Sergei Reznikov
a9a1d0afb4
Documentation: Document setting UUID for VDI image
2022-01-28 19:46:52 +00:00
Timothy Flynn
74939eb943
LibJS: Implement Intl.PluralRules.prototype.resolvedOptions
2022-01-28 19:38:47 +00:00
Timothy Flynn
8b3f49ff84
LibJS: Implement Intl.PluralRules.supportedLocalesOf
2022-01-28 19:38:47 +00:00
Timothy Flynn
624fad3821
js: Implement pretty-printing of Intl.PluralRules
2022-01-28 19:38:47 +00:00
Timothy Flynn
348059bffd
LibJS: Implement the Intl.PluralRules constructor
2022-01-28 19:38:47 +00:00
Timothy Flynn
0087804d10
LibJS: Implement a nearly empty Intl.PluralRules object
...
This adds plumbing for the Intl.PluralRules object, constructor, and
prototype.
2022-01-28 19:38:47 +00:00
Timothy Flynn
ac3e42a8de
LibJS: Move some Intl.NumberFormat fields into a NumberFormatBase class
...
Other Intl objects, such as PluralRules, are to be treated as a
NumberFormat object in some AOs. There's only a handful of fields which
are to be shared between those objects - move them to a base class for
shared reuse.
This also updates the couple of NumberFormat AOs that are meant to
operate on these NumberFormat-like objects.
Alternatively, we could just have objects like PluralRules inherit from
NumberFormat directly. But that messes up the is<NumberFormat> runtime
checks, so this feels safer.
2022-01-28 19:38:47 +00:00
Idan Horowitz
e1ad9326df
Kernel: Remove unimplemented AHCIPort::is_hot_pluggable declaration
2022-01-28 19:05:52 +02:00
Idan Horowitz
5146315a15
Kernel: Convert MemoryManager::allocate_user_physical_page to ErrorOr
...
This allows is to use the TRY macro at the call sites, instead of using
clunky null checks.
2022-01-28 19:05:52 +02:00
Idan Horowitz
bd5b56cab0
Kernel: Make allocate_supervisor_physical_page OOM-fallible
2022-01-28 19:05:52 +02:00
Idan Horowitz
4d2f1a05ec
Kernel: Make allocate_contiguous_supervisor_physical_pages OOM-fallible
2022-01-28 19:05:52 +02:00
Idan Horowitz
956824afe2
Kernel: Use memset instead of fast_u32_fill in MemoryManager zero fills
...
When the values we're setting are not actually u32s and the size of the
area we're setting is PAGE_SIZE-aligned and a multiple of PAGE_SIZE in
size, there's no point in using fast_u32_fill, as that forces us to use
STOSDs instead of STOSQs.
2022-01-28 19:05:52 +02:00
Idan Horowitz
c131e69748
Kernel: Make UHCIController::spawn_port_process OOM-fallible
2022-01-28 19:05:52 +02:00
Idan Horowitz
ad7d4d9be1
Kernel: Rename UHCIController::{spawn_port_proc => spawn_port_process}
...
There's no need to use this non-standard shorthand mnemonic.
(This commit also removes the unimplemented do_debug_transfer while
we're here.)
2022-01-28 19:05:52 +02:00
Idan Horowitz
fa7ae7288b
zip: Ignore symlinks when recursively zipping files
...
This prevents infinite loops when symlinks point to a parent directory.
2022-01-28 19:05:52 +02:00
Idan Horowitz
fcdd56633b
Meta: Set correct boot drive when running with SERENITY_NVME_ENABLE
2022-01-28 19:05:52 +02:00
Timothy Flynn
bd5662d6f2
CharacterMap: Move display name strings into the search results object
...
Now that we're passing the display name directly to the search results
structure, let's move() the string instead of copying it.
2022-01-28 15:26:58 +00:00
Timothy Flynn
54d89401df
CharacterMap: Change the search widget to display results in a TableView
...
Code points that have a bidirectional attribute of right-to-left (e.g.
some Arabic and Hebrew code points) were causing the code point to
render at the end of the search result, rather than the beginning. To
keep the results consistent, split the search results into two columns:
the first for the code point, the second for its name.
2022-01-28 15:26:58 +00:00
Timothy Flynn
acfcad0b06
Revert "FileSystemAccessServer: Display times in the local time zone"
...
This reverts commit fa016a72fd
.
2022-01-28 15:13:35 +00:00
Timothy Flynn
55d28a738e
Revert "FileManager: Display times in the user's local time zone"
...
This reverts commit 080b054695
.
2022-01-28 15:13:35 +00:00
Timothy Flynn
0a1e717e40
Revert "ls: Display times in the user's local time zone"
...
This reverts commit 0c13a3a8ff
.
2022-01-28 15:13:35 +00:00
Timothy Flynn
8599ee3049
Revert "Userland: Invoke tzset in apps that care about time zones"
...
This reverts most of commit ede5c9548e
.
The one change not reverted is ClockWidget.h, so that the taskbar clock
can continue to notice time zone changes.
2022-01-28 15:13:35 +00:00
Timothy Flynn
6838333f76
LibMain: Invoke tzset in LibMain so all apps can have time zone info
...
Rather than finding apps that benefit from time zone awareness one-by-
one, and calling tzset in their serenity_main, let's do it in LibMain.
2022-01-28 15:13:35 +00:00
Lenny Maiorani
899f062673
LibSoftGPU: Simplify clipping logic
...
The clipping logic is not DRY (Don't Repeat Yourself). The same logic
is repeated in multiple parts of an `if-else` statement. This can be
simplified to contain fewer branches and eliminate the redundant code.
2022-01-28 17:02:04 +02:00
Timothy Flynn
fa016a72fd
FileSystemAccessServer: Display times in the user's local time zone
2022-01-28 12:25:20 +00:00
Timothy Flynn
080b054695
FileManager: Display times in the user's local time zone
2022-01-28 12:25:20 +00:00
Timothy Flynn
0c13a3a8ff
ls: Display times in the user's local time zone
...
ls is already using local time, but needs tzset() for that to actually
work.
2022-01-28 12:25:20 +00:00
Timothy Flynn
da2eb63652
BrowserSettings: Use standard text placement for check box text
2022-01-28 13:20:19 +01:00
Timothy Flynn
0a3b1f6bc8
MailSettings: Use standard text placement for check box text
2022-01-28 13:20:19 +01:00
Timothy Flynn
cfd1755910
MouseSettings: Use standard text placement for check box text
2022-01-28 13:20:19 +01:00
Itamar
106e414800
HackStudio: Fix path to language-server IPC socket
...
The path to the language server local socket was accidentally broken
in 2e1bbcb
.
2022-01-28 13:17:54 +01:00
kleines Filmröllchen
d8513267a6
Base: Add the Monokai terminal color scheme
2022-01-28 13:17:37 +01:00
Mika Sundland
06d905622a
Meta: Check if gdu is part of GNU coreutils
2022-01-28 07:19:52 +00:00
Joel Hansen
0cbc688f92
Base: Add "Base16" terminal color themes
...
Port of the "Base16" light and dark themes by Chris Kempson.
2022-01-28 06:40:53 +00:00
Joel Hansen
fbd4c73fa7
Base: Add "Zenburn" terminal color theme
...
Port of the "Zenburn-like" theme present in the "Foot" terminal emulator
by Daniel Eklöf. Original by Jani Nurminen.
2022-01-28 06:40:53 +00:00
Joel Hansen
e3aa7723fa
Base: Add "Dracula" terminal color theme
...
Port of the "Dracula" theme by Zeno Rocha.
2022-01-28 06:40:53 +00:00
Joel Hansen
6a76f94426
Base: Add "Gruvbox" terminal color themes
...
Port of the "Gruvbox" light and dark themes by Pavel Pertsev.
2022-01-28 06:40:53 +00:00
Joel Hansen
03037d1d3d
Base: Add "Nord" terminal color theme
...
Port of the "Nord" theme by Arctic Ice Studio and Sven Greb.
2022-01-28 06:40:53 +00:00
Andreas Kling
3c3c2334fa
LibGUI: Alphabetize the available entries in CommandPalette
2022-01-27 23:26:06 +01:00
Andreas Kling
30d4f4b010
LibGUI: Show action icons in CommandPalette when available :^)
2022-01-27 23:26:06 +01:00
Andreas Kling
3e7e52c5f0
LibGUI: Add a universally available "command palette" to GUI programs
...
You can now press Ctrl+Shift+A in any LibGUI application and we'll give
you a command palette dialog where you can search for context-relevant
actions by name (via the keyboard.)
The set of actions is currently the same one you'd access via keyboard
shortcuts. In the future, we'll probably want to add APIs to allow
richer integrations with this feature.
2022-01-27 23:26:06 +01:00
Andreas Kling
e0b60d56a5
LibGUI: Make FilteringProxyModel::data() support multi-column data
...
While the rows are filtered, we can't just return data from column 0
every time, since that breaks underlying multi-column models.
Instead, simply forward the incoming index.
2022-01-27 23:26:06 +01:00
Andreas Kling
af532b22c8
LibGUI: Fix bogus return value on error in FilteringProxyModel::data()
...
Return an empty GUI::Variant on indexing error.
2022-01-27 23:26:06 +01:00
Andreas Kling
e12d2f9a04
LibGUI: Fix bogus root index column_count() in FilteringProxyModel
...
The root index (ModelIndex()) should should have the same column count
as the root index in the underlying model.
2022-01-27 23:26:06 +01:00
Mathieu PATUREL
9ec826144f
LibGUI: Don't skip non-skipable spans on ctrl+right
...
Just a couple of typos in
`TextDocument::first_non_skippable_span_after`.
2022-01-27 23:01:19 +01:00
Ali Mohammad Pur
66dcb0123a
Ports: Explain some new patch script options and features in the README
...
This explains:
- `package.sh dev [--no-depends]`
- `use_fresh_config_sub` & `config_sub_path`
2022-01-27 23:01:05 +01:00
Ali Mohammad Pur
e79a766901
Ports: Make 'package.sh dev' a bit more friendly when importing patches
...
When a git patch that doesn't apply is encountered, start a git am
session and _then_ drop the user in it instead of expeting the user to
start the session on their own.
Also prompt for leftover files and delete them if the user does not want
them.
2022-01-27 23:01:05 +01:00
Ali Mohammad Pur
bf82d9b5d7
AK: Simplify Variant's explicit overload detection mechanism a bit
...
This also allows us to remove the max-64-visitors restriction, and so
removes that assertion.
2022-01-28 00:50:04 +03:30
Timothy Flynn
a2e791277e
LibJS: Implement Intl.RelativeTimeFormat.prototype.formatToParts
2022-01-27 21:16:44 +00:00
Timothy Flynn
9c5d7e515c
LibJS: Implement Intl.RelativeTimeFormat.prototype.format
2022-01-27 21:16:44 +00:00