Linus Groh
cfb77b66e5
LibJS: Start implementing Temporal.ZonedDateTime
...
This commit adds the ZonedDateTime object itself, its constructor and
prototype (currently empty), and the CreateTemporalZonedDateTime
abstract operation.
2021-08-01 20:31:31 +01:00
Linus Groh
1b9b995f93
LibJS: Use "T m_foo; // [[Foo]]" style for all Temporal internal slots
2021-08-01 20:31:31 +01:00
K-Adam
9758ba5678
3DFileViewer: Display frame rate optionally
...
It is turned off by default
2021-08-01 17:41:26 +02:00
LuK1337
feacf774fb
cksum: Print argv[0] on failed read
...
Forgot to do it in c5df5e5
.
2021-08-01 19:26:57 +04:30
sin-ack
eb6cf00c0e
SystemMonitor: Register ProcessStateModel with ProcessModel on construct
...
Since this was missing, ProcessStateModel never received
model_did_update, and it was possible for the ProcessModel index to go
stale and show another process.
Fixes #9129 .
2021-08-01 19:26:07 +04:30
LuK1337
cf4bd4e4c9
cksum: Display adler32/crc32 sums as hex numbers
...
This basically follows what `crc32` and `xrdadler32` does on Linux
distros.
2021-08-01 13:02:16 +02:00
LuK1337
c5df5e504c
cksum: Don't read the entire input file in memory
...
Same as `checksum`, in some cases we just can't load whole file into
memory.
2021-08-01 13:02:16 +02:00
Linus Groh
dc80a258f6
LibJS: Implement Temporal.Calendar.from()
2021-08-01 11:40:25 +01:00
LuK1337
a91848c148
FileManager: Refresh DirectoryView after applying changes
...
Fixes : #9136
2021-08-01 12:30:24 +02:00
Karol Kosek
92fd86901d
FileManager: Enable/Disable mkdir and touch actions on path change
...
This change disables the icons in read-only directories.
2021-08-01 12:12:59 +02:00
Karol Kosek
755fe2b0ca
FileManager: Remove the rename action from the tree view context menu
...
The action never worked properly here. It used the selection
from the directory view, instead of the tree view.
Furthermore, the tree view isn't even editable.
Just making tree view editable wouldn't fix it -- it'd probably
need something like creating an on_stop_editing() function
in the AbstractView to change the path after the rename.
For now, I'll remove the action from the menu as a "temporary fix".
2021-08-01 12:12:59 +02:00
Karol Kosek
c1dc9e6de2
FileManager: Add the rename action to the toolbar
...
When I was adding the action in #8713 , the action did not have an icon
yet. Now, since it has an icon now, we can add it to the toolbar!
2021-08-01 12:12:59 +02:00
Gunnar Beutner
079dec11d3
LibGfx: Fix writing PNG headers on x86_64
...
m_data.size() returns a size_t which is a 64-bit type on x86_64. This
resulted in us incorrectly using zero in the PNG header.
2021-08-01 11:56:01 +02:00
Gunnar Beutner
e4538ce8ef
LibGfx: Fix a spelling mistake in a variable name
2021-08-01 11:56:01 +02:00
Linus Groh
e511390423
LibJS: Implement Temporal.TimeZone.prototype.getPlainDateTimeFor()
2021-08-01 10:24:38 +01:00
Linus Groh
c4123d8aad
LibJS: Implement Temporal.TimeZone.prototype.getOffsetStringFor()
2021-08-01 10:24:38 +01:00
Linus Groh
f987c11464
LibJS: Implement Temporal.TimeZone.from()
2021-08-01 10:24:38 +01:00
Lennon Donaghy
28b1e66b51
HackStudio: Properly close previous project when opening a new one
...
Previously files in the open files view would stay open from the
previous project, and files in the new project with the same name as
files in the old one would be inaccessible, with the old ones showing
up instead. Now all files and open editors are closed before a new
project is opened.
Fixes #9103
2021-08-01 09:17:02 +02:00
Brian Gianforcaro
2faa73ff7d
Applets: Remove unused header includes
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
d1644c26d6
Tests: Remove unused header includes
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
a4c37d49a0
DevTools: Remove unused header includes
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
a51e6547aa
Applications: Remove unused header includes
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
4374e1e213
Demos: Remove unused header includes
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
808aa31353
Services: Remove unused header includes
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
18d6f9ed5c
Libraries: Remove unused header includes
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
217179a39f
LibWeb: Remove unused header includes
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
b0fbea848b
LibGfx: Remove unused header includes
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
219d4ba376
Utilities: Remove unused header includes
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
8623cec0d7
LibGUI: Remove unused header includes
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
53166c10ca
LibJS: Remove unused header includes
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
b10657a2b6
LibJS: Remove unused includes out of Cell.h, move to the users
...
Almost everything in LibJS includes Cell.h, don't force all code to
include AK/TypeCasts.h + AK/String.h. Instead include them where they
are actually used and required.
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
176e1cbca7
LibCore: Remove unused header includes
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
0fc853f5ba
Kernel: Remove ThreadTracer.h include from Process.h / Thread.h
...
This isn't needed for Process / Thread as they only reference it
by pointer and it's already part of Kernel/Forward.h. So just include
it where the implementation needs to call it.
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
44e992429f
Kernel: Only include AK/SourceLocation.h if LOCK_DEBUG is enabled
...
Don't pay the header inclusion cost if we aren't compiling with the
LOCK_DEBUG option enabled.
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
14c674183b
Kernel: Only include KCOVDevice.h if ENABLE_KERNEL_COVERAGE_COLLECTION
...
There's no reason to include this header if we aren't going to actually
use it.
2021-08-01 08:10:16 +02:00
Brian Gianforcaro
ed996fcced
Kernel: Remove unused header includes
2021-08-01 08:10:16 +02:00
Ryan Liptak
b0a4bcb688
shot: Make output filename a hyperlink when applicable
...
The hyperlink only gets printed when stdout is a TTY, so e.g. something
like `shot | cat` will not get the hyperlink escapes.
2021-08-01 08:04:53 +02:00
Brian Gianforcaro
c54ae3afd6
Tests: Fix AK/TestJSON.cpp by not relying on disk resources
...
The following commit broke Tests/AK/TestJSON.cpp as it removed the
file that the test loaded from disk to validate JSON parsing.
commit ad141a2286
Author: Andreas Kling <kling@serenityos.org>
Date: Sat Jul 31 15:26:14 2021 +0200
Base: Remove "test.frm" from HackStudio test project
Instead of restoring the file, lets just embed a bit of JSON in the
test case to avoid using external resources, as they obviously are
surprising and make the test less portable across environments.
2021-07-31 23:56:40 +02:00
Andreas Kling
05faca91d5
DisplaySettings: Rename "virtual desktops" => "workspaces"
2021-07-31 20:09:27 +02:00
Andreas Kling
67c0a2c5df
MailSettings: Use the same app icon as Mail
...
*Settings applications should use the same icon as the app they manage
the settings for.
2021-07-31 20:09:27 +02:00
Andreas Kling
0e678403af
Base: Improve Mail app icon (32x32)
2021-07-31 20:09:27 +02:00
Andreas Kling
ad141a2286
Base: Remove "test.frm" from HackStudio test project
2021-07-31 20:09:27 +02:00
Thomas Wagenveld
bcdb4e705d
CI: Do not change the system gcc version to 10
...
Because the Serenity tooling autodetects the presence of gcc 10
it is no longer necessary to change the system gcc version to 10.
2021-07-31 18:23:43 +02:00
sin-ack
ce3f8661fb
Userland: Fix id(1) printing the user's primary group for extra gids
...
This regressed in 538cc9d9
because of a typo.
2021-07-31 17:56:53 +02:00
TheFightingCatfish
08359ba578
LibWeb: Fix regression of "contenteditable" attribute
2021-07-31 17:39:28 +02:00
Linus Groh
95331ea864
LibJS/Tests: Fix Temporal.Now.plainDateTime{,ISO}() epoch calculation
...
Combining month and day like this doesn't always yield correct results.
Use dayOfYear multiplied by the seconds per day instead, which does.
2021-07-31 13:54:25 +01:00
Linus Groh
cab1015a03
LibJS/Tests: Fix Temporal.Now.plainDate{,ISO}() at end of month/year
...
Evidently, going one day forward on the last day of month increases the
month number by one and resets the day to 1. Doing the same on the last
day of the year resets the month to 1.
2021-07-31 13:54:25 +01:00
Andreas Kling
57e2a38de0
Meta: Add Sam Atkins to the contributors list :^)
2021-07-31 11:22:53 +02:00
Andreas Kling
70d0004605
Meta: Add Jelle Raaijmakers to the contributors list :^)
2021-07-31 11:22:53 +02:00
Andreas Kling
b56a2c3e4c
KeyboardSettings: Remove outdated FIXME
2021-07-31 11:22:53 +02:00