nit.git
10 years agonitg: Implemented polymorphic super calls for nitg-s and nitg-e
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>

10 years agonitg-s/e: moved properties selection outside of layout builders.
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>

10 years agomodelize_property: removed useless super_init var
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>

10 years agoMerge branch 'mmnitdoc' v0.6.1
Jean Privat [Fri, 30 Aug 2013 21:07:58 +0000 (17:07 -0400)]
Merge branch 'mmnitdoc'

10 years agoni_nitdoc: update tests because new --github options
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>

10 years agotests: add nitx.args
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>

10 years agonitx: do not crash if nmodule.n_moduledecl is null
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>

10 years agonitx: no more refinement of to_s methods
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>

10 years agomake: drop --public for doc/stdlib
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>

10 years agomake: add more programs to doc/newmodel
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>

10 years agoadd .mailcap because some people cannot set their Git identity correctly
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>

10 years agotests: fix sav for error_needed_method.nit for String constructor migration
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>

10 years agostring: more migration from String::from_cstring to NativeString::to_s
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>

10 years agoMerge remote-tracking branch 'lucas/string_refactor'
Jean Privat [Fri, 30 Aug 2013 14:02:26 +0000 (10:02 -0400)]
Merge remote-tracking branch 'lucas/string_refactor'

10 years agostdlib: Removed constructors from String
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>

10 years agoc_src : Regenerated c_src to prevent use of String contructors
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>

10 years agonitc: Removed use of String::with_native in nitc toolchain
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>

10 years agonitg: Modified compilation routine to avoid use of String contructors
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>

10 years agoStdlib: Removed all references to String constructors in nit stdlib and tests.
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>

10 years agonitdoc.css: do not display description with pre+monospace
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>

10 years agoni_nitdoc: new workflow for comment modification
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>

10 years agoni_nitdoc: fixed trailings spaces with empty lines in modified comments
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>

10 years agoni_nitdoc: github edit mode activation is now triggered by a button
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>

10 years agoni_nitdoc: quicksearch is now case sensitive
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>

10 years agoni_nitdoc: fixed module hierarchy display
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>

10 years agoni_nitdoc: removed refined properties and inherited classes from module page
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>

10 years agoni_nitdoc: removed empty refinements from module page
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>

10 years agoni_nitdoc: Fixed quicksearch query with special characters
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>

10 years agoni_nitdoc: Use only CSS to highlight current anchor
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>

10 years agoMerge branch 'master' of https://github.com/privat/nit into nitdoc_merge
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

10 years agoni_nitdoc: Rewritting of Github plugin for nitdoc
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>

10 years agoMerge branch 'mnit-lib'
Jean Privat [Mon, 26 Aug 2013 14:48:36 +0000 (10:48 -0400)]
Merge branch 'mnit-lib'

10 years agoMerge remote-tracking branch 'alexis/bcm2835-and-gpio-mpd-rpi'
Jean Privat [Mon, 26 Aug 2013 14:48:24 +0000 (10:48 -0400)]
Merge remote-tracking branch 'alexis/bcm2835-and-gpio-mpd-rpi'

10 years agoshoot: mnit version
Jean Privat [Mon, 26 Aug 2013 14:10:24 +0000 (10:10 -0400)]
shoot: mnit version

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

10 years agoshoot: move game to a src sub-directory
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>

10 years agocontrib/gpio-mpd-rpi: refactor MPD credentials to support redef
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>

10 years agocontrib/gpio-mpd-rpi: adds a buzzer
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>

10 years agocontrib/gpio-mpd-rpi: remove the debug led
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>

10 years agocontrib/gpio-mpd-rpi: adds backlight control with delay
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>

10 years agocontrip/gpio-mpd-rpi: refactor to use a class and the switch component
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>

10 years agolib/bcm2835: adds the Buzzer component
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>

10 years agolib/bcm2835: adds the StepperMotor component
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>

10 years agolib/bcm2835: adds the Switch component
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>

10 years agoexamples/mnit_moles: regulate framerate
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>

10 years agoexamples/mnit_dino: regulate framerate
Alexis Laferrière [Sun, 25 Aug 2013 04:10:06 +0000 (00:10 -0400)]
examples/mnit_dino: regulate framerate

10 years agoexamples/mnit_dino: adds missing Makefile
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>

10 years agoexamples: intro a real game using mnit: dino!
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>

10 years agoexamples: intro the mnit game: moles
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>

10 years agoexamples: intro a very simple mnit application
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>

10 years agolib: intro the linux version of the mnit module
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>

10 years agolib: intro abstract mnit lib
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>

10 years agoMerge remote-tracking branch 'alexis/gpio-mpd-rpi'
Jean Privat [Sat, 24 Aug 2013 20:05:59 +0000 (16:05 -0400)]
Merge remote-tracking branch 'alexis/gpio-mpd-rpi'

10 years agolib/bcm2835: move components support from contrib to lib
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>

10 years agocontrib/gpio-mpd-rpi: clean up setup function as alternates
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>

10 years agocontrib/gpio-mpd-rpi: removes debug print
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>

10 years agocontrib/gpio-mpd-rpi: improves and comment HD44780 init
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>

10 years agocontrib/gpio-mpd-rpi: implements desired LCD display and removes debug
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>

10 years agocontrib/gpio-mpd-rpi: improves text display of HD44780
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>

10 years agocontrib/gpio-mpd-rpi: renames class LCD to HD44780
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>

10 years agocontrib/gpio-mpd-rpi: improves debug when server has problems
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>

10 years agocontrib/gpio-mpd-rpi: move script to its own folder
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>

10 years agolib/mpd: adds the load_playlist method
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>

10 years agolib/mpd: add the time field to SongInfo
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>

10 years agolib/mpd: adds fields to the ServerStatus
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>

10 years agolib/mpd: do not crash when connection fails
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>

10 years agolib/mpd: renames MPD::write to write_and_check
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>

10 years agolib/socket: fix FFSocket::read to use malloc
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>

10 years agoMerge branch 'highlightdoc-and-implies'
Jean Privat [Fri, 23 Aug 2013 19:38:49 +0000 (15:38 -0400)]
Merge branch 'highlightdoc-and-implies'

10 years agodoc: use operator `implies` in documentation
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>

10 years agotests: add base_bool.nit
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>

10 years agotests: add `implies` to base_isa_cast.nit
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>

10 years agonitg&i: handle new `implies` operator
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>

10 years agonitc: handle the new `implies` operator
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>

10 years agoparser: add boolean operator `implies`
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>

10 years agonitdoc: add style for highlighted code
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>

10 years agomarkdown: use hightlight to colorize nit code
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>

10 years agomarkdown: add a toolcontext attribute
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>

10 years agohighlight: remove the modelbuilder attribute
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>

10 years agodoc: fix some malformed documentation
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>

10 years agoMerge remote-tracking branch 'alexis/privileges'
Jean Privat [Fri, 23 Aug 2013 18:26:08 +0000 (14:26 -0400)]
Merge remote-tracking branch 'alexis/privileges'

10 years agotests: adds missing .sav for 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>

10 years agoparser: update generated files
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>

10 years agoparser: accepts qualified identifiers
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>

10 years agocontrib: drop privileges in physical_interface_for_mpd_on_rpi.nit
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>

10 years agoexamples: adds a use of the privileges module
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>

10 years agolib: intro of privileges
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>

10 years agolib: adds the posix module with privilege functions
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>

10 years agoparser: accepts more optional \n
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>

10 years agomerge branch 'nitlight'
Jean Privat [Thu, 22 Aug 2013 17:42:49 +0000 (13:42 -0400)]
merge branch 'nitlight'

Conflicts:
tests/sav/nitlight_args1.res

10 years agomake: add bin/nitlight
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>

10 years agotests: add nitlight
Jean Privat [Wed, 21 Aug 2013 20:43:19 +0000 (16:43 -0400)]
tests: add nitlight

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

10 years agonitlight: new tool nitlight (and new module highlight)
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>

10 years agotests: update test_parser
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>

10 years agotest_parser: display node type and quoted contents
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>

10 years agotests: update tests because of changed location
Jean Privat [Thu, 22 Aug 2013 03:42:08 +0000 (23:42 -0400)]
tests: update tests because of changed location

10 years agoparser: fix and simplify ComputeProdLocationVisitor
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>

10 years agolexer: chain tokens together when we peek then
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>

10 years agolexer: implements next with peek
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>

10 years agolocation: add pstart and pend
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>

10 years agomodelbuilder: annotate more AST nodes with model information
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>