nit.git
10 years agorta: micro-factorization of call on `msignature`
Jean Privat [Mon, 12 May 2014 19:45:17 +0000 (15:45 -0400)]
rta: micro-factorization of call on `msignature`

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

10 years agoengines: use `callsite.msignature` in ASuperExpr
Jean Privat [Mon, 12 May 2014 17:13:32 +0000 (13:13 -0400)]
engines: use `callsite.msignature` in ASuperExpr

instead of `callsite.mproperty.intro.msignature`

This will also be usefull with new constructors when
the signature between the callsite and the propdef differs

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

10 years agoMerge: parser_util: drop injected tokens in `parse_someting`
Jean Privat [Tue, 13 May 2014 02:02:14 +0000 (22:02 -0400)]
Merge: parser_util: drop injected tokens in `parse_someting`

Since injected tokens have a false location, highlight.nit had a bad
behavior when trying to color them.
Thez should not survive `parse_something`.

Fixes #451

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

10 years agoMerge: misc: do not enforce shiftwidth to 8, let the .vimrc user config
Jean Privat [Tue, 13 May 2014 00:51:57 +0000 (20:51 -0400)]
Merge: misc: do not enforce shiftwidth to 8, let the .vimrc user config

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

Pull-Request: #393
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agoMerge: vim: try to color annotation.
Jean Privat [Tue, 13 May 2014 00:51:49 +0000 (20:51 -0400)]
Merge: vim: try to color annotation.

indenting still causes issues :(

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

10 years agoMerge: sepcomp: do not colorize dead method by default
Jean Privat [Mon, 12 May 2014 23:28:02 +0000 (19:28 -0400)]
Merge: sepcomp: do not colorize dead method by default

Thanks to the fix of #375, this optimization is the new default if RTA
is available.

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

10 years agoMerge: fix Nitlight
Jean Privat [Mon, 12 May 2014 22:31:49 +0000 (18:31 -0400)]
Merge: fix Nitlight

While messing with #451, I found that nitlight was broken.

These two commit fix it

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

10 years agoMerge: Simplify AMethPropdef
Jean Privat [Mon, 12 May 2014 15:42:05 +0000 (11:42 -0400)]
Merge: Simplify AMethPropdef

Prepare the change of the hierarchies of subclasses of AMethPropdef.

The first two commits generalize services of subclasses.
The rest updates clients to not statically rely on such a subclass.

This will permit the refactorization and the rationalization of the parser and the AST.

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

10 years agotests: update tests because of changes in the location of error messages
Jean Privat [Thu, 1 May 2014 17:43:25 +0000 (13:43 -0400)]
tests: update tests because of changes in the location of error messages

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

10 years agosrc: remove remaining references of subclasses on AMethPropdef
Jean Privat [Thu, 1 May 2014 17:42:46 +0000 (13:42 -0400)]
src: remove remaining references of subclasses on AMethPropdef

Only some references of AExternPropdef remain for the moment.

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

10 years agonitx: modifiers ARE accessible via the model
Jean Privat [Thu, 1 May 2014 17:40:58 +0000 (13:40 -0400)]
nitx: modifiers ARE accessible via the model

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

10 years agomodelize_property: rely more on fields than on classes to do things
Jean Privat [Thu, 1 May 2014 17:37:04 +0000 (13:37 -0400)]
modelize_property: rely more on fields than on classes to do things

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

10 years agomodel: add `MMethodDef::is_extern`
Jean Privat [Thu, 1 May 2014 17:36:19 +0000 (13:36 -0400)]
model: add `MMethodDef::is_extern`

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

10 years agosrc: use `AMethPropdef` instead of subclasses when is safe to do so.
Jean Privat [Thu, 1 May 2014 17:30:48 +0000 (13:30 -0400)]
src: use `AMethPropdef` instead of subclasses when is safe to do so.

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

10 years agoparser: promote all children in AMethPropdef
Jean Privat [Thu, 1 May 2014 17:24:53 +0000 (13:24 -0400)]
parser: promote all children in AMethPropdef

The point of the series is to refactorize the hierarchy of AMethPropdef
and simplify the complex syntactic variants.

So, put all specific fields in the root class, so clients will not need
to use the current complex hierarchy.

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

10 years agonitlight: parse options before initialising modelbuilder
Jean Privat [Sat, 10 May 2014 19:02:04 +0000 (15:02 -0400)]
nitlight: parse options before initialising modelbuilder

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

10 years agolib: fix `Sequence::first_index_of`
Jean Privat [Sat, 10 May 2014 19:01:02 +0000 (15:01 -0400)]
lib: fix `Sequence::first_index_of`

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

10 years agotests: update test_markdown and test_parser
Jean Privat [Sat, 10 May 2014 01:01:34 +0000 (21:01 -0400)]
tests: update test_markdown and test_parser

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

10 years agoparser_util: drop injected tokens in `parse_someting`
Jean Privat [Fri, 9 May 2014 23:03:59 +0000 (19:03 -0400)]
parser_util: drop injected tokens in `parse_someting`

Since injected tokens have a false location, highlight.nit had a bad
behavior when trying to color them.
Thez should not survive `parse_something`.

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

10 years agosepcomp: do not colorize dead method by default
Jean Privat [Fri, 9 May 2014 22:34:37 +0000 (18:34 -0400)]
sepcomp: do not colorize dead method by default

Thanks to the fix of #375, this optimization is the new default if RTA
is available.

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

10 years agoMerge: nitdoc: display redefined methods when mmodule.public_owner is null
Jean Privat [Fri, 9 May 2014 21:29:58 +0000 (17:29 -0400)]
Merge: nitdoc: display redefined methods when mmodule.public_owner is null

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

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

10 years agoMerge: Fix coloring
Jean Privat [Fri, 9 May 2014 18:40:15 +0000 (14:40 -0400)]
Merge: Fix coloring

Fixes #375: Coloring issues on pep8analysis

Also do some cleaning (removing the `layout_builder` module).
This pull request disable typing options (BM/PH).

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

10 years agovim: try to color annotation.
Jean Privat [Fri, 9 May 2014 18:36:06 +0000 (14:36 -0400)]
vim: try to color annotation.

indenting still causes issues :(

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

10 years agobenches: remove alternative typings from benches
Alexandre Terrasa [Fri, 9 May 2014 17:28:06 +0000 (13:28 -0400)]
benches: remove alternative typings from benches

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

10 years agotests: remove pep8analysis from skip list
Alexandre Terrasa [Wed, 30 Apr 2014 21:36:33 +0000 (17:36 -0400)]
tests: remove pep8analysis from skip list

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

10 years agolayout_builders: removed module
Alexandre Terrasa [Wed, 30 Apr 2014 20:47:11 +0000 (16:47 -0400)]
layout_builders: removed module

Achievement Unlocked: remove one the most complex (and crappy) module from the compiler +10 nitCoins

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

10 years agoseparate_erasure_compiler: remove usage of MClass and MProperty LayoutMPropertyLayout
Alexandre Terrasa [Wed, 30 Apr 2014 20:40:56 +0000 (16:40 -0400)]
separate_erasure_compiler: remove usage of MClass and MProperty LayoutMPropertyLayout

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

10 years agoseparate_compiler: remove usage of MpropertyLayout
Alexandre Terrasa [Wed, 30 Apr 2014 20:29:56 +0000 (16:29 -0400)]
separate_compiler: remove usage of MpropertyLayout

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

10 years agoseparate_compiler: remove usage of ResolutionLayout
Alexandre Terrasa [Wed, 30 Apr 2014 20:19:50 +0000 (16:19 -0400)]
separate_compiler: remove usage of ResolutionLayout

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

10 years agoseparate_compiler: remove usage of TypingLayout
Alexandre Terrasa [Wed, 30 Apr 2014 20:14:47 +0000 (16:14 -0400)]
separate_compiler: remove usage of TypingLayout

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

10 years agoseparate_erasure_compiler: migrate virtual types coloring
Alexandre Terrasa [Wed, 30 Apr 2014 20:04:56 +0000 (16:04 -0400)]
separate_erasure_compiler: migrate virtual types coloring

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

10 years agoseparate_erasure_compiler: migrate class coloring
Alexandre Terrasa [Wed, 30 Apr 2014 20:04:44 +0000 (16:04 -0400)]
separate_erasure_compiler: migrate class coloring

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

10 years agoseparate_compiler: migrate resolution table coloring
Alexandre Terrasa [Wed, 30 Apr 2014 18:05:09 +0000 (14:05 -0400)]
separate_compiler: migrate resolution table coloring

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

10 years agoseparate_compiler: migrate mprops coloring
Alexandre Terrasa [Wed, 30 Apr 2014 17:56:43 +0000 (13:56 -0400)]
separate_compiler: migrate mprops coloring

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

10 years agoseparate_compiler: start migration from layout_builder to coloring on type tables
Alexandre Terrasa [Thu, 8 May 2014 01:42:44 +0000 (21:42 -0400)]
separate_compiler: start migration from layout_builder to coloring on type tables

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

10 years agocoloring: introduce new module for class and property coloring in Nit execution engines
Alexandre Terrasa [Thu, 8 May 2014 01:42:10 +0000 (21:42 -0400)]
coloring: introduce new module for class and property coloring in Nit execution engines

This module will replace layout_builders

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

10 years agonitdoc: display redefined methods when mmodule.public_owner is null
Alexandre Terrasa [Thu, 8 May 2014 18:46:22 +0000 (14:46 -0400)]
nitdoc: display redefined methods when mmodule.public_owner is null

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

10 years agoMerge: Friendlier API to read from Json
Jean Privat [Thu, 8 May 2014 17:42:42 +0000 (13:42 -0400)]
Merge: Friendlier API to read from Json

As requested by @privat.

I'll fix the contribs according to the test results.

May be improved or to do:
- Reimplement using the AST nodes.
- Make `JsonValue` subclass of `Array` and/or `Map`
- Convert contribs to use json::dynamic

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

10 years agoMerge: Trees
Jean Privat [Thu, 8 May 2014 15:45:11 +0000 (11:45 -0400)]
Merge: Trees

Some tree structures (needed by @xymus and @R4PaSs)

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

10 years agotests: fix savs of json related tests
Alexis Laferrière [Thu, 8 May 2014 15:36:49 +0000 (11:36 -0400)]
tests: fix savs of json related tests

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

10 years agoMerge: sorter: add some sorters
Jean Privat [Thu, 8 May 2014 14:36:00 +0000 (10:36 -0400)]
Merge: sorter: add some sorters

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

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

10 years agolib: update githup_api to use json::static
Alexis Laferrière [Thu, 8 May 2014 14:20:32 +0000 (10:20 -0400)]
lib: update githup_api to use json::static

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

10 years agoMerge branch 'master' into json-reborn
Alexis Laferrière [Thu, 8 May 2014 14:19:51 +0000 (10:19 -0400)]
Merge branch 'master' into json-reborn

10 years agomigration: update lib and contribs to use ::json
Alexis Laferrière [Wed, 7 May 2014 22:38:39 +0000 (18:38 -0400)]
migration: update lib and contribs to use ::json

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

10 years agolib/json: intro the main module json.nit
Alexis Laferrière [Fri, 25 Apr 2014 14:29:27 +0000 (10:29 -0400)]
lib/json: intro the main module json.nit

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

10 years agolib/json: improve doc of the static module
Alexis Laferrière [Fri, 25 Apr 2014 14:20:59 +0000 (10:20 -0400)]
lib/json: improve doc of the static module

10 years agolib/json: privatly import lexer and parser
Alexis Laferrière [Wed, 23 Apr 2014 02:28:15 +0000 (22:28 -0400)]
lib/json: privatly import lexer and parser

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

10 years agolib: intro the friendlier to use json::dynamic
Alexis Laferrière [Tue, 22 Apr 2014 21:16:17 +0000 (17:16 -0400)]
lib: intro the friendlier to use json::dynamic

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

10 years agoMerge: Fix nitdoc
Jean Privat [Thu, 8 May 2014 13:35:05 +0000 (09:35 -0400)]
Merge: Fix nitdoc

Fixes #445 and concerns list display

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

10 years agonitdoc: fix concerns list display
Alexandre Terrasa [Thu, 8 May 2014 05:00:28 +0000 (01:00 -0400)]
nitdoc: fix concerns list display

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

10 years agonitdoc: show introduced mpropdef outside intro mclassdef
Alexandre Terrasa [Thu, 8 May 2014 04:51:52 +0000 (00:51 -0400)]
nitdoc: show introduced mpropdef outside intro mclassdef

Fixes #445

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

10 years agotrees: create trees group
Alexandre Terrasa [Wed, 7 May 2014 19:33:40 +0000 (15:33 -0400)]
trees: create trees group

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

10 years agotrees: introduce Red Black Tree
Alexandre Terrasa [Wed, 7 May 2014 19:08:00 +0000 (15:08 -0400)]
trees: introduce Red Black Tree

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

10 years agotrees: introduce Binary Search Tree
Alexandre Terrasa [Wed, 7 May 2014 19:07:19 +0000 (15:07 -0400)]
trees: introduce Binary Search Tree

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

10 years agolib: introduce abstract_tree
Alexandre Terrasa [Wed, 7 May 2014 18:51:42 +0000 (14:51 -0400)]
lib: introduce abstract_tree

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

10 years agosorter: add some sorters
Alexandre Terrasa [Thu, 8 May 2014 04:02:40 +0000 (00:02 -0400)]
sorter: add some sorters

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

10 years agoposet: introduce POSet::linearize
Alexandre Terrasa [Thu, 8 May 2014 00:28:03 +0000 (20:28 -0400)]
poset: introduce POSet::linearize

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

10 years agonitc/nitc-e: remove typing options
Alexandre Terrasa [Wed, 30 Apr 2014 17:10:50 +0000 (13:10 -0400)]
nitc/nitc-e: remove typing options

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

10 years agoMerge: Nitdoc templates
Jean Privat [Wed, 7 May 2014 22:53:02 +0000 (18:53 -0400)]
Merge: Nitdoc templates

Introduces the usage of `Template` to externalize the html generation in `nitdoc_template` module.

Firsts commits introduce new service needed to perform the migration. The last one migrate to template in one shot (full rewriting).

Tests still unchanged.

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

10 years agoMerge: Socket fact
Jean Privat [Wed, 7 May 2014 19:47:20 +0000 (15:47 -0400)]
Merge: Socket fact

Factorized sockets under Stream, also changed the way to handle std streams.

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

10 years agonitdoc: use templates for html output
Alexandre Terrasa [Wed, 7 May 2014 17:09:51 +0000 (13:09 -0400)]
nitdoc: use templates for html output

Full rewriting of nitdoc to extract html templates

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Signed-off-by: Maxime Leroy <maxime.leroy76@gmail.com>

10 years agoniti: Updated test to comply with the niti without Transform.
Lucas Bajolet [Wed, 7 May 2014 15:11:45 +0000 (11:11 -0400)]
niti: Updated test to comply with the niti without Transform.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agomodelbuilder: link MVirtualTypeDef to ATypePropdef in Modelbuilder::mpropdef2npropdef
Alexandre Terrasa [Tue, 6 May 2014 03:25:57 +0000 (23:25 -0400)]
modelbuilder: link MVirtualTypeDef to ATypePropdef in Modelbuilder::mpropdef2npropdef

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

10 years agomodel_utils: extract modifiers from mpropdef
Alexandre Terrasa [Sat, 3 May 2014 05:56:55 +0000 (01:56 -0400)]
model_utils: extract modifiers from mpropdef

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

10 years agomodel_utils: extract modifier list from mclassdef
Alexandre Terrasa [Sat, 3 May 2014 03:32:58 +0000 (23:32 -0400)]
model_utils: extract modifier list from mclassdef

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

10 years agomodel_utils: add direct access to intro and refined in mmodule
Alexandre Terrasa [Sat, 3 May 2014 03:32:37 +0000 (23:32 -0400)]
model_utils: add direct access to intro and refined in mmodule

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

10 years agoMerge: Many small fixes to Java FFI
Jean Privat [Tue, 6 May 2014 15:01:13 +0000 (11:01 -0400)]
Merge: Many small fixes to Java FFI

- Clean up code
- On the way to fix #437
- Plug leak of JNI local refs

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

10 years agoffi/java: fix support of Boolean types in JNI signature format
Alexis Laferrière [Tue, 6 May 2014 14:55:22 +0000 (10:55 -0400)]
ffi/java: fix support of Boolean types in JNI signature format

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

10 years agoffi/java: shorten name of generated Java class for easier debugging
Alexis Laferrière [Tue, 6 May 2014 04:34:25 +0000 (00:34 -0400)]
ffi/java: shorten name of generated Java class for easier debugging

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

10 years agoffi/java: clean up JNI's local refs in android_app.nit
Alexis Laferrière [Tue, 6 May 2014 04:33:54 +0000 (00:33 -0400)]
ffi/java: clean up JNI's local refs in android_app.nit

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

10 years agoffi/java: fix freeing ref to Java class on execution of Java implementation
Alexis Laferrière [Tue, 6 May 2014 04:05:42 +0000 (00:05 -0400)]
ffi/java: fix freeing ref to Java class on execution of Java implementation

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

10 years agoffi/java: support callback to method returning virtual types
Alexis Laferrière [Tue, 6 May 2014 03:37:33 +0000 (23:37 -0400)]
ffi/java: support callback to method returning virtual types

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

10 years agoffi/java: use existing Set of callbacks per language and modules
Alexis Laferrière [Sun, 4 May 2014 15:25:03 +0000 (11:25 -0400)]
ffi/java: use existing Set of callbacks per language and modules

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

10 years agoffi: move up Set of callbacks by foreign language
Alexis Laferrière [Sun, 4 May 2014 15:24:10 +0000 (11:24 -0400)]
ffi: move up Set of callbacks by foreign language

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

10 years agoffi/java: fix typo
Alexis Laferrière [Sun, 4 May 2014 15:27:35 +0000 (11:27 -0400)]
ffi/java: fix typo

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

10 years agoMerge: String bugfixes
Jean Privat [Sun, 4 May 2014 00:45:26 +0000 (20:45 -0400)]
Merge: String bugfixes

An iter.next was forgotten when implementing methods in string.nit, also to_lower and to_upper were not present in FlatBuffer.

This fixes both issues.

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

10 years agolib/standard/string: Added implementations for to_upper and to_lower on FlatBuffer
Lucas Bajolet [Fri, 2 May 2014 19:53:53 +0000 (15:53 -0400)]
lib/standard/string: Added implementations for to_upper and to_lower on FlatBuffer

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agodebugger: Fixed client for new version of Debugger
Lucas Bajolet [Fri, 2 May 2014 19:50:18 +0000 (15:50 -0400)]
debugger: Fixed client for new version of Debugger

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agodebugger: Removed network versions of debugger, now handled via options
Lucas Bajolet [Fri, 2 May 2014 19:49:19 +0000 (15:49 -0400)]
debugger: Removed network versions of debugger, now handled via options

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agolib/standard/stream: Changed implementation of read to better respect its documentation
Lucas Bajolet [Fri, 2 May 2014 19:00:51 +0000 (15:00 -0400)]
lib/standard/stream: Changed implementation of read to better respect its documentation

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agolib/standard: Stdin/out/err now part of Sys.
Lucas Bajolet [Fri, 2 May 2014 19:00:10 +0000 (15:00 -0400)]
lib/standard: Stdin/out/err now part of Sys.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agolib/websocket: Websocket now subclass of BufferedIStream, OStream and Pollable
Lucas Bajolet [Fri, 2 May 2014 18:58:37 +0000 (14:58 -0400)]
lib/websocket: Websocket now subclass of BufferedIStream, OStream and Pollable

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agolib/socket: Socket now subclass of Pollable interface
Lucas Bajolet [Fri, 2 May 2014 18:57:36 +0000 (14:57 -0400)]
lib/socket: Socket now subclass of Pollable interface

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agolib/streams: Added interface Pollable to Stream hierarchy
Lucas Bajolet [Fri, 2 May 2014 18:57:02 +0000 (14:57 -0400)]
lib/streams: Added interface Pollable to Stream hierarchy

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agolib/socket: Simplified API for Sockets
Lucas Bajolet [Fri, 2 May 2014 19:05:30 +0000 (15:05 -0400)]
lib/socket: Simplified API for Sockets

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agolib/socket: Socket now subclass of BufferedIStream and OStream
Lucas Bajolet [Fri, 2 May 2014 19:04:58 +0000 (15:04 -0400)]
lib/socket: Socket now subclass of BufferedIStream and OStream

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agolib/standard/string: Bugfix, forgot iterator on index_of_from
Lucas Bajolet [Thu, 1 May 2014 18:52:37 +0000 (14:52 -0400)]
lib/standard/string: Bugfix, forgot iterator on index_of_from

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agotyping: promote visibility/redef node in APropdef
Jean Privat [Thu, 1 May 2014 17:15:31 +0000 (13:15 -0400)]
typing: promote visibility/redef node in APropdef

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

10 years agoMerge: Android version code
Jean Privat [Thu, 1 May 2014 15:49:24 +0000 (11:49 -0400)]
Merge: Android version code

This should help FDroid understand our packages.

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

10 years agoandroid: use version code in manifest
Alexis Laferrière [Thu, 1 May 2014 03:45:20 +0000 (23:45 -0400)]
android: use version code in manifest

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

10 years agoandroid: get version code from date and time
Alexis Laferrière [Thu, 1 May 2014 03:42:33 +0000 (23:42 -0400)]
android: get version code from date and time

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

10 years agoMerge: GTK refactor and fixes
Jean Privat [Wed, 30 Apr 2014 20:44:05 +0000 (16:44 -0400)]
Merge: GTK refactor and fixes

Now uses project and submodules! So one can access different versions using:

    import gtk # default is v3_4
    import gtk::v3_6
    import gtk::v3_8

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

10 years agolib/gtk: improve documentation on main modules
Alexis Laferrière [Wed, 30 Apr 2014 18:02:38 +0000 (14:02 -0400)]
lib/gtk: improve documentation on main modules

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

10 years agolib/gtk: fix missing pkgconfig declaration in v3_6 and v3_8
Alexis Laferrière [Wed, 30 Apr 2014 18:04:33 +0000 (14:04 -0400)]
lib/gtk: fix missing pkgconfig declaration in v3_6 and v3_8

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

10 years agolib/gtk: move gtk3_8 to gtk::v3_8
Alexis Laferrière [Wed, 30 Apr 2014 17:59:58 +0000 (13:59 -0400)]
lib/gtk: move gtk3_8 to gtk::v3_8

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

10 years agolib/gtk: move gtk3_6 to gtk::v3_6
Alexis Laferrière [Wed, 30 Apr 2014 17:58:06 +0000 (13:58 -0400)]
lib/gtk: move gtk3_6 to gtk::v3_6

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

10 years agolib/gtk: move default gtk module as a project
Alexis Laferrière [Tue, 29 Apr 2014 23:48:29 +0000 (19:48 -0400)]
lib/gtk: move default gtk module as a project

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

10 years agoMerge: introduce Nith, the ligHt Nit compiler
Jean Privat [Tue, 29 Apr 2014 00:51:26 +0000 (20:51 -0400)]
Merge: introduce Nith, the ligHt  Nit compiler

It is just nitg with less features, thus should be faster to compile and should compile faster.
The result of the compilation should be the same however.

Independently, the series implements phases for the various nitg engines

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

10 years agotests: add nith
Jean Privat [Mon, 28 Apr 2014 23:58:37 +0000 (19:58 -0400)]
tests: add nith

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

10 years agotests: update nitmetric becase the name of the mainmodule has changed
Jean Privat [Mon, 28 Apr 2014 22:51:27 +0000 (18:51 -0400)]
tests: update nitmetric becase the name of the mainmodule has changed

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