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

46 Commits

Author SHA1 Message Date
Drew DeVault
601f900886 Implement bookmarks 2020-09-20 23:51:17 -04:00
Drew DeVault
852bc7198f Implement file:// URLs 2020-09-20 23:33:32 -04:00
Drew DeVault
d593635339 Swap quote character to > 2020-09-20 23:13:30 -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
563922a7e2 Merge normal mode & pagination prompts 2020-09-20 20:01:31 -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
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
207a72012e Rename binary from gmnic -> gmni 2020-09-20 14:51:25 -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
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
Drew DeVault
78eb57cad4 Implement input 2020-09-20 14:09:45 -04:00
Drew DeVault
9b1a618b42 Implement reading response body & meta 2020-09-20 13:30:28 -04:00
Drew DeVault
abcb9caf86 Initial request riggings 2020-09-20 13:06:34 -04:00
Drew DeVault
ccec255833 Initial commit 2020-09-20 10:17:39 -04:00