Age | Commit message (Collapse) | Author |
|
The built-in fonts are loaded via FontPack, and the font table is now constructed dynamically based on available fonts.
A full set of variants (style, size) are prepared for each font, but some of the data gets allocated lazily when needed.
GmRun needed a larger allocation for fonts, so now all the fields are combined into a single bit field.
TODO: Glyph scaling, vertical offsets, and symbol lookup are still not fully working.
|
|
Contents of the Preferences split panel view are created based on arrays of MenuItems. This removes the confusing indirection of trying to modify the desktop widget tree to fit mobile.
|
|
|
|
A better way to keep track of the scheme used in a link.
|
|
The base text direction of each line of text is determined when the document is laid out. When drawing runs, use this predetermined base direction.
|
|
When an URL is visited, ensure that links to that URL update their visual state.
|
|
|
|
When a page is opened from the sidebar, swiping back will now reopen the sidebar. Another swipe will dismiss the sidebar and navigate back as usual.
Attempted to cache theme colors in GmDocument, but there were issues with theme changes.
|
|
# Conflicts:
# src/gmdocument.c
# src/ui/documentwidget.c
# src/ui/inputwidget.h
|
|
|
|
|
|
Navigation history keeps final GmDocuments in memory for quicker restore when navigating; no need to redo layout.
Changed the color escape to Vertical Tab so Carriage Returns can be left in the source, reducing need to normalize spaces.
|
|
The primary purpose is to aid navigation in split view, so one can see exactly which links have been opened.
|
|
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.
|
|
Remove extra Plus signs from key shortcuts.
|
|
The alt text of preformatted blocks is shown on mouse hover.
The blocks can be clicked to toggle folding.
IssueID #180
|
|
The returned position at a source location is now a range, pointing to the left and right edges of the contacted character.
|
|
Currently disabled.
|
|
|
|
Only the clicked part of the label text was used for the bookmark.
|
|
The Gray theme now has a light and dark variant.
|
|
Instead of the default link icon, if a label starts with an Emoji or
symbol, use that as the icon. This only works with local Gemini links so
important information about link destination is not hidden.
|
|
Allow defining new inline media types.
|
|
Added a new link flag to identify Finger links so they can use their own icon.
|
|
A patch courtesy of John Cowan.
IssueID #106
|
|
|
|
|
|
Not entirely glitch-free but should be good enough for now.
IssueID #44
|
|
|
|
|
|
A proper error page is now shown if there is an error during the TLS request.
|
|
Also, added a command that gets posted when the mouse exits or enters the window area. This lets the hover outline to be updated accordingly.
|
|
The dark and light themes are now configurable in Preferences.
|
|
Audio players are displayed the same way as images. When playing, a decoder runs in a background thread producing samples suitable for output.
|
|
|
|
|
|
The banner appears on the left, if there is room in the margin. Also added a document timestamp in the bottom to see when the data was received.
|
|
|
|
"mailto:" links now have their own icon and when clicked they open the URL in the default web browser.
IssueID #5
|
|
A dynamically generated page showing nothing but an image should not be treated the same way as an inline image. I.e., disallow hiding the image on an image page.
|
|
|
|
Even preformatted lines may need to be wrapped so the content remains visible, since there is no horizontal scrolling. However, this is off by default so ASCII art isn't broken in narrow windows.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|