Linus Groh
be2c86002a
LibJS: Handle absent options in DifferenceZonedDateTime
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/edc223c
2022-06-15 17:49:20 +01:00
Linus Groh
5eb48f6f3a
LibJS: Remove constant arguments from CalculateOffsetShift
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/0bc5f9d
2022-06-15 17:49:20 +01:00
Linus Groh
2ce3d4389a
LibJS: Use existing variable instead of re-reading internal slot
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/8d62569
2022-06-15 17:49:20 +01:00
Linus Groh
a7dfe9096c
LibJS: Switch branches in RegulateISODate
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/2e4a06f
2022-06-15 17:49:20 +01:00
Linus Groh
07041498f8
LibJS: Inline ConstrainISOYearMonth into RegulateISOYearMonth
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/c97932b
2022-06-15 17:49:20 +01:00
Linus Groh
aaa9524a52
LibJS: Add parentheses around modulo operation
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/90e4b34
2022-06-15 17:49:20 +01:00
Linus Groh
287dd03e2e
LibJS: Use nsMinInstant / nsMaxInstant constants in ParseTemporalInstant
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/a045682
2022-06-15 17:49:20 +01:00
Linus Groh
690585323d
LibJS: Prefer Else + Assertion over If for constrained values
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/2088eaa
2022-06-15 17:49:20 +01:00
Linus Groh
9b3602d000
LibJS: Update missing/superfluous commas in various spec comments
...
These are editorial changes in the Temporal spec.
See:
- https://github.com/tc39/proposal-temporal/commit/9586746
- https://github.com/tc39/proposal-temporal/commit/3c76ecc
- https://github.com/tc39/proposal-temporal/commit/96eab07
2022-06-15 17:49:20 +01:00
Linus Groh
30328d74d0
LibJS: Use MaximumTemporalDurationRoundingIncrement in two more places
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/de582e2
2022-06-15 17:49:20 +01:00
Linus Groh
6c82c9df79
LibJS: Fix GetIterator capitalization in Calendar.prototype.fields
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/8538970
2022-06-15 17:49:20 +01:00
Linus Groh
9d2377ff60
LibJS: Only call CanonicalizeTimeZoneName on valid time zone IDs
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/30122e6
2022-06-15 17:49:20 +01:00
Linus Groh
cf61d01140
LibJS: Add a named alias for parseResult.[[Name]] in ToTemporalTimeZone
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/8ddcb07
2022-06-15 17:49:20 +01:00
Linus Groh
71a519831d
LibJS: Update to the latest ECMA-402 GetOption and move it into ECMA-262
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/4e79b69
2022-06-15 17:49:20 +01:00
Linus Groh
46d2ac6da4
LibJS: Align Temporal GetOption AO with ECMA-402
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/7b6a264
2022-06-15 17:49:20 +01:00
Linus Groh
c8d84f33b0
LibJS: Remove unused GetStringOrNumberOption operation
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/d8b3423
2022-06-15 17:49:20 +01:00
Linus Groh
d1b71cba25
LibJS: Explicitly handle "auto" vs. number fractionalSecondDigits
...
This is an editorial change in the Temporal spec.
See:
- https://github.com/tc39/proposal-temporal/commit/4dd6713
- https://github.com/tc39/proposal-temporal/commit/4c2476b
- https://github.com/tc39/proposal-temporal/commit/f1a839b
- https://github.com/tc39/proposal-temporal/commit/c775ebe
- https://github.com/tc39/proposal-temporal/commit/0409774
(Changes across multiple commits, that ended up being reverted.)
2022-06-15 17:49:20 +01:00
Linus Groh
cbc4cf057d
LibJS: Improve an alias name in ToSecondsStringPrecision
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/b75bd9e
2022-06-15 17:49:20 +01:00
Linus Groh
4494be8cf2
LibJS: Inline call to AddISODate in ZonedDateTime.prototype.hoursInDay
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/f034239
2022-06-15 17:49:20 +01:00
Linus Groh
810e9e32c9
LibJS: Remove RegulateISODate after BalanceISODate in AddISODate
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/32b22b1
2022-06-15 17:49:20 +01:00
Linus Groh
e96df3b7a7
LibJS: Leverage PrepareTemporalFields in ToTemporalTimeRecord
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/b5ba981
2022-06-15 17:49:20 +01:00
Linus Groh
6cc69bbd8e
LibJS: Rename ToPartialDuration to ToTemporalPartialDurationRecord
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/0509d41
2022-06-15 17:49:20 +01:00
Linus Groh
6982e53113
LibJS: Leverage ToPartialDuration in ToTemporalDurationRecord
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/c3efde0
2022-06-15 17:49:20 +01:00
Linus Groh
9bcd88828f
LibJS: Fold ToPartialTime into ToTemporalTimeRecord
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/58e476d
2022-06-15 17:49:20 +01:00
Linus Groh
3e6561c75f
LibJS: Fold PreparePartialTemporalFields into PrepareTemporalFields
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/6ed1835
2022-06-15 17:49:20 +01:00
Linus Groh
631f270ac1
LibJS: Add missing conversion to integer values in Calendar AOs
...
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/bfeb523
2022-06-15 17:49:20 +01:00
Linus Groh
03f48056d5
LibJS: Mark various uses of CreateTemporalTime as infallible
...
These are editorial changes in the Temporal spec.
See:
- https://github.com/tc39/proposal-temporal/commit/dd35d5e
- https://github.com/tc39/proposal-temporal/commit/1ec6673
- https://github.com/tc39/proposal-temporal/commit/8c04e3b
- https://github.com/tc39/proposal-temporal/commit/df7a802
- https://github.com/tc39/proposal-temporal/commit/5fc71ae
- https://github.com/tc39/proposal-temporal/commit/ca305c6
2022-06-15 17:49:20 +01:00
Andreas Kling
7ba79dbd9d
Meta: Add Xexxa's GitHub Sponsors to funding options :^)
2022-06-15 17:39:32 +02:00
Andreas Kling
f4243790b4
Meta: Add Sam Atkins to list of project maintainers :^)
2022-06-15 17:36:04 +02:00
Andreas Kling
45de16f195
Userland+Base: Remove Breakout and Pong games
...
These games were not very playable and definitely not fun.
2022-06-15 17:15:04 +02:00
Andreas Kling
4e4a930b13
Kernel: Use the system boot time as default timestamp in /sys and /dev
2022-06-15 17:15:04 +02:00
Andreas Kling
adaaea4c9a
Kernel: Make TimeManagement::boot_time() static
2022-06-15 17:15:04 +02:00
Andreas Kling
a786b374b6
Utilities: Remove ddate
joke program
2022-06-15 17:15:04 +02:00
Andreas Kling
75dca629df
AK+Kernel: Remove RefPtrTraits template param in userspace code
...
Only the kernel actually uses RefPtrTraits, so let's not burden
userspace builds with the complexity.
2022-06-15 17:15:04 +02:00
Andreas Kling
9e994da2ac
Kernel+AK: Split Weakable.h into userspace and kernel variants
...
Only the kernel expects AK::Weakable to lock its refcount manipulation,
so let's not force userspace to pay for that as well.
2022-06-15 17:15:04 +02:00
djwisdom
b47fbea9ad
Base: Update Chillychilly Theme for better aesthetics
2022-06-15 13:20:52 +01:00
Kenneth Myhra
fd5f18b4e1
Ports/glib: Bump GLib to 2.73.0
2022-06-15 10:55:54 +01:00
Hediadyoin1
527fed1391
LibGfx: Purge doubles from Painter and use more of AK::Math
...
The added precision of doubles is most likely not needed here and floats
are usually cheaper than doubles, so lets always stick to them.
This also simplifies some calls to sin+cos to AK:sincos and a call to
atan(1/x) to atan2(1,x) to avoid a division.
2022-06-14 23:00:52 +02:00
Hediadyoin1
9fe0def69b
LibGfx: Use less allocations in highdpi_icon_[path,string] creation
...
Also make it fallible.
2022-06-14 23:00:52 +02:00
Hediadyoin1
69aece9279
LibCore+LibGfx: Pass file-path as StringView
2022-06-14 23:00:52 +02:00
Hediadyoin1
e6a3cac5ce
AK: Add sqrt(2) and sqrt(1/2) constants
2022-06-14 23:00:52 +02:00
Ferhat Geçdoğan
1fa976722a
LibCpp: Support "FIXME" for comments
2022-06-14 19:07:00 +01:00
networkException
621349ed14
DisplaySettings: Use absolute path for loading mouse settings icon
...
This patch fixes DisplaySettings crashing when launching it from a non
root working directory.
2022-06-14 14:57:09 +01:00
MacDue
c9b363de56
LibWeb: Fix regression in painting the 'caret' icon on GitHub
...
This commit reimplements the (normally) 45 degree (depends on
the widths) connection between to adjacent borders. Which is
needed to paint the 'caret' icon seen in a few buttons on GitHub.
The issue of overlapping pixels while painting this has also
been solved for the 45 degree case (the the most likely case,
the other cases only occur of mixed-with borders).
2022-06-14 14:13:18 +01:00
Andreas Kling
81cca937b1
Meta: Add note to CONTRIBUTING.md about jokes
...
Jokes don't scale well, and if everyone adds their pet "funny" thing
to the project, we'll just look unserious and goofy.
To avoid that, and maintain a dignified style, let's just have a blanket
ban on jokes and "funny" things in user-facing parts of the system.
2022-06-14 09:20:08 +02:00
Chase Struck
fc8b74f8b4
Base: Add a man-page for pwd(1)
2022-06-13 17:44:54 -07:00
Obinna Ikeh
3d99e83a86
LibJS: Update order of parameters in our is_less_than implementation
...
This change updates the parameter order of the is_less_than function
signature and calls to match accordingly with the spec
(https://tc39.es/ecma262/#sec-islessthan )
2022-06-13 17:37:11 -07:00
MacDue
4e21835e70
Base: Add an elliptical outline border HTML example
2022-06-14 00:25:12 +01:00
MacDue
9e71fa9aa7
LibWeb: Bring border painting much closer to the spec/other browsers
...
This commit adds some much nicer border painting, which now supports:
- Elliptical corners
- Blending between different border thicknesses, with rounded corners
- Anti-aliasing
There are some little TODOs left to tackle:
- Painting the corners with line styles other than solid
- Blending between colors on the corners (see comments)
The painting requires allocating a small bitmap, that only fits the
corners (so in most cases this is very small).
This bitmap is then cached so for all paints but the first there will
be no further allocations.
2022-06-14 00:25:12 +01:00
MacDue
411a815c3b
LibGfx: Add .as_rect() to AntiAliasingPainter::CornerRadius
2022-06-14 00:25:12 +01:00