summaryrefslogtreecommitdiff
path: root/src/ui/util.c
AgeCommit message (Collapse)Author
2021-05-04Lang: Added Toki PonaJaakko Keränen
IssueID #192
2021-04-30LabelWidget: Implicit minimum sizeJaakko Keränen
2021-04-30Revising and fixing widget layoutJaakko Keränen
Some of the logic for arranging widgets was invalid, leading to problems with the navbar: - cannot resize children if own size depends on their size - expanding children won't expand unless resizing all children
2021-04-30Window: Moving tabs between splitsJaakko Keränen
2021-04-29Working on multiple UI rootsJaakko Keränen
Added a menu for changing the split mode.
2021-04-29Working on multiple UI rootsJaakko Keränen
Restore previous root after processing events. Adjusted colors of the non-focused root.
2021-04-28Working on multiple UI rootsJaakko Keränen
Root focus switching and opening links in the other root.
2021-04-28Working on multiple UI rootsJaakko Keränen
Various refactorings and fixes to handle root-global and window-global state, root-specific palettes, and proper coordinate system changes (e.g., when opening menus). UI events are posted and handled in the context of a specific root.
2021-04-27Refactor: Update event processing to not assume a single UI rootJaakko Keränen
Most actions should occur in the context of the current UI root.
2021-04-27UI root sizing is independent of window sizingJaakko Keränen
2021-04-27Refactor: Added a proper Root objectJaakko Keränen
`Root` encapsulates the root widget and the associated UI state.
2021-04-27Refactor: Moving RootData so it can become non-global stateJaakko Keränen
2021-04-26Lang: Added Interlingua (ia)Jaakko Keränen
IssueID #192
2021-04-24Added "Show Downloads" and "Open Downloaded File"Jaakko Keränen
Contents of the Downloads folder can now be viewed as a directory index page.
2021-04-23File URLs support directories and ZIP archivesJaakko Keränen
One is now able to view directory and ZIP archive contents using file URLs. Directory contents are shown as a list of links, enabling previewing supported formats. A link to the parent directory is included at the top of the page. ZIP archives behave like directories, except they also recognize "index.gmi" and "index.gemini" files and display them instead of the regular directory index (when viewing a directory inside a ZIP archive). This enables archiving a Gemini capsule and browsing it as a ZIP archive. Added a preference to disable loading of index pages.
2021-04-22Fixed dialog item formattingJaakko Keränen
Confused the `-` prefix and `---` as separator.
2021-04-22SmoothScroll is a UI utility; moved itJaakko Keränen
2021-04-21Mobile: Working on scroll bounce behaviorJaakko Keränen
2021-04-21Mobile: Added Settings > AboutJaakko Keränen
2021-04-21Mobile: Autoreload intervals are missingJaakko Keränen
2021-04-18Added French as UI language optionJaakko Keränen
2021-04-18Added build option to disable IPCJaakko Keränen
It may take a while to add D-Bus support, so adding a way to disable the incompatible IPC mechanism for Flatpak builds. IssueID #245
2021-04-13Preferences: Reorganized fonts dropdownJaakko Keränen
Fonts are grouped by type.
2021-04-13Updated the UI fonts to Source Sans 3Jaakko Keränen
A new version of the typeface, now with all font variations needed for page content as well.
2021-04-12Mobile: CertImportWidget, UI tweaksJaakko Keränen
The Import Identity dialog is now styled for mobile, although could use a little more tuning.
2021-04-12App: Mitigations against a possible crashJaakko Keränen
A tab switch may have ended up accessing a NULL pointer.
2021-04-11Lang: Added German translationJaakko Keränen
2021-04-11Mobile: Long press to select; navbar page menuJaakko Keränen
DocumentWidget now supports a long-press drag selection mode. The context menu was moved to the URL bar, replacing the reload button.
2021-04-10Mobile: Close menus when toolbar hiddenJaakko Keränen
2021-04-10Mobile: Retain window placement is only for desktopJaakko Keränen
2021-04-10Mobile: Hide shortcut keysJaakko Keränen
On iPad, the platform convention is to show these in a popup anyway.
2021-04-09Mobile: Adjusting phone layout of PreferencesJaakko Keränen
2021-04-09Mobile: Fixed dialog field misalignmentsJaakko Keränen
2021-04-08Mobile: Fixed preference panelsJaakko Keränen
Must disable the hidden panels.
2021-04-05Mobile: Fixing the build post-1.3Jaakko Keränen
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