Andreas Kling
d6bbf12b7c
LibGUI: Add "uniform tabs" mode to TabWidget (all tabs have same width)
...
...and enable this in the main Browser UI. :^)
2020-04-24 22:36:25 +02:00
Andreas Kling
682f0ac93b
Browser: React to favicon notifications and put favicons in the tabs!
2020-04-24 22:28:05 +02:00
Andreas Kling
3fcfab4404
Browser: Move the "About" action to WindowActions
2020-04-24 20:50:06 +02:00
Andreas Kling
dfe8dea2ac
Browser: Remove padding from the main TabWidget
...
This makes the active tab "take over" the whole window UI, even though
it's actually inside a TabWidget.
2020-04-24 20:42:34 +02:00
Andreas Kling
9d8620f956
Browser: Add icons for the "new tab" and "close tab" actions
2020-04-24 20:42:34 +02:00
Andreas Kling
9617b7ede4
FileManager: Set content margin of DirectoryView to same as children
2020-04-24 19:05:04 +02:00
Linus Groh
fd5f05079d
QuickShow: Properly hide toolbar on toggle action
...
Similar to fullscreen mode we need to hide the toolbar's container.
2020-04-24 17:00:00 +02:00
Linus Groh
d86d73f6e8
QuickShow: Hide toolbar container in fullscreen mode
...
If we just hide the toolbar itself, its container is still visible and
taking up space at the top of the screen.
2020-04-24 17:00:00 +02:00
Andreas Kling
5c2bdbf27f
Browser+LibWeb: Open link in new tab on Ctrl+Click :^)
2020-04-24 14:43:56 +02:00
Andreas Kling
d5d8e87d56
Browser: Scope tab-specific actions to the tab itself
...
This makes LibGUI choose the correct action depending on which tab
is currently active (technically which tab is *focused*.)
Fixes #1935 .
2020-04-24 14:34:24 +02:00
Linus Groh
896decd4d5
Browser: Open links with target="_blank" in new tab
2020-04-24 14:34:11 +02:00
Linus Groh
061205b3b3
LibWeb: Pass link target to HtmlView's on_link_click callback
2020-04-24 14:34:11 +02:00
Andreas Kling
1b8b492258
Browser: Add "next tab" and "previous tab" actions
...
Now you can switch between the open tabs with Ctrl+PgUp and Ctrl+PgDn
2020-04-23 21:43:24 +02:00
Andreas Kling
312501f309
Browser: Add "Close tab" action (Ctrl+W) :^)
...
Note that this is a little bit unreliable with the keyboard shortcut
since LibGUI can get confused about which Action it's supposed to use
as each Browser::Tab has its own "close tab" action. This will need
to be fixed in LibGUI.
2020-04-23 21:36:17 +02:00
Andreas Kling
476a4475e5
Browser: Add "New tab" action (Ctrl+T) :^)
...
This also introduces a WindowActions collection of actions that are not
specific to the currently open tab, but nevertheless part of its menus.
2020-04-23 21:28:25 +02:00
Andreas Kling
4e8b6e48fd
Browser: Start implementing tabbed browsing! :^)
...
This patch moves most of the Browser UI into a Tab class. The main UI
now mainly consists of a GUI::TabWidget that Tab objects are added to.
I'm going with the "tabs on top" style here, since I like how it makes
it feel like each tab has its own UI controls (which it actually does!)
2020-04-23 21:16:11 +02:00
Andreas Kling
029572b6fd
Help: Sort the manual pages alphabetically
...
Fixes #1258 .
2020-04-23 19:45:28 +02:00
Andreas Kling
2921793c01
QuickShow: Draw GUI::Frame parts of QSWidget
...
We were forgetting to draw the frame. :^)
2020-04-23 19:12:50 +02:00
Andreas Kling
3af8fcc839
HexEditor: Fill main widget with background to prevent gaps
2020-04-23 18:52:34 +02:00
Andreas Kling
2454c3b7fb
Applications: Remove ChanViewer app
...
The HTTP JSON API this relied on is no longer available via HTTP and
I would rather make the website work in Browser anyway. :^)
2020-04-23 18:38:54 +02:00
Andreas Kling
0af5e0b9f8
Applications: Tweak main layout spacing and background
2020-04-23 18:30:59 +02:00
Andreas Kling
fa0bab843a
SystemMonitor: Shrink margins of main layout
2020-04-23 17:54:59 +02:00
Andreas Kling
ab336e895f
LibGUI: Add a ToolBarContainer widget and put most ToolBars in one
...
This mimics the Explorer toolbar container from Windows 2000 and looks
pretty neat! :^)
2020-04-23 17:44:49 +02:00
Andreas Kling
9ab9f97464
Browser: Remove no-op from the BooksmarksBarWidget
...
Widget::child_widgets() is a *copy* of the list of child widgets. :^)
2020-04-23 14:10:32 +02:00
Jonathan Archer
0efb5b3a11
Desktop: Context menu option to open FileManager
2020-04-23 11:22:32 +02:00
Jonathan Archer
3bbd7d9425
Desktop: Show DisplayProperties in context menu
2020-04-23 11:22:32 +02:00
Jonathan Archer
5457020d4e
Desktop: File creation from the context menu
...
Kinda hackish, but it does work.
2020-04-23 11:22:32 +02:00
Jonathan Archer
d02c02cebe
Desktop: Add context menu for directory view
...
Only has the option to create a folder, but hey ;^)
2020-04-23 11:22:32 +02:00
Brendan Coles
3c9693c6c7
IRCClient: Connect to IRC server URL specified in command line argument
...
The IRCClient application can now connect to a specified IRC server using
a URL with `irc://` protocol as a command line argument.
2020-04-23 09:50:19 +02:00
Brendan Coles
9ab4a8179a
TextEditor: Add "Find Previous" 16x16 icon
2020-04-22 17:14:36 +02:00
Andreas Kling
09138d542d
FileManager: Fix build
2020-04-22 12:38:33 +02:00
angel
0d47ad7efe
FileManager: Exit the application cleanly when failing to open initial directory
...
Co-Authored-By: Andreas Kling <kling@serenityos.org >
2020-04-22 12:12:32 +02:00
angel
cc424b7b0f
FileManager: Graceful handling of access errors
...
A neat error message is displayed when failing to open a directory!
2020-04-22 12:12:32 +02:00
Andreas Kling
0fa7cf70b5
WindowServer+SystemMenu: Check the current system theme on startup
2020-04-21 18:40:52 +02:00
Andreas Kling
b6d035aa05
SystemMenu: Make the system theme menu items checkable (and exclusive)
2020-04-21 17:50:20 +02:00
Andreas Kling
705cee528a
LibGUI: Make it easier to create checkable GUI::Actions
...
This patch adds GUI::Action::create_checkable() helpers that work just
like the existing create() helpers, but the actions become checkable(!)
Clients are no longer required to manage the checked state of their
actions manually, but instead they will be checked/unchecked as needed
by GUI::Action itself before the activation hook is fired.
2020-04-21 17:21:28 +02:00
Andreas Kling
52a250cb61
LibGUI: Make MenuBar a Core::Object
...
This makes it show up in Inspector with all the menus inside it. :^)
2020-04-21 16:19:18 +02:00
Nicolas Van Bossuyt
6a66207efa
PaintBrush: Initial support for transparency. ( #1883 )
2020-04-21 12:03:58 +02:00
Brendan Coles
a47b9fe490
TextEditor: Add "Find Next" 16x16 icon
2020-04-21 09:49:47 +02:00
Itamar
e35219b5ce
Debugger: Add source-level operations
...
- Print current source location, if available
- Add a breakpoint at a source location
- "sl" command - step to the next line in source
2020-04-20 17:25:50 +02:00
angel
e0a16f8752
FileManager+LibGUI: Allow drop on entire DirectoryView
...
Previously, drag and drop would only work when dragging between node
items on a DirectoryView. This commit makes it possible to drag files to
the empty area of the DirectoryView and copy files more easily between
windows.
2020-04-20 12:15:26 +02:00
angel
27091d05ee
DirectoryView: Don't push same path twice to history
...
When opening a path, check if it's the current one before pushing it
twice to the path history.
2020-04-20 12:15:26 +02:00
Andreas Kling
c45e16f605
LibCore: Add StandardPaths thing to retrieve various standard locations
...
Fixes #1853 .
2020-04-19 19:57:05 +02:00
Nicolas Van Bossuyt
b07bd1b95c
PaintBrush: Fix crash with flood fill. ( #1881 )
...
Fixed a crash occurring when initiating a flood fill out of the bitmap rectangle.
2020-04-19 19:29:07 +02:00
angel
238afd37cf
FileManager: Replicate permissions on directory copy ( #1437 )
...
When copying files, the original file permissions are applied to the
copy. However, this was not done with directories. This should do it.
2020-04-19 17:18:27 +02:00
angel
11054fc9f9
FileManager: Fix recursive copy on drag
...
When a drag operation is accepted, we don't check whether the source
nodes contain the destination directory. This could trigger an unwanted
recursive copy.
2020-04-19 17:16:08 +02:00
angel
0ec37c0d64
FileManager: Ignore empty selections on tree view
...
If the selection is empty, the model index will be invalid and the file
system model will return the root directory path by default. This causes
the file manager to jump to the root directory when the currently
selected item on the tree view is deselected.
2020-04-19 15:23:16 +02:00
Vojtech Moravec
90f8a7a36b
Browser: Make removal of bookmark persistent ( #1865 )
...
Json model wasn't stored after bookmark removal.
Store the model if remove() was successful.
2020-04-19 14:43:16 +02:00
Sergey Bugaev
eacde6c499
Browser: Fix opening non-file URLs passed in argv
2020-04-19 11:14:26 +02:00
Sergey Bugaev
f8b2a7b4a7
LibCore+LibGUI: Move DesktopServices to LibCore
2020-04-19 11:14:26 +02:00