nit.git
9 years agolib/more_collections: improve doc and docunits
Jean Privat [Wed, 26 Nov 2014 03:42:46 +0000 (22:42 -0500)]
lib/more_collections: improve doc and docunits

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

9 years agolib: remove warnings on hash_debug, more_collections, ordered_tree, and poset
Jean Privat [Wed, 26 Nov 2014 03:41:38 +0000 (22:41 -0500)]
lib: remove warnings on hash_debug, more_collections, ordered_tree, and poset

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

9 years agolib/pipeline: add a missing docunit
Jean Privat [Wed, 26 Nov 2014 01:33:37 +0000 (20:33 -0500)]
lib/pipeline: add a missing docunit

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

9 years agolib/collections: add `Collection::has_exactly`
Jean Privat [Wed, 26 Nov 2014 20:42:42 +0000 (15:42 -0500)]
lib/collections: add `Collection::has_exactly`

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

9 years agolib/collection: improve documentation of `has_all`
Jean Privat [Wed, 26 Nov 2014 20:40:32 +0000 (15:40 -0500)]
lib/collection: improve documentation of `has_all`

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

9 years agoMerge: pthreads on OS X
Jean Privat [Tue, 25 Nov 2014 22:56:53 +0000 (17:56 -0500)]
Merge: pthreads on OS X

Fix #869

Pull-Request: #933
Reviewed-by: Jean Privat <jean@pryen.org>

9 years agoMerge: neo4j: Sanitize the inputs
Jean Privat [Tue, 25 Nov 2014 22:56:49 +0000 (17:56 -0500)]
Merge: neo4j: Sanitize the inputs

![](http://imgs.xkcd.com/comics/exploits_of_a_mom.png )
— xkcd

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

9 years agoMerge: neo_doxygen: Be more professional
Jean Privat [Tue, 25 Nov 2014 22:56:44 +0000 (17:56 -0500)]
Merge: neo_doxygen: Be more professional

Add tests, correct minor mistakes and add missing documentation.

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

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

9 years agoMerge: standard: Clean warnings
Jean Privat [Tue, 25 Nov 2014 22:56:25 +0000 (17:56 -0500)]
Merge: standard: Clean warnings

Just enough cleaning to get rid of all those warnings.

Pull-Request: #921
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 agotests: adjust line number in test_new_native test
Alexandre Terrasa [Mon, 24 Nov 2014 22:11:32 +0000 (17:11 -0500)]
tests: adjust line number in test_new_native test

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

9 years agore: fix useless var warnings
Alexandre Terrasa [Tue, 25 Nov 2014 21:16:33 +0000 (16:16 -0500)]
re: fix useless var warnings

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

9 years agorange: implements `hash` method on ranges
Alexandre Terrasa [Tue, 25 Nov 2014 21:09:40 +0000 (16:09 -0500)]
range: implements `hash` method on ranges

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

9 years agorange: implements `==` method on ranges
Alexandre Terrasa [Mon, 24 Nov 2014 18:44:23 +0000 (13:44 -0500)]
range: implements `==` method on ranges

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

9 years agoneo4j: fix malformed licence header in jsonable
Alexandre Terrasa [Mon, 24 Nov 2014 18:37:53 +0000 (13:37 -0500)]
neo4j: fix malformed licence header in jsonable

Note: this file will disappear once merged with master.

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

9 years agofile: fix useless var warnings
Alexandre Terrasa [Wed, 19 Nov 2014 04:48:27 +0000 (23:48 -0500)]
file: fix useless var warnings

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

9 years agofile: fix missing documentation warnings
Alexandre Terrasa [Thu, 20 Nov 2014 01:59:53 +0000 (20:59 -0500)]
file: fix missing documentation warnings

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

9 years agoexec: fix init warnings
Alexandre Terrasa [Thu, 20 Nov 2014 03:29:24 +0000 (22:29 -0500)]
exec: fix init warnings

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

9 years agoexec: fix missing documentation warnings
Alexandre Terrasa [Thu, 20 Nov 2014 01:57:04 +0000 (20:57 -0500)]
exec: fix missing documentation warnings

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

9 years agotime: fix missing documentation warnings
Alexandre Terrasa [Wed, 19 Nov 2014 04:42:11 +0000 (23:42 -0500)]
time: fix missing documentation warnings

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

9 years agostream: fix missing documentation warnings
Alexandre Terrasa [Wed, 19 Nov 2014 04:28:09 +0000 (23:28 -0500)]
stream: fix missing documentation warnings

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

9 years agostring_search: fix useless var warnings
Alexandre Terrasa [Wed, 19 Nov 2014 04:22:43 +0000 (23:22 -0500)]
string_search: fix useless var warnings

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

9 years agostring_search: fix missing documentation warnings
Alexandre Terrasa [Wed, 19 Nov 2014 04:22:26 +0000 (23:22 -0500)]
string_search: fix missing documentation warnings

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

9 years agoropes: fix missing documentation warnings
Alexandre Terrasa [Thu, 20 Nov 2014 03:41:04 +0000 (22:41 -0500)]
ropes: fix missing documentation warnings

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

9 years agoropes: fix useless var warnings
Alexandre Terrasa [Wed, 19 Nov 2014 04:00:10 +0000 (23:00 -0500)]
ropes: fix useless var warnings

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

9 years agoropes: fix init warnings
Alexandre Terrasa [Thu, 20 Nov 2014 03:38:19 +0000 (22:38 -0500)]
ropes: fix init warnings

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

9 years agostring: fix missing documentation warnings
Alexandre Terrasa [Wed, 19 Nov 2014 03:55:34 +0000 (22:55 -0500)]
string: fix missing documentation warnings

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

9 years agostring: fix useless var warnings
Alexandre Terrasa [Wed, 19 Nov 2014 03:55:15 +0000 (22:55 -0500)]
string: fix useless var warnings

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

9 years agostring: fix useless private visibility warnings
Alexandre Terrasa [Wed, 19 Nov 2014 03:54:56 +0000 (22:54 -0500)]
string: fix useless private visibility warnings

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

9 years agostring: fix init warnings
Alexandre Terrasa [Wed, 19 Nov 2014 03:54:32 +0000 (22:54 -0500)]
string: fix init warnings

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

9 years agomath: add some nitunits
Alexandre Terrasa [Wed, 19 Nov 2014 03:36:43 +0000 (22:36 -0500)]
math: add some nitunits

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

9 years agomath: fix missing documentation warnings
Alexandre Terrasa [Wed, 19 Nov 2014 03:33:38 +0000 (22:33 -0500)]
math: fix missing documentation warnings

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

9 years agocollection: fix missing documentation warnings
Alexandre Terrasa [Wed, 19 Nov 2014 02:37:55 +0000 (21:37 -0500)]
collection: fix missing documentation warnings

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

9 years agohas_collection: fix useless private visibility warnings
Alexandre Terrasa [Wed, 19 Nov 2014 02:36:02 +0000 (21:36 -0500)]
has_collection: fix useless private visibility warnings

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

9 years agohash_collection: fix missing documentation warnings
Alexandre Terrasa [Wed, 19 Nov 2014 02:35:48 +0000 (21:35 -0500)]
hash_collection: fix missing documentation warnings

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

9 years agoarray: fix missing documentation warnings
Alexandre Terrasa [Wed, 19 Nov 2014 02:33:46 +0000 (21:33 -0500)]
array: fix missing documentation warnings

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

9 years agoarray: fix useless private visibility warnings
Alexandre Terrasa [Wed, 19 Nov 2014 02:31:29 +0000 (21:31 -0500)]
array: fix useless private visibility warnings

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

9 years agolist: fix missing documentation warnings
Alexandre Terrasa [Wed, 19 Nov 2014 02:28:39 +0000 (21:28 -0500)]
list: fix missing documentation warnings

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

9 years agorange: fix the behavior of `length` on empty ranges
Alexandre Terrasa [Wed, 19 Nov 2014 02:26:11 +0000 (21:26 -0500)]
range: fix the behavior of `length` on empty ranges

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

9 years agoneo_doxygen: Register tests.
Jean-Christophe Beaupré [Mon, 24 Nov 2014 14:39:24 +0000 (09:39 -0500)]
neo_doxygen: Register tests.

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

9 years agoneo_doxygen: Add some integration tests.
Jean-Christophe Beaupré [Tue, 25 Nov 2014 18:19:55 +0000 (13:19 -0500)]
neo_doxygen: Add some integration tests.

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

9 years agoneo_doxygen: Add some unit tests.
Jean-Christophe Beaupré [Mon, 24 Nov 2014 14:37:54 +0000 (09:37 -0500)]
neo_doxygen: Add some unit tests.

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

9 years agoneo_doxygen: Add generated test data.
Jean-Christophe Beaupré [Mon, 24 Nov 2014 14:35:28 +0000 (09:35 -0500)]
neo_doxygen: Add generated test data.

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

9 years agoneo_doxygen: Add dummy projects.
Jean-Christophe Beaupré [Mon, 24 Nov 2014 19:58:21 +0000 (14:58 -0500)]
neo_doxygen: Add dummy projects.

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

9 years agoneo_doxygen: Add scripts to generate test data.
Jean-Christophe Beaupré [Mon, 24 Nov 2014 19:28:30 +0000 (14:28 -0500)]
neo_doxygen: Add scripts to generate test data.

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

9 years agoneo_doxygen: Add a “README” for `sh-lib`.
Jean-Christophe Beaupré [Mon, 24 Nov 2014 14:54:42 +0000 (09:54 -0500)]
neo_doxygen: Add a “README” for `sh-lib`.

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

9 years agoneo_doxygen: Add a “README”.
Jean-Christophe Beaupré [Mon, 24 Nov 2014 19:22:18 +0000 (14:22 -0500)]
neo_doxygen: Add a “README”.

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

9 years agoneo_doxygen: Document the actual logic for relationships between compounds.
Jean-Christophe Beaupré [Mon, 24 Nov 2014 19:27:12 +0000 (14:27 -0500)]
neo_doxygen: Document the actual logic for relationships between compounds.

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

9 years agoneo_doxygen: Trim whitespace and empty descriptions.
Jean-Christophe Beaupré [Mon, 24 Nov 2014 14:22:19 +0000 (09:22 -0500)]
neo_doxygen: Trim whitespace and empty descriptions.

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

9 years agoneo_doxygen: Force the standard output to flush.
Jean-Christophe Beaupré [Mon, 24 Nov 2014 01:41:37 +0000 (20:41 -0500)]
neo_doxygen: Force the standard output to flush.

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

9 years agopthreads: delete `NativePthread::attr` as it is not portable and unused
Alexis Laferrière [Tue, 25 Nov 2014 16:57:30 +0000 (11:57 -0500)]
pthreads: delete `NativePthread::attr` as it is not portable and unused

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

9 years agopthreads: fix `NativePthread::equal`
Alexis Laferrière [Tue, 25 Nov 2014 16:54:42 +0000 (11:54 -0500)]
pthreads: fix `NativePthread::equal`

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

9 years agopthreads: use pkgconfig to locate gc.h
Alexis Laferrière [Tue, 25 Nov 2014 16:51:51 +0000 (11:51 -0500)]
pthreads: use pkgconfig to locate gc.h

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

9 years agoneo_doxygen: Isolate Neo4j’s services.
Jean-Christophe Beaupré [Tue, 25 Nov 2014 16:51:11 +0000 (11:51 -0500)]
neo_doxygen: Isolate Neo4j’s services.

This will permit to test the program without requiring a Neo4j server.

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

9 years agoMerge: git: ignore nitunit.xml files
Jean Privat [Tue, 25 Nov 2014 04:05:36 +0000 (23:05 -0500)]
Merge: git: ignore nitunit.xml files

These nasty files start swarming all over my Nit folder...

Ignore!

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

Pull-Request: #929
Reviewed-by: Jean Privat <jean@pryen.org>

9 years agoMerge: Nitiwiki: a quick wiki builder based on markdown files
Jean Privat [Tue, 25 Nov 2014 01:05:56 +0000 (20:05 -0500)]
Merge: Nitiwiki: a quick wiki builder based on markdown files

Introduces `nitiwiki` a contrib tool that generate an html wiki structure based on markdown files.
Behavior is very similar to ikiwiki (but simplified).

Features:

* automatic wiki structure from folders hierarchy
* automatic site menu
* automatic sitemap
* automatic summaries
* easy and rapid templating
* customizable section templates and menus
* rsync synchronization
* git synchronization

See http://moz-code.org/nitiwiki/ for online documentation. This is actually the `README.md` file rendered by nitiwiki. The full wiki can be found in `contrib/examples/nitiwiki`

Another example can be found at http://moz-code.org/uqam/. This is my TA site, entirely based on nitiwiki.

Pull-Request: #765
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: Markdown Extended
Jean Privat [Tue, 25 Nov 2014 01:04:59 +0000 (20:04 -0500)]
Merge: Markdown Extended

Added extrended mode to the markdown parser.

Features:
* fences and meta
* super span
* strike span

Pull-Request: #784
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: SELF type
Jean Privat [Tue, 25 Nov 2014 01:04:13 +0000 (20:04 -0500)]
Merge: SELF type

If Object defines a virtual type SELF, redefines it automatically in all subclasses. Also checks for some conditions on the declaration of SELF: it must be public, it must not be fixed and it must be declared on Object (or not declared at all). These conditions ensures that its refinements are valid.

The error messages when trying to redefining SELF could be improved. Maybe adding a special case preventing any redef of SELF?

Pull-Request: #902
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Etienne M. Gagnon <egagnon@j-meg.com>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

9 years agoMerge: Prepare for the android UI module
Jean Privat [Tue, 25 Nov 2014 01:02:21 +0000 (20:02 -0500)]
Merge: Prepare for the android UI module

* Not all pthreads features are supported on Android, thus the changes.
* Changing the `data_store` signature is enough to support nulls because the APIs of both underlying implementations already supported them.
* Declaring the lines for <activity> in the modules allows for non-fullscreen and non-orientation-locked apps!

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

9 years agosrc: rename old `markdown` module in `docdown` to avoid merge conflicts
Alexandre Terrasa [Mon, 24 Nov 2014 22:25:02 +0000 (17:25 -0500)]
src: rename old `markdown` module in `docdown` to avoid merge conflicts

The old markdown module will disappear in a further PR.

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

9 years agonitiwiki: add nitiwiki to listfull.sh
Alexandre Terrasa [Mon, 24 Nov 2014 17:01:33 +0000 (12:01 -0500)]
nitiwiki: add nitiwiki to listfull.sh

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

9 years agonitiwiki: add out/ directories to gitignore list
Alexandre Terrasa [Mon, 24 Nov 2014 16:31:29 +0000 (11:31 -0500)]
nitiwiki: add out/ directories to gitignore list

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

9 years agonitiwiki: add nitiwiki help page as example
Alexandre Terrasa [Tue, 23 Sep 2014 02:26:41 +0000 (22:26 -0400)]
nitiwiki: add nitiwiki help page as example

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

9 years agonitiwiki: added default skeletton
Alexandre Terrasa [Tue, 23 Sep 2014 02:15:04 +0000 (22:15 -0400)]
nitiwiki: added default skeletton

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

9 years agonitiwiki: add Makefile
Alexandre Terrasa [Tue, 23 Sep 2014 00:13:54 +0000 (20:13 -0400)]
nitiwiki: add Makefile

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

9 years agonitiwiki: add README
Alexandre Terrasa [Tue, 23 Sep 2014 00:13:45 +0000 (20:13 -0400)]
nitiwiki: add README

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

9 years agonitiwiki: nitiwiki is now tested by nit/tests/tests.sh
Alexandre Terrasa [Tue, 23 Sep 2014 00:13:38 +0000 (20:13 -0400)]
nitiwiki: nitiwiki is now tested by nit/tests/tests.sh

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

9 years agonitiwiki: add custom tests
Alexandre Terrasa [Tue, 23 Sep 2014 00:13:02 +0000 (20:13 -0400)]
nitiwiki: add custom tests

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

9 years agonitiwiki: add a test wiki for basic testing
Alexandre Terrasa [Tue, 23 Sep 2014 00:12:43 +0000 (20:12 -0400)]
nitiwiki: add a test wiki for basic testing

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

9 years agoneo4j: Accept URLs ending with a slash.
Jean-Christophe Beaupré [Mon, 24 Nov 2014 18:38:00 +0000 (13:38 -0500)]
neo4j: Accept URLs ending with a slash.

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

9 years agoneo4j: Avoid injections.
Jean-Christophe Beaupré [Mon, 24 Nov 2014 21:58:18 +0000 (16:58 -0500)]
neo4j: Avoid injections.

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

9 years agonitiwiki: add the main executable
Alexandre Terrasa [Tue, 23 Sep 2014 00:11:00 +0000 (20:11 -0400)]
nitiwiki: add the main executable

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

9 years agonitiwiki: implements html generation.
Alexandre Terrasa [Tue, 23 Sep 2014 00:10:41 +0000 (20:10 -0400)]
nitiwiki: implements html generation.

nitiwiki can now render wiki in html

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

9 years agocontrib: Introduce nitiwiki
Alexandre Terrasa [Tue, 23 Sep 2014 00:10:07 +0000 (20:10 -0400)]
contrib: Introduce nitiwiki

INtroduce nitiwiki base concepts.

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

9 years agogit: ignore nitunit.xml files
Alexandre Terrasa [Mon, 24 Nov 2014 18:32:38 +0000 (13:32 -0500)]
git: ignore nitunit.xml files

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

9 years agomarkdown: set extended mode as default
Alexandre Terrasa [Mon, 24 Nov 2014 16:22:03 +0000 (11:22 -0500)]
markdown: set extended mode as default

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

9 years agotests: update line numbers in sav file of `error_class_glob`
Alexis Laferrière [Mon, 24 Nov 2014 15:59:10 +0000 (10:59 -0500)]
tests: update line numbers in sav file of `error_class_glob`

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

9 years agoneo_doxygen: Make `ProjectGraph.put_edges` overwriting the old edges.
Jean-Christophe Beaupré [Mon, 17 Nov 2014 22:13:04 +0000 (17:13 -0500)]
neo_doxygen: Make `ProjectGraph.put_edges` overwriting the old edges.

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

9 years agoneo_doxygen: Use the constants in the `Makefile`.
Jean-Christophe Beaupré [Thu, 20 Nov 2014 18:20:12 +0000 (13:20 -0500)]
neo_doxygen: Use the constants in the `Makefile`.

`NITG` and `NITG_FLAGS` was unused.

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

9 years agoneo_doxygen: Remove dead code from `gen-all.sh`.
Jean-Christophe Beaupré [Wed, 19 Nov 2014 20:06:29 +0000 (15:06 -0500)]
neo_doxygen: Remove dead code from `gen-all.sh`.

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

9 years agoneo_doxygen: Remove an old TODO.
Jean-Christophe Beaupré [Wed, 19 Nov 2014 20:17:44 +0000 (15:17 -0500)]
neo_doxygen: Remove an old TODO.

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

9 years agoneo_doxygen: Sort options alphabetically.
Jean-Christophe Beaupré [Wed, 19 Nov 2014 20:32:19 +0000 (15:32 -0500)]
neo_doxygen: Sort options alphabetically.

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

9 years agoneo_doxygen: Remove unreliable terminal-related features.
Jean-Christophe Beaupré [Wed, 19 Nov 2014 20:28:52 +0000 (15:28 -0500)]
neo_doxygen: Remove unreliable terminal-related features.

Only use Restore Cursor Position when it is unlikely that the screen scrolls
down.

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

9 years agoneo_doxygen: Do not override the `abstract` attribute to `false`.
Jean-Christophe Beaupré [Mon, 24 Nov 2014 14:24:14 +0000 (09:24 -0500)]
neo_doxygen: Do not override the `abstract` attribute to `false`.

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

9 years agosaxophonit: Add a test for mixed content.
Jean-Christophe Beaupré [Mon, 24 Nov 2014 14:39:55 +0000 (09:39 -0500)]
saxophonit: Add a test for mixed content.

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

9 years agopthreads: do not include `gc.h` on Android
Alexis Laferrière [Sat, 22 Nov 2014 02:37:56 +0000 (21:37 -0500)]
pthreads: do not include `gc.h` on Android

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

9 years agopthreads: move `NativePthreadBarrier` to `pthreads::extra`
Alexis Laferrière [Sat, 22 Nov 2014 02:33:22 +0000 (21:33 -0500)]
pthreads: move `NativePthreadBarrier` to `pthreads::extra`

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

9 years agopthreads: reimplement `Barrier` to be more portable
Alexis Laferrière [Sat, 22 Nov 2014 02:32:33 +0000 (21:32 -0500)]
pthreads: reimplement `Barrier` to be more portable

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

9 years agopthreads: move `cancel` related services to a new `extra` module
Alexis Laferrière [Sat, 22 Nov 2014 02:31:14 +0000 (21:31 -0500)]
pthreads: move `cancel` related services to a new `extra` module

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

9 years agolib/data_store: allow storing null
Alexis Laferrière [Tue, 30 Sep 2014 19:23:45 +0000 (15:23 -0400)]
lib/data_store: allow storing null

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

9 years agonitg&mnit_android: move mnit specific activity attributes to mnit modules
Alexis Laferrière [Sat, 22 Nov 2014 01:48:12 +0000 (20:48 -0500)]
nitg&mnit_android: move mnit specific activity attributes to mnit modules

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

9 years agonitg&android: add the android_manifest_activity annotation
Alexis Laferrière [Sat, 22 Nov 2014 01:47:09 +0000 (20:47 -0500)]
nitg&android: add the android_manifest_activity annotation

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

9 years agoandroid: add missing annotation "android_manifest_application"
Alexis Laferrière [Sat, 9 Aug 2014 21:12:51 +0000 (17:12 -0400)]
android: add missing annotation "android_manifest_application"

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

9 years agoandroid: fix name of extern lib in manifest
Alexis Laferrière [Thu, 7 Aug 2014 11:47:30 +0000 (07:47 -0400)]
android: fix name of extern lib in manifest

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

9 years agoandroid: fix use extra_java_files from all modules
Alexis Laferrière [Thu, 11 Sep 2014 01:52:46 +0000 (21:52 -0400)]
android: fix use extra_java_files from all modules

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

9 years agoMerge: lib/standard/math: Added round method to floats
Jean Privat [Fri, 21 Nov 2014 02:25:20 +0000 (21:25 -0500)]
Merge: lib/standard/math: Added round method to floats

Yes, I know, it can be done right now using a simple trick like `1.34.to_i.to_f`, but it seems counter-intuitive to me, why not have a round method in Float (besides, it should be a bit faster) ?

I leave it to you, is it worth it to add this to standard ?

If it is, well +1 and let's merge this :)

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

9 years agoMerge: lib: add Float::is_approx to compare floats
Jean Privat [Fri, 21 Nov 2014 02:25:15 +0000 (21:25 -0500)]
Merge: lib: add Float::is_approx to compare floats

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

9 years agolib/standard/math: Added round method to floats
Lucas Bajolet [Thu, 20 Nov 2014 19:53:12 +0000 (14:53 -0500)]
lib/standard/math: Added round method to floats

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

9 years agotests: fix expected output of `base_gen_reassign` with nitg-e
Alexis Laferrière [Thu, 20 Nov 2014 18:05:47 +0000 (13:05 -0500)]
tests: fix expected output of `base_gen_reassign` with nitg-e

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

9 years agotests: update because changes in kernel
Jean Privat [Thu, 20 Nov 2014 14:05:59 +0000 (09:05 -0500)]
tests: update because changes in kernel

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

9 years agolib: add Float::is_approx to compare floats
Jean Privat [Thu, 20 Nov 2014 14:02:44 +0000 (09:02 -0500)]
lib: add Float::is_approx to compare floats

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