1 Wed Apr 29 18:55:13 1998 David L. Levine <levine@cs.wustl.edu>
3 * ACE version 4.5 released.
5 Wed Apr 29 12:25:05 1998 David L. Levine <levine@cs.wustl.edu>
7 * ace/config-lynxos.h: added ACE_POLL_IS_BROKEN so that
8 ACE_OS::sleep () uses select () instead of poll ().
10 * tests/Map_Manager_Test.cpp: added a ssize_t loop index that's
11 used to avoid signed/unsigned comparisons.
13 Tue Apr 28 23:08:10 1998 Nanbor Wang <nanbor@cs.wustl.edu>
15 * ace/Hash_Map_Manager.cpp: Bugs fixed.
17 * tests/Map_Manager_Test.cpp: Added assertion tests on the number
18 of iterations to ensure the test does run correctly.
20 * tests/Map_Manager_Test.cpp (main): Disabled the VERBOSE_LITE
21 Log_Msg flag before starting the real test and reenabled it
24 Tue Apr 28 06:49:50 1998 David L. Levine <levine@cs.wustl.edu>
26 * ACE-INSTALL.html,os-patches/linux-patches.html: updated
27 Linux glibc-2 info. ACE works with glib-2.0.7-7, unmodified.
29 * ace/config-g++-common.h: added
30 ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES with egcs. egcs 1.0.2
31 won't compile netsvcs/lib without it.
33 * include/makeinclude/platform_vxworks5.x_ghs.GNU: fixed location
34 of parenthesis in ppc check. Thanks to Brian Mendel
35 <bmendel@mdc.com> for reporting this.
37 * ace/High_Res_Timer.cpp: initialize global_scale_factor_ to 1000
40 Mon Apr 27 07:18:54 1998 Nanbor Wang <nanbor@cs.wustl.edu>
42 * ace/Service_Types.cpp: Changes to use typedef
43 ACE_Service_Object_Exterminator to define <gobbler>. Thanks to
44 Chuck Gehr for reminding this.
46 * ace/Service_Object.h (ACE_Service_Object_Ptr):
47 * netsvcs/servers/main.cpp (main): Added more comments on how to
48 use ACE_Service_Object_Ptr with ACE_SVC_INVOKE correctly.
50 * ace/OS.h (ACE_Service_Object_Exterminator): Define the type as
51 extern "C" function pointer to make MVS happy. Thanks to Chuck
52 Gehr for pointing this out.
54 * ace/Service_Object.i (ACE_Service_Object_Ptr): Delete the
55 underlying Service_Object after calling its fini() method.
56 Thanks to Tom Arbuckle <arbuckle@uran.informatik.uni-bonn.de>
57 for pointing this out.
59 Sun Apr 26 21:50:07 1998 David L. Levine <levine@cs.wustl.edu>
61 * ace/Svc_Conf_l.cpp,etc/Svc_Conf_[ly].cpp.diff,etc/README:
62 updated the patch files. Thanks to J. Russell Noseworthy
63 <rnosewor@objectsciences.com> for reporting problems with
66 Sun Apr 26 01:05:20 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
68 * ACE version 4.4.43 released.
70 Sat Apr 25 17:47:31 1998 Nanbor Wang <nanbor@cs.wustl.edu>
72 * ace/OS.h (ACE_FACTORY_DECLARE): Added explicit casting for
73 gobbler to prevent some weird compiler from complaining too
76 * netsvcs/lib/Server_Logging_Handler_T.cpp
77 (ACE_Server_Logging_Acceptor_T): We can't initialize the
78 <scheduler_> with a temporary object. Its content gets deleted
79 right after the constructor exits.
81 Sat Apr 25 11:55:01 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
83 * ace/Containers.h (class ACE_Double_Linked_List): Added
84 comments.(<class T>, the parameter for this class should have
85 T* next_ and T* prev_ fields in it.
87 * ace/Containers.h (class ACE_Double_Linked_List): Corrected the
88 documentation for the insert_head and insert_tail functions.
90 Fri Apr 24 22:36:37 1998 David L. Levine <levine@cs.wustl.edu>
92 * ace/Service_Config.cpp (process_directive): added
93 ACE_UNUSED_ARG (directive).
95 Fri Apr 24 18:40:08 1998 Irfan Pyarali <irfan@cs.wustl.edu>
97 * ace/Asynch_Acceptor.cpp (handle_accept): Fixed this method so
98 that it has better flexibility and error checking. Also, added
99 hooks so that users can do validation of remote connections.
100 Also, a flag is checked before accept is reissued. Thanks to
101 Jason Katz <Jason@rtswireless.com> for reporting these upgrades.
103 Fri Apr 24 16:33:14 1998 Steve Huston <shuston@riverace.com>
105 * ace/OS.h: ACE_FACTORY_DEFINE - in the generated gobble function,
106 use the indicated object type to do the delete so 1) the aC++
107 compiler won't complain, and 2) so the service object is
110 * tests/Env_Value_Test.cpp: Made it compile on Solaris.
112 Fri Apr 24 15:45:38 1998 David L. Levine <levine@cs.wustl.edu>
114 * ace/config-sunos5.5-*.h: set ACE_THR_PRI_FIFO_DEF to 30, because
115 sched_get_priority_min is not implemented on Solaris 2.5.x.
117 Fri Apr 24 09:12:39 1998 Nanbor Wang <nanbor@cs.wustl.edu>
119 * tests/Env_Value_Test.cpp: Made it UNICODE safe.
121 * tests/version_tests/version_tests.dsw:
122 * tests/version_tests/OrdMultiSet_Test.dsp: Added new project
125 Fri Apr 24 09:09:49 1998 David L. Levine <levine@cs.wustl.edu>
127 * ace/config-linux-common.h: added ACE_HAS_4_4BSD_SENDMSG_RECVMSG.
128 Thanks to Sandro Doro <doros@aureus.sublink.org> for recommending
131 Fri Apr 24 04:12:39 1998 Nanbor Wang <nanbor@cs.wustl.edu>
133 * tests/version_tests/version_tests.dsw:
134 * tests/version_tests/OrdMultiSet_Test.dsp: Added new project
137 Thu Apr 23 22:52:20 1998 Nanbor Wang <nanbor@cs.wustl.edu>
139 * tests/tests.dsw: Somehow, Thread_Mutex_Test.dsp got removed from
142 * tests/Thread_Mutex_Test.dsp: Update include/lib path.
144 Fri Apr 24 00:12:32 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
146 * ACE version 4.4.42 released.
148 Thu Apr 23 22:28:02 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
150 * ace/Service_Config: Began adding support for the new service
151 configurator feature that will make it possible to dynamically
152 configure services that are read in from the command-line.
153 Thanks to Karlheinz for requesting this.
155 * ace/Parse_Node.cpp (open_handle),
156 ace/Svc_Conf.l: The line for the service object for the service
157 configurator contains the DLL specifications. Previously, it
158 was possible to specify either the absolute path name of the DLL
159 or only the name of the DLL itself. For the latter, the service
160 configurator is searching for the DLL using the PATH environment
161 variable. If we used the absolute path name it was not
162 possible to use environment variables in the string. It is now
163 possible to do this for Win32 using their %foo% notation.
164 Thanks to Andreas Schuelke <Andreas.Schuelke@med.siemens.de> for
165 providing these fixes.
167 * etc/Svc_Conf_y.cpp.diff,
168 etc/Svc_Conf_l.cpp.diff,
169 ace/Makefile: Change the YY* symbols to ACE_YY* symbols to
170 avoid clashes if we link with other flex/yacc generated code.
172 * apps/Gateway/Gateway/gatewayd.cpp,
173 apps/Gateway/Peer/peerd.cpp: Added a check to see if the
174 svc.conf file exists before trying to parse the arguments.
175 Thanks to Dani Flexer <danif@ivory-sw.com> for reporting this.
177 * apps/Gateway/Peer/Options.cpp (parse_args): Added the "C:"
178 qualifier to the get_opt string. Thanks to Dani Flexer
179 <danif@ivory-sw.com> for reporting this.
181 * ace/Activation_Queue.h: Extended ACE_Activation_Queue so that it
182 can be a proper base class by making the destructor virtual and
183 putting the methods into the protected section. Thanks to Garry
184 Brother <gmbroth@romulus.ncsc.mil> for this.
186 * ace/XtReactor.cpp: Commented out most of the logic if we're
187 running on Win32 because (1) it doesn't work correctly since
188 HANDLEs are not ints and (2) there's no X windows on Win32
191 * ace/XtReactor.h: Made ACE_XtReactor be ACE_Export'd. Thanks to
192 Kirill Rybaltchenko <Kirill.Rybaltchenko@cern.ch> for reporting
195 Thu Apr 23 13:54:33 1998 David L. Levine <levine@cs.wustl.edu>
197 * ace/Malloc.i (free): added ACE_UNUSED_ARG (ptr) if ACE_NDEBUG.
199 * include/makeinclude/platform_chorus.GNU: include dtool/htgt-cf.rf
200 from $(MERGEDIR) instead of $(CLASSIXDIR). Thanks to
201 Wei Chiang <chiang@horizon.nokia.com> for this update.
203 Wed Apr 22 22:13:57 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
205 * ace/ace_bcc.ide: Added a new IDE for the Borland C++ compiler.
206 Thanks to Valik Solorzano Barboza <valik@geodan.nl> for
209 * ace/Msg_WFMO_Reactor.cpp (wait_for_multiple_events): Fixed a
210 missing semi-colon. Thanks to Jorn Jensen <jornj@funcom.com>
213 Wed Apr 22 21:53:12 1998 David L. Levine <levine@cs.wustl.edu>
215 * config-linux-kcc.h: added #define ACE_SIZEOF_LONG_DOUBLE
216 to 12 on i386. Thanks to Ben Eng <ben@jetpen.com> for
219 Tue Apr 21 18:38:22 1998 Nanbor Wang <nanbor@cs.wustl.edu>
221 * ace/ace_ce_dll.dsp: Removing a deprecated /windowsce:noconvert
224 Mon Apr 20 15:39:42 1998 Steve Huston <shuston@riverace.com>
226 * ace/Handle_Set.cpp: Access fds_bits elements using an fd_mask
227 pointer rather than array indexing of the fds_bits array itself.
228 HP-UX 11 plays some games with the fd_mask type - fd_mask is defined
229 as an int32_t, but the fds_bits is an array of longs. This makes
230 plainly indexing through the array by hand tricky, since the FD_*
231 macros treat the array as int32_t. So the bits are in the right
232 place for int32_t, even though the array is long. This, they say,
233 is to preserve the same in-memory layout for 32-bit and 64-bit
234 processes. So, we play the same game as the FD_* macros to get
235 the bits right. See /usr/include/sys/_fd_macros.h.
236 On all other systems, this amounts to practically a NOP, since this
237 is what would have been done anyway, without all this type jazz.
239 Sat Apr 18 13:59:55 1998 David L. Levine <levine@cs.wustl.edu>
241 * ace/Naming_Context.h: removed trailing ';' at end of
244 * ace/OS.*,Sched_Params.{h,cpp}: added support on Solaris
245 for setting the LWP priority. It is necessary to set the
246 LWP priority for bound threads in the Real-Time scheduing
247 class. Thread priority is essentially ignored. See the
248 pthread_setschedparam man page for more info. Thanks to
249 Fred Kuhns <fredk@arl.wustl.edu> for helping track this problem
252 There is one drawback: to set the LWP priority, in ACE,
253 a thread must set its own priority. There are examples
254 in performance-tests/Misc/preempt.cpp:
256 High_Priority_Task::svc (void)
258 // On Solaris 2.5.x, the LWP priority needs to be set.
259 // This is the ACE way to do that . . .
260 ACE_OS::thr_setprio (priority_);
262 I don't know of a way to set the LWP priority for another
263 thread. The problem is that there is no way that I know of
264 to find the LWP ID of another (bound) thread. A thread can
265 find the ID of its own LWP using _lwp_self ().
267 * ace/config-sunos5*,README: added ACE_HAS_PRIOCNTL and
268 ACE_NEEDS_LWP_PRIO_SET.
270 * ace/config-osf1-4.0.h: added ACE_HAS_PRIOCNTL and
273 * performance-tests/Misc/preempt.cpp (svc): set LWP priority
274 (on Solaris) by having the thread set its own priority.
275 This test now passes on Solaris 2.5.1!
277 * ace/High_Res_Timer.cpp (reset): initialize by assignment with
278 0 instead of using memset. Thanks to Carlos for noticing this.
280 * ace/Object_Manager.cpp (ACE_Object_Manager ctor): allocate
281 registered_objects_ after the allocation of ACE_STATIC_OBJECT_LOCK,
284 Sat Apr 18 01:28:36 1998 Irfan Pyarali <irfan@cs.wustl.edu>
286 * ace/Timeprobe.h (class ACE_Timeprobe): Changed ACE_Timeprobe to
287 use ACE_OS::gethrtime().
289 Sat Apr 18 01:14:30 1998 Irfan Pyarali <irfan@cs.wustl.edu>
291 * ace/OS.cpp (start and stop): start and stop should only be done
292 when ACE_Countdown_Time::max_wait_time_ is non-zero.
294 * ace/Acceptor.cpp (open): Only set the reactor if calls to open()
295 and register_handler() succeeds.
297 Fri Apr 17 21:00:21 1998 Steve Huston <shuston@riverace.com>
299 * ace/config-hpux11.h: Changes and comments around the
300 ACE_DEFAULT_BASE_ADDR definition for 64-bit HP-UX 11.
302 * ace/Naming_Context.cpp
304 * ace/Memory_Pool.cpp: Hacks to work around bugs in HP-UX aC++ in
305 64-bit mode on HP-UX 11.
307 * ace/OS.i: Addition of a facility that allows config.h to specify
308 additional flags for ACE_OS::mmap, above what's set by the caller.
309 It's done using a new definition, ACE_OS_EXTRA_MMAP_FLAGS.
310 This was added primarily to allow setting of the MAP_ADDR32 flag
311 on HP-UX 11 if the ACE_DEFAULT_BASE_ADDR is set in the 32-bit range
312 to allow 32-bit and 64-bit programs to map the same region.
314 Fri Apr 17 11:40:38 1998 Nanbor Wang <nanbor@cs.wustl.edu>
316 * ace/OS.cpp (invoke): Should check against null thr_desc, not
317 thr_desc->flag (). Thanks to "Erickson, Jack (CICG - NY GFX)"
318 <JErickson@exchange.ml.com> for reporting this.
320 * ace/OS.h (ACE_Service_Object_Exterminator): Typedef of ACE
321 factory cleanup funciton.
322 (ACE_FACTORY_{DECLARE,DEFINE}): Added an extra argument to pass
323 back destructor for the object created by the factory. Changed
324 the ACE_FACTORY_DEFINE to generate this destructor function to
325 pair with factory function so that we can deallocate the object
326 in the same heap it was created.
327 (ACE_SVC_INVOKE): This will now pass in 0, which means we don't
328 want to use the destructor function.
330 * ace/Parse_Node.{h,cpp} (symbol): Added an extra argument to get
331 back the destructor function from ACE_FACTORY. Only
332 Function_Node actually uses it.
333 (ACE_Function_Node::symbol): Initialize the Service_Object with
334 added destructor function ptr so it will get destructed in the
337 * ace/Service_Config.{h,cpp} (load_static_svcs): Invoke the
338 factory method with added argument to get back the destructor
339 function and then, pass it in to ace_create_service_type
341 (ACE_Service_Manager): Changed to use the more generic
342 ACE_FACTORY_DEFINE than using ACE_SVC_FACTORY_DEFINE.
343 (ACE_SERVICE_ALLOCATOR): Must match with signature of the
346 * ace/Service_Type.{h,cpp}
347 (ACE_Service_Object_Type,ACE_Service_Type_Impl): Keep the
348 destruction function in these object, if use provides one, then
349 use it to destruct the object, otherwise, just use delete.
351 * ace/Naming_Context.{h,cpp}: Changed to use
352 ACE_FACTORY_{DEFINE,DECLARE}.
354 * ace/Object_Manager.cpp: Changed the signature of
357 * ace/Svc_Conf.h: Changed the signature of
358 ace_create_service_type.
360 * ace/Svc_Conf_y.cpp:
361 * ace/Svc_Conf.y: Try to get the destruction function from
362 factories in svc_location.
363 (ace_create_service_type): Pass in the destruction function if
366 Fri Apr 17 08:31:38 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
368 * ace/Signal.cpp (dispatch): Fixed a typo. Thanks for David
369 Levine's help pointing this out.
371 Thu Apr 16 21:12:48 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
373 * ace/Signal.cpp: There was a major portability violation in the
374 ACE_Sig_Handler::dispatch() method, which was previously
375 acquiring a mutex lock. This is NOT permitted in the POSIX
376 signal handler spec. In addition, the implementation had other
377 nasty consequences related to dynamic allocation of memory in
378 the signal handler, which has a bad habit of breaking
379 non-reentrant uses of "new". The consequence of all this is
380 that you really shouldn't be modifying signal handlers via the
381 Reactor in multiple threads of control. In general, threads and
382 signals are just plain evil, so they are best addressed via
385 Thanks to Sumedh and Naga for first tracking this down.
387 Thu Apr 16 20:51:42 1998 David L. Levine <levine@cs.wustl.edu>
389 * ace/config-linux-pthread.h: added ACE_HAS_THREADS.
390 ace/config-irix6.x-g++.h: added ACE_HAS_THREADS and ACE_MT_SAFE.
391 Thanks to Dave Tallman <tallman@acsys.com> for reporting these.
393 Thu Apr 16 04:14:53 1998 Irfan Pyarali <irfan@cs.wustl.edu>
397 This class is used to instrument code. This is accomplished by
398 inserting time probes at different location in the code.
399 ACE_Timeprobe then measures the time difference between two time
402 This class provides a lightweight implementation for measuring
403 the time required to execute code between two time probes. When
404 a time probe executes, it records the time, the id of the
405 calling thread, and an event description. The event description
406 can either be an unsigned long or a string (char *). If string
407 are used, care must be taken cause only pointer copies are done
408 and the string data is *not* copied.
410 The recorded time probes can then be printed by calling
411 print_times(). If you have used unsigned longs as event
412 descriptions in any of your time probes, you must provide an
413 event description table that maps the unsigned longs to readable
414 strings. This map is a simple array of strings, and the event
415 number is used as the index into the array when looking for the
416 event description. If you have only used strings for the event
417 description, this map is not necessary.
419 Wed Apr 15 23:01:08 1998 Nanbor Wang <nanbor@cs.wustl.edu>
421 * ace/Thread_Manager.cpp (exit): Don't delete the ACE_Thread_Exit
422 object of the thread here. ACE_Thread_Manager::exit will be
423 called back again when performing TSS cleanup. Thanks to Dave
424 Tallman <tallman@acsys.com> for the bug report.
426 Wed Apr 15 17:12:14 1998 Steve Huston <shuston@riverace.com>
428 * ace/config-hpux-11.x-hpc++.h: Explicitly set ACE_SIZEOF_LONG based
429 on compiler switch for processor/memory model.
431 Wed Apr 15 16:25:38 1998 Irfan Pyarali <irfan@cs.wustl.edu>
433 * ace/WFMO_Reactor.cpp (handle_signal): Changed break to return 0.
435 * ace/OS.cpp (uname): We have to make sure that the size of
436 (processor + subtype) is not greater than the size of
437 name->machine. So we give half the space to the processor and
438 half the space to subtype. The -1 is necessary for because of
439 the space between processor and subtype in the machine name.
441 Thanks to Andrew Marchewka
442 (Andrew_Marchewka@SRT.CCMAIL.compuserve.com) for suggesting
445 Wed Apr 15 08:52:52 1998 David L. Levine <levine@cs.wustl.edu>
447 * tests/Reactor_Exceptions_Test (handle_input): removed
448 ACE_NOTREACHED wrapper around return statement at end.
449 Now that the previous statement is a function call, the
450 compiler (cxx) doesn't detect that the statement can't
453 Wed Apr 15 01:03:42 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
455 * ace/OS.i (ACE_SOCKCALL_RETURN): Added a work-around for a
456 Borland 5.02 compiler bug. The key turns out to be the
457 throw-away intermediate assignment statement to correctly keep
458 the value of WSAGetLastError(). Thanks to Dave Tallman
459 <tallman@acsys.com> for reporting this.
461 Tue Apr 14 23:35:19 1998 Nanbor Wang <nanbor@cs.wustl.edu>
463 * ace/Profile_Timer.cpp (elapsed_rusage): The differences of user
464 time and system time for GETRUSAGE were not calculated.
466 * performance-tests/Synch-Benchmarks/Options.cpp (print_results):
467 Added dump code for ACE_HAS_GETRUSAGE.
469 * ace/ace_{dll,lib}.dsp: Removed Service_Main.cpp from the
470 projects. We don't really need them in ACE DLL.
472 * ace/Service_Main.cpp: Removed the file from CVS. Lots of
473 Service_Config examples can be found all round ACE directories
474 so we really don't need it here anymore.
476 Tue Apr 14 20:30:53 1998 Steve Huston <shuston@riverace.com>
478 * ace/OS.i (mutex_init, cond_init): Added sections to properly
479 handle error conditions on platforms which claim
480 ACE_HAS_PTHREADS_1003_DOT_1C.
482 Tue Apr 14 16:39:42 1998 Nanbor Wang <nanbor@cs.wustl.edu>
484 * ace/ACE.cpp (ldfind): Fixed a miscalculated string size.
485 Thanks to Jason Katz <Jason@rtswireless.com> for reporting the
488 Tue Apr 14 14:33:33 1998 David L. Levine <levine@cs.wustl.edu>
490 * tests/Thread_Manager_Test.cpp (main): don't try to suspend/resume
491 DCE threads, because they don't support it. Added a start barrier,
492 to ensure that worker threads set up their signal handlers before
493 the main thread tries to signal them. Drop DEFAULT_ITERATIONS from
494 100000 to 10000 because 100000 takes a long time on a 200 MHz
497 Tue Apr 14 12:59:04 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
499 * tests/Hash_Map_Manager_Test.cpp: Changed the consts to
502 Tue Apr 14 11:40:23 1998 David L. Levine <levine@cs.wustl.edu>
504 * tests/Hash_Map_Manager.cpp: made type, size_t, of String_Table_size
505 explicit, instead of using the default type of int.
507 Tue Apr 14 10:10:46 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
509 * ACE version 4.4.41 released.
511 Tue Apr 14 07:19:25 1998 David L. Levine <levine@cs.wustl.edu>
513 * bin/make_release (create_kit): ACE+TAO instead of ACE_TAO.
514 Thanks to Doug for reporting this.
516 * ace/OS.h (ACE_Thread_Adapter): added friend class declaration
517 to avoid g++ warning: only defines a private destructor and
520 * ace/OS.cpp (ACE_Thread_Adapter::invoke): only declare local
521 thr_desc if ACE_HAS_WIN32 and ACE_HAS_MFC.
523 Tue Apr 14 00:46:05 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
525 * ACE version 4.4.40 released.
527 Mon Apr 13 19:19:13 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
529 * ace/OS: Made the destructor of ACE_Thread_Adapter private to
530 keep people like Russ from abusing this class... ;-)
532 * ace/OS.cpp (invoke): We were incorrectly deleting this and then
533 using one of its fields! Thanks to the ever-vigilant Russ
534 Noseworthy <rnosewor@objectsciences.com> for reporting this.
536 * ace/Log_Record.cpp (print): Added VERBOSE_LITE support to the
537 code so we don't spew out quite so much information.
539 * ace/Log_Msg.cpp (log): Replaced all calls to
540 ACE_Log_Record::print() so that they pass the
541 ACE_Log_Msg::flags_ parameter.
543 * ace/Log_Record.h: Changed the 'int verbose' parameter to 'u_long
544 verbose_flag' parameter so that we can pass in the
545 ACE_Log_Msg::flags_ and check to see what they are enabled with!
547 * tests/test_config.h: Changed VERBOSE to VERBOSE_LITE so we don't
548 have quite so much junk printed out for the tests!
550 * ace/Log_{Priority,Record}: Added a new flag called VERBOSE_LITE
551 that isn't quite as verbose as VERBOSE (it only prints things
552 that can change between calls to the ACE_Log_Msg::log() method).
553 In addition, also changed the ACE_Log_Record::print() method so
554 it prints the string format for the ACE_Log_Priority types.
555 This is a lot more legible than printing the numbers.
557 * ace: Removed all uses of ACE_HAS_WILDCARD_BIND. This is now the
558 default behavior. If there's some weird platform that DOESN'T
559 have this behavior, we'll deal with that by setting the
560 ACE_LACKS_WILDCARD_BIND flag.
562 * ace/OS.cpp (invoke): Removed the (void *) cast on delete this.
563 It wasn't necessary. Thanks to Steve Huston and David Levine
566 Mon Apr 13 19:12:49 1998 Nanbor Wang <nanbor@cs.wustl.edu>
568 * ace/DEV_Connector.i (ACE_DEV_Connector):
569 * ace/Asynch_IO.cpp (accept,addresses): UNICODE changes.
571 Mon Apr 13 18:05:26 1998 Steve Huston <shuston@riverace.com>
573 * tests/Thread_Manager_Test.cpp: Disabled the suspend/resume action
574 for Pthreads platforms.
576 Mon Apr 13 10:18:59 1998 David L. Levine <levine@cs.wustl.edu>
578 * ace/High_Res_Timer.i (hrtime_to_tv): in tv.usec calculation,
579 moved the cast to long to after the division by global_scale_factor_.
580 This is necessary for compatibility with ACE_U_LongLong.
582 * bin/make_release (get_versions): use $KIT instead of hard-coded
583 ACE, so that it works with TAO. (tag): translate dots to
584 underscores, because CVS doesn't allow dots in tags. Thanks to
585 Doug and Hans Rohnert <rohnert@scr.siemens.com> for reporting these.
587 Sun Apr 12 21:11:53 1998 Nanbor Wang <nanbor@cs.wustl.edu>
589 * ace/OS.h: Prevent using ACE_HAS_MOSTLY_UNICODE_APIS without UNICODE.
591 * ace/OS.cpp (thr_create):
592 * ace/Thread_Manager.cpp (spawn_i): Removed directive
593 ACE_NO_THREAD_ADAPTER and its related code.
595 Sat Apr 11 22:20:51 1998 Nanbor Wang <nanbor@cs.wustl.edu>
597 * tests/Thread_Manager_Test.cpp (main): Don't check execute result
598 of kill_grp statement if we are running on Win32 platforms.
599 thr_kill is not supported there.
601 Sat Apr 11 20:00:12 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
603 * ACE version 4.4.39, released Sat Apr 11 20:00:12 1998.
605 Sat Apr 11 19:58:56 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
607 * Nanbor removed a bunch of *.MAK files, which were quite large
608 and taking up lots of space.
610 Sat Apr 11 18:58:24 1998 Steve Huston <shuston@riverace.com>
612 * ace/INET_Addr.cpp: Fixed missing paren.
614 * netsvcs/servers/servers4.mdp: Added ..\lib to include directories
617 Sat Apr 11 13:28:19 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
619 * ACE version 4.4.38, released Sat Apr 11 13:28:19 1998.
621 Sat Apr 11 12:46:08 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
623 * ace/config-mvs.h: Added some ACE_SIZEOF_* macros for MVS.
624 Thanks to Chuck Gehr <gehr@sweng.stortek.com> for reporting
627 * ace/INET_Addr.cpp: Added a newline and a better explanation of
628 what went wrong if an error occurs. Thanks to Luca for
631 Fri Apr 10 02:42:35 1998 Nanbor Wang <nanbor@cs.wustl.edu>
633 * ace/Log_Msg.{h,cpp} (log_hexdump):
634 * ace/ACE.{h,cpp} (format_hexdump): The buffer to be hex-dumped should
635 always be of type (const char *) no matter we have UNICODE
636 system strings or not.
638 * ace/OS.{h,cpp} (ACE_CE_Bridge): This new class bridges
639 a text-based ACE programs with a default window that prints out
640 the default ACE_Log_Msg output.
642 CE always uses non-static object manager and we replace the
643 original main function with a well know entry that the main
644 window program can call back from to invoke the ACE program in a
647 * ace/Log_Record.{h,cpp}: Added support for passing strings as
650 * ace/Log_Msg.cpp (log): Specialized CE support.
652 * windoezCE: The template windows program that receives ACE
653 messages. See CE-Status or README file for more info.
655 Fri Apr 10 00:41:23 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
657 * tests/Reactor_Exception_Test: Tidied the test up a bit. Thanks
658 to Bob Laferriere <laferrie@gsao.med.ge.com> for suggesting
661 * tests/test_config.h: Enabled ACE_Log_Msg::VERBOSE since it gives
662 more information that can be useful for debugging.
664 Fri Apr 10 00:04:03 1998 Irfan Pyarali <irfan@cs.wustl.edu>
666 * ace/Proactor.cpp (post_completion): Added a new method to the
667 Proactor. It can be used to post a result to the completion port
668 of the Proactor. If errors occur, the result will be deleted by
669 this method. If successful, the result will be deleted by the
670 Proactor when the result is removed from the completion port.
671 Therefore, the result should have been dynamically allocated and
672 should be orphaned by the user once this method is called.
674 Changed the timer mechanism to use this new method rather than
675 posting to the completion port directly.
677 Thanks to Jason Katz <Jason@rtswireless.com> for the
680 Thu Apr 9 17:31:47 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
682 * Updated all the Makefile dependencies and also added the
683 appropriate CVS strings to all Makefiles.
685 * examples/IPC_SAP/SOCK_SAP: Improved both the CPP-unserver.cpp
686 and CPP-inserver.cpp programs so they work identically wrt
687 concurrency and logic.
689 * ace/LSOCK_Stream.cpp: Fixed the get_remote_addr() and
690 get_local_addr() methods to work correctly. Apparently,
691 getpeername() doesn't work appropriately for UNIX domain
692 sockets, so we simply have both methods call getsockname().
693 Thanks to Chuck Gehr for pointing out this problem.
695 * ace/FILE_IO.cpp (get_local_addr): The RHS has an additional
696 field that is the FILE name, which did not get copied. Added an
697 ACE_dynamic_cast() to do the right thing here. Thanks to Ganesh
698 Pai for reporting this.
700 * ace/Malloc*: Factored out all the code in ACE_Static_Allocator
701 into a new non-templatized base class called
702 ACE_Static_Base_Allocator so that we don't trigger multiply
703 defined symbols when we use this in TAO. Thanks to Carlos for
704 this very insightful trick!
706 * tests/Thread_Manager_Test.cpp (main): Added ACE_ASSERT
707 statements so that we bailout if things go awry. Thanks to
708 Robert J. Laferriere <laferrie@gsao.med.ge.com> for reporting
711 Thu Apr 09 18:06:53 1998 Nanbor Wang <nanbor@cs.wustl.edu>
713 * ace/High_Res_Timer.i (hrtime_to_tv): Cast the parameter for usec
714 to long. It can be fixed because of Darrell's vigilance.
716 Thu Apr 09 17:55:21 1998 Steve Huston <shuston@riverace.com>
718 * ace/config-hpux-10.x.h, config-hpux11.h, config-aix-4.2.x.h:
719 Added ACE_HAS_WILDCARD_BIND.
721 Thu Apr 09 16:43:26 1998 Irfan Pyarali <irfan@cs.wustl.edu>
723 * ace/ACE.*: Changed *_version() functions to be non-inlined.
724 After this change, inclusion of ace/Version.h can be moved into
725 ACE.cpp. This change helps as all of ACE doesn't have to be
726 compiled after Version.h changes (Version.h changes every time a
727 new beta is produced).
729 Thu Apr 9 12:27:23 1998 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
731 * tests/Hash_Map_Manager_Test.cpp: POOL_SIZE was simple "const
732 POOL_SIZE" I changed that to "const int POOL_SIZE". Added
733 missing template instantiation for Static_Allocator.
735 Thu Apr 09 10:50:18 1998 Nanbor Wang <nanbor@cs.wustl.edu>
737 * ace/WFMO_Reactor.cpp (dump): Fixed signed/unsigned mismatched
738 warnings on NT. Thanks to Darrell for noticing the bug.
740 Thu Apr 9 09:37:08 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
742 * ace/Malloc_T: Moved the ACE_Static_Allocator::dump() method into
743 the Malloc_T.cpp file so we'd get a vtable... Thanks to David
744 Levine for reporting this.
746 * tests/Hash_Map_Manager_Test.cpp (run_test): Added a return
747 value to make G++ and David Levine happy ;-).
749 Thu Apr 09 10:50:18 1998 Nanbor Wang <nanbor@cs.wustl.edu>
751 * ace/WFMO_Reactor.cpp (dump): Fixed signed/unsigned mismatched
752 warnings on NT. Thanks to Darrell for noticing the bug.
754 Wed Apr 08 17:29:01 1998 Irfan Pyarali <irfan@cs.wustl.edu>
756 * ace/SOCK_Acceptor.cpp (open): There was a boo-boo in open() as
757 we were only calling bind_port() and ignoring the port supplied
758 by the user. Call bind_port only if port == 0.
760 Wed Apr 8 01:09:52 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
762 * ace/Malloc_T: Added a new ACE_Static_Allocator class, which is
763 highly optimized for allocations where (1) all the memory size
764 is known in advance and (2) no deletions are done. This class
765 will ultimately be used in TAO to improve it's startup
766 performance for operation tables initialization.
768 * tests/Hash_Map_Manager_Test.cpp: Enhanced the test so that it
769 uses the new ACE_Static_Allocator feature.
771 * ace/OS: Added support for the rename() method. Thanks to Ganesh
772 Pai for suggesting this.
774 * ace/config-win32-common.h,
777 Enable the ACE_HAS_WILDCARD_BIND macro.
779 * ace/ACE.cpp: Modified the bind_port() method so that it is more
780 efficient on platforms that interpret a 0 port to bind() as a
781 request for the kernel to select the port. Thanks to Chris
782 Cleeland for pointing this out.
784 * ace/Hash_Map_Manager: Made a bunch of minor changes to fix some
785 subtle deadlocks with intra-class locking.
787 * tests/Map_Manager_Test.cpp: Restructured the tests so that we
788 don't keep recomputing end() and rend() of the map in each loop
791 Wed Apr 08 10:02:16 1998 David L. Levine <levine@cs.wustl.edu>
793 * bin/make_release: added this script that creates ACE and/or
796 * Makefile: added support for make_release. See comments at
797 the top of the Makefile. The old release mechanism has
798 been retained; to use it: make release-old or
801 Wed Apr 08 00:37:33 1998 Irfan Pyarali <irfan@cs.wustl.edu>
803 * ace/ACE.cpp (bind_port): This call was not flexible enough as it
804 always assumed that the user wanted INADDR_ANY. Added an extra
805 parameter to this function where the user can pass in the addr
806 that she is interested in. This extra parameter defaults to
807 INADDR_ANY, so no existing should break.
809 * ace/SOCK_Acceptor.cpp (open): Not enough information was being
810 passed to the new ACE::bind_port() call. Changed open() so that
811 the sin_addr part of the address is passed along to
814 Tue Apr 07 15:25:08 1998 David L. Levine <levine@cs.wustl.edu>
816 * ace/config-irix*.h: fixed determination of ACE_SIZEOF_LONG_DOUBLE,
817 depending on system release and ABI. Thanks to Robert J.
818 Laferriere <laferrie@gsao.med.ge.com> for figuring it all out.
820 Mon Apr 06 01:29:35 1998 Nanbor Wang <nanbor@cs.wustl.edu>
822 * ace/ace_ce_dll.dsp: Update project files. Rearrange dll filenames a
823 bit so that it's eaier to have various ACE libraries for various
824 CE supported CPUs. Files for every supported CPU are generated
825 under CPU specific directory as follow:
828 Sh3 series ace/WCE/SH aced.{lib,dll} ace.{lib,dll}
829 MIPS series ace/WCE/MIPS aced.{lib,dll} ace.{lib,dll}
830 x86 emulation ace/WCE/x86em aced.{lib,dll} ace.{lib,dll}
832 * ace/config-win32-common.h: Prevent CE from using wsock32.lib.
834 Sun Apr 05 16:44:31 1998 Nanbor Wang <nanbor@cs.wustl.edu>
836 * ace/OS.h (ASYS_ONLY_MULTIBYTE_STRING): New macro. Used to
837 activate wchar string to char string conversion only under CE,
838 under other cases, the argument to this macro is treated as
839 a regular char string.
841 * ace/INET_Addr.cpp (set): Changed to use
842 ASYS_ONLY_MULTIBYTE_STRING. This has gotten out of control
843 now. I need to think of a better name for these macros.
845 Tue Apr 07 09:30:28 1998 David L. Levine <levine@cs.wustl.edu>
847 * include/makeinclude/platform_lynxos.GNU: set up PATH when
848 cross-compiling. With this change, users don't need to
849 do anything special to their platform_macros.GNU or
850 environment to cross-compile for LynxOS (assuming that
851 the default platform_lynxos.GNU configuration is suitable).
853 Mon Apr 06 16:28:32 1998 Steve Huston <shuston@riverace.com>
855 * examples/Service_Configurator/IPC-tests/server/svc.conf: Corrected
856 library name to load tests from. Thanks to Sandro Doro
857 <XDS@necsy.it> for noticing there was a problem here.
859 Sun Apr 05 10:20:26 1998 David L. Levine <levine@cs.wustl.edu>
861 * include/makeinclude/platform_lynxos.GNU: only define
862 CROSS-COMPILE if not building on LynxOS.
864 * ace/OS.h: fixed ACE_CAST_CONST definition with Sun CC.
866 Sun Apr 05 00:20:52 1998 Nanbor Wang <nanbor@cs.wustl.edu>
868 * ace/ACE.h: Moved "#include "ace/OS.h" out of _ACE_H_ block to
869 resolve the circular inclusion that occured when building ACE
870 Unicode Release version.
872 Sat Apr 04 21:19:32 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
874 * ACE version 4.4.37, released Sat Apr 04 21:19:32 1998.
876 Sat Apr 04 19:41:03 1998 Nanbor Wang <nanbor@cs.wustl.edu>
878 * ace/OS.cpp (thr_exit): Forgot to access creation flags thru
881 Sat Apr 04 14:01:53 1998 Steve Huston <shuston@riverace.com>
883 * performance-tests/Makefile: Put UDP back in dir list.
885 Sat Apr 04 07:45:33 1998 David L. Levine <levine@cs.wustl.edu>
887 * ace/Basic_Types.h,config-sunos4*.h,README: don't use
888 u_longlong_t on Suns if ACE_LACKS_U_LONGLONG_T is defined.
889 Define ACE_LACKS_U_LONGLONG_T in all SunOS4 config files.
890 Thanks to John Lindal <jafl@cco.caltech.edu> for reporting
893 Sat Apr 4 02:06:57 1998 Nanbor Wang <nanbor@cs.wustl.edu>
895 * ace/OS.cpp (invoke,thr_exit): (*Win32*) We also need to consider
896 threads that are not spawned by ACE_Thread_Manager by checking
897 the validity of cached ACE_Thread_Descriptor. In any rate,
898 please avoid using thread functions in ACE_Thread::* and
899 ACE_OS::thr_* directly.
901 Sat Apr 4 01:03:17 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
903 * ace/Map_Manager.cpp (map): Added map method for the iterator interface.
905 Sat Apr 4 00:55:30 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
907 * netsvcs/clients/Naming/{Client,Dump_Restore}/Makefile:
908 Moved all program source names to PSRC, not SRC, for
911 Fri Apr 3 21:18:51 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
913 * ace/OS.cpp (cleanup): Moved ACE_Cleanup::cleanup() back into the
914 *.cpp file so that we have at least one non-inline virtual
917 * ace/OS (cleanup): Created a dummy ACE_Cleanup constructor since
918 the lack of this may be causing a bug with CC and the linker for
919 TAO's IDL compiler. Also moved the constructor and destructor of
920 ACE_Cleanup into the OS.i file and made them inline. We'll fix
923 Fri Apr 03 18:45:35 1998 Steve Huston <shuston@riverace.com>
925 * apps/JAWS/clients/Blobby/Makefile
926 * apps/JAWS/clients/Caching/Makefile
927 * examples/ASX/Event_Server/Event_Server/Makefile
928 * examples/ASX/UPIPE_Event_Server/Makefile
929 * examples/Logger/simple-server/Makefile
930 * examples/Mem_Map/IO-tests/Makefile
931 * examples/Reactor/Multicast/Makefile
932 * examples/Service_Configurator/Misc/Makefile
933 * examples/Shared_Malloc/Makefile
934 * performance-tests/Synch-Benchmarks/Makefile
935 Adjusted for corresponding changes to rules.bin.GNU and/or
936 rules.lib.GNU, below.
938 * examples/Connection/non_blocking/Makefile
939 * examples/Service_Configurator/IPC-tests/server/Makefile
940 * examples/Timer_Queue/Makefile
941 * performance-tests/Misc/Makefile
942 Moved all program source names to PSRC, not SRC, for
945 * performance-tests/Makefile: Removed UDP from list of dirs to build.
947 * include/makeinclude/rules.bin.GNU: Set OBJEXT and VOBJS from the
948 SRC files in the Makefile (LSRC sets VLOBJS in rules.lib.GNU;
949 SRC sets VOBJS in rules.bin.GNU).
951 * include/makeinclude/rules.local.GNU: depend rule will also operate
952 on $(PSRC) in addition to $(SRC). PSRC is new - if you have more
953 than one program to build in a makefile, set PSRC to the source
954 files for make depend.
956 * include/makeinclude/rules.lib.GNU: Use VLOBJS for archive lib object
957 files; using VOBJS gets it confused with VOBJS in rules.bin.GNU and
958 makes it very difficult to build lib and exe from same Makefile.
960 Fri Apr 3 10:40:10 1998 Nanbor Wang <nanbor@cs.wustl.edu>
962 * ace/OS.cpp (invoke): We were using AfxGetThread to determine
963 whether a thread was created with AfxBeginThread or
964 _beginthreadex. This seemed to cause some subtle problem with
965 MSVC 4.2. Since we always cached the Thread_Descriptor in TSS
966 now, we can just check how a thread was created and use the
967 appropriate thread exiting method. Thanks to Detlef Becker
968 <Becker.Detlef@med.siemens.de> for tracing down this obscure
971 * ace/Thread_Manager.{h,i} (flags): Added this new access function
972 into ACE_Thread_Descriptor to get the creation flags for a
975 Fri Apr 03 10:01:32 1998 Steve Huston <shuston@riverace.com>
977 * ace/ACE.cpp (handle_timed_complete): On AIX, always check a
978 completed non-blocking connect() because AIX sets only the write
979 handle from select regardless of whether the connect succeeded
982 * netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp: Removed
983 the #include <fstream.h> - this is taken care of via ace/OS.h.
984 Having the #include in Dump_Restore.cpp caused some very weird
985 compile errors on DG/UX.
987 * netsvcs/lib/Server_Logging_Handler.cpp: Fixed template instantiations
988 for Base_Optimizer, non-static logging cases.
990 Fri Apr 03 09:16:24 1998 David L. Levine <levine@cs.wustl.edu>
992 * ace/OS.cpp (ACE_TSS_Info::key_in_use): return true if
993 thread_count_ > 0, not if it is != -1. Thanks to Chris
994 Lahey <CLahey@cccis.com> for finding and reporting this.
996 * ace/OS.i (thr_yield): on VxWorks, changed argument of
997 ::taskDelay () from 0 to 1. With an argument of 0,
998 ::taskDelay () doesn't appear to yield the current thread.
1000 * tests/run_tests.vxworks: Reactor_Notify_Test is OK on
1003 * ace/OS.h,config-sunos5.5-sunc++-4.x.h: added ACE_CAST_CONST,
1004 so that we can work around broken cast constness requirements
1005 with Sun CC 4.2. It requires, for example, that a reinterpret
1006 cast to a local pointer variable in a const member function be
1009 * ace/Basic_Types.i (operator/ and %): fixed comments: former
1012 Thu Apr 02 16:23:12 1998 Irfan Pyarali <irfan@cs.wustl.edu>
1014 * ace/WFMO_Reactor.i (dump): Also changed the method from HANDLE
1017 Thu Apr 2 15:36:20 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
1021 #define ACE_HAS_STL_QUEUE_CONFLICT
1023 to the config files which had ACE_HAS_STL_MAP_CONFLICT defined,
1025 config-sunos5.5-g++.h
1026 config-sunos5.5-sunc++-4.x.h
1028 Thanks to Russ Noseworthy <rnosewor@objectsciences.com> for
1031 Thu Apr 2 15:14:35 1998 Sumedh Mungee <sumedh@lindy.cs.wustl.edu>
1033 * ace/WFMO_Reactor.h (dump): Renamed HANDLE to ACE_HANDLE.
1035 Thu Apr 02 14:23:11 1998 David L. Levine <levine@cs.wustl.edu>
1037 * tests/Reactor_Notify_Test.cpp (Supplier_Task::handle_output):
1038 added a thr_yield () so that the Supplier_Task always gets a
1041 * tests/run_tests.sh: Reactor_Notify_Test is OK on Chorus now.
1043 Wed Apr 01 18:59:42 1998 Irfan Pyarali <irfan@cs.wustl.edu>
1045 * ace/WFMO_Reactor.cpp (dump): Added dump() methods.
1047 * ace/Msg_WFMO_Reactor.cpp (wait_for_multiple_events): Reverted
1048 Nanbor's change. The flag is properly set in
1049 ACE_Msg_WFMO_Reactor::alertable_handle_events().
1051 Wed Apr 1 15:40:01 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
1053 * ace: Made the WMFO_Reactor and Select_Reactor's dump() methods
1054 virtual to underscore the fact that the Reactor_Impl's new
1055 dump() method is also virtual.
1057 * ace/OS.h: Changed ACE_HAS_STL_MAP_CONFLICT to
1058 ACE_HAS_STL_QUEUE_CONFLICT for the appropriate cases in ACE.
1059 Thanks to Russ Noseworthy <rnosewor@objectsciences.com> for
1062 * ace/CORBA_Handler.cpp (ACE_CORBA_Handler): The reference_count_
1063 data member wasn't being initialized correctly. Thanks to
1064 Mahesh Chandwani <chandwani@lucent.com> for reporting this.
1066 * ace: Renamed config-sunos5.5-sunc++-4.x-orbix.h to
1067 config-sunos5.x-sunc++-4.x-orbix.h since this config file works
1068 with SunOS 5.5 and 5.6. Thanks to Mahesh Chandwani
1069 <chandwani@lucent.com> for reporting this.
1071 Wed Apr 01 16:28:30 1998 David L. Levine <levine@cs.wustl.edu>
1073 * ace/Reactor.{h,cpp},Reactor_Impl.h (dump): added dump ()
1074 method, which calls the (existing) dump () in the reactor
1077 * ace/High_Res_Timer.* (hrtime_to_tv): fixed conversion of
1078 ACE_hrtime_t to ACE_Time_Value to be compatible with
1081 Wed Apr 01 09:32:27 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1083 * ace/Msg_WFMO_Reactor.cpp (wait_for_multiple_events): Should not
1084 wait for all objects in this function.
1086 Tue Mar 31 15:27:25 1998 Steve Huston <shuston@riverace.com>
1088 * apps/JAWS/server/JAWS_Pipeline_Handler.cpp: Defined 'status' in
1091 * ace/config-dgux-4.x-ghs.h: Removed settings for ACE_SIZEOF_LONG_LONG
1092 since the compiler doesn't really support a long long that ACE
1093 is looking for (64-bit). Use the ACE-supplied ACE_ULongLong type.
1095 Tue Mar 31 10:46:23 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1097 * ace/Msg_WFMO_Reactor.cpp: Changed to use
1098 MsgWaitForMultipleObjects if we are not under NT. Also in
1099 MsgWaitForMultipleObjectsEx, we should use NT defined flags
1100 instead of the boolean "alertable" directly.
1102 Tue Mar 31 07:22:09 1998 David L. Levine <levine@cs.wustl.edu>
1104 * ace/OS.i (cond_timedwait): restored ACE_HAS_DCE_DRAFT4_THREADS
1105 behavior to use absolute time. Special-case only on LynxOS,
1106 which requires a relative time. Thanks to Steve Coy
1107 <stevec@magna.com.au> for reporting this on HP-UX.
1109 * tests/Thread_Manager_Test.cpp (worker): cache the thread's
1110 Signal_Catcher on entry. That way, we don't have to
1111 dereference it in the worker's loop. It seems that a worker
1112 thread can continue to run after main exits (and cleans up
1113 TSS). That shouldn't happen, but it looks like it does on
1114 Linux, LynxOS, and Digital Unix. Thanks to James CE Johnson
1115 <jcej@lads.com> for verifying that the fix works on Linux/
1118 * examples/Threads/task_five.cpp (main): wrapped return statement
1119 at end with ACE_NOTREACHED. This will prevent compiler warnings
1120 from Green Hills and DEC CXX, and maybe SGI cc.
1122 Fri Mar 27 23:04:08 1998 David L. Levine <levine@cs.wustl.edu>
1124 * ace/config-linux-common.h: added ACE_DEFAULT_MAX_SOCKET_BUFSIZ
1125 65535, because some Linux 2.1.x kernels fail setsockopts if
1126 bigger than that. Thanks to Ravi Nagabhyru <ravi@future-minds.com>
1127 for reporting that. Also changed hard-code ACE_PAGESIZE to
1128 ACE_HAS_GETPAGESIZE, even though getpagesize () doesn't get
1129 used. ACE_OS::getpagesize () uses sysconf on Linux.
1131 * performance-tests/UDP/udp_test.cpp (main): getopt.optarg instead
1132 of optarg, for -f option.
1134 * ace/IPC_SAP.cpp (enable,disable): removed the ACE_NOTREACHED
1135 wrappers around the return statements. Seems that some versions
1136 of Green Hills complain about an unreachable statement, but
1137 we'll live with it. This change is only visible with SGI,
1138 DEC CXX, and Green Hills.
1140 * include/makeinclude/platform_vxworks5.x_ghs.GNU: added missing
1141 close paren after ppc conditional. Thanks to Brian Mendel for
1144 Fri Mar 27 16:47:26 1998 Steve Huston <shuston@riverace.com>
1146 * tests/tests.mdp: Made settings for Env_Value_Test consistent with
1147 other tests, so that run_tests.bat can find it.
1149 * netsvcs/servers/servers4.mdp: Added ..\lib to Include directories
1150 when building in Release mode.
1152 Fri Mar 27 13:55:13 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1154 * ace/High_Res_Timer.i (gettime): ACE_OS::gettimeofday doesn't
1157 Fri Mar 27 09:50:52 1998 Steve Huston <shuston@riverace.com>
1159 * ace/Strategies_T.cpp: Added #include "ace/Service_Repository.h" for
1160 compile on HP. Thanks to Steve Coy <stevec@magna.com.au> for this.
1162 Fri Mar 27 09:21:21 1998 David L. Levine <levine@cs.wustl.edu>
1164 * tests/test_config.h: with Green Hills on VxWorks, rename
1165 main to ace_main for compatibility with run_tests.vxworks.
1167 * ace/OS.{h,i},High_Res_Timer.* (gethrtime): added an optional
1168 argument to allow specifying start/increment/stop to a timer.
1169 It is currently only used on Chorus. On Chorus, using
1170 the default ACE_HRTIMER_GETTIME will use clock_gettime ()
1171 instead of sysBench (). sysBench () disables interrupts,
1172 so it must be used with care.
1174 Thu Mar 26 21:18:57 1998 David L. Levine <levine@cs.wustl.edu>
1176 * ace/Basic_Types.h,config-g++-common.h,config-freebsd*.h,
1177 config-netbsd.h: moved setting of ACE_SIZEOF_LONG_DOUBLE to 12
1178 from Basic_Types.h to config-g++-common.h and the FreeBSD/NetBSD
1181 Thu Mar 26 20:53:30 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1183 * ace/Containers.{h,i,cpp}: Changed the template parameter name
1184 <SIZE> to <ACE_SIZE> to avoid namespace polution. Thank to John
1185 Mulhern <9107@MN3.LAWSON.lawson.com> for suggestion this.
1187 Thu Mar 26 17:23:38 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
1189 * ACE version 4.4.36, released Thu Mar 26 17:23:38 1998.
1191 Thu Mar 26 12:54:57 1998 David L. Levine <levine@cs.wustl.edu>
1193 * ace/IPC_SAP.cpp (enable,disable): wrapped return statement
1194 at end with ACE_NOTREACHED.
1196 * include/makeinclude/platform_vxworks5.x_ghs.GNU: added support
1199 * ace/Basic_Types.h: sizeof (long double) is 8 on ghs/VxWorks/i386,
1202 Wed Mar 25 10:10:04 1998 David L. Levine <levine@cs.wustl.edu>
1204 * include/makeinclude/platform_{chorus,vxworks5.x}_ghs.GNU:
1205 change OFLAGS to OCFLAGS.
1207 * include/makeinclude/platform_chorus_ghs.GNU: if debug is enabled,
1208 link with crth_d.s.o instead of crth.s.o.
1210 * ace/config-g++common.h: don't #define
1211 ACE_HAS_TEMPLATE_SPECIALIZATION with egcs 2.91. Thanks to
1212 Sudish Joseph <sj@eng.mindspring.net> and
1213 Loren Rittle <rittle@comm.mot.com> for reporting this
1214 apparent bug with egcs 2.91. (egcs 2.90 builds ACE cleanly
1215 with ACE_HAS_TEMPLATE_SPECIALIZATION.)
1217 * include/makeinclude/platform_vxworks5.x_g++.GNU: add VxWorks
1218 host bin directory to PATH if its not already there.
1220 Tue Mar 24 19:48:44 1998 Irfan Pyarali <irfan@cs.wustl.edu>
1222 * ace/Proactor.cpp (timeout): Changed comparison from || to
1223 &&. Thanks to Jason Katz <Jason@email.rts-inc.com> for reporting
1226 Tue Mar 24 18:14:18 1998 Steve Huston <shuston@riverace.com>
1228 * ace/Env_Value_T.h: added #include "ace/OS.h" to get the definition
1229 for ACE_static_cast - AIX xlC needs it for auto template generation.
1231 Tue Mar 24 09:00:36 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
1234 Missing newline after the "DISABLED" message.
1236 Tue Mar 24 07:38:44 1998 David L. Levine <levine@cs.wustl.edu>
1238 * ace/config-sunos5.5-g++.h: replaced ACE_PAGE_SIZE with
1239 ACE_HAS_GETPAGESIZE, and added ACE_HAS_STL_MAP_CONFLICT.
1240 Thanks to Loren Rittle <rittle@comm.mot.com> for reporting
1243 Mon Mar 23 12:06:30 1998 David L. Levine <levine@cs.wustl.edu>
1245 * performance_tests/UDP/udp_test.cpp: made use of the Reactor
1246 optional. With this change, the performance is comparable
1247 to the original C version.
1249 * ace/OS.{h,i} (wslen,wscpy): added these, and WChar typedef,
1252 * include/makeinclude/platform_chorus_ghs.GNU: moved directories
1253 to /project/doc/mvme/.
1255 * ace/config-vxworks5.x.h: protected #define of ACE_MAIN so that
1256 it can be #defined on the command line.
1258 Mon Mar 23 11:38:43 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1260 * ace/OS.h (MAXPATHLEN): Guard the MAXPATHLEN definition with
1261 #ifndef in case if has already been defined. Thanks to "Patrick
1262 J. McNerthney" <pat@thememedia.com> for reporting this.
1264 Mon Mar 23 03:18:50 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
1266 * ACE version 4.4.35, released Mon Mar 23 03:18:50 1998.
1268 Mon Mar 23 00:03:37 1998 Irfan Pyarali <irfan@cs.wustl.edu>
1270 * examples/Reactor/ReactorEx/test_abandoned.cpp: Tests the
1271 WFMO_Reactor's ability to handle abandoned mutexes.
1273 * examples/Reactor/ReactorEx/test_apc.cpp: Tests the
1274 WFMO_Reactor's ability to handle regular APC notifications.
1276 Sun Mar 22 23:47:00 1998 Irfan Pyarali <irfan@cs.wustl.edu>
1278 * ace/WFMO_Reactor.cpp: Added code to the Reactor to make it more
1279 resilient when the wait() function returns WAIT_IO_COMPLETION
1282 ok_to_wait: Keep waiting if wait() returns WAIT_IO_COMPLETION.
1284 dispatch: Return <handlers_dispatched> if wait() returns
1287 dispatch_handles: Added code to correctly handle WAIT_ABANDONED
1288 and to correctly figure out the index of the handler to be
1291 Thanks to Beskrovny Evgeny (evgeny_beskrovny@icomverse.com) of
1292 Comverse Network Systems for pointing out the problem with
1295 * ace/Reactor.cpp (run_alertable_event_loop): Added new function
1296 that runs the Reactor using alertable_handle_events() instead of
1299 Sat Mar 21 19:58:42 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1301 * ace/OS.i (flock_destroy): lock->lockname_ should be cast to
1302 LPTSTR instead of char*. Thanks to Goran Lowkrantz
1303 <Goran.Lowkrantz@infologigruppen.se> for reporting this.
1305 * examples/Threads/task_five.cpp: Allow users to set thread stack
1306 size from command lines. If a user doesn't give one, it will be
1307 set to 8k on non-Windows platforms.
1309 Fri Mar 20 22:07:15 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1311 * ace/ACE_Library.{mak,mdp}: Added Msg_WFMO_Reactor.
1313 * ace/Asynch_IO.cpp (cancel): Added version check because MSVC 4.2
1314 doesn't support CancelIo.
1316 Fri Mar 20 21:46:16 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
1318 * ACE version 4.4.34, released Fri Mar 20 21:46:16 1998.
1320 Fri Mar 20 20:53:27 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1322 * ace/Parse_Node.cpp: Fixed typos.
1324 Fri Mar 20 14:18:53 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
1326 * performance-tests/UDP/udp_test.cpp: Completed the ACE'ification
1329 Fri Mar 20 09:31:22 1998 David L. Levine <levine@cs.wustl.edu>
1331 * ace/OS.h: with ACE_LACKS_WCHAR_T, changed wchar_t typedef
1332 from long to ACE_UINT32 to ensure that it is 4 bytes on
1335 * performance-tests/UDP/udp_test.cpp: added this test, which
1336 provides UDP performance statistics. Thanks to Fred Kuhns
1337 <fredk@arl.wustl.edu> for contributing the test.
1339 Thu Mar 19 10:15:27 1998 Steve Huston <shuston@riverace.com>
1341 * ace/OS.i: Changed the dynamic library load/unload code so that
1342 on HP-UX, g++ does the same thing as aC++ (not like HP C++), using
1343 <dl.h> and shl_(un)load. Thanks to Kirill Rybaltchenko
1344 <Kirill.Rybaltchenko@cern.ch> for this change.
1346 Thu Mar 19 10:13:35 1998 David L. Levine <levine@cs.wustl.edu>
1348 * performance-tests/Misc/preempt.cpp: 1) Added -f option to fork
1349 instead of spawning new threads. 2) Added -l option for
1350 specifying number of iterations of low priority thread/process.
1351 3) On Solaris, print LWP ID.
1353 Thu Mar 19 02:47:42 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1355 * ace/ace_dll.dsp: Link against user32.lib for all configurations
1356 for we now use Msg_WFMO and related APIs in ACE. (We should do
1357 the same to ace_lib.dsp.)
1359 * ace/config-WinCE.h: Added dummy definition of stdin and stdout.
1360 They don't have any real effect.
1362 * ace/ACE.{h,cpp} (ldopen,ldfind): Made these functions visible
1363 under CE. Modified them to work under CE.
1365 * ace/OS.cpp: Added scope name to day_of_week_name and
1366 month_name. They are used only on CE.
1368 * ace/OS.{h,i}: Added some dummy C methods for CE. Yacc and Lex
1369 generated codes use these functions, although we don't really
1372 * ace/OS.i (exit): Added implementation of ACE_OS::exit under CE. Since
1373 there's no ExitProcess available, I use TerminateProcess, which
1374 is not exactly the same as using ExitProcess but that's the
1375 closest thing I can think of.
1376 (open): Made the char version unsupported under CE.
1377 (fread,fwrite,...): Added dummy C methods definition for CE.
1379 * ace/Parse_Node.cpp: Regular CE stuff. There's a boundary
1380 of char/wchar functions somewhere in this file. Most Svc_Conf
1381 stuff uses char functions but the information gets converted to
1384 * ace/Service_Config.{h,i}: Added char version function for
1385 Service_Type under CE. Service_Type (and its subclasses) are
1386 the boundary of char/wchar functions.
1388 * ace/Service_Object.{h,i}: Added the chname method which always
1389 returns char value of a Service_Object under all platforms.
1392 * ace/Svc_Conf_y.cpp:
1393 * ace/Object_Manager.{cpp}: Regular CE stuff.
1395 * ace/Svc_Conf_l.cpp: Regular CE stuff. Haven't figure out a way
1396 to modify this from Svc_Conf.l yet.
1398 * ace/Service_Config.cpp
1399 * ace/Object_Manager.{cpp}: Ifdef'ed inclusion of Naming Context
1400 related header files out. Naming context uses Registry which
1401 uses iostream and STL, both are not available on CE (yet?).
1403 * ace/WFMO_Reactor.{h,cpp}:
1404 * ace/Proactor.{h,i,cpp}:
1405 * ace/Asynch_IO.{h,cpp}: Ifdef'ed the body so they are not visible
1406 under CE. CE doesn't have asynchronous IO.
1408 Wed Mar 18 21:30:39 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
1410 * ACE version 4.4.33, released Wed Mar 18 21:30:39 1998.
1412 Wed Mar 18 16:36:17 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
1414 * Makefile (releaseall): There is no more TAO.tar.gz. There are
1415 now two tar files, ACE.tar.gz and ACE+TAO.tar.gz.
1416 ACE+TAO.tar.gz contains ALL of ACE. In particular, it will
1417 always have the same version number and same ACE contents as
1418 ACE.tar.gz. The intent here is that people who just want to use
1419 ACE will use ACE.tar.gz and people who want to use ACE and TAO
1420 will use ACE+TAO.tar.gz. Thanks to David Levine and Irfan for
1423 Wed Mar 18 15:50:30 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1425 * ace/Log_Msg.cpp (ACE_Log_Msg): Added codes to grab
1426 ACE_Log_Msg_Manager's lock while updating the instance_count_.
1427 There was a race condition without the change. Thanks to Detlef
1428 Becker's <Detlef.Becker@med.siemens.de> thread creation stress
1429 test to reveal the bug.
1431 Tue Mar 17 17:20:00 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1433 * examples/Threads/test.dsw:
1434 * examples/Threads/task_five.cpp:
1435 * examples/Threads/task_five.dsp:
1436 * examples/Threads/Makefile: Added a new ACE_Task testing
1437 program. Thanks to Detlef Becker <Detlef.Becker@med.siemens.de>
1438 for providing the source.
1440 Wed Mar 18 11:00:11 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
1442 * ace/Hash_Map_Manager.cpp (map): This method has been added to
1443 the ACE_Hash_Map_Iterator_Base class.
1445 Wed Mar 18 09:25:30 1998 Chris Gill <cdgill@tango.cs.wustl.edu>
1447 * ace/ace.dsw: added user32.lib to link for dynamic library on NT
1450 Wed Mar 18 09:22:13 1998 David L. Levine <levine@cs.wustl.edu>
1452 * ace/Containers.cpp,Hash_Map_Manager.cpp,Map_Manager.cpp
1453 (operator *): initialize retv to 0 to avoid warning about
1454 using it before setting its value.
1456 * tests/Thread_Mutex_Test.cpp (test): added no-op statement to
1457 suppress GHS warning about unused local variable "mutex".
1459 * tests/Priority_Buffer_Test.cpp (consumer): added no-op statement
1460 to suppress GHS warning about unused local variable "cur_priority".
1462 * ace/README: removed ACE_HAS_BOOL. It was unused.
1464 * performance-tests/Misc/basic_func.{h,cpp},basic_perf.cpp:
1465 With MSVC 5.0, do something in the empty iteration because
1466 otherwise it gets completely optimized away. Thanks to
1467 Alexander Ovsiankin <sasha@technologist.com> for providing
1470 Tue Mar 17 23:53:56 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
1472 * examples/Threads/task_five.cpp (main): Reformatted Detlef's new
1473 torture test so that it conforms to ACE programming conventions.
1475 Tue Mar 17 23:22:20 1998 Irfan Pyarali <irfan@cs.wustl.edu>
1477 * ace/Reactor.cpp (ACE_Reactor): If
1478 ACE_USE_MSG_WFMO_REACTOR_FOR_REACTOR_IMPL is defined, use
1479 ACE_Msg_WFMO_Reactor for ACE_Reactor::instance().
1481 * examples/Reactor/ReactorEx/test_window_messages.cpp: Tests
1482 Msg_WFMO_Reactor's ability to handle regular events and window
1485 Tue Mar 17 21:41:57 1998 David L. Levine <levine@cs.wustl.edu>
1487 * examples/Threads/task_five.cpp (svc): use ACE_OS::sleepq
1488 instead of ::Sleep. (main): declare "ii" outside of the
1489 first loop because it is used in other loops.
1491 Tue Mar 17 16:02:26 1998 Irfan Pyarali <irfan@cs.wustl.edu>
1493 * ace/WFMO_Reactor: Changes were made to WFMO_Reactor to make it
1494 easier to extend it to handle window messages:
1496 - dispatch_handler() checks if there are window messages that
1497 need to be dispatched if the <index> matches <max_handlep1>.
1498 If there are, they are dispatched by calling
1499 dispatch_window_messages().
1501 - dispatch_window_messages() is a noop for WFMO_Reactor.
1503 - Checking the return values from Wait*() functions was changed
1504 as (WAIT_OBJECT_0 + nCount) is now a valid index.
1506 - Checking for remaining handles was abstracted into
1507 poll_remaining_handles().
1509 - Expiring of timer was abstracted out into expire_timers().
1510 Only the owner thread expires the timers.
1512 - calculate_timeout() was removed from
1513 wait_for_multiple_events().
1515 * ace/Msg_WFMO_Reactor: A new Reactor that specializes the
1516 WFMO_Reactor. WFMO_Reactor uses WaitForMultipleObjects while
1517 Msg_WFMO_Reactor uses MsgWaitForMultipleObjects. This allows
1518 the Msg_WFMO_Reactor to react to Windows and COM/DCOM messages
1519 in addition to the regular WFMO_Reactor events.
1521 Thanks to Beskrovny Evgeny (evgeny_beskrovny@icomverse.com) of
1522 Comverse Network Systems for contributing this to ACE.
1524 Tue Mar 17 13:15:11 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
1526 * ace/Future.cpp: Added missing ACE_MT macros so that we now
1527 compile correctly if we don't have threads. Thanks to Laura
1528 Paterno <lpaterno@d0chb.fnal.gov> for reporting this.
1530 Tue Mar 17 15:13:17 1998 David L. Levine <levine@cs.wustl.edu>
1532 * ace/High_Res_Timer.cpp (dump): fleshed out the implementation.
1534 * ace/Profile_Timer.{h,cpp} (dump): implemented for platforms
1535 w/o ACE_HAS_PRUSAGE_T and ACE_HAS_GETRUSAGE.
1537 * ace/OS.i (gethrtime): with ACE_HAS_CLOCK_GETTIME, carefully
1538 construct return value to avoid arithmetic overflow if
1539 ACE_LACKS_LONGLONG_T.
1541 Mon Mar 16 22:18:07 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
1543 * ace/IPC_SAP.cpp: Moved return values outside of the #ifdefs to
1544 quiet warning messages with KAI C++. Thanks to Laura Paterno
1545 <lpaterno@d0chb.fnal.gov> for reporting this.
1547 Tue Mar 17 00:04:53 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1550 * ace/Svc_Conf_y.cpp: Applied "Regular CE Tricks [TM]".
1552 Mon Mar 16 23:34:39 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1555 * ace/config-WinCE.h: Added ACE_LACKS_STRRCHR.
1557 * ace/OS.i: Added implementation of ACE_OS::strrchr () when
1558 platforms don't provide one.
1560 Mon Mar 16 16:08:45 1998 David L. Levine <levine@cs.wustl.edu>
1562 * ace/High_Res_Timer.cpp: set global_scale_factor_ to 1000 with
1563 ACE_HAS_CLOCK_GETTIME, because clock_gettime has nanosecond
1564 resolution, and with PSOS.
1566 * ace/Profile_Timer.{h,cpp},tests/Handle_Set_Test.cpp: use units
1567 of microseconds instead of seconds if ACE_LACKS_FLOATING_POINT.
1569 * ace/OS.i (hostname): on Chorus, try the HOST environment variable
1570 if ::gethostname () returns an empty string.
1572 Mon Mar 16 13:04:58 1998 Seth Benjamin Widoff <sbw1@waltz.cs.wustl.edu>
1575 Extended the ACE_HAS_STL_MAP_CONFLICT to include 'queue' as well
1576 as 'map.' 'queue' is defined in sys/stream.h, which is included in
1577 OS.h by netinet/in.h and sys/timod.h.
1579 Mon Mar 16 00:22:40 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1581 * CE-status: Updated CE port status.
1583 * ace/config-WinCE.h: Added macro definitions for EOF and BUFSIZ.
1585 * ace/OS.{h,i} (ace_isspace): Added both char and wchar version
1586 functions. Notice that this can't be called isspace because
1587 most compilers implement isspace as a macro.
1588 (dlerror,dlsym): Added wchar version of these functions under CE.
1590 * ace/OS.cpp (fork_exec): Modified parameters passed to
1591 CreateProcess under CE.
1593 * ace/ARGV.{h,i,cpp}: Unicodize this class under CE. Notice that
1594 under CE, you won't be able to use environment variable
1595 substitution since there's no environment variable at all.
1597 * ace/Reactor.cpp: Don't include Service_Config.h and
1598 WFMO_Reactor.h under CE for now. Prevent Reactor from
1599 reconfigure the service configurator.
1601 * ace/Task.cpp: Don't include Service_Config.h under CE for now.
1602 Prevent Task_Base from reconfigure the service configurator.
1604 * ace/SString.cpp: Don't include Service_Config.h under CE for
1608 * ace/Shared_Object.{h,cpp}:
1609 * ace/Service_Type.{h,i,cpp}:
1610 * ace/Service_Repository.{h,cpp}:
1611 * ace/Service_Object.{h,i,cpp}:
1612 * ace/Service_Manager.{h,cpp}:
1613 * ace/Service_Config.{h,i,cpp}: Unicodize service configurator
1614 related classes. I still need to find a point which breaks the
1615 usage of char functions that flex and yacc use and wchar
1616 functions that most CE functions use.
1618 * ace/Get_Opt.{h,cpp}:
1619 * ace/Local_Token.{h,i,cpp}:
1620 * ace/Map_Manager.cpp:
1621 * ace/Message_Queue.cpp:
1622 * ace/Module.{h,i,cpp}:
1623 * ace/Parse_Node.cpp:
1625 * ace/Stream.{h,cpp}:
1626 * ace/Stream_Module.{h,cpp}:
1627 * ace/Token_Manager.{h,cpp}:
1628 * ace/Activation_Queue.cpp: Unicodize classes. Regular CE stuff.
1630 Sat Mar 14 06:43:32 1998 David L. Levine <levine@cs.wustl.edu>
1632 * ace/Basic_Types.h,config-win32-common.h,config-irix*.h:
1633 moved WIN32 and SGI-specific code out of Basic_Types.h and
1634 into their respective config files.
1636 * ace/Object_Manager.h: changed ACE_HAS_NON_STATIC_OBJECT_MANAGER
1637 to ACE_HAS_NONSTATIC_OBJECT_MANAGER in comments. Thanks to
1638 Kirill Rybaltchenko <Kirill.Rybaltchenko@cern.ch> for reporting
1641 * include/makeinclude/platform_chorus_ghs.GNU: set PATH, and
1642 remove /tmp/gh_*.[os] files that GreenHills leaves.
1644 * ace/INET_ADDR.cpp (get_host_name): on Chorus, save errno in
1645 error so that it gets propagated back to the caller.
1647 Sat Mar 14 00:13:22 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
1649 * ace/Task.h (ACE_Task_Base): Give a default value of 0 for the
1650 Thread Manager so we can use this as a base class.
1652 * tests/Future_Test.cpp: Since the Scheduler provides its own
1653 activation queue it doesn't make sense to inherit from ACE_Task
1654 (which provides its own queue) but instead ACE_Task_Base
1655 (which doesn't define its own queue). Thanks to Loren Rittle
1656 <rittle@comm.mot.com> for reporting this.
1658 * examples/Threads/future[12].cpp: Since the Scheduler provides
1659 its own activation queue it doesn't make sense to inherit from
1660 ACE_Task (which provides its own queue) but instead
1661 ACE_Task_Base (which doesn't define its own queue). Thanks to
1662 Loren Rittle <rittle@comm.mot.com> for reporting this.
1664 * examples/Threads/future[12].cpp: Removed the explicit call to
1665 scheduler_->close() to avoid closing the scheduler down twice.
1666 Thanks to Loren Rittle <rittle@comm.mot.com> for reporting this.
1668 Fri Mar 13 23:41:44 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1670 * ace/Process.cpp (ACE_Process_Options): Moved column out of
1673 Fri Mar 13 21:17:51 1998 David L. Levine <levine@cs.wustl.edu>
1675 * ace/Process.cpp (ACE_Process_Options): reordered initializers
1676 to match declaration order.
1678 Fri Mar 13 17:30:16 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1680 * ace/Process.{h,i,cpp}: As CE's CreateProcess is basically
1681 broken, you can only start a new process using ACE_Process. You
1682 cannot set any of environment, process attributes, thread
1683 attributes, current directory, stratup info, and security
1684 attributes. I have modified these files so that most attribute
1685 access functions just do nothing. Some of "do nothing"
1686 functions were defined as ACE_INLINE on CE.
1688 * ace/Memory_Pool.cpp: Regular CE stuff.
1690 Fri Mar 13 17:42:17 1998 Irfan Pyarali <irfan@cs.wustl.edu>
1692 * ace/WFMO_Reactor.cpp (handle_signal): If there are still
1693 notification in the queue, we need to wake up again.
1695 Fri Mar 13 09:09:08 1998 David L. Levine <levine@cs.wustl.edu>
1697 * ace/Profile_Timer.*,config-chorus.GNU,README,
1698 tests/Handle_Set_Test.cpp (test_performance): added
1699 ACE_LACKS_FLOATING_POINT support.
1701 * include/makeinclude/platform_chorus_ghs.GNU: removed
1702 -X445 from CFLAGS. I don't know what it does.
1704 Fri Mar 13 01:10:36 1998 Irfan Pyarali <irfan@cs.wustl.edu>
1706 * ace/WFMO_Reactor: The following changes were made to make the
1707 registration and removal of event_handlers from WFMO_Reactor
1708 more robust. Thanks to Jonathan Biggar <jon@floorboard.com> for
1711 - ACE_WFMO_Reactor_Handler_Repository::Common_Info now contains
1712 the delete_entry_ and close_masks_ fields as these were now
1713 common to all three structures.
1715 - handle_additions() and handle_deletions() were changed to
1716 make_changes_in_current_infos(),
1717 make_changes_in_suspension_infos(), and
1718 make_changes_in_to_be_added_infos()
1720 - Correct range for suspend_handlers() is 0 to max_handlep1_
1721 rather than (max_handlep1_ - 1)
1723 - suspend_handlers(),
1725 add_network_events_i(),
1727 suspend_handler_i(),
1731 now go through the to_be_add_info_ array when making changes.
1733 * examples/Reactor/ReactorEx/test_prerun_state_changes.cpp: New
1734 test added to check the Reactor's ability to handle state
1735 changes before getting a chance to run.
1737 * examples/Reactor/ReactorEx/test_talker.cpp (main): Remove the
1738 Procator from the Reactor so that the Proactor is not called
1739 after it has been destroyed.
1741 Thu Mar 12 19:36:43 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
1743 * ACE-INSTALL.html: Tidied up a bunch of things in this file.
1744 Also, created a new $ACE_ROOT/os-patches/ directory and moved
1745 the patches for Linux and LynxOS into this in order to
1746 consolidate the patches into one location.
1748 * ace/WFMO_Reactor.cpp (upcall): Cleaned up a bunch of code to (1)
1749 avoid a nasty "dangling else" bug and (2) simplify a bunch of
1750 if/if statements. Thanks to Jonathan Biggar
1751 <jon@floorboard.com> for pointing this out.
1753 Thu Mar 12 18:21:15 1998 James C Hu <jxh@cs.wustl.edu>
1755 * ace/config-linux-common.h: Incorporated changes that were
1756 suggested by Robert Hanzlik <robi@codalan.cz> to get ACE to
1757 compile on Linux using glibc 2.1 and libg++/gcc 2.8.
1759 Thu Mar 12 17:25:28 1998 James C Hu <jxh@cs.wustl.edu>
1761 * ACE-INSTALL.html: Added a table to Supported Platforms and
1764 Thu Mar 12 16:28:32 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1766 * Apply regular string manipulation for CE to following files:
1767 ACE.cpp ARGV.cpp Acceptor.cpp Activation_Queue.cpp
1768 Asynch_Acceptor.cpp Asynch_IO.cpp CORBA_Handler.cpp
1769 Connector.cpp Containers.cpp DEV_Addr.cpp Dynamic_Service.cpp
1770 FIFO.cpp FIFO_Recv.cpp FIFO_Recv_Msg.cpp FIFO_Send.cpp
1771 FIFO_Send_Msg.cpp FILE_Addr.cpp FILE_Connector.cpp Filecache.cpp
1772 Future.cpp Get_Opt.cpp Hash_Map_Manager.cpp LSOCK.cpp
1773 LSOCK_CODgram.cpp LSOCK_Connector.cpp LSOCK_Dgram.cpp
1774 Local_Name_Space_T.cpp Local_Tokens.cpp Local_Tokens.i
1775 Malloc_T.cpp Map_Manager.cpp Mem_Map.cpp Memory_Pool.cpp
1776 Message_Queue.cpp Module.cpp Name_Proxy.cpp
1777 Name_Request_Reply.cpp Naming_Context.cpp Obstack.cpp
1778 Parse_Node.cpp Pipe.cpp Priority_Reactor.cpp Proactor.cpp
1779 Process_Manager.cpp Read_Buffer.cpp Registry_Name_Space.cpp
1780 Remote_Name_Space.cpp Remote_Tokens.cpp SPIPE_Acceptor.cpp
1781 SV_Semaphore_Complex.cpp SV_Semaphore_Simple.cpp
1782 Select_Reactor.cpp Service_Config.cpp Service_Main.cpp
1783 Service_Manager.cpp Service_Repository.cpp Service_Types.cpp
1784 Singleton.cpp Strategies_T.cpp Stream.cpp Svc_Handler.cpp
1785 TLI.cpp TLI_Acceptor.cpp TLI_Connector.i Task_T.cpp
1786 Time_Request_Reply.cpp Timer_Queue_Adapters.cpp
1787 Token_Collection.cpp Token_Invariants.cpp Token_Manager.cpp
1788 Token_Request_Reply.cpp WFMO_Reactor.cpp WFMO_Reactor.i
1791 Thu Mar 12 15:37:14 1998 David L. Levine <levine@cs.wustl.edu>
1793 * ace/Read_Buffer.* (read): null terminate the result buffer.
1794 Also, changed "inline" to "ACE_INLINE" and updated #includes
1795 so that ACE inlining works.
1797 Thu Mar 12 02:19:53 1998 Irfan Pyarali <irfan@cs.wustl.edu>
1799 * ace/WFMO_Reactor.cpp (upcall): In the Select_Reactor, when it
1800 upcalls to an event_handler which returns a -1, the
1801 Select_Reactor only clears the specific mask bit for the
1802 handler. For example, for a call to
1803 Event_Handler::handle_input() which returns -1, the
1804 Select_Reactor clears the READ_MASK bit.
1806 In the WFMO_Reactor, if any handler returns a -1, then it clears
1807 ALL of the mask bits for the event handler.
1809 So, fixed WFMO_Reactor so that it works like Select_Reactor in
1812 Thanks to Jonathan Biggar <jon@floorboard.com> for pointing this
1815 * ace/WFMO_Reactor.cpp (dispatch_handles): The correct range check is
1816 {WAIT_OBJECT_0,WAIT_OBJECT_0 + this->handler_rep_.max_handlep1 () - index}
1818 {WAIT_OBJECT_0,WAIT_OBJECT_0 + this->handler_rep_.max_handlep1 ()}
1820 Thanks to Evgeny Beskrovny evgeny_beskrovny@icomverse.com for
1823 Wed Mar 11 15:20:09 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
1825 * ace/OS.i (thr_getspecific): Added comments to the code to
1826 explain the unusual step of saving errno across calls to
1827 TlsGetValue() on Win32. Thanks to Tim Harrison for clarifying
1830 Wed Mar 11 00:39:29 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1832 * CE-status: A temporary file to trace the progress of the CE
1835 * ace/ace_ce_dll.dsp: Added more .cpp files.
1837 * ace/High_Res_Timer.{h,cpp}: Undefined functions print_ave and
1838 print_total. These two function use STDOUT which is not
1839 supported on CE. We should probably modify the functions so
1840 they write results to Log_Msg.
1841 (get_register_scale_factor): This function always returns 1 on
1842 CE to prevent the use of High_Res_Timer.
1843 (get_env_global_scale_factor): Always returns -1 on CE because
1844 environment variables are not supported.
1846 * ace/Thread_Manager.cpp (spawn_i): WinCE doesn't support
1847 DuplicateHandle, therefore the best we can do now is just pass
1848 back the handle to the spawned thread. Notice that you *can't*
1849 close the handle by yourself under CE. Perhaps we shouldn't
1850 even try to pass this info back. ???
1851 Applied regular CE porting tricks.
1853 * ace/SOCK_Dgram_Mcast.{h,cpp}:
1854 * ace/SOCK_Dgram_Bcast.{h,cpp}: Changed some function signatures
1855 to use wchar on CE. Applied regular CE porting tricks.
1858 * ace/SOCK_CODgram.cpp:
1859 * ace/SOCK_Dgram.cpp:
1860 * ace/Select_Reactor.cpp:
1861 * ace/Timer_{Hash,Heap,List,Queue,Wheel}_T.cpp: Applied regular CE
1862 porting tricks. Erm, I'm running out of tricks.
1864 Tue Mar 10 20:27:57 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1866 * ace/Reactor.h (reset_event_loop): Made the signature match with
1867 its definition in .cpp file.
1869 Tue Mar 10 15:07:00 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
1871 * ace/Svc_Handler.cpp,
1873 Fixed some problems where Svc_Handlers in Modules were being
1874 deleted prematurely. Thanks to Steve Coy <stevec@magna.com.au>
1877 * ace/Reactor.h (ACE_Reactor): Added a "reset_event_loop" method
1878 so that it's possible to reset the loop again once the
1879 end_event_loop() method is called. Thanks to Eric Hopper
1880 <ehopper@globalmt.com> for reporting this.
1882 * ace/IOStream_T.cpp (ACE_IOStream): Moved some code to work
1883 around some bugs with MSVC++ 5.0. Thanks to James CE Johnson
1884 <ace-users@lads.com> for reporting this.
1886 Tue Mar 10 15:57:54 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1888 * ace/Handle_Set.cpp (dump): Cast mask_.fd_count to size_t.
1889 Depend on whether you are using standard C++ library, the type
1890 of fd_count count be size_t or ssize_t. Thanks to Darrell for
1893 Tue Mar 10 13:22:24 1998 Irfan Pyarali <irfan@cs.wustl.edu>
1895 * ace/Asynch_IO.cpp (cancel): CancelIo is not supported on Win95.
1897 * ace/SString.cpp (set): Use ACE_WString::wstrlen().
1899 Tue Mar 10 06:59:42 1998 David L. Levine <levine@cs.wustl.edu>
1901 * ace/SString.cpp (WString::set): added support for platforms
1902 that don't have wchar_t, or that treat wchar_t and ACE_USHORT16
1905 * ace/OS.h,Basic_Types.h: moved ACE_USHORT16 typedef from OS.h to
1908 * ace/High_Res_Timer.h: fixed comment: timer.start () instead of
1909 timer.stop () (twice).
1911 Mon Mar 09 22:15:43 1998 Irfan Pyarali <irfan@cs.wustl.edu>
1913 * ace/SString.cpp (ACE_CString::operator=): Special cases have to
1914 considered carefully so that memory is managed properly. This
1915 is specially true when the ACE_CString::NULL_CString_ is used.
1917 * ace/SString.h (ACE_CString and ACE_WString): Added set methods
1918 that allows the user to set the strings without having to use
1919 the assignment operator.
1921 Mon Mar 09 16:11:16 1998 David L. Levine <levine@cs.wustl.edu>
1923 * examples/Map_Manager/test_hash_map_manager.cpp: added #include
1924 of ace/SString.h and template instantiations. Replaced gets
1927 * examples/Makefile,examples/Map_Manager/Makefile: added
1928 Map_Manager to examples DIRS and added RCS keyword string.
1930 Mon Mar 9 14:59:20 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
1932 * include/makeinclude/platform_irix6.x-sgic++.GNU:
1933 Added the definition for MATHLIB.
1935 Mon Mar 09 01:23:49 1998 Nanbor Wang <nanbor@cs.wustl.edu>
1938 * ace/ace_ce_dll.dsp: New project/workspace files for WinCE. This
1939 is a temporary workspace only and should be merged into ACE mail
1940 Win32 project/workspace when the port is stable enough.
1942 * ace/config-WinCE.h: Added ACE_LACKS_GETS.
1944 * ace/Synch.i (get_nesting_level): Defined it as not supported on
1945 CE. CE's CriticalSections don't have RecursionCount defined.
1946 We should be able to simulate this, however.
1948 * ace/Process.{h,cpp}:
1949 * ace/SString.{h,cpp}: Moved class ACE_Tokenizer from Process.* to
1950 SString.*. Although ACE_Tokenizer is used in
1951 ACE_Process[_Options], it really is a more general utility
1953 (operator<<): Conditionally compile these functions only when we
1954 are not running ACE on CE.
1956 * ace/OS.i (atoi): Added inline implementation for wchar version.
1957 (gets): Remove condition !defined (ACE_HAS_WINCE). This should
1958 be taken care of by ACE_LACKS_GETS.
1960 * ace/OS.h (atoi): Added wchar version of this function.
1961 (ASYS_WIDE_STRING): This macro converts char strings to
1962 wchar strings when ACE_HAS_MOSTLY_UNICODE_APIS is defined.
1963 (ASYS_MULTIBYTE_STRING): This macro converts wchar strings back
1964 to char strings *only* when ACE_HAS_MOSTLY_UNICODE_APIS is
1967 * ace/INET_Addr.{h,cpp}: Redefined interface signatures on WinCE
1968 using ASYS_* macros. The principle here is to pass wide char
1969 strings in and get char strings out. That's because we will use
1970 mostly wchar strings in CE but most winsock APIs return (or uses
1971 char strings.) Doing so should reduce conversion between them
1973 Converting debug messages with ASYS_TEXT.
1975 * ace/Log_Msg.cpp (open):
1976 * ace/ACE.cpp (get_ip_interfaces): Only convert the wide character
1977 string to a char string when ACE_HAS_MOSTLY_UNICODE_APIS flag is
1978 not set using the ASYS_MULTIBYTE_STRING macro.
1981 * ace/SOCK_Acceptor.cpp:
1985 * ace/Message_Block.cpp:
1987 * ace/Handle_Set.cpp:
1988 * ace/Addr.cpp: Converting debugging messages to wchar strings for
1989 CE using the ASYS_TEXT macro.
1991 Sun Mar 08 14:29:30 1998 David L. Levine <levine@cs.wustl.edu>
1993 * apps/Gateway/Gateway/Event_Channel.cpp (initiate_acceptors):
1994 changed SUPPLIER_CONNECTOR to SUPPLIER_ACCEPTOR. Thanks
1995 to Dani Flexer <danif@ivory-sw.com> for reporting this.
1997 * ace/OS.i (cond_timedwait): removed "struct" from declaration
1998 of local timespec_t relative_time, because timespec_t can
1999 be a typedef. Thanks to Steve Coy <stevec@magna.com.au> for
2002 * Makefile: tag from ACE_wrappers, not its parent directory,
2003 to avoid confusing CVS.
2005 Sat Mar 07 16:46:58 1998 David L. Levine <levine@cs.wustl.edu>
2007 * ACE version 4.4.32, released Sat Mar 07 16:46:58 1998.
2009 Fri Mar 06 08:37:44 1998 David L. Levine <levine@cs.wustl.edu>
2011 * bin/ace_ld: made perl4-compatible. Thanks to
2012 Jerry Bickle <glbick@most.fw.hac.com> for reporting this.
2014 * ace/os.i: (sigwait): removed "::" from before sigwait () call
2015 with ACE_HAS_ONEARG_SIGWAIT, in case it's a macro. Thanks
2016 to Kirill Rybaltchenko <Kirill.Rybaltchenko@cern.ch> for
2019 * bin/create_ace_build: made perl4-compatible. Thanks to
2020 Carlos for noticing this.
2022 * include/makeinclude/platform_vxworks5.x_g++.GNU: added
2023 WIN32 host support. Thanks to Paul von Behren
2024 <Paul_von_Behren@stortek.com> for providing the patches.
2026 * ACE-INSTALL.html: added information from Paul von Behren
2027 <Paul_von_Behren@stortek.com> on building on NT hosts for
2030 * tests/Recursive_Mutex_Test.cpp: 50 iterations instead of 100
2033 * include/makeinclude/platform_chorus_ghs.GNU: added -G to
2036 * tests/run_tests.sh: added capability for executing the tests
2037 on a remote (Chorus) target.
2039 * examples/System_V_IPC/Makefile: added clean and realclean targets
2042 * Makefile: cd .. before tagging.
2044 Thu Mar 05 12:36:52 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2046 * ace/OS.h (ACE_TRACE): Added a missing right paren.
2048 Thu Mar 05 10:04:06 1998 David L. Levine <levine@cs.wustl.edu>
2050 * include/makeinclude/platform_chorus_ghs.GNU: this works,
2051 though it may not be optimum.
2053 Thu Mar 05 01:33:08 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2055 * ace/config-WinCE.h: Added more CE stuff. Ostream is now
2056 redefined as FILE on CE.
2060 * ace/Message_Queue.cpp:
2061 * ace/SOCK_Connector.i: Added ASYS_TEXT to numerous
2062 ACE_DEBUG/ACE_ERROR macros. We must use wide char strings in
2065 * ace/ACE.{h,cpp}: Redefined sock_error to return wchar string on
2066 CE. Added ASYS_TEXT to debugging messages.
2068 * ace/Trace.{h,cpp}:
2069 * ace/Log_Msg.{h,cpp}: Made it UNICODE compatible.
2071 * ace/Log_Record.cpp: Changed how ostream is used on CE. Although
2072 the code here become some how platform dependent, fortunately,
2073 it can be shielded out from the users thru various macros.
2076 * ace/SString.h: Undefined friend relations of ACE_?String with
2077 ostream on CE. CE doesn't support <iostream>.
2079 * ace/OS.h: Changed the definition of ASYS_TEXT to use _TEXT.
2080 This macro can be used with other compiler defined macros
2081 (e.g. __FILE__.) Added ASYS_TEXT to adorn parameters of
2082 ACE_TRACE so we don't need to modify our codes to make it
2085 * ace/Log_Msg.cpp: Removed macro definition of ACE_WSPRINTF. It
2086 didn't appear to be used anywhere.
2088 Wed Mar 04 09:32:32 1998 David L. Levine <levine@cs.wustl.edu>
2090 * ace/OS.cpp (readv,writev): added static cast of iov_len to int,
2091 to avoid unsigned comparison < 0.
2093 * ace/Containers.cpp (ACE_Fixed_Set_Iterator::done),
2094 ace/Map_Manager.cpp (ACE_Map_Iterator_Base::done):
2095 removed const from static cast to avoid warnings about
2096 meaningless type qualifier from GreenHills.
2098 * ace/Basic_Types.i (ACE_U_LongLong): added missing ACE_INLINE's.
2100 * ace/Svc_Conf.y,Svc_Conf_y.cpp, etc/Svc_Conf_y.cpp.diff
2101 (svc_location): delete svc_initializer after initializing
2102 svc_location. Thanks to Tom Arbuckle
2103 <arbuckle@uran.informatik.uni-bonn.de> for reporting this.
2105 * include/makeinclude/platform_linux_lxpthreads.GNU: separated
2106 SOBUILD into compile and link steps because the
2107 Service_Configurator/server/* examples are unable to
2108 use files compiled with -fPIC and just labeled as .so as shared
2109 ELF objects. Thanks to Tom Arbuckle
2110 <arbuckle@uran.informatik.uni-bonn.de> for reporting this.
2112 * include/makeinclude/platform_chorus_ghs.GNU: explicitly link
2113 in ioassign.o to resolve _cerr.
2115 * tests//SOCK_Connector_Test.cpp,
2116 ace/config-{chorus,lynxos,netbsd,psosim-g++,vxworks5.x,
2118 added ACE_LACKS_GETHOSTENT, so that SOCK_Connector_Test doesn't
2119 have to enumerate the platforms that don't have ::gethostent ().
2121 * tests/Basic_Types_Test.cpp (main): if ACE_LACKS_LONGLONG_T, use
2122 ACE_U_LongLong instead of long long.
2124 Tue Mar 03 22:15:16 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2126 * ace/Remote_Name_Space.cpp: Replaced a bunch of usages of
2127 ACE_WString::rep (). They were passed to ACE_Name_Request which
2128 creates another copy for itself and nobody ever cleans up these
2129 memories. Thanks to John Mulhern <9107@MN3.LAWSON.lawson.com>
2132 * ace/OS.h (THR_DETACHED): Defined this macro so that we can
2133 simulate detached threads on NT (Hi Irfan! ;-). Thanks to Andre
2134 Arpin <arpin@adan.kingston.net> for prividing the use case of
2137 * ace/Thread_Manager.cpp (exit): Added detached threads
2138 manipulating codes here. We now can simulate behaviros of UNIX
2139 detached threads on NT (no one cares about their return status.)
2141 Tue Mar 03 15:05:42 1998 David L. Levine <levine@cs.wustl.edu>
2143 * ace/Basic_Types.{h,i} (ACE_U_LongLong::operator *=): updated
2144 with James Hu's implementation. Now it's fast :-)
2146 * tests/Time_Value_Test.cpp (test_ace_u_longlong): added another
2147 test of operator *=.
2149 Mon Mar 2 19:21:36 1998 Douglas C. Schmidt <schmidt@waltz.cs.wustl.edu>
2151 * ace/OS.h: Changed all uses of "/localname" and "/globalname" to
2152 "localname" and "globalname" to avoid problems on UNIX. Thanks
2153 to John Mulhern <9107@MN3.LAWSON.lawson.com> for reporting this.
2155 * ace/OS.h: Changed "C:\\temp\\" to "C:\\temp" to avoid some minor
2156 problems on NT. Thanks to John Mulhern
2157 <9107@MN3.LAWSON.lawson.com> for reporting this.
2159 * netsvcs/lib/Log_Message_Receiver.cpp
2160 (Log_Message_Receiver_Impl): Removed some stray inline keywords.
2161 Thanks to Russ Noseworthy <rnosewor@objectsciences.com> for
2164 * ace/OS.i (sigwait): Added support for POSIX sigwait(). Thanks
2165 to Russ Noseworthy <rnosewor@objectsciences.com> for reporting
2168 * ace/Containers.cpp (done):
2169 ace/Map_Manager.cpp (done): Corrected some misplaced "consts" in
2170 the ACE_static_cast macro. Thanks to Russ Noseworthy
2171 <rnosewor@objectsciences.com> for reporting this.
2173 * include/makeinclude/platform_sunos5_sunc++.GNU (CXX): Commented
2174 out the -pta option since it might not be necessary. If this
2175 breaks code then we'll need to reevaluate this change. Thanks
2176 to Russ Noseworthy <rnosewor@objectsciences.com> for suggesting
2179 Mon Mar 02 17:06:46 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2181 * ace/Thread_Manager.cpp (exit): Added Win32 thread exit
2182 functionality. When a thread function falls out of scope, this
2183 functions is called by ACE_Thread_Control::exit and it will not
2184 call ACE_OS::thr_exit from here. Under this scenario, the
2185 ACE_Thread_Manager::exit simply falls thru the end. If a user
2186 call this function directly, this function will delete
2187 ACE_Thread_Exit::instance() first, which simulate the cleanup
2188 routine executed when a thread fall out of end by calling
2189 ACE_Thread_Manager::exit recursively. After this is done
2190 (returned from the second call,) this function will then call
2191 ACE_OS::exit, which clean up the TSS objects and then really
2192 exit the thread. Thanks to Gordon Watts <gwatts@FNAL.GOV> for
2195 * ace/OS.cpp (thr_exit): Added Win32 thread exit functionality.
2196 ACE_OS::thr_exit now will try to clean up TSS objects by calling
2197 ACE_OS::cleanup_tss. You really should _not_ calling this
2198 function directly. Esp. from the main thread because I don't
2199 know how to tell if you are calling it from main thread thread
2200 or not and thus memory leak might occur.
2202 Mon Mar 02 09:13:26 1998 David L. Levine <levine@cs.wustl.edu>
2204 * ace/config-sunos5.5-sunc++-4.x.h: replaced ACE_PAGE_SIZE with
2205 ACE_HAS_GETPAGESIZE, and added ACE_HAS_STL_MAP_CONFLICT.
2206 Thanks to J. Russell Noseworthy <rnosewor@objectsciences.com>
2207 for these recommendations.
2209 * ace/config-sunos5.6-sunc++-4.x.h: just #include
2210 config-sunos5.5-sunc++-4.x.h. There's no difference between
2211 the two at this point.
2213 * include/makeinclude/platform_sunos5_sunc++.GNU: added -R./ and
2214 -mt to LDFLAGS. Added -fast to LDFLAGS if "fast" flag is
2215 enabled. Thanks to J. Russell Noseworthy
2216 <rnosewor@objectsciences.com> for these recommendations.
2218 * include/makeinclude/platform_sunos5.6_sparc_sunc++.GNU: just
2219 include platform_sunos5_sunc++.GNU. There's no difference between
2220 the two at this point. There is one significant net change to
2221 the 5.6 platform: -s is no longer included in LDFLAGS.
2223 * ace/config-chorus.h: added ACE_LACKS_ACE_IOSTREAM with ghs, because
2224 its iostream doesn't have separate operators for signed/unsigned
2227 Sun Mar 1 13:54:02 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2229 * Makefile: Added cvs commands to automatically tag the CVS
2230 repository with version number 'ACE_9_9_99' tag and 'Current'
2233 Sun Mar 1 12:26:13 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
2235 * ace/Hash_Map_Manager.cpp (reset_i):
2236 * ace/Hash_Map_Manager.h:
2237 Added reset () method for the Hash_Map_Iterator.
2239 Sun Mar 01 10:59:27 1998 Irfan Pyarali <irfan@cs.wustl.edu>
2241 * ace/Asynch_IO.cpp (cancel): Changed CancelIO to CancelIo.
2243 * ace/Synch.h (ACE_Lock): Added a virtual destructor to ACE_Lock.
2245 Sun Mar 01 08:38:00 1998 David L. Levine <levine@cs.wustl.edu>
2247 * ace/OS.h: use the new ACE_DEFAULT_SYNCH_TYPE for the default
2248 mutex, etc., type, so that it can be set VxWorks. The ACE default
2249 type on VxWorks is SEM_Q_FIFO, the same as VxWorks' default.
2250 The ACE default can be easily overridden in config.h by
2251 defining ACE_DEFAULT_SYNCH_TYPE.
2253 * ace/OS.i (sema_init): on VxWorks, use the type argument for the
2254 sema type, instead of hard-coding to SEM_Q_FIFO.
2256 * ACE-INSTALL.html: updated Linux/alpha "as" patch.
2258 Sat Feb 28 12:20:57 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
2260 * ace/Message_Queue.cpp: Fixed the implementation of
2261 wait_not_{full,empty}_cond() so that they utilize the
2262 ACE_Time_Value it's passed. In addition, revised the
2263 implementation of peek_dequeue_head() so that it uses the new
2264 wait_not_empty_cond() implementation. Thanks to Tom Venturella
2265 <tventurell@mdc.com> for reporting this.
2267 Fri Feb 27 15:47:15 1998 David L. Levine <levine@cs.wustl.edu>
2269 * ACE-INSTALL.html: added very useful information from
2270 Chris Ryan <cryan@qualcomm.com> about build ACE with
2271 NT/Tornado for VxWorks.
2273 * ace/config-chorus.h: use ACE_NEEDS_READV/WRITEV with GHS as well
2276 * ace/Basic_Types.{h,i} (ACE_U_LongLong): added a bunch of arithmetic
2277 operators for Carlos :-) The operator *= is _very_ slow, until we
2278 come up with the right way to do it.
2280 * tests/Time_Value_Test.cpp (test_ace_u_longlong): added some tests
2281 of the new operators.
2283 Fri Feb 27 13:42:09 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
2285 * ace/ACE.cpp (recv_n): Removed the MSG_PEEK flag since it didn't
2286 seem to work correctly.
2288 Fri Feb 27 11:18:28 1998 Chris Cleeland <cleeland@lambada.cs.wustl.edu>
2290 * ace/Log_Msg.cpp: Added three new conversion operators: "%{"
2291 calls inc() to increase the trace_depth, "%}" calls dec() to
2292 decrease the trace_depth, and "%$" is used in place of "\n" to
2293 insert a newline followed by appropriate current indentation.
2295 Thu Feb 26 21:36:27 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
2297 * ACE version 4.4.31, released Thu Feb 26 21:36:27 1998.
2299 Thu Feb 26 16:48:53 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
2301 * ace/OS.h: Added new macros for ACE_FILE_STREAM and
2302 ACE_FILE_CONNECTOR to be consistent with the ACE_SOCK_* stuff,
2303 etc. Thanks to Ganesh Pai <gpai@voicetek.com> for reporting
2306 Thu Feb 26 11:14:21 1998 David L. Levine <levine@cs.wustl.edu>
2308 * ace/Parse_Node.cpp (ACE_Location_Node): reordered initializers
2309 to match declaration order.
2311 Thu Feb 26 02:42:57 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2313 * ace/Service_Config.cpp (load_static_svcs): Removed explicit
2314 constness cast from the allocation function.
2316 Wed Feb 25 23:08:44 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
2318 * tests/MT_Reactor_Timer_Test.cpp: Made this test compile on
2319 platforms that lack threads and also updated the programming
2320 style to be consistent with other parts of ACE.
2322 * tests/Priority_Task_Test.cpp: Made this test compile on
2323 platforms that lack threads.
2325 * ace/Svc_Conf.h: Fixed the prototype for
2326 ace_create_service_type() to reflect the elimination of "const
2329 * ace/Parse_Node: Eliminated more uses of "const void *" and
2330 changed them to plain ol' "void *".
2332 * ace/Service_Types.cpp (fini): Changed the "const void *" to be
2333 simply "void *" since it didn't seem to make any sense they way
2334 it was! Thanks to Stephen Coy <stevec@magna.com.au> for
2335 insisting on this...
2337 * ace/config-sunos5.*.h: Moved the ACE_HAS_REENTRANT_FUNCTIONS
2338 into the section of #defines that should be commented out if
2339 we're not building a multi-threaded library.
2341 * ace/Service_Config.cpp (open): Tightened up the comparison of
2342 the key with the ACE_DEFAULT_LOGGER_KEY to use string equality
2343 rather than pointer equality. Thanks to Stephen Coy
2344 <stevec@magna.com.au> for reporting this.
2346 Wed Feb 25 10:50:17 1998 David L. Levine <levine@cs.wustl.edu>
2348 * include/makeinclude/platform_osf1_4.0.GNU: added suppression of
2349 "no corresponding delete" warning, until that is fixed in libTAO.
2350 Added -lm to LIBS for MT_Cubit client.
2352 * include/makeinclude/platform_chorus_ghs.GNU: we can link now.
2354 * ACE-INSTALL.html: added information on Linux v. 2.0.x
2357 Tue Feb 24 15:07:50 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2359 * tests/test.{mdp,mak}: Added Env_Value_Test and OrdMultiSet_Test
2362 Removed all odbc libraries from all projects. We don't really
2363 need them to run ACE. Thanks to gonzo@ing.puc.cl (Gonzalo
2364 A. Diethelm) for pointing this out.
2366 Tue Feb 24 07:14:16 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
2368 * ace/Asynch_Acceptor.cpp (handle_accept): Update the
2369 event_handler's proactor pointer once it is accepted. Thanks to
2370 Jason Katz <Jason@email.rts-inc.com> for reporting this.
2372 * apps/Gateway/Gateway/Event.h (class Subscription): Moved the
2373 htonl of total_consumers_ to *after* the loop that uses it!
2374 Thanks to Jorn Jensen <jornj@funcom.com> for reporting this.
2376 Tue Feb 24 05:08:31 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2378 * ace/Asynch_Acceptor.i: Filled in some missing keywords.
2380 * ace/Log_Record.h (ACE_Log_Record): Hacked it to work for CE.
2381 Undefined the ostream version of print (). I'm planning to drop
2382 iostream support on WinCE. (Then, I don't have to write my
2385 * ace/ACE.{h,i} (timestamp, format_hexdump): Removed UNICODE_ONLY version.
2386 Changed to use ASYS_TCHAR to differentiate this condition.
2388 * ace/OS.h (ACE_OS): Undefined shm_{open,unlink} if
2389 ACE_HAS_MOSTLY_UNICODE_APIS.
2391 * ace/OS.cpp (ctime,ctime_r): Added CE implementation.
2393 * ace/streams.h: Added /**/ between #include and <..> in several
2396 * ace/*: Changed ACE_HAS_UNICODE_ONLY to
2397 ACE_HAS_MOSTLY_UNICODE_APIS.
2399 Mon Feb 23 19:41:53 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
2401 * ace/Asynch_Acceptor.i (bytes_to_read): Added an inline accessor
2402 for the bytes_to_read_ field. Thanks to Jason Katz
2403 <Jason@email.rts-inc.com> for suggesting this.
2405 Mon Feb 23 12:26:06 1998 David L. Levine <levine@cs.wustl.edu>
2407 * ace/OS.cpp (sched_params): removed ACE_ADAPT_RETVAL from PTHREADS
2408 ::sched_setscheduler () call, because it returns the old scheduling
2409 policy, not 0, on success.
2411 * ace/config-osf1-4.0.h: removed ACE_HAS_EXCEPTIONS because that is
2412 enabled by platform_osf1_4.0{,_rcc}.GNU.
2414 * include/makeinclude/platform_osf1_4.0.GNU: added suppression of
2415 warning 835 because /usr/include/cxx/memory, line 505, triggers
2416 a warning about an unreferenced parameter.
2418 * include/makeinclude/platform_osf1_4.0{,_rcc}.GNU: added
2419 "exceptions = 1" so that ACE exception handling can be
2420 disabled on the make command line.
2422 Mon Feb 23 11:27:10 1998 David L. Levine <levine@cs.wustl.edu>
2424 * ACE version 4.4.30, released Mon Feb 23 11:27:10 1998.
2426 Mon Feb 23 11:11:18 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2428 * ace/Process.h: Define ACE_Process_Options::NO_EXEC as 0 on
2429 Win32. It has no effect on NT anyway.
2431 Sun Feb 22 21:37:43 1998 David L. Levine <levine@cs.wustl.edu>
2433 * include/makeinclude/platform_vxworks5.x_g++.GNU: updated
2434 comments to reflect that WIND_BASE and WIND_HOST_TYPE
2435 environment variables must be set. Thanks to Nanbor for
2436 reporting that. Also, set CROSS-COMPILE flag.
2438 * include/makeinclude/rules.lib.GNU: updated VOBJS so that it
2439 will build the fancy new TAO/orbsvcs hierarchy.
2441 * include/makeinclude/platform_{chorus*,lynxos,vxworks5.x_g*}.GNU:
2442 set CROSS-COMPILE flag. It's only used by TAO at this point.
2444 * ace/Svc_Conf_y.cpp: updated based on new Svc_Conf.y.
2446 * etc/Svc_Conf_y.cpp.diff: regenerated for latest Svc_Conf_y.cpp.
2448 * ACE-INSTALL.html,include/makeinclude/platform_lynxos.GNU: moved
2449 LynxOS installation info from its platform file to ACE-INSTALL.html.
2451 Sun Feb 22 21:26:19 1998 James CE Johnson <jcej@chiroptera.tragus.org>
2453 * tests/IOStream_Test.cpp (server): break out of while loop if
2454 read from client_handler fails.
2456 Sun Feb 22 13:06:20 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
2458 * ace/Asynch_Acceptor.h (class ACE_Asynch_Acceptor): Made the
2459 accept method virtual so that users can override it and do
2460 things like enforce limits on the maximum number of simultaneous
2461 connections. Thanks to Jason Katz <Jason@email.rts-inc.com> for
2464 Sun Feb 22 13:22:30 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2466 * ace/OS.h: Moved definition of ACE_MAP_{PRIVATE,SHARED,FIXED}
2467 down to where every platform can see.
2469 Sun Feb 22 13:06:20 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
2471 * ace/Svc_Conf.y: Fixed a couple of places where we were
2472 potentially dereferencing NULL pointers when services failed to
2473 load. Thanks to Eric C. Newton <ecn@smart.net> for reporting
2476 Sat Feb 21 12:44:51 1998 David L. Levine <levine@cs.wustl.edu>
2478 * ACE version 4.4.29, released Sat Feb 21 12:44:51 1998.
2480 Sat Feb 21 11:53:45 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2482 * ace/Hash_Map_Manager.cpp (close_i): Remember to reset the
2483 current size to 0 after deallocating all entries in the map.
2484 Thanks to Alex for noticing this.
2486 Fri Feb 20 06:36:04 1998 David L. Levine <levine@cs.wustl.edu>
2488 * ace/Timer_Queue_Adapters (activate): added thread_names argument.
2490 * ace/OS.{h,i} (cond_timedwait): fixed on LynxOS (DCE_DRAFT4_THREADS),
2491 where pthread_cond_timedwait () expects a relative instead of
2494 * tests/Buffer_Stream_Test (Consumer::svc): removed thr_yield for
2495 LynxOS, now that ACE_OS::cond_timedwait () is fixed.
2497 * ace/OS.i (mmap): use ACE_DEFAULT_FILE_PERMS on LynxOS for the
2498 shared memory object.
2500 * ace/Mem_Map.* (unmap): on LynxOS, write back the shared object to
2501 the plain file, if the mmap () protection included PROT_WRITE.
2503 * ace/README: added ACE_HAS_BOOL, which can be used by TAO.
2505 Thu Feb 19 17:59:53 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2507 * apps/JAWS/clients/Caching/*: Reworked and cleaned up these files a
2508 bit. Added a test_URL.cpp file. Notice that these file will
2509 finally be moved to other directory.
2511 Thu Feb 19 15:52:50 1998 Stanley D Leeson <STANLEY.D.LEESON@cdev.com>
2513 * ace/Task.{h,cpp} (activate): added optional thread_names array
2516 Thu Feb 19 12:55:00 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2518 * ace/OS.h: Added /**/ between #include and '<', Thanks to
2519 gonzo@ing.puc.cl (Gonzalo A. Diethelm) for providing the
2522 Thu Feb 19 11:18:08 1998 David L. Levine <levine@cs.wustl.edu>
2524 * ace/OS.h: added ACE_MAP_{PRIVATE,SHARED,FIXED}, and
2525 ACE_OS::shm_{open,unlink}.
2527 * ace/OS.i: added ACE_OS::shm_{open,unlink}, and mmap support on
2530 * ace/Mem_Map.*,Shared_Memory_MM.h,Filecache.cpp: default share
2531 value to ACE_MAP_PRIVATE instead of MAP_PRIVATE, to allow easy
2532 overriding in config files.
2534 * ace/config-lynxos.h: added ACE_HAS_SHM_OPEN, and map
2535 ACE_MAP_PRIVATE to ACE_MAP_SHARED because MAP_PRIVATE is
2536 not supported on LynxOS 2.5.0.
2538 * tests/Mem_Map_Test.cpp: replace file_size with line_length because
2539 that's more accurate.
2541 * tests/SOCK_Connector_Test.cpp: use ACE_DEFAULT_SERVER_HOST on
2542 LynxOS, and removed #include of sys/utsname.h because it's in OS.h.
2544 * include/makeinclude/platform_lynxos.GNU: added LYNXOS so that
2545 other Makefiles can easily know if where building for LynxOS.
2547 * ace/ACE.cpp (recv_n): commented out the MSG_PEEK flag check because
2548 it caused IOStream_Test to not terminate.
2550 * ace/Env_Value_T.{h,i}: moved ACE_Convert specializations from .i
2551 file to .h file, because the resulted in multiple instantiations
2552 with ACE_INLINE disabled, and missing specializations without
2553 ACE_HAS_TEMPLATES_REQUIRE_SOURCE and inlining enabled.
2555 * tests/TSS_Test.cpp: weakened to work with LynxOS. It has a very
2556 limited number of keys, maybe 16, and can't free them. And, the
2557 test always core dumps if we try to request more keys than it has
2560 * tests/run_tests.sh: disabled some tests on LynxOS.
2562 Thu Feb 19 10:41:05 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
2564 * ace/SOCK.cpp (open): It appears that we don't need to do
2565 SO_REUSEADDR if protocol_family != PF_UNIX. Thanks to Chuck
2566 Gehr <gehr@sweng.stortek.com> for reporting this.
2568 Wed Feb 18 22:34:40 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2570 * examples/Reactor/Dgram/Dgram.dsw:
2571 * examples/Reactor/Dgram/Dgram.dsp:
2572 * examples/Reactor/Dgram/CODgram.dsp: Newly added files for NT.
2574 * examples/Reactor/Dgram/Dgram.cpp:
2575 * examples/Reactor/Dgram/CODgram.cpp: Made them runnable on NT.
2577 * ace/Process.h (ACE_Process_Options): Changed the definition of
2578 ACE_Process_Options::NO_EXEC to 0 for Win32 because it doesn't
2579 mean anything on NT (you must exec a new program on NT, no fork
2580 syntax available.) With this, we can simulate the fork effect
2581 more or less (still not portable thou. See
2582 examples/Reactor/Dgram/ for some examples.)
2584 Wed Feb 18 16:07:14 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
2586 * netsvcs/lib/Log_Message_Receiver.cpp (log_output): There was a
2587 problem where "outputfile" can be NULL, which causes problems
2588 when it is dereferenced. Thanks to Stephen Coy
2589 <stevec@magna.com.au> for reporting this.
2591 * ace/ACE.cpp (ldfind): modified the code to allow it to
2592 consistently return a status indicating whether or not a
2593 potential shared library file was found. Thanks to Patrick
2594 J. McNerthney <pat@thememedia.com> for reporting this.
2596 Wed Feb 18 15:30:48 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
2598 * include/makeinclude/rules.lib.GNU:
2599 Now we can create libraries with some files in
2600 subdirectories. Though the Makefile still needs to set VPATH.
2602 Wed Feb 18 12:22:48 1998 David L. Levine <levine@cs.wustl.edu>
2604 * tests/Buffer_Stream_Test.cpp (Consumer::svc): added a
2605 thr_yield so that the test magically works on LynxOS.
2606 ACE_OS::cond_timedwait is busted on LynxOS, we're investigating it.
2608 Wed Feb 18 11:53:00 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
2611 Added netsvcs to auto_compile list.
2613 Tue Feb 17 18:27:15 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
2615 * ACE version 4.4.28, released Tue Feb 17 18:27:15 1998.
2617 Tue Feb 17 17:59:32 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2619 * examples/Reactor/Multicast/Multicast.dsw:
2620 * examples/Reactor/Multicast/client.dsp:
2621 * examples/reactor/multicast/server.dsp: New project files.
2623 Tue Feb 17 15:53:41 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
2625 * ace/ACE.cpp (recv_n): Added a check to drop out if the MSG_PEEK
2626 flag is set! Thanks to Keith Brown <kalbrown@ix.netcom.com> for
2629 Tue Feb 17 12:56:24 1998 Chris Cleeland <cleeland@cs.wustl.edu>
2631 * include/makeinclude/wrapper_macros.GNU: Broke the "purify"
2632 command out of PRELINK into its own variable: PURELINK. This was
2633 done to quiet purify when building shared libraries. It wasn't
2634 possible simply to remove the PRELINK reference from SOLINK.cc
2635 because PRELINK is also used for specifying quantify.
2637 Also added two new variables: PURE_CACHE_DIR and
2638 PURE_CACHE_BASE_DIR. PURE_CACHE_DIR is the value of the
2639 purify/quantify '-cache-dir=' option, and PURE_CACHE_BASE_DIR is
2640 used as the base directory to build a user/compiler-specific cache
2641 directory. In general, you probably want to use them like this:
2642 "make PURE_CACHE_BASE_DIR=~/mypurecache", which will end up
2643 creating the directory ~/mypurecache-<username>-<compiler>.
2645 Tue Feb 17 09:23:05 1998 David L. Levine <levine@cs.wustl.edu>
2647 * ace/OS.h: there were two SIGCHLD #defines, if it was not
2648 already #defined. I changed the second one to be SIGCLD instead.
2650 * ace/config-linux-common.h: removed ACE_LACKS_TCP_H on alpha because
2651 it's not necessary with glibc-2.0.6.
2653 Tue Feb 17 08:41:06 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
2655 * ace/OS.h (ACE_PROPER_SINGLETON_INSTANTIATION): Changed spelling
2656 of SINGLETONE to SINGLETON. Thanks to Mark Maris
2657 <maris@scgp.com> for reporting this.
2659 Tue Feb 17 07:41:32 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
2661 * ACE version 4.4.27, released Tue Feb 17 07:41:32 1998.
2663 Tue Feb 17 03:32:30 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2665 * ace/ACE.*: Changes for Windows CE just keeps going and going and
2666 going... All following functions are member functions of class
2669 This member funcion has wchar version _only_ when
2670 ACE_HAS_UNICODE_ONLY is defined:
2674 I've added wchar version of the following member functions:
2683 These functions are not defined on CE because they make no sense
2689 There is no stdin defined on CE. Before we implement a stdin
2690 for CE, these functions don't make any sense.
2693 register_stdin_handler
2694 remove_stdin_handler
2696 Changing these functions to UNICODE will need to change the
2697 svc.conf parser. Therefore, I'll leave them to a later point.
2702 * ace/README: Added a new directive ACE_HAS_UNICODE_ONLY which
2703 indicates that most APIs must use wchar instead of char. (Note
2704 that on WinCE, only WinSock functions use the traditional char
2705 interfaces. Most other functions only support wchar
2706 interfaces, include str* functions.)
2708 Mon Feb 16 14:57:26 1998 David L. Levine <levine@cs.wustl.edu>
2710 * tests/Priority_Task_Test.cpp (open): fallback to minimum
2711 ACE_SCHED_OTHER priority instead of 0.
2713 * tests/Priority_Task_Test.cpp (open): suppress warning message
2714 about retrying task activation with fallback priority unless -d
2715 option is specified.
2717 * ace/High_Res_Timer.cpp: initialize global_scale_factor_ to 1 if
2718 ACE_HAS_{,AIX_}HI_RES_TIMER and ACE_WIN32 are not defined.
2719 Thanks to Robert Olson <olson@mcs.anl.gov> for reporting a
2720 problem with bad hires time values on Irix.
2722 Mon Feb 16 10:51:28 1998 Oliver Kellogg <Oliver.Kellogg@vs.dasa.de>
2724 * include/makeinclude/platform_osf1_4.0_rcc.GNU: added this
2725 new platform file for Rational rcc (2.4.1) on DU 4.0.
2727 * ace/config-osf1-4.0.h: added ACE_LACKS_SIGNED_CHAR to
2730 * ace/OS.h: added __rational__ to list of users of long
2733 * ace/OS.i (gethostbyname_r): added some ACE_UNUSED_ARGs for
2736 Sun Feb 15 16:32:52 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2738 * netsvcs/clients/Naming/Client/svc.conf: Removed "-s" flag, which
2739 set the database name for local namespce. This was causing
2740 grief if users forgot to set this environment variable. Thanks
2741 to Johannes Gutleber <Johannes.Gutleber@cern.ch> for reporting
2744 Sun Feb 15 15:55:47 1998 Darrell Brunsch <brunsch@cs.wustl.edu>
2746 * ace/Timer_Hash_T.{cpp,h}: Timer Hash wasn't keeping the earliest
2747 node pointer up to date with cancels.
2749 Sat Feb 14 21:12:52 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
2751 * ace/Synch_T.h (class ACE_Guard): this->acquire() already sets
2752 the owner, so we don't need to do it in the constructor.
2754 Sat Feb 14 20:57:59 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2756 * netsvcs/lib/Log_Message_Receiver.{h,cpp} (log_output): Added this to
2757 all receiver classes. It allows writing messages to a user
2760 * netsvcs/lib/Server_Logging_Handler_T.cpp
2761 (handle_logging_record): * netsvcs/lib/Client_Logging_Handler.cpp
2762 (send): Use the above change to avoid missing data on NT. Thanks
2763 to Greg White <gwhite@northlink.com> for providing the fix.
2765 Sat Feb 14 18:34:37 1998 Darrell Brunsch <brunsch@cs.wustl.edu>
2767 * ace/Timer_{Wheel,Hash}_T.cpp: Fixed a bug with earliest time
2768 pointers not being set correctly. Thanks to Mark Evans
2769 <mark.evans@tandem.com> for reporting this.
2771 * tests/Timer_Queue_Test.cpp: Added a quick test to check to
2772 make sure the earliest time is reported correctly.
2774 Sat Feb 14 18:28:19 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
2776 * ace/SOCK_Dgram_Mcast.cpp (subscribe): Fixed a problem with the
2777 ACE_SOCK_Dgram_Mcast subscription method. Originally, each time
2778 the ACE_SOCK_Dgram_Mcast subscribe() method was invoked, it
2779 created a new socket, did appropriate setsockopt calls
2780 (e.g. SO_USEPORT), did a bind() to that socket, and then did the
2781 setsockopt call that actually joins the mcast group. The
2782 problem with this was that is wasn't possible to a single socket
2783 to subscribe to more than one multicast group. Multiple calls
2784 to ACE_SOCK_Dgram_Mcast.subscribe() didn't work because the new
2785 socket descriptor that was issued didn't listen to the old
2786 multicast group(s). The fix was to change the subscribe()
2787 method to only create, set up, and bind the socket if
2788 get_handle() == ACE_INVALID_HANDLE. Thanks to Dave Meyer
2789 <dmeyer@std.saic.com> for reporting this.
2791 Sat Feb 14 03:29:50 1998 Sergio Flores <sergio@tango.cs.wustl.edu>
2793 * ace/ACE.cpp (set_handle_limit): Fixed a couple of bugs
2794 setting the maximum number of file descriptors. If we use
2795 setrlimit, we should first get the hard limit before calling
2796 it, or we get an EINVAL for trying to set a hard limit of 0
2797 and a soft limit greater than that. Also, for -1 the call
2798 was not setting the limit to the maximum allowable.
2800 * ace/OS.h (ACE_MAX_DGRAM_SIZE): Moved the #define
2801 ACE_MAX_DGRAM_SIZE from the PSOS specific part of OS.h.
2803 Fri Feb 13 19:25:55 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
2805 * ace/Log_Record.cpp (ACE_Log_Record): Changed the "set" method
2806 for priority() so that it doesn't convert the priority into the
2807 base two logarithm of the parameter. Instead, this is handled
2808 by the "get" method of priority(). Thanks to Eric C. Newton
2809 <ecn@smart.net> for reporting this.
2811 * ace/OS.h: Added a new #define called ACE_MAX_DGRAM_SIZE, which
2812 is set to 8k by default. Naturally, this can be overwritten in
2813 platform-specific config.h files.
2815 Fri Feb 13 10:40:36 1998 David L. Levine <levine@cs.wustl.edu>
2817 * ACE version 4.4.26, released Fri Feb 13 10:40:36 1998.
2819 Thu Feb 12 14:33:12 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2821 * ace/OS.i (mktemp): I missed this one in Win32 section.
2823 Fri Feb 13 09:04:13 1998 Oliver Kellogg <Oliver.Kellogg@vs.dasa.de>
2825 * ace/config-osf1-4.0.h: added Rational RCC support.
2827 Wed Feb 11 09:50:27 1998 Steve Huston <shuston@riverace.com>
2829 * ace/config-dgux-4.x-ghs.h
2830 * include/makeinclude/platform_dgux4_ghs.GNU: Configs for ACE on
2831 DG/UX 4 using Green Hills Multi C++ compiler, and draft 10 pthreads.
2834 * ace/OS.h: New macro ACE_NEEDS_SCHED_H for platforms which needs to
2835 #include <sched.h> to get complete defs for thread scheduling.
2837 * ace/OS.cpp: Added a DG/UX-specific pthread_wait function for use with
2838 draft 10 pthreads on DG/UX.
2840 Wed Feb 11 09:32:10 1998 David L. Levine <levine@cs.wustl.edu>
2842 * ACE-INSTALL.html: updated DU CXX and Linux info.
2844 * ace/Makefile: moved INSTALL= to before include of rules.local.GNU,
2845 so that the (unused) install command doesn't show up with make -n.
2847 * include/makeinclude/platform_chorus_ghs.GNU: put posix -I before
2850 * ace/OS.h: removed include of stdfileio.h on ghs/Chorus. It's not
2851 necessary with the above change to platform_chorus_ghs.GNU.
2853 Wed Feb 11 09:24:51 1998 David L. Levine <levine@cs.wustl.edu>
2855 * ACE version 4.4.25, released Wed Feb 11 09:24:51 1998.
2857 Tue Feb 10 14:58:00 1998 Chris Gill <cdgill@cs.wustl.edu>
2859 * ace/Containers.cpp : removed unreachable break;
2861 Tue Feb 10 09:34:27 1998 David L. Levine <levine@cs.wustl.edu>
2863 * ace/INET_Addr.cpp (get_host_name): moved declaration of local
2864 "hentry" so that it's not seen on Chorus.
2866 * ace/OS.i (getprotoby{name,number}{,_r}): not supported on Chorus.
2868 * ace/Makefile: build Select_Reactor.o without -g on ghs/Chorus,
2869 because it causes GreenHills 1.8.8 to core dump.
2871 * ace/config-chorus.h: adjusted to work with GreenHills 1.8.8.
2873 * include/makeinclude/platform_chorus_ghs.GNU: use Gnu ar instead
2874 of ax, because we don't have a license for ax.
2876 * Timer_Queue_Adapters.{h,i} (activate): added stack and stack_size
2877 parameters to match declaration in ACE_Task_Base.
2879 * include/platform_linux{,_lxpthread}.GNU: removed
2880 -fno-strict-prototypes from CFLAGS because it is no longer needed.
2882 * include/makeinclude/platform_sunos5_g++.GNU: added -lposix4, to
2883 be consistent with the Sun C++ platform file. Some of the TAO
2886 Mon Feb 09 18:10:37 1998 Chris Gill <cdgill@cs.wustl.edu>
2888 * ace/Containers.{cpp,h} : made next () a const member function in
2889 ACE_Ordered_MultiSet_Iterator<T>
2891 Mon Feb 09 14:52:25 1998 David L. Levine <levine@cs.wustl.edu>
2893 * include/makeinclude/platform_chorus_ghs.GNU: added include path.
2895 * ace/config-chorus.h: with GreenHills, removed
2896 ACE_HAS_WCHAR_TYPEDEFS_CHAR and ACE_LACKS_UNISTD_H. We'll
2897 see if --multibyte_chars --wchar_t_keyword work.
2899 * ace/OS.h: added #include <stdfileio.h> with GreenHills/Chorus.
2901 * netsvcs/clients/Naming/Client/Client_Test.cpp (handle_input):
2902 get input from stdin, not ACE_STDIN. Thanks to Jack Erickson
2903 <JErickson@exchange.ml.com> for reporting this.
2905 Sun Feb 8 15:33:33 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2907 * include/makeinclude/wrapper_macros.GNU:
2908 * include/makeinclude/rules.lib.GNU:
2909 * include/makeinclude/rules.local.GNU: Rename
2910 ACE_LDSO_Major_Minor_Version_Number to ACE_LDSO_Version_Number.
2912 * include/makeinclude/rules.local.GNU: Put back checking of
2913 current directory into library installation rules but with an
2914 extra check for null ACE_LDSO_Version_Number.
2916 Sun Feb 08 12:06:30 1998 David L. Levine <levine@cs.wustl.edu>
2918 * ACE-INSTALL.html: added Scott Snyder's egcs 1.0.1 patch, which
2919 allows netsvcs/lib/Server_Logging_Handler.cpp to build on
2922 * include/makeinclude/wrapper_macros.GNU: protected ACE_ROOT...
2923 additions to INCLDIRS and LDFLAGS so they're only added once.
2924 Thanks to James CE Johnson <jcej@lads.com> for this addition.
2926 * ace/config-linux-common.h: added ACE_HAS_TERM_IOCTLS. Thanks
2927 to James CE Johnson <jcej@lads.com> for this addition.
2929 * examples/Naming/test_multiple_contexts.cpp,test_non_existent.cpp,
2931 replaced uses of cout with ACE_DEBUG.
2933 * examples/performance-tests/Misc/basic_perf.cpp,
2934 context_switch_time.cpp,preempt.cpp:
2935 divide ACE_hrtime_t by ACE_UINT32, to prevent ambiguity with
2936 ACE_U_LongLong operator / overloading.
2938 Sun Feb 8 01:45:59 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2940 * include/makeinclude/wrapper_macros.GNU (versioned_so): Added
2941 a new directive to allow automatic installing of so libraries
2942 with version number. This flag is default to 0. Put this line,
2946 in your platform_*.GNU file to enable this feature.
2948 (ACE_LDSO_Major_Minor_Version_Number): Define the version number
2949 to be appended to versioned so libraries (Notice: it include a
2950 dot at the beginning.) If versioned_so == 0, this macro expand
2953 * include/makeinclude/rules.lib.GNU (INSTALL):
2954 * include/makeinclude/rules.local.GNU (INSTALL rules): Modified
2955 installation rules to allow installing so libraries with version
2958 * include/makeinclude/platform_netbsd.GNU:
2959 * include/makeinclude/platform_freebsd[_pthread].GNU: Enabled
2960 new versioned_so feature.
2962 Sat Feb 07 05:51:15 1998 Nanbor Wang <nanbor@cs.wustl.edu>
2964 * ace/Synch_T.cpp (ACE_TSS): Changed to use MessageBox on WinCE.
2965 Because there's no console in WinCE, we can't output warning
2968 * ace/README (ACE_HAS_UNICODE_ONLY): This new directive is used to
2969 removed some char version function definitions because it
2970 doesn't make too much sense to support these function when most,
2971 if not all, strings in the system are wchar strings.
2973 * ace/OS.{h,i} (ACE_DEFAULT_LOGGER_KEY): Added wchar definition if
2974 we are using UNICODE.
2975 (ACE_SHE_{TRY,FINALLY,EXCEPT}): WinCE doesn't support Win32
2976 structual exception, so these macros should be defined as on
2978 (mktime): Removed this function from WinCE. Don't even think
2980 (ACE_HAS_UNICODE_ONLY): If this directive is defined, the char
2981 version of the following functions are not defined in ACE_OS:
2991 Some of them has wchar version.
2993 (chdir,mkdir,getcwd): Added wchar version. Unfortunately, getcwd
2994 still doesn't work for WinCE.
2996 * ace/OS.cpp (mktemp): Added wchar version of this function.
2997 Other changes added. Please refer to the entry above. If
2998 platform/compiler supports this function, then both char and
2999 wchar versions are defined as inline functions in OS.i.
3000 (socket_{init,fini}): Removed leading :: from WSAStartup and
3001 WSACleanup because these two are implemented as macros on
3002 WinCE. Changed to use MessageBox instead of cerr for outputing
3005 * ace/config-win32-common.h: Don't defined ACE_HAD_P_READ_WRITE on
3008 * ace/config-WinCE.h: Defined directive ACE_HAS_UNICODE_ONLY.
3010 * ace/ace_dll.dsp: Adjusted CE project settings.
3012 Fri Feb 06 15:28:11 1998 David L. Levine <levine@cs.wustl.edu>
3014 * ace/config-sunos5.5-sunc++-4.x.h: disable explicit template
3015 instantiations with CC 4.2, because it still does implicit
3016 instantiation. We need to figure out how to disable that.
3017 Then, we can enable -instances=global to get the real
3018 benefits of explicit template instantiation with CC.
3020 * tests/Barrier_Test.cpp: updated a comment re. the VxWorks
3023 Fri Feb 06 10:42:22 1998 David L. Levine <levine@cs.wustl.edu>
3025 * ACE version 4.4.24, released Fri Feb 06 10:42:22 1998.
3027 Fri Feb 06 10:30:00 1998 Chris Gill <cdgill@cs.wustl.edu>
3029 * ace/Containers.cpp: fixed error in
3030 ACE_Doubly_Linked_List_Iterator<T>::first (void);
3032 Fri Feb 06 08:27:32 1998 Chris Gill <cdgill@cs.wustl.edu>
3034 * ace/Containers.{cpp,h} : added "first" methods to all container
3035 iterators: each positions the iterator at the first element
3036 in the container and returns 1, or if the container is empty
3037 positions the iterator at a well defined "null" position for
3038 that container and returns 0:
3040 template <class T> int
3041 ACE_Unbounded_Set_Iterator<T>::first (void);
3043 template <class T> int
3044 ACE_Unbounded_Queue_Iterator<T>::first (void);
3046 template <class T> int
3047 ACE_Unbounded_Stack_Iterator<T>::first (void);
3049 template <class T> int
3050 ACE_Bounded_Set_Iterator<T>::first (void);
3052 template <class T> int
3053 ACE_Fixed_Set_Iterator<T>::first (void);
3055 template <class T> int
3056 ACE_Doubly_Linked_List_Iterator<T>::first (void);
3058 Wed Feb 04 22:23:24 1998 David L. Levine <levine@cs.wustl.edu>
3060 * include/makeinclude/platform_linux*.GNU: commented out or
3061 removed SUPPRESS_DASH_G, because it's not needed with hacked
3064 * ACE-INSTALL.html: added some comments on Linux/RedHat 5.0,
3065 for both Intel and Alpha. Thanks to James CE Johnson
3066 <jjohnson@lads.com>, Torbjorn Lindgren <tl@funcom.com>,
3067 and Oleg Krivosheev <kriol@fnal.gov> for this information.
3069 * ace/config-linux-common.h: replaced #define of ACE_HAS_EXCEPTIONS
3070 with a compile time check for egcs, which supports exceptions.
3071 Exceptions can now be enabled on the make command line. Also,
3072 moved some comments on Linux system configuration up to
3075 * ace/config-linux-common.h,config-g++-common.h: moved
3076 ACE_HAS_EXCEPTIONS #define from config-linux-common.h to
3077 config-g++-common.h.
3079 * include/makeinclude/wrapper_macros.GNU: disabled exception handling,
3080 the default, on g++ >= 2.8.0. On both Linux/alpha and
3081 Solaris 2.5.1/sparc, exception handling increased the size of
3082 libACE.so by about 25 percent. Exception handling can easily
3083 be enabled on the make command line or by editing your
3084 include/makeinclude/platform_macros.GNU.
3086 * netsvcs/lib/TS_Server_Handler.cpp: instantiate
3087 ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> if
3088 ACE_HAS_STREAM_PIPES, not if ACE_HAS_TLI. Thanks to Oliver
3089 Kellogg <Oliver.Kellogg@vs.dasa.de> for reporting this problem.
3091 * Makefile: made ACE-INSTALL a dependency of release and
3092 cleanrelease so that it is only updated when necessary.
3094 * ace/OS.{h,i},README (gets): wrapped with !ACE_LACKS_GETS.
3096 * ace/config-g++-common.h: added ACE_LACKS_GETS for egcs. It
3097 supports ::gets (), but warns about it at link time on Linux.
3098 The Solaris gets () man pages recommends using fgets () instead.
3100 * netsvcs/clients/Naming/Client/Client_Test.cpp: replaced use of
3101 ACE_OS::gets () with ACE_OS::fgets ().
3103 Wed Feb 04 11:07:46 1998 Chris Gill <cdgill@cs.wustl.edu>
3105 * ace/Containers.cpp : fixed my "fix" to new_position pointer in
3106 ACE_Ordered_MultiSet<T>::find_from () - now checks the pointer
3107 before assigning something to it.
3109 Tue Feb 03 15:11:00 1998 Chris Gill <cdgill@cs.wustl.edu>
3111 * ace/Containers.cpp : fixed order of member initialization list
3112 in ACE_DNode ctor, added update of new_position pointer in
3113 ACE_Ordered_MultiSet<T>::find_from ()
3115 Mon Feb 02 21:26:30 1998 David L. Levine <levine@cs.wustl.edu>
3117 * tests/Map_Manager_Test.cpp (test_map_manager): print out
3118 item.int_id_ instead of local i so that item gets used (CXX
3119 warned that it wasn't).
3121 * include/makeinclude/platform_osf1_4.0.GNU: added suppression of
3122 warning 610, nonoverriding_function_decl.
3124 * ace/config-chorus.h,config-freebsd*.h,,config-hpux-10.x-g++.h,
3125 config-irix{5.3,6.x}-g++.h,config-osf1-4.0.h,config-m88k.h,
3126 config-netbsd.h,config-psosim-g++.h,config-sco-4.2-nothread.h,
3127 config-sco-5.0.0-mit-pthread.h,config-sunos4-g++.h,
3128 config-sunos5.4-g++.h,config-unixware-2.*.h:
3129 migrated to config-g++-common.h.
3131 * ace/config-sunos5.5-egcs*.h: removed. config-sunos5.5-g++.h
3132 now supports egcs, via config-g++-common.h.
3134 * ace/config-sco-5.0.0*.h: added RCS keyword string.
3136 * include/makeinclude/wrapper_macros.GNU: support "exceptions"
3137 make flag on all platform. If enabled, it adds
3138 -DACE_HAS_EXCEPTIONS to CCFLAGS. Not all platforms support
3139 exception handling, of course, and that is noted in the
3140 description of the "exceptions" make flag.
3142 * include/makeinclude/platform_sunos5_sunc++.GNU,
3143 platform_sunos5.6_sparc_sunc++_4.2.GNU:
3144 removed -DACE_HAS_EXCEPTIONS, because it's now done in
3147 * examples/Reactor/Misc/test_event_handler_t.cpp: renamed
3148 ACE_Sig_Handler to ACE_Test_Sig_Handler to avoid collision
3149 with ACE_Sig_Handler in ACE library.
3151 * tests/Env_Value_Test.cpp (main): print out signed instead of
3154 Mon Feb 02 14:40:00 1998 Chris Gill <cdgill@cs.wustl.edu>
3156 * tests/OrdMultiSet_Test.cpp: added explicit template instantiation
3159 * tests/OrdMultiSet_Test.dsp: new MSVC++ project for the test
3161 * tests/tests.dsw: added OrdMultiSet_Test.dsp project to workspace
3163 * tests/run_tests.{bat,sh,psosim,vxworks} : added OrdMultiSet_Test
3165 * tests/Makefile : added OrdMultiSet_Test
3167 Mon Feb 02 02:42:30 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3169 * ace/OS.h (ACE_NOTSUP_RETURN): Moved its definition to the end of
3170 this file where __TEXT has already been defined. WinCE needs to
3173 (struct utsname): Moved this definition after all datatypes are
3174 filled in. Reverted my previous changed on it.
3176 Win32 only: Added wchar version of ACE_OS::{perror,fprintf,
3179 Windows CE only: Undefined some char version function in class
3180 ACE_OS. They are of no use on CE anyway.
3182 * ace/OS.i (fdopen): Added wchar version of ACE_OS::fdopen, it is
3183 only available on Win32.
3185 Windows CE only: Added implementation for c-styled file
3186 functions. Type FILE * is mapped to Win32 HANLDE under the hood
3187 and Win32 API's are used to emulate these functions.
3189 * ace/OS.cpp: Removed some char version functions and added some
3192 Sun Feb 01 15:12:49 1998 Chris Gill <cdgill@cs.wustl.edu>
3194 * tests/OrdMultiSet_Test.cpp: added an ACE test for the
3195 ACE_Ordered_MultiSet and ACE_Ordered_MultiSet_Iterator
3198 * ace/Containers.i (ACE_Ordered_MultiSet<T>::is_empty ()):
3199 changed to return 1 rather than cause a SEGV when the
3200 container is in fact empty (the above test discovered the bug).
3202 1998-02-01 Nanbor Wang <nanbor@fennec.wolfpack.cs.wustl.edu>
3204 * ace/OS.h (struct utsname): Separated WCE's definition from
3205 ACE_LACKS_UTSNAME_T bacause VxWorks doesn't have TCHAR type.
3207 Sun Feb 01 12:09:11 1998 David L. Levine <levine@cs.wustl.edu>
3209 * ace/Containers.cpp (ACE_Ordered_MultiSet::insert and find):
3210 expanded ITERATOR type of second argument, because g++ couldn't
3211 deal with it. It can in the class declaration in Containers.h,
3212 so I didn't change that.
3214 * ace/config-sunos5.5-g++.h,config-lynxos.h,config-vxworks5.x.h:
3215 migrated to config-g++-common.h.
3217 * tests/run_tests.vxworks: disabled Message_Queue_Test because
3218 it sometimes page faults or hangs the target.
3220 Fri Jan 30 15:35:30 1998 Chris Gill <cdgill@cs.wustl.edu>
3222 * ace/Containers.{cpp,h,i} : added class templates
3223 ACE_Ordered_MultiSet and ACE_Ordered_MultiSet_Iterator
3224 which respectively implement abstractions for containment
3225 of and iteration over an ordered set that allows multiple
3226 identical instances of a given item.
3228 Fri Jan 30 02:42:30 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3230 * ace/OS.cpp (uname): Made it comform with Unicode.
3232 * ace/OS.h (struct utsname): Changed the internal string type to
3235 * ace/OS.i (gettimeofday): Added Windows CE implementation.
3237 Thu Jan 29 21:02:24 1998 David L. Levine <levine@cs.wustl.edu>
3239 * ace/config-sunos5.5-g++.h: revert so that ACE_HAS_STRING_CLASS
3240 is #defined, regardless of g++ version.
3242 * ace/config-g++-common.h,config-gcc-2.7.2.h: replaced
3243 config-gcc-2.7.2.h with config-g++-common.h, which will support
3244 all g++ versions, including egcs.
3246 * ace/config-linux-common.h,config-sco-5.0.0-{fsu-pthread,nothread}.h:
3247 migrated to config-g++-common.h.
3249 Thu Jan 29 20:28:30 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
3251 * ACE version 4.4.23, released Thu Jan 29 20:28:30 1998.
3253 Thu Jan 29 16:17:28 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3255 * ace/Log_Msg.cpp (open): Always close down the logger connection
3256 before changing the setting. Added codes to allow resetting
3257 logging endpoint back to STDERR from LOGGER.
3259 * ace/OS.h (ACE_DEFAULT_LOGGER_KEY): Changed to localhost:10012
3260 so it can be used in both netsvcs/lib/ and netsvcs/client/.
3262 * netsvcs/client/Logger/indirect_logger.cpp: Added code to reset
3263 logging endpoint back to stderr.
3265 * netsvcs/lib/Client_Logging_Handler.cpp
3266 (ACE_Client_Logging_Acceptor): Changed to initialize
3267 logger_key_ with ACE_DEFAULT_LOGGER_KEY.
3269 * netsvcs/lib/Client_Logging_Handler.h: Removed DEFAULT_LOGGER_KEY
3272 Thu Jan 29 12:32:32 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
3274 * include/makeinclude/platform_irix6.x-sgic++.GNU:
3275 Added support for debugging, somehow the DCCFLAGS were missing.
3277 Thu Jan 29 10:52:34 1998 David L. Levine <levine@cs.wustl.edu>
3279 * ace/config-lynxos.h: added putenv () declaration.
3281 * include/makeinclude/platform_sunos5_g++.GNU: added comment
3282 about disabling optimization with g++ 2.8.0.
3284 * ace/config-sunos5.5-g++.h: don't #define ACE_HAS_STRING_CLASS
3287 * include/makeinclude/platform_sunos5_egcs.GNU: include
3288 the g++ platform file, it works just fine. The net effect
3289 on egcs is these three changes:
3291 1) -fno-implicit-templates is included in CPPFLAGS. That
3292 option is necessary with the egcs (egcs-2.90.23 980102
3293 (egcs-1.0.1 release)) that we use to save _much_ text
3296 2) Use -G instead of -shared in SOFLAGS. That way,
3297 libstc++.so, etc., need not be built.
3299 3) The compiler is called g++ instead of c++. I don't
3300 think this hurts anything. And Purify knows about g++,
3303 These (and any other) options can be overridden in
3304 platform_sunos5_egcs.GNU if necessary. See the commented
3307 * ace/config-sunos5.5-egcs.h: added
3308 ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION to match
3309 -fno-implicit-templates in the platform_sunos5_egcs.GNU.
3311 * tests/Env_Value_Test.cpp: updated comment to explain why we
3312 can't use spawn with ACE_HAS_NONSTATIC_OBJECT_MANAGER. We
3313 can, in general, but we can't on VxWorks because it doesn't
3316 Thu Jan 29 10:32:28 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
3318 * include/makeinclude/platform_sunos5_sunc++.GNU:
3319 The posix4 library is needed in some TAO examples.
3322 * ace/Message_Queue.h:
3323 Workaround HP/C++ compiler bug, it does not support enums inside
3324 templates so we move them into base classes. Thanks to Sundar
3325 T.J <tjsundar@cisco.com> for reporting this problem.
3327 Thu Jan 29 10:14:03 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
3329 * ace/FIFO.h: Revised the comment at the beginning of ACE_FIFO to
3330 clearly indicate that it doesn't work portably to Win32. Thanks
3331 to Thomas Hampson <thomas.hampson@lmco.com> for suggesting this.
3333 Wed Jan 28 15:36:55 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
3336 We can use the top level Makefile on TAO now.
3338 Wed Jan 28 11:59:41 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3340 * ace/OS.i (isatty): Added conversion from a Win32 HANDLE to a C
3341 file handle. It works correctly now. Thanks to Chuck R. Gehr
3342 <GehrCR@louisville.stortek.com> for noticing the problem.
3344 Tue Jan 27 20:32:07 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
3346 * ace/Message_Block: Added an accessor to retrieve the reference
3347 count on an ACE_Data_Block. Thanks to Dave Meyer
3348 <dmeyer@std.saic.com> for contributing this.
3350 Tue Jan 27 15:09:08 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
3353 * ace/Timer_Queue_Adapters.cpp:
3354 When using ACE_CLEANUP_???_POP macros, it was being called with
3355 argument 1, which should be 0 (don't execute the cleanup).
3356 Thanks to Arturo Montes <mitosys@colomsat.net.co> for reporting
3357 argument 1, which should be 0 (don't execute the cleanup).this.
3359 Tue Jan 27 14:56:49 1998 David L. Levine <levine@cs.wustl.edu>
3361 * ace/Basic_Types.*: more cleanup: got rid of ACE_USES_ACE_U_LONGLONG,
3362 replaced VXWORKS && ghs with ACE_HAS_WCHAR_TYPEDEFS_CHAR, and
3363 factored out some common #defines. Rearranged ACE_SIZEOF_LONG_LONG
3364 and ACE_UINT64 logic so that it works on NT.
3366 Tue Jan 27 08:28:34 1998 Steve Huston <shuston@riverace.com>
3368 * ace/Basic_Types.h: Simplified and changed so that the config.h file
3369 can pre-specify the ACE_SIZEOF_* macros in case the preprocessor
3370 has trouble calculating them.
3372 Tue Jan 27 06:45:07 1998 David L. Levine <levine@cs.wustl.edu>
3374 * examples/IOStream/server/iostream_server.cpp: for egcs, use
3375 ACE_SOCK_IOSTREAM instead of its expansion in the ACE_Svc_Handler
3376 template instantiation.
3378 * ace/Event_Handler_T.h,examples/Reactor/Misc/test_event_handler_t.cpp:
3379 removed special-case support for ACE_HAS_SIGNFO_T, because ace/OS.h
3380 declares a siginfo_t without it.
3382 * tests/run_tests.vxworks: enabled Priority_Reactor_Test and
3383 Message_Queue_Test, because they appear to run successfully now.
3384 Most of the time, anyways. Message_Queue_Test occasionally
3385 pages faults; there appears to be a memory management problem.
3387 Tue Jan 27 02:38:16 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3390 * ace/config-WinCE.h: More Windows CE insanities.
3392 Mon Jan 26 13:20:58 1998 David L. Levine <levine@cs.wustl.edu>
3394 * include/makeinclude/platform_osf1_4.0_g++.GNU: added $(ACELIB)
3395 to SOFLAGS. Thanks to Oliver Kellogg <Oliver.Kellogg@vs.dasa.de>
3396 for reporting the problem with building shared libraries on
3399 * ace/config-linux-common.h: moved ACE_LACKS_TCP_H so that it is
3400 only seen on alphas (with glibc2). Thanks to Edgar Villanueva
3401 <edgarvil@ix.netcom.com> for reporting this.
3403 * performance-tests/Misc/childbirth_time.cpp (prof_native_thread,
3404 prof_ace_os_thread): changed type of local j to int to avoid
3405 signed/unsigned comparison.
3407 * tests/Reactors_Test (Test_Task): changed type of member
3408 handled_ from int to size_t to avoid signed/unsigned comparison
3409 in Test_Task::handle_input ().
3411 Mon Jan 26 11:35:54 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
3414 Added TAO_ROOT to the environment.
3416 Mon Jan 26 10:28:57 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
3418 * ACE version 4.4.22, released Mon Jan 26 10:28:57 1998.
3420 Mon Jan 26 02:53:10 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3422 * ace/OS.h: Namespace related macros are now ifdef'ed by
3423 ACE_HAS_BROKEN_NAMESPACES instead of ACE_ORBIX_HAS_NAMESPACES.
3426 * ace/config-win32-common.h: Added a new flag
3427 ACE_HAS_BROKEN_NAMESPACES to deal with MSVC's broken namespace
3430 * ace/config-win32.h: Re-enable defining ACE_ORBIX_HAS_NAMESPACES
3433 * ace/config-WinCE.h: Temporary file to hold WinCE specific
3434 configurations. It will probably be merged with
3435 config-win32-common.h in some point.
3437 * ace/ace_dll.dsp: Added WinCE x86 emulation mode project
3440 * ace/OS.{h.i} (ACE_OS): Added Windows CE macros madness.
3442 * ace/config-win32-common.h: Ifdef'ed out ACE_HAS_SIG_ATOMIC_T for
3443 WinCE. Prevent repeat definition of STRICT.
3445 Sun Jan 25 17:31:49 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3447 * ace/config-win32.h: Disabled setting ACE_ORBIX_HAS_NAMESPACES by
3448 default on NT. MSVC's namespace support is buggy.
3450 1998-01-25 Nanbor Wang <nanbor@fennec.wolfpack.cs.wustl.edu>
3452 * tests/Conn_Test.cpp: Rearranged explicit template instantiations
3453 order to avoid errors from egcs. Thanks to Gonzo for reporting
3456 Fri Jan 23 12:24:05 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
3458 * ace/OS.i (sleep): Fixed a typo where tv_sec was being set rather
3459 than tv_usec. Thanks to Gonzo for pointing this out.
3461 Fri Jan 23 06:27:51 1998 David L. Levine <levine@cs.wustl.edu>
3463 * ace/IOStream.h: use std::string if
3464 ACE_USES_STD_NAMESPACE_FORSTDCPP_LIB IOStream.h. Thanks
3465 to Gonzo <gonzo@ing.puc.cl> for the patch. Also, changed
3466 DEC_CXX to __DECCXX_VER because that's more accurate.
3468 * tests/Barrier_Test.cpp: specify thread name and stack size
3469 on VxWorks. Thanks to Stan Leeson <STANLEY.D.LEESON@cdev.com>
3470 for suggesting this.
3472 * tests/Env_Value_Test.cpp (TEST_THIS): cast val to (type)
3473 before casting to (u_int), to try to avoid DEC CXX compiler
3474 warning about integer overflow. Thanks to Frederic Andres
3475 <andres@rd.nacsis.ac.jp> for reporting this.
3477 * ace/config-osf1-4.0.h: added ACE_HAS_EXCEPTIONS, etc., with
3478 CXX 6.0. Thanks to Torbjorn Lindgren <tl@funcom.com> for
3481 * ace/OS.i (thr_kill): removed ACE_ADAPT_RETVAL because
3482 ::taskNameToID returns the task ID, not success/fail.
3483 Thanks to Richard Keizer <RICHARD.L.KEIZER@cdev.com> for
3484 diagnosing the problem and providing the fix.
3486 * tests/run_tests.vxworks: enabled Thread_Manager_Test and
3487 Message_Block_Test now that they succeed. Thanks to Richard Keizer
3488 <RICHARD.L.KEIZER@cdev.com> for the ACE_OS::thr_kill fix.
3490 * ace/OS.cpp (thr_create), ace/Thread_Manager.cpp (kill_thr):
3491 on VxWorks, use strncmp instead of strcmp to check for allocated
3494 Thu Jan 22 16:34:18 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
3496 * examples/Connection/misc/Connection_Handler.cpp (svc): Fixed a
3497 bug in the example where the global Singleton Reactor was being
3498 used rather than the object's Reactor. Thanks to Peter Gross
3499 <pag@kokako.probita.com> for reporting this.
3501 Thu Jan 22 09:04:13 1998 David L. Levine <@cs.wustl.edu>
3503 * ace/Hash_Map_Manager.cpp (ACE_Hash_Map_Iterator_Base ctor):
3504 added a cast of mm.total_size_ to ssize_t, to try to avoid
3505 a compiler warning. Thanks to Brian Mendel <bmendel@mdc.com>
3508 * ace/config-osf1-4.0.h: updated g++ support. Thanks to
3509 Oliver Kellogg <Oliver.Kellogg@vs.dasa.de> for the patch.
3511 Thanks to Tom Venturella <tventurell@mdc.com> and Dave Mayerhoefer
3512 <davem@lynx.com> (!) for requesting the following three changes:
3514 * ace/Thread_Manager.cpp: added support for a user-supplied
3515 thread (VxWorks task) name. By itself, that means just passing
3516 the ACE_thread_t along to ACE_OS::thr_create (). The tricky
3517 part was then handling the case where the user doesn't supply
3518 a name. It would be cleaner if the ACE_thread_t and ACE_hthread_t
3519 typedefs were swapped on VxWorks, because the ACE_Thread_Manager
3520 keys off of the ACE_thread_t. And in addition to being cleaner,
3521 it would be safer because ACE_thread_t's currently aren't
3522 guaranteed to be unique on VxWorks.
3524 * ace/OS.cpp (thr_create): on VxWorks only, use the t_id (task
3525 name) and stack_size if supplied. Also added support for setting
3526 the stack, but commented it out because it doesn't seem to work.
3528 * tests/Conn_Test.cpp: on VxWorks, assign thread (VxWorks task)
3529 names to server and client threads, to test that feature.
3531 * ace/OS.cpp (spa [VxWorks only]): use ::taskSpawn () instead
3532 of ::sp () so that the task name, ace_main, can be specified.
3534 * ACE-INSTALL.html: added note about not linked the ACE library
3535 into every VxWorks executable. It should work when running
3536 multiple ACE executables on a target, though I haven't tried it.
3538 * include/makeinclude/rules.local.GNU: set SOEXT if it was not set,
3539 so that it's always non-null for make depend.
3541 * ace/OS.h: #define ACE_THR_PRI_FIFO_DEF on all threaded platforms,
3542 if not already defined in OS.h or in the individual platform config
3543 file. It should be used by applications for a default real-time
3546 * ace/config-chorus.GNU: added GreenHills support.
3548 * include/makeinclude/platform_chorus_ghs.GNU: added platform file.
3550 Wed Jan 21 21:37:03 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3552 * ace/Hash_Map_Manager.cpp (close_i): Removed the HPUX_11
3553 destructor madness by saving the location to be destructed in a
3554 temporary reference instead of calling the destructor from the
3555 array directly. Thanks to Istvan Buki <ibuki@fedex.com> for
3556 providing the patch.
3558 Wed Jan 21 20:36:43 1998 Chris Cleeland <cleeland@cs.wustl.edu>
3560 * ACE version 4.4.21, released Wed Jan 21 20:36:43 1998.
3562 Wed Jan 21 10:39:12 1998 David L. Levine <levine@cs.wustl.edu>
3564 * ace/Task.cpp (activate): for builds without threads only,
3565 added ACE_UNUSED_ARG of stack and stack_size.
3567 * ace/High_Res_Timer.cpp: used unsigned constants instead of
3568 signed, to allow resolution of overloaded
3569 ACE_U_LongLong::operator/ ().
3571 Tue Jan 20 21:15:01 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
3573 * ACE version 4.4.20, released Tue Jan 20 21:15:01 1998.
3575 Tue Jan 20 20:31:27 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
3577 * tests/test_config.h:
3578 Changed several buffer sizes from BUFSIZ to MAXPATHLEN, they
3579 were used for storing pathnames, so the later is a proper size
3582 Tue Jan 20 15:54:44 1998 Darrell Brunsch <brunsch@cs.wustl.edu>
3584 * ace/Timer_Heap_T.cpp: Fixed a bug that was introduced on
3585 Sunday because of the non-use of position 0 (we have to
3586 grow the heap one node early).
3588 * ace/Timer_Queue_T.{h,cpp}: Added a return_node () method
3589 which is used to return a ACE_Timer_Node back into the
3590 control of the Timer Queue after it leaves via
3593 Tue Jan 20 15:52:31 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
3595 * ACE version 4.4.19, released Tue Jan 20 15:52:31 1998.
3597 Tue Jan 20 12:49:05 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3599 * ace/Hash_Map_Manager.cpp (ACE_Hash_Map_Manager): Member table_
3600 needs to be initialized to prevent deleting invalid memories.
3602 Tue Jan 20 11:57:24 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
3605 Added several TAO components to the compile list.
3606 The regular expression for make errors was missing several of
3609 Tue Jan 20 03:36:54 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3611 * ace/Hash_Map_Manager.cpp (open): We should call close_i () to
3612 ensure previously allocated memory gets release before we
3615 Mon Jan 19 22:21:34 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3617 * tests/Env_Value_Test.cpp (main): Added test codes for unsigned
3620 * ace/Env_Value_T.i (ACE_Convert): Added conversion function for
3623 Mon Jan 19 15:13:47 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
3625 * bin/Makefile: Fixed a problem with the CCFLAGS definition that
3626 was causing circular macro expansion. Thanks to Philippe
3627 O'Reilly <philippe@robot.ireq.ca> for reporting this.
3629 Sun Jan 18 14:32:42 1998 Darrell Brunsch <brunsch@cs.wustl.edu>
3631 * ace/Timer_Heap_T.cpp: Problems were arising because of the
3632 use of negative numbers in the timer_id array of the timer
3633 heap for the free list. When the 0th index is in the free
3634 list, pointers to it will show up as 0 (because 0 == -0).
3635 This will look the same as a timer_id for the top of the
3636 heap, and if cancel () was attempted on this invalid
3637 timer_id, bad things would happen. To prevent this, index
3638 0 is now ignored so it doesn't show up in the free list.
3640 Sun Jan 18 18:12:52 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3642 * examples/Service_Configurator/Misc/*.ds?: Added new project
3643 files for this example.
3645 Sun Jan 18 17:27:52 1998 Darrell Brunsch <brunsch@cs.wustl.edu>
3647 * ace/Timer_Wheel_T.cpp: Fixed a problem with Timer Wheel's
3648 expire(). The problem occured when the handle_timeout() method
3649 of the event handler used would return a 0. This causes the
3650 Timer Queue to cancel all timers using that event handler.
3651 Because Timer Wheel's expire caches the position of some timers
3652 that will be expired, it was trying to expire timers that were
3653 already cancelled. Now it checks the timer before it expires.
3655 Sun Jan 18 16:08:36 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
3657 * ace/Thread_Manager: Modified the signature to the spawn_n()
3658 method so that it's possible to pass in an array of stack
3659 pointers and stack sizes. Thanks to Thomas Venturella
3660 <tventurell@mdc.com> for requesting this.
3662 * ace/Task: Modified the signature to the activate() method so
3663 that it's possible to pass in an array of stack pointers and
3664 stack sizes. Thanks to Thomas Venturella <tventurell@mdc.com>
3665 for requesting this.
3667 Sun Jan 18 15:54:16 1998 Darrell Brunsch <brunsch@cs.wustl.edu>
3669 * ace/Timer_Wheel_T.h:
3671 ace/Timer_Queue_T.h:
3672 ace/Timer_Wheel_T.cpp:
3673 ace/Timer_Hash_T.cpp: Added pure virtual get_first() method to
3674 Timer_Queue_T. Added implementations to Timer_Wheel and Timer_Hash.
3675 Timer_Heap and Timer_List already had implementations.
3677 Sat Jan 17 23:40:02 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3679 * netsvcs/VCAUTO.MAK:
3680 * netsvcs/lib/VCAUTO.MAK: Added directory information for easier
3683 Sat Jan 17 16:10:04 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
3685 * examples/Service_Configurator/Misc/main.cpp (main): Replaced the
3686 buggy use of ACE_Service_Config daemon; with
3687 ACE_Service_Config::open(). We'll have to fix this properly
3688 some day, but for now this is the best solution. Thanks to
3689 Pawel Roman <proman@npac.syr.edu> for reporting this.
3691 Sat Jan 17 00:42:13 1998 Irfan Pyarali <irfan@cs.wustl.edu>
3693 * ace/SString.cpp (substring): Fixed bug. count should be
3694 initialized to length and not len_.
3696 Fri Jan 16 15:52:34 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3698 * ace/IOStream.h (ACE_Streambuf):
3699 * ace/config-win32-common.h:
3701 * ace/streams.h: Applied IOStream patches from James CE Johnson
3702 <jcej@chiroptera.tragus.org>.
3704 Fri Jan 16 01:42:52 1998 Irfan Pyarali <irfan@cs.wustl.edu>
3706 * ace/OS.h: Changed the definition of ACE_CORBA_* macros so that
3707 on non-Win32 platforms, they will be expand to the nested
3708 classes. Thanks to Jonathan Reis <reis@minniemouse.cemax.com>
3711 * ace/SString.h: Added the correct export macros.
3713 Thu Jan 15 15:45:48 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
3715 * etc/ACE-guidelines.html: Reformatted this page a bit.
3717 * ace/Message_Queue.cpp (open): The fix from Slawomir Kuzniar was
3718 incorrect. I reverted the change.
3720 Thu Jan 15 12:43:23 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3722 * /: Added a bunch of makefiles (*.MAK) for one button
3723 make-and-test on NT.
3725 * Makefile (FILTER): Added filter to remove VC one button related
3726 makefile from ACE release.
3728 * ace/ACE_Library.{mdp,mak}: Added Shared_Memory.cpp file into the
3731 Thu Jan 15 09:12:26 1998 David L. Levine <levine@cs.wustl.edu>
3733 * tests/Barrier_Test.cpp,Message_Block_Test.cpp,Priority_Task_Test.cpp,
3734 Reactor_Exceptions_Test.cpp,Reactors_Test.cpp,Thread_Mutex_Test.cpp:
3735 (main): changed some local variables from int to size_t to avoid
3736 signed/unsigned comparison.
3738 * ace/OS.i,config-linux-common.h,README: aded ACE_HAS_SOCKLEN_T
3739 support for Linux/glibc2, which has a socklen_t type.
3741 * include/makeinclude/rules.local.GNU (depend.local): produce all 4
3742 combinations of .obj, .shobj, .o, and .so dependency targets. This
3743 should take care of the problem of not rebuilding when a dependency
3744 has changed, after we regenerate all the Makefiles.
3746 * include/makeinclude/rules.local.GNU (depend.local): removed the sed
3747 rule that wiped out each Makefile line ending with :. I don't know
3748 why that rule was there. With it, if a Makefile had a target such
3749 as clean:, it got deleted. Not any more.
3751 * many Makefiles: updated dependences with revised depend.local.
3753 * bin/g++dep: added lib/g++-include path to gcc -MM invocation, so
3754 that gcc can find all of its headers. (It didn't help to replace
3755 gcc with g++, though I would have expected that to solve the
3758 * ace/Timer_Heap_T.cpp (get_first): fixed ACE_TRACE id string.
3760 * apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp,
3761 * apps/Gateway/Peer/Peer.cpp (recv):
3762 changed type of HEADER_SIZE to size_t to avoid signed/unsigned
3765 Wed Jan 14 20:41:35 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
3767 * ace/Signal.i (is_member):
3768 Fixed typo in new cast, the type is sigset_t not sigset.
3770 Wed Jan 14 20:27:44 1998 <coryan@MILONGA>
3773 The new location for AF_ANY and AF_FILE was in the middle of a
3774 big #if !ACE_WIN32, hence it was not working for NT, I moved it
3775 further down and now NT is happy.
3777 Wed Jan 14 19:01:59 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
3779 * ace/Message_Queue.cpp (open): In Message_Queue::open
3780 deactivated_ flag is being set to 0 instead of
3781 WAS_INACTIVE. This is causing incorrect return value from
3782 first-time call to activate(). Thanks to Slawomir Kuzniar
3783 <kuzniar@Bear.COM> for reporting this.
3785 * ace/Signal.i (is_member): Added an ACE_const_cast(). Thanks to
3786 Oleg Krivosheev <kriol@fnal.gov> for reporting this.
3788 Wed Jan 14 06:45:52 1998 David L. Levine <levine@cs.wustl.edu>
3790 * ace/OS.i: Fixed typo in ACE_Time_Value::operator const timeval *
3791 definition. (select's): cast the ACE_Time_Value to a
3792 const timeval * and then to a timeval * so that they will
3795 * tests/Time_Value_Test.cpp (test_ace_u_longlong): made divisors of
3796 operator/ tests explicitly unsigned, to avoid overloading problems
3797 now that there are two division operators.
3799 Tue Jan 13 16:31:48 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
3801 * ace/OS.i: Changed the signature of ACE_Time_Value::operator
3802 timeval *() to return operator const timeval *(). Thanks to
3803 Oleg Krivosheev <kriol@fnal.gov> for reporting this. Changed
3804 several other unsafe casts to use the ACE_const_cast() macro.
3806 Tue Jan 13 13:30:23 1998 David L. Levine <levine@cs.wustl.edu>
3808 * ace/Profile_Timer.cpp (elapsed_time): use floating point
3809 arithmetic for real_time calculation, in case delta_t is
3810 less than ACE_ONE_SECOND_IN_NSECS (and for more precision
3811 otherwise). Thanks to Brian Mendel for tripping over this.
3813 * ace/Basic_Types.{h,i} (ACE_U_LongLong): added
3814 operator/ (const double).
3816 * ace/OS.h: moved definition of AF_FILE, etc., to _after_ the
3817 #include of sys/socket.h. That way, the #ifndef AF_FILE
3818 protection will work properly on Linux/glib2. Thanks to
3819 Amos Shapira <amos@gezernet.co.il> for breaking silence and
3822 Mon Jan 12 20:19:54 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
3824 * ace/SString.i: Replaced all uses of NULL with 0 since NULL
3825 causes problems with some lame C++ compilers.
3827 * ace/SString.i: Moved one of the inline find() methods down
3828 so that GCC doesn't complain anymore.
3830 * tests/Reactor_Timer_Test.cpp (main): Changed long i to size_t i
3833 * ace/Select_Reactor.h: Updated the explanation of how the
3834 ACE_Select_Reactor_Token works. Thanks to Detlef Becker for
3835 explaining this in great detail.
3837 * tests/test_config.h: Changed the type of all the consts to
3838 size_t rather than int. This may cause a bit of upheaval at
3839 first since we'll need to fix some other types. But it's the
3840 "Right Thing"[TM] to do.
3842 Mon Jan 12 18:31:23 1998 Nanbor Wang <nanbor@cs.wustl.edu>
3844 * Start renaming MSVC 4.2 workspace/makefile names.
3846 * apps/Gateway/Peer/Peer4.{mdp,mak}:
3847 * apps/Gateway/Gateway/Gateway4.{mdp,mak}: Made them in synch with
3850 Mon Jan 12 12:30:34 1998 David L. Levine <levine@cs.wustl.edu>
3852 * ace/config-linux-common.h: moved
3853 ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES so that it isn't used
3854 with egcs. Thanks to Gonzo for testing this.
3856 * tests/Service_Config.test: changed type of VARIETIES to u_int to
3857 avoid signed/unsigned comparison in main. Thanks to Gonzo for
3860 * ace/config-linux-common.h: added ACE_HAS_TEMPLATE_TYPEDEFS and
3861 ACE_HAS_TYPENAME_KEYWORD. Thanks to Oleg Krivosheev
3862 <kriol@fnal.gov> for reporting these.
3864 * ace/config-vxworks5.x.h: merged the two VxWorks configs (g++ and
3865 ghs) into this new config for easier maintenance. Added
3866 ACE_THR_PRI_FIFO_DEF, set to 6.
3868 * tests/Reactor_Timer_Test.cpp (main): cast i to u_long to avoid
3869 signed/unsigned comparison.
3871 Sun Jan 11 23:02:07 1998 Irfan Pyarali <irfan@cs.wustl.edu>
3873 * tests/SString_Test.cpp (main): Removed the "silly" strings from
3874 the tests. They are annoying and cause memory leaks.
3876 Sun Jan 11 22:16:28 1998 Nanbor Wang <nw1@cs.wustl.edu>
3878 * apps/Gateway/Peer/Peer.{h,cpp} (transmit): Changed the function
3879 to return the result of transmission.
3880 (transmit_stdin): Make sure the function returns proper results
3883 Sun Jan 11 16:18:15 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
3885 * ACE version 4.4.18, released Sun Jan 11 16:18:15 1998.
3887 Sun Jan 11 00:00:26 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
3889 * apps/Gateway/Gateway/Gateway.cpp (parse_connection_config_file):
3890 Fixed a typo, == should be =. Thanks to David Levine for
3893 * apps/Gateway/Peer/Peer.cpp (recv),
3894 apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp (recv):
3895 Added a cast to remove a GCC warning about signed/unsigned
3896 comparisons. Thanks to David Levine for reporting this.
3898 * ace/Log_Msg.cpp (log): Made a minor change to move where the
3899 message is copied from thread-specific storage into the transfer
3900 buffer. Thanks to Patrick J. McNerthney <pat@thememedia.com>
3903 * apps/Gateway/Peer/Peer: Added new logic to transmit subscription
3904 requests to the Gateway.
3906 * apps/Gateway/Gateway/Event.h (class Event_Header): Make sure
3907 that we correctly encode/decode the connection_id.
3909 Sat Jan 10 18:17:06 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
3911 * apps/Gateway/Gateway/Event.h: Added the event priority_ field to
3912 the Event_Key. We don't currently use this, but we may some
3915 * apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp (put):
3916 Changed the forward() method to process() since our new scheme
3917 will need to do more than just forward, e.g., it will need to
3918 handle subscriptions.
3920 * apps/Gateway/Gateway/Connection_Handler: Made the accessors
3921 const member functions and also added accessors for the
3922 Event_Channel * so this can be set by the
3923 Connection_Handler_Acceptor::accept_svc_handler() method.
3925 * apps/Gateway/Gateway/Connection_Handler: Added mutators so that
3926 we can set the local and remote addresses outside of the
3929 * apps/Gateway/Gateway/Options: Added a connection_id() accessor
3930 to set/get the connection id. This makes it possible to allow
3931 Peers to connection with the Gateway.
3933 * apps/Gateway/Gateway/Gateway.cpp (parse_connection_config_file):
3934 Added a sanity check to ensure that the connection ids start at
3935 1 and increment by 1.
3937 Sat Jan 10 22:37:37 1998 David L. Levine <levine@cs.wustl.edu>
3939 * ace/SString.i (find): changed type of local i to size_t to
3940 avoid signed/unsigned comparison.
3942 Sat Jan 10 14:57:01 1998 <coryan@MILONGA>
3944 * ace/Env_Value_T.h:
3945 The return value for the assignment operator had no template
3946 parameter, ditto for the arguments of the copy constructor and
3947 the already mentioned operator.
3949 Sat Jan 10 13:20:08 1998 Nanbor Wang <nw1@cs.wustl.edu>
3951 * tests/Conn_Test.cpp: Moved template instantiation codes around
3954 Sat Jan 10 01:36:08 1998 Irfan Pyarali <irfan@cs.wustl.edu>
3956 * ace/SString: Made the following changes to make the ACE string
3957 class look more like the STL string class:
3959 - Added npos to all classes.
3961 - Added non-const reference operator[].
3963 - Changed operator= and operator+= to return *this.
3965 - Added STL like find and rfind routines
3967 - Made the three classes be a similar as possible.
3969 - Changed the implementation of strstr to use the C library
3972 - Added constructors from single characters.
3974 - Made substring a const method.
3976 Fri Jan 9 19:11:39 1998 Nanbor Wang <nw1@cs.wustl.edu>
3978 * tests/Map_Manager_Test.cpp (test_hash_map_manager): Added
3979 ACE_UNUSED_ARG to eliminate warnings.
3981 * ace/Hash_Map_Manager.cpp (rbegin): Added more static cast to
3982 eliminate warning messages.
3984 Fri Jan 9 11:35:53 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
3986 * examples/Service_Configurator/IPC-tests/server/server_test.cpp:
3987 Fixed a syntax error. Thanks to John Mulhern
3988 <9107@MN3.LAWSON.lawson.com> for reporting this.
3990 * ace/Log_Msg.cpp (log): Changed abort_prog == 0 to abort_prog so
3991 that STDERR would be printed correctly.
3993 * ACE-categories: Added all the ACE files into the ACE-categories
3994 listing. Thanks to Andres Kruse for motivating this.
3996 * include/makeinclude/platform_sunos5_egcs.GNU (CXX): Removed
3997 -pipe from CC and CXX. It was already in CCFLAGS.
3999 Fri Jan 09 11:56:44 1998 Irfan Pyarali <irfan@cs.wustl.edu>
4001 * ace/config-win32.h (ACE_ORBIX_HAS_NAMESPACES): By default, you
4002 will get the proper namespace usage for Orbix. If you don't
4003 like this, comment out the #define ACE_ORBIX_HAS_NAMESPACES line
4004 or #undef ACE_ORBIX_HAS_NAMESPACES in your config.h file after
4005 including this config-win32.h.
4007 Fri Jan 09 07:04:47 1998 David L. Levine <levine@cs.wustl.edu>
4009 * include/makeinclude/platform_sunos5_g++.GNU: removed
4010 -pipe from CC and CXX. It was already in CCFLAGS.
4012 * include/makeinclude/platform_vxworks5.x_g++.GNU: added
4013 target-dependent support for symbol table extractor, and
4014 disabled symbol table extraction (POSTLINK) by default.
4015 Thanks to Keith Nicewarner <knicewar@sanders.com> for
4016 reporting problems with this on PPC604 targets.
4018 * ace/config-linux-common.h: added ACE_HAS_STDCPP_STL_INCLUDES
4019 and removed ACE_LACKS_ACE_IOSTREAM. Thanks to James CE Johnson
4020 <jcej@lads.com> for reporting these.
4022 * tests/run_tests.vxworks: added Env_Value_Test.
4024 Fri Jan 09 00:14:20 1998 Nanbor Wang <nw1@cs.wustl.edu>
4026 * apps/Gateway/Gateway/Connection_Handler_Acceptor.cpp:
4027 * apps/Gateway/Gateway/Config_Files.cpp: Defined
4028 ACE_BUILD_SVC_DLL flag. All declarations of an exported class
4029 must be declared with the same exporting flag.
4031 * apps/Gateway/Peer/Options.h: Updated the path of include file
4034 Thu Jan 08 22:11:57 1998 Nanbor Wang <nw1@cs.wustl.edu>
4036 * ace/Env_Value_T.i (ACE_Convert): Added static cast for int and
4037 short conversion funcions.
4039 Thu Jan 08 21:37:30 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
4041 * ACE version 4.4.17, released Thu Jan 08 21:37:30 1998.
4043 Thu Jan 8 19:50:43 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
4045 * ace/Task: Added a virtual destructor for ~ACE_Task_Base. Thanks
4046 to Oleg Krivosheev <kriol@fnal.gov> for suggesting this.
4048 * ace: Added a new config-sunos5.5-egcs.h for the EGCS compiler.
4049 Thanks to Oleg Krivosheev <kriol@fnal.gov> for contributing
4052 * include/makeinclude: Added a new platform macros file for the
4053 EGCS compiler on Solaris 2.x. Thanks to Oleg Krivosheev
4054 <kriol@fnal.gov> for contributing this.
4056 * include/makeinclude/platform_sunos5_g++.GNU (CXX): Added the
4059 * man: Updated all the manual pages.
4061 * ace/Log_Msg: Added changes to allow the logging of custom built
4062 log records. The main reason for these changes is to allow code
4063 to handle the logging of out of memory conditions without
4064 allocating any additional memory. Thanks to Patrick
4065 J. McNerthney <pat@thememedia.com> for this feature.
4067 * ace/Log_Msg: Added a new method called log_priority_enabled(),
4068 which returns true if the priority is enabled (gee, is *that*
4069 what it does? ;-)). Thanks to Patrick J. McNerthney
4070 <pat@thememedia.com> for this feature.
4072 * examples/Service_Configurator/IPC-tests/server/server_test.cpp
4073 (main): Revised the driver program so that it doesn't create an
4074 explicit ACE_Service_Config object. Thanks to John Mulhern
4075 <9107@MN3.LAWSON.lawson.com> for reporting this.
4077 * apps/Gateway/{Gateway,Peer}/Options.cpp: Oops, ACE_BUILD_DLL
4078 should be ACE_BUILD_SVC_DLL, yikes! Thanks to Jeff Hellzen
4079 <JHellzen@hwdcsaws.cahwnet.gov> for reporting this.
4081 * apps/Gateway/{Peer,Gateway}/Options.{h,cpp}: Added a missing
4082 #define ACE_BUILD_DLL and a missing ACE_Svc_Export. Thanks to
4083 Jeff Hellzen <JHellzen@hwdcsaws.cahwnet.gov> for reporting this.
4085 * ace/Select_Reactor.cpp (suspend_i): The clr_bit call was
4086 mistakenly made on the write mask, rather than the read mask.
4087 Thanks to Billy Quinn <ace-users@lads.com> for reporting this.
4089 Thu Jan 08 16:02:33 1998 Nanbor Wang <nw1@cs.wustl.edu>
4091 * ace/Hash_Map_Manager.{h,cpp}: Added STL-styled iterator
4094 * tests/Map_Manager_Test.cpp:
4095 * tests/Hash_Map_Manager_Test.cpp:
4096 * tests/Conn_Test.cpp:
4097 * ace/Local_Name_Space.cpp:
4098 * ace/Filecache.cpp: Added missing template instantiation codes.
4100 Thu Jan 08 11:05:15 1998 <coryan@CHA-CHA>
4104 Added the new Shared_Memory.cpp file to the project.
4106 Wed Jan 07 20:40:45 1998 David L. Levine <levine@cs.wustl.edu>
4108 * ace/OS.h: protect #define of AF_FILE, because Linux/RedHat 5.0
4109 #defines it in /usr/include/socketbits.h. Thanks to James CE
4110 Johnson <jcej@lads.com> for reporting this.
4112 * tests/test_config.h (set_output): "if (! test_dir)" instead of
4113 "if (test_dir)" so the output filename ends up non-null.
4115 * ace/Shared_Memory.{h,cpp},Makefile (~ACE_Shared_Memory): made
4116 virtual and non-line. Added file Shared_Memory.cpp to contain
4119 Wed Jan 07 17:59:57 1998 Nanbor Wang <nw1@cs.wustl.edu>
4121 * ace/Free_List.i (add): Only delete freeed item when we hit the
4122 high water mark, not the other way around. Thanks to Stuart
4123 Myles <smyles@wsj.dowjones.com> for pointing this out.
4125 Wed Jan 7 17:46:09 1998 James C Hu <jxh@cs.wustl.edu>
4127 * examples/Timer_Queue/Thread_Timer_Queue_Test.h:
4128 * examples/Timer_Queue/Thread_Timer_Queue_Test.cpp:
4129 * examples/Timer_Queue/Reactor_Timer_Queue_Test.h:
4130 * examples/Timer_Queue/Reactor_Timer_Queue_Test.cpp:
4131 * examples/Timer_Queue/Driver.h:
4132 * examples/Timer_Queue/Driver.cpp:
4133 Added virtual destructors to classes that needed them.
4135 Wed Jan 7 16:28:16 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
4137 * ace/Event_Handler_T.cpp: Reordered the initializers in the
4138 ACE_Event_Handler_T constructor so G++ doesn't complain. Thanks
4139 to Oleg Krivosheev <kriol@fnal.gov> for reporting this.
4141 * ace/Shared_Memory.h: Added a virtual destructor to the
4142 ACE_Shared_Memory abstract base class so that EGCS won't
4143 complain. Thanks to Oleg Krivosheev <kriol@fnal.gov> for
4146 * ace/Event_Handler_T.h: Had to include the *.cpp file into .h
4147 when ACE_TEMPLATES_REQUIRE_SOURCE is defined. Thanks to Oleg
4148 Krivosheev <kriol@fnal.gov> for reporting this.
4150 Wed Jan 07 14:31:34 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
4152 * ACE version 4.4.16, released Wed Jan 07 14:31:34 1998.
4154 Wed Jan 7 13:38:28 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
4156 * tests/test_config.h (set_output): Added an environment variable
4157 to specify where to put the log directory: ACE_TEST_DIR. Thanks
4158 to Keith Nicewarner <knicewar@sanders.com> for reporting this.
4160 * ace/Service_Repository.cpp (close): Removed a fragment of
4161 redundant code. Thanks to Eric Newton <ecn@smart.net> and Alex
4162 Chan <Alex.Chan@Aspect.com> for reporting this.
4164 Tue Jan 06 17:19:13 1998 Nanbor Wang <nw1@cs.wustl.edu>
4166 * ace/Containers.{h,cpp} (ACE_Unbounded_Set[_Iterator]): Added
4167 STL-styled iterator functions. Changed the internal
4168 representation of ACE_Unbounded_Set within iterators from a
4169 reference to a pointer. We need this to compare if two
4170 iterators are refering to the same set or not.
4172 Tue Jan 6 14:11:54 1998 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
4174 * tests/Reader_Writer_Test.cpp:
4175 Reverted to revision 4.21 since the latest one (4.23) fails;
4176 thanks to Irfan for this solution.
4178 Tue Jan 06 10:37:49 1998 David L. Levine <levine@cs.wustl.edu>
4180 * ace/OS.i (rw_trywrlock_upgrade): moved the #if 0 up a bit so
4181 that it builds on Linux/non-glibc. For some reason, its
4182 preprocessor was getting confused.
4184 * ace/OS.i (nanosleep): convert nanoseconds to microseconds
4185 by dividing by 1000, not multiplying. Thanks to
4186 Mitch Kuninsky <Mitch_Kuninsky@avid.com> for reporting this.
4188 * ace/config-mvs.h: added ACE_LACKS_LONGLONG_T because MVS doesn't
4189 support it. Thanks to Chuck Gehr <gehr@sweng.stortek.com> for
4192 Mon Jan 5 01:20:51 1998 Nanbor Wang <nw1@cs.wustl.edu>
4194 * ace/Map_Manager.{h,cpp}: Made operator == and != and their
4197 Sun Jan 04 19:45:47 1998 David L. Levine <levine@cs.wustl.edu>
4199 * ace/IPC_SAP.cpp (enable,disable): moved return 0 at end
4200 to inside the #endif, to avoid warning about unreachable
4201 return statement on ghs/VxWorks. Thanks to Brian Mendel
4204 * ace/OS.i (rw_trywrlock_upgrade): moved return 0 inside the
4205 #if 0 block to avoid warning about unreachable return statement
4206 on ghs/VxWorks. Thanks to Brian Mendel for reporting this.
4208 * ace/OS.i (rw_trywrlock_upgrade): added ACE_UNUSED_ARG (rw)
4211 * ace/Basic_Types.{h,i},README: replaced ACE_HAS_LONGLONG_T with
4212 ACE_LACKS_LONGLONG_T. ACE_HAS_LONGLONG_T was no longer
4213 being used on many platforms with the scheme in Basic_Types.h.
4214 From now on, we'll assume that a platform has long long
4215 (unless ACE_LACKS_LONGLONG_T is #defined), which should help
4216 porting to new platforms.
4218 * ace/config-aix-4.{1,2}.x.h,config-dgux-4.11-epc.h,
4219 config-linux-{common,kcc}.h,config-lynxos.h,config-m88k.h,
4220 config-osf1-*.h,config-sunos5.*.h,config-tandem.h:
4221 removed ACE_HAS_LONGLONG_T.
4223 * ace/config-chorus.h,config-psosim-g++.h,config-vxworks*.h:
4224 added ACE_LACKS_LONGLONG_T.
4226 * ace/Basic_Types.{h,i} (ACE_U_LongLong): fixed operator/, and
4227 added operator% and operator--.
4229 * ace/High_Res_Timer.*: changed type of global_scale_factor_ from
4230 u_long to ACE_UINT32. Removed some hacks now that ACE_U_LongLong
4233 * tests/Time_Value_Test.cpp: added tests of ACE_U_LongLong
4234 operator/ and operator%.
4236 * ACE-INSTALL.html: added link to Cygus repo patches. Thanks
4237 to Achint Sandhu <sandhu@nortel.ca> for providing the URL.
4239 * ace/OS.{h,i}: added ACE_OS::putenv ().
4241 * tests/Env_Value_Test.cpp: use ACE_OS::putenv ().
4243 * tests/Env_Value_Test.cpp: expect (unsigned long) -10 for
4244 TEST_VALUE_NEGATIVE converted to an unsigned long.
4245 Thanks to Jack Erickson <JErickson@exchange.ml.com> for
4246 verifying that it _should_ return (unsigned long) -10.
4248 * ace/OS.i (strtoul): on Linux with glibc, use ::strtol instead of
4249 ::strtoul and cast the result to an unsigned long. Its ::strtoul
4250 always seems to return 0 for a negative number, at least on
4251 RedHat 4.2/Linux 2.0.30/Alpha with glibc 2.0 (0.961212-5).
4253 * ace/config-linux-common.h: factored out
4254 ACE_LACKS_SOME_POSIX_PROTOTYPES from glibc and non-glibc
4255 sections to common section.
4257 * etc/purify.solaris2: added suppression of MIU from putenv.
4259 Sun Jan 04 17:19:31 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
4261 * ACE version 4.4.15, released Sun Jan 04 17:19:31 1998.
4263 Sun Jan 4 10:11:53 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
4265 * ace/OS.i (rw_trywrlock_upgrade): Temporarily comments out this
4266 method since we need to finish implementing it correctly.
4268 * ace/OS.i (rw_trywrlock_upgrade): Fixed a minor bug where we
4269 weren't releasing the lock correctly if there were competing
4272 * apps/Gateway/Gateway/Event_Channel.cpp (put): Uncommented the
4273 code that sets the appropriate locking strategy for the Message
4276 * apps/Gateway/Gateway/Connection_Handler.h: Made the
4277 remote_addr() and local_addr() accessor methods return
4278 const-correct values.
4280 * build/SunOS5.5/ace/OS: Revised a bunch of #ifdefs so that we can
4281 selectively enable the ACE rwlock emulation, even if we're
4282 compiling with ACE_HAS_STHREADS in order to get the native
4285 * apps/Gateway/Peer/Makefile: Tweaked the Makefile rules to fix
4286 some minor problems. Thanks to David Levine for showing the
4289 Sun Jan 04 12:37:02 1998 David L. Levine <levine@cs.wustl.edu>
4291 * tests/Env_Value_Test.cpp: hacked to work with
4292 ACE_HAS_NONSTATIC_OBJECT_MANAGER. With that, it uses ::putenv (),
4293 which we should wrap in ACE_OS. Also, expanded TEST_THIS to
4294 provide a more helpful log message than just the ASSERT output.
4296 * ace/config-vxworks5.x-g++.h: removed
4297 ACE_HAS_TEMPLATE_SPECIALIZATION.
4299 * tests/Hash_Map_Manager_Test.cpp (main): added casts of i->ext_id_
4300 and i->int_id_ to (char *) to force g++/VxWorks to apply the
4301 conversion from Dumb_String to char *.
4303 Sun Jan 04 09:51:59 1998 Nanbor Wang <nw1@cs.wustl.edu>
4305 * apps/Gateway/Gateway/Options.{h,cpp}: Removed macros to export
4306 this class out of DLL. They are no longer needed.
4308 * apps/Gateway/Gateway/Gateway.dsp: Updated source file listings.
4310 Sat Jan 3 22:25:15 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
4312 * apps/Gateway/Gateway: Changed the name of the ACE_Event_Channel
4313 class to Event_Channel since this class wasn't a part of the ACE
4316 * apps/Gateway/Gateway/Event_Channel.h: Updated the inheritance
4317 relationship for Event_Channel so that it inherits from
4318 ACE_Event_Handler rather than ACE_Task. ACE_Task was
4321 * apps/Gateway/Gateway: Removed the supplier_id from all the
4322 files. We didn't use this anyway and it was just confusing.
4323 Also, renamed Proxy_* to Connection_* to underscore the fact
4324 that the Supplier_Handler and Consumer_Handler work atop
4325 *connections*. The previous naming scheme was too abstract for
4328 Sat Jan 03 14:16:40 1998 Nanbor Wang <nw1@cs.wustl.edu>
4330 * ace/Map_Manager.cpp (ACE_Map[_Reverse]_Iterator): Fixed the
4331 initial iterator position.
4333 Fri Jan 02 18:43:14 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
4335 * ACE version 4.4.14, released Fri Jan 02 18:43:14 1998.
4337 Fri Jan 2 17:39:04 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
4339 * apps/Gateway/Peer/Options.cpp (Options): Rearranged the order of
4340 the parameters in the base/member initialization section to make
4341 GCC happy. Thanks to David Levine for getting on me about this.
4343 * apps/Gateway/Gateway/Options.h: Changed DEFAULT_TIMEOUT
4344 to MAX_TIMEOUT to be consistent. Thanks to David
4345 Levine for reporting this.
4347 Fri Jan 2 17:25:05 1998 Nanbor Wang <nw1@cs.wustl.edu>
4349 * tests/Map_Manager_Test.cpp: Added codes to test STL-styled
4350 functions in ACE_Map_Manager.
4352 * apps/Gateway/Gateway/Proxy_Handler.cpp:
4353 * apps/Gateway/Gateway/Proxy_Handler_Connector.cpp:
4354 * apps/Gateway/Gateway/Event_Channel.cpp:
4355 * apps/Gateway/Peer/Peer.cpp:
4356 * ace/Local_Name_Space.cpp:
4357 * examples/ASX/Event_Server/Event_Server/Peer_Router.cpp:
4358 * examples/ASX/Event_Server/Transceiver/transceiver.cpp:
4359 * examples/ASX/UPIPE_Event_Server/Supplier_Router.cpp:
4360 * examples/ASX/UPIPE_Event_Server/Consumer_Router.cpp:
4361 * examples/Connection/blocking/SPIPE-connector.cpp:
4362 * examples/Connection/misc/test_upipe.cpp:
4363 * examples/Connection/non_blocking/test_sock_connector.cpp:
4364 * examples/Connection/non_blocking/test_spipe_connector.cpp:
4365 * examples/Connection/non_blocking/test_tli_connector.cpp:
4366 * examples/Connection/non_blocking/test_lsock_connector.cpp:
4367 * netsvcs/clients/Tokens/manual/manual.cpp:
4368 * netsvcs/lib/TS_Clerk_Handler.cpp:
4369 * apps/Gateway/Gateway/Proxy_Handler_Connector.cpp: Added some
4370 more explicit template instantiations.
4372 * ace/Map_Manager.{h,cpp}: Added back comparison operators for
4373 ACE_Map_Iterator and ACE_Map_Reverse_Iterator.
4375 * ace/Token_Invariants.cpp:
4376 * ace/Token_Collection.cpp:
4377 * ace/Token_Manager.cpp: Added missing ACE_Map_Reverse_Iterator.
4379 * ace/Map_Manager.h: Remove unnecessary method declarations from
4380 ACE_Map_Iterator adn ACE_Map_Reverse_Iterator.
4382 * examples/Connection/non_blocking/test_tli_connector.cpp:
4383 * examples/Connection/non_blocking/test_sock_connector.cpp:
4384 * examples/Connection/non_blocking/test_lsock_connector.cpp:
4385 * examples/Connection/non_blocking/test_spipe_connector.cpp:
4386 * examples/Connection/misc/test_upipe.cpp:
4387 * examples/Connection/blocking/SPIPE-connector.cpp:
4388 * examples/ASX/UPIPE_Event_Server/Supplier_Router.cpp:
4389 * examples/ASX/UPIPE_Event_Server/Consumer_Router.cpp:
4390 * examples/ASX/Event_Server/Transceiver/transceiver.cpp:
4391 * examples/ASX/Event_Server/Event_Server/Peer_Router.cpp:
4392 * apps/JAWS/clients/Caching/http_handler.cpp:
4393 * apps/JAWS/clients/Blobby/Blob.cpp:
4394 * apps/Gateway/Peer/Peer.cpp:
4395 * apps/Gateway/Gateway/Event_Channel.cpp:
4396 * apps/Gateway/Gateway/Proxy_Handler.cpp:
4397 * apps/Gateway/Gateway/Proxy_Handler_Connector.cpp:
4398 * tests/Reactor_Performance_Test.cpp:
4399 * tests/Priority_Reactor_Test.cpp:
4400 * tests/Map_Manager_Test.cpp:
4401 * tests/Conn_Test.cpp:
4402 * netsvcs/lib/TS_Clerk_Handler.cpp:
4403 * ace/Token_Manager.cpp:
4404 * ace/Token_Invariants.cpp:
4405 * ace/Token_Collection.cpp:
4406 * ace/Local_Name_Space.cpp: Added explicit template instantiation
4407 for ACE_Map_Iterator_Base.
4409 * ace/Map_Manager.{h,cpp}: Added a new class ACE_Map_Iterator_Base
4410 to abstract out most common functionalities from
4411 ACE_Map_Iterator and ACE_Map_Reverse_Iterator. Added some
4412 missing functions to both iterator classes.
4414 Fri Jan 2 12:39:45 1998 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
4416 * ace/Map_Manager.h:
4417 Another declaration removed from ACE_Map_Reverse_Iterator,
4418 operator* is defined in the base class.
4420 * tests/Conn_Test.cpp:
4421 * tests/Priority_Reactor_Test.cpp:
4422 * tests/Reactor_Performance_Test.cpp:
4423 The instantiation of ACE_Map_Manager *requires* instantiating
4424 ACE_Map_Reverse_Iterator.
4427 Cannot use ACE_ASSERT in OS.i, at least it make SGI compiler
4430 * ace/Map_Manager.cpp:
4431 Several methods for ACE_Map_Manager were not given their fully
4435 The error code should be stored in errno, not in "error".
4437 Fri Jan 2 17:02:36 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
4439 * tests/run_tests.sh: Added Env_Value_Test to the list of tests to
4442 * tests/Env_Value_Test.cpp (main): Fixed wrong test for negative
4443 values with unsigned longs. Thanks to David Levine and
4444 Linux/Alpha for finding this.
4446 * tests/Env_Value_Test.cpp (main): Changed the definition of the
4447 TEST_THIS macro to be all on one line. While ugly, this helps in
4448 locating the line when ACE_ASSERT fails, since allowing the macro
4449 to have multiple lines skews the line # reported by ACE_ASSERT.
4451 * ace/Env_Value_T.*: Fixed lots of little bugs that got past both
4452 g++ and Solaris compilers, but were caught by the ever-skeptical
4453 SGI compiler. This included providing a definition for the missing
4454 'varname(void)' method.
4456 Fri Jan 02 10:12:28 1998 Steve Huston <shuston@riverace.com>
4458 * ace/config-hpux-10.x-g++.h: Added #define HPUX_10 to catch OS
4459 version-dependent code correctly.
4461 Fri Jan 02 07:06:44 1998 David L. Levine <levine@cs.wustl.edu>
4463 * apps/Gateway/Gateway/Makefile: restored the .obj/*.o targets.
4464 They don't affect the build of the shared lib and are used if
4465 the unshared lib is built.
4467 * apps/Gateway/Gateway/Options.h: added missing , in enum definition.
4469 * apps/Gateway/Gateway/Options.cpp (Options ctor): reordered
4470 initializers to match declaration order.
4472 * apps/Gateway/Gateway/Config_Files.cpp (read_entry): fixed syntax
4473 error, missing "if" after "else". Added #include of Options.h.
4475 * ace/OS.i (rw_trywrlock_upgrade): added ACE_UNUSED_ARG (rw) with
4478 * ace/Synch.i (tryacquire_write_upgrade): only define if
4481 * tests/test_config.h: hacked ACE_INIT_LOG to work on VxWorks.
4482 VxWorks gets upset if its asked to unlink a nonexistant file.
4484 * ace/Basic_Types.*: if using ACE_U_LongLong, #define
4485 ACE_USES_ACE_U_LONGLONG and use that in the .i and .cpp files
4486 instead of repeating all of the complex preprocessor tests
4487 in Basic_Types.h. Thanks to Carlos for suggesting this.
4489 * ace/Env_Value_T.cpp: added protection against multiple inclusion.
4491 * tests/Env_Value_Test.cpp: added ACE_Env_Value<long> instantiation.
4493 Fri Jan 02 00:47:33 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
4495 * ACE version 4.4.13, released Fri Jan 02 00:47:33 1998.
4497 Fri Jan 2 00:17:04 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
4499 * Reader_Writer_Test.cpp: Changed from an ACE_RW_Mutex to an
4500 ACE_RW_Thread_Mutex so that we can use the new
4501 tryacquire_write_upgrade() method.
4503 * ace/Env_Value_T.h: Reformatted the file a bit to conform to
4504 ACE coding conventions.
4506 Thu Jan 1 12:04:29 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
4508 * apps/Gateway/Peer/Options.cpp (parse_args): Changed the option
4509 to set the passive acceptor port from -p to -a. This is now
4510 consistent with the option for active connector port number,
4513 * apps/Gateway/Gateway/Gateway.cpp (fini): Added a call to
4514 ACE::remove_stdin_handler(), which removes the handler for
4515 ACE_STDIN so the gatewayd will shutdown cleanly.
4517 * ace/ACE: Added a new method, remove_stdin_handler(), which is
4518 the inverse of the register_stdin_handler() method. However,
4519 I'm not sure how to make this work on NT!
4521 * examples/Reactor/Misc/notification.cpp: Removed some
4522 CHORUS-specific, which should be a no-op with our new signal()
4523 and sigaction() scheme.
4525 * ace/OS.i: Enhanced the signal() and sigaction() wrappers so that
4526 they simply ignore signums of 0. This means that we don't need
4527 to special case all this stuff throughout ACE anymore.
4529 * ace/OS.h: Changed all the #defines for various SIG* so that they
4530 are all 0. This way, we can ensure that the signal() functions
4531 in ACE_OS can correctly ignore these signals. This should clean
4532 up a ton of platform-dependent code throughout ACE.
4534 * apps/Gateway/Gateway/File_Parser.cpp (getint): Added a new
4535 special-case check for the '*' character, which indicates "use
4536 the default value for this field."
4538 * apps/Gateway/Gateway/Options: Added a new option to provide a
4539 default max retry timeout.
4541 * tests/Reader_Writer_Test.cpp: Enhanced the test so that it
4542 exercises the new "upgrade" feature of RW_Thread_Mutexes.
4544 * ace/{OS,Synch}: Added new methods,
4545 ACE_OS::rw_trywrlock_upgrade() and
4546 ACE_RW_Thread_Mutex::tryacquire_write_upgrade() that
4547 conditionally upgrade a read lock to a write lock. This only
4548 works if there are no other readers present, in which case the
4549 method returns 0. Otherwise, the method returns -1 and sets
4550 errno to EBUSY. Note that the caller of this method *must*
4551 already possess this lock as a read lock.
4553 * apps/Gateway/{Gateway,Peer}/Makefile: Removed the $(VLIB) macro
4554 so that we don't try to build the lib*.a files by default.
4555 Thanks to David Levine for explaining this.
4557 * apps/Gateway/Gateway: Added new Options.{h,cpp} files and
4558 rearranged the program to centralize all options processing in
4559 an Options Singleton.
4561 * apps/Gateway/Peer/Options.cpp (parse_args): Changed the
4562 connector and acceptor options to use a more generalizable
4563 format. Now we can set the Consumer and Supplier port numbers
4566 * apps/Gateway/Gateway/Event.h: This is currently where the macros
4567 from the following bullets have been moved, so they can be
4568 shared by the Peer and Gateway components.
4570 * ace/OS.h: Moved the ACE_DEFAULT_{GATEWAY,PEER}_SERVER_PORT
4571 macros into the Gateway application, where they belong.
4573 * apps/Gateway/Peer/Options.cpp (parse_args): Changed the option
4574 to set the passive acceptor port from -p to -a. This is now
4575 consistent with the option for active connector port number,
4578 * apps/Gateway/Gateway/Gateway.cpp (fini): Added a call to
4579 ACE::remove_stdin_handler(), which removes the handler for
4580 ACE_STDIN so the gatewayd will shutdown cleanly.
4582 * ace/ACE: Added a new method, remove_stdin_handler(), which is
4583 the inverse of the register_stdin_handler() method. However,
4584 I'm not sure how to make this work on NT!
4586 * examples/Reactor/Misc/notification.cpp: Removed some CHORUS-specific
4587 code, which should be a no-op with our new signal() and sigaction()
4590 * ace/OS.i: Enhanced the signal() and sigaction() wrappers so that
4591 they simply ignore signums of 0. This means that we don't need
4592 to special case all this stuff throughout ACE anymore.
4594 * ace/OS.h: Changed all the #defines for various SIG* so that they
4595 are all 0. This way, we can ensure that the signal() functions
4596 in ACE_OS can correctly ignore these signals. This should clean
4597 up a ton of platform-dependent code throughout ACE.
4599 * apps/Gateway/Gateway/Gateway.cpp (init): Revised the code a bit
4600 to factor out platform-dependent signal handling stuff in the
4603 * apps/Gateway/Gateway/gatewayd.cpp: Cleaned up the gatewayd main
4604 program so that it reuses more ACE components and so that it is
4607 Thu Jan 01 18:24:56 1998 Nanbor Wang <nw1@cs.wustl.edu>
4609 * apps/Gateway/Gateway/Gateway.dsp: Added new file Options.cpp.
4611 * apps/Gateway/Gateway/Options.cpp (ACE_BUILD_SVC_DLL): Added
4612 #define ACE_BUILD_SVC_DLL.
4614 * netsvcs/lib/Base_Optimizer.i: Removed this file.
4616 * netsvcs/lib/Base_Optimizer.h: Added codes to include in the
4617 source file conditionally if needed.
4619 * netsvcs/lib/Base_Optimizer.cpp: Moved template implementation
4620 from .i file. Removed ACE_INLINE keyword.
4622 * netsvcs/lib/Server_Logging_Handler.cpp: Added explicit template
4623 instantiation macros.
4625 Thu Jan 01 17:13:06 1998 David L. Levine <levine@cs.wustl.edu>
4627 * apps/Gateway/Peer/Peer.cpp (Peer_Connector::open): added
4628 return 0 statement at end.
4630 * apps/Gateway/Gateway/Options.cpp (Options ctor): reordered
4631 initializers to match declaration order.
4633 * apps/Gateway/Gateway/Makefile: removed LOBJ and SHOBJ macros
4634 because they're not needed. And, restored BUILD so that static
4635 lib will be built if requested.
4637 * include/makeinclude/rules.lib.GNU: added OBJEXT macro, defaulted
4638 to "o", and use it in VOBJS definition.
4640 * include/makeinclude/wrapper_macros.GNU: if building shared libs
4641 only, set OBJEXT to "so" and VDIR to .shobj/, so that only shared
4642 objects will be built.
4644 * apps/Gateway/Peer/Peer.cpp: added template instantiations.
4646 * netsvcs/lib/Base_Optimizer.*,Makefile: moved inline functions
4647 to .i file and changed inline to ACE_INLINE.
4649 * netsvcs/lib/Server_Logging_Handler_T.{h,cpp}: don't use
4650 Base_Optimizer with g++. Some versions of g++ 2.7.x have
4651 trouble with its inline template member functions, especially
4652 if __ACE_INLINE__ is disabled.
4654 Thu Jan 01 07:56:17 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
4656 * ACE version 4.4.12, released Thu Jan 01 07:56:17 1998.
4658 Thu Jan 01 00:28:46 1998 Nanbor Wang <nw1@cs.wustl.edu>
4660 * apps/Gateway/Peer/Peer.dsp: Added a new file "Options.cpp" into
4663 * tests/Env_Value_Test.cpp (main): Changed variable name: 'environ'
4664 to 'envp'. Real OSes don't understand what the word means
4665 and Access Violations will occur.
4667 * tests/run_tests.bat: Added Env_Value_Test.
4669 * tests/version_tests/version_tests.dsw:
4670 * tests/tests.dsw: Added Env_Value_Test.dsp.
4672 * tests/version_tests/Env_Value_Test.dsp:
4673 * tests/Env_Value_Test.dsp: New file.
4675 Thu Jan 1 00:00:00 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
4677 * Happy New Year! Here's a thought for the new year, courtesy of
4680 Nothing in the world is permanent,
4681 and we're foolish when we ask anything to last;
4682 but surely we're still more foolish
4683 not to take delight in it while we have it.
4685 - W.Somerset Maugham (Razor's Edge)
4687 Wed Dec 31 19:10:59 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
4689 * apps/Gateway/Peer/Peer: Added the hooks for making the Peer a
4690 Connector, as well as an Acceptor. Now it's time to have some
4693 * apps/Gateway/Peer/peerd.cpp: Cleaned up the peerd main program
4694 so that it reuses more ACE components and so that it is more
4697 * netsvcs/servers/main.cpp (main): Revised the code a bit to
4698 factor out platform-dependent signal handling stuff in the right
4701 * apps/Gateway/Peer: Factored out some common initialization code
4702 to create an Options Singleton. Yowza!
4704 * apps/Gateway/README: Improved the documentation so that its
4705 easier to tell what's supposed to happen and how to configure
4708 * apps/Gateway/Peer/Peer: Moved the Peer_Acceptor into the Peer.h
4709 file and updated the documentation to clarify what's going on
4712 * examples/Reactor/Dgram/: Enhanced the examples to make sure they
4713 close() the dgram endpoint when the object is removed from the
4714 Reactor. Thanks to Evgeny Beskrovny
4715 <evgeny_beskrovny@icomverse.com> for reporting this.
4717 * ace/Obstack.cpp: Fixed a stupid bug in the ACE_Obstack
4718 constructor. Thanks to David Levine for reporting this.
4720 * ace/Local_Name_Space_T.h: Updated the documentation for class
4721 ACE_Name_Space_Map to make it more clear.
4723 Wed Dec 31 21:21:50 1997 David L. Levine <levine@cs.wustl.edu>
4725 * examples/Reactor/Dgram/{CO,Dgram.cpp} (handle_close): added
4726 ACE_UNUSED_ARG (handle).
4728 * tests/Env_Value_Test.cpp (main): removed unused arg argv and
4729 local envargv. undef'ed ACE_HAS_NONSTATIC_OBJECT_MANAGER because
4730 it can't deal with the three arguments to main ().
4732 Wed Dec 31 16:25:16 1997 Chris Cleeland <cleeland@cs.wustl.edu>
4734 * ace/Env_Value_T.*: Added a new template (ACE_Env_Value) which is
4735 a typesafe encapsulation of environment variables with the
4736 ability to provide a value to be used as a default if the
4737 variable isn't set. An example of its use can be seen in the
4738 corresponding test, tests/Env_Value_Test.cpp. Thanks to Carlos
4739 O'Ryan for giving me the seed that started this.
4741 * tests/Env_Value_Test.cpp: Added test for the new template added
4744 * tests/Makefile: Added new Env_Value_Test test to the Makefile.
4746 * ace/OS.{h,i} (strtod): Added new function for converting strings
4749 Tue Dec 30 22:07:44 1997 David L. Levine <levine@cs.wustl.edu>
4751 * ace/High_Res_Timer.cpp (elapsed_time): added a cast in
4752 calculation of useconds to avoid MSVC++ warning about narrowing.
4753 Thanks to Nanbor for reporting this.
4755 * ace/OS.i (gethrtime): commented out high-res tick counter on Linux
4756 because it doesn't seem to work properly. Use ::gettimeofday ()
4759 * tests/Basic_Types_Test.cpp (main): replaced #ifdef VXWORKS && ghs
4760 with !ifdef ACE_HAS_WCHAR_TYPEDEFS_CHAR.
4762 * ace/Map_Manager.cpp (operator*): fixed typo in "ACE_Map_Entry".
4764 * ace/OS.h: added ACE_NSIG. In addition, I removed this:
4766 // Why is this defined? It must be a std C library symbol.
4771 We #define NSIG elsewhere on platforms (VxWorks, MVS) that need it.
4772 #defining it to be 0 isn't good; it's better to catch the lack of
4773 NSIG at compile time than at run time.
4775 * ace/{Log_Msg.cpp,OS.i,Select_Reactor.cpp,Signal.*,WFMO_Reactor.i},
4776 tests/Sigset_Ops_Test.cpp: replace NSIG with ACE_NSIG.
4778 * ace/Basic_Types.{h,i}: only use u_longlong_t on sun. Added
4779 operator++ to ACE_U_LongLong, and tweaked calculation in operator/.
4781 * tests/Time_Value_Test.cpp (test_ace_u_longlong_): added test of
4782 operator+, and one simple test of operator/.
4784 * ace/Filecache.h: removed extra , in enum ACE_Filecache_Flag definition.
4786 Tue Dec 30 20:32:03 1997 Nanbor Wang <nw1@cs.wustl.edu>
4788 * ace/Map_Manager.{h,cpp}: Added STL-styled iterator function.
4789 Changed the references to ACE_Map_Manager within interator
4790 classes to pointers so we can check errors.
4792 Tue Dec 30 14:56:18 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
4794 * ace/Obstack: Enhanced ACE_Obstack so that it can be given a
4795 pointer to an allocator strategy. This allows users to take
4796 complete control of where the memory comes from for the Obstack.
4798 * ace/Obstack: Changed the default value of "size" so that it is
4799 (4096 - sizeof (ACE_Obstack)).
4801 * ace/Obstack: Added a new ACE_Obchunk constructor to simplify
4804 Mon Dec 29 20:21:32 1997 Steve Huston <shuston@riverace.com>
4806 * include/makeinclude/rules.lib.GNU: Adjusted dependencies on building
4807 a shared library to be on the object modules it will link in, not
4808 necessarily $(VSJOBJ).
4810 Mon Dec 29 18:53:35 1997 James C Hu <jxh@cs.wustl.edu>
4812 * ace/Filecache.h: Added an enum type, ACE_Filecache_Flag, which
4813 gets passed into the ACE_Filecache_Handle constuctor to help
4814 determine whether or not to use memory mapping (on Windows NT,
4815 we sometimes do not want to memory map).
4817 * ace/Filecache.cpp: Required modifications to accomodate the
4818 ACE_Filecache_Flag parameter.
4820 Mon Dec 29 15:37:24 1997 Nanbor Wang <nw1@cs.wustl.edu>
4822 * ace/OS.i (event_timedwait): Added codes to guard against
4823 negative wait time since we are passing an absolute time value
4824 here, we may way past the target time when it gets called.
4825 Thanks to Norbert Rapp <NRapp@nexus-informatics.de> for pointing
4828 Mon Dec 29 13:57:43 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
4830 * ace/XtReactor.cpp:
4831 Fixed syntax error, apparently some kind of typo.
4834 The ACE_*_cast() macros had (IMHO) surprizing priority, added
4835 some parenthesis to make them behave as the new cast operators
4838 Mon Dec 29 08:59:28 1997 David L. Levine <levine@cs.wustl.edu>
4840 * ace/Basic_Types.h: Linux w/o glibc 2.0 doesn't have u_longlong_t,
4841 so use "unsigned long long" for it.
4843 * ace/Task.cpp (activate): added ACE_UNUSED_ARG (thread_handles) on
4844 non-threaded platforms.
4846 * ace/Thread_Manager.cpp (wait): added ACE_UNUSED_ARG
4847 (abandon_detached_threads) on non-threaded platforms.
4849 * performance-tests/Misc/childbirth_time.cpp (prof_ace_os_thread):
4850 added ACE_UNUSED_ARG (iteration) on non-threaded platforms.
4852 * performance-tests/Misc/preempt.cpp (main): added ACE_UNUSED_ARG
4853 for argc and argv on non-threaded platforms.
4855 * include/makeinclude/platform_linux.GNU: enabled compiler warnings
4856 by replacing -w with -Wall -Wpointer-arith in CFLAGS.
4858 * ace/ACE.cpp (count_interface,get_handle,get_ip_interfaces): use
4859 same code for LynxOS as for __unix.
4861 * ace/OS.h: on LynxOS, redefine NSIG to be one greater than the
4862 highest-numbered signal. LynxOS' signal.h #defines it to be
4863 equal to the highest-numbered signal, 64.
4865 Mon Dec 29 08:35:17 1997 Steve Huston <shuston@riverace.com>
4867 * include/makeinclude/platform_hpux_aCC.GNU: Removed the PRELIB
4868 and PRELIB_USES_OBJ_ONLY stuff; merged in macros for building
4870 * include/makeinclude/platform_hpux11_aCC.GNU - Removed this file.
4871 The 10.x and 11.x builds are now both controlled by
4872 platform_hpux_aCC.GNU.
4874 Sun Dec 28 10:50:54 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
4876 * ACE version 4.4.11, released Sun Dec 28 10:50:54 1997.
4878 Sat Dec 27 18:03:52 1997 Nanbor Wang <nw1@merengue.cs.wustl.edu>
4880 * ace/Log_Msg.cpp (dump): Sould test if we have a valid thr_desc
4881 before dumping the information of it. Thanks to Luca Priorelli
4882 <lucapri@mbox.vol.it> for pointing this out.
4884 Sat Dec 27 16:13:59 1997 David L. Levine <levine@cs.wustl.edu>
4886 * ace/{OS.i,config-linux-common.h,README} (getrusage,{get,set}rlimit):
4887 added ACE_HAS_RUSAGE_WHO_ENUM and ACE_HAS_RLIMIT_RESOURCE_ENUM
4888 support. glibc 2.0 for Linux uses enums for the first arguments
4889 to ::getrusage and ::{get,set}rlimit.
4891 Fri Dec 26 18:04:06 1997 <nw1@JIG>
4893 * ace/Containers.h: Added iterator traits for following classes.
4897 ACE_Double_Linked_List
4900 Thanks to <???> for recommending this.
4902 Fri Dec 26 12:03:05 1997 David L. Levine <levine@cs.wustl.edu>
4904 * ace/config-osf1-4.0.h: added support for DCE threads, and merged in
4905 config-osf1-4.0-g++.h. Thanks to Frederic Andres
4906 <andres@rd.nacsis.ac.jp> for the DCE threads support #defines.
4908 * ace/config-osf1-4.0-g++.h: removed. All Digital Unix 4.0 configs
4909 are now supported by config-osf1-4.0.h.
4911 * ace/platform_osf1_4.0.GNU: added comment on how to use DCE threads
4912 instead of POSIX threads.
4914 * ace/OS.i (thr_{get,set}prio): don't apply the
4915 !defined(ACE_LACKS_SETSCHED) test if ACE_HAS_DCETHREADS.
4917 * ace/OS.cpp (thr_create): added || ACE_HAS_DCETHREADS to
4918 #ifndef ACE_LACKS_SETSCHED, so that priority is set with DCETHREADS.
4920 * ace/OS.cpp (sched_params): moved paren so that DCETHREADS block
4921 will be executed even if ACE_LACKS_SETSCHED.
4923 * ace/Sched_Params.cpp ({next,previous)_priority): added
4924 ACE_HAS_DCETHREADS check before !defined(ACE_LACKS_SETSCHED).
4926 * ace/OS.i (cond_timedwait): wrapped first arg to ACE_OSCALL in
4927 parens because it confused cxx.
4929 * examples/System_V_IPC/SV_Message_Queues/{,T}MQ_Server.cpp: renamed
4930 variable msgque because it conflicted with a symbol in the DEC cxx
4931 w/DCE threads headers.
4933 * ACE-INSTALL.html: expanded discussion of gcc config.status file.
4934 Thanks to Hans Rohnert <rohnert@scr.siemens.com> for figuring
4935 out the role of the config.status file.
4937 Fri Dec 26 06:44:25 1997 <nw1@JIG>
4939 * ace/OS.h (ACE_OS::ace_flock_t): Added a new field "lockname_" to
4940 remember the lock filename.
4942 * ace/OS.i (flock_init,flock_destroy): We need to remember the
4943 name of the lock file when initializing the lock and unlink the
4944 file when destroying the lock.
4946 Thu Dec 25 18:08:42 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
4948 * ace/XtReactor.cpp: Removed g++ warning about initialization
4949 order, enabled read/write masks for
4950 ACE_Event_Handler::CONNECT_MASK; fixed typo that checks a write
4951 mask, but sets a read mask; removed unused variable "zero."
4952 Thanks to Eric Newton for these fixes.
4954 Thu Dec 25 17:17:16 1997 <nw1@JIG>
4956 * ace/config-win32.h: * ace/config-win32-common.h: Added macro
4957 definitions not to use C++-styled castings on Win32 by default
4958 so that we don't depend on the RTTI support.
4960 Thu Dec 25 16:18:03 1997 <irfan@PACHANGA>
4962 * ace/SString.h (ACE_CString and ACE_WString): Added c_str() to
4963 make it similar to STL's string class.
4965 Wed Dec 24 19:59:15 1997 David L. Levine <levine@cs.wustl.edu>
4967 * tests/IOStream_Test.cpp (client): changed stream error message
4968 from "timeout" to "timed out", so that run_tests.check won't
4971 Wed Dec 24 18:37:49 1997 <nw1@JIG>
4973 * ace/Synch.i (get_thread_id,get_nesting_level): Added ACE_INLINE.
4975 Wed Dec 24 18:31:31 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
4977 * ACE version 4.4.10, released Wed Dec 24 18:31:31 1997.
4979 Wed Dec 24 14:27:33 1997 <nw1@JIG>
4981 * ace/Synch.{h,i,cpp} (ACE_Recursive_Thread_Mutex): Changed
4982 ACE_Recursive_Thread_Mutex to inherit from ACE_Thread_Mutex on
4983 Win32 because ACE_Thread_Mutex is already recusive on Win32.
4985 Wed Dec 24 08:14:32 1997 David L. Levine <levine@cs.wustl.edu>
4987 * ace/Log_Msg.cpp (instance): without threads, dynamically create
4988 the ACE_Log_Msg instance instead of using a static. Now, without
4989 threads, the ACE library has no statics that require destruction
4990 (at least on Solaris/g++ and Linux). And, all of the ACE tests
4993 * ace/OS.cpp (ACE_Thread_Adapter::invoke): wrapped
4994 rethrow_w32_structural_exception () call with #ifdef ACE_WIN32.
4995 It was eliminated by the ACE_SEH_EXCEPT macro on non-WIN32
4996 platforms, but some compilers (cxx) warned about the
4997 unreachable code. This call is only supported on WIN32 anyways.
4999 * ace/OS.h: LynxOS has ACE_HAS_PTHREADS_1003_DOT_1C, but not
5000 ACE_HAS_PTHREAD_SIGMASK.
5002 * tests/Time_Value_Test.cpp: only test ACE_U_LongLong on Solaris,
5003 and other platforms with STHREADS.
5005 Wed Dec 24 04:25:49 1997 <nw1@DINGO>
5007 * ace/OS.i (sema_init): Added checking for initial semaphore
5008 counts and set the semaphore to non-signaled state if the
5009 initial count is zero. Changed the internal variable lock from
5010 a mutex to a thread_mutex (Critical Section.)
5012 Tue Dec 23 21:06:14 1997 David L. Levine <levine@cs.wustl.edu>
5014 * ace/TLI_Stream.cpp (get_remote_addr): added ACE_UNUSED_ARG
5015 for the arg if ! ACE_HAS_SVR4_TLI.
5017 * examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp (main): declare
5018 local "i" outside the for loop because it is used after the loop.
5020 Tue Dec 23 19:34:10 1997 <nw1@JIG>
5022 * ace/OS.i: Added comments for semaphore simulation.
5024 Tue Dec 23 19:33:59 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
5026 * ACE version 4.4.9, released Tue Dec 23 19:33:59 1997.
5028 Tue Dec 23 19:05:32 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
5030 * tests/IOStream_Test.cpp (server): Changed sleep(30) to
5031 sleep(5). This seems more reasonable. Thanks to
5032 James Johnson for this suggestion.
5034 Tue Dec 23 16:43:14 1997 Steve Huston <shuston@riverace.com>
5036 * ace/README: Added descriptions for ACE_HAS_PTHREADS_1003_DOT_1C (this
5037 was in use previously but not documented), ACE_HAS_XTI (new; XTI is
5038 the POSIX superset of TLI - this implies ACE_HAS_TLI),
5039 ACE_NEW_THROWS_EXCEPTIONS (new; the compiler throws bad_alloc if
5040 a 'new' memory allocation fails).
5042 * ace/Hash_Map_Manager.cpp - Workaround for an aC++ bug in the HP-UX 11
5043 version of the compiler.
5045 * ace/INET_Addr.cpp: Note the failing host name in the error message
5046 from ACE_INET_Addr::ACE_INET_Addr(u_short, const char []).
5048 * ace/OS.h: Changes made while porting to HP-UX 11:
5049 - If ACE_HAS_PTHREADS_1003_DOT_1C (POSIX.1C), it implies (by
5050 way of POSIX.1C) that these also be set:
5051 ACE_HAS_PTHREAD_SIGMASK
5052 ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R
5053 This is intended to make the process of configuring a new
5054 new platform easier.
5055 - If the new config macro ACE_NEW_THROWS_EXCEPTIONS is set, include
5056 the file <new>. The "proper" thing to do is to include
5057 <stdexcept>; however, at least on HP-UX 11, this will cause
5058 other things to get brought in, like <memory>, which will
5059 screw up auto_ptr. The day that all this standard library and
5060 STL stuff is finally straight, there will be dancing in the
5062 - Support including the proper header file for XTI when it's
5063 supposed to use <xti.h> rather than <tiuser.h> (POSIX specifies
5064 XTI, a superset of TLI, to have <xti.h>)
5065 - If ACE_NEW_THROWS_EXCEPTIONS is set, the ACE_NEW and
5066 ACE_NEW_RETURN macros handle the exception.
5068 * ace/OS.i: Fixed check for failure in ACE_OS::sema_init.
5070 * ace/config-hpux11.h:
5071 * ace/config-hpux11-hpc++.h: New configs for HP-UX 11.00
5073 * include/makeinclude/platform_hpux11_aCC.GNU: Platform macros for
5074 HP-UX 11. It is set up for 32-bit build with comments for how to
5077 * examples/Makefile: Added Naming to the directory list to build.
5079 * examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp: Changed test from
5080 ACE_HAS_SVR4_POLL to ACE_HAS_POLL.
5082 * examples/IPC_SAP/SOCK_SAP/C-inclient.cpp:
5083 * examples/IPC_SAP/SOCK_SAP/CPP-unclient.cpp:
5084 * examples/IPC_SAP/SOCK_SAP/CPP-unserver.cpp:
5085 * examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp: Fixed a char * being
5086 initialized by a string literal.
5088 * examples/Map_Manager/test_hash_map_manager.cpp: Added #include
5091 * examples/Mem_Map/IO-tests/test_io.cpp: Fixed a char * being
5092 initialized by a string literal. Fixed diagnostic statements.
5094 * examples/Naming/test_multiple_contexts.cpp:
5095 * examples/Naming/test_non_existent.cpp:
5096 * examples/Naming/test_writers.cpp: Added Id line for CVS.
5098 * tests/Time_Value_Test.cpp: Added #include "test_config.h"
5100 Tue Dec 23 16:12:28 1997 <nw1@DINGO>
5102 * ace/OS.i: Must use ACE_OS::sema_wait instead of waiting on the
5103 singling event when using simulated semaphores.
5105 Tue Dec 23 08:32:00 1997 Chris Gill <cdgill@cs.wustl.edu>
5107 * include/makeinclude/platform_sunos5_g++.GNU
5108 Removed trailing spaces from CC and CXX macros
5109 (the trailing space behind CXX was giving the TAO_IDL
5112 Tue Dec 23 07:26:28 1997 David L. Levine <levine@cs.wustl.edu>
5114 * ace/TLI.cpp (get_local_addr): return -1, instead of 0, and
5115 set errno (with ACE_NOTSUP_RETURN) if ! ACE_HAS_SVR4_TLI.
5116 ({set,get}_option): added ACE_UNUSED_ARfor all
5117 arguments if ! ACE_HAS_SVR4_TLI.
5119 * ace/TLI_Stream.cpp (get_remote_addr): return -1, instead of 0,
5120 and set errno (with ACE_NOTSUP_RETURN) if ! ACE_HAS_SVR4_TLI.
5121 Declare and set local "name" only if ACE_HAS_SVR4_TLI.
5123 * ace/TLI_Acceptor.cpp (handle_asynch_event): initialize local
5124 "event" instead of defining it in the switch condition, to
5125 avoid compiler warning about not using it.
5127 * examples/IPC_SAP/TLI_SAP/db-server.cpp (lookup_name): removed
5128 unused local variable "len".
5130 * include/makeinclude/platform_osf1_4.0.GNU: removed some warning
5131 suppressions that are no longer needed.
5133 * ace/Log_Msg.cpp (~ACE_Log_Msg): clean up the message queue and
5134 allocated strings on non-threaded platforms.
5136 * tests/test_config.h (ACE_APPEND_LOG): added a close () of the
5137 ace_file_stream before opening it. Forked children inherit the
5138 opened file stream, and fail on their attempt to open it if it
5139 is not explicitly closed.
5141 Mon Dec 22 22:42:57 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
5143 * ace/OS: Added a few minor changes to Nanbor's Semaphore
5144 emulation for WinCE.
5146 Mon Dec 22 11:39:19 1997 <irfan@PACHANGA>
5148 * OS.i (event_timedwait): Added code to handle timeouts. Thanks
5149 to Luca Priorelli <lucapri@mbox.vol.it> for reporting this.
5151 Mon Dec 22 07:03:13 1997 David L. Levine <levine@cs.wustl.edu>
5153 * ace/IOStream_Test.cpp (spawn): changed printout from
5154 "Process_Mutex_Test-children" to "IOStream_Test-children".
5156 Mon Dec 22 03:08:22 1997 <nw1@DINGO>
5158 * ace/OS.i: Modified ACE_OS::cond_* for WinCE.
5160 * ace/config-win32-common.h: Prevent ACE from using NT specific
5163 Sun Dec 21 16:19:40 1997 Nanbor Wang <nw1@merengue.cs.wustl.edu>
5165 * ace/OS.{h,i} (ACE_OS::sema_*): Added semaphore simulation code
5166 for WinCE. This code is currently protected
5167 ACE_USES_WINCE_SEMA_SIMULATION for debugging the code on NT.
5168 This flag should soon be obsolete and changed to ACE_HAS_WINCE.
5170 Moved ACE_event_t macro definition for Win32 before ACE_sema_t
5171 definition for NT. I need to use it in semaphore simulation.
5173 * ace/OS.h (class ACE_Cleanup_Info::operator ==, !=): Removed
5174 keyword struct. ACE_Cleanup_Info is a class now.
5176 * ace/Containers.h (class ACE_Double_Linked_List): Removed
5177 unused function declarations.
5179 * ace/Containers.h (class ACE_DNode): Removed ACE_DNode class.
5181 Sun Dec 21 18:47:09 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
5183 * ACE version 4.4.8, released Sun Dec 21 18:47:09 1997.
5185 Sun Dec 21 12:39:38 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
5187 * ace/OS.h (ACE_OS): Made the netdb_{acquire()/release()} methods
5188 public to help ACE users stuck on weird OS platforms. Thanks to
5189 Arturo Montes <mitosys@colomsat.net.co> for this suggestion.
5191 * ace: Changed all ACE class documentation so that it puts the
5192 =TITLE and =DESCRIPTION comments *after* the opening '{' rather
5193 than before. I did this since (1) it makes emacs C++ mode
5194 happier and (2) it makes Rational Rose reverse-engineering tool
5195 happier too. Thanks to Thomas Jordan
5196 <Thomas_Jordan@deluxedata.com> for suggesting this.
5198 * ace/LOCK_SOCK_Acceptor.h: The accept() method of class
5199 ACE_LOCK_SOCK_Acceptor is no longer a virtual. I don't know why
5200 this was made virtual in the first place, but it was a mistake.
5202 Sun Dec 21 15:24:42 1997 Nanbor Wang <nw1@merengue.cs.wustl.edu>
5204 * ace/OS.h (class ACE_Cleanup_Info::operator ==, !=): Removed
5205 keyword struct. ACE_Cleanup_Info is a class now.
5207 * ace/Containers.h (class ACE_Double_Linked_List): Removed
5208 unused function declarations.
5210 * ace/Containers.h (class ACE_DNode): Removed ACE_DNode class.
5212 Sat Dec 20 11:05:45 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
5214 * tests/test_config.h (ACE_INIT_LOG): Added (%P|%t) to an
5215 ACE_DEBUG statement to make it consistent.
5217 * tests/IOStream_Test.cpp (spawn): Revised the test so that it
5218 prints data correctly to the child processes.
5220 * examples/Shared_Malloc/test_multiple_mallocs.cpp (main): Moved
5221 the final print statement inside one of the if blocks so that it
5222 appears only every second invocation to remind people to rerun
5223 the program to remove the leaks. Thanks to Tom Arbuckle
5224 <arbuckle@uran.informatik.uni-bonn.de> for suggesting this.
5226 * ace/Malloc*: Changed ACE_MALLOC_STATS to ACE_HAS_MALLOC_STATS
5227 since this is more consistent with ACE conventions. Also,
5228 added ACE_HAS_MALLOC_STATS to the ace/README file. Thanks
5229 to Tom Arbuckle <arbuckle@uran.informatik.uni-bonn.de> for
5232 * ace/Memory_Pool.cpp (ACE_Shared_Memory_Pool): Fixed the logic
5233 for naming the backing store if the sscanf() call fails. Thanks
5234 to Tom Arbuckle <arbuckle@uran.informatik.uni-bonn.de> for
5237 Sat Dec 20 15:39:00 1997 Nanbor Wang <nw1@merengue.cs.wustl.edu>
5239 * tests/IOStream_Test.cpp (spawn): Changed ACE_LACKS_EXEC to
5242 Sat Dec 20 09:42:06 1997 David L. Levine <levine@cs.wustl.edu>
5244 * ace/OS.h: changed ACE_SEH_FINALLY to be if (1) on Unix, not
5247 Fri Dec 19 23:20:42 1997 Nanbor Wang <nw1@merengue.cs.wustl.edu>
5249 * tests/IOStream_Test.cpp (client): Removed an extra read.
5251 * ace/OS.h: ACE_SEH_FINALLY should always be executed on UNIX
5254 Fri Dec 19 18:49:26 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
5256 * ace/IOStream_T.i: Enhanced ACE_IOStream and its companions as
5259 - ACE_Streambuf_T<> now distinguishes recv() timeout failure from
5260 a "real" stream failure
5262 - ACE_IOStream::eof() honors the streambuf's recv_timeout() value
5263 and returns FALSE if the eof() check fails on timeout.
5265 - IOStream_Test.cpp tests the streambuf timeout via the stream eof()
5266 and retrys if possible.
5268 Thanks to James Johnson <jcej@lads.com> for these fixes.
5270 * ace/Log_Record.i: Removed a no-op assignment to Time_Value
5271 in the encode() method. Thanks to Patrick J. McNerthney
5272 <pat@thememedia.com> for reporting this.
5274 * ace/Log_Record.i: The time stamp put into the ACE_Log_Record
5275 gets all messed up when the ACE_Log_Record is transmitted to the
5276 Server_Logging_Handler and the client is run on a little-endian
5277 architecture. This is because the ACE_Log_Record::encode method
5280 this->time_stamp_ = ACE_Time_Value
5282 htonl (this->time_stamp_.sec ()),
5283 htonl (this->time_stamp_.usec ()));
5285 When the ACE_Time_Value is passed in the resulting values from
5286 "htonl", it calls "normalize" which totally messes with the
5287 values passed. Thanks to Patrick J. McNerthney
5288 <pat@thememedia.com> for reporting this.
5290 * ace/OS.i: Fixed ctime_r() so that it doesn't crash if a NULL is
5291 returned from ctime_r(). Thanks to Patrick J. McNerthney
5292 <pat@thememedia.com> for reporting this.
5294 Fri Dec 19 09:44:28 1997 David L. Levine <levine@cs.wustl.edu>
5296 * ace/OS.{h,i}: fixed sigwait for DEC cxx, yet again for cxx
5297 V6.0-010. cxx #defines sigwait, and was getting confused
5298 with ACE_OS::sigwait. I replaced Thilo's #undef sigwait,
5299 and updated the ::sigwait declaration to what cxx uses internally.
5301 * examples/IPC_SAP/SOCK_SAP/CPP-inserver.cpp (server): cast arg
5302 to long before casting to ACE_HANDLE, and removed function-style
5305 Fri Dec 19 00:39:40 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
5307 * ACE version 4.4.7, released Fri Dec 19 00:39:40 1997.
5309 Thu Dec 18 19:47:47 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
5311 * examples/IPC_SAP/SOCK_SAP: Stripped the CPP-in{server,client}.cpp
5312 tests down to their bare essence to only test the core features
5313 of sockets. Thanks to Bryan and Brian for suggesting this.
5315 * ace/Message_Queue.cpp (ACE_Message_Queue_Iterator): Changed
5316 queue to q to avoid clashes with STL. Thanks to Brian Mendel
5317 <bmendel@mdc.com> for reporting this.
5319 * ace/OS.h: The server logging daemon is implemented using TCP/IP
5320 under Win32. Therefore, we can simplify the creation of the
5321 ACE_DEFAULT_LOGGER_KEY. Thanks to Patrick J. McNerthney
5322 <pat@thememedia.com> for reporting this problem.
5324 Thu Dec 18 22:35:45 1997 David L. Levine <levine@cs.wustl.edu>
5326 * ace/OS.h: fixed typo in end-of-comment marker.
5328 * ace/OS.h: on Digital Unix 4.0, only declare sigwait () with cxx,
5329 not with g++. Thanks to Erik Margraf <erik@asgard.gud.siemens.co.at>
5332 * examples/IPC_SAP/SOCK_SAP/CPP-in{client,server}.cpp: tweaked
5333 so that they build on VxWorks (spawn needs the (ACE_THR_FUNC)
5334 cast), and without threads.
5336 * tests/run_tests.vxworks: updated VxWorks test status.
5338 * ace/Basic_Types.h: look for ULONGLONG_MAX, which Irix 6.x uses.
5339 And, hard-code ACE_SIZEOF_LONG_DOUBLE to be 16 on __sgi, because
5340 its float.h doesn't always allow us to distinguish them.
5341 Thanks to Carlos for reporting these.
5343 * ace/High_Res_Timer.cpp,Profile_Timer.cpp: removed dependence
5344 on ACE_U_LongLong. Thanks to Carlos for reporting this.
5346 * tests/Time_Value_Test.cpp: fixed #ifdefs so that ACE_ULongLong
5347 isn't tested on Irix 6.x, etc. Thanks to Carlos for tripping
5350 * ace/IOStream_T.i (eof): made the return type, int, explicit.
5352 * ace/config-linux-common.h: started adding support for threads on
5355 Thu Dec 18 21:17:46 1997 <nw1@DINGO>
5357 * ace/ace_dll.dsp: Added project files for Windows CE on SH3
5358 series CPU and x86 emulator.
5361 * ace/OS.h: Added Windows CE flags.
5363 * ace/OS.cpp (invoke): Added a dummy return to shut gcc up.
5365 * ace/OS.cpp (invoke): Added a dummy return to shut gcc up.
5367 * ace/OS.{h,cpp} (rethrow_w32_structural_exception): Added this
5368 function, which prints out an error message to indicate the
5369 occurance of structural exception and rethrow it again.
5370 (ACE_Thread_Adapter::invoke): Rearranged try and except block
5371 for Win32 and added a finally block so when a structural
5372 exception occurs, a thread can clean it up properly, print out
5373 an error message, and rethrow the exception again.
5375 Thu Dec 18 15:40:50 1997 James C Hu <jxh@cs.wustl.edu>
5377 * ace/Filecache.{cpp,h}:
5378 - debugged writing a file.
5379 - can select if mapping is desired.
5381 * ace/OS.h: Added new #defines to facilitate forward declarations
5382 of ACE_Export classes.
5384 Thu Dec 18 00:15:02 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
5386 * ACE version 4.4.6, released Thu Dec 18 00:15:02 1997.
5388 Wed Dec 17 19:42:38 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
5390 * examples/IPC_SAP/SOCK_SAP: Enhanced the
5391 CPP-{inserver,inclient}.cpp tests so that they will spawn
5392 multiple client and server threads to perform the data transfer.
5393 Thanks to Brian Mendel and Bryan Doerr for suggesting this.
5395 * ace/OS.i: Fixed some very subtle bugs with cond_signal() and
5396 cond_broadcast(). Thanks to Patrick J. McNerthney
5397 <pat@thememedia.com> for reporting these and sending the fixes.
5399 Wed Dec 17 19:27:06 1997 Nanbor Wang <nw1@merengue.cs.wustl.edu>
5401 * ACE-INSTALL.html (HREF): Added an advise not to use VC5.0 SP3.
5403 * examples/OS/Process/Makefile: Removed inclusion of
5404 rules.lib.GNU. Thanks to Avi Nash <anash@RedBrick.Com> for
5407 Tue Dec 16 22:09:42 1997 David L. Levine <levine@cs.wustl.edu>
5409 * tests/Time_Value_Test.cpp: restored #include test_config.h,
5410 and changed #include ace/config.h to ace/inc_user_config.h.
5412 * examples/IPC_SAP/TLI_SAP/ftp-server.cpp,
5413 examples/Reactor/Misc/test_timer_queue.cpp,
5414 examples/Service_Configurator/IPC-tests/server/Handle_Timeout.i,
5415 examples/Shared_Malloc/test_malloc.cpp,
5416 examples/Threads/thread_specific.cpp: replaced ACE_HAS_64BIT_LONGS
5417 preprocessor logic with a cast through a long to an int.
5418 A void * is the same size as a long on all currently supported
5419 ACE platforms. The int cast is also there, to avoid compiler
5420 warnings about narrowing. As a side effect, the function-style
5423 * ace/config-osf1*.h,README: added comment stating that
5424 ACE_HAS_64BIT_LONGS is deprecated.
5426 * ace/config-tandem.h: removed commented-out line that mentioned
5427 ACE_HAS_64BIT_LONGS.
5429 * ace/OS.{h,i} (sigwait): removed DEC cxx version dependence. The
5430 standard two-arg POSIX ::sigwait () seems to work just fine even
5431 on older releases of Digital Unix 4.0, with the sigwait declaration
5432 that we have in OS.h. Thanks to Erik Margraf
5433 <erik@asgard.gud.siemens.co.at> and Thilo
5434 <kielmann@informatik.uni-siegen.de> for helping to sort this out.
5436 I did change the ACE_OS::sigwait () return value determination
5437 in OS.i. It now depends on whether or not POSIX ::sigwait ()
5438 returns 0, to agree with the documenation for POSIX sigwait.
5439 Before, the code checked for a -1 return value from ::sigwait ().
5441 Tue Dec 16 21:00:49 1997 Chris Gill <cdgill@tango.cs.wustl.edu>
5443 Single Threaded port of ACE to pSOSim - first checkin
5445 * psosim/Makefile: (new) make file for new psosim directory -
5446 builds the configured simulator components
5448 * psosim/drv_conf.c: (new) board driver configuration code for
5451 * ace/sys_conf.h: (new) configuration settings for simulator, ACE
5453 * ace/config-psosim-g++.h: (new) config file for psosim w/ g++
5457 * ace/OS.i: Added psos and psosim specific code
5459 * ace/Mem_Map.cpp: Removed function style casts which were killing
5462 * ace/Message_Block.cpp: Removed function style casts which were
5465 * ace/Containers.cpp: Removed function style casts which were
5468 * ace/Map_Manager.cpp: Removed function style casts which were
5471 * tests/Handle_Set_Test.cpp: Added PSOS #defines, alongside those
5474 * tests/SOCK_Connector_Test.cpp: Added PSOS #defines, alongside
5477 * tests/Priority_Reactor_Test.cpp: Added PSOS #defines, alongside
5480 * tests/MM_Shared_Memory_Test.cpp: Added PSOS #defines, alongside
5483 * tests/Conn_Test.cpp: Added PSOS #defines, alongside those for
5486 * tests/run_tests.psosim: (new) script to run only those tests
5487 that are relevant to pSOSim, in its current single threaded
5490 * include/makeinclude/platform_psosim_g++.GNU (new) make macros
5491 for pSOSim using g++
5494 Tue Dec 16 17:23:49 1997 Nanbor Wang <nw1@merengue.cs.wustl.edu>
5496 * tests/Time_Value_Test.cpp: Removed inclusion of "ace/config.h".
5498 * ace/inc_user_config.h: Added this file to prevent multiple
5499 inclusions of config.h file. Replace `#include "ace/config.h"'
5500 with `#include "ace/inc_user_config.h"'.
5506 * ace/iosfwd.h: Replace "config.h" with "inc_user_config.h".
5508 Tue Dec 16 08:30:41 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
5510 * examples/IPC_SAP/FILE_SAP/client.cpp (main): Fixed "lines" to
5511 "links." Thanks to Istvan Buki <ibuki@fedex.com> for reporting
5514 Tue Dec 16 14:15:48 1997 <irfan@TWOSTEP>
5516 * ace/OS.i (fstat): Fixed Dr. Schmidt's typo.
5518 Tue Dec 16 09:17:53 1997 David L. Levine <levine@cs.wustl.edu>
5520 * ace/Singleton.cpp (cleanup): set instance pointer to 0 after
5521 deleting it. Thanks to Luca Priorelli <lucapri@mbox.vol.it>
5522 for suggesting this.
5524 * ace/Basic_Types.{h,i}: (ACE_U_LongLong): use ACE_UIN32 instead
5525 of u_long for data members, to ensure that its sizeof is 8 bytes.
5527 * ace/OS.h: except on WIN32 and Solaris (ACE_HAS_HI_RES_TIMER),
5528 always typedef ACE_hrtime_t to ACE_UINT64. This changes removes
5529 the dependence on ACE_HAS_64BIT_LONGS.
5531 * ace/OS.cpp (ACE_TSS_Keys): replaced ACE_HAS_64BIT_LONGS
5532 dependence with ACE_SIZEOF_LONG == 8, and similarly for
5533 determination of 4-byte longs.
5535 * tests/TSS_Test.cpp (worker): replaced ACE_HAS_64BIT_LONGS
5536 preprocessor logic with a cast of the void * argument to a long.
5537 A void * is the same size as a long on all currently supported
5538 ACE platforms. The int cast is also there, to avoid compiler
5539 warnings about narrowing.
5541 * tests/Time_Value_Test.cpp: replaced use of ! ACE_HAS_64BIT_LONGS
5542 with ACE_SIZEOF_LONG == 4.
5544 Mon Dec 15 22:47:24 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
5546 * ACE version 4.4.5, released Mon Dec 15 22:47:24 1997.
5548 Mon Dec 15 20:17:10 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
5550 * ace/OS.cpp: Fixed pread() and pwrite() so that they work
5551 correctly even if we don't support threads. Thanks to Irfan for
5554 * ace/OS.i: Tried to fix the fstat() wrapper on Win32 so that
5555 it does the right think for HANDLES. Thanks to Lori Anderson
5556 <lori@probita.com> for pointing this out.
5558 Mon Dec 15 15:36:07 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
5560 * ace/Thread_Manager.cpp (exit,wait): Changed these two functions
5561 more for Chorus. Thanks again to Wei Chian
5562 <chiang@tele.nokia.fi> for providing the patch.
5564 Mon Dec 15 06:42:42 1997 David L. Levine <levine@cs.wustl.edu>
5566 * ace/Log_Msg.cpp (instance): on non-threaded platforms, only
5567 allocate a new ACE_Log_Msg_message_queue if the (static) pointer
5568 is 0. Thanks to Stephen Coy <stevec@magna.com.au> for
5571 * ace/config-linux-common.h: updated header comments about
5572 autosensing the platform capabilities.
5574 * tests/Process_Strategy_Test.cpp: (parse_args): added DEBUG
5575 message if an unsupported concurreny strategy is provided with
5578 Mon Dec 15 01:12:33 1997 <irfan@TWOSTEP>
5580 * ace/Synch_T.h (ACE_Atmoic_Op::value_i): Explicitly return
5581 <value_> (by reference). This gives the user full, unrestricted
5582 access to the underlying value. This method will usually be
5583 used in conjunction with explicit access to the lock. Use with
5586 Sun Dec 14 21:37:08 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
5588 * ace/OS.i (cond_wait,cond_timedwait): Fixed a missing return to
5589 handle the case where we're using USYNC_PROCESS for the external
5592 * ace/OS: Made the use of the waiters_lock_ mutex consistent in
5593 the ACE_cond_t implementation. This was broken since we used
5594 the external_mutex to serialize access to the waiters_ count
5595 inconsistently. Thanks to Patrick J. McNerthney
5596 <pat@thememedia.com> for reporting this very subtle bug.
5598 Sun Dec 14 12:29:26 1997 Nanbor Wang <nw1@merengue.cs.wustl.edu>
5600 * ace/Thread_Manager.cpp (exit,wait): Disabled thread join
5601 functionality in Chorus. Thanks to Wei Chiang
5602 <chiang@tele.nokia.fi> for providing the fix.
5604 Fri Dec 12 21:48:38 1997 Torbjorn Lindgren <tl@funcom.com>
5606 * ace/config-linux*.h: All Linux platform files except the
5607 Linux-KCC modified to use the upgraded common Linux
5608 configuration file. Linux-KCC looks reasonably easy to do,
5609 if no-one that actually have KCC takes care of it I can do
5612 * ace/config-linux-common.h: Modernized and updated the common
5613 Linux configuration file to handle more of the common
5614 configuration stuff. Also added the beginning of proper
5615 glibc and egcs support for Linux.
5617 Sat Dec 13 14:22:28 1997 <irfan@TWOSTEP>
5619 * ace/Basic_Types.h: Changed _M_IX386 to _M_IX86.
5621 Fri Dec 12 19:41:42 1997 <irfan@TWOSTEP>
5623 * ace, tests, version_tests: Updated Win32 makefiles (VC4.2 and
5624 VC5.0) to include new Basic_Types_Tests.
5626 * tests/Basic_Types_Test.cpp (main): Updated to use
5627 ACE_OS::getpagesize().
5629 * ace/ACE.cpp (round_to_pagesize): Updated to use
5630 ACE_OS::getpagesize().
5632 * ace/OS.i (getpagesize): Added this to ACE_OS.
5634 Fri Dec 12 07:49:01 1997 David L. Levine <levine@cs.wustl.edu>
5636 * ace/OS.i (inet_addr): changed type of "valid" from bool to u_int.
5637 This code is only seen on VxWorks.
5639 * ace/IOStream.h (ACE_Quoted_String::operator <): changed return
5640 type from bool to int.
5642 * ace/config-vxworks*.h,README: removed ACE_LACKS_SOCKET_BUFSIZ;
5643 added ACE_DEFAULT_MAX_SOCKET_BUFSIZ of 32768.
5645 * examples/IPC_SAP/SOCK_SAP/C-in{client,server}.cpp: added
5646 support to optionally set socket buffer sizes.
5648 * examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp:
5649 removed unused constant SHMSZ.
5651 * examples/Timer_Queue/Reactor_Timer_Queue_Test.cpp: removed
5652 unused constant NO_OF_IO_HANDLERS.
5654 * ace/IOStream_T.h (ipfx,ipfx1): don't call setstate () on WIN32,
5655 because MS VC++ 5.0 doesn't declare it. Thanks to Irfan for
5656 reporting this. This "fix" is temporary, maybe, until we
5657 figure out the proper fix.
5659 * ace/OS.h: cast the 1 in ACE_MSB_MASK to an fd_mask, to support
5660 64-bit fd_masks. I suspect that with this change, the
5661 ACE_HAS_BROKEN_BITSHIFT used in config-tandem.h is no longer
5665 * ace/Basic_Types.*,Makefile: Basic_Types defines the
5666 following preprocessor macros:
5668 Sizes of built-in types:
5674 ACE_SIZEOF_LONG_LONG
5678 ACE_SIZEOF_LONG_DOUBLE
5680 Wrappers for built-in types of specific sizes:
5686 (Note: ACE_INT64 is not defined, because there is no ACE_LongLong for
5687 platforms that don't have a native 8-byte integer type.)
5689 Byte-order (endian-ness) determination:
5690 ACE_BYTE_ORDER, to either ACE_BIG_ENDIAN or ACE_LITTLE_ENDIAN
5691 ACE_BIG_ENDIAN or ACE_LITTLE_ENDIAN
5693 * ace/OS.*: moved ACE_U_LongLong to Basic_Types.*.
5695 * ace/OS.h: added #include <float.h>.
5697 * ace/config-linux-common.h,README: added ACE_HAS_BYTESEX_H.
5699 * tests/Basic_Types_Test.cpp,run_tests.{bat,sh,vxworks),Makefile:
5700 added new Basic_Types_Test.
5702 * tests/Time_Value_Test.cpp: removed ACE Version printout because
5703 it is now in Basic_Types_Test.
5705 Fri Dec 12 03:00:21 1997 James C Hu <jxh@cs.wustl.edu>
5707 * ace/config-sunos5.5-egcs-1.0.h: Fundamemntally identical to g++
5708 version, except added ACE_HAS_STDCPP_STL_INCLUDES, which is
5709 taken to mean that the Standard C++ STL include files are
5712 * IOStream.h: Added #if's to handle the case where
5713 ACE_HAS_STRING_CLASS, but if ACE_HAS_STDCPP_STL_INCLUDES, then
5714 the string class is found in <string>. Otherwise, it looks for
5717 * ace/OS.i: Re-implemented strcasecmp methods. Thought bad
5718 implementations were related to a JAWS bug, but the hand
5719 implementations are not used on Solaris.
5721 Thu Dec 11 23:20:57 1997 <irfan@TWOSTEP>
5723 * ace/Strategies_T.cpp (activate_svc_handler): Changed the
5724 parameter that was been passed into the open routine of
5725 Svc_Handler. The <arg> that was passed to us is passed through
5726 to open, rather than passing <this>. Thanks to Mats Nilsson
5727 <mats.nilsson@xware.se> for pointing this out.
5729 * ace/Connector.cpp (activate_svc_handler): Made sure that we pass
5730 the connector pointer as the void* parameter to the svc_handler.
5732 Thu Dec 11 23:35:04 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
5734 * ace/OS.i. The code was always calling dlsum for the _init()
5735 hook, even if dlopen() failed. In addition to fixing this, I
5736 also removed a potential handle leak. Thanks to Patrick
5737 J. McNerthney <pat@thememedia.com> for reporting this.
5739 Thu Dec 11 13:13:17 1997 David L. Levine <levine@cs.wustl.edu>
5741 * ace/LSOCK.cpp (recv_handle): fixed to remove compile errors and
5742 warnings on platforms with both ACE_HAS_4_4BSD_SENDMSG_RECVMSG
5743 and ACE_HAS_THREADS. The delta from version 4.3 of this file
5744 is very small. Thanks to Kirill Rybaltchenko
5745 <Kirill.Rybaltchenko@cern.ch> for reporting this problem and
5746 verifying the fix on LynxOS, the only affected platform.
5748 * ace/config-linux-kcc.h,include/makeinclude/platform_linux_kcc.GNU:
5749 added linuxthreads support with the linux KAI C++ config.
5750 Thanks to Ben Eng <ben@jetpen.com> for the patches.
5752 * ace/IOStream_T.h: iostream fx emulation now skips whitespaces and
5753 flushes when tied. Thanks to Ben Eng <ben@jetpen.com> for the patch.
5755 * tests/IOStream_Test.cpp (server): check for double-quote instead
5756 of newline as end-of-string character. Thanks to Ben Eng
5757 <ben@jetpen.com> for the patch.
5759 * tests/SV_Shared_Memory_Test.cpp: renamed "allocator" to
5760 "myallocator" to avoid conflict with STL. Thanks to Ben Eng
5761 <ben@jetpen.com> for the patch.
5763 * include/makeinclude/platform_linux_lxpthread.GNU: protect
5764 PRELIB definition with ifndef PRELIB, to allow overriding
5765 without modifying the platform_macros.GNU file. Thanks to
5766 James Johnson <jcej@lads.com> for this suggestion.
5768 * ace/IOStream_T.cpp: restored ACE_HAS_IOSTREAMH_INCLUSION
5769 protection around the old g++ munch hack. There's no need
5770 to trouble all (g++) platforms with its (4 byte) space penalty.
5772 * examples/IOStream/server/iostream_server.cpp (handle_input):
5773 removed unused local "addr".
5775 * examples/Reactor/Dgram/{CODgram,Dgram}.cpp (run_test): added
5776 return 0 at end so that the function always returns a value.
5778 * include/makeinclude/platform_lynxos.GNU: added comment indicator
5779 to comment describing POSTLINK.
5781 * ACE-INSTALL.html: updated DEC CXX 6.0 test status: all tests pass
5782 with the version of DIGITAL UNIX 4.0 and cxx 6.0 that we use.
5784 Wed Dec 10 23:57:00 1997 Chris Cleeland <cleeland@cs.wustl.edu>
5786 * ACE version 4.4.4, released Wed Dec 10 23:57:00 1997.
5788 Wed Dec 10 16:24:09 1997 <irfan@TWOSTEP>
5790 * ace/Auto_Ptr.i: Apparently, the standard states that in order to
5791 access members of a templated superclass from a templated
5792 subclass, then the member name must be fully qualified.
5793 Therefore, changed access to p_ to ACE_Auto_Basic_Ptr<X>::p_.
5794 Thanks to Stephen Coy <stevec@magna.com.au> for reporting this.
5796 Tue Dec 09 13:05:00 1997 <nw1@CHA-CHA>
5798 * ace/Containers.cpp (copy_all_nodes): Added a temporary
5799 ACE_Node<T> pointer to get around the macro side effects.
5801 Sun Dec 7 10:20:46 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
5803 * ace/Service_Config.cpp (parse_args): Added an appropriate macro
5804 to switch from char * to UNICODE. Thanks to Timothy A. Brown
5805 <tabrown@montana.com> for reporting this.
5807 * ace/config-linux-*.h: Added ACE_HAS_GETRUSAGE_PROTO to all
5808 the linux config files. Hopefully, this will help ACE to work
5809 better with glibc. Thanks to Ernie Makris <emakris@ziplink.net>
5810 and Torbjorn Lindgren <tl@funcom.no> for their help.
5812 Sat Dec 06 13:30:11 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
5814 * ACE version 4.4.3, released Sat Dec 06 13:30:11 1997.
5816 Sat Dec 6 12:02:09 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
5818 * examples/IOStream: Revised both the client and server to
5819 demonstrate the ACE_IOStream functionality correctly. Also
5820 added a README file explaining how to run the examples. Thanks
5821 to James Johnson and Dustin Laurence
5822 <laurence@alice.wonderland.caltech.edu> for suggesting this.
5824 * ace/IOStream_T: Added a new method eof() to the ACE_IOStream_T<>
5825 class. This returns 1 if we've reached the end of the socket
5828 Fri Dec 5 16:58:29 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
5830 * ace/Addr.h: Added a const ACE_Addr & instead of const ACE_Addr.
5831 This will avoid an extra copy. Thanks to Irfan for noticing
5834 * examples/Reactor/Dgram/CODgram.cpp: Also updated the CODgram
5835 test to be just like the Dgram test.
5837 * examples/Reactor/Dgram/Dgram.cpp (main): Fixed a bug where it
5838 was sending a huge buffer instead of just the string size.
5839 Also, exit once we've finished the send. Finally, revised the
5840 test so that it is easier to understand and so that it exits
5841 properly. Thanks to Michael Hoffman
5842 <Hoffman_Michael@mac-mailserver.atc.ll.mit.edu> for reporting
5845 Fri Dec 05 13:20:09 1997 David L. Levine <levine@cs.wustl.edu>
5847 * include/makeinclude/platform_vxworks5.x_ghs.GNU: added OFLAGS.
5848 Thanks to Brian Mendel for suggesting these.
5850 * tests/IOStream_Test.cpp: updated to work with the standard C++
5851 library version of iostreams. That primarily involved not
5852 using operator>>(char& c) and operator>>(char* c) for C strings.
5853 Thanks to Ben Eng <ben@jetpen.com> for the patch.
5855 * ace/OS.{h,i},config-osf1-4.0.h: fixed sigwait on DEC CXX 6.0/
5856 recent DEC UNIX 4.0. The fix keys off the compiler version,
5857 though it probably should depend on the OS. It adds a
5858 sigwait declaration, which is a current signal.h deficiency.
5859 With this change, ACE builds and tests cleanly on DEC UNIX.
5861 * ace/config-vxworks5.x-g++.h: restored comment that explains
5862 ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION.
5864 * netsvcs/lib/Makefile: the first line of the Local Target
5865 (Server_Logging_Handler.*) override mysteriously disappeared, again.
5867 Fri Dec 5 12:15:49 1997 Chris Cleeland <cleeland@cs.wustl.edu>
5869 * ace/Select_Reactor.cpp: Made error messages on open failure more
5870 verbose. Having these in place straightaway would have helped
5871 track down some problems at Boeing much more effectively.
5873 Fri Dec 5 11:15:17 1997 Nanbor Wang <nw1@merengue.cs.wustl.edu>
5875 * ace/Log_Msg.h (callers.): Added documentation for %I and %D
5876 flags. Thanks to John Morey <jmorey@tbi.com> for reosting
5881 * ace/Token_Invariants.h:
5882 * ace/Token_Collection.h:
5883 * ace/Local_Tokens.h:
5884 * ace/Remote_Name_Space.h:
5885 * ace/Registry_Name_Space.h:
5888 * ace/Name_Request_Reply.h:
5889 * ace/Naming_Context.h:
5891 * ace/Local_Name_Space.h:
5892 * ace/Local_Name_Space_T.h: Corrected erroneous comments. These
5893 files all contain incorrect filename info in the preambles which
5894 make erroneous auto-generated man pages.
5896 Fri Dec 05 00:00:53 1997 <irfan@TWOSTEP>
5898 * ace/OS.h: If the user wants minimum IOStream inclusion, i.e.,
5899 they have defined ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION, we will
5900 just include the forward declarations, i.e., ace/iosfwd.h. Else
5901 they will get all the stream header files, i.e., ace/streams.h.
5902 The positive thing about this change is that if your code was
5903 using stream classes and you were depending on OS.h to provide
5904 you the stream header files, you will not have to change your
5905 code, unless you have defined
5906 ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION. Thanks to Dr. Schmidt for
5907 suggesting this and thanks to David Levine for suggesting it to
5910 * ace/config-vxworks5.x-g++.h: Restored
5911 ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION.
5913 * ace/Asynch_IO.cpp (open): Fixed typo.
5915 Thu Dec 04 21:20:47 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
5917 * ACE version 4.4.2, released Thu Dec 04 21:20:47 1997.
5919 Thu Dec 4 19:45:04 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
5921 * ace/Object_Manager.cpp (ACE_Object_Manager_Destroyer): Fixed a
5923 ACE_Object_Manager_Destroyer::~ACE_Object_Manager_Destroyer
5924 thread comparison routine. Thanks to Steven Coy for this. Also
5925 renamed _saved_main_thread_id to saved_main_thread_id_, which is
5928 * Updated the ACE-INSTALL.html file to explain why you don't need
5929 to build everything all the time. Thanks to Dustin Laurence
5930 <laurence@alice.wonderland.caltech.edu> for suggesting this.
5932 * tests/SOCK_Connector_Test.cpp (fail_no_listener_nonblocking):
5933 Added a check for ENETUNREACH. Thanks to Dustin Laurence
5934 <laurence@alice.wonderland.caltech.edu> for reporting this.
5936 * ace/Asynch_Acceptor.cpp (open): Changed the local variable named
5937 sap_any to sa to avoid conflicts with the new sap_any macro.
5939 * ace/Asynch_IO: Made the ACE_Service_Hanlder::open() method
5940 non-virtual to work around bugs with Borland C++. Thanks to
5941 Valik Solorzano Barboza <valik@geodan.nl> for suggesting this.
5943 * ace/ACE.cpp (COMPUTE): Put parens around elements the COMPUTE
5944 macros so that it will work on Borland C++. Thanks to Valik
5945 Solorzano Barboza <valik@geodan.nl> for suggesting this.
5947 * ace/config-win32-common.h: Added ACE_HAS_BROKEN_SAP_ANY to deal
5948 with Borland C++ bugs. Thanks to Valik Solorzano Barboza
5949 <valik@geodan.nl> for suggesting this.
5951 * ace/Addr: Added a workaround for the Borland C++ problems. This
5952 introduces a new global macro called sap_any. However, this is
5953 only used for Borland, so it should be ok. Thanks to Valik
5954 Solorzano Barboza <valik@geodan.nl> for suggesting this.
5956 * ace/LSOCK.cpp (recv_handle): Make the code smarter if we've got
5957 both STREAMS and 4_4BSD_SENDMSG_RECVMSG.
5959 * Reran "make depend" over all of ACE.
5961 * netsvcs/clients/Logger/indirect_logging.cpp (main): Changed
5962 LOGGING to LOGGER. Thanks to Irfan for noticing this.
5964 * netsvcs/lib/Client_Logging_Handler: Changed "rendezvous" to
5967 * netsvcs/clients/Logger/indirect_logging.cpp,
5968 netsvcs/lib/Client_Logging_Handler: Changed DEFAULT_RENDEZVOUS
5969 to DEFAULT_LOGGER_KEY. Thanks to Steven Coy for pointing out
5972 * ace/OS.h: Renamed ACE_LOGGER_KEY to ACE_DEFAULT_LOGGER_KEY to
5973 make it consistent with other ACE_DEFAULT_* names.
5975 * ace/OS.h: Changed the definition for ACE_LOGGER_KEY so that it
5976 defaults to "localhost:10015" on platforms that don't support
5977 ACE STREAM Pipes. Thanks to Steven Coy for suggesting this.
5979 * ace/Service_Config.cpp: Added the -k option to parse_args() so
5980 that the user can set the logger key. Thanks to Steven Coy for
5983 * ace/Service_Config: Added the logger_key as a parameter to the
5984 other open() method, as well. Thanks to Steve Coy for being
5987 * netsvcs/clients/Logger/direct_logging.cpp (main): Modified the
5988 code to use the new framing scheme.
5990 * netsvcs/lib/Server_Logging_Handler_T.cpp
5991 (handle_logging_record): Updated the code to take advantage of
5992 our new framing scheme.
5994 * netsvcs/lib/Client_Logging_Handler.cpp (send): We can be smarter
5995 now about sending the ACE_Log_Record across the network since
5996 the length field is now fixed and it's guaranteed to be in the
5997 first 4 bytes. Thanks to Steve Coy for suggesting this.
5999 * ace/Log_Record.h (ACE_Log_Record): Replaced the horribly
6000 non-portable "long length_" field with the "ACE_INT32 length_"
6001 field, which is nice because it is portable across platforms
6002 with different long-word sizes.
6004 Thu Dec 04 09:57:40 1997 David L. Levine <levine@cs.wustl.edu>
6006 * include/makeinclude/platform_osf1_4.GNU: allow enabling of
6007 WARNING_FLAGS by setting CXX_VER to POST_5X. Thanks to
6008 James Johnson for this suggestion.
6010 * ace/Svc_Conf_l.cpp: rebuilt with Doug's flex.
6012 Thu Dec 04 03:46:04 1997 <irfan@TWOSTEP>
6014 * ace/Makefile (Svc_Conf_l.cpp): Changed the sed macros to produce
6015 OS.h include instead of stdcpp.h.
6017 * ace/Svc_Conf_l.cpp: Updated after code was regenerated using the
6018 new sed changes in the Makefiles. Currently there are two
6019 inclusions of OS.h in this file and an extra stdlib.h. Maybe
6020 someone more experienced in sed can take these out by updating
6023 * ace/IOStream_T.h (stdcpp.h): Removed inclusion of stdcpp.h. It
6024 is redundant because IOStream.h includes it.
6026 * ace/streams.h: New file. This files tries to reduce the
6027 differences between the old and new stream libraries for the
6028 user. This is done by automatically selecting the correct
6029 includes depending on the ACE_HAS_STANDARD_CPP_LIBRARY variable.
6030 This file also helps out by making commonly used classes (e.g.,
6031 ios, ostream, iostream, cin, cout, etc) available in the global
6032 name space when used with the Standard C++ Library. Use this
6033 file where you would usually include <iostream.h> or <iostream>.
6035 * ace/iosfwd.h: New file. This files deals with forward
6036 declaration for the stream classes. Remember that since the new
6037 Standard C++ Library uses templates for the implementation of
6038 the streams, simple forward declaration will not work. Classes
6039 forward declared by this class include:
6051 Use this file where you would usually forward declare the
6052 classes listed above.
6054 * ace/stdcpp.h: Removed this file from the repository. This file
6055 was trying to do too much. All the inclusion of the C Library
6056 headers were unnecessary. This is because the new C++ standard
6057 preserves the old C library include files. The functions from
6058 those files will still be in the global namescape. The new
6059 header files (e.g., cstdio), provides the same prototypes as the
6060 old files (e.g., stdio.h), except that all prototypes are in the
6061 std namespace. Since we want the old behavior and global
6062 prototypes (for backward compatibility), inclusion of the new
6063 header files was incorrect.
6065 stdcpp.h was included by OS.h. This caused almost all files to
6066 force the inclusion of the stream header files. This was
6067 changed so that OS.h only includes the ace/iosfwd.h file. This
6068 means that if your code was using stream classes and you were
6069 depending on OS.h to provide you the stream header files, you
6070 will have to change your code to either include iostream.h or
6071 iostream, or more portably ace/streams.h.
6073 * ace/OS.h: Removed stdcpp.h. Moved the standard C library
6074 includes from stdcpp.h to OS.h. Also added ace/iosfwd.h to give
6075 forward declaration for the stream classes.
6077 * ACE: Added explicit inclusion of ace/streams.h to the following
6086 examples/Log_Msg/test_log_msg.cpp
6087 examples/Reactor/Misc/test_time_value.cpp
6088 examples/Threads/task_three.cpp
6089 netsvcs/lib/Logging_Strategy.cpp
6090 examples/Logger/Acceptor-server/server_loggerd.cpp
6091 examples/ASX/UPIPE_Event_Server/event_server.cpp
6092 examples/Reactor/Ntalker/ntalker.cpp
6093 examples/Shared_Malloc/test_persistence.cpp
6094 examples/System_V_IPC/SV_Message_Queues/MQ_Server.cpp
6095 examples/System_V_IPC/SV_Message_Queues/MQ_Client.cpp
6096 examples/System_V_IPC/SV_Message_Queues/TMQ_Server.cpp
6097 examples/System_V_IPC/SV_Message_Queues/TMQ_Client.cpp
6099 * Updated makefile dependencies throughout ACE to reflect the
6100 removal of stdcpp.h and the addition of streams.h.
6102 * examples/Threads/barrier2.cpp: Removed inclusion of stdcpp.h.
6104 * ace/IOStream_T.cpp: Reorganized include files so that inclusion
6105 of config.h is not necessary.
6107 * ace/IOStream.cpp: Changed inclusion of config.h to OS.h.
6109 * ace: Removed config.h from the following files. It was
6118 * ace: Added code to protect against multiple inclusions of
6119 config.h. Following files were effected:
6124 * ace/config-win32-common.h: Removed redundant definitions of
6125 ACE_HAS_TYPENAME_KEYWORD and ACE_HAS_SIG_ATOMIC_T. Thanks to
6126 Matthias Kerkhoff <make@cs.tu-berlin.de> for pointing this out.
6128 Wed Dec 3 21:37:47 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
6130 * Added the new ACE-inheritance.ps and pdf files, which show the
6131 class structure of ACE. Thanks to John Lindal
6132 <jafl@cheshire-cat.caltech.edu> for generating this.
6134 * ace/Service_Config: Removed the static logger_key_ member and
6135 replaced it with a (defaulted) parameter to open(). This is
6136 more flexible. Thanks to Steve Coy for the suggestion.
6138 * ace/Service_Config.h: Addressed all the "@@" questions.
6140 * examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp (main): Fixed a
6141 subtle bug in the "quit" logic. Thanks to Michael Hoffman
6142 <Hoffman_Michael@mac-mailserver.atc.ll.mit.edu> for reporting
6145 * netsvcs/lib/Server_Logging_Handler_T.cpp (handle_logging_record),
6146 netsvcs/lib/Client_Logging_Handler.cpp (send):
6147 Changed the code so that we now always send ACE_UINT32 bytes
6148 worth of data for the length field. This ensures we're portable
6149 across platforms. Thanks to Steven Coy for noticing this.
6151 Wed Dec 03 18:02:09 1997 <irfan@TWOSTEP>
6153 * performance-tests/Synch-Benchmarks/Benchmark.cpp: Added template
6154 instantiations for Atomic_Op.
6156 Wed Dec 3 10:29:58 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
6159 Use ACE_UINT32 to compute the 32-bit CRC, on Alphas (and
6160 probably other 64 bit machines) u_long seems to be longer than
6163 Wed Dec 03 07:39:15 1997 Steve Huston <shuston@riverace.com>
6165 * include/makeinclude/platform_hpux.GNU:
6166 * include/makeinclude/platform_hpux_gcc.GNU: Moved some compile options
6167 from the DCFLAGS to the CCFLAGS to compile correctly with or without
6170 Wed Dec 03 06:26:14 1997 David L. Levine <levine@cs.wustl.edu>
6173 tests/{Future_Test,Reactors_Test,Reader_Writer_Test.cpp,
6174 examples/Threads/manual_event.cpp:
6175 moved ACE_Atomic_Op<ACE_Thread_Mutex, int> instantiation from
6176 ace/Future.cpp to where it is used.
6178 * ace/OS.cpp (inet_aton): return 0 if addr argument is 0. Thanks
6179 to Wei for reporting this.
6181 * ace/config-linux.common.h: set an ACE_DEFAULT_BASE_ADDR, on Alpha
6182 for now. This might be necessary on Intel as well.
6184 * ace/OS.{h,i}, config-osf1-4.0.h: fixed use of ::sigwait with
6185 DIGITAL_UNIX's cxx 6.0, which now uses ACE_HAS_ONEARG_SIGWAIT.
6186 Also, added an ACE_DEFAULT_BASE_ADDR to the config file.
6188 * tests/{Priority_Reactor_Test,Reactor_Performance_Test}.cpp:
6189 instantiate ACE_Map_*, for use by ACE_Connector, with ACE_HANDLE
6190 instead of int. That's the way it's declared in ace/Connector.h.
6192 Wed Dec 03 00:17:50 1997 <irfan@TWOSTEP>
6194 * tests/test_config.h: Removed code for
6195 ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION, as this option is no longer
6198 * ace/stdcpp.h: Removed code for
6199 ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION, as this option is no longer
6202 * ace/config-vxworks5.x-g++.h: Removed
6203 ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION. This flag is no longer
6206 * ace/IOStream_T.cpp: Removed ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION
6209 * ACE: Removed the explicit iostream.h inclusion from these:
6211 examples/ASX/UPIPE_Event_Server/event_server.cpp
6212 examples/Log_Msg/test_log_msg.cpp
6213 examples/Logger/Acceptor-server/server_loggerd.cpp
6214 examples/Reactor/Misc/test_time_value.cpp
6215 examples/Shared_Malloc/test_persistence.cpp
6216 examples/Threads/task_three.cpp
6217 netsvcs/lib/Logging_Strategy.cpp
6219 * ace/IOStream.h: Darrell missed removing this explicit iostream.h
6222 * ace/Future.cpp: Removed template instantiation of Atomic_Op
6223 since Atomic_Op is not used by Future.
6225 Fri Dec 02 11:46:17 1997 <nw1@CHA-CHA>
6227 * ace/Proactor.cpp (ACE_Proactor): Reenabled Proactor's thread
6228 manager to wait on its Timer_Handler thread.
6230 * ace/Thread_Manager.cpp (close_singleton): Removed Win32 specific
6231 codes. This is no longer necessary with above changes.
6232 (wait): Close down thread handles when removing detached
6233 threads. Avoid performing wait when the program is shutting
6235 (remove_thr_all): Extracted out this protected member function.
6236 (close): Changed to use the new remove_thr_all function.
6238 * ace/Proactor.cpp (handle_events): Changed the magic number 258
6239 to WAIT_TIMEOUT. Thanks to Mark Rabotnikov
6240 <mark@netmanage.co.il> for pointing this out.
6242 Tue Dec 02 14:13:15 1997 Steve Huston <shuston@riverace.com>
6244 * include/makeinclude/platform_hpux_aCC.GNU: Moved some compile options
6245 from the DCFLAGS to the CCFLAGS to compile correctly with or without
6246 debugging. Thanks to Istvan Buki <ibuki@fedex.com> for reporting
6249 Tue Dec 02 06:16:39 1997 David L. Levine <levine@cs.wustl.edu>
6251 * ace/Object_Manager.cpp (~ACE_Object_Manager_Destroyer): don't
6252 delete the ACE_Object_Manager if not destroyed by the main
6253 thread. That can cause problems, at least on WIN32. And
6254 it should only happen under exceptional conditions, at least
6255 on WIN32. Thanks to Ari Erev <ari_erev@icomverse.com> and
6256 John Neystadt <john_neystadt@icomverse.com> for suggesting this.
6258 * ace/IOStream.cpp (underflow,overflow): moved get_mode_ and
6259 put_mode_ accesses so that it now works on KAI C++.
6260 Thanks to Ben Eng <ben@jetpen.com> for the patch.
6262 * ace/config-linux-kcc.h: commented out ACE_TEMPLATES_REQUIRE_SOURCE.
6263 Thanks to Ben Eng <ben@jetpen.com> for this update.
6265 * ace/Profile_Timer.cpp (elapsed_time): changed
6266 ACE_ONE_SECOND_IN_USECS to ACE_ONE_SECOND_IN_NSECS. Thanks
6267 to Wei for noticing this.
6269 * ace/OS.cpp (inet_aton): removed CHORUS specialization.
6270 Thanks to Wei for reporting this.
6272 * include/makeinclude/platform_chorus.GNU: added CHORUS = 1,
6273 for use by individual Makefiles.
6275 * examples/Shared_Malloc/test_persistence.cpp: removed
6276 ACE_Malloc<ACE_MMAP_MEMORY_POOL, ACE_Null_Mutex>
6277 instantiation because it's in ace/System_Time.cpp.
6279 * ace/config-lynxos.h: removed ACE_HAS_UALARM, because LynxOS
6282 * include/makeinclude/platform_lynxos.GNU: added -Winline and
6283 removed -fno-strict-prototypes.
6285 * tests/Message_Queue_Test.cpp (main): increased queue size from
6286 default of 16Kb to 32Kb, so that it runs on machines with 8Kb
6287 pagesizes. And, added a check to see if the queue is full
6290 * ace/OS.i, config-osf1-4.0.h: DECXX 6009006 has SIGWAIT.
6292 * ACE-INSTALL.html: updated DEC_UNIX test status. Message_Queue_Test
6293 and all of the Mutex_Tests now pass. Conn_Test no longer does.
6295 Tue Dec 02 00:18:04 1997 <irfan@TWOSTEP>
6297 * ace/Memory_Pool.cpp (handle_signal): If guess_on_fault_ is true,
6298 then we cannot call remap(0). This will always put the address
6299 out of range. Therefore, we will shoot in the dark (user has
6300 instructed us to do so as guess_on_fault_ is true) and try to
6301 remap the file. If the user does not want this behavior, the
6302 guess_on_fault_ flag should be turned off. Thanks to Jon
6303 Prettyman <jonp@als.ameritech.com> for pointing this out.
6305 Mon Dec 01 16:13:06 1997 <irfan@TWOSTEP>
6307 * ace/config-win32-common.h: Added back ACE_LACKS_ACE_IOSTREAM to
6308 the config file. The test is not compiling.
6310 * tests/run_tests.bat: Look for "Win32 structured exception" in
6313 Mon Dec 1 14:01:02 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
6315 * ace/Log_Msg.cpp, ace/Log_Msg.h, ace/Log_Record.cpp,
6316 ace/Log_Record.h ace/OS.h, ace/stdcpp.h, tests/test_config.h:
6318 Changed use of ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION in stdcpp.h
6319 to include iostream when the above is #defined. Made
6320 changes to other files to accommodate this change.
6322 Mon Dec 01 12:15:00 1997 <irfan@TWOSTEP>
6324 * ace/config-win32-common.h (ACE_LACKS_ACE_IOSTREAM): James CE
6325 Johnson claims that ACE_LACKS_ACE_IOSTREAM is no longer not
6326 necessary when using the ACE_HAS_STANDARD_CPP_LIBRARY.
6328 * ace/OS.h: Changed the definition of ACE_UNIMPLEMENTED_FUNC so
6329 that it just evaporates on platform that have
6330 ACE_REQUIRES_FUNC_DEFINITIONS defined.
6332 ACE_UNIMPLEMENTED_FUNC is only required for template classes and
6333 not for a normal class. When the template is explicitly
6334 instantiated, it causes some compilers to look for the
6335 definition of all the declared methods.
6337 On platforms that have this behavior, we have decided to take
6338 out the declaration of this function. This is necessary since
6339 an empty definition of {} usually does not work with some
6340 constructors. And by providing a explicit definition of this
6341 function, will cause all platforms to suffer.
6343 Therefore, platforms with ACE_REQUIRES_FUNC_DEFINITIONS defined
6344 must be specially careful when using this.
6346 Mon Dec 01 07:56:02 1997 David L. Levine <levine@cs.wustl.edu>
6348 * include/makeinclude/platform_sunos5_sunc++.GNU: added
6349 -xildoff to LDFLAGS, to avoid occasional problems with
6350 the incremental linker. Thanks to Hans Rohnert
6351 <Hans.Rohnert@mchp.siemens.de> for this suggestion.
6353 * include/makeinclude/platform_vxworks5.x_g++.GNU,
6354 etc/ace_ld, bin/ace_ld, ACE-INSTALL.html:
6355 moved ace_ld from etc/ to bin/.
6357 * Makefile: added etc/ to CLONE and RELEASE_FILES.
6359 * include/makeinclude/platform_lynxos.GNU: added -Wall to CFLAGS.
6361 * ace/ACE.cpp (set_handle_limit): only call setrlimit if
6362 RLIMIT_NOFILE is #defined.
6364 * ace/OS.h: removed ACE_HAS_STDARG_THR_DEST dependence for
6365 ACE_THR_DEST definition.
6367 * ace/OS.cpp (thr_keycreate): with ACE_HAS_DCETHREADS only, cast
6368 dest argument to ::pthread_keycreate if ACE_HAS_STDARG_THR_DEST.
6370 * ace/OS.i (get{host,proto,serv}by{addr,name}_r): with
6371 ACE_HAS_NONCONST_GETBY only, added some ACE_UNUSED_ARGS.
6373 * examples/Shared_Malloc/Malloc.cpp: removed
6374 ACE_Guard<ACE_Process_Mutex> instantiation because it's in
6377 * ace/config-lynxos.h: added ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS.
6378 Without it, the Thread_Manager went recursively ballistic.
6380 * performance-tests/Misc/preempt.cpp (main): fixed printout if
6381 ACE_OS::sched_params () call failed.
6383 Sun Nov 30 22:44:50 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
6385 * ACE version 4.4.1, released Sun Nov 30 22:44:50 1997.
6387 Sun Nov 30 20:32:50 1997 David L. Levine <levine@cs.wustl.edu>
6389 * include/makeinclude/platform_osf1_3.2.GNU: removed -ptr option
6390 from CCFLAGS, so the default template repository will be used.
6391 Thanks to Dani Flexer <danif@ivory-sw.com> for reporting this.
6393 * ace/Svc_Conf_l.cpp,Makefile:
6394 1) #include ace/stdcpp.h instead of stdio.h so that anything
6395 that needs to be #included with/before stdio.h can be.
6396 2) Changed ECHO to ACE_SVC_CONF_ECHO to avoid compiler warning if
6397 ECHO was #defined to be a constant.
6399 * ace/Makefile: set ACELIB to null so that it can be used to build
6400 shared libs, including libACE.$(SOEXT).
6402 * include/makeinclude/platform_osf1_4.0.GNU: added $(ACELIB) to
6403 SOFLAGS to avoid shared lib build warnings about undefined ACE
6406 * ace/Thread_Manager.h: declare ACE_THR_MEMBER_FUNC outside of
6407 ACE_Thread_Manager class with __GNUG__ instead of with
6408 VXWORKS || IRIX5. The problem is with older versions of g++,
6411 Sun Nov 30 14:13:09 1997 Douglas C. Schmidt <schmidt@merengue.cs.wustl.edu>
6413 * netsvcs/servers/README: Clarified a bit more about how to
6414 configure the client and server logging processes. Thanks to
6415 Neil Cohen for motivating this.
6417 Sun Nov 30 17:36:35 1997 Sergio Flores <sergio@tango.cs.wustl.edu>
6419 * ace/Synch.cpp (ACE_File_Lock): Fixed order of parameters in the
6420 call to this->open() and too many arguments in call to
6421 ACE_File_Lock::open().
6423 Sun Nov 30 16:31:41 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
6427 ACE_File_Lock should create the file if it does not exist, to do
6428 so the constructor takes the <flags> parameter to ACE_OS::open()
6429 and defaults to O_CREAT|O_RDWR.
6431 Sat Nov 29 21:31:07 1997 Nanbor Wang <nw1@merengue.cs.wustl.edu>
6433 * ace/Proactor.cpp (~ACE_Proactor_Timer_Handler): Removed explicit
6434 call to thr_mgr_.close().
6435 (ACE_Proactor): Be sure to ask Thread_Manager not to wait for
6436 the timer_handler_ thread.
6438 * ace/Thread_Manager.cpp (close_singleton): Only reset
6439 exit_on_wait status if we are responsible for deleting the
6440 global thread manager.
6442 Sat Nov 29 15:15:04 1997 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
6445 Removed warning for functions not returning a value on SGI, it
6446 seems that the flow changed and the last return was reached
6447 sometimes, hence the ACE_NOTREACHED macro is no longer needed.
6449 Sat Nov 29 13:12:47 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
6451 * ace/Synch: Conditionally inlined all the ACE_Process_Mutex
6452 wrapper calls and moved them into the Synch.i file. I'm not
6453 sure why there weren't here before.
6455 * ace/Synch: Reimplemented ACE_RW_Process_Mutex to use
6456 ACE_File_Lock, which provides the proper readers/writer
6457 semantics that had been lacking in the previous implementation.
6459 Fri Nov 28 04:25:23 1997 Nanbor Wang <nw1@merengue.cs.wustl.edu>
6461 * ace: Removed redundant trailing commas from
6462 ACE_UNIMPLEMENTED_FUNC.
6464 * ace/Thread_Manager.{h,i,cpp}: Delete declaration of
6465 remove_thr_self. It is no longer in use.
6466 (wait_on_exit): Added this function to let users specify whether
6467 they want their Thread_Manager wait for spawned threads on exit
6469 (wait): On Win32, handles should be closed if we decide to let
6471 (remove_thr): Added another parameter to control whether
6472 remove_thr should close the handle or not. It is only used on
6474 (close): Removed the <automatic_wait> parameter for it has been
6475 incoporated as a member.
6476 (close_singleton): Reset <automatic_wait_> on Win32. We'll never
6477 need to wait for unfinished threads on NT.
6478 (ACE_Thread_Manager): Added initialization of member
6479 <automatic_wait_>. It is default to 1 (wait on exit.)
6481 * ace/Containers.h: Corrected erroneous comments.
6483 Wed Nov 26 10:33:22 1997 <irfan@TWOSTEP>
6485 * ace/Log_Msg (msg): Changed the parameters from char * to const
6488 * ace: Added unimplemented copy constructors and assignment
6489 operators to the following classes:
6499 Added ACE_UNIMPLEMENTED_FUNC macros to these classes:
6502 ACE_Priority_Reactor
6517 ACE_Null_Mutex_Guard
6520 ACE_Thread_Mutex_Guard
6521 ACE_Condition_Thread_Mutex
6522 ACE_Recursive_Thread_Mutex
6526 Thanks to Stanley D Leeson <STANLEY.D.LEESON@cdev.com> for these
6529 Sat Dec 20 14:57:30 1997 <nw1@CHA-CHA>
6531 * All MSVC 5.0 project files: Removed unnecessary library
6532 inclusions. Most of them are not necessary. Thanks to
6533 Patrick J. McNerthney <pat@thememedia.com> for suggesting
6536 Wed Nov 26 15:49:14 1997 David L. Levine <levine@cs.wustl.edu>
6538 * ace/IOStream_T.i (recv) affects WIN32 only: fixed typo,
6539 ACE_BIT_ENABLED instead of ACE_BIT_ENTABLED IOStream_T.i.
6540 Thanks to James CE Johnson <jcej@lads.com> for reporting this.
6542 * include/makeinclude/platform_lynxos.GNU: added information
6543 on necessary OS patches.
6545 Wed Nov 26 09:45:43 1997 Chris Cleeland <cleeland@cs.wustl.edu>
6547 * ace/OS.h (ACE_PROPER_SINGLETON_INSTANTIATION): Corrected
6548 misspelling in the "! defined (MSC_VER)" branch. I just happened
6549 to notice this, so I don't know if anybody ever tried it and it
6552 Tue Nov 25 12:07:07 1997 David L. Levine <levine@cs.wustl.edu>
6554 * include/makeinclude/platform_osf1_3.2.GNU: updated for
6555 OSF/1 3.2g/CXX 5.7. Thanks to Dani Flexer <danif@ivory-sw.com>
6558 Tue Nov 25 01:07:39 1997 <irfan@TWOSTEP>
6560 * examples/Reactor/Proactor/test_multiple_loops.cpp (main): Made
6561 sure that the Proactor was removed from reactor.
6563 * ace/WFMO_Reactor.cpp (remove_handler_i,
6564 remove_suspended_handler_i): Make sure to preserve DONT_CALL
6565 with normal event entries.
6569 - A flag used to indicate when we are shutting down.
6571 - Made sure to signal the timer event when we are closing down.
6573 - Thread Manager: don't bother to wait (since the thread may have
6574 already gone). But make sure to close up the descriptor. This
6575 may not be necessary in the future when THR_DETACHED is
6576 correctly implemented.
6578 * ace/Asynch_IO.h: Changed some code from protected to public.
6579 Even though these functions are really protected, sometimes it
6580 simplifies user code to be able to "fake" a result. Users
6581 should use these with care.
6583 * examples/Reactor/Proactor/test_proactor.cpp
6584 (handle_write_stream): Added code for partial write to socket.
6585 However it ever seems to do a short write ;-). Also made sure
6586 that the initial data coming from the AcceptEx call is also
6587 dumped to the file. Thanks to Mark Rabotnikov
6588 (mark@netmanage.co.il) for pointing this out.