Age | Commit message (Collapse) | Author |
|
VisBuf now guarantees that all the buffers are sequentially ordered. This ensure complete utilization of all the buffers. Previously some buffers were not used at all, or allocated to the same origin as another one (!).
DocumentWidget is able to progressively fill up a buffer while scrolling. After any change to the visible region has been detected (and there are no ongoing changes), prerender the remaining runs one at a time. This solves the issue where one text run would be always unnecessarily rendered while scrolling, even if the scroll distance was just one pixel.
|
|
The Import Identity dialog is now styled for mobile, although could use a little more tuning.
|
|
A tab switch may have ended up accessing a NULL pointer.
|
|
Tab was always consumed by focus cycling even though that should be at the lowest priority.
IssueID #244
|
|
Maybe a workaround for the squished view issue?
|
|
|
|
|
|
In case prefs.cfg doesn't set CA file/path, we'll still need to initialize the CA cert store for later use.
|
|
DPI and pixel ratio changes should not radically change width of the sidebar.
IssueID #239
|
|
|
|
IssueID #233
|
|
Glyphs were inadvertently being cached already during measuring for layout.
DocumentWidget was buffering graphics too early. Now buffered draws are prepared during normal drawing, when needed.
|
|
IssueID #180
|
|
|
|
|
|
IssueID #192
|
|
Added a set of English strings. Lang can load a language.
LabelWidget can replace IDs in the label.
IssueID #192
|
|
IssueID #192
|
|
There is no downloads directory on mobile. Instead, the downloaded file is temporarily cached and given to the iOS document picker to export.
Added an option to hide the bottom toolbar while scrolling down.
|
|
Now the periodic commands get posted on the main thread at intervals, and the event loop cooperates by not sleeping if there are periodic commands pending.
The macOS animation hangup seems to be unrelated, though — perhaps some internal SDL/Metal machinery related to app refresh stopping for a while?
|
|
|
|
|
|
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
|