Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agoDon't use null objects v3.23.2
Martin Quinson [Mon, 8 Jul 2019 16:08:15 +0000 (18:08 +0200)]
Don't use null objects

Fixes https://github.com/simgrid/simgrid/issues/328

4 years agofix the build on appveyor since travis has no artifacts
Martin Quinson [Mon, 8 Jul 2019 15:52:02 +0000 (17:52 +0200)]
fix the build on appveyor since travis has no artifacts

4 years agoFix cmake error...
Arnaud Giersch [Mon, 8 Jul 2019 15:42:52 +0000 (17:42 +0200)]
Fix cmake error...

4 years agoQuick hack to check MANIFEST.in
Arnaud Giersch [Mon, 8 Jul 2019 15:37:35 +0000 (17:37 +0200)]
Quick hack to check MANIFEST.in

4 years agofix pip package generation
Martin Quinson [Mon, 8 Jul 2019 15:13:25 +0000 (17:13 +0200)]
fix pip package generation

4 years agotry to dot-release
Martin Quinson [Mon, 8 Jul 2019 14:37:11 +0000 (16:37 +0200)]
try to dot-release

4 years agodoc: fix a broken link and cosmetics
Martin Quinson [Wed, 3 Jul 2019 20:52:06 +0000 (22:52 +0200)]
doc: fix a broken link and cosmetics

4 years agodon't install system javasphinx on our docker build-deps
Martin Quinson [Wed, 3 Jul 2019 20:47:30 +0000 (22:47 +0200)]
don't install system javasphinx on our docker build-deps

I want to test whether our embeeded version works

4 years agocosmetics for sorting
Augustin Degomme [Sat, 6 Jul 2019 23:35:17 +0000 (01:35 +0200)]
cosmetics for sorting

4 years agoswitch to mojave on travis
Augustin Degomme [Sat, 6 Jul 2019 22:35:48 +0000 (00:35 +0200)]
switch to mojave on travis

4 years agoupdate description to remove appveyor and add travis-windows
Augustin Degomme [Sat, 6 Jul 2019 22:32:29 +0000 (00:32 +0200)]
update description to remove appveyor and add travis-windows

4 years agoRefactoring of commit 1ebb8e111d904fea559e48ec193c1f7c5dee2245.
Loic Guegan [Fri, 5 Jul 2019 08:07:57 +0000 (10:07 +0200)]
Refactoring of commit 1ebb8e111d904fea559e48ec193c1f7c5dee2245.

4 years agoFixed simgrid/simgrid#27.
Arnaud Giersch [Thu, 4 Jul 2019 13:50:58 +0000 (15:50 +0200)]
Fixed simgrid/simgrid#27.

4 years agoMerge remote-tracking branch 'github/master'
Arnaud Giersch [Thu, 4 Jul 2019 15:24:13 +0000 (17:24 +0200)]
Merge remote-tracking branch 'github/master'

(fixed comment in NativeLib.java)

4 years agoMerge branch 'master' of framagit.org:simgrid/simgrid
Loic Guegan [Thu, 4 Jul 2019 15:21:51 +0000 (17:21 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid

4 years agoRevert "Extend Link interface in order to handle links with multiple bandwidths."
Loic Guegan [Thu, 4 Jul 2019 15:19:16 +0000 (17:19 +0200)]
Revert "Extend Link interface in order to handle links with multiple bandwidths."
Changes will be move to NetworkWikiLink.

This reverts commit 1ebb8e111d904fea559e48ec193c1f7c5dee2245.

4 years agoAdd windows to travis (#327)
adegomme [Thu, 4 Jul 2019 14:24:05 +0000 (16:24 +0200)]
Add windows to travis (#327)

travis: compile on windows (and drop appveyor)

4 years agoMerge branch 'master' of framagit.org:simgrid/simgrid
henricasanova [Thu, 4 Jul 2019 14:07:44 +0000 (16:07 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid

4 years agoRemoved unused variable warning
henricasanova [Thu, 4 Jul 2019 14:07:30 +0000 (16:07 +0200)]
Removed unused variable warning

4 years agoFix build on CI.
Arnaud Giersch [Thu, 4 Jul 2019 13:23:38 +0000 (15:23 +0200)]
Fix build on CI.

4 years agoEnable test for simgrid/simgrid#27.
Arnaud Giersch [Thu, 4 Jul 2019 13:21:02 +0000 (15:21 +0200)]
Enable test for simgrid/simgrid#27.

4 years agoJust keep the same exception_ptr (no copy).
Arnaud Giersch [Thu, 4 Jul 2019 12:56:55 +0000 (14:56 +0200)]
Just keep the same exception_ptr (no copy).

See https://stackoverflow.com/q/37249698 or https://stackoverflow.com/q/30580128

Let's see if it helps for issue simgrid/simgrid#27.

4 years ago- Add wifi link
Loic Guegan [Thu, 4 Jul 2019 12:55:33 +0000 (14:55 +0200)]
- Add wifi link
- Change "bandwith" to "bandwidth"

4 years agoExtend Link interface in order to handle links with multiple bandwidths.
Loic Guegan [Thu, 4 Jul 2019 12:06:32 +0000 (14:06 +0200)]
Extend Link interface in order to handle links with multiple bandwidths.
It will be used by wifi access points (each station connected to an access point
will communicate using one of the rate available on the access point).

4 years ago(#27) added a (commented out) test that highlights a wait_any bug.
henricasanova [Thu, 4 Jul 2019 11:48:47 +0000 (13:48 +0200)]
(#27) added a (commented out) test that highlights a wait_any bug.

4 years ago[sonar] Add @deprecated in javadoc.
Arnaud Giersch [Thu, 4 Jul 2019 07:08:43 +0000 (09:08 +0200)]
[sonar] Add @deprecated in javadoc.

4 years ago[sonar] Ignore rules S1133 for Java too.
Arnaud Giersch [Thu, 4 Jul 2019 06:58:56 +0000 (08:58 +0200)]
[sonar] Ignore rules S1133 for Java too.

4 years agofix make distcheck
Martin Quinson [Wed, 3 Jul 2019 13:21:11 +0000 (15:21 +0200)]
fix make distcheck

4 years agodoc: Migrate Deploying_your_Application to RST
Martin Quinson [Tue, 2 Jul 2019 21:50:21 +0000 (23:50 +0200)]
doc: Migrate Deploying_your_Application to RST

4 years agodoc: copy/paste error
Martin Quinson [Mon, 1 Jul 2019 18:05:00 +0000 (20:05 +0200)]
doc: copy/paste error

4 years agoautopep8 this file
Martin Quinson [Sun, 30 Jun 2019 19:04:27 +0000 (21:04 +0200)]
autopep8 this file

4 years agofix some sphinx warnings
Martin Quinson [Sun, 30 Jun 2019 18:49:08 +0000 (20:49 +0200)]
fix some sphinx warnings

4 years agojavasphinx: fix deprecation warnings
Martin Quinson [Sun, 30 Jun 2019 18:44:14 +0000 (20:44 +0200)]
javasphinx: fix deprecation warnings

4 years ago[sonar] Replace "std::function" by a template parameter.
Arnaud Giersch [Wed, 3 Jul 2019 12:31:35 +0000 (14:31 +0200)]
[sonar] Replace "std::function" by a template parameter.

4 years ago[sonar] Set static field from static method.
Arnaud Giersch [Wed, 3 Jul 2019 12:21:02 +0000 (14:21 +0200)]
[sonar] Set static field from static method.

4 years ago[sonar] Move all #include directives before any code for C++ too.
Arnaud Giersch [Wed, 3 Jul 2019 08:18:46 +0000 (10:18 +0200)]
[sonar] Move all #include directives before any code for C++ too.

4 years ago[sonar] Inherit from std::exception.
Arnaud Giersch [Wed, 3 Jul 2019 08:11:37 +0000 (10:11 +0200)]
[sonar] Inherit from std::exception.

4 years ago[sonar] Mark deprecated method as "@Deprecated".
Arnaud Giersch [Wed, 3 Jul 2019 07:54:15 +0000 (09:54 +0200)]
[sonar] Mark deprecated method as "@Deprecated".

4 years agoCosmetics: namespace simgrid is implicit.
Arnaud Giersch [Tue, 2 Jul 2019 14:15:57 +0000 (16:15 +0200)]
Cosmetics: namespace simgrid is implicit.

4 years agoRename simgrid::TimeoutError to simgrid::TimeoutException.
Arnaud Giersch [Tue, 2 Jul 2019 14:14:38 +0000 (16:14 +0200)]
Rename simgrid::TimeoutError to simgrid::TimeoutException.

4 years agoDeprecate legacy xbt_ex; kill xbt_errcat_t.
Arnaud Giersch [Tue, 2 Jul 2019 13:47:05 +0000 (15:47 +0200)]
Deprecate legacy xbt_ex; kill xbt_errcat_t.

4 years agoDefine and throw simgrid::TracingError.
Arnaud Giersch [Tue, 2 Jul 2019 13:47:05 +0000 (15:47 +0200)]
Define and throw simgrid::TracingError.

4 years agoDefine and throw simgrid::VmFailureException.
Arnaud Giersch [Tue, 2 Jul 2019 13:47:05 +0000 (15:47 +0200)]
Define and throw simgrid::VmFailureException.

4 years agoThrow std::out_of_range.
Arnaud Giersch [Tue, 2 Jul 2019 13:47:05 +0000 (15:47 +0200)]
Throw std::out_of_range.

4 years agoThrow std::invalid_argument.
Arnaud Giersch [Tue, 2 Jul 2019 13:47:05 +0000 (15:47 +0200)]
Throw std::invalid_argument.

4 years agoReplace some calls to THROWF.
Arnaud Giersch [Tue, 2 Jul 2019 13:47:05 +0000 (15:47 +0200)]
Replace some calls to THROWF.

4 years agoCatch specialized exceptions instead of generic xbt_ex.
Arnaud Giersch [Tue, 2 Jul 2019 13:47:05 +0000 (15:47 +0200)]
Catch specialized exceptions instead of generic xbt_ex.

4 years agoCosmetics: improve indentation.
Arnaud Giersch [Tue, 2 Jul 2019 13:47:05 +0000 (15:47 +0200)]
Cosmetics: improve indentation.

4 years agoDefine proper exceptions subclasses.
Arnaud Giersch [Tue, 2 Jul 2019 13:30:30 +0000 (15:30 +0200)]
Define proper exceptions subclasses.

4 years agoUse std::future_error.
Arnaud Giersch [Tue, 2 Jul 2019 13:29:33 +0000 (15:29 +0200)]
Use std::future_error.

4 years ago[sonar] Replace usage of "printf" by a logger.
Arnaud Giersch [Tue, 2 Jul 2019 12:42:00 +0000 (14:42 +0200)]
[sonar] Replace usage of "printf" by a logger.

4 years ago[sonar] Move include before any code.
Arnaud Giersch [Tue, 2 Jul 2019 09:51:03 +0000 (11:51 +0200)]
[sonar] Move include before any code.

4 years agoKill unused static functions (dead code).
Arnaud Giersch [Tue, 2 Jul 2019 09:44:04 +0000 (11:44 +0200)]
Kill unused static functions (dead code).

4 years agoJust let the exception flow.
Arnaud Giersch [Tue, 2 Jul 2019 09:35:52 +0000 (11:35 +0200)]
Just let the exception flow.

4 years agoDefine and use _XBT_STRINGIFY and _XBT_CONCAT{,2,3,4}.
Arnaud Giersch [Mon, 1 Jul 2019 20:59:33 +0000 (22:59 +0200)]
Define and use _XBT_STRINGIFY and _XBT_CONCAT{,2,3,4}.

Use them almost everywhere, for sake of consistency.

Required by Sonar rule cpp:S967 (There shall be at most one occurrence of
the # or ## operators in a single macro definition).

4 years agoDrop xbt_dynar_sort_strings().
Arnaud Giersch [Fri, 28 Jun 2019 07:46:43 +0000 (09:46 +0200)]
Drop xbt_dynar_sort_strings().

4 years agoUseless casts.
Arnaud Giersch [Fri, 28 Jun 2019 07:39:07 +0000 (09:39 +0200)]
Useless casts.

4 years agodoc: fix borken links
Martin Quinson [Sun, 30 Jun 2019 16:31:38 +0000 (18:31 +0200)]
doc: fix borken links

4 years agolinkcheck when building the doc
Martin Quinson [Sun, 30 Jun 2019 16:31:24 +0000 (18:31 +0200)]
linkcheck when building the doc

4 years agoDocument the native dependencies of the pip package in its description
Martin Quinson [Sun, 30 Jun 2019 15:11:10 +0000 (17:11 +0200)]
Document the native dependencies of the pip package in its description

4 years agolast cleanups to the doc. I stop now for today.
Martin Quinson [Sun, 30 Jun 2019 11:30:58 +0000 (13:30 +0200)]
last cleanups to the doc. I stop now for today.

4 years agofix make dist (missing doc parts)
Martin Quinson [Sun, 30 Jun 2019 11:21:14 +0000 (13:21 +0200)]
fix make dist (missing doc parts)

4 years agoVarious doc improvement, mostly on rendering
Martin Quinson [Sun, 30 Jun 2019 11:18:11 +0000 (13:18 +0200)]
Various doc improvement, mostly on rendering

4 years agodoc: Better uniformity wrt graphical toc
Martin Quinson [Sun, 30 Jun 2019 10:22:41 +0000 (12:22 +0200)]
doc: Better uniformity wrt graphical toc

4 years agodoc: further cleanups in the graphical toc [ci-skip]
Martin Quinson [Sun, 30 Jun 2019 09:36:51 +0000 (11:36 +0200)]
doc: further cleanups in the graphical toc [ci-skip]

Having clicable areas requires <a> tags that are not visible in
inkscape. You have to use the object navigation tool in inkscape, and
then, you'd better have sensible names to your objects. Thus this
commit.

4 years agoci: yet another attempt at pip dependencies
Martin Quinson [Sat, 29 Jun 2019 10:18:20 +0000 (12:18 +0200)]
ci: yet another attempt at pip dependencies

4 years agodoc: cosmetics in the graphical toc of platforms
Martin Quinson [Sat, 29 Jun 2019 09:56:00 +0000 (11:56 +0200)]
doc: cosmetics in the graphical toc of platforms

4 years agoadd missing symbols to the refguide
Martin Quinson [Fri, 28 Jun 2019 23:12:26 +0000 (01:12 +0200)]
add missing symbols to the refguide

4 years agodoc: various formating fixups
Martin Quinson [Fri, 28 Jun 2019 23:05:36 +0000 (01:05 +0200)]
doc: various formating fixups

4 years agodoc: Move Java as a subtree of MSG
Martin Quinson [Fri, 28 Jun 2019 22:55:07 +0000 (00:55 +0200)]
doc: Move Java as a subtree of MSG

4 years agoembeed the javasphinx module
Martin Quinson [Fri, 28 Jun 2019 22:35:47 +0000 (00:35 +0200)]
embeed the javasphinx module

I don't feel very good embeeding a software that was deprecated by its
sole author, but I don't see no alternative module, and we need it to
compile the documentation. I would like to distribute the
documentation as a Debian package (or maybe re-add it to the
tarballs), and I don't see any other options to get it working.

4 years agoPut the documentation intro on the first page
Martin Quinson [Fri, 28 Jun 2019 21:54:25 +0000 (23:54 +0200)]
Put the documentation intro on the first page

That's a bit stupid to hide the introduction deep below.

4 years agotry to coin the minimal dependencies to build the pip package
Martin Quinson [Wed, 26 Jun 2019 09:53:34 +0000 (11:53 +0200)]
try to coin the minimal dependencies to build the pip package

4 years agoComplete activity-lifecycle with test cases from simgrid/simgrid#26.
Arnaud Giersch [Wed, 26 Jun 2019 21:31:19 +0000 (23:31 +0200)]
Complete activity-lifecycle with test cases from simgrid/simgrid#26.

(plus minor cosmetical changes).

4 years agoCorrectly terminate a Comm which is failing immediately.
Arnaud Giersch [Thu, 27 Jun 2019 08:08:42 +0000 (10:08 +0200)]
Correctly terminate a Comm which is failing immediately.

Address https://framagit.org/simgrid/simgrid/issues/26

4 years agocomment borken tests
Martin Quinson [Wed, 26 Jun 2019 09:13:26 +0000 (11:13 +0200)]
comment borken tests

4 years agoRemove features marked with DEPRECATED_v324.
Arnaud Giersch [Tue, 25 Jun 2019 14:25:13 +0000 (16:25 +0200)]
Remove features marked with DEPRECATED_v324.

4 years agoUpgrade XBT_ATTRIB_DEPRECATED_v326 -> v327.
Arnaud Giersch [Tue, 25 Jun 2019 14:40:49 +0000 (16:40 +0200)]
Upgrade XBT_ATTRIB_DEPRECATED_v326 -> v327.

4 years agocosmetics around the python packaging
Martin Quinson [Tue, 25 Jun 2019 23:26:49 +0000 (01:26 +0200)]
cosmetics around the python packaging

4 years agosecond attempt at pip@gitlab-ci
Martin Quinson [Tue, 25 Jun 2019 22:48:18 +0000 (00:48 +0200)]
second attempt at pip@gitlab-ci

4 years agogitlab-ci: add a job to test the pip building
Martin Quinson [Tue, 25 Jun 2019 22:38:31 +0000 (00:38 +0200)]
gitlab-ci: add a job to test the pip building

4 years agoCommit a file generated by cmake, so that pip finds it even when cmake is not there
Martin Quinson [Tue, 25 Jun 2019 22:37:06 +0000 (00:37 +0200)]
Commit a file generated by cmake, so that pip finds it even when cmake is not there

4 years agosetup.py: try to specify that we need pybind11
Martin Quinson [Tue, 25 Jun 2019 22:34:31 +0000 (00:34 +0200)]
setup.py: try to specify that we need pybind11

4 years agoDockerfile.stable: fix to align with recent framagit version (?)
Martin Quinson [Tue, 25 Jun 2019 20:55:59 +0000 (22:55 +0200)]
Dockerfile.stable: fix to align with recent framagit version (?)

4 years agoimprove our 'how to release'
Martin Quinson [Tue, 25 Jun 2019 19:57:59 +0000 (21:57 +0200)]
improve our 'how to release'

4 years agospell checking, as per lintian
Martin Quinson [Tue, 25 Jun 2019 16:36:06 +0000 (18:36 +0200)]
spell checking, as per lintian

4 years agoAdded a teshsuite activity_life_cycle test that highlights the following
henricasanova [Tue, 25 Jun 2019 16:26:38 +0000 (18:26 +0200)]
Added a teshsuite activity_life_cycle test that highlights the following
problem: a receiver does a get(), then the link is turned off, and then
a sender does a put_init()->detach(). In this case the receiver does not
get a NetworkFailureException even though it should. (Otherwise
there is no way for anybody to tell the communication has failed.)

4 years agostart the dev of 3.23.1
Martin Quinson [Tue, 25 Jun 2019 13:22:37 +0000 (15:22 +0200)]
start the dev of 3.23.1

4 years agoci: fix jarfile generation on stable branch v3.23
Martin Quinson [Tue, 25 Jun 2019 12:49:58 +0000 (14:49 +0200)]
ci: fix jarfile generation on stable branch

4 years agoRelease v3.23.
Martin Quinson [Tue, 25 Jun 2019 09:56:00 +0000 (11:56 +0200)]
Release v3.23.

4 years agoalign COPYING with debian/copyright in package
Martin Quinson [Tue, 25 Jun 2019 08:07:27 +0000 (10:07 +0200)]
align COPYING with debian/copyright in package

4 years agocosmetics
Martin Quinson [Sun, 23 Jun 2019 21:34:06 +0000 (23:34 +0200)]
cosmetics

4 years agoAdd test for FG simgrid/simgrid#26.
Arnaud Giersch [Mon, 24 Jun 2019 15:02:29 +0000 (17:02 +0200)]
Add test for FG simgrid/simgrid#26.

4 years agoEngine should be destroyed through RAII here (fix invalid free).
Arnaud Giersch [Mon, 24 Jun 2019 14:40:22 +0000 (16:40 +0200)]
Engine should be destroyed through RAII here (fix invalid free).

4 years agoCorrectly cancel communications when a link is turned off.
Arnaud Giersch [Mon, 24 Jun 2019 14:16:15 +0000 (16:16 +0200)]
Correctly cancel communications when a link is turned off.

Fix https://framagit.org/simgrid/simgrid/issues/26

4 years agoproposal of a name + changelog for 3.23
Martin Quinson [Fri, 21 Jun 2019 20:33:38 +0000 (22:33 +0200)]
proposal of a name + changelog for 3.23

4 years agodoc: RST fixups
Martin Quinson [Tue, 18 Jun 2019 15:56:34 +0000 (17:56 +0200)]
doc: RST fixups

4 years agoLGPL-2.1.
Arnaud Giersch [Fri, 21 Jun 2019 12:33:14 +0000 (14:33 +0200)]
LGPL-2.1.

4 years agoFix tesh test and distcheck.
Arnaud Giersch [Fri, 21 Jun 2019 11:46:55 +0000 (13:46 +0200)]
Fix tesh test and distcheck.

4 years ago[sonar] Regexps are overkill here.
Arnaud Giersch [Fri, 21 Jun 2019 07:58:11 +0000 (09:58 +0200)]
[sonar] Regexps are overkill here.