Commit Graph

918 Commits

Author SHA1 Message Date
Eugene Yokota 56b51df66b Avoid default params 2017-01-24 20:29:35 -05:00
Eugene Yokota 08e9ce9526 Implement basic event logging 2017-01-23 16:38:14 -05:00
Dale Wijnand 857dbf97fe Merge pull request #70 from eed3si9n/wip/fixappender
Handle ReusableObjectMessage
2017-01-18 12:01:55 +00: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
Dale Wijnand 5b8de3abca Merge pull request #68 from eed3si9n/topic/logging
Reimplement multi-logger using log4j2
2017-01-13 11:41:10 +00: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
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 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
Dale Wijnand b0536f1a4d
new sjson-new 2016-12-15 18:02:39 +00:00
eugene yokota b5541e48ad Merge pull request #63 from dwijnand/files-info-format
Find a way to give FilesInfo an implicit JsonFormat
2016-12-10 23:01:35 -05:00
Dale Wijnand 65ffbfd1f2
Add mavenLocal 2016-12-06 15:34:03 +00:00
Dale Wijnand 11efe6846f
new sjson 2016-12-06 11:27:17 +00:00
Dale Wijnand 10183dcf3d
Upgrade sjson-new 2016-12-06 10:36:05 +00:00
Dale Wijnand 9a7abcb9c1
sbt/io upgrade 2016-12-01 14:39:24 +00:00
Dale Wijnand ac14fc8de8
Find a way to give FilesInfo an implicit JsonFormat 2016-12-01 14:38:57 +00:00
eugene yokota 6527382a4e Merge pull request #62 from dwijnand/fix-file-info
Fix stackoverflow in implicit FilesInfo JsonFormat
2016-11-30 12:25:30 -05:00
Dale Wijnand 92e90c559b
Fix stackoverflow in implicit FilesInfo JsonFormat
Fixes #61

* move it back into style
* use that in Tracked (uncomment some code)
* specify the style in the spec test
* must define absolute file.. (doesn't pass with relative, which is wrong imo)
2016-11-30 16:52:10 +00:00
Dale Wijnand 1368f5f9db
Cleanup Input/Output/CacheStore 2016-11-30 16:51:51 +00:00
Dale Wijnand c6e793b03c
Test FilesInfo brokenness 2016-11-30 16:51:51 +00:00
Dale Wijnand 71d104da3d
Tweaks in FileInfo 2016-11-30 16:51:51 +00:00
Dale Wijnand 875a30cc70
Cleanup FileInfo 2016-11-30 16:51:51 +00:00
Dale Wijnand d86eab7a7a
sbt-doge 0.1.5 for plz 2016-11-29 11:07:36 +00:00
Dale Wijnand 89a03b7dae
Scala 2.12.0 & sbt/io 1.0.0-M7 2016-11-29 10:55:27 +00:00
eugene yokota 613bf8b034 Merge pull request #60 from dwijnand/additional-formats
Add back additional formats.
2016-11-28 15:22:47 -05:00
Dale Wijnand 998cffd9ab
Change hlist format to serialise to flat array 2016-11-28 18:57:51 +00:00
Dale Wijnand bcd5e800c4
Remove InputStream/OutputStream support 2016-11-28 11:11:10 +00:00
Dale Wijnand ab9165ab04
Remove formats already present upstream in sjson-new 2016-11-28 10:36:34 +00:00
Dale Wijnand ab08e1a9d5
Add back additional formats.
At least a subset of these are required for sbt/sbt to migrate away from
sbinary.

This reverts commit cee43575ce.
2016-11-25 11:42:07 +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 f3adb2953c
Add sbt-pgp, required by publishSigned in release 2016-11-15 23:26:08 +00:00
eugene yokota cf2f4111ec Merge pull request #57 from dwijnand/deprecations
Remove deprecated methods
2016-11-15 12:42:59 -05:00
Dale Wijnand 3e3b74096b Merge pull request #54 from dwijnand/reunite
Add props to define source dependency on io
2016-11-15 17:15:40 +00:00
Dale Wijnand 805cac42bf Merge pull request #55 from dwijnand/better-maybe
Improve xsbti.Maybe
2016-11-15 17:15:23 +00:00
Dale Wijnand 033adfe4ea
Remove deprecated methods 2016-11-15 17:14:10 +00:00
Dale Wijnand d6ebb4bc1e Upgrade to sbt 0.13.13 (#56) 2016-11-09 14:06:48 +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 41c7e9b85d
Improve xsbti.Maybe
* Make Nothing a singleton
* Make Maybe's constructor private
* Optimise equals to use reference equality first
* Optimise Just.equals by having proper, non-anonymous subclasses
* Having non-anonymous subclasses makes them have nicer classnames
* Give Just a value() method
2016-10-31 15:33:39 +00:00
Dale Wijnand ea56f331a1 Lazily concatenate failed errors for completion [forwardport] (#53)
* Fixes [sbt/sbt#2781]
* When using `<TAB>` completion the failed errors were always
  computed for mathcing projects even if there was no failure,
  leading to excessive computation of Levenshtein distances
  and a large lag (seconds) on builds with many matching
  projects.
2016-10-31 09:23:38 +00:00
eugene yokota d63a1f2492 Merge pull request #52 from dwijnand/eval
Really expose Eval. Fixes error in #50
2016-10-28 13:17:05 -04:00
Dale Wijnand 8d2f106f7a
Really expose Eval. Fixes error in #50 2016-10-28 12:19:41 +01:00
eugene yokota 33b65edac0 Merge pull request #51 from dwijnand/noxml
Remove scala-xml, unused
2016-10-27 09:46:23 -04:00
eugene yokota 0cad442a3e Merge pull request #50 from dwijnand/eval
Expose Eval. Fixes sbt/sbt#2616
2016-10-27 09:46:04 -04:00