Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-16 | 3DFileViewer: Don't unveil "/home/anon/Documents/3D Models" | Lucas CHOLLET | |
Usage of models is now done by `LibFileSystemAccessClient`. | |||
2023-02-16 | 3DFileViewer: Set the window title name in `load_file()` | Lucas CHOLLET | |
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 | 3DFileViewer: Don't try to open textures without `LibFSASC` | Lucas CHOLLET | |
2023-02-16 | 3DFileViewer: Port to `Core::File` | Lucas CHOLLET | |
2023-02-16 | LibGfx: Add a stream compatible overload of `Bitmap::load_from_file()` | Lucas CHOLLET | |
2023-02-16 | LibCore: Add `MappedFile::map_from_file()` | Lucas CHOLLET | |
This method relies on `map_from_fd_and_close()` but takes a `File` instead of a fd. | |||
2023-02-16 | LibCore: Allow `MappedFile` to make `File` leak its fd | Lucas CHOLLET | |
2023-02-16 | LibCore: Forward declare `MappedFile` | Lucas CHOLLET | |
2023-02-16 | 3DFileViewer: Remove unnecessary tests when loading files | Lucas CHOLLET | |
These tests are already performed by `LibFileSystemAccessClient`. | |||
2023-02-16 | 3DFileViewer: Use `LibFSAC` in `GLContextWidget::load_path()` | Lucas CHOLLET | |
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 | 3DFileViewer: Port `MeshLoader` and its child to the new `Core::File` | Lucas CHOLLET | |
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 | PixelPaint: Add an option for making a Gradient with a secondary color | Karol Kosek | |
2023-02-16 | PixelPaint: Put the main gradient color at the cursor | Karol Kosek | |
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 | PixelPaint: Set Tool on_*_color_change logic using virtual functions | Karol Kosek | |
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 | LibGUI: Add highlighting to `UrlBox` | Cameron Youell | |
2023-02-16 | LibGUI: Account for `glyph_spacing()` in spans | Cameron Youell | |
2023-02-16 | LibUnicode: Remove non-iterative text segmentation algorithms | Timothy Flynn | |
They are now unused. | |||
2023-02-16 | LibUnicode: Use iterative text segmentation algorithms for titlecasing | Timothy Flynn | |
2023-02-16 | LibJS: Use iterative text segmentation algorithms for Intl.Segmenter | Timothy Flynn | |
This uses the find-next and find-previous APIs instead of storing all indices as a vector. | |||
2023-02-15 | Everywhere: Change all XXX into FIXME or remove as appropriate | Ben Wiederhake | |
2023-02-15 | LibELF: Implement _invoke_entry for aarch64 | Timon Kruiper | |
2023-02-15 | LibELF+LibC: Add support for aarch64 relocations | Timon Kruiper | |
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 | Kernel/aarch64: Implement Thread Local Storage | Timon Kruiper | |
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 | Kernel/aarch64: Remove tpidr_el0 from RegisterState | Timon Kruiper | |
In the next commit, this register will be populated by directly writing to it, instead of using the RegisterState mechanism. | |||
2023-02-15 | LibC: Add general implementation for memcpy and memset | Timon Kruiper | |
2023-02-15 | Kernel/aarch64: Add implementations for safe_memset and safe_strnlen | Timon Kruiper | |
They currently do not actually implement a safe memset or safe strnlen, but this initial implementation works fine for now. | |||
2023-02-15 | Kernel/aarch64: Implement storing and restoring floating-point registers | Timon Kruiper | |
2023-02-15 | Kernel/aarch64: Do not trap floating-point instructions | Timon Kruiper | |
This requires setting the FPEN field of the Architectural Feature Access Control Register (CPACR_EL1) to 0b11. | |||
2023-02-15 | CMake: Add -mstrict-align flag to compile options for aarch64 build | Timon Kruiper | |
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 | Kernel/aarch64: Handle SVC exception by calling syscall_handler | Timon Kruiper | |
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 | LibELF+LibC: Add support for relative relocations in aarch64 binaries | Timon Kruiper | |
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 | DynamicLoader: Disable stack protector in some files for aarch64 build | Timon Kruiper | |
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 | LibGfx: Move QOIWriter implementation-only things into cpp file | Nico Weber | |
No behavior change. | |||
2023-02-15 | LibWeb: Port CSS/Serialize.{h,cpp} to new Strings, and propagate errors | Sam Atkins | |
2023-02-15 | LibWeb: Port CSS::MediaQuery to new Strings | Sam Atkins | |
2023-02-15 | LibWeb: Port CSS::Supports to new Strings | Sam Atkins | |
2023-02-15 | LibWeb: Port CSS::UnicodeRange to new Strings | Sam Atkins | |
2023-02-15 | LibWeb: Use StringView in CSS::PreferredColorScheme | Sam Atkins | |
This doesn't need to hold the string data. | |||
2023-02-15 | LibWeb: Port CSS::Display to new Strings | Sam Atkins | |
2023-02-15 | LibWeb: Port CSS::Parser::Rule to new Strings | Sam Atkins | |
`Rule::to_deprecated_string()` and `DeclarationOrAtRule::to_deprecated_string()` are not used anywhere, so we can just delete them. | |||
2023-02-15 | LibWeb: Port CSS::Parser::Declaration to new Strings | Sam Atkins | |
2023-02-15 | LibWeb: Port CSS::Parser::ComponentValue to new Strings | Sam Atkins | |
2023-02-15 | LibWeb: Port CSS::Parser::Function to new Strings | Sam Atkins | |
2023-02-15 | LibWeb: Port CSS::Parser::Block to new Strings | Sam Atkins | |
2023-02-15 | LibWeb: Port ComputedValues to new Strings | Sam Atkins | |
2023-02-15 | LibWeb: Remove unused includes for DeprecatedString | Sam Atkins | |
Missed these before, oops. | |||
2023-02-15 | LibWeb: Port CSS Tokenizer to new Strings | Sam Atkins | |
Specifically, this uses FlyString, because the data gets held long-term as a FlyString anyway. | |||
2023-02-15 | LibWeb: Implement ASCII case-insensitive matching | Sam Atkins | |
While DeprecatedString and StringView use ASCII case-insensitivity when matching, String uses the Unicode rules, so in order to match the spec, we need to *not* use `String::equals_ignoring_case()`. This function needs to be used everywhere that the spec refers to an "ASCII case-insensitive match". | |||
2023-02-15 | AK: Add StringBuilder::to_fly_string() | Sam Atkins | |
2023-02-15 | AK: Let FlyStrings be assigned from Strings | Sam Atkins | |