Commit graph

38316 commits

Author SHA1 Message Date
DexesTTP
5b56f3ed5b Lagom: Compile headless-browser on Lagom :^) 2022-05-29 23:00:04 +01:00
DexesTTP
63e841c3ad Lagom: Build LibWeb on Lagom 2022-05-29 23:00:04 +01:00
DexesTTP
b388aa7876 Lagom: Disable the unused-private-field warning on Lagom's clang builds
With the compilation of LibWeb, there's now quite a few cases where this
warning gets triggered. Rather than trying to fix them all right away,
we simply disable the warning for now.

This workaround was proposed by Andrew Kaster and BertalanD who promised
to open an issue about it!
2022-05-29 23:00:04 +01:00
DexesTTP
915ac9edd6 Lagom: Compile LibWebSocket on Lagom 2022-05-29 23:00:04 +01:00
DexesTTP
3c8411eee4 Lagom: Compile all sources of LibGfx
The filters were missing from the compiled sources.
2022-05-29 23:00:04 +01:00
DexesTTP
a2161d8eb7 Utilities: Add networking to headless-browser
With this, the headless browser can now connect to the web.

Thanks a lot to Ali and Sin-ack for their help with this!

Co-authored-by: Ali Mohammad Pur <mpfard@serenityos.org>
Co-authored-by: sin-ack <sin-ack@users.noreply.github.com>
2022-05-29 23:00:04 +01:00
DexesTTP
f9d4c0ecbc Utilities: Add image decoding to headless-browser
With this, the headless browser can now decode images on its own!
2022-05-29 23:00:04 +01:00
DexesTTP
355e74cf65 Utilities: Add a simple headless-browser
This utility creates a 'screenshot' of the given page after a
few seconds of loading.
2022-05-29 23:00:04 +01:00
DexesTTP
bf6c4835e6 LibWeb: Allow configuring the default error page path 2022-05-29 23:00:04 +01:00
DexesTTP
26bb95425d LibWeb: Allow configuring the default favicon path
This is useful when using LibWeb in environments that aren't Serenity
2022-05-29 23:00:04 +01:00
Karol Kosek
c5a249a949 Base: Add Latin Extended-A to Katica Bold 12
0100-017E: https://www.unicode.org/charts/PDF/U0100.pdf
2022-05-29 21:06:15 +01:00
Karol Kosek
fac283b20a Base: Update some glyphs with Cedillas and Carons in Katica Regular 12
This is to make the glyphs more consistent within the font family.

Modified: U+0136, U+013D, U+013E, U+0145, U+0146, U+0156, U+0157
2022-05-29 21:06:15 +01:00
kleines Filmröllchen
008b46d06e Documentation: Specify that no new code should contain C-style casts
Let's move towards a C-style-cast-free code base.
2022-05-29 20:36:16 +01:00
Tim Schumacher
92fe7eb341 Ports: Don't unset EDITOR 2022-05-29 19:35:04 +01:00
Liav A
58acdce41f Kernel/FileSystem: Simplify even more the mount syscall
As with the previous commit, we put a distinction between filesystems
that require a file description and those which don't, but now in a much
more readable mechanism - all initialization properties as well as the
create static method are grouped to create the FileSystemInitializer
structure. Then when we need to initialize an instance, we iterate over
a table of these structures, checking for matching structure and then
validating the given arguments from userspace against the requirements
to ensure we can create a valid instance of the requested filesystem.
2022-05-29 19:31:02 +01:00
Liav A
4c588441e3 Kernel: Simplify mount syscall flow for regular calls
We do this by putting a distinction between two types of filesystems -
the first type is backed in RAM, and includes TmpFS, ProcFS, SysFS,
DevPtsFS and DevTmpFS. Because these filesystems are backed in RAM,
trying to mount them doesn't require source open file description.
The second type is filesystems that are backed by a file, therefore the
userspace program has to open them (hence it has a open file description
on them) and provide the appropriate source open file description.
By putting this distinction, we can early check if the user tried to
mount the second type of filesystems without a valid file description,
and fail with EBADF then.
Otherwise, we can proceed to either mount either type of filesystem,
provided that the fs_type is valid.
2022-05-29 19:31:02 +01:00
Liav A
be3fec7c9e Ports: Add SerenityOS theming repository code as ported software 2022-05-29 19:29:34 +01:00
Grigoris Pavlakis
3c1f899050 Ports: Add SDL2 compatibility layer port (sdl12-compat) 2022-05-29 18:30:39 +01:00
Linus Groh
0c3db153cf SoundPlayer: Insert separator after play/stop and back/next buttons 2022-05-29 15:27:03 +02:00
Linus Groh
094487b5d4 SoundPlayer: Replace two manual key event checks with action shortcut 2022-05-29 15:27:03 +02:00
Linus Groh
1940363e0b SoundPlayer: Replace regular buttons with action-based toolbar buttons
This looks nicer in every way imaginable.
2022-05-29 15:27:03 +02:00
Linus Groh
bf5caf254f lscpu: Show size of L1 data/instruction, L2, and L3 CPU caches 2022-05-29 15:23:57 +02:00
Linus Groh
20e2e39fcc Kernel: Expose size of L1 data/instruction, L2, and L3 CPU caches :^)
These are added as properties of the "caches" object to each processor,
if available.
2022-05-29 15:23:57 +02:00
Linus Groh
5c79681611 FileManager: Replace '->' with '→' in symlink statusbar info message
This looks so much nicer, as the '-' and '>' are not aligned in the
default font configuration.
2022-05-29 15:22:00 +02:00
Linus Groh
de90faa4c4 LibGfx: Change one instance of 'colour' to 'color'
The system's official language is American English.
2022-05-29 15:22:00 +02:00
Linus Groh
173dcfb7cb Everywhere: Fix a bunch of typos 2022-05-29 15:22:00 +02:00
Linus Groh
f377951178 Meta: Update manpages website build script to handle non-icon images
Adding an image to man7/Audio-subsystem.md referencing a non-icon image
file in the same directory broke the automated build of the manpages
website, which was not prepared to handle this case.
2022-05-29 10:24:31 +02:00
montiagne
9e694c9d83 WindowServer: Call screen_resolution_changed after window screens clear
When the user executes chres to change to a new resolution, the
WindowManager removes for each window its intersections with the
screens (window.screens()) and recalculates its rect. Finally, a
Window::set_rect call sets the window's new rectangle. The set_rect
call also triggers a call to Compositor::invalidate_occlusions which
fills for each window the intersections with the screens again in
window.screens().
In case chres switches to an already present resolution the set_rect
call exits prematurely as it checks if the window's rect really
changed. This means that nobody calls invalidate_occlusions
resulting in a rendering issue for each window.

Moving the call to Compositor::screen_resolution_changed after the
clearing of window.screens() and recalc of the window rect for each
window resolves the rendering issue as screen_resolution_changed
calls invalidate_occlusions.
2022-05-29 00:26:20 +01:00
Rafał Babiarz
4fcdbd57e9 Base: Add test page for Web Storage API 2022-05-28 23:54:06 +01:00
Rafał Babiarz
b162b7eec6 Browser+LibWeb+WebContent: Add ability to inspect session storage 2022-05-28 23:54:06 +01:00
Maciej
1ffba0b8b4 NetworkServer: Support setting default gateway
This commit adds an IPv4Gateway to Network.ini. If that option is set to
value other than 0.0.0.0, the NetworkServer adds a default route (e.g.
with address 0.0.0.0/0) with the specified destination.
2022-05-28 23:33:46 +01:00
Xexxa
d90131bce1 Base: Add Tai Le to font Katica Regular 10
1950-1974 https://www.unicode.org/charts/PDF/U1950.pdf
2022-05-28 21:54:39 +02:00
Xexxa
9824227871 Base: Add Oriya to font Katica Regular 10
0B01-0B77 https://www.unicode.org/charts/PDF/U0B00.pdf
2022-05-28 21:54:39 +02:00
Xexxa
ee8aa63cbe Base: Add the Philippine flag 2022-05-28 21:54:39 +02:00
MacDue
623ad4a42a Applets/ResourceGraph: Open network monitor when clicking network graph
(Previously, it would open the performance monitor tab)
2022-05-28 21:52:44 +02:00
EWouters
39682d4fbc Ports/acpica-tools: Use ./package.sh dev to align patches and ReadMe
This prevents manual changes to the ReadMe to get lost in the future.
2022-05-28 14:57:13 +01:00
Liav A
58b46d9e37 Utilities: Add edid-dump program to dump EDID from Display connectors 2022-05-27 22:27:44 +01:00
Liav A
606cfc4d48 Ports: Remove spaces in specifier in 2 printf calls in acpica-tools port
The specifiers are badly written and lead to a crash when using iASL.
This happens because our printf doesn't understand how to handle a space
between the percent symbol and the actual formatted type specifier after
it. To fix this, we just remove the spaces in a new patch file.
2022-05-27 22:26:51 +01:00
djwisdom
cf68e01970 Base: Make kill process icon using hand as gun gesture
This was suggested by dither8 on Discord https://bit.ly/3ynR3sb
2022-05-27 22:18:26 +01:00
Liav A
d1c9089fcd Ports: Add ACPICA tools port 2022-05-27 08:52:35 +01:00
Karol Kosek
3667d7e93c Userland: Depend some applications on WebContent if it's being used
Deduced this mostly by looking at unveil()s.
2022-05-26 21:54:58 +01:00
Karol Kosek
a41dfc416f WebContent: Depend on ImageDecoder, RequestServer and WebSocket 2022-05-26 21:54:58 +01:00
Karol Kosek
0534a68c6c Welcome: Depend on Help 2022-05-26 21:54:58 +01:00
Karol Kosek
d8862853bb Browser: Depend on BrowserSettings
The app refused to run in the Required+Browser system configuration,
because unveil was angry that BrowserSettings wasn't being installed.
2022-05-26 21:54:58 +01:00
Karol Kosek
3dfa215174 CharacterMap: Mark this component as 'recommended', not 'required'
Despite being a small and useful program, it doesn't feel being
essential enough to be included in every build configuration.
2022-05-26 21:54:58 +01:00
huttongrabiel
2cfbb9a0e8 LibGUI: Implement case inversion in Vim emulation
When in visual mode with text selected, on Key_Tilde press, uppercase
characters convert to lowercase and lowercase ones to uppercase.
2022-05-26 21:51:23 +01:00
huttongrabiel
8ffa860bc3 AK: Add invert_case() and invert_case(StringView)
In the given String, invert_case() swaps lowercase characters with
uppercase ones and vice versa.
2022-05-26 21:51:23 +01:00
Maciej
b1709c368f Base: Don't launch LookupServer in generate-manpages mode
This is not needed now.
2022-05-26 21:49:52 +01:00
Maciej
7fba41321e netstat: Stop needing LookupServer for parsing arguments
Previously the netstat utility crashed when LookupServer wasn't running
because it tried to unveil nonexistent /tmp/portal/lookup socket. This
commit fixes that.
2022-05-26 21:49:52 +01:00
Maciej
238bed2f24 Base: Add man page for network configuration 2022-05-26 21:47:27 +01:00