summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
AgeCommit message (Collapse)Author
2021-06-13Mobile: Working on swipe navigationJaakko Keränen
Swipes back and forward are now working, although there are some glitches remaining. Most notably, when swiping back the previous document does not appear until the finger is released.
2021-06-11Mobile: Minor tweaksJaakko Keränen
2021-06-10DocumentWidget: Deleting local files via link context menuJaakko Keränen
2021-06-10DocumentWidget: Pause audio when document changesJaakko Keränen
While document media is now kept in memory even in history, it's quite strange if audio players keep playing on a page viewed in the past without a way to control the playback.
2021-06-09Merge branch 'dev' into work/typesetterJaakko Keränen
# Conflicts: # src/gmdocument.c # src/ui/documentwidget.c # src/ui/inputwidget.h
2021-05-29DocumentWidget: Looking up URLs from historyJaakko Keränen
URLs in the history are in decoded and NFC normalized form, except for spaces which are stored as %20.
2021-05-29DocumentWidget: Retain scroll positionJaakko Keränen
Use scroll position from history when the page content wasn't in the cache.
2021-05-29Gempub: Fixed glitches in DocumentWidgetJaakko Keränen
2021-05-28Gempub: Linear navigation with left/right arrow keysJaakko Keränen
2021-05-28DocumentWidget: Improved drawing of link key shortcutsJaakko Keränen
2021-05-27DocumentWidget: Composited link numbers/lettersJaakko Keränen
Draw the circle and the number/letter separately since we don't have a font with all the glyphs.
2021-05-25Use "Close" instead of "Dismiss"Jaakko Keränen
IssueID #285
2021-05-22Document footer buttonsJaakko Keränen
In some situations, e.g., when a client certificate is required but not active, make available action buttons that offer related shortcuts. Selecting or deselecting an identity for use will automatically reload the current page for convenience. Animate closing sidebars with Escape key.
2021-05-22DocumentWidget: Working on footer button positioningJaakko Keränen
2021-05-21DocumentWidget: Working on buttons related to page contentJaakko Keränen
2021-05-21DocumentWidget: CleanupJaakko Keränen
Group the member variables for clarity.
2021-05-21DocumentWidget: Scroll position vs. reload/navigating to new pageJaakko Keränen
2021-05-21Added identity exportingJaakko Keränen
Exporting an identity will display it in a new tab in PEM encoded format, where it can be saved or copied. IssueID #236
2021-05-20DocumentWidget: Updated error page localizationJaakko Keränen
Added a new language string and blockquote styling for displaying the server's error message. IssueID #280
2021-05-20Display server-returned errormsg after the user-friendly error description. ↵Raph M
Fixes #280.
2021-05-20Added GmTypesetterJaakko Keränen
2021-05-19Merge branch 'dev' into work/typesetterJaakko Keränen
2021-05-19Widget: Fixed arrangement bugJaakko Keränen
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.
2021-05-18Mobile: No view split on phone; layout fixesJaakko Keränen
2021-05-18DocumentWidget: Run drawing vs. backgroundsJaakko Keränen
Erasing the background of every run should no longer be necessary (with progressive rendering), unless the run can change appearance.
2021-05-18DocumentWidget: Run drawing vs. backgroundsJaakko Keränen
Erasing the background of every run should no longer be necessary (with progressive rendering), unless the run can change appearance.
2021-05-18Merge branch 'dev' into work/typesetterJaakko Keränen
# Conflicts: # src/ui/documentwidget.c # src/ui/inputwidget.c
2021-05-16Cleanup: Moved mobile UI code to its own fileJaakko Keränen
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.
2021-05-16Changed UI icons related to bookmarksJaakko Keränen
Use the Book and Bookmark characters.
2021-05-15Mobile: Various improvements and fixesJaakko Keränen
- 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
2021-05-14Mobile and iOS: Various fixes and cleanupJaakko Keränen
Several regressions occurred when the split view mode was implemented.
2021-05-14Show "Line break" help text in input dialogJaakko Keränen
2021-05-14DocumentWidget: Keep scroll position for special responsesJaakko Keränen
For example, receiving an input prompt response shouldn't change the current scroll position in the open document.
2021-05-12Merge branch 'dev' into work/typesetterJaakko Keränen
2021-05-12DocumentWidget: Input query length validationJaakko Keränen
Enforce the maximum length of 1024 bytes for Gemini URLs. The input query prompt shows how many bytes are remaining.
2021-05-12CleanupJaakko Keränen
Use the Return key symbol consistently, also in the Search Query indicator. The input dialog "Send" label now no longer needs the "⇒" icon.
2021-05-12DocumentWidget: Clean up drawingJaakko Keränen
Children drawn were twice?
2021-05-11Cache GmDocuments in memoryJaakko Keränen
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.
2021-05-09Fixed showing of pinning indicatorJaakko Keränen
The indicator always shows the current tab's status.
2021-05-07Gempub: Restoring pages from cacheJaakko Keränen
Only auto-open the first chapter when navigating normally, and not via cache. Otherwise the previous read position would be lost.
2021-05-06DocumentWidget: Update pinning indicatorJaakko Keränen
2021-05-06Indicate pinning state in URL barJaakko Keränen
2021-05-06Gempub: Decode URLs, only load cover imageJaakko Keränen
2021-05-06Split view: Fixed theme and title updatesJaakko Keränen
Now every DocumentWidget is guaranteed a unique ID. The window title is updated when the keyroot chages.
2021-05-05Gempub: Split to show index and first chapterJaakko Keränen
When opening a Gempub, split the window and show the index page and the first chapter.
2021-05-05Lang: New strings for directory/archive browsingJaakko Keränen
2021-05-04Split view pinning, "linksplit" special tagJaakko Keränen
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.
2021-05-04Highlight links opened in other tabsJaakko Keränen
The primary purpose is to aid navigation in split view, so one can see exactly which links have been opened.
2021-05-04DocumentWidget: Update the correct fetch progressJaakko Keränen
2021-05-03Lang: Added new and missing stringsJaakko Keränen
IssueID #192