nit.git
10 years agonitdoc: introduce JQuery.UI
Alexandre Terrasa [Wed, 12 Feb 2014 04:59:58 +0000 (23:59 -0500)]
nitdoc: introduce JQuery.UI

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: move filtering facilities to its own plugin file
Alexandre Terrasa [Wed, 12 Feb 2014 03:19:47 +0000 (22:19 -0500)]
nitdoc: move filtering facilities to its own plugin file

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: move clipboard facilities to its own plugin file
Alexandre Terrasa [Wed, 12 Feb 2014 00:47:38 +0000 (19:47 -0500)]
nitdoc: move clipboard facilities to its own plugin file

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: move folding facilities to its own plugin file
Alexandre Terrasa [Wed, 12 Feb 2014 00:41:33 +0000 (19:41 -0500)]
nitdoc: move folding facilities to its own plugin file

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: refactor Nitdoc.GitHub JS module into github/* plugin
Alexandre Terrasa [Wed, 12 Feb 2014 00:18:21 +0000 (19:18 -0500)]
nitdoc: refactor Nitdoc.GitHub JS module into github/* plugin

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: refactor Nitdoc.QuickSearch JS module into quicksearch plugin
Alexandre Terrasa [Fri, 7 Feb 2014 07:31:03 +0000 (02:31 -0500)]
nitdoc: refactor Nitdoc.QuickSearch JS module into quicksearch plugin

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: refactor Nitdoc.UI JS module into ui plugin
Alexandre Terrasa [Fri, 7 Feb 2014 07:04:09 +0000 (02:04 -0500)]
nitdoc: refactor Nitdoc.UI JS module into ui plugin

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: create js module utils
Alexandre Terrasa [Fri, 7 Feb 2014 06:58:58 +0000 (01:58 -0500)]
nitdoc: create js module utils

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: make base64 JS module require.js compatible
Alexandre Terrasa [Fri, 7 Feb 2014 06:47:23 +0000 (01:47 -0500)]
nitdoc: make base64 JS module require.js compatible

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: load js libs from require.js
Alexandre Terrasa [Fri, 7 Feb 2014 06:35:39 +0000 (01:35 -0500)]
nitdoc: load js libs from require.js

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitdoc: introduce require.js a JS module loader
Alexandre Terrasa [Tue, 18 Feb 2014 23:21:09 +0000 (18:21 -0500)]
nitdoc: introduce require.js a JS module loader

require.js is an open-source implementation of the
Javascript AMD API.

The Asynchronous Module Definition (AMD) API specifies
a mechanism for defining modules such that the module and
its dependencies can be asynchronously loaded.

This is particularly well suited for the browser environment
where synchronous loading of modules incurs performance.

require.js also includes cache control on client side.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

Conflicts:
src/nitdoc.nit

10 years agonitdoc: add --shareurl to link external share files
Alexandre Terrasa [Wed, 19 Feb 2014 20:32:57 +0000 (15:32 -0500)]
nitdoc: add --shareurl to link external share files

Make it easy for share development

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agophases: add support for deserialization
Alexis Laferrière [Sat, 1 Feb 2014 19:09:14 +0000 (14:09 -0500)]
phases: add support for deserialization

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

10 years agonitg: Fixed modelize_property to print an error when two redefs of the same method...
Lucas Bajolet [Thu, 20 Feb 2014 15:45:05 +0000 (10:45 -0500)]
nitg: Fixed modelize_property to print an error when two redefs of the same method occur locally.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agonitdoc: move Piwik tracker out of html footer
Alexandre Terrasa [Wed, 19 Feb 2014 20:33:21 +0000 (15:33 -0500)]
nitdoc: move Piwik tracker out of html footer

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitg: divide C compilation into 3 methods in abstract compiler
Alexis Laferrière [Tue, 18 Feb 2014 21:39:31 +0000 (16:39 -0500)]
nitg: divide C compilation into 3 methods in abstract compiler

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

10 years agonitg: use only local files in compilation
Alexis Laferrière [Tue, 18 Feb 2014 20:43:08 +0000 (15:43 -0500)]
nitg: use only local files in compilation

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

10 years agonitg: copy over gc_choser files
Alexis Laferrière [Tue, 18 Feb 2014 20:42:40 +0000 (15:42 -0500)]
nitg: copy over gc_choser files

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

10 years agonitg: move adding gc_chooser out of the makefile generation
Alexis Laferrière [Tue, 18 Feb 2014 20:33:40 +0000 (15:33 -0500)]
nitg: move adding gc_chooser out of the makefile generation

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

10 years agonitg: actually copy over files to compile_dir
Alexis Laferrière [Tue, 18 Feb 2014 20:20:48 +0000 (15:20 -0500)]
nitg: actually copy over files to compile_dir

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

10 years agonitg: keep a list of source files to copy to the compile_dir
Alexis Laferrière [Tue, 18 Feb 2014 20:02:18 +0000 (15:02 -0500)]
nitg: keep a list of source files to copy to the compile_dir

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

10 years agolib: intro the method String::file_copy_to
Alexis Laferrière [Thu, 13 Feb 2014 23:51:26 +0000 (18:51 -0500)]
lib: intro the method String::file_copy_to

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

10 years agomodel: select_most_specific behave correctly when given comparable propdefs
Jean Privat [Tue, 18 Feb 2014 20:26:59 +0000 (15:26 -0500)]
model: select_most_specific behave correctly when given comparable propdefs

Keep all occurences of comparable but distinct propdefs.
This case should not occurs in sane usage of the function.
But having a good behavior is good nevertheless.

Reported-by: Lucas Bajolet <lucas.bajolet@hotmail.com
Signed-off-by: Jean Privat <jean@pryen.org>

10 years agomodel: factorize `select_most_specific` from `lookup_*_definitions`
Jean Privat [Tue, 18 Feb 2014 20:16:01 +0000 (15:16 -0500)]
model: factorize `select_most_specific` from `lookup_*_definitions`

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

10 years agonitg/ffi: adds the annotations c_[copiler|linker]_option
Alexis Laferrière [Sat, 19 Oct 2013 03:42:32 +0000 (23:42 -0400)]
nitg/ffi: adds the annotations c_[copiler|linker]_option

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

10 years agotests: add tests for the pkgconfig annotation
Alexis Laferrière [Thu, 30 Jan 2014 20:58:51 +0000 (15:58 -0500)]
tests: add tests for the pkgconfig annotation

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

10 years agonitg/ffi: adds the pkgconfig annotation to detect required C compilation flags
Alexis Laferrière [Sat, 21 Sep 2013 18:03:18 +0000 (14:03 -0400)]
nitg/ffi: adds the pkgconfig annotation to detect required C compilation flags

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

10 years agoMerge branch 'ffi_core' into merge_ffi
Jean Privat [Mon, 17 Feb 2014 19:40:30 +0000 (14:40 -0500)]
Merge branch 'ffi_core' into merge_ffi

10 years agonitg: detect if a compiler supports the FFI
Alexis Laferrière [Wed, 29 Jan 2014 16:01:55 +0000 (11:01 -0500)]
nitg: detect if a compiler supports the FFI

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

10 years agonitg: activate support for the FFI in nitg
Jean Privat [Mon, 17 Feb 2014 19:11:26 +0000 (14:11 -0500)]
nitg: activate support for the FFI in nitg

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

Conflicts:
src/abstract_compiler.nit
src/separate_compiler.nit

10 years agonitg-g: support cast between subtypes of Pointer
Alexis Laferrière [Wed, 29 Jan 2014 21:14:47 +0000 (16:14 -0500)]
nitg-g: support cast between subtypes of Pointer

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

10 years agonitg: intro the compiler_ffi module to support the FFI in nitg
Alexis Laferrière [Thu, 28 Nov 2013 19:19:45 +0000 (14:19 -0500)]
nitg: intro the compiler_ffi module to support the FFI in nitg

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

10 years agonitg: intro the common_ffi module and support for the C language
Alexis Laferrière [Thu, 28 Nov 2013 19:19:04 +0000 (14:19 -0500)]
nitg: intro the common_ffi module and support for the C language

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

10 years agonitg: intro the nitni module
Alexis Laferrière [Fri, 15 Nov 2013 21:07:07 +0000 (16:07 -0500)]
nitg: intro the nitni module

Offers services defining the tailored API used by the FFI.

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

10 years agoMerge branch 'ffi_libupdate' into merge_ffi
Jean Privat [Mon, 17 Feb 2014 19:08:11 +0000 (14:08 -0500)]
Merge branch 'ffi_libupdate' into merge_ffi

10 years agolib: update json module to the latest FFI spec
Alexis Laferrière [Fri, 29 Nov 2013 16:08:27 +0000 (11:08 -0500)]
lib: update json module to the latest FFI spec

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

10 years agolib: update the callback_monkey example to the latest FFI spec
Alexis Laferrière [Thu, 28 Nov 2013 20:20:21 +0000 (15:20 -0500)]
lib: update the callback_monkey example to the latest FFI spec

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

10 years agolib: update sort_downloads to the latest FFI spec
Alexis Laferrière [Thu, 28 Nov 2013 20:16:32 +0000 (15:16 -0500)]
lib: update sort_downloads to the latest FFI spec

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

10 years agolib: update the socket module to the latest FFI spec
Alexis Laferrière [Thu, 28 Nov 2013 20:16:19 +0000 (15:16 -0500)]
lib: update the socket module to the latest FFI spec

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

10 years agolib: update the curses module to the latest FFI spec
Alexis Laferrière [Thu, 28 Nov 2013 20:16:10 +0000 (15:16 -0500)]
lib: update the curses module to the latest FFI spec

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

10 years agolib: update the signal module to the latest FFI spec
Alexis Laferrière [Thu, 28 Nov 2013 20:16:02 +0000 (15:16 -0500)]
lib: update the signal module to the latest FFI spec

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

10 years agolib: update mnit module to the latest FFI spec
Jean Privat [Mon, 17 Feb 2014 15:46:48 +0000 (10:46 -0500)]
lib: update mnit module to the latest FFI spec

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Signed-off-by: Jean Privat <jean@pryen.org>

10 years agolib: update gtk3_4 module to the latest FFI spec
Alexis Laferrière [Thu, 28 Nov 2013 20:15:24 +0000 (15:15 -0500)]
lib: update gtk3_4 module to the latest FFI spec

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

10 years agolib: update curl module to the latest FFI spec
Alexis Laferrière [Thu, 28 Nov 2013 20:15:03 +0000 (15:15 -0500)]
lib: update curl module to the latest FFI spec

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

10 years agolib: update sqlite3 module to latest FFI spec
Alexis Laferrière [Thu, 28 Nov 2013 16:41:12 +0000 (11:41 -0500)]
lib: update sqlite3 module to latest FFI spec

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

10 years agolib: update md5 module to latest FFI spec
Alexis Laferrière [Thu, 28 Nov 2013 16:40:28 +0000 (11:40 -0500)]
lib: update md5 module to latest FFI spec

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

10 years agolib: update the json module to latest FFI spec
Alexis Laferrière [Sat, 9 Nov 2013 02:15:18 +0000 (21:15 -0500)]
lib: update the json module to latest FFI spec

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

10 years agotests: update FFI tests to latest spec
Alexis Laferrière [Wed, 27 Nov 2013 15:10:39 +0000 (10:10 -0500)]
tests: update FFI tests to latest spec

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

10 years agolib: update standard library to latest FFI spec
Alexis Laferrière [Sat, 31 Aug 2013 12:07:03 +0000 (08:07 -0400)]
lib: update standard library to latest FFI spec

At this commit, nitg can be compiled using nitg compiled from Nit in
the previous commit.

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

10 years agoc_src: update for new ffi syntax
Jean Privat [Mon, 17 Feb 2014 18:39:58 +0000 (13:39 -0500)]
c_src: update for new ffi syntax

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

10 years agostdlib/strings: Temporary removal of Ropes from stdlib.
Lucas Bajolet [Mon, 17 Feb 2014 16:08:35 +0000 (11:08 -0500)]
stdlib/strings: Temporary removal of Ropes from stdlib.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agoMerge branch 'prepare-ffi-migration' into merge_ffi
Jean Privat [Mon, 17 Feb 2014 15:42:44 +0000 (10:42 -0500)]
Merge branch 'prepare-ffi-migration' into merge_ffi

10 years agostdlib/strings: Removed usage of Strings as SequenceRead by using chars.
Lucas Bajolet [Mon, 17 Feb 2014 15:39:26 +0000 (10:39 -0500)]
stdlib/strings: Removed usage of Strings as SequenceRead by using chars.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agomodel: rta uses its visitor only to visit FFI extern methods
Alexis Laferrière [Fri, 19 Jul 2013 18:20:36 +0000 (14:20 -0400)]
model: rta uses its visitor only to visit FFI extern methods

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

10 years agotests: remove native interface tests
Alexis Laferrière [Sat, 19 Oct 2013 17:49:42 +0000 (13:49 -0400)]
tests: remove native interface tests

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

10 years agosrc: delete old ffi and native_interface code
Alexis Laferrière [Wed, 29 Jan 2014 16:03:21 +0000 (11:03 -0500)]
src: delete old ffi and native_interface code

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

10 years agotests: fix sav file for test_for_times
Alexis Laferrière [Fri, 31 Jan 2014 14:47:46 +0000 (09:47 -0500)]
tests: fix sav file for test_for_times

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

10 years agoMerge branch 'enlarge_ffi_syntax' into merge_ffi
Jean Privat [Mon, 17 Feb 2014 14:12:15 +0000 (09:12 -0500)]
Merge branch 'enlarge_ffi_syntax' into merge_ffi

10 years agodoc: added comment for metrics::inheritance_metrics::InheritanceMetricsPhase
Alexandre Terrasa [Sat, 15 Feb 2014 02:48:47 +0000 (18:48 -0800)]
doc: added comment for metrics::inheritance_metrics::InheritanceMetricsPhase

Alexandre Terrasa <alexandre@moz-code.org>

10 years agostdlib/strings: Removed from_substring constructor (replaced by with_infos)
Lucas Bajolet [Thu, 16 Jan 2014 17:32:22 +0000 (12:32 -0500)]
stdlib/strings: Removed from_substring constructor (replaced by with_infos)

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agostdlib/strings: Added view on the chars of String and Buffer class to abstract them...
Lucas Bajolet [Fri, 14 Feb 2014 21:18:11 +0000 (16:18 -0500)]
stdlib/strings: Added view on the chars of String and Buffer class to abstract them from the Collection model

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agoparser: regenerate files
Jean Privat [Fri, 14 Feb 2014 18:13:40 +0000 (13:13 -0500)]
parser: regenerate files

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

10 years agoparser: extern stuff accepts types and dot
Jean Privat [Fri, 14 Feb 2014 18:13:13 +0000 (13:13 -0500)]
parser: extern stuff accepts types and dot

For compatibility with existing code:

* dot is optional to keep compatibility with existing code.
* The language of types include the language of classid.

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

10 years agoparser: drop qualification in annotations
Jean Privat [Fri, 14 Feb 2014 18:09:39 +0000 (13:09 -0500)]
parser: drop qualification in annotations

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

10 years agoMerge branch 'long_string'
Jean Privat [Fri, 14 Feb 2014 16:26:34 +0000 (11:26 -0500)]
Merge branch 'long_string'

fix long strings with alternation of " and {

example of now accepted strings

~~~
a = """<field="{{{value}}}">"""
~~~

However, I am not sure how existing colorers (see the misc/ directory)
behave.

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

10 years agotests: add test_string_triple2.nit
Jean Privat [Thu, 13 Feb 2014 15:16:24 +0000 (10:16 -0500)]
tests: add test_string_triple2.nit

for complex mixing of { and "

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

10 years agoparser: regenerate table for long strings
Jean Privat [Thu, 13 Feb 2014 15:15:52 +0000 (10:15 -0500)]
parser: regenerate table for long strings

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

10 years agoparser: improve long string when mixing " and {
Jean Privat [Thu, 13 Feb 2014 15:15:31 +0000 (10:15 -0500)]
parser: improve long string when mixing " and {

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

10 years agoc_src: remove git attribute `diff` on generated files
Jean Privat [Wed, 12 Feb 2014 21:05:22 +0000 (16:05 -0500)]
c_src: remove git attribute `diff` on generated files

So diffs and stats will not be polluted by meaningless changes

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

10 years agoMerge branch 'rta_not_mandatory'
Jean Privat [Wed, 12 Feb 2014 19:31:42 +0000 (14:31 -0500)]
Merge branch 'rta_not_mandatory'

10 years agoMerge branch 'calculator' of https://github.com/BlackMinou/nit
Jean Privat [Wed, 12 Feb 2014 19:31:18 +0000 (14:31 -0500)]
Merge branch 'calculator' of https://github.com/BlackMinou/nit

10 years agoMerge pull request #1 from xymus/calculator
Chanoir [Wed, 12 Feb 2014 18:38:14 +0000 (13:38 -0500)]
Merge pull request #1 from xymus/calculator

Small fixes for the calculator example and gtk lib

10 years agoexamples/calculator & lib/gtk: fix whitespaces
Alexis Laferrière [Wed, 12 Feb 2014 18:02:11 +0000 (13:02 -0500)]
examples/calculator & lib/gtk: fix whitespaces

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

10 years agolib/gtk: fix name collision of the "visible" properties
Alexis Laferrière [Wed, 12 Feb 2014 18:26:37 +0000 (13:26 -0500)]
lib/gtk: fix name collision of the "visible" properties

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

10 years agolib/gtk: fix duplication of "visible" properties
Alexis Laferrière [Wed, 12 Feb 2014 18:01:23 +0000 (13:01 -0500)]
lib/gtk: fix duplication of "visible" properties

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

10 years agoMerge branch 'Patch-signals' of https://github.com/CaptainKali/nit
Jean Privat [Wed, 12 Feb 2014 17:46:34 +0000 (12:46 -0500)]
Merge branch 'Patch-signals' of https://github.com/CaptainKali/nit

10 years agoMerge branch 'reassign_fixes' of https://github.com/R4PaSs/nit
Jean Privat [Wed, 12 Feb 2014 17:43:26 +0000 (12:43 -0500)]
Merge branch 'reassign_fixes' of https://github.com/R4PaSs/nit

10 years agoMerge branch 'serialization'
Jean Privat [Wed, 12 Feb 2014 15:29:59 +0000 (10:29 -0500)]
Merge branch 'serialization'

10 years agoMerge branch 'unwind_integration'
Jean Privat [Wed, 12 Feb 2014 15:29:41 +0000 (10:29 -0500)]
Merge branch 'unwind_integration'

10 years agotests: remove sav/nitg-e/fixme/base_gen_infinite.res
Jean Privat [Tue, 11 Feb 2014 20:45:21 +0000 (15:45 -0500)]
tests: remove sav/nitg-e/fixme/base_gen_infinite.res

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

10 years agonitg-e: run without RTA thus allows recursive generic types
Jean Privat [Tue, 11 Feb 2014 16:08:31 +0000 (11:08 -0500)]
nitg-e: run without RTA thus allows recursive generic types

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

10 years agonitg: new module `collect_super_sends` to use when RTA is disabled
Jean Privat [Tue, 11 Feb 2014 16:07:00 +0000 (11:07 -0500)]
nitg: new module `collect_super_sends` to use when RTA is disabled

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

10 years agonitg: protect some null runtime_type_analysis to fall back on unknown stuff
Jean Privat [Tue, 11 Feb 2014 16:05:33 +0000 (11:05 -0500)]
nitg: protect some null runtime_type_analysis to fall back on unknown stuff

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

10 years agonitg: make runtime_type_analysis nullable to enable no RTA
Jean Privat [Tue, 11 Feb 2014 16:04:33 +0000 (11:04 -0500)]
nitg: make runtime_type_analysis nullable to enable no RTA

A lot of NPE will break, but places are ready

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

10 years agotests: update error messages in error_needed_method
Jean Privat [Wed, 12 Feb 2014 14:33:37 +0000 (09:33 -0500)]
tests: update error messages in error_needed_method

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

10 years agorta: check the type NativeArray before the method with_native in varargs
Jean Privat [Wed, 12 Feb 2014 14:32:52 +0000 (09:32 -0500)]
rta: check the type NativeArray before the method with_native in varargs

This is coherent with the other NativeArray stuff in RTA and the way
engines do it

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

10 years agorta: use `to_s_with_length` instead of `to_s` in literal strings
Jean Privat [Wed, 12 Feb 2014 14:31:31 +0000 (09:31 -0500)]
rta: use `to_s_with_length` instead of `to_s` in literal strings

This is more conform to the current nitg implementations.

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

10 years agostack_trace: move include and declaration in main body
Jean Privat [Wed, 12 Feb 2014 14:51:51 +0000 (09:51 -0500)]
stack_trace: move include and declaration in main body

instead of the global header.
ccache will be more happy!

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

10 years agostack_trace: always exports the show_backtrace service
Jean Privat [Wed, 12 Feb 2014 14:45:28 +0000 (09:45 -0500)]
stack_trace: always exports the show_backtrace service

If disabled by `opt_stacktrace` it is the body that change, not the
client of the function.

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

10 years agostack_trace: do not stacktrace on explicit exit
Jean Privat [Wed, 12 Feb 2014 14:43:45 +0000 (09:43 -0500)]
stack_trace: do not stacktrace on explicit exit

only on runtime-error and signals

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

10 years agolib/json: remove `diff` git attribute to generated parser files
Jean Privat [Wed, 12 Feb 2014 14:10:48 +0000 (09:10 -0500)]
lib/json: remove `diff` git attribute to generated parser files

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

10 years agoMerge branch 'patch-sdl'
Jean Privat [Wed, 12 Feb 2014 13:50:44 +0000 (08:50 -0500)]
Merge branch 'patch-sdl'

10 years agoSDL : Comments added for SDLFont class and methods
GeoffreyHecht [Wed, 29 Jan 2014 20:33:29 +0000 (15:33 -0500)]
SDL : Comments  added for SDLFont  class and methods

signed-off-by: Geoffrey Hecht <geoffrey.hecht@gmail.com>

10 years agoSDL : Comments added for SDLkeyEvent class
GeoffreyHecht [Wed, 29 Jan 2014 20:26:51 +0000 (15:26 -0500)]
SDL : Comments  added for SDLkeyEvent  class

signed-off-by: Geoffrey Hecht <geoffrey.hecht@gmail.com>

10 years agoSDL : Comments added for SDLMouseEvent, MouseButtonEvent,MouseMotionEvent class
GeoffreyHecht [Wed, 29 Jan 2014 20:24:58 +0000 (15:24 -0500)]
SDL : Comments  added for SDLMouseEvent, MouseButtonEvent,MouseMotionEvent  class

signed-off-by: Geoffrey Hecht <geoffrey.hecht@gmail.com>

10 years agoSDL : Comments fixed and added in SDLRectangle class
GeoffreyHecht [Wed, 29 Jan 2014 20:11:29 +0000 (15:11 -0500)]
SDL : Comments fixed and added in SDLRectangle class

signed-off-by: Geoffrey Hecht <geoffrey.hecht@gmail.com>

10 years agoSDL : Comments fixed and added in SDLImage class
Geoffrey Hecht [Wed, 29 Jan 2014 17:49:04 +0000 (12:49 -0500)]
SDL : Comments fixed and added in SDLImage class

signed-off-by: Geoffrey Hecht <geoffrey.hecht@gmail.com>

10 years agoSDL : Comments fixed and added in SDLDrawable class
Geoffrey Hecht [Wed, 29 Jan 2014 17:43:50 +0000 (12:43 -0500)]
SDL : Comments fixed and added in SDLDrawable class

signed-off-by: Geoffrey Hecht <geoffrey.hecht@gmail.com>

10 years agoSDL : Comments fixed and added in SDLDisplay class
Geoffrey Hecht [Wed, 29 Jan 2014 17:33:10 +0000 (12:33 -0500)]
SDL : Comments fixed and added in SDLDisplay class

signed-off-by: Geoffrey Hecht <geoffrey.hecht@gmail.com>

10 years agotests: adds missing copyright info to serialization tests
Alexis Laferrière [Wed, 12 Feb 2014 00:45:15 +0000 (19:45 -0500)]
tests: adds missing copyright info to serialization tests

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