contrib/inkscape_tools: clip one pixel larger to get the whole image

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/tileset: TileSet::subimages is public so it can be scaled and such

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
mnit_android: rename `key_char` to implement `to_c`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
mnit_android: intro `AndroidKeyEvent::is_volume_up/down`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/mnit_android: do not adjust input from C code

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
grammar: add syntax for typed literal arrays

~~~
var a = [1, 2, 1.5: Numeric]
~~~

Signed-off-by: Jean Privat <jean@pryen.org>
parser: regenerate for typed literal arrays

Signed-off-by: Jean Privat <jean@pryen.org>
mnit: Display use Numeric as coordinates

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: find alternative targets on path

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/bucketed_game: support cancel actions

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/ai: fix typo in doc

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
typing: adapt for typed literal arrays.

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

Signed-off-by: Jean Privat <jean@pryen.org>
Merge: New syntax for typed literal arrays

Currenlty there is only
~~~.nit
var a = [1, 2] # a isa Array[Int]
var b = [1, true] # Type Error: ambiguous array type Int Bool
var c = new Array[Object].with_items(1, true) # c isa Array[Object]
~~~

Now, there is also
~~~.nit
var d = [1, true: Object] # d isa Array[Object]
var e = [1, 2: Numeric] # e isa Array[Numeric]
var f = [1, 2: Int] # f isa Array[Int] but with a warning for the useless `:Int`
~~~

Pull-Request: #772
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Merge: mnit improvements from We Broke The World

Pull-Request: #777
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Merge: Various fixes and improvements from We Broke The World

Pull-Request: #778
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>