summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-06Userland: Use Core::ArgsParser for 'purge'Linus Groh
2020-08-06Userland: Use Core::ArgsParser for 'realpath'Linus Groh
2020-08-06Userland: Use Core::ArgsParser for 'rmdir'Linus Groh
2020-08-06Userland: Use Core::ArgsParser for 'su'Linus Groh
2020-08-06Userland: Use Core::ArgsParser for 'tr'Linus Groh
2020-08-06Userland: Use Core::ArgsParser for 'tt'Linus Groh
2020-08-06Userland: Use Core::ArgsParser for 'uname'Linus Groh
2020-08-06Userland: Use Core::ArgsParser for 'which'Linus Groh
2020-08-06Userland: Use Core::ArgsParser for 'yes'Linus Groh
2020-08-06LibLine+Shell: Remove unused split_mechanismNico 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-06LibLine: Add binding for Alt-.Nico Weber
2020-08-06Base: Update Hungarian keymap with accented characters and more symbolsTibor Nagy
Also fixing a bug where the numpad keys were accidentally shifted by one position in the JSON array.
2020-08-06LibWeb: Move text selection serialization from PageView to FrameAndreas Kling
This logic doesn't depend on anything at the widget layer, so it can move down to the frame layer.
2020-08-06LibLine: Add bindings for Alt-u, Alt-l, Alt-cNico Weber
2020-08-06LibLine: Add comments for which keys trigger VWERASE and VKILLNico Weber
2020-08-06LibLine: Add Alt-d binding to forward-delete a wordNico Weber
2020-08-06Keymaps: Add European Portuguese keymapEdgar Araújo
2020-08-06LibThread: 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-06Shell: Start adding some alt shortcutsNico 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-06ProcFS: Expose the current kernel keymap as /proc/keymapValtteri Koskivuori
Programs can now ask the kernel which keymap is in use by reading from /proc/keymap
2020-08-06Kernel+LibKeyboard: Store the keymap name when setting system keymapValtteri Koskivuori
This way we can query the kernel to see which keymap is currently in use.
2020-08-06Shell: Make "fg" set the TTY PGID before SIGCONT'ing the jobAndreas Kling
Otherwise the child will get SIGTTIN/SIGTTOU on next TTY I/O.
2020-08-06Shell: Print job status after suspending a commandAndreas Kling
2020-08-06Shell: Move printing job status into a Job::print_status() helperAndreas Kling
This is only used by the "jobs" builtin right now, but more soon.
2020-08-06Shell: 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-06Shell: Store jobs as NonnullRefPtr<Job>Andreas Kling
2020-08-06Shell: Make Job constructors private and use a create() helperAndreas Kling
Also store PGIDs as pid_t since that's what they are.
2020-08-06Shell: Make run_command() return a NonnullRefPtrVector<Job>Andreas Kling
This never returns null Job pointers.
2020-08-06AK+Kernel+LibC: Add vdbgprintf()Andreas Kling
This is like dbgprintf() except it takes a va_list instead of ...
2020-08-06UserspaceEmulator: Fix bad rc check in ttyname and getcwd syscallsAndreas Kling
Errors here are (rc < 0), not (rc < 1).
2020-08-06AK: 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-06LibDebug: Unbreak LineProgram::parse_source_directories()Andreas Kling
This regressed with ac9f6fd1f8e235039fa3416f6ed68d07cbbf896c where we switched to using InputMemoryStream.
2020-08-06LibDebug: Fix bitrotted DWARF_DEBUG codeAndreas Kling
2020-08-06Kernel: 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-06Shell: Mark suspended children as such when receiving a SIGCHLDAnotherTest
2020-08-06Kernel: Send a SIGCHLD to the parent upon suspension of a processAnotherTest
...that is controlling a TTY.
2020-08-06Refactor: 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-06LibDebug: Use InputMemoryStream instead of BufferStream.asynts
This removes another call to ByteBuffer::wrap(const void*, size_t).
2020-08-06AK: Add InputStream abstraction and InputMemoryStream implementation.asynts
2020-08-06AK: Add String constructor from ReadonlyBytes.asynts
2020-08-06AK: Rename Tests/Span.cpp to Tests/TestSpan.cpp.asynts
2020-08-06AK: Add Integral and FloatingPoint concepts.asynts
2020-08-06AK: Rename MakeUnsigned::type to MakeUnsigned::Type.asynts
Also renames MakeSigned::type to MakeSigned::Type.
2020-08-06Kernel: Partial usage of Userspace<T> for the poll syscallBrian 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-06Documentation: Add a guide for setting up Qt CreatorValtteri 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-06Kernel: Dequeue dying threads from WaitQueueTom
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-06AK: 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-06Meta: Update CLion configuration to include LibM and generated filesLuke
Also bumps the CXX Standard to C++20.
2020-08-06AK: Fix broken symlink used by JSON testAndreas Kling
2020-08-05UserspaceEmulator: Support ioctl(TCGETS) and ioctl(TCSETS)Andreas Kling