nitdoc: moved base64 and github to their own modules

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
ni_nitdoc: hide gitbub login box at page loading

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
ni_nitdoc: github login box is now generated by JS

Also corrected:
  * cropped btn display
  * login box display out of screen on splited windows

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
ni_nitdoc: removed all JS info for GitHub from NitDoc.

Infos will be added by JS later.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib: adds methods == and hash to BM_Pattern

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: extend time.nit with C's time_t and struct tm

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: adds some features to file.nit

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: adds Map::get_or_default

If returns the according value if the map has the key,
otherwise it returns the default value.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib: intro the sort_downloads script

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib/sort_downloads: fix replace_tilde

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib/sort_downloads: fix hack of BM_Pattern

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
ni_nitdoc: removed useless bottom margin with empty footer text

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
ni_nitdoc: open show code links in new tab

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
ni_nitdoc: added fast copy past utility to signatures.

The "copy signature" button is added by JS. Copy to clipboard functionality is provided by the Zeroclipboard JS lib.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
ni_nitdoc: renamed Full Index page into "Search"

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
ni_nitdoc: fixed duplicates in properties columns

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
ni_nitdoc: added "more results" entry in quicksearch.

Whenever the number of results for quicksearch reach 10, an entry is added to the quicksearch to show that more results exist and allow user to clic and go to the Search page

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
ni_nitdoc: rethinked mmodule page.

Module page now displays intro classes, redef classes and refined classes (in this order)
Added a side bar block to quick list classes (sorted by kind)
Nested modules are always dislayed
Modified comment display for better readability

Also cleaned trailing spaces in main.css

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
ni_nitdoc: add in bin as bin/nitdocx

Signed-off-by: Jean Privat <jean@pryen.org>
ni_nitdoc: generate doc/newmodel with it

Signed-off-by: Jean Privat <jean@pryen.org>