Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-03-17 | AK: Implement terabytes, petabytes, exabytes | Jean-Baptiste Boric | |
2021-03-17 | AK: Add 64 bit methods to JsonValue | Jean-Baptiste Boric | |
2021-03-17 | Tests: Create stress-writeread | Jean-Baptiste Boric | |
2021-03-17 | Kernel: Add 64 bit file size support to Ext2FS | Jean-Baptiste Boric | |
2021-03-17 | Userland: Fix printf specifiers with off_t | Jean-Baptiste Boric | |
In theory we should probably use the 'j' qualifier, but we don't support it. | |||
2021-03-17 | LibC+Kernel: Switch off_t to 64 bits | Jean-Baptiste Boric | |
2021-03-17 | Kernel: Refactor storage stack with u64 as file operations offset | Jean-Baptiste Boric | |
2021-03-17 | Kernel: Refactor storage stack with u64 as block index | Jean-Baptiste Boric | |
2021-03-17 | Kernel: Refactor storage stack with u64 as number of blocks | Jean-Baptiste Boric | |
2021-03-17 | Kernel: Rationalize logs inside Ext2Fs | Jean-Baptiste Boric | |
2021-03-17 | Piano: Avoid selecting out of range notes. | Oleg Sikorskiy | |
Fixes #5736. The selected note value could also underflow if you drag to the left, but the assert got triggered only in case you're dragging past the end of the note roll. | |||
2021-03-17 | LibCompress: fail gracefuly on invalid symbols in DeflateDecompressor | Idan Horowitz | |
2021-03-17 | LibCompress: Check for impossible back references in DeflateDecompressor | Idan Horowitz | |
This commit makes sure that we fail if an encoded lz77 back reference references bytes that are outside our sliding window, instead of just silently failing, which triggers an assertion down the line. | |||
2021-03-17 | LibJS: Always synthesize "arguments" object when there's a callee | Andreas Kling | |
Instead of counting the number of call frames on the VM stack, we now always fake the "arguments" object when the current call frame has a callee value. This fixes an issue with DOM event handlers in LibWeb not being able to access "arguments" since they were called without an outer frame. | |||
2021-03-17 | LibJS: Add a basic test for arguments.callee | Andreas Kling | |
2021-03-17 | LibJS: Actually use eval() in non-string arg eval test | Linus Groh | |
2021-03-17 | LibJS: eval(x) should return x without evaluation if x is not a string | Andreas Kling | |
2021-03-17 | LibJS: Rename GlobalObject::initialize() => initialize_global_object() | Andreas Kling | |
This function was shadowing Object::initialize() which cannot be called on global objects and has a different set of parameters. | |||
2021-03-17 | AK: Move move() into the "std" namespace | Andreas Kling | |
This makes GCC emit warnings about redundant and pessimizing moves. It also allows static analyzers like clang-tidy to detect common bugs like use-after-move. | |||
2021-03-17 | Everywhere: Remove pessimizing and redundant move() | Andreas Kling | |
2021-03-17 | AK: Tests: TestURL: Add port_int_overflow_wrap test | Brendan Coles | |
2021-03-17 | QuickShow: Animate animated images :^) | Linus Groh | |
With a little help (read: copy & paste) from ImageWidget, QuickShow will now cycle through the frames of animated images - enjoy the cat GIFs! Future improvement: cache decoded images like LibWeb's ImageResource to waste less CPU - the same applies to LibGUI though, maybe we can put something shared in LibGfx. Closes #5837. | |||
2021-03-17 | LibGUI: Animate any image in ImageWidget, not just *.gif | Linus Groh | |
The image decoder already tells us whether the image is animated and it can provide more than one frame, let's not put this behind an artificial "file path must end with lowercase .gif" barrier. | |||
2021-03-16 | LibGfx: Don't truncate macroblock indices in JPG decoder. | Oleg Sikorskiy | |
2021-03-16 | LibJS: Ensure SequenceExpression has two or more expressions | Linus Groh | |
Just a sanity check, as we should be able to make this assumption elsewhere - this way we can catch silly mistakes early. | |||
2021-03-16 | LibJS: Replace global_object.global_object() with just global_object | Linus Groh | |
That's just silly... | |||
2021-03-16 | LibJS: Only set receiver value fallback once in Object::get() | Linus Groh | |
2021-03-16 | LibCompress: Fail gracefuly on missing huffman codes in DeflateDecompressor | Idan Horowitz | |
2021-03-16 | LibCompress: Check and fail for input stream errors in DeflateDecompressor | Idan Horowitz | |
Since we were not checking for error flags set by read_bits we would just always read 0 as the bits' value, which in some edge cases could lead to an infinite loop. | |||
2021-03-16 | UserspaceEmulator: Add symlink, rename, set_coredump_metadata syscalls | Brendan Coles | |
2021-03-16 | Kernel: sysconf(_SC_CLK_TCK): Use TimeManagement::ticks_per_second() | thatdutchguy | |
2021-03-16 | Kernel: Add _SC_CLK_TCK to sysconf. | thatdutchguy | |
Unbreaks the hatari port. | |||
2021-03-16 | LibJS: Throw RangeError on BigInt exponentiation with negative exponent | Linus Groh | |
https://tc39.es/ecma262/#sec-numeric-types-bigint-exponentiate | |||
2021-03-16 | LibJS: Throw RangeError on BigInt division/modulo by zero | Linus Groh | |
https://tc39.es/ecma262/#sec-numeric-types-bigint-divide https://tc39.es/ecma262/#sec-numeric-types-bigint-remainder | |||
2021-03-16 | LibCompress: Allow partial header reads in GzipDecompressor | Idan Horowitz | |
We now read the header into a temporary header byte array that is used as the header once its filled up by the input stream, instead of just ending the stream if we are out of bytes mid header. | |||
2021-03-16 | Ports: Add Hatari Atari ST/STE/TT/Falcon emulator (#5812) | Dan MacDonald | |
2021-03-16 | LibGfx: Fail gracefuly on invalid interlace method in PNGLoader | Idan Horowitz | |
This fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29791 | |||
2021-03-16 | LibLine: Make the DSR response parser a bit more robust | AnotherTest | |
At the cost of using more read() syscalls, process the DSR response character-by-character. This avoids blocking forever waiting for an 'R' that will never come :P | |||
2021-03-16 | UserspaceEmulator: Print PID in mmap nullptr with MAP_FIXED reportln() | Brendan Coles | |
2021-03-16 | LibWeb: Invalidate element style after setting Element.style.foo | Andreas Kling | |
This makes us recompute style for the element so the change actually takes effect. :^) | |||
2021-03-16 | LibCpp: Return empty TranslationUnit from Parser::parse() if no tokens exist | Linus Groh | |
Fixes #5704. Fixes #5825. Fixes #5827. | |||
2021-03-16 | LibJS: Don't apply arguments object hack to global execution context | Linus Groh | |
Checking for the existence of a call frame is not enough to check if we're in a function call, as the global execution context is a regular call frame as well. Found by OSS-Fuzz, where simply accessing "arguments" in the global scope would crash due to call_frame().callee being an empty value (https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32115). | |||
2021-03-16 | LibAudio: decrease WavLoader's size limit to a more reasonable size | Idan Horowitz | |
A 4 GiB wav (current size limit) is very unreasonable, and larger than oss-fuzz's 2.5 GiB per-process memory limit. | |||
2021-03-16 | LibWeb: Dispatch "resize" events on the Window object | Andreas Kling | |
It's a little awkward that we do this in two places, but IPWV and OOPWV currently implement resizing a little differently from each other so we need to cover both paths. | |||
2021-03-16 | LibGUI: Remove has_visible_list members from TextEditor | thankyouverycool | |
This was a kludge to paint ComboBox editors before the advent of accessory windows, isn't being used anymore, and was inadvertently letting two ComboBoxes paint as if both had focus. | |||
2021-03-16 | LibWeb: Add Window.innerWidth and Window.innerHeight | Andreas Kling | |
2021-03-16 | Base: Change path to both `modload` and `modunload` (#5804) | Roi | |
2021-03-16 | LibCompress: Handle and propagate stream errors in GzipDecompressor | Idan Horowitz | |
This commit makes read short-circuit if its input stream errored, as well as propagate error handling to wrapped sub streams, similarly to DeflateDecompressor. | |||
2021-03-16 | LibCompress+AK: Dont short-circuit error handling propagation | Idan Horowitz | |
In the case that both the stream and the wrapped substream had errors to be handled only one of the two would be resolved due to boolean short circuiting. this commit ensures both are handled irregardless of one another. | |||
2021-03-16 | LibWeb: Use Gfx::Bitmap::RGBA8888 for ImageData bitmaps | Andreas Kling | |
This makes the colors show up correctly when using putImageData() to draw an ImageData onto a CanvasRenderingContext2D. :^) |