Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-07 | Kernel: Use Userspace<T> for the chown syscall | Brian Gianforcaro | |
2020-08-07 | Kernel: Use Userspace<T> for the mount syscall | Brian Gianforcaro | |
2020-08-07 | AK: Remove unnecessary clang-format off comments. | asynts | |
2020-08-07 | UserspaceEmulator: Result is initialized after OR with all-1 immediate | Andreas Kling | |
When compiling with "-Os", GCC produces the following pattern for atomic decrement (which is used by our RefCounted template): or eax, -1 lock xadd [destination], eax Since or-ing with -1 will always produce the same output (-1), we can mark the result of these operations as initialized. This stops us from complaining about false positives when running the shell in UE. :^) | |||
2020-08-07 | Shell: Make Command::redirections a NonnullRefPtrVector | Andreas Kling | |
2020-08-07 | Shell: Make VariableDeclarations::Variable store NonnullRefPtrs | Andreas Kling | |
2020-08-07 | Shell: Make resolve_without_cast() return NonnullRefPtr<Value> | Andreas Kling | |
2020-08-07 | Shell: Store ListValue's values in a NonnullRefPtrVector<Value> | Andreas Kling | |
A ListValue never stores null Values, so it makes sense to restrict it. This also propagates use of NonnullRefPtr to the create() helpers. There's a small bit of awkwardness around the use of initializer_list, since we cannot directly construct a NonnullRefPtrVector from one. | |||
2020-08-07 | Shell: Add some obvious move() calls in AST constructors | Andreas Kling | |
2020-08-07 | LibWeb: Remove unused LayoutPosition comparison operators | Andreas Kling | |
2020-08-07 | KeyboardSettings: Preselect the current keymap in the dropdown menu. | Valtteri Koskivuori | |
This is the little omission that I originally set out to fix, and sure enough, I got to delve into Kernel land and back to implement it. Lots of fun! | |||
2020-08-07 | AudioServer: Lock the process veil after startup | Brian Gianforcaro | |
We can't do any file syscalls anyway because of the reduction of pledges, so we might as well lock the veil anyway. | |||
2020-08-07 | LibLine: Add Ctrl-k shortcut | Nico Weber | |
Only does the 'delete to end of line' bit for now. No yank ring support yet. | |||
2020-08-07 | Documentation: Add a mention of the recent requirement for a newer | Valtteri Koskivuori | |
host compiler. On macOS this might have to be specified explicitly. | |||
2020-08-07 | LibLine: Add Alt-t shortcut for transposing words | Nico Weber | |
2020-08-06 | LibLine: Add binding for Alt-backspace | Nico Weber | |
It backward-deletes a word like Ctrl-W, but it has a slightly different definition of what a word is. For example, with the caret behind `gcc -fsanitize=address`, Ctrl-W would delete '-fsanitize=address' but Alt-backspace would only delete 'address'. | |||
2020-08-06 | LibLine: Fix "word" handling for alt-d/u/l/c/f/b and ctrl-left/right | Nico Weber | |
All these shortcuts treat consecutive alnums as a word, not consecutive non-spaces. For example, `alias KILL='kill -9'` can now be written by typing it out lowercase, then hitting ctrl-a alt-f alt-u. Ctrl-W still treats a word as a sequence of non-spaces. Alt-backspace in a future patch will add the ability to backward-delete a word that's a sequence of alnums. | |||
2020-08-06 | Userland: Use Core::ArgsParser for 'aplay' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'avol' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'basename' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'chgrp' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'disasm' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'hostname' | Linus Groh | |
2020-08-06 | Userland: Handle invalid JSON in 'jp' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'jp' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'md' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'modload' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'modunload' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'ping' | Linus Groh | |
2020-08-06 | Userland: Use Core::ArgsParser for 'pro' | Linus Groh | |
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 |