Tue Jan 29 08:39:24 2002 Oliver Kellogg * ace/CORBA_macros.h: Added ACE_ENV_ARG macros to replace the TAO_ENV_ARG macros defined in TAO/tao/orbconf.h. All exception related macros are now defined in ace/CORBA_macros.h, and the TAO_ENV_ARG macros will soon be deprecated. * include/makeinclude/wrapper_macros.GNU: Added the include_env switch for compatibility with the exception handling use before TAO 1.2.2. Tue Jan 29 08:17:12 2002 Johnny Willemsen * include/makeinclude/ace_flags.bor: Added compiler flags for new cosevent orbsvcs test library CECTEST Added compiler flags for new notify orbsvcs test library NotifyTests Mon Jan 28 17:44:51 2002 Steve Huston * ace/Process_Manager.cpp (wait): When waiting for a non-specific process, specify -1 pid for waitpid(). This is necessary because of Fri Jan 25 19:58:41 2002 Steve Huston change to not alter the process group ID when ACE_Process_Manager spawns a process. Timed waits for a process still don't work on non-Win32, but this fix corrects the failed wait with errno == ECHILD. Mon Jan 28 12:16:28 2002 Carlos O'Ryan * bin/auto_run_tests.lst: Removed EC_Basic and Event_Latency tests from nightly builds, I left them there by mistake when I took them out of the repository (around December, 25th 2001) Mon Jan 28 13:20:32 2002 Nanbor Wang * XML/common/AttributesImpl.cpp: Removed a bunch of inline designators. Sun Jan 27 22:18:50 2002 Nanbor Wang * bin/msvc_auto_compile.pl: Projects in XML subdirectory are interdependent. List out the order they should be built explicitly. Sun Jan 27 12:48:48 2002 Ossama Othman * bin/auto_run_tests.lst * bin/performance_stats.sh: Updated in accordance with the new TAO "Latency" performance test organization. Sun Jan 27 12:08:45 2002 Nanbor Wang * XML/common/Transcode.h (ACEXML_Transcoder): Improved the documentation. The followings fixed the Tru64 warnings/errors. * XML/common/AttributesImpl.i (operator): * XML/common/Env.i: Reordered inline functions. * XML/tests/Transcoder_Test.cpp: Removed an unused argument. * XML/common/Attributes_Def_Builder.h: Added inclusion of "ace/Auto_Ptr.h". * XML/examples/SAXPrint/SAXPrint_Handler.cpp: * XML/examples/SAXPrint/Print_Handler.cpp: Added inclusion of "ace/Log_Msg.h". Sun Jan 27 15:03:12 2002 Johnny Willemsen * Makefile.bor: Build the XML library with BCB * XML/parser/Makefile.bor: Added debug_validator * XML/parser/debug_validator/Makefile.bor: Added BCB makefile Sat Jan 26 19:02:49 2002 Ossama Othman * ace/Process_Manager.cpp (register_handler): Corrected code that always returned -1. Code that should only have been run on error was always run since it was outside of an "if block." Curly braces are a good thing (they were missing). Sat Jan 26 21:41:39 2002 Steve Huston * ace/Process_Manager.cpp (wait): Fixed compiler warning on Linux about unused wait_until. This fix removes the ability to spin around the 'for' loop waiting for signals multiple times with the timeout decreasing to account for wait time. Will have to come back to restore this functionality later. Sat Jan 26 14:40:12 2002 Johnny Willemsen * include/makeinclude/ace_flags.bor: Added compiler and linker flags for new XML library * XML/common/Makefile.bor: * XML/parser/parser.Makefile.bor: * XML/Makefile.bor: * XML/parser/Makefile.bor: * XML/tests/Makefile.bor: Added BCB makefiles for the new XML library. Fri Jan 25 19:58:41 2002 Steve Huston * ace/Process_Manager.cpp (wait(pid_t, const ACE_Time_Value &, ACE_exitcode *status)): If platform offers sigtimedwait, use it instead of setting ualarm and then doing sigwait. Once ualarm is set, it will fire, even if this method has returned. This causes Solaris processes to die on SIGALRM. Also, do not play with the process group ID by default. It's not needed for doing normal signal management by most processes. If processes really have a need to change or set a new process group, they need to do it explicitly by using ACE_OS::setpgid() or by setting a process group ID in an ACE_Process_Options object when spawning processes. * tests/Process_Manager_Test.cpp: Added a bit more diagnostic info. Fri Jan 25 18:29:37 2002 Steve Huston * ace/config-aix-4.x.h: Removed ACE_HAS_SIGTIMEDWAIT. It compiles, but returns ENOSYS at run time. * ace/config-aix5.1.h: Added ACE_HAS_SIGTIMEDWAIT. Fri Jan 25 15:36:40 2002 Nanbor Wang * ace/ace_dll.dsp: Removed /version flags from the project since they have been taken care of by ace.rc file. Thanks to Ossama for pointing it out. Fri Jan 25 14:45:00 2002 Venkita Subramonian * bin/auto_run_tests.lst: Added Two_Objects test to the list. Fri Jan 25 14:40:15 2002 Nanbor Wang * XML/common/Exception.cpp: * XML/common/NamespaceSupport.cpp: * XML/common/SAXExceptions.cpp: * XML/parser/parser/Parser.cpp: Moved the initialization of static members before the inclusion of inline files to avoid compilation erros on Borland compiler. Thanks to Johnny Willemsen for figuring this out. Fri Jan 25 14:31:06 2002 Nanbor Wang * XML/common/NamespaceSupport.cpp: * XML/parser/parser/Parser.cpp: Fixed several KCC warnings. Fri Jan 25 12:01:14 2002 Nanbor Wang The following changes fixed SunCC5.1 compilation errors. * XML/common/Makefile: * XML/parser/parser/Makefile: * XML/tests/Makefile: * XML/examples/SAXPrint/Makefile: Removed extra spaces for -I flags. * XML/common/Attributes_Def_Builder.h: Removed a redundant comma. * XML/common/NamespaceSupport.i: Changed ACE_TEMPLATE_METHOD_SPECIALIZATION to ACE_TEMPLATE_SPECIALIZATION. * XML/tests/NamespaceSupport_Test.cpp: String literals needed to be assigned to const char *. Fri Jan 25 09:42:12 2002 Ossama Othman * ace/ace_dll.dsp: Corrected inconsistency in the DLL minor version. The correct minor version for the ACE 5.2 series is "2," not "1." Fri Jan 25 11:21:28 2002 Nanbor Wang * bin/msvc_auto_compile.pl: Added XML into the list of auto build targets. Fri Jan 25 00:37:00 2002 Douglas C. Schmidt * We now have 1,400 contributors to the ACE+TAO software. Yow! Thu Jan 24 17:49:46 2002 Balachandran Natarajan * ace/CDR_Stream.i: Fixed the check for the length within ACE_InputCDR::read_*_array (). The method was checking just for length passed in, which happens to be the number of elements in the array, instead of the number of bytes necessary for the elements. Thanks to William R Volz for reporting this. * THANKS: Added William Volz to the hall of fame. Thu Jan 24 18:31:49 2002 Steve Huston * tests/Process_Manager_Test.cpp: Better diagnostics added. Thu Jan 24 15:14:52 2002 Nanbor Wang * ace/Lib_Find.cpp (ldfind): Restored previously removed Win32 code and re-organized macros so we wouldn't upset CE builds. Thu Jan 24 14:53:38 2002 Nanbor Wang * bin/generate_doxygen.pl: * etc/acexml.doxygen: Added the doxygen config file for XML subdirectory. * Makefile: Added XML subdirectory into the lists to be compiled and be included in the release. * XML/*: Merged in the XML parser code. Thu Jan 24 10:14:47 2002 Nanbor Wang * ace/ace_wchar.h: Added the definition for ACE_TEXT_SearchPath. * ace/Lib_Find.cpp (ldfind): Fixed UNICODE and Fuzz builds errors. Thanks to Johnny Willemsen for the fix. Wed Jan 23 16:48:54 2002 Nanbor Wang * ace/Lib_Find.h: * ace/Lib_Find.cpp (ldfind): Change to use Win32 API SearchPath to search for the target DLL and updated the document for ldfind in header file. Thanks to Eugene Alterman for submitting the patch. Wed Jan 23 14:01:32 2002 Ossama Othman * ace/config-lynxos.h (ACE_LACKS_INET_ATON): LynxOS does not implement the inet_aton() function. Wed Jan 23 16:37:52 2002 Steve Huston * ace/NT_Service.cpp (insert): If the CreateService call fails, be sure to save the error value before making another Win32 call that will smash it. Thanks to Kelly Hickel for reporting this. Also ACE-ified the source better. * examples/NT_Service/main.cpp: Added some ACE_ERROR output if operations requested from the command line fail. Wed Jan 23 16:14:43 2002 Boris Kolpackov * include/makeinclude/platform_sunos5_sunc++.GNU Added work around for famous Sun CC "pure virtual function called" bug. Unfortunately this involves introduction of yet another #define. See TAO/tao/ValueBase.h for more information. Tue Jan 22 21:27:25 2002 Balachandran Natarajan * ace/ace_dll.vcp: Add Frameork_Component.* to the builds. Thanks to Venkita for pointing it out. Tue Jan 22 17:42:39 2002 Steve Huston * ace/NT_Service.(h cpp): Added two new methods: void capture_log_msg_attributes (void): Grabs a copy of the calling thread's ACE_OS_Log_Msg_Attributes to facilitate inheritance of the logging attributes in the service thread. void inherit_log_msg_attributes (void): Called in a service thread, inherits the main thread's logging attributes. Modified the ACE_NT_SERVICE_RUN macro to capture the main thread's logging attributes before starting the service control dispatcher. Modified the ACE_NT_SERVICE_DEFINE macro to call inherit_log_msg_attributes if the ACE_NT_Service object for the service was set up before the thread started. Fixes Bugzilla # 82. * examples/NT_Service/main.cpp: * examples/NT_Service/ntsvc.cpp: Now writes a log file in the current working directory which should have messages from both main and service threads in it. Tue Jan 22 15:19:29 2002 Nanbor Wang * ace/DLL.cpp: Changed to invoke this->open() in the constructor. Thanks to Eugene Alterman for motivating this. Mon Jan 21 23:27:03 2002 Nanbor Wang * ace/OS.h: Reordered main redefinition macros so that it actually passed wchar argv to main when UNICODE is defined. Mon Jan 21 10:01:34 2002 Frank Hunleth * bin/auto_run_tests.lst: Added MIOP unit tests. Mon Jan 21 03:00:14 2002 Ossama Othman * ace/Framework_Component.cpp (register_component): Removed debugging statements that always printed text. Mon Jan 21 07:45:12 2002 Johnny Willemsen * ace/Framework_Component.cpp: Fixed fuzz error Mon Jan 21 00:13:42 2002 Christopher Kohlhoff * ace/streams.h: Workaround for Borland C++ 5.5.1 bug we have now just hit. Sun Jan 20 21:42:53 2002 Balachandran Natarajan * ace/Framework_Component.cpp: * ace/Framework_Component_T.cpp: Fixed fuzz errors. 2002-01-20 Oliver Kellogg * bin/subst_env.pl: New script to ease the transition to the TAO_ENV_ARG macros defined in TAO/tao/orbconf.h. Sun Jan 20 12:38:28 2002 Balachandran Natarajan * tests/Framework_Component_Test.dsp: New dsp file for the test. * tests/tests.dsw: Added the above test to the workspace. Sun Jan 20 12:25:28 2002 Balachandran Natarajan * ace/Framework_Component.h: Removed the definition of the default constructor (in ACE_UNIMPLEMENTED_FUNC definition). The other private constructor with a default argument tends towards a default constructor and VC++ signals a multiple definition error. Not sure how g++ didnt signal this one. * ace/Framework_Component_T.h: #include'd Framework_Component.h * ace/Framework_Component_T.cpp: Added a #ifndef around the file. * ace/ace_dll.dsp: * ace/ace_lib.dsp: Added the Framwork_Component* files to the project file. Sun Jan 20 10:40:28 2002 Nanbor Wang * tests/Vector_Test.dsp: * tests/tests.dsw: Added a new project for Vector_Test. Sun Jan 20 16:25:12 2002 Johnny Willemsen * ace/Makefile.bor: Added new Framework_Component * tests/Makefile.bor: Added new Framework_Component_Test Sun Jan 20 00:00:30 2002 UTC Don Hinton * ace/Vector_T.cpp (dump): Commented out the contents of this function for the time being. It assumed that the element was an object with a dump() method, which won't always be the case. * tests/Vector_Test.cpp: Changed a few data types from signed to unsigned, size_t, to get rid of compiler warnings. Sat Jan 19 17:29:50 2002 Douglas C. Schmidt * ace/Vector_T.cpp (dump): Fixed problems with this method. Thanks to Don Hinton for reporting this. * tests/Vector_Test.cpp: Changed the typedef of DATA from int to size_t to avoid "type mismatch" compiler warnings. Thanks to Don Hinton for reporting this. Sat Jan 19 22:30:26 UTC 2002 Don Hinton * apps/JAWS2/JAWS/Hash_Bucket_T.h: * apps/JAWS2/JAWS/Assoc_Array.h: Added missing keyword "class" to friend declarations. * ace/SString.cpp: Removed unneeded include of Service_Config.h. * ace/Service_Config.{h|cpp}: * examples/Connection/misc/Connection_Handler.cpp: Removed static methods from ACE_Service_Config that delegated to ACE_Reactor::instance(), and fixed a few instances where they were still called. * ace/Object_Manager.cpp: * ace/Service_Config.cpp: * ace/Proactor.cpp: * ace/Reactor.cpp: Added call to instance() methods that registers the singleton with the new ACE_Framework_Repository so it can handle destruction, and replaced explicit references to ACE_Reactor and ACE_Proactor with calls to ACE_Framework_Repository. * ace/Framework_Component.{h|inl|cpp}: * ace/Framework_Component_T.{h|inl|cpp}: * ace/Makefile: * tests/Framework_Component_Test.cpp: * tests/Makefile: * tests/run_test.lst: Added ACE_Framework_Repository to manage ACE_Framework_Component's, e.g., singletons like ACE_Reactor or ACE_Proactor. It uses External Polymorphism obviating any interface changes. The components register themselves with repository in their instance methods. This allows the Object_Manager and Service_Config to manage these components without having to know about them a priori. This was needed to reduce footprint for applications like TAO that don't need to use all the available components, e.g., ACE_Proactor. Sat Jan 19 10:23:39 2002 Douglas C. Schmidt * ace/Makefile (TEMPLATE_FILES): * tests/Makefile.bor: * tests/Makefile: * tests/run_test.lst: * ace/Vector_T.{h,i,cpp}: * tests/Vector_Test.cpp: Added support for the new ACE_Vector to the appropriate places. This vector behaves like the STL vector. Thanks to Gonzo and Craig Ching for contributing this. * ace/Future_Set.h: Updated the documentation to explain how various features work better. Thanks to Johnny Tucker for contributing this. Fri Jan 18 19:09:41 2002 Steve Huston * tests/run_test.lst: Re-enabled Process_Manager_Test for all but Chorus and VxWorks. Could not find a reason it was disabled. Also enabled Process_Mutex_Test on Win32. Fri Jan 18 16:44:29 2002 Steve Huston * ace/ace.icc: Added Reactor_Notification_Strategy.(h cpp) sources. * ace/Reactor_Notification_Strategy.cpp: Fixed ACE_RCSID to refer to Reactor_Notification_Strategy, not Strategies. * tests/Get_Opt_Test.icc: * tests/INET_Addr_Test.icc: New Visual Age C++ configs for these tests. * tests/tests.icp: Added Get_Opt_Test.icc and INET_Addr_Test.icc Fri Jan 18 12:56:36 2002 Douglas C. Schmidt * ace/Log_Msg.cpp (init_backend): Added support for SysLog on platforms that don't lack it. Thanks to Alexei I. Adamovich for reporting this fix. Fri Jan 18 10:29:06 2002 Ossama Othman * ace/Service_Config.h (process_file): * ace/Service_Config.cpp (process_directives, process_file): Factored out code that processes a svc.conf file into the new static process_file() method. This allows svc.conf files to be explicitly parsed by the application at any arbitrary point in time instead of Service Configuration initialization time alone. Thu Jan 17 18:51:09 2002 Douglas C. Schmidt * ace/Name_Space.cpp (operator =): Fixed a memory leak. Thanks to Ian Cahoon for reporting this. Thu Jan 17 12:13:51 2002 Ossama Othman * ace/SSL/SSL_Context.h (private_key, verify_private_key): Added new documentation. These methods should only be called after a certificate has been set since key verification is performed against the certificate, among other things. Thu Jan 17 13:11:27 2002 Chad Elliott * ace/Message_Queue.h: * ace/Message_Queue.cpp: * ace/Message_Queue_T.h: * ace/Message_Queue_T.cpp: Provide the ability to enqueue based on the message deadline and to dequeue based on priority, deadline and from the end. Wed Jan 16 11:24:52 2002 Priyanka Gontla * THANKS: Updated to add Gerhard Voss . Wed Jan 16 06:19:01 2002 Douglas C. Schmidt * ace/OS.i: Replaced "set" with "sset" in sigtimedwait() and sigwait() to avoid STL symbol clashes with MSVC++ 6.0. Thanks to Shmulik Regev for reporting this. Wed Jan 16 09:01:12 2002 Johnny Willemsen * ace/Containers_T.{h,cpp}: Added ACE_Fixed_Set_Const_Iterator to make it possible to iterate through a const ACE_Fixed_Set instance Wed Jan 16 07:53:12 2002 Johnny Willemsen * include/makeinclude/ace_flags.bor: Added new flags for the new TAO ETCL orbsvcs library Tue Jan 15 17:24:53 2002 Steve Huston * ace/SSL/SSL_Context.cpp (report_error()): Set ACE_OS::last_error() to ERR_get_error() so the caller can get the error code later. * ace/SSL/SSL_SOCK_Connector.cpp: If the SSL handshake phase of a connection attempt fails, close the underlying socket. Tue Jan 15 15:35:41 2002 Steve Huston * ace/SOCK_Connector.(h cpp): * ace/LSOCK_Connector.(h i cpp): * ace/MEM_Connector.(h cpp): * ace/SSL/SSL_SOCK_Connector.(h cpp): Improved the Doxygenation and removed the protocol_family and protocol arguments from the ctors and connect() methods. The protocol family is always taken from the ACE_Addr remote_sap argument since it can now be either PF_INET or PF_INET6 (for SOCK_Connector objects) and should be PF_UNIX for LSOCKs. It is pointless to allow the user to request something that is impossible to do correctly. Tue Jan 15 10:52:12 2002 Johnny Willemsen * include/makeinclude/ace_flags.bor: Added new flags for the new TAO PortableGroup library Mon Jan 14 14:40:25 2002 Carlos O'Ryan * bin/g++dep: Fixed small problems in the dependency generation: - The script did not properly handle files with '+' in their names. - In some cases the script generated escaped blanks, i.e. lines containing a blank preceded by a backslash. Such blanks are interpreted as part of a dependency name and break havoc with the builds. Mon Jan 14 16:49:37 2002 Steve Huston * ace/OS.h (ACE_STATIC_SVC_DEFINE): Corrected the documentation to say the service-implementing class must be derived from ACE_Service_Object, not ACE_Service_Config. Mon Jan 14 07:40:16 2002 Douglas C. Schmidt * ace/OS.i (mmap): There was a typo that prevented the ACE Memory Map stuff from working properly on Win9x. Thanks to Edan Ayal for reporting this. Sun Jan 13 18:59:37 2002 Douglas C. Schmidt * ace/Memory_Pool.{h,cpp}: Added a new option that makes is possible to control whether or not a fixed address will be used when remapping a memory-mapped file. Thanks to Jonathan Reis for this enhancement. Mon Jan 14 11:02:12 2002 Johnny Willemsen * include/makeinclude/ace_flags.bor: Added flags for new TAO FT_ORB library Sun Jan 13 08:20:05 2002 Craig Rodrigues * ace/config-all.h: Make sure that ACE_bad_alloc is defined as std::bad_alloc if ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB macro is set. Fixes gcc 3.0.3 compilation problem. Fri Jan 11 22:54:22 2002 Balachandran Natarajan * ace/config-lynxos.h: Added #define ACE_HAS_USING_KEYWORD to teh file. The compiler supports namespaces. According to the new rules at the doc_group, we dont use any compilers that dont support namespaces. The above macro is itself a waste. But we cannot remove it overnight as it has far reaching consequences. Working around that for the timebeing. Thu Jan 10 18:35:41 2002 Steve Huston * ace/Profile_Timer.h: Clarified that elapsed_time() calculates time from start() to stop(). Improved Doxygenation. Thu Jan 10 16:53:41 2002 Nanbor Wang * examples/Service_Configurator/IPC-tests/server/server.dsp: The Release version of the library needs to link in ADVAPI32.LIB as GetUserName is used in ACE's inline code. Wed Jan 9 22:07:50 2002 Douglas C. Schmidt * ace/Logging_Strategy.cpp (fini): Make sure to cancel the timer if interval_ and max_size_ are > 0. Thanks to Yaniv Ben Ari for reporting this. Wed Jan 9 11:38:58 2002 Ossama Othman * tests/SSL/Makefile (LDLIBS): Added missing SSL and crypto libraries. Fixed link errors. Thanks to Marvin Wolfthal for reporting the error and suggesting a fix. Wed Jan 9 12:24:39 2002 Steve Huston * ace/Process.cpp (spawn): Don't attempt ACE_OS::setpgid if ACE_LACKS_SETPGID is defined. Thanks to Victor Terber for reporting this. Wed Jan 09 11:19:07 2002 Nanbor Wang * ace/OS.h: Updated the comment for ACE_CE_Bridge to indicate that it's obsolete and will be removed in the future. Wed Jan 9 00:48:48 2002 Don Hinton * ace/Get_Opt.cpp: Make sure to cast away constness before deleting an ACE_TCHAR array. Thanks to Bala for reporting this. Tue Jan 8 17:29:33 2002 Steve Huston * ace/SSL/SSL_SOCK_Connector.cpp: Don't try to dereference a 0 timeout pointer. Gack. Thanks to Ossama for pointing this out. Tue Jan 8 15:51:06 2002 Don Hinton * ace/Get_Opt.cpp * ace/Service_Config.cpp: Moved the template instantiations from Service_Config.cpp to Get_Opt.cpp where they belong. * ace/Get_Opt.{h.cpp}: Replaced ACE_TString with ACE_TCHAR for type of member variable ACE_Get_Opt_Long_Option since it wasn't really needed and took up space. Tue Jan 8 10:43:48 2002 Ossama Othman * ace/config-sunos5.5.h (ACE_LACKS_INET_ATON): Solaris does indeed implement the inet_aton() function, but it is found in `libresolv.*'. It doesn't seem worth it to link another library just for that function. Just use the emulation in ACE that has been used for years. Tue Jan 8 11:31:22 2002 Steve Huston * tests/Makefile: When doing realclean, use the DLL_Test and Service_Config_DLL Makefiles to clean their files up. Tue Jan 8 08:36:33 2002 Steve Huston * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept): * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect): Corrected order of operations checking EWOULDBLOCK, and fixed compile errors. Thanks to Vlado Chovanec for this fix. Mon Jan 7 19:55:39 2002 Steve Huston * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept): * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect): Added extra check for SSL_accept/connect status failure to avoid looping on a bad socket if the socket closes during handshake. Thanks to Vlado Chovanec for this fix. Also added timeout countdown support for SSL_SOCK_Connector, same as in: Sun Jan 6 09:37:02 2002 Ossama Othman Mon Jan 7 15:55:26 2002 Ossama Othman * ace/INET_Addr.cpp (set): Pass a pointer to a "struct in_addr" to inet_aton(), i.e. the proper type, instead of a forcibly casted ACE_UINT32. Also updated existing code to use the in_addr::s_addr member instead of the previous ACE_UINT32 variable. Mon Jan 7 15:13:09 2002 Mayur Deshpande * performance-tests/Misc/context_switch_time.cpp (main): Since the Yield_test does seem to work on VxWorks now (see ChangeLog below), the 'ifdefs' for bypassing VxWorks for the Yield-Test have now been removed. Mon Jan 7 15:08:25 2002 Mayur Deshpande * ace/OS.i (thr_yield): Changed ::taskDelay (1) to ::taskDelay (0) for VxWorks in thr_yield (). The change with (0), now does seem to perform the yield correctly as reflected in the Yield-Test of context_switch_time. Thanks to Charlie Grames for this tip. Mon Jan 7 15:16:10 2002 Ossama Othman * ace/OS.h (INADDR_NONE): If the platform does not define this constant, then define it. * ace/OS.cpp (inet_aton): For some reason we were emulating inet_aton() on all platforms using the now deprecated inet_addr() function. Use the native inet_aton() function unless ACE_LACKS_INET_ATON is defined. Instead of performing a memcpy() of the IPv4 32-bit address into the in_addr data structure, simply assign it to the s_addr field of that data structure. It's not clear why we didn't do this in the first place. (inet_ntoa): Fixed PSoS emulation of this method. The result is supposed to be stored in a statically allocated string, not a dynamically allocated one. Fixes a memory leak. Note that this change makes the implementation non-reentrant. However, inet_ntoa() was not designed to be reentrant to begin with. * ace/OS.i (inet_addr): On error, inet_addr() is supposed to return INADDR_NONE. The return value should be a 32 bit unsigned integer, not a signed one. * ace/config-win32-common.h: MS Windows does not support the inet_aton() function. Define ACE_LACKS_INET_ATON. Mon Jan 7 12:20:26 2002 Ossama Othman * bin/auto_run_tests.lst: Added the MT_SSLIOP test to the regression test suite list. Sun Jan 6 21:19:10 2002 John Aughey * tests/run_test.lst: Uncommented out Conn_Test from daily builds. Sun Jan 6 21:09:10 2002 John Aughey * ace/INET_Addr.cpp: * ace/INET_Addr.h: Reverted to January 1 version until I have time to put the set_host_name() method in correctly. Sun Jan 6 20:01:10 2002 Balachandran Natarajan * tests/run_test.lst: Commented out Conn_Test from the daily builds. This test seems to hang blocking build progress. Have sent a mail to John Aughey on this. Sun Jan 6 09:37:02 2002 Ossama Othman * ace/SSL/SSL_SOCK_Acceptor.cpp (accept, ssl_accept): Take into account the time to complete the basic TCP handshake and the SSL handshake. Specifically, ACE_Countdown_Time is used to reduce the timeout value after each IO operation (e.g. accept(), SSL_accept()) used during SSL passive connection establishment. [Bug 1110] Commented out debugging statements. Sat Jan 5 20:57:36 2002 Venkita Subramonian * ace/Future.cpp (get): Added another ACE_const_cast in addition to Doug's changes to fix compile errors. See below. Sat Jan 5 14:57:36 2002 Craig Rodrigues * ace/OS_QoS.h: Fix comments, put in doxygen format. Sat Jan 5 08:59:41 2002 Douglas C. Schmidt * ace/Future.cpp (get): Added an ACE_const_cast() to silence certain C++ compilers. Thanks to Venkita for reporting this. Fri Jan 5 15:17:12 2002 Johnny Willemsen * ace/OS.{h,cpp}: Added ACE_TSS_Emulation::release_key() method to release a thread_key within the TSS_Emulation when a thread is stopped. Added ACE_TSS_Emulation::tss_keys_used_ member to administrate which thread_keys are used and which not. Added ACE_TSS_Keys::is_set() method to test whether a specific thread_key is marked as used. Changed ACE_TSS_Emulation::next_key() method to return a thread_key that is not used yet, this key is then marked as used at the same time. Changed ACE_OS::thr_keyfree() method to release the key in the TSS_Emulation when ACE_HAS_TSS_EMULATION is defined. These changes fix the bugzilla bugs 223 and 657. The ACE_TSS_Emulation now recycles keys that are released earlier. Fri Jan 4 19:59:03 2002 John Aughey * ace/INET_Addr.cpp: Fixed the new set_host_name method Fri Jan 4 18:59:27 2002 Balachandran Natarajan * ChangeLogs/ChangeLog-01b: Added a new file. Trimmed this file to have entries only in 2002. Fri Jan 4 15:50:42 2002 Steve Huston * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept): * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect): On ACE::select-reported timeout or failure, set status to return a -1 to caller, not 0. Thanks to Vladimir Chovanec for reporting this and sending a fix. Fri Jan 4 08:31:49 2002 Douglas C. Schmidt * tests/Thread_Manager_Test.cpp (test_task_record_keeping): Fixed a typo in an expression on line 226. Thanks to Harvinder Sawhney for reporting this. Fri Jan 4 05:51:22 2002 Douglas C. Schmidt * ace/Future.{h,cpp}: Made the get() and ready() methods const. Thanks to Ran Kohavi for reporting this. Fri Jan 4 15:06:31 2002 Steve Huston * ace/String_Base.h (operator=): Add to ACE_String_Base return type. Fixes compile error on IBM C/C++. * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept): If SSL_get_error() returns SSL_ERROR_SYSCALL and it's EWOULDBLOCK, don't blindly set both read and write handles for select. Check if SSL is indicating SSL_want_write() and set the proper handle. Also, don't ACE_ASSERT SSL_pending before return... if there's an SSL handshake screw-up (like someone trying to break in) just report the failure, don't abort/crash. Wed Jan 02 13:27:09 2002 Nanbor Wang * ace/INET_Addr.h: * ace/INET_Addr.cpp: Removed tabs and trailing whitespaces. Wed Jan 2 08:19:18 2002 Douglas C. Schmidt * ace/FILE_Connector.h, * ace/OS.h (ACE_OS): Clarified the weak semantics of O_APPEND on Win32. Thanks to Eugene Alterman for reporting this. Wed Jan 2 12:43:00 2002 John Aughey * ace/INET_Addr.h * ace/INET_Addr.cpp : Added set_host_name method and moved relevant code into this method. Changed signature of set_address method to take a void pointer rather than a char *. Wed Jan 2 12:30:01 2002 Chris Gill * ace/RB_Tree.i * tests/RB_Tree_Test.cpp : added check for valid current node to forward_i and reverse_i methods of iterator base class. Thanks to Craig L. Ching for reporting this! Wed Jan 2 08:19:18 2002 Douglas C. Schmidt * tests/README: Clarify that run_test.pl should be used rather the run_tests.sh. * tests/run_tests.bat: Clarify that run_test.pl should be used on Win9x. Thanks to Edward A Thompson for prompting this. Wed Jan 2 07:37:01 2002 Balachandran Natarajan * ace/Handle_Set.h: * ace/Handle_Set.cpp: Added a method reset_state () to the ACE_Handle_Set_Iterator class. Tue Jan 2 11:39:12 2002 Johnny Willemsen * ace/OS.i: Added missing ACE_UNUSED_ARG in ACE_OS::event_timedwait Tue Jan 1 15:36:39 2002 Steve Huston * include/makeinclude/platform_sunos5_sunc++.GNU: Added support for the buildbits=64 make option. Tue Jan 1 20:05:12 2002 Johnny Willemsen * ace/Name_Request_Reply.{h,cpp}: Changed type of 3 constructor arguments from size_t to ACE_UINT32 because the members in which these arguments are stored are also of type ACE_UINT32 * ace/OS.i In ACE_OS::umask method, changed the type in the ACE_OSCALL_RETURN macro from int to mode_t because that is the return type of the method Tue Jan 1 08:47:25 2002 Douglas C. Schmidt * ace/Thread.h: Clarify how the ACE_Thread_Adapter is deleted when spawn() is called. Thanks to Preston Elder for reporting this confusion. Tue Jan 1 14:09:26 2002 Johnny Willemsen * examples/Map_Manager/test_hash_map_manager.cpp: Made this example compiling when ACE_USES_WCHAR is set * Makefile.bor: Added examples directory because all examples for which there are BCB makefiles now build when ACE_USES_WCHAR is set Tue Jan 1 00:02:12 2002 Nanbor Wang * ace/ace_dll.vcp: Added String_Base_Const.*.