summaryrefslogtreecommitdiff
path: root/src/gmdocument.h
AgeCommit message (Collapse)Author
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-03-29Improving alt text animation; cleaned up key shortcut labelsJaakko Keränen
Remove extra Plus signs from key shortcuts.
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-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-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-09GmDocument: Light mode Gray document themeJaakko Keränen
The Gray theme now has a light and dark variant.
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-02-24GmDocument: Media type flexibilityJaakko Keränen
Allow defining new inline media types.
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-02Show a banner warning about certificate issuesJaakko Keränen
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-21DocumentWidget: Marking link icons as search matchesJaakko 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-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-18Added more document color themesJaakko Keränen
The dark and light themes are now configurable in Preferences.
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-25Document side elements; hover outlineJaakko 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-21Added Prefs; placeholders for new optionsJaakko 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-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-08-22CleanupJaakko Keränen
2020-08-22Added BSD 2-clause license and copyright noticesJaakko Keränen
2020-08-13Toggle sidebar visibility; save width and modeJaakko Keränen
2020-08-11Document outline; jumping to clicked headingJaakko Keränen
2020-08-10DocumentWidget: Check the MIME charset parameterJaakko Keränen
2020-08-06DocumentWidget: Adjusted document bordersJaakko Keränen
2020-08-05Color palette themingJaakko Keränen
2020-08-05Setting up document themingJaakko Keränen
2020-08-04Added a large light font for the site bannerJaakko Keränen
2020-08-03Server certificate TOFUJaakko Keränen
2020-08-01More robust URL processingJaakko Keränen
Fixed a number of special cases revealed by the client torture test.
2020-07-30History of visited URLs; visualize time of last link visitJaakko Keränen
2020-07-29Moved History to its own typeJaakko Keränen
2020-07-29DocumentWidget: Improved link presentationJaakko Keränen
2020-07-29Showing and hiding image contentJaakko Keränen
2020-07-28Loading and rendering images in the documentJaakko Keränen
There can be multiple inline media requests on the page. Images are always associated with a link.
2020-07-28Detect known image/audio file extensionsJaakko Keränen
2020-07-28DocumentWidget: Don't repeat the hostname if visibleJaakko Keränen
2020-07-28Plaintext documents; unsupported MIME type errorJaakko Keränen
2020-07-27Visualizing linksJaakko Keränen
Show which links are to the same site, and which are HTTP/S, Gopher, or files.
2020-07-27DocumentWidget: Marking a selection with the mouseJaakko Keränen