summaryrefslogtreecommitdiff
path: root/Meta
AgeCommit message (Collapse)Author
2021-03-11Meta: Add gdb command to serenity.shTom
This uses tmux for a split screen setup, which makes it easy do debug the kernel while viewing the QEMU output in the same terminal.
2021-03-09Kernel: Remove ancient FIFO_DEBUG codeAndreas Kling
2021-03-09Meta: Add a build helper scriptTom
This script automatically manages the toolchain and cmake/ninja folders making it easier to manage the different target architectures.
2021-03-08Website: Add link to @ABigPickle's VLA exploitAndreas Kling
2021-03-08Website: Reorganize bounty page history section a little bitAndreas Kling
2021-03-08Meta: check-newlines-at-eof.py now checks .json files and files in Base/Emanuele Torre
This makes it also check man pages and keymap files. :^)
2021-03-08Everywhere: Remove unnecessary whitespace at the end of some lines.Emanuele Torre
2021-03-08Meta: serenityos.org: Fix javascript error in the 2nd anniversary page.Emanuele Torre
The error as seen from chromium's devtools: Uncaught ReferenceError: I is not defined at (index):455
2021-03-06Meta: Make 'run.sh qgrub' work via SERENITY_RUNLinus Groh
It is possible to set the run.sh mode via the SERENITY_RUN environment variable, but the SERENITY_DISK_IMAGE="grub_disk_image" override for qgrub mode was only checking $1. This makes qgrub mode work via 'ninja run' without explicitly setting SERENITY_DISK_IMAGE: SERENITY_RUN=qgrub ninja run
2021-03-05Meta: Boot Q35 machine with SATA drive instead of using IDE driveLiav A
2021-03-05Kernel: Add basic AHCI functionalityLiav A
The hierarchy is AHCIController, AHCIPortHandler, AHCIPort and SATADiskDevice. Each AHCIController has at least one AHCIPortHandler. An AHCIPortHandler is an interrupt handler that takes care of enumeration of handled AHCI ports when an interrupt occurs. Each AHCIPort takes care of one SATADiskDevice, and later on we can add support for Port multiplier. When we implement support of Message signalled interrupts, we can spawn many AHCIPortHandlers, and allow each one of them to be responsible for a set of AHCIPorts.
2021-03-04Kernel: Remove unused KMALLOC_DEBUG_LARGE_ALLOCATIONS modeAndreas Kling
This was a thing back when the system was so little that any kernel allocation above 1 MiB was basically guaranteed to be a bug. :^)
2021-03-04HackStudio/LanguageServers: Move some components out of CppAnotherTest
This makes them available for use by other language servers. Also as a bonus, update the Shell language server to discover some symbols and add go-to-definition functionality :^)
2021-03-04Lagom/Fuzzers: Add fuzzers for LibCompessLuke
Adds fuzzers for Deflate, Gzip and Zlib.
2021-03-03Meta: Stop excluding getopt.cpp from lintingIdan Horowitz
This file was already "serenified" by @bugaevc long ago.
2021-03-03LibCore+LibHTTP+LibGfx: Switch to LibCompressIdan Horowitz
This commit removes the only 3rd party library (and its usages) in serenity: puff, which is used for deflate decompression. and replaces it with the existing original serenity implementation in LibCompress. :^)
2021-03-02Meta: Run test-js and test-compress as CTest executablesAndrew Kaster
Reduces the number of steps in the Actions workflow this way :^)
2021-03-01AK/Lagom: Modify TestSuite to return how many tests failed from mainAndrew Kaster
This allows us to remove the FAIL_REGEX logic from the CTest invocation of AK and LibRegex tests, as they will return a non-zero exit code on failure :^). Also means that running a failing TestSuite-enabled test with the run-test-and-shutdown script will actually print that the test failed.
2021-03-01Meta: Allow specifying custom grub config file for build-image-grub.shTom
This allows passing a custom grub config file as second argument to build-image-grub.sh.
2021-03-01Lagom/Fuzzers: Add WAV fuzzerLuke
2021-02-28Base/CI: Boot serenity in CI in a mode that runs tests on targetAndrew Kaster
Build a new version of Serenity in CI that doesn't have all the debug symbols on, or we'd be waiting a very long time to boot. Insert a TestRunner entry into SystemServer.ini that will run a shell script that runs tests in /bin and /usr/Tests and shuts down the system in the new self-test boot mode. Also make sure enough basic services are started in self-test such that the tests will actually run properly.
2021-02-28Meta: Add run target for CIAndrew Kaster
This invocation of qemu has no VGA, no sound, no graphics, debug output going to a file, and defaults to printing /dev/ttyS0 to stdout.
2021-02-28Meta: Build AK and LibRegex tests in Lagom and for SerenityAndrew Kaster
These tests were never built for the serenity target. Move their Lagom build steps to the Lagom CMakeLists.txt, and add serenity build steps for them. Also, fix the build errors when building them with the serenity cross-compiler :^)
2021-02-28LibWeb: Add actual document loading for the CSS (at)import ruleSviatoslav Peleshko
2021-02-27Lagom: Build with -Wno-literal-suffix when using GCCLinus Groh
This is already set in the root CMakeLists.txt as well as here for Clang (-Wno-user-defined-literals), but was forgotten for GCC which made an Lagom-only build (cmake ../Meta/Lagom [...]) fail.
2021-02-27Lagom: CMakeLists.txt housekeepingLinus Groh
- Remove unused LIBM_SOURCES - Some cosmetic and whitespace changes
2021-02-27Meta: Enable qemu virtualization acceleration on macJakub Berkop
2021-02-26Everywhere: Remove a bunch of redundant 'AK::' namespace prefixesLinus Groh
This is basically just for consistency, it's quite strange to see multiple AK container types next to each other, some with and some without the namespace prefix - we're 'using AK::Foo;' a lot and should leverage that. :^)
2021-02-24AK: Add support for AK::StringView literals with operator""svBrian Gianforcaro
A new operator, operator""sv was added as of C++17 to support string_view literals. This allows string_views to be constructed from string literals and with no runtime cost to find the string length. See: https://en.cppreference.com/w/cpp/string/basic_string_view/operator%22%22sv This change implements that functionality in AK::StringView. We do have to suppress some warnings about implementing reserved operators as we are essentially implementing STL functions in AK as we have no STL :).
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
(...and ASSERT_NOT_REACHED => VERIFY_NOT_REACHED) Since all of these checks are done in release builds as well, let's rename them to VERIFY to prevent confusion, as everyone is used to assertions being compiled out in release. We can introduce a new ASSERT macro that is specifically for debug checks, but I'm doing this wholesale conversion first since we've accumulated thousands of these already, and it's not immediately obvious which ones are suitable for ASSERT.
2021-02-21Meta: Make CMakeLists accessible to QtCreatorBen Wiederhake
We end up having to edit various CMakeLists.txt all the time, and having to open them in a different editor becomes old quite fast.
2021-02-20LibLine: Avoid refreshing the entire line when inserting at the endAnotherTest
This patchset allows the editor to avoid redrawing the entire line when the changes cause no unrecoverable style updates, and are at the end of the line (this applies to most normal typing situations). Cases that this does not resolve: - When the cursor is not at the end of the buffer - When a display refresh changes the styles on the already-drawn parts of the line - When the prompt has not yet been drawn, or has somehow changed Fixes #5296.
2021-02-18Website: Add @cees-elzinga's ptrace race + ASLR bypass to bounty pageAndreas Kling
2021-02-16Lagom: Build LibTextCodec into LagomAndreas Kling
2021-02-15Meta: Add Ports/build_installed.sh to the lint-ports ignore listAndreas Kling
2021-02-15Meta: Lint AvailablePorts.mdBen Wiederhake
As requested by popular demand ;) https://github.com/SerenityOS/serenity/pull/5325#discussion_r575657614
2021-02-14LibCrypto: Make a better ASN.1 parserAnotherTest
And use it to parse RSA keys. As a bonus, this one shouldn't be reading out of bounds or messing with the stack (as much) anymore.
2021-02-14Build: Sprinkle some portability, fix on OpenBSDjoshua stein
realpath(1) is specific to coreutils and its behavior can be had with readlink -f Create the Toolchain Build directory if it doesn't exist before calling readlink, since realpath(3) on at least OpenBSD will error on a non-existent path
2021-02-14Website: Add vakzz's exploit & writeup to the bounty pageAndreas Kling
2021-02-13Meta: Fix debug-flag detectionBen Wiederhake
Detection broke when we moved from '#ifdef DEBUG_FOO dbgln()' to 'dbgln<DEBUG_FOO>()'. This patch makes detection more general, which sadly runs into more false-positives. No rotten code was found, hooray! :^)
2021-02-13HackStudio: Project templates and New Project dialogNick Vella
This commit adds a simple project template system to HackStudio, as well as a pretty New Project dialog, inspired by early VS.NET and MS Office.
2021-02-13Lagom/Fuzzers: Add RSA key parser fuzzerLuke
First issue: #5317
2021-02-13Utilities: Make syscall(1) explain what it's doingBen Wiederhake
2021-02-11LibCore: Added FileWatcher, a binding for the watch_file syscallDexesTTP
This wrapper abstracts the watch_file setup and file handling, and allows using the watch_file events as part of the event loop via the Core::Notifier class. Also renames the existing DirectoryWatcher class to BlockingFileWatcher, and adds support for the Modified mode in this class.
2021-02-08Kernel: Make Arch/i386/CPU.cpp safe to run through clang-formatAnotherTest
This file was far too messy, and touching it was a major pain. Also enable clang-format linting on it.
2021-02-08Everywhere: Remove unnecessary headers 4/4Ben Wiederhake
Arbitrarily split up to make git bisect easier. These unnecessary #include's were found by combining an automated tool (which determined likely candidates) and some brain power (which decided whether the #include is also semantically superfluous).
2021-02-08Fuzz: Remove unused FuzziliJS headerBen Wiederhake
2021-02-07Meta: Fix path to kernel binary in debug-kernel.shBrian Gianforcaro
This appears to have been broken since the migration to cmake.
2021-02-05Kernel: Add NE2000 network card driverJean-Baptiste Boric
Remember, friends don't let friends use NE2000 network cards :^)
2021-02-03Applications: Remove "Welcome" applicationAndreas Kling
This was a cute application for its time, but it's far too jokey and non-serious for how I'd like this project to treat itself.