nit.git
9 years agoMerge: Objective-C FFI with basic wrapper for the Cocoa, AppKit and Foundation kits...
Jean Privat [Fri, 12 Dec 2014 01:13:40 +0000 (20:13 -0500)]
Merge: Objective-C FFI with basic wrapper for the Cocoa, AppKit and Foundation kits/frameworks

Notes:
* Tweaks to `tests.sh` enables testing some programs on OS X only.
* This is the foundation for more PRs.
* Most cocoa tests are UNDEFINED because they use log. I'll add more tests with simple strings in the future.
* More tests for the FFI are needed.

Pull-Request: #986
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

9 years agoMerge: Removes deprecated uses of `MModule::in_nesting`
Jean Privat [Thu, 11 Dec 2014 10:10:53 +0000 (05:10 -0500)]
Merge: Removes deprecated uses of `MModule::in_nesting`

Fixes #721

Waiting for jenkins to display demos...

Pull-Request: #995
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Jean Privat <jean@pryen.org>

9 years agoMerge: nitdoc: displays full namespace in MModule::tpl_declaration.
Jean Privat [Thu, 11 Dec 2014 10:10:51 +0000 (05:10 -0500)]
Merge: nitdoc: displays full namespace in MModule::tpl_declaration.

Fixes #693

Pull-Request: #994
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

9 years agoMerge: Split nitpretty
Jean Privat [Thu, 11 Dec 2014 10:10:36 +0000 (05:10 -0500)]
Merge: Split nitpretty

Split the nitpretty module into lib and tool

Fixes #836

Pull-Request: #993
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Jean Privat <jean@pryen.org>

9 years agoMerge: nitdoc: displays introduction module in property page.
Jean Privat [Thu, 11 Dec 2014 10:10:33 +0000 (05:10 -0500)]
Merge: nitdoc: displays introduction module in property page.

Fixes #667

Les démos seront dipsonibles quand Jenkins sortira de sa stupeur:

* Démo sur stdlib: <http://gresil.org/jenkins/job/CI-nitdoc/ws/doc/stdlib/index.html>
* Démo sur nitc: <http://gresil.org/jenkins/job/CI-nitdoc/ws/doc/nitc/index.html>

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

Pull-Request: #992
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Jean Privat <jean@pryen.org>

9 years agoMerge: nitdoc: makes quick-search field aware of paste from mouse.
Jean Privat [Thu, 11 Dec 2014 04:16:44 +0000 (23:16 -0500)]
Merge: nitdoc: makes quick-search field aware of paste from mouse.

Fixes #666

Démo sur stdlib: <http://gresil.org/jenkins/job/CI-nitdoc/ws/doc/stdlib/index.html>
Démo sur nitc: <http://gresil.org/jenkins/job/CI-nitdoc/ws/doc/nitc/index.html>

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

Pull-Request: #988
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

9 years agoMerge: More rosettacode
Jean Privat [Thu, 11 Dec 2014 04:16:37 +0000 (23:16 -0500)]
Merge: More rosettacode

Cleanup of #977 + tests

Close #977

Pull-Request: #987
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agoMerge: modelize: adapt inherited signatures to use local names in error messages
Jean Privat [Thu, 11 Dec 2014 04:16:26 +0000 (23:16 -0500)]
Merge: modelize: adapt inherited signatures to use local names in error messages

Pull-Request: #984
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

9 years agoMerge: Improve poset to dot
Jean Privat [Thu, 11 Dec 2014 04:16:23 +0000 (23:16 -0500)]
Merge: Improve poset to dot

Pull-Request: #983
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

9 years agoMerge: Pass all tests in nitvm
Jean Privat [Thu, 11 Dec 2014 04:16:07 +0000 (23:16 -0500)]
Merge: Pass all tests in nitvm

Theses two commits allow the nitvm to pass the same tests than the interpreter.

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

9 years agoMerge: csv: Add features
Jean Privat [Thu, 11 Dec 2014 04:15:50 +0000 (23:15 -0500)]
Merge: csv: Add features

Add the following features:

* Escaping.
* Customization of the CSV format.
* A reader.

Fix #969.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

Pull-Request: #981
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agoMerge: nitdoc: make generated HTML easier to read/diff
Jean Privat [Thu, 11 Dec 2014 04:15:38 +0000 (23:15 -0500)]
Merge: nitdoc: make generated HTML easier to read/diff

Just adding some `
` in generated HTML code.

Pull-Request: #964
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

9 years agosrc/pretty: add usage example in DocUnit
Alexandre Terrasa [Wed, 10 Dec 2014 23:39:04 +0000 (18:39 -0500)]
src/pretty: add usage example in DocUnit

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

9 years agonitpretty: move documentation to man page.
Alexandre Terrasa [Wed, 10 Dec 2014 23:38:35 +0000 (18:38 -0500)]
nitpretty: move documentation to man page.

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

9 years agotests: update error messages in some sav/
Jean Privat [Wed, 10 Dec 2014 21:22:38 +0000 (16:22 -0500)]
tests: update error messages in some sav/

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

9 years agonitvm: Bug fix in subtyping test
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>

9 years agonitvm: Fixing a bug in superclasses ordering
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>

9 years agotests: add os.skip to README.md
Alexis Laferrière [Wed, 10 Dec 2014 15:06:19 +0000 (10:06 -0500)]
tests: add os.skip to README.md

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

9 years agonitni: add indirection to use `MModule::c_name` without all the compilers
Alexis Laferrière [Wed, 10 Dec 2014 00:36:55 +0000 (19:36 -0500)]
nitni: add indirection to use `MModule::c_name` without all the compilers

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

9 years agotests: add OS skip list for Linux and cocoa
Alexis Laferrière [Tue, 9 Dec 2014 23:06:39 +0000 (18:06 -0500)]
tests: add OS skip list for Linux and cocoa

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

9 years agotests: add option to skip tests per OS
Alexis Laferrière [Tue, 9 Dec 2014 23:02:15 +0000 (18:02 -0500)]
tests: add option to skip tests per OS

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

9 years agolib/cocoa: intro an example with extern Objective-C classes
Alexis Laferrière [Tue, 9 Dec 2014 22:30:26 +0000 (17:30 -0500)]
lib/cocoa: intro an example with extern Objective-C classes

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

9 years agolib/cocoa: intro message box example in cocoa
Alexis Laferrière [Thu, 4 Dec 2014 00:16:34 +0000 (19:16 -0500)]
lib/cocoa: intro message box example in cocoa

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

9 years agolib/cocoa: intro the Hello World example in Cocoa
Alexis Laferrière [Wed, 27 Aug 2014 22:57:50 +0000 (18:57 -0400)]
lib/cocoa: intro the Hello World example in Cocoa

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

9 years agolib/cocoa: intro the cocoa library to wrap cocoa, foundation and app_kit
Alexis Laferrière [Tue, 2 Dec 2014 22:47:56 +0000 (17:47 -0500)]
lib/cocoa: intro the cocoa library to wrap cocoa, foundation and app_kit

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

9 years agotests: add sav/hailstone.res and sav/hamming_number.res
Jean Privat [Wed, 10 Dec 2014 01:56:40 +0000 (20:56 -0500)]
tests: add sav/hailstone.res and sav/hamming_number.res

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

9 years agoadd two problems rom rosettacode
amineorion [Fri, 5 Dec 2014 21:37:30 +0000 (22:37 +0100)]
add two problems rom rosettacode

Signed-off-by: amineorion <amineorion@gmail.com>

9 years agomisc: trigger for extern code blocks of Java, C++ and C are more tolerant
Alexis Laferrière [Wed, 3 Dec 2014 23:57:34 +0000 (18:57 -0500)]
misc: trigger for extern code blocks of Java, C++ and C are more tolerant

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

9 years agomisc: vim syntax recognize the Objective-C syntax
Alexis Laferrière [Wed, 3 Dec 2014 22:07:12 +0000 (17:07 -0500)]
misc: vim syntax recognize the Objective-C syntax

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

9 years agotests: add a general test for Objective-C without a framework
Alexis Laferrière [Wed, 3 Dec 2014 22:06:13 +0000 (17:06 -0500)]
tests: add a general test for Objective-C without a framework

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

9 years agoObjective-C FFI: intro the FFI with Objective-C
Alexis Laferrière [Wed, 27 Aug 2014 22:56:32 +0000 (18:56 -0400)]
Objective-C FFI: intro the FFI with Objective-C

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

9 years agonitpretty: fixes documentation warnings.
Alexandre Terrasa [Tue, 9 Dec 2014 22:51:31 +0000 (17:51 -0500)]
nitpretty: fixes documentation warnings.

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

9 years agonitpretty: splits nitpretty into two modules
Alexandre Terrasa [Tue, 9 Dec 2014 22:47:55 +0000 (17:47 -0500)]
nitpretty: splits nitpretty into two modules

* module `src/pretty.nit`: the lib
* module `src/nitpretty.nit`: the tool

Fixes #836

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

9 years agonitdoc: displays full namespace in MModule::tpl_declaration.
Alexandre Terrasa [Tue, 9 Dec 2014 22:31:44 +0000 (17:31 -0500)]
nitdoc: displays full namespace in MModule::tpl_declaration.

Fixes #693

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

9 years agonitdoc: displays introduction module in property page.
Alexandre Terrasa [Tue, 9 Dec 2014 22:26:18 +0000 (17:26 -0500)]
nitdoc: displays introduction module in property page.

Fixes #667

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

9 years agomodel: removes deprecated, now unused, method MModule::in_nesting
Alexandre Terrasa [Tue, 9 Dec 2014 21:48:23 +0000 (16:48 -0500)]
model: removes deprecated, now unused, method MModule::in_nesting

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

9 years agosrc: removes remaining use of deprecated method MModule::in_nesting
Alexandre Terrasa [Tue, 9 Dec 2014 21:47:37 +0000 (16:47 -0500)]
src: removes remaining use of deprecated method MModule::in_nesting

Fixes #721

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

9 years agomodel_utils: creates a replacement for MModule::in_nesting.
Alexandre Terrasa [Tue, 9 Dec 2014 21:45:32 +0000 (16:45 -0500)]
model_utils: creates a replacement for MModule::in_nesting.

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

9 years agolib/poset: write_dot distinguise nodes with the same `to_s`
Jean Privat [Tue, 9 Dec 2014 20:54:05 +0000 (15:54 -0500)]
lib/poset: write_dot distinguise nodes with the same `to_s`

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

9 years agonitdoc: makes quick-search field aware of paste from mouse.
Alexandre Terrasa [Tue, 9 Dec 2014 20:27:35 +0000 (15:27 -0500)]
nitdoc: makes quick-search field aware of paste from mouse.

Fixes #666

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

9 years agomodelize: adapt inherited signature to use local names in error messages.
Jean Privat [Tue, 9 Dec 2014 19:10:18 +0000 (14:10 -0500)]
modelize: adapt inherited signature to use local names in error messages.

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

9 years agolib/poset: fix show_dot
Jean Privat [Tue, 9 Dec 2014 19:06:37 +0000 (14:06 -0500)]
lib/poset: fix show_dot

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

9 years agocsv: Add a reader.
Jean-Christophe Beaupré [Tue, 9 Dec 2014 17:15:05 +0000 (12:15 -0500)]
csv: Add a reader.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agocsv: Allow output customization.
Jean-Christophe Beaupré [Tue, 9 Dec 2014 17:31:59 +0000 (12:31 -0500)]
csv: Allow output customization.

Also, escape cells when needed.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agocsv: Document `CsvDocument`.
Jean-Christophe Beaupré [Tue, 9 Dec 2014 16:50:12 +0000 (11:50 -0500)]
csv: Document `CsvDocument`.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agonitdoc: makes generated html easier to read/diff
Alexandre Terrasa [Tue, 9 Dec 2014 16:49:18 +0000 (11:49 -0500)]
nitdoc: makes generated html easier to read/diff

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

9 years agocsv: Clean `CsvDocument` a little bit.
Jean-Christophe Beaupré [Tue, 9 Dec 2014 16:45:16 +0000 (11:45 -0500)]
csv: Clean `CsvDocument` a little bit.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agocsv: Move the library to its own directory.
Jean-Christophe Beaupré [Mon, 8 Dec 2014 20:42:23 +0000 (15:42 -0500)]
csv: Move the library to its own directory.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoMerge: Graphics related features, fixes and doc
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>

9 years agoMerge: ropes: Fix some bugs in `RopeBuffer` (again)
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>

9 years agoMerge: Implementation of some mechanisms with direct access in nitvm
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>

9 years agoMerge: improved loader and nitls
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>

9 years agocontrib/online_ide: intrude loader instead of modelbuilder
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>

9 years agonitls: stop intruding loader
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>

9 years agoloader: add a public itentified_files attribute
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>

9 years agoloader: make some entities public and improve doc
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>

9 years agoMerge: Some niti cleaning
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>

9 years agolib/glesv2: wrap more features to query informations on attributes and uniforms
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>

9 years agolib/glesv2: improve doc of `glesv2`
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>

9 years agolib/glesv2: fix and simplify the implementation of `GLShader::source`
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>

9 years agolib/sdl: add `is_[left|right|middle|wheel]_button`
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>

9 years agolib/egl: use hex literals instead of `String::to_hex`
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>

9 years agoropes: Fix `RopeBuffer.reset`.
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>

9 years agoropes: Fix the behavior of `RopeBuffer.clear` when used with `to_s`.
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>

9 years agoropes: Fix `RopeBuffer.reverse`.
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>

9 years agoropes: Fix a buffer overflow in `RopeBuffer.add`.
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>

9 years agoniti: fix some comments
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>

9 years agoniti: use `write_attribute` in old path of initializers
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>

9 years agoniti: use PrimitiveInstance for `null_instance`
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>

9 years agoman: update nitls.md
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>

9 years agotests: update sav/nitls
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>

9 years agonitls: look at files of a directories when they are not groups (eg lib/ or contrib/)
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>

9 years agonitls: visit group for relevant outputs
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>

9 years agonitls: use tree-output if one of the argument is a group
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>

9 years agonitls: reuse the entity sorter for all output
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>

9 years agonitls: work on . by default
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>

9 years agoloader: add visit_group
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>

9 years agoloader: identify_file use -I for names without path
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>

9 years agoloader: identify_file does not print errors
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>

9 years agonitls: document projects
Jean Privat [Thu, 4 Dec 2014 11:33:39 +0000 (06:33 -0500)]
nitls: document projects

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

9 years agonitls: correctly sort by names with --tree
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>

9 years agonitls: display dependancies if -d is given
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>

9 years agonitls: --tree do not show uninterresting groups
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>

9 years agoloader: add MGroup::is_interesting
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>

9 years agonitls: use color when listing things
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>

9 years agonitls: make -d and -r usable together
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>

9 years agonitls: shows the synopsys of modules and groups by default
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>

9 years agonitls: reuse ProjTree::display for the simple list
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>

9 years agoloader: `load_module` no mode automatically computes the importation
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>

9 years agoniti: use get_mmodule_by_name instead of the low-level load_module
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>

9 years agoniti: PrimitiveInstance::val can be null
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>

9 years agonitvm: Subtyping test is now implemented with direct access
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>

9 years agonitvm: Method dispatch is implemented with direct access
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>

9 years agonitvm: Migrating some init to new-style constructors and fixe a missing doc warning
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>

9 years agoniti: reduce the direct usage on the current frame
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>

9 years agoniti: remove last warnings by documenting two methods
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>

9 years agoniti: implements `String::files`
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>

9 years agolib/file: `String::files` return an Array because it is an easier primitive type...
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>

9 years agoniti: direclty use `Array::copy_to` to implements `NativeArray::copy_to`
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>

9 years agolib/array: make `copy_to` public
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>