summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
2021-11-21Apply ANSI SGR background colorsJaakko Keränen
The background color of the current text run can be changed via ANSI SGR control sequences. Improved the ANSI escape sequence regex to detect more than just SGR sequences, so they can be properly filtered out.
2021-11-21Merge branch 'dev' into work/v1.9Jaakko Keränen
# Conflicts: # CMakeLists.txt # res/about/version.gmi
2021-11-21Site-specific Titan upload identityJaakko Keränen
The identity to be used for uploads is now in sitespec.ini, so it applies to an entire site root. This should match actual use cases better than having URL-specific identities. Also fixed an issue with native menus. Replacing the items with new ones was not implemented. IssueID #379
2021-11-19CleanupJaakko Keränen
2021-11-19CleanupJaakko Keränen
2021-11-19Fixed clicking on tabs when banner is underneathJaakko Keränen
Banner was too eager to eat all mouse events.
2021-11-14Localized language names in PreferencesJaakko Keränen
Each dropdown item now uses its own language. This avoids the need to translate all language names to every language, and also helps the user to find the language(s) they understand. The name strings are incorporated as C11 u8"" string literals, which hopefully won't cause compatibility issues as the_Foundation already requires C11. Note that the Translation dialog retains the localized language labels because the user may not speak the source language, so they need to see it in their own language. IssueID #391
2021-11-14Merge branch 'dev' into work/v1.9Jaakko Keränen
# Conflicts: # CMakeLists.txt # Depends.cmake # src/lang.c
2021-11-13DocumentWidget: Trust button shown only when untrustedJaakko Keränen
2021-11-13DocumentWidget: Fixed appearance of Trust buttonJaakko Keränen
2021-11-12FontPack: Font dropdown includes IDs if ambiguousJaakko Keränen
If some fonts have the same human-readable name, the unique font ID will be added to show which font it actually is.
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-07Windows: Call the updater; added a missing resourcesJaakko Keränen
2021-11-06CleanupJaakko Keränen
2021-11-06Fixed issues with tall popup menusJaakko Keränen
A tall popup menu needs to use overflow scrolling, but the size of the display wasn't considered. Now a popup window is fit to the usable bounds of the display.
2021-11-06DocumentWidget: Fixed incorrect document widthJaakko Keränen
2021-11-04Added Czech UI translationJaakko Keränen
2021-11-04Merge branch 'dev' into work/v1.9Jaakko Keränen
# Conflicts: # src/lang.c
2021-11-04Added Hungarian UI translationJaakko Keränen
2021-11-04Widget: Scroll overflow widgets via mouse hoverJaakko Keränen
Useful for tall menus and dialogs on the desktop.
2021-11-03Popup menus with a selected item are allowed to overflow top/bottomJaakko Keränen
The point of positioning the selected item is that it must remain at the correct origin. Now it just needs a scrolling feature that checks mouse hover position on overflow widgets.
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-11-02macOS: Tab close buttons on the leftJaakko Keränen
Platform convention.
2021-11-01Fixed build with the simple text rendererJaakko Keränen
IssueID #372
2021-10-31Changed format of resources.lgrJaakko Keränen
Resources are now stored in a ZIP archive, and it comes with an explicit version number. All the old embed/bincat stuff was removed as unnecessary. resources.lgr is also a valid fontpack, for loading the built-in fonts. IssueID #363
2021-10-30Added Ukrainian UI translationJaakko Keränen
Kudos to Alyssa Liddell for a 100% translation.
2021-10-29FontPack: Loading fonts from TTC filesJaakko Keränen
2021-10-27Upgrade assistance: download "classic-set" fontpackJaakko Keränen
2021-10-27DocumentWidget: Security warningsJaakko Keränen
2021-10-26Text: Use "alternative font 1" escape for monospaceJaakko 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-25Message/question text wrapping; cleanupJaakko Keränen
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-23InputWidget: Per-pixel scrollingJaakko Keränen
2021-10-23UploadWidget: Remember token; Upload button visibilityJaakko Keränen
The token is saved just like the text editor content. In a single panel layout, the Upload button should only be shown when a detail panel is visible. The text editor panel shouldn't scroll because the input widget does its own scrolling.
2021-10-23Mobile: Notify about current panel changeJaakko 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-23Mobile: Fixed ListWidget hover itemJaakko Keränen
2021-10-23CleanupJaakko Keränen