summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-11-18Handling an URL that begins with a tildeJaakko Keränen
IssueID #40
2020-11-18Handling an URL that contains nothing by a queryJaakko Keränen
IssueID #40
2020-11-18URL parsing improvementsJaakko Keränen
Now it uses a single regular expression to parse all (non "file:") URLs. IssueID #40
2020-11-17Window: Added notifications for window focus gain/lossJaakko Keränen
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-16Closing the sidebar with EscapeJaakko Keränen
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-15CleanupJaakko Keränen
2020-11-15Added a preference for monospace body textJaakko Keränen
Monospace body font can be set separately for Gemini and Gopher.
2020-11-14Added keybindings for parent/root navigationJaakko Keränen
2020-11-14macOS: Disable menu shortcuts while binding keysJaakko Keränen
2020-11-14macOS: Font tweak for ⌘ and ⇧ charactersJaakko Keränen
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-14Recognize "gopher:" in command line argumentsJaakko Keränen
IssueID #36
2020-11-14Fixed copying the URL input field contentsJaakko Keränen
2020-11-14macOS: Workaround for menu shortcut keysJaakko Keränen
Avoid double-triggering actions because SDL doesn't eat the keydown events — it ignores key equivalents.
2020-11-11Fixed: Empty lines in the visited URLs fileJaakko Keränen
2020-11-11Fixed: Mishandled format stringJaakko Keränen
IssueID #31
2020-11-11Window: Create hidden to avoid shuffling position during launchJaakko Keränen
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-08UI tweakJaakko Keränen
2020-11-08Revised identity creation dialogJaakko Keränen
Make it clear what "temporary" means, and put all the mandatory fields at the top.
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.