nit.git
10 years agorta: use `to_s_with_length` instead of `to_s` in literal strings
Jean Privat [Wed, 12 Feb 2014 14:31:31 +0000 (09:31 -0500)]
rta: use `to_s_with_length` instead of `to_s` in literal strings

This is more conform to the current nitg implementations.

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

10 years agoMerge branch 'patch-sdl'
Jean Privat [Wed, 12 Feb 2014 13:50:44 +0000 (08:50 -0500)]
Merge branch 'patch-sdl'

10 years agoSDL : Comments added for SDLFont class and methods
GeoffreyHecht [Wed, 29 Jan 2014 20:33:29 +0000 (15:33 -0500)]
SDL : Comments  added for SDLFont  class and methods

signed-off-by: Geoffrey Hecht <geoffrey.hecht@gmail.com>

10 years agoSDL : Comments added for SDLkeyEvent class
GeoffreyHecht [Wed, 29 Jan 2014 20:26:51 +0000 (15:26 -0500)]
SDL : Comments  added for SDLkeyEvent  class

signed-off-by: Geoffrey Hecht <geoffrey.hecht@gmail.com>

10 years agoSDL : Comments added for SDLMouseEvent, MouseButtonEvent,MouseMotionEvent class
GeoffreyHecht [Wed, 29 Jan 2014 20:24:58 +0000 (15:24 -0500)]
SDL : Comments  added for SDLMouseEvent, MouseButtonEvent,MouseMotionEvent  class

signed-off-by: Geoffrey Hecht <geoffrey.hecht@gmail.com>

10 years agoSDL : Comments fixed and added in SDLRectangle class
GeoffreyHecht [Wed, 29 Jan 2014 20:11:29 +0000 (15:11 -0500)]
SDL : Comments fixed and added in SDLRectangle class

signed-off-by: Geoffrey Hecht <geoffrey.hecht@gmail.com>

10 years agoSDL : Comments fixed and added in SDLImage class
Geoffrey Hecht [Wed, 29 Jan 2014 17:49:04 +0000 (12:49 -0500)]
SDL : Comments fixed and added in SDLImage class

signed-off-by: Geoffrey Hecht <geoffrey.hecht@gmail.com>

10 years agoSDL : Comments fixed and added in SDLDrawable class
Geoffrey Hecht [Wed, 29 Jan 2014 17:43:50 +0000 (12:43 -0500)]
SDL : Comments fixed and added in SDLDrawable class

signed-off-by: Geoffrey Hecht <geoffrey.hecht@gmail.com>

10 years agoSDL : Comments fixed and added in SDLDisplay class
Geoffrey Hecht [Wed, 29 Jan 2014 17:33:10 +0000 (12:33 -0500)]
SDL : Comments fixed and added in SDLDisplay class

signed-off-by: Geoffrey Hecht <geoffrey.hecht@gmail.com>

10 years agoMerge branch 'kill_newcheck'
Jean Privat [Tue, 11 Feb 2014 20:55:19 +0000 (15:55 -0500)]
Merge branch 'kill_newcheck'

Remove runtime checks on uninitialized attributes at the end of object
constructions.
Thus, uninitialized attributes will now fail (abort) on the first read
access.

Some people [citation needed] find that the current specification force
the usage of `nullable` on attributes that should not be null in
practice but that cannot be not nullable because the initialization is
not done in the constructor.

Some other people [bis] also state that the current check is problematic
with potential exception/longjump since uninitialized object could still
escape.

Therefore, because the next big devel planned is the constructors, I
prefer to solve this specification point before. This pull request is a
RFC on the new spec (and/or implementation).

10 years agolib/stream: added more explicit comment for eof method.
Djomanix [Tue, 28 Jan 2014 19:42:13 +0000 (14:42 -0500)]
lib/stream: added more explicit comment for eof method.

Comment could be misunderstand, and is now more explicit.

signed-off-by: Johan Kayser <johan.kayser@viacesi.fr>

10 years agotests: update related to the removal of check_init_instance
Jean Privat [Sat, 8 Feb 2014 05:20:20 +0000 (00:20 -0500)]
tests: update related to the removal of check_init_instance

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

10 years agosrc: remove check_init_instance everywhere
Jean Privat [Fri, 7 Feb 2014 21:20:59 +0000 (16:20 -0500)]
src: remove check_init_instance everywhere

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

10 years agorange: make IteratorRange private
ChristopheGIGAX [Tue, 28 Jan 2014 16:39:40 +0000 (11:39 -0500)]
range: make IteratorRange private

signed-off-by: Christophe GIGAX <chrisophe.gigax@viacesi.fr>

10 years agoMerge branch 'project_new'
Jean Privat [Fri, 7 Feb 2014 16:50:49 +0000 (11:50 -0500)]
Merge branch 'project_new'

10 years agoarray: improve comment of `last_index_of_from`
ChristopheGIGAX [Thu, 30 Jan 2014 03:07:59 +0000 (22:07 -0500)]
array: improve comment of `last_index_of_from`

The documentation was ambigus comparing to the implementation.

signed-off-by : Christophe GIGAX <christophe.gigax@viacesi.fr>
signed-off-by : Benjamin JOSE <beness.j@gmail.com>

10 years agomodulebuilder: remove protection for multiple loading of AST
Jean Privat [Fri, 7 Feb 2014 14:40:14 +0000 (09:40 -0500)]
modulebuilder: remove protection for multiple loading of AST

The protection is now only in the `identify_file` method

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

10 years agomodulebuilder: module_absolute_path does always its job
Jean Privat [Fri, 7 Feb 2014 14:38:48 +0000 (09:38 -0500)]
modulebuilder: module_absolute_path does always its job

This allow to climb-up directories to look for a project

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

10 years agoMerge branch 'collection doc' of https://github.com/BlackMinou/nit
Jean Privat [Fri, 7 Feb 2014 14:33:14 +0000 (09:33 -0500)]
Merge branch 'collection doc' of https://github.com/BlackMinou/nit

10 years agoClass UserGroup : Add method descriptions
Clément De Figueiredo [Wed, 29 Jan 2014 16:28:58 +0000 (11:28 -0500)]
Class UserGroup : Add method descriptions

Add method descriptions for methods of the UserGroup Class

signed-off-by: Clément De Figueiredo <clement.defigueiredo@viacesi.fr>
signed-off-by: Maxime Leroy <maxime.leroy1@viacesi.fr>

10 years agoMerge remote-tracking branch 'alexandre/syntaxhighlighter'
Jean Privat [Fri, 7 Feb 2014 13:44:34 +0000 (08:44 -0500)]
Merge remote-tracking branch 'alexandre/syntaxhighlighter'

10 years agomisc: added brush for SyntaxHighlighter JS script
Alexandre Terrasa [Fri, 7 Feb 2014 05:35:22 +0000 (00:35 -0500)]
misc: added brush for SyntaxHighlighter JS script

SyntaxHighlighter is an open source Javascript client side code syntax hilighter.
More details on http://alexgorbatchev.com/SyntaxHighlighter/

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agoMerge branch 'project_new'
Jean Privat [Thu, 6 Feb 2014 17:40:32 +0000 (12:40 -0500)]
Merge branch 'project_new'

10 years agotests: args can use `$WRITE` instead of guessing the right outfile name
Jean Privat [Thu, 6 Feb 2014 17:40:15 +0000 (12:40 -0500)]
tests: args can use `$WRITE` instead of guessing the right outfile name

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

10 years agoclib: deactivate libgc debugging
Alexis Laferrière [Wed, 5 Feb 2014 19:19:51 +0000 (14:19 -0500)]
clib: deactivate libgc debugging

Change-Id: I62bf113aa6266e3baecfcc4a4043397cb7e4fd89
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agotests: really add nitunit test
Jean Privat [Tue, 4 Feb 2014 21:04:41 +0000 (16:04 -0500)]
tests: really add nitunit test

For some reason, 6380ab99c292 forgot to add `test_nitunit.nit`.
Since it also forgot to add nitunit to `testfull.sh`, the error was
unnoticed.

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

10 years agometrics: remove mmodule_nesting_hierarchy in poset_metrics
Jean Privat [Mon, 3 Feb 2014 19:34:57 +0000 (14:34 -0500)]
metrics: remove mmodule_nesting_hierarchy in poset_metrics

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

10 years agometrics: generate projects and groups in model_hyperdoc
Jean Privat [Mon, 3 Feb 2014 19:34:32 +0000 (14:34 -0500)]
metrics: generate projects and groups in model_hyperdoc

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

10 years agometrics: use model_viz in generate_hierarchies
Jean Privat [Mon, 3 Feb 2014 15:36:32 +0000 (10:36 -0500)]
metrics: use model_viz in generate_hierarchies

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

10 years agosrc: add model_viz.nit
Jean Privat [Wed, 29 Jan 2014 16:36:59 +0000 (11:36 -0500)]
src: add model_viz.nit

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

10 years agonitunit: do some kind of shenanigans to import the main module
Jean Privat [Mon, 27 Jan 2014 21:01:40 +0000 (16:01 -0500)]
nitunit: do some kind of shenanigans to import the main module

to fix once the loading of arbitrary module in foreign project is doable

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

10 years agonitx: use projects instead of owner
Jean Privat [Wed, 29 Jan 2014 20:33:23 +0000 (15:33 -0500)]
nitx: use projects instead of owner

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

10 years agomodelbuilder: load modules in projects and groups
Jean Privat [Wed, 5 Feb 2014 19:57:22 +0000 (14:57 -0500)]
modelbuilder: load modules in projects and groups

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

10 years agomodel: add mproject module
Jean Privat [Tue, 4 Feb 2014 15:00:37 +0000 (10:00 -0500)]
model: add mproject module

mmodule uses it but the API is not changed yet

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

10 years agomodelbuilder: in load_rt_module, rename `owner` to `parent`
Jean Privat [Tue, 4 Feb 2014 15:16:14 +0000 (10:16 -0500)]
modelbuilder: in load_rt_module, rename `owner` to `parent`

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

10 years agomodulebuilder: extract load_module_ast from load_module
Jean Privat [Mon, 3 Feb 2014 20:48:38 +0000 (15:48 -0500)]
modulebuilder: extract load_module_ast from load_module

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

10 years agotests: protect CDATA from non-printable chars in xml results
Jean Privat [Wed, 5 Feb 2014 13:49:17 +0000 (08:49 -0500)]
tests: protect CDATA from non-printable chars in xml results

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

10 years agoremove bit-rotting interpretor_type_test.nit
Jean Privat [Mon, 3 Feb 2014 19:36:35 +0000 (14:36 -0500)]
remove bit-rotting interpretor_type_test.nit

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

10 years agotest_phase: add a regression test
Jean Privat [Tue, 4 Feb 2014 15:06:26 +0000 (10:06 -0500)]
test_phase: add a regression test

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

10 years agotest_phase: remove unavailable `import modelize_module`
Jean Privat [Tue, 4 Feb 2014 15:05:52 +0000 (10:05 -0500)]
test_phase: remove unavailable `import modelize_module`

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

10 years agoMerge remote-tracking branch 'alexandre/fix-nitdoc'
Jean Privat [Mon, 3 Feb 2014 16:27:10 +0000 (11:27 -0500)]
Merge remote-tracking branch 'alexandre/fix-nitdoc'

10 years agoMerge remote-tracking branch 'lucas/unwind_integration'
Jean Privat [Mon, 3 Feb 2014 14:29:45 +0000 (09:29 -0500)]
Merge remote-tracking branch 'lucas/unwind_integration'

10 years agonitdoc: fix show source link
Alexandre Terrasa [Sat, 1 Feb 2014 19:52:36 +0000 (14:52 -0500)]
nitdoc: fix show source link

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agomodelbuilder: Remove duplicates from modules list
Alexandre Terrasa [Sat, 1 Feb 2014 19:27:03 +0000 (14:27 -0500)]
modelbuilder: Remove duplicates from modules list

Fix a mistake introduced by 1a3536b6 (blame me)
Also fix issues #153, #157, #223 and #224

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: make github 'Commit' button less scary with 'Commit...'
Alexandre Terrasa [Sat, 1 Feb 2014 08:06:50 +0000 (03:06 -0500)]
nitdoc: make github 'Commit' button less scary with 'Commit...'

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: make titles in github plugin login box more explicit
Alexandre Terrasa [Sat, 1 Feb 2014 08:03:10 +0000 (03:03 -0500)]
nitdoc: make titles in github plugin login box more explicit

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: change branch name box by link to github page
Alexandre Terrasa [Sat, 1 Feb 2014 07:56:33 +0000 (02:56 -0500)]
nitdoc: change branch name box by link to github page

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: exec without arguments terminates on exit(0)
Alexandre Terrasa [Sat, 1 Feb 2014 07:38:19 +0000 (02:38 -0500)]
nitdoc: exec without arguments terminates on exit(0)

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: check github api upstream name correctness at plugin startup
Alexandre Terrasa [Sat, 1 Feb 2014 07:37:42 +0000 (02:37 -0500)]
nitdoc: check github api upstream name correctness at plugin startup

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: fix github api plugin following spec changes
Alexandre Terrasa [Sat, 1 Feb 2014 07:36:58 +0000 (02:36 -0500)]
nitdoc: fix github api plugin following spec changes

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitg: Added option to bind C function names to Nit names when generating a Stack...
Lucas Bajolet [Fri, 31 Jan 2014 18:04:50 +0000 (13:04 -0500)]
nitg: Added option to bind C function names to Nit names when generating a Stack Trace (Requires gperf)

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agoMerge branch 'prepare_projects'
Jean Privat [Thu, 30 Jan 2014 13:39:18 +0000 (08:39 -0500)]
Merge branch 'prepare_projects'

10 years agomodel: move MModule related classes into mmodule.nit
Jean Privat [Mon, 27 Jan 2014 18:42:09 +0000 (13:42 -0500)]
model: move MModule related classes into mmodule.nit

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

10 years agolib: add ordered_tree
Jean Privat [Wed, 29 Jan 2014 15:49:59 +0000 (10:49 -0500)]
lib: add ordered_tree

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

10 years agotools: add test_phase.nit
Jean Privat [Mon, 27 Jan 2014 21:29:15 +0000 (16:29 -0500)]
tools: add test_phase.nit

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

10 years agotools: move run_global_phases/process_mainmodule into modelbuilder
Jean Privat [Mon, 27 Jan 2014 21:13:49 +0000 (16:13 -0500)]
tools: move run_global_phases/process_mainmodule into modelbuilder

frontend was to specific

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

10 years agoniti: add extern `file_realpath`
Jean Privat [Mon, 27 Jan 2014 20:34:06 +0000 (15:34 -0500)]
niti: add extern `file_realpath`

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

10 years agolib: add file::realpath
Jean Privat [Wed, 29 Jan 2014 21:02:32 +0000 (16:02 -0500)]
lib: add file::realpath

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

10 years agolib: fix simplify_path for .
Jean Privat [Wed, 29 Jan 2014 21:04:59 +0000 (16:04 -0500)]
lib: fix simplify_path for .

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

10 years agoMerge remote-tracking branch 'alexis/various-fixes'
Jean Privat [Wed, 29 Jan 2014 18:08:33 +0000 (13:08 -0500)]
Merge remote-tracking branch 'alexis/various-fixes'

10 years agoMerge remote-tracking branch 'lucas/unwind_integration'
Jean Privat [Wed, 29 Jan 2014 16:50:26 +0000 (11:50 -0500)]
Merge remote-tracking branch 'lucas/unwind_integration'

10 years agolib: changes the behavior of Coll::rand to behave like first
Alexis Laferrière [Mon, 13 Jan 2014 23:24:07 +0000 (18:24 -0500)]
lib: changes the behavior of Coll::rand to behave like first

It will now return a non-nullable and `abort` when empty.

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

10 years agocontrib/sort_downloads: fix missing C include
Alexis Laferrière [Mon, 20 Jan 2014 14:52:07 +0000 (09:52 -0500)]
contrib/sort_downloads: fix missing C include

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

10 years agolib: adds missing import of math.h in standard library
Alexis Laferrière [Thu, 28 Nov 2013 19:36:34 +0000 (14:36 -0500)]
lib: adds missing import of math.h in standard library

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

10 years agocollection : Fix the description of Set[E] class
Romain Chanoir [Wed, 29 Jan 2014 14:12:31 +0000 (09:12 -0500)]
collection : Fix the description of Set[E] class

Signed-off-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>

10 years agocollection: Improved the description of Container[E]
Romain Chanoir [Wed, 29 Jan 2014 14:12:11 +0000 (09:12 -0500)]
collection: Improved the description of Container[E]

Signed-off-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>

10 years agocollection: fixed Collection[E]::first commentary
Romain Chanoir [Wed, 29 Jan 2014 14:06:42 +0000 (09:06 -0500)]
collection: fixed Collection[E]::first commentary

Signed-off-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>

10 years agoMerge remote-tracking branch 'lucas/compiler_abstract_fix'
Jean Privat [Tue, 28 Jan 2014 16:59:52 +0000 (11:59 -0500)]
Merge remote-tracking branch 'lucas/compiler_abstract_fix'

10 years agonitg: Added typing test on new for non-concrete classes + unit tests for new abstract...
Lucas Bajolet [Mon, 27 Jan 2014 18:30:54 +0000 (13:30 -0500)]
nitg: Added typing test on new for non-concrete classes + unit tests for new abstract and interface.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agonitg: Added C stack trace when encountering an error
Lucas Bajolet [Mon, 27 Jan 2014 17:18:48 +0000 (12:18 -0500)]
nitg: Added C stack trace when encountering an error

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agoMerge remote-tracking branch 'alexis/various-fixes'
Jean Privat [Thu, 23 Jan 2014 20:34:12 +0000 (15:34 -0500)]
Merge remote-tracking branch 'alexis/various-fixes'

10 years agolib: fix conversion of hex char to int and add test
Alexis Laferrière [Thu, 23 Jan 2014 14:49:00 +0000 (09:49 -0500)]
lib: fix conversion of hex char to int and add test

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

10 years agonitg-s: fix call to super in primitive types and add test
Alexis Laferrière [Mon, 20 Jan 2014 23:13:08 +0000 (18:13 -0500)]
nitg-s: fix call to super in primitive types and add test

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

10 years agonitg-s: fix abstract methods in extern classes and add test
Alexis Laferrière [Wed, 22 Jan 2014 20:08:04 +0000 (15:08 -0500)]
nitg-s: fix abstract methods in extern classes and add test

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

10 years agomisc: update Vim syntastic plugin to use nitg
Alexis Laferrière [Tue, 21 Jan 2014 15:41:51 +0000 (10:41 -0500)]
misc: update Vim syntastic plugin to use nitg

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

10 years agogitignore: ignore path from examples and contrib
Alexis Laferrière [Tue, 21 Jan 2014 15:42:34 +0000 (10:42 -0500)]
gitignore: ignore path from examples and contrib

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

10 years agoMerge remote-tracking branch 'lucas/Code injection in debugger'
Jean Privat [Mon, 20 Jan 2014 14:48:46 +0000 (09:48 -0500)]
Merge remote-tracking branch 'lucas/Code injection in debugger'

10 years agodebugger: Modified commands for the debugger.
Lucas Bajolet [Wed, 15 Jan 2014 16:53:43 +0000 (11:53 -0500)]
debugger: Modified commands for the debugger.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agodebugger: Added dynamic evaluation of a Nit module.
Lucas Bajolet [Thu, 16 Jan 2014 20:33:18 +0000 (15:33 -0500)]
debugger: Added dynamic evaluation of a Nit module.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agodebugger: Modified call chain for calls to runtime injected main methods.
Lucas Bajolet [Fri, 17 Jan 2014 22:37:25 +0000 (17:37 -0500)]
debugger: Modified call chain for calls to runtime injected main methods.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agotests: remove implicit importation of standard on some `base` tests
Jean Privat [Fri, 17 Jan 2014 19:22:01 +0000 (14:22 -0500)]
tests: remove implicit importation of standard on some `base` tests

1. it simplifies the requirement of the test (test more minimal)
2. it make tests slightly faster

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

10 years agoMerge branch 'nitdoc'
Jean Privat [Fri, 17 Jan 2014 16:44:03 +0000 (11:44 -0500)]
Merge branch 'nitdoc'

10 years agonitdoc: use pratchett.info.uqam.ca/piwik/
Jean Privat [Fri, 17 Jan 2014 16:43:52 +0000 (11:43 -0500)]
nitdoc: use pratchett.info.uqam.ca/piwik/

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

10 years agonitcc: update test because of the migration nitc->nitg
Jean Privat [Fri, 17 Jan 2014 13:43:57 +0000 (08:43 -0500)]
nitcc: update test because of the migration nitc->nitg

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

10 years agonitdoc: add support for Piwik tracker
Alexandre Terrasa [Thu, 16 Jan 2014 23:53:31 +0000 (18:53 -0500)]
nitdoc: add support for Piwik tracker

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: clean useless console.log on body click event
Alexandre Terrasa [Thu, 16 Jan 2014 23:24:45 +0000 (18:24 -0500)]
nitdoc: clean useless console.log on body click event

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agotests: update nitlight
Jean Privat [Thu, 16 Jan 2014 22:04:27 +0000 (17:04 -0500)]
tests: update nitlight

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

10 years agonitlight: add --first-line --last-line
Jean Privat [Thu, 16 Jan 2014 22:02:29 +0000 (17:02 -0500)]
nitlight: add --first-line  --last-line

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

10 years agohighlight: add `first_line` and `last_line`
Jean Privat [Thu, 16 Jan 2014 22:01:50 +0000 (17:01 -0500)]
highlight: add `first_line` and `last_line`

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

10 years agotools: ngall.sh starts with ../c_src/nitg
Jean Privat [Thu, 16 Jan 2014 20:20:24 +0000 (15:20 -0500)]
tools: ngall.sh starts with ../c_src/nitg

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

10 years agotools: rename mksrc2
Jean Privat [Thu, 16 Jan 2014 20:15:46 +0000 (15:15 -0500)]
tools: rename mksrc2

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

10 years agoMerge remote-tracking branch 'alexandre/nitdoc-qs'
Jean Privat [Thu, 16 Jan 2014 19:50:01 +0000 (14:50 -0500)]
Merge remote-tracking branch 'alexandre/nitdoc-qs'

10 years agotools: generate stdlib doc with the git plugin enabled
Jean Privat [Thu, 16 Jan 2014 19:41:23 +0000 (14:41 -0500)]
tools: generate stdlib doc with the git plugin enabled

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

10 years agotools: generate nit tools doc as `nitc`, not `newmodel`
Jean Privat [Thu, 16 Jan 2014 19:40:52 +0000 (14:40 -0500)]
tools: generate nit tools doc as `nitc`, not `newmodel`

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

10 years agoMerge branch 'killnitc' old branch renamed as 'oldnitc'
Jean Privat [Thu, 16 Jan 2014 18:47:48 +0000 (13:47 -0500)]
Merge branch 'killnitc' old branch renamed as 'oldnitc'

10 years agonitdoc: removes select behavior on box header
Alexandre Terrasa [Thu, 16 Jan 2014 02:51:40 +0000 (21:51 -0500)]
nitdoc: removes select behavior on box header

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: improves quicksearch
Alexandre Terrasa [Thu, 16 Jan 2014 02:44:23 +0000 (21:44 -0500)]
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>

10 years agoMerge remote-tracking branch 'alexis/times' into killnitc
Jean Privat [Wed, 15 Jan 2014 18:46:03 +0000 (13:46 -0500)]
Merge remote-tracking branch 'alexis/times' into killnitc

10 years agodebugger: Added method to clean the object model when injecting code at runtime.
Lucas Bajolet [Wed, 15 Jan 2014 16:55:57 +0000 (11:55 -0500)]
debugger: Added method to clean the object model when injecting code at runtime.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agodebugger: Permits the use of locally defined variables in injected code at runtime.
Lucas Bajolet [Wed, 15 Jan 2014 16:55:34 +0000 (11:55 -0500)]
debugger: Permits the use of locally defined variables in injected code at runtime.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>