Andreas Kling
8e74c9dbb6
Calculator: Add a separator line between the menu and the main UI
2021-04-10 16:08:14 +02:00
Andreas Kling
3bca395190
Profiler: Alt shortcuts and book title capitalization in menus
2021-04-10 15:55:34 +02:00
Andreas Kling
ff52a0f90b
Profiler: Don't change window title based on last enabled option
...
This behavior was bizarre and only highlighted whichever setting
was the last one to be activated.
2021-04-10 15:54:12 +02:00
Andreas Kling
53ed30a9f5
QuickShow: Alt shortcuts and book title capitalization in menus
2021-04-10 14:58:48 +02:00
Andreas Kling
9288e64179
PixelPaint: Add icon and keyboard shortcut for the "New Image" action
2021-04-10 14:58:48 +02:00
Andreas Kling
4e56e9fa2a
PixelPaint: Alt shortcuts and book title capitalization in menus
2021-04-10 14:58:48 +02:00
Andreas Kling
095979dbcd
FontEditor: Alt shortcuts and book title capitalization in menus
2021-04-10 14:58:48 +02:00
Jelle Raaijmakers
55d9f36dae
LibTLS: Convert some #ifs to dbgln_if()
2021-04-10 14:45:14 +02:00
Jelle Raaijmakers
7d5995f08c
LibTLS: Support empty SNI data in ServerHello
...
According to RFC6066, empty extension_data for an SNI extension is
absolutely one of the possibilities - so let's support this instead of
spamming the debug log.
2021-04-10 14:45:14 +02:00
Andreas Kling
48eb58230b
LibGUI: List directories before files in FileSystemModel
...
Instead of mixing directories and files, sorting a FileSystemModel by
the Name column will now give you all the directories first, followed
by all the files.
2021-04-10 13:58:13 +02:00
AnotherTest
c128b3fd91
LibRegex: Remove 'ReadDigitFollowPolicy' as it's no longer needed
...
Thanks to @GMTA: 1b071455b1 (r49343474)
2021-04-10 12:10:45 +02:00
Andreas Kling
642b428793
Ext2FS: Support reading from file holes
...
It's perfectly valid for ext2 inodes to have blocks with index 0.
It means that no physical block was allocated for that area of an inode
and we should treat it as if it's filled with zeroes.
Fixes #6139 .
2021-04-10 11:09:43 +02:00
Andreas Kling
b5b38d372c
Ext2FS: Clarify error handling in Ext2FSInode::read_bytes() somewhat
2021-04-10 10:58:19 +02:00
Andreas Kling
19fb62dd15
WindowServer: Alt shortcuts and book title capitalization in menus
...
Specifically, in window menus. :^)
2021-04-10 10:29:42 +02:00
Andreas Kling
27b2c6f440
HackStudio: Alt shortcuts and book title capitalization in menus
2021-04-10 10:19:25 +02:00
Samuel Klein
392d9e94f0
Documentation: Improve wording around build directory location ( #6168 )
2021-04-10 09:34:11 +02:00
AnotherTest
1b071455b1
LibRegex: Treat brace quantifiers with invalid contents as literals
...
Fixes #6208 .
2021-04-10 09:16:03 +02:00
AnotherTest
25d336bc27
LibRegex: Take the regex as a const reference in print_bytecode()
2021-04-10 09:16:03 +02:00
AnotherTest
e9279d1790
LibRegex: Allow a '?' suffix for brace quantifiers
...
This fixes another compat point in #6042 .
2021-04-10 09:16:03 +02:00
AnotherTest
8d7bcc2476
LibRegex: Give ByteCode a copy ctor and and a move assignment operator
...
Previously all move assignments were actually copies. oops.
2021-04-10 09:16:03 +02:00
Andreas Kling
192e2d5d50
LibVT: Update TerminalWidget after double-click selection
...
Previously we had to wait for the cursor to blink before we actually
got to see what got selected from double-clicking.
2021-04-10 00:11:10 +02:00
Andreas Kling
088ae37541
LibGUI: Reflow+update TextEditor widget after ruler visibility change
2021-04-10 00:09:44 +02:00
Andreas Kling
58106f57de
LibGUI: Remove 2px of vertical space around FilePicker common places
...
The extra margin is not needed with the new "Tray" look. :^)
2021-04-09 23:58:04 +02:00
Andreas Kling
42ec6718f2
Base+LibGUI: Add an familiar-looking icon for the desktop directory
2021-04-09 23:45:21 +02:00
Andreas Kling
2de1f32433
LibGUI: Yet another FilePicker UI tweak
...
Make sure the "Look in:" label is vertically centered within its
corresponding location box.
2021-04-09 23:09:52 +02:00
Andreas Kling
8db4819271
LibGUI: Allow navigating into symlinked directories in FilePicker
...
If you double-click on a symlink to a directory while browsing with
a FilePicker, you most likely want to open the directory the symlink
points to, not open the symlink itself. So let's do that. :^)
2021-04-09 23:04:04 +02:00
Andreas Kling
bcd05e199b
LibGUI: Fix uniform TabWidget tabs bleeding outside the widget
...
The last uniform-sized tab button would bleed outside the tab bar area
due to us not taking the bar margin into account.
2021-04-09 22:30:41 +02:00
Andreas Kling
1029069ad6
Browser: Add a separator line below the menu while in multi-tab mode
2021-04-09 22:23:32 +02:00
Andreas Kling
c8ff507534
LibGUI: Add TabWidget::on_tab_count_change hook
2021-04-09 22:23:14 +02:00
Andreas Kling
2aaf12e9cd
LibGUI: More tweaks for the FilePicker UI layout
2021-04-09 21:53:43 +02:00
Andreas Kling
da7dbc116e
LibGUI: Use "Tray" look & feel for the common locations frame :^)
2021-04-09 21:53:43 +02:00
Andreas Kling
11bea5d633
LibGfx+Base: Add Tray/TrayText theme colors and Gfx::ButtonStyle::Tray
...
A "Tray" is a sunken container area for widgets. The first intended
client of this style is the GUI::FilePicker's common locations frame.
Thanks to @nvella for coming up with the term "Tray" :^)
2021-04-09 21:53:43 +02:00
Andreas Kling
e34238945d
Browser: Add more Alt shortcuts to menu actions
2021-04-09 21:53:43 +02:00
Andreas Kling
3e43b1f173
LibGUI: Tweak FilePickerDialog UI layout
2021-04-09 21:53:43 +02:00
Jelle Raaijmakers
db321db5f4
LibRegex: Parse \0
as a zero-byte instead of 0x30 ("0")
...
This was causing some regexes to trip up. Fixes #6202 .
2021-04-09 21:53:14 +02:00
Andreas Kling
2c94c9fa7f
SystemMonitor: Add Alt shorcuts to menu actions
2021-04-09 17:10:30 +02:00
Andreas Kling
9945135f66
Browser: Add Alt shortcuts to menu actions
2021-04-09 17:08:49 +02:00
Andreas Kling
c6c0ec9403
FileManager: Add Alt shortcuts to menu actions
2021-04-09 17:08:49 +02:00
Andreas Kling
f718f04b14
TextEditor: Add Alt shortcuts to menu actions
2021-04-09 17:08:49 +02:00
Andreas Kling
2bac9eb79d
WindowServer: Cache internal Alt shortcuts on the Menu object
...
This way we don't have to recompute the set of shortcut keys every
time we're handling an in-menu keydown event.
2021-04-09 17:08:49 +02:00
Andreas Kling
c2b760e335
Terminal+LibVT: Add Alt shortcuts to menu actions
2021-04-09 17:08:49 +02:00
Andreas Kling
afb6e3a79d
LibGUI: Give Alt shortcuts to all the CommonActions :^)
2021-04-09 17:08:49 +02:00
Andreas Kling
eecf60767a
LibGfx: Make draw_ui_text() underlines take glyph spacing into account
...
Without this, the underline was ending up too far to the left.
2021-04-09 17:08:49 +02:00
Andreas Kling
8f0fbfaf54
Meta: Remove the (not really used) mailing list from ReadMe.md
...
We ended up not using it much so let's not link to it.
2021-04-09 17:08:49 +02:00
Andreas Kling
0fc2651303
WindowServer: Support Alt shortcuts inside menus as well
...
Menu items can now also have Alt shortcut, and they work the same way
top-level menu Alt shortcuts do. This replaces the previous "type to
search" mechanism we had in menus.
2021-04-09 17:08:49 +02:00
Andreas Kling
2b9bc605d2
LibGfx: Add a Gfx::TextAlignment parameter to Painter::draw_ui_text()
2021-04-09 17:08:49 +02:00
Andreas Kling
b7a25bfaac
LibGfx: Adjust parameter order for Painter::draw_ui_text()
...
Let's put the rect first so it's the same as draw_text().
2021-04-09 17:08:49 +02:00
Andreas Kling
86a6366749
Kernel: Do some basic metadata integrity verification in kmalloc/kfree
...
Use BitmapView::set_range_and_verify_that_all_bits_flip() to validate
the heap chunk metadata bits as we go through them in kmalloc/kfree.
2021-04-09 17:08:49 +02:00
Andreas Kling
c268df79e6
AK: Add BitmapView::set_range_and_verify_that_all_bits_flip()
...
This function sets a range of bits to the same value while also
verifying that all bits in the range get flipped in the process.
2021-04-09 17:08:49 +02:00
Andreas Kling
79ebcacce2
Kernel: Add some basic double-kfree() detection
...
Double kfree() is exceedingly rare in our kernel since we use automatic
memory management and smart pointers for almost all code. However, it
doesn't hurt to do some basic checking that might one day catch bugs.
This patch makes us VERIFY that we don't already consider the first
chunk of a kmalloc() allocation free when kfree()'ing it.
2021-04-09 17:08:49 +02:00