misc: do not enforce shiftwidth to 8, let the .vimrc user config

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib: fix broken assert in FStream::opens

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/simple_json_reader: support for Parser errors too

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

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: retire the old 'json' module based on libjson0

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: rename simple_json_reader as json::static

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
niti: add support partial for NativeFile::address_is_null

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: add `exec.skip` to compile but not execute tests

Signed-off-by: Jean Privat <jean@pryen.org>
tests: niti fully skips tests in exec.skip

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add `cc.skip` to skip the C compilation of some programs

Exemple: unavailable C libraries.

Signed-off-by: Jean Privat <jean@pryen.org>
model: fatal error, instead of abort if more that one primitive class

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add missing sav

Signed-off-by: Jean Privat <jean@pryen.org>
tests: a res without sav is OK if empty else is failed

This will simplify the addition of sav, that are required only if not
empty.
Moreover, a missing non-empty sav will triggers a FAIL instead of a
skip.

Signed-off-by: Jean Privat <jean@pryen.org>
tests: remove empty sav files

since now, empty res and no sav is an OK test

Signed-off-by: Jean Privat <jean@pryen.org>
parser_util: add `interactive_parse` to have a simple AST from the user

Signed-off-by: Jean Privat <jean@pryen.org>
test_parser: add option `-i` for interactive parsing

Signed-off-by: Jean Privat <jean@pryen.org>
tests: tests -i on test_parser

Signed-off-by: Jean Privat <jean@pryen.org>
lib/math: intro ceil and floor

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib/inkscape_tools: use floor and ceil to better cut images

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitgs: optimize compile_class_to_c for dead methods

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