Andreas Kling
c9f6786e8b
Kernel: Make various T::class_name() and similar return StringView
...
Instead of returning char const*, we can also give you a StringView.
2021-07-11 01:46:59 +02:00
Andreas Kling
fa9111ac46
Kernel: Rename ProcFSComponentsRegistrar => ProcFSComponentRegistry
...
This matches the formatting used in SysFS.
2021-07-11 01:40:26 +02:00
Andreas Kling
c1143e1bae
Kernel: Remove friend classes from ProcFSComponentsRegistrar
2021-07-11 01:39:51 +02:00
Andreas Kling
358a7cc448
Kernel: Rename SysFS related classes in BIOS code
...
Give them names that sound related to SysFS.
2021-07-11 01:38:01 +02:00
Andreas Kling
84ae2b6f00
Kernel: Use nested namespace declarations in ACPI code
2021-07-11 01:36:30 +02:00
Andreas Kling
b1c68dd235
Kernel: Rename SysFS related classes in ACPI code
...
Give them names that sound related to SysFS.
2021-07-11 01:35:17 +02:00
Andreas Kling
805319ed30
Kernel: Replace "Folder" => "Directory" everywhere
...
Folders are a GUI concept, file systems have directories. :^)
2021-07-11 01:33:40 +02:00
Andreas Kling
5ec3f5433e
Kernel: Rename SysFS related classes in PCI code
...
Give them names that sound related to SysFS.
2021-07-11 01:31:48 +02:00
Andreas Kling
c74b3a310f
Kernel: Remove pointless lock/unlock in SysFS constructor
2021-07-11 01:18:20 +02:00
Andreas Kling
a9decf5aa6
Kernel: Remove all friend declarations from SysFSComponentRegistry
...
Let them access the class using public API instead.
2021-07-11 01:17:57 +02:00
Andreas Kling
d40ea1a0a8
Kernel: Move SystemExposed.* => FileSystem/SysFSComponent.*
2021-07-11 01:14:53 +02:00
Andreas Kling
807aadbe6e
Kernel: Remove some dead code and unused includes in SysFS files
2021-07-11 01:13:24 +02:00
Andreas Kling
98acebf56b
Kernel: Move SysFS forward declarations to FileSystem/Forward.h
2021-07-11 01:09:48 +02:00
Andreas Kling
60a7a9d523
Kernel: Rename SystemExposedFolder => SysFSDirectory
...
"Folder" is a GUI concept, let's call this "Directory".
Also, "System" is completely generic, so let's be more specific and
call this "SysFS..."
2021-07-11 01:07:27 +02:00
Andreas Kling
517170a986
Kernel: Rename SystemExposedComponent => SysFSComponent
2021-07-11 01:06:27 +02:00
Andreas Kling
27244eb0ee
Kernel: Rename SystemRegistrar => SysFSComponentRegistry
2021-07-11 01:05:26 +02:00
Andreas Kling
ea8578bf11
Kernel: Remove unnecessary includes in FileSystem.{cpp,h}
2021-07-11 01:01:54 +02:00
Andreas Kling
55c6e08c9e
Kernel: Remove unnecessary String allocation in SystemExposedFolder
2021-07-11 00:58:23 +02:00
Andreas Kling
66f483b1a1
Kerne: Switch SysFS to east-const style
2021-07-11 00:56:53 +02:00
Andreas Kling
7a4e6257b7
Kernel: Switch Custody to east-const style
2021-07-11 00:51:38 +02:00
Andreas Kling
4238e2e9be
Kernel: Only allow looking up Mounts by InodeIdentifier
...
Let's simplify the interface by not allowing lookup by Inode&.
2021-07-11 00:51:06 +02:00
Andreas Kling
6a27de2d94
Kernel: Make VirtualFileSystem::Mount a top-level class
...
And move it to its own compilation unit.
2021-07-11 00:51:06 +02:00
Andreas Kling
79552c91d5
Kernel: Rename BlockBasedFS => BlockBasedFileSystem
2021-07-11 00:34:36 +02:00
Andreas Kling
502bbacea0
Kernel: Rename FileBackedFS => FileBackedFileSystem
2021-07-11 00:33:27 +02:00
Andreas Kling
07c4c89297
Kernel: Make VirtualFileSystem::sync() static
2021-07-11 00:26:17 +02:00
Andreas Kling
0d39bd04d3
Kernel: Rename VFS => VirtualFileSystem
2021-07-11 00:25:24 +02:00
Andreas Kling
d53d9d3677
Kernel: Rename FS => FileSystem
...
This matches our common naming style better.
2021-07-11 00:20:38 +02:00
Timothy Flynn
dd65f52331
FlappyBug: Only paint areas which need to be painted
...
Drawing the entire PNG background is rather expensive. Instead, only
draw the rects that are updating.
2021-07-10 23:28:20 +02:00
Gunnar Beutner
e2299b52de
Documentation: Move the QEMU troubleshooting section
...
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-10 23:24:45 +02:00
Gunnar Beutner
c3e8866118
Documentation: Add screenshot for WHPX
2021-07-10 23:24:45 +02:00
Gunnar Beutner
baf40ad96d
Documentation+Meta: Automatically add disable_virtio on Windows
2021-07-10 23:24:45 +02:00
Gunnar Beutner
cc87bf46c1
Documentation+Meta: Automatically set vmx=off on Windows
2021-07-10 23:24:45 +02:00
Gunnar Beutner
2c392669c6
Documentation: Remove another redundant chapter
...
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-10 23:24:45 +02:00
Gunnar Beutner
d23d81d075
Documentation: Remove redundant information
...
These workarounds are already mentioned in the "Hardware acceleration"
section.
2021-07-10 23:24:45 +02:00
Gunnar Beutner
df84550b8f
Documentation: Suggest using x86_64 QEMU on Windows
...
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-10 23:24:45 +02:00
Gunnar Beutner
ee7e9f05a8
Meta: Automatically use WSL paths on Windows
2021-07-10 23:24:45 +02:00
Gunnar Beutner
9026dbbfd6
Documentation: Reorganize the build documentation
2021-07-10 23:24:45 +02:00
Gunnar Beutner
9780cdfb33
Meta: Automatically pick an appropriate GCC binary
2021-07-10 23:24:45 +02:00
Andreas Kling
1e5c2c6231
Spider: Improved 16x16 app icon
2021-07-10 22:03:22 +02:00
Ralf Donau
8ee3a5e09e
Kernel: Logic fix in the pledge syscall
...
Pledge should check m_has_promises. Calling pledge("", nullptr)
does not fail on an already pledged process anymore.
2021-07-10 21:59:29 +02:00
Itamar
b5a02b180c
LibCpp: Use fast_is<T> and verify_cast<T> to replace C-style casts
...
Thanks to @alimpfard for suggesting this :)
2021-07-10 21:58:28 +02:00
Itamar
34fc6c7e1c
LibCpp: Make the fields of AST node types private
...
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-10 21:58:28 +02:00
FalseHonesty
d60bd42972
LibVideo/VP9: Implement MV reading & rectify MV storage issues
...
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-10 21:28:56 +02:00
FalseHonesty
27fdf8361c
LibVideo/VP9: Finish implementing block decoding (6.4.4)
...
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-10 21:28:56 +02:00
FalseHonesty
074fbd1b06
LibVideo/VP9: Implement parsing Token and MoreCoefs trees
...
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-10 21:28:56 +02:00
FalseHonesty
aa27ca1b16
LibVideo/VP9: Implement token parsing (6.4.24-6.4.26)
...
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-10 21:28:56 +02:00
FalseHonesty
d79c9c262f
LibVideo/VP9: Implement sections 6.1.2 and 8.4.1-8.4.4
...
These section implement the behavior to refresh the probability
tables after parsing a frame.
2021-07-10 21:28:56 +02:00
FalseHonesty
cf6b3d0ce9
LibVideo/VP9: Begin reference frame update process (8.10)
...
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-10 21:28:56 +02:00
FalseHonesty
514559f074
LibVideo/VP9: Rename Decoder -> Parser & create an actual Decoder class
...
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-10 21:28:56 +02:00
FalseHonesty
66628053d4
LibVideo/VP9: Start parsing residuals (6.4.21-6.4.23)
...
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-10 21:28:56 +02:00