Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agoI think that MSVC wants the attrib before the symbol name
Martin Quinson [Fri, 18 Sep 2015 07:48:33 +0000 (09:48 +0200)]
I think that MSVC wants the attrib before the symbol name

4 years agoport XBT_ATTRIB_NORETURN to MSVC
Martin Quinson [Fri, 18 Sep 2015 07:48:06 +0000 (09:48 +0200)]
port XBT_ATTRIB_NORETURN to MSVC

4 years agos/_XBT_GNUC/XBT_ATTRIB/ as we will port them to MSVC
Martin Quinson [Thu, 17 Sep 2015 15:49:59 +0000 (17:49 +0200)]
s/_XBT_GNUC/XBT_ATTRIB/ as we will port them to MSVC

4 years agoMerge branch 'master' of github.com:mquinson/simgrid
Martin Quinson [Thu, 17 Sep 2015 12:12:12 +0000 (14:12 +0200)]
Merge branch 'master' of github.com:mquinson/simgrid

4 years ago[appveyor] disable x64 for now, it's borken
Martin Quinson [Thu, 17 Sep 2015 12:10:14 +0000 (14:10 +0200)]
[appveyor] disable x64 for now, it's borken

4 years ago[appveyor] try MinGW-w64 instead of MSys2
Martin Quinson [Tue, 15 Sep 2015 08:21:03 +0000 (10:21 +0200)]
[appveyor] try MinGW-w64 instead of MSys2

4 years agoDon't add git-only files in git-archive
Martin Quinson [Mon, 14 Sep 2015 19:20:08 +0000 (21:20 +0200)]
Don't add git-only files in git-archive

So, don't ignore them during the distcheck

4 years ago[appveyor] now that it does (not) compile with MSVC, try with MSYS2
Martin Quinson [Mon, 14 Sep 2015 14:34:45 +0000 (16:34 +0200)]
[appveyor] now that it does (not) compile with MSVC, try with MSYS2

4 years ago[appveyor] try to use boost 1.59 as the older ones don't recognize MSVC 2015
Martin Quinson [Mon, 14 Sep 2015 13:06:55 +0000 (15:06 +0200)]
[appveyor] try to use boost 1.59 as the older ones don't recognize MSVC 2015

4 years agoMSCV also define _THROW, so pick another name for our internal macro
Martin Quinson [Mon, 14 Sep 2015 12:18:02 +0000 (14:18 +0200)]
MSCV also define _THROW, so pick another name for our internal macro

4 years ago[MSVC] help that stupid parser: we are not closing any comment here...
Martin Quinson [Mon, 14 Sep 2015 10:17:00 +0000 (12:17 +0200)]
[MSVC] help that stupid parser: we are not closing any comment here...

-void NetworkConstantAction::setCategory(const char */*category*/)
+void NetworkConstantAction::setCategory(const char * /*category*/)

When seing char >>> */* blah */ <<<, MSVC spits the following message:
  warning C4138: '*/' found outside of comment

4 years ago[MSVC] strcasecmp has a weird name on non-POSIX systems
Martin Quinson [Mon, 14 Sep 2015 10:11:52 +0000 (12:11 +0200)]
[MSVC] strcasecmp has a weird name on non-POSIX systems

4 years agodelay the inclusion of standard headers so that _CRT_*_NO_WARNINGS gets defined on...
Martin Quinson [Mon, 14 Sep 2015 09:55:07 +0000 (11:55 +0200)]
delay the inclusion of standard headers so that _CRT_*_NO_WARNINGS gets defined on time

4 years ago[MSVC] cleaner solution to the lack of unistd for flex parsers
Martin Quinson [Mon, 14 Sep 2015 09:06:06 +0000 (11:06 +0200)]
[MSVC] cleaner solution to the lack of unistd for flex parsers

4 years agouse new/delete instead of xbt_new0/xbt_free on C++ objects
Martin Quinson [Mon, 14 Sep 2015 08:28:14 +0000 (10:28 +0200)]
use new/delete instead of xbt_new0/xbt_free on C++ objects

4 years ago[appveyor] disable mallocators on windows: they need __sync_lock_test_and_set
Martin Quinson [Mon, 14 Sep 2015 08:07:57 +0000 (10:07 +0200)]
[appveyor] disable mallocators on windows: they need __sync_lock_test_and_set

4 years agodefine isatty() on architectures that lack it
Martin Quinson [Mon, 14 Sep 2015 08:06:22 +0000 (10:06 +0200)]
define isatty() on architectures that lack it

4 years agoload system headers after simgrid ones
Martin Quinson [Mon, 14 Sep 2015 08:01:35 +0000 (10:01 +0200)]
load system headers after simgrid ones

This is an attempt to get xbt/base.h loaded before stdio.h, so that
_CRT_SECURE_NO_WARNINGS gets defined before the declaration of fopen

4 years ago[MSVC] 32bits/64bits is declared that way on this arch
Martin Quinson [Mon, 14 Sep 2015 07:24:14 +0000 (09:24 +0200)]
[MSVC] 32bits/64bits is declared that way on this arch

4 years agoregenerate maintainer-mode files
Martin Quinson [Mon, 14 Sep 2015 05:20:52 +0000 (07:20 +0200)]
regenerate maintainer-mode files

4 years agobummer
Martin Quinson [Mon, 14 Sep 2015 05:17:59 +0000 (07:17 +0200)]
bummer

4 years ago[MSCV] kill unused variable
Martin Quinson [Sun, 13 Sep 2015 22:51:44 +0000 (00:51 +0200)]
[MSCV] kill unused variable

4 years agoUse std::atomic instead of __sync_fetch_and_add for portability
Martin Quinson [Sun, 13 Sep 2015 22:50:06 +0000 (00:50 +0200)]
Use std::atomic instead of __sync_fetch_and_add for portability

4 years agotypo
Martin Quinson [Sun, 13 Sep 2015 22:38:10 +0000 (00:38 +0200)]
typo

4 years ago[MSVC] don't declare the 'xbt' log channel both extern and local in xbt_main.c
Martin Quinson [Sun, 13 Sep 2015 21:20:24 +0000 (23:20 +0200)]
[MSVC] don't declare the 'xbt' log channel both extern and local in xbt_main.c

4 years ago[MSCV] no UNISTD here
Martin Quinson [Sun, 13 Sep 2015 21:16:55 +0000 (23:16 +0200)]
[MSCV] no UNISTD here

4 years agodont load smpi.h when not needed: it breaks on MSVC
Martin Quinson [Sun, 13 Sep 2015 20:32:10 +0000 (22:32 +0200)]
dont load smpi.h when not needed: it breaks on MSVC

4 years ago[MSVC] silence some warnings
Martin Quinson [Sun, 13 Sep 2015 20:26:47 +0000 (22:26 +0200)]
[MSVC] silence some warnings

4 years agofix make distcheck
Martin Quinson [Sun, 13 Sep 2015 20:26:29 +0000 (22:26 +0200)]
fix make distcheck

4 years agobummer
Martin Quinson [Sun, 13 Sep 2015 19:59:38 +0000 (21:59 +0200)]
bummer

4 years agoCut the dirname in error messages so that the tests remain reproducible
Martin Quinson [Sun, 13 Sep 2015 19:52:20 +0000 (21:52 +0200)]
Cut the dirname in error messages so that the tests remain reproducible

This was already the case 2 hours ago, but now, do it in a portable way.

4 years agodocument last change
Martin Quinson [Sun, 13 Sep 2015 19:50:00 +0000 (21:50 +0200)]
document last change

4 years agoAdd xbt_basename to the xbt/file module
Martin Quinson [Sun, 13 Sep 2015 19:49:25 +0000 (21:49 +0200)]
Add xbt_basename to the xbt/file module

4 years agoNew XBT module: file
Martin Quinson [Sun, 13 Sep 2015 19:32:31 +0000 (21:32 +0200)]
New XBT module: file

It contains handy functions that don't exist on some systems.
For now: xbt_getline (moved from xbt/str) and xbt_dirname (new function).

4 years ago[appveyor] try MinGW-w64 instead of MSys2
Martin Quinson [Tue, 15 Sep 2015 08:21:03 +0000 (10:21 +0200)]
[appveyor] try MinGW-w64 instead of MSys2

4 years agoDon't add git-only files in git-archive
Martin Quinson [Mon, 14 Sep 2015 19:20:08 +0000 (21:20 +0200)]
Don't add git-only files in git-archive

So, don't ignore them during the distcheck

4 years ago[appveyor] now that it does (not) compile with MSVC, try with MSYS2
Martin Quinson [Mon, 14 Sep 2015 14:34:45 +0000 (16:34 +0200)]
[appveyor] now that it does (not) compile with MSVC, try with MSYS2

4 years ago[appveyor] try to use boost 1.59 as the older ones don't recognize MSVC 2015
Martin Quinson [Mon, 14 Sep 2015 13:06:55 +0000 (15:06 +0200)]
[appveyor] try to use boost 1.59 as the older ones don't recognize MSVC 2015

4 years agoMSCV also define _THROW, so pick another name for our internal macro
Martin Quinson [Mon, 14 Sep 2015 12:18:02 +0000 (14:18 +0200)]
MSCV also define _THROW, so pick another name for our internal macro

4 years ago[MSVC] help that stupid parser: we are not closing any comment here...
Martin Quinson [Mon, 14 Sep 2015 10:17:00 +0000 (12:17 +0200)]
[MSVC] help that stupid parser: we are not closing any comment here...

-void NetworkConstantAction::setCategory(const char */*category*/)
+void NetworkConstantAction::setCategory(const char * /*category*/)

When seing char >>> */* blah */ <<<, MSVC spits the following message:
  warning C4138: '*/' found outside of comment

4 years ago[Doc] Removed wrong link in deployment.doc
Christian Heinrich [Sat, 12 Sep 2015 18:14:24 +0000 (20:14 +0200)]
[Doc] Removed wrong link in deployment.doc

4 years ago[MSVC] strcasecmp has a weird name on non-POSIX systems
Martin Quinson [Mon, 14 Sep 2015 10:11:52 +0000 (12:11 +0200)]
[MSVC] strcasecmp has a weird name on non-POSIX systems

4 years ago[mc] Fix SimGridMC when SMPI is disabled
Gabriel Corona [Mon, 14 Sep 2015 10:09:31 +0000 (12:09 +0200)]
[mc] Fix SimGridMC when SMPI is disabled

Disable parts of the code which use SMPI symbols and are useless if we
don't have SMPI.

4 years agodelay the inclusion of standard headers so that _CRT_*_NO_WARNINGS gets defined on...
Martin Quinson [Mon, 14 Sep 2015 09:55:07 +0000 (11:55 +0200)]
delay the inclusion of standard headers so that _CRT_*_NO_WARNINGS gets defined on time

4 years ago[MSVC] cleaner solution to the lack of unistd for flex parsers
Martin Quinson [Mon, 14 Sep 2015 09:06:06 +0000 (11:06 +0200)]
[MSVC] cleaner solution to the lack of unistd for flex parsers

4 years agouse new/delete instead of xbt_new0/xbt_free on C++ objects
Martin Quinson [Mon, 14 Sep 2015 08:28:14 +0000 (10:28 +0200)]
use new/delete instead of xbt_new0/xbt_free on C++ objects

4 years ago[appveyor] disable mallocators on windows: they need __sync_lock_test_and_set
Martin Quinson [Mon, 14 Sep 2015 08:07:57 +0000 (10:07 +0200)]
[appveyor] disable mallocators on windows: they need __sync_lock_test_and_set

4 years agodefine isatty() on architectures that lack it
Martin Quinson [Mon, 14 Sep 2015 08:06:22 +0000 (10:06 +0200)]
define isatty() on architectures that lack it

4 years agoload system headers after simgrid ones
Martin Quinson [Mon, 14 Sep 2015 08:01:35 +0000 (10:01 +0200)]
load system headers after simgrid ones

This is an attempt to get xbt/base.h loaded before stdio.h, so that
_CRT_SECURE_NO_WARNINGS gets defined before the declaration of fopen

4 years ago[MSVC] 32bits/64bits is declared that way on this arch
Martin Quinson [Mon, 14 Sep 2015 07:24:14 +0000 (09:24 +0200)]
[MSVC] 32bits/64bits is declared that way on this arch

4 years agoregenerate maintainer-mode files
Martin Quinson [Mon, 14 Sep 2015 05:20:52 +0000 (07:20 +0200)]
regenerate maintainer-mode files

4 years agobummer
Martin Quinson [Mon, 14 Sep 2015 05:17:59 +0000 (07:17 +0200)]
bummer

4 years ago[MSCV] kill unused variable
Martin Quinson [Sun, 13 Sep 2015 22:51:44 +0000 (00:51 +0200)]
[MSCV] kill unused variable

4 years agoUse std::atomic instead of __sync_fetch_and_add for portability
Martin Quinson [Sun, 13 Sep 2015 22:50:06 +0000 (00:50 +0200)]
Use std::atomic instead of __sync_fetch_and_add for portability

4 years agotypo
Martin Quinson [Sun, 13 Sep 2015 22:38:10 +0000 (00:38 +0200)]
typo

4 years ago[MSVC] don't declare the 'xbt' log channel both extern and local in xbt_main.c
Martin Quinson [Sun, 13 Sep 2015 21:20:24 +0000 (23:20 +0200)]
[MSVC] don't declare the 'xbt' log channel both extern and local in xbt_main.c

4 years ago[MSCV] no UNISTD here
Martin Quinson [Sun, 13 Sep 2015 21:16:55 +0000 (23:16 +0200)]
[MSCV] no UNISTD here

4 years agodont load smpi.h when not needed: it breaks on MSVC
Martin Quinson [Sun, 13 Sep 2015 20:32:10 +0000 (22:32 +0200)]
dont load smpi.h when not needed: it breaks on MSVC

4 years ago[MSVC] silence some warnings
Martin Quinson [Sun, 13 Sep 2015 20:26:47 +0000 (22:26 +0200)]
[MSVC] silence some warnings

4 years agofix make distcheck
Martin Quinson [Sun, 13 Sep 2015 20:26:29 +0000 (22:26 +0200)]
fix make distcheck

4 years agobummer
Martin Quinson [Sun, 13 Sep 2015 19:59:38 +0000 (21:59 +0200)]
bummer

4 years agoCut the dirname in error messages so that the tests remain reproducible
Martin Quinson [Sun, 13 Sep 2015 19:52:20 +0000 (21:52 +0200)]
Cut the dirname in error messages so that the tests remain reproducible

This was already the case 2 hours ago, but now, do it in a portable way.

4 years agodocument last change
Martin Quinson [Sun, 13 Sep 2015 19:50:00 +0000 (21:50 +0200)]
document last change

4 years agoAdd xbt_basename to the xbt/file module
Martin Quinson [Sun, 13 Sep 2015 19:49:25 +0000 (21:49 +0200)]
Add xbt_basename to the xbt/file module

4 years agoNew XBT module: file
Martin Quinson [Sun, 13 Sep 2015 19:32:31 +0000 (21:32 +0200)]
New XBT module: file

It contains handy functions that don't exist on some systems.
For now: xbt_getline (moved from xbt/str) and xbt_dirname (new function).

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sun, 13 Sep 2015 15:45:00 +0000 (17:45 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years ago[appveyor] disable SMPI on windows for now
Martin Quinson [Sun, 13 Sep 2015 15:44:47 +0000 (17:44 +0200)]
[appveyor] disable SMPI on windows for now

4 years agodont' use basename when not mandatory. Doesn't exist on windows
Martin Quinson [Sun, 13 Sep 2015 13:47:37 +0000 (15:47 +0200)]
dont' use basename when not mandatory. Doesn't exist on windows

4 years agocosmetics
Martin Quinson [Sun, 13 Sep 2015 13:44:14 +0000 (15:44 +0200)]
cosmetics

4 years ago[MSCV] sys/time.h does not exist here
Martin Quinson [Sun, 13 Sep 2015 13:36:27 +0000 (15:36 +0200)]
[MSCV] sys/time.h does not exist here

4 years agothere is no dirname() windows
Martin Quinson [Sun, 13 Sep 2015 13:33:43 +0000 (15:33 +0200)]
there is no dirname() windows

4 years ago[MSVC] Disable raw contextes: inline assembler syntax is different here
Martin Quinson [Sun, 13 Sep 2015 13:14:54 +0000 (15:14 +0200)]
[MSVC]¬†Disable raw contextes: inline assembler syntax is different here

4 years ago[MSVC] correct support for thread-local storage
Martin Quinson [Sun, 13 Sep 2015 13:05:59 +0000 (15:05 +0200)]
[MSVC] correct support for thread-local storage

4 years ago[MSVC] no unistd here
Martin Quinson [Sun, 13 Sep 2015 12:57:48 +0000 (14:57 +0200)]
[MSVC] no unistd here

4 years agoremove an unused header that is not found on windows
Martin Quinson [Sun, 13 Sep 2015 12:49:40 +0000 (14:49 +0200)]
remove an unused header that is not found on windows

4 years agoSearch a better location for MSVC definition intended for any file
Martin Quinson [Sun, 13 Sep 2015 12:15:33 +0000 (14:15 +0200)]
Search a better location for MSVC definition intended for any file

4 years ago[MSVC] disable all 'POSIX name is deprecated' at once
Martin Quinson [Sun, 13 Sep 2015 10:41:53 +0000 (12:41 +0200)]
[MSVC] disable all 'POSIX name is deprecated' at once

4 years ago[MSVC] don't whine on fopen being insecure
Martin Quinson [Sat, 12 Sep 2015 23:17:30 +0000 (01:17 +0200)]
[MSVC] don't whine on fopen being insecure

4 years ago[MSVC] unistd.h does not exist on windows
Martin Quinson [Sat, 12 Sep 2015 23:08:23 +0000 (01:08 +0200)]
[MSVC] unistd.h does not exist on windows

4 years ago[MSVC] POSIX is not deprecated yet, you bummer
Martin Quinson [Sat, 12 Sep 2015 23:01:59 +0000 (01:01 +0200)]
[MSVC] POSIX is not deprecated yet, you bummer

4 years ago[MSVC] use our extended xbt_malloc, but don't choke on 'strdup' that should read...
Martin Quinson [Sat, 12 Sep 2015 22:46:10 +0000 (00:46 +0200)]
[MSVC] use our extended xbt_malloc, but don't choke on 'strdup' that should read '_strdup'

4 years ago[MSVC] define ssize_t (sick sad compiler)
Martin Quinson [Sat, 12 Sep 2015 21:41:38 +0000 (23:41 +0200)]
[MSVC] define ssize_t (sick sad compiler)

4 years agocosmetics in the uglyness that MSVC requires
Martin Quinson [Sat, 12 Sep 2015 21:31:43 +0000 (23:31 +0200)]
cosmetics in the uglyness that MSVC requires

Dupplicating code is ugly, but MSVC cannot have macros passing VA_ARG
around. Sorry.

4 years agoMSVC don't like macros that pass VA_ARGS to each other
Martin Quinson [Sat, 12 Sep 2015 21:17:31 +0000 (23:17 +0200)]
MSVC don't like macros that pass VA_ARGS to each other

4 years ago[Doc] Updated deployment description file.
Christian Heinrich [Sat, 12 Sep 2015 18:09:44 +0000 (20:09 +0200)]
[Doc] Updated deployment description file.

4 years ago[Doc] Updated index.doc
Christian Heinrich [Sat, 12 Sep 2015 16:46:31 +0000 (18:46 +0200)]
[Doc] Updated index.doc

4 years ago[Doc] Updated deployment.doc
Christian Heinrich [Fri, 11 Sep 2015 20:28:14 +0000 (22:28 +0200)]
[Doc] Updated deployment.doc

4 years ago[Doc] Added TOC to options.doc and introduction.doc
Christian Heinrich [Fri, 11 Sep 2015 11:48:33 +0000 (13:48 +0200)]
[Doc] Added TOC to options.doc and introduction.doc

4 years ago[Doc] Improved TOC styles.
Christian Heinrich [Fri, 11 Sep 2015 11:47:29 +0000 (13:47 +0200)]
[Doc] Improved TOC styles.

4 years ago[Doc] Started cleanup of examples.doc
Christian Heinrich [Fri, 11 Sep 2015 11:00:47 +0000 (13:00 +0200)]
[Doc] Started cleanup of examples.doc

4 years ago[Doc] Renamed use.doc to examples.doc
Christian Heinrich [Fri, 11 Sep 2015 11:00:27 +0000 (13:00 +0200)]
[Doc] Renamed use.doc to examples.doc

4 years ago[Doc] Updated info on our website
Christian Heinrich [Thu, 10 Sep 2015 19:16:48 +0000 (21:16 +0200)]
[Doc] Updated info on our website

4 years ago[Doc] Included image for storage doc
Christian Heinrich [Thu, 10 Sep 2015 13:44:28 +0000 (15:44 +0200)]
[Doc] Included image for storage doc

4 years ago[Doc] Fixed errors in platform.doc
Christian Heinrich [Thu, 10 Sep 2015 11:53:16 +0000 (13:53 +0200)]
[Doc] Fixed errors in platform.doc

4 years ago[MSVC] manually define HAVE_VA_COPY
Martin Quinson [Sat, 12 Sep 2015 13:34:15 +0000 (15:34 +0200)]
[MSVC] manually define HAVE_VA_COPY

4 years agokill the useless win32/config.h
Martin Quinson [Sat, 12 Sep 2015 13:10:59 +0000 (15:10 +0200)]
kill the useless win32/config.h

4 years ago[MSVC] VA_COPY is defined
Martin Quinson [Sat, 12 Sep 2015 09:35:12 +0000 (11:35 +0200)]
[MSVC] VA_COPY is defined

4 years agodon't choke on MSVC; cosmetics in cmake output
Martin Quinson [Sat, 12 Sep 2015 09:08:56 +0000 (11:08 +0200)]
don't choke on MSVC; cosmetics in cmake output

4 years ago[appveyor] verbose msbuild messages are really useless
Martin Quinson [Fri, 11 Sep 2015 22:05:08 +0000 (00:05 +0200)]
[appveyor] verbose msbuild messages are really useless

4 years ago[MSVC] don't load system headers within the extern "C" block
Martin Quinson [Fri, 11 Sep 2015 21:32:53 +0000 (23:32 +0200)]
[MSVC] don't load system headers within the extern "C" block

huhu, if this commit helps, windows is definitely my favorite porter puzzle