Commit Graph

17940 Commits

Author SHA1 Message Date
Eugene Yokota a0dde10f8a Use NonFatal 2017-01-06 11:27:41 -05:00
Eugene Yokota 9ee69e5dd4 Fix test 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
eugene yokota 274c8ec65f Merge pull request #2892 from dwijnand/upgrades
-sbinary/+sjson-new, -datatype/+contraband & upgrades
2017-01-05 18:22:51 -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 376718f976 Upgrade to newer modules, migrate to new lm api 2017-01-05 17:40:23 +00:00
eugene yokota 0f9babaa31 Merge pull request #65 from dwijnand/upgrades
Upgrade from sbt/datatype to sbt/contraband, + fixes and cleanups
2017-01-05 12:32:56 -05:00
Dale Wijnand 6fc84b09e9
Only build on jdk8
As of https://github.com/sbt/util/pull/66 sbt/util is built and
published using jdk8.

Trying to use jdk7 will fail with "Unsupported major.minor version
52.0", e.g. for xsbti/Logger.
2017-01-05 17:14:30 +00:00
Eugene Yokota a87ed10dc7
Move ModuleID toString out 2017-01-05 15:42:34 +00:00
Eugene Yokota 4ca5b5ae0a
Change publicationDate to java.util.Calendar
This migrates to java.util.Calendar, which is better than
java.util.Date and is supported by sjson-new out of the box.
2017-01-05 15:42:34 +00:00
Dale Wijnand 71fddd5e3f
Upgrade from sbt/datatype to sbt/contraband 2017-01-05 15:42:29 +00:00
Dale Wijnand 50df95953e
Add missing "d" task testing in actions/depends-on 2017-01-05 14:40:39 +00:00
Eugene Yokota 104c5f53b3
Adding sleep in scripted test to make sure timestamp bumps [fport]
Fixes #2546. Ref #958
scripted compiler-project/error-in-invalidated has been failing
frequently on Travis CI. It seems like incremental compiler is not
catching the change in source occasionally for `changes/A2.scala`.

Forward-port of #2565
2017-01-05 14:40:39 +00:00
Dale Wijnand 946f307082
Implement JsonFormat[NodeSeq] like it was in IvyCache 2017-01-05 13:42:16 +00:00
Dale Wijnand 06c7f382ad
Cleanup & simplify Deps 2017-01-05 13:42:12 +00:00
Dale Wijnand b7fefb367f
Bump sbt/io to 1.0.0-M8, w/ fix to IO.relativize 2017-01-05 13:18:59 +00:00
eugene yokota 697e1239cb Merge pull request #122 from ahihi/master
Fix handling of arguments with asterisks on Windows
2016-12-31 02:09:58 -05:00
eugene yokota b0f97eaa37 Merge pull request #64 from dwijnand/add-back-SbtExclusionRule-companion-implicit-lifts
Add back SbtExclusionRule companion implicit lifts
2016-12-31 00:26:37 -05:00
eugene yokota c08a28b352 Merge pull request #63 from dwijnand/fix-ConfigurationReport.toString
Fix ConfigurationReport.toString
2016-12-31 00:25:34 -05:00
Dale Wijnand 04904ed34d
Add back SbtExclusionRule companion implicit lifts 2016-12-30 17:11:18 +00:00
Dale Wijnand 19f40a1668
Fix ConfigurationReport.toString
Move the toString implementation from ConfigurationReportExtra to inside
the ConfigurationReport JSON schema definition, that way the synthetic
toString generated by contraband doesn't override the carefully defined
one.
2016-12-28 16:15:13 +00:00
Eugene Yokota 496e8d3e4f Cross building 2016-12-22 22:30:45 -05:00
eugene yokota 6b26b709f1 Merge pull request #66 from eed3si9n/wip/212
Scala 2.12
2016-12-22 15:30:50 -05:00
Eugene Yokota 008f9bee2e Work around Scala 2.12 init deadlock (SI-9824) 2016-12-22 14:37:59 -05:00
Eugene Yokota 2573c0f092 Scala 2.12 2016-12-22 11:59:00 -05:00
Eugene Yokota 61bdfd4367 Update Eval
https://github.com/typelevel/cats/blob/e2335730a958ce605f0d75f1b0d838454
2336aaf/core/src/main/scala/cats/Eval.scala
2016-12-22 11:50:34 -05:00
eugene yokota f26238e035 Merge pull request #65 from eed3si9n/wip/rebuild
sjson-new 0.7.0 and HList format
2016-12-22 11:26:43 -05:00
Eugene Yokota 5014e7f6b7 sjson-new 0.7.0 2016-12-22 11:19:48 -05:00
Dale Wijnand 7688de459b
Fix JsonFormat[HList]
Introduce HListJF, used as an inner TC so the outer HCons/HNil
JsonFormat can manage when the array starts and ends.
2016-12-19 15:26:10 +00:00
Alexandre Archambault ff0794a60d Merge pull request #413 from n4to4/patch-1
Minor doc fix
2016-12-18 19:14:54 +01:00
Johannes Rudolph e397e5b6d2 Merge pull request #64 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2016-12-17 12:15:25 +01:00
n4to4 eb253551d7 Minor doc fix 2016-12-16 20:45:06 +09:00
Dale Wijnand b0536f1a4d
new sjson-new 2016-12-15 18:02:39 +00:00
eugene yokota 6319da53c1 Merge pull request #62 from dwijnand/add-managed-srcs
Include managed sources in packageSrc
2016-12-14 14:31:19 -05:00
TzeKei Lee 75a5398404 Allow running whatDependsOn without version 2016-12-15 02:25:47 +08:00
Dale Wijnand 7c221ef97f
Include managed sources in packageSrc 2016-12-14 10:31:11 +00:00
Dale Wijnand e209499544
Avoid source file path clash with generated sources 2016-12-14 10:31:11 +00:00
eugene yokota d9cc0c2f0b Merge pull request #2844 from dwijnand/reunite
Add props to define source dependencies on io/util/lm/zinc
2016-12-11 21:59:57 -05:00
Dale Wijnand 337d1130e5
Make sure publishLocalBin has a default implementation 2016-12-11 12:13:11 +00:00
Dale Wijnand 43821667bf
Upgrade scalariform version 2016-12-11 12:13:11 +00:00
Dale Wijnand 6a46c62524
Ugh Scalariform, ruining my formatting, wonderful 2016-12-11 12:08:28 +00:00
Dale Wijnand 5945e3e477
Bump to sbt 0.13.13 2016-12-11 12:08:28 +00:00
Dale Wijnand b917011082
Add props to define source dependencies on io/util/lm/zinc
Use either:

* -Dsbtio.path / -Dsbtutil.path / -Dsbtlm.path / -Dsbtzinc.path on the
  command line, or

* -Dsbtio.path= / sbtutil.path= / sbtlm.path / -Dsbtzinc.path in
  project/local.properties
2016-12-11 12:08:28 +00:00
Dale Wijnand cb2e17a347
Cleanup Dependencies 2016-12-11 12:08:28 +00:00