Tim Ledbetter
50d0d6e710
WindowServer: Add an IPC call to get the window floating rect
2023-09-24 20:07:54 -06:00
Bastiaan van der Plaat
deb7ecfbe9
Maps: Add search panel
2023-09-24 20:05:33 -06:00
Bastiaan van der Plaat
2c2a1da306
Maps: Fix map rendering clipping issue when not full window size
2023-09-24 20:05:33 -06:00
Bastiaan van der Plaat
2bdd39f198
Maps: Add LatLngBounds struct
2023-09-24 20:05:33 -06:00
Bastiaan van der Plaat
baf2121636
LibGUI: Add more customization options to ListView
2023-09-24 20:05:33 -06:00
Bastiaan van der Plaat
469563b398
GMLCompiler: Add icon_from_path and frame_style properties
2023-09-24 20:05:33 -06:00
Bastiaan van der Plaat
a4e272d2c8
GMLCompiler: Fix bug where backslash in escaped sequence was preserved
2023-09-24 20:05:33 -06:00
Bastiaan van der Plaat
6265c544f9
LibWeb: Add DOMMatrix rotate, rotateFromVector and rotateAxisAngle
2023-09-24 20:02:38 -06:00
Bastiaan van der Plaat
42c2a67c83
LibWeb: Add DOMMatrix scale and scale3d
2023-09-24 20:02:38 -06:00
Bastiaan van der Plaat
67f6a9ee12
LibWeb: Fix DOMMatrix fromMatrix to use complete DOMMatrixInit struct
...
DOMMatrix fromMatrix was using create_from_dom_matrix_2d_init to make
a DOMMatrix for it's init struct this is wrong because only the 2D
params of the DOMMatrix are put into the new matrix. I have added
a non 2D version of that function that takes the full DOMMatrixInit
so now fromMatrix works correctly again. I also have added some
text tests to test if it works correctly.
I split the dommatrix.html text tests into multiple files because that
file was becoming to big so now every sub function is a seperate file.
2023-09-24 20:02:38 -06:00
Bastiaan van der Plaat
5d37e1c220
Userland: Remember window state of productivity / editor applications
2023-09-24 20:00:00 -06:00
Bastiaan van der Plaat
04ee15a5ad
Ladybird+LibWeb: Use old error.html template for navigation errors again
2023-09-24 19:59:00 -06:00
Bastiaan van der Plaat
8f2319e966
Ladybird+LibWeb: Rename FileDirectoryLoader to GeneratedPagesLoader
2023-09-24 19:59:00 -06:00
Bastiaan van der Plaat
6f8ceb49c2
Ladybird/AppKit: Fix scrolling with high dpi
2023-09-24 19:58:09 -06:00
Bastiaan van der Plaat
0574c0e474
Ladybird/AppKit: Listen for device pixel ratio changes
2023-09-24 19:58:09 -06:00
Liav A
7718842829
Kernel/VirtIO: Ensure proper error propagation in core methods
...
Simplify core methods in the VirtIO bus handling code by ensuring proper
error propagation. This makes initialization of queues, handling changes
in device configuration, and other core patterns more readable as well.
It also allows us to remove the obnoxious pattern of checking for
boolean "success" and if we get false answer then returning an actual
errno code.
2023-09-24 19:54:23 -06:00
Sam Atkins
6ee6a2534d
LibWeb: Expand shorthands containing CSS-wide keywords automatically
...
Now that shorthands use ShorthandStyleValue, the only bespoke code left
for them applies to CSS-wide keywords. We can automate expanding those,
so let's do so. :^)
2023-09-25 00:46:21 +01:00
Sam Atkins
1c4a05f8a4
LibWeb: Treat "revert" as a CSS-wide keyword
...
This isn't included in the base definition of a CSS-wide keyword, but
the CASCADE-4 spec which adds it says:
> The revert CSS-wide keyword rolls back the cascade to the cascaded
value of the earlier origin.
So it is one. While I'm at it, rename `is_builtin()` to match the spec
terminology. It's not used currently, but will be in the next commit.
2023-09-25 00:46:21 +01:00
Sam Atkins
aea112da71
LibWeb: Replace OverflowStyleValue with ShorthandStyleValue
2023-09-25 00:46:21 +01:00
Sam Atkins
e905072e47
LibWeb: Replace GridTrackPlacementShorthandStyleValue with ShorthandSV
2023-09-25 00:46:21 +01:00
Sam Atkins
8efac89a16
LibWeb: Replace TextDecorationStyleValue with ShorthandStyleValue
2023-09-25 00:46:21 +01:00
Sam Atkins
d40b3f2a34
LibWeb: Fix "egde" typo
2023-09-25 00:46:21 +01:00
Sam Atkins
6e311902de
LibWeb: Replace PlaceItemsStyleValue with ShorthandStyleValue
2023-09-25 00:46:21 +01:00
Sam Atkins
8143d48161
LibWeb: Replace PlaceSelfStyleValue with ShorthandStyleValue
...
Turns out we were parsing `place-self` as a PlaceItemsStyleValue
sometimes, whoops.
2023-09-25 00:46:21 +01:00
Sam Atkins
1b0939b418
LibWeb: Replace PlaceContentStyleValue with ShorthandStyleValue
2023-09-25 00:46:21 +01:00
Sam Atkins
6758decc74
LibWeb: Replace ListStyleStyleValue with ShorthandStyleValue
2023-09-25 00:46:21 +01:00
Sam Atkins
f5cb2e8dc2
LibWeb: Replace GridTrackSizeListShorthandStyleValue with ShorthandSV
2023-09-25 00:46:21 +01:00
Sam Atkins
48f3603119
LibWeb: Replace GridAreaShorthandStyleValue with ShorthandStyleValue
2023-09-25 00:46:21 +01:00
Sam Atkins
fe499681d9
LibWeb: Actually remove FontStyleValue
...
Whoops!
2023-09-25 00:46:21 +01:00
Sam Atkins
23d59a6caf
LibWeb: Replace BorderStyleValue with ShorthandStyleValue
...
And also expand builtin values to the longhands, which we weren't doing
before.
2023-09-25 00:46:21 +01:00
Sam Atkins
66300794a6
LibWeb: Expand CSS builtin values in border shorthands
2023-09-25 00:46:21 +01:00
Sam Atkins
ae9eaeffc4
LibWeb: Remove unnecessary code from sided border shorthand expansion
...
I'm sure at some point we made use of `Edge::All` and this made sense,
but now it's just overly verbose.
2023-09-25 00:46:21 +01:00
Gabriel Nava Marino
3a071bc4dd
AK: Replace unsafe offset_pointer usage in OpenType code
...
In OpenType code, replace unsafe Span::offset_pointer with Span::offset,
which includes bounds checks.
2023-09-25 00:19:38 +02:00
Tim Schumacher
40808fe1cd
Ports: Properly update submodules when checking out Git repositories
2023-09-24 23:54:56 +02:00
Tim Schumacher
e12e833eaa
Ports: Clone Git repositories to the actual workdir
2023-09-24 23:54:56 +02:00
Sam Atkins
34940821f6
Utilities: Use new ArgsParser method for enum values
2023-09-24 23:41:22 +02:00
Sam Atkins
f71d74ed65
LibCore: Add ArgsParser::add_option for setting enum values from a flag
...
Previously, argument-less options could only set a boolean to true. This
lets them also set an enum variable to a specific value, as is currently
done by the `ls` utility.
2023-09-24 23:41:22 +02:00
Daniel Bertalan
4d2af7c3d6
AK: Implement reverse iterators for OrderedHashTable
2023-09-24 23:36:43 +02:00
surrealegg
d94a374001
Ports: Add libenet
...
Libenet is a UDP networking library that is used by Love2D,
a game framework I would like to port.
2023-09-24 21:05:44 +02:00
Aliaksandr Kalenik
719a00df3a
LibJS: Add source location for Handle nodes in GC graph dumper output
...
With this change JS::Handle root nodes will contain source location
where they were constructed like:
```
"94675029575744": {
"root": "Handle activate_event_handler \
serenity/Userland/Libraries/LibWeb/DOM/EventTarget.cpp:564",
"class_name": "HTMLButtonElement",
"edges": [
"94675025955904",
"94675026899520",
"94675030831168",
```
2023-09-24 14:55:32 +02:00
Aliaksandr Kalenik
4b06cef93a
AK: Add copy assignment operator for SourceLocation
2023-09-24 14:55:32 +02:00
Tim Ledbetter
01ec695ae3
ls: Add the -S
option to sort files by size
...
This option will override the `-t` option and vice-versa.
2023-09-24 08:22:11 +01:00
Aliaksandr Kalenik
f9520af71e
LibWeb: Do page_did_start_loading if history state is pushed/replaced
...
page_did_start_loading need to be called when current history entry
changes to update URL in UI.
2023-09-23 17:59:10 -06:00
Aliaksandr Kalenik
7cdbd59e92
LibWeb: Update session history when History
entry is pushed/replaced
...
With this change `shared_history_push_replace_state()` starts to
actually add/replace session history entry.
2023-09-23 17:59:10 -06:00
Aliaksandr Kalenik
699ead0939
LibWeb: Start fleshing out update document for history step application
2023-09-23 17:59:10 -06:00
Aliaksandr Kalenik
40cbe9e72b
LibWeb: Add index
and length
into HTML::History
2023-09-23 17:59:10 -06:00
Andrew Kaster
0f8ae12d44
LibWeb: Implement fire a download request navigate event
2023-09-23 18:57:31 +02:00
Andrew Kaster
67bc3629a9
LibWeb: Implement fire a push/replace/reload navigate event
2023-09-23 18:57:31 +02:00
Andrew Kaster
5549371b52
LibWeb: Implement fire a traverse navigate event on Navigation
2023-09-23 18:57:31 +02:00
Andrew Kaster
3935105d0a
LibWeb: Implement the inner navigate event firing algorithm
...
This algorithm is the meat of firing the NavigateEvent at navigation.
In order to implement it, we also need to add some getters/setters on
NavigateEvent. The implemetentation deviates from the spec in when
exactly the NavigateEvent is created. In following the pattern for other
events. we construct the event from the NavigateEventInit structure from
our native code. This makes the code a lot simpler than adding 10
getters to the NavigateEvent that are only ever used just after
construction. I'm not 100% conviced the promise resolution code is
correct, but we can add tests for that later :^).
2023-09-23 18:57:31 +02:00