Commit Graph

1512 Commits

Author SHA1 Message Date
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
sawka
d9cd211149 packaging with scripthaus-server and mshell binaries, separate dev/prod builds. emain to launch local server from package 2022-11-01 21:18:40 -07:00
sawka
56a91a9601 update packaging to create a packaged electron app for frontend 2022-11-01 00:07:25 -07:00
sawka
7b11999d29 electron packaging 2022-10-31 16:41:44 -07:00
sawka
cd0a65f120 update to electron v19.1.3 2022-10-31 14:59:31 -07:00
sawka
d5142a1eb9 update packages 2022-10-31 12:51:25 -07:00
sawka
d9163d6af4 use log.Printf, ensure sc home dir 2022-10-31 12:40:45 -07:00
sawka
d6ba16613c store migrations in go source (via embed) 2022-10-31 12:24:21 -07:00
sawka
ebb196f164 send initial local server status 2022-10-30 13:06:25 -07:00
sawka
f35adf1da0 watch stdin, kill server is stdin is closed 2022-10-30 13:05:53 -07:00
sawka
4078cb1f1e local server control 2022-10-30 12:53:39 -07:00
sawka
8939c57dd8 minor, add isempty func for shellstate 2022-10-30 12:52:58 -07:00
sawka
260fc2d313 working on server control and packaging 2022-10-30 12:52:40 -07:00
sawka
9027edc0e1 disconnected modal 2022-10-28 14:17:45 -07:00
sawka
29dbf5dde9 runcommand now sets the state at the time of execution 2022-10-27 22:52:38 -07:00
sawka
bba43c8540 minor css update 2022-10-27 22:24:22 -07:00
sawka
31a38cbdae state updates (yay) 2022-10-27 22:22:17 -07:00
sawka
2df33621fd stateful commands block other commands while they are running, introduce waiting state 2022-10-27 22:00:10 -07:00
sawka
1da450e61c implement reinit, also do not store 'columns' var 2022-10-27 21:59:17 -07:00
sawka
56259e3f05 fix cmd done lock ordering (actually start the cmdwait). implement reset command to re-initialize the terminal 2022-10-27 17:10:36 -07:00
sawka
f8d23a68f3 minor update 2022-10-27 15:25:58 -07:00
sawka
bb7f475055 updates for rtnstate 2022-10-27 00:36:03 -07:00
sawka
e5d2267f27 minor updates to get state to be consistent 2022-10-27 00:34:16 -07:00
sawka
0060c8ffc2 big update to handle cmd returnstate (still need to process new state with donepacket) 2022-10-27 00:33:50 -07:00
sawka
d50ed6ca6c work on evalbracketargs 2022-10-26 14:51:12 -07:00
sawka
cabf8a50ff updates for new shellvars 2022-10-25 12:31:29 -07:00
sawka
245a1995e2 parse shellvariables with args 2022-10-25 12:31:07 -07:00
sawka
c9195b3cfd move some sh parsing to shexec 2022-10-24 21:29:11 -07:00
sawka
674a6ef11e grab shell vars with export vars 2022-10-24 21:26:39 -07:00
sawka
5d6c77491f add shell parser 2022-10-24 15:35:01 -07:00
sawka
babf4f392a input modes 2022-10-22 23:54:46 -07:00
sawka
3b7dd7c01e working on source command 2022-10-22 14:46:39 -07:00
sawka
d8b5508b77 returnstate option for runpk (for sourcing files) 2022-10-22 14:45:31 -07:00