source: trunk/FACT++/dim/README_v19.txt@ 14098

Last change on this file since 14098 was 13995, checked in by tbretz, 12 years ago
Switched to v19r35
File size: 30.0 KB
Line 
1
2 DIM version 19.35 Release Notes
3
4Notes 1 and 2 for Unix Users only
5NOTE 1: In order to "make" DIM two environment variables should be set:
6 OS = one of {HP-UX, AIX, OSF1, Solaris, SunOS, LynxOS, Linux, Darwin}
7 DIMDIR = the path name of DIM's top level directory
8 The user should then go to DIM's top level directory and do:
9 > source .setup
10 > gmake all
11 Or, if there is no support for C++ on the machine:
12 > gmake CPP=no all
13
14NOTE 2: The Name Server (Dns), DID, servers and clients (if running in
15 background) should be started whith the output redirected to a
16 logfile ex:
17 Dns </dev/null >& dns.log &
18
19NOTE 3: The Version Number service provided by servers is now set to 1935.
20
2124/05/2012
22Changes for version 19.35:
23 - Fixed the DimInfo() default constructor, now if the default constructor is called, it doesn't cause the
24 destructor to crash anymore.
25 - Made available to DimInfo, DimStampedInfo, DimUpdatedInfo and DimCurrentInfo the method:
26 - void subscribe(char *name, void *nolink, int nolinksize, int time, DimInfoHandler *handler)
27 Like this the default constructor can be called and then this method called later to subscribe
28 whenever needed.
29 - The behaviour of a giving a null pointer and size 0 as "no link" parameters was not completely
30 defined. The user could get back either a null pointer or an "invalid" pointer in the callbacks.
31 This is now well-defined:
32 - If null pointer and size 0 is used at subscribe, the user will get null pointer and size 0 in the callback.
33 - If a negative size is passed at subscribe the callback is not called at all.
34
35
3603/05/2012
37Changes for version 19.34:
38 - Changed back to dna_write_nowait() the message that the server sends to the client when removing
39 a service. This was causing clients not to reconnect ever again when the server removed services.
40 (because the client would get the info much before the DNS, so it would keep trying to reconnect
41 and failing even though the service or even the server didn't exist anymore, without asking the DNS)
42 - Changed the client in order to avoid the behaviour above, i.e. if sending the service request fails it
43 asks the DNS again.
44
45
4623/04/2012
47Changes for version 19.33:
48 - A bug was introduced in v19r30. When trying to retry immediately, a dtq_start_timer(0)
49 was used (like for dna_write). This is not possible because the callback is not protected
50 by a DIM lock. Fixed. (in v19r32)
51 - Small tidy up in dic.c and protecting the move_to_xxx functions.
52 - When a server received an unsubscribe from the last subscribed service of a client it was closing the
53 connection to the client, this is not good because there could be commands being sent. In any case
54 it should be up to the client to close the connection - Fixed.
55 - dim_send_command now accepts a "-i" argument to send integer data (default is string)
56
57
5830/03/2012
59Changes for version 19.31:
60 - changed dna_write to dna_write_nowait for servers when removing a service and for clients
61 when releasing and subscribing to a service. Dna_write cannot be used for the same connection
62 as dna_write_nowait as it will mingle the packets.
63 - Removed more compiler warnings.
64
65
6614/03/2012
67Changes for version 19.30:
68 - Sometimes when trying to open a connection to a server the client could backoff for too
69 long (10 seconds), now it will retry immediately and then at increasing intervals.
70 - dim_stop() would sometimes not properly stop all threads if a new connection was received
71 in the mean time.
72 - The DimServerDns destructor could crash, fixed.
73 - Removed some compiler warnings about variables set but not used.
74 - Two new functions available:
75 - dim_set_listen_backlog(int size)
76 - int dim_get_listen_backlog()
77 - The DNS will set the listen_backlog to 1024 at startup, but the OS will truncate it to
78 a maximum limit (available in /proc/sys/net/core/somaxconn, linux default=128),
79 while for servers the constant SOMAXCONN is used.
80
81
8206/02/2012
83Changes for version 19.28:
84 - Added more log messages when a "Write Timeout" occurs to know where it originated.
85 - A server could sometimes not release the connection in case of a "Write Timeout", and
86 then keep on timing out for each message on this connection - fixed.
87
88
8919/01/2012
90Changes for version 19.27:
91 - Updated the DIM Makefiles for MacOSX (Darwin)
92 - Added New possibilities to change DIM timeouts:
93 - 2 New Environment variables:
94 - DIM_WRITE_TMOUT (default: 5)
95 - DIM_KEEPALIVE_TMOUT (default: 15)
96 - Same functionality as the functions:
97 - dim_set_write_timeout(int secs)
98 - int dim_get_write_timeout()
99 - dim_set_keepalive_timeout(int secs) //new
100 - int dim_get_keepalive_timeout() //new
101 - The functions have precedence over the environment variables.
102 - The server per client exit_handler functionality
103 (provided by dis_add_client_exit_handler()/dis_set_client_exit_handler())
104 wan not always working correctly (in case of write timeouts) - fixed.
105 - Changed the reporting of "Write Tiemout":
106 - Used to report only:
107 - "ERROR: Write Timeout, disconnecting from..."
108 - Now reports:
109 - "WARNING: Write Timeout, writing to ..."
110 - If it disconnects: "ERROR: Write Timeout, disconnecting from ..."
111 - If it reconnects later: "INFO: Re-connected to ..."
112
113
11414/09/2011
115Changes for version 19.26:
116 - In the notes for version 19.08 there is the following:
117 - Since version v18r4 where dim_wait() was modified, dim_wait could hang in windows if
118 the wake_up event was triggered before dim_wait was called. Could affect smi++. Fixed.
119 - Amasingly enough this seems also to be the case for Linux, dim_wait could hang until there
120 was some new DIM activity, normally some timer firing... Fixed.
121 - The Linux DID now accepts an extra parameter: -dns=<dns_node_name>
122
12301/09/2011
124Changes for version 19.25:
125 - When a Client was releasing a service "at the same time" as the server was deleting the service,
126 The Connection could be released by mistake - fixed.
127 - The SERVICE_LIST service could be updated with an empty string if there were two consecutive
128 dis_start_serving() - fixed.
129
130
13108/08/2011
132Changes for version 19.24:
133 - The funtion DimInfo::getFormat() never return the correct format of a service, if the first time
134 it was called, the service was not available, i.e. when called inside a "no_link" callback - Fixed.
135 - Deleting the last service of a server or stopping a server could generate "Invalid Service Id"
136 messages from the service that updates DID - Fixed.
137
138
13915/07/2011
140Changes for version 19.23:
141 - The new functions:
142 int DimClient::inCallback()
143 int DimServer::inCallback()
144 Can be used to find out if the function is being called in the context of a DIM callback
145 handler (they return 1 if yes, 0 if no).
146 - There was no way to "remove" an errorHandler or exitHandler in C++.
147 Now the following functions accept 0 as parameter:
148 DimClient::addErrorHandler(0)
149 DimServer::addErrorHandler(0)
150 DimServer::addExitHandler(0)
151 DimServer::addClientExitHandler(0)
152 In order to remove them.
153 - The Windows Visual Studio Manifest file distributed since version v19r19 was wrong, so the latest
154 DIM versions did not work on Windows machines without Visual Studio 8 installed - Fixed.
155
156
15721/06/2011
158Changes for version 19.22:
159 - DIM servers would hang when tring to exit due to "Services already declared", if the user
160 exitHandler() didn't directly call exit (instead tried to exit later in the main program).
161 Fixed.
162 - Servers accept now also 'B' or 'V' as format, they are both equivalent to 'C'.
163 - In Linux when a server printed "Write timeout, disconecting from XXX", it didn't always
164 disconnect properly, so the client would not always reconnect afterwards. Fixed.
165
166
16731/05/2011
168Changes for version 19.21:
169 - Fixed a bug in DimRpcInfo: the timer for the timeout was started too late and sometimes the
170 RPC data was received in the meantime, so the timer was never stopped.
171
172
17304/05/2011
174Changes for version 19.20:
175 - Fixed a bug added in v19r18: The <server_name>/SERVICE_LIST was no longer reporting correctly
176 the disappearence of services (by a "-<service_name>" ). Fixed.
177
178
17927/04/2011
180Changes for version 19.19:
181 - Fixed a very very old (horrible) bug in dis.c and dns.c: there was a hardwired malloc(8),
182 which was only ok for 32 bit machines. It's amazing this didn't bring more trouble...
183
184
18507/04/2011
186Changes for version 19.18:
187 - The standard server service <server_name>/SERVICE_LIST had problems reporting the correct
188 information when used by several clients in paralel - fixed.
189
190
19111/03/2011
192Changes for version 19.17:
193 - The TCPIP "listen" backlog for a server was increased for all servers (including the DNS)
194 from 16 to the constant SOMAXCONN (128 on Linux at the moment, 200 on Windows ?)
195 - After a "fork" the DIM initialization sequence guided by semaphores was not correctly
196 handled, this made the forked children hang and not respond to DIM anymore - fixed.
197
198
19923/02/2011
200Changes for version 19.16:
201 - DimServer::stop() did not correctly clear the ServerName - fixed.
202 - The Linux DID now prints the DNS it is connected to in the title bar.
203
204
20520/12/2010
206Changes for version 19.15:
207 - Still fixing dis_stop_serving():
208 - The DNS sometimes gets a remove service message from a server, after the server has
209 closed the connection, this was not handled properly - fixed.
210 - Fixed yet another detail (variable not cleared) in the thread handling at dis_stop_serving().
211 - dtq.c now clears all timer_queues at dis_stop_serving()
212 - Added some protections in case of closed connections.
213
214
21510/12/2010
216Changes for version 19.14:
217 - Still fixing dis_stop_serving():
218 - Adedd pthread_join in linux to wait for threads to die
219 - the following dis_start_serving() would not reconnect to the DNS if the DNS connection
220 was pending (i.e. the DNS was stopped or restarted)
221
222
22306/12/2010
224Changes for version 19.13:
225 - Fixed a few compiler warnings in dis.c
226 - Added #ifndef PXI around some Windows setPriority calls
227 - dis_stop_serving() did not completely clean-up DIM so that another dis_start_serving()
228 could be done properly after for example a "fork()". Fixed.
229
230
23120/09/2010
232Changes for version 19.12:
233 - Fixed a bug added when removing warnings in v19r10 (dis.c and dns.c).
234
235
23607/06/2010
237Changes for version 19.11:
238 - Added some protections in update_service() in order to try to solve a DIP issue.
239 (related to very frequent updates of the same service in different threads)
240 - Added the possibility of defining timeouts for:
241 - DimBrowser::getServices
242 - DimBrowser::getServers
243 - DimBrowser::getServerServices
244 - DimBrowser::getServerClients
245 - Added the possibility of retrieving the time a command arrived:
246 - int dis_get_timestamp(int service_id, int *secs, int *millisecs) in C
247 - int DimCommand::getTimestamp() and int DimCommand::getTimestampMillisecs() in C++
248 - Added a "const" keyword to the "char *format" parameter in the constructors of
249 - DimService and DimCommand
250 - Added a call DimCommand::hasNext(), can be used when commands are queued.
251 - Fixed a memory leak when using DimService::setData and then dynamically deleting the
252 DimService
253
254
25517/02/2010
256Changes for version 19.10:
257 - Fixed a bug in the DNS related to the latest change (browsing for a single service name)
258 The DNS could crash when killing a server.
259 - Removed some compilation warnings
260
261
26204/01/2010
263Changes for version 19.09:
264 - Created two new functions: dis_set_debug_on() and dis_set_debug_off(), these
265 enable or disable printing a message per service update
266 - Tried to protect against:
267 - a service being deleted from the server while it is being updated
268 - a client unsubscribing from a service while it is being updated.
269 - Optimized the DNS when browsing for a service search pattern without wildcards
270 (i.e. browsing for a single service name)
271
272
27313/11/2009
274Changes for version 19.08:
275 - Since version v18r4 where dim_wait() was modified, dim_wait could hang in windows if
276 the wake_up event was triggered before dim_wait was called. Could affect smi++.
277 Fixed.
278 - Fixed a compilation bug in dis.c that affected some platforms.
279
280
28130/10/2009
282Changes for version 19.07:
283 - Some more bugs related to being able to publish to more that one DNS fixed.
284
285
28628/10/2009
287Changes for version 19.06:
288 - When opening DNS connections, when the DNS is not there, from a process that is at the
289 same time a client and a server only one pending connection was used now two separate
290 ones are created.
291 - Tried to fix a few more problems related to dis_stop_serving...
292
293
29426/10/2009
295Changes for version 19.05:
296 - dis_stop_serving had stopped working in version 19.4. So all servers that undeclared
297 all services and then tried to re-declare new ones would fail (corrupted server name).
298 Affected in particular the DimBridge
299
300
30127/08/2009
302Changes for version 19.04:
303 - Added the following functions:
304 Server part:
305 C - dis_get_n_clients(int service_id)
306 C++ - int DimService::getNClients()
307 Client part (C++ only):
308 DimClient::setNoDataCopy()
309 This will prevent any data copy in the client and the user should make
310 sure that the data received from DIM is not used outside the callback
311 in order to benefir from this feature.
312 - Fixed the Java DIM Jar file, it was wrong in the previous version.
313
314
31531/07/2009
316Changes for version 19.03:
317 - Removed some more compilation warnings.
318 - Fixed a bug in the DNS. The mechanism for retrieving the "SERVER_LIST" when
319 some server names were longer that 35 characters was very slow.
320
321
32206/07/2009
323Changes for version 19.02:
324 - Fixed a bug in the server part handling of RPCs, it created a memory leak.
325 It was using a separate thread to handle timeouts and there is no safe way to
326 kill a thread from outside. Fixed.
327 - the function dim_stop_thread() is now obsolete.
328 - Added the possibility to change the send and receive buffer sizes:
329 - int dim_set_write_buffer_size(int size)
330 - int dim_get_write_buffer_size()
331 - int dim_set_read_buffer_size(int size)
332 - int dim_get_read_buffer_size()
333 The default (and minimum) is 16384 bytes.
334 These calls should be done before any other DIM calls.
335 - Fixed a bug in the Java DimBrowser class (the format was not returned correctly)
336
33704/05/2009
338Changes for version 19.01:
339 - A server can now publish to more than one DNS.
340 To use an extra DNS:
341 - in "C":
342 long dnsid;
343 char extra_dns[128];
344 ...
345 dim_get_env_var("EXTRA_DNS_NODE", extra_dns, sizeof(extra_dns));
346 dnsid = dis_add_dns(extra_dns,0);
347 sprintf(name1,"NewService%d",i);
348 dis_add_service_dns(dnsid, name1, "I", &NewData, sizeof(NewData),
349 (void *)0, 0 );
350 dis_start_serving_dns(dnsid, "xx_new");
351
352 - in C++:
353 DimServerDns *newDns;
354 char *extraDns = 0;
355 DimService *new_servint;
356 ...
357 extraDns = DimUtil::getEnvVar("EXTRA_DNS_NODE");
358 if(extraDns)
359 newDns = new DimServerDns(extraDns, 0, "new_TEST");
360 ...
361 if(extraDns)
362 new_servint = new DimService(newDns, "new_TEST/INTVAL",ival);
363
364 - Removed all warnings from DIM sources so that it can be compiled with -Wall -Wextra on Linux
365 - Changed the makefiles so that the default on Linux is now 64 bits.
366 - The flag 32BITS=yes can be added in order to generate 32 bit code
367
368
36926/02/2009
370Changes for version 18.05:
371 - Made the callback for "DIS_DNS/SERVER_LIST" uninterruptible, so that two clients subscribing
372 would not get mixed up answers.
373 - The same for "<server>/SERVICE_LIST"
374 - Tryied to fix a DNS crash, introduced in v18r4 by releasing the connection when "informing clients".
375 - removed some "//" comments in "C"
376
377
37820/02/2009
379Changes for version 18.04:
380 - Changed the dim_wait() mechanism, so that it works for several threads in parallel:
381 - On Linux it was based on POSIX semaphores now it is based on POSIX "condition
382 variables"
383 - On Windows it was based on "Auto Reset Events" now it uses "Manual Resel "Events"
384 - The DNS should now correctly update the "DIS_DNS/SERVER_LIST" service. It used to report
385 a new server, even when the services already existed and the server was killed by the DNS.
386 (And never report it killed). It also didn't report correctly when a server went out of "ERROR"
387 (this is reported as a "+" as for a new server).
388
389
39005/02/2009
391Changes for version 18.03:
392 - The list of registered services in a server could get corrupted in some rare cases
393 making the server crash - fixed.
394 - If the DNS couldn't talk to a client it could sometimes hang - fixed.
395 - Java client modifications:
396 - DimUpdatedInfo was not working correctly - fixed in dim_jni.c.
397 - Implemented DimRpcInfo
398 - Changed the DimBroser class to use DimRpcInfo.
399 - Added a jdim.jar file in the jdim/classes directory of the DIM distribution
400
401
40215/01/2009
403Changes for version 18.02:
404 - Added the following functions:
405 - C++ Client
406 - int DimClient.getServerPid()
407 - Java Client
408 - int DimClient.getServerPid()
409 - String[] DimBrowser.getServers()
410 - String DimBrowser.getServerNode(String server)
411 - int DimBrowser.getServerPid(String server)
412
413
41409/01/2009
415Changes for version 18.01:
416 - Added in the distribution the Visual Studio 8 dlls and manifest. Otherwise
417 it would not work on most PCs.
418
419
42003/12/2008
421Changes for version 18.00:
422 - The Windows execulables and libraries are now built using Visual Studio 8
423 - Some changes added by GSI mainly in the Java Native Interface
424
425
42606/11/2008
427Changes for version 17.12:
428 - Client functionality:
429 - Added a new function dic_stop(), to close anything related to DIM
430 for a client
431 - Added the function dic_get_server_pid(). Similar to dic_get_server().
432 Can be executed in a callback to retrieve the pid of the current server
433 - DimBrowser Class:
434 - DimBrowser::getServices() used to create and destroy the DimRpc connection
435 to the Dns every time it was called. This was heavy if called in a loop.
436 Now the connection is maintained until the DimBrowser itself is destroyed.
437 - A new method DimBrowser::getNextServer(char *&server, char *&node, int *pid)
438 has been created. similar to the previous one but returns also the server pid.
439 - DNS
440 - The DNS was still doing some blocking write calls to servers or clients.
441 Now all write calls have a timeout and can not block forever.
442 - Linux DID
443 - The "Subscribe" button was subscribing to services with update rate of 10 seconds.
444 This was misleading, the users could think the server was calling update_service
445 when it wasn't.
446 Now there are two Subscribe buttons ("on change" or "Update rate of 10 seconds").
447 - DimDridge
448 - Accepts an extra flag "-copy" which provokes an internal copy of the data.
449
450
45108/09/2008
452Changes for version 17.11:
453 - Some DIM Processes, servers or clients could enter a loop taking 100 % CPU
454 time in some rare occasions, fixed.
455 - Added some protections when removing services in the DimBridge.
456
457
45830/08/2008
459Changes for version 17.10:
460 - Some DIM Processes, servers or clients would not reconnect when the DNS was
461 restarted. Fixed two cause:
462 - Some processes in Linux were stuck reading from the DNS socket
463 - Some others "forgot" to set a timer under very special conditions
464 - Changed some of the DNS debug messages to be more explicit.
465
466
46721/07/2008
468Changes for version 17.09:
469 - DIM error messages were not being flushed when the output was redirected
470 to a logfile, fixed.
471
472
47318/07/2008
474Changes for version 17.08:
475 - Sometimes a server or a client could do a read on a sockect that had just
476 been closed which left them hanging forever - fixed.
477
478
47901/07/2008
480Changes for version 17.07:
481 - The DimTimer was sometimes not started when the constructor was called
482 with a time argument.
483 - Clients could not connect to more than 1024 servers - fixed.
484 (if the machine allows more than 1024 connections)
485
486
48730/06/2008
488Changes for version 17.06:
489 - Corrected the makefile for Darwin, now the number of accepted connections is
490 increased to 8192 only for Linux.
491 - Fixed a bug in the DimTimer, it used to accept to be re-started, but then crashed
492 at destruction time if not stopped the same number of times. Now it can not be
493 re-started.
494 - The Dns used to ask servers to re-register at regular intervals when they were not
495 sending their watchdog messages (i.e. they were in "ERROR", red in DID). Now the
496 DNS only asks once (unless they answer). This could cause the DNS to hang if
497 servers were in ERROR for a long time.
498 - The Dns now accepts a command line parameter: -d to print debug messages.
499 - The clients were not handling properly the case when they could contact the DNS
500 but then they could not contact the server that the DNS gave them (either because
501 of a firewall or because the server run on an inaccessible network). In this case
502 the clients would timeout trying to contact the server for each service and kept
503 asking the DNS the server coordinates over and over again. Now the clients keep
504 a list on unreacheable servers, so they don't try to contact the server for each
505 service and only ask the DNS again with an increasing interval that goes from 10
506 seconds to 2 minutes maximum.
507 - The server now issues an error message if the format string is too long.
508 - Linux DID
509 - Removed the command "Kill ALL Servers", it was too dangerous
510 - Now the list of nodes in "View Servers by Node" is in alphabetical order and
511 in lowercase.
512
513
51430/04/2008
515Changes for version 17.05:
516 - In Linux in some cases a SIGPIPE was generated. Normally the DIM library sets
517 the behaviour of SIGPIPE to ignored, but if another library or main program
518 changes the SIGPIPE behaviour, then the application could exit when the SIGPIPE
519 was generated. Fixed - on Linux now the function send with flag MSG_NOSIGNAL
520 is used in oder to avoid generating SIGPIPE.
521
522
523
5244/04/2008
525Changes for version 17.04:
526 - Sometimes processes (servers or clients) would hang when the DNS was restarted.
527 This was due to a strange (Windows?) feature, by which a connect could succeed
528 after a connection was closed (and reported) on the other side. Fixed.
529
530
531
53227/03/2008
533Changes for version 17.03:
534 - Can now make DID for 64 bits by making DIM using:
535 gmake X64=yes all
536 - Increased the size of the Hash tables for the servers and the DNS.
537
538
539
54020/02/2008
541Changes for version 17.02:
542 - Fixed the Java DimTimer - stop() didn't work
543 Required changing dim_jni.c as well as the java part
544 - Fixed DIM for Darwin - had stopped working
545
546
547
54820/01/2008
549Changes for version 17.01:
550 - The Java API now works on 64 bit machines, Thanks to Joern Adamczewski.
551 Please use:
552 gmake JDIM=yes all
553 - Linux executables are now compiled/linked on slc4 (32 bits).
554 - Big changes in the DimRpcs both client and server part. Tere were bugs
555 related to the handling of timeouts.
556 Unfortunatelly all applications using RPCs need to be re-linked.
557
558
559
560-----------------------------------------------------------------------------------------
561Previous version history:
562
56307/12/2007
564Changes for version 16.14:
565 - Now by default All DIM processes are ready to accept up to 8192 connections, both
566 in Linux and Windows. Although in Linux for this to be effective the machine system
567 limits must allow more than 1024 descriptors/open files per process.
568 - Fixed a little memory leak in tokenstring.cxx
569 - And a little compilation bug for some platforms in tcpip.c
570
571
57215/05/2007
573Changes for version 16.13:
574 - If DIM_HOST_NODE is defined when starting up a server, a DIM client will now try
575 two network interfaces in order to talk to that server and only give up if they both
576 fail. First it will try the ip name or ip address specified by the server using
577 DIM_HOST_NODE, if that fails it will try the ip address of the default interface
578 retrieved by the server using gethostname (and gethostbyname).
579 The changes basically affect the case in which the DIM_HOST_NODE given to the servers
580 is specified as IP address instad of an IP name. Otherwise this mechanism was already
581 working.
582
583
5843/05/2007
585Changes for version 16.12:
586 - The Java version did not exit properly when main() terminated - fixed.
587
588
58925/04/2007
590Changes for version 16.11:
591 - On Linux the timeout to detect a lost connections (unplugged ethernet cable
592 or machine reboot) was too long, around 15 minutes - Fixed.
593 On Linux the KEEPALIVE feature is now used instead of a regular socket write,
594 all other platforms should work as before.
595
596
59721/02/2007
598Changes for version 16.10:
599 - Found a bug in dis_stop_serving: one socket connection was not closed - fixed.
600 - Implemented a new environment variable for the DNS: DIM_DNS_ACCEPTED_NODES
601 Can receive a list on nodes or domains separated by commas.
602 If the DNS receives a connection from a node not in this list, it will
603 reject it and kill the server or client requesting it.
604 - Fixed some C++ warnings.
605
606
60719/01/2007
608Changes for version 16.9:
609 - The modifications done in version 16.8 have introduced a bug:
610 - DIM servers would not behave properly (exit) when receiving a kill command
611 from the DNS (for duplicated services, not allowed host names or manual "kill")
612 This is now fixed.
613
614
61530/10/2006
616Changes for version 16.8:
617 - Modified dis_stop_serving() and DimServer::stop() to completely stop DIM:
618 - Stop also the DIM threads.
619 - Release all allocated memory
620 - Allow a different port number when re-starting.
621
622
62311/07/2006
624Changes for version 16.7:
625 - Prepared for increasing the number of open connections per process
626 (On Linux still requires changing some parameters and recompiling the Dns)
627 - Fixed one error and several warnings for gcc 4.
628
629
63011/05/2006
631Changes for version 16.6:
632 - Sometimes a server or client would crash while exiting if the DNS was not running.
633 Fixed.
634 - Fixed the reporting of some ERROR messages on Windows (used to report error "0")
635 - Allowed dim_send_command to receive instead of -dns <node_name>
636 -dns <node_name>[:<port_number>]
637
638
63901/05/2006
640Changes for version 16.5:
641 - Big Spring Cleanup. Removed most warnings. Can now be compiled on
642 Windows with Warning Level 3 and on Linux with -Wall
643 (still not working for -ansi -pedantic...)
644 - When trying to access a server in a different network (i.e. not reacheable)
645 a client (for example DID) would take very very long to timeout - fixed.
646 - Added two new sets of functions that allow setting the DIM_DNS_NODE separately
647 for a server and a client in the same process:
648 - int dis_set_dns_node(char *node)
649 - int dis_get_dns_node(char *node)
650 - int dis_set_dns_port(int port)
651 - int dis_get_dns_port()
652
653 - int dic_set_dns_node(char *node)
654 - int dic_get_dns_node(char *node)
655 - int dic_set_dns_port(int port)
656 - int dic_get_dns_port()
657 These routines should be used instead of the equivalent ones starting with "dim_"
658 since these set the same DIM_DNS_NODE/port for both Server and client parts of a
659 process.
660 - Adapted the C++ equivalents (DimClient::setDnsNode, etc. and DimServer::setDnsNode,
661 etc.) to use the new routines, so they are now independent.
662 Adapted also the Java equivalents.
663 - Fixed DimBridge to use the new routines.
664 - Fixed a bug in DID that made it crash sometimes at startup (and also when the DNS
665 restarted)!
666 - Found some very interesting features of DIM:
667 - In a node with two ethernet interfaces (so connected to two networks):
668 - The DNS will answer to servers and client on both networks, only its server
669 part - DIS_DNS (the one that answers to DID and DimBrowser requests) would
670 in principle answer only to one of the networks (in principle the default
671 interface* but can be changed by setting the environment variable "DIM_HOST_NODE").
672 - But, in fact, if the DNS or any server is started with the environment variable
673 DIM_HOST_NODE set to the interface that is not the default* one. Than both the
674 DNS (including the server part) and the DIM servers will be accessible from both
675 networks. For example DID will work fine on both networks.
676 * The command "hostname" will return the name of the default network interface.
677
678 Note: As a result of inserting new functions the DIM shared library entry points have
679 changed, so all DIM Servers/Clients should be relinked (in particular in Linux).
680
681
68220/04/2006
683Changes for version 16.4:
684 - Optimized the DNS for providing the list or running servers dynamically
685 by subscribing to the service "DIS_DNS/SERVER_LIST"
686
687
68807/04/2006
689Changes for version 16.3:
690 - Upgraded to work on LynxOS Version 4.
691 - Updated makefile for INTEL platform
692 - Updated some ifdefs based on the existence of __Lynx__
693
694
69510/03/2006
696Changes for version 16.2:
697 - Increased the listen queue. To avoid "Connection Refused" messages from servers
698 or from the DNS.
699
700
70128/02/2006
702Changes for version 16.1:
703 - Fixed the NO_THREADS option for LINUX, it had stopped working.
704 - DimInfo::getData() could return an invalid pointer if called before connecting
705 to the server (or discovering the server did not exist). Fixed
706 (it now returns 0 in this case).
707
708
70909/11/2005
710Changes for version 16.0:
711 - Consolidated the new timer handling mechanism, should be much more precise.
712 - Fixed the RPC handling. Used to be based on timming assumptions.
713 Now uses a safe protocol to make sure the server is connected before sending
714 an RPC request.
715 - Included in the distribution some performance measurements and a benchmark
716 server and client. Sources in src/benchmark executables in /bin for windows
717 and /linux for linux.
718 Usage:
719 benchServer <message_size_in_bytes> <number_of_services>
720 benchClient
721 benchClient will run for a while and print the measurement results.
722
723Please check the Manual for more information at:
724 http://www.cern.ch/dim
Note: See TracBrowser for help on using the repository browser.