model: if Object has a SELF type, redef it in all classes

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/kernel: introduce SELF type in Object

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: test the virtual type SELF

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/android: remove all custom SELF types

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/c&java: remove all custom SELF types

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/trees: rename SELF virtual type to N

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
neo4j: Add a class for errors that are specific to Neo4j.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
json: Accept only standard escaping.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
json: Move `to_json_value` to `Text`.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
lib: Enhanced DisjointSet data structure

It is now possible to retrieve the number of subsets in the partition by
using the 'number_of_subsets' property. It is useful for instance when
one wants to know if the partition is a singleton, or if it is trivial
(every element is alone in its subset).

Signed-off-by: Alexandre Blondin Massé <alexandre.blondin.masse@gmail.com>
docdowm: empty lines are included in blocks

Signed-off-by: Jean Privat <jean@pryen.org>
nitunit: test only block of code

Signed-off-by: Jean Privat <jean@pryen.org>
nitunit: protect generated files name a little to avoid name conflicts.

Signed-off-by: Jean Privat <jean@pryen.org>
modelbuilder: force `standard` to be imported

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add base_import_standard*.nit

Signed-off-by: Jean Privat <jean@pryen.org>
json: Parse all standard escape sequences.

Only escaped UTF-16 wydes above 127 are not supported yet.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
lib/tileset: use Numerics for `hspace` and `vspace`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: update and improve tests for nitunit

Signed-off-by: Jean Privat <jean@pryen.org>
lib/bucketed_game: fix error in cache optimization

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
a_star: remove debug options (even unused, they take to much work)

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