summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-03Meta: Fix Makefile permissions (not executable)Ben Wiederhake
2020-05-03ProtocolServer: Implement and handle download progressAnotherTest
Also updates `pro` to display download progress and speed on stderr
2020-05-03AK+FileManager: Move out human_readable_size to AK::NumberFormatAnotherTest
2020-05-03IPCCompiler: Add support for Optional<T> (so long as T is trivial)AnotherTest
2020-05-03LibJS: Support empty statementsLinus Groh
We already skipped random semicolons in Parser::parse_program(), but now they are properly matched and parsed as empty statements - and thus recognized as a valid body of an if / else / while / ... statement.
2020-05-03LibCrypto: Correct RFC5246 un-padding behaviourAnotherTest
The decrypted data is legally allowed to have any amount of padding, so long as it is block-aligned, we should not assume that padding bytes fall inside the same block, or that an entire block cannot be padding. Fixes #2072
2020-05-03Userland: Fix leak in keymapShannon Booth
Pretty harmless here, but eh
2020-05-03LibJS: Set name of anonymous functions during assignmentLinus Groh
2020-05-03LibJS: Add function default argumentsMatthew Olsson
Adds the ability for function arguments to have default values. This works for standard functions as well as arrow functions. Default values are not printed in a <function>.toString() call, as nodes cannot print their source string representation.
2020-05-03WindowServer: Update desktop window rect on resolution changeLinus Groh
Fixes #2073.
2020-05-03Kernel: Fix pledge syscall applying new pledges when it fails (#2076)Michael Lelli
If the exec promises fail to apply, then the normal promises should not apply either. Add a test for this fixed functionality.
2020-05-03WindowServer: Reset double-click timers for back/forward buttonsAndreas Kling
Thanks for movAX13H for pointing this out!
2020-05-02Demos: Add a little "Mouse" demo for showing mouse button statesAndreas Kling
This was very helpful when adding support for 5-button mice! :^)
2020-05-02WindowServer+LibGUI: Support the 4th and 5th mouse buttonsAndreas Kling
We'll call the "Back" and "Forward" since that's what they are normally mapped to in some other systems.
2020-05-02Kernel: Detect 5-button PS/2 mouse if present :^)Andreas Kling
The detection works very similarly to how we detect a mouse wheel, just another magical sequence of "set sample rate" requests to the mouse followed by an ID check.
2020-05-02LibJS: Fix build (GlobalObject::add_constructor not visible in LibWeb)Andreas Kling
2020-05-02LibJS: Add "name" property to functionsLinus Groh
2020-05-02LibJS: Set correct "length" of Object constructorLinus Groh
2020-05-02LibJS: Minor formatting changes in Function.cppLinus Groh
2020-05-02LibJS: Name functions created by "Function" "anonymous"Linus Groh
...as it is supposed to be.
2020-05-02LibGUI: Properly remove auto-destroyed child windows from reified_windows.Emilio Cobos Álvarez
I just spotted this while I saw you writing this code :-)
2020-05-02LibHTTP: Trim received data to Content-LengthAnotherTest
Apparently servers will feel free to pad their response if they send one that contains a content-length field. We should not assume that the entirety of the response is valid data.
2020-05-02js: Ignore property attributes for completionLinus Groh
Only being able to complete enumerable properties is annoying, especially since we updated everything to use the correct attributes. Most standard built-in objects are *not* enumerable.
2020-05-02LibIPC: Abort on connection failureSergey Bugaev
...instead of looping for (effectively) ever. Fixes https://github.com/SerenityOS/serenity/issues/1869
2020-05-02SystemServer: Bump the default listening socket backlog to 16Sergey Bugaev
We now have many clients that are trying to connect to the WindowServer simultaneously on startup. We could make this configurable, but 16 should be enough for anybody ™.
2020-05-02Terminal: Write an empty string instead of (null) on Command keyAndres Vieira
This prevents a Terminal to create a configuration file with Command=(null) That would make it try to execute the command "(null)" on the next run.
2020-05-02Terminal: Add config for startup commandShannon Booth
This is useful when working on a program as you can put the command into the config file, instead of having to type it up each time on boot.
2020-05-02Screensaver: Add app-screensaver.png 16x16 iconBrendan Coles
2020-05-02LibGUI: FilePicker: Set initial sort to name instead of undefinedBen Wiederhake
Well, technically the initial sort order is 'ascending inode'. However, that is unpredictable for the user. In the rare case it is desired, it can be re-enabled by revealing the inode column, and then sorting by it, in the TableView.
2020-05-02LibGUI: Fix off-by-one in ScrollableWidgetBen Wiederhake
This was most notable in the widgets TextBox and TextEditor (and therefore also ComboBox and ColorInput), because there the cursor regularly landed just one pixel outside the visible region when going to the right.
2020-05-02DisplaySettings: Don't crash after 'pape'Ben Wiederhake
Running 'pape' without arguments (or just editing the WindowServer.ini by hand) can confuse DisplaySettings. Specifically, if the 'Wallpaper' is set to '/res/wallpapers/', then DisplaySettings used to crash because 'name_parts' wouldn't contain any trailing element. It's hard to define desired behavior, but this is better than crashing and confusing the user.
2020-05-02LibGUI: FilePicker: Make icon view button initially checkedBen Wiederhake
2020-05-02LibGUI: The UI calls it 'Icon view', fix the name in the codeBen Wiederhake
2020-05-02LibGUI: FilePicker: Populate location textboxBen Wiederhake
2020-05-02LibGUI: FilePicker: Fix position of location textboxBen Wiederhake
2020-05-02LibGUI: Display hidden columns as hiddenBen Wiederhake
Until now, hidden columns were displayed as visible in the context menu. An easy way to reproduce this is: - Open the TextEditor - Ctrl-O to open the file selector - Switch to table view - Right-click the header Expected behavior: Hidden columns like 'Owner' and 'Group' should not have a checkmark, because they are hidden. Actual behavior: They did have a checkmark. Clicking on it to 'hide' the already hidden column removed the checkmark, but was a no-op to the table view. This commit fixes this behavior, by correctly initializing the context menu, and properly updating the context menu if external code calls 'set_column_hidden' later.
2020-05-02LibGUI: Remove unneeded access rightsBen Wiederhake
2020-05-02Ports: Added rsync portEd Rochenski
2020-05-02LibC: added F_SETLK and SO_TYPE defsEd Rochenski
2020-05-02WindowServer+LibGUI+Taskbar: Don't include frameless windows in listsAndreas Kling
Frameless windows don't need to show up in the taskbar or the switcher.
2020-05-02LibCrypto: Make UnsignedBigInteger as fast as architecturally possibleAnotherTest
This commit attempts to make UnsignedBigInteger as fast as possible without changing the underlaying architecture. This effort involves - Preallocating space for vector operations - Avoiding calls to computationally expensive functions - Inlining or flattening functions (sensibly)
2020-05-02LibCrypto: Tweak ::prune_padding() to be more intuitive with loop boundsAnotherTest
2020-05-02Userland: Tweak the tests in test-cryptoAnotherTest
- Clarify the purpose of "AES | Specialised Encrypt" - Decouple the TLS test from the host machine - Add a "test" mode to run all available tests
2020-05-02LibTLS: Implement build_alert()AnotherTest
2020-05-02LibCrypto: Rename UnsignedBigInteger APIs to match their actionsAnotherTest
2020-05-02LibCrypto: Preallocate capacity and cache trimmed_length() in UnsignedBigIntegerAnotherTest
2020-05-02AK: Inline busy functions in VectorAnotherTest
2020-05-02LibTLS: Split TLSv12 to sensible categorical filesAnotherTest
This commit splits the TLSv12 file into multiple files, and also removes some magic values, to make the code less horrible. :^)
2020-05-02Userland test-crypto: Add interactive mode for the tls 'mode'AnotherTest
For all your raw TLS testing needs :^)
2020-05-02LibTLS: Switch to Hash::Manager for hashing and add SHA1AnotherTest
Now we can talk to google.com