summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-08KeyboardMapper: Display dirty close icon when the file is changedKarol Kosek
2022-03-08Tests: Include limits.h for PATH_MAX in realpath testsTim Schumacher
2022-03-08Tests: Include limits.h for MB_LEN_MAX in wchar testsTim Schumacher
2022-03-08Kernel/Graphics: Override first byte of the EDID in Intel Native driverLiav A
2022-03-08Kernel/Graphics: Print contents of offending EDID in Intel Native driverLiav A
2022-03-08Utilities/lspci: Add verbose flag to show data about PCI BARsLiav A
Use the exposed sysfs interface and print the addresses to the user if requested to.
2022-03-08Kernel: Expose PCI BAR addresses in sysfsLiav A
Regardless of whether we use those BARs or not, expose them so userland can use these values for its usage.
2022-03-08Utilities/lspci: Iterate over /sys/bus/pci instead of reading /proc/pciLiav A
This opens many opportunities to add more data printed in lspci in a flexible manner - so instead of reading an ever-expanding JSON encoded file, we can add more features and let the utility read the directory entries from sysfs. This also allows not only filtering data on devices but to easily filter non-wanted devices when printing the output.
2022-03-08LibWeb: Add explicit color to mark elementLady Gegga
2022-03-08LibWeb: Add default styling to abbr, acronym, mark, strike and ttLady Gegga
2022-03-08Mandelbrot: Add Help menu with standard About actionPaulo Henrique Silva
Noticed that Mandelbrot didn't use the standard About action in the Help menu. As a first patch to Serenity, this patch fixes it.
2022-03-08Meta: Fix that the processor count was output to stderr and ignoreddavidot
Because of ninja's default behavior of using all processors this gave the correct behaviour because MAKEJOBS was empty. However this meant that the processor count was printed to stderr when building.
2022-03-08Meta: Read MAKEJOBS to limit jobs for ninja in serenity.shdavidot
The default behavior of using all cores will still apply if no MAKEJOBS variable is supplied.
2022-03-08Base: Remove metadata from emojis to decrease filesizeLady Gegga
2022-03-08LibWeb: Remove outdated FIXME comment in Namespaces validate_and_extractnetworkException
As step "2. Validate qualifiedName" got implemented in bfa7aad0f6443249ae1a8f577b3150ac32add7a3, parts is known to have a length of 2.
2022-03-08LibSoftGPU: Remove a lot of `[ui]32x4` casts in `Sampler`Jelle Raaijmakers
2022-03-08LibGL: Better handling of texture targets and default texturesJelle Raaijmakers
We were lacking support for default textures (i.e. calling `glBindTexture` with a `texture` argument of `0`) which caused our Quake2 port to render red screens whenever a video was playing. Every texture unit is now initialized with a default 2D texture. Additionally, we had this concept of a "currently bound target" on our texture units which is not how OpenGL wants us to handle targets. Calling `glBindTexture` should set the texture for the provided target only, making it sort of an alias for future operations on the same target. Finally, `glDeleteTextures` should not remove the bound texture from the target in the texture unit, but it should reset it to the default texture.
2022-03-08LibGL: East-const `glTex*` methodsJelle Raaijmakers
2022-03-08LibGL: Remove duplicate `public:` from `Texture2D.h`Jelle Raaijmakers
2022-03-08Ports: Add OpenGL include dir to quake2 buildJelle Raaijmakers
2022-03-08LibTextCodec: Add support for the UTF16-LE encodingJelle Raaijmakers
2022-03-08js: Don't try to run empty scriptsMaciej
When you try to run script containing only whitespace, it will return undefined and doesn't do anything anyway. Let's match NodeJS behavior and just don't display anything. This only applies to REPL input and not to modules.
2022-03-08LibWeb: Move Timer from DOM directory & namespace to HTMLLinus Groh
Timers are part of the HTML spec. :^) https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
2022-03-08LibWeb: Move Window from DOM directory & namespace to HTMLLinus Groh
The Window object is part of the HTML spec. :^) https://html.spec.whatwg.org/multipage/window-object.html
2022-03-08LibWeb: Make InlineLevelIterator emit absolutely positioned itemsAndreas Kling
Note that we don't put absolutely positioned items on a line! This is just so that IFC can discover boxes and pass them along to BFC. This fixes an issue where only direct children of the IFC containing block were considered for absolute positioning. Now we pick up absolutely positioned children of nested inline nodes as well.
2022-03-08Kernel: Mark sys$fsync() as not needing the big lockAndreas Kling
This syscall doesn't access any data that was implicitly protected by the big lock.
2022-03-08Kernel: Mark sys$readlink() as not needing the big lockAndreas Kling
This syscall doesn't access any data that was implicitly protected by the big lock.
2022-03-08Kernel: Mark sys$stat() as not needing the big lockAndreas Kling
This syscall doesn't access any data that was implicitly protected by the big lock.
2022-03-08Kernel: Mark sys$fstat() as not needing the big lockAndreas Kling
This syscall doesn't access any data that was implicitly protected by the big lock.
2022-03-08Kernel: Mark sys$fchdir() as not needing the big lockAndreas Kling
This syscall doesn't access any data that was implicitly protected by the big lock.
2022-03-08Kernel: Mark sys$chdir() as not needing the big lockAndreas Kling
This syscall doesn't access any data that was implicitly protected by the big lock.
2022-03-08Kernel: Mark sys$getcwd() as not needing the big lockAndreas Kling
This syscall doesn't access any data that was implicitly protected by the big lock.
2022-03-08Kernel: Mark sys$realpath() as not needing the big lockAndreas Kling
This syscall doesn't access any data that was implicitly protected by the big lock.
2022-03-08Kernel: Put Process unveil state in a SpinlockProtected containerAndreas Kling
This makes path resolution safe to perform without holding the big lock.
2022-03-08Kernel: Put Process's current directory in a SpinlockProtectedAndreas Kling
Also let's call it "current_directory" instead of "cwd" everywhere.
2022-03-08Kernel: Make SpinlockProtected constructor forward all argumentsAndreas Kling
This allows you to instantiate SpinlockProtected<T> where T requires constructor arguments.
2022-03-08Kernel: Mark sys$anon_create() as not needing the big lockAndreas Kling
This syscall is already safe for no-big-lock since it doesn't access any unprotected data.
2022-03-08LibSoftGPU: Choose correct texture filter based on scale factorStephan Unverwerth
Previously the test determining whether to use texture maginifaction or texture minification was reversed. This commit fixes the test and also provides an early out of the sampler in case of texture magnification since magnification does not make use of mipmaps.
2022-03-08Kernel: Implement kmalloc_good_size for the new kmallocIdan Horowitz
This lets kmalloc-aware data structures like Vector and HashTable use up the extra wasted space we allocate in the slab heaps & heap chunks.
2022-03-07LibGUI: Animated smooth scroll interpolationForLoveOfCats
2022-03-07LibWeb: Make TextNode::ChunkIterator::try_commit_chunk() constMaciej
2022-03-07Kernel: Wrap HIDManagement keymap data in SpinlockProtectedAndreas Kling
This serializes access to the current keymap data everywhere in the kernel, allowing to mark sys$setkeymap() as not needing the big lock.
2022-03-07LibJS: Use Vector instead of HashMap in DeclarativeEnvironmentAndreas Kling
Constructing the HashMap in DeclarativeEnvironment was by far the most expensive thing when making JavaScript function calls. As it turns out, we don't really need this to be a HashMap in the first place, as lookups are cached (by EnvironmentCoordinate) after the first access, so after that we were not even looking in the HashMap, going directly to the bindings Vector instead. This reduces function_declaration_instantiation() from 16% to 9% when idling in "Biolab Disaster". It also reduces has_binding() from 3% to 1% on the same content. With these changes, we now actually get to idle a little bit between game frames on my machine. :^)
2022-03-07Base: Add ratio tests to media-query test pageSam Atkins
Note that only the first test actually functions currently. Single-number ratios instead get parsed as a `<number>`, and will do until the parser gets smarter. (The alternative, where all single-numbers get parsed as `<ratio>`, does make the tests succeed, but numbers are more common than ratios so I have given numbers preference for now.) Also simplified the styling and text a bit. Now, red = fail, green = success. No more "unstyled = fail" stuff.
2022-03-07LibWeb: Add Ratio type to MediaFeatureValueSam Atkins
As noted, the Parser can't handle the `<number>` syntax for this - it gets parsed instead by the `<number>` branch. We can't actually resolve the ambiguity without making the Parser aware of what type each media-feature is, but I will get to that soon. :^)
2022-03-07LibWeb: Introduce and parse CSS Ratio typeSam Atkins
This is only used by media-queries, so for now we can skip adding/parsing a StyleValue for these.
2022-03-07LibWeb: Correct "color" media-feature valueSam Atkins
This is bits per color channel, not bits per pixel, so 32 was a little over-optimistic. :^)
2022-03-07Documentation: Improve VS Code settingsdotjpg3141
- Set commit message length to 72 according to CONTRIBUTING.md - Format trailing new lines according to check-newlines-at-eof.py
2022-03-07LibGfx: Reimplement `Vector::length()` as a loopJelle Raaijmakers
This more generic loop supports arbitrary values of `N` and also gets rid of that strange single argument `AK::hypot` invocation.
2022-03-07LibGfx+LibSoftGPU: Add and use `Vector.xy()`Jelle Raaijmakers
Also use `.xyz()` where appropriate.