Age | Commit message (Collapse) | Author |
|
The goal is to switch to `WrapText` so the entire paragraph can be processed in one go without having to re-initialize the HarfBuzz buffers after every wrap.
|
|
IssueID #229
|
|
|
|
The distinction between measure_Text and advance_Text was not very clear. Now there are only measure_Text functions that return both the bounds and the cursor position advancement, and the appropriate metrics are used by the caller.
|
|
|
|
|
|
|
|
Internally, all URIs should be converted to a canonical form so that they can be compared against each other.
The canonical form is an IRI with spaces and reserved characters percent-encoded.
|
|
# Conflicts:
# CMakeLists.txt
|
|
Set a formatting flag on opened links.
|
|
IssueID #300
|
|
# Conflicts:
# src/gmdocument.c
|
|
|
|
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
|
|
The text renderer has problems with composites so normalizing the text (using Unicode normalization form C) yields better results for now.
|
|
|
|
Keep it separated from the label text.
|
|
|
|
|
|
# Conflicts:
# src/ui/documentwidget.c
# src/ui/inputwidget.c
|
|
|
|
|
|
|
|
The navbar layout cannot accommodate more than one line of text, but allow the editor to expand while writing text.
|
|
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.
|
|
Monospace links should remain monospace regardless of visited state.
IssueID #274
|
|
When opening a Gempub, split the window and show the index page and the first chapter.
|
|
Use the bold weight only for new/unvisited links.
|
|
The primary purpose is to aid navigation in split view, so one can see exactly which links have been opened.
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
The right margin is collapsed if the layout is very narrow, for example a zoomed phone.
|
|
Variation selectors should be skipped as well.
|
|
IssueID #233
|
|
|
|
Bullet icon backgrounds were overlapping the bullet text, causing them to be overdrawn.
|
|
Plain text should always go through normalization so tabs are replaced with a known number of spaces. The text renderer uses \t for column alignment.
|
|
Indents are disabled in the beginning.
|
|
IssueID #180
|
|
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
|
|
Double click to select by word, triple click by paragraph.
IssueID #134
|
|
The returned position at a source location is now a range, pointing to the left and right edges of the contacted character.
|