Age | Commit message (Collapse) | Author |
|
|
|
Whenever a widget is resized, we may need to rearrange its children. The up-to-date sizes must be used for determining positions for other children.
|
|
|
|
Erasing the background of every run should no longer be necessary (with progressive rendering), unless the run can change appearance.
|
|
Erasing the background of every run should no longer be necessary (with progressive rendering), unless the run can change appearance.
|
|
# Conflicts:
# src/ui/documentwidget.c
# src/ui/inputwidget.c
|
|
The mobile UI related code has grown large enough to warrant a separate file.
Also, work-in-progress redo of the Preferences layout so it can be used with landscape as well.
|
|
Use the Book and Bookmark characters.
|
|
- fill the safe area with theme background
- don't set button hover states if dragging/scrolling
- edge-draggable widgets must be flagged as such
- Preferences top panel offset matches sibling panels' offset
- allow toolbar to unhide when document is not scrollable
|
|
Several regressions occurred when the split view mode was implemented.
|
|
|
|
For example, receiving an input prompt response shouldn't change the current scroll position in the open document.
|
|
|
|
Enforce the maximum length of 1024 bytes for Gemini URLs. The input query prompt shows how many bytes are remaining.
|
|
Use the Return key symbol consistently, also in the Search Query indicator. The input dialog "Send" label now no longer needs the "⇒" icon.
|
|
Children drawn were twice?
|
|
Navigation history keeps final GmDocuments in memory for quicker restore when navigating; no need to redo layout.
Changed the color escape to Vertical Tab so Carriage Returns can be left in the source, reducing need to normalize spaces.
|
|
The indicator always shows the current tab's status.
|
|
Only auto-open the first chapter when navigating normally, and not via cache. Otherwise the previous read position would be lost.
|
|
|
|
|
|
|
|
Now every DocumentWidget is guaranteed a unique ID. The window title is updated when the keyroot chages.
|
|
When opening a Gempub, split the window and show the index page and the first chapter.
|
|
|
|
A navigation aid: when in split mode, option to keep one of the tabs pinned to the current page so all links open to the side.
Added "linksplit" bookmark tag to activate view splitting when opening a link on the page.
|
|
The primary purpose is to aid navigation in split view, so one can see exactly which links have been opened.
|
|
|
|
IssueID #192
|
|
Keep hold of the `Gempub` data while the page is open so it can be used for other purposes.
|
|
|
|
`Gempub` opens and parses a Gempub archive and provides access to the contents in a common way.
|
|
Added a menu for changing the split mode.
|
|
Restore previous root after processing events. Adjusted colors of the non-focused root.
|
|
Root focus switching and opening links in the other root.
|
|
Various refactorings and fixes to handle root-global and window-global state, root-specific palettes, and proper coordinate system changes (e.g., when opening menus).
UI events are posted and handled in the context of a specific root.
|
|
Most actions should occur in the context of the current UI root.
|
|
|
|
Making the way for multiple roots/windows.
|
|
It is conceivable that a newly created GmRequest gets the same memory location than the one just destroyed.
IssueID #148
|
|
Use MIME hooks to generate a Gempub cover page with a preloaded cover image.
This required applying MIME filtering to "file://" requests as well.
Todo: More cleanup, add a gempub.c.
|
|
Contents of the Downloads folder can now be viewed as a directory index page.
|
|
One is now able to view directory and ZIP archive contents using file URLs.
Directory contents are shown as a list of links, enabling previewing supported formats. A link to the parent directory is included at the top of the page.
ZIP archives behave like directories, except they also recognize "index.gmi" and "index.gemini" files and display them instead of the regular directory index (when viewing a directory inside a ZIP archive). This enables archiving a Gemini capsule and browsing it as a ZIP archive.
Added a preference to disable loading of index pages.
|
|
|
|
The `GmRequest` object is destroyed after handling a redirect, but afterwards a check was still made to cache the request contents.
IssueID #148
|
|
Confused the `-` prefix and `---` as separator.
|
|
|
|
|
|
|
|
Added a `SmoothScroll` utility to make the smooth scroll and bounce behavior applicable elsewhere as well.
|