Jean Privat [Fri, 21 Mar 2014 00:50:26 +0000 (20:50 -0400)]
src: rename `nit_version.nit` as `version.nit`
the `nit` prefix is reserved for commands.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 20 Mar 2014 21:54:55 +0000 (17:54 -0400)]
Merge branch 'doc_on_collection'
Jean Privat [Thu, 20 Mar 2014 21:54:02 +0000 (17:54 -0400)]
Merge branch 'module_paths'
This series improve the way the loader identify path.
Now, directories and global projects (those in the NIT_PATH or from -I)
can be loaded
Thus, you can write
~~~
$ nitg mytool.nit -m android
~~~
A new tool, `nitls` exposes path identifications to the user than now
can list source files, projects, and both in a tree only by looking at
the file system (no parsing or whatever)
Eg. what are the projects in the directory lib (-k ignore non nit
things)
~~~
$ src/nitls lib/* -k
lib/a_star.nit
lib/android.nit
lib/base64.nit
lib/bcm2835.nit
lib/bucketed_game.nit
lib/console.nit
lib/counter.nit
lib/cpp.nit
lib/csv.nit
lib/curl
lib/curses
lib/dummy_array.nit
lib/egl.nit
lib/filter_stream.nit
lib/for_abuse.nit
lib/glesv2.nit
lib/gpio.nit
lib/gtk.nit
lib/gtk3_4
lib/gtk3_6
lib/gtk3_8
lib/html.nit
lib/json
lib/json_serialization.nit
lib/jvm.nit
lib/md5.nit
lib/mnit
lib/mnit_android
lib/mnit_linux
lib/more_collections.nit
lib/mpd.nit
lib/nitcc_runtime.nit
lib/opts.nit
lib/ordered_tree.nit
lib/pipeline.nit
lib/poset.nit
lib/posix_ext.nit
lib/privileges.nit
lib/realtime.nit
lib/scene2d.nit
lib/serialization.nit
lib/signals.nit
lib/simple_json_reader
lib/socket
lib/sqlite3
lib/standard
lib/symbol.nit
lib/template.nit
lib/x11.nit
~~~
All stuff from standard in a tree
~~~
$ nitls lib/standard/ -r -t
standard
|--collection
| |--lib/standard/collection/abstract_collection.nit
| |--lib/standard/collection/array.nit
| |--lib/standard/collection/collection.nit
| |--lib/standard/collection/hash_collection.nit
| |--lib/standard/collection/list.nit
| |--lib/standard/collection/range.nit
| `--lib/standard/collection/sorter.nit
|--lib/standard/environ.nit
|--lib/standard/exec.nit
|--lib/standard/file.nit
|--lib/standard/gc.nit
|--lib/standard/kernel.nit
|--lib/standard/math.nit
|--lib/standard/posix.nit
|--lib/standard/ropes.nit
|--lib/standard/standard.nit
|--lib/standard/stream.nit
|--lib/standard/string.nit
|--lib/standard/string_search.nit
`--lib/standard/time.nit
~~~
Conflicts:
tests/testfull.sh
Jean Privat [Thu, 20 Mar 2014 09:44:42 +0000 (05:44 -0400)]
tests: do not use now-private classes
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 20 Mar 2014 09:15:16 +0000 (05:15 -0400)]
lib/coll: make private some specific implementations of interfaces
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 20 Mar 2014 09:14:07 +0000 (05:14 -0400)]
lib/coll: make CoupleMapIterator private
Thus introduce a protected service `CoupleMap::couple_iterator` to
factorise the instantiation.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 20 Mar 2014 09:10:52 +0000 (05:10 -0400)]
lib/coll: generalize `insert` in Sequence
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 20 Mar 2014 09:04:07 +0000 (05:04 -0400)]
lib/coll: move *index_of* in Sequence
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 20 Mar 2014 01:23:18 +0000 (21:23 -0400)]
lib: document abstract_collection + nitunit tests
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 20 Mar 2014 20:24:58 +0000 (16:24 -0400)]
Merge branch 'model_entity'
Basically, this adds a super-class MEntity and a class MDoc in model.
Now, tools that need to deal with abstractions of entities and with
documentation could be simplified.
Jean Privat [Thu, 20 Mar 2014 01:40:00 +0000 (21:40 -0400)]
lib/array: fix AbstractArray::unshift
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 19 Mar 2014 20:00:46 +0000 (16:00 -0400)]
tests: add and update test_markdown
A old version of sav/test_markdown.res existed but was not executed
by fulltest.sh
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 19 Mar 2014 19:56:56 +0000 (15:56 -0400)]
test_markdown: adapt to MDoc
and update to the new lib/html API
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 19 Mar 2014 19:56:03 +0000 (15:56 -0400)]
nitx: adapt to MDoc
all `modelbuilder.mthing2nthing` have disappeared.
However, the new MEntity class still need to be used to factorize code.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 19 Mar 2014 19:53:05 +0000 (15:53 -0400)]
nitunit: adapt do MDoc
Quite simple indeed.
Since the point is just to collect pieces of code, the walk on the AST is
still the best path.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 19 Mar 2014 19:51:43 +0000 (15:51 -0400)]
nitdoc: adaptation for MDoc
The adaptation is minimal.
I tried to write a more complete adaptation but a in-depth rewriting
could be more useful since the new classes MEntity and MDoc should really
simplify things.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 19 Mar 2014 19:48:34 +0000 (15:48 -0400)]
markdown: work on MDoc (instead of ADoc)
This commit broke the clients nitdoc, nitunit, and nitx.
The next commits will fix them (hopefully).
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 19 Mar 2014 19:41:55 +0000 (15:41 -0400)]
modelbuilder: fill the `mdoc` of entities
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 19 Mar 2014 19:40:52 +0000 (15:40 -0400)]
model: add module `model/mdoc` to attach optional MDoc to model entities
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 19 Mar 2014 18:50:33 +0000 (14:50 -0400)]
model: add `MEntity` as a superclass for model entities (ie. most classes in model)
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 19 Mar 2014 18:48:59 +0000 (14:48 -0400)]
lib/html: add a lot of nitunit tests
Also fix a bug related to the css `style` attribute thanks to those tests!
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 19 Mar 2014 18:47:22 +0000 (14:47 -0400)]
Merge remote-tracking branch 'alexis/various-ffi-fixes'
Alexis Laferrière [Sat, 15 Mar 2014 15:04:06 +0000 (11:04 -0400)]
android: make apps fullscreen
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 15 Mar 2014 15:03:48 +0000 (11:03 -0400)]
android: cleanup indentation in generation of xml files
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Wed, 19 Mar 2014 13:46:47 +0000 (09:46 -0400)]
nitls: add -M option do list dependencies
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 19 Mar 2014 12:55:04 +0000 (08:55 -0400)]
Merge remote-tracking branch 'alexis/more-jvm'
Jean Privat [Tue, 18 Mar 2014 19:42:15 +0000 (15:42 -0400)]
tests: update error_mod_unk.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 18 Mar 2014 19:04:33 +0000 (15:04 -0400)]
Makefile: rule `doc/stdlib/index.html` use `nitls` instead of `find`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 18 Mar 2014 19:03:11 +0000 (15:03 -0400)]
Makefile: build nitls
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 18 Mar 2014 19:00:32 +0000 (15:00 -0400)]
tests: add nitls
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 18 Mar 2014 18:59:40 +0000 (14:59 -0400)]
src: new tool nitls
Simple tool to list nit source files in directories.
The tool is really fast since it does not load files, just look at the
structure of files and directories.
There is a bunch of cool options, try it.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 18 Mar 2014 18:44:51 +0000 (14:44 -0400)]
modelbuilder: add `MGroup::module_paths` to store potential nit files
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 18 Mar 2014 18:44:17 +0000 (14:44 -0400)]
modelbuilder: `identify_file` works with directories and module names
* `cvs` will get `../lib/csv.nit`
* `curl` will get `../lib/curl/curl.nit`
* `some/path/` could get `some/path/path.nit`
This enable some fun the the option `-m`:
$ nitg someprog.nit -m android
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 18 Mar 2014 18:30:48 +0000 (14:30 -0400)]
modelbuilder: extract `search_module_in_paths` from `get_mmodule_by_name`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 18 Mar 2014 18:29:29 +0000 (14:29 -0400)]
modelbuilder: get_mmodule_by_name only output lookpaths instead of tries
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 18 Mar 2014 18:25:27 +0000 (14:25 -0400)]
lib/kernel: add `Bool::to_i`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 18 Mar 2014 16:58:18 +0000 (12:58 -0400)]
Merge branch 'streamable'
Alexis Laferrière [Tue, 18 Mar 2014 15:21:13 +0000 (11:21 -0400)]
tests: add errors to the jvm tests
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 18 Mar 2014 15:09:13 +0000 (11:09 -0400)]
tests: test JavaVM::destroy and ::env
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 14 Mar 2014 19:10:48 +0000 (15:10 -0400)]
tests: improve error handling in test_jvm
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Tue, 18 Mar 2014 15:05:40 +0000 (11:05 -0400)]
Merge branch 'comparators'
Jean Privat [Tue, 18 Mar 2014 15:05:25 +0000 (11:05 -0400)]
Merge branch 'file_string'
Jean Privat [Tue, 18 Mar 2014 15:05:07 +0000 (11:05 -0400)]
Merge remote-tracking branch 'alexis/vim'
Jean Privat [Tue, 18 Mar 2014 15:03:58 +0000 (11:03 -0400)]
lib/html: adapt HTMLPage & HTMLTag to Streamable
And update clients to the new API
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Thu, 13 Mar 2014 04:11:20 +0000 (00:11 -0400)]
nitg: add an extra \n after FFI rules for a better style of the generated mk
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Thu, 13 Mar 2014 04:10:40 +0000 (00:10 -0400)]
nitg: fix use of dep_rules to differentiate between rules and .o
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 15 Mar 2014 14:59:17 +0000 (10:59 -0400)]
lib/jvm: intro JavaVM::attach_current_thread
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 15 Mar 2014 12:23:46 +0000 (08:23 -0400)]
lib/jvm: intro JavaVM::env
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 15 Mar 2014 14:58:20 +0000 (10:58 -0400)]
lib/jvm: rename JavaVM::destroy
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 15 Mar 2014 14:57:58 +0000 (10:57 -0400)]
lib/jvm: clean up JavaVM error system
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 14 Mar 2014 19:11:07 +0000 (15:11 -0400)]
lib/jvm: create JVM with custom options
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 14 Mar 2014 19:07:41 +0000 (15:07 -0400)]
lib/kernel: intro Pointer::free
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 15 Mar 2014 00:46:05 +0000 (20:46 -0400)]
misc: add support for FFI with Java and C++ to vim syntax
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 15 Mar 2014 11:20:21 +0000 (07:20 -0400)]
misc: use nitc instead of nitg in syntastic
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Fri, 14 Mar 2014 20:23:50 +0000 (16:23 -0400)]
lib/file: fix border-use-cases of String::basename
and add nitunit tests to improve documentation
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 14 Mar 2014 20:22:19 +0000 (16:22 -0400)]
lib/file: remove all trailing / on String::dirname
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 14 Mar 2014 20:20:05 +0000 (16:20 -0400)]
Merge remote-tracking branch 'alexis/lib-jvm'
Romain Chanoir [Tue, 18 Feb 2014 15:02:45 +0000 (10:02 -0500)]
tests: modifies tests.sh to execute code using the jvm module
Signed-off-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Romain Chanoir [Tue, 18 Feb 2014 15:18:20 +0000 (10:18 -0500)]
tests: intro tests for the jvm module
Signed-off-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>
Romain Chanoir [Tue, 28 Jan 2014 16:07:22 +0000 (11:07 -0500)]
lib: intro the jvm module
Signed-off-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Fri, 14 Mar 2014 17:13:34 +0000 (13:13 -0400)]
Merge branch 'test_platform'
Jean Privat [Fri, 14 Mar 2014 15:20:23 +0000 (11:20 -0400)]
tests: add mnit linux examples
But no sav/ since runtime platform messages are platform dependent,
thus not reproducible.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 14 Mar 2014 01:41:55 +0000 (21:41 -0400)]
migration: use Comparator instead of Sorter in code
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 14 Mar 2014 01:26:08 +0000 (21:26 -0400)]
tests: add mnit android examples
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 14 Mar 2014 00:29:42 +0000 (20:29 -0400)]
lib/ordered_tree: adapt OrderedTree to Streamable
and update clients
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 14 Mar 2014 00:45:27 +0000 (20:45 -0400)]
lib/sorter: provide a stateless singleton `default_comparator`
This should prevent useless instantiations
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 14 Mar 2014 00:44:19 +0000 (20:44 -0400)]
lib/sorter: rename Sorter to Comparator
Old names remain for compatibility.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 13 Mar 2014 21:38:27 +0000 (17:38 -0400)]
model_viz: adapt MProjectDot to Streamable
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 13 Mar 2014 20:03:52 +0000 (16:03 -0400)]
lib/csv: adapt CSVDocument to the Streamable interface.
Also improve the efficiency of the writing implementation.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 13 Mar 2014 12:56:42 +0000 (08:56 -0400)]
lib: move `Template::write_to_*` to `Streamable`
Their implementation only depends on `write_to` that is introduced
in Streamable
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 13 Mar 2014 21:29:48 +0000 (17:29 -0400)]
tests: add basic platform management
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 13 Mar 2014 19:47:44 +0000 (15:47 -0400)]
Merge remote-tracking branch 'alexis/much-more-android'
Fixes #334
Alexis Laferrière [Thu, 13 Mar 2014 14:33:34 +0000 (10:33 -0400)]
lib: add doc to Passwd properties
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Wed, 12 Mar 2014 20:18:42 +0000 (16:18 -0400)]
examples: simplify Makefiles of mnit examples
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Wed, 12 Mar 2014 20:11:57 +0000 (16:11 -0400)]
lib: move Passwd::gecos to a new posix_ext module
The C function is only provided on some implementation of POSIX and
absent from any POSIX version.
See GNU man page of getpwnam #Conforming to.
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Thu, 13 Mar 2014 16:09:24 +0000 (12:09 -0400)]
lib: in Int::sqrt, use C sqrt function for double
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Wed, 12 Mar 2014 19:59:01 +0000 (15:59 -0400)]
lib: remove broken Int::sin/cos
Not only these functions weren't available on Android, but their
usage was invalid.
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Thu, 13 Mar 2014 12:37:28 +0000 (08:37 -0400)]
Merge branch 'dump_rta'
Alexandre Terrasa [Thu, 13 Mar 2014 04:21:35 +0000 (21:21 -0700)]
doc: modified comment for typing::AExpr::mtype
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Wed, 12 Mar 2014 17:44:07 +0000 (13:44 -0400)]
metrics/rta: save the list of live things in files
Simply use `live_types_to_csv` and `live_methods_to_tree` to produce
two files in the correct output directory.
This helps the debugging of engines when RTA is buggy or misused.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 12 Mar 2014 22:24:48 +0000 (18:24 -0400)]
Merge remote-tracking branch 'alexis/even-more-android'
Alexis Laferrière [Wed, 12 Mar 2014 19:56:27 +0000 (15:56 -0400)]
nitg: do not use libunwind for platforms which do not support it
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Wed, 12 Mar 2014 19:01:26 +0000 (15:01 -0400)]
nitg/android: lock orientation of Android applications
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Wed, 12 Mar 2014 15:03:57 +0000 (11:03 -0400)]
lib/mnit_android: use AndroidMotionEvent::action to get the pressed state
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Wed, 12 Mar 2014 15:03:35 +0000 (11:03 -0400)]
lib/mnit_android: intro AndroidMotionEvent::action
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 10 Mar 2014 18:43:26 +0000 (14:43 -0400)]
lib/mnit_android: correctly implement and use the generate_input method
This method was previously not implemented for Android.
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 11 Mar 2014 13:49:24 +0000 (09:49 -0400)]
lib/mnit_android: inverse importation of app and opengles1
Fix warnings of LOGW/I.
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 11 Mar 2014 13:48:55 +0000 (09:48 -0400)]
lib/mnit_linux: replace calls to LOGI/LOGW with fprintf
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 11 Mar 2014 13:48:07 +0000 (09:48 -0400)]
lib/mnit: less C warnings for LOGI/W
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Wed, 12 Mar 2014 18:20:50 +0000 (14:20 -0400)]
Merge branch 'metrics'
Jean Privat [Wed, 12 Mar 2014 18:20:26 +0000 (14:20 -0400)]
Merge branch 'fix_module_owner_placebo'
Jean Privat [Wed, 12 Mar 2014 17:41:07 +0000 (13:41 -0400)]
rta: add `live_methods_to_tree` to provide human-readable infos on methods
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 12 Mar 2014 17:18:31 +0000 (13:18 -0400)]
rta: add `live_types_to_csv` to provide human-readable info on types
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 12 Mar 2014 16:07:28 +0000 (12:07 -0400)]
model: fix module owner placebo
nitdoc still rely on the old nesting hierarchy.
But the implementation of the placebo was buggy if a nested module is
loaded before its nesting module (because a wrongful usage of
`.mmodules.first`).
This patch has two small parts
* add a method `fuzzy_owner` to a MGroup (to replace the crazy
`.mmodules.first`)
* a special case is added when a nesting module is loaded after some of
its nested ones
Fix #324
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Mon, 10 Mar 2014 23:20:09 +0000 (19:20 -0400)]
nitg: fix compilation of assets to apk
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 10 Mar 2014 18:45:37 +0000 (14:45 -0400)]
lib/mnit_android: fix redef of Object::print
This old hack was revealed by the latest merge of FFI related PR.
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Wed, 12 Mar 2014 15:29:47 +0000 (11:29 -0400)]
Merge remote-tracking branch 'alexis/a_star'
The type error was detected by nitg in complex cases.
Alexis Laferrière [Tue, 11 Mar 2014 15:00:44 +0000 (11:00 -0400)]
lib/a_star: minor style cleanup
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 11 Mar 2014 15:00:06 +0000 (11:00 -0400)]
lib/a_star: fix use of virtual type in Node::path_to
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Wed, 12 Mar 2014 15:00:14 +0000 (11:00 -0400)]
tests: update nitmetrics stuff
Note: nobody saw it but there was a `Assert failed` in the previous sav file.
Signed-off-by: Jean Privat <jean@pryen.org>