Commit Graph

1394 Commits

Author SHA1 Message Date
sawka
576d02c98f make a simple linediff 2022-11-24 15:05:08 -08:00
sawka
06c3a240b1 track rows in sw 2022-11-23 14:45:20 -08:00
sawka
d286f4d6ab checkpoint, add winsize to uicontext 2022-11-23 14:34:49 -08:00
sawka
a4b15ca57e checkpoint, term height 2022-11-23 14:34:05 -08:00
sawka
7882232a0e meta+command compgen working. hide compgen command from completion (underscores) 2022-11-23 11:12:05 -08:00
sawka
717461908a command compgen also needs to detect directories 2022-11-23 10:51:51 -08:00
sawka
da2fe25fb8 move to simpleexpand 2022-11-22 22:59:29 -08:00
sawka
3f710eec1d working on UI cleanups 2022-11-22 22:57:35 -08:00
sawka
ac8180a1ae fix default anchor value 2022-11-22 13:52:31 -08:00
sawka
00356fc297 fix comp complete 2022-11-22 00:32:27 -08:00
sawka
bd3595c954 checkpoint, testing new compgen. fixed superoffset bug 2022-11-22 00:26:41 -08:00
sawka
bb3e12fee7 checkpoint, extend working with all the crazy quote balancing for subs 2022-11-21 23:06:58 -08:00
sawka
75f662a188 checkpoint -- extension 2022-11-21 19:06:59 -08:00
sawka
8729d1f491 strwithpos uses rune position not byte position 2022-11-21 16:37:09 -08:00
sawka
9f7b5c8226 checkpoint, return comptype 'var' when we're in a var word 2022-11-21 14:47:00 -08:00
sawka
ff11290fa0 checkpoint, none/simple both need to recurse 2022-11-21 14:25:02 -08:00
sawka
ff11be5922 checkpoint on more completion/expansion 2022-11-21 12:55:53 -08:00
sawka
39ac41c448 working on expand 2022-11-19 14:05:38 -08:00
sawka
d469fed490 working on getting comppos to work recursively 2022-11-18 19:05:03 -08:00
sawka
54e42ad10e checkpoint on finding command completion point 2022-11-18 16:16:31 -08:00
sawka
3474177f28 split cmdnone on command separators 2022-11-18 14:57:25 -08:00
sawka
a630606020 working on integrating position. identify cmd assignment words. make group words consistent. always copy Raw runes. fixup command whitespace 2022-11-18 14:26:52 -08:00
sawka
a599dc473a split words into simple commands. identify bash keywords. light parsing of bash language to get command separation 2022-11-18 00:09:18 -08:00
sawka
082b146409 extension functions, word meta 2022-11-16 23:52:10 -08:00
sawka
7f4e5c0ef1 checkpoint, starting extend 2022-11-16 22:17:38 -08:00
sawka
475d7cd647 subparse backticks and dollar double quote 2022-11-16 12:00:44 -08:00
sawka
ec2de4609b add QC to word, refactor makeWord, fix special variables 2022-11-16 11:13:15 -08:00
sawka
f1958eaac7 recursive parsing for double quotes, subshells, and variable expansions 2022-11-16 00:37:22 -08:00
sawka
d44242fe71 checkpoint on new shparse 2022-11-15 10:27:36 -08:00
sawka
b9fd4df60f words -> str. test roundtrip 2022-11-15 00:39:53 -08:00
sawka
06724528cc checkpoint 2022-11-15 00:36:30 -08:00
sawka
9da092816a checkpoint 2022-11-14 19:57:29 -08:00
sawka
55767e3256 remove shellescape dependency 2022-11-14 13:56:50 -08:00
sawka
24f17ff5e9 checkpoint shparse 2022-11-14 13:56:28 -08:00
sawka
5fa7aa52d3 updates for new compgen 2022-11-10 18:52:38 -08:00
sawka
90bcb09b3e hook up new command completion 2022-11-10 18:51:20 -08:00
sawka
afbdf644bf checkpoint on comp 2022-11-10 16:00:51 -08:00
sawka
f81bea6658 check in some tests for comp package 2022-11-10 15:39:13 -08:00
sawka
2ab8795643 comp checkpoint 2022-11-10 15:28:39 -08:00
sawka
055dc7c8ac checkpoint on compgen 2022-11-10 13:52:51 -08:00
sawka
01821ca094 allow variable comptype 2022-11-09 20:38:47 -08:00
sawka
848f7164a3 checkpoint on completion 2022-11-09 20:38:28 -08:00
sawka
b8d4bb071a fix links to dist-dev 2022-11-08 14:36:30 -08:00
sawka
d86bee87d8 partial word expansion 2022-11-04 12:28:08 -07:00
sawka
4392956f99 replace expand.Literal with safer hand-written version that only expands quoted strings and literals 2022-11-03 23:53:25 -07:00
sawka
d225c988ed checkpoint on new completion parsing function 2022-11-03 19:16:14 -07:00
sawka
d7b67582eb use deepequal for vars 2022-11-02 18:45:13 -07:00
sawka
76d3c10748 decls equal fn -- must parse associative arrays (order is not consistent in bash output) 2022-11-02 18:41:53 -07:00
sawka
d4e4b497fb scripthaus env vars. also mshellbinaryfrompackage for install 2022-11-01 21:42:56 -07:00
sawka
ee36078082 parameterize the mshell bin directory (for packaging). inject MSHELL variables for execution 2022-11-01 21:19:42 -07:00