Jean Privat [Mon, 6 Jun 2016 20:10:12 +0000 (16:10 -0400)]
catalog: only render the asked packages (not the imported ones)
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 6 Jun 2016 15:12:57 +0000 (11:12 -0400)]
Merge: nitweb: use ConsoleLog middleware
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Pull-Request: #2163
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 6 Jun 2016 15:12:12 +0000 (11:12 -0400)]
Merge: nitweb: use catalog as homepage
Used the Catalog API with Nitweb to provide a homepage.
Demo: http://nitweb.moz-code.org/
Pull-Request: #2162
Reviewed-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Wed, 25 May 2016 03:58:18 +0000 (23:58 -0400)]
nitweb: use ConsoleLog middleware
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 6 Jun 2016 13:02:43 +0000 (09:02 -0400)]
nitweb/angular: display Catalog as homepage
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 6 Jun 2016 13:01:34 +0000 (09:01 -0400)]
nitweb/angular: introduce Catalog model
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 6 Jun 2016 13:00:49 +0000 (09:00 -0400)]
nitweb: introduce API catalog route
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 6 Jun 2016 11:46:41 +0000 (07:46 -0400)]
nitweb: move APIRouter to nitweb.nit
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 6 Jun 2016 11:46:04 +0000 (07:46 -0400)]
nitweb: move APIHandler to web_base
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Sun, 5 Jun 2016 16:12:49 +0000 (12:12 -0400)]
Merge: nitls: fix tree representation of nested groups
nitls wrongly detached some nested groups in tree-mode.
Before:
~~~
$ nitls -tp lib/nitcorn/examples/src/nitcorn_hello_world.nit lib/nitcorn/http_response.nit
lib/nitcorn/examples
`--lib/nitcorn/examples/src
`--lib/nitcorn/examples/src/nitcorn_hello_world.nit
lib/nitcorn
`--lib/nitcorn/http_response.nit
~~~
After:
~~~
$ nitls -tp lib/nitcorn/examples/src/nitcorn_hello_world.nit lib/nitcorn/http_response.nit
lib/nitcorn
|--lib/nitcorn/examples
| `--lib/nitcorn/examples/src
| `--lib/nitcorn/examples/src/nitcorn_hello_world.nit
`--lib/nitcorn/http_response.nit
~~~
Pull-Request: #2161
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Sun, 5 Jun 2016 16:10:23 +0000 (12:10 -0400)]
Merge: Honor `source.exclude` in ini files
`source.exclude` is used in very specific cases to prevent some .nit file of directory to belong to a package.
This means two things:
* when the loader is scanning/loading a full package or group, and finds an excluded group or module, then the excluded entity will be not included in the package (and not scanned/loaded)
* when the loader is explicitly requested to load an excluded entity, then it will be detached from the parent package. The excluded modules will be considered as standalone modules.
Pull-Request: #2160
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Sun, 5 Jun 2016 16:10:19 +0000 (12:10 -0400)]
Merge: nitunit with black boxes: alternative sav files and --autosav
Two new things:
* alternative .res location for better scalability
* option --autosav to create/update the .res files
For each TestCase `test_bar` of a TestSuite `test_mod.nit`, a corresponding file with the expected output is looked for:
* "test_mod.sav/test_bar.res". I.e. test-cases grouped by test-suites.
This is the default and is useful if there is a lot of test-suites and test-cases in a directory
* "sav/test_bar.res". I.e. all test-cases grouped in a common sub-directory.
Useful if there is a lot of test-suites OR test-cases in a directory.
* "test_bar.res" raw in the directory.
Useful is there is a few test-suites and test-cases in a directory.
All 3 are exclusive. If more than one exists, the test-case is failed.
If a corresponding file then the output of the test-case is compared with the file.
To helps the management of the expected results, the option `--autosav` can be used to automatically create and update them.
With the option, if a black block test fails because a difference between the expected result and the current result then the expected result file is updated (and the test is passed).
If a test-case of a test-suite passes but that some output is generated, then an expected result file is created.
It is expected that the created/updated files are checked since the tests are considered passed.
A VCS like `git` is often a good tool to check the creation and modification of those files.
Pull-Request: #2158
Jean Privat [Sat, 4 Jun 2016 16:42:41 +0000 (12:42 -0400)]
code: add some `source.exclude` to remove errors in the catalog
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 4 Jun 2016 15:06:07 +0000 (11:06 -0400)]
tests: add test for source.exclude ini entry
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 4 Jun 2016 17:38:20 +0000 (13:38 -0400)]
tests: update sav/test_basename_perf_args1.res that rely on project1
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 4 Jun 2016 16:18:28 +0000 (12:18 -0400)]
tests: improve nitls tests
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 4 Jun 2016 16:17:51 +0000 (12:17 -0400)]
nitls: fix broken group tree when there is a chain of empty groups
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 4 Jun 2016 14:56:29 +0000 (10:56 -0400)]
loader: honor `source.exclude` config in the package.ini
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 4 Jun 2016 14:54:21 +0000 (10:54 -0400)]
modelbuilder: stop reporting hints again and again. It could be time consuming.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 3 Jun 2016 00:34:02 +0000 (20:34 -0400)]
nitunit: update manpage with multiple .res and --autosav
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 3 Jun 2016 00:03:57 +0000 (20:03 -0400)]
nitunit: add `--autosav` for testsuites
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 3 Jun 2016 00:03:18 +0000 (20:03 -0400)]
nitunit: add a `info` to unit-test for noteworthy information
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 2 Jun 2016 23:59:41 +0000 (19:59 -0400)]
tests: nitunit with multiple .res files
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 2 Jun 2016 23:44:47 +0000 (19:44 -0400)]
nitunit: testsuite+diff tries additional `.res` files
* "test_suite.sav/test_case.res" grouped by test-suites
The current one.
Useful if there is a lot of test-suites and test-cases in a directory
* "sav/test_case.res" just grouped in a common directory
Useful if there is a lot of test-suites OR test-cases in a directory
* "test_case.res" raw in the directory.
Useful is there is a few test-suites and test-cases in a directory.
All 3 are exclusive. If more than one exists, the test-case is failed.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 2 Jun 2016 23:39:54 +0000 (19:39 -0400)]
nitunit: testsuite+diff do not info missing diff if raw_output.is_empty
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 3 Jun 2016 17:17:39 +0000 (13:17 -0400)]
Merge: nitunit: improve progress display
The results are printed progressively instead of at the end of each test-suite.
The progress bar in therefore displayed below the results.
See it in action: https://asciinema.org/a/17u9jwts0nz5dfpxp8p9aab0f
Pull-Request: #2156
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Fri, 3 Jun 2016 17:17:00 +0000 (13:17 -0400)]
Merge: niti: teach the interpreter to read from the standard input
With `-` the program is read from stdin.
~~~
$ echo H4sIAN7lUFcAAysoyswrUVDySM3JyVfiAgCjfiaWDgAAAA== | base64 -d | gunzip | nit -
Hello
~~~
Pull-Request: #2159
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Fri, 3 Jun 2016 17:16:57 +0000 (13:16 -0400)]
Merge: nitweb: search field
* Introduce a search field in the top navbar connected to the `/search` service.
* Added a stub implementation of a search service depending on APIList.
Demo: http://nitweb.moz-code.org/
Pull-Request: #2157
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 2 Jun 2016 21:48:23 +0000 (17:48 -0400)]
tests: update nitunit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 3 Jun 2016 13:35:22 +0000 (09:35 -0400)]
nitunit: improve status bar
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 3 Jun 2016 13:33:57 +0000 (09:33 -0400)]
nitunit: rename `has_status` and cie to `has_progress_bar`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 3 Jun 2016 00:48:32 +0000 (20:48 -0400)]
nitunit: fix typo in doc
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 3 Jun 2016 02:03:18 +0000 (22:03 -0400)]
man: nit.md documents `-`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 3 Jun 2016 02:02:49 +0000 (22:02 -0400)]
tests: add `-` for nit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 3 Jun 2016 02:02:17 +0000 (22:02 -0400)]
niti: add `-` to read the standard input
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 3 Jun 2016 01:44:20 +0000 (21:44 -0400)]
Merge: lib/app: update doc for http_request and the improved -m
Pull-Request: #2155
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 3 Jun 2016 01:44:18 +0000 (21:44 -0400)]
Merge: Benitlux app: improve signup screen
The new signup screen shows more feedback and requires to write the password twice.
Pull-Request: #2154
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 3 Jun 2016 01:44:10 +0000 (21:44 -0400)]
Merge: nitweb: show mentities details
Add more content to mentities pages.
Packages list inner groups
* http://nitweb.moz-code.org/package/core
Groups show parent and list inner groups/modules
* http://nitweb.moz-code.org/group/core%3E
* http://nitweb.moz-code.org/group/core%3Ecollection%3E
Modules show imported modules, introduced classes and redefinitions
* http://nitweb.moz-code.org/module/core::array
Classes show super classes, introduced properties, redefined properties
* http://nitweb.moz-code.org/class/core::Array
Bonus, all lists are filterable by raw string or visibility.
Pull-Request: #2152
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 3 Jun 2016 01:44:04 +0000 (21:44 -0400)]
Merge: Factorize `capitalize` and add option to preserve uppercase letters
Merge the duplicated implementation of `String::capitalized` and `Buffer::capitalize` and extend it to accept the `keep_upper` optional parameter. This parameter triggers keeping uppercase letters as is.
It is applied in nitiwiki to preserve acronyms, like the many apparences of FFI at http://nitlanguage.org/FFI/.
Pull-Request: #2085
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Alexandre Terrasa [Thu, 2 Jun 2016 23:41:19 +0000 (19:41 -0400)]
nitweb/angular: add search field
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Thu, 2 Jun 2016 23:18:31 +0000 (19:18 -0400)]
nitweb/src: APISearch super APIList
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Thu, 2 Jun 2016 23:17:35 +0000 (19:17 -0400)]
src/web: APIList and APIRandom use JsonArray.from
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 04:27:14 +0000 (00:27 -0400)]
nitweb/angular: show mclass content
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Thu, 2 Jun 2016 04:39:40 +0000 (00:39 -0400)]
nitweb/angular: show module content
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 02:27:20 +0000 (22:27 -0400)]
nitweb/angular: show group content
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 00:56:36 +0000 (20:56 -0400)]
nitweb/angular: show package content
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 00:39:55 +0000 (20:39 -0400)]
nitweb/angular: filter entity lists
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Thu, 2 Jun 2016 21:44:44 +0000 (17:44 -0400)]
nitunit: keep the status bar at the end line and show progress
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 2 Jun 2016 21:43:32 +0000 (17:43 -0400)]
nitunit: check docunits in order, even if compiled independently
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 2 Jun 2016 21:38:21 +0000 (17:38 -0400)]
nitunit: md files do not need a location, just the filename
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 2 Jun 2016 21:32:22 +0000 (17:32 -0400)]
nitunit: number docunit from 1 and correctly use it in full_name
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 2 Jun 2016 21:31:08 +0000 (17:31 -0400)]
nitunit: remove `more_message` from status as it causes terminal overflow
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 2 Jun 2016 21:29:33 +0000 (17:29 -0400)]
nitunit: do not show the status bar if no-color or verbose
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Mon, 16 May 2016 13:06:17 +0000 (09:06 -0400)]
contrib/nitiwiki: preserve uppercase letter in title (for acronyms like FFI)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 16 May 2016 14:01:19 +0000 (10:01 -0400)]
lib/text: add option to preserve uppercase letter in `capitalize`
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 16 May 2016 13:05:52 +0000 (09:05 -0400)]
lib/text: factorize the implementations of capitalize and capitalized
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Thu, 2 Jun 2016 19:18:50 +0000 (15:18 -0400)]
lib/app: update package.ini to use the mobile tag
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Thu, 2 Jun 2016 15:56:33 +0000 (11:56 -0400)]
lib/app: improve doc of AsyncHttpRequest
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 30 May 2016 21:38:20 +0000 (17:38 -0400)]
lib/app: update README
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Thu, 2 Jun 2016 16:56:01 +0000 (12:56 -0400)]
Merge: man/nitc: Remove duplicate option description
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Pull-Request: #2149
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 2 Jun 2016 13:42:48 +0000 (09:42 -0400)]
Merge: contrib/simplan: fix `call on nullable receiver` warnings
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Pull-Request: #2145
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 2 Jun 2016 13:42:46 +0000 (09:42 -0400)]
Merge: contrib/refund: fix warnings
Pull-Request: #2144
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 2 Jun 2016 13:42:44 +0000 (09:42 -0400)]
Merge: nitiwiki: fix warnings
This PR gets rid of the last warnings in nitiwiki.
Pull-Request: #2143
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 2 Jun 2016 13:42:41 +0000 (09:42 -0400)]
Merge: rta: do not analyze abstract methods
Just stop visiting abstract methods. This make RTA more robust when there is not body
Pull-Request: #2141
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 00:37:09 +0000 (20:37 -0400)]
nitweb/angular: introduce entity-list directive
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 00:35:02 +0000 (20:35 -0400)]
nitweb/angular: introduce entity-card directive
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 00:32:42 +0000 (20:32 -0400)]
nitweb/angular: introduce entity-location directive
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 00:30:32 +0000 (20:30 -0400)]
nitweb/angular: introduce entity-tag directive
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean-Christophe Beaupré [Wed, 1 Jun 2016 18:00:12 +0000 (14:00 -0400)]
man/nitc: Remove duplicate option description
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Alexandre Terrasa [Wed, 1 Jun 2016 14:30:54 +0000 (10:30 -0400)]
contrib/simplan: fix `call on nullable receiver` warnings
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 14:27:26 +0000 (10:27 -0400)]
contrib/refund: fix `call on nullable receiver` warnings
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 14:27:01 +0000 (10:27 -0400)]
contrib/refund: fix `useless signature in redef` warning
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 14:19:57 +0000 (10:19 -0400)]
contrib/nitiwiki: fix `call on nullable receiver` warnings
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 14:19:20 +0000 (10:19 -0400)]
contrib/nitiwiki: fix `useless signature in redef` warnings
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Wed, 1 Jun 2016 13:57:25 +0000 (09:57 -0400)]
Merge: nitweb: introduce angular skeleton
This PR introduces the angular-js skeleton for nitweb. It contains only one line of nit, the other modification only html/css/js code.
For now, most of the views/controllers are empty and the interface only displays the mdoc of each mentity hilighted with nitlight/doc_down.
Some demo pages:
* http://nitweb.moz-code.org/package/popcorn
* http://nitweb.moz-code.org/module/core::ropes
* http://nitweb.moz-code.org/class/core::Array
Pull-Request: #2142
Reviewed-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Mon, 23 May 2016 22:56:34 +0000 (18:56 -0400)]
nitweb/angular: add /propdef/:full_name page
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 23 May 2016 22:52:01 +0000 (18:52 -0400)]
nitweb/angular: add /property/:full_name page
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 23 May 2016 22:33:04 +0000 (18:33 -0400)]
nitweb/angular: add /class/:full_name page
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 02:48:42 +0000 (22:48 -0400)]
nitweb/angular: add /classdef/:full_name page
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 23 May 2016 22:16:49 +0000 (18:16 -0400)]
nitweb/angular: add /module/:full_name page
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 02:26:51 +0000 (22:26 -0400)]
nitweb/angular: add /group/:full_name page
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 00:56:23 +0000 (20:56 -0400)]
nitweb/angular: add /package/:full_name page
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 00:29:13 +0000 (20:29 -0400)]
nitweb/angular: introduce entity-signature directive
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 00:28:01 +0000 (20:28 -0400)]
nitweb/angular: introduce entity-doc directive
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 00:21:06 +0000 (20:21 -0400)]
nitweb/angular: introduce entity-link directives
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 23 May 2016 22:00:44 +0000 (18:00 -0400)]
nitweb/angular: introduce Model factory
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 1 Jun 2016 03:53:32 +0000 (23:53 -0400)]
nitweb: introduce angular skeleton
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Wed, 1 Jun 2016 01:24:31 +0000 (21:24 -0400)]
Merge: core: fix some "call on nullable" warnings
Too tired too work but no enough to sleep...
According to Jenkins [here](http://gresil.org/jenkins/job/CI_github/4177/warnings2Result/package.
795683049/), [here](http://gresil.org/jenkins/job/CI_github/4177/warnings2Result/package.-
1960060028/) and [here](http://gresil.org/jenkins/job/CI_github/4177/warnings2Result/package.
1056020115/), this PR should fix the remaining warning of `core/`.
The algorithm used for the human/pillow approach was:
~~~
1. can it be fixed shamelessly with a .as(not null) ?
yes: add that sweet .as(not null) and hope for the best
2. is there more than one occurrence of the variable involved?
yes: factorise with a local variable, add that sweet .as(not null) and hope for the best
3. is this code to complex for my human/pillow head?
yes: shame = false, fallback to 1.
abort "Not yet occurred case..."
~~~
There is love for @R4PaSs (core::text), @xymus (core::re) and @privat (core::*).
TL;DR No more warnings in core.
Pull-Request: #2027
Reviewed-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Mon, 30 May 2016 19:08:09 +0000 (15:08 -0400)]
tests: fix line numbers in array related tests
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 20 Apr 2016 05:56:01 +0000 (01:56 -0400)]
core: fix warnings in file
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 20 Apr 2016 05:54:21 +0000 (01:54 -0400)]
core: fix warnings in re
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 20 Apr 2016 05:53:42 +0000 (01:53 -0400)]
core: fix warnings in exec
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 20 Apr 2016 05:53:37 +0000 (01:53 -0400)]
core: fix warnings in error
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 20 Apr 2016 05:51:55 +0000 (01:51 -0400)]
core: fix warnings in ropes
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 20 Apr 2016 05:51:50 +0000 (01:51 -0400)]
core: fix warnings in abstract_text
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 20 Apr 2016 05:46:17 +0000 (01:46 -0400)]
core: fix warnings in list
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 20 Apr 2016 05:40:56 +0000 (01:40 -0400)]
core: fix warnings in array
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Tue, 31 May 2016 18:13:27 +0000 (14:13 -0400)]
rta: do not analyze abstract methods
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 30 May 2016 17:14:12 +0000 (13:14 -0400)]
Merge: README: Update libgc's URL
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Pull-Request: #2140
Reviewed-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 30 May 2016 17:14:07 +0000 (13:14 -0400)]
Merge: nitweb: clean existing api
This PR cleans the Quick&Dirty(c) JSON API of nitweb to use the model_json one.
Modified services:
* /uml -> /api/um/:entity
* /code -> /api/code/:entity
* /random -> /api/random
* /search -> /api/search
Also do some renaming to match `popcorn` philosophy.
Pull-Request: #2137
Reviewed-by: Jean Privat <jean@pryen.org>