summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-02-08Fonts: Improved fallback glyph searchJaakko Keränen
The fontpack documentation says that when a glyph isn't found, all available fonts are checked in priority order. However, the implementation didn't actually do this. Now there is a separate priority mapping for loaded fonts so they can be quickly scanned for any missing glyphs in the right order. "iosevka-body" was prioritized higher because it provides a number of UI icons.
2022-02-08Paint: Fixed another clipping issueJaakko Keränen
Ensure that painting is always clipped to the root rectangle.
2022-02-08CleanupJaakko Keränen
2022-02-08macOS: Attempting workaround for Metal refresh issuesJaakko Keränen
For some reason, rendering to a separate render target instead of directly to the window helps with certain refresh glitches. More glitches still remain, though, perhaps related to not running window refresh at a constant rate but occasionally pausing to wait for input events.
2022-02-08DocumentWidget: Fixed continuous redraw issueJaakko Keränen
It was possible that the progressive rendering of runs repeatedly kept drawing the first run of the page (e.g., the top heading). It should still be investigated if a similar issue can occur in the other direction, when drawing downward. A run may exist on the bottom border of a buffer, too.
2022-02-08App: CleanupJaakko Keränen
2022-02-07GmDocument: Added more link iconsJaakko Keränen
The U+2Bnn symbols are accepted as link icons.
2022-02-07DocumentWidget: No link number for image captionJaakko Keränen
2022-02-07App: Draw frame during warmupJaakko Keränen
2022-02-07DocumentWidget: Fixed handling of quick inline media requestJaakko Keränen
If a request was already completed when it was moved inline, the content wasn't marked as finished and did not appear.
2022-02-07LinkInfo: Trim extremely long URLsJaakko Keränen
We don't want to cover the whole view with the URL.
2022-02-07App: Removed an unnecessary refreshJaakko Keränen
When tickers are being run there already will be a refresh following immediately. Adding a recurring ticker will also post a refresh.
2022-02-05SidebarWidget: Fixed animations in the 2nd splitJaakko Keränen
2022-02-05Paint: Fixed a Metal clipping issueJaakko Keränen
After intersecting with the root rect the clipping rectangle can be empty.
2022-02-05CleanupJaakko Keränen
2022-02-04macOS: Let other windows handle scroll eventsJaakko Keränen
For example, trying to scroll the Sparkle release notes was not possible because the main window would scroll instead.
2022-02-04App: Event processing tweakJaakko Keränen
Refresh events will never be dispatched (it would be pointless), but instead just set a flag that prevents SDL_WaitEvent() to be called. SDL_WaitEvent() should never be called anyway because `pendingRefresh` is set, but this makes it clearer and skips other unnecessary checks.
2022-02-04IndicatorWidget: Use the normal animation methodJaakko Keränen
This old timer-based animation predates the ticker convention.
2022-02-04macOS: Use Metal on >60 Hz displaysJaakko Keränen
The problem with the occasional stutters related to SDL_WaitEvent() are still there, but on a 120 Hz display it's even worse to be stuck on 60 Hz. Metal is required for 120 Hz.
2022-02-04Fixed issues with stripping ANSI escapesJaakko Keränen
2022-02-02Improved legibility of ANSI FG colorsJaakko Keränen
Brighten dark colors on a (nearly) black background. On light backgrounds, reduce the darkening as it was a bit too strong; more of the color is now shown.
2022-02-01Fixed ANSI color handling issuesJaakko Keränen
Added the missing BG escapes 100-107, and fixed how the FG is adjusted to keep text legible. Previously it was not considering the actual BG color being applied to a text run.
2022-02-01DocumentWidget: "file://" pages don't warn about ANSI colorsJaakko Keränen
The warnings are site-specific, and there's no site for "file://".
2022-01-30Release notes broken to smaller pagesJaakko Keränen
2022-01-30About page parent/root navigationJaakko Keränen
2022-01-30Text: Break words at backslashesJaakko Keränen
2022-01-29Don't have duplicate New Tab buttonsJaakko Keränen
There tab buttons don't need a New Tab button if the navbar has it.
2022-01-29Hierarchical navigation with Gopher and TitanJaakko Keränen
With Gopher, ensure that the item type changes to 1, and with Titan, change to normal Gemini.
2022-01-29Changed a couple of iconsJaakko Keränen
2022-01-28iOS: Scroll to top on status bar tapsJaakko Keränen
2022-01-28Touch: Debug loggingJaakko Keränen
2022-01-28GmDocument: Don't crash when a line turns out emptyJaakko Keränen
A line with nothing but ANSI escapes was not considered empty, but it didn't produce any text runs so the typesetter was confused. IssueID #443
2022-01-28CleanupJaakko Keränen
2022-01-28Mobile: Tablet navbar button heightJaakko Keränen
Match the button height to the URL input field.
2022-01-27Fixed wrong sidebar reacting to key eventsJaakko Keränen
The right-hand sidebar was handling the U and Shift+U events if it was set on Feeds tab, even though the sidebar wasn't visible.
2022-01-27DocumentWidget: Navigate to parent vs. index.gmiJaakko Keränen
index.gmi is typically identical to the directory itself, so don't go from `/index.gmi` to `/`, but skip directly to the parent directory.
2022-01-27DocumentWidget: Fixed crash while media players activeJaakko Keränen
2022-01-26Feeds: Potential fix for a crash on 32-bit Haiku OSJaakko Keränen
Ensure the argument type matches the printf formatting.
2022-01-24Gopher: Set item type to 1 when navigating to parentJaakko Keränen
As suggested in: gemini://ruario.flounder.online/gemlog/2022-01-19_Some_Gopher_improvements_for_Lagrange.gmi
2022-01-24DocumentWidget: Cancelling an input queryJaakko Keränen
This has been broken for a while...
2022-01-22Window: Don't trigger a draw during SDL_ShowWindowJaakko Keränen
IssueID #442
2022-01-22Fixed build issue on Haiku OSJaakko Keränen
Use the `_Static_assert` C11 keyword directly. IssueID #441
2022-01-21InputWidget: Fixed hang if widget is very narrrowJaakko Keränen
2022-01-20Android: External downloads; Back button handling; bumped versionJaakko Keränen
2022-01-20Merge branch 'dev' of skyjake.fi:gemini/lagrange into devJaakko Keränen
2022-01-20DocumentWidget: Fixed crash when downloading a large fileJaakko Keränen
2022-01-19Event processing workaround (2.0.18+)Jaakko Keränen
This is most likely not needed for older SDL versions. IssueID #436 IssueID #438
2022-01-17SidebarWidget: Fixed actions getting hidden on Feeds tabJaakko Keränen
2022-01-17macOS: Scroll glitch prevention (Monterey 12.1)Jaakko Keränen
2022-01-16Added menu string for customizing toolbarJaakko Keränen