Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-09 | LibWeb: Add all HTML elements between A and F | Luke | |
2020-08-09 | LibWeb: Make all existing HTML elements "final" | Luke | |
2020-08-09 | Lagom: Pass -Wno-deprecated-copy to clang too | Nico Weber | |
Due to Serenity's use of concepts, it now requires clang 10 or newer, and clang 10 or newer both understands and requires -Wno-deprecated-copy. | |||
2020-08-09 | disasm: For ELF files, disassemble .text section | Nico Weber | |
Since disasm is built in lagom, this requires adding LibELF to lagom. | |||
2020-08-09 | LibELF+Lagom: Use FlatPtr instead of u32 in DynamicLoader to get LibELF to ↵ | Nico Weber | |
build in Lagom | |||
2020-08-09 | LibELF+Lagom: Work towards getting LibELF in Lagom | Nico Weber | |
Mostly -Wformat fixes, some of which pointed out real (if benign) bugs. | |||
2020-08-09 | Games: Add a 2048 game | AnotherTest | |
2020-08-09 | LibCore: fix UDP Server receive to trim buffer to actuall bytes receiveed | Muhammad Zahalqa | |
2020-08-09 | LibCore: close socket on LocalServer dtor | Muhammad Zahalqa | |
2020-08-09 | LibCore: close socket on TCPServer dtor | Muhammad Zahalqa | |
2020-08-09 | LibCore: close socket on UDPServer dtor | Muhammad Zahalqa | |
2020-08-09 | Shell: Stop a for loop upon receiving two consecutive interruptions | AnotherTest | |
This does not work perfectly (just like every other shell...), if the running program handles the signal (SIGINT in this case) and quits cleanly, the shell cannot detect the interruption. This is the case with our `sleep(1)`. | |||
2020-08-09 | WindowServer+LibGfx: Move notification window frame painting to LibGfx | Andreas Kling | |
ClassicWindowTheme can now also paint notification window frames. | |||
2020-08-09 | WindowServer+LibGfx: Move normal window frame painting to a WindowTheme | Andreas Kling | |
This patch introduces the ClassicWindowTheme, which is our default theme implemented as a Gfx::WindowTheme subclass. In this initial cut, we move normal window frame painting and title bar metrics helpers out of WindowServer and into LibGfx. This will eventually allow us much greater flexibility with theming windows, and also makes it easier to build applications that want to render a window with a specific style for some reason. :^) | |||
2020-08-09 | LibGfx: Add a basic abstract WindowTheme class | Andreas Kling | |
This class will provide painting and metrics for window themes. :^) | |||
2020-08-09 | LibWeb: Always add line boxes through LayoutBlock::add_line_box() | Andreas Kling | |
Let's not append directly to the line box vector all over the place. | |||
2020-08-09 | AK: Add a GenericLexer and extend the JsonParser with it (#2696) | Benoît Lormeau | |
2020-08-09 | HackStudio: Set the pgrp of the pseudoterminal to the child pid | AnotherTest | |
This fixes #3046. | |||
2020-08-09 | Kernel: Decorate KResult and KResultOr<T> methods with [[nodiscard]] | Brian Gianforcaro | |
This would have found my error propagation bug. | |||
2020-08-09 | Kernel: Fix my result propagation bug @BenWiederhake spotted | Brian Gianforcaro | |
In #3001 I was trying to fix result propagation issues, and I actually just introduced another one. Luckily Ben spotted it in the diff after it was in the tree, thanks Ben! | |||
2020-08-08 | open: Resolve the realpath before passing it to URL() | AnotherTest | |
...which runs it through LexicalPath. Fixes #3016. | |||
2020-08-07 | LibWeb: Remove some unnecessary throwaway strings in the CSS parser | Andreas Kling | |
We've had StringView::ends_with(..., CaseSensitivity) for a while, so let's use it to avoid creating a bunch of unnecessary strings here. | |||
2020-08-07 | LibWeb: Handle CSS "ex" lengths (relative to font x-height) | Andreas Kling | |
These are pretty rare, but they do come up in some places and it's not hard to support. The Gfx::Font information is approximate (and bad) but we can fix that separately. | |||
2020-08-07 | LibGfx: Add dummy Font::x_height() getter | Andreas Kling | |
Right now we just guess that the x-height is glyph_height/2, which is obviously not accurate. We currently don't store the x-height in fonts, so that's something we'll need to fix. | |||
2020-08-07 | UserspaceEmulator: Add the dup2 syscall | Andreas Kling | |
2020-08-07 | UserspaceEmulator: Add the chdir syscall | Andreas Kling | |
2020-08-07 | UserspaceEmulator: Pass full path to new UE instance in virt$execve() | Andreas Kling | |
Don't just pass argv[0] to the new UE, pass the full program path. | |||
2020-08-07 | LibThread: Remove redundant --m_level in Lock::unlock() (#3040) | Muhammad Zahalqa | |
2020-08-07 | UserspaceEmulator: Add the getpgid() and waitid() syscalls | Andreas Kling | |
With this, you can now kinda sorta run the shell in UserspaceEmulator! | |||
2020-08-07 | UserspaceEmulator: Add the setpgid syscall | Andreas Kling | |
2020-08-07 | UserspaceEmulator: Make the "unimplemented syscall" output look nicer | Andreas Kling | |
2020-08-07 | Kernel: Use Userspace<T> for the realpath syscall | Brian Gianforcaro | |
2020-08-07 | Kernel: Use Userspace<T> for the getsockopt syscall and Socket interface | Brian Gianforcaro | |
The way getsockopt is implemented for socket types requires us to push down Userspace<T> using into those interfaces. This change does so, and utilizes proper copy implementations instead of the kind of haphazard pointer dereferencing that was occurring there before. | |||
2020-08-07 | Kernel: Use Userspace<T> for the setsockopt syscall | Brian Gianforcaro | |
2020-08-07 | AK: Add static_ptr_cast support for the Userspace<T> pointer type | Brian Gianforcaro | |
When using Userspace<T> there are certain syscalls where being able to cast between types is needed. You should be able to easily cast away the Userspace<T> wrapper, but it's perfectly safe to be able to cast the internal type that is being wrapped. | |||
2020-08-07 | Kernel: Use Userspace<T> for the getsockname syscall | Brian Gianforcaro | |
2020-08-07 | Kernel: Use Userspace<T> for the getpeername syscall | Brian Gianforcaro | |
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. |