Josh Suereth
f0adf92345
Fixes @eed3s1gn's comments
...
* Use verbs.
* compile actually saves the analysis
* previousCompile loads previous anlaysis
* explicit task to override for bytecode manipulation folkel.
2014-12-01 15:20:17 -05:00
Josh Suereth
067479f59e
Debug issues with implicit usage for CompileSetup.
...
* Force CompileSetup Equiv typeclass to use Equiv relations defined locally.
* Add toString methods on many of the incremental compiler datatypes.
* Remove remaining binary compatibility issues in Defaults.scala.
2014-12-01 13:35:51 -05:00
Josh Suereth
045ac1d984
Tweak remaining binary compatibility issues with design.
2014-12-01 13:35:51 -05:00
Josh Suereth
40bf599f4a
Deprecating old APIs and attempting to document behavior correctly.
...
* Removed as many binary incompatibilities as I could find.
* Deprecating old APIs
* Attempt to construct new nomenclature that fits the design of Incremental API.
* Add as much documentation as I was comfortable writing (from my understanding of things).
2014-12-01 13:35:51 -05:00
James Roper
0f784ab101
Allow bytecode enhancement to update analysis
...
This breaks the loading/saving of the incremental compiler analysis out
into separate task, thereby providing the necessary hooks for byte code
enhancement tasks to enhance bytecode and update the analysis before the
analysis gets stored to disk.
2014-12-01 13:35:50 -05:00
Josh Suereth
e2942f167b
Merge pull request #1740 from j-keck/0.13
...
fix typo
2014-12-01 10:09:01 -05:00
j-keck
2e8c98f1a4
filter out hidden files
2014-11-24 06:34:56 +01:00
j-keck
f6c8faa992
fix typo
2014-11-23 13:59:42 +01:00
eugene yokota
473fc8476d
Merge pull request #1703 from sbt/wip/merge-0.13.7
...
Wip/merge 0.13.7
2014-10-29 21:36:36 -04:00
Tomasz Bartczak
96f57f9fcd
Fix for sbt#1180 - discovered classes are now sorted
2014-10-27 21:31:03 +01:00
Josh Suereth
2d3f57ad51
Fix the run logic so the mainClass setting is actually used when set.
2014-10-25 14:25:30 -04:00
Josh Suereth
b834be8bfa
Merge pull request #1669 from kretes/1648-warn-about-main-classes
...
Fix for https://github.com/sbt/sbt/issues/1648 - warn about multiple or no main classes
2014-10-23 07:37:07 -04:00
Eugene Yokota
7827682f41
Remove DefDef and check rhs
...
- lhs pattern matching occurs only for vals.
- def also breaks due to proc notation.
- instead of pretty printing, we can just check rhs.
2014-10-22 19:14:47 -04:00
Tomasz Bartczak
7a1a21d8c8
Fix for sbt#1648 - warn when no or multiple main classes
2014-10-22 22:42:01 +02:00
Eugene Yokota
97584457fa
merged #1662
2014-10-21 12:18:54 -04:00
andrzej.jozwik@gmail.com
6f9dfcce52
Revert brackets for backward compatibility (binary compatibility), addExplicitXmlContent use pattern matching, splitFile - does not return whitespace statements
2014-10-19 23:54:18 +02:00
andrzej.jozwik@gmail.com
8c0e400c11
Add ; instead of brackets to xml group
2014-10-17 22:23:20 +02:00
andrzej.jozwik@gmail.com
ef74db7319
Revert to previous version.
2014-10-14 11:24:12 +02:00
andrzej.jozwik@gmail.com
ddc80357dc
Add scala-stm file for unit test.
2014-10-14 08:30:20 +02:00
andrzej.jozwik@gmail.com
50ed84b748
Use original function
2014-10-13 22:53:45 +02:00
andrzej.jozwik@gmail.com
f1ab893f98
Fixed #1666 - check from last end of line.
2014-10-13 22:49:26 +02:00
Josh Suereth
d7c76aabf1
Merge pull request #1663 from sbt/wip/avoid-deprecated
...
enable -deprecation for Scala 2.10
2014-10-12 12:31:08 -04:00
Josh Suereth
5599b53692
Merge pull request #1653 from sbt/wip/fix-1649
...
Fixes #1649 . Exclusion rules and other cached resolution fixes
2014-10-12 12:01:22 -04:00
Eugene Yokota
3f958a5bce
enable -deprecation for Scala 2.10
...
Enable -deprecation flag to catch old code being use when we migrate
things.
In this commit I moved error to sys.error.
2014-10-10 15:42:26 -04:00
Josh Suereth
ddf8a173b0
Disable pattern matching in val syntax in sbt 0.13.7.
...
Fixes #1661 or at least works around it for now.
2014-10-10 13:47:02 -04:00
Eugene Yokota
8ddff28a9e
Fixes #1660
...
Provide overloads for transitiveScratch and updateClassifiers that work
with IvyActions.updateEither.
2014-10-10 00:34:05 -04:00
Josh Suereth
89a3e4982f
Add escape hatch to old parser in case we run into problems.
...
Just make sure users have the means to still build in case there's any
issues we missed. This code should be removed in sbt 1.0.
2014-10-08 15:00:48 -04:00
eugene yokota
0f2c6f89a1
Merge pull request #1645 from sbt/wip/no-blankies-rebased
...
Natural whitespace handling for SBT configuration parser AKA 'no more blankies'
2014-10-06 14:27:50 -04:00
Eugene Yokota
5afb9e1af7
Fixed json serialization turning license into {}.
2014-10-05 04:24:22 -04:00
Josh Suereth
009426d896
Documentation and renaming of "blankies" into somethign a bit easier to find.
...
* Rename SPlitExpression* to `SbtParser` denoting that is parses .sbt files
* Adds a few todos
* Document APIs for internal usage.
2014-10-03 14:22:52 -04:00
andrzej.jozwik@gmail.com
e230a17d3b
@deprecated("Removed from the public API", "2.11.0") def isDefined: Boolean
2014-10-03 14:22:52 -04:00
andrzej.jozwik@gmail.com
a67c5fd187
Comments #1630
2014-10-03 14:22:52 -04:00
andrzej.jozwik@gmail.com
97a96d5bf8
Split to small methods
2014-10-03 14:22:52 -04:00
andrzej.jozwik@gmail.com
dac3edb546
Split to small methods
2014-10-03 14:22:52 -04:00
andrzej.jozwik@gmail.com
963e75d182
Fixed #1630 . Remove last line if last statement is being removed
2014-10-03 14:22:52 -04:00
andrzej.jozwik@gmail.com
2a603da0a8
Moved tests to internal package
2014-10-03 14:22:52 -04:00
andrzej.jozwik@gmail.com
9294351e24
#1628
2014-10-03 14:22:52 -04:00
Josh Suereth
48be806dd4
Adding scaladoc commnets for SessionSettings, and fixing type in check file.
2014-10-03 14:22:51 -04:00
Josh Suereth
a8370880e0
Remove binary compatibility breakages and migrate new parser features into an internal package.
2014-10-03 14:22:51 -04:00
andrzej.jozwik@gmail.com
2019c6da62
findMissingText now searchs recursive
2014-10-03 14:22:51 -04:00
andrzej.jozwik@gmail.com
742188393b
Cut valid text corrected
2014-10-03 14:22:51 -04:00
andrzej.jozwik@gmail.com
232c28ecd1
Handle xml content in session save
2014-10-03 14:22:51 -04:00
andrzej.jozwik@gmail.com
c720a973a6
Corrections for "session save"
2014-10-03 14:22:51 -04:00
andrzej.jozwik@gmail.com
4a33fd2225
Extract method - for new implementation. Not completed yet.
2014-10-03 14:22:51 -04:00
andrzej.jozwik@gmail.com
eab7049479
Comments fixed #1574
2014-10-03 14:22:51 -04:00
andrzej.jozwik@gmail.com
8da8fefc68
Natural whitespace handling for SBT configuration parser AKA 'no more blankies'
2014-10-03 14:22:51 -04:00
Eugene Yokota
fe8d290c17
Implemented cached resolution (minigraph caching)
2014-09-29 17:33:37 -04:00
Jacek Laskowski
627956901b
Small scaladoc fixes
2014-09-28 23:27:59 +02:00
Josh Suereth
d865251686
Add workaround (and warning message) for when ChainResolver gets a null publication date while we investigate other issues.
...
* Attempt to set publication date to last modified time, if the stars align
* Issue warning about undefined resolution behavior otherwise
* Add scripted test which exercises the NPE issue in resolving -SNAPSHOTs.
* Commit scalariform style edit in Act.scala
* After parsing and transforming the pom, check for pub date.
* If we don't have a pub date, try to grab lastModified from the URL
* If we can't do anything, issue a warning about the problem artifact.
2014-09-24 18:23:15 -04:00
Josh Suereth
d2a18926b0
Merge pull request #1613 from jedesah/topic/remove-warnings
...
Remove compiler warnings
2014-09-24 09:10:35 -04:00