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>
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>
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>
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>
Jean Privat [Thu, 22 Aug 2013 03:42:08 +0000 (23:42 -0400)]
tests: update tests because of changed location
Jean Privat [Wed, 21 Aug 2013 19:32:26 +0000 (15:32 -0400)]
parser: fix and simplify ComputeProdLocationVisitor
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 21 Aug 2013 19:29:04 +0000 (15:29 -0400)]
lexer: chain tokens together when we peek then
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 21 Aug 2013 19:24:36 +0000 (15:24 -0400)]
lexer: implements next with peek
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 21 Aug 2013 19:24:06 +0000 (15:24 -0400)]
location: add pstart and pend
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 19 Aug 2013 19:44:06 +0000 (15:44 -0400)]
modelbuilder: annotate more AST nodes with model information
add AStdImport::mmodule, AFormaldef::mtype,
AFormaldef::bound, and AParam::mparameter
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 21 Aug 2013 18:46:36 +0000 (14:46 -0400)]
lib: add String#to_cmangle and String#escape_to_c
Moved from abstract_compiler
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 21 Aug 2013 18:45:50 +0000 (14:45 -0400)]
libhtml: correctly handle void elements in HTML
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 16 Aug 2013 17:46:23 +0000 (13:46 -0400)]
libhtml: gives access to HTMLTag#classes
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 14 Aug 2013 15:04:56 +0000 (11:04 -0400)]
parser: `TEndString` isa a `TokenLiteral`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 21 Aug 2013 16:25:10 +0000 (12:25 -0400)]
tests: include skipped tests in XML
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 21 Aug 2013 16:24:36 +0000 (12:24 -0400)]
tests: provide a better classname for XML
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 21 Aug 2013 14:48:37 +0000 (10:48 -0400)]
Merge remote-tracking branch 'alexis/lib/sqlite3'
Jean Privat [Wed, 21 Aug 2013 14:28:16 +0000 (10:28 -0400)]
tests: marks tests with no sav as skipped
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 21 Aug 2013 14:27:52 +0000 (10:27 -0400)]
tests: really display the compile log, on all case, if not empty
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Wed, 21 Aug 2013 01:44:13 +0000 (21:44 -0400)]
lib/sqlite3: adds fallback for sqlite3_errstr in case it is unsupported
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Wed, 21 Aug 2013 01:13:48 +0000 (21:13 -0400)]
Merge remote-tracking branch 'alexis/sort_downloads'
Conflicts:
lib/standard/collection/abstract_collection.nit
tests/testfull.sh
Jean Privat [Wed, 21 Aug 2013 01:03:24 +0000 (21:03 -0400)]
tests: add compile.log to the XML in case of failure
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 21 Aug 2013 01:02:39 +0000 (21:02 -0400)]
tests: invert diff order (sav->out)
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Tue, 20 Aug 2013 19:36:06 +0000 (15:36 -0400)]
contrib/sort_downloads: adds script to testfull.sh and sav
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 20 Aug 2013 19:33:47 +0000 (15:33 -0400)]
contrib/sort_downloads: adds confirmation of configuration to run
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 20 Aug 2013 05:01:11 +0000 (01:01 -0400)]
lib: clean up error codes in sqlite3
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>