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>
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>
Alexis Laferrière [Sun, 25 Aug 2013 02:23:43 +0000 (22:23 -0400)]
examples: intro a very simple mnit application
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 25 Aug 2013 02:12:00 +0000 (22:12 -0400)]
lib: intro the linux version of the mnit module
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 25 Aug 2013 02:11:19 +0000 (22:11 -0400)]
lib: intro abstract mnit lib
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Sat, 24 Aug 2013 20:05:59 +0000 (16:05 -0400)]
Merge remote-tracking branch 'alexis/gpio-mpd-rpi'
Alexis Laferrière [Sat, 24 Aug 2013 01:20:08 +0000 (21:20 -0400)]
lib/bcm2835: move components support from contrib to lib
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 23 Aug 2013 14:13:03 +0000 (10:13 -0400)]
contrib/gpio-mpd-rpi: clean up setup function as alternates
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 23 Aug 2013 13:15:45 +0000 (09:15 -0400)]
contrib/gpio-mpd-rpi: removes debug print
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 23 Aug 2013 13:14:30 +0000 (09:14 -0400)]
contrib/gpio-mpd-rpi: improves and comment HD44780 init
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 23 Aug 2013 12:44:23 +0000 (08:44 -0400)]
contrib/gpio-mpd-rpi: implements desired LCD display and removes debug
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 23 Aug 2013 12:42:24 +0000 (08:42 -0400)]
contrib/gpio-mpd-rpi: improves text display of HD44780
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 23 Aug 2013 12:35:37 +0000 (08:35 -0400)]
contrib/gpio-mpd-rpi: renames class LCD to HD44780
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 23 Aug 2013 12:34:06 +0000 (08:34 -0400)]
contrib/gpio-mpd-rpi: improves debug when server has problems
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 23 Aug 2013 12:10:45 +0000 (08:10 -0400)]
contrib/gpio-mpd-rpi: move script to its own folder
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 24 Aug 2013 00:39:03 +0000 (20:39 -0400)]
lib/mpd: adds the load_playlist method
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 23 Aug 2013 12:21:16 +0000 (08:21 -0400)]
lib/mpd: add the time field to SongInfo
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 23 Aug 2013 12:20:13 +0000 (08:20 -0400)]
lib/mpd: adds fields to the ServerStatus
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 23 Aug 2013 12:18:57 +0000 (08:18 -0400)]
lib/mpd: do not crash when connection fails
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 23 Aug 2013 12:16:29 +0000 (08:16 -0400)]
lib/mpd: renames MPD::write to write_and_check
For a better distinction with Socket...::write
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 23 Aug 2013 12:18:14 +0000 (08:18 -0400)]
lib/socket: fix FFSocket::read to use malloc
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Fri, 23 Aug 2013 19:38:49 +0000 (15:38 -0400)]
Merge branch 'highlightdoc-and-implies'
Jean Privat [Fri, 23 Aug 2013 19:36:55 +0000 (15:36 -0400)]
doc: use operator `implies` in documentation
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 23 Aug 2013 19:32:56 +0000 (15:32 -0400)]
tests: add base_bool.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 23 Aug 2013 19:31:29 +0000 (15:31 -0400)]
tests: add `implies` to base_isa_cast.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 23 Aug 2013 19:25:37 +0000 (15:25 -0400)]
nitg&i: handle new `implies` operator
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 23 Aug 2013 19:24:37 +0000 (15:24 -0400)]
nitc: handle the new `implies` operator
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 23 Aug 2013 19:23:43 +0000 (15:23 -0400)]
parser: add boolean operator `implies`
will bu useful in contracts. it is the term used in Eiffel and in OCL
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 23 Aug 2013 18:56:00 +0000 (14:56 -0400)]
nitdoc: add style for highlighted code
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 23 Aug 2013 18:47:36 +0000 (14:47 -0400)]
markdown: use hightlight to colorize nit code
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 23 Aug 2013 18:44:36 +0000 (14:44 -0400)]
markdown: add a toolcontext attribute
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 23 Aug 2013 18:43:36 +0000 (14:43 -0400)]
highlight: remove the modelbuilder attribute
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 23 Aug 2013 18:42:24 +0000 (14:42 -0400)]
doc: fix some malformed documentation
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 23 Aug 2013 18:26:08 +0000 (14:26 -0400)]
Merge remote-tracking branch 'alexis/privileges'
Alexis Laferrière [Fri, 23 Aug 2013 18:07:36 +0000 (14:07 -0400)]
tests: adds missing .sav for privileges
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Fri, 23 Aug 2013 17:45:11 +0000 (13:45 -0400)]
parser: update generated files
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 23 Aug 2013 16:40:17 +0000 (12:40 -0400)]
parser: accepts qualified identifiers
But they not appear in the AST yet.
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Thu, 22 Aug 2013 02:45:56 +0000 (22:45 -0400)]
contrib: drop privileges in physical_interface_for_mpd_on_rpi.nit
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Thu, 22 Aug 2013 16:06:56 +0000 (12:06 -0400)]
examples: adds a use of the privileges module
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Thu, 22 Aug 2013 03:25:00 +0000 (23:25 -0400)]
lib: intro of privileges
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Wed, 21 Aug 2013 21:11:52 +0000 (17:11 -0400)]
lib: adds the posix module with privilege functions
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Thu, 15 Aug 2013 16:42:55 +0000 (12:42 -0400)]
parser: accepts more optional \n
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 22 Aug 2013 17:42:49 +0000 (13:42 -0400)]
merge branch 'nitlight'
Conflicts:
tests/sav/nitlight_args1.res
Jean Privat [Wed, 21 Aug 2013 20:44:25 +0000 (16:44 -0400)]
make: add bin/nitlight
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 21 Aug 2013 20:43:19 +0000 (16:43 -0400)]
tests: add nitlight
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 21 Aug 2013 20:42:58 +0000 (16:42 -0400)]
nitlight: new tool nitlight (and new module highlight)
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 21 Aug 2013 20:06:31 +0000 (16:06 -0400)]
tests: update test_parser
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 21 Aug 2013 18:50:20 +0000 (14:50 -0400)]
test_parser: display node type and quoted contents
Signed-off-by: Jean Privat <jean@pryen.org>