Age | Commit message (Collapse) | Author |
|
This makes looking at HTML files that somehow fail a little less
painful by allowing the user to actually _see_ the html.
|
|
You can enable the new multi-process mode by using "Browser -m".
|
|
This commit sets everything up, but we still always instantiate a plain
Web::PageView in Browser::Tab..
|
|
This will make it easier for Browser to share code between both views.
|
|
|
|
We have all the context needed for relative URL resolution inside the
engine, so let's not make embedders worry about this.
|
|
Sometimes you just want to get rid of all your scrollback history in
the terminal, and now there's a way to do that.
|
|
|
|
Change: on_link_hover(String) -> on_link_hover(URL)
Also, we now fire the hook when a link is unhovered as well, allowing
the embedder to react to nothing being hovered anymore.
|
|
Activating a "#foo" fragment link will now be handled internally by
the Frame instead of involving the widget layer.
If the viewport needs to be scrolled as a result, we will simply ask
the PageClient to scroll a new rect into view.
|
|
This patch adds a PreviewMode enum with the following values:
- None
- Markdown
- HTML
This makes it a bit more logical to implement exclusive behavior.
|
|
1 second is just too annoyingly jumpy when you're trying to grab
something in the list.
|
|
In keeping with the slightly-higher-contrast theme.
|
|
|
|
|
|
During app teardown, the Application object may be destroyed before
something else, and so having Application::the() return a reference was
obscuring the truth about its lifetime.
This patch makes the API more honest by returning a pointer. While
this makes call sites look a bit more sketchy, do note that the global
Application pointer only becomes null during app teardown.
|
|
Having this on the stack makes whole-program teardown iffy. Turning it
into a Core::Object allows anyone who needs it to extends its lifetime.
|
|
Not all LayoutNodes have a corresponding DOM node.
|
|
Currently it's only available in the context menu, which isn't quite
obvious.
|
|
posix_spawn() has a bit of a whacky API in that it doens't return
0 on success and -1 on failure while writing the error code to
errno -- it instead returns 0 on success and the error code on
error.
So assign the return value to errno so that perror() does the
right thing.
|
|
You can now start profiling a process directly from SystemMonitor!
This is really neat.
|
|
|
|
This avoids having a stale icon from a previous page load in the
location box if a subsequently visited page doesn't trigger an icon
change.
|
|
The scroll length is the number of lines by which the terminal will go
up/down when scrolling the mouse wheel once.
|
|
|
|
|
|
It's less code, and it's potentially more efficient once
posix_spawn is a real syscall.
|
|
Ideally, we would copy the file to `/res/wallpapers`, add an entry to
`ComboBox` model and set the index to this entry. I didn't want to
touch anything outside of `DisplaySettings`, so this is more of a
workaround :^)
|
|
Right clicking on a position in the PageView of a tab will open a
context menu with common actions like back, forward, reload, view
source and inspect DOM. :^)
|
|
Fixes #2648.
|
|
This allows you to edit HTML and see the changes live. This feature is
possibly my favorite feature in the world right now.
|
|
|
|
The new parser is now used everywhere and it's working pretty well!
|
|
Instead of invoking the (old) fragment parser directly.
|
|
We now use the ImageDecoder service in LibWeb for everything except
GIF images (we'll have to deal with them later, ofc.)
This has a little bit of overhead but we should be able to optimize
it until it becomes negligible.
|
|
|
|
Instead of invoking the HTML parser directly.
|
|
|
|
|
|
The apply button used to be enabled directly after opening the dialog.
Changes in the permissions now enable/disable the apply button as well.
|
|
Now that KeyboardSettings is no longer setuid-root, we have to call out
to a helper program to actually set the keymap.
This is a very nice improvement to system security. :^)
|
|
This patch removes the setuid-root flag from the KeyboardSettings GUI
application and adds back the old "keymap" program.
It doesn't feel very safe and sound to have a GUI program runnable
as setuid-root, so in the next patch I'll be making KeyboardSettings
call out to the "keymap" program to do its bidding.
|
|
This commit adds some actions for creating and cycling through tracks.
set_octave_and_ensure_note_change() was refactored to allow switching
tracks to implement the same behaviour.
KnobsWidget is getting pretty bad.
|
|
This commit adds multi-track functionality without exposing it to the
user.
All I really did was rename AudioEngine to Track and allow more than one
Track in TrackManager. A lot of the changes are just changing widgets to
take a TrackManager and use current_track().
The TrackManager creates Tracks and gives them a read-only reference to
the global time value. When the TrackManager wants to fill a sample in
the buffer (in fill_buffer()), it calls fill_sample() on each Track.
The delay code is slightly different - a Track will fill its
m_delay_buffer with the sample it just created rather than the most
recent sample in the buffer (which used to be the same thing).
TrackManager manages the current octave.
Other than those few things, this is a pretty basic separation of
concerns.
|
|
|
|
|
|
|
|
|
|
When zoom reset also reset pan origin
|
|
More respect to user behavior on image viewers :)
|