summaryrefslogtreecommitdiff
path: root/Userland/Utilities
AgeCommit message (Collapse)Author
2022-04-03netstat: Resolve ports to service namesBrendan Coles
2022-04-02top: Add support for quitting top by pressing qJames Mintram
2022-04-02Userland: Fix crash when inputting non-tty device into psThomas 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-01Everywhere: Run clang-formatIdan Horowitz
2022-03-30test: Port to LibMainKenneth Myhra
2022-03-30AK: Allow printing wide characters using %ls modifiersafarp
2022-03-29seq: Port to LibMainKenneth Myhra
2022-03-29tty: Port to LibMainKenneth Myhra
2022-03-29tt: Port to LibMainKenneth Myhra
2022-03-29tr: Utilize TRY moreKenneth Myhra
This converts the local functions to return ErrorOr<T> and utilizes TRY more.
2022-03-29tr: Port to LibMainKenneth Myhra
2022-03-29test_env: Port to LibMainKenneth Myhra
2022-03-29test-unveil: Port to LibMainKenneth Myhra
2022-03-29test-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-29test-fuzz: Allow listing fuzzing targets without specifying input fileKenneth Myhra
2022-03-29test-fuzz: Port to LibMainKenneth Myhra
Also use StringView in place of raw C strings and String.
2022-03-29test-bindtodevice: Port to LibMainKenneth Myhra
This ports 'test-bindtodevice' to LibMain and convert the local 'test' function to return ErrorOr<T>.
2022-03-29kcov-example: Port to LibMainKenneth Myhra
2022-03-29telws: Port to LibMainKenneth Myhra
2022-03-29run-tests: Port to LibMainKenneth Myhra
2022-03-29markdown-check: Use Core::ArgsParserKenneth Myhra
2022-03-29markdown-check: Port to LibMainKenneth Myhra
2022-03-28LibXML: Add a fairly basic XML parserAli 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-27disk_benchmark: TRY more stuff :^)Kenneth Myhra
2022-03-27disk_benchmark: Core::ArgsParser to parse argumentsKenneth Myhra
2022-03-26tee: Port to LibMain and move to SerenityOS code patternsKenneth Myhra
This patch ports the utility 'tee' to LibMain and converts a larger part of its code to our SerenityOS patterns.
2022-03-26ls: Remove leading dashes from ArgsParser argument nameAli Mohammad Pur
Otherwise the full argument would be "----ignore-backups", which is most certainly not correct :^)
2022-03-26Utilities/ps: Don't assume the kernel can provide real TTY pathsLiav A
2022-03-24Utilities: Use default constructors/destructorsLenny 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-24sql: Re-prompt user for input after unrecognized commandNicholas 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-24readlink: Use StringView instead of const char*Kenneth Myhra
2022-03-24readlink: Port to LibMainKenneth Myhra
2022-03-24Userland+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-23sql: Do not indent next line when current one is blankNicholas 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-22Mount: Implement wxallowed mount optionint16
2022-03-22disk_benchmark: Port to LibMainNicholas Cellino
2022-03-22readelf: Port to LibMainBrian Gianforcaro
2022-03-22purge: Port to LibMainBrian Gianforcaro
2022-03-22ping: Utilize TRY + Core::System wrappersBrian Gianforcaro
2022-03-22traceroute: Port to LibMainBrian Gianforcaro
2022-03-22true: Port to LibMainBrian Gianforcaro
2022-03-22printf: Port to LibMainBrian Gianforcaro
2022-03-22matroska: Port to LibMainBrian Gianforcaro
2022-03-20Everywhere: Move js/web/wasm tests under /home/anon/TestsBrian Gianforcaro
2022-03-20Everywhere: Move cpp-tests under /home/anon/TestsBrian Gianforcaro
2022-03-20Base: Install symlinks instead of aliasing rgrep and egrepTim Schumacher
2022-03-20grep: Recognize mode based on the program nameTim Schumacher
2022-03-19grep: Properly update match state when handling filesTim Schumacher
2022-03-19grep: Adapt maximum line size depending on file sizeTim Schumacher
Otherwise, we would never stop trying to fetch new lines if the next newline is found beyond a range that the (default sized) buffer can hold.
2022-03-19pro: Simplify the progress report logic a bitAli Mohammad Pur
The previous progress report changed far too fast to be meaningful, limit the report time to 100ms, and avoid spamming the terminal with report data that's not even readable. Also remove some dbgln()'s.