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
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
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
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
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
b56a2c3e4c
KeyboardSettings: Remove outdated FIXME
2021-07-31 11:22:53 +02:00
Andreas Kling
7f7ba726f0
Browser: Change "Custom" => "Custom..." in menus where appropriate
...
If a menu item requires additional user input before the action can be
taken, it should have an ellipsis.
2021-07-31 11:22:53 +02:00
Karol Kosek
ceadbafa97
HackStudio+TextEditor: Sync extensions from the FileIconProvider file
...
This adds more possible extensions for highlighting C/C++ files
and JavaScript module files.
2021-07-31 08:18:01 +02:00
Karol Kosek
d1f5cd3c7e
HackStudio: Don't use 'else' after 'return'
2021-07-31 08:18:01 +02:00
Karol Kosek
bf322e072f
HackStudio: Add syntax highlighting for HTML, Shell, and SQL files
...
.html files were recognised before -- the name was shown on
the statusbar, but it didn't actually enable the syntax highlighting.
This also sneaks a highlighting for JSON using JS highlighting.
It isn't technically correct, but so does TextEditor. :^)
2021-07-31 08:18:01 +02:00
Karol Kosek
68088b629b
TextEditor: Add automatic syntax highlighting for Shell and .htm files
2021-07-31 08:18:01 +02:00
LuK1337
6e42cb8c55
KeyboardMapper: Add menus before showing the window
...
Otherwise, space is reserved but menus aren't shown.
2021-07-31 08:08:31 +02:00
LuK1337
5fa8a107df
Calculator: Add menus before showing the window
...
Otherwise, space is reserved but menus aren't shown.
2021-07-31 08:08:31 +02:00
LuK1337
38767e262d
Piano: Add menus before showing the window
...
Otherwise, space is reserved but menus aren't shown.
2021-07-31 08:08:31 +02:00
LuK1337
4b81b9718d
Breakout: Add menus before showing the window
...
Otherwise, space is reserved but menus aren't shown.
2021-07-31 08:08:31 +02:00
LuK1337
7f99497378
Pong: Add menus before showing the window
...
Otherwise, space is reserved but menus aren't shown.
2021-07-31 08:08:31 +02:00
Idan Horowitz
64a98d0f90
LibJS: Implement Temporal.PlainDateTime.prototype.toPlainTime
2021-07-31 00:16:41 +01:00
Idan Horowitz
010761aff4
LibJS: Implement Temporal.PlainDateTime.prototype.withPlainDate
2021-07-31 00:16:41 +01:00
Idan Horowitz
f657c86d58
LibJS: Implement Temporal.PlainDateTime.prototype.withCalendar
2021-07-31 00:16:41 +01:00
Sam Atkins
4c4482c7f6
LibWeb: Ignore unquoted data urls in CSS
...
Previously we were only ignoring quoted ones (eg `url("data:...")`), so
now we ignore unquoted ones (eg `url(data:...)`) too.
2021-07-31 00:18:11 +02:00
Sam Atkins
23d869138f
LibWeb: Parse calc() values in new CSS Parser
...
This is a port of the code from DeprecatedCSSParser, to work with CSS
Tokens and TokenStream. I've modified it as little as possible.
2021-07-31 00:18:11 +02:00
Sam Atkins
21c59efbb9
LibWeb: Treat CSS calc() values as "builtin_or_dynamic"
2021-07-31 00:18:11 +02:00