summaryrefslogtreecommitdiff
path: root/src/gmdocument.c
AgeCommit message (Collapse)Author
2021-01-02GmDocument: New link icon for Finger linksJaakko Keränen
Added a new link flag to identify Finger links so they can use their own icon.
2021-01-02Add support for Finger protocolJaakko Keränen
A patch courtesy of John Cowan. IssueID #106
2020-12-19Opening unrecognized schemes in default browserJaakko Keränen
This works if the OS supports the scheme as built-in or via some handler application. IssueID #103 IssueID #84
2020-12-02Show a banner warning about certificate issuesJaakko Keränen
2020-12-01GmDocument: Spacing before/after linksJaakko Keränen
Respect the source whitespace, but leave half a line at minimum.
2020-11-30GmDocument: Special icon for query linksJaakko Keränen
2020-11-28Scrolling wide preformatted blocks horizontallyJaakko Keränen
Not entirely glitch-free but should be good enough for now. IssueID #44
2020-11-28Cleanup: Removed (hidden) preformatted wrap optionJaakko Keränen
2020-11-25Swapped Gopher link icon colorsJaakko Keränen
The less saturated one is better for visited links.
2020-11-24Fixed threading issues and data racesJaakko Keränen
The most serious problem was that GmRequest's response body was being accessed while the TlsRequest thread was modifying it. Now the response must always be locked before accessing elsewhere. There were also inefficient data updates in the media players.
2020-11-21Saving inline media content to DownloadsJaakko Keränen
2020-11-21DocumentWidget: Marking link icons as search matchesJaakko Keränen
2020-11-21Added option to load image instead of scrollingJaakko Keränen
One can now read through a page and load all inline images simply by repeatedly pressing Space or cursor down. Key repeat events do not trigger image loads.
2020-11-15Added a preference for monospace body textJaakko Keränen
Monospace body font can be set separately for Gemini and Gopher.
2020-11-07Treat Gopher as an unsupported protocolJaakko Keränen
2020-10-28Reporting TLS/SSL errorsJaakko Keränen
A proper error page is now shown if there is an error during the TLS request.
2020-10-21Improved hover outline appearanceJaakko Keränen
Theme-specific color selection, and a dividing line for the current position.
2020-10-21Added theme colors for the hover outlineJaakko Keränen
Still need to choose them based on the current theme.
2020-10-21GmDocument: Lighter paragraph text in Gray themeJaakko Keränen
2020-10-20Added quote indicator preferenceJaakko Keränen
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.
2020-10-20GmDocument: Color theme adjustmentsJaakko Keränen
Colorful Light is generally a lot lighter now.
2020-10-19GmDocument: Slightly tighter spacing between list itemsJaakko Keränen
Works better with short bullet lines, but still readable with wrapped ones, too.
2020-10-19GmDocument: Colorful Light should be less saturatedJaakko Keränen
Easier on the eyes.
2020-10-18Added the "Colorful Light" document themeJaakko Keränen
2020-10-18Added more document color themesJaakko Keränen
The dark and light themes are now configurable in Preferences.
2020-10-16Fixed: Color saturation for default theme colorsJaakko Keränen
The color saturation user preference was not being applied to the default color palette.
2020-10-12Normalizing long spaces to a tab stopJaakko Keränen
Experimenting with terminal friendly space normalization where sometimes multiple spaces are used to align content horizontally (with a fixed-width font). When encountering 8 or more consecutive spaces, they are all replaced with a single tab character. Gemtext allows clients to normalize whitespace as they see fit.
2020-10-11Added two serif fonts; minor color tweaksJaakko Keränen
Added the EB Garamond and Literata fonts as serif font choices.
2020-10-07Drawing an audio player UIJaakko Keränen
2020-10-04Working on audio playbackJaakko Keränen
Audio players are displayed the same way as images. When playing, a decoder runs in a background thread producing samples suitable for output.
2020-10-01Refactor: Separate media from GmDocumentJaakko Keränen
2020-09-29GmDocument: List bullets use a different colorJaakko Keränen
More distinctive.
2020-09-28CleanupJaakko Keränen
2020-09-28GmDocument: Tweaks in the dark color themeJaakko Keränen
2020-09-22DocumentWidget: Drawing side elementsJaakko Keränen
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.
2020-09-21Document theme color saturation preferenceJaakko Keränen
2020-09-21Added Prefs; placeholders for new optionsJaakko Keränen
2020-09-20Improved text selection starting on empty spaceJaakko Keränen
IssueID #4
2020-09-20Text: Japanese font sized for UI textJaakko Keränen
This font is needed for example for tab titles where there are japanese glyphs.
2020-09-20Opening links in a new background tabJaakko Keränen
2020-09-18GmDocument: Added an icon for quote blocksJaakko Keränen
2020-09-17Recognize and visualize "mailto:" linksJaakko Keränen
"mailto:" links now have their own icon and when clicked they open the URL in the default web browser. IssueID #5
2020-09-17DocumentWidget: Permanent imagesJaakko Keränen
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.
2020-09-15GmDocument: Recognize "about:" linksJaakko Keränen
2020-09-15GmDocument: Possible use of uninitialized valueJaakko Keränen
It was possible that the previous line type was unset under certain circumstances.
2020-09-12GmDocument: Bolder arrow for linksJaakko Keränen
2020-09-05Option to force break very long linesJaakko Keränen
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.
2020-09-04GmDocument: Wider font needs smaller indentsJaakko Keränen
2020-09-03GmDocument: Light theme cleanupJaakko Keränen
2020-09-03Changed default font to NunitoJaakko Keränen
Nunito is licensed under OFL.