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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Alexandre Terrasa [Thu, 25 Sep 2014 03:17:29 +0000 (23:17 -0400)]
lib/markdown: add fence meta delcaration to ext mode.
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Thu, 20 Nov 2014 03:15:15 +0000 (22:15 -0500)]
lib/markdown: add strike markup to extended mode.
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Thu, 20 Nov 2014 02:41:11 +0000 (21:41 -0500)]
lib/markdown: introduce extended mode
Allow to distinguish standard markdown features from extended one.
Already moved some features from standard to extended mode like:
* end paragraph block with list or code blocks
* underscore in the middle of words are ignored
* fences are recognized
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Thu, 20 Nov 2014 02:55:26 +0000 (21:55 -0500)]
lib/markdown: suppress super notation with `^`.
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Wed, 19 Nov 2014 15:37:25 +0000 (10:37 -0500)]
Merge: lib: some cleanup in *Capable and HashCollections
Remove ArrayCapable, StringCapable and use virtual type instead of generics for HashCollection::N
Pull-Request: #919
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Wed, 19 Nov 2014 15:37:21 +0000 (10:37 -0500)]
Merge: nitdoc: Do not overwrite search results.
Fix the main problem of #882 by avoiding the overwriting of a search
entry when 2 entities has the same name.
TODO: Make the presentation of duplicates less ambiguous.
Note: This PR concerns only the last commit. Others come from PR #907.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Pull-Request: #911
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Wed, 19 Nov 2014 15:37:17 +0000 (10:37 -0500)]
Merge: Markdown clean
Some cleaning for the markdown library.
The moved method `token_at` will be used in a further PR.
Pull-Request: #920
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Wed, 19 Nov 2014 15:37:15 +0000 (10:37 -0500)]
Merge: lib/counter: add some docunits
Pull-Request: #918
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Wed, 19 Nov 2014 02:08:50 +0000 (21:08 -0500)]
tests: update sav because line changes in std/array.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 19 Nov 2014 02:08:03 +0000 (21:08 -0500)]
compiler: resolve types when doing new NativeArray
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 19 Nov 2014 02:05:21 +0000 (21:05 -0500)]
examples/rosettacode: update ab to not crash on tests
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 18 Nov 2014 21:24:22 +0000 (16:24 -0500)]
lib/hash: HashCollection::N become a virtual type
Signed-off-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Wed, 19 Nov 2014 01:44:57 +0000 (20:44 -0500)]
markdown: clean some warnings
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 19 Nov 2014 01:40:30 +0000 (20:40 -0500)]
markdown: move token detection from `Text` to `MarkdownProcessor`
Makes it easier to redef the standard behavior by subclassing the processor.
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Tue, 18 Nov 2014 18:37:19 +0000 (13:37 -0500)]
lib: remove class StringCapable
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 18 Nov 2014 17:10:31 +0000 (12:10 -0500)]
lib: kill the class ArrayCapable
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 18 Nov 2014 14:09:55 +0000 (09:09 -0500)]
lib/counter: add some docunits
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 17 Nov 2014 22:55:57 +0000 (17:55 -0500)]
Merge: json: Refactor the APIs
Refactor the `json` library taking feedback of @privat, @Morriar and @xymus into account. Also, correct some bugs related to JSON encoding/decoding and remove ad hoc escaping routines.
TODO: Support Unicode escaping.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Pull-Request: #907
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Mon, 17 Nov 2014 22:55:32 +0000 (17:55 -0500)]
Merge: Srand by default
Some people found that it is not KISS nor POLA to have `rand` that is not random by default.
So let's just call `srand` during the init of Sys.
Pull-Request: #916
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Mon, 17 Nov 2014 22:55:29 +0000 (17:55 -0500)]
Merge: Misc fixes and improvements from WBTW
Pull-Request: #915
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Mon, 17 Nov 2014 22:55:25 +0000 (17:55 -0500)]
Merge: Force standard as public
Standard me become privately imported when importing only modules privately.
Thus, some sub-modules cannot see standard.
This PR force standard to be always public if it is imported.
Close #909
Pull-Request: #913
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Mon, 17 Nov 2014 22:55:18 +0000 (17:55 -0500)]
Merge: Improve docunits
This PR change a little the behavior of docunits.
First, blocks respect more the markdown specification where empty lines are authorized in code blocks
So this make a single code block and not two:
~~~~
# bla bla
#
# var a = 1
#
# assert a == 1
~~~~
Pull-Request: #908
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Jean-Christophe Beaupré [Fri, 14 Nov 2014 21:23:48 +0000 (16:23 -0500)]
nitdoc: Do not overwrite search results.
Fix the main problem of #882 by avoiding the overwriting of a search
entry when 2 entities has the same name.
TODO: Make the presentation of duplicates less ambiguous.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Fri, 14 Nov 2014 19:26:12 +0000 (14:26 -0500)]
json: Allow to buffer writings.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Fri, 14 Nov 2014 17:28:33 +0000 (12:28 -0500)]
nitdoc: Use `to_json` to escape JSON values.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Fri, 14 Nov 2014 22:08:26 +0000 (17:08 -0500)]
json_serialization: Use `to_json` to escape characters.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Fri, 14 Nov 2014 21:41:17 +0000 (16:41 -0500)]
neo4j: Use the `json` library.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Mon, 17 Nov 2014 21:16:17 +0000 (16:16 -0500)]
json: Add error handling to `dynamic`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Mon, 17 Nov 2014 20:24:55 +0000 (15:24 -0500)]
json: Add `JsonValue.json_type`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Fri, 14 Nov 2014 17:09:10 +0000 (12:09 -0500)]
json: Update the documentation of the main module.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Mon, 17 Nov 2014 16:10:49 +0000 (11:10 -0500)]
json: Document `parse_json`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Fri, 14 Nov 2014 16:27:18 +0000 (11:27 -0500)]
json: Rename `json_to_nit_object` to `parse_json`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Thu, 13 Nov 2014 21:34:23 +0000 (16:34 -0500)]
json: Return a `JsonParseError` on failure.
Distinguish an error from `null`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Mon, 17 Nov 2014 19:58:50 +0000 (14:58 -0500)]
json: Add `JsonParseError`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean Privat [Mon, 17 Nov 2014 18:45:51 +0000 (13:45 -0500)]
shoot: headless run forces a `srand_from(0)`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 17 Nov 2014 18:45:27 +0000 (13:45 -0500)]
lib/mnit: injected_input forces a srand_from(0)
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Mon, 17 Nov 2014 17:40:20 +0000 (12:40 -0500)]
contrib/friendz: update to use new type of `TileSetFont::hspace`
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean-Christophe Beaupré [Fri, 14 Nov 2014 16:18:35 +0000 (11:18 -0500)]
json: Make `json_to_nit_object` returns a `Jsonable`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Mon, 17 Nov 2014 16:22:08 +0000 (11:22 -0500)]
json: Add the `Jsonable` interface.
Add an interface for objects that can be translated into JSON.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean Privat [Mon, 17 Nov 2014 16:20:38 +0000 (11:20 -0500)]
lib/math: documents `srand` and `srand_from`
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Mon, 17 Nov 2014 13:59:16 +0000 (08:59 -0500)]
lib/string: allocate enough memory for '\0' in `String::native_int_to_s`
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Wed, 12 Nov 2014 04:53:55 +0000 (23:53 -0500)]
lib/jvm: fix returns from C implementations
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 16 Nov 2014 22:38:39 +0000 (17:38 -0500)]
android_mnit: free textures from main memory after loading in GPU memory
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Mon, 17 Nov 2014 16:09:32 +0000 (11:09 -0500)]
lib/standard: call srand by default
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 17 Nov 2014 16:09:07 +0000 (11:09 -0500)]
interpreter: implements srand
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 17 Nov 2014 15:54:17 +0000 (10:54 -0500)]
Merge: lib: Enhanced DisjointSet data structure
It is now possible to retrieve the number of subsets in the partition by
using the 'number_of_subsets' property. It is useful for intsance when
one wants to know if the partition is a singleton, or if is trivial
(every element is alone in its subset).
Pull-Request: #912
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 16 Nov 2014 22:38:10 +0000 (17:38 -0500)]
android_mnit: standardize gray PNG files as RGB to please OpenGL ES 1.0
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 16 Nov 2014 20:56:01 +0000 (15:56 -0500)]
android_mnit: support more PNG color formats
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 16 Nov 2014 01:27:25 +0000 (20:27 -0500)]
a_star: remove debug options (even unused, they take to much work)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 13 Oct 2014 17:02:03 +0000 (13:02 -0400)]
lib/bucketed_game: fix error in cache optimization
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Mon, 17 Nov 2014 15:45:42 +0000 (10:45 -0500)]
tests: update and improve tests for nitunit
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Mon, 10 Nov 2014 21:04:15 +0000 (16:04 -0500)]
lib/tileset: use Numerics for `hspace` and `vspace`
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean-Christophe Beaupré [Mon, 17 Nov 2014 14:46:05 +0000 (09:46 -0500)]
json: Parse all standard escape sequences.
Only escaped UTF-16 wydes above 127 are not supported yet.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean Privat [Mon, 17 Nov 2014 14:43:20 +0000 (09:43 -0500)]
tests: add base_import_standard*.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 17 Nov 2014 14:42:30 +0000 (09:42 -0500)]
modelbuilder: force `standard` to be imported
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 13 Nov 2014 18:20:35 +0000 (13:20 -0500)]
nitunit: protect generated files name a little to avoid name conflicts.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 13 Nov 2014 18:14:08 +0000 (13:14 -0500)]
nitunit: test only block of code
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 13 Nov 2014 05:06:28 +0000 (00:06 -0500)]
docdowm: empty lines are included in blocks
Signed-off-by: Jean Privat <jean@pryen.org>
Alexandre Blondin Massé [Sun, 16 Nov 2014 03:40:56 +0000 (22:40 -0500)]
lib: Enhanced DisjointSet data structure
It is now possible to retrieve the number of subsets in the partition by
using the 'number_of_subsets' property. It is useful for instance when
one wants to know if the partition is a singleton, or if it is trivial
(every element is alone in its subset).
Signed-off-by: Alexandre Blondin Massé <alexandre.blondin.masse@gmail.com>
Jean-Christophe Beaupré [Thu, 13 Nov 2014 20:03:10 +0000 (15:03 -0500)]
json: Move `to_json_value` to `Text`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Mon, 10 Nov 2014 20:04:23 +0000 (15:04 -0500)]
json: Accept only standard escaping.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Wed, 12 Nov 2014 19:42:57 +0000 (14:42 -0500)]
neo4j: Add a class for errors that are specific to Neo4j.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean Privat [Thu, 13 Nov 2014 05:10:39 +0000 (00:10 -0500)]
Merge: More escaping
compiler is more robust.
The only issue seems to be the Makefile since there is no way to have an arbitrary named goal.
Pull-Request: #899
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>