Linus Groh
173630c5ef
js: Implement pretty-printing of Temporal.Duration objects
2021-07-16 01:07:01 +01:00
Linus Groh
8daf35e1b1
LibJS: Implement Temporal.Duration.prototype.valueOf()
2021-07-16 01:07:01 +01:00
Linus Groh
a06b034a9a
LibJS: Implement Temporal.Duration.prototype.blank
2021-07-16 01:07:01 +01:00
Linus Groh
3713164fa3
LibJS: Implement Temporal.Duration.prototype.sign
2021-07-16 01:07:01 +01:00
Linus Groh
be5254dcac
LibJS: Implement Temporal.Duration.prototype.nanoseconds
2021-07-16 01:07:01 +01:00
Linus Groh
04e2d215a1
LibJS: Implement Temporal.Duration.prototype.microseconds
2021-07-16 01:07:01 +01:00
Linus Groh
db22f86055
LibJS: Implement Temporal.Duration.prototype.milliseconds
2021-07-16 01:07:01 +01:00
Linus Groh
b81331a110
LibJS: Implement Temporal.Duration.prototype.seconds
2021-07-16 01:07:01 +01:00
Linus Groh
dbdbfbeebc
LibJS: Implement Temporal.Duration.prototype.minutes
2021-07-16 01:07:01 +01:00
Linus Groh
067c2346ed
LibJS: Implement Temporal.Duration.prototype.hours
2021-07-16 01:07:01 +01:00
Linus Groh
2015640168
LibJS: Implement Temporal.Duration.prototype.days
2021-07-16 01:07:01 +01:00
Linus Groh
23d0c3494f
LibJS: Implement Temporal.Duration.prototype.weeks
2021-07-16 01:07:01 +01:00
Linus Groh
8011409428
LibJS: Implement Temporal.Duration.prototype.months
2021-07-16 01:07:01 +01:00
Linus Groh
300a22f9b9
LibJS: Implement Temporal.Duration.prototype.years
2021-07-16 01:07:01 +01:00
Linus Groh
23766f28db
LibJS: Implement Temporal.Duration.prototype[@@toStringTag]
2021-07-16 01:07:01 +01:00
Linus Groh
7921d8ba91
LibJS: Start implementing Temporal.Duration
...
This patch adds the Duration object itself, its constructor and
prototype (currently empty), and three required abstract operations.
2021-07-16 01:07:01 +01:00
Ali Mohammad Pur
71234b3716
Utilities: Make the js REPL autocomplete correctly handle new Ident
...
Previously, `new` was being recognised as an identifier, which was
preventing this from working.
2021-07-16 02:36:53 +04:30
Gunnar Beutner
d83c672926
LibC: Don't include AK headers in system headers
...
AK/Platform.h might not be available when building the toolchain.
2021-07-15 23:51:59 +02:00
Tom
82e9fe8d67
Kernel: Optionally dump scheduler state with stack traces
...
This will dump stack traces of all threads when pressing
Ctrl+Shift+Alt+F12
2021-07-15 23:46:37 +02:00
Jamie Mansfield
0150ae4bbd
Solitaire: Reduce overdraw when drawing initial cards
2021-07-15 21:47:36 +02:00
Jamie Mansfield
882b4dc848
Spider: Reduce overdraw when playing
2021-07-15 20:11:22 +02:00
Jamie Mansfield
0f9873475b
Spider: Reduce overdraw when drawing initial cards
2021-07-15 20:11:22 +02:00
Jamie Mansfield
c0bc884295
Spider: Automatically reveal top cards
...
This matches basically all other Spider implementations I've played,
and makes playing much easier :)
I have left click-to-reveal in place, but mostly incase there is a
condition I've forgotten about.
2021-07-15 19:52:14 +02:00
Tom
1021aba226
LibGUI: Dither pattern should be independent from clipping rectangle
...
The dither pattern needs to be determined relative to the bitmap
itself, not the clipping rectangle.
Fixes #8780
2021-07-15 19:46:42 +02:00
Dhruv Maroo
30af999431
Utilities: Allow filenames containing '=' in dd ( #8766 )
2021-07-15 18:36:46 +04:30
Karol Kosek
e46a4181fa
Help: Add context menu
2021-07-15 14:42:48 +02:00
Gavin Downard
bd4e88ae3d
PixelPaint: Fix crash when copying empty selection
...
Previously, trying to copy when there is no selection would crash,
trying to call mmap with a size of 0. Now it just leaves the clipboard
as it is.
2021-07-15 13:25:39 +02:00
Gunnar Beutner
56cbd00e94
SpiceAgent: Add Clipboard as a build dependency
...
SpiceAgent depends on header files built as part of the Clipboard
target.
2021-07-15 11:51:16 +02:00
M4x1m3
39e622c400
Utilities: Add groupdel
2021-07-15 11:16:58 +02:00
M4x1m3
21cb531be1
Utilities: Add groupadd
2021-07-15 11:16:58 +02:00
M4x1m3
927f6ea221
LibC: Add putgrent
2021-07-15 11:16:58 +02:00
Timothy
2eb93f2628
LibCore+LibIMAP: Move Promise to LibCore
...
This makes Promise available without having to link LibIMAP.
2021-07-15 11:11:14 +02:00
Gunnar Beutner
e4f05a9046
Kernel: Make new kernel build process work on macOS
...
Use objcopy from the toolchain so that the changes introduced in
7236584
will succeed on macOS.
Fixes #8768 .
2021-07-15 11:04:30 +02:00
Matthew Hall
3b5b7c5e65
VimEditingEngine: Add support for repeats of J
2021-07-15 10:10:07 +02:00
Matthew Hall
2653ad36ee
VimEditingEngine: Add support for repeats of p and P
2021-07-15 10:10:07 +02:00
Matthew Hall
7b7548ce9d
VimEditingEngine: Allow repeats for dd, yy and x
2021-07-15 10:10:07 +02:00
Matthew Hall
c1e2710a0d
VimEditingEngine: Add P command to put before cursor
2021-07-15 10:10:07 +02:00
Matthew Hall
180e2469af
VimEditingEngine: Add J command to join two lines
2021-07-15 10:10:07 +02:00
Matthew Hall
a7e7f62d08
VimEditingEngine: Operate on real lines rather than wrapped ones
...
In the normal editing engine keys like Home, End etc work on visual
lines, but vim operates on real ones. Eg if you have a really long line
and wrapping is on then in normal editing Home would take you to the
beginning of the wrapped line, but 'I' would put you insert mode at the
beginning of the real line in vim.
2021-07-15 10:10:07 +02:00
Riyyi
5d1676b05a
Meta: Do not warn user about too modern clang-format
...
To prevent warnings for users of varying distributions, do not warn the
user if the clang-version is higher than the expected version.
2021-07-15 09:27:44 +02:00
Daniel Bertalan
4566387ba5
AK: Add workaround for clang-format 12 problems with concepts
2021-07-15 09:26:19 +02:00
Andreas Kling
15ad4a8fd6
Kernel: Convert RangeAllocator to using a RedBlackTree internally
...
This data structure is a much better fit for what is essentially a
sorted list of non-overlapping ranges.
Not using Vector means we no longer have to worry about Vector buffers
getting huge. Only nice & small allocations from now on.
2021-07-15 02:03:57 +02:00
Andreas Kling
980f409003
AK: Allow getting the key from a RedBlackTree iterator
2021-07-15 01:48:10 +02:00
Andreas Kling
4ff35c23d3
AK: Make RedBlackTree non-copyable and non-movable
2021-07-15 01:48:09 +02:00
Andreas Kling
b0d9b88c49
Kernel: Hoist VERIFY from a loop in RangeAllocator::allocate_specific()
2021-07-15 01:48:09 +02:00
Andreas Kling
7ff14fecba
Kernel: Remove unnecessary locking in RangeAllocator::contains()
...
The total range managed by a RangeAllocator doesn't change, so there's
no need to take a spinlock while comparing against it.
2021-07-15 01:48:09 +02:00
Andreas Kling
d4c73daacb
Kernel: Convert RangeAllocator to east-const style
2021-07-15 01:48:09 +02:00
Kenneth Myhra
d60f617644
Ports: Add Launcher for Epsilon
2021-07-15 01:47:51 +02:00
Kenneth Myhra
6fa4eb7c8e
Ports: Add missing dependency 'freetype' for Epsilon
2021-07-15 01:47:51 +02:00
Ali Mohammad Pur
5d170810db
AK: Make JsonParser correctly parse unsigned values larger than u32
...
Prior to this, it'd try to stuff them into an i64, which could fail and
give us nothing.
Even though this is an extension we've made to JSON, the parser should
be able to correctly round-trip from whatever our serialiser has
generated.
2021-07-15 01:47:35 +02:00