Sam Atkins
402845fe00
LibWeb: Split GridTrackPlacementShorthandStyleValue out of StyleValue
2023-03-25 16:56:04 +00:00
Sam Atkins
675cb3b9da
LibWeb: Split GridAreaShorthandStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
4dc99e49a1
LibWeb: Split GridTemplateAreaStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
015885f068
LibWeb: Split FrequencyStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
87f920a299
LibWeb: Split FontStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
e24679f870
LibWeb: Split FlexFlowStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
273b9b4ca1
LibWeb: Split FlexStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
89ed8e59f9
LibWeb: Split FilterValueListStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
9436b7de83
LibWeb: Split ContentStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
77b2826402
LibWeb: Split ColorStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
66bc816284
LibWeb: Split BorderRadiusStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
25114c159d
LibWeb: Split BorderRadiusShorthandStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
1c03bc7a6f
LibWeb: Split BorderStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
9d5296889f
LibWeb: Split BackgroundSizeStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
52cd0b2f47
LibWeb: Split BackgroundRepeatStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
92a0d4c0af
LibWeb: Split BackgroundStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Sam Atkins
777d3e73f9
LibWeb: Split AngleStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00
Marco Cutecchia
36c5afdfb2
Revert "Revert "Kernel/Storage: Remove the ramdisk implementation""
...
This reverts commit 187723776a
.
This was reverted because it was needed until the aarch64 port
got an SD card driver
Co-authored-by: Ollrogge <nils-ollrogge@outlook.de>
2023-03-25 16:50:36 +00:00
Marco Cutecchia
d09852642c
Revert "Kernel/aarch64: Embed disk image into kernel binary"
...
This reverts commit 3b65fd64fc
.
This is no longer needed as we don't use the ramdisk anymore
Co-authored-by: Ollrogge <nils-ollrogge@outlook.de>
2023-03-25 16:50:36 +00:00
Marco Cutecchia
f3363c1088
Meta: Run aarch64 with the disk image in the SD card slot
...
Co-authored-by: Timon Kruiper <timonkruiper@gmail.com>
Co-authored-by: Ollrogge <nils-ollrogge@outlook.de>
2023-03-25 16:50:36 +00:00
Marco Cutecchia
c91db6ec97
Kernel: Add an SD card driver for the aarch64 port
...
Co-authored-by: Ollrogge <nils-ollrogge@outlook.de>
2023-03-25 16:50:36 +00:00
Marco Cutecchia
bb8092d6a1
Kernel: Allow enabling high level detection on GPIOs
...
Co-authored-by: Timon Kruiper <timonkruiper@gmail.com>
Co-authored-by: Ollrogge <nils-ollrogge@outlook.de>
2023-03-25 16:50:36 +00:00
Marco Cutecchia
28acf25035
Kernel: Use u64 instead of int for the bitfields of CPACR_EL1
...
This fixes the Clang build of the aarch64 port
2023-03-25 16:50:36 +00:00
Marco Cutecchia
d0403d24d4
Kernel: Add missing include to Jail.h
2023-03-25 16:50:36 +00:00
Ali Mohammad Pur
6fc9f5fa28
LibRegex: Make ^ and $ accept all LineTerminator
s instead of just '\n'
...
Also adds a couple tests.
2023-03-25 15:44:05 +01:00
Liav A
59a76b1279
Kernel: Remove 2 duplicated listings of cpp files in CMakeLists.txt file
2023-03-25 08:46:54 +00:00
MacDue
95b6e57bfb
LibCore: Use Core::Process::spawn to start WebDriver processes
2023-03-24 22:06:38 +00:00
MacDue
cd7459d608
LibCore: Get the environment in Core::Process::spawn() on macOS
...
This is copied over from ladybird, but putting it here makes this
more reusable.
2023-03-24 22:06:38 +00:00
MacDue
3feddbf9da
Run: Use Core::Process::spawn() to launch commands
2023-03-24 22:06:38 +00:00
MacDue
43529ea25e
Taskbar: Use Process::spawn_or_show_error() for shutdown actions
2023-03-24 22:06:38 +00:00
MacDue
e46b9c189e
Taskbar: Use Process::spawn_or_show_error() to open the "Run" dialog
2023-03-24 22:06:38 +00:00
MacDue
c9043280ec
Taskbar: Use GUI::Process::spawn_or_show_error() to launch apps
...
And while here make a partial fix for launching terminal apps that
require root and contain spaces in their name/path.
2023-03-24 22:06:38 +00:00
MacDue
0af3e37f5d
KeyboardPreferenceLoader: Use Core::Process::spawn() to set keymap
2023-03-24 22:06:38 +00:00
MacDue
ceffca9a75
WebDriver: Use Core::Process::spawn() to launch browsers
2023-03-24 22:06:38 +00:00
MacDue
2aa8c9950e
FileManager: Use GUI::Process::spawn_or_show_error() to open terminals
2023-03-24 22:06:38 +00:00
MacDue
d27a513dc5
LibCore: Add KeepAsChild option to Core::Process::spawn()
...
This now allows spawning a process without disowning.
2023-03-24 22:06:38 +00:00
MacDue
b3edd83e0a
LibGUI: Allow passing working directory to spawn_or_show_error()
2023-03-24 22:06:38 +00:00
MacDue
62e8360dcf
LibCore: Fix memory leak in Core::Process::spawn()
...
Previously the spawn_actions were not destroyed, which leaked a
little memory.
2023-03-24 22:06:38 +00:00
Pankaj Raghav
d0ac24ddbf
Kernel/Syscalls: Use copy_n_to_user when applicable
...
copy_to_user() with bytes as the last argument could be changed to using
copy_n_to_user() with a count.
2023-03-24 18:25:12 +01:00
Pankaj Raghav
f32fde6152
Kernel/StdLib: Change try_copy_n_to_user to copy_n_to_user
...
Let us keep the naming consistent between copy_n_from_user() and
copy_n_to_user()
2023-03-24 18:25:12 +01:00
Andreas Kling
aeb8224ec8
LibCompress: Speed up deflate decompression by ~11%
...
...simply by using LittleEndianInputBitStream::read_bit() instead of
read_bits(1). This puts us on the fast path for single-bit reads.
There's still lots of money on the table for bigger optimizations to
claim here, just picking an embarrassingly low-hanging fruit. :^)
2023-03-24 17:08:35 +01:00
Jelle Raaijmakers
ea9707ec29
LibCrypto: Update entire blocks in SHA*::update()
...
Instead of going byte by byte, copy entire blocks at once and only check
if we need to update the state once per block. This pretty much
eliminates `::update()` from profiles and measurably improves
performance for utilities like `sha256sum`.
2023-03-24 15:28:10 +00:00
Jelle Raaijmakers
0606d371fe
Tests/LibCrypto: Test block splitting logic for SHA1/SHA256
...
We were not testing this logic and I caused a regression while
modifying some of the hashing code, so let's add these. Note that I only
added two tests to test both 'families' of implementations for the SHA
hashes.
2023-03-24 15:28:10 +00:00
Jelle Raaijmakers
88b0b80aab
LibCrypto: Stop shadowing i
variable
2023-03-24 15:28:10 +00:00
Cameron Youell
c048cf2004
Libraries: Convert DeprecatedFile
usages to LibFileSystem
2023-03-24 10:58:43 +00:00
Cameron Youell
1dc3ba6ed5
Applications: Convert DeprecatedFile
usages to LibFileSystem
2023-03-24 10:58:43 +00:00
MacDue
5ba7449342
Base: Add radio buttons to the accent-color demo page
2023-03-24 09:57:48 +00:00
MacDue
dd77b878b3
LibWeb: Add scalable radio buttons (with theme/accent-color support)
...
These are similar to the checkboxes now (though no SDFs here all just
plain AA painter).
2023-03-24 09:57:48 +00:00
MacDue
56bc653e72
LibWeb: Move checkbox color palette computation to helper header
...
This will allow these to be more easily reused for other inputs.
Note that we need this as the base LibGfx pallet does not quite have
the required range for HTML inputs (though these shades are based off
the LibGfx palette).
2023-03-24 09:57:48 +00:00
MacDue
98040c508f
LibGfx: Handle signed distance field edges better
...
Small change to treat pixels outside the signed distance field bitmap
as outside the shape.
2023-03-24 09:57:48 +00:00