src: cleanup useless importation

Signed-off-by: Jean Privat <jean@pryen.org>
lib/jvm: prevents string warnings on JVM

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/jvm: support the Android platform by desactivating unavailable features

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/jvm: adapt Jvm::attach_current_thread to Android

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: fix broken assert in FStream::opens

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
transform: do not detach things while itering

This invalidates the underlying iterator.

Signed-off-by: Jean Privat <jean@pryen.org>
rta: guard `add_send` with a specific set, instead of overusing `live_methods`.

Eg. a monomorph method could be live, without being subject to try_send.

Signed-off-by: Jean Privat <jean@pryen.org>
rta: add_monomorphic_send mark the mproperty as live

Signed-off-by: Jean Privat <jean@pryen.org>
rta: do not try to remove things from a set in iteration

Instead, register the things to remove then remove them once the
iteration is over,

Signed-off-by: Jean Privat <jean@pryen.org>
transform: disable transform of ASuperstringExpr

Signed-off-by: Jean Privat <jean@pryen.org>
typing: remove `raw_arguments` as a cache

Because of transform and other potential optimization using astbuilder,
the typing phase cannot stores the raw_arguments and expect it is still
valid after subsequent phases.

The simplest way is to make `raw_arguments` a method that recollect the
correct nodes.

Alternative using some kind of cache invalidation seems to complex for not
a real gain.

Signed-off-by: Jean Privat <jean@pryen.org>
java ffi: use Java int to store C pointers

While long worked with OpenJDK on linux, it did not on Android.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
android: support FFI with Java

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
android: enable code in AndroidManifest

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

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: use load_jclass in Java FFI

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/mnit_android: intro App::native_activity

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
examples/mnit_simple: test Android log and toasts

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>
github_merge: copy the merge message for commit when conflict

so the following commit will be pre-rendered

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