Frederic Suter [Thu, 3 Aug 2017 09:17:16 +0000 (11:17 +0200)]
MC doesn't like strings
Frederic Suter [Thu, 3 Aug 2017 08:59:19 +0000 (10:59 +0200)]
reindent + clang-format
Frederic Suter [Thu, 3 Aug 2017 08:52:52 +0000 (10:52 +0200)]
dict--
Frederic Suter [Thu, 3 Aug 2017 08:36:18 +0000 (10:36 +0200)]
dict --
Frederic Suter [Thu, 3 Aug 2017 08:24:34 +0000 (10:24 +0200)]
dict--
Frederic Suter [Thu, 3 Aug 2017 08:03:35 +0000 (10:03 +0200)]
some dict related cleanups
Arnaud Giersch [Wed, 2 Aug 2017 20:15:28 +0000 (22:15 +0200)]
Don't try to get front() from an empty list.
Arnaud Giersch [Wed, 2 Aug 2017 13:49:50 +0000 (15:49 +0200)]
Avoid costly exceptions when looking into a map.
Arnaud Giersch [Wed, 2 Aug 2017 08:35:41 +0000 (10:35 +0200)]
Remove now superfluous assert on critical path.
Arnaud Giersch [Wed, 2 Aug 2017 08:35:41 +0000 (10:35 +0200)]
Arnaud Giersch [Wed, 2 Aug 2017 08:35:41 +0000 (10:35 +0200)]
Cosmetics: typo in include guard.
Arnaud Giersch [Wed, 2 Aug 2017 08:35:41 +0000 (10:35 +0200)]
Update .gitignore.
Christian Heinrich [Fri, 7 Jul 2017 15:22:12 +0000 (17:22 +0200)]
[SMPI] Use std::string::compare instead of strncmp
Martin Quinson [Wed, 2 Aug 2017 08:26:10 +0000 (10:26 +0200)]
cleanups in Java examples advised by Sonar
Martin Quinson [Tue, 1 Aug 2017 23:53:15 +0000 (01:53 +0200)]
Add two missing @Override annotations
Martin Quinson [Tue, 1 Aug 2017 23:52:04 +0000 (01:52 +0200)]
tidy the exceptions that can be raised by our Java code
Thx, sonar
Martin Quinson [Tue, 1 Aug 2017 23:40:13 +0000 (01:40 +0200)]
sonar: don't complain about Java not having a proper logging mechanism
Arnaud Giersch [Tue, 1 Aug 2017 21:13:30 +0000 (23:13 +0200)]
Try to fix msg-process-join.
On exit, call SIMIX_process_join_finish in maestro context.
Martin Quinson [Tue, 1 Aug 2017 20:44:24 +0000 (22:44 +0200)]
Reduces the amount of build env leaked in the binaries (see #39)
Martin Quinson [Tue, 1 Aug 2017 19:47:07 +0000 (21:47 +0200)]
typo found by lintian
Martin Quinson [Tue, 1 Aug 2017 15:38:30 +0000 (17:38 +0200)]
fix copyright file according to Debian standards
Frederic Suter [Tue, 1 Aug 2017 14:31:48 +0000 (16:31 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 1 Aug 2017 14:31:31 +0000 (16:31 +0200)]
missing include
hope it's the only one
Martin Quinson [Tue, 1 Aug 2017 13:52:46 +0000 (15:52 +0200)]
try to fix sonar by specifying where the java binaries are
Frederic Suter [Tue, 1 Aug 2017 13:42:36 +0000 (15:42 +0200)]
properties are now stored in maps and managed by ProperyHolder
everywhere!
Arnaud Giersch [Tue, 1 Aug 2017 12:28:26 +0000 (14:28 +0200)]
Only maestro is allowed to push in simix_global->process_to_run.
Tests msg-process-join are now expected to fail.
Frederic Suter [Tue, 1 Aug 2017 08:48:12 +0000 (10:48 +0200)]
use a map for F2C lookup.
This class could be further improved
Frederic Suter [Mon, 31 Jul 2017 16:15:34 +0000 (18:15 +0200)]
move ugly dict closer to the C APIs
+ revise a bit an ugly simdag example
Frederic Suter [Mon, 31 Jul 2017 15:36:01 +0000 (17:36 +0200)]
improve
Frederic Suter [Mon, 31 Jul 2017 13:07:46 +0000 (15:07 +0200)]
simplify storage_type mess
Frederic Suter [Mon, 31 Jul 2017 09:24:40 +0000 (11:24 +0200)]
cosmetics
Frederic Suter [Mon, 31 Jul 2017 09:18:00 +0000 (11:18 +0200)]
this dict was a set
Frederic Suter [Mon, 31 Jul 2017 08:26:42 +0000 (10:26 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 31 Jul 2017 08:26:27 +0000 (10:26 +0200)]
try to fix build + cosmetics
Martin Quinson [Mon, 31 Jul 2017 00:33:41 +0000 (02:33 +0200)]
please sonar
Martin Quinson [Sun, 30 Jul 2017 23:58:34 +0000 (01:58 +0200)]
fix NS3 builds
Martin Quinson [Sun, 30 Jul 2017 19:41:52 +0000 (21:41 +0200)]
fix an URL
Frederic Suter [Sun, 30 Jul 2017 11:31:05 +0000 (13:31 +0200)]
kill another dict
Frederic Suter [Sun, 30 Jul 2017 09:19:39 +0000 (11:19 +0200)]
please emptty
Arnaud Giersch [Fri, 28 Jul 2017 09:07:28 +0000 (11:07 +0200)]
Last replacement of qsort by std::sort.
Note that the rankmap array in replaced by a std::vector<std::pair<int, int>>,
and that the two elements of the pair are reversed in order to be correclty
ordered by std::sort.
Arnaud Giersch [Fri, 28 Jul 2017 08:07:59 +0000 (10:07 +0200)]
Use std::sort instead of qsort in C++ files (easy part).
Martin Quinson [Fri, 28 Jul 2017 11:06:54 +0000 (13:06 +0200)]
don't let every process do the initialization, only rank 0
Otherwise, overriding_send will be the value assigned to
previous_send, leading into a infinite call loop.
Martin Quinson [Thu, 27 Jul 2017 20:55:03 +0000 (22:55 +0200)]
disable raw contexts and ucontexts with ASan because of known incompatibilities
Frederic Suter [Thu, 27 Jul 2017 14:25:28 +0000 (16:25 +0200)]
kill dict and dynar in dotloader
Martin Quinson [Thu, 27 Jul 2017 14:08:38 +0000 (16:08 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Arnaud Giersch [Thu, 27 Jul 2017 13:28:40 +0000 (15:28 +0200)]
Another one only built on *bsd.
Frederic Suter [Thu, 27 Jul 2017 13:04:02 +0000 (15:04 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 27 Jul 2017 12:53:46 +0000 (14:53 +0200)]
cosmetics
Arnaud Giersch [Thu, 27 Jul 2017 12:58:50 +0000 (14:58 +0200)]
Fix signedness issues in dht-pastry in a more conservative manner.
Frederic Suter [Thu, 27 Jul 2017 12:32:06 +0000 (14:32 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 27 Jul 2017 12:31:44 +0000 (14:31 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Arnaud Giersch [Thu, 27 Jul 2017 12:31:31 +0000 (14:31 +0200)]
Forgotten signedness issues.
Arnaud Giersch [Thu, 27 Jul 2017 12:18:38 +0000 (14:18 +0200)]
s/GREATER/LESS/
Frederic Suter [Thu, 27 Jul 2017 12:01:50 +0000 (14:01 +0200)]
kill dicts in option management
Arnaud Giersch [Thu, 27 Jul 2017 12:09:46 +0000 (14:09 +0200)]
Add -Wformat-signedness to warnCFLAGS for GCC >= 5.0.
Arnaud Giersch [Thu, 27 Jul 2017 12:08:29 +0000 (14:08 +0200)]
Fix signedness errors in format strings.
Arnaud Giersch [Thu, 27 Jul 2017 11:54:02 +0000 (13:54 +0200)]
Reduce scope of variables (please Codacy).
Arnaud Giersch [Thu, 27 Jul 2017 07:26:55 +0000 (09:26 +0200)]
Avoid warnings about renamed options with --help-aliases.
Arnaud Giersch [Thu, 27 Jul 2017 07:26:55 +0000 (09:26 +0200)]
Correctly sort config entries for --help.
Arnaud Giersch [Thu, 27 Jul 2017 07:26:55 +0000 (09:26 +0200)]
smpirun: define function die() to print error message and exit.
Arnaud Giersch [Thu, 27 Jul 2017 07:26:55 +0000 (09:26 +0200)]
Shell scripts: remove useless variable expansion in arithmetic expressions.
Arnaud Giersch [Thu, 27 Jul 2017 07:26:54 +0000 (09:26 +0200)]
Shell scripts: replace backquotes with $().
Arnaud Giersch [Thu, 27 Jul 2017 07:26:54 +0000 (09:26 +0200)]
Remove useless guard.
The log category mc_main is now connected at the proper place.
Arnaud Giersch [Thu, 27 Jul 2017 07:26:54 +0000 (09:26 +0200)]
Use C++ style includes when available.
Arnaud Giersch [Thu, 27 Jul 2017 07:26:54 +0000 (09:26 +0200)]
Remove header files which are obsolete since SimGrid 3.12.
Arnaud Giersch [Thu, 27 Jul 2017 07:26:54 +0000 (09:26 +0200)]
Remove remaining mentions of Swig.
Arnaud Giersch [Thu, 27 Jul 2017 07:26:54 +0000 (09:26 +0200)]
Remove commented lines.
These lines were commented 8 years ago in commit
c01bbf930f6f8a0d0b2730cb6effba0023a7ec69.
Frederic Suter [Thu, 27 Jul 2017 09:00:37 +0000 (11:00 +0200)]
less dict, bprintf, and xbt_str_parse
Martin Quinson [Wed, 26 Jul 2017 20:21:18 +0000 (22:21 +0200)]
Using operator[] instead of std::unordered_map::insert
insert does not allow to replace the content associted to an already
existing key.
Initial report and patch by @rktesser as part of #125 (but unrelated to
the rest of #125, thus the partial application). Thanks.
Martin Quinson [Wed, 26 Jul 2017 19:53:58 +0000 (21:53 +0200)]
fix tracing tests
This will result in a leak in the tracing::value content, but this is
unavoidable as long as the constructor is not really initializing the
fields but instead initializing the ret field.
Frederic Suter [Tue, 25 Jul 2017 15:34:36 +0000 (17:34 +0200)]
fix MC which uses simgrid::xbt::string
Frederic Suter [Tue, 25 Jul 2017 14:55:54 +0000 (16:55 +0200)]
partial leak plug in chord
Frederic Suter [Tue, 25 Jul 2017 10:36:35 +0000 (12:36 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
degomme [Tue, 25 Jul 2017 09:27:38 +0000 (11:27 +0200)]
allgather was forgotten in ti tracing. fix this
Frederic Suter [Tue, 25 Jul 2017 08:36:32 +0000 (10:36 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 25 Jul 2017 08:35:39 +0000 (10:35 +0200)]
let parsing raise C++ exceptions, kill a dict, reindent
Martin Quinson [Mon, 24 Jul 2017 21:03:17 +0000 (23:03 +0200)]
cosmetics
Martin Quinson [Mon, 24 Jul 2017 20:44:15 +0000 (22:44 +0200)]
use a proper destructor for the paje::value type
Martin Quinson [Mon, 24 Jul 2017 20:33:30 +0000 (22:33 +0200)]
cosmetics in instr: use sensible identifier names
Martin Quinson [Mon, 24 Jul 2017 20:27:39 +0000 (22:27 +0200)]
ahem
Martin Quinson [Mon, 24 Jul 2017 20:10:40 +0000 (22:10 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Mon, 24 Jul 2017 20:10:12 +0000 (22:10 +0200)]
Merge pull request #202 from Takishipp/clear_fct
Turn paje_value to a class
Martin Quinson [Mon, 24 Jul 2017 20:03:47 +0000 (22:03 +0200)]
codacy
Martin Quinson [Mon, 24 Jul 2017 19:57:48 +0000 (21:57 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Takishipp [Mon, 24 Jul 2017 14:08:48 +0000 (16:08 +0200)]
delete unused parameters
Frederic Suter [Mon, 24 Jul 2017 13:24:06 +0000 (15:24 +0200)]
mess up with parsing and exceptions
Takishipp [Mon, 24 Jul 2017 12:05:50 +0000 (14:05 +0200)]
delete unused parameters
Takishipp [Mon, 24 Jul 2017 10:49:11 +0000 (12:49 +0200)]
remove unused parameters of some fcts
Frederic Suter [Mon, 24 Jul 2017 08:51:56 +0000 (10:51 +0200)]
overall optimization of map usage
replace all find != end + at by a try/catch on at.
This should save a useless traversal of the [unordered_]map each time
we want to access an element.
Martin Quinson [Sun, 23 Jul 2017 19:28:42 +0000 (21:28 +0200)]
fix MSG compatibility layer
Martin Quinson [Sat, 22 Jul 2017 20:26:07 +0000 (22:26 +0200)]
codacy
Frederic Suter [Fri, 21 Jul 2017 17:48:30 +0000 (19:48 +0200)]
uniform allocation is better
Frederic Suter [Fri, 21 Jul 2017 17:45:44 +0000 (19:45 +0200)]
kill degomme's masochist troll ;)
Frederic Suter [Fri, 21 Jul 2017 17:28:15 +0000 (19:28 +0200)]
kill another dict in the C++ world
Frederic Suter [Fri, 21 Jul 2017 12:57:35 +0000 (14:57 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 21 Jul 2017 12:57:16 +0000 (14:57 +0200)]
simplify process/actor restart
Augustin Degomme [Fri, 21 Jul 2017 12:44:32 +0000 (14:44 +0200)]
try to silence a valgrind leak
Frederic Suter [Fri, 21 Jul 2017 12:16:56 +0000 (14:16 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 21 Jul 2017 12:16:04 +0000 (14:16 +0200)]
simcall_mutex_unlock is back but keep the simplification of another
simcall
Martin Quinson [Fri, 21 Jul 2017 12:08:27 +0000 (14:08 +0200)]
fix make dist for MC builds