kleines Filmröllchen
3d0da734ee
AK: Allow Statistics to be used with any container type
...
This not only facilitates using non-owning types, but also those that
cannot be default-constructed.
2023-08-16 01:10:35 +02:00
Tim Ledbetter
9aaf516bdd
Base: Render checksum man page synopsis using a multi-line code block
...
This is consistent with other man pages and makes the synopsis render
correctly in the terminal.
2023-08-16 01:04:13 +02:00
Tim Ledbetter
b707a7f57a
Ports/klong: Create /usr/local/bin
if it doesn't exist
2023-08-16 00:52:18 +02:00
Tim Ledbetter
c1e94bc3c1
Ports/stb: Create /usr/local/include
if it doesn't exist
2023-08-16 00:51:09 +02:00
Jelle Raaijmakers
386505d0e0
Ports: Update README.md
to show the right style for depends
:^)
2023-08-16 00:38:18 +02:00
Tim Ledbetter
3782903642
Ports/brogue: Update formatting to be consistent with other ports
2023-08-16 00:29:55 +02:00
Tim Ledbetter
b5f34b3cda
Ports/brogue: Update to version 1.12
2023-08-16 00:29:55 +02:00
Tim Ledbetter
66d52db044
Ports/brogue: Add launcher entry
2023-08-16 00:29:55 +02:00
Nicolas Ramz
0986533c11
Meta+Tests: Add a fuzzer and a test for the ILBM decoder
2023-08-15 18:36:11 +01:00
Nicolas Ramz
fda5590313
LibGfx/ILBM: Add an IFF-ILBM decoder :)
...
IFF was a generic container fileformat that was popular on the Amiga
since it was the only file format supported by Deluxe Paint.
ILBM is an image format popular in the late eighties/nineties
that uses the IFF container.
This is a very first version of the decoder that only supports
(byterun) compressed files with bpp <= 8.
Only the minimal chunks are decoded: CMAP, BODY, BMHD.
I am planning to add support for the following variants:
- EHB (32 colours + lighter 32 colours)
- HAM6 / HAM8 (special mode that allowed to display the whole Amiga
4096 colours / 262 144 colours palette)
- TrueColor (24bit)
Things that could be fun to do:
- Still images could be animated using color cycle information
2023-08-15 18:36:11 +01:00
Nicolas Ramz
66d6388b8a
LibGfx/WebP: Move FourCC into ImageDecoder.h
...
It will be shared with upcoming ILBM decoder.
2023-08-15 18:36:11 +01:00
Andreas Kling
dea91afba7
LibWeb: Make HTMLElement.offset{Left,Top} work on inline elements
...
Before this change, we were returning (0, 0) for inline elements, due to
a bogus paintable type check in box_type_agnostic_position().
2023-08-15 16:37:11 +02:00
Andreas Kling
79db9c27c6
LibWeb: Rename PaintableBox::effective_offset() => offset()
...
Since this function no longer does any computation, just "offset" seems
like a fine name.
2023-08-15 16:37:11 +02:00
Andreas Kling
25a3d0d643
LibWeb: Resolve relative offsets *once* after layout
...
Instead of applying relative offsets (like position:relative insets)
during painting and hit testing, we now do a pass at the end of layout
and assign the final resolved offsets to paintables.
This makes painting and hit testing easier since they don't have to
think about relative offsets, and it also fixes a bug where offsets were
not applied to text fragments inside inline-flow elements that were
themselves position:relative.
2023-08-15 16:37:11 +02:00
Andreas Kling
481fdfee68
LibWeb: Resolve CSS inset properties when entering inline-flow elements
...
We don't actually apply the insets anywhere yet, but at least now they
are available in the node's layout state.
2023-08-15 16:37:11 +02:00
Andreas Kling
88949b10d8
LibWeb: Make containing_block_{width,height}_for(...) take non-box nodes
...
There's no reason for this API to require a Layout::Box as input.
Any node that can have layout state is welcome, so this patch makes it
take NodeWithStyleAndBoxModelMetrics.
2023-08-15 16:37:11 +02:00
thankyouverycool
57f3b18109
LibGUI+Userland: Remove Toolbar::try_add_{action,separator}()
...
These calls largely occur during initialization before there's
unsaved state worth preserving
2023-08-15 15:56:34 +02:00
Bastiaan van der Plaat
eafdb06d87
LibWeb: Add directory entries page when visiting a local directory
2023-08-15 10:41:54 +01:00
Bastiaan van der Plaat
e4c3a52cfa
LibWeb: Add resource_directory_url for internal HTML pages
...
The error.html page now uses the resource_directory_url this
variable contains the relative path to /Base/res/ on the host
system as a file:// url. This is needed for future pages to load
resource files like icons. For the error.html page this was not
really needed because it lies over this own URL in FrameLoader.cpp.
2023-08-15 10:41:54 +01:00
Zaggy1024
af01cf70eb
Base: Fix a typo in the futex()
documentation
2023-08-14 22:16:11 -04:00
MacDue
4e49aee545
Tests/LibWeb: Add opacity-stacking.html test to manifest.json
...
(Also explicitly set the background color)
2023-08-14 23:52:53 +02:00
MacDue
9006c7aece
LibWeb: Add ref test for opacity (stacking context) paint order
...
Now that we can test this, let's add a test, as mentioned in:
https://github.com/SerenityOS/serenity/pull/20559#issuecomment-1677126697
(I confirmed this test failed before #20559 )
2023-08-14 22:42:25 +02:00
Hendiadyoin1
394529b7d0
AK: Fix formatting of negative whole fixed point numbers
...
Instead of `-2` we were printing `-2.1`
Co-Authored-By: Daniel Bertalan <dani@danielbertalan.dev>
2023-08-14 14:20:45 -06:00
Hendiadyoin1
daacc5c6c2
AK: Rename AK::FixedPoint::round to rint and fix a rounding error
...
`rint` is a more accurate name for the roudning mode as the fixme above
stated
2023-08-14 14:20:45 -06:00
Hendiadyoin1
05c959e40b
AK: Change standard casting method of FixedPoint to truncation
...
This matches what floats do.
Also fix typo `trunk`->`trunc`
2023-08-14 14:20:45 -06:00
Hendiadyoin1
8526791617
AK: Use wider type for FixedPoint division
...
This allows us to shift first and then divide, preserving more precision
2023-08-14 14:20:45 -06:00
Hendiadyoin1
e609ac74a3
AK: Fix FixedPoint multiplication rounding and overflow behaviour
...
We now preform the multiplication in a widened type which makes it
overflow-safe and use the correct bit for rounding direction detection.
2023-08-14 14:20:45 -06:00
Sergey Bugaev
32de3ddd33
Base: Document futex(2) :^)
2023-08-14 13:46:17 -06:00
Sergey Bugaev
0a6690b745
LibC: Fix passing futex value for FUTEX_WAKE_BITSET
...
FUTEX_WAKE_BITSET, like FUTEX_WAKE, accepts the number of waiting
threads to wake, not the current value of the futex. Pass UINT32_MAX
instead.
2023-08-14 13:46:17 -06:00
Andrew Kaster
f660fc97a9
CI: Specify SERENITY_CACHE_DIR for test262 job
...
We weren't actually using the caches at all for this job after some
path changes recently.
2023-08-14 15:37:02 -04:00
Timothy Flynn
e6d04d29e8
Ladybird: Support non-Qt chromes on macOS
...
Non-Qt chromes will want to use the same Info.plist and bundle info as
the Qt chrome. This patch puts the CMake setup for the bundle into a
function that non-Qt chromes may call in their CMakeLists.txt. The Qt
chrome calls it automatically.
2023-08-14 13:36:00 -06:00
Timothy Flynn
553d35e503
Ladybird: Create a runtime error for unknown audio codec plugins
...
This will allow us to bring the WebContent process into non-Qt macOS
chromes. This branch is only reached when creating an <audio> element,
so while the chrome is heavily under development, we can just avoid
these elements.
2023-08-14 13:36:00 -06:00
Andrew Kaster
7824206f34
CI: Point test-wasm binary at new Build/bin location
...
Fixes breakage after ea0e07ec8f
2023-08-14 13:23:27 -06:00
Andrew Kaster
1d032422c1
Meta: Add Andi Gallo to the contributors list :^)
2023-08-14 13:10:08 -06:00
0GreenClover0
0742cb0818
Calendar: Use proper tile information when painting tiles after January
2023-08-14 20:45:35 +02:00
Aliaksandr Kalenik
38c7703fe8
LibWeb: Add allowPOST param in populate_session_history_entry_document
2023-08-14 17:46:46 +02:00
Aliaksandr Kalenik
b05bd889e1
LibWeb: Add missing navigable in NavigableContainer::visit_edges()
2023-08-14 17:46:46 +02:00
Aliaksandr Kalenik
08788072c1
LibWeb: Add SessionHistoryTraversalQueue
2023-08-14 17:46:46 +02:00
Aliaksandr Kalenik
6d866dc5ba
LibWeb: Take care of ongoing navigation in Navigable::navigate()
2023-08-14 17:46:46 +02:00
Shannon Booth
099a069b86
LibWeb: Fix typo in query of link element search params
...
Regressed in 21fe86d235
2023-08-14 16:26:34 +02:00
Nico Weber
934340d845
LibPDF: Add FIXME for CIDFontType2 creation
...
Move some code only needed for CIDFontType2 creation into a new
function and add a FIXME describing what needs to happen there.
2023-08-14 16:26:09 +02:00
Nico Weber
1c263eee61
LibPDF: Add spec comments and FIXMEs to Type0Font::draw_string()
2023-08-14 16:26:09 +02:00
Andi Gallo
a18500c78c
LibWeb: Paint separate borders for inline tables
2023-08-14 15:12:19 +02:00
Andreas Kling
c838bb3f21
LibGUI: Make AboutDialog APIs infallible
2023-08-14 14:57:54 +02:00
Andreas Kling
bd61e75e0b
LibGUI: Remove Window::try_add_menu()
...
And fall back to the infallible add_menu().
2023-08-14 14:57:54 +02:00
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