Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years ago[sonar] Mention new configuration keys.
Arnaud Giersch [Wed, 8 Jan 2020 11:09:57 +0000 (12:09 +0100)]
[sonar] Mention new configuration keys.

4 years ago[sonar] Update rule keys for Java.
Arnaud Giersch [Wed, 8 Jan 2020 11:02:59 +0000 (12:02 +0100)]
[sonar] Update rule keys for Java.

See https://community.sonarsource.com/t/java-rule-id-changes/18409

4 years agoConst + simplification for jedule::Container::get_child_position.
Arnaud Giersch [Wed, 8 Jan 2020 09:35:02 +0000 (10:35 +0100)]
Const + simplification for jedule::Container::get_child_position.

4 years ago[sonar] Avoid nested code block.
Arnaud Giersch [Wed, 8 Jan 2020 08:39:10 +0000 (09:39 +0100)]
[sonar] Avoid nested code block.

4 years ago[sonar] Superfluous 'throws'.
Arnaud Giersch [Wed, 8 Jan 2020 08:27:59 +0000 (09:27 +0100)]
[sonar] Superfluous 'throws'.

4 years agoForgotten cleanups in includes.
Arnaud Giersch [Tue, 7 Jan 2020 21:44:36 +0000 (22:44 +0100)]
Forgotten cleanups in includes.

4 years agoSimplify xbt:Backtrace.
Arnaud Giersch [Tue, 7 Jan 2020 21:14:54 +0000 (22:14 +0100)]
Simplify xbt:Backtrace.

4 years agoComplete ChangeLog.
Arnaud Giersch [Tue, 7 Jan 2020 12:40:50 +0000 (13:40 +0100)]
Complete ChangeLog.

4 years agoTest is redundant (already checked in xbt_dict_preinit).
Arnaud Giersch [Tue, 7 Jan 2020 08:43:15 +0000 (09:43 +0100)]
Test is redundant (already checked in xbt_dict_preinit).

4 years ago[sonar] don't mix public/private data members
Frederic Suter [Tue, 7 Jan 2020 11:11:56 +0000 (12:11 +0100)]
[sonar] don't mix public/private data members

4 years ago[sonar] don't mix public/private data members
Frederic Suter [Tue, 7 Jan 2020 11:11:09 +0000 (12:11 +0100)]
[sonar] don't mix public/private data members

4 years ago[sonar] don't mix public/private issues in jedule
Frederic Suter [Tue, 7 Jan 2020 08:52:06 +0000 (09:52 +0100)]
[sonar] don't mix public/private issues in jedule

4 years agoExplicit instanciation of xbt::Extendable<> specializations.
Arnaud Giersch [Tue, 17 Sep 2019 08:23:17 +0000 (10:23 +0200)]
Explicit instanciation of xbt::Extendable<> specializations.

Fixes Asan warnings about odr-violations (default with current gcc-10, or with
ASAN_OPTIONS='use_odr_indicator=true detect_odr_violation=2').

It may also complete commit f2e9bf81aebf9a0d39563c3f955fc24e9270d74f
"Explicit instanciation of Extendable<simgrid::s4u::Host>".

4 years agoDrop unused xbt dynar functions.
Arnaud Giersch [Mon, 6 Jan 2020 13:52:25 +0000 (14:52 +0100)]
Drop unused xbt dynar functions.

4 years agoDrop unused xbt dict functions.
Arnaud Giersch [Mon, 6 Jan 2020 13:47:45 +0000 (14:47 +0100)]
Drop unused xbt dict functions.

4 years agoDrop never used macro XBT_UNREACHABLE.
Arnaud Giersch [Mon, 6 Jan 2020 10:49:31 +0000 (11:49 +0100)]
Drop never used macro XBT_UNREACHABLE.

4 years agoUse a std::unique_ptr.
Arnaud Giersch [Sun, 5 Jan 2020 16:49:10 +0000 (17:49 +0100)]
Use a std::unique_ptr.

4 years agoBoost 1.59 is required nowadays, remove support for older versions.
Arnaud Giersch [Sun, 5 Jan 2020 16:22:18 +0000 (17:22 +0100)]
Boost 1.59 is required nowadays, remove support for older versions.

4 years agofix the doc of const_sg_*_t types
Martin Quinson [Sun, 5 Jan 2020 16:48:56 +0000 (17:48 +0100)]
fix the doc of const_sg_*_t types

4 years agoFix make dist and pip install
Martin Quinson [Sun, 5 Jan 2020 00:36:04 +0000 (01:36 +0100)]
Fix make dist and pip install

4 years agodocument Mutex and Semaphores in the new way
Martin Quinson [Sat, 4 Jan 2020 18:15:53 +0000 (19:15 +0100)]
document Mutex and Semaphores in the new way

4 years agodocument Barrier in the new way, and document the C version
Martin Quinson [Sat, 4 Jan 2020 17:27:03 +0000 (18:27 +0100)]
document Barrier in the new way, and document the C version

4 years agoimprove the doc of condition variables
Martin Quinson [Sat, 4 Jan 2020 17:13:57 +0000 (18:13 +0100)]
improve the doc of condition variables

4 years agoadd an example for condition variables
Martin Quinson [Sat, 4 Jan 2020 17:05:08 +0000 (18:05 +0100)]
add an example for condition variables

4 years agodocument ConditionVariables in the new way
Martin Quinson [Fri, 3 Jan 2020 23:03:47 +0000 (00:03 +0100)]
document ConditionVariables in the new way

4 years agoget useful warnings for broken links in the doc
Martin Quinson [Fri, 3 Jan 2020 22:40:12 +0000 (23:40 +0100)]
get useful warnings for broken links in the doc

4 years agoUse a std::unique_ptr, and remove custom destructor.
Arnaud Giersch [Sat, 4 Jan 2020 14:38:34 +0000 (15:38 +0100)]
Use a std::unique_ptr, and remove custom destructor.

4 years agoRevert changes about Task
Gabriel Corona [Sat, 4 Jan 2020 09:31:36 +0000 (10:31 +0100)]
Revert changes about Task

This reverts commits 6349eaf761d8c7b80db00d48217890c20931964e and
a96793ec8c496eec19daf68f3aa0c4eded2ea166.

4 years agoFurther reduce the amount of errors and warnings when rebuilding the doc
Martin Quinson [Fri, 3 Jan 2020 17:08:25 +0000 (18:08 +0100)]
Further reduce the amount of errors and warnings when rebuilding the doc

4 years agovarious doc small fixups
Martin Quinson [Thu, 2 Jan 2020 16:56:31 +0000 (17:56 +0100)]
various doc small fixups

4 years agoautomatically determine the core amount
Martin Quinson [Thu, 2 Jan 2020 16:16:01 +0000 (17:16 +0100)]
automatically determine the core amount

4 years agoone void* less
Martin Quinson [Thu, 2 Jan 2020 14:25:54 +0000 (15:25 +0100)]
one void* less

4 years agoUse different strings (and please sonar).
Arnaud Giersch [Fri, 3 Jan 2020 15:02:02 +0000 (16:02 +0100)]
Use different strings (and please sonar).

4 years ago[sonar] Make member variables "private".
Arnaud Giersch [Fri, 3 Jan 2020 14:34:42 +0000 (15:34 +0100)]
[sonar] Make member variables "private".

4 years agoxsltproc is not used since... a long time ago
Augustin Degomme [Thu, 2 Jan 2020 16:54:59 +0000 (17:54 +0100)]
xsltproc is not used since... a long time ago

4 years agoSmall cleanups in kademlia::Answer.
Arnaud Giersch [Thu, 2 Jan 2020 11:03:51 +0000 (12:03 +0100)]
Small cleanups in kademlia::Answer.

Make field nodes_ private; remove field size_.

4 years agoConst is for the pointee, not the pointer.
Arnaud Giersch [Thu, 2 Jan 2020 10:06:28 +0000 (11:06 +0100)]
Const is for the pointee, not the pointer.

4 years agochangelog update for SMPI
Augustin Degomme [Wed, 1 Jan 2020 21:45:20 +0000 (22:45 +0100)]
changelog update for SMPI

4 years agoUpdate copyright lines with new year.
Arnaud Giersch [Wed, 1 Jan 2020 21:02:00 +0000 (22:02 +0100)]
Update copyright lines with new year.

4 years ago[sonar] Constify pointer and reference parameters in teshsuite/.
Arnaud Giersch [Tue, 31 Dec 2019 17:35:05 +0000 (18:35 +0100)]
[sonar] Constify pointer and reference parameters in teshsuite/.

4 years ago[sonar] Another bunch of const qualifiers.
Arnaud Giersch [Tue, 31 Dec 2019 15:41:05 +0000 (16:41 +0100)]
[sonar] Another bunch of const qualifiers.

4 years ago[sonar] Constify pointer and reference parameters in src/xbt/log.cpp.
Arnaud Giersch [Mon, 30 Dec 2019 23:11:53 +0000 (00:11 +0100)]
[sonar] Constify pointer and reference parameters in src/xbt/log.cpp.

4 years ago[sonar] Constify pointer and reference parameters in src/xbt/graph.c.
Arnaud Giersch [Mon, 30 Dec 2019 23:03:43 +0000 (00:03 +0100)]
[sonar] Constify pointer and reference parameters in src/xbt/graph.c.

4 years ago[sonar] Constify pointer and reference parameters in src/xbt/dynar.cpp.
Arnaud Giersch [Mon, 30 Dec 2019 22:42:45 +0000 (23:42 +0100)]
[sonar] Constify pointer and reference parameters in src/xbt/dynar.cpp.

Also remove misleading const qualifiers for function parameters.

4 years ago[sonar] Constify pointer and reference parameters in src/xbt/dict.cpp.
Arnaud Giersch [Mon, 30 Dec 2019 21:56:21 +0000 (22:56 +0100)]
[sonar] Constify pointer and reference parameters in src/xbt/dict.cpp.

4 years ago[sonar] Constify pointer and reference parameters in src/xbt/automaton/.
Arnaud Giersch [Mon, 30 Dec 2019 21:17:13 +0000 (22:17 +0100)]
[sonar] Constify pointer and reference parameters in src/xbt/automaton/.

4 years agoMisc const qualifiers following yesterday's changes.
Arnaud Giersch [Mon, 30 Dec 2019 13:57:10 +0000 (14:57 +0100)]
Misc const qualifiers following yesterday's changes.

4 years ago[sonar] Constify pointer and reference parameters in src/surf/.
Arnaud Giersch [Sun, 29 Dec 2019 22:37:48 +0000 (23:37 +0100)]
[sonar] Constify pointer and reference parameters in src/surf/.

4 years ago[sonar] Constify pointer and reference parameters in src/smpi/.
Arnaud Giersch [Sun, 29 Dec 2019 20:56:46 +0000 (21:56 +0100)]
[sonar] Constify pointer and reference parameters in src/smpi/.

4 years ago[sonar] Constify pointer and reference parameters in src/simdag/.
Arnaud Giersch [Sun, 29 Dec 2019 20:24:48 +0000 (21:24 +0100)]
[sonar] Constify pointer and reference parameters in src/simdag/.

4 years ago[sonar] Constify pointer and reference parameters in src/s4u/.
Arnaud Giersch [Sun, 29 Dec 2019 11:43:14 +0000 (12:43 +0100)]
[sonar] Constify pointer and reference parameters in src/s4u/.

This commit is too big, but it's too late to split it :(

4 years agoSonar consts of the day.
Arnaud Giersch [Sun, 29 Dec 2019 08:31:38 +0000 (09:31 +0100)]
Sonar consts of the day.

4 years ago[sonar] Ignore cpp:S995 for src/smpi/bindings/.
Arnaud Giersch [Sat, 28 Dec 2019 22:47:44 +0000 (23:47 +0100)]
[sonar] Ignore cpp:S995 for src/smpi/bindings/.

4 years ago[sonar] Constify pointer and reference parameters in src/plugins/.
Arnaud Giersch [Sat, 28 Dec 2019 22:02:11 +0000 (23:02 +0100)]
[sonar] Constify pointer and reference parameters in src/plugins/.

4 years ago[sonar] Constify pointer parameters in src/msg/.
Arnaud Giersch [Sat, 28 Dec 2019 21:51:55 +0000 (22:51 +0100)]
[sonar] Constify pointer parameters in src/msg/.

4 years ago[sonar] Constify pointer and reference parameters in src/mc/.
Arnaud Giersch [Sat, 28 Dec 2019 13:11:19 +0000 (14:11 +0100)]
[sonar] Constify pointer and reference parameters in src/mc/.

4 years ago[sonar] More const for pointer and reference local variables and parameters.
Arnaud Giersch [Sat, 28 Dec 2019 10:28:59 +0000 (11:28 +0100)]
[sonar] More const for pointer and reference local variables and parameters.

4 years agoCosmetics: use 's_xbt_mheap_t' instead of 'struct mdesc'.
Arnaud Giersch [Sat, 28 Dec 2019 13:44:26 +0000 (14:44 +0100)]
Cosmetics: use 's_xbt_mheap_t' instead of 'struct mdesc'.

4 years agoKill unused code.
Arnaud Giersch [Sat, 28 Dec 2019 10:51:07 +0000 (11:51 +0100)]
Kill unused code.

4 years ago[sonar] Constify pointer and reference parameters in src/kernel/.
Arnaud Giersch [Fri, 27 Dec 2019 22:45:30 +0000 (23:45 +0100)]
[sonar] Constify pointer and reference parameters in src/kernel/.

4 years ago[sonar] Constify pointer and reference parameters in src/instr/.
Arnaud Giersch [Fri, 27 Dec 2019 22:19:09 +0000 (23:19 +0100)]
[sonar] Constify pointer and reference parameters in src/instr/.

4 years ago[sonar] Constify pointer and reference parameters in src/bindings/.
Arnaud Giersch [Fri, 27 Dec 2019 21:52:03 +0000 (22:52 +0100)]
[sonar] Constify pointer and reference parameters in src/bindings/.

4 years ago[sonar] Constify pointer and reference parameters in dicts and dynars.
Arnaud Giersch [Fri, 27 Dec 2019 16:59:21 +0000 (17:59 +0100)]
[sonar] Constify pointer and reference parameters in dicts and dynars.

4 years ago[sonar] Constify pointer and reference parameters in examples/deprecated/.
Arnaud Giersch [Fri, 27 Dec 2019 16:30:51 +0000 (17:30 +0100)]
[sonar] Constify pointer and reference parameters in examples/deprecated/.

4 years ago[sonar] Constify pointer and reference parameters in examples/.
Arnaud Giersch [Fri, 27 Dec 2019 16:09:41 +0000 (17:09 +0100)]
[sonar] Constify pointer and reference parameters in examples/.

4 years agoUse type bool for boolean variables in smpi::Comm too.
Arnaud Giersch [Thu, 26 Dec 2019 23:00:36 +0000 (00:00 +0100)]
Use type bool for boolean variables in smpi::Comm too.

Don't touch members is_blocked_ and is_uniform_ which are used by MPI
communications with type MPI_INT.

4 years agoUse type bool for boolean variables in smpi/colls/.
Arnaud Giersch [Thu, 26 Dec 2019 22:59:49 +0000 (23:59 +0100)]
Use type bool for boolean variables in smpi/colls/.

4 years agoUse type jboolean for boolean variables.
Arnaud Giersch [Thu, 26 Dec 2019 13:33:22 +0000 (14:33 +0100)]
Use type jboolean for boolean variables.

4 years agoUse type bool for boolean variables.
Arnaud Giersch [Thu, 26 Dec 2019 13:38:47 +0000 (14:38 +0100)]
Use type bool for boolean variables.

4 years agoField is not used (and apparently has never been used).
Arnaud Giersch [Thu, 26 Dec 2019 11:45:19 +0000 (12:45 +0100)]
Field is not used (and apparently has never been used).

4 years ago[sonar] Don't remove const qualification with cast.
Arnaud Giersch [Thu, 26 Dec 2019 23:32:16 +0000 (00:32 +0100)]
[sonar] Don't remove const qualification with cast.

4 years ago[sonar] A few more const local pointers.
Arnaud Giersch [Thu, 26 Dec 2019 16:40:24 +0000 (17:40 +0100)]
[sonar] A few more const local pointers.

4 years agoRestore explicitely defined constructor (with empty body).
Arnaud Giersch [Thu, 26 Dec 2019 10:50:41 +0000 (11:50 +0100)]
Restore explicitely defined constructor (with empty body).

It seems to make a difference on freebsd with clang 10.

4 years agoHost may be null (fix crash with logs).
Arnaud Giersch [Wed, 25 Dec 2019 21:29:51 +0000 (22:29 +0100)]
Host may be null (fix crash with logs).

4 years ago[sonar] Constify pointer and reference local variables in examples/.
Arnaud Giersch [Mon, 23 Dec 2019 23:16:01 +0000 (00:16 +0100)]
[sonar] Constify pointer and reference local variables in examples/.

4 years ago[sonar] Constify pointer and reference local variables in src/bindings/.
Arnaud Giersch [Mon, 23 Dec 2019 23:02:38 +0000 (00:02 +0100)]
[sonar] Constify pointer and reference local variables in src/bindings/.

4 years ago[sonar] Constify pointer and reference local variables in src/instr/.
Arnaud Giersch [Mon, 23 Dec 2019 22:53:17 +0000 (23:53 +0100)]
[sonar] Constify pointer and reference local variables in src/instr/.

4 years ago[sonar] Constify pointer and reference local variables in src/kernel/.
Arnaud Giersch [Mon, 23 Dec 2019 22:46:44 +0000 (23:46 +0100)]
[sonar] Constify pointer and reference local variables in src/kernel/.

4 years ago[sonar] Constify pointer and reference local variables in src/mc/.
Arnaud Giersch [Mon, 23 Dec 2019 22:31:57 +0000 (23:31 +0100)]
[sonar] Constify pointer and reference local variables in src/mc/.

4 years ago[sonar] Constify pointer and reference local variables in src/plugins/.
Arnaud Giersch [Mon, 23 Dec 2019 22:07:00 +0000 (23:07 +0100)]
[sonar] Constify pointer and reference local variables in src/plugins/.

4 years ago[sonar] Constify pointer and reference local variables in src/s4u/.
Arnaud Giersch [Mon, 23 Dec 2019 22:02:40 +0000 (23:02 +0100)]
[sonar] Constify pointer and reference local variables in src/s4u/.

4 years ago[sonar] Constify pointer and reference local variables in src/simdag/.
Arnaud Giersch [Mon, 23 Dec 2019 21:59:04 +0000 (22:59 +0100)]
[sonar] Constify pointer and reference local variables in src/simdag/.

4 years ago[sonar] Constify pointer and reference local variables in src/simix/.
Arnaud Giersch [Mon, 23 Dec 2019 21:56:35 +0000 (22:56 +0100)]
[sonar] Constify pointer and reference local variables in src/simix/.

4 years ago[sonar] Constify pointer and reference local variables in src/smpi/.
Arnaud Giersch [Mon, 23 Dec 2019 21:47:37 +0000 (22:47 +0100)]
[sonar] Constify pointer and reference local variables in src/smpi/.

4 years ago[sonar] Constify pointer and reference local variables in src/surf/.
Arnaud Giersch [Mon, 23 Dec 2019 21:24:24 +0000 (22:24 +0100)]
[sonar] Constify pointer and reference local variables in src/surf/.

4 years ago[sonar] Constify pointer and reference local variables in src/xbt/.
Arnaud Giersch [Mon, 23 Dec 2019 21:09:47 +0000 (22:09 +0100)]
[sonar] Constify pointer and reference local variables in src/xbt/.

4 years ago[sonar] Constify pointer and reference local variables in teshsuite/.
Arnaud Giersch [Mon, 23 Dec 2019 20:56:43 +0000 (21:56 +0100)]
[sonar] Constify pointer and reference local variables in teshsuite/.

4 years agoKill no-op.
Arnaud Giersch [Mon, 23 Dec 2019 21:55:16 +0000 (22:55 +0100)]
Kill no-op.

4 years agoDefault ctor is good enough.
Arnaud Giersch [Mon, 23 Dec 2019 18:04:54 +0000 (19:04 +0100)]
Default ctor is good enough.

4 years agoUnused code.
Arnaud Giersch [Mon, 23 Dec 2019 17:55:18 +0000 (18:55 +0100)]
Unused code.

4 years agoSmall cleanups in parmap.hpp.
Arnaud Giersch [Mon, 23 Dec 2019 14:22:33 +0000 (15:22 +0100)]
Small cleanups in parmap.hpp.

4 years agoVarious docs update
Martin Quinson [Sun, 22 Dec 2019 17:32:36 +0000 (18:32 +0100)]
Various docs update

- Change the introduction on Routing to make it more self-contained.
- Move the Routing part to a specific page, as it's an advanced topic about platforms.
- Fix the formating of some examples
- Fix the formating of \beginrst blocks in doxygen
- Document the <disk> tag a bit, as well as the filesystem plugin
- Remove the doc about storage from the doxygen doc to be converted

- Document Engine with autodoxy
- Document the C API of Engine and Actor

- Teach autodoxy to produce the doc of C functions (that don't have '::' in their name)
- Teach find_missing to rant about undocumented C functions

4 years agodocs: dupplicate platform examples in the right section
Martin Quinson [Sun, 22 Dec 2019 17:17:14 +0000 (18:17 +0100)]
docs: dupplicate platform examples in the right section

4 years agoMerge branch 'master' of framagit.org:simgrid/simgrid
Arnaud Giersch [Mon, 23 Dec 2019 13:55:49 +0000 (14:55 +0100)]
Merge branch 'master' of framagit.org:simgrid/simgrid

4 years ago[sonar] Initialize data members with class initializers, or initialization lists.
Arnaud Giersch [Sun, 22 Dec 2019 20:43:59 +0000 (21:43 +0100)]
[sonar] Initialize data members with class initializers, or initialization lists.

4 years agoCosmetics: use empty parentheses for new std::container.
Arnaud Giersch [Mon, 23 Dec 2019 13:39:27 +0000 (14:39 +0100)]
Cosmetics: use empty parentheses for new std::container.

4 years ago[sonar] initialization lists and co.
Frederic Suter [Mon, 23 Dec 2019 13:08:29 +0000 (14:08 +0100)]
[sonar] initialization lists and co.

4 years agoKill useless field 'parallel_' in context factories.
Arnaud Giersch [Sun, 22 Dec 2019 22:45:08 +0000 (23:45 +0100)]
Kill useless field 'parallel_' in context factories.

4 years agoObey coding standard for the field names in mc:State.
Arnaud Giersch [Sun, 22 Dec 2019 22:02:38 +0000 (23:02 +0100)]
Obey coding standard for the field names in mc:State.

4 years agoEnsure xbt_new0 is called with a size > 0.
Arnaud Giersch [Sun, 22 Dec 2019 17:10:37 +0000 (18:10 +0100)]
Ensure xbt_new0 is called with a size > 0.