Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-06 | Userland: Use Core::ArgsParser for 'purge' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'realpath' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'rmdir' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'su' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'tr' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'tt' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'uname' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'which' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'yes' | Linus Groh | |
2020-08-06 | LibLine+Shell: Remove unused split_mechanism | Nico Weber | |
It was only read in should_break_token(), which had no callers. should_break_token() also got `foo\\ bar` and `"foo bar"` wrong. | |||
2020-08-06 | LibLine: Add binding for Alt-. | Nico Weber | |
2020-08-06 | Base: Update Hungarian keymap with accented characters and more symbols | Tibor Nagy | |
Also fixing a bug where the numpad keys were accidentally shifted by one position in the JSON array. | |||
2020-08-06 | LibWeb: Move text selection serialization from PageView to Frame | Andreas Kling | |
This logic doesn't depend on anything at the widget layer, so it can move down to the frame layer. | |||
2020-08-06 | LibLine: Add bindings for Alt-u, Alt-l, Alt-c | Nico Weber | |
2020-08-06 | LibLine: Add comments for which keys trigger VWERASE and VKILL | Nico Weber | |
2020-08-06 | LibLine: Add Alt-d binding to forward-delete a word | Nico Weber | |
2020-08-06 | Keymaps: Add European Portuguese keymap | Edgar Araújo | |
2020-08-06 | LibThread: Remove redundant r/w of atomic variable in Lock::lock() (#3013) | Muhammad Zahalqa | |
m_holder.compare_exchange_strong(expected, desired, ...) will either successfully update the value to desired if == expected or put the current value in expected otherwise. | |||
2020-08-06 | Shell: Start adding some alt shortcuts | Nico Weber | |
This adds Alt-f to go forward by a word, and Alt-b to go backward by a word (like ctrl-arrow-left / ctrl-arrow-right already do). Behind the scenes, alt-key is implemented by sending <esc> followed by that key, and typing <esc> f/b for moving by a word hence works too (in all other shells too, not just in Serenity's). While here, rename some InputState enum values to make the slightly expanded use of <esc> clearer, and expand a few comments. | |||
2020-08-06 | ProcFS: Expose the current kernel keymap as /proc/keymap | Valtteri Koskivuori | |
Programs can now ask the kernel which keymap is in use by reading from /proc/keymap | |||
2020-08-06 | Kernel+LibKeyboard: Store the keymap name when setting system keymap | Valtteri Koskivuori | |
This way we can query the kernel to see which keymap is currently in use. | |||
2020-08-06 | Shell: Make "fg" set the TTY PGID before SIGCONT'ing the job | Andreas Kling | |
Otherwise the child will get SIGTTIN/SIGTTOU on next TTY I/O. | |||
2020-08-06 | Shell: Print job status after suspending a command | Andreas Kling | |
2020-08-06 | Shell: Move printing job status into a Job::print_status() helper | Andreas Kling | |
This is only used by the "jobs" builtin right now, but more soon. | |||
2020-08-06 | Shell: Remove unnecessary ignore() in Shell::custom_event() | Andreas Kling | |
Ignoring an event means that it will bubble to the parent Core::Object. This is not necessary here. | |||
2020-08-06 | Shell: Store jobs as NonnullRefPtr<Job> | Andreas Kling | |
2020-08-06 | Shell: Make Job constructors private and use a create() helper | Andreas Kling | |
Also store PGIDs as pid_t since that's what they are. | |||
2020-08-06 | Shell: Make run_command() return a NonnullRefPtrVector<Job> | Andreas Kling | |
This never returns null Job pointers. | |||
2020-08-06 | AK+Kernel+LibC: Add vdbgprintf() | Andreas Kling | |
This is like dbgprintf() except it takes a va_list instead of ... | |||
2020-08-06 | UserspaceEmulator: Fix bad rc check in ttyname and getcwd syscalls | Andreas Kling | |
Errors here are (rc < 0), not (rc < 1). | |||
2020-08-06 | AK: Remove Stream::operator bool() | Andreas Kling | |
This was only used in one place, and that caused a bug, so I'm removing this for now since there are no more uses. | |||
2020-08-06 | LibDebug: Unbreak LineProgram::parse_source_directories() | Andreas Kling | |
This regressed with ac9f6fd1f8e235039fa3416f6ed68d07cbbf896c where we switched to using InputMemoryStream. | |||
2020-08-06 | LibDebug: Fix bitrotted DWARF_DEBUG code | Andreas Kling | |
2020-08-06 | Kernel: Store TTY's foreground process as a WeakPtr<Process> | Andreas Kling | |
This ensures that we don't leave a stale PGID assigned to the TTY after the process exits, which would make PID recycling attacks possible. | |||
2020-08-06 | Shell: Mark suspended children as such when receiving a SIGCHLD | AnotherTest | |
2020-08-06 | Kernel: Send a SIGCHLD to the parent upon suspension of a process | AnotherTest | |
...that is controlling a TTY. | |||
2020-08-06 | Refactor: Expose const_cast by removing ByteBuffer::warp(const void*, size_t) | asynts | |
This function did a const_cast internally which made the call side look "safe". This method is removed completely and call sites are replaced with ByteBuffer::wrap(const_cast<void*>(data), size) which makes the behaviour obvious. | |||
2020-08-06 | LibDebug: Use InputMemoryStream instead of BufferStream. | asynts | |
This removes another call to ByteBuffer::wrap(const void*, size_t). | |||
2020-08-06 | AK: Add InputStream abstraction and InputMemoryStream implementation. | asynts | |
2020-08-06 | AK: Add String constructor from ReadonlyBytes. | asynts | |
2020-08-06 | AK: Rename Tests/Span.cpp to Tests/TestSpan.cpp. | asynts | |
2020-08-06 | AK: Add Integral and FloatingPoint concepts. | asynts | |
2020-08-06 | AK: Rename MakeUnsigned::type to MakeUnsigned::Type. | asynts | |
Also renames MakeSigned::type to MakeSigned::Type. | |||
2020-08-06 | Kernel: Partial usage of Userspace<T> for the poll syscall | Brian Gianforcaro | |
This change mostly converts poll to Userspace<T> with the caveat of the fds member of SC_poll_params. It's current usage is a bit too gnarly for me to take on right now, this appears to need a lot more love. In addition to enlightening the syscall to use Userspace<T>, I've also re-worked most of the handling to use validate_read_and_copy instead of just directly de-referencing the user pointer. We also appeared to be missing a re-evaluation of the fds array after the thread block is awoken. | |||
2020-08-06 | Documentation: Add a guide for setting up Qt Creator | Valtteri Koskivuori | |
This was already in video form, but I figured it might be nice to have this here as well, to make it easier to discover. | |||
2020-08-06 | Kernel: Dequeue dying threads from WaitQueue | Tom | |
If a thread is waiting but getting killed, we need to dequeue the thread from the WaitQueue so that a potential wake before finalization doesn't happen. | |||
2020-08-06 | AK: Make min/max behave like the STL for equivalent inputs (#2976) | Muhammad Zahalqa | |
min(a, b) now returns a if both are equivalent. max(a, b) now returns a if both are equivalent. | |||
2020-08-06 | Meta: Update CLion configuration to include LibM and generated files | Luke | |
Also bumps the CXX Standard to C++20. | |||
2020-08-06 | AK: Fix broken symlink used by JSON test | Andreas Kling | |
2020-08-05 | UserspaceEmulator: Support ioctl(TCGETS) and ioctl(TCSETS) | Andreas Kling | |