Debian Codegraph @

ChangeLogs/ChangeLog-1999a

raw
1 Sat Jul 31 20:29:17 1999 Nanbor Wang <[email protected]>
2
3 * ace/OS.cpp: Moved the comment regarding *printf to where it
4 belongs.
5
6 * ace/OS.h: Removed an extra trailing semicolon following
7 IPPROTO_TCP.
8
9 Sat Jul 31 19:27:50 1999 Douglas C. Schmidt <[email protected]>
10
11 * examples/Shared_Malloc/test_position_independent_malloc.cpp:
12 Now that position-independent malloc works, I finished
13 integrating all the features in this test.
14
15 Sat Jul 31 19:06:05 1999 Carlos O'Ryan <[email protected]>
16
17 * ace/Pipe.cpp:
18 The third argument to ACE_OS::setsockopt() is a "const char*" no
19 sense in casting it to void*!
20
21 Sat Jul 31 18:55:34 1999 Kirthika Parameswaran <[email protected]>
22
23 * ace/Asynch_IO_Impl.{h, cpp}:
24 Fixed compiler errors: redefinition of destructors of the
25 classes in this file. Removed inline declaration of destructors
26 and defined those which hadnt been defined.
27
28 Sat Jul 31 17:54:32 1999 Carlos O'Ryan <[email protected]>
29
30 * etc/enforce_ace_try.diff:
31 Apply this patch file and then compile to enforce the correct
32 use of ACE_TRY macros. It renames the exception(), clear() and
33 print_exception() methods in the CORBA::Environment class.
34
35 Sat Jul 31 17:39:42 1999 Carlos O'Ryan <[email protected]>
36
37 * ace/Timeprobe_T.cpp:
38 Print timeprobe results with higher precision (3 decimal
39 digits), this is useful for extremely fine grained analysis
40 where just microseconds won't cut it.
41
42 Sat Jul 31 12:07:48 1999 Douglas C. Schmidt <[email protected]>
43
44 * ace: Updated comments in all the header files so that references
45 to method names like ACE_Event_Handler::handle_input() were
46 changed to <ACE_Event_Handler::handle_input>. This change
47 enables the class2man scripts to use the appropriate "code" font
48 for these names in the auto-generated documentation.
49
50 * ace/Asynch_IO_Impl: Moved the
51 virtual destructors for all the ACE_Asynch_*_Impl classes into
52 the *.cpp file, which is where they belong.
53
54 * ace/Functor_T.h: Moved the destructor of ACE_Command_Callback
55 out of the header file and into the *.cpp file.
56
57 * ace/Sched_Params.h: Updated the documentation a bit to mention
58 the ACE_SCHED_{FIFO,RR,OTHER} policies explicitly. Thanks to
59 Peter Mueller <[email protected]> for motivating this.
60
61 * ace/Synch_T: Moved the implementations of ACE_Read_Guard and
62 ACE_Write_Guard out of the class header and into the *.i file,
63 which is where they belong.
64
65 * ace/Based_Pointer_T.i (operator *): In order to distinquish a
66 "NULL" pointer we keep a value of -1 in target.
67
68 * ace/Based_Pointer_T.i: I was forgetting to check if
69 rhs == 0 for the ACE_Based_Pointer<> class. This leads to weird
70 behavior when assigning a "NULL" pointer.
71
72 * examples/Reactor/Misc/notification.cpp: Cleaned up the program so
73 that it looks better and doesn't crash and burn when signals occur.
74
75 * ace/Pipe.cpp (open): We now set the default size of the
76 ACE_Pipes that are implemented as Internet or UNIX-domain
77 sockets to ACE_DEFAULT_MAX_SOCKET_BUFSIZ. This will speed up
78 the Reactor's notify() method and prevent it from deadlocking as
79 quickly. Thanks to Detlef Becker <[email protected]>
80 for testing this out.
81
82 * ace/OS.h: Added a new macro called ACE_IPPROTO_TCP that factors
83 out the differences between PHARLAPs and "normal" systems.
84
85 * ace/Strategies_T.{i,cpp}: Added some additional ACE_ERROR printouts
86 if open() methods fail in constructors.
87
88 * ace/Strategies_T: The logic for creating a new Singleton wasn't
89 dynamic enough. It's now intelligent enough to create a new
90 SVC_HANDLER if it's not given one. Thanks to Hao Ruan
91 <[email protected]> for reporting this.
92
93 Sat Jul 31 15:57:16 1999 Carlos O'Ryan <[email protected]>
94
95 * ACE version 5.0 released. Party on Wayne.
96
97 Sat Jul 31 12:20:59 1999 Nanbor Wang <[email protected]>
98
99 * tests/version_tests/version_tests.dsw:
100 * tests/version_tests/Hash_Map_Bucket_Iterator_Test.dsp:
101 * tests/version_tests/Cached_Conn_Test.dsp:
102 * tests/version_tests/Cached_Accept_Conn_Test.dsp: Added three
103 missing version_tests project files.
104
105 Sat Jul 31 00:22:46 1999 Nanbor Wang <[email protected]>
106
107 * tests/Basic_Types_Test.dsp:
108 * tests/Collection_Test.dsp:
109 * tests/Dynamic_Priority_Test.dsp:
110 * tests/New_Fail_Test.dsp:
111 * tests/Reverse_Lock_Test.dsp:
112 * tests/SOCK_Connector_Test.dsp:
113 * tests/SOCK_Send_Recv_Test.dsp:
114 * tests/Thread_Mutex_Test.dsp:
115 * tests/Timeprobe_Test.dsp:
116 * tests/Upgradable_RW_Test.dsp: Rebuilt. ACE_Init_Test.dsp is
117 still broken.
118
119 Fri Jul 30 10:27:31 1999 Steve Huston <[email protected]>
120
121 * ace/config-hpux-10.x.h: Allow building w/o threads - set _REENTRANT
122 if not set, to pick up _r functions; move
123 ACE_HAS_NONCONST_SELECT_ TIMEVAL out of the threads-only
124 section.
125
126 Fri Jul 30 08:36:43 1999 Douglas C. Schmidt <[email protected]>
127
128 * ace/OS.i: Commented out the ACE_TRACE calls in ACE_OS::mutex_lock()
129 and ACE_OS::thread_mutex_lock() to avoid infinite recursion. Thanks
130 to Ulf Jaehrig <[email protected]> for reporting this.
131
132 Fri Jul 30 03:33:14 1999 Carlos O'Ryan <[email protected]>
133
134 * bin/auto_compile:
135 * bin/auto_compile_wrapper:
136 * bin/run_all_list.pm:
137 Added options to run only the tests that do not require threads
138 (-single_threaded) and that do not require the full corba
139 profile (-minimum_corba). Also added options to disable the cvs
140 update, to execute realclean before compiling and to print some
141 debugging info.
142
143 Thu Jul 29 20:44:56 1999 Ossama Othman <[email protected]>
144
145 * include/makeinclude/wrapper_macros.GNU:
146
147 Override minimum_corba variable if it isn't set to 1 (i.e. if
148 minimum_corba is not enabled). This change was needed to make
149 it easier to disable some TAO ORB services, examples and tests
150 that rely on CORBA features that aren't supported in the minimum
151 CORBA specification.
152
153 Thu Jul 29 19:04:12 1999 Ossama Othman <[email protected]>
154
155 * ace/Atomic_Op.i:
156 * ace/Filecache.cpp:
157
158 Replaced raw ACE_*_Guards with their corresponding
159 ACE_GUARD_RETURN macros. This corrects "unused variable"
160 warnings when building ACE without thread support. See David's
161 ChangeLog entry from Fri May 14 16:10:29 1999 for a better
162 description of why this was necessary.
163
164 Thu Jul 29 18:29:46 1999 Nanbor Wang <[email protected]>
165
166 * bin/run_all_list.pm: Moved the RUN_LIST definition from
167 auto_compile to this file to reduce the work to maintain the
168 list and allow auto_compile and run_all_win32.pl to synchronize
169 the tests being run.
170
171 * bin/auto_compile:
172 * bin/run_all_win32.pl: Removed definition of RUN_LIST and use the
173 run_all_list module.
174
175 Thu Jul 29 17:30:14 1999 Douglas C. Schmidt <[email protected]>
176
177 * ace/Makefile[.am] (pkginclude_HEADERS): Removed Future_Node.*
178 Thanks to John Tucker <[email protected]> and Michael Garvin
179 <[email protected]> for reporting this.
180
181 Thu Jul 29 14:47:10 1999 Ossama Othman <[email protected]>
182
183 * ace/Select_Reactor_T.cpp (dispatch_notification_handlers):
184
185 This code is used for picking up updates from non-owner threads.
186 However, it is also useful for picking up notifications from the
187 notify pipe (even though the notify is part of the I/O handle
188 set in the Select_Reactor). Therefore, we have enabled this
189 code for the single-threaded case also. Thanks to Irfan for
190 this fix.
191
192 Thu Jul 29 14:32:28 1999 Carlos O'Ryan <[email protected]>
193
194 * ace/ACE.cpp:
195 Linux without returns a different errno (EOPNOTSUPP) if the
196 connector or acceptor runs out of file descriptors.
197
198 * ace/OS.i:
199 The Errno_Guard constructor was not using an argument in
200 platforms without exceptions.
201
202 Thu Jul 29 13:59:15 1999 Douglas C. Schmidt <[email protected]>
203
204 * ACE version 4.6.47 released.
205
206 Thu Jul 29 12:32:01 1999 Nanbor Wang <[email protected]>
207
208 * ace/WFMO_Reactor.cpp (ACE_WFMO_Reactor):
209 * ace/Select_Reactor_T.cpp (ACE_Select_Reactor_T): I forgot to
210 initialize <deactivated_> flag in one of the two ctors. Thanks
211 to Ruediger Franke <[email protected]> for catching
212 this one.
213
214 Thu Jul 29 01:04:03 1999 Carlos O'Ryan <[email protected]>
215
216 * bin/auto_compile:
217 * bin/auto_compile_wrapper:
218 Updated to include the latest round of changes, new tests and
219 several improvements to send email and stuff.
220
221 Wed Jul 28 18:29:46 1999 Jeff Parsons <[email protected]>
222
223 * ace/config-win32.h:
224 Removed ACE_HAS_STD_TEMPLATE_SPECIALIZATION
225 definition. See below.
226
227 * ace/config-win32-common.h:
228 Added ACE_HAS_STD_TEMPLATE_SPECIALIZATION
229 definition, since there is a place for MSVC 6.0 stuff like this.
230 Also added ACE_HAS_BROKEN_IMPLICIT_CONST_CAST
231 definition for a generated code bug fix that just didn't have one version
232 that would satisfy both SunCC and MSVC.
233
234 Wed Jul 28 18:26:53 1999 Carlos O'Ryan <[email protected]>
235
236 * ace/CDR_Stream.cpp:
237 * ace/Message_Block.h:
238 * ace/Message_Block.cpp:
239 * ace/Message_Block_T.h:
240 * ace/Message_Block_T.cpp:
241 Re-implemented the clone() method without data copies in a
242 backwards compatible way, a new clone_nocopy() method was added
243 so classes that inherit from Data_Block and only override
244 clone() will work correctly.
245 Also fixed the implementation of Locked_Data_Blocked because it
246 is used in TAO and we need zero-copy clone() operations in that
247 case.
248
249 Wed Jul 28 16:16:27 1999 Nanbor Wang <[email protected]>
250
251 * ace/OS.cpp (set): Fixed a unsigned/signed conversion problem
252 that caused negative usec value in ACE_Time_Value. Thanks to
253 Jerry D. De Master <[email protected]> for reporting the bug.
254 (FILETIME): Removed some unused macros for dealing with older
255 Borland C++ compilers. Thanks to Jody and Gonzo for confirming
256 this.
257
258 Wed Jul 28 13:44:15 1999 Nanbor Wang <[email protected]>
259
260 * ACE-INSTALL.html: Remind users to pick the right configurations
261 when building from MSVC project files. Thanks to Jerry D. De
262 Master <[email protected]> for suggesting this.
263
264 Wed Jul 28 13:26:36 1999 David L. Levine <[email protected]>
265
266 * ACE-INSTALL.html: for VxWorks (thru Tornado 1.0.1),
267 -fno-implicit-templates is broken for x86 targets,
268 not all targets.
269
270 Wed Jul 28 13:09:26 1999 David L. Levine <[email protected]>
271
272 * docs/ACE-subsets.html: updated libACE size breakdown.
273
274 Wed Jul 28 12:08:56 1999 Ossama Othman <[email protected]>
275
276 * ace/CDR_Stream.cpp (reset_contents):
277
278 Modified call to clone() so that it uses the newly added
279 zero-copy semantics. A data copy was already being made in
280 ACE_InputCDR::steal_from(), which also calls
281 ACE_InputCDR::reset_contents(). Two data copies were being
282 performed. This change reduces the number of data copies to
283 one. Thanks to Carlos for this change.
284
285 Wed Jul 28 11:23:36 1999 Ossama Othman <[email protected]>
286
287 * ace/Message_Block.h:
288 * ace/Message_Block.cpp (clone):
289
290 Added argument that allows the characteristics of an
291 ACE_Data_Block to be copied without copying the data that the
292 ACE_Data_Block holds. This modification is part of a zero-copy
293 optimization for TAO. Thanks to Carlos for implementing this
294 change.
295
296 Wed Jul 28 09:48:37 1999 David L. Levine <[email protected]>
297
298 * docs/ACE-guidelines.html: added guideline about testing
299 for definition of a macro before using it. Thanks to
300 Susan Liebeskind <[email protected]> for
301 providing this guideline.
302
303 Wed Jul 28 00:06:32 1999 Douglas C. Schmidt <[email protected]>
304
305 * ace: Added a new Makefile.bor file for BCB4. Thanks to Christopher
306 Kohlhoff <[email protected]> for contributing this.
307
308 Tue Jul 27 23:25:18 1999 Douglas C. Schmidt <[email protected]>
309
310 * netsvcs/lib/Server_Logging_Handler_T.cpp (open): Updated a
311 comment to point out that we use a thread-per-connection
312 concurrency model. Thanks to Raghu Nambiath
313 <[email protected]> for reporting this.
314
315 Tue Jul 27 21:05:23 1999 David L. Levine <[email protected]>
316
317 * include/makeinclude/platform_tru64_cxx.GNU (ACE_DU_SUBVERSION):
318 fixed typo: -v instead of v-. Thanks to
319 Doug Anderson <[email protected]> for reporting this.
320
321 Tue Jul 27 16:58:54 1999 Kirthika Parameswaran <[email protected]>
322
323 * ace/ACE.cpp (out_of_handles): Added bug-fixes for RedHat5.2 and
324 FreeBSD. Thanks to James Megquier <[email protected]> for discovering
325 and testing out the bug-fix on RedHat5.2 and Russell.L.Carter
326 <[email protected]> for sending in a patch for FreeBSD. These
327 bug fixes are for: $ACE_ROOT/tests/
328 Cached_Conn_Test and Cached_Accept_Conn_Test.
329
330 Tue Jul 27 16:55:44 1999 Nanbor Wang <[email protected]>
331
332 * include/makeinclude/platform_sunos5_kcc.GNU (MATHLIB): KCC needs
333 to have this defined.
334
335 Tue Jul 27 16:18:21 1999 David L. Levine <[email protected]>
336
337 * ACE-INSTALL.html: updated note about shared libraries
338 on VxWorks. In particular, they don't provide copies
339 of global (static) variables in the library. So, "programs"
340 that share a library will also share the static variables in
341 the library. [Bug 86]
342
343 Tue Jul 27 14:26:37 1999 Douglas C. Schmidt <[email protected]>
344
345 * ace/SOCK_Dgram: Removed the QoS_Params from open() and
346 ACE_SOCK_Dgram since they don't appear to be useful. Thanks to
347 Vidya Narayanan <[email protected]> for suggesting
348 this.
349
350 Tue Jul 27 14:41:26 1999 Steve Huston <[email protected]>
351
352 * ace/Codeset_IBM1047.cpp: Added a static variable only for HP aC++
353 to make it stop warning of an empty translation unit.
354
355 Tue Jul 27 14:16:55 1999 Nanbor Wang <[email protected]>
356
357 * ace/Thread_Manager.cpp (cancel_thr): This method should return
358 the result of thread cancel operation if async_cancel is used.
359 Thanks to Peter Mueller <[email protected]> for suggesting
360 the fix.
361
362 Mon Jul 26 20:50:37 1999 Douglas C. Schmidt <[email protected]>
363
364 * ace/OS: Addded a new pair of priority() fields as place
365 holders for the forthcoming DiffServ QoS features. Thanks to
366 Vidya Narayanan <[email protected]> for suggesting
367 this.
368
369 Tue Jul 27 13:28:48 1999 David L. Levine <[email protected]>
370
371 * ace/OS.i (getuid): removed extra ACE_TRACE with
372 ACE_WIN32 or CHORUS. Thanks to Jerry D. De Master
373 <[email protected]> for reporting this.
374
375 Tue Jul 27 11:10:39 1999 David L. Levine <[email protected]>
376
377 * examples/System_V_IPC/Makefile: on VxWorks only, fixed
378 so that make all, etc., work properly (by just printing
379 the message that these examples aren't used on VxWorks).
380
381 Tue Jul 27 10:25:41 1999 Steve Huston <[email protected]>
382
383 * ACE-INSTALL.html: Added a note about required HP-UX 10.20
384 patch. Updated aC++ versions.
385
386 * ace/Process.{h cpp} (ACE_Process_Options::command_line): Added
387 'const' to make the entire array and contents const. Restores
388 ability for users of pre-5.0 to still pass char **. Thanks to
389 Bill Tovrea <[email protected]> for reporting this.
390
391 * examples/Connection/non_blocking/Makefile: Re-added LIBS += $(ACELIB)
392 (see ChangeLog, 23-Jul-1999) but did it in the section for AIX
393 C Set++ and IBM C/C++ only (ifdef TEMPINCDIR). This is needed to
394 generate the shared library (libConn) using those compilers.
395
396 Mon Jul 26 20:50:37 1999 Douglas C. Schmidt <[email protected]>
397
398 * ace/Future.h: Moved the static methods until the bottom
399 of the ACE_Future_Rep class (again) to workaround a bug with
400 Borland's C++ Builder. Thanks to Christopher Kohlhoff
401 <[email protected]> for reporting this (again).
402
403 Mon Jul 26 20:59:23 1999 Carlos O'Ryan <[email protected]>
404
405 * websvcs/README:
406 Added a brief description of the directory and its current
407 contents. Thanks to Will Skunk <[email protected]>
408 for motivating this.
409
410 Mon Jul 26 20:50:37 1999 Douglas C. Schmidt <[email protected]>
411
412 * ace/Log_Msg.cpp: Added support for the 'W' (UNICODE) option for
413 Win32. Thanks to Valery Arkhangorodsky
414 <[email protected]> for contributing this.
415
416 Mon Jul 26 20:58:35 1999 Alexander Babu Arulanthu <[email protected]>
417
418 * ace/POSIX_Asynch_IO.cpp:
419 * ace/WIN32_Asynch_IO.cpp: Fixed the double deletion problem of
420 the result classes. Thanks to David Digby
421 <[email protected]> and Timothy Schimke
422 <[email protected]> for reporting this.
423
424 Mon Jul 26 18:09:09 1999 Irfan Pyarali <[email protected]>
425
426 * tests/run_tests.sh (Cached_Conn_Test and
427 Cached_Accept_Conn_Test): These two tests are known to leak
428 memory when compiled with old gcc (g++). Therefore, we skip
429 these tests when using purify and old gcc (g++). A -p option
430 was added to the script to indicate that we want to run with
431 purify.
432
433 Mon Jul 26 17:09:09 1999 David L. Levine <[email protected]>
434
435 * ace/Object_Manager.{h,cpp},Makefile: don't create the
436 ACE_TOKEN_MANAGER_CREATION_LOCK and
437 ACE_TOKEN_INVARIANTS_CREATION_LOCK preallocated objects
438 if the Token component isn't build. This gets rid of
439 unresolved references to the ACE_Token_Proxy compoents
440 on VxWorks/g++ when Token isn't built. Thanks to
441 Stephane Chatre <[email protected]> for reporting this.
442
443 Mon Jul 26 17:02:08 1999 David L. Levine <[email protected]>
444
445 * include/makeinclude/wrapper_macros.GNU: don't override
446 OBJDIRS on VxWorks with shared libs. This allows
447 make realclean to work properly on VxWorks, when shared
448 lib builds are enabled.
449
450 Mon Jul 26 15:06:23 1999 Jeff Parsons <[email protected]>
451
452 * ace/CDR_Stream.i:
453 * ace/Map_Manager.i:
454 Had to cast some return values to avoid MSVC signed/unsigned
455 mismatch type warnings (level 4).
456
457 * ace/config-win32.h:
458 Added ACE_HAS_STD_TEMPLATE_SPECIALIZATION define, so that
459 ACE_TEMPLATE_SPECIALIZATION macro adds the necessart
460 'template <>' for MSVC, and so averts many many level 4
461 warnings.
462
463 Mon Jul 26 14:10:56 1999 Kirthika Parameswaran <[email protected]>
464
465 * ace/DLL.cpp (get_handle): Changed the check of <become_owner>
466 flag to now reset <close_on_destruction> only if the
467 <become_owner> is set. Thanks to Bob McWhirter <[email protected]>
468 for pointing this out.
469
470 Mon Jul 26 12:32:41 1999 Douglas C. Schmidt <[email protected]>
471
472 * ACE version 4.6.46 released.
473
474 Fri Jul 23 18:20:11 1999 Carlos O'Ryan <[email protected]>
475
476 * ace/config-irix6.x-sgic++-nothreads.h:
477 Enabled namespaces with MIPSPro 7.2 or higher.
478
479 Fri Jul 23 16:40:15 1999 Carlos O'Ryan <[email protected]>
480
481 * ace/ACE.cpp:
482 Fixed typos in error return values for ACE::execname()
483
484 Fri Jul 23 14:51:48 1999 Douglas C. Schmidt <[email protected]>
485
486 * examples/Service_Configurator/IPC-tests/Handle_L_CODgram,
487 examples/Service_Configurator/IPC-tests/Handle_L_Dgram,
488 examples/Service_Configurator/IPC-tests/Handle_L_Pipe:
489 Cleaned this stuff up so that it builds correctly when
490 ACE_LACKS_UNIX_DOMAIN_SOCKETS is enabled. Thanks to
491 David for reporting this.
492
493 * examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe:
494 Made upper_case() a method in the Handle_L_Pipe class.
495
496 * examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.cpp,
497 examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.cpp:
498 Removed the bizarre hacks for SunOS4. This stuff probably
499 hasn't been tested since 1992!
500
501 Fri Jul 23 14:16:22 1999 Steve Huston <[email protected]>
502
503 * ace/OS.i (ACE_OS::read): (only non-Win32), if call fails and
504 errno is EAGAIN, change it to EWOULDBLOCK. Improve portability for
505 platforms where EAGAIN and EWOULDBLOCK are different values and
506 both used, like HP-UX.
507
508 * ace/Malloc_T.cpp (ACE_Malloc<> ctor): Added missing newline in error
509 message.
510
511 Fri Jul 23 12:09:18 1999 Nanbor Wang <[email protected]>
512
513 * ace/OS.i: Fixed some mismatched ifdef/endif comments.
514
515 * ace/ACE.cpp (execname): Fixed some misuses of ACE_HAS_WIN32
516 macros where they should have been ACE_WIN32. Thanks to Andy
517 for noticing this.
518
519 Fri Jul 23 11:28:17 1999 Douglas C. Schmidt <[email protected]>
520
521 * ace/Memory_Pool.cpp (init_acquire): shmat() returns -1 on
522 failure, not 0. Thanks to Kevin Liu
523 <[email protected]> for reporting this.
524
525 Fri Jul 23 11:35:31 1999 David L. Levine <[email protected]>
526
527 * examples/Connection/non_blocking/tests_lsock_{acceptor,
528 connector.cpp}: disabled if ACE_LACKS_UNIX_DOMAIN_SOCKETS.
529 Thanks to Alain Magloire <[email protected]> for reporting this.
530
531 * examples/Connection/non_blocking/Makefile: removed unneeded
532 LIBS (=$(ACELIB)) and BUILD macro definitions.
533
534 Fri Jul 23 10:07:05 1999 David L. Levine <[email protected]>
535
536 * include/makeinclude/platform_qnx_neutrino.GNU: added
537 CROSS-COMPILE macro definition. Thanks to
538 Alain Magloire <[email protected]> for reporting this.
539
540 Fri Jul 23 08:58:56 1999 Douglas C. Schmidt <[email protected]>
541
542 * ace/Service_Config.h: Clarified the fact that the
543 ACE_Service_Config uses the Monostate pattern, so there can only
544 be one of them per-process. Thanks to Ralf Kluthe
545 <[email protected]> for reporting this.
546
547 Fri Jul 23 07:49:31 1999 David L. Levine <[email protected]>
548
549 * include/makeinclude/platform_sunos5_sunc++.GNU: added
550 comment about options for producing 64-bit binaries.
551 Thanks to Jeff Franks <[email protected]> for
552 raising this issue.
553
554 Fri Jul 23 03:10:31 1999 Irfan Pyarali <[email protected]>
555
556 * ace/Strategies_T.cpp (find_or_create_svc_handler_i):
557 * ace/Cached_Connect_Strategy_T.cpp (cached_connect):
558
559 I had added the new_connection() method that lets go of the lock
560 for the duration of the connect(), but forgot to use it in the
561 above functions ;) It should be fine now.
562
563 * tests/Cached_Conn_Test.cpp (cached_connect):
564 * tests/Cached_Accept_Conn_Test.cpp (cached_connect):
565
566 Host of the remote address should be ACE_LOCALHOST instead of
567 ACE_DEFAULT_SERVER_HOST.
568
569 Thu Jul 22 23:23:26 1999 Irfan Pyarali <[email protected]>
570
571 * ace/Handle_Gobbler.h (class ACE_Handle_Gobbler): Inlined
572 declaration of the functions.
573
574 Thu Jul 22 20:03:54 1999 Douglas C. Schmidt <[email protected]>
575
576 * ace/Acceptor.cpp: For sanity's sake, initialize all the data
577 members to 0 in the ACE_Strategy_Acceptor constructor. Thanks
578 to Jody Hagins <[email protected]> for reporting this.
579
580 * ace/Acceptor.cpp: The service_port_ data member in the
581 ACE_Strategy_Acceptor wasn't being initialized to 0. Thanks to
582 Jody Hagins <[email protected]> for reporting this.
583
584 * ace/Acceptor.cpp: Modified the dump() and info() methods so that
585 don't do bad things if service_name_ and service_description_
586 are NULL. Thanks to Jody Hagins <[email protected]> for this
587 suggestion.
588
589 * ace/Message_Queue_T.h: Clarified what the errnos get set to when
590 timeouts occur or queues are deactivated. Thanks to
591 John Forest <[email protected]> for suggesting this.
592
593 Thu Jul 22 16:55:14 1999 Carlos O'Ryan <[email protected]>
594
595 * ace/Stats.cpp:
596 Fixed message that had a %s but no argument!
597
598 Thu Jul 22 15:12:18 1999 David L. Levine <[email protected]>
599
600 * ace/Codeset_IBM1047.{h,cpp}: wrapped with #ifdef ACE_MVS
601 so that the code doesn't occupy any space on platforms
602 other than MVS.
603
604 Thu Jul 22 14:22:41 1999 David L. Levine <[email protected]>
605
606 * examples/Shared_Malloc/Malloc.cpp: fixed explicit
607 template instantiations so that there are no duplications
608 with ACE_LACKS_SBRK and ACE_LACKS_SYSV_SHMEM.
609
610 Thu Jul 22 12:17:26 1999 David L. Levine <[email protected]>
611
612 * ace/config-lynxos.h: removed ACE_LACKS_FORK on PowerPC.
613 All of the ACE tests that fork now succeed.
614
615 Thu Jul 22 11:54:58 1999 David L. Levine <[email protected]>
616
617 * tests/SV_Shared_Memory_Test.cpp (child): added a one
618 second sleep to give the parent a chance to create the
619 semaphore. This allows the test to succeed on LynxOS/PPC
620 (with fork ()).
621
622 * tests/Process_Mutex_Test.cpp,Process_Strategy_Test.cpp (main):
623 added a one second sleep after spawning each server, to give it
624 a chance to start. Also, wrapped some string literals with
625 ASYS_TEXT. Again, success on LynxOS/PPC with fork ().
626
627 Thu Jul 22 10:42:06 1999 Clarence M. Weaver <[email protected]>
628
629 * ACE-INSTALL.html: added steps for running the ACE tests
630 on VxWorks platforms that lack NFS.
631
632 Thu Jul 22 10:25:31 1999 David L. Levine <[email protected]>
633
634 * ace/Log_Record.cpp,SString.cpp: wrapped #include of
635 ace/streams.h with #ifndef ACE_LACKS_IOSTREAMS_TOTALLY.
636 [Bug 84]
637
638 Thu Jul 22 09:55:10 1999 David L. Levine <[email protected]>
639
640 * docs/ACE-guidelines.html: updated commit message guideline
641 to show ChangeLogTag example.
642
643 Thu Jul 22 02:15:46 1999 Irfan Pyarali <[email protected]>
644
645 * ace/Handle_Gobbler (class ACE_Handle_Gobbler): New class that
646 gobbles up handles :) This class is useful when we need to
647 control the number of handles available for a process. Mostly
648 used for testing purposes.
649
650 Note that even though the new files are in the ace directory,
651 they are not part of the ace library. The files only contain
652 inline functions and Handle_Gobbler.h is only included where
653 needed.
654
655 * tests/Cached_Conn_Test.cpp:
656 * tests/Cached_Accept_Conn_Test.cpp:
657
658 Added Handle_Gobbler to the test to reduce the iterations
659 required before handles run out and purging starts.
660
661 Wed Jul 21 21:45:22 1999 Nanbor Wang <[email protected]>
662
663 * ace/Reactor.cpp: Applied ACE_NOTREACHED to several
664 run_*_event_loop methods.
665
666 * docs/ACE-guidelines.html: Updated ASYS_TEXT usage.
667
668 * ace/RB_Tree.cpp:
669 * tests/Cache_Map_Manager_Test.cpp: Applied ASYS_TEXT liberally.
670
671 Wed Jul 21 21:19:36 1999 David L. Levine <[email protected]>
672
673 * ACE-INSTALL.html: added note about ACE support for
674 shared libraries on VxWorks. It's still under
675 development.
676
677 Wed Jul 21 18:38:00 1999 Irfan Pyarali <[email protected]>
678
679 * ace/Strategies_T.h (ACE_Cached_Connect_Strategy): Renamed
680 <connection_cache_> to <connection_map_>.
681
682 * ace/Hash_Cache_Map_Manager_T.cpp (find): Finding and updating
683 the attributes is faster through the find() that uses an entry.
684 Therefore, for find (key, value) and find (key) we go to
685 find (key, entry) instead of going to the base class.
686
687 * ace/Cached_Connect_Strategy_T.cpp:
688
689 - ACE_Cached_Connect_Strategy_Ex::check_hint_i
690 - ACE_Cached_Connect_Strategy_Ex::find
691
692 Update the caching attributes directly since we don't do a
693 find() on the cache map.
694
695 Wed Jul 21 15:54:25 1999 Nanbor Wang <[email protected]>
696
697 * ace/DLL.cpp: ACE_HAS_MOSTLY_UNICODE_APIS fixes.
698
699 * ace/OS.i (ctime):
700 * ace/OS.cpp (ctime): One copy should only be available when
701 ACE_HAS_MOSTLY_UNICODE_APIS is defined. Thanks to Steve for
702 reporting this.
703
704 Wed Jul 21 15:21:32 1999 David L. Levine <[email protected]>
705
706 * tests/Env_Value_Test.cpp (main): use the single-process
707 version if ACE_LACKS_FORK, in addition to if
708 ACE_HAS_NONSTATIC_OBJECT_MANAGER.
709
710 * tests/Time_Service_Test.cpp (main): neuter if ACE_LACKS_FORK,
711 because the test uses ACE_Process::spawn ().
712
713 Thanks to Riaz Syed <[email protected]> for reporting these.
714
715 Wed Jul 21 11:48:53 1999 David L. Levine <[email protected]>
716
717 * include/makeinclude/platform_vxworks5.x_g++.GNU:
718 use full path to $(CC) in egcs version check, to avoid
719 warning if it is not on the user's PATH.
720
721 Wed Jul 21 11:44:19 1999 Carlos O'Ryan <[email protected]>
722
723 * ace/OS.h:
724 Simplified the definition of the ACE_THR_PRI_*_DEF macros from
725 (MIN+(MAX-MIN)/2) to ((MIN+MAX)/2), the new definition is not
726 only easier to read, makes less operations (and function calls)
727 but it is also safer when the the priorities are "backwards" and
728 PRI_MAX < PRI_MIN
729
730 Wed Jul 21 11:40:31 1999 Steve Huston <[email protected]>
731
732 * include/makeinclude/platform_aix4_cset++.GNU:
733 * include/makeinclude/platform_hpux_aCC.GNU: Replaced lines like
734 "debug=1" with ifeq (,$(debug)) debug=1 endif.
735
736 * include/makeinclude/platform_aix4_g++.GNU:
737 Above change for variables, also added -Wl,-bbigtoc when linking
738 TAO_IDL, else it runs out of toc space. Don't do it for all links
739 because bigtoc introduces a run-time performance penalty.
740
741 Wed Jul 21 10:25:07 1999 David L. Levine <[email protected]>
742
743 * ace/OS.{h,cpp} (tss_base,tss_open): with TSS emulation,
744 no longer return indication of whether tss_base allocated
745 the ts_storage array. Instead, added an (optional)
746 argument that tss_open can use for that purpose. This
747 allows threads that haven't been spawned by ACE to use
748 ACE's TSS emulation. Thanks to David Hauck
749 <[email protected]> for reporting this and testing
750 the fix on NT. And, thanks to Terry Rosenbaum
751 <[email protected]> for originally reporting it.
752
753 Wed Jul 21 09:34:09 1999 David L. Levine <[email protected]>
754
755 * examples/Shared_Malloc/test_position_independent_malloc.cpp (main):
756 removed declarations of unused argc and argv.
757
758 Wed Jul 21 04:32:20 1999 Nanbor Wang <[email protected]>
759
760 * ace/Reactor.cpp:
761 * ace/Reactor.h:
762 * ace/Reactor.i:
763 * ace/Reactor_Impl.h:
764 * ace/Select_Reactor_T.cpp:
765 * ace/Select_Reactor_T.h:
766 * ace/Select_Reactor_T.i:
767 * ace/TP_Reactor.cpp:
768 * ace/WFMO_Reactor.cpp:
769 * ace/WFMO_Reactor.h:
770 * ace/WFMO_Reactor.i: The change was motivated by removing a race
771 condition in TP_Reactor during shutdown. There was a small time
772 gap between a thread running TP_Reactor event loop checking its
773 end_event_loop flag to the thread actually grabing the token in
774 TP_Reactor. Since the token return to its "normal" state after
775 broadcasting, this thread has no chance to notice that the
776 reactor has already been shutdowned and thus a deadlock occured.
777 In order to fix the problem, we must keep a state indicating
778 whether the reactor has been shutdowned or not in the reactor.
779
780 An added benefit of adding this state is that every reactor now
781 has its own run_reactor_event_loop which mimic the behavior of
782 the static ACE_Reactor::run_event_loop but instead of working on
783 the singleton reactor, the added function work on an instance of
784 reactor object. In fact, all event_loop control functions have
785 been added. They are named *_reactor_event_loop to
786 differentiate their behavior. These newly added function use
787 the added state in the reactor to control the looping of event
788 handling. All run_reactor_event_loop methods take an extra
789 argument of a function pointer. The function will be called in
790 every iteration if it is set.
791
792 Notice that the singleton event loop control functions are still
793 available. Although these function merely forward the call to
794 the singleton reactor's *_reactor_event_loop functions, you can
795 still use them to control the "main" event loop. In fact, it is
796 required that you use these functions to run the main event loop
797 because it facilitates Service_Configurator's "reconfigure"
798 feature.
799
800 All reactors now also have two extra functions namely
801 "deactivated" which is used to query whether the reactor will
802 handle more incoming event or not, and "deactivate" which is
803 used to control this new feature.
804
805 An side effect of the change is that, once a reactor get
806 deactivated, calls to handle_events will return -1 immediately.
807 You can use the "deactivated" method to check if there's
808 actually an error in the handle_events method or it simply
809 returned because the reactor has been deactivated. This is also
810 how the various "run_reactor_event_loop" handle the situation.
811 Notice that this should not cause any backward compatibility
812 problem becuase if a user is using his own end_event_loop flag,
813 he will not (and should not) invoke any more handle_events after
814 the flag has been set. Also, if he is using the global
815 run_event_loop methods (for controling singleton reactor,) they
816 should still behave the same.
817
818 To summarize the change:
819
820 1. The run_event_loop control logic has been "pushed" down into
821 each individual reactor. The methods supporting the logic are
822 defined in ACE_Reactor and are:
823
824 run_reactor_event_loop ()
825 run_alertable_reactor_event_loop ()
826 end_reactor_event_loop ()
827 reactor_event_loop_done ()
828 reset_reactor_event_loop ()
829
830 2. The origianl run_event_loop methods in ACE_Reactor are still
831 working but they now use the run_reactor_event_loop methods in
832 the implementation of the reactor.
833
834 3. Reactors now keep a state to indicate handle_events should be
835 called or not. They can be controlled thru:
836
837 deactivated ()
838 deactivate ()
839
840 methods.
841
842 Tue Jul 20 21:31:50 1999 Jim Rogers [email protected]
843
844 * ace/config-mvs.h: added ACE_HAS_EXCEPTIONS.
845
846 Tue Jul 20 21:23:19 1999 David L. Levine <[email protected]>
847
848 * ace/OS.* (next_key,total_keys): with TSS_EMULATION,
849 added guard (using preallocated ACE_TSS_KEY_LOCK)
850 to access of next_key_. Uninlined both of these
851 functions because they now have the guards. Thanks
852 to Jake Hamby <[email protected]> for reporting this.
853
854 Tue Jul 20 21:11:02 1999 David L. Levine <[email protected]>
855
856 * include/makeinclude/platform_vxworks5.x_g++.GNU:
857 fixed test of g++ for whether it's egcs. Thanks to
858 Erik Johannes <[email protected]> for reporting this.
859 (The symptom was that TAO's IORManipulation.cpp wouldn't
860 compile due to an internal compiler error. Adding
861 -fno-exceptions works around that.)
862
863 Tue Jul 20 18:30:22 1999 Irfan Pyarali <[email protected]>
864
865 * ace/Cached_Connect_Strategy_T.h: All functions in
866 ACE_Cached_Connect_Strategy_Ex and ACE_Cached_Connect_Strategy
867 that contain specific information about the map used by the
868 class should not be virtual.
869
870 * ace/Future_Set.cpp (next_readable): Removed extra code that was
871 left behind from a debugging stage. Thanks to author John
872 Tucker <[email protected]> for helping with this.
873
874 Tue Jul 20 12:02:47 1999 David L. Levine <[email protected]>
875
876 * examples/Threads/task_five.cpp (main): removed
877 ACE_NOTREACHED wrapper around the final return statement.
878 It's reachable now.
879
880 Tue Jul 20 11:46:09 1999 Douglas C. Schmidt <[email protected]>
881
882 * examples/Shared_Malloc/test_position_independent_malloc.cpp:
883 Completely #ifdef'd this example out until we get it working.
884 Thanks to David Levine for reporting this.
885
886 Tue Jul 20 11:15:23 1999 David L. Levine <[email protected]>
887
888 * ACE-INSTALL.html: updated memory requirements discussions.
889
890 Tue Jul 20 09:43:36 1999 Ossama Othman <[email protected]>
891
892 * ace/Future_Set.cpp (next_readable):
893
894 Fixed unused variable warnings.
895
896 Tue Jul 20 09:33:02 1999 David L. Levine <[email protected]>
897
898 * ace/OS.{h,i} (sigwait): only use the DIGITAL_UNIX sigwait
899 massaging with cxx, not with any other compiler. Thanks to
900 Doug Anderson <[email protected]> for suggesting this, because
901 egcs issued warnings with it.
902
903 Tue Jul 20 07:06:28 1999 David L. Levine <[email protected]>
904
905 * include/makeinclude/platform_osf1_4.0.GNU:
906 removed -ptr ptrepository. Let the compiler use its
907 default template repository.
908
909 * include/makeinclude/rules.local.GNU (realclean): added
910 cxx_repository, for DU cxx.
911
912 Tue Jul 20 07:01:57 1999 Doug Anderson <[email protected]>
913
914 * ace/OS.i (sigwait,thr_sigsetmask): added support for
915 Cray UNICOS 9.
916
917 Mon Jul 19 22:46:54 1999 Irfan Pyarali <[email protected]>
918
919 * ace/Strategies_T.cpp
920 (ACE_Cached_Connect_Strategy::new_connection):: We use a reverse
921 lock to let go of the lock for the duration of the actual
922 connect. This will allow other threads to hack on the
923 connection cache while this thread creates the new connection.
924 Thanks to James Whitledge <[email protected]> for
925 suggesting this.
926
927 * tests/Cached_Accept_Conn_Test.cpp
928 * tests/Cached_Conn_Test.cpp
929 * tests/Conn_Test.cpp
930
931 Added reverse lock template instantiations.
932
933 * ace/Synch_T: Since the reverse lock constructor that created the
934 regular lock was removed, there was no need for the
935 <delete_lock_> variable, and <lock_> could be changed into a
936 reference (instead of pointer).
937
938 Mon Jul 19 23:04:15 1999 Douglas C. Schmidt <[email protected]>
939
940 * netsvcs/lib/Logging_Strategy.cpp (init): The ACE_LOG_MSG->open()
941 call at the end of the ACE_Logging_Strategy::init() method
942 *must* specify the flags and logger key or an application will
943 not connect to the client logger daemon automatically when the
944 ACE_Log_Msg::LOGGER flag is set in a svc.conf file. Thanks to
945 Jerry De Master <[email protected]> for reporting this.
946
947 Mon Jul 19 22:11:13 1999 David L. Levine <[email protected]>
948
949 * ACE-INSTALL.html: cleaned up instructions for building
950 on NT for VxWorks target. Thanks to Stephane Chatre
951 <[email protected]> for reporting that the instructions
952 were out of date.
953
954 Mon Jul 19 21:38:16 1999 Carlos O'Ryan <[email protected]>
955
956 * tests/run_tests.vxworks:
957 Re-enable the Cached_Conn_Test and Cached_Accept_Conn_Test, it
958 works on Linux, NT, Solaris, IRIX and HP-UX so we should be
959 pretty close. Thanks to Irfan for fixing the problems with this
960 test.
961
962 Mon Jul 19 21:26:57 1999 David L. Levine <[email protected]>
963
964 * ace/OS.{h,i}: reverted sigwait () changes on Digital
965 Unix. They cause examples/Threads/process_manager.cpp
966 to not compile on DU 5.0 with cxx 6.2-021. See
967 Mon Jul 19 21:13:16 1999 Doug Anderson <[email protected]>.
968
969 Mon Jul 19 21:13:16 1999 Doug Anderson <[email protected]>
970
971 * ace/ACE.cpp,ace/Basic_Types.h,ace/CDR_Stream.{h,cpp},
972 ace/SOCK_Dgram_Bcast.cpp,ace/config-cray.h,
973 tests/Basic_Types_Test.cpp,tests/Handle_Set_Test.cpp,
974 include/makeinclude/platform_cray.GNU
975
976 I finally managed to get the latest and greatest to work on
977 the Cray. Still no CDR support, but that will be post 5.0.
978
979 * ace/OS.{h,i}: added support for egcs on Digital Unix (4.0d & e).
980 Fixe problem with legacy workarounds in OS.* for sigwait() and
981 cxx/GNU that don't appear to be necessary on 4.0d/e/f with
982 neither cxx nor GNU.
983
984 * include/makeinclude/platform_tru64_g++.GNU: added. Works
985 with ace/config-tru64.h.
986
987 Mon Jul 19 19:46:50 1999 Irfan Pyarali <[email protected]>
988
989 * ace/OS.h: Added ACE_*_cast_*_ptr and ACE_*_cast_*_ref for const,
990 static, and reinterpret casts.
991
992 * ace/Strategies_T.cpp (find):
993 * ace/Cached_Connect_Strategy_T.cpp (find):
994
995 The comparison should be between ACE_PEER_CONNECTOR_ADDR and not
996 REFCOUNTED_HASH_RECYCLABLE_ADDRESS.
997
998 * ace/Svc_Handler: Changed <state> to <recycle_state>. <state>
999 was too generic and in some cases a <state> method was already
1000 present in classes deriving from Svc_Handler.
1001
1002 Also, added a <recycle_state> accessor.
1003
1004 The following files were effected:
1005
1006 - ace/Cached_Connect_Strategy_T.cpp
1007 - ace/Cached_Connect_Strategy_T.h
1008 - ace/Caching_Utility_T.cpp
1009 - ace/Strategies.h
1010 - ace/Strategies.i
1011 - ace/Strategies_T.cpp
1012 - ace/Strategies_T.h
1013 - ace/Strategies_T.i
1014 - tests/Cached_Accept_Conn_Test.cpp
1015 - tests/Cached_Conn_Test.cpp
1016
1017 Mon Jul 19 20:08:15 1999 Carlos O'Ryan <[email protected]>
1018
1019 * ace/Strategies_T.cpp:
1020 Fixed lookup of connections in the Cached_Connect_Strategy,
1021 thanks to Irfan for providing this fix.
1022
1023 Mon Jul 19 12:26:20 1999 David L. Levine <[email protected]>
1024
1025 * include/makeinclude/platform_vxworks5.x_g++.GNU,
1026 ace/config-g++-common.h:
1027 don't #define ACE_HAS_GNUG_PRE_2_8 with Tornado II's
1028 g++. It's egcs, though it's version identifier says
1029 it's 2.7. Thanks to Thomas Lockhart
1030 <[email protected]> for reporting this. [Bug 80]
1031
1032 Mon Jul 19 09:50:31 1999 Steve Huston <[email protected]>
1033
1034 * ace/Future.cpp: Added ACE_TYPENAME to template-qualified types.
1035 * ace/Future.cpp: Added #include "ace/Containers.h" to be sure the
1036 types necessary for this class is available at template link
1037 time.
1038
1039 * apps/gperf/src/Options.h: If on PharLap ETS, clear out its definition
1040 of EOS to avoid compile errors. Thanks to David Hauck
1041 <[email protected]> for this fix.
1042
1043 Mon Jul 19 08:12:30 1999 David L. Levine <[email protected]>
1044
1045 * include/makeinclude/platform_tru64_cxx.GNU: added support
1046 for DU 4.0E and D.
1047
1048 Mon Jul 19 08:08:25 1999 Steve Huston <[email protected]>
1049
1050 * ace/config-hpux-(10 11).x-hpc++.h: In the aC++ section, if __HP_aCC
1051 is not set, set it. Some parts of TAO rely on it, but it's not set
1052 until the most recent versions of the compiler. Thanks to Brian
1053 Wallis <[email protected]> for helping figure this out.
1054
1055 Mon Jul 19 07:53:59 1999 David L. Levine <[email protected]>
1056
1057 * ace/SOCK_Dgram_Mcast.cpp (open): added unnecessary const_cast
1058 of mcast_addr to ACE_Addr &, so that Sun C++ 4.2 will compile
1059 without error. Thanks to Andy for this fix.
1060
1061 Sun Jul 18 21:36:04 1999 David L. Levine <[email protected]>
1062
1063 * OS.cpp (sched_params): wrapped DIGITAL_UNIX preprocessor
1064 symbol in parenthesis.
1065
1066 Sun Jul 18 14:30:54 1999 Douglas C. Schmidt <[email protected]>
1067
1068 * tests/run_tests.sh: Reenabled the Future_Set_Test. Hopefully,
1069 this will work on Solaris and the other platforms now!
1070
1071 * ace/Future*: Added some fixes for Future_Set that should prevent
1072 it from hanging indefinitely on certain platforms. Also,
1073 removed the Future_Node.h and Future_Node.cpp files since they
1074 are no longer used. Thanks to John Tucker
1075 <[email protected]> for contributing these fixes.
1076
1077 * ace/SOCK_Dgram_Mcast: Finished implementing the QoS-enabled APIs for
1078 socket datagram multicast. This required refactoring quite a
1079 bit of code and adding some new methods that take the
1080 ACE_QoS_Params.
1081
1082 * ace/SOCK_Dgram.cpp: Finished integrating the QoS support
1083 for SOCK dgrams.
1084
1085 * ace/SOCK_Dgram.cpp: Factored out common code in the
1086 ACE_SOCK_Dgram constructors.
1087
1088 * ace/SOCK_Connector: Finished implementing the QoS-enabled
1089 connect() methods. To make this cleaner, I've created a new
1090 "shared_open()" method that factors out the common code.
1091
1092 * ace/SOCK_Acceptor: Finished implementing the QoS-enabled open()
1093 method. To make this cleaner, I've created a new
1094 "shared_open()" method that factors out the common code.
1095
1096 Sat Jul 17 13:36:03 1999 Ossama Othman <[email protected]>
1097
1098 * ace/High_Res_Timer.cpp (get_cpuinfo):
1099
1100 Removed extra `FILE *cpuinfo' declaration.
1101
1102 Sat Jul 17 12:20:25 1999 Douglas C. Schmidt <[email protected]>
1103
1104 * ace/High_Res_Timer: Added integrated support for Alpha and
1105 Pentium that will eliminate the 5sec startup delay for Linux/PII
1106 clients using the ACE high resolution timer. Thanks to Thomas
1107 Lockhart <[email protected]> for these fixes.
1108
1109 * netsvcs/servers/main.cpp (main): Fixed a typo caused by recent
1110 integration of Jerry De Master's fixes.
1111
1112 Fri Jul 16 19:41:05 1999 Irfan Pyarali <[email protected]>
1113
1114 * ace/ACE.cpp (out_of_handles): Added a function to check if a
1115 process is out of handles (file descriptors). This is required
1116 to avoid repeating this code in many places. Also, note that
1117 all platform specific quirks can be captured in this function.
1118
1119 * ace/Cached_Connect_Strategy_T.cpp (cached_connect):
1120 * tests/Cached_Conn_Test.cpp (out_of_sockets_handler):
1121 * tests/Cached_Accept_Conn_Test.cpp (out_of_sockets_handler):
1122
1123 Changed the above to use the new ACE::out_of_handles() function.
1124
1125 * ace/OS.h (ENFILE): Added ENFILE if missing on platform. In that
1126 case, ENFILE will equal to EMFILE.
1127
1128 Fri Jul 16 13:55:34 1999 Douglas C. Schmidt <[email protected]>
1129
1130 * include/makeinclude/{build_dll.bor,build_exe.bor,compiler.bor},
1131 ace/{Makefile.bor,ace.rc}:
1132 Updated these files to add version information to the DLLs so
1133 when you right click them in windows explorer you can see what
1134 version the file is (e.g., "4.6.45"). Thanks to Christopher
1135 Kohlhoff <[email protected]> for contributing this.
1136
1137 * netsvcs/servers/main.cpp (main): Disable debugging messages
1138 if the -d option isn't given to ACE_Service_Config. Thanks to
1139 Jerry De Master <[email protected]> for reporting this.
1140
1141 * ace/config-win32-borland.h: Updated this file to enable some
1142 necessary macros. Thanks to Christopher Kohlhoff
1143 <[email protected]> for reporting this.
1144
1145 * tests/DLL_Test.cpp,
1146 tests/run_test.bat: Updated these to handle the appropriate
1147 directory where the Borland tests are built. Thanks to
1148 Christopher Kohlhoff <[email protected]> for reporting this.
1149
1150 * netsvcs/lib/Logging_Strategy.cpp (init): When the application
1151 program is started, none of the log output is sent to the
1152 Client_Logging_Service. Further investigation shows that the
1153 ACE_Log_Msg::open() method is responsible for connecting to the
1154 client logger if the ACE_Log_Msg::LOGGER flag is set. However,
1155 the connections never attempted because the ACE_Log_Msg::open()
1156 method is called before the Logging_Strategy flags have been
1157 parsed. This problem was fixed by rearranging the point at
1158 which the ACE_LOG_MSG->open() method was called. Thanks to
1159 Jerry De Master <[email protected]> for contributing this.
1160
1161 * netsvcs/lib/Client_Logging_Handler.cpp (send),
1162 netsvcs/lib/Log_Message_Receiver.cpp (log_output):
1163 All log message output in ACE is done through one of the
1164 ACE_Log_Record::print() methods. Each of the overloaded methods
1165 has a <flags> argument as the second argument. However, all
1166 uses of the ACE_Log_Record::print() method in
1167 Log_Message_Receiver.cpp and Client_Logging_Handler.cpp pass
1168 zero for the flags argument. To fix this, simply pass
1169 ACE_Log_Msg::instance()->flags() instead of 0. Thanks to Jerry
1170 De Master <[email protected]> for contributing this.
1171
1172 * ace/Log_Record.cpp (format_msg): Added code for the new
1173 ACE_Log_Record::format_msg() method that adds the date/time
1174 stamp to the ACE_Log_Msg::VERBOSE_LITE output. Thanks to Jerry
1175 De Master <[email protected]> for contributing this.
1176
1177 * netsvcs/lib/Logging_Strategy.cpp (init): Make sure the
1178 ACE_Log_Msg::VERBOSE_LITE flag is OR'd into the clr_flags()
1179 call. Thanks to Jerry De Master <[email protected]> for
1180 reporting this.
1181
1182 * netsvcs/lib/Logging_Strategy.cpp (tokenize): Make sure that
1183 the ACE_Log_Msg::VERBOSE_LITE flag is correctly parsed. Thanks
1184 to Jerry De Master <[email protected]> for reporting this.
1185
1186 * ace/Memory_Pool.h: Added a way to set the segment_size in
1187 ACE_Shared_Memory_Pool_Options and ACE_Shared_Memory_Pool.
1188 Thanks to Serge Kolgan <[email protected]> for this fix. [This
1189 feature was actually added a couple of beta releases ago, but
1190 somehow the ChangeLog entry got lost.]
1191
1192 Fri Jul 16 16:41:22 1999 Ossama Othman <[email protected]>
1193
1194 * ace/Stats.cpp (print_summary):
1195
1196 Fixed format specifier that was expecting an integer argument.
1197 It needed an additional percent specifier.
1198
1199 Fri Jul 16 09:20:42 1999 Arturo Montes <[email protected]>
1200
1201 * ace/OS.i: Patch the dl* family to keep ACE
1202 compatible in SCO OpenServer 5.0.0, 5.0.2, 5.0.4 with 5.0.5
1203
1204 * ace/config-sco-5.0.0.h: Bring OpenServer up to date.
1205
1206 * include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU:
1207 Use gcc-2.95.
1208
1209 Fri Jul 16 11:50:24 1999 Nanbor Wang <[email protected]>
1210
1211 * ace/Log_Msg.cpp (log):
1212 * tests/Basic_Types_Test.cpp (main): Reverted my previous
1213 change. It was not a safe assumption.
1214
1215 Fri Jul 16 02:28:10 1999 Nanbor Wang <[email protected]>
1216
1217 * ace/Log_Msg.cpp (log): Changed (*va_arg (argp,PTF))(), which
1218 extracts a function pointer from va_list and makes a call using
1219 the pointer pointer to ACE_reinterpret_cast (PTF, va_arg (argp,
1220 long))(). This assumes the sizeof (long) is exactly equal to
1221 the size of a function pointer.
1222
1223 * tests/Basic_Types_Test.cpp (main): Narrow down the check to
1224 ensure sizeof(long) == sizeof (a function pointer) (which is
1225 true for all the platforms that ACE runs on.)
1226
1227 Fri Jul 16 00:07:23 1999 Irfan Pyarali <[email protected]>
1228
1229 * tests/Cached_Accept_Conn_Test.cpp (test_connection_management):
1230 Changed the test to allow for both one listen endpoint or
1231 multiple listen endpoints.
1232
1233 Thu Jul 15 22:42:36 1999 Nanbor Wang <[email protected]>
1234
1235 * ace/Message_Queue.h: (ACE_MESSAGE_QUEUE_DEFAULT_TYPE):
1236 * ace/Future_Set.{h,cpp} (ACE_Future_Set): Typedef'ed the
1237 ACE_Message_Queue to ACE_MESSAGE_QUEUE_DEFAULT_TYPE and use the
1238 typedef'ed name in ACE_Future_Set's contstructor to get around a
1239 bug in vxworks' g++ compiler.
1240
1241 Thu Jul 15 22:14:18 1999 Irfan Pyarali <[email protected]>
1242
1243 * ace/Cached_Connect_Strategy_T.cpp
1244 * ace/Cached_Connect_Strategy_T.h
1245 * ace/Strategies_T.cpp
1246 * ace/Strategies_T.h
1247
1248 Changed find()'s signature to help g++.
1249
1250 * tests/Cached_Accept_Conn_Test.cpp
1251 * tests/Conn_Test.cpp
1252
1253 Added template instantiations.
1254
1255 Thu Jul 15 21:32:26 1999 David L. Levine <[email protected]>
1256
1257 * bin/create_ace_build: removed # -*- perl -*- on first
1258 line so that t/csh users don't trip over it. Thanks
1259 to Irfan for reporting this.
1260
1261 Thu Jul 15 20:23:39 1999 Irfan Pyarali <[email protected]>
1262
1263 * tests/Cached_Conn_Test.cpp (test_connection_management): Changed
1264 the test to allow for both one listen endpoint or multiple
1265 listen endpoints.
1266
1267 * ace/Cached_Connect_Strategy_T.cpp:
1268 * ace/Strategies_T.cpp
1269
1270 - find: Since the comparison of
1271 REFCOUNTED_HASH_RECYCLABLE_ADDRESS doesn't work very well when
1272 trying to find an idle connection (because there are many idle
1273 states), we now use the new backet iterator to find a idle
1274 connection.
1275
1276 - check_hint_i: Explicitly checks for idleness; previously it
1277 was simple checking !closed.
1278
1279 * ace/Strategies.h (ACE_Recyclable): Changed ACE_Recyclable::State
1280 to ACE_Recyclable_State.
1281
1282 * ace/Strategies_T.h (ACE_Refcounted_Hash_Recyclable):
1283
1284 - Added operator!=(ACE_Refcounted_Hash_Recyclable<T>)
1285 - Removed operator==(T)
1286 - Added T &subject()
1287 - Change operator==(ACE_Refcounted_Hash_Recyclable<T>) to check
1288 for equality in state and subject.
1289
1290 * ace/Caching_Utility_T.cpp (minimum): Entries marked
1291 ACE_RECYCLABLE_PURGABLE_BUT_NOT_IDLE should also be considered
1292 for purging.
1293
1294 * ace/Cleanup_Strategies_T.cpp (cleanup): The hash map of the
1295 connection cache may contain duplicates. Therefore, we are not
1296 exactly sure which map entry will be removed when calling
1297 unbind(). Therefore, we use the other unbind() which gives us
1298 back the value of the entry that was removed. This way will
1299 close the correct handler.
1300
1301 * ace/Svc_Handler.cpp (state): Added a new method that allows the
1302 user to explcitly set the state of the Svc_Handler. If the
1303 Svc_Handler does not have a recycler, this method will have no
1304 effect.
1305
1306 Thu Jul 15 16:39:06 1999 Ossama Othman <[email protected]>
1307
1308 * Makefile:
1309 * NEWS:
1310
1311 The NEWS file is no longer a generated file so it was added to
1312 the list of controlled files.
1313
1314 Thu Jul 15 16:20:43 1999 Nanbor Wang <[email protected]>
1315
1316 * ace/Service_Manager.cpp (init): Check to see the acceptor handle
1317 is ACE_INVALID_HANDLE before the actual initialization to
1318 prevent this service from being initialized twice.
1319 (fini): Must call remove_handler with
1320 ACE_Event_Handler::DONT_CALL since the service manager won't be
1321 around when the reactor is being destroyed. Thanks to Gheorghe
1322 Aprotosoaie <[email protected]> for reporting this.
1323
1324 Thu Jul 15 16:26:28 1999 David L. Levine <[email protected]>
1325
1326 * ace/OS.cpp (spa): use ACE_NEEDS_HUGE_THREAD_STACKSIZE
1327 instead of hard-coded value.
1328
1329 * ace/config-vxworks5.x.h: added default
1330 ACE_NEEDS_HUGE_THREAD_STACKSIZE of 64000.
1331
1332 Thu Jul 15 16:08:48 1999 Nanbor Wang <[email protected]>
1333
1334 * ace/config-win32-common.h: Moved ACE_HAS_IP_MULTICAST down
1335 *after* ACE_HAS_WINSOCK2 is defined. Thanks to Marina for
1336 reporting this.
1337
1338 Thu Jul 15 16:11:04 1999 David L. Levine <[email protected]>
1339
1340 * ace/Basic_Types.h (ACE_U_LongLong): removed user-defined
1341 conversion to ptr_arith_t. Replaced with new macro,
1342 ACE_LONGLONG_TO_PTR.
1343
1344 Thu Jul 15 15:31:49 1999 Ossama Othman <[email protected]>
1345
1346 * ace/ACE.cpp (timestamp):
1347 * ace/High_Res_Timer.cpp (print_ave):
1348 * ace/Local_Tokens.cpp (open):
1349 * ace/Log_Msg.cpp (log):
1350 * ace/Log_Record.cpp (format_msg):
1351 * ace/Naming_Context.cpp (parse_args):
1352 * ace/OS.cpp (unique_name):
1353
1354 Fixed warnings and generated by gcc 2.95; mostly due to format
1355 specifier mismatches and inefficient conversion operator usage.
1356
1357 Thu Jul 15 14:21:32 1999 David L. Levine <[email protected]>
1358
1359 * docs/ACE-guidelines.html: reverted to the original
1360 perl magic that goes at the top of every script. The
1361 fix that was supposed to work on HP/UX doesn't. See
1362 Thu Jul 08 22:15:50 1999 David L. Levine <[email protected]>
1363
1364 Thu Jul 15 12:19:44 1999 David L. Levine <[email protected]>
1365
1366 * bin/make_release: added -u option, to allow updating the
1367 version stamps from any directory. Also, added suppression
1368 of cvs checkout warning about empty ("New") directories.
1369
1370 * Makefile: added -u to make_release invocations.
1371
1372 Thu Jul 15 11:39:44 1999 David L. Levine <[email protected]>
1373
1374 * ACE version 4.6.45 released.
1375
1376 Thu Jul 15 11:26:43 1999 David L. Levine <[email protected]>
1377
1378 * Makefile: made NEWS a dependency of release.
1379
1380 Thu Jul 15 10:05:40 1999 David L. Levine <[email protected]>
1381
1382 * docs/ACE-guidelines.html: removed reference to
1383 ACE_OS::scanf (). No such thing.
1384
1385 Thu Jul 15 10:01:31 1999 Steve Huston <[email protected]>
1386
1387 * ace/OS.h: TRANSMIT_FILE_BUFFERS are not defined on PharLap ETS -
1388 it's a Microsoft-specific extension to Winsock 1.1.
1389
1390 * ace/config-win32-common.h: ACE_HAS_IP_MULTICAST is only set for
1391 Winsock 2.
1392
1393 Thanks to David Hauck <[email protected]> for these fixes.
1394
1395 Thu Jul 15 09:28:32 1999 David L. Levine <[email protected]>
1396
1397 * include/makeinclude/platform_tru64_cxx.GNU: changed
1398 4.0f to 4.0F, because that's what sizer -v returns
1399 on DU 4.0F. Thanks to Doug Anderson <[email protected]>
1400 for reporting this.
1401
1402 * ace/config-tru64.h: only #define _LIBC_POLLUTION_H_
1403 with DU >= 5.0. Thanks to Doug Anderson <[email protected]>
1404 for reporting that it's not necessary on DU 4.0F.
1405
1406 Thu Jul 15 09:15:11 1999 Steve Huston <[email protected]>
1407
1408 * ace/config-aix-4.x.h: Corrected template settings for IBM C/C++
1409 3.6 compiler. It does not get ACE_HAS_STD_TEMPLATE_SPECIALIZATION.
1410
1411 * include/makeinclude/platform_aix4_cset++.GNU: Delete the
1412 testAIXCompilerVersion.cpp file after getting the compiler version.
1413
1414 Thu Jul 15 07:33:30 1999 David L. Levine <[email protected]>
1415
1416 * ace/config-tru64.h,config-osf1.h,config-osf1-4.0.h,
1417 include/makeinclude/platform_tru64_cxx.GNU,platform_osf1_cxx.GNU,
1418 ACE-INSTALL.html: moved config-osf1.h to config-tru64.h,
1419 and platform_osf1_cxx.GNU to platform_tru64_cxx.GNU.
1420 Thanks to Doug Anderson <[email protected]> for this suggestion.
1421
1422 Wed Jul 14 22:23:10 1999 David L. Levine <[email protected]>
1423
1424 * ace/config-cray.h: replaced ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA
1425 with ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION. The standard
1426 "template class" explicit instantiations work with version
1427 3.2.0.1 of the compiler. Thanks to Doug Anderson <[email protected]>
1428 for reporting this.
1429
1430 * ace/config-ghs-common.h: use
1431 ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION with Green Hills 1.8.9
1432 and later. Thanks to Carlos for suggesting that we give it
1433 whirl. It worked :-)
1434
1435 Wed Jul 14 22:03:08 1999 David L. Levine <[email protected]>
1436
1437 * ace/config-osf1-4.0.h: enable pragma message disable declbutnotref
1438 with Digital Unix 4.0f, as well as 5.0. Thanks to
1439 Doug Anderson <[email protected]> for reporting that
1440 it's necessary.
1441
1442 * ACE-INSTALL.html: updated config/platform info for
1443 Digital UNIX 4.0f (and 5.0).
1444
1445 [Bug 65]
1446
1447 Wed Jul 14 19:44:21 1999 Steve Huston <[email protected]>
1448
1449 * ace/Thread_Manager.cpp (spawn_i): Defer acquiring the thread
1450 descriptor's lock until just before attempting to start the thread
1451 to avoid places where the thread descriptor could be destroyed
1452 while holding the lock (doing that is an undefined operation in
1453 pthreads, and has particularly bad results on HP-UX 11). If the
1454 thread creation does fail, release the lock before returning
1455 the error indication (taking care to guard errno). Removed an
1456 unreachable block of code which put the thread descriptor on the
1457 wrong list anyway.
1458 Removed the #if 1, #else, #endif around the auto_ptr for
1459 new_thr_desc - if it's still working this close the ACE 5 release,
1460 it wins. Besides, the use of the auto_ptr was ingrained in the
1461 rest of the function, without the #if checks.
1462
1463 Wed Jul 14 19:03:57 1999 David L. Levine <[email protected]>
1464
1465 * etc/purify.solaris2: added another UMR suppression for
1466 __sigprocmask in the Solaris 2.6 threads library. Thanks
1467 to Andy for reporting this.
1468
1469 Wed Jul 14 16:30:48 1999 Irfan Pyarali <[email protected]>
1470
1471 * ace/Hash_Map_Manager_T.h (class ACE_Hash_Map_Bucket_Iterator):
1472 Added a new class that allows the iteration over the entries of
1473 a of a particular bucket in a hash map.
1474
1475 * tests/Hash_Map_Bucket_Iterator_Test.cpp: A test for the new
1476 ACE_Hash_Map_Bucket_Iterator class.
1477
1478 Wed Jul 14 16:37:33 1999 Ossama Othman <[email protected]>
1479
1480 * Makefile:
1481
1482 Added Makefile.am and NEWS to the list of controlled files. The
1483 file `NEWS' will get generated when a release is made.
1484
1485 * TODO:
1486 * acconfig.h:
1487 * configure.in:
1488 * configure:
1489
1490 Minor ACE Configuration Project related updates and fixes.
1491
1492 Wed Jul 14 13:38:12 1999 Steve Huston <[email protected]>
1493
1494 * tests/Cached_Accept_Conn_Test.cpp: Moved defs of Client_Svc_Handler
1495 and Server_Svc_Handler classes to new file, Cached_Accept_Conn_Test.h
1496 to make AIX xlC happy.
1497
1498 * tests/Cached_Conn_Test.cpp: Moved definition of Svc_Handler class
1499 new file, Cached_Conn_Test.h to make AIX xlC happy.
1500
1501 * tests/Cached_Accept_Conn_Test.cpp, Cached_Conn_Test.cpp: Don't
1502 even try to build these on AIX C Set++ 3.1. It can't hack the
1503 auto template instantiation - overwrites a template generator
1504 file and tosses its cookies. ACE is still the best C++ compiler
1505 test on the planet.
1506
1507 Wed Jul 14 16:24:38 1999 Carlos O'Ryan <[email protected]>
1508
1509 * ace/CDR_Stream.h:
1510 * ace/CDR_Stream.cpp:
1511 Added new method to efficiently steal the contents of a CDR
1512 stream and store them in another.
1513
1514 Wed Jul 14 12:05:13 1999 David L. Levine <[email protected]>
1515
1516 * include/makeinclude/rules.local.GNU (LN_S): on WIN32
1517 hosts, use cp -p instead of ln -s, because symbolic
1518 links aren't supported.
1519
1520 Wed Jul 14 11:22:31 1999 David L. Levine <[email protected]>
1521
1522 * include/makeinclude/platform_vxworks5.x_g++.GNU,
1523 ACE_INSTALL.html: with egcs (Tornado II) and without
1524 exception handling, add -Wno-uninitialized to CCFLAGS.
1525 The version of egcs that is provided with Tornado II
1526 produces some spurious warnings about uninitialized
1527 variables (including "this" :-). This was a problem
1528 in older versions of egcs, but has since been fixed.
1529 To avoid the warning, we always disable the warning
1530 with VxWorks' egcs.
1531
1532 Wed Jul 14 11:20:31 1999 Steve Huston <[email protected]>
1533
1534 * ace/config-aix-4.x.h: Add ACE_LACKS_SETSCHED for pre-4.3 AIX.
1535
1536 Wed Jul 14 11:15:24 1999 David L. Levine <[email protected]>
1537
1538 * examples/Shared_Malloc/Malloc.cpp: only explicitly
1539 instantiate ACE_Read_Guard<ACE_SYNCH_MUTEX> and
1540 ACE_Write_Guard<ACE_SYNCH_MUTEX> ifndef ACE_HAS_THREADS.
1541 With threads, they're explicitly instantiated in
1542 ace/Synch.cpp.
1543
1544 Wed Jul 14 10:58:30 1999 Carlos O'Ryan <[email protected]>
1545
1546 * ace/CDR_Stream.h:
1547 * ace/CDR_Stream.cpp:
1548 Clarified the relationship between this implementation and the
1549 original SunSoft version.
1550
1551 Wed Jul 14 10:47:45 1999 David L. Levine <[email protected]>
1552
1553 * include/makeinclude/platform_qnx_neutrino.GNU:
1554 added ACE_HAS_GNUG_PRE_2_8 := 0, so that exception
1555 handling will be disabled by default.
1556
1557 Wed Jul 14 10:34:37 1999 David L. Levine <[email protected]>
1558
1559 * examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp: fixed typo,
1560 ACE_LACKS_UNIX_DOMAIN_SOCKETS instead of
1561 ACE_HAS_UNIX_DOMAIN_SOCKETS.
1562
1563 Wed Jul 14 10:22:29 1999 David L. Levine <[email protected]>
1564
1565 * ace/Singleton.*: added ACE_Unmanaged_Singleton and
1566 ACE_Unmanaged_TSS_Singleton template class. They're
1567 identical to ACE_Singleton and ACE_TSS_Singleton,
1568 respectively, except that they don't register for
1569 cleanup with the ACE_Object_Manager. Therefore,
1570 the application is responsible for explicitly destroying
1571 the instance after it is no longer needed (if it wants to
1572 avoid memory leaks, at least). The close () static member
1573 function must be used to explicitly destroy the Singleton.
1574 Thanks to Valery Arkhangorodsky <[email protected]>
1575 for suggesting this and providing the code.
1576
1577 Wed Jul 14 10:01:47 1999 David L. Levine <[email protected]>
1578
1579 * ace/OS.h (ACE_{,U_}ONE_SECOND_IN*): made the trailing
1580 L or U upper case, for readability. Thanks to Chris
1581 for noticing this.
1582
1583 Wed Jul 14 09:40:37 1999 David L. Levine <[email protected]>
1584
1585 * include/makeinclude/wrapper_macros.GNU: when setting
1586 ACE_HAS_GNUG_PRE_2_8, if not g++: don't override
1587 the value to null if it was non-null. Also, clarified
1588 use of ACE_HAS_GNUG_PRE_2_8: 1 for g++ < 2.8.0,
1589 0 for g++ >= 2.8.0, undefined for non-g++.
1590
1591 Wed Jul 14 09:29:57 1999 David L. Levine <[email protected]>
1592
1593 * tests/Makefile (realclean): remove log/compilations.log*.
1594
1595 Tue Jul 13 22:25:18 1999 Carlos O'Ryan <[email protected]>
1596
1597 * include/makeinclude/wrapper_macros.GNU:
1598 Disable the "unitialized" warnings with EGCS+exceptions, it
1599 gives too many bogus warnings to take care of them.
1600
1601 Tue Jul 13 22:16:17 1999 Carlos O'Ryan <[email protected]>
1602
1603 * bin/ACEutils.pm:
1604 Wait for non empty files, sometimes the process creates the
1605 files but does not have enough time to fill its contents.
1606
1607 Tue Jul 13 21:32:44 1999 Ossama Othman <[email protected]>
1608
1609 * acconfig.h:
1610 * ltconfig:
1611 * ltmain.sh:
1612 * ace/Makefile.am:
1613 * tests/Makefile.am:
1614
1615 ACE Configuration Project updates. Synchronized with current
1616 version of ACE in CVS repository.
1617
1618 Tue Jul 13 15:22:51 1999 David L. Levine <[email protected]>
1619
1620 * include/makeinclude/platform_vxworks5.x_g++.GNU:
1621 set ACE_HAS_GNUG_PRE_2_8 to 0 with egcs (Tornado II).
1622
1623 Tue Jul 13 15:15:43 1999 Steve Huston <[email protected]>
1624
1625 * ace/ace-dll.icc, ace-lib.icc: Corrected source file set; now builds
1626 (still with some warnings) on AIX, Visual Age C++ 4.
1627
1628 Tue Jul 13 15:11:28 1999 Nanbor Wang <[email protected]>
1629
1630 * bin/run_all_win32.pl: Fixed program output redirection problem.
1631 Unfortunately, the fix requires one to have either 'sh' or '4nt'
1632 to redirect output from another perl script correctly.
1633
1634 Tue Jul 13 15:04:35 1999 David L. Levine <[email protected]>
1635
1636 * include/makeinclude/platform_qnx_neutrino.GNU:
1637 removed full paths from commands, because they're
1638 prefixed with i386-nto-.
1639
1640 * ace/config-qnx-neutrino.h: updated to build with egcs.
1641
1642 Tue Jul 13 15:03:01 1999 David L. Levine <[email protected]>
1643
1644 * ace/Pipe.cpp (open): moved declaration of local variable
1645 "one" inside the ACE_LACKS_TCP_NODELAY #ifndef block.
1646
1647 Tue Jul 13 14:57:56 1999 David L. Levine <[email protected]>
1648
1649 * ace/SV_Semaphore_Simple.{h,cpp} (init,open,name_2_key):
1650 added static cast of ACE_INVALID_SEM_KEY to key_t. key_t
1651 is unsigned on QNX Neutrino, but we want to keep
1652 ACE_INVALID_SEM_KEY as -1.
1653
1654 Tue Jul 13 11:57:53 1999 Nanbor Wang <[email protected]>
1655
1656 * ace/config-win32.h: Changed CApplication to CWinApp. Thanks to
1657 John Morey <[email protected]> for pointing this out.
1658
1659 Tue Jul 13 11:13:52 1999 Steve Huston <[email protected]>
1660
1661 * ACE_INSTALL.html: Added some info for building on AIX with
1662 Visual Age C++.
1663
1664 * ace/config-aix-4.3.x.h: New file - these version-specific configs
1665 are particularly useful with Visual Age C++, which has its own
1666 funky make system that doesn't use the platform_macros.GNU files,
1667 and so doesn't pick up the ACE_AIX_MAJOR/MINOR_VERS settings which
1668 are used in config-aix-4.x.h.
1669
1670 * ace/config-aix-4.x.h: Corrected template settings for Visual Age C++
1671 and added ACE_HAS_TYPENAME for VAC++ also.
1672
1673 Tue Jul 13 10:40:31 1999 Irfan Pyarali <[email protected]>
1674
1675 * ace/Cached_Connect_Strategy_T.cpp (purge_connections): There is
1676 no need to set the purge percentage again.
1677
1678 Tue Jul 13 10:39:57 1999 Matthew J Braun <[email protected]>
1679
1680 * ace/Containers_T.h,i: Altered private member list_ of
1681 DLList_Iterator to be a pointer rather than a reference. This
1682 allows the reset method to work because it was overwriting the
1683 contents of list_ rather than iterating over a different list
1684
1685 Tue Jul 13 09:14:31 1999 Steve Huston <[email protected]>
1686
1687 * ace/Cached_Connect_Strategy_T.cpp (dtor): Added ACE_TYPENAME
1688 to 'iter' declaration since its type depends on template parameters.
1689
1690 Tue Jul 13 09:11:24 1999 David L. Levine <[email protected]>
1691
1692 * include/makeinclude/platform_vxworks5.x_ghs.GNU:
1693 moved LIBS setting for Green Hills 1.8.9 from
1694 x86-only to all targets. Thanks to Dale Wood
1695 <[email protected]> for confirming that this
1696 is necessary for PowerPC targets.
1697
1698 Tue Jul 13 08:18:56 1999 David L. Levine <[email protected]>
1699
1700 * ace/config-osf1.h,config-osf1-4.0.h,
1701 include/makeinclude/platform_osf1_cxx.GNU:
1702 added another significant figure to the version identifer,
1703 e.g., 0x40F and 0x500. [Bug 65]
1704
1705 Tue Jul 13 06:45:53 1999 Steve Huston <[email protected]>
1706
1707 * examples/Shared_Malloc/test_position_independent_malloc.cpp: Moved
1708 definition of Dummy_Data to test_position_independent_malloc.h, a
1709 new file, to satisfy AIX IBM C++ template instantiation.
1710
1711 * include/makeinclude/platform_aix4_cset++.GNU: Turn on/off warnings
1712 based on compiler version, not OS version. Thanks to Craig
1713 Rodrigues <[email protected]> for sending the code in!
1714
1715 * THANKS: Added Craig Rodrigues to the hall of fame.
1716
1717 * ace/config-aix-4.1.x.h, config-aix-4.2.x.h: Added setting for
1718 ACE_AIX_MAJOR_VERS and ACE_AIX_MINOR_VERS if they weren't set
1719 already. Eases backwards compatibility for those who don't use
1720 the ACE build macros (horrors! :-). Thanks to Jeff Donner
1721 <[email protected]> for this suggestion.
1722
1723 Mon Jul 12 18:24:34 1999 Kirthika Parameswaran <[email protected]>
1724
1725 * tests/Cached_Accept_Conn_Test.cpp:
1726 This tests explicit purging from the server's point of view.
1727 When the acceptor in either its accept_svc_handler () or open ()
1728 runs out of descriptors, purging of unused svc_handlers from the
1729 connecton cache is requested.
1730
1731 * tests/Cached_Conn_Test.cpp:
1732 Defined ACE_HAS_BROKEN_EXTENDED_TEMPLATES for the
1733 Caching_Strategy_Adapter. If this condition is true, then only
1734 Least Recently Used Caching Strategy is available. This was
1735 necessary for compilers which dont accept long template lists,
1736 for example GNUC version < 8.0. Total credit for this hack
1737 to get through the old GNUC compiler goes to Irfan
1738 <[email protected]> of the DOC group.
1739
1740 * tests/Makefile:
1741 Added Cached_Accept_Conn_Test.cpp.
1742
1743 * tests/Makefile:
1744 * tests/run_tests.sh:
1745 * tests/run_pharlap_tests.bat:
1746 * tests/run_tests.bat:
1747 * tests/run_tests.psosim:
1748 * tests/run_tests.vxworks:
1749 Added Cached_Conn_Test, Map_Manager_Test and
1750 Cache_Map_Manager_Test to the above.
1751
1752 Mon Jul 12 17:31:28 1999 Nanbor Wang <[email protected]>
1753
1754 * bin/run_all_win32.pl: Fixed the missing execution output problem
1755 and simplified how the script gets invoked. See comments for
1756 more details.
1757
1758 * ace/config-win32.h:
1759 * ace/Object_Manager.h: Updated some unclear comments regarding
1760 the use and instantiation of non-static object manager. Thanks
1761 to John Morey and David for pointing this out.
1762
1763 * ace/ace_dll.dsp: Merged additional MFC configuration. Thanks to
1764 John Morey <[email protected]> for submitting the patch.
1765
1766 Mon Jul 12 15:27:37 1999 David L. Levine <[email protected]>
1767
1768 * ace/config-osf1.h,config-osf1-4.0.h,
1769 include/makeinclude/platform_osf1_cxx.GNU,
1770 ACE-INSTALL.html: added support for DU 4.0f. It needs the
1771 same #defines that we use on DU 5.0. [Bug 65]
1772
1773 Mon Jul 12 14:41:14 1999 David L. Levine <[email protected]>
1774
1775 * ace/config-win32.h,Object_Manager.h: cleaned up comments
1776 about the non-static ACE_Object_Manager. Thanks to
1777 John Morey <[email protected]> for reporting this.
1778
1779 Mon Jul 12 13:54:34 1999 Kirthika Parameswaran <[email protected]>
1780
1781 * ace/Cache_Map_Manager_T.{h,i,cpp}:
1782 Defined ACE_T1 and ACE_T2 which contain the template parameter
1783 list and added ACE_HAS_BROKEN_EXTENDED_TEMPLATES macro where
1784 needed. This takes care of the template list for compilers which
1785 cant accept a long template list, for example: GCC 2.7.2.
1786 Also changed the purge() to now call the <caching_utility> for
1787 purging entries form the cache.
1788
1789 * ace/Hash_Cache_Map_Manager_T.h:
1790 Added ACE_HAS_BROKEN_EXTENDED_TEMPLATES to complement the
1791 Cache_Map_Manager class changes.
1792
1793 * ace/Cached_Connect_Strategy_T.cpp:
1794 Changed dtor to take care of the
1795 ACE_HAS_BROKEN_EXTENDED_TEMPLATES definition.
1796
1797 * ace/Cached_Connect_Strategy_T.h:
1798 Removed CONNECTION_CACHE_ITERATOR typedef.
1799
1800 * ace/Caching_Strategies_T.{h,i,cpp}:
1801 Changed template parameter list and removed dependency on the
1802 CONTAINER. Removed clear_cache() method.
1803
1804 * ace/Caching_Utility_T.{h,i,cpp}:
1805 Added default cleanup strategies to every kind of
1806 caching_utiltity. ACE_Recyclable_Hanlder_Caching_Utility no
1807 longer derives form ACE_Pair_Caching_Utility.
1808
1809 * ace/Cleanup_Strategies_T.{h,i,cpp}:
1810 Changed ACE_Svc_Cleanup_Strategy to
1811 ACE_Recyclable_Handler_Cleanup_Strategy.
1812
1813 * tests/Cache_Map_Manager_Test.cpp:
1814 * tests/Map_Manager_Test.cpp:
1815 Made changes to template instantiations.
1816
1817 * tests/Cached_Conn_Test.cpp:
1818 Added out_of_sockets_handler() which will do the purging.
1819 Added a check for ENOBUFS which arose on NT and ENOENT which
1820 arose on Linux + Solaris. Defined
1821 ACE_HAS_BROKEN_EXTENDED_TEMPLATES for GCC versions < GCC 2.8.
1822
1823 Mon Jul 12 12:14:45 1999 David L. Levine <[email protected]>
1824
1825 * docs/ACE-development-process.html: added this page, as
1826 a start towards a less chaotic development process.
1827
1828 Mon Jul 12 10:05:31 1999 Steve Huston <[email protected]>
1829
1830 * ace/Event_Handler_T.i: Added ACE_TYPENAME on template-dependent types
1831 in function signatures. Quiets HP-UX aC++.
1832
1833 * ace/Based_Pointer_Repository.h:
1834 * ace/Based_Pointer_T.h: Added #include "ace/OS.h" to pick up def. of
1835 ACE_Export when instantiating templates with AIX IBM C++.
1836
1837 * include/makeinclude/platform_hpux_aCC.GNU: Removed definition for
1838 CPP_LOCATION - use aCC - cpp has too many problems, and a fix for
1839 the pragma warnings was checked into TAO_IDL.
1840
1841 Mon Jul 12 09:26:29 1999 David L. Levine <[email protected]>
1842
1843 * testsr/Makefile: don't build libDLL_Test.so if not building
1844 shared libraries. This simplifies the build on static-libs
1845 only platforms, and can be used by run_tests.sh, below.
1846 [Bug 62]
1847
1848 * tests/run_tests.sh: don't run DLL_Test if libDLL_Test.so
1849 was not built.
1850
1851 Mon Jul 12 07:48:04 1999 David L. Levine <[email protected]>
1852
1853 * docs/ACE-guidelines.html: updated guideline under CVS
1854 section to match the other one about always testing
1855 on egcs.
1856
1857 Sun Jul 11 23:59:52 1999 nanbor <[email protected]>
1858
1859 * ACE version 4.6.44 released.
1860
1861 Sat Jul 10 18:05:41 1999 Nanbor Wang <[email protected]>
1862
1863 * ace/config-kcc-common.h: Added ACE_NEW_THROWS_EXCEPTIONS.
1864 Thanks to David for pointing this out.
1865
1866 Sat Jul 10 16:22:00 1999 Chris Gill <[email protected]>
1867
1868 * ace/config-win32-common.h: wrapped ACE_HAS_TYPENAME_KEYWORD so it is
1869 only set for MSVC++ 6.0 or higher. This is to work around a compiler
1870 bug in MSVC++ 5.0 when trying to compile certain forms with the
1871 typename keyword in a template method argument list.
1872
1873 Sat Jul 10 13:16:50 1999 Douglas C. Schmidt <[email protected]>
1874
1875 * ace/Malloc: Changed the type of pointer used by ACE_Name_Node
1876 from void * to char * so that we can integrate this cleanly with
1877 ACE_Based_Pointer<>, which will fail if we use void since we
1878 can't return from a "void" function!
1879
1880 * tests/Thread_Pool_Test.cpp (open): Fixed another somewhat bogus
1881 warning from EGCS related to initialization of loop variables.
1882
1883 * tests/New_Fail_Test.cpp (main): Make sure to initialize pointers
1884 so that EGCS doesn't complain.
1885
1886 * tests/MT_Reactor_Timer_Test.cpp (main): Fixed a signed/unsigned
1887 mismatch.
1888
1889 * tests: Added appropriate header comments for all the *.h files.
1890
1891 * tests/Cache_Map_Manager_Test.cpp: Capitlized the hash_key
1892 class to be Hash_Key, which is standard ACE programming style.
1893
1894 * ace/Service_Config.cpp: Added yet another set of
1895 changes to open_i() so that the -d option is handled
1896 appropriately. Thanks to Jonathan Reis
1897 <[email protected]> for this fix.
1898
1899 * ace/SOCK_Acceptor.h: Clarified the parameters for
1900 ACE_SOCK_Acceptor's constructor and open() methods. Thanks to
1901 Ron MacKenzie <[email protected]> for motivating this.
1902
1903 Sat Jul 10 13:56:30 1999 Nanbor Wang <[email protected]>
1904
1905 * tests/MT_Reactor_Timer_Test.cpp (main): Fixed signed/unsigned
1906 comparison.
1907
1908 Sat Jul 10 08:01:36 1999 David L. Levine <[email protected]>
1909
1910 * docs/ACE-guidelines.html: THANKS instead of README.
1911
1912 Fri Jul 9 20:54:30 1999 Ossama Othman <[email protected]>
1913
1914 * ace/UNIX_Addr.{h,i} (hash):
1915
1916 Implemented a hash function for ACE_UNIX_Addr instead of relying
1917 on the base class no-op hash function. Thanks to Irfan for
1918 explaining the best way to do this.
1919
1920 Fri Jul 9 20:39:47 1999 Kirthika Parameswaran <[email protected]>
1921
1922 * tests/Cached_Conn_Test.cpp: Added an Svc_Handler class which
1923 helped in verifying the course of the program execution.
1924
1925 * ace/Caching_Utility_T.cpp (minimum): Cleaned up code by removing
1926 redundant else if statement.
1927
1928 * tests/Cache_Map_Manager_Test.cpp: Resolved some template typos
1929 which surfaced on compiling with VxWorks.
1930
1931 Fri Jul 09 20:14:13 1999 Irfan Pyarali <[email protected]>
1932
1933 * tests/MT_Reactor_Timer_Test.cpp (main): Added fixes so that test
1934 can work with WFMO_Reactor (WFMO_Reactor needs an extra
1935 handle_events() to get started).
1936
1937 * tests/Conn_Test.cpp (spawn_processes): Only printing reaping
1938 message when result is not -1.
1939
1940 * ace/Strategies_T.i (ACE_Refcounted_Hash_Recyclable<T>::operator==):
1941 The check should be for "and", not "or".
1942
1943 * tests/Conn_Test.cpp: Since timed accept is implemented using
1944 select(), and we use timed accepts with threads, we need a real
1945 lock when using timed accepts even if the OS has thread-safe
1946 accept.
1947
1948 Also changed the default number of clients to 5. Hopefully,
1949 this won't overrun the backlog on the listen socket.
1950
1951 * ace/Svc_Handler.cpp (shutdown): Remove self from Reactor only
1952 when we have a valid handle. Otherwise, we lose our current
1953 errno, since the failed remove_handler will set the errno to
1954 EINVAL.
1955
1956 Fri Jul 9 14:02:52 1999 Steve Huston <[email protected]>
1957
1958 * ace/config-aix-4.x.h: Re-enabled ACE_LACKS_SETSCHED for AIX 4.3.
1959 The OS defs are not aligned/matched correctly with what they mean
1960 in this area, but will need to wait til after ACE 5.0 is done
1961 before straightening it out.
1962
1963 * ace/WFMO_Reactor.cpp (ACE_WFMO_Reactor_Handler_Repository::bind_i):
1964 Set errno to EMFILE if the max number of handles is registered,
1965 instead of leaving a stale errno for the user to figure out.
1966
1967 * tests/MT_Reactor_Timer_Test.h (Dispatch_Count_Handler): Changed
1968 type of timers_fired_ from int to size_t so it matches type of
1969 ACE_MAX_TIMERS.
1970
1971 Fri Jul 9 14:27:10 1999 Douglas C. Schmidt <[email protected]>
1972
1973 * ace/Service_Config.cpp (open_i): Be default, disable debugging
1974 messages. Only reenable them if the -d option is given. Thanks
1975 to Jerry De Master <[email protected]> for reporting this.
1976
1977 * ace/Based_Pointer_T: Factored out all but the operator-> into
1978 a new class called ACE_Based_Pointer_Basic so that we can use
1979 this for "basic types" like char *. Thanks to Irfan for
1980 pointing this out.
1981
1982 * ace/Based_Pointer_Repository.cpp (unbind): Fixed a
1983 bug in the unbind() loop. Thanks to David Levine and DEC UNIX
1984 C++ for noticing this!
1985
1986 * ace/Reactor.i (schedule_wakeup): Fixed a misplaced assignment
1987 of Event_Handler->reator (). Thanks to Carlos for reporting
1988 this.
1989
1990 Fri Jul 09 13:11:33 1999 Nanbor Wang <[email protected]>
1991
1992 * tests/Conn_Test.cpp (spawn_threads): ACE_OS::perror takes a
1993 wchar_t string on CE.
1994
1995 * tests/test_config.h (set_output): We should use non-unicode
1996 version of ACE_OS::getenv to initialize test_dir on "regular"
1997 UNICODE compilation. Thanks to Steve for reporting this.
1998
1999 Added more WinCE/UNICODE fixes.
2000
2001 Fri Jul 9 12:16:00 1999 Kirthika Parameswaran <[email protected]>
2002
2003 * ace/Caching_Utility_T.cpp (minimum):
2004 Modified minimum () of ACE_Recyclable_Handler_Utility class so
2005 that the minimum value is also an entry which is purgable.
2006
2007 * tests/Cache_Map_Manager_Test.cpp:
2008 SunC++4.0 compiler doesnt accept typedefs with templates and
2009 having ::, for example: HASH_MAP::iterator. One has to typedef
2010 HASH_MAP::iterator and use it to typedef something else. Fixed
2011 this problem in the above test.
2012
2013 Fri Jul 9 11:39:40 1999 Douglas C. Schmidt <[email protected]>
2014
2015 * ace/Dirent.i: Added a pair of checks to open() and close()
2016 to avoid double deletes. Thanks to Tom Arbuckle
2017 <[email protected]> for pointing this out.
2018
2019 * ace/Reactor.i: For schedule_timer() and schedule_wakeup(),
2020 make sure that the Event_Handler is assigned "this" Reactor
2021 upon successful completion of the operation. Thanks to
2022 Dirk Broer <[email protected]> for suggesting this.
2023
2024 Fri Jul 9 11:10:23 1999 Steve Huston <[email protected]>
2025
2026 * include/makeinclude/platform_hpux_aCC.GNU: Re-suppress warning
2027 829 on 10.x because there's an offending system header file.
2028
2029 * tests/test_config.h (ACE_Test_Output::set_output): Change test_dir
2030 to be const because it's initialized with a string literal.
2031
2032 Fri Jul 9 10:52:45 1999 Kirthika Parameswaran <[email protected]>
2033
2034 * ace/Caching_Utility_T.cpp (minimum): Checked the state of the
2035 Refcounted_Hash_Address with ACE_Recyclable::IDLE_AND_PURGABLE.
2036
2037 Fri Jul 09 10:49:40 1999 David L. Levine <[email protected]>
2038
2039 * tests/Message_Queue_Test.cpp (main): changed success
2040 message from timed dequeue test to not contain "timedout",
2041 because that trips run_tests.check.
2042
2043 Fri Jul 09 10:25:42 1999 Irfan Pyarali <[email protected]>
2044
2045 * ace/Shared_Memory_MM.h (ACE_Shared_Memory_MM): Changed the
2046 filename parameter from a non-const string to a const string.
2047 Thanks to Ulf Jaehrig <[email protected]> for pointing out this
2048 problem.
2049
2050 Fri Jul 09 03:31:34 1999 David L. Levine <[email protected]>
2051
2052 * ace/Basic_Types.i: added const to each of the static casts.
2053
2054 Fri Jul 09 01:45:25 1999 Nanbor Wang <[email protected]>
2055
2056 * bin/auto_compile_win32.pl: A lot of projects changed names
2057 recently and thus the file was not working properly.
2058
2059 Thu Jul 8 23:15:06 1999 Alexander Babu Arulanthu <[email protected]>
2060
2061 * Merging the "ami_phase3" branch on to the main branch. Change
2062 was done to the CDR_Stream{h,i} files to add the method
2063 <byte_order> to the CDR class. Other than that, no change was
2064 done to ACE.
2065
2066 Thu Jul 08 22:15:50 1999 David L. Levine <[email protected]>
2067
2068 * docs/ACE-guidelines.html: changed the perl magic that
2069 goes at the top of every perl script, to pick up perl
2070 from the users path. This new version works on HP/UX.
2071 Thanks to Carlos for divining it.
2072
2073 Thu Jul 08 22:05:31 1999 David L. Levine <[email protected]>
2074
2075 * ace/config-linux-common.h: added #define of
2076 ACE_DEFAULT_BASE_ADDR to 0x40000000 on __powerpc__
2077 only.
2078
2079 * ace/config-linuxppcr5.h: removed. LinuxPPC can
2080 now use config-linux-lxpthreads.h.
2081
2082 * ACE-INSTALL.html: added LinuxPPC info.
2083
2084 Thanks to Andreas Tobler <[email protected]> for helping
2085 to factor out the code from config-linuxppcr5.h.
2086
2087 Thu Jul 8 21:57:17 1999 Carlos O'Ryan <[email protected]>
2088
2089 * ace/Malloc_T.h:
2090 * ace/Malloc_T.cpp:
2091 Changed the Cached_Allocator class to use a char* as the memory
2092 source.
2093 It was allocated as char* and deallocated as a char*, but casted
2094 to T* to use placement new; this was actually unneeded and
2095 actually an error: the memory does not become a T* until
2096 placement new is invoked on it. [BUGID:40]
2097
2098 Thu Jul 08 21:34:42 1999 David L. Levine <[email protected]>
2099
2100 * ace/config-lynxos.h: on PowerPC, set
2101 ACE_NEEDS_HUGE_THREAD_STACKSIZE to 32000, instead of
2102 its apparent default of 15000. On both x86 and ppc,
2103 #define ACE_MAP_FIXED to 0 and ACE_DEFAULT_BASE_ADDR to
2104 0 to try to get the OS to always pick shared memory addresses.
2105
2106 Thanks to Dan Butler <[email protected]> for
2107 suggesting the use of ACE_NEEDS_HUGE_THREAD_STACKSIZE here.
2108
2109 * tests/Recursive_Mutex_Test.cpp (main): removed explicit
2110 stack size setting, now that we're using
2111 ACE_NEEDS_HUGE_THREAD_STACKSIZE on LynxOS/PPC.
2112
2113 Thu Jul 08 18:47:23 1999 Kirthika Parameswaran <[email protected]>
2114
2115 * ace/Cached_Connect_Strategy_T.cpp:
2116 Changed:
2117 entry->ext_id_.state (ACE_Recyclable::IDLE);
2118 to
2119 entry->ext_id_.state (ACE_Recyclable::IDLE_AND_PURGABLE);
2120
2121 * ace/Caching_Utility_T.{h,cpp}:
2122 Added ACE_Recyclable_Handler_Caching_Utility which takes care
2123 that the svc_handler to be purged is in the IDLE_AND_PURGABLE
2124 state.
2125 Made method minimum () virtual.
2126
2127 * ace/Strategies.h:
2128 Added IDLE_AND_PURGABLE and IDLE_BUT_NOT_PURGABLE states and
2129 removed IDLE state from the enum. This change was necessary to
2130 take care of AMI using the Mux Strategy.
2131
2132 * ace/Strategies_T.cpp (cache_i):
2133 Made entry state ACE_Recyclable::IDLE_AND_PURGABLE.
2134
2135 * ace/Startegies_T.i (operator==):
2136 Added checks for the ACE_Recyclable::IDLE_AND_PURGABLE and
2137 ACE_Recyclable::IDLE_BUT_NOT_PURGABLE states.
2138
2139 Thanks to Irfan <[email protected]> of the DOC group for
2140 helping with this.
2141
2142 Thu Jul 08 18:47:23 1999 Irfan Pyarali <[email protected]>
2143
2144 * tests/Cache_Map_Manager_Test.cpp: Simplified code and output.
2145
2146 Thu Jul 08 14:56:22 1999 David L. Levine <[email protected]>
2147
2148 * ace/Basic_Types.{h,i} (ACE_U_LongLong): added operators
2149 that take ACE_UINT32 arguments corresponding to each of
2150 the operators that take ACE_U_LongLong & arguments. This
2151 solves some more overload resolution ambiguities.
2152
2153 * ace/Stats.cpp: changed comparisons of ACE_U_LongLong with
2154 ints to unsigned ints, to avoid overload resolution ambiguity.
2155
2156 Thu Jul 08 14:29:42 1999 David L. Levine <[email protected]>
2157
2158 * ace/OS.i (gethrtime): cast ts.tv_nsec explicitly to
2159 ACE_hrtime_t, instead of ACE_UINT32, to avoid overload
2160 resolution ambiguity now that we have that ACE_U_LongLong
2161 implicit conversion to ptr_arith_t.
2162
2163 Thu Jul 8 13:50:14 1999 Steve Huston <[email protected]>
2164
2165 * ace/Reactor_Impl.h (dispatch_notifications): Changed ACE_Handle_Set
2166 arg from const to non-const. Fix in ACE_Select_Reactor_Notify
2167 requires the ability to change the handle set.
2168
2169 * ace/WFMO_Reactor.{h cpp}: Corresponding removal of 'const' from
2170 ACE_WFMO_Reactor_Notify::dispatch_notifications. Signature change
2171 only - the function is a no-op in this class.
2172
2173 * ace/Select_Reactor_Base.{h cpp}: In ACE_Select_Reactor_Notify,
2174 dispatch_notifications(), remove the notify pipe's handle from the
2175 dispatch handle set when handling a notification. Else it remained
2176 set and dispatchng I/O handlers came back and ran through it
2177 again, which artificially increased the count of dispatched
2178 handlers, and left some input unhandled when it was ready.
2179
2180 * tests/MT_Reactor_Timer_Test.cpp: Added some verification checks to
2181 be sure that timer, notify, and input events all are handled at the
2182 right time.
2183
2184 Thu Jul 08 12:35:23 1999 Nanbor Wang <[email protected]>
2185
2186 * tests/test_config.h: Reorganized WinCE's macros and fix some
2187 minor unicode problems.
2188
2189 Thu Jul 8 11:33:50 1999 Douglas C. Schmidt <[email protected]>
2190
2191 * Rebuilt the ACE+TAO.tar.gz file. For some reason, there
2192 was a ^M at the end of each line! Thanks to Bruce Edge
2193 <[email protected]> for reporting this.
2194
2195 * ace/Based_Pointer_Repository.cpp (unbind): Rearranged the
2196 iterator code a bit to see if that'll make DEC C++ happy.
2197
2198 * ace/OS.h: Moved the ACE_MALLOC_ALIGN macro into OS.h.
2199
2200 * config-aix-4.x.h,
2201 config-lynxos.h,
2202 config-psos-diab-mips.h,
2203 config-psos-diab-ppc.h,
2204 config-psos-diab.h,
2205 config-psos-tm.h,
2206 config-psosim-g++.h,
2207 config-sunos5.5.h:
2208 Added the ACE_MALLOC_ALIGN macro back since it's used in
2209 an ACE test program.
2210
2211 * ace/Malloc.cpp: Removed the trailing ';' on the #pragma
2212 instantiate. Thanks to David Levine for reporting this.
2213
2214 Thu Jul 08 11:35:53 1999 David L. Levine <[email protected]>
2215
2216 * ACE-INSTALL.html: added note about IP multicast support
2217 with Tornado II/VxWorks 5.4. It's not enabled by default
2218 in ACE.
2219
2220 Thu Jul 8 11:31:13 1999 Steve Huston <[email protected]>
2221
2222 * tests/Message_Queue_Test.cpp: Added a test to see the correct errno
2223 is set for a timed-out dequeue operation.
2224
2225 Thu Jul 08 11:30:43 1999 David L. Levine <[email protected]>
2226
2227 * ACE-INSTALL.html: added note about the uninitialized
2228 variable warnings from (the old) egcs that is
2229 distributed with Wind River's Tornado II.
2230
2231 Thu Jul 08 10:40:02 1999 David L. Levine <[email protected]>
2232
2233 * ace/config-linuxppcr5.h: use config-linux-lxpthreads.h
2234 because thread support works.
2235
2236 * ace/config-linuxppcr5.h, config-linux-common.h: use an
2237 ACE_DEFAULT_BASE_ADDR of 0x40000000, because that allows
2238 Naming_Test to work.
2239
2240 With these two changes, all ACE tests pass on LinuxPPC.
2241 Thanks to Andreas Tobler <[email protected]> for the
2242 fixes and testing.
2243
2244 Thu Jul 08 10:25:55 1999 David L. Levine <[email protected]>
2245
2246 * ace/OS.h,Basic_Types.h: added ACE_U_LongLong conversion operator
2247 to ptr_arith_t. Moved ptr_arith_t typedef from OS.h to
2248 Basic_Types.h, so that it can be used by ACE_U_LongLong.
2249 Thanks to Chris for helping to figure this out.
2250
2251 Thu Jul 8 08:34:22 1999 Steve Huston <[email protected]>
2252
2253 * ace/Log_Msg.cpp (log): Don't special-case the %t handling on AIX
2254 4.3 - just 4.2 and earlier.
2255
2256 Thu Jul 8 00:23:02 1999 Douglas C. Schmidt <[email protected]>
2257
2258 * ace/Malloc_T.cpp: Updated all the methods that check
2259 cp_ptr_ to return immediately if it's 0. Thanks to Dieter for
2260 suggesting this.
2261
2262 * ace/Malloc.cpp (dump): Added a cast to trigger operator void
2263 * for freep_ (which may be a smart pointer in some
2264 configurations).
2265
2266 * ace/Based_Pointer_Repository: Revised the implementation of
2267 this class to use the "Cheshire-Cat" technique to hide the
2268 implementation to avoid circular #include dependencies.
2269
2270 * ace/Token.h (ACE_Token): Clarified that the timeouts are in
2271 "absolute" time, not relative time. Thanks to Everett Anderson
2272 <[email protected]> for reporting this.
2273
2274 * ace/config-win32-borland.h: Only enable
2275 ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION if we're running on
2276 older versions of Borland. Thanks to Christopher Kohlhoff
2277 <[email protected]> for reporting this.
2278
2279 Wed Jul 07 22:44:22 1999 David L. Levine <[email protected]>
2280
2281 * tests/Recursive_Mutex_Test.cpp (main): added comment
2282 explaining why the stack size is now set.
2283
2284 * tests/test_config.h: removed special ACE_MAX_PROCESSES
2285 and ACE_MAX_THREADS values for LynxOS, because most
2286 tests don't need them.
2287
2288 * tests/Process_Mutex_Test.cpp: use only 4 processes
2289 instead of ACE_MAX_PROCESSES, on LynxOS only. Otherwise,
2290 the test's ACE_LOG_MSG->op_status assertion fails.
2291
2292 * ACE-INSTALL.html: removed statements about some tests
2293 failing on LynxOS/PPC. Just Naming_Test and
2294 MM_Shared_Memory_Test fail now.
2295
2296 Wed Jul 07 19:51:00 1999 Chris Gill <[email protected]>
2297
2298 * ace/config-ghs-common.h: removed use of native auto_ptrs, as they
2299 implement an older specification which lacks the reset method.
2300
2301 Wed Jul 7 17:17:10 1999 Ossama Othman <[email protected]>
2302
2303 * ace/ARGV.cpp (ACE_ARGV):
2304 * ace/OS.cpp (ACE_OS_Recursive_Thread_Mutex_Guard):
2305 * ace/Sched_Params.i (ACE_Sched_Priority_Iterator):
2306
2307 Added some class members to the member initializer lists to fix
2308 some "Effective C++" warnings from EGCS.
2309
2310 Wed Jul 7 16:33:29 1999 Kirthika Parameswaran <[email protected]>
2311
2312 * tests/Cached_Conn_Test.cpp (main): Added default testing of LRU,
2313 LFU, FIFO caching strategies.
2314
2315 * tests/Cached_Conn_Test.cpp (parse_args):
2316 * tests/Cache_Map_Manager_Test (parse_args):
2317 Runtime selection of different caching strategies
2318 (lru/lfu/fifo/null) made possible.
2319
2320 * Caching_Strategies_T.{i,cpp}:
2321 Removed typos and also definied the virtual destructor for
2322 ACE_Caching_Strategy.
2323
2324 * tests/Map_Manager_Test.cpp (test_cache_map_manager):
2325 Added <null_caching_strategy> to the construction of
2326 <cache_map_manager> and <hash_cache_map_manager> objects to make
2327 it in sync with the changes made below.
2328
2329 Wed Jul 07 16:06:45 1999 David L. Levine <[email protected]>
2330
2331 * tests/Recursive_Mutex_Test.cpp: explicitly set the
2332 stack size. This solves the problem on LynxOS/PPC, below, so
2333 the 65-iteration workaround was removed. Thanks to Doug for
2334 this suggestion.
2335
2336 Wed Jul 7 13:27:53 1999 Douglas C. Schmidt <[email protected]>
2337
2338 * ace/config-win32-borland.h,
2339 ace/config-win32.h: Added support for the ACE::major_versions(), etc.
2340 for PC versions of ACE, as well as UNIX. Thanks to
2341 Jeff Hellzen <[email protected]> for suggesting this.
2342
2343 * ace: Added a new Based_Pointer_T.i file that inlines the
2344 small methods.
2345
2346 * ace/Malloc[_T]: Cleaned up the code so that we can use the
2347 ACE_Based_Pointer<> consistently when
2348 ACE_HAS_POSITION_INDEPENDENT_MALLOC is enabled and disable.
2349
2350 * ace/Malloc.h: By default, ACE_MALLOC_PADDING is set to 1 so that
2351 we don't get "divide by zero" errors. However, it's only used
2352 in the computation of the ACE_Malloc_Header if it's > 1.
2353
2354 * config-aix-4.x.h,
2355 config-lynxos.h,
2356 config-psos-diab-mips.h,
2357 config-psos-diab-ppc.h,
2358 config-psos-diab.h,
2359 config-psos-tm.h,
2360 config-psosim-g++.h,
2361 config-sunos5.5.h:
2362 Removed the ACE_MALLOC_ALIGN macro since it should no longer
2363 be necessary.
2364
2365 * ace/Malloc.h: Changed the use of macro ACE_MALLOC_ALIGN to
2366 ACE_MALLOC_PADDING, which is more descriptive.
2367
2368 * Fixed a typo in the TAO-mail.html program where ace-*
2369 should have been tao-*. Thanks to Pedro Alves Ferreira
2370 <[email protected]> for reporting this.
2371
2372 * Fixed all vestiages of "BUG-REPORT-FORM" to say
2373 "PROBLEM-REPORT-FORM." Thanks to Neil B. Cohen <[email protected]>
2374 for reporting this.
2375
2376 Wed Jul 07 12:27:32 1999 David L. Levine <[email protected]>
2377
2378 * ace/config-lynxos.h: added ACE_LACKS_FORK for PowerPC
2379 only. This cleans up most of the remaining test problems
2380 on LynxOS/PPC.
2381
2382 Wed Jul 07 11:26:06 1999 Nanbor Wang <[email protected]>
2383
2384 * ace/Malloc_T.cpp: Added ASYS_TEXT macros.
2385
2386 Wed Jul 7 09:05:32 1999 Steve Huston <[email protected]>
2387
2388 * ace/Caching_Strategies_T.i (ACE_Caching_Strategy_Adapter<>::purge_
2389 percent): Don't return a value from a void function.
2390
2391 Wed Jul 07 08:35:24 1999 Irfan Pyarali <[email protected]>
2392
2393 * examples/Threads/future1.cpp
2394 * examples/Threads/future2.cpp
2395 * tests/Future_Set_Test.cpp
2396 * tests/Future_Test.cpp
2397
2398 Fixed some template instantiations.
2399
2400 Wed Jul 7 03:27:16 1999 Douglas C. Schmidt <[email protected]>
2401
2402 * examples/Shared_Malloc: Added a new file called
2403 test_position_independent_malloc.cpp that exercises the new
2404 "position-independent" features of the ACE_Malloc< class.
2405
2406 * ace/Malloc_T.cpp: All the ACE_Malloc constructors were calling
2407 open() without checking the results. Now, if failure occurs we
2408 print a message. In addition, we weren't checking in
2409 shared_malloc() to make sure that we'd been properly initialized
2410 by the constructor. Now, if we aren't initialized correctly we
2411 return 0. Thanks to Dietrich Quehl
2412 <[email protected]> for reporting these problems.
2413
2414 * ace/Memory_Pool: Added a new feature to ACE_Shared_Memory_Pool
2415 and ACE_Shared_Memory_Pool_Options that makes it possible to
2416 tailor the size of System V shared memory segments without
2417 breaking any existing ACE code. Thanks to Serge Kolgan
2418 <[email protected]> for contributing this enhancement.
2419
2420 * ace/Makefile.bor (OBJFILES): Updated this file to include
2421 the new Based_Pointer_Repository.obj entry.
2422
2423 * ace/Makefile: Reran make depend.
2424
2425 * ace/Makefile: Added the Based_Pointer_Repository.{h,cpp} and
2426 Based_Pointer_T.{h,cpp} files to the Makefile.
2427
2428 * ace/Malloc.h: Added the first support for the new "Based Pointer
2429 Malloc" feature that's described below.
2430
2431 * ace: Added the Based_Pointer_Repository.{h,cpp} and
2432 Based_Pointer_T.{h,cpp} files to the release. These classes
2433 make it possible to transparently use "pointers" in shared
2434 memory without having to ensure that the base addresses of all
2435 the pointers are mapped into separate processes at the same
2436 absolute memory base address. Thanks to Dietrich Quehl
2437 <[email protected]> for contributing this software.
2438
2439 Wed Jul 07 01:28:40 1999 Nanbor Wang <[email protected]>
2440
2441 * ace/ace_dll.dsp:
2442 * ace/ace_lib.dsp: Added the Based_Pointer_Repository.{h,cpp} and
2443 Based_Pointer_T.{h,cpp} files to the project files.
2444
2445 * ace/Based_Pointer_Repository.cpp: Added define ACE_BUILD_DLL.
2446
2447 Tue Jul 06 22:47:04 1999 David L. Levine <[email protected]>
2448
2449 * bin/check_build_logs: filter out Purify warning about
2450 non-pic R_SPARC_*.
2451
2452 * ace/config-linuxppcr5.h: commented out #define __USE_XOPEN
2453 because it's not necessary with glibc 2.1.1. Thanks to
2454 Andreas Tobler <[email protected]> for reporting this.
2455
2456 * ace/OS.i (thr_kill, thr_setprio, sema_destroy, sema_wait, chdir,
2457 unlink, sema_post, thr_continue, thr_getprio, thr_suspend,
2458 ioctl): on VxWorks only, removed ACE_ADAPT_RETVAL wrapper from
2459 system call, because it returns OK/ERROR (except for ioctl,
2460 which returns driver number/ERROR). Thanks to Elias Sreih
2461 <[email protected]> for reporting this.
2462
2463 * tests/SOCK_Send_Recv_Test.cpp (server): added 5 second
2464 sleep so that the code agrees with the comments :-) It now
2465 passes on LynxOS. Thanks to Steve Huston for the fix. Also,
2466 changed an exit () call to ACE_OS::exit (), and changed a few
2467 C-style casts to ANSI-style casts.
2468
2469 Tue Jul 6 19:20:16 1999 Steve Huston <[email protected]>
2470
2471 * ace/Cache_Map_Manager_T.h: Removed extra "ace/" from #pragma
2472 implementation directive.
2473
2474 * tests/Cache_Map_Manager_Test.cpp: Changed typedefs for KEY and
2475 VALUE from size_t to ACE_UINT32 to they always pick up the
2476 specializations for ACE_Hash, etc. On HP-UX and AIX, size_t is
2477 not the same as ACE_UINT32, and this caused build errors.
2478
2479 * tests/Conn_Test.cpp: Restrict range of the test on PharLap ETS,
2480 else it runs out of resources with default configuration.
2481
2482 Tue Jul 6 18:21:37 1999 Everett Anderson <[email protected]>
2483
2484 * ace/Token_Request_Reply.{h,i,cpp}: Added
2485 ACE_TOKEN_REQUEST_HEADER_SIZE for the fixed-length portion of
2486 ACE_Token_Request's Transfer struct, changing length
2487 calculations accordingly. Added two bytes to the buffer to
2488 accomodate '\0' values after the token name and client ID.
2489
2490 * ace/Remote_Tokens.cpp: Changed the check for failure when
2491 receiving a reply in request_reply.
2492
2493 Tue Jul 6 18:21:36 1999 Douglas C. Schmidt <[email protected]>
2494
2495 * ace/Map_Manager.cpp: Made this file conform to the ACE programming
2496 guidelines.
2497
2498 Tue Jul 6 18:31:34 1999 Carlos O'Ryan <[email protected]>
2499
2500 * include/makeinclude/platform_irix6.x_sgic++.GNU:
2501 Removed pesky warnings about functions to big to optimize
2502 because it would be slow.
2503
2504 Tue Jul 6 18:15:31 1999 Steve Huston <[email protected]>
2505
2506 * ACE_INSTALL.html: Added a further note re PharLap ETS builds.
2507
2508 * ace/config-pharlap.h: Added ACE_TIMER_SKEW of 10ms.
2509
2510 * tests/Atomic_Op_Test.dsp:
2511 * tests/Barrier_Test.dsp:
2512 * tests/Cache_Map_Manager_Test.dsp:
2513 * tests/Future_Set_Test.dsp:
2514 Changed PharLap ETS configurations to put intermediate files in
2515 ETS_LIB\Debug (like all the others), not in ETS_DLL\Debug.
2516
2517 * tests/test_config.h: Set ACE_MAX_CLIENTS to 4 for PharLap ETS.
2518
2519 * tests/run_pharlap_tests.bat: Disabled some tests of unsupported
2520 facilities.
2521
2522 * tests/SOCK_Test.cpp: Replaced "localhost" with ACE_LOCALHOST.
2523
2524 Tue Jul 6 17:54:52 1999 Kirthika Parameswaran <[email protected]
2525
2526 * ace/Caching_Strategies_T.{h,i,cpp}: Added Abstract Base class
2527 called ACE_Caching_Strategy and ACE_Caching_Strategy_Adaptor
2528 which facilitate changing of caching strategies at runtime using
2529 the External Polymorphism pattern.
2530
2531 * ace/Cached_Connect_Strategy_T.{h, cpp}: Changed the signature of
2532 the constructor and also removed the <caching_strategy_> member.
2533
2534 * ace/Cache_Map_Manager_T.{h, cpp}:
2535 * ace/Hash_Cache_Map_Manager_T.{h,cpp}:
2536 Changed the signature of the constructor.This was needed to be
2537 able to use the External Polymorphism pattern.
2538
2539 * tests/Cache_Map_Manager_Test.cpp:
2540 * tests/Cached_Conn_Test.cpp:
2541 Made necessary changes to reflect the changes above.
2542 Thanks to Irfan of the DOC group for helping with this.
2543
2544 Tue Jul 6 17:34:52 1999 Steve Huston <[email protected]>
2545
2546 * ace/config-aix-4.x.h: Enabled ACE_HAS_PTHREADS_UNIX98_EXT and
2547 removed ACE_LACKS_RWLOCK_T for AIX 4.3. Moved some other
2548 ACE_LACKS settings to the pre-4.3 threads section to allow
2549 taking advantage of more capability on AIX 4.3.
2550
2551 Tue Jul 06 16:29:32 1999 Nanbor Wang <[email protected]>
2552
2553 * ace/OS.h: Moved the string conversion macros before including
2554 OS.i because we also use them in the file. Thanks to Carlos for
2555 reporting this.
2556
2557 * OS.{h,i,cpp}:
2558 * Parse_Node.cpp: Windows CE fixes.
2559
2560 Tue Jul 06 15:56:19 1999 David L. Levine <[email protected]>
2561
2562 * ace/ACE.h,Object_Manager.{h,cpp},OS.{h,cpp}
2563 (ACE_Object_Manager*::init () and fini ()): return 1 instead
2564 of -1 after the first call, per program invocation. Thanks
2565 to Jody Hagins <[email protected]> for this suggestion.
2566
2567 Tue Jul 6 15:04:49 1999 Douglas C. Schmidt <[email protected]>
2568
2569 * ace/OS.i (sigwait): Fixed a problem with macro-itis and GCC. The
2570 following macro
2571
2572 # if (__FreeBSD__ < 3) || defined (CHORUS) || defined (ACE_PSOS)
2573
2574 was always evaluating to true, even when we're not on FreeBSD!.
2575 The following macro works around this:
2576
2577 # if (defined (__FreeBSD__) && (__FreeBSD__ < 3)) ||
2578 defined (CHORUS) || defined (ACE_PSOS)
2579
2580 Thanks to Elias Sreih <[email protected]> for
2581 reporting this and Carlos for suggesting the workaround.
2582
2583 Tue Jul 6 11:39:59 1999 Douglas C. Schmidt <[email protected]>
2584
2585 * ace/OS.i: Updated the comment for ACE_ADAPT_RETVAL to
2586 clarify why it is needed. Thanks to Elias Sreih
2587 <[email protected]> for motivating this clarification.
2588
2589 Tue Jul 6 10:42:02 1999 Nanbor Wang <[email protected]>
2590
2591 * tests/test_config.h (ACE_INIT_LOG): Fixed a typo in VxWorks'
2592 definition of ACE_INIT_LOG. Thanks to David for reporting
2593 this.
2594
2595 Tue Jul 6 10:17:19 1999 Douglas C. Schmidt <[email protected]>
2596
2597 * include/makeinclude/ace_flags.bor: Removed an extraneous
2598 "\orbsvcs". Thanks to Eugene Surovegin ([email protected])
2599 for reporting this.
2600
2601 Tue Jul 06 10:17:12 1999 David L. Levine <[email protected]>
2602
2603 * bin/check_build_logs: use mhmail instead of mailx on Suns.
2604 mailx loses the subject, when run from my cron job. Thanks
2605 to Naga for reporting this.
2606
2607 Mon Jul 5 20:45:21 1999 Steve Huston <[email protected]>
2608
2609 * ace/OS.(h i): Added code for support of pthread suspend/resume and
2610 pthreads reader-writer locks. These features are enabled by setting
2611 the ACE_HAS_PTHREADS_UNIX98_EXT and removing ACE_LACKS_RWLOCK_T.
2612
2613 * ace/config-hpux11.h: Added ACE_HAS_PTHREADS_UNIX98_EXT and removed
2614 ACE_LACKS_RWLOCK_T - this enables native reader/writer locks as well
2615 as thread suspend and reusme.
2616
2617 * ace/README: Added ACE_HAS_PTHREADS_UNIX98_EXT.
2618
2619 * apps/JAWS/server/HTTP_Config.(h cpp):
2620 * apps/JAWS/server/HTTP_Response.( h cpp): const-corrected char *.
2621
2622 Mon Jul 5 16:39:50 1999 Douglas C. Schmidt <[email protected]>
2623
2624 * ACE-INSTALL.html: Updated the discussion to point out
2625 our support for KAI C++ 3.3, Borland C++ Builder 4.0, and the
2626 IBM VisualAge C++ compiler.
2627
2628 * ace/Future.h: Moved the static methods until the bottom
2629 of the ACE_Future_Rep class to workaround a bug with Borland's
2630 C++ Builder. Thanks to Christopher Kohlhoff
2631 <[email protected]> for testing this fix.
2632
2633 * ace/Timer_Heap_T.cpp (grow_heap): Removed an extra memory
2634 allocation that snuck in whilst integrating the IBM VisualAge
2635 C++ compiler patches. Thanks to David Levine for reporting
2636 this.
2637
2638 * Added new Borland Makefiles. Thanks to Christopher Kohlhoff
2639 <[email protected]> for these.
2640
2641 * include/makeinclude: Added several new platform configuration
2642 files for Borland C++ Builder. Thanks to Christopher Kohlhoff
2643 <[email protected]> for these.
2644
2645 Mon Jul 5 13:08:36 1999 Kirthika Parameswaran <[email protected]>
2646
2647 * tests/Cache_Map_Manager_Test.cpp: Added ACE_UNUSED_ARG macros
2648 for <result> to ward off warnings.
2649
2650 Mon Jul 05 13:00:19 1999 Irfan Pyarali <[email protected]>
2651
2652 * ace/Malloc.i (free): Fixed unused arg warning for <ptr>.
2653
2654 * examples/Threads/future1.cpp:
2655 * examples/Threads/future2.cpp:
2656
2657 Fixed template instantiations.
2658
2659 Mon Jul 5 12:25:11 1999 Carlos O'Ryan <[email protected]>
2660
2661 * ace/OS.i (strspn):
2662 This function cannot return -1 to indicate errors, the function
2663 returns an unsigned integral type.
2664
2665 Mon Jul 05 12:14:56 1999 Nanbor Wang <[email protected]>
2666
2667 * ace/OS.i: Wchat_t version of strenvdup should only be available
2668 on Win32. Thanks to Bala, Carlos, and David for noticing this.
2669 (strspn): Ditto to this function.
2670
2671 Mon Jul 05 09:58:07 1999 David L. Levine <[email protected]>
2672
2673 * ACE-INSTALL.html: in example config.h for VxWorks on NT,
2674 use "" style #includes instead of <>. <> should only be
2675 used for system headers.
2676
2677 Mon Jul 05 04:11:05 1999 Nanbor Wang <[email protected]>
2678
2679 * tests/version_tests/Future_Set_Test.dsp:
2680 * tests/version_tests/version_tests.dsw: Added Future_Set_Test
2681 into version tests workspace.
2682
2683 * ace/ACE.cpp:
2684 * ace/ACE.h:
2685 * ace/DLL.cpp:
2686 * ace/DLL.h:
2687 * ace/Env_Value_T.h:
2688 * ace/Env_Value_T.i:
2689 * ace/FIFO.cpp:
2690 * ace/FIFO.h:
2691 * ace/FIFO.i:
2692 * ace/FIFO_Recv.cpp:
2693 * ace/FIFO_Recv.h:
2694 * ace/FIFO_Recv_Msg.cpp:
2695 * ace/FIFO_Recv_Msg.h:
2696 * ace/FIFO_Send.cpp:
2697 * ace/FIFO_Send.h:
2698 * ace/FIFO_Send_Msg.cpp:
2699 * ace/FIFO_Send_Msg.h:
2700 * ace/FILE_Connector.i:
2701 * ace/Filecache.cpp:
2702 * ace/Get_Opt.cpp:
2703 * ace/INET_Addr.cpp:
2704 * ace/Local_Name_Space_T.cpp:
2705 * ace/Log_Record.cpp:
2706 * ace/Message_Queue_T.cpp:
2707 * ace/Name_Proxy.cpp:
2708 * ace/Naming_Context.cpp:
2709 * ace/Naming_Context.h:
2710 * ace/OS.cpp:
2711 * ace/OS.h:
2712 * ace/OS.i:
2713 * ace/Parse_Node.cpp:
2714 * ace/Parse_Node.h:
2715 * ace/Proactor.cpp:
2716 * ace/Process.cpp:
2717 * ace/RB_Tree.cpp:
2718 * ace/Registry_Name_Space.cpp:
2719 * ace/Remote_Name_Space.cpp:
2720 * ace/Remote_Name_Space.h:
2721 * ace/Remote_Tokens.cpp:
2722 * ace/Remote_Tokens.h:
2723 * ace/Remote_Tokens.i:
2724 * ace/SOCK_Dgram_Mcast.cpp:
2725 * ace/SPIPE_Connector.cpp:
2726 * ace/SV_Message_Queue.cpp:
2727 * ace/SV_Semaphore_Simple.cpp:
2728 * ace/SV_Shared_Memory.cpp:
2729 * ace/Stats.cpp:
2730 * ace/Stats.h:
2731 * ace/Strategies_T.cpp:
2732 * ace/Strategies_T.i:
2733 * ace/Svc_Conf.h:
2734 * ace/Svc_Conf.y:
2735 * ace/Svc_Conf_y.cpp:
2736 * ace/Token_Collection.cpp:
2737 * ace/Token_Collection.h:
2738 * ace/Token_Collection.i:
2739 * ace/Token_Invariants.cpp:
2740 * ace/Token_Invariants.h:
2741 * ace/UPIPE_Acceptor.cpp:
2742 * ace/UPIPE_Connector.cpp:
2743 * ace/UPIPE_Connector.i:
2744 * ace/WFMO_Reactor.cpp:
2745 * ace/WIN32_Asynch_IO.cpp:
2746 * ace/WIN32_Proactor.cpp:
2747 * ace/config-win32-common.h:
2748 * tests/CDR_Test.cpp:
2749 * tests/Cache_Map_Manager_Test.cpp:
2750 * tests/Collection_Test.cpp:
2751 * tests/DLL_Test.cpp:
2752 * tests/DLL_Test.h:
2753 * tests/DLList_Test.cpp:
2754 * tests/Dynamic_Priority_Test.cpp:
2755 * tests/Env_Value_Test.cpp:
2756 * tests/Handle_Set_Test.cpp:
2757 * tests/High_Res_Timer_Test.cpp:
2758 * tests/IOStream_Test.cpp:
2759 * tests/MT_Reactor_Timer_Test.cpp:
2760 * tests/Map_Manager_Test.cpp:
2761 * tests/Map_Test.cpp:
2762 * tests/Message_Queue_Test.cpp:
2763 * tests/Naming_Test.cpp:
2764 * tests/New_Fail_Test.cpp:
2765 * tests/Pipe_Test.cpp:
2766 * tests/Priority_Reactor_Test.cpp:
2767 * tests/Process_Mutex_Test.cpp:
2768 * tests/Process_Strategy_Test.cpp:
2769 * tests/Process_Strategy_Test.h:
2770 * tests/Reactor_Performance_Test.cpp:
2771 * tests/SOCK_Connector_Test.cpp:
2772 * tests/SPIPE_Test.cpp:
2773 * tests/SV_Shared_Memory_Test.cpp:
2774 * tests/Service_Config_Test.cpp:
2775 * tests/Thread_Manager_Test.cpp:
2776 * tests/Time_Service_Test.cpp:
2777 * tests/Tokens_Test.cpp:
2778 * tests/UPIPE_SAP_Test.cpp:
2779 * tests/Upgradable_RW_Test.cpp:
2780 * tests/test_config.h: Changes to make it possible to write pure
2781 UNICODE programs on NT. Now it is possible to compile ACE on NT
2782 with ACE_HAS_MOSTLY_UNICODE_APIS defined. Most tests passed
2783 without trouble. However, Future_Set_Test is not yet included
2784 in the version_tests and Dynamic_Priority_Test also
2785 failed. Thanks to Valery Arkhangorodsky
2786 <[email protected]> for providing a preliminary patch for
2787 ACE to motivate the change.
2788
2789 Sun Jul 04 18:57:13 1999 David L. Levine <[email protected]>
2790
2791 * ACE-INSTALL.html: when building tao_idl on NT to be
2792 used for generating code for VxWorks, build without
2793 ACE_HAS_EXCEPTIONS. Otherwise, TAO_IDLFLAGS must
2794 be overridden to be null instead of -Ge 1. Thanks to
2795 Carlos for this suggestion.
2796
2797 Sun Jul 4 17:06:17 1999 Douglas C. Schmidt <[email protected]>
2798
2799 * tests/Notify_Performance_Test.cpp,
2800 tests/Message_Block_Test.cpp,
2801 tests/Priority_Task_Test.cpp,
2802 tests/Thread_Pool_Reactor_Test.cpp: Fixed a couple of
2803 warnings related to initializing char *'s with const char *'s.
2804 Thanks to SunC++ 5.0 for reporting this.
2805
2806 Sun Jul 04 16:07:33 1999 David L. Levine <[email protected]>
2807
2808 * ACE-INSTALL.html: updated instructions for building on
2809 NT host for VxWorks.
2810
2811 Sun Jul 04 15:41:34 1999 David L. Levine <[email protected]>
2812
2813 * many Makefiles: call ace_components via sh, instead of
2814 directly in the make $(shell) command. This allows it
2815 to work on platforms that don't have /bin/sh, such as NT.
2816
2817 Sun Jul 4 12:34:24 1999 Douglas C. Schmidt <[email protected]>
2818
2819 * ace/Timer_Hash_T.cpp (cancel): Reversed a comparison from
2820 <= to > to make the ACE_ASSERT replacement work properly.
2821 Thanks to David Levine for reporting this.
2822
2823 * tests/Thread_Pool_Test.cpp (open): We need to define 'int i'
2824 outside of the for loop to keep EGCS from complaining for some
2825 reason.
2826
2827 * ace/Timer_Heap_T.cpp: Reformatted this code to conform to
2828 the ACE programming guidelines.
2829
2830 * ace/Timer_Heap_T.cpp (schedule): Replaced an ad hoc check for
2831 allocator failure with the ACE_ALLOCATOR_RETURN macro.
2832
2833 * ace/RB_Tree.cpp: Modified Carlo's change so that we add an
2834 extra set of parens in a special way, rather than using a new
2835 macro. This is more consistent with how we deal with this
2836 problem in other parts of ACE.
2837
2838 * ace/RB_Tree.cpp (insert_i): Removed an unreachable statement.
2839 Thanks to David Levine for reporting this.
2840
2841 Sat Jul 3 22:12:07 1999 Carlos O'Ryan <[email protected]>
2842
2843 * ace/Object_Manager.cpp (get_singleton_lock):
2844 Fixed one of the ACE_Thread_Mutex version of this method. One of
2845 the braces after an if() statement got "accidentaly" removed;
2846 binding the "else" part of the statement to the previous if()
2847 instead.
2848
2849 Sat Jul 3 18:54:18 1999 Carlos O'Ryan <[email protected]>
2850
2851 * ace/RB_Tree.cpp:
2852 If the "constructor" parameter in an ACE_NEW_RETURN macro has a
2853 comma in it (such as Foo(x,y,z)) we need to replace it with a
2854 macro, so it is seen as a single token by the pre-processor.
2855 Otherwise it (the pre-processor) gets confused and uses
2856 the comma as separator. Thanks to David for detecting this one.
2857
2858 Sat Jul 3 15:57:40 1999 Carlos O'Ryan <[email protected]>
2859
2860 * ace/SOCK_Dgram_Mcast.cpp:
2861 Fixed error code return, it should be -1 not ACE_INVALID_HANDLE
2862
2863 * ace/SOCK_Connector.cpp:
2864 Fixed stray comment characters.
2865
2866 Sat Jul 03 14:04:10 1999 David L. Levine <[email protected]>
2867
2868 * ace/Makefile: call ace_components via sh, and use single
2869 instead of double quotes, so that it works with Cygwin
2870 on NT host.
2871
2872 Sat Jul 3 12:05:46 1999 Douglas C. Schmidt <[email protected]>
2873
2874 * ace/SOCK_Dgram_Mcast: Modified the subscribe() method to return
2875 0 or -1 rather than ACE_HANDLE. Thanks to Vidya Narayanan
2876 <[email protected]> for suggesting this.
2877
2878 * ace/SOCK_Acceptor,
2879 ace/SOCK_Connector,
2880 ace/SOCK: Added the ACE_Protocol_Info *, ACE_SOCK_GROUP, and
2881 flags parameters to these classes so we can pass down the GQoS
2882 information. Thanks to Vidya Narayanan
2883 <[email protected]> for suggesting this.
2884
2885 * ace/SOCK.h: Added the reuse_addr parameter to open() and the
2886 ACE_SOCK constructor.
2887
2888 * tests/Future_Set_Test.cpp (main): We were casting a
2889 const ASYS_TCHAR * to u_int, yikes!
2890
2891 * ace/RB_Tree.cpp: Cleaned up the code so it's conformant with the
2892 ACE programming style, particularly for dynamic memory
2893 allocation (which wasn't using ACE_NEW).
2894
2895 * ace/ACE.cpp (get_ip_interfaces): Cleaned up the code so it conforms
2896 to the ACE programming guidelines.
2897
2898 * ace/Timer_Hash_T.cpp: Fixed a number mistakes where the return
2899 value of new wasn't being checked.
2900
2901 * ace/Timer_Heap_T.cpp,
2902 ace/Timer_Wheel_T.cpp: Removed the apparently extraneous parens
2903 used in the ACE_NEW* macros in order to keep EGCS 2.95 happy.
2904 Thanks to Jody Hagins and Arturo Montes
2905 <[email protected]> for reporting this. BTW, if this
2906 causes problems on any compilers please let me know.
2907
2908 * ace: Reformatted all the ACE_NEW* macros so they conform to
2909 ACE programming style.
2910
2911 * ace/Priority_Reactor.cpp: Cleaned up the code to conform to
2912 the ACE programming style.
2913
2914 * ace/OS.cpp (tss_base): Cleaned up a loop a bit so it conforms
2915 to the ACE programming style.
2916
2917 Sat Jul 3 11:09:51 1999 Alexander Babu Arulanthu <[email protected]>
2918
2919 * ace/WIN32_Asynch_IO.cpp
2920 * ace/WIN32_Proactor.cpp
2921 Addressed Doug's @@ Alex comments. It was simply making some
2922 debug statements conditional upon ACE::debug () flag.
2923
2924 Fri Jul 2 19:50:29 1999 Douglas C. Schmidt <[email protected]>
2925
2926 * ace/OS.h: There was a typo in the ACE_WIN32CALL_RETURN() macro
2927 for Borland C++. Thanks to Jody Hagins <[email protected]> for
2928 reporting this.
2929
2930 * ace/config-win32-borland.h: Clarified the fact that this file
2931 shouldn't be #included directly. Thanks to Thaddeus Olczyk
2932 <[email protected]> for motivating this.
2933
2934 Fri Jul 02 22:22:12 1999 Steve Huston <[email protected]>
2935
2936 * ace/config-hpux-11.x-hpc++.h: Added
2937 ACE_HAS_STD_TEMPLATE_METHOD_SPECIALIZATION for aC++.
2938
2939 * include/makeinclude/platform_hpux_aCC.GNU: Removed the suppression
2940 of warning 829 (auto convert of string literal to char * deprecated).
2941 With the exception of some JAWS code, all of ACE has been rid of the
2942 offenders.
2943
2944 * websvcs/tests/Makefile: Replace VLDLIBS with correct LDLIBS. Now
2945 works on AIX.
2946
2947 Fri Jul 2 19:37:16 1999 Carlos O'Ryan <[email protected]>
2948
2949 * tests/Future_Test.cpp:
2950 The timeout variable was declared in one scope but used in
2951 another one. Added another timeout variable to keep it happy.
2952
2953 * tests/Message_Queue_Test.cpp:
2954 A pointer was initialize using "0x" i think it was a typo and
2955 should be "0".
2956
2957 Fri Jul 02 18:28:31 1999 Steve Huston <[email protected]>
2958
2959 * ace/config-hpux11.h: Added ACE_HAS_BROKEN_T_ERROR.
2960 Enable threads by default, unless site config explicitly turns it
2961 off by setting ACE_HAS_THREADS to 0. Thanks to Brian Wallis
2962 <[email protected]> for motivating this change.
2963
2964 * ace/config-hpux-11.x-hpc++.h: Added
2965 ACE_HAS_STD_TEMPLATE_SPECIALIZATION.
2966
2967 * include/makeinclude/platform_hpux_aCC.GNU: If on 11.00 and the
2968 user requests a build w/o threads, set ACE_HAS_THREADS to 0 to
2969 override the config default (see config-hpux11.h, above).
2970
2971 Fri Jul 2 11:49:12 1999 Kirthika Parameswaran <[email protected]>
2972
2973 * tests/Cached_Conn_Test.cpp: This is a test which shows how the
2974 Strategy Connector can automagically as well as explicitly cache
2975 and purge connection from its connection cache using different
2976 caching strategies.
2977
2978 * ace/Cached_Connect_Strategy_T.{h, cpp}: Added a method
2979 "purge_connections ()" which allows explicit purging of
2980 connnections from the connection cache.
2981
2982 Fri Jul 2 13:54:14 1999 Douglas C. Schmidt <[email protected]>
2983
2984 * ace/Future_Set.cpp,
2985 ace/Future.cpp: Added ACE_TYPENAME at a couple of places
2986 to make HP/UX aCC happy. Thanks to Eric Mitchell
2987 <[email protected]> for reporting this.
2988
2989 * ace/SOCK_Dgram: Added send() and recv() methods that take
2990 ACE_OVERLAPPED structures. Thanks to Vidya Narayanan
2991 <[email protected]> for suggesting this.
2992
2993 * ace/OS.h: Added an ACE_OVERLAPPED_FLAG that's used to abstract
2994 away from the WSA_FLAG_OVERLAPPED macro on Win32. Thanks to
2995 Vidya Narayanan <[email protected]> for suggesting
2996 this.
2997
2998 * ace/OS.cpp: Removed unnecessary ';' after ACE_BEGINTHREADEX() and
2999 ACE_ENDTHREADEX(). Thanks to Kris Johnson
3000 <[email protected]> for reporting this.
3001
3002 * ace/Service_Config.cpp (open_i): It appears that
3003
3004 if (ACE::debug ())
3005 ACE_Log_Msg::disable_debug_messages ();
3006
3007 should really be
3008
3009 if (ACE::debug () == 0)
3010 ACE_Log_Msg::disable_debug_messages ();
3011
3012 Thanks to Jonathan Reis <[email protected]> for
3013 reporting this.
3014
3015 * tests/Future_Test.cpp (main): Make sure to use absolute time
3016 rather than relative time for the timeouts. Thanks to Peter
3017 Brandstrom <[email protected]> for reporting this.
3018
3019 Fri Jul 02 13:44:17 1999 Irfan Pyarali <[email protected]>
3020
3021 * tests/Thread_Pool_Reactor_Test.cpp (worker): Added const fix to
3022 <msg> and <rendezvous>.
3023
3024 * tests/Priority_Task_Test.cpp: Added const fix to <usage>.
3025
3026 * tests/Notify_Performance_Test.cpp (print_results): Added const
3027 fix to <reactor_type>.
3028
3029 * tests/Message_Block_Test.cpp: Added const fix to <name_>.
3030
3031 Fri Jul 2 11:49:12 1999 Irfan Pyarali <[email protected]>
3032
3033 * Initialized some variables to zero to avoid some silly warnings
3034 from egcs (with exceptions):
3035
3036 - ace/Free_List.cpp
3037 - ace/Malloc.i
3038 - tests/DLL_Test.cpp
3039 - tests/Mem_Map_Test.cpp
3040 - tests/Message_Queue_Test.cpp
3041 - tests/Reactor_Notify_Test.cpp
3042
3043 Fri Jul 2 11:49:12 1999 Kirthika Parameswaran <[email protected]>
3044
3045 * ace/Strategies_T.h (ACE_Cached_Connect_Strategy): Made "virtual"
3046 methods which were getting overriden in the derived
3047 Cached_Connect_Strategy_Ex class.
3048
3049 * ace/Cached_Connect_Strategy_T.{h, cpp}: Added a method
3050 "purge_connections ()" which allows explicit purging of
3051 connnections from the connection cache.
3052
3053 * tests/Cached_Conn_Test.cpp: This is a test which shows how the
3054 Strategy Connector can automagically as well as explicitly cache
3055 and purge connection from its connection cache using different
3056 caching strategies.
3057
3058 Fri Jul 2 11:49:12 1999 Kirthika Parameswaran <[email protected]>
3059
3060 * tests/Cached_Conn_Test.cpp: This is a test which shows how the
3061 Strategy Connector can automagically as well as explicitly cache
3062 and purge connection from its connection cache using different
3063 caching strategies.
3064
3065 * ace/Cached_Connect_Strategy_T.{h, cpp}: Added a method
3066 "purge_connections ()" which allows explicit purging of
3067 connnections from the connection cache.
3068
3069 Fri Jul 02 11:50:21 1999 Steve Huston <[email protected]>
3070
3071 * ace/ace_lib.dsp: Added Pharlap ETS configurations for Debug and
3072 Release.
3073
3074 * ace/config-pharlap.h: Added ACE_LACKS_* definitions to avoid some
3075 unimplemented memory mapped things. Added a definition for
3076 ACE_PAGE_SIZE because it's not obvious how to get it at run time.
3077 Include <embkern.h> because some of the OS functions call ETS
3078 kernel functions for low-level system info gathering.
3079 Set ACE_HAS_TSS_EMULATION. The PharLap TSS leaves some to be
3080 desired, according to TSS_Test.
3081
3082 * ace/config-win32-common.h: In building for PharLap, don't bring in
3083 the OS-supplied wsock32.lib - need to use the PharLap one.
3084
3085 * ace/ACE.cpp: PharLap ETS changes:
3086 ACE::ldfind: PharLap doesn't have expand environment strings.
3087 ACE::get_ip_interfaces: Use PharLap kernel functions to find
3088 interfaces and learn their addresses.
3089 ACE::terminate_process: Unsupported on PharLap.
3090 ACE::handle_timed_open: If the open times out, set errno to
3091 ETIMEDOUT, not ETIME.
3092 ACE::handle_timed_accept: If the select times out, set errno to
3093 ETIMEDOUT, not ETIME.
3094 ACE::sock_error: If not a known error, format a message with the
3095 error number in it - this is the only chance for a PharLap
3096 system error to indicate the error number.
3097
3098 * ace/OS.h: Changed def of ACE_DEFAULT_SERVER_HOST to ACE_LOCALHOST.
3099
3100 * ace/OS.cpp (ACE_OS::uname): PharLap: Use ETS kernel functions to get
3101 target processor class. PharLap doesn't do GetSystemInfo.
3102
3103 * ace/OS.i (ACE_OS::hostname): PharLap: Attempt gethostname if using
3104 RT version, though this isn't too reliable (requires ethernet and
3105 BOOTP).
3106 (ACE_OS::dlerror): PharLap doesn't support FormatMessage,
3107 so format the error number.
3108 (ACE_OS::mmap, ACE_OS::mprotect, ACE_OS::msync): PharLap doesn't
3109 do memory-mapped files.
3110 (ACE_OS::getpagesize): PharLap - use page size set from config.h.
3111 Don't know a way to get this info at run time.
3112 (ACE_OS::hostname (whar_t *, size_t)): PharLap - no wide chars.
3113
3114 * ace/Log_Msg.cpp (log): PharLap doesn't do FormatMessage, so print
3115 <unknown error> = %d for %p.
3116
3117 * ace/Pipe.cpp (open): The protocol level for TCP_NODELAY on PharLap
3118 is SOL_SOCKET, as opposed to Win32, where it's IPPROTO_TCP.
3119
3120 * ace/SPIPE_Connector.cpp (connect): PharLap doesn't have the
3121 SetNamedPipeHandleState function.
3122
3123 * ace/WFMO_Reactor.cpp: PharLap ETS changes, because PharLap doesn't
3124 implement async I/O, or WaitForMultipleObjectsEx.
3125 register_handler_i: (This is a general Winsock 1.1 change) Creating
3126 an event handle for a socket is not supported.
3127 ok_to_wait, wait_for_multiple_events: Use WaitForMultipleObjects,
3128 not WaitForMultipleObjectsEx. Should be fine since the big
3129 difference is alertable, and that's not supported on ETS anyway.
3130
3131 * tests/test_config.h: On PharLap, direct all logging to host console.
3132
3133 * tests/tests_pharlap_msvc.lnk: Cleaned things up; extended stack size
3134 from 8K to 32K. Change the starting load offset to
3135 0x100000 - the tests don't all fit in the default range.
3136 Disabled the target screen driver to make all the test output from
3137 all threads go to the host, thereby getting saved in the log files.
3138
3139 * tests/run_pharlap_tests.bat: Fixed names of the executables.
3140
3141 * tests/Atomic_Op_Test.dsp:
3142 * tests/Barrier_Test.dsp:
3143 * tests/Basic_Types_Test.dsp:
3144 * tests/Buffer_Stream_Test.dsp:
3145 * tests/CDR_Test_Test.dsp:
3146 * tests/Collection_Test.dsp:
3147 * tests/Conn_Test.dsp:
3148 * tests/DLList_Test.dsp:
3149 * tests/Dynamic_Priority_Test.dsp:
3150 * tests/Enum_Interfaces_Test.dsp:
3151 * tests/Env_Value_Test.dsp:
3152 * tests/Future_Test.dsp:
3153 * tests/Handle_Set_Test.dsp:
3154 * tests/Hash_Map_Manager_Test.dsp:
3155 * tests/High_Res_Timer_Test.dsp:
3156 * tests/IOStream_Test.dsp:
3157 * tests/Map_Manager_Test.dsp:
3158 * tests/Map_Test.dsp:
3159 * tests/Mem_Map_Test.dsp:
3160 * tests/Message_Block_Test.dsp:
3161 * tests/Message_Queue_Notifications_Test.dsp:
3162 * tests/Message_Queue_Test.dsp:
3163 * tests/MM_Shared_Memory_Test.dsp:
3164 * tests/MT_Reactor_Timer_Test.dsp:
3165 * tests/MT_SOCK_Test.dsp:
3166 * tests/Naming_Test.dsp:
3167 * tests/New_Fail_Test.dsp:
3168 * tests/Notify_Performance_Test.dsp:
3169 * tests/OrdMultiSet_Test.dsp:
3170 * tests/Pipe_Test.dsp:
3171 * tests/Priority_Buffer_Test.dsp:
3172 * tests/Priority_Reactor_Test.dsp:
3173 * tests/Priority_Task_Test.dsp:
3174 * tests/Process_Mutex_Test.dsp:
3175 * tests/Process_Strategy_Test.dsp:
3176 * tests/RB_Tree_Test.dsp:
3177 * tests/Reactor_Exceptions_Test.dsp:
3178 * tests/Reactor_Notify_Test.dsp:
3179 * tests/Reactor_Performance_Test.dsp:
3180 * tests/Reactor_Timer_Test.dsp:
3181 * tests/Reactors_Test.dsp:
3182 * tests/Reader_Writer_Test.dsp:
3183 * tests/Recursive_Mutex_Test.dsp:
3184 * tests/Reverse_Lock_Test.dsp:
3185 * tests/Semaphore_Test.dsp:
3186 * tests/Service_Config_Test.dsp:
3187 * tests/Sigset_Ops_Test.dsp:
3188 * tests/Simple_Message_Block_Test.dsp:
3189 * tests/SOCK_Connector_Test.dsp:
3190 * tests/SOCK_Send_Recv_Test.dsp:
3191 * tests/SOCK_Test.dsp:
3192 * tests/SPIPE_Test.dsp:
3193 * tests/SString_Test.dsp:
3194 * tests/SV_Shared_Memory_Test.dsp:
3195 * tests/Svc_Handler_Test.dsp:
3196 * tests/Task_Test.dsp:
3197 * tests/Thread_Manager_Test.dsp:
3198 * tests/Thread_Mutex_Test.dsp:
3199 * tests/Thread_Pool_Reactor_Test.dsp:
3200 * tests/Thread_Pool_Test.dsp:
3201 * tests/Time_Service_Test.dsp:
3202 * tests/Time_Value_Test.dsp:
3203 * tests/Timeprobe_Test.dsp:
3204 * tests/Timer_Queue_Test.dsp:
3205 * tests/Tokens_Test.dsp:
3206 * tests/TSS_Test.dsp:
3207 * tests/Upgradeable_RW_Test.dsp:
3208 * tests/UPIPE_SAP_Test.dsp:
3209 Fixed settings for PharLap ETS configurations.
3210
3211 * tests/Conn_Test.cpp (server): If the acceptor fails, do not try to
3212 close the svc_handler - the failed ACE_Oneshot_Acceptor already
3213 closed it.
3214
3215 * tests/SOCK_Send_Recv_Test.cpp: Use ACE_LOCALHOST, not "localhost".
3216
3217 Thu Jul 1 21:49:39 1999 Matthew J Braun <[email protected]>
3218
3219 * ace/Containers_T.i,h,cpp
3220 Added reset () methods to the derived classes of
3221 ACE_Double_Linked_List_Iterator because the behavior of the base
3222 class's version was not sufficient (and would cause way fun
3223 segfaults when used).
3224
3225 * tests/Map_Manager_Test.cpp
3226 * tests/DLList_Test.cpp
3227 ACE_const_cast'ed some string literals to char *'s to appease
3228 the evil monstrosity that is SC 5.0.
3229
3230 Wed Jun 30 18:11:41 1999 Ossama Othman <[email protected]>
3231
3232 * ace/OS.i (strncasecmp):
3233
3234 Corrected ACE_TRACE statement to contain "strncasecmp" instead
3235 of "strcasecmp."
3236
3237 Thu Jul 01 21:07:22 1999 Douglas C. Schmidt <[email protected]>
3238
3239 * ACE version 4.6.43 released.
3240
3241 Thu Jul 01 10:53:33 1999 David L. Levine <[email protected]>
3242
3243 * include/makeinclude/platform_vxworks5.x_ghs.GNU:
3244 set INCLDIRS, so that wrapper_macros.GNU doesn't insert -I.
3245 Otherwise, with GHS on NT host, ACE's Signal.h gets #included
3246 instead of VxWorks' signal.h by target/h/private/sigLibP.h.
3247 Thanks to Dale Wood <[email protected]> and
3248 Dave Steele <[email protected]> for helping to figure
3249 this out.
3250
3251 * include/makeinclude/platform_vxworks5.x_g++.GNU,
3252 bin/ace_ld: changed -c option to -C [...] --, so
3253 that its arguments don't need to be quoted. I
3254 couldn't figure out a way to quote on NT host. Thanks
3255 to Dale Wood <[email protected]> for enlightening me
3256 on some of the intricacies of NT.
3257
3258 Thu Jul 01 10:47:41 1999 David L. Levine <[email protected]>
3259
3260 * bin/libsize.pl: always use `pwd`, because the PWD environment
3261 variable doesn't appear to get updated by recursive makes.
3262
3263 Thu Jul 01 08:46:10 1999 David L. Levine <[email protected]>
3264
3265 * bin/check_build_logs: filter out lines from IDL_Cubit
3266 that contain "0 errors".
3267
3268 Thu Jul 01 00:24:52 1999 Nanbor Wang <[email protected]>
3269
3270 * docs/ACE-guidelines.html: Added a table explaining how to use
3271 all the different ACE_*_STRING macros.
3272
3273 * tests/DLList_Test.cpp:
3274 * tests/Hash_Map_Manager_Test.cpp:
3275 * tests/Map_Manager_Test.cpp:
3276 * tests/Message_Block_Test.cpp:
3277 * tests/Notify_Performance_Test.cpp:
3278 * tests/Priority_Task_Test.cpp:
3279 * tests/Thread_Pool_Reactor_Test.cpp:
3280 * tests/test_config.h: UNICODE fixes. The usage of ASYS_TCHAR and
3281 LPCTSTR were mistaken in many places.
3282
3283 Wed Jun 30 16:13:58 1999 Irfan Pyarali <[email protected]>
3284
3285 * tests/Future_Set_Test.cpp: Added missing template instantiation
3286 for ACE_Hash_Map_Reverse_Iterator_Ex. Also, added some fixes
3287 from John Tucker <[email protected]>.
3288
3289 Wed Jun 30 12:09:22 1999 Nanbor Wang <[email protected]>
3290
3291 * ace/ace_bcc.ide:
3292 * tests/tests_bcc.ide:
3293 * *.{bpr,bpg}: Removed unused BCB project files.
3294
3295 Tue Jun 29 23:12:58 1999 Carlos O'Ryan <[email protected]>
3296
3297 * ace/OS.i:
3298 Use ACE_CAST_CONST to keep the silly Sun/CC 4.2 from
3299 complaining.
3300
3301 Tue Jun 29 22:48:43 1999 Irfan Pyarali <[email protected]>
3302
3303 * ace/OS.i (strncasecmp): Changed <n> to <len>.
3304
3305 Tue Jun 29 22:33:55 1999 Carlos O'Ryan <[email protected]>
3306
3307 * ace/OS.i:
3308 Fixed warnings in green hills and possibly othre EDG-based
3309 compilers.
3310
3311 * tests/run_tests.sh:
3312 * tests/run_tests.vxworks:
3313 Take Future_Set_Test out, it does not work in too many
3314 platforms.
3315
3316 Tue Jun 29 21:24:13 1999 Douglas C. Schmidt <[email protected]>
3317
3318 * ace/SOCK.cpp (open): Removed an unused variable. Thanks
3319 to Carlos for reporting this.
3320
3321 Tue Jun 29 20:53:41 1999 Carlos O'Ryan <[email protected]>
3322
3323 * ace/config-irix5.3-g++.h:
3324 IRIX 5.3 (!) has a DIRENT structure, thanks to Isaac Stoddard
3325 <[email protected]> for providing this fix.
3326
3327 Tue Jun 28 20:19:11 1999 Darrell Brunsch <[email protected]>
3328
3329 * ace/ace_dll.dsp:
3330 * ace/ace_lib.dsp:
3331 Manually cleaned up these projects and fixed them so they should
3332 work on NT Alpha again.
3333
3334 Tue Jun 29 18:48:22 1999 Irfan Pyarali <[email protected]>
3335
3336 * ace/Functor_T.h (class ACE_Pointer_Hash): Added new class for
3337 hashing pointers on their values.
3338
3339 * ace/Future_Set: Restored future map to be a
3340 ACE_Hash_Map_Manager_Ex.
3341
3342 Tue Jun 29 14:45:38 1999 Irfan Pyarali <[email protected]>
3343
3344 * tests/run_tests.bat: Removed New_Fail_Test from the
3345 run_tests.bat (the script for NT). This tests takes too long to
3346 run and swaps out the entire machine making is impossible to do
3347 useful things while the test is running. Note that the test is
3348 still there and can be run by hand (i.e., on its own, without
3349 the run_tests.bat script).
3350
3351 * ace/Future: Changed the observer collection to be an unbounded
3352 set and changed the future map to map manager. These are
3353 temporary changes to get things compiling again. Once we figure
3354 out the correct hashing functions, we can restore the original
3355 code.
3356
3357 Tue Jun 29 13:38:52 1999 Ossama Othman <[email protected]>
3358
3359 * AUTHORS:
3360
3361 Added an AUTHORS file to bring ACE closer to recent software
3362 distribution conventions.
3363
3364 * Makefile:
3365
3366 Added Carlos' websvcs directory to the release, in addition to
3367 the missing top-level ACE Configuration project files and
3368 directories.
3369
3370 * config.guess:
3371 * config.sub:
3372 * ltconfig:
3373 * ltmain.sh:
3374 * missing:
3375 * mkinstalldirs:
3376
3377 Updated from latest GNU libtool and GNU automake.
3378
3379 Tue Jun 29 12:07:08 1999 Ossama Othman <[email protected]>
3380
3381 * README:
3382 * THANKS:
3383
3384 Moved list of contributors to the file `THANKS' to bring the
3385 distribution closer to conventional distribution standards.
3386
3387 * Makefile:
3388
3389 Added the THANKS file to the list of controlled files so that it
3390 gets distributed with ACE.
3391
3392 Tue Jun 29 11:27:23 1999 Matthew J Braun <[email protected]>
3393
3394 * ace/Containers_T.i: Modified next method in ACE_DLList_Iterator
3395 to avoid segfaults (a bad thing).
3396
3397 Tue Jun 29 10:54:15 1999 Carlos O'Ryan <[email protected]>
3398
3399 * ace/OS.i:
3400 Sun/CC was not pleased with a cast from "void* const" to "const
3401 char*", and rightly so.
3402
3403 Tue Jun 29 09:21:06 1999 Carlos O'Ryan <[email protected]>
3404
3405 * ace/OS.h:
3406 * ace/OS.i:
3407 * ace/SOCK_Dgram.h:
3408 * ace/SOCK_Dgram.i:
3409 Fixed the unix version ACE_OS::sendto() call.
3410 Also fixed the Win32 version and the Win32 version of
3411 ACE_OS::recvfrom, had to change the signatures to make them safe
3412 and fit the WinSock2 interfaces.
3413
3414 Tue Jun 29 07:07:30 1999 David L. Levine <[email protected]>
3415
3416 * bin/check_build_logs: allow _ with -l and -m options, and
3417 @ and . with -m option.
3418
3419 Mon Jun 28 21:31:58 1999 Douglas C. Schmidt <[email protected]>
3420
3421 * ace/OS: Added a constructor to ACE_Flow_Spec to initialize
3422 its various fields wholesale. Thanks to Kumar Surender
3423 <[email protected]> for this suggestion.
3424
3425 * ace/SOCK: Added a new constructor and a new open() method
3426 that pass through the QoS information required by WSASocket().
3427
3428 * ace/{OS,SOCK_Connector,SOCK_Dgram,SOCK_Dgram_Mcast}: Renamed
3429 ACE_Connect_QoS_Params to ACE_QoS_Params since (1) it's used in
3430 ACE_OS::connect() *and* ACE_OS::join_leaf() and (2) it's used
3431 for Dgrams, which aren't connection oriented. Thanks to Kumar
3432 Surender <[email protected]> for this suggestion.
3433
3434 * ace/OS: Added set/get methods for time-to-live on the
3435 ACE_Flow_Spec classes. This is necessary since RAPI defines
3436 this.
3437
3438 * ace/OS: Added a new ACE_OS::recvfrom() method that's a wrapper
3439 for the WSARecvFrom() on Win32 and (will be) an "emulation" on
3440 non-Win32 platforms.
3441
3442 * ace/OS: Added a new ACE_OS::sendto() method that's a wrapper
3443 for the WSASendTo() on Win32 and an "emulation" on non-Win32
3444 platforms.
3445
3446 * ace/OS.h: Updated the QoS documentation to clarify that these
3447 features are appropriate for IntServ (RSVP) *and* DiffServ.
3448 Thanks to Kumar Surender <[email protected]>, Vidya
3449 Narayanan <[email protected]> and Pradeep Avasthi
3450 <[email protected]> suggesting this.
3451
3452 * ace/SOCK_Dgram.h: Added send() and recv() methods for
3453 ACE_SOCK_Dgram that take overlapped I/O parameters. This is
3454 needed for the GQoS WinSock API.
3455
3456 Mon Jun 28 21:53:06 1999 David L. Levine <[email protected]>
3457
3458 * bin/libsize.pl: added support for liborbsvcs, and
3459 for shared libs (with -s option).
3460
3461 * bin/check_build_logs: fixed command-line argument processing.
3462
3463 Mon Jun 28 17:30:08 1999 Nanbor Wang <[email protected]>
3464
3465 * ace/OS.i (recvv): We must not passed a null pointer to <flags>
3466 but a pointer pointing to a real flag. This fixed the
3467 SOCK_Send_Recv_Test failing on NT problem. Thanks to Jody
3468 Hagins <[email protected]> for reporting this.
3469
3470 Mon Jun 28 15:10:50 1999 Irfan Pyarali <[email protected]>
3471
3472 * ace/Strategies_T: Removed ACE_Hash_Addr which was no longer used
3473 in ACE and is not necessary given the new
3474 ACE_Hash_Map_Manager_Ex class.
3475
3476 Mon Jun 28 15:00:01 1999 Carlos O'Ryan <[email protected]>
3477
3478 * ace/CDR_Stream.h:
3479 * ace/CDR_Stream.cpp:
3480 Added new method to reset the state of a CDR stream without need
3481 for any memory allocations.
3482
3483 Mon Jun 28 12:48:35 1999 David L. Levine <[email protected]>
3484
3485 * bin/check_build_logs: added this script, which checks build
3486 logs named *.log, of current day.
3487
3488 Mon Jun 28 09:32:59 1999 Douglas C. Schmidt <[email protected]>
3489
3490 * ace/{Future_Set,Future}: Integrated new enhancements to use
3491 the ACE_Hash_Map_Manager rather than the ACE_DLL_Linked_List to
3492 speed up notifications for the Future Set. Thanks to John
3493 Tucker <[email protected]> for this enhancement.
3494
3495 * tests: Integrated the Future_Set_Test into this directory and the
3496 various batch files. Thanks to John Tucker
3497 <[email protected]> for this test.
3498
3499 * ace/Map_Manager.i: Added an ACE_const_cast to the lock_ used
3500 in the newly const total_size() and current_size() methods.
3501
3502 * ace/Map_T,
3503 * ace/Map_Manager,
3504 * ace/Cache_Map_Manager_T,
3505 * ace/Active_Map_Manager_T,
3506 * ace/Hash_Map_Manager_T: The current_size() and total_size() methods
3507 must be const.
3508
3509 * ace/OS.i: Fixed a type inconsistency where wchar_t should have been
3510 char and added a missing ';'.
3511
3512 * ace/OS.i: Fixed a typo where last_error should have been
3513 lerror. Thanks to Chris Gill for reporting this.
3514
3515 * ace/OS.cpp (ACE_BEGINTHREADEX): Oops, mistyped "_beginthreadex()"
3516 as "_beingthreadex()". I must be going through an existential
3517 phase ;-). Thanks to Chris Gill for reporting this.
3518
3519 * ace/OS.i: Fixed a typo where last_error should have been
3520 lerror. Thanks to Chris Gill for reporting this.
3521
3522 * ace/OS.cpp (ACE_BEGINTHREADEX): Oops, mistyped "_beginthreadex()"
3523 as "_beingthreadex()". I must be going through an existential
3524 phase ;-). Thanks to Chris Gill for reporting this.
3525
3526 Sun Jun 27 18:03:24 1999 Douglas C. Schmidt <[email protected]>
3527
3528 * ACE-INSTALL.html: Updated the discussion for Borland C++
3529 Building 4.0 and IBM's VisualAge C++ compiler to reference the
3530 appropriate maintainers.
3531
3532 * ace/WIN32_Proactor.cpp, ace/WIN32_Asynch_IO.cpp: Added back some
3533 initializers to keep EGCS happy.
3534
3535 * ace/config-g++-common.h: Added ACE_LACKS_AUTO_PTR to work around
3536 an omission within the EGCS standard library.
3537
3538 * ace/Auto_Ptr.h: If ACE_LACKS_AUTO_PTR is enabled then use our
3539 version of auto_ptr. This is necessary to work around problems
3540 with EGCS.
3541
3542 * ace/config-g++-common.h: Define ACE_HAS_STANDARD_CPP_LIBRARY so
3543 that #include <exception> will work properly. However, this
3544 required that we also set ACE_USES_OLD_IOSTREAMS, as well.
3545 Thanks to Carlos for help with this.
3546
3547 * ace/config-g++-common.h: The EGCS 1.1.1 compiler supports the
3548 template<> syntax. If this breaks older EGCS or GCC compilers
3549 we'll have to handle each of those cases.
3550
3551 * ace/config-win32-borland.h:
3552 Added ACE_HAS_STD_TEMPLATE_METHOD_SPECIALIZATION.
3553
3554 * ace/OS.h: Replaced the const's for ACE_DEFAULT_SHLIB_MODE and
3555 ACE_SHLIB_INVALID_HANDLE with #defines since it's more portable.
3556
3557 * ace/OS.i: All the strcasecmp() and strncasecmp() methods were
3558 broken. Thanks to David Levine for reporting this.
3559
3560 * ace/WFMO_Reactor.cpp: Updated the programming style a bit to
3561 conform to the ACE guidelines.
3562
3563 Sun Jun 27 20:50:02 1999 Douglas C. Schmidt <[email protected]>
3564
3565 Added support for IBM's VisualAge C++ compiler.
3566
3567 * ace: Added a new config-visualage.h file that automatically
3568 includes the proper configurations for IBM's VisualAge C++
3569 compiler on Win32 and AIX.
3570
3571 * ace/OS.i: The IBM VisualAge C++ compiler's prototypes for _chdir(),
3572 _mkdir(), and _tempnam() are broken, so we must add a cast to
3573 char *.
3574
3575 * ace/OS.cpp: Added new macros ACE_ENDTHREADEX and
3576 ACE_BEGINTHREADEX to work around a bugs with _endthreadex() and
3577 _beginthreadex() on IBM's VisualAge C++ compiler.
3578
3579 * ace/OS.cpp (ACE_Time_Value::set): Replaced this expression:
3580
3581 this->tv_.tv_usec = long ((_100ns.QuadPart % (10000 * 1000)) / 10);
3582
3583 with this expression:
3584
3585 this->tv_.tv_usec = long ((long (_100ns.QuadPart) % long (10000 * 1000)) / 10);
3586
3587 to work around a bug with IBM's VisualAge C++ compiler.
3588
3589 * ace/OS.cpp: Replaced a hard-coded MSVC++'ism for signed long long
3590 with a use of the ACE_UINT64_LITERAL macro, which works for all
3591 Win32 C++ compilers.
3592
3593 * ace/config-win32-visualage.h,
3594 ace/config-aix-4.x.h: Added a workaround for an IBM VisualAge
3595 C++ bug with the WIFEXITED and WEXITSTATUS macro.
3596
3597 * ace/OS.h: Added workarounds for bugs with IBM's VisualAge C++ compiler
3598 as it pertains to the ACE_DES_FREE_TEMPLATE and
3599 ACE_DES_FREE_TEMPLATE2 macros.
3600
3601 * ace/Map_T.h: Added a workaround for a bug with IBM's VisualAge C++
3602 compiler. I think this workaround should help with other C++
3603 compilers, as well. Also reformated the code to make it
3604 consistent with the ACE programming guidelines.
3605
3606 * ace/Hash_Purgable_Map_Manager_T.cpp: Added a workaround for a
3607 VisualAge C++ bug.
3608
3609 * ace/config-aix-4.x.h: Added VisualAge C++ compiler support.
3610
3611 * ace/Timer_Heap_T.cpp: We must hard code numbers like
3612 1024 for an array size to workaround bugs with the IBM VisualAge
3613 C++ compiler.
3614
3615 * ace/Basic_Types.h: Added #defines for ACE_INT64_LITERAL.
3616
3617 * ace/config-win32-common.h: #include the
3618 config-win32-visualage.h file.
3619
3620 * ace: Added the following files for the IBM VisualAge C++ compiler:
3621
3622 ace-lib.icc - WinNT configuration file to create a static library
3623 ace-dll.icc - WinNT configuration file to create a dynamic library
3624 config-win32-visualage.h - VisualAge C++ defines
3625
3626 * tests: Added the icc.bat and makeicc.pl files, which build the
3627 tests for the IBM VisualAge C++ compiler.
3628
3629 * tests: Added the *.icc project files for the IBM VisualAge C++ compiler.
3630
3631 Sun Jun 27 18:17:43 1999 Carlos O'Ryan <[email protected]>
3632
3633 * ace/CORBA_macros.h:
3634 On platforms with native C++ exceptions we use ACE_UNUSED_ARG()
3635 in the throw macros to avoid warnings about the unused
3636 ACE_TRY_ENV variable.
3637
3638 Sun Jun 27 14:56:16 1999 Nanbor Wang <[email protected]>
3639
3640 * tests/run_tests.bat: Added the patch for running tests compiled
3641 with Borland C++. Thanks to Jody Hagins <[email protected]> for
3642 the patch.
3643
3644 * tests/Cache_Map_Manager_Test.dsp: The project file was
3645 mis-configured.
3646
3647 * tests/version_tests/version_tests.dsw:
3648 * tests/version_tests/Cache_Map_Manager_Test.dsp: Added this new
3649 project file.
3650
3651 Sun Jun 27 12:36:00 1999 Chris Gill <[email protected]>
3652
3653 * ace/RB_Tree.{h, i}: Moved non-deprecated iterator base class
3654 method next (RB_Tree_Node<...>) down into derived forward and
3655 reverse iterator classes due to method resolution conflict
3656 with deprecated next (void) method in forward iterator class.
3657 When the deprecated next method is removed, these will be
3658 moved out of the derived classes and into the base class.
3659 Thanks to Matt Braun and Carlos O'Ryan for pointing out
3660 this problem.
3661
3662 Sat Jun 26 16:22:07 1999 Marina Spivak <[email protected]>
3663
3664 * ace/ace_lib.dsp
3665 * ace/ace_dll.dsp:
3666 Updated to include Hash_Map_With_Allocator_T.* files.
3667
3668 Sat Jun 26 16:05:29 1999 Ossama Othman <[email protected]>
3669
3670 * acconfig.h:
3671 * configure.in:
3672
3673 Added support/test for ACE_HAS_MEMCHR macro.
3674
3675 * ace/Makefile.am:
3676 * tests/Makefile.am:
3677
3678 Synchronized with latest version of ACE.
3679
3680 * m4/features.m4:
3681
3682 Updated asynchronous IO tests.
3683
3684 Sat Jun 26 14:41:31 1999 Marina Spivak <[email protected]>
3685
3686 * ace/Event_Handler_T.h
3687 Removed "ACE_Export" - it is not necessary for a template class.
3688
3689 * ace/Hash_Map_With_Allocator.{h,i,cpp}:
3690 Added these files to ACE. These files contain a thin wrapper
3691 around ACE_Hash_Map_Manager, which is useful when
3692 ACE_Hash_Map_Manager is used with a shared memory (or memory
3693 mapped file) allocator (e.g., ACE Naming Service, and TAO Naming
3694 Service are example use cases). Please see header file for more
3695 details.
3696
3697 Sat Jun 26 12:45:26 1999 Douglas C. Schmidt <[email protected]>
3698
3699 * tests/Cache_Map_Manager_Test.cpp: Fixed this test so that it
3700 compiles with SunC++ 4.2 and its broken C++ templates... Thanks
3701 to David Levine for reporting this.
3702
3703 * ace/Malloc_T.i: Make sure to put ACE_INLINE on all the methods
3704 in the .i files. Thank to Marina for reporting this.
3705
3706 * ace/Hash_Map_Manager_T.h: Fixed the programming style a bit.
3707
3708 * ace/Arg_Shifter.cpp (ACE_Arg_Shifter): Reformatted this
3709 stuff a bit.
3710
3711 Sat Jun 26 12:45:26 1999 Jody Hagins <[email protected]>
3712
3713 This is a change log for the modifications made to support
3714 Borland C++Builder 4.0, Patch 1. Thanks to
3715 Christopher Kohlhoff <[email protected]> and Chris Uzdavinis
3716 <[email protected]> for helping with this.
3717
3718 First, I did not get integrate the makefiles to the BCB environment
3719 as it requires alot of tools and more time. I hope to fet to this
3720 in the somewhat near future. However, each directory that has stuff
3721 that I built and tested has a Makefile.bor, which will make whatever
3722 is there with BCB4. Note that the makefiles do not, at present,
3723 have a clean or anything except the default make.
3724
3725 To build, make sure config.h points to, or simply includes
3726 ace/config-win32.h.
3727
3728 Finally, not all the programs and exampales have BCB makefiles.
3729 However, it should not be too difficult to adapt the ones that are
3730 there. In addition, the .bpr files should NOT be used to build
3731 the libraries, or any examples. If you want to build examples,
3732 you will need to start with a fresh project in BCB.
3733
3734 At present (4.6.42) all tests, except SOCK_Send_Recv_Test run
3735 successfully, and some of my own tests run. Also, the TAO services
3736 and programs seem to be operating as well.
3737
3738 * ace/Asynch_Acceptor.cpp: Need CancelIO for BCB as well
3739
3740 * ace/Atomic_Op.i: Need ACE_TEMPLATE_SPECIALIZE on specializations.
3741
3742 * ace/CDR_Stream.h: Need LongLong for BCB as well
3743
3744 * ace/Functor.i: Need ACE_TEMPLATE_SPECIALIZE on specializations.
3745
3746 * ace/Future.h: Work around a BCB4 bug which causes the create()
3747 method from being seen.
3748
3749 * ace/IOStream.h: Only want CString stuff for MSC.
3750
3751 * ace/IOStream_T.cpp: Only want CString stuff for MSC.
3752
3753 * ace/OS.cpp: _fdopen, in BCB, takes a non-const pointer
3754
3755 * ace/OS.h: Differentiate between mode masks and user mode masks.
3756
3757 BCB doesn't like initialized data in precompiled header files so
3758 define certain constants instead. A bug in BCB prevents calling
3759 a destructor explicitly on a typedef declared inside a class.
3760 So, TEMPLATE3 and TEMPLATE4 versions of ACE_DES_FREE are
3761 necessary for destruction of templates with more parameters.
3762
3763 BCB4 has a bug in the RTL that resets the GetLastError() value
3764 to zero when errno is accessed. Thus, setting errno to
3765 ::GetLastError requires a copy. To keep from having the code
3766 everywhere, I added ACE_OS::set_errno_to_last_error () and
3767 ACE_OS::set_errno_to_wsa_last_error (), and used it everywhere
3768 errno was being set to GetLastError() or WSAGetLastError().
3769
3770 BCB4 has a bug in the optimizer that screws up the return from
3771 certain expressions when a variable is set on both sides of an
3772 assignment. Thus, the definition of ACE_WIN32CALL_RETURN needed
3773 to change.
3774
3775 * ace/OS.i: Use ACE_set_errno_to_last_error where appropriate.
3776 BCB4 bug requires splitting FILETIME dummy_1, dummy_2; into
3777 separate declarations.
3778
3779 * ace/Select_Reactor.h: Need ACE_TEMPLATE_SPECIALIZE on
3780 specializations.
3781
3782 * ace/WFMO_Reactor.cpp: Use ACE_set_errno_to_last_error where
3783 appropriate. Likewise, fix the use of auto_ptr copy ctor, which
3784 can not take a const ref.
3785
3786 * ace/WIN32_Asynch_IO.cpp: Use ACE_set_errno_to_last_error
3787 where appropriate. Need CancelIo for BCB as well.
3788
3789 * ace/WIN32_Proactor.cpp: Use ACE_set_errno_to_last_error
3790 where appropriate.
3791
3792 * ace/config-win32-borland.h: Specific build stuff for BCB
3793
3794 * ace/config-win32-common.h: Differences between BCB and MSC
3795
3796 * apps/JAWS/PROTOTYPE/JAWS/Cache_Hash_T.cpp: BCB4 bug prevents
3797 using typedef inside class for explicit dextructor.
3798
3799 * apps/JAWS/PROTOTYPE/JAWS/Cache_List_T.cpp:
3800 BCB4 bug prevents using typedef inside class for explicit
3801 dextructor.
3802
3803 * apps/JAWS/PROTOTYPE/JAWS/Cache_Manager_T.cpp: BCB4 bug prevents
3804 using typedef inside class for explicit dextructor.
3805
3806 * apps/JAWS/PROTOTYPE/JAWS/IO.cpp: Get rid of const warning
3807
3808 * tests/DLL_Test.cpp: The get_hello function has calling
3809 convention __cdecl (by default since the calling convention is
3810 not mentioned). However, BCB decorates __cdecl with a leading
3811 underscore (and doesn't decorate __stdcall). Thus, we needed to
3812 add some decoration to find the function. Also, added prefix to
3813 find the executable.
3814
3815 * tests/Message_Queue_Test.cpp: BCB4 defines a "messages" and by
3816 default sucks that namespace into the global namespace, so a new
3817 variable name was needed.
3818
3819 * tests/Reactor_Exceptions_Test.cpp: The test throws a structured
3820 exception. The ISO does not require non C++ exceptions to be
3821 caught by catch (...). MSVC catches it but BCB4 does not. So,
3822 the code needed to be changed to catch a structured exception as
3823 well.
3824
3825 * tests/run_tests.bat: Changed to allow running the BCB tests,
3826 when in another directory.
3827
3828 Sat Jun 26 08:40:01 1999 David L. Levine <[email protected]>
3829
3830 * ace/Proactor.cpp: fixed template instantiation pragmas
3831 (to match explicit template instantiation directives).
3832
3833 Sat Jun 26 08:21:52 1999 David L. Levine <[email protected]>
3834
3835 * ace/Signal.h: reordered #includes to avoid warning about
3836 #pragma once.
3837
3838 Fri Jun 25 22:30:24 1999 David L. Levine <[email protected]>
3839
3840 * docs/ACE-guidelines.html: always test on egcs before
3841 commiting. It catches real problems that are missed
3842 by some of the other compilers we (well, some of us :-)
3843 use.
3844
3845 Fri Jun 25 22:20:16 1999 David L. Levine <[email protected]>
3846
3847 * ace/Future.cpp (detach): changed equality comparison of
3848 curr_observer from itself to the observer argument.
3849 Thanks to egcs -W for snagging this.
3850
3851 Fri Jun 25 21:46:46 1999 David L. Levine <[email protected]>
3852
3853 * ace/OS.h,ace/Signal.h,ace/config-psos-tm.h
3854 (ACE_DONT_INCLUDE_ACE_SIGNAL_H): added this interlock
3855 diagnostic to inform the user when ace/Signal.h gets #included
3856 instead of signal.h. Thanks to Dale Wood <[email protected]>
3857 and Timothy Canham <[email protected]> for tripping
3858 over it, on the same day, and reporting it.
3859
3860 Fri Jun 25 17:22:02 1999 Nanbor Wang <[email protected]>
3861
3862 * ace/Select_Reactor_T.cpp (close): Don't call close() on the
3863 <notify_handler_> if there isn't one.
3864
3865 * ace/SOCK_Acceptor.cpp (open): The error status was not set
3866 correctly if listen() failed.
3867
3868 Thanks to Irfan for helping with this.
3869
3870 Fri Jun 25 16:48:17 1999 David L. Levine <[email protected]>
3871
3872 * ace/OS.h: don't #include <signal.h> directly on VxWorks.
3873 When cross-compiling on NT host, the GreenHills compiler
3874 #includes ace's Signal.h instead of VxWorks' signal.h.
3875 No comment. OS.h doesn't need to #include signal.h directly,
3876 because it gets indirectly #included through sigLib.h. Thanks
3877 to Dale Wood <[email protected]> for reporting this.
3878
3879 Fri Jun 25 16:03:59 1999 Douglas C. Schmidt <[email protected]>
3880
3881 * ace/Future.cpp: Fixed a couple of places where the set() method
3882 didn't have the new *this parameter added.
3883
3884 * ace: Added Future_Set.{h,cpp} and Future_Node.{h,cpp}, as well
3885 as the new Future.{h,cpp} files to the ACE release. Thanks to
3886 John Tucker <[email protected]> for contributing these.
3887
3888 * ace/Synch.h: Added a comment pointing out that Solaris
3889 threads do not support timed acquire(). Thanks to Darren
3890 DeRidder <[email protected]> for reporting
3891 this.
3892
3893 Fri Jun 25 15:07:00 1999 John Tucker <[email protected]>
3894
3895 The following describes the changes to ACE_Future_Set:
3896
3897 * I followed the Observer Pattern where the ACE_Future_Set is the
3898 "Observer" and the ACE_Future_Rep is the "Subject".
3899
3900 * I created an abstract base class called ACE_Future_Observer<T>
3901 which contains a single pure virtual member function "update()".
3902
3903 * The ACE_Future_Rep is modified so that it contains a list of
3904 ACE_Future_Observer<T> pointers and an interface for attaching
3905 and detaching ACE_Future_Observer<T> Observer objects. The
3906 "attach(...)" member function allows objects which implement the
3907 ACE_Future_Observer<T> interface to attach themselves to
3908 ACE_Future_Rep<T> objects so that they will be notified of
3909 changes to the ACE_Future_Rep<T> Subject. The "detach(...)"
3910 member function allows objects which implement the
3911 ACE_Future_Observer<T> interface to detach themselves from
3912 ACE_Future_Rep<T> objects so that they will no longer be
3913 notified of changes to the ACE_Future_Rep<T> Subject.
3914
3915 * The ACE_Future_Rep::set() method is modified so that it invokes the
3916 "update()" method of each ACE_Future_Observer<T> object stored
3917 in its list of attached ACE_Future_Observer<T> Observer
3918 objects. It also removes each ACE_Future_Observer<T> Observer
3919 object from its list.
3920
3921 * The ACE_Future_Set<T> class derives from the ACE_Future_Observer<T>
3922 class.
3923
3924 * The ACE_Future_Set<T> class contains its own ACE_Message_Queue
3925 attribute which will be used by writer threads to notify reader
3926 threads that an ACE_Future is readable.
3927
3928 * The ACE_Future_Set<T> class contains a list of ACE_Future<T>
3929 Subject objects which clients in the reader threads insert into
3930 it. When an ACE_Future<T> is inserted into an
3931 ACE_Future_Set<T>, the ACE_Future_Set<T> attaches itself to the
3932 specified ACE_Future<T>, keeping in mind the ACE_Future_Set<T>
3933 implements the ACE_Future_Observer<T> interface, and also
3934 inserts the specified ACE_Future<T> object into its list of
3935 ACE_Future<T> objects.
3936
3937 * The ACE_Future_Set<T> class implements its "update()" method to
3938 just enqueue an ACE_Message_Block with Null data onto its
3939 ACE_Message_Queue. Since this "ACE_Future_Set<T>::update()"
3940 method will be invoked by the ACE_Future_Rep::set() method in
3941 the writer thread, it will allow the ACE_Future_Set<T> in the
3942 writer thread to signal itself that an ACE_Future has become
3943 readable.
3944
3945 * The "int ACE_Future_Set<T>::next_readable(ACE_Future<T> &future,
3946 ACE_Time_Value *)" method in the reader thread will block via a
3947 call to "dequeue()" on its ACE_Message_Queue until is awakened
3948 by a call to "ACE_Future_Set<T>::update()" in the writer thread.
3949 Once awakened, the ACE_Future_Set<T> object iterates through its
3950 list of ACE_Future<T> objects until it encounters a readable
3951 one. This readable ACE_Future<T> will be removed from its list
3952 and assigned to the specified "future" parameter".
3953
3954 * The ACE_Future_Set<T> destructor detaches itself from all
3955 ACE_Future<T> objects remaining in its list.
3956
3957 * I did not use the ACE_Reactor since I could foresee the
3958 ACE_Future_Set being used by applications which did not run,or
3959 want to run, the event loop.
3960
3961 Fri Jun 25 14:28:05 1999 Ossama Othman <[email protected]>
3962
3963 * ace/UNIX_Addr.cpp (ACE_UNIX_Addr): Moved base_set() call in
3964 constructor to member initializer list. This is cleaner coding
3965 style. The original code, before a bug fix was made, was like
3966 that. I just forgot to put it back in the member initializer
3967 list after the fix.
3968
3969 Fri Jun 25 15:15:32 1999 Steve Huston <[email protected]>
3970
3971 * performance-tests/Misc/Makefile: set static_libs_only so the library
3972 selection gets done right on AIX. Clean out the tempinc dir
3973 between binaries on AIX.
3974
3975 * performance-tests/Misc/test_singleton.cpp: Moved def of DC_Singleton
3976 to new file, test_singleton.h so it works on AIX w/ xlC.
3977
3978 * ace/Hash_Cache_Map_Manager_T.h: Removed the "ace/" from the
3979 #pragma implementation line. The compiler remembers the directory
3980 it came from.
3981
3982 * examples/ASX/UPIPE_Event_Server/Peer_Router.h:
3983 * examples/Connection/non_blocking/CPP-connector.h:
3984 * examples/Connection/non_blocking/CPP-acceptor.h:
3985 Added #pragma implementation, for AIX IBM C++.
3986
3987 * examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp:
3988 * examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp:
3989 Split the Options class to a new file, CPP-inclient.h, to make
3990 IBM C++ (xlC) like it.
3991
3992 * examples/IOStream/server/iostream_server.cpp: Split the Handler
3993 class off to new iostream_server.h file, to make IBM C++ (xlC)
3994 like it.
3995
3996 * examples/Logger/Acceptor-server/server_loggerd.cpp: Moved the
3997 Options and handler classes' definitions to new server_loggerd.h
3998 file to build with AIX IBM C++.
3999
4000 * examples/Misc/testr_dump.cpp: Moved the program's classes'
4001 definitions to new server_loggerd.h file to build with AIX IBM
4002 C++.
4003
4004 * examples/IPC_SAP/SOCK_SAP/Makefile:
4005 * examples/Connection/non_blocking/Makefile:
4006 * examples/Misc/Makefile:
4007 On AIX w/ IBM C++, delete the tempinc directory before compiling
4008 each new program. Keeps the template instantiations from one
4009 program from conflicting with the others.
4010
4011 * include/makeinclude/rules.lib.GNU: On AIX using IBM C++ only, don't
4012 try to link in the auto-instantiated template object modules if
4013 there aren't any.
4014
4015 * include/platform_aix4_cset++.GNU: Removed TMPL_OBJS - not needed now.
4016 * examples/Misc/Makefile: On AIX w/ IBM C++, delete the tempinc
4017 directory before compiling each new program. Keeps the template
4018 instantiations from one program from conflicting with the
4019 others.
4020
4021 Fri Jun 25 12:40:29 1999 David L. Levine <[email protected]>
4022
4023 * ACE-INSTALL.html: added/expanded/moved discussions of
4024 enabling/increasing virtual memory on Linux and LynxOS. Thanks
4025 to Fabrice Podlyski <[email protected]> for providing
4026 detailed information for LynxOS.
4027
4028 Fri Jun 25 11:16:32 1999 Kirthika Parameswaran <[email protected]>
4029
4030 * tests/Makefile: Updated dependencies for Cache_Map_Manager_Test
4031 and Map_Manager_Test.
4032
4033 Fri Jun 25 07:41:05 1999 David L. Levine <[email protected]>
4034
4035 * docs/ACE-guidelines.html: added guideline to include
4036 directories containing files with template definitions in a -I.
4037
4038 Thu Jun 24 22:42:44 1999 David L. Levine <[email protected]>
4039
4040 * ace/SOCK_Dgram_Mcast.cpp (subscribe): fixed UNICOS
4041 preprocessor usage so that it's not in the middle of the
4042 ACE_reintepret_cast.
4043
4044 Thu Jun 24 22:18:52 1999 Doug Anderson <[email protected]>
4045
4046 * ace/CDR_Stream.*,ace/SOCK_Dgram_Mcast.cpp,ace/config-cray.h:
4047 updates for Cray UNICOS port.
4048
4049 Thu Jun 24 21:33:11 1999 Kirthika Parameswaran <[email protected]>
4050
4051 * ace/Caching_Strategies_T.{h, cpp} (class ACE_FIFO_Caching_Strategy):
4052 * ace/Caching_Strategies_T.{h, cpp} (class ACE_LRU_Caching_Strategy):
4053 * ace/Caching_Strategies_T.{h, cpp} (class ACE_LFU_Caching_Strategy):
4054 Removed the overloaded clear_cache () method with entries as an
4055 formal argument.
4056
4057 * ace/Caching_Strategy_Utility_T.{h,i,cpp}: Renamed as
4058 Caching_Utiltity.{h, i, cpp}. Also, removed <entries> formal
4059 argument from the clear_cache() method, and made purge_percent
4060 of type double instead of unsigned int.
4061
4062 * tests/Cache_Map_Manager_Test.cpp: Changed the purge_test and
4063 added a test for the Cache_Map_Manager using the Map_Manager.
4064
4065 * tests/Map_Manager_Test.cpp: Changed the template instantiation
4066 in vein with the changes to the names of the Caching_Utility
4067 classes.
4068
4069 * tests/Cache_Map_Manager_test.dsp:
4070 * tests/tests.dsw:
4071 Made NT project for the test and added it to the tests workspace.
4072
4073 Thu Jun 24 20:43:54 1999 Irfan Pyarali <[email protected]>
4074
4075 * examples/Reactor/WFMO_Reactor/test_multithreading.cpp
4076 (Task_Handler): Change loop to go from 1 to number_of_handles
4077 instead of 0 to number_of_handles - 1.
4078
4079 Thu Jun 24 18:36:22 1999 Douglas C. Schmidt <[email protected]>
4080
4081 * ace/Signal.h: Removed the still-born
4082 ACE_Sig_Action (struct sigaction *) method. Thanks to Umar
4083 Syyid for reporting this.
4084
4085 Thu Jun 24 15:47:32 1999 Steve Huston <[email protected]>
4086
4087 * tests/run_pharlap_tests.bat: One-button script for running the tests
4088 built for PharLap ETS.
4089
4090 * tests/tests_pharlap_msvc.lnk: PharLap ETS LinkLoc input file for
4091 building test for ETS. Very possible that local sites will need to
4092 adjust this for the target environment.
4093
4094 * tests/Atomic_Op_Test.dsp:
4095 * tests/Barrier_Test.dsp:
4096 * tests/Basic_Types_Test.dsp:
4097 * tests/Buffer_Stream_Test.dsp:
4098 * tests/CDR_Test_Test.dsp:
4099 * tests/Collection_Test.dsp:
4100 * tests/Conn_Test.dsp:
4101 * tests/DLList_Test.dsp:
4102 * tests/Dynamic_Priority_Test.dsp:
4103 * tests/Enum_Interfaces_Test.dsp:
4104 * tests/Env_Value_Test.dsp:
4105 * tests/Future_Test.dsp:
4106 * tests/Handle_Set_Test.dsp:
4107 * tests/Hash_Map_Manager_Test.dsp:
4108 * tests/High_Res_Timer_Test.dsp:
4109 * tests/IOStream_Test.dsp:
4110 * tests/Map_Manager_Test.dsp:
4111 * tests/Map_Test.dsp:
4112 * tests/Mem_Map_Test.dsp:
4113 * tests/Message_Block_Test.dsp:
4114 * tests/Message_Queue_Notifications_Test.dsp:
4115 * tests/Message_Queue_Test.dsp:
4116 * tests/MM_Shared_Memory_Test.dsp:
4117 * tests/MT_Reactor_Timer_Test.dsp:
4118 * tests/MT_SOCK_Test.dsp:
4119 * tests/Naming_Test.dsp:
4120 * tests/New_Fail_Test.dsp:
4121 * tests/Notify_Performance_Test.dsp:
4122 * tests/OrdMultiSet_Test.dsp:
4123 * tests/Pipe_Test.dsp:
4124 * tests/Priority_Buffer_Test.dsp:
4125 * tests/Priority_Reactor_Test.dsp:
4126 * tests/Priority_Task_Test.dsp:
4127 * tests/Process_Mutex_Test.dsp:
4128 * tests/Process_Strategy_Test.dsp:
4129 * tests/RB_Tree_Test.dsp:
4130 * tests/Reactor_Exceptions_Test.dsp:
4131 * tests/Reactor_Notify_Test.dsp:
4132 * tests/Reactor_Performance_Test.dsp:
4133 * tests/Reactor_Timer_Test.dsp:
4134 * tests/Reactors_Test.dsp:
4135 * tests/Reader_Writer_Test.dsp:
4136 * tests/Recursive_Mutex_Test.dsp:
4137 * tests/Reverse_Lock_Test.dsp:
4138 * tests/Semaphore_Test.dsp:
4139 * tests/Service_Config_Test.dsp:
4140 * tests/Sigset_Ops_Test.dsp:
4141 * tests/Simple_Message_Block_Test.dsp:
4142 * tests/SOCK_Connector_Test.dsp:
4143 * tests/SOCK_Send_Recv_Test.dsp:
4144 * tests/SOCK_Test.dsp:
4145 * tests/SPIPE_Test.dsp:
4146 * tests/SString_Test.dsp:
4147 * tests/SV_Shared_Memory_Test.dsp:
4148 * tests/Svc_Handler_Test.dsp:
4149 * tests/Task_Test.dsp:
4150 * tests/Thread_Manager_Test.dsp:
4151 * tests/Thread_Mutex_Test.dsp:
4152 * tests/Thread_Pool_Reactor_Test.dsp:
4153 * tests/Thread_Pool_Test.dsp:
4154 * tests/Time_Service_Test.dsp:
4155 * tests/Time_Value_Test.dsp:
4156 * tests/Timeprobe_Test.dsp:
4157 * tests/Timer_Queue_Test.dsp:
4158 * tests/Tokens_Test.dsp:
4159 * tests/TSS_Test.dsp:
4160 * tests/Upgradeable_RW_Test.dsp:
4161 * tests/UPIPE_SAP_Test.dsp:
4162 Added "PharLap ETS Debug" configurations.
4163
4164 * ACE-INSTALL.html: Added some info about the PharLap TNT ETS port.
4165
4166 Thu Jun 24 14:10:20 1999 David L. Levine <[email protected]>
4167
4168 * bin/libsize.pl: use appropriate size command for all of
4169 our cross-compile platforms.
4170
4171 Thu Jun 24 14:00:27 1999 David L. Levine <[email protected]>
4172
4173 * ace/config-sunos5.7.h: with ghs only, undef ACE_HAS_PROC_FS
4174 and ACE_HAS_PRUSAGE_T because the Sun's sys/procfs_isa
4175 requires 64-bit ints.
4176
4177 Thu Jun 24 13:53:53 1999 David L. Levine <[email protected]>
4178
4179 * ace/Proactor.cpp: added missing backslash to one of
4180 the instantiation pragmas.
4181
4182 Thu Jun 24 12:53:22 1999 Steve Huston <[email protected]>
4183
4184 * ace/OS.(h i): Added check for ACE_HAS_WINSOCK2 != 0 wherever
4185 the check was only for ifdef ACE_HAS_WINSOCK2. Allows building on
4186 Winsock 1.1.
4187
4188 * ace/config-pharlap.h: New config file for use with PharLap TNT
4189 Embedded ToolSuite. This is not really tested yet - that activity
4190 continues.
4191
4192 Thu Jun 24 07:05:17 1999 David L. Levine <[email protected]>
4193
4194 * ace/config-osf1-4.0.h,include/makeinclude/platform_osf1_4.0.GNU,
4195 include/makeinclude/platform_osf1_cxx.GNU: use pragmas instead of
4196 command line arguments to disable specific warning messages.
4197 This cleans up the command line, and makes it easier to control
4198 warning message suppression (because the compiler version is
4199 available in __DECCXX_VER to the preprocessor.)
4200
4201 Wed Jun 23 21:27:45 1999 David L. Levine <[email protected]>
4202
4203 * ACE-INSTALL.html: removed space from "resource requirements"
4204 tag to avoid problems with web browers.
4205
4206 Wed Jun 23 20:18:42 1999 Douglas C. Schmidt <[email protected]>
4207
4208 * ace/WFMO_Reactor: Added a no-op work_pending()
4209 implementation until we figure out how to implement this.
4210
4211 * ace/Reactor_Impl.h,
4212 * ace/Reactor.{cpp,h},
4213 * ace/Select_Reactor_T.{h,cpp}: Added a work_pending() method
4214 that just checks if there are I/O events "ready" for
4215 dispatching, but doesn't actually dispatch event handlers. This
4216 is needed for TAO's work_pending() API. Thanks to Irfan for
4217 suggesting this.
4218
4219 Wed Jun 23 15:27:48 1999 David L. Levine <[email protected]>
4220
4221 * bin/libsize.pl: added this script, which provide a size
4222 breakdown of either the ACE or TAO libraries.
4223
4224 Wed Jun 23 14:34:27 1999 David L. Levine <[email protected]>
4225
4226 * ACE-INSTALL.html: added link to ACE Library Size Breakdown
4227 in System Resource Requirements discussion.
4228
4229 Wed Jun 23 14:09:27 1999 Kirthika Parameswaran <[email protected]>
4230
4231 * ace/Caching_Strategies_T.cpp (ACE_LRU_Caching_Strategy):
4232 Checked and modified the creation and deletion logic of the
4233 caching utility object.
4234 * ace/Cache_Map_Manager_T.cpp (~Cache_Map_Manager):
4235 Added the close method call to avoid memory leaks.
4236 * tests/run_test.pl:
4237 * tests/run_test.bat:
4238 Added Cache_Map_Manager_Test.
4239 * tests/Cache_Map_Manager_Test: Removed extra comma.
4240 * ace/Caching_Strategies_T.{h, i, cpp}
4241 * ace/Cache_Map_Manager_T.{i,h,cpp}
4242 * ace/Caching_Strategy_Utility_T.{h,i,cpp}
4243 * ace/Cleanup_Strategies_T.{h, i,cpp}
4244 * ace/Hash_Cache_Map_Manager_T.{h, i,cpp}
4245 * ace/ace_dll.dsp:
4246 Added above caching related files into the NT ace workspace.
4247
4248 Wed Jun 23 10:09:06 1999 David L. Levine <[email protected]>
4249
4250 * ACE-INSTALL.html: updated System Resource requirements discussion.
4251 All of ACE+TAO requires well over 1 Gb of disk now :-/.
4252
4253 Wed Jun 23 00:03:31 1999 Douglas C. Schmidt <[email protected]>
4254
4255 * ace/SOCK_Dgram.cpp (ACE_SOCK_Dgram): Fixed an unused args
4256 warning. Thanks to David for reporting this.
4257
4258 * ace/Service_Config.h (ACE_Service_Config): Moved the
4259 documentation for the open() method's "argv" parameters *to* the
4260 open() method. Also clarified that by default we don't install
4261 the "statically configured services" (such as ACE_Svc_Manager).
4262 Thanks to Ian MacDonald <[email protected]> for motivating this.
4263
4264 * ace/OS.i (accept): Added a new workaround for platforms
4265 like VxWorks that can't handle NULL addrs to accept(). Thanks
4266 to James Hu <[email protected]> and John Weald
4267 <[email protected]> for this fix.
4268
4269 * ace/config-vxworks5.x.h: Added a new macro
4270 ACE_HAS_BROKEN_ACCEPT_ADDR to work around VxWorks problems
4271 with NULL addrs to accept().
4272
4273 Tue Jun 22 21:17:49 1999 Kirthika Parameswaran <[email protected]>
4274
4275 * tests/Cache_Map_Manager_Test.cpp: Tests the Cache_Map_Manager
4276 as well as the Hash_Cache_Map_Manager which has additional
4277 features of caching and purging of entries along with the map
4278 properties.
4279 * tests/Makefile: Added Cache_Map_Manager_Test.cpp
4280
4281 Tue Jun 22 15:20:53 1999 David L. Levine <[email protected]>
4282
4283 * tests/Thread_Manager_Test.cpp (main): removed THR_DETACHED.
4284 That seems to solve the libthread panic problem on Solaris,
4285 even with group signalling enabled. Thanks to Carlos for
4286 suggesting this.
4287
4288 Tue Jun 22 15:11:34 1999 Matthew J Braun <[email protected]>
4289
4290 * ace/Containers_T.h,i
4291 Added new next(T *&) methods to the ACE_DLList_Iterator
4292 classes and marked the old versions as DEPRECATED.
4293
4294 Tue Jun 22 13:40:22 1999 David L. Levine <[email protected]>
4295
4296 * docs/tutorials/*/Makefile: replace rm -f with $(RM).
4297
4298 Tue Jun 22 13:07:19 1999 Carlos O'Ryan <[email protected]>
4299
4300 * tests/Message_Block_Test.cpp:
4301 * websvcs/lib/URL_Addr.i:
4302 * websvcs/lib/URL_Addr.cpp:
4303 Removed more g++ -W warnings
4304
4305 Tue Jun 22 11:12:42 1999 David L. Levine <[email protected]>
4306
4307 * ACE-INSTALL.html: added System Resource Requirements
4308 section. Thanks to Hakan Kallberg <[email protected]>
4309 and Eric Mitchell <[email protected]> for the
4310 Linux swap space and -pipe removal suggestions.
4311
4312 Tue Jun 22 07:45:59 1999 David L. Levine <[email protected]>
4313
4314 * ace/Event_Handler_T.i: fixed some occurrences of
4315 ACE_INLINE that were after the function return type.
4316
4317 Tue Jun 22 07:30:12 1999 David L. Levine <[email protected]>
4318
4319 * ace/Stats.cpp: fixed for ACE_LACKS_LONGLONG_T platforms.
4320 (sample): replace return statement with an else branch, to
4321 make it easier to see what the code is doing.
4322
4323 Mon Jun 21 23:36:02 1999 Carlos O'Ryan <[email protected]>
4324
4325 * websvcs/lib/URL_Addr.cpp:
4326 Fixed warnings about unused variables.
4327
4328 Mon Jun 21 23:27:01 1999 Darrell Brunsch <[email protected]>
4329
4330 * ace/SString.h: Added ACE_TString typdef that is either a
4331 ACE_CString or ACE_WString, depending on whether UNICODE
4332 is defined.
4333
4334 Mon Jun 21 23:22:46 1999 Douglas C. Schmidt <[email protected]>
4335
4336 * examples/Misc/test_trace.cpp: Improved this test so it will
4337 work more effectively on single-threaded *and* multi-threaded
4338 platforms. Thanks to Hao Ruan <[email protected]> for reporting
4339 this. Also fixed a warnng in this test caused by failure to
4340 return a value on every return path. Thanks to David Levine for
4341 reporting this.
4342
4343 Mon Jun 21 14:17:22 1999 Carlos O'Ryan <[email protected]>
4344
4345 * ace/Stats.h:
4346 * ace/Stats.cpp:
4347 Added new class to keep latency and throughput statistics.
4348
4349 Mon Jun 21 13:24:41 1999 David L. Levine <[email protected]>
4350
4351 * include/makeinclude/platform_freebsd.GNU,platform_linux.GNU,
4352 platform_linux_lxpthread.GNU,platform_psosim_g++.GNU,
4353 platform_qnx_neutrino.GNU,platform_sunos5_g++.GNU,
4354 platform_vxworks5.x_g++.GNU: added -W to CFLAGS. -Wall
4355 doesn't include the -W checks, at least with egcs 1.1.2.
4356
4357 Mon Jun 21 10:18:01 1999 David L. Levine <[email protected]>
4358
4359 * ace/Makefile: moved FlReactor, Msg_WFMO_Reactor, TkReactor,
4360 and XtReactor from OTHER to DEMUX_FILES because TAO uses
4361 them in some configurations. They add negligible size
4362 overhead when not used. Thanks to Nanbor for pointing this
4363 out.
4364
4365 Mon Jun 21 10:11:15 1999 Carlos O'Ryan <[email protected]>
4366
4367 * ace/Makefile:
4368 The TP_Reactor is used by TAO, but was listed in the OTHER
4369 component. Moved to the DEMUX component to make it always
4370 available. Thanks to David Levine for pointing this out.
4371
4372 Mon Jun 21 09:58:42 1999 Joe Hoffert <[email protected]>
4373
4374 * ace/QoS.{h,cpp}: Removed these files from ACE since they have a
4375 lot of problems. Will add back later when they compile and are
4376 tested.
4377
4378 Mon Jun 21 08:40:14 1999 Steve Huston <[email protected]>
4379
4380 * examples/Connection/misc/Connection_Handler.cpp (handle_input):
4381 Corrected signed/unsigned mismatch I accidentally put in last week.
4382
4383 * ace/CORBA_macros.h: Added __HP_aCC to the compilers that need
4384 special handling for throwing an exception from a value-returning
4385 function.
4386
4387 * include/makeinclude/platform_hpux_aCC.GNU: Added +DAportable
4388 to CCFLAGS if no architecture specified. Added -z to LDFLAGS
4389 to force SEGV on dereference 0 pointer. Added definition for
4390 CPP_LOCATION to not use aCC - it displays warnings for unrecognized
4391 #pragmas and this dirties the TAO builds. Thanks to Brian Wallis
4392 <[email protected]> for these ideas.
4393
4394 Sat Jun 19 22:28:35 1999 Carlos O'Ryan <[email protected]>
4395
4396 * bin/auto_compile:
4397 Updated the list of tests run every night.
4398
4399 Sat Jun 19 18:15:48 1999 Carlos O'Ryan <[email protected]>
4400
4401 * ace/OS.h:
4402 * ace/CORBA_macros.h:
4403 The ACE_GUARD macros needed some blanks to work with a template
4404 as the lock type parameter.
4405
4406 Sat Jun 19 10:34:55 1999 Douglas C. Schmidt <[email protected]>
4407
4408 * ace/Acceptor.cpp,
4409 ace/Connector.cpp: Modified the make_svc_handler() hook method
4410 in these classes to set the Reactor of the newly created
4411 SVC_HANDLER to the same reactor that the Acceptor or Connector
4412 is using. Thanks to John Aughey <[email protected]> for
4413 this suggestion.
4414
4415 * man/{html,man3}: Zapped the Ace_Export.* files since
4416 they don't belong here. Thanks to Zoran Ivanovic
4417 <[email protected]> for reporting this.
4418
4419 Fri Jun 18 20:49:09 1999 Irfan Pyarali <[email protected]>
4420
4421 * ace/Synch.cpp: Added template instantiations for
4422 ACE_Write_Guard<ACE_Thread_Mutex>.
4423
4424 Fri Jun 18 19:30:09 1999 Douglas C. Schmidt <[email protected]>
4425
4426 * ACE version 4.6.42 released.
4427
4428 Fri Jun 18 18:49:39 1999 Carlos O'Ryan <[email protected]>
4429
4430 * tests/Makefile:
4431 * tests/run_tests.psosim:
4432 * tests/run_tests.sh:
4433 * tests/run_tests.vxworks:
4434 Disabled Map_Manager_Test, it does not work with too many
4435 platforms and the features it tests are not used (yet).
4436
4437 Fri Jun 18 16:54:43 1999 Irfan Pyarali <[email protected]>
4438
4439 * tests/Message_Queue_Test.cpp:
4440 * tests/Message_Block_Test.cpp:
4441 Removed template instantiations for ACE_Message_Queue_Iterator
4442 and ACE_Message_Queue_Reverse_Iterator. They are already
4443 available in the ace library.
4444
4445 * ace/Service_Types.cpp: Added explicit instantiations for
4446 ACE_Message_Queue_Reverse_Iterator. ACE_Message_Queue and
4447 ACE_Message_Queue_Iterator were already there. This addition
4448 will complete the set.
4449
4450 Fri Jun 18 12:12:59 1999 Douglas C. Schmidt <[email protected]>
4451
4452 * ace/SOCK_Dgram: Added the first set of hooks to support
4453 QoS-enabled data grams for Win2K GQoS.
4454
4455 Fri Jun 18 11:37:31 1999 Nanbor Wang <[email protected]>
4456
4457 * *.{mdp,mak}: Removed all MSVC++ 4.x workspaces and makefiles.
4458 We are no longer supporting this version of MSVC++. If you need
4459 support for MSVC++ 4.x please contact Steve Huston
4460 <[email protected]> of Riverace to arrange a support
4461 contract.
4462
4463 Fri Jun 18 12:19:42 1999 Matthew J Braun <[email protected]>
4464
4465 * tests/DLList_Test.cpp: Removeed unnecessary explicit template
4466 instantiation that mirrored ones in ace/Containers.cpp to fix
4467 compile errors on VxWorks. Why this _ever_ worked, I don't
4468 know...
4469
4470 Fri Jun 18 11:37:31 1999 Nanbor Wang <[email protected]>
4471
4472 * ace/Service_Config.h (class ACE_Static_Svc_Descriptor): Changed
4473 the type of <name_> from LPTCSTR to 'const ASYS_TCHAR*'.
4474
4475 Thu Jun 17 12:46:30 1999 Douglas C. Schmidt <[email protected]>
4476
4477 * tests/Conn_Test.cpp: Fixed a problem with explicit template
4478 instantiations so that this test will compile even if ACE isn't
4479 built with threads.
4480
4481 * netsvcs/lib/Server_Logging_Handler.cpp: Fixed the explicit
4482 template instantiations so hopefully they'll work when ACE is
4483 compiled without threads. Thanks to Carlos for reporting this.
4484
4485 * ace/SOCK_Dgram_Mcast.cpp: We needed to modify the return values
4486 of subscribe_i() so that we'd have the ability to differentiate
4487 a "short-circuit" return on NT. Thanks to Marina for reporting
4488 this.
4489
4490 * ace/OS.h: Added an automatic test to check if we're running on
4491 an EBCDIC character set, and if so, set
4492 ACE_STANDARD_CHARACTER_SET_SIZE to 256 rather than 128. Thanks
4493 to Jim Rogers for this suggestion.
4494
4495 * performance-tests/TTCP/Makefile: Zapped the Orbix and ORBeline
4496 directories from the Makefile. These are *way* out of date and
4497 have been superceeded by the versions in
4498 $TAO_ROOT/performance-tests/Thruput/. Thanks to Youzhong Liu
4499 <[email protected]> for reporting this.
4500
4501 Thu Jun 17 12:59:24 1999 Carlos O'Ryan <[email protected]>
4502
4503 * ace/CDR_Stream.h:
4504 * ace/CDR_Stream.i:
4505 Added accessors for the codeset translators.
4506
4507 Thu Jun 17 00:33:57 1999 Nanbor Wang <[email protected]>
4508
4509 * include/makeinclude/platform_freebsd.GNU (VERSION): Applied the
4510 patch to automatically detect FreeBSD version. Thanks to
4511 Goldshtain Dmitry <[email protected]> for providing the
4512 patch.
4513
4514 * bin/Process_Win32.pm (TimedWait):
4515 Get and return the exit status from the waited process.
4516
4517 Wed Jun 16 22:03:29 1999 Irfan Pyarali <[email protected]>
4518
4519 * ace/OS.h (ACE_OS): Removed ACE_WIDE_DL_TYPE and the wide char
4520 versions of dlopen(), dlsym(), and dlerror(). Even Win32
4521 doesn't support them.
4522
4523 Also changed the argument type of ACE_OS::dlopen(),
4524 ACE_OS::dlsym(), ACE_DLL::ACE_DLL(), ACE_DLL::open(), and
4525 ACE_DLL::symbol() from ACE_DL_TYPE to const char *. Now the
4526 ACE_OS wrappers do the correct const cast before calling the OS
4527 function. Note that since this change is only adding constness
4528 to the argument, the change is backward compatible.
4529
4530 Wed Jun 16 20:47:27 1999 Carlos O'Ryan <[email protected]>
4531
4532 * bin/Process_Win32.pm:
4533 The wait time for a process seems to be in milliseconds.
4534
4535 Wed Jun 16 20:03:41 1999 Steve Huston <[email protected]>
4536
4537 * ace/Containers_T.cpp: Qualify dllist_ with 'this->' to get the
4538 template types looked up correctly. This is what fixes the pesky
4539 future error 641 on HP-UX aC++.
4540
4541 * ace/RB_Tree.i: Qualify node_ and tree_ with 'this->' to get the
4542 template types looked up correctly. aC++ is really happy now,
4543 and so is Steve :-)
4544
4545 Wed Jun 16 18:50:38 1999 Carlos O'Ryan <[email protected]>
4546
4547 * ace/OS.i:
4548 Fixed typos in single threaded code.
4549
4550 Wed Jun 16 18:14:45 1999 Kirthika Parameswaran <[email protected]>
4551
4552 * ace/Cached_Connect_Strategy_T.{h, cpp}: Added ATTRIBUTES to
4553 the template list for the Cached_Connect_Strategy_Ex class to
4554 ward off g++ compiler errors.
4555
4556 Wed Jun 16 15:54:08 1999 Carlos O'Ryan <[email protected]>
4557
4558 * ace/OS.h:
4559 * ace/OS.i:
4560 * ace/config-win32.h:
4561 Auto-detect if we are using MSVC5.0 or MSVC6.0 and define the
4562 ACE_HAS_WINSOCK_GQOS macro in that case. This macro is used in
4563 the places where the QoS data structure of both compilers are
4564 different.
4565
4566 Mon Jun 14 22:52:48 1999 Kirthika Parameswaran <[email protected]>
4567
4568 * tests/Map_Manager_Test.cpp: Removed template instantiation
4569 regarding ACE_Read_Mutex<Thread_Mutex>. Added template
4570 instantiations for ACE_Pair<VALUE, int> and
4571 ACE_Reference_Pair<TYPE, VALUE> to make sunc++5.0 happy.
4572
4573 * ace/Caching_Strategy_Utility_T.{h.cpp}: Removed math.h from the
4574 include list since it caused problems when native exceptions were
4575 enabled.
4576
4577 Mon Jun 14 21:41:40 1999 Douglas C. Schmidt <[email protected]>
4578
4579 * ace/Connector.h: Added a comment to clarify that if
4580 Connector::connect() fails the close() hook of the Svc_Handler
4581 is called to prevent resource leaks. Thanks to V. Lakshmanan
4582 <[email protected]> for motivating this.
4583
4584 Mon Jun 14 20:54:09 1999 Kirthika Parameswaran <[email protected]>
4585
4586 * ace/Synch.cpp: Declared template definitions for
4587 ACE_Read_Mutex<ACE_Thread_Mutex> to get around compiler errors
4588 while building $ACE_ROOT/tests. Thanks to Dr.Schmidt for
4589 suggesting this.
4590
4591 Mon Jun 14 19:33:04 1999 Douglas C. Schmidt <[email protected]>
4592
4593 * ace/SOCK_Acceptor.cpp (accept): Fixed a bizarre problem with
4594 Win32 where it's imperative that the third parameter to <accept>
4595 must be a NULL pointer if we want to ignore the client address.
4596
4597 * ace/OS.i: Cleaned up warnings in join_leaf() and ioctl() due to
4598 unused args. Thanks to Marina for reporting this.
4599
4600 Mon Jun 14 15:56:27 1999 David L. Levine <[email protected]>
4601
4602 * ace/config-qnx-neutrino.h,
4603 include/makeinclude/platform_qnx_neutrino.GNU: added config
4604 files for QNX Neutrino. They support cross-compiling on a
4605 QNX4 host for Neutrino target. Builds are almost (but not
4606 completely) clean.
4607
4608 * include/makeinclude/platform_qnx_neutrino.GNU: only
4609 build static libs, because they seem to work better. Many
4610 of the ACE tests pass with this configuration! (Some of
4611 the usual suspects, such as Conn_Test, don't.)
4612
4613 * ace/config-qnx-neutrino.h: don't need ACE_HAS_PENTIUM here,
4614 because it's in config-g++-common.h. Removed
4615 ACE_HAS_USING_KEYWORD, because g++ 2.8.1 doesn't support
4616 namespaces.
4617
4618 Mon Jun 14 14:33:29 1999 David L. Levine <[email protected]>
4619
4620 * tests/Reactor_Performance_Test.cpp (handle_input): removed
4621 printout when result == 0. It happens when the client finishes
4622 first, which I think is OK.
4623
4624 Mon Jun 14 11:55:31 1999 Steve Huston <[email protected]>
4625
4626 * include/makeinclude/platform_aix4_g++.GNU: New platform file for AIX
4627 4.x using GNU compiler. Been tested w/ egcs 1.1.2.
4628
4629 * include/makeinclude/platform_aix4_cset++.GNU: Make shared libs
4630 correctly and without building the static one first.
4631 Also, for cset++, disable warnings on AIX 4.3 to shut up the
4632 0-valued preprocessor warnings. This is not a great
4633 long-term general solution, but it'll do the job.
4634
4635 * include/makeinclude/wrapper_macros.GNU:
4636 * include/makeinclude/rules.lib.GNU: On AIX, build shared lib w/o
4637 requiring static one first. When building shared libs, also link
4638 against them and install the proper files when done. The correct
4639 files built for libfoo are:
4640 libfoo.a: archive/static library
4641 libfoo.so: shared library, but not set up for run-time linker.
4642 This is the one loaded by ACE dynamic loading.
4643 libfooshr.a: an archive library with libfoo.so as its only
4644 member. This is what to link against when building
4645 a program/library that uses libfoo.
4646
4647 Silly? Uh-huh. But that's life in AIX land. I tried to get things
4648 building/running clean using the run-time linker (-brtl) but had
4649 no end of trouble. And, since no other libs in /usr/lib want to
4650 do it that way either, it's like this.
4651
4652 Mon Jun 14 09:58:02 1999 Douglas C. Schmidt <[email protected]>
4653
4654 * ace/OS.i: Added ACE_UNUSED_ARG() macros for all the non-WINSOCK2
4655 cases in the ACE_Flow_Spec and ACE_QoS methods. Thanks to David
4656 for reporting this.
4657
4658 * ace/OS.i: Moved the definition of ACE_Errno_Guard's methods to
4659 earlier in the file to avoid problems with inline ordering.
4660 Thanks to David for reporting this.
4661
4662 * ACE-INSTALL.html: Updated Barry Hoggard's CORBA page URL.
4663
4664 Mon Jun 14 07:17:23 1999 David L. Levine <[email protected]>
4665
4666 * docs/ACE-guidelines.html: fixed typo: exceptions.
4667
4668 Sun Jun 13 14:22:54 1999 Douglas C. Schmidt <[email protected]>
4669
4670 * ace/LSOCK_Acceptor.cpp: Rewrote the accept() method to use the
4671 same new technique that's used in ACE_SOCK_Acceptor::accept().
4672 This is necessary since there's no longer a shared_accept().
4673
4674 * ace/SOCK_Acceptor: Removed shared_accept() since it's been split
4675 into two parts to make the QoS features easier to maintain.
4676
4677 * ace/SOCK_Acceptor: Added the new ACE_Accept_QoS_Params parameter
4678 to the ACE_SOCK_Acceptor::accept(). Also created two new
4679 private methods, shared_accept_start() and
4680 shared_accept_finish(), that factor out common code.
4681
4682 * ace/SOCK_Connector: Added the new ACE_Connect_QoS_Params
4683 parameter to ACE_SOCK_Connector::connect(). Also created two
4684 new private methods, shared_connect_start() and
4685 shared_connect_finish(), that factor out common code.
4686
4687 * ace/SOCK_Connector.cpp: Cleaned up the logic that checks for
4688 various types of errors and updated the code to use the new
4689 ACE_Errno_Guard features.
4690
4691 * ace/OS.h: Added an equality and in-equality operator for
4692 ACE_Errno_Guard and moved all the methods into OS.i rather than
4693 OS.h. Also added an ACE_Export to the ACE_Errno_Guard class so
4694 that it can be used outside of the ACE library.
4695
4696 * ace/OS.h: For Win32, added support for the WinSock2 QoS
4697 functions WSAAccept(), WSAConnect(), WSAJoinLeaf(), and
4698 WSAIoctl().
4699
4700 * ace/OS.h: For Win32, added thin wrappers ACE_Flow_Spec and
4701 ACE_QoS that encapsulate the WinSock2 FLOWSPEC and QOS structs,
4702 respectively.
4703
4704 * ace/OS.h: For Win32, added an implicit conversion operator from
4705 iovec to WSABUF since they are structurally equivalent.
4706
4707 Sun Jun 13 14:22:54 1999 Douglas C. Schmidt <[email protected]>
4708
4709 * bin/README.html: Updated the information about the ACE
4710 documentation tools to be more helpful.
4711
4712 Fri Jun 11 20:04:37 1999 Carlos O'Ryan <[email protected]>
4713
4714 * bin/Process_Unix.pm:
4715 Fixed problems on TimedWait().
4716
4717 Fri Jun 11 15:28:44 1999 Douglas C. Schmidt <[email protected]>
4718
4719 * ace/OS.h: Need to add #include <signal.h> before <pthread.h>
4720 since pthread.h doesn't include signal.h on SunOS 5.7. Thanks
4721 to Rick Weisner <[email protected]> for reporting this.
4722
4723 * ace/OS: ACE_OS::memchr() should return a const void * rather
4724 than a void *. Thanks to Rick Weisner
4725 <[email protected]> for reporting this.
4726
4727 * ace/Dirent.i: Don't call closedir() on a NULL dirp because some
4728 platforms (such as SunOS 5.7) will segfault! Thanks to Tom
4729 Arbuckle <[email protected]> for pointing
4730 this out.
4731
4732 Fri Jun 11 14:47:47 1999 Carlos O'Ryan <[email protected]>
4733
4734 * bin/auto_compile: Does not compile all the directories in TAO,
4735 because it takes too much space (and time). Run several more
4736 tests in TAO that are stable. Improve output.
4737
4738 * ace/Log_Msg.cpp: Use ACE_HAS_THR_C_DEST for TSS "destructors",
4739 not ACE_HAS_THR_C_FUNC.
4740
4741 * bin/ACEutils.pm:
4742 * bin/Process_Unix.pm:
4743 * bin/Process_Win32.pm: Added new routines to wait for a process
4744 with a timeout, ditto for the ACE::waitforfile() routine. They
4745 can be used to write more reliable test drivers.
4746
4747 Fri Jun 11 14:40:49 1999 David L. Levine <[email protected]>
4748
4749 * bin/create_ace_build: run the directory mode value through eval,
4750 to convert it from octal to decimal, if necessary. Thanks to
4751 Russ Noseworthy for providing the patch.
4752
4753 * include/makeinclude/platform_sunos5_sunc++.GNU: only set
4754 TEMPLATE_REPOSITORY for Sun C++ 4.2. 5.0 doesn't need it.
4755 Thanks to Dennis C. De Mars <[email protected]> for
4756 reporting this.
4757
4758 * tests/Reactor_Performance_Test.cpp (main): return error status
4759 from run_event_loop () call. And, added a few ACE_ERROR
4760 printouts. Thanks to Steve for mentioned this.
4761
4762 * ace/config-sunos5.5.h: properly reverted all the changes of
4763 today. The comments are more helpful this way.
4764
4765 * include/makeinclude/platform_linux_lxpthread.GNU: changed
4766 PLATFORM_AIO_SUPPORT to use := instead of =, so that it only
4767 invokes the shell once. Thanks to Lothar Werzinger
4768 <[email protected]> for suggesting this.
4769
4770 Fri Jun 11 12:10:00 1999 Chris Gill <[email protected]>
4771
4772 * tests/RB_Tree_Test.{cpp, h (new)}: factored out class template
4773 declaration into a .h file to make AIX C++ happy.
4774
4775 Thu Jun 10 23:11:36 1999 Kirthika Parameswaran <[email protected]>
4776
4777 * ace/Cache_Map_Manager_T.{h, i, cpp}: Added Iterator
4778 implementations to the template parameters to be able to build
4779 using the g++ compiler. Also removed unnecessary HASH_KEY and
4780 COMPARE_KEYS from the template list.
4781
4782 * ace/Hash_Cache_Map_Manager_T.{h, i, cpp}: Made appropriate
4783 changes to support changes made to Cache_Map_Manager.
4784
4785 * ace/Caching_Strategies_T.{h, i, cpp}: Added an overloaded
4786 clear_cache method which allows the user to specify the total
4787 number of entries in the cache. Also added the
4788 Caching_Strategy_Utility parameter which decouples the actual
4789 purging from the caching strategy.
4790
4791 * ace/Caching_Strategy_Utility.{h,i,cpp}: Added a Null version of
4792 the utility to be used with the Null strategy.
4793
4794 * ace/Cleanup_Strategies_T.{h,i,cpp}: Added the ACE_UNSED_ARGS
4795 macro to ward of g++ warnings.
4796
4797 * tests/Map_Manager_Test.cpp: Added performance tests for the
4798 Cache_Map_Manager and the Hash_Cache_Map_Manager.
4799
4800 Thu Jun 10 20:29:00 1999 Chris Gill <[email protected]>
4801
4802 * ace/RB_Tree.h: Made constructors for iterator base class
4803 protected instead of protected, so the the base class can only
4804 be constructed by the derived forward and reverse iterator
4805 classes. Thanks to Matt Braun for pointing this out.
4806
4807 * tests/RB_Tree_Test.cpp: Major overhaul of the test to use a test
4808 class template that encapsulates the test details and makes the
4809 code much more readable. Then, the main program merely
4810 instantiates a test for each of the four possible combinations
4811 of key/item type parameterization over int and const char *, and
4812 calls the run_test () method of each test instance.
4813
4814 Thu Jun 10 12:44:22 1999 Steve Huston <[email protected]>
4815
4816 * tests/UPIPE_SAP_Test.cpp: Disable for Win32 if !ACE_HAS_WINNT4.
4817 The test relies on ACE_SPIPE_Acceptor which requires NT4 to
4818 work.
4819
4820 Thu Jun 10 12:47:52 1999 David L. Levine <[email protected]>
4821
4822 * ace/config-linux-lxpthreads.h: removed ACE_HAS_AIO_CALLS. It's
4823 now enabled in the platform_macros.GNU file:
4824
4825 * include/makeinclude/platform_linux_lxpthread.GNU: added
4826 automatic detection of AIO support, based on existence of
4827 /usr/lib/librt.so.
4828
4829 * include/makeinclude/platform_linux_lxpthread.GNU: add -lrt to
4830 LIBS only if $(PLATFORM_AIO_SUPPORT) is equal to
4831 -DACE_HAS_AIO_CALLS.
4832
4833 Thanks to Jake Hamby <[email protected]> for reporting that not
4834 all Linux platforms have AIO support.
4835
4836 Thu Jun 10 10:17:08 1999 David L. Levine <[email protected]>
4837
4838 * ace/config-sunos5.5.h: with Sun C++ 5.0, #define
4839 _RWSTD_NO_EXCEPTIONS 1 if exceptions are not enabled. This
4840 avoids a warning about throw expressions being ignored with
4841 -noex. See /opt/SUNWspro_5.0/SC5.0/include/CC/stdcomp.h for
4842 more information.
4843
4844 * ace/os-patches/vxworks-5.1.txt,ACE-INSTALL.html: added these
4845 notes for using ACE with VxWorks 5.1.
4846
4847 * docs/ACE-guidelines.html: avoid source code filenames that
4848 include "Error". Avoid #include <math.h>.
4849
4850 Wed Jun 9 21:45:24 1999 Douglas C. Schmidt <[email protected]>
4851
4852 * tests/Svc_Handler_Test.cpp (main): Revised the test a bit to
4853 make it more clear what's going on.
4854
4855 * ace/Svc_Handler.cpp: Fixed a typo in flush() -- we need to
4856 update the temp pointer with temp->cont() *not* entry->cont().
4857
4858 * ace/Svc_Handler.cpp (dump): Fixed a typo -- I wasn't comparing
4859 the pointer to 0, I was comparing the ACE_Time_Value!
4860
4861 Wed Jun 9 21:10:00 1999 Chris Gill <[email protected]>
4862
4863 * ace/config-psos-diab-ppc.h: added
4864 ACE_HAS_NONCONST_SELECT_TIMEVAL
4865
4866 * tests/RB_Tree_Test.cpp: fixed constness issues revealed by
4867 SunC++ 5.0, added return value assertions for insert calls,
4868 added typedefs.
4869
4870 Wed Jun 9 20:40:50 1999 Carlos O'Ryan <[email protected]>
4871
4872 * ace/CDR_Stream.h:
4873 * ace/CDR_Stream.cpp: Added new methods to support message
4874 reassembly in GIOP 1.1
4875
4876 Wed Jun 9 15:32:37 1999 Douglas C. Schmidt <[email protected]>
4877
4878 * ace/Message_Queue_T: Added a lock() accessor method so that
4879 other components can access the lock used by a Message Queue.
4880
4881 * ace/Svc_Handler.cpp: Added better support for timeout handling
4882 for the ACE_Buffered_Svc_Handler.
4883
4884 * ace/Svc_Handler: Split the buffering portion of ACE_Svc_Handler
4885 off into a separate class called ACE_Buffered_Svc_Handler to
4886 avoid adding extra space and complexity to the existing
4887 ACE_Svc_Handler. Thanks to Irfan for suggesting this, as well
4888 as also suggesting ways to improve the performance by caching
4889 the current size of the buffer.
4890
4891 * ace/OS.h: Added a patch to work around some problems with macros
4892 for USYNCH_THREAD. Thanks to David Levine and Russ Noseworthy
4893 for this.
4894
4895 * examples/Threads/task_five.cpp (main): Improved the form and
4896 content of this example a bit.
4897
4898 * include/makeinclude/platform_sunos5_sunc++.GNU,
4899 * include/makeinclude/platform_sunos5_g++.GNU,
4900 * include/makeinclude/platform_irix6.x_g++.GNU,
4901 * include/makeinclude/platform_linux_lxpthread.GNU,
4902 * include/makeinclude/platform_irix6.x_sgic++.GNU:
4903 Added support to make it easier to override various settings
4904 in platform_macros files. Thanks to Dave Meyer
4905 <[email protected]> for contributing this.
4906
4907 * ace/SPIPE_Stream: Added sendv(), sendv_n(), and recvv_n()
4908 methods to SPIPE_Stream. Thank to Carlos for pointing this out.
4909
4910 * ace/config-mvs.h: Changed the size of the ACE_SIZEOF_DOUBLE and
4911 ACE_SIZEOF_LONG_DOUBLE from 4 and to 8 and 16, respectively.
4912 Thanks to Jim Rogers for reporting this.
4913
4914 * ace/config-mvs.h: Added ACE_HAS_NONCONST_SELECT_TIMEVAL on the
4915 advice of Jim Rogers <[email protected]>.
4916
4917 * ace/OS.h (class ACE_Errno_Guard): Propagate the return value of
4918 the assignment operator to allow chaining. Thanks to Jeff for
4919 reporting this.
4920
4921 * ace/OS.i: Fixed a bizzarre problem with lower-case ace_os::.
4922 Thanks to Andy for pointing this out.
4923
4924 * ace/Svc_Conf.y: Don't enable YYDEBUG by default so that we can
4925 save some space in the generated code.
4926
4927 * ace/OS: Added several more uses of ACE_Errno_Guard, which has
4928 been enhanced to support assignment. Thanks to Irfan for
4929 suggesting this.
4930
4931 * tests/Svc_Handler_Test.cpp: Added a simple test for the new
4932 buffering feature in ACE_Svc_Handler.
4933
4934 * ace/Strategies.cpp: Added an explicit template instantiation for
4935 ACE_Message_Queue_Iterator <ACE_NULL_SYNCH> since this is now
4936 used in ACE_Svc_Handler.
4937
4938 * ace/Svc_Handler: Added a "buffering" feature to the
4939 ACE_Svc_Handler. This feature makes it possible to queue up
4940 ACE_Message_Blocks in an ACE_Message_Queue until (1) the queue
4941 is "full" or (2) a period of time elapses, at which point the
4942 queue is "flushed" via sendv_n() to the peer.
4943
4944 Wed Jun 9 12:23:30 1999 Jeff Parsons <[email protected]>
4945
4946 * tests/version_tests/version_tests.dsw:
4947 * tests/run_tests.bat:
4948 * tests/run_tests.psosim:
4949 * tests/run_tests.vxworks:
4950 Added Svc_Handler_Test to these.
4951
4952 * tests/tests.dsw:
4953 Added Svc_Handler_Test.dsp (created and checked in by
4954 Nanbor) to the workspace.
4955
4956 Wed Jun 9 10:46:07 1999 Carlos O'Ryan <[email protected]>
4957
4958 * ace/Strategies.cpp:
4959 Moved template instantiations to ace/Service_Types.cpp
4960
4961 * ace/Service_Types.cpp:
4962 Added missing template instantiations for
4963 ACE_Message_Queue_Iterator<>
4964
4965 * ace/Svc_Handler.cpp (flush):
4966 Removed extra characters and the end of a #endif
4967 Fixed warning about unused variable
4968 Use right iterator for the Message_Queue
4969
4970 Wed Jun 09 10:11:29 1999 David L. Levine <[email protected]>
4971
4972 * ace/config-g++-common.h: added #define of
4973 ACE_NEW_THROWS_EXCEPTIONS, with egcs if ACE_HAS_EXCEPTIONS is
4974 #defined. That allows ACE's New_Fail_Test to pass. Thanks
4975 to Jake Hamby <[email protected]> for providing the fix.
4976
4977 Tue Jun 8 22:44:18 1999 Douglas C. Schmidt <[email protected]>
4978
4979 * Hacked BYACC to generate a parser that doesn't have any
4980 incorrect const char *'s. This clears the last major const
4981 issue in libACE.
4982
4983 Tue Jun 8 20:46:05 1999 Matthew J Braun <[email protected]>
4984
4985 * ace/Functor.i,h: Migrated ACE_Hash template specializations
4986 from native types to ACE types (ACE_UINT16, etc). This was
4987 necessary since native types are not portable.
4988
4989 Tue Jun 8 15:47:06 1999 Douglas C. Schmidt <[email protected]>
4990
4991 * ace: Updated most of the places in ACE that can benefit from the
4992 new ACE_Errno_Guard class.
4993
4994 * ace/OS.h: Added a new ACE_Errno_Guard class that improves
4995 performance when thread-specific errno must be saved/restored in
4996 a block of code. Thanks to Serge Kolgan <[email protected]> for
4997 motivating this and to Rick Weisner <[email protected]>
4998 for explaining the technique to Serge.
4999
5000 * ace/Env_Value_T.h: Added a new ACE_Convert() function that works
5001 for const char *'s. Thanks to David for reporting this.
5002
5003 Tue Jun 08 18:08:41 1999 Steve Huston <[email protected]>
5004
5005 * ace/OS.h: Added new overridable macro, ACE_LOCALHOST. This allows
5006 overriding of the string used to do a loopback IP socket to the
5007 local host. Some systems (e.g. PharLap ETS) don't have a host table
5008 out of the box, and require an IP address string.
5009
5010 * ace/Pipe.cpp: Use the new ACE_LOCALHOST macro instead of a hard
5011 "localhost" when using a socket to emulate a pipe. Thanks to
5012 Bruce Trask <[email protected]> for working to get this
5013 ironed out for PharLap ETS.
5014
5015 * README: Added Bruce Trask to the Hall of Fame ;-)
5016
5017 * tests/SOCK_Connector_Test.cpp: Check for failed host lookup
5018 before trying to connect. Changed the way sethostent is done on
5019 AIX 4.3 to work around an apparent bug in AIX 4.3.
5020
5021 Tue Jun 08 13:46:38 1999 Nanbor Wang <[email protected]>
5022
5023 * ace/OS.h (wmain): Added a new macro to tweak the wchat_t version
5024 of main program entry point to create the non-static
5025 Object_Manager. This is only enabled if UNICODE and ACE_WIN32
5026 is defined (although you can also use wmain under non-UNICODE
5027 environment).
5028
5029 Mon Jun 07 14:34:53 1999 Nanbor Wang <[email protected]>
5030
5031 * ace/CORBA_macros.h: The member function for dumping
5032 TAO_Exception is changed to _tao_print_exception.
5033
5034 Tue Jun 08 14:44:07 1999 David L. Levine <[email protected]>
5035
5036 * tests/Thread_Manager_Test.cpp (main): on Sun only, added 5
5037 second sleep before the "main thread finished" printout. It
5038 might help (but certainly doesn't prevent) avoid an occasional
5039 thread lib panic on SunOS 5.5 through 5.7.
5040
5041 Tue Jun 08 14:01:51 1999 David L. Levine <[email protected]>
5042
5043 * ACE version 4.6.41 released.
5044
5045 Tue Jun 8 12:42:56 1999 Douglas C. Schmidt <[email protected]>
5046
5047 * Fixed lots of brokens URL links. Thanks to Eric S Rosenthal
5048 <[email protected]> for reporting these.
5049
5050 Mon Jun 7 17:09:56 1999 Douglas C. Schmidt <[email protected]>
5051
5052 * examples/Naming/test_multiple_contexts.cpp (main): Added a cast
5053 to resolve const problems. Thanks to David for reporting this.
5054
5055 * examples/Naming/test_writers.cpp (main): Fixed a typo. Thanks
5056 to David for reporting this.
5057
5058 Mon Jun 7 14:21:48 1999 Kirthika Parameswaran <[email protected]>
5059
5060 * tests/DLL_Test.cpp (main): ANSI C++ spec doesnt allow void * to
5061 be typecasted to a function_pointer. Hence made changes to
5062 remove the warning due to this. Thanks to Nanbor
5063 <[email protected]> for pointing it out.
5064
5065 Mon Jun 7 14:12:02 1999 Nanbor Wang <[email protected]>
5066
5067 * ACE-INSTALL.html: Added a general section explaining the order
5068 of user defined macros and platform config file. Thanks to
5069 Stephen E Blake <[email protected]> for pointing
5070 this out.
5071
5072 Mon Jun 07 10:55:12 1999 David L. Levine <[email protected]>
5073
5074 * ace/config-osf1-4.0.h: added #define ACE_HAS_BROKEN_T_ERROR
5075 to permit building again. Thanks to Doug for this fix.
5076
5077 Mon Jun 7 12:35:17 1999 Douglas C. Schmidt <[email protected]>
5078
5079 * examples/Service_Configurator/IPC-tests/client: Fixed some more
5080 warnings related to const-correctness. I believe that ACE is
5081 now just about completely const-correct.
5082
5083 * examples/Service_Configurator/Misc/main.cpp (main): Cast to
5084 (ASYS_TCHAR **) rather than (ASYS_THCAR *[]). Thanks to David
5085 for reporting this.
5086
5087 * examples/IPC_SAP/DEV_SAP/writer/writer.cpp (main): Fixed a stray
5088 comma. Thanks to David for reporting this.
5089
5090 * tests/Hash_Map_Manager_Test.cpp: Changed the use of ASYS_TCHAR *
5091 to LPCTSTR to ensure const-correctness.
5092
5093 * netsvcs/lib: Reformatted all the *.h files to conform to the ACE
5094 programming guidelines.
5095
5096 Sun Jun 6 22:02:43 1999 Douglas C. Schmidt <[email protected]>
5097
5098 * ace/OS.i (t_error): Fixed the broken t_error() usage on SunOS
5099 5.5 and 5.6...
5100
5101 * ace/README: Added a new macro called ACE_HAS_BROKEN_T_ERROR to
5102 workaround the frigging broken prototype for t_error() on
5103 Solaris 2.5. Note that this macro is required for SunOS 2.5 and
5104 2.6, but not SunOS 2.7 (thank goodness).
5105
5106 * Fixed gazillions of incorrect usages of char * (which should
5107 have been const char *) throughout ACE.
5108
5109 * netsvcs/clients/Tokens: Fixed some const char * inconsistencies.
5110
5111 * netsvcs/lib/Name_Handler.h: Fixed another inconsistent use of
5112 char * that should have been const char *.
5113
5114 * ace/Service_Config.h: Fixed a const incorrectness in the
5115 ACE_Static_Svc_Descriptor.
5116
5117 * ace/Process.h (ACE_Process_Options): The parameter type of
5118 command_line() should be LPCTSTR argv[] *not* LPTSTR argv[].
5119 This fix should be ok as a further extension to what Carlos did
5120 below.
5121
5122 Sun Jun 06 20:33:00 1999 Carlos O'Ryan <[email protected]>
5123
5124 * ace/SString.h:
5125 Added missing ACE_Export macro
5126
5127 Sun Jun 6 20:34:40 1999 Carlos O'Ryan <[email protected]>
5128
5129 * ace/Synch.h:
5130 * ace/Timer_Queue_T.h:
5131 * ace/Timer_Queue.cpp:
5132 * ace/Select_Reactor.cpp:
5133 Moved explicit template instantiations around, now ACE compiles
5134 and links with Sun/CC and inlining enabled. TAO does not.
5135
5136 Sun Jun 6 18:05:48 1999 Carlos O'Ryan <[email protected]>
5137
5138 * ace/Process.h:
5139 * ace/Process.cpp:
5140 Added const-correct version of the command_line() method, in the
5141 future we should remove the non-const version, but I don't feel
5142 like breaking an interface today.
5143
5144
5145 Sun Jun 06 09:08:48 1999 David L. Levine <[email protected]>
5146
5147 * PROBLEM-REPORT-FORM: added requests to not send
5148 as attachment, or tar'red, compressed, and/or
5149 uuencoded, or with line lengths >= 80 characters.
5150
5151 Sun Jun 06 08:08:11 1999 David L. Levine <[email protected]>
5152
5153 * ace/Functor.{h,i} (ACE_Hash<ACE_UINT64>::operator ()):
5154 conditionally compile only if ACE_SIZEOF_LONG is not 8,
5155 to avoid conflict with ACE_HASH<unsigned long> on 64-bit
5156 platforms (alphas).
5157
5158 Sat Jun 5 23:34:21 1999 Douglas C. Schmidt <[email protected]>
5159
5160 * ace/Containers_T: Changed all uses of "index" to "slot" to avoid
5161 conflicts with broken C++ compilers that define macros named
5162 "index."
5163
5164 Sat Jun 5 22:57:31 1999 Carlos O'Ryan <[email protected]>
5165
5166 * ace/OS.h:
5167 Added new macro (ACE_TEMPLATE_SPECIALIZATION) to handle the
5168 differences between compilers supporting the standard way to
5169 specialize a template (i.e. template<> class Foo<int>) vs. the
5170 old style (just saying class Foo<int>).
5171 Also added new macro ACE_HAS_STD_TEMPLATE_SPECIALIZATION that
5172 platforms must define if they want the new style.
5173
5174 * ace/Filecache.cpp:
5175 * ace/Functor.h:
5176 Use the new ACE_TEMPLATE_SPECIALIZATION macro
5177
5178 * ace/config-sunos5.5.h:
5179 Define the new ACE_HAS_STD_TEMPLATE_SPECIALIZATION for Sun/CC
5180 5.0
5181
5182 * ACE-INSTALL.html:
5183 Added some notes about our success with Sun/CC 5.0
5184
5185 Sat Jun 5 16:48:47 1999 Carlos O'Ryan <[email protected]>
5186
5187 * ace/config-irix6.x-common.h
5188 * ace/config-irix6.x-sgic++-nothreads.h
5189 * ace/config-irix6.x-sgic++.h
5190 * include/makeinclude/platform_irix6.x-sgic++.GNU
5191 * include/makeinclude/platform_irix6.x_common.GNU
5192 * include/makeinclude/platform_irix6.x_g++.GNU
5193 * include/makeinclude/platform_irix6.x_kcc.GNU
5194 * include/makeinclude/platform_irix6.x_sgic++.GNU: On IRIX 6.5 we
5195 must not define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS, thanks to
5196 Bob Laferriere <[email protected]> for pointing this out.
5197 Created a new platform_*.GNU file that auto detects the IRIX
5198 version (couldn't find a pre-processor macro to do it); also
5199 renamed the platform_irix6.x-sgic++.GNU file to use underscore
5200 instead of '-'; that way it is more consistent with the other
5201 files.
5202
5203 Sat Jun 5 13:29:07 1999 Douglas C. Schmidt <[email protected]>
5204
5205 * ace/Codeset_IBM1047: Minor reformatting to conform to ACE
5206 programming guidelines.
5207
5208 Sat Jun 5 13:00:46 1999 Carlos O'Ryan <[email protected]>
5209
5210 * ace/CDR_Stream.h:
5211 * ace/CDR_Stream.i:
5212 * ace/CDR_Stream.cpp:
5213 New methods added to the InputCDR class to simplify the process
5214 of reading a buffer from a socket or file.
5215
5216 Fri Jun 4 23:52:19 1999 Carlos O'Ryan <[email protected]>
5217
5218 * ace/CDR_Stream.h:
5219 * ace/CDR_Stream.i:
5220 * ace/CDR_Stream.cpp:
5221 Added support for codeset translators.
5222 Many thanks to Jim Rogers <[email protected]> for providing
5223 these fixes.
5224
5225 * ace/Makefile:
5226 * ace/Codeset_IBM1047.h:
5227 * ace/Codeset_IBM1047.cpp:
5228 A pair of codeset translators between IBM1047 (aka EBCDIC) and
5229 ISO8859-1 (aka ISO-Latin-1)
5230
5231 * ace/config-mvs.h:
5232 Define an ACE_MVS macro
5233
5234 Fri Jun 4 15:23:18 1999 Kirthika Parameswaran <[email protected]>
5235
5236 * ace/Cached_Connect_Strategy_T.{h,i,cpp}: Removed common code by
5237 making Cached_Connect_Strategy_Ex derive from
5238 Cached_Connect_Strategy class.
5239
5240 Fri Jun 04 09:59:58 1999 Irfan Pyarali <[email protected]>
5241
5242 * docs/tutorials/tutorials.dsw: Fixed "_" to "-". Thanks to Tom
5243 Bradley <[email protected]> for pointing
5244 out this problem.
5245
5246 Fri Jun 4 09:02:35 1999 Aniruddha Gokhale <[email protected]>
5247
5248 * ace/POSIX_Asynch_IO.cpp: Fixed a syntax error. There were two
5249 consecutive commas in the ACE_DEBUG statement which were causing
5250 syntax errors while compiling.
5251
5252 Fri Jun 4 00:28:07 1999 Alexander Babu Arulanthu <[email protected]>
5253
5254 * ace/POSIX_Asynch_IO.cpp: Fixed the Linux egcs warning.
5255
5256 Thu Jun 3 17:05:36 1999 Kirthika Parameswaran <[email protected]>
5257
5258 * ace/Cached_Connect_Strategy_T.h
5259 * ace/Cached_Connect_Strategy_T.i
5260 * ace/Cached_Connect_Strategy_T.cpp
5261
5262 Caching connection strategy used by the Strategy Connector.
5263
5264 * ace/Cache_Map_Manager_T.h
5265 * ace/Cache_Map_Manager_T.i
5266 * ace/Cache_Map_Manager_T.cpp
5267
5268 Map Manager which performs caching depending on the caching
5269 strategy used.
5270
5271 * ace/Hash_Cache_Map_Manager_T.h
5272 * ace/Hash_Cache_Map_Manager_T.i
5273 * ace/Hash_Cache_Map_Manager_T.cpp
5274
5275 Hash_Map used as a specialised form of the Cache Map.
5276
5277 * ace/Caching_Strategies_T.h
5278 * ace/Caching_Strategies_T.i
5279 * ace/Caching_Strategies_T.cpp
5280
5281 Strategies used for caching purposes, example: Least Recently
5282 Used.
5283
5284 * ace/Caching_Strategy_Utility_T.h
5285 * ace/Caching_Strategy_Utility_T.i
5286 * ace/Caching_Strategy_Utility_T.cpp
5287
5288 Helper class for the caching strategy classes which does the
5289 purging of entries.
5290
5291 * ace/Cleanup_Strategies_T.h
5292 * ace/Cleanup_Strategies_T.i
5293 * ace/Cleanup_Strategies_T.cpp
5294
5295 Strategy which deals with destruction and cleanup in general.
5296
5297 * ace/Makefile
5298
5299 Added the above under the TEMPLATE_FILES.
5300
5301 * examples/Web_Crawler/Optimal_Cache_Map_Manager_T.h
5302 * examples/Web_Crawler/Optimal_Cache_Map_Manager_T.i
5303 * examples/Web_Crawler/Optimal_Cache_Map_Manager_T.cpp
5304 * examples/Web_Crawler/Cached_Connect_Strategy_T.h
5305 * examples/Web_Crawler/Cached_Connect_Strategy_T.i
5306 * examples/Web_Crawler/Cached_Connect_Strategy_T.cpp
5307 * examples/Web_Crawler/Caching_Strategies_T.h
5308 * examples/Web_Crawler/Caching_Strategies_T.i
5309 * examples/Web_Crawler/Caching_Strategies_T.cpp
5310
5311 Removed these files and added them to the ace library itself.
5312
5313 * examples/Web_Crawler/Command_Processor.cpp
5314 * examples/Web_Crawler/Command_Processor.h
5315 * examples/Web_Crawler/HTTP_URL.cpp
5316 * examples/Web_Crawler/HTTP_URL.h
5317 * examples/Web_Crawler/Iterators.h
5318 * examples/Web_Crawler/Makefile
5319 * examples/Web_Crawler/Mem_Map_Stream.cpp
5320 * examples/Web_Crawler/Mem_Map_Stream.h
5321 * examples/Web_Crawler/Options.h
5322 * examples/Web_Crawler/URL.h
5323 * examples/Web_Crawler/URL_Addr.h
5324 * examples/Web_Crawler/URL_Status.h
5325 * examples/Web_Crawler/URL_Visitor.cpp
5326 * examples/Web_Crawler/URL_Visitor.h
5327 * examples/Web_Crawler/URL_Visitor_Factory.h
5328 * examples/Web_Crawler/Web_Crawler.h
5329 * examples/Web_Crawler/main.cpp
5330
5331 Changed to include files pertaining to Caching and Connection
5332 management from ace library.
5333
5334 Thu Jun 03 15:57:43 1999 Irfan Pyarali <[email protected]>
5335
5336 * ace/Strategies_T (ACE_Cached_Connect_Strategy): Allowed the user
5337 to pass in a mutex. This allows the user to pass in a
5338 preconfigured mutex of his/her liking. Since the parameters
5339 default appropriately, no existing code should break.
5340
5341 * ace/Functor: Changed ACE_Hash<unsigned long long> specialization
5342 to ACE_Hash<ACE_UINT64>.
5343
5344 Thu Jun 3 10:36:35 Matthew J Braun <[email protected]>
5345
5346 * ace/Functor.i
5347 * ace/Functor.h:
5348 Added ACE_Hash <unsigned long long>. It truncates the ULongLong
5349 to a ULong and returns it. Nothing major...
5350
5351 Wed Jun 2 17:50:23 1999 Carlos O'Ryan <[email protected]>
5352
5353 * include/makeinclude/platform_mvs.GNU:
5354 Debugging info was not generated on the C++ files.
5355 The -+ flag should be added to CPPFLAGS using +=
5356 Thanks to Jim Rogers <[email protected]> for these fixes.
5357
5358 Wed Jun 02 16:11:34 1999 Nanbor Wang <[email protected]>
5359
5360 * ace/TTY_IO.cpp (control): Commented out odd baud rates (56000,
5361 128000, 256000) which don't seem to be supported on FreeBSD.
5362
5363 Wed Jun 02 00:07:44 1999 <[email protected]>
5364
5365 * tao/test_cancel.dsp
5366 * tao/post_completions.
5367 * tao/test_end_event_lo
5368 * tao/test_multiple_loo
5369 * tao/test_proactor.dsp
5370 * tao/test_proactor.dsw
5371 * tao/test_timeout.dsp
5372
5373 * examples/Reactor/Proactor/test_cancel.cpp:
5374 * examples/Reactor/Proactor/README:
5375 * examples/Reactor/Proactor/Makefile:
5376
5377 Related to ChangeLog : Tue Jun 1 16:48:58 1999 Alexander Babu
5378 Arulanthu <[email protected]>
5379
5380 Tue Jun 1 21:44:05 1999 Carlos O'Ryan <[email protected]>
5381
5382 * include/makeinclude/platform_linux_lxpthread.GNU:
5383 Added the rt library to the command line, ACE uses aynchronous
5384 I/O by default on linux.
5385
5386 Tue Jun 1 16:48:58 1999 Alexander Babu Arulanthu <[email protected]>
5387
5388 Ported <ACE_Asynch_Operation::cancel> to POSIX platforms based
5389 on <aio_cancel> API. Made the return values consistent in both
5390 WIN32 and POSIX platforms as follows.
5391
5392 All completion notifications for the I/O operations will occur
5393 normally.
5394
5395 = Return Values:
5396
5397 -1 : Operation failed. (can get only in POSIX).
5398 0 : All the operations were cancelled.
5399 1 : All the operations were already finished in this
5400 handle. Unable to cancel them.
5401 2 : Atleast one of the requested operations cannot be
5402 cancelled.
5403
5404 * ace/Asynch_IO.cpp
5405 * ace/Asynch_IO.h
5406 * ace/POSIX_Asynch_IO.cpp
5407 * ace/POSIX_Asynch_IO.h
5408 * ace/POSIX_Proactor.h
5409 * ace/WIN32_Asynch_IO.cpp:
5410 * ace/POSIX_Proactor.cpp:
5411
5412 * ace/config-linux-lxpthreads.h: Enabled the ACE_HAS_AIO_CALLS
5413 flag for this platform.
5414
5415
5416 Tue Jun 1 15:02:34 1999 Carlos O'Ryan <[email protected]>
5417
5418 * ace/Connector.h:
5419 Documented the new connect() method
5420
5421 Tue Jun 01 11:18:03 1999 <[email protected]>
5422
5423 * examples/Reactor/Proactor/test_end_event_loop.cpp:
5424 * tao/post_completions.cpp
5425 * tao/test_end_event_loop.cpp
5426 * tao/test_end_event_loop.dsp
5427 * tao/test_proactor.dsw
5428 Fixed the link problems.
5429
5430 Tue Jun 1 09:57:42 1999 Douglas C. Schmidt <[email protected]>
5431
5432 * ace/TTY_IO.cpp (control),
5433 * ace/config-freebsd.h,
5434 ace/config-freebsd-pthread.h: Attached is a patch that will
5435 allow the ACE_TTY_IO class to work with FreeBSD tty devices.
5436 Thanks to John Aughey <[email protected]> for contributing these.
5437
5438 * ACE-INSTALL.html: Updated the list of platforms that ACE is
5439 supported on.
5440
5441 Tue Jun 01 10:00:29 1999 David L. Levine <[email protected]>
5442
5443 * ACE-INSTALL.html: updated Sun C++ and DU versions in fully
5444 supported platforms list.
5445
5446 Mon May 31 22:45:18 1999 David L. Levine <[email protected]>
5447
5448 * ace/config-lynxos.h: added ACE_HAS_GPERF.
5449
5450 Mon May 31 16:28:27 1999 Jeff Parsons <[email protected]>
5451
5452 * ace/CDR_Stream.h:
5453 Added and updated some comments.
5454
5455 Mon May 31 16:13:21 1999 David L. Levine <[email protected]>
5456
5457 * ace/Makefile: if ACE_COMPONENTS is equal to FOR_TAO,
5458 override it with the proper component values. The
5459 override allows it to be set on the command line, e.g.,
5460 make ACE_COMPONENTS=FOR_TAO. Thanks to Carlos for
5461 reporting this.
5462
5463 Mon May 31 14:00:21 1999 Steve Huston <[email protected]>
5464
5465 * ace/RB_Tree.i: Reverted changes from May 21. It broke the LynxOS
5466 build of tests/RB_Tree_Test.
5467
5468 Mon May 31 11:51:03 1999 Douglas C. Schmidt <[email protected]>
5469
5470 * ace/CORBA_Handler.h: Updated the comments to clarify how to use
5471 this class. Thanks to Ram Vishnuvajjala
5472 <[email protected]> for motivating this.
5473
5474 * ace/Service_Config: Added a static variable called is_initialized
5475 that keeps track of whether the <ACE_Service_Config> is already
5476 initialized. If it is, we can't allow <yyparse> to be called
5477 since it's not reentrant...
5478
5479 Sun May 30 14:08:48 1999 Ossama Othman <[email protected]>
5480
5481 * ace/Makefile:
5482 * ace/Vector.{h,i,cpp}:
5483 * tests/Makefile:
5484 * tests/Vector_Test.cpp: Removed the ACE_Vector implementation
5485 from the distribution.
5486
5487 Sat May 29 14:14:37 1999 Ossama Othman <[email protected]>
5488
5489 * ace/Vector.{h,i,cpp}: Added STL Vector-style insert() and
5490 erase() methods. Also added a new constructor that creates an
5491 ACE_Vector from a specified range of iterators. ACE_Vector
5492 class is now Purify clean (i.e. fixed any and all memory leaks).
5493
5494 * tests/Vector_Test.cpp: Added tests for the newly added
5495 ACE_Vector<T>::insert() and ACE_Vector<T>::erase() methods.
5496
5497 Fri May 28 20:19:50 1999 Ossama Othman <[email protected]>
5498
5499 * ace/Vector.{h,i,cpp},
5500 tests/Vector_Test.cpp: Implemented an ACE_Vector class based on
5501 the ACE_Array class. It is not derived from it, however. The
5502 ACE_Vector class provides an STL Vector-like interface. The
5503 Vector_Test tests the important features of the ACE_Vector class
5504 and sends output to `logs/Vector_Test.log'.
5505
5506 * ace/Makefile,
5507 tests/Makefile: Added ACE_Vector related files to the makefiles
5508 and updated the dependencies.
5509
5510 Thu May 27 15:50:17 1999 Ossama Othman <[email protected]>
5511
5512 * ace/UNIX_Addr.cpp (set), Explicitly set the sun_family to
5513 AF_UNIX, otherwise it will be zero by a previous call to
5514 memset(). AF_UNSPEC, which is zero, is what the call to
5515 memset() cause the sun_family to be.
5516
5517 Wed May 26 01:46:27 1999 Nanbor Wang <[email protected]>
5518
5519 * include/makeinclude/platform_freebsd.GNU:
5520 * include/makeinclude/platform_freebsd_pthread.GNU: Consolidated
5521 platform macro files for FreeBSD.
5522
5523 * ace/config-freebsd-pthread.h:
5524 * ace/config-freebsd.h: Added ACE_HAS_NONCONST_SELECT_TIMEVAL.
5525
5526 Tue May 25 21:38:40 1999 Carlos O'Ryan <[email protected]>
5527
5528 * ace/UNIX_Addr.cpp: The default constructor was not setting the
5529 address family to AF_UNIX. Now that we do so we can let the OS
5530 select a ephemeral UNIX domain endpoint for us.
5531
5532 Tue May 25 19:20:15 1999 Steve Huston <[email protected]>
5533
5534 * tests/run_tests.(sh bat): Added SOCK_Send_Recv_Test.
5535
5536 Tue May 25 16:54:41 1999 Jeff Parsons <[email protected]>
5537
5538 * tests/SOCK_Send_Recv_Test.cpp:
5539 Fixed a signed/unsigned mismatch warning and
5540 changed several uses of static_cast to
5541 reinterpret_cast. This is a belated entry, I put it
5542 first in TAO/ChangeLog by mistake.
5543
5544 Tue May 25 15:19:06 1999 David L. Levine <[email protected]>
5545
5546 * include/makeinclude/platform_sunos5_ghs.GNU: added
5547 -Xleaveg7 to CFLAGS with threads=1. It's necessary
5548 to avoid execution problems in multithreaded programs.
5549 Thanks to Stefaan Kiebooms <[email protected]> for providing
5550 this fix.
5551
5552 Tue May 25 13:40:10 1999 Ossama Othman <[email protected]>
5553
5554 * ace/LSOCK_Acceptor.cpp (get_local_addr):
5555
5556 Only the base class members of ACE_UNIX_Addr were being copied
5557 since the assignment lacked a dynamic cast. Thanks to Carlos and
5558 Irfan for clarifying this.
5559
5560 Tue May 25 11:41:28 1999 Irfan Pyarali <[email protected]>
5561
5562 * ace/Timeprobe_T.h (class ACE_Timeprobe): Moved the default size
5563 from Timeprobe_T.h to OS.h, where it can easily be redefined by
5564 the user.
5565
5566 Tue May 25 07:37:47 1999 David L. Levine <[email protected]>
5567
5568 * include/makeinclude/platform_osf1_4.0.GNU: removed suppression
5569 of warning 839: no_corresponding_delete.
5570
5571 Mon May 24 14:04:11 1999 Steve Huston <[email protected]>
5572
5573 * tests/SOCK_Send_Recv_Test.cpp: New test to exercise ACE_SOCK send
5574 and receive variations. It concentrates on recvv/sendv-like things
5575 now in order to shake out Winsock 1.1 issues. To be complete, it
5576 should be added to over time.
5577
5578 * tests/Makefile:
5579 * tests/version_tests/{SOCK_Send_Recv_Test.dsp, version_tests.dsw}:
5580 * tests/{SOCK_Send_Recv_Test.dsp, tests.dsw}: Add new test.
5581
5582 Mon May 24 12:11:03 1999 Irfan Pyarali <[email protected]>
5583
5584 * ace/OS.i (ACE_SOCKCALL_RETURN): Fixed macro by comparing against
5585 FAILVALUE rather than SOCKET_ERROR. Some winsock calls don't
5586 return SOCKET_ERROR. Thanks to Christopher Kohlhoff
5587 <[email protected]> for reporting this problem.
5588
5589 Sun May 23 11:33:07 1999 Alexander Babu Arulanthu <[email protected]>
5590
5591 Changes for the following enhancement in the Proactor
5592 implementation. Enhanced the semantics of the <end_event_loop>,
5593 so that when it is called, it wakes up all the threads blocked on
5594 waiting for completions and end the event loop. Thanks to Edwin
5595 D. Windes <[email protected]> for reporting the issue.
5596
5597 * ace/Proactor.h:
5598 * ace/Proactor.cpp: Added static helper methods and states to post
5599 the wakeup completions to the CompletionPort.
5600
5601 * ace/Asynch_IO.h:
5602 * ace/Asynch_IO.cpp: Added a method <handle_wakeup> to the
5603 ACE_Handler.
5604
5605 * ace/Object_Manager.cpp
5606 * ace/Object_Manager.h: Added a new Thread_Mutex called
5607 <ACE_PROACTOR_EVENT_LOOP_LOCK> to protect the thread count in
5608 the event loop.
5609
5610 * ace/POSIX_Asynch_IO.cpp
5611 * ace/POSIX_Proactor.cpp
5612 * ace/POSIX_Proactor.h
5613 * ace/Proactor.cpp
5614 * ace/Proactor.h
5615 * ace/Proactor_Impl.h
5616 * ace/WIN32_Proactor.cpp
5617 * ace/WIN32_Proactor.h:
5618 Changes for posting wakeup completions.
5619
5620 * examples/Reactor/Proactor/test_end_event_loop.cpp:
5621 * examples/Reactor/Proactor/test_end_event_loop.dsp:
5622 * examples/Reactor/Proactor/post_completions.dsp:
5623 * examples/Reactor/Proactor/Makefile: Test file the
5624 <end_event_loop> enhancement.
5625
5626 Sat May 22 16:57:38 1999 Carlos O'Ryan <[email protected]>
5627
5628 * ace/FlReactor.cpp: Sun/CC doesn't like reinterpret cast when
5629 converting from an int into an int; this is silly, but I cannot
5630 use static_cast because on NT reinterpret_cast is the right
5631 thing. Use old-style casts for the moment.
5632
5633 * tests/FlReactor_Test.cpp: Minor cosmetic fixes.
5634
5635 Sat May 22 16:36:14 1999 Chris Gill <[email protected]>
5636
5637 * ACE version 4.6.40 released.
5638
5639 Sat May 22 14:53:47 1999 David L. Levine <[email protected]>
5640
5641 * ace/Filecache.cpp: snagged another "template <>". Thanks to
5642 Bala for reporting it.
5643
5644 Sat May 22 07:30:44 1999 David L. Levine <[email protected]>
5645
5646 * ace/config-chorus.h,ace/config-lynxos.h: added
5647 ACE_HAS_NONCONST_SELECT_TIMEVAL.
5648
5649 * ace/Filecache.cpp: commented out "template<>" for now. Not all
5650 compilers can cope with it.
5651
5652 Fri May 21 21:12:37 1999 Irfan Pyarali <[email protected]>
5653
5654 * ace/Map_Manager.i (operator==): Since <map_man_> is a pointer
5655 now, we must compare by value, rather than by address.
5656
5657 Fri May 21 12:56:38 1999 David L. Levine <[email protected]>
5658
5659 * examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp: fixed to
5660 build without threads: #ifdef ACE_MT_SAFE is insufficient.
5661 Must also check if it is 0.
5662
5663 Fri May 21 12:45:32 1999 Carlos O'Ryan <[email protected]>
5664
5665 * ace/Map_Manager.i:
5666 Fixed minor error in previous commit. Thanks to Irfan for
5667 helping out with this.
5668
5669 Fri May 21 11:18:21 1999 Steve Huston <[email protected]>
5670
5671 * ace/config-hpux11.h: Added ACE_HAS_NONCONST_SELECT_TIMEVAL.
5672
5673 * ace/RB_Tree.i: Fully template-qualified references to node_ and
5674 tree_ in iterators; makes HP aC++ happy.
5675
5676 Fri May 21 11:27:44 1999 Irfan Pyarali <[email protected]>
5677
5678 * ace/Map_Manager.h (class ACE_Map_Iterator_Base): Changed the
5679 ACE_Map_Manager reference to a pointer. This way there is no
5680 problem in reinitializing <map_man_>, and hence the compiler
5681 will not have a problem in providing us a default assignment
5682 operator. Thanks to Knut Johannessen <[email protected]> for
5683 pointing out this problem.
5684
5685 * ace/Process: A nifty ACE::fork was added several months ago
5686 which offers the option to avoid zombies, but it is not used in
5687 ACE_Process::spawn.
5688
5689 Mark L. Boriack <[email protected]> provided patches which
5690 adds an <avoid_zombies_> data member to ACE_Process_Options,
5691 appropriate accessor functions, and changes the ACE_OS::fork
5692 call to ACE::fork in ACE_Process::spawn, making use of the
5693 option. The default behavior is left unchanged, i.e., you get
5694 zombies. Thanks Mark.
5695
5696 Fri May 21 10:34:10 1999 David L. Levine <[email protected]>
5697
5698 * ace/gethrtime.cpp,Makefile (gethrtime on Green
5699 Hills/VxWorks): reverted to building gethrtime.cpp with g++, because
5700 the ghs assembly code didn't work properly.
5701
5702 Fri May 21 10:10:13 1999 Ossama Othman <[email protected]>
5703
5704 * ACE-INSTALL.html: Updated information about building egcs' C++
5705 shared libraries with an example, and emphasized the fact that
5706 the `--enable-shared' configuration option is not an egcs
5707 run-time option. Thanks to Wallace Owen <[email protected]> for
5708 motivating this.
5709
5710 Fri May 21 09:15:08 1999 Carlos O'Ryan <[email protected]>
5711
5712 * ace/config-sunos5.5.h:
5713 Added ACE_HAS_NONCONST_SELECT_TIMEVAL here too
5714
5715 Fri May 21 07:53:58 1999 Steve Huston <[email protected]>
5716
5717 * ace/config-vxworks5.x.h, config-osf1-4.0.h: Added
5718 ACE_HAS_NONCONST_SELECT_TIMEVAL.
5719
5720 Thu May 20 18:01:24 1999 Steve Huston <[email protected]>
5721
5722 * ace/Filecache.cpp: Added "template<>" to specializations.
5723
5724 * ace/OS.i (ACE_OS::select, ACE_OS::sleep): Removed implicit
5725 dependency on binary object layout with regard to using an
5726 ACE_Time_Value object as a struct timeval; use the timeval*
5727 operator instead. On platforms with ACE_HAS_NONCONST_SELECT_TIMEVAL
5728 don't just cast away const-ness of the ACE_Time_Value - modification
5729 of the timeval by select() is not consistent, and Linux is not the
5730 only one that modifies it (Solaris 7 does also, as well as AIX and
5731 possibly HP; Solaris 2.5/6 don't specify). So, play it safe.
5732 Inlining and optimization should prevent this from having any
5733 affect on performance.
5734
5735 * ace/config-sunos5.5.h, config-hpux-10.x.h, config-aix-4.x.h:
5736 Added #define ACE_HAS_NONCONST_SELECT_TIMEVAL.
5737
5738 Thu May 20 17:47:35 1999 Irfan Pyarali <[email protected]>
5739
5740 * ace/OS.h (ACE_DES_ARRAY_FREE_*): Added new macros to facilitate
5741 proper destruction of arrays.
5742
5743 * ace/Containers_T.cpp (ACE_Array_Base): Changed ACE_Array_Base to
5744 use the new ACE_DES_ARRAY_FREE_* macros in order to prevent the
5745 memory leaks.
5746
5747 Thu May 20 17:46:02 1999 Nanbor Wang <[email protected]>
5748
5749 * ace/ace_dll.dsp:
5750 * ace/ace_lib.dsp: Fixed Alpha configurations. Thanks to
5751 Christian Schuderer <[email protected]> for
5752 reporting this.
5753
5754 Thu May 20 15:35:23 1999 Carlos O'Ryan <[email protected]>
5755
5756 * tests/TkReactor_Test.cpp:
5757 It was not compiling if ACE_HAS_TK was not defined.
5758
5759 Thu May 20 15:33:21 1999 David L. Levine <[email protected]>
5760
5761 * include/makeinclude/platform_vxworks5.x_ghs.GNU:
5762 added (and default to) LIBS for Green Hills 1.8.9.
5763
5764 Thu May 20 14:34:59 1999 David L. Levine <[email protected]>
5765
5766 * ace/config-sunos5.5.h: with Green Hills only, added
5767 ACE_LACKS_ACE_IOSTREAM. ACE's IOStream_Test never halts
5768 when built with Green Hills 1.8.9.
5769
5770 Thu May 20 14:21:44 1999 David L. Levine <[email protected]>
5771
5772 * ace/OS.i: (t_getname): fixed comment after #endif, to
5773 agree with the #ifdef.
5774
5775 Thu May 20 13:51:20 1999 Nanbor Wang <[email protected]>
5776
5777 * ace/config-win32-common.h: I forgot to put '/**/' between
5778 #include and <blah.h> which caused MSVC to generate warnings
5779 when checking file dependencies. Thanks to Christian Schuderer
5780 <[email protected]> for reporting this.
5781
5782 Thu May 20 13:52:04 1999 David L. Levine <[email protected]>
5783
5784 * ace/config-sunos5.5.h: build with threads if
5785 _POSIX_C_SOURCE >= 199506L or #ifdef _POSIX_PTHREAD_SEMANTICS.
5786 Added #define ACE_LACKS_RWLOCK_T if _POSIX_PTHREAD_SEMANTICS
5787 is #defined (and therefore ACE_HAS_STHREADS is not #defined).
5788 The rwlock functions are a Solaris threads interface, and
5789 are not POSIX.
5790
5791 * include/makeinclude/platform_sunos5_ghs.GNU: default to
5792 building without threads support, because Green Hills 1.8.9
5793 is incompatible with the SunOS threads libraries.
5794
5795 Thu May 20 12:12:01 1999 David L. Levine <[email protected]>
5796
5797 * ace/OS.{h,cpp},Sched_Params.cpp: with ACE_HAS_PRIOCNTL,
5798 moved #include of sys/{rt,ts}priocntl.h from OS.cpp and
5799 Sched_Params.cpp to OS.h, so that USYNC_THREAD and USYNC_PROCESS
5800 #defines can be protected effectively.
5801
5802 Thu May 20 11:19:45 1999 Joe Hoffert <[email protected]>
5803
5804 * ace/ATM_Addr.cpp: Added ACE_UNUSED_ARG for selector parameter
5805 when appropriate.
5806
5807 Thu May 20 09:57:57 1999 Bill Rizzi <[email protected]>
5808
5809 * ace/Log_Msg.{h,cpp},examples/Log_Msg/test_log_msg.cpp
5810 (priority_mask): added optional support for process priority
5811 mask, in addition to the (now default) thread priority mask.
5812
5813 Thu May 20 09:42:54 1999 David L. Levine <[email protected]>
5814
5815 * ace/OS.h (fcntl): changed type of last argument from int to
5816 long, to permit safer casting from pointer types.
5817
5818 * ace/OS.i (flock_*): use ACE_OS::fcntl instead of ::fcntl.
5819
5820 * ace/OS.cpp (ftruncate): use ACE_OS::fcntl instead of ::fcntl.
5821
5822 Thanks to an anonymous ACE user for reporting that
5823 these functions weren't using ACE_OS::fcntl.
5824
5825 Wed May 19 23:50:18 1999 Nagarajan Surendran <[email protected]>
5826
5827 * ace/TkReactor.{h,cpp}:
5828 * ace/Makefile:
5829 Added a new reactor implementation based on the Tcl/Tk Event
5830 loop and event handling mechanism.
5831
5832 * ace/tests/TkReactor_Test.{cpp,tcl}:
5833 * ace/tests/Makefile:
5834 The Tk Reactor test and the tcl script for the GUI. This is
5835 similar to the XtReactor_Test.
5836
5837 * ace/include/makeinclude/wrapper_macros.GNU:
5838 * ace/include/makeinclude/platform_sunos5_sunc++.GNU
5839 Added changes to Makefile flags for XtReactor.
5840
5841 Wed May 19 21:56:49 1999 David L. Levine <[email protected]>
5842
5843 * ace/Message_Queue.h: fixed typo in comment: interrupt.
5844
5845 Wed May 19 21:34:29 1999 David L. Levine <[email protected]>
5846
5847 * include/makeinclude/platform_osf1_4.0.GNU: removed these
5848 warning suppressions:
5849 174: expr_has_no_effect
5850 610: nonoverriding_function_decl
5851 They're certainly not needed with cxx 6.2-020, and
5852 hopefully not needed with earlier versions.
5853
5854 Wed May 19 10:52:15 1999 Irfan Pyarali <[email protected]>
5855
5856 * examples/DLL/test_dll.cpp (main): Fixed auto pointer use. It
5857 was causing "Temporary used for non-const reference" warnings.
5858
5859 Wed May 19 10:04:54 1999 Jeff Parsons <[email protected]>
5860
5861 * ace/SString.i:
5862 Changed the default constructor to set rep_ to the
5863 empty string instead of the null string. Thanks to
5864 Knut Johannessen <[email protected]> for pointing
5865 this out.
5866
5867 Wed May 19 06:34:58 1999 David L. Levine <[email protected]>
5868
5869 * ace/config-minimal.h: added #define ACE_USE_THREAD_MANAGER_ADAPTER,
5870 so that ACE_Thread_Exit isn't needed in the ACE_OS layer.
5871
5872 Tue May 18 22:03:49 1999 David L. Levine <[email protected]>
5873
5874 * include/makeinclude/platform_osf1_4.0.GNU,platform_osf1_cxx.GNU:
5875 removed suppression of warning 9 (nested comment not allowed) on
5876 Digital Unix 5.0 and later.
5877
5878 Tue May 18 15:01:39 1999 Steve Huston <[email protected]>
5879
5880 * ace/ACE.cpp: Added #include "ace/SString.h" to catch def for
5881 ACE_Tokenizer in Winsock 1.1 mode.
5882
5883 Tue May 18 13:30:55 1999 Nanbor Wang <[email protected]>
5884
5885 * include/makeinclude/rules.nested.GNU: FOR is not an excutable on
5886 Win32, therefore, we must bring in the command processor in to
5887 use FOR. Thanks to David Hooker <[email protected]> for
5888 reporting the bug.
5889
5890 Tue May 18 11:46:55 1999 Douglas C. Schmidt <[email protected]>
5891
5892 * ace/FILE_Connector.h: Changed the default perms from 0 to
5893 ACE_DEFAULT_FILE_PERMS.
5894
5895 Tue May 18 11:28:32 1999 Joe Hoffert <[email protected]>
5896
5897 * examples/IPC_SAP/TLI_SAP/CPP-ATM-server.cpp: forced
5898 ACE_TLI_Stream's recv method to call ACE_OS::t_rcv rather than
5899 ACE_OS::read to be compatible with XTI.
5900
5901 Tue May 18 11:00:15 1999 Douglas C. Schmidt <[email protected]>
5902
5903 * ace/Task_T: Moved the ACE_Buffered_Task logic out of the Task
5904 abstraction since it doesn't belong there.
5905
5906 * ace/Makefile: Regenerated the dependencies.
5907
5908 * ace/FlReactor.cpp: We should be including <FL/Fl.h> rather than
5909 "FL/Fl.h".
5910
5911 Tue May 18 10:42:47 1999 David L. Levine <[email protected]>
5912
5913 * include/makeinclude/platform_osf1_4.0.GNU: removed
5914 suppression of warning 1180, statement causes unreachable
5915 return, because it's no longer necessary.
5916
5917 Tue May 18 10:38:53 1999 David L. Levine <[email protected]>
5918
5919 * tests/Thread_Manager_Test.cpp: replaced Hash_Map_Manager
5920 with a simple array. This avoids dynamic allocation in
5921 the signal handler. And, it avoids having to specialize
5922 ACE_Hash<ACE_hthread_t> on platforms that have a pthread_t
5923 struct.
5924
5925 Tue May 18 09:33:46 1999 Douglas C. Schmidt <[email protected]>
5926
5927 * ace/FILE_IO: Added new sendv()/recvv() and sendv_n()/recvv_n()
5928 methods to be consistent with SOCK_IO and SOCK_Stream.
5929
5930 * ace/SOCK_IO.cpp (recvv): Make sure to 0-out the iov_base so that
5931 it's always ok to delete it, even if any of the internal
5932 operations fail!
5933
5934 Tue May 18 10:14:47 1999 Carlos O'Ryan <[email protected]>
5935
5936 * ace/Makefile:
5937 * ace/FlReactor.h:
5938 * ace/FlReactor.i:
5939 * ace/FlReactor.cpp:
5940 * include/makeinclude/platform_linux_lxpthread.GNU:
5941 * include/makeinclude/wrapper_macros.GNU:
5942 * tests/Makefile:
5943 * tests/FlReactor_Test.cpp:
5944 Added new reactor implementation based on the event loop of the
5945 Fast-Light toolkit, similar to the XtReactor.
5946 FLTK is a GUI toolkit that works on UNIX/X-Windows and on Win32,
5947 it is integrated to OpenGL and is pure C++.
5948 Check http://fltk.easysw.org for more details.
5949
5950 Tue May 18 09:35:00 1999 David L. Levine <[email protected]>
5951
5952 * tests/Thread_Manager_Test.{h,cpp},Makefile:
5953 removed Thread_Manager_Test.h.
5954
5955 Mon May 17 22:39:06 1999 David L. Levine <[email protected]>
5956
5957 * tests/Thread_Manager_Test.cpp: added a couple more
5958 explicit template instantiations. Thanks to Carlos
5959 for reporting that they're needed on Irix. And,
5960 added an ACE_Hash<ACE_hthread_t> specialization to
5961 keep DU cxx happy.
5962
5963 Mon May 17 16:31:16 1999 Douglas C. Schmidt <[email protected]>
5964
5965 * ace/Task_T.cpp,
5966 ace/OS.h: Removed ACE_DEFAULT_WRITEV_MAX and replaced it
5967 with IOV_MAX.
5968
5969 Mon May 17 15:49:48 1999 David L. Levine <[email protected]>
5970
5971 * config-dgux-4.x-ghs.h,config-vxworks5.x.h,config-ghs-common.h:
5972 factored ACE_LACKS_SIGNED_CHAR to config-ghs-common.h.
5973
5974 * config-dgux-4.x-ghs.h: removed ACE_LACKS_ACE_IOSTREAM.
5975 It should work now, though we don't have that platform
5976 to verify it.
5977
5978 Mon May 17 15:08:45 1999 Carlos O'Ryan <[email protected]>
5979
5980 * ace/CORBA_macros.h:
5981 Fixed implementation of the ACE_READ_GUARD_THROW_EX and
5982 ACE_WRITE_GUARD_THROW_EX macros.
5983
5984 Mon May 17 15:12:54 1999 David L. Levine <[email protected]>
5985
5986 * test/Thread_Manager_Test.cpp: use a hash map, instead of
5987 TSS, to store each thread's indication of whether it has
5988 been signalled. That way, the signal handler doesn't have
5989 to access TSS. Increased the delay from 1 to 2 seconds after
5990 the signal test, which also seems to help avoid thread lib
5991 panics on Solaris.
5992
5993 Mon May 17 14:02:01 1999 David L. Levine <[email protected]>
5994
5995 * tests/Conn_Test.cpp (handler): added comment saying that even
5996 the ACE_OS::exit () call isn't safe.
5997
5998 Mon May 17 10:31:04 1999 Nanbor Wang <[email protected]>
5999
6000 * ace/Service_Repository.cpp (find_i): A missing pointer check was
6001 causing the remove method to segfault. Thanks to Tom Arbuckle
6002 <[email protected]> for pointing this out.
6003
6004 Mon May 17 10:21:29 1999 David L. Levine <[email protected]>
6005
6006 * tests/TSS_Test.cpp: removed the signal handler. It
6007 wasn't used for the test, and contained an ACE_DEBUG.
6008
6009 Mon May 17 10:12:45 1999 David L. Levine <[email protected]>
6010
6011 * ace/config-chorus.h,config-dgux-4.x-ghs.h,config-sunos5.5.h,
6012 config-vxworks5.x.h,config-ghs-common.h:
6013 factored out Green Hill-specific #defines to config-ghs-common.h.
6014
6015 Mon May 17 09:07:41 1999 David L. Levine <[email protected]>
6016
6017 * tests/Conn_Test.cpp (handler): commented out unused arg
6018 "signum".
6019
6020 Sun May 16 20:38:58 1999 Nanbor Wang <[email protected]>
6021
6022 * ace/CDR_Stream.{h,i} (current): Added this accesor function for
6023 Flick IDL compiler. Thanks to Tim Stack <[email protected]> for
6024 recommending this.
6025
6026 Sun May 16 20:08:41 1999 David L. Levine <[email protected]>
6027
6028 * tests/Thread_Manager_Test.cpp (handler,worker):
6029 moved ACE_DEBUG out of signal handler. It was
6030 causing occasional lockups on SunOS. Signal
6031 handlers must never do anything that could cause
6032 a lock to be acquired.
6033
6034 * tests/Conn_Test.cpp (handler): removed ACE_DEBUG.
6035
6036 Sun May 16 20:04:09 1999 David L. Levine <[email protected]>
6037
6038 * ace/OS.h: moved #include of ace/Trace.h to before #include of
6039 ace/OS.i.
6040
6041 * ace/OS.{i,cpp}: enabled ACE_TRACE for most functions (except
6042 those that are used by ACE_TRACE).
6043
6044 Sun May 16 19:54:10 1999 Alexander Babu Arulanthu <[email protected]>
6045
6046 * ace/config-sunos5.7.h: Comments
6047 * ace/config-sunos5.6.h: Comments
6048
6049 * ace/POSIX_Asynch_IO.cpp:
6050 * ace/POSIX_Proactor.h:
6051 * ace/POSIX_Proactor.cpp: - Using ACE_dynamic_cast to get
6052 <ACE_POSIX_Asynch_Result *> from <aiocb *> gives build errors on
6053 egcs. <ACE_reinterpret_cast> is not the correct solution for
6054 this. Solved this problem by having one more list of
6055 <ACE_POSIX_Asynch_Result *> so that we dont have to do any
6056 casting.
6057 * ace/Proactor.cpp (ACE_Proactor): Indentation.
6058 * examples/Reactor/Proactor/post_completions.cpp: Added template
6059 pragma's.
6060
6061 Sun May 16 18:35:59 1999 Douglas C. Schmidt <[email protected]>
6062
6063 * ACE version 4.6.39 released.
6064
6065 Sun May 16 12:34:48 1999 David L. Levine <[email protected]>
6066
6067 * ace/Log_Msg.cpp (ACE_Log_Msg_Manager::lock_): changed
6068 the lock type from ACE_Thread_Mutex to
6069 ACE_Recursive_Thread_Mutex. This allows ACE_Log_Msg's
6070 methods to be called after calling ACE_Log_Msg::acquire (),
6071 without deadlock. Thanks to Bill Rizzi <[email protected]>
6072 for suggesting this.
6073
6074 Sat May 15 08:30:43 1999 David L. Levine <[email protected]>
6075
6076 * ace/Containers.h: added #include of ace/Malloc_Base.h.
6077 It's needed for the definition of ACE_Allocator when
6078 instantiating container classes.
6079
6080 Sat May 15 03:32:02 1999 Nanbor Wang <[email protected]>
6081
6082 * ace/CDR_Stream.h: Added #include of ace/SString.h.
6083
6084 Fri May 14 23:05:32 1999 David L. Levine <[email protected]>
6085
6086 * ace/Log_Record.h: removed unnecessary #include of ace/SString.h.
6087
6088 Fri May 14 21:11:46 1999 Carlos O'Ryan <[email protected]>
6089
6090 * ace/Task_T.h:
6091 * ace/Task_T.cpp:
6092 Fixed syntax errors in ACE_Buffered_Task
6093
6094 Fri May 14 21:03:30 1999 Carlos O'Ryan <[email protected]>
6095
6096 * netsvcs/lib/Log_Message_Receiver.cpp:
6097 Changed ACE_Guard instantiations with ACE_GUARD() macros to
6098 avoid some warnings with egcs, similar to the problem that David
6099 had with Message_Queue_T.cpp
6100
6101 Fri May 14 19:31:04 1999 Ossama Othman <[email protected]>
6102
6103 * ace/Message_Block.cpp (total_size):
6104
6105 Corrected warning caused by assignment to non-const from const.
6106
6107 * ace/Message_Queue_T.cpp (close):
6108
6109 Temporary variable wasn't declared.
6110
6111 * ace/Message_Queue_T.cpp (remove_messages):
6112
6113 Removed unused variable.
6114
6115 Fri May 14 19:16:06 1999 Ossama Othman <[email protected]>
6116
6117 * ace/Task_T.cpp (put, flush):
6118
6119 Corrected syntax errors where return type was placed before
6120 template keyword.
6121
6122 Fri May 14 16:46:42 1999 Douglas C. Schmidt <[email protected]>
6123
6124 * ace/Task_T: Added a new class called ACE_Buffered_Task that
6125 buffers up its ACE_Message_Blocks until (1) the buffer is full
6126 or (2) a timeout elapses, at which point the buffers are written
6127 out using some type of writev()-like mechanism.
6128
6129 * ace/OS.h: Added a new macro called ACE_DEFAULT_WRITEV_MAX, which
6130 defaults to the maximum value that writev() can have.
6131
6132 * ace/Message_Block.cpp: Added a new method called total_size()
6133 that returns the total number of bytes in a composite
6134 Message_Block (i.e., a Message_Block that has a chain of
6135 Message_Blocks).
6136
6137 * ace/Message_Queue_T.cpp: Reimplemented all the hand-coded loops
6138 to use the new ACE_Message_Block::total_size() method.
6139
6140 Fri May 14 16:17:27 1999 Nanbor Wang <[email protected]>
6141
6142 * ace/Synch.h (ACE_Null_Mutex>): Conditionally compiles ~ACE_Guard()
6143 destructor. Win32 needs this definition.
6144
6145 Fri May 14 16:10:29 1999 David L. Levine <[email protected]>
6146
6147 * ace/Message_Queue_T.cpp: replaced raw ACE_Read_Guards
6148 with ACE_READ_GUARD_RETURN macros. That avoids a compiler
6149 warning (egcs 1.1.1/SunOS 5.7) now that the ACE_Guard<Null_Mutex>
6150 destructor has been removed. Thanks to Irfan and Carlos
6151 for suggesting this fix.
6152
6153 Fri May 14 15:35:50 1999 Irfan Pyarali <[email protected]>
6154
6155 * ace/ACE.cpp (clr_flags and set_flags): We should use ioctl()
6156 calls to implement on vxworks this rather than fcntl(). Thanks
6157 to Joseph A. Condlin <[email protected]> for reporting this.
6158
6159 Fri May 14 13:15:02 1999 Joe Hoffert <[email protected]>
6160
6161 * examples/IPC_SAP/TLI_SAP/Makefile: Took out FORE specific
6162 information. Somehow my local changes got checked in - this is
6163 to undo that.
6164
6165 Fri May 14 12:58:02 1999 Joe Hoffert <[email protected]>
6166
6167 * ace/ATM_Addr.h:
6168 * ace/ATM_Addr.i:
6169 * ace/ATM_Addr.cpp: Added accessor methods for the selector byte
6170 of an ATM address.
6171
6172 * examples/IPC_SAP/TLI_SAP/CPP-ATM-client.cpp:
6173 * examples/IPC_SAP/TLI_SAP/CPP-ATM-server.cpp: Modify example code
6174 to have the user optionally specify the selector byte.
6175
6176 Fri May 14 12:47:38 1999 David L. Levine <[email protected]>
6177
6178 * ace/Addr.cpp,ace/Synch_Options.cpp: added comments about
6179 the static objects.
6180
6181 Fri May 14 11:36:05 1999 Carlos O'Ryan <[email protected]>
6182
6183 * ace/SString.h:
6184 * ace/SString.i: Added new class to auto destroy dynamically
6185 allocated strings, sort of a mixing between auto_ptr and
6186 CString. Auto_Ptr_Array was not useful because we need to free
6187 using ACE_OS::free() (and in the future allocators).
6188
6189 Fri May 14 10:37:49 1999 Douglas C. Schmidt <[email protected]>
6190
6191 * ace/OS.i: Fixed a deadlock in cond_timedwait()/cond_broadcast().
6192 Thanks to Brian C. Olson <[email protected]> for reporting
6193 this.
6194
6195 * ace/Synch.h (ACE_Null_Mutex>): Commented out the ~ACE_Guard()
6196 destructor to prevent segfaults on certain versions of SunC++.
6197 Thanks to Russ Noseworthy for reporting this bizarre bug!
6198
6199 Fri May 14 09:51:55 1999 Carlos O'Ryan <[email protected]>
6200
6201 * ace/Message_Block.h:
6202 * ace/Message_Block.cpp:
6203 Modified default constructor and constructor taking a Data_Block
6204 to also take an Allocator.
6205
6206 Fri May 14 09:14:55 1999 David L. Levine <[email protected]>
6207
6208 * include/makeinclude/platform_osf1_cxx.GNU:
6209 added $(ACELIB) to SOFLAGS for DU 5.x. It should
6210 have been there all along.
6211
6212 Thu May 13 17:27:14 1999 Nanbor Wang <[email protected]>
6213
6214 * netsvcs/servers/svc.conf:
6215 * netsvcs/clients/Naming/Client/svc2.conf:
6216 * netsvcs/clients/Naming/Client/svc2.conf: Removed relative paths
6217 from all DLL's. They were hard-coded which was not portable.
6218 ACE should figure out the correct path automatically.
6219
6220 * netsvcs/lib/Name_Handler.cpp: Replaced several calls to
6221 ACE_WString::rep with ACE_WString::fast_rep to avoid memory
6222 leaks. Thanks to Valery Arkhangorodsky
6223 <[email protected]> for reporting this.
6224
6225 * ace/Registry.cpp (close): Only close <key_> when we do own a
6226 key.
6227
6228 * netsvcs/lib/Name_Handler.cpp (resolve): The atype string needs
6229 to be delete[]'ed once we are done with it. Thanks to Valery
6230 Arkhangorodsky <[email protected]> for pointing this out.
6231
6232 Thu May 13 09:39:17 1999 David L. Levine <[email protected]>
6233
6234 * tests/Makefile: added Tokens_Test to BIN2 if Tokens component
6235 is not configured in. This ensures that Tokens_Test gets
6236 cleaned up, even if the ace directory was realcleaned first
6237 (and ACE_BUILD_COMPONENTS is therefore empty).
6238
6239 Thu May 13 07:24:41 1999 David L. Levine <[email protected]>
6240
6241 * ace/POSIX_Proactor.cpp (handle_events): replaced
6242 incorrect dynamic_cast with a reinterpret cast.
6243
6244 Wed May 12 17:42:09 1999 Carlos O'Ryan <[email protected]>
6245
6246 * ace/Message_Block.h:
6247 * ace/Message_Block.cpp:
6248 The message blocks can be obtained from an allocator now. Thanks
6249 to John Aughey <[email protected]> for this cool feature.
6250
6251 Wed May 12 16:24:17 1999 Alexander Babu Arulanthu <[email protected]>
6252
6253 * examples/Reactor/Proactor/Makefile:
6254 * examples/Reactor/Proactor/test_proactor.cpp:
6255 * ace/POSIX_Proactor.cpp:
6256 * ace/POSIX_Proactor.h:
6257 * ace/Proactor.cpp :
6258 * ace/POSIX_Asynch_IO.cpp: Fixed the problem with terminating the
6259 Timer thread. Also, fixed the places where conversion between
6260 void * and ACE_POSIX_Asynch_Result. Used ACE_reinterpret_cast at
6261 these places.
6262
6263 Wed May 12 12:14:09 1999 Ossama Othman <[email protected]>
6264
6265 * COPYING: Additional updates/clarifications suggested by Richard
6266 Stallman.
6267
6268 Wed May 12 00:25:57 1999 Nanbor Wang <[email protected]>
6269
6270 * ace/Thread_Manager.h (ACE_Thread_Manager): Added clarification
6271 for the semantics differences among wait(), wait_grp() and
6272 wait_task().
6273
6274 Tue May 11 18:11:51 1999 James C. Hu <[email protected]>
6275
6276 * ace/config-sunos5.7.h: SunOS 5.7 (aka Solaris 7) does not have a
6277 limited select.
6278
6279 Tue May 11 17:11:51 1999 David L. Levine <[email protected]>
6280
6281 * tests/Conn_Test.cpp (spawn_threads): changed some ACE_NEW
6282 statements to ACE_NEW_RETURN.
6283
6284 Tue May 11 15:43:30 1999 David L. Levine <[email protected]>
6285
6286 * ace/OS.h: added ACE_THR_PRI_OTHER_DEF for NT, because MT_Cubit
6287 uses it.
6288
6289 Tue May 11 14:45:08 1999 David L. Levine <[email protected]>
6290
6291 * tests/Conn_Test.cpp: fixed use of status on platforms that lack
6292 fork.
6293
6294 Tue May 11 14:10:29 1999 David L. Levine <[email protected]>
6295
6296 * ace/config-osf-4.0.h: added #define of
6297 ACE_NEW_THROWS_EXCEPTIONS, if exception handling is enabled.
6298
6299 * tests/New_Fail_Test.cpp: removed workaround for DEC cxx, and
6300 modified error message to mention ACE_NEW_THROWS_EXCEPTIONS.
6301
6302 Tue May 11 12:02:03 1999 David L. Levine <[email protected]>
6303
6304 * ace/config-win32-common.h: set __ACE_INLINE__ to 1 if not
6305 #defined. It's scary when I trip over syntax errors on Win32
6306 :-)
6307
6308 Tue May 11 10:00:00 1999 Chris Gill <[email protected]>
6309
6310 * ace/OS.i: fixed name of unused argument for pSOS
6311
6312 * ace/RB_Tree.{cpp, h}: moved enumerated type from template to
6313 non-templatized base class to make old g++ happy.
6314
6315 Mon May 10 22:59:46 1999 David L. Levine <[email protected]>
6316
6317 * include/makeinclude/wrapper_macros.GNU: don't set VDIR to
6318 .shobj/ for VxWorks, because it uses the same .o files for
6319 static and shared libs.
6320
6321 * include/makeinclude/platform_vxworks5.x_g++.GNU: disable RTTI
6322 for egcs, because the Tornado 1.0.x libs don't support it. No
6323 harm in disabling for old g++.
6324
6325 Mon May 10 15:33:56 1999 Douglas C. Schmidt <[email protected]>
6326
6327 * ace/INET_Addr.cpp (string_to_addr): Fixed a mistake that
6328 occurred when integrating Jerry D. De Master
6329 <[email protected]> fix. Thanks to Zoran and Jerry for
6330 reporting this.
6331
6332 Mon May 10 15:00:31 1999 Nanbor Wang <[email protected]>
6333
6334 * ACE-INSTALL.html: Changed to use ACE_NO_INLINE to supress
6335 inlining to match with the recent dsp file changes. Added a
6336 link to Barry Hoggard's CORBA page which contains ACE related
6337 MSVC setting hints.
6338
6339 * ace/Select_Reactor_Base.cpp (unbind): We need to make sure the
6340 reactor's suspend_set_ also gets cleaned up when unbinding a
6341 handler. Thanks to Casey Lucas <[email protected]> for pointing
6342 this out.
6343
6344 Mon May 10 17:08:29 1999 James C. Hu <[email protected]>
6345
6346 * ace/ACE.cpp:
6347 * ace/config-sunos5.6.h:
6348 * ace/README: Added support to enter_recv_timedwait,
6349 enter_send_timedwait, handle_timed_complete, and
6350 handle_timed_accept to use poll() instead of select() if poll()
6351 is available and select() is known to have problems. Created
6352 ACE_HAS_LIMITED_SELECT macro. Certain versions of SunOS 5.6 do
6353 not correctly select on file descriptors that are larger than
6354 1023.
6355
6356 Mon May 10 13:32:11 1999 David L. Levine <[email protected]>
6357
6358 * tests/Conn_Test.cpp (spawn_threads): wait a maximum of 200
6359 seconds. Carlos reported that the test sometimes hangs on Irix.
6360
6361 Mon May 10 12:14:00 1999 Chris Gill <[email protected]>
6362
6363 * ace/RB_Tree.cpp: fixed a dangling pointer bug in
6364 RB_Tree::delete_fixup. Added pointer tests to all dereferences
6365 in this piece of code.
6366
6367 Mon May 10 11:35:18 1999 Ossama Othman <[email protected]>
6368
6369 * COPYING: Made some updates suggested by Richard Stallman
6370 <[email protected]> of the Free Software Foundation
6371 (http://www.fsf.org/).
6372
6373 Mon May 10 11:01:58 1999 David L. Levine <[email protected]>
6374
6375 * tests/New_Fail_Test.cpp: DEC cxx catches its default,
6376 NoNamedException. OK, I guess.
6377
6378 * tests/Upgradable_RW_Test.cpp: added -f option, which enables
6379 FIFO thread scheduling. Some platforms require superuser
6380 privilege to use it. Also, wait a maximum of 1 second per
6381 iteration. And, replaced some u_longs with u_ints.
6382
6383 * tests/Thread_Manager_Test.cpp (main): wait a maximum of 60
6384 seconds, because the test sometimes hangs on SunOS 5.5.1 and
6385 SunOS 5.7.
6386
6387 Mon May 10 08:26:44 1999 David L. Levine <[email protected]>
6388
6389 * bin/g++dep: added support for our Solaris 7 machines.
6390
6391 Sun May 9 18:07:24 1999 Ossama Othman <[email protected]>
6392
6393 * acconfig.h:
6394 * configure.in: Added support/tests for
6395 ACE_LACKS_CHAR_RIGHT_SHIFTS and
6396 ACE_LACKS_CHAR_STAR_RIGHT_SHIFTS.
6397
6398 * ace/README: Fixed typo. ACE_LACKS_LINEBUFFERED_STREAMBUF was
6399 used twice. Corrected the appropriate one to
6400 ACE_LACKS_UNBUFFERED_STREAMBUF.
6401
6402 Sun May 09 11:45:00 1999 Chris Gill <[email protected]>
6403
6404 * ace/RB_Tree.cpp added explicit scoping to RB_SearchResult
6405 parameter in RB_Tree<...>::find_node ().
6406
6407 Sun May 09 11:30:00 1999 Chris Gill <[email protected]>
6408
6409 * ace/Makefile
6410 examples/Connection/non_blocking/Makefile
6411 examples/IPC_SAP/SPIPE_SAP/Makefile
6412 examples/IPC_SAP/TLI_SAP/Makefile
6413 examples/Reactor/Misc/Makefile
6414 examples/Service_Configurator/IPC-tests/client/Makefile
6415 examples/Service_Configurator/IPC-tests/server/Makefile
6416 netsvcs/lib/Makefile
6417 netsvcs/servers/Makefile
6418 tests/Makefile: ran make depend after adding new RB_Tree
6419 interface.
6420
6421 Sat May 08 19:30:00 1999 Chris Gill <[email protected]>
6422
6423 * ace/RB_Tree.{cpp, h, i}
6424 tests/RB_Tree_Test.cpp: finished implementing all methods for
6425 the ACE_Hash_Map_Manager_Ex compliant interface, fixed a bug in
6426 the internal tree search method (thanks to David Levine for
6427 pointing this out), and added a new section to the test that
6428 exercises the new bind and unbind methods.
6429
6430 Sat May 08 17:09:10 1999 David L. Levine <[email protected]>
6431
6432 * apps/Gateway/Gateway/Event_Channel.cpp (bind_proxy,subscribe):
6433 wrapped final return statement with ACE_NOTREACHED, to please DU
6434 cxx 6.2.
6435
6436 Sat May 08 08:49:44 1999 David L. Levine <[email protected]>
6437
6438 * ace/CDR_Stream.h: only use unsigned long for Boolean with Green
6439 Hills 1.8.8 on Chorus, not 1.8.9.
6440
6441 * ace/IOStream.h,README: added ACE_LACKS_CHAR_STAR_RIGHT_SHIFTS
6442 and ACE_LACKS_CHAR_RIGHT_SHIFTS support.
6443
6444 * ace/config-chorus.h: added ACE_LACKS_CHAR_STAR_RIGHT_SHIFTS
6445 #define for g++.
6446
6447 * ace/config-vxworks5.x.h: added ACE_LACKS_CHAR_RIGHT_SHIFTS
6448 #define for Green Hills 1.8.9.
6449
6450 Sat May 08 08:44:00 1999 Chris Gill <[email protected]>
6451
6452 * ace/RB_Tree.{cpp, h, i}
6453 tests/RB_Tree_Test.cpp
6454 apps/JAWS/PROTOTYPE/HTTPU/http_headers.cpp: Added more
6455 implementation code and necessary template instantiations for
6456 migration of RB_Tree class templates to conform to the
6457 ACE_Hash_Map_Manager API.
6458
6459 Sat May 08 03:59:52 1999 Nanbor Wang <[email protected]>
6460
6461 * ace/config-win32-common.h: Re-ordered __ACE_INLINE__ macro check
6462 and definition so users can turn of inlining correctly.
6463 However, the right thing to do is to define ACE_NO_INLINE macro.
6464
6465 * ace/ace_{dll,lib}.dsp: Moved RB_Tree.cpp to template folder and
6466 excluded it from being built.
6467
6468 * ace/ace_lib.dsp:
6469 * performance-tests/Misc/basic_perf.dsp:
6470 * performance-tests/Misc/context_switch_time.dsp:
6471 * tests/version_tests/*.dsp: We should have used ACE_NO_INLINE
6472 instead of defining __ACE_INLINE__=0 to supress the use of
6473 inlining. Thanks to Nick Sawadsky
6474 <[email protected]> for reporting this.
6475
6476 Fri May 07 23:05:24 1999 David L. Levine <[email protected]>
6477
6478 * ace/config-vxworks5.x.h: added ACE_LACKS_LINEBUFFERED_STREAMBUF
6479 for Green Hills 1.8.9.
6480
6481 * ace/README: added ACE_LACKS_LINEBUFFERED_STREAMBUF.
6482
6483 Fri May 7 19:39:43 1999 Carlos O'Ryan <[email protected]>
6484
6485 * ace/Message_Block_T.i: Found little bug in
6486 ACE_Locked_Data_Block<> default constructor.
6487
6488 Fri May 07 16:54:00 1999 Chris Gill <[email protected]>
6489
6490 * ace/RB_Tree.{cpp, h, i}: Reorganized and optimized internal
6491 methods, added read and write guards, implemented all public
6492 find and unbind methods for the interface comparable to
6493 ACE_Hash_Map_Manager_Ex.
6494
6495 Fri May 07 14:40:12 1999 David L. Levine <[email protected]>
6496
6497 * include/makeinclude/platform_osf1_cxx.GNU: added, to support
6498 uniform use of cxx across different OS versions.
6499
6500 * ace/config-osf1-4.0.h: conditionally #define DIGITAL_UNIX, to
6501 support definition in CFLAGS.
6502
6503 * ace/config-osf1.h: added, to support easy migration to DU 5.0.
6504
6505 Fri May 07 11:00:52 1999 David L. Levine <[email protected]>
6506
6507 * ACE-INSTALL.html: OK on RedHat 6.0 Linux.
6508
6509 Fri May 07 08:58:47 1999 David L. Levine <[email protected]>
6510
6511 * ace/OS.{h,i}: added some QNX support. In OS.i, this mostly
6512 consisted of adding a !defined (ACE_LACKS_MUTEXATTR_PSHARED)
6513 check to _POSIX_THREAD_PROCESS_SHARED. Thanks to Alain Magloire
6514 <[email protected]> for providing this support.
6515
6516 Thu May 6 21:48:26 1999 Ossama Othman <[email protected]>
6517
6518 * acconfig.h:
6519 * configure.in:
6520 * ace/OS.h:
6521 * ace/README:
6522 * ace/config-hpux11.h:
6523 * ace/config-irix6.x-g++.h:
6524 * ace/config-irix6.x-kcc.h:
6525 * ace/config-irix6.x-sgic++.h:
6526 * ace/config-linux-lxpthreads.h:
6527 * ace/config-osf1-4.0.h:
6528 * ace/config-sco-5.0.0-mit-pthread.h:
6529 * ace/config-sunos5.5.h: Removed all references to
6530 ACE_HAS_PTHREAD_SIGMASK. This macro has been deprecated.
6531
6532 Thu May 6 20:12:57 1999 Ossama Othman <[email protected]>
6533
6534 * acconfig.h:
6535 * configure.in: Added tests/support for ACE_LACKS_PTHREAD_SIGMASK,
6536 ACE_LACKS_TCP_NODELAY and ACE_LACKS_NULL_PTHREAD_STATUS. Thanks
6537 to David for providing a test for ACE_LACKS_NULL_PTHREAD_STATUS.
6538
6539 Thu May 06 14:26:54 1999 David L. Levine <[email protected]>
6540
6541 * ace/README,ace/Pipe.cpp (open): added support for
6542 ACE_LACKS_TCP_NODELAY. Thanks to Alain Magloire <[email protected]>
6543 for providing the patch.
6544
6545 Thu May 6 14:23:14 1999 Carlos O'Ryan <[email protected]>
6546
6547 * ace/Synch_T.cpp: Removed ACE_ALLOC_HOOK_DEFINE macros for the
6548 Guard<> objects, they don't need them (because they are
6549 allocated on the stack) and the HOOK_DECLARE macros where not
6550 used in the header file.
6551
6552 * bin/count_lines: Several new file types, fixed computations when
6553 multiple modules are used.
6554
6555 Thu May 06 12:28:54 1999 David L. Levine <[email protected]>
6556
6557 * docs/ACE-FMM.html: replaced a > with &gt; and added RCS Id
6558 string.
6559
6560 * ACE-INSTALL.html: added link to docs/ACE-FMM.html.
6561
6562 Thu May 06 12:23:51 1999 Steve Huston <[email protected]>
6563
6564 * ace/OS.i (recvv, sendv): Added code to make these functions work
6565 on Win32 w/ Winsock 1.1.
6566
6567 Wed May 05 15:10:37 1999 David L. Levine <[email protected]>
6568
6569 * ace/OS.h: added ACE_U_ONE_SECOND_IN_*SECS. They're typed and
6570 unsigned. The old ACE_ONE_SECOND_IN_*SECS macros are retained
6571 for backward compatibility.
6572
6573 Wed May 5 13:58:25 1999 Carlos O'Ryan <[email protected]>
6574
6575 * ace/OS.i: Don't use poll() for the implementation of
6576 ACE_OS::sleep(), it has bad resolution and it gives wrong
6577 results on Linux.
6578
6579 * tests/High_Res_Timer_Test.cpp: Added new option to run several
6580 iterations of each interval.
6581
6582 Wed May 05 13:14:52 1999 Steve Huston <[email protected]>
6583
6584 * ace/ACE.cpp: Removed DllMain - Win32 does not have the gusto to
6585 handle the initialization/finalization in this way. It causes
6586 DLL dependency problems which result in early detachment of
6587 winsock, and possible network data loss in some cases.
6588
6589 * ace/OS.cpp, Object_Manager.cpp: Clarified some comments
6590 regarding multiple ACE_OS_Object_Manager and ACE_Object_Manager
6591 objects in existence and how they're handled.
6592
6593 * tests/ACE_Init_Test.cpp: Always does ACE::init and ACE::fini
6594 now. This is one example of how to handle a non-console program
6595 in Win32.
6596
6597 Wed May 05 13:07:49 1999 David L. Levine <[email protected]>
6598
6599 * bin/Makefile: replaced /bin/rm with $(RM) and removed clean
6600 pseudotarget.
6601
6602 Tue May 04 20:38:00 1999 Chris Gill <[email protected]>
6603
6604 * tests/RB_Tree_Test.cpp: Added missing explicit template
6605 instantiations for ACE_RB_Tree_Iterator_Base. Thanks to Carlos
6606 O'Ryan for reporting this.
6607
6608 * include/makeinclude/platform_psos_diab_ppc.GNU: added -g flag
6609 back into debug flags since it can easily be deactivated via
6610 make debug=0.
6611
6612 1999-05-04 Seth Widoff <[email protected]>
6613
6614 * ace/Containers_T.cpp (ACE_Array_Base<T>::max_size): When
6615 resizing the array to be larger, the max_size method was copying
6616 in the contents of the older, smaller array, but not
6617 initializing the new elements.
6618
6619 Tue May 4 17:37:30 1999 Kirthika Parameswaran <[email protected]>
6620
6621 * examples/Web_Crawler/Options.cpp (parse_args): Change the
6622 default options from "www.cs.wustl.edu" to "tao.cs.wustl.edu".
6623
6624 Tue May 04 16:24:00 1999 Chris Gill <[email protected]>
6625
6626 * ace/RB_Tree.{cpp, h, i}: Added deprecation comments to methods
6627 that are going to be replaced by the new Hash_Map_Manager
6628 compliant interface. Factored out iterator base class, added
6629 reverse iterator. Interim checkin since it all compiles and
6630 RB_Tree_Test runs clean.
6631
6632 Tue May 04 15:56:41 1999 Steve Huston <[email protected]>
6633
6634 * ace/ACE.cpp: Re-enabled DllMain (see Mon May 3 entry from Chris
6635 Gill).
6636
6637 * ace/OS.cpp, Object_Manager.cpp: In ACE_OS_Object_Manager and
6638 ACE_Object_Manager, differentiate between The singleton instance
6639 and other instances when allocating and freeing per-process
6640 information.
6641
6642 * tests/run_tests.bat: Added ACE_Init_Test.
6643
6644 Mon May 3 18:04:32 1999 Alexander Babu Arulanthu <[email protected]>
6645
6646 * examples/Reactor/Proactor/test_aiocb_ace.cpp: Added this
6647 file. If this test is sucessful, ACE_POSIX_AIOCB_PROACTOR could
6648 be defined for a platform.
6649
6650 Mon May 03 09:35:00 1999 Chris Gill <[email protected]>
6651
6652 * ace/RB_Tree.cpp: fixed bug in ACE_RB_Tree::RB_delete_fixup in
6653 which a null pointer was dereferenced while trying to determine
6654 the color of the node that was being pointed to. Per the RB
6655 Tree discussion in Cormen Lieserson and Rivest's "Introduction
6656 to Algorithms", after which this implementation is modeled, a
6657 nil node is implicity treated as having been colored BLACK.
6658 Thanks to Long Hoang <[email protected]> for reporting
6659 the problem and providing a test program that showed the bug.
6660
6661 Mon May 03 15:53:15 1999 David L. Levine <[email protected]>
6662
6663 * include/makeinclude/platform_vxworks5.x_g++.GNU,
6664 tests/run_tests.vxworks,ACE-INSTALL.html: added support for
6665 shared lib builds. Thanks to Ramiro Penataro Blanco
6666 <[email protected]> and James D. Rucker
6667 <[email protected]> for figuring this out, and
6668 providing detailed instructions for others to follow.
6669
6670 Mon May 03 15:20:00 1999 Kirthika Parameswaran <[email protected]>
6671
6672 * examples/Web_Crawler/main.cpp:
6673 * examples/Web_Crawler/Web_Crawler.{h,cpp}:
6674 * examples/Web_Crawler/Cached_Connect_Strategy_T.{h,i,cpp}:
6675 * examples/Web_Crawler/Caching_Strategies_T.{h,i,cpp}:
6676 * examples/Web_Crawler/Command_Processor.{h,cpp}:
6677 * examples/Web_Crawler/HTTP_URL.{h,cpp}:
6678 * examples/Web_Crawler/Iterators.{h,cpp}:
6679 * examples/Web_Crawler/Mem_Map_Stream.{h,cpp}:
6680 * examples/Web_Crawler/Optimal_Cache_Map_Manager_T.{h,i,cpp}:
6681 * examples/Web_Crawler/Options.{h,cpp}:
6682 * examples/Web_Crawler/URL.{h,cpp}:
6683 * examples/Web_Crawler/URL_Addr.{h,cpp}:
6684 * examples/Web_Crawler/URL_Status.{h,cpp}:
6685 * examples/Web_Crawler/URL_visitor.{h,cpp}:
6686 * examples/Web_Crawler/URL_Visitor_Factory.{h,cpp}:
6687 * examples/Web_Crawler/Makefile
6688 * examples/Web_Crawler/README
6689
6690 This example is a HTTP client which crawls over the link provided
6691 and checks whether the links recusively are valid or not.
6692 This example was used to test teh auto-purging feature where the
6693 connections are removed from the connection cache when the process
6694 runs out of file descriptors.
6695
6696 Mon May 03 14:46:28 1999 Steve Huston <[email protected]>
6697
6698 * tests/ACE_Init_Test.dsp: Fixed to build on all configurations (for
6699 Intel anyway).
6700
6701 Mon May 03 10:30:37 1999 David L. Levine <[email protected]>
6702
6703 * ACE version 4.6.38 released.
6704
6705 Mon May 3 09:56:06 1999 Douglas C. Schmidt <[email protected]>
6706
6707 * ace/INET_Addr.cpp (get_host_name): Make sure to check if
6708 get_host_name() fails and do something useful in this case.
6709 Thanks to Frank O'Dwyer <[email protected]> for reporting this.
6710
6711 Mon May 03 09:35:00 1999 Chris Gill <[email protected]>
6712
6713 * ace/ACE.cpp: disabled BOOL APIENTRY DllMain(HANDLE hModule,
6714 DWORD ul_reason_for_call, LPVOID lpReserved) by having it
6715 just return TRUE. This function is used only on NT. This
6716 is a temporary workaround for the problem of tao_idl
6717 crashing on NT, and will be replaced ASAP with a more
6718 complete fix to Object Manager initialization/cleanup at
6719 DLL load/unload time on NT. Thanks to David Levine for
6720 suggesting this fix.
6721
6722 Mon May 03 09:27:54 1999 David L. Levine <[email protected]>
6723
6724 * docs/ACE-guidelines.html: added guideline to put
6725 spaces around comment delimiters. Thanks to Chris
6726 Gill for suggesting this.
6727
6728 Sun May 02 14:36:43 1999 David L. Levine <[email protected]>
6729
6730 * ace/OS.h: Added ghs back to the list of compilers for which
6731 ACE_NOTREACHED disappears. It was causing warnings for
6732 many ACE and TAO files.
6733
6734 Sun May 02 08:21:13 1999 David L. Levine <[email protected]>
6735
6736 * ace/OS.i (pthread_sigmask): added ACE_UNUSED_ARGs to
6737 NOTSUP case.
6738
6739 * ace/OS.i (pthread_sigmask),ace/config-chorus.h,ace/README:
6740 added ACE_LACKS_PTHREAD_SIGMASK.
6741
6742 Sat May 01 17:33:04 1999 David L. Levine <[email protected]>
6743
6744 * ace/OS.cpp,Object_Manager.cpp: reverted this change because
6745 it causes a seg fault on NT:
6746
6747 Thu Apr 29 13:41:52 1999 Steve Huston <[email protected]>
6748
6749 * ace/{OS.cpp Object_Manager.cpp}: Fixed leaking ACE_Object_Manager
6750 when config has #define ACE_HAS_NONSTATIC_OBJECT_MANAGER 0.
6751
6752 Sat May 01 12:06:57 1999 Nanbor Wang <[email protected]>
6753
6754 * ace/ACE.cpp:
6755 * ace/config-win32.h: Reverted my previous change. I didn't
6756 notice David had already fixed it. Thanks David.
6757
6758 Sat May 01 01:48:29 1999 Nanbor Wang <[email protected]>
6759
6760 * ace/ACE.cpp (DllMain): Only use DllMain to control
6761 Object_Manager's lifecycle when
6762 ACE_USES_DLL_TO_MANAGE_THE_LIFECYCLE_OF_OBJECT_MANAGER is
6763 defined and we are building ACE as a DLL.
6764
6765 * ace/config-win32.h: Defining
6766 ACE_USES_DLL_TO_MANAGE_THE_LIFECYCLE_OF_OBJECT_MANAGER =1, when
6767 compiling DLL version of ACE will cause then ACE::init/fini be
6768 called automatically for you in DllMain when ACE gets linked
6769 in/unlinked.
6770
6771 Defining ACE_USES_DLL_TO_MANAGE_THE_LIFECYCLE_OF_OBJECT_MANAGER
6772 =1 automatically define ACE_HAS_NONSTATIC_OBJECT_MANAGER to 1
6773 and define ACE_DOESNT_INSTANTIATE_NONSTATIC_OBJECT_MANAGER.
6774
6775 Fri Apr 30 22:53:01 1999 David L. Levine <[email protected]>
6776
6777 * ace/OS.h: put Object_Manager back on the stack of main,
6778 instead of using ACE::init () and ACE::fini (). It
6779 should be functionally equivalent, and then some: if
6780 the user's main () returns, the Object_Manager will get
6781 properly destroyed if it's on the stack. And, it's better
6782 for subset support if we avoid class ACE calls from OS.h.
6783
6784 * include/makeinclude/rules.lib.GNU: cleaned up a bit.
6785
6786 Fri Apr 30 17:42:11 1999 Alexander Babu Arulanthu <[email protected]>
6787
6788 * ace/OS.i (pthread_sigmask):
6789 * ace/OS.h (ACE_OS): Added wrapper for <pthread_sigmask> to get
6790 the Proactor code compile on LynxOS.
6791
6792 * ace/config-lynxos.h (ACE_HAS_AIO_CALLS):
6793 Enabled ACE_HAS_AIO_CALLS for LynxOS. Also enabled
6794 ACE_HAS_AIOCB_PROACTOR since LynxOS 3.0.0 has not got
6795 <pthread_sigmask> yet, so signal proactor cannot work correctly.
6796
6797 * ace/POSIX_Proactor.cpp:
6798 * examples/Reactor/Proactor/test_aiosig_ace.cpp
6799 (setup_signal_delivery): Added ACE_OS:: scope to pthread_sigmask
6800 so that it works (fails!!) correctly on LynxOS.
6801
6802 * examples/Reactor/Proactor/post_completions.cpp:
6803 * examples/Reactor/Proactor/test_timeout.cpp: Added 'main'
6804 function for platforms where only AIOCB_Proactor is enabled so
6805 that the test prints out a message.
6806
6807 * examples/Reactor/Proactor/Makefile:
6808
6809 Fri Apr 30 14:44:12 1999 Darrell Brunsch <[email protected]>
6810
6811 * ACE-INSTALL.html: Added a note about manually cleaning out the
6812 ACE_wrappers directories on Win32, which could be required for a
6813 true start from scratch build. Thanks to David Hooker
6814 <[email protected]> for this insight.
6815
6816 Fri Apr 30 14:06:41 1999 Douglas C. Schmidt <[email protected]>
6817
6818 * COPYING: Updated the COPYING file to reflect the use new of
6819 ACE(TM) and TAO(TM).
6820
6821 Fri Apr 30 13:23:22 1999 Steve Huston <[email protected]>
6822
6823 * docs/tutorials/017/Barrier_i.cpp:
6824 * docs/tutorials/018/token.cpp: Added explicit template
6825 instantiations.
6826
6827 Fri Apr 30 12:11:36 1999 Ossama Othman <[email protected]>
6828
6829 * ace/OS.i (gethostbyname2):
6830
6831 Added an IPv4-only implementation. If ACE_HAS_IP6 is not defined,
6832 the IPv4-only implementation will be used.
6833
6834 Fri Apr 30 12:11:50 1999 Nanbor Wang <[email protected]>
6835
6836 * tests/Basic_Types_Test.cpp: Added checks for sizeof(long) ==
6837 sizeof(void*) and sizeof(long) >= sizeof (a_function_pointer).
6838 Certain code in ACE depends on the assumptions.
6839
6840 Fri Apr 30 11:24:26 1999 Steve Huston <[email protected]>
6841
6842 * tests/ACE_Init_Test.cpp: Added compile-time change to adapt to
6843 build w/ static ACE lib and ACE_HAS_NONSTATIC_OBJECT_MANAGER.
6844 * tests/version_tests/ACE_Init_Test.dsp: Changes to build clean on
6845 all configurations.
6846
6847 Fri Apr 30 02:06:53 1999 Nanbor Wang <[email protected]>
6848
6849 * ace/Parse_Node.cpp (symbol): According to the new ANSI C++
6850 specification, casting a void* pointer to a function pointer is
6851 not allowed. However, casting a void* pointer to an integer
6852 type that is large enough to hold the pointer value is legal. I
6853 chose to cast the return value to long since it should be large
6854 enough to hold the void* pointer's value on most platforms. I am
6855 not sure if casting a long value to a function pointer is legal
6856 or not (can't find a good explanation in spec) but it prevent
6857 SunC++ 5.0 compilers from complaining about illegal pointer
6858 conversion.
6859
6860 * ace/OS.h: Removed ACE_non_function_ptr_to_function_ptr_cast,
6861 it is no longer needed.
6862
6863 Fri Apr 30 00:36:23 1999 Ossama Othman <[email protected]>
6864
6865
6866 * ace/Get_Opt.cpp:
6867 * ace/TLI_Acceptor.cpp:
6868 * ace/TLI_Connector.cpp:
6869
6870 Cast away const from string literals using ACE_const_cast to make
6871 Sun C++ 5.0 happier.
6872
6873 Thu Apr 29 18:32:43 1999 Irfan Pyarali <[email protected]>
6874
6875 * ace/OS.h: Removed ghs from the list of compilers for which
6876 ACE_NOTREACHED disappears. It was causing warnings for
6877 TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index_T.cpp.
6878
6879 Thu Apr 29 19:48:25 1999 Ossama Othman <[email protected]>
6880
6881 * ace/OS.{h,i} (ACE_OS):
6882
6883 More IPv6 support. Added support for the new IPv4/IPv6
6884 inet_ntop() and inet_pton() calls. If ACE_HAS_IP6 is not
6885 defined, these calls will use IPv4 implementations (see
6886 Stevens' book "UNIX Network Programming - Volume I") and
6887 return an error if a family other than AF_INET is passed to
6888 them.
6889
6890 * ace/OS.h:
6891
6892 Define INET_ADDRSTRLEN and INET6_ADDRSTRLEN if they don't
6893 get defined after including <netinet/in.h>.
6894
6895 Thu Apr 29 18:32:43 1999 Ossama Othman <[email protected]>
6896
6897 * ace/README:
6898 * ace/OS.h (ACE_OS):
6899 * ace/OS.i (gethostbyname2):
6900
6901 Added support for the gethostbyname2() system call. It is only
6902 enabled if ACE_HAS_IP6 is defined. When I have time, I'll add
6903 more IPv6 support.
6904
6905 Thu Apr 29 15:30:04 1999 Douglas C. Schmidt <[email protected]>
6906
6907 * ace/INET_Addr.cpp (string_to_addr): Added support to check for
6908 both "port numbers" and "port names". Thanks to Jerry D. De
6909 Master <[email protected]> for suggesting this.
6910
6911 * ace/Select_Reactor_T.h,
6912 ace/Reactor.h,
6913 ace/Select_Reactor_T.h,
6914 ace/TP_Reactor.h (ACE_TP_Reactor): Updated the documentation to
6915 clarify the purpose of the <restart> flag. Thanks to Susan
6916 Liebeskind <[email protected]> for reporting this.
6917
6918 Thu Apr 29 13:41:52 1999 Steve Huston <[email protected]>
6919
6920 * ace/{OS.cpp Object_Manager.cpp}: Fixed leaking ACE_Object_Manager
6921 when config has #define ACE_HAS_NONSTATIC_OBJECT_MANAGER 0. Now
6922 both ACE_OS_Object_Manager and ACE_Object_Manager remember if they
6923 were dynamically allocated whether the above #define is used or not
6924 and correctly clean up and track the singleton properly.
6925 Thanks to David and Irfan for identifying this and helping with the
6926 solution.
6927
6928 Wed Apr 28 20:21:12 1999 Irfan Pyarali <[email protected]>
6929
6930 * ace/Synch_T.h (class ACE_Anti_*_Guard): I had accidentally
6931 checked in the anti guard classes. These are not needed since
6932 we decided to stick with the reverse lock class rather than the
6933 anti guard classes.
6934
6935 Wed Apr 28 18:02:36 1999 Nanbor Wang <[email protected]>
6936
6937 * ace/OS.h: Added a new macro called
6938 ACE_non_function_ptr_to_function_ptr_cast to get around some
6939 compiler constrain. In face, ANSI C++ standard prevents casting
6940 from a non-function pointer (e.g., void *) to a function
6941 pointer. Currently, only egcs check for this condition.
6942
6943 * ace/Parse_Node.cpp (symbol): Changed to use the new
6944 ACE_non_function_ptr_to_function_ptr_cast.
6945
6946 Wed Apr 28 16:53:16 1999 Alexander Babu Arulanthu <[email protected]>
6947
6948 * examples/Reactor/Proactor/Aio_Platform_Test_C.cpp: Added this
6949 file, a simple C version of the
6950 $ACE_ROOT/tests/Aio_Platforms_Test.cpp. Useful for submitting bug
6951 reports etc.
6952
6953 * ace/Proactor.cpp:
6954 * ace/POSIX_Asynch_IO.cpp: Fixed old g++ warnings
6955
6956 Wed Apr 28 15:39:14 1999 Nanbor Wang <[email protected]>
6957
6958 * ace/Parse_Node.cpp (symbol): Use reinterpret_cast to cast
6959 dlsym's return value.
6960
6961 Wed Apr 28 12:40:26 1999 David L. Levine <[email protected]>
6962
6963 * ace/Synch_T.{i,cpp} (~ACE_Reverse_Lock): uninlined destructor.
6964 See docs/ACE-guidelines.html for an explanation of why a
6965 class should have at least one non-inline, non-pure virtual
6966 function if it has any virtual functions. egcs 1.1.1b
6967 needed this one.
6968
6969 Wed Apr 28 09:02:26 1999 Douglas C. Schmidt <[email protected]>
6970
6971 * ace/config-sunos5.5.h: It appears that SunC++ 5.0 wants
6972 ACE_HAS_THR_C_DEST to be defined.
6973
6974 * ace/SString: Clarified the comments a bit to avoid confusion.
6975 Also, moved the definition of ACE_SString to AFTER ACE_CString
6976 and ACE_WString since they are more general. Thanks to Kevin
6977 Lyda <[email protected]> for reporting this.
6978
6979 Tue Apr 27 20:59:52 1999 Douglas C. Schmidt <[email protected]>
6980
6981 * netsvcs/clients/Naming: Moved the README file into the Client/
6982 directory since that's what it described.
6983
6984 * netsvcs/clients/Naming/Client/Client_Test.cpp: Reformatted some
6985 code to conform to ACE programming guidelines.
6986
6987 * ace/Naming_Context.cpp (parse_args): Oops, fixed a braino
6988 related to strcmp(). Thanks to Valery Arkhangorodsky
6989 <[email protected]> for reporting this.
6990
6991 Tue Apr 27 18:00:31 1999 Steve Huston <[email protected]>
6992
6993 * ace/OS.cpp (ACE_OS_CString, ACE_OS_WString): Fixed one-off error
6994 in allocating new string's memory.
6995
6996 Tue Apr 27 17:36:28 1999 Ossama Othman <[email protected]>
6997
6998 * m4/threads.m4:
6999
7000 Restructured thread detection test so that it properly detects
7001 threads on platforms that provide PTHREADS backward compatibility
7002 macros, such as Digital Unix 4.0 and 5.0.
7003
7004 Tue Apr 27 18:56:00 1999 Chris Gill <[email protected]>
7005
7006 * ace/Containers_T.{cpp, h}
7007 tests/OrdMultiSet_Test.cpp: added a workaround for a problem with
7008 implicit template instantiation and a do-nothing destructor
7009 definition. Thanks to Sarmeesha Reddy <[email protected]> and
7010 Steven Tine <[email protected]> for reporting this.
7011
7012 * include/makeinclude/platform_psos_diab_ppc.GNU: changes to use
7013 the board support package linker file. Thanks to Sarmeesha
7014 Reddy <[email protected]> and Steven Tine
7015 <[email protected]> for contributing this change.
7016
7017 Tue Apr 27 16:30:57 1999 Ossama Othman <[email protected]>
7018
7019 * ace/UNIX_Addr.h (ACE_UNIX_Addr):
7020
7021 Corrected typographical error in comment.
7022
7023 Tue Apr 27 12:57:06 1999 Ossama Othman <[email protected]>
7024
7025 * configure.in:
7026
7027 Removed `tests/log/Makefile' from the list of files to
7028 generate (i.e. removed from AC_OUTPUT macro call).
7029
7030 * tests/Makefile.am:
7031
7032 Corrected a typo. I neglected to add "_SOURCES" to the end
7033 of the Collection_Test source variable variable. Also added
7034 more missing tests to the list of test programs. Commented out
7035 Cache_Manager_Test. It appears to need a header that doesn't
7036 exist.
7037
7038 * ace/Makefile.am (pkginclude_HEADERS):
7039
7040 Removed `Timer_Queue.i' from the list of headers.
7041
7042 * bin/autogen:
7043 * bin/bootstrap:
7044
7045 Renamed the `autogen' script to `bootstrap'.
7046
7047 Tue Apr 27 11:54:53 1999 Ossama Othman <[email protected]>
7048
7049 * configure.in:
7050
7051 Temorarily removed my experimental C++ libtool support so that
7052 I can get a semi-working test distribution out on the net.
7053
7054 * ltconfig:
7055 * ltmain.sh:
7056
7057 Reverted to more stable version, i.e. w/o my C++ support.
7058
7059 * m4/threads.m4:
7060
7061 Added KAI C++ thread flag check.
7062
7063 Tue Apr 27 11:45:40 1999 Irfan Pyarali <[email protected]>
7064
7065 * tests/Collection_Test.cpp (main): Added some additional array
7066 tests and fixed template instantiation errors. Thanks to David
7067 Levine for pointing them out.
7068
7069 * ace/OS.h (ACE_DES_FREE): Changed all the ACE_DES* macros to
7070 check for zero pointers. Thanks to Torsten Kuepper
7071 <[email protected]> for pointing this bug out.
7072
7073 Tue Apr 27 11:08:35 1999 Nanbor Wang <[email protected]>
7074
7075 * ace/Basic_Types.h: Forced KAI compiler to use ACE_U_LongLong if
7076 ACE_LACKS_LONGLONG_T is defined.
7077
7078 * ace/DLL.cpp:
7079 * ace/Service_Config.i:
7080 * ace/Service_Object.i:
7081 * ace/INET_Addr.cpp: Some CE related changes.
7082
7083 Tue Apr 27 00:03:16 1999 Irfan Pyarali <[email protected]>
7084
7085 * tests/Collection_Test.cpp (main): Added test code for ACE_Array.
7086
7087 Mon Apr 26 23:55:43 1999 Irfan Pyarali <[email protected]>
7088
7089 * ace/Synch_T.h (class ACE_Reverse_Lock): Removed constructor that
7090 created the lock. There were two reasons for this: (a) it was
7091 unrealistic that the reverse lock would own and create the
7092 regular lock and (b) this constructor made it impossible that
7093 ACE_Reverse_Lock can be used with ACE_Lock (the abstract
7094 class). Thanks to Carlos for pointing this out.
7095
7096 Mon Apr 26 21:43:23 1999 Ossama Othman <[email protected]>
7097
7098 * ace/Makefile.am (pkginclude_HEADERS, libACE_IPC_la_SOURCES):
7099
7100 Added ATM_Addr sources to these variables.
7101
7102 * ace/Makefile.am (EXTRA_libACE_la_SOURCES):
7103
7104 Accidentally removed this variable. It is needed for
7105 conditionally built sources, such as `gethrtime.cpp'.
7106
7107 * tests/Makefile.am:
7108
7109 Added newly added tests to the list of test programs to be built.
7110 Changed "noinst_PROGRAMS" variable to "check_PROGRAMS" so that
7111 tests only get built when a `make check' is issued by the user.
7112
7113 Mon Apr 26 19:29:25 1999 Ossama Othman <[email protected]>
7114
7115 * tests/Reverse_Lock_Test.cpp (main):
7116
7117 ACE_START_TEST macro had "Thread_Mutex_Test" instead of
7118 "Reverse_Lock_Test."
7119
7120 Mon Apr 26 17:01:22 1999 Steve Huston <[email protected]>
7121
7122 * ace/ACE.cpp (DllMain): Re-enabled this for use on Win32.
7123
7124 * ace/OS.h (main): On non-pSoS, use ACE::init, ACE::fini rather than
7125 creating object manager instances on the stack. Allows a single
7126 instance regardless of program type; especially helpful on Win32.
7127
7128 * ace/OS.cpp (ACE_OS_Object_Manager ctor):
7129 * ace/Object_Manager.cpp (ACE_Object_Manager ctor):
7130 Don't set instance_ if it was already set. So if two
7131 ACE_Object_Manager instances end up getting created, the first one
7132 stays The Instance, and the second gets used privately by its
7133 creator. Previously, the original was forgotten. Thanks to David
7134 Levine for working out this and the above details with me to get the
7135 Win32 crowd in business without platform-specific hacks.
7136
7137 Mon Apr 26 16:43:32 1999 Nanbor Wang <[email protected]>
7138
7139 * ace/Asynch_IO_Impl.h (ACE_Asynch_[Read|Write]_File_Impl):
7140 Declared the read/write pure virtual methods of
7141 ACE_Asynch_[Read|Write]_Stream_Impl again in these class to
7142 avoid KAI compiler's overwriting pure virtual function
7143 warnings.
7144
7145 Mon Apr 26 10:54:23 1999 Carlos O'Ryan <[email protected]>
7146
7147 * ace/High_Res_Timer.h:
7148 Moved the static method hrtime_to_tv to the public section. It
7149 is useful outside this class.
7150
7151 * ace/Synch_T.cpp:
7152 The default constructor for ACE_Reverse_Lock should not allocate
7153 the locking mechanism, otherwise it cannot work with ACE_Lock.
7154
7155 Mon Apr 26 07:30:51 1999 Nanbor Wang <[email protected]>
7156
7157 * ace/OS.i (fstat): Changed to use CE's implementation and added
7158 some features that're supported on other Win32 platforms. The
7159 original implementation for Win32 closed down the file handle
7160 accidentally which is not a "Good Thing[TM]". Thanks to Dominic
7161 Williams <[email protected]> for pointing this out.
7162
7163 Sun Apr 25 21:35:37 1999 David L. Levine <[email protected]>
7164
7165 * ace/ACE.{h,cpp},OS.{h,cpp},Object_Manager.{h,cpp} (init,fini):
7166 moved init_fini_count_ from ACE Object_Managers to ACE, so that
7167 it is only used via ACE::init () and ACE::fini (). Thanks
7168 to Steve Huston for pointing out that the old way didin't work
7169 if an Object_Manager was created prior to starting main (),
7170 and there were ACE::init ()/ACE::fini () calls in main ().
7171
7172 Sun Apr 25 16:59:21 1999 Nanbor Wang <[email protected]>
7173
7174 * include/makeinclude/platform_sunos5_kcc.GNU: Fixed incorrect
7175 compiler flags.
7176
7177 * ace/config-sunos5.7.h: Added definition of uint64_t on KAI.
7178
7179 * ace/config-kcc-common.h: Changed to use non-static object
7180 manager.
7181 Defined ACE_SIZEOF_LONGLONG. KAI compiler has type long long.
7182
7183 * ace/OS.h: ACE_NOTREACHED should expand to nothing on KAI
7184 compiler.
7185
7186 * ace/CDR_Stream.h (ACE_CDR): KAI compiler doesn't have
7187 longlong_t.
7188
7189 * ace/Basic_Types.h: KAI compiler should define ACE_UINT64 as
7190 unsigned long long.
7191
7192 Sun Apr 25 14:52:18 1999 Douglas C. Schmidt <[email protected]>
7193
7194 * COPYING,
7195 TAO/COPYING: Updated the ACE+TAO COPYING information to
7196 emphasize the relationship to open source. Thanks to Malcolm
7197 Spence <[email protected]> for suggesting the wording.
7198
7199 Sat Apr 24 23:03:31 1999 Alexander Babu Arulanthu <[email protected]>
7200
7201 * ACE_wrappers/ace/POSIX_Asynch_IO.cpp
7202 * ACE_wrappers/ace/POSIX_Asynch_IO.h
7203 * ACE_wrappers/ace/POSIX_Proactor.cpp
7204 * ACE_wrappers/ace/POSIX_Proactor.h
7205 * ACE_wrappers/ace/Proactor.cpp
7206 * ACE_wrappers/ace/Proactor.h
7207 * ACE_wrappers/ace/Proactor_Impl.h
7208
7209 * ACE_wrappers/examples/Reactor/Proactor/Makefile
7210 * ACE_wrappers/examples/Reactor/Proactor/README
7211 * ACE_wrappers/examples/Reactor/Proactor/test_aiocb.cpp
7212 * ACE_wrappers/examples/Reactor/Proactor/test_aiosig.cpp
7213 * ACE_wrappers/examples/Reactor/Proactor/test_aiosig_ace.cpp
7214 * ACE_wrappers/examples/Reactor/Proactor/test_proactor.cpp
7215 * ACE_wrappers/examples/Reactor/Proactor/test_timeout.cpp
7216
7217 - Completed Multithreading of POSIX_SIG_Proactor.
7218
7219 - Introduced another constructor for ACE_POSIX_SIG_Proactor for taking
7220 signal mask to be used with the Proactor.
7221
7222 - Thanks to Dave Butenhof <[email protected]> for helping a lot to
7223 understand the various things in the POSIX4 standard.
7224
7225 - Thanks to Dave suggestion of keeping null_handler for the sigaction
7226 to real-time signals. With this and a couple of other correct POSIX
7227 things SIG proactor is now working with in Solaris 2.7.
7228
7229 - Lynx OS doesnt support <pthread_sigmask>, so it couldnt be
7230 multithreaded. Enabled AIOCB_Proactor for this platform.
7231
7232 - Added an example to make use of the real-time signal numbers for the
7233 asynchronous I/O calls.
7234
7235 * examples/Reactor/Proactor/test_posix_sig_proactor.cpp: This
7236 program demonstrates how to post fake completions to The
7237 Proactor. It also shows the how to specify the particular
7238 real-time signals to post completions.
7239
7240 * ace/config-lynxos.h: Enabled ACE_POSIX_AIOCB_PROACTOR for this
7241 platform, since <pthread_sigmask> was not available. Without
7242 <pthread_sigmask>, SIG_Proactor can not work correctly.
7243
7244 * ace/config-linux-lxpthreads.h: Removed ACE_HAS_AIO_CALLS. Even
7245 simple aio calls test is hanging.
7246
7247 Sat Apr 24 13:09:27 1999 Douglas C. Schmidt <[email protected]>
7248
7249 * ace/Containers_T.h: Added allocator support to ACE_Array.
7250 Thakns to Paul Francis <[email protected]> for contributing this.
7251
7252 * ace/Future.h (class ACE_Future): Make sure to mention that
7253 get()'s ACE_Time_Value must be in absolute, not relative, time.
7254 Thanks to Ian MacDonald <[email protected]> for reporting this.
7255
7256 Sat Apr 24 07:24:51 1999 David L. Levine <[email protected]>
7257
7258 * tests/Reverse_Lock_Test.cpp: removed ACE_Guard<ACE_SYNCH_MUTEX>
7259 instantiation because it's in ace/Synch.cpp.
7260
7261 * ace/config-vxworks5.x.h: added ACE_THR_PRI_OTHER_DEF
7262 #define, for use by MT_Cubit.
7263
7264 * ace/Object_Manager.cpp, OS.cpp (fini): unconditionally set
7265 instance_ to 0 at the end. This allows init () to
7266 work properly if called after fini (), such as for
7267 repeated test on VxWorks. Thanks to Todd Mullanix
7268 <[email protected]> for reporting this.
7269
7270 Fri Apr 23 17:53:24 1999 David L. Levine <[email protected]>
7271
7272 * include/makeinclude/platform_vxworks5.x_g++.GNU:
7273 for PPC860, changed -m=860 to -mcpu=860. Thanks to
7274 Todd Mullanix <[email protected]> for reporting this.
7275
7276 Fri Apr 23 15:48:31 1999 James Hu <[email protected]>
7277
7278 * ace/OS.h:
7279 * ace/OS.i:
7280 * ace/README:
7281 * ace/config-sunos5.5.h: added support for the memchr
7282 library call, and created ACE_HAS_MEMCHR macro.
7283
7284 Fri Apr 23 10:48:31 1999 David L. Levine <[email protected]>
7285
7286 * tests/New_Fail_Test.cpp (main): added uses of the
7287 two static functions when they're not otherwise used,
7288 to prevent g++ warnings.
7289
7290 Fri Apr 23 09:11:24 1999 Carlos O'Ryan <[email protected]>
7291
7292 * tests/Reverse_Lock_Test.cpp:
7293 Fixed template instantiation problems.
7294
7295 Thu Apr 22 21:39:44 1999 Ossama Othman <[email protected]>
7296
7297 * tests/Makefile.am:
7298
7299 Added support to create the `tests/log' directory after
7300 the tests have been built.
7301
7302 * tests/log/Makefile.am
7303
7304 The above change deprecates this Makefile.am file. Thanks to
7305 Nanbor for motivating this change.
7306
7307 Thu Apr 22 20:50:30 1999 Jeff Parsons <[email protected]>
7308
7309 * ace/CDR_Stream.i: Modified reset() to reset all the message
7310 blocks, instead of just the first one as it had previously done.
7311 Thanks to Jerry D. De Master <[email protected]> for pointing
7312 out the problem and suggesting a fix.
7313
7314 Thu Apr 22 19:40:52 1999 Steve Huston <[email protected]>
7315
7316 * ace/OS.h: Adjust exception thrown at out-of-memory for HP-UX, aC++.
7317
7318 * ace/config-hpux-10.x-hpc++.h: Add ACE_NEW_THROWS_EXCEPTIONS.
7319
7320 Thu Apr 22 19:30:01 1999 Irfan Pyarali <[email protected]>
7321
7322 * ace/Synch_T.h (class ACE_Reverse_Lock): Added an interesting
7323 adapter class that changes a lock into a reverse lock, i.e.,
7324 acquire() on this class calls release() on the lock, and
7325 release() on this class calls acquire() on the lock.
7326
7327 One motivation for this class is when we temporarily want to
7328 release a lock (which we have already acquired) but then
7329 reaquire it soon after. An alternative design would be to add a
7330 Anti_Guard or Reverse_Guard class which would release() on
7331 construction and acquire() destruction. However, there are
7332 *many* varieties of the Guard class and this design choice would
7333 lead to at least 6 new classes. One new ACE_Reverse_Lock class
7334 seemed more reasonable.
7335
7336 * tests/Reverse_Lock_Test.cpp: Test for the new ACE_Reverse_Lock
7337 class.
7338
7339 * tests/Env_Value_Test.cpp (main): Fixed UNICODE string
7340 concatenation problem.
7341
7342 * tests/version_tests: Added a bunch of missing project files.
7343
7344 * ace/ace_lib.dsp: Added missing files.
7345
7346 Thu Apr 22 19:10:52 1999 Steve Huston <[email protected]>
7347
7348 * ace/ATM_Addr.cpp: Put in class's consts for non-FORE platforms.
7349
7350 Thu Apr 22 17:05:36 1999 Nanbor Wang <[email protected]>
7351
7352 * bin/auto_compile_win32.pl: Added version_tests.
7353
7354 * include/makeinclude/platform_sunos5_kcc.GNU: Makefile macros for
7355 KAI C++ compiler.
7356
7357 * ace/config-sunos5.5.h: Added KAI C++ compiler support.
7358
7359 * docs/exceptions.html: Explicitly state that ACE try macros will
7360 replace TAO try macros and advise users to take action if they
7361 are still using TAO try macros. Thanks to Don Busch
7362 <[email protected]> for pointing this out.
7363
7364 Thu Apr 22 15:07:10 1999 David L. Levine <[email protected]>
7365
7366 * include/makeinclude/platform_vxworks5.x_g++.GNU:
7367 added PPC860 support. Thanks to Todd Mullanix
7368 <[email protected]> figuring out how to
7369 support it, with help from Thomas Mehrkam <[email protected]>
7370 and Hai Vu <[email protected]>.
7371
7372 Thu Apr 22 13:26:26 1999 Irfan Pyarali <[email protected]>
7373
7374 * ace/XtReactor.cpp (remove_handler_i): In the registration phase,
7375 we registered first with ACE_Select_Reactor and then with X.
7376 Now we are now doing things in reverse order. Thanks to JM
7377 Strauss <[email protected]> for contributing these changes.
7378
7379 Thu Apr 22 13:23:00 1999 Chris Gill <[email protected]>
7380
7381 * include/makeinclude/platform_psos_diab_ppc.GNU: commented out -g
7382 switch which was triggering a bug in the Diab 4.2b compiler when
7383 compiling in debug information. This is supposed to be fixed in
7384 the 4.3a release of the Diab compiler. The ACE tests all compile
7385 now for pSOS/PPC. Thanks to Sarmeesha Reddy <[email protected]>
7386 for reporting the bug to Diab and obtaining the workaround.
7387
7388 Thu Apr 22 10:46:17 1999 Steve Huston <[email protected]>
7389
7390 * apps/JAWS/server: Added $(ACELIB) to LDLIBS to build libJAWS on AIX
7391 with xlC.
7392
7393 * tests/New_Fail_Test.cpp: Added __GNUG__ to the platforms which do not
7394 actually perform the test; added some more explanation and a better
7395 log message for when it doesn't actually run.
7396
7397 Thu Apr 22 10:28:39 1999 David L. Levine <[email protected]>
7398
7399 * ace/config-minimal.h: removed suppression of ACE_TSS_EMULATION
7400 and enable of ACE_USE_THREAD_MANAGER_ADAPTER. They're no
7401 longer necessary with the clean OS.cpp.
7402
7403 Thu Apr 22 08:52:48 1999 Steve Huston <[email protected]>
7404
7405 * tests/New_Fail_Test.cpp: Fixed to compile clean without exceptions.
7406
7407 * tests/run_tests.{sh bat}: Added New_Fail_Test.
7408
7409 Wed Apr 21 16:41:08 1999 David L. Levine <[email protected]>
7410
7411 * tests/Reactor_Performance_Test.cpp (main): added 10 second
7412 time limit to run_event_loop () call. That prevents the
7413 test from hanging forever if some of the connections
7414 are lost.
7415
7416 * tests/Priority_Reactor_Test.cpp: default to 5 children
7417 instead of 10 on LynxOS. Beyond 8, the test seems to
7418 take forever on LynxOS 3.0.0.
7419
7420 * tests/run_tests.sh: enabled Reactor_Performance_Test,
7421 Priority_Reactor_Test, Time_Service_Test, and Tokens_Test
7422 on LynxOS.
7423
7424 Wed Apr 21 16:35:21 1999 Steve Huston <[email protected]>
7425
7426 * tests/New_Fail_Test.cpp: Test to be sure that the ACE_NEW[_RETURN]
7427 stuff works correctly when heap is exhausted.
7428 * tests/Makefile: Added New_Fail_Test.
7429 * tests/tests.dsw, New_Fail_Test.dsp: Add new test to MSVC.
7430
7431 Wed Apr 21 15:35:44 1999 Steve Huston <[email protected]>
7432
7433 * ace/ACE.cpp: On Win32, with ACE_HAS_NONSTATIC_OBJECT_MANAGER, use
7434 DllMain to do ACE::init() and ACE::fini().
7435
7436 * tests/ACE_Init_Test.dsp,
7437 * tests/ACE_Init_Test.{cpp h},
7438 * tests/ACE_Init_TestDlg.{cpp h},
7439 * tests/ACE_Init_Test.(ico rc rc2 res},
7440 * tests/ACE_Init_Test_(Resource StdAfx}.h: New test to be sure that
7441 ACE DLL is initialized properly from an MFC app.
7442
7443 * tests/tests.dsw: Added ACE_Init_Test.dsp project.
7444
7445 Wed Apr 21 14:59:04 1999 David L. Levine <[email protected]>
7446
7447 * ace/OS.cpp (ACE_OS_Object_Manager::fini): on LynxOS only,
7448 disabled ACE_{recursive/thread}_mutex_destroy () calls, because
7449 they failed on LynxOS in forked children. The prevents
7450 the failure message from being printed, with no apparent
7451 ill effect.
7452
7453 Wed Apr 21 10:06:11 1999 Steve Huston <[email protected]>
7454
7455 * include/makeinclude/platform_sunos5_sunc++.GNU: Moved -lthread from
7456 the all-Orbix section to the MT-Orbix section for LIBS.
7457
7458 Wed Apr 21 09:25:16 1999 David L. Levine <[email protected]>
7459
7460 * tests/Upgradable_RW_Test.cpp (main): replaced ACE_SCHED_FIFO
7461 with THR_SCHED_FIFO in activate call. Thanks to Carlos for
7462 finding this subtle error.
7463
7464 Wed Apr 21 03:34:18 1999 Douglas C. Schmidt <[email protected]>
7465
7466 * ACE version 4.6.37 released.
7467
7468 Tue Apr 20 22:55:18 1999 David L. Levine <[email protected]>
7469
7470 * ace/OS.i (thr_join): ifdef ACE_LACKS_PTHREAD_NULL_STATUS,
7471 provide the address of a temporary variable for the status
7472 argument of ::pthread_join (), if the caller passed 0.
7473
7474 * ace/config-lynxos.h,README: added ACE_LACKS_PTHREAD_NULL_STATUS.
7475 LynxOS 3.0.0 fails ::pthread_join () calls with EFAULT
7476 if the second (status) argument is 0.
7477
7478 Tue Apr 20 21:53:32 1999 Joe Hoffert <[email protected]>
7479
7480 * examples/IPC_SAP/TLI_SAP/Makefile: Had inadvertently checked in
7481 local changes. Now undoing these changes.
7482
7483 Tue Apr 20 18:25:45 1999 Douglas C. Schmidt <[email protected]>
7484
7485 * ace/{SOCK,TLI,LSOCK,Asynch}_Acceptor.h: Replaced the use of the
7486 hard-coded backlog value of 5 with ACE_DEFAULT_BACKLOG. Thanks
7487 to Irfan for motivating this.
7488
7489 * ace/OS.h: Added a new (overriddable) macro called
7490 ACE_DEFAULT_BACKLOG that's used to control the default number of
7491 connections that can be accepted by an OS. The default value is
7492 5.
7493
7494 Tue Apr 20 18:22:00 1999 Chris Gill <[email protected]>
7495
7496 * ace/Map_T.i
7497 ace/config-psos-diab-mips.h
7498 ace/config-psos-diab-ppc.h
7499 ace/config-psos-diab.h
7500 include/makeinclude/platform_psos_diab_ppc.GNU
7501 tests/Handle_Set_Test.cpp
7502 tests/Process_Strategy_Test.cpp: fixed the remaining tests
7503 for which compiler bug workarounds were available for pSOS
7504 PPC with the Diab 4.2b compiler.
7505
7506 Tue Apr 20 16:41:39 1999 Nanbor Wang <[email protected]>
7507
7508 * ace/Thread_Manager.cpp (num_tasks_in_group): Make sure we are
7509 not searching for a null task. Thanks to Umar Syyid
7510 <[email protected]> for pointing this out.
7511
7512 Tue Apr 20 15:10:33 1999 Irfan Pyarali <[email protected]>
7513
7514 * tests/Reactor_Performance_Test.cpp: Changed the default number
7515 of connections (<opt_nconnection>) from 20 to 5 for NT. This
7516 seems reasonable since the default backlog is 5. Once we have
7517 the ability to set the backlog from the ACE_Acceptor class, we
7518 can increase this number.
7519
7520 Tue Apr 20 13:55:34 1999 Joe Hoffert <[email protected]>
7521
7522 * ace/OS.i: Fixed ACE_OS::t_free to free memory if pointer is not
7523 null.
7524
7525 * ace/TLI.h: Added default ACE_XTI_ATM_DEVICE.
7526
7527 * ace/TLI_Connector.cpp: Disabled non-blocking connects for XTI/ATM
7528 since FORE's drivers have problems with this. Also, fixed t_alloc
7529 memory leaks.
7530
7531 * ace/ATM_Addr.cpp: Added code formatting change.
7532
7533 * examples/IPC_SAP/TLI_SAP/CPP-ATM-{server,client}.cpp: Added
7534 the use of ACE_XTI_ATM_DEVICE
7535
7536 Tue Apr 20 13:30:51 1999 Douglas C. Schmidt <[email protected]>
7537
7538 * ace/ace.icc: Added a configuration file for creating a shared
7539 library with Visual Age C++.
7540
7541 Mon Apr 19 23:50:25 1999 Irfan Pyarali <[email protected]>
7542
7543 * tests/Time_Service_Test.cpp (main): Fixed error message.
7544
7545 * ace/Connector.cpp (handle_close): Removed unused argument
7546 <mask>.
7547
7548 Mon Apr 19 17:17:47 1999 Steve Huston <[email protected]>
7549
7550 * docs/tutorials/tutorials.dsw: Fixed project file name for 019-021.
7551
7552 Mon Apr 19 17:02:42 1999 Irfan Pyarali <[email protected]>
7553
7554 * ace/Connector.cpp (handle_close): There is no need to call
7555 cancel_timer() or remove_handler() from handle_close(). Removal
7556 of all svc tuples from the <reactor> is done by <cleanup_AST>.
7557
7558 Mon Apr 19 16:45:54 1999 David L. Levine <[email protected]>
7559
7560 * ace/OS.{h,cpp},Object_Manager.{h,cpp} (ACE_OS_Object_Manager,
7561 ACE_Object_Manager: added static counter to match init ()/fini ()
7562 calls. Don't destroy Object_Managers until final fini () call.
7563 Thanks to Ian MacDonald <[email protected]> for tracking down
7564 the problem with multiple DLLs in a process. This change
7565 delays destruction of the ACE_Object_Manager until the final
7566 fini () call.
7567
7568 Mon Apr 19 15:24:55 1999 Douglas C. Schmidt <[email protected]>
7569
7570 * ace/TLI_Stream.cpp (ACE_TLI_Stream): Make sure to set the value
7571 of rwflag_ to 0 so that purify is happy. Thanks to Joe Hoffert
7572 for reporting this.
7573
7574 Mon Apr 19 14:35:42 1999 Irfan Pyarali <[email protected]>
7575
7576 * examples/IPC_SAP/UPIPE_SAP/ex2.cpp (supplier):
7577 * examples/IPC_SAP/UPIPE_SAP/ex3.cpp (consumer):
7578
7579 Avoided annoying g++ warning about <auto_ptr> by explicitly
7580 making a temporary. Thanks to David for pointing this out.
7581
7582 Sun Apr 18 21:52:43 1999 David L. Levine <[email protected]>
7583
7584 * ace/config-linux-common.h: moved ACE_LACKS_MADVISE to
7585 non-glibc section. Thanks to JM Strauss <[email protected]>
7586 for reporting that it wasn't on a Linux system with a
7587 2.0.35 kernel.
7588
7589 Sun Apr 18 16:36:30 1999 Ossama Othman <[email protected]>
7590
7591 * ace/config-linux-common.h (ACE_LACKS_MADVISE):
7592
7593 Re-enabled #define ACE_LACKS_MADVISE. Linux doesn't appear
7594 to have an madvise() system call.
7595
7596 * configure.in:
7597 * tests/Makefile.am:
7598
7599 Added libtool support for modules (dlopened libraries).
7600
7601 Sun Apr 18 08:48:37 1999 David L. Levine <[email protected]>
7602
7603 * ace/Auto_Ptr.i: reordered inline methods to avoid use before
7604 definition. Fixed a few ACE_TRACE comments.
7605
7606 Sun Apr 18 00:26:28 1999 Irfan Pyarali <[email protected]>
7607
7608 * tests/Notify_Performance_Test.cpp (main):
7609 * tests/Reactor_Performance_Test.cpp (main):
7610 * tests/Priority_Reactor_Test.cpp (main):
7611
7612 Avoided annoying g++ warning about <auto_ptr> by explicitly
7613 making a temporary. Thanks to David for pointing this out.
7614
7615 Sat Apr 17 18:52:38 1999 Irfan Pyarali <[email protected]>
7616
7617 * ace/Memory_Pool.cpp (acquire): Changed use of auto_ptr.
7618
7619 * ace/Auto_Ptr.i (operator=): Changed <a> to <rhs>. Thanks to
7620 David Levine and Jean-Marc Strauss <[email protected]>
7621 for reporting this.
7622
7623 Sat Apr 17 08:34:22 1999 David L. Levine <[email protected]>
7624
7625 * examples/Naming/Makefile,performance-tests/Misc/Makefile,
7626 tests/Makefile,all netsvcs Makefiles:
7627 updated for proper support of ACE subsets, with BIN2/LIB2/SHLIB2.
7628
7629 Fri Apr 16 22:14:36 1999 Irfan Pyarali <[email protected]>
7630
7631 * ace/Auto_Ptr: Made several changes to bring the implementation
7632 up to the specification:
7633
7634 - Made the constructors take non-const parameters.
7635 - Made release() non-const.
7636 - Added reset().
7637
7638 Thanks to Simeon Simeonov <[email protected]>, Rainer Blome
7639 <[email protected]>, Jody Hagins <[email protected]>, and John
7640 Mulhern <[email protected]> for helping.
7641
7642 * tests/Reactor_Performance_Test.cpp: Updated to work with new
7643 auto pointer implementation.
7644
7645 Fri Apr 16 19:36:35 1999 Alexander Babu Arulanthu <[email protected]>
7646
7647 * ace/Proactor.h (ACE_Proactor): Switched the order of TIMER_QUEUE
7648 and delete_implementation in the constructor.
7649
7650 * examples/Reactor/Proactor/test_multiple_loops.cpp: Fixed to work
7651 on the WIN32 correctly. This can work only on WIN32 (combining
7652 Proactor with Reactor's event loop). So I have put a #if defined
7653 around the file.
7654
7655 Fri Apr 16 18:09:44 1999 Irfan Pyarali <[email protected]>
7656
7657 * tests/Conn_Test.cpp (server): If we timeout on accept(), it is
7658 not an error, and should not be reported as one. Thanks to
7659 Thomas Mehrkam <[email protected]> for pointing this out.
7660
7661 Fri Apr 16 13:08:49 1999 David L. Levine <[email protected]>
7662
7663 * ace/OS.{h,cpp},ACE.{h,cpp}: (read_n,send_n,write_n): moved
7664 from ACE to ACE_OS, so that the uses in OS.cpp could be localized.
7665 The ACE versions are now just wrappers over the ACE_OS
7666 versions, for backward compatibility. Thanks to
7667 Erik Ivanenko <[email protected]> for reporting
7668 that OS.cpp used a couple of the ACE static member functions.
7669
7670 Fri Apr 16 10:13:14 1999 David L. Levine <[email protected]>
7671
7672 * include/makeinclude/rules.nested.GNU,ACE-INSTALL.html: added
7673 support for recursive make invocations with Windows NT's shell.
7674 Thanks to Dave Steele <[email protected]> for diagnosing the
7675 problem, and Tres Seaver <[email protected]> for providing
7676 the wild NT FOR command. Check it out, Darrell.
7677
7678 Fri Apr 16 07:52:11 1999 Darrell Brunsch <[email protected]>
7679
7680 * ace/High_Res_Timer.cpp: Fixed my previous fix with
7681 calibrate being called on Windows NT when a high-res
7682 timer of 1 Mhz was being found. Calibrate should not
7683 be called on NT now. Thanks to Zoran Ivanovic
7684 <[email protected]> for noticing this.
7685
7686 * ace/Profile_Timer.cpp: Integrated the patch from Andy
7687 Marchewka <[email protected]> for returning rusage information
7688 from elapsed_time.
7689
7690 Thu Apr 15 16:50:21 1999 David L. Levine <[email protected]>
7691
7692 * ACE-INSTALL.html: updated discussion of "dir unexpected"
7693 error when building for VxWorks on NT. Thanks to
7694 Dave Steele <[email protected]> for providing the
7695 insight.
7696
7697 Thu Apr 15 14:04:36 1999 David L. Levine <[email protected]>
7698
7699 * include/makeinclude/rules.lib.GNU: don't call $(RANLIB)
7700 if it is null.
7701
7702 * include/makeinclude/platform_vxworks5.x_{g++,ghs}.GNU: removed
7703 RANLIB definition, so that it will be null. This prevents
7704 calling "true" on NT hosts.
7705
7706 Thanks to Thomas Mehrkam <[email protected]> for reporting
7707 that his NT host doesn't have "true".
7708
7709 Thu Apr 15 14:00:00 1999 Chris Gill <[email protected]>
7710
7711 * ace/OS.{h, i}: simplified the conditional compilation logic
7712 for a couple of the pSOS-specific ACE_OS methods, removed a
7713 handful of marker comments, added a conditional compilation
7714 branch for pid_t declaration.
7715
7716 Wed Apr 14 22:40:08 1999 David L. Levine <[email protected]>
7717
7718 * tests/run_tests.sh: call run_tests.check via sh, to support
7719 platforms that don't have /bin/sh. Thanks to Thomas Mehrkam
7720 <[email protected]> for reporting that his NT host doesn't
7721 have /bin/sh.
7722
7723 Wed Apr 14 18:56:00 1999 Chris Gill <[email protected]>
7724
7725 * ace/OS.{h, i}
7726 ace/config-psos-diab-ppc.h
7727 include/makeinclude/platform_psos_diab_ppc.GNU: changes to adapt
7728 the pSOS Diab 68k/MIPS port to PPC. Many thanks to Sarmeesha
7729 Reddy <[email protected]> and Steven Tine
7730 <[email protected]> for contributing these changes.
7731
7732 Wed Apr 14 17:06:22 1999 David L. Levine <[email protected]>
7733
7734 * ace/config-vxworks5.x.h: added #define ACE_HAS_DLL 0.
7735 Thanks to Thomas Mehrkam <[email protected]> for
7736 reporting that it's necessary on NT hosts.
7737
7738 Wed Apr 14 13:10:48 1999 Alexander Babu Arulanthu <[email protected]>
7739
7740 * ace/config-sunos5.7.h:
7741 Enabled ACE_HAS_AIO_CALLS for Solaris
7742 7. ACE_POSIX_AIOCB_PROACTOR works now on this.
7743 * examples/Reactor/Proactor/test_aiocb.cpp: Updated comments.
7744 * ace/config-sunos5.6.h: Removed the ACE_AIORETURN/ERROR macros.
7745 * ace/Proactor.cpp (ACE_Proactor): Removed debug print statments.
7746 * ace/config-lynxos.h: Removed the ACE_AIORETURN/ERROR macros.
7747 * ace/POSIX_Proactor.cpp:
7748 * ace/WIN32_Asynch_IO.h:
7749 * ace/WIN32_Asynch_IO.cpp:
7750 * ace/WIN32_Proactor.h:
7751 * ace/WIN32_Proactor.cpp:
7752 * ace/Proactor_Impl.h:
7753 Completed committing changes related to the <signal_number>
7754 additions done earlier.
7755
7756 Wed Apr 14 09:07:38 EDT 1999 Aniruddha Gokhale <[email protected]>
7757
7758 * ace/POSIX_Proactor.cpp:
7759
7760 Several methods were missing the "int signal_number" parameter
7761 that was added as mentioned in the log entry below. In addition,
7762 an undefined ACE_SIG_AIO flag was used. I found a log entry in
7763 ChangeLog-98b which says that ACE_SIG_AIO is ACE_SIGRTMIN. So I
7764 replaced the 5 occurrences of ACE_SIG_AIO with ACE_SIGRTMIN.
7765
7766 Wed Apr 14 02:34:13 1999 Alexander Babu Arulanthu <[email protected]>
7767
7768 Added additional parameter <int signal_number> to all the Asynchronos
7769 Operation method so that we can specify which real-time signal should
7770 be used for each of the Asynchronous Operation. This only makes sense
7771 in the ACE_SIG_Proactor configuration.
7772
7773 * ace/Asynch_IO_Impl.h:
7774 * ace/Asynch_IO.h:
7775 * ace/Asynch_IO.cpp:
7776 * ace/POSIX_Asynch_IO.h:
7777 * ace/POSIX_Asynch_IO.cpp:
7778 * ace/POSIX_Proactor.h:
7779
7780 - For each asynchronous call issued, the real-time signal is
7781 registered with the Proactor so that it can wait for the completions
7782 using that signal. Previously, the signal number for all the
7783 operations was the same signal and it was hard coded.
7784
7785 - <register_aio_with_proactor> method which earlier existed only for
7786 <AIOCB_Proactor> has been added to <SIG_Proactor>
7787 also. <SIG_Proactor> just takes the <signal_number> from the result
7788 object and registers the signal number. Registering involves,
7789 masking the signal, setting the signal delivery for that RT signal
7790 etc.
7791
7792 - Allowing to specify signal number for each operation can be useful,
7793 since the order in which the completions are delivered from the
7794 completion queue, is based on the signal numbers in addition to the
7795 priority. Applications might want to leverage this.
7796
7797 * ace/OS.h:
7798 OS.h has been defined with ACE_SIGRTMIN and ACE_SIGRTMAX, which are
7799 defined to SIGRTMIN and SIGRTMAX respectively, for POSIX4
7800 platforms. For others, they are 0.
7801
7802 Tue Apr 13 15:29:37 1999 David L. Levine <[email protected]>
7803
7804 * ace/Object_Manager.cpp: moved ACE_Service_Config signal
7805 handler allocation from constructor to init (). Tidy,
7806 tidy, tidy.
7807
7808 Tue Apr 13 14:52:15 1999 Joe Hoffert <[email protected]>
7809
7810 * ace/ATM_Addr.cpp: Fixed g++ warnings of unused parameters.
7811
7812 Tue Apr 13 14:47:18 1999 David L. Levine <[email protected]>
7813
7814 * tests/Basic_Types_Test.cpp (main): replaced call to sysconf ()
7815 with ACE_OS::sysconf (). Thanks to Erik Ivanenko
7816 <[email protected]> for noticing this.
7817
7818 Tue Apr 13 14:17:48 1999 David L. Levine <[email protected]>
7819
7820 * ace/OS.cpp: replaced use of ACE_TSS<T> with ACE_WIN32 or
7821 ACE_HAS_TSS_EMULATION with native use of ACE_OS TSS, to remove
7822 dependency on ace/Synch.h. Also, changed ACE_OS::NULL_key to
7823 be -1 instead of 0 with ACE_HAS_TSS_EMULATION.
7824
7825 Tue Apr 13 09:05:25 1999 David L. Levine <[email protected]>
7826
7827 * ace/Sched_Params.i (ACE_Sched_Priority_Iterator): removed
7828 ACE_TRACE's, because Sched_Param is in the ACE_OS (lowest)
7829 component. Thanks to Erik Ivanenko <[email protected]>
7830 for reporting this.
7831
7832 Tue Apr 13 08:21:41 1999 Steve Huston <[email protected]>
7833
7834 * include/makeinclude/platform_sunos5_sunc++.GNU
7835 * include/makeinclude/platform_sunos5_sunc++_orbix.GNU: Added a make
7836 option, mt_orbix, to control whether the MT or non-MT variant of
7837 Orbix is used. Default is MT; to use non-MT, "make mt_orbix=0".
7838
7839 * ace/config-sunos5.x-sunc++-4.x-orbix.h: Include correct config-sunos5
7840 file based on OS version at compile time. Allow site config to
7841 specify ACE_HAS_MT_ORBIX 0.
7842
7843 Mon Apr 12 14:24:28 1999 David L. Levine <[email protected]>
7844
7845 * include/makeinclude/rules.local.GNU (realclean.local):
7846 added BIN2, LIB2, SHLIB2, and SHLIBA2 to support
7847 subsetting. It allows realclean to remove old BIN,
7848 LIB, SHLIB, and SHLIBA targets after remove the
7849 ace_components information file. Also, removed explicit
7850 -f following $(RM). -f should be included in the RM macro
7851 if appropriate for the platform.
7852
7853 Mon Apr 12 13:01:32 1999 David L. Levine <[email protected]>
7854
7855 * ace/gethrtime.cpp (ACE_gethrtime),Makefile: added support for
7856 rdtsc instruction with GHS on Intel targets. Thanks to
7857 Andy Alvarez <[email protected]> for providing the assembly
7858 instructions to do this!
7859
7860 Mon Apr 12 12:04:20 1999 Joe Hoffert <[email protected]>
7861
7862 * ace/Makefile,ATM_Addr.cpp:
7863 Added ACE_ATM_Addr class back into Makefile since it's working
7864 now. Fixed address initialization problem in ACE_ATM_Addr.
7865 NOTE: This code currently only works with Solaris 2.5/2.6. Will
7866 need to update the code for FORE's implementation on Solaris 2.7.
7867 NOTE: To use FORE's XTI/ATM implementation the following #defines
7868 need to be included (typically in ace/config.h):
7869 #define ACE_HAS_FORE_ATM_XTI
7870 #define ACE_HAS_TIUSER_H_BROKEN_EXTERN_C
7871 #define ACE_TLI_TCP_DEVICE "/dev/xtisvc*" //(e.g., /dev/xtisvc0)
7872 AND the following flags are needed to build the ace library
7873 (typically in include/makeinclude/platform_macros.GNU):
7874 CPPFLAGS += -I$(FORE_ROOT)/include
7875
7876 Mon Apr 12 10:04:31 1999 Carlos O'Ryan <[email protected]>
7877
7878 * include/makeinclude/rules.local.GNU:
7879 The default rule to compile .idl files is only enabled if
7880 TAO_ROOT is not defined, otherwise we should use the rule in
7881 $TAO_ROOT/rules.tao.GNU
7882
7883 Mon Apr 12 00:18:23 1999 Douglas C. Schmidt <[email protected]>
7884
7885 * ACE version 4.6.36 released.
7886
7887 Sun Apr 11 17:06:53 1999 Alexander Babu Arulanthu <[email protected]>
7888
7889 * examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp (run_client): Fixed
7890 the warnings on Linux (config-linux.h).
7891
7892 Sun Apr 11 16:09:16 1999 Douglas C. Schmidt <[email protected]>
7893
7894 * examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp (run_client): Made
7895 some fixes if ACE_MT_SAFE is false... Thanks to Alex for
7896 reporting these.
7897
7898 Sun Apr 11 16:02:49 1999 Alexander Babu Arulanthu <[email protected]>
7899
7900 * examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp (create_handler):
7901 Fixed the warnings (control reaching end of block) and error (passing
7902 u_long to close) which showed up on Linux(with config-linux.h)
7903
7904 * performance-tests/Misc/preempt.cpp,
7905 * examples/Threads/task_five.cpp: Replaced ACE_MT_SYNCH by
7906 ACE_SYNCH to get it compile on Linux.
7907
7908 Sun Apr 11 14:38:22 1999 Ossama Othman <[email protected]>
7909
7910 * configure.in: Added test for ACE_NEEDS_FUNC_DEFINITIONS.
7911 Corrected bug in ACE_TEMPLATES_REQUIRE_SOURCE test.
7912
7913 Sat Apr 10 14:02:11 1999 Douglas C. Schmidt <[email protected]>
7914
7915 * ace/Malloc[_Base]: Added a new no-op constructor for
7916 ACE_Allocator to hopefully work around a problem with DEC UNIX
7917 C++.
7918
7919 Fri Apr 09 10:08:49 1999 David L. Levine <[email protected]>
7920
7921 * include/makeinclude/platform_vxworks5.x_g++.GNU:
7922 enable -fno-implicit-templates for targets other than
7923 Intel. It appears to work for PPC targets, and is necessary
7924 to avoid compiler warnings about different symbol sizes
7925 in object files. Thanks to Thomas Mehrkam <[email protected]>
7926 for tracking down the source of the warnings, and verifying
7927 that -fno-implicit-templates works for PPC targets.
7928
7929 Fri Apr 09 08:14:55 1999 David L. Levine <[email protected]>
7930
7931 * include/makeinclude/rules.local.GNU: replaced "ln -s" with
7932 $(LN_S), and set that to "ln -s" by default. Thanks to
7933 Rainer Blome <[email protected]> for suggesting this.
7934
7935 Fri Apr 9 00:38:03 1999 Douglas C. Schmidt <[email protected]>
7936
7937 * ace/SOCK_Acceptor.cpp (shared_accept): Make sure to disable
7938 ACE_NONBLOCK on the newly accepted socket since otherwise
7939 applications can have weird behavior. Thanks to Margaret Reitz
7940 <[email protected]> and Irfan for helping to track this down.
7941
7942 Thu Apr 08 13:47:03 1999 David L. Levine <[email protected]>
7943
7944 * BUG-REPORT-FORM,PROBLEM-REPORT-FORM,
7945 README,VERSION,Makefile,Makefile.am,bin/make_release,
7946 docs/ACE-bug-process.html: moved BUG-REPORT-FORM
7947 to PROBLEM-REPORT-FORM. Thanks to Thomas Lockhart
7948 <[email protected]> for suggesting this.
7949
7950 * docs/ACE-guidelines.html: added checklist for ACE/TAO changes,
7951 including commit with a meaningful message, update a
7952 ChangeLog, and ack and respond to the requestor.
7953
7954 Thu Apr 8 13:18:22 1999 Alexander Babu Arulanthu <[email protected]>
7955
7956 * ace/SString.h: Updated the documentation to show that "Memory is
7957 _not_ allocated/freed if <release> is 0".
7958
7959 Wed Apr 7 20:24:48 1999 Nanbor Wang <[email protected]>
7960
7961 * ace/CORBA_macros.h (ACE_DECLARE_NEW_CORBA_ENV): Removed the
7962 trailing semi-column. Thanks to Marina for the reminder.
7963
7964 Wed Apr 7 19:09:05 1999 Douglas C. Schmidt <[email protected]>
7965
7966 * ace/Containers_T: Replaced all Foo &Foo::operator=() with void
7967 Foo::operator=() to avoid nasty problems with propagation of
7968 errors. Thanks to Chris Schleicher <[email protected]> for
7969 reporting this.
7970
7971 Wed Apr 07 17:25:07 1999 Nanbor Wang <[email protected]>
7972
7973 * apps/Gateway/Gateway/connection_config: Changed the connection 1
7974 and 2 to use localhost since it would probably be the most
7975 common test case.
7976
7977 * apps/Gateway/README: Replaced all references of proxy_config
7978 to connection_config. Also change the example port number to
7979 10011 and 10012 which are the default port number used by the
7980 gatewayd.
7981
7982 Thanks to Sam Rhine <[email protected]> for reporting
7983 this.
7984
7985 Wed Apr 7 16:36:41 1999 Darrell Brunsch <[email protected]>
7986
7987 * ACE-INSTALL.html: Put a note in saying to rebuild all
7988 when upgrading releases.
7989
7990 Wed Apr 07 14:25:47 1999 Joe Hoffert <[email protected]>
7991
7992 * ace/ATM_Addr.{h,cpp}: modified files to compile for
7993 machines without FORE XTI/ATM support.
7994
7995 * examples/IPC_SAP/TLI_SAP/CPP-{server,client}.cpp:
7996 modified files to take out XTI/ATM code.
7997
7998 * examples/IPC_SAP/TLI_SAP/Makefile,CPP-ATM-{server,client}.cpp:
7999 added separate test files for XTI/ATM
8000
8001 Wed Apr 7 14:20:59 1999 Jeff Parsons <[email protected]>
8002
8003 * ace/Basic_Types.h:
8004 Added a signed companion to David's
8005 ACE_UINT64_LITERAL, to avoid MSVC warnings. If
8006 the platform has no 8-byte integer, this is
8007 useless, but we must keep all compilers happy.
8008 Also modified ACE_INT64_MAX tp use this, and
8009 added a signed companion to
8010 ACE_UINT64_FORMAT_SPECIFIER.
8011
8012 Wed Apr 07 13:57:33 1999 David L. Levine <[email protected]>
8013
8014 * ACE-INSTALL.html: updated egcs shared library discussion
8015 with information from Tim Rose <[email protected]>
8016 that egcs 1.1.1 statics libs work fine on Solaris 2.6.
8017
8018 Wed Apr 07 13:14:34 1999 Nanbor Wang <[email protected]>
8019
8020 * ace/Service_Object.{h,i} (fini_called): Accessor to the
8021 underlying fini_already_called_ flag.
8022
8023 * ace/Service_Repository.cpp (find_i): Disallowed returning a
8024 service which fini() has been called upon.
8025
8026 Wed Apr 7 11:30:09 1999 Carlos O'Ryan <[email protected]>
8027
8028 * bin/auto_compile:
8029 Added more tests to the script.
8030
8031 Wed Apr 07 09:54:28 1999 David L. Levine <[email protected]>
8032
8033 * include/makeinclude/rules.local.GNU: instead of trying to
8034 overwrite an existing symlink with ln -f, remove it first.
8035 Thanks to Keith Rohrer <[email protected]> for reporting that
8036 Solaris' ln -f doesn't work.
8037
8038 * ace/config-vxworks_5.x.h: added ACE_HAS_RECURSIVE_MUTEXES.
8039 Thanks to Tom Venturella <[email protected]>
8040 for suggesting this, because the VxWorks semaphores that
8041 ACE uses for mutexes are recursive.
8042
8043 * ace/Synch.i (set_thread_id): added ACE_UNUSED_ARG (t), with
8044 ACE_HAS_RECURSIVE_MUTEXES.
8045
8046 Wed Apr 07 09:37:34 1999 David L. Levine <[email protected]>
8047
8048 * include/makeinclude/platform_osf1_4.0.GNU: disable warning
8049 1016 when optimization is enabled. That gets rid of the
8050 "D:incint" warning about bzero in sys/select.h.
8051
8052 * docs/ACE-guidelines.html: always use $(RM) instead of rm or
8053 rm -f in Makefiles.
8054
8055 Wed Apr 07 02:42:50 1999 Douglas C. Schmidt <[email protected]>
8056
8057 * ACE version 4.6.35 released.
8058
8059 Wed Apr 07 02:04:30 1999 Douglas C. Schmidt <[email protected]>
8060
8061 * ACE version 4.6.34 released.
8062
8063 Tue Apr 6 21:09:32 1999 Douglas C. Schmidt <[email protected]>
8064
8065 * ace/ATM_Addr: Added the ATM_Addr.* files into the CVS
8066 respository. However, we're not going to enable this in the
8067 Makefile or project files until they are tested.
8068
8069 Tue Apr 6 20:48:16 1999 Jeff Parsons <[email protected]>
8070
8071 * ace/Basic_Types.h:
8072 Added max and min #defines for various ACE data types. Now,
8073 when using the ACE or ACE_CDR data types, we need not
8074 depend on the vagaries of limits.h and float.
8075
8076 Tue Apr 6 20:39:01 1999 Ossama Othman <[email protected]>
8077
8078 * ace/Log_Record.cpp (format_msg):
8079 * ace/Log_Record.cpp (print):
8080
8081 Changed host_name[] to *host_name since null pointers were being
8082 passed into the host_name array. Strictly speaking, host_name
8083 should thus be a pointer, not an array. Also cleaned up
8084 ternary operator in format_msg() by parenthesizing some
8085 expressions.
8086
8087 Tue Apr 6 20:19:23 1999 Douglas C. Schmidt <[email protected]>
8088
8089 * ace/Makefile: Removed the ATM_Addr files until Joe can
8090 get them checked in.
8091
8092 Tue Apr 06 19:36:24 1999 Irfan Pyarali <[email protected]>
8093
8094 * ace/Active_Map_Manager.h (ACE_Active_Map_Manager_Key): Added a
8095 separate structure that holds the fields of the key. This
8096 separate structure makes it easier to manage copying the index
8097 and the generation to and from the user buffer.
8098
8099 Tue Apr 6 16:07:29 1999 Douglas C. Schmidt <[email protected]>
8100
8101 * ace/Synch.cpp (get_thread_id): If we have recursive mutexes then
8102 it's not possible to get the id of the thread that's currently
8103 holding the mutex. Thanks to David for reporting this.
8104
8105 Tue Apr 6 15:50:14 1999 Balachandran Natarajan <[email protected]>
8106
8107 * docs/exceptions.html:
8108 Updated the documentation.
8109
8110 Tue Apr 6 15:25:56 1999 Darrell Brunsch <[email protected]>
8111
8112 * ace/High_Res_Timer.{h,i,cpp}: On Win32, don't call calibrate if
8113 we cannot get the scale factor. Instead, just automatically
8114 fall back on ACE_OS::gettimeofday ().
8115
8116 Also added another static variable to represent the conditions
8117 where the global scale factor is not set yet or high resolution
8118 timers are not supported.
8119
8120 Tue Apr 06 15:14:29 1999 David L. Levine <[email protected]>
8121
8122 * ace/Basic_Types.h: added ACE_UINT64_LITERAL for platforms
8123 with ACE_LACKS_U_LONGLONG_T.
8124
8125 * tests/Basic_Types_Test.cpp: added test of ACE_UINT64_LITERAL.
8126
8127 Tue Apr 06 14:54:56 1999 Nanbor Wang <[email protected]>
8128
8129 * tests/Message_Queue_Test.cpp (performance_test):
8130 * tests/Message_Queue_Notifications_Test.cpp (producer): Unicode
8131 related change.
8132
8133 * ace/ace_ce_dll.dsp: Added Active_Map_Manager.cpp.
8134
8135 * ace/OS.h:
8136 * ace/config-WinCE.h: CE now uses non-static object manager.
8137
8138 * WindozeCE/WindozeCE.h: Instantiate the non-static object manager
8139 within the class.
8140
8141 * WindozeCE/WindozeCEDlg.cpp: We should register the bridge window
8142 using its HANDLE so it would work no matter we build ACE with or
8143 without MFC support.
8144
8145 Tue Apr 6 14:17:06 1999 Joe Hoffert <[email protected]>
8146
8147 * ace/OS.h: Added support for the FORE ATM XTI interface.
8148
8149 * ace/TLI_{Acceptor,Connector}: Added support for the FORE ATM XTI
8150 interface.
8151
8152 * ace/ATM_Addr: Added support for ATM address for the XTI ATM
8153 driver. Eventually, this class will be generalized to work on
8154 WinSock 2 ATM support, as well.
8155
8156 Tue Apr 06 13:56:18 1999 Thomas Lockhart <[email protected]>
8157
8158 * include/makeinclude/rules.local.GNU: added -f to ln -s commands,
8159 to force overwrite of old symlink. This eases moving of
8160 installed ACE code trees.
8161
8162 Tue Apr 6 00:17:59 1999 Kirthika Parameswaran <[email protected]>
8163
8164 * ace/DLL {.h, .cpp} (set_handle): Added the set_handle () method
8165 which allows the user to set the ACE_SHLIB_HANDLE for the DLL.
8166 Thanks to Bob McWhirter for bringing up this point.
8167
8168 Mon Apr 5 22:27:02 1999 Douglas C. Schmidt <[email protected]>
8169
8170 * ace/config-irix6.x-sgic++-nothreads.h: Added
8171
8172 #if !defined (ACE_HAS_NETDB_REENTRANT_FUNCTIONS)
8173 #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS
8174 #endif /* ACE_HAS_NETDB_REENTRANT_FUNCTIONS */
8175
8176 to fix a problem with SGI 6.5. Thanks to Bob Laferrie
8177 <[email protected]> for reporting this.
8178
8179 Mon Apr 5 19:42:11 1999 Ossama Othman <[email protected]>
8180
8181 * configure.in:
8182 * m4/acinclude.m4:
8183
8184 Created the macro ACE_CHECK_FOR_CVS_DIR to prevent the configure
8185 script from continuing the configuration if the current
8186 configuration directory is in a CVS controlled directory. The
8187 idea is to prevent automatically generated files from being
8188 checked into the repository. This will prevent accidental
8189 overwrites of ACE's current Makefiles by the automatically
8190 generated ones, for example.
8191
8192 In addition, this should ease the transition from the current
8193 Makefile scheme to the new Auto{conf,make}/libtool scheme since
8194 the current Makefiles can remain under CVS control without
8195 the generate Makefiles interfering with them.
8196
8197 Mon Apr 05 17:02:46 1999 David L. Levine <[email protected]>
8198
8199 * ace/High_Res_Timer.cpp (global_scale_factor ()): removed
8200 comment that said we use BogoMIPS on Linux/Intel. We
8201 only use it on Linux/alpha. Thanks to
8202 Thomas Lockhart <[email protected]> for
8203 reporting this.
8204
8205 Mon Apr 5 15:54:57 1999 Darrell Brunsch <[email protected]>
8206
8207 * ace/Profile_Timer.i: Removed ACE_OS::gettimeofday ()
8208 calls from start and stop.
8209
8210 Mon Apr 05 15:09:49 1999 David L. Levine <[email protected]>
8211
8212 * ace/OS.h: removed second #include of netdb.h. Thanks to
8213 John H Aughey <[email protected]> for reporting this.
8214
8215 Mon Apr 05 14:17:31 1999 David L. Levine <[email protected]>
8216
8217 * ace/Trace.cpp: removed unnecessary (and complicated)
8218 #include of ace/ACE.h.
8219
8220 Mon Apr 5 13:21:49 1999 Alexander Babu Arulanthu <[email protected]>
8221
8222 * ace/Proactor.cpp:
8223 (svc):
8224 * ace/POSIX_Proactor.cpp:
8225 * ace/POSIX_Proactor.h:
8226 * ace/Proactor.h:
8227 * ace/Proactor_Impl.h:
8228 * ace/WIN32_Proactor.cpp:
8229 * ace/WIN32_Proactor.h:
8230 * examples/Reactor/Proactor/test_timeout.cpp:
8231 Completed Timers implementation for POSIX platforms. Timers
8232 implementation is now common for POSIX and WIN32. Portable
8233 ACE_Auto_Event is used in the auxillary thread to wait for the
8234 Timer events.
8235 The Timer's code in WIN32 has been removed and the common code exists
8236 in Proactor.{h,cpp} only.
8237 A new factory method called create_asynch_timer has been created to
8238 create the Timer Result class. This is used internally by the Proactor
8239 to post timer completions to the Proactor completion
8240 queue. Application may want to use this directly to fake
8241 completions.
8242
8243 Mon Apr 05 12:05:01 1999 David L. Levine <[email protected]>
8244
8245 * ace/OS.*,Thread_Manager.{h,cpp}: moved flags members from
8246 ACE_Thread_Descriptor to a new ACE_OS_Thread_Descriptor base
8247 class, to remove dependency of OS.cpp on Thread_Manager.h.
8248
8249 Sun Apr 4 18:19:05 1999 Ossama Othman <[email protected]>
8250
8251 * configure.in:
8252
8253 Changed ANSI C++ cast test to fail on warnings. Currently,
8254 only g++ and Sun C++ warning/error conversion is supported.
8255
8256 Moved the ACE_SET_COMPILER_FLAGS macro after the AC_ARG_ENABLE
8257 and AC_ARG_WITH calls so that user settings can influence what
8258 compiler flags get set.
8259
8260 Removed some M4 comments (`dnl') that were inside of the
8261 template specialization test header block. The test was failing
8262 since `dnl' was being quoted by M4 and actually placed inside
8263 the test program source during test source compilation. Also
8264 corrected a typo in the same test.
8265
8266 Changed test for ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION so
8267 that it attempts to link instead of just compile. Hopefully
8268 this will make the test "tougher."
8269
8270 * m4/compiler.m4:
8271
8272 Added `-features=castop' compiler flag and completed support for
8273 `-features=rtti' via `--enable-rtti'. These flags only work for
8274 Sun C++ 4.2. Added support for the `-noex' Sun C++ compiler flag
8275 when the user disables exception handling.
8276
8277 * m4/platform.m4: Minor comment updates.
8278
8279 Sat Apr 3 19:41:36 1999 Nanbor Wang <[email protected]>
8280
8281 * ace/TTY_IO.cpp (control): Disabled support for higher baudrate
8282 for non-NT platforms.
8283
8284 Sat Apr 3 19:37:07 1999 Douglas C. Schmidt <[email protected]>
8285
8286 * ace/TTY_IO.cpp (control): Added support for more modem speeds.
8287 Thanks to Valery Arkhangorodsky <[email protected]> for
8288 reporting this.
8289
8290 Sat Apr 3 17:02:48 1999 James CE Johnson <[email protected]>
8291
8292 * docs/tutorials/*: Regenerated all the HTML to get the hyperlinks
8293 into the various headers. I'm sure somebody will let me know if I
8294 munged it all.
8295
8296 * docs/tutorials/(019|020|021) : Finally made myself sit down and
8297 add Kirthika's last abstracts.
8298
8299 Sat Apr 3 15:27:07 1999 Ossama Othman <[email protected]>
8300
8301 * Makefile.am
8302 * ace/Makefile.am
8303 * netsvcs/clients/Naming/Client/Makefile.am
8304 * netsvcs/clients/Tokens/manual/Makefile.am
8305 * netsvcs/lib/Makefile.am
8306 * tests/Makefile.am
8307
8308 Added targets to clean up files and directories created during
8309 compilation. Automake will setup the `clean-local' targets to
8310 run automatically whenever a `make clean' is done.
8311
8312 Fri Apr 02 23:25:11 1999 David L. Levine <[email protected]>
8313
8314 * bin/make_release: added TAO/tao/Version.h. Thanks to
8315 Nanbor for suggesting this.
8316
8317 * ace/OS.cpp: removed use of ACE_Array with WIN32 and
8318 TSS_EMULATION. In doing this, fixed an off-by-one error:
8319 ACE_TSS_Cleanup::remove () would try to remove key value
8320 "n" from an ACE_Array of size "n".
8321
8322 Fri Apr 2 19:19:09 1999 Ossama Othman <[email protected]>
8323
8324 * bin/autogen: Update NEWS file by copying VERSION. Temporary
8325 hack to make Automake happy when doing a `make dist'.
8326
8327 Fri Apr 2 18:37:29 1999 Ossama Othman <[email protected]>
8328
8329 * configure.in: Placed the asynchronous IO checks right after
8330 the thread library checks. This was done to make sure the
8331 library with AIO support gets added to the link list before
8332 the rest of the tests start, and to make sure that it doesn't
8333 get added if AIO isn't supported or isn't working.
8334
8335 * Makefile.am (ACE_EXTRA_DIST): Changed directory names to use
8336 `$(top_srcdir)' instead of the current directory `.'. This
8337 allows a distribution to be made from a directory other than
8338 ACE's top level source directory.
8339
8340 * m4/compiler.m4: Explicitly add the `-xildoff' flag to Sun CC's
8341 LDFLAGS. This is just a precautionary measure. It shouldn't
8342 be needed.
8343
8344 Fri Apr 2 12:41:09 1999 Ossama Othman <[email protected]>
8345
8346 * ace/Containers_T.h (all of the classes listed below):
8347 * ace/Containers_T.i (ACE_Array):
8348 * ace/Containers_T.i (ACE_DLList):
8349 * ace/Containers_T.cpp (ACE_Bounded_Stack):
8350 * ace/Containers_T.cpp (ACE_Fixed_Stack):
8351 * ace/Containers_T.cpp (ACE_Unbounded_Stack):
8352 * ace/Containers_T.cpp (ACE_Unbounded_Queue):
8353 * ace/Containers_T.cpp (ACE_Double_Linked_List):
8354 * ace/Containers_T.cpp (ACE_Fixed_Set):
8355 * ace/Containers_T.cpp (ACE_Bounded_Set):
8356 * ace/Containers_T.cpp (ACE_Unbounded_Set):
8357 * ace/Containers_T.cpp (ACE_Ordered_MultiSet):
8358 * ace/Handle_Set.h (ACE_Handle_Set):
8359 * ace/Handle_Set.i (ACE_Handle_Set):
8360
8361 Changed assignment operators (operator=) to return a reference
8362 to `*this' so that assignments may be chained.
8363
8364 Thu Apr 1 23:41:56 1999 Jeff Parsons <[email protected]>
8365
8366 * ace/CDR_Stream.cpp:
8367 Fixed write_array() to memcpy if doing a byte-swap
8368 and size = 1. Previously, it was falling through
8369 without writing anything. Thanks to Jerry De Master
8370 <[email protected]> for pointing this out.
8371
8372 Thu Apr 01 22:38:25 1999 Douglas C. Schmidt <[email protected]>
8373
8374 * ACE version 4.6.33 released.
8375
8376 Thu Apr 01 21:09:00 1999 Irfan Pyarali <[email protected]>
8377
8378 * Sequence.h (TAO_Base_Sequence): Made the copy constructor and
8379 the assignment operator public since making them protected was
8380 breaking some compilers.
8381
8382 * ace/Filecache.cpp (ACE_Filecache_Object): Fixed typo: <lock_>
8383 should be <lock>.
8384
8385 Thu Apr 1 19:41:26 1999 Ossama Othman <[email protected]>
8386
8387 * ace/IPC_SAP.h (ACE_IPC_SAP):
8388 * ace/SOCK.h (ACE_SOCK):
8389 * ace/SOCK_IO.h (ACE_SOCK_IO):
8390 * ace/SV_Semaphore_Simple.h (ACE_SV_Semaphore_Simple):
8391 * ace/Synch.h (ACE_Barrier):
8392 * ace/Synch.h (ACE_Event):
8393 * ace/Synch.h (ACE_Guard):
8394 * ace/Synch.h (ACE_Null_Mutex):
8395 * ace/Synch.h (ACE_RW_Mutex):
8396 * ace/Synch.h (ACE_Semaphore):
8397 Reverted the changes that made these base class destructors
8398 virtual. They don't need to be virtual for the way they are
8399 being used.
8400
8401 Thu Apr 01 19:01:20 1999 Irfan Pyarali <[email protected]>
8402
8403 * ace/Containers.h (ACE_DLList_Node):
8404 * ace/Containers_T.h (ACE_Double_Linked_List_Iterator):
8405 * ace/Containers_T.h (ACE_Unbounded_Set_Iterator):
8406 * ace/Event_Handler.h (ACE_Event_Handler):
8407 * ace/Event_Handler.h (ACE_Notification_Buffer):
8408 * ace/Filecache.h (ACE_Filecache_Handle):
8409 * ace/Filecache.h (ACE_Filecache_Object):
8410 * ace/Local_Tokens.h (ACE_TPQ_Iterator):
8411 * ace/Local_Tokens.h (ACE_Token_Proxy):
8412 * ace/Local_Tokens.h (ACE_Token_Proxy_Queue):
8413 * ace/Malloc.h (ACE_Name_Node):
8414 * ace/Malloc.h (ACE_Static_Allocator_Base):
8415 * ace/Memory_Pool.h (ACE_MMAP_Memory_Pool):
8416 * ace/Memory_Pool.h (ACE_MMAP_Memory_Pool_Options):
8417 * ace/Memory_Pool.h (ACE_Shared_Memory_Pool):
8418 * ace/Memory_Pool.h (ACE_Shared_Memory_Pool_Options):
8419 * ace/OS.h (ACE_Countdown_Time):
8420 * ace/OS.h (ACE_Thread_Adapter):
8421 * ace/OS.h (ACE_Thread_Control):
8422 * ace/OS.h (ACE_Thread_Exit):
8423 * ace/Service_Object.h (ACE_Service_Type):
8424 * ace/Signal.h (ACE_Sig_Adapter):
8425 * ace/Synch.h (ACE_Adaptive_Lock):
8426 * ace/Synch.h (ACE_TSS_Adapter):
8427
8428 In some cases, classes with pointers *can* use the default copy
8429 constructor and the assignment operator. A more careful
8430 screening of the egcs -Weffc++ flag need to be done before a
8431 copy constructor and assignment operator can be considered
8432 harmful/dangerous. For now, the changes Ossama made have been
8433 reverted.
8434
8435 * ace/Filecache.cpp (ACE_Filecache_Object):
8436 * ace/Signal.i (ACE_Sig_Action):
8437 * ace/OS.i (ACE_Time_Value):
8438
8439 Removed default contruction of structs. Old g++ is broken.
8440
8441 * ace/Filecache.cpp (ACE_Filecache_Object): Fixed incorrect
8442 initialization of <mmap_>.
8443
8444 Thu Apr 1 16:22:18 1999 Ossama Othman <[email protected]>
8445
8446 * ace/Containers_T.h (ACE_Unbounded_Set_Iterator):
8447 * ace/Containers_T.cpp (ACE_Unbounded_Set_Iterator):
8448 The signatures for the prefix and postfix operators were
8449 switched. Prefix operators take a void and return a
8450 a reference and postfix operators take an int and returns a
8451 copy.
8452
8453 * ace/Containers.h (ACE_DLList_Node):
8454 * ace/Containers_T.h (ACE_Double_Linked_List_Iterator):
8455 * ace/Containers_T.h (ACE_Unbounded_Set_Iterator):
8456 * ace/Event_Handler.h (ACE_Event_Handler):
8457 * ace/Event_Handler.h (ACE_Notification_Buffer):
8458 * ace/Filecache.h (ACE_Filecache_Handle):
8459 * ace/Filecache.h (ACE_Filecache_Object):
8460 * ace/Local_Tokens.h (ACE_TPQ_Iterator):
8461 * ace/Local_Tokens.h (ACE_Token_Proxy):
8462 * ace/Local_Tokens.h (ACE_Token_Proxy_Queue):
8463 * ace/Malloc.h (ACE_Name_Node):
8464 * ace/Malloc.h (ACE_Static_Allocator_Base):
8465 * ace/Memory_Pool.h (ACE_MMAP_Memory_Pool):
8466 * ace/Memory_Pool.h (ACE_MMAP_Memory_Pool_Options):
8467 * ace/Memory_Pool.h (ACE_Shared_Memory_Pool):
8468 * ace/Memory_Pool.h (ACE_Shared_Memory_Pool_Options):
8469 * ace/OS.h (ACE_Countdown_Time):
8470 * ace/OS.h (ACE_Thread_Adapter):
8471 * ace/OS.h (ACE_Thread_Control):
8472 * ace/OS.h (ACE_Thread_Exit):
8473 * ace/Service_Object.h (ACE_Service_Type):
8474 * ace/Signal.h (ACE_Sig_Adapter):
8475 * ace/Synch.h (ACE_Adaptive_Lock):
8476 * ace/Synch.h (ACE_TSS_Adapter):
8477 Explicitly disallow use of implicitly generated copy
8478 constructor and assignment operator to prevent inadvertent
8479 memory leaks.
8480
8481 * ace/Filecache.cpp (ACE_Filecache_Object):
8482 * ace/OS.i (ACE_Time_Value):
8483 * ace/Signal.i (ACE_Sig_Action):
8484 * ace/Signal.i (ACE_Sig_Guard):
8485 * ace/Signal.i (ACE_Sig_Set):
8486 * ace/Synch_T.i (ACE_Guard):
8487 Added base member initializers for class members that weren't
8488 initialized. Better style and helps avoid some warnings.
8489
8490 * ace/IPC_SAP.h (ACE_IPC_SAP):
8491 * ace/SOCK.h (ACE_SOCK):
8492 * ace/SOCK_IO.h (ACE_SOCK_IO):
8493 * ace/SV_Semaphore_Simple.h (ACE_SV_Semaphore_Simple):
8494 * ace/Synch.h (ACE_Barrier):
8495 * ace/Synch.h (ACE_Event):
8496 * ace/Synch.h (ACE_Guard):
8497 * ace/Synch.h (ACE_Null_Mutex):
8498 * ace/Synch.h (ACE_RW_Mutex):
8499 * ace/Synch.h (ACE_Semaphore):
8500 Made base class destructor virtual to ensure that it gets
8501 called by derived class destructor.
8502
8503 Thu Apr 1 13:31:56 1999 Jeff Parsons <[email protected]>
8504
8505 * ace/CDR_Stream.{i,cpp}:
8506 Moved the destructors and a couple of short output CDR
8507 functions from .cpp to .i.
8508
8509 Thu Apr 1 03:30:19 1999 Nanbor Wang <[email protected]>
8510
8511 * bin/tao_svcconf.pl: New perl script to help converting TAO's
8512 svc.conf file to use static services.
8513
8514 Wed Mar 31 14:30:28 1999 Nanbor Wang <[email protected]>
8515
8516 * ace/OS.h: Fixed mis-matched #endif comments. Thanks to Eric
8517 Eide <[email protected]> for pointing this out.
8518
8519 Thu Mar 31 14:30:20 Douglas C. Schmidt <[email protected]>
8520
8521 * tests/Message_Block_Test.cpp: updated some printouts.
8522
8523 Wed Mar 31 10:46:31 1999 Steve Huston <[email protected]>
8524
8525 * ace/Message_Block_T.h: Add template arg to operator = definition for
8526 ACE_Locked_Data_Block<>.
8527
8528 * ace/config-aix-4.x.h: Don't set _BSD for AIX 4.2 (or 4.3). Setting
8529 it works ok on AIX 4.2, but breaks TAO builds. Not setting it has
8530 caused no regressions on 4.2, and allows TAO to build more.
8531
8532 Tue Mar 30 23:28:41 1999 Irfan Pyarali <[email protected]>
8533
8534 * ace/Message_Block.cpp (init_i): This function was not releasing
8535 the old data block (if <data_block_> was non-zero). Fixed this
8536 problem and avoided the memory leak. Thanks to Sangwoo Jin
8537 <[email protected]> for reporting this leak.
8538
8539 Also changed the constructors to set <data_block_> to zero.
8540
8541 * tests/Message_Queue_Test.cpp (receiver): Fixed hacked use of
8542 init() to prevent memory leak. The new init_i() fixes the leak.
8543
8544 Tue Mar 30 23:24:02 1999 Ossama Othman <[email protected]>
8545
8546 * configure.in:
8547 * m4/features.m4:
8548 * m4/threads.m4:
8549 Updated several library checks to use a single call of my
8550 re/implementation of the new autoconf AC_SEARCH_LIBS test instead
8551 of having several AC_CHECK_LIB calls in a row. Nice!
8552
8553 The thread detection tests were overhauled. They are now
8554 simpler but retain the same functionality as the previous
8555 tests. They were greatly reduced in size so debugging, updating
8556 and enhancing should be much easier now.
8557
8558 * m4/acinclude.m4:
8559 Reimplemented Autoconf's AC_SEARCH_LIBS into ACE_SEARCH_LIBS.
8560 The functionality is the same but the ACE reimplementation
8561 actually works when C++ is the test language. For some reason
8562 Autoconf's test isn't being generated properly by GNU M4.
8563
8564 Tue Mar 30 22:04:49 1999 Nanbor Wang <[email protected]>
8565
8566 * ace/config-win32-common.h: Added definition of
8567 ACE_DEFAULT_THREAD_PRIORITY as 0. Thanks to John Morey
8568 <[email protected]> for reporting this.
8569
8570 Tue Mar 30 21:31:01 1999 David L. Levine <[email protected]>
8571
8572 * Makefile (RELEASE_LIB_FILES): added bin/ and etc/.
8573 Thanks to John Lindal <[email protected]>
8574 for reporting that the ACE library Makefile needs
8575 bin/ace_components.
8576
8577 Tue Mar 30 18:49:58 1999 Darrell Brunsch <[email protected]>
8578
8579 * bin/make_release: Added .ico to binary file types.
8580
8581 Tue Mar 30 12:23:23 1999 Douglas C. Schmidt <[email protected]>
8582
8583 * ACE version 4.6.32 released.
8584
8585 Tue Mar 30 11:03:31 1999 Douglas C. Schmidt <[email protected]>
8586
8587 * ace/Synch.h (ACE_Adaptive_Lock): Clarified a comment about how
8588 to define a constructor in a subclass that initializes the
8589 lock_. Thanks to Michael Kircher for reporting this.
8590
8591 Tue Mar 30 10:37:43 1999 Ossama Othman <[email protected]>
8592
8593 * ace/OS.i (getpwnam_r): Added patch contributed by Roland Gigler
8594 <[email protected]> for getpwnam_r on SCO UnixWare 7.
8595
8596 Mon Mar 29 20:22:44 1999 Ossama Othman <[email protected]>
8597
8598 * configure.in:
8599 * m4/features.m4:
8600 Added new M4 macro include file, and moved asynchronous IO tests
8601 to `m4/features.m4'. The asynchronous IO tests were improved by
8602 making them run-time tests. Cross-compiled platforms will fall
8603 back to a compile-time test. Thanks to Alex for providing
8604 run-time tests. The tests are based on his AIO tests found in
8605 the examples/Reactor/Proactor directory.
8606
8607 Sun Mar 28 18:02:54 1999 Ossama Othman <[email protected]>
8608
8609 * configure.in:
8610 Enabled the C++ libtool support mentioned below. Removed all
8611 references to CXXCPPFLAGS since the CPPFLAGS variable is used
8612 by autoconf for both C and C++.
8613
8614 * ltconfig:
8615 Added my experimental libtool C++ support. The hacks I made
8616 allow it to build C++ shared libraries.
8617
8618 * m4/acinclude.m4:
8619 * m4/threads.m4:
8620 Renamed some variables. Namespace pollution was breaking most
8621 of the tests.
8622
8623 Sun Mar 28 12:20:44 1999 Nanbor Wang <[email protected]>
8624
8625 * ace/OS.h:
8626 * ace/CORBA_macros.h: Moved ACE_NEW_THROW* and ACE_GUARD_THROW*
8627 macros from OS.h to CORBA_macros.h. Also added
8628 ACE_*GUARD_THROW_EX which has the new ACE try macros semantics.
8629 CORBA_macros.h needs to include "OS.h" to source in the correct
8630 platform configuration macros.
8631
8632 Sun Mar 28 13:27:15 1999 Balachandran Natarajan <[email protected]>
8633
8634 * docs/exceptions.html:
8635 Added a new example
8636
8637 Fri Mar 26 23:35:28 1999 Nanbor Wang <[email protected]>
8638
8639 * ace/config-freebsd-pthread.h: Added ACE_NEEDS_SCHED_H.
8640
8641 * ace/config-irix6.x-g++.h:
8642 * ace/config-irix6.x-kcc.h:
8643 * ace/config-irix6.x-sgic++.h:
8644 * ace/OS.h: Reverted changes about ACE_LASKS_SCHED_H.
8645
8646 * ace/config-dgux-4.x-ghs.h:
8647 * ace/config-irix6.x-sgic++.h:
8648 * ace/README:
8649 * ace/OS.h: Renamed ACE_LACKS_SCHED_H with ACE_NEEDS_SCHED_H to
8650 refect what it really means. The original name was quite
8651 confusing.
8652
8653 Fri Mar 26 18:16:25 1999 Carlos O'Ryan <[email protected]>
8654
8655 * ace/config-irix6.x-g++.h:
8656 * ace/config-irix6.x-kcc.h:
8657 * ace/config-irix6.x-sgic++.h:
8658 There is no need to explicitly include <sched.h> or to define
8659 ACE_LACKS_SCHED_H the file is present in IRIX 6.4.
8660
8661 Fri Mar 26 17:57:25 1999 Nanbor Wang <[email protected]>
8662
8663 * ace/config-freebsd-pthread.h: Defined cuserid as an extern "C"
8664 function.
8665
8666 * ace/OS.h: <sched.h> should only be included when !defined
8667 (ACE_LACKS_SCHED_H).
8668
8669 Thanks to Eric Eide <[email protected]> for sending the patch.
8670
8671 Fri Mar 26 17:12:21 1999 Darrell Brunsch <[email protected]>
8672
8673 * ace/Profile_Timer.{h,i,cpp}: On Win32 platforms that
8674 support RUsage, Profile_Timer will use both that and
8675 High Resolution Timers for measurements. Depending
8676 on the method, one or the other will be used.
8677
8678 Fri Mar 26 17:02:00 1999 Ossama Othman <[email protected]>
8679
8680 * configure.in:
8681 Improved ACE_HAS_USING_KEYWORD test so that it works for platforms
8682 that support the `using' keyword but don't have the `std' namespace.
8683
8684 Updated ACE_HAS_TEMPLATE_SPECIALIZATION test so that it works for
8685 compilers that require the "template<>" syntax for specialization.
8686
8687 Improved ACE_HAS_ONLY_SCHED_OTHER by checking for run time errors
8688 when a thread scheduling policy other than SCHED_OTHER is set.
8689 Thanks to David for suggesting this modification.
8690
8691 * m4/acinclude.m4:
8692 Added support for converting warnings to errors for Sun C++.
8693
8694 * m4/threads.m4:
8695 Added test to check if `-Kthread' compiler flag enables thread
8696 support. SCO UnixWare 7 uses this flag.
8697
8698 Fri Mar 26 07:21:33 1999 David L. Levine <[email protected]>
8699
8700 * tests/Reactor_Performance_Test.cpp (handle_input): wrapped
8701 final return statement with ACE_NOTREACHED.
8702
8703 Thu Mar 25 20:16:49 1999 Darrell Brunsch <[email protected]>
8704
8705 * bin/make_release: I wasn't using $bin_files for the
8706 ACE+TAO.zip creation, so now that is fixed. Thanks to
8707 Greg Ross <[email protected]> for pointing this out.
8708
8709 Thu Mar 25 16:31:27 1999 Carlos O'Ryan <[email protected]>
8710
8711 * ace/OS.h:
8712 Added new macros for byte swapping, this are rather evil. They
8713 add the correct padding to use a single long to represent a
8714 short or char, but in such a way that the first bytes of the
8715 long contain the required data.
8716 Nobody should need that, but the IDL compiler does.
8717
8718 Thu Mar 25 16:25:46 1999 Ossama Othman <[email protected]>
8719
8720 * configure.in: Added test for ACE_HAS_BROKEN_MAP_FAILED.
8721
8722 * ace/OS.h: Added __USLC__ to list of macros in the conditional that
8723 keeps the compiler from complaining about parameters which are not
8724 used. This is needed for the C++ compiler on SCO UnixWare 7.
8725 Thanks to Roland for letting me know about this.
8726
8727 Thu Mar 25 14:55:37 1999 David L. Levine <[email protected]>
8728
8729 * tests/Basic_Types_Test.cpp: print out ACE version
8730 information even with ACE_HAS_MINIMAL_ACE_OS.
8731
8732 Thu Mar 25 13:52:57 1999 Irfan Pyarali <[email protected]>
8733
8734 * tests/Reactor_Performance_Test.cpp (handle_input): This code
8735 wasn't entirely correct. Well actually, I think where was some
8736 change in the semantics of Windows. Previously, once the handle
8737 was close, it seems that the application still got notified if
8738 there was data on the socket. With WinNT SP4, it seems that
8739 once the handle was closed, no additional FD_READs were issued
8740 by the OS, even if data was available on the socket.
8741
8742 In ACE, both FD_READ and FD_CLOSE get mapped to handle_input().
8743 The way to know when the connection was closed is to do a recv()
8744 in handle_input() and check for a zero return. When told of new
8745 data, the old code in handle_input() only did one recv() of
8746 BUFSIZ bytes. If there was more than BUFSIZ bytes of data on the
8747 socket, there would be some data left on the socket. Hence,
8748 when notified of FD_CLOSE, it did another recv() which
8749 succeeded, and handle_input() never returned -1, making the test
8750 hang.
8751
8752 The change made was to make handle_input() call recv() until
8753 EWOULDBLOCK occurs (note that the socket is in non-blocking
8754 mode). Hence, when FD_CLOSE occurred, the socket did not have
8755 any data left, recv() returned 0 and handle_input() returned -1,
8756 which finally closed the test down correctly.
8757
8758 Thu Mar 25 13:13:51 1999 Ossama Othman <[email protected]>
8759
8760 * Makefile.am (ACE.ifnames):
8761 Placed rule generation of ACE.ifnames within a MAINTAINER_MODE
8762 automake conditional. If a `--enable-maintainer-mode' option
8763 isn't given on the configure script command line then don't
8764 generate a new `ACE.ifnames' file.
8765
8766 * configure.in:
8767 Added AM_MAINTAINER_MODE so that maintainer level Makefile
8768 features are disabled by default.
8769
8770 * acconfig.h:
8771 * ace/OS.h:
8772 * ace/README:
8773 Added ACE_HAS_BROKEN_MAP_FAILED macro for platforms that do not
8774 cast MAP_FAILED to a (void *). Defining this macro prevents
8775 compilers on those platforms from complaining about assigning
8776 an int to a (void *). Thanks to Roland Gigler
8777 <[email protected]> for providing feedback about this.
8778
8779 Thu Mar 25 11:30:44 1999 Balachandran Natarajan <[email protected]>
8780
8781 * docs/exceptions.html:
8782 Corrected a couple of links...
8783
8784 Thu Mar 25 01:04:00 1999 Alexander Babu Arulanthu <[email protected]>
8785
8786 * ace/OS.h (ACE_OS): Added ACE_DEFAULT_TEMP_DIR_ENV to be "TEMP"
8787 for WIN32 and "TMP" for Unix.
8788
8789 Wed Mar 24 18:30:18 1999 Douglas C. Schmidt <[email protected]>
8790
8791 * performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp: Added a new
8792 version of this program that fixes a number of bugs with the old
8793 one. Thanks to Hao Ruan <[email protected]> for these fixes.
8794
8795 Wed Mar 24 15:31:27 1999 Darrell Brunsch <[email protected]>
8796
8797 * High_Res_Timer.cpp:
8798 * High_Res_Timer.h:
8799 * OS.i:
8800
8801 Changed the implementation of the High Resolution Timer on
8802 Win32 to use QueryPerformanceCounter instead of assembly code.
8803 The docs also say that this is MP-safe. Thanks to Gregory D.
8804 Fee <[email protected]> for suggesting this.
8805
8806 * Profile_Timer.cpp:
8807 * Profile_Timer.h:
8808 * Profile_Timer.i:
8809
8810 Now uses the High Res Timer on Win32 instead of rusage.
8811
8812 Wed Mar 24 14:36:12 1999 Ossama Othman <[email protected]>
8813
8814 * ace/OS.cpp (ACE_OS_PREALLOCATE_OBJECT): Initialized obj_p to zero
8815 to make egcs happy.
8816
8817 Wed Mar 24 13:23:36 1999 David L. Levine <[email protected]>
8818
8819 * ACE-INSTALL.html: removed note about building netsvcs before
8820 running the one-button test on WIN32. Thanks to Nanbor for
8821 hacking run_tests.bat :-)
8822
8823 Wed Mar 24 13:16:17 1999 Nanbor Wang <[email protected]>
8824
8825 * ace/WFMO_Reactor.i (handler):
8826 * ace/Select_Reactor_T.cpp (handler_i): Made sure we can safely
8827 pass out the event handler before we do so. Thanks to Michael
8828 Preobrazhensky <[email protected]> for reporting this.
8829
8830 * tests/run_tests.bat: Do not run Time_Service_Test if
8831 netsvcs/servers/main.exe doesn't exist. Thanks to
8832 [email protected] for reporting the problem and David for
8833 suggesting the fix.
8834
8835 Wed Mar 24 12:47:56 1999 David L. Levine <[email protected]>
8836
8837 * ACE-INSTALL.html: added note to build netsvcs on Win32
8838 before running run_tests.bat. Thanks to Jeff Franks
8839 <[email protected]> for suggesting this.
8840
8841 Wed Mar 24 06:53:57 1999 David L. Levine <[email protected]>
8842
8843 * ace/OS.cpp (thr_create): SunOS 5.7 allows thread priority of 0,
8844 so we no longer need to work around that.
8845
8846 Tue Mar 23 22:49:15 1999 Ossama Othman <[email protected]>
8847
8848 * configure.in: Added a test for ACE_NEEDS_DEV_IO_CONVERSION.
8849
8850 Tue Mar 23 22:29:20 1999 David L. Levine <[email protected]>
8851
8852 * ace/config-sunos5.7.h: undef ACE_HAS_ONLY_SCHED_OTHER, because
8853 other scheduling policies are supported by SunOS 5.7. Thanks
8854 to Ossama and autoconf for noticing this.
8855
8856 Tue Mar 23 20:42:44 1999 Ossama Othman <[email protected]>
8857
8858 * tests/Cache_Manager_Test.cpp (main): Added missing ACE_START_TEST
8859 and ACE_END_TEST macros.
8860
8861 * m4/threads.m4: Modified UNIX International threads check to include
8862 check for rwlock_destroy() in -lthread since thr_create() was
8863 found without explicitly linking to -lthread on Solaris 2.5.1.
8864 rwlock_destroy() should be found only by linking to -lthread which
8865 will cause the configure script to add -lthread to the library link
8866 list.
8867
8868 Tue Mar 23 16:25:39 1999 David L. Levine <[email protected]>
8869
8870 * docs/ACE-subsets.html: added FOR_TAO subset sizes.
8871
8872 Tue Mar 23 15:15:20 1999 Nanbor Wang <[email protected]>
8873
8874 * ace/Map_Manager.{i,cpp} (ACE_Map_Iterator_Base::operator*):
8875 Moved this function to .cpp file to avoid compilation problem on
8876 SunOS 5.6 with SunCC 4.2. Once we know a patch that will fix
8877 the problem, we should move it back to .i file again. Thanks to
8878 James Megquier <[email protected]> for reporting the problem.
8879
8880 Tue Mar 23 14:56:58 1999 Ossama Othman <[email protected]>
8881
8882 * acconfig.h:
8883 * configure.in:
8884 * ace/OS.h:
8885 * ace/TLI.cpp:
8886 * ace/config-osf1-4.0.h: Removed all references to
8887 ACE_HAS_BROKEN_T_ERRNO and removed the definition of the _terrno()
8888 function from TLI.cpp since it isn't a standard TLI function (at
8889 least not the Steven's books that I've read). This also fixes a
8890 problem on Solaris that was causing an autoconfigured build of
8891 TLI.cpp to fail.
8892
8893 * ace/Makefile.am: Make sure template source files get installed for
8894 all cases. Previously, they only got installed if the template
8895 source is required by the compiler. However, they are still needed
8896 by compilers that don't explicitly require template sources to
8897 be included in a file that references them.
8898
8899 * configure.in: Fixed the test for ACE_TEMPLATES_REQUIRE_SOURCE.
8900 Thanks to Carlos for his help on this. Removed the test for
8901 ACE_HAS_BROKEN_T_ERRNO since it is no longer needed due to the
8902 above change.
8903
8904 * README: Added Konstantinos Margaritis <[email protected]> to the
8905 ACE contributor list.
8906
8907 Tue Mar 23 12:57:40 1999 Douglas C. Schmidt <[email protected]>
8908
8909 * netsvcs/lib/Client_Logging_Handler.cpp: Split off the logging to
8910 an ostream from the logging for STDERR. Thanks to Bill Rizzi
8911 ([email protected]) for pointing out this problem.
8912
8913 * netsvcs/lib/Client_Logging_Handler.cpp: Changed the default from
8914 ACE_STDOUT to ACE_STDERR to be consistent. Thanks to Bill Rizzi
8915 ([email protected]) for pointing out the problem.
8916
8917 Tue Mar 23 12:06:04 1999 Nanbor Wang <[email protected]>
8918
8919 * ace/OS.h (ACE_THROW_SPEC): Added prgama to disable reporting
8920 warning 4290 on MSVC. MSVC "supports" the exception
8921 specification but doesn't provide an implementation for it.
8922 Instead, it warns you the specification is ignored.
8923
8924 Mon Mar 22 21:34:06 1999 David L. Levine <[email protected]>
8925
8926 * include/makeinclude/platform_sunos5_g++.GNU: use -m uname
8927 option instead of -i, because GNU uname doesn't support -i.
8928
8929 Mon Mar 22 18:59:55 1999 Steve Huston <[email protected]>
8930
8931 * ace/NT_Service.cpp (state): Changed the (DWORD *, ACE_Time_Value *)
8932 version to reliably return -1 on any error. Thanks to Martin
8933 Krumpolec <[email protected]> for keeping me honest here, and for
8934 sending in better code.
8935
8936 Mon Mar 22 14:16:04 1999 David L. Levine <[email protected]>
8937
8938 * ace/OS.{h,cpp} (cleanup_tss): added tss_close (), to enable
8939 deleting the native key on program termination. That's not
8940 implemented yet, because it requires a separate
8941 ACE_OS::thr_keyfree (ACE_OS_thread_key_t).
8942
8943 * ace/OS.cpp (fini), README, ace/config-linux-lxpthreads.h:
8944 removed ACE_FINI_HOOK support. It wasn't helping.
8945
8946 Mon Mar 22 11:14:16 1999 Ossama Othman <[email protected]>
8947
8948 * Makefile.am:
8949 Various minor updates.
8950
8951 * configure.in:
8952 * m4/platform.m4
8953 Moved known platform specific macro checks from `configure.in'
8954 to `platform.m4'.
8955
8956 * tests/Makefile.am:
8957 Updated to build the DLL_Test shared library. Support for the
8958 test is still broken (my fault :).
8959
8960 * aclocal.m4:
8961 * configure:
8962 These are automatically generated so they shouldn't be under
8963 CVS control. I Removed them from the CVS repository.
8964
8965 Mon Mar 22 09:42:26 1999 David L. Levine <[email protected]>
8966
8967 * docs/ACE-subsets.html: added current status section.
8968
8969 Mon Mar 22 01:04:23 1999 Nanbor Wang <[email protected]>
8970
8971 * ace/OS.cpp (free_all_keys_left): Changed to remove left-over
8972 keys using TlsFree on Win32. We can't use ACE_OS::thr_keyfree
8973 here because it tries to update the TSS in_use_ information
8974 which has already been deleted at this point.
8975 (cleanup_tss): Uncommented free_all_keys_left.
8976
8977 Sun Mar 21 21:26:46 1999 David L. Levine <[email protected]>
8978
8979 * bin/make_release: fixed error status when building ACE+TAO.
8980 Thanks to Doug for reporting this.
8981
8982 Sun Mar 21 21:16:02 1999 Douglas C. Schmidt <[email protected]>
8983
8984 * ACE version 4.6.31 released.
8985
8986 Sun Mar 21 20:45:57 1999 Douglas C. Schmidt <[email protected]>
8987
8988 * ACE version 4.6.30 released.
8989
8990 Sun Mar 21 18:39:16 1999 Ossama Othman <[email protected]>
8991
8992 * ACE.ifnames:
8993
8994 Updated with new macro list.
8995
8996 * Makefile.am:
8997
8998 Added the m4 directory to the distribution list and made some
8999 minor updates.
9000
9001 * ace/Makefile.am:
9002 * m4/subsets.m4:
9003
9004 Subsetting updates/corrections.
9005
9006 * configure.in:
9007
9008 Added work around for buggy glibc2.1 when including both
9009 <ucontext.h> and <sys/procfs.h>. Added check for auto_ptr class
9010 declaration since some platforms have <memory> but may not
9011 declare the auto_ptr class. Shortened some of the "checking"
9012 messages.
9013
9014 * ace-config.1.in: ace-config script man page template
9015 * aceConf.sh.in: ace-config "unknown" library script
9016
9017 Added these files to the CVS repository.
9018
9019 * config.guess:
9020 * config.sub:
9021 * ltconfig:
9022 * ltmain.sh:
9023
9024 Updated these files to the ones in the latest libtool.
9025
9026 * libtool:
9027
9028 Removed this since it is automatically generated for each platform.
9029 It shouldn't be under CVS control.
9030
9031 Sun Mar 21 17:59:22 1999 Carlos O'Ryan <[email protected]>
9032
9033 * ace/CDR_Stream.cpp:
9034 Fixed a problem with ACE_OutputCDR::write_octet_array_mb, thanks
9035 to Dave Meyer <[email protected]> for isolating and reporting
9036 this bug again [it was fixed in TAO and somehow it crept to the
9037 ACE version of the CDR classes].
9038
9039 Sun Mar 21 17:42:08 1999 Ossama Othman <[email protected]>
9040
9041 * netsvcs/lib/Server_Logging_Handler_T.cpp (handle_logging_record):
9042 Use ACE_NTOHL macro instead of system ntohl() to get around bug
9043 in egcs-2.91.6x.
9044
9045 Sun Mar 21 16:07:24 1999 Ossama Othman <[email protected]>
9046
9047 * ace/config-g++-common.h (ACE_HAS_USING_KEYWORD):
9048 Define ACE_HAS_USING_KEYWORD for egcs 1.1.x.
9049
9050 Sun Mar 21 09:44:30 1999 David L. Levine <[email protected]>
9051
9052 * tests/Timeprobe_Test.cpp: don't test ACE_Singleton
9053 creation during static construction if ACE_HAS_PURIFY
9054 is enabled, because it notices the memory-in-use.
9055
9056 * examples/Naming/Makefile: changed SRC to PSRC.
9057
9058 * examples/Naming/Makefile,performance-tests/Misc/Makefile,
9059 tests/Makefile:
9060 Use ace_components instead of the current ACE_COMPONENTS
9061 setting to determine what should be built.
9062
9063 Sat Mar 20 19:10:37 1999 Carlos O'Ryan <[email protected]>
9064
9065 * ace/Connector.h:
9066 * ace/Connector.cpp:
9067 * ace/Strategies_T.h:
9068 * ace/Strategies_T.cpp:
9069 Added new methods to the ACE_Connector, ACE_Strategy_Connector,
9070 ACE_Connect_Strategy and ACE_Cached_Connect_Strategy.
9071 The motivation for this new method is a bit convoluted:
9072 In TAO we store the Svc_Handler returned from connect() as a
9073 hint for later Cached_Connector lookups. But the location
9074 where we store it could be shared between multiple threads.
9075 To minimize the number of locks this hint is only modified and
9076 examined by the Cached_Connector, while the lock in the
9077 connection map is beign held.
9078
9079 The problem arises when the hint is returned: another thread
9080 could try to use the same hint location, detect that the hint
9081 is in use and replace it before the thread that just requested
9082 the object has a chance to read the hint value.
9083 The solution is to use two variables: one is the hint
9084 location, carefully protected by the Cached_Connector lock,
9085 the other is a variable in the thread stack, they return the
9086 same thing, but the second variable is not affected by changes
9087 done by other threads.
9088
9089 In short: we addeda connect() method that takes two arguments,
9090 the first is just intented to update the cached connector
9091 hint, the second is where the real connection gets returned.
9092
9093 * tests/Makefile:
9094 David discovered that using SRC to list the sources does not
9095 work under some platforms. But using PSRC does.
9096
9097 Sat Mar 20 15:51:14 1999 Ossama Othman <[email protected]>
9098
9099 * configure.in:
9100 Added tests for: ACE_HAS_BROKEN_NAMESPACES
9101 ACE_HAS_BROKEN_CONVERSIONS
9102 ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS
9103 ACE_HAS_PTHREAD_CONDATTR_SETKIND_NP
9104 ACE_HAS_PTHREAD_MUTEXATTR_SETKIND_NP
9105 ACE_HAS_PTHREAD_PROCESS_ENUM
9106
9107 Added some minor updates and corrections.
9108
9109 Sat Mar 20 09:06:10 1999 David L. Levine <[email protected]>
9110
9111 * tests/Map_Manager_Test.cpp: changed index () to slot_index ()
9112 and generation () to slot_generation (), to correspond to
9113 Active_Map_Manager interface change.
9114
9115 * examples/ASX/Message_Queue/Makefile: changed LSRC to PSRC.
9116
9117 * ace/Object_Manager.{h,cpp}: removed complex support from
9118 ACE_Object_Manager for cleanup of some ACE_Singleton locks
9119 during static construction/destruction, only. The affected
9120 lock types are ACE_Thread_Mutex, ACE_Mutex, and
9121 ACE_RW_Thread_Mutex. ACE_Recursive_Thread_Mutex and
9122 ACE_Null_Mutex will still be cleaned up if used to create
9123 ACE_Singletons during static construction/destruction. As
9124 noted in ace/Singleton.h, those are the best type of locks
9125 to use with ACE_Singleton, anyways.
9126
9127 This support was tricky to get right, and increased the size of
9128 the Object_Manager object file by 46 to 59 percent. Now, if
9129 ACE_Singletons are created during static construction or
9130 destruction, with either an ACE_Thread_Mutex, ACE_Mutex, or
9131 ACE_RW_Thread_Mutex lock, those locks will be dynamically
9132 allocated and leaked.
9133
9134 Sat Mar 20 02:03:53 1999 Ossama Othman <[email protected]>
9135
9136 * acinclude.m4:
9137
9138 Split acinclude.m4 into several M4 macro files and moved those
9139 files into the new `m4' subdirectory, includind acinclude.m4.
9140
9141 * m4/acinclude.m4:
9142 * m4/compiler.m4:
9143 * m4/subsets.m4:
9144 * m4/threads.m4:
9145
9146 Added these M4 files.
9147
9148 * bin/autogen:
9149
9150 Script to regenerate auto{conf,make} and libtool related files.
9151 Additional functionality may be added to this script in the
9152 future.
9153
9154 * Makefile.am:
9155 * ace/Makefile.am:
9156 * apps/gperf/src/Makefile.am:
9157 * apps/gperf/tests/Makefile.am:
9158 * apps/gperf/Makefile.am:
9159 * apps/Makefile.am:
9160 * netsvcs/clients/Logger/Makefile.am:
9161 * netsvcs/clients/Naming/Client/Makefile.am:
9162 * netsvcs/clients/Naming/Dump_Restore/Makefile.am:
9163 * netsvcs/clients/Naming/Makefile.am:
9164 * netsvcs/clients/Tokens/collection/Makefile.am:
9165 * netsvcs/clients/Tokens/deadlock/Makefile.am:
9166 * netsvcs/clients/Tokens/invariant/Makefile.am:
9167 * netsvcs/clients/Tokens/manual/Makefile.am:
9168 * netsvcs/clients/Tokens/mutex/Makefile.am:
9169 * netsvcs/clients/Tokens/rw_lock/Makefile.am:
9170 * netsvcs/clients/Tokens/Makefile.am:
9171 * netsvcs/clients/Makefile.am:
9172 * netsvcs/lib/Makefile.am:
9173 * netsvcs/servers/Makefile.am:
9174 * netsvcs/Makefile.am:
9175 * man/man3/Makefile.am: ( NOT ADDED YET )
9176 * man/Makefile.am: ( NOT ADDED YET )
9177 * tests/log/Makefile.am:
9178 * tests/Makefile.am:
9179
9180 Added Automake makefile templates for ACE.
9181
9182 * configure.in:
9183 * m4/subsets.m4:
9184 * ace/Makefile.am:
9185
9186 Added support for David's ACE subsetting work.
9187
9188 Fri Mar 19 23:36:37 1999 Irfan Pyarali <[email protected]>
9189
9190 * ace/Active_Map_Manager.h (ACE_Active_Map_Manager_Key): Changed
9191 method index() to slot_index() and generation() to
9192 slot_generation(). These changes were motivated by the
9193 OpenEdition platform/compiler, which defines a macro called
9194 index(). Also, changed the type of <index_> and <generation_>
9195 from u_long to ACE_UINT32 to get consistent size across
9196 platforms.
9197
9198 Fri Mar 19 22:50:19 1999 David L. Levine <[email protected]>
9199
9200 * bin/ace_ld: inserted ^['"]? at beginning of patterns that check
9201 for -l and -L, to make sure they're at the beginning of arguments.
9202 Thanks to Henric Jungheim <[email protected]> for
9203 suggesting this.
9204
9205 * tests/Makefile: removed SRC, because it caused link problems
9206 on DU 4.0.
9207
9208 Fri Mar 19 18:56:26 1999 Carlos O'Ryan <[email protected]>
9209
9210 * Fixed several makefiles that did not have a SRC or LSRC variable
9211 defined.
9212
9213 * Re-generated the dependencies for both ACE and TAO, this time on
9214 a platform that includes the template code.
9215
9216 * include/makeinclude/rules.local.GNU:
9217 Now we can run make depend inside a build directory.
9218 Removed any $(ACE_ROOT)/ace/config*.h files from the dependency
9219 list, those are not used.
9220
9221 Fri Mar 19 18:05:27 1999 Ossama Othman <[email protected]>
9222
9223 * netsvcs/lib/Server_Logging_Handler_T.cpp (handle_logging_record):
9224 Reverted change that was thought to work around egcs compiler bug.
9225 The call to ntohl() within the templates still causes the compiler
9226 to complain.
9227
9228 Fri Mar 19 17:31:57 1999 Carlos O'Ryan <[email protected]>
9229
9230 * ace/CDR_Stream.cpp:
9231 Fixed silly error in the InputCDR constructor taking an
9232 ACE_Message_Block.
9233
9234 Fri Mar 19 15:41:30 1999 Irfan Pyarali <[email protected]>
9235
9236 * ace/config-win32-common.h: Added CE fix.
9237
9238 Fri Mar 19 15:03:54 1999 Carlos O'Ryan <[email protected]>
9239
9240 * ace/CDR_Stream.h:
9241 * ace/CDR_Stream.i:
9242 * ace/CDR_Stream.cpp:
9243 Changed CDR to ACE_CDR.
9244 Fixed ACE_InputCDR constructor when receiving a linked list of
9245 Message_Blocks.
9246
9247 * tests/CDR_Test.cpp:
9248 Added a test for the constructor above.
9249
9250 Fri Mar 19 10:29:17 1999 David L. Levine <[email protected]>
9251
9252 * ace/Singleton.cpp (instance): removed at_exit () calls
9253 from both ACE_Singleton and ACE_TSS_Singleton, only
9254 when the ACE_Object_Manager hasn't started or has already
9255 shutdown. In those cases, the singletons will leak.
9256
9257 * ace/Object_Manager.cpp (ACE_Object_Manager ctor),
9258 ace/OS.cpp (ACE_OS_Object_Manager ctor): allow
9259 newer instances to overwrite older ones, in case an application
9260 #defines ACE_HAS_NONSTATIC_OBJECT_MANAGER and uses the
9261 Object_Manager during construction of static objects.
9262
9263 * tests/Timeprobe_Test.cpp: added test of ACE_Singleton
9264 creation during construction of static objects. Timeprobes
9265 can do that, when they're enabled.
9266
9267 * ace/OS.cpp (fini), README: added ACE_FINI_HOOK support.
9268 Applications can #define ACE_FINI_HOOK to any executable code,
9269 and it will be executed on program termination.
9270
9271 * ace/config-linux-lxpthreads.h: with ACE_HAS_TSS_EMULATION,
9272 #define ACE_FINI_HOOK to insert a one-second sleep at
9273 program termination. It's necessary to avoid occasional
9274 segfaults of unknown origin, but they appear to be in the
9275 LinuxThreads library.
9276
9277 * bin/ace_components: added. It is used to record/access
9278 which components were built into the ACE library. See next
9279 entry for files that have been updated to use it.
9280
9281 * ace/Makefile,tests/Makefile,tests/run_tests.sh: use
9282 ace_components to record which components are in the ACE library.
9283 Suppress build/run of tests that use Token and Other.
9284
9285 * netsvcs/{clients,servers}/Makefile: use ace_components instead of
9286 the current ACE_COMPONENTS setting to determine what should be built.
9287
9288 Fri Mar 19 03:24:34 1999 Irfan Pyarali <[email protected]>
9289
9290 * ace/Singleton.cpp (instance): Commented out the call to
9291 ACE_Object_Manager::at_exit(). Currently, this is causing
9292 multiple instances of ACE_Object_Manager to get created, and
9293 hence causing all sorts of problems.
9294
9295 * ace/OS.cpp (cleanup_tss): Removed the call to
9296 free_all_keys_left() (WIN32 only), because it causes
9297 segmentation faults at shutdown.
9298
9299 Fri Mar 19 00:15:21 1999 Nanbor Wang <[email protected]>
9300
9301 The following changes are specific to WindowsCE. They are
9302 required to remove MFC dependency from CE port. Thanks to Eric
9303 Covington <[email protected]> for motivating this.
9304
9305 * ace/config-WinCE.h: We no longer enfoce the use of MFC with ACE
9306 CE port anymore.
9307
9308 * ace/config-win32-common.h: When not using MFC, CE needs to
9309 include <windows.h> and <wce.h> explicitly.
9310
9311 * ace/Log_Record.cpp (print):
9312 * ace/OS.{h,cpp} (ACE_CE_Bridge): Changed to use HWND to record
9313 target window handle instead of CWnd. Also, we stop passing
9314 output string in a CString anymore. The string is now created
9315 using ACE_OS::strdup and must be released by the target window
9316 using ACE_OS::free.. A small smart pointer class will be added
9317 later. Notice that if you used ACE CE port before, the wParam
9318 can no longer be casted to a CString*, it should be casted to
9319 LPTSTR now.
9320
9321 * WindozeCE/WindozeCEDlg.cpp: <wParam> should be casted to LPTSTR
9322 and it should be freed using ACE_OS::free.
9323
9324 * ace/ace_ce_dll.dsp: CE programs (or DLL only?) not using MFC
9325 must specify all libraries used by the program, even msvcrt.
9326
9327 Thu Mar 18 22:21:39 1999 David L. Levine <[email protected]>
9328
9329 * include/makeinclude/platform_vxworks5.x_g++.GNU: changed
9330 ACE_QUOTE to '"', instead of "", on win32 hosts. "" just
9331 evaporates to nothing; we really need one double quote.
9332 Thanks to Hans Rohnert for verifying this.
9333
9334 Thu Mar 18 18:49:32 1999 Marina Spivak <[email protected]>
9335
9336 * ace/SString.i (compare): fixed the function to work properly in
9337 case strings have different lenghts.
9338
9339 * ace/SString.cpp: fixed code to gracefully handle failed memory
9340 allocations.
9341
9342 * ace/SString.h: added comments about strings with release=0, not
9343 necessarily being null terminated.
9344
9345 Thu Mar 18 14:31:29 1999 Steve Huston <[email protected]>
9346
9347 * tests/DLL_Test.cpp: Use the new DLL_Test.h file that contains the
9348 class defs - needed for AIX xlC. This should have been done
9349 with the Mar 15 changes but slipped through the cracks.
9350
9351 * include/makeinclude/platform_hpux_aCC.GNU: Added support for
9352 building HP-UX 11 distributions with both 32 and 64 bits.
9353
9354 * docs/tutorials/006/client_handler.cpp (Client_Handler::open): Changed
9355 arg name to void_acceptor to avoid redefining it inside the function.
9356
9357 * docs/tutorials/007/client_acceptor.cpp (Client_Acceptor(Thread_Pool&)
9358 Fixed initialization of concurrency_.
9359
9360 * docs/tutorials/018/Test_T.cpp (open): Fix ACE_UNUSED_ARG(arg).
9361
9362 * ace/Message_Queue.h (ACE_Message_Queue_Base): Removed "= 0" from
9363 ~ACE_Message_Queue_Base. AIX xlC warns that pure virtual dtor
9364 needs an out-of-line definition to be a base of another class.
9365 There is already a definition for the dtor in Message_Queue.i.
9366
9367 Thu Mar 18 14:30:04 1999 Nanbor Wang <[email protected]>
9368
9369 * ace/OS.i (timezone): Removed the leading '::' to cope with VC
9370 5. Thanks to Lan Yaolong <[email protected]> for reporting
9371 this.
9372
9373 Wed Mar 17 17:23:43 1999 Vishal Kachroo <[email protected]>
9374
9375 * ace/OS.i (timezone): Added support for timezone () on CHORUS
9376
9377 Wed Mar 17 14:06:24 1999 Ossama Othman <[email protected]>
9378
9379 * acconfig.h: Some characters got removed so I put them back.
9380
9381 Wed Mar 17 13:59:42 1999 Ossama Othman <[email protected]>
9382
9383 * configure.in:
9384 * acconfig.h:
9385 Added autoconf check for rename() system call.
9386
9387 Wed Mar 17 07:55:38 1999 Nanbor Wang <[email protected]>
9388
9389 * include/makeinclude/platform_freebsd_pthread.GNU: Made some
9390 adjustment for building ELF executables which are the default on
9391 FreeBSD 3 and above. I'll incoporate Russell's LinuxThread
9392 change later.
9393
9394 Wed Mar 17 13:36:32 1999 David L. Levine <[email protected]>
9395
9396 * bin/make_release: return non-zero exit status on failure.
9397
9398 Wed Mar 17 12:47:04 1999 Nanbor Wang <[email protected]>
9399
9400 * ace/Service_Config.cpp (open_i): Also delete the parse buffer
9401 before exiting the function for it is no longer needed. We
9402 still need to deallocate the buffer at close method to prevent
9403 the case when uses manipulate Service_Config directly using
9404 process_directives.
9405
9406 Wed Mar 17 12:33:35 1999 Douglas C. Schmidt <[email protected]>
9407
9408 * ace/OS.i: Reenabed ACE_OS::rename() and we'll see which
9409 platforms need to have ACE_LACKS_RENAME. Thanks to Susan
9410 Liebeskind <[email protected]> for reporting this.
9411
9412 Wed Mar 17 10:46:26 1999 Ossama Othman <[email protected]>
9413
9414 * ace/Message_Block.i (space): Moved ACE_Message_Block::space()
9415 after inline declarations of ACE_Message_Block::end() and
9416 ACE_Message_Block::wr_ptr() to prevent "used before it was
9417 declared inline" warnings on end() and wr_ptr().
9418
9419 Wed Mar 17 10:24:26 1999 David L. Levine <[email protected]>
9420
9421 * ace/OS.cpp (argv_to_string): initialized temp to 0 to avoid warnings
9422 from VxWorks g++.
9423 ace/OS.i (strenvdup): initialized temp to 0 to avoid warnings from
9424 VxWorks g++. Thanks to Hans Rohnert for reporting these.
9425
9426 * include/makeinclude/platform_vxworks5.x_g++.GNU (RANLIB):
9427 replaced /bin/true with @true, to avoid build warning on
9428 NT hosts. Thanks to Hans Rohnert for reporting this.
9429
9430 Wed Mar 17 09:58:43 1999 Douglas C. Schmidt <[email protected]>
9431
9432 * ace/Svc_Conf.l (yy_delete_parse_buffer): Added a check for NULL
9433 to avoid freeing buffers multiple times. Thanks to Tom Arbuckle
9434 <[email protected]> for this fix and to
9435 Nanbor for noticing the problem in the first place!
9436
9437 Wed Mar 17 08:30:58 1999 David L. Levine <[email protected]>
9438
9439 * ACE version 4.6.29 released.
9440
9441 Wed Mar 17 03:12:43 1999 James C. Hu <[email protected]>
9442
9443 * ace/Message_Block.i: Changed the definition of space () to be
9444 something more useful than it was. Thanks to Bill Rizzi
9445 ([email protected]) for pointing out the problem.
9446
9447 * ace/Cache_*: Removed by popular decree. Can be found in
9448 JAWS/PROTOTYPE.
9449
9450 Wed Mar 17 03:06:20 1999 Nanbor Wang <[email protected]>
9451
9452 * ace/Service_Config.cpp (close): Re-enabled cleaning up the lex
9453 buffer.
9454
9455 * ace/Svc_Conf_l.cpp (ace_yy_delete_parse_buffer): We should not
9456 remove uninitialize buffer.
9457
9458 Tue Mar 16 19:48:57 1999 Irfan Pyarali <[email protected]>
9459
9460 * ace/Makefile and tests/Makefile: Reverted these files to the
9461 pre-Cache_Manager state. The Cache_Manager files don't compile
9462 on g++ and vxworks and we need to make a release now.
9463
9464 * ace/Map_T.h (class ACE_Noop_Key_Generator): Added new class.
9465 This class makes it easy to use the map adapters when you don't
9466 care about generating new keys.
9467
9468 Tue Mar 16 11:36:41 1999 Nanbor Wang <[email protected]>
9469
9470 * ace/config-freebsd-pthread.h: FreeBSD 2.2 and above also support
9471 threads, but siginfo_t is only supported on FreeBSD 3.0 and
9472 above. Thanks to Goldshtain Dmitry <[email protected]>
9473 for pointing these out.
9474
9475 Tue Mar 16 16:46:04 1999 David L. Levine <[email protected]>
9476
9477 * ace/Hash_Bucket_T.h: added class to friend
9478 ACE_Hash_Bucket_DLCStack_Iterator declaration.
9479
9480 Tue Mar 16 16:35:39 1999 David L. Levine <[email protected]>
9481
9482 * docs/ACE-guidelines.html: never use TRUE, true, FALSE, false, etc.
9483
9484 Tue Mar 16 15:58:07 1999 Nanbor Wang <[email protected]>
9485
9486 * ace/Service_Config.cpp (close): Don't call the
9487 ace_yy_delete_parse_buffer for now. It is causing access
9488 violation.
9489
9490 Tue Mar 16 15:15:00 1999 Chris Gill <[email protected]>
9491
9492 * ace/ACE.{cpp, i}
9493 ace/OS.{cpp, h, i}
9494 ace/FIFO.cpp
9495 ace/Log_Record.cpp
9496 ace/SOCK_Dgram_Mcast.cpp
9497 ace/SPIPE_Connector.cpp
9498 ace/TLI_Acceptor.cpp
9499 ace/config-psos-diab-mips.h (new)
9500 ace/config-psos-diab.h
9501 ace/config-psos-tm.h
9502 ace/streams.h: integrated pSOS/MIPS changes into ACE. Thanks to
9503 Jaepil Kim ([email protected]) for completing the ACE pSOS port
9504 for the MIPS platform, and for sending these modifications.
9505
9506 Tue Mar 16 14:25:03 1999 Steve Huston <[email protected]>
9507
9508 * ace/ACE.cpp (get_ip_interfaces, count_interfaces, get_bcast_addr):
9509 On AIX, use CSIOCGIFCONF instead of SIOCGIFCONF to retrieve
9510 interface information. Thanks to Eric Newton <[email protected]> for
9511 figuring this out.
9512
9513 Tue Mar 16 12:20:53 1999 Balachandran Natarajan <[email protected]>
9514
9515 * ace/Service_Config.h (ACE_Service_Config):
9516 Added documentation for the parse_args () method. This was in
9517 request to Bill Rizzi <[email protected]>.
9518
9519 Tue Mar 16 10:57:46 1999 Douglas C. Schmidt <[email protected]>
9520
9521 * ace/Svc_Conf.l: Added a new method ace_yy_delete_parse_buffer()
9522 that frees up FLEX buffers when the program is done. Thanks to
9523 Tom Arbuckle <[email protected]> for
9524 this fix.
9525
9526 * examples/ASX/Message_Queue/buffer_stream.cpp (main): Changed pm
9527 to cm and vice versa to be consistent. Thanks to Rainer Blome
9528 <[email protected]> for reporting this.
9529
9530 Tue Mar 16 10:50:42 1999 Steve Huston <[email protected]>
9531
9532 * include/makeinclude/platform_aix4_cset++.GNU: New file to cover
9533 all AIX 4.x versions with the C Set++ (xlC) compiler.
9534
9535 * include/makeinclude/platform_aix.GNU, platform_aix4.2.GNU: These
9536 files are deprecated; they simply include the new file above,
9537 platform_aix4_cset++.GNU.
9538
9539 Tue Mar 16 10:38:35 1999 Carlos O'Ryan <[email protected]>
9540
9541 * ace/Hash_Bucket_T.cpp:
9542 Removed default parameter declaration from the constructor for
9543 ACE_Hash_Bucket_Manager definition. Default parameter
9544 declarations can only show up in the function declaration.
9545
9546 Tue Mar 16 10:25:53 1999 Steve Huston <[email protected]>
9547
9548 * ace/config-aix-4.1.x.h, config-aix-4.2.x.h: These now simply
9549 include config-aix-4.x.h. All further changes for any AIX 4.x
9550 version should go in config-aix-4.x.h.
9551
9552 Tue Mar 16 08:12:54 1999 Steve Huston <[email protected]>
9553
9554 * ace/Thread_Manager.cpp: In thread_within(ACE_thread_t), replaced use
9555 of '==' with ACE_OS::thr_equal. In hthread_within (ACE_hthread_t),
9556 replaced use of '==' with ACE_OS::thr_cmp. Thanks very much to
9557 Peter Windle <[email protected]> for pointing this out.
9558
9559 * README: Added Peter Windle to the list of distinguished contributors.
9560
9561 Tue Mar 16 03:05:22 1999 James Hu <[email protected]>
9562
9563 * ace/Cache_Hash_T.{cpp,h}:
9564 * ace/Cache_Heap_T.{cpp,h}:
9565 * ace/Cache_List_T.{cpp,h}:
9566 * ace/Cache_Manager.{cpp,h}:
9567 * ace/Cache_Manager_T.{cpp,h}:
9568 * ace/Cache_Object.{cpp,h}:
9569 * ace/Hash_Bucket_T.{cpp,h}:
9570 Incorporated fixes from purify and benchmarking sessions at Entera.
9571 Cosmetic changes coming soon (documentation strings and removal
9572 of magic numbers).
9573
9574 * ace/Makefile: Added above files to Makefile.
9575
9576 * ace/OS.i: FreeBSD does not support the timezone() function as
9577 documented by Vishal below. Using Chris Gill's implementation
9578 for LynxOS.
9579
9580 * tests/Makefile:
9581 * tests/Cache_Manager_Test.cpp: Added this test to illustrate
9582 Cache_Manager. Still needs changes to use ACE_DEBUG instead of
9583 cerr.
9584
9585 Mon Mar 15 19:05:22 1999 Steve Huston <[email protected]>
9586
9587 * ace/config-aix-4.x.h: New config file that covers all of the AIX 4.x
9588 versions with C Set++ (xlC) and g++. Many thanks to Susan
9589 Liebeskind <[email protected]> for doing to port to AIX 4.3 and
9590 testing, providing needed changes!
9591
9592 * ace/OS.i (wait): Fixed to handle ACE_HAS_UNION_WAIT case correctly,
9593 without depending on AIX - thanks to Susan Liebeskind for this too!
9594
9595 * ace/ACE.cpp (fork, with zombie avoidance): Fixed to work right
9596 with ACE_HAS_UNION_WAIT (ala AIX 4.2).
9597
9598 * include/makeinclude/rules.lib.GNU: New template instantiation
9599 scheme for AIX with C Set++ (xlC); goes with...
9600 * etc/xlc_dummy.cpp: New file, purpose of which is to help with AIX
9601 xlC template instantiation. This is the new, improved method from
9602 IBM suport. It still generates a zillion duplicate definition
9603 warnings, but IBM doesn't have any better solution.
9604
9605 * include/makeinclude/platform_aix4.2.GNU: This will work with both
9606 AIX 4.2 and 4.3 now. I'll take care of the naming soon.
9607
9608 * tests/Map_Test.(cpp h): Moved template defs to new file, Map_Test.h
9609 to satisfy AIX xlC. Thanks to Susan for this too.
9610
9611 * tests/DLL_Test.(cpp h): Moved template defs to new file, DLL_Test.h
9612 to satisfy AIX xlC.
9613
9614 * tests/Makefile, Makefile.DLL: Fixed to build libDLL_Test correctly
9615 on AIX w/ xlC.
9616
9617 * tests/run_tests.sh: Sets LIBPATH correctly for AIX (4.2 at least).
9618
9619 Mon Mar 15 00:26:31 1999 Douglas C. Schmidt <[email protected]>
9620
9621 * netsvcs/ACE-netsvcs.html: Updated this to document the current
9622 version. Thanks to Bill Rizzi <[email protected]> for
9623 reporting this.
9624
9625 * netsvcs/lib/Client_Logging_Handler.cpp: Make sure that debug
9626 messages go to stderr and log messages go to stdout. Thanks to
9627 Bill Rizzi <[email protected]> for reporting this.
9628
9629 * netsvcs/lib/Client_Logging_Handler.cpp (fini): Oops, fixed a
9630 minor buglet with return values. Thanks to David for reporting
9631 this.
9632
9633 * netsvcs/lib/Client_Logging_Handler.cpp (send): Added a check to
9634 make sure we don't crash if the ostream is NULL. Thanks to Bill
9635 Rizzi <[email protected]> for reporting this.
9636
9637 Sun Mar 14 22:54:41 1999 Douglas C. Schmidt <[email protected]>
9638
9639 * netsvcs/lib/Client_Logging_Handler.cpp (init): Added an
9640 ACE_OS::unlink() to prevent STREAM pipes from getting confused
9641 if this application doesn't shutdown gracefully. Thanks to Bill
9642 Rizzi <[email protected]> for reporting this.
9643
9644 Sun Mar 14 19:51:25 1999 Ossama Othman <[email protected]>
9645
9646 * configure.in: Added real-time support library `-lrt' check to
9647 asynchronous IO functions/libraries checks.
9648
9649 GNU glibc 2.1 adds support for the POSIX 1b real-time
9650 specification in the library `librt'. The POSIX asynchronous IO
9651 functions may be found in that library. Currently, `-lpthread'
9652 must also be linked to in addition to `-lrt'.
9653
9654 Sun Mar 14 17:20:09 1999 Douglas C. Schmidt <[email protected]>
9655
9656 * ace/Log_Msg: Generalized the enable_debug_messages() and
9657 disable_debug_messages() methods so they can be used to enable
9658 or disable arbitrary priorities. Thanks to Susan Liebeskind
9659 <[email protected]> for suggesting this.
9660
9661 Sun Mar 14 14:46:00 1999 Chris Gill <[email protected]>
9662
9663 * ace/OS.i (tzset,timezone): pSOS doesn't support these two
9664 functions.
9665
9666 * ace/OS.{cpp, h}: added comments clarifying usage for
9667 ACE_Time_Value::max_time, use of ACE_PSOS_TM in ACE_OS::signal ().
9668
9669 Sun Mar 14 01:30:43 1999 Nanbor Wang <[email protected]>
9670
9671 * ace/OS.i (tzset,timezone): WinCE doesn't support these two
9672 functions.
9673
9674 Sat Mar 13 12:14:34 1999 Douglas C. Schmidt <[email protected]>
9675
9676 * ace/Thread_Manager: Changed the following methods:
9677
9678 int task_list (..)
9679 int thread_list (...)
9680 int hthread_list (..)
9681 int thread_grp_list (...)
9682 int hthread_grp_list (...)
9683
9684 to return actual number of fetched values.
9685
9686 * ace/Thread_Manager: Added two new methods, task_all_list() and
9687 thread_all_list(), which return lists of all the tasks and
9688 threads in a Thread_Manager, respectively. Thanks to Zoran
9689 Ivanovic <[email protected]> for contributing this.
9690
9691 * ace/Shared_Memory_{MM,SV}.h: Clarified the relationship of
9692 these classes to the more powerful ACE_Malloc<> abstraction.
9693 Thanks to Ti Z <[email protected]> for suggesting this.
9694
9695 Sat Mar 13 13:27:55 1999 David L. Levine <[email protected]>
9696
9697 * ace/OS.i (timezone,tzset): not supported on VxWorks.
9698
9699 * include/makeinclude/ platform_osf1_4.0.GNU: added suppression
9700 of msg 1180, statement causes unreachble return, with cxx 6.2
9701 and later. It doesn't like ACE_OSCALL_RETURN and
9702 ACE_NOTSUP_RETURN, though it seems to be going overboard.
9703 The warnings appeared with cxx 6.2-009. If someone uses
9704 6.2-007, they might have to manually remove the 1180 suppression.
9705
9706 * examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp (handle_events),
9707 C-inserver.cpp (main),
9708 netsvcs/lib/Server_Logging_Handler_T.cpp (handle_logging_record),
9709 apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp (svc):
9710 replaced NOTREACHED comment with ACE_NOTREACHED macro. DU cxx
9711 started complaining about the unreached return statement.
9712
9713 Sat Mar 13 16:16:13 1999 James CE Johnson <[email protected]>
9714
9715 * docs/tutorials/021: Added some comments to page04 about the
9716 template parameters and the use of the ACE_LOCK parameter in
9717 particular. (Thanks to Bala for the suggestion.)
9718
9719 Sat Mar 13 00:37:17 1999 Douglas C. Schmidt <[email protected]>
9720
9721 * ACE version 4.6.28 released.
9722
9723 Fri Mar 12 20:17:47 1999 Irfan Pyarali <[email protected]>
9724
9725 * ace/Select_Reactor_Base.cpp (handle_input):
9726 * ace/WFMO_Reactor.cpp (handle_signal): Added support for
9727 dispatching QOS_MASK and GROUP_QOS_MASK.
9728
9729 Fri Mar 12 19:13:11 1999 Carlos O'Ryan <[email protected]>
9730
9731 * ace/OS.i:
9732 Implemented ACE_OS::timezone() for LynxOS.
9733
9734 Fri Mar 12 16:31:19 1999 Ossama Othman <[email protected]>
9735
9736 * ACE-INSTALL.html (Linux): added note about non-thread safe
9737 glibc 2.0 dynamic loader. The dynamic loader in glibc 2.1 is
9738 thread safe.
9739
9740 Fri Mar 12 13:44:54 1999 Kirthika Parameswaran <[email protected]>
9741
9742 * tests/DLL_Test.cpp (main): Fixed the errors on VxWorks and
9743 LynxOS by shifting the START_TEST before the #ifdefs began.
9744
9745 Fri Mar 12 12:53:17 1999 David L. Levine <[email protected]>
9746
9747 * ace/config-sunos5.5.h: with CC 5.0, replaced ACE_LACKS_ACE_IOSTREAMS
9748 with ACE_USES_OLD_IOSTREAMS.
9749
9750 * include/makeinclude/platform_sunos5.5_sunc++.GNU: with CC 5.0,
9751 added -library=iostream,no%Cstd to CCFLAGS.
9752
9753 Thanks to Diethard Ohrt <[email protected]> for the
9754 above two updates to support CC 5.0.
9755
9756 Fri Mar 12 12:09:14 1999 David L. Levine <[email protected]>
9757
9758 * ace/OS.h: fixed comment after #endif to match its #ifdef.
9759
9760 Fri Mar 12 11:46:55 1999 Vishal Kachroo <[email protected]>
9761
9762 Added two new functions tzset () and timezone (). The former sets the
9763 timezone information based on an environment variable TZ which is
9764 set when the user logs on. (For St. Louis TZ=US/Central and
9765 timezone = 360 minutes or 6 hrs. from GMT.). timezone () retrieves
9766 the timezone value in seconds.
9767
9768 * ace/OS.h (ACE_OS): Added a wrapper for timezone () and tzset ().
9769 * ace/OS.i (ACE_OS): Added Implementation for the above functions.
9770
9771 The timezone information is being used in the Time Service.
9772
9773 Thu Mar 11 20:11:13 1999 Douglas C. Schmidt <[email protected]>
9774
9775 * ace/Get_Opt.cpp (operator): Reverted the following change since
9776 it will break documented behavior. Thanks to Jon Biggar for
9777 reporting this.
9778
9779 * ace/Get_Opt.cpp (operator): When the getopt encountered an
9780 unknown option or an option with a missing required argument, it
9781 returned '?' and continues to allow processing with the next
9782 argument (no problem so far). However, if it encountered an
9783 argument that is not an option (i.e. no '-' in front) or if it
9784 encounters a double dash (i.e. '--') it returns EOF which
9785 disallows further processing. Now, it returns a '?' after
9786 advancing optind to allow further processing. Thanks to Mark
9787 Laffoon <[email protected]> for reporting this.
9788
9789 Thu Mar 11 15:34:24 1999 David L. Levine <[email protected]>
9790
9791 * ace/ACE.cpp: removed unnecessary #includes of ace/IPC_SAP.h,
9792 ace/Process.h, and ace/SString.h. Thanks to Elias Sreih
9793 <[email protected]> and Liang Chen
9794 <[email protected]> for suggesting this.
9795
9796 * ace/OS.cpp (ACE_OS::thr_setspecific): on ACE_WIN32 with
9797 ACE_HAS_TSS_EMULATION, don't register the one native key
9798 with ACE_TSS_Cleanup::instance (). There's no need, because
9799 it doesn't have a destructor. And, it prevents startup
9800 because the ACE_TSS_Cleanup structures haven't been set up
9801 completely when it is called. Thanks to Terry Rosenbaum
9802 <[email protected]> for reporting this.
9803
9804 Thu Mar 11 14:04:15 1999 David L. Levine <[email protected]>
9805
9806 * include/makeinclude/platform_chorus_ghs.GNU: added protection
9807 to not reset exceptions flag if it was defined.
9808
9809 Thu Mar 11 12:53:41 1999 Carlos O'Ryan <[email protected]>
9810
9811 * ace/Thread_Manager.i:
9812 The method to return the number of threads was using thr_lists_
9813 as a pointer, but it isn't.
9814
9815 Thu Mar 11 10:12:51 1999 Douglas C. Schmidt <[email protected]>
9816
9817 * ace/Thread_Manager: Added a method to return the current number
9818 of threads in the ACE_Thread_Manager. Thanks to Zoran Ivanovic
9819 <[email protected]> for suggesting this.
9820
9821 Thu Mar 11 10:27:51 1999 Kirthika Parameswaran <[email protected]>
9822
9823 * tests/DLL_Test.cpp (main): Allowed the main to be accessible on
9824 all platforms by shifting the #ifdefs inside the main. The
9825 problem arose due to the main being declared an undefined
9826 reference on LynxOS.
9827
9828 Wed Mar 10 13:31:37 1999 Ossama Othman <[email protected]>
9829
9830 * ace/config-linux-common.h:
9831 Commented out ACE_HAS_DLFCN_H_BROKEN_EXTERN_C, ACE_LACKS_MSYNC and
9832 ACE_LACKS_MADVISE. They are no longer needed for recent revisions
9833 of glibc 2.x. Thanks to <[email protected]> for pointing this out.
9834
9835 Wed Mar 10 11:05:39 1999 David L. Levine <[email protected]>
9836
9837 * ace/Thread.h,ace/Thread_Manager.h (exit): added comment
9838 that exit () should not be called by main thread.
9839
9840 * ace/OS.h: added an ACE_OS_thread_key_t typedef on WIN32
9841 with ACE_HAS_TSS_EMULATION. Thanks to Terry Rosenbaum
9842 <[email protected]> for reporting that
9843 it was missing.
9844
9845 * include/makeinclude/platform_osf1_4.0.GNU: disable msg 1136 with
9846 cxx 6.1-029. Thanks to Doug Anderson <[email protected]> for
9847 reporting this.
9848
9849 Wed Mar 10 10:57:16 1999 Carlos O'Ryan <[email protected]>
9850
9851 * ace/Basic_Types.h:
9852 Fixed minor problem that would show up if sizeof(int)==2; thanks
9853 to Cristian Ferretti <[email protected]> for reporting this
9854 problem.
9855
9856 Wed Mar 10 10:13:52 1999 Nanbor Wang <[email protected]>
9857
9858 * ace/Message_Block.i (reference_count): Made sure the inline
9859 function is defined before used. Thanks to David for noticing
9860 this.
9861
9862 Wed Mar 10 08:52:59 1999 David L. Levine <[email protected]>
9863
9864 * include/makeinclude/platform_chorus.GNU: fixed
9865 exceptions=1 support. Thanks to Wei Chiang for
9866 reporting this.
9867
9868 * include/makeinclude/wrapper_macros.GNU: added exceptions=1
9869 support for pre-2.8 g++. It's not recommended, because pre-2.8
9870 g++ doesn't support exceptions well. It's provided for
9871 completeness.
9872
9873 * include/makeinclude/platform_chorus.GNU: removed
9874 exceptions=1 support, because now it's in wrapper_macros.GNU.
9875
9876 Tue Mar 09 21:54:39 1999 David L. Levine <[email protected]>
9877
9878 * netsvcs/Makefile,netsvcs/clients/Makefile: updated
9879 ACE_COMPONENTS check to allow everything to be built
9880 in the default case, when ACE_COMPONENTS isn't set.
9881 Thanks to Carlos for noticing this.
9882
9883 * netsvcs/Makefile,netsvcs/servers/Makefile: moved
9884 netsvcs/server build suppression, when ACE_COMPONENTS
9885 lacks Other, from netsvcs/Makefile to netsvcs/servers/Makefile.
9886
9887 * examples/Naming/Makefile: suppress build if ACE_COMPONENTS
9888 is defined and doesn't contain Other.
9889
9890 * performance-tests/Misc/Makefile: don't build test_naming
9891 if ACE_COMPONENTS is defined and doesn't contain Other.
9892
9893 * ace/Log_Record.i (length): cast the long argument to ACE_UINT32,
9894 to avoid warning message if long is greater than 4 bytes.
9895 Thanks to Hao Ruan <[email protected]> for reporting this.
9896
9897 Tue Mar 9 20:56:35 1999 Carlos O'Ryan <[email protected]>
9898
9899 * include/makeinclude/rules.nested.GNU:
9900 If the DIRS macro is not set we simply do not recurse. Before
9901 this change we got an error from the shell.
9902
9903 * bin/auto_compile:
9904 If there are no errors then send a message when a warning was
9905 detected during compilation.
9906
9907 Tue Mar 09 15:15:19 1999 David L. Levine <[email protected]>
9908
9909 * bin/create_ace_build: check for ace/ and include/ directories
9910 in top level directory, instead of ace/, examples/ and netsvcs/.
9911 This allows use with trimmed-down workspaces. Thanks to Jeff
9912 for suggesting this.
9913
9914 * include/makeinclude/platform_chorus_ghs.GNU: added exceptions
9915 make option support. Thanks to Wei Chiang for reporting that
9916 it wasn't supported.
9917
9918 Tue Mar 9 12:59:09 1999 Douglas C. Schmidt <[email protected]>
9919
9920 * docs/ACE-subsets.html: Updated the subsets to reflect what's
9921 actually in the ACE Makefile.
9922
9923 * ace/Message_Block.h: Changed the private section in both
9924 ACE_Message_Block and ACE_Data_Block to protected allowing
9925 derived classes to access data members of the parent class;
9926 Thanks to Alexander Davidovich <[email protected]> for suggesting
9927 this.
9928
9929 * ace/Message_Block: Added new reference counting accessor methods
9930 to Message_Block and Data_Block. Thanks to Alexander Davidovich
9931 <[email protected]> for suggesting this.
9932
9933 Tue Mar 09 11:21:49 1999 Nanbor Wang <[email protected]>
9934
9935 * ace/Message_Block.h: For some reason, default ctor and operator=
9936 must be declared private instead of protected if they are not to
9937 be accessable. Otherwise, VC complains.
9938
9939 Tue Mar 09 01:06:44 1999 Douglas C. Schmidt <[email protected]>
9940
9941 * ACE version 4.6.27 released.
9942
9943 Tue Mar 09 00:39:23 1999 Douglas C. Schmidt <[email protected]>
9944
9945 * ACE version 4.6.26 released.
9946
9947 Mon Mar 08 23:23:35 1999 Nanbor Wang <[email protected]>
9948
9949 * ace/Thread_Manager.{h,cpp} (thread_within,hthread_within,
9950 thread_grp_list,hthread_grp_list): Added new functions to
9951 check if a thread is managed by the thread manager and collect
9952 the thread ids/handles in a thread group. Thanks to XuYifeng
9953 <[email protected]> for motivating the addition.
9954
9955 Mon Mar 08 22:23:33 1999 David L. Levine <[email protected]>
9956
9957 * ace/Makefile: added FOR_TAO short-cut to ACE_COMPONENTS.
9958 If the ACE_COMPONENTS variable is set to FOR_TAO, then
9959 only the components necessary to support TAO will be
9960 built into libACE.
9961
9962 * netsvcs/clients/Makefile: suppress build if Other
9963 ACE_COMPONENT isn't built.
9964
9965 * netsvcs/Makefile: suppress server build if Other and Token
9966 ACE_COMPONENT aren't built.
9967
9968 Mon Mar 8 17:35:04 1999 Gonzalo Diethelm <[email protected]>
9969
9970 * ace/NT_Service.cpp:
9971 * ace/NT_Service.h:
9972 Now the handle_control method calls separate protected virtual
9973 methods to do its work. That way, it is easier to override what
9974 must be done on each case, just by overriding one of the new
9975 methods.
9976
9977 Mon Mar 08 15:41:08 1999 Steve Huston <[email protected]>
9978
9979 * include/makeinclude/platform_hpux.GNU: Added -DACE_LACKS_PRAGMA_ONCE.
9980 Thanks to Hao Ruan for reporting this.
9981
9982 * README: Added Hao Ruan to the list of contributors.
9983
9984 Mon Mar 08 12:27:54 1999 David L. Levine <[email protected]>
9985
9986 * ace/Service_Config.cpp (handle_signal): added ACE_UNUSED_ARG (sig)
9987 if ACE_NDEBUG is defined, to avoid compilation warning about
9988 unused argument with debug=0.
9989
9990 * docs/ACE-subsets.html: added subset characterizations on
9991 several platforms.
9992
9993 * include/makeinclude/platform_sunos5_ghs.GNU: fixed AR and
9994 ARFLAGS to use CC to build static libs. It looks like GreenHills
9995 no longer supplies a separate archiver with 1.8.9.
9996
9997 Mon Mar 08 11:58:03 1999 Nanbor Wang <[email protected]>
9998
9999 * ace/Task.cpp (activate): Made sure we don't mess with the passed
10000 in grp_id if the task was not previously actived. Thanks to
10001 XuYifeng <[email protected]> for noticing this.
10002
10003 Fri Mar 05 14:15:46 1999 David L. Levine <[email protected]>
10004
10005 * ace/OS.cpp (ACE_TSS_Cleanup (),free_all_keys_left ()):
10006 with ACE_TSS_Emulation only, don't free the TSS key that
10007 ACE_TSS_Cleanup uses internally for its in_use_ member.
10008 The key doesn't get freed in ACE_OS::thr_key_detach (),
10009 because that gets called during shutdown. So,
10010 free_all_keys_left () would attempt to free it. But,
10011 the dynamic memory associated with it had already been
10012 deleted by ACE_TSS_Cleanup::exit (). And, there
10013 aren't any other resources associated with it. So,
10014 free_all_keys_left () can just skip over it.
10015
10016 * ace/OS.cpp (cleanup_tss): disabled call to
10017 free_all_keys_left () with ACE_HAS_TSS_EMULATION, because
10018 we can't safely access the TSS values that were created by
10019 the main thread. They were destroyed when the ACE_TSS_Cleanup
10020 instance exit () function was called. There don't seem to
10021 be any leaks if free_all_keys_left () isn't called, anyways.
10022
10023 Fri Mar 5 11:05:04 1999 Nanbor Wang <[email protected]>
10024
10025 * examples/Log_Msg/Log_Msg.dsw: Fixed the path to Callback.dsp.
10026 Thanks to Zoran Ivanovic <[email protected]> for reporting
10027 this.
10028
10029 * performance-tests/Misc/Makefile: Removed test_guard from the
10030 Makefile. This test requires having
10031 ACE_USES_OBSOLETE_GUARD_CLASSES defined in order to compare
10032 ACE_Guard to ACE_Thread_Mutex_Guard (obsolete).
10033
10034 * ace/OS.h: Removed ACE_THREAD_GUARD*.
10035
10036 * ace/config-psos-{diab,tm}.h: Removed
10037 ACE_LACKS_METHOD_DEFINITIONS_IN_CLASS_TEMPLATE. It is no longer
10038 needed.
10039
10040 * ace/Synch_T.{h,i}: One would assume compilers are smart enough
10041 to treat _all_ in-class functions as inline. Not for template
10042 member functions. This is true at least for SunCC, egcs, gcc,
10043 and MSVC. These functions seems to impose extra overhead.
10044 After removing the in-class definitions for ACE_Guard, the cost
10045 of using ACE_Guard is now as good as using
10046 ACE_Thread_Mutex_Guard (which, by the way, is depricated.) So,
10047 there's no need for a ACE_THREAD_MUTEX_GUARD class. Afterall,
10048 the "ACE Way[TM]" of defining inline functions is the "Right
10049 Way[TM]". The motto of the change is, always put inline
10050 functions in .i files (even for template specialization)
10051 otherwise, they'll become regular functions. If you really need
10052 to put function definitions within class definitions, mark
10053 inline function explicitly.
10054
10055 Thanks to Andy Marchewka <[email protected]> for noticing the
10056 performance differences between ACE_Thread_Mutex_Guard and (old)
10057 ACE_Guard.
10058
10059 Fri Mar 5 11:06:12 1999 Douglas C. Schmidt <[email protected]>
10060
10061 * ace/Svc_Conf.y: Always print out an error message when we
10062 increment yyerror. Thanks to Ulf Jaehrig <[email protected]>
10063 for reporting this.
10064
10065 Thu Mar 4 12:26:47 1999 Nanbor Wang <[email protected]>
10066
10067 * tests/Message_Queue_Notifications_Test.cpp (svc): Made increment
10068 of <role_> thread-safe.
10069
10070 Thu Mar 04 07:00:20 1999 David L. Levine <[email protected]>
10071
10072 * ace/config-aix-4.2.x.h: added ACE_LACKS_PRAGMA_ONCE
10073 to xlC section. Thanks to Rainer Blome <[email protected]>
10074 for reporting this.
10075
10076 * ace/config-osf1-4.0.h: added ACE_LACKS_PRAGMA_ONCE to
10077 cxx section, with __DECCXX_VER < 60090010. This should
10078 help avoid compilation warnings from cxx 5.x. Thanks
10079 to Oliver M. Kellogg <[email protected]> for
10080 reporting this.
10081
10082 * ACE-INSTALL.html: corrected name of ace/config-linux-lxpthreads.h.
10083 Thanks to Barry Hoggard <[email protected]> for reporting this.
10084
10085 * tests/Makefile,Makefile.DLL: instead of always running a
10086 recursive make to build libDLL_Test.so, only do that if it
10087 needs to be built. And, added dependencies to Makefile.DLL.
10088
10089 * ace/Makefile: commented out use of TEMPLATE_FILES. I don't
10090 believe that it's needed.
10091
10092 * ace/CLASSIX/Makefile: removed unused TEMPLATE_FILES and
10093 LSRC2 macros, and gethrtime build rule.
10094
10095 * docs/ACE-subsets.html: updated, and added documentation for
10096 ACE_COMPONENTS and the ACE_OS adapation layer.
10097
10098 Wed Mar 3 22:30:02 1999 James CE Johnson <[email protected]>
10099
10100 * ace/IOStream_T.{cpp|h|i}: Those last changes break (at least)
10101 examples/IOStream/server. I'm backing them out and restoring
10102 the 4.6.25 versions of these files until Chris can get back to
10103 me about what's going on.
10104
10105 Wed Mar 03 21:49:58 1999 David L. Levine <[email protected]>
10106
10107 * ace/OS.cpp (socket_init,socket_fini): replaced use of
10108 cerr with ACE_OS::fprintf.
10109
10110 * ace/OS.h: conditionally #include Object_Manager.h, only
10111 if ACE_HAS_MINIMAL_ACE_OS is not defined. Merged main ()
10112 #defines for Unix/NT and WinCE, to ease maintenance.
10113
10114 * ace/config-minimal.h: removed undef of
10115 ACE_HAS_NONSTATIC_OBJECT_MANAGER, because OS.h now conditionally
10116 #includes Object_Manager.h. Added ACE_MAIN_OBJECT_MANAGER #define,
10117 to only instantiate the ACE_OS_Object_Manager.
10118
10119 * ace/config-WinCE.h: added ACE_MAIN and ACE_MAIN_OBJECT_MANAGER
10120 #defines, to support merging of the main () #defines in OS.h.
10121
10122 * ace/OS.{h,cpp}: added ACE_OS_Object_Manager::starting_up ()
10123 and shutting_down (). (ACE_TSS_Cleanup::remove): replaced
10124 use of ACE_Object_Manager::shutting_down () with
10125 ACE_OS_Object_Manager::shutting_down (). Thanks to Irfan
10126 for reporting that, otherwise, ace/Object_Manager.h had
10127 to be #included by OS.cpp on NT, if ACE_NONSTATIC_OBJECT_MANAGER
10128 wasn't #defined.
10129
10130 * tests/Basic_Types_Test.cpp: hacked a bit to support building,
10131 and running, with ACE_HAS_MINIMAL_ACE_OS. Don't look,
10132 unless you want to forever ruin all of your good coding habits.
10133
10134 Wed Mar 03 19:08:52 1999 Irfan Pyarali <[email protected]>
10135
10136 * ace/Map_T.h (ACE_Map): Further degraded my code to make it
10137 compile with lame compilers ;-) This time it was the lame pSOS
10138 diab compiler that could not recongnize a typedef in the base
10139 template class.
10140
10141 Wed Mar 03 11:31:00 1999 David L. Levine <[email protected]>
10142
10143 * docs/ACE-guidelines.html: added guideline to try to limit
10144 the length of source code lines to less than 80 characters.
10145 And, reverted to the previous version of the file. The
10146 last version was apparently committed by mistake.
10147
10148 * include/makeinclude/wrapper_macros.GNU (ACE_HAS_GNUG_PRE_2_8):
10149 added support for eg++. Assume that it's egcs, and therefore
10150 ACE_HAS_GNUG_PRE_2_8 is set to 0. Thanks to Russell L. Carter
10151 <[email protected]> for supplying a patch.
10152
10153 Wed Mar 3 09:35:20 1999 Ossama Othman <[email protected]>
10154
10155 * ace/Memory_Pool.cpp (handle_signal): Added a check to see if the
10156 current mapping is up to date so that faults caused by other
10157 mappings will be passed on. Thanks to
10158 Joseph Weihs <[email protected]> for reporting this and for
10159 providing a fix.
10160
10161 Wed Mar 3 05:48:24 1999 Douglas C. Schmidt <[email protected]>
10162
10163 * ace/ACE.cpp (fork): Added an extra pair of parens within the
10164 WIFE*() macros to work around GCC bugs. Thanks to Alexandre
10165 Karev <[email protected]> and Andre Folkers
10166 <[email protected]> for reporting this.
10167
10168 Tue Mar 2 22:50:18 1999 Alexander Babu Arulanthu <[email protected]>
10169
10170 * ace/POSIX_Asynch_IO.h:
10171 * ace/POSIX_Proactor.cpp:
10172 Added forward declaration for ACE_Proactor_Impl. Using static cast
10173 to down cast from <aiocb *> to
10174 <ACE_POSIX_Asynch_Result *>. Thanks to [email protected] for
10175 reporting the warnings in HP UX.
10176
10177 Tue Mar 02 21:17:19 1999 David L. Levine <[email protected]>
10178
10179 * ace/OS.{h,cpp},Object_Manager.{h,cpp}: changed Object_Manager
10180 state to be per-instance, instead of global. This makes
10181 it easier to enforce startup and shutdown ordering,
10182 regardless of whether the Object_Managers are static,
10183 created on the stack of main (), or dynamically allocated.
10184
10185 * ace/IOStream_T.h: fixed a couple more line breaks.
10186
10187 * Makefile: added support for suppressing man page regeneration
10188 on make release command line.
10189
10190 * include/makeinclude/platform_osf1_4.0.GNU: added automated
10191 support for warning 1136. It's only supported by cxx 6.2.
10192 Thanks to James CE Johnson <[email protected]> for reporting
10193 this, and to Andrew Hobson <[email protected]> for
10194 diagnosing the problem.
10195
10196 * ace/OS.i (thr_getspecific): added #else clause w/ACE_NOTSUP_RETURN
10197 to support ACE_HAS_MINIMAL_ACE_OS.
10198
10199 * ace/config-minimal.h: added #undef of
10200 ACE_HAS_NONSTATIC_OBJECT_MANAGER, to avoid #include of
10201 Object_Manager.h. And, added #define ACE_USE_THREAD_MANAGER_ADAPTER
10202 so that ACE_Thread_Adapter::invoke () won't use any
10203 ACE_Thread_Exit functions.
10204
10205 * ace/OS.cpp (ACE_Thread_Adapter::invoke): removed
10206 ACE_HAS_MINIMAL_ACE_OS conditional compilation, because
10207 config-minimal.h now #defines ACE_USE_THREAD_MANAGER_ADAPTER.
10208 And, added #else clauses to three TSS-related functions.
10209
10210 Tue Mar 02 14:43:29 1999 Steve Huston <[email protected]>
10211
10212 * ace/Map_T.(h i): Qualified types inherited from template base
10213 classes; qualified with ACE_TYPENAME where needed. Now aC++
10214 is happy.
10215
10216 * ace/config-hpux-10.x-hpc++.h: Added ACE_HAS_TYPENAME_KEYWORD for
10217 aC++.
10218
10219 * tests/DLL_Test.cpp: Enable on HP-UX. Generalize the library
10220 prefix/suffix with the platform definitions from OS.h.
10221
10222 Tue Mar 2 12:41:00 1999 Chris Gill <[email protected]>
10223
10224 * ace/IOStream_T.{cpp, h}: Fixed some line breaks that were
10225 inadvertently introduced when these files were last checked in.
10226
10227 Tue Mar 2 10:54:16 1999 Nanbor Wang <[email protected]>
10228
10229 * Cache_{Hash,Heap}_T.{h,cpp}:
10230 * Cache_Manager[_T].{h,cpp}:
10231 * Cache_Object.cpp:
10232 * Hash_Bucket_T.{h,cpp}: Fixed erroneous include directives.
10233 Thanks to [email protected] for reporting this.
10234
10235 Tue Mar 2 10:33:47 1999 James CE Johnson <[email protected]>
10236
10237 * ace/IOStream_T.{cpp|h|i}: Christopher Healey
10238 <[email protected]> noticed occasional core dumps from
10239 ~ACE_IOStream on heavily loaded systems. It turns out that
10240 streambuf_ was being deleted out from under the object. These
10241 three files include his patches for this problem.
10242
10243 Tue Mar 2 02:28:54 1999 Nanbor Wang <[email protected]>
10244
10245 * ace/CDR_Stream.h (do_byte_swap): This accessor function should
10246 be public accessible. Otherwise it's useless. Reorder class
10247 declaration so the protected members appear before private
10248 members/functions.
10249
10250 Mon Mar 1 23:26:41 1999 Kirthika Parameswaran <[email protected]>
10251
10252 * tests/DLL_Test.cpp (ACE_HAS_SVR4_DYNAMIC_LINKING):
10253 Added this check to prevent this test from being run
10254 separately.
10255
10256 Mon Mar 01 17:02:48 1999 David L. Levine <[email protected]>
10257
10258 * ACE version 4.6.25 released.
10259
10260 Mon Mar 01 16:54:02 1999 David L. Levine <[email protected]>
10261
10262 * ace/OS.cpp,Object_Manager.cpp: fixed ObjMan state logic to
10263 ensure that the ACE_Object_Manager is fini'd before the
10264 ACE_OS_Object_Manager, even when both are static objects.
10265 Thanks to Carlos for reporting this problem.
10266
10267 Mon Mar 01 14:05:46 1999 David L. Levine <[email protected]>
10268
10269 * ACE version 4.6.24 released.
10270
10271 Mon Mar 01 13:04:53 1999 David L. Levine <[email protected]>
10272
10273 * ace/OS.*,Object_Manager.{h,cpp},ACE.cpp: added class
10274 ACE_OS_Object_Manager. It manages the three preallocated
10275 locks that ACE_OS uses. Many thanks to Nanbor for
10276 suggesting the scheme to avoid dependency on Synch_T.h
10277 for the ACE_Guard instantiations: OS.cpp now has a
10278 couple of lightweight guards for its internal use.
10279
10280 * ace/ACE.{i,cpp},OS.*: moved ACE::strecpy () and
10281 ACE::unique_name () from class ACE to ACE_OS. That
10282 allows ACE_OS to be self-contained. The ACE versions
10283 were left for backward compatibility; they now just
10284 wrap the ACE_OS versions.
10285
10286 With these changes, a stand-alone ACE OS adaptation layer
10287 can now be built. The ace/config-minimal.h config file
10288 should be included in ace/config.h if you want to build
10289 the ACE OS adaptation layer.
10290
10291 Two deficiencies remain with the ACE OS adaptation layer:
10292 the dependencies on ACE_Log_Msg have been conditionally
10293 compiled out by config-minimal.h. Similarly, there is
10294 a conditional dependency of ACE_Thread_Adapter::invoke ()
10295 on ACE_Thread_Exit. It would probably be best to move
10296 that to ACE Thread_Manager, if possible.
10297
10298 * ace/config-minimal.h: suppress ACE_HAS_TSS_EMUATION, because
10299 it requires other ACE headers to be #included.
10300
10301 * ace/Synch.{i,cpp} (~ACE_Recursive_Thread_Mutex): added
10302 a call to this->remove (). Without it, the mutex wasn't
10303 being destroyed. Uninlined both the destructor to avoid
10304 code bloat if there are multiple returns in a function
10305 that instantiates an ACE_Recursive_Thread_Mutex locally.
10306 And, uninlined the remove () function, to save code space,
10307 because it's non-trivial and not expected to be time critical.
10308
10309 Sun Feb 28 20:21:05 1999 Kirthika Parameswaran <[email protected]>
10310
10311 * tests/Makefile.DLL (realclean): Added the realclean target to
10312 the makefile.
10313
10314 * tests/run_tests.sh (ace_version): Disabled DLL_Test for chorus,
10315 LynxOS, Unicos platforms as they dont support shared libraries.
10316
10317 Sun Feb 28 20:08:54 1999 Alexander Babu Arulanthu <[email protected]>
10318
10319 * ace/POSIX_Proactor.cpp:
10320 * ace/POSIX_Asynch_IO.h:
10321 * ace/POSIX_Asynch_IO.cpp:
10322 Fixed to pass <ACE_POSIX_Asynch_Result *> wherever <aiocb *> is being
10323 passed, since it is ok to pass the derived class pointer in place of
10324 base class pointer.
10325 Defined the fields <bytes_transferred_> and <error_> in
10326 <ACE_POSIX_Asynch_Result> so that they can be used instead of
10327 <AIO_SYSERROR> and <AIO_SYSRETURN>. Because <aiocb:;aio_return> and
10328 <aiocb::aio_error> fields are not supported on HP yet.
10329
10330 Sun Feb 28 14:22:38 1999 David L. Levine <[email protected]>
10331
10332 * include/makeinclude/platform_linux_kcc.GNU: added
10333 -D_GNU_SOURCE to CFLAGS, because it's needed with
10334 glibc 2.1. It can't go into the config file, because
10335 it needs to be #defined before the #include of
10336 features.h. But, features.h #defines the glibc version.
10337 Thanks to Ben Eng <[email protected]> for reporting this.
10338
10339 * ace/config-minimal.h: disable ACE_ASSERT, ACE_DEBUG, and ACE_ERROR.
10340
10341 Sun Feb 28 12:57:53 1999 Nanbor Wang <[email protected]>
10342
10343 * ace/Thread_Manager.cpp (terminate): The condition for handling
10344 joining thread was wrong. Thanks to Terry Rosenbaum
10345 <[email protected]> for reporting the bug.
10346
10347 Sun Feb 28 08:37:44 1999 David L. Levine <[email protected]>
10348
10349 * ace/OS.cpp (ACE_Thread_Adapter::invoke): replaced call
10350 to ACE_Thread::self () with call to ACE_OS::thr_self (),
10351 so that we don't need to #include ace/Thread.h. Thanks
10352 to Russ Noseworthy for reporting this.
10353
10354 Sat Feb 27 17:25:52 1999 David L. Levine <[email protected]>
10355
10356 * ace/Makefile: updated dependencies. They didn't have
10357 any .shobj dependencies, just .obj.
10358
10359 * tests/Makefile: ran make depend. It didn't have any
10360 dependencies.
10361
10362 * include/makeinclude/platform_linux_kcc.GNU: added note that
10363 evaluation copies of KCC might come with libraries that were
10364 built with exception handling support. To use them, ACE must be
10365 built with exception handling support
10366 (exceptions=1). Thanks to John Lindal <[email protected]>
10367 for reporting this.
10368
10369 Also, added support for the exceptions make flag.
10370
10371 Sat Feb 27 13:31:17 1999 Douglas C. Schmidt <[email protected]>
10372
10373 * ace/OS.i: Fixed the remaining problems with ACE_OSCALL_RETURN
10374 macro usage for sem_wait(), sem_post(), and sem_trywait().
10375 Thanks to David Levine for reporting this.
10376
10377 * ace/OS.h: Added a set of ACE_THREAD_GUARD macros that use
10378 ACE_Thread_Mutex_Guard. These seem to be faster on many
10379 platforms than the ACE_Guard<ACE_Thread_Mutex>. Thanks to
10380 Andy Marchewka <[email protected]> for reporting this.
10381
10382 * ace/Dump.cpp: Moved the explicit template instantiation of
10383 ACE_Guard<ACE_Thread_Mutex> out of dump and put it into
10384 Synch.cpp, where it's with the other instantiations.
10385
10386 Fri Feb 26 23:58:46 1999 Jeff Parsons <[email protected]>
10387
10388 * ace/CDR_Stream.{h,i,cpp}:
10389 Added some read- and write-pointer alignment
10390 functions, as proposed by Carlos. Also deleted some
10391 ACE_OutputCDR members that weren't being used.
10392 Checked the build on NT and suncc. Must come up with
10393 some kind of test for these new functions.
10394
10395 Fri Feb 26 21:56:05 1999 David L. Levine <[email protected]>
10396
10397 * ace/Makefile: moved ACE_COMPONENTS to after include
10398 of wrapper_macros.GNU, so that users can set it in
10399 their platform_macros.GNU. Also, added ACE_LACKS_ACE_OTHER
10400 to CFLAGS if Other ACE_COMPONENT is not built.
10401
10402 Fri Feb 26 17:48:32 1999 Steve Huston <[email protected]>
10403
10404 * include/makeinclude/platform_hpux_aCC.GNU: Added OCFLAGS
10405 value for optimize=1 builds; added support for distrib=1
10406 builds to build for off-site distribution.
10407
10408 Fri Feb 26 12:38:00 1999 David L. Levine <[email protected]>
10409
10410 * ace/OS.cpp: added #include "ace/Thread_Manager.h" on
10411 WIN32, for ACE_Thread_Descriptor declaration. Thanks
10412 to Barry Hoggard <[email protected]> for reporting this.
10413
10414 * ace/Managed_Object.h: fixed comments in description.
10415
10416 Fri Feb 26 11:56:08 1999 Ossama Othman <[email protected]>
10417
10418 * ace/Log_Priority.h (ACE_Log_Priority): Removed all references to
10419 ACE_HAS_BROKEN_ENUMS since it has been deprecated (see David's
10420 ChangeLog entries from Feb 5).
10421
10422 Fri Feb 26 11:09:47 1999 Ossama Othman <[email protected]>
10423
10424 * ace/OS.i (sema_destroy): ACE_OSCALL and ACE_OSCALL_RETURN macro
10425 calls for sem_destroy, sem_unlink and sem_close had too few
10426 arguments. Added the missing arguments for the macros.
10427
10428 Fri Feb 26 10:59:45 1999 Alexander Babu Arulanthu <[email protected]>
10429
10430 * examples/Reactor/WFMO_Reactor/test_talker.cpp (main): Fixed to
10431 use the new proactor interface.
10432
10433 Thu Feb 25 22:17:58 1999 David L. Levine <[email protected]>
10434
10435 * ace/OS.cpp (spa, for VxWorks only): updated comment about
10436 ::sp () default values, and added comments for each argument
10437 to ::taskSpawn (). Thanks to Tad Jarosinski <[email protected]>
10438 for asking about spa ().
10439
10440 Thu Feb 25 20:10:06 1999 Ossama Othman <[email protected]>
10441
10442 * ace/Synch.h:
10443 * ace/Synch.i:
10444 * ace/Synch_T.h:
10445
10446 Added an ACE_Null_Semaphore class. Thanks to Irfan for his guidance
10447 on this. Also fixed ACE_SYNCH_SEMAPHORE to be ACE_Null_Semaphore
10448 when ACE is built without thread support.
10449
10450 Thu Feb 25 18:37:27 1999 Irfan Pyarali <[email protected]>
10451
10452 * ace/WFMO_Reactor (cancel_wakeup and masks_ops): Fixed the
10453 cancel_wakeup() method. It was doing too much, i.e., if the
10454 masks were reduced to null, it was removing the event handler
10455 entry. The new version behaves more like the Select Reactor in
10456 that it simply plays with the masks without removing the event
10457 handler.
10458
10459 Also, implemented the mask_ops() operation.
10460
10461 Thanks to Douglas C. Schmidt <[email protected]> and Zoran
10462 Ivanovic <[email protected]> for helping in pinpointing the
10463 problem.
10464
10465 * ace/Service_Config.cpp (fini_svcs and close): Since the reactor
10466 and proactor singletons potentially call user code (in
10467 handle_close()), we must shut them down *before* the log msg is
10468 destroyed. Therefore, moved the close_singletons() call from
10469 close() to fini_svcs().
10470
10471 * ace/Select_Reactor_Base.cpp (bit_ops): Since we return the old
10472 masks everytime, find the old reactor masks at the start of the
10473 method. This automatically does the work of the GET_MASK
10474 operation.
10475
10476 * ace/Proactor.cpp: Added #include "ace/Object_Manager.h"
10477
10478 * examples/Reactor/WFMO_Reactor/test_prerun_state_changes.cpp:
10479 handle_close() was getting called twice; changed code to prevent
10480 double deletion.
10481
10482 * examples/Reactor/WFMO_Reactor/test_handle_close.cpp: Added the
10483 ability to cancel reads, change masks, and check for existing
10484 reactor masks.
10485
10486 Thu Feb 25 17:35:10 1999 Kirthika Parameswaran <[email protected]>
10487
10488 * tests/DLL_Test.cpp:
10489 Changed the OBJ_SUFFIX to ".so" as on Linux the .o file cannot
10490 be a shared object. Also the OBJ_PREFIX is now "./lib" for
10491 non-Win32 platforms.
10492 * tests/Makefile:
10493 Additional option DLL_TEST added so that a .so can be produced
10494 for DLL_Test.
10495 * tests/Makefile.DLL:
10496 This is the makefile which produces libDLL_Test.so for DLL_Test.
10497
10498 Wed Feb 24 23:47:22 1999 Alexander Babu Arulanthu <[email protected]>
10499
10500 * examples/Reactor/Proactor/test_proactor.cpp:
10501 * ace/WIN32_Asynch_IO.h:
10502 * ace/Proactor.cpp:
10503 * ace/WIN32_Proactor.cpp:
10504 * ace/Proactor.h:
10505 * ace/Proactor_Impl.h:
10506 * ace/POSIX_Proactor.h:
10507 Changed the return values of the <ACE_Proactor::handle_events> API to
10508 return -1 on error, 0 on timeout, 1 on success. This has been done so
10509 that it looks like the <ACE_Reactor::handle_events>. Previously
10510 <ACE_Proactor::handle_events> was returning -1 on error, 0 on success
10511 and 0 on timeout also.
10512
10513 Fixed the <ACE_POSIX_AIOCB_Proactor::handle_events> and
10514 <ACE_POSIX_SIG_Proactor::handle_events> to do indefinite blocking when
10515 ACE_INFINITE is passed. <sigwaitinfo> is used instead of
10516 <sigtimedwait>.
10517
10518 Renamed the <ACE_AIO_Accept_Handler> class to more appropriate
10519 <ACE_Notify_Pipe_Manager>.
10520
10521 Wed Feb 24 22:08:50 1999 Douglas C. Schmidt <[email protected]>
10522
10523 * ace/OS.i: Fixed all the sem_* calls so that they no longer use
10524 the ACE_ADAPT_RETVAL() macro, which was broken since these calls
10525 all return -1 on failure. Thanks to John E. Bossom
10526 <[email protected]> for reporting this.
10527
10528 Wed Feb 24 17:40:49 1999 James CE Johnson <[email protected]>
10529
10530 * docs/tutorials/combine:
10531 * docs/tutorials/colorize:
10532 A few enhancements to make the colorization better. Also, when
10533 #include "ace/something.h" is seen by the colorizer, it will
10534 create a link to ../../../ace/something.h. That should give
10535 direct links from the tutorial pages to the ACE headers.
10536
10537 Wed Feb 24 16:56:51 1999 James CE Johnson <[email protected]>
10538
10539 * docs/tutorials/017/barrier2.cpp: Added this to show how you can
10540 change the thread count while threads are still active.
10541
10542 * docs/tutorials/017/*.html: Regenerated due to the new file.
10543
10544 * docs/tutorials/018/*.html: Added Kirthika's abstract &
10545 regenerated.
10546
10547 * docs/tutorials/018/token.cpp: Typo in the comments...
10548
10549 Wed Feb 24 14:57:10 1999 Nanbor Wang <[email protected]>
10550
10551 * ace/OS.h (ASYS_ONLY_WIDE_STRING): New UNICODE macros to convert
10552 char* to wchar* when UNICODE is defined but not on CE.
10553
10554 * ace/Service_Config.cpp (parse_args): Convert getopt.optarg using
10555 ASYS_ONLY_WIDE_STRING.
10556
10557 Wed Feb 24 13:54:15 1999 David L. Levine <[email protected]>
10558
10559 * ace/config-minimal.h: changed #include protection to
10560 ACE_CONFIG_MINIMAL_H, so that this config can be #included
10561 by others.
10562
10563 * ace/OS.{h,cpp},Thread_Manager.h: moved ACE_Thread_Control and
10564 ACE_Thread_Exit class definitions from Thread_Manager.h to OS.h,
10565 so that Task.h no longer needs to be #included by OS.cpp.
10566
10567 * ace/OS.cpp: protected #include of Containers_T.h with
10568 defined (ACE_WIN32) || defined (ACE_HAS_TSS_EMULATION).
10569
10570 Wed Feb 24 05:30:59 1999 Douglas C. Schmidt <[email protected]>
10571
10572 * ace/Message_Queue_T.i (dequeue): Replaced the improper
10573 self-recursive call to dequeue() with dequeue_head(). Thanks to
10574 Marc Engel <[email protected]> for reporting this.
10575
10576 Tue Feb 23 20:58:17 1999 Douglas C. Schmidt <[email protected]>
10577
10578 * ace/OS.i: Make sure to do the right thang if we're compiling the
10579 ACE recursive thread mutexes on platforms that lack threading.
10580
10581 * ace/Service_Object: Added a new ACE_Service_Object constructor
10582 that takes an ACE_Reactor * and passes this down to the
10583 ACE_Event_Handler base class.
10584
10585 * ace/Event_Handler: Added a new ACE_Event_Handler constructor
10586 that takes an ACE_Reactor * and an int priority that default to
10587 the right values.
10588
10589 Tue Feb 23 21:53:32 1999 David L. Levine <[email protected]>
10590
10591 * ace/OS.h,README: added ACE_HAS_MINIMAL_ACE_OS support.
10592
10593 * ace/config-minimal.h: added this config file. It defines
10594 ACE_HAS_MINIMAL_ACE_OS. It is designed to build only
10595 the minimal ACE_OS adaptation layer.
10596
10597 Tue Feb 23 20:28:45 1999 Marina Spivak <[email protected]>
10598
10599 * ace/SString.{h,i,cpp}: Added a private member <buf_len_> to the
10600 ACE_CString class to keep track of the size of data buffer, and
10601 avoid unnecessary memory reallocations. Updated class methods
10602 to use buf_len_.
10603
10604 Tue Feb 23 19:54:55 1999 Alexander Babu Arulanthu <[email protected]>
10605
10606 * ace/POSIX_Asynch_IO.h:
10607 * ace/POSIX_Asynch_IO.cpp:
10608 Fixed the potential dominance warnings in POSIX
10609 implementation. Updated the documentation.
10610
10611 Tue Feb 23 18:11:11 1999 Kirthika Parameswaran <[email protected]>
10612
10613 * examples/DLL/DLL.dsw:
10614 examples/DLL/Main.dsp:
10615 examples/DLL/Newsweek.dsp:
10616 examples/DLL/Today.dsp:
10617 Added extra include and linker options to the projects.
10618
10619 * tests/DLL_Test:
10620 Added OBJ_PREFIX to cater to the problem which arose due to the fact
10621 that the .o is produced under the .obj directory on SunOS.
10622
10623 * tests/run_tests.sh:
10624 tests/run_tests.bat:
10625 Made an entry for DLL_Test.
10626
10627 Tue Feb 23 16:54:33 1999 Irfan Pyarali <[email protected]>
10628
10629 * ace/OS.i (recursive_mutex_trylock and recursive_mutex_lock):
10630 Removed the "abandoned" versions of these routines. Abandoned
10631 mutexes are only supported for process mutexes, but not for
10632 thread mutexes.
10633
10634 Tue Feb 23 15:50:40 1999 Alexander Babu Arulanthu <[email protected]>
10635
10636 * ace/Proactor.cpp:
10637 * ace/Proactor.h:
10638 * ace/Proactor_Impl.h:
10639 * ace/POSIX_Proactor.h:
10640 * ace/POSIX_Proactor.cpp:
10641 * ace/POSIX_Asynch_IO.h:
10642 * ace/POSIX_Asynch_IO.cpp:
10643 * ace/WIN32_Proactor.cpp:
10644 Implemented <post_completion> for POSIX platforms. Thanks to Irfan
10645 for the cool design. This API has been changed a little bit for
10646 portability. <post_completion> API now exists at
10647 <ACE_Asynch_Result_Impl> class. To post completions, users will have
10648 to get hold of an <ACE_Asynch_Result_Impl> class (either get it from
10649 the predefined factory methods at the Proactor or derive from
10650 <ACE_WIN32_Asynch_Result> or <ACE_POSIX_Asynch_Result>, then call
10651 <post_completion> on it passing in the <Proactor_Impl *> which can
10652 be got through <implementation> method in the <ACE_Proactor>.
10653 The need for RTTI has been avioded in this design.
10654
10655 Tue Feb 23 15:19:33 1999 Steve Huston <[email protected]>
10656
10657 * ace/NT_Service.(h cpp): Added two new methods:
10658 state (DWORD *, ACE_Time_Value * = 0) as an alternate way to get the
10659 service's state, with definite indication of error. Also changed
10660 comments on the other state() method to clarify the return value.
10661 test_access (DWORD) tests caller's access to the service.
10662 Thanks to Martin Krumpolec <[email protected]> for these ideas and
10663 suggestions!
10664
10665 Tue Feb 23 14:12:52 1999 Irfan Pyarali <[email protected]>
10666
10667 * ace/Active_Map_Manager_T.h (npos): Added a new static member
10668 function that returns a key that cannot be found in the map.
10669 Thanks to Fernando D. Mato Mira <[email protected]> for
10670 suggesting this.
10671
10672 Tue Feb 23 12:15:09 1999 Nanbor Wang <[email protected]>
10673
10674 * ace/Svc_Conf.y:
10675 * ace/Svc_Conf_y.cpp:
10676 * ace/Parse_Node.cpp (symbol):
10677 * ace/OS.cpp (fork_exec):
10678 * ace/INET_Addr.cpp (ACE_INET_Addr): More Unicode fixes.
10679
10680 Tue Feb 23 12:00:21 1999 Steve Huston <[email protected]>
10681
10682 * examples/NT_Service/main.cpp: Allow -i option without a value, and
10683 default to AUTO_START. Also, added a README file to explain how to
10684 use the program. Thanks to Zoran Ivanovic <[email protected]> for
10685 the change and the README file!
10686
10687 Mon Feb 22 22:03:47 1999 Nanbor Wang <[email protected]>
10688
10689 * bin/auto_compile_win32.pl: Perl script for compiling all the
10690 million different config. combination on Win32. Hey, it also
10691 works on Alpha. Thanks to Darrell Brunsch for testing it on
10692 Alpha/NT.
10693
10694 * ace/ace_{dll,lib}.dsp: Fixed broken project settings.
10695
10696 Mon Feb 22 21:56:27 1999 David L. Levine <[email protected]>
10697
10698 * ace/Sched_Params.cpp: removed #include of ACE.h because it's
10699 not necessary.
10700
10701 * ace/Makefile: added ACE_COMPONENTS default definition.
10702 Moved Sched_Params from THREADS_FILES to OS_FILES because
10703 OS.cpp needs it. It only contributes 172 bytes to libACE
10704 on VxWorks and 248 on LynxOS.
10705
10706 Sun Feb 21 18:52:17 1999 Douglas C. Schmidt <[email protected]>
10707
10708 * ACE version 4.6.23 released.
10709
10710 Sun Feb 21 08:46:09 1999 David L. Levine <[email protected]>
10711
10712 * ace/OS.i (recursive_mutex_{init,lock,trylock}: added some
10713 ACE_UNUSED_ARGS.
10714
10715 * ace/OS.{i,cpp} (cond_*): uninlined the ACE_OS:cond_* function
10716 versions with ACE_LACKS_COND_T. Most are too big to be
10717 good candidates for inlining. And the others cause use-before-
10718 definition problems in OS.i.
10719
10720 Sun Feb 21 00:17:58 1999 Darrell Brunsch <[email protected]>
10721
10722 * websvcs/lib/URL_Addr.i: Can now copy null Addrs. Also added
10723 hash function implementation.
10724
10725 * websvcs/lib URL_Addr.h: Added hash function.
10726
10727 * websvcs/lib/URL_Addr.cpp: Fixed a bug with
10728 ACE_HTTP_Addr::create_relative_address and urls beginning with
10729 "/". It used to copy the first '/', which wasn't needed.
10730
10731 Sat Feb 20 15:39:16 1999 David L. Levine <[email protected]>
10732
10733 * ace/OS.{h,cpp},Object_Manager.{h,cpp}: changed ACE_OS::exit ()
10734 to call an exit hook that is registered by the ACE_Object_Manager,
10735 instead of directly calling ACE_Object_Manager::fini ().
10736
10737 * ace/OS.i (thr_self): moved definitions to before first use.
10738
10739 Sat Feb 20 11:50:30 1999 Nanbor Wang <[email protected]>
10740
10741 * ace/OS.i (thr_equal): Moved the body of ACE_OS::thr_equal before
10742 recursive_mutex methods to avoid "function redefined as inline"
10743 problem. Thanks to David Levine for reporting this.
10744
10745 Sat Feb 20 09:05:20 1999 Douglas C. Schmidt <[email protected]>
10746
10747 * ace/OS.cpp: Changed the ACE_static_cast() in ACE_OS_Wstring to
10748 first use an ACE_const_cast(). Thanks to Andy Gokhale for
10749 reporting this.
10750
10751 Sat Feb 20 02:53:38 1999 Nanbor Wang <[email protected]>
10752
10753 * ace/OS.cpp (ACE_OS_WString): Need to add a statis cast when
10754 converting from wchar to char to eliminate a warning from Win98.
10755
10756 * ace/config-win32-common.h: Do not check for library type on CE.
10757
10758 * ace/config-WinCE.h: Defined ACE_HAS_WINCE as 1.
10759
10760 Fri Feb 19 22:54:18 1999 Carlos O'Ryan <[email protected]>
10761
10762 * ace/OS.h:
10763 Fixed the return types for ACE_OS_WString and ACE_OS_CString
10764 assignment operators, even though they are not defined they
10765 should be declared to return something, otherwise egcs give us a
10766 ton of warnings.
10767
10768 Fri Feb 19 21:02:49 1999 Douglas C. Schmidt <[email protected]>
10769
10770 * ace/config-win32-common.h: #define'd ACE_HAS_RECURSIVE_MUTEXES
10771 for Win32.
10772
10773 * ace/OS.cpp: Removed the SString.h dependency in OS.cpp!
10774
10775 Fri Feb 19 21:44:31 1999 Darrell Brunsch <[email protected]>
10776
10777 * ace/OS.i: Was using two many arguments to thread_mutex_lock ()
10778 and ACE_OS::thread_mutex_trylock ().
10779
10780 * ace/Synch.i: Typo in comment
10781
10782 Fri Feb 19 18:18:13 1999 Nanbor Wang <[email protected]>
10783
10784 * ace/OS.{h,i,cpp}: Added ACE_OS_WString and ACE_OS_CString which
10785 should only be used within ACE_OS to perform conversion between
10786 wchar strings and char string.
10787 Changed the wide/multibyte conversion macros to use
10788 ACE_OS_?String classes and removed dependencies to Auto_Ptr.h
10789 and SString.h.
10790
10791 * ace/config-win32-common.h: Removed checked for (_DLL) if
10792 ACE_HAS_DLL = 0. Otherwise, the static build won't compile.
10793
10794 * ace/Token_Manager.cpp (release_token):
10795 * ace/Service_Manager.cpp (list_services): Changed
10796 ASYS_MULTIBYTE_STRING to ASYS_ONLY_MULTIBYTE_STRING. Because
10797 the new conversion classes have stronger type checking, these
10798 errors weren't found until now.
10799
10800 Fri Feb 19 17:01:08 1999 David L. Levine <[email protected]>
10801
10802 * ace/Makefile: moved ACE from OS_FILES to UTILS_FILES.
10803
10804 Fri Feb 19 15:44:23 1999 Douglas C. Schmidt <[email protected]>
10805
10806 * ace/OS,
10807 ace/Synch: Moved the implementation of the
10808 ACE_Recursive_Thread_Mutex from the Synch.* files to
10809 the OS.* files in order to reduce coupling in OS.* and
10810 other parts of ACE.
10811
10812 Fri Feb 19 12:36:43 1999 Carlos O'Ryan <[email protected]>
10813
10814 * ace/OS.i:
10815 Fixed missing ACE_INLINE for ACE_OS::strenvdup()
10816
10817 Fri Feb 19 11:35:57 1999 Steve Huston <[email protected]>
10818
10819 * include/makeinclude/platform_sunos5_sunc++.GNU: Added new option
10820 "distrib". If you do a "make distrib=1" the -R options won't be
10821 given when linking, which produces dynamic load records requiring
10822 objects/libraries in standard places, or use of LD_LIBRARY_PATH.
10823 The default is distrib=0, which is the existing behavior.
10824
10825 Fri Feb 19 11:22:48 1999 Nanbor Wang <[email protected]>
10826
10827 * ace/OS.cpp (open): Don't call CreateFileA with FILE_SHARE_DELETE
10828 when compiled on Win95 because it doesn't support the flag. The
10829 implication of this change is that unlink before close will not
10830 work on Win95. So programs that are targeted to both NT and
10831 Win95 cannot depend on it. Thanks to Rod Joseph
10832 <[email protected]> for reporting the bug.
10833
10834 Thu Feb 18 21:10:45 1999 Douglas C. Schmidt <[email protected]>
10835
10836 * ace/OS.cpp (string_to_argv): We no longer have to special case
10837 for WinCE since this logic has been moved into
10838 ACE_OS::strenvdup().
10839
10840 * ace/ACE.cpp: Implemented ACE::strenvdup() using
10841 ACE_OS::strenvdup().
10842
10843 * ace/OS: Move the implementation of strenvdup() from ACE to
10844 ACE_OS to remove another dependency from the OS wrappers.
10845
10846 * ace/ARGV.cpp: Rewrote the ACE_ARGV::string_to_argv() and
10847 ACE_ARGV::argv_to_string() methods to use the new
10848 ACE_OS::string_to_argv() and ACE_OS::argv_to_string().
10849
10850 * ace/OS.h: Added string_to_argv() and argv_to_string() methods to
10851 ACE_OS to remove the dependency on ACE_ARGV.
10852
10853 Thu Feb 18 19:21:03 1999 James CE Johnson <[email protected]>
10854
10855 * docs/tutorials/005/client_handler.cpp: Replaced the leading '_'
10856 in the open() method so that we can cast _acceptor to acceptor.
10857
10858 Thu Feb 18 14:12:28 1999 Nanbor Wang <[email protected]>
10859
10860 * netsvcs/clients/Naming/Client/svc.conf: Changed to start up
10861 ACE_Naming_Context as dynamic service. Thanks to Darren
10862 Whobrey <[email protected]> for reporting this problem.
10863
10864 * ace/Name_Proxy.cpp (open): The timeout value was set upp
10865 ACE_Time_Value::zero accidentally when we want blocking
10866 connect. Thanks to Darren Whobrey <[email protected]> for
10867 reporting the bug.
10868
10869 * ace/CDR_Stream.{h,i} (ACE_InputCDR::do_byte_swap): Added
10870 accessor function for Flick.
10871
10872 * ace/CORBA_macros.h (ACE_THROW_INT): This should return a new
10873 instance of the exception. Thanks to Andy for pointing this
10874 out.
10875
10876 Wed Feb 17 16:40:56 1999 Nanbor Wang <[email protected]>
10877
10878 * ace/OS.h (ACE_NEW_THROW_EX): A new ACE_NEW_THROW macro which
10879 makes ACE_NEW_THROW_EX behave like a exception-throwing
10880 function. I.e., you need to follow ACE_NEW_THOW_EX with
10881 appropriate ACE_CHECK* macros. The use of ACE_NEW_THROW,
10882 ACE_NEW_THROW_RETURN, ACE_NEW_TRY_THROW are deprecated.
10883
10884 * docs/exceptions.html: Added documentation for
10885 ACE_DECLARE_NEW_CORBA_ENV.
10886
10887 * ace/config-WinCE.h: Automatically define ACE_HAS_WINCE if it is
10888 not already defined.
10889
10890 * ace/Synch.cpp: I had to shuffle the location of .i file around
10891 to avoid a warning from SH compiler for CE.
10892
10893 * ace/config-win32-common.h: Disabled checking for DLL run-time,
10894 WIN32, and multi-threaded run-time on Windows CE.
10895
10896 * ace/CORBA_macros.h (ACE_DECLARE_NEW_CORBA_ENV): Added this macro
10897 for declaring a new CORBA_Environment called ACE_TRY_ENV.
10898 ACE_TRY_NEW_ENV should now be avoided because it won't work if
10899 multiple try blocks are needed in the top-most functions.
10900 Instead, you can use the new macro to define the environment
10901 variable and use ACE_TRY/ACE_TRY_EX as usually. This is even
10902 more intuitive than ACE_TRY_NEW_ENV. ;) Thanks to Andy for
10903 reporting the problem.
10904
10905 Wed Feb 17 10:44:29 1999 Alexander Babu Arulanthu <[email protected]>
10906
10907 * examples/Reactor/Proactor/test_proactor.dsp:
10908 * examples/Reactor/Proactor/test_proactor.cpp:
10909 * examples/Reactor/Proactor/Makefile:
10910 rtagged these files with "new_proactor"
10911
10912 Tue Feb 16 17:08:53 1999 Steve Huston <[email protected]>
10913
10914 * examples/ASX/Event_Server/Transceiver: Moved Event_Transceiver
10915 class definition to new file, transceiver.h, to build ok on AIX (P15)
10916 and fixed core dump if ctor fails to connect.
10917
10918 * examples/Connection/misc: Moved some class definitions from
10919 test_upipe.cpp to new file test_upipe.h to build ok on AIX (P17).
10920 Same thing with Connection_Handler - new file Connection_Handler.h.
10921
10922 * examples/Connection/misc/Makefile: Clean out tempinc directory
10923 between program compiles so AIX xlC doesn't freak out.
10924
10925 Tue Feb 16 16:42:23 1999 Nanbor Wang <[email protected]>
10926
10927 * ace/CORBA_macros.h (ACE_PRINT_EXCEPTION): A new macro that deal
10928 with printing out the exception for debugging. Thanks to Lothar
10929 Werzinger <[email protected]> for suggesting this.
10930
10931 * docs/exceptions.html: Added documentation for the new macro
10932 ACE_PRINT_EXCEPTION. Since there's no portable way to print out
10933 the content of a CORBA_Exception, we use this macro to deal with
10934 differences among various ORB implementations. This macro is
10935 user definable.
10936
10937 Thanks to Eric Covington <[email protected]> for figuring out the
10938 following.
10939
10940 * ace/ace_ce_dll.dsp: Added Functor.cpp and Message_Queue.cpp.
10941
10942 * ace/High_Res_Timer.cpp (dump): Fixed Unicode problem.
10943
10944 * ace/OS.i (truncate): WinCE does not have char* version of
10945 truncate.
10946
10947 Tue Feb 16 00:39:35 1999 Alexander Babu Arulanthu <[email protected]>
10948 * ace/ace_dll.dsp:
10949 * examples/Reactor/Proactor/test_proactor.dsp:
10950 * examples/Reactor/Proactor/test_proactor.cpp:
10951 Updated the files.
10952 * ace/WIN32_Asynch_IO.h:
10953 * ace/WIN32_Asynch_IO.cpp:
10954 * ace/WIN32_Asynch_IO.i:
10955 Added the files
10956 * ace/ace_dll.dsp:
10957 * ace/ace_lib.dsp:
10958 Updated these files
10959 * examples/Reactor/Proactor/Makefile:
10960 New make file which also compiles the test_aiosig_ace.cpp
10961 program.
10962 * ace/POSIX_Asynch_IO.i:
10963 Added the file.
10964
10965
10966 rTagged the ACE_wrappers repository with <before_proactor>
10967 After the following changes rtagged the repository with
10968 <after_proactor>
10969
10970 * ace/
10971 Proactor.h
10972 Asynch_IO.cpp
10973 Asynch_IO.h
10974 Makefile
10975 Proactor.cpp
10976 Proactor.h
10977 config-lynxos.h
10978 config-sunos5.6.h
10979 config-sunos5.7.h
10980 POSIX_Asynch_IO.{h,CPP}
10981 POSIX_Proactor.{h,cpp}
10982 WIN32_Asynch_IO.{h,cpp}
10983 Asynch_IO_Impl.{h,cpp,i}
10984 Proactor_Impl.h
10985 Applied Bridge pattern to the POSIX implementation of the Proactor
10986 code. ACE_POSIX_AIOCB_Proactor works fine on Solaris
10987 2.6. ACE_POSIX_SIG_Proactor works on LynxOS. Take a look at the tests
10988 at the $(ACE_ROOT)/examples/Reactor/Proactor/ and the README.
10989
10990 * tests/
10991 Aio_Platform_Test.cpp
10992 *examples/Reactor/Proactor/:
10993 test_proactor.cpp
10994 test_aiocb.cpp
10995 test_aiosig.cpp
10996 test_aiosig_ace.cpp
10997 README
10998 Test files for testing out the platforms.
10999
11000 Mon Feb 15 13:17:15 1999 Douglas C. Schmidt <[email protected]>
11001
11002 * ACE version 4.6.22 released.
11003
11004 Sun Feb 14 15:25:27 1999 Ossama Othman <[email protected]>
11005
11006 * ACE-configuration.txt:
11007 * ACE.ifnames:
11008 * acconfig.h:
11009 * ace-config.in:
11010 * ace-diff-config.in:
11011 * acinclude.m4:
11012 * aclocal.m4:
11013 * config.guess:
11014 * config.sub:
11015 * configure:
11016 * configure.in:
11017 * install-sh:
11018 * libtool:
11019 * ltconfig:
11020 * ltmain.sh:
11021 * missing:
11022 * mkinstalldirs:
11023 * ace/config.h.in:
11024
11025 Started to introduce the work done by the ACE Configuration
11026 Project into the official ACE distribution.
11027
11028 To help speed development, the work being done by the ACE
11029 Configuration Project is being slowly introduced into the official
11030 ACE distribution. Some of the functionality in the work created by
11031 the ACE Configuration Project has been removed so that ACE may be
11032 built in the usual fashion. Once the ACE Configuration Project
11033 work stabilizes on more platforms that removed functionality may be
11034 added to ACE.
11035
11036 Currently the configure script contains most of the tests that are
11037 necessary to properly configure ACE on most platforms. However,
11038 there are still some autoconf tests that are missing. As such, you
11039 may encounter and most likely will have compilation problems.
11040
11041 The `configure' script that is currently being used has been
11042 modified from the ACE Configuration Project's `configure' script to
11043 prevent makefiles from being automatically generated since there are
11044 still some issues that must be addressed before automatically
11045 generated makefiles are incorporated into the official ACE
11046 distribution.
11047
11048 Sun Feb 14 14:09:11 1999 James CE Johnson <[email protected]>
11049
11050 * docs/tutorials/015/server.cpp (main): Force the singleton to use
11051 the Select Reactor instead of the OS-default. This should fix the
11052 problem this tutorial has on Win32 due to blocking vs non-blocking
11053 socket configuration.
11054
11055 * docs/tutorials/015/Protocol_Task.h : Removed the ability to
11056 activate this task. The code is now a little simpler and less
11057 likely to behave in unpredicatable ways.
11058
11059 * docs/tutorials/015/* : A few typos fixed but mostly fallout from
11060 removing the ability to activate the Protocol_Task.
11061
11062 * docs/tutorials/016/page01.html : Added Kirthika's abstract.
11063
11064 * docs/tutorials/016/condition.cpp : Made max_threads_ a
11065 non-static member variable that is set by open().
11066
11067 * docs/tutorials/017/page01.html : Added Kirthika's abstract.
11068
11069 Sun Feb 14 12:47:03 1999 Carlos O'Ryan <[email protected]>
11070
11071 * ace/CDR_Stream.h:
11072 * ace/CDR_Stream.i:
11073 * ace/CDR_Stream.cpp:
11074 Minor cosmetic changes, mostly trailing spaces.
11075
11076 Sat Feb 13 22:06:17 1999 Nanbor Wang <[email protected]>
11077
11078 The following changes are based on the patch Eric Covington
11079 <[email protected]> submitted. Thanks very much to Eric for
11080 bringing ACE/CE up-to-date.
11081
11082 * ace/ace_ce_dll.dsp: Updated.
11083
11084 * ace/OS.cpp: (open): CE doesn't support opening files with
11085 attribute FILE_SHARE_DELETE.
11086
11087 * ace/OS.i (abort): CE doesn't support abort.
11088
11089 * ace/Stats.cpp (print_summary): CE doesn't support strerror.
11090
11091 * ace/Stats.i (dump): Changed to use ACE_DEBUG.
11092
11093 * tests/Thread_Manager_Test.cpp (main):
11094 * ace/tests/SOCK_Connector_Test.cpp (find_another_host):
11095 * ace/Log_Msg.cpp (log):
11096 * ace/INET_Addr.cpp (addr_to_string): Fixed Unicode problems.
11097
11098 Fri Feb 12 16:14:47 1999 Douglas C. Schmidt <[email protected]>
11099
11100 * ace/Remote_Tokens.cpp: Replaced the typedef for
11101 ACE_TSS_CONNECTION_MUTEX with #define ACE_TSS_CONNECTION_MUTEX.
11102 Thanks to Arturo for reporting this.
11103
11104 Fri Feb 12 18:41:22 1999 Steve Huston <[email protected]>
11105
11106 * ace/SString.cpp: Added "ace/" to #include "Auto_Ptr.h" to conform
11107 to conding guidelines.
11108
11109 Fri Feb 12 17:16:17 1999 David L. Levine <[email protected]>
11110
11111 * tests/run_tests.vxworks: commented out Message_Queue_Test and
11112 Timeprobe_Test, because they lockup the machine. And,
11113 fixed string length of DLL_Test printout.
11114
11115 Fri Feb 12 17:06:30 1999 Arturo Montes <[email protected]>
11116
11117 * ace/config-sco-5.0.0-CC-fsu-pthread.h: removed this config
11118 file, because it's not used.
11119
11120 Fri Feb 12 16:36:55 1999 Nanbor Wang <[email protected]>
11121
11122 * ace/SOCK_IO.{h,i,cpp} (send,recv): Added back the iovec version
11123 of send/recv back to maintain backward compatibility. Thanks to
11124 Steve for pointing this out.
11125
11126 Fri Feb 12 15:37:10 1999 David L. Levine <[email protected]>
11127
11128 * ace/Makefile: split FILES up into subsets. See
11129 docs/ACE-subsets.html for more information.
11130
11131 Fri Feb 12 12:31:29 1999 Ossama Othman <[email protected]>
11132
11133 * ace/Makefile: Removed blank line that was added when troubleshooting
11134 the cvs log problem. The extra line cause Digital Unix's make to
11135 complain about a missing separator.
11136
11137 Fri Feb 12 09:19:21 1999 David L. Levine <[email protected]>
11138
11139 * ace/config-sunos5.5.h: added ACE_HAS_STANDARD_CPP_LIBRARY and
11140 ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB #defines with Sun CC 5.0.
11141 Thanks to Diethard Ohrt <[email protected]> for
11142 providing these.
11143
11144 Thu Feb 11 15:05:42 1999 Darrell Brunsch <[email protected]>
11145
11146 * ACE-INSTALL.html: Reworded the first step of the Windows
11147 NT installation to be a bit clearer.
11148
11149 Thu Feb 11 14:30:35 1999 Darrell Brunsch <[email protected]>
11150
11151 * ace/ace_dll.dsp: Fixed Alpha Configuration.
11152
11153 Thu Feb 11 03:48:50 1999 Nanbor Wang <[email protected]>
11154
11155 * ace/CORBA_macros.h: Added #pragma once and ACE_CORBA_MACROS_H to
11156 prevent duplicate inclusion of this file.
11157
11158 Added a new macro ACE_ANY_EXCEPTION to denote the name of the
11159 CORBA exception caught by the ACE_CATCHANY. Thanks to Lothar
11160 Werzinger <[email protected]> for suggesting this.
11161
11162 Wed Feb 10 23:01:16 1999 Darrell Brunsch <[email protected]>
11163
11164 * ace/config-win32-common.h: Made a better effort at finding out
11165 if the files are compiled against the correct run-time
11166 libraries. Now _DLL is checked to see if it is defined for
11167 ACE_HAS_DLL != 0 builds, and if it is not defined for static
11168 builds.
11169
11170 This should help diagnose the problem of not using (Debug)
11171 Multithreaded DLL run-time libraries in clients that use DLL
11172 versions of ace (one symptom of this mistake is errno not
11173 working correctly because of one copy being defined in the DLL
11174 and one in the program itself).
11175
11176 Wed Feb 10 22:19:33 1999 James CE Johnson <[email protected]>
11177
11178 * docs/tutorials/014/stream.cpp : Removed the __LINE__ displays.
11179 * docs/tutorials/014/page01.html : Added Kirthika's abstract
11180
11181 * docs/tutorials/015/page01.html : Added Kirthika's abstract
11182 * docs/tutorials/015/page12.html : Oops... Wrong intro text.
11183 * docs/tutorials/015/Protocol_Stream.cpp : Typos fixed
11184 * docs/tutorials/015/Protocol_Task.cpp : Typos fixed
11185
11186 Wed Feb 10 15:04:26 1999 Ossama Othman <[email protected]>
11187
11188 * ace/Makefile: added Pair_T.cpp and Template_Instantiations.cpp
11189 to the TEMPLATE_FILES list/variable. They were missing.
11190 * tests/Conn_Test.cpp (spawn_processes): initialized
11191 pid_t *children_ptr to zero to prevent "uninitialized"
11192 warnings from egcs 1.1.1.
11193
11194 Wed Feb 10 14:16:25 1999 Ossama Othman <[email protected]>
11195
11196 * tests/Message_Queue_Test.cpp (performance_test): initialized
11197 ACE_Message_Block **send_block to zero to prevent "uninitialized"
11198 warnings from egcs 1.1.1.
11199
11200 Wed Feb 10 14:02:46 1999 Ossama Othman <[email protected]>
11201
11202 * ace/ACE.cpp (get_ip_interfaces): initialized struct ifreq * ifs
11203 to zero to prevent "uninitialized" warnings from egcs 1.1.1.
11204
11205 Wed Feb 10 10:53:59 1999 Carlos O'Ryan <[email protected]>
11206
11207 * examples/IPC_SAP/TLI_SAP/ftp-server.cpp:
11208 Fixed several minor syntax errors.
11209
11210 Tue Feb 09 16:54:10 1999 Jeff Parsons <[email protected]>
11211
11212 * ace/CDR_Stream.cpp:
11213 Put the 'XXX_DISABLE_SWAP_ON_READ' code back into the
11214 ACE_INputCDR methods read_array(), read_2(), read_4(),
11215 read_8() and read_16(). I didn't realize at first how
11216 crucial that is to the Boeing folks. Thanks to Carlos
11217 for bringing this to my attention.
11218
11219 Tue Feb 09 16:07:32 1999 Nanbor Wang <[email protected]>
11220
11221 * ace/Synch.{h,i,cpp}: Removed classes ACE_Null_Mutex_Guard and
11222 ACE_Thread_Mutex_Guard since there doesn't seem any need for
11223 them any more. They should be replaced by
11224 ACE_Guard<ACE_Null_Mutex> and ACE_Guard<ACE_Thread_Mutex>. If
11225 by any chance you still need to use them, add
11226 ACE_USES_OBSOLETE_GUARD_CLASSES into your config.h file.
11227
11228 * ace/Local_Tokens.h: Replaced ACE_Null_Mutex_Guard and
11229 ACE_Thread_Mutex_Guard with ACE_Guard<ACE_Null_Mutex> and
11230 ACE_Guard<ACE_Thread_Mutex>.
11231
11232 Tue Feb 9 16:12:42 1999 James CE Johnson <[email protected]>
11233
11234 * docs/tutorials/{010|011}/task.{h|cpp} : barrier_ doesn't need to be a
11235 pointer since Doug moved n_threads to the ctor. Minor typos
11236 corrected also.
11237
11238 * docs/tutorials/010/message_queue.cpp : Typos...
11239
11240 * docs/tutorials/002/server.cpp: Added call to notify() in the
11241 signal handler so that ^C will exit as expected.
11242
11243 Tue Feb 09 13:57:23 1999 Nanbor Wang <[email protected]>
11244
11245 * tests/DLList_Test.cpp (main): The test should log the result to
11246 DLList_Test.log, not ACE_DLList_Test.log.
11247
11248 * tests/run_tests.{sh,vxworks,psosim}: Added DLList_Test.
11249
11250 * tests/run_tests.bat: Removed DLL_Test.
11251
11252 * ace/ACE.cpp (ldfind): Win32 only. Made sure we always look for
11253 the DLL at the current directory first on Win32 which is the
11254 default behavior on Win32.
11255
11256 * ace/ace_{dll,lib}.dsp: Removed entries of Service_Record.{h,i}.
11257 Thanks to David for noticing this.
11258
11259 Tue Feb 09 10:21:33 1999 David L. Levine <[email protected]>
11260
11261 * ace/Service_Types.{i,cpp},README: removed obsolete references to
11262 Service_Record.
11263
11264 * tests/MT_Reactor_Timer_Test.cpp (main): added printout with numbers
11265 of expected and actual events, if result is not ACE_MAX_TIMERS + 2
11266
11267 * include/makeinclude/wrapper_macros.GNU: added BUILD line with both
11268 shared_libs and static_libs enabled, so that individual Makefiles
11269 don't need a BUILD line.
11270
11271 * docs/ACE-subsets.html: updated to reflect current ACE status.
11272
11273 Mon Feb 08 14:32:43 1999 Nanbor Wang <[email protected]>
11274
11275 * docs/exceptions.html: Added guidelines of switching from TAO try
11276 macros to ACE try macros. Other cosmetic changes.
11277
11278 Mon Feb 8 13:54:32 1999 Yamuna Krishnamurthy <[email protected]>
11279
11280 * docs/tutorials/011/task.cpp :
11281 In the open return this->activate (THR_NEW_LWP,
11282 this->n_threads_); was taking an udefined variable threads.
11283
11284 * docs/tutorials/011/message_queue.cpp:
11285 Corrected Compilation error due to a typo (static misspelt as
11286 statuc!!!)
11287
11288 Mon Feb 8 09:21:10 1999 Douglas C. Schmidt <[email protected]>
11289
11290 * ace/Map_T.h,
11291 ace/Pair_T.h: Aded parens around the #pragma implementation file
11292 names so the AIX compiler would be happy. Thanks to Martin
11293 Krumpolec <[email protected]> for reporting this.
11294
11295 Mon Feb 08 00:39:49 1999 Douglas C. Schmidt <[email protected]>
11296
11297 * ACE version 4.6.21 released.
11298
11299 Sun Feb 7 22:48:01 1999 Nanbor Wang <[email protected]>
11300
11301 * ace/CORBA_macros.h (ACE_THROW_RETURN): The second macro argument
11302 was missing.
11303
11304 Sun Feb 7 22:32:21 1999 Douglas C. Schmidt <[email protected]>
11305
11306 * ace/CORBA_macros.h: It wasn't clear why the ACE_THROW_RETURN
11307 macro for non-NT platforms wasn't taking a second RETV
11308 parameter. I've fixed this, however.
11309
11310 Sun Feb 07 13:55:15 1999 David L. Levine <[email protected]>
11311
11312 * include/makeinclude/platform_sunos5_sunc++.GNU: added
11313 comment about possibly needing -compat=4 with Sun CC 5.0.
11314 Thanks to Sush Bankapura <[email protected]> for
11315 reporting success with it.
11316
11317 Sun Feb 7 00:43:32 1999 Jeff Parsons <[email protected]>
11318
11319 * ace/CDR_Stream.cpp:
11320 Turns out that read_boolean_array was declared, but
11321 the body was missing (?).
11322
11323 Sat Feb 6 22:38:40 1999 Jeff Parsons <[email protected]>
11324
11325 * ACE_wrappers/tests/CDR_Test.cpp:
11326 Changed #include file name to ace/CDR_Stream.h (the new
11327 source file name).
11328
11329 Sat Feb 6 22:21:14 1999 Carlos O'Ryan <[email protected]>
11330
11331 * ace/CDR_Stream.h:
11332 * ace/CDR_Stream.cpp:
11333 Fixed the write_boolean_array() method; it only needs a const
11334 array of booleans.
11335
11336 Sat Feb 6 22:07:45 1999 Jeff Parsons <[email protected]>
11337
11338 * ace/CDR.{h,i,cpp}: Renamed these as...
11339 * ace/CDR_Stream.{h,i,cpp}: Mustn't have files with the
11340 same name (the TAO files) for the sake of some compilers.
11341 * Makefile:
11342 * ace_dll.dsp:
11343 Changed to reflect the renaming above.
11344
11345 Sat Feb 6 20:30:51 1999 Carlos O'Ryan <[email protected]>
11346
11347 * ace/CDR.h:
11348 * ace/CDR.i:
11349 * ace/CDR.cpp:
11350 Fixed some indentation and style problems.
11351
11352 Sat Feb 06 07:47:20 1999 David L. Levine <[email protected]>
11353
11354 * tests/test_config.h (~ACE_Test_Output): wrapped use of
11355 cerr with #ifndef ACE_LACKS_IOSTREAM_TOTALLY.
11356
11357 Sat Feb 06 02:41:07 1999 Irfan Pyarali <[email protected]>
11358
11359 * tests/Map_Test.cpp: The hell of explicit template instantiation.
11360 Someone please save me from these stupid compilers.
11361
11362 * ace/Map: Broken g++ (2.7) has deformed my beautiful code based
11363 on typedefs and forced me to use their basic form. However,
11364 users should continue to use the typedefs provided as I do in
11365 the Map_Test.
11366
11367 Fri Feb 05 21:57:24 1999 Irfan Pyarali <[email protected]>
11368
11369 * ace/Map_T: Added a new Map mini framework to ACE. The classes
11370 in this mini framework allows the Map interface to be used
11371 without caring about the specific Map implementation being used.
11372 There is the class hierarchy of the framework:
11373
11374 forwards
11375 ACE_Iterator --------> ACE_Iterator_Impl (abstract)
11376
11377 ACE_Iterator_Impl is subclassed by:
11378
11379 - ACE_Map_Impl_Iterator_Adapter<IMPLEMENTATION>
11380 - ACE_Active_Map_Manager_Iterator_Adapter
11381 - ACE_Hash_Map_Manager_Ex_Iterator_Adapter
11382 - ACE_Map_Manager_Iterator_Adapter
11383
11384 forwards
11385 ACE_Reverse_Iterator --------> ACE_Reverse_Iterator_Impl (abstract)
11386
11387 ACE_Reverse_Iterator_Impl is subclassed by:
11388
11389 - ACE_Map_Impl_Reverse_Iterator_Adapter<IMPLEMENTATION>
11390 - ACE_Active_Map_Manager_Reverse_Iterator_Adapter
11391 - ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter
11392 - ACE_Map_Manager_Reverse_Iterator_Adapter
11393
11394 ACE_Map is subclassed by:
11395
11396 - ACE_Map_Impl<IMPLEMENTATION>
11397 - ACE_Active_Map_Manager_Adapter
11398 - ACE_Hash_Map_Manager_Ex_Adapter
11399 - ACE_Map_Manager_Adapter
11400
11401 Also included in the framework is a Key Generator class and a
11402 Key Adapter class. The Key Generator class is used by some map
11403 adapters to generate keys since the maps they adapt do not
11404 generate keys. The Key Adapter class is used by the active map
11405 adapter to allow encoding and decoding of active keys into user
11406 keys.
11407
11408 Note that the iterators use the bridge pattern while the map
11409 class uses an abstract base class based inheritance approach.
11410 The reason for this is that STL containers return the iterators
11411 by value. An abstract base class cannot be returned by value.
11412
11413 An alternative design would be to add an abstract base class
11414 that the ACE maps would derive from. Unfortunately, this would
11415 break many things including the ability to add these maps to
11416 shared memory and explicit template instantiations.
11417
11418 This mini framework would have been idle to apply the external
11419 polymorphism pattern. However, the ACE map classes are
11420 different enough that adaption was necessary. This turned out
11421 to be a blessing in disguise since I was able to add extra
11422 common functionality such as the key generator and key adapter
11423 to the map adapters. I did add the external polymorphic
11424 subclasses to the framework for future use.
11425
11426 The classes in this framework are as close STL containers as I
11427 would dare to make them ;) Thanks to Carlos for helping design
11428 them.
11429
11430 * tests/Map_Test: New test to illustrate and test the workings of
11431 the new ACE Map classes. There are two aspect to this test:
11432 (a) functionality testing includes testing the iterators and
11433 various operations, and (b) performance testing to compare the
11434 relative performance of the maps.
11435
11436 * ace/Pair: Added new Pair class to ACE that holds instances of
11437 the template arguments. Also, added a Reference_Pair class that
11438 only hold references of the template arguments.
11439
11440 * ace/Hash_Map_Manager_T.* (ACE_Hash_Map_Manager_Ex):
11441 * ace/Map_Manager.* (Map_Manager):
11442 Added new rebind() methods to make interface compatible with
11443 other maps. Also, fixed the constness of some functions.
11444
11445 * ace/Hash_Map_Manager.h: Fixed order of inclusion of template
11446 code.
11447
11448 * ace/Active_Map_Manager_T.h (ACE_Active_Map_Manager): Added new
11449 versions of bind, find, and unbind to reduce the number of data
11450 copies.
11451
11452 * ace/Active_Map_Manager.h (ACE_Active_Map_Manager_Key): Added the
11453 ability for the active key to encode and decode into and out of
11454 a data stream. This relieves the developer from concerning
11455 herself about the internal structure of the active key.
11456
11457 * ace/config-win32-common.h: Define WIN32 if not already defined.
11458
11459 * tests/SString_Test.cpp: Added testing for substring creation and
11460 comparisons.
11461
11462 * ace/OS.h (ACE_dynamic_cast_*_ptr and ACE_dynamic_cast_*_ref):
11463 Added new macros to handle casting of template class.
11464
11465 * tests/test_config.h: Removed global KEY class that was not being
11466 used anymore anyway.
11467
11468 Fri Feb 05 21:12:56 1999 Douglas C. Schmidt <[email protected]>
11469
11470 * ACE version 4.6.20 released.
11471
11472 Fri Feb 05 12:02:31 1999 Steve Huston <[email protected]>
11473
11474 * tests/run_tests.sh: Added SHLIB_PATH support for HP-UX. Fixed
11475 the LD_LIBRARY_PATH setting to work if there was no path set
11476 on entry to the script.
11477
11478 * ace/config-hpux-9.x.h, config-hpux-(10,11).x-hpc++.h:
11479 Removed ACE_HAS_BROKEN_ENUMS. This affects the HP C++ compiler, not
11480 aC++. I made this change based on David's experience with the
11481 enums and Green Hills, below. If it causes any problems, let me
11482 know and I'll reset it.
11483
11484 Fri Feb 05 10:11:18 1999 David L. Levine <[email protected]>
11485
11486 * ace/Log_Priority.h: changed ENSURE_32_BITS to LM_ENSURE_32_BITS,
11487 and its value from 0xffffffff to 0x7fffffff. Green Hills 1.8.9
11488 properly complained that 0xffffffff doesn't fit into an int.
11489
11490 * ace/config-sco-5.0.0-CC-fsu-pthread.h,config-sunos5.5.h,
11491 config-vxworks5.x.h: removed ACE_HAS_BROKEN_ENUMS, because
11492 it's not necessary with 0x7fffffff.
11493
11494 Thu Feb 4 23:11:26 1999 Carlos O'Ryan <[email protected]>
11495
11496 * websvcs/lib/URL_Addr.h:
11497 * websvcs/lib/URL_Addr.i:
11498 Added operator= to the ACE_URL_Addr classes.
11499
11500 * websvcs/lib/URL_Addr.cpp:
11501 Fixed minor memory allocation problem for invalid HTTP
11502 addresses.
11503 It removes './' when creating relative addresses.
11504
11505 Wed Feb 03 21:50:09 1999 David L. Levine <[email protected]>
11506
11507 * ace/config-vxworks5.x.h: added ACE_HAS_BROKEN_ENUMS with
11508 Green Hills, because it's needed with 1.8.9. And, added
11509 ACE_HAS_STANDARD_CPP_LIBRARY #define to 1, for Green Hills 1.8.9
11510 (with __STANDARD_CXX #defined) only, because it doesn't work with
11511 1.8.8. Thanks to Jacob Jones <[email protected]> for
11512 reporting these.
11513
11514 * ace/config-sunos5.5.h: with Green Hills 1.8.9 (with
11515 __STANDARD_CXX #defined), added ACE_HAS_STANDARD_CPP_LIBRARY
11516 #define to 1.
11517
11518 Wed Feb 03 14:57:21 1999 Nanbor Wang <[email protected]>
11519
11520 * ace/Thread_Manager.h (ACE_At_Thread_Exit[_Func]): Added
11521 ACE_Export keywords. Thanks to Terry Rosenbaum
11522 <[email protected]> for pointing this out.
11523
11524 * ace/Service_Config.{h,i,cpp}: Added one more argument to open
11525 methods that allows ignoring the default svc.conf file. You can
11526 still open svc.conf files using the -f option.
11527
11528 Wed Feb 03 10:12:14 1999 David L. Levine <[email protected]>
11529
11530 * bin/make_release: fixed release_filter so that it doesn't put
11531 CVS files into the release.
11532
11533 * ace/Object_Manager.h: updated comments to reflect that
11534 ACE_HAS_NONSTATIC_OBJECT_MANAGER is now #defined in
11535 several ace/config files, including that for Win32.
11536 Thanks to Dave Meyer <[email protected]> for pointing
11537 that out.
11538
11539 Wed Feb 3 09:30:11 1999 Carlos O'Ryan <[email protected]>
11540
11541 * websvcs/lib/URL_Addr.cpp:
11542 Fixed some memory leaks.
11543 HTTP_Addr::create_relative_address supports the #label syntax.
11544
11545 Wed Feb 03 07:02:49 1999 David L. Levine <[email protected]>
11546
11547 * tests/CDR_Test.cpp: commented out ACE_Auto_Basic_Array_Ptr<CDR:Char>
11548 explicit instantiation, because it's in ace/Memory_Pool.cpp.
11549
11550 Tue Feb 2 21:35:21 1999 James CE Johnson <[email protected]>
11551
11552 * docs/tutorials/007/client_handler.h:
11553 * docs/tutorials/007/thread_pool.h:
11554 A couple of syntax goofs. I'm surprised it compiled for anyone!
11555
11556 * docs/tutorials/007/thread_pool.h:
11557 Changed ACE_Time_Value(0.25) to ACE_Time_Value(0,250000)
11558
11559 * docs/tutorials/*/Makefile:
11560 Added '.depend' to the list of files removed by the CLEAN
11561 target. I shoulda' done this the other day.
11562
11563 Tue Feb 2 20:02:22 1999 Darrell Brunsch <[email protected]>
11564
11565 * bin/make_release: Added .gz to the list of binary file extensions.
11566
11567 Tue Feb 2 19:28:46 1999 Douglas C. Schmidt <[email protected]>
11568
11569 * docs/tutorials: ACE-ified the first 11 tutorials. I hope
11570 James still recognizes this stuff now ;-)
11571
11572 Tue Feb 2 19:12:50 1999 James CE Johnson <[email protected]>
11573
11574 * docs/tutorials/001/logger.h (class Logging_Handler):
11575 Incorporated Pradeep's suggestion to get rid of the memset() and
11576 use the recv() return value to drop in the null-termination.
11577
11578 Tue Feb 2 14:19:30 1999 Darrell Brunsch <[email protected]>
11579
11580 * websvcs/websvcs.dsw:
11581 * websvcs/lib/websvcs.dsw:
11582 * websvcs/lib/websvcs.dsp:
11583 * websvcs/tests/tests.dsw:
11584 * websvcs/tests/Test_URL_Addr.dsp:
11585 Added MSVC project files for the websvcs library.
11586
11587 * websvcs/lib/URL_addr.cpp:
11588 Now correctly exports classes in DLLs.
11589
11590 Tue Feb 2 12:48:34 1999 Jeff Parsons <[email protected]>
11591
11592 * tests/CDR_Test.cpp:
11593 Changed the template type of the auto_ptr for char. We were
11594 getting a Purify FMR message on Unix.
11595
11596 Tue Feb 2 12:27:13 1999 Douglas C. Schmidt <[email protected]>
11597
11598 * ace/ACE.cpp: Added an ACE_UNUSED_ARG for program_name for
11599 ACE::daemonize(). Thanks to David Levine for reporting this.
11600
11601 * ace/OS.h: Generalized the WIF* macros so that they will be
11602 defined on any platform that lacks them, not just NT. Thanks to
11603 David Levine for reporting this.
11604
11605 Tue Feb 02 08:58:32 1999 Steve Huston <[email protected]>
11606
11607 * tests/MT_Reactor_Timer_Test.cpp: Moved definition of status outside
11608 of ACE_HAS_THREADS condition since it's used in either case. Thanks
11609 to Frederic Andres <[email protected]> for this fix.
11610
11611 Mon Feb 01 23:16:34 1999 Douglas C. Schmidt <[email protected]>
11612
11613 * ACE version 4.6.19 released.
11614
11615 Mon Feb 01 22:06:40 1999 David L. Levine <[email protected]>
11616
11617 * bin/make_release (create_kit): fixed typo, bin_files
11618 instead of binfiles.
11619
11620 Mon Feb 01 21:24:45 1999 Douglas C. Schmidt <[email protected]>
11621
11622 * ACE version 4.6.18 released.
11623
11624 Mon Feb 1 21:02:26 1999 Darrell Brunsch <[email protected]>
11625
11626 * ace/ace_dll.dsp: Some template files were being compiled
11627 in the Release/Unicode/Alpha configs. This is now not the
11628 case.
11629
11630 Mon Feb 1 13:49:11 1999 Carlos O'Ryan <[email protected]>
11631
11632 * ace/config-linux-common.h:
11633 Added a definition for ACE_TIMER_SKEW, apparently it is only
11634 needed in multiple CPU machines (with SMP enabled); but it did
11635 solve the problems with MT_Reactor_Timer_Test.
11636
11637 Mon Feb 01 13:08:11 1999 Jeff Parsons <[email protected]>
11638
11639 * tests/CDR_Test.cpp:
11640 Used an auto_ptr to manage a string sent to string_read(). I
11641 had included the .h file for auto ptrs (Carlos corrected my
11642 typo, see below), but had never checked in the code using
11643 auto_ptr.
11644
11645 Mon Feb 01 12:54:11 1999 Steve Huston <[email protected]>
11646
11647 * ace/NT_Service.(h i): Some fixes provided by Martin Krumpolec
11648 <[email protected]> - thanks to Martin for these!
11649 - Supplied missing ctor for name/desc variant.
11650 - svc() method is not pure virtual any longer to prevent SCP-type
11651 applications from having to override it and never use it.
11652
11653 Mon Feb 1 12:04:35 1999 Darrell Brunsch <[email protected]>
11654
11655 * bin/make_release: Added zip and gif to the binary files in
11656 zips.
11657
11658 Mon Feb 01 12:00:55 1999 David L. Levine <[email protected]>
11659
11660 * ace/config-sunos5.5.h: With CC 5.0, enabled explicit template
11661 instantiation and added ACE_LACKS_ACE_IOSTREAM. Early versions
11662 of CC 5.0 seem to have problems with automatic template
11663 instantiation and ACE_IOStream.
11664
11665 * include/makeinclude/platform_sunos5_sunc++.GNU: added CC 5.0
11666 support to enable explicit template instantiation, and disable
11667 inlining by default.
11668
11669 Thanks to Diethard Ohrt <[email protected]> for confirming
11670 that above fixes allow ACE and TAO to build with CC 5.0.
11671
11672 * include/makeinclude/platform_sunos5_{g++,ghs}.GNU: removed -lw
11673 from libs. It's not necessary, and apparently causes problems
11674 on Solaris 2.6, because libc now includes the code that was
11675 formerly in libw. Thanks to Steve Coleman <[email protected]>
11676 for reporting this.
11677
11678 Mon Feb 1 10:41:09 1999 Carlos O'Ryan <[email protected]>
11679
11680 * tests/CDR_Test.cpp:
11681 There was a typo in a included filename.
11682
11683 Mon Feb 1 08:39:15 1999 Douglas C. Schmidt <[email protected]>
11684
11685 * ace/Synch.h: Clarified that the ACE_Semaphore::acquire() is in
11686 absolute, rather than relative, time. Thanks to Jacques
11687 Salerian <[email protected]> for reporting this.
11688
11689 Sun Jan 31 20:10:23 1999 Jeff Parsons <[email protected]>
11690
11691 * ace/OS.h:
11692 Just renamed the CDR byte order macros to something more
11693 reasonable.
11694
11695 Sun Jan 31 18:19:45 1999 Douglas C. Schmidt <[email protected]>
11696
11697 * docs/tutorials/Makefile: Now we can build the UNSHAR SHAR HTML
11698 right from the top-level. Thanks James!
11699
11700 * tests/Process_Strategy_Test: Updated the test to use ACE::fork()
11701 and the new "avoid zombies" feature of ACE_Process_Strategy.
11702
11703 * ace/ACE: Added a new version of fork() that can avoid creating
11704 zombies. Thanks to Garry Brother <[email protected]> for
11705 this code.
11706
11707 * ace/Strategies_T: Changed the ACE_Process_Strategy so that
11708 programmers can designate to not create zombies. Thanks to
11709 Garry Brother <[email protected]> for this suggestion.
11710
11711 * ace/ACE.cpp (daemonize): Only do a chdir if pathname != 0.
11712
11713 * ace/ACE: Added a "program_name" argument to daemonize() so that
11714 we can set the program name.
11715
11716 * docs/tutorials: Reformatted all the header files to conform
11717 to the ACE programming style.
11718
11719 Sun Jan 31 16:09:55 1999 Jeff Parswons >[email protected]>
11720
11721 * ACE_wrappers/tests/CDR_Test.cpp:
11722 Plugged a memory leak in a string read from the CDR stream.
11723 Thanks to Sangwoo Jin <[email protected]> for pointing this out.
11724
11725 * ace/CDR.{h,i,cpp}:
11726 Changed the name of the "base" class holding the constants to
11727 'CDR' from 'ACE_CDR'. In leveraging this code in the TAO cdr
11728 classes, I've discovered that there are many files that
11729 use these constants, so probably best to keep the original
11730 name. Also made minor changes to read_string, read_wstring,
11731 append_string and append_wstring to prevent a memeory leak
11732 if the operation fails.
11733
11734 Sun Jan 31 11:58:32 1999 James CE Johnson <[email protected]>
11735
11736 * docs/tutorials/{010|011|012|013|017}:
11737 In all of these, I'd overridden open() as open(int) to specify
11738 the number of threads in a thread-pool. Steve Huston pointed
11739 out that this causes grief with some compilers. I've changed
11740 all of these open(int) overrides to start(int) instead.
11741
11742 * docs/tutorials/017/Barrier_i.cpp (threads):
11743 The thr_equal() call was changed to !thr_equal().
11744
11745 * docs/tutorials/010/taks.cpp:
11746 Vishal recommended some extra commentation to make things a bit
11747 more clear WRT barrier synch.
11748
11749 * docs/tutorials/013/page01.html:
11750 Added Kirthika's abstract.
11751
11752 Sat Jan 30 16:03:23 1999 Carlos O'Ryan <[email protected]>
11753
11754 * websvcs/lib/URL_Addr.h:
11755 * websvcs/lib/URL_Addr.cpp:
11756 The HTTP address class can create an URL_Addr from a path
11757 relative to it. This is useful when interpreting an address
11758 inside an HTML document.
11759
11760 Sat Jan 30 13:34:00 1999 Nanbor Wang <[email protected]>
11761
11762 * examples/Connection/non_blocking/test_sock_connector.cpp (main):
11763 Prevent the program from executing if compiled on non-NT Win32
11764 platform without Winsock2 installed. Thanks to Greg Harrison
11765 <[email protected]> for reporting ths problem.
11766
11767 1999-01-29 Irfan Pyarali <[email protected]>
11768
11769 * ace/Mem_Map.cpp (map_it): NT makes no claims about replacing
11770 previous mapping at the specified address. Therefore, I have
11771 added a new macro ACE_LACKS_AUTO_MMAP_REPLACEMENT which is
11772 defined if there is no system support for replacing any previous
11773 mappings. In this case, we unmap() before (potentially) mapping
11774 to the same location. ACE_LACKS_AUTO_MMAP_REPLACEMENT is
11775 defined on NT.
11776
11777 Fri Jan 29 17:40:34 1999 Carlos O'Ryan <[email protected]>
11778
11779 * websvcs/lib/URL_Addr.h:
11780 * websvcs/lib/URL_Addr.cpp:
11781 We were not checking against nil strings in several places, also
11782 fixed some uninitialized members in the HTTP_Addr constructors.
11783
11784 * bin/auto_compile:
11785 Added protection against simultaneous executions of the script;
11786 it checks for .disable file on the $LOGDIR directory, if present
11787 it does not execute; if not present it creates one; the file is
11788 deleted at program termination.
11789
11790 Fri Jan 29 16:25:22 1999 Steve Huston <[email protected]>
11791
11792 * ace/config-hpux-10.x-hpc++.h: Added ACE_HAS_GPERF.
11793 * apps/gperf/src/List_Node.cpp (ctor): Added ACE_const_cast to
11794 a char * initializer.
11795 * apps/gperf/src/Options.cpp: Fixed -j processing (typo).
11796
11797 * docs/tutorials/017/barrier.cpp: Can't init a long with a thread ID.
11798 On HP-UX 10.20, it's a struct.
11799 * docs/tutorials/017/Barrier_i.cpp: Use ACE_OS::thr_equal to check
11800 equality of thread IDs.
11801
11802 * docs/tutorials/019/server/cpp: Removed redefinition of char *s from
11803 'for' loop. Works around a compiler issue, but isn't needed anyway.
11804
11805 * include/makeinclude/platform_hpux_aCC.GNU: On HP-UX 10.20, suppress
11806 (future)error 667 and warning 495 to stop hearing about the problems
11807 with the system-supplied header files. The compiler still says
11808 there was 1 future error, but at least it's easy to scan the output
11809 for real errors now.
11810
11811 Fri Jan 29 14:49:37 1999 Carlos O'Ryan <[email protected]>
11812
11813 * ace/ACE.cpp:
11814 * ace/Basic_Types.h:
11815 * ace/INET_Addr.cpp:
11816 * ace/Memory_Pool.cpp:
11817 * ace/OS.cpp:
11818 * ace/OS.h:
11819 * ace/OS.i:
11820 * ace/SOCK_Dgram_Bcast.cpp:
11821 * ace/config-cray.h:
11822 * examples/IPC_SAP/SOCK_SAP/C-inserver.cpp:
11823 * examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp:
11824 * examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp:
11825 * include/makeinclude/platform_cray.GNU:
11826 * tests/Basic_Types_Test.cpp:
11827 * tests/Handle_Set_Test.cpp:
11828 * tests/Message_Queue_Test.cpp:
11829 * tests/SV_Shared_Memory_Test.cpp:
11830 * tests/run_tests.sh:
11831 Thanks to Doug Anderson <[email protected]> for this port of ACE to
11832 Cray machines.
11833
11834 Fri Jan 29 13:51:40 1999 Nanbor Wang <[email protected]>
11835
11836 * ace/OS.h: Removed definition of ACE_Thread_State.
11837
11838 * ace/Thread_Manager.*: Changed the ACE_Thread_State as a bunch of
11839 bit-masks so we don't overwrite the thread states accidentally.
11840 Thanks to Tom Dobridge <[email protected]> for reporting
11841 the bug.
11842
11843 1999-01-28 Irfan Pyarali <[email protected]>
11844
11845 * ace/Hash_Map_Manager_T.cpp (open): this->close_i() must be
11846 called *before* the allocators are changed.
11847
11848 * ace/Map_Manager.cpp (open): Close the old map (if any) before
11849 creating the new map. This also make open() reentrant. Thanks
11850 to Zoran Ivanovic <[email protected]> for reporting this bug.
11851
11852 Thu Jan 28 19:08:25 1999 Carlos O'Ryan <[email protected]>
11853
11854 * ace/Active_Map_Manager_T.h:
11855 Steve's change didn't make it, so I changed BASE to
11856 ACE_AMM_BASE, I don't know about the pragma.
11857
11858 Thu Jan 28 16:43:17 1999 Steve Huston <[email protected]>
11859
11860 * ace/Active_Map_Manager_T.(h i): Renamed BASE to ACE_AMM_BASE - BASE
11861 conflicted with something in AIX xlC. Also fixed #pragma
11862 implementatation to work on xlC.
11863
11864 Thu Jan 28 10:04:39 1999 Carlos O'Ryan <[email protected]>
11865
11866 * ace/Hash_Map_Manager_T.cpp:
11867 Reverted to version 4.2, thanks to Kirthika for helping find
11868 this one.
11869
11870 Thu Jan 28 09:11:29 1999 Andreas Tobler <[email protected]>
11871
11872 * ace/config-linuxppcr5.h: added this config file, for
11873 LinuxPPC R5 platforms.
11874
11875 Thu Jan 28 08:55:21 1999 David L. Levine <[email protected]>
11876
11877 * ace/config-mklinux.h: replaced ACE_HAS_SOCKLEN_T, removed
11878 __USE_XOPEN. Thanks to Andreas Tobler <[email protected]> for
11879 these clarifying this.
11880
11881 Wed Jan 27 19:12:48 1999 James CE Johnson <[email protected]>
11882
11883 * docs/tutorials/008/*:
11884 * docs/tutorials/009/*:
11885 * docs/tutorials/011/*:
11886 * docs/tutorials/012/*:
11887 Updates from the reviewers.
11888
11889 Wed Jan 27 17:06:38 1999 David L. Levine <[email protected]>
11890
11891 * ace/Makefile: removed some unprintable characters.
11892
11893 Wed Jan 27 16:31:01 1999 Ossama Othman <[email protected]>
11894
11895 * ace/Makefile: Added LOCK_SOCK_Acceptor to TEMPLATE_FILES list.
11896
11897 Wed Jan 27 14:50:13 1999 Nanbor Wang <[email protected]>
11898
11899 * examples/Service_Configurator/Misc/main.cpp: Changed to open the
11900 Service_Config object with ignore_static_svc set to 0. That
11901 allows this example to use static service. (By default, static
11902 services are not loaded.) Thanks to Arturo Montes
11903 <[email protected]> for reporting this.
11904
11905 Wed Jan 27 13:47:00 1999 David L. Levine <[email protected]>
11906
11907 * include/makeinclude/platform_vxworks5.x_g++.GNU: use
11908 double double quotes around COMPILE argument to ace_ld,
11909 but only on WIN32 hosts. Thanks to Peter Weat <[email protected]>
11910 for figuring this out.
11911
11912 Wed Jan 27 13:04:55 1999 David L. Levine <[email protected]>
11913
11914 * ACE version 4.6.17 released.
11915
11916 Wed Jan 27 12:32:22 1999 David L. Levine <[email protected]>
11917
11918 * ACE-INSTALL.html,include/makeinclude/platform_vxworks5.x_g++.GNU:
11919 default PERL_PATH to "perl", and added notes to set it to the full
11920 perl path if perl is not on your path.
11921
11922 Wed Jan 27 10:16:06 1999 Carlos O'Ryan <[email protected]>
11923
11924 * docs/ACE-guidelines.html:
11925 Added an entry for the creation of files containing template
11926 code.
11927
11928 Tue Jan 26 20:44:36 1999 Nanbor Wang <[email protected]>
11929
11930 * ace/SOCK_IO.cpp (send,recv): Changed to use sendv/recvv to
11931 handle variable arguments send/recv.
11932
11933 * ACE-INSTALL.html: Fixed the dead link to CE-status. Thanks to
11934 Mike Preradovic <[email protected]> for reporting
11935 this.
11936
11937 Tue Jan 26 14:38:11 1999 David L. Levine <[email protected]>
11938
11939 * include/makeinclude/platform_vxworks5.x_g++.GNU: expanded
11940 the information on the PERL_PATH environment variable for
11941 NT hosts. Thanks to Peter Weat <[email protected]> for
11942 reporting this.
11943
11944 Tue Jan 26 13:40:51 1999 Nanbor Wang <[email protected]>
11945
11946 * ace/High_Res_Timer.cpp (elapsed_time_incr): Rearranged the
11947 formula to avoid compilation errors for platforms without
11948 ULONGLONG. Thanks to David for the tip.
11949
11950 Tue Jan 26 12:01:19 1999 Jeff Parsons <[email protected]>
11951
11952 * ACE_wrappers/tests/CDR_Test.dsp:
11953 * ACE_wrappers/tests/CDR_Test.cpp:
11954 Added lines to the test code to send the output to
11955 the log file, and deleted the unnecessary Header
11956 Files folder in the project.
11957 * ace/CDR.{i,cpp}:
11958 Relocated the longdouble comparison operators'
11959 definitions, and moved a misplaced '}', which
11960 were causing build errors.
11961
11962 Tue Jan 26 10:55:02 1999 Carlos O'Ryan <[email protected]>
11963
11964 * ace/Active_Map_Manager.h:
11965 The _T.h file has to be included *after* the inclusion of the .i
11966 file, otherwise the template may not see the inline functions;
11967 the problem only showed up on IRIX.
11968
11969 Mon Jan 25 22:11:36 1999 Jeff Parsons <[email protected]>
11970
11971 * ACE_wrappers/tests/CDR_Test.dsp:
11972 * ACE_wrappers/tests/tests.dsw:
11973 * ACE_wrappers/tests/versions_tests/CDR_Test.dsp:
11974 * ACE_wrappers/tests/versions_tests/version_tests.dsw:
11975 * ACE_wrappers/tests/run_tests.sh:
11976 * ACE_wrappers/tests/run_tests.psosim:
11977 * ACE_wrappers/tests/run_tests.bat:
11978 * ACE_wrappers/tests/run_tests.vxworks:
11979 Fixed the project files (they had incorrrect project
11980 settings, I think) and updated the workspace files.
11981 Also, on a tip from Nanbor, added CDR_Test to the
11982 various run_tests files.
11983
11984 Mon Jan 25 20:22:01 1999 Jeff Parsons <[email protected]>
11985
11986 * ace/CDR.{h,i,cpp}:
11987 * ace/Basic_Types.h:
11988 * ACE_Wrappers/tests/CDR_Test.cpp:
11989 Better design of ACE CDR, compiles and runs on NT, g++
11990 and CC.
11991
11992 Mon Jan 25 09:35:42 1999 Steve Huston <[email protected]>
11993
11994 * ace/ACE.cpp (handle_timed_complete): If connect times out, set
11995 errno to ETIMEDOUT, not ETIME. Matches what will happen if a
11996 simple blocking connect times out.
11997
11998 * ace/OS.i (ACE_OS::accept, ACE_OS::recv): (only non-Win32), if
11999 call fails and errno is EAGAIN, change it to EWOULDBLOCK.
12000
12001 * tests/MT_SOCK_Test.cpp: Remove EAGAIN hacks; above changes fix
12002 this for all programs.
12003
12004 Sun Jan 24 22:04:42 1999 David L. Levine <[email protected]>
12005
12006 * docs/ACE-guidelines.html: added operator==/!= guideline.
12007
12008 Sun Jan 24 20:25:44 1999 Irfan Pyarali <[email protected]>
12009
12010 * ace: When a class provides operator==, it must also provide
12011 operator!=. Also, both these operators should be const.
12012
12013 Fixed the above violations in:
12014
12015 ACE_TSS_Ref
12016 ACE_Thread_ID
12017 ACE_Registry::Binding
12018 ACE_Registry::Name_Component
12019 ACE_Active_Map_Manager_Key
12020
12021 * ace/Map_Manager: Renamed methods that may become identical if
12022 INT_ID is the same as size_t. Thanks to Ossama for helping with
12023 this.
12024
12025 Sun Jan 24 19:46:55 1999 Jeff Parsons <[email protected]>
12026
12027 * ace/CDR.{h,i,cpp}:
12028 * ace/Basic_Types.h:
12029 Made some fixes to make DEC cxx happy, but I'm going to
12030 undo many of the typedefs and change the design. These
12031 changes will hopefully lead to a clean build with cxx,
12032 but the CDR classes are not yet in finished form.
12033
12034 Sun Jan 24 19:26:34 1999 Irfan Pyarali <[email protected]>
12035
12036 * ace/SString.cpp (set): Fixed usage case of when the incoming
12037 string is not zero but the length specified is zero.
12038
12039 * tests/SString_Test.cpp (main): Added zero sized strings and
12040 single character strings to the test.
12041
12042 Sun Jan 24 19:09:45 1999 Nanbor Wang <[email protected]>
12043
12044 * ace/config-win32-common.h
12045 (ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR): VC apparently
12046 does it right.
12047
12048 Sun Jan 24 17:22:02 1999 Ossama Othman <[email protected]>
12049
12050 * ace/SString.cpp (substring): the variable "length" was misspelled
12051 on one of the lines in the method.
12052
12053 Sun Jan 24 16:17:58 1999 Nanbor Wang <[email protected]>
12054
12055 * ace/README:
12056 * ace/OS.h:
12057 * ace/config-g++-common.h:
12058 * ace/config-osf1-4.0.h:
12059 * ace/config-psos-diab.h:
12060 * ace/config-psos-tm.h: Replace ACE_HAS_BROKEN_EXPLICIT_DESTRUCTOR
12061 with ACE_HAS_WORKING_EXPLITCIT_TEMPLATE_DESTRUCTOR to reflect
12062 the true problem. Thanks to Ossama for suggesting the name.
12063
12064 Sun Jan 24 16:20:17 1999 James CE Johnson <[email protected]>
12065
12066 * docs/ACE-FMM:
12067 Added an entry about the DONT_CALL flag to remove_handler().
12068
12069 * docs/tutorials/00[45789]:
12070 * docs/tutorials/01[012]:
12071 Many changes from Yamuna, Pradeep, Kirthika and Ossama. In all,
12072 there were 62 files changed. Mostly the .html's due to
12073 recombination and colorization.
12074
12075 Sun Jan 24 14:23:07 1999 Douglas C. Schmidt <[email protected]>
12076
12077 * ace/SString.cpp: The substring() method did not check for zero
12078 length. Thanks to Mike Goldman for this fix.
12079
12080 Sun Jan 24 02:08:57 1999 Carlos O'Ryan <[email protected]>
12081
12082 * websvcs/lib/URL_Addr.cpp:
12083 * websvcs/lib/URL_Addr.h:
12084 * websvcs/lib/URL_Addr.i:
12085 * websvcs/tests/Test_URL_Addr.cpp:
12086 Added support for mailto: URLs
12087
12088 Sat Jan 23 23:53:29 1999 Carlos O'Ryan <[email protected]>
12089
12090 * websvcs/Makefile:
12091 * websvcs/lib/Makefile:
12092 * websvcs/lib/URL_Addr.h:
12093 * websvcs/lib/URL_Addr.i:
12094 * websvcs/lib/URL_Addr.cpp:
12095 * websvcs/tests/Makefile:
12096 * websvcs/tests/Test_URL_Addr.cpp:
12097 Added a small library to keep basic Web related wrappers. The
12098 first set is a small collection of URL address classes,
12099 including HTTP and FTP representations.
12100
12101 Sat Jan 23 23:26:17 1999 Nanbor Wang <[email protected]>
12102
12103 * ace/High_Res_Timer.{h,cpp} (elapsed_time_incr): Added a new
12104 function to access the incremental timer in nanosecond.
12105
12106 Sat Jan 23 23:08:27 1999 Jeff Parsons <[email protected]>
12107
12108 * ace/CDR.{h,i,cpp}:
12109 Caught numerous inline ordering errors and mistakes in
12110 long double functions (not defined on NT) with g++.
12111
12112 Sat Jan 23 21:13:47 1999 Jeff Parsons <[email protected]>
12113
12114 * tests/tests.dsw:
12115 * tests/CDR_Test.dsp:
12116 * tests/Makefile:
12117 * tests/CDR_Test.cpp:
12118 New test in the suite for the new ACE CDR classes (see below).
12119
12120 * TAO/TAOACE.dsw:
12121 * TAO/TAOACE_static.dsw:
12122 * ace/Makefile:
12123 * ace/CDR.{h,i,cpp}:
12124 * ace/OS.h:
12125 * ace/Basic_Types.h:
12126 CDR stuff modified from TAO library. Typedefs, default
12127 constants and macros added to OS.h and Basic_Types.h.
12128 There is now complete CDR functionality in ACE, except
12129 for the interpreter, and thus also no handling of Any
12130 or TypeCode types.
12131
12132 Sat Jan 23 17:50:22 1999 Steve Huston <[email protected]>
12133
12134 * tests/MT_SOCK_Test.cpp: 1. Check for EAGAIN as well as EWOULDBLOCK
12135 after an accept fail (this change will probably be removed at some
12136 point when we figure out how to handle EAGAIN/EWOULDBLOCK).
12137 2. Close the ACE_SOCK_Acceptor in the server before going into
12138 the "reap children" loop so any half-connected clients will get
12139 closed.
12140
12141 Sat Jan 23 17:25:48 1999 Kirthika Parameswaran <[email protected]>
12142
12143 * ace/Hash_Map_Manager_T.{h,cpp}: Reverted changes made since the
12144 ACE_Hash_Map_Manager_Ex was getting used in shared memory and
12145 hence could not have "virtual" methods.
12146
12147 Sat Jan 23 04:53:12 1999 Irfan Pyarali <[email protected]>
12148
12149 * ace/Active_Map_Manager: Added a new associative container (map
12150 abstraction) that associates system generated keys with user
12151 specified values. Since the key is system generated, searches
12152 are very fast and take a constant amount of time. This map uses
12153 a key that keeps information of the index and the generation
12154 count of the slot it represents. Since the index information is
12155 part of the key, lookups are super fast and predictable.
12156
12157 This performance of this map is truely awesome:
12158
12159 - inserts O(1) worse case
12160 - lookups O(1) worse case
12161 - deletes O(1) worse case
12162
12163 * ace/Map_Manager: Completely reworked the internals of the
12164 Map_Manager. A number of problems were addressed:
12165
12166 (a) Finding an empty slot took O(n). New code takes O(1).
12167
12168 (b) Resizing was lame as it increased by ACE_DEFAULT_MAP_SIZE
12169 everytime. The new scheme is cool since it grows
12170 exponentially up to 64K and after that grow in chunks of
12171 32K.
12172
12173 (c) Old scheme used a simple but inefficient <is_free_> flag.
12174 The new scheme uses two doubly linked list to track used and
12175 free slots. Note that this scheme still uses an array to
12176 manage the search structure but manages the two linked list
12177 on top of the array. Thanks to Carlos for this cool idea.
12178
12179 (d) current_size() was broken. This is fixed in the new code.
12180
12181 (e) Inlined a bunch of small functions.
12182
12183 * tests/SString_Test.cpp: Added empty string test.
12184
12185 * ace/Containers_T.h (operator=): ACE_Array_Base must be fully
12186 qualified: ACE_Array_Base<T>. Thanks to Susan Liebeskind
12187 <[email protected]> for pointing this out.
12188
12189 * tests/Map_Manager_Test.cpp (test_map_manager): Added
12190 Active_Map_Manager to the test.
12191
12192 Fri Jan 22 21:27:14 1999 Kirthika Parameswaran <[email protected]>
12193
12194 * ace/Hash_Map_Manager_T.h
12195 (class ACE_Hash_Map_Entry): Modified the destructor to be
12196 "virtual" so that it gets invoked on the destruction of its
12197 derived class objects.
12198 (class ACE_Hash_Map_Manager_Ex): Modified the destructor to be
12199 "virtual" so that it gets invoked on the destruction of its
12200 derived class objects.
12201 Modified shared_find () to be "virtual" so that it can be
12202 defined in its derived classes.
12203 Declared a virtual method for creating new entries for the map
12204 called create_entry ().
12205
12206 * ace/Hash_Map_Manager_T.cpp
12207 (create_entry): Added this virtual method which creates a new
12208 map entry. This is necessary to allow the map to contain various
12209 types of map entries.
12210 (bind_i):
12211 (trybind_i):
12212 (unbind_i):
12213 Used create_entry () to obtain a new entry object.
12214
12215 * ace/Hash_Purgable_Map_Manager_T.{h,i,cpp}:
12216 The ACE_Hash_Purgable_Map_Manager_Ex derives from
12217 ACE_Hash_Map_Manager_Ex and provides the feature of purging
12218 K entries from the map. The default purging algorithm is Least
12219 Recently Used, which has been implemented using a virtual timer
12220 that increments whenever an entry is looked up or used. Each
12221 entry has a purge_tag which is the timestamp updated by the
12222 timer value whenever it is referenced. The entry is an object of
12223 ACE_Hash_Purgable_Map_Entry class which is derived from
12224 ACE_Hash_Map_Entry.
12225 (purge): This is the method which flushes K entries from the
12226 map. Locks are held.
12227 (purge_i): This method also flushes K entries but w.o. locks
12228 being held.
12229 (create_entry): Creates an ACE_Hash_Purgable_Map_Entry object.
12230 (shared_find): This method is used to lookup and verify whether
12231 an entry is present in the map. Also, the purge_tag of the entry
12232 is updated with the current timer value.
12233
12234 * tests/Purgable_Map_Manager.cpp: Added this test which
12235 illustrates the use of the Hash_Purgable_Map_Manager to maintain
12236 a cache map. Also displays the change in the map size on
12237 purging.
12238
12239 Fri Jan 22 16:10:35 1999 Steve Huston <[email protected]>
12240
12241 * ace/Select_Reactor_Base.cpp (ACE_Select_Reactor_Notify::handle_input)
12242 EAGAIN is also a legit errno value (not only EWOULDBLOCK) for end
12243 of data on pipe. Makes count of dispatches returned from
12244 ACE_Select_Reactor's handle_events correct in the presence of
12245 notifications.
12246
12247 * ace/OS.i (ACE_OS::sema_init): Always init s->name_ to 0, else it
12248 might be non-zero (and junk) when deleted.
12249
12250 * ace/config-hpux11.h: Added an overrideable ACE_TIMER_SKEW of 10 msec.
12251
12252 Fri Jan 22 15:07:08 1999 Douglas C. Schmidt <[email protected]>
12253
12254 * ace/Containers_T.cpp: Yikes, don't delete the fixed stack since
12255 it wasn't allocated dynamically! Thanks to Mike Goldman
12256 <[email protected]> for this fix!
12257
12258 Fri Jan 22 13:08:00 1999 Chris Gill <[email protected]>
12259
12260 * ace/ACE.{cpp, h}: added static methods ACE::gcd, which computes the
12261 greatest common divisor of two u_longs using Euclid's algorithm, and
12262 ACE::minimum_frame size, which computes the minimum enclosing frame
12263 size for two u_longs.
12264
12265 Thu Jan 21 20:45:09 1999 James CE Johnson <[email protected]>
12266
12267 * docs/tutorials/006/client_acceptor.h
12268 * docs/tutorials/006/client_handler.cpp
12269 * docs/tutorials/006/client_handler.h
12270 * docs/tutorials/006/page01.html
12271 * docs/tutorials/006/page02.html
12272 * docs/tutorials/006/page03.html
12273 * docs/tutorials/006/page04.html
12274 * docs/tutorials/006/page05.html
12275 Integrated changes from Vishal and Kirthika
12276
12277 * docs/tutorials/008/combine.shar
12278 * docs/tutorials/008/page02.html
12279 * docs/tutorials/008/page03.html
12280 * docs/tutorials/008/page04.html
12281 * docs/tutorials/009/combine.shar
12282 * docs/tutorials/009/directed_client.cpp
12283 * docs/tutorials/009/page01.html
12284 * docs/tutorials/009/page02.html
12285 * docs/tutorials/009/page03.html
12286 * docs/tutorials/009/page04.html
12287 * docs/tutorials/009/page05.html
12288 * docs/tutorials/009/server.cpp
12289 Changes from Kirthika plus colorization.
12290
12291
12292 Thu Jan 21 16:01:50 1999 James CE Johnson <[email protected]>
12293
12294 * docs/tutorials/007/Makefile:
12295 * docs/tutorials/007/combine.shar:
12296 * docs/tutorials/007/page01.html:
12297 * docs/tutorials/007/page02.html:
12298 * docs/tutorials/007/page03.html:
12299 * docs/tutorials/007/page04.html:
12300 * docs/tutorials/007/page05.html:
12301 * docs/tutorials/007/page06.html:
12302 * docs/tutorials/007/page07.html:
12303 * docs/tutorials/007/page08.html:
12304 * docs/tutorials/007/page09.html:
12305 * docs/tutorials/007/thread_pool.cpp:
12306 * docs/tutorials/008/Makefile:
12307 * docs/tutorials/008/combine.shar:
12308 * docs/tutorials/008/directed_client.cpp:
12309 * docs/tutorials/008/page01.html:
12310 * docs/tutorials/008/page02.html:
12311 * docs/tutorials/008/page03.html:
12312 * docs/tutorials/008/page04.html:
12313 * docs/tutorials/008/page05.html:
12314 * docs/tutorials/008/server.cpp:
12315 * docs/tutorials/009/Makefile:
12316 Included Kirthika's abstract.
12317 Colorized both tutorials & convereted to new format.
12318
12319 Thu Jan 21 14:25:58 1999 David L. Levine <[email protected]>
12320
12321 * ace/SString.h: changed !ACE_HAS_WINCE wrap of ostream
12322 operators to !ACE_LACKS_IOSTREAM_TOTALLY.
12323
12324 * ace/OS.i (getuid): added static cast of -1 to uid_t on
12325 Chorus, to avoid compiler warning about change in sign.
12326
12327 * ace/OS.h: moved (protected) MAXHOSTNAMELEN #define from
12328 pSOS and NT-only code to where its visible on all platforms.
12329 When we removed the #include of rpc.h, we lost the
12330 #define of MAXHOSTNAMELEN on Chorus.
12331
12332 Thu Jan 21 15:19:26 1999 James CE Johnson <[email protected]>
12333
12334 * docs/tutorials/001/Makefile:
12335 * docs/tutorials/001/page01.html:
12336 * docs/tutorials/001/page02.html:
12337 * docs/tutorials/001/page03.html:
12338 * docs/tutorials/001/page04.html:
12339 * docs/tutorials/001/page05.html:
12340 * docs/tutorials/005/client_handler.cpp:
12341 * docs/tutorials/005/page02.html:
12342 * docs/tutorials/005/page03.html:
12343 * docs/tutorials/005/page04.html:
12344 * docs/tutorials/005/page05.html:
12345 * docs/tutorials/005/page06.html:
12346 * docs/tutorials/006/client_handler.cpp:
12347 * docs/tutorials/006/page01.html:
12348 * docs/tutorials/006/page02.html:
12349 * docs/tutorials/006/page03.html:
12350 * docs/tutorials/006/page04.html:
12351 * docs/tutorials/006/page05.html:
12352 Incorporated new comments from Vishal, Yamuna and Pradeep.
12353
12354 Thu Jan 21 13:05:31 1999 Steve Huston <[email protected]>
12355
12356 * docs/tutorials/Makefile: Removed include .depend to allow the
12357 whole set of tutorials to be built from the top. Thanks to James
12358 Johnson for guiding this fix.
12359
12360 Wed Jan 20 19:47:16 1999 Nanbor Wang <[email protected]>
12361
12362 * ace/OS.{h,i,cpp} (fopen): Reimplement fopen using Win32 APIs so
12363 ACE_OS::unlink behaves the same as it does on UNIX platforms.
12364 Both ACE_OS::open and ACE_OS::fopen have been corrected.
12365 There's also a ACE::open_temp_file which should be the prefered
12366 method to open temp files when ACE_HANDLE is used. That's
12367 because Win32 tries to map the file opened by
12368 ACE::open_temp_file to memory.
12369
12370 * ace/Parse_Node.cpp (symbol): <func> need to be initialized.
12371 Thanks to David for reporting the bug.
12372
12373 Wed Jan 20 17:37:21 1999 Steve Huston <[email protected]>
12374
12375 * ace/Log_Msg.h: Added "do {} while (0)" as defs for ACE_HEX_DUMP,
12376 ACE_ERROR, ACE_DEBUG when ACE_NLOGGING is defined. Having null defs
12377 for these caused MSVC some problems. Thanks to Doug Schmidt for
12378 giving (and explaining) the correct definitions.
12379
12380 Wed Jan 20 13:38:03 1999 David L. Levine <[email protected]>
12381
12382 * ace/OS.i (readdir_r): added ACE_UNUSED_ARG (entry)
12383 without ACE_HAS_REENTRANT_FUNCTIONS.
12384
12385 * docs/ACE-guidelines.html: added guideline for calling
12386 ACE_OS::unlink () immediately after opening a temporary file.
12387
12388 * *.h: replaced () around #pragma implementation argument. Thanks
12389 to Susan Liebeskind <[email protected]> and
12390 Steve Huston for reporting and confirming that it's necessary
12391 on AIX.
12392
12393 Wed Jan 20 01:48:21 1999 Nanbor Wang <[email protected]>
12394
12395 * ace/Parse_Node.cpp (symbol): Remembered to pass down the
12396 "gobbler" in a Static_Function_Node. Thanks to Eric C. Newton
12397 <[email protected]> for reporting and providing the fix.
12398
12399 Tue Jan 19 17:52:49 1999 Douglas C. Schmidt <[email protected]>
12400
12401 * ace/SString.h: Clarified the role of the <release> argument for
12402 the <set> method. Thanks to Sudhanshu Garg
12403 <[email protected]> for suggesting this.
12404
12405 Tue Jan 19 16:15:26 1999 David L. Levine <[email protected]>
12406
12407 * OS.i,README,config-cygwin32-common.h,config-linux-common.h,
12408 config-psos-diab.h,config-psos-tm.h,config-psosim-g++.h,
12409 config-sco-5.0.0-mit-pthread.h,config-sco-5.0.0.h,
12410 config-tandem.h: removed removed include of rpc/rpc.h, and
12411 ACE_LACKS_RPC_H. Thanks to Susan Liebeskind
12412 <[email protected]> for initially suggesting this,
12413 and to Russ Noseworthy for reporting another problem (on
12414 SunOS 5.6 w/o threads) with it. ACE doesn't need it.
12415
12416 * bin/g++dep: removed /project/doc/pkg/gnu/bin from PATH so that
12417 I can run make depend on Linux.
12418
12419 Tue Jan 19 12:14:09 1999 Douglas C. Schmidt <[email protected]>
12420
12421 * Makefile (CONTROLLED_FILES): Added ChangeLog-98b to the
12422 CONTROLLED_FILES macro. Thanks to Susan Liebeskind
12423 <[email protected]> for suggesting this.
12424
12425 Tue Jan 19 10:24:00 1999 Chris Gill <[email protected]>
12426
12427 * apps/JAWS/PROTOTYPE/HTTPU/HTTPU.{dsp, dsw}: converted to MSVC++ 6.0
12428 (and backward compatible) format.
12429
12430 * apps/JAWS/PROTOTYPE/HTTPU/http_headers.{cpp, h}: fixed ACE_RB_Tree
12431 templates, template instantiations. Thanks to Sridhar Sabella
12432 ([email protected]) for pointing this out.
12433
12434 Tue Jan 19 00:42:44 1999 Irfan Pyarali <[email protected]>
12435
12436 * examples/Log_Msg/test_callback.cpp (log): Removed the use of
12437 cerr and used ACE_OS::printf() instead.
12438
12439 * ace/Log_Record.cpp (print): Fixed comparison between signed and
12440 unsigned. Thanks to David Levine for pointing this out.
12441
12442 Mon Jan 18 23:55:03 1999 Darrell Brunsch <[email protected]>
12443
12444 * ACE-INSTALL.html: Added more info on Alpha configuration
12445 problems and fixes.
12446
12447 Mon Jan 18 23:07:38 1999 Nanbor Wang <[email protected]>
12448
12449 * ace/OS.cpp (open): Files opened with CreateFileA (on Win32 of
12450 course,) are now opened with FILE_SHARE_DELETE flag set. This
12451 allows ACE_OS::unlink to work as it should. However, I haven't
12452 figured out how to make unlink work with file opened with fopen
12453 yet. Apparently, fopen does not open file with
12454 FILE_SHARE_DELETE.
12455
12456 Mon Jan 18 22:54:18 1999 Darrell Brunsch <[email protected]>
12457
12458 * ace/ace_dll.dsp:
12459 * ace/ace_lib.dsp:
12460 Updated NT Alpha configurations.
12461
12462 * apps/gperf/src/gperf.dsp:
12463 * apps/gperf/src/gperf_lib.dsp:
12464 Added NT Alpha configurations.
12465
12466 Mon Jan 18 22:14:00 1999 James CE Johnson <[email protected]>
12467
12468 * docs/tutorials/011/message_queue.cpp:
12469 * docs/tutorials/011/page02.html:
12470 ACE_Message_Block::copy() will advance the wr_ptr() for us.
12471 Previously, I was doing that myself in run_test(). The test only
12472 worked because I never wrote data to the block after that. If I
12473 had, things would have broken horribly.
12474
12475 Mon Jan 18 20:41:48 1999 Douglas C. Schmidt <[email protected]>
12476
12477 * ace/Message_Block.h: Clarified that the wr_ptr() is incremented
12478 by n as a result of the copy operation. Thanks to Zoran
12479 Ivanovic <[email protected]> for suggesting this.
12480
12481 * ace/INET_Addr.h (ACE_INET_Addr): Changed the default for
12482 ipaddr_format to 1 (which is what it had been originally) rather
12483 than 0 since the original way is faster since it doesn't use
12484 DNS. Thanks to Zoran Ivanovic <[email protected]> for finding
12485 this.
12486
12487 Mon Jan 18 20:31:47 1999 James CE Johnson <[email protected]>
12488
12489 * docs/tutorials/006/client_handler.cpp:
12490 Typo...
12491
12492 * docs/tutorials/006/*.html:
12493 * docs/tutorials/006/combine.shar:
12494 Colorized, added Kirthika's abstract.
12495
12496 Mon Jan 18 16:19:56 1999 Nanbor Wang <[email protected]>
12497
12498 * ace/OS.cpp (open): If a file is open with _O_TEMPORARY flag set
12499 on Win32, we also set the FILE_ATTRIBUTE_TEMPORARY so OS will
12500 try to cache it in memory to speed up access.
12501
12502 * ace/ACE.cpp (open_temp_file): On Win32, temporary file should be
12503 opened with _O_TEMPORARY flag set, not FILE_DELETE_ON_CLOSE.
12504
12505 * include/makeinclude/wrapper_macros.GNU: My previous fix of
12506 avoiding multiple definition of ACE_NDEBUG was not correct. Now
12507 the macro check where should the definition go to. Thanks to
12508 David for showing me the right way to do this.
12509
12510 Mon Jan 18 11:23:06 1999 Carlos O'Ryan <[email protected]>
12511
12512 * include/makeinclude/platform_irix6.x-sgic++.GNU:
12513 Added the -multigot flag when building shared libraries,
12514 otherwise TAO/orbsvcs is too big.
12515
12516 Mon Jan 18 09:54:54 1999 David L. Levine <[email protected]>
12517
12518 * ace/config-sunos5.5.h: moved ACE_HAS_PRIOCNTL #define so
12519 that it's defined even without threads. Thanks to
12520 Russ Noseworthy for reporting this.
12521
12522 * ace/OS.cpp (lwp_getparams): removed ACE_MT_SAFE check
12523 that Doug added Saturday. It's not necessary with the
12524 above fix to config-sunos5.5.h.
12525
12526 * examples/Log_Msg/test_ostream.cpp: don't try to create the
12527 ofstream if ACE_LACKS_IOSTREAM_TOTALLY. Also, removed
12528 declarations of unused argc/argv arguments because some
12529 g++ versions complain about them.
12530
12531 Mon Jan 18 08:17:49 1999 Douglas C. Schmidt <[email protected]>
12532
12533 * ace/SOCK_IO.cpp,
12534 ace/SOCK_Dgram.cpp: Added
12535
12536 ACE_UNUSED_ARG (timeout);
12537
12538 to the #else part of the recv (iovec *) methods. Thanks to Mike
12539 Goldman for reporting this.
12540
12541 Mon Jan 18 01:13:57 1999 Nanbor Wang <[email protected]>
12542
12543 * ace/CORBA_macros.h: ACE_TRY_NEW_ENV also needs to define a new
12544 CORBA::Environment even with native exceptions. Mark exception
12545 caught by ACE_CATCH as unused arg to avoid compilation warnings.
12546
12547 Mon Jan 18 00:12:13 1999 Douglas C. Schmidt <[email protected]>
12548
12549 * ACE version 4.6.16 released.
12550
12551 Sun Jan 17 16:40:22 1999 Douglas C. Schmidt <[email protected]>
12552
12553 * tests/Reactor_Exceptions_Test.cpp (main): Changed the LM_INFO
12554 message to indicate that C++ exception support isn't ENABLED on
12555 a platform, rather than saying that it's not supported at all...
12556
12557 Sun Jan 17 15:16:35 1999 Nanbor Wang <[email protected]>
12558
12559 * ace/SString.cpp (operator<<): The operator<< used to print out
12560 ACE_WString caused an infinite loop on platform without UNICODE
12561 defined because we didn't convert the wide string on these
12562 platform. However, since an ACE_WString always contains a wide
12563 string, the conversion from wide string to char string should
12564 always be done here. Thanks to Scott Snyder
12565 <[email protected]> for noticing this bug.
12566
12567 (operator<<): Changed the ACE_SString and ACE_CString version to
12568 check against the case when the internal <rep_> contains 0.
12569 The ACE_CString version was printing out the string one char a
12570 time. Can't see any reason why this is done like this. Changed
12571 to print out the underlying <rep_> directly.
12572
12573 Sun Jan 17 14:42:39 1999 James CE Johnson <[email protected]>
12574
12575 * docs/tutorials/001/*:
12576 * docs/tutorials/002/*:
12577 * docs/tutorials/003/*:
12578 * docs/tutorials/004/*:
12579 * docs/tutorials/005/*:
12580 Converted to the new (colorized) format used by T13 and beyond.
12581 I will convert the remaining tutorials (6-12) as each is reviewed.
12582
12583 * docs/tutorials/005/fix.Makefile:
12584 * docs/tutorials/006/fix.Makefile:
12585 * docs/tutorials/007/fix.Makefile: Replaced by ../fix.Makefile.
12586
12587 * docs/tutorials/010/Makefile:
12588 * docs/tutorials/011/Makefile:
12589 * docs/tutorials/012/Makefile:
12590 * docs/tutorials/013/Makefile:
12591 * docs/tutorials/014/Makefile:
12592 * docs/tutorials/016/Makefile:
12593 * docs/tutorials/017/Makefile:
12594 These all referenced ../007/fix.Makefile. They now reference
12595 ../fix.Makefile instead.
12596
12597 Sun Jan 17 13:50:16 1999 James CE Johnson <[email protected]>
12598
12599 * docs/tutorials/002/handler.h:
12600 * docs/tutorials/002/handler.h:
12601 * docs/tutorials/002/page03.html:
12602 * docs/tutorials/003/client.cpp:
12603 * docs/tutorials/003/page01.html:
12604 * docs/tutorials/004/page01.html:
12605 * docs/tutorials/005/client_handler.h:
12606 * docs/tutorials/005/page02.html:
12607 * docs/tutorials/005/page04.html:
12608 * docs/tutorials/005/page05.html:
12609 * docs/tutorials/005/server.cpp:
12610
12611 More improvements from Doug's class (and Ossama). Each "page2"
12612 includes an abstract by Kirthika.
12613
12614 Reviewers to date:
12615 Yamuna Krishnamurthy <[email protected]>
12616 Kirthika Parameswaran <[email protected]>
12617 Balachandran Natarajan <[email protected]>
12618 Pradeep Gore <[email protected]>
12619 Ossama Othman <[email protected]>
12620
12621 Sat Jan 16 19:08:12 1999 Douglas C. Schmidt <[email protected]>
12622
12623 * ace/High_Res_Timer.cpp: Added #ifdef so high-res timers work
12624 correctly on KCC. Thanks to Scott Snyder
12625 <[email protected]> for contributing this.
12626
12627 * tests/test_config.h: Updated randomize() so that it uses a
12628 "fixed" seed, so that it will produce "reusable" random numbers.
12629
12630 * include/makeinclude/platform_linux_kcc.GNU (LD): Added the -lm
12631 flag. Thanks to Scott Snyder <[email protected]> for
12632 contributing this.
12633
12634 * tests/run_tests.sh: Added an
12635 LD_LIBRARY_PATH=../netsvcs/lib:$LD_LIBRARY_PATH so that we can
12636 use a relative name for the svc.conf files used in the
12637 Time_Service_Test and Tokens_Test.
12638
12639 * ace/config-irix6.x-common.h: Added support for long double for
12640 KCC. Thanks to Scott Snyder <[email protected]> for
12641 contributing this.
12642
12643 * ace/config-irix6.x-kcc.h: Added KCC support. Thanks to Scott
12644 Snyder <[email protected]> for contributing this.
12645
12646 * ace/config-osf1-4.0.h: Added KCC support. Thanks to Scott
12647 Snyder <[email protected]> for contributing this.
12648
12649 * ace/IOStream.h: Fixed up the PUT_CODE and GET_CODE macros so
12650 that they work with KCC. Thanks to Scott Snyder
12651 <[email protected]> for contributing this.
12652
12653 * ace/Env_Value_T.h (ACE_Convert): Added a new ACE_Convert
12654 constructor for u_int so that TAO compiles correctly with KCC.
12655 Thanks to Scott Snyder <[email protected]> for contributing
12656 this.
12657
12658 * include/makeinclude/platform_osf1_4.0_kcc.GNU: Added a new
12659 platform config file for KCC. Thanks to Scott Snyder
12660 <[email protected]> for contributing this.
12661
12662 Sat Jan 16 18:13:29 1999 Nanbor Wang <[email protected]>
12663
12664 * include/makeinclude/wrapper_macros.GNU: Commented out adding
12665 ACE_NDEBUG to CCFLAGS to avoid defining it twice. Most (if not
12666 all) platforms include CFLAGS into CCFLAGS. So, if "make
12667 debug=0" no longer work on your platform, then, you may need to
12668 add "CCFLAGS += $(CFLAGS)" into your platform_xxx.GNU.
12669
12670 Sat Jan 16 13:40:40 1999 Douglas C. Schmidt <[email protected]>
12671
12672 * ace/Proactor.cpp (schedule_timer): Had to add an
12673 ACE_SYNCH_RECURSIVE_THREAD_MUTEX in place of
12674 ACE_Recursive_Thread_Mutex to avoid problems when threads=0.
12675
12676 * ace/OS.cpp (lwp_getparams): For some reason we had to
12677 add
12678
12679 # if defined (ACE_HAS_STHREADS) || (defined (sun) && (ACE_MT_SAFE != 0))
12680
12681 instead of
12682
12683 # if defined (ACE_HAS_STHREADS) || defined (sun)
12684
12685 to avoid problems when threads=0.
12686
12687 * ace/Asynch_IO.cpp: Replaced some ACE_Thread_Mutex decls with
12688 ACE_SYNCH_MUTEX to avoid problems with threads=0.
12689
12690 * ace/config-sunos5.6.h: If defined(_POSIX_C_SOURCE) &&
12691 _POSIX_C_SOURCE >= 199506L) || defined (__EXTENSIONS__) then
12692 #define ACE_HAS_SIGWAIT to avoid compilation errors. Thanks to
12693 Russ Noseworthy for reporting this.
12694
12695 * ace/OS.i: Fixed the ACE_OS::readdir_r() so that it doesn't fail
12696 if threads are disabled via "make threads=0". Thanks to Russ
12697 Noseworthy for reporting this.
12698
12699 * ace/FILE_Connector.h (ACE_FILE_Connector): Added the O_CREAT
12700 flag to the list of flags passed to connect(). This ensures
12701 that the file is created if it doesn't already exist. Thanks to
12702 Pradeep Gore <[email protected]> for reporting this.
12703
12704 Fri Jan 15 21:28:04 1999 Irfan Pyarali <[email protected]>
12705
12706 * ace/Log_Msg (ACE_Log_Msg_Callback): Added an interface class
12707 used for getting logging callbacks. Users who are interested in
12708 getting the logging messages directly, can subclass this
12709 interface and override the log() method. They must then register
12710 their subclass with the Log_Msg class and make sure that they
12711 turn on the ACE_Log_Msg::MSG_CALLBACK flag.
12712
12713 Your log() routine is called with an instance of
12714 ACE_Log_Record. From this class, you can get the log
12715 message, the verbose log message, message type, message
12716 priority, and so on.
12717
12718 Remember that there is one Log_Msg object per thread.
12719 Therefore, you may need to register your callback object with
12720 many Log_Msg objects (and have the correct synchronization in
12721 the log() method) or have a separate callback object per
12722 Log_Msg object.
12723
12724 Thanks to Chris Lahey <[email protected]> for suggesting this
12725 and send patches.
12726
12727 * examples/Log_Msg/test_callback.cpp: Added new example for
12728 Log_Msg. This program tests the Log_Msg abstraction wrt writing
12729 to user defined callback objects.
12730
12731 Fri Jan 15 21:10:25 1999 Nanbor Wang <[email protected]>
12732
12733 * ace/CORBA_macros.h: Made sure ACE_CORBA_HAS_EXCEPTIONS always
12734 gets set properly. Added ACE_ADPOT_CORBA_ENV to reuse a
12735 existing CORBA::Environment variable.
12736
12737 Fri Jan 15 17:05:12 1999 Irfan Pyarali <[email protected]>
12738
12739 * ace/Log_Record: Factored out the redundant formatting code. The
12740 new scheme also allows the end user to get to verbose formatted
12741 string. Thanks to Nanbor for helping out with this.
12742
12743 Fri Jan 15 17:15:18 EST 1999 James CE Johnson <[email protected]>
12744
12745 * docs/tutorials/templates.html
12746 docs/tutorials/001/acceptor.h
12747 docs/tutorials/001/logger.h
12748 docs/tutorials/001/page01.html
12749 docs/tutorials/001/page02.html
12750 docs/tutorials/001/page03.html
12751 docs/tutorials/001/page04.html
12752 docs/tutorials/001/page05.html
12753 docs/tutorials/001/server.cpp
12754 docs/tutorials/003/page01.html
12755
12756 Many changes from Ossama plus a new abstract (for T3) from
12757 Kirthika.
12758
12759 Fri Jan 15 14:40:26 1999 Douglas C. Schmidt <[email protected]>
12760
12761 * ace/SOCK_IO,
12762 ace/SOCK_Dgram: Modified the recv(iovec *) and recvv(iovec *)
12763 methods so that they use select() to avoid spinning if no data
12764 is available. Thanks to Mike Goldman <[email protected]> for this
12765 fix.
12766
12767 Fri Jan 15 10:47:26 1999 Douglas C. Schmidt <[email protected]>
12768
12769 * ace/Service_Repository.cpp: If a service being removed from the
12770 Service_Repository used the Service_Repository while being
12771 removed it could access objects that had already been deleted.
12772 Fix this by decrementing the current_size_ member in
12773 "real-time". Thanks to Eric Newton for reporting this.
12774
12775 Fri Jan 15 08:08:31 1999 Douglas C. Schmidt <[email protected]>
12776
12777 * ACE version 4.6.15 released.
12778
12779 Fri Jan 15 07:20:46 1999 Chris Gill <[email protected]>
12780
12781 * ace/OS.i: Fixed variable names in isatty () on NT
12782
12783 Fri Jan 15 03:45:46 1999 Nanbor Wang <[email protected]>
12784
12785 * docs/exceptions.html: Rewrote the exception handling guildlines
12786 based on ACE's try macros.
12787
12788 Fri Jan 15 01:32:55 1999 Douglas C. Schmidt <[email protected]>
12789
12790 * ACE version 4.6.14 released.
12791
12792 Fri Jan 15 00:03:32 1999 Irfan Pyarali <[email protected]>
12793
12794 * examples/Log_Msg/test_ostream.cpp: Added new example for
12795 Log_Msg. This program tests the Log_Msg abstraction wrt writing
12796 to stderr and to a file.
12797
12798 Thu Jan 14 21:50:22 1999 Nanbor Wang <[email protected]>
12799
12800 * ace/CORBA_macros.h: Added a new set of try macros which help
12801 application developers write portable code that handles
12802 CORBA::Exception portably. The macros will work with any ORB.
12803
12804 The total number of macros has reduces significantly and they
12805 should be much easier to use because the rules all follow the
12806 same style.
12807
12808 The new try macros should be prefered over the original try
12809 macro in $TAO_ROOT/TAO/try_macros.h because those macros will
12810 soon be *DEPRICATED* once we finished convert TAO to use the new
12811 macros.
12812
12813 Please see ACE_wrappers/docs/exceptions.html for guidelines and
12814 rules of using ACE's try macros.
12815
12816 Thu Jan 14 20:41:33 1999 Douglas C. Schmidt <[email protected]>
12817
12818 * ace/OS: Moved some code around to consolidate the getuid() and
12819 isatty() functions.
12820
12821 * ace/OS: Added support for the setuid() call. Thanks to Susan
12822 Liebeskind <[email protected]> for suggesting
12823 this.
12824
12825 Thu Jan 14 16:18:37 EST 1999 James CE Johnson <[email protected]>
12826
12827 * docs/tutorials/001/page02.html:
12828 docs/tutorials/001/page03.html:
12829
12830 Included Kirthika Parameswaran's <[email protected]>
12831 abstract and analogy. Thanks Kirthika!
12832
12833 * docs/tutorials/001/Source.tgz:
12834 docs/tutorials/001/acceptor.h:
12835 docs/tutorials/001/logger.h:
12836 docs/tutorials/001/server.cpp:
12837 docs/tutorials/001/page[345].html:
12838 * docs/tutorials/002/page0[23].html:
12839 docs/tutorials/002/handler.h:
12840
12841 Added improvements from Kirthika, Pradeep and Yamuna
12842
12843 Thu Jan 14 11:46:25 1999 Douglas C. Schmidt <[email protected]>
12844
12845 * ace/Synch_T.h: Pointed out that we can only parameterize
12846 ACE_Condition<> with ACE_Thread_Mutex and ACE_...Null_Mutex.
12847 Thanks to Knut-Havard Aksnes <[email protected]> for reporting
12848 this.
12849
12850 Thu Jan 14 02:33:37 1999 Douglas C. Schmidt <[email protected]>
12851
12852 * ACE version 4.6.13 released.
12853
12854 Thu Jan 14 00:07:34 1999 Irfan Pyarali <[email protected]>
12855
12856 * docs/tutorials/014/stream.cpp: Added #include "ace/streams.h".
12857
12858 Wed Jan 13 23:18:03 1999 Nanbor Wang <[email protected]>
12859
12860 * ace/OS.h:
12861 * config-g++-common.h:
12862 * config-osf1-4.0.h:
12863 * config-psos-diab.h:
12864 * config-psos-tm.h: Revert my previous change. Removed the
12865 ChangeLog entry about the change.
12866
12867 Wed Jan 13 22:30:49 1999 David L. Levine <[email protected]>
12868
12869 * include/makeinclude/platform_chorus_ghs.GNU: removed
12870 explicit link with libedgnoe.a, because GreenHills adds
12871 that implicitly.
12872
12873 * ace/OS.h: added quick hack to ACE_HAS_BROKEN_EXPLICIT_DESTRUCTOR
12874 logic to allow compilation with g++.
12875
12876 Wed Jan 13 18:48:30 EST 1999 James CE Johnson <[email protected]>
12877
12878 * docs/tutorials/004/client.cpp:
12879 docs/tutorials/010/message_queue.cp:
12880 docs/tutorials/011/message_queue.cpp:
12881 docs/tutorials/012/message_queue.cpp:
12882 docs/tutorials/013/message_queue.cpp:
12883 docs/tutorials/014/EndTask.h:
12884 docs/tutorials/019/client.cpp:
12885 docs/tutorials/019/client2.cpp:
12886 docs/tutorials/019/server.cpp:
12887 docs/tutorials/019/server2.cpp:
12888 docs/tutorials/019/shmem.cpp:
12889 docs/tutorials/020/client.cpp:
12890 docs/tutorials/020/server.cpp:
12891 docs/tutorials/021/client.cpp:
12892 docs/tutorials/021/mpool.cpp:
12893 docs/tutorials/021/mpool.h:
12894 docs/tutorials/021/server.cpp:
12895 Fixed many NT issues found by Irfan. Most are related to the
12896 fact that NT doesn't have SysV shared memory.
12897
12898 Wed Jan 13 04:45:59 1999 James C Hu <[email protected]>
12899
12900 * ace/Cache_Object.{h,cpp}:
12901 * ace/Cache_Manager.{h,cpp}:
12902 * ace/Cache_Manager_T.{h,cpp}:
12903 * ace/Cache_Hash_T.{h,cpp}:
12904 * ace/Cache_Heap_T.{h,cpp}:
12905 * ace/Hash_Bucket_T.{h,cpp}:
12906 Supporting infrastructure for the new Filecache. These classes
12907 form the basis of a generic in memory cache engine.
12908
12909 Wed Jan 13 02:17:57 1999 Irfan Pyarali <[email protected]>
12910
12911 * ace/OS.cpp (writev): This function should use ACE::write_n
12912 instead of ACE::send_n. Similarly, readv() should use
12913 ACE::read_n instead of ACE::recv_n.
12914
12915 * ace/ACE.cpp (send): This function should use ACE_OS::sendv
12916 instead of ACE_OS::writev. Similarly, recv() should use
12917 ACE_OS::recvv instead of ACE_OS::readv.
12918
12919 * docs/tutorials: Fixed all the NT project files.
12920
12921 Tue Jan 12 22:41:05 1999 Nanbor Wang <[email protected]>
12922
12923 * ace/config-freebsd.h: Uncommented ACE_HAS_SIGWAIT. This is
12924 required for FreeBSD 2.2.8. Thanks to John Aughey
12925 <[email protected]> for reporting this.
12926
12927 * ace/SOCK_IO.{h,i}:
12928 * ace/SOCK_Stream.{h,i} (sendv_n/recvv_n): Moved these functions
12929 from SOCK_IO to SOCK_Stream where it makes more sense to have
12930 the semantic of sending/receiving <n> bytes.
12931
12932 Tue Jan 12 19:52:26 1999 Nanbor Wang <[email protected]>
12933
12934 * ACE-INSTALL.html: Added more info on dynamically linking
12935 run-time libraries.
12936
12937 * ace/SOCK_IO.{h,i,cpp} (sendv,recvv,sendv_n,recvv_n): Renamed
12938 vector send_n/recv_n. There were name clashing since these
12939 methods have similar signatures to some send_n/recv_n in
12940 ACE_SOCK_Stream, they got hidden by the derived methods.
12941 Renaming them solve the problem.
12942
12943 Tue Jan 12 10:59:58 1999 David L. Levine <[email protected]>
12944
12945 * include/makeinclude/platform_chorus_ghs.GNU: fixed location of
12946 libedgenoe.a, so that a symlink in $(GHS_DIR) is no longer necessary.
12947 Thanks to Steve Kay for reporting this.
12948
12949 * ace/config-mklinux.h: removed ACE_HAS_SOCKLEN_T, added __USE_XOPEN.
12950 Thanks to Andreas Tobler <[email protected]> for these updates.
12951
12952 Tue Jan 12 08:44:11 EST 1999 Aniruddha Gokhale <[email protected]>
12953
12954 * ace/Acceptor.cpp (handle_close):
12955
12956 Since the reactor_ data member is made private, we need to use
12957 its accessor method to retrieve it.
12958
12959 Tue Jan 12 02:12:38 1999 Nanbor Wang <[email protected]>
12960
12961 * ace/OS.h (ACE_DES_NO_FREE,ACE_DES_FREE): These two macros
12962 shouldn't be treated differently no matter
12963 ACE_HAS_BROKEN_EXPLICIT_DESTRUCTOR is defined or not.
12964 Otherwise, virtual destructor won't work in one of the original
12965 definitions.
12966
12967 There shouldn't be different different definitions for calling
12968 template destructor explicitly either. However, we need to find
12969 that out. The meaning of ACE_HAS_BROKEN_EXPLICIT_DESTRUCTOR
12970 seems to be reversed. That needs to be fixed also.
12971
12972 Tue Jan 12 00:18:15 1999 Douglas C. Schmidt <[email protected]>
12973
12974 * ace/Event_Handler.h: Moved the priority_ and reactor_ data
12975 members into the private section of the class since these can
12976 always be accessed via their accessor methods. Thanks to Mike
12977 Goldman <[email protected]> for reporting this.
12978
12979 Mon Jan 11 15:30:26 1999 Nanbor Wang <[email protected]>
12980
12981 * ace/Process.{h,i} (get_process_attributes,get_thread_attributes):
12982 Removed the constness from the return value to avoid Intel C++
12983 warnings. Thanks to Karel Zuiderveld
12984 <[email protected]> for reporting this.
12985
12986 * bin/ADDIDL.DSM: A VB script to add new IDL files into DevStudio
12987 projects. Thanks to Peter <[email protected]> for contributing
12988 this nice tool.
12989
12990 Mon Jan 11 12:54:26 1999 Douglas C. Schmidt <[email protected]>
12991
12992 * ace/SOCK_IO: Added const qualifiers to all the send*() and
12993 recv*() methods that take ACE_Time_Value values. Thanks to Jody
12994 Hagins <[email protected]> for reporting this.
12995
12996 * ace/SOCK_IO: Added a new send_n() method that uses the new
12997 ACE::sendv_n() method!
12998
12999 * ace/ACE: Added a new sendv_n() and writev_n() method that sends
13000 all the bytes in the iovec!
13001
13002 * ace/ACE.h (ACE): Added default values of 0 for ACE::writev() and
13003 ACE::readv().
13004
13005 * examples/NT_Service: Tidied up the formatting to conform to the
13006 ACE programming guidelines.
13007
13008 Mon Jan 11 10:23:06 1999 Nanbor Wang <[email protected]>
13009
13010 * ace/config-freebsd-pthread.h: Added ACE_LACKS_READDIR_R.
13011 * ace/config-freebsd.h: Added ACE_LACKS_READDIR_R,
13012 ACE_HAS_NONCONST_MSGSND, ACE_LACKS_MALLOC_H. ACE_HAS_SIGINFO_T
13013 only applies to 3.0 and above. Thanks to Ivan Pascal
13014 <[email protected]> for reporting the change.
13015
13016 Sun Jan 10 21:52:57 1999 David L. Levine <[email protected]>
13017
13018 * tests/Message_Queue_Notifications_Test.cpp (iterator_test):
13019 added comment explaining why a message queue size of 32 Kb
13020 is used, instead of the default of 16 Kb.
13021
13022 * docs/ACE-guidelines.html: added guidelines for boolean types
13023 and function return values.
13024
13025 Sun Jan 10 17:33:29 1999 Douglas C. Schmidt <[email protected]>
13026
13027 * tests/Message_Queue_Notifications_Test.cpp: Replaced delete mb
13028 with mb->release(). Thanks to Susan Liebeskind
13029 <[email protected]> for reporting this
13030 inconsistency.
13031
13032 * ace/Task_T.h,
13033 ace/Message_Queue_T.h: Clarified the fact that the
13034 ACE_Time_Value arguments to the Message_Queue methods
13035 use absolute, rather than relative, time. Thanks to
13036 Stanford S. Guillory <[email protected]> for pointing out
13037 the need for this clarification.
13038
13039 Sun Jan 10 09:18:41 1999 Martin Krumpolec <[email protected]>
13040
13041 * ace/Log_Msg.cpp (log): only re-enable tracing if it had
13042 not been explicitly disabled.
13043
13044 Sun Jan 10 01:06:18 1999 Irfan Pyarali <[email protected]>
13045
13046 * ace/Log_Msg.cpp (log): Change call from exit() to abort().
13047
13048 * ace/OS.i (abort): Added new function.
13049
13050 Sat Jan 9 22:05:07 1999 Nanbor Wang <[email protected]>
13051
13052 * bin/tao_env.pl: A new perl script that help you translate _env
13053 to TAO_IN_ENV.
13054
13055 Sat Jan 09 10:53:37 1999 David L. Levine <[email protected]>
13056
13057 * ace/Name_Proxy.cpp (open): swapped branches of conditional
13058 so that options.time_value () is used if USE_TIMEOUT is enabled.
13059 Thanks to Mike Goldman <[email protected]> for reporting this.
13060
13061 Fri Jan 08 19:19:17 1999 Nanbor Wang <[email protected]>
13062
13063 * ace/OS.h: Applied ACE_TEXT to the definition of
13064 ACE_DEFAULT_TEMP_FILE on Win32. Thanks to
13065 <[email protected]> for reporting this.
13066
13067 Fri Jan 08 13:24:12 1999 David L. Levine <[email protected]>
13068
13069 * ace/Synch.h (ACE_Process_Mutex): made data members
13070 private instead of public. Thanks to Peter Gross
13071 <[email protected]> for reporting this.
13072
13073 * examples/Threads/reader_writer.cpp: removed volatile
13074 qualifier from declaration of "shared_thr_id", so that
13075 the file will compile on DU 4.0 with DCE threads. The
13076 volatile qualifier caused a type mismatch with
13077 ACE_thread_t. And, it's not necessary, because all
13078 access of the shared_thr_id is guarded.
13079
13080 * include/makeinclude/platform_chorus_ghs.GNU: added gnuch68
13081 to -alttools, and removed bin from AR; use libedgnoe.a instead
13082 of libedg.a with GHS 1.8.9.1.
13083
13084 * ace/config-sunos5.5.h: don't define ACE_HAS_XPG4_MULTIBYTE_CHAR
13085 with ghs, because its version 1.8.9 doesn't seem to support it.
13086 Also, with ghs, replaced the __ctype [] declaration with an
13087 #include of <stdlib.h>, because that's cleaner. Finally,
13088 added ACE_HAS_BROKEN_ENUMS for ghs (1.8.9).
13089
13090 Thu Jan 07 09:05:27 1999 David L. Levine <[email protected]>
13091
13092 * ace/config-sunos5.5.h: added ACE_HAS_SIG_C_FUNC with
13093 Sun CC >= 4.2. Sun CC 5.0 needs it; Sun CC 4.2 doesn't
13094 object to it on SunOS 5.5.1, 5.6, and 5.7. Thanks to
13095 Neil Cohen <[email protected]> for figuring out how to
13096 compile ACE with Sun CC 5.0.
13097
13098 * include/makeinclude/platform_sunos5_sunc++.GNU: only
13099 use -features=castop and -rtti with Sun CC 4.2. CC 5.0
13100 doesn't support them; I assume that it enables RTTI by
13101 default. Thanks to Neil Cohen <[email protected]> for
13102 reporting this.
13103
13104 * ACE-INSTALL.html: added ACE_HAS_REGEX #undef suggestion for
13105 shared lib link problems with egcs 1.1.x on Solaris 2.5.x.
13106 Thanks to Bob McWhirter <[email protected]> for reporting this
13107 problem.
13108
13109 Thu Jan 07 04:45:36 1999 Douglas C. Schmidt <[email protected]>
13110
13111 * ACE version 4.6.12 released.
13112
13113 Thu Jan 07 04:01:08 1999 Irfan Pyarali <[email protected]>
13114
13115 * ace/Containers_T.cpp (max_size): No need to reallocate if the
13116 new size is the same. Thanks to Mike Goldman <[email protected]> for
13117 pointing this out.
13118
13119 * ace/Strategies_T.cpp (check_hint_i and cleanup_hint_i):
13120 purge_i() should be called after the entry is closed.
13121
13122 * Select_Reactor_Base.cpp (unbind): The next <max_handlep1_>
13123 should be calculated not only based on the <wait_set> but also
13124 the <suspend_set>.
13125
13126 Thanks to Mark L. Boriack <[email protected]> for providing
13127 a description of this bug.
13128
13129 Wed Jan 06 21:42:11 1999 David L. Levine <[email protected]>
13130
13131 * ace/OS.cpp (thr_create): moved #endif /* ACE_LACKS_SETDETACH */
13132 outside of }, to allow compilation on DU 4.0/cxx with DCE threads.
13133
13134 * ace/config-osf1-4.0.h: with DCE threads only, added
13135 ACE_LACKS_THREAD_PROCESS_SCOPING.
13136
13137 Wed Jan 06 16:36:21 1999 David L. Levine <[email protected]>
13138
13139 * ACE version 4.6.11 released.
13140
13141 Wed Jan 06 15:15:37 1999 Nanbor Wang <[email protected]>
13142
13143 * ace/Service_Config.cpp (process_directive,close): Moved the
13144 deletion of <svc_conf_file_queue_> into close method.
13145 Otherwise, there's no way to reconfigure the service
13146 configuration once it get started. Thanks to Mike Goldman
13147 <[email protected]> for reporting the problem.
13148
13149 Wed Jan 6 14:27:24 EST 1999 James CE Johnson <[email protected]
13150
13151 * docs/tutorials/021/*:
13152 Completed the ACE_Malloc<> tutorial. It could be a lot better
13153 than it is but I'm still new to ACE_Malloc...
13154
13155 * docs/tutorials/021/online-tutorials.html:
13156 Added the link for #21
13157
13158 Tue Jan 05 22:55:07 1999 Irfan Pyarali <[email protected]>
13159
13160 * ace/Strategies_T.cpp (cleanup_hint_i and check_hint_i): Since we
13161 are holding the connection cache lock in these methods, the
13162 Svc_Handler should not call purge(). If it does, a deadlock
13163 will occur (unless we have recursive locks) since we are already
13164 holding the connection cache lock. Therefore, we zero out the
13165 recycler before calling svc_handler->close() and purge out the
13166 svc_handler entry ourself (through purge_i()).
13167
13168 Thanks to Mark L. Boriack <[email protected]> for providing
13169 a precise example illustrating this bug.
13170
13171 Tue Jan 5 18:48:47 James CE Johnson <[email protected]>
13172
13173 * docs/tutorials/templates.html: Fixed a number of problems here.
13174 Thanks to Amos Shapira <[email protected]> for pointing
13175 them out.
13176
13177 * docs/tutorials/colorize: I pulled out the colorization code from
13178 combine into this standalone script. One of these days I'll fix
13179 combine so that the code isn't duplicated...
13180
13181 Tue Jan 5 16:14:00 1999 Carlos O'Ryan <[email protected]>
13182
13183 * ace/config-irix6.x-common.h:
13184 Added ACE_TIMER_SKEW definition.
13185
13186 * ace/FILE.cpp:
13187 Fixed the seek() prototype, is was declared as taking a "off_t"
13188 argument, but is was defined with a "long" argument,
13189 unfortunately in most platforms this was not a problem.
13190
13191 Tue Jan 05 13:15:35 1999 Nanbor Wang <[email protected]>
13192
13193 * ace/Service_Config.i (open): Be sure to pass down the
13194 <ignore_static_svcs> argument down to the real open method.
13195
13196 Tue Jan 05 08:08:06 1999 David L. Levine <[email protected]>
13197
13198 * tests/MM_Shared_Memory_Test.cpp (spawn): fixed syntax error
13199 by moving ) to end of ACE_ERROR invocation.
13200
13201 * ace/config-osf1-4.0.h: added 10 ms ACE_TIMER_SKEW, so that
13202 MT_Reactor_Timer_Test passes.
13203
13204 * ace/config-lynxos.h: added 10 ms ACE_TIMER_SKEW, so that
13205 MT_Reactor_Timer_Test comes closer to passing. It now
13206 chokes on the wait () near the end.
13207
13208 * ace/OS.i (thr_getspecific): moved return 0 statement inside
13209 the Draft 7/STD #else block, to avoid warning about unreachable
13210 statement with Draft 4/6.
13211
13212 * ace/config-osf1-4.0.h: with Draft 4 pthreads, added
13213 ACE_LACKS_READDIR_R.
13214
13215 * tests/MT_Reactor_Timer_Test.cpp (main): added printout if
13216 wait () fails.
13217
13218 Tue Jan 5 00:59:04 1999 Douglas C. Schmidt <[email protected]>
13219
13220 * ace/Synch: Changed the remove() method of ACE_Thread_Mutex,
13221 ACE_Mutex, ACE_Semaphore, ACE_RW_Mutex, ACE_Event,
13222 ACE_Thread_Condition_Mutex, ACE_File_Lock, and
13223 ACE_Recursive_Thread_Mutex so that they check a flag to see if
13224 remove() has already been called. If it has, then the remove()
13225 call does nothing. This avoids nasty problems on platforms like
13226 Win95 that fail mysteriously if locks are destroyed multiple
13227 times. Note that our solution isn't perfect since it won't
13228 protect against race conditions if multiple threads call
13229 remove() simultaneously. However, if this happens it's a sign
13230 that the application was designed incorrectly... Thanks to Paul
13231 Felix <[email protected]> and Irfan for tracking this down....
13232
13233 * ace/FILE: Added new methods, seek() and tell(), that are more
13234 intuitively named than the existing position() methods. The
13235 position() methods have been retained for backwards
13236 compatiblity, but are now marked as deprecated.
13237
13238 * ace/OS.h: Added a macro for ACE_DEFAULT_HTTP_PORT, which
13239 is 80 of course...
13240
13241 * ace/INET_Addr.cpp: Make sure that addr_to_string() correctly
13242 checks the length of its buffer before doing a sprintf(). In
13243 addition, added an option to print the results in either ip-addr
13244 format or ip-name format.
13245
13246 * ace/Mem_Map.cpp (map): where ace/Mem_Map.cpp mmap() will succeed
13247 if the length of the file mapping is 0, which will be the case
13248 if we've just created the file. This was the wrong place to
13249 make this check.
13250
13251 * tests/MM_Shared_Memory_Test.cpp: Cleaned up a few things
13252 in this test so that it'll be easier to maintain.
13253
13254 Mon Jan 04 08:45:45 1999 David L. Levine <[email protected]>
13255
13256 * ace/config-sunos5.7.h: only use the g++ hacks if the
13257 g++ version is prior to 2.8. Assume that later versions
13258 were built on SunOS 5.7 host, and/or don't have header
13259 files that are incompatible with the system headers.
13260
13261 * bin/create_ace_build: changed symlink creation failure from
13262 error (with termination) to warning create_ace_build.
13263
13264 Mon Jan 4 03:15:57 1999 Douglas C. Schmidt <[email protected]>
13265
13266 * ace/Mem_Map: If we're remapping an already-mapped file
13267 (i.e., the base_addr_ != 0) && the addr parameter IS 0 (i.e.,
13268 the user isn't trying to respecify where to map this file), then
13269 we'll try to map over top of the existing region, which implies
13270 "MAP_FIXED".
13271
13272 Sun Jan 03 23:21:46 1999 Nanbor Wang <[email protected]>
13273
13274 * ace/Service_Config.cpp (initialize): Both initialize methods now
13275 remove the service object from the repository if its init()
13276 method failed.
13277
13278 Sun Jan 3 14:39:49 1999 Douglas C. Schmidt <[email protected]>
13279
13280 * ace/ACE: Added a simple dirname() wrapper method.
13281
13282 * ace/SString: The set(const char *, size_t, int = 1) and
13283 set(const char *, int) methods were inherently ambiguous.
13284 I've fixed this by changing removing the default parameters.
13285 Thanks to Irfan for suggesting this fix.
13286
13287 * ace/Mem_Map.cpp: mmap() will fail if the length of the file
13288 mapping is 0, which will be the case if we've just created the
13289 file. Therefore, don't even bother trying to mmap() in this
13290 case and return a successful result.
13291
13292 * ace/FILE: Moved the get_remote_addr() and get_local_addr()
13293 methods from the FILE_IO class to the FILE class since that's
13294 more properly where they belong. Also added a new remove()
13295 method that unlinks the file.
13296
13297 * tests/Priority_Reactor_Test.cpp,
13298 tests/Conn_Test.cpp,
13299 tests/Notify_Performance_Test.cpp,
13300 Priority_Reactor_Test.cpp,
13301 Reactor_Performance_Test.cpp: Since the default is to skip argv0
13302 there's no sense explicitly saying this in the constructor of
13303 ACE_Get_Opt.
13304
13305 * ace/FILE_Connector.h: Updated the comments to reflect recent
13306 changes.
13307
13308 * ace/FILE.h: Added a new get_info() method that takes a reference
13309 to an ACE_FILE_Info rather than a pointer. This is a cleaner
13310 API, IMHO.
13311
13312 * ace/FILE_Connector.cpp (connect): When the <remote_sap> argument
13313 is ACE_Addr::sap_any, then connect will select a temporary
13314 filename using the new feature of ACE_FILE_Addr described below.
13315
13316 * ace/FILE_Addr.cpp (set): When the address is ACE_Addr::sap_any,
13317 then we'll select a new temporary filename using the new
13318 ACE_DEFAULT_TEMP_FILE macro and ACE_OS::mktemp().
13319
13320 * ace/OS.h: Added a new ACE_DEFAULT_TEMP_FILE macro that defaults
13321 to "/tmp/ace-file-XXXXXX" and is used by the ACE_FILE_Connector
13322 to create a temporary file when it's given an ACE_Addr::sap_any.
13323
13324 * ace/FILE_Addr.h: The <set> accessor should return an int to be
13325 consistent.
13326
13327 * ace/OS.h: Added a new ACE_sap_any_cast macro, which makes it
13328 much easier to cast the ACE_Addr::sap_any to the right subclass.
13329
13330 * tests/Reactor_Performance_Test.cpp,
13331 tests/Reactor_Exceptions_Test.cpp,
13332 tests/Process_Strategy_Test.cpp,
13333 tests/Priority_Reactor_Test.cpp,
13334 tests/IOStream_Test.cpp,
13335 tests/Conn_Test.cpp: Replaced all the C-style casts for
13336 ACE_Addr::sap_any with the new ACE_sap_any_cast macro.
13337
13338 Sun Jan 03 21:48:37 1999 Irfan Pyarali <[email protected]>
13339
13340 * ace/Asynch_Acceptor.cpp: Since this is a template file, I
13341 removed it from the ace library build on NT.
13342
13343 * ace/Asynch_Acceptor.cpp (open): Changed C-style cast to use the
13344 new ACE_sap_any_cast macro from Dr. Schmidt.
13345
13346 Sun Jan 03 09:12:23 1999 David L. Levine <[email protected]>
13347
13348 * ace/config-sunos5.5.h: with GreenHills, added
13349 ACE_LACKS_LINEBUFFERED_STREAMBUF and ACE_LACKS_SIGNED_CHAR.
13350
13351 * ace/Basic_Types.* (ACE_U_LongLong): unioned the data members
13352 with a double, to ensure alignment on 8-byte boundaries. It
13353 could matter when an ACE_U_LongLong is used as a true 8-byte
13354 quantity, such as in a call to Solaris ::gethrtime ().
13355
13356 * tests/Time_Value_Test.cpp: replaced remaining #ifdef
13357 ACE_HAS_STHREADS with #ifdef sun.
13358
13359 Sat Jan 2 23:48:44 1999 James CE Johnson <[email protected]>
13360
13361 * docs/ACE-tutorials.html
13362 * docs/tutorials/guide-tutorials.html
13363 * docs/tutorials/new-tutorials.html
13364 * docs/tutorials/online-tutorials.html
13365 Converted some of the absolute URLs to relative. I only have the
13366 docs/tutorials tree here at home so I couldn't do any more than
13367 these.
13368
13369 * docs/tutorials/021/*
13370 New tutorial on ACE_Malloc<>. I haven't begun the documentation
13371 yet but wanted to get the code commited so it doesn't get lost.
13372
13373 Sat Jan 02 08:34:27 1999 David L. Levine <[email protected]>
13374
13375 * examples/ASX/Event_Server/Event_Server/event_server.cpp
13376 (handle_input),
13377 examples/Reactor/Misc/test_early_timeouts.cpp (main):
13378 added ACE_UNUSED_ARG (n), to avoid compile warning with ACE_NDEBUG.
13379
13380 * performance-tests/Misc/test_naming.cpp (find): moved function
13381 call w/side effect out of ACE_ASSERT. Thanks to DU 4.0 cxx
13382 for noticiing it, with ACE_NDEBUG.
13383
13384 Fri Jan 01 18:57:22 1999 David L. Levine <[email protected]>
13385
13386 * ace/Containers_T.i (ACE_Array,ACE_Array::operator=):
13387 added missing ACE_INLINE's.
13388
13389 * ace/OS.{h,cpp} (ACE_TSS_Info::operator{==,!=}): added
13390 constness. It's necessary with the ACE_Array changes,
13391 with ACE_HAS_TSS_EMULATION.
13392
13393 Fri Jan 1 12:22:14 1999 Carlos O'Ryan <[email protected]>
13394
13395 * ace/Containers_T.h:
13396 * ace/Containers_T.i:
13397 * ace/Containers_T.cpp:
13398 * bin/Array_Helper:
13399 * bin/Array.pl:
13400 Moved most of the implementation of ACE_Array into
13401 ACE_Array_Base this class does not require == or != operators
13402 defined for the template parameter.
13403 I also added methods to access and manipulate the capacity of
13404 the array (max_size) as opposed to always changing its size (the
13405 portion actually used).
13406
13407 * ace/Object_Manager.cpp:
13408 * ace/Template_Instantiations.cpp:
13409 * ace/OS.cpp:
13410 * apps/JAWS/clients/Caching/URL_Properties.cpp:
13411 Fixed ACE_Array instantiations.