Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
131ec516a5a8b402ffc59c5240f5ec78ea54228a
[simgrid.git] / ChangeLog
1 SimGrid (3.3.1-svn) unstable; urgency=low
2
3  SMPI:
4   * Implement MPI_Waitany and MPI_Waitall 
5     (not available from user side yet)
6
7  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>
8
9 SimGrid (3.3.1) stable; urgency=low
10
11  OVERALL CHANGES:
12   * Implement a --cfg-help to show existing configuration variables
13   * Build chain do not require doxygen in maintainer mode
14
15  GRAS:
16   * fix a bug on struct sizeof computation, which prevented the
17     exchange of arrays of structs in some conditions
18     - added a regression test about this in datadesc_usage
19   * Allow the exchange of 0-long dynamic vectors.
20     - for that, use -1 as indicator of dynamic size instead of 0
21     - This implied to change any size from unsigned long to long,
22       reducing a bit communication abilities, but I guess that with
23       64bits being quite common, this is more than enough.
24     - This also induce a protocol change, thus bumping network protocol
25       version from 0 to 1 (if we have external users, we have to get
26       clean on that point too ;)
27     - added two regression tests about this in datadesc_usage
28   * Be more verbose when propagating local exceptions
29     This helps debugging.
30   * Display the status of simulated processes when receiving SIGINT in
31     simulation mode
32
33  MSG:
34   * Allow to control the simulation from a trace file.
35     New functions MSG_action_register() and MSG_action_trace_run()
36     The first one allows to associate a function execution to each
37      kind of action while the second one parses a trace file and
38      triggers the corresponding actions within the system.
39     For now, only a toy example is provided in examples/msg/actions
40   * Add an exemple of process migration in examples/msg/migration
41   * Fix a bug in task exchange which broke MSG_task_get_sender()
42     Add a teshsuite regression test for that.
43     [Bug: if MSG_task_get_sender() is called after sender exit,
44      bad things happen]
45   * Fix a bug which prevented suspend/resume to work properly
46   * Display the status of simulated processes when receiving SIGINT
47     This fixes a regression of v3.3. due to the introduction of SIMIX
48   * Bug fixing in failure management:
49     - trace could not start by a failure at time 0
50     - failure during communications were not working
51         
52  SIMIX:
53   * Add SIMIX_process_set_name() to change the name of the current
54     process in the log messages.
55   * Store smx_hosts in a dict since we only retrieve them by name
56   * Move the configuration infrastructure to surf
57
58  SIMDAG:
59   * Move the configuration infrastructure to surf
60
61  SMPI: 
62   * Massive internal cleanups:
63     - Store internal structures on processes instead of hosts (allows
64       to have more than one process per host, in addition of being more 
65       logical)
66     - Cleanup the initialization/finalization process
67     - Kill a whole bunch of unneeded synchronization: 
68       processes run in exclusive manner within the simulator
69     - Move queues from global tables to process data fields
70   * Improve smpirun:
71     - now accept -platform and -hostfile arguments
72     - Pass the right rank value to processes according to the hostfile
73   * Compile the examples by default, and use them as regression tests
74   * Implement MPI_Wtime()
75   * Change the reference speed to a command line option
76   
77  SURF:
78   * TCP_gamma can now be specified as command line option using
79     --cfg=TCP_gamma:10000000.0
80   * Change the --surf-path cmd line option into --cfg=path:
81   
82  XBT:
83   * Also include strbuff from xbt.h public header
84   * xbt_ex_display(): do not free the exception after displaying 
85     This allows to do more with the given exception afterward.
86     Users should call xbt_ex_free() themselves.
87     
88     
89
90  Portability report of this version:
91   * Main portability targets:
92     - Linux(debian)/x86/context   
93     - Linux(debian)/x86/pthreads 
94     - Linux(debian)/amd64/context 
95     - Linux(debian)/amd64/pthreads
96     These targets fail about 1/10 of times on gras/pmm, but we believe
97       that this is because of the test, not because of simgrid.
98     amok/saturate_sg fails even more rarely, and the test may not be
99       the problee.
100       
101     - Mac OSX Leopard/x86/context
102     The test suite still spits tons of errors because some obscure
103       force prevents us from removing the temporary directories
104       arguing that they still contain some metadata I've never heard of.
105     Smpi fails because seq is not installed.
106     Everything seems to work properly beside of that.
107     
108   * Exotic platforms:
109     - AIX version 5.3 (both contexts and pthread)
110       Smpi still fails there because mktemp is not installed. 
111       XML inclusions seems rosty on AIX.
112     
113   * Windows: it's still lagging behind. If you want to help, please
114     stand up.
115
116  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>  Sat, 27 Jun 2009 00:14:30 +0200
117
118 SimGrid (3.3) stable; urgency=high
119
120  OVERALL CHANGES:
121
122   * JAVA BINDINGS for MSG (you dreamt of them? We made them)
123     [Malek Cherier & Mt]
124
125   * Introduce the SIMIX module: factorize code between MSG and GRAS.
126     [Bruno Donassolo]
127   
128     Until now, GRAS were using MSG as an interface to SURF. It was
129     quite difficult because both interface have several differences
130     (MSG channels vs GRAS sockets were the most notable point).
131    
132     This also opens the gate to SMPI (which should occur soon) and speed
133     up simulations by to 40% (even if it were not the main goal).
134   
135     ************************************** 
136     *DO NOT MIX 3.2 RESULTS WITH 3.3 ONES* Simix may changes simulations!
137     **************************************
138     The point is that events occuring at the exact same timestamp are
139     not scheduled in the same order with the old and new version. This
140     may be enough to completely change the execution of simulations in
141     some cases. Sorry for the inconvenience.
142
143   * Cleanup and upgrade the XML format to push further scalability
144     issues (check http://hal.inria.fr/inria-00256883/ for more info)
145
146   * Improve the testing infrastructure with tesh. Now a very large part of
147     the code is tested not only by being run but also by checking that the
148     output match an expected output [Mt].
149
150   * Move on to FleXML v1.7 for the embeeded XML parsers. This version
151     is really less memory-demanding, which should allow you to use
152     larger files in SimGrid [AL].
153     
154   * Inform valgrind about our contextes, so that it becomes usable
155     with the default (and more effecient) version of SimGrid
156     [contributed by Sékou Diakite, many thanks]
157
158  GRAS:
159   * Introduce a listener thread in charge of receiving incomming
160     messages from the network. It allows to overlap communication and
161     computation but most notably, it removes some stupid deadlocks due
162     to the fact that so far, a process could not send and receive at
163     the same time. This made most non trivial communication schema
164     impossible.
165   * Convert the PIDs from long int to int to match the MSG ones (and
166     linux ones too) [Mt]
167   * New function: gras_agent_spawn() to launch a new process on
168     current host. Only working in simulation for now. [Mt]
169   * New function: gras_os_hostport() returning a constant form (ie,
170     not needing to be freed) of "gras_os_hostname():gras_os_myport()"
171
172  XBT:
173   * Make the backtrace of exceptions more human readable [Mt]
174   * New module: xbt/str [Mt]
175     a ton of string utility functions (split, join, printf to a newly
176     allocated buffer, trim, etc)
177   * New module: xbt/hash [Mt]
178     SHA1 hashing algorithm (more to come if needed)
179   * New module: xbt/synchro [Mt]
180     synchronization tools (mutex and conditions) working the same way
181     in simulation and in real life (mainly useful for GRAS, but not
182     only).
183   * New module: xbt/queue [Mt]
184     classical producer/consumer synchronization scheme
185   * xbt_dynar_new_sync() creates a synchronized dynar. All access
186     (using the classical functions will get serialized) [Mt]
187   * Make dictionary internal table dynamic. No need to specify its size
188     anymore; functions xbt_dict_new_ext() and xbt_dict_hashsize_set()
189     thus dropped. [Mt].
190   * Make sure the log channels are organized as a tree under windows
191     (because of ANSI C compatibility issue, any channel were child of
192      root directly) [Mt].
193
194  SURF:
195   * Cleaned many thing in surf and fixed a few bugs [AL].
196   * Add a nice command line configuration mechanism to compose models [AL].
197   * Add a new model for parallel tasks (ptask_L07) that is less buggy than
198     the previous one (KCCFLN05). It relies on something that looks like
199     a max-min sharing mechanism but cannot be written as such. A new solver
200     was thus designed [AL].
201   * Add a new solver to lmm. Based on Lagrange optimization and
202     gradient-based descent, it enables to efficiently maximise systems s.a
203   
204      sum f_i(x_i) s.t Ax<= b  with A_{i,j}>=0 and f_i a concave function.
205
206     This solver enables to propose two new network models for TCP Reno and
207     TCP Vegas based on Low's work. These models still need to be fully
208     tested though [Pedro Velho].
209
210  SIMDAG [AL]:
211   * Bug fix in SD_simulate. Now the time bound given as argument is
212     used.
213   * Use the new parallel task model (ptask_L07) as default.
214   * Use the SURF command line configuration mechanism.
215   * 0-size tasks (for synchronization) should now work.
216
217  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr> Sun Apr 12 05:20:36 CEST 2009
218
219 SimGrid (3.2) stable; urgency=high
220
221   OVERALL CHANGES:
222    * Port to windows.
223      We still experience issues on this platform, but we believe that at
224      least MSG is usable.
225
226   GRAS API BREAKAGE (for simplification purpose, sorry):
227    * the gras_msgtype_by_name is not used anymore. Instead of 
228        gras_msg_send(toserver, gras_msgtype_by_name("request"), &request);
229      you can write (and must)
230        gras_msg_send(toserver, "request", &request);
231    - If you still want to pass a gras_msgtype_t to the function (to cache
232      the type and avoid the lookup time), use the gras_msg_send_() variant.
233    - Impacted functions:
234      gras_cb_register, gras_cb_unregister, gras_msg_send, gras_msg_wait,
235      gras_msg_rpccall, gras_msg_rpc_async_call, gras_msg_wait_ext
236    * The callbacks are now expected to return 0 when everything went well
237      (just like the main() function)
238
239   GRAS new features and improvements:
240   * New module mecanism where user code can use per process globals [Mt]
241     This is similar to gras_userdata_*() functions, but for libraries. It
242       factorize some code developped over and over in the examples and AMOK.
243     It has still to be documented and used (only amok/peermanagement is
244       converted for now).
245   * Fix a vicious bug in the TCP buffering mecanism which leaded to message
246     loss when they were small enough to fit into the buffer and sent quickly
247     enough so that they can all get received in one shoot.   
248   * gras_datadesc_by_name and gras_msgtype_by_name: now raise an exception
249     if not found. Use the *_or_null() variant for the old semantic.
250   * In gras_msg_handle, do not discard messages without callback.
251     They are probably messages to be explicitly awaited later (ie, proofs of
252     mis-synchronization in userland since they are sent before being awaited)
253     No big deal usually.
254   * gras_socket_meas_send/recv: semantic changed!
255     The numerical arguments used to be (1) the total amount of data to send
256     and (2) msg_size. This was changed to (1) msg_size and (2) amount of
257     messages. This was need for the fool willing to send more than MAXINT
258     bytes on quite fat pipes.       
259         
260   AMOK:
261   * Do really rename the hostmanagement module to peermanagement. [Mt]
262     Ie, rename functions from amok_hm_* to amok_pm_*. This breaks the API,
263     but this is rather new and this was documented in the module
264     documentation (poor excuses, I admit)
265   * Bandwidth measurement semantic changed! This follows the changes to
266     gras_socket_meas_send/recv explained above.
267     
268   SIMDAG:
269   * A sequential mode has been added to the workstations. When a workstation
270     is in sequential mode, it can execute only one task, and the other tasks
271     are waiting in a FIFO. [Christophe Thiery]
272
273   SURF:
274   * The KCCFLN05 workstation model now handles parallel tasks. It is the
275     model for SIMDAG. [Christophe Thiery]
276   * Bug fix in the maxmin solver: Some values were close to 0 instead of
277     equal to 0, which caused some bad behaviors in
278     saturated_constraint_set_update. I now use a threshold mechanism like in
279     surf. [AL]
280
281   XBT:
282   * When running manually src/testall, you select specific units [Mt]
283     testall is the result of our cunit mecanism, and should replace all
284     the scripty thingy around since bash don't run easily on billware.
285
286   * A mallocator system has been added. [Christophe Thiery]
287     Mallocators allow you to recycle your unused objects instead of freeing them
288     and allocating new ones.
289
290   Documentation update:
291   * FAQ reworking + New FAQs:
292     - "Valgrind spits tons of errors!" [Mt]
293     - "How to repport bugs" [Mt]
294     - "Cross-compiling a Windows DLL of SimGrid from Linux" [Mt]
295     - "What is the difference between MSG, SimDag, and GRAS?" [Mt]
296     - Communication time measurement within MSG [AL]
297     - I experience weird communication times when I change the latency [AL]
298   * GRAS tutorial [Mt]
299     It contains:
300      - an introduction to the framework and to the used communication model
301      - an initiatic tour introducing the most proheminent features:
302        o Part 1: Bases
303          . Lesson 0: Installing GRAS
304          . Lesson 1: Setting up your own project
305        o Part 2: Message passing
306          . Lesson 2: Exchanging simple messages
307          . Lesson 3: Passing arguments to the processes (in SG)
308          . Lesson 4: Attaching callbacks to messages
309          . Lesson 5: Using globals in processes
310          . Lesson 6: Logging informations properly
311          . Lesson 7: Using internal timers
312          . Lesson 8: Handling errors through exceptions
313          . Lesson 9: Exchanging simple data
314          . Lesson 10: Remote Procedure Calling (RPC)
315          . Lesson 11: Explicitely waiting for messages
316          . Recapping of message passing features in GRAS
317      - A HOWTO section containing:
318        o HOWTO design a GRAS application
319        More are due, of course. They will come latter. In the meanwhile, you can 
320        check the examples which are still here.
321
322  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr> Fri Mar 16 21:11:46 CET 2007
323
324 SimGrid (3.1) stable; urgency=high
325
326   General:
327   * Port to gcc 4.x   
328     There was a stack corruption somewhere, visible only when optimizing
329     with these versions. [Vince]
330
331   SIMDAG:
332   * This is a NEW module! SimDAG (SD for short) is a revival of the old SG
333     module that enabled to play with Directed Acyclic Graphs. It is built
334     directly on top of SURF and provides an API rather close to the old
335     SG. Some old codes using SG are currently under rewrite to check that
336     all needful functions are provided. [Christophe Thiery]
337         
338   SURF:
339   * Complete rewrite of the KCCFLN05 workstation model. It is now an
340     extension of the classical CLM03 model that gracefully handles
341     failures. This is now the default model for MSG and GRAS. It doesn't
342     handle parallel tasks yet though. [AL]
343   * Bug fix: Weights were not correctly set in the network part. 
344     WARNING: This may have resulted in incorrect results with simulations
345     where there are more than one flow on a given link. [AL]
346
347   SURF, MSG, GRAS:
348   * After a (long ?) discussion on simgrid-devel, we have decided that the
349     convention we had on units was stupid. That is why it has been decided
350     to move from (MBits, MFlops, seconds) to (Bits, Flops, seconds). 
351     WARNING : This means that all previous platform files will not work as
352     such with this version! A warning is issued to ask users to update
353     their files. [AL]
354     A conversion script can be found in the contrib module of the CVS, under
355     the name contrib/platform_generation/surfxml_update.pl [MQ]
356
357   MSG,GRAS:
358   * Bug fix: Processes were started in reverse order, wrt deployment file.
359     WARNING: if your code relies on this bug, please fix it.    [AL]
360   * Bug fix: Add a test in MSG_task_execute to stop whenever a task is
361     being executed on two different locations.                  [AL]
362   * Bug fix: Failures are now better supported thanks to Derrick's tests
363     (there was many failure situations I hadn't thought of and that weren't
364     correctly handled). [AL]
365   * New function: MSG_host_is_avail indicates you whether a given m_host_t
366     is up or down. [AL]
367
368   GRAS:
369   * New! a real RPC mecanism, as it ought to be since too long. [MQ]
370       Exception occurring on server-side are propagated back to client (!).
371       
372     API CHANGE: the callback changed their prototype. Change:
373         int my_handler(gras_socket_t expeditor, void *payload_data) {
374       to:
375         int my_handler(gras_msg_cb_ctx_t ctx  , void *payload_data) {
376           gras_socket_t expeditor=gras_msg_cb_ctx_from(ctx);
377       and you're set.
378   * New! function: gras_msg_handleall to deal with all messages arriving
379       within a given period.
380   * New! function: gras_socket_server_range to get a server socket in a
381     range of port numbers (ease to avoid port number conflicts) [MQ]
382   * New! gras processes display their backtrace when they get a SIGUSR1
383       or when Ctrl-C is pressed. Use Ctrl-C Ctrl-C to exit.
384       Sweet to debug RL processes [MQ]
385
386   AMOK:
387   * Bandwidth module: 
388     - Do not force experiment sizes to be expressed in kb, or it becomes
389       impossible to measure the latency this way (needs one byte-long tests)
390     WARNING: this changes the amok_bw_* function semantic. [MQ]
391     - Implements the link saturation stuff. [MQ]
392   * Peer management module: 
393     New! module factorizing code that we wrote over and over [MQ].
394       
395   XBT:
396   * New module: cunit (my jUnit implementation in ansi C) [MQ]
397     - Test units are placed directly into the library code, they get extracted
398       automatically and placed into the src/testall binary.
399     - Convert most of the XBT tests to this system.
400   * New functions: xbt_dynar_getfirst_as() and xbt_dynar_getlast_as() [MQ]
401   * XML parsing: rewrote parts of flexml to enable multiple xml parsers to
402     live in the same C code. This required to change a little bit the API
403     of surfxml parsing but shouldn't be an issue for end-users. [AL]
404   * New module: sparse graph structure with basic algorithms (this is work
405     in progress and the API is not considered to be frozen yet). [AL]
406   * Display more information on backtraces: source line & function names are
407     now displayed just like valgrind does (rely on addr2line tool) [MQ]
408   * New function: xbt_backtrace_display(). Sweet while debuging [MQ]
409   * Reworked a little bit some #include statements to load only required
410     headers. Some user code that relied on SimGrid to include stdlib or
411     stdio may need to include it by themselves. [AL]
412   * Fixed xbt/log.h. A missing SG_BEGIN_DECL prevented compilation with
413     g++. [AL]
414   * Renamed xbt_host_t into xbt_peer_t since it betterly describes what I
415     meant. This breaks the API of AMOK and of xbt/config. Sorry about this,
416     but I guess that almost nobody used those parts. [MQ]
417
418  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr> Fri, 14 Jul 2006 01:32:27 +0200
419
420 SimGrid (3.0.1) stable; urgency=low
421
422   XBT:
423   * Unfortunately, I had missed 5 misnamed functions:
424       xbt_fifo_item_t xbt_fifo_newitem(void);
425       void xbt_fifo_freeitem(xbt_fifo_item_t);
426       xbt_fifo_item_t xbt_fifo_getFirstItem(xbt_fifo_t l);
427       xbt_fifo_item_t xbt_fifo_getNextItem(xbt_fifo_item_t i);
428       xbt_fifo_item_t xbt_fifo_getPrevItem(xbt_fifo_item_t i);
429     They're now deprecated. Please use their new versions:
430       xbt_fifo_item_t xbt_fifo_new_item(void);
431       void xbt_fifo_free_item(xbt_fifo_item_t);
432       xbt_fifo_item_t xbt_fifo_get_first_item(xbt_fifo_t l);
433       xbt_fifo_item_t xbt_fifo_get_next_item(xbt_fifo_item_t i);
434       xbt_fifo_item_t xbt_fifo_get_prev_item(xbt_fifo_item_t i);
435     [AL]
436   * Bugfix: really disconnect fifo items which are remove_item()ed [AL]
437   * Documentation: xbt_log module unmercifully reworked [MQ]
438   * Bugfix: there was a problem with the ending of contexts with 
439     the pthread backend. It caused some weird deadlock or behavior
440     depending on the pthread implementation. [AL]
441   * Bugfix: get the exceptions raised in the simulator repport where
442     and why they come from when they are not catched in time [AL, MQ]
443
444   SURF:
445   * Bugfix: Do repport the error when two non-connected hosts try to
446     exchange data (Thanks to Flavien for stumbling into this one) [AL]
447   
448   SURF:
449   * Add additionnal checkings on communications. Assert that two
450     communicating hosts are connected by a set of links... [AL]
451         
452   MSG:
453   * Add additionnal checkings on channel values in communication [AL]
454   * New: MSG_task_get_source to see on which host a task was generated [HC]
455   * New: int MSG_task_probe_from_host(int channel, m_host_t host): returns
456     the number of tasks waiting to be received on channel and sent
457     by host. [AL]
458   * New: MSG_error_t MSG_task_get_from_host(m_task_t * task, int channel, m_host_t host); 
459     waits for the first task coming from a given host.. [AL]
460         
461   GRAS new functionnalities: [MQ]
462   * Enhance the parsing macro to allow the size of multidimentional objects
463     to be given thru annotations.
464   * New example (and documentation): Matrix Multiplication a la RPC 
465     (as when I was young!) and fix a bunch of bugs found on the way.
466
467   GRAS performance improvements: [MQ]
468   [DataDesc]
469   * Reduce the amount of cbps creation/destruction by making it static to 
470     datadesc_send/recv() and using a (newly created) cbps_reset (based on 
471     dynar_reset ())
472   [Virtu]
473   * Change libdata to a set so that we can search for stuff by ID (and thus 
474     reduce the insane amount of dict lookups)     
475   
476   [Transport]
477   * Actually implement gras_datadesc_copy() so that we don't have to mimick
478     RL communication on top of SG since it's so uneffective. 
479     It may also be used for inter-thread communication in RL, one day. 
480   * Use gras_datadesc_copy() to exchange messages on top of SG 
481     Allows to:
482     - improve message exchange performance on top of SG
483     - deprecate transport_plugin_sg.c:gras_trp_sg_chunk_send() & recv()
484   * Don't exchange on the network the size of the used part of buffer,
485     instead, specify the possible buffer size to read(). 
486     Advantages:
487      - reduces the amount of read/write calls (one pair per exchange)
488      - reduces the amount of exchanged data (the size)
489      - allows to retrieve all arrived data on receiver side, if we don't need
490        it right now (subsequent read will peek the buffer)
491      - allows the receiver to proceed with the begining of the stream before
492        everything is arrived
493      - make it possible to build an iov transport (using readv/writev)
494     Extra difficulty: 
495      - take care of the data with non-stable storage (like stacked data),
496        and bufferize them.
497   * If possible, TCP send uses vector I/O (when writev() is here) 
498      - Don't use it for receive since we send data sizes and data on the
499        same stream, so we wouldn't be able to chain large amount of chunks
500        before having to flush the stuff to read the size.
501   * Rework the transport plugin mecanism to simplify it and reduce the
502     amount of pointer dereferencement when searching for the right function 
503     to use. 
504
505   * I guess that now, we do almost as few system calls as possible while
506     doing as few data copy as possible.
507
508     To improve it further, we could try to send all the sizes first and then
509     all the data (to use iov on receiving size), but it's only a partial
510     solution: when you have 2 dimensional data, the sizes of the second
511     dimension is data of the first dimension, so you need 3 streams.
512
513     I'm not sure the potential performance gains justify the coding burden.
514
515  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>  Fri, 21 Oct 2005 14:42:20 +0200
516
517 SimGrid (3.00) stable; urgency=high
518   
519  SURF:
520   * New! Give the possibility to hijack the surf parser and thus bypass 
521     MSG_create_environment and MSG_launch_application. Have a look at
522     examples/msg/msg_test_surfxml_bypassed.c to see how it can be done.
523         
524  -- Arnaud Legrand <simgrid-devel@lists.gforge.inria.fr>  Sat, 20 Aug 2005 23:25:25 -0700
525
526 SimGrid (2.96) unstable; urgency=low
527
528   AKA SimGrid 3 rc 2.
529   
530   XBT:
531   * New! Exception handling with setjmp or such (code from OSSP ex) [MQ]
532     This deprecates the xbt_error_t mecanisms. 
533     It modifies (simplifies) all XBT and GRAS API.
534     MSG API keeps unchanged (exceptions raised by XBT are catched from 
535      within MSG and masked with existing error handling facilities)
536
537   SURF:
538   * New! Add a FATPIPE model. [AL]
539   * New! Add a parallel task model. [AL]
540   * New! Add automatically a loopback interface (in the default
541     network model) if none was precised.
542
543   MSG
544   * Bugfix: MSG_process_resume now works with the current running process. 
545     [AL]
546   * New! Add MSG_parallel_task_create and MSG_parallel_task_execute. [AL]
547   * Modification of MSG_task_get_compute_duration. Once a task has been
548     processed, the value returned by this function is now equal to 0. [AL]
549   * New! Add double MSG_task_get_remaining_computation(m_task_t task) and
550     MSG_error_t MSG_task_cancel(m_task_t task). Add a state
551     (MSG_TASK_CANCELLED) to MSG_error_t corresponding to the cancelation
552     of a m_task. For now, MSG_task_cancel only works with computation
553     tasks. [AL]
554   * New! Add double MSG_get_host_speed(m_host_t h) that returns the speed
555     of the processor (in Mflop/s) regardless of the current load on the
556     machine. [AL]
557   * API Change: use proper naming convention for MSG_getClock and 
558     MSG_process_isSuspended: MSG_get_clock and MSG_process_is_suspended.
559     [AL]
560   * New! Add void MSG_task_set_priority(m_task_t task, double priority). 
561     This function changes the priority of a computation task. This priority
562     doesn't affect the transfer rate. A priority of 2 will make a task 
563     receive two times more cpu power than the other ones. This function 
564     has been added to suit the needs of Nguyen The Loc and hasn't been that
565     much tested yet. So if it fails, please report it and send me your code. 
566     [AL]
567   * API Change: removed all functions and types that were marked "deprecated" 
568     since many months. Renamed MSG_global_init_args to MSG_global_init.
569
570  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>  Mon,  8 Aug 2005 17:58:47 -0700
571
572 SimGrid (2.95) unstable; urgency=low
573
574   XBT
575   * Steal some nice code to GNU pth to fix context detection and usage [AL]
576   * Cleanup in the xbt_config API; add configuration callbacks. [MQ]
577   * Cleanup in the initialization API: the unused "defaultlog" is dead. [MQ]
578
579   SURF
580   * Bugfix: Allow absolute paths for platform description files [MQ]
581   * Bugfix: do free the variables after use. Leads to drastic performance 
582     improvement [AL] 
583   * Implement max_duration (ie, timeouts) on resources [AL]
584
585   MSG
586   * Implement MSG_config to configure MSG at runtime. xbt_cfg test on a real
587     case ;) [MQ]
588   * Implement MSG_channel_select_from() to help GRAS now that SURF provide
589     the needed support (timeouts) [AL]
590
591   GRAS (new features)
592   * Implement measurement sockets. You can now get the bandwidth between two
593     hosts thanks to AMOK (see below). [MQ]
594   * gras_datadesc_dynar() builds a dynar type descriptor, allowing to send
595     dynar over the network (yeah) [MQ]
596   * Real (even if simplistic) implementation of gras_os_myname() on RL [MQ]
597   * simple/static token-ring example. [Alexandre Colucci and MQ]
598   * Use MSG_channel_select_from() and remove the *slow* hack we had to put
599     in place before [MQ]
600   
601   GRAS (bug fixes)
602   * Differentiate the types "char[22]" and "unsigned char[22]" in automatic
603     type parsing. "short" and "long" modifiers were also ignored; other
604     modifier (such as reference level) are still ignored. [MQ] 
605   * Embeed the buffer size within the buffer itself on SG. [MQ]
606     That way, send() are atomic and cannot get intermixed anymore (at least
607     the ones which are less than 100k; bigger messages still have the issue)
608   * Array size pushed by the field, not by the field type (or each
609     and every long int will push stuff to the cbps) [MQ]
610   * use select() to sleep since it allows to portably sleep less than one
611     second. [MQ]
612
613   GRAS (minor cleanups)
614   * <project>.Makefile.local (generated from gras_stub_generator) |MQ]:
615     - Do clean .o files
616     - Compile with -g
617   * Type Callbacks now receive the gras_datadesc_type_t they work on as argument.
618   * type category 'ignored' killed as it was never used and were difficult
619     to transmit.
620   * whether a type can cycle or not is now a flag, leaving room for more
621     flags (as "ignored", if we feel the need one day ;)
622   * Rename raw sockets to measurement sockets since "raw" has another
623     meaning in networking community. 
624   
625   AMOK 
626   * Advanced Metacomputing Overlay Kit introduction. It is based over GRAS
627     and offers features not belonging to GRAS but that most applications
628     need. One day, it may be a set of plugins loadable at runtime.
629   * New module: bandwidth 
630     bandwidth measurement between arbitrary nodes running this module. [MQ]
631
632  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>  Thu, 30 Jun 2005 16:29:20 -0700
633
634 SimGrid (2.94) unstable; urgency=low
635
636   The first beta release of SimGrid 3 !
637
638   >>>Arnaud<<<
639   (documentation)
640   * Update the main page and the FAQ. Adding references to gforge.
641
642   (gras)
643   * Add a gras_os_getpid function.
644
645   (msg)
646   * Add MSG_task_get_compute_duration() and MSG_task_get_data_size()
647   * Extend the logs so that they also print PID, hostname, date, ... if
648     available.
649   * Convert the MSG example to the use of xbt_logs instead of PRINT_MESSAGE,
650     and kill the old version which were in testsuite/
651   * Rewrite tools/MSG_visualization/colorize.pl for using with logs instead
652     of PRINT_MESSAGE
653
654   (xbt)
655   * Add xbt_os_time(). As the rest of xbt/portability, this is not public
656     for users. Instead, each programming environment (GRAS, MSG,...) use it
657     when needed to provide such a feature to users.
658     Don't shortcut the mecanism or you will also shortcut the virtualization
659     you need on the simulator.
660
661   >>>Martin<<<
662   (infrastructure)
663   * Cleanups in configury with regard to compile optimization/warning flags.
664     Also add -fno-loop-optimize to any powerpc since it's the optimization
665     killing gcc (< 3.4.0).
666   * Doxygen cleanups: move MSG examples, kill the second Doxygen phase
667     needed by MSG examples complications
668   * Borrow configury beautifications from PHP
669
670   (xbt)
671   * Bugfix: XBT_LOG_NEW_DEFAULT_CATEGORY now compiles without compiler
672     warning (thanks loris for stumbling into this one).
673   * Bugfix: stop loading private headers (gras_config.h) from the public
674     ones (xbt/swag.h).
675
676   (gras)
677   * Change SIMGRID_INSTALL_PATH to GRAS_ROOT in Makefiles generated for user.
678   * Rename gras_get_my_fqdn to gras_os_myname and implement it in the simulator
679     RL would imply a DNS resolver, which is *hard* to do in a portable way
680     (and therefore delayed).
681   * Implement a real timer mecanism and use it in timing macros. This allows
682     to avoid rounding errors and get a 0.000005 sec precision in timing
683     macros. While I was at it, various cleanups:
684      - allow to declare more than one timed section per file (fix a stupid bug)
685      - move some private declaration to the right place
686      - merge conditional execution and timing macros into emulation module
687      - document the module
688      - make sure the module cleanups its mess on gras_exit
689   * Documentation improvements:
690      - (new) how to compile applications using GRAS
691      - (new) emulation support (timing macros)
692
693  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>  Fri, 13 May 2005 10:49:31 +0200
694
695 SimGrid (2.93) unstable; urgency=low
696
697   Alpha 4 on the path to SimGrid 3 (aka the "neuf-trois" version)
698
699   [Arnaud]
700    - Use Paje properly where used. Still to be sanitized properly.
701    - Portability fix: Add an implementation of the contexts using pthread
702
703   [Martin]
704   (misc)
705    - Add xbt_procname(): returns the name of the current process.
706      Use it to show the current process's name in all logging.
707   (infrastructure)
708    - fix detection of older flex version and the reaction, since we do
709      depend on modern ones (we use lex_destroy)
710    - Better separation of SG and RL in the libs: remove all simulation code
711      from libgras. As a result, this lib is now only 200k when stripped.
712      Some of the xbt modules may also be duplicated (two sets and such) and
713      should be cleaned/killed before SG3.
714    - Insist on using xlC on AIX because of weird problems involving gcc there.
715    - Cleanup the make remote stuff. This is now done by scripts
716      tools/graspe-{master,slave} (GRAS Platform Expender). This is still
717      mainly for our private use, but we're working on changing them to user
718      tools, too.
719   (gras)
720    - Bugfix: flush the socket on close only if there is some *output*.
721    - Bugfix: flush idempotent when there's nothing to send (don't send size=0)
722   (msg)
723    - Add MSG_task_get_name. The task names are mainly for debugging purpose,
724      but anyway.
725
726  -- SimGrid team <simgrid2-users@listes.ens-lyon.fr>  Fri,  4 Mar 2005 14:32:37 -0800
727
728 SimGrid (2.92) unstable; urgency=low
729
730   Alpha 3 on the path to SimGrid 3
731   
732   [Arnaud]
733   (gras)
734    - New! First try of benchmarking macros.
735    - New! First try so that gras_stub_generator generate deployment and
736      remote compilation helpers.
737   (msg)
738    - Bugfix: Initialization fix in msg_test.
739
740   [Martin]
741   (surf)
742    - Bugfix: applied patch to lexer so that it doesn't need a huge heap.
743   (xbt)
744    - Bugfix: let dicts work with NULL content (_foreach didn't) and cleanups
745   (gras)
746    - API Change: gras_os_sleep to take the amount of seconds as a double.
747      Accepting an int was error prone since it was the only location where
748      seconds were coded as such. It leaded to damn rounding errors.
749    - Bugfix: Hard to belive that timers ever worked before this.
750
751  -- SimGrid team <simgrid2-users@listes.ens-lyon.fr>  Wed, 23 Feb 2005 22:09:21 +0100
752
753 SimGrid (2.91) unstable; urgency=low
754
755   Alpha 2 on the path to SimGrid 3
756   
757   [Arnaud]
758   (surf)
759    - Bug fix in the lmm_solver.
760   (msg)
761    - New! Interface to Paje (see http://www-id.imag.fr/Logiciels/paje/) 
762      through the function MSG_paje_output.
763    - New! Introducing two new functions MSG_process_kill() and MSG_process_killall().
764    - It is possible to bound the rate of a communication in MSG with 
765      MSG_task_put_bounded() (was already in the previous version but I had forgotten 
766      to write it in the changelog).
767    - Bug fix to let GRAS run on top of MSG until we move it directly on top
768      of the SURF.
769     
770   [Martin]
771   (infrastructure)
772    - Various cleanups to the autotools stuff
773    - Begin to move Gras examples to examples/gras/
774    - Let make distcheck work again (yeah!)
775   (documentation)
776    - documentation overhauled using doxygen. 
777      gtk-doc-tools is dead in SimGrid now.
778    - Automatically extract all existing logging categories, and add the list
779      to the documentation (long standing one, to say the less)
780   (gras)
781    - Cleanup the known architecture table. Reorder the entries to group what
782      should be, and use a more consistent naming scheme.
783      (some of the test dataset are still to be regenerated)
784    - New! Allow library to register globals on each process just as userdata
785      does. 
786       This is implemented using a xbt_dict and not a xbt_set, so we loose the
787        lookup time (for now).
788       Use it in msg and trp.
789       This cleans a lot the internals and helps enforcing privacy of the
790        headers between the gras components.
791    - New! Add a timer mechanism, not unlike cron(8) and at(1). 
792    - Bugfix: gras_os_time was delirious in RL.
793    - Bugfix: gras_trp_select/RL don't run into the wall when asked to select
794      onto 0 sockets.
795    - Reenable GRAS now that it works.
796
797  -- Arnaud Legrand <Arnaud.Legrand@imag.fr>  Mon, 14 Feb 2005 14:02:13 -0800
798
799 SimGrid (2.90) unstable; urgency=low
800
801   Alpha 1 on the path to SimGrid 3
802
803   * It is a long time since the last release of SimGrid. I'm sorry about
804     that but as I had told you, I was rewriting a lot of things. I apologize 
805     to those who had been reporting bugs to me and that I had not answered. 
806     If your bug is still in the new version, please tell me. Here is a 
807     summary of the main changes.
808
809   * REVOLUTION 1: The SimGrid project has merged with the GRAS project
810     lead by Martin Quinson. As a consequence SimGrid gains a lot in
811     portability, speed, and a lot more but you'll figure it out later. 
812     SimGrid now comprises 3 different projects : MSG, GRAS and SMPI. 
813     I wanted to release the new MSG as soon as possible and I have 
814     broken GRAS, which is the reason why, for now, only MSG is fully 
815     functional. A laconic description of these projects is available 
816     in the documentation.
817   
818   * REVOLUTION 2: I have removed SG and I am now using a new simulation
819     kernel optimized for our needs (called SURF but only the developers
820     should use it). Hence, MSG is now roughly 30 times faster and I think
821     that by rewriting a little bit MSG, I could event speed it up a little
822     bit more. Beside the gain in speed, it is also much easier to encode a
823     new platform model with SURF than it was with SG. More to come...
824   
825   * REVOLUTION 3: I have tried to change a little as possible the API of
826     MSG but a few things really had to disappear. The main differences
827     with the previous version are :
828        1) no more m_links_t and the corresponding functions. Platforms are
829          directly read from a XML description and cannot be hard-coded
830          anymore. The same format is used for application deployment
831          description. The new format is described in the documentation. 
832          Have a look in tools/platform_generation. There is a tiny script 
833          that converts from the old platform format to the new one. Concerning
834          the application deployment format, parsing the old one is tricky.  
835          I think most of you should however be able to convert your files.  If 
836          it is really an issue, I can write a C code that does the conversion. 
837          Let me know.
838        2) the toolbox tbx does not exist anymore. We now have a library
839           with much more data-structures but without the hash-tables (we have 
840           dictionaries that are much faster).
841
842  -- Arnaud Legrand <Arnaud.Legrand@imag.fr>  Mon, 31 Jan 2005 10:45:53 -0800
843
844 *****************************************************************************
845 * Follows the old GRAS changelog. It does not follow the same syntax, but I *
846 * don't feel like converting the oldies. (Mt)                                *
847 *****************************************************************************
848
849 2005-01-31 Arnaud
850   Version 2.90: "the long awaited one"
851   - Finished rewriting and debugging MSG. Rewrote the documentation.
852   - disable GRAS for now since it needs to be ported to the newest SG
853
854 2004-12-16 Martin
855   - Finish the port to windows (using mingw32 for cross-compile)
856
857 2004-11-28 Arnaud
858   - Main loop and datastructures of SURF. A cpu resource object is
859     functional. Surf can thus be used to create cpu's with variable
860     performance on which you can execute some actions.
861         
862 2004-11-15 Martin Quinson
863   - Port to ARM. Simply added the alignment and size descriptions. Should
864     work, but the ARM machines are so slow that I didn't had the opportunity
865     to 'make check' over there yet.
866
867 2004-11-15 Arnaud Legrand
868   - Trace manager now written. It uses a heap structure and is therefore
869     expected to be efficient. It may however be speeded up (particularly
870     when many events occur at the same date) by using red and black
871     trees. One day maybe... 
872   - Max-min linear system solver written. It uses a sparse matrix
873     structure taking advantage of its expected use. Most operations are
874     O(1) and free/calloc are called as few as possible. The computation of
875     the minimum could however be improved by using a red and black tree
876     (again ! ;).
877
878 2004-11-03 Arnaud Legrand
879   - Rename every gras_* function that was in xbt/ to its xbt_
880     counterpart.
881   - Add a heap and a doubly-linked list to xbt
882   - Added a dichotomy to the dictionaries. make check works as well before
883     so I assume that the patch is correct. I do not know however if things
884     run effectively faster than before now. :)
885
886   Inclusion of the SimGrid tree in the GRAS one. The archive is renamed to
887   SimGrid, and the version number is bumped to 2.x
888
889 2004-10-29 Martin Quinson
890   - Introduction of the remote errors. 
891     They are the result of a RMI/RPC on the remote machine.
892     ErrCodes being scalar values, you can't get the host on which those
893     errors did happen. Extending the error mechanism as in Gnome is possible.
894     No idea yet whether it is a good idea.
895     
896 2004-10-28 Martin Quinson
897   - Interface revolution: the Starred Structure Eradication.
898     I used to do typedef struct {} toto_t; and then handle *toto_t.
899     Arnaud (and Oli) didn't like it, and I surrendered. Now, you have:
900       - ???_t is a valid type (builded with typedef)
901       - s_toto_t is a structure (access to fields with .)
902       - s_toto   is a structure needing 'struct' keyword to be used
903       - e_toto_t is an enum
904       -   toto_t is an 'object' (struct*)
905     Exemple:
906       typedef struct s_toto {} s_toto_t, *toto_t;
907       typedef enum {} e_toto_t;
908     Moreover, only toto_t (and e_toto_t) are public. The rest (mainly
909      s_toto_t) is private.
910     
911   - While I was at it, all gras_<obj>_free() functions want a gras_<obj>_t*
912     so that it can set the variable to NULL. It was so for dicts and sets,
913     it changed for dynars.
914     
915   - Fix a bunch of memleaks in dict_remove
916   - Fix a bug in sg/server_socket opening: it failed all the time.
917
918 2004-10-07 Martin Quinson
919   - Speed up dynar lookup operation a bit.
920   
921     gras_dynar_get is dead. 
922     
923     Now, you can choose between gras_dynar_get_cpy (the old gras_dynar_get
924     but should be avoided for efficiency reasons) and gras_dynar_get_ptr
925     (which gives you the address of the stored data).
926     
927     gras_dynar_get_as is an helpful macro which allows you to retrieve a
928     copy of the data using an affectation to do the job and not a memcpy.
929     
930     int toto = gras_dynar_get_as(dyn,0,int); rewrites itself to
931     int toto = *(int*)gras_dynar_get_ptr(dyn,0);
932     
933     It does not really speedup the dynar test because they are
934     setting elements all the time (and look them seldom). But the dict does
935     far more lookup than setting.
936
937     So, this brings the dict_crash test from ~33s to ~25s (200000 elms).
938
939 2004-10-05 Martin Quinson
940   - Allow to (en/dis)able the cycle detection at run time.
941   
942     Whether we should check for cycle or not is now a property of each
943     datatype. When you think there may be some cycle, use datadesc_cycle_set.
944     datadesc_cycle_unset allow to remove this property when previously set.
945     
946     Note that the cycle detection is off by default since it impacts the 
947     performance. Watch the data you feed GRAS with ;)
948     
949     This property is hereditary. Any element embedded in a structure having it
950     set have it set for the time of this data exchange.
951     
952     You should set it both on sender and receiver side. If you don't set it on
953     sender side, it will enter an endless loop. If you forget on receiver
954     side, the cycles won't be recreated after communication.
955     
956   - Header reorganization.
957     Kill gras_private.h, each submodule must load the headers it needs.
958
959 2004-10-04 Martin Quinson
960   - Interface revolution: do not try to survive to malloc failure.
961   
962     Now, gras_malloc and friends call gras_abort() on failure.
963     As a conclusion, malloc_error is not a valid error anymore, and all
964       functions for which it was the only gras_error_t return value are
965       changed. They now return void, or there result directly. 
966     This simplify the API a lot.
967
968 2004-09-29 Martin Quinson
969   - Re-enable raw sockets.
970     Created by gras_socket_{client,server}_ext;
971     Used with gras_raw_{send,recv}
972     No select possible.
973     
974     It should allow to kill the last bits of gras first version soon.
975   
976     This is not completely satisfactory yet (duplicate code with
977      chunk_{send,recv}; a bit out of the plugin mechanism), but it should
978      work. 
979
980   - Simplify transport plugin (internal) interface by not passing any
981     argument to _server and _client, but embedding them in the socket
982     struct directly. 
983
984 2004-09-28 Martin Quinson
985   - Finish the port to AIX.
986     autoconf was my problem (segfault within the malloc replacement
987     function. No idea why)
988         
989 2004-09-16 Martin Quinson
990   - Fix some size_t madness on 64bit architectures.
991   
992 2004-09-08 Martin Quinson
993   - Reduce the number of system headers loaded, overload some more system
994     calls (such as malloc to cast the result of the system one, and work
995     properly on AIX)
996   - Fix and reintroduce the config support
997
998 2004-09-07 Martin Quinson
999   - Source code reorganization to allow Arnaud to surf all over there.
1000   - Allow to document the logging categories.
1001   - Remove all uppercase from logging categories and useless cleanup in names.
1002
1003 2004-08-18 Martin Quinson
1004   Version 0.6.2 (protocol not changed; API changed)
1005   - Interface cleanup: gras_msgtype_by_name returns the type (instead of a
1006      gras_error_t), and NULL when not found. Functions expecting a msgtype
1007      as argument (msg_wait; msg_send) deal with NULL argument by providing a
1008      hopefully usefull message.
1009   - Portability to prehistoric sparcs again
1010
1011 2004-08-17 Martin Quinson
1012   Version 0.6.1 (protocol not changed; ABI not changed)
1013   - prealloc some buffers to speed things up
1014
1015 2004-08-11 Martin Quinson
1016   Version 0.6 (protocol not changed; ABI expended)
1017   - The parsing macro can deal with the references, provided that you add
1018     the relevant annotations (using GRAS_ANNOTE(size,field_name))
1019
1020 2004-08-09 Martin Quinson
1021   Version 0.5 (protocol not changed; ABI changed)
1022   - Allow to off turn the cycle detection code in data exchange at
1023     compilation time. It should be at run time, but I'm short of time (and
1024     the config stuff is still broken). That way, we keep dict out of the
1025     critical path, which is good because the performance is poor:
1026      - search not dichotomial yet
1027      - dynar give no way to access their content and memcpy everytime
1028   - In composed data description (struct, ref and so on), stop foolness of
1029     keeping the subtype's ID, but store the type itself. This keeps sets out
1030     of the critical path, which is good since they rely on dynar and
1031     dictionnaries. The only loose of that is that we cannot detect the
1032     redeclaration of a structure/union with another content (but I'm not sure 
1033     the code detected well this error before anyway). We still can detect
1034     the redefinition discrepancy for the other types.
1035   - Use a whole bunch of optimisation flags (plus -fno-strict-aliasing since
1036     it breaks the code because of type-punning used all over the place).
1037     This breaks on all non-gcc architectures (for now).
1038     
1039   All those changes (plus the buffer of last time) allow me to gain 2 order
1040   of magnitude on cruel tests consisting of 800000 array of integers on two
1041   level of a hierarchical structure (200 secondes -> 4 secondes)
1042   
1043   API change:
1044     - the selector of reference must now return the type it points to, not
1045       the ID of this type.
1046
1047 2004-08-06 Martin Quinson
1048   Version 0.4 (protocol changed; ABI not changed)
1049   - Allow to pass --gras-log argument to processes in simulation mode. Really.
1050   - New debugging level: trace (under debug) to see effect of GRAS_IN/OUT
1051   - Implement a buffer transport, and use it by default (it relies on tcp in
1052      real life and on sg in simulation).
1053     That's a bit hackish since I had a new field to the structure to store
1054      its data without interfering with the subtype ones. Inheritance
1055      is tricky in C. And that's a kind of reverse inheritance with one class
1056      derivating two classes. Or maybe a game with java interfaces. Anyway,
1057      that's damn hard in C (at least).
1058     Moreover, I got tired while trying to ensure plugin separation and
1059      genericity in SG mode. MSG wants me to do weird things, so let's go for
1060      cruel hacks (temporarily of course ;).
1061      See comment in transport_private.h:71
1062   - do not include all the _interface headers in private but in the files
1063     which really need them (to cut the compilation time when they are
1064     modified) 
1065
1066 2004-07-26 Martin Quinson
1067   Version 0.3 (protocol not changed; ABI changed)
1068   - Major overhault of the datadesc interface to simplify it:
1069     - shorted the function names:
1070       s/gras_datadesc_declare_struct/gras_datadesc_struct/ and so on
1071     - add a trivial way to push/pop integers into the cbps without malloc.
1072       This allows to make really generic sub_type description, which simply
1073         pop their size of the stack.
1074     - add a function gras_datadesc_ref_pop_arr() which does what users want
1075       most of the time: Declare a dynamic array (which pops its size of the
1076       stack) and declare a reference to it. Poor name, but anyway.
1077     - kill the post-send callback, add a post-receive one
1078     
1079 2004-07-23 Martin Quinson
1080   Version 0.2 (protocol changed; ABI changed)
1081   - add some testing for cpbs in the test cases, and fix some more bugs.
1082     This invalidate again the little64 data file, since I cannot regenerate
1083     it myself.
1084   - remove an awfull optimization in the logging stuff, allowing me to:
1085     - understand it again
1086     - learn gcc how to check that the argument match the provided format
1087     - fix all errors revealed by gcc after that
1088   - internal keys of dict are not \0 terminated. Deal with it properly in
1089     loggings instead of segfaulting when the user want to see the logs :-/
1090
1091 2004-07-22 Martin Quinson
1092   - Fix some stupid bug preventing cbps (callback postit) from working
1093
1094 2004-07-21 Martin Quinson
1095   - Some documentation cleanups
1096   - remove the useless last argument of msgtype_declare
1097   - rename the Virtu functions to fit into the 'os' namespace
1098   - move headers src/include -> src/include/gras/ and stop fooling with 
1099     gras -> . symbolic link
1100   - make distcheck is now successful
1101
1102 2004-07-19 Martin Quinson
1103   Version 0.1.1
1104   - Build shared library also
1105   - Install html doc to the right location
1106   - stop removing maintainer files in make clean
1107   - build tests only on make check
1108   
1109 2004-07-13 Martin Quinson
1110   version 0.1
1111   - No major issue in previous version => change versionning schema
1112   - Re-enable little64 convertion test now that Abdou kindly regenerated the
1113     corresponding dataset.
1114   
1115 2004-07-11 Martin Quinson
1116   version 0.0.4
1117   - Get it working with any kind of structure (we can compute the padding
1118     bytes remotely for all the architectures I have access to)
1119   - Implement the structure parsing macro (still not quite robust/complete)
1120   - Improvement to the remote testing toysuite
1121   
1122 2004-07-10 Martin Quinson
1123  [autoconf mechanism]
1124   - get ride of a bunch of deprecated macros
1125   - actually run the test for two-compliment, not only compile it :-/
1126   - test whether the structures get packed (and bail out if yes. Damn.
1127     Alignment is a serious matter)
1128   - test whether the structures get compacted (but respecting the alignment
1129     constraints of each types)
1130   - test whether the array fields of structures can straddle alignment boundaries
1131  [base]
1132   - Damnit, double are bigger than float (typo in creation of 'double' datadesc)
1133     (took me 2 hours to find that bug, looking at the wrong place)
1134   - Add gras_datadesc_declare_{union,struct}_close(). They must be used
1135     before sending/receiving and are used to compute the offsets of fields
1136   - Given that padding size depend even on compiler options, keep track of
1137     alignment and aligned_size only for the current architecture. Not a big
1138     deal since we send structure fields one after the other (seems
1139     reasonable).    
1140   - Add the datastructure used for IEEE paper by the PBIO guys to the test
1141     program, let it work on linux/gcc/little32. portability todo.
1142
1143 2004-07-08 Martin Quinson
1144   - import and improve remote compilation support from FAST
1145   - make sure make check works on half a dozen of machines out there
1146
1147 2004-07-07 Martin Quinson
1148  Let's say it's version 0.0.3 ;)
1149   - Implement conversions (yuhu!)
1150   - Let it work on solaris (beside conversion, of course)
1151   - Stupid me, using rand() to generate the conversion datatests in not wise.
1152
1153 2004-07-06 Martin Quinson
1154   - Let make dist work, since I'm gonna need it to compile on remote hosts
1155   - Let Tests/datadesc_usage write the architecture on which the file was
1156     generated as first byte.
1157   - Add PowerPC (being also IRIX64), SPARC (also power4) and ALPHA
1158     architecture descriptions. 
1159   - Add datadesc_usage.{i386,ppc,sparc} files being the result of execution
1160     on those architectures.
1161   - Optimization: send/recv array of scalar in one shoot
1162
1163 2004-07-05 Martin Quinson
1164   - YEAH! GRAS/SG and GRAS/RL are both able to run the ping example !
1165   
1166   - Plug a whole bunch of memleaks
1167   - each process now have to call gras_{init,exit}. One day, their log
1168     settings will be separated
1169   - Continue the code factorisation between SG, RL and common in Transport.
1170
1171 2004-07-04 Martin Quinson
1172  [Transport]
1173   - Redistribution between SG and RL. 
1174     We wanna have to accept in SG, so move accepted related parts of RL in
1175     the common part. (more precisely, the dynar of all known sockets is no
1176     more a static in transport.c, but part of the process_data)
1177  [Core/module.c] 
1178  [gras_stub_generator]
1179   - Bug fix: Do call gras_process_init from gras_init (wasnt called in RL).
1180
1181 2004-07-03 Martin Quinson
1182   - Create a new log channel tbx containing dict, set, log, dynar (to shut
1183     them all up in one shot)
1184  [DataDesc]
1185   - Fix the ugly case of reference to dynamic array.
1186   - New (semi-public) function gras_datadesc_size to allow the messaging
1187     layer to malloc the needed space for the buffer.
1188  [Transport]
1189   - gras_socket_close now expect the socket to close (and not its address to
1190     put NULL in it after it). This is because the socket passed to handlers
1191     is one of their argument (=> not writable).
1192  [Messaging]
1193   - propagate the interface cleanup from last week in datadesc, ie remove a
1194     superfluous level of indirection. User pass adress of variable
1195     containing data (both when sending and receiving), and not of a variable
1196     being a pointer to the data. Let's say that I like it better ;)
1197       The price for that is constructs like "int msg=*(int*)payload" in
1198     handlers, but it's a fine price, IMHO.
1199  [examples/ping]
1200   - Let it work in RL (yuhu)
1201
1202 2004-06-21 Martin Quinson
1203  [Transport]
1204    - porting SG plugin and SG select to new standards (works almost).
1205    - plug memleaks and fix bugs around.
1206    
1207  [DataDesc] 
1208    - cleanup the prototype of data recv and force users to specify when they 
1209      want to handle references to objects. Test case working even for cycles.
1210    - plug memleaks. Valgrind is perfectly ok with this.
1211
1212 2004-06-12 Martin Quinson
1213  [Transport] 
1214    - cleanup the separation between plugin and main code in plugin creation 
1215
1216 2004-06-11 Martin Quinson
1217  [Transport]
1218    - Reput hook for raw sockets, needed for BW experiments
1219    - kill a few lines of dead code
1220  [Data description] Interface cleanup
1221    - gras_datadesc_by_name returns the searched type or NULL.
1222      That way, no variable is needed to use a type desc once, which makes
1223       the code clearer.
1224    - gras_datadesc_declare_[struct|union]_append_name is removed. The last
1225       two parameters were strings (field name, type name), leading to
1226       common errors.
1227  [Dicos] Interface cleanup
1228    - gras_dico_retrieve -> gras_dico_get ; gras_dico_insert -> gras_dico_set 
1229      This is consistant with the dynar API.
1230
1231 2004-04-21 Martin Quinson
1232  [Messaging]
1233    - Porting to new standards.
1234  [Data description]
1235    - interface cleanup. 
1236      There is no bag anymore, no need to take extra provision to mask the
1237        pointers behind "ID". 
1238      Better splitup of functions between files create/exchange/convert.
1239        This is still a bit artificial since convert and receive are so
1240        interleaved, but anyway.
1241  [Virtu(process)]
1242    - add a queued message list to procdata (the ones not matching criteria
1243      in msg_wait)
1244    - factorize some more code between SG and RL wrt procdata
1245  [Tests]
1246    - use gras_exit in example to track memleaks
1247    - get rid of gs_example now that GS is properly integrated into gras
1248    - update run_test to integrate the lastest tests (datadesc)
1249  [Logging]
1250    - rename WARNINGn macros to WARNn since it prooved error-prone
1251      
1252 2004-04-19 Martin Quinson
1253  [Data description]
1254    - register init/exit functions within gras module mechanism   
1255    - send/receive function. 
1256    Convertion is not implemented, but short-cutted if not needed.
1257    struct/array elements are sent one by one (instead of block-wise), but
1258      nobody really cares (yet). Get a prototype before optimizing.
1259    - tests (using a file socket) for DD send/receive on:
1260      - base types: int, float
1261      - array: fixed size, string (ie ref to dynamic string)
1262      - structure: homogeneous, heterogeneous
1263      - chained list, graph with cycle
1264    Believe it or not, valgrind is not too unhappy with the results. The
1265     cycle happily segfaults, but the others are ok. And I'm sick of pointers
1266     for now.
1267  [Transport]
1268    [File plugin] 
1269      - Bugfix when using a filename explicitely (instead of '-')
1270
1271 2004-04-09 Martin Quinson
1272  [Transport plugins]
1273    - factorize more code between RL and SG in socket creation
1274    - Complete the implementation and tests of:
1275      o TCP
1276      o file (only in RL, and mainly for debugging)
1277      
1278      I lost 3 days to design a portable address resolver, and then decided
1279        that the prototype mainly have to run on my box.
1280      Addressing portability too early may be like optimizing too early :-/
1281  [Tests]
1282    - use gras_init in the Tests instead of the crappy parse_log_opt 
1283      (the latter function is removed)
1284  [Conditional execution]
1285    - New functions: gras_if_RL/gras_if_SG (basic support for this)
1286  [Code reorganisation]
1287   - Get rid of libgrasutils.a since it makes more trouble than it solves.
1288     Build examples against the RL library, since there is no way to disable
1289     its creation for now.
1290
1291 For information, the beginning of coding on GRAS was back in june
1292 2003. I guess that every line has been rewritten at least twice since
1293 then.