summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
AgeCommit message (Collapse)Author
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
2021-11-13DocumentWidget: Trust button shown only when untrustedJaakko Keränen
2021-11-13DocumentWidget: Fixed appearance of Trust buttonJaakko Keränen
2021-11-09DocumentWidget: Error message cleanupJaakko Keränen
Some error pages would show response meta string instead of the actual error title. Don't show the internal error numbes in Page Information.
2021-11-09GmCerts: Allow trusting certificate regardless of domain nameJaakko Keränen
2021-11-06DocumentWidget: Fixed incorrect document widthJaakko Keränen
2021-11-03Redo cached document layout if neededJaakko Keränen
Changing the fonts, zoom level, or window width will cause cached documents to be laid out again if they are restored from memory.
2021-10-27DocumentWidget: Security warningsJaakko Keränen
2021-10-26Cleanup; minor tweaksJaakko Keränen
2021-10-26FontPack: Visual tweaks on the content pageJaakko Keränen
2021-10-26Preferences: Warn about missing glyphsJaakko Keränen
2021-10-26DocumentWidget: Don't update theme/banner on input promptsJaakko Keränen
2021-10-26DocumentWidget: Update theme/banner on responseJaakko Keränen
As soon as the first part of a response is available, update the page theme and banner.
2021-10-26Dismissing document warnings; Banner hoverJaakko Keränen
The warning about terminal emulation can be dismissed on site-specific basis. Banner items show a hover frame (like buttons) to indicate they can be clicked.
2021-10-25Document presentation warningsJaakko Keränen
Warn the user about missing glyphs and potentially unsupported ANSI escapes. TODO: Site-specific setting for dismissed warning; fonts preference about missing glyph warnings.
2021-10-25Banner: Error items; improved appearanceJaakko Keränen
2021-10-24Banner: Clicking on the site nameJaakko Keränen
2021-10-24Added BannerJaakko Keränen
Banner will take over everything related to the page top banner. DocumentWidget's content positioning is a bit messy, and now that the banner is no longer part of the GmDocument, it needed a bit of revising. It would still benefit from proper functions for mapping coordinates to/from the GmDocument coordinate space.
2021-10-24CleanupJaakko Keränen
2021-10-23Mobile: Footer button fixes; missing stringsJaakko Keränen
2021-10-23DocumentWidget: Footer buttons in phone layoutJaakko Keränen
Include a padding under the buttons to account for the toolbar.
2021-10-22Cleanup: Tidying up per-frame memory allocsJaakko Keränen
No need to use Garbage here to collect per-frame strings and arrays.
2021-10-22DocumentWidget: Not scrollable until mouse movedJaakko Keränen
The hover widget needs updating if the currently visible tab changes. Normally the hover widget is only updated when the mouse has moved.