summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js
Commit message (Collapse)AuthorAgeFilesLines
* Scaladoc js location synch more robustAdriaan Moors2015-02-201-1/+1
| | | | | | Tested on: - Mac: FF35/Safari 8/Chrome 41 - Win: IE11
* Actual SI-6555 fix, Scaladoc filter works WITH keyboard shortcuts tooHeather Miller2013-05-121-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* SI-6017 Generate Scaladoc's index links in Scala sideKato Kazuyoshi2013-02-031-18/+1
| | | | There is no reason to do it in JavaScript.
* SI-6555 Scaladoc's class filter shouldn't drop the last characterKato Kazuyoshi2013-01-091-1/+1
| | | | The event handler have to wait "keyup", not "keydown".
* Fixes SI-6170: issue with dragging scaladoc splitter over central iframeingoem2012-10-091-1/+4
|
* SI-5784 Scaladoc: {Abstract,Alias} type templatesVlad Ureche2012-07-171-23/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Adds ability to navigate Scaladoc with arrow keysHeather Miller2012-05-191-4/+76
|
* Minor fix to Tab-switch keyboard shortcutHeather Miller2012-05-181-2/+2
|
* Added Scaladoc keyboard shortcut: tab toggles between panelsHeather Miller2012-05-181-3/+8
|
* Add a link to "z" in ScaladocKato Kazuyoshi2012-05-031-1/+1
| | | | We have index/index-z.html but there is no link in HTML.
* Fixes SI-4641 again.Kato Kazuyoshi2011-07-201-1/+12
|
* [scaladoc] kindFilter should switch show/hide a...Kato Kazuyoshi2011-04-201-2/+5
| | | | | | [scaladoc] kindFilter should switch show/hide anchor of package. Closes #4463. Review by malayeri.
* Makes entire package area clickable in the left...Pedro Furlanetto2011-04-201-7/+6
| | | | | | 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,...Donna Malayeri2011-04-191-2/+58
| | | | | | | [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 ...Donna Malayeri2011-04-111-0/+6
| | | | | | [scaladoc] Improve visual design and layout of Scaladoc, using contributions from Heather Miller. No review.
* [scaladoc] Add explicit link to show linear sup...Donna Malayeri2011-04-041-3/+1
| | | | | | | | [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 b...Kato Kazuyoshi2011-04-011-11/+14
| | | | | | On Scaladoc, we should escape meta characters before compile regexp. No review.
* [scaladoc] Closes #4371. Review by pedrofurla.Kato Kazuyoshi2011-03-261-1/+3
|
* [scaladoc] More faster index filtering.Kato Kazuyoshi2011-02-051-97/+156
|
* [scaladoc] Even faster JavaScript index filteri...Gilles Dubochet2010-10-271-77/+93
| | | | | | [scaladoc] Even faster JavaScript index filtering, by reducing DOM manipulations. Contributed by Kato Kazuyoshi. Review by dubochet.
* * Fix regression with `display packages only`:...Pedro Furlanetto2010-10-071-2/+4
| | | | | | | | | * 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 st...Gilles Dubochet2010-09-301-25/+43
| | | | | | | [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 ...Pedro Furlanetto2010-09-201-0/+5
| | | | | | | 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 colla...Gilles Dubochet2010-09-011-2/+2
| | | | | | | [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 fro...Gilles Dubochet2010-08-191-1/+8
| | | | | | | | | | | | | [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 memb...Gilles Dubochet2010-06-181-1/+7
| | | | | | | | | | | [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...Gilles Dubochet2010-04-081-4/+4
| | | | | | [scaladoc] Fixed filter method in template page (inherited filtering works again). No review. Fixed whitespace in sources.
* [scaladoc] Added "display packages only" filter...Gilles Dubochet2010-02-121-3/+54
| | | | | | [scaladoc] Added "display packages only" filter to entity index. No review.
* [scaladoc] Fixes for IE 8 compatibility.Gilles Dubochet2010-02-121-0/+9
|
* [scaladoc] Fixed popup content lookup so that i...Gilles Dubochet2010-02-111-118/+134
| | | | | | | | [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 Scal...Gilles Dubochet2010-02-081-91/+197
| | | | | | | | | | | [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 low...Gilles Dubochet2010-01-191-9/+23
| | | | | | | | [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.
* [scaladoc] Display of comments is improved.Gilles Dubochet2009-12-091-2/+16
|
* [scaladoc] Types are links.Gilles Dubochet2009-12-021-12/+35
|
* Scaladoc 2.Gilles Dubochet2009-11-241-0/+44