Timothy Flynn
ac15c1cc01
Meta: Port recent changes to the GN build
...
2ce61fe6ea
2024-05-31 10:44:00 -04:00
Andreas Kling
a48fc971c6
LibJS: Rearrange ExecutionContext members to shrink the class
...
Just a minor tweak to make the class 8 bytes smaller.
2024-05-31 16:31:33 +02:00
Andreas Kling
a3782782fa
LibJS: Remove two unused members from ExecutionContext
2024-05-31 16:31:33 +02:00
Romain Chardiny
f5cacf25e1
Utilities: Add shred utility
2024-05-31 13:49:34 +01:00
Romain Chardiny
892da127d0
LibCore: Add wrapper for fsync()
2024-05-31 13:49:34 +01:00
Timothy Flynn
d6732e5906
Ladybird/AppKit: Implement a basic find-in-page panel
2024-05-31 06:30:39 -04:00
Timothy Flynn
8d4cd15cb1
Ladybird/AppKit: Change "Select All" text to be titlecase
...
Matches the rest of the menu items and Safari.
2024-05-31 06:30:39 -04:00
Timothy Flynn
a73ac6aa3f
Ladybird/Qt: Find the previous search match when the shift key is held
2024-05-31 06:30:39 -04:00
Timothy Flynn
b5d80013ea
Ladybird/Qt: Add tooltips to the find-in-page widget
2024-05-31 06:30:39 -04:00
Timothy Flynn
903078e4d1
Meta: Fix detection of QtMultimedia usage on macOS
...
We use Audio Unit for audio on macOS.
2024-05-31 06:30:39 -04:00
Timothy Flynn
5912df5e42
Meta: Port recent changes to the GN build
...
389a55fe36
2024-05-31 06:30:39 -04:00
Simon Wanner
11bb216912
LibTextCodec: Add replacement decoder
2024-05-31 07:56:26 +02:00
Simon Wanner
7f3b457e62
LibTextCodec: Add EUC-KR decoder
2024-05-31 07:56:26 +02:00
Simon Wanner
ded6512ca8
LibTextCodec: Add Shift_JIS decoder
2024-05-31 07:56:26 +02:00
Simon Wanner
06f7c393b2
LibTextCodec: Add ISO-2022-JP decoder
2024-05-31 07:56:26 +02:00
Simon Wanner
45f0ae52be
LibTextCodec: Add EUC-JP decoder
2024-05-31 07:56:26 +02:00
Simon Wanner
9943bb1d8e
LibTextCodec: Add Big5 decoder
2024-05-31 07:56:26 +02:00
Simon Wanner
2ce61fe6ea
LibTextCodec: Add GBK/GB18030 decoder
...
Includes changes from GB-18030-2022, which are not yet included in the
Encoding Specification, but WebKit, Blink and WPT are already updated.
2024-05-31 07:56:26 +02:00
Simon Wanner
9ed52504ab
LibTextCodec: Delegate to process() in default validate() implementation
2024-05-31 07:56:26 +02:00
Simon Wanner
88c2586f25
LibTextCodec: Remove unused decoder classes
2024-05-31 07:56:26 +02:00
Andrew Kaster
c4f2ff44a5
Ladybird: Respect window.open() features in Qt chrome
2024-05-30 16:16:33 -04:00
Andrew Kaster
46e00a8f5e
LibWeb: Parse TokenizedFeatures from window.open
2024-05-30 16:16:33 -04:00
Andrew Kaster
e2d50dc5dd
LibWeb: Move window.open TokenizedFeature parsing into its own file
2024-05-30 16:16:33 -04:00
Tim Ledbetter
79143833b6
LibWeb/WebDriver: Ensure error responses are serialized correctly
2024-05-30 13:53:24 -04:00
Tim Ledbetter
4f0d6559f6
WPT: Update test expectations to match current test results
2024-05-30 11:03:56 -06:00
Tim Ledbetter
d7ea308664
WPT: Update to latest master
...
Previously, it was not possible to run `wpt` locally with a python
version >= 3.12.
2024-05-30 11:03:56 -06:00
stelar7
a4e97c1598
WebDriver: Dont assume the pageLoad is an i64
2024-05-30 11:46:02 -04:00
stelar7
fa9c234976
WebDriver: Parse webSocketUrl capability
2024-05-30 11:46:02 -04:00
Matthew Olsson
5740f93ef4
ClangPlugins: Check for strong root fields in GC allocated objects
...
GC-allocated objects should never have JS::SafeFunction/JS::Handle
fields.
For now the plugin only emits warnings here, as there are many cases
of this occurring in the codebase that aren't trivial to fix. It is also
behind a CMake flag since it is a _very_ loud warning.
2024-05-30 09:29:20 -06:00
Matthew Olsson
9ea6ab0ad4
LibJS+LibWeb: Fix a ton of JS_CELL-like macro issues
2024-05-30 09:29:20 -06:00
Matthew Olsson
f860763c77
Tests: Add tests for ClangPlugin's macro validation
2024-05-30 09:29:20 -06:00
Matthew Olsson
36d032b208
ClangPlugin: Emit diagnostics for incorrect usage of JS_CELL-like macros
2024-05-30 09:29:20 -06:00
Matthew Olsson
54fffef902
ClangPlugin: Add a PPCallbacks instance to collect JS_CELL-like macros
2024-05-30 09:29:20 -06:00
Matthew Olsson
d74838f44d
ClangPlugins: Use underscores instead of dashes in plugin names
...
This allows arguments to be passed to them from the command line
2024-05-30 09:29:20 -06:00
Matthew Olsson
c739ae3e02
ClangPlugins: Change name of variable used for test compile options
...
This makes it more clear what it is used for
2024-05-30 09:29:20 -06:00
Timothy Flynn
d9a277c139
Meta: Allow building Ladybird without QtMultimedia if Pulse is found
2024-05-30 11:07:08 -04:00
Timothy Flynn
31cd3124cc
Meta: Do not link QtSvg in the GN build
...
We haven't used QtSvg in some time, we now use TVG files for icons.
2024-05-30 11:07:08 -04:00
Timothy Flynn
1d81cfe168
Meta: Port recent changes to the GN build
...
1fa7235fec
b9db9013f5
2024-05-30 11:07:08 -04:00
Tim Ledbetter
389a55fe36
Ladybird/Qt: Add a find in page widget
2024-05-30 16:30:11 +02:00
Tim Ledbetter
7aea87c9df
LibWeb+LibWebView+WebContent: Add basic find in page functionality
...
This allows the browser to send a query to the WebContent process,
which will search the page for the given string and highlight any
occurrences of that string.
2024-05-30 16:30:11 +02:00
Jamie Mansfield
b08d43a5d3
Ladybird/Qt: Calculate the 'physical pixels' for screens
...
This fixes a regression introduced by GH-23855 in [1], and re-applies
a previous change I made [2].
[1] https://github.com/SerenityOS/serenity/commit/dfc7534
[2] https://github.com/SerenityOS/serenity/commit/b7bd3fd
2024-05-30 07:09:03 +01:00
Diego
4eaabdad34
LibWasm: Properly read blocktypes
...
This works for now, but is technically still not spec compliant. Right
now, we're (potentially) missing one bit when reading function indices.
See the relevant issue: #24462 .
2024-05-29 22:33:15 +02:00
Daniel Bertalan
637ccacce5
AK: Enable format string checking in Clang builds
...
Format string checking was disabled in Clang-based builds due to a
compiler bug: https://github.com/llvm/llvm-project/issues/51182 . Now
that the requirement has been raised to Clang 17, that is no longer
necessary.
This has been tested to work correctly with Apple Clang 15.0.0 (which is
the *least modern* supported compiler), as well as CLion 2024.1's
bundled Clangd.
2024-05-29 13:34:15 -06:00
Daniel Bertalan
9d3b73743e
sql: Work around Clang 17/18 run-time call to consteval
function
...
There was an issue with Clang that causes `consteval` function calls
from default initializers of fields to be made at run-time. This
manifested itself in the case of `ByteString::formatted` as an undefined
reference to `check_format_parameter_consistency` once format string
checking was enabled for Clang builds. The workaround is simple (just
move it to the member initializer list), and unblocks a useful change.
2024-05-29 13:34:15 -06:00
Andrew Kaster
ca806a3e18
WebDriver+WebContent: Add /session/ 🆔 /window/consume-user-activation
...
This extension to the WebDriver spec is defined in the HTML spec, how
fun.
2024-05-29 21:30:15 +02:00
Andrew Kaster
9bc1318a78
LibWeb: Consume user activation when showing a picker dialog
2024-05-29 21:30:15 +02:00
Andrew Kaster
a3a74245d6
LibWeb: Implement consume user activation AO
2024-05-29 21:30:15 +02:00
Andrew Kaster
45860e3878
LibWeb: Move consume history-action user activation to Window
2024-05-29 21:30:15 +02:00
Andrew Kaster
9c6ebe21d2
LibWeb: Remove get prefix from activation timestamp getters
2024-05-29 21:30:15 +02:00
Andrew Kaster
2fde20993b
LibWeb: Update show the picker if applicable to latest spec text
2024-05-29 21:30:15 +02:00