summaryrefslogtreecommitdiff
path: root/Meta
AgeCommit message (Collapse)Author
2023-05-30Meta: Update cacert.pemFabian Dellwing
2023-05-30LibWeb: Make 'optional BufferSource' IDL arguments actually optionalAli Mohammad Pur
Previously this was compiled to require an object despite the IDL file specifying 'optional'. This commit makes IDLGenerator respect this modifier, and fixes the only affected instance.
2023-05-29LibWeb: Add preliminary support for CSS animationsAli Mohammad Pur
This partially implements CSS-Animations-1 (though there are references to CSS-Animations-2). Current limitations: - Multi-selector keyframes are not supported. - Most animation properties are ignored. - Timing functions are not applied. - Non-absolute values are not interpolated unless the target is also of the same non-absolute type (e.g. 10% -> 25%, but not 10% -> 20px). - The JavaScript interface is left as an exercise for the next poor soul looking at this code. With those said, this commit implements: - Interpolation for most common types - Proper keyframe resolution (including the synthetic from-keyframe containing the initial state) - Properly driven animations, and proper style invalidation Co-Authored-By: Andreas Kling <kling@serenityos.org>
2023-05-29LibWeb: Add CSS CompositeStyleValueAli Mohammad Pur
This represents the value of properties assigned via their shorthands, and is expanded when computing actual property values.
2023-05-28headless-browser: Print a diff when a test failure occursAndreas Kling
This will make it a lot easier to understand what went wrong, especially when the failure occurs on CI but not at home. And of course, use LibDiff to generate the diff! :^)
2023-05-27LibWeb: Add logical-alias-for in Properties.jsonKarthik Karanth
This allows for succint definitions of logical properties, by allowing them to inherit initial values, valid identifiers, etc from another property
2023-05-27Meta: Fix unresolvable reference to WebIDL::OperationReturnsPromiseMatthew Olsson
2023-05-27LibCore: Drop TestLibCoreIODeviceBen Wiederhake
It does not make sense to test known-working code that is deprecated and in the process of being removed. Also, this test becomes too cumbersome to write without using read_all or line iteration in some form, and migrating the test is just silly.
2023-05-25LibWeb: Add CustomIdentStyleValue, along with parsing for itSam Atkins
This corresponds to the `<custom-ident>` type in CSS grammar.
2023-05-25LibWeb: Stop generating now-unused `property_accepts_value()` functionSam Atkins
2023-05-25LibWeb: Make `property_id_from_string()` return OptionalSam Atkins
2023-05-25LibWeb: Make `value_id_from_string()` return OptionalSam Atkins
2023-05-25LibWeb: Generate `property_accepts_[identifier/type]()` functionsSam Atkins
These will be used to parse StyleValues more intelligently.
2023-05-24LibTimeZone+Userland: Change timezone functions to use UnixDateTimekleines Filmröllchen
This incurs a whole host of changes in, among others, JavaScript Intl and Date.
2023-05-24AK: Rename Time to Durationkleines Filmröllchen
That's what this class really is; in fact that's what the first line of the comment says it is. This commit does not rename the main files, since those will contain other time-related classes in a little bit.
2023-05-24Fuzzers: Unbreak FuzzHttpRequestimplicitfield
Previously, the exit condition was inverted, causing the fuzzer to try to read the value of an error.
2023-05-24Meta: Add GCC 13 and Clang 16 to compiler autodetectionDaniel Bertalan
2023-05-24Meta+Documentation: Require Xcode 14.3 or Clang 14 for the host compilerDaniel Bertalan
There have been multiple reports of Xcode 14.0 (based on upstream LLVM 14) segfaulting when compiling `LibCore/Process.cpp`. Let's require Xcode 14.3, which is a known good version based on LLVM 15. Note that Xcode 14.3 requires macOS Ventura, so users of Monterey or older are expected to get Homebrew Clang instead. Homebrew Clang 13 also suffers from the same crash. Although I have not tested on Linux, the backtrace points to the middle-end, so x86_64 is also likely to be affected. LLVM 14 was released 14 months ago, so it's not an unreasonable requirement.
2023-05-23test-fuzz: Add all the missing fuzzersTim Schumacher
2023-05-23Lagom: Extract the list of fuzzing targets to a separate fileTim Schumacher
2023-05-22LibWeb: Stub AudioContext constructorLuke Wilde
This is enough to make Discord not throw up "Well this is awkward" on login.
2023-05-21AK: Add `SPICE_AGENT_DEBUG` flagCaoimhe
2023-05-21LibWeb+LibJS: Don't lazily construct web prototypes in cell constructorsAndreas Kling
It's not safe to allocate from the GC heap while in the constructor of a GC heap cell. (Because if this ends up triggering a collection, we may end up trying to call through an uninitialized vtable). This was already done safely in the initialize() virtual in much of LibJS and LibWeb. This patch moves the logic for prototypes, mixins, and CSSStyleDeclaration as well. Fixes a long-standing GC crash that was pretty easy to reproduce by refreshing https://vercel.com/
2023-05-21LibIPC: Remove redundant IPC::Dictionary typeBen Wiederhake
We already have and use HashMap<DeprecatedString, DeprecatedString> nearly everywhere, which is essentially equivalent.
2023-05-21xml: Prefer LibFileSystem over DeprecatedFileBen Wiederhake
2023-05-21Meta: Also run markdown-check on markdown files in each Port subdirBen Wiederhake
2023-05-20Base: Move user nona from group 200 into existing group usersBen Wiederhake
It seems that group 200 never existed, and group 100=users always did: 90bab5ea717682d819609e9238ab6785a450b696
2023-05-19IPCCompiler: Nicer error message for invalid template spellingBen Wiederhake
2023-05-19Fuzzers: Add a fuzzer for roundtrip LZMA compression/decompressionTim Schumacher
2023-05-19LibUnicode: Explicitly mark HashMap copyBen Wiederhake
2023-05-19LibLocale: Avoid unnecessary HashMap copyBen Wiederhake
2023-05-18Meta: Build abench on Lagomkleines Filmröllchen
This makes it possible to test audio decoding without much I/O overhead.
2023-05-17Meta/ShellCompletions: Use standard Serenity comment stylekleines Filmröllchen
2023-05-17Meta/ShellCompletions: Complete binaries for `run lagom`kleines Filmröllchen
This completion only works if you have lagom already built in some capacity, since it scans the build directory tree for binaries, removing known false positives. However, that is both more accurate than asking ninja for the targets and filtering those, and it also makes it independent of the build system used.
2023-05-17Meta/ShellCompletions: Mention $SERENITY_ARCH in target completionskleines Filmröllchen
2023-05-17Meta/ShellCompletions: Add toolchain completionkleines Filmröllchen
This is very convenient for anyone like me who regularly runs the Clang toolchain. The toolchain is not completed for Lagom and the toolchain-independent help command.
2023-05-17Meta/ShellCompletions: Complete command listkleines Filmröllchen
The command list was missing the help command, and the command order was different from the help output.
2023-05-17Meta: Make `SERENITY_RUN=ci` work with AArch64Daniel Bertalan
This in turn enables `./Meta/serenity.sh test aarch64` and the CI scripts to work with the AArch64 port. As the RPi doesn't have a debugcon-like device, we create two serial devices. The system console, UART0 is redirected to `debug.log`, while UART1 is made available to the userspace and is used as the stdout for the test runner script. We are not yet able to run the full test suite, as the kernel panics due to some unimplemented features. Note that Qemu `master` or our patched Qemu build is required for `SystemServer` to recognize the `system_mode=self-test` parameter.
2023-05-17LibCompress: Add a lot of debug logging to LZMATim Schumacher
2023-05-17Meta: Only enable the SPICE server when using the SPICE displayTim Schumacher
Newer versions of QEMU prevent the user from running a GL-rendered display while a SPICE display is active due to incompatibilities. Since there is no way to disable QEMUs (apparently implicit) SPICE display, make sure that we only enable SPICE support if the user requested running with SPICE specifically. In this case, QEMU picks the default SPICE client instead of rendering a display using whatever our default on that platform would be.
2023-05-16Meta: Copy GML source files to serenity installKarol Kosek
We already install C++ source files to allow debugging applications in HackStudio. Installing GML files can make editing application widgets a bit faster and easier, as you no longer need to copy files to the system. :^)
2023-05-14Meta: Remove unused debug flags, add missing GENERATE_DEBUGBen Wiederhake
Commands that were helpful while investigating this: ``` grep -P '^set' Meta/CMake/all_the_debug_macros.cmake \ | sed -Ee 's,set\((.+) ON\)$,\1,' > macros.lst for i in $(cat macros.lst); do echo -n "$i "; git grep -Pn '\b'"$i"'\b' | wc -l done | tee matches.lst sort -k2 -n matches.lst ```
2023-05-14Meta: Make *.in files accessible to QtCreatorBen Wiederhake
2023-05-14Meta: Enable DWARF 5 debug informationMacDue
For our use case DWARF 5 seems to work fine now (see previous commit)
2023-05-13Userland+Meta: Add new helper program for network settingsFabian Dellwing
This little program allows us to take the NetworkSettings app away from being an elevated GUI app. It receives a JsonObject on STDIN and writes it to the global Network configuration file. If the write was successfull it will apply the changes.
2023-05-13LibWeb: Capture realm in dictionary to C++ conversionLuke Wilde
Some types use the realm when converting to C++, such as unions.
2023-05-12LibGfx+Fuzz: Convert ImageDecoder::initialize to ErrorOrBen Wiederhake
This prevents callers from accidentally discarding the result of initialize(), which was the root cause of this OSS Fuzz bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=55896&q=label%3AProj-serenity&sort=summary
2023-05-09AK: Add the `Input` word to input-only buffered streamsLucas CHOLLET
This concerns both `BufferedSeekable` and `BufferedFile`.
2023-05-09Userland: Show "Ladybird" instead of "Browser" in titles, menus, etcAndreas Kling
While the binary is still called "Browser" for now, let's make it clear that we're converging on a single name for this application.
2023-05-07Meta: Add get_number_of_processing_units() to shell_include.shKenneth Myhra
This adds the method get_number_of_processing_units() which returns the number of processing units the system has available.