From 3fedd58ec87f4192243b4205167726db2f19bd3c Mon Sep 17 00:00:00 2001 From: alegrand Date: Mon, 14 Feb 2005 21:59:41 +0000 Subject: [PATCH] Typos : a lot of mecanism -> mechanism and functional -> functionnal Finalize changelog git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1018 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- ChangeLog | 40 ++++++++++++------------ doc/module-xbt.doc | 2 +- include/gras/datadesc.h | 14 ++++----- include/gras/messages.h | 2 +- include/xbt/config.h | 9 +++--- include/xbt/error.h | 2 +- src/amok/base.c | 2 +- src/gras/DataDesc/ddt_create.c | 4 +-- src/gras/Msg/msg.c | 2 +- src/gras/Transport/README | 2 +- src/gras/Transport/transport.c | 2 +- src/gras/Transport/transport_interface.h | 2 +- src/xbt/config.c | 2 +- src/xbt/log.c | 2 +- src/xbt/module.c | 6 ++-- 15 files changed, 46 insertions(+), 47 deletions(-) diff --git a/ChangeLog b/ChangeLog index 77d2623283..d368bec2dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,9 +6,9 @@ SimGrid (2.91) unstable; urgency=low (surf) - Bug fix in the lmm_solver. (msg) - - Interface to Paje (see http://www-id.imag.fr/Logiciels/paje/) through the function - MSG_paje_output. - - Introducing two new functions MSG_process_kill() and MSG_process_killall(). + - New! Interface to Paje (see http://www-id.imag.fr/Logiciels/paje/) + through the function MSG_paje_output. + - New! Introducing two new functions MSG_process_kill() and MSG_process_killall(). - It is possible to bound the rate of a communication in MSG with MSG_task_put_bounded() (was already in the previous version but I had forgotten to write it in the changelog). @@ -21,13 +21,13 @@ SimGrid (2.91) unstable; urgency=low - Begin to move Gras examples to examples/gras/ - Let make distcheck work again (yeah!) (documentation) - - documentation overhault using doxygen. + - documentation overhauled using doxygen. gtk-doc-tools is dead in SimGrid now. - Automatically extract all existing logging categories, and add the list to the documentation (long standing one, to say the less) (gras) - Cleanup the known architecture table. Reorder the entries to group what - should be, and use a more consistant naming scheme. + should be, and use a more consistent naming scheme. (some of the test dataset are still to be regenerated) - New! Allow library to register globals on each process just as userdata does. @@ -36,13 +36,13 @@ SimGrid (2.91) unstable; urgency=low Use it in msg and trp. This cleans a lot the internals and helps enforcing privacy of the headers between the gras components. - - New! Add a timer mecanism, not unlike cron(8) and at(1). + - New! Add a timer mechanism, not unlike cron(8) and at(1). - Bugfix: gras_os_time was delirious in RL. - Bugfix: gras_trp_select/RL don't run into the wall when asked to select onto 0 sockets. - Reenable GRAS now that it works. - -- + -- Arnaud Legrand Mon, 14 Feb 2005 14:02:13 -0800 SimGrid (2.90) unstable; urgency=low @@ -60,7 +60,7 @@ SimGrid (2.90) unstable; urgency=low SimGrid now comprises 3 different projects : MSG, GRAS and SMPI. I wanted to release the new MSG as soon as possible and I have broken GRAS, which is the reason why, for now, only MSG is fully - functionnal. A laconic description of these projects is available + functional. A laconic description of these projects is available in the documentation. * REVOLUTION 2: I have removed SG and I am now using a new simulation @@ -80,7 +80,7 @@ SimGrid (2.90) unstable; urgency=low Have a look in tools/platform_generation. There is a tiny script that converts from the old platform format to the new one. Concerning the application deployment format, parsing the old one is tricky. - I think most of you should hower be able to convert your files. If + I think most of you should however be able to convert your files. If it is really an issue, I can write a C code that does the conversion. Let me know. 2) the toolbox tbx does not exist anymore. We now have a library @@ -91,7 +91,7 @@ SimGrid (2.90) unstable; urgency=low ***************************************************************************** * Follows the old GRAS changelog. It does not follow the same syntax, but I * -* dont feel like converting the oldies. (Mt) * +* don't feel like converting the oldies. (Mt) * ***************************************************************************** 2005-01-31 Arnaud @@ -104,13 +104,13 @@ SimGrid (2.90) unstable; urgency=low 2004-11-28 Arnaud - Main loop and datastructures of SURF. A cpu resource object is - functionnal. Surf can thus be used to create cpu's with variable + functional. Surf can thus be used to create cpu's with variable performance on which you can execute some actions. 2004-11-15 Martin Quinson - Port to ARM. Simply added the alignment and size descriptions. Should work, but the ARM machines are so slow that I didn't had the opportunity - to 'make check' overthere yet. + to 'make check' over there yet. 2004-11-15 Arnaud Legrand - Trace manager now written. It uses a heap structure and is therefore @@ -127,7 +127,7 @@ SimGrid (2.90) unstable; urgency=low - Rename every gras_* function that was in xbt/ to its xbt_ counterpart. - Add a heap and a doubly-linked list to xbt - - Added a dichotomy to the dictionnaries. make check works as well before + - Added a dichotomy to the dictionaries. make check works as well before so I assume that the patch is correct. I do not know however if things run effectively faster than before now. :) @@ -138,7 +138,7 @@ SimGrid (2.90) unstable; urgency=low - Introduction of the remote errors. They are the result of a RMI/RPC on the remote machine. ErrCodes being scalar values, you can't get the host on which those - errors did happen. Extending the error mecanism as in Gnome is possible. + errors did happen. Extending the error mechanism as in Gnome is possible. No idea yet whether it is a good idea. 2004-10-28 Martin Quinson @@ -194,7 +194,7 @@ SimGrid (2.90) unstable; urgency=low Note that the cycle detection is off by default since it impacts the performance. Watch the data you feed GRAS with ;) - This property is hereditary. Any element embeeded in a structure having it + This property is hereditary. Any element embedded in a structure having it set have it set for the time of this data exchange. You should set it both on sender and receiver side. If you don't set it on @@ -221,12 +221,12 @@ SimGrid (2.90) unstable; urgency=low It should allow to kill the last bits of gras first version soon. - This is not completely satisfactory yet (dupplicate code with - chunk_{send,recv}; a bit out of the plugin mecanism), but it should + This is not completely satisfactory yet (duplicate code with + chunk_{send,recv}; a bit out of the plugin mechanism), but it should work. - Simplify transport plugin (internal) interface by not passing any - argument to _server and _client, but embeeding them in the socket + argument to _server and _client, but embedding them in the socket struct directly. 2004-09-28 Martin Quinson @@ -368,7 +368,7 @@ SimGrid (2.90) unstable; urgency=low - Improvement to the remote testing toysuite 2004-07-10 Martin Quinson - [autoconf mecanism] + [autoconf mechanism] - get ride of a bunch of deprecated macros - actually run the test for two-compliment, not only compile it :-/ - test whether the structures get packed (and bail out if yes. Damn. @@ -499,7 +499,7 @@ SimGrid (2.90) unstable; urgency=low 2004-04-19 Martin Quinson [Data description] - - register init/exit functions within gras module mecanism + - register init/exit functions within gras module mechanism - send/receive function. Convertion is not implemented, but short-cutted if not needed. struct/array elements are sent one by one (instead of block-wise), but diff --git a/doc/module-xbt.doc b/doc/module-xbt.doc index d201641844..7093463c82 100644 --- a/doc/module-xbt.doc +++ b/doc/module-xbt.doc @@ -93,5 +93,5 @@ * implementation of the serveral programmation environment of the * SimGrid toolkit (nammely, \ref MSG_API, \ref GRAS_API and \ref SMPI_API). * - * You should use those mecanism instead. + * You should use those mechanism instead. */ diff --git a/include/gras/datadesc.h b/include/gras/datadesc.h index d4eb0e551a..39f1d72192 100644 --- a/include/gras/datadesc.h +++ b/include/gras/datadesc.h @@ -30,8 +30,8 @@ BEGIN_DECL() * -# basic operations * -# Automatic parsing * -# Simple manual definitions - * -# Callback Persistant State: Simple push/pop mecanism - * -# Callback Persistant State: Full featured mecanism + * -# Callback Persistant State: Simple push/pop mechanism + * -# Callback Persistant State: Full featured mechanism */ /*@{*/ @@ -92,7 +92,7 @@ gras_datadesc_type_t gras_datadesc_by_name(const char *name); * It specifies that the structure s_array contains two fields, and that the size of the array pointed * by \a data is the \a length field, and that the \a father field is a simple reference. * - * If you cannot express your datadescs with this mecanism, you'll have to use the more advanced + * If you cannot express your datadescs with this mechanism, you'll have to use the more advanced * (and somehow complex) one described below. * * \warning Since GRAS_DEFINE_TYPE is a macro, you shouldn't put any comma in your type definition @@ -141,7 +141,7 @@ gras_datadesc_parse(const char *name, const char *C_statement); * * If your types are dynamic, you'll need to add some extra callback. For example, there is a * specific callback for the string type which is in charge of computing the length of the char - * array. This is done with the cbps mecanism, explained in next section. + * array. This is done with the cbps mechanism, explained in next section. * * If your types may contain pointer cycle, you must specify it to GRAS using the @ref gras_datadesc_cycle_set. * @@ -252,7 +252,7 @@ int gras_datadesc_get_id(gras_datadesc_type_t ddt); /*@}*/ -/** @name 4. Callback Persistant State: Simple push/pop mecanism +/** @name 4. Callback Persistant State: Simple push/pop mechanism * * Sometimes, one of the callbacks need to leave information for the next ones. If this is a simple integer (such as * an array size), you can use the functions described here. If not, you'll have to play with the complete cbps interface. @@ -289,9 +289,9 @@ void gras_datadesc_cb_push_ulint(gras_cbps_t vars, void *data); /*@}*/ -/** @name 5. Callback Persistant State: Full featured mecanism +/** @name 5. Callback Persistant State: Full featured mechanism * - * Sometimes, one of the callbacks need to leave information for the next ones. If the simple push/pop mecanism + * Sometimes, one of the callbacks need to leave information for the next ones. If the simple push/pop mechanism * introduced in previous section isn't enough, you can always use this full featured one. */ diff --git a/include/gras/messages.h b/include/gras/messages.h index f5be19d861..7f7e98a144 100644 --- a/include/gras/messages.h +++ b/include/gras/messages.h @@ -47,7 +47,7 @@ BEGIN_DECL() * to add a version number to the message (by default, the version is set to 0). Any messages of the * wrong version will be ignored by the applications not providing any specific callback for them. * - * This mecanism (stolen from the dynamic loader one) should ensure you to change the semantic of a given + * This mechanism (stolen from the dynamic loader one) should ensure you to change the semantic of a given * message while still understanding the old one. */ /** @{ */ diff --git a/include/xbt/config.h b/include/xbt/config.h index ec201ab4ef..07ae5f18c9 100644 --- a/include/xbt/config.h +++ b/include/xbt/config.h @@ -1,6 +1,6 @@ /* $Id$ */ -/* config - Dictionnary where the type of each cell is provided. */ +/* config - Dictionary where the type of each cell is provided. */ /* This is useful to build named structs, like option or property sets. */ @@ -22,10 +22,9 @@ BEGIN_DECL() * User modules and libraries can also use these facilities to handle * their own configuration. * - * A configuration set contain several \e variables which have a uniq name + * A configuration set contain several \e variables which have a unique name * in the set and can take a given type of value. For example, it may * contain a \a size variable, accepting \e int values. - * Moreover, of values. * * It is impossible to set a value to a variable which has not been registered before. * Usually, the module registers all the options it accepts in the configuration set, @@ -43,9 +42,9 @@ BEGIN_DECL() * * To some extend, configuration sets can be seen as typed hash structures. * - * \todo This great mecanism is not used in SimGrid yet... + * \todo This great mechanism is not used in SimGrid yet... * - * \todo We need a callback mecanism so that the configurable code get + * \todo We need a callback mechanism so that the configurable code get * notified of configuration changes. * * \section XBT_cfg_ex Example diff --git a/include/xbt/error.h b/include/xbt/error.h index 06a58aa3c0..c91ea1e9b4 100644 --- a/include/xbt/error.h +++ b/include/xbt/error.h @@ -24,7 +24,7 @@ BEGIN_DECL() /** @addtogroup XBT_error * - * This is how the errors get reported in the SimGrid toolkit. This mecanism is not + * This is how the errors get reported in the SimGrid toolkit. This mechanism is not * as powerful as exceptions, but since we're using C, there is not much we can do. * * @{*/ diff --git a/src/amok/base.c b/src/amok/base.c index c17ffb22a8..84b84f3293 100644 --- a/src/amok/base.c +++ b/src/amok/base.c @@ -88,6 +88,6 @@ void amok_base_init(void) { } void amok_base_exit(void) { - /* No real module mecanism in GRAS so far, nothing to do. */ + /* No real module mechanism in GRAS so far, nothing to do. */ } diff --git a/src/gras/DataDesc/ddt_create.c b/src/gras/DataDesc/ddt_create.c index b44d608f1c..3323087298 100644 --- a/src/gras/DataDesc/ddt_create.c +++ b/src/gras/DataDesc/ddt_create.c @@ -236,7 +236,7 @@ gras_datadesc_struct_close(gras_datadesc_type_t struct_type) { * gras_datadesc_cycle_set: * * Tell GRAS that the pointers of the type described by ddt may present - * some loop, and that the cycle detection mecanism is needed. + * some loop, and that the cycle detection mechanism is needed. * * Note that setting this option when not needed have a rather bad effect * on the performance (several times slower on big data). @@ -250,7 +250,7 @@ gras_datadesc_cycle_set(gras_datadesc_type_t ddt) { * gras_datadesc_cycle_unset: * * Tell GRAS that the pointers of the type described by ddt do not present - * any loop and that cycle detection mecanism are not needed. + * any loop and that cycle detection mechanism are not needed. * (default) */ void diff --git a/src/gras/Msg/msg.c b/src/gras/Msg/msg.c index dca2f9037a..8dfcf01801 100644 --- a/src/gras/Msg/msg.c +++ b/src/gras/Msg/msg.c @@ -125,7 +125,7 @@ void gras_msgtype_declare(const char *name, * @param version: something like versionning symbol * @param payload: datadescription of the payload * - * Registers a message to the GRAS mecanism. Use this version instead of + * Registers a message to the GRAS mechanism. Use this version instead of * gras_msgtype_declare when you change the semantic or syntax of a message and * want your programs to be able to deal with both versions. Internally, each * will be handled as an independent message type, so you can register diff --git a/src/gras/Transport/README b/src/gras/Transport/README index 57570245c7..93322d119b 100644 --- a/src/gras/Transport/README +++ b/src/gras/Transport/README @@ -1,4 +1,4 @@ -There is a plugin mecanism in here, and the selection is automatic +There is a plugin mechanism in here, and the selection is automatic If you open a socket in SG realm, you'll get a SG socket. If you open a socket in RL realm, you'll get a TCP socket. diff --git a/src/gras/Transport/transport.c b/src/gras/Transport/transport.c index fd7e4d4c91..b757c4579e 100644 --- a/src/gras/Transport/transport.c +++ b/src/gras/Transport/transport.c @@ -52,7 +52,7 @@ void gras_trp_init(void){ _gras_trp_plugins=xbt_dict_new(); #ifdef HAVE_WINSOCK2_H - /* initialize the windows mecanism */ + /* initialize the windows mechanism */ { WORD wVersionRequested; WSADATA wsaData; diff --git a/src/gras/Transport/transport_interface.h b/src/gras/Transport/transport_interface.h index b481a3a6a7..7400183ea4 100644 --- a/src/gras/Transport/transport_interface.h +++ b/src/gras/Transport/transport_interface.h @@ -30,7 +30,7 @@ gras_trp_select(double timeout, /*** - *** Plugin mecanism + *** Plugin mechanism ***/ /* A plugin type */ diff --git a/src/xbt/config.c b/src/xbt/config.c index 49271b178e..3e2003211e 100644 --- a/src/xbt/config.c +++ b/src/xbt/config.c @@ -258,7 +258,7 @@ xbt_cfg_unregister(xbt_cfg_t cfg,const char *name) { * @arg cfg the config set * @arg entry a string describing the element to register * - * The string may consist in several variable description separated by a space. + * The string may consist in several variable descriptions separated by a space. * Each of them must use the following syntax: \:\_to_\_\ * with type being one of 'string','int', 'host' or 'double'. */ diff --git a/src/xbt/log.c b/src/xbt/log.c index 680da6d789..0ed94a9a4a 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -347,7 +347,7 @@ s_xbt_log_category_t _XBT_LOGV(XBT_LOG_ROOT_CAT) = { XBT_LOG_NEW_CATEGORY(xbt,"All XBT categories (simgrid toolbox)"); XBT_LOG_NEW_CATEGORY(surf,"All SURF categories"); XBT_LOG_NEW_CATEGORY(msg,"All MSG categories"); -XBT_LOG_NEW_DEFAULT_SUBCATEGORY(log,xbt,"Loggings from the logging mecanism itself"); +XBT_LOG_NEW_DEFAULT_SUBCATEGORY(log,xbt,"Loggings from the logging mechanism itself"); void xbt_log_init(int *argc,char **argv, const char *defaultlog) { int i,j; diff --git a/src/xbt/module.c b/src/xbt/module.c index aa5a0bba8d..6a8c20113e 100644 --- a/src/xbt/module.c +++ b/src/xbt/module.c @@ -27,13 +27,13 @@ struct xbt_module_ { xbt_module_finalize_fct_t finalize; }; -/** @brief Initialize the xbt mecanisms. */ +/** @brief Initialize the xbt mechanisms. */ void xbt_init(int *argc, char **argv) { xbt_init_defaultlog(argc, argv, NULL); } -/** @brief Initialize the xbt mecanisms. */ +/** @brief Initialize the xbt mechanisms. */ void xbt_init_defaultlog(int *argc,char **argv, const char *defaultlog) { static short int first_run = 1; @@ -46,7 +46,7 @@ xbt_init_defaultlog(int *argc,char **argv, const char *defaultlog) { xbt_log_init(argc,argv,defaultlog); } -/** @brief Finalize the xbt mecanisms. */ +/** @brief Finalize the xbt mechanisms. */ void xbt_exit(){ xbt_log_exit(); -- 2.20.1