Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
There is a problem with repeated arrangements: the previous set sizes affect subsequent outcomes. This results in Preferences not being able to reduce in size, only to expand.
It should be possible to reset sizes back to zero/minimum size before starting an arrangement, but LabelWidget needs to cooperate by using `minSize` to set its default size. `minSize` is preferable to fixedSize because then the widget can go through the usual arranging logic.
To be continued at a later time...
|
|
IssueID #192
|
|
Added the Noto Sans Simplified Chinese font. This adds another ~10 MB to resources.lgr, increasing the urgency of distributing fonts via separate downloads.
The font table was getting difficult to manage, so now the sizes are broken out into a separate enum, and the table is reordered to match the FontSize order.
|
|
IssueID #192
|
|
IssueID #192
|
|
Use char pointer ranges for the array of IDs and strings to avoid allocations.
Translate macOS menu items.
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.
|
|
Moved Identity button to the right since on the left there is the new Sidebar button.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
Mobile "Find on page" is now in the nav menu. Added icons to sidebar toggle items.
|
|
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.
|
|
Orientation and safe inset changes are now applied to phone dialogs.
There is still the occasional unscrollable dialog, but it seems random?
|
|
On mobile, the search bar appears at the top of the page.
Keep the haptic engine running so there is no delay before each effect.
After a long-press, remove the "mouse" from the display area so there is no misleading hover.
Widget border top/bottom use metrics.
|
|
|
|
|
|
|
|
|
|
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.
|
|
IssueID #175
|
|
|
|
|
|
|
|
|
|
Sliding panels and left-edge swipes.
|
|
Resize images down to the maximum texture size or the screen size, whichever is smaller.
IssueID #167
|
|
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.
|
|
|
|
Also various widget fixes/improvements.
|
|
The software keyboard obstructs part of the UI, so need to offset the view if the focused input widget would not be visible.
|
|
|
|
Label icons are intended for context menus.
|
|
|
|
This works on macOS at least, still need to check other platforms.
IssueID #83
|
|
UI scaling factor is applied when closing the Preferences dialog.
IssueID #83
|
|
IssueID #87
|
|
|
|
IssueID #87
|
|
|
|
|