Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agoFinish the xbt_error_t eradication. As side effect, it does work again.
mquinson [Sun, 7 Aug 2005 12:26:01 +0000 (12:26 +0000)]
Finish the xbt_error_t eradication. As side effect, it does work again.

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

14 years agoDocument changes even before there are actually finished
mquinson [Sun, 7 Aug 2005 12:03:17 +0000 (12:03 +0000)]
Document changes even before there are actually finished

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

14 years agoMake sure the lens dynar always gets cleaned, even on exception
mquinson [Sun, 7 Aug 2005 11:04:24 +0000 (11:04 +0000)]
Make sure the lens dynar always gets cleaned, even on exception

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

14 years agoUse xbt_dict_get_or_null to avoid the exception madness
mquinson [Sun, 7 Aug 2005 10:59:43 +0000 (10:59 +0000)]
Use xbt_dict_get_or_null to avoid the exception madness

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

14 years agoUse xbt_dict_get_or_null since it's what we mean.
mquinson [Sun, 7 Aug 2005 10:53:33 +0000 (10:53 +0000)]
Use xbt_dict_get_or_null since it's what we mean.

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

14 years agoSimplify a bit exception handling, plus minor cleanups
mquinson [Sun, 7 Aug 2005 09:31:33 +0000 (09:31 +0000)]
Simplify a bit exception handling, plus minor cleanups

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

14 years ago- Found a strdup left over. Use xbt_strdup instead.
mquinson [Sun, 7 Aug 2005 09:25:05 +0000 (09:25 +0000)]
- Found a strdup left over. Use xbt_strdup instead.
- Simplify the exception handling code, even by using dict_get_or_null when
  it's what we mean.

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

14 years agoSimplify a bit the way the exceptions are handled
mquinson [Sun, 7 Aug 2005 09:19:59 +0000 (09:19 +0000)]
Simplify a bit the way the exceptions are handled

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

14 years agoDo not specify to gcc that this static function may be unused. Instead, we now
mquinson [Sun, 7 Aug 2005 09:13:39 +0000 (09:13 +0000)]
Do not specify to gcc that this static function may be unused. Instead, we now
compile (again) with -Wno-unused-function

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

14 years agoAnd now, a version which compile. Next time, a version which works. I'm gonna blow...
mquinson [Sun, 7 Aug 2005 09:12:35 +0000 (09:12 +0000)]
And now, a version which compile. Next time, a version which works. I'm gonna blow your mailbox >:)

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

14 years agoKill dead cruft
mquinson [Sun, 7 Aug 2005 09:06:11 +0000 (09:06 +0000)]
Kill dead cruft

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

14 years agoSome cleanups, plus add some details to an error message
mquinson [Sun, 7 Aug 2005 09:04:02 +0000 (09:04 +0000)]
Some cleanups, plus add some details to an error message

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

14 years agokill dead cruft
mquinson [Sun, 7 Aug 2005 09:02:18 +0000 (09:02 +0000)]
kill dead cruft

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

14 years agoUseless cleanup
mquinson [Sun, 7 Aug 2005 09:01:28 +0000 (09:01 +0000)]
Useless cleanup

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

14 years agoONGOING work on exceptions plus minor cleanups.
mquinson [Sat, 6 Aug 2005 22:20:59 +0000 (22:20 +0000)]
ONGOING work on exceptions plus minor cleanups.
DO NOT checkout if you need it *fully* functional.

 - Eradicate xbt_error_t in flavor of exceptions (there's still 98 such
   beasts from 463)
 - Kill some unused variable (compile with -Wunused-variable to achieve
   previous count down)
 - Now that the return value of the functions are not used by the error
   handling, begin moving the OUT argument from the last position to its
   natural place. For example:
      xbt_error_t gras_socket_server(unsigned short port,
                                     /* OUT */ gras_socket_t *dst);
   became:
      gras_socket_t gras_socket_server(unsigned short port);
   More may be needed on that front.
 - Begin adding some exception free functions for the fools:
    xbt_dict_get_or_null returns NULL when not found without throwing any
      exception. It prevents you to store NULL in the dict, but saves your
      mind from the C-ANSI exception madness.
    More are needed here, I guess.
 - Add the backtrace to the exceptions to ease their debuging. This is
   highly non-portable (glibc only), and the autotoys are not in place yet
   This is probably not the only portability breakage.
 - GRAS_DEFINE_TYPE (the parsing macro) is still broken by these changes
   But I need some sleep.

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

14 years agoupdate the changelog :)
alegrand [Tue, 2 Aug 2005 18:44:26 +0000 (18:44 +0000)]
update the changelog :)

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

14 years agoAdd a loopback if needed...
alegrand [Tue, 2 Aug 2005 18:41:38 +0000 (18:41 +0000)]
Add a loopback if needed...

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

14 years agoMake valgrind happy by initializing variables and correct english grammar.
alegrand [Tue, 2 Aug 2005 18:41:07 +0000 (18:41 +0000)]
Make valgrind happy by initializing variables and correct english grammar.

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

14 years agostupid me ! :) Thanks for noticing Alan.
alegrand [Tue, 2 Aug 2005 18:40:06 +0000 (18:40 +0000)]
stupid me ! :) Thanks for noticing Alan.

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

14 years agoupdate the changelog :)
alegrand [Tue, 2 Aug 2005 00:04:29 +0000 (00:04 +0000)]
update the changelog :)

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

14 years agoAdd MSG_task_cancel and MSG_task_get_computation_remaining
alegrand [Tue, 2 Aug 2005 00:04:07 +0000 (00:04 +0000)]
Add MSG_task_cancel and MSG_task_get_computation_remaining
Add comments for parallel tasks

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