Commit Graph

874 Commits

Author SHA1 Message Date
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
Dale Wijnand c2b88760ad
Remove scala-xml, unused 2016-10-27 11:43:34 +01:00
Dale Wijnand 881ab0f298
Expose Eval. Fixes sbt/sbt#2616 2016-10-27 11:13:45 +01:00
eugene yokota 1a9b515e33 Merge pull request #45 from Duhemm/wip/remove-sbinary
Caching based on sjsonnew
2016-10-25 19:22:57 -04:00
eugene yokota fba4e78543 Merge pull request #46 from Duhemm/wip/maybe-equals
Implement hashCode, equals and toString in Maybe
2016-09-14 11:26:20 -04:00
eugene yokota b184f7e539 Merge pull request #48 from eed3si9n/wip/jline2
Interruptible read line
2016-09-14 11:24:51 -04:00
Eugene Yokota a38e100678 Handle sleep interruption 2016-09-12 23:11:20 -04:00
Eugene Yokota bc32cb4c6f Trying to make readline timeout 2016-09-12 23:11:20 -04:00
Martin Duhem 8956da53a8 Update to latest revision of sjsonnew 2016-08-21 19:56:31 +02:00
Martin Duhem cee43575ce Remove unused additional formats 2016-08-21 17:52:08 +02:00
Martin Duhem 4e233d81f9 Make Maybe's toString closer to the actual code 2016-08-21 14:24:34 +02:00
Martin Duhem 432c93b0bb Implement hashCode, equals and toString in Maybe
This brings Maybe's behavior closer to scala's Option.
2016-08-19 15:52:17 +02:00
Martin Duhem feda07b896 Adapt to recent changes to sjson-new 2016-07-24 21:42:03 +01:00
Martin Duhem 465774b13c Adapt to recent changes to sbt-datatype 2016-07-24 21:10:36 +01:00
Martin Duhem c395bd14a8 Add `sub` to `CacheStoreFactory` 2016-06-28 19:44:51 +02:00
Martin Duhem eda708dfeb Add `StreamFormat` and `HListFormat` 2016-06-28 19:44:32 +02:00
Martin Duhem 4cffccc8c8 Caching based on sjsonnew 2016-06-28 11:17:38 +02:00
eugene yokota d760b15193 Merge pull request #44 from dwijnand/cleanups
Fix compilation warnings, migrate to blackbox.Context
2016-06-20 08:38:42 +02:00
Dale Wijnand 5ecfc4d59f Un-deprecate now-private methods 2016-06-19 23:16:59 +01:00
Dale Wijnand 745bf4dc6d Remove Attribute#rawLabel 2016-06-19 21:21:08 +01: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 28a40163e7 Sync Scala 2.11 version in .travis.yml 2016-06-19 11:24:50 +01:00
Dale Wijnand d0826ff13c Fix compilation warnings, migrate to blackbox.Context 2016-06-19 11:16:02 +01:00
Dale Wijnand 8989549cb6 Remove scalacOptions already set by house rules 2016-06-19 11:16:02 +01:00
eugene yokota 648428285c Merge pull request #43 from eed3si9n/wip/testmixup
Don't publish tests
2016-05-11 15:26:22 -04: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 0da2f30ee8 Merge pull request #41 from eed3si9n/wip/2469
FPORT: Completion for build-level keys
2016-05-03 11:47:29 -04:00
eugene yokota 93418589b7 Merge pull request #40 from eed3si9n/wip/sbinary
Bump to sbinary 0.4.3
2016-05-02 05:53:23 -04:00
Martin Duhem 605beef7d3 Address problems reported by Codacy 2016-05-02 05:51:01 -04:00
Martin Duhem 1f45027b3a Completion for build-level keys
sbt's shell provided completion only for keys that were relative to a
defined project, but didn't provide completion for keys that belong to
the build definition only.

This commit fixes this issue by defining a new kind of `Parser` (from
which completions are generated) which runs its input simultaneously on
distinct parsers. We now define a parser for project-level keys and
another parser for build-level keys. These two parsers are eventually
combined, and we get the completions of both parsers.

Fixes sbt/sbt#2460
2016-05-02 05:50:28 -04:00
Eugene Yokota 30ee653e82 Bump to sbinary 0.4.3
sbinary 0.4.3 is available from Maven Central
2016-05-02 04:00:57 -04:00
Dale Wijnand cc76d9ccd8 Merge pull request #39 from eed3si9n/wip/jline
FPORT: Workaround for Jline regression
2016-05-02 08:51:20 +01:00
eugene yokota d49b6fd420 Fixes #2480. Workaround for Jline regression (#2570)
Workaround jline/jline2#205
2016-05-02 03:27:38 -04:00
eugene yokota 33208eae79 Merge pull request #38 from gkossakowski/scripted-logging
Scripted logger logs everything
2016-04-19 16:47:38 -04:00
Grzegorz Kossakowski 479546fd4c Merge pull request #37 from gkossakowski/scripted-tests-order
Run scripted tests in the alphabetical order
2016-04-12 20:16:51 +02:00
Grzegorz Kossakowski 9f9ac3a9cc Scripted logger logs everything
Do not filter any logging in scripted logger by setting the log level to
Debug.
The caller of ScriptedRunner passes a logger and decides the level of
logging it wants to receive. Scripted shouldn't filter anything.
2016-04-12 20:14:10 +02:00
Grzegorz Kossakowski 89e88ff584 Run scripted tests in the alphabetical order
Makes the order deterministic and makes it easier to see the progress on
running tests.
2016-04-07 12:48:45 +02:00
Grzegorz Kossakowski 5ad5591c8e Add target/ to .gitignore 2016-04-07 12:47:36 +02:00
eugene yokota 2d198ac67e Merge pull request #35 from eed3si9n/wip/warning
Remove some warnings
2016-04-01 16:11:07 -04:00
Eugene Yokota 299484cee6 Remove some warnings 2016-04-01 15:27:37 -04:00
eugene yokota 844851d6d4 Merge pull request #34 from eed3si9n/wip/eval
Eval from Cats
2016-04-01 15:10:51 -04:00