Bastiaan van der Plaat
f8509e2183
LibWeb: Add input number up down UI buttons
2023-12-09 21:49:38 +01:00
Lucas CHOLLET
234d084876
LibGfx/TIFF: Add support for bit-depth up to 32 bits per sample
...
This makes us support every "minisblack" and "rgb-contig" images from
the depth folder of libtiff's test suite:
https://libtiff.gitlab.io/libtiff/images.html
2023-12-09 21:47:33 +01:00
Lucas CHOLLET
25993cd93b
Tests: Use TRY_OR_FAIL
instead of MUST
in TestImageDecoder.cpp
...
No need to panic the executable on a test failure.
2023-12-09 19:05:45 +01:00
Aliaksandr Kalenik
8634820e73
LibGfx: Use east-mutable style in OpenType font class
...
No intended behavior change.
2023-12-09 19:05:30 +01:00
Aliaksandr Kalenik
7ae229ead7
LibGfx: Cache family, width, weight, and slope for OpenType fonts
...
These properties could be cached in the font object once they are
decoded from the table for the first time to make subsequent access
faster.
This change makes `Node::scaled_font()` in LibWeb go down from 6% to
1.5% in my profiles because building a font cache key is now a lot
cheaper.
2023-12-09 19:05:30 +01:00
Aliaksandr Kalenik
af13bd8af0
LibWeb: Remove unused StyleProperties::clone()
function
2023-12-09 19:04:45 +01:00
Aliaksandr Kalenik
a738c2b120
LibWeb: Remove default font assignment in NodeWithStyle constructor
...
It is not needed because font matching algorithms adds fallback font
anyway.
2023-12-09 19:04:36 +01:00
Sönke Holz
ec06c47c06
Documentation: Correct IPC socket path in Browser/ProcessArchitecture.md
2023-12-09 08:37:32 +00:00
Sönke Holz
c15e0b6596
Base: Correct IPC socket path in AudioServer's man page
2023-12-09 08:37:32 +00:00
Sönke Holz
7ebf9cb2db
Base: Correct path for sysctl variables in sysctl's man page
2023-12-09 08:37:32 +00:00
Andrew Kaster
9ab312e001
LibWeb: Hide XHR send debug messages behind SPAM_DEBUG
2023-12-08 20:04:13 -05:00
Andrew Kaster
04670c7a06
LibWeb: Hide load started/completed debug messages behind SPAM_DEBUG
2023-12-08 20:04:13 -05:00
Andrew Kaster
187056ca5e
Ladybird: Install required html and inspector files in the CMake build
...
Companion to 05c8d5ba57
which moved the
files to Base/res/ladybird, and d81c531322
which installed them in the GN build on macOS.
2023-12-08 19:50:02 -05:00
Linus Groh
499441c747
Ports: Update Python to 3.12.1
...
Released on 2023-12-08.
https://www.python.org/downloads/release/python-3121/
2023-12-09 01:44:43 +01:00
Andreas Kling
d8be9ebc16
LibJS: Add fast path in ArrayIteratorPrototype::next()
...
When iterating over vanilla objects/arrays with normal property storage,
we can skip the generic Get mechanism in favor of looking directly at
property storage. This is essentially what we do in the bytecode path.
2023-12-09 00:20:25 +01:00
Andreas Kling
373ec387c1
LibJS: Add fast_is<ArrayIterator>()
2023-12-09 00:20:25 +01:00
Andreas Kling
73ceb475b9
LibJS: Add fast path for magical "length" property in LengthOfArrayLike
...
For Array objects, we can avoid a generic Get here since we know it has
magical "length" behavior anyway.
2023-12-09 00:20:25 +01:00
Sönke Holz
8e5f201e59
Kernel/riscv64: Add .{ro,unmap}_after_init
sections to linker script
...
`MM.protect_kernel_image` would otherwise make the contents of these
sections read-only, as they were for some reason placed before `.data`
and after the start of `.text`.
2023-12-08 12:36:38 -07:00
implicitfield
84b981ade7
Utilities: Add a drain
utility
2023-12-08 22:05:43 +03:30
implicitfield
2de582afc4
AK: Make ByteBuffer's trim helper public
2023-12-08 22:05:43 +03:30
Sam Atkins
29ecb2eda6
LibWeb: Parse grid-template-areas property using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
b569ab72e8
LibWeb: Correct grid-template-areas definition
...
The spec syntax is `none | <string>+` and `none` is the default.
2023-12-08 10:47:23 +00:00
Sam Atkins
c3583317ee
LibWeb: Parse grid-auto-flow property using TokenStream
...
RefPtr is already `[[nodiscard]]` so we can remove that extra noise from
the declaration.
2023-12-08 10:47:23 +00:00
Sam Atkins
bbbd9c14ac
LibWeb: Parse grid-area property using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
a16b35a755
LibWeb: Parse grid-column and grid-row properties using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
b18c334a4f
LibWeb: Ensure there are no trailing tokens when parsing font-family
2023-12-08 10:47:23 +00:00
Sam Atkins
f84ccb8627
LibWeb: Part font property using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
333b705f25
LibWeb: Parse flex-flow property using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
bf3576667a
LibWeb: Parse flex property using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
4f3136c230
LibWeb: Parse shadow values using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
3a36b2eea9
LibWeb: Parse border properties using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
0e00d9a67d
LibWeb: Parse background property using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
64a44b719e
LibWeb: Parse FilterValueListStyleValue using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
2efaadd63c
LibWeb: Parse aspect-ratio property using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
647d52ff9a
LibWeb: Parse quotes property using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
ebad94658a
LibWeb: Parse display property using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
3d6eb36664
LibWeb: Parse content property using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
4d6e8d8f37
LibWeb: Parse border-radius properties using TokenStream
2023-12-08 10:47:23 +00:00
Sam Atkins
28c719fff5
LibWeb: Extract contains_single_none_ident()
helper function
...
Several CSS properties can be `none` instead of their usual value.
2023-12-08 10:47:23 +00:00
Sam Atkins
1cc88dc4bc
LibWeb: Make parse_comma_separated_value_list() take a TokenStream
...
This lets us use it from inside places that use TokenStreams.
2023-12-08 10:47:23 +00:00
Sam Atkins
cd9344d4c1
LibWeb: Clarify naming of TokenStreams in parse_css_value()
...
Originally, the input was named `tokens`, and we later created a
`tokens_without_whitespace` from the filtered contents of `tokens`.
Since `tokens_without_whitespace` is what we actually want to use while
parsing, let's rename `tokens` -> `unprocessed_tokens` and use the
`tokens` name for the processed ones.
2023-12-08 10:47:23 +00:00
Andreas Kling
81daf1752b
LibWeb: Retreive CSS cursor before changing hovered node
...
This fixes an elusive issue where changing the hovered node would cause
a JS event handler to run, changing the shape of the paint tree before
we had a chance to get the cursor.
A more robust fix here will be to let paintables own their used/computed
values (so they don't have to look into the layout tree for them) but
that's a much bigger change.
2023-12-08 10:54:40 +01:00
tetektoza
8118ea764f
NetworkSettings: Port NetworkSettings to GML compilation
2023-12-08 01:06:09 +01:00
tetektoza
1e11116d65
VideoPlayer: Port VideoPlayer to GML compilation
2023-12-08 01:06:09 +01:00
tetektoza
e26548989a
GamesSettings: Port GamesSettings to GML compilation
...
Co-Authored-By: Tim Schumacher <timschumi@gmx.de>
2023-12-08 01:06:09 +01:00
tetektoza
935aaab757
HexEditor: Port HexEditor to GML compilation
2023-12-08 01:06:09 +01:00
tetektoza
bcec05a7cb
GMLCompiler: Add enum initializer for button_style property
...
This patch adds missing enum initializer for button_style property in
enum initializer generator in GML compiler.
2023-12-08 01:06:09 +01:00
tetektoza
c583888cc9
GMLCompiler: Add enum initializer for checkbox_position property
...
This patch adds a enum initializer for checkbox_position property
used in .gml files which are parsed by GML compiler.
2023-12-08 01:06:09 +01:00
tetektoza
0be70ed97a
GMLCompiler: Add enum initializer for opportunistic_resizee property
...
This patch adds a enum initializer for opportunistic_resizee and
makes the method that uses this property public so it's available for
GML compiler.
2023-12-08 01:06:09 +01:00
Tim Schumacher
35d4b36201
GMLCompiler: Fully qualify child class names
...
If we don't do this, and there a class in a namespace with the same
name, type resolution gets confused between `<namespace>::<class>` and
`<class>::<constructor>`.
2023-12-08 01:06:09 +01:00