summaryrefslogtreecommitdiff
path: root/test/scaladoc/resources
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Scaladoc class diagrams part 1"Vlad Ureche2012-06-183-85/+9
| | | | This reverts commit 831f09bb6d00c152bd8aef3ce8bf9e200080fe36.
* Scaladoc class diagrams part 1Vlad Ureche2012-06-143-9/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit contains model changes required for adding class diagrams to scaladoc. It also contains an improved implicit shadowing computation, which hides the shadowed implicitly inherited members from the main view and gives instructions on how to access them. This is joint work with Damien Obrist (@damienobrist) on supporting diagram generation in scaladoc, as part of Damien's semester project in the LAMP laborarory at EPFL. The full history is located at: https://github.com/damienobrist/scala/tree/feature/diagrams-dev Commit summary: - diagrams model - diagram settings (Settings.scala, ScalaDoc.scala) - diagram model object (Entity.scala, Diagram.scala) - model: tracking direct superclasses and subclasses, implicit conversions from and to (ModelFactory.scala) - diagram object computation (DiagramFactory.scala, DocFactory.scala) - capacity to filter diagrams (CommentFactory.scala, DiagramDirectiveParser.scala) - diagram statistics object (DiagramStats.scala) - delayed link evaluation (Body.scala, Comment.scala) - tests - improved implicits shadowing information - model shadowing computation (ModelFactoryImplicitSupport.scala, Entity.scala) - html generation for shadowing information (Template.scala) - tests Also fixes an issue reported by @dragos, where single-line comment expansion would lead to the comment disappearing. Review by @kzys, @pedrofurla.
* Fix SI-4976 partiallyKato Kazuyoshi2012-05-031-0/+14
| | | | | If a package have a package object, generate the package's "linearization" from the object.
* migrates stdlib and compiler to tagsEugene Burmako2012-04-231-1/+2
| | | | | * all usages of ClassManifest and Manifest are replaced with tags * all manifest tests are replaced with tag tests
* Reimplemented shadowing between class membersVlad Ureche2012-04-142-32/+98
| | | | and implicit pimped on members. Thanks to Lukas for pointing it out!
* Adapted implicits testsuite for SIP18Vlad Ureche2012-04-144-1/+11
|
* Scaladoc feature that shows implicit conversionsVlad Ureche2012-04-134-0/+251
| | | | | | | See https://github.com/VladUreche/scala/tree/feature/doc-implicits for the history. See https://scala-webapps.epfl.ch/jenkins/view/scaladoc/job/scaladoc-implicits-nightly/ for nightlies. Many thanks fly out to Adriaan for his help with implicit search!
* Merge branch 'issue/5054-usecase-cleanup'Vlad Ureche2012-03-201-0/+37
|\ | | | | | | | | Conflicts: test/scaladoc/scala/html/HtmlFactoryTest.scala
| * Adapted indentation in scaladoc code blocksVlad Ureche2012-03-201-0/+37
| | | | | | | | | | and fixed a pesky crash in the syntax highlighting caused by invalid chars (0x0E) in MarkupParser.scala.
* | Merged and cleaned the 'feature/inheritdoc' branchVlad Ureche2012-03-164-4/+177
|/
* Scaladoc @usecase annotation overriding / SI-5287Vlad Ureche2012-02-062-0/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From now on, the usecases inherit the comments from their parents, such as the explanation and the annotations: @param, @tparam, @return, etc. An example of usecase comment inheritance is: /** * The test function tests the parameter param for ... * * @param theParam the implicit parameter to be tested for ... * @return the result of the test * * * * @usecase def test(): Bool * * The test function tests the parameter taken implicitly from scope. * Example: `test()` * * @return the result of the test for the current scope * * * * @usecase def test(theParam: SomeType): Bool * * This takes the explicit value passed. * Example: `test(3)` * * @param theParam the explicit parameter to be tested for ... */ def test(implicit theParam: SomeType): Bool Notice both usecases override the explanation with their own examples. The first usecase also overrides the "@return" annotation while the 2nd usecase overrides the "@param theParam" annotation. If they didn't override the explanations and annotations, they would inherit the values from the actual implementation, def test(implicit ...) This will be followed by @inheritdoc, which enables more fine-grained control over comment inheritance. The full explanation of using comment inheritance and @inheritdoc and their interaction with variables is given at https://wiki.scala-lang.org/display/SW/Tags+and+Annotations in the "Comment inheritance" and "Inheritance Example" sections.
* Fixed "Definition Classes" in bug #5287Vlad Ureche2011-12-162-4/+21
|
* Fixed #5054, #5287Vlad Ureche2011-12-088-10/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | The documents with use cases should be restructured like: /** * The full definition, either used with an implicit value or with an explicit one. * * Some more explanation on implicits... * * @param lost a lost parameter * @return some integer * * @usecase def test(): Int * * This takes the implicit value in scope. * * Example: `test()` * * @usecase def test(explicit: Int): Int * * This takes the explicit value passed. * * Example: `test(3)` */ def test(implicit lost: Int): Int
* Changed the way use cases are handled in scaladoc.Vlad Ureche2011-11-222-0/+19
| | | | | | | | | | If use cases are present, the original member disappears from the list. References SI-5054, but needs more work on the html part. If use cases are present along with links, scaladoc doesn't crash anymore. Closes SI-4898. Review by kzys.
* Add "Google tokens for Scala" for symbolic name...Kato Kazuyoshi2011-10-061-0/+7
| | | | | | | | | | | | | Add "Google tokens for Scala" for symbolic names on Scaladoc. Review by ureche. We can't use Scala's symbolic names on Google. Instead of waiting Google, we'll introduce mapping from the names to equivalent searchable representations. This idea proposed by Grzegorz Kossakowski. https://groups.google.com/group/scala-internals/browse_thread/thread/413 dbc691542f76f
* Add some basic tests for Scaladoc.Kato Kazuyoshi2011-10-041-0/+20
|
* Fixes SI-4507.Kato Kazuyoshi2011-08-111-0/+19
|
* Some "synthetic" code don't have RangePosition.Kato Kazuyoshi2011-08-061-0/+6
|
* Scaladoc shouldn't drop type arguments to alias...Kato Kazuyoshi2011-07-281-0/+4
| | | | | | Scaladoc shouldn't drop type arguments to aliased tuple. Related to SI-4676. Review by pedrofurla.
* Scaladoc should decode symbolic type alias name.Kato Kazuyoshi2011-07-251-0/+7
|
* Should not set the parameter name's width on CSS.Kato Kazuyoshi2011-07-221-0/+11
|
* Add a test for #4421 and clean up a little.Kato Kazuyoshi2011-07-061-0/+7
|
* The '#' sign may easily to lead to problems, So...Kato Kazuyoshi2011-06-121-0/+3
| | | | | | The '#' sign may easily to lead to problems, So we use '_' instead of '#'. Closes #4641.
* [scaladoc] Strike-through for deprecated symbol...Kato Kazuyoshi2011-04-151-0/+9
| | | | | | [scaladoc] Strike-through for deprecated symbols on the reference index. Closes #4471. Review by dubochet.
* [scaladoc] Closes #4452 again. Review by malayeri.Kato Kazuyoshi2011-04-121-4/+23
|
* [scaladoc] Forget to add test case at r24732.Kato Kazuyoshi2011-04-111-0/+11
|
* Every tag element (even @define and @usecase) e...Kato Kazuyoshi2011-04-041-0/+14
| | | | | | Every tag element (even @define and @usecase) end before the next recognised tag. Closes #4409. Review by extempore.
* Put "\n" between superclass's comment and subcl...Kato Kazuyoshi2011-04-011-0/+13
| | | | | | Put "\n" between superclass's comment and subclass's. Closes #4289. Review by pedrofurla.
* Fix for parsing bug in scaladoc closes #4420, n...Paul Phillips2011-04-011-0/+14
| | | | | Fix for parsing bug in scaladoc closes #4420, no review.
* Printing refinement types in scaladoc.Paul Phillips2011-03-311-0/+18
| | | | | | one-member refinements, for bigger ones printing the number of members. Should be improved. Closes #484, no review.
* [scaladoc] Don't link to syntetic companion.Kato Kazuyoshi2011-03-311-0/+5
|
* [scaladoc] Scaladoc should expand macros recurs...Kato Kazuyoshi2011-03-301-0/+27
| | | | | | [scaladoc] Scaladoc should expand macros recursively. Closes #3484. Review by dubochet.
* [scaladoc] Don't create broken link to private ...Kato Kazuyoshi2011-03-291-0/+5
| | | | | | [scaladoc] Don't create broken link to private companion object. Closes #4374. Review by pedrofurla.
* [scaladoc] Cleanup code. No review.Kato Kazuyoshi2011-03-292-2/+2
|
* [scaladoc] Add a test of colon and parentheses ...Kato Kazuyoshi2011-03-291-0/+5
| | | | | [scaladoc] Add a test of colon and parentheses (#4372). No review.
* [scaladoc] Add a test for #4180. No review.Kato Kazuyoshi2011-03-251-0/+4
|
* [scaladoc] Stop wiki syntax parsing inside HTML.Kato Kazuyoshi2011-03-251-0/+8
|
* [scaladoc] Closes #4366. Review by pedrofurla.Kato Kazuyoshi2011-03-221-0/+8
|
* [scaladoc] Add a test for #4306.Kato Kazuyoshi2011-03-211-0/+5
|
* [scaladoc] Add HtmlFactoryTest and reorganize d...Kato Kazuyoshi2011-03-211-0/+11
[scaladoc] Add HtmlFactoryTest and reorganize directory structure. Reviewed by pedrofurla.