Martin Quinson [Fri, 3 Jan 2020 23:03:47 +0000 (00:03 +0100)]
document ConditionVariables in the new way
Martin Quinson [Fri, 3 Jan 2020 22:40:12 +0000 (23:40 +0100)]
get useful warnings for broken links in the doc
Arnaud Giersch [Sat, 4 Jan 2020 14:38:34 +0000 (15:38 +0100)]
Use a std::unique_ptr, and remove custom destructor.
Gabriel Corona [Sat, 4 Jan 2020 09:31:36 +0000 (10:31 +0100)]
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
Martin Quinson [Thu, 2 Jan 2020 16:56:31 +0000 (17:56 +0100)]
various doc small fixups
Martin Quinson [Thu, 2 Jan 2020 16:16:01 +0000 (17:16 +0100)]
automatically determine the core amount
Martin Quinson [Thu, 2 Jan 2020 14:25:54 +0000 (15:25 +0100)]
one void* less
Arnaud Giersch [Fri, 3 Jan 2020 15:02:02 +0000 (16:02 +0100)]
Use different strings (and please sonar).
Arnaud Giersch [Fri, 3 Jan 2020 14:34:42 +0000 (15:34 +0100)]
[sonar] Make member variables "private".
Augustin Degomme [Thu, 2 Jan 2020 16:54:59 +0000 (17:54 +0100)]
xsltproc is not used since... a long time ago
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_.
Arnaud Giersch [Thu, 2 Jan 2020 10:06:28 +0000 (11:06 +0100)]
Const is for the pointee, not the pointer.
Augustin Degomme [Wed, 1 Jan 2020 21:45:20 +0000 (22:45 +0100)]
changelog update for SMPI
Arnaud Giersch [Wed, 1 Jan 2020 21:02:00 +0000 (22:02 +0100)]
Update copyright lines with new year.
Arnaud Giersch [Tue, 31 Dec 2019 17:35:05 +0000 (18:35 +0100)]
[sonar] Constify pointer and reference parameters in teshsuite/.
Arnaud Giersch [Tue, 31 Dec 2019 15:41:05 +0000 (16:41 +0100)]
[sonar] Another bunch of const qualifiers.
Arnaud Giersch [Mon, 30 Dec 2019 23:11:53 +0000 (00:11 +0100)]
[sonar] Constify pointer and reference parameters in src/xbt/log.cpp.
Arnaud Giersch [Mon, 30 Dec 2019 23:03:43 +0000 (00:03 +0100)]
[sonar] Constify pointer and reference parameters in src/xbt/graph.c.
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.
Arnaud Giersch [Mon, 30 Dec 2019 21:56:21 +0000 (22:56 +0100)]
[sonar] Constify pointer and reference parameters in src/xbt/dict.cpp.
Arnaud Giersch [Mon, 30 Dec 2019 21:17:13 +0000 (22:17 +0100)]
[sonar] Constify pointer and reference parameters in src/xbt/automaton/.
Arnaud Giersch [Mon, 30 Dec 2019 13:57:10 +0000 (14:57 +0100)]
Misc const qualifiers following yesterday's changes.
Arnaud Giersch [Sun, 29 Dec 2019 22:37:48 +0000 (23:37 +0100)]
[sonar] Constify pointer and reference parameters in src/surf/.
Arnaud Giersch [Sun, 29 Dec 2019 20:56:46 +0000 (21:56 +0100)]
[sonar] Constify pointer and reference parameters in src/smpi/.
Arnaud Giersch [Sun, 29 Dec 2019 20:24:48 +0000 (21:24 +0100)]
[sonar] Constify pointer and reference parameters in src/simdag/.
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 :(
Arnaud Giersch [Sun, 29 Dec 2019 08:31:38 +0000 (09:31 +0100)]
Sonar consts of the day.
Arnaud Giersch [Sat, 28 Dec 2019 22:47:44 +0000 (23:47 +0100)]
[sonar] Ignore cpp:S995 for src/smpi/bindings/.
Arnaud Giersch [Sat, 28 Dec 2019 22:02:11 +0000 (23:02 +0100)]
[sonar] Constify pointer and reference parameters in src/plugins/.
Arnaud Giersch [Sat, 28 Dec 2019 21:51:55 +0000 (22:51 +0100)]
[sonar] Constify pointer parameters in src/msg/.
Arnaud Giersch [Sat, 28 Dec 2019 13:11:19 +0000 (14:11 +0100)]
[sonar] Constify pointer and reference parameters in src/mc/.
Arnaud Giersch [Sat, 28 Dec 2019 10:28:59 +0000 (11:28 +0100)]
[sonar] More const for pointer and reference local variables and parameters.
Arnaud Giersch [Sat, 28 Dec 2019 13:44:26 +0000 (14:44 +0100)]
Cosmetics: use 's_xbt_mheap_t' instead of 'struct mdesc'.
Arnaud Giersch [Sat, 28 Dec 2019 10:51:07 +0000 (11:51 +0100)]
Kill unused code.
Arnaud Giersch [Fri, 27 Dec 2019 22:45:30 +0000 (23:45 +0100)]
[sonar] Constify pointer and reference parameters in src/kernel/.
Arnaud Giersch [Fri, 27 Dec 2019 22:19:09 +0000 (23:19 +0100)]
[sonar] Constify pointer and reference parameters in src/instr/.
Arnaud Giersch [Fri, 27 Dec 2019 21:52:03 +0000 (22:52 +0100)]
[sonar] Constify pointer and reference parameters in src/bindings/.
Arnaud Giersch [Fri, 27 Dec 2019 16:59:21 +0000 (17:59 +0100)]
[sonar] Constify pointer and reference parameters in dicts and dynars.
Arnaud Giersch [Fri, 27 Dec 2019 16:30:51 +0000 (17:30 +0100)]
[sonar] Constify pointer and reference parameters in examples/deprecated/.
Arnaud Giersch [Fri, 27 Dec 2019 16:09:41 +0000 (17:09 +0100)]
[sonar] Constify pointer and reference parameters in examples/.
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.
Arnaud Giersch [Thu, 26 Dec 2019 22:59:49 +0000 (23:59 +0100)]
Use type bool for boolean variables in smpi/colls/.
Arnaud Giersch [Thu, 26 Dec 2019 13:33:22 +0000 (14:33 +0100)]
Use type jboolean for boolean variables.
Arnaud Giersch [Thu, 26 Dec 2019 13:38:47 +0000 (14:38 +0100)]
Use type bool for boolean variables.
Arnaud Giersch [Thu, 26 Dec 2019 11:45:19 +0000 (12:45 +0100)]
Field is not used (and apparently has never been used).
Arnaud Giersch [Thu, 26 Dec 2019 23:32:16 +0000 (00:32 +0100)]
[sonar] Don't remove const qualification with cast.
Arnaud Giersch [Thu, 26 Dec 2019 16:40:24 +0000 (17:40 +0100)]
[sonar] A few more const local pointers.
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.
Arnaud Giersch [Wed, 25 Dec 2019 21:29:51 +0000 (22:29 +0100)]
Host may be null (fix crash with logs).
Arnaud Giersch [Mon, 23 Dec 2019 23:16:01 +0000 (00:16 +0100)]
[sonar] Constify pointer and reference local variables in examples/.
Arnaud Giersch [Mon, 23 Dec 2019 23:02:38 +0000 (00:02 +0100)]
[sonar] Constify pointer and reference local variables in src/bindings/.
Arnaud Giersch [Mon, 23 Dec 2019 22:53:17 +0000 (23:53 +0100)]
[sonar] Constify pointer and reference local variables in src/instr/.
Arnaud Giersch [Mon, 23 Dec 2019 22:46:44 +0000 (23:46 +0100)]
[sonar] Constify pointer and reference local variables in src/kernel/.
Arnaud Giersch [Mon, 23 Dec 2019 22:31:57 +0000 (23:31 +0100)]
[sonar] Constify pointer and reference local variables in src/mc/.
Arnaud Giersch [Mon, 23 Dec 2019 22:07:00 +0000 (23:07 +0100)]
[sonar] Constify pointer and reference local variables in src/plugins/.
Arnaud Giersch [Mon, 23 Dec 2019 22:02:40 +0000 (23:02 +0100)]
[sonar] Constify pointer and reference local variables in src/s4u/.
Arnaud Giersch [Mon, 23 Dec 2019 21:59:04 +0000 (22:59 +0100)]
[sonar] Constify pointer and reference local variables in src/simdag/.
Arnaud Giersch [Mon, 23 Dec 2019 21:56:35 +0000 (22:56 +0100)]
[sonar] Constify pointer and reference local variables in src/simix/.
Arnaud Giersch [Mon, 23 Dec 2019 21:47:37 +0000 (22:47 +0100)]
[sonar] Constify pointer and reference local variables in src/smpi/.
Arnaud Giersch [Mon, 23 Dec 2019 21:24:24 +0000 (22:24 +0100)]
[sonar] Constify pointer and reference local variables in src/surf/.
Arnaud Giersch [Mon, 23 Dec 2019 21:09:47 +0000 (22:09 +0100)]
[sonar] Constify pointer and reference local variables in src/xbt/.
Arnaud Giersch [Mon, 23 Dec 2019 20:56:43 +0000 (21:56 +0100)]
[sonar] Constify pointer and reference local variables in teshsuite/.
Arnaud Giersch [Mon, 23 Dec 2019 21:55:16 +0000 (22:55 +0100)]
Kill no-op.
Arnaud Giersch [Mon, 23 Dec 2019 18:04:54 +0000 (19:04 +0100)]
Default ctor is good enough.
Arnaud Giersch [Mon, 23 Dec 2019 17:55:18 +0000 (18:55 +0100)]
Unused code.
Arnaud Giersch [Mon, 23 Dec 2019 14:22:33 +0000 (15:22 +0100)]
Small cleanups in parmap.hpp.
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
Martin Quinson [Sun, 22 Dec 2019 17:17:14 +0000 (18:17 +0100)]
docs: dupplicate platform examples in the right section
Arnaud Giersch [Mon, 23 Dec 2019 13:55:49 +0000 (14:55 +0100)]
Merge branch 'master' of framagit.org:simgrid/simgrid
Arnaud Giersch [Sun, 22 Dec 2019 20:43:59 +0000 (21:43 +0100)]
[sonar] Initialize data members with class initializers, or initialization lists.
Arnaud Giersch [Mon, 23 Dec 2019 13:39:27 +0000 (14:39 +0100)]
Cosmetics: use empty parentheses for new std::container.
Frederic Suter [Mon, 23 Dec 2019 13:08:29 +0000 (14:08 +0100)]
[sonar] initialization lists and co.
Arnaud Giersch [Sun, 22 Dec 2019 22:45:08 +0000 (23:45 +0100)]
Kill useless field 'parallel_' in context factories.
Arnaud Giersch [Sun, 22 Dec 2019 22:02:38 +0000 (23:02 +0100)]
Obey coding standard for the field names in mc:State.
Arnaud Giersch [Sun, 22 Dec 2019 17:10:37 +0000 (18:10 +0100)]
Ensure xbt_new0 is called with a size > 0.
Arnaud Giersch [Sun, 22 Dec 2019 16:27:30 +0000 (17:27 +0100)]
Kill dead code.
Arnaud Giersch [Sun, 22 Dec 2019 15:45:41 +0000 (16:45 +0100)]
[sonar] This is still ot a forwarding reference.
See https://rules.sonarsource.com/cpp/RSPEC-5417 ;
completes commit
a96793ec8c496eec19daf68f3aa0c4eded2ea166.
I hope it's correct this time.
Arnaud Giersch [Sat, 21 Dec 2019 20:33:05 +0000 (21:33 +0100)]
Kill unused includes, and put the remaining ones at the top of the file.
Arnaud Giersch [Sat, 21 Dec 2019 14:55:59 +0000 (15:55 +0100)]
[sonar] Use a RAII idiom instead of calling lock() explicitely.
Arnaud Giersch [Fri, 20 Dec 2019 22:57:22 +0000 (23:57 +0100)]
Ensure malloc is not called with a size of 0.
Arnaud Giersch [Fri, 20 Dec 2019 21:58:48 +0000 (22:58 +0100)]
[sonar] Fix casts to pointer type without const qualifier.
Arnaud Giersch [Fri, 20 Dec 2019 22:08:14 +0000 (23:08 +0100)]
Fix prototype, and use boolean operators.
Arnaud Giersch [Fri, 20 Dec 2019 21:20:07 +0000 (22:20 +0100)]
[sonar] "std::forward" should only be called on a forwarding reference.
Arnaud Giersch [Fri, 20 Dec 2019 21:05:03 +0000 (22:05 +0100)]
[sonar] A single statement should not have more than one resource allocation.
Arnaud Giersch [Fri, 20 Dec 2019 14:41:49 +0000 (15:41 +0100)]
Be less verbose.
The job exceeded the maximum log length...
Arnaud Giersch [Wed, 18 Dec 2019 16:51:32 +0000 (17:51 +0100)]
Cmake commands are redundant with root CMakeLists.txt.
Martin Quinson [Thu, 19 Dec 2019 22:14:17 +0000 (23:14 +0100)]
reorder elements in the API ref guide
Martin Quinson [Thu, 19 Dec 2019 22:25:35 +0000 (23:25 +0100)]
Let all smpi wrapper obey the VERBOSE variable
When used, they display the real compilation line. That's useful in
particular on debian builders, to have BLHC inspecting the command
line parameters.
Martin Quinson [Thu, 19 Dec 2019 11:08:41 +0000 (12:08 +0100)]
docs: these methods were renamed recently
Martin Quinson [Thu, 19 Dec 2019 07:32:17 +0000 (08:32 +0100)]
docs: restore some non-breaking spaces where needed
They are needed to show the doc hierarchy in the left navbar.
This partially reverts
6c8dd229d394fdaf20facf604f7be86a5df1e368.
Martin Quinson [Thu, 19 Dec 2019 00:28:08 +0000 (01:28 +0100)]
docs: try to document the dependencies
Frederic Suter [Wed, 18 Dec 2019 15:22:34 +0000 (16:22 +0100)]
codefactor: a few more annoying spaces
Frederic Suter [Wed, 18 Dec 2019 15:05:40 +0000 (16:05 +0100)]
codefactor: build-in redefinitions
Frederic Suter [Wed, 18 Dec 2019 14:27:20 +0000 (15:27 +0100)]
codefactor: reduce complexity in s4u_FileSystem.cpp
(and use a bool when it's a boolean parameter)
Martin Quinson [Wed, 18 Dec 2019 13:56:22 +0000 (14:56 +0100)]
fix SimGrid-FMI
See https://framagit.org/simgrid/simgrid-FMI/-/jobs/636515
Arnaud Giersch [Wed, 18 Dec 2019 12:25:06 +0000 (13:25 +0100)]
Strip -f[a-z]+-prefix-map from compiler flags in smpi* scripts.
Ref: FG simgrid/simgrid#4 and GH #39.
Frederic Suter [Wed, 18 Dec 2019 10:12:59 +0000 (11:12 +0100)]
use same "main" syntax for this example as for others
(still not able to test python ...)
Frederic Suter [Wed, 18 Dec 2019 09:09:28 +0000 (10:09 +0100)]
codefactor: malformed whitespace issues
Frederic Suter [Wed, 18 Dec 2019 08:55:55 +0000 (09:55 +0100)]
codefactor: fix comparison to litteral maintainability issue