Modified the generated Makefile for some options,
and added a kind of hack for poll.

Signed-off-by: Djomanix <johan.kayser@viacesi.fr>
lib/signals: fix for nitg-g

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: intro app.nit with logging methods

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

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: move android.nit to a project ::android

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

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/android: move platform declaration to a submodule

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: add log features from mnit_app::android_app to ::android

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge: Improve doc and intro Process::kill as asked by the community

Should close many open issues.

Pull-Request: #462
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Merge: Intro of app.nit and extract features from mnit_android to android

Rename modules and reorganize their features.

Pull-Request: #467
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Chanoir <chanoir.romain@courrier.uqam.ca>
Reviewed-by: Jean Privat <jean@pryen.org>
Merge: nitg: Added PNaCl support for Nit

Added pnacl_platform.nit in order to generate all minimum files when compiling the nit.
Added pnacl.nit, it's the module providing the tools for PNaCl support in Nit.

Modified nitg.nit to register the pnacl_platform.
Modified abstract_compiler.nit for a specific main generation and to add an option.

Signed-off-by: Djomanix <johan.kayser@viacesi.fr>

Pull-Request: #416
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/strings: Buffers are allocated without capacity.

Wait the fist `append` to allocate things.
Also, this avoids an anonymous init to call a named init.

Signed-off-by: Jean Privat <jean@pryen.org>
lib/exec: rationalize constructors

Signed-off-by: Jean Privat <jean@pryen.org>
lib/opts: clean constructors and prepare for new constructors

Signed-off-by: Jean Privat <jean@pryen.org>
lib/privileges: drop class `OptionDropPrivileges`

And use the commented named constructor instead.

Signed-off-by: Jean Privat <jean@pryen.org>
lib/ropes: use `redef` for inherited named constructors

Signed-off-by: Jean Privat <jean@pryen.org>
parser: drop useless named constructor `empty_init`

Signed-off-by: Jean Privat <jean@pryen.org>
Merge: Clean some inits

Yet anoner step toward new inits.

In this PR, just some updates on existing constructors to simplify the transition.

Pull-Request: #468
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
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>