Jean Privat [Mon, 10 Nov 2014 19:54:41 +0000 (14:54 -0500)]
compiler: add and use `MModule::c_name`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 10 Nov 2014 16:57:30 +0000 (11:57 -0500)]
Merge: nitdoc: Escape paths passed to the shell.
While investigating for a possible source of the recent Jenkins crashes when generating documentation, I found that Nitdoc was not escaping paths in its shell commands properly. So, this PR fix that mistake.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Pull-Request: #893
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Mon, 10 Nov 2014 16:57:14 +0000 (11:57 -0500)]
Merge: Combinations on collection
Some addition to the library for cartesian product and other combinatoric constructions.
Memory-efficient classes are proposed, however, the current limitation over the infinite types in RTA (and in the compilation strategies in --separate et --global) reduces the usage of simple methods that could have abstracted the underlying implementation.
Pull-Request: #892
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Mon, 10 Nov 2014 16:57:05 +0000 (11:57 -0500)]
Merge: makefiles: do not uselessly use --global
Pull-Request: #889
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Sat, 8 Nov 2014 15:32:10 +0000 (10:32 -0500)]
tests: update because line changes in lib
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 8 Nov 2014 03:56:28 +0000 (22:56 -0500)]
lib: add cartesian.nit a libraby for heterogenus cartesian products
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 8 Nov 2014 03:35:14 +0000 (22:35 -0500)]
lib: add combinations.nit for combinatoric collections
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 7 Nov 2014 18:25:32 +0000 (13:25 -0500)]
makefiles: do not uselessly use --global
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sun, 9 Nov 2014 14:21:10 +0000 (09:21 -0500)]
Merge: Fix FFI global compilation on duplicated callbacks across modules
Replaces #739.
Fixes the C++ FFI bug and also the underlying C FFI bug. Still compiles the implementation of callbacks only once, but generates the redirections and aliases for each modules.
Pull-Request: #888
Reviewed-by: Jean Privat <jean@pryen.org>
Jean-Christophe Beaupré [Sat, 8 Nov 2014 04:28:12 +0000 (23:28 -0500)]
nitdoc: Escape paths passed to the shell.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Sat, 8 Nov 2014 04:24:08 +0000 (23:24 -0500)]
string: Add escaping for the POSIX Shell.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean Privat [Sat, 8 Nov 2014 03:34:17 +0000 (22:34 -0500)]
lib: add Int::factorial
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 8 Nov 2014 01:34:43 +0000 (20:34 -0500)]
lib: add Int::** for power
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 8 Nov 2014 01:33:55 +0000 (20:33 -0500)]
lib: add Array::* for repetitions
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Fri, 7 Nov 2014 18:02:04 +0000 (13:02 -0500)]
nitg/ffi: fix global compilation errors and warning on duplicated callbacks
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 7 Nov 2014 18:08:18 +0000 (13:08 -0500)]
tests: test the global compilation bug in FFI on duplicated callbacks
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Fri, 7 Nov 2014 15:40:32 +0000 (10:40 -0500)]
tests: add C++ FFI test to detect bug #737
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Fri, 7 Nov 2014 03:37:40 +0000 (22:37 -0500)]
Merge: Method dispatch in nitvm
The method dispatch in the nitvm is now functionnal with perfect hashing.
The dispatch is made by using the virtual table of the class.
Signed-off-by: Julien Pagès <julien.projet@gmail.com>
Pull-Request: #851
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Fri, 7 Nov 2014 03:37:11 +0000 (22:37 -0500)]
Merge: Useful Java services
redef `JavaObject::to_s` and intro `JavaObject::is_java_null` with doc
Pull-Request: #821
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 6 Nov 2014 23:00:22 +0000 (18:00 -0500)]
Merge: Ropes
Here they are, after a few months hiding in the fiery depths of the dumpster™, they return, once more.
The Ropes are back, and they're looking for trouble.
On a more serious note, they look a lot more performing than before, thanks to a wrapper-less structure.
The code is also simpler to read and understand (and there's lots more of documentation, I figured @Morriar would like that).
Finally, you can use Strings in a transparent way, never to create Ropes on your own, now the library does it for you.
Furthermore, `RopeBuffer` pridefully returns with the promises of crushing the `FlatBuffer` when concatenating stuff and resisting a bit more to longer strings.
(NDLR: Single-character modifications will be slow.)
Pull-Request: #829
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Thu, 6 Nov 2014 22:59:07 +0000 (17:59 -0500)]
Merge: nitdoc: Fix name mangling for graphs.
Fix #881.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Pull-Request: #883
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Thu, 6 Nov 2014 22:59:03 +0000 (17:59 -0500)]
Merge: lib/poset: split `show_dot` in two methods
And escape the strings!
Pull-Request: #884
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Tue, 28 Oct 2014 15:51:00 +0000 (11:51 -0400)]
nitdoc: Change uses of FlatBuffer to RopeBuffer in nitdoc
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Mon, 8 Sep 2014 14:16:14 +0000 (10:16 -0400)]
benchmarks/strings: Adapted for new Ropes.
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Wed, 15 Oct 2014 14:43:28 +0000 (10:43 -0400)]
lib/standard: Re-activate ropes in standard
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Tue, 4 Nov 2014 20:48:16 +0000 (15:48 -0500)]
tests: Updated tests for new Ropes
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Tue, 14 Oct 2014 16:46:06 +0000 (12:46 -0400)]
lib: Updated lib for compliance with the new ropes
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Thu, 23 Oct 2014 17:19:00 +0000 (13:19 -0400)]
lib/standard/ropes: Introducing RopeBuffer, a mutable `Rope` optimized for concatenations.
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Tue, 21 Oct 2014 14:29:44 +0000 (10:29 -0400)]
lib/ropes: Added buffered variant of Ropes.
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Jean-Christophe Beaupré [Wed, 5 Nov 2014 21:19:17 +0000 (16:19 -0500)]
nitdoc: Fix name mangling for graphs.
Fix #881.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Julien Pagès [Mon, 27 Oct 2014 15:30:48 +0000 (16:30 +0100)]
nitvm: Method dispatch is functionnal with perfect hashing
Signed-off-by: Julien Pagès <julien.projet@gmail.com>
Jean Privat [Thu, 6 Nov 2014 14:56:14 +0000 (09:56 -0500)]
lib/poset: split `show_dot` in two methods
And escape the strings!
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 6 Nov 2014 01:03:20 +0000 (20:03 -0500)]
Merge: Java FFI global compilation fix
Fixes:
* Undefined references on unused callbacks with nitg-g
* Duplicated functions on callbacks present in 2 modules
Pull-Request: #879
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 6 Nov 2014 01:02:52 +0000 (20:02 -0500)]
Merge: More manual
This improves the documentation of the other nit tools.
It could be better to read them on the http://nitlanguage.org/tools/ since this PR also enable the synchronization of the manpage on the website.
Documentation of `nit` is copied from http://nitlanguage.org/debugger/
Documentation of `nitunit` is copied from https://github.com/privat/nit/blob/master/src/testing/README
Note: a lot of options are common to the tools because they share the same frontend.
Usually, to simplify the manpages, I only indicated the options specific to the tool.
I am not fond to copy-paste each common options among all the tools, especially when the tool has only one or two original option but more than 30 *inherited* options.
Maybe creatie a `nitcli(7)` manpage that regroup common options and conventions among our tools. (à la `gitcli(7)`) ?
Pull-Request: #880
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Thu, 6 Nov 2014 01:02:17 +0000 (20:02 -0500)]
Merge: Use new constructors
Since c_src is regenerated, new-style-constructors are available in lib and tools.
Most of the job was to just to remove useless `init` and sometime adding a `noinit` or a default value to attributes.
Pull-Request: #866
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Wed, 5 Nov 2014 19:56:32 +0000 (14:56 -0500)]
nitg/ffi: fix indirect function declaration in C++ FFI
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Mon, 3 Nov 2014 07:33:13 +0000 (02:33 -0500)]
tests:update because of line changes in lib
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 3 Nov 2014 07:22:56 +0000 (02:22 -0500)]
contrib: update clients of lib
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 5 Nov 2014 19:52:53 +0000 (14:52 -0500)]
src: update most tools to new constructors
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 5 Nov 2014 16:00:52 +0000 (11:00 -0500)]
man: rewrite the documentation of the other tools
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 20:00:03 +0000 (15:00 -0500)]
man: update nitg because of #873
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 5 Nov 2014 02:21:03 +0000 (21:21 -0500)]
man: add .gitignore
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 16:00:43 +0000 (11:00 -0500)]
man: Makefile produce mdwn for ikiwiki
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 5 Nov 2014 02:17:05 +0000 (21:17 -0500)]
Merge: No auto super in new
Close #877
Pull-Request: #878
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Wed, 5 Nov 2014 00:53:21 +0000 (19:53 -0500)]
tests: update other tests related the error message on new
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Tue, 4 Nov 2014 21:45:05 +0000 (16:45 -0500)]
tests: add a test for Java FFI support in global compilation
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 4 Nov 2014 21:39:31 +0000 (16:39 -0500)]
nitg/ffi: local functions in C are `static`
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 4 Nov 2014 21:41:15 +0000 (16:41 -0500)]
nitg/ffi: fix Java FFI support in nitg-g
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Julien Pagès [Tue, 4 Nov 2014 20:37:58 +0000 (21:37 +0100)]
std: Bug fix in perfect_hashing and delete whitespaces
Signed-off-by: Julien Pagès <julien.projet@gmail.com>
Lucas Bajolet [Tue, 21 Oct 2014 14:25:41 +0000 (10:25 -0400)]
lib/standard/ropes: Rewrote ropes base block.
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Wed, 3 Sep 2014 14:18:48 +0000 (10:18 -0400)]
lib/standard/ropes: Removed ropes.nit from standard library
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Tue, 4 Nov 2014 15:54:11 +0000 (10:54 -0500)]
lib/standard/string: Added redef for substrings in String
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Tue, 4 Nov 2014 20:43:18 +0000 (15:43 -0500)]
lib/standard/string: Fixed bug in to_s implementations in NativeString
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Tue, 4 Nov 2014 20:25:26 +0000 (15:25 -0500)]
tests: update base_new to prevent #877
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 20:24:45 +0000 (15:24 -0500)]
typing: prefix instantiation error with `Type Error`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 20:23:27 +0000 (15:23 -0500)]
semantize: do not auto_super_init `new`-factories
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 20:11:20 +0000 (15:11 -0500)]
Merge: neo_doxygen: Introduce a tool to import a Doxygen model.
This tool converts the XML output generated by Doxygen to a Neo4j graph suitable for `neo.nit`.
In summary, the following is imported:
* Namespaces
* Files, generating one module for each file-namespace pair
* Classes, with inheritances
* Members, with signatures and redefinition relationships (when Doxygen provide them)
* Documentation (without formatting for the moment)
Concerning language-specific support, only some Java keywords are correctly interpreted at this point.
Note: `/contrib/neo_doxygen/gen-all.sh` and `/contrib/neo_doxygen/gen-once.sh` call `nx`, so they require PR #744.
Note2: the merge commit updates `neo.nit` to correctly merge with #872
Pull-Request: #867
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Tue, 4 Nov 2014 20:08:20 +0000 (15:08 -0500)]
Merge: Pkgconfig
Generalize the usage of pkg-config so that this command is executed by the Makefile and not the nitg compiler.
This will improve the portability of programs when the .nit_compile directory is distributed.
And thus, the initial bootstrap with `c_src`.
This is a first step toward the resolution of #864.
Pull-Request: #874
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Tue, 4 Nov 2014 20:07:42 +0000 (15:07 -0500)]
Merge: Improve tool ui
Small fixes to improve the user-interface of tools.
* nit_dir is more robust and display errors if invalid
* option --nit-dir is really needed
* remove useless and buggy --clib-path and NIT_CC_PATH
* nit does not collect options after the program file but let as options for the interpreter
* 3 -v to show class-level information, 4 -v to show property-level information
Pull-Request: #873
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Tue, 4 Nov 2014 20:07:40 +0000 (15:07 -0500)]
Merge: Manual: rewrite the man for nitg
If people like it, I may write the manpage for the other tools.
I generated the markdown to http://nitlanguage.org/tools/nitg/ so you could see the rendered result in HTML.
I plan to have pages for the tools automatically synchonized from the files in /share/man.
Pull-Request: #871
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Tue, 4 Nov 2014 20:07:17 +0000 (15:07 -0500)]
Merge: neo: Load the graph in chunks and only once.
With this fix, `neo.nit` now takes approximately 2 Gio of memory to load the graph for Apache Xerces.
Fixes #870.
Pull-Request: #872
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean-Christophe Beaupré [Tue, 4 Nov 2014 19:25:20 +0000 (14:25 -0500)]
neo_doxygen: Enhance the display of the progression.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Tue, 4 Nov 2014 19:24:14 +0000 (14:24 -0500)]
console: Add sequences for cursor moving and erasing.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean Privat [Tue, 4 Nov 2014 16:39:14 +0000 (11:39 -0500)]
c_src: update the Maklefile to protect the pkg-config commands
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 16:35:32 +0000 (11:35 -0500)]
ffi/pkgconfig: use the new pkgconfig infrastructure in the Makefile
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 16:28:27 +0000 (11:28 -0500)]
abstract_compiler: check the presence of pkgconfig libraries in the Makefile
Signed-off-by: Jean Privat <jean@pryen.org>
Jean-Christophe Beaupré [Sat, 1 Nov 2014 04:14:45 +0000 (00:14 -0400)]
neo_doxygen: Check the project’s name.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Sun, 2 Nov 2014 22:12:52 +0000 (17:12 -0500)]
neo_doxygen: Make the command user-friendly.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Thu, 30 Oct 2014 20:37:46 +0000 (16:37 -0400)]
neo_doxygen: Import type parameters
Not tested yet.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Sun, 2 Nov 2014 21:32:55 +0000 (16:32 -0500)]
neo_doxygen: Import parameters.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Sun, 2 Nov 2014 21:13:38 +0000 (16:13 -0500)]
neo_doxygen: Isolate language-specific code.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Sun, 2 Nov 2014 21:02:58 +0000 (16:02 -0500)]
neo_doxygen: Import members’ type.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Tue, 4 Nov 2014 14:33:25 +0000 (09:33 -0500)]
neo_doxygen: List members.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Sun, 2 Nov 2014 22:12:11 +0000 (17:12 -0500)]
neo_doxygen: Add types to the model.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Fri, 24 Oct 2014 15:51:03 +0000 (11:51 -0400)]
neo_doxygen: Name class’ type and definition.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Fri, 24 Oct 2014 15:47:07 +0000 (11:47 -0400)]
neo_doxygen: Avoid clearing the namespace’s id of a module.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Fri, 24 Oct 2014 18:50:23 +0000 (14:50 -0400)]
neo_doxygen: Enhance error handling in shell scripts.
Also, stop `gen-all.sh` on first error.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Fri, 24 Oct 2014 14:33:41 +0000 (10:33 -0400)]
neo_doxygen: Add shell scripts to help integration testing.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Tue, 4 Nov 2014 17:13:46 +0000 (12:13 -0500)]
neo_doxygen: Introduce a tool to import a Doxygen model.
Import the following:
* Classes
* Namespaces
* Inheritance relationships
* Documentation of classes (not formatted yet)
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Tue, 4 Nov 2014 17:09:15 +0000 (12:09 -0500)]
standard: Add tests for `Text.search_last`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Tue, 4 Nov 2014 17:12:32 +0000 (12:12 -0500)]
more_collections: Add `DefaultMap`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Tue, 4 Nov 2014 17:11:03 +0000 (12:11 -0500)]
standard: Add `Text.search_last`.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean Privat [Tue, 4 Nov 2014 16:27:49 +0000 (11:27 -0500)]
abstract_compiler: use `ExternFiles::pkgconfig` for boehm
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 16:25:34 +0000 (11:25 -0500)]
c_tools: add attribute `ExternFile::pkgconfigs` to stores needed libraries.
Thew will be resolved at the `make` time.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 16:13:59 +0000 (11:13 -0500)]
contrib/online_ide: update signature of `compute_nit_dir`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 13:59:13 +0000 (08:59 -0500)]
tests: update sav/test_toolcontext*
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 13:50:28 +0000 (08:50 -0500)]
toolcontext: hide some really internal options so they do not appears on --help
* --bash-completion
* --stub-man
* --set-dummy-tool
* --no-main
These options are still recognized, bash-completed and in the manpage
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 13:39:13 +0000 (08:39 -0500)]
tests: with niti put the options before the program
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 02:50:40 +0000 (21:50 -0500)]
modelize: 4 -v are needed fo method-level informations
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 02:40:50 +0000 (21:40 -0500)]
nit: use OptionContext flag options_before_rest
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 02:40:20 +0000 (21:40 -0500)]
lib/opts: add flag `options_before_rest`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 02:27:31 +0000 (21:27 -0500)]
toolcontext: re-add --nit-dir option with higer precedence
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 02:26:40 +0000 (21:26 -0500)]
toolcontext: nit_dir is non-nullable
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 02:25:21 +0000 (21:25 -0500)]
compiler: remove --clib-path and NIT_CC_PATH
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 4 Nov 2014 02:11:45 +0000 (21:11 -0500)]
toolcontext: make compute_nit_dir more robust
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 3 Nov 2014 16:21:00 +0000 (11:21 -0500)]
man: rewrite nitg.md
Signed-off-by: Jean Privat <jean@pryen.org>
Jean-Christophe Beaupré [Mon, 3 Nov 2014 21:35:57 +0000 (16:35 -0500)]
nitdoc: Extend the model to help the importation from Doxygen.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Mon, 3 Nov 2014 20:43:06 +0000 (15:43 -0500)]
neo: Really load the graph only once.
This cut memory consumption in half (approximately).
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean-Christophe Beaupré [Mon, 3 Nov 2014 20:38:01 +0000 (15:38 -0500)]
neo: Load the graph in chunks.
Fix #870.
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Jean Privat [Mon, 3 Nov 2014 19:45:05 +0000 (14:45 -0500)]
Merge: Bugfixes for MacOSX
Some hot-bugfixes for MacOSX.
See the individual commits for the details.
Pull-Request: #865
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>