summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
AgeCommit message (Collapse)Author
2022-01-24DocumentWidget: Cancelling an input queryJaakko Keränen
This has been broken for a while...
2022-01-20DocumentWidget: Fixed crash when downloading a large fileJaakko Keränen
2022-01-16DocumentWidget: Banner glitchesJaakko Keränen
Banner warnings were duplicated for example when under some conditions. Internal "about:" pages should never show banners or warnings. IssueID #435
2022-01-14Windows: Fixed installing a drag-and-dropped font fileJaakko Keränen
The name of the file was not determined correctly.
2022-01-14DocumentWidget: Fixed possible crash during long downloadsJaakko Keränen
Hover can't be updated when the document is hidden.
2022-01-13Showing files using `dbus-send` under FreedesktopJaakko Keränen
D-Bus command line tools can be called to make method calls to reveal a file's location in the file manager.
2022-01-05Consistent dialog titlesJaakko Keränen
Added a utility for setting up dialog titles consistently. They are now in all-caps and aligned appropriately.
2022-01-05Merge branch 'work/v1.10' into devJaakko Keränen
# Conflicts: # CMakeLists.txt # Depends-Android.cmake # res/about/version.gmi # res/lang/cs.bin # res/lang/eo.bin # res/lang/es.bin # res/lang/fi.bin # res/lang/gl.bin # res/lang/ia.bin # res/lang/ie.bin # res/lang/ru.bin # res/lang/sr.bin # res/lang/tok.bin # res/lang/tr.bin # res/lang/uk.bin # res/lang/zh_Hant.bin # src/app.c # src/main.c # src/ui/documentwidget.c # src/ui/labelwidget.c # src/ui/sidebarwidget.c # src/ui/util.c
2022-01-05Handling keys while navigating via home rowJaakko Keränen
When navigating via home row, ensure that other widgets will not trigger when keys are pressed. The document is given keyboard focus even though it is not flagged as focusable, to make sure it gets to handle all the keys first. On macOS, disable all native menu items that have a home row keyboard shortcut. Also on macOS, disable all native menus when changing bindings. IssueID #419
2022-01-04Date in Gemini feed links is de-emphasizedJaakko Keränen
Use a regular font weight and dimmer color for the entry date.
2022-01-02Attempt to ensure invalidation of cached theme dataJaakko Keränen
2022-01-01iOS: Showing activity views on iPadJaakko Keränen
On iPad, activity views are popovers and require information about the source. The UI doesn't provide this, though, so just use the long-press tap position for now.
2021-12-30Added "Edit Page with Titan"Jaakko Keränen
A convenient way to copy the current page's source and open the Titan upload dialog with it prefilled. IssueID #415
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-30DocumentWidget: Update banner while loadingJaakko Keränen
The banner would sometimes appear only after the page had finished loading, because the site icon got lost when the GmDocument was switched.
2021-12-29iOS: Sharing file content and selected textJaakko Keränen
2021-12-29Inline download context menu; macOS: Show in FinderJaakko Keränen
The inline downloads UI finally has some interactivity: left-clicking on a finished download opens it in the default viewer app, and right-clicking shows a context menu with relevant actions.
2021-12-28Viewing unsupported files in another appJaakko Keränen
After receiving content of unsupported type, show a footer action button to open it in another app. IssueID #135
2021-12-27Android: Keyboard height; other fixesJaakko Keränen
Send a notification from the Java side when the software keyboard is shown.
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-13Android: 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-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