summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
2022-12-15gron: Add options for enabling/disabling colored outputSam Atkins
These match the options in the original gron: https://github.com/tomnomnom/gron
2022-12-15LibJS: Convert standalone construct() to NonnullGCPtrLinus Groh
2022-12-15LibJS: Convert Object::construct() to NonnullGCPtrLinus Groh
2022-12-15LibJS: Convert FunctionObject::internal_construct() to NonnullGCPtrLinus Groh
2022-12-15LibJS: Convert ordinary_create_from_constructor() to NonnullGCPtrLinus Groh
2022-12-15LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtrLinus Groh
2022-12-15LibJS: Add make_handle({Nonnull,}GCPtr<T>) overloadsLinus Groh
2022-12-15LibJS: Ensure Optional<Completion>'s defaults to empty completionLinus Groh
Default-constructing the m_value Completion made it have an undefined JS value when not overridden in a constructor, such as the conditional initialization in Optional(Optional<JS::Completion> const&). See investigation by Tim here: https://github.com/SerenityOS/serenity/pull/16498#discussion_r1049090456 Co-authored-by: Timothy Flynn <trflynn89@pm.me>
2022-12-15LibWeb: Implement input range type sanitation algorithmKyle Lanmon
2022-12-15LibWeb: Implement input local date and time type sanitation algorithmKyle Lanmon
2022-12-15LibWeb: Implement input time type sanitation algorithmKyle Lanmon
2022-12-15LibWeb: Implement input week type sanitation algorithmKyle Lanmon
2022-12-15LibWeb: Implement input month type sanitation algorithmKyle Lanmon
2022-12-15LibWeb: Implement input date type sanitation algorithmKyle Lanmon
2022-12-15LibWeb: Implement input email type sanitation algorithmKyle Lanmon
2022-12-15LibWeb: Implement input color type sanitation algorithmKyle Lanmon
2022-12-15LibJS: Throw a RangeError when when formatting strings in DurationFormatTimothy Flynn
This is a normative change in the Intl.DurationFormat proposal. See: https://github.com/tc39/proposal-intl-duration-format/commit/2546080
2022-12-15LibJS: Access DurationRecord properties in alphabetical orderTimothy Flynn
This is a normative change in the Intl.DurationFormat proposal. See: https://github.com/tc39/proposal-intl-duration-format/commit/42e99b8
2022-12-15LibJS: Move IsValidDurationRecord check to ToDurationRecordTimothy Flynn
This is an editorial change in the Intl.DurationFormat proposal. See: https://github.com/tc39/proposal-intl-duration-format/commit/fb21723
2022-12-15LibJS: Remove infallibility markers from some Intl.DurationFormat AOsTimothy Flynn
This is an editorial change in the Intl.DurationFormat proposal. See: https://github.com/tc39/proposal-intl-duration-format/commit/fa2b3d0
2022-12-15LibWeb: Implement more values of flexbox align-contentMax Stevens
Implement the values 'space-between' and 'space-around' of the 'align-content' flexbox property. The following WPT tests now pass: - http://wpt.live/css/css-flexbox/align-content-004.htm - http://wpt.live/css/css-flexbox/align-content-005.htm
2022-12-15Piano: Overhaul AudioPlayerLoop and throw out event loopskleines Filmröllchen
The audio player loop uses custom IPC plumbing to safely bypass any event loop shenanigans. There is still work to be done, but this already improves the realtime capabilities of Piano.
2022-12-15Piano: Make AudioPlayerLoop::is_playing constkleines Filmröllchen
2022-12-15LibIPC: Only run responsiveness timer when there is an event loopkleines Filmröllchen
This disables responsiveness detection when an event loop is absent. There are no users which both need this feature but don't have an event loop.
2022-12-15LibIPC: Add deferred invoker getterkleines Filmröllchen
2022-12-15LibAudio: Allow resampling into existing bufferkleines Filmröllchen
This alleviates some copying and we can implement existing APIs in terms of this.
2022-12-15LibAudio: Expose blocking realtime enqueue to audio clientskleines Filmröllchen
This is just a delegate of the same function found in the shared queue itself.
2022-12-15LibAudio: Make resampling falliblekleines Filmröllchen
2022-12-15PixelPaint: Make sure modified state is updated when undo_stack changesmeiskam
2022-12-15PixelPaint: Update window `modified` to look at all tabsmeiskam
This causes the corner X to correctly have dots when any of the open tabs have unsaved changes. Event calls and undo stack modifications have been collected to one spot.
2022-12-15LibGUI: Add dots below TabWidget close button when modifiedmeiskam
2022-12-15LibGUI: Add `modified` bool to TabWidgetmeiskam
This will allow application with multiple tabs to track modifications per-tab, not just if the entire window has been modified
2022-12-14HexEditor: Handle some errors inside the editorArda Cinar
Specifically, the ones HexEditor::did_complete_action possibly raised in case creating an undo stack entry or pushing it onto the undo stack fails. In this case, an error popup is displayed and the modifications are undone. This removes 2 FIXMEs inside the code :^)
2022-12-14CrashReporter: Use the `Core::Stream` friendly API, `save_file()`Lucas CHOLLET
2022-12-14LibFileSystemAccessClient: Add `save_file()`Lucas CHOLLET
This method replaces `try_save_file_deprecated()`, as it has the same behavior but returns a `Core::Stream::File` instead.
2022-12-14LibCore: Add fd overload of `File::is_directory` and `File::is_device`Lucas CHOLLET
2022-12-14LibFileSystemAccessClient: Rename `try_save_file` =>Lucas CHOLLET
`try_save_file_deprecated` This precedes the addition of a new api using `Core::Stream`
2022-12-14LibFileSystemAccessClient: Rename `Result` => `DeprecatedResult`Lucas CHOLLET
This precedes the addition of a new `Result`, using `Core::Stream::File` instead `Core::File`.
2022-12-14LibGfx+Userland: Make Gfx::SystemTheme propagate errorsCygnix Proto
This patch introduces error propagation to Gfx::SystemTheme to remove instances of release_value_but_fixme_should_propagate_errors(). Userland applications that have been affected by this change have been updated to utilise this propagation and as a result 4 such instances of the aforementioned method have been removed.
2022-12-14Piano: Only treat unmodified key presses as playing notesSam Atkins
This makes Action shortcuts work again. :^) `note_key_action()` and `special_key_action()` now return whether they consumed the event. We don't even call them if any modifier keys were held down, so things like `Ctrl+T` no longer play notes.
2022-12-14SpaceAnalyzer: Ignore unhandled keydown eventsSam Atkins
This makes Action shortcuts work again. :^)
2022-12-14Presenter: Ignore unhandled keydown eventsSam Atkins
This makes Action shortcuts work again. :^)
2022-12-14MasterWord: Ignore unhandled keydown eventsSam Atkins
This makes Action shortcuts work again. :^)
2022-12-14Hearts: Ignore unhandled keydown eventsSam Atkins
This makes Action shortcuts work again. :^)
2022-12-14Chess: Ignore unhandled keydown eventsSam Atkins
This makes Action shortcuts work again. :^)
2022-12-14BrickGame: Ignore unhandled keydown eventsSam Atkins
This makes Action shortcuts work again. :^)
2022-12-14Solitaire: Ignore unhandled keydown eventsSam Atkins
This makes Action shortcuts work again. :^)
2022-12-14Meta+CMake: Extract Wasm spec tests into the binary directoryAndrew Kaster
Clean up the Wasm spec tests CMake rules to extract and compile the wat files into wasm files in the LibWasm binary directory instead of its source directory. Also make the rules more robust to missing host tools, and use more CMake install rules for the test files rather than relying on build-root-filesystem.sh. Add some FIXMEs for later, we really shouldn't be doing installation of test files into /home/anon at the build-root-filesystem stage in $CURRENT_YEAR. Tests go in /usr/Tests
2022-12-14LibWeb: Convert Paintable coordinates to new pixel unitsSam Atkins
This fixes a few sizing issues too. The page size is now correct in most cases! \o/ We get to remove some of the `to_type<>()` shenanigans, though it reappears in some other places.
2022-12-14LibWeb: Remove declarations for LineBoxFragment methods that don't existSam Atkins