summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
2021-07-13LibGUI: Don't clear textbox on save mode in FilePickerKarol Kosek
This fixes a rather frustrating issue during saving a file, when clicking on a folder (to change the path of saved file) caused the filename to disappear from the text box.
2021-07-13LibJS: Add missing has_constructor override to Generator FunctionsIdan Horowitz
2021-07-13LibWeb: Add extracting character encoding from a meta content attributeLuke
Some Gmail emails contain this.
2021-07-13LibC: Use C-style void cast in assert()Linus Groh
2021-07-13FileManager: Add Rename action to context and application menuKarol Kosek
Prior to this change, the only way to rename a file was to press F2 on keyboard.
2021-07-13LibGUI: Add Rename actionKarol Kosek
2021-07-13LibAudio: Use new Vector formatterkleines Filmröllchen
2021-07-13LibC: Increase minimum alignment for malloc() to 16 bytesGunnar Beutner
This is required to make SSE instructions work when building with Clang. Apparently Clang uses SSE instructions where GCC didn't so we didn't previously run into this problem.
2021-07-13du: Don't fail immediately when directory can't be read (#8719)luk1337
2021-07-13FileManager: Convert properties window UI to GML (#8705)luk1337
2021-07-13Shell: Add unalias builtinTheFightingCatfish
Add shell unalias builtin to remove aliases
2021-07-13LibGUI: Select radio buttons with keyboardAriel Don
2021-07-13LibRegex: Consider EOF in the middle of a range an errorAli Mohammad Pur
2021-07-13LibRegex: Don't attempt to insert invalid bytecode in {B,E}REAli Mohammad Pur
2021-07-13LibRegex: Implement lookaround in EREAli Mohammad Pur
2021-07-13LibRegex: Allow empty character classes in {B,E}REAli Mohammad Pur
2021-07-13LibRegex: Disallow excessively large repetition counts in {B,E}REAli Mohammad Pur
2021-07-13LibRegex+LibC: Make re_nsub available to the userAli Mohammad Pur
To comply with Dr.POSIX, this field has to be user-accessible.
2021-07-12DisplaySettings: Reload current settings when apply dialog is dismissedLuK1337
Fixes: #8673
2021-07-12LibC: Replace use of do/while in assert() with the ternary operatorLinus Groh
It's a single expression, no do/while needed. This makes assert() work with the comma operator (assert(foo), assert(bar), assert(baz)). Found because exactly this is being used somewhere in the guts of LLVM.
2021-07-12LibAudio: Set variable type for decoding fixed subframes in FLACKarol Kosek
This fixes an crash caused by using the type from FlacSubframeHeader::order (unsigned 8-bit), which after overflowing the integer, converting it back to u32, and decrementing by one resulted in accessing an array waaay out of bounds.
2021-07-12LibJS: Add Temporal.Instant.prototype.round()Idan Horowitz
As well as the required Abstract Operations.
2021-07-12LibCrypto: Add the >= operator to UnsignedBigIntegerIdan Horowitz
2021-07-12LibJS: Add the GetOptionsObject & GetOption Temporal AbstractOperationsIdan Horowitz
These are used by any Temporal method that accepts an options object.
2021-07-12LibJS: Add Temporal.Instant.prototype.equals()Idan Horowitz
2021-07-12LibJS: Add Temporal.Instant.from()Idan Horowitz
2021-07-12LibJS: Add Temporal.Instant.compare()Idan Horowitz
2021-07-12LibJS: Add the ToTemporalInstant Abstract Operation & its requirementsIdan Horowitz
This is Abstract Operation is required for the majority of InstantConstructor's and InstantPrototype's methods. The implementation is not entirely complete, (specifically 2 of the underlying required abstract operations, ParseTemporalTimeZoneString and ParseISODateTime are missing the required lexing, and as such are TODO()-ed) but the majority of it is done.
2021-07-12AK: Add a DateTimeLexerIdan Horowitz
This is an AK::GenericLexer that exposes helper methods for parsing date and time related literals (years, months, days, hours, minutes, seconds, fractional seconds & more)
2021-07-12HackStudio: Activate window only on file dropKarol Kosek
2021-07-12SoundPlayer: Activate window only on file dropKarol Kosek
2021-07-12ImageViewer: Activate window only on file dropKarol Kosek
2021-07-12HexEditor: Accept file dropsKarol Kosek
2021-07-12ls: Add option to list subdirectories recursivelyAriel Don
List subdirectories encountered using -R or --recursive flags with ls.
2021-07-12LibCore: Implement File::is_link()Ariel Don
It was already possible to check if a path was a directory or a device. Now, it is possible to check if a path is a link in a similar manner.
2021-07-12LibWasm: Adjust signed integer operations to avoid UBAndrew Kaster
Perform signed integer shifts, addition, subtraction, and rotations using their corresponding unsigned type. Additionally, mod the right hand side of shifts and rotations by the bit width of the integer per the spec. This seems strange, but the spec is clear on the desired wrapping behavior of arithmetic operations.
2021-07-12LibWasm: Skip initializing active empty data sectionsAli Mohammad Pur
2021-07-12LibWasm: Use AK::StackInfo to track stack sizeAli Mohammad Pur
This way, we can make sure that it doesn't overflow when ASAN is enabled.
2021-07-12LibCore: Tolerate misaligned addresses in struct hostentAndrew Kaster
macOS's C library is not a good neighbor and doesn't ensure that the entry in struct hostent's h_addr_list are aligned properly for a char const*. In Socket::connect, use ByteReader instead of a c-style cast to work around this possible misalignment.
2021-07-12Utilities: Make `less` accept 'page up' and 'page down' keysBrandon van Houten
2021-07-12LibGUI: Ignore drop events by defaultKarol Kosek
Before this change, parent widgets such as Buttons or Labels were stealing drop events their parents. I noticed it during drag-n-dropping files into visualization widgets in Sound Player (which takes practically the entire application size and gave impression that drop events weren't supported in the app at all).
2021-07-12LibGUI: Use wrapped text rect for paint invalidationLuK1337
This fixes an issue where after anything past first line would not get invalidated after unhovering an icon.
2021-07-12UserspaceEmulator: Fix stack for new processesGunnar Beutner
Fixes #8646.
2021-07-12IPCCompiler: Use GENERATE_DEBUG from AK/Debug instead of custom definesAndrew Kaster
The IPCCompiler was using GENERATE_DEBUG_CODE, which was missing from AK/Debug.h.in, and plain old DEBUG. Let's just use the one that was already in the debug header, but unused.
2021-07-12LibC: Use correct macro to disable assert()Andrew Kaster
The C standard doesn't say anything about DEBUG, just NDEBUG :^)
2021-07-12Breakout: Only paint areas that needs to be updatedKarol Kosek
2021-07-12Revert "LibThreading: Fix BackgroundAction result use-after-free"Andreas Kling
This reverts commit b2e6088bff209e8bbb838cc86233e7d3f24ed650. This was a speculative fix that ended up not fixing the issue.
2021-07-12TaskbarWindow: Redraw start button when default font changesLuK1337
2021-07-12LibGUI: Redraw widgets when default font changesLuK1337
2021-07-12LibGUI: Add FontsChanged event and deliver it to windows and widgetsLuK1337