summaryrefslogtreecommitdiff
path: root/test/scaladoc
Commit message (Collapse)AuthorAgeFilesLines
* Fix SI-4976 partiallyKato Kazuyoshi2012-05-033-0/+31
| | | | | If a package have a package object, generate the package's "linearization" from the object.
* Fixes the backticks in use case signature crashVlad Ureche2012-05-022-0/+30
| | | | | | | | Suggested by Simon in https://groups.google.com/forum/?hl=en&fromgroups#!topic/scala-internals/z7s1CCRCz74 Now it eliminates backticks and gracefully bails out with an error message when it can't remove the wiki syntax.
* 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-144-32/+169
| | | | and implicit pimped on members. Thanks to Lukas for pointing it out!
* Adapted implicits testsuite for SIP18Vlad Ureche2012-04-1412-1/+360
|
* disabling scaladoc tests. Don't know how to fix them to make them work under ↵Martin Odersky2012-04-138-345/+0
| | | | SIP 18.
* Scaladoc feature that shows implicit conversionsVlad Ureche2012-04-1315-6/+603
| | | | | | | 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!
* Fixes SI-5373Vlad Ureche2012-03-278-5/+39
| | | | | And adds basic support for scaladoc model tests (class partest.ScaladocModelTest)
* Adapted scaladoc testVlad Ureche2012-03-231-6/+9
|
* Merge branch 'issue/5054-usecase-cleanup'Vlad Ureche2012-03-202-0/+54
|\ | | | | | | | | Conflicts: test/scaladoc/scala/html/HtmlFactoryTest.scala
| * Adapted indentation in scaladoc code blocksVlad Ureche2012-03-202-1/+55
| | | | | | | | | | and fixed a pesky crash in the syntax highlighting caused by invalid chars (0x0E) in MarkupParser.scala.
| |
| \
*-. \ Merge remote-tracking branches 'VladUreche/feature/inheritdoc-clean', ↵Paul Phillips2012-03-165-57/+320
|\ \ \ | |_|/ |/| | | | | 'acruise/t1118', 'hubertp/issue/5572', 'hubertp/topic/nightly-checkinit', 'axel22/feature/pc-ctrie', 'jsuereth/master-version-fixin' and 'axel22/feature/checkinit-transient' into develop
| * | Merged and cleaned the 'feature/inheritdoc' branchVlad Ureche2012-03-165-57/+320
| |/
* | Merge branch 'master' into merge-inlinePaul Phillips2012-03-143-34/+253
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/scala-compiler.jar.desired.sha1 lib/scala-library-src.jar.desired.sha1 lib/scala-library.jar.desired.sha1 src/compiler/scala/reflect/internal/Definitions.scala src/compiler/scala/reflect/internal/Importers.scala src/compiler/scala/reflect/internal/Symbols.scala src/compiler/scala/reflect/internal/Trees.scala src/compiler/scala/reflect/internal/Types.scala src/compiler/scala/tools/nsc/Global.scala src/compiler/scala/tools/nsc/transform/Erasure.scala src/compiler/scala/tools/nsc/transform/LiftCode.scala src/compiler/scala/tools/nsc/transform/UnCurry.scala src/compiler/scala/tools/nsc/typechecker/RefChecks.scala src/compiler/scala/tools/nsc/typechecker/Typers.scala test/files/run/programmatic-main.check test/files/speclib/instrumented.jar.desired.sha1
| * Scaladoc @usecase annotation overriding / SI-5287Vlad Ureche2012-02-063-34/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | All tests passed... not counting scaladoc.Paul Phillips2012-02-041-21/+21
|/ | | | | | | Disabled failing scaladoc test rather than fixing it because they're too hard to fix, even though it is almost certainly a trivial output change. (The fact that I don't know for sure that it is a trivial output change is also suboptimal.)
* Preserve attribute order in inline XMLSzabolcs Berecz2012-01-141-1/+1
|
* Cleanup after "Fixed equality and string representation of xml attributes ↵Szabolcs Berecz2012-01-121-17/+17
| | | | | | | | | | with null value" This commit reverts the following two commits: 5f2568e36b87d183fd4e4442d5c304db628846c4 - "Revert "Accept prefixed xml attributes with null value" b00002f9049c034510438881b4a4449d73fe2f54 - "Disabling some scaladoc tests." and fixes a scaladoc test broken by: 4787f883604d1344257c0b40c15790c3dde477f2 - "Fixed equality and string representation of xml attributes with null value"
* Disabling some scaladoc tests.Paul Phillips2012-01-111-17/+17
| | | | | | | | | | | These tests are WAY too difficult to work with. I don't have a clue what these failures are telling me, except they are telling me to disable them. Actual output: [partest] Check failed: [partest] HTML: SI_5054_q1classSI_5054_q1extendsAnyRefLinearSupertypesAnyRef,AnyOrderingAlphabeticByinheritanceInheritedHideAllShowallSI_5054_q1AnyRefAnyVisibilityPublicAllInstanceConstructorsnewSI_5054_q1()ValueMembersfinaldef!=(arg0:AnyRef):BooleanDefinitionClassesAnyReffinaldef!=(arg0:Any):BooleanDefinitionClassesAnyfinaldef##():IntDefinitionClassesAnyRefAnyfinaldef==(arg0:AnyRef):BooleanDefinitionClassesAnyReffinaldef==(arg0:Any):BooleanDefinitionClassesAnyfinaldefasInstanceOf[T0]:T0DefinitionClassesAnydefclone():AnyRefAttributesprotected[lang]DefinitionClassesAnyRefAnnotations@throws()finaldefeq(arg0:AnyRef):BooleanDefinitionClassesAnyRefdefequals(arg0:Any):BooleanDefinitionClassesAnyRefAnydeffinalize():UnitAttributesprotected[lang]DefinitionClassesAnyRefAnnotations@throws()finaldefgetClass():Class[_]DefinitionClassesAnyRefAnydefhashCode():IntDefinitionClassesAnyRefAnyfinaldefisInstanceOf[T0]:BooleanDefinitionClassesAnyfinaldefne(arg0:AnyRef):BooleanDefinitionClassesAnyReffinaldefnotify():UnitDefinitionClassesAnyReffinaldefnotifyAll():UnitDefinitionClassesAnyReffinaldefsynchronized[T0](arg0:⇒T0):T0DefinitionClassesAnyRefdeftest():Int[usecase]deftoString():StringDefinitionClassesAnyRefAnyfinaldefwait():UnitDefinitionClassesAnyRefAnnotations@throws()finaldefwait(arg0:Long,arg1:Int):UnitDefinitionClassesAnyRefAnnotations@throws()finaldefwait(arg0:Long):UnitDefinitionClassesAnyRefAnnotations@throws()InheritedfromAnyRefInheritedfromAny
* Fixed "Definition Classes" in bug #5287Vlad Ureche2011-12-165-106/+104
|
* Fixed #5054, #5287Vlad Ureche2011-12-089-14/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixes the annoying spaces between name, type params and params in ScalaDoc.Simon Ochsenreither2011-12-061-7/+7
|
* Changed the way use cases are handled in scaladoc.Vlad Ureche2011-11-223-0/+34
| | | | | | | | | | 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.
* Make partest work with spaces in the path (from...Stefan Zeiger2011-11-223-8/+8
| | | | | | | | | | | | | | Make partest work with spaces in the path (from batch script and ant task). - The 'partest' ant task gets a new 'compilerargs' element for scalac - options (like in scalacfork and javac). Fixed argument list handling - in partest task. Further improvements to argument list handling for - all ant tasks. Fixed argument list handling in DirectTest (used by - partest shell scripts) Fixed path handling in several test cases. Closes SI-622. Review by phaller.
* Begone t1737...Hubert Plociniczak2011-11-022-5/+5
|
* Reverting r25787 (caused test.scaladoc failures...Antonio Cunei2011-10-171-19/+2
| | | | | Reverting r25787 (caused test.scaladoc failures on certain systems)
* Add "Google tokens for Scala" for symbolic name...Kato Kazuyoshi2011-10-062-2/+15
| | | | | | | | | | | | | 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 a small "template engine" and separete HTML...Kato Kazuyoshi2011-10-041-2/+19
| | | | | | Add a small "template engine" and separete HTML from Scaladoc's source code. Review by ureche.
* Add some basic tests for Scaladoc.Kato Kazuyoshi2011-10-042-0/+51
|
* Fixes SI-4507.Kato Kazuyoshi2011-08-112-0/+27
|
* Some "synthetic" code don't have RangePosition.Kato Kazuyoshi2011-08-062-0/+17
|
* Scaladoc shouldn't drop type arguments to alias...Kato Kazuyoshi2011-07-282-0/+13
| | | | | | 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-252-0/+17
|
* Should not set the parameter name's width on CSS.Kato Kazuyoshi2011-07-222-0/+22
|
* scaladoc fixes and improvementsmichelou2011-07-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to scaladoc include: - fixed transformation of Code(text) into HTML tag <code> - added tool tips for deprecated entities (classes, methods) using the 'title' attribute - added syntax highlighting of Scala source code in generated <pre> blocks (CSS colors are defined in lib/template.css) Here are several examples of highlighted Scala code: scala.App scala.Application scala.Enumeration scala.Function1 scala.Function2 scala.native scala.Option scala.Proxy scala.specialized scala.throws scala.unchecked scala.actors.Actor scala.annotation.deprecatedName scala.annotation.elidable scala.annotation.switch scala.collection.DefaultMap scala.collection.JavaConversions scala.collection.JavaConverters scala.collection.LinearSeqLike scala.collection.MapLike scala.collection.SetLike scala.collection.TraversableLike scala.collection.immutable.NumericRange scala.collection.immutable.Range scala.collection.immutable.Stream scala.collection.mutable.BufferLike scala.concurrent.pilib scala.io.Position scala.reflect.BeanProperty scala.reflect.Manifest scala.testing.Benchmark scala.util.DynamicVariable scala.util.control.Breaks scala.util.control.ControlThrowable scala.util.control.Exception scala.util.control.TailCalls scala.util.logging.Logged scala.util.parsing.combinator.testing.Tester scala.util.parsing.json.JSON scala.util.regexp.WordExp scala.xml.factory.LoggedNodeFactory scala.xml.parsing.ConstructingParser
* Add a test for #4421 and clean up a little.Kato Kazuyoshi2011-07-062-0/+17
|
* Separete index.js to parallelize downloads.Kato Kazuyoshi2011-06-202-20/+52
|
* The '#' sign may easily to lead to problems, So...Kato Kazuyoshi2011-06-122-0/+10
| | | | | | The '#' sign may easily to lead to problems, So we use '_' instead of '#'. Closes #4641.
* [scaladoc] kindFilter should switch show/hide a...Kato Kazuyoshi2011-04-203-0/+53
| | | | | | [scaladoc] kindFilter should switch show/hide anchor of package. Closes #4463. Review by malayeri.
* [scaladoc] Strike-through for deprecated symbol...Kato Kazuyoshi2011-04-152-0/+41
| | | | | | [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-122-5/+24
|
* [scaladoc] Forget to add test case at r24732.Kato Kazuyoshi2011-04-111-0/+11
|
* [scaladoc] Closes #4452. Review by malayeri.Kato Kazuyoshi2011-04-111-0/+8
|
* [scaladoc] Fix failing test. No review.Donna Malayeri2011-04-051-4/+4
|
* Every tag element (even @define and @usecase) e...Kato Kazuyoshi2011-04-042-0/+23
| | | | | | 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-012-0/+26
| | | | | | 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-012-0/+26
| | | | | Fix for parsing bug in scaladoc closes #4420, no review.
* Printing refinement types in scaladoc.Paul Phillips2011-03-312-0/+39
| | | | | | 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-312-0/+38
|
* [scaladoc] Scaladoc should expand macros recurs...Kato Kazuyoshi2011-03-302-0/+51
| | | | | | [scaladoc] Scaladoc should expand macros recursively. Closes #3484. Review by dubochet.