summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-19LibELF: Remove VERIFY() calls and let control flow return to the callerGunnar Beutner
This way we get better error messages for unresolved symbols because the caller logs the file and symbol names.
2021-04-19Shell/Tests: Replace 'type f -f' with 'type -f f'Ali Mohammad Pur
The order of arguments seemed be confusing ArgsParser. Fixes #6467.
2021-04-19Userland/test: Handle '!' being used as a stringAli Mohammad Pur
e.g. `test ! = !`. Fixes #6465.
2021-04-19Toolchain: Don't produce debug symbolsxackus
Previously debug symbols were produced and then stripped.
2021-04-19Meta: Remove references to Userland/Libraries/LibELF/exec_elf.hBrendan Coles
2021-04-19CMake: Quiet warnings about literal suffixLenny Maiorani
Problem: - Newer versions of clang (ToT) have a similar `-Wliteral-suffix` warning as GCC. A previous commit enabled it for all compilers. This needs to be silenced for the entire build, but it currently only is silenced for some directories. Solution: - Move the `-Wno-literal-suffix` option up in the CMakeLists.txt so that it gets applied everywhere.
2021-04-18Userland: Add telws, a CLI REPL to connect to WebSocketsDexesTTP
2021-04-18LibWebSocket: Add a new websocket libraryDexesTTP
This library currently contains a basic WebSocket client that can handle both standard TCP websockets and TLS websockets.
2021-04-18LibCore: Add ArgsParser::add_option(String&)DexesTTP
The API existed for add_positional_argument, but not for named arguments.
2021-04-18AK: Add default ports for Websockets to the URL classDexesTTP
2021-04-18Base: Update CsillaRegular10's glyph widthsIdan Horowitz
This fixed-width font had some garbage per glyph width values, which while previously was ok, they now had to be correctly set to indicate glyph presence.
2021-04-18LibGfx: Report font glyph presence based on glyph's specific widthIdan Horowitz
This uses the per glyph width to determine if the glyph is actually present in the font, and not just inside the range the font can covers This means that characters that are in the font's range but that are missing a glyph will show up as the missing character glyph instead of being invisible.
2021-04-18FontEditor+LibGfx: Allow user to specify if a specific glyph is presentIdan Horowitz
This replaces the glyph width spinbox in the font editor with a checkbox when editing fixed width fonts that indicates if the currently selected character's glyph is present in the edited font (For variable width fonts a non zero width implies presence) This commit also changes the background color of glyphs in the glyph map based on the presence of each specific glyph in the font.
2021-04-18LibGfx: Always load font widths array and use it for glyph presenceIdan Horowitz
Since we were always saving the glyph widths array to the font file, we now also always load it, even on (which also simplifies the logic a bit) fixed width fonts. We also set it initially to 0 instead of the default fixed width, which allows us to use it to check for glyph presence in both fixed width and variable width fonts.
2021-04-18LibGfx: Use size_t instead of int for glyph countIdan Horowitz
The count is always non-negative
2021-04-18AK/Hex: Cleanup implementationLenny Maiorani
Problem: - Post-increment of loop index. - `const` variables are not marked `const`. - Incorrect type for loop index. Solution: - Pre-increment loop index. - Mark all possible variables `const`. - Corret type for loop index.
2021-04-18AK/Hex: Decode hex digit in constexpr contextLenny Maiorani
Problem: - Hex digit decoding is not `constexpr`, but can be. Solution: - Move the body of the function to the header and decorate with `constexpr`. - Provide tests for run-time and compile-time evaluation.
2021-04-18AK/Complex: C++20-compatible comparison operatorsLenny Maiorani
Problem: - Clang correctly reports non-`const` member function comparison operators as ambiguous. Solution: - Make them `const`.
2021-04-18CMake: Remove redundancies and support clang ToTLenny Maiorani
Problem: - There are redundant options being set for some directories. - Clang ToT fails to compile the project. Solution: - Remove redundancies. - Fix clang error list.
2021-04-18Kernel: Add kernel command line flag to disable VirtIO supportIdan Horowitz
This command line flag can be used to disable VirtIO support on certain configurations (native windows) where interfacing with virtio devices can cause qemu to freeze.
2021-04-18Tests: Fix test-math expected valuesMarco Biscaro
Some of the expected values in test-math were wrong, which caused some tests to fail. The updated values were generated by Python's math library, and rounded to 6 decimals places: >>> import math >>> round(math.exp(20.99), 6) 1305693298.670892 Examples of failure outputs: FAIL: ../Userland/Tests/LibM/test-math.cpp:98: EXPECT_APPROXIMATE(exp(v.x), v.exp) failed with lhs=1305693298.670892, rhs=1304956710.432034, (lhs-rhs)=736588.238857 FAIL: ../Userland/Tests/LibM/test-math.cpp:99: EXPECT_APPROXIMATE(sinh(v.x), v.sinh) failed with lhs=652846649.335446, rhs=652478355.216017, (lhs-rhs)=368294.119428 FAIL: ../Userland/Tests/LibM/test-math.cpp:100: EXPECT_APPROXIMATE(cosh(v.x), v.cosh) failed with lhs=652846649.335446, rhs=652478355.216017, (lhs-rhs)=368294.119429
2021-04-18Kernel: Add magic key combo (Alt+Shift+F12) to dump scheduler stateAndreas Kling
Pressing this combo will dump a list of all threads and their state to the debug console. This might be useful to figure out why the system is not responding.
2021-04-18Toolchain/BuildIt.sh: let's have colours on macOS too :^)Emanuele Torre
MacOS's sed doesn't support "\x1b" expansion unlike GNU sed, but we can still use bash's $'\x1b' to expand it.
2021-04-18Base: Add hebrew character glyphs to the Katica Regular 10 fontGal Horowitz
The newly drawn glyphs cover the Hebrew letters (U+05D0 - U+05EA).
2021-04-18FontEditor: Update GlyphMap on font type changeIdan Horowitz
Since font type changes also change the amount of glyphs in a font, the glyph map has to be re-rendered to properly showcase the change.
2021-04-18LibGfx: Add support for fonts that include the Hebrew Unicode BlockIdan Horowitz
2021-04-18LibJS: Implement console.assert()Linus Groh
2021-04-18Browser+WebContent: Fix HTML injection in console functions outputLinus Groh
2021-04-18LibJS: Use 'if constexpr' / dbgln_if() instead of '#if LEXER_DEBUG'Linus Groh
2021-04-18LibJS: Use 'if constexpr' instead of '#if HEAP_DEBUG'Linus Groh
2021-04-18LibJS: Use dbgln_if() instead of '#if OBJECT_DEBUG'Linus Groh
2021-04-18Meta: Mark x86 debug register macros as false positives for CIFalseHonesty
2021-04-18HackStudio: Add ability to set hardware watchpoints on variablesFalseHonesty
We can now add a watchpoint to a variable by right clicking on it in the variable view, and selecting add watchpoint. To remove a watchpoint, the exact same action is repeated, except it will now say remove watchpoint.
2021-04-18HackStudio: Don't crash when invalid file is requested to be openedFalseHonesty
Previously, if the running debugger asked for HackStudio to open an invalid file, it would crash trying to switch to it. Now it will just continue without switching the editor.
2021-04-18LibDebug: Implement ability to set watchpointsFalseHonesty
Now we can set hardware watchpoints for our variables! :^) These watchpoints will be automatically removed when they go out of scope.
2021-04-18Kernel: Add ptrace commands for reading/writing the debug registersFalseHonesty
This adds PT_PEEKDEBUG and PT_POKEDEBUG to allow for reading/writing the debug registers, and updates the Kernel's debug handler to read the new information from the debug status register.
2021-04-18Kernel: Add debug register handlingFalseHonesty
This patch adds functions to read/write from the debug registers, and implements storing/loading them across context switches.
2021-04-18Kernel: Add boot argument to disable the UHCI ControllerLuke
Helps with bare metal debugging, as we can't be sure our implementation will work with a given machine. As reported by someone on Discord, their machine hangs when we attempt the dummy transfer.
2021-04-18FileManager: Show action status tips in the status bar :^)Andreas Kling
2021-04-18Meta: Add a note about spell checking to CONTRIBUTING.mdAndreas Kling
It's silly to waste review cycles on spelling, so let's ask that everyone check their spelling before submitting code.
2021-04-18Everywhere: Rename title_bar => titlebarAndreas Kling
2021-04-18LibC: Implement assignment suppression for vsscanfGunnar Beutner
The vsscanf library function lets the user skip assigning parsed values to the arguments, e.g. with %*c - even though a character is scanned it is not assigned to one of the arguments. The figlet port uses this. With this patch the port is actually usable.
2021-04-18Ports: Build shared library for libtiffGunnar Beutner
2021-04-18Ports: Fix the tarball hash for nasmGunnar Beutner
For some reason the hash was incorrect. Also, changed the hash type to SHA256. We should consider deprecating everything other than SHA256 maybe.
2021-04-18Ports: Fix dependency and linker options for SDL2_imageGunnar Beutner
2021-04-18LibC: Add netinet/in_systm.hHendiadyoin1
2021-04-18Toolchain: Add missing buildstep callsGunnar Beutner
2021-04-18Toolchain: Cache the output of uname -sGunnar Beutner
2021-04-18Toolchain: Build fix for macOSGunnar Beutner
Unfortunately their sed behaves a tiny bit different to how GNU sed does.
2021-04-18LibDebug: Implement support for AttributeDataForm::Data8Gunnar Beutner
I came across this while analyzing a crash dump for openttd.