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