Commit graph

38429 commits

Author SHA1 Message Date
networkException
52ee5026ea LibGUI+Browser: Fix crash when activating a "Tab n" action
Previously we would try setting the tab index regardless if that tab
actually existed, resulting in Browser crashing by either pressing
Control + N or using the CommandPalette.
2022-06-05 13:46:52 +01:00
Luke Wilde
971d6ce16f LibGL: Reject GL_LEFT and GL_RIGHT in glCullFace
glCullFace only accepts GL_FRONT, GL_BACK and GL_FRONT_AND_BACK.
We checked if the mode was valid by performing
```
cull_mode < GL_FRONT || cull_mode > GL_FRONT_AND_BACK
```

However, this range also contains GL_LEFT and GL_RIGHT, which we would
accept when we should return a GL_INVALID_ENUM error.
2022-06-04 22:25:16 +01:00
Xexxa
2a171dfc38 Ports: Update serenity-theming to 2287073 2022-06-04 21:48:03 +01:00
May
47f4bfea35 LibC: Make asctime_r() in time.h POSIX compliant
Previously, when the asctime_r() buffer overflowed, we would fail an
assertion.
This patch modifies asctime_r() to instead set errno and return null.
2022-06-04 12:23:25 +01:00
Tim Schumacher
0ecf17cf91 Ports: Replace manually linking xz with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
1c66ec7aea Ports: Replace manually linking ntbtls with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
1f726791fb Ports: Replace manually linking npth with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
834e0ee614 Ports: Replace manually linking libxml2 with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
9213ed85f0 Ports: Replace manually linking libvorbis with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
e3b29ef61c Ports: Replace manually linking libtiff with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
bd7bcd2407 Ports: Replace manually linking libtheora with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
6d20f2aaa1 Ports: Replace manually linking libsodium with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
e9e6dd925c Ports: Replace manually linking libpng with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
5b034a75bb Ports: Replace manually linking libogg with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
07e046cf97 Ports: Replace manually linking libmodplug with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
095eb8194e Ports: Replace manually linking libksba with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
c7faa3a229 Ports: Replace manually linking libjpeg with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
a97899c088 Ports: Replace manually linking libiconv with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
9e1de61613 Ports: Replace manually linking libgpg-error with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
9d3e8b3e57 Ports: Replace manually linking libgcrypt with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
c4f645f4a2 Ports: Replace manually linking libassuan with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
dadb6e1c15 Ports: Replace manually linking SDL2_ttf with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
16a34c521e Ports: Replace manually linking SDL2_net with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
546f398ff5 Ports: Replace manually linking SDL2_mixer with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
e7f8389d37 Ports: Replace manually linking SDL2_image with a libtool patch 2022-06-03 20:50:01 +01:00
Tim Schumacher
9b4b068166 Ports: Replace manually linking SDL2_gfx with a libtool patch 2022-06-03 20:50:01 +01:00
Idan Horowitz
34e193afa6 LibWeb: Reject invalid background-repeat values instead of crashing 2022-06-03 19:14:22 +01:00
Idan Horowitz
56ec781aea LibWeb: Support DocumentFragments in Node.prototype.cloneNode
In this case, "Do nothing" means do nothing *extra* aside from creating
a new instance.
2022-06-03 17:24:24 +01:00
Idan Horowitz
610afb21ac js: Create throw completions instead of raw error values on SyntaxError
This ensures that js's error printing logic is used instead of the
generic value printing logic, which then lets eshost correctly parse
thrown SyntaxErrors using the normal LibJS exception format.
2022-06-03 17:17:54 +01:00
Lorenzo Concas
a67a7229f8 WindowServer: Check that a menu is not null
If an application menu is null, WindowServer crashes
2022-06-03 12:30:32 +01:00
MacDue
5aad6a4378 Applets: Use spawn_or_show_error() for common spawn pattern 2022-06-03 12:29:56 +01:00
MacDue
5fd5a03d1f Applications: Use spawn_or_show_error() for common spawn pattern 2022-06-03 12:29:56 +01:00
MacDue
5e5a055455 Services: Use Core::Process::spawn() for common process spawn pattern 2022-06-03 12:29:56 +01:00
stelar7
e547f5887e LibWeb: Fix Array OOBs in the HTMLTokenizer
Accessing last() if there are no elements makes WebContent crash :^)
2022-06-03 12:29:11 +01:00
EWouters
997890c94e Ports/cmake: Update cmake to version 3.23.2 2022-06-02 23:26:14 +01:00
circl
06eca0a666 Meta: Add check if AvailablePorts.md is sorted 2022-06-02 23:18:06 +01:00
circl
83b21d4299 Ports: Re-sort AvailablePorts.md 2022-06-02 23:18:06 +01:00
circl
6b16430d01 Ports/powdertoy: Use the release build type
This should speed up the game
2022-06-02 23:18:06 +01:00
circl
ddfcefe311 Ports/luajit: Use HOST_CC instead of hardcoding gcc 2022-06-02 23:18:06 +01:00
circl
e51547986e Ports/luajit: Move warning to configure
Putting it in preconfigure did not work, as useconfigure wasn't enabled.
2022-06-02 23:18:06 +01:00
circl
f1111e99bf Ports/tinycc: Fix syntax error in backtrace patch
This typo prevented it from compiling.
2022-06-02 23:18:06 +01:00
stelar7
771e3b9868 LibJS: Stub out String.prototype.normalize 2022-06-02 23:04:27 +01:00
Xexxa
0239c79d3d Base: Add Misc. Symbols and Pictographs to font Katica Regular 10
1F32B, 1F32D, 1F336, 1F33E, 1F33F, 1F34E, 1F34F, 1F350, 1F35E, 1F369,
1F36D, 1F388, 1F397, 1F398, 1F39A, 1F39B, 1F39E, 1F3A2, 1F3A5, 1F3A7,
1F3A8, 1F3B2, 1F3B3, 1F3BF, 1F3C3, 1F3CA, 1F3CB, 1F3CC, 1F3DB, 1F3E0,
1F3E1, 1F3E5, 1F451, 1F452, 1F453, 1F484, 1F49F, 1F4A5, 1F4AB, 1F4B0,
1F4B1, 1F4B2, 1F4B3, 1F4B4, 1F4B5, 1F4B6, 1F4B7, 1F4BA, 1F4CC, 1F4D2,
1F4D3, 1F4DB, 1F4DE, 1F4E1, 1F4E2, 1F4E3, 1F4E4, 1F4E5, 1F4E6, 1F4E7,
1F4EE, 1F4F0, 1F4F8, 1F4F9, 1F4FB, 1F4FC, 1F4FD, 1F4FE
https://www.unicode.org/charts/PDF/U1F300.pdf
2022-06-02 23:13:22 +02:00
Karol Kosek
5f89369f67 LibGUI: Use default buttons in ColorPicker and FontPicker 2022-06-02 22:33:00 +02:00
Karol Kosek
c317275425 Taskbar: Use default buttons in ShutdownDialog 2022-06-02 22:33:00 +02:00
Karol Kosek
72be27e16c PixelPaint: Use default buttons in EditGuideDialog 2022-06-02 22:33:00 +02:00
Karol Kosek
9f1f1b8472 Userland: Use default buttons instead of manually handling return press
Besides simplifying the code, this will also draw outline for these
buttons as a cue for a user!
2022-06-02 22:33:00 +02:00
Karol Kosek
a232395b77 LibWeb: Check recursively if CSS functions contain var() or attr()
Previously, `var()` inside functions like `rgb()` wasn't resolved.

This will set the background color for badges in the New category on
https://ports.serenityos.net. :^)
2022-06-02 22:31:41 +02:00
Timon Kruiper
1072d523e2 Kernel: Initialize and use interrupts in the aarch64 Kernel
Now that everything is in place, we can actually use interrupts in the
aarch64 Kernel build. :^)
2022-06-02 13:14:12 +01:00
Timon Kruiper
dab6dbe893 Kernel: Add interrupt support to aarch64 RPi Timer driver
Since we can now build and use the IRQHandler class, we can implement
interrupt support for the Timer in the aarch64 build.
2022-06-02 13:14:12 +01:00