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>
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>
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>
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>
Jean Privat [Mon, 17 Feb 2014 14:12:15 +0000 (09:12 -0500)]
Merge branch 'enlarge_ffi_syntax' into merge_ffi
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>
Jean Privat [Fri, 14 Feb 2014 18:13:40 +0000 (13:13 -0500)]
parser: regenerate files
Signed-off-by: Jean Privat <jean@pryen.org>
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>
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>
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>
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>
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>
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>
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>
Jean Privat [Wed, 12 Feb 2014 19:31:42 +0000 (14:31 -0500)]
Merge branch 'rta_not_mandatory'
Jean Privat [Wed, 12 Feb 2014 19:31:18 +0000 (14:31 -0500)]
Merge branch 'calculator' of https://github.com/BlackMinou/nit
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
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>
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>
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>
Jean Privat [Wed, 12 Feb 2014 17:46:34 +0000 (12:46 -0500)]
Merge branch 'Patch-signals' of https://github.com/CaptainKali/nit
Jean Privat [Wed, 12 Feb 2014 17:43:26 +0000 (12:43 -0500)]
Merge branch 'reassign_fixes' of https://github.com/R4PaSs/nit
Jean Privat [Wed, 12 Feb 2014 15:29:59 +0000 (10:29 -0500)]
Merge branch 'serialization'
Jean Privat [Wed, 12 Feb 2014 15:29:41 +0000 (10:29 -0500)]
Merge branch 'unwind_integration'
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Jean Privat [Wed, 12 Feb 2014 13:50:44 +0000 (08:50 -0500)]
Merge branch 'patch-sdl'
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>
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>
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>
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>
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>
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>
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>
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>
Alexis Laferrière [Wed, 12 Feb 2014 00:43:30 +0000 (19:43 -0500)]
frontend: fix doc in serialization_phase
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Wed, 12 Feb 2014 00:35:30 +0000 (19:35 -0500)]
frontend: force order of serialzation and literal phases in frontend
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Lucas Bajolet [Tue, 11 Feb 2014 19:45:44 +0000 (14:45 -0500)]
nitg: Usefix, avoids producing a backtrace when encountering an exit(0).
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Tue, 11 Feb 2014 22:55:20 +0000 (17:55 -0500)]
nitg: Added option to disable use of libunwind to generate C stack traces.
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Tue, 11 Feb 2014 21:10:40 +0000 (16:10 -0500)]
nitg: Corrected bug when creating a new AVarExpr, uses the last inferred type instead of its definition type.
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Tue, 11 Feb 2014 20:55:19 +0000 (15:55 -0500)]
Merge branch 'kill_newcheck'
Remove runtime checks on uninitialized attributes at the end of object
constructions.
Thus, uninitialized attributes will now fail (abort) on the first read
access.
Some people [citation needed] find that the current specification force
the usage of `nullable` on attributes that should not be null in
practice but that cannot be not nullable because the initialization is
not done in the constructor.
Some other people [bis] also state that the current check is problematic
with potential exception/longjump since uninitialized object could still
escape.
Therefore, because the next big devel planned is the constructors, I
prefer to solve this specification point before. This pull request is a
RFC on the new spec (and/or implementation).
CaptainKali [Tue, 11 Feb 2014 20:17:44 +0000 (15:17 -0500)]
Add signals + descriptions
Add various missing signals and their descriptions
Djomanix [Tue, 28 Jan 2014 19:42:13 +0000 (14:42 -0500)]
lib/stream: added more explicit comment for eof method.
Comment could be misunderstand, and is now more explicit.
signed-off-by: Johan Kayser <johan.kayser@viacesi.fr>
Jean Privat [Sat, 8 Feb 2014 05:20:20 +0000 (00:20 -0500)]
tests: update related to the removal of check_init_instance
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Sat, 8 Feb 2014 03:06:22 +0000 (22:06 -0500)]
Merge branch 'privat' into topub
Alexis Laferrière [Sat, 1 Feb 2014 18:35:32 +0000 (13:35 -0500)]
serialization: add support for Arrays
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Fri, 7 Feb 2014 21:20:59 +0000 (16:20 -0500)]
src: remove check_init_instance everywhere
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Sat, 1 Feb 2014 18:33:39 +0000 (13:33 -0500)]
lib/serialization: adds a method to detect unserializable type
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 1 Feb 2014 18:52:16 +0000 (13:52 -0500)]
tests: adds test for the serialization phase and json service
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 1 Feb 2014 18:50:33 +0000 (13:50 -0500)]
frontend: intro the serialization phase
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 1 Feb 2014 18:49:35 +0000 (13:49 -0500)]
lib: intro the json serialization module
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 1 Feb 2014 18:49:13 +0000 (13:49 -0500)]
lib: intro the abstract serialization module
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 3 Nov 2013 19:43:38 +0000 (14:43 -0500)]
lib: intro the StringOStream class
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
ChristopheGIGAX [Tue, 28 Jan 2014 16:39:40 +0000 (11:39 -0500)]
range: make IteratorRange private
signed-off-by: Christophe GIGAX <chrisophe.gigax@viacesi.fr>
Jean Privat [Fri, 7 Feb 2014 16:50:49 +0000 (11:50 -0500)]
Merge branch 'project_new'
ChristopheGIGAX [Thu, 30 Jan 2014 03:07:59 +0000 (22:07 -0500)]
array: improve comment of `last_index_of_from`
The documentation was ambigus comparing to the implementation.
signed-off-by : Christophe GIGAX <christophe.gigax@viacesi.fr>
signed-off-by : Benjamin JOSE <beness.j@gmail.com>
Jean Privat [Fri, 7 Feb 2014 14:40:14 +0000 (09:40 -0500)]
modulebuilder: remove protection for multiple loading of AST
The protection is now only in the `identify_file` method
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 7 Feb 2014 14:38:48 +0000 (09:38 -0500)]
modulebuilder: module_absolute_path does always its job
This allow to climb-up directories to look for a project
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 7 Feb 2014 14:33:14 +0000 (09:33 -0500)]
Merge branch 'collection doc' of https://github.com/BlackMinou/nit
Clément De Figueiredo [Wed, 29 Jan 2014 16:28:58 +0000 (11:28 -0500)]
Class UserGroup : Add method descriptions
Add method descriptions for methods of the UserGroup Class
signed-off-by: Clément De Figueiredo <clement.defigueiredo@viacesi.fr>
signed-off-by: Maxime Leroy <maxime.leroy1@viacesi.fr>
Jean Privat [Fri, 7 Feb 2014 13:44:34 +0000 (08:44 -0500)]
Merge remote-tracking branch 'alexandre/syntaxhighlighter'
Alexandre Terrasa [Fri, 7 Feb 2014 05:35:22 +0000 (00:35 -0500)]
misc: added brush for SyntaxHighlighter JS script
SyntaxHighlighter is an open source Javascript client side code syntax hilighter.
More details on http://alexgorbatchev.com/SyntaxHighlighter/
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Thu, 6 Feb 2014 17:40:32 +0000 (12:40 -0500)]
Merge branch 'project_new'
Jean Privat [Thu, 6 Feb 2014 17:40:15 +0000 (12:40 -0500)]
tests: args can use `$WRITE` instead of guessing the right outfile name
Change-Id: Iba16d3d824daf723bc9e7a7e39a1252461053dd8
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Wed, 5 Feb 2014 19:19:51 +0000 (14:19 -0500)]
clib: deactivate libgc debugging
Change-Id: I62bf113aa6266e3baecfcc4a4043397cb7e4fd89
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Tue, 4 Feb 2014 21:04:41 +0000 (16:04 -0500)]
tests: really add nitunit test
For some reason,
6380ab99c292 forgot to add `test_nitunit.nit`.
Since it also forgot to add nitunit to `testfull.sh`, the error was
unnoticed.
Change-Id: I48f579779955223fd65b68774af4b61e87ad31eb
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 3 Feb 2014 19:34:57 +0000 (14:34 -0500)]
metrics: remove mmodule_nesting_hierarchy in poset_metrics
Change-Id: I9b640b2c1de16e2813db13cbbaa1c03478cda436
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 3 Feb 2014 19:34:32 +0000 (14:34 -0500)]
metrics: generate projects and groups in model_hyperdoc
Change-Id: If0fc9120653dc435994a681f54363e31b2bba070
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 3 Feb 2014 15:36:32 +0000 (10:36 -0500)]
metrics: use model_viz in generate_hierarchies
Change-Id: I5ec1b302fe27c6b971d61b38cf08a25d4fb5ce76
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 29 Jan 2014 16:36:59 +0000 (11:36 -0500)]
src: add model_viz.nit
Change-Id: Ieda8600a0da5404c1ee744c7f56b28e8f417a76f
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 27 Jan 2014 21:01:40 +0000 (16:01 -0500)]
nitunit: do some kind of shenanigans to import the main module
to fix once the loading of arbitrary module in foreign project is doable
Change-Id: I367682e4a681b8adf7487c3763fc23fca7ee90cf
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 29 Jan 2014 20:33:23 +0000 (15:33 -0500)]
nitx: use projects instead of owner
Change-Id: I7ffbf47d81b4ed1939902ee54d514ed0e9d57095
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 5 Feb 2014 19:57:22 +0000 (14:57 -0500)]
modelbuilder: load modules in projects and groups
Change-Id: I9fa965d5707ddc8b828629fe2922f15ebb590082
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Feb 2014 15:00:37 +0000 (10:00 -0500)]
model: add mproject module
mmodule uses it but the API is not changed yet
Change-Id: Ie8efdc51014530966a7398bd25c946589d213df1
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Feb 2014 15:16:14 +0000 (10:16 -0500)]
modelbuilder: in load_rt_module, rename `owner` to `parent`
Change-Id: I039d9de12318e9b3bd49b43112eaa40a2b66feab
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 3 Feb 2014 20:48:38 +0000 (15:48 -0500)]
modulebuilder: extract load_module_ast from load_module
Change-Id: I5e369cf085d2f200438ab40ea2e1cfda3f47a847
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 5 Feb 2014 13:49:17 +0000 (08:49 -0500)]
tests: protect CDATA from non-printable chars in xml results
Change-Id: I966dfcee9a028b4a141cd7125d13460bf87d412e
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 3 Feb 2014 19:36:35 +0000 (14:36 -0500)]
remove bit-rotting interpretor_type_test.nit
Change-Id: I72b1ad766adcfad1eb00d58167af2346c2ed84f4
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Feb 2014 15:06:26 +0000 (10:06 -0500)]
test_phase: add a regression test
Change-Id: Ib31748c1572a1ab3d9926b99c5d2e2db965b56fc
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Feb 2014 15:05:52 +0000 (10:05 -0500)]
test_phase: remove unavailable `import modelize_module`
Change-Id: I5bf34ad5c38a25c4aafaa796c1caa0099151ffc1
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 3 Feb 2014 16:27:10 +0000 (11:27 -0500)]
Merge remote-tracking branch 'alexandre/fix-nitdoc'
Jean Privat [Mon, 3 Feb 2014 14:29:45 +0000 (09:29 -0500)]
Merge remote-tracking branch 'lucas/unwind_integration'
Alexis Laferrière [Sun, 2 Feb 2014 05:04:53 +0000 (00:04 -0500)]
lib: intro a simple json reader module using nitcc
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 2 Feb 2014 04:53:01 +0000 (23:53 -0500)]
contrib/nitcc: use better alternative names in the json grammar
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 2 Feb 2014 04:47:06 +0000 (23:47 -0500)]
lib: do not ignore key/values when value is null in Map::join
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexandre Terrasa [Sat, 1 Feb 2014 19:52:36 +0000 (14:52 -0500)]
nitdoc: fix show source link
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 1 Feb 2014 19:27:03 +0000 (14:27 -0500)]
modelbuilder: Remove duplicates from modules list
Fix a mistake introduced by
1a3536b6 (blame me)
Also fix issues #153, #157, #223 and #224
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 1 Feb 2014 08:06:50 +0000 (03:06 -0500)]
nitdoc: make github 'Commit' button less scary with 'Commit...'
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 1 Feb 2014 08:03:10 +0000 (03:03 -0500)]
nitdoc: make titles in github plugin login box more explicit
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 1 Feb 2014 07:56:33 +0000 (02:56 -0500)]
nitdoc: change branch name box by link to github page
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>