nit.git
8 years agolib/a_star & sdl: fix warnings
Alexis Laferrière [Fri, 28 Aug 2015 17:52:14 +0000 (13:52 -0400)]
lib/a_star & sdl: fix warnings

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

8 years agoexamples/draw_operation: revamp the doc with a sample input/output
Alexis Laferrière [Fri, 28 Aug 2015 17:19:04 +0000 (13:19 -0400)]
examples/draw_operation: revamp the doc with a sample input/output

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

8 years agolib/mnit: update synopsis
Alexis Laferrière [Fri, 28 Aug 2015 21:57:42 +0000 (17:57 -0400)]
lib/mnit: update synopsis

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

8 years agotests: update savs with the new path to mnit::linux
Alexis Laferrière [Fri, 28 Aug 2015 21:58:47 +0000 (17:58 -0400)]
tests: update savs with the new path to mnit::linux

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

8 years agocontrib & examples: update users of mnit implementations
Alexis Laferrière [Fri, 28 Aug 2015 18:07:31 +0000 (14:07 -0400)]
contrib & examples: update users of mnit implementations

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

8 years agolib/mnit: move mnit implementations as submodules
Alexis Laferrière [Fri, 28 Aug 2015 17:56:30 +0000 (13:56 -0400)]
lib/mnit: move mnit implementations as submodules

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

8 years agoexamples/extern_methods: revamp as a better teaching example
Alexis Laferrière [Fri, 28 Aug 2015 17:18:42 +0000 (13:18 -0400)]
examples/extern_methods: revamp as a better teaching example

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

8 years agonitiwiki: update because `ini[]` does return nullable
Jean Privat [Fri, 28 Aug 2015 16:40:14 +0000 (12:40 -0400)]
nitiwiki: update because `ini[]` does return nullable

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

8 years agoloader: update because `ini[]` does return nullable
Jean Privat [Fri, 28 Aug 2015 16:38:31 +0000 (12:38 -0400)]
loader: update because `ini[]` does return nullable

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

8 years agolib/ini: let the user deal with undefined key instead of aborting
Jean Privat [Fri, 28 Aug 2015 16:37:57 +0000 (12:37 -0400)]
lib/ini: let the user deal with undefined key instead of aborting

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

8 years agogithubmerge: make public name/email access of users more robust.
Jean Privat [Fri, 28 Aug 2015 20:45:12 +0000 (16:45 -0400)]
githubmerge: make public name/email access of users more robust.

Recent changes in github API or in the @jpages account broke the script.

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

8 years agoMerge: projects: update some short descriptions
Jean Privat [Fri, 28 Aug 2015 20:40:09 +0000 (16:40 -0400)]
Merge: projects: update some short descriptions

Improve (or create) the short description of some random projects.

Note that using the fist line of the `README.md` is maybe not the best approach since the first line of a README is often a short title (approx 30 chars) whereas, to be informative the short description (synopsis) is often a long title (approx 70 chars).

Pull-Request: #1670
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>

8 years agoMerge: After new loader
Jean Privat [Fri, 28 Aug 2015 20:37:08 +0000 (16:37 -0400)]
Merge: After new loader

Some cleanup since the new loader landed (cf. #1654)

Pull-Request: #1668
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

8 years agoMerge: Fix qualified imports
Jean Privat [Fri, 28 Aug 2015 20:36:18 +0000 (16:36 -0400)]
Merge: Fix qualified imports

Solve #1265 and the includes with examples/nitcorn/src/xymus_net.nit

Pull-Request: #1667
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

8 years agoMerge: objcwrapper: generate valid Nit code for large Objective-C classes
Jean Privat [Fri, 28 Aug 2015 20:34:03 +0000 (16:34 -0400)]
Merge: objcwrapper: generate valid Nit code for large Objective-C classes

This PR continues the good work of #1661 by improving further the code generator of _objcwrapper_. The main change is the revamp of the code generator module, the detection of unknown types so they are not used in active methods, and improvements to the gammar and preprocessor to accept some GNUStep classes.

The generated code now passes nitpick but there is some problems with the generated Objective-C. Some types are not correctly reproduced. So it is not usable as of yet, but it is not too far.

The main limiting factors at this points are functions pointers used as parameters, the class hierarchy that is not duplicated and the Objective-C FFI not working on GNU/Linux.

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

8 years agotests: Fixed failed test with new method to_s_full
Lucas Bajolet [Fri, 28 Aug 2015 19:25:01 +0000 (15:25 -0400)]
tests: Fixed failed test with new method to_s_full

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

8 years agosrc: Added complete FlatString generation from compiler
Lucas Bajolet [Thu, 27 Aug 2015 18:29:25 +0000 (14:29 -0400)]
src: Added complete FlatString generation from compiler

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

8 years agolib/standard: More uses of new FlatString.full when appropriate
Lucas Bajolet [Wed, 26 Aug 2015 20:42:28 +0000 (16:42 -0400)]
lib/standard: More uses of new FlatString.full when appropriate

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

8 years agolib/gpio & bcm2835: move single class from gpio to bcm2835
Alexis Laferrière [Fri, 28 Aug 2015 17:17:51 +0000 (13:17 -0400)]
lib/gpio & bcm2835: move single class from gpio to bcm2835

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

8 years agocontrib/github_search_for_jni: add README.md
Alexis Laferrière [Fri, 28 Aug 2015 17:17:23 +0000 (13:17 -0400)]
contrib/github_search_for_jni: add README.md

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

8 years agocontrib/crazy_moles: intro README.md
Alexis Laferrière [Fri, 28 Aug 2015 16:36:35 +0000 (12:36 -0400)]
contrib/crazy_moles: intro README.md

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

8 years agoexamples/mnit_dino: add a README.md file
Alexis Laferrière [Fri, 28 Aug 2015 18:13:59 +0000 (14:13 -0400)]
examples/mnit_dino: add a README.md file

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

8 years agoMerge: Improve ini
Jean Privat [Fri, 28 Aug 2015 16:43:50 +0000 (12:43 -0400)]
Merge: Improve ini

Small improvements and fixes for the ini files.

The most important change is how to associate ini file with singleton projects (no dir, only one nit file).
The proposal, from @xymus, is just to add a `.ini` file named like the `.nit`. so `lib/counter.ini` for the project `lib/counter.nit`.

I'm not sure that this feature should be official, consider it just as an easy path to update existing code.

Pull-Request: #1665
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

8 years agoMerge: Regular Expression fix with Unicode
Jean Privat [Fri, 28 Aug 2015 16:43:47 +0000 (12:43 -0400)]
Merge: Regular Expression fix with Unicode

Fixes issue #1659, RE are now a bit more expensive, but they should behave correctly when dealing with Unicode Strings.

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

8 years agoMerge: Update remove_all to accept any patterns
Jean Privat [Fri, 28 Aug 2015 16:43:43 +0000 (12:43 -0400)]
Merge: Update remove_all to accept any patterns

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

8 years agoexamples/calculator: intro a README.md file
Alexis Laferrière [Fri, 28 Aug 2015 16:32:41 +0000 (12:32 -0400)]
examples/calculator: intro a README.md file

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

8 years agotests: update res of nitserial
Alexis Laferrière [Fri, 28 Aug 2015 15:45:27 +0000 (11:45 -0400)]
tests: update res of nitserial

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

8 years agocontrib/objcwrapper: fix name of type related methods
Alexis Laferrière [Fri, 28 Aug 2015 15:18:44 +0000 (11:18 -0400)]
contrib/objcwrapper: fix name of type related methods

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

8 years agoMerge: Relocate examples
Jean Privat [Fri, 28 Aug 2015 13:11:06 +0000 (09:11 -0400)]
Merge: Relocate examples

Some short programs in `examples` are related to specific libraries. Therefore to improve coupling and cohesion, these examples are moved into a subdirectory of their associated libs.

Basically, it means moving `examples/foo` into `lib/foo/examples`

Pull-Request: #1656
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

8 years agogettext: add langannot.pot to the .gitignore
Jean Privat [Fri, 28 Aug 2015 05:22:28 +0000 (01:22 -0400)]
gettext: add langannot.pot to the .gitignore

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

8 years agotests: skip lib/android/examples/src/ui_test.nit on osx and nint
Jean Privat [Fri, 28 Aug 2015 13:09:08 +0000 (09:09 -0400)]
tests: skip lib/android/examples/src/ui_test.nit on osx and nint

because now all examples of lib are tested.

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

8 years agoMerge: Small fix to iOS support
Jean Privat [Fri, 28 Aug 2015 05:24:36 +0000 (01:24 -0400)]
Merge: Small fix to iOS support

Add `ONLY_ACTIVE_ARCH=NO` to the xcode call because it is required by the latest xcode.

For the iOS example, you would expect `AppKit.h` to be included by the imported module. It is, but at the same time it is ignored for performance reason since none of the imported module services are used. This will be fixed in a future PR. For now, we add the include locally as it is a better example and happen to avoid the problem.

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

8 years agoprojects: update some short descriptions
Jean Privat [Fri, 28 Aug 2015 04:33:24 +0000 (00:33 -0400)]
projects: update some short descriptions

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

8 years agolib: remove placeholder empty default modules of groups.
Jean Privat [Fri, 28 Aug 2015 03:26:51 +0000 (23:26 -0400)]
lib: remove placeholder empty default modules of groups.

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

8 years agoMakefile: nitdoc no more need nitls to find entities to document.
Jean Privat [Fri, 28 Aug 2015 03:23:53 +0000 (23:23 -0400)]
Makefile: nitdoc no more need nitls to find entities to document.

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

8 years agotests: update sav for nitls because tests/project1 changef.
Jean Privat [Fri, 28 Aug 2015 03:13:22 +0000 (23:13 -0400)]
tests: update sav for nitls because tests/project1 changef.

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

8 years agolib/glesv2/examples/opengles2_hello_triangle.nit: fix importation
Jean Privat [Fri, 28 Aug 2015 03:12:23 +0000 (23:12 -0400)]
lib/glesv2/examples/opengles2_hello_triangle.nit: fix importation

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

8 years agotests: improve tests base_import
Jean Privat [Fri, 28 Aug 2015 03:10:54 +0000 (23:10 -0400)]
tests: improve tests base_import

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

8 years agotests: update xymus_net
Jean Privat [Thu, 27 Aug 2015 19:13:10 +0000 (15:13 -0400)]
tests: update xymus_net

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

8 years agonitcorn/xymus_net: fix importations
Jean Privat [Thu, 27 Aug 2015 01:51:51 +0000 (21:51 -0400)]
nitcorn/xymus_net: fix importations

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

8 years agotests: update listfull.sh for new examples location
Jean Privat [Fri, 28 Aug 2015 02:45:55 +0000 (22:45 -0400)]
tests: update listfull.sh for new examples location

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

8 years agolib: move `examples/mpi` to `lib/mpi/examples`
Jean Privat [Tue, 25 Aug 2015 19:02:18 +0000 (15:02 -0400)]
lib: move `examples/mpi` to `lib/mpi/examples`

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

8 years agolib: move mpi to its own project directory
Jean Privat [Tue, 25 Aug 2015 19:01:30 +0000 (15:01 -0400)]
lib: move mpi to its own project directory

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

8 years agolib: move `examples/lang*` to `lib/gettext/examples`
Jean Privat [Thu, 27 Aug 2015 15:21:02 +0000 (11:21 -0400)]
lib: move `examples/lang*` to `lib/gettext/examples`

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

8 years agolib: move gettext to its own project directory
Jean Privat [Tue, 25 Aug 2015 18:49:30 +0000 (14:49 -0400)]
lib: move gettext to its own project directory

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

8 years agolib: move `examples/pnacl` to `lib/pnacl/examples`
Jean Privat [Tue, 25 Aug 2015 18:47:02 +0000 (14:47 -0400)]
lib: move `examples/pnacl` to `lib/pnacl/examples`

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

8 years agolib: move pnacl to its own project directory
Jean Privat [Tue, 25 Aug 2015 18:45:46 +0000 (14:45 -0400)]
lib: move pnacl to its own project directory

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

8 years agopnacl: fix whitespaces
Jean Privat [Wed, 26 Aug 2015 19:19:18 +0000 (15:19 -0400)]
pnacl: fix whitespaces

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

8 years agoMerge: Rename `standard` as `core`
Jean Privat [Fri, 28 Aug 2015 02:42:54 +0000 (22:42 -0400)]
Merge: Rename `standard` as `core`

Let's see what will break

Close #1434

Pull-Request: #1658
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>

8 years agoMerge: Work towards an Android testing framework and fix a few bugs
Jean Privat [Fri, 28 Aug 2015 02:42:40 +0000 (22:42 -0400)]
Merge: Work towards an Android testing framework and fix a few bugs

Update check_android.sh to accept any APK file, many files at once, deduce the package name from the APK and accept some command line arguments. Users can manage their own emulator (or device) and they can show the emulator window.

Rename mnit_simple to mnit_test with 2 alternatives on Android: minimal and complete. Also fix what was broken in the complete test and the lib. The complete test still doesn't work because of a bug in `android::audio` fixed by #1587 which is not yet merged.

Consider this PR as the first part for integrating Android test in jenkins. It will be easier to tweak the integration with already the script in master.

This PR does not fix the issue with some Android apps where they crash after about 30 seconds, but it could help prevent future regressions.

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

8 years agosrc: add a readme and fill project.ini
Jean Privat [Thu, 27 Aug 2015 17:43:26 +0000 (13:43 -0400)]
src: add a readme and fill project.ini

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

8 years agoloader/ini: the project name is `project.name` not just `name`
Jean Privat [Thu, 27 Aug 2015 17:42:46 +0000 (13:42 -0400)]
loader/ini: the project name is `project.name` not just `name`

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

8 years agoloader: fix behavior of `seach_module_by_amodule_name`
Jean Privat [Thu, 27 Aug 2015 19:22:57 +0000 (15:22 -0400)]
loader: fix behavior of `seach_module_by_amodule_name`

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

8 years agocontrib/objcwrapper: intro README.md file
Alexis Laferrière [Thu, 27 Aug 2015 18:29:20 +0000 (14:29 -0400)]
contrib/objcwrapper: intro README.md file

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

8 years agocontrib/objcwrapper grammar: add the size_t primitive type
Alexis Laferrière [Wed, 26 Aug 2015 20:52:38 +0000 (16:52 -0400)]
contrib/objcwrapper grammar: add the size_t primitive type

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

8 years agocontrib/objcwrapper grammar: accepts parameters without a type
Alexis Laferrière [Wed, 26 Aug 2015 20:12:57 +0000 (16:12 -0400)]
contrib/objcwrapper grammar: accepts parameters without a type

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

8 years agocontrib/objcwrapper header_static: ignore struct declarations
Alexis Laferrière [Wed, 26 Aug 2015 20:12:37 +0000 (16:12 -0400)]
contrib/objcwrapper header_static: ignore struct declarations

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

8 years agocontrib/objcwrapper makefile: add dependency to the bin/header_static rule
Alexis Laferrière [Wed, 26 Aug 2015 20:12:13 +0000 (16:12 -0400)]
contrib/objcwrapper makefile: add dependency to the bin/header_static rule

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

8 years agocontrib/objcwrapper makefile: add the NSAlert check
Alexis Laferrière [Tue, 25 Aug 2015 19:00:19 +0000 (15:00 -0400)]
contrib/objcwrapper makefile: add the NSAlert check

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

8 years agocontrib/objcwrapper makefile: use -o and nitls in the check rules
Alexis Laferrière [Tue, 25 Aug 2015 18:59:57 +0000 (14:59 -0400)]
contrib/objcwrapper makefile: use -o and nitls in the check rules

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

8 years agocontrib/objcwrapper: comment out properties depending on types availability
Alexis Laferrière [Wed, 26 Aug 2015 19:08:09 +0000 (15:08 -0400)]
contrib/objcwrapper: comment out properties depending on types availability

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

8 years agocontrib/objcwrapper: add type knowledge checks to ObjcModel
Alexis Laferrière [Wed, 26 Aug 2015 19:02:09 +0000 (15:02 -0400)]
contrib/objcwrapper: add type knowledge checks to ObjcModel

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

8 years agocontrib/objcwrapper: add some common special types
Alexis Laferrière [Wed, 26 Aug 2015 19:05:10 +0000 (15:05 -0400)]
contrib/objcwrapper: add some common special types

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

8 years agocontrib/objcwrapper: move `model` to an attribute of `CodeGenerator`
Alexis Laferrière [Wed, 26 Aug 2015 19:03:25 +0000 (15:03 -0400)]
contrib/objcwrapper: move `model` to an attribute of `CodeGenerator`

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

8 years agocontrib/objcwrapper: revamp the code generation module to use more `"""`
Alexis Laferrière [Wed, 26 Aug 2015 14:33:00 +0000 (10:33 -0400)]
contrib/objcwrapper: revamp the code generation module to use more `"""`

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

8 years agocontrib/objcwrapper: intro `ObjcMethod::is_init`
Alexis Laferrière [Wed, 26 Aug 2015 14:09:46 +0000 (10:09 -0400)]
contrib/objcwrapper: intro `ObjcMethod::is_init`

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

8 years agocontrib/objcwrapper: replace `init_with_alloc` by a command line option
Alexis Laferrière [Wed, 26 Aug 2015 13:09:29 +0000 (09:09 -0400)]
contrib/objcwrapper: replace `init_with_alloc` by a command line option

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

8 years agocontrib/objcwrapper: replace `type_convector` by a singleton and `to_nit_type`
Alexis Laferrière [Wed, 26 Aug 2015 12:45:11 +0000 (08:45 -0400)]
contrib/objcwrapper: replace `type_convector` by a singleton and `to_nit_type`

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

8 years agotests: Added Unicode sources to regex test
Lucas Bajolet [Thu, 27 Aug 2015 18:11:45 +0000 (14:11 -0400)]
tests: Added Unicode sources to regex test

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

8 years agolib/standard/re: Fix issue #1659 with Unicode
Lucas Bajolet [Thu, 27 Aug 2015 18:09:55 +0000 (14:09 -0400)]
lib/standard/re: Fix issue #1659 with Unicode

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

8 years agolib/standard/text: Added methods for bytes to char position translation
Lucas Bajolet [Thu, 27 Aug 2015 18:09:33 +0000 (14:09 -0400)]
lib/standard/text: Added methods for bytes to char position translation

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

8 years agoparser_nodes: provide `ANodes::reverse_iterator`
Jean Privat [Thu, 27 Aug 2015 01:51:18 +0000 (21:51 -0400)]
parser_nodes: provide `ANodes::reverse_iterator`

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

8 years agonitc: add ONLY_ACTIVE_ARCH to the xcodebuild invokation
Alexis Laferrière [Tue, 25 Aug 2015 15:53:43 +0000 (11:53 -0400)]
nitc: add ONLY_ACTIVE_ARCH to the xcodebuild invokation

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

8 years agolib/cocoa: cocoa_message_box import AppKit.h as it doesn't use app_kit
Alexis Laferrière [Tue, 25 Aug 2015 15:39:24 +0000 (11:39 -0400)]
lib/cocoa: cocoa_message_box import AppKit.h as it doesn't use app_kit

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

8 years agoloader: attach ini file to singleton projects
Jean Privat [Tue, 25 Aug 2015 20:12:09 +0000 (16:12 -0400)]
loader: attach ini file to singleton projects

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

8 years agolib/text: remove_all accept patterns
Alexis Laferrière [Wed, 26 Aug 2015 14:30:28 +0000 (10:30 -0400)]
lib/text: remove_all accept patterns

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

8 years agolib/text: use full name `pattern` in signature for better doc
Alexis Laferrière [Wed, 26 Aug 2015 14:29:38 +0000 (10:29 -0400)]
lib/text: use full name `pattern` in signature for better doc

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

8 years agolib: move `examples/emscripten` to `lib/emscripten/examples`
Jean Privat [Tue, 25 Aug 2015 18:42:30 +0000 (14:42 -0400)]
lib: move `examples/emscripten` to `lib/emscripten/examples`

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

8 years agolib: move lib/emscripten to its own project directory
Jean Privat [Tue, 25 Aug 2015 18:41:28 +0000 (14:41 -0400)]
lib: move lib/emscripten to its own project directory

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

8 years agoemscripten: fix whitespaces
Jean Privat [Wed, 26 Aug 2015 19:22:06 +0000 (15:22 -0400)]
emscripten: fix whitespaces

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

8 years agotests: update thing to `core` (instead of `standard`)
Jean Privat [Thu, 27 Aug 2015 02:18:58 +0000 (22:18 -0400)]
tests: update thing to `core` (instead of `standard`)

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

8 years agonitunit: special case in on `core` now
Jean Privat [Wed, 26 Aug 2015 19:01:42 +0000 (15:01 -0400)]
nitunit: special case in on `core` now

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

8 years agonitmetrics: kill unused functions `is_standard`
Jean Privat [Wed, 26 Aug 2015 19:01:13 +0000 (15:01 -0400)]
nitmetrics: kill unused functions `is_standard`

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

8 years agoloader: load `core` by default
Jean Privat [Wed, 26 Aug 2015 19:00:45 +0000 (15:00 -0400)]
loader: load `core` by default

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

8 years agocode: update references to `standard`
Jean Privat [Wed, 26 Aug 2015 19:00:15 +0000 (15:00 -0400)]
code: update references to `standard`

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

8 years agolib: add placebo `standard` to enable the bootstrap.
Jean Privat [Wed, 26 Aug 2015 18:58:04 +0000 (14:58 -0400)]
lib: add placebo `standard` to enable the bootstrap.

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

8 years agolib: rename `standard` as `core`
Jean Privat [Wed, 26 Aug 2015 18:53:03 +0000 (14:53 -0400)]
lib: rename `standard` as `core`

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

8 years agolib/standard: fix whitespaces before renaming
Jean Privat [Wed, 26 Aug 2015 20:14:08 +0000 (16:14 -0400)]
lib/standard: fix whitespaces before renaming

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

8 years agosrc/astbuilder: fix importations
Jean Privat [Thu, 27 Aug 2015 01:50:43 +0000 (21:50 -0400)]
src/astbuilder: fix importations

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

8 years agotests: remove orphaned savs
Alexis Laferrière [Tue, 25 Aug 2015 12:20:39 +0000 (08:20 -0400)]
tests: remove orphaned savs

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

8 years agolib/android: fix `Bundle::string` behavior on null strings from Java
Alexis Laferrière [Mon, 24 Aug 2015 17:29:54 +0000 (13:29 -0400)]
lib/android: fix `Bundle::string` behavior on null strings from Java

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

8 years agolib/android: use a global reference for `Bundle::native_bundle`
Alexis Laferrière [Mon, 24 Aug 2015 17:26:31 +0000 (13:26 -0400)]
lib/android: use a global reference for `Bundle::native_bundle`

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

8 years agolib/android: apply audio hook on portable methods
Alexis Laferrière [Sun, 23 Aug 2015 16:16:14 +0000 (12:16 -0400)]
lib/android: apply audio hook on portable methods

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

8 years agocontrib/mnit_test: add icons
Alexis Laferrière [Mon, 24 Aug 2015 16:41:40 +0000 (12:41 -0400)]
contrib/mnit_test: add icons

Using the PNG version to simplify the compilation process which is much
more complex from an SVG file. And I misplaced the source...

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

8 years agocontrib/mnit_test: improve documentation of `test_audio`
Alexis Laferrière [Mon, 24 Aug 2015 17:45:26 +0000 (13:45 -0400)]
contrib/mnit_test: improve documentation of `test_audio`

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

8 years agocontrib/mnit_test: deactivate the test reading `long` from shared_preferences
Alexis Laferrière [Mon, 24 Aug 2015 17:28:24 +0000 (13:28 -0400)]
contrib/mnit_test: deactivate the test reading `long` from shared_preferences

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

8 years agocontrib/mnit_test: deactivate the res/strings test to enable app_name
Alexis Laferrière [Mon, 24 Aug 2015 13:22:12 +0000 (09:22 -0400)]
contrib/mnit_test: deactivate the res/strings test to enable app_name

Defining a custom res/values/strings.xml prevents nitc from generating a
custom one with the annotation app_name as the resource app_name. This
kept use from having different launcher names for the minimal and
complete test versions.

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

8 years agocontrib/mnit_test: update the fdroid metadata file
Alexis Laferrière [Mon, 24 Aug 2015 13:06:26 +0000 (09:06 -0400)]
contrib/mnit_test: update the fdroid metadata file

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

8 years agocontrib/mnit_test: compile 2 versions of mnit_simple for Android
Alexis Laferrière [Mon, 24 Aug 2015 12:59:33 +0000 (08:59 -0400)]
contrib/mnit_test: compile 2 versions of mnit_simple for Android

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

8 years agocontrib/mnit_test: move mnit_simple to contrib/mnit_test
Alexis Laferrière [Mon, 24 Aug 2015 13:05:43 +0000 (09:05 -0400)]
contrib/mnit_test: move mnit_simple to contrib/mnit_test

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