Commit Graph

  • 81554e8fd2 fix concurrent write on websocket (only happened under intense write stress) sawka 2022-11-29 12:45:19 -08:00
  • 5aecdffead fix production build bugs -- utf-8 encoding and index.html sawka 2022-11-28 18:38:25 -08:00
  • 9f94da43d1 updates for remotestate and data structure changes sawka 2022-11-28 18:08:19 -08:00
  • bdd8381b01 updates/bugfixes for statediff sawka 2022-11-28 18:05:54 -08:00
  • c6a2118451 big update, got statediff and state_base working. updates to remote_instance and cmd tables/structures sawka 2022-11-28 18:03:02 -08:00
  • 61a07d4025 fix down migration sawka 2022-11-28 12:01:03 -08:00
  • 605d0899cf checkpoint sawka 2022-11-28 00:15:34 -08:00
  • b2dc52e166 checkpoint sawka 2022-11-28 00:13:00 -08:00
  • eb3cf80329 fix json marshaling bug for statediff sawka 2022-11-27 14:16:25 -08:00
  • d5ea9e0221 implement cmdfinal (hangup) from server sawka 2022-11-27 14:12:15 -08:00
  • 4481cddadc checkpoint on statediff. bug fixes. working on more robust error handling for packetsender sawka 2022-11-27 13:47:18 -08:00
  • 5a151369cb line/mapdiff code sawka 2022-11-25 15:52:29 -08:00
  • c94c0b7c36 normalize assoc arrays on parse so then values can be compared sawka 2022-11-25 14:21:51 -08:00
  • 301bfaa0be write a quick set of functions to pack and unpack byte arrays sawka 2022-11-24 15:16:18 -08:00
  • 576d02c98f make a simple linediff sawka 2022-11-24 15:05:08 -08:00
  • 06c3a240b1 track rows in sw sawka 2022-11-23 14:45:20 -08:00
  • d286f4d6ab checkpoint, add winsize to uicontext sawka 2022-11-23 14:34:49 -08:00
  • a4b15ca57e checkpoint, term height sawka 2022-11-23 14:34:05 -08:00
  • 7882232a0e meta+command compgen working. hide compgen command from completion (underscores) sawka 2022-11-23 11:12:05 -08:00
  • 717461908a command compgen also needs to detect directories sawka 2022-11-23 10:51:51 -08:00
  • da2fe25fb8 move to simpleexpand sawka 2022-11-22 22:59:29 -08:00
  • 3f710eec1d working on UI cleanups sawka 2022-11-22 22:57:35 -08:00
  • ac8180a1ae fix default anchor value sawka 2022-11-22 13:52:31 -08:00
  • 00356fc297 fix comp complete sawka 2022-11-22 00:32:27 -08:00
  • bd3595c954 checkpoint, testing new compgen. fixed superoffset bug sawka 2022-11-22 00:26:41 -08:00
  • bb3e12fee7 checkpoint, extend working with all the crazy quote balancing for subs sawka 2022-11-21 23:06:58 -08:00
  • 75f662a188 checkpoint -- extension sawka 2022-11-21 19:06:59 -08:00
  • 8729d1f491 strwithpos uses rune position not byte position sawka 2022-11-21 16:37:09 -08:00
  • 9f7b5c8226 checkpoint, return comptype 'var' when we're in a var word sawka 2022-11-21 14:47:00 -08:00
  • ff11290fa0 checkpoint, none/simple both need to recurse sawka 2022-11-21 14:25:02 -08:00
  • ff11be5922 checkpoint on more completion/expansion sawka 2022-11-21 12:55:53 -08:00
  • 39ac41c448 working on expand sawka 2022-11-19 14:05:38 -08:00
  • d469fed490 working on getting comppos to work recursively sawka 2022-11-18 19:05:03 -08:00
  • 54e42ad10e checkpoint on finding command completion point sawka 2022-11-18 16:16:31 -08:00
  • 3474177f28 split cmdnone on command separators sawka 2022-11-18 14:57:25 -08:00
  • a630606020 working on integrating position. identify cmd assignment words. make group words consistent. always copy Raw runes. fixup command whitespace sawka 2022-11-18 14:26:52 -08:00
  • a599dc473a split words into simple commands. identify bash keywords. light parsing of bash language to get command separation sawka 2022-11-18 00:09:18 -08:00
  • 082b146409 extension functions, word meta sawka 2022-11-16 23:52:10 -08:00
  • 7f4e5c0ef1 checkpoint, starting extend sawka 2022-11-16 22:17:38 -08:00
  • 475d7cd647 subparse backticks and dollar double quote sawka 2022-11-16 12:00:44 -08:00
  • ec2de4609b add QC to word, refactor makeWord, fix special variables sawka 2022-11-16 11:13:15 -08:00
  • f1958eaac7 recursive parsing for double quotes, subshells, and variable expansions sawka 2022-11-16 00:37:22 -08:00
  • d44242fe71 checkpoint on new shparse sawka 2022-11-15 10:27:36 -08:00
  • b9fd4df60f words -> str. test roundtrip sawka 2022-11-15 00:39:53 -08:00
  • 06724528cc checkpoint sawka 2022-11-15 00:36:30 -08:00
  • 9da092816a checkpoint sawka 2022-11-14 19:57:29 -08:00
  • 55767e3256 remove shellescape dependency sawka 2022-11-14 13:56:50 -08:00
  • 24f17ff5e9 checkpoint shparse sawka 2022-11-14 13:56:28 -08:00
  • 5fa7aa52d3 updates for new compgen sawka 2022-11-10 18:52:38 -08:00
  • 90bcb09b3e hook up new command completion sawka 2022-11-10 18:51:20 -08:00
  • afbdf644bf checkpoint on comp sawka 2022-11-10 16:00:51 -08:00
  • f81bea6658 check in some tests for comp package sawka 2022-11-10 15:39:13 -08:00
  • 2ab8795643 comp checkpoint sawka 2022-11-10 15:28:39 -08:00
  • 055dc7c8ac checkpoint on compgen sawka 2022-11-10 13:52:51 -08:00
  • 01821ca094 allow variable comptype sawka 2022-11-09 20:38:47 -08:00
  • 848f7164a3 checkpoint on completion sawka 2022-11-09 20:38:28 -08:00
  • b8d4bb071a fix links to dist-dev sawka 2022-11-08 14:36:30 -08:00
  • d86bee87d8 partial word expansion sawka 2022-11-04 12:28:08 -07:00
  • 4392956f99 replace expand.Literal with safer hand-written version that only expands quoted strings and literals sawka 2022-11-03 23:53:25 -07:00
  • d225c988ed checkpoint on new completion parsing function sawka 2022-11-03 19:16:14 -07:00
  • d7b67582eb use deepequal for vars sawka 2022-11-02 18:45:13 -07:00
  • 76d3c10748 decls equal fn -- must parse associative arrays (order is not consistent in bash output) sawka 2022-11-02 18:41:53 -07:00
  • d4e4b497fb scripthaus env vars. also mshellbinaryfrompackage for install sawka 2022-11-01 21:42:56 -07:00
  • ee36078082 parameterize the mshell bin directory (for packaging). inject MSHELL variables for execution sawka 2022-11-01 21:19:42 -07:00
  • d9cd211149 packaging with scripthaus-server and mshell binaries, separate dev/prod builds. emain to launch local server from package sawka 2022-11-01 21:18:40 -07:00
  • 56a91a9601 update packaging to create a packaged electron app for frontend sawka 2022-11-01 00:07:25 -07:00
  • 7b11999d29 electron packaging sawka 2022-10-31 16:41:44 -07:00
  • cd0a65f120 update to electron v19.1.3 sawka 2022-10-31 14:59:31 -07:00
  • d5142a1eb9 update packages sawka 2022-10-31 12:51:25 -07:00
  • d9163d6af4 use log.Printf, ensure sc home dir sawka 2022-10-31 12:40:45 -07:00
  • d6ba16613c store migrations in go source (via embed) sawka 2022-10-31 12:24:21 -07:00
  • ebb196f164 send initial local server status sawka 2022-10-30 13:06:25 -07:00
  • f35adf1da0 watch stdin, kill server is stdin is closed sawka 2022-10-30 13:05:53 -07:00
  • 4078cb1f1e local server control sawka 2022-10-30 12:53:39 -07:00
  • 8939c57dd8 minor, add isempty func for shellstate sawka 2022-10-30 12:52:58 -07:00
  • 260fc2d313 working on server control and packaging sawka 2022-10-30 12:52:40 -07:00
  • 9027edc0e1 disconnected modal sawka 2022-10-28 14:17:45 -07:00
  • 29dbf5dde9 runcommand now sets the state at the time of execution sawka 2022-10-27 22:52:38 -07:00
  • bba43c8540 minor css update sawka 2022-10-27 22:24:22 -07:00
  • 31a38cbdae state updates (yay) sawka 2022-10-27 22:22:17 -07:00
  • 2df33621fd stateful commands block other commands while they are running, introduce waiting state sawka 2022-10-27 22:00:10 -07:00
  • 1da450e61c implement reinit, also do not store 'columns' var sawka 2022-10-27 21:59:17 -07:00
  • 56259e3f05 fix cmd done lock ordering (actually start the cmdwait). implement reset command to re-initialize the terminal sawka 2022-10-27 17:10:36 -07:00
  • f8d23a68f3 minor update sawka 2022-10-27 15:25:58 -07:00
  • bb7f475055 updates for rtnstate sawka 2022-10-27 00:36:03 -07:00
  • e5d2267f27 minor updates to get state to be consistent sawka 2022-10-27 00:34:16 -07:00
  • 0060c8ffc2 big update to handle cmd returnstate (still need to process new state with donepacket) sawka 2022-10-27 00:33:50 -07:00
  • d50ed6ca6c work on evalbracketargs sawka 2022-10-26 14:51:12 -07:00
  • cabf8a50ff updates for new shellvars sawka 2022-10-25 12:31:29 -07:00
  • 245a1995e2 parse shellvariables with args sawka 2022-10-25 12:31:07 -07:00
  • c9195b3cfd move some sh parsing to shexec sawka 2022-10-24 21:29:11 -07:00
  • 674a6ef11e grab shell vars with export vars sawka 2022-10-24 21:26:39 -07:00
  • 5d6c77491f add shell parser sawka 2022-10-24 15:35:01 -07:00
  • babf4f392a input modes sawka 2022-10-22 23:54:46 -07:00
  • 3b7dd7c01e working on source command sawka 2022-10-22 14:46:39 -07:00
  • d8b5508b77 returnstate option for runpk (for sourcing files) sawka 2022-10-22 14:45:31 -07:00
  • c0b3db19d4 cleanups for terminal interaction sawka 2022-10-20 16:15:21 -07:00
  • caf8b1d151 use statediff for output for setenv, unset, and cd sawka 2022-10-20 16:14:14 -07:00
  • e55f7fb4fe working with new static commands sawka 2022-10-18 18:03:02 -07:00
  • fdc5a289a9 use packet.ShellState, send aliases and functions as part of state sawka 2022-10-16 23:51:04 -07:00