aboutsummaryrefslogtreecommitdiff
path: root/project
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1492 from dotty-staging/add-inlineGuillaume Martres2016-10-061-0/+3
|\ | | | | Implement inline
| * Disable scaladoc generation for dottyGuillaume Martres2016-10-021-0/+3
| | | | | | | | | | This makes "publishLocal" much faster which is extremely useful when working on the sbt bridge.
* | Merge pull request #1494 from martijnhoekstra/wintestsFelix Mulder2016-10-061-1/+1
|\ \ | |/ |/| [WIP] fix encoding issues
| * honor -encoding compiler flag and defaultsMartijn Hoekstra2016-09-071-1/+1
| | | | | | | | | | | | | | | | | | rename test/pos/valueclasses to pos_valueclasses tests/pos/valueclasses generates a valueclasses.flags file in /tests/partest-generated/pos that conflicts with the valueClasses.flags file that tests/neg/valueClasses.scala tries to create
* | delegate compilation info to sbt reporterGuillaume Massé2016-09-221-6/+9
| |
* | cleanBridge command to clean sbt cacheGuillaume Massé2016-09-211-0/+17
| |
* | Merge pull request #1529 from dotty-staging/remove/scoverage-sbt-pluginGuillaume Martres2016-09-211-2/+0
|\ \ | |/ |/| Remove scoverage sbt plugin
| * Remove scoverage sbt pluginGuillaume Martres2016-09-211-2/+0
| | | | | | It doesn't work.
* | Get property from environment instead of from syspropsFelix Mulder2016-09-061-1/+1
| |
* | Bump dottydoc version for nightly buildsFelix Mulder2016-09-061-3/+1
|/
* Fix #1405: Implement Xprint-diff without external libraries.Nicolas Stucki2016-08-241-1/+0
|
* Add snapshots resolverFelix Mulder2016-08-191-0/+2
|
* Implement dotty bridge for docFelix Mulder2016-08-191-0/+1
|
* Implement bridge that generates json on `doc` commandFelix Mulder2016-08-191-50/+3
|
* Add scaladoc interface stubFelix Mulder2016-08-191-0/+1
|
* Add `currentEntity` to templating APIFelix Mulder2016-08-191-1/+1
|
* Remove client from dottydoc - no more Scala.JS deps!Felix Mulder2016-08-191-18/+6
|
* Remove spray-json dependencyFelix Mulder2016-08-191-1/+0
|
* Remove dependency on pickling library, make frontend use façadeFelix Mulder2016-08-191-2/+0
|
* Change package serialization to go straight to JSONFelix Mulder2016-08-191-0/+1
| | | | We'll write a facade in Scala.js to handle the unparsed JS-object
* Add option `-Ydoc-output` for specifying output dirFelix Mulder2016-08-191-4/+5
|
* Add JUnit test structure for testing the DocPhaseFelix Mulder2016-08-192-2/+4
|
* Move dynamically generated content to JVM sideFelix Mulder2016-08-191-3/+5
|
* Fix packages not ending up in `packages` map in Phases.scalaFelix Mulder2016-08-191-2/+5
|
* Add command alias for dottydocFelix Mulder2016-08-191-2/+2
|
* Add project and impl for initial barebones dottydocFelix Mulder2016-08-191-0/+57
|
* Dotty: actually put dotty.jar into bootclasspath.Dmitry Petrashko2016-07-281-1/+1
| | | | | Partest used to run tests with Dotty, but stopped at some moment. I guess this line may have been deleted at some merge conflict.
* Fixes #1316: Remove JLineKazuyoshi Kato2016-07-271-1/+0
| | | | | Dotty uses ammonite.terminal since April (53bd25f) which replaces JLine. There is no reason to keep it anymore.
* Fix #1312: Improve XprintNicolas Stucki2016-07-151-0/+1
| | | | | | | * Do not reprint a tree that has not changed. * Highlight changes with yellow and insertions in green. * -Xprint-diff-del: Inserts the deleted parts of the tree in red and the parts that where changed in magenta.
* Change versioning to SNAPSHOT and nightly releases for nowFelix Mulder2016-06-251-4/+21
|
* Fix #1323: change sbt interface dependency to allow artifact resolution by ↵Felix Mulder2016-06-211-3/+2
| | | | coursier
* Change versioning to a sonatype approved schemeFelix Mulder2016-06-101-2/+2
|
* remove `dotty-core` project and publish individually insteadFelix Mulder2016-06-101-7/+1
| | | | | | Since you still need to depend on multiple artifacts from within the dotty project, a unified project is not feasible. A plugin would work better of course.
* Add developers and license to POMFelix Mulder2016-06-091-0/+36
|
* Disable binary publishing in bridgeFelix Mulder2016-06-091-2/+5
|
* Add date and hash to publishing versionFelix Mulder2016-06-092-2/+22
|
* Remove duplicate lineFelix Mulder2016-06-091-1/+0
|
* Add virtual project `dotty-core` to aggregate publishing of necessary artifactsFelix Mulder2016-06-091-2/+11
|
* Merge pull request #1306 from dotty-staging/add/dotty-bridgeFelix Mulder2016-06-072-0/+54
|\ | | | | Merge the sbt compiler bridge as a subproject of dotty
| * Make the dotty-bridge sbt project a subproject of dottyGuillaume Martres2016-06-072-0/+54
| | | | | | | | | | | | | | | | | | Note that the dotty-bridge tests will not be run automatically by `test` which is short for `dotty/test`, to run the dotty-bridge tests, do in sbt: > dotty-bridge/test > dotty-bridge/scripted Original history: https://github.com/smarter/dotty-bridge/commits/master
* | Add ability to publish snapshots to sonatypeFelix Mulder2016-06-071-1/+23
|/
* Switch organization from org.scala-lang to ch.epfl.lampGuillaume Martres2016-06-021-1/+1
| | | | Publishing artifacts under ch.epfl.lamp is easier.
* fix benchmarks exceptionliu fengyun2016-05-301-3/+7
| | | | | | | | | | | | | The benchmark project generates a dubious exception when compiling scala stdlib: java.lang.ClassCastException: scala.tools.nsc.backend.jvm.BTypes$ClassBType cannot be cast to scala.tools.nsc.backend.jvm.BTypes$ArrayBType Upon investigation, this turns out to be a backend incompatibility problem. The bench project runs with a previous version of scala-compiler. Explicitly designating the scala-compiler version for bench fixes the problem.
* Add sbt incremental compilation supportGuillaume Martres2016-05-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To test this with sbt, see https://github.com/lampepfl/dotty/wiki/Using-Dotty-with-sbt The following flags are added: - -Yforce-sbt-phases: Run the phases used by sbt for incremental compilation (ExtractDependencies and ExtractAPI) even if the compiler is ran outside of sbt, for debugging. - -Ydump-sbt-inc: For every compiled foo.scala, output the API representation and dependencies used for sbt incremental compilation in foo.inc, implies -Yforce-sbt-phases. This commit introduces two new phases which do not transform trees: - `ExtractDependencies` which extracts the dependency information of the current compilation unit and sends it to sbt via callbacks - `ExtractAPI` which creates a representation of the API of the current compilation unit and sends it to sbt via callbacks Briefly, when a file changes sbt will recompile it, if its API has changed (determined by what `ExtractAPI` sent) then sbt will determine which reverse-dependencies (determined by what `ExtractDependencies` sent) of the API have to be recompiled depending on what changed. See http://www.scala-sbt.org/0.13/docs/Understanding-Recompilation.html for more information on how sbt incremental compilation works. This phase was originally based on https://github.com/adriaanm/scala/tree/sbt-api-consolidate/src/compiler/scala/tools/sbt which attempts to integrate the sbt phases into scalac (and is itself based on https://github.com/sbt/sbt/tree/0.13/compile/interface/src/main/scala/xsbt), but it has been heavily refactored and adapted to Dotty. The main functional differences are: - ExtractDependencies runs right after Frontend (so that we don't lose dependency informations because of the simplifications done by PostTyper), but ExtractAPI runs right after PostTyper (so that SuperAccessors are part of the API). - `ExtractAPI` only extract types as they are defined and never "as seen from" some some specific prefix, see its documentation for more details. - `ExtractDependenciesTraverser` and `ExtractUsedNames` have been fused into one tree traversal in `ExtractDependenciesCollector`. TODO: Try to run these phases in parallel with the rest of the compiler pipeline since they're independent (except for the sbt callbacks in `GenBCode`) ?
* Fix stdin/out for repl launched by SBTFelix Mulder2016-04-281-0/+4
| | | | | Launching the repl with: `runMain dotty.tools.dotc.repl.Main` is now working correctly
* Update to new version of DottyBackendInterface.Dmitry Petrashko2016-04-181-1/+1
| | | | That knows that there exists only single magical array method.
* workaround for ScalaMeter incorrect report pathliu fengyun2016-04-141-1/+0
| | | | | | | | | The ScalaMeter issue is reported here: https://github.com/scalameter/scalameter/pull/163/files The issue exists both in v0.7 and v0.6. As dotty uses v0.6 now, use this workaround until we upgrate to a new version of ScalaMeter.
* Upgrade to Scala.js 0.6.8.Sébastien Doeraene2016-03-181-1/+1
| | | | | | This allows to remove the ugly workaround for default methods. There is also a slight adaptation for the new way to encode a reference to the JS global scope in the IR.
* Removed invalid javacOptions in (Compile, doc)andreaTP2016-03-091-1/+3
|
* Add the sources of scalajs-ir to dotty instead of its binaries.Sébastien Doeraene2016-03-041-2/+32
| | | | | This guarantees that we can bootstrap dotty without depending on the binaries of scalajs-ir compiled by another Scala compiler.