Merge: CI: macOS jobs for Gitlab CI Add 3 CI jobs for macOS, equivalent to `build_tools`, `test_some` and `test_full_nitcs`. They are executed by a shell executor on a macOS host, Nit Gitlab repos should have a such a runner with the tag `macos`. The new jobs are similar enough to the GNU/Linux versions that they can share the same script. This PR also fixes 3 problems with macOS portability: * Workaround for the error with kqueue on libevent and nitcorn clients. * Set `sed -E` explicitly in `check_manpages.sh` for portability with macOS. * Download bdwgc in the CI docker image, to prevent `test_full_nitcs_macos` to fail on `hello_ios` because it downloads bdwgc at compilation and prints to the test output. This will require regenerating the official Docker image. Pull-Request: #2743 Reviewed-by: Jean Privat <jean@pryen.org>
Merge: Ci: move services to specific hostnames Testing nit with various services is a PITA. The previous solution was to test them on localhost and requires that the services are available and configured on each test node (it is not always as easy as it seems). Another problem with `localhost` is that testing within docker is complex as running multiple services in a single container is discouraged. Here, we propose to simply move the service from localhost to specific hostnames. This is to be the current "good" practice and is supported out-of-the-box bu various CI infrastructure including gitlab-ci. Pull-Request: #2737
Merge: Object destroy traces - add destruction traces - add lttng channel configuration file - resolve the signed pointer issue by using uintptr_t instead of intptr_t - resolve the discarded events issue by using a blocking channel mode. To compile using the trace system: --trace To test tracing some object instance and destroy events: lttng load -i=~/nit/src/Nit_Compiler.lttng Nit_Compiler lttng start --> run your program lttng stop To read your CTF trace file: babeltrace ~/lttng-traces/Nit_Compiler-......... Signed-off-by: olivierschirm <olive.schirm@gmail.com> Pull-Request: #2695 Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net> Reviewed-by: Jean Privat <jean@pryen.org>
Merge: gtksourceview: Add the missing `kwnull` context Renderings for `test_syntax.nit`: * [Classic](https://github.com/nitlang/nit/files/1148477/gtksourceview-classic.pdf) * [Kate](https://github.com/nitlang/nit/files/1148476/gtksourceview-kate.pdf) * [Solarized Clear](https://github.com/nitlang/nit/files/1148474/gtksourceview-solarized-clear.pdf) * [Tango](https://github.com/nitlang/nit/files/1148475/gtksourceview-tango.pdf) For comparison, see #2515. ![WHOOPS!!](https://user-images.githubusercontent.com/6044484/28213673-23e5b296-6875-11e7-8a2b-494652afe064.png "WHOOPS!!") Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com> Pull-Request: #2525
vim: improve NitGitGrep * Print line number after the file path, so you can use `gF` here too. * Show the introduction(s) before the redefs. * Search for the complete word under the cursor. * Search only in Nit source files. * Avoid duplicating results. Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>