Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
10 months agoAdding the unit-test for xbt/random to the Manifest
Yann Duplouy [Tue, 12 Nov 2019 11:48:33 +0000 (12:48 +0100)]
Adding the unit-test for xbt/random to the Manifest

10 months agoAdding xbt::random unit test to the list of unit tests
Yann Duplouy [Tue, 12 Nov 2019 10:30:36 +0000 (11:30 +0100)]
Adding xbt::random unit test to the list of unit tests

10 months agoUnit tests for xbt::random
Yann Duplouy [Tue, 12 Nov 2019 10:30:24 +0000 (11:30 +0100)]
Unit tests for xbt::random

10 months agoFixes to xbt::random
Yann Duplouy [Tue, 12 Nov 2019 10:29:59 +0000 (11:29 +0100)]
Fixes to xbt::random

11 months agoAdding xbt/random to the Manifest
Yann Duplouy [Wed, 23 Oct 2019 09:04:36 +0000 (11:04 +0200)]
Adding xbt/random to the Manifest

11 months agoMerge branch 'master' into xbt_random
Yann Duplouy [Wed, 23 Oct 2019 08:38:03 +0000 (10:38 +0200)]
Merge branch 'master' into xbt_random

11 months agofix ns3
Frederic Suter [Tue, 22 Oct 2019 09:00:56 +0000 (11:00 +0200)]
fix ns3

11 months agomake host's pimpl_netpoint private
Frederic Suter [Tue, 22 Oct 2019 07:26:54 +0000 (09:26 +0200)]
make host's pimpl_netpoint private
* getter is public
* setter is protected

11 months agoUse xbt_assert instead of 'if() xbt_die'
Martin Quinson [Mon, 21 Oct 2019 20:07:16 +0000 (22:07 +0200)]
Use xbt_assert instead of 'if() xbt_die'

11 months agosonar: kill commented code
Martin Quinson [Mon, 21 Oct 2019 13:34:11 +0000 (15:34 +0200)]
sonar: kill commented code

11 months agoVariable is empty since... 2012!
Arnaud Giersch [Mon, 21 Oct 2019 12:27:38 +0000 (14:27 +0200)]
Variable is empty since... 2012!

11 months agoUpdate MANIFEST.in.
Arnaud Giersch [Mon, 21 Oct 2019 12:19:06 +0000 (14:19 +0200)]
Update MANIFEST.in.

11 months agoFix another dead store caught by cppcheck.
Arnaud Giersch [Mon, 21 Oct 2019 09:32:33 +0000 (11:32 +0200)]
Fix another dead store caught by cppcheck.

11 months agomake WifiLink depend on LinkImpl directly
Martin Quinson [Mon, 21 Oct 2019 12:13:47 +0000 (14:13 +0200)]
make WifiLink depend on LinkImpl directly

11 months agodefault value for latency should be 0
Martin Quinson [Mon, 21 Oct 2019 12:13:12 +0000 (14:13 +0200)]
default value for latency should be 0

11 months agocosmetics in the wifi model
Martin Quinson [Mon, 21 Oct 2019 11:43:57 +0000 (13:43 +0200)]
cosmetics in the wifi model

11 months agosplit the wifi model into its own files
Martin Quinson [Sun, 20 Oct 2019 13:43:10 +0000 (15:43 +0200)]
split the wifi model into its own files

11 months agoUsing the proper c++ way to get the min double value
Yann Duplouy [Mon, 21 Oct 2019 09:55:28 +0000 (11:55 +0200)]
Using the proper c++ way to get the min double value

11 months agoAdding the normal distribution
Yann Duplouy [Mon, 21 Oct 2019 09:42:49 +0000 (11:42 +0200)]
Adding the normal distribution

11 months agoAdding the normal distribution
Yann Duplouy [Mon, 21 Oct 2019 09:41:50 +0000 (11:41 +0200)]
Adding the normal distribution

11 months agoAdding the exponential distribution
Yann Duplouy [Mon, 21 Oct 2019 09:37:41 +0000 (11:37 +0200)]
Adding the exponential distribution

11 months agoRemoving variable names from the header…
Yann Duplouy [Mon, 21 Oct 2019 09:34:50 +0000 (11:34 +0200)]
Removing variable names from the header…

11 months agoThe dht-chord example now uses the new module
Yann Duplouy [Mon, 21 Oct 2019 09:18:37 +0000 (11:18 +0200)]
The dht-chord example now uses the new module

11 months agoThe bittorrent example now uses the new module
Yann Duplouy [Mon, 21 Oct 2019 09:15:18 +0000 (11:15 +0200)]
The bittorrent example now uses the new module

11 months agoA first version of the xbt/random module
Yann Duplouy [Mon, 21 Oct 2019 09:15:02 +0000 (11:15 +0200)]
A first version of the xbt/random module

11 months agoUse statically allocated stack.
Arnaud Giersch [Sun, 20 Oct 2019 19:29:54 +0000 (21:29 +0200)]
Use statically allocated stack.

Avoid memory leak and please static analyzers.

11 months agoAdd "explicit" keyword.
Arnaud Giersch [Sun, 20 Oct 2019 19:23:40 +0000 (21:23 +0200)]
Add "explicit" keyword.

11 months agoKill dead stores.
Arnaud Giersch [Sun, 20 Oct 2019 19:14:43 +0000 (21:14 +0200)]
Kill dead stores.

11 months agoPrefer initialization list.
Arnaud Giersch [Sun, 20 Oct 2019 19:13:44 +0000 (21:13 +0200)]
Prefer initialization list.

11 months agoReduce scope for variables.
Arnaud Giersch [Sun, 20 Oct 2019 19:04:05 +0000 (21:04 +0200)]
Reduce scope for variables.

11 months agoDie on error.
Arnaud Giersch [Sun, 20 Oct 2019 19:03:22 +0000 (21:03 +0200)]
Die on error.

11 months agoFix misspelling of "occurring".
Arnaud Giersch [Sat, 19 Oct 2019 21:55:52 +0000 (23:55 +0200)]
Fix misspelling of "occurring".

11 months agoSpell check.
Arnaud Giersch [Sun, 20 Oct 2019 14:13:15 +0000 (16:13 +0200)]
Spell check.

11 months agoTry to ensure test reproducibility.
Arnaud Giersch [Sun, 20 Oct 2019 12:36:41 +0000 (14:36 +0200)]
Try to ensure test reproducibility.

11 months agoRemove remaining mentions of RngStream.
Arnaud Giersch [Sat, 19 Oct 2019 19:42:50 +0000 (21:42 +0200)]
Remove remaining mentions of RngStream.

11 months agoKill dead code.
Arnaud Giersch [Sat, 19 Oct 2019 19:35:56 +0000 (21:35 +0200)]
Kill dead code.

11 months agodocument recently merged MR
Martin Quinson [Sat, 19 Oct 2019 16:54:53 +0000 (18:54 +0200)]
document recently merged MR

11 months agoMerge branch 'noRngStream' into 'master'
Martin Quinson [Sat, 19 Oct 2019 16:53:02 +0000 (18:53 +0200)]
Merge branch 'noRngStream' into 'master'

Removing RngStream

See merge request simgrid/simgrid!19

11 months agoRemoving RngStream
Yann Duplouy [Sat, 19 Oct 2019 16:53:02 +0000 (18:53 +0200)]
Removing RngStream

11 months agodocument our policy for version numbering
Martin Quinson [Fri, 18 Oct 2019 14:25:21 +0000 (16:25 +0200)]
document our policy for version numbering

11 months agorewrite completely the releasing guide
Martin Quinson [Fri, 18 Oct 2019 09:04:15 +0000 (11:04 +0200)]
rewrite completely the releasing guide

11 months agodocument some recently closed bugs
Martin Quinson [Wed, 16 Oct 2019 16:11:14 +0000 (18:11 +0200)]
document some recently closed bugs

11 months agoremove some direct accesses to pimpl_cpu
Frederic Suter [Fri, 18 Oct 2019 11:16:49 +0000 (13:16 +0200)]
remove some direct accesses to pimpl_cpu

11 months agoGitLab/CI: disable coverage.
Arnaud Giersch [Thu, 17 Oct 2019 12:02:38 +0000 (14:02 +0200)]
GitLab/CI: disable coverage.

It's currently not used, and broken with gfortran 9.2.1:
internal compiler error: in coverage_begin_function, at coverage.c:656

11 months agoTravis/win: python has been upgraded.
Arnaud Giersch [Thu, 17 Oct 2019 11:36:50 +0000 (13:36 +0200)]
Travis/win: python has been upgraded.

11 months agoTypos.
Arnaud Giersch [Thu, 17 Oct 2019 09:58:05 +0000 (11:58 +0200)]
Typos.

11 months agoConvert to C++, and call get_pid() directly.
Arnaud Giersch [Thu, 17 Oct 2019 09:47:45 +0000 (11:47 +0200)]
Convert to C++, and call get_pid() directly.

11 months agoThere is no need to use simix here.
Arnaud Giersch [Wed, 16 Oct 2019 20:06:46 +0000 (22:06 +0200)]
There is no need to use simix here.

11 months agoRemove file (deprecated since 16 months).
Arnaud Giersch [Tue, 15 Oct 2019 14:40:39 +0000 (16:40 +0200)]
Remove file (deprecated since 16 months).

11 months agoRemove references to dead variables.
Arnaud Giersch [Wed, 16 Oct 2019 21:56:17 +0000 (23:56 +0200)]
Remove references to dead variables.

11 months ago[sonar] Add "override" annotation.
Arnaud Giersch [Mon, 14 Oct 2019 16:23:25 +0000 (18:23 +0200)]
[sonar] Add "override" annotation.

11 months ago[sonar] Capitalize constant name.
Arnaud Giersch [Mon, 14 Oct 2019 10:12:19 +0000 (12:12 +0200)]
[sonar] Capitalize constant name.

11 months agoimprove the docker generation scripts
Martin Quinson [Wed, 16 Oct 2019 15:52:11 +0000 (17:52 +0200)]
improve the docker generation scripts

11 months agocmake: tell which version of SimGrid we are configuring
Martin Quinson [Tue, 15 Oct 2019 08:14:20 +0000 (10:14 +0200)]
cmake: tell which version of SimGrid we are configuring

11 months agoUpdate the release guide
Martin Quinson [Fri, 11 Oct 2019 18:07:16 +0000 (20:07 +0200)]
Update the release guide

11 months agoRewrite the NEWS after the release O:-)
Martin Quinson [Fri, 11 Oct 2019 18:07:03 +0000 (20:07 +0200)]
Rewrite the NEWS after the release O:-)

11 months agofix GH#305
Frederic Suter [Wed, 16 Oct 2019 15:26:15 +0000 (17:26 +0200)]
fix GH#305
the allocation of a task was only cancelled for unscheduled parallel
typed tasks. Do it for sequential tasks too ...
Sorry for the ultra long delay.

11 months agocosmetics
Frederic Suter [Wed, 16 Oct 2019 14:52:49 +0000 (16:52 +0200)]
cosmetics

11 months ago[sonar] Remove commented out code.
Arnaud Giersch [Sat, 12 Oct 2019 21:01:02 +0000 (23:01 +0200)]
[sonar] Remove commented out code.

11 months ago[cppcheck] Reduce scope for variables.
Arnaud Giersch [Sat, 12 Oct 2019 13:24:58 +0000 (15:24 +0200)]
[cppcheck] Reduce scope for variables.

11 months ago[sonar] Factor common expression and don't duplicate string literals.
Arnaud Giersch [Sat, 12 Oct 2019 13:17:43 +0000 (15:17 +0200)]
[sonar] Factor common expression and don't duplicate string literals.

11 months ago[sonar] Remove unused "import".
Arnaud Giersch [Sat, 12 Oct 2019 12:30:44 +0000 (14:30 +0200)]
[sonar] Remove unused "import".

11 months ago[sonar] Use try-with-resource to correctly close the stream.
Arnaud Giersch [Sat, 12 Oct 2019 10:16:11 +0000 (12:16 +0200)]
[sonar] Use try-with-resource to correctly close the stream.

11 months agoUpdate .mailmap.
Arnaud Giersch [Fri, 11 Oct 2019 12:53:14 +0000 (14:53 +0200)]
Update .mailmap.

11 months agoDeprecate C API for SIMIX timers.
Arnaud Giersch [Fri, 11 Oct 2019 12:13:04 +0000 (14:13 +0200)]
Deprecate C API for SIMIX timers.

11 months agoKeep deprecated features one more release (target: 1 year).
Arnaud Giersch [Fri, 11 Oct 2019 12:10:14 +0000 (14:10 +0200)]
Keep deprecated features one more release (target: 1 year).

11 months agoCosmetics: useless negation.
Arnaud Giersch [Fri, 11 Oct 2019 11:59:39 +0000 (13:59 +0200)]
Cosmetics: useless negation.

11 months agoRemove defintion of msg_as_t, deprecated a long time ago.
Arnaud Giersch [Fri, 11 Oct 2019 11:59:39 +0000 (13:59 +0200)]
Remove defintion of msg_as_t, deprecated a long time ago.

11 months agoMSG_task_receive_ext_bounded was indeed deprecated too. Remove it.
Arnaud Giersch [Fri, 11 Oct 2019 11:59:39 +0000 (13:59 +0200)]
MSG_task_receive_ext_bounded was indeed deprecated too. Remove it.

11 months agoRemove features marked with XBT_ATTRIB_DEPRECATED_v325.
Arnaud Giersch [Fri, 11 Oct 2019 11:59:39 +0000 (13:59 +0200)]
Remove features marked with XBT_ATTRIB_DEPRECATED_v325.

11 months agoUndeprecate SIMIX_process_self_{get,set}_data.
Arnaud Giersch [Fri, 11 Oct 2019 12:41:08 +0000 (14:41 +0200)]
Undeprecate SIMIX_process_self_{get,set}_data.

It's used by user code (e.g. StarPU) and the suggested replacement cannot work
since ActorImpl is not part of the public API.

11 months agoTry to avoid error with mingw: function definition is marked dllimport.
Arnaud Giersch [Fri, 11 Oct 2019 11:40:34 +0000 (13:40 +0200)]
Try to avoid error with mingw: function definition is marked dllimport.

11 months agoDon't try to run tests after build failure.
Arnaud Giersch [Fri, 11 Oct 2019 11:11:30 +0000 (13:11 +0200)]
Don't try to run tests after build failure.

11 months agoUgly hack to remove temporary files on Windows.
Arnaud Giersch [Fri, 11 Oct 2019 10:18:32 +0000 (12:18 +0200)]
Ugly hack to remove temporary files on Windows.

11 months agoplease clang and gcc10
Frederic Suter [Fri, 11 Oct 2019 07:51:45 +0000 (09:51 +0200)]
please clang and gcc10

11 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid into CRTP
Frederic Suter [Fri, 11 Oct 2019 07:12:06 +0000 (09:12 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid into CRTP

11 months agoDefine XBT_ATTRIB_DEPRECATED_v328.
Arnaud Giersch [Thu, 10 Oct 2019 21:16:00 +0000 (23:16 +0200)]
Define XBT_ATTRIB_DEPRECATED_v328.

11 months agoMerge remote-tracking branch 'origin/master'
Arnaud Giersch [Thu, 10 Oct 2019 21:20:45 +0000 (23:20 +0200)]
Merge remote-tracking branch 'origin/master'

11 months agoStart the dev of v3.24.1.
Arnaud Giersch [Thu, 10 Oct 2019 21:09:40 +0000 (23:09 +0200)]
Start the dev of v3.24.1.

11 months agouse CRTP to factor refcounting across activity types
Frederic Suter [Thu, 10 Oct 2019 10:16:28 +0000 (12:16 +0200)]
use CRTP to factor refcounting across activity types

11 months agoupdate things
Frederic Suter [Thu, 10 Oct 2019 09:37:05 +0000 (11:37 +0200)]
update things

11 months agoMerge branch 'master' into CRTP
Frederic Suter [Thu, 10 Oct 2019 09:15:07 +0000 (11:15 +0200)]
Merge branch 'master' into CRTP

11 months agoPrefer stderr to stdout.
Arnaud Giersch [Wed, 9 Oct 2019 20:48:28 +0000 (22:48 +0200)]
Prefer stderr to stdout.

11 months agoTravis: make "du" more verbose.
Arnaud Giersch [Wed, 9 Oct 2019 20:03:57 +0000 (22:03 +0200)]
Travis: make "du" more verbose.

11 months agosecond attempt at fixing 32bits. Am I stupid or something? v3.24
Martin Quinson [Wed, 9 Oct 2019 17:24:35 +0000 (19:24 +0200)]
second attempt at fixing 32bits. Am I stupid or something?

11 months agofix 32bits builds
Martin Quinson [Wed, 9 Oct 2019 16:21:56 +0000 (18:21 +0200)]
fix 32bits builds

11 months agodocument more closed bugs
Martin Quinson [Wed, 9 Oct 2019 16:10:11 +0000 (18:10 +0200)]
document more closed bugs

11 months agotry to release v3.24
Martin Quinson [Wed, 9 Oct 2019 16:03:59 +0000 (18:03 +0200)]
try to release v3.24

11 months agoun-deprecate a redundent function
Martin Quinson [Wed, 9 Oct 2019 15:45:07 +0000 (17:45 +0200)]
un-deprecate a redundent function

I don't see why we should not help our users. Having 2 functions doing
close (but different) things is not such a bad thing.

11 months agoMerge pull request #334 from Mommessc/rework-energy-plugin-2.0
Martin Quinson [Wed, 9 Oct 2019 15:43:13 +0000 (17:43 +0200)]
Merge pull request #334 from Mommessc/rework-energy-plugin-2.0

Rework energy plugin, again

11 months agoMerge branch 'master' into rework-energy-plugin-2.0
Martin Quinson [Wed, 9 Oct 2019 15:42:18 +0000 (17:42 +0200)]
Merge branch 'master' into rework-energy-plugin-2.0

11 months agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Wed, 9 Oct 2019 15:40:55 +0000 (17:40 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

11 months agosonar: kill an overriding method
Martin Quinson [Wed, 9 Oct 2019 15:35:56 +0000 (17:35 +0200)]
sonar: kill an overriding method

11 months agojava: automatically close the streams on error to please java
Martin Quinson [Wed, 9 Oct 2019 15:20:06 +0000 (17:20 +0200)]
java: automatically close the streams on error to please java

11 months agoAdd a TODO in the code
Martin Quinson [Tue, 8 Oct 2019 07:30:56 +0000 (09:30 +0200)]
Add a TODO in the code

11 months agoplease clang-static by initializing p_idle only once
Martin Quinson [Tue, 8 Oct 2019 06:57:17 +0000 (08:57 +0200)]
please clang-static by initializing p_idle only once

11 months agoTry to understand where/when space is missing on travis+windows.
Arnaud Giersch [Tue, 8 Oct 2019 13:43:48 +0000 (15:43 +0200)]
Try to understand where/when space is missing on travis+windows.

11 months agochange handling of nested <prop> declarations.
Frederic Suter [Wed, 9 Oct 2019 12:32:33 +0000 (14:32 +0200)]
change handling of nested <prop> declarations.

Before: distinctions between zone props and other props with a boolean
and a single set of properties at a time.

Issue: As host can declare props and disks that in turn may declare
props, it enforces a declaration order: disks then props.

Now: stack a new property set when parsing a opening tag to store props
declared at this level. When closing a tag, we assign the set at the
top the stack where it has to and remove it from the stack.

11 months ago[Energy] cosmetics and comments
clement-dell [Wed, 9 Oct 2019 09:09:21 +0000 (11:09 +0200)]
[Energy] cosmetics and comments

11 months ago[Energy] Mark sg_host_get_idle_consumption as deprecated
clement-dell [Wed, 9 Oct 2019 09:09:08 +0000 (11:09 +0200)]
[Energy] Mark sg_host_get_idle_consumption as deprecated