summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-11-03GmResponse: Fixed parsing of the responseJaakko Keränen
In some cases an empty <META> in the server response would cause GmResponse to treat the entire header as invalid. Also, TlsRequest was not handling closing of the TLS/SSL connection if the socket still remained open. This caused GmRequest to wait until the timeout before it realized the full response had been received. IssueID #22
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-11-02Fixed potential crash at app shutdownJaakko Keranen
Delete garbage collected widgets in Window deinitialization. Widgets should not continue to exist if there is no Window.
2020-11-02Fix opening of mailto: linksAlyssa Rosenzweig
This code path is used for opening both http/s and mailto links. On macOS, open is used generically handling both nicely. On Linux, x-www-browser was used for both, meaning it would attempt to open mailto links with the browser. This -does- work but is clunky. On my system, my defaults are Firefox for web and mutt for email, so if I clicked a mailto, Firefox would open (slow!) just to go out of focus as it opens mutt. Let's just mirror the macOS behaviour and use xdg-open for both kinds of links. Then the browser will be used for http/s and the mail client for mailto and everyone's happy. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
2020-11-01App: Compiling on "Other" platformsJaakko Keranen
Testing on OpenBSD.
2020-11-01Fixed app cleanup at shutdownJaakko Keranen
Should clear the garbage before quitting SDL because widgets may be in the garbage and have SDL resources to release.
2020-10-31Updated HelpJaakko Keränen
2020-10-31Saving and loading key bindingsJaakko Keränen
2020-10-31CleanupJaakko Keränen
2020-10-31Preferences: Basic key bindings UIJaakko Keränen
One can now bind keys in Preferences. The configured keys aren't yet saved, though.
2020-10-31Preferences: Changed apperance of tabsJaakko Keränen
2020-10-31Window: Dismiss sidebar with EscapeJaakko Keränen
2020-10-30Updating LabelWidget command keyJaakko Keränen
If the key bindings have a key for a command, LabelWidget will use it.
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-30SidebarWidget: Adjusted layoutJaakko Keränen
2020-10-29CleanupJaakko Keränen
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-29Added a large UI fontJaakko Keränen
2020-10-29LabelWidget: Flag for wrapping textJaakko Keränen
Widgets now have an optional virtual method that gets called when the size of the widget changes during arranging. Wrapped text in LabelWidget uses this to update its height.
2020-10-29CleanupJaakko Keränen
2020-10-29TextBuf: Fixed garbage in the backgroundJaakko Keränen
2020-10-28Fixed: Blend TextBuf only once when drawingJaakko Keränen
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-28InputWidget: Buffer contents of unfocused input fieldsJaakko Keränen
No need to redraw the text string on every frame.
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-27Update history after response receivedJaakko Keränen
IssueID #13
2020-10-25Window: Workaround for a key handling issueJaakko Keränen
Likely a rare situation, but this workaround should be relatively safe -- ignore keydown events if they occur less than 10 milliseconds after the window has received input focus. IssueID #10
2020-10-25Window: Ensure window is redrawn after expose eventsJaakko Keränen
A window expose event should be treated as a refresh trigger. IssueID #11
2020-10-25Window: Ensure window is redrawn after expose eventJaakko Keränen
2020-10-25Added missing copyright/license noticeJaakko Keränen
2020-10-24Updated Help: color themesJaakko Keränen
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-22CleanupJaakko Keränen
2020-10-22Added "Nanum Gothic" as a Korean fontJaakko Keränen
This overrides Kosugi Maru as it looks a bit nicer, in case there are glyphs available in both.
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-21GmDocument: Lighter paragraph text in Gray themeJaakko Keränen