summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-27LibC: Add SSIZE_MAX limitLuke
2020-09-27LibC: Include cdefs.h in getopt.hLuke
Required for __BEGIN_DECLS
2020-09-27LibC: Add EPFNOSUPPORT error numberLuke
Not used anywhere in Serenity currently, but required for OpenSSH.
2020-09-27Kernel: Return ENOPROTOOPT instead of asserting on unimplemented levels in ↵Luke
getsockopt
2020-09-27LibC: Add paths.h with some default mail directory for nowLuke
2020-09-26Shell: Fix use-after-move in alias resolutionAnotherTest
This unbreaks aliases!
2020-09-26Shell: Add live formatting and take an option to enable itAnotherTest
This patchset makes it possible for the shell to format the current buffer of the line editor live, with somewhat accurate cursor tracking. Since this feature is pretty goofy at best, let's keep it off by default for now :^)
2020-09-26Shell: Fix a FIXME in the a test about using functionsAnotherTest
2020-09-26Shell: Add a (very basic) formatterAnotherTest
2020-09-26Shell: Ignore '\\\n' in inputAnotherTest
This allows the user to break a line: ```sh $ echo \ foo ``` is the same as ```sh $ echo foo ```
2020-09-26Shell: Rename two 'fd' class members to have an 'm_' prefixAnotherTest
2020-09-26Shell: Use NonnullRefPtr to store non-null subnodesAnotherTest
Also replaces null-is-invalid nodes with syntax error nodes.
2020-09-26LibLine: Add a setter for the cursor positionAnotherTest
2020-09-26lsof: Separate file name componentsMaciej Zygmanowski
In /proc/PID/fds we get not only file name, but also additional information about file type, state etc. This commit makes `lsof' command separate these components. When you are filtering files by file name, only actual file name is checked (not additional data).
2020-09-26lsof: Allow selecting files by file nameMaciej Zygmanowski
2020-09-26LibJS: Remove two unused Interpreter member functionsAndreas Kling
2020-09-26Kernel: Allow killing queued threadsTom
We need to dequeue and wake threads that are waiting if the process terminates. Fixes #3603 without the HackStudio fixes in #3606.
2020-09-26LibGUI: Update color widgets when has_alpha is toggled in ColorPickerTibor Nagy
Fixing a bug where the alpha spinbox wasn't immediately disabled when color_has_alpha_channel was set to false.
2020-09-26AK+Format: Use the new format backend in the implementation.asynts
2020-09-26AK+Format: Add new integer to string backend.asynts
I put this into the <AK/PrintfImplementation.h> header in the hope that it could be re-used by the printf implementation. That would not be super trivial though, so I am not doing that now.
2020-09-26HackStudio: Detach from debugged process before terminatingItamar
Fixes #3308
2020-09-26LibDebug: Add ability to detach from debuggeeItamar
2020-09-26HackStudio: Fix FormEditor widget icons loadingItamar
Previously, when resolving the paths for the FormEditor widget icons we didn't take into the account that calling class_name() returns the widget name with a "GUI::" prefix. Also, we now skip over widgets that we don't have an icon for.
2020-09-26AK: Enhance GenericLexer's string consumptionBenoit Lormeau
The `consume_quoted_string()` can now take an escape character. This allows it (for example) to capture a string's enclosing quotes. The escape character is optional by default. You can also consume and unescape a quoted string with the eponymous method `consume_and_unescape_string()`. It takes an escape character as parameter (backslash by default). It builds a String in which common escape sequences get... unescaped :^) (e.g. \n, \r, \t...).
2020-09-26AK: Alphabetically sort the ctype adaptersBenoit Lormeau
2020-09-26AK: Added explanatory comments in GenericLexer.hBenoit Lormeau
2020-09-26Documentation: Debian gcc-9 installation instructionsRobbe De Greef
We already have installation instructions for ubuntu but not yet for Debian. Gcc-9 is not available on Debian stable so instructions for switching to and from Debian testing are added.
2020-09-26Documentation: Serenity requires GCC 9 or higherRobbe De Greef
Gcc 8.3.0 (which is the current version in debian 10 stable) seems to fail at building AK. New people might get stuck when they try to run make inside the ./Build folder and fail at building serenity.
2020-09-26Kernel: Fix thread joining issuesTom
The thread joining logic hadn't been updated to account for the subtle differences introduced by software context switching. This fixes several race conditions related to thread destruction and joining, as well as finalization which did not properly account for detached state and the fact that threads can be joined after termination as long as they're not detached. Fixes #3596
2020-09-26Spreadsheet: clang-formatAndreas Kling
2020-09-26AK: Borrow exact format syntax form std::format.asynts
Instead of just implementing format specifiers ad-hog this commit implements the exact syntax std::format uses. There are still a ton of features that are not supported by this implementation, however, the format specifiers should be parsed correctly. In some cases however, the format specifiers aren't quite parsed correctly, for example: String::formatted("{:{}}", 42, 4) should produce the string " 42" however an (unrelated) assertion fails. This is because vformat doesn't consider nested parentheses. I have to spend some time coming up with a simple way of doing this, I don't feel like doing that right now. The fundamental code for this already exists, by limiting the number of format arguments (arbitrarily) to 256 large widths are used to encode that these should be taken from other format parameters.
2020-09-26AK: Add GenericLexer::remaining.asynts
This is useful for debugging with printf :^).
2020-09-26LibGUI: Add alpha preview to ColorPickerTibor Nagy
2020-09-26Applications: Paint transparency grids through StylePainterTibor Nagy
2020-09-26LibGfx: Add painting transparency grids to StylePainterTibor Nagy
2020-09-25LibJS+LibGUI+js: Handle UnterminatedRegexLiteral in syntax highlightersLinus Groh
2020-09-25Spreadsheet: Add the 'Date' cell typeAnotherTest
Since `JS::Date::value_of()' returns the timestamp in ms, this new type assumes that the value given is also in ms.
2020-09-25Spreadsheet: Treat an empty format string as "default"AnotherTest
2020-09-25LibGUI: Do not clear the selection on right-clickAnotherTest
2020-09-25Spreadsheet: Save and load cell types and formatting optionsAnotherTest
2020-09-25Spreadsheet: Add conditional formattingAnotherTest
Currently only supports setting the foregound and the background colours. This patch also unifies `foreground_color' and `background_color' used throughout to a `Format' struct, in hopes of getting more formatting options one day :P
2020-09-25LibGUI: Register the 'ColorInput' and 'Frame' widgetsAnotherTest
2020-09-25Inspector: Move everything into the Inspector namespaceAndreas Kling
2020-09-25Travis: Automatically check for clang-format errorsBen Wiederhake
2020-09-25Meta: Provide script to automatically flag bad formattingBen Wiederhake
2020-09-25Meta+Userland: Make clang-format-10 cleanBen Wiederhake
2020-09-25Meta+Services: Make clang-format-10 cleanBen Wiederhake
2020-09-25Meta+MenuApplets: Make clang-format-10 cleanBen Wiederhake
2020-09-25Meta+LibHTTP through LibWeb: Make clang-format-10 cleanBen Wiederhake
2020-09-25Meta+LibC through LibHTTP: Make clang-format-10 cleanBen Wiederhake
Why break at LibHTTP? Because "Meta+Libraries" would be insanely large, and breaking between LibHTTP and LibJS makes the commits roughly evenly large.