Age | Commit message (Collapse) | Author |
|
No need for a "default browser" any more.
|
|
|
|
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
|
|
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.
|
|
|
|
IssueID #20
|
|
Delete garbage collected widgets in Window deinitialization.
Widgets should not continue to exist if there is no Window.
|
|
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.
|
|
|
|
|
|
|
|
One can now bind keys in Preferences. The configured keys aren't yet saved, though.
|
|
|
|
|
|
If the key bindings have a key for a command, LabelWidget will use it.
|
|
|
|
The document scrolling keys are now handled via bindings.
|
|
|
|
|
|
|
|
If there are no identities, the Identities tab now shows a button for creating one, and a link to the Help documentation.
|
|
|
|
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.
|
|
|