summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-27LibCore: Remove main event loopJelle Raaijmakers
The main event loop functionality was used in just two places where the alternative is a bit simpler. Remove it in favor of referencing the event loop directly, or just invoking `EventLoop::current()`. Note that we don't need locking in the constructor since we're now only modifying a thread-local `Vector`. We also don't need locking in the old call sites to `::with_main_locked()` since we already lock the event loop in the subsequent `::post_event()` invocation.
2022-04-27LibCore: Remove unused `EventLoop::is_main_event_loop()`Jelle Raaijmakers
2022-04-27LibCore: Fix typo in `EventLoop` commentJelle Raaijmakers
2022-04-27HackStudio: Update window close button on document changetimre13
2022-04-26LibMarkdown: Correct typo in forward declaration of HorizontalRulehuttongrabiel
HoriziontalRule -> HorizontalRule
2022-04-26LoginServer: Change login fail message to avoid enumeration attacksPeter Elliott
The current message distinguishes between a user that doesn't exist, and an invalid password. This is considered to be bad practice, because an attack can first check if a user exists before guessing that users password. Also it's just tradition or something.
2022-04-27HexEditor: Add UTF16 to the value inspectorkleines Filmröllchen
2022-04-27HexEditor: Add UTF8 to the value inspectorkleines Filmröllchen
2022-04-27HexEditor: Add ASCII to the value inspectorkleines Filmröllchen
This is kind of redundant but probably easier to read than the ASCII column. Also, it seems appropriate after we add other character encodings.
2022-04-27HexEditor: Don't require the ValueInspectorModel's value size to be i32kleines Filmröllchen
2022-04-27AK: Put invalid UTF8 debug spam behind a flagkleines Filmröllchen
This is very annoying if we're (intentionally) passing invalid UTF8 into Utf8View.
2022-04-26Kernel: Use C++17 namespace style for nested PCI namespaceb14ckcat
Adjust the nested namespace formatting in PCI files to use the nicer and more consistent C++17 style.
2022-04-26Kernel: Put USB request constants in namespaceb14ckcat
Moved constants in USBRequest.h from global scope to the Kernel::USB namespace.
2022-04-26LibConfig+ConfigServer: Write config values synchronouslyMoustafa Raafat
This patch fixes the issue of pressing the ok button of a settings menu without saving the changes, or not reverting the changes when pressing the cancel button because the app has died before the new values make it to the other end.
2022-04-26Documentation: Add more clangd configuration optionskleines Filmröllchen
This should make clangd work very well. I totally forgot to add this...
2022-04-26Ports: Use correct packages.db location in build_installed.shcircl
The packages.db file now resides in Serenity's root.
2022-04-26Ports: Make .hosted_defs.sh usable outside of .port_include.shcircl
This commit moves some stuff around in order to isolate .hosted_defs.sh from .port_include.sh
2022-04-26Documentation: Add EmacsConfiguration.md for emacs editor supportAdam Patterson
Emacs takes a little work to get working with Serenity.
2022-04-26config: Allow setting a key to the empty stringRalf Donau
2022-04-26Meta: Re-enable automatic virtualization detection on Windowskleines Filmröllchen
Before, we wouldn't enable virtualization on Windows anymore unless SERENITY_VIRTUALIZATION_SUPPORT was set explicitly. As far as we know, there's no automatic way of detecting whether WHPX is enabled or not. So we'll just enable virtualization on Windows by default, and if that doesn't work the user can still disable it manually with SERENITY_VIRTUALIZATION_SUPPORT=0.
2022-04-26LibGUI: Check if event loop is alive before quitting it in Dialog::closenetworkException
Previously we would quit the event loop of a dialog without checking if it is still alive in the Window::close overload. This patch updates the implementation to make use of the existing done method, handling closes more gracefully. This fixes a CommandPalette crashing when opening an about dialog, as since 1074c399f37be9c2e56215f7defaa1aa2eed125b the command palette dialog would handle a WindowBecameInactive event after closing itself due to the action already being called.
2022-04-26Kernel: Strip null terminators from all CPUID strings, not just brandLinus Groh
I've noticed that the KVM hypervisor vendor ID string contained null terminators in the serialized JSON string in /proc/cpuinfo - let's avoid that, and err on the side of caution and strip them from all strings built from CPUID register values. They may not be fixed width after all.
2022-04-26LibGUI: Don't merge TextDocumentUndoCommand if too much time has elapsedForLoveOfCats
2022-04-26LibGUI: Split InsertTextCommand undo/redo based on whitespaceForLoveOfCats
2022-04-26LibGUI: Use ctrl+shift+z for redo action shortcutForLoveOfCats
2022-04-26LibC: Don't handle pending exceptions when reading FPU statusTim Schumacher
2022-04-26LibMarkdown: Treat whitespace-only lines as blank in paragraphsPeter Elliott
2022-04-26LibMarkdown: Don't put a newline in empty code blocksPeter Elliott
This doesn't actually matter, but I'm trying to match the commonmark test cases where possible.
2022-04-26LibMarkdown: Better support for code fencesPeter Elliott
- Support tildes. - Support different lengths of fence. - Begrudgingly keep support for serenities one markdown extension.
2022-04-26LibMarkdown: Support up to 3 spaces before an ATX headerPeter Elliott
2022-04-26LibMarkdown: Limit headings to 6 levelsPeter Elliott
2022-04-26LibMarkdown: Make thematic break parsing more correctPeter Elliott
also fix a conflict with lists and thematic breaks
2022-04-26LibMarkdown: Ignore backslash on non-punctuation charactersPeter Elliott
2022-04-26LibMarkdown: Add support for indented code blocksPeter Elliott
2022-04-26Meta: Allow Clang to be used as the host compiler for LagomDaniel Bertalan
Various Clang binaries are now considered when choosing the compiler for Lagom. The selection precedence is as follows: 1. Use the compiler set via CC/CXX if it's a supported version 2. Use newest available GCC if it's supported 3. Use newest available Clang if it's supported Note that Apple Clang is still not supported, as its versioning scheme and the fact that it masquerades as both GCC and Clang would complicate this logic even more. Fixes #12253
2022-04-26Base: Evenly space title bar icons in Coffee themeMacDue
2022-04-26Kernel: Add FIOCLEX and FIONCLEX ioctlsAndreas Kling
These allow you to turn the close-on-exec flag on/off via ioctl().
2022-04-26Kernel: Add ESTALE errno code (stale network file handle)Andreas Kling
2022-04-25Base: Update Lucidity Bold add glyphs to widen coveragedjwisdom
Tifinagh 2D30-2D67,2D6F,2D70 https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-25Base: Update Lucidity Regular add glyphs to widen coveragedjwisdom
Tifinagh 2D30-2D67,2D6F,2D70 https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-25Base: Update Ataraxia8 Light add glyphs to widen coveragedjwisdom
Tifinagh 2D30-2D67,2D6F,2D70 https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-25Base: Update Ataraxia8 Bold add glyphs to widen coveragedjwisdom
Tifinagh 2D30-2D67,2D6F,2D70 https://www.unicode.org/charts/PDF/U2D30.pdf
2022-04-25Base: Add Cyrillic Supplement glyphs to Katica 10diogenes
This represents Unicode glyphs U+0500-052F
2022-04-25Base: Set TitleButtonsIconOnly for Cupertino themeMacDue
2022-04-25Base: Remove background from Coffee theme title buttonsMacDue
2022-04-25LibGUI: Respect TitleButtonsIconOnly in AbstractThemePreviewMacDue
2022-04-25LibGfx+WindowServer: Add theme flag TitleButtonsIconOnlyMacDue
With this flag set to true only the icon of the title button is painted. This is useful for themes with a more non-serenity look such as Coffee and Cupertino (that currently try to hide the button).
2022-04-25Base: Add HighlightWindowBorder colors to Gruvbox Dark themeMacDue
2022-04-25Base: Add HighlightWindowBorder colors to Dark themeMacDue
2022-04-25ini: Use String for argumentsRalf Donau