summaryrefslogtreecommitdiff
path: root/src/gmdocument.c
AgeCommit message (Collapse)Author
2021-04-15DocumentWidget: Don't render background tabsJaakko Keränen
2021-04-15Progressive document renderingJaakko Keränen
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.
2021-04-10GmDocument: Very narrow layoutJaakko Keränen
The right margin is collapsed if the layout is very narrow, for example a zoomed phone.
2021-04-07GmDocument: Trimming link labels with custom EmojiJaakko Keränen
Variation selectors should be skipped as well.
2021-04-05Added option to disable bold linksJaakko Keränen
IssueID #233
2021-04-04GmDocument: Broken bullet in LiterataJaakko Keränen
2021-04-04GmDocument: Fixed list item overdrawJaakko Keränen
Bullet icon backgrounds were overlapping the bullet text, causing them to be overdrawn.
2021-04-03GmDocument: Normalizing plain textJaakko Keränen
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.
2021-03-30GmDocument: Font size for preformattedJaakko Keränen
Indents are disabled in the beginning.
2021-03-29Preferences: Collapse preformatted blocks on page loadJaakko Keränen
IssueID #180
2021-03-29Improving alt text animation; cleaned up key shortcut labelsJaakko Keränen
Remove extra Plus signs from key shortcuts.
2021-03-29GmDocument: Fixed plain text layoutJaakko Keränen
2021-03-28Folding preformatted blocks and showing alt textJaakko Keränen
The alt text of preformatted blocks is shown on mouse hover. The blocks can be clicked to toggle folding. IssueID #180
2021-03-27DocumentWidget: Advanced text selectionJaakko Keränen
Double click to select by word, triple click by paragraph. IssueID #134
2021-03-27GmDocument: Finding position in sourceJaakko Keränen
The returned position at a source location is now a range, pointing to the left and right edges of the contacted character.
2021-03-24Fixed regression in conman.org client torture test 21Jaakko Keränen
Couple of problems: - "data:" links were not flagged as supported - "data:" links are not supposed to further decoded or encoded since they are processed internally in the client IssueID #217
2021-03-21GmDocument: Default banner colors of Light GrayJaakko Keränen
2021-03-20GmDocument: Gray/Black link color tuningJaakko Keränen
2021-03-19GmDocument: List bullet finetuningJaakko Keränen
Slightly more to the left, centered.
2021-03-18GmDocument: Trying out a footerJaakko Keränen
Currently disabled.
2021-03-16Translation: More reliable markup preservationJaakko Keränen
2021-03-12DocumentWidget: Bookmarking a wrapped linkJaakko Keränen
Only the clicked part of the label text was used for the bookmark.
2021-03-11Added option to word wrap plain text filesJaakko Keränen
On by default because there is no horizontal scrolling for plain text files.
2021-03-10GmDocument: Links use a bold, tinted fontJaakko Keränen
Links are important enough to stand out clearly. A bold font can be tinted with the primary theme color without losing readability.
2021-03-10GmDocument: Colorful Light bannerJaakko Keränen
Lighter or darker depending on the UI theme.
2021-03-10GmDocument: Further link spacing tuningJaakko Keränen
2021-03-09GmDocument: Adjusted link list spacingJaakko Keränen
Blank lines in link lists need a bit of extra space.
2021-03-09Fixed buildJaakko Keränen
2021-03-09GmDocument: Light mode Gray document themeJaakko Keränen
The Gray theme now has a light and dark variant.
2021-03-08Improved custom link icons; link list spacingJaakko Keränen
Link lists and bullet lists are spaced the same way.
2021-03-08Local Gemini links can use Emoji/symbol from label textJaakko Keränen
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.
2021-03-08Gemtext markup was visible with Monospace BodyJaakko Keränen
2021-03-07GmDocument: Adjusted consecutive link spacingJaakko Keränen
It makes link lists more readable to have a bit more space in between, especially if the links get wrapped.
2021-03-06GmDocument: Narrow layout; indentationJaakko Keränen
Adjusted indentation for narrow (phone) layout.
2021-03-03GmDocument: Tuning Colorful DarkJaakko Keränen
Link text and paragraph text shouldn't be too close to each other.
2021-03-03GmDocument: Tuning Colorful DarkJaakko Keränen
Some background colors (pink, green) were too saturated and out of place.
2021-03-02GmDocument: Monospace body isn't normalizedJaakko Keränen
2021-02-26GmDocument: Adjusted theme heading colorsJaakko Keränen
2021-02-26DocumentWidget: Inline downloadsJaakko Keränen
2021-02-26GmDocument: Palette tuningJaakko Keränen
The greenish-yellow was a bit off-putting.
2021-02-25Consolidating media handlingJaakko Keränen
2021-02-24GmDocument: Media type flexibilityJaakko Keränen
Allow defining new inline media types.
2021-02-24DocumentWidget: Expand/shrink page marginJaakko Keränen
Based on the width of the document, make the horizontal margins larger or smaller.
2021-02-24GmDocument: Balance horizontal spaceJaakko Keränen
Right margin should match the indented left margin.
2021-02-24GmDocument: Adjusted link marginsJaakko Keränen
Making it even more clearer if a link is not separated by an empty line from the preceding line.
2021-02-23GmDocument: Avoid a strange violet-on-green color pairingJaakko Keränen
2021-02-23Improved handling of bookmark iconsJaakko Keränen
The effect of a bookmark icon is restricted to URLs that begin with the bookmarked URL. TODO: Bookmark icon of an URL should affect the whole domain, but this should take into consideration user subdirectories ("~name" or "/users/name"). IssueID #140
2021-02-23Editing bookmark iconsJaakko Keränen
IssueID #140
2021-02-21Minor tweaksJaakko Keränen
2021-01-04GmDocument: Quote border line on empty quote linesJaakko Keränen
IssueID #108