summaryrefslogtreecommitdiff
path: root/src/ui/util.c
AgeCommit message (Collapse)Author
2021-04-05Added option to disable bold linksJaakko Keränen
IssueID #233
2021-04-04DocumentWidget: Key navigation mode vs. bound actionsJaakko Keränen
Events are dispatched first to child widgets, so the menus and actions of DocumentWidget were still handling key navigation events even though they shouldn't.
2021-04-03Lang: Added Occidental and SerbianJaakko Keränen
IssueID #192
2021-03-30Widget: Arrangement debugging; min sizeJaakko Keränen
There is a problem with repeated arrangements: the previous set sizes affect subsequent outcomes. This results in Preferences not being able to reduce in size, only to expand. It should be possible to reset sizes back to zero/minimum size before starting an arrangement, but LabelWidget needs to cooperate by using `minSize` to set its default size. `minSize` is preferable to fixedSize because then the widget can go through the usual arranging logic. To be continued at a later time...
2021-03-29Widget: Flag for allowing horizontal overflowJaakko Keränen
Two-column headings are supposed to span both columns.
2021-03-29Lang: Added Chinese (Traditional)Jaakko Keränen
2021-03-29Preferences: Partially reorganized groupingJaakko Keränen
With new options introduced, a slightly different grouping makes more sense.
2021-03-29Preferences: Collapse preformatted blocks on page loadJaakko Keränen
IssueID #180
2021-03-29Fixed: Keyboard shortcuts stop workingJaakko Keränen
Menus can't be disabled or otherwise their items can't be triggered any more. Hidden menus are still supposed to receive key events. IssueID #224
2021-03-29Improving alt text animation; cleaned up key shortcut labelsJaakko Keränen
Remove extra Plus signs from key shortcuts.
2021-03-29Default dialog buttons show key shortcutJaakko Keränen
2021-03-27InputWidget: Select by wordJaakko Keränen
IssueID #134
2021-03-27DocumentWidget: Advanced text selectionJaakko Keränen
Double click to select by word, triple click by paragraph. IssueID #134
2021-03-27Processing of double clicksJaakko Keränen
The click handling utility no longer treats double clicks as a special case. An arbitrary number of clicks is kept in a separate counter.
2021-03-27Lang: Added Spanish (es)Jaakko Keränen
IssueID #192
2021-03-26Cleanup: Omit partially translated "de"Jaakko Keränen
Only show the languages that are currently (more or less) fully translated. IssueID #192
2021-03-26CleanupJaakko Keränen
2021-03-25Preferences: Removed extra % charactersJaakko Keränen
2021-03-25Preferences: Revised language selection dropdownJaakko Keränen
Visible IDs since the language names are also localized.
2021-03-25Lang: Added Chinese (Simplified)Jaakko Keränen
IssueID #192
2021-03-24Preferences: Added Russian and German UI languagesJaakko Keränen
2021-03-23Lang: Added Russian to resourcesJaakko Keränen
IssueID #192
2021-03-23UI language preference; switching at runtimeJaakko Keränen
IssueID #192
2021-03-23Lang: Applied string IDs everywhereJaakko Keränen
More or less everywhere? IssueID #192
2021-03-23Lang: Applied more string 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-18Draw soft popup menu border shadowsJaakko Keränen
2021-03-18Scrollbar fading and periodic commandsJaakko Keränen
Added a new mechanism to issue periodic but not per-frame commands. This is used for main-thread operations like checking if it's time to fade away the scrollbars. Scrollbars are faded away completely on Apple platforms. Adjusted list right margins accordingly.
2021-03-17CleanupJaakko Keränen
2021-03-16Translation: Remember last used languagesJaakko Keränen
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-15Translation: Handling cancellation/errorsJaakko Keränen
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-13Fixed resizing of input dialogsJaakko Keränen
2021-03-12Cut/copy/paste paste via menusJaakko Keränen
IssueID #175
2021-03-11Added option to word wrap plain text filesJaakko Keränen
On by default because there is no horizontal scrolling for plain text files.
2021-03-10Mobile: Phone-styled input dialogJaakko Keränen
2021-03-10Mobile: Styling for regular dialogsJaakko Keränen
2021-03-10Edge-dragging preference panelsJaakko Keränen
2021-03-10Mobile: Working on the phone preferencesJaakko Keränen
2021-03-10Mobile: Working on dialog stylingJaakko Keränen
2021-03-09Mobile: Revising phone-style dialogsJaakko Keränen
Sliding panels and left-edge swipes.
2021-03-06Rasterize a few glyphs on every frameJaakko Keränen
Also various widget fixes/improvements.
2021-03-06Mobile: Dialog styling for phonesJaakko Keränen
2021-03-06Mobile: Widget interaction and appearanceJaakko Keränen
Overflow-scrollable allows momentum scrolls. Adjusting fonts in phone sheets.
2021-03-05UI color tuning; menu item backgroundsJaakko Keränen
2021-03-05Restructuring dialogs for mobileJaakko Keränen
On a phone, dialogs are restructured to be more vertical and full-width.
2021-03-04LabelWidget: Added an optional iconJaakko Keränen
Label icons are intended for context menus.
2021-03-04Fixed buttons in Import Identity dialogJaakko Keränen