summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-19LibWeb: Implement HTMLBaseElement.hrefLuke Wilde
2022-06-19LibWeb: Add support for the <base> element changing the base URLLuke Wilde
Used by Google seemingly almost all around account sign in and management. The modern sign in page has this near the beginning: ```html <base href="https://accounts.google.com"> ``` All of the XHRs performed by sign in are relative URLs to this base URL. Previously we ignored this and did it relative to the current URL, causing the XHRs to 404 and sign in to fall apart. I presume they do this because you can access the sign in page from multiple endpoints, such as `/ServiceLogin` and `/o/oauth2/auth/identifier`
2022-06-19Ports: Update mold to 1.0.3kleines Filmröllchen
2022-06-19Toolchain: Update mold to 1.0.3kleines Filmröllchen
2022-06-19Ports: Add OpenJDK portTimur Sultanov
Port of OpenJDK 17.0.2, zero VM only. More work needed to get the full hotspot VM up and running :^) Co-Authored-By: Andrew Kaster <akaster@serenityos.org>
2022-06-19LibC: Stop leaking FILE* from use of getgrnam and getgrgidAndrew Kaster
2022-06-19Kernel: Add sysconf for IOV_MAXAndrew Kaster
2022-06-19Kernel: Tolerate cloning MAP_STACK regions that are PROT_NONEAndrew Kaster
There's nothing stopping a userspace program from keeping a bunch of threads around with a custom signal stack in a suspended state with their normal thread stack mprotected to PROT_NONE. OpenJDK seems to do this, for example.
2022-06-19Kernel: Create /proc/pid/cmdline to expose process arguments in procfsAndrew Kaster
In typical serenity style, they are just a JSON array
2022-06-19Ports: Use $arch-serenity-pc-clang{++} for CC and CXXAndrew Kaster
This lets us eliminate the extra arguments on CC and CXX for ports that care about CC and CXX pointing to actual filenames they can invoke realpath or basename on.
2022-06-19Ports: Add variables for Toolchain binary directory and cxxfiltAndrew Kaster
2022-06-19Meta: Install runtime/utility from jakt to make hello-jakt build againAndrew Kaster
Also add a compile flag that fixes a warning from including <serenity.h>
2022-06-18Meta: Run PNG size checks on CIkleines Filmröllchen
For safety, the PNG check doesn't run if there's no optipng installed (I didn't want to break everyone's pre-commit hook with the introdcution of that check). To make it run on CI, just install optipng which is available in the standard Ubuntu package repo.
2022-06-18Base: Optimize a bunch of PNGskleines Filmröllchen
These all save at least a couple of kilobytes.
2022-06-18Meta: Add a PNG size check to CI and pre-commit checkskleines Filmröllchen
This uses optipng to check how much size can be reduced on PNG files. If that's more than 2 KiB for at least one file, the check fails. As with other checks, it doesn't run if optipng is not installed.
2022-06-18LibWeb: Rename Event.srcTarget to Event.srcElementLuke Wilde
It's called srcElement instead of srcTarget. Required by w3school's search focus handler.
2022-06-18LibC: Add `ctermid`SeekingBlues
We simply return "/dev/tty", since it always refers to the controlling terminal of the calling process.
2022-06-18LibJS: Update AdjustRoundedDurationDays function signature commentLinus Groh
I missed this in a25c5d8. Thanks to Idan for noticing :^)
2022-06-18LibJS: Move MergeLists into non-Temporal ECMA-262 amendmentsLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/4ce3db1
2022-06-18LibJS: Rename CalendarMergeFieldNames to MergeListsLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/bebf467
2022-06-18LibJS: Check value is an Object before checking for internal slotsLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/d96e662
2022-06-18LibJS: Make relativeTo required for AdjustRoundedDurationDaysLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/48e0a15
2022-06-18Revert "AK: Add comparison operators to NonnullOwnPtr"Linus Groh
This reverts commit 50c88e5e3a6918f99cfcfb802d111cb22a87645c. The intention was to add them to NonnullRefPtr, not NonnullOwnPtr. That is also what was advertised in the PR, but not actually done in the reverted commit.
2022-06-18LibGfx: Move AntiAliasingPainter.cpp into Gfx namespaceMacDue
2022-06-18LibWeb: Use the AA painter for drawing dotted linesMacDue
The AA painter will actually draw the dots as circles, which is how other browsers handle this.
2022-06-18LibGfx: Add AA dotted horizontal/vertical linesMacDue
This adds simple dotted lines (horizontal/vertical only for now). There's a little number fudging added in to make sure the final dot is always drawn at the endpoint (for lines with at least a handful of dots).
2022-06-18AK: Add comparison operators to NonnullOwnPtrAllan Regush
2022-06-17Ports: Add OptiPNGkleines Filmröllchen
OptiPNG is a neat little tool that optimizes PNG sizes to ridiculous degrees. We like to use it to optimize PNGs before including them in Serenity itself, so it's a nice port to have. OptiPNG is a very cooperative POSIX C program, it compiles and works without any patching on x86_64 and i686 :^)
2022-06-17LibC: Add printf and scanf format macros for "fast" and "least" typeskleines Filmröllchen
As usual, we just define these based on the given integer size itself.
2022-06-17LibJS/Tests: Remove outdated FIXMELinus Groh
2022-06-17ThemeEditor: Run gml-formatLinus Groh
2022-06-17DisplaySettings: Use IPC calls instead of current_system_theme helpernetworkException
2022-06-17LibGfx: Rename DO_PATH macro to ENCODE_PATH to match ThemeEditornetworkException
2022-06-17ThemeEditor: Allow temporarily overriding the system themenetworkException
This patch introduces two new buttons to apply the current theme being edited to the whole system and to reset to the previously selected on disk system theme.
2022-06-17DisplaySettings: Handle an override theme being activenetworkException
This patch updates the "Theme" tab to react to an override theme being set. The preview will reflect the override theme and the combo box will show no selection.
2022-06-17LibGUI: Support setting an in memory theme in AbstractThemePreviewnetworkException
2022-06-17Taskbar: Handle an override theme being activenetworkException
This patch makes taskbar react to an override theme being set by not having any theme in the menu selected.
2022-06-17WindowServer: Allow temporarily overriding the system themenetworkException
This patch adds a new api to override the current system theme with an in memory override theme.
2022-06-17DisplaySettings: Update selected theme on changenetworkException
Previously the "Theme" tab in DisplaySettings would only reflect the current theme on startup and get out of sync when a theme would get selected using the taskbar menu.
2022-06-17LibGUI: Actually update the selection in ComboBox::set_selected_indexnetworkException
Previously we would not set m_selected_index or the editor's text value when calling set_selected_index.
2022-06-17Taskbar: Update checked state of theme menu on global theme changenetworkException
Previously we would assume that the theme would only change through the taskbar menu. As the theme can also be changed in DisplaySettings, the selected theme in the taskbar menu would get out of sync. With this patch the menu will get updated every time the theme changes and the menu is not shown.
2022-06-17LibGUI: Add on_theme_change callback to ApplicationnetworkException
This allows an Application without a window to listen for theme changes.
2022-06-17LibGUI: Add clear_selection helper for ComboBoxnetworkException
This patch adds a helper to ComboBox allowing it to clear the current selection and show a blank editor.
2022-06-17BrowserSettings: Avoid adding empty domain to content filterferhatgec
2022-06-17Ports: Add VVVVVV portGrigoris Pavlakis
Co-Authored-By: Tim Schumacher <timschumi@gmx.de> (thanks for the line ending and assert() troubleshooting)
2022-06-17LibC: Allow parsing numbers right on the cutoffTim Schumacher
2022-06-17Kernel: Add missing #include in SysFS.cppAndreas Kling
2022-06-17Kernel/SysFS: Remove derived BIOSSysFSComponent classesLiav A
These are not needed, because both do exactly the same thing, so we can move the code to the BIOSSysFSComponent class.
2022-06-17Kernel/SysFS: Migrate components code from SysFS.cpp to the SysFS folderLiav A
2022-06-17Kernel/SysFS: Split the bulky BIOS.h file into multiple filesLiav A