Age | Commit message (Collapse) | Author |
|
When exiting FileManager in maximized state, save it and start in
maximized state on next launch.
|
|
This will unveil the portal for RequestServer which is used to
download files in the Browser.
|
|
|
|
Previously, if you play a file, then stop, then play again, the stop
button will be permanently disabled until you open a file again.
The stop button should be enabled whenever a file is loaded.
This commit fixes the GUI bug by enabling the stop button whenever the
play button is clicked (if a file is currently loaded).
|
|
When the cursor is clicked outside of the slider knob,
the current behavior is that it will step up or down by the
Slider page step amount.
This commit adds an option to jump the slider knob
directly to the where the mouse cursor is on mouse down events.
This behavior is disabled by default. It must be enabled with
`Slider::set_jump_to_cursor()`.
Jump to cursor is enabled in SoundPlayer since most music players
have this behavior.
|
|
And use them to highlight javascript in HTML source.
This commit also changes how TextDocumentSpan::data is interpreted,
as it used to be an opaque pointer, but everyone stuffed an enum value
inside it, which made the values not unique to each highlighter;
that field is now a u64 serial id.
The syntax highlighters don't need to change their ways of stuffing
token types into that field, but a highlighter that calls another
nested highlighter needs to register the nested types for use with
token pairs.
|
|
This patch moves the magnifier rect computation over to the server side
to ensure that the mouse cursor position and the screen image never get
out of sync.
|
|
This ensures that we don't try to update more often than the screen
is updated. It also avoids doing synchronous IPC in paint_event().
|
|
This changes the RequestClient::start_request() method to take a URL
object instead of a URL string as argument. All callers of the method
already had a URL object anyway, and start_request() in turn parses the
URL string back into a URL object. This removes this unnecessary
conversion.
|
|
Continues to magnify correctly at the most current
desktop scale.
|
|
Previously there was no visual clue letting the user know that loading
from file failed.
|
|
Previously, AK::Function would accept _any_ callable type, and try to
call it when called, first with the given set of arguments, then with
zero arguments, and if all of those failed, it would simply not call the
function and **return a value-constructed Out type**.
This lead to many, many, many hard to debug situations when someone
forgot a `const` in their lambda argument types, and many cases of
people taking zero arguments in their lambdas to ignore them.
This commit reworks the Function interface to not include any such
surprising behaviour, if your function instance is not callable with
the declared argument set of the Function, it can simply not be
assigned to that Function instance, end of story.
|
|
This commit introduces color scheme support to Terminal. These are found
in `/res/terminal_colors` and the default color scheme can be set in
`~/.config/Terminal.ini`. Furthermore, a combo box is added for
setting the color scheme at runtime.
The previously used default color scheme has been added to
`/res/terminal-colors/Default.ini`.
To make the implementation more compatible with other color schemes,
`TerminalWidget` now supports overriding the default foreground and
background colors.
|
|
Also convert outln(stderr, ...) to warnln(...)
|
|
This fixes #7699.
It would be nice to also show a GUI alert informing about the failure,
but I will leave that for the future.
|
|
|
|
|
|
|
|
This adds support for shift+return key combo in single line TextEditor
fields. Used in this case for searching backwards/forwards in the
Terminal find window.
|
|
|
|
Since the find & settings windows are not children of the main window,
they stayed open after exiting the application.
|
|
|
|
Previously we could only open .pp files, now we can open all formats
supported by Gfx::Bitmap::load_from_file
|
|
Fixes a bug that was preventing the playback slider from changing
value when clicking ahead/behind the current position.
|
|
find_and_highlight() selected +1 too many bytes.
'Select All' selected +1 too many bytes past the end of
the buffer.
Status bar 'Selected Bytes' count was off by -1 when more
than zero bytes were selected.
|
|
This replaces a call to URL::set_path() with URL::set_paths(), as
set_path() will be deprecated and removed.
|
|
This removes URLParser, because its two exposed functions, urlencode()
and urldecode(), have been superseded by URL::percent_encode() and
URL::percent_decode(). This is in preparation for the introduction of a
new URL parser.
|
|
This replaces all occurrences of those functions with the newly
implemented functions URL::percent_encode() and URL::percent_decode().
The old functions will be removed in a further commit.
|
|
JsonValue::as_object() returns a reference.
|
|
|
|
|
|
|
|
Our "frame" concept very closely matches what the web specs call a
"browsing context", so let's rename it to that. :^)
The "main frame" becomes the "top-level browsing context",
and "sub-frames" are now "nested browsing contexts".
|
|
Textures are now initialized with a nullptr upon generation.
They are only actually created once they are bound to a target.
Currently only the GL_TEXTURE_2D target is supported.
The software rasterizer now allows rendering with or without
a bound TEXTURE_2D.
|
|
The monitor widget now displays the selected colour if no background
image has been selected.
Resolves #7491
|
|
|
|
Adds page title to the context menu for go back/forward.
|
|
|
|
|
|
Disable the context menu items if user cannot access the process.
Fixes #7486
|
|
This fixes #7288, which was being caused by unsigned 32-bit integer
overflow
|
|
|
|
Also use set_current_number() instead of set_text(), so we don't have to
create a string from the number ourselves.
|
|
Instead of having both always enabled once a document is loaded, update
them on each page change and disable if appropriate.
|
|
go-up.png and go-down.png don't exist (and would look silly here, with
the buttons being next to each other horizontally). Use go-back.png and
go-forward.png instead.
|
|
|
|
|
|
|
|
|
|
|