Andreas Kling
5300896095
LibGUI: Remove Menubar::try_add_menu()
...
And fall back to the infallible add_menu().
2023-08-14 14:57:54 +02:00
Andreas Kling
94cd272ac0
LibGUI: Make CommonMenus::make_accessibility_menu() infallible
2023-08-14 14:57:54 +02:00
Andreas Kling
676ef0cc3d
LibGUI: Make Menu::add_recent_files_list() infallible
2023-08-14 14:57:54 +02:00
Andreas Kling
f2faf2767f
LibGUI: Remove Menu::try_add_action()
...
And fall back to the infallible add_action().
2023-08-14 14:57:54 +02:00
Andreas Kling
eec328e2ab
LibGUI: Remove Menu::try_add_submenu()
...
And fall back to the infallible add_submenu().
2023-08-14 14:57:54 +02:00
Andreas Kling
1525fa3b8f
LibGUI: Remove Menu::try_add_separator()
...
And fall back to the infallible add_separator().
2023-08-14 14:57:54 +02:00
Andreas Kling
b679094529
LibGUI: Remove remaining fallible Layout APIs
2023-08-14 14:57:54 +02:00
Andreas Kling
58e482a06d
LibGUI: Remove Layout::try_add_spacer()
...
And fall back to the infallible add_spacer().
Work towards #20557 .
2023-08-14 14:57:54 +02:00
Andreas Kling
8322b31b97
LibGUI: Remove Widget::try_set_layout<T>()
...
And fall back to the infallible set_layout<T>().
Work towards #20557 .
2023-08-14 14:57:54 +02:00
Timothy Flynn
341626e2ea
LibJS: Reorder NumberFormat's rounding priority resolved option
...
This is a normative change in the ECMA-402 spec. See:
https://github.com/tc39/ecma402/commit/0fbf16c
2023-08-14 07:48:54 -04:00
Timothy Flynn
b0c8543b28
LibJS: Compute NumberFormat's rounding priority during construction
...
This is an editorial change in the ECMA-402 spec. See:
https://github.com/tc39/ecma402/commit/c28118e
2023-08-14 07:48:54 -04:00
Andi Gallo
bc8c2b2bc2
LibWeb: Use cell width instead available width to compute height
...
Overall available width should only affect later stages of the table
layout algorithm and have no impact on cell measures.
2023-08-14 13:14:24 +02:00
MacDue
2a067b5601
LibWeb: Don't paint all stacking contexts like positioned elements
...
Previously stacking contexts were only painted in steps 3, 8, and 9.
These steps are only meant to cover positioned elements (as per
https://www.w3.org/TR/CSS22/zindex.html ). This meant that elements with
opacity (which forms a stacking context) could end up painted above
elements that actually occlude them.
2023-08-14 13:10:17 +02:00
Tim Ledbetter
ba51c7bb7f
Ports: Add DevilutionX
2023-08-14 13:07:48 +02:00
Shannon Booth
576f8e8fa8
LibWeb: Fix crash parsing an invalid pseudo compound selector
...
Reduced from a crash on: https://github.com/SerenityOS/serenity/pulls
Fixes #20568
2023-08-14 11:43:57 +01:00
Tim Ledbetter
bf5a17dedb
Ports/openttd: Update formatting to be consistent with other ports
2023-08-14 12:36:03 +02:00
Tim Ledbetter
c8dbed09d8
Ports/openttd: Add a launcher icon
2023-08-14 12:36:03 +02:00
Tim Ledbetter
0866585b2b
Ports/openttd: Update to version 13.4
2023-08-14 12:36:03 +02:00
Tim Ledbetter
c725a99799
Ports/ClassiCube: Add a launcher icon
2023-08-14 12:23:05 +02:00
Tim Ledbetter
2c60438b8e
Ports/hatari: Update formatting to be consistent with other ports
2023-08-14 12:20:03 +02:00
Tim Ledbetter
c79c145a0a
Ports/hatari: Add launcher icon
2023-08-14 12:20:03 +02:00
Tim Ledbetter
badf003511
Ports/hatari: Use correct launcher command path
2023-08-14 12:20:03 +02:00
Tim Ledbetter
cb8491ed0a
Ports/hatari: Update to version 2.4.1
2023-08-14 12:20:03 +02:00
Tim Ledbetter
1f22cc9668
Ports/ja2: Update formatting to be consistent with other ports
2023-08-14 12:14:12 +02:00
Tim Ledbetter
792f8f9492
Ports/ja2: Add launcher icon
2023-08-14 12:14:12 +02:00
Tim Ledbetter
a827c0defc
Ports/ja2: Ensure build is run in parallel
2023-08-14 12:14:12 +02:00
Tim Ledbetter
bb4e7c91ca
Ports/cmatrix: Update formatting to be consistent with other ports
2023-08-14 12:10:11 +02:00
Tim Ledbetter
fe8c9aae23
Ports/cmatrix: Install binary to /usr/local/bin
2023-08-14 12:10:11 +02:00
Tim Ledbetter
fd0efa0106
Ports/nyancat: Update formatting to be consistent with other ports
2023-08-14 12:07:35 +02:00
Tim Ledbetter
301fbb013c
Ports/nyancat: Use the correct launcher command path
2023-08-14 12:07:35 +02:00
Tim Ledbetter
cc304b2954
Ports/nyancat: Fetch from a specific commit hash rather than master
...
This avoids a potential sha256 mismatch whenever something is pushed
to the `master` branch.
2023-08-14 12:07:35 +02:00
Tim Ledbetter
629a6449c5
Ports/vitetris: Update formatting to be consistent with other ports
2023-08-14 12:05:02 +02:00
Tim Ledbetter
0e4f7d7f40
Ports/vitetris: Use correct launcher command path
2023-08-14 12:05:02 +02:00
Tim Ledbetter
6b1397a882
Ports/SDLPoP: Update formatting to be consistent with other ports
2023-08-14 11:45:08 +02:00
Tim Ledbetter
6cf9f495be
Ports/SDLPoP: Add a launcher icon
2023-08-14 11:45:08 +02:00
Tim Ledbetter
5a04781224
Ports/SDLPoP: Remove an unnecessary patch
...
This patch removed some previously unsupported scanf format specifiers.
We still don't support these properly, but we can parse and ignore
them, which is equivalent to what this patch was doing.
2023-08-14 11:45:08 +02:00
Sam Atkins
43b4e84d9c
Meta: Remove "Check manpages for completeness" CI step
...
This is taking over 4 minutes to run on CI, and checks only a dozen
manpages, which is of limited benefit.
Leaving the manpage-generation code in place for now.
2023-08-14 07:58:33 +02:00
Andrew Kaster
46b86ffcfc
Ladybird: Add install rules to make app bundle on macOS relocatable
...
We were still missing the resources and the libraries inside the actual
bundle directory. Do it at install time to not make a mess of all the
rules. The gn build lists all the libraries in a massive list, which
is quite a pain. We can over-copy a few libraries like this to make the
install script a bit easier to follow.
2023-08-13 23:31:00 -06:00
Andrew Kaster
ea0e07ec8f
Meta: Include RPATH rules at top level to share them with Ladybird
...
When using Ladybird/ as CMake source directory, the RPATH rules were
left at the default, which is almost never correct.
2023-08-13 23:31:00 -06:00
0GreenClover0
061061bd9c
Calendar: Make on_month_click capture the view_month_action's RefPtr
2023-08-14 07:29:09 +02:00
Aliaksandr Kalenik
0d66a80a0f
headless-browser: Add ref tests support
...
The ref tests runner takes screenshots of both the input page and the
expected page, then compares them. Ref testing allows us to catch
painting bugs, which cannot be detected with the layout and text tests
we already have.
With ref tests, we'll likely want to reuse the same expectation page
for multiple inputs. Therefore, there's a `manifest.json` file that
describes the relationship between inputs and expected outputs.
2023-08-14 07:28:22 +02:00
Shannon Booth
582784d0cf
AK: Remove unused ApplyPercentDecoding enum from URL class
2023-08-13 15:03:53 -06:00
Shannon Booth
9d60f23abc
AK: Port URL::m_fragment from DeprecatedString to String
2023-08-13 15:03:53 -06:00
Shannon Booth
5663a2d3b4
AK+LibWeb: Do not percent encode/decode in URL fragment setter/getters
...
The web specs do not expect decoding or decoding to happen when calling
these helpers. This allows us to remove the raw_fragment helper function
from the URL class.
2023-08-13 15:03:53 -06:00
Shannon Booth
c25485700a
AK: Port URL scheme from DeprecatedString to String
2023-08-13 15:03:53 -06:00
Shannon Booth
21fe86d235
AK: Port URL::m_query from DeprecatedString to String
2023-08-13 15:03:53 -06:00
Shannon Booth
55a01e72ca
AK: Port URL username/password from DeprecatedString to String
...
And for cases that just need to check whether the password/username is
empty, add a raw_{password,username} helper to avoid any allocation.
2023-08-13 15:03:53 -06:00
Shannon Booth
6b29dc3e46
LibWeb: Fix double percent encode of username
...
URL::set_username will apply a percent encode, so we don't need to do
it a second time here.
2023-08-13 15:03:53 -06:00
Shannon Booth
d2fe657879
AK: Remove unused URL::m_path member
2023-08-13 15:03:53 -06:00
Timothy Flynn
ccf2597bd3
Ladybird: Remove unused LoadType parameter from Tab::navigate
...
The only non-default use of this parameter was removed in 980e7164fe
.
2023-08-13 21:49:06 +01:00