Niko
790f0c98c2
Base: Add some emoji
...
New:
1F37E fully-qualified # 🍾 E1.0 bottle with popping cork
1F38D fully-qualified # 🎍 E0.6 pine decoration
1F960 fully-qualified # 🥠 E5.0 fortune cookie
1F985 fully-qualified # 🦅 E3.0 eagle
1FAC5 fully-qualified # 🫅 E14.0 person with crown
Modified:
1F5FE fully-qualified # 🗾 E0.6 map of Japan
2023-02-16 12:28:11 +01:00
Nathan Ell
3b446b873e
Ports/dos2unix: Update to 7.4.4
2023-02-16 12:27:52 +01:00
Federico Guerinoni
1296aa108b
Ladybird: Close tab clicking wheel of the mouse
2023-02-16 11:26:44 +00:00
Lucas CHOLLET
d5f7771039
3DFileViewer: Don't unveil "/home/anon/Documents/3D Models"
...
Usage of models is now done by `LibFileSystemAccessClient`.
2023-02-16 10:56:01 +00:00
Lucas CHOLLET
851b887cd0
3DFileViewer: Set the window title name in load_file()
...
This patch allows two things:
- Factorizing code that was in main and the open action
- Displaying the full path of non-unveiled paths
Indeed, looking for the path of a fd is not allowed if the file isn't
unveiled. By setting the title in `load_file()` we are actually relying
on the value returned by `LibFSAC` who is actually authorized to
retrieve the entire path.
2023-02-16 10:56:01 +00:00
Lucas CHOLLET
95a03f8ed6
3DFileViewer: Don't try to open textures without LibFSASC
2023-02-16 10:56:01 +00:00
Lucas CHOLLET
9c2800fbb5
3DFileViewer: Port to Core::File
2023-02-16 10:56:01 +00:00
Lucas CHOLLET
b13695c9f4
LibGfx: Add a stream compatible overload of Bitmap::load_from_file()
2023-02-16 10:56:01 +00:00
Lucas CHOLLET
5b6e93f96a
LibCore: Add MappedFile::map_from_file()
...
This method relies on `map_from_fd_and_close()` but takes a `File`
instead of a fd.
2023-02-16 10:56:01 +00:00
Lucas CHOLLET
3a95c8111d
LibCore: Allow MappedFile
to make File
leak its fd
2023-02-16 10:56:01 +00:00
Lucas CHOLLET
0f4a8731fd
LibCore: Forward declare MappedFile
2023-02-16 10:56:01 +00:00
Lucas CHOLLET
13b149b42e
3DFileViewer: Remove unnecessary tests when loading files
...
These tests are already performed by `LibFileSystemAccessClient`.
2023-02-16 10:56:01 +00:00
Lucas CHOLLET
f9e3a591d2
3DFileViewer: Use LibFSAC
in GLContextWidget::load_path()
...
It was the only function to not use the `LibFSAC`, it will allow us to:
- Not unveil some file
- Drop some tests on to-be-read-from file as they are performed in
`LibFSAC`.
2023-02-16 10:56:01 +00:00
Lucas CHOLLET
b4cea1c72e
3DFileViewer: Port MeshLoader
and its child to the new Core::File
...
As it was using the `lines()` method of `Core::DeprecatedFile`, this
patch also introduce the usage of `BufferedFile` to take advantage of
its API: `can_read_line()` and `read_line()`.
2023-02-16 10:56:01 +00:00
Karol Kosek
83da3c5c3e
PixelPaint: Add an option for making a Gradient with a secondary color
2023-02-16 10:50:58 +00:00
Karol Kosek
1ce2d7e674
PixelPaint: Put the main gradient color at the cursor
...
It doesn't seem right to me that we are 'holding' a transparent color,
with the main color being on the opposite side.
2023-02-16 10:50:58 +00:00
Karol Kosek
d27d19f012
PixelPaint: Set Tool on_*_color_change logic using virtual functions
...
Previously, we were rewriting the on_primary_color_change in the Text
Tool and Gradient, which made the palette widget no longer update after
picking a color from an image. Additionally, it also crashed the program
after leaving the Gradient tool and trying to change color.
2023-02-16 10:50:58 +00:00
Cameron Youell
cb96c892cc
LibGUI: Add highlighting to UrlBox
2023-02-16 10:47:22 +00:00
Cameron Youell
dad70d8d6e
LibGUI: Account for glyph_spacing()
in spans
2023-02-16 10:47:22 +00:00
Timothy Flynn
32a01a60e7
LibUnicode: Remove non-iterative text segmentation algorithms
...
They are now unused.
2023-02-16 11:18:53 +01:00
Timothy Flynn
6ce7ec2eb3
LibUnicode: Use iterative text segmentation algorithms for titlecasing
2023-02-16 11:18:53 +01:00
Timothy Flynn
7cb956d17b
LibJS: Use iterative text segmentation algorithms for Intl.Segmenter
...
This uses the find-next and find-previous APIs instead of storing all
indices as a vector.
2023-02-16 11:18:53 +01:00
Ben Wiederhake
9a7b3c145f
Everywhere: Change all XXX into FIXME or remove as appropriate
2023-02-15 23:33:25 +01:00
Timon Kruiper
00c21c5424
LibELF: Implement _invoke_entry for aarch64
2023-02-15 22:53:19 +01:00
Timon Kruiper
ed3be5b7f5
LibELF+LibC: Add support for aarch64 relocations
...
This commit adds the used relocation types to elf.h, and handles the
types in DynamicLoader and DynamicObject. No new functionalitty has to
be added, as the same code can be reused between aarch64 and x86_64.
2023-02-15 22:53:19 +01:00
Timon Kruiper
cfd73e5d9f
Kernel/aarch64: Implement Thread Local Storage
...
This commit adds Processor::set_thread_specific_data, and this function
is used to factor out architecture specific implementation of setting
the thread specific data. This function is implemented for
aarch64 and x86_64, and the callsites are changed to use this function
instead.
2023-02-15 22:53:19 +01:00
Timon Kruiper
7d0917f50b
Kernel/aarch64: Remove tpidr_el0 from RegisterState
...
In the next commit, this register will be populated by directly writing
to it, instead of using the RegisterState mechanism.
2023-02-15 22:53:19 +01:00
Timon Kruiper
cff6af9f75
LibC: Add general implementation for memcpy and memset
2023-02-15 22:53:19 +01:00
Timon Kruiper
a98c0c3e51
Kernel/aarch64: Add implementations for safe_memset and safe_strnlen
...
They currently do not actually implement a safe memset or safe strnlen,
but this initial implementation works fine for now.
2023-02-15 22:53:19 +01:00
Timon Kruiper
d1eec20773
Kernel/aarch64: Implement storing and restoring floating-point registers
2023-02-15 22:53:19 +01:00
Timon Kruiper
e57d35ff53
Kernel/aarch64: Do not trap floating-point instructions
...
This requires setting the FPEN field of the Architectural Feature Access
Control Register (CPACR_EL1) to 0b11.
2023-02-15 22:53:19 +01:00
Timon Kruiper
dfc6555fec
CMake: Add -mstrict-align flag to compile options for aarch64 build
...
The aarch64 processor is set up to trap on unaligned memory accesses, so
to enforce that the compiler correctly generates aligned accesses, the
-mstrict-align flag is needed. We also need the -Wno-cast-align as there
are some files in AK that don't build without the flag.
2023-02-15 22:53:19 +01:00
Timon Kruiper
d5262a540c
Kernel/aarch64: Handle SVC exception by calling syscall_handler
...
The SVC (supervisor call) instruction is used in userland to do
syscalls, and this commit adds the handling of syscalls to
Interrupts.cpp.
2023-02-15 22:53:19 +01:00
Timon Kruiper
4b0f8e9a20
LibELF+LibC: Add support for relative relocations in aarch64 binaries
...
This commit adds R_AARCH64_RELATIVE to elf.h and uses it in
ELF::perform_relative_relocations to correctly verify the relocation
type. This is the only change needed to support relative relocations for
aarch64.
2023-02-15 22:53:19 +01:00
Timon Kruiper
b2e223d2bc
DynamicLoader: Disable stack protector in some files for aarch64 build
...
The code would access the __stack_chk_guard variable in main.cpp and
LibELF/Relocation.cpp before the loader was able to relocate itself, so
this commit disable the stack protector for the aarch64 build to make
sure that no accesses to __stack_chk_guard are inserted.
2023-02-15 22:53:19 +01:00
Nico Weber
ecc321e099
LibGfx: Move QOIWriter implementation-only things into cpp file
...
No behavior change.
2023-02-15 20:32:08 +01:00
Sam Atkins
85f3de6331
LibWeb: Port CSS/Serialize.{h,cpp} to new Strings, and propagate errors
2023-02-15 12:48:26 -05:00
Sam Atkins
a0b1eddc56
LibWeb: Port CSS::MediaQuery to new Strings
2023-02-15 12:48:26 -05:00
Sam Atkins
a381ce9519
LibWeb: Port CSS::Supports to new Strings
2023-02-15 12:48:26 -05:00
Sam Atkins
fc3540c4b1
LibWeb: Port CSS::UnicodeRange to new Strings
2023-02-15 12:48:26 -05:00
Sam Atkins
316092d185
LibWeb: Use StringView in CSS::PreferredColorScheme
...
This doesn't need to hold the string data.
2023-02-15 12:48:26 -05:00
Sam Atkins
dca19b764b
LibWeb: Port CSS::Display to new Strings
2023-02-15 12:48:26 -05:00
Sam Atkins
41c4cc95e4
LibWeb: Port CSS::Parser::Rule to new Strings
...
`Rule::to_deprecated_string()` and
`DeclarationOrAtRule::to_deprecated_string()` are not used anywhere, so
we can just delete them.
2023-02-15 12:48:26 -05:00
Sam Atkins
bee32b6cd2
LibWeb: Port CSS::Parser::Declaration to new Strings
2023-02-15 12:48:26 -05:00
Sam Atkins
a168cda4a7
LibWeb: Port CSS::Parser::ComponentValue to new Strings
2023-02-15 12:48:26 -05:00
Sam Atkins
05c1b09621
LibWeb: Port CSS::Parser::Function to new Strings
2023-02-15 12:48:26 -05:00
Sam Atkins
86d23c63a4
LibWeb: Port CSS::Parser::Block to new Strings
2023-02-15 12:48:26 -05:00
Sam Atkins
e338ef4914
LibWeb: Port ComputedValues to new Strings
2023-02-15 12:48:26 -05:00
Sam Atkins
9e735cc02e
LibWeb: Remove unused includes for DeprecatedString
...
Missed these before, oops.
2023-02-15 12:48:26 -05:00
Sam Atkins
3685a8813a
LibWeb: Port CSS Tokenizer to new Strings
...
Specifically, this uses FlyString, because the data gets held long-term
as a FlyString anyway.
2023-02-15 12:48:26 -05:00