Commit Graph

28 Commits

Author SHA1 Message Date
Mark Harrah a9ee49ee1e starting to convert integration tests 2011-02-22 22:36:48 -05:00
Mark Harrah e6dcca1b42 handle constant types 2011-02-14 18:59:54 -05:00
Mark Harrah 9fcd42db32 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 d85f438035 make serializable abstract Lazy template 2010-10-30 11:56:40 -04:00
Mark Harrah 6402a766b5 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 7dca038bde 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 0425532275 fix tests, discovery
updated compile tests for new minimal AnalysisCallback
moved discovery to discovery/ subproject and updated for new approach
fixed discovery to only find public methods when searching for annotated definitions
extracting inherited definitions unimplemented in api/, so some discovery tests fail
moved discovery classes from sbt.inc package to sbt.compile
2010-10-06 08:24:13 -04:00
Mark Harrah 1f9c13e721 Rework external dependency tracking and multi-projects
Reduce AnalysisCallback interface:
  remove discovery
  simplify dependency notification methods
Use map of classpath entry to Analysis for locating
  source API for external dependencies
Handle classpath changes by locating class
  on classpath and either locating Analysis/Source
  as above or comparing Stamp.  This requires storing
  the class name of a binary dependency now.
Make this process aware of full classpath, including
  boot classpath
2010-09-17 21:59:43 -04:00
Mark Harrah 0b77a070dd merge Pkg into Private
this better represents the original source
2010-09-17 21:29:29 -04:00
Mark Harrah 64b19286ee more reorganization, mostly IO. Also, move class file analyzer and history code to separate projects 2010-06-13 22:59:29 -04:00
Mark Harrah 83fa048026 annotation detection test 2010-03-28 20:20:17 -04:00
Mark Harrah 4604682a1d Support for tests written in Java and annotation-based test frameworks 2010-03-28 00:05:40 -04:00
Mark Harrah dc7b7d5363 work on source api parts 2010-01-22 20:17:49 -05:00
Mark Harrah 2c083af736 Polymorphic types and fix parameterized type arguments to be Type and not just SimpleType 2010-01-07 21:38:39 -05:00
Mark Harrah c864dd90cc * 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 4bd6f9627b Fix tests 2009-11-29 22:12:36 -05:00
Mark Harrah d9ba74b24e Annotations on definintions and implicit parameters in 2.7 2009-11-24 23:01:05 -05:00
Mark Harrah fd2c309f9d Type member support, linearization instead of parents and add inherited members for structure 2009-11-22 22:54:17 -05:00
Mark Harrah d568fcef6f Reorder API definition file 2009-11-21 16:14:09 -05:00
Mark Harrah ec85abb0b9 Source API extractor 2009-11-21 15:53:04 -05:00
Mark Harrah 13d75b680a Fix issue where compiler interface was poorly cached 2009-11-09 22:02:53 -05:00
Mark Harrah 0fb8ff7bb4 Turned sbt launcher into a general Scala application launcher as described in launch.specification 2009-09-27 14:39:26 -04:00
Mark Harrah 3aba701b00 Filling in logging and making cross-compile work. 2009-09-05 12:19:34 -04:00
Mark Harrah b094fc3cc8 Mostly working cross-compile task.
Analyzer plugin is now a proper internal phase to get around bootstrapping issues.
Correctly handle source tags.
2009-09-03 23:40:47 -04:00
Mark Harrah 31b6464101 Tests and fixes for component manager and cache interface. 2009-08-20 00:02:06 -04:00
Mark Harrah 4b824fbe84 Tests and fixes for analysis plugin and the task scheduler. 2009-08-18 23:25:34 -04:00
Mark Harrah 165d1df52c Setup interface project for testing 2009-08-18 00:51:08 -04:00
Mark Harrah 1864c12f74 Setting up compiler support and several related additions to util/io
* Added the top-level interface project for communicating across scala versions within a jvm.
 * Added plugin project containing analysis compiler plugin
 * Added component compiler to build xsbt components against required version of Scala on the fly
 * Added interface to compiler that runs in the same version of Scala
 * Added frontend that compiles against a given version of Scala with or without analysis.
2009-08-17 10:51:43 -04:00