1
0
mirror of https://git.sr.ht/~sircmpwn/gmni synced 2024-11-23 13:13:26 +01:00
Commit Graph

54 Commits

Author SHA1 Message Date
Drew DeVault
4c12342bca README.md: use newer asciinema link 2020-09-20 22:38:31 -04:00
Drew DeVault
6f36d2a0fc gmnlm: add install target & man page 2020-09-20 22:37:44 -04:00
Drew DeVault
144693a3d0 Fix segfault moving to next result outside search 2020-09-20 22:34:27 -04:00
Drew DeVault
5799323f4c Implement preformatted text 2020-09-20 22:28:45 -04:00
Drew DeVault
59d43726bb Fix segfault on name resolution errors 2020-09-20 22:20:38 -04:00
Drew DeVault
bb696e6e28 Correct oversight which broke link following 2020-09-20 22:11:13 -04:00
Drew DeVault
f4a4be2513 Implement regex-based page search 2020-09-20 22:09:26 -04:00
Drew DeVault
28283bda98 Remove unnecessary TODO
There is no line length limit and authors are strongly discouraged from
hard-wrapping by the specification.
2020-09-20 21:53:08 -04:00
Drew DeVault
05cc8b85cd Add help message 2020-09-20 21:42:27 -04:00
Drew DeVault
d2fa1b4567 Allow user to navigate by typing in URL 2020-09-20 21:35:05 -04:00
Drew DeVault
1c9a6e6a35 Show [b]ack and [f]orward prompts contextually 2020-09-20 21:29:40 -04:00
Drew DeVault
46b5d74576 Expand wrapping to all token types 2020-09-20 21:26:23 -04:00
Drew DeVault
fed9c05619 Whitelist control sequences in wrap() 2020-09-20 21:02:17 -04:00
Drew DeVault
9bd1a7457e Remove obsolete TODO 2020-09-20 20:57:26 -04:00
Drew DeVault
a61a75f837 Implement basic word wrapping 2020-09-20 20:52:18 -04:00
Drew DeVault
e1d9773742 Indent # and ## to line up with text 2020-09-20 20:43:07 -04:00
Drew DeVault
678bff58ed Improve links
Removing the leading [ makes links 0-9 line up with the text body, which
is nice.
2020-09-20 20:13:22 -04:00
Drew DeVault
d0acd0f4d0 Add reduced-unicode mode 2020-09-20 20:11:48 -04:00
Drew DeVault
84df94447c Scale down image 2020-09-20 20:07:48 -04:00
Drew DeVault
c414388c0f README.md: add link to asciinema 2020-09-20 20:05:44 -04:00
Drew DeVault
563922a7e2 Merge normal mode & pagination prompts 2020-09-20 20:01:31 -04:00
Drew DeVault
b90888e718 README.md: add gmnlm 2020-09-20 19:58:34 -04:00
Drew DeVault
211b8c3dd3 gmnlm: Implement input responses 2020-09-20 19:40:42 -04:00
Drew DeVault
1808e6cd18 Don't + encode spaces in URLs 2020-09-20 19:40:27 -04:00
Eyal Sawady
4b2437b17e .gitignore: update 2020-09-20 19:33:52 -04:00
Drew DeVault
5a955c5f24 gmnlm: refactor 2020-09-20 19:33:43 -04:00
Drew DeVault
dcc2b34d43 gmnlm: implement redirects 2020-09-20 19:14:47 -04:00
Drew DeVault
ea595cdb2b gmnlm: display plaintext files 2020-09-20 19:09:55 -04:00
Drew DeVault
3547fd11d5 Implement history 2020-09-20 19:01:14 -04:00
Drew DeVault
7a099135cd gmnlm: implement link following 2020-09-20 18:41:30 -04:00
Drew DeVault
01567e578c Initial work for line-mode browser 2020-09-20 18:31:33 -04:00
Drew DeVault
48d0feed6d Initial pass on text/gemini parser 2020-09-20 17:47:14 -04:00
Drew DeVault
33495e8dd8 Detect attempts to use non-gemini URLs 2020-09-20 16:47:19 -04:00
Drew DeVault
05d112b7d3 Prohibit >5 redirects 2020-09-20 16:44:43 -04:00
Drew DeVault
7c453fb45f Implement SENSITIVE INPUT response 2020-09-20 16:41:05 -04:00
Drew DeVault
9551899298 Add response status enum 2020-09-20 16:32:01 -04:00
Drew DeVault
02c2be62da assert(url) after setting input URL 2020-09-20 15:14:54 -04:00
Drew DeVault
eb6a4e9740 Set SOCK_STREAM regardless of hints 2020-09-20 15:14:04 -04:00
Drew DeVault
73f5a5bc2b client.h: clarify some constraints 2020-09-20 15:10:45 -04:00
Drew DeVault
37396a375a Add make install target 2020-09-20 14:55:33 -04:00
Drew DeVault
207a72012e Rename binary from gmnic -> gmni 2020-09-20 14:51:25 -04:00
Drew DeVault
a3d5169d71 Add README.md 2020-09-20 14:49:57 -04:00
Drew DeVault
b136eea98a Add man page 2020-09-20 14:44:30 -04:00
Drew DeVault
c08e934c44 Change -C to -E for client certificates
More consistent with curl
2020-09-20 14:41:03 -04:00
Drew DeVault
262ccc2005 Suppress trailing newline if stdout is not a TTY 2020-09-20 14:37:43 -04:00
Drew DeVault
2e593cd48b config.sh: drop unused LIBSSL variable 2020-09-20 14:25:42 -04:00
Drew DeVault
eb01fde600 Implement -4 and -6
To force IPv4 and IPv6 respectively.
2020-09-20 14:21:36 -04:00
Drew DeVault
fd914b3aa4 Implement -L flag (follow redirects) 2020-09-20 14:18:40 -04:00
Drew DeVault
ee6fe47e44 Correct trailing line feed detection 2020-09-20 14:18:26 -04:00
Drew DeVault
4bc55aaa13 Print line feed on text/* response if not included
Adds -l flag to suppress this behavior
2020-09-20 14:13:18 -04:00