/
/
/
browser.c
Amendments on December 14, 2024
This is 2024, after all.
jcs made amendment
60
about 1 year ago
Amendments on December 12, 2024
jcs made amendment
56
about 1 year ago
Amendments on November 21, 2024
jcs made amendment
52
about 1 year ago
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
jcs made amendment
40
about 1 year ago
Amendments on November 14, 2024
jcs made amendment
33
about 1 year ago
Amendments on November 11, 2024
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
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
jcs made amendment
29
about 1 year ago
Amendments on November 6, 2024
jcs made amendment
26
about 1 year ago
jcs made amendment
25
about 1 year ago
Amendments on November 4, 2024
jcs made amendment
24
about 1 year ago
jcs made amendment
19
about 1 year ago
Amendments on November 3, 2024
jcs made amendment
18
about 1 year ago
Amendments on October 29, 2024
jcs made amendment
15
about 1 year ago
Amendments on October 26, 2024
jcs made amendment
13
about 1 year ago
Amendments on October 25, 2024
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
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
This name was left over from TCP Client and browser makes more sense
jcs made amendment
7
about 1 year ago
1