Commit Graph

92 Commits

Author SHA1 Message Date
Mark Harrah 9e080d7418 configurable shell prompt
for example:
 Command.ShellPrompt := {
   s => Project.extract(s).cid + "> "
 }
2011-02-21 19:35:05 -05:00
Mark Harrah a6df926d41 fix issue with updating a non-definitive setting 2011-02-15 18:43:44 -05:00
Mark Harrah 86d82141a3 cleanup/rework related to Settings/InputParser
- drop fillThis: handle in injectStreams instead
- simplify InputParser construction (at the expense of implementation simplicity)
- split out ScopeKey/initialization parts of Setting with separate Initialize trait
  + makes Apply obsolete
  + makes the Initialize trait properly composable
  + this allowed splitting the InputParser definition into
    an Initialize for parsing and one for the action
- implement test-only
- inject resolved scope
2011-02-11 20:22:17 -05:00
Mark Harrah b503716e38 'get' now shows defining scope, related definitions, dependencies 2011-02-06 11:33:56 -05:00
Mark Harrah 80ae202965 overhaul Streams injection 2011-02-05 21:39:34 -05:00
Mark Harrah 6688c4fdf1 improve Setting construction
- make all constructing methods end in = for lowest precedence
- rename Scope constructing method 'apply' to 'in' to allow 'apply' to
    be used on single settings as well as tuples and 'in' reads better
2011-02-04 22:02:39 -05:00
Mark Harrah 536e95cca5 translate Uninitialized message to use 'display' 2011-01-31 18:16:25 -05:00
Mark Harrah 2f41690269 KList updates
- exchange variance annotations on KList for a bounded existential
   in KList.toList
 - add foldr (reason for dropping variance annotations)
 - add functions stating equivalence between
   + KList[M,H :+: T] and KCons[H,T,M]
   + KList[M,HNil] and KNil
2011-01-28 21:07:29 -05:00
Mark Harrah e41d4cc8c8 convenience method on Settings to get all (Scope, AttributeKey[_]) pairs 2011-01-25 22:19:03 -05:00
Mark Harrah d906455aed split load-time project structure scope resolution into two phases
first phase resolves referenced build URIs as each build is loaded
second phase resolves references without an explicit project ID
  (this requires the whole structure to be known and this isn't available during the first phase)
setting resolution is unchanged (done after both phases)
2011-01-25 22:14:02 -05:00
Mark Harrah 5f9c6f7f26 improve commands, proper build/project base resolution
finish alias support
better project printing in 'projects'
completion support for 'help'
resolve URIs in ProjectRef against base URI of defining build in keys and project relations
resolve base directories and record build URI in BuildUnit
preserve relative paths in File to URI conversion for later resolution
2011-01-23 22:34:17 -05:00
Mark Harrah bcc8c37f4d multi-project model based on Settings and ProjectRef 2011-01-18 18:48:32 -05:00
Mark Harrah c24c0b7a23 fully-scoped Settings 2011-01-18 18:48:32 -05:00
Mark Harrah 783d732868 Remove obsolete comments 2011-01-18 18:43:58 -05:00
Mark Harrah c436a1d3eb Settings 2010-12-12 21:33:32 -05:00
Mark Harrah 8ed0f36dbe TaskGroups, Context in tasks, new tasks
add syncTask task constructor and copy-resources/copy-test-resources instances
add console-quick, test-console, console, test-run
add IntegrationTest trait
make Context available through 'context' task
update 'last' and 'show' to use Context to retrieve task by name
drop SingleProject (superseded by Project)
add TaskGroup to be able to inject groups of named tasks
fix watchPaths missing flat sources
proper logging in a few more places, such as compile
2010-11-24 14:18:59 -05:00
Mark Harrah 4a0461c34f minor updates to utilities 2010-10-30 11:54:43 -04:00
Mark Harrah 7dca038bde improving incremental compilation
support lazy arguments in data type generator
SafeLazy implementation that explicitly clears the reference to the thunk
in API representation, drop synthetic modifier and merge deferred into abstract
handle cyclic structures in API generation, display, comparison, persistence
gzip compile cache file
bump to 2.8.1.RC3, project definition cleanup
fix main method detection to check for the right name
properly view inherited definitions
exclude constructors of ancestors
2010-10-22 21:55:16 -04:00
Mark Harrah ccb3a840c6 Attributed, attaches attributes to arbitrary data 2010-09-17 20:46:31 -04:00
Mark Harrah b033bc889d toString for HList and KList 2010-09-12 22:27:11 -04:00
Mark Harrah f884fa9cdd hierarchical in-memory settings 2010-09-08 14:29:00 -04:00
Mark Harrah f14e7883ed fix PMap test 2010-09-04 08:12:17 -04:00
Mark Harrah 12336b79f6 minor updates for p2 2010-08-30 09:10:25 -04:00
Mark Harrah dd8d58a9c0 cross-configurations 2010-08-27 19:17:03 -04:00
Mark Harrah 5b21bae244 task system cleanup
KList.map -> transform
can now drop trailing 'H' from multi-Task 'mapH'
compressed Action hierarchy by merging (Flat)Map{ped,All,Failure} into (Flat)Mapped
moved most information in Info into attributes: AttributeMap to allow future changes
2010-08-21 22:55:42 -04:00
Mark Harrah 6d0d3a1e4d remove Rewrite 2010-08-14 09:49:28 -04:00
Mark Harrah 9520c6eae3 KList updates
add conversion from List[M[_]] to KList[M, HList]
required KList to be covariant in its HList parameter
2010-08-14 09:46:49 -04:00
Mark Harrah 3bc345ffe0 type alias A ~>| B for [T]A[T] => Option[B[T]] 2010-08-10 08:40:14 -04:00
Mark Harrah 6cada88fb3 split out read-only RMap from PMap 2010-08-10 08:39:30 -04:00
Mark Harrah 96c50975f2 * move Environment classes to util/env module
* move TrapExit, SelectMainClass to run module
* rearrange some compilation-related code
* Jetty-related code moved to web module
2010-07-14 19:24:50 -04:00
Mark Harrah 7ecfc0b8f8 discovery, persistence, frontend, and various fixes to incremental 2010-07-02 06:57:03 -04:00
Mark Harrah ba725d5046 Relation.make 2010-06-27 09:16:16 -04:00
Mark Harrah f1b5e0cf50 MList -> KList, Relation[T] -> Relation[A,B] 2010-06-24 18:09:07 -04:00
Mark Harrah ff1657879c relation data structure 2010-06-21 21:22:11 -04:00
Mark Harrah 93492a011c conversions 2010-06-10 08:14:50 -04:00
Mark Harrah 1144fb5a27 graph evaluator, rewrite, general updates 2010-06-07 08:53:21 -04:00
Mark Harrah b1bb6ce5ec variance fixes, inference fixes with Result hierarchy 2010-06-01 08:38:56 -04:00
Mark Harrah 86c938d198 MList covariant, initial Node 2010-05-30 21:14:18 -04:00
Mark Harrah 7927d8bdad higher-kinded heterogeneous lists: MList[M[_]]
natural transformations: ~>[A[_], B[_]]
Scala 2.8
2010-05-30 18:42:58 -04:00
Mark Harrah a293916e46 legal cleanup 2010-02-07 23:45:19 -05:00
Mark Harrah 604a5413c9 Cleaning up tasks and caching 2009-12-11 18:56:09 -05:00
Mark Harrah f83d59b8cc Initial xsbt commit 2009-08-16 14:29:08 -04:00