summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
AgeCommit message (Collapse)Author
2021-03-26Lang: Replaced "bytes" with "num.bytes"Jaakko Keränen
A new string to include the numeric value. IssueID #192
2021-03-25Lang: Plural stringsJaakko Keränen
IssueID #192
2021-03-24Fixes for dynamic language switchingJaakko Keränen
IssueID #192
2021-03-23Enable translation of error pagesJaakko Keränen
2021-03-23Lang: Applied more string IDsJaakko Keränen
IssueID #192
2021-03-22Lang: Began replacing UI strings with IDsJaakko Keränen
IssueID #192
2021-03-21iOS: Save to Files; hide toolbar on scrollJaakko Keränen
There is no downloads directory on mobile. Instead, the downloaded file is temporarily cached and given to the iOS document picker to export. Added an option to hide the bottom toolbar while scrolling down.
2021-03-18Adjusted sizing of Page Information dialogJaakko Keränen
2021-03-18Mobile improvementsJaakko Keränen
Seeing if a few forced redraws will take care of the squished view issue. On the phone, showing and hiding the sidebar is not supposed to resize any documents.
2021-03-18GmDocument: Trying out a footerJaakko Keränen
Currently disabled.
2021-03-17Moved "Find on page" menu itemJaakko Keränen
Mobile "Find on page" is now in the nav menu. Added icons to sidebar toggle items.
2021-03-17DocumentWidget: Blending of side elementsJaakko Keränen
The background of the side title buffer was not using the correct color, causing blending artifacts.
2021-03-16Mobile: Dialog layout fixesJaakko Keränen
Orientation and safe inset changes are now applied to phone dialogs. There is still the occasional unscrollable dialog, but it seems random?
2021-03-15Mobile: Find on page, various minor tweaksJaakko Keränen
On mobile, the search bar appears at the top of the page. Keep the haptic engine running so there is no delay before each effect. After a long-press, remove the "mouse" from the display area so there is no misleading hover. Widget border top/bottom use metrics.
2021-03-15Added a page translation serviceJaakko Keränen
This is quite experimental. The page contents are sent to an instance of LibreTranslate (powered by Argos Translate), which may or may not successfully translate the contents without mangling the gemtext markup.
2021-03-14Full page scroll with PageUp and PageDownJaakko Keränen
Added separate keybindings for half page and full page scrolling. Space and Shift+Space do the half page scroll as before. Assigned new keybinding IDs to reset these to defaults in case they've been customized. IssueID #203
2021-03-13Text: Separate glyph caching procedureJaakko Keränen
Previously glyph caching was done during text rendering, but that would mean lots of swapping between rendering stuff to the cache and then immediately afterward rendering to the display. There would be a swap per each new glyph. Now the entire document's glyphs are precached at once when a request is finished. Glyphs are also cached in larger batches when new text needs to be drawn.
2021-03-13Arrange URL child indicators; widget arrangementJaakko Keränen
The indicators in the URL input field are now arranged horizontally, so they don't overlap. Improved arrangement of (un)collapsed widgets.
2021-03-12DocumentWidget: Bookmarking a wrapped linkJaakko Keränen
Only the clicked part of the label text was used for the bookmark.
2021-03-12DocumentWidget: Don't handle clicks elsewhereJaakko Keränen
2021-03-12DocumentWidget: Slightly larger link click regionsJaakko Keränen
Now that links have margins between them, make them easier to hit.
2021-03-08Show error placeholder if image is missingJaakko Keränen
IssueID #167
2021-03-07Processing per-pixel scroll eventsJaakko Keränen
Do platform-specific processing of scroll events up front so widgets can support both types of scrolls everywhere. IssueID #166
2021-03-06Mobile: Widget interaction and appearanceJaakko Keränen
Overflow-scrollable allows momentum scrolls. Adjusting fonts in phone sheets.
2021-03-05Tuning iconsJaakko Keränen
2021-03-05Menu item iconsJaakko Keränen
2021-03-05Defined a set of UI icons; use in menusJaakko Keränen
2021-03-04Changing UI scaling at runtimeJaakko Keränen
UI scaling factor is applied when closing the Preferences dialog. IssueID #83
2021-03-03CapsLock as a modifier key; adding a modifier mapping tableJaakko Keränen
IssueID #87
2021-03-02Server certificates may also be verified by CAsJaakko Keränen
If the CA file/path are configured in preferences, trust CA verification over manual TOFU checks.
2021-02-26Auto-reload without a valid request timeJaakko Keränen
2021-02-26Don't apply MIME hooks on downloaded filesJaakko Keränen
2021-02-26DocumentWidget: Inline downloadsJaakko Keränen
2021-02-25Consolidating media handlingJaakko Keränen
2021-02-24GmDocument: Media type flexibilityJaakko Keränen
Allow defining new inline media types.
2021-02-24DocumentWidget: Expand/shrink page marginJaakko Keränen
Based on the width of the document, make the horizontal margins larger or smaller.
2021-02-24CleanupJaakko Keränen
2021-02-23Option to auto-reload a tab at a given intervalJaakko Keränen
IssueID #116
2021-02-23DocumentWidget: Middle-click behavior on linksJaakko Keränen
Mimic Firefox so that a normal middle-click opens a new tab in the background, and Shift-middle-click opens new tab in foreground. IssueID #152
2021-02-23"Go to Root" respects user names in URLJaakko Keränen
The behavior of navigating to root should match what is displayed in the top banner.
2021-02-23Editing bookmark iconsJaakko Keränen
IssueID #140
2021-02-22Dialog buttons on the rightJaakko Keränen
Follow typical GUI conventions by placing dialog buttons on the right edge. This leaves space for additional actions on the left.
2021-02-21Minor tweaksJaakko Keränen
2021-02-20iOS: Removed 2nd sidebar; background tweaksJaakko Keränen
2021-02-20iOS: Tweaks and changes for phone modeJaakko Keränen
Phone mode uses a modified user interface. Work in progress...
2021-02-19iOS: Adjusting the UI for a tablet screenJaakko Keränen
2021-02-19Touch: Scroll momentum tuning; edge swipesJaakko Keränen
2021-02-18iOS: Working on touch event handlingJaakko Keränen
Handle finger down, motion, and up events to implement basic taps, long presses, and inertia scrolling. Much finetuning still to be done, and certain widgets like input fields and scrollbars need a direct drag mode (they were working fine via the "mouse" events already).
2021-02-16DocumentWidget: Only center normal pagesJaakko Keränen
`about:` and error pages are centered as they are "internal" pages.
2021-02-15DocumentWidget: Scroll position while resizingJaakko Keränen
Keep the top of the view fixed during horizontal resizing.