Commit graph

36753 commits

Author SHA1 Message Date
Tim Schumacher 3237efc661 LibC: Implement __fseterr 2022-04-03 19:15:14 +02:00
Tim Schumacher 4f706d819a LibC: Implement __freadptrinc 2022-04-03 19:15:14 +02:00
Tim Schumacher 89ed0649f7 LibC: Implement __freadahead 2022-04-03 19:15:14 +02:00
Tim Schumacher 9b543ddb16 LibC: Implement __freadptr 2022-04-03 19:15:14 +02:00
kleines Filmröllchen 8da0cf7912 Applets: Add a network graph applet
This resource graph applet shows incoming network traffic graphically,
and the tooltip shows both TX and RX. The data of all adapters is
combined. The scale of the applet auto-adapts to the shown traffic load.

Co-authored-by: bgianfo <bgianf@serenityos.org>
2022-04-03 09:49:08 -07:00
kleines Filmröllchen 7a0cd6793e AK: Add non-const iterator for CircularQueue 2022-04-03 09:49:08 -07:00
Lenny Maiorani 9afc7d5379 LibCompress: Change DeflateSpecialCodeLengths to constexpr variables 2022-04-03 17:36:48 +01:00
Lenny Maiorani 35af46ee62 LibChess: Change UCI::Command::Type to enum class 2022-04-03 17:36:48 +01:00
Ali Chraghi 0eaed09517 TextEditor: Update file argument parser regex pattern 2022-04-03 18:54:47 +04:30
Linus Groh 5b48912d35 LibJS: Remove a bunch of gratuitous JS namespace qualifiers 2022-04-03 15:19:33 +01:00
Valtteri Koskivuori f2c02077ba Userland: Remove a few gratuitous IPC namespace qualifiers
Spotted this while trying to search for specific IPC encode/decode
implementations. Now they are all the same, so searching is easier.
2022-04-03 15:18:20 +01:00
Hunter Kvalevog 85ed64b99c Ports: Enable libx264 support in FFmpeg 2022-04-03 14:45:13 +01:00
Hunter Kvalevog a0bbadac14 Ports: Add x264 2022-04-03 14:45:13 +01:00
Jelle Raaijmakers 9ca15793e7 Meta: Move screenshots into subdir
It's a bit neater to give them their own directory instead of jamming
them in between our shell scripts :^)
2022-04-03 13:14:15 +01:00
Valtteri Koskivuori 45a81f5a2c Browser+LibWeb+WebContent: Add ability to inspect local storage
The storage inspector now has a new tab for local storage. The next step
would be to persist local storage and receive real-time notifications
for changes to update the table view.
2022-04-03 13:13:10 +01:00
Valtteri Koskivuori f2b4c044db LibIPC: Add encoder and decoder for AK::OrderedHashMap
Seems like a useful thing to have.
2022-04-03 13:13:10 +01:00
djwisdom a8a50a994b Base: Update font Ataraxia with additional glyphs
Latin Extended-A
 0132,0152,0153
 https://www.unicode.org/charts/PDF/U0100.pdf

LISU Supplement
 11FB0
 https://www.unicode.org/charts/PDF/U11FB0.pdf

Egyptian Hieroglyph Format Controls
 13430-13438
 https://www.unicode.org/charts/PDF/U13430.pdf

Ideographic Symbols and Punctuation
 16FE0-16FE4,16FF0,16FF1
 https://www.unicode.org/charts/PDF/U16FE0.pdf
2022-04-03 12:39:59 +01:00
djwisdom 0d8542536e Base: Update font Satori Regular with additional glyphs
Latin Extended-A
 0132,0152,0153
 https://www.unicode.org/charts/PDF/U0100.pdf

LISU Supplement
 11FB0
 https://www.unicode.org/charts/PDF/U11FB0.pdf

Egyptian Hieroglyph Format Controls
 13430-13438
 https://www.unicode.org/charts/PDF/U13430.pdf

Ideographic Symbols and Punctuation
 16FE0-16FE4,16FF0,16FF1
 https://www.unicode.org/charts/PDF/U16FE0.pdf
2022-04-03 12:39:42 +01:00
djwisdom 6f9ce7bc96 Base: Update font Satori Mono Regular with additional glyphs
Latin Extended-A
 0132,0152,0153
 https://www.unicode.org/charts/PDF/U0100.pdf

LISU Supplement
 11FB0
 https://www.unicode.org/charts/PDF/U11FB0.pdf

Egyptian Hieroglyph Format Controls
 13430-13438
 https://www.unicode.org/charts/PDF/U13430.pdf

Ideographic Symbols and Punctuation
 16FE0-16FE4,16FF0,16FF1
 https://www.unicode.org/charts/PDF/U16FE0.pdf
2022-04-03 12:39:42 +01:00
djwisdom 14349a40d5 Base: Update font Satori Mono Bold with additional glyphs
Latin Extended-A
 0132,0152,0153
 https://www.unicode.org/charts/PDF/U0100.pdf

LISU Supplement
 11FB0
 https://www.unicode.org/charts/PDF/U11FB0.pdf

Egyptian Hieroglyph Format Controls
 13430-13438
 https://www.unicode.org/charts/PDF/U13430.pdf

Ideographic Symbols and Punctuation
 16FE0-16FE4,16FF0,16FF1
 https://www.unicode.org/charts/PDF/U16FE0.pdf
2022-04-03 12:39:42 +01:00
djwisdom 5046f72ad1 Base: Update Satori Bold with additional glyphs
Latin Extended-A
 0132,0152,0153
 https://www.unicode.org/charts/PDF/U0100.pdf

LISU Supplement
 11FB0
 https://www.unicode.org/charts/PDF/U11FB0.pdf

Egyptian Hieroglyph Format Controls
 13430-13438
 https://www.unicode.org/charts/PDF/U13430.pdf

Ideographic Symbols and Punctuation
 16FE0-16FE4,16FF0,16FF1
 https://www.unicode.org/charts/PDF/U16FE0.pdf
2022-04-03 12:39:42 +01:00
Jelle Raaijmakers 31b72c20f0 Meta: Check port property for ports in the linter
We now make sure the directory name and `port` property are identical.
2022-04-03 12:35:14 +01:00
Jelle Raaijmakers d53c602e11 Ports: Set port to match the port's directory
We currently have no valid use case for having a `port` property
different from the directory name the port's residing in. We do have
issues when this is the case when referencing dependencies, so let's
make sure all ports have a sensible `port` property to begin with.
2022-04-03 12:35:14 +01:00
Jelle Raaijmakers 563d11c977 Ports: Move luajit warning into preconfigure
Otherwise this message will be printed during other `package.sh`
actions such as `showproperty`.
2022-04-03 12:35:14 +01:00
Tim Schumacher 4c9fbea987 Revert "Ports: Fix dependency install if port name is not folder name"
This breaks ports whose name may come up in more than one port name.

This reverts commit cc08f82ddb.
2022-04-03 12:32:00 +01:00
Ben Maxwell 8070a98288 DisplaySettings+WindowServer: Allow updating theme without background
With this change you can now set the theme and background color at the
same time in the Display Settings. Before if both were changed
before hitting 'apply' the theme background color would overwrite
the custom background.
2022-04-03 12:58:46 +02:00
Ben Maxwell e6ad55ab53 DisplaySettings: Stop theme tab from overriding background color
Fixes #13448
2022-04-03 12:58:46 +02:00
Enver Balalic d8ec9a5501 LibWeb: Fix computing_width of a block when LayoutMode::MaxContent
We had an issue with computing a width of a block in MaxContent
mode because we would set the width of the containing block to
infinity which would make everything in the try_compute_width
block infinity as well.

This adds a special case for width = 'auto' when
width_of_containing_block is infinity and removes the width of
containing block from the equation entirely.
2022-04-03 12:58:08 +02:00
Rob Ryan c1b311835b LibWeb: Not dispatching page_did_click_link event breaks page refresh
The WebView url wouldn't update so reload in Tab would still use the
previous URL before any left click navigation.

I am unsure if there was any good reason not to dispatch the event when
there are no modifiers.
2022-04-03 12:41:48 +02:00
Rob Ryan 0b5adfef8c Calculator: Update mimic_pressed for refactor into the Button class 2022-04-03 12:21:50 +02:00
Rob Ryan 554709fec6 LibGUI: Extend mimic pressed across keyboard shortcuts for buttons
Primary motivation for this was to get a visual indication in the
browser for Ctrl-R refresh. This extends what ForLoveOfCats had done
for calculator button shortcuts across all buttons with shortcuts.

When an action is triggered without an activator each associated button
will be set as mimic pressed.
2022-04-03 12:21:50 +02:00
kleines Filmröllchen 7af87e8e6b SystemMonitor: Move process window to GML
Extra stuff done in this commit to facilitate the above (if you want to
really push my commit count, ask for more atomicisation):
- Register a bunch of widgets that are used in the process window.
- Allow setting the pid after the fact for the process state widget.
2022-04-03 12:21:05 +02:00
kleines Filmröllchen 452bbcaa84 LibCore: Turn size properties from an object into a size 2 array
Previously, size properties were a JSON object of the form { "width": x,
"height": y }. Now they are a JSON array [x, y]. Reasons for this
change:
- Much more concise.
- More intuitive, as existing multi-dimensional properties (like
  margins) already use this array format.
2022-04-03 12:21:05 +02:00
kleines Filmröllchen ee4cec4ea9 SystemMonitor: Open PCI database in parallel
This was causing a bunch of lag (at least half a second, very
noticeable) when first opening the hardware tab, as we would only load
the PCI database when initializing the widget lazily. By starting the
PCI database open on another thread, we avoid this entirely, as nobody
can click the hardware tab this fast :^)
2022-04-03 12:21:05 +02:00
kleines Filmröllchen 81d5e93b92 SystemMonitor: Move storage tab into custom widget 2022-04-03 12:21:05 +02:00
kleines Filmröllchen 99005ca90f SystemMonitor: Move hardware tab to custom widget
This is just a LazyWidget with fancy initialization code that works
perfectly in isolation.
2022-04-03 12:21:05 +02:00
kleines Filmröllchen 5a2716baea SystemMonitor: Move entire main UI to GML
:^)
2022-04-03 12:21:05 +02:00
kleines Filmröllchen 98ed18124d SystemMonitor: Register GraphWidget's stack_values property 2022-04-03 12:21:05 +02:00
kleines Filmröllchen a7d9d416d5 SystemMonitor: Register a graph_widget pseudo-property in MemoryStatsW
The property graph_widget on MemoryStatsWidget is a-pseudo property that
specifies the name of the graph widget which should be attached to the
MemoryStatsWidget. When the property is set, the widget looks up the
graph with that name in its parent, therefore automatically linking to
the correct widget given that it's a sibling or descendant of a sibling.
2022-04-03 12:21:05 +02:00
kleines Filmröllchen abfddd01d4 SystemMonitor: Register MemoryStatsWidget
This also requires that the associated graph widget may be null.
2022-04-03 12:21:05 +02:00
kleines Filmröllchen abf2ed4c52 SystemMonitor: Register GraphWidget 2022-04-03 12:21:05 +02:00
kleines Filmröllchen e6fe66594e LibGUI: Register LazyWidget 2022-04-03 12:21:05 +02:00
kleines Filmröllchen 6d00932612 SystemMonitor: Move NetworkStatisticsWidget into namespace + register it
We don't want to clobber the global namespace with registered widgets.
2022-04-03 12:21:05 +02:00
kleines Filmröllchen 7e34b88ed4 LibGUI: Fully support TabWidget in GML
TabWidgets couldn't be used in GML properly, as the GML creation
routines didn't actually call the necessary functions in the TabWidget
to get a new tab added. This commit fixes that by making the name of the
tab a normal property, the previously introduced "title", which can be
trivially set from GML. Therefore, try_add_widget() loses an argument
(while try_add_tab doesn't, because it newly constructs the widget).
This allows us to get rid of the silly "fixing my widget tree after the
fact" code in Help and will make it super easy to use TabWidget in
future GML. :^)
2022-04-03 12:21:05 +02:00
kleines Filmröllchen 0410414455 LibGUI: Add a title to all Widgets
This title is a generic user-facing name for the widget. For now, it's
only used by TabWidget for tab names.
2022-04-03 12:21:05 +02:00
Brendan Coles fd6d87df82 netstat: Resolve ports to service names 2022-04-03 12:08:41 +02:00
djwisdom 64564a54d4 Base: Add to documentation 4th method of transferring files
Update documentation with focus on enabling openssh
in SerenityOS and on the proper usage of sftp client to
transfer files.
2022-04-02 19:36:24 -07:00
James Mintram 9186ed3101 Kernel: Add all memory files to aarch64 and fix resulting linker errors 2022-04-02 19:34:20 -07:00
James Mintram 2e63215346 Kernel: Re-add AK files to aarch64 2022-04-02 19:34:20 -07:00
James Mintram d79c772c87 Kernel: Make MemoryManager compile on aarch64 2022-04-02 19:34:20 -07:00