Age | Commit message (Collapse) | Author |
|
Asking for query text with item type 7. Enhanced ASCII art detection.
|
|
Needs more testing. Queries are not supported yet.
|
|
Todo: Move this code to a separate file.
|
|
|
|
|
|
|
|
No automatic timeouts to facilitate long connections.
The server can indicate closing of the connection via TLS or by closing the socket.
|
|
|
|
This was previously overlooked so everything was shown as text/gemini.
|
|
|
|
IssueID #16
|
|
|
|
IssueID #27
|
|
IssueID #25
|
|
IssueID #25
|
|
|
|
|
|
|
|
IssueID #24
|
|
More details about identities.
|
|
|
|
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.
|
|
Consistent code style.
|
|
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>
|
|
|
|
IssueID #23
|
|
|
|
|
|
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
|
|
Must clear all previous references to GmRuns when the document is updated.
|
|
|
|
Some default key shortcuts use Option on macOS, so avoid those for keyboard navigation.
|
|
There's a lot of stuff in documentwidget.c. First, moving away the smaller helper code.
|
|
DocumentWidget: Adapt new tab behaviour to keyboard browsing
|
|
|
|
IssueID #20
|
|
|
|
Delete garbage collected widgets in Window deinitialization.
Widgets should not continue to exist if there is no Window.
|
|
TlsRequest: LibreSSL compatibility.
|
|
|
|
As part of the CMake configuration, build bincat (23 lines of C) to concatenate resource files together. This is much faster because CMake doesn't have to get involved in the contents of the binary files.
|
|
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>
|
|
|
|
|
|
Testing on OpenBSD.
|
|
Should clear the garbage before quitting SDL because widgets may be
in the garbage and have SDL resources to release.
|
|
|
|
|
|
|
|
|