2
0
mirror of https://github.com/xvxx/phetch synced 2024-11-15 00:12:50 +00:00
Commit Graph

518 Commits

Author SHA1 Message Date
chris west
d34a1e4352 clippy 2020-01-15 19:35:21 -08:00
chris west
a3644a672f almost everything is a link 2020-01-15 19:31:55 -08:00
chris west
52f1e88ec2 kill more color allocations, missed a few usages 2020-01-15 19:24:05 -08:00
chris west
71a2394d73 kill some unneeded format! calls 2020-01-15 18:16:53 -08:00
chris west
2e277b14cf kill needless color allocations 2020-01-15 18:01:55 -08:00
chris west
07011b7175 menu::parse, not menu::Menu::parse 2020-01-15 11:37:27 -08:00
chris west
9ce524dd1f explictily do nothing on Run 2020-01-15 10:06:34 -08:00
chris west
e2f69f5c1e Don't load phetch.conf in tests 2020-01-15 10:05:12 -08:00
chris west
617bd25c0e Type::is_text() 2020-01-15 00:20:26 -08:00
chris west
a8c8b255a4 redundant 2020-01-14 23:29:26 -08:00
chris west
51f401394a gopher::type_for_url() 2020-01-14 23:27:10 -08:00
chris west
d66a9c610c parse_url returns simple struct, not tuple 2020-01-14 23:15:56 -08:00
chris west
999171e0e5 line.name => line.text 2020-01-14 20:30:34 -08:00
chris west
61e4942ecb fix info lines 2020-01-14 20:27:15 -08:00
chris west
89291da67b move String instead of re-alloc 2020-01-14 20:18:39 -08:00
chris west
9c64f7c420 clippy 2020-01-14 19:32:43 -08:00
chris west
344e4d7e5f shorter 2020-01-14 19:32:03 -08:00
chris west
ee8dfa9c79 extract menu line parsing 2020-01-14 19:31:54 -08:00
chris west
692fbbc554 type gets impl fmt::Display 2020-01-14 19:31:39 -08:00
chris west
3c321c53da fewer Strings, more refs 2020-01-14 16:06:18 -08:00
chris west
ae280b4a61 off by 1 2020-01-14 15:58:46 -08:00
chris west
2d71e5da6c More basic doc 2020-01-14 15:58:40 -08:00
chris west
537be056cb Start making missing_docs happy 2020-01-14 13:46:19 -08:00
chris west
eecaf79d8a crate doc 2020-01-14 13:29:21 -08:00
chris west
f03c6e1422 make clippy happy 2020-01-14 13:08:48 -08:00
chris west
75ac066caa --no-default-features to disable tls, tor 2020-01-14 10:13:19 -08:00
chris west
2bd48f7a2d don't let \n into status line 2020-01-14 00:19:44 -08:00
chris west
bdcc3c9d0d Raw mode works the same with or without a tty 2020-01-13 15:03:10 -08:00
chris west
b529e9c1cb more notes 2020-01-11 19:57:41 -08:00
chris west
dd4e47dc8e some notes 2020-01-11 19:36:12 -08:00
chris west
349b1c6ba6 don't do TTY stuff in tests 2020-01-11 18:47:51 -08:00
chris west
37170c4ee2 only load conf if phetchdir exists 2020-01-11 18:42:21 -08:00
chris west
9702633354 check -C and -c first so order of args doesnt matter 2020-01-11 18:33:04 -08:00
chris west
0d3cd1c3af missing --no-config (-C worked) 2020-01-11 18:26:58 -08:00
chris west
28ac8beb10 tests for cmdline arg parsing 2020-01-11 18:15:07 -08:00
chris west
075e82d2d0 save some space 2020-01-11 16:52:12 -08:00
chris west
39cfbcf21e show full text with -p too 2020-01-11 16:12:37 -08:00
chris west
8645571d7a print a plain version when no tty 2020-01-11 16:10:11 -08:00
chris west
c951731e58 mode gets its own little file 2020-01-11 15:50:25 -08:00
chris west
ab364c5b8a --print shows all lines 2020-01-11 15:47:35 -08:00
chris west
7cf9e25c6b handle switching screens on our own
print mode doesn't want alternate mode,
so we won't use it in that case
2020-01-11 15:23:22 -08:00
chris west
d587df8def Add new flags to manpage 2020-01-11 15:14:38 -08:00
chris west
be12941ce3 add --config and --no-config 2020-01-11 15:10:07 -08:00
chris west
bbf0d4b9dd Add -S/-O --no-tls --no-tor 2020-01-11 14:47:05 -08:00
chris west
92331d9ab7 config file options only now 2020-01-11 14:13:10 -08:00
chris west
b67815b45f hide cursor when printing 2020-01-11 14:10:27 -08:00
chris west
9a2eb4e4b6 tls is -s, tor is -o, remove --emoji 2020-01-11 14:06:34 -08:00
chris west
c1e3bf7209 wide mode is now session-wide 2020-01-11 13:57:46 -08:00
chris west
456ee0ad2d don't switch to alternate screen until startup 2020-01-11 13:43:53 -08:00
chris west
545a58eb0f new url 2020-01-11 12:55:33 -08:00