| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Tested on:
- Mac: FF35/Safari 8/Chrome 41
- Win: IE11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit daefab18b8b0c170c372991022357413ec69b2af attempted to fix a bug
related to Scaladoc filtering, meanwhile breaking Scaladoc keyboard
shortcuts.
Before commit daefab18b8b0c170c372991022357413ec69b2af, Scaladoc's
filter wouldn't consider the last character of a search term entered
into the (left) Scaladoc filter pane, but toggling with the `tab` key
between filter panes did work.
After daefab18b8b0c170c372991022357413ec69b2af, Scaladoc's left pane
filter correctly searches for the full search term, but pressing the
`tab` key causes the "focus" of the input bar to be stuck on the
filter panel in the right Scaladoc filter pane, rendering it useless.
End result: annoying Scaladoc interface bug present in 2.10.1, but
which wasn't present in 2.10.0.
This pull request fixes this, enabling both behaviors. The `tab` key
toggle needed to be triggered on a `keydown` event (currently it's
not), while everything else is fine to be triggered on a `keyup`
event. This pull request enables the correct behavior by binding both
a `keydown` and a `keyup` event rather than lumping everything all
together in a `keyup` event (as was the case before).
|
|
|
|
| |
There is no reason to do it in JavaScript.
|
|
|
|
| |
The event handler have to wait "keyup", not "keydown".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Normally scaladoc won't generate template pages for anything other than
packages, classes, traits and objects. But using the @template
annotation on {abstract,alias} types, they get their own page and take
part as full members in the diagrams. Furthermore, when looking for the
companion object, if a value of type T is in scope, T will be taken as
the companion object (even though it might be a class)
All templates, including types are listed on the left navigation pane,
so now adding @template to String can get scaladoc to generate (a
no-comments) page for java.lang.String.
The {abstract, alias} type icons need to be updated -- I just took the
class icons and added a small x to them -- but they shoud be something
else (maybe an underscore?)i
TO USE THIS PATCH:
<pre>
/** @contentDiagram */ // tells scaladoc to create a diagram of the
// templates contained in trait Base
trait Base {
/** @template */ // tells scaladoc to create a page for Foo
type T < Foo
trait Foo { def foo: Int }
}
/** @contentDiagram */
trait Api extends Base {
/** @template */
override type T <: FooApi
trait FooApi extends Foo { def bar: String }
}
</pre>
|
| |
|
| |
|
| |
|
|
|
|
| |
We have index/index-z.html but there is no link in HTML.
|
| |
|
|
|
|
|
|
| |
[scaladoc] kindFilter should switch show/hide anchor of package. Closes
#4463. Review by malayeri.
|
|
|
|
|
|
| |
Makes entire package area clickable in the left panel. Contributed by
Simon Ochsenreither (soc). Closes #4464. Review by malayeri.
|
|
|
|
|
|
|
| |
[scaladoc] Change URL when navigating Scaladoc, so as to allow linking
to individual pages with the left frame intact. Patch submitted by
Ruediger Keller. Closes #4473. No review.
|
|
|
|
|
|
| |
[scaladoc] Improve visual design and layout of Scaladoc, using
contributions from Heather Miller. No review.
|
|
|
|
|
|
|
|
| |
[scaladoc] Add explicit link to show linear supertypes and known
subclasses. Closes #4416. Modifications to style sheets to reduce
number of colors and make the documentation more readable (includes
contributions from Ruediger Keller). No review.
|
|
|
|
|
|
| |
On Scaladoc, we should escape meta characters before compile regexp. No
review.
|
| |
|
| |
|
|
|
|
|
|
| |
[scaladoc] Even faster JavaScript index filtering, by reducing DOM
manipulations. Contributed by Kato Kazuyoshi. Review by dubochet.
|
|
|
|
|
|
|
|
|
| |
* Fix regression with `display packages only`: after clicking, templates were hidden and immediately shown again.
* Better handling of show/hide packages. Closes #3482.
* Removes authors from the docs.
review by dubochet.
|
|
|
|
|
|
|
| |
[scaladoc] JavaScript template search uses a statically built index to
considerably increase performance. Contributed by Kato Kazuyoshi. Review
by dubochet.
|
|
|
|
|
|
|
| |
Adds links from letters to the reference index on the upper section
of the left frame. Needs some layout/color improvements. Review by
dubochet.
|
|
|
|
|
|
|
| |
[scaladoc] Merges Petr's changes from the colladoc branch to only
display less-important information in class comments on demand. Also
fixes a bug with index filter. No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[scaladoc] Merges Petr's change to Scaladoc from the Colladoc branch:
bugfixes, improvements and refactorings that make it possible to extends
Scaladoc into Colladoc.
- Layout of index uses jQuery UI panel instead of frameset.
- Search boxes have correct width on Firefox.
- Scaladoc models the original, untransformed source.
- Various internal bugfixes & refactorings.
Review by dubochet.
|
|
|
|
|
|
|
|
|
|
|
| |
[scaladoc] There is a text filter tool for members (searching on member
name and comment body). Adds button to reset text filter tool. No
review.
Known limitation: filtering of members is blocking on keystroke leading
to sluggish performance on large classes. Scheduler from index needs to
be used for member filtering.
|
|
|
|
|
|
| |
[scaladoc] Fixed filter method in template page (inherited filtering
works again). No review. Fixed whitespace in sources.
|
|
|
|
|
|
| |
[scaladoc] Added "display packages only" filter to entity index. No
review.
|
| |
|
|
|
|
|
|
|
|
| |
[scaladoc] Fixed popup content lookup so that it works on all browsers.
Speed-up in entity index search (according to jQuery manual, observed
no notable difference). Some small aesthetic cleanups in the way index
initialization and filtering behaves. No review.
|
|
|
|
|
|
|
|
|
|
|
| |
[scaladoc] Many improvements in the UI for Scaladoc's entity index
(left-pane):
- It is possible to "focus" on a package to restrict searches on it.
- Filtering in left pane no longer blocks the UI.
- The filter tool for packages is easily recognizable for what it is, not just an empty, mysterious space.
Review by community.
|
|
|
|
|
|
|
|
| |
[scaladoc] Search tool will ignore case for lowercase-only queries. Type
return when search tool is active to immediately search and display the
first result. Contributed by Johannes Rudolph. Also: removed useless
`DocProvider` class. No review, checked by dubochet.
|
| |
|
| |
|
|
|