Logo AND Algorithmique Numérique Distribuée

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

14 years agoAdd msg_get_host_speed
alegrand [Tue, 2 Aug 2005 00:01:47 +0000 (00:01 +0000)]
Add msg_get_host_speed

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

14 years agoadd a get_speed function to the cpu and enabled the action_cancel function
alegrand [Tue, 2 Aug 2005 00:00:44 +0000 (00:00 +0000)]
add a get_speed function to the cpu and enabled the action_cancel function

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

14 years agoadding a slave on the master
alegrand [Mon, 25 Jul 2005 20:12:57 +0000 (20:12 +0000)]
adding a slave on the master

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

14 years agocosmetics and helped me a lot for debuging... :)
alegrand [Mon, 25 Jul 2005 19:41:06 +0000 (19:41 +0000)]
cosmetics and helped me a lot for debuging... :)

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

14 years agoAdd FAT_PIPE
alegrand [Mon, 25 Jul 2005 19:40:38 +0000 (19:40 +0000)]
Add FAT_PIPE

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

14 years agoExtending the maxmin solver to take into account shared resources (i.e. constraints...
alegrand [Mon, 25 Jul 2005 19:40:09 +0000 (19:40 +0000)]
Extending the maxmin solver to take into account shared resources (i.e. constraints that should be written max(x_i) < C instead of sum x_i < C)

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

14 years agoextending the parser
alegrand [Mon, 25 Jul 2005 19:36:03 +0000 (19:36 +0000)]
extending the parser

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

14 years agobugfix
alegrand [Mon, 25 Jul 2005 19:34:51 +0000 (19:34 +0000)]
bugfix

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

14 years agodo not create a parallel task is it does not consume any resource... Return immediate...
alegrand [Mon, 25 Jul 2005 16:07:22 +0000 (16:07 +0000)]
do not create a parallel task is it does not consume any resource... Return immediately instead.

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

14 years agohelp readability
alegrand [Mon, 25 Jul 2005 16:06:06 +0000 (16:06 +0000)]
help readability

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

14 years agouseless stupid affectation
alegrand [Mon, 25 Jul 2005 16:05:23 +0000 (16:05 +0000)]
useless stupid affectation

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

14 years agomore flexible regexp
alegrand [Mon, 25 Jul 2005 16:04:24 +0000 (16:04 +0000)]
more flexible regexp

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

14 years agodo not forget to take into account parallel tasks.
alegrand [Sat, 23 Jul 2005 00:17:29 +0000 (00:17 +0000)]
do not forget to take into account parallel tasks.

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

14 years agocosmetics
alegrand [Sat, 23 Jul 2005 00:17:11 +0000 (00:17 +0000)]
cosmetics

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

14 years agoupdate MSG_task_destroy for parallel tasks
alegrand [Sat, 23 Jul 2005 00:16:50 +0000 (00:16 +0000)]
update MSG_task_destroy for parallel tasks

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

14 years agoAdding parallel tasks to MSG
alegrand [Fri, 22 Jul 2005 18:23:34 +0000 (18:23 +0000)]
Adding parallel tasks to MSG

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

14 years agodoc fix
alegrand [Fri, 22 Jul 2005 18:21:21 +0000 (18:21 +0000)]
doc fix

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

14 years agocosmetics
alegrand [Fri, 22 Jul 2005 18:20:36 +0000 (18:20 +0000)]
cosmetics

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

14 years agoadding parallel task to SURF workstations
alegrand [Fri, 22 Jul 2005 18:19:43 +0000 (18:19 +0000)]
adding parallel task to SURF workstations

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

14 years agorouting table goes public
alegrand [Fri, 22 Jul 2005 18:19:19 +0000 (18:19 +0000)]
routing table goes public

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