lib/standard/string: Fixed bug in to_s implementations in NativeString

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/standard/string: Added redef for substrings in String

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/standard/ropes: Removed ropes.nit from standard library

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/standard/ropes: Rewrote ropes base block.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/poset: split `show_dot` in two methods

And escape the strings!

Signed-off-by: Jean Privat <jean@pryen.org>
nitdoc: Fix name mangling for graphs.

Fix #881.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
lib/ropes: Added buffered variant of Ropes.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/standard/ropes: Introducing RopeBuffer, a mutable `Rope` optimized for concatenations.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib: Updated lib for compliance with the new ropes

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
tests: Updated tests for new Ropes

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/standard: Re-activate ropes in standard

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
benchmarks/strings: Adapted for new Ropes.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
nitdoc: Change uses of FlatBuffer to RopeBuffer in nitdoc

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Merge: lib/poset: split `show_dot` in two methods

And escape the strings!

Pull-Request: #884
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
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>
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>