summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
AgeCommit message (Collapse)Author
2021-12-26Mobile: Tweaking link highlight on hoverJaakko Keränen
2021-12-25Mobile: Same indication for hover links and open URLsJaakko Keränen
2021-12-25Mobile: Link info in context menuJaakko Keränen
2021-12-25Mobile: Fixed pull-to-refreshJaakko Keränen
2021-12-23Android: Various fixes to get things up and runningJaakko Keränen
Resource paths, runtime data, ignore mouse events. Assume that the Java side tells us the display pixel density via a command line argument.
2021-12-20DocumentWidget: Cleaning up after refactoringJaakko Keränen
2021-12-20CleanupJaakko Keränen
The "opened from sidebar" flag is unnecessary now.
2021-12-19Cleanup: Group together DocumentView methodsJaakko Keränen
2021-12-19DocumentWidget: Refactor to separate DocumentViewJaakko Keränen
Work in progress, but now DocumentView at least has its own type. The relationship is a bit muddled, though.
2021-12-18CleanupJaakko Keränen
2021-12-18LinkInfo: Improved link metadata popupJaakko Keränen
2021-12-18DocumentWidget: Fixed open links highlight positionJaakko Keränen
2021-12-18Image metadata; improved open URLs indicatorJaakko Keränen
Put a new GmRun under an inlined image with the image metadata, so it doesn't overlap the caption text. Open URLs are now indicated with a document-width box instead of window-width box. The box is also slightly expanded for a nicer look. Links have a bit of padding around them so this doesn't cause overlaps with other runs.
2021-12-18Nicer image metadata and open URLs highlightJaakko Keränen
Metadata of inlined images shouldn't overlap the caption text. Open URL highlights are not drawn fullwidth to avoid clashing with side elements and generally to look more consistent.
2021-12-17Mobile: Input prompt actions menuJaakko Keränen
2021-12-17Mobile: Wheel scrolling is not applicableJaakko Keränen
2021-12-17macOS: Fixed scrolling of wide preformatted blocksJaakko Keränen
2021-12-17DocumentWidget: Swipe animation glitchesJaakko Keränen
Most crucially, sometimes the swipe placeholders would not get deleted at all because the visual offset animation was not finishing as expected. This would cause a number of problems with the document behavior.
2021-12-17CleanupJaakko Keränen
2021-12-17macOS: Trackpad swipe navigationJaakko Keränen
Work in progress. Something breaks down when swiping forward twice...
2021-12-16CleanupJaakko Keränen
2021-12-16DocumentWidget: Paste preceding lineJaakko Keränen
Added a special actions menu in the input prompt to allow the user to paste the line preceding the latest clicked link from the originating document. One use case for this is user-editable lines.
2021-12-14Mobile: Adjusted back swipe on tabletsJaakko Keränen
2021-12-14Mobile: Tuning document swipe animationsJaakko Keränen
2021-12-14Fixed missing document width updatesJaakko Keränen
2021-12-13DocumentWidget: Keeping a cached documentJaakko Keränen
When restoring a page from history, ensure the cached document is stored in the memory cache. Previously this only occurred when a page load finished.
2021-12-10Fixed history with multiple items having the same URLJaakko Keränen
If there were multiple instances of the same URL in history, only the latest one's content would be used when navigating back/forward.
2021-12-08Mobile: Hide iOS text view background; Translation panel positioningJaakko Keränen
Mobile panels should always be root-parented, but the source document relationship is currently not communicated in any other way.
2021-12-08Mobile: Minor font/text sizing tweaksJaakko Keränen
2021-12-08DocumentWidget: Clear selection if document changesJaakko Keränen
2021-12-08Mobile: SmoothScroll pull flags; menu and value input sizingJaakko Keränen
2021-12-08DocumentWidget: Trying to fix swipe animationsJaakko Keränen
Document swipe animations are now almost fully working, except for an aborted forward navigation (swipe from right edge).
2021-12-07DocumentWidget: Fixed swipe navigationJaakko Keränen
TODO: If the swipe is aborted, the state ends up wrong.
2021-12-07Document-specific palettesJaakko Keränen
Manage a color palette separately for each GmDocument, and activate one of them globally whenever a document is being drawn. Palettes are cached in memory.
2021-12-07DocumentWidget: Fixing glitches in swipe navigationJaakko Keränen
TODO: There should be a better method for copying the full state of the DocumentWidget to another one.
2021-12-07DocumentWidget: Footer button background colorJaakko Keränen
With the white theme(s), the footer buttons were not prominent enough.
2021-12-07DocumentWidget: Don't trim space if user entered only spacesJaakko Keränen
2021-12-06Mobile: Tablet fixesJaakko Keränen
2021-12-06Mobile: Tablet fixesJaakko Keränen
Various issues with safe areas and font sizes.
2021-12-06DocumentWidget: Footer buttons vs. phone toolbarJaakko Keränen
The toolbar should only be accounted for in portrait orientation. Footer buttons no longer have a padding for the toolbar.
2021-12-05Mobile: Pull to refreshJaakko Keränen
2021-12-04Mobile: Sidebar is now a vertically sliding panelJaakko Keränen
Switched the phone sidebar to use the iOS half/full-height sliding sheet design. This is better for finger reachability and for retaining access to the current page.
2021-12-03Improving identity useJaakko Keränen
The URL checks for determining which identity was in use were a bit too page-specific. Now the URL prefix usage is applied more consistently. The identity toolbar menu is now more useful in that it allows both switching identities and stopping the use of the current identity.
2021-11-30Merge branch 'dev' into work/v1.10Jaakko Keränen
2021-11-29Fixed issues with tab button labelsJaakko Keränen
Fixed issue with very short text not being truncated at all. A short truncated label will now just show the icon, if one is set. The tab close buttons don't appear if the buttons are too small.
2021-11-28Bookmarks: Internal tags have a dot prefixJaakko Keränen
Internal behavior tags are now written in bookmarks.ini with a dot prefix (like hidden files on Unix), and at runtime they are removed from the tags string. This makes things more efficient as it isn't necessary to compile regular expressions all the time. TODO: Add "Edit Feed..." into the Bookmarks context menu, and a new menu item for listing all subscriptions. IssueID #331
2021-11-28Fixed page timestamp; 24-hour time preferenceJaakko Keränen
IssueID #349
2021-11-25GmDocument: Heading font stylesJaakko Keränen
Swapped bold styling of heading levels 2 and 3 for better visual distinction of the hierarchy.
2021-11-24DocumentWidget: Improved footer buttons positioningJaakko Keränen
No more animation offset hacks: just reposition the buttons whenever the view is scrolling. Fixed glitches with document centering. The page margins are a bit complicated as they change depending on whether the banner is visible.
2021-11-22Input queries vs. navigation historyJaakko Keränen
Input query responses (status 1x) are not preserved in History so that when navigating back, they are skipped. The corresponding URLs are flagged as Transient so they are not shown in the History sidebar. The History sidebar shows the query string in URLs. IssueID #382