lib/string: fix and beef-up `chomp`

Signed-off-by: Jean Privat <jean@pryen.org>
lib/stream: eof is blocking

Signed-off-by: Jean Privat <jean@pryen.org>
lib/stream: `BufferedIStream::append_line_to` does not eat `\n` per documentation

Signed-off-by: Jean Privat <jean@pryen.org>
lib/ini: fix bad subtring for path

Signed-off-by: Jean Privat <jean@pryen.org>
lib/stream: document and test `append_line_to`

Signed-off-by: Jean Privat <jean@pryen.org>
lib/stream: `read_line` chomp EOL, like read_lines

Signed-off-by: Jean Privat <jean@pryen.org>
lib/stream: document `read_all`

Signed-off-by: Jean Privat <jean@pryen.org>
code: update clients of readline since eol is stripped

Signed-off-by: Jean Privat <jean@pryen.org>
tests: update sav since read_line strips eol

Signed-off-by: Jean Privat <jean@pryen.org>
lib/kernel: use the legacy NI for `Pointer::free` to work with nitg_0

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/file: fix whitespace errors

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/file: revamp API with `Path` and a nity `FileStat`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: rename `Path` to `AStarPath`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/markdown: escape bad html tags

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/markdown: remove forgotten print

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/markdown: makes MarkdownProcessor::emitter writable

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitdoc: introduces `doc_down` a module to parse Nit comments

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitdoc: generates documentation using `doc_down`.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/standard: fixes bad indent in comments

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/standard: fixes DocUnits parsed as list elements

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