summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-11Kernel: Rename SystemExposedComponent => SysFSComponentAndreas Kling
2021-07-11Kernel: Rename SystemRegistrar => SysFSComponentRegistryAndreas Kling
2021-07-11Kernel: Remove unnecessary includes in FileSystem.{cpp,h}Andreas Kling
2021-07-11Kernel: Remove unnecessary String allocation in SystemExposedFolderAndreas Kling
2021-07-11Kerne: Switch SysFS to east-const styleAndreas Kling
2021-07-11Kernel: Switch Custody to east-const styleAndreas Kling
2021-07-11Kernel: Only allow looking up Mounts by InodeIdentifierAndreas Kling
Let's simplify the interface by not allowing lookup by Inode&.
2021-07-11Kernel: Make VirtualFileSystem::Mount a top-level classAndreas Kling
And move it to its own compilation unit.
2021-07-11Kernel: Rename BlockBasedFS => BlockBasedFileSystemAndreas Kling
2021-07-11Kernel: Rename FileBackedFS => FileBackedFileSystemAndreas Kling
2021-07-11Kernel: Make VirtualFileSystem::sync() staticAndreas Kling
2021-07-11Kernel: Rename VFS => VirtualFileSystemAndreas Kling
2021-07-11Kernel: Rename FS => FileSystemAndreas Kling
This matches our common naming style better.
2021-07-10FlappyBug: Only paint areas which need to be paintedTimothy Flynn
Drawing the entire PNG background is rather expensive. Instead, only draw the rects that are updating.
2021-07-10Documentation: Move the QEMU troubleshooting sectionGunnar Beutner
This is no longer relevant for most users because due to an unrelated change to Meta/run.sh the default display backend is now SDL which does not exhibit this problem.
2021-07-10Documentation: Add screenshot for WHPXGunnar Beutner
2021-07-10Documentation+Meta: Automatically add disable_virtio on WindowsGunnar Beutner
2021-07-10Documentation+Meta: Automatically set vmx=off on WindowsGunnar Beutner
2021-07-10Documentation: Remove another redundant chapterGunnar Beutner
Clearly nobody has used this in a while because cpuinfo.c for GCC 11 does not contain the code that's mentioned here.
2021-07-10Documentation: Remove redundant informationGunnar Beutner
These workarounds are already mentioned in the "Hardware acceleration" section.
2021-07-10Documentation: Suggest using x86_64 QEMU on WindowsGunnar Beutner
The x86_64 QEMU binary supports both i386 as well as x86_64 guests. By using the x86_64 binary users won't have to change anything when switching between i386 and x86_64 builds.
2021-07-10Meta: Automatically use WSL paths on WindowsGunnar Beutner
2021-07-10Documentation: Reorganize the build documentationGunnar Beutner
2021-07-10Meta: Automatically pick an appropriate GCC binaryGunnar Beutner
2021-07-10Spider: Improved 16x16 app iconAndreas Kling
2021-07-10Kernel: Logic fix in the pledge syscallRalf Donau
Pledge should check m_has_promises. Calling pledge("", nullptr) does not fail on an already pledged process anymore.
2021-07-10LibCpp: Use fast_is<T> and verify_cast<T> to replace C-style castsItamar
Thanks to @alimpfard for suggesting this :)
2021-07-10LibCpp: Make the fields of AST node types privateItamar
Previously almost all fields were public and were directly accessed by the Parser and CppComprehensionEngine. This commit makes all fields of AST node types private. They are now accessed via getters & setters.
2021-07-10LibVideo/VP9: Implement MV reading & rectify MV storage issuesFalseHonesty
With this patch we are finally done with section 6.4.X of the spec :^) The only parsing left to be done is 6.5.X, motion vector prediction. Additionally, this patch fixes how MVs were being stored in the parser. Originally, due to the spec naming two very different values very similarly, these properties had totally wrong data types, but this has now been rectified.
2021-07-10LibVideo/VP9: Finish implementing block decoding (6.4.4)FalseHonesty
Though technically block decoding calls into some other incomplete methods, so it isn't functionally complete yet. However, we are very close to being done with the 6.4.X sections :)
2021-07-10LibVideo/VP9: Implement parsing Token and MoreCoefs treesFalseHonesty
These elements were being used in the new tokens implementation, so support for them in the TreeParser has been added. Additionally, this uncovered a bug where the nonzero contexts were being cleared with the wrong size.
2021-07-10LibVideo/VP9: Implement token parsing (6.4.24-6.4.26)FalseHonesty
Note that this now requires a couple new syntax types to be parsed in the TreeParser, so a follow-up commit will implement that behavior.
2021-07-10LibVideo/VP9: Implement sections 6.1.2 and 8.4.1-8.4.4FalseHonesty
These section implement the behavior to refresh the probability tables after parsing a frame.
2021-07-10LibVideo/VP9: Begin reference frame update process (8.10)FalseHonesty
This was required for correctly parsing more than one frame's height/width data properly. Additionally, start handling failure a little more gracefully. Since we don't fully parse a tile before starting to parse the next tile, we will now no longer make it past the first tile mark, meaning we should not handle that scenario well.
2021-07-10LibVideo/VP9: Rename Decoder -> Parser & create an actual Decoder classFalseHonesty
The class that was previously named Decoder handled section 6.X.X of the spec, which actually deals with parsing out the syntax of the data, not the actual decoding logic which is specified in section 8.X.X. The new Decoder class will be in charge of owning and running the Parser, as well as implementing all of the decoding behavior.
2021-07-10LibVideo/VP9: Start parsing residuals (6.4.21-6.4.23)FalseHonesty
Additionally, this uncovered a couple bugs with existing code, so those have been fixed. Currently, parsing a whole video does fail because we are now using a new calculation for frame width, but it hasn't been fully implemented yet.
2021-07-10LibVideo/VP9: Refactor how above & left contexts are stored & clearedFalseHonesty
These make more sense as Vectors, and it makes it much easier to manage their sizing.
2021-07-10LibVideo/VP9: Specify which spec section defines certain behaviorsFalseHonesty
2021-07-10LibVideo/VP9: Clean up formatting & use range-based for loopsFalseHonesty
2021-07-10LibVideo/VP9: Implement simple FIXMEs that use now supported dataFalseHonesty
2021-07-10LibVideo/VP9: Implement more TreeParser probability calculationsFalseHonesty
Now TreeParser has mostly complete probability calculation implementations for all currently used syntax elements. Some of these calculation methods aren't actually finished because they use data we have yet to parse in the Decoder, but they're close to finished.
2021-07-10LibVideo/VP9: Implement syntax element counting for supported elementsFalseHonesty
With the progress made in the Decoder thus far, we have the ability to support most of the syntax element counters in the tree parser. Additionally, it will now crash when trying to count unsupported elements.
2021-07-10WindowServer: Flush display buffer when flashingTom
If the device requires a flush and we modify the front buffer, we need to flush those changes to the front buffer. This makes the flashing work using the VirtIOGPU. Also fix a minor bug where we flushed the front buffer instead of the back buffer after flipping, which caused the VirtIOGPU to not work as expected when using the SDL backend and disabling buffer flipping.
2021-07-10Kernel: Make VirtIO GPU buffer flipping more spec compliantTom
The spec requires a flush after setting the new buffer resource id, which is required by QEMUs SDL backend but not the GTK backend. This brings us in line with the spec and makes it work for the SDL backend.
2021-07-10PixelPaint: Check modifier on mousemove in LineToolMarcus Nilsson
Previously m_constrain_angle could end up not being reset if the keyup-event was lost, for example when opening a dialog. Instead check the modifiers in on_mousemove().
2021-07-10SpaceAnalyzer: Show folder total sizeKarol Kosek
2021-07-10LibJS: Pad abs(year) < 1000 with zeros in Date.prototype.toString()Linus Groh
2021-07-10LibJS: Make parse_simplified_iso8601() use Optional<int> instead of -1Linus Groh
...for the non-success state. This fixes a crash when parsing dates with the year -1, as we would assert successful parsing ("year != -1"). Mixing Optional and -1 seems worse and more complicated than just using Optional for all the values, so I did that instead.
2021-07-10LibJS: Make Date.now() return a floor()'d milliseconds valueLinus Groh
It is defined as follows: 21.4.3.1 Date.now ( ) https://tc39.es/ecma262/#sec-date.now The now function returns the time value designating the UTC date and time of the occurrence of the call to now. "Time value" is defined as: 21.4.1.1 Time Values and Time Range https://tc39.es/ecma262/#sec-time-values-and-time-range An ECMAScript time value is a Number, either a finite integral Number representing an instant in time to millisecond precision or NaN representing no specific instant. By flooring the value we match the behavior in the Temporal proposal's Temporal.ZonedDateTime.prototype.epochMilliseconds getter: 4. Let ms be RoundTowardsZero(ℝ(ns) / 10^6). With that being defined as: 13.30 RoundTowardsZero ( x ) https://tc39.es/proposal-temporal/#sec-temporal-roundtowardszero 1. Return the mathematical value that is the same sign as x and whose magnitude is floor(abs(x)). This is makes the last of the currently 15 Temporal tests in test262 work, which compares Temporal.now.instant() with Date.now() :^)
2021-07-10expr: Make Match expressions comply with POSIXAli Mohammad Pur
They should print the contents of capture group 1, if it exists.