Commit Graph

120 Commits

Author SHA1 Message Date
Dale Wijnand da9084b2d8
Add, configure & enable MiMa 2017-07-21 09:26:35 +01:00
Eugene Yokota b0b9dc5e0f switch to using sjson-new-murmurhash
The input validation for caching currently relies on having a stack of `scala.math.Equiv`, which is questionable since it can fallback to universal equality.

This is likely related to the intermittent caching behavior we are seeing in https://github.com/sbt/sbt/issues/3226
2017-07-14 12:27:06 -04:00
Dale Wijnand 9d7f7bf0ec
Remove modules that have moved back to sbt/sbt 2017-07-07 14:41:32 +01:00
Dale Wijnand c76d2624f9
No need for util-collection on Scala 2.10 anymore
We still publish parts of sbt for Scala 2.10 for compiler-bridge reasons
in Zinc.  However util-collection is now becoming an sbt-only module, so
it won't need to continue to cross-build to Scala 2.10!  Its new
dependency util-position which is used by lm also isn't a dependency of
the compiler-bridge, so also doesn't need to be cross-built to Scala
2.10.
2017-07-06 13:30:15 +01:00
Dale Wijnand 8d0463e6e8
No sbt-doge in sbt 1, switch back to + 2017-07-06 13:25:05 +01:00
Dale Wijnand 48d82f95c2
Breakout Position to drop lm->collection dep 2017-07-03 12:04:45 +01:00
Dale Wijnand 84180ec402
Move Showlines to logging to drop logging->collection dep 2017-07-03 12:04:45 +01:00
Dale Wijnand f8d67d6837
Move HListFormats to collection to drop cache->collection dep
Looks like the reason that util-cache depended on util-collection was to
define the sjson-new formats (HListFormats) for util-collection's HList.
Given that util-collection already depends on sjsonnew, HListFormats can
also be defined in util-collection.

All that was left then was (a) HListFormatSpec requires
sjsonnewScalaJson, so that was added in test scope, and (b) HListFormats
had to be dropped from sbt.util.CacheImplicits - HListFormats will have
to be imported and/or mixed-in where required downstream. For importing
convenience I defined a companion object.
2017-07-03 12:04:44 +01:00
Eugene Yokota 4e01a35917 Contraband update 2017-07-01 07:47:19 -04:00
Eugene Yokota 32d6bf38cf send TraceEvent on crash
Fixes sbt/sbt#3234
2017-06-28 02:18:03 -04:00
Eugene Yokota 244bf0f6e1 Bump to using sbt 1.0.0-M6 2017-06-14 01:39:49 -04:00
Eugene Yokota 122c738913 bump version 2017-05-17 00:18:24 -04:00
Eugene Yokota f48848e5d4 Adds overrides for File-based caching
sbt/util#45 implemented caching using sjson-new. Now many of the functions take `CacheStore` that abstracts the caching ability.

sbt/sbt#3109 demonstrates that setting up CacheStore requires boilerplate involving concepts introduced in sbt 1.

This change adds back overrides using File by making assumption that majority of the time we would want standard JSON converter.
2017-04-17 10:24:54 -04:00
Eugene Yokota 061b259d1d Fix build 2017-04-04 23:56:54 -04:00
Eugene Yokota 66f345a303 Cross publish utilCollection
Fixes sbt/util#72
2017-04-03 03:20:36 -04:00
Dale Wijnand bbeecae0b1
Define OptJsonWriter & put it on AttributeKey 2017-03-21 00:09:17 +00:00
Eugene Yokota a9377ce4a6 Implements registerStringCodec
Uses TypeTag to recover the full name of type parameter, which is calculated by StringTypeTag. This is sent along in ObjectEvent.
On the other end, we can lookup typeclass instances using the tag key.
2017-02-08 05:35:49 -05:00
Eugene Yokota ca6a0be602 Handle ReusableObjectMessage
When log4j2 is not using async logging, it sends the ObjectMessage using ReusableObjectMessage.
2017-01-18 06:54:15 -05:00
Eugene Yokota 36eeb4578d Reimplement multi-logger using log4j2
This introduces ManagedLogger, which is a wrapper around Log4j2's async logging.
Log4j2 separates the notion of logger (the code that collects events) and appender (the code that acts on events). The old code is kept around intentionally to minimize breakage during transition.
2017-01-13 02:49:12 -05:00
Eugene Yokota 496e8d3e4f Cross building 2016-12-22 22:30:45 -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 5014e7f6b7 sjson-new 0.7.0 2016-12-22 11:19:48 -05:00
Dale Wijnand 65ffbfd1f2
Add mavenLocal 2016-12-06 15:34:03 +00:00
Dale Wijnand 998cffd9ab
Change hlist format to serialise to flat array 2016-11-28 18:57:51 +00:00
eugene yokota a2c73e77f9 Cross publish util-logging and util-testing (#59) 2016-11-22 23:41:29 +00:00
Dale Wijnand 20deba4b24
0.1.0-M15 2016-11-15 23:26:24 +00:00
Dale Wijnand 0d86bbdd0e
Add props to define source dependency on io
Use either -Dsbtio.path on the command line
or sbtio.path= in project/local.properties
2016-10-31 16:09:19 +00:00
Dale Wijnand c2b88760ad
Remove scala-xml, unused 2016-10-27 11:43:34 +01:00
Martin Duhem 465774b13c Adapt to recent changes to sbt-datatype 2016-07-24 21:10:36 +01:00
Martin Duhem 4cffccc8c8 Caching based on sjsonnew 2016-06-28 11:17:38 +02:00
Dale Wijnand 4e4aa08a1a Drop Scala 2.10 2016-06-19 13:06:43 +01:00
Dale Wijnand 121e7f5d9e Add -Ywarn-unused & -Ywarn-unused-import, & fix warnings 2016-06-19 11:42:31 +01:00
Dale Wijnand 8989549cb6 Remove scalacOptions already set by house rules 2016-06-19 11:16:02 +01:00
Eugene Yokota 75ca253775 Don't publish tests 2016-05-11 11:39:33 -04:00
Eugene Yokota daaa45f494 0.1.0-M12 2016-05-04 16:28:17 -04:00
Eugene Yokota 9c49a0ed9f Update dependencies 2016-05-04 16:27:29 -04:00
Eugene Yokota 5a60c0eea7 0.1.0-M11 2016-05-03 17:09:22 -04:00
Eugene Yokota 56e840018c Bump to 0.1.0-M10 2016-03-31 01:23:34 -04:00
eugene yokota d84f82d8d4 Merge pull request #31 from sbt/wip/thread
Inject thread.sleep, which allows thread interruption during readLine
2016-03-29 15:53:46 -04:00
Eugene Yokota c1aa172467 0.1.0-M9 2016-03-18 22:00:02 -04:00
Dale Wijnand e1c7f39e5a Exempt out of -Xfuture in util-collection 2016-02-14 23:15:32 +00:00
Dale Wijnand 81757bcb15 Bump sbt-houserules to add MiMa
See sbt/sbt#2383
2016-02-14 21:16:49 +00:00
Eugene Yokota ee7e2889dc bumping up to 0.1.0-M8 2015-12-23 19:23:11 -05:00
Martin Duhem 23698d6664 Add scripted-core 2015-12-23 09:50:36 +01:00
Eugene Yokota f84251c877 0.1.0-M6 2015-11-13 01:59:18 -05:00
Eugene Yokota a0fb5e11fc 0.1.0-M5 2015-09-30 22:00:58 -04:00
Eugene Yokota 79b90917ec New house rules 2015-09-16 22:42:10 -04:00
Eugene Yokota c7c697bad1 Add picklers to FileInfo 2015-09-16 21:07:41 -04:00
Eugene Yokota 10fa9a4709 Using doge to release correctly 2015-09-05 01:42:34 -04:00