Debian Codegraph @

ChangeLogs/ChangeLog-1999b

raw
1 Fri Dec 31 08:07:18 1999 David L. Levine <[email protected]>
2
3 * all Makefiles: updated dependencies.
4
5 Thu Dec 30 11:17:27 1999 David L. Levine <[email protected]>
6
7 * etc/ACE-development-process.html: fixed some typos.
8
9 Wed Dec 29 15:42:21 1999 David L. Levine <[email protected]>
10
11 * ace/OS.h: added null definition of ACE_ENDLESS_LOOP,
12 if not already #defined.
13
14 * ace/config-cxx-common.h: added definition of ACE_ENDLESS_LOOP
15 to avoid compiler warning about unreachable statement following
16 the loop.
17
18 * examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp (main):
19 inserted ACE_ENDLESS_LOOP.
20
21 Wed Dec 29 13:21:48 1999 David L. Levine <[email protected]>
22
23 * include/makeinclude/platform_linux_cxx.GNU: added
24 MATHLIB and test -f cxx_repository/*.o.
25
26 Wed Dec 29 09:11:46 1999 David L. Levine <[email protected]>
27
28 * ace/config-cxx-common.h: enable ACE_USES_OLD_IOSTREAMS
29 without __USE_STD_IOSTREAM. Removed ACE_HAS_STRING_CLASS
30 on Linux, because IOStream_Test won't compile with it.
31
32 * include/makeinclude/platform_linux_cxx.GNU: removed
33 -D__USE_STD_IOSTREAM test, because IOStream_Test failed
34 with it.
35
36 * include/makeinclude/platform_linux_cxx.GNU: Removed
37 -use_ld_input because it has no effect on Linux. Thanks
38 to Ken Block <[email protected]> for pointing
39 that out.
40
41 Tue Dec 28 18:32:02 1999 Vishal Kachroo <[email protected]>
42
43 * ace/QoS_Session_Impl.cpp: Added a comment for get qos().
44
45 * examples/QOS/Receiver_QOS_Event_Handler.cpp:
46 * examples/QOS/Receiver_QOS_Event_Handler.h:
47 * examples/QOS/server.cpp:
48
49 Changed the server of the GQoS example to use the newly added
50 QoS classes of ACE. The program structure has changed to reflect
51 the abstractness of the ACE QoS API. The final goal is to remove
52 all the GQoSisms from the applications, even if this means
53 constraining it by the granularity provided by RAPI.
54
55 Tue Dec 28 15:50:46 1999 David L. Levine <[email protected]>
56
57 * tests/test_config.h (set_output): removed the flags
58 local variable, with its conditionally compiled type
59 determination. The absorbed code is much cleaner.
60
61 Tue Dec 28 15:37:11 1999 Chris Gill <[email protected]>
62
63 * ace/Log_Msg.cpp
64 ace/Malloc.cpp
65 ace/OS.{cpp, h, i}
66 ace/Process_Manager.cpp
67 ace/SOCK_Dgram_Mcast.cpp
68 ace/Service_Config.{cpp, h}
69 ace/Task.cpp
70 ace/Thread.i
71 ace/Thread_Manager.{cpp, h}
72
73 ace/config-psos-diab-ppc.h: merged in changes for pSOS (Diab PPC)
74 to support additional pHILE+ file system capabilities, and to deal
75 with the limitations on sharing file and socket handles across pSOS
76 tasks. Thanks to Sarmeesha Reddy and Steve Tine of Motorola for
77 contributing these changes to ACE.
78
79 Tue Dec 28 15:32:55 1999 David L. Levine <[email protected]>
80
81 * tests/Makefile: build libDLL_Test.so before building
82 any executables, so that it doesn't see the template
83 instantiations from all of the tests (after a make
84 realclean, anyways).
85
86 Tue Dec 28 08:55:23 1999 David L. Levine <[email protected]>
87
88 * include/makeinclude/platform_linux_cxx.GNU:
89 added -D__USE_STD_IOSTREAM.
90
91 * ace/config-cxx-common.h,ace/config-linux-common.h:
92 added support for __USE_STD_IOSTREAM.
93
94 Tue Dec 28 02:03:11 1999 Nanbor Wang <[email protected]>
95
96 * ace/Container_T.i (remove): Changed to call the <remove> method
97 using the <list_> in ACE_DLList[_Reverse]_Iterator, otherwise,
98 the <remove> in the ACE_Double_Linked_List got called which
99 incurred memory leaks. Thanks to Lorin Hochstein
100 <[email protected]> for reporting the bug.
101
102 Mon Dec 27 21:29:25 1999 David L. Levine <[email protected]>
103
104 * tests/Log_Msg_Test.cpp (test_ostream): removed local
105 variable flags, because cxx X6.3/Linux doesn't like
106 it as an int.
107
108 Mon Dec 27 19:17:46 1999 Vishal Kachroo <[email protected]>
109
110 * ace/SOCK.cpp: Added #pragma template instantiations for g++.
111
112 Mon Dec 27 16:24:09 1999 David L. Levine <[email protected]>
113
114 * ace/IOStream.h (setb): commented out declaration of
115 unused arg a.
116
117 Mon Dec 27 15:51:39 1999 David L. Levine <[email protected]>
118
119 * tests/test_config.h (set_output): with __USE_STD_OSTREAM
120 (with Compaq cxx X6.3 on Linux), declare variable flags
121 as std::ios_base::openmode instead of int. Otherwise,
122 it complained about a type mismatch. Other compilers
123 may need this eventually, as well. egcs didn't like it,
124 so let's wait to see how best to generalize it.
125
126 Mon Dec 27 13:03:50 1999 Vishal Kachroo <[email protected]>
127
128 * ace/QoS_Session_Impl.cpp: fixed the "pragma once is obsolete"
129 warning thrown by Sung++.
130
131 Mon Dec 27 12:27:33 1999 Nanbor Wang <[email protected]>
132
133 * tests/run_tests.bat: Changed to allow _Borland 4_ users to set
134 the PATH environment variable to include the path to the
135 appropriate ACE dll if necessary, and it sets the PATH
136 environment variable to the correct directory depending on the
137 "build options". Thanks to Charles Frasch
138 <[email protected]> for contributing this fix.
139
140 Mon Dec 27 11:29:20 1999 David L. Levine <[email protected]>
141
142 * include/makeinclude/platform_linux_cxx.GNU: removed
143 -I/usr/include/g++. (It's not needed with\end{verbatim}
144 ACE_HAS_CPLUSPLUS_HEADERS.) Thanks to Judy Ward
145 <[email protected]> for pointing out that cxx should
146 not be using the g++ headers.
147
148 * ace/config-cxx-common.h: on Linux, #define
149 ACE_HAS_CPLUSPLUS_HEADERS instead of ACE_LACKS_ACE_IOSTREAM.
150
151 Mon Dec 27 09:28:40 1999 Balachandran Natarajan <[email protected]>
152
153 * QoS_Session_Impl.h: Fixed a warning in g++.
154
155 Sun Dec 26 23:45:44 1999 Vishal Kachroo <[email protected]>
156
157 * QoS_Session.h: Provided a definition for the virtual destructor
158 of ACE_QoS_Session.
159
160 * QoS_Session_Impl.{cpp,h}: Replaced the
161 ACE_LACKS_INLINE_FUNCTIONS macro with __ACE_INLINE__.
162
163 * ace/ace_dll.dsp: Added the new QoS files to the NT DLL project.
164
165 Sun Dec 26 21:50:46 1999 Vishal Kachroo <[email protected]>
166
167 The following existing files were changed for the ACE QoS API.
168
169 * SOCK.h:
170 * SOCK.cpp:
171 Added a QoS session set to the ACE_SOCK. Also methods to join
172 a new QoS session.
173
174 * SOCK_Dgram_Mcast.h:
175 * SOCK_Dgram_Mcast.cpp:
176 The QoS subscribe method was changed to accommodate QoS.
177
178 The following new files were added.
179
180 * QoS_Session.h: Has the abstract base class for concrete QoS
181 implementations.
182
183 * QoS_Session_Factory.{h,cpp}: Concrete Factory for QoS
184 implementations. Currently two implementations are
185 supported, RAPI and GQoS.
186
187 * QoS_Session_Impl.{h,cpp,i}: Has the QoS implementation classes.
188 RAPI and GQoS are supported.
189
190 * ace/Makefile: Added the new QoS classes.
191
192 * include/makeinclude/wrapper_macros.GNU (): Added the
193 ACE_HAS_RAPI flag. For ACE to have RAPI support it should be
194 built with "make rapi=1". The platform_macros.GNU should have
195
196 PLATFORM_RAPI_CPPFLAGS=
197 PLATFORM_RAPI_LIBS=-lrsvp
198 PLATFORM_RAPI_LDFLAGS=
199
200 Sun Dec 26 16:43:16 1999 Yamuna Krishnamurthy <[email protected]>
201
202 * ace/OS.i:
203 Replaced malloc with ACE_NEW_RETURN
204
205 Fri Dec 24 16:33:48 1999 Ossama Othman <[email protected]>
206
207 * acconfig.h:
208
209 Added ACE_HAS_RECURSIVE_MUTEXES to list of macros.
210
211 * configure.in:
212
213 Fixed ACE_LACKS_SETSCHED test. It previously didn't check that
214 sched_setscheduler() existed. Both sched_setscheduler() and
215 either pthread_attr_setschedpolicy() or pthread_attr_setsched()
216 must be defined. This was an AIX related fix.
217
218 Initialized variables in all compile-time tests. This fixes
219 compile-time test warnings on AIX.
220
221 Fri Dec 24 13:06:59 1999 Ossama Othman <[email protected]>
222
223 The following fixes were motivated by problems discovered in a
224 configure script log file (config.log) that was generated on AIX,
225 and sent in by Mike Winter <[email protected]>.
226
227 * THANKS:
228
229 Added my Mike Winter to the THANKS list.
230
231 * acconfig.h:
232
233 Removed an extraneous comment.
234
235 * configure.in:
236
237 Added tests for ACE_HAS_BROKEN_XTI_MACROS and
238 ACE_HAS_BROKEN_T_ERROR.
239
240 Updated TLI/XTI preprocessor directives in TLI/XTI related
241 tests.
242
243 Fixed pthread_rwlock_t and pthread_rwlockattr_t structure
244 tests. Previously the tests were missing the header files to
245 search in.
246
247 AIX defines _THREAD_SAFE in <pthread.h>. Check if it is defined
248 after including <pthread.h>.
249
250 * ltcf-cxx.sh:
251
252 Added Digital/Compaq C++ libtool support.
253
254 Minor Sun C++ updates.
255
256 * ace/OS.h:
257
258 AIX defines TCP_NODELAY and TCP_MAXSEG in tiuser.h so undefine
259 them if ACE_HAS_BROKEN_XTI_MACROS is defined before including
260 tiuser.h.
261
262 Simplified TLI/XTI related macros.
263
264 Fri Dec 24 08:04:58 1999 Douglas C. Schmidt <[email protected]>
265
266 * ace:
267 tests: Moved ace/Auto_IncDec_T.cpp to
268 tests/Auto_IncDec_Test.cpp, which is where it belongs. Thanks
269 to David for reporting this.
270
271 Thu Dec 23 13:57:04 1999 David L. Levine <[email protected]>
272
273 * include/makeinclude/rules.local.GNU: uncommented the
274 rules for building .o files from .C and .cc files.
275 They've been commented out since this file was put
276 under CVS control, so it's not obvious why they can't
277 be used. Thanks to [email protected] for suggesting
278 this.
279
280 Thu Dec 23 12:16:38 1999 Christopher Kohlhoff <[email protected]>
281
282 * ace: Added missing files Capabilities.cpp and Configuration.cpp
283 to $ACE_ROOT/ace/Makefile.bor.
284
285 * ACE/tests: Added new tests Auto_IncDec_Test and
286 Capabilities_test to Makefile.bor.
287
288 * ACE/tests: Fixed syntax error in a Borland C++Builder specific
289 section of Auto_IncDec_Test.cpp.
290
291 * ACE/tests: Fixed Malloc_Test so that it does not fail with
292 Borland C++Builder.
293
294 * ACE/tests/ Changed run_tests.bat so that it does not invoke
295 ACE_Init_Test when run with the "bor" command line
296 argument. This test uses MFC and need not be built or run.
297
298 Thu Dec 23 11:46:38 1999 Douglas C. Schmidt <[email protected]>
299
300 * ace/OS.h: Moved
301
302 #if defined (ACE_HAS_SYS_FILIO_H)
303 # include /**/ <sys/filio.h>
304 #endif /* ACE_HAS_SYS_FILIO_H */
305
306 from OS.i to OS.h so that the FIONREAD macro will be defined for
307 the ACE_SOCK_Dgram::recv() method even if inline = 0. Thanks to
308 Alain Sauron <[email protected]> for reporting this.
309
310 Wed Dec 22 11:29:43 1999 Nanbor Wang <[email protected]>
311
312 * bin/auto_compile_win32.pl: Renamed ImplRepo.dsw to
313 ImplRepo_Service.dsw. Thanks to Derek Dominish
314 <[email protected]> for reporting this.
315
316 Wed Dec 22 08:44:56 1999 Douglas C. Schmidt <[email protected]>
317
318 * tests/Log_Msg_Test.cpp: Conditionally compiled the iostream
319 print statements so that the test builds correctly if
320 ACE_LACKS_IOSTREAM_TOTALLY is defined. Thanks to David Levine
321 for reporting this.
322
323 Wed Dec 22 08:22:24 1999 David L. Levine <[email protected]>
324
325 * tests/CDR_File_Test.cpp: disabled with
326 ACE_LACKS_IOSTREAM_TOTALLY.
327
328 Tue Dec 21 21:27:48 1999 David L. Levine <[email protected]>
329
330 * ace/config-cxx-common.h: enable ACE_LACKS_ACE_IOSTREAM
331 on Linux. cxx 6.3 generates unresolved streambuf symbols,
332 otherwise.
333
334 * include/makeinclude/platform_linux_cxx.GNU: added.
335
336 * include/makeinclude/platform_osf1_4.0.GNU: changed comment
337 now that cxx code is in ace/config-cxx-common.h.
338
339 Tue Dec 21 08:02:43 1999 Douglas C. Schmidt <[email protected]>
340
341 * ace/Log_Msg.h (ACE_Log_Msg): Clarified that the
342 ACE_Log_Msg_Callbacks are not inherited when a new thread is
343 spawned. Thanks to Airat A. Sadreev <[email protected]>
344 for reporting this.
345
346 Tue Dec 21 11:31:18 1999 bala <[email protected]>
347
348 * ACE version 5.0.10 released.
349
350 Tue Dec 21 01:04:55 1999 Ossama Othman <[email protected]>
351
352 * ACE-configuration.txt:
353
354 Updated information about using ACE+autoconf.
355
356 * configure.in:
357
358 Moved AC_{EXE,OBJ}EXT tests before C++ linker flags since these
359 tests require C linker flags.
360
361 * Makefile (release, releaseall):
362
363 ACE-INSTALL should be a dependency of these targets in order for
364 it to be generated. This fixes a "no such file or directory"
365 error that occurs when making an ACE beta/release. Note that
366 this fix is unrelated to the ACE+autoconf bootstrapping support
367 that was recently added.
368
369 * bin/bootstrap:
370
371 Output message that lets the user know that bootstrapping is
372 done.
373
374 Mon Dec 20 23:55:18 1999 Ossama Othman <[email protected]>
375
376 * Makefile (release, releaseall):
377
378 Removed ACE+autoconf bootstrapping commands. Bootstrapping must
379 be done later in the process (i.e. in bin/make_release).
380
381 * bin/make_release:
382
383 Fixed MD5 checksum generation.
384
385 Added temporary hacks to bootstrap ACE+autoconf support into the
386 release.
387
388 Mon Dec 20 22:15:45 1999 Ossama Othman <[email protected]>
389
390 * Makefile:
391
392 Added ACE-configuration.txt, ltcf-c.sh, ltcf-cxx.sh and
393 Makefile.in to the list of CONTROLLED_FILES.
394
395 Added ACE+autoconf bootstrapping commands the release and
396 releaseall targets. This allows a bootstrapped ACE+autoconf
397 setup to be shipped with ACE, thus allowing the configure script
398 to work "out of the box."
399
400 * bin/bootstrap:
401
402 Added bootstrapping options that enable or disable certain types
403 of workspaces. By default, automatic dependency tracking is
404 disabled by default.
405
406 * bin/make_release:
407
408 If path to additional GNU tools is broken, default to existing
409 PATH and hope for the best.
410
411 Fixed MD5 checksum generation.
412
413 Mon Dec 20 21:14:41 1999 Ossama Othman <[email protected]>
414
415 * configure.in:
416
417 Disabled maintainer mode check that prevented users from running
418 the configure script.
419
420 Added experimental libtool C++ support.
421
422 Replaced CVS directory check with top-level source directory
423 check to prevent stock ACE makefiles from being overwritten
424 during configuration.
425
426 * ltcf-c.sh:
427 * ltcf-cxx.sh:
428
429 Adding these files to the CVS repository. They will soon be
430 merged into the upstream libtool package. Local copies will no
431 longer be necessary.
432
433 * m4/acinclude.m4:
434
435 Alot of M4 quoting fixes/improvements.
436
437 Reduced size ACE_CONVERT_WARNINGS_TO_ERRORS Autoconf macro. It
438 still needs to be refined a bit (e.g. AC_REQUIREing compiler
439 flag setups).
440
441 (ACE_CHECK_SETRLIMIT_ENUM, ACE_CHECK_GETRUSAGE_ENUM):
442
443 Added regex for one or more spaces before function name to
444 prevent functions such as "__getrusage" from matching the
445 regex. This fixes a problem on platforms that have both
446 "getrusage," and "__getrusage," for example.
447
448 (ACE_CHECK_TOP_SRCDIR):
449
450 Added this autoconf macro. It prevents ACE from being
451 configured in the top-level source directory. Configuring ACE
452 in the top-level source directory would cause the stock ACE
453 makefiles to be overwritten. Since autoconf support in ACE is
454 still in the testing stages, we need to make sure that users can
455 fall back on the stock ACE build procedure. This "feature" can
456 be overridden by using the "--enable-maintainer-mode" configure
457 script option.
458
459 * m4/compiler.m4:
460
461 Set variable "WERROR" that contains the compiler flags to
462 convert warnings to errors. Eventually, this support should be
463 moved to its own macro that is AC_REQUIREd by
464 ACE_CONVERT_WARNINGS_TO_ERRORS.
465
466 * m4/features.m4 (ACE_CHECK_ASYNCH_IO):
467
468 Minor M4 quoting fixes/improvements.
469
470 Sun Dec 19 09:34:49 1999 David L. Levine <[email protected]>
471
472 * bin/g++dep: set TAO_ROOT to $ACE_ROOT/TAO if it was
473 unset. Thanks to Darrell for reporting that TAO_ROOT
474 wasn't being substituted if it wasn't set.
475
476 Sat Dec 18 01:16:20 1999 Irfan Pyarali <[email protected]>
477
478 * ace/ACE.cpp (recv_i and send_i): The selection of the next
479 message block to send/recv was incorrect. The correct way is to
480 chase the continuation chain and then go to the next
481 continuation chain.
482
483 Fri Dec 17 22:25:56 1999 David L. Levine <[email protected]>
484
485 * ace/config-cxx-common.h: added, to factor out common
486 configuration for Compaq cxx.
487
488 * ace/config-osf1-4.0.h,config-linux-common.h: updated to
489 use config-cxx-common.h.
490
491 Fri Dec 17 21:32:48 1999 David L. Levine <[email protected]>
492
493 * ace/config-linux-common.h: added support for Compaq
494 (Digital) cxx. Currently, that just means allowing
495 compilation to succeed.
496
497 Fri Dec 17 21:29:19 1999 David L. Levine <[email protected]>
498
499 * ace/OS.h: use __DECCXX instead of DEC_CXX to detect that
500 the compiler is Compaq (Digital) cxx. DEC_CXX is
501 #defined in ACE config files for cxx, but __DECCXX is
502 #defined by the compiler. Only the latter should be used.
503
504 Fri Dec 17 21:20:48 1999 David L. Levine <[email protected]>
505
506 * ace/TTY_IO.cpp (control): added static cast of TCSETS to
507 int to avoid cxx 6.3 warning about conversion of unsigned
508 int to int. Also added the cast to TCGETS.
509
510 Fri Dec 17 14:40:02 1999 Nanbor Wang <[email protected]>
511
512 * ace/Local_Tokens.h (ACE_TSS_TPQ_Entry): Made the destructor
513 virtual to avoid warnings from egcs.
514
515 Fri Dec 17 13:27:24 1999 Steve Huston <[email protected]>
516
517 * ace/config-pharlap.h: Added ACE_LACKS_TCP_NODELAY. Thanks to David
518 Hauck <[email protected]> for this. Fixes bugzilla #270.
519
520 Fri Dec 17 11:38:09 1999 Douglas C. Schmidt <[email protected]>
521
522 * We just reached our 800th external contributor: Andrey
523 Nechypurenko <[email protected]>. Andrey gets a free copy of
524 ACE+TAO as a prize!
525
526 * ace/config-linux-common.h: Wrapped the #define
527 ACE_DEFAULT_SELECT_REACTOR_SIZE with a #if !defined() so that
528 users can override this. Thanks to Charlie Duke
529 <[email protected]> for suggesting this.
530
531 Thu Dec 16 12:26:36 1999 Nanbor Wang <[email protected]>
532
533 * bin/auto_compile_win32.pl: Took out Concurrency Service from the
534 build list.
535
536 Wed Dec 15 21:24:05 1999 Irfan Pyarali <[email protected]>
537
538 * ace/config-win32-common.h (ACE_DEFAULT_MAX_SOCKET_BUFSIZ):
539 Windows doesn't like 65536 ;-) If 65536 is specified, it is
540 listenly ignored by the OS, i.e., setsockopt does not fail, and
541 you get stuck with the default size of 8k.
542
543 Tue Dec 14 08:57:03 1999 Vishal Kachroo <[email protected]>
544
545 * ace/OS.h: Added a #ifdef for WINSOCK2_GQOS for removing the
546 errors on NT due to the previous change in ACE_Flow_Spec class.
547
548 Tue Dec 14 07:49:58 1999 Vishal Kachroo <[email protected]>
549
550 * ace/OS.i:
551 * ace/OS.h: Extended the ACE_Flow_Spec and ACE_QoS classes to
552 accommodate the use of such classes for non-Win32
553 platforms. These changes are motivated by the new ACE QoS
554 classes that will soon be included with ACE.
555
556 Mon Dec 13 16:23:22 1999 Nanbor Wang <[email protected]>
557
558 * ace/Malloc.{h,cpp}: Made print_alignment_info available for all
559 configuration.
560
561 Mon Dec 13 02:49:04 1999 Nanbor Wang <[email protected]>
562
563 * ace/Memory_Pool.cpp (remap): Commented out the printout of remap
564 message in MMAP_Memory_Pool as this function is called from the
565 signal handler. (It didn't really cause any problem but we
566 shouldn't use ACE_DEBUG from signal handlers anyway.)
567
568 Mon Dec 13 01:12:00 1999 Irfan Pyarali <[email protected]>
569
570 * ace/WFMO_Reactor.cpp (update_state): make_changes() calls into
571 user code which can request other changes. So keep looping
572 until all requested changes are completed. Thanks to Edan Ayal
573 <[email protected]> for reporting this problem!
574
575 Sun Dec 12 20:10:23 1999 Nanbor Wang <[email protected]>
576
577 * ace/config-hpux-10.x.h: Tweaked ACE_MALLOC_PADDING,
578 ACE_MALLOC_ALIGN, and ACE_CONTROL_BLOCK_ALIGN_LONGS manually for
579 HPUX.
580
581 * tests/Malloc_Test.cpp: Added an ACE_TEST_REMAP_ON_FAULT macro
582 which is not defined on linux only. Linux seems to have problem
583 calling mmap from within the signal handler.
584
585 Sat Dec 11 15:00:43 1999 Nanbor Wang <[email protected]>
586
587 * tests/Malloc_Test.cpp (main): Alignment information should only
588 be printed when ACE_NDEBUG is not defined.
589
590 Sat Dec 11 14:27:27 1999 Ossama Othman <[email protected]>
591
592 * ace/Makefile.am (pkginclude_HEADERS):
593
594 Split header file list into `.h' files (HEADER_FILES) and `.i'
595 (INLINE_FILES). This gets around a limitation on Solaris.
596
597 Sat Dec 11 10:40:38 1999 Nanbor Wang <[email protected]>
598
599 * ace/config-lynxos.h: Added ACE_HAS_TYPENAME_KEYWORD.
600
601 Fri Dec 11 11:13:54 1999 James Hu <[email protected]>
602
603 * ace/Dirent.i:
604 Constructor with a path passed in was not initializing dirp_.
605
606 Fri Dec 10 17:29:54 1999 Nanbor Wang <[email protected]>
607
608 * ace/Malloc.h:
609 * ace/Malloc.cpp: Added <print_alignment_info> methods for both
610 control block. They are only available for debug version.
611
612 * tests/Malloc_Test.cpp: Removed temporary debug print out and
613 changed to use <print_alignment_info>.
614
615 This test no longer forces the mmap to remap. Linux doesn't
616 handle the case correctly.
617
618 Fri Dec 10 15:37:09 1999 Douglas C. Schmidt <[email protected]>
619
620 * ACE-INSTALL.html: Clarified how the clone procedure should
621 work. Thank to Jerry D. De Master <[email protected]>
622 for suggesting this.
623
624 * ace/OS.h: Changed the value of O_NDELAY from 0 to 1 on
625 Windows NT. Thanks to Craig Perras <[email protected]> for
626 reporting this.
627
628 Fri Dec 10 15:55:53 1999 Ossama Othman <[email protected]>
629
630 * ace/Configuration.cpp:
631
632 Added a comment stating that ACE_SYNCH_MUTEX should not be used
633 in the template instantiations because the resulting template
634 instantiation for the single-threaded case already exists in
635 ACE. Thanks to Doug for letting me know about this.
636
637 * m4/compiler.m4 (CXXFLAGS):
638
639 Added missing flags that fix Sun C++ 5.0 weirdness on Solaris.
640
641 Fri Dec 10 14:35:26 1999 Ossama Othman <[email protected]>
642
643 * acconfig.h (_RWSTD_NO_EXCEPTIONS):
644
645 Sun CC 5.0 without exception support needs this macro to be
646 defined to prevent warnings from occurring due to its broken
647 <memory> header.
648
649 * configure.in:
650
651 Added a few "checkpoints" where the cache is saved to aid in
652 debugging.
653
654 (ACE_HAS_THREAD_SPECIFIC_STORAGE):
655
656 Added check for pthread_keycreate(). Old POSIX threads
657 implementations used pthread_keycreate() instead of
658 pthread_key_create().
659
660 (ACE_HAS_SIG_C_FUNC):
661 (ACE_HAS_THR_C_FUNC):
662 (ACE_HAS_THR_C_DEST):
663
664 Added tests that check if signal handlers, thread start
665 routines, and thread destructors should be declared `extern
666 "C"'. These changes allow clean builds on Solaris 7 with Sun CC
667 5.0.
668
669 (ACE_HAS_STDARG_THR_DEST):
670
671 Check if thread destructor argument to pthread_key_create (or
672 pthread_keycreate) should be of type `void(*)(...)'.
673
674 * m4/compiler.m4 (_RWSTD_NO_EXCEPTIONS):
675
676 Define _RWSTD_NO_EXCEPTIONS when compiling on Solaris with Sun
677 CC 5.0 without exceptions.
678
679 Fri Dec 10 11:43:50 1999 Douglas C. Schmidt <[email protected]>
680
681 * tests/run_tests.lst: Disabled the MT_Reactor_Timer_Test
682 until Darrell can fix the timer queue.
683
684 Fri Dec 10 07:24:12 1999 David L. Levine <[email protected]>
685
686 * ACE-INSTALL.html: on VxWorks, automatic
687 construction/destruction of static objects should be enabled.
688 Thanks to Erik Johannes <[email protected]> for reminding
689 me of this.
690
691 Thu Dec 9 17:18:57 1999 Douglas C. Schmidt <[email protected]>
692
693 * ace/Acceptor.cpp (handle_input): Only printout a diagnostic
694 message if ACE::debug () > 0. Thanks to Chris Uzdavinis
695 <[email protected]> for reporting this.
696
697 Thu Dec 9 19:55:58 1999 Ossama Othman <[email protected]>
698
699 * acconfig.h:
700 * configure.in:
701
702 Added checks/support for the ACE_HAS_PTHREADS_UNIX98_EXT macro.
703
704 * ace/OS.h (ACE_rwlock_t):
705 * ace/OS.i (rw_tryrdlock, rw_trywrlock, rw_rdlock, rw_wrlock,
706 rw_unlock):
707
708 ACE_LACKS_RWLOCK_T should not imply !ACE_HAS_PTHREADS_UNIX98_EXT
709 because the pthread_rwlock_t type exist despite the fact that
710 rwlock_t doesn't.
711
712 Thu Dec 09 15:53:20 1999 Nanbor Wang <[email protected]>
713
714 * ace/Malloc.cpp:
715 * ace/Malloc.h:
716 * ace/Malloc.i: Separated the control block implementation into
717 "position independent control block" and "lean and mean control
718 block." Each control block implementation has its own
719 definitions of Malloc_Header and Name_Node as inner classes.
720 ACE_Control_Block implements the "old, lean and mean" control
721 structure for ACE_Malloc_T and ACE_PI_Control_Block implements
722 the "new, position independent" control structure for
723 ACE_Malloc_T.
724
725 Added several macros to finer control the padding and alignment
726 because calculating the padding requires using some operations
727 that can not be evaluated during the compile time and the
728 original padding length calculation don't always work. Usually,
729 you don't have to worry about the padding. But if you are
730 interested in tweaking these parameters, here are some hints.
731
732 - (ACE_MALLOC_PADDING): defines the minimum size of a Malloc_Header.
733 The actual size of Malloc_Header should always be the a multiple
734 of ACE_MALLOC_ALIGN and may be larger then ACE_MALLOC_PADDING.
735
736 - (ACE_MALLOC_PADDING_SIZE): define the actual size of the array
737 of long used to pad the ACE_Control_Block::ACE_Malloc_Header.
738 If it is not defined by the user, ACE will try to calculate it
739 for you. If it is defined as 0, there'll be no padding at all.
740 This macro is compiler/platform dependent.
741
742 - (ACE_CONTROL_BLOCK_ALIGN_LONGS): define the actual size of the
743 array of long used to pad the ACE_Control_Block so that the
744 first Malloc_Header always starts from the alignment boundary.
745 If it is not defined by the user, ACE will try to calculate it
746 for you. If it is defined as 0, there'll be no padding at all.
747 This macro is compiler/platform dependent.
748
749 - (ACE_PI_MALLOC_PADDING_SIZE): similar to ACE_MALLOC_PADDING_SIZE
750 but applied to ACE_PI_Control_Block::ACE_Malloc_Header.
751
752 - (ACE_PI_CONTROL_BLOCK_ALIGN_LONGS): similar to
753 ACE_CONTROL_BLOCK_ALIGN_LONGS but applied to
754 ACE_PI_Control_Block.
755
756 * ace/Malloc_T.cpp:
757 * ace/Malloc_T.h:
758 * ace/Malloc_T.i: Parameterized the type of control block used in
759 ACE_Malloc, which is now renamed to ACE_Malloc_T, as a template
760 parameter so that we can control tradeoff between efficiency and
761 flexibility.
762
763 Another ACE_Malloc template class was added which simply use
764 ACE_Malloc_T with ACE_Control_Block as its internal control
765 structure so that we don't have to change the existing programs
766 using ACE_Malloc. However, for platforms/compilers using
767 explicit template instantiation, you still need to add the
768 instantiations for the based template class. For example, if
769 you instantiated "ACE_Malloc<A,B>", you'll need to add
770 "ACE_Malloc_T<A,B,ACE_Control_Block>". Likewise for
771 ACE_Malloc_LIFO_Iterator and ACE_Malloc_FIFO_Iterator.
772
773 * ace/Based_Pointer_T.h: Renamed arguments "overload" to "o". KCC
774 complained about using "overload" as variable names
775
776 * ace/Configuration.cpp:
777 * ace/Naming_Context.cpp:
778 * ace/Service_Config.cpp:
779 * ace/System_Time.cpp:
780 * ace/Template_Instantiations.cpp:
781 * docs/tutorials/021/client.cpp:
782 * docs/tutorials/021/server.cpp:
783 * examples/Reactor/Misc/demuxing.dsp:
784 * examples/Shared_Malloc/Malloc.cpp:
785 * examples/Shared_Malloc/test_persistence.cpp:
786 * examples/System_V_IPC/SV_Semaphores/Semaphores.cpp:
787 * examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp:
788 * examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp:
789 * performance-tests/TCP/TCP.dsp:
790 * tests/Malloc_Test.cpp:
791 * tests/SV_Shared_Memory_Test.cpp: Added explicit template
792 instantiations for base malloc class in corresponding with the
793 above change.
794
795 Thu Dec 09 15:40:03 1999 David L. Levine <[email protected]>
796
797 * ace/OS.i (mmap): on LynxOS, fixed use of file_mapping
798 argument. It it was 0, set it equal to the address of
799 an int on the stack. Thanks to Chad Elliott
800 <[email protected]> for reporting a problem with
801 ACE_OS::mmap on LynxOS. And thanks to Chad for an
802 explanation of why Malloc_Test and TAO's Naming_Service -f
803 don't work: it's because they require that the mapped
804 object be changed. LynxOS 3.0.x and earlier don't support
805 that.
806
807 Thu Dec 09 07:30:12 1999 David L. Levine <[email protected]>
808
809 * Makefile (CONTROLLED_FILES): added ChangeLog-99a. Thanks
810 to Pierre Oberson <[email protected]> for reporting
811 that it was missing.
812
813 Wed Dec 8 13:36:59 1999 Ossama Othman <[email protected]>
814
815 * configure.in (ACE_SYS_RESTARTABLE_SYSCALLS):
816
817 Disabled ACE_SYS_RESTARTABLE_SYSCALLS test. On platforms where
818 it detects restartable system calls, it defines
819 ACE_HAS_SIGNAL_SAFE_OS_CALLS. This causes the ACE_OSCALL*
820 macros in OS.h to use "ACE_LOG_MSG->restart()" before
821 ace/Log_Msg.h is included, ending up in ACE_LOG_MSG being an
822 unknown macro. Currently, none of ACE's supported platforms
823 actually define ACE_HAS_SIGNAL_SAFE_OS_CALLS so disabling this
824 test okay for now.
825
826 * ace/OS.i (ioctl):
827
828 Commented out ACE_DEBUG call. ACE_OS should not depend on
829 ACE_Log_Msg in any way.
830
831 Wed Dec 8 10:15:20 1999 Douglas C. Schmidt <[email protected]>
832
833 * bin/clone.cpp: The definition of mk_symbolic_link() was
834 missing the third argument 'int level'. Thanks to Jerry De
835 Master <[email protected]> for reporting this.
836
837 * ace/Synch.h: Added comments to ACE_Thread_Mutex_Guard and
838 ACE_Null_Mutex_Guard explaining that they were obsolete and
839 should be replaced by ACE_Guard<ACE_Thread_Mutex> and
840 ACE_Guard<ACE_Null_Mutex>, respectively. Thanks to Pierre
841 Oberson for reporting this.
842
843 Tue Dec 7 22:53:01 1999 Douglas C. Schmidt <[email protected]>
844
845 * netsvcs/lib/Client_Logging_Handler.cpp (send): Clarified that
846 *someday* we'll improve the implementation to queue data when a
847 connection is lost and automagically reinitiate the connection.
848 Thanks to David X Callaway <[email protected]> for
849 motivating this.
850
851 Tue Dec 07 22:14:15 1999 David L. Levine <[email protected]>
852
853 * docs/ACE-guidelines.html: added a guideline about signal
854 handlers.
855
856 Tue Dec 7 21:39:42 1999 Douglas C. Schmidt <[email protected]>
857
858 * ace/OS.i: Fixed the definition of ACE_NETDBCALL_RETURN so that
859
860 memcpy (TARGET,ace_result_,SIZE);
861
862 is changed to
863
864 memcpy (TARGET,ace_result_,
865 SIZE < sizeof(TYPE) ? SIZE : sizeof(TYPE));
866
867 This fixes a bug with UnixWare. Thanks to Phil Mesnier
868 <[email protected]> for reporting this.
869
870 Tue Dec 07 21:20:37 1999 Nanbor Wang <[email protected]>
871
872 * ace/ace_dll.dsp:
873 * ace/ace_lib.dsp: Added ace.rc to project files. One can use
874 GetFileVersionInfo on Win32 to get the ACE library version info
875 now. Thanks to David Hauck <[email protected]> for
876 suggesting this.
877
878 Tue Dec 07 15:27:24 1999 David L. Levine <[email protected]>
879
880 * docs/ACE-guidelines.html: added guideline to use THR_BOUND
881 for time-critical threads. Thanks to Marina for reminding
882 me about this, and for running some experiments on Solaris
883 that demonstrate that it's necessary (and really works :-).
884
885 Tue Dec 07 13:25:53 1999 Nanbor Wang <[email protected]>
886
887 * ace/Based_Pointer_T.{h,cpp}: Added two constructors that take a
888 base pointer for base_offset_ calculation. They can be used
889 when we already know the base address of the pointer to avoid an
890 extra lookup from the Based_Pointer_Repository.
891
892 * ace/Malloc_T.i (init_malloc_header_ptr): Changed to initialize
893 the pointer using the address of control block. Notice that
894 the address of the control block should never change during the
895 lifetime of ACE_Malloc.
896
897 Thanks to Irfan for noticing the performance issue.
898
899 Mon Dec 06 21:16:53 1999 Irfan Pyarali <[email protected]>
900
901 * ace/SOCK_Dgram.cpp (send): Added missing timed send.
902 Thanks to Yuval Yosef <[email protected]> for motivating this.
903
904 * ace/SOCK_IO.h (ACE_SOCK_IO): Most methods now support an
905 optional timeout parameter.
906
907 * ace/SOCK_Stream.h (ACE_SOCK_Stream): All methods now support an
908 optional timeout parameter. Also fixed the <len> parameter type
909 in recv_urg and send_urg to be size_t instead of int.
910
911 * ace/ACE:
912
913 - All the I/O function were made consistent in ACE. This
914 included matching send and recv functions, all of which now
915 support timeouts.
916
917 - Many of the timed functions, e.g., ACE::readv() and
918 ACE::sendto(), were changed such that the <timeout == 0> case
919 was made common between the code that expected OS provided timed
920 functions and the other where the timed function was simulated
921 by ACE.
922
923 - Certain file I/O operation were made simple by removing the
924 extra <timeout> parameter. Timeouts are not supported in file
925 I/O. In some cases, e.g., the timed writev and readv functions,
926 the function was removed since it was not necessary as taking
927 the <timeout> parameter made it redundant with the function in
928 ACE_OS.
929
930 - The "_n" methods were given a performance boost when they are
931 used with timeouts. We only set the handle into non-blocking
932 mode only once rather than for every iteration in the loop.
933
934 - Added send/recv/send_n/recv/recv_n methods that take a message
935 block as the data container.
936
937 - Here is the description of the updated functions from the
938 documentation:
939 ________________________________________
940
941 The <timeout> parameter in the following methods indicates how
942 long to blocking trying to transfer data. If <timeout> == 0,
943 then the call behaves as a normal send/recv call, i.e., for
944 blocking sockets, the call will block until action is possible;
945 for non-blocking sockets, EWOULDBLOCK will be returned if no
946 action is immediately possible.
947
948 If <timeout> != 0, the call will wait until the relative time
949 specified in *<timeout> elapses.
950
951 Errors are reported by -1 and 0 return values. If the operation
952 times out, -1 is returned with <errno == ETIME>. If it succeeds
953 the number of bytes transferred is returned.
954
955 The "_n" I/O methods keep looping until all the data has been
956 transferred. These methods also work for sockets in
957 non-blocking mode i.e., they keep looping on EWOULDBLOCK.
958 <timeout> is used to make sure we keep making progress, i.e.,
959 the same timeout value is used for every I/O operation in the
960 loop and the timeout is not counted down. If the transfer times
961 out, the number of bytes transferred so far are returned.
962
963 Methods with <iovec> parameter are I/O vector variants of the
964 I/O operations.
965 ________________________________________
966
967 * ace/config-win32-common.h: Set IOV_MAX on Win32 to be 1024. It
968 seems like Win32 does not have a limit on the number of buffers
969 that can be transferred by the scatter/gather type of I/O
970 functions, e.g., WSASend and WSARecv. We are arbitrarily
971 setting this to be 1k for now. The typically use case is to
972 create an I/O vector array of size IOV_MAX on the stack and then
973 filled in. Note that we probably don't want too big a value for
974 IOV_MAX since it may mostly go to waste or the size of the
975 activation record may become excessively large.
976
977 * ace/OS:
978
979 The "faked" readv() in ACE for operating systems without it was
980 calling read_n(). This was changed to call read() since readv()
981 makes no guarantee that everything requested will be read. Same
982 changes applied for writev().
983
984 send_n() does not belong in the OS class. It belongs in the ACE
985 class. Therefore, it was moved.
986
987 read_n() is only called for file handles (and not for socket
988 handles). Therefore, there is no point in checking for
989 EWOULDBLOCK. Same change was made to write_n().
990
991 * ace/Handle_Set.h (ACE_Handle_Set): Added an explicit fdset()
992 function to get to the fd_set *. This eliminates the need for
993 the stupid cast operator.
994
995 Mon Dec 6 21:13:08 1999 Douglas C. Schmidt <[email protected]>
996
997 * ace/Configuration.cpp (set_string_value): When setting a value
998 in the registry, the specified length must include the NUL
999 terminating character. Thanks to Chris Hafey
1000 <[email protected]> for reporting this.
1001
1002 Mon Dec 6 11:06:43 1999 Ossama Othman <[email protected]>
1003
1004 * m4/acinclude.m4 (ACE_TRY_COMPILE):
1005
1006 Make choice of compiler flags to use dependent on the current
1007 autoconf test language. This fixes a problem with C++ compiler
1008 flags potentially passed as C flags to libtool.
1009
1010 (ACE_USE_TEMP_FILE):
1011
1012 Added checks for existing files that should be directories and
1013 vice versa.
1014
1015 If the file passed as argument is in a directory and the
1016 directory doesn't exist then create the directory. In order to
1017 be as general as possible a script fragment was implemented with
1018 the same functionality as "mkdir -p" because "mkdir -p" may not
1019 be portable.
1020
1021 * m4/threads.m4 (ACE_SEARCH_THREAD_FLAGS):
1022
1023 Make choice of compiler flags to use dependent on the current
1024 autoconf test language. This fixes a problem with C++ compiler
1025 flags potentially passed as C flags to libtool.
1026
1027 Mon Dec 06 08:25:22 1999 David L. Levine <[email protected]>
1028
1029 * include/makeinclude/platform_sunos5_sunc++.GNU: added more
1030 comments about support of 64-bit binaries with Sun CC 5.0.
1031 Thanks to Dani Flexer <[email protected]> for
1032 providing them.
1033
1034 Mon Dec 6 07:55:05 1999 Douglas C. Schmidt <[email protected]>
1035
1036 * ace/config-sunos5.7.h: Added several new #defines needed to
1037 port ACE to 64 bit Solaris. Thanks to Dani Flexer
1038 <[email protected]> for these.
1039
1040 * ace/ACE.cpp: Changed the implementation of count_interfaces()
1041 to handle the fact that size_t is a 64 bit type but the
1042 parameter to ioctl needs to be an int, which according to LP64
1043 is 32 bits. Thanks to Dani Flexer <[email protected]>
1044 for reporting this.
1045
1046 * netsvcs/lib/Client_Logging_Handler.cpp (handle_signal):
1047 If SIGPIPE occurs, ACE_Client_Logging_Handler::handle_signal()
1048 returns -1, thus removing svc handler from reactor. Since svc
1049 handler is implemented as a singleton here, all next incoming
1050 SPIPE connections operate on object that is already destroyed ->
1051 SIGSEGV/SIGBUS. Therefore, we now return 0 in handle_signal().
1052 Thanks to Alexander Dergatch <[email protected]> for reporting
1053 this.
1054
1055 * netsvcs/lib/Server_Logging_Handler_T.cpp (svc): The following
1056 loop
1057
1058 while ((result = this->handle_input ()) > 0)
1059 continue;
1060
1061 causes server thread to leave its execution loop, because
1062 handle_input() always returns 0 or -1. This should be replaced
1063 with
1064
1065 while ((result = this->handle_input ()) == 0)
1066
1067 Thanks to Alexander Dergatch <[email protected]> for reporting
1068 this.
1069
1070 Sun Dec 05 21:54:47 1999 David L. Levine <[email protected]>
1071
1072 * ace/Dump.cpp (ACE_ODB ctor): initialize current_size_
1073 data member, so that examples/misc/test_dump will pass
1074 on MSVC 6.0/NT 4.0, at least. Thanks to Soren Ilsoe
1075 <[email protected]> for reporting this.
1076
1077 Sun Dec 5 16:50:37 1999 Ossama Othman <[email protected]>
1078
1079 * ace/OS.h:
1080
1081 Some compilers were picky about the circular dependency fix.
1082 Moved inclusion of ace/Log_Msg.h after ace/OS.i yet again.
1083
1084 Sat Dec 04 21:14:37 1999 Nanbor Wang <[email protected]>
1085
1086 * tests/Malloc_Test.cpp (init_test): Need to call init_acquire to
1087 make sure the old mapfile does get removed.
1088
1089 Added more printout items in the normally disabled debug
1090 section.
1091
1092 Sat Dec 04 19:45:49 1999 Nanbor Wang <[email protected]>
1093
1094 * ace/Memory_Pool.cpp: Conditionally bind/unbind the
1095 Pagefile_Memory_Pool with the Based_Pointer_Repository depends
1096 on whether position independent pointers are used or not.
1097
1098 Sat Dec 4 16:59:08 1999 Ossama Othman <[email protected]>
1099
1100 Circular dependency fixes/updates:
1101
1102 * ace/OS.h:
1103
1104 Include "ace/Log_Msg.h" before "ace/OS.i" because the methods in
1105 ACE_OS depend on ACE_Log_Msg for output and error reporting.
1106
1107 * ace/Log_Record.h:
1108
1109 Include "ace/OS.h" instead of "ace/ACE.h." OS.h is needed to
1110 pull in the definition of ACE_Export. ACE.h was overkill. This
1111 change is at the core of the circular dependency fix.
1112
1113 * ace/Log_Record.cpp:
1114
1115 Include "ace/ACE.cpp" to pull in definition of ACE::log2().
1116
1117 The above changes made the following changes necessary. They also
1118 corrected an annoying circular dependency problem that was
1119 occurring when using an automatically generated ace/config.h. The
1120 below changes are actually legitimate fixes since the source files
1121 in question unnecessarily relied on other headers to pull in ACE
1122 class definitions.
1123
1124 * ace/DLL.cpp:
1125
1126 Include "ace/ACE.h" because ACE_DLL::open() uses ACE::ldfind().
1127
1128 * ace/Functor.h:
1129
1130 Include "ace/ACE.h" instead of "ace/OS.h" because
1131 "ace/Functor.i" needs the hash functions in the ACE class.
1132
1133 All of the above changes nicely reduced the number of source files
1134 that depend on ace/ACE.{h,i}!
1135
1136 * ace/Makefile:
1137 * apps/gperf/src/Makefile:
1138
1139 Updated dependencies.
1140
1141 Fri Dec 3 21:51:38 1999 Nanbor Wang <[email protected]>
1142
1143 * ace/Malloc_T.cpp (shared_malloc): Changed the for loop to
1144 while(1) so the compilers can identify the control will never
1145 fall off the end of the loop and apply ACE_NOTREACHED to the
1146 final return statement.
1147
1148 Fri Dec 03 12:14:31 1999 Nanbor Wang <[email protected]>
1149
1150 * ace/Malloc_T.i (init_malloc_header_ptr): Applied ACE_UNUSED_ARG
1151 when we are not using position independent pointers.
1152
1153 * ace/Malloc_T.cpp (shared_malloc): Split the structural exception
1154 try block into two to avoid warnings from the OSF compiler.
1155 Thanks to David for reporting this.
1156
1157 Thu Dec 2 22:42:53 1999 James Hu <[email protected]>
1158
1159 * ace/TP_Reactor.cpp:
1160 Instead of setting suspend_set_ and wait_set_ both all the time,
1161 try to determine whether or not the handler is suspended and
1162 choose one of the sets to do the bit_ops on.
1163
1164 Thu Dec 2 22:41:53 1999 Yamuna Krishnamurthy <[email protected]>
1165
1166 * ace/OS.i:
1167 Added the bug fix to the SIO_GET_QOS call in ACE::ioctl () for
1168 RC2 release. This involved removing explicit buffer allocation
1169 for the provider specific buffer and just allocating one
1170 contiguos buffer for the QOS structure.
1171
1172 Thu Dec 02 18:16:27 1999 James Hu <[email protected]>
1173
1174 * ace/Filecache.cpp: Make it possible to remove something from
1175 the Filecache.
1176
1177 Thu Dec 02 18:03:27 1999 Nanbor Wang <[email protected]>
1178
1179 * tests/Malloc_Test.cpp (parent): Before binding the name "bar",
1180 do a series of small malloc and a huge malloc to make sure the
1181 child process will segfault and the remapping is tested on the
1182 child process.
1183
1184 * ace/Memory_Pool.h:
1185 * ace/Memory_Pool.cpp: Added a no-op <remap> method to
1186 Local_Memory_Pool because we might call remap from ACE_Malloc on
1187 Win32.
1188
1189 (Win32 only) Added a new <seh_selector> function that takes a
1190 pointer to an EXCEPTION_POINTERS and is responsible to determine
1191 if remapping of the memory map file is required or not.
1192
1193 * ace/Malloc_T.h:
1194 * ace/Malloc_T.i (init_malloc_header_ptr): Added a new inline
1195 function which simply initializes a (position independent)
1196 pointer pointing to a Malloc_Header. This is required because
1197 the placement new in this function makes MSVC think we are
1198 creating a new object and disallow the use of ACE_SEH_TRY in
1199 functions that use placement new.
1200
1201 * ace/Malloc_T.cpp: Added the use of ACE_SEH_TRY in several
1202 ACE_Malloc::shared_* methods so we can catch the potential
1203 access violations and force remapping of memory maps. On UNIX,
1204 this is done thru <handle_signal> in Memory_Pool.
1205
1206 Thu Dec 2 09:17:02 1999 Douglas C. Schmidt <[email protected]>
1207
1208 * ace/config-win32-borland.h: Apparently, the Borland BC4 compiler
1209 lacks operator placement delete, so I added #define
1210 ACE_LACKS_PLACEMENT_OPERATOR_DELETE to handle this case. Thanks
1211 to Mike Gingell <[email protected]>.
1212
1213 Wed Dec 1 22:26:06 1999 Douglas C. Schmidt <[email protected]>
1214
1215 * tests/MM_Shared_Memory_Test.cpp: Make sure to force the test
1216 to use System V Semaphores if the OS platform supports POSIX
1217 semaphores natively (since these don't have the right semantics
1218 for this test). Thanks to Steve Huston for reporting this bug.
1219 This fix should clear BUG ID 382.
1220
1221 Wed Dec 01 06:16:34 1999 Nanbor Wang <[email protected]>
1222
1223 * ace/Malloc.h (ACE_MALLOC_PADDING): Restored default value to 1.
1224 Added a new macro ACE_MALLOC_HEADER_SIZE which serves the same
1225 function as ACE_MALLOC_PADDING (both specify the minimum malloc
1226 header size) but ACE_MALLOC_HEADER_SIZE is normalized to be
1227 multiple of ACE_MALLOC_ALIGN.
1228
1229 (ACE_CONTROL_BLOCK_ALIGN_LONGS): Changed back to use
1230 ACE_MALLOC_ALIGN to calculate the starting malloc header
1231 alignment.
1232
1233 * tests/Malloc_Test.cpp: Expanded the memory offset between parent
1234 and child mmap base address so there'll be no overlap even when
1235 we use a larger ACE_MALLOC_PADDING.
1236
1237 Wed Dec 1 02:10:51 1999 Douglas C. Schmidt <[email protected]>
1238
1239 * tests/Auto_IncDec_Test.cpp: The main() function was missing
1240 a return type. Also, don't run the test with output logged to
1241 stderr. Thanks to David Levine for reporting this.
1242
1243 Tue Nov 30 16:11:52 1999 Steve Huston <[email protected]>
1244
1245 * tests/run_tests.sh: Made the check for libDLL_Test use a
1246 configurable suffix rather than hardcoded .so so it works on
1247 platforms like HP-UX (which uses .sl).
1248
1249 Tue Nov 30 14:24:31 1999 Ossama Othman <[email protected]>
1250
1251 * acconfig.h:
1252
1253 Minor cosmetic updates.
1254
1255 * configure.in:
1256
1257 Only enable POSIX semaphore support if process shared semaphores
1258 are supported. Presumably process shared semaphores are only
1259 available if the _POSIX_THREAD_PROCESS_SHARED macro is defined
1260 by the platform. [Bug 304]
1261
1262 Tue Nov 30 00:22:48 1999 Nanbor Wang <[email protected]>
1263
1264 * tests/Malloc_Test.cpp: Changed to store the mmap allocator in an
1265 auto_ptr instead of as a static object so we can be absolutely
1266 sure about the creation order.
1267
1268 Added an init_test method which creates a mmap memory pool and
1269 releases it immediately to make sure the test won't
1270 crash/deadlock due to previous crashes.
1271
1272 Mon Nov 29 16:36:06 1999 Nanbor Wang <[email protected]>
1273
1274 * ace/Malloc.h (ACE_MALLOC_PADDING): Changed the default value of
1275 ACE_MALLOC_PADDING to 16 to avoid some some alignment problem.
1276
1277 Fixed the padding size calculation in ACE_Malloc_Header.
1278
1279 * tests/Malloc_Test.cpp (main): Added some debug printout which is
1280 commented out for now (they are not used for regular test.)
1281
1282 Mon Nov 29 14:34:16 1999 Ossama Othman <[email protected]>
1283
1284 * ace/config-win32-borland.h:
1285 * ace/config-win32-common.h:
1286
1287 The ACE_HAS_BROKEN_IMPLICIT_CONST_CAST macro I previously
1288 removed is used in TAO's IDL_Test. Thanks to Jeff for pointing
1289 this out.
1290
1291 * ace/OS.i (sema_init):
1292
1293 The call to sem_init() for the process shared case incorrectly
1294 used USYNC_THREAD for the second argument. For the
1295 USYNC_PROCESS case, the second argument to ::sem_init() should
1296 be "type == USYNC_PROCESS" since it will evaluate to "1" in this
1297 case. A conditional is used since some platforms may not define
1298 USYNC_PROCESS to be a non-zero value.
1299
1300 Mon Nov 29 12:15:56 1999 Douglas C. Schmidt <[email protected]>
1301
1302 * tests/Auto_IncDec_Test.cpp: Updated this test to use multiple
1303 threads, if available. Thanks to Edan Ayal <[email protected]> for
1304 this.
1305
1306 Mon Nov 29 11:47:55 1999 Ossama Othman <[email protected]>
1307
1308 * ace/OS.h:
1309
1310 Backed out the inline related changes I made. Some compilers
1311 have a problem with them.
1312
1313 Sun Nov 28 20:03:03 1999 Ossama Othman <[email protected]>
1314
1315 * ace/OS.i (sema_init):
1316
1317 According UNIX Network Programming V2 by Stevens, sem_init() is
1318 currently not required to return zero on success, but it *does*
1319 return -1 upon failure. For this reason, check for failure by
1320 comparing to -1, instead of checking for success by comparing to
1321 zero.
1322
1323 Sun Nov 28 19:05:31 1999 Nanbor Wang <[email protected]>
1324
1325 * ace/Process_Manager.cpp (open): Fixed an ASYS_TEXT usage.
1326 ASYS_TEXT can not enclose several string literals.
1327
1328 Sun Nov 28 18:09:49 1999 Ossama Othman <[email protected]>
1329
1330 * m4/acinclude.m4 (ACE_USE_TEMP_FILE):
1331
1332 Check that the source directory is not the current directory
1333 before moving a file in the current directory out of the way.
1334 Previously an attempt to move the same file out of the way was
1335 performed to twice.
1336
1337 Sun Nov 28 17:06:00 1999 Ossama Othman <[email protected]>
1338
1339 * acconfig.h:
1340
1341 Added ACE_HAS_POSITION_INDEPENDENT_MALLOC macro.
1342
1343 * configure.in:
1344
1345 Dropped AC_ISC_POSIX macro in favor of an AC_CHECK_LIB strerror
1346 test.
1347
1348 Disabled exception handling support by default.
1349
1350 Added "--enable-pi-malloc" configure script option to
1351 enable/disable ACE's position independent malloc feature. By
1352 default, this feature will be enabled.
1353
1354 Added a run-time test for sem_open(). glibc() apparently
1355 defines a stub for this function in the pthread library but
1356 there is no entry in <gnu/stubs.h> for it. As such, the
1357 configure script assumed that it is a working function. It
1358 turns out it is not (on Linux with glibc <= 2.1.2).
1359
1360 Generalized/improved setrlimit and getrusage tests that check if
1361 the first argument is an enum. The tests now determine exactly
1362 what the enum type is. Previously, the test was specific to
1363 Linux/glibc platforms.
1364
1365 Fixed some tests that didn't initialize a const variable before
1366 it was used.
1367
1368 Added a test that checks the integrity of the generated
1369 configuration. The test attempts to compile ace/OS.cpp. If it
1370 fails then the rest of ACE won't compile, indicating that the
1371 automatic configuration wasn't successful. Upon failure, some
1372 diagnostic information is output, and a request to submit a bug
1373 report is made.
1374
1375 Flush the cached configuration test results to the cache file.
1376 This is mainly useful for configure script debugging purposes.
1377
1378 * ace/Log_Msg.h (ACE_Log_Msg):
1379
1380 Added additional spaces before comments describing each format
1381 specifier since the single quote "'" at the beginning of each
1382 description was interpreted as a troff comment. Thanks to Kevin
1383 Dalley for pointing this out and suggesting a fix.
1384
1385 * ace/OS.h:
1386
1387 Consolidated some ACE_INLINE macro preprocessor conditionals.
1388
1389 Moved inclusion of Log_Msg.h and OS.i to the end of the file in
1390 case some declarations or definitions found earlier in OS.h are
1391 ever needed in the future by these two files.
1392
1393 * ace/Trace.h:
1394 * ace/Trace.cpp:
1395
1396 Removed inclusion of Log_Msg.h from Trace.cpp and included OS.h
1397 in Trace.h. OS.h is needed for the definition of ACE_Export.
1398
1399 * ace/config-win32-borland.h:
1400 * ace/config-win32-common.h:
1401
1402 Removed ACE_HAS_BROKEN_IMPLICIT_CONST_CAST macro. This macro
1403 isn't used anywhere in ACE or TAO.
1404
1405 * ace/Makefile:
1406
1407 Updated dependencies.
1408
1409 * bin/am_edit:
1410
1411 This script is generates IDL source file targets and
1412 dependencies in Makefile.in files. It is essentially the same
1413 script that the KDE developers use for their IDL sources except
1414 that it is has been customised for TAO_IDL generated sources.
1415 Thanks to Stephan Kulow <[email protected]> for pointing out the
1416 availability of this script.
1417
1418 * bin/make_release:
1419
1420 Archive list should be concatenated instead replaced. This list
1421 is currently only used by the MD5 checksum generation support.
1422
1423 * bin/generate_html_windex:
1424
1425 Created this script to generate the acewindex.html file. It
1426 generates the acewindex.html directly from the man pages instead
1427 of an intermediate windex file. Some platforms don't have a
1428 "catman -w" equivalent command since the man database is
1429 generated automatically by the OS (e.g. Debian GNU/Linux). This
1430 script allows the acewindex.html file to be generated on such
1431 platforms. The windex file (not acewindex.html) isn't generated
1432 but this typically isn't a problem since it is not the ACE
1433 install system's responsibility to (re)generate a windex file at
1434 install time. It is up to the sysadmin to do so. Thanks to
1435 Kevin Dalley <[email protected]> for motivating the creation of
1436 this script.
1437
1438 * bin/bootstrap:
1439
1440 The list of ROFF and HTML man pages is now automatically
1441 generated and inserted into the appropriate Makefile.am file in
1442 this script. This allows the removal of the non-portable
1443 "$(shell ...)" expression from the Makefile.am files. It also
1444 improves build performance in the man directories since the list
1445 is only evaluate at bootstrap time instead of each time the
1446 directory is built.
1447
1448 * man/Makefile.am (acewindex.html):
1449
1450 Use the newly created `generate_html_windex' script to create
1451 the acewindex.html file since not all platforms support "catman
1452 -w" windex file generation.
1453
1454 * man/html/Makefile.am (html_DATA):
1455 * man/man3/Makefile.am (man_MANS):
1456
1457 Removed the commands that generate the man pages lists. The
1458 `bootstrap' script now takes care of substituting what each of
1459 the Makefile.am variables should contain.
1460
1461 * m4/acinclude.m4:
1462
1463 Improved ACE_USE_TEMP_FILE macro. It now checks for the
1464 existence of a file with the same name as the temporary file in
1465 the current directory, in addition to the top-level source
1466 directory.
1467
1468 Moved the setrlimit and getrusage enum tests into Autoconf
1469 macros in this file. The macros are ACE_CHECK_SETRLIMIT_ENUM
1470 and ACE_CHECK_GETRUSAGE_ENUM.
1471
1472 Fixed AC_SYS_RESTARTABLE_SYSCALLS and added it to this file.
1473 The patched version compiles and runs, whereas the existing/old
1474 version doesn't even compile on some platforms. The
1475 AC_SYS_RESTARTABLE_SYSCALLS test is broken in GNU Autoconf
1476 2.13. I use this test to determine if the
1477 ACE_HAS_SIGNAL_SAFE_OS_CALLS macro should be defined for ACE. I
1478 patched it so that it works, at least platforms that expect a
1479 signal handler that expects an int argument.
1480
1481 * m4/subsets.m4:
1482
1483 Disable building of all subset libraries by default.
1484
1485 Sun Nov 28 09:45:36 1999 Darrell Brunsch <[email protected]>
1486
1487 * netsvcs/lib/Logging_Strategy.cpp: ACE_Logging_Strategy::fini ()
1488 now returns a value.
1489
1490 Sun Nov 28 02:41:02 1999 Nanbor Wang <[email protected]>
1491
1492 * tests/Reactor_Notify_Test.cpp (run_test): Only print out the
1493 error message when the notification pipe is not disable.
1494 Otherwise, when the notification pipe gets disabled, the event
1495 loop depends purely on the OS scheduling policy to determine how
1496 many times to gets to run. Since the Supplier_Task removes
1497 itself from the reactor, there could be no active event handler
1498 available in the reactor when the <handle_events> gets called if
1499 the <perform_notifications> task finishes before the event loop
1500 has a chance to finish its iterations. Another way to solve
1501 this is to add a thr_yield after every notification but that
1502 seems to defeat the intention of the test. Thanks to Ivan
1503 Murphy for reporting the false error output.
1504
1505 Sat Nov 27 22:06:26 1999 Nanbor Wang <[email protected]>
1506
1507 * ace/OS.cpp: Defined ACE_ENDTHREADEX and ACE_BEGINTHREADEX to use
1508 ExitThread and BeginThread for WinCE 2.11 and above. Thanks to
1509 Peter C. Chien <[email protected]> for the tip.
1510
1511 * ace/ace_ce_dll.dsp: Reworked for WinCE 2.11. More
1512 configurations are added and the distributed token related files
1513 are removed from the project.
1514
1515 * ace/OS.{h,cpp}: WinCE 2.11 and above does implement exit method
1516 so we don't need to provide our own for them.
1517
1518 * ace/config-WinCE.h: Updated configuration settings for WinCE
1519 2.11.
1520
1521 * ace/Memory_Pool.{h,i}: Added the <base_addr> method for
1522 accessing the base address information of the memory pool.
1523
1524 Sat Nov 27 18:36:48 1999 Douglas C. Schmidt <[email protected]>
1525
1526 * tests/Priority_Buffer_Test.cpp (consumer): Revised the test
1527 so that it doesn't bother to check the priority in the
1528 ACE_ASSERT macro if we're sending a shutdown message. Thanks to
1529 Ivan Murphy and Darrell Brunsch for narrowing this down.
1530
1531 Thu Nov 25 13:32:00 1999 Douglas C. Schmidt <[email protected]>
1532
1533 * netsvcs/lib/Client_Logging_Handler.cpp (parse_args): Make sure
1534 to free() the host or logger key before calling strdup()!
1535
1536 * netsvcs/lib/Logging_Strategy.cpp (parse_args): Fixed up this
1537 code so that we correctly allocated and deallocate filename_
1538 using strdup()/free() to prevent weird memory problems. Thanks
1539 to Alexander Dergatch <[email protected]> for reporting this.
1540
1541 Sat Nov 27 15:01:44 1999 Carlos O'Ryan <[email protected]>
1542
1543 * ACE version 5.0.9 released.
1544
1545 Sat Nov 27 14:59:27 1999 Carlos O'Ryan <[email protected]>
1546
1547 * bin/make_release:
1548 There was a non-scoped variable.
1549
1550 Thu Nov 25 13:24:37 1999 Darrell Brunsch <[email protected]>
1551
1552 * tests/Capabilities_Test.cpp: Changed a variable from
1553 int to ACE_HANDLE.
1554
1555 Thu Nov 25 02:17:34 1999 Nanbor Wang <[email protected]>
1556
1557 * ace/Malloc.h: Added back some apparent bug fixes during the
1558 alignment change.
1559
1560 Thu Nov 25 01:41:33 1999 Nanbor Wang <[email protected]>
1561
1562 * ace/Malloc.h: Removed the alignment change for now.
1563
1564 Wed Nov 24 14:41:14 1999 Nanbor Wang <[email protected]>
1565
1566 * ace/Process.i (wait): Changed to use the process handle to wait
1567 for process termination.
1568
1569 * ace/OS.h:
1570 * ace/OS.i (wait,waitpid): Added an extra argument that takes the
1571 process handle of the waited process. On Win32, <pid> is
1572 ignored if the <handle> is not equal to 0. Passing the process
1573 <handle> is prefer on Win32 because using <pid> to wait on the
1574 project doesn't always work correctly if the waited process has
1575 already terminated.
1576
1577 Wed Nov 24 08:30:52 1999 Douglas C. Schmidt <[email protected]>
1578
1579 * examples/Shared_Malloc/test_malloc.cpp (malloc_recurse): Fixed
1580 the AMS macro to be ACE_MALLOC_STATS. Thanks to David Levine
1581 for reporting this.
1582
1583 Tue Nov 23 12:47:39 1999 Douglas C. Schmidt <[email protected]>
1584
1585 * ace/Malloc.h: Modified the definition and use of
1586 ACE_MALLOC_PADDING_SIZE so that it works correctly and the code
1587 that uses it compiles... Thanks to Alexander Belopolsky
1588 <[email protected]> for reporting this.
1589
1590 * ace/Malloc: Replaced the AMS macro, which polluted the global
1591 namespace, with ACE_MALLOC_STATS, which doesn't... Thanks to
1592 Alexander Belopolsky <[email protected]> for reporting
1593 this.
1594
1595 * ace/OS.h: Modified ACE_MIN macro so that it uses the > operator to
1596 be consistent with the ACE_MAX macro. Thanks to Derek Dominish
1597 <[email protected]> for reporting this.
1598
1599 * tests/Malloc_Test: Updated the Malloc_Test so that it'll
1600 allocate and test doubles to make sure they work correctly.
1601
1602 * ace/Malloc.h: Modified the alignment logic to make things
1603 work properly for datatypes like doubles. Thanks to Alexander
1604 Belopolsky <[email protected]> for working this out.
1605
1606 Tue Nov 23 12:02:53 1999 Douglas C. Schmidt <[email protected]>
1607
1608 * ace/OS.i: Moved the inline methods for sec()/usec()/msec() so
1609 that are defined *before* they are used...
1610
1611 Tue Nov 23 11:34:40 1999 Nanbor Wang <[email protected]>
1612
1613 * tests/Malloc_Test.cpp (myallocator): Applied ACE_TEXT to several
1614 malloc argument. Thanks to Ivan Murphy for reporting this.
1615
1616 Tue Nov 23 11:06:13 1999 Nanbor Wang <[email protected]>
1617
1618 * tests/CDR_File_Test.cpp (run_test): Changed <filename> to
1619 LPCTSTR so the test compile with UNICODE. Thanks to Ivan Murphy
1620 for reporting this.
1621
1622 Mon Nov 22 18:02:19 1999 Irfan Pyarali <[email protected]>
1623
1624 * ace/Strategies_T.cpp:
1625 * ace/Cached_Connect_Strategy_T.cpp:
1626
1627 There was a strange interaction in
1628 find_or_create_svc_handler_i() because of these two changes:
1629
1630 Fri Nov 12 00:30:41 1999 Irfan Pyarali <[email protected]>
1631
1632 and
1633
1634 Mon Jul 19 22:46:54 1999 Irfan Pyarali <[email protected]>
1635
1636 Basically, <sh> was assigned to the newly created svc_handler.
1637 It had, however, not been added to the connection map nor had it
1638 been assigned a hint or recycler, i.e., it was partially
1639 initialized.
1640
1641 However, we let go of the connector lock during the OS level
1642 connect call, hence exposing the partially initialized
1643 svc_handler to other threads.
1644
1645 The solution is to use a temporary variable until the
1646 svc_handler is completely initialized. After this we can assign
1647 <sh> to <potential_handler>. Note that making a new svc_handler,
1648 connecting remotely, binding to the map, and assigning of the
1649 hint and recycler should be atomic to the outside world.
1650
1651 Mon Nov 22 17:06:34 1999 Darrell Brunsch <[email protected]>
1652
1653 * bin/auto_compile_win32.pl: Changed the project file for
1654 ImplRepo_Service. Thanks to Derek Dominish
1655 <[email protected]> for pointing this out.
1656
1657 Mon Nov 22 14:15:23 1999 Douglas C. Schmidt <[email protected]>
1658
1659 * examples/Configuration/config_test.cpp: ACE-ified this example.
1660
1661 * ace/OS.i: Replaced all the uses of ACE_Time_Value private methods
1662 within the overloaded global relational operator to use inline
1663 methods. This change should work around bugs with MSVC++.
1664 Thanks to Alok Gupta <[email protected]> for reporting
1665 this.
1666
1667 * ace/Service_Config.cpp (parse_args): Reverted the behavior
1668 of parse_args() so that it doesn't return an error when it runs
1669 across an option that it doesn't recognize. This is necessary
1670 to support certain use-cases where the Service Configurator is
1671 part of an application-specific configuration process. We do,
1672 however, print a warning message if ACE::debug() > 0. Thanks to
1673 Ivan Murphy <[email protected]> for reporting this and
1674 suggesting a fix.
1675
1676 Sat Nov 20 10:16:07 1999 Douglas C. Schmidt <[email protected]>
1677
1678 * ace/Configuration.cpp: Moved DEFBUFSIZE into the Win32-specific
1679 part of the code and changed the name to ACE_DEFAULT_BUFSIZE so
1680 that it won't conflict with any global names. Thanks to David
1681 Levine for reporting this.
1682
1683 Fri Nov 19 17:25:13 1999 Douglas C. Schmidt <[email protected]>
1684
1685 * ace: Double checked that ACE builds correctly when threads are
1686 disabled.
1687
1688 * ace/Local_Tokens.cpp (client_id): Had to futz with the code
1689 a bit to get it to work for both the threaded and non-threaded
1690 case.
1691
1692 * ace/Activation_Queue.h: Added a #define of ACE_Activation_List
1693 to ACE_Activation_Queue to be compatible with the terminology
1694 used in the POSA2 book!
1695
1696 * ace/Message_Queue_T: Moved message_bytes(size_t) and
1697 message_length(size_t) from the *.i file to the *.cpp file to
1698 workaround bugs with SunC++ 5.0. Thanks to Rick Weisner
1699 <[email protected]> and John Tucker
1700 <[email protected]> for reporting this problem and providing
1701 the fix.
1702
1703 * ace/Configuration.cpp: There were inconsistencies in the explicit
1704 template instantiations where ACE_Thread_Mutex should have been
1705 ACE_SYNCH_MUTEX so that the code will work when threading is
1706 disabled. In addition, we must be careful to conditionally
1707 compile certain ACE_Allocator<> and ACE_Malloc<> template
1708 instantiations since they are only valid when ACE_HAS_THREADS is
1709 defined.
1710
1711 * include/makeinclude/platform_irix6.x_sgic++.GNU,
1712 * ace/Local_Tokens,
1713 * ace/Synch_T.i:
1714 Made a number of minor changes so that ACE will compile/work
1715 when threading is not enabled. Thanks to Extern Chatterji
1716 <[email protected]> for reporting this.
1717
1718 * ace/Message_Block.h: Clarified the comment for space().
1719 Thanks to Eric Newton for reporting this.
1720
1721 Fri Nov 19 02:21:11 1999 Darrell Brunsch <[email protected]>
1722
1723 * ace/Configuration.h:
1724 * ace/Configuration.cpp:
1725 Altered the Unicode macros used so it compiles in the two
1726 Unicode configurations. Thanks to Ruibiao Qiu
1727 <[email protected]> for noticing this.
1728
1729 Thu Nov 18 22:49:09 1999 David L. Levine <[email protected]>
1730
1731 * tests/run_tests.lst: DISABLED Process_Manager_Test
1732 because it fails on Solaris and HPUX_aCC.
1733
1734 Thu Nov 18 20:47:49 1999 Krishnakumar Elakkara Pathayapura <[email protected]>
1735
1736 * THANKS: added Marcelo Matus <[email protected]>
1737
1738 Thu Nov 18 19:44:04 1999 David L. Levine <[email protected]>
1739
1740 * ace/OS.i (ACE_TSS_Emulation::tss_base,ts_object): on VxWorks,
1741 if ACE_VXWORKS_SPARE is 0, allocate a TSS array (and
1742 zero it out) in tss_object () instead of tss_base ().
1743 This allow tss_base () to still be used on the left-hand
1744 side. The only way that tss_base () should be called
1745 on VxWorks with 0 ACE_VXWORKS_SPARE is through ts_object ().
1746 Thanks to Dave Steele <[email protected]> and
1747 Dale Wood <[email protected]> for further discussion and
1748 insight.
1749
1750 Thu Nov 18 19:20:16 1999 Ossama Othman <[email protected]>
1751
1752 * ace/OS.h (SEM_FAILED):
1753
1754 Changed SEM_FAILED from ((sem_t *) 0) to ((sem_t *) -1).
1755 Although it makes more sense to have a zero fail value, it
1756 appears that many OSes are still brain damaged enough to use -1
1757 instead. This change is consistent with what ACE expected as
1758 the sem_open() fail value prior to my updates.
1759
1760 Thu Nov 18 16:37:55 1999 Ossama Othman <[email protected]>
1761
1762 * ace/OS.h:
1763
1764 If a platform has named POSIX semaphores, define SEM_FAILED if
1765 it isn't already defined.
1766
1767 * ace/OS.i (sema_init):
1768
1769 Cast MAP_FAILED to (sem_t *) when comparing to sem_t pointer.
1770
1771 Check sem_open() failure against SEM_FAILED macro instead of
1772 ((sem_t *) -1) since sem_open() in some named POSIX semaphore
1773 implementations returns ((sem_t *) 0) on failure (e.g. glibc
1774 2.1.x on Linux).
1775
1776 Thu Nov 18 08:19:39 1999 Douglas C. Schmidt <[email protected]>
1777
1778 * ace/SOCK_Dgram_Bcast.cpp: Some systems seem to generate 0
1779 (AF_UNDEF) for the sa_family, even when there are no errors!
1780 Thus, we only print an error if this is not the case, or if
1781 we're in "debugging" mode. Thanks to Extern Chatterji
1782 <[email protected]> for reporting this.
1783
1784 Thu Nov 18 12:08:20 1999 Balachandran Natarajan <[email protected]>
1785
1786 * ace/Configuration.cpp: Added missing template instantiations for
1787 SunCC5.0
1788
1789 Thu Nov 18 11:49:39 1999 Ossama Othman <[email protected]>
1790
1791 * bin/make_release:
1792
1793 Added MD5 checksum generation support. Each ACE/TAO archive
1794 will now have an associated file that contains its MD5
1795 checksum. [Bug 48]
1796
1797 Thu Nov 18 08:19:39 1999 Douglas C. Schmidt <[email protected]>
1798
1799 * ace/Log_Msg.cpp: Added a new flag to win32 FormatMessage call,
1800 which removes unneccessary newlines in resulting message. So
1801 whole logged message fits on one line and logs are then nicer
1802 and easier to parse. Thanks to Martin Krumpolec
1803 <[email protected]> for contributing this.
1804
1805 Wed Nov 17 22:45:01 1999 David L. Levine <[email protected]>
1806
1807 * ace/OS.i (ACE_TSS_Emulation::tss_base): on VxWorks,
1808 if ACE_VXWORKS_SPARE is 0, allocate a TSS array. This
1809 can happen if the task wasn't spawned through ACE,
1810 but then tries to use ACE's TSS emulation. Thanks
1811 to Dave Steele <[email protected]> for the
1812 excellent detective work and patch.
1813
1814 * ace/config-vxworks5.x.h: added ACE_VXWORKS_SPARE,
1815 defaulted to spare4.
1816
1817 Wed Nov 17 17:36:25 1999 Steve Huston <[email protected]>
1818
1819 * ace/config-hpux-11.x-hpc++.h: Added
1820 ACE_LACKS_PLACEMENT_OPERATOR_DELETE for aC++. This is a known bug by
1821 HP, at least at aC++ A.03.10.
1822
1823 Wed Nov 17 16:33:40 1999 Ossama Othman <[email protected]>
1824
1825 * ace/Makefile.am:
1826
1827 Added Auto_IncDec_T.*, Capabilities.* and Configuration.* to
1828 list of sources.
1829
1830 * tests/Makefile.am:
1831
1832 Added Auto_IncDec_Test, Capabilities_Test and
1833 Process_Manager_Test to list of tests.
1834
1835 * tests/Capabilities_Test.cpp:
1836
1837 Create the config file within the test itself instead of having
1838 a seperate config file. This makes the test self-contained, and
1839 also allows the test to be run in a build environment where the
1840 sources are in a different directory from the binaries (e.g. a
1841 "VPATH" build). This change was motivated by a problem that
1842 occurred in an ACE+autoconf VPATH build.
1843
1844 * tests/Capabilities_Test.cfg:
1845
1846 Removed this file. It is now created at run-time by the
1847 Capablities_Test itself.
1848
1849 Wed Nov 17 13:45:25 1999 Ossama Othman <[email protected]>
1850
1851 * acconfig.h:
1852 * configure.in:
1853 * ace/OS.h:
1854 * ace/OS.i:
1855
1856 Added support for two additional macros, namely ACE_HAS_LSEEK64
1857 and ACE_LACKS_LLSEEK_PROTOTYPE. This make it easier to
1858 customize llseek support for a given platform.
1859
1860 * ace/config-linux-common.h:
1861
1862 Define ACE_HAS_LSEEK64 and ACE_LACKS_LSEEK64_PROTOTYPE for glibc
1863 2.1.x, and define ACE_HAS_LLSEEK and ACE_LACKS_LLSEEK_PROTOTYPE
1864 for glibc 2.0.x. [Bug 375]
1865
1866 Wed Nov 17 07:36:04 1999 Douglas C. Schmidt <[email protected]>
1867
1868 * tests: Removed the Cache_Manager_Test.cpp since Cache_Manager.*
1869 is no longer in ACE. Thanks to Airat A. Sadreev
1870 <[email protected]> for reporting this.
1871
1872 * netsvcs/lib/Client_Logging_Handler.cpp (fini): Added a void *
1873 cast to the arguments to ACE_OS::free(). Thanks to David Levine
1874 for reporting this.
1875
1876 Tue Nov 16 07:58:11 1999 Douglas C. Schmidt <[email protected]>
1877
1878 * netsvcs/lib/Client_Logging_Handler.cpp (fini):
1879 Make sure to dynamically allocate the logger_key_ and
1880 server_host_ so that we don't end up with weird memory problems.
1881 Thanks to Alexander Dergatch <[email protected]> for reporting this.
1882
1883 * ace/config-irix6.x-common.h: Added
1884 ACE_LACKS_PLACEMENT_OPERATOR_DELETE to keep Irix compilers from
1885 complaining! Thanks to David for reporting this.
1886
1887 Mon Nov 15 20:44:04 1999 Douglas C. Schmidt <[email protected]>
1888
1889 * ace/OS.cpp (inherit_log_msg): Added a comment explaining why
1890 we don't inherit the callback when a new thread is created -
1891 since all hell would break loose otherwise if it came off the
1892 stack! Thanks to Sangwoo Jin <[email protected]> for
1893 motivating this clarification.
1894
1895 Mon Nov 15 19:54:36 1999 Ossama Othman <[email protected]>
1896
1897 * ace-config.in:
1898
1899 Added missing "-lACE" to the library list. Thanks to Benedikt
1900 Eric Heinen <[email protected]> for pointing this out.
1901
1902 Mon Nov 15 13:28:03 1999 Luther J Baker <[email protected]>
1903
1904 * ace/Log_Msg.cpp (priority_mask_):
1905 Added delete_ostream_(0) to ctor.
1906
1907 Mon Nov 15 09:33:49 1999 Douglas C. Schmidt <[email protected]>
1908
1909 * ace/Synch.h (ACE_Mutex): changed protected: to public: in
1910 ACE_Mutex so that certain compilers would be happy. Thanks to
1911 Ivan Murphy for reporting this.
1912
1913 * ace/Configuration.h (ACE_Configuration_Section_Key): The
1914 reserved word "operator" has a typo and is typed as "Operator".
1915 Thanks to Andy Gokhale for reporting this.
1916
1917 Sun Nov 14 20:20:13 1999 Douglas C. Schmidt <[email protected]>
1918
1919 * ace/Configuration.h: Improved the ACE-ification of this file.
1920
1921 Sun Nov 14 18:13:37 1999 Ossama Othman <[email protected]>
1922
1923 * ACE-configuration.txt:
1924
1925 Updated with information about bootstrapping autoconf support in
1926 ACE since it is currently not enabled by default in ACE.
1927
1928 * configure.in:
1929
1930 User must now specify the "--enable-maintainer-mode" configure
1931 script option in order to be able to use the configure script.
1932 If an attempt is made to run the configure script with this
1933 option, the configure script will immediately exit with a
1934 summary that states that ACE stock build procedure should be
1935 used until autoconf support is fully integrated into ACE.
1936
1937 Once autoconf support is fully integrated into ACE, this
1938 requirement will be removed.
1939
1940 Sun Nov 14 15:22:29 1999 Darrell Brunsch <[email protected]>
1941
1942 * ace/Configuration.cpp: Fixed a statement unreachable in
1943 expand_path ().
1944
1945 Sat Nov 13 19:55:17 1999 Luther J Baker <[email protected]>
1946
1947 * ace/SString.cpp (next):
1948 Removed a buggy line for Tokenizer.
1949 Thanks to Sangwoo Jin <[email protected]> for reporting this.
1950
1951 Sat Nov 13 18:38:21 1999 Darrell Brunsch <[email protected]>
1952
1953 * ace/Configuration.cpp: Fixed some compiler problems with the
1954 ACE_Malloc template instantiations and pointer casting.
1955
1956 Sat Nov 13 11:29:20 1999 Douglas C. Schmidt <[email protected]>
1957
1958 * tests/run_tests.lst: Re-enabled the Process_Manager_Test
1959 to see if it Dave Madden's fixes worked.
1960
1961 Fri Nov 12 21:26:58 1999 David L. Levine <[email protected]>
1962
1963 * ace/OS.h: without threads, added #ifndef protection for
1964 all of the THR_* macros that didn't already have it.
1965 And, with ACE_HAS_PRIOCNTL on sun, #include <thread.h>
1966 before #including sys/rtpriocntl.h. That ensures that
1967 the THR_* macros are defined first by the system header
1968 file. Thanks to Timothy Canham <[email protected]>
1969 for reporting this.
1970
1971 Also, changed a couple of <ace/sys_conf.h> #includes
1972 to "ace/sys_conf.h", because that file is not a system
1973 header.
1974
1975 Fri Nov 12 00:30:41 1999 Irfan Pyarali <[email protected]>
1976
1977 * ace/Connector.cpp (connect_i): Since we should change <sh> only
1978 in the confines on the connector lock, it is not proper to use
1979 the <new_sh> copy of <sh> and assign it to <sh> when the connect
1980 succeeds. The removal of <new_sh> should not change the
1981 algorithm (famous last words ;) since <sh> not really be
1982 considered in the case of failures.
1983
1984 * ace/Strategies_T.cpp (ACE_Cached_Connect_Strategy):
1985 * ace/Cached_Connect_Strategy_T.cpp:
1986
1987 If the new connection fails, close out the svc_handler and set
1988 it to zero.
1989
1990 Also in cleanup_hint_i(), reset the <*act_holder> in the
1991 confines and protection of the lock.
1992
1993 * ace/Svc_Handler.cpp (cleanup_hint): Expanded the interface to
1994 allow the resetting of the <act_holder> in an atomic manner wrt
1995 the lock of the connector.
1996
1997 The above changes should fix BUG 310. Thanks to Eric Mitchell
1998 <[email protected]> for reporting it.
1999
2000 Fri Nov 12 12:13:29 1999 Steve Huston <[email protected]>
2001
2002 * ace/config-aix-4.x.h: Made _BSD_INCLUDES and ACE_HAS_CHARPTR_DL
2003 be defined only for pre-AIX 4.3. Thanks to Greg Siebers
2004 <[email protected]> for these changes.
2005 Set ACE_LACKS_PLACEMENT_OPERATOR_DELETE for IBM C++ 3.6 and prior.
2006
2007 Fri Nov 12 11:50:19 1999 Nanbor Wang <[email protected]>
2008
2009 * ACE-INSTALL.html: Added ACE lib/dll naming rules.
2010
2011 Fri Nov 12 10:02:10 1999 Douglas C. Schmidt <[email protected]>
2012
2013 * ace/config-win32-common.h,
2014 * ace/config-win32.h: Fixed inconsistent use of <> and
2015 "" for ACE-specific #includes. Thanks to Dave Delano
2016 <[email protected]> for reporting this.
2017
2018 Fri Nov 12 08:25:25 1999 David L. Levine <[email protected]>
2019
2020 * ace/Log_Msg.cpp (open,log,dump): ensure that there
2021 is a message_queue_ by calling get_lock () in multithreaded
2022 applications. This solves the problem where the first
2023 thread that uses a Log_Msg terminates before any other
2024 threads create a Log_Msg instance. Thanks to
2025 Mike Mazurek <[email protected]> for reporting this.
2026
2027 Thu Nov 11 20:46:29 1999 Ossama Othman <[email protected]>
2028
2029 * examples/Configuration/Makefile:
2030
2031 Added a Makefile for this example.
2032
2033 * examples/Configuration/config_test.cpp:
2034
2035 ACEified this example, and corrected several errors and
2036 warnings.
2037
2038 Thu Nov 11 20:28:44 1999 Carlos O'Ryan <[email protected]>
2039
2040 * ace/Local_Tokens.cpp:
2041 * ace/OS.cpp:
2042 Removed gcc-2.95 warnings about mismatch format and arguments,
2043 the warning only shows up under gcc-2.95 for alphas.
2044 We use <long> to print the addresses which produces correct
2045 results in all the platforms we have access to.
2046 Thanks to Cristian Ferretti <[email protected]> for pointing this
2047 out.
2048
2049 Thu Nov 11 19:55:52 1999 Darrell Brunsch <[email protected]>
2050
2051 * ace/Configuration.h:
2052 * ace/Configuration.cpp:
2053 * examples/Configuration/config_test.cpp:
2054 MSVC doesn't like _export and _import so changed them to
2055 export_config and import_config.
2056
2057 Thu Nov 11 18:41:24 1999 Ossama Othman <[email protected]>
2058
2059 * ace/Configuration.h:
2060 * ace/Configuration.cpp:
2061
2062 "path_" variable was allocated with strdup(), but deallocated
2063 with delete(). free() should be used instead.
2064
2065 Added missing class members to member initializer lists.
2066
2067 Changed name of export() to _export(). "export" is a C++
2068 keyword, and shouldn't be used as function name. The import()
2069 method was changed to _import() for sake of being consistent.
2070
2071 Removed duplicate template instantiations.
2072
2073 Thu Nov 11 17:09:19 1999 Darrell Brunsch <[email protected]>
2074
2075 * ace/Configuration.h:
2076 * ace/Configuration.cpp:
2077 ACE-ified the code. Also fixed miscellaneous compiler warnings
2078 and put in template specialization code.
2079
2080 Thu Nov 11 12:10:40 1999 Douglas C. Schmidt <[email protected]>
2081
2082 * ace/Process_Manager.cpp,
2083 ace/Process.cpp: It looks like the thread that's going to use
2084 the Process_Manager object must do a setpgid (0, 0) in order to
2085 establish a process group for its children. Apparently, when
2086 you run the test program from the command line, the shell sets
2087 the process up in a group of its own, but when you run it from
2088 the test script, it's a member of the script's group. In the
2089 latter case, when you spawn a child process, you can't add it to
2090 your own group (because your group doesn't exist!). Thanks to
2091 Dave Madden <[email protected]> for contributing this fix.
2092
2093 Thu Nov 11 01:54:55 1999 Luther J Baker <[email protected]>
2094
2095 * ace/Log_Msg.h (msg_ostream):
2096 * ace/Log_Msg.cpp (msg_ostream):
2097 * ace/Log_Msg.cpp (~ACE_Log_Msg):
2098
2099 Added a member to flag whether or not Log_Msg object
2100 assumes responsibility for destroying its ostream_*.
2101
2102 Wed Nov 10 23:29:25 1999 Darrell Brunsch <[email protected]>
2103
2104 * ace/Configuration.cpp:
2105 * ace/Configuration.h:
2106 * ace/Configuration.i:
2107 * examples/Configuration/Configuration.dsw:
2108 * examples/Configuration/Test.dsp:
2109 * examples/Configuration/config_test.cpp:
2110 Added the ACE Configuration class files. Thanks to Chris
2111 Hafey <[email protected]> for submitting them.
2112
2113 * ace/ace_dll.dsp:
2114 * ace/ace_lib.dsp:
2115 * ace/Makefile:
2116 * examples/Configuration/Makefile:
2117 Added the Configuration files to the projects and Makefiles.
2118
2119 * ace/config-win32.h:
2120 MSVC only supports operator placement delete as of version 6.
2121
2122 Wed Nov 10 22:12:32 1999 Ossama Othman <[email protected]>
2123
2124 * configure.in:
2125
2126 Enabled the CVS directory check so that ACE's stock Makefiles
2127 won't get inadvertently clobbered by developers who want to
2128 experiment with the configure script.
2129
2130 * m4/acinclude.m4:
2131
2132 Made CVS directory check more verbose. It now provides an
2133 example of how to avoid the error it detects, i.e. it provides
2134 an example that demonstrates to do a build without affecting the
2135 source.
2136
2137 * Makefile.in:
2138 * ace/Makefile.in:
2139 * ace/config.h.in:
2140 * apps/gperf/src/Makefile.in:
2141 * apps/gperf/Makefile.in:
2142 * apps/Makefile.in:
2143 * netsvcs/clients/Logger/Makefile.in:
2144 * netsvcs/clients/Naming/Client/Makefile.in:
2145 * netsvcs/clients/Naming/Dump_Restore/Makefile.in:
2146 * netsvcs/clients/Naming/Makefile.in:
2147 * netsvcs/clients/Tokens/collection/Makefile.in:
2148 * netsvcs/clients/Tokens/deadlock/Makefile.in:
2149 * netsvcs/clients/Tokens/invariant/Makefile.in:
2150 * netsvcs/clients/Tokens/manual/Makefile.in:
2151 * netsvcs/clients/Tokens/mutex/Makefile.in:
2152 * netsvcs/clients/Tokens/rw_lock/Makefile.in:
2153 * netsvcs/clients/Tokens/Makefile.in:
2154 * netsvcs/clients/Makefile.in:
2155 * netsvcs/lib/Makefile.in:
2156 * netsvcs/servers/Makefile.in:
2157 * netsvcs/Makefile.in:
2158 * man/html/Makefile.in:
2159 * man/man3/Makefile.in:
2160 * man/Makefile.in:
2161 * tests/Makefile.in:
2162
2163 Added these files so that developers who don't have GNU
2164 Autoconf, Automake and Libtool can run the configure script and
2165 attempt builds to provide feedback to us.
2166
2167 Wed Nov 10 21:35:47 1999 Ossama Othman <[email protected]>
2168
2169 * m4/compiler.m4:
2170
2171 Added some default flags for compilers on IRIX.
2172
2173 * m4/threads.m4:
2174
2175 Added more thread library checks in an effort to figure out if a
2176 thread library really is needed, in the case that the initial
2177 check for pthread_create succeeds without the need of a thread
2178 library. Such a problem occurred on IRIX. This modification
2179 should correct the problem.
2180
2181 Wed Nov 10 10:55:34 1999 Ossama Othman <[email protected]>
2182
2183 * ace/OS.i (memset, thr_self, thr_getspecific):
2184
2185 Commented the ACE_TRACE statements. On some compiler/platform
2186 combinations these methods get called before the Object Manager
2187 is initialized, which causes the ACE_TRACE call to seg fault
2188 when tracing is enabled in ACE.
2189
2190 Tue Nov 9 17:50:01 1999 Darrell Brunsch <[email protected]>
2191
2192 * ace/config-hpux-10.x-hpc++.h:
2193 Added ACE_LACKS_PLACEMENT_OPERATOR_DELETE since it doesn't seem
2194 to be supported on aCC.
2195
2196 Tue Nov 9 15:47:10 1999 Ossama Othman <[email protected]>
2197
2198 * ace/XtReactor.cpp (TimerCallbackProc):
2199
2200 Fixed "unused argument" warning.
2201
2202 Tue Nov 9 14:57:51 1999 Ossama Othman <[email protected]>
2203
2204 * configure.in:
2205
2206 Minor comment updates.
2207
2208 * m4/features.m4:
2209
2210 Fixed asynchronous IO tests. The tests now properly detect
2211 working asynchronous IO on Linux, for example.
2212
2213 Force asynchronous IO tests to be performed after the thread
2214 detection tests in case the real time functions depend on the
2215 thread library.
2216
2217 Tue Nov 9 10:11:22 1999 Douglas C. Schmidt <[email protected]>
2218
2219 * ace/config-g++-common.h: Added ACE_LACKS_PLACEMENT_OPERATOR_DELETE
2220 for the GCC 2.8 and earlier family of compilers since they don't
2221 seem to support this feature.
2222
2223 Mon Nov 8 09:41:34 1999 Douglas C. Schmidt <[email protected]>
2224
2225 * ace/Svc_Handler.cpp: Removed the unused parameter `n'. Thanks
2226 to David Levine for reporting this.
2227
2228 Mon Nov 8 16:34:27 1999 Ossama Othman <[email protected]>
2229
2230 * acconfig.h:
2231 * configure.in:
2232
2233 Added autoconf support/tests for the following ACE macros:
2234
2235 ACE_HAS_STRPTIME
2236 ACE_LACKS_NATIVE_STRPTIME
2237 ACE_LACKS_PLACEMENT_OPERATOR_NEW
2238 ACE_LACKS_PLACEMENT_OPERATOR_DELETE
2239
2240 Mon Nov 8 09:41:34 1999 Douglas C. Schmidt <[email protected]>
2241
2242 * ace/config-g++-common.h: Added ACE_LACKS_PLACEMENT_OPERATOR_NEW
2243 for older versions of G++. Thanks to David Levine for reporting
2244 this.
2245
2246 * ace/config-sunos5.5.h: Added a #define for
2247 ACE_LACKS_PLACEMENT_OPERATOR_DELETE to handle problems with
2248 SunC++ 4.2.
2249
2250 * ace/Svc_Handler: Not all C++ compilers support placement
2251 operator delete, so we need to #ifdef for it. Thanks to Andy
2252 Gokhale for reporting this.
2253
2254 Sun Nov 07 23:36:51 1999 Nanbor Wang <[email protected]>
2255
2256 * tests/run_tests.bat:
2257 * tests/tests.dsw:
2258 * tests/Auto_IncDec.dsp:
2259 * tests/version_tests/version_tests.dsw:
2260 * tests/version_tests/Auto_IncDec_Test.dsp: Added Auto_IncDec_Test
2261 for MSVC workspaces.
2262
2263 Sun Nov 7 12:03:31 1999 Douglas C. Schmidt <[email protected]>
2264
2265 * ace/Svc_Handler: Added two new placement operator new() and
2266 delete() operations so that it is possible to allocate an
2267 ACE_Svc_Handler from a custom allocator. Thanks to Edan Ayal
2268 <[email protected]> for contributing this.
2269
2270 * tests/run_tests.lst: Added Auto_IncDec_Test to the tests.
2271
2272 * ace/Makefile,
2273 tests/Makefile: Added the new Auto_IncDec* stuff to the
2274 makefiles.
2275
2276 * ace: Added Auto_IncDec_T.{h,i,cpp} to the ACE release. This class
2277 automatically increments and decrements a parameterized counter.
2278 Thanks to Edan Ayal <[email protected]> for contributing this.
2279
2280 * tests/Auto_IncDec_Test.cpp: Added a test for the ACE_Auto_IncDec
2281 class. Thanks to Edan Ayal <[email protected]> for contributing
2282 this.
2283
2284 Fri Nov 05 14:26:38 1999 Jim Buck <[email protected]>
2285
2286 * ace/OS.cpp (ACE_Time_Value::set): fixed calculation of
2287 microsecond part. This change restores the correct pre-ACE 5.0
2288 behavior.
2289
2290 Fri Nov 5 07:58:14 1999 Douglas C. Schmidt <[email protected]>
2291
2292 * ace/Memory_Pool.i: Fixed stupid typos in Memory_Pool.i.
2293 Thanks to Jeff Parsons for reporting this.
2294
2295 * ace/Memory_Pool.i: Default arguments shouldn't be in the
2296 *.i signatures. Thanks to Andy Gokhale for reporting this.
2297
2298 Thu Nov 4 08:36:34 1999 Douglas C. Schmidt <[email protected]>
2299
2300 * ace/Memory_Pool: Moved the sync() and protect() methods
2301 from ACE_Pagefile_Memory_Pool into the *.i file and made their
2302 parameter names anonymous since these methods are no-ops.
2303 Thanks to Martin Krumpolec <[email protected]> for suggesting
2304 this.
2305
2306 * include/makeinclude/compiler.bor: Changed MISC_CFLAGS
2307 to -a8 -b- -Ve -Vx. Thanks to Jody Hagins for this suggestion.
2308
2309 Thu Nov 04 15:19:54 1999 David L. Levine <[email protected]>
2310
2311 * ACE version 5.0.8 released.
2312
2313 Thu Nov 04 08:16:25 1999 David L. Levine <[email protected]>
2314
2315 * config-linux-common.h: only enabled ACE_HAS_SIGTIMEDWAIT
2316 with glibc. RedHat 5.2 doesn't have sigtimedwait.
2317
2318 Mon Nov 01 14:29:04 1999 David L. Levine <[email protected]>
2319
2320 * ace/Filecache.cpp,Capabilities.cpp,Makefile: moved
2321 ACE_Hash<ACE_CString> and ACE_Equal_To<ACE_CString>
2322 explicit instantiations from Filecache.cpp to Capabilities.cpp,
2323 because it needs them and is used with FOR_TAO.
2324
2325 Mon Nov 01 15:05:44 1999 Steve Huston <[email protected]>
2326
2327 * THANKS: Added Greg Siebers <[email protected]>
2328
2329 Mon Nov 01 15:02:31 1999 Steve Huston <[email protected]>
2330
2331 * ace/config-aix-4.x.h: Added definition of ACE_LD_SEARCH_PATH.
2332 Thanks to Greg Siebers <[email protected]> for this fix.
2333
2334 Mon Nov 01 10:11:36 1999 David L. Levine <[email protected]>
2335
2336 * ace/Capabilities.{i,cpp}: unlined definition of
2337 ~ACE_CapEntry. It caused an internal compiler error
2338 with g++ 2.7.2.3, and it is a good idea to not inline
2339 it because it's virtual. Also, prepended ACE_ to
2340 enum values.
2341
2342 Sun Oct 31 22:46:17 1999 David L. Levine <[email protected]>
2343
2344 * tests/Capabilities_Test.cpp (main): removed declarations
2345 of unused argc and argv arguments.
2346
2347 Sun Oct 31 16:39:53 1999 Darrell Brunsch <[email protected]>
2348
2349 * ace/Capabilities.cpp:
2350 Added ACE_BUILD_DLL so the class is properly exported on NT.
2351
2352 * ace/ace_dll.dsp:
2353 * ace/ace_lib.dsp:
2354 Added Capabilities files to MSVC projects.
2355
2356 * tests/Capabilities_Test.cpp:
2357 Was loading the wrong file, changed to loading
2358 Capabilites_Test.cfg instead of captest.cfg.
2359
2360 * tests/Capabilities_Test.dsp:
2361 * tests/version_tests/Capabilities_Test.dsp:
2362 * tests/tests.dsw:
2363 Added Capabilities_Test project files.
2364
2365 * tests/run_tests.bat:
2366 Added Capabilities_Test to the list of tests.
2367
2368 Sun Oct 31 15:29:08 1999 Douglas C. Schmidt <[email protected]>
2369
2370 * ace/Capabilities.cpp: Cleaned up some of the explicit template
2371 instantiations so they will work on all platforms. Thanks to
2372 Bala for pointing this out.
2373
2374 * ace/Makefile,
2375 * tests/run_tests.lst,
2376 tests/Makefile (BIN): Added an entry for the new ACE_Capabilities
2377 classes.
2378
2379 Fri Oct 29 21:09:49 1999 Ossama Othman <[email protected]>
2380
2381 * man/html/Makefile.am:
2382
2383 For some reason Automake couldn't automatically copy the HTML
2384 man pages to the distribution directory when doing a `make dist'
2385 so do it manually.
2386
2387 Fri Oct 29 19:53:59 1999 Ossama Othman <[email protected]>
2388
2389 * Makefile.am (EXTRA_DIST):
2390
2391 Removed ACE.DSW from the distribution list.
2392
2393 * configure.in:
2394
2395 Removed test for necessity of _GNU_SOURCE macro. All uses and
2396 need of that feature test macro have been removed from ACE.
2397
2398 If a thread library was detected, define _REENTRANT in the
2399 command line, not the generated config.h header. The user can
2400 use the ace-config script to determine what other flags are
2401 needed to compile ACE.
2402
2403 Check for sched_yield in the librt library, if it exists, in
2404 addition to the others listed. Solaris 7 moves sched_yield from
2405 the libposix4 library to librt.
2406
2407 Added libsocket to list of libraries to search for
2408 getservbyname().
2409
2410 If check for socket() results in unresolved symbols, add `-lnsl'
2411 to library search.
2412
2413 Improved ACE_HAS_PTHREAD_PROCESS_ENUM test.
2414
2415 Added checks for getpgid, strtok_r, strptime and lseek64
2416 prototypes. The old getpgid test is superceded by a new one. A
2417 prototype is declared if the checks determine that certain
2418 feature test macros are needed to enable them.
2419
2420 Added man directory Makefiles to list of files to generate.
2421
2422 * ace-config.in:
2423
2424 Minor updates. Modified so that "ace" is the default library if
2425 one isn't specified.
2426
2427 * ace-config.1.in:
2428
2429 Minor updates.
2430
2431 * ace/config-linux-common.h:
2432 * ace/OS.h:
2433
2434 Moved all prototypes to OS.h. Only macros should be defined
2435 config headers. Each of the moved prototypes are enabled by
2436 using the following newly added macros:
2437
2438 ACE_LACKS_GETPGID_PROTOTYPE
2439 ACE_LACKS_STRPTIME_PROTOTYPE
2440 ACE_LACKS_STRTOK_R_PROTOTYPE
2441 ACE_LACKS_LSEEK64_PROTOTYPE
2442
2443 All prototypes in ace/OS.h should come after the inclusion of
2444 ace/Basic_Types.h since the prototypes may need types that are
2445 only available after that inclusion. Also added a
2446 ACE_LACKS_PREAD_PROTOTYPE that is used to enable make both
2447 pread() and pwrite() protypes.
2448
2449 Recent glibc libraries have pread() and pwrite() but only enable
2450 the prototypes if _XOPEN_SOURCE=500 is defined (Single Unix
2451 specification). Now define ACE_HAS_P_READ_WRITE and
2452 ACE_LACKS_PREAD_PROTOTYPE on Linux.
2453
2454 * bin/bootstrap:
2455
2456 Added ACE man page generation. Generating the man pages during
2457 the bootstrapping process allows the man page list in
2458 man/man3/Makefile.am to be generated by a shell command instead
2459 of having to explicitly specify each man page in that Makefile.
2460 The man pages will only be generated if the ACE.3 man page
2461 doesn't exist. That man page should be representative of the
2462 existence of the rest of the man pages.
2463
2464 * man/Makefile.am:
2465 * man/html/Makefile.am:
2466 * man/man3/Makefile.am:
2467
2468 Added Automake input files for the ACE man pages. The man pages
2469 will now be installed during a `make install'. This is an
2470 ACE Configuration Project specific enhancement. ACE's current
2471 man page scheme is unchanged, and doesn't support this feature.
2472
2473 * m4/features.m4:
2474
2475 Delete test_aio.log when the test is done.
2476
2477 Fri Oct 29 17:01:58 1999 Kirthika Parameswaran <[email protected]>
2478
2479 * ace/OS.h: Added ACE_DEFAULT_SHLIB_MODE for KCC. Since this mode
2480 wasnt right the DLL_Test failed when compiled using the KAI
2481 compiler. This change fixes this problem too. Thanks to Nanbor
2482 <[email protected]> and Michael Kircher
2483 <[email protected]> for helping me on this task.
2484
2485 Fri Oct 29 07:08:16 1999 David L. Levine <[email protected]>
2486
2487 * include/makeinclude/rules.local.GNU,
2488 include/makeinclude/wrapper_macros.GNU
2489 include/makeinclude/platform_vxworks5.x_g++.GNU:
2490 fixed typo: COMSPEC instead of COMPSPEC.
2491
2492 Thu Oct 28 11:15:43 1999 Nanbor Wang <[email protected]>
2493
2494 * docs/ACE-guidelines.html: Added a new guideline on avoiding
2495 multicharacter format specifiers in ACE_DEBUG/ACE_ERROR.
2496
2497 Thu Oct 28 10:54:42 1999 Nanbor Wang <[email protected]>
2498
2499 * ace/Message_Block.cpp:
2500 * ace/Name_Request_Reply.cpp:
2501 * ace/Time_Request_Reply.cpp:
2502 * ace/Token_Request_Reply.cpp:
2503 Replaced the use of %ld or %lu with %d or %u in
2504 ACE_DEBUG/ACE_ERROR.
2505
2506 * ace/config-kcc-common.h: Undefined
2507 ACE_HAS_NONSTATIC_OBJECT_MANAGER. Thanks to Russ Noseworthy for
2508 noticing this.
2509
2510 Thu Oct 28 10:49:51 1999 Darrell Brunsch <[email protected]>
2511
2512 * ACE.dsw: This is an internal file that I last updated
2513 in 1997 (I don't think it ever got included in the
2514 releases). Being out of date and not used, I removed it.
2515
2516 Thu Oct 28 09:31:19 1999 David L. Levine <[email protected]>
2517
2518 * tests/SOCK_Send_Recv_Test.cpp (client): if len is not 255,
2519 print out its value.
2520
2521 Thu Oct 28 09:27:47 1999 David L. Levine <[email protected]>
2522
2523 * include/makeinclude/rules.local.GNU,
2524 include/makeinclude/wrapper_macros.GNU
2525 include/makeinclude/platform_vxworks5.x_g++.GNU:
2526 support ComSpec as well as COMSPEC environment variable
2527 (on Windows). Thanks to Tom Venturella for reporting that
2528 ComSpec was defined on the system that he was using.
2529
2530 Wed Oct 27 20:31:22 1999 Luther J Baker <[email protected]>
2531
2532 * ace/Arg_Shifter.h (ACE_Arg_Shifter): Spelling errors.
2533
2534 Wed Oct 27 16:45:56 1999 David L. Levine <[email protected]>
2535
2536 * ace/OS.cpp (ACE_Thread_Adapter::invoke): use an
2537 ACE_reinterpret_cast instead of an ACE_static_cast to
2538 cast func (of type ACE_THR_FUNC_INTERNAL) to ACE_THR_FUNC.
2539 Thanks to Tom Venturella for reporting that the static_cast
2540 didn't compile on Tornado II.
2541
2542 Wed Oct 27 16:40:07 1999 David L. Levine <[email protected]>
2543
2544 * ace/OS.h,ACE.h: added newline before ACE_CLASS_IS_NAMESPACE.
2545 This might solve the problem with the ACE_OS man page
2546 generation failure. Thanks to Samuel Stickland <[email protected]>
2547 for reporting this problem.
2548
2549 Wed Oct 27 12:53:15 1999 Nanbor Wang <[email protected]>
2550
2551 * ace/Object_Manager.h:
2552 * ace/config-win32.h: The instructions on how to disable the use
2553 of nonstatic object manager were not consistent for NT and other
2554 platforms. Thanks to Russ Noseworthy for reporting this.
2555
2556 Wed Oct 27 09:48:41 1999 David L. Levine <[email protected]>
2557
2558 * include/makeinclude/wrapper_macros.GNU: changed check
2559 for whether exceptions are enabled from ifndef exceptions
2560 to ifeq ($(exceptions),). That allows use of
2561 exceptions=0. Thanks to Phil Mesnier <[email protected]>
2562 for reporting this.
2563
2564 Wed Oct 27 09:46:05 1999 David L. Levine <[email protected]>
2565
2566 * include/makeinclude/platform_qnx_neutrino.GNU: removed
2567 -Winline, because it was complaining about operator<<
2568 in generated code.
2569
2570 Wed Oct 27 08:32:47 1999 Douglas C. Schmidt <[email protected]>
2571
2572 * ace/OS.i (timezone): Added an ACE_UNUSED_ARG to please KCC.
2573 Thanks to Dave Madden for reporting this.
2574
2575 Tue Oct 26 14:56:15 1999 Balachandran Natarajan <[email protected]>
2576
2577 * ace/FlReactor.cpp (reset_timer_interval): Fixed a compile error
2578 with Sun_Egcs. Thanks to Thomas Groth <[email protected]>
2579 for reporting this problem & also for giving a fix.
2580
2581 Sat Oct 23 19:11:51 1999 Nanbor Wang <[email protected]>
2582
2583 * ACE version 5.0.7 released.
2584
2585 Fri Oct 22 16:58:44 1999 Darrell Brunsch <[email protected]>
2586
2587 * ace/Dynamic_Service.h: Added an include for OS.h so the
2588 Dynamic_Service.cpp will always get included on platforms
2589 that need it (ie. win32).
2590
2591 Thanks to Paulo Breda Vieira <[email protected]> for spotting
2592 this problem in the AV Streaming code on NT.
2593
2594 Thu Oct 21 20:21:13 1999 Douglas C. Schmidt <[email protected]>
2595
2596 * ace/Memory_Pool.cpp (map_file): Make sure to update the
2597 base_addr_ with the new mem_map_.addr() before the call to
2598 update the ACE based pointer. Thanks to Damien Dufour
2599 <[email protected]> for reporting this.
2600
2601 Thu Oct 21 17:10:17 1999 Vishal Kachroo <[email protected]>
2602
2603 * ace/OS.i (ioctl): Corrected the implementation of
2604 ACE_OS::ioctl () call with ACE_SIO_GET_QOS io control
2605 code. Thanks to Vidya Narayanan <[email protected]>
2606 for reporting this.
2607
2608 * ACE_wrappers/examples/QOS/server.cpp:
2609 * ACE_wrappers/examples/QOS/client.cpp:
2610 * ACE_wrappers/examples/QOS/Sender_QOS_Event_Handler.cpp:
2611 * ACE_wrappers/examples/QOS/Receiver_QOS_Event_Handler.cpp:
2612 Changed the QOS example to GET-QOS only on receipt of a QoS
2613 event. Also tested the changes made to the ioctl (GET_QOS) in
2614 OS.i.
2615
2616 Thu Oct 21 15:46:08 1999 David L. Levine <[email protected]>
2617
2618 * tests/run_tests.lst: disabled Process_Manager_Test, for now,
2619 because it asserts on Solaris, Irix, Linux, and HP/UX.
2620
2621 Wed Oct 21 14:05:00 1999 Ruibiao Qiu <[email protected]>
2622
2623 * ace/examples/IPC_SAP/ATM_SAP/CPP_{client,server}.dsp: Added
2624 configurations for building static executables on NT.
2625
2626 Wed Oct 20 00:05:34 1999 Douglas C. Schmidt <[email protected]>
2627
2628 * ace/OS.i: Replaced 0666 wit ACE_DEFAULT_FILE_PERMS. Thanks
2629 to Dave Delano for reporting this.
2630
2631 Tue Oct 19 13:31:15 1999 Joe Hoffert <[email protected]>
2632
2633 * ace/ATM_Params.h, ATM_QoS.{h,i}:
2634 Cleaned up comments, removed ACE_ATM_QoS::get_options_params
2635 method (since it's not used), and made changes for UNIX build.
2636
2637 Tue Oct 19 12:55:16 1999 Ossama Othman <[email protected]>
2638
2639 * ace/Codeset_IBM1047.h:
2640
2641 Include `ace/inc_user_config.h' before check for definition of
2642 ACE_MVS macro since otherwise ACE_MVS may not get defined.
2643
2644 * ace/Codeset_IBM1047.cpp:
2645
2646 Moved inclusion of `ace/Codeset_IBM1047.h' ahead of ACE_MVS
2647 macro definition check, and removed inclusing of
2648 `ace/inc_user_config.h'
2649
2650 * ace/OS.i (llseek):
2651
2652 Reenabled lseek64() on Linux. If _LARGEFILE64_SOURCE is not
2653 defined then an external declaration for lseek64() is made in
2654 the config-linux-common.h header.
2655
2656 * ace/config-linux-common.h:
2657
2658 Minor comment update.
2659
2660 Added extern declaration of lseek64() if _LARGEFILE64_SOURCE is
2661 not defined.
2662
2663 * ace/Handle_Set.cpp:
2664
2665 Check if _XOPEN_SOURCE is #defined instead of _GNU_SOURCE to
2666 determine if the fd_set structure has an fds_bits member.
2667
2668 * ace/Makefile:
2669
2670 Updated dependencies.
2671
2672 * ace/Makefile.am:
2673
2674 Added ATM files to source lists.
2675
2676 * acconfig.h:
2677
2678 Added entries for some additional "feature test" macros, such as
2679 _XOPEN_SOURCE.
2680
2681 * bin/g++dep:
2682 * include/makeinclude/rules.local.GNU:
2683
2684 Incorporated Jody Hagins <[email protected]> patches that get
2685 around a trailing backslash problem in generated Makefile
2686 dependencies. Thanks Jody!
2687
2688 Tue Oct 19 12:30:00 1999 Kirthika Parameswaran <[email protected]>
2689
2690 * examples/Web_Crawler.dsp: Changed the settings to make the
2691 executable name as main.exe.
2692 * examples/Web_Crawler/URL_Visitor.cpp (~URL_Validation_Visitor):
2693 Removed double deletion of the <strat_connector_> which is the
2694 Strategy Connector.
2695
2696 Tue Oct 19 11:24:16 1999 Nanbor Wang <[email protected]>
2697
2698 * include/makeinclude/wrapper_macros.GNU: Commented out an
2699 out-dated OBJEXT definition. If a rule requires to generated
2700 *.so, then it should specify the extension using SOEXT. Thanks
2701 to Aniruddha Gokhale <[email protected]> for
2702 reporting this.
2703
2704 Tue Oct 19 10:27:37 1999 Carlos O'Ryan <[email protected]>
2705
2706 * bin/run_all_list.pm:
2707 Added TAO/tests/DSI_Gateway to the list of tests
2708
2709 Tue Oct 19 00:43:34 1999 Nanbor Wang <[email protected]>
2710
2711 * ace/config-win32-common.h: Undefined ACE_HAS_EXCEPTIONS under
2712 WinCE.
2713
2714 The following changes are contributions from James Buck
2715 <[email protected]> and Peter C. Chien <[email protected]> .
2716
2717 * ace/config-WinCE.h (ACE_LACKS_SOCKET_BUFSIZ): We cannot change
2718 the socket buffer size on WinCE.
2719
2720 * ace/OS.h:
2721 * ace/OS.i:
2722 * ace/OS.cpp: Added a customized TSS errno implementation for
2723 WinCE version 2.10 and above based on James and Peter's patch.
2724 ACE_Errno_Guard also had to be changed when using this
2725 implementation. However, this code is not active by default
2726 because I don't know how to detect CE's OS and platform
2727 configuration automatically. To use the code, define
2728 ACE_HAS_WINCE_BROKEN_ERRNO.
2729
2730 * ace/OS.i(cond_wait,cond_timedwait): On WinCE, we must tweak the
2731 returning result from the semaphore if timeout occurred.
2732 Because CE uses the simulated semaphore, the returning value is
2733 not the same as that returned by a native semaphore.
2734
2735 Tue Oct 19 00:03:57 1999 Nanbor Wang <[email protected]>
2736
2737 * include/makeinclude/wrapper_macros.GNU:
2738 * include/makeinclude/rules.bin.GNU:
2739 * include/makeinclude/rules.lib.GNU:
2740 * include/makeinclude/rules.local.GNU: Chaged the following
2741 settings to be platform configurable:
2742
2743 OBJDIRS: Names of directories to keep obj files. Default is
2744 '.obj' and '.shobj'.
2745 OBJEXT: Extension name for obj files. Default is 'o'.
2746 SOEXT: Extension name for so files. Default is 'so'.
2747 LIBEXT: Extension name for lib files. Default is 'a'.
2748 CC_OUTPUT_FLAG:
2749 LINK_OUTPUT_FLAG:
2750 SO_OUTPUT_FLAG: Flags to specify output file name for cc, linker
2751 and so_linker. Defaults are '-o'.
2752
2753 Mon Oct 18 23:46:00 1999 Nanbor Wang <[email protected]>
2754
2755 * ace/config-freebsd-pthread.h: Undefined ACE_HAS_PENTIUM for
2756 freebsd. The high resolution timer doesn't seem to work on this
2757 platfrom.
2758
2759 * ace/OS.i (cuserid): Added missing ACE_UNUSED_ARG (maxlen)
2760 statement.
2761
2762 * ace/Log_Msg.cpp (log): FreeBSD defines sys_nerr as a const int.
2763
2764 Mon Oct 18 23:13:55 1999 Kirthika Parameswaran <[email protected]>
2765
2766 * examples/Web_Crawler/URL_Visitor.cpp: Updated some broken
2767 template instantiations. Thanks to Bruce Alderson
2768 <[email protected]> for reporting this.
2769
2770 Mon Oct 18 21:32:29 1999 Ossama Othman <[email protected]>
2771
2772 Updates that remove need to use _GNU_SOURCE macro on Linux/glibc
2773 systems [Bug 167]:
2774
2775 * ace/OS.i:
2776
2777 Return ACE_static_cast (off_t, -1), instead of just -1 in
2778 ACE_OS::lseek(). (not related to _GNU_SOURCE updates)
2779
2780 Only enable lseek64() on Linux/glibc systems if
2781 _LARGEFILE64_SOURCE is defined.
2782
2783 Don't use cuserid() on Linux/glibc systems. It was dropped
2784 from POSIX.1 back in 1990. Instead, extract the user name from
2785 getpwuid(geteuid()), as suggested by the glibc cuserid() man
2786 pages and Stevens' Advanced programming in the UNIX
2787 Environment.
2788
2789 * ace/Handle_Set.cpp:
2790
2791 XPG4.2 declares an fds_bit member in the fd_set structure.
2792 Since _GNU_SOURCE is being disabled in ACE, use the __fds_bits
2793 member. It's not pretty, but it works.
2794
2795 * ace/config-linux-common.h:
2796
2797 strptime() is an XOPEN function. It is only enabled if
2798 _XOPEN_SOURCE or _GNU_SOURCE is defined (_GNU_SOURCE causes
2799 _XOPEN_SOURCE to be defined on Linux/glibc systems). If
2800 _XOPEN_SOURCE is not defined, create an external declaration for
2801 it.
2802
2803 Mon Oct 18 18:41:38 1999 Steve Huston <[email protected]>
2804
2805 * ace/OS.h: Add #include <dce/cma_sigwait.h> for HP-UX 10.x, and...
2806 * ace/OS.i (ACE_OS::sigwait): On HP-UX 10.x, call cma_sigwait
2807 directly. Fixes bug #66.
2808
2809 Mon Oct 18 15:45:08 1999 Irfan Pyarali <[email protected]>
2810
2811 * ace/OS.i (event_wait): The following changes are incorrect and
2812 have been reverted:
2813
2814 http://ace.cs.wustl.edu/cvsweb/ace-cvs.cgi/ACE_wrappers/ace/OS.i?r1=4.796&r2=4.797.
2815
2816 Remember that <is_signaled_> is only turned on to remember
2817 state, i.e., when <waiting_threads_> == 0. In the case when
2818 there are waiters, i.e., <waiting_threads_> != 0, <is_signaled_>
2819 is not turned on, and therefore breaks the wait function since
2820
2821 while (event->is_signaled_ == 0)
2822
2823 never becomes false. We need a better way to protect against to
2824 guard against spurious wakeups.
2825
2826 Mon Oct 18 13:42:37 1999 Nanbor Wang <[email protected]>
2827
2828 * ace/OS.h: Added extra parentheses to avoid operator precedence
2829 mix-up. Thanks to JM Strauss
2830 <[email protected]> for reporting this.
2831
2832 Mon Oct 18 13:30:08 1999 Nanbor Wang <[email protected]>
2833
2834 * ace/OS.h: Removed a whole bunch of extra blank in ACE_DES_*FREE*
2835 macro definitions. Thanks to JM Strauss
2836 <[email protected]> for pointing this out.
2837
2838 Sun Oct 17 19:08:51 1999 Balachandran Natarajan <[email protected]>
2839
2840 * ace/QtReactor.cpp: Fixed a bug in remove_handle_i () method. I
2841 found this when I was testing the test for the QtReactor.
2842
2843 Sun Oct 17 11:00:46 1999 Douglas C. Schmidt <[email protected]>
2844
2845 * include/makeinclude/platform_sunos5_sunc++.GNU (LD): Added
2846 a fix so that SunC++ 5.0 will work correctly when it's used in
2847 "compat" mode with SunC++ 4.2. Thanks to Susan Liebeskind
2848 <[email protected]> for reporting this fix.
2849
2850 * ace/Malloc_T.cpp (remove): Need to call the destructor of
2851 ACE_Malloc_Stats explicitly in remove(). Thanks to Jean-Marc
2852 Strauss <[email protected]> for reporting this.
2853
2854 * ace/Containers_T.i (get): ACE_DLList::get() didn't check
2855 the return value from ACE_Double_Linked_List::get() so it was
2856 possible for the node variable to be NULL. Now it checks for
2857 the error case explicitly. Thanks to Boris Sukholitko
2858 <[email protected]> for reporting this bug.
2859
2860 * ace/Containers_T.cpp (get): The ACE_Double_Linked_List::get()
2861 method should return -1 on error but it was returning 1. Now,
2862 the implementation matches the documentation. Thanks to Boris
2863 Sukholitko <[email protected]> for reporting this bug.
2864
2865 Sat Oct 16 17:10:23 1999 Douglas C. Schmidt <[email protected]>
2866
2867 * ace/Makefile:
2868 * ace/Svc_Conf_l.cpp: Replace exit(1) with ACE_OS::exit(1)
2869 so that CodeWarrior doesn't get confused. Thanks to David
2870 Delano <[email protected]> for reporting this.
2871
2872 * ace/OS.cpp: Removed the '&' in front of thread_args to make
2873 CodeWarrior happier. Thanks to David Delano <[email protected]>
2874 for reporting this.
2875
2876 * ace/OS.cpp: Removed the table_() "initialization" for
2877 ACE_TSS_Cleanup since this breaks the CodeWarrior C++ compiler.
2878 Thanks to David Delano <[email protected]> for reporting this.
2879
2880 * ace/OS.i: There was a bug with the ACE_OS::truncate()
2881 emulation for Win32. We need to check for ACE_INVALID_HANDLE
2882 and NOT < 0! Thanks to David Delano <[email protected]> for
2883 reporting this.
2884
2885 Sat Oct 16 11:17:10 1999 Irfan Pyarali <[email protected]>
2886
2887 * TAO/tao/Sync_Strategies.cpp (buffering_constraints_reached):
2888 Changed the signature of
2889 TAO_Flush_Sync_Strategy::buffering_constraints_reached() to
2890 match the base class.
2891
2892 Fri Oct 15 17:28:05 1999 Irfan Pyarali <[email protected]>
2893
2894 * ace/Connector.cpp (connect_i): Only close <new_sh> if we have a
2895 valid <new_sh>. Thanks to Yury Kuznesov <[email protected]> for
2896 reporting this problem.
2897
2898 Fri Oct 15 17:26:08 1999 Balachandran Natarajan <[email protected]>
2899
2900 * include/makeinclude/wrapper_macros.GNU: Added a new flag that
2901 would help conditional compilation compilation of the
2902 QtReactor.
2903
2904 * ace/QtReactor.cpp:
2905 * ace/QtReactor.h: Files for the QtReactor. Thanks to Hamish
2906 Friedlander <[email protected]> for donating this to ACE. For
2907 the sake of record, Qt is a multiplatform C++ GUI toolkit.
2908
2909 * ace/Makefile: Added the above files to Makefile. Changes were
2910 also made to generate files from moc (Meta Object Compiler,
2911 that comes with Qt libraries) and include them with the build.
2912
2913 Fri Oct 15 01:03:13 1999 Douglas C. Schmidt <[email protected]>
2914
2915 * ace/Activation_Queue: ACE_Activation_Queue has no methods for
2916 inspecting the size of the queue. The solution was to add the
2917 methods: method_count(), is_empty(), and is_full(). Thanks to
2918 Travis Shirk <[email protected]> for contributing this.
2919
2920 Fri Oct 15 00:36:35 1999 Douglas C. Schmidt <[email protected]>
2921
2922 * tests/Process_Manager_Test.cpp (main): Replaced
2923 ACE_OS::exit(secs) with return secs so that Purify will be
2924 happy.
2925
2926 Thu Oct 14 14:30:06 1999 David L. Levine <[email protected]>
2927
2928 * tests/Process_Manager_Test.cpp: use u_int instead of
2929 bool. Make ~Exit_Handler () public so that g++ doesn't
2930 complain about a private destructor with no friends.
2931 Commented out unused local variable child7.
2932
2933 Thu Oct 14 14:25:44 1999 Dave Madden <[email protected]>
2934
2935 * tests/Process_Manager_Test.cpp: fixed the memory leaks, and
2936 most of the "unused variable" warnings should be gone.
2937 I've added, but left commented out, ASSERTs for the child
2938 process' exit codes. The reason is that, on Unix, the exit
2939 code contains extra information (exited, traced, stopped,
2940 signaled, etc.) that causes the exit code from wait() to be
2941 different from what the child's main() returned.
2942
2943 Wed Oct 13 20:23:58 1999 Nanbor Wang <[email protected]>
2944
2945 * ace/config-WinCE.h: Added ACE_LACKS_ACE_TOKEN and
2946 ACE_LACKS_ACE_OTHER to reduce CE dll's footprint.
2947
2948 * ace/Memory_Pool.cpp (ACE_Pagefile_Memory_Pool::map): The
2949 SECURITY_DESCRIPTOR and its management routines are only
2950 supported on NT. Changed to pass a NULL security attribute on
2951 non-NT platforms (95, 98, CE.)
2952
2953 Wed Oct 13 10:50:39 1999 David L. Levine <[email protected]>
2954
2955 * tests/run_tests.sh: use uname -s without checking to
2956 see if /bin/uname, etc., exist. Redirect stderr to
2957 the sysname string. It works.
2958
2959 Wed Oct 13 10:39:50 1999 David L. Levine <[email protected]>
2960
2961 * ace/OS.h: ensure that ACE_THR_PRI_FIFO_DEF and
2962 ACE_THR_PRI_OTHER_DEF are defined on non-threaded platforms,
2963 to support application source code compatibility.
2964
2965 Wed Oct 13 10:11:47 1999 David L. Levine <[email protected]>
2966
2967 * tests/Malloc_Test.cpp: fixed preprocessor logic so that
2968 the test is neutered on LynxOS. [Bug 224]
2969
2970 Wed Oct 13 01:15:45 1999 Nanbor Wang <[email protected]>
2971
2972 * ace/Parse_Node.cpp: Made sure we don't try to duplicate a null
2973 string. This was causing problem when the initialization string
2974 was missing from a service entry. Thanks to Chris Hafey
2975 <[email protected]> for reporting this.
2976
2977 Tue Oct 12 15:05:12 1999 Douglas C. Schmidt <[email protected]>
2978
2979 * tests/run_tests.lst: Reenabed Dave Madden's new
2980 Process_Manager_Test so that we can see if it works on various
2981 platforms.
2982
2983 * tests/Process_Manager_Test.cpp (main): Added a new one-button
2984 test for the ACE_Process_Manager. Thanks to Dave Madden
2985 <[email protected]> for contributing this test.
2986
2987 * ace/Process_Manager.cpp (wait): Fixed a bug triggered by
2988 a process-specific wait. Thanks to Dave Madden
2989 <[email protected]> for contributing this fix.
2990
2991 * ace/ACE.cpp (format_hexdump): Replaced
2992
2993 textver[i] = (c < 0x20 || c > 0x7e) ? '.' : c;
2994
2995 with
2996
2997 textver[i] = isprint (c) ? c : '.';
2998
2999 since this is more portable. Thanks to Jim Rogers
3000 <[email protected]> for reporting this.
3001
3002 * ace/Memory_Pool.i: Changed implementation to
3003 round_to_chunk_size() to ACE::round_to_pagesize(), which appears
3004 to be the "Right Thing"[TM] on NT.
3005
3006 Tue Oct 12 14:49:00 1999 Ruibiao Qiu <[email protected]>
3007
3008 * ace/ATM_Stream.h
3009 * ace/ATM_Acceptor.h: Moved #pragma after ACE include
3010 so that g++ would not give warning messages. Thanks to
3011 Dr. David L. Levine <[email protected]> for pointing this out.
3012
3013 Tue Oct 12 14:26:15 1999 David L. Levine <[email protected]>
3014
3015 * ace/config-qnx-neutrino.h: added #define of
3016 ACE_THR_PRI_FIFO_DEF. This allows us to easily set a thread
3017 priority (10) that's lower the the TCP service threads (17) in
3018 tests. Thanks to Sean Boudreau <[email protected]> for suggesting
3019 that.
3020
3021 Tue Oct 12 14:16:18 1999 David L. Levine <[email protected]>
3022
3023 * etc/purify.solaris2: added some more UMR suppressions
3024 for SunOS 5.7 (with Sun CC 4.2).
3025
3026 Tue Oct 12 13:22:22 1999 David L. Levine <[email protected]>
3027
3028 * include/makeinclude/platform_sunos5.6_sparc_sunc++_4.2.GNU:
3029 removed to avoid confusion. It just included
3030 platform_sunos5_sunc++.GNU; that should be used directly,
3031 instead. Thanks to Dan Butler <[email protected]>
3032 for reporting this.
3033
3034 Tue Oct 12 12:40:41 1999 Jeff Parsons <[email protected]>
3035
3036 * ace/Memory_Pool.i:
3037 * ace/Memory_Pool.cpp:
3038 Fixed some errors in Win32 specific code.
3039
3040 Tue Oct 12 12:20:08 1999 David L. Levine <[email protected]>
3041
3042 * docs/ACE-subsets.html: updated status, and added some
3043 missing motivation sections. Thanks to Wei Chiang
3044 <[email protected]> for reporting that the document
3045 was out-of-date.
3046
3047 Tue Oct 12 11:57:21 1999 David L. Levine <[email protected]>
3048
3049 * ace/config-sunos5.6-sunc++-4.x.h: removed because it
3050 #included a header that no longer exists in the
3051 distribution. ace/config-sunos5.6.h should be used
3052 instead. Thanks to Dan Butler <[email protected]>
3053 for reporting this.
3054
3055 Tue Oct 12 11:48:00 1999 Ruibiao Qiu <[email protected]>
3056
3057 * ace/ATM_Addr.{h,cpp,i}:
3058 * ace/ATM_Stream.{h,cpp,i}:
3059 * ace/ATM_Connector.{h,cpp,i}:
3060 * ace/ATM_Acceptor.{h,cpp,i}:
3061 * ace/ATM_QoS.{h,cpp,i}:
3062 * ace/ATM_Params.{h,cpp,i}: Added support for Fore ATM on Windows
3063 platform. Enabled when ACE_HAS_ATM and ACE_HAS_FORE_ATM_WS2
3064 are defined.
3065
3066 * ace/config-win32-common.h: Added needed header include when
3067 ACE_HAS_FORE_ATM_WS2 is defined.
3068
3069 * ace/ace_dll.dsp:
3070 * ace/ace_lib.dsp: Included ATM_* classes files in the porject files.
3071
3072 * examples/IPC_SAP/ATM_SAP/CPP-client.cpp
3073 * examples/IPC_SAP/ATM_SAP/CPP-server.cpp: Changed example codes
3074 so that they can be run on Windows. They are now non-interactive,
3075 and show data rates at each end.
3076
3077 * examples/IPC_SAP/ATM_SAP/CPP_client.dsp
3078 * examples/IPC_SAP/ATM_SAP/CPP_server.dsp
3079 * examples/IPC_SAP/ATM_SAP/ATM_SAP.dsw: Created MSVC project files
3080 and workspace file for these examples.
3081
3082 Tue Oct 12 11:37:56 1999 David L. Levine <[email protected]>
3083
3084 * tests/run_tests.sh: export ACE_ROOT if setting it.
3085
3086 Tue Oct 12 11:32:23 1999 David L. Levine <[email protected]>
3087
3088 * tests/run_tests.pl,run_tests.sh: don't print "Skipping test
3089 on this platform" message for DISABLED tests. Set
3090 ACE_ROOT to .. if it wasn't set.
3091
3092 * tests/run_tests.sh: don't invoke uname command on
3093 Neutrino, because it's not supported.
3094
3095 Tue Oct 12 08:53:52 1999 Irfan Pyarali <[email protected]>
3096
3097 * ace/Message_Queue.cpp (enqueue): <cur_bytes_> and <cur_length_>
3098 should increase by total_size() and total_length() respectively.
3099 And in dequeue(), <cur_length_> should decrease by
3100 total_length(). Thanks to Christopher Kohlhoff
3101 <[email protected]> for pointing this out.
3102
3103 Tue Oct 12 10:00:52 1999 Douglas C. Schmidt <[email protected]>
3104
3105 * ace/Memory_Pool (ACE_Pagefile_Memory_Pool):Added a new memory
3106 pool that uses the Win32 page file. Thanks to Dieter Quehl for
3107 contributing this.
3108
3109 Mon Oct 11 17:07:46 1999 Douglas C. Schmidt <[email protected]>
3110
3111 * ace/Message_Queue.cpp (enqueue): ACE fails to compile because of
3112 a for-loop scoping problem in the method
3113 ACE_Message_Queue_NT::enqueue. Thanks to Christopher Kohlhoff
3114 <[email protected]> for reporting this.
3115
3116 * ace/Activation_Queue.cpp (enqueue): Changed the
3117 creation of the ACE_Message_Block so that it uses the sizeof
3118 (ACE_Method_Request) to ensure the queue's flow control
3119 mechanism works properly. Thanks to Dan Gilboa
3120 <[email protected]> for reporting this.
3121
3122 Mon Oct 11 17:36:15 1999 Nanbor Wang <[email protected]>
3123
3124 Thanks to Wei Chiang <[email protected]> for the following
3125 patches.
3126
3127 * ace/Thread_Manager.cpp (kill_thr): Chorus only supports
3128 SIGTHREADKILL here. Made sure we remove the killed thread from
3129 the managed thread list.
3130
3131 * tests/Thread_Manager_Test.cpp: Changed the test to check for
3132 cooperative cancellation even if the platform doesn't support
3133 sending signaling to a specific thread. On Chorus, this signal
3134 has to be SIGTHREADKILL.
3135
3136 Mon Oct 11 17:35:51 1999 Nanbor Wang <[email protected]>
3137
3138 * ace/config-kcc-common.h: Added
3139 ACE_HAS_STD_TEMPLATE_SPECIALIZATION for KCC.
3140
3141 Mon Oct 11 12:05:31 1999 Wei Chiang <[email protected]>
3142
3143 * ace/Signal.cpp (ACE_Sig_Action ctors),
3144 ace/Select_Reactor_T.cpp (register_handler,remove_handler):
3145 disabled signal-related operations on Chorus.
3146
3147 Mon Oct 11 10:15:28 1999 David L. Levine <[email protected]>
3148
3149 * bin/check_build_logs: suppress some Purify warnings. Purify
3150 says that it's ignoring the problem; so will we.
3151
3152 Mon Oct 11 10:09:56 1999 David L. Levine <[email protected]>
3153
3154 * ACE version 5.0.6 released.
3155
3156 Mon Oct 11 07:34:34 1999 Douglas C. Schmidt <[email protected]>
3157
3158 * ace/OS.h: Removed a stray '>' that was causing OS.h not to
3159 compile. Thanks to Marvin Allen Wolfthal <[email protected]>
3160 for reporting this.
3161
3162 Fri Oct 8 07:47:08 1999 Douglas C. Schmidt <[email protected]>
3163
3164 * ace/OS.h: Removed the word "defined" since that was breaking
3165 SunCC 4.2. Thanks to Andy Gokhale for reporting this.
3166
3167 Thu Oct 07 18:47:03 1999 Irfan Pyarali <[email protected]>
3168
3169 * ace/OS.h (ACE_NOTSUP): Added new macro. This one is similar to
3170 ACE_NOTSUP_RETURN, except that there is no return value (similar
3171 to ACE_GUARD and ACE_GUARD_RETURN).
3172
3173 * ace/Message_Queue (message_length): Returns the total length on
3174 the queue, i.e., sum of the message block lengths.
3175
3176 Since manual changes to these stats might be necessary,
3177 specially when queued message blocks change size or lengths
3178 (without dequeuing the messages from the queue), we also provide
3179 methods for setting these stats.
3180
3181 * ace/Message_Block.i (total_length): This new method is similar
3182 to <total_size> except that it deals with the length of the
3183 message blocks and not the size of the message blocks. It
3184 returns the length of the message blocks, including chained
3185 message blocks.
3186
3187 Thu Oct 7 13:17:29 1999 Douglas C. Schmidt <[email protected]>
3188
3189 * ACE-INSTALL.html: Changed the word "compiler" to
3190 "linker". Thanks to George Ball <[email protected]>
3191 for reporting this.
3192
3193 Thu Oct 07 11:35:13 1999 Steve Huston <[email protected]>
3194
3195 * ace/streams.h: Added #include <strstream.h> in the non-Win32
3196 section of the !ACE_HAS_STANDARD_CPP_LIBRARY section, for systems
3197 like Solaris w/ SC4.2.
3198
3199 Wed Oct 6 21:36:18 1999 Douglas C. Schmidt <[email protected]>
3200
3201 * ace/Log_Msg.cpp (log): Forgot to remove a stray %s.
3202 Thanks to Kitty Krishnakumar <[email protected]> for
3203 reporting this.
3204
3205 Wed Oct 06 16:42:56 1999 Nanbor Wang <[email protected]>
3206
3207 * examples/Reactor/Misc/Misc.dsw:
3208 * examples/Reactor/Misc/demuxing.dsp: Added the demuxing test
3209 project file.
3210
3211 * examples/Reactor/Misc/test_demuxing.cpp: MS Windows only
3212 supports a limited set of signals. Made sure we use them in the
3213 examples.
3214
3215 Wed Oct 06 16:20:28 1999 David L. Levine <[email protected]>
3216
3217 * tests/CDR_File_Test.cpp (run_test): when reading, ensure
3218 that the message block has sufficient space to properly
3219 align the 64-bit double on LynxOS and Neutrino. Thanks
3220 to Jeff for helping to track this down, and for Carlos
3221 for providing the fix.
3222
3223 Wed Oct 6 15:40:11 1999 Vishal Kachroo <[email protected]>
3224
3225 * ace/OS.i : Initialised the qos_len variable to sizeof (QOS)
3226 within the ioctl () method for ACE_SIO_GET_QOS.
3227
3228 * ACE_wrappers/examples/QOS/client.cpp:
3229 * ACE_wrappers/examples/QOS/server.cpp: Added a test for the
3230 ACE_SIO_GET_QOS io control code. The Sending and Receiving
3231 QOS flowspec parameters are extracted and printed for both the
3232 sender and receiver using this control code.
3233
3234 Wed Oct 6 08:36:17 1999 Douglas C. Schmidt <[email protected]>
3235
3236 * ace/OS.h: Changed
3237
3238 # if defined (__SUNPRO_CC < 0x500)
3239
3240 to this
3241
3242 # if defined (__SUNPRO_CC < 0x500) || ((__SUNPRO_CC == 0x500 && > __SUNPRO_CC_COMPAT == 4))
3243
3244 to work around compilation problems with Sun CC 5.0 when used in
3245 Sun CC 4 compatibilty mode. Thanks to Erik Koerber
3246 <[email protected]> for this fix.
3247
3248 * ace/Log_Msg.cpp (log): Added support for a %m option that
3249 behaves like strerror() rather than perror(). Thanks to Kitty
3250 Krishnakumar <[email protected]> for this feature.
3251
3252 * ace/OS.i (event_wait): We need to put the call to
3253 ACE_OS::cond_wait() in a loop to guard against spurious wakeups.
3254 Thanks to Sergey Nemanov <[email protected]> and Vladimir
3255 Kondratiev <[email protected]> for reporting this
3256 and suggesting a fix.
3257
3258 * tests/Malloc_Test.cpp: Don't run the Malloc_Test on LynxOS.
3259
3260 * tests/MM_Shared_Memory_Test.cpp: Fixed the code so that it'll
3261 compile correctly on platforms that lack fork(), such as
3262 VxWorks. Thanks to David Levine for reporting this.
3263
3264 Tue Oct 5 16:17:57 1999 Douglas C. Schmidt <[email protected]>
3265
3266 * tests/MM_Shared_Memory_Test.cpp (spawn): Make sure to
3267 delete the synchronizer in both the parent and the child
3268 processes since otherwise we get a memory leak! Thanks to David
3269 Levine for pointing this out.
3270
3271 * tests/Task_Test.cpp (main): Make sure to delete the thread hook
3272 before exiting the process to avoid a memory leak. Thanks to
3273 David Levine for pointing this out.
3274
3275 Tue Oct 5 15:04:03 1999 Douglas C. Schmidt <[email protected]>
3276
3277 * ace/[Active_|Hash_]Map_Manager: Modified these classes so that the
3278 find() methods are all "const". Thanks to Jody Hagins
3279 <[email protected]> for reporting this.
3280
3281 Tue Oct 05 21:58:06 1999 Nanbor Wang <[email protected]>
3282
3283 * ace/config-WinCE.h: Reenabled ACE_HAS_MFC. This should be the
3284 most portable configuration. If you insist not to use MFC at
3285 all, define ACE_HAS_MFC=0 in your config.h file.
3286
3287 * ace/OS.h:
3288 * ace/OS.cpp (set_window): Removed the MFC specific set_window
3289 method so we can use ACE in both MFC and non-MFC applications.
3290
3291 * ace/INET_Addr.h: Applied ASYS_TEXT to several default
3292 string literals.
3293
3294 * ace/DLL.h:
3295 * ace/DLL.cpp: Changed the type of <dll_name> in ctor and the open
3296 method to ASYS_TCHAR to minimize string conversion.
3297
3298 * tests/DLL_Test.cpp: Applied ASYS_TEXT to the name of the DLL
3299 file.
3300
3301 Tue Oct 5 19:01:43 1999 Jeff Parsons <[email protected]>
3302
3303 * ace/CDR_Stream.i:
3304 Changed << for bounded (w)strings to marshal only 'length'
3305 bytes, instead of 'bound' bytes. The previous method could
3306 cause an access violation if the string fits near the end
3307 of a system page, but the 'bound' extends beyond it. Thanks
3308 to Brian Wright <[email protected]> for reporting this
3309 bug.
3310
3311 Mon Oct 4 08:31:58 1999 Douglas C. Schmidt <[email protected]>
3312
3313 * examples/Shared_Malloc/test_persistence.cpp: Enhanced the
3314 list_employees() method so that it'll print the contents of
3315 ACE_Malloc<> in FIFO and LIFO order.
3316
3317 * ace/Malloc[_T].{h,cpp}: Added a new iterator for ACE_Malloc<>
3318 called ACE_Malloc_FIFO_Iterator, which prints out the
3319 ACE_Name_Node entries in FIFO order. In addition, renamed
3320 ACE_Malloc_Iterator to be ACE_Malloc_LIFO_Iterator because it
3321 prints the ACE_Name_Node entries in LIFO order. Also added a
3322 #define of ACE_Malloc_Iterator to ACE_Malloc_LIFO_Iterator to
3323 ensure backwards compatibility. Thanks to Wenli Bai
3324 <[email protected]> for this enhancements.
3325
3326 * tests/MM_Shared_Memory_Test.cpp: Fixed the test so that it should
3327 work correctly for platforms that use either processes or
3328 threads. Also, make sure to call remove() on the
3329 ACE_Process_Semaphore so that stray semaphores aren't left
3330 around. Thanks to David Levine for helping to track this down.
3331
3332 * ace/Synch.h: Updated the documentation for the
3333 ACE_Process_Semaphore destructor to indicate that it doesn't
3334 remove the semaphore. Instead, you must call remove()
3335 explicitly. Thanks to David Levine for helping to track this
3336 down.
3337
3338 * ace/Malloc_T.cpp (print_stats): Added a cast for the ACE_LOCK to
3339 work around the fact that the print_stats() method is const.
3340 Thanks to Jean-Marc Strauss <[email protected]> for
3341 reporting this.
3342
3343 * ace/INET_Addr.cpp (set): Added ACE_UNUSED_ARG
3344 so the compiler won't complain about the protocol paraemter in
3345 parts of the code where it's not used.
3346
3347 * tests/MM_Shared_Memory_Test.cpp (spawn): Added ACE_UNUSED_ARG
3348 so the compiler won't complain about process_synchronizer in
3349 parts of the code where it's not used.
3350
3351 Sun Oct 3 12:47:35 1999 Douglas C. Schmidt <[email protected]>
3352
3353 * tests/Process_Mutex_Test.cpp (main): Renamed the confusing "server" stuff
3354 to "parent" where appropriate.
3355
3356 * tests/MM_Shared_Memory_Test.cpp: Don't call ACE_OS::exit()
3357 in the child since this won't clean up the Object_Manager
3358 correctly. Thanks to David Levine for reporting this. However,
3359 we'll still have two "end" statements, but only one begin
3360 statement, which is confusing. I'm not sure how to solve this,
3361 but it won't break anything.
3362
3363 * tests/MM_Shared_Memory_Test.cpp: Oops, only do the
3364 acquire()/release() of the Process_Semaphore if we have fork()!
3365
3366 * tests/MM_Shared_Memory_Test.cpp: Added an ACE_Process_Semaphore
3367 so we no longer need to sleep in order to wait for the server to
3368 be initialized.
3369
3370 * tests/Process_Strategy_Test.cpp (main): Switched the processes
3371 in which the client and server are run so that the server is now
3372 run in the parent and the client is run in the child. This made
3373 it possible to remove the ACE_OS::sleep(1) call because the
3374 acceptor is created before the fork, so the client should always
3375 be able to connect to the server, even if the server isn't
3376 scheduled to run again before the client.
3377
3378 * tests/Process_Mutex_Test.cpp,
3379 * tests/SV_Shared_Memory_Test.cpp:
3380 Fixed some improper style problems with these tests.
3381
3382 Sun Oct 03 10:34:19 1999 David L. Levine <[email protected]>
3383
3384 * tests/SV_Shared_Memory_Test.cpp (main): only delete
3385 parent_mutex and parent_synch in the parent, to prevent
3386 double deletion by the child. [Bug 91]
3387
3388 Sun Oct 03 10:21:15 1999 David L. Levine <[email protected]>
3389
3390 * tests/SV_Shared_Memory_Test.cpp: create parent_mutex and
3391 parent_synch before forking, to avoid race condition between
3392 their creation in the parent and use in the child. This
3393 allowed us to remove the sleep (1) in the child. [Bug 91]
3394
3395 Sun Oct 03 10:17:21 1999 David L. Levine <[email protected]>
3396
3397 * ace/OS.cpp (ACE_Thread_Adapter::invoke): added casts of
3398 func (to ACE_THR_FUNC) and its return value (to void *)
3399 so that this function will compile for VxWorks and pSOS.
3400
3401 Sat Oct 2 18:54:38 1999 Vishal Kachroo <[email protected]>
3402
3403 * ace/SOCK_Dgram_Mcast.{cpp,h}: Added ACE_Protocol_info as a
3404 parameter to the QoS enabled private method subscribe_ifs. This
3405 allows the use of ACE_Protocol_Info->iAddressFamily in the call
3406 to join_leaf (). Thanks to Vidya Narayanan
3407 <[email protected]> for pointing this out.
3408
3409 Sat Oct 2 16:20:33 1999 Nanbor Wang <[email protected]>
3410
3411 * ace/config-kcc-common.h: The macro __KCC_VERSION was not
3412 available in 3.3e so we switched to check the existence of this
3413 macro to decide the availability of auto_ptr::reset(). Thanks
3414 to Ossama for noticing this bug.
3415
3416 Sat Oct 2 16:10:26 1999 Ossama Othman <[email protected]>
3417
3418 * ace/config-linux-common.h:
3419
3420 Linux (glibc 2.x) has lseek64() so define ACE_HAS_LLSEEK.
3421
3422 * ace/OS.i (llseek):
3423
3424 Removed external declaration for llseek() on Linux. Linux uses
3425 lseek64(), not llseek(). Updated macro checks to use lseek64()
3426 for Linux. [Bug 276]
3427
3428 Sat Oct 2 16:01:50 1999 Douglas C. Schmidt <[email protected]>
3429
3430 * ace/INET_Addr.h (ACE_INET_Addr): Removed an unnecessary "protocol"
3431 string. Thanks to Jeff and Ossama for reporting this.
3432
3433 Sat Oct 2 12:50:43 1999 Douglas C. Schmidt <[email protected]>
3434
3435 * ace/INET_Addr: Previous, it was not possible to specify the
3436 proto argument in the ACE_INET_Addr constructor because it was
3437 hard-coded to "tcp". Now, this can be passed as a parameter.
3438 Thanks to Jaymes Galvin <[email protected]> for this suggestion.
3439
3440 Fri Oct 1 14:44:12 1999 Vishal Kachroo <[email protected]>
3441
3442 * ace/OS.h : Added the Winsock2 GQOS related #defines to this
3443 file. The #defines are limited to the ones used in the ACE QOS
3444 example.
3445
3446 * ACE_wrappers/examples/QOS/server.cpp:
3447 * ACE_wrappers/examples/QOS/client.cpp:
3448 * ACE_wrappers/examples/QOS/QosEvent.h:
3449 Changed the QOS example to use the ACE flags instead of Windows
3450 flags. Removed the #defines from the example and moved them to
3451 OS.h
3452
3453 Fri Oct 1 13:14:17 1999 Douglas C. Schmidt <[email protected]>
3454
3455 * ChangeLog: Added more Borland support. Thanks to
3456 Christopher Kohlhoff <[email protected]> for this.
3457
3458 Fri Oct 01 13:05:24 1999 David L. Levine <[email protected]>
3459
3460 * Makefile: move instructions for creating kits down in
3461 the file, and added note that they're intended for
3462 ACE+TAO developers and maintainers, only. Thanks to
3463 Rick Hess <[email protected]> for pointing out that
3464 that wasn't clear.
3465
3466 Fri Oct 1 08:23:36 1999 Joe Hoffert <[email protected]>
3467
3468 * ace/ATM_Connector.{h,i}: Added add_leaf method and functionality.
3469
3470 Thu Sep 30 16:55:41 1999 Douglas C. Schmidt <[email protected]>
3471
3472 * tests/Task_Test.cpp (main): Added a short example illustrating
3473 how the new ACE_Thread_Hook mechanism works.
3474
3475 * ace/OS.cpp: Added new support for the thread_hook to
3476 ACE_OS_Object_Manager.
3477
3478 * ace/OS.cpp (invoke): Added support for a virtual "start_hook()"
3479 method in a new ACE_Thread_Hook class. This makes it possible
3480 for users to subclass ACE_Thread_Hook perform initialization
3481 operations before the thread entry point method is called back.
3482 Thanks to Chris Hafey <[email protected]> for this
3483 suggestion.
3484
3485 Thu Sep 30 20:40:42 1999 Marina Spivak <[email protected]>
3486
3487 * bin/run_all_list.pm:
3488 Added TAO/examples/Load_Balancing demo to the list of daily
3489 executed tests.
3490
3491 Thu Sep 30 11:36:20 1999 Charles Frasch <[email protected]>
3492
3493 * include/makeinclude/wrapper_macros.GNU: in checks for
3494 ACE_HAS_GNUG_PRE_2_8, use $(notdir $(CXX)) to properly
3495 handle case where CXX has a directory part.
3496
3497 Thu Sep 30 11:13:14 1999 Douglas C. Schmidt <[email protected]>
3498
3499 * ace/Pipe.cpp (open): Don't use socketpair() for pipes on LynxOS
3500 since this doesn't work for some reason. Instead, use the
3501 socket emulation. Thanks to David Levine for reporting this.
3502
3503 Thu Sep 30 10:30:00 1999 Kirthika Parameswraan <[email protected]>
3504
3505 * ace/README: Added documentation for:
3506 ACE_HAS_BROEN_EXTENDED_TEMPLATES Thanks to Fritz Bosch
3507 <[email protected]> for suggesting this.
3508
3509 Thu Sep 30 10:07:38 1999 Douglas C. Schmidt <[email protected]>
3510
3511 * ace/Strategies_T.h: Added
3512
3513 #define ACE_Refcounted_Hash_Recyclable ARHR
3514
3515 to work around broken linkers that can't handle long
3516 symbol names. Thanks to Fritz Bosch <[email protected]>
3517 for this suggestion.
3518
3519 Wed Sep 29 20:58:45 1999 Darrell Brunsch <[email protected]>
3520
3521 * ace/config-win32.h:
3522 * ace/config-win32-common.h:
3523 Winsock2.h wasn't being included before my checks of the
3524 winsock version, so I moved it to -common.h instead.
3525
3526 Wed Sep 29 16:40:45 1999 Nanbor Wang <[email protected]>
3527
3528 The following changes fix the Service_Configurator on Windows
3529 CE. Thanks very much to Kirthika for her help on making this
3530 work.
3531
3532 * tests/WinCE/DLL_Test.dsp:
3533 * tests/WinCE/ce_tests.dsw: Added the DLL_Test project.
3534
3535 * ace/ace_ce_dll.dsp: Added DLL.cpp into the project.
3536
3537 * ace/Service_Types.i (name):
3538 * ace/Service_Object.i (name): Changed to use ACE::strnew to
3539 duplicate the name string.
3540
3541 * ace/Parse_Node.cpp: Changed all the ACE_*_Node classes to make
3542 copies of all string variables and release when they get
3543 destructed. This is necessary because on Windows CE, the
3544 strings passed into these classes are very short-lived (we use
3545 ASCII to UNICODE conversion macros which make temporary copies
3546 only.) The change shouldn't affect the performance of ACE since
3547 parsing the svc.conf entries should never be in the critical
3548 path.
3549
3550 * ace/Parse_Node.h: The comments for <must_delete_> in
3551 ACE_Location_Node is completely outdated. It now specifies
3552 whether the Service_Object generated by this Location_Node
3553 should be removed or not when it is no longer in use, not the
3554 <pathname_>.
3555
3556 * ace/OS.i (access): Added a temporary implementation for CE here.
3557 ACE::ldfind check the file accessibility using this function.
3558 Currently, we hard-code the method to check for read-access only
3559 (i.e., the argument <amode> is not used) which needs to be
3560 fixed.
3561
3562 * ace/OS.cpp (fopen): Check for invalid handle and return NULL if
3563 handle is invalid on CE. Otherwise, CE programs get totally
3564 confused.
3565
3566 * ace/Malloc.cpp (dump): I added some more operations in the dump
3567 methods but forgot to make them UNICODE friendly.
3568
3569 * ace/config-WinCE.h: Added the macro definition for
3570 ACE_DEFAULT_LD_SEARCH_PATH since CE doesn't support environment
3571 variables at all and we need to hard-code the search path on
3572 CE.
3573
3574 * ace/README: Added documentation for ACE_DEFAULT_LD_SEARCH_PATH.
3575
3576 * ace/ACE.cpp (ldfind): When the macro ACE_DEFAULT_LD_SEARCH_PATH is
3577 defined, we should use the hard-coded search path instead of
3578 trying to use getenv to acquire the search path.
3579
3580 * examples/Service_Configurator/Misc/Timer_Service.cpp:
3581 * examples/Service_Configurator/Misc/Timer_Service.h: Made the
3582 services UNICODE and CE friendly by applying ASYS_TEXT and using
3583 ASYS_TCHAR liberally.
3584
3585 * examples/Service_Configurator/Misc/README: Added instructions on
3586 how to run the example on Windows CE.
3587
3588 Tue Sep 28 15:46:23 1999 Darrell Brunsch <[email protected]>
3589
3590 * ace/OS.i: Fixed some GQOS stuff for the older versions of
3591 WinSock 2.
3592
3593 * ace/config-win32.h: Uses a better detection technique to
3594 figure out whether we are compiling with WinSock 2's newer
3595 headers or not.
3596
3597 Tue Sep 28 14:48:26 1999 Irfan Pyarali <[email protected]>
3598
3599 * ace/WFMO_Reactor.cpp (handler): Implemented previously
3600 unimplemented function.
3601
3602 Tue Sep 28 15:02:33 1999 Vishal Kachroo <[email protected]>
3603
3604 * ace/OS.i (ioctl): Added the #if def ACE_HAS_WINSOCK2_GQOS for
3605 the extra fields in struct _flowspec.
3606
3607 Mon Sep 27 19:16:34 1999 Douglas C. Schmidt <[email protected]>
3608
3609 * ace/OS.i (timezone): SunOS 4 needs to use gettimeofday() to find
3610 the current timezone. Thanks to Kamen Penev
3611 <[email protected]> for reporting this fix.
3612
3613 Mon Sep 27 19:30:54 1999 Carlos O'Ryan <[email protected]>
3614
3615 * THANKS:
3616 Added Dennis to the hall of fame list.
3617
3618 Mon Sep 27 17:12:51 1999 Vishal Kachroo <[email protected]>
3619
3620 * ace/OS.i:
3621 * ace/OS.h:
3622 Added an overloaded ioctl () that is used when the io control
3623 code is one of SIO_SET_QOS or SIO_GET_QOS. Thanks to Vidya
3624 Narayanan <[email protected]> for help with this
3625 feature.
3626
3627 * ACE_wrappers/examples/QOS/server.cpp:
3628 * ACE_wrappers/examples/QOS/client.cpp:
3629 Made changes to the usage of ioctl () in the above files to
3630 reflect the corresponding changes in ACE.
3631
3632 Mon Sep 27 13:11:02 1999 Douglas C. Schmidt <[email protected]>
3633
3634 * ace/config-sunos5.5.h: Wrap the define statement in a
3635 conditional that prevents declaration of #define
3636 ACE_HAS_STL_QUEUE_CONFLICT for gcc 2.95. We don't know if this
3637 is a problem in newer versions of Solaris but this will get rid
3638 of it for 5.5.1. Thanks to Siegurd Weber <[email protected]>
3639 for this fix.
3640
3641 Mon Sep 27 16:56:10 1999 Carlos O'Ryan <[email protected]>
3642
3643 * ace/OS.cpp:
3644 ACE_OS::cond_init() has two completely separate versions, i
3645 forgot to fix the NT version too, thanks to Vishal for pointing
3646 this out.
3647
3648 Mon Sep 27 16:05:35 1999 Darrell Brunsch <[email protected]>
3649
3650 * tests/Object_Manager_Test.dsp:
3651 * tests/run_tests.bat:
3652 * tests/tests.dsw:
3653 * tests/version_tests/Object_Manager_Test.dsp:
3654 * tests/version_tests/version_tests.dsw:
3655 Added Object_Manager_Test support on Win32 and MSVC.
3656
3657 Mon Sep 27 15:23:47 1999 Carlos O'Ryan <[email protected]>
3658
3659 * ace/OS.h:
3660 * ace/OS.i:
3661 Fixed overloading problems for cond_init() under LynxOS and
3662 Chorus, thanks to John K. Black <[email protected]>
3663 for reporting the problem and providing a fix.
3664 This fixes [BUGID:342]
3665
3666 Mon Sep 27 13:11:02 1999 Douglas C. Schmidt <[email protected]>
3667
3668 * ace/SString.h: Added the default value for the ACE_CString
3669 method set (const char *, int = 1). We had removed the default
3670 values from both the set() methods in order to remove an
3671 ambiguity. However, it appears that it's ok to give just this
3672 method a default value. Moreover, this prevents existing code
3673 from breaking. Thanks to Giga Giguashvili
3674 <[email protected]> and Ivan Murthy
3675 <[email protected]> for reporting this.
3676
3677 Sat Sep 25 17:09:57 1999 Carlos O'Ryan <[email protected]>
3678
3679 * ACE version 5.0.5 released.
3680
3681 Fri Sep 24 17:20:41 1999 Nanbor Wang <[email protected]>
3682
3683 * ace/config-kcc-common.h: KCC does support auto_ptr<T>::reset
3684 after 3.4. Made sure we don't define ACE_AUTO_PTR_LACKS_RESET
3685 for newer version of KCC. Thanks to Ossama for reporting the
3686 problem.
3687
3688 Fri Sep 24 08:59:13 1999 Douglas C. Schmidt <[email protected]>
3689
3690 * ace/config-sunos4-g++.h: Added ACE_HAS_DIRENT.
3691 Thanks to Kamen Penev <[email protected]> for reporting this.
3692
3693 * tests/Handle_Set_Test.cpp (test_boundaries): Added some casts
3694 and parens so that the code will compile with MSVC++ 5.0.
3695 Thanks to Carlos O'Ryan for reporting this.
3696
3697 * examples/Connection/blocking/SPIPE-{acceptor,connector}.cpp:
3698 Reformatted some of the code.
3699
3700 Fri Sep 24 08:27:28 1999 David L. Levine <[email protected]>
3701
3702 * ace/OS.*,Synch.cpp: reverted changes of:
3703
3704 Thu Sep 23 11:13:38 1999 Wei Chiang <[email protected]>
3705
3706 because Bug 342 proposes a more general fix.
3707
3708 Thu Sep 23 19:02:47 1999 Vishal Kachroo <[email protected]>
3709
3710 * examples/QOS/server.cpp (main):
3711 * examples/QOS/server.cpp (main):
3712
3713 Removed the instantiation of ACE_OS_Object_Manager from
3714 the above files. This is done automagically in ACE.
3715
3716 * examples/QOS/Sender_QOS_Event_Handler.h:
3717 Fixed a warning regarding the #def of MY_DEFPORT.
3718
3719 Thu Sep 23 14:12:58 1999 Carlos O'Ryan <[email protected]>
3720
3721 * bin/auto_compile:
3722 It was reporting success even when things failed.
3723
3724 Thu Sep 23 11:13:38 1999 Wei Chiang <[email protected]>
3725
3726 * ace/OS.*,Synch.cpp: Chorus compiler (g++) seems to be
3727 confused by "int" and "int&" in overloaded operations.
3728 A dummy variables to full Chorus compiler is added to
3729 cond_init (ACE_cond_t*, ACE_condattr_t&, LPCTSTR void*).
3730
3731 * include/makeinclude/rules.bin.GNU,platform_chorus.GNU:
3732 updated to support linking of TAO executables for Chorus.
3733
3734 Wed Sep 22 19:30:49 1999 Randall Sharo <[email protected]>
3735
3736 * ace/OS.i (sema_wait): on VxWorks, update tv to return
3737 the wait time. [Bug 339]
3738
3739 * ace/Synch.h (ACE_Semaphore::acquire): updated comment
3740 to show that the absolute acquisition time is returned,
3741 not the elapsed time while waiting.
3742
3743 Wed Sep 22 16:59:19 1999 Nanbor Wang <[email protected]>
3744
3745 * ace/config-win32-common.h: Added definition of
3746 ACE_AUTO_PTR_LACKS_RESET when ACE_HAS_STANDARD_CPP_LIBRARY is
3747 defined. Thanks to Ossama for the quick hint.
3748
3749 Wed Sep 22 13:05:55 1999 Jim Rogers <[email protected]>
3750
3751 * ace/Codeset_IBM1047.cpp: added #include "ace/inc_user_config.h"
3752 at the beginning, to properly pick up the ACE_MVS #define
3753 on MVS.
3754
3755 Wed Sep 22 11:20:39 1999 David L. Levine <[email protected]>
3756
3757 * ace/Basic_Types.h: use u_long for ptr_arith_t, even
3758 with 64-bit ints, with Sun CC. For unknown reasons,
3759 Sun CC 5.0 won't allow a reintepret cast of a 64-bit
3760 pointer to a 64-bit int (with -xtarget=ultra -xarch=v9a).
3761 Thanks to Giga Giguashvili <[email protected]> for
3762 reporting this.
3763
3764 1999-09-21 James CE Johnson <[email protected]>
3765
3766 * docs/tutorials/Makefile
3767 * docs/tutorials/???/*
3768 Added a number of notes about proper usage of THR_NEW_LWP and
3769 THR_DETACHED. Rebuilt all of the .html and .shar files. Probably
3770 touched too many along the way but better safe than sorry.
3771
3772 Tue Sep 21 21:56:10 1999 David L. Levine <[email protected]>
3773
3774 * docs/ACE-subsets.html: replaced absolute link to
3775 ../ACE-INSTALL.html#repo with a relative link. And,
3776 added "typically" to the 25 percent size reduction figure.
3777
3778 Tue Sep 21 16:49:36 1999 Douglas C. Schmidt <[email protected]>
3779
3780 * docs/ACE-subsets.html,ACE-INSTALL.html: Updated the document
3781 to point to the -frepo discussion. Thanks to Timothy Canham
3782 <[email protected]> for motivating this.
3783
3784 Tue Sep 21 16:07:26 1999 David L. Levine <[email protected]>
3785
3786 * docs/ACE-subsets.html: fixed size comparison chart; the
3787 For TAO entry was missing for SunOS 5.7/egcs 2.91.60.
3788 Thanks to Timothy Canham <[email protected]>
3789 for reporting this.
3790
3791 Tue Sep 21 15:34:16 1999 Douglas C. Schmidt <[email protected]>
3792
3793 * ace/Service_Config.cpp (process_directives_i): Added a fix
3794 so that the Service_Config allows one level of reentrancy.
3795 Thanks to Jonathan Reis <[email protected]> for
3796 suggesting this.
3797
3798 Tue Sep 21 11:35:57 1999 Douglas C. Schmidt <[email protected]>
3799
3800 * examples/Threads/tss1.cpp (main): Need to rearrange where the
3801 explicit template instantiations are to make certain compilers
3802 happy. Thanks to Jeffrey Franks <[email protected]> for
3803 reporting the problem.
3804
3805 * tests/Makefile.bor: Updated ACE tests makefile to build (almost)
3806 all of the tests. Thanks to Christopher Kohlhoff
3807 <[email protected]> for this fix.
3808
3809 * examples/Reactor/Misc/test_signals_2.cpp (main),
3810 * examples/Reactor/WFMO_Reactor/test_talker.cpp (STDIN_Handler):
3811 Preemptively fixed a couple more potential problems that might
3812 trigger the type of problem reported in the next entry below.
3813
3814 Tue Sep 21 11:41:33 1999 Ossama Othman <[email protected]>
3815
3816 * apps/Gateway/Gateway/Event_Channel.cpp (open):
3817 Changed cast style to make gcc 2.95.1 happy. Thanks to Jeffrey
3818 Franks <[email protected]> for reporting the problems.
3819
3820 Tue Sep 21 11:25:32 1999 Carlos O'Ryan <[email protected]>
3821
3822 * bin/auto_compile:
3823 Print the most recent ChangeLog entries in the log file.
3824 Report successful builds by default.
3825 Reformat email to make Darrell happier, btw, he made most of
3826 these suggestions.
3827
3828 Tue Sep 21 11:13:21 1999 Steve Huston <[email protected]>
3829
3830 * ace/streams.h: Added includes/using to pick up strstream for
3831 istrstream, ostrstream classes when ACE_HAS_STD_CPP_LIBRARY is set.
3832
3833 Tue Sep 21 09:38:20 1999 David L. Levine <[email protected]>
3834
3835 * tests/run_tests.lst: disabled Signal_Test. [Bug 309]
3836
3837 Tue Sep 21 08:33:21 1999 David L. Levine <[email protected]>
3838
3839 * ACE-INSTALL.html: use shared_libs=1, not shared_libs_only=1,
3840 to build shared libs on VxWorks. That avoids missing libACE.a,
3841 for example, when linking other libraries. Thanks to
3842 Uwe Landrock <[email protected]> for reporting this.
3843
3844 Mon Sep 20 10:52:37 1999 Douglas C. Schmidt <[email protected]>
3845
3846 * ACE-INSTALL.html: Clarified that the --unix flag must be given for
3847 Cygwin tools on Vxworks and NT. Thanks to Uwe Landrock
3848 <[email protected]> for reporting this.
3849
3850 Mon Sep 20 10:34:51 1999 Steve Huston <[email protected]>
3851
3852 * ACE-INSTALL.html: Fixed broken link to Riverace's HP-UX info.
3853 Thanks to Doug for finding this.
3854
3855 Sun Sep 19 12:48:31 1999 Douglas C. Schmidt <[email protected]>
3856
3857 * tests/Signal_Test.cpp: Only send outselves a signal if we're
3858 running the signal handler in a separate thread.
3859
3860 Sun Sep 19 10:39:30 1999 Douglas C. Schmidt <[email protected]>
3861
3862 * tests/Signal_Test.cpp: Changed the type of shut_down indicator from
3863 ACE_Atomic_Op<> to sig_atomic_t. This prevents some nasty
3864 deadlocks.
3865
3866 * tests/run_tests.lst: Reenabled Signal_Test so we can see if it's
3867 still working.
3868
3869 * tests/Signal_Test.cpp: Changed the worker_child() function so that
3870 just before its thread exits, it will sent its process a signal
3871 to the signal handling thread to dislodge it if it hasn't
3872 shutdown on its own accord yet. Thanks to David Levine for
3873 reporting this. This fixes [BUGID:309].
3874
3875 * ACE/Handle_Set.h: Updated the documentation to point out that it's
3876 the *caller's* responsibility to ensure handles aren't
3877 added/cleared from the set if their values are larger than
3878 ACE_DEFAULT_SELECT_REACTOR_SIZE. This behavior is necessary to
3879 ensure efficiency.
3880
3881 * tests/Handle_Set_Test.cpp (test_boundaries): Fixed the test so
3882 that it will correctly ignore any handle values >=
3883 ACE_DEFAULT_SELECT_REACTOR_SIZE. Thanks to David Levine for
3884 reporting this. This fixes [BUGID:315].
3885
3886 Sat Sep 18 18:49:31 1999 Jeff Parsons <[email protected]>
3887
3888 * ace/config-win32-borland.h:
3889 Undefined ACE_HAS_BROKEN_IMPLICIT_CONST_CAST as
3890 suggested by Christopher Kohlhoff <[email protected]>.
3891
3892 Sat Sep 18 17:31:52 1999 Douglas C. Schmidt <[email protected]>
3893
3894 * examples/QOS: Improved the conformance to ACE programming
3895 guidelines a bit.
3896
3897 * ace/Message_Block.cpp: Whenever a ACE_Message_Block accepts a
3898 ACE_Data_Block that was produced by someone else, it should
3899 verify that the allocator is non-NULL and if it is, then it
3900 should allocate the ACE_ALLOCATOR_RETURN on it. Thanks to
3901 Pierre Grondin <[email protected]> for reporting
3902 this.
3903
3904 * docs/tutorials/006: Fixed the activate() method so that it uses
3905 THR_DETACHED. Thanks to Shafiek Savahl
3906 <[email protected]> for reporting this.
3907
3908 Sat Sep 18 16:17:34 1999 Carlos O'Ryan <[email protected]>
3909
3910 * bin/auto_compile:
3911 The messages include the build name in the subject line. Thanks
3912 to Darrell for suggesting this idea.
3913
3914 Sat Sep 18 12:00:28 1999 Douglas C. Schmidt <[email protected]>
3915
3916 * ace/Message_Block.h: Changed all the ACE_Message_Block constructors
3917 so that the priority parameter defaults to
3918 ACE_DEFAULT_MESSAGE_BLOCK_PRIORITY, rather than 0. Thanks to
3919 Detlef Becker for this suggestion.
3920
3921 * ace/OS.h: Added a new macro called
3922 ACE_DEFAULT_MESSAGE_BLOCK_PRIORITY, which defaults to 0 but
3923 which can be overridden in a config.h file to a different value
3924 so it's possible to transparently choose default priorities that
3925 are > 0. Thanks to Detlef Becker <[email protected]>
3926 for this suggestion.
3927
3928 Fri Sep 17 19:49:15 1999 Kirthika Parameswaran <[email protected]>
3929
3930 * tests/Hash_Map_Manager_Test.cpp: Repositioned template
3931 instantiations and static variables to make the debug=0 build
3932 happy with SunCC5.0.
3933
3934 Fri Sep 17 15:34:46 1999 Nanbor Wang <[email protected]>
3935
3936 * ace/Malloc.cpp (dump):
3937 * ace/Malloc_T.cpp (dump): Enriched various dump methods a bit.
3938
3939 Thu Sep 16 17:53:57 CDT 1999 Loren Rittle <[email protected]>
3940
3941 * bin/update-ace+tao.sh: Added force option.
3942
3943 Thu Sep 16 17:43:02 CDT 1999 Loren Rittle <[email protected]>
3944
3945 * bin/update-ace+tao.sh: Improve portability.
3946
3947 Thu Sep 16 11:08:45 1999 Ossama Othman <[email protected]>
3948
3949 * ace/Makefile:
3950 * tests/Makefile:
3951
3952 Updated dependencies.
3953
3954 Wed Sep 15 21:42:08 1999 Carlos O'Ryan <[email protected]>
3955
3956 * ace/OS.h:
3957 Removed extra "typedef" in the declaration of the
3958 ACE_Protocol_Info structure, it was causing a large number of
3959 warnings in several platforms.
3960
3961 Wed Sep 15 15:08:33 1999 Ossama Othman <[email protected]>
3962
3963 * bin/run_all_list.pm:
3964
3965 Run the newly added TAO/tests/ORB_init/run_test.pl script when
3966 executing the ORB_init test.
3967
3968 Wed Sep 15 14:49:50 1999 Balachandran Natarajan <[email protected]>
3969
3970 * ace/Hash_Map_With_Allocator_T.h:
3971 * ace/Hash_Map_With_Allocator_T.i: Added a method unbind () which
3972 unbinds an entry by only taking a key.
3973
3974 Wed Sep 15 13:19:36 1999 Nanbor Wang <[email protected]>
3975
3976 * ace/Service_Config.cpp (process_directive): Added ace_yyrestart
3977 to make sure the service config parser has a valid buffer to
3978 work on. Thanks to Lothar Werzinger
3979 <[email protected]> for reporting this.
3980
3981 Wed Sep 15 10:50:21 1999 James Hu <[email protected]>
3982
3983 * ace/TP_Reactor.{cpp,h,i} (mask_ops): Fixed a problem where
3984 cancel_wakeup would fail. Since an event handler is suspended
3985 for the duration of the up-call, the wait_mask_ was being
3986 over-written by the suspend_mask_ when the event handler was
3987 resumed. This fixes the problem by extending TP_Reactor with
3988 its own implementations of mask_ops that operate on both
3989 wait_mask_ and suspend_mask_.
3990
3991 Wed Sep 15 10:14:21 1999 Ossama Othman <[email protected]>
3992
3993 * docs/exceptions.html:
3994
3995 Corrected some ACE_TRY_THROW examples. The exception being
3996 thrown must have a parameter list, even if it is empty
3997 (e.g.: ACE_TRY_THROW (CORBA::BAD_PARAM ());)
3998
3999 Tue Sep 14 22:10:24 1999 Kristopher Johnson <[email protected]>
4000
4001 * ace/Process_Manager.cpp (wait): changed array index from
4002 i to idx. Thanks to Dave Madden for confirming this fix.
4003
4004 Reverted this change:
4005 Tue Sep 14 16:01:04 1999 Christopher Kohlhoff <[email protected]>
4006 because it's no longer necessary.
4007
4008 Tue Sep 14 21:00:45 1999 Vishal Kachroo <[email protected]>
4009
4010 * ace/OS.h: Added a typedef for ACE_Protocol_Info for non-Win32
4011 platforms. Defined it as a struct (with limited fields) instead
4012 of u_long because applications using ACE_Protocol_Info on
4013 non-Win32 platforms expect this to be a structure instead of a
4014 u_long.
4015
4016 * ACE_wrappers/examples/QOS/Makefile: Added this for the test to
4017 compile on non-Win32 platforms.
4018
4019 * ACE_wrappers/examples/QOS/server.cpp:
4020 * ACE_wrappers/examples/QOS/client.cpp:
4021 * ACE_wrappers/examples/QOS/QosEvent.h:
4022 * ACE_wrappers/examples/QOS/Sender_QOS_Event_Handler.cpp:
4023
4024 Removed the last remains of win32isms from the test. The QoS
4025 test now compiles clean on non-Win32 platforms.
4026
4027 Tue Sep 14 17:49:33 1999 Luther J Baker <[email protected]>
4028
4029 * ace/Arg_Shifter.cpp (get_the_parameter): removed an errant
4030 return 0;
4031
4032 Tue Sep 14 16:01:04 1999 Christopher Kohlhoff <[email protected]>
4033
4034 * ace/Process_Manager.cpp (wait): moved declaration of
4035 loop index i out of the loop, because it is used outside
4036 the scope of the loop.
4037
4038 Tue Sep 14 15:03:21 1999 Ossama Othman <[email protected]>
4039
4040 * bin/run_all_list.pm:
4041
4042 Added ORB_init test to the list of tests to run.
4043
4044 * configure.in:
4045 * configure:
4046
4047 Do not define ACE_USE_POLL, even if system poll() works.
4048
4049 Tue Sep 14 11:02:06 1999 Balachandran Natarajan <[email protected]>
4050
4051 * ace/Hash_Map_With_Allocator_T.h:
4052 * ace/Hash_Map_With_Allocator_T.cpp:Added a find () method that
4053 would lookup at the underlying Hash_Map_Manager_Ex to do the
4054 find.
4055
4056 Sat Sep 11 12:18:22 1999 Douglas C. Schmidt <[email protected]>
4057
4058 * ace/Pipe.cpp: Make sure to use SOCK_STREAM rather than SOCK_DGRAM
4059 when creating a socketpair. Thanks to Dave Madden for reporting
4060 this.
4061
4062 Mon Sep 13 13:31:23 1999 Luther J Baker <[email protected]>
4063
4064 * ace/Arg_Shifter.cpp (get_the_parameter): continued -ORB parsing
4065 fixes. Allows one simple method to return a parameter value for
4066 defined flag is it exists.
4067
4068 Mon Sep 13 11:01:24 1999 Nanbor Wang <[email protected]>
4069
4070 * examples/Shared_Malloc/test_persistence.cpp: Added comments on
4071 the use of scanf. Thanks to Wenli Bai <[email protected]> for
4072 reporting the problem.
4073
4074 Sun Sep 12 19:23:51 1999 Nanbor Wang <[email protected]>
4075
4076 * ACE version 5.0.4 released.
4077
4078 Sat Sep 11 12:18:22 1999 Douglas C. Schmidt <[email protected]>
4079
4080 * ace/Process_Manager.cpp: Reverted the following change so that we
4081 just add a fake "friend" to keep G++ happy... Also, fixed a
4082 typo where we should have allocated an ACE_Managed_Process
4083 rather than an ACE_Process. Thanks to Dave Madden for reporting
4084 this.
4085
4086 * ace/Process_Manager.cpp: Added the ACE_CLASS_IS_NAMESPACE method
4087 to ACE_Managed_Process to make G++ happy. Also, removed the
4088 trailing '_' since we don't need this because we've prefixed
4089 "ACE_" already.
4090
4091 Fri Sep 10 16:58:34 1999 Nanbor Wang <[email protected]>
4092
4093 * ace/Malloc_T.cpp (open,shared_malloc): Added several placement
4094 new's if position independent malloc is enabled to avoid reading
4095 uninitialized memory.
4096
4097 Fri Sep 10 16:39:13 1999 Vishal Kachroo <[email protected]>
4098
4099 * examples/QOS/README:
4100 * examples/QOS/server.cpp:
4101 * examples/QOS/client.cpp:
4102 * examples/QOS/Sender_QOS_Event_Handler.h:
4103 * examples/QOS/Sender_QOS_Event_Handler.cpp:
4104
4105 Removed the Win32-isms from the above files and used cleaner ACE
4106 interfaces. Added a README file that describes the test.
4107
4108 Fri Sep 10 16:38:51 1999 Nanbor Wang <[email protected]>
4109
4110 * tests/WinCE/*.dsp: VC 6 changed all the dsp files format.
4111
4112 Fri Sep 10 11:20:47 1999 Douglas C. Schmidt <[email protected]>
4113
4114 * ace/SOCK_Acceptor.h,
4115 ace/SOCK_Connector.h: Updated the documentation to clarify what
4116 happens wrt blocking vs. non-blocking connects and accepts.
4117 Thanks to Jose Rubio <[email protected]> for motivating
4118 this change.
4119
4120 Thu Sep 9 16:27:56 1999 Douglas C. Schmidt <[email protected]>
4121
4122 * ace/Process_Manager,
4123 ace/Process: Added some new patches from Dave Madden to obtain
4124 greater control over the spawn() behavior.
4125
4126 Fri Sep 10 14:30:17 1999 Vishal Kachroo <[email protected]>
4127
4128 * ace/SOCK_Dgram_Mcast.i:
4129 * ace/SOCK_Dgram_Mcast.h:
4130
4131 Added two send () functions using overlapped I/O to the
4132 ACE_SOCK_Dgram_Mcast class. These simply call the parent
4133 class functions with the same signature. The recv () functions
4134 need not be added as there is currently no recv () function
4135 within SOCK_Dgram_Mcast class to hide any parent class recv ()
4136 functions.
4137
4138 Fri Sep 10 12:24:17 1999 Carlos O'Ryan <[email protected]>
4139
4140 * THANKS:
4141 Added Joerg Pommnitz to the list of contributors.
4142
4143 Thu Sep 9 22:48:56 1999 Darrell Brunsch <[email protected]>
4144
4145 * ace/config-hpux-10.x-hpc++.h:
4146 * ace/config-hpux-11.x-hpc++.h:
4147 Fixed spelling of ACE_PREPROCESSOR_ARGS to
4148 ACE_CC_PREPROCESSOR_ARGS.
4149
4150 Thu Sep 9 18:22:21 CDT 1999 Carlos O'Ryan <[email protected]>
4151
4152 * ace/Future.cpp:
4153 HP/aCC was giving bogus warning about function without a return
4154 statement (the function only has a throw).
4155
4156 Thu Sep 09 14:56:29 1999 David L. Levine <[email protected]>
4157
4158 * ACE-INSTALL.html: we now fully support QNX Neutrino 2.0.
4159
4160 * ACE-INSTALL.html: expanded repo=1 discussion. [Bug 248]
4161
4162 Thu Sep 09 13:21:03 1999 Nanbor Wang <[email protected]>
4163
4164 * ace/ace_ce.dsw:
4165 * ace/ace_ce_dll.dsp: Changed to use the project file format for
4166 CE Toolkit for VC 6.
4167
4168 * ace/config-WinCE.h: Added some macros definitons for POSIX error
4169 codes. They are removed for Palm-size CE v2.01. This
4170 configuration is still not working because its compilers don't
4171 support placement new, which I don't know how to work around.
4172
4173 * ace/Process_Manager.cpp (wait): Applied ASYS_TEXT macros.
4174
4175 * ace/OS.cpp (init,fini): Applied ACE_TEXT macros around error
4176 message print out.
4177 (print_error_message): Added a WinCE specialized
4178 implementation.
4179
4180 Thu Sep 09 12:45:06 1999 David L. Levine <[email protected]>
4181
4182 * ace/config-qnx-neutrino.h: added ACE_HAS_SIGISMEMBER_BUG.
4183 Sigset_Ops_Test passes with that.
4184
4185 Thu Sep 09 12:31:51 1999 David L. Levine <[email protected]>
4186
4187 * tests/Handle_Set_Test (handle_vector[]):
4188 limit the maximum handle in handle_vector to 31, 63, 127, and
4189 254 if ACE_DEFAULT_REACTOR_SIZE is less than or equal to
4190 32, 64, 128, and 256, respectively. [Bug 315]
4191
4192 Thu Sep 9 09:39:46 1999 Kirthika Parameswaran <[email protected]>
4193
4194 * etc/purify.solaris2: Added suppression for MLK due to OS accept
4195 call. [Bug 227]
4196
4197 Thu Sep 09 09:24:29 1999 David L. Levine <[email protected]>
4198
4199 * tests/run_tests.lst: disabled Signal_Test. [Bug 309]
4200
4201 Thu Sep 9 08:46:58 1999 Douglas C. Schmidt <[email protected]>
4202
4203 * tests/Lazy_Map_Manager_Test.cpp (main): ACEified this a bit
4204 and fixed a typo for the argv argument in main().
4205
4206 * Updated the ACE-mail.html file to put the *-request addresses
4207 first. Thanks to Lorin Hochstein <[email protected]> for this
4208 suggestion.
4209
4210 Wed Sep 08 23:01:22 1999 Nanbor Wang <[email protected]>
4211
4212 * examples/Service_Configurator/Misc/Timer_Service.h: Added
4213 ACE_Svc_Export specifiers.
4214
4215 * examples/Service_Configurator/Misc/Misc.dsw:
4216 * examples/Service_Configurator/Misc/Timer.dsp: Added a new
4217 project file for the dll file.
4218
4219 Wed Sep 08 22:19:47 1999 David L. Levine <[email protected]>
4220
4221 * ace/config-qnx-neutrino.h: added some magic to allow
4222 compilation to succeed when optimization is enabled,
4223 for x86 targets. The egcs 1.1.2 string.h #includes
4224 x86/string.h, which has anti-social #defines for
4225 memcmp, memcpy, and memset. Therefore, they can't be
4226 used as C++ member functions, such as in ACE_OS. The
4227 hack is to disable optimization just when #including
4228 string.h.
4229
4230 * include/makeinclude/platform_qnx_neutrino.GNU: default
4231 both optimize and repo to 1.
4232
4233 Wed Sep 8 17:25:07 1999 Douglas C. Schmidt <[email protected]>
4234
4235 * ace/OS.h (ACE_FACTORY_DEFINE): It shouldn't be necessary
4236 to use ACE_dynamic_cast() or ACE_static_cast() for the
4237 ACE_FACTORY_DEFINE macro because ACE_Service_Object's destructor
4238 is virtual. Thanks to Carlos for pointing this out.
4239
4240 Wed Sep 8 16:51:45 1999 Kirthika Parameswaran <[email protected]>
4241
4242 * ace/Acceptor.cpp (handle_close): Removed a unnecessary check
4243 for <concurrency_strategy_> which was causing UMR to occur.
4244
4245 Wed Sep 08 16:48:55 1999 David L. Levine <[email protected]>
4246
4247 * include/makeinclude/wrapper_macros.gnu (purify): moved
4248 -ignore-signals option to tests/Makefile, because that's
4249 where it's needed.
4250
4251 * tests/Makefile (purify): added SIGHUP and SIGTERM to
4252 -ignore-signals, to prevent warnings from Signal_Test.
4253 [Bug 309]
4254
4255 Wed Sep 8 15:58:07 1999 Douglas C. Schmidt <[email protected]>
4256
4257 * tests/Log_Msg_Test.cpp (test_ostream): Make sure to add 1
4258 to the buffer we allocate dynamically so we can put a NUL at the
4259 end of it! Thanks to David Levine for reporting this. [Bug 312]
4260
4261 * examples/Service_Configurator/Misc/main.cpp (main): Changed the
4262 test of the -f Service Configurator option so that it links two
4263 different svc.conf files to avoid reentrancy problems.
4264
4265 * examples/Service_Configurator/Misc/svc.conf: Revised this
4266 svc.conf file (and the application) to illustrate the use of
4267 both static *and* dynamic service. Thanks to Amir Bahmanyari
4268 <[email protected]> for motivating this.
4269
4270 Wed Sep 8 14:05:00 1999 Kirthika Parameswaran <[email protected]>
4271
4272 * ace/Log_Msg.cpp: Shifted the instantiations to the top to keep
4273 SunCC5.0 debug=0 build happy.
4274
4275 * tests/Cached_Accept_Conn_Test.cpp: Repositioned global
4276 declarations to ward off compilation errors on HP-UX.
4277
4278 Wed Sep 8 13:13:18 1999 Douglas C. Schmidt <[email protected]>
4279
4280 * ace/Process.h (ACE_Process): Made the spawn() method virtual
4281 so code can be executed just before and/or after the actual
4282 fork(). Thanks to Dave Madden for this fix.
4283
4284 Tue Sep 07 19:55:52 1999 Irfan Pyarali <[email protected]>
4285
4286 * ace/Map_Manager.h (ACE_Map_Manager): The old map manager (the
4287 one before the changes made to support the active map manager)
4288 used to allow deletion of entries from the map during iteration
4289 (note that this feature was accidental since typically changes
4290 to container invalidates the iterators). The new design did not
4291 support this "feature". However, some users had come to depend
4292 on this feature.
4293
4294 The solution was to delay the movement of freed slots from the
4295 occupied list to the free list until we run out of free slots in
4296 the free list when binding new entries into the map. However,
4297 this change requires additional state in each entry that keeps
4298 track of whether this entry has been freed. Also, the time
4299 required for binding new entries is less predictable since the
4300 bind may require moving of freed slots from the occupied list to
4301 the free list because of the initial lazy unbind.
4302
4303 Changes were also required to the Active_Map_Manager since it
4304 directly depends on the internals of the Map_Manager.
4305
4306 Since this lazy feature is not required in the majority of cases
4307 and results in increased memory consumption, this feature is
4308 only support if ACE_HAS_LAZY_MAP_MANAGER is defined.
4309
4310 A new test Lazy_Map_Manager_Test.cpp was added to check the new
4311 changes.
4312
4313 Thanks for Dr. Schmidt for helping with this solution and to
4314 Murphy Ivan <[email protected]> for pointing out this
4315 problem.
4316
4317 Bug fixed: id 228.
4318
4319 Tue Sep 7 15:19:33 1999 Douglas C. Schmidt <[email protected]>
4320
4321 * tests/Log_Msg_Test.cpp (test_ostream): NUL-terminated the buffer
4322 to avoid an array bounds overflow! Thanks to David Levine for
4323 reporting this.
4324
4325 Tue Sep 7 12:38:37 1999 Darrell Brunsch <[email protected]>
4326
4327 * tests/Reactor_Timer_Test.cpp: Purify was showing an UMR in
4328 test_registering_one_handler(). This was because Time_Handler
4329 didn't have a constructor that initialized its timer_id_ member
4330 and it wasn't being set in this method (like the others). I
4331 added a default constructor to Time_Handler. [Bug 249]
4332
4333 Tue Sep 7 08:04:41 1999 Douglas C. Schmidt <[email protected]>
4334
4335 * ace/OS.i (isatty): Fixed this code so that it doesn't use
4336 osf_handle() anymore on NT, but instead just casts the
4337 ACE_HANDLE to an int. Thanks to Mark Winrock
4338 <[email protected]> for suggesting this fix and
4339 testing it out.
4340
4341 * tests/run_tests.lst: Added Signal_Test.
4342
4343 1999-09-07 Douglas C. Schmidt <[email protected]>
4344
4345 * tests/Signal_Test.cpp (main): Fixed the test so that it won't
4346 try to run the "synchronous signal handler in a separate thread"
4347 on Linux because Linux threads are non-standard wrt signals.
4348
4349 Mon Sep 6 21:19:27 1999 Douglas C. Schmidt <[email protected]>
4350
4351 * tests/Signal_Test.cpp (run_test): Added an ACE_UNUSED_ARG
4352 for the synchronous_signal_handler pointer-to-function for the
4353 case where ACE_HAS_THREADS is disabled. Otherwise, we get a
4354 warning.
4355
4356 Mon Sep 6 18:47:18 1999 Darrell Brunsch <[email protected]>
4357
4358 * ace/Process_Manager.h: Moved handle_signal outside of a !defined
4359 ACE_WIN32 block and moved handle_input inside of it, and this
4360 fixes some errors on MSVC.
4361
4362 Mon Sep 6 14:19:14 1999 Douglas C. Schmidt <[email protected]>
4363
4364 * tests/Reactor_Notify_Test.cpp (main): Added a hyphen to
4365 the ACE_DEBUG printout "with timeout =" so that it says "with
4366 time-out =" to avoid confusing the run_tests.sh script! Thanks
4367 to David Levine for reporting this.
4368
4369 * ace/Process_Manager.cpp: Integrated more patches from
4370 Dave Madden <[email protected]> so that the correct
4371 register_handler() method is used on Win32.
4372
4373 Mon Sep 06 15:05:17 1999 David L. Levine <[email protected]>
4374
4375 * ace/Makefile: moved ACELIB setting (to null) to before include
4376 of rules.lib.GNU. That way, rules.lib.GNU can use the value of
4377 $(ACELIB) to determine whether the ACE library object files
4378 should be linked into the library, with repo=1. [Bug 248]
4379
4380 * include/makeinclude/rules.lib.GNU: with repo=1 when building
4381 static libs, except for libACE, include all of the ACE lib's
4382 object files. The prevents multiple instantiations, by GNU
4383 repo, of templates that are used in the ACE library. See the
4384 gcc info pages, Template Instantiation node, for more information.
4385 [Bug 248]
4386
4387 Mon Sep 6 08:45:31 1999 Douglas C. Schmidt <[email protected]>
4388
4389 * examples/Reactor/WFMO_Reactor: Cleaned up some of the coding in
4390 the examples.
4391
4392 * ace/Profile_Timer.cpp: Reformatted the code a bit.
4393
4394 * examples/Threads/process_manager.cpp (main): Fixed some warnings
4395 and errors. Thanks to David for reporting this.
4396
4397 * ace/OS.i: Fixed ACE_UNUSED_ARG(options) to be
4398 ACE_UNUSED_ARG(wait_options). Thanks to David's build logs for
4399 reporting this.
4400
4401 * tests/Signal_Test.cpp: Changed the types of parameters passed
4402 to run_test() from int to long so that we can safely cast them
4403 to and from void *'s. Thanks to David Levine for pointing this
4404 out.
4405
4406 * ace/Process_Manager.cpp (notify_proc_handler): Removed
4407 the now unused parameter h. Thanks to David for pointing this
4408 out.
4409
4410 Mon Sep 06 07:25:01 1999 David L. Levine <[email protected]>
4411
4412 * ace/OS.h: added ACE_Export to ACE_OS_Exit_Info class
4413 declaration. It shouldn't be necessary, but
4414 Dmitry Goldshtain <[email protected]> reports that
4415 Builder 4 needs it.
4416
4417 Mon Sep 06 03:31:34 1999 Nanbor Wang <[email protected]>
4418
4419 * tests/Signal_Test.cpp (run_test): Removed a redundant use of
4420 ACE_UNUSED_ARG (synchronous_signal_handler). Thanks to KCC 3.3e
4421 for pointing this out.
4422
4423 Mon Sep 6 01:03:03 1999 Douglas C. Schmidt <[email protected]>
4424
4425 * examples/Threads/Makefile (BIN): Added process_manager.cpp
4426 back into the list of programs that get built automagically.
4427
4428 * ace/Process_Manager: Added some new patches from Dave Madden
4429 <[email protected]> that continue to improve the
4430 ACE_Process_Manager and make it portable between NT and UNIX.
4431
4432 * examples/Threads: Readded process_manager.cpp now that
4433 Dave Madden <[email protected]> has updated it.
4434
4435 Sun Sep 05 23:52:16 1999 Nanbor Wang <[email protected]>
4436
4437 * ace/OS.h (WIFEXITED,WEXITSTATUS): On platforms that do not
4438 define these macros, we should always assume the child process
4439 exit properly because the return status does not tell us how the
4440 process exited. Likewise, the WEXITSTATUS macro should simply
4441 return the status we got from ACE_OS::wait because it only
4442 contains the exit status of child process.
4443
4444 Sun Sep 5 23:40:25 1999 Douglas C. Schmidt <[email protected]>
4445
4446 * examples/QOS: Continued to improve the coding style so it'll
4447 look like normal "ACE" code.
4448
4449 Sun Sep 05 21:32:40 1999 David L. Levine <[email protected]>
4450
4451 * ace/Synch.cpp: removed unnecessary #include of ace/Object_Manager.h.
4452
4453 1999-09-05 Vishal Kachroo <[email protected]>
4454
4455 Made the receiver of QOS test portable by removing
4456 Win32-isms from it. Files modified :
4457
4458 * examples/QOS/QosEvent.h:
4459 * examples/QOS/server.cpp:
4460
4461 Sun Sep 5 13:40:18 1999 Michael Kircher <[email protected]>
4462
4463 * ace/ACE.cpp: Made the status code to be of type
4464 ACE_exitcode instead of int. This is necessary
4465 because of the change on waitpid ().
4466
4467 Sun Sep 5 10:59:18 1999 Douglas C. Schmidt <[email protected]>
4468
4469 * ace/Process.i (wait): Removed the ACE_static_cast() Michael
4470 had added recently because the change below makes it
4471 unnecessary.
4472
4473 * ace/OS.h (ACE_OS): Modified the 3-arg wait() and the waitpid()
4474 methods to take an ACE_exitcode* rather than int* so this will
4475 work on Win32.
4476
4477 * ace/Log_Msg.cpp: Added a new explicit template instantiation
4478 for template class
4479
4480 ACE_Guard<ACE_Reverse_Lock<ACE_Recursive_Thread_Mutex> >;
4481
4482 to fix compiler errors that showed up with EGCS.
4483
4484 * tests/Signal_Test.cpp (run_test): Added ACE_UNUSED_ARG macros
4485 for several symbols that aren't used when the test is compiled
4486 single threaded.
4487
4488 Sat Sep 05 02:05:00 1999 Michael Kircher <[email protected]>
4489
4490 * ace/OS.cpp: Fixed a missing "#else".
4491
4492 * ace/Process.i,
4493 ace/Process_Manager.h,
4494 ace/Process_Manager.cpp:
4495 Fixed an "int" versus "ACE_exitcode" conversion
4496 problem.
4497
4498 Sat Sep 4 23:37:29 1999 Douglas C. Schmidt <[email protected]>
4499
4500 * ace/config-win32-common.h: Missing a '&&' that was causing
4501 problems on Win32. Thanks to Michael Kircher
4502 <[email protected]> for reporting this.
4503
4504 Sat Sep 04 20:24:32 1999 David L. Levine <[email protected]>
4505
4506 * ace/Handle_Gobbler.i (close_remaining_handles,free_handles):
4507 moved the function definitions ahead of their first use in
4508 the file.
4509
4510 Sat Sep 04 20:17:49 1999 David L. Levine <[email protected]>
4511
4512 * ace/Pipe.cpp (open): added ACE_UNUSED_ARG (buffer_size)
4513 for all platforms that #define ACE_LACKS_SOCKET_BUFSIZ.
4514
4515 Sat Sep 4 14:43:36 1999 Douglas C. Schmidt <[email protected]>
4516
4517 * tests/Signal_Test.cpp: Finished off the test so that it now
4518 works for all the various combinations of synchronous and
4519 asynchronous tests. Now, to make it work on Linux...
4520
4521 * ace/OS.h: The use of ACE_static_cast in the ACE_FACTORY_DEFINE macro
4522 didn't make any sense, so I've replaced it with
4523 ACE_dynamic_cast.
4524
4525 * ace/Process_Manager.*,
4526 * ace/Process.*,
4527 * ace/OS.h:
4528 Created a new typedef called ACE_exitcode that factors out the
4529 difference between Win32 and UNIX exit codes from wait()
4530 operations. Thanks to Dave Madden <[email protected]> for
4531 suggesting this.
4532
4533 Sat Sep 04 12:22:38 1999 David L. Levine <[email protected]>
4534
4535 * ace/OS.i (shm_open,close,filesize,ftruncate,mmap): moved
4536 these functions up in the file so that they're defined before
4537 being used by ACE_OS::sema_init ().
4538
4539 Fri Sep 3 11:57:24 1999 Douglas C. Schmidt <[email protected]>
4540
4541 * ace/Event_Handler.h (ACE_Event_Handler): Added the new
4542 handle_exit() method, which is called by the ACE_Process_Manager
4543 when a process exits. Thanks to Dave Madden <[email protected]>
4544 for contributing this.
4545
4546 * ace/Process.*,
4547 ace/Process_Manager.*: Integrated a new round of changes from
4548 Dave Madden <[email protected]> that factor out most of the
4549 remaining differences between Win32 and UNIX.
4550
4551 * ace/OS.h,
4552 * ace/config-win32-common.h: Added a #ifndef for __IBMCPP__ to
4553 make things work for Visual Age C++. Thanks to Boris Kaminer
4554 <[email protected]> for reporting this.
4555
4556 * ace/{ACE,OS}: Added ACE_HAS_UNICODE to conditionally compile the
4557 strnew() definition. Thanks to Boris Kaminer
4558 <[email protected]> for reporting this.
4559
4560 * ace: Added a new optimized ace-dll.icc file so that ACE will
4561 build better with IBM's Visual Age C++. Thanks to Boris Kaminer
4562 <[email protected]> for contributing this.
4563
4564 * ace/OS.h,
4565 * ace/config-win32-common.h: Added a #ifndef for __IBMCPP__ to
4566 make things work for Visual Age C++. Thanks to Boris Kaminer
4567 <[email protected]> for reporting this.
4568
4569 * ace/{ACE,OS}: Added ACE_HAS_UNICODE to conditionally compile the
4570 strnew() definition. Thanks to Boris Kaminer
4571 <[email protected]> for reporting this.
4572
4573 * ace: Added a new optimized ace-dll.icc file so that ACE will
4574 build better with IBM's Visual Age C++. Thanks to Boris Kaminer
4575 <[email protected]> for contributing this.
4576
4577 1999-09-03 Vishal Kachroo <[email protected]>
4578
4579 * ace/OS.i:
4580 * ace/OS.h: Added a new overloaded ACE_OS::ioctl () function that
4581 takes in ACE_QoS as one of the parameters, constructs a windows
4582 QOS from it and passes it to WSAIoctl (). This function can be
4583 used when the I/O control code is SIO_SET_QOS.
4584
4585 Fri Sep 3 14:58:51 1999 Darrell Brunsch <[email protected]>
4586
4587 * config-aix-4.x.h:
4588 * config-hpux-10.x-hpc++.h:
4589 * config-hpux-11.x-hpc++.h:
4590 * config-mvs.h:
4591 * config-win32-borland.h:
4592 * config-win32.h:
4593 Moved many of the preprocessor information for various
4594 platforms from TAO_IDL to here (in ACE_CC_PREPROCESSOR and
4595 ACE_CC_PREPROCESSOR_ARGS).
4596
4597 Fri Sep 3 13:52:43 1999 Carlos O'Ryan <[email protected]>
4598
4599 * bin/auto_compile:
4600 Fixed the implementation of the -dont_run option.
4601
4602 Fri Sep 3 09:05:20 1999 Kirthika Parameswaran <[email protected]>
4603
4604 * ace/Containers_T.cpp (delete_nodes): Removed the redundant check
4605 which was verifying that <cur_size_> was always > 0. But
4606 <cur_size_> itself is unsigned so thsi check was redundant
4607 causing warnings with egcs.
4608
4609 Thu Sep 2 23:54:49 1999 Nanbor Wang <[email protected]>
4610
4611 * ace/Containers_T.h (class ACE_Double_Linked_List): Added more
4612 comments to stress that this is not a general purpose container
4613 class. Thanks to Rusty Conover <[email protected]> for
4614 suggesting this.
4615
4616 Thu Sep 2 18:39:23 1999 Douglas C. Schmidt <[email protected]>
4617
4618 * ace/Process_Manager.cpp (handle_close): Did a better job of
4619 fixing the use of ACE_UNUSED_ARG to make EGCS happy.
4620
4621 Thu Sep 2 12:21:41 1999 Douglas C. Schmidt <[email protected]>
4622
4623 * ace/Select_Reactor_Base: Renamed the notify_set_, alloc_set_,
4624 and free_set_ to *_queue_ since that's what they really are!
4625
4626 Thu Sep 2 17:42:22 1999 Carlos O'Ryan <[email protected]>
4627
4628 * ace/Malloc_T.cpp:
4629 Eliminated UMR problem with the position independent malloc
4630 support. Thanks to Doug for figuring this stuff out.
4631
4632 Thu Sep 2 12:21:41 1999 Douglas C. Schmidt <[email protected]>
4633
4634 * tests/Log_Msg_Test.cpp (test_log_msg_features): Changed the
4635 use of %p to prevent an error message from being printed that'll
4636 confuse the run_tests script.
4637
4638 * Just added the 700th non-DOC group individual who has contributed
4639 to ACE+TAO over the years. In the last year, we've gone from
4640 400 to 700 contributors, which is great!
4641
4642 * tests/CDR_File_Test.cpp (main): Fixed a signed/unsigned warning
4643 and removed the unreferenced argc/argv parameters.
4644
4645 * tests{run_tests.lst,Makefile}: Added the new ACE_Log_Msg.cpp
4646 test.
4647
4648 * tests: Added a new test called Log_Msg_Test.cpp. This exercises
4649 the many features of the ACE_Log_Msg class.
4650
4651 * tests/Object_Manager_Test.cpp (main): Just reformatted some
4652 stuff.
4653
4654 Thu Sep 2 14:42:31 1999 Kirthika Parameswaran <[email protected]>
4655
4656 * tests/Cached_Accept_Conn_Test.cpp: Repositioned
4657 ACE_HAS_BROKEN_EXTENDED_TEMPLATES macro before the inclusion of
4658 the header since thats where the typedefs had been shifted.
4659 Also, to keep both gcc2.7.3 and sunCC5.0 w.o debugging symbols
4660 happy it was necessary to move the definitions of
4661 <Accept_Startegy> methods before the instantiations.
4662
4663 Thu Sep 2 12:21:41 1999 Douglas C. Schmidt <[email protected]>
4664
4665 * ace/OS.h: Added an ACE_static_cast in the ACE_FACTORY_DEFINE macro
4666 to let the compiler catch "bad casts," i.e., when X isn't allow
4667 to be cast from an ACE_Service_Object. Thanks to Jody Hagins
4668 for suggesting this.
4669
4670 * ace/config-win32-common.h: Deleted
4671
4672 #define ACE_LACKS_STRPTIME
4673
4674 and added
4675
4676 #define ACE_HAS_STRPTIME
4677 #define ACE_LACKS_NATIVE_STRPTIME
4678
4679 In addition, I removed the wday and yday stuff in
4680 ACE_OS::strptime(). Thanks to Kevin Lyda
4681 <[email protected]> for suggesting this.
4682
4683 * ace/OS.h: Make sure to add a cast to ACE_Service_Object * in the
4684 ACE_FACTORY_DEFINE macro so that the offset will be corrected
4685 automagically. Thanks to Eric C. Newton <[email protected]> for
4686 reporting this and suggesting a fix.
4687
4688 * ace/Log_Msg: Modified the msg_callback(ACE_Log_Msg_Callback *)
4689 method to return the existing ACE_Log_Msg_Callback * so we can
4690 support "chaining".
4691
4692 * ace/Log_Msg.cpp: Added explicit template instantiations for
4693 ACE_Reverse_Lock.
4694
4695 * ace/Log_Msg.cpp: Changed the implementation described below to
4696 use an ACE_Reverse_Lock, which is cool ;-). Thanks to Carlos
4697 for explaining how this worked.
4698
4699 * ace/Log_Msg.cpp: Don't hold the lock during a msg_callback() to
4700 avoid deadlock. Thanks to Matthew Davis
4701 <[email protected]> for reporting this.
4702
4703 * tests/Cached_Accept_Conn_Test.cpp: Removed a "static" from
4704 int debug so that the friggin' SunC++ compiler will link...
4705
4706 Thu Sep 02 11:04:18 1999 David L. Levine <[email protected]>
4707
4708 * bin/check_build_logs: added /dev/null to egrep invocation
4709 so that it always shows the file name. Thanks to Doug for
4710 reporting this.
4711
4712 Thu Sep 02 11:02:25 1999 David L. Levine <[email protected]>
4713
4714 * ace/config-qnx-neutrino.h: added ACE_LACKS_SOCKET_BUFSIZ.
4715
4716 Thu Sep 2 08:56:39 1999 Jeff Parsons <[email protected]>
4717
4718 * ace/CDR_Stream.h:
4719 * ace/CDR_Stream.i:
4720 Added << and >> operators for ACE_CDR::Char. These are not
4721 to be used by TAO or the IDL compiler, they are solely for
4722 use with the ACE library, so that 1-byte values can be
4723 streamed without using the CORBAisms to_char and from_char.
4724 Otherwise, if a 1-byte value were on the rhs of a CDR operator,
4725 the compiler will probably promote the operator to the one
4726 using ACE_CDR::Short, which is not at all what we want.
4727
4728 Wed Sep 1 21:37:59 1999 Douglas C. Schmidt <[email protected]>
4729
4730 * tests/Makefile (BIN): Added the new CDR_File_Test.cpp to
4731 the list of files that are automatically built. Also, added
4732 this to run_tests.lst.
4733
4734 * tests: Added a new test called CDR_File_Test, which
4735 exercises the ACE_CDR_Stream features in conjunction with file
4736 I/O. Thanks to Giga Giguashvili <[email protected]>.
4737
4738 * tests/CDR_Test.cpp: Moved the main() function to the end
4739 of the file.
4740
4741 * ace/OS.i: Moved the new ACE_OS::filesize() method down in
4742 this file until *after* the ACE_OS::close() method to prevent a
4743 "used before being inlined" error on DU. Thanks to David for
4744 reporting this.
4745
4746 Wed Sep 1 20:41:03 1999 Carlos O'Ryan <[email protected]>
4747
4748 * tests/run_tests.lst:
4749 Disabled the Time_Service_Test, it was crashing the parent
4750 process.
4751
4752 Wed Sep 01 19:46:30 1999 David L. Levine <[email protected]>
4753
4754 * bin/check_build_logs: allow log directory (-l option argument)
4755 to start with anything except -.
4756
4757 Wed Sep 1 17:15:25 1999 Kirthika Parameswaran <[email protected]>
4758
4759 * ace/Arg_Shifter.cpp (get_current_parameter): Removed egcs
4760 warnings by making <difference> int and also cleaned up the
4761 code.
4762
4763 Wed Sep 1 15:51:41 1999 Douglas C. Schmidt <[email protected]>
4764
4765 * examples/Timer_Queue/Thread_Timer_Queue_Test.cpp: Fixed a typo
4766 where ACE_reinterpret_cast() was misspelled. Thanks to
4767 David for reporting this.
4768
4769 * examples/QOS/server.cpp: "ACE"-ified this example.
4770
4771 * ace/OS: Added a new method called ACE_OS::filesize() that
4772 takes a LPCTSTR so that we can pass a file name to this.
4773
4774 * ace/config-win32-borland.h: Changed ACE_CC_COMPILER to
4775 CPP32.EXE on the recommendation of Christopher Kohlhoff
4776 <[email protected]>.
4777
4778 * ace/Synch.h: Updated the documentation of ACE_Semaphore::remove()
4779 to clarify that it should only be called by one thread to avoid
4780 race conditions. Thanks to Clarence Bishop
4781 <[email protected]> for mentioning this.
4782
4783 1999-09-01 Vishal Kachroo <[email protected]>
4784
4785 * ACE_wrappers/ace/OS.h:
4786 * ACE_wrappers/ace/OS.i:
4787 Added a wrapper ACE_OS::enum_protocols () for WSAEnumProtocols().
4788 Tested this function with the ACE QOS test.
4789
4790 * examples/QOS/client.cpp:
4791 * examples/QOS/server.cpp:
4792 Replaced the occurences of WSAEnumProtocols with
4793 ACE_OS::enum_protocols () and successfully ran the QOS test.
4794
4795 Wed Sep 1 15:51:41 1999 Douglas C. Schmidt <[email protected]>
4796
4797 * ace/OS.i: Ensure that ACE_OS::localtime_r() does the "Right
4798 Thing"[TM], i.e., returns the pointer in the buffer provided by
4799 the user, even if there's no native support for localtime_r() on
4800 the OS platform. In addition, added an ACE_OS_GUARD for this
4801 use-case so that we don't have race conditions in MT programs.
4802 This necessitated moving the localtime_r() wrapper facade into
4803 the OS.cpp file. Thanks to Jody Hagins <[email protected]> for
4804 these suggestions.
4805
4806 * ace/SV_Semaphore_Complex: Improved the documentation a bit
4807 based on comments from Herbert <[email protected]>.
4808
4809 Wed Sep 1 15:15:00 1999 Luther Baker <[email protected]>
4810
4811 * ace/Arg_Shifter.h: Added function (get_current_parameter(offset)
4812 to return parameters that may be mangled with flags.
4813
4814 * ace/Arg_Shifter.cpp: Implemented function above.
4815
4816 Wed Sep 1 14:50:48 1999 Nanbor Wang <[email protected]>
4817
4818 * ace/OS.h: Added definitions for _O_BINARY, _O_TEXT, and _O_RAW
4819 if they are not defined. Thanks to Kevin Lyda
4820 <[email protected]> for pointing this out.
4821
4822 Wed Sep 1 14:30:58 1999 Darrell Brunsch <[email protected]>
4823
4824 * ace/Process_Manager.cpp: Typo fixed.
4825
4826 Wed Sep 1 11:18:26 1999 Douglas C. Schmidt <[email protected]>
4827
4828 * tests/Reactor_Notify_Test.cpp: Fixed an erroneous use of =
4829 rather than != and added another pair of explicit template
4830 instantiations for ACE_Auto_Basic_Ptr<>. Thanks to Carlos for
4831 reporting this.
4832
4833 * ace/Process_Manager.cpp (handle_close): Removed a warning
4834 about unused parameter. Thanks to David for reporting this.
4835
4836 * tests/Reactor_Notify_Test.cpp: I needed to add
4837
4838 #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
4839
4840 rather than
4841
4842 #else
4843
4844 Wed Sep 01 11:55:31 1999 Steve Huston <[email protected]>
4845
4846 * ace/CORBA_Handler.{h cpp} (ACE_ST_CORBA_Handler): Made the
4847 ACE_ST_CORBA_Handler instance get cleaned up via object manager
4848 at rundown, giving it a chance to clean up it's reactor
4849 registrations and reset its Orbix callbacks. Also added a new
4850 capability of allowing the ACE_ST_CORBA_Handler to daisy-chain
4851 the Orbix callbacks - this is only enabled if
4852 ACE_TAKEOVER_ORBIX_CALLBACKS is set in the config.h file, and
4853 its use is highly discouraged unless you really know what you're
4854 doing and can account for all of the callbacks.
4855
4856 Wed Sep 1 11:18:26 1999 Douglas C. Schmidt <[email protected]>
4857
4858 Thanks to David for reporting this.
4859
4860 * tests/run_tests.lst: Disabled the Process_Manager_Test
4861 until it's stable. Thanks to David for reporting this.
4862
4863 Wed Sep 1 00:05:04 1999 Douglas C. Schmidt <[email protected]>
4864
4865 * ace/config-win32-borland.h: Added a #define for ACE_CC_COMPILER
4866 so that things will work properly on Borland. Thanks to
4867 Goldshtain Dmitry <[email protected]> and Adrian
4868 Mercieca <[email protected]> for reporting this.
4869
4870 Wed Sep 01 10:45:15 1999 David L. Levine <[email protected]>
4871
4872 * ace/OS.{h,cpp} (ACE_OS_Object_Manager::init,fini): replaced
4873 use of ACE_ERROR with a new, private method (print_error_message).
4874 If one of the operations in init () fails, then the Log_Msg
4875 instance might not work properly. Thanks to Alain Magloire
4876 <[email protected]> for noting this.
4877
4878 print_error_message also consolidates the common const char
4879 strings into one place. This entire changes reduces the size
4880 of OS.o by about 900 bytes.
4881
4882 Wed Sep 1 00:05:04 1999 Douglas C. Schmidt <[email protected]>
4883
4884 * tests/Reactor_Notify_Test.cpp: Only run the iterations in
4885 this test for 2000 times, not 10000 times.
4886
4887 Wed Sep 1 07:41:58 1999 Jeff Parsons <[email protected]>
4888
4889 * ace/Process_Manager.cpp (wait):
4890 An ACE_NEW_RETURN needed ACE_INVALID_PID for the return
4891 value instead of ACE_INVALID_HANDLE.
4892
4893 Wed Sep 1 00:05:04 1999 Douglas C. Schmidt <[email protected]>
4894
4895 * tests/Process_Manager_Test.cpp: Made some minor changes in
4896 this test so that it'll compile. We still need to update it so
4897 it'll run correctly with the new version of ACE_Process_Manager,
4898 however.
4899
4900 * ace/Process_Manager: Integrated the latest and greatest
4901 ACE_Process_Manager from Dave Madden <[email protected]>. This
4902 should now work relatively transparently on all OS platforms
4903 that support processes. We'll be adding a new
4904 Process_Manager_Test.cpp shortly...
4905
4906 * tests/Reactor_Notify_Test.cpp: Modified this test to exercise
4907 the new user-level notification queueing in the ACE_Reactor.
4908
4909 Tue Aug 31 16:05:14 1999 Douglas C. Schmidt <[email protected]>
4910
4911 * ace/Process_Manager.cpp (handle_close): Added an ACE_UNUSED_ARG
4912 to keep the compiler from warning that the "handle" parameter
4913 isn't used.
4914
4915 * ace/OS.h: Added a new #defined called
4916 ACE_REACTOR_NOTIFICATION_ARRAY_SIZE that designates the size of
4917 the array of ACE_Notification_Buffers used by the new Reactor
4918 user-level notification queue feature.
4919
4920 * ace/Select_Reactor_Base: Added support for a user-level
4921 notification queue that can buffer very large amounts of pending
4922 notifications, i.e., well beyond the 64 kbyte limit imposed by
4923 the use of a socket. This feature is only enabled if
4924 ACE_HAS_REACTOR_NOTIFICATION_QUEUE is enabled in a config.h
4925 file. Thanks to Detlef Becker <[email protected]>
4926 for suggesting this and contributing a prototype implementation.
4927
4928 Tue Aug 31 20:10:49 1999 Yamuna Krishnamurthy <[email protected]>
4929
4930 * ace/OS.h: Added the ACE_HAS_NO_THROW_SPEC check in order to
4931 suppress the generation of throw specs to placate some compilers
4932 and make it easier for CORBA developers to by lazy wrt C++
4933 exception throw specs ;-). Thank to Andreas Geisler
4934 <[email protected]> for suggesting this addition
4935
4936 1999-08-31 Vishal Kachroo <[email protected]>
4937
4938 Modified the ACE GQoS test to use a single handler registered
4939 for QOS_MASK|READ_MASK instead of two separate handlers. Had to
4940 remove the following files and add other files.
4941
4942 * ACE_wrappers/examples/QOS/QOS_Event_Handler.cpp
4943 * ACE_wrappers/examples/QOS/Read_Handler.h
4944 * ACE_wrappers/examples/QOS/QOS_Event_Handler.h
4945 * ACE_wrappers/examples/QOS/Read_Handler.cpp
4946
4947 Added the following files :
4948
4949 The Sender event handler is only registered for QOS events. It
4950 uses the ACE_OS::sendto () as soon as it receives a QOS event.
4951
4952 * ACE_wrappers/examples/QOS/Sender_QOS_Event_Handler.cpp
4953 * ACE_wrappers/examples/QOS/Sender_QOS_Event_Handler.h
4954
4955 The Receiver event handler is registered for both QOS as well as
4956 READ events since it has to initially wait for a PATH RSVP
4957 message from the sender (QOS event, finally!!) and then read
4958 from the same QOS enabled socket.
4959
4960 * ACE_wrappers/examples/QOS/Receiver_QOS_Event_Handler.cpp
4961 * ACE_wrappers/examples/QOS/Receiver_QOS_Event_Handler.cpp
4962
4963 The client and server have been modified to subscribe to the
4964 same multicast session. The RSVP SP on the receiver side sends
4965 RESV messages at the earliest indication of QOS parameters AND
4966 existence of a matching PATH state. This state is found only if
4967 a multicast socket has been created (by the sender) with a
4968 matching "multicast session" address.
4969
4970 * ACE_wrappers/examples/QOS/server.cpp:
4971 * ACE_wrappers/examples/QOS/client.cpp:
4972
4973 Modified the following to incorporate the removal and addition
4974 of files listed above.
4975
4976 * ACE_wrappers/examples/QOS/QOS.dsw
4977 * ACE_wrappers/examples/QOS/client.dsp
4978 * ACE_wrappers/examples/QOS/server.dsp
4979
4980 Tue Aug 31 16:05:14 1999 Douglas C. Schmidt <[email protected]>
4981
4982 * ace/Malloc_T,
4983 * ace/Malloc: For historical reasons, we'd had a nested class
4984 called ACE_Malloc_Control_Block within ACE_Malloc_Header. This
4985 was redundant and confusing, so I merged the fields of
4986 ACE_Malloc_Control_Block into ACE_Malloc_Header. In addition, I
4987 also added a constructor that initialized the fields to 0 so
4988 that we won't have problems with Purify complaining about
4989 uninitialized memory reads. Thanks to Carlos for reporting
4990 this.
4991
4992 Tue Aug 31 15:54:56 1999 Douglas C. Schmidt <[email protected]>
4993
4994 * ace/Process_Manager.h: There was a bizarre default value
4995 for the pid parameter, which was helping to cause ambiguity
4996 warnings from the C++ compiler. I've removed this.
4997
4998 Tue Aug 31 00:16:34 1999 Douglas C. Schmidt <[email protected]>
4999
5000 * build/egcs/tests/Cached_Accept_Conn_Test.h: Moved the template
5001 class into the header file so that IBM C++ will be happy.
5002
5003 * tests/Cached_*_Test.h: Updated these files to include the proper
5004 descriptive information.
5005
5006 * tests/Upgradable_RW_Test.h: Cleaned up the formatting for this
5007 test.
5008
5009 * tests/Cached_Accept_Conn_Test.cpp,
5010 * tests/Cached_Conn_Test.cpp,
5011 * tests/Conn_Test.cpp,
5012 * tests/DLList_Test.cpp,
5013 * tests/Hash_Map_Manager_Test.cpp:
5014 Fixed some "order of definition" problems caused by the
5015 workarounds for SunC++ 5.0 -g bugs. Also replaced the use of
5016 ADDR and STRING with ACE_ADDR and ACE_STRING to avoid potential
5017 clashes with symbols in the global name space. Thanks to David
5018 for reporting this.
5019
5020 1999-08-31 Vishal Kachroo <[email protected]>
5021
5022 * ACE_wrappers/examples/QOS/server.cpp
5023 * ACE_wrappers/examples/QOS/client.cpp
5024 * ACE_wrappers/examples/QOS/QOS_Event_Handler.cpp
5025 * ACE_wrappers/examples/QOS/QosEvent.h
5026 * ACE_wrappers/examples/QOS/Read_Handler.h
5027 * ACE_wrappers/examples/QOS/QOS_Event_Handler.h
5028 * ACE_wrappers/examples/QOS/Read_Handler.cpp
5029 * ACE_wrappers/examples/QOS/QOS.dsw
5030 * ACE_wrappers/examples/QOS/client.dsp
5031 * ACE_wrappers/examples/QOS/server.dsp:
5032 These files test the new ACE GQoS features, which
5033 implement IntServ features over WinNT 2000.
5034
5035 Tue Aug 31 14:47:54 1999 Kirthika Parameswaran <[email protected]>
5036
5037 * ACE-INSTALL.html: Added a note on building egcs with the
5038 -fsquangle option contributed by Skye Sweeney
5039 <[email protected]>.
5040
5041 Tue Aug 31 00:16:34 1999 Douglas C. Schmidt <[email protected]>
5042
5043 * bin/clone.cpp: Modified this program so that it'll work more
5044 flexibly with symbolic links. In particular, clone can now
5045 generate symbolic links with relative pathnames to the source.
5046 Thus, you can now call it like this:
5047
5048 % clone -s ../../foo .
5049
5050 and all of the cloned links will properly refer to ../../foo
5051 (adding the appropriate number of extra '..'s to handle
5052 directory nesting). Thanks to Jonathan Biggar <[email protected]>
5053 for these fixes.
5054
5055 * ace/Process.cpp: Need to #include "ace/Signal.h".
5056
5057 * Added a series of fixes that allow ACE to build and
5058 run cleanly with SunC++ 5.0 and Solaris 7 even when debugging is
5059 NOT enabled. These changes require moving the explicit template
5060 instantiations from the BOTTOM of the *.cpp files to near the
5061 top. Thanks to Robert Shewan <[email protected]> for reporting
5062 this.
5063
5064 * ace/Process_Manager.cpp: Fixed some warnings. Thanks to
5065 Carlos for reporting this.
5066
5067 Mon Aug 30 21:14:46 1999 Douglas C. Schmidt <[email protected]>
5068
5069 * ace/Process_Manager.cpp: Added the destructor for
5070 ACE_Process_Descriptor. Thanks to David for reporting this.
5071
5072 Mon Aug 30 17:20:56 1999 David L. Levine <[email protected]>
5073
5074 * ace/config-qnx-neutrino.h: added ACE_LACKS_MUTEXATTR_PSHARED.
5075
5076 * ace/OS.i (mutex_init): enable the ACE_UNUSED_ARG (type)
5077 statement with ACE_LACKS_MUTEXATTR_PSHARED.
5078
5079 Mon Aug 30 17:10:00 1999 Kirthika Parameswaran <[email protected]>
5080
5081 * ACE-INSTALL.html: Added a note about the "-fsquangle" option
5082 to be used with egcs to shorten long symbol names.
5083
5084 Mon Aug 30 16:12:36 1999 Douglas C. Schmidt <[email protected]>
5085
5086 * ace/Process.i: Oops, the implementation of gethandle() was
5087 in a Win32-specific part of the code...
5088
5089 * ace/Msg_WFMO_Reactor.h: Fixed a problem that was causing
5090 ACE_Msg_WFMO_Reactor from being included in the documentation
5091 windex files. Thanks to Jody Hagins for reporting this.
5092
5093 Mon Aug 30 16:16:46 1999 Ossama Othman <[email protected]>
5094
5095 * PROBLEM-REPORT-FORM:
5096
5097 Updated to point to refer reports ace-bugs mailing list.
5098
5099 Mon Aug 30 14:27:26 1999 David L. Levine <[email protected]>
5100
5101 * tests/Cached_Accept_Conn_Test.cpp,Cached_Conn_Test.cpp,
5102 Map_Manager.cpp:
5103 use the explicit template instantiations even with
5104 ACE_HAS_GNU_REPO. g++ 2.91.66 misses some of them with -frepo.
5105
5106 Mon Aug 30 15:23:12 1999 Douglas C. Schmidt <[email protected]>
5107
5108 * ace/Process_Manager: Integrated the new features that make it
5109 possible to notify a Reactor when a process exits. Thanks to
5110 Dave Madden <[email protected]> for contributing this.
5111
5112 * ace/Process: Added a more portable timed wait() operation for
5113 UNIX platforms. However, this method has the following two
5114 limitations: (1) on UNIX platforms this function uses <ualarm>,
5115 i.e., it overwrites any existing alarm and (2) it steals all
5116 SIGCHLDs during the timeout period, which will break another
5117 ACE_Process_Manager in the same process that's expecting SIGCHLD
5118 to kick off process reaping. If you know a good solution to
5119 this please let us know. Thanks to Dave Madden
5120 <[email protected]> for contributing this.
5121
5122 * ace/Process: Added setgroup() and getgroup() methods to
5123 ACE_Process_Options so that we can manage groups of processes.
5124 Thanks to Dave Madden <[email protected]> for contributing this.
5125
5126 * examples/OS/Process/process.cpp: Added a new version that
5127 tests the various wait() methods on ACE_Process. Thanks to Dave
5128 Madden <[email protected]> for contributing this.
5129
5130 * config-chorus.h,
5131 config-cray.h,
5132 config-cygwin32-common.h,
5133 config-freebsd-pthread.h,
5134 config-freebsd.h,
5135 config-hpux-9.x.h,
5136 config-hpux-9.x.h,
5137 config-lynxos.h,
5138 config-netbsd.h,
5139 config-sunos4-g++.h,
5140 config-sunos4-lucid3.2.h,
5141 config-sunos4-sun3.x.h,
5142 config-sunos4-sun4.1.4.h,
5143 config-sunos4-sun4.x-orbix.h,
5144 config-sunos4-sun4.x.h,
5145 config-win32-common.h:
5146 Added ACE_LACKS_SETPGID on the assumption that platforms lacking
5147 getpgid() won't have setpgid() either. If this turns out to be
5148 incorrect, please let me know.
5149
5150 * ace/OS: Added a new wrapper facade method for setpgid(). Thanks to
5151 Dave Madden <[email protected]> for contributing this.
5152
5153 * ace/OS.h: Added a new macro called ACE_INVALID_PID. Thanks to
5154 Dave Madden <[email protected]> for contributing this.
5155
5156 * ace/Local_Tokens.h: Added a comment explaining that these locking
5157 classes aren't intended as general-purpose synchronization
5158 mechanisms. Thanks to Brian Wright <[email protected]>
5159
5160 * examples/Misc/test_trace.cpp (main): Added a call to
5161 ACE_OS::atexit() to make sure we test this someplace.
5162
5163 Mon Aug 30 12:11:06 1999 Carlos O'Ryan <[email protected]>
5164
5165 * ace/Strategies.i:
5166 Once a Recyclable object reaches the ACE_RECYCLABLE_CLOSED state
5167 its state cannot change. This eliminates a nasty race condition
5168 where one thread detects that the connection is closed (and sets
5169 the state accordingly), but another thread changes the state to
5170 IDLE, based on old information.
5171 Thanks to Mark L Boriack <[email protected]> for reporting
5172 this problem and helping us debug it.
5173
5174 Mon Aug 30 10:43:08 1999 Carlos O'Ryan <[email protected]>
5175
5176 * ace/config-irix6.x-common.h:
5177 Added ACE_HAS_SIGSUSPEND and ACE_HAS_TIMEDWAIT
5178
5179 Mon Aug 30 10:18:52 1999 Ossama Othman <[email protected]>
5180
5181 * PROBLEM-REPORT-FORM:
5182
5183 Fixed typo.
5184
5185 * acconfig.h:
5186 * configure.in:
5187
5188 Removed ACE_LACKS_ATEXIT test since the macro no longer exists.
5189
5190 Added test for ACE_HAS_SIGSUSPEND.
5191
5192 Mon Aug 30 07:38:11 1999 David L. Levine <[email protected]>
5193
5194 * tests/Message_Block_Test.cpp,
5195 examples/Reactor/Misc/test_event_handler_t.cpp:
5196 use the explicit template instantiations even with
5197 ACE_HAS_GNU_REPO. g++ 2.91.66 misses some of them with -frepo.
5198
5199 Sun Aug 29 22:57:26 1999 Douglas C. Schmidt <[email protected]>
5200
5201 * tests/Signal_Test.cpp (worker_parent): Revised the test
5202 so that we transmit the parent process ID in argv so that the
5203 child doesn't have to "guess." This solves the annoying
5204 problems with Linux threads...
5205
5206 Sun Aug 29 21:35:17 1999 David L. Levine <[email protected]>
5207
5208 * ace/config-g++-common.h:
5209 1) Don't #define ACE_HAS_EXPLICIT_INSTANTIATION with
5210 ACE_HAS_GNU_REPO, so that -frepo can do its thing. [Bug 248]
5211 2) #undef ACE_HAS_STRING_CLASS with ACE_HAS_GNU_REPO, because
5212 egcs 2.91.66 can't build IOStream test (due to an unresolved
5213 basic_string method instantiation) otherwise.
5214
5215 * ace/config-aix-4.x.h,ace/config-cygwin32-common.h,
5216 ace/config-hpux-10.x-g++.h,ace/config-irix5.3-g++.h,
5217 ace/config-irix6.x-g++.h,ace/config-linux-common.h,
5218 ace/config-lynxos.h,ace/config-osf1-4.0.h,ace/config-sunos4-g++.h,
5219 ace/config-sunos5.4-g++.h,ace/config-sunos5.5.h,
5220 ace/config-unixware-2.*-g++.h:
5221 moved ACE_HAS_STRING_CLASS #define before #include of
5222 config-g++common.h, so that config-g++-common.h can #undef
5223 it with ACE_HAS_GNU_REPO.
5224
5225 * include/makeinclude/rules.lib.GNU: when ace_lib_prelink is
5226 enabled, add a link step before building a library. This is
5227 used, for example, to insert template instantiations into
5228 object files. [Bug 248]
5229
5230 * include/makeinclude/wrapper_macros.GNU: set ace_lib_prelink
5231 to 1 when repo is enabled. Added ACE_NUL and ACE_NUL_STDERR
5232 macros, for internal use to support the prelink step. [Bug 248]
5233
5234 Sun Aug 29 07:53:33 1999 Douglas C. Schmidt <[email protected]>
5235
5236 * tests/Signal_Test.cpp: Linux threads are problematic because
5237 getppid() isn't the process id of your parent PROCESS, it's the
5238 "process" id of your parent THREAD. Yikes! Therefore, I had to
5239 rearrange this test so that it'll work on Linux.
5240
5241 * ace/config-qnx-neutrino.h,
5242 * ace/config-vxworks5.x.h,
5243 * ace/config-osf1-4.0.h,
5244 * ace/config-sunos5.5.h,
5245 * ace/config-linux-common.h: Added support for
5246 the ACE_HAS_SIGTIMEDWAIT and ACE_HAS_SIGSUSPEND macros.
5247
5248 * ace/OS: Added a new sigsuspend() wrapper to class ACE_OS. This
5249 implementation is "smarter" than the default behavior of
5250 sigsuspend(2) because it'll handle NULL sigset_t *'s gracefully.
5251
5252 * ace/Signal: Make the use of ACE_Sig_Set & parameters
5253 const-correct.
5254
5255 * ace/Signal: Added a new method for ACE_Sig_Action that'll register
5256 an ACE_Sig_Set's worth of signals simultaneously.
5257
5258 * ace/Signal: Updated the documentation to explain what the various
5259 constructors do.
5260
5261 * ace/Process.h: Updated the documentation for ACE_Process::spawn()
5262 to explain what the return values are.
5263
5264 * tests/Makefile: Added Signal_Test to the list of tests that are
5265 built automatically.
5266
5267 * tests: Added a new test, Signal_Test.cpp, that exercises the
5268 various signal handling capabilities supported by ACE on various
5269 OS platforms.
5270
5271 * ace/OS.h,
5272 * ace/README,
5273 * ace/config-vxworks5.x.h:
5274 Removed all mention of the ACE_LACKS_ATEXIT feature. This is
5275 now the default behavior because we ACE_OS_Object_Manager::at_exit()
5276 to get consistent semantics, as described below. Thanks to David
5277 for pointing this out.
5278
5279 * ace/OS.i: Changed the implementation of ACE_OS::atexit() to always
5280 use the ACE_OS_Object_Manager::instance ()->at_exit() method so
5281 that we get consistent semantics across platforms.
5282
5283 Sun Aug 29 18:27:38 1999 Ossama Othman <[email protected]>
5284
5285 * ACE.ifnames:
5286 * ace-diff-config.in:
5287
5288 Removed ace-diff-config.in and ACE.ifnames from the repository.
5289 They are only used for internal ACE Configuration Project
5290 testing.
5291
5292 * Makefile.am:
5293 * configure.in:
5294
5295 Removed references to ace-diff-config.in and ACE.ifnames.
5296
5297 * acconfig.h:
5298 * configure.in:
5299
5300 Added entries and tests for the following macros:
5301
5302 ACE_AUTO_PTR_LACKS_RESET
5303 ACE_HAS_LLSEEK
5304 ACE_HAS_EXPLICIT_KEYWORD
5305 ACE_HAS_MUTABLE_KEYWORD
5306 ACE_HAS_STD_TEMPLATE_SPECIALIZATION
5307 ACE_HAS_STD_TEMPLATE_METHOD_SPECIALIZATION
5308 ACE_HAS_SIGTIMEDWAIT
5309 ACE_LACKS_ATEXIT
5310 ACE_LACKS_GETPPID
5311
5312 * configure.in:
5313
5314 Fixed auto_ptr test. auto_ptr was being used incorrectly.
5315
5316 Sun Aug 29 07:53:33 1999 Douglas C. Schmidt <[email protected]>
5317
5318 * tests/Process_Manager_Test.cpp: Changed the names of the signal
5319 handlers to one_child_synchronous_signal_handler() and
5320 multiple_children_synchronous_signal_handler() to reflect how
5321 they are used.
5322
5323 * ace/OS.[hi]: Added a new wrapper for sigtimedwait() so that
5324 we can encapsulate this. To make programming more consistent,
5325 the encapsulation uses an ACE_Time_Value, rather than a struct
5326 timespec.
5327
5328 * ace/config-linux-pthread.h,
5329 * ace/config-linux-lxpthreads.h: Removed the
5330
5331 #define ACE_HAS_SIGWAIT
5332
5333 macro since this was already defined in config-linux-common.h.
5334
5335 * tests/Malloc_Test.cpp: Improved the test by printing out
5336 additional diagnostic information. Also validated that it works
5337 when ACE_DEFAULT_BASE_ADDR == 0 on Solaris using SunCC (with
5338 purify) and EGCS.
5339
5340 * ace/Malloc: Added a dump() method to ACE_Malloc_Header.
5341
5342 * ace/Process_Manager.cpp (ACE_Process_Descriptor): Changed
5343 a -1 to a 0 to prevent a compiler warning. Thanks to
5344 David Levine and DEC UNIX for reporting this.
5345
5346 Sun Aug 29 00:14:09 1999 Luther Baker <[email protected]>
5347
5348 * ace/Arg_Shifter.h (cur_arg_strncasecmp): Removed and replaced earlier
5349 method 'is_or_contains_ignore_case' with 'cur_arg_strncasecmp.'
5350 This method does less and it is more self-contained, adding protection
5351 and greater flexibility for the program program using it.
5352
5353 * ace/Arg_Shifter.cpp (cur_arg_strncasecmp): Implementation
5354 corresponding with changes in ACE_Arg_Shifter class.
5355
5356 Sun Aug 29 00:13:35 1999 Douglas C. Schmidt <[email protected]>
5357
5358 * ace/Process_Manager.i: Moved the destructor for
5359 ACE_Process_Descriptor out of the *.i file since it's always
5360 called by vector delete and therefore inlining it is pointless.
5361
5362 Sat Aug 28 23:46:55 1999 Douglas C. Schmidt <[email protected]>
5363
5364 * ace/Process_Manager.cpp (resize): The loop should run
5365 from 0 < this->current_count_ rather than 0 <
5366 this->max_process_table_size_.
5367
5368 Sat Aug 28 16:28:33 1999 David L. Levine <[email protected]>
5369
5370 * ace/Synch_T.i: reordered some methods to avoid
5371 use before definition.
5372
5373 Fri Aug 27 18:52:00 1999 Luther Baker <[email protected]>
5374
5375 * ace/Arg_Shifter.h (is_or_contains_ignore_case): added method
5376 to facilitate CORBA spec in ORB_init.
5377
5378 * ace/Arg_Shifter.cpp (is_or_contains_ignore_case): implemented
5379 the method added. Part of a larger project to implement CORBA
5380 spec regarding -ORB parsing in ORB_init.
5381
5382 Fri Aug 27 18:58:50 1999 Douglas C. Schmidt <[email protected]>
5383
5384 * tests/run_tests.lst: Reenabled the Process_Manager_Test since
5385 it now seems to work fine with EGCS after the fix noted below.
5386
5387 Fri Aug 27 18:39:14 1999 Douglas C. Schmidt <[email protected]>
5388
5389 * ace/Process_Manager.cpp (wait): Fixed a mistake in the coding
5390 logic whereby we were returning from the function in a loop even
5391 when there was no error. Thanks to David Levine and DEC UNIX
5392 for pointing this out.
5393
5394 Fri Aug 27 16:05:49 1999 David L. Levine <[email protected]>
5395
5396 * ace/OS.*,Log_Msg.cpp,Synch_T.i: reverted changes of
5397 Fri Aug 27 11:29:21 1999 David L. Levine <[email protected]>
5398 to see if they caused problems on NT. Thanks to Michael
5399 and Jeff for reporting this.
5400
5401 Fri Aug 27 12:01:37 1999 David L. Levine <[email protected]>
5402
5403 * ace/OS.cpp (mktime): added static cast of -1 return value
5404 to time_t to avoid warnings on VxWorks.
5405
5406 Fri Aug 27 11:38:36 1999 Nanbor Wang <[email protected]>
5407
5408 * ace/Service_Config.cpp (process_directives): Remember to close
5409 down the svc.conf file pointers once they are processed. Thanks
5410 to Lothar Werzinger <[email protected]> for pointing
5411 this out.
5412
5413 Fri Aug 27 11:29:21 1999 David L. Levine <[email protected]>
5414
5415 * ace/OS.*: moved ACE_OS_Recursive_Thread_Mutex_Guard from
5416 OS.cpp to OS.h so that Log_Msg.cpp can use it.
5417
5418 * ace/Log_Msg.cpp: replaced use of ACE_Guards with
5419 ACE_OS_Thread_Recursive_Mutex. [Bug 262]
5420
5421 * ace/OS.h (ACE_OS_Recursive_Thread_Mutex_Guard::lock):
5422 added this method.
5423
5424 * ace/OS.cpp (ACE_OS_GUARD,ACE_TSS_CLEANUP_GUARD,
5425 ACE_TSS_BASE_GUARD): fixed to use
5426 ACE_OS_Recursive_Thread_Mutex_Guard::lock. Added
5427 _RETURN versions.
5428
5429 * ace/Synch_T.i: reordered some methods to avoid
5430 use before definition.
5431
5432 Fri Aug 27 09:53:09 1999 Joe Hoffert <[email protected]>
5433
5434 * ace/ATM_Stream.{h,cpp}: added get_vpi_vci method.
5435 * examples/IPC_SAP/ATM_SAP/CPP-{client,server}.cpp: Changed tests to
5436 print out VPI and VCI after connected.
5437
5438 Fri Aug 27 10:50:10 1999 David L. Levine <[email protected]>
5439
5440 * ACE version 5.0.3 released.
5441
5442 Fri Aug 27 09:32:26 1999 David L. Levine <[email protected]>
5443
5444 * bin/make_release: added some diagnostics to see why
5445 diffs aren't being created.
5446
5447 Fri Aug 27 07:17:58 1999 Toshio Hori <[email protected]>
5448
5449 * ACE-INSTALL.html: fixed a typo, missing ; after
5450 &lt and &gt.
5451
5452 Thu Aug 26 21:01:02 1999 Jim Rucker <[email protected]>
5453
5454 * ace/Thread_Manager.cpp (spawn_i): on VxWorks, if t_handle
5455 is non-0, set it with thr_handle.
5456
5457 Thu Aug 26 16:33:42 1999 David L. Levine <[email protected]>
5458
5459 * ace/Log_Msg.cpp: removed unnecessary #include "ace/Synch_T.h".
5460 [Bug 262]
5461
5462 Thu Aug 26 13:49:00 1999 David L. Levine <[email protected]>
5463
5464 * examples/Threads/Makefile: removed process_manager from BIN.
5465 See Sat Aug 21 12:36:40 1999 Douglas C. Schmidt.
5466
5467 Thu Aug 26 12:22:55 1999 David L. Levine <[email protected]>
5468
5469 * ace/config-ghs-common.h: on Sun, added
5470 ACE_HAS_NONSTATIC_OBJECT_MANAGER. It's necessary
5471 to prevent seg fault on startup. Thanks to
5472 David Sunwall <[email protected]> for
5473 reporting this problem.
5474
5475 Thu Aug 26 12:11:09 1999 David L. Levine <[email protected]>
5476
5477 * docs/ACE-guidelines.html: added guidelines to avoid
5478 default arguments, and favor narrow interfaces.
5479
5480 Thu Aug 26 11:44:26 1999 David L. Levine <[email protected]>
5481
5482 * tests/Time_Value_Test.cpp (main): added static casts
5483 of the doubles to longs. g++ 2.7.2.3 warned about
5484 passing a double to a long :-)
5485
5486 Thu Aug 26 11:20:55 1999 David L. Levine <[email protected]>
5487
5488 * tests/Time_Value_Test.cpp (main): added a test showing
5489 that ACE_Time_Value (2.5) == ACE_Time_Value (2).
5490 The 2.5 gets coerced to a long with value 2. Beware . . .
5491
5492 Thu Aug 26 10:43:04 1999 Carlos O'Ryan <[email protected]>
5493
5494 * ace/config-sunos5.6.h:
5495 egcs-2.95 under Solaris 5.6 does not need
5496 ACE_HAS_STL_QUEUE_CONFLICT, thanks to Krishnakumar
5497 B. <[email protected]> for reporting this problem.
5498 This fixes [BUGID:264]
5499
5500 Thu Aug 26 07:29:42 1999 David L. Levine <[email protected]>
5501
5502 * ace/OS.{h,i} (ACE_Time_Value): reverted
5503 Wed Aug 25 22:05:54 1999 David L. Levine <[email protected]>
5504 change. It caused overload ambiguity when the types of
5505 sec and usec didn't match, and on Sun CC 4.2/SunOS 5.6.
5506 Thanks to Andy for reporting that.
5507
5508 Wed Aug 25 22:05:54 1999 David L. Levine <[email protected]>
5509
5510 * ace/OS.{h,i} (ACE_Time_Value): added four new
5511 constructors. One takes a double, to avoid surprises
5512 (truncation) when constructing an ACE_Time_Value from
5513 a double. The other three constructors take two
5514 unsigned longs, ints, and unsigned ints. They avoid
5515 the ambiguity introduced by the new double constructor.
5516 Thanks to Dave Meyer <[email protected]> for starting this :-)
5517
5518 The double constructor is wrapped with
5519 #ifndef ACE_LACKS_FLOATING_POINT.
5520
5521 * tests/Time_Value_Test.cpp (main): removed cast of
5522 2.0 to long.
5523
5524 Wed Aug 25 16:15:07 1999 David L. Levine <[email protected]>
5525
5526 * docs/ACE-subsets.html: removed spurious LOGGING_FILES
5527 text.
5528
5529 Wed Aug 25 15:55:05 1999 David L. Levine <[email protected]>
5530
5531 * ace/OS.{h,cpp},Object_Manager.*,Signal.i (default_mask): moved
5532 the default_mask () static method from ACE_Object_Manager
5533 to ACE_OS_Object_Manager, so that it can be used by
5534 Log_Msg.cpp without layer inversion. (Left a deprecated,
5535 inline ACE_Object_Manager::default_mask (), for backward
5536 compatibility.) default_mask () now returns a sigset_t *
5537 instead of an ACE_Sig_Set *, again to avoid layer inversion.
5538
5539 * ace/Log_Msg.cpp (log): replaced use of ACE_Sig_Guard
5540 with a bare-bones ACE_Log_Msg_Sig_Guard. [Bug 262]
5541
5542 Wed Aug 25 14:53:58 1999 Carlos O'Ryan <[email protected]>
5543
5544 * bin/run_all.pl:
5545 * bin/auto_compile:
5546 The script did not start with the canonical trick to run perl
5547 from [t]csh, [ba]sh or perl itself.
5548
5549 Wed Aug 25 14:45:06 1999 Ossama Othman <[email protected]>
5550
5551 * tests/Process_Manager_Test.cpp:
5552
5553 Explicitly include "ace/Signal.h" to make declaration of
5554 ACE_Sig_Set class visible.
5555
5556 return statement at end of multiple_children_sig_handler()
5557 function is never reached. It was commented out to prevent
5558 compiler warnings.
5559
5560 Wed Aug 25 13:34:07 1999 Narendra Ravi <[email protected]>
5561
5562 * ACE-INSTALL.html: added information about -j GNU make option.
5563
5564 Wed Aug 25 12:26:49 1999 Carlos O'Ryan <[email protected]>
5565
5566 * ace/OS.h:
5567 On Borland C++ (and other platforms) we should use
5568 std::bad_alloc instead of bad_alloc for the ACE_bad_alloc
5569 exception. We use the ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB
5570 macro to detect this. Thanks to Jody Hagins <[email protected]>
5571 for this fix.
5572
5573 * tests/run_tests.lst:
5574 Disabled the Token test, it is more trouble that it is worth. It
5575 hangs and tends to freeze the complete testsuite.
5576
5577 Wed Aug 25 12:09:32 1999 Carlos O'Ryan <[email protected]>
5578
5579 * Makefile:
5580 Include (conditionally) the $TAO_ROOT/tao/tao_targets.GNU file,
5581 that defines the targets required to compile just TAO.
5582
5583 Tue Aug 24 21:47:44 1999 David L. Levine <[email protected]>
5584
5585 * ace/Synch_Options.{h,cpp} (timeout): added const to
5586 ACE_Time_Value & argument, because it's not modified.
5587 Thanks to John Lindal <[email protected]> for suggesting this.
5588
5589 Tue Aug 24 10:02:51 1999 Douglas C. Schmidt <[email protected]>
5590
5591 * tests/Process_Manager_Test.cpp: Fixed a number of warnings
5592 caused by unused args and signed/unsigned mismatches. Thanks to
5593 David Levine for reporting this.
5594
5595 * ace/Service_Repository.h,
5596 ace/Service_Config.h,
5597 ace/OS.h:
5598 Changed the default number of entries in the
5599 ACE_Service_Repository from ACE_DEFAULT_SELECT_REACTOR_SIZE
5600 to ACE_DEFAULT_SERVICE_REPOSITORY_SIZE, which defaults to
5601 1024. Thanks to Ivan Murthy <[email protected]> for
5602 suggesting this.
5603
5604
5605 Tue Aug 24 16:23:07 1999 Carlos O'Ryan <[email protected]>
5606
5607 * bin/make_release:
5608 Use an explicit temporary file to create the ChangeLog, i had
5609 some problems with the previous scheme, but it could be my
5610 shell.
5611 When tagging TAO we have to change directories.
5612
5613 Tue Aug 24 12:19:29 1999 Carlos O'Ryan <[email protected]>
5614
5615 * tests/Makefile:
5616 Updated dependencies
5617
5618 * performance-tests/TCP/tcp_test.cpp:
5619 Fixed argument parsing.
5620
5621 Tue Aug 24 10:37:02 1999 David L. Levine <[email protected]>
5622
5623 * bin/cvslog (find_changelogs): one more time: append /$file
5624 to `pwd`, so that we can find ChangeLogs in child directories.
5625 Always call basename (), again.
5626
5627 Tue Aug 24 09:10:58 1999 David L. Levine <[email protected]>
5628
5629 * bin/cvslog (find_changelogs): don't call basename () immediately
5630 after calling `pwd`, so that ChangeLogs in current directory
5631 will be found.
5632
5633 Tue Aug 24 07:11:52 1999 David L. Levine <[email protected]>
5634
5635 * ace/OS.*,Object_Manager.{h,cpp},README: with ACE_LACKS_ATEXIT,
5636 use ACE_OS_Object_Manager::at_exit () to emulate atexit ().
5637 [Bug 246]
5638
5639 * tests/Object_Manager_Test.cpp,tests/Makefile,
5640 tests/run_pharlap_tests.bat,tests/run_tests.bat,
5641 tests/run_tests.lst,tests/run_tests.psosim,
5642 tests/run_tests.vxworks,tests/t.icc,tests/icc.bat:
5643 added Object_Manager_Test.
5644
5645 Mon Aug 23 22:03:24 1999 Carlos O'Ryan <[email protected]>
5646
5647 * include/makeinclude/rules.lib.GNU:
5648 * include/makeinclude/rules.local.GNU:
5649 When compiling both shared and static libraries only one of them
5650 was installed. Thanks to Paul Calabrese <[email protected]>
5651 for providing this fix.
5652
5653 Mon Aug 23 21:41:43 1999 Carlos O'Ryan <[email protected]>
5654
5655 * tests/run_tests.pl:
5656 We search for "Starting" instead of "starting" because that's
5657 what the tests print out now.
5658
5659 Mon Aug 23 21:20:28 1999 Carlos O'Ryan <[email protected]>
5660
5661 * docs/ACE-guidelines.html:
5662 Added new guidelines relevant to ACE+TAO.
5663
5664 Mon Aug 23 16:57:13 1999 Carlos O'Ryan <[email protected]>
5665
5666 * performance-tests/RPC/README:
5667 * performance-tests/RPC/client.cpp:
5668 Changed the options to make it more consistent with other tests
5669 like this one.
5670 Added a README file
5671
5672 Mon Aug 23 16:53:00 1999 Carlos O'Ryan <[email protected]>
5673
5674 * performance-tests/Makefile:
5675 * performance-tests/TCP/README:
5676 Added a README file for the test
5677
5678 * performance-tests/TCP/tcp_test.cpp:
5679 Added options to pace the events and to control the message size
5680 on the server side.
5681
5682 * performance-tests/RPC/Makefile:
5683 * performance-tests/RPC/client.cpp:
5684 * performance-tests/RPC/ping.x:
5685 * performance-tests/RPC/server.c:
5686 Added a simple RPC test to compare sockets (ACE), RPC and TAO.
5687
5688 Mon Aug 23 13:30:32 1999 Nanbor Wang <[email protected]>
5689
5690 * include/makeinclude/platform_sunos5_kcc.GNU: The optimization
5691 flag for KCC should be +K3, not -K2.
5692
5693 Mon Aug 23 10:56:40 1999 David L. Levine <[email protected]>
5694
5695 * bin/cvslog: added this wrapper around cvs log. It
5696 expands ChangeLogTags to their ChangeLog entries.
5697 Thanks to Luther for helping greatly with it.
5698
5699 Mon Aug 23 08:46:37 1999 David L. Levine <[email protected]>
5700
5701 * ace/Object_Manager.{h,cpp}: replaced the use of
5702 ACE_Unbounded_Queue<ACE_Cleanup_Info> with a new
5703 ACE_Cleanup_Info_Node private helper class. The reduces
5704 the size of libACE by over 4 Kb, and is the first step
5705 towards moving the Object_Manager's atexit () support to
5706 OS. [Bug 246]
5707
5708 Mon Aug 23 07:28:02 1999 David L. Levine <[email protected]>
5709
5710 * tests/run_tests.check: changed "starting" to "Starting",
5711 to match a recent change to test_config.h.
5712
5713 * tests/test_config.h: changed one remaining "starting" to
5714 "Starting", to be consistent.
5715
5716 Mon Aug 23 07:08:17 1999 David L. Levine <[email protected]>
5717
5718 * tests/run_tests.lst: disabled Process_Manager_Test,
5719 because it never terminates when built with egcs
5720 on both Solaris 7 and Linux.
5721
5722 Sun Aug 22 21:15:13 1999 David L. Levine <[email protected]>
5723
5724 * ace/Makefile: with Green Hills for x86 target, use
5725 $(MAKE) instead of make to build .obj/gethrtime.o.
5726 Thanks to Cliff_H_Campbell <[email protected]>
5727 for reporting this.
5728
5729 Sun Aug 22 21:02:26 1999 David L. Levine <[email protected]>
5730
5731 * ace/config-vxworks5.x.h: added ACE_LACKS_ATEXIT.
5732
5733 Sun Aug 22 21:01:18 1999 David L. Levine <[email protected]>
5734
5735 * ace/README: added ACE_LACKS_ATEXIT.
5736
5737 Sun Aug 22 14:51:56 1999 Vishal Kachroo <[email protected]>
5738
5739 * ace/OS.i (join_leaf): Constructed a winsock2 QOS structure
5740 within ACE_OS::join_leaf () from the corresponding ACE QOS
5741 classes. Passed this QOS structure to WSAJoinLeaf ().
5742
5743 Sun Aug 22 12:18:42 1999 Nanbor Wang <[email protected]>
5744
5745 * ace/Process.i (wait): Fixed a typo.
5746
5747 * ace/Process.cpp (ACE_Process): Removed an extra underscore.
5748
5749 * ace/OS.i (getppid): Removed undefined variable <pid>.
5750
5751 Sat Aug 21 12:36:40 1999 Douglas C. Schmidt <[email protected]>
5752
5753 * ace/OS.h: Moved the ACE_OS::set_exit_hook() static method
5754 into the OS.i file so be more consistent with the other ACE_OS
5755 methods. Also, changed the signature of extern "C" void
5756 ACE_OS_Object_Manager_Internal_Exit_Hook () to void
5757 ACE_OS_Object_Manager_Internal_Exit_Hook (void) so that this
5758 will match the type declaration for ACE_EXIT_HOOK.
5759 [NOTE: that's not really a signature change. g++ needs the
5760 "void", however, to avoid a bug without -pedantic.]
5761
5762 * ace/Process_Manager.cpp: Use the new ACE_OS::wait() method,
5763 which is portable to Win32, rather than ACE_OS::waitpid().
5764
5765 * tests/Process_Manager_Test.cpp: Completed the first major
5766 enhancement to the test that exercises the new
5767 ACE_Process_Manager features. This test builds and runs cleanly
5768 on Solaris using CC and should run on other versions of UNIX
5769 that support threads and processes. It would be great if
5770 someone could improve it to run on Win32, as well.
5771
5772 * ace/Process_Manager: Added support for the spawn_n() method,
5773 which creates N new processes.
5774
5775 * tests: Cleaned up the use of ACE_INIT_LOG/ACE_APPEND_LOG in
5776 Process_Manager_Test.cpp and Malloc_Test.cpp so we don't lose
5777 information. Both these tests now write their child processes'
5778 output to "<testname>-child.log".
5779
5780 * ace/Thread_Manager.h: Added a default value of 0 to the
5781 exit() method since this is a common return status.
5782
5783 * ace/config-win32-common.h: Added ACE_LACKS_GETPPID.
5784
5785 * ace: Added a new wrapper for getppid(). For platforms that
5786 don't support this system call, please add ACE_LACKS_GETPPID.
5787
5788 * tests: Moved the $ACE_ROOT/examples/Threads/process_manager.cpp
5789 example into the $ACE_ROOT/tests directory, renamed it to
5790 Process_Manager_Test.cpp, and revised the test to illustrate the
5791 new ACE_Process_Manager features.
5792
5793 * tests/run_tests.lst: Added the Process_Manager_Test to the
5794 list of tests to run.
5795
5796 * tests/Malloc_Test.cpp (main): Added some necessary ASYS_TEXT
5797 macros.
5798
5799 * ace/Process.i: Rather than replicate the #ifdef logic in
5800 ACE_OS::kill() within ACE_Process:kill(), we just forward to
5801 ACE_OS::kill() and let it sort this out!
5802
5803 * ace/Process: Moved several of the short wait() methods from the
5804 *.cpp file to the *.i file and inlined them.
5805
5806 * ace/Process_Manager.cpp: The logic for the implementation of
5807 terminate() was incorrect, i.e., the process table entry should
5808 be removed *if* ACE::terminate_process() succeeds but *not* if
5809 it fails!
5810
5811 * ace/OS.h: Added a new method called wait() that works portably
5812 on Win32 and UNIX/POSIX platforms.
5813
5814 * ace/Process: Added an optional "options" parameter to the former
5815 "blocking" wait() method on ACE_Process. This allows clients to
5816 use the WNOHANG option to avoid blocking if the child process
5817 hasn't exited yet. Also changed the type of the return value to
5818 pid_t rather than int. Finally, added an optional status
5819 pointer to the "timed" wait() method (which only works on
5820 Win32).
5821
5822 * ace/OS.h: On platforms that do not define WNOHANG natively,
5823 changed #ifdef of WNOHANG to 0100 (which can be used in bitmask
5824 comparisons) rather than Douglas Adams favorite constant: 42.
5825
5826 Sat Aug 21 14:13:46 1999 Carlos O'Ryan <[email protected]>
5827
5828 * ACE version 5.0.2 released.
5829
5830 Sat Aug 21 11:52:51 1999 Carlos O'Ryan <[email protected]>
5831
5832 * Makefile:
5833 Fixed small problem in the releaseall target.
5834
5835 * bin/make_release:
5836 The shell did not like the embedded script to print the
5837 ChangeLog entry.
5838
5839 Fri Aug 20 15:40:58 1999 Douglas C. Schmidt <[email protected]>
5840
5841 * ace/Process_Manager: Added a new method called wait() that's
5842 just syntactic sugar for ACE_Process_Manager::reap(). Thanks to
5843 Dave Madden <[email protected]> for suggesting this.
5844
5845 * ace/OS: Added support for ACE_OS::atexit(), which necessitated
5846 changing the extern "C" signature for ACE_EXIT_HOOK to typedef
5847 void (*ACE_EXIT_HOOK) (void) so that this will be consistent
5848 with the signature expected by the ISO/ANSI C atexit() call. At
5849 the moment, ACE_OS::atexit just calls ::atexit() (unless a
5850 platform's config.h file #defines ACE_LACKS_ATEXIT).
5851 Ultimately, we might want to have this hook into the
5852 ACE_OS_Object_Manager's at_exit() support, which may be more
5853 portable and reliable.
5854
5855 * ace/ACE_Process_Manager.h: Made the destructor virtual so it's
5856 possible to subclass from this class.
5857
5858 * ace/Process_Manager.h: Updated the comments on the wait()
5859 method to indicate that a signal handler must be used to keep
5860 track of the number of remaining child processes. Thanks to
5861 Dave Binder <[email protected]> for motivating this.
5862
5863 Thu Aug 19 18:45:00 1999 Chris Gill <[email protected]>
5864
5865 * ace/Auto_Ptr.h: modified ACE_AUTO_PTR_RESET macro, to pass the
5866 type of the pointer. This is needed for the case where
5867 ACE_AUTO_PTR_LACKS_RESET is defined, in order to explicitly
5868 convert the pointer into an auto_ptr for assignment.
5869
5870 Thu Aug 19 17:26:50 1999 John Heitmann <[email protected]>
5871
5872 * docs/ACE-SSL.html: Cleaned up the auto generated errors.
5873
5874 Thu Aug 19 16:47:21 1999 Douglas C. Schmidt <[email protected]>
5875
5876 * ACE-INSTALL.html: Added a reference to $ACE_ROOT/docs/ACE-SLL.html.
5877
5878 * docs: Added a new ACE-SSL.html file that explains how to participate in the
5879 ACE SSL project. Thanks to John Heitmann <[email protected]>
5880 for adding this.
5881
5882 Thu Aug 19 15:31:58 1999 Nanbor Wang <[email protected]>
5883
5884 * ace/OS.h (ACE_OSTREAM_TYPE): Removed the redundant trailing *
5885 for the defintion when ACE_LACKS_IOSTREAM_TOTALLY is defined.
5886
5887 Thu Aug 19 14:16:37 1999 David L. Levine <[email protected]>
5888
5889 * include/makeinclude/rules.nested.GNU: added ACE_NESTED_COMMAND
5890 hook. Users can set it to whatever they like (preferably in
5891 include/makeinclude/platform_macros.GNU). One example is
5892 to set it to:
5893
5894 ACE_NESTED_COMMAND := || break $?
5895
5896 to terminate building if a build in one subdirectory fails.
5897 Thanks to Lothar Werzinger <[email protected]> for
5898 suggesting this addition.
5899
5900 Thu Aug 19 13:06:00 1999 Michael Kircher <[email protected]>
5901
5902 * ace/Read_Buffer.cpp: Fixed a bug in rec_read () method
5903 which prohibited reading more than 1024 bytes at once.
5904
5905 Thu Aug 19 13:03:07 1999 Douglas C. Schmidt <[email protected]>
5906
5907 * ace/ACE.h (ACE): Fixed a "cut & paste" error in the comment --
5908 basename should have been dirname. Thanks to Mark Hyett
5909 <[email protected]> for reporting this.
5910
5911 * ace/ACE.cpp: Fixed a bug in ACE::dirname() that was causing problems
5912 if the pathname didn't have a delim character. Thanks to Russ
5913 Noseworthy for reporting this and providing a fix.
5914
5915 Thu Aug 19 12:59:56 1999 Carlos O'Ryan <[email protected]>
5916
5917 * ace/Message_Block.i:
5918 Moved ACE_Message_Block::replace_data_block() down in the file
5919 because it was using inline functions that were defined after it
5920 was. Thanks to David for pointing this out.
5921
5922 Thu Aug 19 10:53:50 1999 David L. Levine <[email protected]>
5923
5924 * ace/OS.i (setuid): added ACE_UNUSED_ARG (uid) for VxWorks,
5925 pSOS, WIN32, and Chorus. Thanks to Garry Brother
5926 <[email protected]> for reporting this.
5927
5928 Thu Aug 19 10:04:12 1999 David L. Levine <[email protected]>
5929
5930 * include/makeinclude/platform_vxworks5.x_g++.GNU: added
5931 trap to cause builds to fail if the exceptions flag is
5932 enabled. The VxWorks libraries don't support exceptions.
5933 And, exceptions give the (Tornado II) compiler fits, e.g.,
5934 with ACE_wrappers/TAO/tao/IORManipulation.cpp. Thanks to
5935 Erik Johannes <[email protected]> for this nifty preemptive
5936 solution, and to Nick Sawadsky <[email protected]>
5937 for motivating its implementation.
5938
5939 Thu Aug 19 09:34:41 1999 Douglas C. Schmidt <[email protected]>
5940
5941 * ace/WFMO_Reactor.h,
5942 * ace/WFMO_Reactor.cpp,
5943 * ace/Select_Reactor_T.h,
5944 * ace/Select_Reactor_T.cpp,
5945 * ace/Reactor_Impl.h,
5946 * ace/Reactor.h,
5947 * ace/Reactor.cpp:
5948 Added a pair of restart() methods that can be used to set/get
5949 the restart_ flag, which controls whether the handle_events()
5950 event loop is restarted automatically when select() is
5951 interrpted. Thanks to Erik Koerber <[email protected]>
5952 for suggesting this.
5953
5954 * ace/Service_Config: Updated the failure result comment for
5955 open() and cleaned up the return value and errno propagation for
5956 open_i() when process_commandline_directives() fails. Thanks to
5957 Jerry D. De Master <[email protected]> for reporting the bug
5958 and suggesting a fix.
5959
5960 * ace/Service_Config.h: Moved the process_directives() method
5961 used to parse the svc.conf files out of the protected part of
5962 the class to the public part so that application programmers can
5963 call this directly to reconfigure services from the svc.conf
5964 files. Thanks to John Mink <[email protected]> for
5965 suggesting this.
5966
5967 Wed Aug 18 22:45:24 1999 Douglas C. Schmidt <[email protected]>
5968
5969 * ace/WFMO_Reactor.h,
5970 * ace/WFMO_Reactor.cpp,
5971 * ace/XtReactor.h,
5972 * ace/XtReactor.cpp,
5973 * ace/TkReactor.h,
5974 * ace/TkReactor.cpp,
5975 * ace/FlReactor.h,
5976 * ace/FlReactor.cpp,
5977 * ace/Select_Reactor_T.h,
5978 * ace/Select_Reactor_T.cpp,
5979 * ace/Reactor_Impl.h,
5980 * ace/Reactor.h,
5981 * ace/Reactor.cpp:
5982 * ace/Timer_Hash_T.h:
5983 * ace/Timer_Heap_T.h:
5984 * ace/Timer_List_T.h:
5985 * ace/Timer_Queue_T.h:
5986 * ace/Timer_Wheel_T.h:
5987 * ace/Timer_Hash_T.cpp:
5988 * ace/Timer_Heap_T.cpp:
5989 * ace/Timer_List_T.cpp:
5990 * ace/Timer_Wheel_T.cpp:
5991 Changed all uses of const long to long...
5992
5993 Wed Aug 18 22:15:58 1999 Carlos O'Ryan <[email protected]>
5994
5995 * tests/run_tests.sh:
5996 It was running the DISABLED tests, thanks to David for pointing
5997 this out.
5998
5999 Wed Aug 18 21:48:52 1999 David L. Levine <[email protected]>
6000
6001 * ACE-INSTALL.html: added Toshio Hori <[email protected]>
6002 suggestions (in a new section) on building just what's
6003 needed for TAO, and his tips for reducing disk space
6004 usage on Unix platforms.
6005
6006 Wed Aug 18 21:32:56 1999 Ossama Othman <[email protected]>
6007
6008 * docs/usage-bugzilla.html:
6009
6010 Added a simple document explaining basic usage of our
6011 installation of bugzilla.
6012
6013 * ACE-INSTALL.html:
6014 * PROBLEM-REPORT-FORM:
6015
6016 Updated with information about the bugzilla usage
6017 documentation.
6018
6019 Wed Aug 18 20:28:23 1999 David L. Levine <[email protected]>
6020
6021 * bin/check_build_logs: check for just Stop, not [Ss]top,
6022 to avoid snagging top output. Gnu make says "Stop" when
6023 it can't find a dependency.
6024
6025 Wed Aug 18 19:08:08 1999 David L. Levine <[email protected]>
6026
6027 * ace/OS.{h,cpp},Object_Manager.{h,cpp},Log_Msg.cpp:
6028 moved ACE_LOG_MSG_INSTANCE_LOCK from ACE_Object_Manager
6029 to ACE_OS_Object_Manager, so that Log_Msg.cpp needn't
6030 to depend on Object_Manager for it.
6031
6032 Wed Aug 18 18:20:11 1999 Carlos O'Ryan <[email protected]>
6033
6034 * tests/SOCK_Send_Recv_Test.cpp:
6035 Fixed typo.
6036
6037 Wed Aug 18 17:58:06 1999 Carlos O'Ryan <[email protected]>
6038
6039 * THANKS:
6040 * ace/README:
6041 * ace/config-irix6.x-common.h:
6042 Added new macro (ACE_HAS_BROKEN_DGRAM_SENDV) to handle platforms
6043 where using sendmsg with exactly IOV_MAX elements in the iovec
6044 fails (normally the number of elements can be up to and
6045 including IOV_MAX). Thanks to Tobin Bergen-Hill
6046 <[email protected]> for tracking this down.
6047
6048 Wed Aug 18 16:08:46 1999 Douglas C. Schmidt <[email protected]>
6049
6050 * tests/SOCK_Send_Recv_Test.cpp: Reformatted this test so
6051 that it conforms to ACE programming guidelines.
6052
6053 Wed Aug 18 13:49:30 1999 David L. Levine <[email protected]>
6054
6055 * ace/Makefile: if ACE_COMPONENTS = FOR_TAO, don't include
6056 Filecache in UTILS_FILES. TAO doesn't need Filecache.
6057 And, its ACE_Hash<ACE_CString> and ACE_Equal_To<ACE_CString>
6058 explicit template instantiations collide with those in
6059 ACE_wrappers/TAO/tao/POA.cpp. That precludes building
6060 a shared libTAO for VxWorks, for example. And, it costs 14 Kb.
6061 Thanks to Erik Johannes <[email protected]> for helping
6062 to find this solution. And reminding me to implement it :-)
6063
6064 Wed Aug 18 13:16:09 1999 David L. Levine <[email protected]>
6065
6066 * ACE-INSTALL.html: clarify that PERL_PATH must include
6067 the full path, including the perl.exe filename. Thanks
6068 to Walter Welzel <[email protected]> for
6069 reporting this.
6070
6071 Wed Aug 18 13:11:30 1999 Carlos O'Ryan <[email protected]>
6072
6073 * ace/OS.h:
6074 * ace/OS.i:
6075 The new methods to manipulate condition variable attributes
6076 were not compiling on single threaded platforms.
6077
6078 Wed Aug 18 13:09:36 1999 David L. Levine <[email protected]>
6079
6080 * tests/Makefile: don't add libDLL_Test.$(SOEXT) to BUILD
6081 on VxWorks. Thanks to Walter Welzel <[email protected]>
6082 for reporting that it did get build for VxWorks with
6083 shared libs enabled, but not successfully (or usefully).
6084
6085 Wed Aug 18 10:36:16 1999 Nanbor Wang <[email protected]>
6086
6087 * ACE-INSTALL.html: Updated all references to MSVC 4.x. We no
6088 longer support the compiler. Thanks to Welzel Walter
6089 <[email protected]> for pointing this out.
6090
6091 Wed Aug 18 10:42:13 1999 Douglas C. Schmidt <[email protected]>
6092
6093 * ace/Timer_List_T.cpp (reset_interval): Added a constcast to
6094 make SunC++ 4.2 happy. Thanks to Andy for reporting this.
6095
6096 * ace/WFMO_Reactor.i (reset_timer_interval): The return type
6097 was incorrect... Thanks to Andy and Jeff for reporting this.
6098
6099 Wed Aug 18 09:47:51 1999 Carlos O'Ryan <[email protected]>
6100
6101 * tests/run_tests.pl:
6102 The disabled tests were executed anyway, thanks to David for
6103 pointing this out.
6104
6105 Wed Aug 18 09:34:46 1999 Carlos O'Ryan <[email protected]>
6106
6107 * ace/FlReactor.cpp:
6108 * ace/XtReactor.cpp:
6109 Fixed typos in the code, this is only used in a few platforms,
6110 that's why it didn't show up before.
6111
6112 Tue Aug 17 20:02:55 1999 Douglas C. Schmidt <[email protected]>
6113
6114 * tests/Reactor_Timer_Test.cpp: Enhanced this test to exercise
6115 the new reset_timer_interval() feature that Darrell added. It
6116 appears to work quite well. Also, make the test easier to
6117 understand by adding more structure.
6118
6119 * ace/WFMO_Reactor.h,
6120 * ace/WFMO_Reactor.cpp,
6121 * ace/XtReactor.h,
6122 * ace/XtReactor.cpp,
6123 * ace/TkReactor.h,
6124 * ace/TkReactor.cpp,
6125 * ace/FlReactor.h,
6126 * ace/FlReactor.cpp,
6127 * ace/Select_Reactor_T.h,
6128 * ace/Select_Reactor_T.cpp,
6129 * ace/Reactor_Impl.h,
6130 * ace/Reactor.h,
6131 * ace/Reactor.cpp:
6132 Exposed the new reset_interval() method Darrell added to all the
6133 Timer mechanisms via a method in each of these Reactor's called
6134 reset_timer_interval().
6135
6136 * ace/Timer_Hash_T.h:
6137 * ace/Timer_Heap_T.h:
6138 * ace/Timer_List_T.h:
6139 * ace/Timer_Queue_T.h:
6140 * ace/Timer_Wheel_T.h:
6141 * ace/Timer_Hash_T.cpp:
6142 * ace/Timer_Heap_T.cpp:
6143 * ace/Timer_List_T.cpp:
6144 * ace/Timer_Wheel_T.cpp:
6145 Changed the return values of <reset_interval> to be (1)
6146 consistent (i.e., to return a value through all paths in the
6147 method) and (2) to return -1 on failure and 0 on success.
6148 Also replaced a number of C-style casts with
6149 ACE_reinterpret_casts.
6150
6151 Tue Aug 17 20:51:35 1999 Carlos O'Ryan <[email protected]>
6152
6153 * ace/TP_Reactor.h:
6154 * ace/TP_Reactor.cpp:
6155 The TP Reactor also experiences a performance hit if signal
6156 masking is enabled. Therefore, we can now make this optional.
6157
6158 Tue Aug 17 19:10:00 1999 Darrell Brunsch <[email protected]>
6159
6160 * ace/OS.cpp: Fixed typo.
6161
6162 * ace/Stats.cpp: Removed some warnings showing up in MSVC when
6163 assigning ACE_UINT64 values to ACE_UINT32 variables. Used
6164 ACE_U64_TO_U32 to remove these warnings.
6165
6166 * ace/Timer_Hash_T.h:
6167 * ace/Timer_Heap_T.h:
6168 * ace/Timer_List_T.h:
6169 * ace/Timer_Queue_T.h:
6170 * ace/Timer_Wheel_T.h:
6171 * ace/Timer_Hash_T.cpp:
6172 * ace/Timer_Heap_T.cpp:
6173 * ace/Timer_List_T.cpp:
6174 * ace/Timer_Wheel_T.cpp:
6175 Added a new method, <reset_interval> which can be used to
6176 change the interval of a timer represented by a timer_id.
6177
6178 Tue Aug 17 18:43:53 1999 Jeff Parsons <[email protected]>
6179
6180 * ace/OS.h:
6181 * ace/OS.i:
6182 Added wscmp and wsncmp functions to go with the existing
6183 wslen and wscpy functions. These all use WChar*, so arg
6184 size is independent of platform. These are to be used for
6185 all manipulations of CORBA::WString. The two that were
6186 added were needed for wstring tests in Param_Test. WChar*
6187 versions of the other string manipulation functions will
6188 be added as needed.
6189
6190 Tue Aug 17 17:49:33 1999 Douglas C. Schmidt <[email protected]>
6191
6192 * ace/config-sunos5.5.h: If (_LARGEFILE_SOURCE) || (_FILE_OFFSET_BITS==64)
6193 are enabled then #undef ACE_HAS_PROC_FS and ACE_HAS_PRUSAGE_T to
6194 work around problems with Solaris 7. Thanks to Sridhara Rao
6195 Dasu <[email protected]> for reporting this.
6196
6197 * ace/OS.i: Updated the readdir_r() conditional compilation so that
6198 it'll work when _FILE_OFFSET_BITS == 64. Thanks to Sridhara Rao
6199 Dasu <[email protected]> for reporting this.
6200
6201 Tue Aug 17 17:17:13 1999 Carlos O'Ryan <[email protected]>
6202
6203 * ace/OS.h:
6204 * ace/OS.i:
6205 * ace/OS.cpp:
6206 Added new data type to handle condition variable attributes
6207 (ACE_condattr_t). New methods to manipulate that data type
6208 (ACE_OS::cond_attr_init and destroy) Add new method to create a
6209 condition variable from a pre-initialized attribute.
6210
6211 * ace/Synch.h:
6212 * ace/Synch.i:
6213 * ace/Synch.cpp:
6214 Added new wrapper for the ACE_condattr_t structure.
6215
6216 * ace/Token.h:
6217 * ace/Token.cpp:
6218 Use ACE_Condition_Attributes to minimize the number of memory
6219 allocations and locks in the critical path of the TP_Reactor.
6220
6221 Tue Aug 17 15:55:17 1999 Nanbor Wang <[email protected]>
6222
6223 * performance-tests/TCP/TCP.{dsw,dsp}:
6224 * performance-tests/TCP/Makefile:
6225 * performance-tests/TCP/tcp_test.cpp: Added the new test modified
6226 by Carlos and a bit further by me. The test measures TCP
6227 performance of a platform. We can also use it to test the
6228 performance of various reactors.
6229
6230 Tue Aug 17 14:52:40 1999 Darrell Brunsch <[email protected]>
6231
6232 * ace/config-win32.h: Added ACE_CC_COMPILER definition for MSVC.
6233 ACE_CC_COMPILER is a string containing the compiler program.
6234
6235 Tue Aug 17 13:48:27 CDT 1999 Loren Rittle <[email protected]>
6236
6237 * bin/update-ace+tao.sh: Use authoritative name list instead of
6238 ad hoc list to update file.
6239
6240 Tue Aug 17 06:33:05 1999 Douglas C. Schmidt <[email protected]>
6241
6242 * ace/Task.h: Clarified the comment regarding
6243 open() and close() on ACE_Task_Base. Thanks to Jeff Franks
6244 <[email protected]> for suggesting this.
6245
6246 Tue Aug 17 11:56:33 1999 Carlos O'Ryan <[email protected]>
6247
6248 * ace/Select_Reactor_T.h:
6249 * ace/Select_Reactor_T.cpp:
6250 Added option in the constructor to disable the signal handling
6251 features in the select reactor. This eliminates a couple of
6252 kernel level locks that are not needed in all applications.
6253
6254 * ace/Stats.h:
6255 * ace/Stats.cpp:
6256 Now we keep track of the iteration where the minimum and maximum
6257 latencies were achieved.
6258
6259 Tue Aug 17 06:33:05 1999 Douglas C. Schmidt <[email protected]>
6260
6261 * bin: Added a new shell script called update-ace+tao.sh
6262 that updates the ACE/TAO source tree to the latest
6263 numeric-assigned version. Thanks to Loren Rittle
6264 <[email protected]> for contributing this.
6265
6266 Mon Aug 16 20:09:12 1999 Carlos O'Ryan <[email protected]>
6267
6268 * ace/CDR_Stream.h:
6269 * ace/CDR_Stream.i:
6270 * ace/CDR_Stream.cpp:
6271 Added new method to transfer the contents of one CDR stream into
6272 another. This is used in the implementation of the ORB to
6273 minimize the number of data copies, memory allocations and
6274 locks.
6275
6276 * ace/Message_Block.h:
6277 * ace/Message_Block.i:
6278 Added new method to replace the Data_Block, this method returns
6279 the old one, letting the user decide how to deallocated the Data
6280 block, possibly transfering it to another Message_Block.
6281
6282 Mon Aug 16 15:58:12 1999 Steve Huston <[email protected]>
6283
6284 * ace/config-sunos5.5.h:
6285 * include/makeinclude/platform_sunos5_sunc++.GNU: Added support
6286 for using "compat=4" mode for Sun CC 5. To use this, do
6287 "make compat4=1", or equivalent. Compat 4 uses -compat=4 with
6288 its old iostreams, but the newer Sun CC 5 scheme of explicit
6289 template instantiation.
6290
6291 Mon Aug 16 11:59:18 1999 Vishal Kachroo <[email protected]>
6292
6293 * ace/SOCK_Dgram_Mcast.cpp (subscribe): Constructed and passed a
6294 complete sockaddr_in to the ACE_OS::join_leaf () call. This was
6295 just being passed sockaddr_in.sin_addr.s_addr.
6296
6297 Sat Aug 14 18:01:27 1999 Carlos O'Ryan <[email protected]>
6298
6299 * tests/run_tests.pl:
6300 Fixed some output messages that were going to stdout.
6301
6302 Sat Aug 14 15:20:27 1999 Douglas C. Schmidt <[email protected]>
6303
6304 * ace/SOCK_Dgram_Mcast.cpp (subscribe): It looks like there
6305 was a bug where we were passing an s_addr to ACE_OS::join_leaf()
6306 rather than a sockaddr *. Fixing this also cleaned up some code
6307 that was #ifdef'd for UNICOS. Thanks to Vishal for reporting
6308 this.
6309
6310 * ace/Process.h: Added a virtual to ~ACE_Process so that it
6311 can be used for subclassing more readily. Thanks to Zoran
6312 Ivanovic <[email protected]> for suggesting this.
6313
6314 Sat Aug 14 14:11:25 1999 Everett Anderson <[email protected]>
6315
6316 * ace/Remote_Tokens.cpp (tryacquire): Fixed so that it uses
6317 ACE_Token_Request::TRY_ACQUIRE instead of RELEASE.
6318
6319 Fri Aug 13 18:55:51 1999 Douglas C. Schmidt <[email protected]>
6320
6321 * ace/Handle_Set.h (ACE_Handle_Set): Clarified the meaning of the
6322 nbits_ array. Thanks to Hao Ruan <[email protected]> for
6323 motivating this.
6324
6325 Fri Aug 13 21:18:40 1999 David L. Levine <[email protected]>
6326
6327 * ace/OS.i (llseek): on Linux, moved extern "C" llseek ()
6328 declaration out of the function. Thanks to Tal Lev-Ami
6329 <[email protected]> for this fix.
6330
6331 Fri Aug 13 20:50:02 1999 Nanbor Wang <[email protected]>
6332
6333 * ace/Select_Reactor_T.cpp (handle_events): Added a deactivation
6334 check for non-threaded case. The original check was mixed with
6335 thread owner check and thus got disabled under single-threaded
6336 configurations. Thanks to Kirthika for reporting the problem.
6337
6338 Fri Aug 13 13:11:16 1999 David L. Levine <[email protected]>
6339
6340 * bin/make_release: moved ACE_wrappers/TAO addition to
6341 $release_files so that it's only done for the ACE+TAO kit.
6342
6343 Fri Aug 13 12:44:08 1999 David L. Levine <[email protected]>
6344
6345 * Makefile,bin/make_release: added support (and documentation)
6346 for creating kits with or without new tags, or using an old
6347 tag; generated man pages; installation to the public ftp/http
6348 site on ace; and zip files.
6349
6350 Fri Aug 13 07:58:12 1999 David L. Levine <[email protected]>
6351
6352 * ace/OS.{h,i},README,config-osf1-4.0.h (llseek): added
6353 ACE_HAS_LLSEEK support. Thanks to Tal Lev-Ami <[email protected]>
6354 for providing this.
6355
6356 Thu Aug 12 22:05:37 1999 Douglas C. Schmidt <[email protected]>
6357
6358 * ace/OS.i (sema_wait, rw_tryrdlock, rw_trywrlock):
6359 Replaced more ad hoc uses of the
6360
6361 int error = 0;
6362 ...
6363 error = errno;
6364 ...
6365 errno = error;
6366
6367 idiom with the ACE_Errno_Guard.
6368
6369 * ace/Synch.h: Updated the comment to remind folks who would
6370 like to have a working ACE_Process_Condition to contact us if
6371 they know how to do this. Thanks to Craig Anderson
6372 <[email protected]> for motivating this.
6373
6374 * tests/Process_Strategy_Test.cpp (open): Clarified the behavior
6375 of the code that's run when fork() is used. Thanks to Umar
6376 Syyid for motivating this.
6377
6378 Thu Aug 12 21:30:09 1999 Alexander Babu Arulanthu <[email protected]>
6379
6380 * include/makeinclude/platform_vxworks5.x_g++.GNU:
6381 added SIMNT support.
6382
6383 Thu Aug 12 20:54:40 1999 David L. Levine <[email protected]>
6384
6385 * ace/config-osf1-4.0.h: added ACE_HAS_USING_KEYWORD
6386 for cxx and Rational compilers. [Bug 163]
6387
6388 Thu Aug 12 20:47:13 1999 Carlos O'Ryan <[email protected]>
6389
6390 * tests/Cached_Accept_Conn_Test.cpp:
6391 Made the <debug> and <connection_accepted> variables global
6392 instead of static, because otherwise Sun/CC automatic template
6393 instantiation cannot find them at link time. The variables are
6394 used in template code that is defined and used in the same file,
6395 but Sun/CC does not seem to understand that.
6396
6397 Thu Aug 12 17:14:35 1999 Jeff Parsons <[email protected]>
6398
6399 * ace/OS.h:
6400 Changed typedef of WChar to ACE_UINT16. The CDR operations
6401 are already using write_2, read_2 and SHORT_SIZE, and
6402 in the process of implementing wchars and wstrings in
6403 IDL, it's going to be important to optimize for the
6404 Unicode common case.
6405
6406 Thu Aug 12 16:24:16 1999 David L. Levine <[email protected]>
6407
6408 * bin/make_release: chdir up a level before removing the
6409 staging directory. Thanks to Carlos for pointing out
6410 that it's necessary, because we had chdir'd into it.
6411 And for noticing that $build_commands got clobbered in
6412 create_kit (). Obey $generate_man_pages setting.
6413
6414 Thu Aug 12 16:03:03 1999 David L. Levine <[email protected]>
6415
6416 * ACE version 5.0.1 released.
6417
6418 Thu Aug 12 15:49:00 1999 David L. Levine <[email protected]>
6419
6420 * Makefile,bin/make_release: build kits in /tmp staging
6421 area, and copy to ace's ftp pub/ACE directory.
6422
6423 Thu Aug 12 11:36:46 1999 Carlos O'Ryan <[email protected]>
6424
6425 * ace/OS.h:
6426 * ace/Svc_Handler.cpp:
6427 * ace/Future.cpp:
6428 Some platforms require arguments in the exception thrown from
6429 operator new. The standard (std::bad_alloc) does not require
6430 any.
6431 Added a new macro (ACE_throw_bad_alloc) that takes care of these
6432 differences, including platforms that don't throw exceptions but
6433 return something.
6434
6435 Wed Aug 11 17:00:00 1999 Kirthika Parameswaran <[email protected]>
6436
6437 * tests/Cached_Accept_Conn_Test.cpp:
6438 Removed run_event_loop and end_event_loop and put in
6439 handle_events with a flag to stop the loop. This is a bug fix
6440 for Bug183.
6441
6442 Wed Aug 11 15:49:37 1999 David L. Levine <[email protected]>
6443
6444 * docs/ACE-guidelines.html: cleaned up ACE doc tool discussion.
6445 Added Carlos' inlining heuristics.
6446
6447 Wed Aug 11 13:53:20 1999 David L. Levine <[email protected]>
6448
6449 * ace/config-win32.h,config-win32-borland.h: added
6450 ACE_HAS_MUTABLE_KEYWORD. Thanks to Jody for this request.
6451
6452 Wed Aug 11 13:15:26 1999 David L. Levine <[email protected]>
6453
6454 * ace/config-g++-common.h,config-win32.h,config-win32-borland.h:
6455 added ACE_HAS_EXPLICIT_KEYWORD
6456 (for egcs only, in config-g++-common.h). Thanks to Jody Hagins
6457 <[email protected]> for this update.
6458
6459 * ace/config-g++-common.h: added ACE_HAS_MUTABLE_KEYWORD.
6460
6461 Wed Aug 11 13:10:32 1999 David L. Levine <[email protected]>
6462
6463 * ace/OS.h,README: added ACE_HAS_MUTABLE_KEYWORD support.
6464 Thanks to Jody Hagins <[email protected]> for providing it.
6465
6466 Wed Aug 11 12:55:23 1999 Carlos O'Ryan <[email protected]>
6467
6468 * ace/Svc_Handler.cpp:
6469 * ace/Future.cpp:
6470 The throw expressions require a constructor, not just the type,
6471 thanks to David for pointing this out.
6472
6473 Wed Aug 11 10:12:11 1999 David L. Levine <[email protected]>
6474
6475 * ace/OS.h,Auto_Ptr.h,SString.h,README: added support for
6476 ACE_HAS_EXPLICIT_KEYWORD. Thanks to Jody Hagins <[email protected]>
6477 for suggesting this.
6478
6479 Wed Aug 11 10:07:36 1999 Carlos O'Ryan <[email protected]>
6480
6481 * ace/Future.cpp:
6482 * ace/Local_Tokens.cpp:
6483 * ace/Log_Msg.cpp:
6484 * ace/Log_Record.cpp:
6485 * ace/Svc_Handler.cpp:
6486 * netsvcs/lib/Token_Handler.cpp:
6487 Fixed several warnings and errors with gcc-2.95
6488
6489 * include/makeinclude/wrapper_macros.GNU:
6490 Add -fcheck-new to the command-line of g++ when compiling with
6491 exceptions disabled. In that case new operators could return 0
6492 and without this option the constructor will surely be invoked
6493 on invalid data.
6494
6495 * bin/auto_compile:
6496 Use LOGNAME instead of USER to get the username because it is
6497 more portable.
6498
6499 Tue Aug 10 23:47:32 1999 Kirthika Parameswaran <[email protected]>
6500
6501 * ace/Cached_Connect_Strategy_T.h:
6502 * ace/Caching_Utility_T.h:
6503 * ace/Caching_Strategies_T.h:
6504 * ace/Cleanup_Strategies_T.h:
6505 * ace/Cache_Map_Manager_T.h:
6506 * ace/Hash_Cache_Map_Manager_T.h:
6507
6508 Defined macros to shorten lengthy class names for linkers which
6509 couldnt grok long names (example: Sun Linker). Thanks to
6510 Dr.Schmidt for this cool idea.
6511
6512 Tue Aug 10 19:07:32 1999 Carlos O'Ryan <[email protected]>
6513
6514 * tests/run_tests.sh:
6515 * tests/run_tests.pl:
6516 * tests/run_tests.lst:
6517 Move the list of tests to a separate file. This file is used to
6518 drive both a perl version of the script and the old shell
6519 version.
6520 The new perl version is able to terminate programs that hang,
6521 but still has problem with processes that fork children who then
6522 hang for some reason. The perl script has to be ported to Win32
6523 too.
6524
6525 * bin/run_all_list.pm:
6526 Use the new tests/run_tests.pl script on Unix.
6527
6528 * bin/run_all.pl:
6529 Run all the test scripts in ACE and TAO, much like run_all_win32
6530 but for unix systems.
6531
6532 * bin/auto_compile:
6533 Remember to remove the disable file in case of errors.
6534
6535 Tue Aug 10 18:08:30 1999 Jeff Parsons <[email protected]>
6536
6537 * ace/CDR_Stream.h:
6538 * ace/CDR_STream.i:
6539 Added all the necessary stuff for wstrings.
6540
6541 Tue Aug 10 15:36:02 1999 David L. Levine <[email protected]>
6542
6543 * tests/Malloc_Test.cpp (main): removed unused argc
6544 declaration, with ACE_LACKS_FORK && ! ACE_HAS_WIN32.
6545
6546 Tue Aug 10 15:26:43 1999 David L. Levine <[email protected]>
6547
6548 * ace/OS.cpp (strptime): removed unreachable break after
6549 return statement, in default case of switch statement.
6550
6551 Tue Aug 10 14:46:12 1999 David L. Levine <[email protected]>
6552
6553 * ace/OS.{h,cpp},README: Changed support for ACE_OS::strptime ()
6554 to be configurable. VxWorks, LynxOS, and Chorus, for example,
6555 don't have a native ::strptime (). The current emulation cost
6556 2 Kb, which will be objectionable to some embedded systems
6557 developers.
6558
6559 Replaced ACE_LACKS_STRPTIME with a combination
6560 ACE_HAS_STRPTIME/ACE_LACKS_NATIVE_STRPTIME. ACE_HAS_STRPTIME
6561 enables ACE_OS::strptime () support. ACE_LACKS_NATIVE_STRPTIME
6562 lets ACE know that there's no native ::strptime (), so it then
6563 uses its emulation.
6564
6565 This has two advantages: it minimizes footprint in the default
6566 case, and doesn't break builds on platforms that don't have
6567 ::strptime (). It easily allows developers to configure ACE
6568 identically, with respect to strptime, on their Unix, NT, and
6569 embedded platforms. [Bug 219]
6570
6571 * ace/config-sunos5.5.h,config-linux-common.h,config-osf1-4.0.h,
6572 config-irix6.x-common.h:
6573 added #define ACE_HAS_STRPTIME. [Bug 219]
6574
6575 Tue Aug 10 12:28:54 1999 Jeff Parsons <[email protected]>
6576
6577 * bin/run_all_list.pm:
6578 Added IDL test to the list.
6579
6580 Mon Aug 09 16:49:45 1999 Nanbor Wang <[email protected]>
6581
6582 * ace/Process.{h,cpp} (wait): Re-visited the implementation so it
6583 behaves the same on both UNIX and Win32. Thanks to Doug for
6584 suggesting this.
6585
6586 Mon Aug 09 16:30:24 1999 David L. Levine <[email protected]>
6587
6588 * docs/ACE-guidelines.html: added note to follow the
6589 ACE documentation tools guidelines and restrictions.
6590 Thanks to Doug for pointing this out.
6591
6592 Mon Aug 09 16:06:01 1999 Nanbor Wang <[email protected]>
6593
6594 * include/makeinclude/wrapper_macros.GNU: Applied smart eg++
6595 recognizer. Thanks to Craig Anderson <[email protected]> for
6596 providing the patch.
6597
6598 Mon Aug 9 11:29:36 1999 Douglas C. Schmidt <[email protected]>
6599
6600 * bin: Fixed html-windex so that it works when class names contain
6601 the digit '3' in them, e.g., ACE_WIN32_Asynch_Accept, etc.
6602 Thanks to Jody Hagins <[email protected]> for reporting this
6603 problem.
6604
6605 Mon Aug 09 15:10:27 1999 Nanbor Wang <[email protected]>
6606
6607 * ace/Process.h (wait): Rewrote comments.
6608
6609 * ace/Service_Config.h (open): Revised the comments for several
6610 service_config flags. Thanks to Doug for pointing this out.
6611
6612 Mon Aug 9 11:29:36 1999 Douglas C. Schmidt <[email protected]>
6613
6614 * examples/Reactor/Misc/test_demuxing.cpp: Added a destructor
6615 to ~STDIN_Handler that will remove the event handler for STDIN
6616 and the registered timer.
6617
6618 Mon Aug 9 10:45:24 1999 Douglas C. Schmidt <[email protected]>
6619
6620 * ace/Memory_Pool.cpp (handle_signal): When working with an MMAP
6621 memory pool, a "real" segmentation fault (not related to
6622 updating the memory mapping) will cause the process to fail but
6623 not write a core file. This is because that on linux (and
6624 possibly other flavours of UNIX) core file writing is a default
6625 behaviour which is disabled once you register a signal handler.
6626 Even if the signal handler returns a bad return value which
6627 crashes the program, a core file will not be written.
6628
6629 The fix for this is to modify the mmap() signal handler so that
6630 it de-registers the signal handler when detecting a segfault
6631 with the mapping up to date and return an "ok" answer. the
6632 program will attempt to access the illegal address again and
6633 dump core. Thanks to Joseph Weihs <[email protected]> for
6634 contributing this fix.
6635
6636 * ace/Signal: Changed the new handle_i() and register_handler_i()
6637 methods to be static member functions so they can be called from
6638 the static dispatch() member function. Thanks to Andreas
6639 Geisler <[email protected]> for reporting this.
6640
6641 Mon Aug 9 10:33:50 1999 Douglas C. Schmidt <[email protected]>
6642
6643 * examples/ASX/CCM_App/SC_Server.cpp: Make sure to enable
6644 the appropriate parameter for ACE_Service_Config::open() so that
6645 static services will be enabled. Thanks to Michael Roth
6646 <[email protected]> for reporting this.
6647
6648 Mon Aug 09 10:21:37 1999 David L. Levine <[email protected]>
6649
6650 * include/makeinclude/wrapper_macros.GNU (INCLDIRS):
6651 removed "-I.". It's not necessary, because the preprocessor
6652 will first look for headers in the current directory, when
6653 appropriate. It causes trouble, for example, on NT for
6654 VxWorks with Green Hills. Instead of including the system's
6655 Signal.h, ACE's signal.h gets #included with "-I.". Thanks
6656 to Dale Wood <[email protected]> for helping to track
6657 this down. [Bug 35]
6658
6659 * include/makeinclude/platform_vxworks5.x_ghs.GNU: no longer
6660 need to override INCLDIRS, now that it doesn't contain "-I.".
6661 [Bug 35]
6662
6663 Mon Aug 09 10:09:57 1999 David L. Levine <[email protected]>
6664
6665 * ace/OS.h,streams.h: moved ACE_OSTREAM_TYPE #define from
6666 streams.h to OS.h, so that it is seen with
6667 ACE_LACKS_IOSTREAM_TOTALLY. And, provide default value
6668 for ACE_DEFAULT_LOG_STREAM. [Bug 208]
6669
6670 * ace/Log_Msg.cpp: changed a couple remaining ostream occurrences
6671 to ACE_OSTREAM_TYPE. Replaced conditional use of
6672 ACE_DEFAULT_LOG_STREAM/&cerr with ACE_DEFAULT_LOG_STREAM,
6673 now that it's always defined. [Bug 208]
6674
6675 Mon Aug 09 09:47:06 1999 David L. Levine <[email protected]>
6676
6677 * ace/Log_Msg.{h,cpp}: replaced the ACE_Log_Msg_key_created_
6678 and ACE_Log_Msg_key_ file static variables with static
6679 class members ACE_Log_Msg::key_created_ and
6680 ACE_Log_Msg::log_msg_tss_key_, respectively. Only declare
6681 ACE_Log_Msg::log_msg_tss_key_ if the platform supports TSS
6682 (native or emulated). Replaced the ACE_Log_Msg_message_queue
6683 file static variable with ACE_Log_Msg_Manager::message_queue_.
6684 Cleaned up Log_Msg.cpp. [Bug 86]
6685
6686 Thanks to Umar Syyid <[email protected]> for suggesting that
6687 we remove the file static variables.
6688
6689 Mon Aug 09 09:33:43 1999 David L. Levine <[email protected]>
6690
6691 * ace/OS.h: #define ECOMM (to ECONNABORTED) if it's not
6692 already #defined. This allows support on NT. Thanks to
6693 Andy for reporting this.
6694
6695 Mon Aug 9 07:45:19 1999 Douglas C. Schmidt <[email protected]>
6696
6697 * ace/Signal.h: Modified the behavior of the
6698 ACE_Sig_Handler::dispatch() method so that on Win32 it'll
6699 automagically re-register the signal handler after the
6700 handler_signal() method returns with a non -1 value. Thanks to
6701 Andreas Geisler <[email protected]> for suggesting
6702 this.
6703
6704 * tests/Malloc_Test.cpp: Win32 didn't seem to like a 32k
6705 offset for the virtual address. Let's try 64k instead. Thanks
6706 to Nanbor for reporting this.
6707
6708 * tests/Malloc_Test.cpp: Changed the sense of the conditional
6709 compilation test from && !defined (ACE_WIN32) to || defined
6710 (ACE_WIN32) so that this will run on Win32. Thanks to
6711 Nanbor for reporting this.
6712
6713 * ace/OS.i: Cleaned up the coding style for the sigset*
6714 wrapper functions.
6715
6716 Sun Aug 08 21:19:42 1999 David L. Levine <[email protected]>
6717
6718 * ace/config-osf1-4.0.h: removed unreferenced_function_param
6719 warning suppression. It's no longer needed with the fixes
6720 to avoid unreferenced function parameters. [Bug 217]
6721
6722 Fri Aug 06 15:20:00 1999 Kirthika Parameswaran <[email protected]>
6723
6724 * ACE-INSTALL.html: added information about compilation on
6725 SunOS5.6 using egcs1.1.2.
6726
6727 Fri Aug 06 13:47:51 1999 David L. Levine <[email protected]>
6728
6729 * ACE-INSTALL.html: added note about disabling optimization
6730 for some files with Tornado II.
6731
6732 Fri Aug 06 13:39:48 1999 David L. Levine <[email protected]>
6733
6734 * ACE-INSTALL.html: updated VxWorks build information,
6735 specifically, the instructions for building on NT host.
6736 And, added information about linking libACE.so and libTAO.so
6737 into the VxWorks kernel. Thanks to
6738 Erik Johannes <[email protected]> and Stephane Chatre
6739 <[email protected]> for helping to clarify and verify.
6740
6741 Fri Aug 06 12:10:19 1999 Nanbor Wang <[email protected]>
6742
6743 * ace/config-win32-common.h: Added
6744 ACE_HAS_POSITION_INDEPENDENT_MALLOC.
6745
6746 * ace/OS.cpp (strptime_getnum): getnum should be strptim_getnum.
6747
6748 * ace/config-win32-common.h: Added ACE_LACKS_STRPTIME. Thanks to
6749 Andy for pointing this out.
6750
6751 Fri Aug 06 11:13:27 1999 David L. Levine <[email protected]>
6752
6753 * ace/streams.h,OS.h,Log_Msg.h: with ACE_LACKS_IOSTREAM_TOTALLY,
6754 removed the hack that re-#defined ostream. Replaced that
6755 with an ACE_OSTREAM_TYPE macro. [Bug 208]
6756
6757 Fri Aug 06 10:49:34 1999 David L. Levine <[email protected]>
6758
6759 * ACE-INSTALL.html: updated egcs versions that we use
6760 (1.1.1 and 1.1.2).
6761
6762 Fri Aug 6 08:43:22 1999 Douglas C. Schmidt <[email protected]>
6763
6764 * examples/Log_Msg/test_log_msg.cpp (main): Changed this
6765 test so that it no longer abort()s, but instead calls
6766 ACE_OS::_exit(). This should help avoid confusion when it's
6767 run. Thanks to Kevin Lyda <[email protected]> for
6768 reporting this. This fixes [BUGID:211].
6769
6770 * ace/SOCK_Dgram_Mcast: The QoS-enabled subscribe() call must
6771 call the QoS-enabled open() call, rather than the "regular"
6772 open() call because otherwise QoS information isn't initialized!
6773 Thanks to Vishal for pointing this out.
6774
6775 Fri Aug 06 08:22:00 1999 David L. Levine <[email protected]>
6776
6777 * ace/Object_Manager.cpp: with ACE_SHOULD_MALLOC_STATIC_OBJECT_LOCK,
6778 made the ACE_Static_Object_Lock_lock instance static, to
6779 match the non-ACE_SHOULD_MALLOC_STATIC_OBJECT_LOCK behavior.
6780 Thanks to Jody for this change.
6781
6782 Also, consolidated the code to alway use the
6783 ACE_Static_Object_Lock_Type typedef.
6784
6785 Fri Aug 06 06:55:49 1999 Jody Hagins <[email protected]>
6786
6787 * include/makeinclude/rules.local.GNU (depend.local): added
6788 ACE_DEPEND_SED_CMD hook, so that users can add sed scripts.
6789 An example is to use relative instead of absolute paths
6790 in dependencies. I put this into it to get the desired
6791 (site-specific) functionality:
6792
6793 USER_DEPEND_SED_CMD=-e "s;$(PRISM_ROOT);\$$(PRISM_ROOT);g"
6794
6795 Thu Aug 5 22:26:18 1999 Douglas C. Schmidt <[email protected]>
6796
6797 * ace/OS.h (ACE_OS): Added support for strptime() for platforms that
6798 lack it. Thanks to Kevin Lyda <[email protected]> for
6799 contributing this. Note that if a platform fails to compile
6800 because it doesn't support this function, please enable
6801 ACE_LACKS_STRPTIME in the config.h file and send us email.
6802
6803 Thu Aug 05 21:37:05 1999 David L. Levine <[email protected]>
6804
6805 * ace/Object_Manager.cpp (ACE_Static_Object_Lock_lock,
6806 ACE_Static_Object_Lock::instance, cleanup_lock):
6807 added support for ACE_SHOULD_MALLOC_STATIC_OBJECT_LOCK.
6808 It's not (currently) used by ACE. But, applications may
6809 find it useful for avoiding recursive calls if they have
6810 overridden operator new. Thanks to Jody Hagins
6811 <[email protected]> for contributing it.
6812
6813 Thu Aug 05 21:04:20 1999 David L. Levine <[email protected]>
6814
6815 * ace/streams.h: removed #includes of istream.h and ostream.h
6816 with ACE_HAS_STD_CPP_LIBRARY and ACE_USES_OLD_IOSTREAMS.
6817 Those headers aren't available with Sun CC. I think that
6818 they might be unnecessary with egcs for Tornado II. Thanks
6819 to Doug for reporting this. Ref.
6820 Thu Aug 05 14:31:48 1999 David L. Levine <[email protected]>.
6821
6822 Thu Aug 5 16:43:29 1999 Douglas C. Schmidt <[email protected]>
6823
6824 * tests/Malloc_Test.cpp: Rearranged the #ifdefs so that
6825 we don't do much of anything if the platform doesn't support
6826 processes. Thanks to David Levine for reporting this.
6827
6828 Thu Aug 5 16:27:15 1999 Carlos O'Ryan <[email protected]>
6829
6830 * include/makeinclude/rules.lib.GNU:
6831 * include/makeinclude/wrapper_macros.GNU:
6832 Added new macro (ACE_SHLIBS) to control the final link line of
6833 shared libraries. Use this macro to list the -l options
6834 required by your shared library that are *not* included in the
6835 system LIBS macro, for example "-lTAO -lACE"; the system will
6836 automagically change that to be "-lTAOshr -lACEshr" on AIX.
6837 This also decouples the shared library link line from the
6838 binaries, which use LDLIBS and ACELIB, allowing the application
6839 developers to easily mix shared libraries and binaries in the
6840 same directory, even if the binaries depend on the generated
6841 shared library.
6842
6843 Thu Aug 05 15:44:39 1999 David L. Levine <[email protected]>
6844
6845 * include/makeinclude/platform_vxworks5.x_g++.GNU: on
6846 WIN32 host, assume that $(CC) is on the user's path (or is a
6847 full pathname). That way, we don't need to determine ACE_CC
6848 dynamically, which causes trouble with the WIN32 shell. Thanks
6849 to Erik Johannes <[email protected]> for reporting this.
6850 [NOTE: this had been committed on a branch, but never on the
6851 main line.]
6852
6853 Thu Aug 05 15:35:21 1999 Nanbor Wang <[email protected]>
6854
6855 * apps/gperf/src/gperf.dsp:
6856 * apps/gperf/src/gperf_lib.dsp:
6857 * ace/ace_lib.dsp:
6858 * ace/ace_dll.dsp: Changed the default configuration to Win32
6859 Debug so if anyone doesn't know what he is doing, he'll most
6860 likely to success.
6861
6862 Thu Aug 05 15:30:32 1999 David L. Levine <[email protected]>
6863
6864 * ace/streams.h: with ACE_LACKS_IOSTREAMS_TOTALLY, always
6865 #define ostream FILE *. [Bug 208]
6866
6867 Thu Aug 05 15:13:01 1999 David L. Levine <[email protected]>
6868
6869 * ace/config-lynxos.h: added note on why we don't #define
6870 ACE_HAS_POSIX_SEM for LynxOS. [Bug 164]
6871
6872 Thu Aug 05 14:53:44 1999 David L. Levine <[email protected]>
6873
6874 * ace/config-vxworks5.x.h: added support for the Diab
6875 compiler, version 4.2a or later. Compilation succeeds but links
6876 still have unresolved symbols related to new and delete. [Bug
6877 207]
6878
6879 * ace/OS.h,README: added support for ACE_LACKS_NEW_H. [Bug 207]
6880
6881 * ace/OS.h: for VxWorks, use the ANSI prototypes for
6882 inet_ntoa.h, etc., for all VxWorks compilers, not just Green
6883 Hills. This allows compilation to succeed with Diab 4.2a. [Bug
6884 207]
6885
6886 Thanks to Erik Johannes <[email protected]> for helping with
6887 this quick port to Diab 4.2a for VxWorks.
6888
6889 Thu Aug 05 14:31:48 1999 David L. Levine <[email protected]>
6890
6891 * ace/iosfwd.h: #include iosfwd with
6892 ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION as well as without
6893 ACE_HAS_OLD_IOSTREAMS. This allows builds to succeed for
6894 Tornado II with its egcs. [Bug 206]
6895
6896 * ace/streams.h: added #includes of istream.h, ostream.h,
6897 and iomanip.h with ACE_HAS_STD_CPP_LIBRARY and
6898 ACE_USES_OLD_IOSTREAMS. It's necessary for builds for Tornado
6899 II, but should be harmless and helpful on other platforms. [Bug
6900 206]
6901
6902 Thanks to Matthias Schumann <[email protected]> for
6903 first reporting the solution to the build problem for Tornado II.
6904
6905 Thu Aug 5 13:03:28 1999 Douglas C. Schmidt <[email protected]>
6906
6907 * ace/Malloc_T.cpp (shared_free): Looks like ACE_reinterpret_cast
6908 isn't the right thing to do... Let's just use good ol'
6909 fashioned C-style casts instead. Thanks to Bala for reporting
6910 this.
6911
6912 Thu Aug 05 12:05:42 1999 David L. Levine <[email protected]>
6913
6914 * include/makeinclude/wrapper_macros.GNU: moved minimum_corba
6915 make flag support from wrapper_macros.GNU to TAO/rules.tao.GNU.
6916 Thanks to Bala for noticing this. [Bug 204]
6917
6918 Thu Aug 05 12:01:14 1999 Nanbor Wang <[email protected]>
6919
6920 * ace/Malloc_T.cpp (shared_free): Applied
6921 ACE_reinterpret_cast (ACE_Malloc_Header*, yadda) to serveral
6922 pointer comparisons. MSVC was complaining because the pointers are
6923 of different types.
6924
6925 Thu Aug 5 11:57:23 1999 Balachandran Natarajan <[email protected]>
6926
6927 * include/makeinclude/wrapper_macros.GNU (YACC): Removed the
6928 definition of interface_repo a command line option with 'make'
6929 to $TAO_ROOT/rules.tao.GNU as per Dr.Levine's suggestions.
6930
6931 Thu Aug 05 08:43:27 1999 David L. Levine <[email protected]>
6932
6933 * include/makeinclude/platform_vxworks5.x_diab.GNU: added.
6934 Thanks to Erik Johannes <[email protected]> for
6935 helping to figure out its contents. Note that compiles
6936 succeed with Diab 4.2a for VxWorks, but links do not, yet.
6937
6938 Thu Aug 05 08:37:09 1999 David L. Levine <[email protected]>
6939
6940 * ACE-INSTALL.html: added Kirk Davies' notes for running
6941 the ACE tests on Tornado II, without NFS installed.
6942
6943 Thu Aug 5 00:15:45 1999 Douglas C. Schmidt <[email protected]>
6944
6945 * ace/Based_Pointer_T: Changed the type of index for operator[]
6946 and operator+= to be int instead of long so that it'll work
6947 correctly when constant values are used. Thanks to
6948 Nanbor and KCC for pointing this out!
6949
6950 Wed Aug 4 19:46:33 1999 Carlos O'Ryan <[email protected]>
6951
6952 * tests/run_tests.sh:
6953 Disabled the New_Fail_Test because it breaks other
6954 compilations.
6955
6956 Wed Aug 4 15:56:51 1999 Douglas C. Schmidt <[email protected]>
6957
6958 * tests/Malloc_Test.cpp: Make this test work even if
6959 ACE_HAS_POSITION_INDEPENDENT_MALLOC isn't set for a particular
6960 platform.
6961
6962 * tests/Malloc_Test.h: Added a #include for
6963 "ace/Based_Pointer_T.h". Thanks to Carlos for pointing out the
6964 need for this.
6965
6966 Wed Aug 4 17:07:12 1999 Balachandran Natarajan <[email protected]>
6967
6968 * include/makeinclude/wrapper_macros.GNU : Made the interface
6969 repository files to be compiled by default. If the user does not
6970 want these files to be compiled he can turn it off by issuing
6971 interface_repo=1 with the 'make' command.
6972
6973 Wed Aug 4 15:56:51 1999 Douglas C. Schmidt <[email protected]>
6974
6975 * ace/Task.h (ACE_Task_Base): Changed the parameter name
6976 <thread_names> to <thread_ids>, which is more descriptive.
6977 Thanks to John Forest <[email protected]> for
6978 motivating this.
6979
6980 Wed Aug 4 15:54:51 1999 Carlos O'Ryan <[email protected]>
6981
6982 * netsvcs/clients/Naming/Client/Makefile:
6983 * netsvcs/clients/Naming/Dump_Restore/Makefile:
6984 If the libraries are specified as dependencies then they don't
6985 need to be listed in LDLIBS
6986
6987 Wed Aug 4 13:20:54 1999 Douglas C. Schmidt <[email protected]>
6988
6989 * ace/Malloc.h: Ok, let's try this again ;-). Removed the
6990 forward declarations and typedefs and replaced them with
6991 #defines. Hopefully, this will make all the compilers happy!
6992
6993 Wed Aug 04 12:58:53 1999 Nanbor Wang <[email protected]>
6994
6995 * tests/*.dsp: Fixed Alpha configurations.
6996
6997 Wed Aug 4 12:26:53 1999 Carlos O'Ryan <[email protected]>
6998
6999 * ace/Malloc.h:
7000 Added more forward declarations for the compilations that
7001 enabled PIM.
7002
7003 Wed Aug 4 11:59:57 1999 Carlos O'Ryan <[email protected]>
7004
7005 * ace/Malloc.h:
7006 The previous fix did not work, i used forward declarations to
7007 make it work.
7008
7009 Wed Aug 4 09:28:35 1999 Douglas C. Schmidt <[email protected]>
7010
7011 * ace/Malloc.h: Replaced the use of typedefs for macros
7012 to define ACE_MALLOC_HEADER_PTR ACE, ACE_NAME_NODE_PTR,
7013 ACE_CHAR_PTR to try to avoid "incomplete type" messages from
7014 certain versions of G++. Macros are "later binding" than
7015 typedefs for this situation.
7016
7017 * ace/Asynch_Acceptor.cpp (handle_accept): Fixed an expression
7018 that had incorrect parentheses. Thanks to David Digby
7019 <[email protected]> for reporting this.
7020
7021 Wed Aug 04 02:40:45 1999 Nanbor Wang <[email protected]>
7022
7023 * tests/run_tests.bat: * tests/tests.dsw:
7024 * tests/Malloc_Test.dsp:
7025 * tests/version_tests/Malloc_Test.dsp: Added project files for the
7026 Malloc_Test and added the test in run_test.bat.
7027
7028 Tue Aug 3 22:39:34 1999 Douglas C. Schmidt <[email protected]>
7029
7030 * tests/{Makefile,run_tests.sh}: Added support for the new
7031 Malloc_Test.
7032
7033 * tests/Malloc_Test.cpp: Added a new test that exercises the new
7034 position-independent ACE_Malloc with ACE_MMAP_Memory_Pool and
7035 ACE_Process_Mutex.
7036
7037 * ace/Malloc_T: Added an accessor called mutex() to allow
7038 applications to acquire()/release() the lock used to provide
7039 mutual exclusion to an <ACE_Malloc> allocator.
7040
7041 * tests/SV_Shared_Memory_Test.cpp: Reformatted this test to
7042 conform to ACE programming guidelines.
7043
7044 * ace/Memory_Pool: The void * and char * arguments to the various
7045 ACE_*_Memory_Pool_Options constructors should be const; now they
7046 are!
7047
7048 * examples/Shared_Malloc/test_position_independent_malloc.cpp (main):
7049 Added auto_ptr support to this test, as well.
7050
7051 * examples/Shared_Malloc/test_multiple_mallocs.cpp: Enhanced
7052 this test so that it uses auto pointers and also now takes
7053 advantage of position-independent malloc, when possible.
7054
7055 * examples/Shared_Malloc/test_position_independent_malloc.cpp:
7056 Finished integrating all the features of this test. It's pretty
7057 cool now!
7058
7059 * examples/Shared_Malloc/Makefile: Updated the LSRC target so
7060 'make depend' works correctly...
7061
7062 * ace/Select_Reactor_Base.cpp (find): Don't set errno = ENOENT
7063 if we find a valid mapping of handle to Event_Handler. Thanks
7064 to Hao Ruan <[email protected]> for reporting this.
7065
7066 * ace/Based_Pointer_T: Added support for operator= (const
7067 ACE_Based_Pointer_Basic<T> &).
7068
7069 * ace/Based_Pointer_T: Added definitions for
7070 ACE_Based_Pointer::operator= and
7071 ACE_Based_Pointer_Basic::operator= to make EGCS happy.
7072
7073 * ace/Malloc.h: Factored out the common code for
7074 ACE_Based_Pointer<> and the underlying types, thereby reducing
7075 the number of #ifdef's.
7076
7077 * ace/Based_Pointer_T: Added an operator CONCRETE *() method
7078
7079 * ace/Based_Pointer_Repository.cpp: The original implementation
7080 of this classes stored a pointer to the size of each mapped
7081 address, rather than just the value. This was causing problems
7082 when used for shared memory because the memory was allocated in
7083 one process and freed in another. This is now fixed by not
7084 storing a pointer, but by storing the value instead. Thanks to
7085 Nanbor for reporting this.
7086
7087 Tue Aug 3 23:43:47 1999 Carlos O'Ryan <[email protected]>
7088
7089 * netsvcs/clients/Naming/Client/Makefile:
7090 * netsvcs/clients/Naming/Dump_Restore/Makefile:
7091 Fixed dependencies so parallel compilations (using the -j
7092 option) will work correctly. This fixes [BUGID:187]
7093
7094 Tue Aug 3 23:23:18 1999 Kirthika Parameswaran <[email protected]>
7095
7096 * ace/Cached_Connect_Strategy_T.{h,cpp} (cleanup):
7097 Added a specialised method to prevent memory leaks with old
7098 versions of g++. This method calls the underlying iterator
7099 and does the cleanup.
7100
7101 * ace/run_tests.sh:
7102 Removed purify check over Cached_Accept_Conn_Test and
7103 Cached_Conn_Test since they no longer leak memory when built
7104 using old version of g++.
7105
7106 Tue Aug 3 22:23:18 1999 Balachandran Natarajan <[email protected]>
7107
7108 * include/makeinclude/wrapper_macros.GNU: Added an ifeq flag for
7109 the interface repository. Compiling with interface_repo=1 will
7110 compile the files for interface repository.
7111
7112 Tue Aug 03 21:17:00 1999 Nanbor Wang <[email protected]>
7113
7114 * tests/SOCK_Connector_Test.cpp (host_is_up): Added a time out
7115 value of 5 second to spped up the test. Thanks to Jody Hagins
7116 <[email protected]> for submitting the patch.
7117
7118 Tue Aug 03 18:30:47 1999 Kirthika Parameswaran <[email protected]>
7119
7120 * ace/Strategies.h (ACE_Connection_Recycling_Strategy):
7121 Added a new pure virtual method <marked_as_closed_i> which will
7122 provide a non-locking implementation of the <mark_as_closed>
7123 method.
7124
7125 * ace/Strategies_T.h (ACE_Cached_Connect_Strategy):
7126 * ace/Cached_Connect_Strategy_T.h (ACE_Cached_Connect_Strategy_Ex):
7127 Made <mark_as_closed_i> public.
7128
7129 * ace/Caching_Utility_T.{h,cpp}
7130 (ACE_Refcounted_Recyclable_Caching_Utility): Added this class
7131 which caters to purging of refcounted and recyclable handlers.
7132
7133 * ace/Cleanup_Strategy_T.{h,cpp}:
7134 (ACE_Refcounted_Recyclable_Cleanup_Strategy): Added this class
7135 which caters to the cleanup of handlers which are refcounted and
7136 recyclable. Heres where the necessity of making the non-locking
7137 version of <marked_as_closed> public arose in the first place.
7138
7139 * ace/OS.h (ACE_Recyclable_State):
7140 Removed hardcoded values and left the enum values to the
7141 discretion of the compiler.
7142
7143 Tue Aug 03 16:58:08 1999 Joe Hoffert <[email protected]>
7144
7145 * ace/ATM_Acceptor.{h,cpp}:
7146 * ace/ATM_Connector.{h,cpp}:
7147 * ace/ATM_Stream.{h,i,cpp}:
7148 * ace/ATM_Params.cpp:
7149 * ace/ATM_QoS.cpp:
7150 * ace/XTI_ATM_Mcast.{h,i,cpp}:
7151 Fixed inlining errors.
7152
7153 Tue Aug 03 16:15:00 1999 Chris Gill <[email protected]>
7154
7155 * ace/Auto_Ptr.h: created ACE_AUTO_PTR_RESET macros, which depend on
7156 whether or not ACE_AUTO_PTR_LACKS_RESET is defined.
7157
7158 * ace/config-kcc-common.h: defined ACE_AUTO_PTR_LACKS_RESET, because
7159 KCC native auto_ptr support is difficult to disable, and implements
7160 an older version of auto_ptr (without the reset method).
7161
7162 Tue Aug 03 13:26:47 1999 Nanbor Wang <[email protected]>
7163
7164 * ace/Service_Repository.cpp (instance): Check to see if
7165 the ACE_Object_Manager is being shutting down before creating a
7166 new instance of Service_Repository. Otherwise, we may be
7167 creating a new service repository just for shutting it down.
7168 Thanks to Doug for noticing this.
7169
7170 * ace/Service_Config.cpp (fini_svcs): Since it is now possible for
7171 ACE_Service_Repository::instance to return 0 during program
7172 shutdown, we must check its value before using it.
7173
7174 Notice that the change assumes people don't do stupid things
7175 like initializing the Service_Config during program shutdown.
7176
7177 Mon Aug 2 23:21:01 1999 Carlos O'Ryan <[email protected]>
7178
7179 * bin/auto_compile:
7180 Added several flags to: disable test execution, specify the list
7181 of build directories on the command line, send email on
7182 successful compilation, keep a more detailed history, etc.
7183
7184 Mon Aug 02 18:38:37 1999 Joe Hoffert <[email protected]>
7185
7186 * ace/ATM_Acceptor.{h,i,cpp} :
7187 * ace/ATM_Connector.{h,i,cpp} :
7188 * ace/ATM_Params.{h,i,cpp} :
7189 * ace/ATM_QoS.{h,i,cpp} :
7190 * ace/ATM_Stream.{h,i,cpp} :
7191 * ace/XTI_ATM_Mcast.{h,i,cpp} :
7192 * ace/ATM_Addr.{h,cpp}:
7193 * ace/Makefile:
7194 * ace/TLI_Connector.i:
7195 Added new ATM wrapper files to make the mechanism of sockets or
7196 XTI transparent when using the ATM protocol. Modified existing
7197 files to take advantage of these wrapper classes.
7198
7199 * examples/IPC_SAP/ATM_SAP :
7200 * examples/IPC_SAP/ATM_SAP/CPP-client.cpp :
7201 * examples/IPC_SAP/ATM_SAP/CPP-server.cpp :
7202 * examples/IPC_SAP/ATM_SAP/Makefile :
7203 Added new test directory and programs to test ATM wrapper classes.
7204
7205 * examples/IPC_SAP/TLI_SAP/CPP-ATM-client.cpp:
7206 Modified existing test program to utilize new ATM_QoS class.
7207
7208 Mon Aug 02 17:24:05 1999 Nanbor Wang <[email protected]>
7209
7210 * ace/OS.h (ACE_DL_TYPE): Only WinCE uses wchar_t DL type, we'll
7211 just deal with this in ACE_OS::dlsym instead of defining
7212 different types here.
7213
7214 * ace/OS.i (dlsym): GetProcAddress is defined differently on
7215 Windows CE and other Win32 platforms so we need to treat them
7216 differently.
7217
7218 * ace/Malloc.h (ACE_Malloc_Header): Added a dummy member function
7219 to prevent egcs from complaining "all member functions are
7220 private."
7221
7222 * ace/Based_Pointer_Repository.cpp: Fixed the use of map
7223 iterators.
7224
7225 * examples/Shared_Malloc/test_position_independent_malloc.cpp
7226 (main): Delete the allocator before exiting from main.
7227
7228 * ace/Malloc.h (ACE_Malloc_Header,ACE_Name_Node,ACE_Control_Block):
7229 Added an unimplemented assignment operator for this class.
7230 Otherwise, some compilers will try to use
7231 ACE_Based_Pointer_Base<T>::operator= which is not implemented.
7232
7233 Mon Aug 2 09:58:20 1999 Ossama Othman <[email protected]>
7234
7235 * netsvcs/lib/Name_Handler.cpp (init):
7236 * netsvcs/lib/Server_Logging_Handler_T.cpp (init):
7237 * netsvcs/lib/TS_Clerk_Handler.cpp (init):
7238
7239 Changed cast to ACE_SignalHandler to allow it to compile under
7240 gcc 2.95. Thanks to Jeffrey Franks <[email protected]> for
7241 reporting the problem.
7242
7243 Sun Aug 1 15:58:39 1999 James CE Johnson <[email protected]>
7244
7245 * docs/tutorials/colorize:
7246 Added <PRE></PRE> wrapper around generated output.
7247
7248 * docs/tutorials/Chap_03/Makefile:
7249 * docs/tutorials/Chap_03/README:
7250 * docs/tutorials/Chap_03/mm.cpp:
7251 * docs/tutorials/Chap_03/ex03.html: mm.cpp (and ex03.html) are a
7252 slightly modified version of ex02.html that uses a memory mapped
7253 file instead of SYSV SHMEM. To work around the lack of fork()
7254 in Win32, the app must be executed once in server mode
7255 (argv[1] == 's') and again in client mode.
7256
7257 Sun Aug 1 15:58:39 1999 Douglas C. Schmidt <[email protected]>
7258
7259 * ace/Memory_Pool.cpp: If the base_addr is 0 for the
7260 ACE_MMAP_Memory_Pool_Options, then we will disable the
7261 "use_fixed_addr" option since it's going to cause big trouble to
7262 mmap() at location 0! Plus, when 0 is used it's intended as an
7263 indication that the application wants the OS to choose the
7264 appropriate mapping. This minor change in semantics works
7265 particularly well with the new
7266 ACE_HAS_POSITION_INDEPENDENT_MALLOC feature, because we can now
7267 let the OS choose the mapping location with out fear of begin
7268 mapped to a different location!
7269
7270 * ace /Memory_Pool.cpp: Conditionally include
7271 ace/Based_Pointer_Repository.h when
7272 ACE_HAS_POSITION_INDEPENDENT_MALLOC is defined.
7273
7274 * ace/config-sunos5.5.h: Enabled the
7275 ACE_HAS_POSITION_INDEPENDENT_MALLOC macro by default. Let's see
7276 whether this breaks lots of stuff ;-).
7277
7278 * ace/OS.h: Moved the definition of ACE_IPPROTO_TCP down
7279 further in this file so that the IPPROTO_TCP macro would be
7280 defined.
7281
7282 * ace/Based_Pointer_T.cpp: Removed an inappropriate use of
7283 ACE_INLINE in the *.cpp file. Thanks to DEC UNIX C++ for
7284 reporting this!
7285
7286 Sun Aug 01 02:41:44 1999 Nanbor Wang <[email protected]>
7287
7288 * examples/Shared_Malloc/Shared_Malloc.dsw
7289 * examples/Shared_Malloc/position_independent_malloc.dsp: Added
7290 this new project file for position independent malloc test.