summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-08Gopher improvementsJaakko Keränen
Asking for query text with item type 7. Enhanced ASCII art detection.
2020-11-07Added support for GopherJaakko Keränen
Needs more testing. Queries are not supported yet.
2020-11-07GmRequest: Working on Gopher requestsJaakko Keränen
Todo: Move this code to a separate file.
2020-11-07GmRequest: Mechanism for Gopher requestsJaakko Keränen
2020-11-07CleanupJaakko Keränen
2020-11-07GmRequest: CleanupJaakko Keränen
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-07Treat Gopher as an unsupported protocolJaakko Keränen
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-06Bypassing proxy on URL open with "noproxy"Jaakko Keränen
IssueID #25
2020-11-06Link context menu item to bypass proxyJaakko Keränen
IssueID #25
2020-11-05Full 8-bit ANSI palette for foreground colorsJaakko Keränen
2020-11-05Keybindings for Back/Forward navigationJaakko Keränen
2020-11-05CleanupJaakko Keränen
2020-11-04App: Save bookmarks after changesJaakko Keränen
IssueID #24
2020-11-04SidebarWidget: Document size while resizingJaakko Keränen
Ensure that the document size gets updated at least when the sidebar resize finishes. During the resize the updates are limited because document layout is done in the UI thread presently; it would get choppy with long documents.
2020-11-04CleanupJaakko Keränen
Consistent code style.
2020-11-04ui: Fix line wrapping of emoticonsAlyssa Rosenzweig
While we do want to have special handling of punctuation to help wrap pathologically-long-hyphenated-words-that-go-on-for-kilometers, we don't want to wrap emoticons, so let's adjust the logic to account for this. While we're at it, clean up and add a comment explaining the logic for the benefit of future readers. Fixes rendering of a recent post on CAPCOM at certain window sizes => gemini://rosenzweig.io/lagrange/Before.png Before the change => gemini://rosenzweig.io/lagrange/After.png After the change Notice the wrapping of the ":D" in the second paragraph. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
2020-11-04Windows: Improvements to file URL/path handlingJaakko Keränen
IssueID #23
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