nitg: use a portable macro PRINT_ERROR instead of fprintf

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/kernel: intro Numeric::value_of to get a Numeric in the receiver domain

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
dino: use project annotations in dino

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
dino: make code base more redefable

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
dino: add a shadow to dino

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
dino: add a more precise hit box to the dino

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
dino: update to use app.nit

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

`tc.attrs["name"]}` already contains the class namespace

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

- Improve Dino hit box (and show it with a shadow)
- The difference in the Dino image move it up by a few pixels.

Pull-Request: #437
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Merge: nitunit: fix verbose display

Minor fix:
`tc.attrs["name"]}` already contains the class namespace

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

Pull-Request: #471
lib: add nitunits to Numeric::value_of

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: intro the geometry module

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Signed-off-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: fix nitg-e fixme files with changes to kernel

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

Will be used by QuadTrees, Bentley-Ottman and gammit.

For each geometric concept there is an interface beginning with 'A' and an implementation. Such as the abstract APoint and concrete class Point.

Pull-Request: #442
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Chanoir <chanoir.romain@courrier.uqam.ca>
tests: fix sav for error_annot_c_compiler

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge branch 'master' into portable-errors
src: use macro PRINT_ERROR for deferred method error

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: fix savs for nitg-g to reorder output on stderr

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge: nitg: use a portable macro PRINT_ERROR instead of fprintf

Outputs to stderr on Linux and to logcat on Android.

The macro is defined both in the C internal to the compiled Nt program and to each FFI files which are separated from the internals.

Pull-Request: #417
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Jean Privat <jean@pryen.org>
parser: move stable content of `parser.nit` into `parser_work.nit

What is still generated is thus more minimal.

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