summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
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-29CleanupJaakko Keränen
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-27Window: Display DPI is only used to enlarge UI, never shrinkJaakko Keränen
2021-04-26Lang: Added Interlingua (ia)Jaakko Keränen
IssueID #192
2021-04-25GmRequest: Use unique IDs to avoid confusionJaakko Keränen
It is conceivable that a newly created GmRequest gets the same memory location than the one just destroyed. IssueID #148
2021-04-24Gempub cover page; cleanupJaakko Keränen
Use MIME hooks to generate a Gempub cover page with a preloaded cover image. This required applying MIME filtering to "file://" requests as well. Todo: More cleanup, add a gempub.c.
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-23CleanupJaakko Keränen
2021-04-23DocumentWidget: Crash after receiving a redirectJaakko Keränen
The `GmRequest` object is destroyed after handling a redirect, but afterwards a check was still made to cache the request contents. IssueID #148
2021-04-22Widget: Clicking outside a popup menuJaakko Keränen
The click is eaten to avoid accidentally clicking anything outside the menu.
2021-04-22Fixed dialog item formattingJaakko Keränen
Confused the `-` prefix and `---` as separator.
2021-04-22ListWidget: Use SmoothScrollJaakko Keränen
2021-04-22SmoothScroll is a UI utility; moved itJaakko Keränen
2021-04-22CleanupJaakko Keränen
2021-04-22DocumentWidget: SmoothScroll utilityJaakko Keränen
Added a `SmoothScroll` utility to make the smooth scroll and bounce behavior applicable elsewhere as well.
2021-04-21Mobile: Working on scroll bounce behaviorJaakko Keränen
2021-04-21Touch: Stopping momentum scrollJaakko Keränen
When a widget runs out of scrollable area, stop any momentum scrolls.
2021-04-21Mobile: Added Settings > AboutJaakko Keränen
2021-04-21Mobile: Autoreload intervals are missingJaakko Keränen
2021-04-21iOS: Background audio; MP3/AAC playbackJaakko Keränen
2021-04-21Window: "Use system theme" turned off inadvertentlyJaakko Keränen
2021-04-20iOS: Fixed momentum scroll timingJaakko Keränen
The scrolling stutters were being caused by timing and not slow text rendering. Now the momentum scroll is locked to display refresh rate.
2021-04-20CleanupJaakko Keränen
2021-04-20Touch: Resuming a drag scroll from momentumJaakko Keränen
Continue a scroll if there's still a momentum scroll ongoing instead of checking long-press.
2021-04-20iOS: Haptic tap at 100% pinch zoomJaakko Keränen
2021-04-20DocumentWidget: Pre-rendering finetuningJaakko Keränen
Ensure there is more buffered content available in the current scrolling direction, and also make sure that all buffers get pre-rendered after a short delay with the view being stationary.
2021-04-20Widget: Added a utility methodJaakko Keränen
2021-04-20Mobile: Fixed invalid touch positionsJaakko 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-17Window: CleanupJaakko Keränen
2021-04-17if LAGRANGE_OVERRIDE_DPI is set, use that as the DPICharles
If the setting is invalid (e.g. the variable is set to something which is not an integer), then a warning is printed to standard error, and the environment variable is ignored. If the environment variable is an empty string, it is also ignored.
2021-04-17DocumentWidget: Undefined behaviorJaakko Keränen
2021-04-16VisBuf: Only draw buffers that are within boundsJaakko Keränen
One of the four buffers will be always outside the viewport.
2021-04-16Back/Forward buttons vs. navigation positionJaakko Keränen
The Back and Forward arrow buttons are disabled if the navigation position is at the end/beginning of the history. IssueID #247
2021-04-15Window: Borderless "Updating Feeds" indicatorJaakko Keränen
2021-04-15DocumentWidget: Don't render background tabsJaakko Keränen