Commit Graph

123 Commits

Author SHA1 Message Date
Mark Harrah 2010ae7b3c back all ConsoleLoggers by a common ConsoleOut
The common ConsoleOut merges (overwrites) consecutive Resolving xxxx ... lines
when ansi codes are enabled.
2012-09-01 09:56:09 -04:00
Mark Harrah cbc94f9cb6 experimental tab completion for 'set' 2012-07-13 14:33:28 -04:00
Mark Harrah d6d922a858 display message after 'set' with defined and affected scopes+keys 2012-07-13 14:33:27 -04:00
Mark Harrah 47bef51491 tweak command list for help ordering 2012-06-15 07:57:47 -04:00
Mark Harrah 6769c94208 basis for a resident compiler
unstable, but can be tested with -Dsbt.resident.limit=n
 n is the maximum Globals kept around
2012-04-28 18:58:52 -04:00
Mark Harrah 756099c67b add extra category of help for listing command names without summary 2012-04-07 18:10:23 -04:00
Mark Harrah c358a8a5b0 more improvements to 'tasks' and 'settings' commands 2012-04-07 18:10:23 -04:00
Mark Harrah 12d72facb1 enhance 'projects' to allow temporarily adding/removing builds to the session 2012-04-06 20:28:31 -04:00
Mark Harrah 87d2144c12 rank settings, tasks and use this to restrict help/settings/tasks output. fixes #315 2012-03-25 20:35:09 -04:00
Mark Harrah 2c5a2f0f96 enable sbt-plugin auto-configuration when using 'reload plugins' 2012-03-17 19:31:04 -04:00
Indrajit Raychaudhuri 69d45b7f5f Use `provider.id.name` instead of hard-coded 'sbt' in `aboutString`
Also rearrange and reformat a bit
2012-03-02 06:05:14 +05:30
Mark Harrah 2137b29aa1 Merge pull request #369 from vigdorchik/Overwrite_setting
Overwrite previous setting if possible.
2012-02-28 07:48:44 -08:00
Indrajit Raychaudhuri 0a6f58a761 Remove use of deprecated `logger(s)` call 2012-02-28 19:07:47 +05:30
Eugene Vigdorchik bb646d0437 SessionSetting to contain seq of line. 2012-02-27 11:46:23 +04:00
Eugene Vigdorchik a52d36987c Remember the range for settings read from .sbt files 2012-02-16 16:58:51 +04:00
Eugene Vigdorchik 8daa6d3279 Keep project selection upon reload. 2012-01-31 19:12:52 +04:00
Mark Harrah 98c98f9c26 split command core to main/command/ 2012-01-29 14:36:27 -05:00
Mark Harrah 82326cc899 new aggregation approach, still need exclusion mechanism 2012-01-09 08:01:24 -05:00
Mark Harrah 79bbe8f8a4 fix tab completion of new inspect variations 2012-01-09 08:00:29 -05:00
Mark Harrah fbe8630433 move calls to runExitHooks into the State.{reload,exit,reboot} commands. fixes #306 2011-12-16 08:21:54 -05:00
Mark Harrah 619b97d215 apply <module>* : command to apply State transformations defined by module names 2011-12-16 08:21:54 -05:00
Mark Harrah 7347e89f73 'set every <setting>' for overriding every definition of a key. fixes #154 2011-12-13 17:29:08 -05:00
Mark Harrah 454bc6095b show definitions and uses of a key (not a full scoped key, just a key) 2011-12-13 17:29:08 -05:00
Mark Harrah 68027501f8 make ; a hard delimiter for multi-commands. fixes #270 2011-12-13 17:29:08 -05:00
Mark Harrah 5a5e230b61 put default boot commands into an overridable 'boot' command 2011-12-13 17:15:05 -05:00
e.e d3si9n e85833b2de "inspect tree <key>" command
This is a slightly cleaned up version of sbt-inspectr. When "inspect
tree <key>" is called, SettingGraph case class is created recursively
along the dependencies, calling the similar code as "inspect" command's
Project.details. Graph object then renders it as an ascii tree.
2011-11-23 00:49:27 -05:00
Mark Harrah 8743165d66 Adjust 'about' output because logging is now rotated. 2011-11-21 22:37:58 -05:00
Mark Harrah 03cd1ec3ab need to explicitly trim whitespace in semicolon separated commands now. fixes #261. 2011-11-09 18:30:35 -05:00
Mark Harrah fa8fb49cc3 clean up last/global logging
add history of actually executed commands
2011-10-30 18:39:18 -04:00
Mark Harrah e3e23287af reorganize help, allow keys to be arguments to 'help' command 2011-10-20 22:59:31 -04:00
Mark Harrah 078b72ee48 Add help for 'show' command. Fixes #236. 2011-10-20 22:59:30 -04:00
Mark Harrah ddd70fcc77 inject 'log' method to State as convenience for CommandSupport.logger 2011-10-16 17:27:36 -04:00
Mark Harrah 2e38c8484b defer validation of ;-separated commands until individual command is run. fixes #201 2011-10-01 14:40:14 -04:00
Mark Harrah ba70e9d604 fix time at which task session state gets cleared 2011-09-24 21:18:24 -04:00
Mark Harrah 79131a60d1 sort output of 'projects' by name. fixes #182. 2011-09-13 22:56:55 -04:00
Mark Harrah b3291dc4ee Print names of Plugins on classpath in 'about' command. 2011-09-03 17:30:38 -04:00
Mark Harrah 6ea27e893b handle Scala version better in 'about' command 2011-08-18 08:23:43 -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 a19d5a799c try out simplified display of scoped keys 2011-08-04 07:20:25 -04:00
Mark Harrah c195f943c0 aggregate 'last'. fixes #131 2011-07-27 19:50:59 -04:00
Mark Harrah 021009052e don't print Uninitialized exception name 2011-07-25 21:59:22 -04:00
Mark Harrah 00c41ae59a include logging backing file in 'about' command output 2011-07-24 17:36:42 -04:00
Mark Harrah 30baf74169 improved global logging and 'last' command 2011-07-24 17:36:42 -04:00
Mark Harrah f654b03618 allow running last from load failure prompt 2011-07-24 17:36:42 -04:00
Mark Harrah 2d4d27e529 add 'about' command with sbt versions and Scala versions 2011-07-24 17:36:42 -04:00
Mark Harrah 109326d34b additional warning when ignoring project load failure 2011-07-24 17:36:42 -04:00
Mark Harrah a9315dbd49 Interpret empty string as retry on project load error. 2011-07-24 17:36:42 -04:00
Mark Harrah f7cb85d36e restrict discarding session settings error message to direct load/reload. fixes #99 2011-07-12 23:09:57 -04:00
Mark Harrah b096d1b175 global settings preparation: separate compilation/loading stages of Eval 2011-07-09 16:54:41 -04:00
Mark Harrah 8d922b61ab cleanup MainResult handling to enable finer control over reloading 2011-07-01 23:38:03 -04:00