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
Andreas Kling
7dbb8b6f09
FileManager: Allow running in desktop mode
...
FileManager can now be started with the --desktop argument. When it's
started in this mode, it will run as a WindowType::Desktop window and
not create any of its regular UI.
The desktop version of the file manager is currently pretty bare-bones
but we can improve it over time and share more code with the regular
file manager windows.
I think this is pretty cool! :^)
2020-04-18 22:04:41 +02:00
Andreas Kling
d42e380906
FileManager: Use URL::create_with_file_protocol() in one place
2020-04-18 22:03:05 +02:00
Andreas Kling
afb9ee2af8
Browser: Use URL::create_with_file_protocol() in one place
2020-04-18 22:02:41 +02:00
Andreas Kling
75daf3857b
FileManager: Use GUI::DesktopServices::open() to open files
...
Instead of squirreling away this logic deep in the FileManager app,
we now delegate file opening to GUI::DesktopServices.
2020-04-18 21:58:04 +02:00
Brendan Coles
e87347e1d3
IRCClient: Use sub-menus for app channel menu and member context menu
2020-04-18 19:49:05 +02:00
Andreas Kling
638130591c
Taskbar: Remove frame around quick-launch icons
2020-04-18 18:22:37 +02:00
Itamar
1642fdf82d
Debugger: Use LibLine
2020-04-16 12:22:59 +02:00
Itamar
f4418361c4
Userland: Add "functrace" utility
...
functrace traces the function calls a program makes.
It's like strace, but for userspace.
It works by using Debugging functionality to insert breakpoints
at call&ret instructions.
2020-04-16 11:17:33 +02:00
Andreas Kling
0e10673c58
Piano: Use NumericLimits<T>
2020-04-15 16:58:46 +02:00
Hüseyin ASLITÜRK
abd09ab030
DisplayProperties: Make the preview calculation more accurate ( #1807 )
2020-04-15 16:40:46 +02:00