Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agoKill last usage of xbt_basename().
Arnaud Giersch [Wed, 25 Oct 2017 19:22:53 +0000 (21:22 +0200)]
Kill last usage of xbt_basename().

2 years agoMerge if statements.
Arnaud Giersch [Wed, 25 Oct 2017 14:35:39 +0000 (16:35 +0200)]
Merge if statements.

2 years agoRemove redundant parentheses.
Arnaud Giersch [Wed, 25 Oct 2017 14:26:39 +0000 (16:26 +0200)]
Remove redundant parentheses.

2 years agoKill now unused xbt_dirname().
Arnaud Giersch [Wed, 25 Oct 2017 13:26:49 +0000 (15:26 +0200)]
Kill now unused xbt_dirname().

2 years agoUse simgrid::xbt::Path instead of xbt_{base,dir}name in C++ files.
Arnaud Giersch [Wed, 25 Oct 2017 13:21:21 +0000 (15:21 +0200)]
Use simgrid::xbt::Path instead of xbt_{base,dir}name in C++ files.

2 years agoDefine simgrid::xbt::Path to manage file names.
Arnaud Giersch [Wed, 25 Oct 2017 11:51:50 +0000 (13:51 +0200)]
Define simgrid::xbt::Path to manage file names.

2 years agoKill now unused xbt_getline().
Arnaud Giersch [Wed, 25 Oct 2017 12:31:07 +0000 (14:31 +0200)]
Kill now unused xbt_getline().

2 years agoMissing includes.
Arnaud Giersch [Wed, 25 Oct 2017 12:35:08 +0000 (14:35 +0200)]
Missing includes.

2 years agoRemove last usage of xbt_getline.
Arnaud Giersch [Wed, 25 Oct 2017 12:24:49 +0000 (14:24 +0200)]
Remove last usage of xbt_getline.

2 years agoUse C++ i/o.
Arnaud Giersch [Wed, 25 Oct 2017 12:17:27 +0000 (14:17 +0200)]
Use C++ i/o.

2 years agoUnused parameters.
Arnaud Giersch [Tue, 24 Oct 2017 19:19:44 +0000 (21:19 +0200)]
Unused parameters.

2 years agoRename method to avoid false positive with sonar.
Arnaud Giersch [Tue, 24 Oct 2017 17:04:12 +0000 (19:04 +0200)]
Rename method to avoid false positive with sonar.

2 years agoAdd comment in empty method body.
Arnaud Giersch [Tue, 24 Oct 2017 16:57:26 +0000 (18:57 +0200)]
Add comment in empty method body.

2 years agoFix symbols for cutting backtrace (takes mangled C++ symbols).
Arnaud Giersch [Tue, 24 Oct 2017 13:14:55 +0000 (15:14 +0200)]
Fix symbols for cutting backtrace (takes mangled C++ symbols).

2 years agoFix maps_name (missing /) in resolveBacktrace.
Arnaud Giersch [Tue, 24 Oct 2017 13:13:17 +0000 (15:13 +0200)]
Fix maps_name (missing /) in resolveBacktrace.

2 years agoContextThread: define {Serial,Parallel}ThreadContext, and reorganize.
Arnaud Giersch [Tue, 24 Oct 2017 12:43:04 +0000 (14:43 +0200)]
ContextThread: define {Serial,Parallel}ThreadContext, and reorganize.

2 years agoThreadContext: wrapper and maestro_wrapper are nearly the same. Merge.
Arnaud Giersch [Mon, 23 Oct 2017 19:46:10 +0000 (21:46 +0200)]
ThreadContext: wrapper and maestro_wrapper are nearly the same. Merge.

2 years agoThreadContext: define yield(), and use yield()/start() whenever possible.
Arnaud Giersch [Mon, 23 Oct 2017 19:23:13 +0000 (21:23 +0200)]
ThreadContext: define yield(), and use yield()/start() whenever possible.

2 years agoContextUnix: reorganize like Boost and Raw contexts.
Arnaud Giersch [Sun, 22 Oct 2017 19:57:21 +0000 (21:57 +0200)]
ContextUnix: reorganize like Boost and Raw contexts.

2 years agoContextUnix: add header file with class definitions.
Arnaud Giersch [Sun, 22 Oct 2017 19:13:13 +0000 (21:13 +0200)]
ContextUnix: add header file with class definitions.

2 years agoFix include guard.
Arnaud Giersch [Sun, 22 Oct 2017 19:06:47 +0000 (21:06 +0200)]
Fix include guard.

2 years agoSonar smell.
Arnaud Giersch [Sun, 22 Oct 2017 15:44:51 +0000 (17:44 +0200)]
Sonar smell.

2 years agoContextUnix: remove variadic function.
Arnaud Giersch [Sun, 22 Oct 2017 15:31:12 +0000 (17:31 +0200)]
ContextUnix: remove variadic function.

2 years agoContextRaw: reorganize.
Arnaud Giersch [Sun, 22 Oct 2017 13:38:38 +0000 (15:38 +0200)]
ContextRaw: reorganize.

2 years agoContextRaw: add header file with class definitions.
Arnaud Giersch [Sun, 22 Oct 2017 12:47:41 +0000 (14:47 +0200)]
ContextRaw: add header file with class definitions.

2 years agoCosmetics.
Arnaud Giersch [Sun, 22 Oct 2017 13:13:14 +0000 (15:13 +0200)]
Cosmetics.

2 years agoTry to fix boost includes for ubuntu xenial.
Arnaud Giersch [Sat, 21 Oct 2017 20:58:04 +0000 (22:58 +0200)]
Try to fix boost includes for ubuntu xenial.

2 years agoReplace single case switch by an if.
Arnaud Giersch [Sat, 21 Oct 2017 20:56:50 +0000 (22:56 +0200)]
Replace single case switch by an if.

2 years agoKill dead code.
Arnaud Giersch [Sat, 21 Oct 2017 20:42:41 +0000 (22:42 +0200)]
Kill dead code.

2 years agoContextBoost: destroy key.
Arnaud Giersch [Sat, 21 Oct 2017 19:56:00 +0000 (21:56 +0200)]
ContextBoost: destroy key.

2 years agoContextBoost: move logic from factory to contexts.
Arnaud Giersch [Sat, 21 Oct 2017 19:55:38 +0000 (21:55 +0200)]
ContextBoost: move logic from factory to contexts.

2 years agoContextBoost: move static fields where they belong to.
Arnaud Giersch [Fri, 20 Oct 2017 17:19:14 +0000 (19:19 +0200)]
ContextBoost: move static fields where they belong to.

2 years agoContextBoost: make maestro_context_ private.
Arnaud Giersch [Fri, 20 Oct 2017 17:19:14 +0000 (19:19 +0200)]
ContextBoost: make maestro_context_ private.

2 years agoContextBoost: move parallel_ from BoostContext to BoostContextFactory.
Arnaud Giersch [Fri, 20 Oct 2017 17:13:29 +0000 (19:13 +0200)]
ContextBoost: move parallel_ from BoostContext to BoostContextFactory.

2 years agoContextBoost: cleanup in includes and cosmetic moves and renames.
Arnaud Giersch [Fri, 20 Oct 2017 11:48:38 +0000 (13:48 +0200)]
ContextBoost: cleanup in includes and cosmetic moves and renames.

2 years agoDefine xbt_os_thread_key_destroy.
Arnaud Giersch [Fri, 20 Oct 2017 11:39:46 +0000 (13:39 +0200)]
Define xbt_os_thread_key_destroy.

2 years agoRemove redundant access specifier.
Arnaud Giersch [Thu, 19 Oct 2017 21:30:05 +0000 (23:30 +0200)]
Remove redundant access specifier.

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 20 Oct 2017 12:43:50 +0000 (14:43 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agoget rid of Container kind_
Frederic Suter [Fri, 20 Oct 2017 12:22:35 +0000 (14:22 +0200)]
get rid of Container kind_

2 years agoDo not fail when the MPI program fails and KEEP is not defined
Martin Quinson [Fri, 20 Oct 2017 11:24:05 +0000 (13:24 +0200)]
Do not fail when the MPI program fails and KEEP is not defined

Patch provided by S. Thibault, thanks.
(fix #232)

2 years agodoc improvement
Martin Quinson [Fri, 20 Oct 2017 10:11:41 +0000 (12:11 +0200)]
doc improvement

2 years agomake it compile (fix an old merge)
Martin Quinson [Fri, 20 Oct 2017 09:14:19 +0000 (11:14 +0200)]
make it compile (fix an old merge)

2 years agoMerge branch 'Takishipp-actor-priority'
Martin Quinson [Fri, 20 Oct 2017 09:06:16 +0000 (11:06 +0200)]
Merge branch 'Takishipp-actor-priority'

2 years agoMerge branch 'actor-priority' of https://github.com/Takishipp/simgrid into Takishipp...
Martin Quinson [Fri, 20 Oct 2017 09:05:42 +0000 (11:05 +0200)]
Merge branch 'actor-priority' of https://github.com/Takishipp/simgrid into Takishipp-actor-priority

2 years agoimprove an error message
Martin Quinson [Fri, 20 Oct 2017 08:53:44 +0000 (10:53 +0200)]
improve an error message

2 years agoMethod does not exist.
Arnaud Giersch [Thu, 19 Oct 2017 19:24:33 +0000 (21:24 +0200)]
Method does not exist.

2 years agoTiny cleanups in ContextUnix.
Arnaud Giersch [Thu, 19 Oct 2017 10:05:20 +0000 (12:05 +0200)]
Tiny cleanups in ContextUnix.

2 years agoMake some protected fields private.
Arnaud Giersch [Thu, 19 Oct 2017 07:12:40 +0000 (09:12 +0200)]
Make some protected fields private.

2 years agoAvoid dangling pointer.
Arnaud Giersch [Thu, 19 Oct 2017 07:00:50 +0000 (09:00 +0200)]
Avoid dangling pointer.

2 years agomore strings
Frederic Suter [Thu, 19 Oct 2017 09:00:22 +0000 (11:00 +0200)]
more strings

2 years agoUse standard C/C++ attributes when available.
Arnaud Giersch [Wed, 18 Oct 2017 20:43:41 +0000 (22:43 +0200)]
Use standard C/C++ attributes when available.

2 years agoMerge if statements.
Arnaud Giersch [Wed, 18 Oct 2017 14:50:59 +0000 (16:50 +0200)]
Merge if statements.

2 years agoEnum ResultStatus: valid is not a valid value. Use value.
Arnaud Giersch [Wed, 18 Oct 2017 13:50:09 +0000 (15:50 +0200)]
Enum ResultStatus: valid is not a valid value. Use value.

2 years agoAdd default case to switch statements.
Arnaud Giersch [Wed, 18 Oct 2017 13:18:02 +0000 (15:18 +0200)]
Add default case to switch statements.

2 years agoPer default, use default ns3/TcpModel.
Arnaud Giersch [Wed, 18 Oct 2017 13:16:19 +0000 (15:16 +0200)]
Per default, use default ns3/TcpModel.

2 years agoDisable logging from ns3.
Arnaud Giersch [Wed, 18 Oct 2017 13:14:41 +0000 (15:14 +0200)]
Disable logging from ns3.

The last two lines are likely dating from tests of the early days of network_ns3.

2 years agoRemove const that was anyway ignored with a cast.
Arnaud Giersch [Tue, 17 Oct 2017 20:04:38 +0000 (22:04 +0200)]
Remove const that was anyway ignored with a cast.

2 years agoMake field private.
Arnaud Giersch [Tue, 17 Oct 2017 19:26:54 +0000 (21:26 +0200)]
Make field private.

2 years agoshould (hopefully) fix build
Frederic Suter [Wed, 18 Oct 2017 16:31:16 +0000 (18:31 +0200)]
should (hopefully) fix build

2 years agoMerge branch 'master' into actor-priority
Zitagcc [Wed, 18 Oct 2017 13:51:08 +0000 (15:51 +0200)]
Merge branch 'master' into actor-priority

2 years agoAdd actor-priority example to s4u API
Takishipp [Wed, 18 Oct 2017 13:46:28 +0000 (15:46 +0200)]
Add actor-priority example to s4u API

2 years agomore simplifications and try to fix build
Frederic Suter [Wed, 18 Oct 2017 12:01:21 +0000 (14:01 +0200)]
more simplifications and try to fix build

2 years agostringify
Frederic Suter [Wed, 18 Oct 2017 09:50:56 +0000 (11:50 +0200)]
stringify

2 years agoValue is always attached to Type
Frederic Suter [Wed, 18 Oct 2017 09:30:36 +0000 (11:30 +0200)]
Value is always attached to Type
replace Value::byNameOrCreate and Value::byName by
Type::addEntityValue and Type::getEntityValue

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 17 Oct 2017 16:22:29 +0000 (18:22 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agoRemove old #define/#undef.
Arnaud Giersch [Tue, 17 Oct 2017 15:56:42 +0000 (17:56 +0200)]
Remove old #define/#undef.

CLEANUP seems to be a leftover of old C xbt exceptions, and register is not
used anymore (use flex >= 2.6.0).

2 years agoMove macro definitions out of namespace.
Arnaud Giersch [Tue, 17 Oct 2017 15:53:27 +0000 (17:53 +0200)]
Move macro definitions out of namespace.

2 years agofurther simplifications
Frederic Suter [Tue, 17 Oct 2017 15:50:34 +0000 (17:50 +0200)]
further simplifications

2 years agoRemove dead assignment (mimic console_add_link()).
Arnaud Giersch [Tue, 17 Oct 2017 14:31:09 +0000 (16:31 +0200)]
Remove dead assignment (mimic console_add_link()).

2 years agoMark unused parameters in C code.
Arnaud Giersch [Tue, 17 Oct 2017 13:09:45 +0000 (15:09 +0200)]
Mark unused parameters in C code.

2 years agoKill empty function.
Arnaud Giersch [Tue, 17 Oct 2017 13:02:06 +0000 (15:02 +0200)]
Kill empty function.

2 years agono comment...
Frederic Suter [Tue, 17 Oct 2017 14:30:45 +0000 (16:30 +0200)]
no comment...

2 years agotry to silent CI
Frederic Suter [Tue, 17 Oct 2017 14:15:17 +0000 (16:15 +0200)]
try to silent CI

2 years agothis was a bad idea and I messed up my commits
Frederic Suter [Tue, 17 Oct 2017 14:10:00 +0000 (16:10 +0200)]
this was a bad idea and I messed up my commits

2 years agostart deprecating xbt_dict
Frederic Suter [Tue, 17 Oct 2017 13:41:55 +0000 (15:41 +0200)]
start deprecating xbt_dict

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 17 Oct 2017 13:03:58 +0000 (15:03 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agostop using xbt_dict_set/get_ext
Frederic Suter [Tue, 17 Oct 2017 13:01:01 +0000 (15:01 +0200)]
stop using xbt_dict_set/get_ext

2 years agoUse std::string in network_ns3, and fix memory leak.
Arnaud Giersch [Tue, 17 Oct 2017 10:28:53 +0000 (12:28 +0200)]
Use std::string in network_ns3, and fix memory leak.

2 years agoMark unused parameters.
Arnaud Giersch [Tue, 17 Oct 2017 10:21:08 +0000 (12:21 +0200)]
Mark unused parameters.

Sonar, are you happy with that?

2 years agotiny cleanups
Frederic Suter [Tue, 17 Oct 2017 09:17:30 +0000 (11:17 +0200)]
tiny cleanups

2 years agokill LAST dict in internals !!!
Frederic Suter [Tue, 17 Oct 2017 08:31:12 +0000 (10:31 +0200)]
kill LAST dict in internals !!!

hey, agier, there are some leaks in ns3 that are captured by CI.

2 years agoVariable may be unused.
Arnaud Giersch [Mon, 16 Oct 2017 21:26:46 +0000 (23:26 +0200)]
Variable may be unused.

2 years agoReplace some more malloc/free.
Arnaud Giersch [Mon, 16 Oct 2017 21:11:13 +0000 (23:11 +0200)]
Replace some more malloc/free.

2 years agoUse simgrid::xbt::string_printf.
Arnaud Giersch [Mon, 16 Oct 2017 21:08:53 +0000 (23:08 +0200)]
Use simgrid::xbt::string_printf.

2 years agoAdd default label to switch.
Arnaud Giersch [Mon, 16 Oct 2017 20:42:14 +0000 (22:42 +0200)]
Add default label to switch.

2 years agoAdd a default initialization for member variables.
Arnaud Giersch [Mon, 16 Oct 2017 20:31:46 +0000 (22:31 +0200)]
Add a default initialization for member variables.

2 years agoInvert variable to circumvent false positive of cppcheck.
Arnaud Giersch [Mon, 16 Oct 2017 20:25:03 +0000 (22:25 +0200)]
Invert variable to circumvent false positive of cppcheck.

2 years agoRemove unused macros.
Arnaud Giersch [Mon, 16 Oct 2017 20:08:02 +0000 (22:08 +0200)]
Remove unused macros.

2 years agoSonar still does not like #undef. Use a local variable to hide _xbt_log_cat_init.
Arnaud Giersch [Mon, 16 Oct 2017 20:04:58 +0000 (22:04 +0200)]
Sonar still does not like #undef.  Use a local variable to hide _xbt_log_cat_init.

2 years agoSonar doesn't like #undef.
Arnaud Giersch [Mon, 16 Oct 2017 19:49:06 +0000 (21:49 +0200)]
Sonar doesn't like #undef.

2 years agoReplace macro by an inline function.
Arnaud Giersch [Mon, 16 Oct 2017 19:46:17 +0000 (21:46 +0200)]
Replace macro by an inline function.

2 years agoSonar asked to end this switch cases with an unconditional statement.
Arnaud Giersch [Mon, 16 Oct 2017 19:30:05 +0000 (21:30 +0200)]
Sonar asked to end this switch cases with an unconditional statement.

2 years agoRewrite without goto going backward.
Arnaud Giersch [Mon, 16 Oct 2017 15:09:49 +0000 (17:09 +0200)]
Rewrite without goto going backward.

A big diff due to reindentation, best viewed with "git show -w".

2 years agomore std::string and stuff
Frederic Suter [Mon, 16 Oct 2017 13:33:58 +0000 (15:33 +0200)]
more std::string and stuff

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 16 Oct 2017 13:02:14 +0000 (15:02 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agoc++ify some (untested) code
Frederic Suter [Mon, 16 Oct 2017 12:08:38 +0000 (14:08 +0200)]
c++ify some (untested) code

2 years agoExplicitly use default ctor/dtor.
Arnaud Giersch [Mon, 16 Oct 2017 11:32:23 +0000 (13:32 +0200)]
Explicitly use default ctor/dtor.

2 years agoKill useless empty functions.
Arnaud Giersch [Mon, 16 Oct 2017 11:31:49 +0000 (13:31 +0200)]
Kill useless empty functions.

2 years agoAdd comments to acknowledge empty functions (and please Sonar).
Arnaud Giersch [Mon, 16 Oct 2017 08:50:48 +0000 (10:50 +0200)]
Add comments to acknowledge empty functions (and please Sonar).

2 years agoAllow nullptr for Extension deleter.
Arnaud Giersch [Mon, 16 Oct 2017 11:25:42 +0000 (13:25 +0200)]
Allow nullptr for Extension deleter.