summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
AgeCommit message (Collapse)Author
2020-11-16Keybinding for opening links via keyboardJaakko Keränen
This is part one. Still need to change the link numbering/lettering method. IssueID #34
2020-11-16Remember redirected URLs as visitedJaakko Keränen
"visited.txt" will now remember URLs that were redirects, but those are not shown in the UI as part of the history. This fixes the issue where redirected URLs were not being shown as visited links in the UI. Beware if downgrading Lagrange: URLs in the history will get prefixed with "0000 ". Might be a good idea to switch to a forwards compatible format like JSON for these files.
2020-11-14Navigating to parent directory or site rootJaakko Keränen
Added keyboard shortcuts for navigating up to the parent directory and to the site root. Clicking the top banner also navigates to the site root. IssueID #29
2020-11-10macOS: Improved scrolling using mouse wheelJaakko Keränen
This required further SDL hacking. The macOS SDL .diff was updated. IssueID #26
2020-11-08DocumentWidget: Context menu for Gopher linksJaakko Keränen
No need for a "default browser" any more.
2020-11-08Manually trusting a server certificateJaakko Keränen
2020-11-07GmRequest: Working on Gopher requestsJaakko Keränen
Todo: Move this code to a separate file.
2020-11-07GmRequest: Removed timeoutsJaakko Keränen
No automatic timeouts to facilitate long connections. The server can indicate closing of the connection via TLS or by closing the socket.
2020-11-07DocumentWidget: Set document formatJaakko Keränen
This was previously overlooked so everything was shown as text/gemini.
2020-11-06Automatic redirects to the same schemeJaakko Keränen
IssueID #16
2020-11-06Added an option to disable smooth scrollingJaakko Keränen
IssueID #27
2020-11-06Link context menu item to bypass proxyJaakko Keränen
IssueID #25
2020-11-03DocumentWidget: Fixed potential crashJaakko Keränen
Must clear all previous references to GmRuns when the document is updated.
2020-11-03Merge branch 'dev' of github.com:skyjake/lagrange into devJaakko Keränen
2020-11-03DocumentWidget: Keyboard navigation keys on MacJaakko Keränen
Some default key shortcuts use Option on macOS, so avoid those for keyboard navigation.
2020-11-03Cleanup: Breaking up documentwidget.cJaakko Keränen
There's a lot of stuff in documentwidget.c. First, moving away the smaller helper code.
2020-11-03DocumentWidget: Adapt new tab behaviour to keyboard browsingWaweic
2020-11-03DocumentWidget: Opening links in foreground/backgroundJaakko Keränen
IssueID #20
2020-10-30CleanupJaakko Keränen
2020-10-30Added a key binding mechanismJaakko Keränen
The document scrolling keys are now handled via bindings.
2020-10-29DocumentWidget: Clear buffered icon/headingJaakko Keränen
2020-10-29SidebarWidget: Improving blank Identities tabJaakko Keränen
If there are no identities, the Identities tab now shows a button for creating one, and a link to the Help documentation.
2020-10-28DocumentWidget: Current heading on the sideJaakko Keränen
Redraw the side icon and heading when the current top heading changes.
2020-10-28DocumentWidget: Working on buffering the side iconJaakko 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-27Added a network/TLS error pageJaakko Keränen
There is now an error page shown when the TLS request fails for some reason. Error page theming is also updated at the time when the error page is composed.
2020-10-24Adjusted smooth scroll speed when using mouse wheelJaakko Keränen
2020-10-24DocumentWidget: Page load progress indicatorJaakko Keränen
Show clearly that something is happening, even though we don't know the exact duration of the operation.
2020-10-23CleanupJaakko Keränen
2020-10-23Improved smooth scrollingJaakko Keränen
Use proper easing curves for a smoother animation. Ensure that mouse hover on links is disabled when scrolling.
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-21DocumentWidget: Fixed content buffering glitchJaakko Keränen
When jumping to the end or the beginning of the document, reset the VisBuf completely so it will be fully redrawn.
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-20Added timestamps to serialized responsesJaakko Keränen
A new version of the binary serialization format that includes timestamps for GmResponse.
2020-10-18CleanupJaakko Keränen
Consistent naming.
2020-10-18DocumentWidget: Improved audio player UI refreshJaakko Keränen
There is no need to prioritize animation smoothness when it comes to audio players. Just post timer events at a relaxed 15 Hz when active players are visible. Fixes an issue on macOS (and possibly other platforms) where moving the window was very glitchy if a player was active.
2020-10-16Player: Hide volume slider after 3 sec idle timeJaakko Keränen
2020-10-16Open link in new tab with middle mouse buttonJaakko Keränen
IssueID #8
2020-10-14Use libmpg123 to decode MPEG audioJaakko Keränen
mpg123 is configured as an optional dependency. Works for full files currently.
2020-10-14Player: Volume adjustment UIJaakko Keränen
2020-10-14CleanupJaakko Keränen
2020-10-11Media: Pause other players when a new one startsJaakko Keränen
2020-10-11Fixed saving a page that was restored from cacheJaakko Keränen
2020-10-11Fixed saving a page with a tilde in the filenameJaakko Keränen
The tilde was assumed to be a home directory name, and therefore the name was considered to be an absolute path in itself.
2020-10-10DocumentWidget: Fixed stopping a streaming playerJaakko Keränen
A partially received media request will be cancelled and deleted if the inline viewer is closed.
2020-10-10Player: Wider Play/Pause buttonJaakko Keränen
2020-10-09DocumentWidget: Animate players after tab changeJaakko Keränen
2020-10-09Support Ogg Vorbis audioJaakko Keränen
Playback starts as soon as possible, so one can listen while streaming. stb_vorbis.c needed a tiny tweak to not die on a file without (Ogg? Vorbis?) comments.
2020-10-09Fixed memory leak on tab closeJaakko Keränen
The DocumentWidget was not actually deleted when a tab was closed, only hidden.