summaryrefslogtreecommitdiff
path: root/src/history.c
AgeCommit message (Collapse)Author
2021-12-30DocumentWidget: Inlining "image/*" responsesJaakko Keränen
Image responses get inlined on gemtext pages. It would make sense to use this mechanism for all media since the MIME type is ultimately what matters in determining the appropriate presentation. The file extensions shouldn't matter. IssueID #373
2021-12-20CleanupJaakko Keränen
The "opened from sidebar" flag is unnecessary now.
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-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-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-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-07-02Further canonical URIsJaakko Keränen
2021-06-15DocumentWidget: Caching error page documentsJaakko Keränen
2021-06-14Swiping and sidebar; various tweaksJaakko Keränen
When a page is opened from the sidebar, swiping back will now reopen the sidebar. Another swipe will dismiss the sidebar and navigate back as usual. Attempted to cache theme colors in GmDocument, but there were issues with theme changes.
2021-06-13Mobile: Swipe navigationJaakko Keränen
Swipes are working much better. Todo: - Pinch must always cancel/override edge swipes. - Use the right palette for the "swipein" placeholder.
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-10Preferences: Memory size limitJaakko Keränen
Memory used for RAM storage of media along with navigation history so it can be restored instantly.
2021-06-09Merge branch 'dev' into work/typesetterJaakko Keränen
# Conflicts: # src/gmdocument.c # src/ui/documentwidget.c # src/ui/inputwidget.h
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-13Debug info shows total cache/RAM usageJaakko Keränen
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-04-28Working on multiple UI rootsJaakko Keränen
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.
2021-04-16Back/Forward buttons vs. navigation positionJaakko Keränen
The Back and Forward arrow buttons are disabled if the navigation position is at the end/beginning of the history. IssueID #247
2021-02-19iOS: Further tweaks for mobileJaakko Keränen
2021-01-27Added preference for maximum cache sizeJaakko Keränen
Rather than simply limiting each tab's cache to 50 most recent URLs, there is now a user-configurable maximum size. If more content is cached, the oldest/largest responses will be removed from memory. The default maximum cache size is 10 MB. IssueID #109
2021-01-15"about:debug" shows cache informationJaakko Keränen
IssueID #109
2020-09-08LookupWidget: Identities lookup and commandsJaakko Keränen
2020-09-07LookupWidget: Improved multi-word matchesJaakko Keränen
All search terms must be found in order, but may have anything between them.
2020-09-07Lookup improvements for history contentJaakko Keränen
2020-09-07LookupWidget: Working on history content searchJaakko Keränen
2020-09-06Added a LookupWidget with background threadJaakko Keränen
2020-08-22Added BSD 2-clause license and copyright noticesJaakko Keränen
2020-08-15Init and scroll position improvementsJaakko Keränen
Scroll positions are saved as normalized positions so they don’t get affected by zoom differences.
2020-08-12Save and load app state (tabs, history)Jaakko Keränen
2020-08-09Closing and duplicating tabsJaakko Keränen
2020-08-08Moved recent URLs history to DocumentWidgetJaakko Keränen
App maintains the visited URLs database, but each DocumentWidget has its own stack of recent URLs for timeline navigation.
2020-08-06Fetch content from cache when navigating backJaakko Keränen
2020-08-05Mark HTTP URLs visited in the historyJaakko Keränen
2020-08-04Remember scroll positions on visited pagesJaakko Keränen
2020-07-31Use the full Symbola font; don't embed resourcesJaakko Keränen
The fonts are too large to embed comfortably.
2020-07-30History of visited URLs; visualize time of last link visitJaakko Keränen
2020-07-29Looking up URL visit timesJaakko Keränen
2020-07-29Moved History to its own typeJaakko Keränen