degomme [Wed, 1 Jun 2016 08:47:55 +0000 (10:47 +0200)]
let's be a little bit cleaner here.
degomme [Wed, 1 Jun 2016 06:26:57 +0000 (08:26 +0200)]
oops
degomme [Wed, 1 Jun 2016 00:16:20 +0000 (02:16 +0200)]
strcpy->strncpy
degomme [Tue, 31 May 2016 23:32:50 +0000 (01:32 +0200)]
.. and of strcat, replaced by strncat
degomme [Tue, 31 May 2016 23:25:32 +0000 (01:25 +0200)]
Replace sprintf by snprintf.
degomme [Tue, 31 May 2016 21:54:14 +0000 (23:54 +0200)]
try to stabilize output of trace call location test
Frederic Suter [Tue, 31 May 2016 21:09:14 +0000 (23:09 +0200)]
kurgan said "there can be only one"
it works for "2-clusters platforms" too
Frederic Suter [Tue, 31 May 2016 19:48:59 +0000 (21:48 +0200)]
Revert "avoid assert in the middle of the code"
This reverts commit
b8f11e6f72fd3bba9a694d9a32cd155a7878f43c.
Frederic Suter [Tue, 31 May 2016 14:01:13 +0000 (16:01 +0200)]
remove a couple of ugly things from DT.c
a lot remains ...
Martin Quinson [Tue, 31 May 2016 18:25:38 +0000 (20:25 +0200)]
do not catch Throwable
Frederic Suter [Tue, 31 May 2016 11:40:19 +0000 (13:40 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 31 May 2016 11:40:00 +0000 (13:40 +0200)]
avoid assert in the middle of the code
Gabriel Corona [Tue, 31 May 2016 10:48:27 +0000 (12:48 +0200)]
Fix compilation when enable_smpi=OFF
Frederic Suter [Tue, 31 May 2016 10:45:08 +0000 (12:45 +0200)]
remove blocker in kademlia
Gabriel Corona [Tue, 31 May 2016 10:15:23 +0000 (12:15 +0200)]
Clearer indentation/nesting
Gabriel Corona [Tue, 31 May 2016 09:58:59 +0000 (11:58 +0200)]
Use boost::range algorithms
Gabriel Corona [Tue, 31 May 2016 09:29:58 +0000 (11:29 +0200)]
Use boost::range algorithms
Gabriel Corona [Tue, 31 May 2016 09:10:01 +0000 (11:10 +0200)]
[simix] Remove Synchro::category, nobody's using it
Gabriel Corona [Tue, 31 May 2016 08:09:27 +0000 (10:09 +0200)]
[simix] DeXFTification of Synchro: use std::list<> instead of xbt_fifo_t
Frederic Suter [Tue, 31 May 2016 08:48:31 +0000 (10:48 +0200)]
Cannot let GC destroy VM itself ...
AFAIU, VMs are special hosts, surf_exit try to free them before GC
kicks in. After many tries, decide to rename finalize as destroy and
call this method explicitly as before.
Frederic Suter [Tue, 31 May 2016 08:31:47 +0000 (10:31 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 31 May 2016 07:43:44 +0000 (09:43 +0200)]
cosmetics
Gabriel Corona [Tue, 31 May 2016 07:57:31 +0000 (09:57 +0200)]
Normalize virtual/override usage
Gabriel Corona [Tue, 31 May 2016 07:21:26 +0000 (09:21 +0200)]
[simix] Fix std:string construction from nullptr
Frederic Suter [Mon, 30 May 2016 21:03:09 +0000 (23:03 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 30 May 2016 21:02:56 +0000 (23:02 +0200)]
keep playing
Martin Quinson [Mon, 30 May 2016 20:14:31 +0000 (22:14 +0200)]
populate the manual section on logging
Frederic Suter [Mon, 30 May 2016 20:01:38 +0000 (22:01 +0200)]
Java comes with data structures, use them.
Frederic Suter [Mon, 30 May 2016 19:59:13 +0000 (21:59 +0200)]
some are picky with extraneous parentheses
Frederic Suter [Mon, 30 May 2016 19:17:40 +0000 (21:17 +0200)]
blocker --?
Frederic Suter [Mon, 30 May 2016 18:59:58 +0000 (20:59 +0200)]
remove soner bugs in async examples
Frederic Suter [Mon, 30 May 2016 18:53:29 +0000 (20:53 +0200)]
boolify bittorrent
Christian Heinrich [Mon, 30 May 2016 14:34:29 +0000 (16:34 +0200)]
[SMPI Examples] Set path for tracefile correctly
Gabriel Corona [Mon, 30 May 2016 14:29:08 +0000 (16:29 +0200)]
[surf] Fix NetCard leak
Gabriel Corona [Mon, 30 May 2016 14:09:24 +0000 (16:09 +0200)]
Make some constructors explicit
Gabriel Corona [Mon, 30 May 2016 10:18:13 +0000 (12:18 +0200)]
Avoid multiple declaration on the same line/statement
Gabriel Corona [Mon, 30 May 2016 13:59:48 +0000 (15:59 +0200)]
[xbt] xbt_assert(level >= 0) in xbt_lib
Gabriel Corona [Mon, 30 May 2016 13:46:51 +0000 (15:46 +0200)]
Set the levels to -1 by default
This should help us detect uninitalized levels.
Gabriel Corona [Mon, 30 May 2016 13:46:34 +0000 (15:46 +0200)]
[surf] Init ROUTING_ASR_LEVEL
Gabriel Corona [Mon, 30 May 2016 12:45:56 +0000 (14:45 +0200)]
[s4u] Add member initializers
Gabriel Corona [Mon, 30 May 2016 12:31:43 +0000 (14:31 +0200)]
Use std::string for Synchro instead of char*
Gabriel Corona [Mon, 30 May 2016 12:23:49 +0000 (14:23 +0200)]
Make Synchro PUBLIC
Christian Heinrich [Mon, 30 May 2016 12:44:27 +0000 (14:44 +0200)]
[SMPI Examples] srcdir should become bindir
Gabriel Corona [Mon, 30 May 2016 12:07:19 +0000 (14:07 +0200)]
Don't include inside extern C {}
Gabriel Corona [Mon, 30 May 2016 12:06:57 +0000 (14:06 +0200)]
Fix a leak in XML parsing
Gabriel Corona [Mon, 30 May 2016 10:52:22 +0000 (12:52 +0200)]
Comment overloaded method in HostImpl for covariant return type
Gabriel Corona [Mon, 30 May 2016 10:47:53 +0000 (12:47 +0200)]
Really override resume() in BoostParallelContext
Gabriel Corona [Mon, 30 May 2016 09:19:00 +0000 (11:19 +0200)]
[simix] Match delete with new for the maestro Process
Martin Quinson [Mon, 30 May 2016 09:45:08 +0000 (11:45 +0200)]
travis: don't try to launch the tests if the compilation failed
Martin Quinson [Mon, 30 May 2016 08:14:30 +0000 (10:14 +0200)]
woopsy, forgot to commit that file
Martin Quinson [Sun, 29 May 2016 23:58:26 +0000 (01:58 +0200)]
additional doc resulting from discussions with kenenbek
Gabriel Corona [Mon, 30 May 2016 08:34:17 +0000 (10:34 +0200)]
Fix compilation
Gabriel Corona [Mon, 30 May 2016 08:21:59 +0000 (10:21 +0200)]
[s4u] Group fields at the end of the class
Gabriel Corona [Mon, 30 May 2016 08:18:07 +0000 (10:18 +0200)]
[msg] Give name to parameters in declarations
Gabriel Corona [Mon, 30 May 2016 08:01:12 +0000 (10:01 +0200)]
Limit scope of variables
Gabriel Corona [Mon, 30 May 2016 07:57:56 +0000 (09:57 +0200)]
Use verbose cast
degomme [Sun, 29 May 2016 20:59:10 +0000 (22:59 +0200)]
some more "fixes" for sonar
Martin Quinson [Sun, 29 May 2016 18:58:54 +0000 (20:58 +0200)]
make sonarqube happy
- Merge similar switch cases
- Use snprintf instead of sprintf. The change is a bit more intrusive
for homogeneity with the other P2P tests
degomme [Sun, 29 May 2016 15:50:59 +0000 (17:50 +0200)]
fix stupid mistake, and stop inserting thousands of sleep(0.0).
degomme [Sun, 29 May 2016 13:50:55 +0000 (15:50 +0200)]
some more files for sonar
Martin Quinson [Sat, 28 May 2016 21:53:44 +0000 (23:53 +0200)]
cleanups in XML so that sonarqube manages to parse them
- without them, the travis logs were full of sonarqube backtraces
Martin Quinson [Sat, 28 May 2016 21:41:25 +0000 (23:41 +0200)]
travis: Switch to Trusty, and cleanup old workarounds
Martin Quinson [Sat, 28 May 2016 21:09:57 +0000 (23:09 +0200)]
change some sprintf into snprintf
Martin Quinson [Sat, 28 May 2016 20:07:24 +0000 (22:07 +0200)]
try to make our travis-sonarqube.sh useful to others too
Martin Quinson [Sat, 28 May 2016 19:54:59 +0000 (21:54 +0200)]
my g++ refuses -Wmissing-prototypes
Martin Quinson [Sat, 28 May 2016 19:50:05 +0000 (21:50 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sat, 28 May 2016 19:40:03 +0000 (21:40 +0200)]
use snprintf instead of sprintf
degomme [Fri, 27 May 2016 23:15:19 +0000 (01:15 +0200)]
Actually sonar did find an actual (tiny) bug. Requalify two teshes.
degomme [Fri, 27 May 2016 22:54:29 +0000 (00:54 +0200)]
int -> bool for replay control
degomme [Fri, 27 May 2016 22:51:54 +0000 (00:51 +0200)]
make sonar happier with smpi_base.cpp
degomme [Fri, 27 May 2016 20:26:37 +0000 (22:26 +0200)]
Make instr_smpi.cpp more sonarqube friendly
degomme [Fri, 27 May 2016 20:26:01 +0000 (22:26 +0200)]
int -> bool for smpi tracing (so many of these ...)
degomme [Mon, 23 May 2016 12:07:38 +0000 (14:07 +0200)]
use env for perl in this script
degomme [Mon, 23 May 2016 08:14:12 +0000 (10:14 +0200)]
that was moved to another file
degomme [Mon, 23 May 2016 08:09:21 +0000 (10:09 +0200)]
Update lying doc.
Christian Heinrich [Fri, 27 May 2016 17:56:23 +0000 (19:56 +0200)]
[SMPI Examples] Fix absolute paths, part 2.
Christian Heinrich [Fri, 27 May 2016 16:29:16 +0000 (18:29 +0200)]
[SMPI Examples] Use absolute paths for the tracing file.
Christian Heinrich [Fri, 27 May 2016 15:31:09 +0000 (17:31 +0200)]
[gitignore] Blacklist call location test binary.
Christian Heinrich [Fri, 27 May 2016 15:30:30 +0000 (17:30 +0200)]
[SMPI Examples] Remove binary blob that was not blacklisted
Christian Heinrich [Fri, 27 May 2016 15:28:18 +0000 (17:28 +0200)]
[SMPI] Only allocate memory for call-loc when cfg-option is given
This saves us some memory.
Christian Heinrich [Fri, 27 May 2016 15:18:07 +0000 (17:18 +0200)]
[SMPI] Fix memory leak
Christian Heinrich [Fri, 27 May 2016 15:17:07 +0000 (17:17 +0200)]
[SMPI Examples] Change path to trace file in tesh
Martin Quinson [Fri, 27 May 2016 14:41:10 +0000 (16:41 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Christian Heinrich [Fri, 27 May 2016 14:34:54 +0000 (16:34 +0200)]
[SMPI Examples] Fix tesh for windows.
Christian Heinrich [Fri, 27 May 2016 14:30:31 +0000 (16:30 +0200)]
[SMPI] Reverted removal of 'extern C' as this broke things.
Martin Quinson [Fri, 27 May 2016 14:30:50 +0000 (16:30 +0200)]
travis: also build on mac; sonar: fail loudly on issues
Martin Quinson [Fri, 27 May 2016 14:22:14 +0000 (16:22 +0200)]
travis is unable to compile MC, so adapt sonar
no need to build twice, after all
Martin Quinson [Fri, 27 May 2016 14:05:07 +0000 (16:05 +0200)]
travis: install MC dependencies
Frederic Suter [Fri, 27 May 2016 13:50:58 +0000 (15:50 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Gabriel Corona [Fri, 27 May 2016 13:42:59 +0000 (15:42 +0200)]
Name parameters in function declarations
Gabriel Corona [Fri, 27 May 2016 13:39:01 +0000 (15:39 +0200)]
Use & when forming pointer-to-functions
Christian Heinrich [Fri, 27 May 2016 13:44:43 +0000 (15:44 +0200)]
[SMPI Examples] Make SMPICC the compiler under windows
Frederic Suter [Fri, 27 May 2016 13:42:37 +0000 (15:42 +0200)]
a few more fixes
Frederic Suter [Fri, 27 May 2016 13:42:10 +0000 (15:42 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Gabriel Corona [Fri, 27 May 2016 13:28:37 +0000 (15:28 +0200)]
Merge master branches
Martin Quinson [Fri, 27 May 2016 13:10:22 +0000 (15:10 +0200)]
sonar: enable MC, hide our test code
Martin Quinson [Fri, 27 May 2016 12:19:33 +0000 (14:19 +0200)]
sonar+doc: a word of how it's implemented on our side
Gabriel Corona [Fri, 27 May 2016 13:07:14 +0000 (15:07 +0200)]
[cmake] Give CMAKE_C_FLAGS and CMAKE_CXX_FLAGS higher priority than the warning flags
Ignore this warning, would you kindly?
Gabriel Corona [Fri, 27 May 2016 13:05:33 +0000 (15:05 +0200)]
[cmake] Use the same way to pass warning flags in C and in C++ (introduce warnCXXFLAGS)
Christian Heinrich [Fri, 27 May 2016 12:54:02 +0000 (14:54 +0200)]
[SMPI] Fix if() condition to verbose comparison.