Commit Graph

280 Commits

Author SHA1 Message Date
Mark Harrah c7c4969eb7 Revert "work around for 2.10. pattern matching on KNil now requires KNil()"
This reverts commit 2f726b34c3.

This commit caused "java.lang.Error: typeConstructor inapplicable for <none>" when running 'sxr'
2012-03-17 22:58:13 -04:00
Mark Harrah 474cd75d06 print-warnings task for Scala 2.10+ to avoid needing to rerun 'compile' to see deprecation/unchecked warnings 2012-03-17 19:31:55 -04:00
Mark Harrah 8fc5db4a8a work around for 2.10. pattern matching on KNil now requires KNil() 2012-03-17 19:31:03 -04:00
Mark Harrah 0e130d29e9 fix argument parsing, which unintentionally required two characters. ref #396 2012-03-13 08:01:58 -04:00
Indrajit Raychaudhuri 51db55d847 Replace `Pair.apply` with `Util.pairID`, avoids extra class generation 2012-03-12 05:25:12 +05:30
Mark Harrah 38941a4cfd Merge pull request #396 from eed3si9n/string_literals
Parser for escaped and verbatim string literals
2012-03-11 12:15:20 -07:00
e.e d3si9n 9239e2fd46 fixes NotQuoted 2012-03-11 15:02:50 -04:00
e.e d3si9n feb315b878 StringVerbatim is now stateless 2012-03-11 13:19:13 -04:00
e.e d3si9n e6e778a1a3 removed Octal 2012-03-11 13:12:23 -04:00
e.e d3si9n 8a7a3228e8 implemented parser for escaped string and verbatim string 2012-03-11 07:31:39 -04:00
Mark Harrah 48170f649a convenience functions for testing parsers 2012-03-10 14:16:40 -05:00
Mark Harrah d6bc087271 handle absence of CONT signal 2012-03-09 13:38:45 -05:00
Mark Harrah bffa361d3b merge test-quick reimplementation #393 from vigdorchik/wip_test_quick 2012-03-09 09:31:39 -05:00
Mark Harrah 1848d14815 handle CONT signal to reset JLine after resuming from stop. fixes #394 2012-03-09 07:08:38 -05:00
Mark Harrah 26be0c0be4 move error processing to complete/ 2012-03-09 07:08:38 -05:00
Mark Harrah 4b145734a7 Merge pull request #386 from retronym/topic/macro-def
Topic/macro def
2012-03-04 15:46:56 -08:00
Jason Zaugg 27970799c8 Macro def aware recompilation.
- Read macro modifier from method definition.
 - Always recompile downstream files after a file containing macro defs is recompiled.
 - Source is extended with a hasMacro attribute. Mark suggests that this might be better
   tracked in Relations, but I'm not sure how to make that change.
2012-03-04 17:35:51 +01:00
Mark Harrah 150f792f89 Merge pull request #369 from vigdorchik/Overwrite_setting
Overwrite previous setting if possible.
2012-02-28 07:48:44 -08:00
Mark Harrah 5893aa0e55 cleanup SourcePosition hierarchy 2012-02-25 12:01:07 -05:00
Mark Harrah bd3e2dd6ff Merge pull request #376 from vigdorchik/use_atomic_counters
Use AtomicInteger for test statistics, Fixes #372.
2012-02-20 14:46:23 -08:00
Eugene Vigdorchik 993e981242 Merge 2012-02-20 12:30:10 +04:00
Mark Harrah 4b43a154cb cleanup, fix compilation 2012-02-19 22:41:26 -05:00
Daniel C. Sobral be6cd00b81 Fix file descriptor leak.
Close an InputStream when finished reading it. When given an
OutputStream to connect to a process input, close it when the
transfer is completed. Protect System.in in this latter case.
2012-02-19 16:30:30 -05:00
Daniel C. Sobral 0f3c75a2ea Revert "explicitly close streams"
Revert "explicitly close streams on java.lang.Process to avoid descriptor leaks"

This reverts commit 3191eedf9e.
2012-02-19 16:30:30 -05:00
Mark Harrah 79caa03093 Merge pull request #370 from vigdorchik/introduce_range_positions
Remember the range for settings read from .sbt files
2012-02-17 05:04:59 -08:00
Eugene Vigdorchik 786fe5f4ce Remember the range for settings read from .sbt files 2012-02-16 16:58:51 +04:00
Mark Harrah c5167c6b70 Merge pull request #348 from vigdorchik/wip_keep_project_on_reload
keep project on reload
2012-02-02 06:30:24 -08:00
Eugene Vigdorchik 7cbc967dfe Merge branch '0.12' of git://github.com/harrah/xsbt into 0.12 2012-01-31 17:50:17 +04:00
Mark Harrah 6e90399a30 Merge pull request #342 from vigdorchik/wip_sourcepos_eugenevigdorchik
Wip sourcepos eugenevigdorchik
2012-01-30 14:34:03 -08:00
Eugene Vigdorchik af2361105d Merge branch 'wip_sourcepos_eugenevigdorchik' of github.com:vigdorchik/xsbt into wip_sourcepos_eugenevigdorchik 2012-01-30 20:00:00 +04:00
Eugene Vigdorchik 0f7660a28a Merge branch 'wip_sourcepos_eugenevigdorchik' of github.com:vigdorchik/xsbt into 0.12 2012-01-30 19:59:02 +04:00
Eugene Vigdorchik e2c1ef32fa More cleanup. 2012-01-30 19:06:26 +04:00
Eugene Vigdorchik 5f0774fe9a Change SourcePosition definition + minor cleanup. 2012-01-30 19:06:24 +04:00
Eugene Vigdorchik c6cba20682 Add SourcePosition to setting. 2012-01-30 19:06:18 +04:00
Mark Harrah 4945534614 split command core to main/command/ 2012-01-29 14:36:27 -05:00
Eugene Vigdorchik 79ee34fa97 More cleanup. 2012-01-27 17:51:13 +04:00
Eugene Vigdorchik a3fa54be2c Change SourcePosition definition + minor cleanup. 2012-01-24 13:32:21 +04:00
Eugene Vigdorchik 051e02e48a Merge 2012-01-23 18:16:51 +04:00
Eugene Vigdorchik e1182031a0 Add SourcePosition to setting. 2012-01-23 18:13:02 +04:00
Eugene Vigdorchik acf8e1ba68 Add SourcePosition to setting. 2012-01-20 17:31:36 +04:00
Mark Harrah f11a053cc9 Merge branch 'parsing_changes' into 0.12 2012-01-15 13:09:41 -05:00
Mark Harrah c3c7c92053 work around unclosed jline history-related streams 2012-01-14 21:09:11 -05:00
Mark Harrah e23abdfce3 explicitly close streams on java.lang.Process to avoid descriptor leaks 2012-01-14 21:09:11 -05:00
Mark Harrah 74eaee5a5e new aggregation approach, still need exclusion mechanism 2012-01-09 08:01:24 -05:00
Mark Harrah 392ec5150a moved task axis before the key 2012-01-09 08:00:29 -05:00
Mark Harrah a9ccd74eb8 fix 'not' parser combinator, add EOF 2011-12-13 17:29:08 -05:00
Mark Harrah 0ff6b65376 treat case differences differently 2011-12-13 17:15:05 -05:00
Mark Harrah 90b9618d50 Merge pull request #283 from mallman/launcher_version
Print the launcher version and exit if launched with exactly one argument named "--version"
2011-12-06 17:41:41 -08:00
Mark Harrah 8c2af3f42a Merge pull request #276 from eed3si9n/inspecttree
refactored scoped key manifest extraction to ScopedKeyData
2011-11-27 19:27:11 -08:00
Mark Harrah 9e708b17e2 fixes #280. sort aggregate and classpath dependencies separately to keep cycle detection for them separate 2011-11-27 17:48:01 -05:00