aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix dotty docs gen, scrollFelix Mulder2017-01-317-182/+17
|
* Add annotations to doc ASTFelix Mulder2017-01-3111-26/+59
|
* Add missing info to blog postsFelix Mulder2017-01-314-4/+58
|
* Add basic API generation from templatesFelix Mulder2017-01-319-48/+238
|
* Add scala-logo svgFelix Mulder2017-01-316-8/+53
|
* Port old site to dottydocFelix Mulder2017-01-3136-611/+92
|
* Add blog layoutFelix Mulder2017-01-315-7/+71
|
* Add `site.posts` and make DefaultParams typesafeFelix Mulder2017-01-314-16/+142
|
* Add `firstParagraph` to `Page`Felix Mulder2017-01-311-0/+28
|
* Unwrap strings in YAML front-matterFelix Mulder2017-01-311-1/+5
|
* Remove `Context` from site generationFelix Mulder2017-01-314-25/+26
|
* Make `Page#yaml` be `Map[String, String | List[String]]`Felix Mulder2017-01-313-9/+12
| | | | | YAML front matter can be lists, unfortunately we don't have union types in scala 2
* Add `reverse` filterFelix Mulder2017-01-311-5/+9
|
* Add blog genFelix Mulder2017-01-312-18/+70
|
* Allow extras in main templateFelix Mulder2017-01-311-3/+15
|
* Better naming in doc layoutFelix Mulder2017-01-311-7/+7
|
* Add initial defaults to page generationFelix Mulder2017-01-3114-64/+420
|
* Add static site gen to dottydoc mainFelix Mulder2017-01-314-7/+89
|
* Implement site structure discoveryFelix Mulder2017-01-313-10/+92
|
* Implement `{% include 'template' %}` featureFelix Mulder2017-01-317-41/+125
|
* Preserve `page` object on expansionFelix Mulder2017-01-313-4/+44
|
* Fix recursive expansion of templatesFelix Mulder2017-01-315-15/+44
|
* Add beginnings of Site classFelix Mulder2017-01-313-0/+139
|
* Add resource dir to dottydocFelix Mulder2017-01-311-0/+2
|
* Add `Page` trait with concrete classes for HTML and MDFelix Mulder2017-01-312-13/+83
|
* Add initial page rendering using liquid and yaml front matterFelix Mulder2017-01-314-1/+125
|
* Implement shortening of Markdown AST for summariesFelix Mulder2017-01-315-35/+163
|
* Add ability to completely parse docstring with md or wikiFelix Mulder2017-01-313-7/+142
|
* Factor out WikiParser from CommentParserFelix Mulder2017-01-313-654/+591
|
* Document `IsInstanceOfEvaluator` using markdown style docstringsFelix Mulder2017-01-312-28/+37
|
* Add markdown parsing to dottydocFelix Mulder2017-01-3111-57/+388
|
* Rename `DottyTest` in dottydoc to `DottyDocTest`Felix Mulder2017-01-316-8/+6
|
* Split Dottydoc.scala into separate filesFelix Mulder2017-01-315-90/+107
|
* Fix doc compilation of dotty itselfFelix Mulder2017-01-311-1/+6
|
* Remove dead code from pattern match in doc factoriesFelix Mulder2017-01-311-2/+0
|
* Add test programs to generate docsFelix Mulder2017-01-312-2/+76
|
* Fix doc package structureFelix Mulder2017-01-312-10/+7
|
* Make dottydoc main available for Java instancesFelix Mulder2017-01-314-28/+33
|
* Merge pull request #1920 from dotty-staging/fix-#1916Nicolas Stucki2017-01-312-3/+5
|\ | | | | Fix #1916 - fix erasure of xxl closures
| * Fix #1916 - fix erasure of xxl closuresMartin Odersky2017-01-312-3/+5
|/ | | | | xxl closures need to get the SAM type FunctionXXL as their explicit type field after ersure.
* Merge pull request #1913 from dotty-staging/fix-#1750odersky2017-01-3010-14/+59
|\ | | | | Fix #1750: Alternative fix for cyclic references due to illegal class overrides
| * Fix #1750: Handle illegal class overrides betterMartin Odersky2017-01-2910-14/+59
|/ | | | | | | | | | | | | | | | | | Illegal class overrides are fundamentally at odds with the way dotty represents types and therefore can cause lots of low-level problems. Two measures in this commit First, we detect direct illegal class overrides on completion instead of during RefChecks. Break the override by making the previously overriding type private. This fixes i1750.scala, but still fails for indirect overrides between two unrelated outer traits/classes that are inherited by the same class or trait. We fix this by catching the previously thrown ClassCastException in both ExtractAPI and RefChecks. Test case for indirect overrides is in i1750a.scala.
* Merge pull request #1896 from dotty-staging/fix/bootstrapGuillaume Martres2017-01-2818-146/+194
|\ | | | | Add sbt-based bootstrap
| * Add meta project dotty-bootstrappedGuillaume Martres2017-01-282-1/+7
| | | | | | | | | | | | This way you can run both the dotty-library-bootstrapped and dotty-compiler-bootstrapped tests with one command: sbt ;publishLocal;dotty-bootstrapped/test
| * .drone.yml: Give more resources to the JVM used by sbtGuillaume Martres2017-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | sbt runs up to `Runtime.getRuntime.availableProcessors` tasks in parallel, on our CI that means 40 tasks, compilation tasks are the one with the biggest footprint and the introduction of `dotty-library-bootstrapped` and `dotty-compiler-bootstrapped` in this PR means that sbt can now run more compilation tasks in parallel. To prevent the JVM from exploding, we increase: - The max heap size, from 1G to 4G - The max code cache size, from 240M to 512M - The max metaspace size, from 256M to 1G
| * sbt.ExtractDependencies: avoid false dependenciesGuillaume Martres2017-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Type#member might return a denotation that doesn't "really exists" (as defined by TypeAssigner#reallyExists), in some circumstance this denotation can refer to a symbol in a class that is in the classpath but that is not used by this file, so using addDependency on the result of Type#member might add a false dependency. We avoid this by using Type#select instead which will internally do the right thing. This issue was discovered while compiling the bootstrapped projects which would sometimes force a full recompilation for no reason.
| * Workaround #1895: Bringing a symbol to a new run is brokenGuillaume Martres2017-01-283-5/+19
| |
| * Workaroud #1856: recursively calling a lazy val works differently in DottyGuillaume Martres2017-01-282-2/+21
| |
| * Fix bug in partest.DPConsoleRunnerGuillaume Martres2017-01-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug was that we declared case classes like: case class CompFailed() extends NegTestState but we used their companion objects like in: case _ => CompFailed Interestingly, this bug was caught by compiling this code with dotty, instead of `failureStates` getting inferred to be of type `AnyRef`, it ended up being a union of object types, this allows dotty to realize our subsequent pattern match on `failureStates` cannot possibly succeed: -- Error: /home/smarter/opt/dotty/compiler/test/dotty/partest/DPConsoleRunner.scala 353 | case CompFailedButWrongDiff() => | ^ | missing parameter type for parameter x$1 of expanded function x$1 => | x$1 @unchecked match | { | case CompFailedButWrongDiff() => | nextTestActionFailing(s"output differs") | true | case _ => | false | }, expected = ? -- Error: /home/smarter/opt/dotty/compiler/test/dotty/partest/DPConsoleRunner.scala 353 | case CompFailedButWrongDiff() => | ^^^^^^^^^^^^^^^^^^^^^^^^ |Pattern type CompFailedButWrongDiff is neither a subtype nor a supertype of selector type CompSucceeded | CompFailedButWrongNErr | CompFailed | CompFailedButWrongDiff'where: CompFailedButWrongDiff is a class in method runNegTest | CompFailedButWrongDiff' is a object in method runNegTest
| * Workaround #1770: Run changeOwner at group end in ElimByNameGuillaume Martres2017-01-281-1/+5
| | | | | | | | | | Using changeOwnerAfter would be more appropriate but currently fails with an assertion in LambdaLift