aboutsummaryrefslogtreecommitdiff
path: root/project
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Initial infrastructure and hello world for the Scala.js back-end.Sébastien Doeraene2016-03-012-0/+153
| | | | | | | | | | | | | | | | The Scala.js back-end can be enabled with the `-scalajs` command-line option. Currently, it adds one phase to the pipeline, which emits .sjsir files from trees. A sandbox project `sjsSandbox`, in `sandbox/scalajs/`, can be used to easily test Scala.js compilation. One can run the `main()` method of the `hello.world` object with > sjsSandbox/run The back-end only contains the bare mimimum to compile the hello world application in the sandbox. Anything else will blow up (for example, primitive method calls). It is a work-in-progress.
* Build.scala: increase Jenkins max heap from 1.1G to 1.3GGuillaume Martres2016-03-011-3/+1
| | | | | | | | This should be safe now that run tests do not take so much memory anymore (cf #1033 and #1076). It would be even better if we could figure out why we're using so much memory, but that's less important than avoiding spurious test failures.
* Rename travisMemLimit to jenkinsMemLimit, we don't use travis anymoreGuillaume Martres2016-03-011-2/+2
|
* Merge pull request #1125 from dotty-staging/add/interfaceGuillaume Martres2016-02-281-1/+10
|\ | | | | Add a `dotty-interfaces` package
| * Add a `dotty-interfaces` packageGuillaume Martres2016-02-281-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We introduce a new entry point for the compiler in `dotty.tools.dotc.Driver`: ``` def process(args: Array[String], simple: interfaces.SimpleReporter, callback: interfaces.CompilerCallback): interfaces.ReporterResult ``` Except for `args` which is just an array, the argument types and return type of this method are Java interfaces defined in a new package called `dotty-interfaces` which has a stable ABI. This means that you can programmatically run a compiler with a custom reporter and callbacks without having to recompile it against every version of dotty: you only need to have `dotty-interfaces` present at compile-time and call the `process` method using Java reflection. See `test/test/InterfaceEntryPointTest.scala` for a concrete example. This design is based on discussions with the IntelliJ IDEA Scala plugin team. Thanks to Nikolay Tropin for the discussions and his PR proposal (see #1011).
* | Upgrade sbt to 0.13.11 and scalastyle-sbt-plugin to 0.8.0Guillaume Martres2016-02-282-6/+2
|/ | | | | | | | | Upgrading sbt will allow us to experiment with bootstrapping using sbt since 0.13.11 is the first release that supports building with dotty (see https://github.com/smarter/dotty-bridge). Upgrading scalastyle-sbt-plugin allows us to remove the workaround for https://github.com/scalastyle/scalastyle/issues/156
* Modernize and clean up the build.Sébastien Doeraene2016-02-171-160/+151
| | | | | | | | | | | | Settings `in Global` are moved to Build.settings. Otherwise they are added *twice* in every project. Project definitions use the `project` macro rather than the `Project()` factory, as is the customary notation since sbt 0.13. The `Defaults.coreDefaultSettings` is therefore dropped. The coding style of project definitions is adapted to the style shown in sbt documentations.
* Upgrade scala-partest to 1.0.11Guillaume Martres2016-01-171-1/+1
| | | | First step in fixing #1034
* Increase the maximum heap size on JenkinsGuillaume Martres2016-01-161-1/+3
| | | | | | | | We're getting a lot of OutOfMemoryException when the maximum size is 1 GB, but we cannot increase it too much without using up all the memory available on the Jenkins instances, let's see if 1.1 GB is enough. Also stop using a custom -Xss, the default of 1 MB should be good enough.
* Partest dotty non-bootstrapped.Dmitry Petrashko2016-01-131-1/+2
| | | | | | Needs to go in before https://github.com/scala/scala-jenkins-infra/pull/152 is deployed
* Build.scala: only enable features we useGuillaume Martres2016-01-041-2/+2
| | | | | -language:_ does not work when compiling dotty with dotty because it implies -language:keepUnions which prevents dotty from typechecking
* Add a compiler.properties resource file like in Scala 2Guillaume Martres2015-12-311-0/+8
| | | | | | | This is used by sbt to get the compiler's version. The code to generate the resource comes from http://www.scala-sbt.org/0.13/docs/Howto-Generating-Files.html#Generate+resources
* Revert "Go back to sbt 0.13.5 until 0.13.9 is published on type safe ↵Dmitry Petrashko2015-11-101-1/+1
| | | | | | artifactory" This reverts commit 2f41c73ee86a56b190758baaf5999ed85d2f57a1.
* Go back to sbt 0.13.5 until 0.13.9 is published on type safe artifactoryDmitry Petrashko2015-11-091-1/+1
|
* Fix sbt: project/plugins.sbt needs empty line.Dmitry Petrashko2015-11-091-0/+1
|
* Upgrade SBT to 0.13.9 and upgrade SBT pluginsGuillaume Martres2015-10-302-4/+6
|
* Build.scala: Fix deprecation warningsGuillaume Martres2015-10-251-2/+2
|
* Run partest under bootstrapped dotty.Dmitry Petrashko2015-10-231-3/+3
|
* Update version of bundled backend.Dmitry Petrashko2015-10-221-1/+1
|
* Merge pull request #735 from dotty-staging/ycheck-methodsodersky2015-08-041-1/+1
|\ | | | | Ycheck that methods defined in ClassInfo exist in tree.
| * Update version of shared backend.Dmitry Petrashko2015-07-141-1/+1
| | | | | | | | | | | | Includes fix to emission of invokeDynamic instructions in positions where expected type isn't the type of lambda being returned. SI-9387
| * Upgrade shared backend.Dmitry Petrashko2015-07-131-1/+1
| | | | | | | | Fixes bugs in handling try-finally blocks.
* | Enable -Ycheck:all in Jenkins.Dmitry Petrashko2015-07-201-5/+5
|/ | | | | Done by setting an environment variable and checking it in runtime. This enables Ycheck:all for all kinds of tests, including partest.
* Arrays.newRefArray has multiple symbols that coexist during bootstrap.Dmitry Petrashko2015-07-051-1/+1
| | | | More magic is needed, as enumerating array symbols does not work in backend.
* Package dotty before running partest.Dmitry Petrashko2015-05-281-6/+6
| | | | To make sure that artifact is the same.
* Added partest-only sbt target and less verbose file generationvsalvis2015-05-221-1/+2
|
* Partest command line options (same as scala) useable from sbtvsalvis2015-05-131-3/+7
|
* Removing pickle tests because directory doesn't exist anymore.vsalvis2015-05-121-2/+2
|
* More robust partest/test switching for concurrent sbt instancesvsalvis2015-05-121-43/+38
|
* Better documentation for partest dottyJar optionvsalvis2015-05-121-3/+13
|
* Run tests for partestvsalvis2015-05-121-11/+33
|
* Merge pull request #535 from dotty-staging/Build-scalaDmitry Petrashko2015-05-091-0/+7
|\ | | | | dotc: Get versions of all dependencies from Build.scala
| * Get rid of build.sbt.Dmitry Petrashko2015-05-041-0/+7
| |
* | Update scala-compiler fork.Dmitry Petrashko2015-05-081-1/+1
|/ | | | Includes fixes to lambas, and no type projections in signatures.
* Leave traces for future profiling.Dmitry Petrashko2015-04-301-1/+5
|
* Increase heap and stack size on travis.Dmitry Petrashko2015-04-301-1/+1
|
* Robuster FileLock test to prevent exception if fork in Test is ever disabledvsalvis2015-04-201-1/+2
|
* Using FileLock to distinguish between test and partest modevsalvis2015-04-201-7/+11
|
* Partest for Dotty with pos tests and neg tests with error countvsalvis2015-04-171-4/+16
|
* Update version of scalac-compiler fork.Dmitry Petrashko2015-04-161-1/+1
| | | | | | | This update allows to have non-static lambdas. It doesn't mean that we should emit such, as they are potential memory leak. See #480 Fixes #470
* Ensure spaces after `if` in Dotty source.Dmitry Petrashko2015-04-091-1/+1
|
* Add spaces around + in dotty source.Dmitry Petrashko2015-04-091-2/+2
|
* Remove trailing spaces in Dotty source.Dmitry Petrashko2015-04-091-2/+2
|
* Add scalastyle to dependencies, with default config.Dmitry Petrashko2015-04-091-0/+3
|