Jean Privat [Wed, 16 Oct 2013 04:44:59 +0000 (00:44 -0400)]
nitcc: introduce nitcc
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 16 Oct 2013 04:17:42 +0000 (00:17 -0400)]
test: add test_set.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 16 Oct 2013 04:16:31 +0000 (00:16 -0400)]
lib: redef Set#==
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 16 Oct 2013 04:53:04 +0000 (00:53 -0400)]
nitc: remove has_all from partialorder
Jean Privat [Wed, 16 Oct 2013 00:51:33 +0000 (20:51 -0400)]
lib: add Collection::has_all
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 16 Oct 2013 01:20:24 +0000 (21:20 -0400)]
lib: add String::escape_more_to_c
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 26 Sep 2013 02:32:57 +0000 (22:32 -0400)]
move unescape_nit to stdlib
Jean Privat [Wed, 9 Oct 2013 19:18:42 +0000 (15:18 -0400)]
sqlite: use include <>, not include ""
Jean Privat [Wed, 9 Oct 2013 19:18:26 +0000 (15:18 -0400)]
nitgg: generate filenames with less potential conflicts
Signed-off-by: Jean Privat <jean@pryen.org>
Lucas Bajolet [Wed, 9 Oct 2013 00:55:35 +0000 (20:55 -0400)]
tests: add base_super_linext2 for super-call on inherited method
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 9 Oct 2013 00:52:39 +0000 (20:52 -0400)]
nitc: fix super-call on inherited method
Signed-off-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Sun, 29 Sep 2013 04:35:20 +0000 (00:35 -0400)]
contrib: added wiringPi wrapper
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sun, 29 Sep 2013 03:10:48 +0000 (23:10 -0400)]
lib: fixed bad mallocs in socket
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Lucas Bajolet [Fri, 20 Sep 2013 14:18:36 +0000 (10:18 -0400)]
nitg/niti: Fixed cast problem when using object_id on Bool and Char classes, added unit test
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Thu, 19 Sep 2013 20:48:37 +0000 (16:48 -0400)]
Nitg: Fixed bug introduced in previous patch when removing the String constructors
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Thu, 12 Sep 2013 21:54:30 +0000 (17:54 -0400)]
Merge remote-tracking branch 'alexandre/mmnitdoc'
Alexandre Terrasa [Thu, 12 Sep 2013 21:30:17 +0000 (17:30 -0400)]
ni_nitdoc: fixed <li> tags style in formatted comments
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Thu, 12 Sep 2013 19:26:16 +0000 (15:26 -0400)]
ni_nitdoc: Use Sorensen-Dice coefficient to sort QuickSearch results
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Thu, 12 Sep 2013 05:26:20 +0000 (01:26 -0400)]
ni_nitdoc: moved QuickSearch js to it's own file
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 11 Sep 2013 19:51:20 +0000 (15:51 -0400)]
ni_nitdoc: full screen display and better scrolling
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Wed, 11 Sep 2013 12:50:55 +0000 (08:50 -0400)]
tests: add sav/ for mixim-modules on nitg-s
Now that the super in nitg-s is polymorph.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 10 Sep 2013 17:50:53 +0000 (13:50 -0400)]
Merge remote-tracking branch 'alexandre/supercalls'
Alexandre Terrasa [Tue, 10 Sep 2013 15:58:48 +0000 (11:58 -0400)]
ni_nitdoc: removed top levels properties from property column
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Tue, 10 Sep 2013 14:45:00 +0000 (10:45 -0400)]
nitg: Implemented polymorphic super calls for nitg-s and nitg-e
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Mon, 9 Sep 2013 20:29:01 +0000 (16:29 -0400)]
Merge remote-tracking branch 'alexandre/NIT_DIR'
Alexandre Terrasa [Mon, 9 Sep 2013 17:52:53 +0000 (13:52 -0400)]
nitg: fixed conflicting module error when env var NIT_DIR is specified and compiling in /bin
Fixes issue #68:
NIT_DIR env var creates module conflicts when compiling in /nit dir
With NIT_DIR env var setted to /home/ME/nit/, when I compile from /nit/bin like:
nitg something.nit
I get a compile error saying that there is a module conflict between /home/ME/nit/lib/module1.nit and ../lib/module1.nit.
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Mon, 9 Sep 2013 14:51:16 +0000 (10:51 -0400)]
ropes: do not use String.with_native
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 9 Sep 2013 17:09:51 +0000 (13:09 -0400)]
Merge remote-tracking branch 'lucas/ropes'
Conflicts:
lib/standard/standard.nit
Jean Privat [Mon, 9 Sep 2013 17:09:14 +0000 (13:09 -0400)]
Merge remote-tracking branch 'lucas/variadic_fix'
Lucas Bajolet [Wed, 4 Sep 2013 15:31:16 +0000 (11:31 -0400)]
engines: Unit test for super on varadic functions
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Thu, 5 Sep 2013 18:49:05 +0000 (14:49 -0400)]
nitg: Fixes for variadic functions, splitted the call function into subfunctions and avoids calling varagize when super on a variadic function.
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Wed, 4 Sep 2013 17:16:44 +0000 (13:16 -0400)]
Merge branch 'mixinmodule'
Jean Privat [Wed, 4 Sep 2013 17:16:38 +0000 (13:16 -0400)]
Merge branch 'chdir'
Jean Privat [Wed, 4 Sep 2013 14:08:11 +0000 (10:08 -0400)]
nitg: add option -m for mix-in modules
because super is not yet polymorph in nitg-s, the test nitg_args6 is
not saved
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 4 Sep 2013 09:31:13 +0000 (05:31 -0400)]
tests: test -m with nit.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 4 Sep 2013 09:28:27 +0000 (05:28 -0400)]
niti: add option -m for mix-in modules
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 3 Sep 2013 18:09:24 +0000 (14:09 -0400)]
niti: implements file_chdir and file_getcwd
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 3 Sep 2013 18:08:54 +0000 (14:08 -0400)]
file: add String::chdir
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 4 Sep 2013 13:50:59 +0000 (09:50 -0400)]
lexer: distinguish keywords 'package' and 'module'
Signed-off-by: Jean Privat <jean@pryen.org>
Lucas Bajolet [Wed, 4 Sep 2013 13:49:25 +0000 (09:49 -0400)]
niti: Fix for variadic functions
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Thu, 11 Jul 2013 09:27:56 +0000 (11:27 +0200)]
rename 'package' to 'module'
Signed-off-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Tue, 3 Sep 2013 20:24:56 +0000 (16:24 -0400)]
nitg-s/e: moved properties selection outside of layout builders.
The property selection is now made by the compiler rather than the layout builder
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Lucas Bajolet [Fri, 30 Aug 2013 18:37:46 +0000 (14:37 -0400)]
Stdlib: Added unit tests for Ropes
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Fri, 30 Aug 2013 18:37:27 +0000 (14:37 -0400)]
Stdlib: Ropes implementation, supports Mutable and Immutable versions
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Alexandre Terrasa [Tue, 3 Sep 2013 18:17:16 +0000 (14:17 -0400)]
modelize_property: removed useless super_init var
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Tue, 3 Sep 2013 15:34:04 +0000 (11:34 -0400)]
file: add getcwd
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 3 Sep 2013 15:40:07 +0000 (11:40 -0400)]
file: fix diname behavior when result is "/"
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 3 Sep 2013 17:44:12 +0000 (13:44 -0400)]
tests: update nitx
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 3 Sep 2013 17:43:43 +0000 (13:43 -0400)]
nitx: do not crash if nmodule.n_moduledecl is null
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 3 Sep 2013 17:43:34 +0000 (13:43 -0400)]
nitx: nitx_phase is private, because NitxPhase is private
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 3 Sep 2013 16:10:55 +0000 (12:10 -0400)]
Merge remote-tracking branch 'alexandre/nitx'
Conflicts:
src/nitx.nit
Jean Privat [Fri, 30 Aug 2013 21:07:58 +0000 (17:07 -0400)]
Merge branch 'mmnitdoc'
Jean Privat [Fri, 30 Aug 2013 21:06:55 +0000 (17:06 -0400)]
ni_nitdoc: update tests because new --github options
Signed-off-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Fri, 30 Aug 2013 19:51:34 +0000 (15:51 -0400)]
nitx: rethinked architecture for further developments
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Fri, 30 Aug 2013 19:49:40 +0000 (15:49 -0400)]
tests: add nitx.args
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 30 Aug 2013 19:45:47 +0000 (15:45 -0400)]
nitx: do not crash if nmodule.n_moduledecl is null
Signed-off-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Thu, 29 Aug 2013 19:56:50 +0000 (15:56 -0400)]
nitx: no more refinement of to_s methods
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Fri, 30 Aug 2013 16:11:03 +0000 (12:11 -0400)]
make: drop --public for doc/stdlib
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 30 Aug 2013 16:10:44 +0000 (12:10 -0400)]
make: add more programs to doc/newmodel
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 30 Aug 2013 15:32:30 +0000 (11:32 -0400)]
add .mailcap because some people cannot set their Git identity correctly
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 30 Aug 2013 15:31:48 +0000 (11:31 -0400)]
tests: fix sav for error_needed_method.nit for String constructor migration
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 30 Aug 2013 14:28:23 +0000 (10:28 -0400)]
string: more migration from String::from_cstring to NativeString::to_s
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 30 Aug 2013 14:02:26 +0000 (10:02 -0400)]
Merge remote-tracking branch 'lucas/string_refactor'
Alexandre Terrasa [Fri, 30 Aug 2013 03:26:12 +0000 (23:26 -0400)]
nitx: added lookup for instance creation.
'new: Type' return the doc of methods creating new instances of Type
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 30 Aug 2013 02:53:44 +0000 (22:53 -0400)]
nitx: is now able to look for generic types
ex:
"Array" # return class doc for Array
"Array[String]" # return doc for class Array
"return: Array" # return doc for mmethods returning the static type Array
"return: Array[String]" # return only doc for mmethods returning the static type Array[String]
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Lucas Bajolet [Thu, 29 Aug 2013 19:58:33 +0000 (15:58 -0400)]
stdlib: Removed constructors from String
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Thu, 29 Aug 2013 19:58:08 +0000 (15:58 -0400)]
c_src : Regenerated c_src to prevent use of String contructors
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Thu, 29 Aug 2013 17:43:20 +0000 (13:43 -0400)]
nitc: Removed use of String::with_native in nitc toolchain
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Thu, 29 Aug 2013 20:03:44 +0000 (16:03 -0400)]
nitg: Modified compilation routine to avoid use of String contructors
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Thu, 29 Aug 2013 21:23:14 +0000 (17:23 -0400)]
Stdlib: Removed all references to String constructors in nit stdlib and tests.
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Alexandre Terrasa [Thu, 29 Aug 2013 19:56:50 +0000 (15:56 -0400)]
nitx: no more refinement of to_s methods
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Thu, 29 Aug 2013 18:52:47 +0000 (14:52 -0400)]
nitdoc.css: do not display description with pre+monospace
The point about markdown documentation is that we drop big pre block
in the documentation in favor of a more readable style (with paragraph)
Signed-off-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Thu, 29 Aug 2013 17:12:31 +0000 (13:12 -0400)]
ni_nitdoc: new workflow for comment modification
Edit original comment
1- Create commit
2- Create pull request
3- Reload comment from pull request
Cancel modification
1- Close pull request
2- Reload comment from original
Update modification
1- Open edition from last pull request
2- Close previous pull request
3- Create commit and new pull request
4- Reload comment from last pull request
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 28 Aug 2013 01:22:27 +0000 (21:22 -0400)]
ni_nitdoc: fixed trailings spaces with empty lines in modified comments
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 28 Aug 2013 01:19:28 +0000 (21:19 -0400)]
ni_nitdoc: github edit mode activation is now triggered by a button
We use a button instead of clicking on the comment itself
to allow click on urls contained in markdown comments
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 28 Aug 2013 00:42:58 +0000 (20:42 -0400)]
ni_nitdoc: quicksearch is now case sensitive
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 28 Aug 2013 00:40:20 +0000 (20:40 -0400)]
ni_nitdoc: fixed module hierarchy display
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Tue, 27 Aug 2013 22:31:28 +0000 (18:31 -0400)]
ni_nitdoc: removed refined properties and inherited classes from module page
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Tue, 27 Aug 2013 22:06:32 +0000 (18:06 -0400)]
ni_nitdoc: removed empty refinements from module page
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Tue, 27 Aug 2013 20:40:38 +0000 (16:40 -0400)]
ni_nitdoc: Fixed quicksearch query with special characters
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Tue, 27 Aug 2013 18:31:39 +0000 (14:31 -0400)]
ni_nitdoc: Use only CSS to highlight current anchor
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Tue, 27 Aug 2013 18:21:25 +0000 (14:21 -0400)]
Merge branch 'master' of https://github.com/privat/nit into nitdoc_merge
Alexandre Terrasa [Tue, 27 Aug 2013 17:49:00 +0000 (13:49 -0400)]
ni_nitdoc: Rewritting of Github plugin for nitdoc
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Mon, 26 Aug 2013 14:48:36 +0000 (10:48 -0400)]
Merge branch 'mnit-lib'
Jean Privat [Mon, 26 Aug 2013 14:48:24 +0000 (10:48 -0400)]
Merge remote-tracking branch 'alexis/bcm2835-and-gpio-mpd-rpi'
Jean Privat [Mon, 26 Aug 2013 14:10:24 +0000 (10:10 -0400)]
shoot: mnit version
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 26 Aug 2013 14:08:49 +0000 (10:08 -0400)]
shoot: move game to a src sub-directory
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Sat, 24 Aug 2013 16:53:18 +0000 (12:53 -0400)]
contrib/gpio-mpd-rpi: refactor MPD credentials to support redef
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 24 Aug 2013 15:22:27 +0000 (11:22 -0400)]
contrib/gpio-mpd-rpi: adds a buzzer
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 24 Aug 2013 15:21:57 +0000 (11:21 -0400)]
contrib/gpio-mpd-rpi: remove the debug led
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 24 Aug 2013 13:31:49 +0000 (09:31 -0400)]
contrib/gpio-mpd-rpi: adds backlight control with delay
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 24 Aug 2013 01:24:45 +0000 (21:24 -0400)]
contrip/gpio-mpd-rpi: refactor to use a class and the switch component
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 24 Aug 2013 13:59:42 +0000 (09:59 -0400)]
lib/bcm2835: adds the Buzzer component
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 24 Aug 2013 13:59:29 +0000 (09:59 -0400)]
lib/bcm2835: adds the StepperMotor component
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 24 Aug 2013 01:22:08 +0000 (21:22 -0400)]
lib/bcm2835: adds the Switch component
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 25 Aug 2013 04:15:22 +0000 (00:15 -0400)]
examples/mnit_moles: regulate framerate
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 25 Aug 2013 04:10:06 +0000 (00:10 -0400)]
examples/mnit_dino: regulate framerate
Alexis Laferrière [Sun, 25 Aug 2013 04:02:37 +0000 (00:02 -0400)]
examples/mnit_dino: adds missing Makefile
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 25 Aug 2013 02:52:41 +0000 (22:52 -0400)]
examples: intro a real game using mnit: dino!
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 25 Aug 2013 02:17:12 +0000 (22:17 -0400)]
examples: intro the mnit game: moles
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>