Eugene Yokota
66301dbaf1
Adjust from rebasing
2017-01-06 11:35:08 -05:00
Eugene Yokota
a2df1a4b53
Formatting fix
2017-01-06 11:27:41 -05:00
Eugene Yokota
a0dde10f8a
Use NonFatal
2017-01-06 11:27:41 -05:00
Eugene Yokota
892e25d23f
Introduce execId that gets sent back
...
Now the client can put an id on each exec.
This can then be tracked and/or be used to block the user input.
2017-01-06 11:27:41 -05:00
Eugene Yokota
1bf50e10c8
Use Exec in State
2017-01-06 11:27:41 -05:00
Eugene Yokota
d96ef58605
Unifying towards using events
2017-01-06 11:27:06 -05:00
Eugene Yokota
46d8f952e4
Refactor to make NetworkChannel per client connection
2017-01-06 11:27:06 -05:00
Eugene Yokota
d618f91c6d
Replace var with AtomicReference
2017-01-06 11:27:06 -05:00
Eugene Yokota
fa7253ece3
Start lightweight client
...
This is the beginning of a lightweight client, which talks to the
server over Contraband-generated JSON API. Given that the server is
started on port 5173:
```
$ cd /tmp/bogus
$ sbt client localhost:5173
> compile
StatusEvent(Processing, Vector(compile, server))
StatusEvent(Ready, Vector())
StatusEvent(Processing, Vector(, server))
StatusEvent(Ready, Vector())
```
2017-01-06 11:27:06 -05:00
Eugene Yokota
272e733b87
Update to Contraband
2017-01-06 11:27:06 -05:00
Dale Wijnand
7fcfec8b8e
-sbinary/+sjson-new, -datatype/+contraband & upgrades
...
* start to replace sbinary with sjson-new
* upgrade from sbt/datatype to sbt/contraband
* upgrade and migrate to new sbt modules APIs
2017-01-05 21:59:00 +00:00
Dale Wijnand
43821667bf
Upgrade scalariform version
2016-12-11 12:13:11 +00:00
Eugene Yokota
18233ace05
Using sbt-datatype + sjson-new for JSON serialization
2016-10-27 09:27:41 -04:00
Eugene Yokota
e7456b5653
Use the new FullReader
2016-10-27 09:20:06 -04:00
Eugene Yokota
a94107e673
Handle closed socket
2016-10-27 02:42:12 -04:00
Eugene Yokota
fe1a24cf7c
Adjust to 1.0.x
2016-10-27 02:42:12 -04:00
Eugene Yokota
a89fcb37ca
Exec and CommandExchange refactoring
2016-10-27 02:42:12 -04:00
Eugene Yokota
3359163636
Adds serverPort attribute key
2016-10-27 02:42:12 -04:00
Eugene Yokota
ebf4715dd1
Refactor to CommandExchange and CommandChannel
2016-10-27 02:42:12 -04:00
Eugene Yokota
48d3b01e6b
Move files around
2016-10-27 02:42:12 -04:00
Eugene Yokota
3381f59ae8
Implement ConsoleListener
2016-10-27 02:42:12 -04:00
Johan Andrén
ff211d08f9
Server hooked in as a CommandListener
2016-10-27 02:42:12 -04:00
Eugene Yokota
f9dd8b73b7
Refactor to abstract listening for command line
2016-10-27 02:42:12 -04:00
Eugene Yokota
649dc0ce3c
This is where we can multiplex commands
2016-10-27 02:42:12 -04:00
Eugene Yokota
9529f0c304
Add `-error` etc for log levels with one hyphen
2016-09-15 02:23:37 -04:00
Eugene Yokota
06724d1c4b
Rename early command to `early(command)`
...
Fixes #2734 , Ref #1041
e93c4450a1 added a feature called early
command, which uses `--` as a prefix to denote some commands that runs
ahead of session loading. While the feature might be useful especially
for logging, `--` is too useful just for this purpose.
2016-09-15 01:45:50 -04:00
Dale Wijnand
84c611af36
Remove unused vals/defs
2016-07-12 14:31:35 +01:00
Dale Wijnand
deea82542c
Remove unused imports
2016-07-12 11:55:10 +01:00
Dale Wijnand
32760bed55
Remove some fatal exception catching
2016-07-07 18:21:25 +01:00
Dale Wijnand
387674a451
Remove some heads and tails
2016-07-07 18:21:25 +01:00
Dale Wijnand
12d2b5a63b
Cleanup commandProj
2016-06-21 08:09:30 +01:00
Eugene Yokota
ee272d780e
Reorganize directory structure
2016-05-06 16:01:49 -04:00