summaryrefslogtreecommitdiff
path: root/Meta
AgeCommit message (Collapse)Author
2021-11-11LibWasm: Implement module validationAli Mohammad Pur
2021-11-11Meta: Update WebAssembly testsuite branch nameAli Mohammad Pur
The 'master' branch is no longer updated, they've switched to 'main'.
2021-11-11Everywhere: Pass AK::StringView by valueAndreas Kling
2021-11-10LibWeb: Make property_initial_value() return a NonnullRefPtrSam Atkins
The finale! Users can now be sure that the value is valid, which makes things simpler.
2021-11-10LibWeb: Ensure that CSS initial values are always valid :^)Sam Atkins
First off, this verifies that an initial value is always provided in Properties.json for each property. Second, it verifies that parsing that initial value succeeds. This means that a call to `property_initial_value()` will always return a valid StyleValue. :^)
2021-11-10CMake: Build serenity_lib libraries with a custom SONAMETim Schumacher
This allows libraries and binaries to explicitly link against `<library>.so.serenity`, which avoids some confusion if there are other libraries with the same name, such as OpenSSL's `libcrypto`.
2021-11-10CMake: Remove unused serenity_shared_lib functionTim Schumacher
2021-11-10LibWeb: Remove concept of CSS pseudo-propertiesSam Atkins
We don't need them any more, so they're gone. :^)
2021-11-09LibUnicode: Upgrade to CLDR version 40.0.0Timothy Flynn
Release notes: https://github.com/unicode-org/cldr-json/releases/tag/40.0.0
2021-11-09LibUnicode: Parse the CLDR's defaultContent.json locale listTimothy Flynn
This file contains the list of locales which default to their parent locale's values. In the core CLDR dataset, these locales have their own files, but they are empty (except for identity data). For example: https://github.com/unicode-org/cldr/blob/main/common/main/en_US.xml In the JSON export, these files are excluded, so we currently are not recognizing these locales just by iterating the locale files. This is a prerequisite for upgrading to CLDR version 40. One of these default-content locales is the popular "en-US" locale, which defaults to "en" values. We were previously inferring the existence of this locale from the "en-US-POSIX" locale (many implementations, including ours, strip variants such as POSIX). However, v40 removes the "en-US-POSIX" locale entirely, meaning that without this change, we wouldn't know that "en-US" exists (we would default to "en"). For more detail on this and other v40 changes, see: https://cldr.unicode.org/index/downloads/cldr-40#h.nssoo2lq3cba
2021-11-05Meta: Remove useless lint-ipc-ids.sh scriptBen Wiederhake
This script was silently broken in commit 62af6cd4f9637b8937e59832f5af00f4556c496b.
2021-11-05Meta: Run IPC magic number linter during CI and pre-commitBen Wiederhake
2021-11-05Meta: Implement checker for IPC magic number collisionsBen Wiederhake
2021-11-05IPCCompiler: Remove now-unused ability to hardcode magic numberBen Wiederhake
2021-11-02Meta: Add a check to ensure grep -P stays gonethislooksfun
grep -P does not work on macOS, but grep -E does.
2021-11-02Meta: Run find in the current dirthislooksfun
macOS's find requires a leading search scope. Without this change this lint step fails.
2021-11-02Meta: Adhere to latest ScriptCheck standards (SC2268)thislooksfun
2021-11-02Meta: Add special case for macOSthislooksfun
macOS's `find` does not support the '-executable' flag, nor does it support the '-perm /' syntax, but we can make it work with a special case.
2021-11-02Meta: Remove unnecessary -ithislooksfun
Using `xargs -i <cmd> {}` is just doing the default behavior of xargs, but with extra steps that also don't work on macOS.
2021-11-02Meta: Use grep -E/F, not grep -Pthislooksfun
grep -E and -F are POSIX standard, and meets all our matching needs.
2021-11-02ConfigureComponents: Reduce duplicated codeBen Wiederhake
2021-11-02Meta: Don't check for toolchain if serenity.sh target is lagomLinus Groh
This is just silly :^) $ serenity run lagom js WARNING: unknown toolchain 'js'. Defaulting to GNU. Valid values are 'Clang', 'GNU' (default)
2021-11-02LibWeb: Convert is_named_property_exposed_on_object to ThrowCompletionsIdan Horowitz
This is the last usage of old-style exceptions in the WrapperGenerator.
2021-11-01Meta: Check auto-generated manpages for completeness on CIBen Wiederhake
2021-11-01Meta: Add script to generate and export manpagesBen Wiederhake
2021-11-01Base: Add new system-mode that just generates manpagesBen Wiederhake
2021-10-31LibWeb: Convert throw_dom_exception_if_needed() to ThrowCompletionOrTimothy Flynn
This changes Web::Bindings::throw_dom_exception_if_needed() to return a JS::ThrowCompletionOr instead of an Optional. This allows callers to wrap the invocation with a TRY() macro instead of making a follow-up call to should_return_empty(). Further, this removes all invocations to vm.exception() in the generated bindings.
2021-10-31Kernel: Write test that crashes ProcFSBen Wiederhake
2021-10-31FuzzilliJS: Convert native functions to ThrowCompletionOrIdan Horowitz
2021-10-31LibWeb: Convert all generated bindings to ThrowCompletionOrTimothy Flynn
This also required converting URLSearchParams::for_each and the callback function it invokes to ThrowCompletionOr. With this, the ReturnType enum used by WrapperGenerator is removed as all callers would be using ReturnType::Completion.
2021-10-30Lagom/Fuzzers: Add fuzzer for PDF documentBrendan Coles
2021-10-30Websites: Import serenityos.org website changesAndreas Kling
I hadn't synced this for a while. The repo copy now matches the live site once again.
2021-10-28Kernel: Add the IFF_* SIOCGIFFLAGS flag macrosIdan Horowitz
2021-10-27Meta: Reimplement license checker in pythonBen Wiederhake
On my machine, this script took about 3.4 seconds, and was responsible for essentially all of the time taken by the precommit hook. The script is a faithful 1:1 reimplementation, even the regexes are identical. And yet, it takes about 0.02 seconds, making the pre-commit hook lightning fast again. Apparently python is just faster in this case. Fun fact: - Just reading all ~4000 files took bash about 1.2 seconds - Checking the license took another 1.8 seconds in total - Checking for math.h took another 0.4 seconds in total - Checking for '#pragma once' took another 0.4 seconds in total The timing is highly load-dependent, so they don't exactly add up to 3.4 seconds. However, it's good enough to determine that bash is no longer fit for the purpose of this script.
2021-10-25Kernel+SystemServer: Change bootmode to system_modeBen Wiederhake
'bootmode' now only controls which set of services are started by SystemServer, so it is more appropriate to rename it to system_mode, and no longer validate it in the Kernel.
2021-10-25Kernel: Separate panic behavior from bootmodeBen Wiederhake
Bootmode used to control panic behavior and SystemServer. This patch factors panic behavior control into a separate flag.
2021-10-25Kernel: Separate framebuffers from bootmodeBen Wiederhake
Bootmode used to control framebuffers, panic behavior, and SystemServer. This patch factors framebuffer control into a separate flag. Note that the combination 'bootmode=self-test fbdev=on' leads to unexpected behavior, which can only be fixed in a later commit.
2021-10-24LibJS: Rename PropertyName to PropertyKeyAndreas Kling
Let's use the same name as the spec. :^)
2021-10-23Fuzzing: Update build instructionsBen Wiederhake
The project needs clang-12, which is not on all systems the default (e.g. Debian Testing).
2021-10-22man.serenityos.org: Make section titles more descriptiveBen Wiederhake
2021-10-22man.serenityos.org: Use pandoc for listings and landing pageBen Wiederhake
This makes all pages look and feel the same, because they all use the default CSS generated by pandoc. Also, it inserts the banner everywhere at the top, not only into the top-level index.html. Credit to @xSlendiX for suggesting that `-B` works here.
2021-10-22man.serenityos.org: Fix links to man(1), avoid unnecessary shellsBen Wiederhake
This fixes the current bug at the end of less(1), which links to the wrong file ".html" instead of "man.html".
2021-10-22man.serenityos.org: Simplify local buildsBen Wiederhake
I simply extracted the script from .github/workflows/manpages.yml, without significant modification.
2021-10-22man.serenityos.org: Add section descriptions to overview pageBen Wiederhake
2021-10-22LibJS: Convert Array AOs to ThrowCompletionOrIdan Horowitz
2021-10-22Tests: Add a unit test to ensure the /dev/mem device works correctlyLiav A
To ensure everything works as expected, a unit test was added with multiple scenarios. This binary has to have the SetUID flag, and we also bind-mount the /usr/Tests directory to allow running of SetUID binaries.
2021-10-21Meta: Enable ccache for Lagom by defaultTimothy Flynn
2021-10-21LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOrLinus Groh
Both at the same time because many of them call construct() in call() and I'm not keen on adding a bunch of temporary plumbing to turn exceptions into throw completions. Also changes the return value of construct() to Object* instead of Value as it always needs to return an object; allowing an arbitrary Value is a massive foot gun.
2021-10-20LibJS: Rename define_native_function => define_old_native_functionIdan Horowitz
This method will eventually be removed once all native functions are converted to ThrowCompletionOr
2021-10-20LibJS: Add ThrowCompletionOr versions of the JS native function macrosIdan Horowitz
The old versions were renamed to JS_DECLARE_OLD_NATIVE_FUNCTION and JS_DEFINE_OLD_NATIVE_FUNCTION, and will be eventually removed once all native functions were converted to the new format.