lib: move the `times` method to Int

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: improves usage example of Int::times

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
misc: updates the vim syntastic config with correct style

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
misc: adds the option to specify the main nit module to syntastic

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge remote-tracking branch 'alexis/vim-syntastic' into killnitc
Merge remote-tracking branch 'alexis/times' into killnitc
nitdoc: improves quicksearch

Basic match is made on the begining of the string:
* first we select results with startsWith(substring)
* then we apply ranking using Dice coefficient
* rank bonus is given to exact match

If there is no match found:
* we rank all the entries and sort them
* entries with a Dice coefficient = 0 are trimmed

Also made some improvements on the GUI:
* results are grouped by name
* user can scroll the results list
* better handling of arrows in the search text field

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitdoc: removes select behavior on box header

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Merge branch 'killnitc' old branch renamed as 'oldnitc'
tools: generate nit tools doc as `nitc`, not `newmodel`

Signed-off-by: Jean Privat <jean@pryen.org>
tools: generate stdlib doc with the git plugin enabled

Signed-off-by: Jean Privat <jean@pryen.org>
Merge remote-tracking branch 'alexandre/nitdoc-qs'
tools: rename mksrc2

Signed-off-by: Jean Privat <jean@pryen.org>
tools: ngall.sh starts with ../c_src/nitg

Signed-off-by: Jean Privat <jean@pryen.org>
highlight: add `first_line` and `last_line`

Signed-off-by: Jean Privat <jean@pryen.org>
nitlight: add --first-line  --last-line

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

Signed-off-by: Jean Privat <jean@pryen.org>
nitdoc: clean useless console.log on body click event

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitdoc: add support for Piwik tracker

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitcc: update test because of the migration nitc->nitg

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