summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
2020-08-02Tests: License headers, clang-format, clearer outputBen Wiederhake
2020-08-02Tests: Build automatically, fix compilation errorsBen Wiederhake
2020-08-01LibC: Add tests for getenv, setenv, putenvBen Wiederhake
2020-08-01lsof: Fix some minor issuesAndreas Kling
Correct copyright year, fix a comment and add missing veil lock.
2020-07-31Userland: Add basic `lsof' commandMaciej Zygmanowski
2020-07-31LibCrypto: Do not trim leading zeros in export_data by defaultAnotherTest
This fixes the issue with the exported data having a leading zero, causing RSA::encrypt to trim the block down, and ruining the encryption. Fixes #2691 :^)
2020-07-31Userland: Add missing checks for MappedFile.is_valid()Ben Wiederhake
2020-07-30Userland: Add support for the '-n' flag to 'echo'AnotherTest
2020-07-30LibCrypto: Add some checksum algorithmsstelar7
Namely CRC32 and Adler32
2020-07-28LibWeb: Move the HTML parser into HTML/Parser/Andreas Kling
2020-07-28LibCrypto: Implement and test CTR decryptionBen Wiederhake
2020-07-28LibCrypto: Fix broken CTR mode, implement RFC 3686 Test VectorsBen Wiederhake
2020-07-28LibWeb: Move HTML classes into the Web::HTML namespaceAndreas Kling
2020-07-28Userland: Make su require passwordsPeter Elliott
2020-07-28Userland: Add passwd utilityPeter Elliott
2020-07-28Userland: Fix nc by not memset()'ing the input address char*Linus Groh
We were accidentally calling memset() on "addr" (the input char*), not "dst_addr" (the target struct sockaddr_in), which was causing a simple "nc localhost 8000" to crash. Fixes #2908.
2020-07-27LibCrypto: Change [XXX]BigInteger::export_data() to use Span.asynts
2020-07-27AK: Change the signature of AK::encode_base64() to use Span.asynts
2020-07-27top: Don't print more lines than the terminal can fitAndreas Kling
2020-07-27top: Limit printed process name characters to the available spaceAndreas Kling
It looks much nicer if we don't break the line. You can resize the terminal if you want to see the full process name.
2020-07-27top: Tweak username column width to accomodate "clipboard"Andreas Kling
2020-07-26LibWeb: Move DOM classes into the Web::DOM namespaceAndreas Kling
LibWeb keeps growing and the Web namespace is filling up fast. Let's put DOM stuff into Web::DOM, just like we already started doing with SVG stuff in Web::SVG.
2020-07-26AK: Implement Span which represents a contiguous sequence of objects.asynts
This makes it possible to pass one object rather than pointer and length individually.
2020-07-25test-web: Add ability to change page mid-testLuke
This allows you to not have to write a separate test file for the same thing but in a different situation. This doesn't handle when you change the page with location.href however. Changes the name of the page load handlers to prevent confusion with this.
2020-07-23LibWeb+test-web: Create test-web program, add doctype testLuke
LibWeb currently has no test suite or program. Let's change that :^) test-web is mostly a copy of test-js, but modified for LibWeb. test-web imports both LibJS/Tests/test-common.js and LibWeb/Test/test-common.js LibWeb's suite provides the ability to specify the page to load, what to do before the page is loaded, and what to do after it's loaded. This also provides a test of document.doctype and its close sibling document.compatMode. Currently, this isn't added to Lagom because of CodeGenerators.
2020-07-22AK: Make encode_base64 take a ByteBuffer and return a StringNico Weber
That makes the interface symmetric with decode_base64 and it's what all current callers want (except for one, which is buggy).
2020-07-19Userland: add mkfifo(1)Peter Elliott
2020-07-19Userland: mknod: Don't use major/minor when creating a pipePeter Elliott
2020-07-16Userland: Add a "seq" utilityNico Weber
It's useful with the newly added for loops in Shell. SerenityOS's printf() doesn't seem to print decimals for doubles correctly, so this doesn't print the right output for fractional numbers yet.
2020-07-16Userland: Make test exit 1 silently when no arguments are givenPeter Elliott
2020-07-14Userland: Add a basic version of the tree commandStijn
2020-07-14unzip: Correct compression method offset valueAnotherTest
2020-07-13unzip: Remove some magic numbers and create directories when neededAnotherTest
This commit also adds an assert about the compression method instead of just writing out the compressed data.
2020-07-13unzip: mmap() the zip file if possible to avoid spamming syscallsAnotherTest
This patch makes `unzip' mmap the zip file instead of seeking the file repeatedly. This makes unzipping big files bearable, and unzipping huge files impossible. The later could be fixed by mapping/unmapping chunks on the fly once we have support for mmap() offsets.
2020-07-11Userland: Add "ini" command to read and write .ini config filesLinus Groh
2020-07-09LibJS: Integrate Symbols into objects as valid keysMatthew Olsson
This allows objects properties to be created for symbol keys in addition to just plain strings/numbers
2020-07-07test-js: Show progress in taskbarLinus Groh
This was a nice feature the old run-tests.sh script had - let's add it to test-js as well! :^)
2020-07-07js: Remove test modeLinus Groh
Now that we have a standalone test-js program, the "-t" test mode of the js REPL is unused and can simply be removed. Required functionality has been duplicated in test-js (isStrictMode function, loading of testing utilities). Also remove outdated information about tests from the js(1) man page.
2020-07-06test-js: Use Core::File::is_directory(path) instead of opening fileAndreas Kling
2020-07-06test-js: Remove tests_to_run in favor of a DirIteratorMatthew Olsson
2020-07-06LibJS: Convert Array tests to new testing frameworkLinus Groh
2020-07-06LibJS: Convert all remaining non-Array tests to the new system :)Matthew Olsson
2020-07-06LibJS: Convert remaining top-level tests to new systemMatthew Olsson
2020-07-06test-js: Only print files with failed or skipped testsMatthew Olsson
This does not affect output when the "-t" flag is specified -- all files will still be printed in that case.
2020-07-06test-js: Display messages from console.log in test outputMatthew Olsson
This will help greatly with debugging!
2020-07-06test-js: Only parse test-common.js onceMatthew Olsson
2020-07-06test-js: Print duration of each test when given '-t' flagMatthew Olsson
2020-07-06test-js: Allow skipping tests with "test.skip(name, callback)"Matthew Olsson
Skipped tests count as a "pass" rather than a "fail" (i.e. a test suite with a skipped test will pass), however it does display a message when the test is printing. This is intended for tests which _should_ work, but currently do not. This should be preferred over "// FIXME" notes if possible.
2020-07-06test-js: Remove run-tests.shMatthew Olsson
The shell script is no longer necessary -- simply run "test-js" from inside Serenity, or $SERENITY_ROOT/Build/Meta/Lagom/test-js from the host.
2020-07-06LibJS/test-js: Clean up test-js codeMatthew Olsson
This commit also exposes JSONObject's implementation of stringify to the public, so that it can be used by test-js without having to go through the interpreter's environment.