AmendHub

jcs

/

detritus

/

amendments

/

browser.h

Amendments on December 14, 2024

browser: Reorganize go functions, use http:// fallback from URL bar

This is 2024, after all.
jcs made amendment 60 about 1 year ago

Amendments on November 21, 2024

browser: Keep track of link rects, show URI and finger when hovering

Each time we scroll, find the links in the viewport and remember
their rects. In idle handler, check pointer coords and if it's in
any link rects, set cursor and show the link URI in the statusbar.
A nicer way to do this might have been to use the mouseRgn field of
WaitNextEvent that was the screen region with link rects cut out of
it, that way we only get a mouse move event when the cursor is in
those cutouts. But since our ticks value to WaitNextEvent is so
small, none of the mouse move events were coming through, so just
rely on nullEvent.where being the mouse cursor coordinates.
jcs made amendment 48 about 1 year ago

Amendments on November 15, 2024

*: Minor tweaks

jcs made amendment 40 about 1 year ago

Amendments on November 14, 2024


Amendments on November 11, 2024

http: Add HTTP(s) module

For now this just downloads files that aren't text/plain or
text/markdown but the Markdown parsing isn't implemented yet.
Also stop having every handler re-parse the URI, just parse it once
and ask the handler if it wants it.
jcs made amendment 32 about 1 year ago

*: Shuffle things around yet again

Now TCP and TLS connections use the same callbacks so a module
doesn't have to do different things for plaintext or TLS.
Also reduce the amount of non-protocol-specific logic that has to be
in each protocol module and reduce duplication.
jcs made amendment 30 about 1 year ago

Amendments on November 9, 2024

*: Various tweaks all over the place

jcs made amendment 29 about 1 year ago

Amendments on November 6, 2024

*: Abstract TCP and TLS ops to request.c

jcs made amendment 26 about 1 year ago

Amendments on November 3, 2024


Amendments on October 29, 2024


Amendments on October 26, 2024


Amendments on October 25, 2024

gemini: Extract gemini protocol code from browser

This way we can plug in different protocols with the same text
rendering and UI.
I still need to figure out why the off-screen canvas drawing is not
working properly.
jcs made amendment 12 about 1 year ago

Amendments on October 22, 2024

browser: Switch to TextView for main output, fix a few TLS bugs

When the remote server disconnects, we may still have data in the TLS
engine to read and parse.
jcs made amendment 8 about 1 year ago

Amendments on October 1, 2024

browser: Rename from client, add shadow buffer

This name was left over from TCP Client and browser makes more sense
jcs made amendment 7 about 1 year ago