summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
AgeCommit message (Collapse)Author
2022-02-20Mobile: Omit menu items for new windowsJaakko Keränen
2022-02-20Context menu items for opening itemsJaakko Keränen
2022-02-20Adding context items to open in new windowJaakko Keränen
2022-02-19Fixed several event handling issuesJaakko Keränen
Events are expected to have a valid windowID now, and the current window also has to be correct when dispatching or processing any events.
2022-02-18Serializing multiple windowsJaakko Keränen
Not quite fully functional yet. The window positioning still needs to be written to prefs.cfg.
2022-02-17Save text entered in the input promptJaakko Keränen
Use the same mechanism as in the Upload dialog to keep the text entered in the input prompt safe, in case the dialog is accidentally closed or the app crashes.
2022-02-15Site-specific settingsJaakko Keränen
The theme palette seed phrase and ANSI warnings can be configured in the new site-specific settings dialog. Added bindings for Page Information and for opening the site-specific settings dialog. IssueID #381
2022-02-15Working on site-specific settings dialogJaakko Keränen
2022-02-14Added option for autoshowing images in data URLsJaakko Keränen
Disabled by default to be consistent with behavior of other links.
2022-02-11Merge branch 'dev' into work/v1.11Jaakko Keränen
2022-02-11Added a binding for "Paste Preceding Line"Jaakko Keränen
2022-02-10Dealing with long URLsJaakko Keränen
LinkInfo will truncate extremely long URLs, and when viewing a single image, data URLs don't have a title.
2022-02-09Merge branch 'dev' into work/v1.11Jaakko Keränen
# Conflicts: # res/lang/eo.bin # res/lang/ie.bin
2022-02-08DocumentWidget: Fixed continuous redraw issueJaakko Keränen
It was possible that the progressive rendering of runs repeatedly kept drawing the first run of the page (e.g., the top heading). It should still be investigated if a similar issue can occur in the other direction, when drawing downward. A run may exist on the bottom border of a buffer, too.
2022-02-07DocumentWidget: No link number for image captionJaakko Keränen
2022-02-07DocumentWidget: Fixed handling of quick inline media requestJaakko Keränen
If a request was already completed when it was moved inline, the content wasn't marked as finished and did not appear.
2022-02-07GmDocument: Handling images in "data:" URLsJaakko Keränen
One can embed arbitrary data inside a "data:" URL. If an image is recognized, attempt to show it as part of the document.
2022-02-07CleanupJaakko Keränen
2022-02-06Merge branch 'dev' into work/v1.11Jaakko Keränen
# Conflicts: # CMakeLists.txt # res/fonts/SmolEmoji-Regular.ttf # res/lang/gl.bin # src/app.c
2022-02-01DocumentWidget: "file://" pages don't warn about ANSI colorsJaakko Keränen
The warnings are site-specific, and there's no site for "file://".
2022-01-30About page parent/root navigationJaakko Keränen
2022-01-29Hierarchical navigation with Gopher and TitanJaakko Keränen
With Gopher, ensure that the item type changes to 1, and with Titan, change to normal Gemini.
2022-01-28iOS: Scroll to top on status bar tapsJaakko Keränen
2022-01-27DocumentWidget: Navigate to parent vs. index.gmiJaakko Keränen
index.gmi is typically identical to the directory itself, so don't go from `/index.gmi` to `/`, but skip directly to the parent directory.
2022-01-27DocumentWidget: Fixed crash while media players activeJaakko Keränen
2022-01-24Gopher: Set item type to 1 when navigating to parentJaakko Keränen
As suggested in: gemini://ruario.flounder.online/gemlog/2022-01-19_Some_Gopher_improvements_for_Lagrange.gmi
2022-01-24DocumentWidget: Cancelling an input queryJaakko Keränen
This has been broken for a while...
2022-01-21Fonts: Show abbreviated list of names on "about:fonts"Jaakko Keränen
A big set can be viewed separately to see all the individual fonts.
2022-01-20DocumentWidget: Fixed crash when downloading a large fileJaakko Keränen
2022-01-19Fontpack lookup via missing glyphsJaakko Keränen
IssueID #435
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