Mark Harrah
d6072275aa
replace Symbol.nameString calls with simpleName(Symbol). Fixes #577 .
...
nameString is only for printing and has different behavior when scalac is
given -uniqid.
2012-10-15 12:42:27 -04:00
Mark Harrah
18a03f0e25
API extraction: handle any type that is annotated, not just the spec'd simple type. Fixes #559 .
2012-10-05 09:06:35 -04:00
Mark Harrah
864580aae1
approximate type parameters and references by name
...
not as accurate, but simpler.
2012-05-12 23:12:29 -04:00
Mark Harrah
00d0918714
workaround separate compilation and raw types
2012-05-12 23:12:29 -04:00
Mark Harrah
e537cbc474
second part of fix for excessive recompilations
2012-04-30 20:34:48 -04:00
Mark Harrah
6769c94208
basis for a resident compiler
...
unstable, but can be tested with -Dsbt.resident.limit=n
n is the maximum Globals kept around
2012-04-28 18:58:52 -04:00
Jason Zaugg
a1cc62a598
Avoid copy-paste of Flags.MACRO with source-compatibility trickery.
2012-03-04 19:07:33 +01:00
Jason Zaugg
067917a0fb
Macro def aware recompilation.
...
- Read macro modifier from method definition.
- Always recompile downstream files after a file containing macro defs is recompiled.
- Source is extended with a hasMacro attribute. Mark suggests that this might be better
tracked in Relations, but I'm not sure how to make that change.
2012-03-04 17:35:51 +01:00
Mark Harrah
c17bf071d7
simpler compatibility fix works ok
2012-02-04 21:10:30 -05:00
Mark Harrah
b5c4e5290e
fix compiler interface to work with 2.10.0-SNAPSHOT
2012-01-19 11:00:24 -05:00
soc
8ec1b9a841
Fix messages like “class class ...”.
2012-01-04 16:20:22 +01:00
Mark Harrah
82ad44a701
preserve API information needed for detecting annotations on defs. fixes #232
2011-10-19 22:23:47 -04:00
Mark Harrah
ff95799af7
drop 2.7 support, fix fatal warnings support. fixes #153
2011-08-17 21:50:46 -04:00
Mark Harrah
c0a21c1524
implement shortcut for API equality checking, fixes #18
2011-06-01 02:19:46 -04:00
Mark Harrah
a94247d1b6
more release-worthy compile message and analysis toString
2011-05-29 19:17:31 -04:00
Mark Harrah
e840d66622
Turn some errors in API into warnings+emptyType
2011-05-25 08:09:24 -04:00
Mark Harrah
eef1fd8a10
fix #26
2011-05-25 07:57:14 -04:00
Mark Harrah
24dfb69400
an annotation can reference a non-simple type, fixes #24
2011-05-23 18:40:03 -04:00
Mark Harrah
9dec02ee51
fix analysis of Java sources being overwritten
2011-04-26 21:19:56 -04:00
Mark Harrah
d53d5fb7cf
api extraction fixes for self types and expanded names
2011-03-11 16:57:15 -05:00
Mark Harrah
cc06667f3e
handle constant types
2011-02-14 18:59:54 -05:00
Mark Harrah
2a4f7ac564
compiler interface: 2.9 compatibility
...
nme.LOCALCHILD -> tpename.LOCAL_CHILD
handle NullaryMethodType
2011-02-08 20:30:15 -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
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
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
Mark Harrah
4164ad3529
fix detecting existence of default arguments
2010-09-27 18:48:12 -04:00
Mark Harrah
ce9db82771
fixes to API extraction phase
...
reverse the mapping of vals/vars to
private[this] fields and accessors
merge annotations from related members
don't handle bean getters/setters specially
because they are indistinguishable from
user-defined members as far as I can tell
2010-09-17 22:14:48 -04:00
Mark Harrah
ccf9714b4d
fixes for API extraction phase
...
correct order of value parameters of a method
preserve source order of members
more information for unknown type error message
2010-09-17 21:30:47 -04:00
Mark Harrah
4db2c1df6a
merge Pkg into Private
...
this better represents the original source
2010-09-17 21:29:29 -04:00
Mark Harrah
d7b66458f2
first shot at general command/definition model
2010-07-17 12:07:41 -04:00
Mark Harrah
d0fa1eb461
* 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
6f3c699435
- Stuart's improvements to triggered execution
...
- continue splitting original sbt module
* separated process, testing modules
* various IO, logging, classpath migration
* split out javac interface
2010-07-05 12:53:37 -04:00
Mark Harrah
37185c0fb6
discovery, persistence, frontend, and various fixes to incremental
2010-07-02 06:57:03 -04:00
Mark Harrah
b2077ce60c
more 2.8 updates, launcher compiles and runs with 2.8
2010-06-15 20:38:18 -04:00
Mark Harrah
125e0adad8
Decrease compilation time of compiler interface by ~20%
2010-02-04 22:08:17 -05:00
Mark Harrah
b6f017c508
Work with latest compiler changes. API is commented for stability in 0.7.
2010-02-04 21:04:22 -05:00
Mark Harrah
af4f41e052
API: fix annotation handling
2010-01-24 00:11:43 -05:00
Mark Harrah
af288bb199
API: base types with applied type parameters
...
Compile task: fix detection of classpath changes
Aggressive compiler seems to work on scalaz now
2010-01-23 11:52:39 -05:00
Mark Harrah
5f9f3729d1
work on source api parts
2010-01-22 20:17:49 -05:00
Mark Harrah
fb3cfd3b39
* Polymorphic type extraction
...
* Use simple names instead of full names where appropriate
* Handle local classes, which have NoPrefix
2010-01-07 21:41:20 -05:00
Mark Harrah
6f6b795b39
* Basic API serialization
...
* Fixes to API extraction and equality checking
* Reworked tracking
* New compile infrastructure based on API changes
* Example application for testing
2010-01-05 19:50:43 -05:00
Mark Harrah
8ebbb7b420
fix issue processing qualifiers in API phase
2009-12-31 18:55:35 -05:00
Mark Harrah
c951156d9f
print API phase time only if it is enabled
2009-11-29 18:25:09 -05:00
Mark Harrah
a872ebc5e5
Annotations on definintions and implicit parameters in 2.7
2009-11-24 23:01:05 -05:00
Mark Harrah
bf7affd344
Starting documentation on API of sources files, updating notes a bit
2009-11-23 20:01:13 -05:00
Mark Harrah
38dbb1d23c
Type member support, linearization instead of parents and add inherited members for structure
2009-11-22 22:54:17 -05:00
Mark Harrah
2977fd4131
Source API extractor
2009-11-21 15:53:04 -05:00