Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-07 | LibX86+disasm: Use an output format closer to objdump | Hendiadyoin1 | |
This mainly does two things, 1. Removes spaces after commas 2. Elides "0x" and leading zeros in most contexts Remaining differences are: 1. objdump always has memory size annotations We lack these and probably have some annotations wrong 2. Boolean check names We use jump-zero, while objdump uses jump-equal for example 3. We sometimes add "00 00" symbols, which objdump elides 4. We always demangle (This is a good thing) 5. We always resolve relocations (This is a good thing) 6. We seem to detect some symbols differently/incorrectly | |||
2022-04-07 | disasm: Print instruction bytes | Hendiadyoin1 | |
This prints 7 instruction bytes per line, which is enough for most x86-64 instructions (rex+opcode+mod/rm+imm32) and is also what objdump uses. Co-authored-by: Simon Wanner <skyrising@pvpctutorials.de> | |||
2022-04-05 | Utilities: Update arp to use newer APIs | brapru | |
Updates the arp command to use Core::System for the socket and ioctl calls. Updates command line arguments to StringView. | |||
2022-04-05 | Utilities: Pledge inet in arp command | brapru | |
Previously the arp command would crash when trying to set/delete from the table. | |||
2022-04-05 | js: Print the accumulator instead of the returned value in BC mode | Ali Mohammad Pur | |
The REPL is supposed to show the last value (and not the _returned_ value), so use the accumulator register as the 'value'. | |||
2022-04-05 | js: Convert non-UTF-8 encoded files to UTF-8 before parsing | Timothy Flynn | |
2022-04-03 | ls: Use `Core::System::pledge(..)` instead of LibC API | Brian Gianforcaro | |
2022-04-03 | Utilities: Use default execpromises parameter to `pledge(..)` | Brian Gianforcaro | |
2022-04-03 | lscpu: Show hypervisor_vendor_id if present | Linus Groh | |
2022-04-03 | Kernel+SystemMonitor+lscpu: Rename 'CPUID' -> 'Vendor ID' | Linus Groh | |
This is what the Intel manual, as well as Linux's cpuinfo calls it. | |||
2022-04-03 | netstat: Resolve ports to service names | Brendan Coles | |
2022-04-02 | top: Add support for quitting top by pressing q | James Mintram | |
2022-04-02 | Userland: Fix crash when inputting non-tty device into ps | Thomas Symalla | |
This PR aims to fix #13299 by avoiding assertion failure while trying to determine the pseudo tty when inputting any non-tty device device into ps. | |||
2022-04-01 | Everywhere: Run clang-format | Idan Horowitz | |
2022-03-30 | test: Port to LibMain | Kenneth Myhra | |
2022-03-30 | AK: Allow printing wide characters using %ls modifier | safarp | |
2022-03-29 | seq: Port to LibMain | Kenneth Myhra | |
2022-03-29 | tty: Port to LibMain | Kenneth Myhra | |
2022-03-29 | tt: Port to LibMain | Kenneth Myhra | |
2022-03-29 | tr: Utilize TRY more | Kenneth Myhra | |
This converts the local functions to return ErrorOr<T> and utilizes TRY more. | |||
2022-03-29 | tr: Port to LibMain | Kenneth Myhra | |
2022-03-29 | test_env: Port to LibMain | Kenneth Myhra | |
2022-03-29 | test-unveil: Port to LibMain | Kenneth Myhra | |
2022-03-29 | test-pthread: Port to LibMain and let local functions return ErrorOr<T> | Kenneth Myhra | |
This ports 'test-pthread' to LibMain and converts the local functions of the program to return ErrorOr<T>. | |||
2022-03-29 | test-fuzz: Allow listing fuzzing targets without specifying input file | Kenneth Myhra | |
2022-03-29 | test-fuzz: Port to LibMain | Kenneth Myhra | |
Also use StringView in place of raw C strings and String. | |||
2022-03-29 | test-bindtodevice: Port to LibMain | Kenneth Myhra | |
This ports 'test-bindtodevice' to LibMain and convert the local 'test' function to return ErrorOr<T>. | |||
2022-03-29 | kcov-example: Port to LibMain | Kenneth Myhra | |
2022-03-29 | telws: Port to LibMain | Kenneth Myhra | |
2022-03-29 | run-tests: Port to LibMain | Kenneth Myhra | |
2022-03-29 | markdown-check: Use Core::ArgsParser | Kenneth Myhra | |
2022-03-29 | markdown-check: Port to LibMain | Kenneth Myhra | |
2022-03-28 | LibXML: Add a fairly basic XML parser | Ali Mohammad Pur | |
Currently this can parse XML and resolve external resources/references, and read a DTD (but not apply or verify its rules). That's good enough for _most_ XHTML documents as the HTML 5 spec enforces its own rules about document well-formedness, and does not make use of XML DTDs (aside from a list of predefined entities). An accompanying `xml` utility is provided that can read and dump XML documents, and can also run the XML conformance test suite. | |||
2022-03-27 | disk_benchmark: TRY more stuff :^) | Kenneth Myhra | |
2022-03-27 | disk_benchmark: Core::ArgsParser to parse arguments | Kenneth Myhra | |
2022-03-26 | tee: Port to LibMain and move to SerenityOS code patterns | Kenneth Myhra | |
This patch ports the utility 'tee' to LibMain and converts a larger part of its code to our SerenityOS patterns. | |||
2022-03-26 | ls: Remove leading dashes from ArgsParser argument name | Ali Mohammad Pur | |
Otherwise the full argument would be "----ignore-backups", which is most certainly not correct :^) | |||
2022-03-26 | Utilities/ps: Don't assume the kernel can provide real TTY paths | Liav A | |
2022-03-24 | Utilities: Use default constructors/destructors | Lenny Maiorani | |
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler." | |||
2022-03-24 | sql: Re-prompt user for input after unrecognized command | Nicholas Cellino | |
This fixes a bug in the SQL REPL where after a user enters an unrecognized command, the REPL would not print another "> " prompt and would not accept any more input. | |||
2022-03-24 | readlink: Use StringView instead of const char* | Kenneth Myhra | |
2022-03-24 | readlink: Port to LibMain | Kenneth Myhra | |
2022-03-24 | Userland+Tests: Convert File::read_link() from String to ErrorOr<String> | Kenneth Myhra | |
This converts the return value of File::read_link() from String to ErrorOr<String>. The rest of the change is to support the potential of an Error being returned and subsequent release of the value when no Error is returned. Unfortunately at this stage none of the places affected can utililize our TRY() macro. | |||
2022-03-23 | sql: Do not indent next line when current one is blank | Nicholas Cellino | |
Previously, if a user pressed Enter without typing a command at the SQL REPL, the next line would be automatically indented. This change makes it so we check if there were any tokens in the command before applying the indentation logic. | |||
2022-03-22 | Mount: Implement wxallowed mount option | int16 | |
2022-03-22 | disk_benchmark: Port to LibMain | Nicholas Cellino | |
2022-03-22 | readelf: Port to LibMain | Brian Gianforcaro | |
2022-03-22 | purge: Port to LibMain | Brian Gianforcaro | |
2022-03-22 | ping: Utilize TRY + Core::System wrappers | Brian Gianforcaro | |
2022-03-22 | traceroute: Port to LibMain | Brian Gianforcaro | |