Commit Graph

251 Commits

Author SHA1 Message Date
Eugene Vigdorchik 633f4736b3 Add SourcePosition to setting. 2012-01-23 18:13:02 +04:00
Mark Harrah 6a7eb6c937 Merge branch 'parsing_changes' into 0.12 2012-01-15 13:09:41 -05:00
Mark Harrah 9b5ab3cb09 work around unclosed jline history-related streams 2012-01-14 21:09:11 -05:00
Mark Harrah 3191eedf9e explicitly close streams on java.lang.Process to avoid descriptor leaks 2012-01-14 21:09:11 -05:00
Mark Harrah 82326cc899 new aggregation approach, still need exclusion mechanism 2012-01-09 08:01:24 -05:00
Mark Harrah ec48779829 moved task axis before the key 2012-01-09 08:00:29 -05:00
Mark Harrah faa0809146 IO.touch operates on absolute file 2011-12-13 17:29:08 -05:00
Mark Harrah bca9ace1f7 fix 'not' parser combinator, add EOF 2011-12-13 17:29:08 -05:00
Mark Harrah 7a75acfe03 treat case differences differently 2011-12-13 17:15:05 -05:00
Indrajit Raychaudhuri 859f569da0 Fix spelling: 'descendent' is now 'descendant', English ftw. Closes #293 2011-12-12 19:10:47 +05:30
Mark Harrah f3f4bea2d5 fixes #280. sort aggregate and classpath dependencies separately to keep cycle detection for them separate 2011-11-27 17:48:01 -05:00
Mark Harrah a524d48008 in cyclic error message, put each node string on different line 2011-11-05 08:53:42 -04:00
Mark Harrah ab8ac83b6c missing import 2011-11-04 13:44:09 -04:00
Mark Harrah 4afbc5b1b4 preserve IOException type when translating exceptions. fixes #253 2011-11-04 13:40:59 -04:00
Mark Harrah 2cbc755856 cleanup, add regex for escape sequences to be used later 2011-10-30 18:39:18 -04:00
Indrajit Raychaudhuri 64af38bb84 Use IO.write instead of explicit resource management 2011-10-26 21:43:42 +05:30
Mark Harrah 5fd3c1d2e5 task execution interruptible using ctrl+c. fixes #228,#229
- interrupts task execution only
- no further tasks scheduled
- existing tasks interrupted
- a task must terminate any other started threads when interrupted
- set cancelable to true to enable
- currently, 'run' properly terminates if the application properly
   terminates when interrupted
- 'console' does not, 'test' depends on the test framework

- also bundled: set connectInput to true to connect standard input to forked run
2011-10-18 22:43:25 -04:00
Mark Harrah 5e37d8e585 brief API documentation on some core settings types 2011-10-16 20:20:45 -04:00
softprops 762bac2975 add support for a masked readline 2011-10-13 20:42:39 -04:00
Mark Harrah a3bb16618d fix stackoverflow caused by using List.separate, as tracked down by pvlugter 2011-10-09 21:48:15 -04:00
Mark Harrah 0f447c201e directly read compiler.properties so that Scala classes don't need to be loaded when no work needs to be done. 2011-10-05 18:09:27 -04:00
Mark Harrah 7702d30f40 generalize addArtifact arguments to Initialize[...]. fixes #207 2011-10-01 14:40:14 -04:00
Mark Harrah d15504d970 local settings, sbt-package-private for now 2011-10-01 14:40:14 -04:00
Mark Harrah 705608d59d fix parser test 2011-10-01 14:40:14 -04:00
Mark Harrah 9ad15672d5 fix laziness of parser failure messages 2011-09-26 08:20:07 -04:00
Mark Harrah 568fe3dc47 fix order of returned lists in Util.separate 2011-09-26 08:20:07 -04:00
Mark Harrah 541004419f provide consecutive tab press count for completion combinators 2011-09-20 20:51:47 -04:00
Mark Harrah 565cd3802f fix dependsOn breakage from Initialize rework 2011-08-26 23:27:03 -04:00
Mark Harrah 19f4b423e1 fix undefined key suggestion for updating settings 2011-08-14 10:53:38 -04:00
Mark Harrah d36e02ea22 allow setting initialization to be partially dynamic and run in parallel 2011-08-14 10:53:37 -04:00
Mark Harrah f795f70752 drop unused KApply from settings 2011-08-14 10:53:37 -04:00
Mark Harrah aa7ea022b8 clean up undefined reference checking to be a proper function 2011-08-14 10:53:37 -04:00
Mark Harrah 18b57bb101 fix ++ command to not require a space after it 2011-08-14 10:53:37 -04:00
Mark Harrah 90f25b234e Settings overhaul, intended to be source compatible where it matters.
Moves many methods previously provided by implicit conversions directly onto the classes
  for better discoverability, especially with scaladoc.

1. Initialize now allowed in more places.  Minor renamings in Initialize to avoid conflicts
  a. map -> apply
  b. get -> evaluate
2. Identity on Scoped* is deprecated- it is now redundant
3. Can now use += and <+= for String, Int, Long, Double settings.
  There may be some problematic corner cases in inference, especially with +=, ++, <+=, <++=
4. Some classes with a scoped: ScopedKey[T] method now have scopedKey: ScopedKey[T] instead.
5. The implicit conversion to ScopedKey[T] is now deprecated.  Use the scopedKey method.
6. :== and ::= are now private[sbt] to better reflect that they were internal use only.
2011-08-14 10:53:37 -04:00
Mark Harrah 112f58db28 fix ScalaProviderTest 2011-08-14 10:53:37 -04:00
Mark Harrah 70dcae84ee preserve key+configuration ambiguity through task+extra parsing. fixes #135 2011-08-05 21:59:49 -04:00
Mark Harrah 3ce7c0411d search java.library.path for default run/test loader 2011-08-05 21:56:32 -04:00
Mark Harrah 7ea35daec2 class loader extension to handle native libraries loaded in multiple class loaders 2011-08-05 21:56:32 -04:00
Mark Harrah 7f64e84393 method to create temporary directory in arbitrary directory 2011-08-05 21:56:32 -04:00
Mark Harrah 980e906ca1 handle custom -bootclasspath in incremental recompilation 2011-08-04 07:20:25 -04:00
Mark Harrah a19d5a799c try out simplified display of scoped keys 2011-08-04 07:20:25 -04:00
Mark Harrah f8d12c5106 Seq[Setting[_]] <=> SettingsDefinition 2011-07-30 18:11:20 -04:00
Mark Harrah 3e9921a07a for undefined references, suggest the nearest defined scope that is more specific if it exists. fixes #135 2011-07-27 22:35:20 -04:00
Mark Harrah f52726c221 add ability to specify actual version for ScalaInstance. ref #127. 2011-07-26 13:34:02 -04:00
Mark Harrah 24c74c6860 display all undefined settings at once 2011-07-25 21:59:22 -04:00
Mark Harrah d4c76b0d0e add ability to hide a token until it is explicitly started 2011-07-24 22:35:27 -04:00
Mark Harrah bf8b577e4f proper resolvedScoped implementation 2011-07-19 21:29:05 -04:00
Mark Harrah 0b3ec05a81 support incremental recompilation when using exportJars. fixes #108 2011-07-18 17:14:22 -04:00
Mark Harrah b8bf259500 support starr as a scala home 2011-07-16 12:31:15 -04:00
Mark Harrah 0e5533786c normalize slashes in custom IO.toURI function. fixes #105. 2011-07-13 18:08:29 -04:00