lib/sqlite3: rename low-level module to native_sqlite3.nit

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/sqlite3: rename classes of sqlite3_native to prevent conflict with Nity versions

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/sqlite3: use a precise type as return of column_type

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/sqlite3: column_text returns a NativeString at low-level

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: rename and update low-level sqlite3 test

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/sqlite3: intro nity interface

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: add a test for the Nity sqlite3 module

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/sqlite3: store and use the error code of a failed database opening

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: test some errors of sqlite3

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

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
FFI: implement the global reference functions

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: test incr_ref with lots of short-lived (in Nit) objects

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
src: new module annoation to help with annotations

Signed-off-by: Jean Privat <jean@pryen.org>
src: use the new module annotation in exising modules

Signed-off-by: Jean Privat <jean@pryen.org>
nitvm: replace hack by incr_refs

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: set nitvm_args3 as undefined

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
src/android: Changed annotations names to avoid ambiguities

Signed-off-by: Frédéric Vachon <fredvac@gmail.com>
Merge: Nity interface to Sqlite3 (A nicer wrapper to the old low-level Sqlite3 module)

No exposed extern classes, `is_open` method and an iterator!

Pull-Request: #584
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Merge: src/android: Modified annotations names to avoid ambiguities

As discussed with @xymus, modified the 3 recently merged annotations names from `min_sdk_version`, `target_sdk_version`, `max_sdk_version` to `min_api_version`, `target_api_version`, `max_api_version` to avoid ambiguities as the android documentation related to these AndroidManifest entries always refers to it as *API Level* settings.

#568 depends on this PR because the annotations will be renamed on the test files.

Signed-off-by: Frédéric Vachon <fredvac@gmail.com>

Pull-Request: #599
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Jean Privat <jean@pryen.org>
contrib: introduce the game friendz

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