1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:37:35 +00:00
Commit graph

37232 commits

Author SHA1 Message Date
Sam Atkins
128d08ecef LibWeb: Empend instead of Appending DeclarationOrAtRules 2022-04-12 23:03:46 +02:00
Sam Atkins
782cdd6b91 LibWeb: Break friendship between CSS DeclarationOrAtRule and Parser
This actually wasn't needed for anything, hooray!
2022-04-12 23:03:46 +02:00
Sam Atkins
269810b954 LibWeb: Break friendship between CSS Declaration and Parser
This means deviating slightly from the spec in order to construct a
fully-initialized Declaration instead of creating an empty one and then
poking at its internals.

DeclarationOrAtRule should probably use a Variant, but for now, making
its Declaration member optional is quick and easy.
2022-04-12 23:03:46 +02:00
Sam Atkins
69496f4afd LibWeb: Make Declaration.m_name a FlyString 2022-04-12 23:03:46 +02:00
Sam Atkins
f235da27d9 LibWeb: Break friendship between CSS Block and Parser
This means deviating a little from the spec, so that we create a
complete Block in one go instead of creating an empty one and then
poking at its internals.
2022-04-12 23:03:46 +02:00
Sam Atkins
7128e8e2e6 LibWeb: Break friendship between CSS Number and Tokenizer 2022-04-12 23:03:46 +02:00
Sam Atkins
bf786d66b1 LibWeb: Move Token and Tokenizer into Parser namespace 2022-04-12 23:03:46 +02:00
Sam Atkins
7272997b1b LibWeb: Move StyleRule to Parser namespace 2022-04-12 23:03:46 +02:00
Sam Atkins
add6babef4 LibWeb: Move Declaration and DeclarationOrAtRule into Parser namespace 2022-04-12 23:03:46 +02:00
Sam Atkins
5f316cffba LibWeb: Rename StyleRules.cpp -> StyleRule.cpp and tidy up
`append_with_to_string()` is no longer needed now that ComponentValue
has a Formatter.
2022-04-12 23:03:46 +02:00
Sam Atkins
ba7149a27d LibWeb: Move DeclarationOrAtRule code into DeclarationOrAtRule.cpp 2022-04-12 23:03:46 +02:00
Sam Atkins
92320f3000 LibWeb: Add missing include to ComponentValue.h 2022-04-12 23:03:46 +02:00
Sam Atkins
6848a0ef05 LibWeb: Move Declaration code into Declaration.cpp 2022-04-12 23:03:46 +02:00
Sam Atkins
3e49036edf LibWeb: Move/rename StyleBlockRule to Parser::Block 2022-04-12 23:03:46 +02:00
Sam Atkins
624df40e20 LibWeb: Move StyleBlockRule code into StyleBlockRule.cpp 2022-04-12 23:03:46 +02:00
Sam Atkins
e0b2ebcc7b LibWeb: Move/rename StyleFunctionRule to Parser::Function 2022-04-12 23:03:46 +02:00
Sam Atkins
084780a0a2 LibWeb: Move StyleFunctionRule code into StyleFunctionRule.cpp 2022-04-12 23:03:46 +02:00
Sam Atkins
d2b8686ae4 LibWeb: Add Formatter for ComponentValues 2022-04-12 23:03:46 +02:00
Sam Atkins
fff2c35f51 LibWeb: Move ComponentValue to CSS::Parser namespace 2022-04-12 23:03:46 +02:00
Sam Atkins
c449cabae3 LibWeb: Move CSS Parser into new Web::CSS::Parser namespace
The goal here is to move the parser-internal classes into this namespace
so they can have more convenient names without causing collisions. The
Parser itself won't collide, and would be more convenient to just
remain `CSS::Parser`, but having a namespace and a class with the same
name makes C++ unhappy.
2022-04-12 23:03:46 +02:00
Sam Atkins
1304bf5a21 LibWeb: Stop manually forward-declaring types in CSS Parser.h 2022-04-12 23:03:46 +02:00
Sam Atkins
b7453eafbb LibWeb: Move ComponentValue code into ComponentValue.cpp 2022-04-12 23:03:46 +02:00
Ali Chraghi
8f5d80a41d CrashReporter: Implement Save Backtrace button 2022-04-12 21:43:07 +01:00
Thitat Auareesuksakul
34a0f8cdc7 Base: Add Thai glyphs to KaticaBold10 font
This commit adds Thai glyphs (U+0E00..U+0E7F) to KaticaBold10.font

Currently the language doesn't render properly due to the lack of
combinable Unicode characters implementation, but the glyphs are here :)
2022-04-12 21:12:23 +01:00
Thitat Auareesuksakul
8ceae0ec2b Base: Add Thai glyphs to KaticaRegular10 font
This commit adds Thai glyphs (U+0E00..U+0E7F) to KaticaRegular10.font

Currently the language doesn't render properly due to the lack of
combinable Unicode characters implementation, but the glyphs are here :)
2022-04-12 20:53:29 +01:00
Igor Pissolati
00099a8ade LibWeb: Bring HTMLOptionElement closer to spec 2022-04-12 19:42:16 +02:00
Igor Pissolati
ae519c6fef LibWeb: Improve HTMLImageElement::{width,height}()
With this change, it will correctly return the width/height when the
image element has an assigned width/height attribute.
2022-04-12 19:42:16 +02:00
Igor Pissolati
e5d978af9f LibWeb: Bring HTMLImageElement closer to spec 2022-04-12 19:42:16 +02:00
Igor Pissolati
682a4a347a LibWeb: Bring Node closer to spec
Node::base_uri() correct implementation was left as a FIXME.
2022-04-12 19:42:16 +02:00
Igor Pissolati
e2fa5c0cda LibWeb: Bring Document closer to spec 2022-04-12 19:42:16 +02:00
Tim Schumacher
cf7a0821b5 Kernel: Increase the default userspace stack size to 4 MiB
This makes the main thread stack size the same as the default stack
size when creating new threads.
2022-04-12 16:48:15 +02:00
EWouters
81f1929a6f Ports/libarchive: Update libarchive to version 3.6.1 2022-04-11 19:43:56 -07:00
EWouters
6d4fe4fa60 Ports/zsh: Update zsh to version 5.8.1 2022-04-11 19:43:56 -07:00
EWouters
deb4f2aff2 Ports/wget: Update wget to version 1.21.3 2022-04-11 19:43:56 -07:00
EWouters
1d47699e6a Ports/tcl: Update tcl to version 8.6.12 2022-04-11 19:43:56 -07:00
EWouters
0d0ab08ff6 Ports/sqlite: Update sqlite to version 3380200 2022-04-11 19:43:56 -07:00
EWouters
bb8ca24212 Ports/SDL_sound: Update SDL_sound to git commit df3fc77 2022-04-11 19:43:56 -07:00
EWouters
20d4566ad4 Ports/SDL2_ttf: Update SDL2_ttf to version 2.0.18 2022-04-11 19:43:56 -07:00
EWouters
7fb1711a83 Ports/SDL2-GNUBoy: Update SDL2-GNUBoy to version 1.2.1 2022-04-11 19:43:56 -07:00
EWouters
f37d2e2d1c Ports/readline: Update readline to version 8.1.2 2022-04-11 19:43:56 -07:00
EWouters
218ade0b8b Ports/python3: Update python3 to version 3.10.4 2022-04-11 19:43:56 -07:00
EWouters
d89a58216d Ports/pt2-clone: Update pt2-clone to version 1.43
Upgrade patches to git style, add ReadMe.md and remove from the list
of ports missing descriptions.
2022-04-11 19:43:56 -07:00
EWouters
d6ce3a842c Ports/ninja: Update ninja to version 1.10.2
The sys-select-for-pselect patch was upstreamed in
b191404828.
:^)
2022-04-11 19:43:56 -07:00
EWouters
ccc9550114 Ports/nano: Update nano to version 6.2 2022-04-11 19:43:56 -07:00
EWouters
a9d53b1b88 Ports/mrsh: Update mrsh to git commit cd3c3a4
Also preserve `-j$(nproc)` flag.
2022-04-11 19:43:56 -07:00
EWouters
d4ae72d844 Ports/libxml2: Update libxml2 to version 2.9.13
This version is not available from the old mirror.
2022-04-11 19:43:56 -07:00
EWouters
f0ded32200 Ports/libuv: Update libuv to version 1.44.1
Part of the build-Add-platform-specific-stubs-and-implementation
was upstreamed.
2022-04-11 19:43:56 -07:00
EWouters
db4370992f Ports/libuuid: Update libuuid to version 2.38 2022-04-11 19:43:56 -07:00
EWouters
a37ce939ee Ports/libtool: Update libtool to version 2.4.7 2022-04-11 19:43:56 -07:00
EWouters
60e2d0fbba Ports/libmodplug: Update libmodplug to version 0.8.9.0 2022-04-11 19:43:56 -07:00