Build log module as C++. The goal is to use C++ mutex.
Update copyright lines with new year.
Update copyright headers. Simplify year ranges; end by 2018. Starting year was kept as-is. Shall it be changed to 2003?
nobody will launch the logging AFTER the application start So there is no need to take a timestamp when the loggin is started, and then substract it from the surf clock. Plus, calling MSG_get_clock() from xbt_log_layout_simple_new() is not a good idea since the later is called from xbt_log_preinit(), which occures before MSG_get_clock() is usable (not all MC stuff is inited on centos).
stop loading surf.h from C files
Use standard C/C++ attributes when available.
Mark unused parameters in C code.
remove simix.h from two more C files
rename SIMIX_host_self() into sg_host_self(), and make it public
cosmetics
drop module strbuff. We don't need it anymore. Killing XBT (and reduce our maintainance burden) was a major motivation in the switch to C++.
please sonar and use & when creating function pointers
what a wonderful night in XBT ...
kill the portable header such centralized header is not a good idea, as it tend to the inflation of header inclusions. I prefer having each file specifying precisely which header they need.
Kill another GRAS leftover: SG/RL thread portability layer Also, maestro's reported name is now "maestro" instead of "". This breaks a lot of tesh files that I'll fix in the next commit for clarity.
Reduce the amount of implicit include directories This is intrusive to quite a lot of files, but I think that it helps making the source code more explicit about what's public and what's not.
Add/update copyright notices. All source files (C, C++, Java, Fortran, Perl, Ruby, Lua, Python, Sh) should be updated by this commit. Note however that the following directories (and their subdirectories) were not considered: ./buildtools/jenkins/ ./buildtools/pipol/ ./examples/smpi/NAS/ ./teshsuite/smpi/mpich3-test/ Use: git grep -L 'Copyright.*SimGrid' to list the files remaining without copyright notice.
Dig through git history, and update copyright lines. Note that: * only existing lines are updated * dates already written were kept * missing dates were found with "git log --format=%ad" Adding a copyright notice to files where it's missing is left as an exercise to the reader.
Kill xbt_dynar_dopar(). Keep it as a separated commit, to make a potential revert easier.
We want host name here, not process name.