summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
2022-02-02mount: Do not print usage if executed without any argumentsKenneth Myhra
If 'mount' is executed without any arguments we should print the mount points and return early not printing the usage statement. This fixes a regression introduced in commit: 9d48406
2022-02-02LibJS: Consider calls of parse_iso_date_time() fallibleLinus Groh
See: https://github.com/tc39/proposal-temporal/pull/2027
2022-02-02LibWeb: Don't verify that a dimension unit isn't whitespaceSam Atkins
Raw whitespace is not allowed inside a name, but escaped whitespace is, for example `\9`, which is the tab character. This stops yakzz.com from crashing the Browser, since it was using `\9` in various places as a hack to only apply those properties to IE8/9.
2022-02-02LibJS: Reject '-000000' as extended yearLinus Groh
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/e60ef9e
2022-02-02mount: Exit without error when handling mount all on system bootBrian Gianforcaro
At the point at which `mount -a` is executed by SystemServer, the /proc fs is not yet mounted. That means that opening /proc/fd in the `print_mounts()` function will always fail with an error. 0.976 mount(8:8): Exiting with runtime error: No such file or directory (errno=2) The fix is simple, just return gracefully after we execute mount all.
2022-02-01LibGUI: Rename Close to Discard in MessageBox::ask_about_unsaved_changesThitat Auareesuksakul
2022-02-01PixelPaint: Paint layer thumbnails with correct aspect ratioAndreas Kling
2022-02-01LibGUI: Allow only one CommandPalette at once to be openedMaciej
Previously it was possible to open CommandPalette for a CommandPalette :^)
2022-02-01LibGfx+Applications: Add human readable name helper for fontsthankyouverycool
This returns a more comprehensible name than raw weight and slope metrics and is intended for use in UIs. Now displays human readable font names in FontSettings, TerminalSettings and CharacterMap.
2022-02-01Everywhere: Fully qualify font names by including their slopethankyouverycool
Fixes typefaces of the same weight but different slopes being incorrectly returned for each other by FontDatabase.
2022-02-01LibGfx: Determine slope attributes for TrueTypeFonts from tablesthankyouverycool
First checks the OS/2 table for an oblique selection flag before falling back on italic flags.
2022-02-01sleep: Port to LibMainalexmajor
2022-02-01shutdown: Port to LibMainalexmajor
2022-02-01stty: Port to LibMainalexmajor
2022-02-01sql: Port to LibMainalexmajor
2022-02-01shot: Port to LibMainalexmajor
2022-02-01sysctl: Port to LibMainalexmajor
2022-02-01syscall: Port to LibMainalexmajor
2022-02-01sync: Port to LibMainalexmajor
2022-02-01Starfield: Add app iconJagger De Leo
Previously, Starfield used app-screensaver icon.
2022-01-31LibJS: Implement Intl %SegmentIteratorPrototype%.next ( )Idan Horowitz
2022-01-31LibJS: Implement Intl %SegmentsPrototype%.containingIdan Horowitz
2022-01-31LibJS: Implement the Intl CreateSegmentDataObject AOIdan Horowitz
2022-01-31LibJS: Implement the Intl.Segmenter FindBoundary AOIdan Horowitz
2022-01-31LibJS: Convert Intl.Segmenter, Segments and SegmentIterator to Utf16Idan Horowitz
This is a precursor to implementing the FindBoundary AO, which operates on Utf16 code unit indexes.
2022-01-31LibUnicode: Implement sentence segmentationIdan Horowitz
2022-01-31LibUnicode: Implement word segmentationIdan Horowitz
2022-01-31LibUnicode: Implement grapheme segmentationIdan Horowitz
2022-01-31LibUnicode: Download and parse {Grapheme,Word,Sentence} break propsIdan Horowitz
2022-01-31Everywhere: Update copyrights with my new serenityos.org e-mail :^)Timothy Flynn
2022-01-31LibJS: Implement BigInt IsLessThan according to the specTimothy Flynn
2022-01-31LibJS: Implement BigInt loose-equality according to the specTimothy Flynn
2022-01-31LibJS: Implement conversion of strings to BigInts according to the specTimothy Flynn
The spec defines a StringToBigInt AO which allows for converting binary, octal, decimal, and hexadecimal strings to a BigInt. Our conversion was only allowing for decimal strings.
2022-01-31LibCrypto: Change UnsignedBigInteger parser to use a StringViewTimothy Flynn
SignedBigInteger already accepts a StringView; let's avoid the heap allocation in UnsignedBigInteger.
2022-01-31LibJS: Add a 96-byte CellAllocatorAndreas Kling
Two of our most frequently allocated objects are Shape (88 bytes) and DeclarativeEnvironment (80 bytes). Putting these into 128-byte cells was quite wasteful, so let's add a more suitable allocator for them.
2022-01-31LibJS: Use u32 for the JS::Shape property countAndreas Kling
We don't need to support more than 2^32 object properties anyway, so there's no point in using 64-bit property counts. This small reduction in memory usage makes test-js run ~10% faster on x86_64 locally.
2022-01-31LibJS: Store ECMAScriptFunctionObject bytecode in an OwnPtrAndreas Kling
Using an Optional was extremely wasteful for function objects that don't even have a bytecode executable. This allows ECMAScriptFunctionObject to fit in a smaller size class.
2022-01-31LibJS: Make JS::ECMAScriptFunctionObject smaller by reordering membersAndreas Kling
...and making heavy use of bitfields.
2022-01-31LibJS: Remove unnecessary GlobalObject pointer from EnvironmentAndreas Kling
As it turns out, we didn't actually need this pointer. :^)
2022-01-31LibJS: Reorganize JS::Shape members a little bitAndreas Kling
Now that AK::Weakable doesn't have a bunch of padding at the end, let's move the smaller members of JS::Shape to the end, since there's nothing to fold into at the start.
2022-01-31LibJS: Make JS::Shape smaller by using OwnPtr<HashMap> for transitionsAndreas Kling
Many shapes don't have any forward transitions to cache, so we can save a bunch of memory (and time) by only creating the cache maps when actually needed.
2022-01-31LibJS: Make JS::Environment smaller by reordering membersAndreas Kling
By putting `m_permanently_screwed_by_eval` first, it folds into the padding at the end of the base class (JS::Cell).
2022-01-31LibWeb: Implement ChildNode.replaceWithLuke Wilde
2022-01-31LibWeb: Implement ChildNode.afterLuke Wilde
2022-01-31LibWeb: Implement ChildNode.beforeLuke Wilde
2022-01-31LibWeb: Implement ParentNode.replaceChildrenLuke Wilde
2022-01-31LibWeb: Implement ParentNode.appendLuke Wilde
2022-01-31LibWeb: Implement ParentNode.prependLuke Wilde
`convert_nodes_to_single_node` is inside its own file so ChildNode can include and use it without having to include other headers such as DOM/Node.h. This is to prevent circular includes.
2022-01-31LibWeb: Accept array pairs in URLSearchParams constructorLuke Wilde
2022-01-31pape: Port to LibMainKenneth Myhra