| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* Move method into TraversableOnce from Iterator and Traversable to make the build pass.
* Udpate IDE tests with new collection methods.
* Rewire default toXYZ methods to use convertTo.
|
| |
|
|
|
|
|
|
| |
* Fixed typo
* Renamed copyInto to copyTo
* Added tparam doc.
|
|
|
|
|
| |
* Added generic copyInto method for collections. For any collection with a CanBuildFrom, can convert a generic collection into it using the builder.
* Added specifici toVector method for collections. This is more efficient than copyInto if the collection is a Vector.
|
|\
| |
| | |
Reverting the diagrams
|
| |
| |
| |
| | |
This reverts commit 831f09bb6d00c152bd8aef3ce8bf9e200080fe36.
|
| |
| |
| |
| | |
This reverts commit fba4098ca592bdd7d6609017daa4a08f274f35ec.
|
| |
| |
| |
| | |
This reverts commit 556065151c10685240dd907691dab5e094c87efc.
|
|\|
| |
| | |
Diagrams in Scaladoc
|
| |
| |
| |
| |
| |
| |
| | |
Since we used it in the DocRunner and noticed it could have better
documentation.
Review by @heathermiller.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit contains the svg diagram generation using the graphviz
package, the template changes, the css styling and javascript code
that enables displaying and interacting with the diagrams.
The full history is located at:
https://github.com/damienobrist/scala/tree/feature/diagrams-dev
The diagrams are included as svg markup inside the html code. This
enables interacting with the image beyond what would be possible
with a static image (highlighting, scaling, tooltips, links to
nodes, etc).
The svg generation has four main phases: model => dot,
dot => svg (using the graphviz package), svg postprocessing,
inclusion in the html page.
This commit also fixes SI-5212 - links to individual pages
automatically load the left navigation panel of the website.
Commit summary:
- diagram generation
- model => dot (DotDiagramGenerator.scala, DiagramGenerator.scala)
- dot => svg (DotRunner.scala)
- svg post-processing (DotDiagramGenerator.scala)
- svg inclusion in the html (Template.scala)
- diagram interaction
- css, js and image files
Review by @heathermiller, @kzys.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
classtag => classmanifest conversion no longer requires runtime universe
|
| | | |
|
|\ \ \
| | | |
| | | | |
Wip sensible deprecation msgs √
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
fixes SI-5912
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
Adding JDK7 friendly build with new partialdist(-opt) tasks.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* When running in JDK 7 issues a warning.
* New partialdist, partialdist-opt tasks allow creating a distribution with no source/docs.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
fastlocker target for ant
|
| | |/ /
| |/| |
| | | |
| | | | |
doesn't build msil in locker.comp
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Wow, I wonder what the upper bound is on how long I might have chased my
tail before finding this. I know what the lower bound is, unfortunately.
It's just that usually the answer to a mystery is not "the empty package
class has magically become the root class, but only sometimes."
|
|\ \ \ \
| |_|/ /
|/| | | |
Fixups to Future task stack
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes a bug where _taskStack could batch a task
into the wrong executor, as previously commented in the
code.
It now uses the _taskStack machinery for the Future.apply
dispatch in addition to callback dispatch, so we can batch
Future(body) as well.
Less significantly, it micro-optimizes by combining some
different closures and Runnable into a Task object, so
there aren't as many objects created when storing and
dispatching a callback. So it saves a bit of memory
and runtime perhaps.
|
|\ \ \
| |/ /
|/| | |
fixes a checkinit problem
|
| | | |
|
|\ \ \
| |_|/
|/| | |
A tribute to https://github.com/scala/scala/pull/414
|
|/ / |
|
|\ \
| | |
| | | |
Suppress non-local return unchecked warnings.
|
| | |
| | |
| | |
| | |
| | | |
There doesn't seem to be any way to do that by adding
a synthetic annotation.
|
|\ \ \
| | | |
| | | | |
Breaks.break should return Nothing, not Unit
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
Fix for reflection. Review/Use by @adriaanm
|
|/ / |
|
|\ \
| | |
| | | |
Fix libs in build
|
| | |
| | |
| | |
| | |
| | |
| | | |
* MSIL is now compiled/embedded with compiler
* Tested building new STARR, everything groovy
* Can probably remove msil/forkjoin/fjbg from STARR now that they're properly embedded/built.
|
|/ /
| |
| |
| |
| | |
* forkjoin.done/forkjoine.clean can test forkjoin source
* fjbg.done/fjbg.clean can test fjbg source.
|
|\ \
| | |
| | | |
SI-5696 Detect excess constructor argument lists.
|
| | |
| | |
| | |
| | | |
An apply method fooled the usual mechanism.
|
|\ \ \
| |/ /
|/| | |
SI-5162 Exclude super.foo from the erasure cast of SI-4283
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
If the target method is defined in Java, treat the super reference
as an error, otherwise allow it in the knowledge that Scala loosens
the access restrictions on its generated classes.
Moves the test for that bug out of pending-ville. It's sufficient
to place Test in the empty package to exercise the right code paths.
|
|\ \
| | |
| | | |
SI-4831 Fix ambiguous import detection for renamed imports.
|
| |/ |
|
|\ \
| | |
| | | |
An IntelliJ module for reflect.
|
| |/ |
|
|\ \
| | |
| | | |
better unreachability for selections
|