summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-01Base: Add Misc. Symbols and Pictographs to font Katica Regular 10Lady Gegga
1F50C, 1F50D, 1F50E, 1F523, 1F524, 1F582, 1F583, 1F5AF, 1F5B0, 1F5B1, 1F5B2, 1F5B4, 1F5B5, 1F5D5, 1F5E8, 1F5E9, 1F5EA, 1F5EB https://www.unicode.org/charts/PDF/U1F300.pdf
2022-01-01Base: Add Dingbats to font Katica Regular 10Lady Gegga
2780, 2781, 2782, 2783, 2784, 2785, 2786, 2787, 2788, 2789, 278A, 278B, 278C, 278D, 278E, 278F, 2790, 2791, 2792, 2793 https://www.unicode.org/charts/PDF/U2700.pdf
2022-01-01Base: Add Chinese characters to font Katica Regular 10Lady Gegga
6761, 6762, 4EF0, 4EFA, 4EFB, 4EFC, 4EF4, 4EF2, 4F55, 4F54, 4F43, 4F44, 4F42, 4F46, 4F40, 4ED6, 540E, 5410, 884C, 8840, 8841, 4EE5, 4EE6, 4EE7, 4EE8, 4EE9, 4EEA, 4F1A, 4F1B, 4F1C, 4F1D, 4F1E, 4F1F, 672C, 672B, 672A, 4E3A, 4E39, 4E38, 6240, 5BF9, 5BF8, 793E, 5E94, 5408 https://www.unicode.org/charts/PDF/U4E00.pdf
2022-01-01Base: Adjust 81EA in font Katica Regular 10Lady Gegga
81EA https://www.unicode.org/charts/PDF/U4E00.pdf
2021-12-31Kernel: Update E1000 link state using interruptdrblah
Calls to link_up() in the E1000 driver would read the link state directly from the hardware on every call. This had negative performance impact in high throughput situations since link_up() is called every time an IP packet's route is resolved. This patch takes inspiration from the RTL8139 network adapter where the link state is stored in a bool and only updated when the hardware generates an interrupt related to link state change. After this change I measured a ~9% increase in TCP Tx throughput using: cat /dev/zero | nc <host_IP> <host_port> from the Serenity VM to my host machine
2021-12-31LibJS: Add missing undefined fallback to IfStatement completionsLinus Groh
Also add spec comments.
2021-12-31test-wasm: Convert WebAssemblyModule::create() to ThrowCompletionOrLinus Groh
This exposed a missing exception check in parseWebAssemblyModule(), which could throw but still return a normal completion (which currently works as we check VM::exception() at the right point, but breaks when moving everything to exceptions).
2021-12-31LibDiff: Fix error when parsing a 'new' hunk locationConor Byrne
If the location started at 0, and / or the length was 0, it would originally turn out to be a location of { -1, -1 } when LibDiff was finished parsing, which was incorrect. To fix this, we only subtract 1 if `start` or `length` isn't 0.
2021-12-31HackStudio: Fix crash when clicking unstaged filesConor Byrne
In certain cases, an index might be invalid in the unstaged files view. We must check if this index is valid before attempting to read the index's data.
2021-12-31LibJS: Fix the Now.plainDateTime in case they go over a year boundarydavidot
Since years don't have a constant amount of seconds because they can be leap years no constant will work in all cases. We now test a timezone in both the positive and negative direction and check that at least one worked. Assuming years are at least 2 days long this will always pass at least one test.
2021-12-31LibJS: Convert to_reference() to ThrowCompletionOrdavidot
2021-12-31LibJS: Convert resolve_this_binding() to ThrowCompletionOrdavidot
Also add spec comments.
2021-12-30LibJS: Fix spec comment in Temporal::PlainDate::balance_iso_date()Emanuele Torre
This matches the text of the spec, and is more correct since the variable is being updated, not defined it. See: https://github.com/tc39/proposal-temporal/commit/5ab1822 --- I also changed `test_year += 1` to `test_year++` for consistency with step 11.c that has the same description.
2021-12-31Shell: Make redirection errors raise ShellErrorsAli Mohammad Pur
Naturally, this means that a command with a failing redirection will not start, and so will terminate the pipeline (if any). This also applies to the `exit` run when the shell is closed, fixing a fun bug there as well (thanks to Discord user Salanty for pointing that out) where closing the terminal (i.e. I/O error on the tty) with a failing `exit` command would make the shell retry executing `exit` every time, leading to an eventual stack overflow.
2021-12-31LibCore: Add Core::System::setpgid()Ali Mohammad Pur
2021-12-31LibCore: Make Core::System::pipe2() available on LagomAli Mohammad Pur
Note that this drops the flags on the floor if not on linux or serenity.
2021-12-30LibJS: Convert thrown exception to completion in binding initializationdavidot
This regressed in 676554d3 as it assumed to_reference() (already) returned a completion type instead of putting the error in vm.exception().
2021-12-30Kernel: Use the toolchain's `nm` in mkmap.shDaniel Bertalan
By using the binary from our build of binutils, we can be sure that `nm` supports demangling symbols, so we can avoid spawning a separate `c++filt` process.
2021-12-30LibJS: Add and fix some spec comments in AbstractOperationsdavidot
2021-12-30LibJS: Convert get_identifier_reference() to ThrowCompletionOrdavidot
And while we're here add spec comments.
2021-12-30LibJS: Convert resolve_binding() to ThrowCompletionOrdavidot
The spec has a note stating that resolve binding will always return a reference whose [[ReferencedName]] field is name. However this is not correct as the underlying method GetIdentifierReference may throw on env.HasBinding(name) thus it can throw. However, there are some scenarios where it cannot throw because the reference is known to exist in that case we use MUST with a comment.
2021-12-30Utilities/lsusb: Propagate errors in JSON decodingcreator1creeper1
2021-12-30Utilities/arp: Propagate errors in JSON decodingcreator1creeper1
2021-12-30Utilities/netstat: Propagate errors in JSON decodingcreator1creeper1
2021-12-30Utilities/ifconfig: Propagate errors in JSON decodingcreator1creeper1
2021-12-30Utilities/notify: Propagate errors in Gfx::Bitmap loadingcreator1creeper1
2021-12-30Utilities/lsirq: Propagate errors in JSON decodingcreator1creeper1
2021-12-30Utilities/mount: Propagate errors in JSON decodingcreator1creeper1
2021-12-30Utilities/lsof: Propagate errors in JSON decodingcreator1creeper1
2021-12-30Pong: Support W and S keys for movementr00ster91
2021-12-30LibGUI: Fix leading whitespaces when text is wrappedYoung-Jin Park
This commit should fix a bug where using leading whitespaces when a line is wrapped results in a crash. Now it should correctly highlight the leading whitespaces even when the leading whitespaces are longer than a line.
2021-12-30Kernel: Simplify some if statementsHendiadyoin1
2021-12-30Kernel: Add some implied auto qualifiersHendiadyoin1
2021-12-30Kernel: Remove else-after-return statements in CommandLine.cppHendiadyoin1
2021-12-30Kernel: Remove superfluous moves in CommandLine.cppHendiadyoin1
2021-12-30Kernel: Add missing includes in ThreadTracer and WorkQueueHendiadyoin1
2021-12-30LibGUI+SoundPlayer: Use 'decrease_slider_by_page_steps()' methodElyse
This method allow us to avoid repeating the pattern 'set_value(value() - page_step() * page_number)'.
2021-12-30LibGUI+SoundPlayer: Use 'increase_slider_by_page_steps()'Elyse
This method allow us to avoid repeating the pattern 'set_value(value() + page_step() * page_number)'.
2021-12-30LibGUI+LibWeb: Use 'decrease_slider_by_steps()' methodElyse
This method allow us to avoid repeating the pattern 'set_value(value() - step() * step_number)'.
2021-12-30LibGUI+LibWeb: Use 'increase_slider_by_steps()' methodElyse
This method allow us to avoid repeating the pattern 'set_value(value() + step() * step_number)'.
2021-12-30Everywhere: Use 'decrease_slider_by()' method from AbstractSliderElyse
The same idea as 'increase_slider_by()', it helps us to avoid repeating the pattern 'set_value(value() - delta)'.
2021-12-30Everywhere: Use 'increase_slider_by()' method from AbstractSliderElyse
This method help us to avoid repeating the pattern 'set_value(value() + delta)'.
2021-12-30LibGUI: Add movement methods to AbstractSliderElyse
These methods give us a simple way to move up and down the slider, without needing to repeat the 'set_value(value() + some_value)' pattern that multiple applications and libraries use.
2021-12-30LibWeb: Implement Element.getAttributeNamesLuke Wilde
2021-12-30Shell: Avoid many single byte write() syscalls when printing the promptDaniel Bertalan
Whenever the prompt is printed, we write a line's worth of space characters to the terminal to ensure that the prompt ends up on a new line even if there is dangling output on the current line. We write these to the stderr, which is unbuffered, so each putc() call would come with the overhead of a system call. Let's use a buffer + fwrite() instead, since heap allocation is much faster.
2021-12-30LibGL+LibSoftGPU: Implement texture coordinate generationJelle Raaijmakers
Texture coordinate generation is the concept of automatically generating vertex texture coordinates instead of using the provided coordinates (i.e. `glTexCoord`). This commit implements support for: * The `GL_TEXTURE_GEN_Q/R/S/T` capabilities * The `GL_OBJECT_LINEAR`, `GL_EYE_LINEAR`, `GL_SPHERE_MAP`, `GL_REFLECTION_MAP` and `GL_NORMAL_MAP` modes * Object and eye plane coefficients (write-only at the moment) This changeset allows Tux Racer to render its terrain :^)
2021-12-30LibSoftGPU: Use eye coordinates for fog calculationJelle Raaijmakers
Now that we calculate and store eye coordinates for each vertex, we should use their `z` values for the fragment depth used in further fog calculations. This fixes the fog in Tux Racer :^)
2021-12-30LibGL+LibSoftGPU: Implement eye, clip, NDC and window coordinatesJelle Raaijmakers
This follows the OpenGL 1.5 spec much more closely. We need to store the eye coordinates especially, since they are used in texture coordinate generation and fog fragment depth calculation.
2021-12-30LibSoftGPU: Set obvious FP values for `depth_min/max`Jelle Raaijmakers
2021-12-30LibGL: Use standard debug message for `gl_materialv`Jelle Raaijmakers