nit.git
9 years agomnit: completely remove `mnit_zoom`
Alexis Laferrière [Sat, 3 Jan 2015 18:15:12 +0000 (13:15 -0500)]
mnit: completely remove `mnit_zoom`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agocontrib/friendz: manage zoom at the application level
Alexis Laferrière [Sat, 3 Jan 2015 18:04:46 +0000 (13:04 -0500)]
contrib/friendz: manage zoom at the application level

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agomnit: update all clients of `mnit_android` with custom orientations
Alexis Laferrière [Sat, 3 Jan 2015 17:45:49 +0000 (12:45 -0500)]
mnit: update all clients of `mnit_android` with custom orientations

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agono_warning: modules without a module clause do not cause `missing-doc` warnings
Jean Privat [Sat, 3 Jan 2015 22:03:38 +0000 (17:03 -0500)]
no_warning: modules without a module clause do not cause `missing-doc` warnings

Rationale: the presence of a `module` clause is a good heuristic to
discriminate quick and dirty prototypes from nice and clean modules

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agoloader: make `mmodule2nmodule` private
Jean Privat [Sat, 3 Jan 2015 21:36:19 +0000 (16:36 -0500)]
loader: make `mmodule2nmodule` private

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agosrc: client of `mmodule2nmodule` now use `mmodule2node`
Jean Privat [Sat, 3 Jan 2015 21:35:32 +0000 (16:35 -0500)]
src: client of `mmodule2nmodule` now use `mmodule2node`

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agoloader: new method `ModelBuilder::mmodule2node` to protect the access to `mmodule2nmo...
Jean Privat [Sat, 3 Jan 2015 21:34:09 +0000 (16:34 -0500)]
loader: new method `ModelBuilder::mmodule2node` to protect the access to `mmodule2nmodule`

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agolib/array: remove unused&deprecated `Arrray::intern_items`
Jean Privat [Sat, 3 Jan 2015 21:33:05 +0000 (16:33 -0500)]
lib/array: remove unused&deprecated `Arrray::intern_items`

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agoandroid: extract landscape and portrait configs from `android_app`
Alexis Laferrière [Sat, 3 Jan 2015 17:44:41 +0000 (12:44 -0500)]
android: extract landscape and portrait configs from `android_app`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agocontrib/friends: add icon for Android
Alexis Laferrière [Sat, 3 Jan 2015 16:49:55 +0000 (11:49 -0500)]
contrib/friends: add icon for Android

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agocontrib/friendz: give credit to Sam Hocevar for the artwork
Alexis Laferrière [Sat, 3 Jan 2015 16:49:34 +0000 (11:49 -0500)]
contrib/friendz: give credit to Sam Hocevar for the artwork

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agoandroid: add `AndroidPointerEvent::just_went_down` for `friendz`
Alexis Laferrière [Sat, 3 Jan 2015 16:49:07 +0000 (11:49 -0500)]
android: add `AndroidPointerEvent::just_went_down` for `friendz`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agoandroid: add doc and fix warnings in `input_events`
Alexis Laferrière [Sat, 3 Jan 2015 01:04:54 +0000 (20:04 -0500)]
android: add doc and fix warnings in `input_events`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agoandroid: update style of `input_events`
Alexis Laferrière [Tue, 30 Dec 2014 02:23:17 +0000 (21:23 -0500)]
android: update style of `input_events`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agoandroid: extract Android input events from `mnit_android`
Alexis Laferrière [Fri, 19 Dec 2014 01:06:37 +0000 (20:06 -0500)]
android: extract Android input events from `mnit_android`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agoversion 0.7 v0.7
Jean Privat [Sat, 3 Jan 2015 02:23:50 +0000 (21:23 -0500)]
version 0.7

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agotests: update sav/error_annot_c_compiler_alt6.res
Jean Privat [Fri, 2 Jan 2015 23:42:06 +0000 (18:42 -0500)]
tests: update sav/error_annot_c_compiler_alt6.res

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agolib/glesv2: update example
Alexis Laferrière [Fri, 2 Jan 2015 21:30:15 +0000 (16:30 -0500)]
lib/glesv2: update example

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/glesv2: intro features related to glEnable and glDisable
Alexis Laferrière [Fri, 2 Jan 2015 20:55:47 +0000 (15:55 -0500)]
lib/glesv2: intro features related to glEnable and glDisable

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/glesv2: intro `read_pixels`
Alexis Laferrière [Fri, 2 Jan 2015 20:52:41 +0000 (15:52 -0500)]
lib/glesv2: intro `read_pixels`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/glesv2: intro `blend_func` and `depth_func`
Alexis Laferrière [Fri, 2 Jan 2015 20:51:34 +0000 (15:51 -0500)]
lib/glesv2: intro `blend_func` and `depth_func`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agotests: update test_exec.nit
Jean Privat [Fri, 2 Jan 2015 22:01:50 +0000 (17:01 -0500)]
tests: update test_exec.nit

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agolib/exec: if `execvp` fails, just `_exit` instead of `abort()`
Jean Privat [Fri, 2 Jan 2015 22:01:17 +0000 (17:01 -0500)]
lib/exec: if `execvp` fails, just `_exit` instead of `abort()`

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agolib/glesv2: intro depth_range, depth_mask, polygon_offset & line_width
Alexis Laferrière [Fri, 2 Jan 2015 20:50:40 +0000 (15:50 -0500)]
lib/glesv2: intro depth_range, depth_mask, polygon_offset & line_width

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/glesv2: add some doc to `GLError`
Alexis Laferrière [Fri, 2 Jan 2015 20:49:07 +0000 (15:49 -0500)]
lib/glesv2: add some doc to `GLError`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/glesv2: intro some glTexParameter related features
Alexis Laferrière [Fri, 2 Jan 2015 21:26:11 +0000 (16:26 -0500)]
lib/glesv2: intro some glTexParameter related features

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/glesv2: intro culling related features
Alexis Laferrière [Fri, 2 Jan 2015 20:41:29 +0000 (15:41 -0500)]
lib/glesv2: intro culling related features

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/glesv2: use `GLES` to cleanly organize top level services
Alexis Laferrière [Fri, 2 Jan 2015 20:39:32 +0000 (15:39 -0500)]
lib/glesv2: use `GLES` to cleanly organize top level services

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/glesv2: intro GLEnum and subclass GLError and GLFloatDataType
Alexis Laferrière [Fri, 2 Jan 2015 20:35:23 +0000 (15:35 -0500)]
lib/glesv2: intro GLEnum and subclass GLError and GLFloatDataType

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/glesv2: simplify implementation of `GLShader::source=`
Alexis Laferrière [Fri, 2 Jan 2015 16:24:46 +0000 (11:24 -0500)]
lib/glesv2: simplify implementation of `GLShader::source=`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agocompiler: erasure use `ctype_extern` to box stuff
Jean Privat [Fri, 2 Jan 2015 20:57:45 +0000 (15:57 -0500)]
compiler: erasure use `ctype_extern` to box stuff

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agogc_chooser: avoid `undeclared gc_register_finalizer` by correctly declaring it
Jean Privat [Fri, 2 Jan 2015 20:56:58 +0000 (15:56 -0500)]
gc_chooser: avoid `undeclared gc_register_finalizer` by correctly declaring it

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agocontrib/nitiwiki: fixes nitiwiki warnings
Alexandre Terrasa [Tue, 30 Dec 2014 15:30:58 +0000 (16:30 +0100)]
contrib/nitiwiki: fixes nitiwiki warnings

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

9 years agoneo4j/graph: Enlarge in advance when loading from JSON.
Jean-Christophe Beaupré [Sat, 20 Dec 2014 22:43:30 +0000 (17:43 -0500)]
neo4j/graph: Enlarge in advance when loading from JSON.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo4j/graph: Add a JSON storage mechanism.
Jean-Christophe Beaupré [Sun, 21 Dec 2014 00:55:35 +0000 (19:55 -0500)]
neo4j/graph: Add a JSON storage mechanism.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo4j/graph: Implement optimization services of `SequentialNodeCollection`.
Jean-Christophe Beaupré [Sat, 20 Dec 2014 19:24:57 +0000 (14:24 -0500)]
neo4j/graph: Implement optimization services of `SequentialNodeCollection`.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo4j/graph: Optimize some services of `SequentialNodeCollection`.
Jean-Christophe Beaupré [Sat, 20 Dec 2014 19:35:33 +0000 (14:35 -0500)]
neo4j/graph: Optimize some services of `SequentialNodeCollection`.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo4j/graph: Add a sequential identification scheme.
Jean-Christophe Beaupré [Sat, 20 Dec 2014 19:27:30 +0000 (14:27 -0500)]
neo4j/graph: Add a sequential identification scheme.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo4j/graph: Add Neo4j as a storage mechanism.
Jean-Christophe Beaupré [Sat, 20 Dec 2014 23:00:35 +0000 (18:00 -0500)]
neo4j/graph: Add Neo4j as a storage mechanism.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo4j/graph: Add optimization methods.
Jean-Christophe Beaupré [Sat, 20 Dec 2014 22:56:46 +0000 (17:56 -0500)]
neo4j/graph: Add optimization methods.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo4j/graph: Add node removal methods.
Jean-Christophe Beaupré [Sat, 20 Dec 2014 18:35:57 +0000 (13:35 -0500)]
neo4j/graph: Add node removal methods.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo4j: Add an API for graphs.
Jean-Christophe Beaupré [Sat, 20 Dec 2014 23:09:17 +0000 (18:09 -0500)]
neo4j: Add an API for graphs.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo4j: Remove `json_store`.
Jean-Christophe Beaupré [Sat, 20 Dec 2014 17:50:37 +0000 (12:50 -0500)]
neo4j: Remove `json_store`.

Will be replaced by something better.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoprogression: Add an API for progression tracking.
Jean-Christophe Beaupré [Sat, 20 Dec 2014 02:43:11 +0000 (21:43 -0500)]
progression: Add an API for progression tracking.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agostream: Optimize `StringIStream.read_all`
Jean-Christophe Beaupré [Sat, 20 Dec 2014 21:00:36 +0000 (16:00 -0500)]
stream: Optimize `StringIStream.read_all`

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agopipeline: Add `NullSkipper`.
Jean-Christophe Beaupré [Mon, 29 Dec 2014 20:50:44 +0000 (15:50 -0500)]
pipeline: Add `NullSkipper`.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agojson: Factorize the trivial implementation of `to_json`.
Jean-Christophe Beaupré [Wed, 17 Dec 2014 14:39:19 +0000 (09:39 -0500)]
json: Factorize the trivial implementation of `to_json`.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoMerge: Minor Modifications to GTK3
Jean Privat [Mon, 29 Dec 2014 01:20:17 +0000 (20:20 -0500)]
Merge: Minor Modifications to GTK3

Pull-Request: #1068
Reviewed-by: Jean Privat <jean@pryen.org>

9 years agoMerge: Optimize `Array::add_all`
Jean Privat [Sun, 28 Dec 2014 14:48:16 +0000 (09:48 -0500)]
Merge: Optimize `Array::add_all`

Calls to `Array::add_all` were a noticable bottleneck in gammit, so I optimized it. The opimization is even more efficient when adding Arrays to Arrays, compared to adding Sequences to Arrays. It is general enough that it could be useful in the standard library (but I could also keep it in gammit if you prefer).

Speeds up the benchmark program by about 60%, with even better effects when adding larger arrays.

We could probably optimize this further at the NativeArray level but it looked more error prone.

Pull-Request: #1067
Reviewed-by: Jean Privat <jean@pryen.org>

9 years agoloader: add `parse_full` to load all their modules when groups are given.
Jean Privat [Sun, 28 Dec 2014 05:29:42 +0000 (00:29 -0500)]
loader: add `parse_full` to load all their modules when groups are given.

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agocompiler: rename the class `Frame` to `StaticFrame` to avoid conflict
Jean Privat [Sun, 28 Dec 2014 03:46:33 +0000 (22:46 -0500)]
compiler: rename the class `Frame` to `StaticFrame` to avoid conflict

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agolib/unicode: Rename a class `UnicodeChar` to `UTF8Char` to avoid conflict
Jean Privat [Sun, 28 Dec 2014 03:45:49 +0000 (22:45 -0500)]
lib/unicode: Rename a class `UnicodeChar` to `UTF8Char` to avoid conflict

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agomodel: remove a last bit of old module nesting hierarchy
Jean Privat [Sun, 28 Dec 2014 03:44:40 +0000 (22:44 -0500)]
model: remove a last bit of old module nesting hierarchy

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agotests: update line number in sav file of `test_new_native_alt1`
Alexis Laferrière [Sat, 27 Dec 2014 23:04:04 +0000 (18:04 -0500)]
tests: update line number in sav file of `test_new_native_alt1`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/standard: optimize `Array::add_all`
Alexis Laferrière [Tue, 23 Dec 2014 03:35:51 +0000 (22:35 -0500)]
lib/standard: optimize `Array::add_all`

The number of instructions to run `bench_add_all` was at 42 mIr, and
after optimization at 17 mIr.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agotests: intro a bench test for Array::add_all
Alexis Laferrière [Tue, 23 Dec 2014 03:33:22 +0000 (22:33 -0500)]
tests: intro a bench test for Array::add_all

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/gtk: fix import from `GtkEntry::text`
Alexis Laferrière [Mon, 22 Dec 2014 06:58:22 +0000 (01:58 -0500)]
lib/gtk: fix import from `GtkEntry::text`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/gtk: add `GtkWidget::destroy|show|hide` and avoid conflicts
Alexis Laferrière [Sat, 27 Dec 2014 17:50:11 +0000 (12:50 -0500)]
lib/gtk: add `GtkWidget::destroy|show|hide` and avoid conflicts

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/gtk: add `GtkBox` to containers hierarchy
Alexis Laferrière [Sun, 21 Dec 2014 15:45:52 +0000 (10:45 -0500)]
lib/gtk: add `GtkBox` to containers hierarchy

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/socket: report errors on `setsockopt` and close socked when raised
Alexis Laferrière [Sat, 27 Dec 2014 17:02:50 +0000 (12:02 -0500)]
lib/socket: report errors on `setsockopt` and close socked when raised

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/socket: `PollFD` is `FinalizableOnce`
Alexis Laferrière [Fri, 26 Dec 2014 22:03:06 +0000 (17:03 -0500)]
lib/socket: `PollFD` is `FinalizableOnce`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/socket: make `NativeSocketPollFD` a pointer
Alexis Laferrière [Fri, 26 Dec 2014 21:35:17 +0000 (16:35 -0500)]
lib/socket: make `NativeSocketPollFD` a pointer

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/socket: remove ISDN related services as they are not portable
Alexis Laferrière [Fri, 26 Dec 2014 20:35:51 +0000 (15:35 -0500)]
lib/socket: remove ISDN related services as they are not portable

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/gc: intro `FinalizableOnce`
Alexis Laferrière [Fri, 26 Dec 2014 22:02:11 +0000 (17:02 -0500)]
lib/gc: intro `FinalizableOnce`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agophase: make `phases_list` lazy because of run_phases_on_npropdef
Jean Privat [Sat, 27 Dec 2014 04:40:58 +0000 (23:40 -0500)]
phase: make `phases_list` lazy because of run_phases_on_npropdef

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agophase: new option --sloppy for lazy semantic analysis
Jean Privat [Sat, 27 Dec 2014 03:59:18 +0000 (22:59 -0500)]
phase: new option --sloppy for lazy semantic analysis

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agomodelize: `mpropdef2node` and `collect_attr_propdef` can process npropdef lazily
Jean Privat [Fri, 19 Dec 2014 17:07:12 +0000 (12:07 -0500)]
modelize: `mpropdef2node` and `collect_attr_propdef` can process npropdef lazily

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agophase: add `semantize_is_lazy` flag to enable the separate analysis of npropdefs
Jean Privat [Fri, 19 Dec 2014 16:43:45 +0000 (11:43 -0500)]
phase: add `semantize_is_lazy` flag to enable the separate analysis of npropdefs

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agocompiler: move compilation stuff from modelbuilder to the compiler
Jean Privat [Sat, 27 Dec 2014 03:43:00 +0000 (22:43 -0500)]
compiler: move compilation stuff from modelbuilder to the compiler

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agocompiler: do not crash on fallback ffi with `extern` without a string
Jean Privat [Sat, 27 Dec 2014 03:34:38 +0000 (22:34 -0500)]
compiler: do not crash on fallback ffi with `extern` without a string

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agoMerge: neo_doxygen: Enhance description handling
Jean Privat [Thu, 25 Dec 2014 02:42:46 +0000 (21:42 -0500)]
Merge: neo_doxygen: Enhance description handling

* Document the implicit nodes.
* Prepare `DocListener` for translation of the Doxygen’s markup. #1059 must be fixed before we do anything else.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

Pull-Request: #1060
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

9 years agoMerge: lib/socket: fix, update style and intro features
Jean Privat [Wed, 24 Dec 2014 01:22:16 +0000 (20:22 -0500)]
Merge: lib/socket: fix, update style and intro features

This is a pretty big update to the `socket` module. It appeared to be broken. Did someone test it since the last modifications to streams and read_line?

* Update and cleanup the style in the first 3 or 4 commits.
* Fix (some of) what was broken.
* Revamp the API with a distinction between listening sockets and stream sockets (making it closer to Ruby and C#). This is the most important commit "lib/socket: distinguish `TCPServer` from `TCPStream`".
* Intro additionnal features used by Mineit: non-blocking `TCPServer` sockets and `TCPStream::flush`.

Still to do:
* Add `Error` support to the API.
* Rename `socket_c` to `native_socket`.
* Fix `SocketObserver` and underlying C implementation.

Pull-Request: #1063
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

9 years agolib/socket: update socket clients
Alexis Laferrière [Mon, 22 Dec 2014 16:27:38 +0000 (11:27 -0500)]
lib/socket: update socket clients

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/socket: add an easier server example
Alexis Laferrière [Mon, 22 Dec 2014 04:40:04 +0000 (23:40 -0500)]
lib/socket: add an easier server example

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/socket: update examples to the latest API
Alexis Laferrière [Mon, 22 Dec 2014 03:38:18 +0000 (22:38 -0500)]
lib/socket: update examples to the latest API

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/socket: minimal update to `SocketObserver` API and note some problems
Alexis Laferrière [Mon, 22 Dec 2014 03:37:50 +0000 (22:37 -0500)]
lib/socket: minimal update to `SocketObserver` API and note some problems

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/socket: intro `flush` and `blocking=`
Alexis Laferrière [Mon, 22 Dec 2014 02:42:32 +0000 (21:42 -0500)]
lib/socket: intro `flush` and `blocking=`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/socket: distinguish `TCPServer` from `TCPStream`
Alexis Laferrière [Mon, 22 Dec 2014 02:42:10 +0000 (21:42 -0500)]
lib/socket: distinguish `TCPServer` from `TCPStream`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agoMerge: neo_doxygen: location does not need noe4j
Jean Privat [Tue, 23 Dec 2014 02:39:46 +0000 (21:39 -0500)]
Merge: neo_doxygen: location does not need noe4j

Found this while investigating #936 with @xymus

Pull-Request: #1061
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

9 years agoMerge: More no warning
Jean Privat [Tue, 23 Dec 2014 02:39:40 +0000 (21:39 -0500)]
Merge: More no warning

* process no_wargning before analysing classes
* test_suites are automatically no_warning("missing-doc")
* add no_warning in generated files

Pull-Request: #1058
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

9 years agolib/socket: intro `NativeSocket::non_blocking` and `tcp_nodelay`
Alexis Laferrière [Mon, 22 Dec 2014 02:38:14 +0000 (21:38 -0500)]
lib/socket: intro `NativeSocket::non_blocking` and `tcp_nodelay`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/socket: clean up `native_accept` to better manage failed accept
Alexis Laferrière [Mon, 22 Dec 2014 02:36:28 +0000 (21:36 -0500)]
lib/socket: clean up `native_accept` to better manage failed accept

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/socket: replace `NativeSocketAcceptResult` by a Nit class
Alexis Laferrière [Mon, 22 Dec 2014 02:33:43 +0000 (21:33 -0500)]
lib/socket: replace `NativeSocketAcceptResult` by a Nit class

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/socket: rename prefix `FF` to `Native` per latest best practices
Alexis Laferrière [Sun, 21 Dec 2014 16:04:36 +0000 (11:04 -0500)]
lib/socket: rename prefix `FF` to `Native` per latest best practices

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/socket: update style of the native module & move comments to doc
Alexis Laferrière [Sun, 21 Dec 2014 15:57:26 +0000 (10:57 -0500)]
lib/socket: update style of the native module & move comments to doc

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agolib/socket: use standard type names instead of local typedefs
Alexis Laferrière [Sun, 21 Dec 2014 15:47:03 +0000 (10:47 -0500)]
lib/socket: use standard type names instead of local typedefs

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

9 years agoneo_doxygen: Add an API to process description markup.
Jean-Christophe Beaupré [Fri, 19 Dec 2014 16:25:32 +0000 (11:25 -0500)]
neo_doxygen: Add an API to process description markup.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agohtml: Add missing documentation.
Jean-Christophe Beaupré [Sat, 20 Dec 2014 23:54:03 +0000 (18:54 -0500)]
html: Add missing documentation.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo_doxygen: Add a section about brief descriptions in the `README`.
Jean-Christophe Beaupré [Thu, 18 Dec 2014 15:51:37 +0000 (10:51 -0500)]
neo_doxygen: Add a section about brief descriptions in the `README`.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo_doxygen: Add a class to manage brief descriptions.
Jean-Christophe Beaupré [Sat, 20 Dec 2014 23:52:59 +0000 (18:52 -0500)]
neo_doxygen: Add a class to manage brief descriptions.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo_doxygen: Enable `JAVADOC_AUTOBRIEF` on Java tests.
Jean-Christophe Beaupré [Fri, 19 Dec 2014 00:01:41 +0000 (19:01 -0500)]
neo_doxygen: Enable `JAVADOC_AUTOBRIEF` on Java tests.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo_doxygen: Rename the `doc` module.
Jean-Christophe Beaupré [Thu, 18 Dec 2014 20:51:47 +0000 (15:51 -0500)]
neo_doxygen: Rename the `doc` module.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo_doxygen: Document implicit classes.
Jean-Christophe Beaupré [Sat, 20 Dec 2014 17:31:31 +0000 (12:31 -0500)]
neo_doxygen: Document implicit classes.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo_doxygen: Document modules.
Jean-Christophe Beaupré [Sun, 21 Dec 2014 03:44:08 +0000 (22:44 -0500)]
neo_doxygen: Document modules.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

9 years agoneo_doxygen: location does not need noe4j
Jean Privat [Sat, 20 Dec 2014 20:35:40 +0000 (15:35 -0500)]
neo_doxygen: location does not need noe4j

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agojson: regenerate with new `no_warning`
Jean Privat [Sat, 20 Dec 2014 14:24:31 +0000 (09:24 -0500)]
json: regenerate with new `no_warning`

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agoffi: fix phase dependencies
Jean Privat [Sat, 20 Dec 2014 14:24:08 +0000 (09:24 -0500)]
ffi: fix phase dependencies

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agonitcc: add `no_warning` when generating files
Jean Privat [Sat, 20 Dec 2014 14:11:33 +0000 (09:11 -0500)]
nitcc: add `no_warning` when generating files

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agopep8analysis: add `no_warning` to generated files
Jean Privat [Sat, 20 Dec 2014 13:51:58 +0000 (08:51 -0500)]
pep8analysis: add `no_warning` to generated files

Signed-off-by: Jean Privat <jean@pryen.org>

9 years agono_warning: automatically disable `missing-doc` on test_suites
Jean Privat [Sat, 20 Dec 2014 13:46:55 +0000 (08:46 -0500)]
no_warning: automatically disable `missing-doc` on test_suites

Signed-off-by: Jean Privat <jean@pryen.org>