1 Fri Jul 5 10:30:44 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
3 * ace/Array_Base.cpp: Swapped the order of includes so that
4 Array_Base.h comes after Malloc_Base.h. Thanks to Al Pariante
5 <Albert.Pariante@axcelis.com> for reporting this.
7 Thu Jul 4 11:27:05 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
9 * Happy 226th Birthday USA!
11 Sat Jul 06 19:32:40 2002 Balachandran Natarajan <bala@cs.wustl.edu>
13 * ace/Time_Value.h (ACE_Time_Value): Fix for [BUGID 1240]. Some of
14 the operators were missing explicit declarations in the header
15 file (they were anyway defined in the inlined files) which
16 created problems in builds where inlining was diabled. Please
19 http://bugzilla.dre.vanderbilt.edu/show_bug.cgi?id=1240 for
20 more details. Thanks to Marina Spivak <marina@atdesk.com> for
23 Fri Jul 5 18:44:39 2002 Steve Huston <shuston@riverace.com>
25 * ace/ACE.cpp: Corrected undeclared 'select_width' errors and
26 signed/unsigned mismatch warnings.
28 Fri Jul 5 16:14:51 2002 Steve Huston <shuston@riverace.com>
30 * ace/OS.{h i} (send, sendto, recv, recvfrom): Change 'len' argument
32 Removed conditional typedef of ssize_t; it's done in Basic_Types.h.
34 * ace/ACE.h (recv): Filled in documentation for varargs variant.
35 * ace/ACE.cpp (send, recv): Properly convert size_t 'count' arg to int
36 iovec count for call to ACE_OS::sendv/recvv().
37 (handle_timed_accept, handle_timed_complete, handle_ready): Use
38 an int select_width for ACE_OS::select() calls to get the types
39 correct. This arg is ignored on Windows anyway.
41 * ace/Basic_Types.h: If ACE_HAS_SSIZE_T not defined, and Win64,
42 typedef SSIZE_T ssize_t; else use the existing int typedef.
44 * tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp:
45 Change thread function to return ACE_THR_FUNC_RETURN, not void *.
47 Tue Jul 02 21:43:53 2002 Nanbor Wang <nanbor@cs.wustl.edu>
49 * ACEXML/common/XMLFilterImpl.h: One more pre/post mismatch.
51 Tue Jul 2 16:58:55 2002 Krishnakumar B <kitty@cs.wustl.edu>
53 * ACEXML/common/XML_Types.h:
55 Removed unnecessary includes and fixed a typo.
57 Tue Jul 02 16:35:19 2002 Nanbor Wang <nanbor@cs.wustl.edu>
59 * ACEXML/common/Attributes.h:
60 * ACEXML/common/Locator.h: Fixed mismatched pre/post inclusions.
62 * ACEXML/parser/parser/Parser.cpp: Fixed compilation errors.
64 Tue Jul 2 11:53:29 2002 Steve Huston <shuston@riverace.com>
66 * ace/config-all.h: Changed definition of ACE_THR_FUNC to incorporate
67 the platform's thread function return type (DWORD on Windows,
68 void * on most others). Uses a new typedef ACE_THR_FUNC_RETURN
69 to specify the platform's thread function return type.
71 * ace/OS.{h i cpp} (thr_exit, thr_join): The status arg is now
72 a ACE_THR_FUNC_RETURN *.
73 Also moved remaining thread function definition type things to
74 config-all.h with the rest of them.
76 * ace/Base_Thread_Adapter.{h cpp} (invoke(), ace_thread_adapter()):
77 * ace/OS_Thread_Adapter.{h cpp}
78 * ace/Thread_Adapter.{h cpp} (invoke(), invoke_i()):
79 Return type changed from void * to ACE_THR_FUNC_RETURN.
81 * ace/Event_Handler.{cpp h} (read_adapter): Change return value from
82 void* to ACE_THR_FUNC_RETURN.
84 * ace/Thread_Hook.{h cpp}: ACE_Thread_Hook::start () returns
85 ACE_THR_FUNC_RETURN, not void *.
87 * ace/Thread.{h i} (exit, join): 'status' arg is now
88 ACE_THR_FUNC_RETURN *, not void *.
90 * ace/Thread_Control.{h inl cpp} (status, exit):
91 * ace/Thread_Manager.{h cpp} (exit, join): Thread exit status
92 type changed from void * to ACE_THR_FUNC_RETURN.
94 * ace/Task.{h cpp} (ACE_Task_Base): Return type from svc_run now
97 * examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.cpp:
98 * examples/C++NPv1/Thread_Per_Connection_Logging_Server.{cpp, h}:
99 * examples/C++NPv2/Select_Reactor_Logging_Server.cpp:
100 * examples/C++NPv2/Server_Shutdown.cpp:
101 * examples/C++NPv2/TP_Reactor_Logging_Server.cpp:
102 * examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp:
103 * examples/C++NPv2/Client_Logging_Daemon.cpp:
104 * examples/Connection/blocking/SPIPE-acceptor.cpp:
105 * examples/IPC_SAP/SOCK_SAP/CPP-inserver.cpp:
106 * examples/IPC_SAP/SSL_SAP/SSL-server.cpp:
107 * examples/Reactor/WFMO_Reactor/Abandoned.cpp:
108 * performance-tests/TCP/tcp_test.cpp:
109 * tests/ACE_Init_Test.cpp:
110 * tests/MEM_Stream_Test.cpp:
111 * tests/Service_Config_DLL.cpp:
112 * tests/Task_Test.cpp:
113 * tests/Thread_Pool_Reactor_Resume_Test.cpp:
114 * tests/Thread_Pool_Reactor_Test.cpp:
115 Change thread function to return ACE_THR_FUNC_RETURN, not void *.
117 * examples/C++NPv2/TP_Logging_Server.cpp (handle_input, svc):
118 * examples/C++NPv2/AC_Client_Logging_Daemon.cpp (open):
119 * examples/C++NPv2/display_logfile.cpp (svc): Change
120 ACE_reinterpret_cast to ACE_static_cast. Thanks to Doug Schmidt
123 * examples/C++NPv2/TP_Logging_Server.h:
124 * examples/C++NPv2/Reactor_Logging_Server_Adapter.cpp: Corrected use
127 Mon Jul 1 23:16:47 2002 Jeff Parsons <parsons@cs.wustl.edu>
131 Updated dependencies.
133 Mon Jul 1 21:59:44 2002 Krishnakumar B <kitty@cs.wustl.edu>
135 * ACEXML/common/Attributes.h:
136 * ACEXML/common/AttributesImpl.h:
137 * ACEXML/common/Attributes_Def_Builder.h:
138 * ACEXML/common/CharStream.h:
139 * ACEXML/common/ContentHandler.h:
140 * ACEXML/common/DTDHandler.h:
141 * ACEXML/common/DTD_Manager.h:
142 * ACEXML/common/DefaultHandler.h:
143 * ACEXML/common/Element_Def_Builder.h:
144 * ACEXML/common/EntityResolver.h:
145 * ACEXML/common/Env.h:
146 * ACEXML/common/ErrorHandler.h:
147 * ACEXML/common/Exception.h:
148 * ACEXML/common/FileCharStream.h:
149 * ACEXML/common/HttpCharStream.h:
150 * ACEXML/common/InputSource.h:
151 * ACEXML/common/Locator.h:
152 * ACEXML/common/LocatorImpl.h:
153 * ACEXML/common/Mem_Map_Stream.h:
154 * ACEXML/common/NamespaceSupport.h:
155 * ACEXML/common/SAXExceptions.h:
156 * ACEXML/common/StrCharStream.h:
157 * ACEXML/common/Transcode.h:
158 * ACEXML/common/URL_Addr.h:
159 * ACEXML/common/Validator.h:
160 * ACEXML/common/XMLFilter.h:
161 * ACEXML/common/XMLFilterImpl.h:
162 * ACEXML/common/XMLReader.h:
163 * ACEXML/common/XML_Codecs.h:
164 * ACEXML/common/XML_Types.h:
165 * ACEXML/parser/debug_validator/Debug_Attributes_Builder.cpp:
166 * ACEXML/parser/debug_validator/Debug_Attributes_Builder.h:
167 * ACEXML/parser/debug_validator/Debug_DTD_Manager.h:
168 * ACEXML/parser/debug_validator/Debug_Element_Builder.h:
169 * ACEXML/parser/debug_validator/Element_Tree.h:
170 * ACEXML/parser/parser/Entity_Manager.h:
171 * ACEXML/parser/parser/Parser.cpp:
172 * ACEXML/parser/parser/Parser.h:
174 ACE_LACKS_PRAGMA_ONCE fixes.
176 Mon Jul 1 06:21:00 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
178 * ace/Sock_Connect.cpp (count_interfaces): Added a MacOSX-specific
179 value for OSIOCGIFCONF. Thanks to John Zorko <j.zorko@att.net>
182 Sun Jun 30 22:22:05 2002 Irfan Pyarali <irfan@cs.wustl.edu>
184 * ace/MEM_Addr.cpp (same_host): This method was unnecessarily
185 creating and copying both the local and remote addresses. I
186 changed it so that we only compare the IP addresses.
188 * ace/MEM_Connector.cpp (connect): Changed debugging statement to
189 provide additional information.
191 Sun Jun 30 15:32:47 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
193 * ace/Based_Pointer_Repository.h:
194 * ace/Array_Base.h: Added #include "ace/OS.h" to get the
195 definition of size_t on MacOS. Thanks to John Zorko
196 <j.zorko@att.net> for this fix.
198 * ace/Synch.cpp: Fixed the ACE_recursive_mutex_state::reset() method
199 so that it sets m.LockCount to 0. Thanks to Davide Pasetto
200 <dipo@sis.it> for reporting this.
202 * ace/Synch.cpp: Fixed the implementation of
203 ACE_Condition<ACE_Recursive_Thread_Mutex> so that it works
204 properly on Windows, where the recursive mutex count is
205 incremented by the OS. Thanks to Davide Pasetto <dipo@sis.it>
208 * examples/C++NPv2/AC_Client_Logging_Daemon.cpp:
209 * examples/C++NPv2/Client_Logging_Daemon.cpp: Changed "blocks"
210 parameter to "chunk" to be consistent with the terminology in
213 * examples/C++NPv2/TP_Logging_Server.h:
214 * examples/C++NPv2/Reactor_Logging_Server_Adapter.cpp: Added some
215 new code to safely allocate an array.
217 Sun Jun 30 08:55:18 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
219 * tests/Enum_Interfaces_Test.cpp (ACE_TMAIN): Fixed this to use
220 ACE_Sock_Connect::get_ip_interfaces() rather than ACE::get_ip_interfaces().
221 Thanks to <rjgebis@hotmailer.com> for reporting this.
223 Sun Jun 30 12:22:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
225 * etc/tao_portablegroup.doxygen:
226 Added this file that configures the doxygen configuration of the TAO
227 PortableGroup library.
230 * bin/generate_doxygen.pl:
231 Updated these files so that the new PortableGroup doxygen
232 documentation is generated and listed in the index page.
234 Fri Jun 28 08:07:12 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
236 * ace/Logging_Strategy.cpp: Added the ability to toggle
237 the LM_STARTUP and LM_SHUTDOWN messages. Thanks to
238 Adee Ran <adeeran@yahoo.com> for the patch.
240 Fri Jun 28 07:37:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
242 * ACEXML/common/URL_Addr.cpp:
243 Fixed BCB Unicode build error.
245 Thu Jun 27 16:50:19 2002 Balachandran Natarajan <bala@cs.wustl.edu>
247 * ace/TP_Reactor.cpp:
249 * ace/TP_Reactor.i: Moved common code in get_socket_event_info ()
250 to a new method clear_handle_read_set () and simplified the code
251 in get_notify_handle () so that it improves readability.
253 Thu Jun 27 20:26:33 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
255 * tests/DLL_Test.cpp: Define retval before preprocessor checks to
256 fix Lynx build problem.
258 Thu Jun 27 14:32:50 2002 Nanbor Wang <nanbor@cs.wustl.edu>
260 * bin/nightlybuilds/builds.lst: Moved Fuzz, DLL_Core, DLL_Debug
261 builds to the new scoreboard also.
263 Thu Jun 27 07:47:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
265 * ACEXML/tests/HttpCharStream_Test.cpp:
266 Fixed BCB Unicode build errors.
268 * ACEXML/common/URL_Addr.h:
269 Documentation update.
271 Wed Jun 26 09:56:38 2002 Nanbor Wang <nanbor@cs.wustl.edu>
273 * bin/msvc_auto_compile.pl: Changed the list of XML related
274 directory name from XML to ACEXML.
276 Wed Jun 26 13:55:01 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
278 * examples/Reactor/Multicast/Log_Wrappers.cpp:
279 * examples/Reactor/Ntalker/Log_Wrappers.cpp:
280 Remove references to SOCK_Dgram_Mcast_T.
282 Tue Jun 25 15:13:49 2002 Steve Huston <shuston@riverace.com>
284 * ace/Basic_Types.h: Added ACE_WIN64 versions of
285 ACE_SSIZE_T_FORMAT_SPECIFIER and ACE_SIZE_T_FORMAT_SPECIFIER.
287 Tue Jun 25 23:22:09 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
289 * ace/SOCK_Dgram_Mcast.cpp:
290 * ace/SOCK_Dgram_Mcast.h:
291 * ace/SOCK_Dgram_Mcast.i:
292 * ace/SOCK_Dgram_Mcast_T.cpp: Removed.
293 * ace/SOCK_Dgram_Mcast_T.h: Removed.
294 * ace/SOCK_Dgram_Mcast_T.i: Removed.
295 * ace/QoS/SOCK_Dgram_Mcast_QoS.cpp:
296 * ace/QoS/SOCK_Dgram_Mcast_QoS.h:
297 Reverted these files to before June 9. Existing code in QoS and
298 AVStreams were broken do to the changes.
300 Tue Jun 25 14:45:31 2002 Steve Huston <shuston@riverace.com>
302 * examples/C++NPv2/AC_Client_Logging_Daemon.cpp: Comment out
303 declarations for info(), suspend(), and resume() - they're left
304 as exercises for the reader.
306 * examples/C++NPv2/AC_CLD.dsp: Added SSL link libraries.
308 Tue Jun 25 12:13:39 2002 Steve Huston <shuston@riverace.com>
310 * examples/C++NPv2/AC_CLD.dsp:
311 * examples/C++NPv2/examples.dsw: Added project for the
312 Acceptor-Connector Client Logging Daemon in chapter 7.
314 * examples/C++NPv2/AC_Client_Logging_Daemon.cpp: Use the ACE
315 traits macros instead of relying on traits class support to
316 help the aged MSVC 6 compiler along.
318 Mon Jun 24 20:55:45 2002 Irfan Pyarali <irfan@cs.wustl.edu>
320 * ace/ACE.cpp (select): Fixed typo.
322 Mon Jun 24 17:39:31 2002 Steve Huston <shuston@riverace.com>
325 * ace/ace_lib64.mak: NMAKE files for building ACE on 64-bit Windows
326 XP with the Platform SDK compiler. At some point, hopefully,
327 MSVC will allow 64-bit builds via the regular project files,
328 but for now, must use NMAKE.
330 * ace/config-win32-common.h: #define ACE_WIN64 if doing a 64-bit build.
332 * ace/ACE.cpp (select): Don't sync() the handles after select() on
333 Win64. The cast is illegitmate, and the call is a no-op on Windows.
335 Mon Jun 24 17:55:58 2002 Krishnakumar B <kitty@cs.wustl.edu>
337 * include/makeinclude/wrapper_macros.GNU (ACE_BETA_VERSION):
339 Grab the version information from Version.h rather than VERSION
340 as VERSION is not likely to installed when doing a make install.
341 Thanks to Bala for the suggestion.
343 * ACEXML/parser/parser/Parser.cpp:
344 * ACEXML/parser/parser/Parser.h:
346 Get the prefix right in case of a default namespace being
347 present. Previously we were using a URI a get to the prefix,
348 which doesn't work when the URI is the same as URI for another
351 Mon Jun 24 19:54:34 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
353 * ace/config-g++-common.h: Define
354 ACE_HAS_STD_TEMPLATE_METHOD_SPECIALIZATION for gcc 2.95 and higher.
356 Mon Jun 24 07:26:41 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
358 * ace/Timer_Queue_Adapters.cpp:
359 * ace/Timer_Queue_Adapters.h: Changed uses of ACE_Recursive_Thread_Mutex
360 to ACE_RECURSIVE_SYNCH_MUTEX so things will work properly on
361 single-threaded configurations. Thanks to Craig Rodrigues for
364 Mon Jun 24 12:07:00 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
366 * ace/RMCast/RMCast_IO_UDP.cpp: Remove ACE_SOCK_Dgram_Ex template instantiation.
368 Mon Jun 24 03:26:10 2002 Krishnakumar B <kitty@cs.wustl.edu>
370 * ACEXML/common/AttributesImpl.cpp(isDuplicate):
372 New function isDuplicate() to check duplicate attributes. Merged
373 support for duplicate attribute checking in setAttribute().
375 * ACEXML/common/AttributesImpl.h:
377 Fixed documentation for a bunch of functions which had set/get
380 * ACEXML/common/AttributesImpl.i:
382 Fixed more memory leaks.
384 * ACEXML/common/NamespaceSupport.cpp(processName):
386 Added support for processing attributes.
388 * ACEXML/parser/parser/Parser.cpp:
389 * ACEXML/parser/parser/Parser.h:
391 Implement XML Namespace (http://www.w3.org/TR/REC-xml-names)
392 support. ACEXML parser supports the SAX 2.0 XML API. Parser has
393 two user tunable features available: namespaces (defaults to
394 true) and namespace_prefixes (defaults to false).
396 * ACEXML/examples/SAXPrint/Print_Handler.cpp:
397 * ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp:
399 Changed to reflect more event callbacks available now due to
402 * ACEXML/examples/SAXPrint/ns.svc.conf.xml:
404 Changed to include a default namespace to test more code paths.
405 Found a bug in the process :-) Will fix tomorrow.
407 The only remaining feature in ACEXML parser needed for CCM is
408 validator. Next target....
410 * ace/Message_Block.h:
412 Fixed typo in documentation (ceases to exist and not seizes to
415 Sun Jun 23 21:06:28 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
416 Bill Fulton <Bill_A_Fulton@raytheon.com>
418 * ace/SOCK_Dgram_Mcast.cpp:
419 * ace/SOCK_Dgram_Mcast.h:
420 * ace/SOCK_Dgram_Mcast_T.cpp:
421 * ace/SOCK_Dgram_Mcast_T.h:
422 * ace/SOCK_Dgram_Mcast_T.i:
423 More SOCK_Dgram fixes supplied by Bill Fulton with modifications
425 - Remove proprietary typedefs for ACE mutex classes
426 - Make default mutex strategy for SOCK_Dgram_Mcast ACE_SYNCH_MUTEX
427 - (subscribe_ifs) fix check when determining if subscribed address
428 is the same as the bound address
430 Sun Jun 23 14:51:48 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
432 * ace/Synch.h: Put the class ACE_recursive_mutex_state inside
433 the section ACE_HAS_THREADS. Thanks to Craig Rodrigues
434 for noticing the need for this.
436 Sun Jun 23 14:05:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
438 * ACEXML/common/HttpCharStream.cpp:
439 Fixed BCB Unicode compile errors.
441 Fri Jun 21 19:18:05 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
443 * bin/nightlybuilds/builds.lst: Move to IA64_Linux_GCC_3.1 and
444 Tru64_CXX builds to new scoreboard.
446 Fri Jun 21 14:34:51 2002 Steve Huston <shuston@riverace.com>
448 * ace/config-sunos5.5.h: Enable
449 ACE_HAS_STD_TEMPLATE_METHOD_SPECIALIZATION for Forte 6 Update 1.
451 Fri Jun 21 14:06:33 2002 Steve Huston <shuston@riverace.com>
453 * ace/Timer_Queue_Adapters.cpp (ACE_Thread_Timer_Queue_Adapter):
454 Changed ACE_GUARD_RETURN uses of command_mutex_ from
455 ACE_Recursive_Condition_Mutex to ACE_SYNCH_MUTEX to match
458 Fri Jun 21 06:21:33 2002 Christopher Kohlhoff <chris@kohlhoff.com>
460 * ace/config-win32-borland.h:
461 Re-enable ACE_HAS_STD_TEMPLATE_METHOD_SPECIALIZATION for all
462 versions of Borland C++.
464 Thu Jun 20 20:50:51 2002 Steve Huston <shuston@riverace.com>
466 * ace/config-sunos5.5.h: Re-enable
467 ACE_HAS_STD_TEMPLATE_METHOD_SPECIALIZATION for Forte 6 Update 2.
470 * ace/Synch.cpp: Commented out all the uses of
471 ACE_TEMPLATE_METHOD_SPECIALIZATION. The class specialization was
472 already declared such, and doing it on the methods is not right.
473 But they're only commented out for now, just in case...
475 Thu Jun 20 20:29:31 2002 Steve Huston <shuston@riverace.com>
477 * ace/Codecs.h (ACE_Base64): Added "friend class ace_dewarn_gplusplus"
478 to silence g++ warnings about private ctors and no friends.
480 Thu Jun 20 20:21:39 2002 Steve Huston <shuston@riverace.com>
482 * tests/Recursive_Condition_Test.icc: Visual Age C++ configuration
484 * tests/tests.icp: Added Recusrive_Condition_Test.icc.
486 Fri Jun 21 00:21:48 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
488 * examples/Timer_Queue/Thread_Timer_Queue_Test.cpp (dump):
489 Switch from ACE_SYNCH_MUTEX to ACE_SYNCH_RECURSIVE_MUTEX.
491 Thu Jun 20 14:32:03 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
493 * ace/Synch.cpp (ACE_recursive_mutex_state): Replaced the
494 ACE_OS::mutex_lock/unlock calls with
495 ACE_OS::thread_mutex_lock/unlock so things will work on NT.
496 Thanks to Jeff Parsons for reporting this.
498 * ace/Synch.{h,cpp}: Only compile the new
499 ACE_Condition<ACE_Recursive_Thread_Mutex> template
500 specialization if ACE_HAS_THREADS. Thanks to Craig Rodrigues
503 * include/makeinclude/platform_sunos5_sunc++.GNU (CC_VERSION): Added
504 additional cases for SunC++ 5.2 and 5.3. Thanks to Carsten
505 Tonsberg Nielsen <ctn@maerskdatadefence.dk> for reporting this.
507 * ace/ATM_Stream.cpp (get_peer_name):
508 * ace/Log_Msg_UNIX_Syslog.cpp (log):
509 * ace/Logging_Strategy.cpp: Replaced the use of ACE_OS::strtok() with
510 ACE_OS::strtok_r(). Thanks to Eugene Alterman
511 <eugalt@myrealbox.com> for motivating this.
513 Thu Jun 20 16:02:22 2002 Steve Huston <shuston@riverace.com>
515 * ace/config-sunos5.5.h: Commented out the below addition for now.
517 Thu Jun 20 15:49:39 2002 Steve Huston <shuston@riverace.com>
519 * ace/config-sunos5.5.h: For Forte 6, Update 2 and up, add
520 #define ACE_HAS_STD_TEMPLATE_METHOD_SPECIALIZATION.
521 Earlier Forte 6 versions may also support this, but I don't have
523 Fixes compile warning on Filecache.cpp.
525 Thu Jun 20 13:37:55 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
527 * examples/C++NPv2/README: Updated the README file to map the
528 filenames to the chapters in C++NPv2.
530 Wed Jun 19 21:30:05 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
531 Bill Fulton <Bill_A_Fulton@raytheon.com>
533 * ace/SOCK_Dgram_Mcast_T.cpp: Fix Win32 wchar build problems.
534 Thanks to Bill Fulton for supplying these fixes.
536 Wed Jun 19 16:16:32 2002 Nanbor Wang <nanbor@cs.wustl.edu>
539 * tests/Recursive_Condition_Test.dsp: Added a new project file.
541 Wed Jun 19 06:50:54 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
543 * tests/run_test.lst:
544 * tests/Makefile.bor:
545 * tests/Makefile: Added the new Recursive_Condition_Test.
547 * ACE/Timer_Queue_Adapters.{h,cpp}: Enhanced
548 ACE_Thread_Timer_Queue_Adapter so it uses the new
549 ACE_Condition<ACE_Recursive_Thread_Mutex>. Thanks to
550 Stephen Howard <stephen.e.howard@lmco.com> for
553 * ace/Synch_T.h: Added a new RECURSIVE_CONDITION trait in
554 ACE_NULL_SYNCH and ACE_MT_SYNCH.
556 * ace/Synch_T.h: Added a #define for ACE_SYNCH_RECURSIVE_CONDITION
557 so that we can parameterize it based on threads vs. non-threads.
559 * docs/exceptions.html: Updated document to use ACE_RE_THROW
560 instead of the deprecated ACE_RETHROW macro. Thanks to
561 Andy Ling <Andy.Ling@Quantel.Com> for reporting this.
563 * ace/Timer_Queue_Adapters.h: Changed the order in which
564 the condition variable and mutex are defined to ensure the
565 mutex is initialized before we pass it to condition_'s
570 * ace/Atomic_Op.i: Replaced ACE_TEMPLATE_SPECIALIZATION with
571 ACE_TEMPLATE_METHOD_SPECIALIZATION so this will compile correctly
572 on certain (broken) compilers, such as SunC++ 6.1.
574 Wed Jun 19 14:25:52 2002 Balachandran Natarajan <bala@cs.wustl.edu>
576 * ace/TP_Reactor.cpp (handle_socket_events): Couple of small
577 fixes. The fixes are for
579 1. Bug http://bugzilla.dre.vanderbilt.edu/show_bug.cgi?id=1231
580 and it is self-explanatory
582 2. The find () operation after dispatch was not holding the lock
583 and chances of race are high. This is documented as #2 in
584 bug http://bugzilla.dre.vanderbilt.edu/show_bug.cgi?id=1233
586 Added some comments in the code explaining what is going
587 on. Thanks to Carlos for identifying the problem.
589 * ace/Event_Handler.h: Added a enum to indicate the two states
590 returnable by the call resume_handler ().
592 * ace/Event_Handler.cpp (resume_handler): Instead of returning 0,
593 we return ACE_Event_Handler::ACE_REACTOR_RESUMES_HANDLER.
595 Wed Jun 19 13:42:16 2002 Balachandran Natarajan <bala@cs.wustl.edu>
597 * tests/tests.dsw (Project): Added TP_Reactor_Test.dsp to the
600 Wed Jun 19 11:57:02 2002 Carlos O'Ryan <coryan@atdesk.com>
602 * bin/auto_run_tests.lst:
603 Disable TAO/tests/Nested_Upcall_Crash on minimum_corba builds.
605 Tue Jun 18 14:29:26 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
607 * ace/Synch.{h,i}: Added a new template specialization of ACE_Condition<>
608 that supports recursive mutexes used in conjunction with ACE
609 condition variables. Thanks to Michael Lindner
610 <mikel@attmail.com> and Mike Vitalo <mvitalo@sprynet.com> for
613 * ace/SOCK_Dgram_Mcast.cpp: Reverted the file to the previous version
614 since somehow things got messed up...
616 Tue Jun 18 12:44:54 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
618 * ace/OS.{h,i}: Added a new method called stopped() that
619 returns 1 if the timer has already been stopped. Thanks to
620 Giovanni Zito <g.zito@acsys.it> for this suggestion.
622 Tue Jun 18 12:17:58 2002 Jaiganesh Balasubramanian <jai@doc.ece.uci.edu>
624 * ace/QoS/SOCK_Dgram_Mcast_QoS.cpp:
625 Added the RCS ID symbol.
627 Tue Jun 18 12:41:15 2002 Balachandran Natarajan <bala@cs.wustl.edu>
629 * ace/CDR_Stream.i (adjust): Added a check for pointer overflow
630 befor setting the write pointer. thanks to Rich Siebel and Byron
631 Harris for pointing this out.
633 Tue Jun 18 07:50:14 2002 Ossama Othman <ossama@uci.edu>
637 Include "ace/OS.h". It is required for some types and function
638 calls made in this header. Thanks to Michael Kircher for
641 Mon Jun 17 17:36:52 2002 Steve Huston <shuston@riverace.com>
643 * examples/C++NPv2/AIO_Client_Logging_Daemon.cpp: Changed call
644 to ACE_Asynch_Connector::open() to take advantage of new
646 Sat Jun 15 20:30:41 2002 Steve Huston <shuston@riverace.com>
648 Mon Jun 17 17:21:38 2002 Steve Huston <shuston@riverace.com>
650 * ace/SUN_Proactor.cpp (handle_events): Remove the now-deleted
651 success argument from call to application_specific_code().
653 Mon Jun 17 13:40:24 2002 Balachandran Natarajan <bala@cs.wustl.edu>
655 * include/makeinclude/platform_osf1_4.x_cxx.GNU: Removed the hard
656 override of LDFLAGS. Thanks to Martin Krumpolec
659 Mon Jun 17 06:20:55 2002 Christopher Kohlhoff <chris@kohlhoff.com>
661 * ace/Object_Manager.cpp:
662 * ace/Service_Config.h:
663 * ace/Service_Config.cpp:
665 Some components registered with the framework repository have
666 dependencies on the ACE_Log_Msg or ACE_Thread_Manager singletons.
667 Reorganised the ACE_Object_Manager::fini function so that the
668 framework repository is cleaned up before these objects. Thanks to
669 Don Hinton <dhinton@ieee.org> for assistance in tracking this down.
673 Prevent the reactor from being erroneously registered with the
674 framework repository a second time, as happened when the reactor
675 instance pointer was explicitly set.
677 Sun Jun 16 20:38:27 2002 Krishnakumar B <kitty@cs.wustl.edu>
679 * ace/DLL_Manager.cpp (ACE_DLL_Handle):
682 More mismatched delete/delete[] errors. I am fixing the easier
683 ones. There may be more.
685 Sun Jun 16 20:22:28 2002 Krishnakumar B <kitty@cs.wustl.edu>
687 * ACEXML/common/AttributesImpl.i (qName):
689 Fixed memory leaks caused by mismatched delete/delete[]. Caught
692 * ACEXML/examples/SAXPrint/main.cpp:
694 Give useful usage messages.
697 Sat Jun 15 20:56:29 2002 Steve Huston <shuston@riverace.com>
699 * tests/tests.dsw: Added Proactor_Timer_Test.dsp.
701 Sat Jun 15 20:30:41 2002 Steve Huston <shuston@riverace.com>
703 * ace/Asynch_Acceptor.{h cpp}: Added a new template method,
704 virtual int validate_connection
705 (const ACE_Asynch_Connect::Result& result,
706 const ACE_INET_Addr &remote,
707 const ACE_INET_Addr& local)
708 It replaces the old validate_new_connection() method, which is
709 now marked deprecated. Semantics are the same (return -1 to
710 ask framework to abort the connection before activating a
711 service). However, more information is available, including
714 * ace/Asynch_Connector.{h cpp}: Replaced validate_new_connection()
716 virtual int validate_connection
717 (const ACE_Asynch_Connect::Result& result,
718 const ACE_INET_Addr &remote,
719 const ACE_INET_Addr& local)
720 Examining the result argument is the only way to find out if
721 the asynchronous connect attempt succeeded or not.
722 The connect completion calls validate_connection() on either
723 success or failure as long as the validate_new_connection
724 flag is set on open(). The default value was changed from
725 0 (don't call) to 1 (call) since this is the only way to learn
726 about connection success/failure.
728 * ace/POSIX_Proactor.{h cpp} (application_specific_code):
729 * ace/WIN32_Proactor.{h cpp} (application_specific_code): Removed the
730 'int success' argument. Success/fail is determined by the error
731 value now (0 == success). Simplifies the code, and makes the
732 result.success() call return 1 iff the operation succeeded.
734 Thanks very much to Alex Libman for these ideas and for working
735 to improve these classes for ACE and C++NPv2!
737 Sat Jun 15 12:01:38 2002 Steve Huston <shuston@riverace.com>
739 * ace/Obstack_T.cpp (request): Don't lose an initial set of characters
740 if the requested length won't fit. Thanks to Christopher W. Midgley
741 <cmidgley@livevault.com> for this report and fix.
743 * tests/Obstack_Test.{cpp dsp icc}: New test for the above, and
744 its MSVC and Visual Age C++ files.
747 * tests/Makefile.bor:
748 * tests/run_test.lst:
750 * tests/tests.icp: Added new Obstack_Test.
752 * THANKS: Added Christopher W. Midgley.
754 Sat Jun 15 12:41:07 Frank Hunleth <fhunleth@cs.wustl.edu>
756 * THANKS: Added Nick Cross to the hall of fame.
758 Fri Jun 14 14:39:33 2002 Nanbor Wang <nanbor@cs.wustl.edu>
760 * ace/Filecache.cpp: Removed excessive ACE_DEBUG statements.
761 Thanks to Charles F. Frasch <cfrasch@spawar.navi.mil> for
764 Fri Jun 14 12:04:17 2002 Jaiganesh Balasubramanian <jai@doc.ece.uci.edu>
766 * ace/QoS/SOCK_Dgram_Mcast_QoS.cpp:
767 * ace/QoS/SOCK_Dgram_Mcast_QoS.h:
768 Removed build errors for QoS library, due to dependencies to the
769 old SOCK_Dgram_Mcast class. Thanks to Bill Fulton for this fix.
771 Fri Jun 14 14:17:49 2002 Carlos O'Ryan <coryan@atdesk.com>
773 * bin/auto_run_tests.pl:
774 Fixed wrong application name in Usage message.
776 * bin/auto_run_tests.lst:
777 Add the Nested_Upcall_Crash test.
779 Fri Jun 14 09:34:41 2002 Ossama Othman <ossama@uci.edu>
783 For the ACE_HAS_WINCE, pass a statically allocated buffer to
784 ctime_r() since ctime_r() will return that same buffer as the
785 return value of ctime(). Fixes memory access violations.
786 Thanks to Michael Searles <msearles@base16.com> for pointing out
789 Thu Jun 13 21:26:49 2002 Steve Huston <shuston@riverace.com>
791 * ace/Configuration_Import_Export.cpp (squish): Replaced use
792 of naked isspace() with ACE_OS_String::ace_isspace() to work
793 with wide chars also.
795 Thu Jun 13 21:09:33 2002 Steve Huston <shuston@riverace.com>
797 * tests/Config_Test.cpp (run_tests): Added a test for importing
798 a previously-existing ini file and verifying its contents.
800 * tests/Config_Test_Import_1.ini: File for the above test.
802 Thu Jun 13 19:05:57 2002 Krishnakumar B <kitty@cs.wustl.edu>
804 * include/makeinclude/rules.local.GNU:
806 Added a rule to install a symlink to libfoo.so.3 under
807 $(ACE_ROOT)/ace. This should fix all the build errors. ld.so
808 needs libfoo.so.3 to be in LD_LIBRARY_PATH. libfoo.so doesn't
809 do. Thanks to Marvin Wolfthal <maw@weichi.com> for reporting the
814 Changes to ensure that all major releases are named
815 ACE-[0-9]+.0.0 and all minor releases are named
816 ACE-[0-9]+.[0-9]+.0. PLEASE TAG THE REPOSITORY AS ACE_5_3_0 and
817 TAO_1_3_0 or ACE_6_0_0 and TAO_2_0_0 WHEN MAKING A MINOR OR A
818 MAJOR RELEASE. Pointers to add this to somewhere more prominent
821 Thu Jun 13 14:45:13 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
823 * ace/SOCK_Dgram_Mcast_T.cpp: Added wchar support - remove
824 warnings in MSVC when #define ACE_USES_WCHAR used in config.h.
825 Thanks to Bill Fulton for this fix.
827 Wed Jun 12 21:28:29 2002 Steve Huston <shuston@riverace.com>
829 * tests/Framework_Component_DLL.cpp (Server_T): Add template
830 parameter name to class template arg to get aC++ to eat it.
832 Wed Jun 12 18:29:11 2002 Krishnakumar B <kitty@cs.wustl.edu>
834 * include/makeinclude/rules.lib.GNU:
835 * include/makeinclude/rules.local.GNU:
836 * include/makeinclude/wrapper_macros.GNU:
838 * include/makeinclude/platform_g++_common.GNU:
840 Added support for shared library versioning. Libraries built
841 with GNU ld will be versioned by default.
843 * include/makeinclude/platform_aix4_cset++.GNU:
844 * include/makeinclude/platform_aix4_g++.GNU:
845 * include/makeinclude/platform_aix_g++.GNU:
846 * include/makeinclude/platform_aix_ibm.GNU:
847 * include/makeinclude/platform_hpux.GNU:
848 * include/makeinclude/platform_hpux_aCC.GNU:
849 * include/makeinclude/platform_hpux_gcc.GNU:
850 * include/makeinclude/platform_hpux_kcc.GNU:
852 Added null SONAME and SOVERSION for disabling shared library
855 * include/makeinclude/platform_dgux4_epc.GNU:
856 * include/makeinclude/platform_freebsd.GNU:
857 * include/makeinclude/platform_gnuwin32_common.GNU:
858 * include/makeinclude/platform_irix5.3_g++.GNU:
859 * include/makeinclude/platform_irix5.3_sgic++.GNU:
860 * include/makeinclude/platform_irix6.x_g++.GNU:
861 * include/makeinclude/platform_irix6.x_kcc.GNU:
862 * include/makeinclude/platform_irix6.x_sgic++.GNU:
863 * include/makeinclude/platform_linux.GNU:
864 * include/makeinclude/platform_linux_cxx.GNU:
865 * include/makeinclude/platform_linux_icc.GNU:
866 * include/makeinclude/platform_linux_kcc.GNU:
867 * include/makeinclude/platform_m88k.GNU:
868 * include/makeinclude/platform_macosx.GNU:
869 * include/makeinclude/platform_mvs.GNU:
870 * include/makeinclude/platform_netbsd.GNU:
871 * include/makeinclude/platform_osf1_3.2_cxx.GNU:
872 * include/makeinclude/platform_osf1_4.x_cxx.GNU:
873 * include/makeinclude/platform_osf1_4.x_g++.GNU:
874 * include/makeinclude/platform_osf1_4.x_kcc.GNU:
875 * include/makeinclude/platform_osf1_4.x_rcc.GNU:
876 * include/makeinclude/platform_psosim_g++.GNU:
877 * include/makeinclude/platform_qnx_neutrino.GNU:
878 * include/makeinclude/platform_qnx_rtp_gcc.GNU:
879 * include/makeinclude/platform_sco-nothread.GNU:
880 * include/makeinclude/platform_sco5.0.0-CC-fsu-pthread.GNU:
881 * include/makeinclude/platform_sco5.0.0-mit-pthread.GNU:
882 * include/makeinclude/platform_sco5.0.0-nothread.GNU:
883 * include/makeinclude/platform_sunos4_g++.GNU:
884 * include/makeinclude/platform_sunos4_lucid.GNU:
885 * include/makeinclude/platform_sunos4_sunc++3.x.GNU:
886 * include/makeinclude/platform_sunos4_sunc++4.x.GNU:
887 * include/makeinclude/platform_sunos5_centerline.GNU:
888 * include/makeinclude/platform_sunos5_g++.GNU:
889 * include/makeinclude/platform_sunos5_ghs.GNU:
890 * include/makeinclude/platform_sunos5_kcc.GNU:
891 * include/makeinclude/platform_sunos5_sunc++.GNU:
892 * include/makeinclude/platform_tandem.GNU:
893 * include/makeinclude/platform_unixware_g++.GNU:
894 * include/makeinclude/platform_unixware_udk.GNU:
896 Changed SOFLAGS = to SOFLAGS += to avoid dealing with order of
897 includes of various Makefile rules.
899 Wed Jun 12 11:25:22 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
901 * tests/Config_Test.cpp (test): Removed what appeared to be
902 an unnecessary and unused called to
903 const ACE_Configuration_Section_Key &root = config->root_section ();
905 * ace/Configuration.cpp (open_section): Fixed a warning in the
908 Wed Jun 12 11:49:33 2002 Steve Huston <shuston@riverace.com>
910 * examples/C++NPv2/AC_Client_Logging_Daemon.cpp: Changed to
913 * examples/C++NPv2/Reactor_Logging_Server_Adapter.cpp (init):
914 Use ACE_Auto_Array_Ptr to be cleaner about allocated char ptr
915 array. Coincides with book change.
917 Tue Jun 11 10:23:03 2002 Stephen Torri <storri@cs.wustl.edu>
919 * ace/String_Base.h: Updated comments/documentation on the String_Base
922 * ace/String_Base.{i,cpp}: Added brackets to if/else statements for
923 better structure/readability. Changed "(cond) ? true : false" to
924 better "if/else" structure.
926 Tue Jun 11 19:05:39 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
928 * ace/SOCK_Dgram_Mcast.h: Added a default constructor for
929 ACE_SOCK_Dgram_Mcast.
931 * tests/Config_Test.cpp (test): Added tests for the following capability.
932 Thanks to Eugene Alterman <eugalt@myrealbox.com> for
933 contributing these tests.
935 * ace/Configuration.{h,cpp}:
936 ACE_Configuration_Heap::open_section() now accepts path
937 separators in section name, so that it is consistent with the
939 ACE_Configuration_Win32Registry::open_section(). Thanks to
940 Eugene Alterman <eugalt@myrealbox.com> for contributing this
943 Tue Jun 11 20:02:39 2002 Steve Huston <shuston@riverace.com>
945 * ace/DLL_Manager.cpp (ACE_DLL_Handle::error()): Change to a
946 different form of auto_ptr initialization that Visual Age C++
949 Tue Jun 11 13:17:29 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
951 * ace/Cache_Map_Manager_T.h:
952 * ace/Caching_Utility_T.h:
953 * ace/Env_Value_T.h: Added #include "ace/Global_Macros.h".
954 Thanks to Ty Tenait <tytenait@yahoo.com> for reporting this.
956 * ace/Dirent_Selector.h: Added #include "ace/ACE_export.h".
957 Thanks to Ty Tenait <tytenait@yahoo.com> for reporting this.
959 Tue Jun 11 09:42:06 2002 Ossama Othman <ossama@uci.edu>
961 * ace/SOCK_Dgram_Mcast_T.cpp (make_multicast_ifaddr):
963 Use ACE_HTONL instead of htonl(). The latter causes the
964 assembler to choke on some Linux installations.
966 Mon Jun 10 14:50:46 2002 Nanbor Wang <nanbor@cs.wustl.edu>
968 * examples/DLL/Dll.dsw:
969 * examples/ASX/CCM_App/CCM_App.dsw: Updated project dependencies.
971 Mon Jun 10 14:23:28 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
973 * ace/Reactor.h (ACE_Reactor): Added a comment explaining that
974 the mask passed to notify() can only be READ_MASK, WRITE_MASK,
975 or EXCEPT_MASK. Thanks to Cary Steinmetz
976 <cary.s.steinmetz@boeing.com> for motivating this comment.
978 * ace/OS_String.cpp: Make sure to check whether src == dst and
979 avoid doing any copies in this case. Thanks to Michael Searles
980 <msearles@base16.com> for reporting this.
982 Sun Jun 9 20:01:00 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
984 * ace/Makefile: Something is wrong with my ACE_ROOT environment
985 variable, which caused problems with the dependency generation.
988 Sun Jun 9 19:31:04 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
990 * ace/SOCK_Dgram_Mcast.h: Added ACE_Export to ACE_SOCK_Dgram_Mcast.
992 Sun Jun 9 18:57:07 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
994 * examples/Reactor/Ntalker/ntalker.cpp:
995 * examples/Reactor/Multicast/Log_Wrapper.cpp: Added template
996 instantiations for the new ACE_SOCK_Dgram_Mcast_Ex<> template.
998 Sun Jun 9 18:47:22 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
1000 * tests/Config_Test.cpp (run_tests): Added code to exercise the
1001 new subkey path feature contributed by Eugene Alterman.
1003 * ace/Configuration.{h,cpp}: Added support for the path separator
1004 ('\\') in key names. Thanks to Eugene Alterman
1005 <eugalt@myrealbox.com> for contributing this patch.
1007 * ace/Date_Time.{h,i}: Added support for weekday. Thanks to
1008 Eyal Lubetzky <eyall@BANDWIZ.COM> for reporting this.
1010 Sun Jun 9 18:11:02 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
1012 * ace/SOCK_Dgram_Mcast.cpp: Removed the explicit inclusion of
1013 "ace/SOCK_Dgram_Mcast_T.cpp" since this is #included appropriately
1014 by SOCK_Dgram_Mcast.h.
1016 * ace/SOCK_Dgram_Mcast.cpp: Removed the ';' from the end of the
1017 #pragma instantiates.
1019 * ace/Makefile: Added SOCK_Dgram_Mcast_T.
1021 * ace/SOCK_Dgram_Mcast_T.cpp
1022 ace/SOCK_Dgram_Mcast_T.i
1023 ace/SOCK_Dgram_Mcast_T.h:
1024 Minor changes to conform to ACE coding conventions.
1026 Sun Jun 9 17:50:37 2002 Bill Fulton <bill_a_fulton@raytheon.com>
1028 * ace/SOCK_Dgram_Mcast.cpp
1029 ace/SOCK_Dgram_Mcast.h
1030 ace/SOCK_Dgram_Mcast_T.cpp <new>
1031 ace/SOCK_Dgram_Mcast_T.i <new>
1032 ace/SOCK_Dgram_Mcast_T.h <new>
1034 Somewhat massive changes to the (already very useful)
1035 ACE_SOCK_Dgram_Mcast class; some fixes to existing functionality,
1036 some new functionality, and a different way of controlling optional
1037 (per-instance) functionality. The intent was to preserve existing
1038 interface and functionality (when correct), including environment-
1039 specific functionality.
1041 Fixes to Existing Functionality:
1043 - For ::unsubscribe(void); unsubscribes from all active subscriptions.
1044 Previous version unsubscribed only from the most recently
1045 subscribed group/net_if.
1046 * This could change execution behavior of existing code.
1048 - Enhanced support for a passed port# of '0'.
1049 The ephemeral port# assigned by the system when the socket is
1050 bound is used for all local ::send methods.
1052 - Validation of non-zero port# and, optionally, the address passed
1053 to the ::subscribe method, if the socket has been bound.
1054 On second and subsequent ::subscribe invocations, the previous
1055 version allowed passed parameters that were inconsistent with the
1056 bound socket parameters. This could result in a confusing
1057 condition; you would not receive messages sent to the port and/or
1058 address passed to ::subscribe.
1059 * This could change execution behavior of existing code.
1061 Added Functionality:
1063 - Support specification of the (multicast) address and interface to
1064 be used by all local ::send methods, independent of the receive
1065 address and interface. The same port# is used for all base class
1066 ::recv methods and all local class ::send methods. The send
1067 interface applies to all local and all base class ::send methods.
1069 - Enhanced ::dump method, to show the dynamic list of subscriptions,
1070 the bound address/port#, the send address/interface, and the state
1071 of optional functionality. Also did some output reformatting.
1073 Optional Functionality via Template Parameters and Ctor Args:
1075 In the previous implementation, some aspects of class functionality
1076 were transparently configured based on the OS it was compiled
1077 under. This has been changed so that all optional functionality is
1078 explicitly specified, using (a baroque set of) optional
1079 constructor arguments. In addition, new optional functionality
1080 was added and is specified with template parameters and optional
1081 constructor arguments. For backward compatibility, there is an
1082 explicit specialization called ACE_SOCK_Dgram_Mcast - this should
1083 have the same functionality, including OS-specific functionality,
1084 as the previous class implementation, and can still be used for
1085 most normal (if there is such a thing with multicast) apps.
1086 Overview of new template parameter:
1088 - Strategized locking (very limited MT-safety - see below).
1089 Overview of new, optional ctor arguments (enumerations):
1091 - Whether to bind the address as well as the port#.
1093 - Defines semantics of passing net_if parameter of NULL;
1094 i.e. use all or only one iface.
1096 - Whether destructor explicitly unsubscribes from all
1098 See SOCK_Dgram_Mcast_T.h for a full description. Environment-
1099 specific default values are explicitly declared, for use by app
1102 Changes to Previous Class (public) Interface & Functionality:
1104 - Added a public (overloaded) ::open method.
1105 This allows explicit specification of the port# and the multicast
1106 address (if opt_bindaddr_yes is used) that is bound to this
1107 socket. This also allows specification of the address and the
1108 network interface to be used by local ::send methods (and the
1109 network interface used by super-class and sub-class ::send
1110 methods). There is only one address parameter; the same parameter
1111 is used for both the send address/port# and the bound
1112 address/port#. The port# in the address may be 0 (to use a
1113 system-assigned ephemeral port# for sending and receiving).
1115 NOTE: Use of this method is optional and, if used, must be
1116 invoked _before_ any ::subscribe method is invoked - otherwise it
1117 is _ignored_, and the (first) ::subscribe parameters will be used
1118 to bind the socket and set the send parameters (as in the previous
1119 code). Note that ::subscribe need not be invoked at all, now; if
1120 only ::open is used, you can send but not receive multicast
1121 messages, and you can specify the interface used for sending.
1123 - Validation of ::subscribe parameters is now strict.
1124 Once the port# is bound (by ::open or the first ::subscribe), the
1125 port# passed to every ::subscribe call must either be '0' or match
1126 the bound port#. Additionally; if opt_bindaddr_yes is used, the
1127 address passed must match the bound address. If these conditions
1128 are not met, an error is returned (with errno=ENXIO). Note that
1129 such subscriptions would have no (useful) effect, since messages
1130 could never be received for the given port#/address, due to IP
1131 stack filtering. This condition was ignored in the previous
1132 version; it is now an error condition. This may break some
1133 existing code - but note that it flushes out a (silent) logical
1135 The port# in ::unsubscribe(addr,...) is _not_ checked, though;
1136 this is not logically consistent, but ... a mistaken port# here
1137 seems less potentially dangerous and/or confusing.
1139 - The previous ::subscribe and ::unsubscribe methods had a special
1140 return code (1) to indicate that (previously Win32-specific)
1141 multiple-interface subscription/unsubscription had been done. This
1142 seemed to be useful only internally, but was visible to the
1143 caller. The new methods will always return '0' for success (even
1144 if opt_nulliface_all is used).
1146 - The dynamic subscription list housekeeping adds slight processing
1147 overhead, and even more overhead is added if locking is enabled.
1148 This should not be noticeable, except in MT thrashing conditions
1149 and/or if doing very frequent subscribes/unsubscribes.
1153 - Interaction/Integration with other ACE multicast-oriented classes
1154 and library code is _undefined_, i.e.:
1155 + ACE_SOCK_Dgram_Mcast_QoS: Presumably works ok, but inherits
1156 legacy class; can't specify optional functionality.
1157 + ACE_RMCast: Presumably works ok, but uses legacy class;
1158 can't specify optional functionality.
1159 + ACE_XTI_ATM_Mcast: I presume there's no integration desirable.
1160 I've re-built vers. 5.2 ACE under Solaris and Windows with the
1161 modified files, and it builds ok. Since the original functionality
1162 is (basically) unchanged, it is _assumed_ that any other ACE lib
1163 code that references the ACE_SOCK_Dgram_Mcast class signature
1164 still functions ok. But ... things like adding templated code
1165 could introduce problems! Also note that these classes use (now)
1166 deprecated interface methods; e.g. RMCast passes protocol options
1167 to ::subscribe that are now ignored.
1169 - Environment-specific notes/restrictions on use of options:
1170 + The opt_nulliface_all option should be used only in environments
1171 for which the ACE_Sock_Connect::get_ip_interfaces call is
1172 correctly implemented (currently only Windows). In other
1173 environments, using this option will _always_ return an error
1174 from ::subscribe/::unsubscribe.
1175 + The opt_dtorunsub_yes option allows finer control of multicast
1176 group "leave" effects for environments that do not automatically
1177 unsubscribe when the socket is closed, or in situations where
1178 the underlying handle has been duplicated (e.g. via fork()),
1179 but will not be used. All in all, this option is useful only
1180 under special, controlled circumstances.
1181 + The effect of using opt_bindaddr_yes is very environment-
1182 specific; it may not do what you expect (or may do what you
1184 The default option values are defined with these notes in mind.
1186 - Options enumeration weaknesses.
1187 + The options enumeration list was put in the global namespace.
1188 It seems like a pain for user code to have to prefix the option
1189 values with the templated class name.
1190 + All option values use the same enumeration; this could allow
1191 option values to be used for the "wrong" option in the ctor
1192 options list. This was a trade-off; I didn't want to add too
1193 many things to the global namespace. (Note that more options
1194 might be added to the list, in the future.) All new code
1195 compares against explicit enum values (instead of 0), for safety.
1197 - The ::open parameter list may be too "dense" - it tries to do too
1198 many different things with the passed parameters. This is an
1199 artifact of its heritage. (Note that ::subscribe can also invoke
1200 ::open behavior). In particular, it would be nice to separate
1201 bound addr/iface from send addr/iface.
1203 - Does not explicitly check for duplicate active subscriptions (i.e.
1204 subscription to the same address and interface while a previous
1205 subscription is still active). (Subscription to the same address
1206 but different interface is not a duplicate and is fully
1207 supported.) Note that, for most IP stacks, a subscription attempt
1208 for a duplicate addr/iface will fail (and a duplicate entry will
1209 not be created). If it is allowed by the IP stack and you create
1210 duplicate internal subscription list entries, you must call
1211 ::unsubscribe(addr) for _each_ duplicate subscription (or
1212 ::unsubscribe(void)) - until this is done, you will continue to
1213 recv messages for this subscription.
1215 - This implementation carries forward (for backward compatibility)
1216 certain environment-specific hacks, i.e.:
1217 + A Win32 hack such that the default opt_nulliface_defopt value
1218 for Win32 is different from all other environments.
1219 + A Linux hack such that the full address is unconditionally bound.
1220 These would seem likely to lead to unexpected behavior for the
1221 "casual user", but changing the default would break existing code.
1223 - The SDM_OPT_LOCK parameter only controls locking of the dynamic
1224 subscription list; and the need/use for this is debatable. It was
1225 added as a fail-safe, in case one class instance is shared by
1226 multiple threads. Note that a given instance can _not_ (reliably)
1227 be shared by multiple threads; there are logical race conditions
1228 (e.g. calling ::open) - but the logical race conditions should
1229 cause only unpredictable operation, not corruption. However; the
1230 subscription list could be corrupted if one instance is shared by
1231 multiple threads, which could lead to undefined behavior/crashes.
1233 - The class interface is probably too "busy"; there are a _lot_ of
1234 side-effects that may not be evident.
1236 - Currently only built and tested under Solaris w/ Forte-C++ and
1237 Windows NT and 2000 w/ MSVC 6.
1239 Implementation Changes:
1241 - Now implemented as a templated class (ACE_SOCK_Dgram_Ex), via the
1242 new SOCK_Dgram_Mcast_Ex.* files. The (remaining) SOCK_Dgram_Mcast.*
1243 files are vestigial; they remain due to the build rules and
1244 documentation conventions, and because existing user code
1245 references the ace/SOCK_Dgram_Mcast.h file. Note that this
1246 differs from most other *_Ex.* template source files in ACE, where
1247 there is still at least some function implemented in the
1248 non-templated source files; here there is none.
1249 An explicit specialization is declared that matches the old class
1252 - The constructor now has optional arguments (to specify per-instance
1253 optional functionality. A default ctor can still be used; the
1254 legacy default environment-specific functionality will be declared.
1256 - I've tried to generalize code that was previously overly
1257 environment-dependent and/or macro-driven. The intent was to make
1258 future enhancements easier (there's still much desirable work to
1259 be done ... speaking of which ...)
1261 Suggested Future Work:
1263 - Expose the SOCK_Dgram::send methods; i.e. allow specification of an
1264 arbitrary dest address/port# with the ::send call. (Must check for
1265 port# of '0' in the send address and set port# to the bound port#).
1266 This would allow the specification of the network interface for
1267 arbitrary multicast transmissions from one instance, and should
1268 work as expected if the address specified is unicast. This seems
1269 useful; currently, if you want to send multicast messages with
1270 interface control, you would either have to create one instance of
1271 this class for each send address, or force access to the inherited
1272 ACE_SOCK_Dgram instance (which works ... "but it would be wrong").
1273 I'm not sure why access to these was disabled in the original
1274 design. (Is there a good reason not to do this?)
1276 - Mark the current ::subscribe and ::unsubscribe interfaces as
1277 deprecated and add new interfaces that remove all unnecessary
1279 + Remove the (optional) protocol* parameters from the ::subscribe
1280 and ::unsubscribe methods - they don't do anything. I (really)
1281 wanted to do this now, but it could break existing app code (but
1282 you can't really specify anything other than the default values,
1284 + Remove the (optional) reuse_addr parameter from the ::subscribe
1285 method - it is only useful if ::open has not been previously
1286 invoked. Problem: This will require that the ::open method be
1287 explicitly invoked before invoking ::subscribe, which makes the
1288 interface more clumsy.
1289 Problem: Hard to get a unique signature for the new methods,
1290 especially for ::unsubscribe.
1292 - It seems that an ACE_SOCK_Dgram_Mcast_Manager class could be a
1293 useful "layered" addition, e.g.:
1294 - Trap ::subscribe invocations using different port numbers, and
1295 create separate instances/sockets for each unique port#.
1296 - Implement software loopback filtering for environments that do
1297 not implement loopback disabling in the IP stack (e.g. older
1298 Windows). Also implement per-interface filters for environments
1299 (like Win/NT) that don't do this right.
1300 - Implement multicast group "sets" to support easy and atomic
1301 joins/leaves of a user-defined list of group/interface
1302 combinations. Include enhanced failure condition handling, such
1303 as subscription "roll-back"; all-or-none of the set's members
1305 Actually; all of these could be done in the current class - but
1306 there are too many options in this class already, and the function
1307 seems (to me) more appropriate to a higher-level "manager".
1309 - Allow the send interface (and default send addr) to be changed,
1310 after initial setting. (OS-specific support needed - most stacks
1311 allow the interface to be changed once set, but I presume that not
1313 In general; might be worth splitting out the send from the
1314 ::open/::subscribe methods - e.g. ::send_parameters. Might add
1315 optional TTL and loopback parameters to this, too.
1317 - Add explicit methods to set common multicast socket options, e.g.
1318 TTL, loopback. (So you don't have to remember the macro names and
1319 to make these macros/actions more portable!).
1321 - Tighten up the parameter semantics and/or validation, e.g.:
1322 + Verify that all addresses passed are multicast addresses.
1323 For example, ::open does not check the send address. (It should
1324 still work as expected - sending unicast on the route-derived
1325 interface - but that's not the intended use.)
1326 + The reuse_addr parameter in ::open is used for both REUSEADDR
1327 and REUSEPORT (if implemented) option setting; should these be
1328 distinct parameters? (They do different things!)
1330 - Enhanced integration with other ACE multicast classes, as needed
1331 or desirable (see Restrictions section).
1333 - (?) For ::subscribe and ::unsubscribe - if successful, return the
1334 (positive) number of subscribes/unsubscribes done (instead of '0').
1335 Possibly useful, as a way for the app to sense multi-interface
1336 subs/unsubs (e.g. code that is passed an instance and does not
1337 know what options were used when the instance was created).
1339 - (?) Add method ::unsubscribe(int n) to unsubscribe from most
1340 recent n subscription(s) (including opt_nulliface_all option
1341 support.) The implementation of group sets might obviate the
1344 - (?) Enhanced MT-safety and exception handling.
1345 Don't know if any particular problems; but haven't tested
1346 extensively. Also; might be able to make it more efficient.
1347 In particular; if one instance is intended to be shared by multiple
1348 threads, there is _much_ work to be done.
1350 - (??) Track subscription list state; i.e. recognize the state when
1351 any ::unsubscribe emptys the subscription list. This state might
1352 be used to re-define some parameters (especially the network
1353 interface for sends) set with ::open and for other changes ... but
1354 utility vs. added complexity ratio seems low. (Note that closing
1355 the socket and reopening another can cause nasty side-effects, so
1356 probably can't change the bound parameters, anyway.)
1358 Sun Jun 9 16:26:00 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
1360 * ace/ATM_Acceptor.cpp:
1362 * ace/ATM_Connector.i:
1364 * ace/ATM_Stream.cpp:
1365 * ace/CE_Screen_Output.cpp:
1366 * ace/Configuration.cpp:
1371 * ace/Log_Record.cpp:
1374 * ace/Memory_Pool.cpp:
1375 * ace/Message_Queue.cpp:
1376 * ace/Msg_WFMO_Reactor.cpp:
1379 * ace/OS_String.cpp:
1381 * ace/SOCK_Connector.i:
1382 * ace/SPIPE_Connector.cpp:
1383 * ace/Sock_Connect.cpp:
1385 * ace/ace_wchar.inl: Changed improper use of NULL to
1388 Sun Jun 9 15:33:05 2002 Jeff Parsons <parsons@cs.wustl.edu>
1392 Fixed some typos that caused build errors.
1394 Sat Jun 8 14:46:19 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
1396 * ace/Array_Base.h: Replaced
1398 #include "Global_Macros.h"
1402 #include "ace/Global_Macros.h"
1404 Thanks to Bill Fulton <Bill_A_Fulton@raytheon.com> for reporting
1407 Fri Jun 7 19:00:31 2002 Steve Huston <shuston@riverace.com>
1409 * ace/OS_String.inl (strstr): Also see:
1410 Thu May 30 16:45:10 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
1412 HP-UX 11.00 doesn't supply wcsstr(), only wcswcs (), so
1413 special-case that one with #if defined (HPUX).
1415 Fri Jun 7 16:42:29 2002 Steve Huston <shuston@riverace.com>
1417 * ace/Date_Time.i (update): Use ACE_OS::localtime_r rather than
1418 ACE_OS::localtime to avoid MT time confusion. Thanks to Kelly
1419 Hickel <kfh@mqsoftware.com> for reporting this.
1421 Fri Jun 7 16:29:21 2002 Steve Huston <shuston@riverace.com>
1423 * ace/Acceptor.{h cpp}:
1424 (ACE_Strategy_Acceptor) Added an open () method with signature
1425 that matches ACE_Acceptor::open to avoid hiding the one in
1426 ACE_Acceptor, according to Forte 6. In the new open(), however,
1427 the ACE_Reactor* arg is required, to make it distinguishable from
1428 the existing open(). The new open forwards everything
1429 to the previously-existing, more full-featured open().
1431 Constructors and full-featured open(), added optional reuse_addr
1432 arg - it's passed down to the ACE_Accept_Strategy::open method.
1434 Removed the service_port_ member - it's not used.
1436 (ACE_Acceptor::open): If the reactor registration fails, close
1437 the peer_acceptor_ object.
1439 * netsvcs/TS_Server_Handler.cpp (ACE_TS_Server_Acceptor::parse_args):
1440 * netsvcs/Name_Handler.cpp (ACE_Name_Acceptor::parse_args):
1441 * netsvcs/Server_Logging_Handler_T.cpp (ACE_Server_Logging_Acceptor_T):
1442 Use a local variable for the -p port option; server_port_ is gone.
1444 Fri Jun 7 14:30:22 2002 Steve Huston <shuston@riverace.com>
1446 * ace/Message_Queue.{h cpp} (ACE_Message_Queue_NT): Change
1447 deactivate (int pulse) to deactive() and pulse() - forgot this
1448 one in "Thu Jun 6 18:10:45 2002 Steve Huston" set of changes.
1449 Also, corrected the way the completion routine checks state
1450 of the queue. enqueue() will always pass ACTIVATED as the
1451 queue state to be sure that blocks are seen when dequeued.
1453 Thu Jun 6 17:41:24 2002 Krishnakumar B <kitty@cs.wustl.edu>
1455 * ACEXML/common/Mem_Map_Stream.h:
1456 * ACEXML/common/Mem_Map_Stream.cpp:
1457 * ACEXML/common/HttpCharStream.h:
1458 * ACEXML/common/HttpCharStream.cpp:
1459 * ACEXML/common/URL_Addr.cpp:
1461 Fixed the explicit template instantiation problems on Solaris.
1463 Thu Jun 6 18:35:49 2002 Steve Huston <shuston@riverace.com>
1465 * ace/Acceptor.h (ACE_Strategy_Acceptor): Made open() virtual
1466 since its parent class (ACE_Acceptor) ope() is also virtual.
1467 Resolves warning from Forte 6 that open() hides its parent
1470 Thu Jun 6 18:10:45 2002 Steve Huston <shuston@riverace.com>
1472 * ace/README: Removed ACE_HAS_OPTIMIZED_MESSAGE_QUEUE. No configs
1473 use it, and it's functionality doesn't really support the
1474 message queue deactivation/pulse semantics.
1476 * ace/Message_Queue.h:
1477 * ace/Message_Queue_T.{h cpp i}: Removed the "int pulse" argument
1478 from deactivate() and add a pulse() method. States stay the
1480 Took out all the ACE_HAS_OPTIMIZED_MESSAGE_QUEUE stuff. It's
1481 not used any longer.
1483 * examples/C++NPv2/AC_Client_Logging_Daemon.cpp: Use the pulse()
1484 method instead of deactivate (1).
1486 * examples/C++NPv2/AIO_Client_Logging_Daemon.cpp: Removed answered
1487 questions. Removed reimplemented handle_connect() method
1488 because the needed things are now available via the framework.
1490 * ace/Asynch_Acceptor.{h cpp}:
1491 * ace/Asynch_Connector.{h cpp}: Added new hook method,
1492 int validate_connection (const ACE_Asynch_Accept::Result&result,
1493 const ACE_INET_Addr& remote_addr, const ACE_INET_Addr& local_addr)
1494 that allows access to success/fail, handle, and addresses. The
1495 validate_new_connection (const ACE_INET_Addr&) method is now
1498 * ace/WFMO_Reactor.{h cpp} (ACE_WFMO_Reactor_Notify): Add an
1499 optional argument to ACE_WFMO_Reactor_Notify constructor.
1500 size_t max_notifies is used to specify a limit for how many
1501 notifications can be queued. The value is used to calculate
1502 new high and low watermarks to the message_queue_. Default 1024.
1504 * ace/Activation_Queue.cpp:
1505 * ace/Message_Block.cpp:
1506 * ace/Message_Queue_T.cpp: Added #include "ace/Log_Msg.h" to get
1507 the ACE_DEBUG, etc. definitions.
1509 * ace/Read_Buffer.cpp: Added #include for ace/Log_Msg.h and
1510 ace/Malloc_Base.h (for ACE_Allocator).
1512 * ace/Log_Msg.cpp (log (ACE_Log_Record&)): If there's a
1513 ACE_Log_Msg_Callback, do it before sending the log record
1514 to any other logging sinks. Allows the callback to munge
1517 Thu Jun 06 10:50:37 2002 Ossama Othman <ossama@uci.edu>
1519 * ace/Dev_Poll_Reactor.cpp (cancel_timer):
1521 Fixed race condition by adding an ACE_GUARD. Basically the same
1522 fix that Doug made to the Select_Reactor below.
1524 Thu Jun 6 12:28:20 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
1526 * ace/Select_Reactor_T.cpp: Moved the cancel_timer() methods
1527 from the Select_Reactor_T.i file and added ACE_GUARD's around
1528 them to ensure we're serialized correctly. Thanks to Johnny
1529 Chen <jchen@informatica.com> for motivating this.
1531 Thu Jun 6 08:24:43 2002 Jeff Parsons <parsons@cs.wustl.edu>
1535 Removed extra comment closer */.
1537 Thu Jun 6 07:11:15 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
1539 * THANKS: Just added our 1,500th ACE+TAO contributor!!!!!
1541 * ace/Malloc_T.cpp: Clarify that the memory backing store must
1542 reside in a directory with the appropriate visibility and
1543 permissions. Thanks to Frank O. Flemisch
1544 <f.o.flemisch@larc.nasa.gov> for reporting this.
1546 Wed Jun 5 23:06:11 UTC 2002 Don Hinton <dhinton@ieee.org>
1548 * ace/DLL_Manager.h: Fixed compile error. Thanks to Jai
1549 Balasubramanian for pointing this out.
1551 Wed Jun 5 16:58:41 2002 Krishnakumar B <kitty@cs.wustl.edu>
1553 * ACEXML/common/Mem_Map_Stream.cpp:
1555 Instantiate the templates needed when explicit templates are
1556 defined. Thanks to Carlos for pointing this out.
1558 * ACEXML/common/HttpCharStream.cpp:
1560 Peek means "get the next character", not "get the character
1561 after next". The previous change to the test caught this bug.
1563 Wed Jun 5 16:42:43 2002 Krishnakumar B <kitty@cs.wustl.edu>
1565 * ACEXML/examples/SAXPrint/main.cpp (ACE_TMAIN):
1567 Modified the example to test fetching and parsing an XML URL.
1568 This actually tests most of the functions of the new stream
1569 class and is better than the lame test that I wrote the other
1572 Wed Jun 5 13:54:03 UTC 2002 Don Hinton <dhinton@ieee.org>
1574 * ace/DLL_Manager.{h,cpp}:
1575 * ace/Framework_Component.cpp:
1577 Made ACE_DLL_Manager a true singleton instead of using the
1578 ACE_*Singleton templates, thus avoiding a problem with multiple
1579 instantiations by broken compilers. Thanks to Chris Kohlhoff
1580 <chris@kohloff.com> for this suggestion.
1582 Wed Jun 5 08:33:25 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
1584 * ace/Timer_Queue_T.h (class ACE_Timer_Queue_T): Clarify that the
1585 second calculate_timeout() method doesn't use a lock. Thanks to
1586 Johnny Chen <jchen@informatica.com> for motivating this.
1588 * ace/Process_Manager.cpp (handle_signal): Added a check for
1589 i == -1. Thanks to Dimitrije Jankovic <djankov99@yahoo.com>
1590 for reporting this and providing a fix!
1592 Tue Jun 04 16:47:27 2002 Ossama Othman <ossama@uci.edu>
1594 * ace/Service_Config.h:
1596 No need to include "ace/DLL.h". Forward declaring ACE_DLL is
1599 * ace/Service_Config.cpp:
1601 Include "ace/DLL.h" to pull in ACE_DLL class declaration.
1603 Tue Jun 04 16:34:18 2002 Ossama Othman <ossama@uci.edu>
1605 * ace/Service_Config.cpp:
1607 Removed duplicate "ace/Auto_Ptr.h" include.
1609 * ace/Svc_Conf_Lexer_Guard.cpp:
1611 Moved Svc_Conf.h include within the ACE_USES_CLASSIC_SVC_CONF
1612 preprocessor block. It isn't needed for the XML-based Service
1615 Tue Jun 04 16:02:11 2002 Krishnakumar B <kitty@cs.wustl.edu>
1617 * ACEXML/common/HttpCharStream.h:
1618 * ACEXML/common/HttpCharStream.cpp:
1619 * ACEXML/common/Filecharstream.h:
1620 * ACEXML/common/Filecharstream.cpp:
1622 Removed the constructor which accepted a string containing
1623 either a filename or a URL from these files. Problem was it was
1624 relying on calling open to do the work, but if open fails there
1625 was no way to report the error without throwing exceptions. So
1626 don't allow people to use this constructor and always insist on
1629 * ACEXML/common/Mem_Map_Stream.cpp:
1630 * ACEXML/common/URL_Addr.h:
1631 * ACEXML/common/URL_Addr.cpp:
1632 * ACEXML/common/XML_Codecs.cpp:
1633 * tests/Codecs_Test.cpp:
1635 Other miscellaneous fixes including using
1636 ACE_Auto_Basic_Array_Ptr instead of ACE_Auto_Array_Ptr.
1638 * ACEXML/common/Makefile.bor:
1639 * ACEXML/tests/Makefile.bor:
1643 * ACEXML/tests/HttpCharStream_Test.cpp:
1647 Tue Jun 04 14:18:56 2002 Nanbor Wang <nanbor@cs.wustl.edu>
1649 * ACEXML/tests/HttpCharStream_Test.dsp:
1650 * ACEXML/tests/Tests.dsw: Added a new test project.
1652 Tue Jun 04 13:45:39 2002 Nanbor Wang <nanbor@cs.wustl.edu>
1654 * ACEXML/common/Mem_Map_Stream.h: Fixed typedefs of template
1657 * ACEXML/common/XML_Common.dsp: Added new files to project files.
1659 Tue Jun 4 12:35:12 2002 Jeff Parsons <parsons@cs.wustl.edu>
1661 * ace/Message_Queue*: Moved the state_ member and the accessor method
1662 to the non-template base class to get rid of the Win32 build
1663 bustage, since ACE_Message_Queue_NT is not a template class, and does
1664 not inherit from ACE_Message_Queue<>.
1666 Tue Jun 4 10:03:19 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
1668 * examples/C++NPv2/AC_Client_Logging_Daemon.cpp: Reverted the thr_count()
1669 stuff since we need to reactivate the queue now.
1671 * ace/Message_Queue*: Changed all the message queue implementations to
1672 use the new ACTIVATED/DEACTIVATED/PULSED implementation of
1673 deactivate()/activate().
1675 Tue Jun 4 09:48:34 2002 Jeff Parsons <parsons@cs.wustl.edu>
1677 * ace/Message_Queue.h:
1678 * ace/Message_Queue_T.h:
1680 Fixed the signatures of deactivate and deactivate_i to make the
1681 appearance of the default parameter 'int pulse' consistent.
1683 Tue Jun 4 06:46:27 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
1685 * examples/C++NPv2/AC_Client_Logging_Daemon.cpp: Added the
1686 "1" parameter to the call to deactivate() method to simply
1687 "pulse" the queue. Also, changed the AC_Output_Handler::open()
1688 method to check if thr_count() == 0 when determining if to
1689 activate the service handler.
1691 * ace/Message_Queue_T.h: Added new pulse parameter to
1692 ACE_Message_Queue::deactivate() so that callers can decide
1693 whether to change the state of the queue to be "deactivated" or
1694 just to pulse waiting threads to wake up and continue their
1695 processing. This simplies one of the examples in C++NPv2.
1697 Mon Jun 3 16:11:12 2002 Krishnakumar B <kitty@cs.wustl.edu>
1699 * ACEXML/common/FileCharStream.cpp:
1701 Fixed a memory leak.
1703 * ACEXML/common/HttpCharStream.cpp:
1704 * ACEXML/common/HttpCharStream.cpp:
1705 * ACEXML/common/HttpCharStream.h:
1706 * ACEXML/common/Makefile:
1707 * ACEXML/common/Mem_Map_Stream.cpp:
1708 * ACEXML/common/Mem_Map_Stream.h:
1709 * ACEXML/common/URL_Addr.cpp:
1710 * ACEXML/common/URL_Addr.h:
1712 Functionality needed by the parser to fetch URI's (DTDs etc)
1713 from the web. This is a simple http_get implementation and
1714 doesn't work for https URLs (which can be fixed easily provided
1717 * ACEXML/common/Parser.cpp:
1721 * ACEXML/tests/HttpCharStream_Test.cpp:
1722 * ACEXML/tests/Makefile:
1724 New regression test to test fetching of URI's from the web by
1728 Mon Jun 3 06:21:57 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
1730 * examples/C++NPv2/AIO_Client_Logging_Daemon.cpp: Removed
1731 unnecessary 'return;' calls.
1733 Mon Jun 3 07:23:56 UTC 2002 Don Hinton <dhinton@ieee.org>
1735 * Framework_Component_DLL.bor: Fixed typo.
1737 Sun Jun 2 22:52:23 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
1740 * ace/README: Document new ACE_HAS_3_PARAM_WCSTOK macro.
1741 * ace/OS_String.inl (strtok_r): Check ACE_HAS_3_PARAM_WCSTOK macro.
1743 * ace/config-aix-4.x.h:
1744 * ace/config-linux-common.h:
1745 * ace/config-sunos5.7.h:
1746 Define ACE_HAS_3_PARAM_WCSTOK on these platforms after doing
1747 the appropriate checks.
1749 Sun Jun 2 15:34:41 UTC 2002 Don Hinton <dhinton@ieee.org>
1753 Test for null dll_name_ before calling open() in the copy ctor, since
1754 open would flag it as an error. Improved error messages.
1756 * ace/DLL_Manager.{h,cpp}:
1757 * ace/Framework_Component.cpp:
1759 Changed ACE_DLL_Manager to use ACE_Unmanaged_Singleton so that it can be
1760 explicitely closed by ACE_Framework_Repository after ACE_Service_Config
1761 is closed. Improved error messages. Thanks to Steve Huston for finding
1764 Sun Jun 2 09:03:06 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
1766 * ace/Select_Reactor_Base.cpp: Delete temp buffers
1767 if enqueue_head() fails in the ACE_Select_Reactor_Notify open()
1768 and notify() methods. Thanks to Chris Uzdavinis
1769 <chris@atdesk.com> for reporting this.
1771 Sat Jun 1 22:42:17 2002 Steve Huston <shuston@riverace.com>
1773 * examples/C++NPv2/AC_CLD.mak:
1774 * examples/C++NPv2/TPCLS.mak: Added "ssl=1" to properly include
1775 the SSL stuff in the build; these examples use SSL.
1777 * examples/C++NPv2/AIO_Client_Logging_Daemon.cpp:
1778 * examples/C++NPv2/AIO_CLD_export.h:
1779 * examples/C++NPv2/AIO_CLD.mak: Asynch I/O example from Chapter 8.
1781 Sat Jun 1 15:38:40 2002 Steve Huston <shuston@riverace.com>
1783 * ace/Asynch_Acceptor.cpp (open): bind_port is in ACE_Sock_Connect,
1785 Added #include "ace/SOCK_Stream.h" that class is also used, and
1786 #include "ace/Log_Msg.h" to get the ACE_ERROR macros.
1788 * ace/Asynch_Connector.cpp (handle_connect): clr_flags() is in
1789 ACE_Flag_Manip, not ACE.
1790 Added #include "ace/Log_Msg.h" to get ACE_ERROR macros.
1792 Fri May 31 13:35:41 2002 Steve Huston <shuston@riverace.com>
1794 * examples/C++NPv2/TPC_Logging_Server.{h cpp}:
1795 * examples/C++NPv2/AC_Client_Logging_Daemon.cpp:
1796 Primarily formatting changes to match the book.
1798 * examples/C++NPv2/SLDex.mak: Removed Logging_Acceptor_Ex from
1799 files list; it's only a header file.
1801 Fri May 31 11:07:25 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
1803 * examples/C++NPv2/AC_Client_Logging_Daemon.cpp: Modified this
1804 so use pointers rather than references to simplify things in
1807 Thu May 30 23:03:38 2002 Steve Huston <shuston@riverace.com>
1809 * examples/C++NPv2/SR_Configurable_Logging_Server.{cpp mak}:
1810 * examples/C++NPv2/Makefile: Added new ACE_Select_Reactor-based
1811 configurable logging server.
1813 * examples/C++NPv2/AC_Client_Logging_Daemon.cpp: Code changes
1814 to match book and fix reconnect problems.
1816 Thu May 30 18:02:35 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
1818 * ace/OS.h: Changed EACESS to EACCES to be POSIX compliant. Thanks
1819 to Eric Eide <eeide@cs.utah.edu> for (re)reporting this!
1821 Thu May 30 10:01:12 2002 Ossama Othman <ossama@uci.edu>
1823 * ace/UPIPE_Stream.h (ACE_UPIPE_Stream):
1825 Added missing PEER_ADDR trait.
1827 Thu May 30 16:45:10 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
1830 * ace/OS_String.inl (strstr): Remove wcswcs(), use wcsstr()
1833 Thu May 30 9:15:19 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
1835 Thanks to Edan Ayal <edanayal@yahoo.com> and Alex Libman
1836 <AlexL@rumblegroup.com> for the following fixes.
1838 * ACE_WIN32_Asynch_Read_Stream_Result::complete ()
1839 ACE_WIN32_Asynch_Write_Stream_Result::complete ()
1840 ACE_WIN32_Asynch_Write_Dgram_Result::complete
1841 ACE_WIN32_Asynch_Read_Dgram_Result::complete improved
1842 readability and logic
1844 * ACE_WIN32_Asynch_Read_File_Result::complete ()
1845 ACE_WIN32_Asynch_Write_File_Result::complete () fixed
1846 errors,improved readability and logic
1848 * ACE_WIN32_Asynch_Read_Stream::read ()
1849 ACE_WIN32_Asynch_Read_File::read ()
1850 ACE_POSIX_Asynch_Read_Stream::read ()
1851 ACE_POSIX_Asynch_Read_File::read ()
1852 Added check for enough space in message block
1853 bytes_to_read <= mb->space()
1855 * ACE_WIN32_Asynch_Write_Stream::write ()
1856 ACE_WIN32_Asynch_Write_File::write ()
1857 ACE_POSIX_Asynch_Write_Stream::write ()
1858 ACE_POSIX_Asynch_Write_File::write ()
1859 Added check for correct length of message block
1860 bytes_to_write <= mb->length()
1862 * ACE_WIN32_Asynch_Read_Stream::readv ()
1863 ACE_WIN32_Asynch_Read_File::readv ()
1864 ACE_WIN32_Asynch_Read_Dgram::recv Added checks for: never read
1865 more bytes_to_read bytes; correct using of buffers - message
1868 * ACE_POSIX_Asynch_Write_Stream::writev ()
1869 ACE_POSIX_Asynch_Write_File::writev ()
1870 ACE_WIN32_Asynch_Write_Dgram::send Added checks for: never write
1871 more bytes_to_write bytes; correct using of buffers - message
1872 blocks improved readability and logic
1874 Thu May 30 08:48:19 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
1876 * ace/Configuration_Import_Export.cpp (squish):
1877 Replaced (*cp == ' ') || (*cp == '\t') || (*cp == '\n') || (*cp
1878 == '\r')) with isspace (*cp). Thanks to Gonzalo A. Diethelm
1879 <gonzalo.diethelm@aditiva.com> and Dave Steele
1880 <Dave_Steele@Mitel.COM> for this suggestion.
1882 Thu May 30 11:53:05 UTC 2002 Don Hinton <dhinton@ieee.org>
1884 * ace/DLL_Manager.cpp: Fixed Fuzz errors. Thanks to Johnny
1885 Willemsen for pointing this out.
1887 Thu May 30 11:40:45 UTC 2002 Don Hinton <dhinton@ieee.org>
1889 * tests/Framework_Component_DLL.bor:
1891 Fixed cut-n-paste error that caused the symbols not to be
1892 exported. Should fix the Borland builds.
1894 Thu May 30 10:18:27 UTC 2002 Don Hinton <dhinton@ieee.org>
1896 * tests/Framework_Component_Test.cpp:
1898 Modified test to use the new macro definitions and method names.
1900 * tests/Framework_Component_DLL.cpp:
1902 Added ACE_DLL_UNLOAD_POLICY declaration specifying LAZY unloading.
1903 Changed an errant ACE_LIB_TEXT macro to ACE_TEXT.
1907 Added the dll unloading policies mentioned below as well as an
1908 ACE_DLL_UNLOAD_POLICY macro dlls can use to set/export their own
1909 policy. If no policy is exported, the current per-process policy
1912 * ace/DLL_Manager.{h,cpp}:
1914 Renamed unload_strategy to unload_policy and moved the policy
1915 definitions to config-all.h so that they can be used without
1916 including DLL_Manager.h (which includes OS.h, etc...).
1918 Refactored the unloading policies and implemented the per-dll
1919 case by probing the dll for a "_get_dll_unload_policy" function
1920 that returns the dll specific policy--if the dll chose to
1923 Added missing template instantiations.
1925 * ace/DLL.{h,cpp} (symbol):
1926 * ace/DLL_Manager.{h,cpp} (symbol):
1928 Added additional default parameter, ignore_errors, so the dll
1929 can be probed for symbols without sending error messages to
1932 Thu May 30 08:53:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
1934 * tests/Codecs_Test.cpp:
1935 Removed not needed ; after the ACE_RCSID. This will fix a warning in
1938 * tests/Framework_Component_DLL.cpp:
1939 Corrected playing of ;. This will fix a warning in the Tru64 build.
1941 Thu May 30 02:27:29 2002 Steve Huston <shuston@riverace.com>
1943 * examples/C++NPv2/AC_Client_Logging_Daemon.cpp:
1944 * examples/C++NPv2/AC_CLD_export.h:
1945 * examples/C++NPv2/AC_CLD.mak:
1946 * examples/C++NPv2/Makefile: Added remaining Chapter 7 example.
1948 Thu May 30 08:04:12 2002 Johnny Willemsen <jwillemsen@remedy.nl
1952 Changed <p> in comment to \<p\> because the <p> is a commend
1953 that is recognized by doxygen.
1955 Thu May 30 07:46:12 2002 Johnny Willemsen <jwillemsen@remedy.nl
1960 * tests/Framework_Component_Test.cpp:
1961 Fixed msvc wchar compile errors
1963 * etc/tao_costrader.doxygen:
1964 Added this doxygen config file to generate TAO Cos Trader
1967 * bin/generate_doxygen.pl:
1968 Added tao_costrader to generate TAO Cos Trader documentation
1971 Added link for CosTrader
1973 Wed May 29 22:33:53 2002 Ossama Othman <ossama@uci.edu>
1975 * ace/Acceptor.h (ACE_Acceptor, ACE_Oneshot_Acceptor):
1976 * ace/Connector.h (ACE_Connector):
1978 Use ACE_TYPENAME where appropriate in newly added traits to
1979 correct build problems in g++ 2.95.x or better builds.
1981 Wed May 29 22:13:19 2002 Ossama Othman <ossama@uci.edu>
1983 * ace/Acceptor.h (ACE_Acceptor, ACE_Oneshot_Acceptor):
1984 * ace/Connector.h (ACE_Connector):
1985 * ace/Svc_Handler.h (ACE_Svc_Handler):
1987 Added STL-style traits that may be useful when subclassing these
1990 Wed May 29 21:55:49 2002 Steve Huston <shuston@riverace.com>
1992 * examples/C++NPv2/TPC_Logging_Server.{h cpp}:
1993 * examples/C++NPv2/TPCLS_export.h:
1994 * examples/C++NPv2/TPCLS.mak:
1995 * examples/C++NPv2/Makefile: Added Chapter 7 examples.
1997 * ace/Acceptor.h (ACE_Acceptor::open): Made open() virtual.
1999 Thu May 30 01:38:51 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
2001 * ace/OS_String.inl: Revert:
2002 Wed May 29 09:38:53 2002 Ossama Othman <ossama@uci.edu>
2003 The intended fix is satisfactorily addressed by:
2004 Tue May 28 18:35:46 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
2006 Wed May 29 16:36:42 2002 Ossama Othman <ossama@uci.edu>
2008 * ace/CDR_Stream.cpp (write_wchar, read_wchar, skip_wchar):
2009 * ace/CDR_Stream.i (write_wchar_array, read_wchar_array):
2011 Take into account the actual size of the ACE_CDR::WChar type
2012 instead of assuming that it is always 16 bits long.
2014 Wed May 29 20:16:48 UTC 2002 Don Hinton <dhinton@ieee.org>
2016 * tests/Framework_Component_Test.cpp:
2018 Changed ACE_Service_Config::open() to call the
2019 ignore_default_svc_conf_file flag since all the directives
2020 are passed directly without using a config file anyway.
2022 * ACEXML/apps/svcconf/Svcconf_Handler.{h,cpp}:
2024 Removed handle_ member variable and pass the local svc_dll
2025 object instead of handle_ to ACE_Service_Config::create_service_type()
2026 in accordance with changes below to ACE_DLL.
2028 Wed May 29 12:35:21 2002 Ossama Othman <ossama@uci.edu>
2032 If ACE_HAS_WCHAR is defined define the ACE_OS::WChar type to be
2033 of type wchar_t. Otherwise, define it to be ACE_UINT16 (the
2034 previous default). Addresses some wide character CDR and CORBA
2035 C++ mapping issues. Thanks to David Smith
2036 <dts@prismtechnologies.com> for reporting this.
2038 Wed May 29 09:46:56 2002 Ossama Othman <ossama@uci.edu>
2040 * ace/Message_Queue.h:
2042 Include "ace/Synch.h" to pull in ACE_Thread_Mutex class
2043 declaration. Thanks to Marek Maleta <marek_maleta@agilent.com>
2044 for reporting the problem.
2048 Added Marek to the Hall of Fame.
2050 Wed May 29 09:38:53 2002 Ossama Othman <ossama@uci.edu>
2052 * ace/OS_String.inl (strstr):
2054 Only use wcswcs() if _XOPEN_SOURCE is defined. In any case, the
2055 Single UNIX Specification version 2 strongly encourages use of
2056 wcsstr(). Fixes a compile-time error on glibc 2.x platforms.
2060 Glibc has the 3 argument version of wcstok(). Use it instead.
2061 Fixes a compile-time error on glibc 2.x platforms.
2063 Wed May 29 15:52:52 UTC 2002 Don Hinton <dhinton@ieee.org>
2065 * ace/DLL_Manager.{h,cpp}:
2067 Cleaned some problems with auto_ptr usage and added symbol
2068 name to the debug message if the symbol isn't found--not
2069 all systems seem to give you the name of the unfound symbol.
2071 Wed May 29 15:06:32 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
2073 * bin/nightlybuilds/builds.lst: Move Debian_NoInterceptors to new
2076 Wed May 29 10:29:10 2002 Steve Huston <shuston@riverace.com>
2078 * examples/C++NPv2/Client_Logging_Daemon.cpp: Use a safer scheme
2079 to clean up sent blocks; compile the INET_Addr stuff clean.
2081 Wed May 29 12:54:23 2002 Johnny Willemsen <jwillemsen@remedy.nl>
2083 * ace/DLL_Manager.cpp:
2084 * ace/Framework_Component.cpp:
2085 Fixed msvc wchar compile errors
2087 Wed May 29 08:41:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
2090 Removed the ; after the ACE_UNIMPLEMENTED_FUNC, the BCB compiler has
2093 * tests/Makefile.bor:
2094 Added the new Codecs_Test.
2096 Tue May 28 19:40:44 2002 Steve Huston <shuston@riverace.com>
2098 * examples/C++NPv2/Client_Logging_Daemon.cpp:
2099 * examples/C++NPv2/CLD_export.h:
2100 * examples/C++NPv2/CLD.mak:
2101 * examples/C++NPv2/TP_Logging_Server.{h cpp}:
2102 * examples/C++NPv2/TPLS_export.h:
2103 * examples/C++NPv2/TPLS.mak:
2104 * examples/C++NPv2/Makefile: Added new client logging daemon
2105 and thread pool logging server examples from chapter 6.
2107 Wed May 29 02:09:32 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
2109 * bin/nightlybuilds/builds.lst: Move RedHat_7.1_Full and
2110 RedHat_7.1_NO_AMI_Messaging builds to new scoreboard.
2112 Tue May 28 19:20:58 2002 Krishnakumar B <kitty@cs.wustl.edu>
2114 * ace/Read_Buffer.cpp (rec_read):
2116 It seems that my changes trash the files written by test
2117 programs. I need to write a test to check out what's happening
2118 before changing the CVS head. Reverting my change of Tue May 28
2119 17:00:21 2002 Krishnakumar B <kitty@cs.wustl.edu>.
2121 Tue May 28 23:13:45 UTC 2002 Don Hinton <dhinton@ieee.org>
2123 * tests/Framework_Component_DLL.cpp:
2125 Added missing ";" to end of template instantiation statements.
2127 Tue May 28 22:34:03 UTC 2002 Don Hinton <dhinton@ieee.org>
2129 * ace/DLL.cpp: Added missing ACE_const_cast().
2131 Tue May 28 17:00:21 2002 Krishnakumar B <kitty@cs.wustl.edu>
2133 * ace/Read_Buffer.cpp (rec_read):
2135 Fixed stupid thinko when decrementing slot. Tell myself to think
2136 twice to about using ?:. My previous change also ate the
2137 character when only one character is in a file. ACE_Read_Buffer
2138 is crying for a test under $ACE_ROOT/tests which tests variable
2139 sized buffers with sizes of 1, < BUFSIZ, BUFSIZ, > BUFSIZ
2140 instead of under examples/misc/test_tead_buffer.cpp. Will try to
2143 * docs/ACE-guidelines.html:
2145 Update guidelines to be careful about using ?: in some
2146 situations. Thanks to Doug for suggesting this.
2148 Tue May 28 21:54:44 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
2150 * bin/nightlybuilds/builds.lst: Move Debian_NoInline and
2151 Debian_GCC_3.0.4 builds to new scoreboard.
2153 Tue May 28 21:32:42 UTC 2002 Don Hinton <dhinton@ieee.org>
2156 * ace/DLL_Manager.cpp:
2157 * ace/Framework_Component.cpp:
2158 * ace/Framework_Component_T.cpp:
2162 Tue May 28 18:35:46 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
2165 * ace/OS_String.cpp (strok_r_emulation): Call ACE_OS_String::strtok
2166 instead of ::wcstok.
2167 * ace/OS_String.inl (strtok): If ACE_HAS_XPG4_MULTIBYTE_CHAR is defined,
2168 call 3 parameter version of wcstok, else call 2 parameter version.
2169 * ace/config-linux-common.h: Only define ACE_LACKS_WCSTOK and
2170 ACE_LACKS_WCSDUP_PROTOTYPE for glibc versions less than 2. Define
2171 ACE_HAS_XPG4_MULTIBYTE_CHAR for glibc 2 and higher.
2172 * tests/OS_Test.cpp: Add test for wchar_t version of strtok.
2174 Tue May 28 15:02:01 UTC 2002 Don Hinton <dhinton@ieee.org>
2177 * tests/Framework_Component_DLL.dsp: Added new dsp.
2179 Tue May 28 09:35:17 2002 Jeff Parsons <parsons@cs.wustl.edu>
2184 Added DLL_Manager.* to these projects.
2186 Tue May 28 10:47:50 UTC 2002 Don Hinton <dhinton@ieee.org>
2188 * tests/Logging_Strategy_Test.cpp:
2190 Fixed typo, ACE_AS_* > ACE_HAS_*.
2192 * tests/Makefile.Framework_Component_DLL:
2194 * tests/Makefile.bor:
2196 Added/modified Makefiles to add new test file, and updated
2199 * tests/Framework_Component_Test.{h,cpp}:
2200 * tests/Framework_Component_DLL.{h,cpp}: Added.
2201 * tests/Framework_Component_DLL_export.h: Added.
2203 Modified to test to exercise the new ACE_DLL_Singleton and
2204 ACE_DLL* classed in concert with the Service Config framework
2205 and new Framework Component mechanisms.
2207 * tests/DLL_Test.{h,cpp}:
2209 Modified test to fully test all the features of the new
2210 ACE_DLL, ACE_DLL_Handle, and ACE_DLL_Manager classes.
2215 Added DLL_Manager and updated dependancies.
2217 * bin/generate_export_file.pl:
2219 Added generation of library specific TRACE macros in
2220 terms of the new ACE_TRACE_IMPL macro below.
2222 * ace/Global_Macros.h:
2224 Added new macro, ACE_TRACE_IMPL and implemented ACE_TRACE
2225 in terms of it if tracing is enabled. This allows you
2226 to turn tracing on for a particular cpp by just undef'ing
2227 ACE_TRACE and redefining it as ACE_TRACE_IMPL.
2229 * ace/Parse_Node.{h,cpp}:
2231 Removed handle() method and added a dll() method. Also,
2232 since ACE_DLL_Handle::symbol() calls ACE::ldname() internally,
2233 changed the ACE::ldname() calls in the ctors for
2234 ACE_Object_node and ACE_Function_Node to ACE::strnew().
2236 * ace/Svc_Conf_y.cpp:
2238 Changed call to ACE_Location_Node::handle() to ACE_Location_Node::dll()
2239 in ACE_Service_Type::ctor.
2241 * ace/Service_Object.{h,cpp,i}:
2243 Modified ACE_Service_Type to maintain an ACE_DLL member variable
2244 instead of an ACE_SHLIB_HANDLE, and changed ctor accordingly.
2245 Removed call to ACE_OS::dlclose() from dtor. Removed handle()
2248 * ace/Object_Manager.cpp:
2249 * ace/Service_Config.cpp:
2251 The Object Manager is now always responsible for cleaning up
2252 the ACE_Framework_Repository, but only after the Service
2253 Config framework has been cleanup. ACE_Service_Config no longer
2254 knows anything about ACE_Framework_Repository.
2256 * ace/Service_Config.cpp:
2258 Changed create_service_type() to take an ACE_DLL& instead of
2259 an ACE_SHLIB_HANDLE. Removed unneeded call to ACE::ldname().
2261 * ace/DLL_Manager.{h,cpp}: Added.
2264 Added new classes, ACE_DLL_Manager_Ex and ACE_DLL_Handle, and
2265 and moved all functionalility from ACE_DLL to the new classes.
2266 ACE_DLL maintains the same interface and semantics but defers
2267 all calls to the new classes. ACE_DLL_Manager is a singleton
2268 that manages the lifetimes of instances of refcounted
2269 ACE_DLL_Handle objects that represent the actual dlls. The
2270 following unloading strategies are available: per-process/dll,
2273 Added copy ctor to ACE_DLL so that the get/set_handle() methods
2274 aren't needed--there use in the Service Config framework can
2275 complicate orderly destruction of singletons based on
2278 Added call to ACE::ldname() to the symbol() method so that
2279 the caller no longer needs to do it themselves.
2281 * ace/Singleton.{h,cpp,i}:
2283 Added new singleton template, ACE_DLL_Singleton, that registers
2284 itself with the ACE_Framework_Repository so that it can be
2285 destroyed when the dll with which it is associated is unloaded.
2288 * ace/Proactor.{h,cpp}:
2289 * ace/Reactor.{h,cpp}:
2291 Added name() method as needed by changes below, and implemented
2292 dll_name() method to return "ACE".
2294 * ace/Framework_Component.{h,cpp,inl}:
2295 * ace/Framework_Component_T.{h,cpp}:
2297 Enhanced the Framework Component "framework" ;-) to allow the
2298 removal of registered components, either individually by name or
2299 as a group, based on the dll that registered them.
2301 Mon May 27 15:59:17 2002 Nanbor Wang <nanbor@cs.wustl.edu>
2303 * ACEXML/common/XML_Codecs.h:
2304 * ACEXML/common/XML_Codecs.cpp: Fixed VC warnings.
2307 * ace/ace_lib.dsp: Added Codecs.*.
2310 * tests/Codecs_Test.dsp: Added a new test.
2312 * ACEXML/common/XML_Common.dsp: Added XML_Codecs.*.
2314 Mon May 27 15:47:44 2002 Steve Huston <shuston@riverace.com>
2316 * ace/OS.h: Add new service-related macro, ACE_Local_Service_Export.
2317 This is intended for use in the ACE_FACTORY_DEFINE macro, for
2318 static services whose factory functions need not be exported.
2319 To use this when defining a factory function, do
2320 ACE_FACTORY_DEFINE(ACE_Local_Service, StaticSvcClass)
2322 * examples/C++NPv2/Service_Reporter.cpp: Use ACE_Local_Service
2323 in the ACE_FACTORY_DEFINE for the Service_Reporter service.
2325 Mon May 27 15:21:57 2002 Krishnakumar B <kitty@cs.wustl.edu>
2330 New files meant to hold all encoding/decoding classes/functions.
2331 Currently implements Base 64 encoding.
2333 * ACEXML/common/XML_Codecs.h:
2334 * ACEXML/common/XML_Codecs.cpp:
2335 * ACEXML/common/Makeile:
2337 Same guy under a different hood.
2339 * ace/Basic_Types.h:
2341 Added definition of ACE_Byte.
2343 * tests/Codecs_Test.cpp:
2344 * tests/run_test.lst:
2346 Regression test which tests the encoding/decoding functionality
2350 * tests/RMCast/Makefile:
2352 * ace/RMCast/Makefile:
2354 Updated dependencies.
2356 * ace/Read_Buffer.cpp:
2358 Decrement the extra increment of slot. This is not completely
2359 correct, as we should abstract the handling of end-of-line across
2360 Unix and Windows and then use it here and all the places which
2361 read stuff from files. See Fri May 24 10:42:25 2002 Douglas C.
2362 Schmidt <schmidt@tango.doc.wustl.edu> for another manifestation
2365 * include/makeinclude/rules.local.GNU:
2367 Remove files named core.[0-9]+. Newer kernels dump a core file
2368 associated with each process separately.
2370 Mon May 27 15:04:31 2002 Steve Huston <shuston@riverace.com>
2372 * ace/OS.h (ACE_FACTORY_DEFINE): Add the export declaration to
2373 the generated factory, removing the need to also use the
2374 ACE_FACTORY_DECLARE in simple (most common) situations.
2376 * examples/C++NPv2/SLD.cpp:
2377 * examples/C++NPv2/SLDex.cpp:
2378 * examples/C++NPv2/Server_Shutdown.cpp: Remove ACE_FACTORY_DECLARE.
2379 It's not needed in these situations.
2381 Mon May 27 07:39:41 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
2383 * ace/Configuration_Import_Export.cpp (squish): Added a
2384 check for '\r' to ensure that empty lines are handled properly.
2385 Thanks to Vladimir Chovanec <Vladimir.CHOVANEC@asset.sk> for
2388 Mon May 27 09:20:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
2390 * bin/generate_doxygen.pl:
2391 Added tao_costime to the list of doxygen files that must be run
2393 * etc/tao_costime.doxygen:
2394 Created doxygen config file for this TAO service
2397 Added link for the TAO CosTime service doxygen documentation
2399 Mon May 27 08:18:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
2401 * ACEXML/common/Attributes_Def_Builder.h:
2402 * ACEXML/common/DTD_Manager.h:
2403 * ACEXML/common/Element_Def_Builder.h:
2404 * ACEXML/common/Validator.h:
2405 * ACEXML/parser/debug_validator/Debug_Attributes_Builder.h:
2406 * ACEXML/parser/debug_validator/Debug_Element_Builder.h:
2407 * ACEXML/parser/debug_validator/Element_Tree.h:
2408 Corrected doxygen commands, no space between @ and the command is
2411 * ace/Active_Map_Manager.h:
2412 * ace/Arg_Shifter.h:
2413 * ace/Based_Pointer_Repository.cpp:
2415 * ace/Caching_Utility_T.h:
2416 * ace/Configuration.h:
2418 * ace/Dev_Poll_Reactor.h:
2419 * ace/Dirent_Selector.h:
2420 * ace/Env_Value_T.h:
2424 * ace/IO_Cntl_Msg.cpp:
2426 * ace/Local_Tokens.h:
2429 * ace/Memory_Pool.h:
2430 * ace/Message_Block.h:
2433 * ace/Object_Manager.cpp:
2434 * ace/POSIX_Asynch_IO.cpp:
2435 * ace/POSIX_Asynch_IO.h:
2436 * ace/POSIX_Proactor.cpp:
2437 * ace/POSIX_Proactor.h:
2441 * ace/Reactor_Impl.h:
2442 * ace/Remote_Tokens.h:
2444 * ace/Select_Reactor_T.h:
2446 * ace/System_Time.h:
2448 * ace/TP_Reactor.cpp:
2453 * ace/Timer_Wheel_T.cpp:
2455 * ace/Token_Manager.h:
2456 * ace/WIN32_Proactor.cpp:
2457 Improved the doxygen documenation by converting old style documentation
2458 to doxygen style. Also corrected small typing errors, start sentences with
2459 capital letters and corrected incorrected doxygen commands.
2461 * ace/POSIX_Proactor.cpp:
2462 Corrected the signature of handle_events from unsigned long to u_long to
2463 match the declaration of this method. This was found using the warning file
2464 of the doxygen generation.
2467 Corrected brief documentation. Brief documentation ends when a dot is found
2468 followed by a space of a newline. We had "i.e. " in the brief documenation
2469 and now this documentation ended after the second dot, changed it to
2470 "i.e.,". This fixed [Bug 892].
2472 * ace/config-doxygen.h:
2473 Added ACE_HAS_TOKENS_LIBRARY to generate ACE token library documentation
2475 * bin/generate_doxygen.pl:
2476 Added tao_cosnaming to the list of doxygen files that must be run
2478 * etc/tao_cosnaming.doxygen:
2479 Created doxygen config file for this TAO service
2481 * etc/tao_cosnotification.doxygen:
2482 Corrected tagfile name and directory that is generated
2485 Added link for the TAO Naming service doxygen documentation
2487 Sun May 26 21:48:49 2002 Steve Huston <shuston@riverace.com>
2489 * examples/C++NPv2/Reactor_Logging_Server_Adapter.cpp: Added
2492 * examples/C++NPv2/SLD.dsp: Define SLD_BUILD_DLL, not ACE_BUILD_DLL,
2493 to set up the export stuff correctly.
2495 * examples/C++NPv2/SLDex.dsp:
2496 * examples/C++NPV2/examples.dsw: Add new project for second part
2499 * examples/C++NPv2/SLD.cpp:
2500 * examples/C++NPv2/SLDex.cpp:
2501 * examples/C++NPv2/Server_Shutdown.cpp: Add ACE_FACTORY_DECLARE to
2502 get correct export declaration for factory.
2504 Sun May 26 13:20:15 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
2506 * ace/config-macosx.h: Added #define ACE_LACKS_SYSTIME_H.
2507 Thanks to Dennis C. De Mars <demars@mminternet.com> for
2510 Sat May 25 17:45:21 2002 Nanbor Wang <nanbor@cs.wustl.edu>
2512 * tests/Proactor_Scatter_Gather_Test.dsp:
2513 * tests/tests.dsw: Added Proactor_Scatter_Gather_Test.
2515 Sat May 25 16:42:46 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
2517 * tests/run_test.lst,
2518 * tests/Makefile.bor,
2519 * tests/Makefile: Added Proactor_Scatter_Gather_Test.
2521 Sat May 25 16:30:00 2002 Edan Ayal <edanayal@yahoo.com>
2523 * tests/Proactor_Scatter_Gather_Test.cpp:
2524 Added a new test for the asynch scatter/gather I/O
2525 functionality. It is currently supported (as the feature itself)
2526 only under Win32 - actually NT4 SP2 and above. The test runs in
2527 a single thread, and involves a single Sender, two Receivers and
2528 a single Writer. The Sender async-reads (scattered) from a file
2529 into chunks of <page size>. It async-sends (gathered) the odd
2530 chunks to the first receiver over a stream, and the even chunks
2531 to the second receiver over a different stream. The receivers
2532 async-read (scattered) from the socket streams into chunks in
2533 size of <page size>, and convey the data to the Writer. The
2534 Writer reconstructs the file using async-write
2535 (gathered). Finally, the reconstructed file is compared to the
2536 original file to determine test success. The test therefore
2537 covers both async scatter/gather stream I/O and async
2538 scatter/gather file I/O.
2540 Sat May 25 14:52:06 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
2542 * ace/Strategies_T.cpp (make_svc_handler): Fixed a typo where
2543 dll_name_ was misspelled as shared_library_. Thanks to Nathan
2544 Krasney <natan-k@actcom.co.il> for reporting this.
2546 Fri May 24 10:42:25 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
2548 * ace/Configuration_Import_Export.cpp (squish): Added a
2549 check for '\n' to ensure that empty lines are handled properly.
2550 Thanks to Vladimir Chovanec <Vladimir.CHOVANEC@asset.sk> for
2553 Sat May 25 15:09:42 2002 Steve Huston <shuston@riverace.com>
2555 * examples/C++NPv2/SLDex.{cpp mak}:
2556 * examples/C++NPv2/Server_Shutdown.cpp:
2557 * examples/C++NPv2/SLDEX_export.h:
2558 * examples/C++NPv2/Makefile: Add new dll for second part of
2559 Chapter 5 dynamic (re)config example.
2561 Sat May 25 11:47:33 2002 Steve Huston <shuston@riverace.com>
2563 * examples/C++NPv2/Reactor_Logging_Server_Adapter.cpp (init):
2564 Add wide->narrow char conversion to get ACE_TCHAR into
2565 a char-based method.
2567 Sat May 25 01:15:02 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
2569 * bin/nightlybuilds/builds.lst: Move Debian_Minimum bulid to
2572 Fri May 24 23:52:39 2002 Steve Huston <shuston@riverace.com>
2574 * examples/C++NPv2/Configurable_Logging_Server.dsp:
2575 * examples/C++NPv2/SLD.dsp:
2576 * examples/C++NPv2/examples.dsw: Added new projects for chapter
2577 5's configurable logging server.
2579 Fri May 24 20:51:25 2002 Christopher Kohlhoff <chris@kohlhoff.com>
2581 * ace/Log_Msg_NT_Event_Log.cpp (open):
2582 Need to use logger_key, when it is supplied, to register the
2583 event source with the system.
2585 * ace/Log_Msg_NT_Event_Log.cpp (log):
2586 Replace all newlines in the message with the CR-LF character
2587 sequence so that line breaks are correctly displayed in the
2590 Fri May 24 20:18:41 2002 Steve Huston <shuston@riverace.com>
2592 * examples/C++NPv2/Reactor_Logging_Server.cpp:
2593 * examples/C++NPv2/Reactor_Logging_Server_T.cpp: Move all the
2594 method implementations for Reactor_Logging_Server<> into
2595 Reactor_Logging_Server_T.cpp so they're reuseable in a
2598 * examples/C++NPv2/Reactor_Logging_Server.h: Add template
2599 implementation reference plumbing for compilers.
2601 * examples/C++NPv2/Select_Reactor_Logging_Server.cpp:
2602 * examples/C++NPv2/TP_Reactor_Logging_Server.cpp:
2603 * examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp: Remove the
2604 (duplicate) definitions of Reactor_Logging_Server<>; the
2605 compiler now generates this using the code in
2606 Reactor_Logging_Server_T.cpp.
2608 * examples/C++NPv2/svc.conf:
2609 * examples/C++NPv2/SLD.cpp:
2610 * examples/C++NPv2/SLD_export.h:
2611 * examples/C++NPv2/SLD.mak: Code and Makefile for the dynamic
2612 logging service in chapter 5.
2614 * examples/C++NPv2/Makefile: Added SLD.mak.
2616 * examples/C++NPv2/Logging_Acceptor.h: Added a PEER_ADDR trait.
2617 The Reactor_Logging_Server_Adapter's use of Logging_Acceptor
2620 * examples/C++NPv2/Service_Reporter.h: Make ctor public so
2621 the service factory can instantiate this class.
2623 Sat May 25 00:20:50 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
2625 * bin/nightlybuilds/builds.lst: Move Debian_WChar to new scoreboard.
2627 Fri May 24 10:18:39 2002 Steve Huston <shuston@riverace.com>
2629 * bin/auto_compile: Don't bail out if the only CVS conflict is
2630 in ChangeLog or THANKS.
2632 * ace/CDR_Stream.h (ACE_InputCDR): Added comments clarifying
2633 the behavior of the ctor that takes a const ACE_Message_Block *.
2634 Thanks to Alexander Maack for motivating this.
2636 * examples/C++NPv2/display_logfile.cpp (svc): Fix memory leak
2637 (thanks to Alexander Maack for reporting this) and don't lose
2638 the host name in the data if demarshaling has to be aborted to
2639 go read more data from the file.
2641 * examples/C++NPv2/Logging_Acceptor_Ex.h:
2642 * examples/C++NPv2/Logging_Event_Handler_Ex.h: Remove trailing ';'
2643 on inlined methods; Changed to match book.
2645 * examples/C++NPv2/Select_Reactor_Logging_Server.cpp: Changed to
2648 * examples/C++NPv2/Reactor_Logging_Server_Adapter.{h cpp}:
2649 * examples/C++NPv2/Service_Reporter.{h cpp}:
2650 * examples/C++NPv2/Configurable_Logging_Server.{cpp mak}:
2651 Example code from Chapter 5 of C++NPv2 (Service Configurator).
2653 * examples/C++NPv2/Makefile: Added new examples.
2655 * THANKS: Added Alexander Maack to the Hall of Fame.
2657 * ace/Reactor.h: Mark run[_alertable]_event_loop, end_event_loop,
2658 event_loop_done, and reset_event_loop static methods deprecated
2659 in favor of calling the non-static methods on
2660 ACE_Reactor::instance(). Thanks to Don Hinton for motivating this.
2662 * ace/String_Base.h (rep): Added note that directs the caller to free
2663 the returned memory.
2665 Mon May 13 19:15:49 2002 Steve Huston <shuston@riverace.com>
2667 * ace/Service_Config.h: Doxygen-ized comments for open(), and
2668 added a note on -b that files are evaluated relative to "/".
2670 * netsvcs/servers/main.cpp: Move the reactor/signal initialization
2671 to be after the service loading. If the user specifies -b (be a
2672 daemon) it closes all handles, including the reactor
2673 notification pipe. Also added ACE_TEXT decorator to the string
2676 Fri May 24 13:29:05 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
2678 * bin/nightlybuilds/builds.lst: Move Debian_Full and
2679 Debian_Minimum_Static builds to new scoreboard.
2681 Thu May 23 20:35:22 2002 Steve Huston <shuston@riverace.com>
2683 * ace/RB_Tree.h: Clarified that iterator is valid after changes to
2684 container only if the iterated-over element is not removed. Thanks
2685 to Craig Ching <cching@mqsoftware.com> for noticing this.
2687 * ace/Module.cpp (close): Fixed to only use the passed-in flags if
2688 the task delete policy was not set explicitly. Thanks to Doug
2689 Schmidt for this fix!
2691 * examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp: Use new technique
2692 for detecting "quit" command. Unified with book content.
2694 Thu May 23 20:36:46 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
2696 * bin/nightlybuilds/builds.lst: Move Lynx_PPC build to new scoreboard.
2698 Thu May 23 14:04:52 2002 Krishnakumar B <kitty@cs.wustl.edu>
2700 * ACEXML/common/LocatorImpl.cpp:
2701 * ACEXML/common/LocatorImpl.h:
2702 * ACEXML/common/LocatorImpl.i:
2703 * ACEXML/parser/parser/Parser.cpp:
2704 * ACEXML/parser/parser/Parser.h:
2705 * ACEXML/parser/parser/Parser.i:
2707 Implemented the Locator for the XML parser.
2709 * ACEXML/common/CharStream.h:
2710 * ACEXML/common/DTDHandler.h:
2711 * ACEXML/common/Env.h:
2712 * ACEXML/common/Exception.h:
2713 * ACEXML/common/FileCharStream.h:
2714 * ACEXML/common/InputSource.cpp:
2715 * ACEXML/common/SAXExceptions.cpp:
2716 * ACEXML/common/SAXExceptions.h:
2717 * ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp:
2718 * ACEXML/examples/SAXPrint/SAXPrint_Handler.h:
2720 Cosmetic fixes including some fixing some memory leaks.
2722 * ACEXML/examples/SAXPrint/Print_Handler.cpp:
2723 * ACEXML/examples/SAXPrint/Print_Handler.h:
2724 * ACEXML/examples/SAXPrint/main.cpp:
2726 Add support for printing out errors which uses the Locator. This
2727 will print out errors only if there is an error in the XML file.
2730 Thu May 23 07:53:37 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
2732 * examples/Misc/test_read_buffer.cpp (ACE_TMAIN): Use ACE_STDIN
2733 rather than 0. Thanks to Soeren Gerlach <soeren.gerlach@gmx.de>
2734 for motivating this.
2736 Tue May 21 06:13:50 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
2738 * ace/Hash_Map_Manager_T.h (class ACE_Hash_Map_Manager_Ex): Made
2739 shared_find() protected rather than private. Thanks to
2740 Ganesh Pai <GPai@sonusnet.com> for reporting this.
2742 Wed May 22 23:18:26 2002 Priyanka <oci@cs.wustl.edu>
2744 * ACE version 5.2.3 released.
2746 Sat May 18 09:32:58 2002 Ossama Othman <ossama@uci.edu>
2748 * ace/SSL/SSL_SOCK_Stream.cpp (get_remote_addr):
2750 Set errno to ENOTCONN if the SSL connection hasn't been
2751 completed yet, and errno to EBADF if the file descriptor hasn't
2752 been set yet. This emulates the getpeername() errno semantics.
2754 Sat May 18 08:19:48 2002 Ossama Othman <ossama@uci.edu>
2756 * ace/SSL/SSL_Connector.h:
2757 * ace/SSL/SSL_Connector.cpp:
2759 Temporarily removed these files since there are still some
2760 thread-safefy issues to be addressed in the implementation.
2761 Better to wait until after the forthcoming beta to ship them.
2763 Fri May 17 07:32:49 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
2765 * ace/Log_Msg.cpp: Replaced ACE_NEW_RETURN_I with ACE_NEW_RETURN.
2766 Thanks to Johnny Willemsen for reporting this.
2768 Thu May 16 20:15:36 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
2770 * ace/OS.i: Added ACE_HAS_ISASTREAM_PROTO guard around the
2771 extern "C" int isastream() method. Thanks to Oleg Terletsky
2772 <oterletsky@comcast.net> for reporting this.
2774 * ace/ARGV.h: Added a comment that points out the "add()" method
2775 doesn't handle memory management. Thanks to Kyle Brost
2776 <kyle.brost@quest.com> and Don Hinton for clarifying this.
2778 Thu May 16 17:05:19 2002 Ossama Othman <ossama@uci.edu>
2780 * ace/SSL/SSL_Connector.cpp (handle_input, handle_output):
2782 Qualify the AST type with its appropriate scope. g++ requires
2785 Thu May 16 15:28:24 2002 Ossama Othman <ossama@uci.edu>
2787 * ace/SSL/SSL_Connector.h:
2788 * ace/SSL/SSL_Connector.cpp:
2790 New ACE_SSL-specific subclasses of the standard
2791 ACE_{Strategy_}Connector classes. The standard ACE_Connector
2792 class assumes that a connection is established once the stream
2793 handle becomes writable. However, that only holds for protocols
2794 with a single handshake, such as TCP. Protocols with multiple
2795 handshakes, such as SSL, require special handling to prevent the
2796 connection from being considered completed once the stream
2797 handle becomes writable. The subclasses simply override the
2798 handle_input() and handle_output() methods for each of base
2799 classes that were subclassed. If possible, these changes will
2800 be generalized and merged into ACE proper. When that occurs,
2801 these classes will be deprecated. As such, these classes are
2802 only intended to be an interim solution.
2804 * ace/SSL/SSL_SOCK_Connector.cpp (connect):
2806 Fixed bug where the handle in the SSL_SOCK_Stream was not set if
2807 a connection is in progress. In that case, the handle must also
2808 be set in the SSL_SOCK_Stream so that the correct handle is
2809 returned from SSL_SOCK_Stream::get_handle() when performing
2810 non-blocking connect()s via the SSL_SOCK_Connector.
2814 No need to set the handle in SSL_SOCK_Stream since it is
2815 already set in the connect() method.
2817 Only attempt to complete the TCP connection if that hasn't
2820 * ace/SSL/SSL_SOCK_Stream.h (peer):
2822 Made this method public so that it can be called by the new
2823 SSL_{Strategy_}Connector classes.
2825 * ace/SSL/SSL_SOCK_Stream.cpp (get_remote_addr):
2827 Overrode the base class implementations of this method. Some
2828 applications use get_remote_addr() as a way of determining
2829 whether or not a connection has been established. In SSL's
2830 case, the remote addr will be available once the TCP handshake
2831 has been complete. Despite that fact, the SSL connection may
2832 not have been completed. In such a case, a successful return
2833 from get_remote_addr() would be misleading.
2835 Thu May 16 13:34:19 2002 Nanbor Wang <nanbor@cs.wustl.edu>
2837 * ACEXML/examples/SAXPrint/main.cpp: Added constness to
2838 <test_string>. This fixed a GCC 3.0 warning.
2840 Wed May 15 17:47:24 UTC 2002 Don Hinton <dhinton@ieee.org>
2842 * ace/DLL.cpp: Fixed compile error in an AIX ifdef'd
2843 section of code I missed before.
2845 Wed May 15 17:18:58 UTC 2002 Don Hinton <dhinton@ieee.org>
2847 * ace/DLL.cpp (open):
2849 Removed unreferenced return value. Thanks to Nanbor
2852 Wed May 15 16:44:27 UTC 2002 Don Hinton <dhinton@ieee.org>
2854 * ace/DLL.cpp (save_last_error):
2856 Use ACE::strnew to make a copy of the saved string.
2858 Wed May 15 15:58:07 UTC 2002 Don Hinton <dhinton@ieee.org>
2860 * tests/DLL_Test.cpp:
2862 Modified test to make calles to ACE_DLL::error () in order to test
2867 Removed the return in open() after an ACE_Lib_Find error, so that
2868 dlopen() will be called and the appropriate error stored.
2870 Added new static flag, open_called_, to keep track of whether or not
2871 a library function (specifically dlopen) has been called. This is
2872 used internally to make sure that dlerror() isn't called unless the
2873 library has been initialized with a call to dlopen first. Otherwise
2874 it seg-faults on Linux (and perhaps others).
2876 Also added a last_error_ variable and save_last_error() method and
2877 placed a call to save_last_error() after each library call. Then
2878 changed error() so it just returns last_erro_. This solves a few
2879 problems, since open() made calls to error() which returned the
2880 appropriate error but cleared the value for the next call. So for
2881 instance, when the ctor failed and tried to call error() to report
2882 the error, it didn't return anything since open() had already called
2883 it. Also, if open() failed, and the called tried to call error() to
2884 find out why, they got a blank error message since error() had
2885 already been called by open().
2887 Tue May 14 19:40:11 2002 Priyanka Gontla <pgontla@ece.uci.edu>
2889 * tests/Proactor_Test.cpp (initiate_write_stream):
2890 Applied the Patch Johnny Willemsen sent to fix the test for the
2893 Tue May 14 19:14:11 2002 Priyanka Gontla <pgontla@ece.uci.edu>
2895 * tests/TP_Reactor_Test.cpp (Connector):
2896 Fixed the warnings by removing the check condition
2897 'size_t index_ >= 0' which is always going to be true.
2899 * tests/Proactor_Test.cpp:
2900 Integrated the changes sent by Alex Libman
2901 <AlexL@rumblegroup.com>to fix the test on
2902 linux and other platforms that has a weak AIO implementation.
2904 Mon May 13 16:43:34 2002 Krishnakumar B <kitty@cs.wustl.edu>
2906 * ACEXML/parser/parser/Parser.cpp (parse_xml_prolog):
2908 I meant to change "standalong" to "standalone" not "encoding" to
2909 "encodine". Brain damage...
2911 Mon May 13 16:31:33 2002 Krishnakumar B <kitty@cs.wustl.edu>
2913 * ACEXML/parser/parser/Parser.cpp (parse_xml_prolog):
2915 Fixed a small typo. We should parse "standalone" not
2918 Mon May 13 10:19:48 2002 Nanbor Wang <nanbor@cs.wustl.edu>
2920 * ace/Message_Block.cpp: Fixed a fuzz warning.
2922 Mon May 13 08:36:38 2002 Alex Libman <AlexL@rumblegroup.com>
2924 * tests/Proactor_Test.cpp:
2926 Improved flow-control in full-duplex mode by increasing the
2927 window size, total_send - total_recv to achieve max performance
2930 Improved static info which includes the number of bytes
2931 sent/recv and the number of read/write operations. This allows
2932 to see distribution of I/O operations between handlers. Would be
2933 useful for Proactor's future improvements.
2935 Impoved scatter/gather branch under Win32. Instead of splitting
2936 one message into 3 small blocks we now send them as a
2937 chain. This helps to improve performance.
2939 Mon May 13 07:33:43 2002 Chad Elliott <elliott_c@ociweb.com>
2941 * ACEXML/examples/SAXPrint/main.cpp:
2943 Fix the Debian build by using ACEXML_Char instead of ACE_TCHAR.
2945 Sun May 12 23:20:06 2002 Alex Libman <AlexL@rumblegroup.com>
2947 * tests/TP_Reactor_Test.{h,cpp}:
2948 Improved flow-control in full-duplex mode by increasing the
2949 window size, total_send - total_recv to achieve max performance
2952 Improved static info which includes the number of bytes
2953 sent/recv and the number of read/write operations. This allows
2954 to see distribution of I/O operations between handlers. Would be
2955 useful for TP_Reactor's future improvements.
2957 Sun May 12 10:11:07 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
2959 * ace/Message_Queue_T.cpp: Updated all the enqueue*() and
2960 dequeue*() methods so that they use the new
2961 total_size_and_length() method, which is more efficient.
2963 * ace/Message_Block.h (ACE_Message_Block): Added new
2964 total_size_and_length() method to speed up calculation of these
2965 values by putting them into one loop.
2967 Sun May 12 11:12:00 2002 Nanbor Wang <nanbor@cs.wustl.edu>
2969 * Makefile: Moved ACEXML directory up so it would be compile right
2970 after ACE. We will need them when XML-based Service
2971 Configurator becomes the default. Thank to Kitty for pointing
2974 Sat May 11 13:04:49 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
2976 * ace/Synch.h: Updated the documentation explaining
2977 what an ACE_Barrier does. Thanks to Timothy Culp
2978 <timothy.culp@computer.org> for motivating this.
2980 Sun May 12 09:45:37 2002 Edan Ayal <edanayal@yahoo.com>
2982 * ace/WIN32_Asynch_IO.cpp: Fixed check for ACE_IOV_MAX
2983 limitation in the following methods:
2984 - ACE_WIN32_Asynch_Read_Dgram::recv
2985 - ACE_WIN32_Asynch_Write_Dgram::send
2986 - ACE_WIN32_Asynch_Read_Stream::readv
2987 - ACE_WIN32_Asynch_Write_Stream::writev
2988 - ACE_WIN32_Asynch_Read_File::readv
2989 - ACE_WIN32_Asynch_Write_File::writev.
2991 Fri May 10 18:29:48 2002 Krishnakumar B <kitty@cs.wustl.edu>
2993 * ace/config-icc-common.h (ACE_HAS_ANSI_CASTS):
2994 * include/makeinclude/platform_linux_icc.GNU:
2996 Fixed the config file to ensure compilation with Intel C++
2997 Compiler version 6.0.
2999 Fri May 10 18:16:50 2002 Irfan Pyarali <irfan@cs.wustl.edu>
3001 * ace/Connector.cpp (handle_output): Removed unnecessary debug
3004 Thu May 9 20:02:10 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
3006 * docs/ACE-bug-process.html: Fixed a typo in the hostname of
3007 the TAO FAQ. Thanks to Jeff Adams <Jeff.Adams@gd-ais.com>
3010 Thu May 9 16:26:48 2002 Nanbor Wang <nanbor@cs.wustl.edu>
3012 * ACEXML/examples/SAXPrint/main.cpp: Added missing include file.
3014 * ace/Service_Config.cpp:
3015 * ace/Service_Config.h:
3017 * ace/Svc_Conf_y.cpp: Consolidated ace_create_service_type into
3018 ACE_Service_Config::create_service_type_impl.
3021 Thu May 9 14:35:24 2002 Nanbor Wang <nanbor@cs.wustl.edu>
3023 * ace/XML_Svc_Conf.h: Changed to include ACE_export.h instead of
3024 config-all.h and added #pragma once macros.
3026 Thu May 09 12:12:59 2002 Nanbor Wang <nanbor@cs.wustl.edu>
3028 * ACEXML/apps/svcconf/Svcconf.h:
3029 * ACEXML/apps/svcconf/Svcconf.cpp:
3030 * ACEXML/apps/svcconf/Svcconf_Handler.h:
3031 * ACEXML/apps/svcconf/Svcconf_Handler.cpp: Commented out the code
3032 if XML-based Service Configurator is not used.
3034 * ACEXML/apps/svcconf/Makefile:
3035 * ACEXML/apps/svcconf/XML_Svc_Conf_Parser.dsp: Removed ACEXML from
3036 the list of include path to be consistent with other projects.
3038 Thu May 09 10:53:51 2002 Nanbor Wang <nanbor@cs.wustl.edu>
3040 * ACEXML/common/XML_Common.dsp: One more mis-merged project file.
3042 Thu May 09 10:39:17 2002 Nanbor Wang <nanbor@cs.wustl.edu>
3045 * ace/ace_lib.dsp: Fixed link error on win32. I forgot to merge
3046 these project files differently (they can not be merged.)
3048 Thu May 9 01:07:56 2002 Nanbor Wang <nanbor@cs.wustl.edu>
3050 * ACEXML/common/StrCharStream.h:
3051 * ACEXML/common/StrCharStream.cpp: Fixed Linux compilation
3054 Thu May 09 00:38:22 2002 Irfan Pyarali <irfan@cs.wustl.edu>
3056 * ace/WFMO_Reactor.cpp (event_handling): Added a fix for bug
3057 1161. The problem was described aptly and the fix was applied
3058 exactly as suggested by Lyn Headley <headley@wolve.com>:
3060 Problem: "The do-while loop in this function is problematic,
3061 because active threads is incremented once prior to executing
3062 the loop, and then decremented on every iteration of the loop
3063 inside safe dispatch(). Thus on the second iteration of the
3064 loop active threads is decremented to 2^32, which causes the
3065 thread to block on waiting to change state inside update
3066 state(), which is never signaled (because there are no other
3069 Solution: "Moving the do clause of the loop up a few statements
3070 to include the increment of active threads (and the acquisition
3071 of the lock) would probably fix the larger bug."
3073 Also, thanks to Lyn Headley <headley@wolve.com> and Paxton Mason
3074 <pmason@wolve.com> at Wolverine, and Kobi Cohen Arazi
3075 <kobi@mivzak.com>, Mike Winter (mwinter@sonic.net),
3076 <sturtesm@hotmail.com> who have all suggested fimilar problems
3079 Thu May 09 00:06:47 2002 Irfan Pyarali <irfan@cs.wustl.edu>
3081 * examples/Reactor/WFMO_Reactor: Added the "Static Debug", "Static
3082 Release", and "Release" build configurations to the "Debug"
3083 configuration for all the 16 dsp files in this directory.
3085 Wed May 8 23:57:32 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
3087 * bin/nightlybuilds/builds.lst: Move Redhat 7.1 Core build to new scoreboard.
3089 Wed May 8 15:15:41 2002 Nanbor Wang <nanbor@cs.wustl.edu>
3091 Merged in the XML-based Service Configurator framework. The
3092 XML-based Service Configruator is *not* enabled by default and
3093 the merge should not affect existing applications. We will make
3094 the XML-based Service Configurator the defualt one at some point
3095 in the future. So you might want to try it out before that
3096 time. :) To switch current ACE to use XML Service Configurtor,
3099 #define ACE_HAS_XML_SVC_CONF
3101 in your <config.h>. You can use the
3102 $(ACE_ROOT)/bin/svcconf_convert.pl to convert your existing
3103 svc.conf files to svc.conf.xml.
3106 * ace/Parse_Node.cpp:
3108 * ace/Service_Config.cpp:
3109 * ace/Service_Config.h:
3111 * ace/Svc_Conf_Lexer_Guard.cpp:
3112 * ace/Svc_Conf_l.cpp:
3113 * ace/Svc_Conf_y.cpp:
3114 * tests/Service_Config_DLL.cpp: Simplified the macro check.
3117 * ace/Service_Config.h:
3118 * ACEXML/apps/svcconf/Svcconf.cpp: Fixed Linux compilation warnings.
3120 * ACEXML/apps/svcconf/Svcconf_Handler.cpp:
3121 * ace/Service_Config.cpp: Added more comprehensive error messages.
3124 * ACEXML/Makefile.bor:
3125 * ACEXML/apps/Makefile:
3126 * ACEXML/apps/Makefile.bor:
3127 * ACEXML/apps/svcconf/Makefile:
3128 * ACEXML/apps/svcconf/Makefile.bor:
3129 * ACEXML/parser/parser/Makefile:
3134 * examples/ASX/CCM_App/Makefile:
3135 * examples/ASX/CCM_App/Makefile.CCM_App: Added or Updated Makefiles.
3138 * bin/svcconf-convert.pl: Added more debugging info printout.
3139 Fixed incorrect mapping on initializer path/path and
3142 * ace/Service_Object.h: Added enum definition to differentiate
3143 ACE_Service_Type_Impl. The enum values are taken from
3144 "ace/Svc_Conf_Toekns.h" so that the same service can work with
3145 both classic and XML service configurator frameworks.
3148 * ace/Service_Config.h:
3149 * ace/Service_Config.cpp: Added <create_service_type> and
3150 <create_service_type_impl> methods to ensure objects are
3151 allocated in consistent DLL.
3153 * ACEXML/parser/parser/Parser.cpp: Made the exception messages
3154 more comprehensive so it's easier to determine the origins of
3157 * ACEXML/apps/svcconf/Svcconf_Handler.h:
3158 * ACEXML/apps/svcconf/Svcconf_Handler.i:
3159 * ACEXML/apps/svcconf/Svcconf_Handler.cpp: Added more implementation.
3161 * examples/ASX/CCM_App/svc.conf.xml:
3162 * netsvcs/servers/svc.conf.xml:
3163 * tests/Service_Config_Test.conf.xml: Added new XML-based svc.conf files.
3165 * tests/Service_Config_DLL.cpp: Added xml-based inline svc.conf directives.
3168 * ACEXML/apps/XML_Apps.dsw: Added new workspace for XML
3169 applications. This should contains all projects under this
3172 * ACEXML/apps/svcconf/README:
3173 * ACEXML/apps/svcconf/Svcconf.cpp:
3174 * ACEXML/apps/svcconf/Svcconf.h:
3175 * ACEXML/apps/svcconf/Svcconf_Handler.cpp:
3176 * ACEXML/apps/svcconf/Svcconf_Handler.h:
3177 * ACEXML/apps/svcconf/Svcconf_Handler.i:
3178 * ACEXML/apps/svcconf/XML_Svc_Conf_Parser.dsp: Added new files
3179 that implement the parser for XML-based Service Configurator.
3181 * bin/svcconf-convert.pl: Updated the help message.
3183 * ace/config-all.h: Added ACE_DEFAULT_SVC_CONF_EXT to define the
3184 default file extention name for svc.conf files. It is ".conf"
3185 when using classic Service Configurator and ".conf.xml" when
3186 using XML Service Configurator.
3188 * tests/Service_Config_Test.cpp: Changed to use different file
3189 extension with different Service Configurator.
3191 * tests/Service_Config_Test.conf.xml: Added the converted XML
3192 based svc.conf file.
3196 * ace/XML_Svc_Conf.h:
3197 * ace/XML_Svc_Conf.cpp: Added abstract interface definition for
3198 DLL based XML parser.
3200 * ace/OS.h: Defined ACE_DEFAULT_SVC_CONF_FILE to "svc.conf.xml" if
3201 ACE_USES_CLASSIC_SVC_CONF is not defined.
3203 * ace/Service_Config.cpp: Adapt Service_Config to use XML parser
3204 to process an svc.conf.xml file.
3207 * bin/generate_export_file.pl: Added code to record the flags used
3208 to generate an export file.
3211 * XML/examples/svcconf/Svcconf_Handler.h:
3212 * XML/examples/svcconf/Svcconf_Handler.i:
3213 * XML/examples/svcconf/Svcconf_Handler.cpp: Added Svcconf handling
3216 * XML/examples/test_docs/svcconf.dtd: Revised Svcconf DTD.
3219 * XML/examples/test_docs/svcconf.dtd: Updated the DTD again.
3220 The <streamdef> tag also needed an "id" attribute.
3222 * XML/examples/SAXPrint/main.cpp:
3223 * XML/examples/SAXPrint/svc.conf.xml: Modified the sample XML to
3224 conform to the updated svcconf.dtd.
3226 * XML/examples/svcconf/README:
3227 * XML/examples/svcconf/Svcconf.dsp:
3228 * XML/examples/svcconf/Svcconf.dsw:
3229 * XML/examples/svcconf/Svcconf_Handler.cpp:
3230 * XML/examples/svcconf/Svcconf_Handler.h:
3231 * XML/examples/svcconf/Svcconf_Handler.i:
3232 * XML/examples/svcconf/main.cpp: New example to test out
3233 svc.conf.xml parsing. Not finished.
3236 * XML/examples/test_docs/svcconf.dtd: Simplied the svc.conf.dtd by
3237 removing the <params> tags and making it an attribute for
3238 <initializer> and <static> tags.
3241 * ace/Parse_Node.cpp:
3243 * ace/Service_Config.cpp:
3244 * ace/Service_Config.h:
3247 * ace/Svc_Conf_Lexer_Guard.cpp:
3248 * ace/Svc_Conf_l.cpp:
3249 * ace/Svc_Conf_y.cpp: Decoupled old Service_Config parser from ACE.
3252 * XML/examples/SAXPrint/main.cpp: Added a new test to try the new
3253 StrCharStream and switch to use ACE_Get_Opt to support more
3254 robust command line arguments.
3256 * XML/common/StrCharStream.h:
3257 * XML/common/StrCharStream.cpp: Added new CharStream class that
3258 take a null-terminated ACEXML_Char string as an input source.
3260 * XML/common/FileCharStream.h: Removed unnecessary inclusion of
3263 * XML/common/Makefile:
3264 * XML/common/Makefile.bor:
3265 * XML/common/XML_Common.dsp: Added StrCharStream.*.
3267 Wed May 8 16:29:05 2002 Krishnakumar B <kitty@cs.wustl.edu>
3269 * bin/nightlybuilds/builds.lst (STATUS):
3271 Added more information about the build on toutatis.
3273 Wed May 8 13:57:58 2002 Chad Elliott <elliott_c@ociweb.com>
3276 * ace/OS_Dirent.cpp:
3278 Fixed the Dirent_Test under wide character builds with Visual C++
3279 6.0. The d_name member of the dirent struct is normally a one
3280 element ACE_TCHAR array that is used as an ACE_TCHAR pointer.
3281 This doesn't work properly under wide character builds with VC6.
3282 Note: because of this change, memcpy on a 'struct dirent' no
3283 longer works on Windows as it would on UNIX.
3285 Wed May 8 11:02:44 2002 Balachandran Natarajan <bala@cs.wustl.edu>
3287 * tests/TP_Reactor_Test.cpp: Turned off full traces, only the
3288 error messages will goto the log.
3290 Wed May 8 10:58:15 2002 Alex Libman <AlexL@rumblegroup.com>
3292 * tests/Proactor_Test.cpp: Fixed the test to work right on
3293 Linux. Turned off full traces, only the error messages and
3294 statistics will go to the log.
3296 Wed May 8 06:14:08 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
3298 * ace/Proactor.h (ACE_Proactor): Fixed a comment that said
3299 "ACE_Reactor" rather than "ACE_Proactor" (cut+paste error ;-)).
3300 Thanks to Don Hinton for reporting this.
3302 * ace/Filecache.cpp (R_MASK): Allow file sharing by default.
3303 Thanks to Peter Kullmann" <P.Kullmann@rog.de> for reporting
3306 Tue May 07 21:03:01 2002 Ossama Othman <ossama@uci.edu>
3308 * ace/Dev_Poll_Reactor.cpp:
3310 Removed vestigial debugging code.
3312 Tue May 07 17:42:16 2002 Irfan Pyarali <irfan@cs.wustl.edu>
3314 * ace/OS.i: Added missing "\".
3316 Tue May 7 16:45:13 2002 Krishnakumar B <kitty@cs.wustl.edu>
3318 * ace/ACE.cpp (handle_timed_complete):
3320 Check for the return value from ACE_OS::getsockopt(). Return
3321 ACE_INVALID_HANDLE if return value is -1. Thanks to Jonathan
3322 Wackley <jwackley@legato.com> for reporting this.
3324 * ace/OS.i (ACE_LACKS_SETREUID_PROTOTYPE):
3326 Check if we are compiling with gcc in addition to checking for
3327 _XOPEN_SOURCE. GCC unconditionally turns on _XOPEN_SOURCE, but
3328 it is not defined in Solaris 2.5.1. So this hack to expose the
3329 missing prototypes of setreuid() and setregid(). Thanks to
3330 Jonathan Wackley <jwackley@legato.com> for reporting this.
3332 * include/makeinclude/platform_sunos5_sunc++.GNU:
3336 Tue May 07 15:44:41 2002 Balachandran Natarajan <bala@cs.wustl.edu>
3338 * bin/auto_run_tests.lst: Reverted the change "Tue May 07 15:15:30
3339 2002 Balachandran Natarajan <bala@cs.wustl.edu>". Got an idea
3340 waht was going wrong with the test and fixed that.
3342 Tue May 07 15:15:30 2002 Balachandran Natarajan <bala@cs.wustl.edu>
3344 * bin/auto_run_tests.lst: Removed No_Server_MT_Connect_Test from
3345 the daily builds. The testing methodology needs to be
3346 rethought. Thanks to Ru for ppointing out that the test is
3347 failing on a few paltforms.
3349 Tue May 7 12:59:24 2002 Balachandran Natarajan <bala@cs.wustl.edu>
3351 * tests/Proactor_Test.cpp (handle_write_stream): Tried to fix
3352 warnings and errors in Borland builds. Thanks to Ru for pointing
3355 Tue May 7 10:31:24 2002 Alex Libman <AlexL@rumblegroup.com>
3357 * tests/TP_Reactor_Test.cpp:
3358 * tests/TP_Reactor_Test.h: Fixed the tests to work fine on all
3361 * tests/run_test.lst (TP_Reactor_Test): Enabled the test for the
3364 Mon May 06 16:31:14 2002 Irfan Pyarali <irfan@cs.wustl.edu>
3366 * examples/Reactor/WFMO_Reactor/Abandoned.cpp (handle_timeout):
3367 * examples/Reactor/WFMO_Reactor/APC.cpp (handle_signal):
3369 Make sure to remove handlers from the reactor if they are not
3370 going to be around when the reactor closes down.
3372 * examples/Reactor/WFMO_Reactor/Handle_Close.cpp: Reactor creation
3373 was buggy and the wrong reactor's event loop was being run.
3375 * examples/Reactor/WFMO_Reactor/Talker.cpp: STDIN handler was not
3376 getting cleaned up properly. Also, Proactor was not getting
3377 removed properly from the Reactor.
3379 * examples/Reactor/WFMO_Reactor/Network_Events.cpp: Network
3380 listener was not getting cleaned up properly.
3382 * examples/Reactor/WFMO_Reactor/Multithreading.cpp (Task_Handler):
3383 Fixed an "out of bounds" error where a "for" loop that was going
3384 from 1 to n rather than from 0 to n-1. Also, added a debug
3387 * examples/Reactor/WFMO_Reactor/run_test.pl: Redirected some of
3388 the output from STDERR to STDOUT.
3390 Mon May 06 15:45:35 2002 Nanbor Wang <nanbor@cs.wustl.edu>
3392 * ACEXML/parser/debug_validator/Debug_Validator.dsp: Fixed
3393 rum-time library options to avoid compilation errors when MFC is
3396 Mon May 6 14:26:52 2002 Balachandran Natarajan <bala@cs.wustl.edu>
3398 * tests/Proactor_Test.cpp: Fixed unused variable warnings in
3401 Mon May 6 13:37:45 2002 Balachandran Natarajan <bala@cs.wustl.edu>
3403 * bin/generate_performance_chart.sh: Changed the range of the y
3404 range for the plots.
3406 Mon May 6 07:39:22 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
3408 * ace/Message_Queue_T.cpp (notify): Moved int queue_count definition
3409 to outside the scope. Thanks to Chad Elliot for reporting this.
3411 Sun May 5 19:14:34 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
3413 * ace/Message_Queue_T.cpp: Modified all the enqueue*() methods so that
3414 their calls to notify() occur *outside* of the monitor lock.
3415 This change prevents deadlock from occurring when a reactor's
3416 notification pipe is full. Thanks to Sasha Agranov
3417 <sagranov@COMGATES.co.il> for reporting this.
3419 Mon May 6 10:24:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
3421 * apps/gperf/src/Makefile:
3422 Removed INSBIN because this didn't work before my change of
3423 Fri May 03 2002, but now it works and it causes error in all
3426 Sun May 5 22:23:00 2002 Edan Ayal <edanayal@yahoo.com>
3428 * tests/Proactor_Test.cpp (Sender):
3429 - Totally removed the message content mem-copies by having the
3430 message blocks assume ownership without copying, by
3431 pre-allocating space for the ending '\0' (needed for the
3432 printouts), and by using an additional complete message content
3433 string for the non-scatter/gather case.
3435 - Added missing message blocks releases when the write
3438 - Added a missing message block rd_ptr adjustment at the message
3439 content printout in the non-scatter/gather case.
3441 Fri May 03 20:29:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
3443 * include/makeinclude/wrapper_macros.GNU:
3444 Only set INSBIN, INSLIB, INSMAN and INSINC when they are not set
3445 yet. This way these can be overruled in a makefile.
3447 Fri May 03 08:38:27 2002 Ossama Othman <ossama@uci.edu>
3449 * ace/SSL/SSL_Context.cpp (ssl_library_init):
3451 Removed extraneous "SSL_library_init()" call.
3452 SSLeay_add_ssl_algorithms(), which is an alias for
3453 SSL_library_init(), is already called.
3455 Thu May 02 16:33:05 2002 Nanbor Wang <nanbor@cs.wustl.edu>
3457 * ace/OS.i (mmap): On Win32, check for both ERROR_INVALID_NAME and
3458 ERROR_FILE_NOT_FOUND to account for difference when running it
3459 on WINNT but with ACE_HAS_WINNT4 = 0. Thanks to Ram Ben-Yakir
3460 <ram@BANDWIZ.COM> for figuring this out.
3462 Fri May 3 07:21:20 2002 Ossama Othman <ossama@uci.edu>
3464 * tests/Dev_Poll_Reactor_Test.cpp:
3466 Uncommented ACE_START/END_TEST macros and removed extraneous
3467 debugging statements.
3469 Fri May 3 08:00:55 2002 Chad Elliott <elliott_c@ociweb.com>
3471 * docs/tutorials/012/work.h:
3473 Include ace/Log_Msg.h to get the definition of ACE_DEBUG and
3476 Fri May 3 07:07:31 2002 Chad Elliott <elliott_c@ociweb.com>
3478 * tests/Proactor_Test.cpp:
3480 Put ACE_TEXT around bare char strings.
3482 Fri May 3 06:57:13 2002 Chad Elliott <elliott_c@ociweb.com>
3484 * tests/Proactor_Test.cpp:
3486 Add a conditional to avoid building this test if threads are not
3489 Fri May 3 06:47:23 2002 Chad Elliott <elliott_c@ociweb.com>
3491 * tests/Dev_Poll_Reactor_Test.cpp:
3493 Add a conditional main for when ACE_HAS_DEV_POLL and
3494 ACE_HAS_EVENT_POLL are not defined.
3496 Fri May 3 06:41:10 2002 Chad Elliott <elliott_c@ociweb.com>
3500 Remove parameter name to avoid a warning from g++.
3502 Thu May 02 15:54:48 2002 Ossama Othman <ossama@uci.edu>
3504 * ace/Select_Reactor_T.cpp (work_pending):
3506 Check if any timers are pending. If so, override any timeout
3507 from the select() call. Corrects a problem where the decision
3508 that no work was pending despite the fact that timers were
3511 Thu May 02 15:53:39 2002 Ossama Othman <ossama@uci.edu>
3513 * tests/Dev_Poll_Reactor_Test.cpp:
3515 Added some comments that briefly describe the test.
3517 Thu May 2 15:45:34 2002 Ossama Othman <ossama@uci.edu>
3519 * tests/Dev_Poll_Reactor_Test.cpp:
3521 New one-button test for the Dev_Poll_Reactor. Currently it is
3522 fairly simple. Improvements to be added soon.
3524 Thu May 2 15:22:36 2002 Ossama Othman <ossama@uci.edu>
3526 * ace/Dev_Poll_Reactor.h (work_pending_i):
3527 * ace/Dev_Poll_Reactor.cpp (work_pending_i):
3529 Accept a pointer to ACE_Time_Value instead of a reference.
3531 Corrected the logic for the test for pending timers.
3533 Thu May 02 14:38:53 2002 Ossama Othman <ossama@uci.edu>
3535 * examples/Reactor/Misc/pingpong.cpp:
3537 Include "ACE.h" to pull in methods in the ACE class/namespace.
3539 Thu May 2 14:02:20 2002 Ossama Othman <ossama@uci.edu>
3541 * ace/Dev_Poll_Reactor.cpp (work_pending_i):
3543 Take into account pending timers when deciding if there is work
3546 Thu May 02 13:34:08 2002 Ossama Othman <ossama@uci.edu>
3548 * ace/Dev_Poll_Reactor.cpp:
3550 Include "ACE.h" to pull in methods in the ACE class/namespace.
3552 Thu May 2 13:28:01 2002 Ossama Othman <ossama@uci.edu>
3554 * ace/Dev_Poll_Reactor.h:
3556 Updated some documentation.
3558 * ace/Dev_Poll_Reactor.inl (upcall):
3560 New method containing common upcall operations for all types of
3563 * ace/Dev_Poll_Reactor.cpp:
3565 Commented out "ready set" code since the upcall will simply loop
3566 until the event handler no longer desires callbacks. This is
3567 okay since multiple threads may dispatch event handlers (similar
3568 to what the TP_Reactor does).
3572 Cleaned up memory and resource leaks.
3574 (handle_events_i, work_pending_i):
3576 Moved "event polling" code to the new work_pending_i() method.
3577 handle_events_i() now calls that method to determine if any
3578 events must be dispatched.
3580 If the underlying ioctl() call was interrupted (e.g. via the
3581 INTR signal), i.e. returns -1 with errno set to EINTR, then
3582 automatically restart the event loop if so desired by the user.
3586 Implemented this method. It simply grabs the reactor lock and
3587 calls the new work_pending_i() method.
3589 (dispatch_io_events):
3591 Call the remove_handler() method that acquires the lock instead
3592 of the one doesn't. The lock must be reacquired since reactor
3593 state will potentially change during an upcall and since the
3594 lock was released prior to dispatching the upcall. Fixes a race
3597 Directly use pollfd pointers as the loop variables instead of an
3598 integer. No need for the additional indirection.
3600 Since the underlying event demultiplexing mechansim (`/dev/poll'
3601 or '/dev/epoll') is stateful, and since only one result buffer
3602 is used, all pending events (i.e. those retrieved from a
3603 previous poll) must be dispatched before any additional event
3604 can be polled. As such, the Dev_Poll_Reactor keeps track of the
3605 progress of events that have been dispatched.
3607 The semantics of the event loop in the presence of multiple
3608 threads is non-trivial. The "start point" of the loop will be
3609 incremented each time an event handler is dispatched, which may
3610 be done across multiple threads. Multiple threads may change
3611 the loop variables. Care must be taken to only change those
3612 variables with the reactor lock held.
3614 (dispatch_timer_handlers):
3616 Release the reactor lock during the upcall. Fixes a potential
3619 Thu May 2 10:35:25 2002 Phil Mesnier <mesnier_p@ociweb.com>
3621 * ace/Log_Msg.cpp: ACE_Log_Msg::open() did not properly initialize a
3622 custom backend due to improper evaluation of result code.
3624 Thu May 02 07:15:31 2002 Ossama Othman <ossama@uci.edu>
3626 * ace/IO_Cntl_Msg.h:
3628 Include OS.h to pull in size_t typedef.
3630 Thu May 2 07:50:29 2002 Chad Elliott <elliott_c@ociweb.com>
3632 * examples/Web_Crawler/URL_Addr.h:
3634 Include ace/ACE.h to avoid compilation error due to missing
3635 method (ACE::hash_pjw) in inline method ACE_URL_Addr::hash().
3637 Thu May 2 07:46:59 2002 Chad Elliott <elliott_c@ociweb.com>
3639 * websvcs/lib/URL_Addr.h:
3641 Include ace/ACE.h to avoid compilation error due to missing
3642 method (ACE::hash_pjw) in inline method ACE_URL_Addr::hash().
3644 Thu May 2 07:34:59 2002 Chad Elliott <elliott_c@ociweb.com>
3646 * ace/QoS/SOCK_Dgram_Mcast_QoS.cpp:
3648 Switch ACE::get_ip_interfaces() to
3649 ACE_Sock_Connect::get_ip_interfaces() and include
3650 ace/Sock_Connect.h. This only applies to Win32.
3652 Thu May 2 00:39:32 2002 Irfan Pyarali <irfan@cs.wustl.edu>
3654 * ace/Dynamic.i: Uncommented ACE_TRACE calls.
3656 Thu May 2 00:29:34 2002 Irfan Pyarali <irfan@cs.wustl.edu>
3658 * ace/TLI_Stream: Uninlined a methods that needed access to the
3661 * ace/Service_Object: Uninlined ACE_Service_Type::name().
3664 * ace/Process_Mutex.cpp:
3665 * ace/SOCK_Dgram_Bcast.cpp:
3666 * ace/TLI_Acceptor.cpp:
3667 * ace/TLI_Connector.cpp:
3668 * ace/TLI_Stream.cpp:
3670 Added #include "ace/ACE.h".
3672 Wed May 1 21:07:23 2002 Ossama Othman <ossama@uci.edu>
3674 * ace/config-win32-msvc-6.h:
3676 Moved library "decorator" related macros to
3677 config-win32-msvc.h.
3679 * ace/config-win32-msvc.h:
3681 Support "decorated" library names for MSVC 6 or better. Fixes
3682 run-time library search problems in MS Visual Studio .NET
3690 * ace/Naming_Context.h:
3691 * ace/Remote_Name_Space.h:
3693 Include "ACE_export.h" instead of "ACE.h." The latter is
3698 Include "ACE_export.h" instead of "ACE.h." The latter is
3701 No need to include "ace/Malloc_T.h" and "ace/Memory_Pool.h"
3704 * ace/Event_Handler.h:
3705 * ace/High_Res_Timer.h:
3707 * ace/Malloc_Allocator.h:
3711 * ace/Profile_Timer.h:
3712 * ace/Read_Buffer.h:
3713 * ace/Shared_Memory.h:
3714 * ace/Shared_Object.h:
3719 * ace/SV_Semaphore_Simple.h:
3720 * ace/SV_Shared_Memory.h:
3722 * ace/Synch_Options.h:
3724 * ace/Typed_SV_Message.h:
3726 Include "OS.h" and "ACE_export.h" instead of "ACE.h." The
3729 * ace/Configuration.h:
3735 No need to include "ACE.h."
3739 No need to include "ACE.h", "Synch_T.h" and "Singleton.h."
3740 "ACE_export.h" is enough.
3744 Include "Sock_Connect.h" instead of "ACE.h". The latter is
3747 * ace/Message_Block.h:
3749 Include "ace/OS.h" and "ace/ACE_export.h" instead "ace/ACE.h".
3750 The latter is overkill.
3752 No need to include "Malloc.h"
3754 * ace/IO_Cntl_Msg.h:
3755 * ace/Sock_Connect.h:
3757 Include "ACE_export.h" to pull in ACE_Export macro definition.
3759 * ace/Activation_Queue.cpp:
3760 * ace/Message_Block.cpp:
3762 Include "ace/Malloc_Base.h" to pull in ACE_Allocator class
3769 * ace/SOCK_Dgram.cpp:
3770 * ace/SOCK_Dgram_Mcast.cpp:
3772 * ace/SPIPE_Stream.h:
3773 * ace/SV_Semaphore_Simple.cpp:
3774 * ace/Service_Types.h:
3775 * tests/test_config.h:
3777 Include "ace/ACE.h" pull in methods in the "ACE"
3781 * ace/SV_Message_Queue.h:
3783 Include "config-all.h" instead of "ACE.h." The latter is
3789 Moved default definition of the
3790 ACE_HAS_POSITION_INDEPENDENT_POINTERS macro to
3791 "ace/config-all.h". Allows for additional reductions in
3792 inter-header dependencies.
3794 * ace/PI_Malloc.cpp:
3796 Moved non-essential includes within the
3797 "ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1" block. No need to
3798 include them if the implementation won't be compiled.
3800 * ace/Select_Reactor_T.cpp:
3802 Include "ace/ACE.h" pull in methods in the "ACE"
3807 Moved ACE_Countdown_Time declaration within the ACE_MT_SAFE
3808 block. It is only used for the multi-threaded case.
3812 As part of the timeout take into account the time taken to
3815 Copy the timeout value. Do not ignore the interface by casting
3816 away the const-ness.
3818 Do not bother continuing if the reactor has been deactivated.
3820 Wed May 1 15:49:33 2002 Steve Huston <shuston@riverace.com>
3822 * tests/DLL_Test_Impl.{h cpp}: Add a nothrow variant of operator new
3823 for platforms with ACE_HAS_NEW_NOTHROW (like HP-UX, aC++).
3825 Tue Apr 30 14:54:02 2002 Balachandran Natarajan <bala@cs.wustl.edu>
3827 * bin/auto_run_tests.lst: Added $TAO_ROOT/tests/Connection_Timeout
3828 to the daily build list.
3830 Tue Apr 30 14:42:06 2002 Chad Elliott <elliott_c@ociweb.com>
3835 Change the Null wait condition wait() method to take a const
3836 ACE_Time_Value* like the Mutex wait condtion.
3838 Mon Apr 29 20:28:49 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
3840 * bin/nightlybuild/builds.lst: Move SunOS_SunCC51, SunOS_GCC_2_95,
3841 Solaris8_FORTE_UP_1 to new scoreboard.
3843 Sun Apr 28 18:03:50 2002 Balachandran Natarajan <bala@cs.wustl.edu>
3845 * bin/auto_run_tests.lst: Added the new tests to our daily list of
3846 tests that needs to be run.
3848 Sun Apr 28 11:50:17 2002 Edan Ayal <edanayal@yahoo.com>
3850 * ace/WIN32_Asynch_IO.cpp:
3851 ACE_WIN32_Asynch_Read/Write_Stream/File_Result::complete -
3852 corrected the updates to the chained message blocks (rd_ptr and
3853 wr_ptr) in case of scatter-gather IO. This was apparently a
3856 Sun Apr 28 08:19:37 2002 Balachandran Natarajan <bala@cs.wustl.edu>
3858 * tests/Proactor_Test.cpp: Added code to test async scatter-gather
3859 IO on Win32. Thanks Edan Ayal <edanayal@yahoo.com> for donating
3862 Sun Apr 28 12:27:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
3864 * include/makeinclude/ace_flags.bor:
3865 Added cflags and lib for new TAO IFRService library
3867 Sat Apr 27 20:00:27 2002 Nanbor Wang <nanbor@cs.wustl.edu>
3870 * ace/ace_lib.dsp: Exclude template files Atomic_Op.cpp and
3871 Framework_Component_T.cpp from compilation.
3873 Sat Apr 27 18:10:37 2002 Balachandran Natarajan <bala@guajira.cs.wustl.edu>
3875 * ace/Message_Queue_T.cpp (flush): Fixed fuzz error.
3877 Sat Apr 27 17:13:16 2002 Balachandran Natarajan <bala@cs.wustl.edu>
3879 * ace/Svc_Handler.cpp: Added a closing '}' for the method
3880 ACE_Buffered_Svc_Handler::dump () const. This should fix the
3881 compile errors with g++ that will start showing up shortly in
3884 * ace/*makefile: Updated dependencies.
3886 Sat Apr 27 11:16:03 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
3888 Thanks to Boris Temkin <borist@allcharge.com> for motivating the
3891 * ace/Svc_Handler.cpp: Updated the flush_i() method to call the
3892 message queue's flush_i() method to avoid deadlocks on platforms
3893 that lack recursive mutexes.
3895 * ace/Message_Queue_T.{h,cpp}: Added the flush() and flush_i()
3896 methods to the ACE_Message_Queue in order to remove messages
3897 without deactivating the queue. Also refactored the close()
3898 method to use flush_i().
3900 Sat Apr 27 09:26:43 2002 Edan Ayal <edanayal@yahoo.com>
3902 Added support (currently under win32 only) for asynchronous
3903 scattered read and asynchronous gathered write with socket streams
3906 * ace/Asynch_IO.{h cpp}: Added methods 'readv' to
3907 ACE_Asynch_Read_Stream/File, and 'writev' to
3908 ACE_Asynch_Write_Stream/File, for win32 only. The methods just
3909 delegate to the implementation.
3911 * ace/Asynch_IO_Impl.h: Added pure virtual methods
3912 'readv' to ACE_Asynch_Read_Stream/File_Impl, and 'writev' to
3913 ACE_Asynch_Write_Stream/File_Impl, for win32 only.
3915 * ace/WIN32_Asynch_IO.{h cpp}: Implemented the 'readv'
3916 for ACE_WIN32_Asynch_Read_Stream/File and 'writev' for
3917 ACE_WIN32_Asynch_Write_Stream/File. Modified the 'complete'
3918 method and the ctor of ACE_WIN32_Asynch_Read_Stream/File_Result
3919 and ACE_WIN32_Asynch_Write_Stream/File_Result.
3921 Sat Apr 27 16:07:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
3923 * examples/Reactor/Proactor/test_udp_proactor.cpp:
3924 Fixed BCB warning about hides virtual function by renaming open
3928 Minor comment update
3930 Sat Apr 27 08:59:56 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
3932 * ace/Process.i: If getpid() is ACE_INVALID_HANDLE, don't call
3933 ACE::terminate_process() or ACE_OS::kill() since
3934 ACE_INVALID_HANDLE is -1 on UNIX, which causes all sorts of
3935 problems due to the fact that -1 terminates the whole session
3936 group! Thanks to Olivier Brunet <o.brunet@free.fr> for
3939 Sat Apr 27 15:28:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
3941 * examples/Reactor/Proactor/test_proactor.cpp:
3942 * examples/Reactor/WFMO_Reactor/Talker.cpp:
3943 Fixed MSVC6 compile errors
3945 Fri Apr 26 17:00:23 2002 Dante J. Cannarozzi <djc2@cs.wustl.edu>
3947 * ace/Containers_T.h
3948 * ace/Unbounded_Set.h
3949 * ace/Hash_Map_Manager.h
3952 * ace/Unbounded_Queue.h
3953 : with the help of Matt Hampton <mph2@cs.wustl.edu> updated
3954 doxygen to contain a consistent html list that summarizes the
3955 each container (like internal structure, duplicates allowed, etc.)
3956 at the request of Steve Huston.
3958 Fri Apr 26 16:36:52 2002 Steve Huston <shuston@riverace.com>
3960 * netsvcs/lib/Server_Logging_Handler_T.cpp: Added #include
3961 "ace/Log_Record.h" to pick up ACE_Log_Record declaration.
3962 Fixes compile error on HP-UX.
3964 Fri Apr 26 15:10:21 2002 Steve Huston <shuston@riverace.com>
3967 * ace/Sock_Connect.cpp: Moved ACE_Auto_Array_Ptr<> and
3968 ACE_Auto_Basic_Array_Ptr<> instantiations from ACE.cpp to
3969 Sock_Connect where they are now used. Also added MACOSX to the
3970 platforms that get them instantiated.
3971 Added include of OS.h in Sock_Connect.cpp to pick up the ifreq
3974 * ace.icc: Added Time_Value, Copy_Disabled, Argv_Type_Converter,
3975 Dev_Poll_Reactor, POSIX_CB_Proactor, WIN32_Proactor,
3976 WIN32_Asynch_IO, Obstack, Vector_T.
3977 Added the new group TIMER_FILES (and TIMER_INCLUDES) to parallel
3978 the TIMER_FILES in ace/Makefile.
3980 Fri Apr 26 14:05:49 2002 Chad Elliott <elliott_c@ociweb.com>
3984 Modify the ACE_OS::fflush() method to not call the system
3985 implementation on VxWorks if the FILE* is 0. This causes
3986 problems for the OS. Thanks to Michael Kirher
3987 <Michael.Kircher@mchp.siemens.de> for reporting and providing
3991 * ace/Svc_Conf_l.cpp:
3993 Use ACE_OS::fflush() instead of fflush().
3995 Fri Apr 26 13:22:18 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
3997 * ace/Svc_Handler.{h,cpp}: Applied the Thread-safe Interface pattern
3998 by factoring out the flush logic into a flush_i() method (that
3999 doesn't hold a lock) and call this method from the put() and
4000 flush() methods (that do hold locks). Thanks to Boris Temkin
4001 <borist@allcharge.com> for reporting this problem.
4003 Fri Apr 26 14:45:28 2002 Steve Huston <shuston@riverace.com>
4005 * tests/Proactor_Test.cpp: Replace CALLBACK with CB. Apparantly,
4006 CALLBACK is a macro with MSVC.
4008 Fri Apr 26 14:39:37 2002 Steve Huston <shuston@riverace.com>
4010 * tests/Proactor_Test.cpp: Use default proactor type for platform
4011 if no specific proactor type for platform is chosen.
4013 Fri Apr 26 11:39:22 2002 Steve Huston <shuston@riverace.com>
4015 * examples/C++NPv2/examples.dsw:
4016 * examples/C++NPv2/display_logfile.dsp:
4017 * examples/C++NPv2/Reactor_Logging_Server.dsp:
4018 * examples/C++NPv2/Select_Reactor_Logging_Server.dsp:
4019 * examples/C++NPv2/TP_Reactor_Logging_Server.dsp:
4020 * examples/C++NPv2/WFMO_Reactor_Logging_Server.dsp:
4021 New project/workspace for the examples here so far.
4023 * examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp: Make dtor
4024 public - this object is created on the stack.
4025 Added constructor that accepts a ACE_Reactor * and passes it up
4026 the inheritance chain.
4028 * examples/C++NPv2/Select_Reactor_Logging_Server.cpp:
4029 * examples/C++NPv2/TP_Reactor_Logging_Server.cpp: Add preprocessor
4030 check to be sure that the correct C++ library is enabled on Windows.
4031 Qualify "getline" call with "std::".
4033 Fri Apr 26 07:42:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4035 * tests/IOStream_Test.cpp:
4036 Corrected the debug output string of server received so that
4037 the formatting is the same as client received. Thanks to
4038 Soeren Gerlach for reporting this.
4040 * examples/Reactor/WFMO_Reactor/Talker.cpp:
4041 * examples/Reactor/Proactor/test_proactor.cpp:
4042 * examples/Reactor/Proactor/test_proactor2.cpp:
4043 Fixed BCB compile warnings
4045 Thu Apr 25 17:34:31 2002 Steve Huston <shuston@riverace.com>
4047 * bin/auto_compile: When doing 'realclean', do them in reverse
4048 order of the builds, else ace/ACE_COMPONENTS.list gets wiped
4049 out first, preventing things that examine the components list
4050 (like netsvcs) from getting cleaned.
4052 Thu Apr 25 16:20:33 2002 Steve Huston <shuston@riverace.com>
4054 * examples/C++NPv2/TP_Reactor_Logging_Server.{cpp mak}:
4055 * examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp:
4056 New source and makefiles for C++NPv2 chapter 4 examples.
4058 * examples/C++NPv2/Makefile: Added TP_Reactor_Logging_Server.
4060 Thu Apr 25 15:46:39 2002 Steve Huston <shuston@riverace.com>
4062 POSIX asynch I/O improvements/corrections submitted by Alex
4063 Libman <alibman@ihug.com.au>:
4065 * ace/POSIX_CB_Proactor.{h i cpp}: New POSIX Proactor implementation
4066 that makes use of the AIO facility's callback feature. This has
4067 only been tested on SGI Irix.
4069 * ace/Makefile: Added POSIX_CB_Proactor.
4071 * ace/POSIX_Proactor.{h cpp}: Refactored some code and added better
4072 cancellation/cleanup handling. Added hooks for the new
4073 ACE_POSIX_CB_Proactor class and refactored methods
4074 close(), get_result_status(), create_result_aiocb_list(), and
4075 delete_result_aiocb_list().
4077 * ace/SUN_Proactor.{h cpp}: Add the new get_result_status() method
4078 and refactored the old results code into the new method. Also,
4079 make good use of the new aiocb create/delete methods. Improvements
4080 to operation status detection based on input from Sun.
4082 * tests/Proactor_Test.cpp: Add support for new ACE_POSIX_CB_Proactor.
4083 Added a log lock to be sure all messages from one transaction are
4084 logged together. Also, sets up full duplex I/O for Windows and
4085 Solaris; half duplex for all others due to general weakness in
4086 AIO subsystems. If further testing reveals that more can be set
4087 to full duplex, this can be expanded.
4089 Thu Apr 25 14:02:38 2002 Steve Huston <shuston@riverace.com>
4091 * tests/MT_Reactor_Upcall_Test.cpp: Fixed compile errors by using
4092 sizeof (type) instead of sizeof type.
4094 Thu Apr 25 06:51:58 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
4096 * ace/OS.h (ACE_FACTORY_DEFINE): Replaced an ACE_reinterpret_cast()
4097 with an ACE_static_cast() since the latter works correctly with
4098 multiple inheritance. Thanks to Chris Uzdavinis
4099 <chris@atdesk.com> for reporting this.
4101 * ace/CDR_Base.h (ACE_CDR): Improved the documentation of the
4102 consolidate() method. Thanks to Alain Decamps for helping with this.
4104 Thu Apr 25 03:34:43 2002 Irfan Pyarali <irfan@cs.wustl.edu>
4106 * tests/MT_Reactor_Upcall_Test.cpp: Changed the test such that the
4107 end of the test is indicated by a shutdown message rather than
4108 an explicit message count.
4110 Wed Apr 24 23:39:00 2002 Irfan Pyarali <irfan@cs.wustl.edu>
4112 * examples/Reactor/WFMO_Reactor: Updated file names to match
4115 Thu Apr 25 07:34:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4118 Doxygen-ized some of the comments
4120 Wed Apr 24 18:53:56 2002 Balachandran Natarajan <bala@cs.wustl.edu>
4122 * include/makeinclude/rules.local.GNU (clean.local): Reverted the
4123 change "Wed Apr 24 16:08:30 2002 Balachandran Natarajan
4124 <bala@cs.wustl.edu>" since it is bogus.
4126 Wed Apr 24 16:08:30 2002 Balachandran Natarajan <bala@cs.wustl.edu>
4128 * include/makeinclude/rules.local.GNU: Added a rule to clean up
4129 Sunws_cache properly. Should help SunCC5_1 builds.
4131 Wed Apr 24 11:07:15 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
4133 * ace/RMCast/Makefile (FILES): Removed a stray "\". Thanks to
4134 Amir Kunst <amir@fats.co.il> for reporting this. Also reordered
4135 the files so they would be in alphabetical order.
4137 Wed Apr 24 11:17:31 2002 Steve Huston <shuston@riverace.com>
4139 * PROBLEM-REPORT-FORM: Always ask for config.h and
4140 platform_macros.GNU; not just on compilation issues.
4142 Wed Apr 24 07:56:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4145 Converted a comment to javadoc style because it is very long for
4146 the brief documentation.
4150 Removed not needed includes
4152 Wed Apr 24 03:14:11 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
4154 * tests/MT_Reactor_Upcall_Test.cpp: Fix warnings on threads=0
4157 Tue Apr 23 18:45:31 2002 Steve Huston <shuston@riverace.com>
4159 * examples/C++NPv2/Logging_Event_Handler.h (get_handle): Cast
4160 away const-ness of logging_handler_ member to call it's
4161 peer() method, but use that in a const method call. Keeps
4162 the interface contract intact. This example now works.
4164 * examples/C++NPv2/display_logfile.mak: Makefile for the
4165 display_logfile example (chapter 9).
4167 * examples/C++NPv2/Select_Reactor_Logging_Server.{cpp mak}: New
4168 example for the ACE_Select_Reactor section in chapter 4.
4170 * examples/C++NPv2/Makefile: Added Select_Reactor_Logging_Server.
4172 Tue Apr 23 16:01:47 2002 Balachandran Natarajan <bala@cs.wustl.edu>
4174 * bin/auto_run_tests.lst: Prevented the Miop/McastHello test from
4175 running in SUNCC51 builds. SUNCC51 is too broken. Time to remove
4176 the build of the scoreboard.
4178 Tue Apr 23 11:31:43 2002 Ossama Othman <ossama@uci.edu>
4180 * ace/Dev_Poll_Reactor.inl (ACE_Dev_Poll_Handler_Guard):
4181 (~ACE_Dev_Poll_Handler_Guard):
4183 Added "todo" comments about suspending and resuming the event
4184 handler before and after the upcall, respectively.
4186 Tue Apr 23 11:38:40 2002 Steve Huston <shuston@riverace.com>
4188 * examples/C++NPv2/Makefile: Rearranged to build all the examples.
4190 Tue Apr 23 13:32:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4192 * examples/Reactor/Makefile.bor:
4193 Added Proactor directory
4195 * examples/Reactor/Proactor/Makefile.bor:
4196 Added this BCB makefile
4198 * examples/Reactor/Proactor/*.cpp
4199 Made all files compiling when doing a wchar build.
4201 Tue Apr 23 10:03:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4203 * examples/Reactor/Makefile.bor:
4204 Added WFMO_Reactor directory
4206 * examples/Reactor/WFMO_Reactor/Makefile.bor:
4207 Added this BCB makefile
4209 * examples/Reactor/WFMO_Reactor/*.cpp
4210 Fixed several unused argument warnings that appeared with bcb.
4211 Made all files compiling when doing a wchar build.
4213 Tue Apr 23 07:35:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4215 * ace/Base_Thread_Adapter.h:
4217 * ace/Naming_Context.h:
4219 * ace/Malloc_Base.h:
4222 * ace/Notification_Strategy.h:
4223 * ace/Object_Manager.h:
4224 * ace/OS_Thread_Adapter.h:
4225 * ace/WIN32_Asynch_IO.h:
4226 Doxygen-ized some of the comments
4229 Added ACE_ALLOCATOR_NORETURN and ACE_NEW_MALLOC_NORETURN, these
4230 macro's set errno to ENOMEM incase of an memory error but don't
4231 call return but guarantee that the pointer is 0.
4233 * ace/QoS/QoS_Manager.h:
4234 * ace/QoS/QoS_Session_Impl.h:
4235 Doxygen-ized some of the comments
4237 * ace/config-doxygen.h:
4238 Added define ACE_YY_USES_PROTOS to parse ace/Svc_Conf_l.cpp correctly
4240 * tests/MT_Reactor_Upcall_Test.cpp:
4241 Fixed unicode and single threaded build errors/warnings
4243 Mon Apr 22 20:40:41 2002 Steve Huston <shuston@riverace.com>
4245 * examples/C++NPv2/Logging_Event_Handler.{cpp h}:
4246 Moved LOGFILE_SUFFIX to open() method. Changed get_handle() to be
4247 const to match the signature inherited from ACE_Event_Handler.
4249 * examples/C++NPv2/Logging_Event_Handler_Ex.h: Moved MAX_CLIENT_TIMEOUT
4250 into class declaration as an enum.
4252 * examples/Logging_Handler.h: Added terminating ';' to inlined
4255 Mon Apr 22 18:33:20 2002 Irfan Pyarali <irfan@cs.wustl.edu>
4257 * examples/Reactor/WFMO_Reactor/run_test.pl: This file will allow
4258 us to run these tests nightly. Note that Console_Input,
4259 Network_Events, and Talker are not included since they are
4262 * bin/auto_run_tests.lst: Added new test script.
4264 * examples/Reactor/WFMO_Reactor/test_handle_close.cpp:
4265 * examples/Reactor/WFMO_Reactor/test_multithreading.cpp:
4266 * examples/Reactor/WFMO_Reactor/test_network_events.cpp:
4267 Fixed several memory management and shutdown issues.
4269 * examples/Reactor/WFMO_Reactor/WFMO_Reactor.dsw:
4270 Changed "Abondoned" to "Abandoned"
4272 * examples/Reactor/WFMO_Reactor/test_window_messages.cpp:
4273 Fixed debug message formatting.
4275 * examples/Reactor/WFMO_Reactor/test_network_events.cpp:
4276 Fixed documentation to says that ACE_DEFAULT_SERVER_PORT
4277 defaults to 10002; correct value is 20002.
4279 Mon Apr 22 17:24:39 2002 Steve Huston <shuston@riverace.com>
4281 * examples/C++NPv2/Reactor_Logging_Server.mak:
4282 * examples/C++NPv2/Logging_Acceptor.{cpp h}:
4283 * examples/C++NPv2/Logging_Acceptor_Ex.h:
4284 * examples/C++NPv2/Logging_Event_Handler.{cpp h}:
4285 * examples/C++NPv2/Logging_Event_Handler_Ex.{cpp h}:
4286 * examples/C++NPv2/Reactor_Logging_Server.{cpp h}:
4287 New files for examples in C++NPv2, chapter 3.
4289 Mon Apr 22 15:43:15 2002 Nanbor Wang <nanbor@cs.wustl.edu>
4291 * examples/DLL/Today.h:
4292 * examples/DLL/Today.cpp:
4293 * examples/DLL/Newsweek.h:
4294 * examples/DLL/Newsweek.cpp: Added overloaded new/delete opertors
4295 and updated magazine messages.
4297 Mon Apr 22 15:20:02 2002 Nanbor Wang <nanbor@cs.wustl.edu>
4300 * tests/DLL_Test.cpp: Removed the destroy method as it didn't help
4301 ensuring allocating/deallocating the DLL object with consistent
4302 heap. Instead, we reverted back to use auto_ptr and relied on
4303 the overloaded new/delete operators.
4305 * tests/DLL_Test_Impl.h:
4306 * tests/DLL_Test_Impl.cpp: Added the aforementioned overloaded
4307 new/delete operator implementations.
4309 Mon Apr 22 12:33:30 2002 Irfan Pyarali <irfan@cs.wustl.edu>
4311 * tests/MT_Reactor_Upcall_Test: This is a test that shows how to
4312 handle upcalls from the TP_Reactor and the WFMO_Reactor when the
4313 event loop is being run by multiple threads.
4315 The following files were updated to include the new test:
4319 - tests/Makefile.bor
4320 - tests/Reactor_Dispatch_Order_Test.dsp
4321 - tests/Reactor_Dispatch_Order_Test.icc
4323 - tests/run_test.lst
4324 - tests/run_tests.bat
4325 - tests/run_tests.psosim
4326 - tests/run_tests_remote.lst
4329 - tests/MT_Reactor_Upcall_Test_WinCE.vcp
4330 - tests/tests_WinCE.vcw
4332 Mon Apr 22 15:27:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4334 * docs/tutorials/021/page01.html
4335 Corrected incorrect link
4337 Mon Apr 22 11:20:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4339 * ace/Svc_Conf_y.cpp:
4340 Removed some strange characters from this file
4342 * ace/config-doxygen.h:
4343 Added define of __cplusplus so that the file Svc_Conf_y.cpp and
4344 Svc_Conf_l.cpp are correctly parsed. We parsed the c-code and
4345 we got the following defines which we don't want:
4347 Also there was a global variable 'int size' which cluttered other
4350 Mon Apr 22 08:55:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4352 * ace/Timer_Queue_T.h:
4353 Doxygen-ized some of the comments
4356 Added the following to all doxygen config files
4357 DISTRIBUTE_GROUP_DOC = YES
4358 When a doxygen group is used (starts with //@{ and ends with
4359 //@}) and if there is only one description for all group members than
4360 this description is used for all the members separately. If a member
4361 has its own description than that description is used.
4363 Mon Apr 22 01:34:32 2002 Nanbor Wang <nanbor@cs.wustl.edu>
4365 * ace/Task.h: Enhanced the comment for <wait> method to make it
4366 clear that it will not wait for detached thread. Thanks to
4367 Alain Decamps <Alain.Decamps@PIDPA.be> for suggesting this.
4369 Sun Apr 21 21:23:59 2002 Krishnakumar B <kitty@cs.wustl.edu>
4371 * include/makeinclude/platform_osf1_4.x_cxx.GNU (SOFLAGS):
4373 Re-enable -use_ld_input in SOFLAGS. Seems that this flag is used
4374 to identify Digital Unix in some Makefiles which resort to all
4375 kinds of hackery to get some files to link.
4377 Sun Apr 21 20:59:26 2002 Krishnakumar B <kitty@cs.wustl.edu>
4379 * include/makeinclude/platform_osf1_4.x_cxx.GNU (OCFLAGS):
4380 * include/makeinclude/platform_osf1_4.x_g++.GNU (OCFLAGS):
4382 Set the optimization to level -O3. That way we will might just
4383 get two builds in a day. This is also the recommended level in
4386 Sun Apr 21 15:02:52 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
4388 * ace/TP_Reactor_Test.cpp: Add checks for ACE_AS_THREADS.
4390 Sun Apr 21 09:42:05 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
4392 * ace/config-win32-common.h: Changed the value of ACE_IOV_MAX to
4393 be 64 rather than 1024. Thanks to Alain Decamps for motivating
4396 Sat Apr 20 19:57:55 2002 Craig Rodrigues <crodrigu@bbn.com>
4398 * ace/Asynch_Pseudo_Task.cpp (stop): Wrap ace_mon in ACE_MT() to eliminate
4399 errors on builds which are configured single-threaded.
4401 Fri Apr 19 12:05:42 2002 Ossama Othman <ossama@uci.edu>
4403 * examples/Bounded_Packet_Relay/bpr_thread.cpp:
4404 * examples/Timer_Queue/main_async.cpp:
4405 * examples/Timer_Queue/main_reactor.cpp:
4406 * examples/Timer_Queue/main_thread.cpp:
4408 The recent "ace/OS.h" inclusion reductions prevented a pragma
4409 that disables a MSVC 6 warning about an overly long debugging
4410 symbol from occurring. Explicitly disable that warning in this
4411 file to silence the warning.
4413 Fri Apr 19 11:41:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4415 * ace/Typed_SV_Message_Queue.h:
4416 * ace/Strategies_T.h:
4420 Doxygen-ized some of the comments
4422 Thu Apr 18 15:58:49 2002 Steve Huston <shuston@riverace.com>
4424 * ace/Asynch_Connector.{h cpp}: Removed static member inet_addr_any_.
4425 It doesn't work for all compilers (static in a template). Replaced
4426 default arg for ACE_Asynch_Connector::connect with
4427 ACE_INET_Addr ((u_short)0) to get the equivalent effect, i.e., let
4428 the OS pick an unused port.
4430 * ace/Asynch_Acceptor.cpp (parse_address): Use the ACE_SOCK support
4431 for dealing with addresses, else the ability to deal with both
4432 IPv4 and IPv6 is lost.
4433 Also get rid of a lot of debugging output; use ACE_TRACE instead.
4435 * tests/Proactor_Test.cpp: Fixed log file name. Corrected formatting
4438 * tests/run_test.lst: Enabled Proactor_Test and Proactor_Timer_Test
4439 everywhere except Chorus, VxWorks, LynxOS.
4441 Thu Apr 18 11:34:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4446 * ace/Caching_Strategies_T.h:
4447 * ace/Event_Handler.h:
4448 * ace/MEM_Acceptor.h:
4449 * ace/MEM_Connector.h:
4451 * ace/Memory_Pool.h:
4452 * ace/Message_Block.h:
4453 * ace/Message_Queue_T.h:
4456 * ace/Select_Reactor_Base.h:
4457 * ace/Thread_Adapter.h:
4458 * ace/Thread_Adapter.h:
4459 * ace/Thread_Manager.h:
4460 * ace/WIN32_Asynch_IO.h:
4461 * ace/WIN32_Proactor.h:
4462 Doxygen-ized some of the comments
4464 Tue Apr 18 07:39:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4466 * performance-tests/Synch-Benchmarks/Base_Test/Baseline_Test.h:
4467 * performance-tests/Synch-Benchmarks/Perf_Test/Benchmark_Performance.h:
4468 * performance-tests/Synch-Benchmarks/Perf_Test/Performance_Test_Options.h:
4469 Added include of svc_export.h.
4471 Wed Apr 17 18:41:30 2002 Steve Huston <shuston@riverace.com>
4473 * ace/Activation_Queue.h:
4474 * ace/Method_Request.h: Doxygen-ize and improve some documentation.
4476 Wed Apr 17 15:24:36 2002 Ossama Othman <ossama@uci.edu>
4478 * bin/auto_run_tests.lst:
4480 Added ORT test to the list of tests to run.
4482 Wed Apr 17 14:30:29 2002 Steve Huston <shuston@riverace.com>
4484 * examples/C++NPv2/display_logfile.cpp (Logrec_Module ctor): Change
4485 name from ACE_TCHAR * to const ACE_TCHAR *.
4487 Wed Apr 17 10:39:24 2002 Ossama Othman <ossama@uci.edu>
4489 * ace/Dev_Poll_Reactor.cpp (open):
4491 Corrected a potential resource (file descriptor) leak for the
4492 "ACE_HAS_DEV_POLL" case.
4494 Fixed a warning. Use "ACE_NEW_RETURN" instead of "ACE_NEW."
4496 Wed Apr 17 10:29:14 2002 Ossama Othman <ossama@uci.edu>
4498 * ace/Dev_Poll_Reactor.cpp (ACE_HAS_DEV_POLL):
4500 Added missing "#endif" for this configuration.
4502 Wed Apr 17 12:47:41 2002 Steve Huston <shuston@riverace.com>
4504 * ace/WIN32_Asynch_IO.cpp (set_handle, handle_close): Fixed
4505 "unused argument" warnings from C++Builder.
4507 Wed Apr 17 14:30:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4509 * ace/config-doxygen.h:
4510 Added define UNICODE to generate ACE_Registry_Name_Space
4513 * ace/Proactor_Impl.h:
4515 * ace/Reactor_Notification_Strategy.h:
4518 * ace/Service_Types.h:
4520 * ace/Token_Request_Reply.h:
4521 * ace/Typed_SV_Message.h:
4522 Doxygen-ized some of the comments
4524 Wed Apr 17 12:27:23 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4527 * etc/ace_man.doxygen:
4528 Removed ACE_COMPILE_TIMEPROBES as PREDEFINED because it should be
4529 defined in Config-doxygen.h
4531 * ace/Config-doxygen.h
4532 Added ACE_COMPILE_TIMEPROBES as define to generate timeprobe
4533 documentation. This config file is automatically included when doing
4534 a doxygen generation.
4536 * ace/Intrusive_List.h:
4538 Doxygen-ized some of the comments
4540 * ace/Message_Queue.h:
4543 Wed Apr 17 07:28:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4545 * examples/DLL/Newsweek.cpp:
4546 * examples/DLL/Today.cpp:
4547 Added include of svc_export.h.
4549 * tests/Proactor_Test.cpp:
4550 Fixed fuzz and unicode error
4552 * ace/Asynch_Acceptor.h:
4554 * ace/Message_Queue.h:
4556 * ace/Thread_Manager.h:
4557 Doxygen-ized some of the comments
4559 Tue Apr 16 23:32:49 2002 Steve Huston <shuston@riverace.com>
4562 * ace/ace_lib.dsp: Added Asynch_Connector.{h cpp} and
4563 Asynch_Pseudo_Task.{h cpp}.
4565 Tue Apr 16 16:39:07 2002 Ossama Othman <ossama@uci.edu>
4567 * ace/POSIX_Asynch_IO.cpp (set_handle, handle_close):
4569 Fixed unused argument warnings.
4571 Tue Apr 16 19:25:47 2002 Steve Huston <shuston@riverace.com>
4574 * ace/ace.icc: Added new Asynch_Connector and Asynch_Pseudo_Task files.
4576 Tue Apr 16 19:07:22 2002 Steve Huston <shuston@riverace.com>
4578 * tests/Proactor_Test.cpp: Basically replaced; new version also
4579 tests new ACE_Asynch_Connector facility.
4581 Tue Apr 16 18:42:39 2002 Steve Huston <shuston@riverace.com>
4583 New feature, ACE_Asynch_Connect, contributed by Alex Libman
4584 <alibman@ihug.com.au>. Allows asynchronous connect using the
4585 ACE Proactor framework. The new classes follow the same arrangement
4586 as the existing ACE_Asynch_Accept framework.
4588 * ace/Asynch_Connector.{h cpp}: New files
4590 * ace/Asynch_IO.{h cpp}: Added new ACE_Asynch_Connect class and
4591 its result. Added new method, ACE_Handler::handle_connect(), to
4592 handle completion of asynch connect operations.
4594 * ace/Asynch_IO_Impl.{h i cpp}: Added new classes
4595 ACE_Asynch_Connect_Impl and ACE_Asynch_Connect_Result_Impl.
4597 * ace/Asynch_Pseudo_Task.{h cpp}: Generalized task that handles
4598 asynch emulation where needed, for example, asynch accept/connect.
4599 Replaces the ACE_Asynch_Accept_Task and used for both accept/connect.
4601 * ace/POSIX_Asynch_IO.{h cpp}: Removed ACE_POSIX_Asynch_Accept_Task
4602 (subsumed by ACE_Asynch_Pseudo_Task, above) and add the
4603 ACE_POSIX_Asynch_Connect and its Result class.
4605 * ace/POSIX_Proactor.{h cpp}: Added asynch connect plumbing.
4607 * ace/Proactor.{h cpp}: Added asynch connect support methods.
4609 * ace/Proactor_Impl.h: Added create_asynch_connect[_result] methods.
4611 * ace/SUN_Proactor.cpp: Change from asynch_accept_task to
4614 * ace/WIN32_Asynch_IO.{h cpp}: Add new ACE_WIN32_Asynch_Connect and
4617 * ace/WIN32_Proactor.{h cpp}: Added new create_asynch_connect() and
4618 create_asynch_connect_result() methods.
4620 * ace/Makefile: Added Asynch_Connector, Asynch_Pseudo_Task
4622 Tue Apr 16 11:49:00 2002 Ossama Othman <ossama@uci.edu>
4624 * ace/Service_Templates.cpp:
4625 * ace/Thread_Manager.cpp:
4627 Only instantiate ACE_Auto_Basic_Ptr templates if
4628 ACE_LACKS_AUTO_PTR is defined or if ACE_HAS_STANDARD_CPP_LIBRARY
4629 is not defined. In the above cases, they are only used as
4630 base classes for ACE's implementation of the standard auto_ptr
4631 template. When using the auto_ptr implementation provided by
4632 the standard C++ library in use, the ACE_Auto_Basic_Ptr template
4633 instances aren't needed. Reduces footprint in cases where the
4634 standard C++ library implementation is used, and explicit
4635 template instantation is required.
4637 Tue Apr 16 14:38:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4640 * etc/ace_man.doxygen:
4641 Set ACE_COMPILE_TIMEPROBES as PREDEFINED so that timeprobe doxygen
4642 documentation is generated
4645 * ace/Message_Block.h:
4648 * ace/Thread_Manager.h:
4650 Doxygen-ized some of the comments
4652 Tue Apr 16 11:04:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4654 * ace/Event_Handler.h:
4656 * ace/Message_Block.h:
4657 * ace/Timer_Hash_T.h:
4658 Doxygen-ized some of the comments
4660 Mon Apr 15 22:25:28 2002 Balachandran Natarajan <bala@cs.wustl.edu>
4662 * THANKS: Added Andrew Guy to the hallf of fame.
4664 Mon Apr 15 21:43:44 2002 Krishnakumar B <kitty@cs.wustl.edu>
4666 * ace/Log_Msg.cpp (log):
4669 Added new option '@' to ACE_Log_Msg to print out pointers in
4670 hexadecimal format. This is equivalent to the "%p" option of the
4671 standard C library printf.
4673 Mon Apr 15 14:04:28 2002 Ossama Othman <ossama@uci.edu>
4675 * ace/Dev_Poll_Reactor.h:
4676 * ace/Dev_Poll_Reactor.inl:
4677 * ace/Dev_Poll_Reactor.cpp:
4679 Experimental implementation of a /dev/poll (or Linux /dev/epoll)
4680 based Reactor. Refinements will be committed to the
4681 implementation very soon.
4683 Mon Apr 15 11:29:49 2002 Ossama Othman <ossama@uci.edu>
4685 * ace/config-win32-msvc-7.h (ACE_NEEDS_FUNC_DEFINITIONS):
4687 MSVC 7 requires "hidden" functions/methods to be defined. A
4688 declaration is not enough. Fixes link-time "unresolved symbol"
4689 errors when using the ACE_UNIMPLEMENTED_FUNC macro in exported
4692 Mon Apr 15 16:20:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4694 * ace/Timer_Queue_Adapters.{h,i,cpp}:
4695 Made several additions to the ACE_Thread_Timer_Queue_Adapter
4696 - Make it possible to pass a timer queue instance to the
4697 ACE_Thread_Timer_Queue_Adapter instance using the constructor
4698 - Make it possible to get/set the timer queue based on pointers, the
4699 get method with a & is still available, but is marked as deprecated
4700 - Make the thr_id method const
4701 - When the timer queue is created by the
4702 ACE_Thread_Timer_Queue_Adapter then it is also deleted, if it is
4703 passed or set afterwards it isn't deleted by
4704 ACE_Thread_Timer_Queue_Adapter (just like in the ACE_Reactor).
4706 Mon Apr 15 10:22:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4708 * ace/Containers_T.h:
4709 Doxygen-ized some of the comments
4711 Mon Apr 15 08:49:23 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4713 * examples/Makefile.bor:
4714 * examples/Timer_Queue/Makefile.bor:
4715 * exmaples/Timer_Queue/Async_Timer_Queue_Test.bor:
4716 * examples/Timer_Queue/Reactor_Timer_Queue_Test.bor:
4717 * examples/Timer_Queue/Thread_Timer_Queue_Test.bor:
4720 * examples/Timer_Queue/main_async.cpp:
4721 * examples/Timer_Queue/main_reactor.cpp:
4722 * examples/Timer_Queue/main_thread.cpp:
4723 Made the example compiling in an unicode build
4725 Mon Apr 15 07:39:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4727 * examples/IPC_SAP/SOCK_SAP/CPP-unclient.cpp:
4728 * examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp:
4729 * examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp:
4730 Added include of OS.h to get ACE_TMAIN macro
4732 * apps/JAWS/server/HTTP_Server.h:
4733 Added include of svc_export.h.
4735 Sun Apr 14 20:33:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4739 Doxygen-ized some of the comments
4741 Sun Apr 14 19:25:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4744 Fixed small typing errors in comments
4746 Sun Apr 14 17:56:33 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4748 * ace/SOCK_Dgram_Bcast.h:
4750 * ace/SV_Message_Queue.h:
4751 Doxygen-ized some of the comments
4753 Sun Apr 14 11:59:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4757 * ace/Time_Request_Reply.h:
4759 Doxygen-ized some of the comments
4761 Sat Apr 13 19:28:40 UTC 2002 Don Hinton <dhinton@ieee.org>
4763 * ace/Basic_Types.h: Added include of pthread.h to pick
4764 up typedef of pthread_key_t.
4766 Sat Apr 13 17:16:10 UTC 2002 Don Hinton <dhinton@ieee.org>
4768 * examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.h:
4769 * examples/ASX/CCM_App/CCM_App.cpp:
4771 Added include of svc_export.h.
4773 Sat Apr 13 15:42:03 UTC 2002 Don Hinton <dhinton@ieee.org>
4775 * tests/DLL_Test.{h,cpp}:
4776 * tests/DLL_Test_Impl.{h,cpp}: Added methods to test the
4777 the malloc/free and strnew/strdelete methods below. Also
4778 removed use auto_ptr and added a destroy method to delete
4779 the object within the dll/heap it was allocated.
4781 * ace/OS_Memory.{inl,cpp}: Changed malloc(), calloc()
4782 realloc(), and free() to be non-inlined to avoid the heap
4785 * ace/ACE.{h,i,cpp}: Changed strnew() to be non-inlined and
4786 added strdelete() for the same reason.
4788 Sat Apr 13 14:33:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4790 * ace/Configuration.h:
4791 * ace/Containers_T.h:
4792 * ace/High_Res_Timer.h:
4793 * ace/Object_Manager.h:
4795 * ace/Reactor_Impl.h:
4796 * ace/Select_Reactor_T.h:
4797 * ace/WFMO_Reactor.h:
4798 Improved doxygen comments. Added @deprecated to methods that
4799 are deprecated so that in the doxygen description this is also
4802 Sat Apr 13 03:32:52 2002 Krishnakumar B <kitty@cs.wustl.edu>
4806 Moved OS.h and ACE_export.h outside the #ifdef ACE_WIN32.
4807 ACE_export.h beacuse the #else part uses it and OS.h because
4808 sig_atomic_t is used in one of the dummy class's signatures. If
4809 others have other opinions, please fix the case for the #else
4810 part also. Fixes Tru64 bustage.
4812 Fri Apr 12 19:15:39 2002 Steve Huston <shuston@riverace.com>
4814 * ace/Asynch_Acceptor.cpp (parse_address): Set the entire address
4815 (address and port) instead of just the IP address part.
4816 Thanks to Alex Libman <alibman@ihug.com.au> for this fix.
4818 Fri Apr 12 18:00:41 UTC 2002 Don Hinton <dhinton@ieee.org>
4820 * ace/Log_Msg.h: Added missing includes.
4822 * ace/Basic_Types.h: Removed erroneous ENOMEM definition.
4824 Fri Apr 12 10:02:58 2002 Priyanka Gontla <pgontla@ece.uci.edu>
4826 * ace/Based_Pointer_T.h:
4827 Included ace/Trace.h to fix the compilation errors about
4828 undeclared ACE_TRACE.
4830 Fri Apr 12 08:56:46 2002 Priyanka Gontla <pgontla@ece.uci.edu>
4832 * tests/DLL_Test_Impl.cpp:
4833 Included OS_Errno.h to fix the compilation error about
4836 Fri Apr 12 15:03:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4839 Set JAVADOC_AUTOBRIEF to YES. From now on, when there is only
4840 javadoc style comments, there first line until the first '.' is
4841 used as brief comment. In the brief class description a lof of more
4842 methods will have a description.
4845 Change the comment style for method remove_first from doxygen style
4848 Fri Apr 12 13:32:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4850 * ace/WFMO_Reactor.h:
4851 * ace/Timer_List_T.h:
4852 * ace/Timer_Heap_T.h:
4853 * ace/Timer_Hash_T.h:
4854 * ace/Timeprobe_T.h:
4855 Minor improvements doxygen comments
4857 * ace/POSIX_Asynch_IO.h:
4858 Doxygen-ized some of the comments
4860 Fri Apr 12 00:15:32 2002 Krishnakumar B <kitty@cs.wustl.edu>
4862 * include/makeinclude/platform_sunos5_sunc++.GNU:
4863 * ace/config-sunos5.5.h:
4865 Reverted to status quo. If and when things go fine, I will
4866 re-enable them. Too many things breaking currently.
4868 Thu Apr 11 20:37:53 2002 Krishnakumar B <kitty@cs.wustl.edu>
4873 Added new wrappers for ftell, fgetpos & fsetpos.
4875 * ACEXML/common/FileCharStream.cpp:
4876 * ACEXML/common/FileCharStream.h:
4878 Implemented the previously unavailable available() call.
4880 Thu Apr 11 20:06:41 2002 Steve Huston <shuston@riverace.com>
4882 * examples/C++NPv2/display_logfile.cpp: Spacing/line length
4883 changes so it fits on the book pages.
4885 Thu Apr 11 18:29:27 2002 Steve Huston <shuston@riverace.com>
4887 * examples/C++NPv2/Makefile: New Makefile to build display_logfile.
4889 * examples/C++NPv2/display_logfile.cpp: Finished and debugged on Linux.
4891 Thu Apr 11 22:07:40 UTC 2002 Don Hinton <dhinton@ieee.org>
4893 * netsvcs/lib/Client_Logging_Handler.cpp: Added missing
4894 Log_Record.h include.
4896 * tests/Svc_Handler_Test.cpp:
4897 Changed ACE_Log_Record::MAXLOGMSGLEN to ACE_MAXLOGMSGLEN.
4899 Thu Apr 11 20:04:22 UTC 2002 Don Hinton <dhinton@ieee.org>
4901 * ace/ARGV.h: Rolled back the change and readded ACE.h.
4902 Too many error down the line to fix.
4904 * ace/Sample_History.cpp: Added include of OS.h.
4906 * apps/apps/gperf/src/Options.h: Added include of OS.h.
4908 Thu Apr 11 14:37:09 2002 Nanbor Wang <nanbor@cs.wustl.edu>
4910 * ace/config-win32-common.h: Added ACE_LACKS_PARAM_H.
4912 Thu Apr 11 18:21:25 UTC 2002 Don Hinton <dhinton@ieee.org>
4914 * ace/Basic_Types.h: Added include of <sys/param.h>
4915 to pickup MAXPATHLEN if available and get rid of warning.
4917 Thu Apr 11 17:37:20 UTC 2002 Don Hinton <dhinton@ieee.org>
4919 * ace/Basic_Types.h: Added missing typedefs for pid_t and
4920 ssize-t for WIN32 builds needed for my Log_Msg changes
4923 Thu Apr 11 14:42:32 UTC 2002 Don Hinton <dhinton@ieee.org>
4925 * ace/ARGV.h: Replaced include of ACE.h with config-all.h.
4928 * ace/OS_Dirent.cpp:
4931 Added include of OS.h.
4933 * apps/gperf/src/Bool_Array.cpp: Changed ACE_OS::memset() to
4934 ACE_OS_String::memset() and added include of OS_String.h.
4936 * tests/Log_Msg_Test.cpp:
4937 * examples/Logger/Acceptor-server.cpp:
4938 * examples/Logger/simple-server/Logging_Handler.cpp:
4939 * examples/Log_Msg/test_callback.cpp:
4941 Added includes of Log_Record.h.
4943 * ace/Log_Msg.{h,cpp}:
4945 Added new method, last_error_adapter(), and changed the
4946 ACE_DEBUG, et al, macros to use new method instead of
4947 ACE_OS::last_error(). Removed includes of OS.h and
4948 Log_Record. Changed ACE_Log_Record::MAXLOGMSGLEN to
4949 ACE_MAXLOGMSGLEN. Removed ACE_OS::cleanup_tss friend.
4951 * ace/Basic_Types.h: Added definition of MAXPATHLEN and
4952 typedef of ACE_thread_t to prevent need to include OS.h
4955 * ace/Default_Constants.h:
4958 Moved definitions of ACE_MAXLOGMSGLEN, ACE_MAXTOKENNAMELEN,
4959 and ACE_MAXCLIENTIDLEN here from OS.h.
4961 Thu Apr 11 14:26:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4966 * Timer_Wheel_T.cpp:
4968 The timer queue classes schedule timers using absolute time. The
4969 describtion in the implementaton files correctly described this,
4970 but the header file comment and the argument name where describing
4971 that the queues work on delta timers, so corrected this.
4973 * Timer_Queue_Adapters.cpp:
4974 * Timer_Queue_Adapters.h:
4975 Updated the describtion that the schedule method expects an absolute
4978 Thu Apr 11 13:29:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4980 * ace/String_Base.h:
4981 Fixed some small typo in comment
4983 Thu Apr 11 08:30:11 UTC 2002 Don Hinton <dhinton@ieee.org>
4985 * ace/OS_String.inl (strnlen):
4986 Fixed compile error.
4988 Thu Apr 11 08:16:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
4990 * ace/Timer_Queue_T.cpp:
4991 Reverted my change of yesterday. Already the copy constructor is called
4994 * ace/Timer_Queue_Adapters.h:
4995 Fixed some small typos in comment
4997 * ace/Capabilities.h:
4998 Placed right comment with right method
5000 Wed Apr 10 20:00:57 2002 Ossama Othman <ossama@uci.edu>
5004 Include "ace/ACE_export.h" to pull in definition of ACE_Export
5007 Wed Apr 10 19:53:01 2002 Ossama Othman <ossama@uci.edu>
5009 * ace/Argv_Type_Converter.cpp:
5011 Include "ace/OS_Errno.h" to pull in ENOMEM definition.
5013 (align_char_with_wchar):
5015 Fixed remaining ACE_OS::strcmp() to be ACE_OS_String::strcmp().
5017 Wed Apr 10 19:37:58 2002 Ossama Othman <ossama@uci.edu>
5019 * apps/gperf/src/Bool_Array.h:
5020 * apps/gperf/src/Iterator.h:
5021 * apps/gperf/src/List_Node.h:
5023 No need to include "ace/OS.h". "ace/config-all.h" is enough.
5025 Wed Apr 10 19:25:39 2002 Ossama Othman <ossama@uci.edu>
5027 * apps/Gateway/Gateway/Config_Files.cpp (read_entry):
5029 Use "unsigned short" instead of the "u_short" typedef to avoid
5030 including "ace/OS.h".
5032 * apps/Gateway/Gateway/Gateway.h:
5033 * apps/Gateway/Gateway/Event_Channel.h:
5034 * apps/Gateway/Gateway/Options.h:
5035 * apps/Gateway/Peer/Options.h:
5036 * examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.h:
5037 * examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.h:
5038 * examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.h:
5039 * examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.h:
5040 * examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.h:
5041 * examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.h:
5042 * examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.h:
5043 * examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.h:
5044 * examples/Service_Configurator/IPC-tests/server/Handle_Timeout.h:
5045 * examples/Service_Configurator/Misc/Timer_Service.h:
5046 * netsvcs/clients/Naming/Client/Client_Test.h:
5047 * netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h:
5048 * tests/DLL_Test_Impl.cpp:
5050 Include "ace/svc_export.h" to pull in ACE_Svc_Export macro.
5052 Wed Apr 10 18:57:11 2002 Ossama Othman <ossama@uci.edu>
5054 * netsvcs/lib/Client_Logging_Handler.h:
5055 * netsvcs/lib/Name_Handler.h:
5056 * netsvcs/lib/Server_Logging_Handler.h:
5057 * netsvcs/lib/TS_Clerk_Handler.h:
5058 * netsvcs/lib/TS_Server_Handler.h:
5060 Include "ace/svc_export.h" to pull in ACE_Svc_Export macro.
5062 Wed Apr 10 19:37:12 2002 Krishnakumar B <kitty@cs.wustl.edu>
5064 * ace/config-g++-common.h:
5066 Fixed a missing #define. This should fix the Lynx PPC build.
5068 Wed Apr 10 17:23:09 2002 Ossama Othman <ossama@uci.edu>
5070 * ace/Auto_IncDec_T.h:
5072 Include "ace/Global_Macros.h" to pull ACE_UNIMPLEMENTED_FUNC
5075 Wed Apr 10 19:28:27 2002 Steve Huston <shuston@riverace.com>
5077 * examples/C++NPv2/display_logfile.cpp: First cut at the C++NPv2
5078 Streams chapter code for displaying a logfile written from any
5079 C++NPv1 or C++NPv2 logging daemon.
5081 Wed Apr 10 17:38:31 2002 Steve Huston <shuston@riverace.com>
5083 * ace/README: New config macros ACE_HAS_STRNLEN and ACE_HAS_WCSNLEN.
5085 * ace/OS_String.{h inl}: New method ACE_OS_String::strnlen finds the
5086 length of a string with a specified maximum length. Mimicks the
5087 GNU strnlen(3) and wcsnlen(3) functions.
5089 * ace/config-linux-common.h: Added ACE_HAS_STRNLEN and ACE_HAS_WCSNLEN
5090 if _GNU_SOURCE is defined, else glibc headers doesn't declare them.
5092 Wed Apr 10 11:16:57 2002 Ossama Othman <ossama@uci.edu>
5094 * ace/Addr.h (hash):
5095 * ace/Addr.i (hash):
5097 Use "unsigned long" instead of the "u_long" typedef to avoid
5098 including "ace/OS.h".
5100 Wed Apr 10 11:07:42 2002 Ossama Othman <ossama@uci.edu>
5102 * ace/Method_Request.h:
5104 Fixed remaining "u_long" to "unsigned long" change.
5106 Wed Apr 10 11:04:56 2002 Ossama Othman <ossama@uci.edu>
5110 Include "ace/Global_Macros.h" to pull in the ACE_DES_* macros
5111 that required by the inlined ACE_Array_Base destructor.
5113 Wed Apr 10 11:01:56 2002 Ossama Othman <ossama@uci.edu>
5115 * ace/Global_Macros.h:
5118 Moved ACE_DES_* macros to Global_Macros.h. This allows some
5119 sources to avoid including ace/OS.h.
5121 Wed Apr 10 10:54:58 2002 Ossama Othman <ossama@uci.edu>
5126 Moved "time" related includes from OS.h to Time_Value.h. Fixes
5127 build problems on Unix platforms.
5129 Wed Apr 10 10:40:36 2002 Ossama Othman <ossama@uci.edu>
5131 Inter-header dependency reductions:
5133 * ace/Auto_IncDec_T.h:
5135 * ace/Based_Pointer_T.h:
5137 * ace/Cached_Connect_Strategy_T.h:
5138 * ace/Cache_Map_Manager_T.h:
5139 * ace/Caching_Strategies_T.h:
5140 * ace/Caching_Utility_T.h:
5141 * ace/Capabilities.h:
5142 * ace/Cleanup_Strategies_T.h:
5143 * ace/Containers_T.h:
5144 * ace/CORBA_macros.h:
5145 * ace/Dynamic_Service.h:
5146 * ace/Env_Value_T.h:
5147 * ace/Managed_Object.h:
5149 * ace/Map_Manager.h:
5151 No need to include "ace/OS.h". "ace/config-all.h" is enough.
5153 * ace/Asynch_Acceptor.h:
5155 No need to include "ace/OS.h". "ace/Default_Constants.h" is
5159 * ace/Arg_Shifter.h:
5160 * ace/Argv_Type_Converter.h:
5161 * ace/Based_Pointer_Repository.h:
5163 * ace/Containers.cpp:
5167 No need to include "ace/OS.h". "ace/ACE_export.h" is enough.
5171 No need to include "ace/OS.h". "ace/Global_Macros.h" is
5174 * ace/Global_Macros.h:
5176 Moved ACE_GUARD macros to this file, meaning that it is no
5177 longer necessary to include "ace/OS.h" just to get those
5178 macros. This should save on pre-processing times for some
5181 Include "ace/OS_Export.h" to pull in the ACE_OS_Export macro
5184 * ace/Arg_Shifter.cpp:
5185 * ace/Argv_Type_Converter.cpp:
5187 Include "ace/OS_String.h" to pull in static string manipulation
5190 Changed all ACE_OS string method calls to ACE_OS_String.
5194 Minor include file cosmetic tweaks.
5197 * ace/Time_Value.inl:
5198 * ace/Time_Value.cpp:
5200 Moved ACE_Time_Value class and related macros/constants to these
5201 files. Files that only need the ACE_Time_Value class
5202 declaration need only include this header instead of "ace/OS.h",
5203 thus reducing pre-processing times.
5207 Moved ACE_Time_Value class and ACE_GUARD macros out of this
5213 Moved ACE_Time_Value methods out of the files into the new
5218 Use "unsigned int" instead of the "u_int" typedef to avoid
5219 including "ace/OS.h".
5223 * ace/Method_Request.h:
5224 * ace/Method_Request.cpp:
5226 No need to include "ace/OS.h". "ace/ACE_export.h" is enough.
5228 Use "unsigned long" instead of the "u_long" typedef to avoid
5229 including "ace/OS.h".
5233 No need to include "ace/OS.h" to pull in ACE_Time_Value class
5234 declaration. A forward declaration is enough.
5236 * ace/Argv_Type_Converter.inl:
5237 * ace/CE_Screen_Output.h:
5239 Cosmetic changes to improve conformance to our coding
5244 No need to include "ace/ACE_export.h" and "ace/svc_export.h".
5245 They should only be included by headers that need them.
5247 Do not include "ace/OS_Errno.h". Fixes a circular dependency.
5249 * ace/Copy_Disabled.h:
5251 * ace/Log_Msg_Backend.h:
5252 * ace/Refcountable.h:
5254 * ace/String_Base_Const.h:
5255 * ace/Thread_Adapter.h:
5257 Include "ace/ACE_export.h" to pull in definition of ACE_Export
5262 Include "ace/config.h" instead of "ace/config-all.h" to fix a
5267 No need to include "ace/config.h". It is already included
5268 indirectly by "ace/OS_Export.h".
5272 Include "ace/OS_Errno.h" to pull in errno definitions.
5276 Include "ace/ACE_export.h" to pull in ACE_Export macro
5279 Added missing "#pragma once".
5284 Added new Time_Value.* sources to these Makefiles.
5286 Wed Apr 10 13:32:15 2002 Johnny Willemsen <jwillemsen@remedy.nl>
5289 * ace/Timer_Queue_T.h:
5290 Doxygen-ized some of the comments
5292 * ace/Select_Reactor_T.cpp:
5293 Fixed typo in comment
5295 Wed Apr 10 07:44:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
5297 * ace/Timer_Queue_T.cpp:
5298 Instead of creating a ACE_Time_Value with the default constructor
5299 and immediatly filling it with the assignment operator, create the
5300 ACE_Time_Value with the copy constructor
5302 * examples/Logger/simple-server/Logging_Acceptor.cpp:
5303 * examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.h:
5304 * examples/Reactor/Misc/test_signals_2.cpp:
5305 Added missing includes of Log_Msg.h. These where caused by the
5306 compilation speedup of Don Hinton on April 5th.
5308 * ace/Name_Request_Reply.h:
5310 Tue Apr 9 22:59:20 2002 Krishnakumar B <kitty@cs.wustl.edu>
5312 * ace/config-sunos5.5.h:
5314 Added ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES to fix errors.
5316 * ace/config-sunos5.6.h:
5318 Removed definition of ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION as
5319 we turn it on on the command line.
5321 Tue Apr 9 19:48:15 2002 Krishnakumar B <kitty@cs.wustl.edu>
5323 * include/makeinclude/platform_osf1_4.x_cxx.GNU (LDFLAGS):
5325 Moved the -hidden and -non_hidden from LIBS to LDFLAGS. The
5326 linker doesn't like it seeing at the end. This fixes the
5327 problems with Tru64.
5329 Tue Apr 9 12:43:04 2002 Balachandran Natarajan <bala@cs.wustl.edu>
5331 * bin/auto_run_tests.lst: Added POA_BiDir to the list of tests to
5332 be run and prevented MT_BiDir from running in minimum_corba
5335 Tue Apr 9 11:46:52 2002 Steve Huston <shuston@riverace.com>
5337 * ace/Message_Block.h: Doxygen tweaks to block type enum.
5339 Tue Apr 9 11:20:19 2002 Steve Huston <shuston@riverace.com>
5341 * netsvcs/Server_Logging_Handler_T.cpp (handle_logging_record):
5342 Moved variable 'count' inside the #if 0 block so it's not flagged
5345 Tue Apr 9 15:02:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
5347 * ace/Containers_T.h:
5348 Fixed two small typos
5350 * ace/Thread_Manager.h:
5351 Doxygen-ized some of the comments
5353 Tue Apr 9 03:04:19 2002 Krishnakumar B <kitty@cs.wustl.edu>
5355 * include/makeinclude/rules.lib.GNU (VLIB):
5357 Ensure that templates in the repository get added to the static
5358 library during creation. This build now uses a new variable
5359 called TMPINCDIR which points to the template repository from
5360 which the templates should be pulled in.
5362 * include/makeinclude/platform_osf1_4.x_cxx.GNU:
5364 Added support for different template instantiations.
5366 * include/makeinclude/platform_tru64_cxx.GNU:
5368 Removed some repeated flags from the command line.
5370 * ace/config-cxx-common.h:
5372 Added ACE_TEMPLATES_REQUIRE_SOURCE to pull in the template
5373 definitions to ensure proper template instantiation.
5375 Tue Apr 9 00:52:42 2002 Krishnakumar B <kitty@cs.wustl.edu>
5377 * ace/config-sunos5.5.h (ACE_TEMPLATES_REQUIRE_SOURCE):
5379 Moved this from within a guard to enable it unconditionally.
5381 * ace/Obstack_T.cpp:
5383 Added guards to make it consistent with other usage of _T.cpp
5386 * tests/test_config.h:
5388 Reverted the change Sun Apr 7 18:04:56 2002 Krishnakumar B
5389 <kitty@cs.wustl.edu>. The original code was right.
5391 * include/makeinclude/platform_g++_common.GNU:
5393 Cosmetic fixes. Explicitly check for egcs. It dumps out version
5394 information in a non-standard format confusing the make
5395 conditionals. Should fix the RedHat Static build.
5397 * include/makeinclude/platform_sunos5_sunc++.GNU:
5399 Cosmetic fixes to fix build bustage.
5401 Tue Apr 9 00:05:37 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
5403 * ace/Logging_Strategy.h (ACE_Logging_Strategy): Changed "private" to
5404 "protected" so subclasses can access the implementation. Thanks
5405 to Martin Krumpolec <krumpolec@asset.sk> for reporting this. This
5408 Mon Apr 8 13:18:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
5410 * ace/Activation_Queue.h:
5411 Corrected location of doxygen comments so that the right comment
5412 is placed below the right method
5414 Sun Apr 7 18:04:56 2002 Krishnakumar B <kitty@cs.wustl.edu>
5416 * tests/test_config.h (randomize):
5418 Wrapped the initialization of singleton_ within a
5419 ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES guard. This should fix
5420 the problems on FreeBSD and under RedHat static. Thanks to Craig
5421 Rodrigues <crodrigu@bbn.com> for reporting this.
5423 Sun Apr 7 06:02:26 2002 Krishnakumar B <kitty@cs.wustl.edu>
5425 * include/makeinclude/platform_lynxos.GNU:
5426 * include/makeinclude/platform_macosx.GNU:
5428 Didn't know that these platforms used g++. Fixing them.
5430 Sun Apr 7 05:27:35 2002 Krishnakumar B <kitty@cs.wustl.edu>
5432 * include/makeinclude/platform_g++_common.GNU:
5434 Fixed a comment from the previous checkin.
5436 * include/makeinclude/platform_sunos5_sunc++.GNU:
5437 * include/makeinclude/platform_sunos5_ghs.GNU:
5438 * include/makeinclude/platform_sunos5_kcc.GNU:
5440 Changed these files to the new template instantiation mechanism.
5442 * tests/test_config.h:
5444 Added missing definition for the template member.
5446 Sun Apr 7 04:22:19 2002 Krishnakumar B <kitty@cs.wustl.edu>
5448 * include/makeinclude/wrapper_macros.GNU(templates):
5450 Added option templates which can be used to specify the
5451 instantiation policy desired. Allowed values are explicit,
5452 automatic and used. Added flag TEMPLATE_FLAGS which should be
5453 set to the proper value in each of the platform config files.
5455 * include/makeinclude/platform_g++_common.GNU:
5457 New file which holds the parsing and setting logic for GNU C++.
5459 * include/makeinclude/platform_aix4_g++.GNU(templates):
5460 * include/makeinclude/platform_aix_g++.GNU:
5461 * include/makeinclude/platform_chorus4.x_g++.GNU:
5462 * include/makeinclude/platform_freebsd.GNU:
5463 * include/makeinclude/platform_gnuwin32_common.GNU:
5464 * include/makeinclude/platform_hpux_gcc.GNU:
5465 * include/makeinclude/platform_irix5.3_g++.GNU:
5466 * include/makeinclude/platform_irix6.x_g++.GNU:
5467 * include/makeinclude/platform_linux.GNU:
5468 * include/makeinclude/platform_osf1_4.x_g++.GNU:
5469 * include/makeinclude/platform_psosim_g++.GNU:
5470 * include/makeinclude/platform_rtems.x_g++.GNU:
5471 * include/makeinclude/platform_sco5.0.0-mit-pthread.GNU:
5472 * include/makeinclude/platform_sco5.0.0-nothread.GNU:
5473 * include/makeinclude/platform_sunos4_g++.GNU:
5474 * include/makeinclude/platform_sunos5_g++.GNU:
5475 * include/makeinclude/platform_unixware_g++.GNU:
5477 For all of the platforms above, when using g++ versions 2.95.x,
5478 2.96, 3.0.x or 3.x or later, the instantiation policy is set to
5481 * include/makeinclude/platform_vxworks5.x_g++.GNU:
5483 Only exception to the above. The kind of parsing that is done in
5484 this file scares me. So I explicitly set it to "explicit".
5486 Thanks to Alex Libman <AlexL@rumblegroup.com> for motivating
5489 If people with any of the above platforms can test if this works
5490 for them, it would be great. If suddenly your files don't link,
5491 just set templates="explicit" in platform_macros.GNU and all
5492 will be fine. This one was easy :-) Next round of changes is for
5493 the above platforms with different compilers.
5495 Sun Apr 7 04:02:23 2002 Krishnakumar B <kitty@cs.wustl.edu>
5497 * ace/config-g++-common.h (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES):
5499 Moved common definitions for egcs into a single block. Wrapped
5500 ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES inside appropriate
5505 Added a negation before check for
5506 ACE_HAS_GNUC_BROKEN_TEMPLATE_INLINE_FUNCTIONS.
5508 * ace/config-sunos5.5.h:
5510 Enabled ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION and
5511 ACE_TEMPLATES_REQUIRE_SOURCE only if Sun CC version <= 5.0.
5513 Sun Apr 07 10:25:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
5515 * examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp:
5516 * examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp:
5517 * examples/IPC_SAP/SOCK_SAP/CPP-unclient.cpp:
5518 Added include of Log_Msg.h to fix build errors in BCB
5520 Fri Apr 05 21:17:44 2002 Balachandran Natarajan <bala@cs.wustl.edu>
5522 * ace/CDR_Stream.cpp: Initialized a null wstring properly.
5524 * tests/CDR_Test.cpp (test_get): Added a test case for a
5525 marshalling and unmarshalling a zero length wstring.
5527 The above changes fix [Bug 1169]. Thanks to Duane Binder
5528 <duane.binder@veritas.com> for suggesting these fixes.
5530 Fri Apr 5 19:20:39 2002 Steve Huston <shuston@riverace.com>
5532 * ace/Proactor.h: Add #include "ace/OS.h" in the "non-AIO" section
5533 to get the ACE_Time_Value class needed for the stubbed-out class.
5535 * ace/config-aix-4.x.h: Add some commentary about ACE_HAS_AIO_CALLS.
5537 * ace/Service_Manager.cpp: Added #include "ace/Log_Msg.h" to fix a
5538 compile problem on AIX.
5540 Fri Apr 5 11:30:00 2002 Justin Michel <michel_j@ociweb.com>
5543 * ace/config-win32-common.h:
5545 SO_REUSEADDR fix brought over from 1.2a
5546 FD_SETSIZE fix brought over from 1.2a
5547 Thanks to Juergen Pfreundt <Juergen.Pfreundt@gft.com> for
5550 Fri Apr 5 07:45:54 2002 Balachandran Natarajan <bala@cs.wustl.edu>
5552 * ace/Local_Tokens.cpp: Fixed a compile error.
5554 Fri Apr 5 12:51:11 UTC 2002 Don Hinton <dhinton@ieee.org>
5556 * ace/ACE.i (strnew): Added null pointer check to
5557 the wchar_t version so its behavior matches the char
5560 Fri Apr 5 11:40:00 UTC 2002 Don Hinton <dhinton@ieee.org>
5562 * ace/ATM_Acceptor.h
5565 * ace/ATM_Connector.cpp
5566 * ace/ATM_Connector.h
5570 * ace/Asynch_Acceptor.h
5572 * ace/Asynch_IO_Impl.cpp
5573 * ace/Asynch_IO_Impl.h
5574 * ace/CE_Screen_Output.cpp
5575 * ace/CE_Screen_Output.h
5581 * ace/LSOCK_Acceptor.cpp
5582 * ace/LSOCK_Acceptor.h
5583 * ace/LSOCK_CODgram.cpp
5584 * ace/LSOCK_CODgram.h
5585 * ace/LSOCK_Connector.cpp
5586 * ace/LSOCK_Connector.h
5587 * ace/LSOCK_Dgram.cpp
5589 * ace/LSOCK_Stream.cpp
5590 * ace/LSOCK_Stream.h
5591 * ace/Local_Tokens.cpp
5593 * ace/Msg_WFMO_Reactor.h
5594 * ace/POSIX_Asynch_IO.h
5595 * ace/POSIX_Proactor.h
5598 * ace/Proactor_Impl.h
5601 * ace/SUN_Proactor.h
5606 * ace/WFMO_Reactor.cpp
5607 * ace/WFMO_Reactor.h
5608 * ace/WIN32_Asynch_IO.h
5609 * ace/WIN32_Proactor.h
5610 * ace/XTI_ATM_Mcast.h
5613 Moved all includes inside the platform- or feature-specific
5614 macro guards and added config-all.h to the headers in order
5615 to speed up compiles when the guard isn't defined.
5617 Fri Apr 5 08:51:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
5619 * apps/Gateway/Peer/Peer.h:
5620 Added missing explicit template instantion exports for msvc7.
5621 Thanks to Tom Phan <tomp@telhub.com> for reporting this
5623 Thu Apr 4 21:01:11 2002 Carlos O'Ryan <coryan@atdesk.com>
5625 * ace/SOCK_Dgram.cpp:
5626 I accidentally left out some code in my last change, without it
5627 platforms that lack IPV6 support will probably break. Whoopsie.
5629 Thu Apr 4 20:39:51 2002 Carlos O'Ryan <coryan@atdesk.com>
5632 Remove bogus path(s) to find gcc, they were site-specific,
5633 host-specific and version-specific, and then outdated at
5634 that. The developer better has a decent version of gcc in her
5635 PATH already, or the 'make depend' commands simply won't work.
5637 Thu Apr 4 13:17:52 2002 Balachandran Natarajan <bala@cs.wustl.edu>
5639 * bin/auto_run_tests.lst: Added a new test to the list of tests
5640 that need to be run.
5642 Thu Apr 4 11:52:45 2002 Carlos O'Ryan <coryan@atdesk.com>
5644 * ace/SOCK_Dgram.cpp:
5645 Add support for anonymous PF_LOCAL/SOCK_DGRAM (aka
5646 PF_UNIX/SOCK_DGRAM) sockets. As the class stood before these
5647 changes it was impossible to create such sockets, forcing people
5648 to choose a binding address even for sockets that are used only
5649 to send messages. For PF_INET this is not a big deal, because
5650 the OS (or ACE::bind_port) can choose a port for the
5651 application. But there is no such luck for PF_LOCAL sockets,
5652 where the application has to choose a filename for the socket,
5653 functions like ACE_OS::tempnam() or ACE_OS::mktemp() are more
5654 trouble than they are worth, as they open a security can of
5656 This fixes bug 1179.
5658 Thu Apr 4 10:30:54 2002 Balachandran Natarajan <bala@cs.wustl.edu>
5660 * ace/RMCast/Makefile:
5662 * ace/Makefile: Updated dependency. Other directories need this
5663 too. Will get to them before the beta.
5665 Thu Apr 4 11:05:48 2002 Carlos O'Ryan <coryan@uci.edu>
5667 * ace/Select_Reactor_Base.cpp:
5668 Apply proposed patch for bug 1175, i.e. a possible deadlock
5669 condition when ACE_HAS_REACTOR_NOTIFICATION_QUEUE is defined.
5671 Thu Apr 4 08:32:26 UTC 2002 Don Hinton <dhinton@ieee.org>
5673 * ace/CDR_Stream.cpp (ctor):
5674 Modified default ctor to always add ACE_CDR::MAX_ALIGNMENT to
5675 the size parameter since it is always required since the
5676 subsequent call to ACE_CDR::mb_align() might advance the
5677 (rd|wr)_ptr's up to ACE_CDR::MAX_ALIGNMENT-1 bytes.
5679 Wed Apr 3 18:01:33 2002 Steve Huston <shuston@riverace.com>
5681 * ace/SOCK_Dgram.cpp (shared_open): Add PF_INET6 to the test for
5682 need to bind an unused port if ACE_HAS_IPV6 is defined.
5684 Wed Apr 3 11:04:37 2002 Steve Huston <shuston@riverace.com>
5686 * ace/Handle_Ops.{h, cpp} (handle_timed_open):
5687 * ace/SPIPE_Connector.{h cpp} (ctor, connect): Added optional
5688 LPSECURITY_ATTRIBTUES arg, defaults to 0. Allows Windows users
5689 to set security for the new file/pipe open.
5691 * ace/SPIPE_Acceptor.{h cpp} (ctor, open): Added optional
5692 LPSECURITY_ATTRIBUTES arg, defaults to 0, same as above.
5693 Also added a LPSECURITY_ATTRIBUTES member for NT4 and up.
5694 The LPSECURITY_ATTRIBUTES passed in is remembered across
5695 named pipe instances, and is used to create each new instance.
5696 Doxygen-ized the comments.
5698 Wed Apr 3 10:15:00 2002 Si Mong Park <spark@ociweb.com>
5700 * tests/Atomic_Op_Test_WinCE.vcp:
5701 * tests/Auto_IncDec_Test_WinCE.vcp:
5702 * tests/Barrier_Test_WinCE.vcp:
5703 * tests/Basic_Types_Test_WinCE.vcp:
5704 * tests/Bound_Ptr_Test_WinCE.vcp:
5705 * tests/Buffer_Stream_Test_WinCE.vcp:
5706 * tests/Cached_Accept_Conn_Test_WinCE.vcp:
5707 * tests/Cached_Conn_Test_WinCE.vcp:
5708 * tests/Cache_Map_Manager_Test_WinCE.vcp:
5709 * tests/Capabilities_Test_WinCE.vcp:
5710 * tests/CDR_Array_Test_WinCE.vcp:
5711 * tests/CDR_File_Test_WinCE.vcp:
5712 * tests/CDR_Test_WinCE.vcp:
5713 * tests/Collection_Test_WinCE.vcp:
5714 * tests/Conn_Test_WinCE.vcp:
5715 * tests/DLList_Test_WinCE.vcp:
5716 * tests/DLL_Test_WinCE.vcp:
5717 * tests/Dynamic_Priority_Test_WinCE.vcp:
5718 * tests/Enum_Interfaces_Test_WinCE.vcp:
5719 * tests/Future_Set_Test_WinCE.vcp:
5720 * tests/Future_Test_WinCE.vcp:
5721 * tests/Handle_Set_Test_WinCE.vcp:
5722 * tests/Hash_Map_Bucket_Iterator_Test_WinCE.vcp:
5723 * tests/Hash_Map_Manager_Test_WinCE.vcp:
5724 * tests/High_Res_Timer_Test_WinCE.vcp:
5725 * tests/Lazy_Map_Manager_Test_WinCE.vcp:
5726 * tests/Logging_Strategy_Test_WinCE.vcp:
5727 * tests/Log_Msg_Test_WinCE.vcp:
5728 * tests/Malloc_Test_WinCE.vcp:
5729 * tests/Map_Manager_Test_WinCE.vcp:
5730 * tests/Map_Test_WinCE.vcp:
5731 * tests/Max_Default_Port_Test_WinCE.vcp:
5732 * tests/Mem_Map_Test_WinCE.vcp:
5733 * tests/MEM_Stream_Test_WinCE.vcp:
5734 * tests/Message_Block_Test_WinCE.vcp:
5735 * tests/Message_Queue_Notifications_Test_WinCE.vcp:
5736 * tests/Message_Queue_Test_Ex_WinCE.vcp:
5737 * tests/Message_Queue_Test_WinCE.vcp:
5738 * tests/MM_Shared_Memory_Test_WinCE.vcp:
5739 * tests/MT_Reactor_Timer_Test_WinCE.vcp:
5740 * tests/MT_SOCK_Test_WinCE.vcp:
5741 * tests/Naming_Test_WinCE.vcp:
5742 * tests/New_Fail_Test_WinCE.vcp:
5743 * tests/Notify_Performance_Test_WinCE.vcp:
5744 * tests/Object_Manager_Test_WinCE.vcp:
5745 * tests/OrdMultiSet_Test_WinCE.vcp:
5746 * tests/OS_Test_WinCE.vcp:
5747 * tests/Priority_Buffer_Test_WinCE.vcp:
5748 * tests/Priority_Reactor_Test_WinCE.vcp:
5749 * tests/Priority_Task_Test_WinCE.vcp:
5750 * tests/Process_Manager_Test_WinCE.vcp:
5751 * tests/RB_Tree_Test_WinCE.vcp:
5752 * tests/Reactors_Test_WinCE.vcp:
5753 * tests/Reactor_Exceptions_Test_WinCE.vcp:
5754 * tests/Reactor_Notify_Test_WinCE.vcp:
5755 * tests/Reactor_Performance_Test_WinCE.vcp:
5756 * tests/Reactor_Timer_Test_WinCE.vcp:
5757 * tests/Reader_Writer_Test_WinCE.vcp:
5758 * tests/Recursive_Mutex_Test_WinCE.vcp:
5759 * tests/Refcounted_Auto_Ptr_Test_WinCE.vcp:
5760 * tests/Reverse_Lock_Test_WinCE.vcp:
5761 * tests/Semaphore_Test_WinCE.vcp:
5762 * tests/Service_Config_Test_WinCE.vcp:
5763 * tests/Sigset_Ops_Test_WinCE.vcp:
5764 * tests/Simple_Message_Block_Test_WinCE.vcp:
5765 * tests/SOCK_Connector_Test_WinCE.vcp:
5766 * tests/SOCK_Send_Recv_Test_WinCE.vcp:
5767 * tests/SOCK_Test_WinCE.vcp:
5768 * tests/SPIPE_Test_WinCE.vcp:
5769 * tests/SString_Test_WinCE.vcp:
5770 * tests/Svc_Handler_Test_WinCE.vcp:
5771 * tests/Task_Test_WinCE.vcp:
5772 * tests/Thread_Manager_Test_WinCE.vcp:
5773 * tests/Thread_Mutex_Test_WinCE.vcp:
5774 * tests/Thread_Pool_Reactor_Resume_Test_WinCE.vcp:
5775 * tests/Thread_Pool_Reactor_Test_WinCE.vcp:
5776 * tests/Thread_Pool_Test_WinCE.vcp:
5777 * tests/Timeprobe_Test_WinCE.vcp:
5778 * tests/Timer_Queue_Test_WinCE.vcp:
5779 * tests/Time_Service_Test_WinCE.vcp:
5780 * tests/Time_Value_Test_WinCE.vcp:
5781 * tests/Tokens_Test_WinCE.vcp:
5782 * tests/TSS_Test_WinCE.vcp:
5783 * tests/Upgradable_RW_Test_WinCE.vcp:
5784 Added aygshell.lib to the link option.
5786 Wed Apr 3 00:03:05 2002 Krishnakumar B <kitty@cs.wustl.edu>
5788 * include/makeinclude/platform_sunos5_g++.GNU (exceptions):
5789 * include/makeinclude/platform_qnx_neutrino.GNU:
5790 * include/makeinclude/platform_qnx_rtp_gcc.GNU:
5792 Removed redefinitions of ACE_HAS_GNUG_PRE_2_8 as they were
5793 unnecessary. Some more files also seem to be abusing this flag.
5794 But I don't have access to those exotic platforms.
5796 Tue Apr 2 19:36:31 2002 Steve Huston <shuston@riverace.com>
5798 * ace/OS_String.inl (strtok_r): Another variant of wcstok()...
5799 Linux/glibc uses the 3-arg version of wcstok(), and says it's
5800 from UNIX98 and ISO/ANSI C.
5802 Tue Apr 2 16:21:39 2002 Steve Huston <shuston@riverace.com>
5804 * ace/Get_Opt.h: Doxygen-ized the comments.
5806 Tue Apr 02 15:12:10 2002 Nanbor Wang <nanbor@cs.wustl.edu>
5808 * bin/nightlybuilds/builds.lst: Removed KCC builds from the list.
5810 Tue Apr 2 14:02:06 2002 Chris Cleeland <cleeland_c@ociweb.com>
5812 * ace/SSL/SSL_Context.cpp (dh_params): Changed this to use the
5813 OpenSSL 'BIO' abstraction for file i/o rather than file pointers.
5814 Using file pointers caused problems on Win32 platforms, and BIOs
5815 don't. So, despite the fact that it's ugly and pollutes ACE code
5816 with an OpenSSL abstraction, at least it works. We'll have to
5817 figure out a more palatable way of dealing with this eventually.
5819 Tue Apr 2 12:53:00 2002 Si Mong Park <spark@ociweb.com>
5821 * ace/Argv_Type_Converter.cpp:
5822 Fixed possible memory leak in the Dtor with incorrect counter of
5823 argv. Thanks to Don Hinton for finding this bug.
5825 Mon Apr 1 18:27:46 2002 Steve Huston <shuston@riverace.com>
5827 * ace/OS_String.inl (strtok_r): Corrected decision to call
5828 wcstok() or wcstok_r(). This fixes builds on HP-UX 11.
5829 Mon Apr 1 16:35:29 2002 Steve Huston <shuston@riverace.com>
5831 * ace/Containers_T.h (ACE_Array): Added performance characteristics
5832 and requirements table.
5834 Mon Apr 1 11:56:55 2002 Steve Totten <totten_s@ociweb.com>
5839 Applied change from Rich Seibel <seibel_r@ociweb.com> to add a
5840 reset for the command_line_calculated_ flag (three places) and
5841 rewrote the description of command_line_buf().
5843 Mon Apr 1 12:38:44 2002 Steve Huston <shuston@riverace.com>
5845 * ace/Asynch_Acceptor.h: Corrected @arg to be @a for Doxygen.
5847 Sun Mar 31 22:44:00 2002 Si Mong Park <spark@ociweb.com>
5849 * apps/FaCE/FaCE_OS.h:
5850 * apps/FaCE/FaCE.cpp:
5851 * apps/FaCE/Main.cpp:
5852 Changed 'LPWSTR' to 'ACE_TCHAR*' and 'LPCTSTR' to 'const ACE_TCHAR*'.
5853 Also removed fuzz no-checking header to enable fuzz again.
5855 Sun Mar 31 22:08:00 2002 Si Mong Park <spark@ociweb.com>
5858 Fixed incorrect path for FaCE related files on prior change log
5861 Sat Mar 30 08:58:57 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
5863 * ace/Asynch_Acceptor.cpp: (handle_accept): Removed a stray
5865 Thanks to Edan Ayal <edanayal@yahoo.com> for reporting this.
5867 Sun Mar 31 01:18:00 2002 Si Mong Park <spark@ociweb.com>
5869 * apps/FaCE/FaCE_OS.h:
5870 * apps/FaCE/FaCE.cpp:
5871 * apps/FaCE/Main.cpp:
5872 Added "// FUZZ: disable check_for_tchar" as the code is only and
5873 specifically for the WinCE. Thanks to Nanbor Wang for help.
5877 Minor lower/upper case change in the include statement.
5879 Sat Mar 30 22:19:00 2002 Si Mong Park <spark@ociweb.com>
5882 Removed FaCE_MAIN definition originally added during WinCE port
5883 and moved to FaCE_OS.h in the FaCE package since it is FaCE
5886 * apps/FaCE/Face_OS.h:
5887 Contains FaCE_MAIN macro definition to set entry point on WinCE.
5889 * apps/FaCE/ReadMe.txt:
5890 Updated installation part for FacE_OS.h.
5892 Fri Mar 29 17:35:39 2002 Steve Huston <shuston@riverace.com>
5894 * ace/Proactor.h: Doxygen-ize some comments; correct the
5895 close() comment (no I/O completion port is known at this level).
5897 Fri Mar 29 13:40:00 2002 Si Mong Park <spark@ociweb.com>
5900 Minor fix for WinCE IDC name.
5902 * apps/FaCE/ACE.ico:
5903 * apps/FaCE/ACE_Racer.bmp:
5904 * apps/FaCE/CE_ARGV.CPP
5905 * apps/FaCE/CE_ARGV.H
5906 * apps/FaCE/CE_Screen_Output.cpp:
5907 * apps/FaCE/CE_Screen_Output.h:
5908 * apps/FaCE/FaCE.cpp:
5910 * apps/FaCE/FACE.ico:
5911 * apps/FaCE/FaCE.rc:
5912 * apps/FaCE/FaCE.vcp:
5913 * apps/FaCE/FaCE.vcw:
5914 * apps/FaCE/FaCENOACE.vcp:
5915 * apps/FaCE/FaCENOACE.vcw:
5916 * apps/FaCE/License.txt:
5917 * apps/FaCE/Main.cpp:
5918 * apps/FaCE/newres.h:
5919 * apps/FaCE/ReadMe.txt:
5920 * apps/FaCE/resource.h
5921 * apps/FaCE/TAO.BMP:
5922 A new front-end framework utility/plug-in for ACE on WinCE.
5924 Fri Mar 29 11:33:00 2002 Si Mong Park <spark@ociweb.com>
5927 * tests/Refcounted_Auto_Ptr_Test_WinCE.vcp:
5928 * tests/Service_Config_DLL_WinCE.vcp:
5929 Added few files into project.
5931 * tests/CE_fostream.h:
5932 * tests/CE_fostream.cpp:
5933 A class that simulates fostream on WinCE for CDR File test.
5935 * tests/Bound_Ptr_Test.cpp:
5936 * tests/CDR_File_Test.cpp:
5937 * tests/Log_Msg_Test.cpp:
5938 * tests/Logging_Strategy_Test.cpp:
5939 * tests/Malloc_Test.cpp:
5940 * tests/MEM_Stream_Test.cpp:
5941 * tests/MM_Shared_Memory_Test.cpp:
5942 * tests/MT_SOCK_Test.cpp:
5943 * tests/Priority_Task_Test.cpp:
5944 * tests/Refcounted_Auto_Ptr_Test.cpp:
5945 * tests/SOCK_Send_Recv_Test.cpp:
5946 * tests/SOCK_Test.cpp:
5947 * tests/Svc_Handler_Test.cpp:
5948 * tests/Thread_Pool_Test.cpp:
5949 Minor updates for WinCE build.
5951 Fri Mar 29 11:08:29 2002 Steve Huston <shuston@riverace.com>
5953 * ace/Asynch_Acceptor.h: Doxygen-ized the method comments.
5955 Fri Mar 29 02:50:33 2002 Craig Rodrigues <crodrigu@bbn.com>
5957 * examples/QOS/Diffserv/README: Update links to RFC's for
5958 Expedited Forwarding.
5960 Fri Mar 29 08:32:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
5962 * tests/Makefile.bor:
5963 Added new Cached_Allocator_Test
5965 * tests/Cached_Allocator_Test.cpp:
5966 Fixed unicode build errors
5968 Thu Mar 28 23:47:00 2002 Si Mong Park <spark@ociweb.com>
5972 Fixed WinCE entry point definitions, and factored out Unicode format
5973 checking parts as a separate function for both WinCE and Unicode builds.
5975 * ace/config-WinCE.h:
5976 Commented out the part that 'forces' WinCE to use DLL only. The
5977 'commented out' part has been left for possible future reference.
5979 * tests/test_config.h:
5980 Changed path settings for WinCE file system as CE only supports absolute-
5981 path and does not have concept of './'.
5983 * tests/tests_WinCE.vcw:
5984 * tests/ARGV_Test_WinCE.vcp:
5985 * tests/Atomic_Op_Test_WinCE.vcp:
5986 * tests/Auto_IncDec_Test_WinCE.vcp:
5987 * tests/Barrier_Test_WinCE.vcp:
5988 * tests/Basic_Types_Test_WinCE.vcp:
5989 * tests/Bound_Ptr_Test_WinCE.vcp:
5990 * tests/Buffer_Stream_Test_WinCE.vcp:
5991 * tests/Cached_Accept_Conn_Test_WinCE.vcp:
5992 * tests/Cached_Conn_Test_WinCE.vcp:
5993 * tests/Cache_Map_Manager_Test_WinCE.vcp:
5994 * tests/Capabilities_Test_WinCE.vcp:
5995 * tests/CDR_Array_Test_WinCE.vcp:
5996 * tests/CDR_File_Test_WinCE.vcp:
5997 * tests/CDR_Test_WinCE.vcp:
5998 * tests/Collection_Test_WinCE.vcp:
5999 * tests/Conn_Test_WinCE.vcp:
6000 * tests/DLList_Test_WinCE.vcp:
6001 * tests/DLL_Test_DLL_WinCE.vcp:
6002 * tests/DLL_Test_WinCE.vcp:
6003 * tests/Dynamic_Priority_Test_WinCE.vcp:
6004 * tests/Enum_Interfaces_Test_WinCE.vcp:
6005 * tests/Future_Set_Test_WinCE.vcp:
6006 * tests/Future_Test_WinCE.vcp:
6007 * tests/Handle_Set_Test_WinCE.vcp:
6008 * tests/Hash_Map_Bucket_Iterator_Test_WinCE.vcp:
6009 * tests/Hash_Map_Manager_Test_WinCE.vcp:
6010 * tests/High_Res_Timer_Test_WinCE.vcp:
6011 * tests/Lazy_Map_Manager_Test_WinCE.vcp:
6012 * tests/Logging_Strategy_Test_WinCE.vcp:
6013 * tests/Log_Msg_Test_WinCE.vcp:
6014 * tests/Malloc_Test_WinCE.vcp:
6015 * tests/Map_Manager_Test_WinCE.vcp:
6016 * tests/Map_Test_WinCE.vcp:
6017 * tests/Max_Default_Port_Test_WinCE.vcp:
6018 * tests/Mem_Map_Test_WinCE.vcp:
6019 * tests/MEM_Stream_Test_WinCE.vcp:
6020 * tests/Message_Block_Test_WinCE.vcp:
6021 * tests/Message_Queue_Notifications_Test_WinCE.vcp:
6022 * tests/Message_Queue_Test_Ex_WinCE.vcp:
6023 * tests/Message_Queue_Test_WinCE.vcp:
6024 * tests/MM_Shared_Memory_Test_WinCE.vcp:
6025 * tests/MT_Reactor_Timer_Test_WinCE.vcp:
6026 * tests/MT_SOCK_Test_WinCE.vcp:
6027 * tests/Naming_Test_WinCE.vcp:
6028 * tests/New_Fail_Test_WinCE.vcp:
6029 * tests/Notify_Performance_Test_WinCE.vcp:
6030 * tests/Object_Manager_Test_WinCE.vcp:
6031 * tests/OrdMultiSet_Test_WinCE.vcp:
6032 * tests/OS_Test_WinCE.vcp:
6033 * tests/Priority_Buffer_Test_WinCE.vcp:
6034 * tests/Priority_Reactor_Test_WinCE.vcp:
6035 * tests/Priority_Task_Test_WinCE.vcp:
6036 * tests/Process_Manager_Test_WinCE.vcp:
6037 * tests/RB_Tree_Test_WinCE.vcp:
6038 * tests/Reactors_Test_WinCE.vcp:
6039 * tests/Reactor_Exceptions_Test_WinCE.vcp:
6040 * tests/Reactor_Notify_Test_WinCE.vcp:
6041 * tests/Reactor_Performance_Test_WinCE.vcp:
6042 * tests/Reactor_Timer_Test_WinCE.vcp:
6043 * tests/Reader_Writer_Test_WinCE.vcp:
6044 * tests/Recursive_Mutex_Test_WinCE.vcp:
6045 * tests/Refcounted_Auto_Ptr_Test_WinCE.vcp:
6046 * tests/Reverse_Lock_Test_WinCE.vcp:
6047 * tests/Semaphore_Test_WinCE.vcp:
6048 * tests/Service_Config_DLL_WinCE.vcp:
6049 * tests/Service_Config_Test_WinCE.vcp:
6050 * tests/Sigset_Ops_Test_WinCE.vcp:
6051 * tests/Simple_Message_Block_Test_WinCE.vcp:
6052 * tests/SOCK_Connector_Test_WinCE.vcp:
6053 * tests/SOCK_Send_Recv_Test_WinCE.vcp:
6054 * tests/SOCK_Test_WinCE.vcp:
6055 * tests/SPIPE_Test_WinCE.vcp:
6056 * tests/SString_Test_WinCE.vcp:
6057 * tests/Svc_Handler_Test_WinCE.vcp:
6058 * tests/Task_Test_WinCE.vcp:
6059 * tests/Thread_Manager_Test_WinCE.vcp:
6060 * tests/Thread_Mutex_Test_WinCE.vcp:
6061 * tests/Thread_Pool_Reactor_Resume_Test_WinCE.vcp:
6062 * tests/Thread_Pool_Reactor_Test_WinCE.vcp:
6063 * tests/Thread_Pool_Test_WinCE.vcp:
6064 * tests/Timeprobe_Test_WinCE.vcp:
6065 * tests/Timer_Queue_Test_WinCE.vcp:
6066 * tests/Time_Service_Test_WinCE.vcp:
6067 * tests/Time_Value_Test_WinCE.vcp:
6068 * tests/Tokens_Test_WinCE.vcp:
6069 * tests/TSS_Test_WinCE.vcp:
6070 * tests/Upgradable_RW_Test_WinCE.vcp:
6071 Project files for WinCE build on eMbedded Visual C++ 3.0.
6072 Note that some tests run fine under emulator but not on the real
6073 machine, and some tests run okay on WinCE 3.0 but not on Pocket PC 2002.
6074 The missing tests are mostly not supported by WinCE 3.0/PPC 2002.
6075 For example, WinCE does not have 'fork' or environment variables.
6076 Also, WinCE supports memory mapped file; however, the method is so different
6077 to other Windows platforms that it is really hard to make it work correctly
6078 on current ACE mem-map function structure.
6080 Thu Mar 28 16:15:17 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
6082 * ace/TTY_IO.h: Added the ACE_Export macro to the Serial_Params
6083 struct. Thanks to Pavel Repin <pavel@repin.com> for reporting
6086 Thu Mar 28 13:31:19 2002 Priyanka Gontla <pgontla@ece.uci.edu>
6088 * ace/POSIX_Asynch_IO.cpp (handle_close):
6089 Fixed the warnings on Debian_Core build that were caused by the
6090 changes earlier today.
6092 Thu Mar 28 16:14:39 2002 Steve Huston <shuston@riverace.com>
6094 * ace/OS.h (ACE_Time_Value::dump): Added comments that'll go to
6095 the man page to explain why this is a no-op.
6097 Thu Mar 28 14:26:19 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
6099 * tests/Cached_Allocator_Test.cpp: Added a missing template
6102 Thu Mar 28 10:45:16 2002 Nanbor Wang <nanbor@cs.wustl.edu>
6105 * tests/Cached_Allocator_Test.dsp: Added this new MSVC project.
6107 Thu Mar 28 10:12:13 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
6109 * ace/Malloc_T.{h,i,cpp}: Added support for
6110 ACE_Dynamic_Cached_Allocator.
6111 Thanks to Jaroslaw Nozderko <jareknz@polbox.com> for
6114 * tests: Added Cached_Allocator_Test.cpp. Thanks to
6115 Jaroslaw Nozderko <jareknz@polbox.com> for contributing this.
6117 * tests/Makefile (BIN):
6118 * tests/run_test.lst: Added Cached_Allocator_Test.
6120 Thu Mar 28 06:15:22 2002 Alex Libman <AlexL@rumblegroup.com>
6122 * ace/POSIX_Asynch_IO.cpp,
6123 ace/POSIX_Asynch_IO.h:
6124 ACE_POSIX_AOICB_Asynch_Operation and ACE_POSIX_Asynch_Operation
6125 merged in one class ACE_POSIX_Asynch_Operation
6127 Since POSIX_SIG_Proactor and SUN_Proactor are based on
6128 POSIX_AIOCB_Proactor and both of them use
6129 ACE_POSIX_AOICB_Asynch_Operation, there is no necessity to
6130 support extra class tree.
6132 * ace/POSIX_Asynch_IO.cpp,
6133 ace/POSIX_Asynch_IO.h:
6134 ACE_POSIX_AOICB_Transmit_Handler and ACE_POSIX_Transmit_Handler
6135 merged in ACE_POSIX_Transmit_Handler for same reason as previous
6138 * ace/POSIX_Asynch_IO.cpp,
6139 ace/POSIX_Asynch_IO.h: ACE_POSIX_Asynch_Accept merged with
6140 ACE_POSIX_Asynch_Accept_Hanlder and redesigned and added
6141 new class ACE_POSIX_Asynch_Accept_Task.
6143 POSIX_AIOCB_Proactor has new member
6144 ACE_POSIX_Asynch_Accept_Task asynch_accept_task_.
6146 Task activation should be done from the most derived
6147 constructors , when the final table of virtual functions is
6148 built (simular case with notify_manager).
6150 // start asynch accept task
6151 this->get_asynch_accept_task.start ();
6153 All POSIX_Proactors implementations ( AIOCB,SIG,SUN ) should
6154 stop ACE_POSIX_Asynch_Accept_Task in their destructors to avoid
6155 post_completions from based classes
6157 // stop asynch accept task
6158 this->get_asynch_accept_task.stop ();
6160 Thu Mar 28 06:14:22 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
6162 * ace/TTY_IO.cpp (Serial_Params): Zero out the values in the
6163 Serial_Params constructor. Thanks to Pavel Repin
6164 <pavel@repin.com> for reporting this.
6166 Wed Mar 27 20:00:31 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
6168 * include/makeinclude/platform_linux.GNU: Fixed a typo where
6169 PLATFORM_XT_LDFLAGS was spelled incorrectly. Thanks to Eric
6170 Eide and Ansgar Konermann <ansgar.konermann@inf.tu-dresden.de>
6173 Wed Mar 27 18:36:14 2002 Krishnakumar B <kitty@cs.wustl.edu>
6175 * include/makeinclude/platform_linux.GNU (CXX_VERSION):
6177 Reorganised the switches a bit for handling the implicit
6180 * include/makeinclude/wrapper_macros.GNU (ACE_HAS_GNUG_PRE_2_8):
6182 If the compiler has g++ or any mutations of g++, test whether
6183 the version is less than 2.8. If so set ACE_HAS_GNUG_PRE_2_8
6184 to 1 else set it to 0. Thanks to James Haiar <haiar@ll.mit.edu>
6187 Wed Mar 27 16:32:55 2002 Irfan Pyarali <irfan@cs.wustl.edu>
6189 * tests/Reactor_Dispatch_Order_Test.cpp: Minor compilation fixes.
6191 Wed Mar 27 15:10:27 2002 Irfan Pyarali <irfan@cs.wustl.edu>
6193 * tests/Reactor_Dispatch_Order_Test: Added a new test to check the
6194 order of dispatching of ACE Reactors. Order should be: timeout,
6195 output, and then input. Currently, Select and WFMO Reactors are
6198 The following files we updated to include the new test:
6202 - tests/Makefile.bor
6203 - tests/Reactor_Dispatch_Order_Test.dsp
6204 - tests/Reactor_Dispatch_Order_Test.icc
6206 - tests/run_test.lst
6207 - tests/run_tests.bat
6208 - tests/run_tests.psosim
6209 - tests/run_tests_remote.lst
6213 * ace/WFMO_Reactor.cpp (upcall): Changed the dispatch order to
6214 match the Select_Reactor's dispatch order. The order now is:
6225 Thanks to Steve Huston <shuston@riverace.com> for pointing this
6228 * tests/icc.bat: Removed duplicates.
6230 Wed Mar 27 10:25:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6232 * ace/High_Res_Timer.{h,cpp}:
6233 Fixed a few small typing errors in comments
6235 Tue Mar 26 13:55:19 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
6237 * ace/OS.i (operator *=): Explicitly promote sec() to double before
6238 multiplying it to prevent problems with overflow. Thanks to
6239 Eric Page <Eric_S_Page@raytheon.com> for reporting this. This
6242 Tue Mar 26 06:50:58 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
6244 * ace/Synch.h (ACE_Null_Mutex): Added a dummy "lock_" variable
6245 to make ACE_Condition<ACE_Null_Mutex> work properly. Thanks to
6246 Ido Yellin <Ido.Yellin@Focusengine.com> for reporting this.
6248 Wed Mar 21 08:11:15 2002 Boris Kolpackov <bosk@ipmce.ru>
6250 * THANKS: Added Frank Rybak <rybak@ll.mit.edu> to the Hall of fame.
6252 Wed Mar 20 11:23:38 2002 Priyanka Gontla <pgontla@ece.uci.edu>
6254 * ace/Service_Manager.cpp (handle_input):
6255 Moved the declaration of 'error' outside the do-while loop to
6256 fix the 'error (undeclared)' error.
6258 Wed Mar 20 09:51:47 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
6260 * ace/Acceptor.cpp (handle_input): Updated the comments to point out that
6261 svc_handler->close() is called in accept_svc_handler() and
6262 activate_svc_handler() if a failure occurs. Thanks to Rainer
6263 Lucas <rainer.lucas@fun.de> for motivating this.
6265 Wed Mar 20 06:44:02 2002 Douglas C. Schmidt <schmidt@siesta.cs.wustl.edu>
6267 * ace/Service_Manager.cpp (handle_input): Fixed a bug that prevents
6268 an infinite loop. Thanks to Sandro Doro <sandro@dorogroup.com>
6271 * include/makeinclude/platform_vxworks5.x_g++.GNU (HOST_DIR): Fixed
6272 a typo where -mlongcal should be -mlongcall. Thanks to Erik
6273 Johannes <erik_johannes@teseda.com> for reporting this.
6275 Wed Mar 20 14:26:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6277 * docs/usage-bugzilla.html:
6278 Updated the link to the Bugzilla project
6280 Tue Mar 19 15:17:25 2002 Dante J. Cannarozzi <djc2@cs.wustl.edu>
6282 * ace/Containers_T.h: with the help of Matt Hampton
6283 <mph2@cs.wustl.edu> updated doxygen comments for container classes
6284 with more details at the request of Steve Huston.
6286 Tue Mar 19 02:40:00 2002 Si Mong Park <spark@ociweb.com>
6289 * ace/OS_String.inl:
6290 * ace/OS_String.cpp:
6291 Corrected proper ACE_HAS_REENTRANT_FUNCTIONS macro checking location
6292 for the strtok_r_emulation functions. Debian compilation error was
6293 because ACE_HAS_REENTRANT_FUNCTIONS was not defined in the configuration.
6294 If ACE_HAS_REENTRANT_FUNCTIONS is defined, then emulation functions
6295 should not be visible.
6297 Mon Mar 19 08:32:34 2002 Boris Kolpackov <bosk@ipmce.ru>
6298 * THANKS: Added Chen Jian <jchen@huawei.com> to the Hall of fame.
6300 Sun Mar 17 18:22:12 2002 Craig Rodrigues <crodrigu@bbn.com>
6302 * include/makeinclude/platform_freebsd.GNU: Copy lines from
6303 platform_linux.GNU. exceptions=1 is now the default,
6304 unless overridden by the user, just like for Linux.
6306 Sun Mar 17 11:53:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6308 * include/makeinclude/compiler.bor:
6309 When doing a wchar build don't automatically define UNICODE and _UNICODE.
6311 Fri Mar 15 18:08:28 2002 Steve Huston <shuston@riverace.com>
6313 * ace/config-aix-4.x.h: Removed the optional setting of
6314 ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION for Visual Age C++
6315 5 without __TEMPINC__ set. This was an experiment to try and
6316 rid the build of all the "duplicate symbol" warnings, and it
6317 broke the incremental builds.
6319 Fri Mar 15 12:19:58 2002 Chad Elliott <elliott_c@ociweb.com>
6321 * include/makeinclude/platform_vxworks5.x_ghs.GNU:
6323 Added support for building with exceptions enabled.
6325 Fri Mar 15 05:59:45 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
6327 * ace/SPIPE_Acceptor.cpp: Removed the ACE_ASSERT (result == FALSE)
6328 macro call. Thanks to Oleg Burlachenko <ua_fireball@yahoo.com>
6331 Fri Mar 15 00:16:06 2002 Craig Rodrigues <crodrigu@bbn.com>
6333 * include/makeinclude/platform_freebsd.GNU:
6334 * include/makeinclude/platform_netbsd.GNU:
6335 Make -fno-implicit-templates conditional, instead of default.
6336 Thanks to Denis Otchenashko <oko@bank.gov.ua> for motivating
6337 me to look into this and fix this.
6339 Thu Mar 14 12:50:00 2002 Si Mong Park <spark@ociweb.com>
6342 * ace/OS_String.inl:
6343 * ace/OS_String.cpp:
6344 Fixed a skipping strtok_r_emulation definition when ACE_HAS_WCHAR is
6347 Thu Mar 14 11:26:41 2002 Nanbor Wang <nanbor@cs.wustl.edu>
6349 * performance-tests/Misc/context_switch_time.cpp: Renamed the
6350 internally used macro, DEBUG, to ACE_DEBUG_CST to avoid clashing
6351 with the compiler defined macro. Thanks to Allan S Iverson
6352 <allaniverson@sprynet.com> for motivating the fix.
6354 Thu Mar 14 09:17:55 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
6356 * ace/Strategies_T.cpp (activate_svc_handler): Added a call to
6357 destroy() the svc_handler if ACE::fork() fails. Thanks to
6358 Rainer Lucas <rainer.lucas@fun.de> for reporting this.
6360 * ace/Configuration.cpp (remove_section): Made the code consistent
6361 for all versions of Windows. Thanks to Jon Lambert
6362 <jlsysinc@ix.netcom.com> for the fix.
6364 * examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp (ACE_TMAIN): Added
6365 '\n' to the end of command strings so that the client won't hang. Thanks to
6366 Marc M Adkins <Marc.M.Adkins@doorways.org> for this fix.
6368 Wed Mar 13 15:55:54 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
6370 * ace/OS.h: EACCESS was misspelled! Thanks to Eric Eide
6371 <eeide@cs.utah.edu> for reporting this.
6373 Wed Mar 13 20:50:00 2002 Si Mong Park <spark@ociweb.com>
6376 Minor change to resolve signed/unsigned comparison warning.
6379 * ace/OS_String.inl:
6380 * ace/OS_String.cpp:
6381 Added wide-char version of strtok_r and strtok_r_emulation.
6385 Added hash related templates for ACE_ANTI_TCHAR type
6386 when ACE_USES_WCHAR is defined.
6389 * ace/ace_os_dll.vcp: Added missing files.
6391 Wed Mar 13 11:57:41 2002 Steve Huston <shuston@riverace.com>
6393 * ace/Configuration_Import_Export.cpp: Replace ACE_ASSERTs with
6394 validity checks that set errno and return -1. ACE_ASSERT is
6395 a little too drastic for a simple error, and the ACE_ASSERT
6396 check is removed altogether when building with ACE_NDEBUG.
6398 Wed Mar 13 10:36:02 2002 Craig Rodrigues <crodrigu@bbn.com>
6400 * ace/config-freebsd-pthread.h: Fix test for POSIX RT signals.
6401 Thanks to Denis Otchenashko <oko@bank.gov.ua> for reporting
6404 Wed Mar 13 10:21:49 2002 Steve Huston <shuston@riverace.com>
6406 * ace/Configuration_Import_Export.cpp (ACE_Ini_ImpExp::import_config):
6407 Remove the "else value = ACE_LIB_TEXT("")" for zero-length
6408 values - value is already a zero-length string.
6410 Wed Mar 13 09:40:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6412 * ace/Registry_Name_Space.cpp:
6413 Fixed warnings about unused variables in BCB Unicode build
6415 Tue Mar 12 18:37:49 2002 Steve Huston <shuston@riverace.com>
6417 * ace/Configuration_Import_Export.{h cpp} (ACE_Ini_ImpExp):
6418 Changed behavior of ACE_Ini_ImpExp::import_config() to take
6419 the entire string, with or without whitespace, without requiring
6420 quotes around the string. This puts functionality on par with
6421 regular Windows INI files.
6423 Also, on ACE_Ini_ImpExp::export_config(), don't add quotes to
6424 string values that are exported. import_config() will still read
6425 files exported previously (which have quotes around strings)
6426 but when re-exported, the quotes will not be added.
6428 Tue Mar 12 17:43:32 2002 Balachandran Natarajan <bala@cs.wustl.edu>
6430 * ace/CDR_Base.cpp (consolidate): If the incoming message block
6431 does not have a chain of message blocks, there is no need to do
6432 a deep copy, a refcount increment on the incoming datablock
6433 would do. Thanks to Lothar Werzinger
6434 <Werzinger.Lothar@krones.de> for the patches.
6436 Tue Mar 12 15:32:46 2002 Balachandran Natarajan <bala@cs.wustl.edu>
6438 * PROBLEM-REPORT-FORM (Subject): Added a request for the version
6439 of winsock on Windows based OS's.
6441 Tue Mar 12 15:22:29 2002 Balachandran Natarajan <bala@cs.wustl.edu>
6443 * ace/OS.i (sendv): When using winsock1, we transfer data by
6444 sending one iovec at a time. If transfer of a buffer isnt
6445 complete because the socket buffers got full, we need to drop
6446 out of the loop that sends data. Thanks to Stephan Gudmundson
6447 <stephang@netacquire.com> for providing this patch.
6449 * THANKS: Added Stephan Gudmundson to the Hall of fame.
6451 Mon Feb 25 14:06:45 2002 Chad Elliott <elliott_c@ociweb.com>
6453 * ace/config-hpux-11.00.h:
6455 Do not define __HP_aCC if using KCC.
6457 * include/makeinclude/platform_hpux_kcc.GNU:
6459 Add the --one-instantiation-per-object parameter to avoid
6460 build problems with KCC.
6462 * tests/Dirent_Test.cpp:
6464 Modify this test to work with Chorus (as it does with VxWorks).
6466 * ace/config-aix-4.x.h:
6468 Defined ACE_HAS_USING_KEYWORD for AIX 4.x with Visual Age 5 or
6469 later. This change came from Yan Dai <dai_y@ociweb.com>
6471 Tue Mar 12 11:53:53 2002 Chad Elliott <elliott_c@ociweb.com>
6473 * bin/perltest2cpp.pl:
6475 Corrected the code for array assignments.
6477 * bin/vxworks_modify.pl:
6479 Use ACE_ENV_* instead of TAO_ENV_*.
6481 Tue Mar 12 10:45:00 2002 Justin Michel <michel_j@ociweb.com>
6485 Added call to ACE_OS::set_errno_to_last_error() in two places
6486 where Winsock WSARecvFrom or WSASendTo were called.
6488 Tue Mar 12 09:06:00 2002 Si Mong Park <spark@ociweb.com>
6490 * etc/Svc_Conf_l.cpp.diff:
6491 Incorrect file had been checked in on prior commit.
6492 This is the correct file.
6494 * tests/Config_Test.cpp:
6495 Fixed incorrect delete statement.
6497 Tue Mar 12 08:54:00 2002 Si Mong Park <spark@ociweb.com>
6499 * etc/Svc_Conf_l.cpp.diff:
6500 Fixed CR/LF (DOS format) problem: no content changed.
6502 Tue Mar 12 13:52:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6504 * THANKS : Added Oleg Kraynov <olegvkr@yahoo.com>
6506 Mon Mar 11 21:05:26 2002 Krishnakumar B <kitty@cs.wustl.edu>
6508 * ACEXML/parser/parser/Parser.cpp (parse):
6510 Added comment on the order of processing that should be done by
6513 Mon Mar 11 20:21:38 2002 Steve Huston <shuston@riverace.com>
6515 * ace/config-all.h: Fixed ACE_NEW section to work with HP-UX 10.20,
6516 aC++ A.01.27 with -AA option.
6518 Mon Mar 11 18:48:41 2002 Steve Huston <shuston@riverace.com>
6520 * examples/C++NPv1/Logging_Client.cpp: Added a compile-time check
6521 for Win32 to be sure ACE_HAS_STANDARD_CPP_LIBRARY is set, else
6522 trying to use the new getline() method with an old cin won't work.
6524 Mon Mar 11 17:43:00 2002 Si Mong Park <spark@ociweb.com>
6526 * ace/Svc_Conf_l.cpp:
6527 Minor comment change to make diff file.
6529 * etc/Svc_Conf_l.cpp.diff:
6530 Updated diff file for Svc_Conf_l.cpp.
6532 Mon Mar 11 16:59:42 2002 Steve Huston <shuston@riverace.com>
6534 * tests/TP_Reactor_Test.h (new file):
6535 * tests/TP_Reactor_Test.cpp: Moved declarations for Receiver,
6536 Acceptor, Sender, and Connector classes to the new file
6537 TP_Reactor_Test.h so Visual Age C++ can find them when
6538 instantiating templates.
6540 Mon Mar 11 16:38:49 2002 Steve Huston <shuston@riverace.com>
6542 * tests/Reactor_Notify_Test.cpp: Added missing #include "ace/Reactor.h"
6543 to fix Visual Age C++ compile error.
6545 Mon Mar 11 16:27:59 2002 Steve Huston <shuston@riverace.com>
6547 * examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.cpp:
6548 Added missing #include "ace/Auto_Ptr.h" to fix compile problem
6549 for platforms w/o native auto_ptr (like MSVC).
6551 Mon Mar 11 14:23:00 2002 Si Mong Park <spark@ociweb.com>
6553 * tests/Config_Test.cpp:
6554 Removed one of the delete statement that deletes twice and thus
6555 causing an invalid access violation.
6557 Mon Mar 11 10:28:45 2002 Chad Elliott <elliott_c@ociweb.com>
6559 * bin/vxworks_modify.pl:
6561 Update this script to work correctly with the new CORBA
6564 Mon Mar 11 12:17:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6566 * include/makeinclude/build_dll.bor:
6567 * include/makeinclude/build_exe.bor:
6568 * include/makeinclude/build_lib.bor:
6569 * include/makeinclude/compiler.bor:
6570 * include/makeinclude/decorator.bor:
6571 * include/makeinclude/make_flags.bor:
6572 * include/makeinclude/outputdir.bor:
6573 Added support for a real unicode build with BCB builder. A real
6574 unicode build can for example be done with:
6575 make -f makefile.bor -DUNICODE
6576 Doing a real unicode build means that the defines ACE_USES_WCHAR,
6577 UNICODE and _UNICODE are set, diffent BCB object files are used
6578 to link with and the compiler gets the extra compiler option -WU.
6579 The dll names have a 'u' added so that unicode dll's are separated
6580 from the non-unicode dll's. Also the output files are build in a
6581 separate subdirectory.
6584 Explained the BCB make options that can be used with ACE
6586 Mon Mar 11 11:35:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6588 * ace/Registry_Name_Space.cpp:
6589 Changed ACE_USHORT16 to ACE_WSTRING_TYPE because the underlying type
6590 of ACE_WString is ACE_USHORT16 with MSVC and with BCB it is
6591 wchar_t. The define ACE_WSTRING_TYPE hides these differences. When
6592 UNICODE and ACE_USES_WCHAR are defined BCB gave a compile error.
6594 Sun Mar 10 18:53:48 2002 Si Mong Park <spark@ociweb.com>
6596 * ace/Svc_Conf_l.cpp:
6597 Commented out 'break' line to resolve unreachable statement warning.
6599 Sun Mar 10 05:54:30 2002 Balachandran Natarajan <bala@cs.wustl.edu>
6601 * THANKS : Added Val Dumitrescu <val.dumitrescu@am-beo.com> to the
6603 * bin/auto_run_tests.lst: Added a new test to the daily builds.
6605 Sat Mar 9 21:22:51 2002 Balachandran Natarajan <bala@cs.wustl.edu>
6607 * ace/CDR_Stream.cpp:
6609 * ace/CDR_Stream.h: Added accessor methods for GIOP versions of
6610 Input and Output CDR streams.
6612 Sat Mar 9 07:52:45 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
6614 * ace/SPIPE_Addr.cpp (set): Changed a strcpy() to a strcat() to
6615 fix the code. Thanks to Robert Laferriere
6616 <robert.laferriere@med.ge.com> for reporting this.
6618 Fri Mar 8 22:29:36 2002 Si Mong Park <spark@ociweb.com>
6620 * ace/Argv_Type_Converter.cpp:
6621 * ace/Argv_Type_Converter.h:
6622 * ace/Argv_Type_Converter.inl:
6623 new class to convert command line parameter type between char
6626 * ace/Basic_Types.h:
6627 Set the endian type to 'little endian' for ARM processor -
6628 Pocket PC 2002 platform.
6630 * ace/Log_Record.cpp:
6632 Removed print method that uses ACE_CE_Bridge since CE_Bridge is
6633 no longer supported by ACE CE port.
6637 Added Argv_Type_Converter class to the project.
6639 * ace/WFMO_Reactor.cpp:
6640 * ace/WFMO_Reactor.h:
6641 * ace/WFMO_Reactor.i:
6642 Updated to support WinCE.
6645 Fixed incorrect call to CreateProcess for WinCE.
6647 * ace/config-WinCE.h:
6648 Updated for WinCE Pocket PC 2002.
6652 * ace/ace_os_dll.vcp:
6653 New ACE project file for WinCE Pocket PC 2002 build on eMbedded
6659 Added Argv_Type_Converter file.
6661 * ace/Configuration.cpp:
6662 * ace/Memory_Pool.cpp:
6663 Updated for the WinCE port.
6665 * ace/Read_Buffer.cpp:
6666 * ace/Read_Buffer.h:
6667 Disabled Ctor with ACE_HANDLE on WinCE since ACE_HANDLE is same
6673 Updated for WinCE port. Changes includes removal of CE Bridge
6674 added CE argv process class, enabled many file IO functions
6675 that formerly disabled on CE, bypassing QoS parts for CE, and
6676 other CE specific declarations.
6678 * ace/Dynamic_Service.h:
6679 * ace/Dynamic_Service.i:
6680 Added 'instance' method uses ACE_ANTI_TCHAR type name for when
6681 ACE_TCHAR is wchar_t.
6683 * ace/CE_Screen_Output.cpp:
6684 * ace/CE_Screen_Output.h:
6685 screen output helper class only for WinCE platform - should
6686 not be used on any other platform.
6690 Changed to skip including stddef.h for WinCE.
6692 * ace/MEM_Acceptor.h:
6693 * ace/MEM_Acceptor.i:
6694 * ace/SOCK_Acceptor.cpp:
6695 * ace/SOCK_Acceptor.h:
6696 * ace/SOCK_Connector.cpp:
6697 * ace/SOCK_Connector.h:
6698 * ace/SOCK_Dgram_Mcast.h:
6699 Updated to skip QoS part on WinCE.
6702 * ace/Svc_Conf_l.cpp:
6703 Fixed a problem giving a parse error on reading carriage return
6704 token on Unicode formatted svc conf file.
6707 Changed connect function for WinCE to return -1 because CE does
6708 not allow direct registry connection.
6710 * ace/Sock_Connect.cpp:
6711 Changed to use Iphlpapi library (standard on WinCE) on WinCE to
6712 find IP address instead of searching registry since CE has so
6713 many variations on registry settings.
6716 Minor change for WinCE on stderr.
6718 Fri Mar 8 19:45:31 2002 Steve Huston <shuston@riverace.com>
6720 * examples/C++NPv1/Thread_Per_Connection_Logging_Server.cpp:
6721 * examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.cpp:
6722 Use auto_ptr<> to manage dynamically-allocated Thread_Args.
6723 Thanks to Chris Uzdavinis <chris@atdesk.com> for this suggestion.
6725 Thu Mar 7 16:10:02 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
6727 * include/makeincludes/platform_linux_icc.GNU,
6728 * ace/config-icc-common.h,
6729 * ace/config-linux-common.h: Added support for the Intel C++ compiler
6730 (icc). Thanks to Roger Tragins for contributing this.
6732 Thu Mar 7 11:17:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6734 * tests/RMCast/RMCast_Fragment_Test.cpp:
6735 * tests/RMCast/RMCast_Membership_Test.cpp:
6736 * tests/RMCast/RMCast_Reassembly_Test.cpp:
6737 * tests/RMCast/RMCast_Reordering_Test.cpp:
6738 * tests/RMCast/RMCast_Retransmission_Test.cpp:
6739 * tests/RMCast/RMCast_UDP_Best_Effort_Test.cpp:
6740 * tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp:
6741 Replaced main with ACE_TMAIN.
6743 Wed Mar 6 21:48:15 2002 Krishnakumar B <kitty@cs.wustl.edu>
6745 * include/makeinclude/platform_linux_kcc.GNU (CCFLAGS):
6747 Moved --one_instantiation_per_object flag as a common flag.
6748 Otherwise building with debugging enabled doesn't work with
6749 libraries built without debug information.
6751 Wed Mar 6 21:42:37 2002 Krishnakumar B <kitty@cs.wustl.edu>
6755 Make sure that the .inl files are also installed. Thanks to
6756 Carsten Prescher<carsten.prescher@sysde.eads.net> for reporting this.
6758 Wed Mar 6 18:30:49 2002 Steve Huston <shuston@riverace.com>
6760 * examples/C++NPv1/Thread_Per_Connection_Logging_Server.h:
6761 Reimplemented the Logging_Server::run method. Because the
6762 handle_connections() method spawns a new thread to run the
6763 logging session, and it calls handle_data(), the call to
6764 handle_data() from Logging_Server::run() is incorrect. Thanks
6765 to Raghuram Shetty <Raghuram.Shetty@comverse.com> for reporting
6768 * examples/C++NPv1/Reactive_Logging_Server.h:
6769 Fix wait_for_multiple_events() to correctly check error return
6770 from select(). Also, in handle_connections(), sync the code
6771 with the book to clear acceptor handles from the active_handles_
6772 after accepting all ready connections.
6774 * examples/C++NPv1/Reactive_Logging_Server_Ex.h (handle_connections):
6775 Clear acceptor's handle from active_read_handles_ to keep from
6776 dispatching it as a data handle. See, this is why you should use
6777 the Reactor framework - so be sure to buy vol 2 ;-)
6779 * THANKS: Added Raghuram Shetty to the Hall of Fame.
6781 Wed Mar 06 17:06:43 2002 Nanbor Wang <nanbor@cs.wustl.edu>
6783 * tests/Cached_Accept_Conn_Test.cpp:
6784 * tests/Cached_Conn_Test.cpp: Replaced main with ACE_TMAIN.
6786 Wed Mar 6 14:43:34 2002 Nanbor Wang <nanbor@cs.wustl.edu>
6788 * ace/OS.h: Reverted my previous "fix" to the argv argument type.
6790 Mon Jan 21 23:27:03 2002 Nanbor Wang <nanbor@cs.wustl.edu>
6792 A program entry poing <code>main</code> can take any of the
6795 int main (int argc, char *argv[])
6796 int wmain (int argc, wchar_t *argv[])
6797 int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
6799 Of them, the entry point <code>main</code> always gives you
6800 the command line arguemnt in char strings form. The entry
6801 point <code>wmain</code> currently can only be used under
6802 Win32 and it returns the command line arguments in wchar
6803 strings format. Defining the <code>ACE_TMAIN</code> as the
6804 program entry point is the more portable form. The command
6805 line arguments are given in char strings in most cases,
6806 or wchar strings when <code>ACE_USES_WCHAR</code> is defined.
6807 See <code>$ACE_ROOT/docs/wchar.txt</code> for more information
6808 on ACE support on wchar.
6810 * docs/ACE-guidelines.html: Added a new guideline explaining which
6811 main entry point to use, as above.
6813 * bin/main2TMAIN.pl: Script to replace entry points of the form
6815 main (int, ACE_TCHAR *[])
6819 ACE_TMAIN (int, ACE_TCHAR *[])
6821 * *.cpp: Changed to use the new ACE_TMAIN.
6823 Tue Mar 06 14:30:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6825 * tests/MEM_Stream_Test.cpp:
6826 Fixed the shutdown of this test. When _TEST_USES_THREADS is defined
6827 we must do a wait() on the thread manager, else on the process
6830 Tue Mar 05 20:34:22 2002 Ossama Othman <ossama@uci.edu>
6832 * ace/OS_Thread_Adapter.cpp (invoke):
6833 * ace/Thread_Adapter.cpp (invoke_i):
6835 Fixed "jump out of __finally block" warning emanating from
6838 Tue Mar 05 15:46:15 2002 Nanbor Wang <nanbor@cs.wustl.edu>
6840 * ace/Memory_Pool.h:
6841 * ace/Memory_Pool.i: Added a base_addr () method for all memroy
6842 pool classes. For memory pools that don't have a base_addr and
6843 will never remap the pool to a different area, this method
6846 * ace/Malloc_T.cpp: Reset this->cb_ptr_ after acquiring new memory
6847 to memory_pool's base_addr (if base_addr != 0). This makes sure
6848 the cb_ptr_ points to the right memory after a remap. Thanks to
6849 Ariel Peltz <Arielp@bigbandnet.com> for pointing this out.
6851 Tue Mar 5 12:20:26 2002 Ossama Othman <ossama@uci.edu>
6853 * ace/INET_Addr.cpp (get_host_name_i, set):
6855 h_errno -> h_error. h_errno conflicts with a declaration in
6856 Microsoft's Winsock headers. Thanks to Nanbor for pointing out
6859 Tue Mar 05 09:26:46 2002 Ossama Othman <ossama@uci.edu>
6861 * ace/INET_Addr.cpp (get_host_name_i, set):
6863 Do not clobber errno with the h_errno value returned from
6864 gethostbyaddr_r(). They are two distinct types of errors.
6866 Renamed "error" to "h_errno" where appropriate to make it
6867 more obvious that errno should not be set to the value of
6868 h_errno. Thanks to Felix Wyss <Felix.Wyss@inin.com> for
6871 Tue Mar 5 05:51:44 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
6873 * ace/Process.cpp (spawn): If fork()/exec() fail, call ACE_OS::_exit()
6874 rather than ACE_OS::exit() to avoid destructors being called
6875 that will yield hang problems. Thanks to Renjie Tang
6876 <rtang@informatica.com>, Max V. Zinal <Zlat0@mail.ru>, and
6877 Michael Hornok <Michael.Hornok@alcatel.com> for this suggestion.
6878 This fixes BugID 1147.
6880 Tue Mar 5 12:24:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6882 * ace/Auto_IncDec_T.h:
6883 Corrected typing error in comment
6885 Mon Mar 4 19:59:31 2002 Steve Huston <shuston@riverace.com>
6887 * tests/Process_Strategy_Test.h: Added #include "ace/Strategies_T.h"
6888 so Visual Age C++ can find ACE_Process_Strategy when instantiating
6891 Mon Mar 4 19:52:27 2002 Steve Huston <shuston@riverace.com>
6893 * tests/Message_Queue_Test_Ex.h (new file):
6894 * tests/Message_Queue_Test_Ex.cpp: Moved declaration of
6895 User_Class to .h file so Visual Age C++ can find it when
6896 instantiating templates.
6898 Mon Mar 4 19:43:51 2002 Steve Huston <shuston@riverace.com>
6900 * tests/Framework_Component_Test.h (new file):
6901 * tests/Framework_Component_Test.cpp: Moved declaration of
6902 My_Singleton to .h file so Visual Age C++ can find it when
6903 instantiating templates.
6905 Mon Mar 04 11:20:45 2002 Carlos O'Ryan <coryan@uci.edu>
6907 * ace/Copy_Disabled.h:
6908 * ace/Copy_Disabled.cpp:
6909 Add new helper class to disable copy constructors and assignment
6910 operators. I simply got sick of writing this repetitive code:
6912 // private & undefined
6914 Foo &operator= (const Foo&);
6916 The new class makes life *much* easier, simply say:
6918 class Foo : private ACE_Copy_Disabled
6927 Add new file to the project files and Makefiles.
6929 Mon Mar 4 07:36:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6931 * tests/Token_Strategy_Test.cpp:
6932 Fixed MSVC6 unicode build errors.
6934 Sun Mar 3 15:56:23 2002 Craig Rodrigues <crodrigu@bbn.com>
6936 * tests/Token_Strategy_Test.cpp:
6937 Add template instantiations for ACE_Array, ACE_Array_Base,
6940 Sun Mar 3 16:23:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6942 * tests/Token_Strategy_Test.cpp:
6943 Fixed MSVC6 unicode build errors.
6945 Sun Mar 3 11:00:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6947 * tests/Token_Strategy_Test.dsp:
6948 Added MSVC project for this test
6950 * tests/Token_Strategy_Test.cpp:
6951 Corrected small typing errors in comment
6954 Added new Token_Strategy_Test.dsp
6956 Sat Mar 2 09:17:45 2002 Douglas C. Schmidt <schmidt@siesta.cs.wustl.edu>
6958 * ace/INET_Addr.cpp (set): Change errno = EINVAL to errno = error if
6959 the call to ACE_OS::gethostbyname_r() fails since errno should
6960 already have been set! Thanks to Felix Wyss <FelixW@inin.com>
6963 Fri Mar 01 08:03:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6966 Added Swap.cpp to the list of installable files
6968 * ace/SSL/SSL_Context.cpp:
6969 Added ACE_TEXT_CHAR_TO_TCHAR around first argument of ACE_OS::fopen
6970 call to convert char to ACE_TCHAR to fix compile errors in unicode
6973 * include/makeinclude/ace_flags.bor:
6974 Corrected typing error for new tao messaging library
6976 Wed Feb 27 13:50:20 2002 Jaiganesh Balasubramanian <jai@kelvar.ece.uci.edu>
6978 * ace/INET_Addr.cpp:
6979 Pull back changes from last night.
6981 Wed Feb 27 06:00:37 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
6983 * ace/Synch.h: Clarified that ACE_Auto_Event, ACE_Manual_Event, and
6984 ACE_Event all support process-scope locking, but only Win32
6985 supports global naming and system-scope locking. Thanks to
6986 Kobi Cohen Arazi <kobi@mivzak.com> for motivating this change.
6988 Wed Feb 27 09:24:30 2002 Carlos O'Ryan <coryan@uci.edu>
6990 * include/makeinclude/platform_linux.GNU:
6991 Pull back Jai's change from last night. It looks like an
6992 accident to me, and it is breaking all the builds.
6994 Wed Feb 27 12:09:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
6997 Added description about setting environment variable BCBVER to
6998 the Borland building instructions
7000 Wed Feb 27 10:47:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
7002 * include/makeinclude/ace_flags.bor:
7003 Added lines for new TAO_Messaging library
7005 Wed Feb 27 01:12:32 2002 Carlos O'Ryan <coryan@uci.edu>
7010 Add helper template to swap variables, very useful when
7011 implementing exception neutral/safe classes.
7013 Wed Feb 26 00:38:50 2002 UTC Don Hinton <dhinton@ieee.org>
7015 * ace/Select_Reactor_Base.h:
7016 * ace/Select_Reactor.cpp:
7017 * ace/Select_Reactor_T.cpp:
7019 Removed ACE_SELECT_REACTOR_HAS_DEADLOCK_DETECTION since
7022 Tue Feb 26 22:54:50 2002 UTC Don Hinton <dhinton@ieee.org>
7024 * ace/Synch.i (ACE_Noop_Token::queueing_strategy):
7026 Removed ACE_UNUSED_ARG and commented out the parameter
7027 instead. Thanks to Ossama and Craig for pointing this out.
7029 Tue Feb 26 16:17:45 2002 Nanbor Wang <nanbor@cs.wustl.edu>
7031 * ace/Thread_Manager.h (ACE_Thread_Manager): Fixed a typo in
7032 doxygen document tag. Thanks to Brad Hoskins
7033 <BHoskins@slo.newport.com> for reporting this.
7035 Tue Feb 26 10:22:39 2002 Steve Huston <shuston@riverace.com>
7037 * include/makeinclude/platform_sunos5_sunc++.GNU: Added the ability
7038 to enable RTTI in the compat=4 case. Removed the explicit
7039 inclusion of an installation-specific path to -L for compat=4.
7040 Installation-specific adidtions/changes should go in the
7041 installation's platform_macros.GNU file.
7043 Tue Feb 26 09:48:24 2002 Craig Rodrigues <crodrigu@bbn.com>
7045 * apps/drwho/Protocol_Manager.cpp: Replace #include "new.h"
7046 with #include "ace/config.h" to eliminate gcc 3.1 warning
7047 about deprecated header.
7049 Tue Feb 25 10:16:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
7051 * tests/Token_Strategy_Test.cpp:
7052 Fixed unicode compile error
7054 Mon Feb 25 19:30:54 2002 Steve Huston <shuston@riverace.com>
7056 * tests/Collection_Test.cpp: Moved the declaration of UglyThing
7057 to a new file, Collection_Test.h. Visual Age C++ needs it in
7058 a separate file to do auto template instantiation.
7059 * tests/Collection_Test.h: New file.
7061 Mon Feb 25 19:27:41 2002 Steve Huston <shuston@riverace.com>
7063 * ace/Log_Msg.cpp (log): In handling for %t, fixed the feature
7064 test that changes behavior for AIX 4.2 and earlier. This
7065 section missed my long-time-ago change to the AIX OS
7066 version constants, and ended up being used for all AIX versions
7067 which is wrong. Thanks to Yan Dai <dai_y@ociweb.com> for
7068 reporting this problem.
7070 * THANKS: Added Yan Dai to the Hall of Fame.
7072 Mon Feb 25 19:16:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
7074 * docs/tutorials/007/thread_pool.{h|cpp}:
7075 * docs/tutorials/007/page07.html:
7076 * docs/tutorials/007/page08.html:
7077 * docs/tutorials/013/mld.h:
7078 * docs/tutorials/013/page03.html:
7079 * docs/tutorials/017/Barrier_i.h:
7080 * docs/tutorials/017/page03.html:
7081 * docs/tutorials/018/page03.html:
7082 Added missing include of 'ace/Atomic_Op.h'
7084 Mon Feb 25 18:51:37 2002 Johnny Willemsen <jwillemsen@remedy.nl>
7086 * tests/Makefile.bor:
7087 Added new Token_Strategy_Test
7089 * tests/Token_Strategy_Test.cpp:
7090 Fixed small compile error that appeared with the BCB compiler
7092 Mon Feb 25 17:17:37 2002 UTC Don Hinton <dhinton@ieee.org>
7094 * ace/Select_Reactor.h:
7095 * ace/Select_Reactor_Base.h:
7096 * ace/Select_Reactor_T.h: Added a new typedef, ACE_SELECT_TOKEN,
7097 to Select_Reactor_Base.h so that the choice of TOKEN type can be
7098 made prior to typedefing the class. This allows the use of the
7099 TOKEN type within the paramaterized class, i.e.,
7100 ACE_Select_Reactor_Token_T and ACE_Select_Reactor_T. Otherwise
7101 you get an error on some compilers, e.g., M$VC, that complain
7102 about generic types.
7104 Mon Feb 25 15:53:56 2002 UTC Don Hinton <dhinton@ieee.org>
7106 * ace/Synch.i (queueing_strategy): Added ACE_UNUSED_ARG for unused
7107 queueing_strategy parameter, thanks to Craig Rodrigues
7108 <crodrigu@bbn.com> for pointing this out.
7110 Mon Feb 25 09:17:39 2002 Chris Cleeland <cleeland_c@ociweb.com>
7112 * ace/SSL/SSL_Context.cpp (dh_params): Wrapped the second argument
7113 to ACE_OS::fopen with ACE_TEXT so that it behaves properly on
7114 wide character platforms. Thanks to Craig Rodrigues for
7115 pointing this out and Ossama Othman for explaining the
7116 difference btw. ACE_TEXT and ACE_LIB_TEXT.
7118 Mon Feb 25 13:50:43 2002 UTC Don Hinton <dhinton@ieee.org>
7120 * ace/Token.{h|i|cpp}: Added the ability to chose the queueing
7121 strategy, FIFO or LIFO, by using the queueing_strategy()
7122 methods. The default is FIFO, which was the previous behavior.
7123 Now ACE_Token_Queue::insert_entry() is always called with the
7124 queueing_strategy in order to determine where the thread should
7127 * ace/Synch.{h|i}: Added queueing strategy methods to
7130 * ace/Select_Reactor_T.{h|cpp}:
7131 * ace/TP_Reactor.{h|cpp}: Added QUEUEING_STRATEGY parameter to
7132 ACE_Select_Reactor_Token_T, ACE_Select_Reactor_T, and
7133 ACE_TP_Reactor ctors with FIFO default.
7135 * tests/Token_Strategy_Test.cpp :
7137 * tests/run_test.lst: Added new Token_Strategy_Test.cpp to test
7138 the FIFO/LIFO strategies.
7140 Mon Feb 25 13:44:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
7142 * docs/tutorials/018/Test_T.h:
7143 Added missing include of Atomic_Op.h
7145 Fri Feb 22 15:54:32 2002 Craig Rodrigues <crodrigu@bbn.com>
7147 * ace/Refcounted_Auto_Ptr.h: Fix comment, thanks to
7148 Serge Kolgan <skolgan@objectsciences.com>.
7150 Fri Feb 22 09:31:35 2002 Craig Rodrigues <crodrigu@bbn.com>
7152 * ace/QoS/QoS_Session_Factory.h (ACE_QoS_Session_Type):
7153 Change "const static" to "static const" to remove gcc 3.1
7156 Fri Feb 22 08:07:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
7158 * ace/Makefile.bor: Added String_Base.cpp and Atomic_op.cpp to the
7159 list of files that must be installed when doing a make install.
7160 Thanks to Cyrille Ch�p�lov <cyrille@softek.fr> for reporting that
7163 Thu Feb 21 16:33:11 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
7165 * docs/tutorials/007: Rename Thread_Pool::open() to
7166 Thread_Pool::start() and Thread_Pool::close() to
7167 Thread_Pool::stop() and fixed all the usages. Also removed the
7168 unneeded parameter from stop() and removed the unneeded
7169 re-definition of close() (since we are not shadowing it any
7170 more). Thanks to Peter Heitman <pheitman@cisco.com> for
7173 Thu Feb 21 13:12:44 2002 Chris Cleeland <cleeland_c@ociweb.com>
7175 * ace/SSL/SSL_Context.* (ACE_SSL_Context): Added new methods to
7176 specify Diffie-Hellman parameters. These parameters are
7177 required when using DSA certificates/keys. The new methods are
7178 dh_params, dh_params_file_name, and dh_params_file_type.
7180 Thu Feb 21 09:32:56 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
7182 * ace/TTY_IO.cpp (control): Use the appropriate B* macros to set
7183 all the baudrate cases. Thanks to Olli Savia <ops@iki.fi> for
7186 * ace/Signal.cpp (dispatch): Added a cast of (ACE_SignalHandler)
7187 to the SIG_DFL parameter so things will work on IRIX 6.5 with
7188 GCC 3.0.1. Thanks to Dan Green <dan.c.green@lmco.com> for
7191 Thu Feb 21 13:09:13 2002 Craig Rodrigues <crodrigu@bbn.com>
7193 * ace/streams.h: strstream was deprecated in the 1998 ISO C++
7194 standard [D.7 depr.str.strstreams], and has been replaced by
7195 sstream. Including <strstream> or <strstream.h> causes annoying
7196 warnings with gcc 3.1. Since strstream and sstream are not used
7197 internally within ACE or TAO, remove includes for strstream, and
7198 let the developer include them in their own code.
7200 Wed Feb 20 15:26:43 2002 Phil Mesnier <mesnier_p@ociweb.com>
7202 * apps/soreduce/Library.cpp:
7203 * apps/soreduce/Library.h:
7204 * apps/soreduce/Makefile:
7205 * apps/soreduce/Obj_Module.cpp:
7206 * apps/soreduce/Obj_Module.h:
7207 * apps/soreduce/README:
7208 * apps/soreduce/SO_Group.cpp:
7209 * apps/soreduce/SO_Group.h:
7210 * apps/soreduce/Sig_List.cpp:
7211 * apps/soreduce/Sig_List.h:
7212 * apps/soreduce/Signature.cpp:
7213 * apps/soreduce/Signature.h:
7214 * apps/soreduce/soreduce.cpp:
7215 New application to assist in production of reduced footprint
7216 shared libraries for specific collections of applications. For
7217 more details see the enclosed README.
7219 Wed Feb 20 14:18:14 2002 Phil Mesnier <mesnier_p@ociweb.com>
7222 * ace/Process.h: Added a new method
7223 ACE_Process_Options::release_handles() to fix the trouble of
7224 using a pipe as stdout, where the pipe closes completely when
7225 the child terminates. This method replaces some functionality in
7226 the Process options destructor.
7228 Wed Feb 20 13:01:25 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
7230 * ace/Atomic_Op.i: Fix the return value of the ACE_GUARD_RETURN
7231 macros so that if the lock fails, the comparison also fails.
7232 Thanks to Ivan Pia <pia@octet.spb.ru> for reporting this.
7234 Wed Feb 20 17:00:34 2002 Balachandran Natarajan <bala@cs.wustl.edu>
7236 * include/makeinclude/platform_sunos5_sunc++.GNU: Users who use
7237 5.2 and above could use native exceptions with inlining turned
7238 on. Thanks to Ken O'Brien <kmobrien@fedex.com> for reporting
7241 * THANKS: Added Ken O'Brien <kmobrien@fedex.com> to the hall of
7244 Mon Feb 18 23:17:08 2002 Christopher Kohlhoff <chris@kohlhoff.com>
7246 * ACEXML/parser/parser/Makefile.bor:
7247 Changed library name for the Borland build to be consistent with the
7250 * include/makeinclude/ace_flags.bor:
7251 Added macros for the ACEXML Parser library.
7253 * ACEXML/examples/Makefile.bor:
7254 * ACEXML/examples/SAXPrint/Makefile.bor:
7255 Added Borland makefiles for the SAXPrint example.
7257 Mon Feb 18 20:16:27 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
7259 * ace/Acceptor.cpp (make_svc_handler):
7260 * ace/Connector.cpp (make_svc_handler): There doesn't seem to be
7261 anypoint in *conditionally* assigning the Acceptor/Connector's
7262 reactor to the Svc_Handler, so we'll just assign it...
7264 Mon Feb 18 18:41:33 2002 Steve Huston <shuston@riverace.com>
7266 Integrated the following from the ACE 5.2 stream:
7268 Wed Feb 13 15:37:41 2002 Steve Huston <shuston@riverace.com>
7270 * ace/Hash_Cache_Map_Manager_T.h: Added #include "ace/Synch.h" to
7271 pick up ACE_Null_Mutex.
7273 * tests/Process_Manager_Test.cpp: Added #include "ace/Thread.h" to
7274 pick up ACE_Thread::self ().
7276 * tests/Refcounted_Auto_Ptr_Test.h (new file):
7277 * tests/Refcounted_Auto_Ptr_Test.cpp: Moved definition of Printer
7278 from .cpp to .h so Visual Age C++ can find it when instantiating
7279 templates. Also removes the compile warning where the compiler
7280 warns that the test won't work...
7282 Tue Feb 12 21:59:42 2002 Steve Huston <shuston@riverace.com>
7284 * include/makeinclude/platform_aix_ibm.GNU: Added -qstaticinline
7285 to CCFLAGS to tell compiler to generate inlined functions with
7286 static scope instead of extern scope (how stupid is this?).
7287 Removed error suppression options which should be unnecessary now.
7289 Sat Feb 9 18:34:59 2002 Steve Huston <shuston@riverace.com>
7291 * examples/C++NPv1/Reactive_Logging_Server_Ex.h: Removed an extra
7292 master_handle_set_.set_bit call. Thanks to Craig Perras
7293 <craigp@iswnet.com> for reporting this.
7295 Sat Feb 9 13:49:44 2002 Steve Huston <shuston@riverace.com>
7297 * ace/Hash_Map_With_Allocator_T.h: Added #include "ace/Synch.h" to
7298 see the definition of ACE_Null_Mutex.
7300 * ace/config-all.h (ACE_RCSID): Make generated function static to
7301 keep Visual Age C++ from complaining about the multiple definitions.
7303 Fri Feb 8 16:20:51 2002 Steve Huston <shuston@riverace.com>
7305 * ace/config-aix-4.x.h: Removed #define ACE_TEMPLATES_REQUIRE_SOURCE
7306 for Visual Age C++ 5. As it turns out, wherever the compiler sees
7307 source and a template is referenced, it generates the template
7308 class functions used. This is very bad for size as well as for
7309 situations counting on only one such as ACE_Singleton.
7311 Also added support for explicit template instantiation with Visual
7312 Age C++. If the preprocessor define __TEMPINC__ is not defined,
7313 explicit instantiation is turned on.
7315 Mon Feb 4 17:21:39 2002 Steve Huston <shuston@riverace.com>
7317 * ace/Singleton.h (ACE_TSS_Singleton): Added ACE_UNIMPLEMENTED_FUNCS
7318 for assignment and copy ctor methods. This is necessary to allow
7319 the *_SINGLETON_DECLARE macro, that explicitly instantiates a
7320 template class on Win32, to compile clean when instantiating an
7321 ACE_TSS_Singleton class. Thanks very much to Nanbor Wang for
7322 direction on solving this problem.
7324 * ace/config-win32-msvc-6.h: Added ACE_NEEDS_FUNC_DEFINITIONS. This
7325 avoids warnings when explicitly instantiating an entire class, as
7326 with ACE_TSS_Singleton and *_SINGLETON_DECLARE, above.
7329 Mon Feb 18 18:23:49 2002 Steve Huston <shuston@riverace.com>
7331 * ace/Reactor.h: Clarified behavior with respect to remaining
7332 queued notifications when end_reactor_event_loop() is called
7333 or when the reactor instance is closed/deleted.
7335 Mon Feb 18 19:28:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
7341 * ace/Timer_Queue_Adapters.h:
7342 * ace/config-win32-msvc-7.h:
7343 * netsvcs/lib/Client_Logging_Handler.h:
7344 * netsvcs/lib/Name_Handler.h:
7345 * netsvcs/lib/TS_Clerk_Handler.h:
7346 * netsvcs/lib/TS_Server_Handler.h:
7348 Made ACE compiling with the Microsoft Visual C++ 7 compiler.
7349 Template classes cannot be exported when doing a dynamic build, so
7350 removed some export macro's from template definitions. When a class
7351 is derived from a class template then the class template must be
7352 explicit instantiated and be exported. To make sure that we only do
7353 this when a compiler supports this we introduced the new define
7354 ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION_EXPORT. Also vc++ 7 generates
7355 now a warning when a class is exported is derived from a class that
7358 The following info was given by Microsoft on this:
7359 The reason that a template can't be exported anymore is that it is
7360 unlikely that anyone wants to export all specializations of a
7361 class template. When B is a template and D is a class, the
7362 construction 'class ACE_Export D : public B<D>' should
7363 give no problems, but unfornately there is a bug in the vc++
7366 That's why we now explicit export the template instantations in ace.
7368 Mon Feb 18 11:00:17 2002 Nanbor Wang <nanbor@cs.wustl.edu>
7370 * html/index.html: Added an entry for ACEXML document.
7372 * ace/OS.h: Removed the extern "C" link designator from the
7373 typedef of ACE_Service_Object_Exterminator and the definition of
7374 gobbler functions in ACE_FACTORY_DEFINE. They are not used
7375 outside of a DLL so it's okay to have a mangled gobbler name.
7376 Thanks to Doug for noticing this.
7378 Mon Feb 18 11:12:39 2002 Steve Huston <shuston@riverace.com>
7380 * ace/Refcounted_Auto_Ptr.h: Improved Doxygenation of some comments.
7382 Mon Feb 18 10:45:00 2002 Craig Rodrigues <crodrigu@bbn.com>
7384 * ace/QoS/QoS_Session_Factory.h:
7386 ACE_QoS_Session_Factory::ACE_DEFAULT_QOS_SESSION. Give
7387 ACE_QoS_Session_Factory::create_session() a default argument of
7388 ACE_DEFAULT_QOS_SESSION.
7390 * ace/QoS/QoS_Session_Factory.cpp:
7391 Set the value of ACE_DEFAULT_QOS_SESSION to ACE_RAPI_SESSION on
7392 platforms with RAPI RSVP support. Set it to
7393 ACE_GQOS_SESSION on Win32 platforms with GQoS support.
7394 Otherwise, issue a compilation error, since these are the only
7395 two QoS types supported currently.
7397 * examples/QOS/Change_Receiver_FlowSpec/receiver.cpp:
7398 * examples/QOS/Change_Receiver_FlowSpec/sender.cpp:
7399 * examples/QOS/Change_Sender_TSpec/receiver.cpp:
7400 * examples/QOS/Change_Sender_TSpec/sender.cpp:
7401 * examples/QOS/Simple/receiver.cpp:
7402 * examples/QOS/Simple/sender.cpp:
7403 Remove reference to ACE_RAPI_SESSION from invocations of
7404 create_session(), leave it empty and choose default argument
7405 instead. This will allow the examples to compile and run on
7408 Mon Feb 18 08:07:59 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
7410 * ace/String_Base.{h,i}: Added two new overloaded operators that
7411 work on characters. Thanks to Martin Krumpolec
7412 <krumpolec@asset.sk> for contributing these patches.
7414 Mon Feb 18 13:05:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
7417 Added ACE_NEW_NORETURN macro. This macro is the same as ACE_NEW
7418 but doesn't do a return when an out of memory error occured so that
7419 the caller can do extra handling.
7421 * tests/New_fail_test.cpp:
7422 Extended this test to test the new ACE_NEW_NORETURN macro.
7424 Mon Feb 18 01:45:07 2002 Christopher Kohlhoff <chris@kohlhoff.com>
7426 * include/makeinclude/compiler.bor:
7427 * include/makeinclude/make_flags.bor:
7428 Added support for Borland C++Builder 6.
7430 Sun Feb 17 16:32:01 2002 Venkita <venkita@cs.wustl.edu>
7432 * ACE version 5.2.2 released.
7434 Sun Feb 17 16:03:03 2002 Nanbor Wang <nanbor@cs.wustl.edu>
7436 * etc/acexml.doxygen: Fixed the output directory name for ACEXML.
7438 Fri Feb 15 10:50:26 2002 Venkita Subramonian <venkita@cs.wustl.edu>
7440 * ace/Dynamic_Service.h:
7441 Fixed compile error. Added forward declaration for
7444 Thu Feb 14 19:10:04 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
7446 * ace/Refcounted_Auto_Ptr.h: Make the rep_ protected rather
7447 than private. Rodney Morris <rodyland@hotmail.com> for
7450 Thu Feb 14 15:26:06 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
7452 * ace/Dynamic_Service.i (instance): Fixed instance to use an
7453 ACE_dynamic_cast() so that the vptr is set correctly. Thanks to
7454 Bill Dyer <bill.dyer@visogent.com> for suggesting this.
7456 Thu Feb 14 16:15:50 2002 Balachandran Natarajan <bala@cs.wustl.edu>
7458 * COPYING: Updated copyright years.
7460 Thu Feb 14 11:25:39 2002 Nanbor Wang <nanbor@cs.wustl.edu>
7462 * ACEXML/docs/bugs.txt:
7463 * ACEXML/docs/guidelines.txt: Updated document.
7465 Thu Feb 14 08:17:40 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
7467 * ace/config-all.h: There was a subtle difference between the
7468 ACE_NEW based on try/catch and a 0 pointer. The version based on
7469 the fact that new can return 0 always sets the pointer to 0 when
7470 a memory error occured. The version that is based on try/catch
7471 the pointer wasn't set to 0. If the pointer had a different
7472 value, the pointer stays at the old value and wasn't set to 0.
7473 This is now fixed. Thanks to Peter van Merkerk
7474 <Peter.van.Merkerk@meco.nl> for noticing this and to Johnny
7475 Willemsen for reporting it.
7477 * ace/Strategies_T.h:
7478 * ace/Strategies_T.i: Allow the reactor of the Svc Handler to be
7479 set to the reactor passed to the Creation Strategy. Thanks to
7480 David Smith <smithdav@tycoelectronics.com> for motivating this.
7482 Thu Feb 14 01:14:40 2002 Nanbor Wang <nanbor@cs.wustl.edu>
7484 * include/makeinclude/ace_flags.bor: Updated ACE_XML_CFLAGS.
7485 Thanks to Johnny Willemsen for reminding this.
7487 Thu Feb 14 01:01:10 2002 Nanbor Wang <nanbor@cs.wustl.edu>
7489 * ACEXML/ACEXML.dsw:
7490 * ACEXML/common/XML_Common.dsp:
7491 * ACEXML/examples/SAXPrint/SAXPrint.dsp:
7492 * ACEXML/parser/debug_validator/Debug_Validator.dsp:
7493 * ACEXML/parser/parser/Parser.dsp:
7494 * ACEXML/tests/NamespaceSupport_Test.dsp:
7495 * ACEXML/tests/Transcoder_Test.dsp: Updated base include directories.
7497 Thu Feb 14 00:20:39 2002 Nanbor Wang <nanbor@cs.wustl.edu>
7501 * ACEXML/common/Attributes.h:
7502 * ACEXML/common/AttributesImpl.cpp:
7503 * ACEXML/common/AttributesImpl.h:
7504 * ACEXML/common/Attributes_Def_Builder.cpp:
7505 * ACEXML/common/Attributes_Def_Builder.h:
7506 * ACEXML/common/CharStream.cpp:
7507 * ACEXML/common/CharStream.h:
7508 * ACEXML/common/ContentHandler.h:
7509 * ACEXML/common/DTDHandler.h:
7510 * ACEXML/common/DTD_Manager.cpp:
7511 * ACEXML/common/DTD_Manager.h:
7512 * ACEXML/common/DefaultHandler.cpp:
7513 * ACEXML/common/DefaultHandler.h:
7514 * ACEXML/common/Element_Def_Builder.cpp:
7515 * ACEXML/common/Element_Def_Builder.h:
7516 * ACEXML/common/EntityResolver.h:
7517 * ACEXML/common/Env.cpp:
7518 * ACEXML/common/Env.h:
7519 * ACEXML/common/ErrorHandler.h:
7520 * ACEXML/common/Exception.cpp:
7521 * ACEXML/common/Exception.h:
7522 * ACEXML/common/FileCharStream.cpp:
7523 * ACEXML/common/FileCharStream.h:
7524 * ACEXML/common/InputSource.cpp:
7525 * ACEXML/common/InputSource.h:
7526 * ACEXML/common/Locator.h:
7527 * ACEXML/common/LocatorImpl.cpp:
7528 * ACEXML/common/LocatorImpl.h:
7529 * ACEXML/common/Makefile:
7530 * ACEXML/common/NamespaceSupport.cpp:
7531 * ACEXML/common/NamespaceSupport.h:
7532 * ACEXML/common/SAXExceptions.cpp:
7533 * ACEXML/common/SAXExceptions.h:
7534 * ACEXML/common/Transcode.cpp:
7535 * ACEXML/common/Transcode.h:
7536 * ACEXML/common/Validator.cpp:
7537 * ACEXML/common/Validator.h:
7538 * ACEXML/common/XMLFilter.h:
7539 * ACEXML/common/XMLFilterImpl.cpp:
7540 * ACEXML/common/XMLFilterImpl.h:
7541 * ACEXML/common/XMLReader.h:
7542 * ACEXML/common/XML_Types.h:
7543 * ACEXML/examples/SAXPrint/Makefile:
7544 * ACEXML/examples/SAXPrint/Print_Handler.h:
7545 * ACEXML/examples/SAXPrint/SAXPrint_Handler.h:
7546 * ACEXML/examples/SAXPrint/main.cpp:
7547 * ACEXML/parser/debug_validator/Debug_Attributes_Builder.cpp:
7548 * ACEXML/parser/debug_validator/Debug_Attributes_Builder.h:
7549 * ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp:
7550 * ACEXML/parser/debug_validator/Debug_DTD_Manager.h:
7551 * ACEXML/parser/debug_validator/Debug_Element_Builder.cpp:
7552 * ACEXML/parser/debug_validator/Debug_Element_Builder.h:
7553 * ACEXML/parser/debug_validator/Element_Tree.cpp:
7554 * ACEXML/parser/debug_validator/Element_Tree.h:
7555 * ACEXML/parser/parser/Entity_Manager.cpp:
7556 * ACEXML/parser/parser/Entity_Manager.h:
7557 * ACEXML/parser/parser/Makefile:
7558 * ACEXML/parser/parser/Parser.cpp:
7559 * ACEXML/parser/parser/Parser.h:
7560 * ACEXML/tests/Makefile:
7561 * ACEXML/tests/NamespaceSupport_Test.cpp:
7562 * ACEXML/tests/Transcoder_Test.cpp:
7563 * etc/acexml.doxygen: Renamed directory XML to ACEXML and moved the
7564 base directory to include XML related files to $(ACE_ROOT).
7565 Thanks to Johnny Tucker <jtucker@magisnetworks.com> for the
7568 Wed Feb 13 17:42:32 2002 Balachandran Natarajan <bala@cs.wustl.edu>
7570 * ace/Configuration.cpp (operator=): Fixed a warning in g++
7571 builds. Stupid mistake on my part :(.
7573 Wed Feb 13 12:45:06 2002 Balachandran Natarajan <bala@cs.wustl.edu>
7575 * ace/Configuration.cpp:
7576 * tests/Config_Test.cpp (iniCompare): Fixed memory leaks. Thanks
7577 to Johnny willemson for providing the patches.
7579 Wed Feb 13 11:46:54 2002 Nanbor Wang <nanbor@cs.wustl.edu>
7581 * XML/parser/parser/Makefile: Added a library (-lACEXML) to link
7582 to. Thanks to John Michael Zorko <j.zorko@att.net> for
7585 Tue Feb 12 20:30:53 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
7587 * ace/WIN32_Proactor.cpp (handle_events): When the proactor
7588 was called by the reactor in handle_signal() this method should
7589 loop till all events are done. But the loop never got executed
7590 twice because handle_events returned 1 on success and the loop
7591 exits. To catch more than one notifications handle_events
7592 should be called again. Even if the loop is executed twice and
7593 no more events are outstanding handle_events should return 0 and
7594 not -1 when calling with timeout 0. Calling
7595 GetQueuedCompletionStatus with timeout value 0 returns FALSE and
7596 errno "ERROR_SUCCESS". This check has to be added to
7597 handle_events and 0 has to be returned. Thanks to Hartmut Quast
7598 <HartmutQuast@t-online.de> for reporting this.
7600 Tue Feb 12 16:18:59 2002 Ossama Othman <ossama@uci.edu>
7602 * tests/Proactor_Test.cpp (logflag):
7603 * tests/TP_Reactor_Test.cpp (logflag):
7605 Removed these unused global variables. Fixes an unused variable
7608 Tue Feb 12 11:50:18 2002 Nanbor Wang <nanbor@cs.wustl.edu>
7610 * bin/pippen.pl: Applied a patch from "the source" to fix a
7611 problem in determining project dependencies.
7613 Tue Feb 12 09:37:56 2002 Ossama Othman <ossama@uci.edu>
7617 Corrected EGCS documentation. Native exception support is now
7618 the default. [Bug 1149]
7620 G++ 2.7.x is no longer supported. Updated accordingly.
7622 Mon Feb 11 16:31:04 2002 Ossama Othman <ossama@uci.edu>
7624 * bin/make_pretty.pl (is_warning):
7626 Do not flag Fuzz's "#pragma warning(push)/(pop)" test title as a
7629 Mon Feb 11 13:49:35 2002 Ossama Othman <ossama@uci.edu>
7631 * bin/fuzz.pl (check_for_push_and_pop):
7633 New test that verifies the number of #pragma warning(push)
7634 pragmas matches the number of #pragma warning(pop) pragmas.
7636 * examples/IPC_SAP/SSL_SAP/SSL-client.cpp (shared_client_test):
7637 * examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
7638 (shared_client_test):
7640 Do not convert the buffer length to network byte order when
7641 allocating the buffer. Fixes excessive memory allocation. This
7642 was apparently a cut-n-paste bug. Thanks to M Schulze
7643 <m2.schulze@gmx.net>.
7647 Added M Schulze to the Hall of Fame.
7649 Mon Feb 11 05:42:02 2002 Balachandran Natarajan <bala@cs.wustl.edu>
7651 * ace/Connector.h: Fixed a typo in the coments. Thanks to Miljenko
7652 Norsic (ETK) <Miljenko.Norsic@etk.ericsson.se> for reporting
7655 Sun Feb 10 16:28:30 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
7657 * ace/config-macosx.h
7658 * ace/config-freebsd.h
7659 * ace/config-freebsd-pthread.h
7661 * TODO: Removed the ACE_USES_HIGH_BAUD_RATES macro since it no longer
7662 seems to be necessary. Thanks to Olli Savia <ops@iki.fi> for
7665 * ace/TTY_IO.cpp: Replaced the two strcmp() calls with one
7666 strcasecmp(). Thanks to Olli Savia <ops@iki.fi> for reporting
7669 Sat Feb 9 15:17:45 2002 Balachandran Natarajan <bala@cs.wustl.edu>
7671 * bin/make_release: Changed the path of gv as a new version of GV
7672 was installed on deuce.doc. The old version had less colors and
7673 it started mapping them to a smaller range. The graphs looked
7674 very ugly. The new version fixes the problem and hence a change
7677 Fri Feb 8 22:56:29 2002 Balachandran Natarajan <bala@cs.wustl.edu>
7679 * ace/Log_Msg.cpp (log): Fixed a warning in TRU 64 builds.
7681 Fri Feb 8 14:54:21 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
7683 * apps/JAWS2/Makefile (LDFLAGS):
7684 * apps/JAWS2/HTTPU/Makefile (LDFLAGS): Fixed some makefile bugs so
7685 that this stuff compiles on AIX. Thanks to Steve Ige
7686 <steve.ige@reuters.com> for reporting this.
7688 Thu Feb 7 18:13:03 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
7690 * tests/ACE_Init_Test.cpp (wait_and_kill_dialog): Replaced the call
7691 to EndDialog() with EndModalLoop() to fix a race condition.
7692 Thanks to Petru Marginean <petrum@ilx.com> for reporting this.
7694 Fri Feb 8 14:02:06 2002 Balachandran Natarajan <bala@cs.wustl.edu>
7696 * THANKS: Added Marco Kranawetter
7697 <Marco.Kranawetter@icn.siemens.de> to the hall of fame.
7699 Fri Feb 08 11:24:36 2002 Nanbor Wang <nanbor@cs.wustl.edu>
7701 * ace/String_Base.h:
7702 * ace/Task_T.h: Removed the ACE_Export decl from ACE_Task and
7703 ACE_String_Base. They were added as work-aronds for a VC7's
7704 internal compiler bug but didn't seem to solve the problem.
7705 Thanks to Patrick Bennett <patrickb@inin.com>, Johnny, and
7706 Christian Veleba <christian.veleba@porsche.co.at> for reporting
7709 Thu Feb 7 16:19:39 2002 Steve Huston <shuston@riverace.com>
7711 * ace/config-all.h: Define new macros, ACE_nothrow and ACE_nothrow_t,
7712 to decide which variety of nothrow is used in new (nothrow). At
7713 this point, HP aC++ is the only platform defined to use this
7714 feature, so that's the only section that defines it.
7716 * ace/Svc_Handler.(cpp h):
7717 * examples/Shared_Malloc/test_persistence.cpp: Use the new
7718 ACE_nothrow[_t] macros in overridden operator new.
7720 Thu Feb 7 14:11:31 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
7722 * ace/Singleton.cpp (close): Fixed the implementation so that the
7723 ACE_Unmanaged_Singleton's internal singleton point is reset to 0
7724 after cleanup to avoid double-deletion. Thanks to Marc Walrave
7725 <marc.walrave@meco.nl> for this fix.
7727 Thu Feb 7 07:52:47 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
7729 * ace/Activation_Queue.{h,i}: Added get/set methods to access/update
7730 the underlying ACE_Message_Queue so users can call methods on
7731 the queue directly if necessary. Thanks to Timothy Kilbourn
7732 <kilbourn@sep.com> for reporting this.
7734 Tue Feb 5 07:25:49 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
7736 * tests/TP_Reactor_Test.cpp: Improved the comments to clarify the
7737 differences between this test and the Thread_Pool_Reactor_Test.cpp.
7738 Thanks to Alex Libman for explaining this.
7740 Thu Feb 7 08:16:24 2002 Oliver Kellogg <oliver.kellogg@sysde.eads.net>
7742 * ACE-INSTALL.html: Document the include_env=1 make switch.
7744 * docs/exceptions.html: Replaced the "Transition from TAO_TRY
7745 to ACE_TRY" section with "Transition from ACE_TRY_ENV usage
7748 Wed Feb 6 06:57:35 2002 Balachandran Natarajan <bala@cs.wustl.edu>
7750 * tests/run_test.lst: Disabled TP_Reactor_Test as the test is
7753 Tue Feb 5 11:59:00 2002 Craig Rodrigues <crodrigu@bbn.com>
7755 * tests/TP_Reactor_Test.cpp (disable_signal): Eliminate unused
7756 arguments warning on Win32 platforms.
7758 Mon Feb 4 16:22:20 2002 Craig Rodrigues <crodrigu@bbn.com>
7760 * ace/OS.h: Include <new> instead of <new.h> if
7761 ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB is defined.
7763 Mon Feb 4 19:58:03 2002 Boris Kolpackov <bosk@ipmce.ru>
7767 Fixed minor bug in what's just commited before.
7768 Thanks to Craig Rodrigues <crodrigu@bbn.com>
7769 for pointing it out.
7771 Mon Feb 4 14:11:14 2002 Boris Kolpackov <bosk@ipmce.ru>
7776 Added ability to install custom backend which is a
7777 per-process entity as opposite to callback which is
7778 a per-thread not-inheritable entity.
7780 Sun Feb 3 17:59:36 2002 Krishnakumar B <kitty@cs.wustl.edu>
7782 * ace/config-sunos5.5.h (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION):
7784 Explicitly defined the above macro as this is needed for SunOS
7785 gcc to work. This was inside a __SUNPRO_CC #ifdef. I missed that
7786 in my previous change. This should fix the builds under SunOS
7789 Sun Feb 3 18:32:29 2002 Craig Rodrigues <crodrigu@bbn.com>
7791 * tests/TP_Reactor_Test.cpp: Use size_t instead of long
7792 and int for index_ and sessions_ in order to eliminate
7793 more compiler warnings.
7795 Sun Feb 3 09:20:04 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
7797 * tests/TP_Reactor_Test.cpp: Fixed a bunch of warnings. Thanks
7798 to Venkita for reporting this.
7800 Sun Feb 3 08:22:28 2002 Venkita Subramonian <venkita@cs.wustl.edu>
7803 Regenerated makefile to create dependencies for TP_Reactor_Test.
7805 Sun Feb 3 08:05:12 2002 Venkita Subramonian <venkita@cs.wustl.edu>
7807 * tests/TP_Reactor_Test.dsp (RSC):
7808 Regenerated the file in MSVC++.
7810 Sun Feb 3 11:16:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
7812 * tests/TP_Reactor_Test.cpp:
7813 Fixed compile error in BCB unicode build
7815 Sat Feb 2 07:45:51 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
7817 * tests/run_test.lst:
7818 * tests/TP_Reactor_Test.dsp:
7819 * tests/Makefile.bor:
7820 * tests/Makefile: Added the TP_Reactor_Test.
7822 * tests/TP_Reactor_Test.cpp: Added another test of the ACE_TP_Reactor.
7823 Thanks to Alex Libman for contributing this.
7825 * ace/config-irix6.x-common.h: IRIX 6.5 supports AIO, so we'll
7826 enable these features. Thanks to Alex Libman for validating
7829 * ace/Select_Reactor_T.cpp: Fixed work_pending() so that it takes
7830 into account pending timers that need to be expired. Thanks to
7831 Russ Noseworthy for reporting this.
7833 * ace/Select_Reactor_T.cpp: Simplified the logic for calculating
7834 timeouts in wait_for_multiple_events().
7836 * ace/Process.{h,i,cpp}: When using ACE_Process_Options with the
7837 inherit_environment set to off, i.e., ACE_Process_Options opts
7838 (0), ACE_Process::spawn() was improperly setting the environment
7839 in the child's process after fork (), before exec (). Changed
7840 ACE_Process::spawn to check for the inherit_environment flag,
7841 and to use the execve () call instead of execvp () if
7842 inherit_environment is false. Thanks to James Risinger
7843 <jrisinger@SignalSoftCorp.com> for contributing this fix.
7845 * ace/Process.{h,i}: Added "const" to the various accessor methods.
7847 Sat Feb 2 00:01:36 2002 Venkita Subramonian <venkita@cs.wustl.edu>
7849 * ace/config-sunos5.6.h:
7850 Added missing #endif.
7852 Fri Feb 1 23:42:03 2002 Venkita Subramonian <venkita@cs.wustl.edu>
7857 Fri Feb 1 21:08:37 2002 Steve Huston <shuston@riverace.com>
7859 * tests/Framework_Component_Test.icc:
7860 * tests/Vector_Test.icc: New Visual Age C++ test configurations.
7862 * tests/tests.icp: Add new test configurations to the project.
7864 Fri Jan 1 19:33:49 2002 Steve Huston <shuston@riverace.com>
7866 * ace/Vector.(h i cpp): Removed 'const' from the 2nd template
7867 argument (size_T DEFAULT_SIZE). A size_t is always const,
7868 and having const there causes errors from HP aC++. I'm not sure
7869 if they're completely legit, but Stroustrup 3rd Ed says the
7870 template argument is const anyway... if this is a problem,
7873 Fri Feb 1 18:53:44 2002 Steve Huston <shuston@riverace.com>
7875 * ace/ace.icc: Added Framework_Component.(h cpp) to the files list.
7877 Fri Feb 1 10:19:46 2002 Jeff Parsons <parsons@cs.wustl.edu>
7883 Fri Feb 01 00:00:12 2002 Nanbor Wang <nanbor@cs.wustl.edu>
7886 * ace/Thread_Manager.h: Added more explanation on how to use the
7887 <task> argument. Thanks to Petr Shelomovsky
7888 <pedrodon@trustworks.com> for motivating the change.
7890 Thu Jan 31 19:18:37 2002 Steve Huston <shuston@riverace.com>
7892 * ace/NT_Service.{h cpp}: To avoid race condition at shutdown time,
7893 moved the call to report_status(SERVICE_STOPPED, 0) from the
7894 open() method to a new override of the fini() method. Setting
7895 status to SERVICE_STOPPED frees up Windows to do its own shutdown
7896 for the service, and that can't be allowed to commence until all
7897 ACE_NT_Service things are done. Thanks to Zoran Cetusic
7898 <ZoranC@inter-intelli.com>, Patrick Bennett and Felix Wyss from
7899 Interactive Intelligence, Inc. for diagnosing this problem and
7902 * THANKS: Added Zoran Cetusic, Patrick Bennett, and Felix Wyss to
7905 Thu Jan 31 17:00:52 2002 Balachandran Natarajan <bala@cs.wustl.edu>
7907 * ace/config-all.h: Need to include <new> with all versions of
7908 SunCC compiler and not just CC 5.0, when the compiler is using
7910 * ace/config-sunos5.6.h: Need to define ACE_LACKS_ACE_IOSTREAM
7911 when higher versions of CC are used with compat mode 4 and
7914 Thanks to Tim Rydell <tim.rydell@gd-ais.com> for the fixes.
7916 * THANKS: Added Tim Rydell to the hall of fame.
7918 Thu Jan 31 17:21:49 2002 Steve Huston <shuston@riverace.com>
7920 * ace/Trace.cpp (constructor and destructor): Do not attempt
7921 trace output if ACE has not been initialized. There is too
7922 much not set up yet to bother trying. If you are on a platform
7923 with ACE_HAS_NONSTATIC_OBJECT_MANAGER (such as Windows) and you
7924 really, really need tracing in static objects, you should
7925 try #define ACE_HAS_NONSTATIC_OBJECT_MANAGER 0 in your config.h
7926 along with #define ACE_NTRACE 0. Beware, though, there are
7927 crocodiles lurking there - platforms defined to use non-static
7928 object manager are that way for good reason.
7930 Thank you to Shmulik Regev <shmul@vself.com> for reporting this.
7932 Thu Jan 31 13:32:07 2002 Nanbor Wang <nanbor@cs.wustl.edu>
7934 * XML/common/XML_Common.dsp: Fixed the LIB path to use relative
7937 Thu Jan 31 19:18:16 2002 Oliver Kellogg <oliver.kellogg@sysde.eads.net>
7939 * include/makeinclude/wrapper_macros.GNU:
7940 Corrected placement of the include_env switch.
7941 include_env=1 is only sensible in combination with
7942 exceptions=1. NB: The include_env switch is only
7943 intended to facilitate transition to the ACE_ENV_ARG
7944 macros and should not be used for new applications.
7945 There will be unused-variable warnings when using this
7946 build configuration.
7948 Thu Jan 31 11:57:07 2002 Nanbor Wang <nanbor@cs.wustl.edu>
7950 * XML/parser/debug_validator/Debug_Attributes_Builder.cpp:
7951 * XML/parser/debug_validator/Debug_Element_Builder.cpp:
7952 Temporarily removed unused arguments.
7954 * XML/common/FileCharStream.cpp (get): Made sure the character
7955 read from the input file was converted to ACEXML_Char type
7956 correctly. Casted the read XML_Char before comparing it to
7959 Thu Jan 31 13:06:12 2002 Boris Kolpackov <bosk@ipmce.ru>
7963 Added Koushik Banerjee to the hall of fame.
7965 Wed Jan 30 22:41:39 2002 Krishnakumar B <kitty@cs.wustl.edu>
7967 * include/makeinclude/platform_linux.GNU (CXX_VERSION):
7969 Made it work when someone wants to turn off the implicit
7970 template instantiation. Care should be taken to #define
7971 ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION in config.h also.
7972 Surprisingly the code compiles without that also...
7974 Wed Jan 30 17:22:49 2002 Steve Huston <shuston@riverace.com>
7976 * ace/Process.cpp (wait (const ACE_Time_Value&, ACE_exitcode *)):
7977 * ace/Process_Manager.cpp (wait (pid_t, const ACE_Time_Value&,
7979 The mechanism for waiting up to a specified time for a child
7980 process to exit has been replaced. Replaces the fix from:
7981 Fri Jan 25 19:58:41 2002 Steve Huston <shuston@riverace.com>
7982 and makes unnecessary any further work from:
7983 Sat Jan 26 21:41:39 2002 Steve Huston <shuston@riverace.com>
7985 Both classes now do a timed wait for a child by doing an
7986 ACE_OS::sleep, counting on being interrupted if a SIGCHLD
7987 is delivered. In ACE_Process_Manager when a reactor hasn't
7988 been specified, and always in ACE_Process, a temporary
7989 SIGCHLD handler is installed for the duration of the wait.
7990 This is necessary because the default SIGCHLD action on
7991 POSIX (and holds true for most non-Win32) is SIG_IGN, and
7992 SIGCHLD is not generated when a child process exits.
7993 Therefore, a handler is installed to force the SIGCHLD.
7994 It's not needed in ACE_Process_Manager when a reactor is in
7995 place because the reactor already has a handler for SIGCHLD.
7997 Wed Jan 30 15:11:49 2002 Krishnakumar B <kitty@cs.wustl.edu>
7999 * include/makeinclude/platform_linux.GNU (CXX_VERSION):
8000 * ace/config-g++-common.h:
8002 Turned off explicit template instantiation with gcc under Linux.
8003 The specific versions are 2.95.x, 2.96, 3.0.x (3.x). Added a
8004 flag implicit_templates to tweak the behaviour from the
8005 platform_macros.GNU file.
8007 The combination of the compiler and binutils seems to give a
8008 nice reduction in the footprint.
8010 Wed Jan 30 16:00:39 2002 Steve Huston <shuston@riverace.com>
8012 * ace/Process_Manager.cpp (register_handler): Replaced ECHILD with
8013 EINVAL if the pid is not found. Probably a more accurate
8014 assessment of the situation, and should compile clean on WinCE.
8016 Wed Jan 30 13:50:17 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
8018 * docs/index.html: Fixed the ACE-inheritance.pdf document so
8019 it isn't gzipped. Thanks to Michael Searles
8020 <msearles@base16.com> for reporting this.
8022 Wed Jan 30 09:28:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
8024 * XML/parser/debug_validator/Debug_Attributes_Builder.cpp:
8025 * XML/parser/debug_validator/Debug_DTD_Manager.cpp:
8026 * XML/parser/debug_validator/Debug_Element_Builder.cpp:
8027 * XML/parser/debug_validator/Element_Tree.cpp:
8028 Added missing ACE_LIB_TEXT. This fixes the BCB unicode build errors
8030 Tue Jan 29 20:11:21 2002 Balachandran Natarajan <bala@cs.wustl.edu>
8032 * etc/*.doxygen (EXPAND_AS_DEFINED): Added ACE_CACHE_MAP_MANAGER
8033 to the list in EXPAND_AS_DEFINED. Thanks to Don Hinton
8034 <dhinton@ieee.org> for the suggestion.
8036 Tue Jan 29 19:36:24 2002 Balachandran Natarajan <bala@cs.wustl.edu>
8038 * bin/make_release: The whole release process has been moved to
8039 Linux box. This is because the sun machines at WashU were having
8040 problems and they are not dependable. The following are the list
8043 - All the path related stuff have been changed ie. instead of
8044 using /pkg/gnu tools, we use native tools on Linux now.
8046 - The gnu suffixes to many of the tools have been removed.
8048 - Most of the path to the tools have been hardcoded in the PATH
8049 environment variabe.
8051 - Tools that were missing have been loaded on 3 main Linux boxes
8052 at WashU including Graphviz and doxygen.
8054 - A beta cannot be cut from a sun box.
8056 - The script will recommend cutting a beta from deuce.doc.
8058 The script has been tested with a dummy release.
8060 Tue Jan 29 16:01:54 2002 Ossama Othman <ossama@uci.edu>
8062 * bin/fuzz.pl (check_for_missing_rir_env):
8064 Check for ACE_ENV_ARG_PARAMETER instead of
8065 TAO_ENV_ARG_PARAMETER. The latter is deprecated.
8067 Tue Jan 29 20:47:24 2002 Oliver Kellogg <oliver.kellogg@sysde.eads.net>
8069 * docs/exceptions.html: Document the new ACE_ENV_ macros.
8071 * bin/subst_env.pl: Transform to ACE_ENV_ instead of TAO_ENV_.
8073 Tue Jan 29 08:39:24 2002 Oliver Kellogg <oliver.kellogg@sysde.eads.net>
8075 * ace/CORBA_macros.h:
8076 Added ACE_ENV_ARG macros to replace the TAO_ENV_ARG macros
8077 defined in TAO/tao/orbconf.h. All exception related macros
8078 are now defined in ace/CORBA_macros.h, and the TAO_ENV_ARG
8079 macros will soon be deprecated.
8081 * include/makeinclude/wrapper_macros.GNU:
8082 Added the include_env switch for compatibility with the
8083 exception handling use before TAO 1.2.2.
8085 Tue Jan 29 08:17:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
8087 * include/makeinclude/ace_flags.bor:
8088 Added compiler flags for new cosevent orbsvcs test library CECTEST
8089 Added compiler flags for new notify orbsvcs test library NotifyTests
8091 Mon Jan 28 17:44:51 2002 Steve Huston <shuston@riverace.com>
8093 * ace/Process_Manager.cpp (wait): When waiting for a non-specific
8094 process, specify -1 pid for waitpid(). This is necessary because
8095 of Fri Jan 25 19:58:41 2002 Steve Huston <shuston@riverace.com>
8096 change to not alter the process group ID when ACE_Process_Manager
8098 Timed waits for a process still don't work on non-Win32, but
8099 this fix corrects the failed wait with errno == ECHILD.
8101 Mon Jan 28 12:16:28 2002 Carlos O'Ryan <coryan@uci.edu>
8103 * bin/auto_run_tests.lst:
8104 Removed EC_Basic and Event_Latency tests from nightly builds, I
8105 left them there by mistake when I took them out of the
8106 repository (around December, 25th 2001)
8108 Mon Jan 28 13:20:32 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8110 * XML/common/AttributesImpl.cpp: Removed a bunch of inline
8113 Sun Jan 27 22:18:50 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8115 * bin/msvc_auto_compile.pl: Projects in XML subdirectory are
8116 interdependent. List out the order they should be built
8119 Sun Jan 27 12:48:48 2002 Ossama Othman <ossama@uci.edu>
8121 * bin/auto_run_tests.lst
8122 * bin/performance_stats.sh:
8124 Updated in accordance with the new TAO "Latency" performance
8127 Sun Jan 27 12:08:45 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8129 * XML/common/Transcode.h (ACEXML_Transcoder): Improved the
8132 The followings fixed the Tru64 warnings/errors.
8134 * XML/common/AttributesImpl.i (operator):
8135 * XML/common/Env.i: Reordered inline functions.
8137 * XML/tests/Transcoder_Test.cpp: Removed an unused argument.
8139 * XML/common/Attributes_Def_Builder.h: Added inclusion of
8142 * XML/examples/SAXPrint/SAXPrint_Handler.cpp:
8143 * XML/examples/SAXPrint/Print_Handler.cpp: Added inclusion of
8146 Sun Jan 27 15:03:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
8149 Build the XML library with BCB
8151 * XML/parser/Makefile.bor:
8152 Added debug_validator
8154 * XML/parser/debug_validator/Makefile.bor:
8157 Sat Jan 26 19:02:49 2002 Ossama Othman <ossama@uci.edu>
8159 * ace/Process_Manager.cpp (register_handler):
8161 Corrected code that always returned -1. Code that should only
8162 have been run on error was always run since it was outside of an
8163 "if block." Curly braces are a good thing (they were missing).
8165 Sat Jan 26 21:41:39 2002 Steve Huston <shuston@riverace.com>
8167 * ace/Process_Manager.cpp (wait): Fixed compiler warning on
8168 Linux about unused wait_until. This fix removes the ability
8169 to spin around the 'for' loop waiting for signals multiple
8170 times with the timeout decreasing to account for wait time.
8171 Will have to come back to restore this functionality later.
8173 Sat Jan 26 14:40:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
8175 * include/makeinclude/ace_flags.bor:
8176 Added compiler and linker flags for new XML library
8178 * XML/common/Makefile.bor:
8179 * XML/parser/parser.Makefile.bor:
8181 * XML/parser/Makefile.bor:
8182 * XML/tests/Makefile.bor:
8183 Added BCB makefiles for the new XML library.
8185 Fri Jan 25 19:58:41 2002 Steve Huston <shuston@riverace.com>
8187 * ace/Process_Manager.cpp (wait(pid_t, const ACE_Time_Value &,
8188 ACE_exitcode *status)): If platform offers sigtimedwait, use it
8189 instead of setting ualarm and then doing sigwait. Once ualarm
8190 is set, it will fire, even if this method has returned. This
8191 causes Solaris processes to die on SIGALRM.
8193 Also, do not play with the process group ID by default. It's
8194 not needed for doing normal signal management by most processes.
8195 If processes really have a need to change or set a new process
8196 group, they need to do it explicitly by using ACE_OS::setpgid()
8197 or by setting a process group ID in an ACE_Process_Options object
8198 when spawning processes.
8200 * tests/Process_Manager_Test.cpp: Added a bit more diagnostic info.
8202 Fri Jan 25 18:29:37 2002 Steve Huston <shuston@riverace.com>
8204 * ace/config-aix-4.x.h: Removed ACE_HAS_SIGTIMEDWAIT. It compiles,
8205 but returns ENOSYS at run time.
8207 * ace/config-aix5.1.h: Added ACE_HAS_SIGTIMEDWAIT.
8209 Fri Jan 25 15:36:40 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8211 * ace/ace_dll.dsp: Removed /version flags from the project since
8212 they have been taken care of by ace.rc file. Thanks to Ossama
8213 for pointing it out.
8215 Fri Jan 25 14:45:00 2002 Venkita Subramonian <venkita@cs.wustl.edu>
8217 * bin/auto_run_tests.lst:
8218 Added Two_Objects test to the list.
8220 Fri Jan 25 14:40:15 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8222 * XML/common/Exception.cpp:
8223 * XML/common/NamespaceSupport.cpp:
8224 * XML/common/SAXExceptions.cpp:
8225 * XML/parser/parser/Parser.cpp: Moved the initialization of static
8226 members before the inclusion of inline files to avoid
8227 compilation erros on Borland compiler. Thanks to Johnny
8228 Willemsen <jwillemsen@remedy.nl> for figuring this out.
8230 Fri Jan 25 14:31:06 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8232 * XML/common/NamespaceSupport.cpp:
8233 * XML/parser/parser/Parser.cpp: Fixed several KCC warnings.
8235 Fri Jan 25 12:01:14 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8237 The following changes fixed SunCC5.1 compilation errors.
8239 * XML/common/Makefile:
8240 * XML/parser/parser/Makefile:
8241 * XML/tests/Makefile:
8242 * XML/examples/SAXPrint/Makefile: Removed extra spaces for -I
8245 * XML/common/Attributes_Def_Builder.h: Removed a redundant comma.
8247 * XML/common/NamespaceSupport.i: Changed
8248 ACE_TEMPLATE_METHOD_SPECIALIZATION to
8249 ACE_TEMPLATE_SPECIALIZATION.
8251 * XML/tests/NamespaceSupport_Test.cpp: String literals needed to
8252 be assigned to const char *.
8254 Fri Jan 25 09:42:12 2002 Ossama Othman <ossama@uci.edu>
8258 Corrected inconsistency in the DLL minor version. The correct
8259 minor version for the ACE 5.2 series is "2," not "1."
8261 Fri Jan 25 11:21:28 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8263 * bin/msvc_auto_compile.pl: Added XML into the list of auto build
8266 Fri Jan 25 00:37:00 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
8268 * We now have 1,400 contributors to the ACE+TAO software. Yow!
8270 Thu Jan 24 17:49:46 2002 Balachandran Natarajan <bala@cs.wustl.edu>
8272 * ace/CDR_Stream.i: Fixed the check for the length within
8273 ACE_InputCDR::read_*_array (). The method was checking just for
8274 length passed in, which happens to be the number of elements in
8275 the array, instead of the number of bytes necessary for the
8276 elements. Thanks to William R Volz <WRVO@chevrontexaco.com> for
8279 * THANKS: Added William Volz to the hall of fame.
8281 Thu Jan 24 18:31:49 2002 Steve Huston <shuston@riverace.com>
8283 * tests/Process_Manager_Test.cpp: Better diagnostics added.
8285 Thu Jan 24 15:14:52 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8287 * ace/Lib_Find.cpp (ldfind): Restored previously removed Win32
8288 code and re-organized macros so we wouldn't upset CE builds.
8290 Thu Jan 24 14:53:38 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8292 * bin/generate_doxygen.pl:
8293 * etc/acexml.doxygen: Added the doxygen config file for XML
8296 * Makefile: Added XML subdirectory into the lists to be compiled
8297 and be included in the release.
8299 * XML/*: Merged in the XML parser code.
8301 Thu Jan 24 10:14:47 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8303 * ace/ace_wchar.h: Added the definition for ACE_TEXT_SearchPath.
8305 * ace/Lib_Find.cpp (ldfind): Fixed UNICODE and Fuzz builds
8306 errors. Thanks to Johnny Willemsen <jwillemsen@remedy.nl> for
8309 Wed Jan 23 16:48:54 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8312 * ace/Lib_Find.cpp (ldfind): Change to use Win32 API SearchPath to
8313 search for the target DLL and updated the document for ldfind in
8314 header file. Thanks to Eugene Alterman
8315 <Eugene.Alterman@bremer-inc.com> for submitting the patch.
8317 Wed Jan 23 14:01:32 2002 Ossama Othman <ossama@uci.edu>
8319 * ace/config-lynxos.h (ACE_LACKS_INET_ATON):
8321 LynxOS does not implement the inet_aton() function.
8323 Wed Jan 23 16:37:52 2002 Steve Huston <shuston@riverace.com>
8325 * ace/NT_Service.cpp (insert): If the CreateService call fails,
8326 be sure to save the error value before making another Win32 call
8327 that will smash it. Thanks to Kelly Hickel <kfh@mqsoftware.com>
8329 Also ACE-ified the source better.
8331 * examples/NT_Service/main.cpp: Added some ACE_ERROR output if
8332 operations requested from the command line fail.
8334 Wed Jan 23 16:14:43 2002 Boris Kolpackov <bosk@ipmce.ru>
8336 * include/makeinclude/platform_sunos5_sunc++.GNU
8338 Added work around for famous Sun CC "pure virtual function called"
8339 bug. Unfortunately this involves introduction of yet another #define.
8340 See TAO/tao/ValueBase.h for more information.
8342 Tue Jan 22 21:27:25 2002 Balachandran Natarajan <bala@cs.wustl.edu>
8344 * ace/ace_dll.vcp: Add Frameork_Component.* to the builds. Thanks
8345 to Venkita for pointing it out.
8347 Tue Jan 22 17:42:39 2002 Steve Huston <shuston@riverace.com>
8349 * ace/NT_Service.(h cpp): Added two new methods:
8350 void capture_log_msg_attributes (void): Grabs a copy of the
8351 calling thread's ACE_OS_Log_Msg_Attributes to facilitate
8352 inheritance of the logging attributes in the service thread.
8353 void inherit_log_msg_attributes (void): Called in a service
8354 thread, inherits the main thread's logging attributes.
8355 Modified the ACE_NT_SERVICE_RUN macro to capture the main
8356 thread's logging attributes before starting the service control
8357 dispatcher. Modified the ACE_NT_SERVICE_DEFINE macro to call
8358 inherit_log_msg_attributes if the ACE_NT_Service object for
8359 the service was set up before the thread started.
8360 Fixes Bugzilla # 82.
8362 * examples/NT_Service/main.cpp:
8363 * examples/NT_Service/ntsvc.cpp: Now writes a log file in the current
8364 working directory which should have messages from both main and
8365 service threads in it.
8367 Tue Jan 22 15:19:29 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8369 * ace/DLL.cpp: Changed to invoke this->open() in the
8370 constructor. Thanks to Eugene Alterman
8371 <Alterman@bremer-inc.com> for motivating this.
8373 Mon Jan 21 23:27:03 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8375 * ace/OS.h: Reordered main redefinition macros so that it actually
8376 passed wchar argv to main when UNICODE is defined.
8378 Mon Jan 21 10:01:34 2002 Frank Hunleth <fhunleth@cs.wustl.edu>
8380 * bin/auto_run_tests.lst:
8381 Added MIOP unit tests.
8383 Mon Jan 21 03:00:14 2002 Ossama Othman <ossama@uci.edu>
8385 * ace/Framework_Component.cpp (register_component):
8387 Removed debugging statements that always printed text.
8389 Mon Jan 21 07:45:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
8391 * ace/Framework_Component.cpp:
8394 Mon Jan 21 00:13:42 2002 Christopher Kohlhoff <chris@kohlhoff.com>
8397 Workaround for Borland C++ 5.5.1 bug we have now just hit.
8399 Sun Jan 20 21:42:53 2002 Balachandran Natarajan <bala@cs.wustl.edu>
8401 * ace/Framework_Component.cpp:
8402 * ace/Framework_Component_T.cpp: Fixed fuzz errors.
8404 2002-01-20 Oliver Kellogg <oliver.kellogg@sysde.eads.net>
8406 * bin/subst_env.pl: New script to ease the transition to the
8407 TAO_ENV_ARG macros defined in TAO/tao/orbconf.h.
8409 Sun Jan 20 12:38:28 2002 Balachandran Natarajan <bala@cs.wustl.edu>
8411 * tests/Framework_Component_Test.dsp: New dsp file for the test.
8412 * tests/tests.dsw: Added the above test to the workspace.
8414 Sun Jan 20 12:25:28 2002 Balachandran Natarajan <bala@cs.wustl.edu>
8416 * ace/Framework_Component.h: Removed the definition of the
8417 default constructor (in ACE_UNIMPLEMENTED_FUNC definition). The
8418 other private constructor with a default argument tends towards
8419 a default constructor and VC++ signals a multiple definition
8420 error. Not sure how g++ didnt signal this one.
8422 * ace/Framework_Component_T.h: #include'd Framework_Component.h
8423 * ace/Framework_Component_T.cpp: Added a #ifndef around the file.
8426 * ace/ace_lib.dsp: Added the Framwork_Component* files to the
8429 Sun Jan 20 10:40:28 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8431 * tests/Vector_Test.dsp:
8432 * tests/tests.dsw: Added a new project for Vector_Test.
8434 Sun Jan 20 16:25:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
8437 Added new Framework_Component
8439 * tests/Makefile.bor:
8440 Added new Framework_Component_Test
8442 Sun Jan 20 00:00:30 2002 UTC Don Hinton <dhinton@ieee.org>
8444 * ace/Vector_T.cpp (dump): Commented out the contents of this
8445 function for the time being. It assumed that the element
8446 was an object with a dump() method, which won't always be
8449 * tests/Vector_Test.cpp: Changed a few data types from signed
8450 to unsigned, size_t, to get rid of compiler warnings.
8452 Sat Jan 19 17:29:50 2002 Douglas C. Schmidt <schmidt@siesta.cs.wustl.edu>
8454 * ace/Vector_T.cpp (dump): Fixed problems with this method. Thanks
8455 to Don Hinton for reporting this.
8457 * tests/Vector_Test.cpp: Changed the typedef of DATA from int to
8458 size_t to avoid "type mismatch" compiler warnings. Thanks to
8459 Don Hinton for reporting this.
8461 Sat Jan 19 22:30:26 UTC 2002 Don Hinton <dhinton@ieee.org>
8463 * apps/JAWS2/JAWS/Hash_Bucket_T.h:
8464 * apps/JAWS2/JAWS/Assoc_Array.h: Added missing keyword "class" to
8465 friend declarations.
8467 * ace/SString.cpp: Removed unneeded include of Service_Config.h.
8469 * ace/Service_Config.{h|cpp}:
8470 * examples/Connection/misc/Connection_Handler.cpp:
8472 Removed static methods from ACE_Service_Config that delegated to
8473 ACE_Reactor::instance(), and fixed a few instances where they were
8476 * ace/Object_Manager.cpp:
8477 * ace/Service_Config.cpp:
8481 Added call to instance() methods that registers the singleton with
8482 the new ACE_Framework_Repository so it can handle destruction, and
8483 replaced explicit references to ACE_Reactor and ACE_Proactor with
8484 calls to ACE_Framework_Repository.
8486 * ace/Framework_Component.{h|inl|cpp}:
8487 * ace/Framework_Component_T.{h|inl|cpp}:
8489 * tests/Framework_Component_Test.cpp:
8491 * tests/run_test.lst:
8493 Added ACE_Framework_Repository to manage ACE_Framework_Component's,
8494 e.g., singletons like ACE_Reactor or ACE_Proactor. It uses
8495 External Polymorphism obviating any interface changes. The
8496 components register themselves with repository in their instance
8497 methods. This allows the Object_Manager and Service_Config to
8498 manage these components without having to know about them a priori.
8500 This was needed to reduce footprint for applications like TAO that
8501 don't need to use all the available components, e.g., ACE_Proactor.
8503 Sat Jan 19 10:23:39 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
8505 * ace/Makefile (TEMPLATE_FILES):
8506 * tests/Makefile.bor:
8508 * tests/run_test.lst:
8509 * ace/Vector_T.{h,i,cpp}:
8510 * tests/Vector_Test.cpp: Added support for the new ACE_Vector to
8511 the appropriate places. This vector behaves like the STL
8512 vector. Thanks to Gonzo and Craig Ching for contributing this.
8514 * ace/Future_Set.h: Updated the documentation to explain how
8515 various features work better. Thanks to Johnny Tucker for
8518 Fri Jan 18 19:09:41 2002 Steve Huston <shuston@riverace.com>
8520 * tests/run_test.lst: Re-enabled Process_Manager_Test for all but
8521 Chorus and VxWorks. Could not find a reason it was disabled.
8522 Also enabled Process_Mutex_Test on Win32.
8524 Fri Jan 18 16:44:29 2002 Steve Huston <shuston@riverace.com>
8526 * ace/ace.icc: Added Reactor_Notification_Strategy.(h cpp) sources.
8528 * ace/Reactor_Notification_Strategy.cpp: Fixed ACE_RCSID to refer to
8529 Reactor_Notification_Strategy, not Strategies.
8531 * tests/Get_Opt_Test.icc:
8532 * tests/INET_Addr_Test.icc: New Visual Age C++ configs for these tests.
8534 * tests/tests.icp: Added Get_Opt_Test.icc and INET_Addr_Test.icc
8536 Fri Jan 18 12:56:36 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
8538 * ace/Log_Msg.cpp (init_backend): Added support for SysLog on platforms
8539 that don't lack it. Thanks to Alexei I. Adamovich
8540 <lexa@adam.botik.ru> for reporting this fix.
8542 Fri Jan 18 10:29:06 2002 Ossama Othman <ossama@uci.edu>
8544 * ace/Service_Config.h (process_file):
8545 * ace/Service_Config.cpp (process_directives, process_file):
8547 Factored out code that processes a svc.conf file into the new
8548 static process_file() method. This allows svc.conf files to be
8549 explicitly parsed by the application at any arbitrary point in
8550 time instead of Service Configuration initialization time alone.
8552 Thu Jan 17 18:51:09 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
8554 * ace/Name_Space.cpp (operator =): Fixed a memory leak. Thanks
8555 to Ian Cahoon <icahoon@cisco.com> for reporting this.
8557 Thu Jan 17 12:13:51 2002 Ossama Othman <ossama@uci.edu>
8559 * ace/SSL/SSL_Context.h (private_key, verify_private_key):
8561 Added new documentation. These methods should only be called
8562 after a certificate has been set since key verification is
8563 performed against the certificate, among other things.
8565 Thu Jan 17 13:11:27 2002 Chad Elliott <elliott_c@ociweb.com>
8567 * ace/Message_Queue.h:
8568 * ace/Message_Queue.cpp:
8569 * ace/Message_Queue_T.h:
8570 * ace/Message_Queue_T.cpp:
8572 Provide the ability to enqueue based on the message deadline and
8573 to dequeue based on priority, deadline and from the end.
8575 Wed Jan 16 11:24:52 2002 Priyanka Gontla <pgontla@ece.uci.edu>
8578 Updated to add Gerhard Voss <Gerhard_Voss@t-online.de>.
8580 Wed Jan 16 06:19:01 2002 Douglas C. Schmidt <schmidt@siesta.cs.wustl.edu>
8582 * ace/OS.i: Replaced "set" with "sset" in sigtimedwait() and sigwait()
8583 to avoid STL symbol clashes with MSVC++ 6.0. Thanks to Shmulik
8584 Regev <shmul@vself.com> for reporting this.
8586 Wed Jan 16 09:01:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
8588 * ace/Containers_T.{h,cpp}:
8589 Added ACE_Fixed_Set_Const_Iterator to make it possible to
8590 iterate through a const ACE_Fixed_Set instance
8592 Wed Jan 16 07:53:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
8594 * include/makeinclude/ace_flags.bor:
8595 Added new flags for the new TAO ETCL orbsvcs library
8597 Tue Jan 15 17:24:53 2002 Steve Huston <shuston@riverace.com>
8599 * ace/SSL/SSL_Context.cpp (report_error()): Set ACE_OS::last_error()
8600 to ERR_get_error() so the caller can get the error code later.
8602 * ace/SSL/SSL_SOCK_Connector.cpp: If the SSL handshake phase of a
8603 connection attempt fails, close the underlying socket.
8605 Tue Jan 15 15:35:41 2002 Steve Huston <shuston@riverace.com>
8607 * ace/SOCK_Connector.(h cpp):
8608 * ace/LSOCK_Connector.(h i cpp):
8609 * ace/MEM_Connector.(h cpp):
8610 * ace/SSL/SSL_SOCK_Connector.(h cpp):
8611 Improved the Doxygenation and removed the protocol_family and
8612 protocol arguments from the ctors and connect() methods. The
8613 protocol family is always taken from the ACE_Addr remote_sap
8614 argument since it can now be either PF_INET or PF_INET6 (for
8615 SOCK_Connector objects) and should be PF_UNIX for LSOCKs.
8616 It is pointless to allow the user to request something that
8617 is impossible to do correctly.
8619 Tue Jan 15 10:52:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
8621 * include/makeinclude/ace_flags.bor:
8622 Added new flags for the new TAO PortableGroup library
8624 Mon Jan 14 14:40:25 2002 Carlos O'Ryan <coryan@uci.edu>
8627 Fixed small problems in the dependency generation:
8628 - The script did not properly handle files with '+' in their
8630 - In some cases the script generated escaped blanks, i.e. lines
8631 containing a blank preceded by a backslash. Such blanks are
8632 interpreted as part of a dependency name and break havoc with
8635 Mon Jan 14 16:49:37 2002 Steve Huston <shuston@riverace.com>
8637 * ace/OS.h (ACE_STATIC_SVC_DEFINE): Corrected the documentation to
8638 say the service-implementing class must be derived from
8639 ACE_Service_Object, not ACE_Service_Config.
8641 Mon Jan 14 07:40:16 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
8643 * ace/OS.i (mmap): There was a typo that prevented the ACE Memory Map
8644 stuff from working properly on Win9x. Thanks to Edan Ayal
8645 <edanayal@yahoo.com> for reporting this.
8647 Sun Jan 13 18:59:37 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
8649 * ace/Memory_Pool.{h,cpp}: Added a new option that makes is possible
8650 to control whether or not a fixed address will be used when
8651 remapping a memory-mapped file. Thanks to Jonathan Reis
8652 <reis@stentor.com> for this enhancement.
8654 Mon Jan 14 11:02:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
8656 * include/makeinclude/ace_flags.bor:
8657 Added flags for new TAO FT_ORB library
8659 Sun Jan 13 08:20:05 2002 Craig Rodrigues <crodrigu@bbn.com>
8661 * ace/config-all.h: Make sure that ACE_bad_alloc
8662 is defined as std::bad_alloc if
8663 ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB macro is set.
8664 Fixes gcc 3.0.3 compilation problem.
8666 Fri Jan 11 22:54:22 2002 Balachandran Natarajan <bala@cs.wustl.edu>
8668 * ace/config-lynxos.h: Added #define ACE_HAS_USING_KEYWORD to teh
8669 file. The compiler supports namespaces. According to the new
8670 rules at the doc_group, we dont use any compilers that dont
8671 support namespaces. The above macro is itself a waste. But we
8672 cannot remove it overnight as it has far reaching
8673 consequences. Working around that for the timebeing.
8675 Thu Jan 10 18:35:41 2002 Steve Huston <shuston@riverace.com>
8677 * ace/Profile_Timer.h: Clarified that elapsed_time() calculates time
8678 from start() to stop(). Improved Doxygenation.
8680 Thu Jan 10 16:53:41 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8682 * examples/Service_Configurator/IPC-tests/server/server.dsp: The
8683 Release version of the library needs to link in ADVAPI32.LIB as
8684 GetUserName is used in ACE's inline code.
8686 Wed Jan 9 22:07:50 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
8688 * ace/Logging_Strategy.cpp (fini): Make sure to cancel the
8689 timer if interval_ and max_size_ are > 0. Thanks to Yaniv Ben
8690 Ari <yanivb@bis.co.il> for reporting this.
8692 Wed Jan 9 11:38:58 2002 Ossama Othman <ossama@uci.edu>
8694 * tests/SSL/Makefile (LDLIBS):
8696 Added missing SSL and crypto libraries. Fixed link errors.
8697 Thanks to Marvin Wolfthal <maw@weichi.com> for reporting the
8698 error and suggesting a fix.
8700 Wed Jan 9 12:24:39 2002 Steve Huston <shuston@riverace.com>
8702 * ace/Process.cpp (spawn): Don't attempt ACE_OS::setpgid if
8703 ACE_LACKS_SETPGID is defined. Thanks to Victor Terber
8704 <vterber@csksoftware.de> for reporting this.
8706 Wed Jan 09 11:19:07 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8708 * ace/OS.h: Updated the comment for ACE_CE_Bridge to indicate that
8709 it's obsolete and will be removed in the future.
8711 Wed Jan 9 00:48:48 2002 Don Hinton <dhinton@gmx.net>
8713 * ace/Get_Opt.cpp: Make sure to cast away constness
8714 before deleting an ACE_TCHAR array. Thanks to
8715 Bala for reporting this.
8717 Tue Jan 8 17:29:33 2002 Steve Huston <shuston@riverace.com>
8719 * ace/SSL/SSL_SOCK_Connector.cpp: Don't try to dereference a 0
8720 timeout pointer. Gack. Thanks to Ossama for pointing this out.
8722 Tue Jan 8 15:51:06 2002 Don Hinton <dhinton@gmx.net>
8725 * ace/Service_Config.cpp:
8727 Moved the template instantiations from Service_Config.cpp to
8728 Get_Opt.cpp where they belong.
8730 * ace/Get_Opt.{h.cpp}: Replaced ACE_TString with ACE_TCHAR for
8731 type of member variable ACE_Get_Opt_Long_Option since it
8732 wasn't really needed and took up space.
8734 Tue Jan 8 10:43:48 2002 Ossama Othman <ossama@uci.edu>
8736 * ace/config-sunos5.5.h (ACE_LACKS_INET_ATON):
8738 Solaris does indeed implement the inet_aton() function, but it
8739 is found in `libresolv.*'. It doesn't seem worth it to link
8740 another library just for that function. Just use the emulation
8741 in ACE that has been used for years.
8743 Tue Jan 8 11:31:22 2002 Steve Huston <shuston@riverace.com>
8745 * tests/Makefile: When doing realclean, use the DLL_Test and
8746 Service_Config_DLL Makefiles to clean their files up.
8748 Tue Jan 8 08:36:33 2002 Steve Huston <shuston@riverace.com>
8750 * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
8751 * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect): Corrected order
8752 of operations checking EWOULDBLOCK, and fixed compile errors.
8753 Thanks to Vlado Chovanec <Vladimir.CHOVANEC@asset.sk> for this fix.
8755 Mon Jan 7 19:55:39 2002 Steve Huston <shuston@riverace.com>
8757 * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
8758 * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect): Added extra check
8759 for SSL_accept/connect status failure to avoid looping on a bad
8760 socket if the socket closes during handshake. Thanks to Vlado
8761 Chovanec <Vladimir.CHOVANEC@asset.sk> for this fix.
8763 Also added timeout countdown support for SSL_SOCK_Connector, same
8764 as in: Sun Jan 6 09:37:02 2002 Ossama Othman <ossama@uci.edu>
8766 Mon Jan 7 15:55:26 2002 Ossama Othman <ossama@uci.edu>
8768 * ace/INET_Addr.cpp (set):
8770 Pass a pointer to a "struct in_addr" to inet_aton(), i.e. the
8771 proper type, instead of a forcibly casted ACE_UINT32. Also
8772 updated existing code to use the in_addr::s_addr member instead
8773 of the previous ACE_UINT32 variable.
8775 Mon Jan 7 15:13:09 2002 Mayur Deshpande <mayur@ics.uci.edu>
8777 * performance-tests/Misc/context_switch_time.cpp (main):
8778 Since the Yield_test does seem to work on VxWorks now (see
8779 ChangeLog below), the 'ifdefs' for bypassing VxWorks for the
8780 Yield-Test have now been removed.
8782 Mon Jan 7 15:08:25 2002 Mayur Deshpande <mayur@ics.uci.edu>
8784 * ace/OS.i (thr_yield):
8785 Changed ::taskDelay (1) to ::taskDelay (0) for VxWorks in
8786 thr_yield (). The change with (0), now does seem to perform
8787 the yield correctly as reflected in the Yield-Test of
8788 context_switch_time. Thanks to Charlie Grames
8789 <charlie.grames@windriver.com> for this tip.
8791 Mon Jan 7 15:16:10 2002 Ossama Othman <ossama@uci.edu>
8793 * ace/OS.h (INADDR_NONE):
8795 If the platform does not define this constant, then define it.
8797 * ace/OS.cpp (inet_aton):
8799 For some reason we were emulating inet_aton() on all platforms
8800 using the now deprecated inet_addr() function. Use the native
8801 inet_aton() function unless ACE_LACKS_INET_ATON is defined.
8803 Instead of performing a memcpy() of the IPv4 32-bit address into
8804 the in_addr data structure, simply assign it to the s_addr field
8805 of that data structure. It's not clear why we didn't do this in
8810 Fixed PSoS emulation of this method. The result is supposed to
8811 be stored in a statically allocated string, not a dynamically
8812 allocated one. Fixes a memory leak. Note that this change
8813 makes the implementation non-reentrant. However, inet_ntoa()
8814 was not designed to be reentrant to begin with.
8816 * ace/OS.i (inet_addr):
8818 On error, inet_addr() is supposed to return INADDR_NONE.
8820 The return value should be a 32 bit unsigned integer, not a
8823 * ace/config-win32-common.h:
8825 MS Windows does not support the inet_aton() function. Define
8826 ACE_LACKS_INET_ATON.
8828 Mon Jan 7 12:20:26 2002 Ossama Othman <ossama@uci.edu>
8830 * bin/auto_run_tests.lst:
8832 Added the MT_SSLIOP test to the regression test suite list.
8834 Sun Jan 6 21:19:10 2002 John Aughey <jha@cs.wustl.edu>
8836 * tests/run_test.lst: Uncommented out Conn_Test from daily builds.
8838 Sun Jan 6 21:09:10 2002 John Aughey <jha@cs.wustl.edu>
8840 * ace/INET_Addr.cpp:
8843 Reverted to January 1 version until I have time to put the
8844 set_host_name() method in correctly.
8846 Sun Jan 6 20:01:10 2002 Balachandran Natarajan <bala@cs.wustl.edu>
8848 * tests/run_test.lst: Commented out Conn_Test from the daily
8849 builds. This test seems to hang blocking build progress. Have
8850 sent a mail to John Aughey on this.
8852 Sun Jan 6 09:37:02 2002 Ossama Othman <ossama@uci.edu>
8854 * ace/SSL/SSL_SOCK_Acceptor.cpp (accept, ssl_accept):
8856 Take into account the time to complete the basic TCP handshake
8857 and the SSL handshake. Specifically, ACE_Countdown_Time is used
8858 to reduce the timeout value after each IO operation
8859 (e.g. accept(), SSL_accept()) used during SSL passive connection
8860 establishment. [Bug 1110]
8862 Commented out debugging statements.
8864 Sat Jan 5 20:57:36 2002 Venkita Subramonian <venkita@cs.wustl.edu>
8866 * ace/Future.cpp (get): Added another ACE_const_cast in addition
8867 to Doug's changes to fix compile errors. See below.
8869 Sat Jan 5 14:57:36 2002 Craig Rodrigues <crodrigu@bbn.com>
8871 * ace/OS_QoS.h: Fix comments, put in doxygen format.
8873 Sat Jan 5 08:59:41 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
8875 * ace/Future.cpp (get): Added an ACE_const_cast() to silence certain
8876 C++ compilers. Thanks to Venkita for reporting this.
8878 Fri Jan 5 15:17:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
8881 Added ACE_TSS_Emulation::release_key() method to release a
8882 thread_key within the TSS_Emulation when a thread is stopped.
8883 Added ACE_TSS_Emulation::tss_keys_used_ member to administrate which
8884 thread_keys are used and which not.
8885 Added ACE_TSS_Keys::is_set() method to test whether a specific
8886 thread_key is marked as used.
8887 Changed ACE_TSS_Emulation::next_key() method to return a thread_key
8888 that is not used yet, this key is then marked as used at the same
8890 Changed ACE_OS::thr_keyfree() method to release the key in the
8891 TSS_Emulation when ACE_HAS_TSS_EMULATION is defined.
8893 These changes fix the bugzilla bugs 223 and 657. The ACE_TSS_Emulation
8894 now recycles keys that are released earlier.
8896 Fri Jan 4 19:59:03 2002 John Aughey <jha@cs.wustl.edu>
8898 * ace/INET_Addr.cpp: Fixed the new set_host_name method
8900 Fri Jan 4 18:59:27 2002 Balachandran Natarajan <bala@cs.wustl.edu>
8902 * ChangeLogs/ChangeLog-01b: Added a new file. Trimmed this file
8903 to have entries only in 2002.
8905 Fri Jan 4 15:50:42 2002 Steve Huston <shuston@riverace.com>
8907 * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
8908 * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect):
8909 On ACE::select-reported timeout or failure, set status to return
8910 a -1 to caller, not 0. Thanks to Vladimir Chovanec
8911 <Vladimir.CHOVANEC@asset.sk> for reporting this and sending a fix.
8913 Fri Jan 4 08:31:49 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
8915 * tests/Thread_Manager_Test.cpp (test_task_record_keeping): Fixed
8916 a typo in an expression on line 226. Thanks to Harvinder
8917 Sawhney <harvindersawhney@yahoo.com> for reporting this.
8919 Fri Jan 4 05:51:22 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
8921 * ace/Future.{h,cpp}: Made the get() and ready() methods const.
8922 Thanks to Ran Kohavi <ran@kashya.con> for reporting this.
8924 Fri Jan 4 15:06:31 2002 Steve Huston <shuston@riverace.com>
8926 * ace/String_Base.h (operator=): Add <CHAR> to ACE_String_Base
8927 return type. Fixes compile error on IBM C/C++.
8929 * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
8930 If SSL_get_error() returns SSL_ERROR_SYSCALL and it's EWOULDBLOCK,
8931 don't blindly set both read and write handles for select. Check
8932 if SSL is indicating SSL_want_write() and set the proper handle.
8933 Also, don't ACE_ASSERT SSL_pending before return... if there's
8934 an SSL handshake screw-up (like someone trying to break in)
8935 just report the failure, don't abort/crash.
8937 Wed Jan 02 13:27:09 2002 Nanbor Wang <nanbor@cs.wustl.edu>
8940 * ace/INET_Addr.cpp: Removed tabs and trailing whitespaces.
8942 Wed Jan 2 08:19:18 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
8944 * ace/FILE_Connector.h,
8945 * ace/OS.h (ACE_OS): Clarified the weak semantics of O_APPEND
8946 on Win32. Thanks to Eugene Alterman <eugalt@myrealbox.com> for
8949 Wed Jan 2 12:43:00 2002 John Aughey <jha@aughey.com>
8952 * ace/INET_Addr.cpp : Added set_host_name method and moved
8953 relevant code into this method. Changed signature of
8954 set_address method to take a void pointer rather than a
8957 Wed Jan 2 12:30:01 2002 Chris Gill <cdgill@cs.wustl.edu>
8960 * tests/RB_Tree_Test.cpp : added check for valid current node to
8961 forward_i and reverse_i methods of iterator base class. Thanks to
8962 Craig L. Ching <cching@mqsoftware.com> for reporting this!
8964 Wed Jan 2 08:19:18 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
8966 * tests/README: Clarify that run_test.pl should be used rather
8969 * tests/run_tests.bat: Clarify that run_test.pl should be used
8970 on Win9x. Thanks to Edward A Thompson <ed4becky_2000@yahoo.com>
8973 Wed Jan 2 07:37:01 2002 Balachandran Natarajan <bala@cs.wustl.edu>
8976 * ace/Handle_Set.cpp: Added a method reset_state () to the
8977 ACE_Handle_Set_Iterator class.
8979 Tue Jan 2 11:39:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
8982 Added missing ACE_UNUSED_ARG in ACE_OS::event_timedwait
8984 Tue Jan 1 15:36:39 2002 Steve Huston <shuston@riverace.com>
8986 * include/makeinclude/platform_sunos5_sunc++.GNU: Added support
8987 for the buildbits=64 make option.
8989 Tue Jan 1 20:05:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
8991 * ace/Name_Request_Reply.{h,cpp}:
8992 Changed type of 3 constructor arguments from size_t to ACE_UINT32
8993 because the members in which these arguments are stored are also
8997 In ACE_OS::umask method, changed the type in the ACE_OSCALL_RETURN
8998 macro from int to mode_t because that is the return type of the
9001 Tue Jan 1 08:47:25 2002 Douglas C. Schmidt <schmidt@siesta.cs.wustl.edu>
9003 * ace/Thread.h: Clarify how the ACE_Thread_Adapter is deleted
9004 when spawn() is called. Thanks to Preston Elder
9005 <prez@srealm.net.au> for reporting this confusion.
9007 Tue Jan 1 14:09:26 2002 Johnny Willemsen <jwillemsen@remedy.nl>
9009 * examples/Map_Manager/test_hash_map_manager.cpp:
9010 Made this example compiling when ACE_USES_WCHAR is set
9013 Added examples directory because all examples for which there are
9014 BCB makefiles now build when ACE_USES_WCHAR is set
9016 Tue Jan 1 00:02:12 2002 Nanbor Wang <nanbor@cs.wustl.edu>
9018 * ace/ace_dll.vcp: Added String_Base_Const.*.