summaryrefslogtreecommitdiff
path: root/src/gmrequest.c
AgeCommit message (Collapse)Author
2020-11-26Added "about:blank"Jaakko Keränen
IssueID #61
2020-11-26Feeds: Added "about:feeds"Jaakko Keränen
Show all entries in a CAPCOM-like chronological list.
2020-11-25DocumentWidget: Crash after redirectsJaakko Keränen
2020-11-25GmRequest: Fixed lack of update notificationsJaakko Keränen
2020-11-24Fixed threading issues and data racesJaakko Keränen
The most serious problem was that GmRequest's response body was being accessed while the TlsRequest thread was modifying it. Now the response must always be locked before accessing elsewhere. There were also inefficient data updates in the media players.
2020-11-23GmRequest: Consider a failed request as finishedJaakko Keränen
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-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-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-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-20Added timestamps to serialized responsesJaakko Keränen
A new version of the binary serialization format that includes timestamps for GmResponse.
2020-10-14Use libmpg123 to decode MPEG audioJaakko Keränen
mpg123 is configured as an optional dependency. Works for full files currently.
2020-10-09Support Ogg Vorbis audioJaakko Keränen
Playback starts as soon as possible, so one can listen while streaming. stb_vorbis.c needed a tiny tweak to not die on a file without (Ogg? Vorbis?) comments.
2020-10-04Working on audio playbackJaakko Keränen
Audio players are displayed the same way as images. When playing, a decoder runs in a background thread producing samples suitable for output.
2020-09-22DocumentWidget: Drawing side elementsJaakko Keränen
The banner appears on the left, if there is room in the margin. Also added a document timestamp in the bottom to see when the data was received.
2020-09-17Download progress indicator for large downloadsJaakko Keränen
2020-09-15GmDocument: Recognize "about:" linksJaakko Keränen
2020-09-11macOS: Handling launch URLs and drop'n'dropJaakko Keränen
Improved drop and drop event handling: multiple dropped files/URLs open in new tabs. The application registers gemini: as a handled URL scheme.
2020-09-01Proxy improvementsJaakko Keränen
Verify domain name against the request and now against the original URL. HTTP proxy overrides the default handling of HTTP URLs.
2020-09-01Scheme-specific proxies for Gopher and HTTPJaakko Keränen
Make requests via a proxy. TODO: What about the server domain verification? Check against the proxy hostname?
2020-08-29GmCerts: Fixed certificate importJaakko Keränen
2020-08-28GmRequest: Use selected identity for requestJaakko Keränen
2020-08-25It's called a "scheme"Jaakko Keränen
2020-08-24Updated for the_Foundation API changesJaakko Keränen
2020-08-24Initialize RegExpMatchesJaakko Keränen
2020-08-22Added BSD 2-clause license and copyright noticesJaakko Keränen
2020-08-21Experimenting with text artJaakko Keränen
Convert glyph bitmaps to Unicode block characters
2020-08-20CleanupJaakko Keränen
2020-08-19Help: Elaborate on link navigation via keyboardJaakko Keränen
2020-08-18Minor tweaksJaakko Keränen
2020-08-15Built-in embedded “about:” pages; Help menuJaakko Keränen
2020-08-13App-wide document zoom; added --echo option for debuggingJaakko Keränen
Fonts are shared by all documents, so zoom likewise needs to be app-wide.
2020-08-12Save and load app state (tabs, history)Jaakko Keränen
2020-08-10CleanupJaakko Keränen
2020-08-08Handling "about:home"; GmRequest decouplingJaakko Keränen
GmRequest is given a pointer to the GmCerts to use. Also, timeouts are handled via a posted command so they get processed in the main thread.
2020-08-08Cancel GmRequest from the main threadJaakko Keränen
Doing it in the SDL timer thread causes mutex lockups.
2020-08-08Showing the server certificate subject nameJaakko Keränen
2020-08-06Fetch content from cache when navigating backJaakko Keränen
2020-08-06Added GmResponse as its own typeJaakko Keränen
2020-08-04DocumentWidget: Show server certificate expiration dateJaakko Keränen
2020-08-03GmCerts: Thread safety; fixed notificationsJaakko Keränen
Must update the status before notifying.
2020-08-03Server certificate TOFUJaakko Keränen
2020-08-03Working on server certificatesJaakko Keränen
2020-08-02GmRequest: Checking the server certificateJaakko Keränen
Just testing so far.