mnit: does not depends on opengles1

let nmit_android and mnit_linux import opengles1 themselves

Signed-off-by: Jean Privat <jean@pryen.org>
mnit: remove virtual type IE

There is no point in having specific input-event virtual type.
Most places do not even use IE but directly InputEvent.

Signed-off-by: Jean Privat <jean@pryen.org>
shoot: move only on pressed, not depressed

Signed-off-by: Jean Privat <jean@pryen.org>
lib/standard/text: Updated API for String/Buffer, a few methods disappear from Text and are relocated a level below.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
tests: Updated to fit new API.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
parser: remove some remaining old style accessors

Signed-off-by: Jean Privat <jean@pryen.org>
parser: remove generated old-style accesors.

ANodes use new style attributes (with two accesors)
Other use old-style attributes with two explicit getter and setters.

Using new-style attributes has a too big impact on performance because of
the redefined setter

Signed-off-by: Jean Privat <jean@pryen.org>
tests: remove remaining old-style accessors

Signed-off-by: Jean Privat <jean@pryen.org>
pep8analysis: remove old-style accessors in the AST

Note: the transformation was done with a script.
The parser cannot seem to be regenerated.
A future move could be to use nitcc instead.

Signed-off-by: Jean Privat <jean@pryen.org>
modelize_property: remove old-style accesors

Signed-off-by: Jean Privat <jean@pryen.org>
FFI with C++: use a customizable macro to compile C++ code

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
emscripten: enable dynamic memory size

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

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
emscripten: use the macro CXX to support C++

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge: No old style accessors

Old-style accessors are those in the form

~~~
readable writable var _foo: Foo
~~~

The plan is to remove them from the grammar (and the AST and modelize_property) in future PR.
This PR only update the exisiting code to remove the remaining occurences by:

* using new-style attributes, or
* keep old style attributes with explicit getters/setters if using new-style attributes has a too big impact on the performances (or is too complex to update)

Because of performance implications, old-style attribute may remains in the language to implements some intern parts.

Pull-Request: #528
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
emscripten: minify code when release

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
pep8analysis: reduce the max amount of looping to find fixed point

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
pep8analysis: do not crash on expected errors

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
pep8analysis: suggest garbage collection between phases

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
pep8analysis: make `manager` a top level method

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