thankyouverycool
bb23377b48
LibGUI: Let AbstractViews be activated programmatically
2022-02-18 07:38:29 -05:00
thankyouverycool
de9dfc13b1
LibGUI: Make ItemListModels filterable
...
Implements data_matches() for proxy filtering and handles valid parent
indices in row_count(). This fixes an infinite recursion when filtering
matches for models without any hierarchy.
2022-02-18 07:38:29 -05:00
Ali Mohammad Pur
8fa334a70c
LibProtocol: Close the stream notifier unconditionally on EOF
...
We shouldn't wait for on_finish to close the read notifier, we'll get
the finished message when we do, no need to spin waiting for it.
2022-02-18 13:19:26 +01:00
Ali Mohammad Pur
0e173da86f
WebServer: Close the socket if Connection: keep-alive isn't requested
2022-02-18 13:19:26 +01:00
Michiel Visser
7ab4337721
LibTLS: Add Elliptic Curve Diffie-Hellman Ephemeral (ECDHE) support
...
This adds support for the Elliptic Curve Diffie-Hellman Ephemeral key
exchange, using the X25519 elliptic curve. This means that the
ECDHE_RSA_WITH_AES_128_GCM_SHA256 and ECDHE_RSA_WITH_AES_256_GCM_SHA384
cipher suites are now supported.
Currently, only the X25519 elliptic curve is supported in combination
with the uncompressed elliptic curve point format. However, since the
X25519 is the recommended curve, basically every server supports this.
Furthermore, the uncompressed point format is required by the TLS
specification, which means any server with EC support will support the
uncompressed format.
Like the implementation of the normal Diffie-Hellman Ephemeral key
exchange, this implementation does not currently validate the signature
of the public key sent by the server.
2022-02-18 15:41:41 +03:30
thankyouverycool
be07892fea
LibGUI: Account for hidden headers in content size calculation
...
Fixes oversized scrollable content in the "State" tab.
2022-02-18 13:10:37 +01:00
thankyouverycool
9e20d393ac
SystemMonitor: Add proper icon to the ProcessState window
2022-02-18 13:10:37 +01:00
thankyouverycool
0e56dd4917
SystemMonitor: Don't invalidate ProcessStateModel on refresh
...
The model has a fixed number of rows based on the column enum
and shouldn't need to be invalidated every update.
2022-02-18 13:10:37 +01:00
stelar7
4daa5622fe
LibCrypto: Add curve x25519
2022-02-18 12:34:23 +02:00
dayarthvader
5a94402b60
Utilities/nc: Add support to -I/--length option like SO_RCVBUF
2022-02-18 10:43:10 +01:00
Tim Schumacher
b689e8b7f4
tar: Automatically recognize gzip archives
2022-02-18 10:41:44 +01:00
Tim Schumacher
4487e515f7
Base: Update the tar manpage
2022-02-18 10:41:44 +01:00
stijndr
d01ca4e3e2
Userland: Dynamically update the MonitorSettingsWidget countdown timer
...
This causes the number of seconds in "Do you want to keep the new
settings? They will be reverted after 10 seconds." to be dynamically
updated.
2022-02-18 10:33:46 +01:00
Tom
413bc9976c
Kernel: Don't enable write-combine for the Bochs framebuffer device
...
While write-combine greatly improves performance on bare metal, QEMU
appears to perform significantly worse when enabling it.
2022-02-18 10:30:42 +01:00
Tim Schumacher
c8aae1ac52
Ports: Enable OpenSSL support for CMake
2022-02-17 21:25:41 -08:00
Andreas Kling
7c33a084fb
LibWeb: Support CSS :only-of-type selector
...
This matches any element that doesn't have a sibling with the same tag
name as itself.
2022-02-18 01:49:32 +01:00
Adam Hodgen
b9b24cb1c1
Base: Add <input> test page
2022-02-18 01:48:51 +01:00
Adam Hodgen
aa70422b4d
LibWeb: Add <input> value sanitiztion algorithm
...
The value sanitiztion algorithm is defined for some states of the type
attribute, and sanitizes the value of the 'value' attribute
2022-02-18 01:48:51 +01:00
Adam Hodgen
240068a48c
LibWeb: Improve display of input elements
...
* Display input[type=reset] as a button
* Display allother input elements as text entry boxes
* Set overflow: hidden on input elements
2022-02-18 01:48:51 +01:00
Adam Hodgen
8edade071d
LibWeb: Reflect only known values for <input> element's type attribute
2022-02-18 01:48:51 +01:00
Marco Cutecchia
a9dbb52deb
Kernel: Add 'RegisterState' & 'KString::try_create' stubs for aarch64
...
The aarch64 build was broken due to missing these two things, this
commit adds two empty stubs for them
2022-02-18 01:48:18 +01:00
Luke Wilde
b717f7065e
LibWeb: Send appropriate Accept header for FrameLoader requests
...
According to Fetch, we must send an Accept header with the value
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
for document, iframe and frame requests.
https://fetch.spec.whatwg.org/#concept-fetch
Required by uber.com.
2022-02-18 01:46:45 +01:00
Idan Horowitz
ead8ac8972
Kernel: Lock socket Mutex when servicing IPv4Socket ioctls
...
This prevents a kernel panic found in CI when m_receive_queue's size is
queried and found to be non-zero, then a different thread clears the
queue, and finally the first thread continues into the if block and
calls the queue's first() method, which then fails an assertion that
the queue's size is non-zero.
2022-02-18 02:22:12 +02:00
serenitydev
b5d891ed6a
Base+LibWeb: Add test case for Workers on welcome homepage
2022-02-17 22:45:21 +01:00
Ben Abraham
ae346cff6b
LibWeb: Add partially functioning Worker API
...
Add a partial implementation of HTML5 Worker API.
Messages can be sent from the inner context externally.
2022-02-17 22:45:21 +01:00
martinfalisse
b6c3fad078
LibGUI: JsonArrayModel update without invalidating indices
...
Add function to update a JsonArrayModel without invalidating it. Now,
for example in the SystemMonitor in the Network tab, a selected line
will not be deselected whenever the data is updated.
2022-02-17 20:09:47 +01:00
Sam Atkins
fd24782d85
LibWeb: Only invalidate styles if a @media
rule changes match status
2022-02-17 19:56:19 +01:00
Ali Mohammad Pur
144ef3eb9f
WrapperGenerator: Don't emit code for imported enumerations
2022-02-17 19:55:27 +01:00
Ali Mohammad Pur
c38163494a
WrapperGenerator: Add support for IDL mixin interfaces
2022-02-17 19:55:27 +01:00
Ali Mohammad Pur
e9c76d339b
Meta: Split and refactor the WrapperGenerator a bit
...
The single 4000-line WrapperGenerator.cpp file was proving to be a pain
to hack, and was filled with spaghetti, split it into a bunch of files
to lessen the impact of the spaghetti.
Also refactor the whole parser to use a class instead of a giant
function with a million lambdas.
2022-02-17 19:55:27 +01:00
xSlendiX
7685d53654
LibMarkdown: Add terminal color formatting
...
This patch adds color formatting to markdown viewed in the terminal.
This also increases readability.
2022-02-17 19:54:47 +01:00
xSlendiX
5d219ad4f7
LibMarkdown: Add additional spacing for terminal rendering
...
This patch adds spacing to give a sense of structure to markdown
documents viewed in the terminal. This also makes the content easier
to read.
2022-02-17 19:54:47 +01:00
xSlendiX
19b7a5fe0d
man: Center "SerenityOS manual" title
...
This patch calculates how many spaces are needed to center the top
title of "SerenityOS manual".
2022-02-17 19:54:47 +01:00
Andreas Kling
246c31ccf6
LibWeb: Make <input type=checkbox> fire click events when clicked :^)
...
This makes React react to checkboxes. Apparently they ignore the
"change" event in favor of "click" on checkboxes. This is a
compatibility hack for IE8.
2022-02-17 16:33:55 +01:00
Andreas Kling
2660795bcf
LibWeb: Add the HTMLInputElement.type attribute
...
This makes React react to change events on text <input> elements. :^)
2022-02-17 16:33:55 +01:00
Andreas Kling
5f54b8dd6c
LibWeb: Fire "input" and "change" events when editing a text <input>
...
This isn't entirely on-spec, but will hopefully allow us to make
progress in other areas.
2022-02-17 16:33:54 +01:00
brapru
4cbce0e34c
ping: Fix broken count argument error
...
By storing count as an Optional<size_t>, we can leverage count's empty
state to proceed with pinging indefinitely, and ensure a proper value is
passed when count does have a value.
This returns pings expected behavior to send infinite packets when a
count is not specified, stop after sending a specified count, and
disallow any count < 1.
Closes #12524
2022-02-17 09:08:40 -05:00
brapru
24da85d059
ArgsParser: Add support for Optional<size_t>
2022-02-17 09:08:40 -05:00
kleines Filmröllchen
beb29c48cb
Base: Link aplay in Audio-subsystem
2022-02-17 14:45:39 +03:30
kleines Filmröllchen
01d056f794
Base: Document /dev/audio devices
...
This properly documents the fact that /dev/audio contains a bunch of
device's channels now, instead of being a single file.
2022-02-17 14:45:39 +03:30
networkException
3052c0578c
LibVT: Properly populate context menu with open actions
...
We would previously overwrite m_hovered_href with tooltip texts instead
of leaving it as an url as was expected by the context menu event
handler.
2022-02-17 11:56:38 +01:00
Tim Schumacher
17f5eb558c
Ports: Set the correct config.sub path for patch
2022-02-17 11:16:38 +01:00
Tim Schumacher
abb9e3e198
Ports: Set the correct config.sub path for mpc
2022-02-17 11:16:38 +01:00
Daniel Bertalan
f3923b4aea
LibWeb: Use public inheritance for the RefCounted base class
...
I forgot about this in the previous commit, which caused a compile
error.
2022-02-17 11:16:18 +01:00
Daniel Bertalan
bf16349c5b
LibWeb: Fix -Wmismatched-tags warning from Clang
2022-02-17 09:57:17 +00:00
Isak Holmstrom
41765895a8
LibCore: Make FreeBSD build SerenityOS
2022-02-17 09:26:56 +00:00
Isak Holmstrom
4f716caa33
LibCore: Add FreeBSD as OpenBSD/Apple in System.cpp & System.h
2022-02-17 09:26:56 +00:00
Isak Holmstrom
8ad9f49de3
Documentation: Change/add two pkgs in the FreeBSD instructions
2022-02-17 09:26:56 +00:00
Tim Schumacher
95f33ffbec
Ports: Disable socketpair support for curl
...
This is currently broken in Serenity. Disable it until we figure out
why.
2022-02-16 17:13:56 -08:00
Sam Atkins
e548aab387
LibCore: Migrate ConfigFile to Core::Stream API :^)
...
As part of this, moved the call to `reparse()` out of the constructor
and into the factory methods, to allow the error to propagate.
2022-02-16 19:49:41 -05:00