summaryrefslogtreecommitdiff
path: root/Userland/Libraries
AgeCommit message (Collapse)Author
2022-05-26LibGfx: Add Bitmap::solid_color()MacDue
This function returns an Optional<Color> and is given an alpha_threshold. If all pixels above that alpha threshold are the same color, it returns the color, otherwise it returns an empty optional.
2022-05-26LibGfx: Add Bitmap::invert()MacDue
Helper function to invert a bitmap in-place
2022-05-25LibLine: Add support for user-controlled maskingAli Mohammad Pur
2022-05-25LibLine: Turn bracketed paste mode off in Editor::restore()Ali Mohammad Pur
We turn it on in initialize(), so turn it off in restore(). Not all CLI applications can handle this mode correctly, and there's no reason to leave it on.
2022-05-25LibGUI: Add GUI::Process::spawn_or_show_error()MacDue
This is a wrapper around Core::Process::spawn() for GUI applications, that shows an error if the call to spawn() failed.
2022-05-25LibCore: Return ErrorOr<pid_t> and support arguments in Process::spawnMacDue
This makes the wrapper more like the rest in LibCore, and also removes the annoying limitation of not supporting arguments. There are three overloads one for String, char const *, and StringView argument lists. As long as there are <= 10 arguments the argv list will be allocated inline, otherwise on the heap.
2022-05-25LibCore: Add posix_spawn() wrapper to Core::SystemMacDue
2022-05-25LibJS: Remove assertions replaced with structured headersLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/74fd5e8
2022-05-25LibJS: Correct section IDs of Temporal .prototype property clausesLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/e4eb181
2022-05-25LibJS: Use the rounding abstract operations from Intl.NumberFormat V3Linus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/75279e5 Co-Authored-By: Idan Horowitz <idan.horowitz@gmail.com>
2022-05-25LibJS: Use default argument of CalendarDateFromFieldsLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/7a4a518
2022-05-25LibJS: Align DifferenceTemporalPlainTime with other Difference* AOsLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/70f739d
2022-05-25LibJS: Mark concrete method calls of Environment Records with ?/!Linus Groh
This is an editorial change in the ECMA-262 spec. See: https://github.com/tc39/ecma262/commit/7ae3ecf
2022-05-23LibC: Add barebones <complex.h>Peter Elliott
2022-05-23LibGUI: Add on_return_pressed function to SpinBoxAndrew Smith
2022-05-22LibCore: Set mime type for .sheets files to `application/x-sheets+json`Karol Kosek
This is our own format, used by Spreadsheet.
2022-05-21LibHTTP+LibWeb: Accept Brotli encoded responsesMichiel Visser
2022-05-21LibCompress: Implement Brotli decompressorMichiel Visser
This implements the BrotliDecompressionStream, which is a Core::Stream that can decompress another Core::Stream.
2022-05-21LibCore: Add Stream::read_all()Michiel Visser
2022-05-21LibCore: Add LittleEndianInputBitStreamMichiel Visser
As a complement to BigEndianInputStream, this will read the bits from the lowest bits in a byte first.
2022-05-21LibGUI: Add ability to position checkboxes to the right of their textSam Atkins
This uses the new `checkbox_position` property, which can be "Left" or "Right".
2022-05-21LibGUI: TabWidget add vertical tabsCameron Youell
Add vertical tabs to TabWidget, this can be set using the ```TabWidget::set_tab_position``` function or in the GML
2022-05-21LibCodeComprehension: Re-organize code comprehension related codeItamar
This moves all code comprehension-related code to a new library, LibCodeComprehension. This also moves some types related to code comprehension tasks (such as autocomplete, find declaration) out of LibGUI and into LibCodeComprehension.
2022-05-21LibCore: Add Core::Stream::File::exists()Ariel Don
2022-05-21Kernel+LibC: Implement futimens(3)Ariel Don
Implement futimes() in terms of utimensat(). Now, utimensat() strays from POSIX compliance because it also accepts a combination of a file descriptor of a regular file and an empty path. utimensat() then uses this file descriptor instead of the path to update the last access and/or modification time of a file. That being said, its prior behavior remains intact. With the new behavior of utimensat(), `path` must point to a valid string; given a null pointer instead of an empty string, utimensat() sets `errno` to `EFAULT` and returns a failure.
2022-05-21Kernel+LibC+VFS: Implement utimensat(3)Ariel Don
Create POSIX utimensat() library call and corresponding system call to update file access and modification times.
2022-05-21LibC: Add a stub for nice()Simon Danner
2022-05-20LibC: Implement posix_memalign(3) and aligned_alloc(3)Peter Elliott
Some ports linked against posix_memalign, but didn't use it, and others used it if it was Available. So I decided to implement posix_memalign. My implementation adds almost no overhead to regular mallocs. However, if an alignment is specified, it will use the smallest ChunkedBlock, for which aligned chunks exist, and simply use one of the chunks that is aligned. If it cannot use a ChunkedBlock, for size or alignment reasons, it will use a BigAllocationBlock, and return a pointer to the first aligned address past the start of the block. This implementation supports alignments up to 32768, due to the limitations of the BigAllocationBlock technique.
2022-05-17LibJS: Mark two Get operations in ToTemporalZonedDateTime infallibleLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/fed9f16
2022-05-17LibJS: Use required fields argument in ISOYearMonthFromFieldsLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/ff02f87
2022-05-17LibJS: Combine TemporalTimeZoneIdentifier and TimeZoneBracketedNameLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/6db76f4
2022-05-16LibJS: Remove faulty assertion in BalanceDurationRelativeLuke Wilde
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/66f7464
2022-05-16LibJS: Introduce ISO Date RecordsLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/d264341
2022-05-16LibJS: Swap until/since arguments to DifferenceTemporalZonedDateTimeLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/b911bc9
2022-05-16LibJS: Remove unnecessary CalendarDate productionLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/48744ea
2022-05-16LibJS: Remove redundant TemporalRelativeToString productionLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/f85f953
2022-05-16LibJS: Remove redundant TemporalDateString productionLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/41a8a5c
2022-05-16LibJS: Replace "enclosed by" with "contained within" in spec commentsLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/cb10d3f
2022-05-15LibWeb: Abstract the LibProtocol ResourceLoader connectionDexesTTP
This is the final component that required LibProtocol as a dependency of LibWeb. With this, we can now remove the dependency, and LibWeb no longer requires IPC to work :^)
2022-05-15LibWeb: Abstract the LibProtocol WebSockets connectionDexesTTP
Much like the ImageDecoder change, this moves the underlying connection of the Web::WebSockets class from LibWeb to LibWebView, removing the need for LibProtocol in LibWeb for this specific use-case.
2022-05-15LibWeb: Abstract the image decoding via Web::ImageDecoding::DecoderDexesTTP
After this change, LibWeb now expects Web::ImageDecoding::Decoder to be pre-initialized with a concrete implementation before using the webpage. The previous implementation, based on the ImageDecoder service, has been provided directly through an adapter in LibWebClient, and is now used as the default value by WebContent.
2022-05-15LibWebView: Move StylePropertiesModel to LibWebViewDexesTTP
This patch has no functional changes.
2022-05-15LibWebView: Move DOMTreeModel to LibWebViewDexesTTP
This patch has no functional changes.
2022-05-15LibWebView: Move the DumpLayoutTree utility to LibWebViewDexesTTP
This patch has no functional changes.
2022-05-15LibWebView: Move OutOfProcessWebView to a new LibWebView libraryDexesTTP
Also moves WebContentClient and the references to the generated IPC descriptions, since they are all components of OutOfProcessWebView. This patch has no functional changes.
2022-05-15LibGUI: Phrase help action more specificallydiogenes
Previously the option created by `make_help_action()` was unclear in its meaning, by renaming the option to 'Manual' this should more meaningfully represent the effect of the action.
2022-05-15LibSoftGPU: Update coverage bits after alpha testingJelle Raaijmakers
Also skip the test for the `::Always` alpha test function in the hot loop. This test function is very unlikely to be set, so leave that up to `::test_alpha()`.
2022-05-15LibSoftGPU: Make `Device` statistics `i64` againJelle Raaijmakers
They were erroneously converted into `u64` by me in a previous commit, causing the overdraw statistic to go haywire.
2022-05-13TextEditor: Allow typing AltGr+letter into editorPaweł Łukasik
Previous check did not allow AltGr+letter to be used due to AltGr being emulated as Ctrl+Alt. That caused .ctrl() to be true. In the new code we check that ctrl() is not set or if it is set, it is with altgr() and if so, we pass the character into the editor.
2022-05-13LibWeb: Add window.clientInformation propertyReimarPB