Martin Duhem
5934350aa2
Notes for #2261
2015-11-11 14:55:52 +01:00
Martin Duhem
a244f4e141
Fix Codacy failure by specifying return type
2015-11-11 14:49:50 +01:00
Martin Duhem
f5e7fdd62a
Restore source compatibility with Scala 2.8
2015-11-09 16:30:11 +01:00
Martin Duhem
bfc27f1179
Make sure AnyVal is involved before checking post erasure
2015-11-07 09:06:26 +01:00
Martin Duhem
d41fda6584
Restore source compatibility with Scala 2.8 + cosmetic changes
2015-11-06 13:11:13 +01:00
Martin Duhem
499c5e7228
Correct fix against SO and macros problem
2015-11-06 11:27:40 +01:00
Martin Duhem
f1c05cb5eb
Fix source compatibility with Scala < 2.10
2015-11-05 09:26:38 +01:00
Martin Duhem
4299ff76aa
Quick and dirty fix for SO
2015-11-05 07:39:50 +01:00
Martin Duhem
9764b7f6ef
Don't inspect signatures post erasure if macros are involved
2015-11-04 17:45:08 +01:00
Martin Duhem
111511dc6d
`afterPostErasure` didn't exist in 2.9
2015-11-04 15:04:59 +01:00
Martin Duhem
efff171618
Restore source compatibility with Scala 2.11
2015-11-04 13:35:53 +01:00
Martin Duhem
46058029b5
Consider signatures of method before and after erasure in ExtractAPI
...
The signatures of methods that have value classes as arguments or return
type change during the erasure phase. Because we only registered
signatures before the erasure, we missed some API changes when a class
was changed to a value class (or a value class changed to a class).
This commit fixes this problem by recording the signatures of method
before and after erasure.
Fixes sbt/sbt#1171
2015-11-04 11:16:53 +01:00
eugene yokota
33478132c5
Merge pull request #2214 from twitter-forks/stuhood/more-thorough-classfile-location-detection
...
More thorough classfile location detection
2015-09-28 23:17:48 -04:00
Stu Hood
5fbfa7aeb0
Move back to ClassLoader.getSystemClassloader
2015-09-20 09:28:43 -07:00
Stu Hood
9401d47e79
Remove copyright from IOSpecification, and use a simpler Resource lookup.
2015-09-20 08:42:10 -07:00
Stu Hood
198820bc53
Move io tests to subdirectory, and add a test for "System" class lookups.
2015-09-18 17:15:52 -07:00
Stu Hood
5a3b95cd6d
Add support for parsing system classes.
2015-09-18 16:37:22 -07:00
eugene yokota
d4f7977c42
Merge pull request #2201 from fkorotkov/javac-line-content-fixes
...
Use getPosition method to get an offset position instead of using a line number
2015-09-10 22:33:52 -04:00
eugene yokota
57321bf6bc
Merge pull request #2192 from DavidPerezIngeniero/0.13
...
More robustness when using the tasks and settings command
2015-09-10 21:14:57 -04:00
fkorotkov
cf8d7fbdff
Use getPosition method to get an offset position instead of using line number
2015-09-10 16:35:09 -07:00
eugene yokota
5401a77b86
Merge pull request #2197 from Duhemm/fix-2196
...
Fixes #2196 , Specify the compiler bridge module in a setting
2015-09-08 23:23:48 -04:00
Martin Duhem
92ea782d94
Fix deprecation messages
2015-09-04 12:25:59 +02:00
Martin Duhem
152b040fe3
Rename binary form of compiler bridge
...
This will avoid all clashes between modules that may have the same name
as other components of sbt, or two different compiler bridges that would
happen to have the same name.
2015-09-04 12:23:06 +02:00
Martin Duhem
1c4a900ff5
Retrieve compiler bridge sources in temp directory
...
Note that they won't be downloaded again, because the component compiler
will look for a previously-compiled version of the compiler bridge
before trying to fetch the sources again. If they've already been
downlaoded, then they have been compiled and a compiled version of the
compiler bridge already exists.
2015-09-04 12:00:44 +02:00
Martin Duhem
dcad8a5527
Specify the compiler bridge module in a setting
...
In order to restore reproducibility of builds, we no longer cascade over
the possibly available versions of the compiler bridge sources (a
specific version of the bridge sources may not be available one day, but
exist on the next day), but rather let the build definition configure
which module to use.
Fixes sbt/sbt#2196
2015-09-04 11:17:27 +02:00
David Perez
1e2617a807
More robustness when using the tasks and settings command
2015-09-01 14:16:41 +02:00
Josh Suereth
58f5ceb6f2
Merge pull request #2186 from dwijnand/fix/1750-2
...
Tail-end fixes for #1750 .
2015-08-31 07:43:24 -04:00
Dale Wijnand
397c25679f
Add notes for #1750 .
2015-08-28 23:38:49 +01:00
Dale Wijnand
8e6e32d7cb
Enable Ivy flag that fixes #1750 .
2015-08-28 23:38:45 +01:00
Josh Suereth
f6895b6f00
Merge pull request #2163 from dwijnand/fix/1750
...
Fix SNAPSHOT srcs/docs with Ivy upgrade.
2015-08-27 08:34:09 -04:00
Josh Suereth
6f8eaab026
Merge pull request #2178 from Duhemm/scripted-pending
...
Run pending tests in scripted, consider their successes as failures
2015-08-27 08:33:40 -04:00
Martin Duhem
2bed67a44d
Disable test dependency-management/mvn-local
...
It is very flaky with Travis.
2015-08-27 09:54:20 +02:00
eugene yokota
fc7af22eef
Merge pull request #2177 from Duhemm/compiler-interface-logging
...
Compiler interface sources: Hide Ivy logs & download compiler interface sources in boot directory.
2015-08-26 14:31:25 -04:00
Martin Duhem
e31a9ba456
Download compiler interface sources in boot directory
2015-08-26 10:33:11 +02:00
Martin Duhem
41b7208a36
Hide Ivy logs in compiler-interface sources retrieval
...
Because in most cases there aren't version-specific sources, we expect
the retrieval to fail a number of times before succeeding. This
generates a lot of noise in sbt's log, so the logs will now be shown if
and only all the versions fail.
2015-08-26 09:40:53 +02:00
Dale Wijnand
caa0f9c010
Move update-classifiers-snapshot-srcs as it fails with MavenResolverPlugin.
2015-08-25 22:03:12 +01:00
Josh Suereth
da8bb5b621
Merge pull request #2151 from dwijnand/add-Def.settings
...
Extract Def.settings from Project#settings.
2015-08-25 09:52:27 -04:00
Dale Wijnand
09ae28803c
Fix SNAPSHOT srcs/docs with Ivy upgrade.
2015-08-25 12:42:03 +01:00
Dale Wijnand
7abe7a95a4
Add updateClassifiers SNAPSHOT srcs test.
...
Currently fails with:
[info] java.lang.AssertionError: assertion failed: Bippy should contain def release = 2, contents:
[info] package t
[info]
[info] object Bippy {
[info] def release = 1
[info] }
Also fails with MavenResolverPlugin.. :(
2015-08-25 12:42:01 +01:00
eugene yokota
7bb08fe776
Merge pull request #2172 from dwijnand/add-MavenRepository.localIfFile
...
Add localIfFile to MavenRepository, & use it.
2015-08-23 17:02:16 -04:00
Dale Wijnand
786dc7fd10
Add notes for MavenRepository.localIfFile.
2015-08-23 17:33:19 +01:00
Dale Wijnand
5662b2ceed
Only set LocalIfFileRepo if MavenRepository.localIfFile is set.
2015-08-23 17:25:25 +01:00
Dale Wijnand
0bf7e63887
Add localIfFile to MavenRepository.
2015-08-23 17:24:54 +01:00
Dale Wijnand
9beaf21926
Use string interpolation.
2015-08-20 23:12:17 +01:00
Dale Wijnand
dcbbc531ed
Add notes for PR 2151.
2015-08-20 18:45:42 +01:00
Dale Wijnand
13c6729507
Extract Def.settings from Project#settings.
...
This allows for the same functionality that using SettingsDefinition in
Project#settings allows (specifying either bare Setting[_] or a Seq[Setting[_]])
to be available outside of the settings for a project, for instance when
defining a val.
In short, it allows:
val modelSettings = Def.settings(
sharedSettings,
libraryDependencies += foo
)
2015-08-20 18:45:41 +01:00
eugene yokota
5a7a1db24b
Merge pull request #2166 from dwijnand/upgrade-to-0.13.9
...
Upgrade to 0.13.9.
2015-08-20 11:51:52 -04:00
eugene yokota
3e33ffd5c0
Merge pull request #2152 from dwijnand/revert-travis-workaround
...
Revert Travis/sbt-extras workaround. (#2124 ).
2015-08-20 11:51:26 -04:00
Martin Duhem
337bca1c74
Disable project / session-save
2015-08-19 16:16:16 +02:00
Dale Wijnand
553dffec39
Upgrade to 0.13.9.
2015-08-19 12:16:03 +01:00