Commit Graph

3648 Commits

Author SHA1 Message Date
Mark Harrah 05195ecc7c fixes and additions to completion combinators
filter,map,flatMap
remove incorrect reductions
2010-12-08 22:16:12 -05:00
Mark Harrah 8e6b42180d parser combinators with builtin tab completion support
lacks memoization
lacks error messages for normal parsing
2010-12-06 19:48:49 -05:00
Mark Harrah bc11837ccc javap, test-javap, sh, exec tasks 2010-12-02 21:56:15 -05:00
Mark Harrah e68f133c7f {publish,deliver}{,-local} and package tasks 2010-12-02 20:22:18 -05:00
Mark Harrah 8df5cbabf5 grep-last task for searching logs of previous task runs 2010-12-02 20:04:29 -05:00
Mark Harrah 9787cfebc7 cache information for PublishConfiguration, although it won't be used anytime soon 2010-12-02 20:00:18 -05:00
Mark Harrah fbd24d2241 update deliver,make-pom,publish-local to be usable 2010-12-02 19:56:19 -05:00
Mark Harrah 357f2fb34d more useful, stackable version of Tracked.changed 2010-12-02 19:53:14 -05:00
Mark Harrah a477c9123d fix FilesInfo style type member, fix PlainFileInfo to track existence 2010-12-02 19:51:56 -05:00
Mark Harrah 506722d748 Format for types that can be read/written to/from InputStream/OutputStream
use case: java.util.jar.Manifest
2010-12-02 19:45:58 -05:00
Mark Harrah 054a754493 doc, test-doc tasks 2010-12-02 19:45:16 -05:00
Mark Harrah a7b784fc86 small fixes 2010-12-02 19:31:23 -05:00
Mark Harrah 035492dbcf introduce sbt.log.format for explicit formatting control
implements issue #134
if true, formatting enabled
if false, formatting disabled
if unset, formatting configured as before
sbt.log.noformat is no longer recommended, but is supported:
 a. setting it to 'true' explicitly disables formatting
 b. if 'false' or unspecified, autodetection is used
 c. sbt.log.format takes precedence if defined
2010-12-02 19:18:08 -05:00
Mark Harrah 6d2bbbe0c1 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 16e2b71ccc don't print help for internal commands 2010-11-24 14:10:48 -05:00
Mark Harrah 9d6a4f70f7 additional utility methods 2010-11-24 14:09:02 -05:00
Mark Harrah ccf0508ce6 cleanup, small fixes 2010-11-24 14:08:20 -05:00
Mark Harrah 4fd7611074 add jline jar to classpath for :power mode 2010-11-24 14:05:26 -05:00
Mark Harrah c98c9bb727 cleanup 2010-11-24 14:04:32 -05:00
Mark Harrah 46a6a1af16 'test' task 2010-11-24 14:03:26 -05:00
Mark Harrah 9a8c62517f small fixes to main discovery 2010-11-13 20:23:12 -05:00
Mark Harrah 54ba5d75be work on products+configurations 2010-11-13 20:21:06 -05:00
Mark Harrah de3ad8c860 eliminate temporary directory for injecting resources into a class loader 2010-11-13 20:16:44 -05:00
Mark Harrah fdb4a98d8b Task.doFinally 2010-11-13 20:02:25 -05:00
Mark Harrah 171cbeb9ce bump to 2.8.1 2010-11-13 19:07:32 -05:00
Mark Harrah 04e16ee86c api extraction fixes
get members of nested modules by pulling from moduleClass
ignore classes ending with LOCALCHILD, which only appear with separate compilation
2010-11-09 20:49:23 -05:00
Mark Harrah 69dd8b95d5 don't consider password when determining if 'update' is uptodate 2010-11-09 20:46:14 -05:00
Mark Harrah 89c557d0b5 temporary workaround for dangling type parameter references 2010-11-09 20:45:26 -05:00
Mark Harrah bbf9bc679e fix cache test 2010-11-09 20:43:58 -05:00
Mark Harrah f788437164 fill out Visit some more 2010-10-30 17:52:18 -04:00
Mark Harrah 403fa42fa2 Type cache in API extraction for smaller cache size and faster I/O
manually implement Modifiers, use byte-size bit field
2010-10-30 17:46:56 -04:00
Mark Harrah 1795ddadb3 Format wrapper for timing read/writes 2010-10-30 15:53:32 -04:00
Mark Harrah aa90051338 go back to using basic Java serialization for API persistence
Java serialization is a bit slower (by 0.15 s for reading scalaz core),
  but it is simpler and more lightweight than using sbinary
still use sbinary Formats for other Analysis data structures
2010-10-30 15:49:18 -04:00
Mark Harrah 9135a26fb3 buffer before gzip when writing analysis data
there were already buffered streams between the gzip streams
  and the file streams; however, the performance improved after
  putting a buffer on top of the gzip streams
2010-10-30 15:46:44 -04:00
Mark Harrah b601804046 only write resulting Analysis back if compilation was performed 2010-10-30 15:44:36 -04:00
Mark Harrah 5f047f4439 remove out of date comment 2010-10-30 13:25:04 -04:00
Mark Harrah f6bd013cd3 update help for 'iflast' 2010-10-30 13:24:45 -04:00
Mark Harrah f462cda1fb add 'project /' and 'project ..' commands 2010-10-30 13:24:23 -04:00
Mark Harrah 730b613007 make serializable abstract Lazy template 2010-10-30 11:56:40 -04:00
Mark Harrah 2a68806cc5 scripted tests using 2.8.1.RC4 2010-10-30 11:55:12 -04:00
Mark Harrah 0846ffd02b minor updates to utilities 2010-10-30 11:54:43 -04:00
Mark Harrah f8439d2d64 modified patch from Viktor and Ross 2010-10-28 23:02:46 -04:00
Mark Harrah 27c8f565ed auto-update if configuration has changed 2010-10-26 18:31:51 -04:00
Mark Harrah 37904a1644 replace unordered collections in several locations with ordered ones 2010-10-26 18:09:33 -04:00
Mark Harrah 16ad0419a8 fix incorrectly using cache directory as cache file for compile
now, <cache-dir>/compile/<config>
2010-10-26 18:06:59 -04:00
Mark Harrah c3759a7696 overhaul caching, mainly InputCache
better underlying model
supports arbitrary length unions and products
(unions actually limited to 256 elements to encode length as byte)
2010-10-26 18:02:27 -04:00
Mark Harrah 78a8996b7f drop some NotNulls from ivy/ plus some adjustments 2010-10-26 17:59:24 -04:00
Mark Harrah 7a36bb2498 use 2.8.1.RC4 2010-10-26 17:58:08 -04:00
Mark Harrah a76d75bca6 more flexible scalac logging
the custom scalac Reporter now delegates to an instance of
  an sbt interface called xsbti.Reporter
handling compilation logging is now mainly done on the sbt-side of the
  compiler interface
the xsbti.Reporter interface provides access to richer information
  about errors and warnings, including source file, line, and offset
xsbti.Reporter can be implemented by users to get access to
  detailed information without needing to parse the logging output
the CompileFailed exception that is thrown when compilation fails now
  includes an array of the problems, providing detailed
  error and warning information that can, for example, be consumed
  by doing a mapFailure on 'compile' and using 'Compile.allProblems'
2010-10-23 16:34:22 -04:00
Mark Harrah 5ed8f3c042 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