networkException
45d78f6435
Documentation: Update the required packages for arch based systems
...
Since qemu 7 the Arch Linux repository is using a different naming
system for the various required packages. This patch updates the
required dependencies for running serenity.
See https://archlinux.org/news/qemu-700-changes-split-package-setup/
2022-05-09 17:18:25 +02:00
circl
d79486109a
LibC: Add missing macro definitions for errno codes
2022-05-08 13:04:32 -07:00
MacDue
739d870091
Fire: Ignore mouse events outside the window (to the left)
...
This fixes a small issue where if you drag the cursor outside the
window on the left-hand side, the fire demo will still respond to
the mouse events, but wrapped around to the right of the window.
2022-05-08 18:15:12 +02:00
MacDue
934ea4faf1
Fire: Replace #defines with constexprs
2022-05-08 18:15:12 +02:00
Lucas CHOLLET
ebb35e03be
Toolchain: Allow BuildQemu.sh to resume downloads
...
Use -C option for curl to resume if a partially downloaded file already
exists.
2022-05-08 17:48:05 +02:00
Torstennator
f9ec3b986e
LibGUI: Fix {Value,Opacity}Slider value changes for values less than 0
...
This patch fixes a value glitch when changing the slider value via
dragging the knob with the mouse and having a min value smaller than 0.
Before this patch it was not possible to drag the value below 0 and it
just snapped to the configured min value if the mouse was at the most
left position. Now the value is calculated from the value range and
mouse position within the widget.
2022-05-08 17:17:56 +02:00
Luke Wilde
ee6fb51db6
LibJS: Add a couple of missing spec steps to PerformEval
...
I missed these in 34f902fb52
.
2022-05-08 17:12:27 +02:00
Luke Wilde
77ba3d3e3f
LibJS: Remove callerRealm from HostEnsureCanCompileStrings
...
This is a normative change in the ecma262 spec.
See: https://github.com/tc39/ecma262/commit/2527be4
2022-05-08 17:12:27 +02:00
Vitaly Dyachkov
a0a4d169f4
AK+LibGUI: Pass predicate to *_matching() methods by const reference
2022-05-08 17:02:00 +02:00
Romain Chardiny
6ed2ded77c
KeyboardSettings: Also activate keymap via ListView's on_activation
2022-05-08 16:58:20 +02:00
EWouters
0317882b61
AK: Use AK:: sin and cos on aarch64 build
...
This fixes the lagom build on aarch64, as `__builtin_sincosf` doesn't
take double arguments.
2022-05-08 16:51:23 +02:00
Lucas CHOLLET
c2d999eb52
Meta: Remove hardcoded resize2fs executable path
...
Let which find the resize2fs executable path for us, and use `/usr/sbin`
as a default.
2022-05-08 16:49:52 +02:00
Eli Youngs
21671d9b91
Spreadsheet: Interpret numbers as floats, not integers
2022-05-08 16:45:21 +02:00
Eli Youngs
21c605bfda
Spreadsheet: Update statistical functions to take variadic arguments
2022-05-08 16:45:21 +02:00
Karol Kosek
92f4408d66
DisplaySettings: Make the copy action copy the background path as url
...
Closes : #13907
2022-05-08 16:41:04 +02:00
EWouters
053fc51b7d
Mandelbrot: Remove image export confirmation dialog
...
Andreas mentioned this dialog is not needed in the monthly update
video[^1].
[^1]: https://youtu.be/yUmHEYs5n34?t=364
2022-05-08 16:38:19 +02:00
faxe1008
86d5e5a90c
LibGUI: Add button to PasswordBox to reveal the password
...
This patch adds an eye-like button to the PasswordBox
which allows the user to reveal the typed password.
Whether or not the button is shown is controllable via
an additional property within the PasswordBox.
2022-05-08 16:36:53 +02:00
faxe1008
448d6b9acc
LibGUI: Make TextEditor substitution more explicit
...
This patch changes the member for the code point substitution to be an
Optional to remove the implicitness of the zero value.
2022-05-08 16:36:53 +02:00
offtkp
70e2b42b9d
WindowServer: Consider screen scaling when getting color under cursor
...
Multiply the cursor position by the current scaling mode multiplier when
getting the color under the cursor. Also multiply the screen rectangle
before checking if the cursor is within bounds.
Color picker would not account for scaling when getting the color under
the cursor.
Fixes #13906 .
2022-05-08 16:36:24 +02:00
Ali Mohammad Pur
1830996ac9
xml: Avoid UAF in Error return from serenity_main()
...
ErrorOr<int> cannot own a string, and the string is scrubbed when freed,
so we'd get garbage when errors were printed.
2022-05-08 16:34:58 +02:00
EWouters
0e9100e3c2
Ports/cmake: Update cmake to version 3.23.1
2022-05-08 16:33:27 +02:00
stelar7
cd73d5c1d0
LibWeb: Add missing preprocessing step to the css tokenizer
2022-05-08 16:29:46 +02:00
stelar7
4359d4eb5d
LibWeb: Note and fix Gfx related quirk in ColorStyleValue::to_string
2022-05-08 16:29:18 +02:00
stelar7
fa05c99b22
LibWeb: Commit transaction after parsing '+'?† n <signed-integer>
2022-05-08 16:29:06 +02:00
stelar7
469380d6bc
LibWeb: Dont consider '-n-' a dashndashdigit-ident
token
2022-05-08 16:29:06 +02:00
stelar7
2b3c07f4ad
LibWeb: Include sign in token debug info, if the type has explicit sign
2022-05-08 16:29:06 +02:00
stelar7
5ca8e2a751
LibWeb: Dont try to fetch another token in an+b parsing
...
When parsing <ndash-dimension> <signless-integer>, we tried to parse
a new token from the stream instead of using the value we had already
extracted. This caused pages that used the syntax to crash.
2022-05-08 16:29:06 +02:00
stelar7
303b72d516
LibWeb: Make an+b pattern selector serialization spec compliant
2022-05-08 16:29:06 +02:00
Linus Groh
b751f80166
LibJS: Change internal slots of Duration to store mathematical values
...
This is a normative change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/1f3fba8
2022-05-08 01:01:32 +02:00
Linus Groh
cc8f5151d7
LibJS: Refactor Temporal since/until to common AOs
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/85a9f57
2022-05-08 00:07:58 +02:00
Linus Groh
fc6cf3cb9d
LibJS: Remove ToISODayOfWeek
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/3eab7e4
2022-05-08 00:07:58 +02:00
Linus Groh
cabcdd838b
LibJS: Remove ToISODayOfYear
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/6117d90
2022-05-08 00:07:58 +02:00
Linus Groh
a216c0b6df
LibJS: Remove IsISOLeapYear
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/a36bdd4
2022-05-08 00:07:58 +02:00
Linus Groh
6d0d7c8fd0
LibJS: Remove ISODaysInYear
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/f62e737
2022-05-08 00:07:58 +02:00
Linus Groh
ade7946217
LibJS: Simplify DifferenceISODate
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/76452d2
2022-05-08 00:07:58 +02:00
Linus Groh
6a2b73a4a9
LibJS: Simplify DaysUntil
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/b2254b4
2022-05-08 00:07:58 +02:00
Linus Groh
de0ea331cd
LibJS: Simplify BalanceISODate
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/9544573
2022-05-08 00:07:58 +02:00
Linus Groh
938e68d003
LibJS: Remove type assertion comment from IsValidISODate
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/ddb5652
2022-05-08 00:07:58 +02:00
Linus Groh
15fe6297bc
LibJS: Use "Completion" to emphasize completion record
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/31d9fc5
2022-05-08 00:07:58 +02:00
Linus Groh
f64b69955e
LibJS: Fix numeric type in Date.prototype.toTemporalInstant()
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/435a111
2022-05-08 00:07:58 +02:00
Linus Groh
c6f7214a60
LibJS: Replace magic nanosecond numbers with constants
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/3fdbfda
2022-05-08 00:07:58 +02:00
Linus Groh
3729a910f6
LibJS: Refactor Temporal add/subtract to common AOs
...
This is an editorial change in the Temporal spec.
See:
- https://github.com/tc39/proposal-temporal/commit/2f96efc
- https://github.com/tc39/proposal-temporal/commit/fbff635
2022-05-08 00:07:58 +02:00
MacDue
875093e6a9
DisplaySettings: Fix Clang build failure in ThemePreviewWidget
2022-05-07 23:46:41 +02:00
EWouters
6ea89c35fe
AK: Use builtin versions of llrint{,l,f}
...
This fixes the build on M1 Macs.
2022-05-07 23:36:49 +02:00
Linus Groh
fbc1448eab
Meta: Fix shellcheck errors in build-image-qemu.sh
2022-05-07 23:36:02 +02:00
Linus Groh
b9f1c44dbb
Meta: Tweak default disk size calculation to not be as gratuitous
...
Instead of first doubling the required size for the determined inode
count and then _also_ tripling the sum of that and the determined disk
size, let's be a bit more reasonable and just double the sum of inode
count * size and disk size.
This results in a 1.4GB _disk_image, instead of the 2GB from before
(for < 800MB worth of files).
2022-05-07 23:36:02 +02:00
Linus Groh
3d5645f07d
Meta: Allow overriding the default calculated _disk_image size
...
By providing SERENITY_DISK_SIZE_BYTES as an environment variable, the
calculation of default value considered suitable for the size of files
and number of inodes that will be included can be sidestepped.
2022-05-07 23:36:02 +02:00
Linus Groh
360e149c5c
ThemeEditor: Fix Clang build failure in PreviewWidget
2022-05-07 23:33:00 +02:00
MacDue
cf5b6c5c8d
Demos/Eyes: Render eyes antialiased
...
This looks good, and is a good way to test ellipse rendering is
working properly.
2022-05-07 22:59:02 +02:00
MacDue
89445b967d
PixelPaint: Add antialiased ellipse option
...
Currently this option is only supported for filled ellipses as that
is all the AntiAliasingPainter supports.
2022-05-07 22:59:02 +02:00