Age | Commit message (Collapse) | Author |
|
Restore when there is more space available.
|
|
The default URL scheme is "gemini". If missing, it will always be added back when making requests. This allows it to be omitted from the URL input field if space needs saving.
Other schemes, like "gopher", won't be omitted.
|
|
Previously glyph caching was done during text rendering, but that would mean lots of swapping between rendering stuff to the cache and then immediately afterward rendering to the display. There would be a swap per each new glyph.
Now the entire document's glyphs are precached at once when a request is finished. Glyphs are also cached in larger batches when new text needs to be drawn.
|
|
|
|
IssueID #175
|
|
|
|
The software keyboard obstructs part of the UI, so need to offset the view if the focused input widget would not be visible.
|
|
|
|
Overflow-scrollable allows momentum scrolls. Adjusting fonts in phone sheets.
|
|
On a phone, dialogs are restructured to be more vertical and full-width.
|
|
UI scaling factor is applied when closing the Preferences dialog.
IssueID #83
|
|
IssueID #87
|
|
|
|
Try to minimize the number of fonts in the UI. Input fields now use the same UI font as everything else. The monospace font was originally used because the widget required one, but that is no longer the case.
|
|
Indicate to user when entered text will be user for a search engine query.
IssueID #157
|
|
IssueID #140
|
|
|
|
|
|
Widgets can be flagged as being touch-draggable, which makes them receive finger down/motion/up events directly, and no momentum scrolling is applied.
|
|
Function naming convention is: {method}_{class}()
Ran clang-format on the changes.
|
|
Under Linux/Unix, the key combination of "Shift+Ins" allows for pasting
from the clipboard into most applications. Refactor pasting to its own
function and define the key combination of Shift+Ins to allow for this.
|
|
iPlatformApple applies to both macOS and iOS. Added iPlatformAppleDesktop and iPlatformAppleMobile to make a distinction between the two.
IssueID #96
|
|
Also added a build option to disable changing the user download
directory within Lagrange, since that's set via XDG config.
|
|
Widgets can now be defined as being the "focus root", i.e., the topmost
widget under which focus switching happens. Normally this is the window
root widget, but dialogs use this flag to confine focus switching
inside the dialog.
InputWidget in Overwrite mode will focus switch to the next focusable
widget when the text field becomes full.
|
|
|
|
|
|
IssueID #112
|
|
|
|
The Cmd+Left/Right keys used both for page navigation (by default) and for moving the cursor inside text editor. The input widget keys should take precedence.
|
|
|
|
|
|
Select all when search bar gets focus, so it's easy to enter a new search term.
One press of Escape will both unfocus and dismiss the search bar.
IssueID #65
|
|
|
|
IssueID #31
|
|
No need to redraw the text string on every frame.
|
|
Opening a new tab will now set input focus to the URL field.
Switching tabs when the URL field is focused will select the full new URL.
There was an issue previously where selecting a bookmark while the URL field was focused would cause unexpected behavior. The URL was first unfocused and that would trigger the document to fetch the URL that was in the input field.
|
|
|
|
|
|
|
|
|
|
|
|
Apparently after some sequence of edits/navigation, the URL input's selected range ended up out of bounds. Probably it isn't being cleared everywhere it should be.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|