nit.git
9 years agolib/nitcorn: fix a typo
Alexandre Terrasa [Fri, 12 Dec 2014 01:33:28 +0000 (20:33 -0500)]
lib/nitcorn: fix a typo

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

9 years agoMerge: nitcc: remove warnings and improve doc
Jean Privat [Fri, 12 Dec 2014 01:14:47 +0000 (20:14 -0500)]
Merge: nitcc: remove warnings and improve doc

Pull-Request: #998
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

9 years agoMerge: mnit_simple: assets_and_resources give non null things.
Jean Privat [Fri, 12 Dec 2014 01:14:39 +0000 (20:14 -0500)]
Merge: mnit_simple: assets_and_resources give non null things.

remove 3 real warnings (not advices)

Pull-Request: #997
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Frédéric Vachon <fredvac@gmail.com>

9 years agoMerge: nitunit: compile test-suite only once
Jean Privat [Fri, 12 Dec 2014 01:14:36 +0000 (20:14 -0500)]
Merge: nitunit: compile test-suite only once

Thanks to this PR, all the test-cases in a test-suite are compiled in one file.
Nitunit then uses an argument to select which test-case to execute.

This allows a BIG gain of performances for large test-suites.

Special thanks @privat for the idea.

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

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

9 years agoMerge: Lib fix warnings
Jean Privat [Fri, 12 Dec 2014 01:14:11 +0000 (20:14 -0500)]
Merge: Lib fix warnings

Fixes some warnings in lib/

Changes
* missing documentation
* useless private declarations
* old inits
* unused local vars (@R4PaSs ;))

Ping:
@xymus: a_star, mpi, mpd, json, bucketed_game
@R4PaSs: buffered_ropes, base64, crypto
@privat: c, combinations, console, dummy_array

Pas mal sur que ça va pas passer les tests à cause des signatures de init magiques qui vont changer...

Pull-Request: #990
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: 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 agonitcc: remove warnings and improve doc
Jean Privat [Thu, 11 Dec 2014 20:47:34 +0000 (15:47 -0500)]
nitcc: remove warnings and improve doc

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

9 years agonitdoc: Factorize filtering logic.
Jean-Christophe Beaupré [Thu, 11 Dec 2014 16:50:31 +0000 (11:50 -0500)]
nitdoc: Factorize filtering logic.

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

9 years agonitdoc: Add a property group for attributes.
Jean-Christophe Beaupré [Thu, 11 Dec 2014 16:56:21 +0000 (11:56 -0500)]
nitdoc: Add a property group for attributes.

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

9 years agonitdoc: Factorize property grouping logic.
Jean-Christophe Beaupré [Thu, 11 Dec 2014 16:54:34 +0000 (11:54 -0500)]
nitdoc: Factorize property grouping logic.

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

9 years agobash_completion: switch nitg and nitc
Jean Privat [Thu, 11 Dec 2014 03:39:22 +0000 (22:39 -0500)]
bash_completion: switch nitg and nitc

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

9 years agobenchmarks: use nitc instead of nitg
Jean Privat [Thu, 11 Dec 2014 03:30:08 +0000 (22:30 -0500)]
benchmarks: use nitc instead of nitg

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

9 years agocontrib&examples: Makefiles use nitc instead of nitg
Jean Privat [Thu, 11 Dec 2014 03:25:10 +0000 (22:25 -0500)]
contrib&examples: Makefiles use nitc instead of nitg

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

9 years agobin: add compatibility shell script for nitg
Jean Privat [Thu, 11 Dec 2014 03:21:54 +0000 (22:21 -0500)]
bin: add compatibility shell script for nitg

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

9 years agosrc: update mkcsrc
Jean Privat [Thu, 11 Dec 2014 02:51:40 +0000 (21:51 -0500)]
src: update mkcsrc

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

9 years agoman: rename nitg to nitc
Jean Privat [Thu, 11 Dec 2014 02:49:26 +0000 (21:49 -0500)]
man: rename nitg to nitc

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

9 years agotests: update testing of nitc.nit
Jean Privat [Thu, 11 Dec 2014 02:44:58 +0000 (21:44 -0500)]
tests: update testing of nitc.nit

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

squash-test-rename

9 years agotests: use binary nitc
Jean Privat [Thu, 11 Dec 2014 02:41:08 +0000 (21:41 -0500)]
tests: use binary nitc

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

9 years agoMake: build nitc instead of nitg
Jean Privat [Thu, 11 Dec 2014 02:34:58 +0000 (21:34 -0500)]
Make: build nitc instead of nitg

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

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: rename nitg to nitc
Jean Privat [Thu, 11 Dec 2014 02:32:13 +0000 (21:32 -0500)]
src: rename nitg to nitc

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

9 years agobin: remove shell script nitc
Jean Privat [Thu, 11 Dec 2014 02:51:09 +0000 (21:51 -0500)]
bin: remove shell script nitc

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

9 years agolib/bucketed_game: fixes useless type declaration
Alexandre Terrasa [Wed, 10 Dec 2014 21:27:17 +0000 (16:27 -0500)]
lib/bucketed_game: fixes useless type declaration

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

9 years agolib/dummy_array: fixes documentation warnings
Alexandre Terrasa [Wed, 10 Dec 2014 20:29:07 +0000 (15:29 -0500)]
lib/dummy_array: fixes documentation warnings

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

9 years agolib/dummy_array: fixes old inits
Alexandre Terrasa [Wed, 10 Dec 2014 20:28:54 +0000 (15:28 -0500)]
lib/dummy_array: fixes old inits

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

9 years agolib/csv: fixes documentation warnings
Alexandre Terrasa [Wed, 10 Dec 2014 20:23:05 +0000 (15:23 -0500)]
lib/csv: fixes documentation warnings

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

9 years agolib/crypto: fixes unused local variables
Alexandre Terrasa [Wed, 10 Dec 2014 20:20:56 +0000 (15:20 -0500)]
lib/crypto: fixes unused local variables

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

9 years agolib/console: fixes old inits
Alexandre Terrasa [Wed, 10 Dec 2014 20:14:51 +0000 (15:14 -0500)]
lib/console: fixes old inits

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

9 years agolib/combinations: fixes useless private declarations
Alexandre Terrasa [Wed, 10 Dec 2014 20:13:48 +0000 (15:13 -0500)]
lib/combinations: fixes useless private declarations

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

9 years agolib/c: updates tests
Alexandre Terrasa [Thu, 11 Dec 2014 02:08:15 +0000 (21:08 -0500)]
lib/c: updates tests

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

9 years agomnit_simple: assets_and_resources give non null things.
Jean Privat [Thu, 11 Dec 2014 02:03:03 +0000 (21:03 -0500)]
mnit_simple: assets_and_resources give non null things.

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

9 years agonitunit: updates tests
Alexandre Terrasa [Thu, 11 Dec 2014 00:46:44 +0000 (19:46 -0500)]
nitunit: updates tests

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

9 years agonitunit: compile test-suite once
Alexandre Terrasa [Thu, 11 Dec 2014 00:46:31 +0000 (19:46 -0500)]
nitunit: compile test-suite once

Nitunit then uses an argument to select which test-case to execute.

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

9 years agotest_suite: fixes documentation warnings
Alexandre Terrasa [Thu, 11 Dec 2014 00:44:36 +0000 (19:44 -0500)]
test_suite: fixes documentation warnings

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

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 agolib/c: fixes old inits
Alexandre Terrasa [Wed, 10 Dec 2014 20:12:31 +0000 (15:12 -0500)]
lib/c: fixes old inits

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

9 years agolib/c: fixes documentation warnings
Alexandre Terrasa [Wed, 10 Dec 2014 20:12:21 +0000 (15:12 -0500)]
lib/c: fixes documentation warnings

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

9 years agolib/bucketed_game: fixes old inits
Alexandre Terrasa [Wed, 10 Dec 2014 20:07:10 +0000 (15:07 -0500)]
lib/bucketed_game: fixes old inits

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

9 years agolib/bucketed_game: fixes documentation warnings
Alexandre Terrasa [Wed, 10 Dec 2014 23:19:53 +0000 (18:19 -0500)]
lib/bucketed_game: fixes documentation warnings

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

9 years agolib/base64: fixes documentation warnings.
Alexandre Terrasa [Wed, 10 Dec 2014 19:53:26 +0000 (14:53 -0500)]
lib/base64: fixes documentation warnings.

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

9 years agolib/a_star: fixes useless type declarations
Alexandre Terrasa [Wed, 10 Dec 2014 19:50:28 +0000 (14:50 -0500)]
lib/a_star: fixes useless type declarations

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

9 years agolib/buffered_ropes: fixes useless private declarations.
Alexandre Terrasa [Wed, 10 Dec 2014 19:49:31 +0000 (14:49 -0500)]
lib/buffered_ropes: fixes useless private declarations.

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

9 years agolib/buffered_ropes: fixes unused local variables.
Alexandre Terrasa [Wed, 10 Dec 2014 19:49:05 +0000 (14:49 -0500)]
lib/buffered_ropes: fixes unused local variables.

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

9 years agolib/buffered_ropes: fixes old inits.
Alexandre Terrasa [Wed, 10 Dec 2014 19:48:42 +0000 (14:48 -0500)]
lib/buffered_ropes: fixes old inits.

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

9 years agolib/github_api: fixes old inits.
Alexandre Terrasa [Wed, 10 Dec 2014 19:45:00 +0000 (14:45 -0500)]
lib/github_api: fixes old inits.

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

9 years agolib/json_serialization: fixes documentation warnings
Alexandre Terrasa [Wed, 10 Dec 2014 21:50:48 +0000 (16:50 -0500)]
lib/json_serialization: fixes documentation warnings

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

9 years agolib/json_serialization: fixes old inits
Alexandre Terrasa [Wed, 10 Dec 2014 21:49:11 +0000 (16:49 -0500)]
lib/json_serialization: fixes old inits

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 agolib/mpd: fixes documentation warnings
Alexandre Terrasa [Wed, 10 Dec 2014 19:26:31 +0000 (14:26 -0500)]
lib/mpd: fixes documentation warnings

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

9 years agotests: Updated sav for two tests whose behaviour have been corrected with the previou...
Lucas Bajolet [Tue, 9 Dec 2014 18:35:18 +0000 (13:35 -0500)]
tests: Updated sav for two tests whose behaviour have been corrected with the previous commits

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

9 years agosys: Force the buffering of stdin and stdout as Line-buffered
Lucas Bajolet [Mon, 8 Dec 2014 16:14:16 +0000 (11:14 -0500)]
sys: Force the buffering of stdin and stdout as Line-buffered

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

9 years agolib/standard/file: Added a way to change the buffering for a specified stream
Lucas Bajolet [Wed, 10 Dec 2014 19:24:46 +0000 (14:24 -0500)]
lib/standard/file: Added a way to change the buffering for a specified stream

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

9 years agoniti: Added new module for correct handling of primitive types in the Interpreter.
Lucas Bajolet [Fri, 5 Dec 2014 20:15:12 +0000 (15:15 -0500)]
niti: Added new module for correct handling of primitive types in the Interpreter.

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

9 years agolib/standard/file: Auto-flush write streams
Lucas Bajolet [Thu, 4 Dec 2014 16:52:31 +0000 (11:52 -0500)]
lib/standard/file: Auto-flush write streams

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

9 years agolib/standard: Got rid of FDStream, reified under FStream
Lucas Bajolet [Wed, 10 Dec 2014 19:24:01 +0000 (14:24 -0500)]
lib/standard: Got rid of FDStream, reified under FStream

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

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 agolib/mpi: fixes documentation warnings
Alexandre Terrasa [Wed, 10 Dec 2014 18:22:21 +0000 (13:22 -0500)]
lib/mpi: fixes documentation warnings

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

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 agolib/a_star: rename `Path` to `AStarPath`
Alexis Laferrière [Tue, 9 Dec 2014 14:42:41 +0000 (09:42 -0500)]
lib/a_star: rename `Path` to `AStarPath`

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

9 years agolib/file: revamp API with `Path` and a nity `FileStat`
Alexis Laferrière [Mon, 8 Dec 2014 19:51:37 +0000 (14:51 -0500)]
lib/file: revamp API with `Path` and a nity `FileStat`

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

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>