Mark Harrah
fa591364f7
local SyncVar implementation to deal with std lib deprecations
2013-05-27 19:12:39 -04:00
Mark Harrah
871aeb1502
Derived settings: handle scopeLocal in derive and allow triggering dependencies to be filtered
2013-05-09 17:28:50 -04:00
Mark Harrah
7ed56d3fcd
Show defining locations when there are cycles between derived settings
2013-05-09 17:28:50 -04:00
Mark Harrah
4bb9633d6c
only derive settings when all dependencies are defined
2013-05-09 17:28:49 -04:00
Mark Harrah
6c0f47ef48
Default settings, which give internal sbt settings something like Plugin.globalSettings.
2013-05-09 17:28:40 -04:00
Mark Harrah
c863a03d89
support filtering the Scopes that a derived setting is applied in
2013-05-09 17:28:39 -04:00
Mark Harrah
ea6eb01e6e
more specific error when dependencies of a derived setting are undefined
2013-05-09 17:28:39 -04:00
Mark Harrah
60b714e8de
require dynamic initialization to be explicitly enabled for derived settings
2013-05-09 17:28:39 -04:00
Mark Harrah
1b784082a3
ensure a derived setting is only injected into a scope once
2013-05-09 17:28:39 -04:00
Mark Harrah
994886ee51
display derived settings information in 'inspect'
2013-05-09 17:28:39 -04:00
Mark Harrah
dfe418b3c3
Derived settings, which allows injecting settings wherever their dependencies are defined.
...
This is an advanced feature initially intended for internal sbt use.
2013-05-09 17:27:43 -04:00
Mark Harrah
626038bece
Merge branch 'feature/inc-track-inherit' into 0.13
2013-05-01 19:25:01 -04:00
Mark Harrah
a867d8e87c
extract public inherited dependencies from Java class files
2013-05-01 17:54:10 -04:00
Mark Harrah
f7ce8334c3
Merge remote-tracking branch 'scalatest/new-framework-api-12' into 0.13
2013-05-01 08:34:01 -04:00
Mark Harrah
4dc75343ae
Record and persist public inheritance dependencies.
...
Includes placeholders for adding public inherited dependencies for Java classes.
2013-04-26 22:35:27 -04:00
cheeseng
df9a475158
Normalize line endings.
2013-04-25 00:06:52 +08:00
Mark Harrah
81babda6f6
work around URI problems with encoding and resolving. Fixes #725
2013-04-12 12:47:44 -04:00
Mark Harrah
77001a4259
drop canonicalization of files on classpath and other cleanup. Fixes #723 .
2013-04-09 20:13:06 -04:00
Mark Harrah
b990a29c09
Undeprecate ScalaInstance.libraryJar, which will be reliable for modularized Scala.
2013-04-08 09:21:59 -04:00
Mark Harrah
df5e79e3be
API for evaluating a setting or task in multiple scopes
2013-03-27 09:17:53 -04:00
Mark Harrah
9ebb952525
Logger.Null that discards logged messages
2013-03-13 12:40:03 -04:00
Mark Harrah
d6f78db0c9
Construct input tasks in multiple steps to allow input task reuse. Fixes #407 .
2013-03-08 14:23:30 -05:00
Mark Harrah
dde24d5e5a
make classpaths exported
2013-02-28 17:59:38 -05:00
Mark Harrah
3e32c7d1f1
changes needed for tests for jline 2.10
2013-02-26 09:27:57 -05:00
Mark Harrah
45aae0cdc6
add Jline.createReader() back for source compatibility
2013-02-26 09:27:56 -05:00
Alex Dupre
92e99cfef0
Switch from JLine 1.0 to 2.10.
2013-02-26 07:39:33 -05:00
Mark Harrah
0cf702efd5
Move GlobalLogBacking.newLogger to GlobalLogging to make the role of GlobalLogBacking clearer.
2013-02-25 09:24:05 -05:00
Mark Harrah
6350a4b51d
make GlobalLogging.backed less specific: AbstractLogger is fine
2013-02-25 09:24:05 -05:00
Mark Harrah
f6d73128fc
deprecations
2013-02-25 09:24:04 -05:00
Mark Harrah
a61421dcb8
Split ConsoleOut into its own file, track the global ConsoleOut and use it instead of StandardMain.console
2013-02-25 09:24:04 -05:00
Mark Harrah
5b5577a187
Replace Scala jars in UpdateReport with ScalaProvider jars in more situations. Fixes #661 .
...
Specifically, when the Scala version for sbt is the same as that for the project being built,
the jars in UpdateReport should be the same as those in ScalaProvider. This is because the
loader will come from the ScalaProvider, which uses jars in the boot directory instead of the
cache. The first part of the fix for #661 checks that loaded classes come from the classpath
and so they need to line up.
2013-02-21 20:44:26 -05:00
Mark Harrah
bd0f208302
Class loader that restricts loading to a classpath. Ref #661 .
...
It is now used for consoleProject, run, and test. This loader verifies
that all classes loaded through it came from a particular classpath or
from the "root" loader. Root loader here is the launcher loader so that
those classes with native bindings come from that shared loader.
2013-02-21 20:44:26 -05:00
Mark Harrah
cdf61683df
Remove unused class loader implementations
2013-02-21 20:44:26 -05:00
Mark Harrah
9ab1b98d2a
Use @compileTimeOnly for .value and .parsed methods.
...
Needed to set position on wrapper method for correct error message position.
2013-02-19 08:54:40 -05:00
Mark Harrah
76e0a941ba
Update to 2.10.1-RC1
...
Needed an explicit type in PMap to workaround an error.
Need to drop tuple assignment of parser.parsed in input task macro as a workaround
for macro/resetAllAttrs/pattern matching/annotation issue in RC1.
2013-02-13 07:17:20 -05:00
Mark Harrah
c0b1bb51e6
-Xlint
2013-02-04 17:30:31 -05:00
Eugene Yokota
125727ba83
support binary version in launcher
2013-01-29 16:55:13 -05:00
Mark Harrah
13ea342b7a
use standard Context.weakTypeOf
2013-01-28 17:14:53 -05:00
Mark Harrah
076480b50a
Reduce InputTask to the ideal wrapper around 'State => Parser[Initialize[Task[T]]]'
...
Ref #407 .
2013-01-28 17:14:53 -05:00
Mark Harrah
1f32688657
remove deprecated Initialize.scoped method
2013-01-28 17:14:53 -05:00
Paolo G. Giarrusso
d64a0e078d
Silence boring Eclipse warnings: catching all exceptions, part 2
...
These warning fixes are new since my last pull request, please verify.
2013-01-22 09:05:15 -05:00
Paolo G. Giarrusso
236143be8d
Silence boring Eclipse warnings: catching all exceptions
...
Here I make explicit where catching all exceptions is intended.
Mark Harrah corrected one decision during review.
2013-01-22 09:05:15 -05:00
Paolo G. Giarrusso
e6d1d02d1e
Don't catch org.scalacheck.Prop.Exception
2013-01-22 09:05:14 -05:00
Mark Harrah
ce439efab3
Convert references to harrah/xsbt to sbt/sbt
2013-01-04 17:22:40 -05:00
Mark Harrah
3035cbf2d1
update version for backported Parser deprecations
2013-01-03 17:40:07 -05:00
Mark Harrah
4434d84f65
require a failure message for parser
2013-01-03 11:37:40 -05:00
Mark Harrah
935267b96b
minor cleanup of previous commit: var->val in sbt.JLine
2012-12-20 09:25:35 -05:00
Anthony
f7031502e4
Multi-line prompt text offset issue (ticket #625 )
2012-12-20 08:56:20 -05:00
Grzegorz Kossakowski
ef39aeb9c1
Follow source layout convention supported by Eclipse.
...
Moved source files so directory structure follow package
structure. That makes it possible to use Scala Eclipse plugin
with sbt's source code.
2012-12-07 10:27:08 -08:00
Josh Suereth
0c08c1169e
Bumped the Scalatest/Specs versions for 2.10.0-RC3
...
* Modified tests to use mutable Specs API
* Fixed a few minor specs issues.
2012-12-04 13:10:09 -05:00