first try at killing GRAS -- does not compile yet
Tranform extern for XBT_PUBLIC
Indent include and src using this command: indent -kr -br -brs -ce -bbo --dont-break-procedure-type --no-tabs --cuddle-do-while --cuddle-else --indent-level2 --leave-preprocessor-space --no-space-after-function-call-names I also had to play with fromdos and to check that sg_unit_extractor.pl did not get fooled by XBT_TEST_UNIT lines splitted in half by indent. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8394 48e7efb5-ca39-0410-a469-dd3cf9ba447f
add gras_load_environment_script & gras_function_register_default functions to gras git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8121 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Fix copyright headers git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7646 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Kill old $Id$ command dating from CVS git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7645 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Reindent everything (possibly breaking all branches, but for the last time) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6309 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Fix constness of arguments git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4971 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Rename gras_os_property_value() to gras_os_host_property_value(); Documentation tiny improvements git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4888 48e7efb5-ca39-0410-a469-dd3cf9ba447f
oops, my last minute cleanup broke everything [Mt] git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4878 48e7efb5-ca39-0410-a469-dd3cf9ba447f
* Cleanup the DTD by renaming: <cpu> to <host> <network_link> to <link> <route_element> to <link:ctn> "name" attributes to "id" * Modify the DTD to add properties to <process>, <host> and <link> In the DTD, these are <prop name=... value=...> subtags, and this can be retrieved as a xbt_dict from the source code (see below) * Add the following functions to the user API to retrieve (as xbt_dict) the properties defined in XML: xbt_dict_t SD_link_get_properties(SD_link_t link); const char* SD_link_get_property_value(SD_link_t l,char* name); and, on the same model, SD_workstation_get_{properties,property_value}() MSG_process_get_{properties,property_value}() MSG_host_get_{properties,property_value}() gras_process_get_{properties,property_value}() gras_os_host_get_{properties,property_value}() * Modify the parser to work in one pass only. Some more work may be done so that surf does the parsing after the models have declared the callbacks. * Enforce the order in the DTD: routes must come after the last CPU, router and link git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4876 48e7efb5-ca39-0410-a469-dd3cf9ba447f
It have to call the correct functions. Now, it compiles. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3796 48e7efb5-ca39-0410-a469-dd3cf9ba447f
new function gras_os_hostport, returning a constant form of gras_os_myname():gras_os_myport() git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3790 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Added xbt_os_time and xbt_os_sleep. Execute in the real and simulate systems. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3766 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Stupid me. The code produced by the gras_stub_generator need these symbols, making them public (sorry for the noise) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3718 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Convert GRAS pid from long int to int; setup a virtualization layer in XBT to choose between GRAS and MSG when searching to compute the pid, for example in the logs git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3643 48e7efb5-ca39-0410-a469-dd3cf9ba447f
take care of new dll import and dll export in Windows git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3093 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Only adds the XBT_PUBLIC macro decoration a the begining of the public API functions. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2874 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Prototype of gras_os_myport(), which happens to be implemented in transport module, but from the user POV it should be here, I think git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2405 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Use long int for the pids, just to be sure without doublechecking what the size of pid_t is on this arch git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2140 48e7efb5-ca39-0410-a469-dd3cf9ba447f