Mon Aug 16 15:58:21 2004 Steve Huston * ace/Signal.cpp: Added template instantiations for ACE_Fixed_Set_Iterator_Base. Related to: Mon Aug 2 08:55:17 2004 Douglas C. Schmidt Mon Aug 16 15:30:29 2004 Steve Huston * ace/Task.cpp (svc_run): Added "defined (ACE_WIN32)" to the "defined (__IBMCPP__)" test for how to cast a thread result. __IBMCPP__ is defined for both Windows (where the alternate cast is needed) and AIX (where it is prohibited). This is related to this change: Fri Aug 6 08:34:12 UTC 2004 Johnny Willemsen Mon Aug 16 11:54:50 2004 Ossama Othman * ace/ACE.h (debug): Corrected the export qualifier for these functions. They are no longer inlined. Mon Aug 16 11:16:02 2004 Ossama Othman * ace/ACE.h: Moved remaining ACE namespace variables out of header and into the '.cpp' file. They should not be accessed/modified directly. * ace/ACE.inl (hex_chars_, nibble2hex): No need to declare/define the hex_chars_ constant variable in the ACE namespace. Define it as a static constant in the nibble2hex() function instead, the only place it is used. * ace/ACE.cpp (debug): Unlined these functions. They generally aren't performance critical, and doing so allows us to remove the ACE::debug_ internal variable to the '.cpp' file. Mon Aug 16 11:16:02 2004 Ossama Othman * ace/ACE.h: * ace/ACE.cpp: Added remaining missing DLL export qualifiers. Fixes "unresolved external symbol" errors in MS Windows builds. Moved variables in ACE namespace that are internal to ACE into the '.cpp' file. They should be not be accessed or modified directly. Mon Aug 16 10:58:09 2004 Ossama Othman * ace/ACE.h (recv): Fixed DLL export qualifier. Addresses "unresolved external symbol" link-time errors in MS Windows builds. Mon Aug 16 12:14:37 2004 Balachandran Natarajan * bin/MakeProjectCreator/config/ciao_deployment_stub.mpb: * bin/MakeProjectCreator/config/ciao_deployment_svnt.mpb: * bin/MakeProjectCreator/config/ciao_server_dnc.mpb: Changed the names of the Deployment libraries. Arranged the dependencies in such a manner so that it is easier to use it in the application. Mon Aug 16 09:27:12 UTC 2004 Martin Corino * bin/msvc_mpc_auto_compile.pl: Added MSVC 7.1 compatibility through '-vc7' option. * bin/msvc_static_compile.pl: Added MSVC 7.1 compatibility through '-vc7' option. Added support for MPC '-name_modifier' option. * bin/msvc_static_compile.lst: Removed projectfile extensions to be able to generate these dynamically from 'msvc_static_compile.pl'. Sat Aug 14 19:38:20 2004 Ossama Othman * ace/CDR_Base.h: Do not include "ace/If_Then_Else.h" when using MSVC++ 6. It can't handle the partial template specializations in that file. Sat Aug 14 19:34:02 2004 Ossama Othman * ace/Sock_Connect.cpp (ipv6_enabled_): Fixed syntax error. Sat Aug 14 13:07:50 2004 Ossama Othman * ace/QoS/SOCK_Dgram_Mcast_QoS.cpp (subscribe_ifs): The "ACE_Sock_Connect" interim pseudo namespace no longer exists. Use the true "ACE" C++ namespace instead. Fixes a compile-time error. Sat Aug 14 14:48:01 2004 Balachandran Natarajan * bin/MakeProjectCreator/templates/gnu.mpd: Add /usr/lib as a path for library check. If the location of the library is not specified by the application, the compiler, linker and loader knows where to look in for *nix based systems. So should our library checker.Without this applications MPC file starts pointing to /usr/lib to locate libraries like PCAP and XERCES, which can be installed with system libraries. It is bad to see installation specific thingies making its way up the order. Sat Aug 14 09:28:19 2004 Ossama Othman * ace/CDR_Base.h (ACE_CDR::Boolean): MSVC++ 6 can't handle partial template specializations so fall back on an unsigned char typedef if _MSC_VER < 1300 (i.e. MSVC++ version is less than 7). This is an interim solution to get the MSVC++ 6 builds going again. * ace/IfThenElse.h: * ace/If_Then_Else.h: Renamed the former to the latter, including the class template defined within, to match ACE naming conventions. Thanks to Doug for pointing this out. Sat Aug 14 01:43:16 2004 Ossama Othman * ace/CDR_Base.h (ACE_CDR): Parenthesize boolean condition that is the first argument to the ACE::IfThenElse<> template to avoid any potential confusion. Sat Aug 14 00:33:59 2004 Ossama Othman * ace/IfThenElse.h (IfThenElse): Place sample code within a Doxygen code block. Addresses some documentation formatting problems. Fri Aug 13 23:26:56 2004 Ossama Othman * ace/IfThenElse.h: New template that allows one to choose between two types at compile-time based on a boolean value. This is basically the IfThenElse template described in the book "C++ Templates" by Vandevoorde and Josuttis. * ace/CDR_Base.h (ACE_CDR::Boolean): Detect at compile-time whether the C++ "bool" type can be used as the underlying ACE_CDR::Boolean type using the new ACE::IfThenElse template. * ace/ACE.h: * ace/Flag_Manip.cpp: * ace/Flag_Manip.h: * ace/Flag_Manip.inl: * ace/Handle_Ops.cpp: * ace/Handle_Ops.h: * ace/Init_ACE.cpp: * ace/Init_ACE.h: * ace/Lib_Find.cpp: * ace/Lib_Find.h: * ace/Sock_Connect.cpp: * ace/Sock_Connect.h: Functions that were in the pseudo "ACE" namespace are now in a true "ACE" C++ namespace. * ace/ACE.inl (log2): Use the prefix increment operator when incrementing the loop index. It is generally more efficient than the postfix increment operator. * ace/Asynch_Acceptor.cpp: * ace/Asynch_Connector.cpp: * ace/DEV_Connector.cpp: * ace/DLL_Manager.cpp: * ace/FILE_Addr.cpp: * ace/FILE_Connector.cpp: * ace/INET_Addr.inl: * ace/IO_SAP.cpp: * ace/IPC_SAP.cpp: * ace/Logging_Strategy.cpp: * ace/MEM_Acceptor.cpp: * ace/Memory_Pool.cpp: * ace/Naming_Context.cpp: * ace/POSIX_Asynch_IO.cpp: * ace/POSIX_Proactor.cpp: * ace/SOCK_Acceptor.cpp: * ace/SOCK_Dgram.cpp: * ace/SOCK_Dgram_Mcast.cpp: * ace/SOCK_SEQPACK_Acceptor.cpp: * ace/SPIPE_Connector.cpp: * ace/System_Time.cpp: * ace/UPIPE_Connector.cpp: * tests/Enum_Interfaces_Test.cpp: * tests/FIFO_Test.cpp: * tests/INET_Addr_Test.cpp: * tests/INET_Addr_Test_IPV6.cpp: Updated all calls to functions that were in the pseudo "ACE" namespace through a former ACE class base class (e.g. ACE_Sock_Connect, ACE_Flag_Manip, etc) to use the correct "ACE" namespace. Use of the base class names should never have been used since it was known long ago that the "ACE" pseudo namespace would be changed to true C++ namespace. * ace/Basic_Types.h: * ace/OS_NS_fcntl.inl: * ace/OS_NS_stdio.h: * ace/OS_NS_stdlib.h: Nuked trailing whitespace. Sat Aug 14 03:44:02 2004 Balachandran Natarajan * ace/TSS_T.cpp: Fixed compilation errors in the SingleThreaded builds. Sat Aug 14 03:37:44 2004 Balachandran Natarajan * ace/OS_NS_Thread.cpp: Fixed a unused variable warning in the daily builds. Sat Aug 14 01:58:32 2004 Balachandran Natarajan * Release: Added the NEWS file to the release. Thanks to Ramiro Morales for reporting the problem. Fri Aug 13 16:17:32 2004 Douglas C. Schmidt * ace/Module.h (class ACE_Module): * ace/Task.h (ACE_Task_Base): Updated the documentation so it's more clear. Thanks to Andrew Athan for motivating this. * ace/Stream.h: Updated the documentation for push() and pop() to clarify how it affects open() and close() hooks on the tasks. Thanks to Andrew Athan for motivating this. Fri Aug 13 15:26:40 2004 Dale Wilson * ace/TSS_T.cpp: Pass the TSS key to ACE_OS::thr_key_detach. This eliminates the table lookup formerly required to identify the key being detached. * ace/OS_NS_Thread.h: * ace/OS_NS_Thread.cpp: --Accept and use the TSS key from TST_T.cpp --Typedef the function pointer used to delete TSS objects. This improves readability. --Change the name of the ACE_TSS_Info member from tss_obj_ to tss_info_. This avoids confusion due to conflicting use of the name "tss_obj" --Check to see if a thread has actually used a TSS key before decrementing the "number of threads using this key" counter. This eliminates a messy situation in which the key is deleted while threads are still using it. --Fix bugzilla 1542: Leaks in ACE_TSS Note that the patch suggested in the bugzilla report did not completely address the problem, so this fix takes a different approach. Significant features of this change: > The ACE_TSS_Cleanup::detach method now frees the thread's specified TSS entry. Formerly it leaked it. > The exit method defers to the detach method to free the entry. This ensures entries are handled consistently -- no matter how they are freed up. > The ACE_TSS_Cleanup::in_use_ entry receives special handling to avoid using it while deleting it. Formerly it was leaked, so it didn't matter. -- Note this does NOT address bugzilla 1797. I'll look at that one next. * ace/Object_Manager.cpp: Eliminating TSS leaks revealed another problem. The main thread was not waiting for other threads to exit before dismantling the ACE infrastructure in Object_Manager::fini. There's a hack in Thread_Manager that disables the wait method when the Object_Manager is shutting down. Unfortunatly this causes a messy race condition in which one thread is deleting objects while other threads are using them. The "solution" here is to call Thread_Manager::wait() with a short (1 second) timeout. If the threads have already exited -- no problem, and no delay. If they haven't, they get a chance to exit cleanly. Fri Aug 13 18:43:01 2004 Balachandran Natarajan * ace/CDR_Base.h (ACE_CDR): Reverted the usage of C++ bool as a typedef of ACE_CDR::Boolean. We will now use unsigned char on all platforms. MacOSX (Panther) atleast makes the size of bool to be 4 bytes which creates problems for TAO. Thanks to Rich Shapiro for reporting the problem. Fri Aug 13 18:44:12 UTC 2004 Johnny Willemsen * ace/IOStream_T.h: When ACE_LACKS_IOSTREAM_FX is defined, also include ace/os_include/ os_ctype.h Fri Aug 13 12:03:12 UTC 2004 Johnny Willemsen * bin/MakeProjectCreator/templates/bor.mpd: Also install pidl files Fri Aug 13 07:15:12 UTC 2004 Johnny Willemsen * include/makeinclude/platform_gnuwin32_common.GNU: Pass the def file with -Wl, to the compiler, it is a linker option and with the Cygwin GCC 3.3.3 it seems the compiler thinks the def file is a modula2 file. By marking it as linker option it works without problems again * etc/*.doxygen: Set INTERNAL_DOCS to YES, that way we generate documentation for stuff marked with @internal, but doxygen will make sure the documentation says it is for internal use only Thu Aug 12 21:17:05 2004 J.T. Conklin * bin/MakeProjectCreator/config/taolib.mpb: Inherit from pidl.mpb: * bin/MakeProjectCreator/config/pidl.mpb: New file, custom file type definition for *.pidl files. Thu Aug 12 16:12:18 2004 Balachandran Natarajan * bin/fuzz.pl: Priority of synch.h inclusion is reduced. Thu Aug 12 13:23:12 UTC 2004 Johnny Willemsen * bin/MakeProjectCreator/config/acedefaults.mpb: Use LIBMODIFIER with bmake, not LIB_MODIFIER Thu Aug 12 07:54:12 UTC 2004 Johnny Willemsen * include/makeinclude/platform_hpux_gcc.GNU: Removed support for buildbits=64 again, the way I tried it doesn't work Wed Aug 11 22:20:49 2004 Balachandran Natarajan * bin/fuzz.pl: Priority of OS.h and Synch.h inclusions have been reduced. Wed Aug 11 11:55:46 2004 J.T. Conklin * bin/MakeProjectCreator/config/event.mpb * bin/MakeProjectCreator/config/ftorbutils.mpb * bin/MakeProjectCreator/config/ftrtevent.mpb * bin/MakeProjectCreator/config/rtcorbacommon.mpb Changed to inherit from minimum_corba instead of providing avoids statements to eliminate duplicate entries in list. Wed Aug 11 08:48:48 2004 Chad Elliott * bin/MakeProjectCreator/modules/BorlandProjectCreator.pm: * bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm: * bin/MakeProjectCreator/modules/GNUACEProjectCreator.pm: * bin/MakeProjectCreator/modules/GNUACEWorkspaceCreator.pm: Call $self->mpc_dirname() instead of dirname() to be consistent with the modules in MPC. * bin/mpc.pl: * bin/mwc.pl: Put back the getBasePath() function and cleaned up the VMS support. Wed Aug 11 10:32:12 UTC 2004 Johnny Willemsen * bin/tao_other_tests.lst: Don't run the PluggableUDP examples when NO_DIOP is defined, makes it possible to exclude these examples in builds that don't have DIOP Wed Aug 11 08:32:12 UTC 2004 Martin Corino * ace/Process.cpp: Added OpenVMS version of ACE_Process::spawn(). * include/makeinclude/platform-openvms.GNU: Removed mathlibrary from required libs. Added dummy code to circumvent 'touch' problem with OpenVMS make port. Wed Aug 11 08:00:12 UTC 2004 Johnny Willemsen * bin/tao_other_tests.lst: Don't run TAO/orbsvcs/tests/Notify/performance-tests/Filter when MINIMUM is set, this test isn't build with minimum corba Tue Aug 10 10:57:00 2004 J.T. Conklin * configure.ac: Enable check for ACE_HAS_WCHAR. We'll never shake out any wide character configuration bugs that may remain if it's disabled. Tue Aug 10 11:08:31 2004 Steve Huston * ace/config-linux-common.h: Removed ACE_LACKS_TOWLOWER and ACE_LACKS_TOWUPPER. These functions are present but, I suspect, marked "lacks" because of type conflicts, which J.T. Conklin fixed: Mon Aug 9 23:13:48 2004 J.T. Conklin Tue Aug 10 06:52:47 2004 J.T. Conklin * configure.ac: Removed AC_LANG_PUSH([C])/.../AC_LANG_POP([C]) which forced the use of C for selected AC_CHECK_FUNC calls. The current version of autoconf always uses C. Tue Aug 10 14:00:00 UTC 2004 Simon Massey I shouldn't have been rushed into these guarded #includes. The following two files now need these guarded #includes to be moved after the rest. * ace/FILE_IO.h * ace/FIFO_Send_Msg.h Moved guarded #include "ace/OS_NS_stropts.h" to end of other #includes Tue Aug 10 11:20:00 UTC 2004 Simon Massey * examples/IOStream/server/iostream_server.cpp Added missing #include "ace/OS_NS_unistd.h" inside the guard of #if defined (ACE_HAS_STRING_CLASS) * tests/IOStream_Test.cpp Added missing #include "ace/OS_NS_unistd.h" inside the guard of #if !defined (ACE_LACKS_ACE_IOSTREAM) Tue Aug 10 12:01:12 UTC 2004 Johnny Willemsen * bin/tao_orb_tests.lst: * bin/tao_other_tests.lst: When DISABLE_BIDIR is set, don't run the BiDIR tests, this can be used for builds that build without BiDIR GIOP Tue Aug 10 11:20:00 UTC 2004 Simon Massey Thanks to Johnny Willemsen for the information leading to these guard conditions. * ace/Sock_Connect.cpp Added guard checks around #include "ace/OS_NS_fcntl.h" * ace/DEV_IO.h * ace/FILE_IO.h * ace/FIFO_Send_Msg.h Added guard checks around #include "ace/OS_NS_stropts.h" * ace/Pipe.cpp * ace/SPIPE_Acceptor.cpp Added guard checks around #include "ace/OS_NS_unistd.h" Mon Aug 9 23:13:48 2004 J.T. Conklin * ace/config-freebsd.h: Remove #define of ACE_LACKS_TOWLOWER and ACE_LACKS_TOWUPPER. FreeBSD has these functions, but they were disabled because of the problem below. * ace/OS_NS_ctype.h: * ace/OS_NS_ctyle.inl: * ace/OS_NS_strings.cpp: * ace/OS_NS_wchar.cpp: * examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.cpp: * tests/Config_Test.cpp: * tests/Proactor_Test.cpp: * tests/Proactor_Test_IPV6.cpp: Renamed ACE_OS::to_upper(int) and ACE_OS::to_upper(wint_t) to ACE_OS::ace_toupper() and ACE_OS::ace_towupper() because they are ambiguous on systems where wint_t is in fact an int. The same was done for ACE_OS::to_lower(), etc. Mon Aug 9 18:12:12 UTC 2004 Johnny Willemsen * ace/OS_NS_stdlib.cpp (realpath): Applied ACE code formatting to make it readable Mon Aug 9 15:20:00 UTC 2004 Simon Massey * ace/Sock_Connect.cpp Added missing #include "ace/OS_NS_fcntl.h" * ace/DEV_IO.h * ace/FILE_IO.h * ace/FIFO_Send_Msg.h Added missing #include "ace/OS_NS_stropts.h" * ace/Pipe.cpp * ace/SPIPE_Acceptor.cpp Added missing #include "ace/OS_NS_unistd.h" Mon Aug 9 15:05:12 UTC 2004 Johnny Willemsen * include/makeinclude/platform_hpux_gcc.GNU: When buildbits is set to 64, add -m64 to the CPPFLAGS Mon Aug 9 09:25:12 2004 Huang-Ming Huang * tests/Dynamic_Priority_Test.cpp: Fixed buffer overrun problem when ACE_HAS_TIMED_MESSAGE_BLOCKS macro is defined. Mon Aug 9 09:56:12 UTC 2004 Johnny Willemsen * examples/APG/Processes/Spawn.cpp: Changed the check of the result of spawn, use ACE_INVALID_PID instead of -1. Mon Aug 9 08:55:12 UTC 2004 Johnny Willemsen * ace/OS_NS_unistd.inl (chdir): Fixed Visual Age on Win32 implementation Thanks to Boris Kaminer for reporting this. Sun Aug 8 22:43:37 2004 J.T. Conklin * ace/config-integritySCA.h: * m4/config_h.m4: Removed vestigial mentions of ACE_HAS_ONE_DEFINITION_RULE. Sun Aug 8 17:38:05 2004 J.T. Conklin * ace/README: * ace/config-g++-common.h: Removed vestigial mentions of ACE_HAS_GNUG_PRE_2_8. * m4/compiler.m4: * m4/config_h.m4: Removed check for ACE_HAS_GNUC_BROKEN_TEMPLATE_INLINE_FUNCTIONS and ACE_HAS_GNUG_PRE_2_8, as those feature test macros have been removed from ACE for some time. * m4/config_h.m4: * m4/threads.m4: Replaced AH_TEMPLATE for ACE_HAS_STHREADS and ACE_HAS_PTHREADS with third argument to AC_DEFINE. Sun Aug 8 07:12:32 2004 J.T. Conklin * configure.ac: Start converting checks for for prototypes to use AC_CHECK_DECL instead of AC_EGREP_CPP or AC_EGREP_HEADER. * ace/OS_NS_sys_resource.inl: Changed so conditionals aren't used inside macro call. * m4/subsets.m4: Changed AC_HELP_STRING to AS_HELP_STRING. * ace/config-sco-4.2-nothread.h: * ace/config-sco-5.0.0-mit-pthread.h: * ace/config-sco-5.0.0.h: * ace/config-tandem.h: Removed (commented-out) definition of ACE_HAS_SYSCALL_GETRUSAGE. * ace/config-hpux11.h: * ace/config-hpux-11.00.h: Removed ACE_HAS_SYSCALL_GETRUSAGE. getrusage() was added in HPUX 10.10. * configure.ac: Fixed check for setregid() and setreuid() prototypes to look for them in , not . * m4/config_h.m4: Replace some AH_TEMPLATE definitions. ACE_CHECK_HAS_HEADERS and ACE_CHECK_LACKS_HEADERS provide autoheader templates themselves. * configure.ac: Replace some calls to AC_CHECK_HEADERS with ACE_CHECK_HAS_HEADERS or ACE_CHECK_LACKS_HEADERS. * m4/ace_headers.m4: New file, with ACE_CHECK_HAS_HEADERS and ACE_CHECK_LACKS_HEADERS autoconf macros. These macros are similar to AC_CHECK_HEADERS, but define either ACE_HAS_ or ACE_LACKS_. * ace/OS_NS_unistd.inl: * config-rtems.h: Changed name of feature test macro ACE_HAS_GETOPT_PROTO to ACE_HAS_GETOPT_PROTOTYPE. * ace/config-linux-common.h: * ace/config-unixware-7.1.0: * ace/config-unixware-7.1.0.udk.h: * ace/os_include/sys/os_resource.h: Changed name of feature test macro ACE_HAS_GETRUSAGE_PROTO to ACE_HAS_GETRUSAGE_PROTOTYPE. * ace/Basic_Types.h: * ace/config-chorus.h: * ace/config-integritySCA.h: * ace/config-mvs.h: * ace/config-openvms.h: * ace/config-psos-diab.h: * ace/config-psos-diab-mips.h: * ace/config-psos-diab-ppc.h: * ace/config-psos-tm.h: * ace/config-psosim-g++.h: * ace/config-tandem.h: * ace/config-vxworks5.x.h: * ace/config-win32-common.h: * ace/os_include/os_limits.h: Changed name of feature test macro ACE_LACKS_PARAM_H to ACE_LACKS_SYS_PARAM_H. * ace/OS.inl: * ace/config-dgux-4.11-epc.h: * ace/config-freebsd.h: * ace/config-hpux-10.x.h: * ace/config-hpux-11.00.h: * ace/config-hpux11.h: * ace/config-irix5.2.h: * ace/config-irix5.3-g++.h: * ace/config-irix5.3-sgic++.h: * ace/config-irix6.x-common.h: * ace/config-linux-common.h: * ace/config-m88k.h: * ace/config-macosx-panther.h: * ace/config-macosx.h: * ace/config-netbsd.h: * ace/config-openbsd.h: * ace/config-osf1-3.2.h: * ace/config-osf1-4.0.h: * ace/config-sco-4.2-nothread.h: * ace/config-sco-5.0.0-mit-pthread.h: * ace/config-sco-5.0.0.h: * ace/config-sunos4-g++.h: * ace/config-sunos4-lucid3.2.h: * ace/config-sunos4-sun3.x.h: * ace/config-sunos4-sun4.1.4.h: * ace/config-sunos4-sun4.x.h: * ace/config-sunos5.4-centerline-2.x.h: * ace/config-sunos5.4-g++.h: * ace/config-sunos5.4-sunc++-4.x.h: * ace/config-sunos5.5.h: * ace/config-tandem-nsk-mips-v2.h: * ace/config-tandem.h: * ace/config-unixware-2.01-g++.h: * ace/config-unixware-2.1.2-g++.h: * ace/config-unixware-7.1.0.h: * ace/config-unixware-7.1.0.udk.h: * ace/os_include/sys/os_resource.h: Changed name of feature test macro ACE_HAS_SYSCALL_H to ACE_HAS_SYS_SYSCALL_H. Sat Aug 7 10:43:51 2004 Jeff Parsons * ace/OS_NS_string.cpp: * ace/OS_NS_string.h: * ace/OS_NS_string.inl: Uninlined the ACE_OS::strerror() method, so the #include of ACE.h necessitated by the changes in Fri Aug 6 07:58:54 2004 Douglas C. Schmidt can be moved to the .cpp file. Fri Aug 6 20:22:02 2004 J.T. Conklin * configure.ac: Added check for mkstemp() which sets ACE_LACKS_MKSTEMP if it is not available. Fri Aug 6 19:13:12 UTC 2004 Martin Corino * ace/config-openvms.h: Added ACE_HAS_VOIDPTR_GETTIMEOFDAY. Fri Aug 6 08:17:23 2004 J.T. Conklin * m4/ace.m4: Split new ACE_WITH_RMCAST, ACE_WITH_QOS, and ACE_WITH_SSL macros out of ACE_CONFIGURATION_OPTIONS so they can be used with other packages. * ace/OS_NS_sys_uio.cpp: * ace/OS_NS_sys_uio.h: * ace/OS_NS_sys_uio.inl: Changed ACE_OS::readv_emulation() and ACE_OS::writev_emulation() to use const iovec * instead of type of system iovec parameter. Changed ACE_OS::readv() to cast const qualification of iovec parameter away if ACE_HAS_NONCONST_READV. Changed ACE_OS::writev() to cast const qualifiaction of iovec parameter away if ACE_HAS_NONCONST_WRITEV. * ace/os_include/os_uio.h: Removed ACE_READV_TYPE type definition. Removed ACE_WRITEV_TYPE type definition. Changed readv_timedwait and writev_timedwait definitions to use const iovec *'s for iovec parameter. * ace/OS_sys_socket.inl: Cast const qualifiaction away if ACE_HAS_NONCONST_SENDMSG. * ace/os_include/sys/os_socket.h: Removed ACE_SENDMSG_TYPE type definition. * ace/OS_sys_resource.h: * ace/OS_sys_resource.inl: Changed ACE_OS::setrlimit() to use const struct rlimit* instead of type of system rlimit parameter. Cast const qualification away if ACE_HAS_NONCONST_SETRLIMIT. * ace/os_include/sys/os_resource.h: Removed ACE_SETRLIMIT_TYPE type definition. * ace/config-chorus.h: * ace/config-linux-common.h: * ace/config-lynxos.h: * ace/config-m88k.h: * ace/config-osf1-3.2.h: * ace/config-osf1-4.0.h: * ace/config-psos-diab-mips.h: * ace/config-psos-diab-ppc.h: * ace/config-psos-diab.h: * ace/config-psos-tm.h: * ace/config-psosim-g++.h * ace/config-rtems.h: * ace/config-sunos5.4-centerline-2.x.h: * ace/config-sunos5.4-g++.h: * ace/config-sunos5.4-sunc++-4.x.h: * ace/config-tandem-nsk-mips-v2.h: * ace/config-tandem.h: * ace/config-vxworks5.x.h: * configure.ac: * m4/config_h.m4: Rename ACE_HAS_BROKEN_SETRLIMIT, ACE_HAS_BROKEN_SENDMSG, ACE_HAS_BROKEN_READV, and ACE_HAS_BROKEN_WRITEV to ACE_HAS_NONCONST_SETRLIMIT, ACE_HAS_NONCONST_SENDMSG, ACE_HAS_NONCONST_READV, and ACE_HAS_NONCONST_WRITEV to be more descriptive of what's really broken. * bin/MakeProjectCreator/config/ec_used_typed_events.mpb: Changed to inherit from dynamicinterface and ifr_client instead of providing libs and after statements so that dependency chain is complete. Fri Aug 6 10:26:20 2004 Jeff Parsons * ace/OS_NS_string.h: Added include of ACE.h needed for WIN32 version of change in Fri Aug 6 07:58:54 2004 Douglas C. Schmidt * ace/OS_NS_string.inl: Fixed typo and mismatched return type for WIN32. Fri Aug 6 14:15:12 UTC 2004 Johnny Willemsen * ace/config-win32-common.h: Don't define export macro's also for Visual Age. * ace/config-win32-visualage.h: Added special Visual Age export macros Thanks to Boris Kaminer for reporting this. Fri Aug 6 14:14:12 UTC 2004 Martin Corino * ace/OS_NS_sys_socket.h: Removed include for 'ace/os_include/netinet/os_tcp.h'. * ace/Pipe.cpp: Added include for 'ace/os_include/netinet/os_tcp.h' to provide TCP macros/constants (f.i. TCP_NODELAY) for OS like OpenVMS. Fri Aug 6 07:58:54 2004 Douglas C. Schmidt * ace/Message_Block.cpp (crunch): If rd_ptr_ was greater than wr_ptr_ memory was overwritten, so added a check for this case and return -1 in this case. Also, simplified the initial if statement. Thanks to Boris Kaminer for reporting this. * ace/OS_NS_string.inl: Updated ACE_OS::strerror() so it checks for socket errors explicitly. Thanks to Boris Kaminer for reporting this. Fri Aug 6 10:18:12 UTC 2004 Martin Corino * ace/config-openvms.h: Added ACE_LACKS_REALPATH. Added '#define MAXSYMLINKS 0'. Removed uppercase macros for pthread symbols. Fri Aug 6 10:08:12 UTC 2004 Martin Corino * ace/OS_NS_sys_socket.h: Added include for 'ace/os_include/netinet/os_tcp.h' to provide TCP macros/constants (f.i. TCP_NODELAY) for OS like OpenVMS. Fri Aug 6 09:50:12 UTC 2004 Johnny Willemsen * bin/make_release: For generating the project files for borland, vc6 & vc71 set qos=1 in the default.features file, these environments support qos. Fri Aug 6 09:41:12 UTC 2004 Johnny Willemsen * bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm: Just always use Makefile.bor as workspace name, this is the way our Borland users expect things to work. Fri Aug 6 09:15:00 UTC 2004 Simon Massey * apps/JAWS3/jaws3/Reactive_IO_Helpers.h private -> public ~JAWS_IO_Reactive_Handler (void) due to aCC: HP ANSI C++ B3910B A.03.39 compiler bug not allowing friend derived classes access. Fri Aug 6 08:34:12 UTC 2004 Johnny Willemsen * ace/config-win32-msvc-7.h: * ace/config-win32-msvc-8.h: Added ACE_HAS_TEMPLATE_TYPEDEFS * ace/config-win32-visualage.h: Added huge list of new defines * ace/Event_Handler_T.h: Instead of -1 use ACE_INVALID_HANDLE to make it portable * ace/Malloc.cpp: Corrected assert * ace/OS_NS_sys_stat.h: For IBMCPP also define ACE_stat as stat * ace/OS_NS_sys_stat.inl (stat): For Visual Age use special _stat call * ace/Task.cpp (svc_run): For Visual Age also do a static cast Thanks to Boris Kaminer for reporting this. Fri Aug 6 08:03:12 UTC 2004 Johnny Willemsen * ace/config-win32-msvc-8.h: Added this file for msvc8, is a copy of msvc7 but this will change as things are tested for msvc8. * ace/config-win32-msvc.h: If msvc_ver >= 1400 then we are including the msvc-8 file. Thu Aug 5 23:50:38 2004 J.T. Conklin * bin/MakeProjectCreator/config/ec_use_typed_events.mpb: Changed to inherit from dynamicinterface and ifr_client instead of providing libs and after statements so that dependency chain is complete. Thu Aug 5 13:17:26 2004 Douglas C. Schmidt * ace/ACE.cpp (sock_error): Changed the WSAEWOULDBLOCK message back to "resource temporarily unavailable" to be consistent with the UNIX error string. Thanks to Boris Kaminer for reporting this. * examples/NT_Service/ntsvc.{h,cpp}: Added a destructor to Service that cancels the timer. Thanks to Scott Harris for this fix. * ace/ACE.cpp (sock_error): Added support for WSAEISCONN. Thanks to Boris Kaminer for reporting this. Thu Aug 5 07:45:53 2004 J.T. Conklin * m4/config_h.m4: Replace some AH_TEMPLATE definitions. ACE_CHECK_HAS_FUNCS and ACE_CHECK_LACKS_FUNCS provide autoheader templates themselves. * configure.ac: Replace some calls to AC_CHECK_FUNCS with ACE_CHECK_HAS_FUNCS or ACE_CHECK_LACKS_FUNCS. * m4/ace_functions.m4: New file, with ACE_CHECK_HAS_FUNCS and ACE_CHECK_LACKS_FUNCS autoconf macros. These macros are similar to AC_CHECK_FUNCS, but define either ACE_HAS_ or ACE_LACKS_. Thu Aug 5 09:21:12 UTC 2004 Johnny Willemsen The following changes are from Martin Corino * bin/mwc.pl: * bin/mpc.pl: * bin/depgen.pl: * bin/cle.pl: Added various changes to support autobuild MPC generation on OpenVMS. Wed Aug 4 18:09:47 2004 J.T. Conklin * m4/ace.m4: * configure.ac: Support --with/without-tao flag to provide find grain control over TAO configuration. Wed Aug 4 16:19:40 2004 Ossama Othman * ace/Global_Macros.h (ACE_CORBA_1, ACE_CORBA_2, ACE_CORBA_3): Marked these macros as deprecated, and removed the version of these macros that defined the obsolete "CORBA_foo" broken namespace workaround classes. Wed Aug 4 14:46:07 2004 J.T. Conklin * Makefile.am: * configure.ac: Configure TAO if TAO subdirectory is present. Wed Aug 4 16:33:14 2004 Balachandran Natarajan * ace/Select_Reactor_T.cpp: Fix for Bug 1893. Please see http://deuce.doc.wustl.edu/bugzilla/show_bug.cgi?id=1893 for details. Thanks to Alan L Batongbacal for the patch. Wed Aug 4 08:31:43 2004 Douglas C. Schmidt * ace/config-linux-common.h: If the version of glibc is less than 2.1 add the ACE_HAS_NONCONST_MSGSND macro. Thanks to Anand and Johnny Willemsen for this fix. Tue Aug 3 15:25:43 2004 Ossama Othman From Jaroslaw Nozderko . * ace/Dev_Poll_Reactor.cpp (register_handler_i): Allow same handler to be registered with a different event, which is consistent with the other reactor implementations. Tue Aug 3 13:04:24 2004 J.T. Conklin * ace/Svc_Handler.h: * ace/Svc_Handler.cpp: Add throw() exception specifier to no-throw version of class local operator new. In addition to squelching warnings from gcc, this tells the compiler to check the return value before constructing the object. Tue Aug 3 08:55:37 2004 J.T. Conklin * ace/Condition_Recursive_Thread_Mutex.cpp: * ace/Functor.inl: * ace/config-borland-common.h: * ace/config-g++-common.h: * ace/config-hpux-11.00.h: * ace/config-lite.h: * ace/config-lynxos.h: * ace/config-sunos5.5.h: * ace/config-tandem-nsk-mips-v2.h: * ace/config-win32-ghs.h: Remove vestigial traces of ACE_TEMPLATE_METHOD_SPECIALIZATION. Tue Aug 3 14:42:12 UTC 2004 Johnny Willemsen * ace/Containers_T.cpp: Fixed incorrect trace macro Tue Aug 3 08:22:10 2004 Douglas C. Schmidt * ace/config-aix-5.x.h: ace/OS_NS_dirent.inl (readdir_r): Added support for AIX and G++. Thanks to Raz Ben-Yehuda . Tue Aug 3 11:56:12 UTC 2004 Johnny Willemsen * bin/msvc_static_order.lst: Updated location of TAO vc6 static project files Tue Aug 3 06:19:06 2004 Chad Elliott * bin/MakeProjectCreator/config/acedefaults.mpb: Added macros in a specific section for the bmake project type. Tue Aug 3 07:07:12 UTC 2004 Johnny Willemsen * bin/MakeProjectCreator/modules/BorlandProjectCreator.pm: * bin/MakeProjectCreator/templates/bor.mpd: Updated Borland templates to handle resource files in subdirectories, this is needed for the moving of the mpc files in TAO. Thanks to J.T. Conklin for making these patches. Mon Aug 2 15:33:27 2004 Steve Huston * ace/Containers_T.cpp (ACE_Fixed_Set_Iterator::remove()): Had to qualify 'iterated_items_' with 'this->' to make it visible in this class now that iterated_items_ is in an inherited class. This per HP-UX aC++, citing [temp.dep], 14.6.2(3) in the C++ Standard. Mon Aug 2 15:20:37 2004 Steve Huston * apps/JAWS3/jaws3/Event_Result.h: Added #include "ace/os_include/os_stddef.h" to pick up size_t for platforms where it's not defined by the compiler, such as Cygwin. Thanks to Johnny Willemsen for reporting this. Mon Aug 2 08:55:17 2004 Douglas C. Schmidt * ace/Containers_T.h: The class ACE_Fixed_Set had some bugs in it's interface declaration and also some in it's implementation: 1) typedef the wrong class for is constant iterator and 2) its method size() misbehave in certain circumstances where elements were randomly deleted from a set object. Moreover, the iterators of ACE_Fixed_Set has a lot of code in common so the can be refactored to have a common abstract ancestor with all the shared code. Therefore, refactored the three classes and fixed the bug on the size() method. Thanks to J. Abelardo Gutierrez for these fixes. Mon Aug 2 09:06:39 2004 Steve Huston * ace/os_include/os_signal.h: Removed the #include os_time.h - it's not needed for anything in this header, and for some reason, it introduces a type oddity on HP-UX - aC++ gets the idea there's a tentative struct sigaction and doesn't match the real one, causing compile errors in ACE_OS::sigaction(). * ace/OS_TLI.h: Removed stray '#'. * ace/Signal.{h inl}: Removed the hack typedef ACE_SIGACTION that was allegedly put in for an HP-UX C++ bug. It's not needed and is causing further problems. #include "ace/os_include/os_signal.h" to get the needed signal-related types. * apps/JAWS3/jaws3/Event_Result.h: Changed #include "ace/OS.h" to "ace/OS_NS_errno.h". Removing the "big hammer" OS.h stuff. This fixes a compile error in OS_TLI.inl on HP-UX w/ aC++. Why? I have no idea... there's something odd still about orders of includes and/or preprocessor defs or something. This odd compile error creeps up every once in a while and is always related to fudging something somewhere (see fix above for signal...) but this one doesn't have an apparant cause. * include/makeinclude/platform_hpux_aCC.GNU: Removed AREXTRA. It was breaking static lib builds. Sun Aug 1 08:15:23 2004 J.T. Conklin * configure.ac: Moved subdirectory configuration above call to AC_OUTPUT. * ace/OS_Memory.h: Provide ACE_nothrow and ACE_nothrow_t definitions for platforms where definitions are not handled by special cases. * configure.ac: * m4/config_h.m4: Added check for ACE_HAS_NEW_NOTHROW. Sun Aug 1 15:04:12 UTC 2004 Johnny Willemsen * ace/QoS/qos.mpc: Also with bmake set macros += ACE_HAS_WINSOCK2_GQOS * ace/Select_Reactor_Base.h: * ace/Object_Manager_Base.cpp: * ace/Object_Manager.cpp: * ace/Global_Macros.h: * ace/Dev_Poll_Reactor.h: Doxygen improvements/fixes * ace/config-openvms.h: Removed commented out lines * ace/CDR_Stream.h: Changed to signature for the to_string methods from char to ACE_CDR::char so that they match the implementation Sun Aug 1 09:07:16 2004 Balachandran Natarajan * ChangeLogs/ChangeLog-04a: Moved contents from this file to a new file. Sat Jul 31 17:01:27 2004 Balachandran Natarajan * bin/generate_rel_manpages: This is now executed at tao.dre for generating doxygen documentation. The files are then scp'ed to the main website. Sat Jul 31 11:13:20 2004 Ossama Othman * ACE version 5.4.2 released. Local Variables: add-log-time-format: current-time-string End: