summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
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.
2020-07-06LibJS: Convert most builtin tests to new systemMatthew Olsson
2020-07-06LibJS: Convert Reflect object tests to new testing frameworkLinus Groh
2020-07-06LibJS: Convert Proxy testsMatthew Olsson
2020-07-06LibJS: Add test-common.js tests, remove unused matchersMatthew Olsson
Now that test-common.js is quite a bit more complicated, we need tests for test-common to make sure all of the matchers behave correctly
2020-07-06LibJS: Convert some top-level tests to the new systemMatthew Olsson
First test conversions! These look really good :)
2020-07-06LibJS/test-js: Create test-js program, prepare for test suite refactorMatthew Olsson
This moves most of the work from run-tests.sh to test-js.cpp. This way, we have a lot more control over how the test suite runs, as well as how it outputs. This should result in some cool functionality! This commit also refactors test-common.js to mimic the jest library. This should allow tests to be much more expressive :)
2020-07-05Userland+MenuApplets: Replace two more fork/exec with posix_spawnNico Weber
2020-07-04Kernel: Move headers intended for userspace use into Kernel/API/Andreas Kling
2020-07-04LibGUI: Make GUI::Application a Core::ObjectAndreas Kling
Having this on the stack makes whole-program teardown iffy. Turning it into a Core::Object allows anyone who needs it to extends its lifetime.
2020-07-04strace: Use ArgsParser for argument processingAnotherTest
2020-07-03cut: Accept input from stdin if no files are givenMatthew Olsson
2020-07-01js: Highlight Extends and Super tokensJack Karamanian
2020-06-30Userland: Add watch toolSahan Fernando
2020-06-29Everywhere: Replace some uses of fork/exec with posix_spawnNico Weber
It's less code, and it's potentially more efficient once posix_spawn is a real syscall.
2020-06-27Userland: Add a 'test' utilityAnotherTest
This adds an incomplete implementation of the test util, missing some user/group checks, and `-l STRING`. It also symlinks '[' to 'test'.
2020-06-21Userland: Use Web::PageView::load_html() in the "html" utilityAndreas Kling
2020-06-21Userland: Remove "ht" test utilityAndreas Kling
The new HTML parser is well integrated into Browser now and we don't need a separate tool for testing it. :^)