nit.git
9 years agoneo_doxygen: Add a missing getter in `Entity`.
Jean-Christophe Beaupré [Tue, 9 Dec 2014 20:36:28 +0000 (15:36 -0500)]
neo_doxygen: Add a missing getter in `Entity`.

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

9 years agoneo_doxygen: Include namespaces’ members.
Jean-Christophe Beaupré [Tue, 9 Dec 2014 20:50:25 +0000 (15:50 -0500)]
neo_doxygen: Include namespaces’ members.

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

9 years agoneo_doxygen: Never commit generated makefiles.
Jean-Christophe Beaupré [Fri, 5 Dec 2014 20:00:14 +0000 (15:00 -0500)]
neo_doxygen: Never commit generated makefiles.

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

9 years agoneo_doxygen: Add information about requirements to generate tests.
Jean-Christophe Beaupré [Fri, 5 Dec 2014 19:55:21 +0000 (14:55 -0500)]
neo_doxygen: Add information about requirements to generate tests.

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

9 years agoneo_doxygen: Use `ProjectGraph.project_name` in `RootNamespace`.
Jean-Christophe Beaupré [Fri, 5 Dec 2014 19:53:27 +0000 (14:53 -0500)]
neo_doxygen: Use `ProjectGraph.project_name` in `RootNamespace`.

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

9 years agoneo_doxygen: Support more section kinds.
Jean-Christophe Beaupré [Wed, 3 Dec 2014 21:54:42 +0000 (16:54 -0500)]
neo_doxygen: Support more section kinds.

Also document what is not supported yet.

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

9 years agoMerge: More macosx compat things
Jean Privat [Sun, 14 Dec 2014 13:44:15 +0000 (08:44 -0500)]
Merge: More macosx compat things

Are nedded to pass more tests on jenkins

http://gresil.org/jenkins/job/CI%20Github%20OSX/

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

9 years agoMerge: add changelog.sh to help the redactor of niteration
Jean Privat [Sun, 14 Dec 2014 13:44:12 +0000 (08:44 -0500)]
Merge: add changelog.sh to help the redactor of niteration

Pull-Request: #1015
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

9 years agoMerge: Fix unread warnings
Jean Privat [Sun, 14 Dec 2014 13:44:08 +0000 (08:44 -0500)]
Merge: Fix unread warnings

For the unread local var warnings.

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

9 years agoMerge: Fix misc warnings
Jean Privat [Sun, 14 Dec 2014 13:44:05 +0000 (08:44 -0500)]
Merge: Fix misc warnings

For useless empty init and null comparisons

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

9 years agoMerge: nitdoc: Display the attributes
Jean Privat [Sun, 14 Dec 2014 13:43:58 +0000 (08:43 -0500)]
Merge: nitdoc: Display the attributes

In many languages, attributes are part of the API like methods. Therefore, NitDoc should display them when needed.

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

Pull-Request: #1002
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Jean Privat <jean@pryen.org>

9 years agoMerge: Detect variance constraints
Jean Privat [Sun, 14 Dec 2014 13:43:53 +0000 (08:43 -0500)]
Merge: Detect variance constraints

add detection of definition-site variance constraints of formal parameters in nitmetrics.

Pull-Request: #999
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

9 years agoMerge: Fix chomp and read_lines
Jean Privat [Sun, 14 Dec 2014 13:43:49 +0000 (08:43 -0500)]
Merge: Fix chomp and read_lines

Implements the POLA behavior of reading lines.

I might have to wait that #932 is merged before integrating this one.

Close #974 and close #975 (see them for details)

Pull-Request: #978
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agoMerge: New path API
Jean Privat [Sun, 14 Dec 2014 13:43:38 +0000 (08:43 -0500)]
Merge: New path API

As previously discussed with @privat and @R4PaSs, this is a propostion for a new file access API.
It provides new features:

* All file/path related services are to be stored in `Path` instead of `String`. The goal is to store there all the methods previously beginning with `path_` and others like `rmdir` and `files`.  The calls to the new API take the form of `"/tmp/somefile.txt".to_path.delete`. You will notice that this PR do not yet move all those services but only a subset as an example, this will be completed if it is appreciated.
* Easy file opening (for read or write) with: `"/tmp/somefile.txt".to_path.open_ro.read_all`
* `Path` stores the concept of full path and filename. Calls to `/etc/somedir/".to_path.files` returns an array of `FilePath` which can be `to_s`ed to get the full path and calling `filename` returns only the file name.
* The native `stat` structure is now renamed to `NativeFileStat` and protected within a Nity finalizable `FileStat`. The new `FileStat` could be implemented differently by platform.

Pull-Request: #831
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

9 years agoMerge with 'origin/master' to resolve conflicts with #932 (stream)
Jean Privat [Sat, 13 Dec 2014 15:59:16 +0000 (10:59 -0500)]
Merge ... 'origin/master' to resolve conflicts with #932 (stream)

Conflicts:
lib/standard/stream.nit
lib/standard/string.nit
src/nitls.nit
tests/sav/test_exec.res

9 years agonit: remove unused `PrimitiveNativeFile::file_stat`
Alexis Laferrière [Sat, 13 Dec 2014 19:39:17 +0000 (14:39 -0500)]
nit: remove unused `PrimitiveNativeFile::file_stat`

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

9 years agoMerge branch 'master' into path
Alexis Laferrière [Sat, 13 Dec 2014 19:35:06 +0000 (14:35 -0500)]
Merge branch 'master' into path

9 years agounitrun.sh: do not crash when no time.out file
Jean Privat [Sat, 13 Dec 2014 15:12:57 +0000 (10:12 -0500)]
unitrun.sh: do not crash when no time.out file

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

9 years agounitrun.sh: detect nonworking date command
Jean Privat [Sat, 13 Dec 2014 14:45:28 +0000 (09:45 -0500)]
unitrun.sh: detect nonworking date command

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

9 years agonitx: use less instad of pager that is a Debianism
Jean Privat [Sat, 13 Dec 2014 14:42:15 +0000 (09:42 -0500)]
nitx: use less instad of pager that is a Debianism

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

9 years agocompiler: add CFLAGS -Wno-attributes to quiet clang on boehm
Jean Privat [Sat, 13 Dec 2014 14:39:55 +0000 (09:39 -0500)]
compiler: add CFLAGS -Wno-attributes to quiet clang on boehm

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

9 years agoMerge: Fix useless type warnings
Jean Privat [Sat, 13 Dec 2014 07:52:03 +0000 (02:52 -0500)]
Merge: Fix useless type warnings

And some more... This time for useless type declarations.

Pull-Request: #1010
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

9 years agoMerge: Fix visibility warnings
Jean Privat [Sat, 13 Dec 2014 07:51:44 +0000 (02:51 -0500)]
Merge: Fix visibility warnings

On continue dans la série... cette fois c'est pour la disparition des derniers warnings sur la visibilité privée.

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

9 years agoMerge: lib fix warnings (ai)
Jean Privat [Sat, 13 Dec 2014 07:51:26 +0000 (02:51 -0500)]
Merge: lib fix warnings (ai)

Some more fixes on warnings.

This time, this is the `ai` project that ends up cleaned of all warnings!

Pull-Request: #1007
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

9 years agoMerge: Nitcorn: parameterized uris
Jean Privat [Sat, 13 Dec 2014 07:50:37 +0000 (02:50 -0500)]
Merge: Nitcorn: parameterized uris

Introduces parameterized uri handling like `/users/:id`.

## Route matching

Route can match variables expression.

~~~
class DummyAction super Action end
var action = new DummyAction
var route = new Route("/users/:id", action)
assert not route.match("/users")
assert route.match("/users/1234")
assert route.match("/users/") # empty id
~~~

Standard comportement still unchanged.

~~~
route = new Route("/users", action)
assert route.match("/users")
assert route.match("/users/1234")
assert not route.match("/issues/1234")
~~~

## Route priority

Priority depends on the order the routes where added to the `Routes` dispatcher.

~~~
var host = new VirtualHost("")
var routes = new Routes(host)

routes.add new Route("/:a/:b/:c", action)
routes.add new Route("/users/:id", action)
routes.add new Route("/:foo", action)

assert routes["/a/b/c"].path == "/:a/:b/:c"
assert routes["/a/b/c/d"].path == "/:a/:b/:c"
assert routes["/users/1234/foo"].path == "/:a/:b/:c"

assert routes["/users/"].path == "/users/:id"
assert routes["users/"].path == "/users/:id"
assert routes["/users/1234"].path == "/users/:id"

assert routes["/users"].path == "/:foo"
assert routes["/"].path == "/:foo"
assert routes[""].path == "/:foo"
~~~

## Accessing uri parameter from Action

Parameters can be accessed by parsing the uri.

~~~
route = new Route("/users/:id", action)
var params = route.parse_params("/users/1234")
assert params.has_key("id")
assert not params.has_key("foo")
assert params["id"] == "1234"
~~~

Or from the `HttpRequest`

~~~
route = new Route("/users/:id", action)
var req = new HttpRequest
req.uri_params = route.parse_params("/users/1234")
assert req.params == ["id"]
assert req.param("id") == "1234"
assert req.param("foo") == null
~~~

Note that in most cases, all this work is automatically done by the nitcorn engine.
Parameters can then be access through the `HttpRequest` given to `Action::answer`.

@xymus et @R4PaSs ça peut vous intéresser.

Pull-Request: #1006
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: lib/time: introduces ISODate
Jean Privat [Sat, 13 Dec 2014 07:50:24 +0000 (02:50 -0500)]
Merge: lib/time: introduces ISODate

I will soon need this.

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

Pull-Request: #1005
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: Raise nitc from the dead
Jean Privat [Sat, 13 Dec 2014 07:50:17 +0000 (02:50 -0500)]
Merge: Raise nitc from the dead

Raise dead on `nitc`.
It's super effective...

Pull-Request: #1000
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

9 years agoMerge: model: register the implicitly injected Bool class in its hierarchy.
Jean Privat [Sat, 13 Dec 2014 07:50:08 +0000 (02:50 -0500)]
Merge: model: register the implicitly injected Bool class in its hierarchy.

The model can inject a primitive a Bool class when required.
It was a hack which was initially introduced by the interpreter that need to manipulate boolean values even if they where not present in the original program.
However, the class was not fully initialized. So fix that.

Maybe a future PR will try to remove this hack (it is not the model's job to inject classes)

Pull-Request: #989
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

9 years agoMerge: Github API renaming and group creation
Jean Privat [Sat, 13 Dec 2014 07:49:59 +0000 (02:49 -0500)]
Merge: Github API renaming and group creation

Renamed `github_api` module into `github_curl` (needed the namespace for further work)

Also created the group `github` and added `github_curl` to it.

Finally, added a small nitunit.

Pull-Request: #970
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agoMerge: Better nitester on Turing
Jean Privat [Sat, 13 Dec 2014 07:49:52 +0000 (02:49 -0500)]
Merge: Better nitester on Turing

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

Pull-Request: #910
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Jean Privat <jean@pryen.org>

9 years agoMerge: Newstreams
Jean Privat [Sat, 13 Dec 2014 07:49:28 +0000 (02:49 -0500)]
Merge: Newstreams

Small refactoring of Streams/Files:
- Added a simple error management system
- Removed FDStreams, reified under FStream

Next PR to come: Proposition for renaming of the classes of the stream hierarchy (as requested in #466)

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

9 years agoadd changelog.sh to help the redactor of niteration
Jean Privat [Sat, 13 Dec 2014 01:45:29 +0000 (20:45 -0500)]
add changelog.sh to help the redactor of niteration

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

9 years agolib/nitcorn: updates README
Alexandre Terrasa [Fri, 12 Dec 2014 02:45:09 +0000 (21:45 -0500)]
lib/nitcorn: updates README

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

9 years agolib/nitcorn: introduces a second action to show uri parameters usage
Alexandre Terrasa [Fri, 12 Dec 2014 02:43:14 +0000 (21:43 -0500)]
lib/nitcorn: introduces a second action to show uri parameters usage

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

9 years agoexemples/nitcorn: rename MyAction class by StaticAction.
Alexandre Terrasa [Fri, 12 Dec 2014 02:42:27 +0000 (21:42 -0500)]
exemples/nitcorn: rename MyAction class by StaticAction.

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

9 years agolib/nitcorn: handles uri parameters in reactor
Alexandre Terrasa [Fri, 12 Dec 2014 02:36:13 +0000 (21:36 -0500)]
lib/nitcorn: handles uri parameters in reactor

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

9 years agollib/nitcorn: fixes documentation warnings.
Alexandre Terrasa [Fri, 12 Dec 2014 02:35:44 +0000 (21:35 -0500)]
llib/nitcorn: fixes documentation warnings.

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

9 years agolib/nitcorn: introduces vararg_routes module
Alexandre Terrasa [Fri, 12 Dec 2014 02:33:24 +0000 (21:33 -0500)]
lib/nitcorn: introduces vararg_routes module

This will allow the creation of parameterized routes like `/users/:id`.

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

9 years agonitdoc: Display attribute types.
Jean-Christophe Beaupré [Thu, 11 Dec 2014 18:50:05 +0000 (13:50 -0500)]
nitdoc: Display attribute types.

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

9 years agonitdoc: Add tests with attributes.
Jean-Christophe Beaupré [Thu, 11 Dec 2014 16:58:58 +0000 (11:58 -0500)]
nitdoc: Add tests with attributes.

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

9 years agonitdoc: Update the manpage.
Jean-Christophe Beaupré [Fri, 12 Dec 2014 21:29:30 +0000 (16:29 -0500)]
nitdoc: Update the manpage.

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

9 years agonitdoc: Include the attributes by default.
Jean-Christophe Beaupré [Fri, 12 Dec 2014 21:29:15 +0000 (16:29 -0500)]
nitdoc: Include the attributes by default.

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

9 years agolib/template: fixes unread variables
Alexandre Terrasa [Fri, 12 Dec 2014 21:18:13 +0000 (16:18 -0500)]
lib/template: fixes unread variables

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

9 years agolib/string_experimentations: fixes unread variables
Alexandre Terrasa [Fri, 12 Dec 2014 21:18:02 +0000 (16:18 -0500)]
lib/string_experimentations: fixes unread variables

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

9 years agolib/glesv2: fixes unread variables
Alexandre Terrasa [Fri, 12 Dec 2014 21:17:49 +0000 (16:17 -0500)]
lib/glesv2: fixes unread variables

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

9 years agolib/csv: fixes unread variables
Alexandre Terrasa [Fri, 12 Dec 2014 21:17:37 +0000 (16:17 -0500)]
lib/csv: fixes unread variables

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

9 years agolib/android: fixes unread variables
Alexandre Terrasa [Fri, 12 Dec 2014 21:17:27 +0000 (16:17 -0500)]
lib/android: fixes unread variables

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

9 years agolib/ai: fixes unread variables
Alexandre Terrasa [Fri, 12 Dec 2014 21:17:17 +0000 (16:17 -0500)]
lib/ai: fixes unread variables

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

9 years agoexamples/rosettacode: fixes unread variables
Alexandre Terrasa [Fri, 12 Dec 2014 21:17:07 +0000 (16:17 -0500)]
examples/rosettacode: fixes unread variables

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

9 years agocontrib/opportunity: fixes unread variables
Alexandre Terrasa [Fri, 12 Dec 2014 21:16:52 +0000 (16:16 -0500)]
contrib/opportunity: fixes unread variables

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

9 years agocontrib/jwrapper: fixes unread variables
Alexandre Terrasa [Fri, 12 Dec 2014 21:16:43 +0000 (16:16 -0500)]
contrib/jwrapper: fixes unread variables

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

9 years agocontrib/benitlux: fixes unread variables
Alexandre Terrasa [Fri, 12 Dec 2014 21:16:36 +0000 (16:16 -0500)]
contrib/benitlux: fixes unread variables

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

9 years agocontrib/github_merge: fixes unread variables
Alexandre Terrasa [Fri, 12 Dec 2014 21:16:25 +0000 (16:16 -0500)]
contrib/github_merge: fixes unread variables

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

9 years agocontrib/friends: fixes unread variables
Alexandre Terrasa [Fri, 12 Dec 2014 21:16:16 +0000 (16:16 -0500)]
contrib/friends: fixes unread variables

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

9 years agotests: blacklist longer tests from nitg-g
Alexis Laferrière [Fri, 12 Dec 2014 20:56:35 +0000 (15:56 -0500)]
tests: blacklist longer tests from nitg-g

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

9 years agomisc/jenkins: unitrun without --quiet do not use ' for turing
Alexis Laferrière [Fri, 12 Dec 2014 20:20:19 +0000 (15:20 -0500)]
misc/jenkins: unitrun without --quiet do not use ' for turing

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

9 years agonitester-wrapper: fix set -x
Alexis Laferrière [Fri, 12 Dec 2014 16:11:05 +0000 (11:11 -0500)]
nitester-wrapper: fix set -x

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

9 years agonitester-wrapper: only compile nitg and nitester on the host processor
Alexis Laferrière [Fri, 12 Dec 2014 15:59:00 +0000 (10:59 -0500)]
nitester-wrapper: only compile nitg and nitester on the host processor

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

9 years agocontrib/nitester: each worker us its own copy of the Nit repository
Alexis Laferrière [Fri, 12 Dec 2014 15:42:21 +0000 (10:42 -0500)]
contrib/nitester: each worker us its own copy of the Nit repository

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

9 years agocontrib/nitester: use turing skip list
Alexis Laferrière [Thu, 11 Dec 2014 19:35:32 +0000 (14:35 -0500)]
contrib/nitester: use turing skip list

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

9 years agosrc/astprinter: fixes useless null comparison
Alexandre Terrasa [Fri, 12 Dec 2014 20:58:31 +0000 (15:58 -0500)]
src/astprinter: fixes useless null comparison

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

9 years agolib/markdown: fixes useless empty init
Alexandre Terrasa [Fri, 12 Dec 2014 20:58:09 +0000 (15:58 -0500)]
lib/markdown: fixes useless empty init

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

9 years agocontrib/pep8analysis: fixes useless empty init
Alexandre Terrasa [Fri, 12 Dec 2014 20:58:00 +0000 (15:58 -0500)]
contrib/pep8analysis: fixes useless empty init

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

9 years agolib/neo4j: fixes useless empty init
Alexandre Terrasa [Fri, 12 Dec 2014 20:57:31 +0000 (15:57 -0500)]
lib/neo4j: fixes useless empty init

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

9 years agolib/nitcorn: fixes useless empty init
Alexandre Terrasa [Fri, 12 Dec 2014 20:57:14 +0000 (15:57 -0500)]
lib/nitcorn: fixes useless empty init

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

9 years agosrc/doc: fixes useless empty init
Alexandre Terrasa [Fri, 12 Dec 2014 20:57:03 +0000 (15:57 -0500)]
src/doc: fixes useless empty init

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

9 years agoexamples/rosettacode: fixes useless type declaration
Alexandre Terrasa [Fri, 12 Dec 2014 20:41:47 +0000 (15:41 -0500)]
examples/rosettacode: fixes useless type declaration

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

9 years agolib/sax: fixes useless type declaration
Alexandre Terrasa [Fri, 12 Dec 2014 20:41:04 +0000 (15:41 -0500)]
lib/sax: fixes useless type declaration

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

9 years agolib/saxophonit: fixes useless type declaration
Alexandre Terrasa [Fri, 12 Dec 2014 20:39:42 +0000 (15:39 -0500)]
lib/saxophonit: fixes useless type declaration

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

9 years agosrc/semantize: fixes useless private visibility
Alexandre Terrasa [Fri, 12 Dec 2014 20:31:04 +0000 (15:31 -0500)]
src/semantize: fixes useless private visibility

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

9 years agosrc/nitx: fixes useless private visibility
Alexandre Terrasa [Fri, 12 Dec 2014 20:30:48 +0000 (15:30 -0500)]
src/nitx: fixes useless private visibility

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

9 years agosrc/frontend: fixes useless private visibility
Alexandre Terrasa [Fri, 12 Dec 2014 20:30:38 +0000 (15:30 -0500)]
src/frontend: fixes useless private visibility

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

9 years agolib/xdg_basedir: fixes useless private visibility
Alexandre Terrasa [Fri, 12 Dec 2014 20:30:27 +0000 (15:30 -0500)]
lib/xdg_basedir: fixes useless private visibility

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

9 years agolib/template: fixes useless private visibility
Alexandre Terrasa [Fri, 12 Dec 2014 20:30:20 +0000 (15:30 -0500)]
lib/template: fixes useless private visibility

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

9 years agolib/linux: fixes useless private visibility
Alexandre Terrasa [Fri, 12 Dec 2014 20:30:07 +0000 (15:30 -0500)]
lib/linux: fixes useless private visibility

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

9 years agolib/html: fixes useless private visibility
Alexandre Terrasa [Fri, 12 Dec 2014 20:29:56 +0000 (15:29 -0500)]
lib/html: fixes useless private visibility

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

9 years agolib/ai: fixes unused local variables
Alexandre Terrasa [Fri, 12 Dec 2014 19:27:29 +0000 (14:27 -0500)]
lib/ai: fixes unused local variables

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

9 years agolib/trees: fixes old init
Alexandre Terrasa [Fri, 12 Dec 2014 19:27:14 +0000 (14:27 -0500)]
lib/trees: fixes old init

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

9 years agolib/trees: fixes documentation warnings
Alexandre Terrasa [Fri, 12 Dec 2014 19:27:02 +0000 (14:27 -0500)]
lib/trees: fixes documentation warnings

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

9 years agolib/realtime: fixes documentation warnings
Alexandre Terrasa [Fri, 12 Dec 2014 20:19:44 +0000 (15:19 -0500)]
lib/realtime: fixes documentation warnings

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

9 years agolib/realtime: remove useless method Timespec::destroy
Alexandre Terrasa [Fri, 12 Dec 2014 20:18:52 +0000 (15:18 -0500)]
lib/realtime: remove useless method Timespec::destroy

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

9 years agocontrib/nitester: each Processor know its rank
Alexis Laferrière [Fri, 12 Dec 2014 19:55:35 +0000 (14:55 -0500)]
contrib/nitester: each Processor know its rank

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

9 years agotests: describe turing.skip in README.md
Alexis Laferrière [Fri, 12 Dec 2014 19:33:56 +0000 (14:33 -0500)]
tests: describe turing.skip in README.md

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

9 years agotests: add a skip list for testing on the Turing cluster
Alexis Laferrière [Wed, 10 Dec 2014 19:29:00 +0000 (14:29 -0500)]
tests: add a skip list for testing on the Turing cluster

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

9 years agolib/ai: fixes documentation warnings
Alexandre Terrasa [Fri, 12 Dec 2014 19:26:18 +0000 (14:26 -0500)]
lib/ai: fixes documentation warnings

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

9 years agonitester-wrapper: test if the target hash is valid
Alexis Laferrière [Thu, 11 Dec 2014 13:39:03 +0000 (08:39 -0500)]
nitester-wrapper: test if the target hash is valid

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

9 years agonitester-wrapper: update script to follow the config of jenkins on pratchett
Alexis Laferrière [Wed, 10 Dec 2014 20:12:09 +0000 (15:12 -0500)]
nitester-wrapper: update script to follow the config of jenkins on pratchett

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

9 years agotests: sqlite3 tests expecting an error is undefined as it changes per version
Alexis Laferrière [Wed, 10 Dec 2014 14:26:47 +0000 (09:26 -0500)]
tests: sqlite3 tests expecting an error is undefined as it changes per version

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

9 years agotests: support Java on Turing worker nodes too
Alexis Laferrière [Wed, 10 Dec 2014 13:20:22 +0000 (08:20 -0500)]
tests: support Java on Turing worker nodes too

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

9 years agolib/string: chomp do not try to chomp empty strings
Alexis Laferrière [Thu, 11 Dec 2014 20:34:44 +0000 (15:34 -0500)]
lib/string: chomp do not try to chomp empty strings

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

9 years agoman: add --detect-variance-constraints in nitmetrics.md
Jean Privat [Fri, 12 Dec 2014 16:05:05 +0000 (11:05 -0500)]
man: add --detect-variance-constraints in nitmetrics.md

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

9 years agotests: add nitmetrics test for --detect-covar
Jean Privat [Thu, 11 Dec 2014 16:47:24 +0000 (11:47 -0500)]
tests: add nitmetrics test for --detect-covar

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

9 years agonitmetrics: add --detect-covar
Jean Privat [Thu, 11 Dec 2014 01:52:50 +0000 (20:52 -0500)]
nitmetrics: add --detect-covar

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

9 years agolib: Fixed signature for poll in PNaCl
Lucas Bajolet [Thu, 11 Dec 2014 21:52:34 +0000 (16:52 -0500)]
lib: Fixed signature for poll in PNaCl

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

9 years agotests: add base_empty_module2.nit
Jean Privat [Fri, 12 Dec 2014 04:06:19 +0000 (23:06 -0500)]
tests: add base_empty_module2.nit

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

9 years agoniti: do not create `true` and `false` if Bool does not exists
Jean Privat [Fri, 12 Dec 2014 04:03:49 +0000 (23:03 -0500)]
niti: do not create `true` and `false` if Bool does not exists

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

9 years agomodel: register the implicitly injected Bool class in its hierarchy.
Jean Privat [Wed, 10 Dec 2014 19:45:35 +0000 (14:45 -0500)]
model: register the implicitly injected Bool class in its hierarchy.

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

9 years agolib/time: introduces ISODate
Alexandre Terrasa [Fri, 12 Dec 2014 03:46:51 +0000 (22:46 -0500)]
lib/time: introduces ISODate

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

9 years agolib/github: add test suite for github_curl
Alexandre Terrasa [Fri, 5 Dec 2014 00:21:07 +0000 (19:21 -0500)]
lib/github: add test suite for github_curl

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

9 years agolib: introduce github group
Alexandre Terrasa [Fri, 5 Dec 2014 00:14:51 +0000 (19:14 -0500)]
lib: introduce github group

* rename github_api in github_curl
* move github_curl to github group

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