Julien Pagès [Mon, 8 Dec 2014 19:46:28 +0000 (14:46 -0500)]
nitvm: Bug fix in subtyping test
Signed-off-by: Julien Pagès <julien.projet@gmail.com>
Julien Pagès [Mon, 8 Dec 2014 15:32:25 +0000 (10:32 -0500)]
nitvm: Fixing a bug in superclasses ordering
Signed-off-by: Julien Pagès <julien.projet@gmail.com>
Jean Privat [Tue, 9 Dec 2014 01:23:23 +0000 (20:23 -0500)]
Merge: Graphics related features, fixes and doc
There's a bit for almost everyone in this PR, some doc for @morriar, hex literals without once for @privat and general progression towards the fabled _gammit_ for @R4PaSs!
Pull-Request: #980
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 9 Dec 2014 01:21:22 +0000 (20:21 -0500)]
Merge: ropes: Fix some bugs in `RopeBuffer` (again)
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Pull-Request: #979
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 9 Dec 2014 01:19:26 +0000 (20:19 -0500)]
Merge: Implementation of some mechanisms with direct access in nitvm
The method dispatch in nitvm is now implemented with direct access, i.e. without perfect hashing.
This implementation is faster than perfect hashing, but just work in a few cases.
Subtyping test is also implemented with direct access, but it is not used yet in runtime mechanisms because the guard would be to complex and will decrease performances.
Pull-Request: #976
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 9 Dec 2014 01:18:47 +0000 (20:18 -0500)]
Merge: improved loader and nitls
Split the modelbuilder into 3 parts in order to isolate the loader.
Improve nitls to be more useful:
* colored output (unless -p or --no--color is used)
* show synopsis of modules and groups (unless -p is used)
* show dependencies (if -d is used)
* works with `.` by default
* can see all the module of a group
* different behavior when given a module, a group, or a directory containing modules (like lib/ or contrib/)
* -r and -d can be used together
* the alpha-sorting if fixed
Pull-Request: #972
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Sat, 6 Dec 2014 04:24:16 +0000 (23:24 -0500)]
contrib/online_ide: intrude loader instead of modelbuilder
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 6 Dec 2014 04:17:41 +0000 (23:17 -0500)]
nitls: stop intruding loader
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 6 Dec 2014 04:16:57 +0000 (23:16 -0500)]
loader: add a public itentified_files attribute
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 6 Dec 2014 04:15:18 +0000 (23:15 -0500)]
loader: make some entities public and improve doc
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 9 Dec 2014 01:16:45 +0000 (20:16 -0500)]
Merge: Some niti cleaning
Small and cosmetic fixes for the interpreter.
See the tentative to implement `String::files` with some (non-reflexive) metaprogramming.
Pull-Request: #971
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexis Laferrière [Mon, 8 Dec 2014 18:35:43 +0000 (13:35 -0500)]
lib/glesv2: wrap more features to query informations on attributes and uniforms
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 8 Dec 2014 18:24:53 +0000 (13:24 -0500)]
lib/glesv2: improve doc of `glesv2`
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 30 Nov 2014 22:55:02 +0000 (17:55 -0500)]
lib/glesv2: fix and simplify the implementation of `GLShader::source`
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 5 Dec 2014 16:03:56 +0000 (11:03 -0500)]
lib/sdl: add `is_[left|right|middle|wheel]_button`
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 6 Dec 2014 03:40:43 +0000 (22:40 -0500)]
lib/egl: use hex literals instead of `String::to_hex`
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean-Christophe Beaupré [Sun, 7 Dec 2014 06:02:47 +0000 (01:02 -0500)]
ropes: Fix `RopeBuffer.reset`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Sun, 7 Dec 2014 16:30:50 +0000 (11:30 -0500)]
ropes: Fix the behavior of `RopeBuffer.clear` when used with `to_s`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Sun, 7 Dec 2014 05:56:58 +0000 (00:56 -0500)]
ropes: Fix `RopeBuffer.reverse`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Sun, 7 Dec 2014 05:55:36 +0000 (00:55 -0500)]
ropes: Fix a buffer overflow in `RopeBuffer.add`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean Privat [Fri, 5 Dec 2014 20:54:47 +0000 (15:54 -0500)]
niti: fix some comments
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 20:54:36 +0000 (15:54 -0500)]
niti: use `write_attribute` in old path of initializers
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 20:53:47 +0000 (15:53 -0500)]
niti: use PrimitiveInstance for `null_instance`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 04:11:45 +0000 (23:11 -0500)]
man: update nitls.md
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 03:47:06 +0000 (22:47 -0500)]
tests: update sav/nitls
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 03:38:53 +0000 (22:38 -0500)]
nitls: look at files of a directories when they are not groups (eg lib/ or contrib/)
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 03:36:04 +0000 (22:36 -0500)]
nitls: visit group for relevant outputs
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 03:32:34 +0000 (22:32 -0500)]
nitls: use tree-output if one of the argument is a group
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 03:30:55 +0000 (22:30 -0500)]
nitls: reuse the entity sorter for all output
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 03:18:10 +0000 (22:18 -0500)]
nitls: work on . by default
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 03:17:04 +0000 (22:17 -0500)]
loader: add visit_group
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 03:15:04 +0000 (22:15 -0500)]
loader: identify_file use -I for names without path
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 03:14:03 +0000 (22:14 -0500)]
loader: identify_file does not print errors
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 11:33:39 +0000 (06:33 -0500)]
nitls: document projects
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 04:16:13 +0000 (23:16 -0500)]
nitls: correctly sort by names with --tree
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 04:09:32 +0000 (23:09 -0500)]
nitls: display dependancies if -d is given
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 04:09:01 +0000 (23:09 -0500)]
nitls: --tree do not show uninterresting groups
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 04:08:16 +0000 (23:08 -0500)]
loader: add MGroup::is_interesting
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 03:26:38 +0000 (22:26 -0500)]
nitls: use color when listing things
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 03:09:58 +0000 (22:09 -0500)]
nitls: make -d and -r usable together
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 03:03:07 +0000 (22:03 -0500)]
nitls: shows the synopsys of modules and groups by default
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 04:07:27 +0000 (23:07 -0500)]
nitls: reuse ProjTree::display for the simple list
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 03:01:38 +0000 (22:01 -0500)]
loader: `load_module` no mode automatically computes the importation
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 03:00:19 +0000 (22:00 -0500)]
niti: use get_mmodule_by_name instead of the low-level load_module
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 20:53:06 +0000 (15:53 -0500)]
niti: PrimitiveInstance::val can be null
Signed-off-by: Jean Privat <jean@pryen.org>
Julien Pagès [Fri, 5 Dec 2014 15:02:01 +0000 (10:02 -0500)]
nitvm: Subtyping test is now implemented with direct access
Signed-off-by: Julien Pagès <julien.projet@gmail.com>
Julien Pagès [Wed, 3 Dec 2014 20:37:42 +0000 (15:37 -0500)]
nitvm: Method dispatch is implemented with direct access
Signed-off-by: Julien Pagès <julien.projet@gmail.com>
Julien Pagès [Fri, 5 Dec 2014 20:56:03 +0000 (15:56 -0500)]
nitvm: Migrating some init to new-style constructors and fixe a missing doc warning
Signed-off-by: Julien Pagès <julien.projet@gmail.com>
Jean Privat [Fri, 5 Dec 2014 02:11:51 +0000 (21:11 -0500)]
niti: reduce the direct usage on the current frame
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 01:57:08 +0000 (20:57 -0500)]
niti: remove last warnings by documenting two methods
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 01:55:18 +0000 (20:55 -0500)]
niti: implements `String::files`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 01:54:37 +0000 (20:54 -0500)]
lib/file: `String::files` return an Array because it is an easier primitive type to deal with
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 01:53:41 +0000 (20:53 -0500)]
niti: direclty use `Array::copy_to` to implements `NativeArray::copy_to`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 5 Dec 2014 01:52:30 +0000 (20:52 -0500)]
lib/array: make `copy_to` public
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 23:39:48 +0000 (18:39 -0500)]
Merge: ropes: Fix a bug in `RopeBuffer.clear`
… and clean `RopeBuffer` a little bit.
Pull-Request: #965
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 23:39:34 +0000 (18:39 -0500)]
Merge: Mpropdef2node
Introduce services to isolate more the model from the AST.
Dissociating the AST and the model reduce the coupling.
The two new services `mpropdef2node` and `collect_attr_propdef` of `ModelBuilder` replace most accesses to the uncontrolled maps `mpropdef2npropdef` and `mclassdef2nclassdef` (now made private).
They will permit to control how the rest of the code access the AST nodes.
In some future, these indirections could be used to process part of the AST in a lazy way where the requested AST part will be modelized&semantized only when required by the tools.
Pull-Request: #966
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Thu, 4 Dec 2014 23:38:45 +0000 (18:38 -0500)]
Merge: nitdoc: Escape (again)
Yet another partial fix for #891.
Pull-Request: #963
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Thu, 4 Dec 2014 23:38:40 +0000 (18:38 -0500)]
Merge: Subtype improvements
During the work with the covariance, some bugs with `is_subtype` where identified.
The PR tries to improve the code and fixes those bugs.
It also simplifies the code in the formal types and propose a new `lookup_fixed` method on `MType`.
Pull-Request: #926
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Thu, 4 Dec 2014 20:00:26 +0000 (15:00 -0500)]
modelize: make `mclassdef2nclassdef` and `mpropdef2npropdef` private
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 19:56:12 +0000 (14:56 -0500)]
ffi: attach extern class information to the MClassDef instead of the AClassdef
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 19:32:54 +0000 (14:32 -0500)]
modelize: add and use method `collect_attr_propdef`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 19:32:27 +0000 (14:32 -0500)]
modelize: add and use method mpropdef2node
Signed-off-by: Jean Privat <jean@pryen.org>
Jean-Christophe Beaupré [Thu, 4 Dec 2014 17:08:08 +0000 (12:08 -0500)]
nitdoc: Escape attributes.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Wed, 3 Dec 2014 19:20:01 +0000 (14:20 -0500)]
nitdoc: Escape headers.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Wed, 3 Dec 2014 19:15:01 +0000 (14:15 -0500)]
nitdoc: Escape URLs.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Thu, 4 Dec 2014 16:44:41 +0000 (11:44 -0500)]
string: Escape all HTML’s metacharacters.
In `html_escape`, escape all characters that OWASP recommends to escape.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Thu, 4 Dec 2014 19:25:44 +0000 (14:25 -0500)]
nitlight: Skip `nitg-g` tests.
NitLight is too big for `--global`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Thu, 4 Dec 2014 18:56:45 +0000 (13:56 -0500)]
neo_doxygen: Remove an outdated comment.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Thu, 4 Dec 2014 18:54:21 +0000 (13:54 -0500)]
ropes: Clean `RopeBuffer.append` a little bit.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Thu, 4 Dec 2014 18:53:01 +0000 (13:53 -0500)]
ropes: Reset everything when clearing.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean Privat [Thu, 4 Dec 2014 02:59:05 +0000 (21:59 -0500)]
modelbuilder: ANode not more mandatory in errors and cie
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 02:20:13 +0000 (21:20 -0500)]
modelbuilder: split in 3 modules
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 4 Dec 2014 03:29:48 +0000 (22:29 -0500)]
Merge: neo_doxygen: Fix a forgotten warning.
Pull-Request: #961
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Thu, 4 Dec 2014 03:29:37 +0000 (22:29 -0500)]
Merge: lib: add IStream::read_lines
Lines are not chomped since I prefer to not lose information.
Pull-Request: #960
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Thu, 4 Dec 2014 03:29:33 +0000 (22:29 -0500)]
Merge: Keep going toolcontext
For a compiler, exiting when the source-code is incoherent make sense. However for some tools, like nitlight, it could be useful to be able to process broken code (or just to ignore it and continue).
So, this PR introduce the flag `ToolContext::keep_going` to prevent `check_errors` to terminate the program. It is then the responsibility of the tool to manage the incomplete and possibly incoherent model that was produced.
Close #863
Pull-Request: #959
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Thu, 4 Dec 2014 03:29:28 +0000 (22:29 -0500)]
Merge: Check for errors in GLSL shaders using glslangValidator
Pull-Request: #958
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Thu, 4 Dec 2014 03:29:24 +0000 (22:29 -0500)]
Merge: Graphics related fixes
Pull-Request: #957
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Thu, 4 Dec 2014 03:29:20 +0000 (22:29 -0500)]
Merge: Regex subexpressions
Pull-Request: #956
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Thu, 4 Dec 2014 03:29:15 +0000 (22:29 -0500)]
Merge: Fallback doc
In order to fill the descriptions on the [overview page], add a way for a mproject or a mgroup to use the mdoc of other entities.
[overview page]: http://nitlanguage.org/doc/stdlib/
Pull-Request: #954
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Thu, 4 Dec 2014 03:29:02 +0000 (22:29 -0500)]
Merge: Partial wrapper for SDL 2.0 and SDL_image 2.0
This PR establishes the structure of the SDL 2.0 project which can be completed as needed with the development of games and frameworks.
Some more subsystems should be wrapped, and most should be completed. The event subsystem is implemented partially as I'm not sure of the form that it will take in the future frameworks. The audio and the ttf subsystems could be useful. Some other subsystems should probably not be wrapped: the platform compatibility layers offers mostly the same features as the Nit standard library, and the OpenGL functions are already covered by other Nit modules.
Pull-Request: #950
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Wed, 3 Dec 2014 19:36:38 +0000 (14:36 -0500)]
model: document the `assert isa MClassType`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 21 Nov 2014 21:40:13 +0000 (16:40 -0500)]
tests: add base_formal_subtype.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 21 Nov 2014 18:57:42 +0000 (13:57 -0500)]
model: improve MType::is_subtype for formal types
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 21 Nov 2014 14:18:09 +0000 (09:18 -0500)]
model: add MType::lookup_fixed
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 3 Dec 2014 15:33:02 +0000 (10:33 -0500)]
lib/stream: document `read_line` and `append_line_to`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 2 Dec 2014 06:18:23 +0000 (01:18 -0500)]
lib/stream: add IStream::read_lines
Signed-off-by: Jean Privat <jean@pryen.org>
read_lines
Jean Privat [Wed, 3 Dec 2014 15:16:13 +0000 (10:16 -0500)]
lib/string: add `chomp`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 3 Dec 2014 14:30:25 +0000 (09:30 -0500)]
tests: update sav/error_redef_alt*.res
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Tue, 2 Dec 2014 15:10:02 +0000 (10:10 -0500)]
src/location: add doc to `Location::column_start`
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 2 Dec 2014 14:56:26 +0000 (09:56 -0500)]
tests: add glslValidator test
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 1 Dec 2014 22:46:25 +0000 (17:46 -0500)]
lib/glesv2: declare the annotations for shader code
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 1 Dec 2014 20:38:56 +0000 (15:38 -0500)]
frontend: intro glsl_validation to validate shader code in Nit programs
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 1 Dec 2014 20:38:12 +0000 (15:38 -0500)]
src/location: support calling `colored_line` when `start_column == 0`
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean-Christophe Beaupré [Tue, 2 Dec 2014 19:42:01 +0000 (14:42 -0500)]
neo_doxygen: Fix a forgotten warning.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Alexis Laferrière [Tue, 2 Dec 2014 21:32:59 +0000 (16:32 -0500)]
tests: clean up debug output
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 2 Dec 2014 21:32:21 +0000 (16:32 -0500)]
tests: fix savs for test_c.nit
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 2 Dec 2014 21:28:56 +0000 (16:28 -0500)]
lib/c: add doc on `NATIVE` and `native_array`
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 2 Dec 2014 21:26:53 +0000 (16:26 -0500)]
lib/re: prevent allocating `native_match` only to free it
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Tue, 2 Dec 2014 20:41:12 +0000 (15:41 -0500)]
Merge: neo_doxygen: Fix the handling of the inner classes and of the root namespace
* Make the generation of the implicit modules more robust. Do not try to guess the namespace of the classes. Instead, wait to receive enough of explicit information to make a decision. This permits to list class in the root namespace and inner classes in the good module.
* List classes in the root namespace.
* Enhance the presentation of the inner classes so Nitdoc list them as part of their outer class.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Pull-Request: #955
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 2 Dec 2014 20:40:29 +0000 (15:40 -0500)]
Merge: Some optimizations in model and nitg
http://gresil.org/jenkins/job/nit%20bootstrap/PerfPublisher/ shows a slow degratation of the performances.
So, thanks to valgrind, I spotted 3 hot points and tried to optimize them.
The overall gain is 14% in nitg compiling nitg. Not bad.
Pull-Request: #949
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>