Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix dotty docs gen, scroll | Felix Mulder | 2017-01-31 | 7 | -182/+17 |
| | |||||
* | Add annotations to doc AST | Felix Mulder | 2017-01-31 | 11 | -26/+59 |
| | |||||
* | Add missing info to blog posts | Felix Mulder | 2017-01-31 | 4 | -4/+58 |
| | |||||
* | Add basic API generation from templates | Felix Mulder | 2017-01-31 | 9 | -48/+238 |
| | |||||
* | Add scala-logo svg | Felix Mulder | 2017-01-31 | 6 | -8/+53 |
| | |||||
* | Port old site to dottydoc | Felix Mulder | 2017-01-31 | 36 | -611/+92 |
| | |||||
* | Add blog layout | Felix Mulder | 2017-01-31 | 5 | -7/+71 |
| | |||||
* | Add `site.posts` and make DefaultParams typesafe | Felix Mulder | 2017-01-31 | 4 | -16/+142 |
| | |||||
* | Add `firstParagraph` to `Page` | Felix Mulder | 2017-01-31 | 1 | -0/+28 |
| | |||||
* | Unwrap strings in YAML front-matter | Felix Mulder | 2017-01-31 | 1 | -1/+5 |
| | |||||
* | Remove `Context` from site generation | Felix Mulder | 2017-01-31 | 4 | -25/+26 |
| | |||||
* | Make `Page#yaml` be `Map[String, String | List[String]]` | Felix Mulder | 2017-01-31 | 3 | -9/+12 |
| | | | | | YAML front matter can be lists, unfortunately we don't have union types in scala 2 | ||||
* | Add `reverse` filter | Felix Mulder | 2017-01-31 | 1 | -5/+9 |
| | |||||
* | Add blog gen | Felix Mulder | 2017-01-31 | 2 | -18/+70 |
| | |||||
* | Allow extras in main template | Felix Mulder | 2017-01-31 | 1 | -3/+15 |
| | |||||
* | Better naming in doc layout | Felix Mulder | 2017-01-31 | 1 | -7/+7 |
| | |||||
* | Add initial defaults to page generation | Felix Mulder | 2017-01-31 | 14 | -64/+420 |
| | |||||
* | Add static site gen to dottydoc main | Felix Mulder | 2017-01-31 | 4 | -7/+89 |
| | |||||
* | Implement site structure discovery | Felix Mulder | 2017-01-31 | 3 | -10/+92 |
| | |||||
* | Implement `{% include 'template' %}` feature | Felix Mulder | 2017-01-31 | 7 | -41/+125 |
| | |||||
* | Preserve `page` object on expansion | Felix Mulder | 2017-01-31 | 3 | -4/+44 |
| | |||||
* | Fix recursive expansion of templates | Felix Mulder | 2017-01-31 | 5 | -15/+44 |
| | |||||
* | Add beginnings of Site class | Felix Mulder | 2017-01-31 | 3 | -0/+139 |
| | |||||
* | Add resource dir to dottydoc | Felix Mulder | 2017-01-31 | 1 | -0/+2 |
| | |||||
* | Add `Page` trait with concrete classes for HTML and MD | Felix Mulder | 2017-01-31 | 2 | -13/+83 |
| | |||||
* | Add initial page rendering using liquid and yaml front matter | Felix Mulder | 2017-01-31 | 4 | -1/+125 |
| | |||||
* | Implement shortening of Markdown AST for summaries | Felix Mulder | 2017-01-31 | 5 | -35/+163 |
| | |||||
* | Add ability to completely parse docstring with md or wiki | Felix Mulder | 2017-01-31 | 3 | -7/+142 |
| | |||||
* | Factor out WikiParser from CommentParser | Felix Mulder | 2017-01-31 | 3 | -654/+591 |
| | |||||
* | Document `IsInstanceOfEvaluator` using markdown style docstrings | Felix Mulder | 2017-01-31 | 2 | -28/+37 |
| | |||||
* | Add markdown parsing to dottydoc | Felix Mulder | 2017-01-31 | 11 | -57/+388 |
| | |||||
* | Rename `DottyTest` in dottydoc to `DottyDocTest` | Felix Mulder | 2017-01-31 | 6 | -8/+6 |
| | |||||
* | Split Dottydoc.scala into separate files | Felix Mulder | 2017-01-31 | 5 | -90/+107 |
| | |||||
* | Fix doc compilation of dotty itself | Felix Mulder | 2017-01-31 | 1 | -1/+6 |
| | |||||
* | Remove dead code from pattern match in doc factories | Felix Mulder | 2017-01-31 | 1 | -2/+0 |
| | |||||
* | Add test programs to generate docs | Felix Mulder | 2017-01-31 | 2 | -2/+76 |
| | |||||
* | Fix doc package structure | Felix Mulder | 2017-01-31 | 2 | -10/+7 |
| | |||||
* | Make dottydoc main available for Java instances | Felix Mulder | 2017-01-31 | 4 | -28/+33 |
| | |||||
* | Merge pull request #1920 from dotty-staging/fix-#1916 | Nicolas Stucki | 2017-01-31 | 2 | -3/+5 |
|\ | | | | | Fix #1916 - fix erasure of xxl closures | ||||
| * | Fix #1916 - fix erasure of xxl closures | Martin Odersky | 2017-01-31 | 2 | -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-#1750 | odersky | 2017-01-30 | 10 | -14/+59 |
|\ | | | | | Fix #1750: Alternative fix for cyclic references due to illegal class overrides | ||||
| * | Fix #1750: Handle illegal class overrides better | Martin Odersky | 2017-01-29 | 10 | -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/bootstrap | Guillaume Martres | 2017-01-28 | 18 | -146/+194 |
|\ | | | | | Add sbt-based bootstrap | ||||
| * | Add meta project dotty-bootstrapped | Guillaume Martres | 2017-01-28 | 2 | -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 sbt | Guillaume Martres | 2017-01-28 | 1 | -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 dependencies | Guillaume Martres | 2017-01-28 | 1 | -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 broken | Guillaume Martres | 2017-01-28 | 3 | -5/+19 |
| | | |||||
| * | Workaroud #1856: recursively calling a lazy val works differently in Dotty | Guillaume Martres | 2017-01-28 | 2 | -2/+21 |
| | | |||||
| * | Fix bug in partest.DPConsoleRunner | Guillaume Martres | 2017-01-28 | 1 | -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 ElimByName | Guillaume Martres | 2017-01-28 | 1 | -1/+5 |
| | | | | | | | | | | Using changeOwnerAfter would be more appropriate but currently fails with an assertion in LambdaLift |