summaryrefslogtreecommitdiff
path: root/src/app.c
AgeCommit message (Collapse)Author
2021-06-25Touch: Debugging helperJaakko Keränen
IssueID #298
2021-05-29Preferences: Added toggle for UI animationsJaakko 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-21Added -u,--url-or-search command line optionJaakko Keränen
Opening an URL or making a search query from the command line. IssueID #232
2021-05-21Behavior of opening URLs via command lineJaakko Keränen
Open all URLs/files specified on the command line in new tabs, and raise the window if the app is already running. IssueID #235
2021-05-21IPC: Request window raise when opening new tabs, navigatingJaakko Keränen
IssueID #234
2021-05-20App: CleanupJaakko Keränen
2021-05-20Identity creation user experienceJaakko Keränen
Revised the New Identity dialog to hide the additional fields by default. Added a new option to select where the new identity will be active (current domain/page/nowhere). When the new identity is automatically activated, reload the URL used for activation.
2021-05-18Mobile: Tablet tweaksJaakko Keränen
Heights of InputWidget vs. LabelWidget. The default sizes should be equal, e.g., so the navbar elements align properly. Don't set the input focus automatically when opening a dialog, since the keyboard may cover much of the UI.
2021-05-18App: Attempt to fix app restore issueJaakko Keränen
Cached content like font glyphs are (were?) not being restored when returning to foreground.
2021-05-18SidebarWidget: Don't animate at launchJaakko Keränen
2021-05-18App: Fixed init of UI palette on first runJaakko Keränen
IssueID #275
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-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-12Keep labels aligned with expanding inputsJaakko Keränen
A widget may copy its height from another widget.
2021-05-11InputWidget: Word wrapping, inserting newlinesJaakko Keränen
2021-05-07CleanupJaakko Keränen
2021-05-06Split view: Fixed theme and title updatesJaakko Keränen
Now every DocumentWidget is guaranteed a unique ID. The window title is updated when the keyroot chages.
2021-05-05Window: Pinning preference vs. new splitsJaakko Keränen
The pinning direction affects which side links are opened by default.
2021-05-04Split view pinning, "linksplit" special tagJaakko Keränen
A navigation aid: when in split mode, option to keep one of the tabs pinned to the current page so all links open to the side. Added "linksplit" bookmark tag to activate view splitting when opening a link on the page.
2021-05-04Highlight links opened in other tabsJaakko Keränen
The primary purpose is to aid navigation in split view, so one can see exactly which links have been opened.
2021-05-04App: Serialize sidebar state in state.lgrJaakko Keränen
The sidebars of each root are now serialized with the rest of the UI state so they have all the widget roots available.
2021-05-03App: Wait for `xdg-open` child processes to terminateJaakko Keränen
IssueID #260
2021-05-03App: Crash with --echo when shutting downJaakko Keränen
2021-05-03Lang: Added new and missing stringsJaakko Keränen
IssueID #192
2021-05-02Window: Added split swapping; cleanupJaakko Keränen
2021-05-02App: Save split mode; launch event cleanupJaakko Keränen
The serialized state version was bumped, so old states are incompatible and are ignored. There were redundant events posted during launch.
2021-04-30Windows: Fixed custom frame in split modesJaakko Keränen
Hide duplicated window controls.
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.
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-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-15Progressive document renderingJaakko Keränen
VisBuf now guarantees that all the buffers are sequentially ordered. This ensure complete utilization of all the buffers. Previously some buffers were not used at all, or allocated to the same origin as another one (!). DocumentWidget is able to progressively fill up a buffer while scrolling. After any change to the visible region has been detected (and there are no ongoing changes), prerender the remaining runs one at a time. This solves the issue where one text run would be always unnecessarily rendered while scrolling, even if the scroll distance was just one pixel.
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-10Allow using Tab key for bindingsJaakko Keränen
Tab was always consumed by focus cycling even though that should be at the lowest priority. IssueID #244
2021-04-10Mobile: Freeze UI draws when app hiddenJaakko Keränen
Maybe a workaround for the squished view issue?
2021-04-10Fixed opening drag-and-dropped Gopher linksJaakko Keränen
2021-04-09Haiku: fix default data dirNikolay Korotkiy