Age | Commit message (Collapse) | Author |
|
|
|
Solderpunk's November 2021 update to the specification included a recommendation to normalize empty paths to /.
IssueID #455
|
|
IssueID #456
|
|
|
|
LinkInfo will truncate extremely long URLs, and when viewing a single image, data URLs don't have a title.
|
|
Since we're listening to scroll events directly, should handle the regular mouse, too.
|
|
|
|
|
|
Borrowed Emoji glyphs are laid out double-wide in monospace runs, because they most likely are wider than the monospace advance.
|
|
Do the mouse hover scrolling faster for long popups.
|
|
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.
|
|
Ensure that painting is always clipped to the root rectangle.
|
|
|
|
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.
|
|
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.
|
|
|
|
The U+2Bnn symbols are accepted as link icons.
|
|
|
|
|
|
If a request was already completed when it was moved inline, the content wasn't marked as finished and did not appear.
|
|
We don't want to cover the whole view with the URL.
|
|
When tickers are being run there already will be a refresh following immediately. Adding a recurring ticker will also post a refresh.
|
|
|
|
After intersecting with the root rect the clipping rectangle can be empty.
|
|
|
|
For example, trying to scroll the Sparkle release notes was not possible because the main window would scroll instead.
|
|
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.
|
|
This old timer-based animation predates the ticker convention.
|
|
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.
|
|
|
|
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.
|
|
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.
|
|
The warnings are site-specific, and there's no site for "file://".
|
|
|
|
|
|
|
|
There tab buttons don't need a New Tab button if the navbar has it.
|
|
With Gopher, ensure that the item type changes to 1, and with Titan, change to normal Gemini.
|
|
|
|
|
|
|
|
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
|
|
|
|
Match the button height to the URL input field.
|
|
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.
|
|
index.gmi is typically identical to the directory itself, so don't go from `/index.gmi` to `/`, but skip directly to the parent directory.
|
|
|
|
Ensure the argument type matches the printf formatting.
|
|
As suggested in: gemini://ruario.flounder.online/gemlog/2022-01-19_Some_Gopher_improvements_for_Lagrange.gmi
|
|
This has been broken for a while...
|