Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
16 years agoCheck whether the readv function is available or not
mquinson [Thu, 8 Sep 2005 14:40:55 +0000 (14:40 +0000)]
Check whether the readv function is available or not

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1697 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoFixup the context build
mquinson [Thu, 8 Sep 2005 08:06:26 +0000 (08:06 +0000)]
Fixup the context build

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1696 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoThe buffered transport is now RL only (will allow a zero-copy version)
mquinson [Mon, 5 Sep 2005 22:55:04 +0000 (22:55 +0000)]
The buffered transport is now RL only (will allow a zero-copy version)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1695 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoTweak gras_trp_*_recv() prototype. This is now (sock, char*data,int size, int bufsize...
mquinson [Mon, 5 Sep 2005 22:46:23 +0000 (22:46 +0000)]
Tweak gras_trp_*_recv() prototype. This is now (sock, char*data,int size, int bufsize). Size is the data I absolutely want to get, and buffsize is the size of my buffer in which I copy them. This allows the buffer transport to get more data than mandatory of tcp and file transports (thus minimizing the call to the syscall read() without having to separately exchange the buffer size)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1694 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoSG don't get buffered by default (since only measurement sockets use it now)
mquinson [Mon, 5 Sep 2005 22:39:19 +0000 (22:39 +0000)]
SG don't get buffered by default (since only measurement sockets use it now)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1693 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoAvoid a useless bprintf (and test whether NULL msg exceptions are ok)
mquinson [Mon, 5 Sep 2005 22:38:24 +0000 (22:38 +0000)]
Avoid a useless bprintf (and test whether NULL msg exceptions are ok)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1692 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agomsg now has a RL and a SG specific files
mquinson [Mon, 5 Sep 2005 22:37:51 +0000 (22:37 +0000)]
msg now has a RL and a SG specific files

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1691 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoA new little function I did need
mquinson [Mon, 5 Sep 2005 22:37:14 +0000 (22:37 +0000)]
A new little function I did need

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1690 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agomake sure no variable seem to be used uninitialized to this stupid gcc which gets...
mquinson [Mon, 5 Sep 2005 22:36:25 +0000 (22:36 +0000)]
make sure no variable seem to be used uninitialized to this stupid gcc which gets fooled by TRY/CATCH blocks

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1689 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoTest gras_datadesc_copy(); make sure no variable seem to be used uninitialized to...
mquinson [Mon, 5 Sep 2005 22:35:30 +0000 (22:35 +0000)]
Test gras_datadesc_copy(); make sure no variable seem to be used uninitialized to gcc; reorder the tests to test the easier first

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1688 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoMake sure that the code still compiles with the freaking paranoid gcc warning options...
mquinson [Mon, 5 Sep 2005 22:32:30 +0000 (22:32 +0000)]
Make sure that the code still compiles with the freaking paranoid gcc warning options, now that they can be turned on again (mainly assigning dummy values to variables which get initialised within a TRY/CATCH block)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1687 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoThis variable is used only with contexts, not with pthreads
mquinson [Mon, 5 Sep 2005 22:31:47 +0000 (22:31 +0000)]
This variable is used only with contexts, not with pthreads

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1686 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agotypo
mquinson [Mon, 5 Sep 2005 22:18:56 +0000 (22:18 +0000)]
typo

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1685 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agocosmetics
mquinson [Mon, 5 Sep 2005 22:02:30 +0000 (22:02 +0000)]
cosmetics

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1684 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoUse gras_datadesc_copy() to exchange messages on top of SG
mquinson [Mon, 5 Sep 2005 22:01:36 +0000 (22:01 +0000)]
Use gras_datadesc_copy() to exchange messages on top of SG

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1683 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoMove msg_send/recv to a RL specific file, so that we can provide a SG specific versio...
mquinson [Mon, 5 Sep 2005 21:53:11 +0000 (21:53 +0000)]
Move msg_send/recv to a RL specific file, so that we can provide a SG specific version (and do so)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1682 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoAllow exceptions with NULL msg
mquinson [Mon, 5 Sep 2005 21:45:38 +0000 (21:45 +0000)]
Allow exceptions with NULL msg

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1681 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoAllow exception with NULL msg
mquinson [Mon, 5 Sep 2005 21:45:15 +0000 (21:45 +0000)]
Allow exception with NULL msg

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1680 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoImplement gras_datadesc_copy
mquinson [Mon, 5 Sep 2005 14:06:51 +0000 (14:06 +0000)]
Implement gras_datadesc_copy

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1679 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoImplement gras_datadesc_copy. Was actually easier than expected, that's a really...
mquinson [Mon, 5 Sep 2005 14:06:22 +0000 (14:06 +0000)]
Implement gras_datadesc_copy. Was actually easier than expected, that's a really good news

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1678 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agogetting rid of memleaks.
alegrand [Tue, 30 Aug 2005 21:35:03 +0000 (21:35 +0000)]
getting rid of memleaks.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1677 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoImplemented the MSG_task_get_source() function. (See ChangeLog)
casanova [Tue, 30 Aug 2005 20:48:40 +0000 (20:48 +0000)]
Implemented the MSG_task_get_source() function. (See ChangeLog)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1676 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoWrite a changelog entry for Arnaud, since he keeps forgetting. Tss. :)
mquinson [Tue, 30 Aug 2005 08:13:48 +0000 (08:13 +0000)]
Write a changelog entry for Arnaud, since he keeps forgetting. Tss. :)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1675 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoRemoved awful bugs noticed by Henri. And this code is 5 years old... can you
alegrand [Mon, 29 Aug 2005 17:02:41 +0000 (17:02 +0000)]
Removed awful bugs noticed by Henri. And this code is 5 years old... can you
believe it ? :)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1674 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoDocumentation of xbt_log module unmercifully reworked
mquinson [Sat, 27 Aug 2005 21:56:33 +0000 (21:56 +0000)]
Documentation of xbt_log module unmercifully reworked

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1673 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoAdd more checkings...
alegrand [Sat, 27 Aug 2005 05:29:19 +0000 (05:29 +0000)]
Add more checkings...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1672 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoUpdate the changelog
alegrand [Fri, 26 Aug 2005 19:29:14 +0000 (19:29 +0000)]
Update the changelog

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1671 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoAdditionnal checks for Henri ;)
alegrand [Fri, 26 Aug 2005 19:28:58 +0000 (19:28 +0000)]
Additionnal checks for Henri ;)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1670 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agofixing the doc...
alegrand [Fri, 26 Aug 2005 07:54:03 +0000 (07:54 +0000)]
fixing the doc...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1669 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoDeprecating stupidly named functions...
alegrand [Fri, 26 Aug 2005 05:58:41 +0000 (05:58 +0000)]
Deprecating stupidly named functions...

  * xbt_fifo_newitem: Use xbt_fifo_new_item instead.
  * xbt_fifo_freeitem: Use xbt_fifo_free_item instead.
  * xbt_fifo_getFirstItem: Use xbt_fifo_get_first_item instead.
  * xbt_fifo_getNextItem: Use xbt_fifo_get_next_item instead.
  * xbt_fifo_getPrevItem: Use xbt_fifo_get_prev_item instead.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1668 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agofixing the doc...
alegrand [Fri, 26 Aug 2005 01:43:22 +0000 (01:43 +0000)]
fixing the doc...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1667 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoI think this is an obsolete section.
alegrand [Thu, 25 Aug 2005 23:36:43 +0000 (23:36 +0000)]
I think this is an obsolete section.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1666 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoStupid me. I hadn't noticed the xbt_dict_get_or_null function...
alegrand [Thu, 25 Aug 2005 23:36:15 +0000 (23:36 +0000)]
Stupid me. I hadn't noticed the xbt_dict_get_or_null function...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1665 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoI had forgotten to commit these files at release time...
alegrand [Thu, 25 Aug 2005 22:15:49 +0000 (22:15 +0000)]
I had forgotten to commit these files at release time...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1664 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoCatch not_found_error. I'm just restoring the previous semantic... We have to decide...
alegrand [Thu, 25 Aug 2005 22:14:38 +0000 (22:14 +0000)]
Catch not_found_error. I'm just restoring the previous semantic... We have to decide whether this should be done here or by people calling this function... The nice point with letting others do it is that it enables to store NULL pointers in a dict.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1663 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoa cast to make it compile... Martin, that's your part of the code. I don't know if...
alegrand [Thu, 25 Aug 2005 22:11:47 +0000 (22:11 +0000)]
a cast to make it compile... Martin, that's your part of the code. I don't know if I made the right choice...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1662 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agotypos + update
alegrand [Thu, 25 Aug 2005 22:11:02 +0000 (22:11 +0000)]
typos + update

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1661 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoReplaced all task->name by MSG_task_get_name(task)
casanova [Thu, 25 Aug 2005 21:26:36 +0000 (21:26 +0000)]
Replaced all task->name by MSG_task_get_name(task)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1660 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoFixed spelling and grammar in some comments
casanova [Wed, 24 Aug 2005 20:29:43 +0000 (20:29 +0000)]
Fixed spelling and grammar in some comments

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1659 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoupdate the changelog
alegrand [Tue, 16 Aug 2005 21:55:03 +0000 (21:55 +0000)]
update the changelog

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1658 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoinclude the right files
alegrand [Tue, 16 Aug 2005 21:51:32 +0000 (21:51 +0000)]
include the right files

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1657 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoregenerate the lexer
alegrand [Tue, 16 Aug 2005 21:51:04 +0000 (21:51 +0000)]
regenerate the lexer

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1656 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agomoving public parts to public places and generating things to the right places
alegrand [Tue, 16 Aug 2005 21:50:34 +0000 (21:50 +0000)]
moving public parts to public places and generating things to the right places

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1655 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agominor fix
alegrand [Tue, 16 Aug 2005 21:38:22 +0000 (21:38 +0000)]
minor fix

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1654 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agorenaming
alegrand [Tue, 16 Aug 2005 20:43:11 +0000 (20:43 +0000)]
renaming

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1653 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agomoving stuff to enable surf_parser hijacking
alegrand [Tue, 16 Aug 2005 20:41:28 +0000 (20:41 +0000)]
moving stuff to enable surf_parser hijacking

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1652 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoBypassing the XML parser. Need to fix include directories to make it work.
alegrand [Tue, 16 Aug 2005 19:56:06 +0000 (19:56 +0000)]
Bypassing the XML parser. Need to fix include directories to make it work.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1651 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoPreparing surf_parser to be hijacked
alegrand [Tue, 16 Aug 2005 19:05:23 +0000 (19:05 +0000)]
Preparing surf_parser to be hijacked

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1650 48e7efb5-ca39-0410-a469-dd3cf9ba447f

16 years agoPreparing surf_parser to be hijacked
alegrand [Tue, 16 Aug 2005 18:51:50 +0000 (18:51 +0000)]
Preparing surf_parser to be hijacked

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1649 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agomoving to 2.97
alegrand [Tue, 9 Aug 2005 20:17:45 +0000 (20:17 +0000)]
moving to 2.97

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1648 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agostupid me
alegrand [Tue, 9 Aug 2005 17:25:46 +0000 (17:25 +0000)]
stupid me

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1646 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoMake the list of functions, types, ...
alegrand [Tue, 9 Aug 2005 17:14:27 +0000 (17:14 +0000)]
Make the list of functions, types, ...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1645 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agooops. forgot a msg_getClock...
alegrand [Tue, 9 Aug 2005 06:41:18 +0000 (06:41 +0000)]
oops. forgot a msg_getClock...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1644 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoversion 2.96
alegrand [Tue, 9 Aug 2005 01:53:46 +0000 (01:53 +0000)]
version 2.96

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1643 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agogetting rid of deprecated functions
alegrand [Tue, 9 Aug 2005 00:26:42 +0000 (00:26 +0000)]
getting rid of deprecated functions

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1642 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoadding a priority mechanism
alegrand [Tue, 9 Aug 2005 00:25:38 +0000 (00:25 +0000)]
adding a priority mechanism

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1641 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agogetting rid of MSG_getClock
alegrand [Mon, 8 Aug 2005 20:54:30 +0000 (20:54 +0000)]
getting rid of MSG_getClock

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1640 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoadd a list of all functions, types and macros to the documentation
alegrand [Mon, 8 Aug 2005 20:09:58 +0000 (20:09 +0000)]
add a list of all functions, types and macros to the documentation

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1639 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agokill dead stuff
mquinson [Mon, 8 Aug 2005 19:59:09 +0000 (19:59 +0000)]
kill dead stuff

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1638 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoof course, xlC does not like gcc attributes. And since this is a leftover, don't...
mquinson [Mon, 8 Aug 2005 00:02:10 +0000 (00:02 +0000)]
of course, xlC does not like gcc attributes. And since this is a leftover, don't go the hard autotoys way.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1637 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoxlC dont like having a return <value> in a void function. Even if the value is
mquinson [Sun, 7 Aug 2005 23:29:01 +0000 (23:29 +0000)]
xlC dont like having a return <value> in a void function. Even if the value is
void itself.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1636 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoI've lost access to this one, unfortunately
mquinson [Sun, 7 Aug 2005 23:14:28 +0000 (23:14 +0000)]
I've lost access to this one, unfortunately

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1635 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agodon't include execinfo.h directly, but using portable.h; only use backtrace() when...
mquinson [Sun, 7 Aug 2005 23:11:36 +0000 (23:11 +0000)]
don't include execinfo.h directly, but using portable.h; only use backtrace() when it's there and provide a dummy implementation so that things work without it (of course, no backtrace will get displayed on, say, AIX)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1634 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoload execinfo.h when available
mquinson [Sun, 7 Aug 2005 23:07:56 +0000 (23:07 +0000)]
load execinfo.h when available

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1633 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoDo not include execinfo.h directly since we cannot be sure that it's here. Paste...
mquinson [Sun, 7 Aug 2005 23:03:38 +0000 (23:03 +0000)]
Do not include execinfo.h directly since we cannot be sure that it's here. Paste the relevant part here instead (plus do not do any assertion about available exception propagation mecanism so far)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1632 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoOnly pass '-Wl,--export-dynamic' (we need to get neat backtraces in exceptions) to...
mquinson [Sun, 7 Aug 2005 23:01:38 +0000 (23:01 +0000)]
Only pass '-Wl,--export-dynamic' (we need to get neat backtraces in exceptions) to GNU ld

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1631 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoCheck for execinfo.h, it's not always there (actually, only under linux)
mquinson [Sun, 7 Aug 2005 23:00:50 +0000 (23:00 +0000)]
Check for execinfo.h, it's not always there (actually, only under linux)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1630 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoSeed exenv with $SG_TEST_EXENV for mass-valgrinding
mquinson [Sun, 7 Aug 2005 20:18:35 +0000 (20:18 +0000)]
Seed exenv with $SG_TEST_EXENV for mass-valgrinding

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1629 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoFix previous commit: don't forget about valgrind when running the test following...
mquinson [Sun, 7 Aug 2005 19:50:10 +0000 (19:50 +0000)]
Fix previous commit: don't forget about valgrind when running the test following dict_crash (for which valgrind is disabled)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1628 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoUniformize the test_{sg,rl} scripts, rename the wine variable to exenv (excution...
mquinson [Sun, 7 Aug 2005 19:48:56 +0000 (19:48 +0000)]
Uniformize the test_{sg,rl} scripts, rename the wine variable to exenv (excution environment) so that people don't think we try to run wine when it's defined to '', make sure we can control the exenv from the environment by setting the SG_TEST_EXENV environment variable (to run everythin within valgrind, for example)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1627 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agodo not valgrind dict_crash, it's ways too big (and it's clean when dict_usage is)
mquinson [Sun, 7 Aug 2005 19:02:38 +0000 (19:02 +0000)]
do not valgrind dict_crash, it's ways too big (and it's clean when dict_usage is)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1626 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoDo not register broken plugins
mquinson [Sun, 7 Aug 2005 18:56:35 +0000 (18:56 +0000)]
Do not register broken plugins

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1625 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoActually obey the key_len argument in exception messages
mquinson [Sun, 7 Aug 2005 18:54:41 +0000 (18:54 +0000)]
Actually obey the key_len argument in exception messages

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1624 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agos/surf_finalize/surf_exit/ for uniformity with other modules
mquinson [Sun, 7 Aug 2005 17:49:44 +0000 (17:49 +0000)]
s/surf_finalize/surf_exit/ for uniformity with other modules

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1623 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoAlways traverse the head, not only on error catching
mquinson [Sun, 7 Aug 2005 17:48:58 +0000 (17:48 +0000)]
Always traverse the head, not only on error catching

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1622 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agos/mismatch_error/not_found_error/ when needed
mquinson [Sun, 7 Aug 2005 17:48:38 +0000 (17:48 +0000)]
s/mismatch_error/not_found_error/ when needed

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1621 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoFix memleaks by calling surf_exit when needed + minor cleanups
mquinson [Sun, 7 Aug 2005 17:47:59 +0000 (17:47 +0000)]
Fix memleaks by calling surf_exit when needed + minor cleanups

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1620 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoAvoid to use the data after freeing them, even in error reporting
mquinson [Sun, 7 Aug 2005 17:46:40 +0000 (17:46 +0000)]
Avoid to use the data after freeing them, even in error reporting

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1619 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoFix a leak
mquinson [Sun, 7 Aug 2005 17:45:31 +0000 (17:45 +0000)]
Fix a leak

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1618 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agos/surf_finalize/surf_exit/ for uniformity with other modules; do call xbt_exit from...
mquinson [Sun, 7 Aug 2005 17:44:54 +0000 (17:44 +0000)]
s/surf_finalize/surf_exit/ for uniformity with other modules; do call xbt_exit from surf_exit

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1617 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agos/surf_finalize/surf_exit/ for uniformity with other modules
mquinson [Sun, 7 Aug 2005 17:44:26 +0000 (17:44 +0000)]
s/surf_finalize/surf_exit/ for uniformity with other modules

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1616 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoUps, you may need this
mquinson [Sun, 7 Aug 2005 17:41:50 +0000 (17:41 +0000)]
Ups, you may need this

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1615 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoKill the xbt_memdup inline function since it's not exactly what we need, and
mquinson [Sun, 7 Aug 2005 17:26:10 +0000 (17:26 +0000)]
Kill the xbt_memdup inline function since it's not exactly what we need, and
changing its semantic without changing its name would be cumbersome.

Fix a long standing bug with by one offsets reported by valgrind around dicts.
YEAH. At least. I'm tracking this one since a *long* time.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1614 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoFix a leak
mquinson [Sun, 7 Aug 2005 17:12:11 +0000 (17:12 +0000)]
Fix a leak

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1613 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agofix memleaks
mquinson [Sun, 7 Aug 2005 17:01:13 +0000 (17:01 +0000)]
fix memleaks

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1612 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoLast bits of convertion from xbt_error_t to exceptions. Some more cleanups (mainly...
mquinson [Sun, 7 Aug 2005 16:38:23 +0000 (16:38 +0000)]
Last bits of convertion from xbt_error_t to exceptions. Some more cleanups (mainly killing dead code encompassed between #if 0/#endif). I now fight to get it running on remote hosts, and I'm ready for SG3 (at least a release candidate)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1611 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoKill another xbt_error_t
mquinson [Sun, 7 Aug 2005 15:18:18 +0000 (15:18 +0000)]
Kill another xbt_error_t

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1610 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoKill some more xbt_error_t
mquinson [Sun, 7 Aug 2005 15:11:51 +0000 (15:11 +0000)]
Kill some more xbt_error_t

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1609 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoThis header is now useless (yeah)
mquinson [Sun, 7 Aug 2005 15:06:55 +0000 (15:06 +0000)]
This header is now useless (yeah)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1608 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoMore xbt_error_t eradication; use xbt_assert where we mean it
mquinson [Sun, 7 Aug 2005 15:05:58 +0000 (15:05 +0000)]
More xbt_error_t eradication; use xbt_assert where we mean it

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1607 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoSome more xbt_error_t eradication
mquinson [Sun, 7 Aug 2005 15:02:46 +0000 (15:02 +0000)]
Some more xbt_error_t eradication
More precise error catching for not catching unrelated stuff

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1606 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoMove the asserts out of error.h in order to kill it afterward
mquinson [Sun, 7 Aug 2005 14:33:56 +0000 (14:33 +0000)]
Move the asserts out of error.h in order to kill it afterward

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1605 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoMissing header
mquinson [Sun, 7 Aug 2005 14:21:27 +0000 (14:21 +0000)]
Missing header

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1604 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agochange mismatch_error to not_found_error where appropriate
mquinson [Sun, 7 Aug 2005 14:20:59 +0000 (14:20 +0000)]
change mismatch_error to not_found_error where appropriate

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1603 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agochange mismatch_error to not_found_error where appropriate
mquinson [Sun, 7 Aug 2005 14:11:09 +0000 (14:11 +0000)]
change mismatch_error to not_found_error where appropriate

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1602 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoMissing header
mquinson [Sun, 7 Aug 2005 14:10:19 +0000 (14:10 +0000)]
Missing header

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1601 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoSome more xbt_error_t eradication; change mismatch_error to not_found_error where...
mquinson [Sun, 7 Aug 2005 14:09:29 +0000 (14:09 +0000)]
Some more xbt_error_t eradication; change mismatch_error to not_found_error where appropriate

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1600 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoProvide all the needed args in format
mquinson [Sun, 7 Aug 2005 14:06:59 +0000 (14:06 +0000)]
Provide all the needed args in format

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1599 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoAdd a new error category: not_found. It used to be in mismatch, but almost all errors...
mquinson [Sun, 7 Aug 2005 14:05:45 +0000 (14:05 +0000)]
Add a new error category: not_found. It used to be in mismatch, but almost all errors were reported in this category; fix a typo

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1598 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoMore xbt_error_t eradication
mquinson [Sun, 7 Aug 2005 14:04:53 +0000 (14:04 +0000)]
More xbt_error_t eradication

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1597 48e7efb5-ca39-0410-a469-dd3cf9ba447f