summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-26URL encoding in paths (equals sign)Jaakko Keränen
An equals sign has no special meaning in the path part of an URL, so encoding it always is unnecessary. Fixes apparent URL decoding issue on gemini://gemif.fedi.farm/ .
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-25iOS: Fixed audio issuesJaakko Keränen
Fighting with ARC, and increased the audio sample buffer size to reduce wakeups.
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-20GmDocument: Adjusting narrow margin collapseJaakko Keränen
2021-04-20GmDocument: Collapse margins in narrow layoutJaakko Keränen
2021-04-18Player: Fixed audio media type checkJaakko Keränen
IssueID #249
2021-04-18Dealing with a missing host nameJaakko 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-17Composing an URL with an IPv6 hostJaakko Keränen
The brackets that were removed must be put back if needed.
2021-04-17Parsing an IPv6 URLJaakko Keränen
The brackets are part of the URL notation and should not be considered part of the IPv6 address itself.
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