Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-05 | UserspaceEmulator: Add the access syscall | Andreas Kling | |
2020-08-05 | UserspaceEmulator: Add the getcwd syscall | Andreas Kling | |
2020-08-05 | UserspaceEmulator: Add the ttyname syscall | Andreas Kling | |
2020-08-05 | UserspaceEmulator: Support ioctl(TIOCSPGRP) | Andreas Kling | |
2020-08-05 | UserspaceEmulator: Add the getpgrp syscall | Andreas Kling | |
2020-08-05 | UserspaceEmulator: Add support for UNIX signals :^) | Andreas Kling | |
The emulator will now register signal handlers for all possible signals and act as a translation layer between the kernel and the emulated process. To get an accurate simulation of signal handling, we duplicate the same trampoline mechanism used by the kernel's signal delivery system, and also use the "sigreturn" syscall to return from a signal handler. Signal masking is not fully implemented yet, but this is pretty cool! | |||
2020-08-05 | Unicode: Try s/codepoint/code_point/g again | Nico Weber | |
This time, without trailing 's'. Ran: git grep -l 'codepoint' | xargs sed -ie 's/codepoint/code_point/g | |||
2020-08-05 | Revert "Unicode: s/codepoint/code_point/g" | Nico Weber | |
This reverts commit ea9ac3155d1774f13ac4e9a96605c0e85a8f299e. It replaced "codepoint" with "code_points", not "code_point". | |||
2020-08-05 | Meta: Add Brian Gianforcaro to the contributors list :^) | Andreas Kling | |
2020-08-05 | Browser: Move bookmarks.json to ~/.config | Andreas Kling | |
2020-08-05 | Base: Add ~/Documents and put miscellaneous files there | Andreas Kling | |
2020-08-05 | Base: Move "js" and "little" HackStudio projects into ~/Source/ | Andreas Kling | |
2020-08-05 | LibCore+Base: Move user-specific config files to $HOME/.config | Andreas Kling | |
2020-08-05 | Shell: Do not assume that stdin/stdout is a TTY | AnotherTest | |
This closes #2989. | |||
2020-08-05 | LibLine: Check if operating on a TTY before using TTY features | AnotherTest | |
This makes the line editor behave well when input is passed in from pipes as well. | |||
2020-08-05 | AK: Decorate AK::Result<V, E> with [[nodiscard]] | Brian Gianforcaro | |
2020-08-05 | Build: Clang should get -Werror too | Nico Weber | |
I accidentally removed it in a619943001b8 and #3002 only restored it for gcc. | |||
2020-08-05 | AK: Decorate AK::TriState with [[nodiscard]] | Brian Gianforcaro | |
TriState is another type of return code, it's value should always be observed. | |||
2020-08-05 | AK: Decorate atomic compare exchange operations with [[nodiscard]] | Brian Gianforcaro | |
All CAS operations should always check return values, so they are robust to failure in the event of conflict in parallel operation. | |||
2020-08-05 | LibGUI: Use set_cursor() in TextEditor::set_document() | Linus Groh | |
Instead of setting m_cursor directly to reset the cursor position, TextEditor::set_document() now uses set_cursor() which will call cursor change callback functions, if any. This fixes a bug in HackStudio where the cursor information text would not update immediately after changing the active TextDocument, even though the cursor is always visibly being reset to 0, 0. | |||
2020-08-05 | LibWeb: Specialize hit testing for text cursor purposes | Andreas Kling | |
The text cursor follows slightly different "intuitive" rules than the regular hit testing. Clicking past the right edge of a text box should still "hit" the text box, and place the cursor at its end, for example. We solve this by adding a HitTestType enum that is passed to hit_test() and determines whether past-the-edge candidates are considered. | |||
2020-08-05 | Base: Open .hackstudio files in HackStudio | Linus Groh | |
2020-08-05 | HackStudio: Open project or file from argv[1] if given | Linus Groh | |
When HackStudio is invoked with one or more arguments it will attempt to treat the first argument as a project or source file and open it accordingly. | |||
2020-08-05 | HackStudio: Rename project file format from .files to .hackstudio | Linus Groh | |
2020-08-05 | AK: Decorate AK::NonnullOwnPtr::leak_ptr() with [[nodiscard]] | Brian Gianforcaro | |
2020-08-05 | AK: Decorate AK::OwnPtr::leak_ptr() with [[nodiscard]] | Brian Gianforcaro | |
We should always leak to an observed variable, otherwise it's an actual leak. This is similar to AK::RefPtr::leak_ref() which is also marked as [[nodiscard]]. | |||
2020-08-05 | LibGfx: Make draw_scaled_bitmap() apply relative opacity | Andreas Kling | |
Instead of overriding the alpha value of all source pixels, apply the override opacity by multiplying with the source alpha. Fixes #3004. | |||
2020-08-05 | Kernel: Decorate KResult with [[nodiscard]] | Brian Gianforcaro | |
2020-08-05 | Kernel: Suppress remaining unobserved KResult return codes | Brian Gianforcaro | |
These are all cases where there is no clear and easy fix, I've left FIXME bread crumbs so that these can hopefully be fixed over time. | |||
2020-08-05 | Kernel: Propagate a few KResults properly in FileSystem subsystems | Brian Gianforcaro | |
Propagating un-obsevered KResults up the stack. | |||
2020-08-05 | Kernel: Fix build break from missing KResult [[nodiscard]] suppressions | Brian Gianforcaro | |
Missed this somehow in previous change. | |||
2020-08-05 | Kernel: Use Userspace<T> for the futex syscall | Brian Gianforcaro | |
Utilizie Userspace<T> for the syscall argument itself, as well as internally in the SC_futex_params struct. We were double validating the SC_futex_params.timeout validation, that was removed as well. | |||
2020-08-05 | AK: Decorate Optional<T> with [[nodisard]] | Brian Gianforcaro | |
2020-08-05 | LibTLS + LibCrypto: Suppress unobserved Optoinal<T> return values. | Brian Gianforcaro | |
2020-08-05 | AK: Fix StringUtils tests to actually observe return value. | Brian Gianforcaro | |
Noticed this while playing around with making Optional<T> nodiscard. | |||
2020-08-05 | AK: Use AK relative include style for InlineLinkedList.h | Brian Gianforcaro | |
This is the style that seems to be used in the rest of AK. | |||
2020-08-05 | Build: Re-enable -Werror when building with GCC | Brian Gianforcaro | |
It looks like PR #2986 mistakenly removed this from both the Clang and GCC CXX_FLAGS, when the intention seems to have been to only disable it for Clang. | |||
2020-08-05 | Documentation: Add an installation guide for VirtualBox | Luke | |
Now that Serenity can run on VirtualBox, it's time for the documentation. | |||
2020-08-05 | Kernel: Decorate KResultOr with [[nodiscard]] to catch misbehaving callers | Brian Gianforcaro | |
The [[nodiscard]] decorator enables us to have the compile emit a warning anytime the decorated type or function's return value isn't observed. It's very useful for catching error checking bugs in systems which use C style error handling. | |||
2020-08-05 | Kernel: Make Inode::directory_entry_count errors observable. | Brian Gianforcaro | |
Certain implementations of Inode::directory_entry_count were calling functions which returned errors, but had no way of surfacing them. Switch the return type to KResultOr<size_t> and start observing these error paths. | |||
2020-08-05 | Kernel + LibPthread: Use Userspace<T> in the create_thread syscall | Brian Gianforcaro | |
2020-08-05 | Kernel: Use Userspace<T> for the rename syscall | Brian Gianforcaro | |
2020-08-05 | Kernel: Use Userspace<T> for the mknod syscall | Brian Gianforcaro | |
2020-08-05 | Kernel: Use Userspace<T> for the set_mmap_name syscall | Brian Gianforcaro | |
2020-08-05 | Kernel: Use Userspace<T> for the readlink syscall | Brian Gianforcaro | |
2020-08-05 | Kernel: Use Userspace<T> for the mmap syscall | Brian Gianforcaro | |
2020-08-05 | Kernel: Use Userspace<T> for the waitid syscall | Brian Gianforcaro | |
2020-08-05 | Kernel: Use Userspace<T> for the clock_nanosleep syscall | Brian Gianforcaro | |
2020-08-05 | Kernel: Use Userspace<T> for the gettimeofday syscall | Brian Gianforcaro | |
2020-08-05 | Kernel: Use Userspace<T> for the open syscall | Brian Gianforcaro | |