summaryrefslogtreecommitdiff
path: root/src/ui/root.c
AgeCommit message (Collapse)Author
2021-06-13Mobile: Swipe navigationJaakko Keränen
Swipes are working much better. Todo: - Pinch must always cancel/override edge swipes. - Use the right palette for the "swipein" placeholder.
2021-06-13Mobile: Working on swipe navigationJaakko Keränen
Swipes back and forward are now working, although there are some glitches remaining. Most notably, when swiping back the previous document does not appear until the finger is released.
2021-06-13Touch: Swiping away the sidebarJaakko Keränen
2021-06-12CleanupJaakko Keränen
2021-06-11iOS: Opening a file via document pickerJaakko Keränen
Use a native file picker to open files. Declare support for .gmi/.gemini files so they can be opened via Files and share sheets.
2021-06-11Mobile: Minor tweaksJaakko Keränen
2021-06-10Mobile: Horizontal sidebar animationJaakko Keränen
Also fixing glitch with search input field where pressing Return would insert newline.
2021-06-10Preferences: Memory size limitJaakko Keränen
Memory used for RAM storage of media along with navigation history so it can be restored instantly.
2021-06-10Tight mode for Query/Feeds indicatorJaakko Keränen
2021-05-26Fonts: Added more Smol Emoji symbolsJaakko Keränen
2021-05-25Removed Symbola, replaced with other/new fontsJaakko Keränen
Symbola's license is not permissive enough, so it has been removed. Added "Smol Emoji" with face emoticons and other UI characters for Lagrange. More symbols provided by Noto Sans Symbols and Noto Sans Symbols 2. The fallback fonts are now Iosevka, which has a pretty good coverage (although monospace), and the user's chosen TrueType font (which could still be a local copy of Symbola). Still a work in progress: some characters are missing. IssueID #283
2021-05-22Document footer buttonsJaakko Keränen
In some situations, e.g., when a client certificate is required but not active, make available action buttons that offer related shortcuts. Selecting or deselecting an identity for use will automatically reload the current page for convenience. Animate closing sidebars with Escape key.
2021-05-21Keybindings for split view menuJaakko Keränen
The split view keys now have keybindings. The default bindings for horizontal/vertical were changed to conform to Emacs (3/2). IssueID #278
2021-05-21Added identity exportingJaakko Keränen
Exporting an identity will display it in a new tab in PEM encoded format, where it can be saved or copied. IssueID #236
2021-05-20Improved Identity management via sidebarJaakko Keränen
Prevent redundant activations: the highest-level URL overrides the same identity being used on lower-level URLs. Changed the icons in the list and added the list of used URLs into the context menu as clickable items.
2021-05-20Dialog show/hide animationsJaakko Keränen
Use the animations introduced for mobile on desktop as well. Adding a preference for this might be prudent.
2021-05-19CleanupJaakko Keränen
2021-05-18Root: Updating size of navbar buttons/indicatorsJaakko Keränen
Not all UI elements were appropriate sized when switching between normal and tight layout.
2021-05-16Cleanup: Moved mobile UI code to its own fileJaakko Keränen
The mobile UI related code has grown large enough to warrant a separate file. Also, work-in-progress redo of the Preferences layout so it can be used with landscape as well.
2021-05-16Changed UI icons related to bookmarksJaakko Keränen
Use the Book and Bookmark characters.
2021-05-15Mobile: Various improvements and fixesJaakko Keränen
- fill the safe area with theme background - don't set button hover states if dragging/scrolling - edge-draggable widgets must be flagged as such - Preferences top panel offset matches sibling panels' offset - allow toolbar to unhide when document is not scrollable
2021-05-14Mobile and iOS: Various fixes and cleanupJaakko Keränen
Several regressions occurred when the split view mode was implemented.
2021-05-12CleanupJaakko Keränen
Use the Return key symbol consistently, also in the Search Query indicator. The input dialog "Send" label now no longer needs the "⇒" icon.
2021-05-12InputWidget: Expanding while editingJaakko Keränen
The navbar layout cannot accommodate more than one line of text, but allow the editor to expand while writing text.
2021-05-11InputWidget: Word wrapping, inserting newlinesJaakko Keränen
2021-05-06Root: Indicator appearanceJaakko Keränen
2021-05-06Indicate pinning state in URL barJaakko Keränen
2021-05-03Window: Rearranged menu itemsJaakko Keränen
2021-05-03Added menu items for view splittingJaakko Keränen
2021-05-03Lang: Added new and missing stringsJaakko Keränen
IssueID #192
2021-05-02DocumentWidget: Update the right lock buttonJaakko Keränen
2021-05-02Window: Added split swapping; cleanupJaakko Keränen
2021-05-02LabelWidget: Option to disable min heightJaakko Keränen
Sizing of the embedded indicators in the URL bar requires smaller than default minimum height.
2021-04-30Windows: Fixed custom frame in split modesJaakko Keränen
Hide duplicated window controls.
2021-04-30InputWidget: Highlight only in focused rootJaakko Keränen
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-27Keeping track of current UI rootJaakko Keränen
The current UI root should always be set explicitly before the UI is accessed.
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-27Refactor: Separating UI creation and root widget from WindowJaakko Keränen
Making the way for multiple roots/windows.