summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-05AK: Make Vector::remove_all_matching() return removal successAndreas Kling
This matches the behavior of other remove_*_matching() functions.
2022-01-05AK: Make Hash{Map,Table}::remove_all_matching() return removal successAndreas Kling
These functions now return whether one or more entries were removed.
2022-01-05LibJS: Use HashMap::remove_all_matching() in WeakMapAndreas Kling
2022-01-05AK: Add HashMap::remove_all_matching(predicate)Andreas Kling
This removes all matching entries from a hash map in a single pass.
2022-01-05LibJS: Use HashTable::remove_all_matching() in WeakSet :^)Andreas Kling
2022-01-05AK: Add HashTable::remove_all_matching(predicate)Andreas Kling
This removes all matching entries from a table in a single pass.
2022-01-05Base: Add Unified Canadian Aboriginal Syllabics Ext-A Katica Reg. 10Lady Gegga
11AB0-11ABF https://www.unicode.org/charts/PDF/U11AB0.pdf
2022-01-05Base: Adjust 1F41A in font Katica Regular 10Lady Gegga
Move 1F41A up 1px to align it with other glyphs
2022-01-05Base: Add symbols to font Katica Regular 10Lady Gegga
1F990, 1F42C, 1FAB8, 1FAA8, 1FAB7 https://www.unicode.org/charts/PDF/U1F300.pdf https://www.unicode.org/charts/PDF/U1FA70.pdf https://www.unicode.org/charts/PDF/U1F900.pdf
2022-01-05LibJS+LibUnicode: Handle flexible day periods that roll over midnightTimothy Flynn
When searching for the locale-specific flexible day period for a given hour, we were neglecting to handle cases where the period crosses 00:00. For example, the en locale defines a day period range of [21:00, 06:00). When given the hour of 05:00, we were checking if (21 <= 5 && 5 < 6), thus not recognizing that the hour falls in that period.
2022-01-05LibGUI: Consume initial spaces when going to next/prev word breakMathieu PATUREL
This impacts text editors' ctrl+left, ctrl+shift+right, ctrl+backspace, etc.. For example, consider the text "Hello world |", pressing ctrl+backspace each time. Before: "hello world |" "hello world|" "hello |" "hello|" "|" After: "hello world |" "hello|" "|" Note that this breaks a nice symmetry. Doing ctrl+left and then ctrl+right doesn't necessarily get you to the same place like it use to. Before: " hello |" " hello| " " hello |" // same as initial After: " hello |" "|hello " " hello| " // different from initial
2022-01-05Kernel: Remove temporary Vector from Ext2FS::flush_writes()Brian Gianforcaro
Previously we were using this vector to store the inodes as we iterated. However, we don't need to store all of them, just the previous inode, as we know it will be safe to remove it once we've iterated past that element.
2022-01-05Kernel: Use unchecked_append in PerformanceEventBuffer `raw_backtrace()`Brian Gianforcaro
We always validate the size before we append, so there is no reason to use the checked append.
2022-01-05AK: Disable Vector insert/empend/prepend + a append overload in KernelBrian Gianforcaro
We have whittled away at the usages of these AK::Vector APIs in the Kernel. This change disables them from being visible when building the Kernel to make sure no new usages get added.
2022-01-05Kernel+LibVT: Use MUST + try_prepend / try_appendBrian Gianforcaro
In preparation for making Vector::append + Vector::prepend unavailable during compilation of the Kernel. This specific file is compiled into the Kernel as well as LibVT.
2022-01-05Kernel: Use MUST + Vector::try_empend instead of Vector::empendBrian Gianforcaro
In preparation for making Vector::empend unavailable during compilation of the Kernel.
2022-01-05Kernel: Use MUST + Vector::try_append instead of Vector::appendBrian Gianforcaro
In preparation for making Vector::append unavailable during compilation of the Kernel.
2022-01-05Kernel: Use MUST+ Vector::try_prepend instead of Vector::prependBrian Gianforcaro
In preparation for disabling Vector::prepend from being available during the compilation of the Kernel.
2022-01-05AK: Use MUST + try_empend so AK::Trie continues to compile in the kernelBrian Gianforcaro
2022-01-05AK: Use unchecked_append in AK::Stack, as we always validate the sizeBrian Gianforcaro
This removes one additional usage of Vector::append that stops us from disabling it when compiling the Kernel.
2022-01-05LibELF: Add `LD_LIBRARY_PATH` envvar support :^)Jesse Buhagiar
The dynamic linker now supports having custom library paths as specified by the user.
2022-01-05Base: Add Unified Canadian Aboriginal Syllabics to Katica Regular 10Lady Gegga
1489-167F https://www.unicode.org/charts/PDF/U1400.pdf Our implementation of 150C does not correspond with the Unicode chart, it uses an alternative glyph found in many fonts for clarity!
2022-01-05Base: Align 1428-142A in font Katica Regular 10Lady Gegga
Move these glyphs 1px up
2022-01-05Base: Add Miscellaneous Technical glyphs to font Katica Regular 10Lady Gegga
2317, 2318, 231A, 231B, 2326-2328, 232B, 2380-238C, 2396-239A, 23CD-23CF, 23E9-23FE https://www.unicode.org/charts/PDF/U2300.pdf
2022-01-05Base: Add Miscellaneous Symbols and Arrows to font Katica Regular 10Lady Gegga
2B1B, 2B1C, 2B55, 2B57, 2B58, 2B59 https://www.unicode.org/charts/PDF/U2B00.pdf
2022-01-05Base: Add Mathematical Operators to font Katica Regular 10Lady Gegga
2206, 2207, 220F, 2227-222C, 2250-225C, 2261, 2263, 228F-22A1, 22A9-22AB, 22B0, 22B1, 22B9, 22BA, 22BF, 22D5, 22FF https://www.unicode.org/charts/PDF/U2200.pdf
2022-01-05Base: Add Miscellaneous Symbols and Pictographs to Katica Regular 10Lady Gegga
1F41B, 1F419, 1F420, 1F421, 1F433, 1F43E, 1F43D, 1F41A, 1F442, 1F41E https://www.unicode.org/charts/PDF/U1F300.pdf
2022-01-05Base: Add Supplemental Symbols and Pictographs to Katica Regular 10Lady Gegga
1F916, 1F988, 1F955, 1F968, 1F980, 1F940, 1F94C, 1F991, 1F969 https://www.unicode.org/charts/PDF/U1F900.pdf
2022-01-05Base: Change some glyphs in font Katica Regular 10Lady Gegga
1F50C, 1F5B2, 1F964, 1F941
2022-01-05Base: Add Box Drawing glyphs to font Katica Regular 10Lady Gegga
2518, 2510, 250C, 2514, 253C, 2500, 251C, 2524, 2534, 252C, 2502 The following glyphs are ported directly from 2329c52ad94a4c40b1b2e3ce2dd8526208f08bef: 2550, 2551, 2554, 2557, 255A, 255D https://www.unicode.org/charts/PDF/U2500.pdf
2022-01-05Base+LibGUI: Add unique "Save As" iconthankyouverycool
Icon by: Mustafa Quraish <mustafaq9@gmail.com>
2022-01-05PixelPaint: Add new icon for `New Image from Clipboard`Mustafa Quraish
This is just a slight variation of `/res/icons/16x16/paste.png`, I've removed the lines on the paper to make it look consistent with the "New Image" icon, which is an empty piece of paper.
2022-01-05PixelPaint: Use 'save' action in toolbar instead of 'save as'Mustafa Quraish
I think this is likely the more common operation and makes more sense in the toolbar. It calls the 'save as' action internally anyway if there is no associated file.
2022-01-05PixelPaint: Ask about unsaved changes for all tabs on closeMustafa Quraish
Now, when trying to close the application, there is a separate prompt for each open tab with unsaved changes. Each tab is closed after it is handled appropriately (assuming the user didn't Cancel), this makes it so that the message box is always asking about the currently active tab, allowing the user to see that the image contains. If at any point the user presses "Cancel", all remaining tabs are kept open.
2022-01-05PixelPaint: Mark editor as unmodified when creating a default imageMustafa Quraish
This is similar to opening an empty text file in TextEditor, the user is only asked to saved changes if they have made any changes to it.
2022-01-05PixelPaint: Mark editor as unmodified when opening an imageMustafa Quraish
Previously a newly opened (and unedited) project was considered modified, even though there was no need to actually re-save the contents.
2022-01-05PixelPaint: Only prompt for unsaved changes if there anyMustafa Quraish
Previously MainWidget::request_close() would always put up the message box asking to save unsaved changes, even if there aren't any. This patch makes it so that the message box is only shown if the undo stack is in a modified state.
2022-01-05PixelPaint: Move `title` and `path` from Image to ImageEditorMustafa Quraish
As noted in the latest hacking video, it doesn't seem to make much sense to store the title and path in the image itself. These fields have now been moved to the actual ImageEditor itself. This allows some nice simplicfications, including getting rid of the `image_did_change_title` hook of ImageClient (which was just a way to report back to the editor that the title had changed).
2022-01-05Base: Add some Latin Extended-B characterselectrikmilk
Adds 0180—01FF of the Latin extended-B section of the unicode table.
2022-01-05LibJS: Implement Array.prototype.groupByToMapLuke Wilde
2022-01-05LibJS: Implement Array.prototype.groupByLuke Wilde
2022-01-05LibJS: Make MarkedValueList copyable and move assignableLuke Wilde
This is required to store a MarkedValueList as the value of a HashMap.
2022-01-05LibJS: Add Handle specialisation for ValueLuke Wilde
This allows you to keep an arbitrary JS::Value alive without having to hook visit_edges somewhere, e.g. by being a NativeFunction that overrides visit_edges. For example, this allows you to store JS::Handle<JS::Value> as the key of a HashMap. This will be used to keep arbitrary Values alive in the key of a temporary HashMap in Array.prototype.groupByToMap. Co-authored-by: Ali Mohammad Pur <mpfard@serenityos.org>
2022-01-04unzip: Remove useless .characters() callsmjz19910
2022-01-04Utilities/CMakeList: Remove duplicate target_link_libraries(...)mjz19910
2022-01-04Utilities/CMakeList: Sort target_link_libraries(...)mjz19910
2022-01-04LibJS: Remove the now retired TRY_OR_DISCARD() macro :^)Linus Groh
2022-01-04js: Remove uses of TRY_OR_DISCARD()Linus Groh
Slightly more verbose, but that's the last user of TRY_OR_DISCARD gone!
2022-01-04LibTest: Remove uses of TRY_OR_DISCARD() from JavaScriptTestRunnerLinus Groh
In one case we can replace it with MUST() and accept the crash (we also VERIFY() that there wasn't an exception); in the other case we don't need to return after a throw completion.
2022-01-04LibTest: Convert JavaScriptTestRunner's get_test_results() to ErrorOrLinus Groh