Age | Commit message (Collapse) | Author |
|
Seeing if a few forced redraws will take care of the squished view issue.
On the phone, showing and hiding the sidebar is not supposed to resize any documents.
|
|
Added a new mechanism to issue periodic but not per-frame commands. This is used for main-thread operations like checking if it's time to fade away the scrollbars.
Scrollbars are faded away completely on Apple platforms. Adjusted list right margins accordingly.
|
|
Check the current directory.
|
|
|
|
|
|
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.
|
|
The indicators in the URL input field are now arranged horizontally, so they don't overlap.
Improved arrangement of (un)collapsed widgets.
|
|
The desktop window events do things that are not relevant on mobile, and may in fact be harmful.
Since mobile is essentially fullscreen only, needed updates to root size are done whenever the window is redrawn.
|
|
On by default because there is no horizontal scrolling for plain text files.
|
|
Sliding panels and left-edge swipes.
|
|
Don't automatically make "Getting Started" a remote bookmark source.
1) Rather not DDOS my server. Remote sources are not cached currently.
2) While it's a nice demo of the feature, it's not essential.
3) Avoid appearance of a "call home" default that one needs to opt out of.
|
|
|
|
|
|
|
|
|
|
It was possible that the window was accessed from a background request
`postCommand` before the window was created. The CA file/path from
preferences must be set before TlsRequest is used.
|
|
Do platform-specific processing of scroll events up front so widgets can support both types of scrolls everywhere.
IssueID #166
|
|
The software keyboard obstructs part of the UI, so need to offset the view if the focused input widget would not be visible.
|
|
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
|
|
|
|
If the CA file/path are configured in preferences, trust CA verification
over manual TOFU checks.
|
|
IssueID #174
|
|
IssueID #178
|
|
Only one instance of Lagrange is allowed to run per a runtime directory. Otherwise the instances will overwrite each others' files.
Added a check at startup to see if an instance is already running. If so, options can be used to communicate with it.
By default, a new tab is opened in the running instance.
IssueID #37
IssueID #164
IssueID #174
IssueID #178
|
|
URL input field has a maximum width. Adjusted navbar appearance and margins.
Tuned UI palette and added UI accent color preference.
|
|
|
|
Allow the UI and monospace fonts to be used as page content fonts.
|
|
IssueID #116
|
|
|
|
Indicate to user when entered text will be user for a search engine query.
IssueID #157
|
|
|
|
|
|
Phone mode uses a modified user interface. Work in progress...
|
|
|
|
|
|
Handle finger down, motion, and up events to implement basic taps, long presses, and inertia scrolling.
Much finetuning still to be done, and certain widgets like input fields and scrollbars need a direct drag mode (they were working fine via the "mouse" events already).
|
|
Any text that doesn't look like a URL is passed onto the configured search URL as a query string.
IssueID #157
|
|
The centering option affects all pages, including "about:" and
error messages.
|
|
The sidebar failed to realize that an entry was the current one and/or already read, because URL encoding is not consistently applied.
This needs addressing soon — internally, all URLs should have a consistent format (fully encoded or decoded, NFC normalized).
|
|
Make things less confusing for newcomers by showing the Help document on first run. Moved up the "What is Gemini" section to the top since it has the FAQ link.
IssueID #159
|
|
Must remove the resize watcher so it doesn't trigger redraws
during shutdown.
|
|
|
|
Saving the window rectangle and snap mode. Frame title alignment.
|
|
A borderless SDL window gets no standard window behavior, so
this commit implements support for some of them. There is
special handling for the window frame and various snapping modes.
Not quite finished yet... It might make sense to research if
a custom window class could work with this app (with SDL); could be
less work.
|
|
Added the build option ENABLE_CUSTOM_FRAME that causes the window
to be created as borderless. Lagrange's own UI widgets are used to
draw the title bar elements, including the window buttons.
There is plenty of sizing behavior still missing, for instance
snapping to fullscreen left/right side, double-clicking the frame
edges, and proper maximize mode that doesn't cover the entire screen.
The window system menu is also missing, but that can be shown
manually when appropriate.
A command-line option should also be provided to disable winbar
in case the default title bar is required.
|
|
Attempting to ask SDL about a non-existent window's ID.
|