Fri Jul 27 06:50:14 CDT 2007 Johnny Willemsen * ACE version 5.5.10 released. Thu Jul 26 10:52:23 UTC 2007 Johnny Willemsen * tests/Dynamic_Test.cpp: Removed some printf statements that where not needed Wed Jul 25 22:13:59 UTC 2007 Steve Huston * tests/ACE_Init_Test.cpp: Added missing #include "ace/OS_NS_unistd.h" to see ACE_OS::sleep(). Wed Jul 25 18:43:53 UTC 2007 William R. Otte * bin/make_release.py: Additional bugfixes for packaging process. Wed Jul 25 08:24:23 UTC 2007 Johnny Willemsen * ace/CDR_Size.cpp: If an argument isn't used, just not give it a name and then remove ACE_UNUSED_ARG * ace/CDR_Stream.h: * ace/CDR_Size.inl: Layout change * ace/OS_NS_time.inl: Const change * bin/tao_other_tests.lst: Don't run 2709 when ST is defined Tue Jul 24 22:45:37 UTC 2007 Steve Huston * ace/Bound_Ptr.inl (operator=): Check for assign-to-self first; the code would work assigning to self (as the comment states) but why do it? Also resolves some compile warnings on HP aC++. Tue Jul 24 20:38:50 UTC 2007 Douglas C. Schmidt * COPYING: Updated this file to reflect 2007. Tue Jul 24 21:09:27 UTC 2007 Steve Huston * tests/Proactor_Test_IPV6.cpp: Default to half duplex operation on Linux. Identical to recent change to Proactor_Test.cpp; see Wed Jun 27 13:48:50 UTC 2007 Steve Huston * tests/Multicast_Test_IPV6.cpp: Don't log an error if IPV6_MULTICAST_LOOP is an unsupported sockopt; also fix spelling. Tue Jul 24 20:03:24 UTC 2007 Ciju John * bin/tao_orb_tests.lst: Adding regression test for Bug 3000 to autorun list. Tue Jul 24 15:15:43 UTC 2007 Vadym Ridosh * THANKS: Added Daniel de Angelis Cordeiro to the Hall of Fame. Tue Jul 24 06:58:23 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: * bin/tao_other_tests.lst: Moved all POA examples to the orb tests, core builds should also test the POA in detail. Mon Jul 23 20:16:23 UTC 2007 Steve Huston * tests/Multicast_Test_IPV6.cpp: Always enable IPV6_MULTICAST_LOOP since the test relies on seeing the datagrams sent on the local host and various platforms have different defaults. ACE_SOCK_Dgram_Mcast documents this indeterminate state, so if the app cares (as this one does), it should set it specifically. Mon Jul 22 09:59:30 UTC 2007 Johnny Willemsen * tests/unload_libace.mpb: Also define _CRT_SECURE_NO_WARNINGS with nmake Mon Jul 22 09:58:30 UTC 2007 Johnny Willemsen * ace/config-win32-msvc.h: Intel C++ does mimic MSVC but does have different warning numbers. Disable some Intel C++ warnings Mon Jul 22 08:04:30 UTC 2007 Johnny Willemsen * ace/Rtems_init.c: * ace/Atomic_Op_Sparc.c: With Intel C++ don't define the static variable, result in a warning that it is not used Mon Jul 22 06:34:30 UTC 2007 Johnny Willemsen * ace/CDR_Stream.{h,cpp,inl}: Changed wchar_maxbytes_ to a size_t to resolve warnings with BCB2007 and removed the return value of get_version/set_version, they just always do a return 0 which isn't usefull * ace/SPIPE_Stream.inl: Directly use the local variables Sat Jul 21 06:26:30 UTC 2007 Abdullah Sowayan * bin/fuzz.pl: Disable check_for_exception_spec for now. This test will be reenabled and the remaining usage of exception sepcifications will be zapped once the beta is out. Sat Jul 21 00:48:31 UTC 2007 Steve Huston * ace/SOCK_Dgram_Mcast.cpp (subscribe_i): Removed duplicate IPv4 code. Fri Jul 20 21:32:48 UTC 2007 Steve Huston * ace/MEM_Acceptor.cpp (accept): Use the sockaddr_in whose address was taken to set ACE_INET_Addr; don't cast back and forth from sockaddr. * ace/Sock_Connect.cpp (get_bcast_addr): No need to cast a pointer simply to pass it to ACE_OS::memcpy(). Avoids a possible unaligned access warning. * ace/SOCK_Dgram.inl (recv): Use sockaddr.sa_family to get the address type; same field as sockaddr_in.sin_family and avoids unaligned access warnings from HP aC++. Fri Jul 20 18:15:27 UTC 2007 Adam Mitz * NEWS: Added entries for the ACE_Vector::swap() fix and Microsoft PSDK 64-bit compiler support. Fri Jul 20 14:44:40 UTC 2007 Wallace Zhang * contrib/FaCE/FaCE.mpc: Since we are not going to maintain this, label it as a dummy project. Fri Jul 20 12:09:58 UTC 2007 Abdullah Sowayan * bin/fuzz.pl: enhanced and enabled check_for_exception_spec. Fri Jul 20 11:00:00 UTC 2007 Simon Massey * bin/tao_orb_tests.lst: * bin/tao_other_tests.lst: Removed 2926 & 2936 tests from LynxOS, seems to be the memory mapping problem again. Fri Jul 20 09:44:12 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added POA/Forwarding Fri Jul 20 08:48:12 UTC 2007 Johnny Willemsen * examples/APG/Processes/Spawn.cpp: * examples/APG/Reactor/Timers.cpp: Added missing includes Fri Jul 20 08:40:12 UTC 2007 Johnny Willemsen * ace/OS_NS_Thread.cpp: Use ACE_HAS_POSIX_SEM_TIMEOUT instead of ACE_HAS_POSIX_TIMEOUT. This fixes bugzilla 2947 * ace/OS_NS_time.inl (gethrtime): Reshuffeld the implementation to make some checks less complex * ace/Service_Gestalt.h: Doxygen fixes Fri Jul 20 07:36:00 UTC 2007 Simon Massey * ace/Thread_Manager.cpp: I should stop trying to second guess myself, the derived class has a protected destructor! Fri Jul 20 03:22:02 UTC 2007 Abdullah Sowayan * examples/APG/Active_Objects/AO.cpp: * examples/APG/Active_Objects/AO2.cpp: * examples/APG/Logging/Trace_Return.cpp: * examples/APG/Logging/Wrap_Macros.cpp: * examples/APG/Processes/Spawn.cpp: * examples/APG/Reactor/HAStatus.cpp: * examples/APG/Reactor/Timers.cpp: * examples/APG/Signals/SigInfo.cpp: * examples/APG/Sockets/Server.cpp: * examples/APG/Streams/Answerer.cpp: * examples/APG/ThreadManagement/Async_Cancel.cpp: * examples/APG/ThreadPools/LF_ThreadPool.cpp: * examples/APG/ThreadSafety/Semaphore.cpp: * examples/APG/Threads/Condition_Variables.cpp: * examples/ASX/CCM_App/CCM_App.cpp: * examples/ASX/Event_Server/Event_Server/Options.cpp: * examples/ASX/Message_Queue/buffer_stream.cpp: * examples/ASX/UPIPE_Event_Server/Options.cpp: * examples/ASX/UPIPE_Event_Server/event_server.cpp: * examples/C++NPv1/Logging_Client.cpp: * examples/C++NPv1/Logging_Handler.cpp: * examples/C++NPv1/Logging_Server.cpp: * examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp: * examples/C++NPv2/AC_Client_Logging_Daemon.cpp: * examples/C++NPv2/AIO_Client_Logging_Daemon.cpp: * examples/C++NPv2/Client_Logging_Daemon.cpp: * examples/C++NPv2/Reactor_Logging_Server_T.cpp: * examples/C++NPv2/Select_Reactor_Logging_Server.cpp: * examples/C++NPv2/Server_Shutdown.cpp: * examples/C++NPv2/TP_Reactor_Logging_Server.cpp: * examples/C++NPv2/display_logfile.cpp: * examples/ConfigViewer/ValueDlg.cpp: * examples/Connection/misc/Connection_Handler.cpp: * examples/IPC_SAP/FIFO_SAP/FIFO-Msg-client.cpp: * examples/IPC_SAP/SOCK_SAP/C-inserver.cpp: * examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp: * examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp: * examples/IPC_SAP/SOCK_SAP/CPP-memclient.cpp: * examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp: * examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp: * examples/IPC_SAP/SSL_SAP/SSL-client.cpp: * examples/IPC_SAP/SSL_SAP/SSL-server-fancy.cpp: * examples/Map_Manager/test_hash_map_manager.cpp: * examples/Mem_Map/IO-tests/IO_Test.cpp: * examples/OS/Process/process.cpp: * examples/QOS/Diffserv/diffserv_test.cpp: * examples/QOS/Diffserv/server.cpp: * examples/Reactor/Dgram/CODgram.cpp: * examples/Reactor/Dgram/Dgram.cpp: * examples/Reactor/Misc/pingpong.cpp: * examples/Reactor/Misc/test_demuxing.cpp: * examples/Reactor/Misc/test_early_timeouts.cpp: * examples/Reactor/Misc/test_event_handler_t.cpp: * examples/Reactor/Misc/test_reactors.cpp: * examples/Reactor/Multicast/Log_Wrapper.cpp: * examples/Reactor/Multicast/client.cpp: * examples/Reactor/Proactor/post_completions.cpp: * examples/Reactor/Proactor/simple_test_proactor.cpp: * examples/Reactor/Proactor/test_aiocb.cpp: * examples/Reactor/Proactor/test_aiosig.cpp: * examples/Reactor/Proactor/test_aiosig_ace.cpp: * examples/Reactor/Proactor/test_end_event_loop.cpp: * examples/Reactor/Proactor/test_proactor.cpp: * examples/Reactor/Proactor/test_proactor2.cpp: * examples/Reactor/Proactor/test_proactor3.cpp: * examples/Reactor/Proactor/test_udp_proactor.cpp: * examples/Reactor/WFMO_Reactor/Handle_Close.cpp: * examples/Reactor/WFMO_Reactor/Multithreading.cpp: * examples/Reactor/WFMO_Reactor/Prerun_State_Changes.cpp: * examples/Reactor/WFMO_Reactor/Removals.cpp: * examples/Reactor/WFMO_Reactor/Suspended_Removals.cpp: * examples/Reactor/WFMO_Reactor/Talker.cpp: * examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp: * examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp: * examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp: * examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp: * examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp: * examples/Shared_Malloc/Options.cpp: * examples/Synch/proc_sema.cpp: * examples/System_V_IPC/SV_Message_Queues/MQ_Server.cpp: * examples/Threads/barrier2.cpp: * examples/Threads/future1.cpp: * examples/Threads/future2.cpp: * examples/Threads/manual_event.cpp: * examples/Threads/task_five.cpp: * examples/Threads/task_four.cpp: * examples/Threads/task_three.cpp: * examples/Threads/task_two.cpp: * examples/Threads/thread_pool.cpp: * examples/Threads/tss1.cpp: * examples/Threads/wfmo.cpp: * examples/Web_Crawler/Options.cpp: Fixed ACE_OS fuzz warnings. Use ACE_OS calls instead of raw OS functions where possible. If fuzz detected a false-positive, then disable the ACE_OS fuzz check for that section of the code. Thu Jul 19 23:33:05 UTC 2007 Steve Huston * ace/Event_Handler.cpp (ctor): Put reference_count_ init back in the initializer list. Reverts: Thu Jul 19 17:15:42 UTC 2007 Steve Huston because a newer compiler (A.06.13) resolves the warning. Thanks to Johnny for noticing this. Thu Jul 19 19:54:22 UTC 2007 Adam Mitz * ace/Numeric_Limits.h: Use the macro ACE_LACKS_NUMERIC_LIMITS_64_BIT_TYPES to control whether or not ACE should define its own std::numeric_limits<> specializations for the 64-bit integral types. * ace/OS_NS_stdio.inl: * ace/OS_NS_stdio.cpp: The Platform SDK 64-bit compiler works like vc71 (not vc8) with respect to the arguments needed for vswprintf(). * ace/OS_NS_sys_stat.h: Use the macro ACE_MSVC_USES_DOUBLE_UNDERSCORE_STAT64 to control whether ACE_stat should be __stat64 instead of _stat64 (MSVC only). * ace/checked_iterator.h: The Platform SDK 64-bit compiler doesn't have checked iterators. * ace/config-lite.h: Use the macro ACE_HAS_BROKEN_STD_REVERSE_ITERATOR to indicate that the std::reverse_iterator class template needs a 2nd argument. * ace/config-win32-msvc-8.h: With the Platform SDK compiler (detected using _MSC_FULL_VER), we will now define ACE_AUTO_PTR_LACKS_RESET along with the three macros listed above and other macros needed to get a good build. This only applies to the x64 (aka AMD64/EMT64) target. Thu Jul 19 17:15:42 UTC 2007 Steve Huston * ace/Event_Handler.cpp (ctor): Put the init of reference_count_ in-body to avoid value-copied-to-temporary. * ace/Log_Msg.cpp (exists): No need for casting a void* to ACE_Log_Msg* just to check for 0. * ace/OS_NS_Thread.cpp (event_init): Remove unreachable return. * ace/Svc_Conf_y.cpp: Suppress warning 2111 "statement is unreachable" for HP aC++ on Itanium. * include/makeinclude/platform_hpux_aCC.GNU: Remove PRELIB. PRELIB for instantiating templates prior to the real link hasn't been needed for many years. Hopefully all the ancient compiler users have upgraded. Thu Jul 19 14:00:00 UTC 2007 Simon Massey * ace/Thread_Manager.cpp: This cast is actually not needed and was incorrect anyway. Thu Jul 19 12:40:00 UTC 2007 Simon Massey * tests/OS_Test.cpp: * tests/Map_Test.cpp: Change all ACE_ASSERTS to THIS_IS_NOT_AN_ASSERT_IT_IS_A_NON_DEBUG_TEST_AS_WELL as these tests are relying on the assert doing the actual run-time test and error reporting. These SHOULD NOT be asserts but always compiled and valid (otherwise the actual test code themselves is pointless). MORRAL: DO NOT IGNORE UNUSED VARIABLE WARNINGS ISSUED BY A COMPILER. Thu Jul 19 11:32:05 UTC 2007 Abdullah Sowayan * protocols/ace/TMCast/Group.hpp: * protocols/ace/TMCast/Group.cpp: Zap the usage of exception specifications. Thu Jul 19 10:29:57 UTC 2007 Vadym Ridosh * bin/tao_other_tests.lst: Disabled TAO/examples/PluggableUDP/tests/Performance in single threaded builds. Thu Jul 19 10:18:57 UTC 2007 Johnny Willemsen * include/makeinclude/platform_linux_icc.GNU: Disable visibility with Intel C++ 10.0, we do have some errors Thu Jul 19 09:52:57 UTC 2007 Johnny Willemsen * ace/config-icc-common.h: Updated export/import macros to be used with Intel C++ * include/makeinclude/platform_linux_icc.GNU: Enable visibility with Intel C++ 10.0. It results in a few warnings but seems to work. * ace/Atomic_Op.h: Updated define to check for Intel C++ * ace/config-rtems.h: Removed reference to KCC Thu Jul 19 07:32:57 UTC 2007 Johnny Willemsen * tests/SOCK_Netlink_Test.cpp: Added missing include Thu Jul 19 03:00:57 UTC 2007 Abdullah Sowayan * tests/Auto_Event_Test.cpp: * tests/Buffer_Stream_Test.cpp: * tests/Bug_1890_Regression_Test.cpp: * tests/Bug_2540_Regression_Test.cpp: * tests/Bug_2609_Regression_Test.cpp: * tests/Bug_2659_Regression_Test.cpp: * tests/Bug_2912_Regression_Test.cpp: * tests/CE_fostream.cpp: * tests/Conn_Test.cpp: * tests/Dev_Poll_Reactor_Test.cpp: * tests/Dynamic_Test.cpp: * tests/FlReactor_Test.cpp: * tests/Future_Set_Test.cpp: * tests/Future_Test.cpp: * tests/High_Res_Timer_Test.cpp: * tests/IOStream_Test.cpp: * tests/Log_Msg_Backend_Test.cpp: * tests/Logging_Strategy_Test.cpp: * tests/MT_Reference_Counted_Event_Handler_Test.cpp: * tests/Malloc_Test.cpp: * tests/Manual_Event_Test.cpp: * tests/Message_Block_Test.cpp: * tests/Multicast_Test.cpp: * tests/Multicast_Test_IPV6.cpp: * tests/Notify_Performance_Test.cpp: * tests/OS_Test.cpp: * tests/Pipe_Test.cpp: * tests/Priority_Reactor_Test.cpp: * tests/Priority_Task_Test.cpp: * tests/Proactor_Scatter_Gather_Test.cpp: * tests/Proactor_Test.cpp: * tests/Proactor_Test_IPV6.cpp: * tests/QtReactor_Test.cpp: * tests/Reactor_Notify_Test.cpp: * tests/Reactor_Performance_Test.cpp: * tests/Reactors_Test.cpp: * tests/Recursive_Condition_Bug_Test.cpp: * tests/Refcounted_Auto_Ptr_Test.cpp: * tests/SOCK_Dgram_Bcast_Test.cpp: * tests/SOCK_Netlink_Test.cpp: * tests/SOCK_SEQPACK_SCTP_Test.cpp: * tests/SPIPE_Test.cpp: * tests/SSL/SSL_Asynch_Stream_Test.cpp: * tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp: * tests/Semaphore_Test.cpp: * tests/TP_Reactor_Test.cpp: * tests/Task_Ex_Test.cpp: * tests/Task_Test.cpp: * tests/Thread_Creation_Threshold_Test.cpp: * tests/Thread_Pool_Reactor_Resume_Test.cpp: * tests/Thread_Pool_Reactor_Test.cpp: * tests/Thread_Pool_Test.cpp: * tests/TkReactor_Test.cpp: * tests/Token_Strategy_Test.cpp: * tests/Unload_libACE.cpp: * tests/XtAthenaReactor_Test.cpp: * tests/XtMotifReactor_Test.cpp: Fixed ACE_OS fuzz warnings. Use ACE_OS calls instead of raw OS functions where possible. If fuzz detected a false-positive, then disable the ACE_OS fuzz check for that section of the code. Wed Jul 18 20:25:07 UTC 2007 Steve Huston * tests/Proactor_Test.{h cpp}: Fixed to log operation and byte counts correctly on both 32 and 64 bit platforms. Wed Jul 18 12:59:27 UTC 2007 Johnny Willemsen * ace/Basic_Types.h: Added special ACE_LONGLONG_TO_PTR for OpenVMS * ace/Dynamic_Service_Base.h: * ace/Service_Config.cpp: Layout change Wed Jul 18 06:45:27 UTC 2007 Douglas C. Schmidt * 45 and going strong! Wed Jul 18 05:02:49 UTC 2007 Abdullah Sowayan * ace/Activation_Queue.cpp: * ace/Future.cpp: * apps/JAWS/clients/WebSTONE/src/bench.c: * apps/JAWS/clients/WebSTONE/src/genrand.c: * apps/JAWS/clients/WebSTONE/src/getopt.c: * apps/JAWS/clients/WebSTONE/src/gettimeofday.c: * apps/JAWS/clients/WebSTONE/src/nsapi-includes/frame/http.h: * apps/JAWS/clients/WebSTONE/src/sysdep.h: * apps/JAWS/clients/WebSTONE/src/webmaster.c: * contrib/FaCE/Main.cpp: * contrib/minizip/unzip.c: * contrib/minizip/unzip.h: * contrib/minizip/zip.h: * examples/Threads/thread_pool.cpp: * tests/ACE_Init_TestDlg.h: * tests/Message_Block_Test.cpp: * tests/Network_Adapters_Test.cpp: Fixed Fuzz warnings. Zapped the usage of NULL and replaced every NULL with 0 instead. Tue Jul 17 18:38:53 UTC 2007 Steve Huston * examples/Reactor/Multicast/Log_Wrapper.cpp (open): Removed the ACE_LACKS_UTSNAME_T block as it's no longer needed. See Mon Jul 16 21:00:46 UTC 2007 Steve Huston Tue Jul 17 18:21:25 UTC 2007 Steve Huston * ace/Process.h: Expanded the documentation for creation_flags(). Tue Jul 17 18:07:01 UTC 2007 Steve Huston * ace/os_include/os_intrin.h: Corrected the prototypes for InterlockedExchange[Add] on VC7.1. Thanks to Juraj Ivancic for this fix. Tue Jul 17 10:20:24 UTC 2007 Johnny Willemsen * examples/Reactor/Proactor/test_proactor2.cpp: * examples/Reactor/Proactor/test_proactor3.cpp: Fixed some compile warnings/errors Tue Jul 17 08:36:24 UTC 2007 Johnny Willemsen * ace/POSIX_Proactor.h: * ace/SUN_Proactor.h: Doxygen updates * ace/Service_Gestalt.cpp: Layout changes Tue Jul 17 04:03:24 UTC 2007 Abdullah Sowayan * Kokyu/Dispatch_Deferrer.cpp: * ace/FoxReactor/FoxReactor.h: * apps/JAWS/clients/Caching/http_client.cpp: * apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/crit.h: * apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/dll.h: * apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/file.h: * apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/nterrors.h: * apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/sem.h: * apps/JAWS/clients/WebSTONE/src/parse_file_list.c: * apps/JAWS/clients/WebSTONE/src/rexec.c: * apps/JAWS/clients/WebSTONE/src/sysdep.h: * apps/JAWS/clients/WebSTONE/src/sysdep.c: * apps/JAWS/clients/WebSTONE/src/webclient.c: * apps/JAWS/stress_testing/http_tester.cpp: * apps/JAWS/stress_testing/util.cpp: * apps/JAWS2/JAWS/Parse_Headers.cpp: * apps/JAWS3/bench/rqfiles.cpp: * apps/JAWS3/jaws3/Cached_Allocator_T.cpp: * contrib/FaCE/CE_Screen_Output.cpp: * contrib/FaCE/FaCE.cpp: * contrib/FaCE/FaCE_OS.h: * contrib/minizip/crypt.h: * contrib/minizip/ioapi.c: * contrib/minizip/miniunz.c: * contrib/minizip/minizip.c: * contrib/minizip/mztools.c: * contrib/minizip/unzip.c: * contrib/minizip/zip.c: * examples/APG/Shared_Memory/PI_Malloc.cpp: * examples/IPC_SAP/ATM_SAP/CPP-client.cpp: * examples/Log_Msg/Log_Msg_MFC/Log_Msg_MFCDlg.h: * examples/Log_Msg/Log_Msg_MFC/Log_Msg_MFCDlg.cpp: * examples/Misc/test_XtReactor1.cpp: * examples/Misc/test_XtReactor2.cpp: * examples/Naming/test_multiple_contexts.cpp: * examples/Naming/test_writers.cpp: * examples/OS/Process/imore.cpp: * examples/OS/Process/process.cpp: * examples/Reactor/Multicast/Log_Wrapper.cpp: * examples/Reactor/Proactor/test_proactor2.cpp: * examples/Reactor/WFMO_Reactor/Window_Messages.cpp: * examples/Threads/task_three.cpp: * examples/Timer_Queue/Driver.cpp: * netsvcs/clients/Naming/Dump_Restore/createfile.cpp: * netsvcs/lib/TS_Clerk_Handler.cpp: * performance-tests/Synch-Benchmarks/context.c: * performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp: * performance-tests/TTCP/C/new-ttcp.cpp: * performance-tests/UDP/udp_test.cpp: * tests/Bug_2497_Regression_Test.cpp: * tests/Bug_2912_Regression_Test.cpp: * tests/Dirent_Test.cpp: * tests/OS_Test.cpp: * tests/SOCK_Netlink_Test.cpp: * tests/Sigset_Ops_Test.cpp: * tests/Unload_libACE.cpp: Fixed Fuzz warnings. Zapped the usage of NULL and replaced every NULL with 0 instead. Tue Jul 17 02:48:10 UTC 2007 Phil Mesnier * bin/msvc_static_order.lst: Fixed misspelled directory name. Mon Jul 16 21:00:46 UTC 2007 Steve Huston * ace/OS_NS_sys_utsname.{h cpp}: When ACE needs to define a ACE_utsname struct (for sytems where ACE_LACKS_UTSNAME_T) define the character strings as char[], not ACE_TCHAR[], to make it the same across all platforms. Unifies handling for this struct and fixes Bugzilla #2665. * NEWS: Describes the above change in ACE_utsname's types. * tests/Enum_Interfaces_Test.cpp: Remove the specialized handling for ACE_utsname depending on the ACE_LACKS_UTSNAME setting; it's all the same now. Mon Jul 16 20:15:22 UTC 2007 Steve Huston * tests/run_test.pl: When checking for Starting/Ending lines in child sublogs, allow one Process_Manager_Test sublog to miss its Ending line. One of the child processes gets terminated and on some platforms (notably HP-UX 11 on PA-RISC) this leaves a short log file. Since this is the intended purpose of the test, don't flag it as a failure. Mon Jul 16 19:29:56 UTC 2007 Steve Huston * ace/POSIX_Proactor.cpp (ACE_AIOCB_Notify_Pipe_Manager): Set pipe's read handle blocking, else it constantly completes reads of 0 bytes, EWOULDBLOCK. Correcting this makes HP-UX PA-RISC Proactor_Timer_Test complete. Mon Jul 16 18:57:12 UTC 2007 Johnny Willemsen * examples/Reactor/Proactor/Proactor.mpc: Temporarily removed proactor2 and 3, to cleanup scoreboard Mon Jul 16 10:01:12 UTC 2007 Johnny Willemsen * examples/Reactor/Proactor/test_aiosig.cpp: Fixed compile problems, thanks to Craig Rodrigues for reporting these * examples/Reactor/Proactor/Proactor.mpc: Added proactor2 and proactor3 * examples/Reactor/Proactor/test_proactor3.cpp: Fixed compile warnings Sun Jul 15 18:45:03 UTC 2007 Abdullah Sowayan * bin/fuzz.pl: Enhaced NULL detection. Re-enable the check for NULL. Sun Jul 15 14:52:12 UTC 2007 Johnny Willemsen * ace/Future.cpp: Reverted the change of yesterday to use prefix decrement, breaks the future code Sun Jul 15 13:08:50 UTC 2007 Abdullah Sowayan * ace/Malloc.h: * ace/OS_NS_stdio.inl: * ace/OS_NS_stropts.cpp: * ace/OS_NS_unistd.cpp: * ace/Object_Manager_Base.cpp: * ace/QoS/QoS_Session_Impl.cpp: * ace/Rtems_init.c: * ace/SOCK_Dgram.cpp: * ace/SOCK_Dgram_Mcast.cpp: * ace/SOCK_SEQPACK_Connector.inl: * ace/SSL/SSL_Asynch_BIO.cpp: * ace/SSL/SSL_Context.cpp: * ace/Sock_Connect.cpp: * ace/os_include/os_stddef.h: Fixed Fuzz warnings regarding the usage of NULL. Prefer the usage of 0 instead of NULL. Sun Jul 15 04:21:44 UTC 2007 Phil Mesnier * bin/msvc_static_order.lst: Add a new pre-build project to the list. This resolves msvc static build errors. Sat Jul 14 15:03:39 UTC 2007 Abdullah Sowayan * performance-tests/Misc/childbirth_time.cpp: * performance-tests/Misc/preempt.cpp: * performance-tests/Misc/test_guard.cpp: * performance-tests/Misc/test_naming.cpp: * performance-tests/RPC/client.cpp: * performance-tests/SCTP/SOCK_SEQPACK_clt.cpp: * performance-tests/SCTP/SOCK_STREAM_clt.cpp: * performance-tests/SCTP/hist.cpp: * performance-tests/Server_Concurrency/Queue_Based_Workers/RT_CORBA_Workers.cpp: * performance-tests/Synch-Benchmarks/Base_Test/Baseline_Test.cpp: * performance-tests/Synch-Benchmarks/Perf_Test/guard_test.cpp: * performance-tests/TCP/tcp_test.cpp: * performance-tests/TTCP/C/new-ttcp.cpp: * performance-tests/UDP/udp_test.cpp: Fixed ACE_OS fuzz warnings. Use ACE_OS calls instead of raw OS functions where possible. If fuzz detected a false-positive, then disable the ACE_OS fuzz check for that section of the code. Sat Jul 14 07:47:12 UTC 2007 Johnny Willemsen * ace/config-macosx-tiger.h: Removed commented out defines * ace/Future.cpp: Use prefix decrement * ace/Handle_Set.h: * ace/Timer_Queue_T.h: Doxygen improvements * ace/Handle_Set.inl: Added ACE_HAS_NONCONST_FD_ISSET. Is for MacOS Leopard Thanks to Dennis Chernoivanov for reporting this. This is part of bugzilla 2984 * ace/High_Res_Timer.cpp: Const improvement * ace/OS_NS_stropts.cpp: * ace/OS_NS_Thread.inl Layout changes * ace/Timer_Queue_Adapters.cpp: Const changes Sat Jul 14 02:26:28 UTC 2007 Abdullah Sowayan * apps/JAWS/clients/WebSTONE/src/webclient.c: * apps/JAWS/stress_testing/http_tester.cpp: * apps/mkcsregdb/mkcsregdb.cpp: * apps/soreduce/soreduce.cpp: Use ACE_TMAIN instead of main. * apps/mkcsregdb/mkcsregdb.mpc: Update to explicitly have exename in the mpc file. Sat Jul 14 01:28:25 UTC 2007 Phil Mesnier * bin/MakeProjectCreator/modules/AutomakeWorkspaceHelper.pm: Fix for getting the right base directory for Kokyu based TAO examples and tests. Fri Jul 13 23:05:13 UTC 2007 Steve Huston * tests/Bug_2912_Regression_Test.cpp: Don't run this test on Linux; it requires multiple outstanding asynch I/O ops, which Linux can't hack at this time (at least up thru RHEL 4). Fri Jul 13 22:39:43 UTC 2007 Steve Huston * tests/run_test.lst: Add !BAD_AIO to Bug_2912_Regression_Test since it relies on ACE_Proactor which can't work if there's BAD_AIO. Fri Jul 13 22:15:05 UTC 2007 Steve Huston * ace/WIN32_Proactor.cpp (handle_events): Don't try to dispatch a completion if there's no OVERLAPPED pointer specified - it's just a 'ping'. Thanks to Paxton Mason for reporting this. Fixes Bugzilla #1526. Fri Jul 13 17:18:02 UTC 2007 Ossama Othman * NEWS: Added note about minor API change to ACE::daemonize(). Fri Jul 13 16:49:31 UTC 2007 Ossama Othman * ace/Svc_Conf.h (ace_yyerror): * ace/Svc_Conf.y (ace_yyerror): * ace/Svc_Conf_y.cpp (ace_yyerror): Backed out change to message parameter. It is once again a narrow string. The generated parser doesn't support wide strings, and passes narrow strings to ace_yyerror(). For the moment, convert the narrow string message parameter to an ACE_TCHAR using the ACE_CHAR_TO_TCHAR macro instead. Once the parser (and lexer) support passing wide strings to ace_yyerror(), the use of ACE_CHAR_TO_TCHAR can be removed. Fri Jul 13 16:41:31 UTC 2007 Ossama Othman * ace/Svc_Conf.h (ace_yyerror): Updated the prototype signature to match the latest implementation signature. Thanks to Steve Huston for pointing out the error. Fri Jul 13 08:13:19 UTC 2007 Vadym Ridosh * bin/tao_other_tests.lst: Excluded examples/PluggableUDP/tests/Performance from corba_e_compact and corba_e_micro builds. Fri Jul 13 03:02:58 UTC 2007 Abdullah Sowayan * bin/fuzz.pl: Enhanced regular expression for exception specification check. Increased level for the following checks: check_for_lack_ACE_OS check_for_exception_spec check_for_NULL check_for_improper_main_declaration There are way too many fuzz warnings now, I will enable those checks again once I'm done zapping the current warnings. That way fuzz can be useful again to folks that check code in. Thu Jul 13 00:04:25 UTC 2007 Ossama Othman * ace/ACE.cpp (daemonize): * ace/ACE.h (daemonize): Changed "close_all_handles" parameter to a bool to better reflect its purpose. * ace/CDR_Stream.cpp (grow_and_adjust): Replaced C style casts with C++ casts. (skip_wchar, read_wchar): Cleaned up local/temporary variables. (read_string, read_wstring): Fixed leak on exception. (skip_wstring): No need for a boolean comparison in a conditional. Use the boolean value directly. * ace/Condition_Thread_Mutex.cpp: * ace/Condition_Thread_Mutex.h: Removed const qualifier from ACE_Thread_Mutex parameter in ACE_Condition_Thread_Mutex constructors. It is misleading since the ACE_Thread_Mutex must be mutable, and is used in that way. * ace/DLL.cpp (operator=): Simplified the ACE_DLL assignment operator, and simultaneously made it strongly exception safe. * ace/Service_Gestalt.cpp: Whitespace/indentation correction. * ace/Svc_Conf.y (yyerror): * ace/Svc_Conf_y.cpp (ace_yyerror): Corrected message string parameter type. s/char/ACE_TCHAR/. Improved error message to make it clear the error is coming from ACE. Thu Jul 12 16:29:12 UTC 2007 Johnny Willemsen * tests/Bug_2975_Regression.cpp: * tests/test.mpc: New regression test for 2975, thanks to Pavel Zaichenko for making this test Thu Jul 12 12:07:27 UTC 2007 Vadym Ridosh * bin/tao_other_tests.lst: * bin/tao_orb_tests.lst: Added IPv6 tests to current DIOP tests and enabled examples/PluggableUDP/tests/Performance test for usual and IPv6 testing. Thu Jul 12 01:27:12 UTC 2007 Johnny Willemsen * ace/Atomic_Op.cpp: Updated some comments * ace/Atomic_Op.h: Also enable the intel assembly when using Intel C++ or when running on EM64T. Thu Jul 12 01:15:12 UTC 2007 Johnny Willemsen * ace/Atomic_Op.{h,cpp}: When using Intel assembly, just define ACE_HAS_INTEL_ASSEMBLY in the header file and check this in the cpp file, much easier to maintain then all explicit checks in the cpp file Wed Jul 11 20:17:07 UTC 2007 Steve Huston * ace/config-aix-5.x.h: For IBM compilers Visual Age C++ 6 and up, use custom template export macros to correctly generate weak symbols for importable templates. Allows correct reuse of templates instantiated in a shared library - in this case, fixes failures in Based_Pointer_Test where singletons from ACE and another shared library did not resolve to the same pointer. * tests/Based_Pointer_Test.cpp: Use %@, not %x, to log pointer values. Wed Jul 11 17:02:12 UTC 2007 Johnny Willemsen * bin/fuzz.pl: Increased level for the tab check, something to fix in the future Tue Jul 10 17:06:10 UTC 2007 Steve Huston * ace/config-sunos5.10.h: Added correct printf() modifiers for ACE_SIZE_T_FORMAT_SPECIFIER and ACE_SSIZE_T_FORMAT_SPECIFIER. Tue Jul 10 16:07:38 UTC 2007 Steve Huston * tests/Basic_Types_Test.cpp: * tests/Time_Value_Test.cpp: Moved the ACE_U_LongLong checks from Time_Value_Test, where they were artificially wedged in for Sun, to Basic_Types_Test. The ACE_U_LongLong stuff was put in place (Tue Aug 26 11:06:45 1997 David L. Levine ) during what was apparantly some tumultuous platform times, then subsequently enabled and disabled in various platforms as needed to resolve side-affects. If it's still needed on any platforms that don't have native long long, it'll be run. Tue Jul 10 14:30:50 UTC 2007 Phil Mesnier * ace/INET_Addr.cpp: Reverted AIX-specific change. It didn't work. Tue Jul 10 13:13:12 UTC 2007 Johnny Willemsen * ace/config-vxworks6.2.h: * ace/config-vxworks6.3.h: * ace/config-vxworks6.4.h: WindRiver has released a patch for TSR560446, so slightly changed the way we check whether to define _C99 so that when the patch for the TSR has been applied we don't define _C99 manually Tue Jul 10 06:25:48 UTC 2007 Vladimir Zykov * bin/PerlACE/Process_Unix.pm: Now check_return_value will return 255 instead of 0 at the end when it reports an error. Mon Jul 9 12:25:12 UTC 2007 Johnny Willemsen * ace/OS_NS_unistd.cpp (fork_exec): Improved free allocation memory in the case where Windows CreateProcess() fails using ACE_Auto_Basic_Array_Ptr. Resolves Bugzilla #2983. * ace/Service_Config.cpp: * ace/CDR_Stream.h: Layout change * ace/Object_Manager.cpp: * ace/Object_Manager_Base.cpp: * ace/Object_Manager_Base.h: Changed dynamically_allocated to a real bool Sun Jul 8 22:05:12 UTC 2007 Johnny Willemsen * ace/OS_NS_stdio.inl (cuserid): Only use L_cuserid when it is defined, fixes a problem on MacOS X 9. Thanks to Dennis Chernoivanov for reporting this. This is part of bugzilla 2984 Sat Jul 7 17:45:34 UTC 2007 Phil Mesnier * NEWS: Note about a minor change of behavior for ACE_INET_Addr setting with a string on IPv6 enabled builds. * ace/INET_Addr.cpp: More tweaks to setting the address based on a hostname string with IPv6 support compiled in. This cleans up errors on AIX. Fri Jul 6 21:33:47 UTC 2007 Steve Huston * apps/FaCE: * contrib/FaCE: Moved the FaCE utility from apps to contrib. It's a useful utility for testing ACE+TAO apps on WinCE, but is not an ACE app. It's also not particularly well-maintained, but is a useful utility to keep for WinCE developers. * NEWS: Noted the above move. Fri Jul 6 15:24:48 UTC 2007 Steve Huston * ace/OS_NS_unistd.cpp (fork_exec): Free allocated memory in the case where Windows CreateProcess() fails. Thanks to Martin Kolleck for this fix. Resolves Bugzilla #2983. Fri Jul 6 14:52:00 UTC 2007 Steve Huston * ace/OS_NS_Thread.inl: * ace/os_include/os_semaphore.h: Reversed the default for platforms that do have POSIX semaphores (ACE_HAS_POSIX_SEM) but do not have native timed-wait functionality (ACE_HAS_POSIX_SEM_TIMEOUT). They used to include the timed wait capability only if the ACE_HAS_POSIX_SEM_TIMEOUT_EMULATION macro was set; now they will always include the timed wait emulation unless the ACE_DISABLE_POSIX_SEM_TIMEOUT_EMULATION macro is set. This automatically extends the capability where it is needed but leaves a way for it to be disabled for users who really want to save the memory footprint and don't need timed waits. * ace/config-aix-5.x.h: Removed ACE_HAS_POSIX_SEM_TIMEOUT_EMULATION. Fri Jul 6 10:10:58 UTC 2007 Jeff Parsons * bin/MakeProjectCreator/config/support_ostream.mpb: New file, containing a feature, inherited in ace.mpc that is turned on by modifying gen_ostream = 0 in default.features. * ace/ace.mpc: Added inheritance of the above new feature. * ace/CDR_Stream.h: * ace/CDR_Stream.cpp: Guarded the recently added ostream operators for ACE_CDR::from_char, from_wchar, from_octet and from_boolean with a flag that is defined when the above new feature is turned on. Thu Jul 5 18:56:11 UTC 2007 Steve Huston * tests/SOCK_Connector_Test.cpp: Removed the AIX 4.3 condition for not calling sethostent(1). The condition was coded incorrectly such that it was used for AIX 5.3; since AIX 4.3 is no longer supported, the check was removed instead of changed. Thanks to Phil Mesnier for calling this to my attention. Thu Jul 5 16:03:29 UTC 2007 Steve Huston * tests/Semaphore_Test.cpp: Removed the platform restrictions for avoiding the semaphore timed-acquire functionality. There should be available support for all (or most) platforms, so we need to shake out which have it natively and which need the emulation. Thu Jul 5 07:35:45 UTC 2007 Simon Massey * ace/Thread_Manager.cpp: Fixed Bugzilla 2972 - Memory leak of ACE_Thread_Adapter on spawn. Wed Jul 4 15:45:45 UTC 2007 Vladimir Zykov * bin/PerlACE/Process_Unix.pm: Fixed a problem that existed on SunOS when arguments of spawned process contained any of [] and exec in that case was spawning a new process instead of loading it in place of a process created by fork. Wed Jul 4 06:02:38 UTC 2007 Abdullah Sowayan * protocols/ace/HTBP/HTBP_Filter.cpp: * protocols/ace/HTBP/HTBP_Inside_Squid_Filter.cpp: * protocols/ace/HTBP/HTBP_Outside_Squid_Filter.cpp: * protocols/ace/RMCast/Acknowledge.cpp: * protocols/ace/RMCast/Flow.cpp: * protocols/ace/RMCast/Fragment.cpp: * protocols/ace/RMCast/Link.cpp: * protocols/ace/RMCast/Reassemble.cpp: * protocols/ace/RMCast/Retransmit.cpp: * protocols/ace/RMCast/Simulator.cpp: * protocols/ace/RMCast/Socket.cpp: * protocols/ace/RMCast/Stack.cpp: * protocols/ace/TMCast/Group.cpp: * protocols/examples/RMCast/Send_Msg/Receiver.cpp: * protocols/examples/RMCast/Send_Msg/Sender.cpp: * protocols/tests/RMCast/Receiver.cpp: * protocols/tests/RMCast/Sender.cpp: Fixed ACE_OS fuzz warnings. Use ACE_OS calls instead of raw OS functions where possible. If fuzz detected a false-positive, then disable the ACE_OS fuzz check for that section of the code. Tue Jul 3 21:04:59 UTC 2007 Steve Huston * ace/config-win32-common.h: Remove the include for CE. It's not there for building CE using VS .NET 2005. * examples/Reactor/Multicast/Log_Wrapper.cpp: * protocols/ace/RMCast/Link.cpp: * protocols/ace/RMCast/Simulator.cpp: Use ACE_OS::time() rather than naked time(); fixes build error on WinCE. * examples/APG/Sockets/Basic.cpp: * examples/APG/Sockets/Iovec.cpp: * examples/Connection/misc/test_upipe.h: Use ACE_OS::write() rather than naked write() and use ACE_STDOUT rather than fd 1. Fixes WinCE build errors. * examples/Reactor/Misc/notification.cpp: * examples/Reactor/Misc/test_demuxing.cpp: Avoid compile errors where both SIGINT and SIGQUIT are stubbed to 0 (such as WinCE). * examples/OS/Process/OS_Process.mpc: Avoid this for WinCE. The code uses plenty of naked Windows system calls that make no sense for CE. * examples/Log_Msg/Log_Msg_MFC/Log_Msg_MFC.mpc: Avoid this for WinCE. The code sends ACE logging output to the Visual Studio debug window, something not really possible using this code on CE. * examples/IPC_SAP/SOCK_SAP/sock_sap.mpc: Avoid wince for C-inserver. It uses too much low-level system calls for CE to hack it. * tests/Malloc_Test.cpp: Cast the initializer for CHILD_BASE_ADDR so the VC8 WinCE compiler can hack it. * apps/FaCE/CE_Screen_Output.cpp: * apps/FaCE/FaCE.cpp: Reverted addition of ACE_OS from Sat Jun 30 05:11:43 UTC 2007 Abdullah Sowayan This utility doesn't make use of ACE except in very limited situations. I disabled FUZZ checks for ACE_OS instead. * apps/FaCE.cpp: Use ACE_ARGV instead of ACE_CE_ARGV. The latter was removed long ago when ACE_ARGV was improved to obviate it. See Fri Mar 28 16:04:28 2003 Steve Huston Tue Jul 3 14:29:12 UTC 2007 Johnny Willemsen * ace/config-vxworks6.5.h: * ace/Sock_Connect.cpp: VxWorks 6.5 rtp doesn't have getifaddrs Tue Jul 3 13:08:42 UTC 2007 Jeff Parsons * ace/CDR_Stream.h: Moved ostream operator declarations out of the #else branch of #if defined (__ACE_INLINE__), where they were mistakenly put originally. Tue Jul 3 11:41:12 UTC 2007 Johnny Willemsen * ace/OS_Memory.h: Use ::std instead of std to prevent problems when users have XXX::YYY::std as namespace in their own code. This fixes bugzilla 2976. Thanks to Pavel Zaichenko for reporting this Mon Jul 2 15:59:28 UTC 2007 Adam Mitz * ace/Vector_T.h: * ace/Vector_T.inl: Added a swap() member to Vector. Previously Vector inherited swap() which would produce invalid results since the members declared in Vector were not swapped. This fixes bugilla bug #2951. * tests/Vector_Test.cpp: Test for the change above. Mon Jul 2 14:36:25 UTC 2007 Adam Mitz * bin/generate_doxygen.pl: Fixed a logic error that resulted in manpage documentation even when the option was not specified. Mon Jul 2 14:19:03 UTC 2007 Adam Mitz * docs/ACE-guidelines.html: Fixed incorrect statement about casts between pointers and longs. Mon Jul 2 12:03:36 UTC 2007 Jeff Parsons * bin/MakeProjectCreator/config/global.features: Added line 'gen_ostream = 0' so that the gen_ostream feature can be inherited into tao.mpc but be turned off by default. Thanks to Johnny Willemsen for suggesting this approach to keeping the default footprint of TAO from rising by default generation of ostream insertion operators for all ORB-defined IDL types. Mon Jul 2 11:39:20 UTC 2007 Chad Elliott * ACE.mwc: Utilize the new 'associate' feature to decrease the amount of hand editing required for automake generation. * bin/MakeProjectCreator/modules/AutomakeWorkspaceHelper.pm: Minor change to remove an extra new line. Mon Jul 2 09:40:12 UTC 2007 Johnny Willemsen * ace/os_include/sys/os_socket.h: Defined SCM_RIGHTS when it is not defined yet * ace/Activation_Queue.{h,cpp}: Changed delete_queue_ to a real bool * ace/Sig_Handler.h: Doxygen improvements Mon Jul 2 09:01:12 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added Bug 2936 regression Mon Jul 2 07:33:12 UTC 2007 Johnny Willemsen * bin/tao_other_tests.lst: Added Bug 2926 regression Sun Jul 1 17:01:21 UTC 2007 Abdullah Sowayan * apps/drwho/PMC_All.cpp: Removed #include "ace/OS_NS_stdio.h" * apps/drwho/PMS_All.cpp: Added #include "ace/OS_NS_stdio.h" The include was introduced to the wrong file by mistake in Sat Jun 30 16:19:57 UTC 2007 Abdullah Sowayan Sat Jun 30 16:19:57 UTC 2007 Abdullah Sowayan * apps/drwho/PMC_All.cpp: * apps/drwho/PMC_Flo.cpp: * apps/drwho/PMS_Flo.cpp: * apps/drwho/PMS_Ruser.cpp: * apps/drwho/PM_Server.cpp: Fixed compile-time error. Added missing #include "ace/OS_NS_stdio.h". Sat Jun 30 05:11:43 UTC 2007 Abdullah Sowayan * apps/FaCE/CE_Screen_Output.cpp: * apps/FaCE/FaCE.cpp: * apps/JAWS/clients/Caching/http_client.cpp: * apps/JAWS/server/HTTP_Response.cpp: * apps/JAWS/server/Parse_Headers.cpp: * apps/JAWS/stress_testing/benchd.cpp: * apps/JAWS/stress_testing/connection.cpp: * apps/JAWS/stress_testing/http_tester.cpp: * apps/JAWS/stress_testing/stats.cpp: * apps/JAWS/stress_testing/util.cpp: * apps/JAWS2/JAWS/Server.cpp: * apps/JAWS3/bench/average.cpp: * apps/JAWS3/bench/mkfiles.cpp: * apps/JAWS3/bench/rqfiles.cpp: * apps/JAWS3/jaws3-todo/Map_Manager_T.cpp: * apps/JAWS3/jaws3/Cached_Allocator_T.cpp: * apps/drwho/CM_Client.cpp: * apps/drwho/CM_Server.cpp: * apps/drwho/File_Manager.cpp: * apps/drwho/Multicast_Manager.cpp: * apps/drwho/Options.cpp: * apps/drwho/PMC_Flo.cpp: * apps/drwho/PMS_All.cpp: * apps/drwho/PMS_Flo.cpp: * apps/drwho/PMS_Ruser.cpp: * apps/drwho/PM_Server.cpp: * apps/gperf/src/Gen_Perf.cpp: * apps/gperf/src/Iterator.cpp: * apps/gperf/src/Key_List.cpp: * apps/gperf/src/List_Node.cpp: * apps/gperf/src/Options.h: * apps/gperf/src/Options.cpp: * apps/mkcsregdb/mkcsregdb.cpp: * apps/soreduce/Library.cpp: Fixed ACE_OS fuzz warnings. Use ACE_OS calls instead of raw OS functions where possible. If fuzz detected a false-positive, then disable the ACE_OS fuzz check for that section of the code. * apps/gperf/src/Gen_Perf.cpp: * apps/gperf/src/Iterator.cpp: * apps/gperf/src/Key_List.cpp: * apps/gperf/src/List_Node.cpp: * apps/gperf/src/Options.h: * apps/gperf/src/Options.cpp: Changed code generated by gperf for usage by the IDL compiler to use functions in ACE_OS instead of raw OS calls. Sat Jun 30 04:48:34 UTC 2007 Abdullah Sowayan * ASNMP/asnmp/address.cpp: * ASNMP/asnmp/ctr64.cpp: * ASNMP/asnmp/integer.cpp: * ASNMP/asnmp/octet.cpp: * ASNMP/asnmp/oid.cpp: * ASNMP/asnmp/pdu.cpp: * ASNMP/asnmp/target.cpp: * ASNMP/asnmp/timetick.cpp: * ASNMP/asnmp/transaction.cpp: * ASNMP/asnmp/wpdu.cpp: * ASNMP/examples/get/get.cpp: * ASNMP/examples/get/get_async.cpp: * ASNMP/examples/next/next.cpp: * ASNMP/examples/set/set.cpp: * ASNMP/examples/trap/trap.cpp: * ASNMP/examples/walk/walk.cpp: * ASNMP/tests/Address_Test.cpp: Fixed ACE_OS fuzz warnings. Use ACE_OS calls instead of raw OS functions where possible. If fuzz detected a false-positive, then disable the ACE_OS fuzz check for that section of the code. Fri Jun 29 19:40:27 UTC 2007 Steve Huston * bin/PerlACE/Process_Unix.pm: Don't hang waiting for a failed spawn to exit its process. Fri Jun 29 19:26:12 UTC 2007 Johnny Willemsen * performance-tests/TCP/tcp_test.cpp: * tests/Message_Queue_Test.cpp: Updated includes Fri Jun 29 18:39:46 UTC 2007 Adam Mitz * bin/depgen.pl: Load modules from $MPC_ROOT/modules since the NMake dependency generator now uses some functions from MPC. Fri Jun 29 13:38:12 UTC 2007 Johnny Willemsen * ace/Stats.{h,cpp,inl}: * ace/Throughput_Stats.{h,cpp}: Moved ACE_Throughput_Stats to its own file, fixes bugzilla bug 2969 * ace/ace.mpc: * ace/Makefile.am: Added new files Fri Jun 29 12:04:12 UTC 2007 Johnny Willemsen * ace/Message_Queue.{h,cpp,inl}: * ace/Message_Queue_Vx.{h,cpp,inl}: Moved ACE_Message_Queue_Vx to its own file, fixes bugzilla bug 2970 * ace/ace.mpc: * ace/Makefile.am: Added new files Fri Jun 29 11:16:06 UTC 2007 Jeff Parsons * ace/CDR_Stream.h: * ace/CDR_Stream.cpp: Reversed the order of declaration and implementation for overloads of ostream operator for from_octet and from_wchar. The former calls the latter, and some compilers seem to require that the latter's full implementation be seen before it can be called. Fri Jun 29 11:03:12 UTC 2007 Johnny Willemsen * include/makeinclude/platform_mingw32.GNU: Set PLATFORM_SSL_LIBS. Thanks to Andy Wang for reporting this Fri Jun 29 10:59:12 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added new Bug_2953_Regression Fri Jun 29 09:48:12 UTC 2007 Johnny Willemsen * ace/OS_NS_arpa_inet.cpp: Fix for VxWorks 6.5 Thu Jun 28 16:12:18 UTC 2007 Phil Mesnier * ACEXML/common/URL_Addr.h: * ACEXML/common/URL_Addr.cpp: * examples/Web_Crawler/URL_Addr.h: * examples/Web_Crawler/URL_Addr.cpp: * protocols/ace/HTBP/HTBP_Addr.h: * protocols/ace/HTBP/HTBP_Addr.cpp: Update string_to_addr interface to match previous change to ACE_INET_Addr in order to silence some compiler warnings Thu Jun 28 15:18:35 UTC 2007 Steve Huston * bin/sandbox.cpp: Removed. There's an identical copy of this file in the autobuild repository, autobuild/posixsandbox/sandbox.cpp. Thu Jun 28 14:12:12 UTC 2007 Johnny Willemsen * examples/ASX/Message_Queue/buffer_stream.cpp: * examples/C++NPv1/Iterative_Logging_Server.cpp: * examples/C++NPv1/Logging_Client.cpp: * examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp: * examples/C++NPv1/Reactive_Logging_Server.cpp: * examples/C++NPv1/Reactive_Logging_Server_Ex.cpp: * examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.cpp: * examples/C++NPv1/Thread_Per_Connection_Logging_Server.cpp: * examples/C++NPv2/Reactor_Logging_Server.cpp: * examples/C++NPv2/Select_Reactor_Logging_Server.cpp: * examples/C++NPv2/TP_Reactor_Logging_Server.cpp: * examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp: * examples/Connection/blocking/test_spipe_acceptor.cpp: * examples/Connection/misc/test_upipe.cpp: * examples/IPC_SAP/SSL_SAP/SSL-server-poll.cpp: * examples/IPC_SAP/TLI_SAP/CPP-ATM-client.cpp: * examples/IPC_SAP/TLI_SAP/CPP-ATM-server.cpp: * examples/IPC_SAP/TLI_SAP/CPP-server.cpp: * examples/IPC_SAP/TLI_SAP/db-server.cpp: * examples/IPC_SAP/TLI_SAP/ftp-server.cpp: * examples/Reactor/Misc/notification.cpp: * examples/Reactor/Misc/test_demuxing.cpp: * examples/Reactor/Misc/test_reactors.cpp: * examples/Reactor/Misc/test_time_value.cpp: * examples/Reactor/Proactor/Aio_Platform_Test_C.cpp: * examples/Reactor/Proactor/post_completions.cpp: * examples/Reactor/Proactor/test_aiosig.cpp: * examples/Reactor/Proactor/test_aiosig_ace.cpp: * examples/Reactor/Proactor/test_end_event_loop.cpp: * examples/Reactor/Proactor/test_multiple_loops.cpp: * examples/Reactor/Proactor/test_timeout.cpp: * examples/System_V_IPC/SV_Message_Queues/MQ_Client.cpp: * examples/System_V_IPC/SV_Message_Queues/MQ_Server.cpp: * examples/System_V_IPC/SV_Message_Queues/TMQ_Server.cpp: * examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp: * examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp: * examples/Threads/task_one.cpp: Changed main to ACE_TMAIN Thu Jun 28 14:07:12 UTC 2007 Johnny Willemsen * apps/drwho/client.cpp: * apps/drwho/server.cpp: * apps/Gateway/Gateway/Config_Files.cpp: * apps/gperf/src/gperf.cpp: * apps/JAWS2/main.cpp: * apps/JAWS3/bench/mkfiles.cpp: * apps/JAWS3/bench/rqfiles.cpp: * apps/JAWS/clients/Caching/test_URL.cpp: * apps/JAWS/server/main.cpp: * apps/JAWS/stress_testing/benchd.cpp: Changed main to ACE_TMAIN Thu Jun 28 10:08:38 UTC 2007 Jeff Parsons * ace/CDR_Stream.h: Removed 'extern' qualifier from ostream operator declarations, it's not needed. * ace/CDR_Stream.cpp: Added explicit temporary of ACE_OutputCDR::from_wchar in the ostream operator implementation taking ACE_OutputCDR::from_octet. Unix compilers were apparently making some kind of promotion of the implicit temporary before seeing it in the header file. Tue Jun 26 13:48:26 UTC 2007 Douglas C. Schmidt * apps/JAWS2/HTTPU/http_status.cpp: Added #include "ace/Log_Msg.h" so the ACE_DEBUG macro would be visible. Thanks to Venkat Forums for reporting this. Thu Jun 28 07:32:12 UTC 2007 Johnny Willemsen * ace/Truncate.h: CB2007 can handle this code according to Codegear support Wed Jun 27 20:25:06 UTC 2007 Phil Mesnier * ace/INET_Addr.h: * ace/INET_Addr.inl: * ace/INET_Addr.cpp: Force consistency across platforms using IPv6 and initializing an ACE_INET_Addr with a string host. Prior to this patch, the set method would pick the first INET or INET6 address returned by the system. On most systems, ::getaddrinfo() returns INET6 before INET ones, ensuring that IPv6 applications got consistent results. However, a few platforms, such as RH Fedora 6, it returns INET before INET6 meaning that in some contexts an application would get one address for a host, and a different address under other contexts. See Bugzilla entry 2952 for greater detail. Since this form of set() is used internally by string_to_addr and a string-based ctor, those methods now have an optional parameter for explicitly specifying the address family to be used in setting the address. Wed Jun 27 19:46:14 UTC 2007 Steve Huston * ace/config-aix-5.x.h: For AIX 5.2 and earlier, when removing ACE_HAS_POSIX_SEM_TIMEOUT, also enable ACE_HAS_POSIX_SEM_TIMEOUT_EMULATION. Wed Jun 27 16:59:06 UTC 2007 Steve Huston * ace/config-aix-5.x.h: Don't automatically undef ACE_HAS_POSIX_SEM_TIMEOUT for AIX 5.3 and up - it works fine. Wed Jun 27 15:45:09 UTC 2007 Ciju John * docs/bczar/bczar.html: Add to bczar notes. Wed Jun 27 15:07:37 UTC 2007 Steve Huston * tests/Makefile.am: Added Dynamic_Test. Wed Jun 27 13:54:35 UTC 2007 Steve Huston * ace/OS_NS_Thread.inl (sema_wait): Allow a 0 time value to indicate "poll" semantics on the semaphore in the WinCE case, as it does in the other Windows cases. Thanks to Shaolong Xiang for this fix. * ace/Malloc_T.h: Improved the documentation for ACE_Malloc_T regarding what pools to use with it and what the requirements are for a pool that's used with ACE_Malloc_T. * netsvcs/clients/Naming/Dump_Restore/Dump_Restore.mpc: Removed the Netsvcs_Dump_Restore_Lib project, which built only one file into a DLL to link with the main program from Netsvcs_Dump_Restore. Add that one file, Dump_Restore.cpp, to the main Netsvcs_Dump_Restore project. Also renamed the resultant executable dump_restore. This split was a hold-over from the pre-MPC days when it was hard to build an exe from more than one file. * netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h: No need to declare Dump_Restore exported any longer; it's not built into a DLL. * netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp: This doesn't need to include "ace/Service_Config.h" any longer. * netsvcs/clients/Naming/Client/Client.mpc: Removed the Netsvcs_Client_Test_Lib project, which built only one file into a DLL to link with the main program from Netsvcs_Client_Test. Add that one file, Client_Test.cpp, to the main Netsvcs_Client_Test project. Also renamed the resultant executable client_test. This split was a hold-over from the pre-MPC days when it was hard to build an exe from more than one file. * netsvcs/clients/Naming/Client/Client_Test.{h cpp}: * netsvcs/clients/Naming/Client/main.cpp: * netsvcs/clients/Naming/Client/svc.conf: * netsvcs/clients/Naming/Client/svc2.conf: The Client_Test is no longer dynamically loaded; it's linked in static. Also fixed some remaining use of the deprecated method ACE_Reactor::run_event_loop(). * netsvcs/lib/TS_Clerk_Handler.cpp (ACE_TS_Clerk_Processor::alloc): Always set the system_time_ pointers, even if the memory need not be newly allocated. Avoids bad pointer dereferences. Fixes Bugzilla #784. Thanks to James Marsh for this fix. * THANKS: Added James Marsh and Shaolong Xiang to the Hall of Fame. Wed Jun 27 13:55:39 UTC 2007 Johnny Willemsen * ace/CDR_Stream.h: Fixed casing of include Wed Jun 27 13:48:50 UTC 2007 Steve Huston * ace/Dev_Poll_Reactor.cpp: When queueing notifications, correctly handle the case where the notify is queued (and ACE_HAS_REACTOR_NOTIFICATION_QUEUE) but the pipe can't be written. The notify will be delivered, so don't fail the method. * tests/Dev_Poll_Reactor_Test.cpp: Add ECONNRESET to the errno values which mean the peer (server) closed the connection; this is legit and shouldn't be flagged as an error. * tests/Proactor_Test.cpp: If running on Linux, use half-duplex mode. Linux kernels up to at least 2.6.9 (RHEL 4) silently convert all socket aio to blocking synchronous, so full duplex test operation is a crap shoot at best. Wed Jun 27 13:39:55 UTC 2007 Steve Huston * ace/OS_NS_Thread.inl (thr_sigsetmask): Removed the AIX block; AIX has the proper features to just use the existing feature tests. Thanks to Johnny Willemsen for noticing this. Wed Jun 27 09:50:00 UTC 2007 Simon Massey * bin/tao_other_tests.lst: Added TAO/orbsvcs/tests/InterfaceRepo/Bug_2962_Regression/run_test.pl Wed Jun 27 08:29:56 UTC 2007 Jeff Parsons * ace/CDR_Stream.h: * ace/CDR_Stream.cpp: Added ostream insertion operators for the ambiguous ACE_CDR basic types. They are used in the optional generation of ostream operators for IDL declaration, which can be useful for debugging (see Bugzilla 2937). Wed Jun 27 08:05:39 UTC 2007 Johnny Willemsen * tests/Capabilities_Test.cpp: Const changes * tests/Dynamic_Test.cpp: New test for ACE_Dynamic, this failed with x.5 but works perfect on head, just adding it to make sure this keeps working on all platforms. Belongs to bugzilla 2960. * tests/run_test.lst: * tests/tests.mpc: Added Dynamic_Test * tests/Svc_Handler_Test.cpp: Intialise some pointers with 0 Wed Jun 27 06:14:39 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added new tests Wed Jun 27 06:09:39 UTC 2007 Johnny Willemsen * ace/config-vxworks5.x.h: * ace/config-vxworks6.2.h: * ace/config-vxworks6.3.h: * ace/config-vxworks6.4.h: Added ACE_HAS_SOCKADDR_IN_SIN_LEN * ace/config-vxworks6.5.h: New file for VxWorks 6.5 * ace/config-freebsd.h: Added ACE_LACKS_LOG2 * ace/config-borland-common.h: C++ Builder 2007 delivers operator delete * ace/Handle_Set.{h,cpp}: * ace/README: * ace/OS_NS_sys_select.inl: Don't use ACE_FD_SET_TYPE, it is not required anymore * ace/Log_Record.cpp (print): Fixed problem with unicode builds. Thanks to Christoph Hofmann for reporting this. * ace/os_include/os_limits.h: * ace/os_include/os_stdio.h: * ace/os_include/sys/os_types.h: * ace/OS_NS_sys_mman.inl: * ace/OS_NS_unistd.inl: VxWorks 6.5 changes * ace/os_include/sys/os_select.h: Removed ACE_FD_SET_TYPE, not needed anymore * ace/SOCK_Dgram.cpp: Intialise some pointers with 0 * ace/Svc_Handler.{h,cpp}: Layout changes and changed dynamic to a real bool Wed Jun 27 03:50:39 UTC 2007 Abdullah Sowayan * bin/fuzz.pl: Added the following new checks to fuzz: check_for_exception_spec: This checks for the usage of exception specification in method signitures. This check will not flag no-throw spec i.e. throw() in methods. This check may disabled at specified section in the code. check_for_NULL: 0 should be used instead of NULL. check_for_improper_main_declaration: int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) should be used instead of plain main(int argc, char** argv). check_for_lack_ACE_OS: This checks for the usage of raw/naked OS calls. The functions in ACE_OS should be used instead. This check can be disabled in sections of code where false-positives are found. Modified the following check in fuzz: check_for_tab: Due to the large amount of tabs found in the source code, this check will no longer flag every instance of tab found (until the issue is fixed). For now, it will only flag that fact that a file contains tabs once. Mon Jun 25 11:34:36 CDT 2007 Ciju John * ACE version 5.5.9 released. Mon Jun 25 16:03:37 UTC 2007 Ciju John * NEWS: Adding NEWS summaries on Ossama's behalf. Fri Jun 22 15:56:12 UTC 2007 William R. Otte * bin/make_release.py: Updates to fix ChangeLog entry creation and superflous packaging of extra binary files in ACE+TAO and ACE+TAO+CIAO packages. Fri Jun 22 14:50:14 UTC 2007 Ciju John * ChangeLog: * PROBLEM-REPORT-FORM: * VERSION: * ace/Version.h: Revert to x.5.8 status. Tue Jun 12 20:11:59 UTC 2007 Ciju John * NEWS: Add note regards Fedora 7 GCC 4.1.2 fix for visibility attribute used for singletons. Mon Jun 11 12:40:00 UTC 2007 Simon Massey * ace/MMAP_Memory_Pool.cpp: * tests/run_test.lst: Fix problem in Lynxos and re-enable Test. Fri Jun 08 08:38:00 UTC 2007 Simon Massey * include/makeinclude/platform_hpux_aCC.GNU: Problem with Change log of "Fri May 11 07:57:55 UTC 2007" by Johnny Willemsen for "Improved aCC version detection check". This seems to be incorrect as the warning disable of 361 for aCC 3.xx at line 98 is now being ignored. Suspect spelling mistake of aC++/ANSI at line 33 Sun Jun 3 20:05:36 UTC 2007 Olli Savia * ace/Capabilities.cpp: * apps/Gateway/Gateway/File_Parser.cpp: * apps/gperf/src/Key_List.cpp: * examples/Mem_Map/IO-tests/IO_Test.cpp: Added ACE_OS:: prefix to some plain function calls. Fri Jun 1 22:26:39 UTC 2007 Phil Mesnier * ace/INET_Addr.h: * ace/INET_Addr.cpp: Added a new helper method, is_ip_equal() that compares only the IP address of the object and the argument. This should be used in place of comparing get_ip_address() values particularly when IPv6 may be used. This new method is weaker than the equality operator since that also compares port numbers. This new method was motivated by a need to compare the address of a recieved dgram to the interface addresses obtained via get_ip_interfaces. * bin/tao_other_tests.lst: Added IPv6 RTEC federation test to list. Fri Jun 1 20:51:57 UTC 2007 ciju john * include/makeinclude/platform_hpux_aCC.GNU: Adding on Johnny's behalf: Disable W3397 with HP aCC 06.13 Thu May 31 03:16:53 UTC 2007 Abdullah Sowayan * ace/config-macros.h: Reverted changes from: Wed May 30 00:17:35 UTC 2007 Abdullah Sowayan It introduced around 10 new warnings for ACE/TAO/CIAO under GCC Compilers. ACE_NOTREACHED macro now expands to nothing for Visual Studio Compilers. This fixes Bugzilla 2948. Thu May 31 03:12:50 UTC 2007 Abdullah Sowayan * bin/fuzz.pl: Tabs shouldn't be used as per ACE/TAO/CIAO coding guidlines. Extended fuzz to detect tabs in the source code. Wed May 30 00:17:35 UTC 2007 Abdullah Sowayan * ace/config-macros.h: ACE_NOTREACHED macro now expands to nothing (empty space). We need to monitor the scoreboard to verify that this doesn't cause problems. If it doesn't, we will zap ACE_NOTREACHED from the codebase. For details, check Bigzilla# 2948. Tue May 29 10:19:59 UTC 2007 Abdullah Sowayan * netsvcs/lib/Client_Logging_Handler.cpp: Replaced tabs with spaces. Tue May 29 09:20:55 UTC 2007 Johnny Willemsen * ace/config-vxworks6.2.h: * ace/config-vxworks6.3.h: * ace/config-vxworks6.4.h: Instead of ACE_LACKS_LOG2, define _C99, with this define log2 is available. Reported to WindRiver as TSR560446 Tue May 29 08:48:55 UTC 2007 Johnny Willemsen * ace/OS_NS_Thread.h: Doxygen changes * ace/POSIX_CB_Proactor.cpp: Store errno in a local variable, and then check this against multiple values, reduces number of TSS access Tue May 29 07:07:55 UTC 2007 Johnny Willemsen * ace/FILE.cpp: Removed first line * ace/Log_Msg.cpp: Declare and initialize a variable in one step * ace/Mem_Map.cpp: Small simplification * ace/Semaphore.{h,cpp,inl}: Made removed_ a real bool * ace/Shared_Memory.h: Changed get_segment_size to return size_t * ace/Shared_Memory_MM.{h,cpp,inl}: * ace/Shared_Memory_SV.{h,cpp,inl}: Changed get_segment_size and length to size_t * ace/SV_Semaphore_Simple.cpp: Const improvement * ace/SV_Shared_Memory.{h,inl}: Layout changes Mon May 28 19:42:14 UTC 2007 Abdullah Sowayan * netsvcs/lib/Server_Logging_Handler_T.cpp: Replaced tabs with spaces. * tests/Upgradable_RW_Test.cpp: Addressed the "assignment within conditional expression" warning on the WinXP_VC71_WarningLevel4 build. Mon May 28 19:35:55 UTC 2007 Johnny Willemsen * ace/OS_NS_unistd.cpp: Const and layout change * ace/OS_NS_unistd.h: Layout change * ace/ACE.{cpp,inl} (map_errno): The full switch is only required for windows and moved to an inline method, on linux it is just a return Mon May 28 18:50:55 UTC 2007 Johnny Willemsen * tests/Mem_Map_Test.cpp: Fixed incorrect ACE_ERROR statement Mon May 28 18:06:55 UTC 2007 Johnny Willemsen * bin/PerlACE/Run_Test.pm: Added is_vxworks_rtp_test method * tests/Mem_Map_Test.cpp: VxWorks only allows to use mmap with a special shared memory file Sun May 27 14:09:54 UTC 2007 Abdullah Sowayan * netsvcs/clients/Naming/Client/Client_Test.cpp: Addressed the "assignment within conditional expression" warning on the WinXP_VC71_WarningLevel4 build. Fri May 25 19:09:55 UTC 2007 Johnny Willemsen * ace/Mem_Map.cpp: Removed intermediate result variable, has no need anymore Fri May 25 18:55:55 UTC 2007 Johnny Willemsen * ace/OS_NS_sys_mman.inl (shm_open, shm_unlink): With VxWorks the filename passed to shm_open and shm_unlink may only contain a starting /, no other slashes, if multiple slashes do exist, replace them with _. Fri May 25 15:44:13 UTC 2007 Steve Huston * ace/config-aix-5.x.h: * include/makeinclude/platform_aix_ibm.GNU: Changed the AIX shared library build output from an archived shared object (shr.o in lib.a) to a dynamic shared library (lib.so). * NEWS: Mention the .a->.so change above. * ace/OS_NS_Thread.cpp: Formatting fixes to properly line up bracketed code blocks, making it easier to read. Fri May 25 15:39:59 UTC 2007 Steve Huston * tests/Bug_2610_Regression_Test.cpp: Rearrange order of #includes so Visual Age C++ 6 can find what it needs. Fri May 25 12:54:55 UTC 2007 Johnny Willemsen * ace/Active_Map_Manager.h: * ace/Priority_Reactor.h: * ace/Signal.h: Doxygen changes Thu May 24 13:37:55 UTC 2007 Johnny Willemsen * include/makeinclude/platform_vxworks6.2.GNU: * include/makeinclude/platform_vxworks6.3.GNU: The override of RM is only needed for windows Thu May 24 13:20:55 UTC 2007 Johnny Willemsen * include/makeinclude/platform_linux_icc.GNU: Added support for fast and ipo Thu May 24 08:16:55 UTC 2007 Johnny Willemsen * include/makeinclude/platform_vxworks6.5.GNU: New file upcoming VxWorks 6.5 Thu May 24 07:54:55 UTC 2007 Johnny Willemsen * ace/Array_Base.h: * ace/ATM_Addr.h: * ace/Barrier.h: * ace/Based_Pointer_Repository.h: * ace/Configuration.h: * ace/DLL_Manager.h: * ace/FILE.h: * ace/Free_List.h: * ace/INET_Addr.h: * ace/IO_SAP.h: * ace/Local_Memory_Pool.h: * ace/Log_Record.h: * ace/Malloc_Base.h: * ace/Map_Manager.h: * ace/Mem_Map.h: * ace/Message_Queue_T.h: * ace/MMAP_Memory_Pool.h: * ace/Pagefile_Memory_Pool.h: * ace/QoS/SOCK_Dgram_Mcast_QoS.h: * ace/Reactor_Impl.h: * ace/Registry.h: * ace/Remote_Tokens.h: * ace/RW_Process_Mutex.h: * ace/Sbrk_Memory_Pool.h: * ace/Service_Gestalt.h: * ace/Shared_Memory_Pool.h: * ace/Signal.h: * ace/SOCK_Dgram.h: * ace/SPIPE_Connector.h: * ace/SPIPE_Stream.h: * ace/Timer_Heap_T.h: * ace/Timer_Wheel_T.h: * ace/Unbounded_Set.h: * ace/WFMO_Reactor.h: Doxygen improvements Thu May 24 05:43:03 UTC 2007 Olli Savia * configure.ac: Added feature test for ACE_LACKS_LOG2. Thu May 24 05:13:46 UTC 2007 Abdullah Sowayan * ace/Pipe.cpp: Wed May 23 22:00:32 UTC 2007 Steve Huston Due the changelog above, changed the type of index in the for loop from size_t to int to eliminate compiler warnings about signed/unsigned comparison. Thu May 24 04:58:14 UTC 2007 Abdullah Sowayan * ace/Pipe.cpp: ACE_Utils::truncate_cast requires including Truncate.h. Added missing include file. Use preincrement instead of postincrement operator. Wed May 23 22:00:32 UTC 2007 Steve Huston * ace/Pipe.cpp (send, recv): * ace/SOCK_IO.cpp (send, recv): Use ACE_Utils::truncate_cast properly to get an int, not a size_t, for the iovec count. Fixes Win64 compile warnings. * ace/Log_Msg_IPC.cpp (log): Truncate the payload length down to an ACE_CDR::ULong to resolve 64-bit warnings. If we desire logging payloads larger than 4GB, this will need to be changed. * ace/Local_Tokens.inl (ACE_Token_Name::name): Use size_t for a string length, not int. * ace/Filecache.cpp: When doing calculations based on ACE_Filecache::size_ use its type, ACE_OFF_T, rather than u_long. Keeps types consistent across platforms. Wed May 23 19:42:50 UTC 2007 Gan Deng * bin/ciao_tests.lst Disabled CIAO tests on single_threaded setting. Wed May 23 15:32:55 UTC 2007 Johnny Willemsen * ace/Active_Map_Manager_T.h: * ace/Asynch_IO_Impl.h: * ace/Bound_Ptr.h: * ace/Cache_Map_Manager_T.h: * ace/config-lite.h: * ace/Dump_T.h: * ace/File_Lock.h: * ace/Framework_Component.h: * ace/Hash_Map_Manager_T.h: * ace/IOStream_T.h: * ace/Lock.h: * ace/Malloc_Allocator.h: * ace/Map_Manager.h: * ace/Map_T.h: * ace/Message_Block.h: * ace/Message_Queue.h: * ace/Message_Queue_T.h: * ace/Name_Request_Reply.h: * ace/Node.h: * ace/Null_Condition.h: * ace/Null_Mutex.h: * ace/Null_Semaphore.h: * ace/OS_Errno.h: * ace/OS_NS_errno.h: * ace/OS_NS_Thread.h: * ace/POSIX_Asynch_IO.h: * ace/Process_Mutex.h: * ace/Process_Semaphore.h: * ace/RB_Tree.h: * ace/Recursive_Thread_Mutex.h: * ace/Refcounted_Auto_Ptr.h: * ace/Registry.h: * ace/Remote_Tokens.h: * ace/RW_Mutex.h: * ace/RW_Process_Mutex.h: * ace/RW_Thread_Mutex.h: * ace/Semaphore.h: * ace/Service_Types.h: * ace/Signal.h: * ace/SOCK.h: * ace/SOCK_Acceptor.h: * ace/SOCK_SEQPACK_Acceptor.h: * ace/SOCK_SEQPACK_Association.h: * ace/SString.h: * ace/Stream.h: * ace/Task.h: * ace/Thread.h: * ace/Thread_Adapter.h: * ace/Thread_Exit.h: * ace/Thread_Manager.h: * ace/Thread_Mutex.h: * ace/Timer_Hash_T.h: * ace/Timer_Heap_T.h: * ace/Timer_Queue_T.h: * ace/Token_Collection.h: * ace/Token_Request_Reply.h: * ace/Unbounded_Set.h: * ace/WIN32_Asynch_IO.h: Fixed some doxygen warnings Wed May 23 13:19:55 UTC 2007 Johnny Willemsen * tests/Process_Manager_Test.cpp: Added %P to all debug statements so that we can see the process id in each line Wed May 23 13:00:55 UTC 2007 Johnny Willemsen * ace/config-vxworks6.2: * ace/config-vxworks6.3: * ace/config-vxworks6.4: log2 is only not available in rtp mode with the gnu compiler. * ace/config-vxworks6.2: Removed part for the ghs compiler, that is really not tested and just a left over of the vxworks 5.5.x support * ace/OS_NS_unistd.cpp: Initialize local variable with 0, layout changes Wed May 23 11:31:55 UTC 2007 Johnny Willemsen * bin/generate_rel_manpages: * etc/*.doxygen: Updated for the upgrade to doxygen 1.5.2-2 Wed May 23 09:40:55 UTC 2007 Johnny Willemsen * ace/Mem_Map.cpp: Use shm_open/shm_unlink on VxWorks. This doesn't fix the failing of the tests using mmap on our targets because they are using a NFS file system and we have identified several problems with that which have been reported to WindRiver. Wed May 23 07:17:55 UTC 2007 Johnny Willemsen * tests/Mem_Map_Test.cpp: Added filenames to the mmap error messages so that we can see which mmap failed Wed May 23 05:12:04 2007 Ossama Othman * ace/OS_NS_math.h (ace_log2_helper): Added comments about what the ACE_LACKS_LOG2 case actually does. Store precomputed value of 1/log(2.0) to save an expensive division and computing log(2.0) in each call. Tue May 22 17:41:20 UTC 2007 Olli Savia * ace/config-netbsd.h: Defined ACE_LACKS_LOG2. Tue May 22 12:12:55 UTC 2007 Johnny Willemsen * tests/Log_Msg_Test.cpp: Can't unlink on advance with VxWorks 6.4 (at least on NFS) Tue May 22 11:10:30 UTC 2007 Olli Savia * ace/OS_NS_math.h: * ace/OS_NS_math.inl: Added log2() emulation. * tests/OS_Test.cpp: Simplified log2 test. Tue May 22 10:03:26 UTC 2007 Olli Savia * ace/config-sunos5.10.h: It seems that Solaris 10 supports log2 so we can undefine ACE_LACKS_LOG2. Tue May 22 09:56:40 UTC 2007 Olli Savia * ace/config-sunos5.5.h: Defined ACE_LACKS_LOG2. Tue May 22 06:44:09 UTC 2007 Olli Savia * tests/OS_Test.cpp: Disable log2 test if ACE_LACKS_LOG2 is defined. Tue May 22 06:43:55 UTC 2007 Johnny Willemsen * ace/config-vxworks6.2: * ace/config-vxworks6.3: * ace/config-vxworks6.4: VxWorks also seems to have problems with log2, so disable it for the moment to get the builds running again Tue May 22 06:11:34 UTC 2007 Olli Savia * ace/OS_NS_math.h: * ace/OS_NS_math.inl: * ace/config-win32-common.h: Hide ACE_OS::log2 method if platform doesn't support it natively. This is temporary fix just to keep things going until we have made decicion what is the best solution here. Tue May 22 01:14:31 UTC 2007 Douglas C. Schmidt * THANKS: Vikram Karandikar is the 2200th contributor to ACE+TAO+CIAO!! Mon May 21 22:56:26 UTC 2007 Ossama Othman * ace/OS_main.h: Fixed syntax error on VxWorks. The return value for the ace_os_main_i() prototype was missing. Mon May 21 10:32:02 UTC 2007 Ossama Othman * ace/OS_NS_math.h (ace_log2_helper): Fixed compile-time errors on Windows introduced by Olli's improvements described below. VC8 doesn't support log2(). Generate a quiet NaN value for now. * ace/OS_Memory.h (ACE_align_binary, ACE_ptr_align_binary): Handle OpenVMS's strange multiple size pointer model. Addresses build warnings. Mon May 21 13:37:55 UTC 2007 Johnny Willemsen * docs/Download.html: Mention also that the full packages do contain the generated files for GNU autoconf support. Thanks to Vikram Karandikar for bringing this to our attention. Mon May 21 13:04:04 UTC 2007 Olli Savia * ace/ACE.h: * ace/OS_NS_math.h: * ace/OS_NS_math.inl: Added support for ACE_OS::log2(double) and improved support for ACE::log2(u_long). * NEWS: Document changes above. * tests/OS_Test.cpp: Added test for ACE_OS::log2(double). Mon May 21 06:07:59 UTC 2007 Olli Savia * ace/Sig_Handler.cpp: Reverted change: Fri May 18 10:51:26 UTC 2007 Olli Savia Mon May 21 05:57:58 UTC 2007 Olli Savia * ace/OS_NS_stdio.h: * ace/OS_NS_stdio.inl: Implemented clearerr, fgetc, fputc, getc, putc and ungetc helper functions a bit smarter way. Mon May 21 04:55:55 UTC 2007 Johnny Willemsen * ace/SString.h: Removed ACE_INLINE from operator+ to resolve MingW warnings. Thanks to Haibin Zhang for providing this fix Sun May 20 20:03:55 UTC 2007 Johnny Willemsen * include/makeinclude/platform_linux.GNU: TAO with GCC 4.0.2 on Linux with -O3 seems to cause runtime issues, for example the PI ForwardRequest is failing, with -O2 the runtime problems are gone, so for GCC 4.0.2 we default OCFLAGS to -O2, for other GCC versions we default to -O3 Sun May 20 17:50:55 UTC 2007 Johnny Willemsen * ace/config-hpux-11.00.h: Removed usage of declspec export/import for HP aCC, it only gives problems and just doesn't work because of several bugs in the compiler. * ace/FILE_Connector.cpp: Removed first line, no need to specify twice the filename * ace/Handle_Ops.cpp: Layout and const changes Sun May 20 17:08:51 UTC 2007 Olli Savia * ace/OS_NS_stdio.inl: Added ACE_STD_NAMESPACE to fgetc and fputc calls. This hopefully makes BCB6 happy. Sun May 20 09:16:26 UTC 2007 Olli Savia * ace/OS_NS_stdio.h: * ace/OS_NS_stdio.inl: * ace/os_include/os_stdio.h: Improved support for ACE_OS::fgetc. Added support for ACE_OS::fputc, ACE_OS::getc, ACE_OS::putc and ACE_OS::ungetc. * NEWS: Document changes above. * ace/Read_Buffer.cpp: Use ACE_OS::getc and ACE_OS::ungetc instead of getc and ungetc. Thanks to Abdullah Sowayan for motivating all changes above. This fixes Bugzilla #2919. Sat May 19 14:53:44 UTC 2007 Abdullah Sowayan * Kokyu/Dispatcher_Task.cpp: More fixes to eliminate "staement is uncreachable" warning. Fri May 18 22:43:40 UTC 2007 Ossama Othman * ace/CDR_Stream.inl (skip_longlong): Fixed typo. Call skip_ulonglong(), not skip_ulong(). Fri May 18 17:34:57 UTC 2007 Sumant Tambe * docs/svn/config: * docs/svn/svn-prefs.reg: Added subversion svn:eol-style and svn:keywords properties for [Mm]akefiles Fri May 18 10:51:26 UTC 2007 Olli Savia * ace/Sig_Handler.cpp: Removed unnecessary LynxOS specific code. Fri May 18 06:15:30 UTC 2007 Olli Savia * tests/TkReactor_Test.cpp: Fixed compile error with Tk 8.4. Fri May 18 04:38:29 UTC 2007 Abdullah Sowayan * ace/OS_Memory.h: Thu May 17 22:35:37 UTC 2007 Ossama Othman For OS_Memory.h causes ~800 compile-time warnings for the VxWorks6.4_PPC603_Diab_Release. Trying to eliminate the warnings. Hopefully, this will do the trick. Thu May 18 05:20:17 UTC 2007 Ossama Othman * ace/OS_main.h (main): Removed newly added ACE_MAIN forward declaration for the VxWorks case. The preprocessed code apparently has a syntax error. To be revisited as time permits. Fri May 18 03:46:15 UTC 2007 Abdullah Sowayan * ASNMP/agent/snmp_agent.cpp: * Kokyu/DSRT_Sched_Queue_T.cpp: More fixes to eliminate "staement is uncreachable" warning. * ASNMP/agent/snmp_agent.cpp: Replaced tabs with spaces. Fri May 18 02:12:34 UTC 2007 Abdullah Sowayan * examples/Connection/blocking/SPIPE-acceptor.cpp: * examples/Connection/blocking/SPIPE-connector.cpp: * examples/OS/Process/process.cpp: * examples/Reactor/Misc/test_demuxing.cpp: * examples/Web_Crawler/Mem_Map_Stream.cpp: It makes no sense to have code after a return statement (such as ACE_ERROR_RETURN). It causes some builds to have "statement is unreachable" warning. * examples/Connection/blocking/SPIPE-acceptor.cpp: Replaced tabs with spaces. Thu May 17 22:35:37 UTC 2007 Ossama Othman * ace/CDR_Stream.inl (skip_char, skip_boolean, skip_short): (skip_long, skip_float, skip_double): Further simplified these methods by implementing them in terms of their same size skip_octet(), skip_u{short,long,longlong}() counterparts. Thu May 17 22:13:32 UTC 2007 Ossama Othman * ace/Acceptor.cpp: Silence Coverity error related to lack of a return value check by explicitly casting the return value to void. We don't care about the return value in this case. * ace/CDR_Stream.inl (write_octet, write_ushort, write_ulong): (write_ulonglong, write_longdouble): (read_ushort, read_ulong, read_ulonglong, read_longdouble): (skip_ushort, skip_ulong, skip_ulonglong, skip_longdouble): Removed unnecessary assignment to a void* and reinterpret_cast<> back to original type. (write_char, write_short, write_long): Simplified code by dropping assignment to void* and reinterpret_cast<> to unsigned type counterpart in favor of a direct static_cast<> to the unsigned type. (skip_char, skip_short, skip_long, skip_longlong, skip_float): (skip_double): Replaced temporary variable and assignment to void* with unsigned integer CDR type of same size since the value read from the CDR stream is ignored. Simplifies the code. * ace/CORBA_macros.h (ACE_NEW_THROW_EX): Don't bother setting errno to ENOMEM if allocation fails since the caller should be handling the exception thrown upon failure, not checking errno. * ace/Configuration.cpp (get_binary_value): Improved exception safety. * ace/OS_Memory.h (ACE_align_binary, ACE_ptr_align_binary): Re-implemented as inlined functions instead of macros. The new code is much easier to read. Corrected pointer-integer type. s/ptrdiff_t/uintptr_t/g. * ace/OS_NS_Thread.cpp (TSS_Cleanup_Instance): Replaced use of "NULL" constant with zero to comply with ACE coding guidelines. * ace/Select_Reactor_T.cpp: Replaced boolean value assignments with true and false instead of 1 and 0, respectively. Removed redundant zero pointer checks prior to operator delete() calls. Various const and boolean correctness improvements. (handle_error): Assign errno to a temporary to avoid multiple TSS accesses. * ace/config-g++-common.h: Define ACE_HAS_NEW_NOTHROW for g++ >= 3.3. Older versions of g++ had buggy operator new(nothrow)() support. * ace/config-irix6.x-common.h: IRIX lacks the suseconds_t typedef. * ace/config-sunos5.8.h (ACE_HAS_X86_STAT_MACROS): No need to define this preprocessor symbol for Solaris 8 and onwards. * ace/config-win32-common.h (ACE_HAS_CUSTOM_EXPORT_MACROS): Define the value to 1 instead of just defining without a value. Some preprocessor conditional tests depend on a value being set. From Russell Mora: * ace/OS_main.h: Fixed ACE main macro - on Tru64 this was complaining because: int main (int argc, char *argv[]) Was becoming: int namespace v4 { ace_os_main_i (int, char *[]) /* ... */ I.e. it didn't like the 'int' appearing before the namespace. I added a forward declaration of main() to gobble this up - the code now expands to: int main (int, char *[]); namespace v4 { int ace_os_main_i (int, char *[]) /* ... */ Thu May 17 19:29:30 UTC 2007 Jeff Parsons * contrib/minizip/minizip.mpc: Added vc8_warnings to the base project list, to avoid the warning caused by vc8-deprecated use of 'fopen'. Thu May 17 16:35:40 UTC 2007 Chad Elliott * bin/MakeProjectCreator/config/automake.features: Setting qos=1 was not correct. It causes issues when generating TAO related Makefile.am's. * bin/MakeProjectCreator/modules/AutomakeWorkspaceHelper.pm: Fix the following issues: 1) Relative paths for ACE related libraries when processing TAO.mwc 2) Fixed includedir settings for $TAO_ROOT/orbsvcs/orbsvcs/Makefile.am 3) Added custom rules in $TAO_ROOT/Makefile.am Thu May 17 14:04:51 UTC 2007 Chad Elliott * ACE.mwc: Provide an exclude for automake only of build and Kokyu. Also, only exclude TAO for all project types. The other directories previously listed do not need to be explicitly excluded. * ace/ace.mpc: * ace/ace_for_tao.mpc: Removed references to config-win32-visualage.h. * apps/gperf/tests/gperf_test.mpb: Mapped the GPERF command setting to 'gperf_cmd' and then set 'gperf_cmd' to ../src/gperf in a specific section for automake. * bin/MakeProjectCreator/config/ace_zzip.mpb: Provide a new base project to deal with the strangeness of automake. It inherits from zzip (which in turn inherits from zlib). For automake only, it removes everything added by those base projects and sets flags specific for automake. * bin/MakeProjectCreator/config/acexml.mpb: Use ace_zzip instead of zzip and zlib. * bin/MakeProjectCreator/config/automake.features: Set qos to 1 so that the configure script can determine if QoS is built. * netsvcs/servers/servers.mpc: To help the automake generator, add ace_for_tao to avoids. Wed May 16 06:46:55 UTC 2007 Johnny Willemsen * tests/run_test.lst: Don't run 2912 when ACE_FOR_TAO is enabled Wed May 16 18:41:11 UTC 2007 Chad Elliott * tests/Unload_libACE.cpp: Added support for the Mac library extension. Wed May 16 16:14:21 UTC 2007 Steve Huston * ace/INET_Addr.cpp (addr_to_string): Adjust sprintf() format string to use %ls for strings when ACE_USES_WCHAR and not on Windows. Avoids chopping off all but the first char of the host address. * tests/SOCK_Dgram_Test.cpp: When 0-terminating the received data, use the string-length index, not the byte-count index. The latter overwrites other things on the stack. Wed May 16 07:30:55 UTC 2007 Johnny Willemsen * include/makeinclude/platform_sunos5_sunc++.GNU: Use -z now as part of the linker flags so that symbols are resolved at link time. Thanks to JT for sorting this out, this fixes bugzilla 2710, as side effect it also fixes 2473. Tue May 15 18:43:55 UTC 2007 Johnny Willemsen * ace/OS_NS_Thread.cpp: VxWorks only supports PTHREAD_SCOPE_SYSTEM Tue May 15 12:46:18 UTC 2007 Vadym Ridosh * bin/tao_other_tests.lst: Added IPv6 test to Bug_2377_Regression test. Tue May 15 11:36:07 UTC 2007 Vadym Ridosh * bin/tao_other_tests.lst: Added the Bug_2925_Regression test. Mon May 14 11:11:32 UTC 2007 Olli Savia * ace/config-lynxos.h: Reverted change: Fri May 11 10:20:00 UTC 2007 Simon Massey * ace/config-lynxos.h: ACE_LACKS_PRAGMA_ONCE Setting of ACE_LACKS_PRAGMA_ONCE was already fixed by Thu May 10 15:20:52 UTC 2007 Steve Huston * ace/ace_wchar.h: Add #include "ace/config-macros.h" so the proper setting of ACE_LACKS_PRAGMA_ONCE is known before it's needed. Mon May 14 03:11:13 UTC 2007 Abdullah Sowayan * tests/Reactor_Remove_Resume_Test.cpp: Added a missing include "ace/Auto_Ptr.h" ace/Auto_Ptr.h introduces auto_ptr into the global namespace, don't prefix reference to std:: to auto_ptr, that causes build failures on some platforms. Mon May 14 02:59:28 UTC 2007 Abdullah Sowayan * tests/Reactor_Remove_Resume_Test.cpp: Fixed another compile-time error. An identifier's name was misspelled, causing a compile-time error in some builds. Sun May 13 11:55:32 UTC 2007 Adam Mitz * bin/generate_doxygen.pl: Fixed a logic error in the script when $DDS_ROOT is undefined. Sun May 13 09:29:55 UTC 2007 Johnny Willemsen * tests/run_test.lst: Don't run Dirent_Test with VxWorks rtp, it hangs the target Sat May 12 12:03:44 UTC 2007 Abdullah Sowayan * tests/Reactor_Remove_Resume_Test.cpp: Fixed a compile-time error. Removed an extra ";" from the end of function definitions. Sat May 12 08:37:01 UTC 2007 Ossama Othman * tests/Reactor_Remove_Resume_Test.cpp (handle_close): Fixed unused argument warning. Fri May 11 21:18:45 UTC 2007 Steve Huston * examples/APG/Reactor/HAStatus.cpp (handle_output): Do the 'while' loop as long as dequeue() returns >= 0, not == 0. Thanks to Jules d'Entremont for reporting this. * THANKS: Added Jules d'Entremont. * tests/Makefile.am: Added Reactor_Remove_Resume_Test. Fri May 11 21:49:01 UTC 2007 Ossama Othman * ace/TP_Reactor.cpp (dispatch_i): Return the number of event handlers dispatched (typically 1). Previously zero was returned regardless of whether or not socket/IO event handlers were dispatched. (post_process_socket_event): Only remove or resume the event handler used during the upcall. A different event handler may have been registered during the upcall if the handle was closed and then reopened, for example. Make sure we're removing and/or resuming the event handler used during the upcall. * tests/Reactor_Remove_Resume_Test.cpp: New test that verifies reactors only remove and/or resume the event handler used during the upcall. It is generally only relevant for thread pool based reactors. * tests/run_test.lst: * tests/tests.mpc: Added new Reactor_Remove_Resume_Test. Fri May 11 21:09:18 UTC 2007 Steve Huston * tests/Bug_2912_Regression_Test.cpp: Mask off the RT signals so the test doesn't get immediately killed. Fri May 11 20:37:07 UTC 2007 Steve Huston * docs/ACE-configuration.txt: Removed this file. The information it contained has migrated to ACE-INSTALL.html. Fri May 11 19:16:55 UTC 2007 Johnny Willemsen * ace/Global_Macros.h: Removed commented out code Fri May 11 18:35:55 UTC 2007 Johnny Willemsen * ace/OS_NS_stdio.inl: * ace/config-WinCE.h: Introduced ACE_LACKS_PERROR and set that in the wince file. Also refactored several methods that check for ACE_LACKS_FILELOCKS to first check this define, then ACE_WIN32, that way we don't need an explicit check for WinCE Fri May 11 18:19:08 UTC 2007 Ciju John * bin/tao_orb_tests.lst: Disable test run if messaging not built. * tests/run_test.lst: Create a few new flags to more granularily control automated test runs. Fri May 11 17:53:46 UTC 2007 Adam Mitz * bin/generate_doxygen.pl: This script will now use $TAO_ROOT and $CIAO_ROOT to locate TAO and CIAO. Also, DDS support has been added, config.h will only be written if it doesn't exist, and the -dot_path argument is ignored -- the graphviz binary 'dot' is assumed to be on the PATH. Fri May 11 16:12:55 UTC 2007 Johnny Willemsen * examples/Reactor/Multicast/Log_Wrapper.cpp: Use ACE_OS::perror instead of perror directly to resolve compile errors with WinCE Fri May 11 15:25:55 UTC 2007 Johnny Willemsen * tests/Bug_2609_Regression.cpp: * tests/Bug_2610_Regression.cpp: Renamed TRACE to TEST_TRACE to resolve msvc warnings Fri May 11 15:06:55 UTC 2007 Johnny Willemsen * tests/run_test.lst: Added !NO_NETWORK to some tests that we know don't work when ACE has been build without network support Fri May 11 14:45:43 UTC 2007 Steve Huston * tests/run_test.lst: Disable Bug_2368_Regression_Test. Per agreement with Johnny, the Bugzilla entry is now labeled an enhancement and this test is disabled until the necessary enhancement is made. For more info, please see: http://bugzilla.dre.vanderbilt.edu/show_bug.cgi?id=2368 Fri May 11 10:20:00 UTC 2007 Simon Massey * ace/config-lynxos.h: ACE_LACKS_PRAGMA_ONCE Fri May 11 08:22:55 UTC 2007 Johnny Willemsen * ace/config-vxworks6.2.h: Improved VxWorks 6.2 kernel support Fri May 11 08:06:55 UTC 2007 Johnny Willemsen * include/makeinclude/platform_vxworks6.3.GNU: Small improvements Fri May 11 07:57:55 UTC 2007 Johnny Willemsen * include/makeinclude/platform_hpux_aCC.GNU: Improved aCC version detection check Thu May 10 16:17:55 UTC 2007 Johnny Willemsen * include/makeinclude/platform_hpux_aCC.GNU: Disable W3390 with HP aCC 06.13 * include/makeinclude/platform_rtems.x_g++.GNU: When HOST_ROOT is set then set the dependent variables Thu May 10 15:20:52 UTC 2007 Steve Huston * ace/ace_wchar.h: Add #include "ace/config-macros.h" so the proper setting of ACE_LACKS_PRAGMA_ONCE is known before it's needed. Thu May 10 15:17:55 UTC 2007 Johnny Willemsen * examples/Reactor/Dgram/CODgram.cpp: * examples/Reactor/Dgram/Dgram.cpp: Fixed compile errors with WinCE Wed May 9 18:59:26 UTC 2007 James H. Hill * docs/ace_guidelines.vsmacros: Improved the macros such that it will convert tabs to 2 spaces for all files excepts those on the exception list. Currently, only MPC template files are on this list. Wed May 9 18:50:29 UTC 2007 James H. Hill * docs/ace_guidelines.vsmacros: By default, the ace_guideline macros does not convert tabs to spaces. Instead, this has to be set under Tools | Options... Tue May 8 20:50:34 UTC 2007 Steve Huston * ace/Malloc_T.cpp (ACE_Dynamic_Cached_Allocator): Reverted this change: Tue May 8 07:51:55 UTC 2007 Johnny Willemsen It broke Hash_Map_Manager_Test which checks for a failed allocation when using a too-small pool. Tue May 8 20:20:22 UTC 2007 Steve Huston * ace/Message_Block.cpp (copy): If there's insufficient space to copy data into the block, set errno to ENOSPC before returning -1. Thanks to Duane Beck for this suggestion. * THANKS: Added Duane Beck to the Hall of Fame. * tests/Message_Block_Test.cpp: Added case to check for block copy of a too-long data area. Tue May 8 07:51:55 UTC 2007 Johnny Willemsen * ace/Malloc_T.cpp (ACE_Dynamic_Cached_Allocator): Fixed use of chunk_size, thanks to Leo Lei for reporting this Mon May 7 22:18:55 UTC 2007 Steve Huston * ace/config-win32-msvc-7.h: * ace/config-win32-msvc-8.h: * ace/config-win32-msvc-9.h: Added ACE_HAS_INTRINSIC_BYTESWAP for all except WinCE 4. For config-win32-msvc-9.h, comment the #if block around ACE_HAS_INTRINSIC_INTERLOCKED; if a build with this compiler and WinCE shows it needs to be uncommented (as for previous MSVC versions) it can be changed then. * ace/CDR_Base.inl: Replace complicated #if around the byteswap usage with #if defined (ACE_HAS_INTRINSIC_BYTESWAP). This fixes Bugzilla #2922. Thanks to Xu Liang for reporting it. * THANKS: Added Xu Liang. Mon May 7 11:48:46 UTC 2007 Chad Elliott * bin/tao_orb_tests.lst: Added the new IORManipulation/filter test. Sat May 5 05:34:37 UTC 2007 Johnny Willemsen * ace/Svc_Handler.cpp: Reverted last change again, with 2610 in mind this could maybe result in leaks with TAO and I have no time to sort that out so take the most safe solution * tests/run_test.lst: Removed 2609 and 2610 for the moment Sat May 5 05:00:37 UTC 2007 Johnny Willemsen Reverted the change below, it breaks TAO, maybe TAO has coded against this issue in acceptor or the test has wrong assumptions, not clear at this moment, so just revert the change Fri May 4 18:46:37 UTC 2007 Johnny Willemsen * ace/Acceptor.cpp: Fri May 4 18:46:37 UTC 2007 Johnny Willemsen * tests/run_test.lst: * tests/Bug_2610_Regression_Test.cpp: * ace/Acceptor.cpp: * tests/tests.mpc: Fixed bug 2610, take into account reference counted handlers. Thanks to Milan Cvetkovic for reporting this, providing the patch and the regression test Fri May 4 16:29:48 UTC 2007 Adam Mitz * tests/run_test.pl: Changed log output from "test/" to "tests/" so it's consistent. Fri May 4 12:39:37 UTC 2007 Johnny Willemsen * tests/Env_Value_Test.cpp: Reverted accidential commit Fri May 4 07:50:37 UTC 2007 Johnny Willemsen * ace/Svc_Handler.cpp: Applied new patch to fix bugzilla 2609. Thanks to Milan Cvetkovic for this new patch * tests/run_test.lst: * tests/tests.mpc: Don't build and run Bug_2609_Regression when ACE_FOR_TAO is enabled Thu May 3 09:54:37 UTC 2007 Johnny Willemsen Reverted the change below, it breaks the gcc builds Thu May 3 08:37:37 UTC 2007 Johnny Willemsen * ace/Svc_Handler.cpp: Thu May 3 08:37:37 UTC 2007 Johnny Willemsen * tests/run_test.lst: * tests/Bug_2609_Regression_Test.cpp: * ace/Svc_Handler.cpp: * tests/tests.mpc: Fixed bug 2609, take into account reference counted svc handlers. Thanks to Milan Cvetkovic for reporting this, providing the patch and the regression test * ace/config-hpux-11.00.h: dllexport with template specializations doesn't work for HP aCC 3.x which runs on PARISC. Reported this to HP and for the moment disable dllexport usage on PARISC totally * ace/Dev_Poll_Reactor.cpp: * ace/Event_Handler.cpp: * ace/Timer_Queue_T.cpp: * ace/WFMO_Reactor.cpp: Use bool when possible Wed May 2 18:43:37 UTC 2007 Johnny Willemsen * docs/bczar/bczar.html: Updated to mention the update of release.xml in the autobuild archive for the integrated build/test scoreboard Wed May 2 16:04:21 UTC 2007 Chad Elliott * bin/depgen.pl: Fixed a bug where the Depgen modules wouldn't be found unless MPC_ROOT was set. * docs/bczar/bczar.html: Changed a couple of < > to < >. Wed May 2 14:39:59 UTC 2007 Douglas C. Schmidt * ace/Dev_Poll_Reactor.cpp: Always remove the notification byte from the pipe, avoiding an infinite loop. Thanks to Eider Oliveira for this fix. Wed May 2 14:12:37 UTC 2007 Johnny Willemsen * examples/APG/Naming/Naming_Context.h: Fixed memory leak, thanks to Kanghee Yoon for reporting this. Wed May 2 12:49:37 UTC 2007 Johnny Willemsen * ace/ACE.cpp: * ace/ARGV.cpp: * ace/Basic_Types.cpp: * ace/CDR_Base.cpp: * ace/Codecs.cpp: * ace/Configuration.cpp: * ace/Configuration_Import_Export.cpp: * ace/OS_NS_string.cpp: Use prefix increment instead of postfix * ace/ace_wchar.cpp: * ace/ace_wchar.h: * ace/ace_wchar.inl: Added support for integration with iconv, this can be enabled by defining ACE_HAS_ICONV. This fixes bugzilla 2453, thanks to Olivier Brunet for reporting this. * ace/Makefile.am: * ace/ace.mpc: Added new ace_wchar.cpp: * ace/config-hpux-11.00.h: HP aCC 3.55 and newer do support declspec export/import * ace/DLL.cpp (operator=): Check for self assignment * ace/Log_Msg_Backend.h: Doxygen improvement * ace/NT_Service.{h,cpp} (insert): Added DWORD argument to pass in desired access. Fixes bugzilla 475. Thanks to Craig Perras for reporting this. * ace/OS_NS_Thread.inl: WaitForSingleObject returns a DWORD, updated type of local variable * ace/Select_Reactor_Base.cpp: Fixed not reachable code warning from the HP compiler * ace/Svc_Handler.{h,cpp}: Changed closing_ to a real bool Mon Apr 30 08:59:37 CDT 2007 Chad Elliott * ACE version 5.5.8 released. Mon Apr 30 12:24:05 UTC 2007 Chad Elliott * NEWS: Added user visible changes for 5.5.8 based on ChangeLog entries. Mon Apr 30 11:36:51 UTC 2007 Chad Elliott * tests/Bug_2912_Regression_Test.cpp: Fixed a wide character build issue. Mon Apr 30 04:03:16 UTC 2007 William R. Otte * bin/make_release.py Fixed problem causing TAO/CIAO to be included in ACE and/or ACE+TAO only packages. Fri Apr 27 13:37:13 UTC 2007 Dale Wilson * ace/Object_Manager.cpp: Replace ACE_NEW_RETURN with simple C++ new because placement new is incompatable with ACE_NEW_RETURN macro. Fri Apr 27 12:33:31 UTC 2007 Chad Elliott * tests/Bug_2912_Regression_Test.cpp: Don't compile the bulk of the code if the proactor is not supported. Fri Apr 27 08:17:12 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: * bin/tao_other_tests.lst: Exclude several tests with CORBA/e micro enabled Thu Apr 26 12:19:12 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Exclude several tests with CORBA/e micro enabled Thu Apr 26 13:23:12 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added Bug_2909_Regression Thu Apr 26 12:19:12 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Exclude several tests with CORBA/e micro enabled Thu Apr 26 10:53:12 UTC 2007 Johnny Willemsen * ace/SSL/SSL_Asynch_Stream.cpp (do_SSL_read): Also added ERR_clear_error before doing a SSL_write, belongs to bugzilla 2912 Wed Apr 25 13:11:00 UTC 2007 Simon Massey * ace/config-lynxos.h: Also needs ACE_HAS_SIGTIMEDWAIT. Wed Apr 25 11:56:06 UTC 2007 Chad Elliott * docs/bczar/bczar.html: Modified the step to copy the packages to the previous_versions directory to be similar to what it previously was (before I mistakenly changed it) and updated it to include the use of a script to avoid manually running multiple commands. Wed Apr 25 09:44:12 UTC 2007 Johnny Willemsen * bin/tao_other_tests.lst: Added Bug_2908_Regression Wed Apr 25 08:45:00 UTC 2007 Simon Massey * ace/config-lynxos.h: LynxOS4.2 does not seem to have thread process scoping. Wed Apr 25 08:16:12 UTC 2007 Johnny Willemsen * tests/Bug_2912_Regression_Test.cpp: New regression for bug 2912. Thanks to Paul Daugherty for reporting this issue and delivering this regression test * ace/SSL/SSL_Asynch_Stream.cpp (do_SSL_read): Added ERR_clear_error before doing a SSL_read * tests/run_test.lst: * tests/tests.mpc: Added Bug_2912_Regression Wed Apr 25 07:09:12 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added Bug_2356_Regression Wed Apr 25 07:00:12 UTC 2007 Johnny Willemsen * ace/Global_Macros.h: Also with msvc9 expand ACE_THROW_SPEC to throw (...) * ace/CDR_Stream.cpp (clone_from): Also copy the char and wchar translators * ace/UUID.cpp: Layout change Tue Apr 24 13:37:42 UTC 2007 Steve Huston * tests/SOCK_Dgram_Test.cpp: Add missing #include "ace/OS_NS_string.h" Tue Apr 24 11:46:12 UTC 2007 Johnny Willemsen * ace/Sock_Connect.cpp (get_ip_interfaces_aix): Fixed resource leak. Thanks to Werner Buchert for reporting this Tue Apr 24 10:20:58 UTC 2007 Olli Savia * include/makeinclude/platform_lynxos.GNU: Fixed run-time linking error with GCC 3.2.2. Tue Apr 24 09:10:12 UTC 2007 Johnny Willemsen * tests/run_test.lst: Enabled Dirent test again for VxWorks RTP * ace/Addr.cpp: Initialise members in the constructor directly instead of calling a seperate method * ace/Arg_Shifter.cpp: Fixed typo in comment Mon Apr 23 15:05:31 UTC 2007 Steve Huston * tests/SOCK_Dgram_Test.cpp: Added additional tests to verify data and peer addresses from recv(). Also fixed errors in use of %p. Mon Apr 23 13:39:12 UTC 2007 Johnny Willemsen * ace/CDR_Base.inl: Fixed copy/paste bug in swap_4 and swap_8 Mon Apr 23 13:09:12 UTC 2007 Johnny Willemsen * ace/Task.cpp: Fixed compile error with msvc9 beta Mon Apr 23 12:19:12 UTC 2007 Johnny Willemsen * ace/config-win32-msvc.h: * ace/config-win32-msvc-9.h: Initial files for msvc9. Microsoft released a public beta called Orcas Fri Apr 20 18:20:12 UTC 2007 Johnny Willemsen * ace/config-win32-msvc-7.h: msvc7 doesn't has intrin.h Fri Apr 20 14:31:26 UTC 2007 Adam Mitz * bin/MakeProjectCreator/config/htbp.mpb: Added a 'requires' for ace_uuid. * examples/APG/Naming/naming.mpc: Added a 'requires' for ace_other (ACE naming services are within the ace_other MPC feature) to each project. * examples/Naming/Naming.mpc: Added a 'requires' for ace_other to each project. * performance-tests/Misc/Misc.mpc: Added a 'requires' for ace_other to the Misc_test_naming project. * bin/tao_orb_tests.lst: Only run Bug_2768_Regression when CORBA messaging is enabled. Fri Apr 20 12:10:12 UTC 2007 Johnny Willemsen * ace/config-win32-msvc-7.h: * ace/config-win32-msvc-8.h: * ace/config-win32-msvc.h: Intel C++ 9.0 doesn't have the interlocked functions Fri Apr 20 11:44:12 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added Bug_1330_Regression Fri Apr 20 11:35:12 UTC 2007 Johnny Willemsen * ace/CDR_Base.inl: Added ACE_HAS_BSWAP_16, ACE_HAS_BSWAP_32, and ACE_HAS_BSWAP_64. When one of the defines is set, we include os_byteswap.h and then use bswap_16, bswap_32, and bswap_64. * ace/config-linux-common.h: Added ACE_HAS_BYTESWAP_H, ACE_HAS_BSWAP_16, ACE_HAS_BSWAP_32, and ACE_HAS_BSWAP_64. This fixes bugzilla bug 2901. Fri Apr 20 08:29:12 UTC 2007 Johnny Willemsen * bin/PerlACE/ProcessVX_Unix.pm: Updated to also run automatic regression tests with VxWorks 6.x in kernel mode. Thu Apr 19 18:24:12 UTC 2007 Johnny Willemsen * ace/os_include/os_byteswap.h: New wrapper file for byteswap.h Thu Apr 19 16:47:46 UTC 2007 Adam Mitz * bin/tao_orb_tests.lst: Use the -boost option for TAO/tests/Sequence_Unit_Tests when Config BOOST is present. Thu Apr 19 14:25:39 UTC 2007 Douglas C. Schmidt * ace/OS_NS_time.h (ace_timezone): Changed ACE_HAS_WIN32 to ACE_WIN32 to fix a bug on Windows. Thanks to Jan Kalin for this fix. Thu Apr 19 14:10:18 UTC 2007 Steve Huston * ace/config-doxygen.h: Turn on ACE_Dev_Poll_Reactor doc generation using ACE_HAS_DEV_POLL instead of ACE_HAS_EVENT_POLL. The latter will be automatatically turned off on systems w/o epoll and the docs get lost. Thu Apr 19 13:59:06 UTC 2007 Chad Elliott * ace/Obstack_T.cpp: Because the ACE_ALLOCATOR macro contains a return, head_ and curr_ could technically be used without being initialized (however unlikely). Initialize them to zero in the initializer list. Thu Apr 19 13:29:12 UTC 2007 Johnny Willemsen * ace/config-win32-msvc.h: Don't set ACE_HAS_INTRINSIC_INTERLOCKED on WinCE Thu Apr 19 11:01:49 UTC 2007 Olli Savia * ace/SSL/SSL_SOCK_Stream.cpp: Added static_cast to silence compiler warning on LynxOS. * include/makeinclude/platform_lynxos.GNU: Added PLATFORM_X11_LIBS to PLATFORM_TK_LIBS to fix linking error on LynxOS. Thu Apr 19 05:30:12 UTC 2007 Johnny Willemsen * ace/os_include/os_intrin.h: Don't declare the _Interlocked methods with Intel C++ 9.0 Wed Apr 18 14:11:28 UTC 2007 Olli Savia * include/makeinclude/platform_lynxos.GNU: LynxOS's mkdir needs -f option to prevent it returning error if directory already exists. Wed Apr 18 12:11:12 UTC 2007 Johnny Willemsen * bin/MakeProjectCreator/config/ace_foxreactor.mpb: Added new base project Wed Apr 18 11:51:12 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: The DIOP test can run in a static build Wed Apr 18 11:01:56 UTC 2007 Martin Corino * include/makeinclude/rules.lib.GNU: Change to enable building static libs on OpenVMS. Wed Apr 18 10:52:00 UTC 2007 Ian Roberts * bin/tao_orb_tests.lst: Added Bug_2791_Regression. Wed Apr 18 10:42:39 UTC 2007 Olli Savia * include/makeinclude/platform_lynxos.GNU: Updated TCL/TK settings. * tests/TkReactor_Test.cpp: Fixed compile error on LynxOS. Wed Apr 18 10:17:12 UTC 2007 Johnny Willemsen * bin/MakeProjectCreator/config/ace_fox.mpb: * bin/MakeProjectCreator/config/global.features: * ace/ace_foxreactor.mpc: * ace/FoxReactor/*: * include/makeinclude/platform_linux.GNU: * include/makeinclude/wrapper_macros.GNU: Added FoxReactor to integrate with the fox toolkit. Thanks to Dmitriy Nikitinskiy for providing these files. This fixes bugzilla 1400 Wed Apr 18 09:45:12 UTC 2007 Johnny Willemsen * bin/MakeProjectCreator/config/vcl.mpb: Updated bds to bds4 Wed Apr 18 09:30:00 UTC 2007 Simon Massey * ace/SSL/SSL_Asynch_Stream.cpp: * ace/SSL/SSL_Context.cpp: Change variable name and comments so that compiler warnings don't trigger error indication on the scoreboard. Wed Apr 18 09:29:12 UTC 2007 Johnny Willemsen * ace/QtReactor/QtReactor.{h,cpp}: Applied changes to work with Qt4. Thanks to Roland Sun for delivering the patches. This is part of bugzilla 2870. Also thanks to Ian Zagorskih for his report in bugzilla 2413. Wed Apr 18 09:06:12 UTC 2007 Johnny Willemsen * ace/config-win32-msvc-8.h: WinCE doesn't have intrin.h Tue Apr 17 22:11:11 UTC 2007 Steve Huston * netsvcs/lib/Server_Logging_Handler_T.cpp (parse_args): When calling ACE_LOG_MSG->open(), get the existing logging flags and pass them to open() in order to preserve any previously set flags, such as SYSLOG, etc. Thanks to Hubert Talbot for this fix. Tue Apr 17 14:36:00 UTC 2007 Chad Elliott * bin/tao_orb_tests.lst: Neither 2804 nor 2844 will run in a minimum corba or corba e build. Tue Apr 17 14:25:35 UTC 2007 Adam Mitz * bin/generate_compile_stats.sh: Don't error out if the destination directory doesn't exist yet, the script will attempt to create it before using it. Tue Apr 17 12:11:12 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added Bug_2768_Regression Tue Apr 17 11:32:12 UTC 2007 Johnny Willemsen * ace/config-win32-msvc-8.h: * ace/config-win32-msvc.h: Only msvc8 has intrin.h Tue Apr 17 10:03:12 UTC 2007 Johnny Willemsen * ace/Atomic_Op.inl: Added missing pragma intrinsic Tue Apr 17 09:55:12 UTC 2007 Johnny Willemsen * ace/config-icc-common.h: Make use of the Intel C++ intrinsic interlocked functions on IA64 Linux. Intel support has promised Intel will deliver these functions in the near feature also for IA32/EM64T. Tue Apr 17 09:41:12 UTC 2007 Johnny Willemsen * ace/os_include/os_intrin.h: Added ACE_HAS_IA64INTRIN_H and ACE_HAS_IA32INTRIN_H for supporting the Intel C++ intrinsic header files Tue Apr 17 09:13:12 UTC 2007 Johnny Willemsen * ace/os_include/os_intrin.h: New wrapper file for intrin.h * ace/config-win32-msvc-7.h: * ace/config-win32-msvc-8.h: * ace/config-win32-msvc.h: Added ACE_HAS_INTRIN_H, moved some generic defines to the msvc.h file * ace/Atomic_Op.{h,inl}: Use the intrinsic Interlocked functions to increase the performance on Windows with the Microsoft compiler. See also http://msdn2.microsoft.com/en-us/library/f24ya7ct(VS.71).aspx. This fixes bugzilla bug 2891, thanks to Aleksandar Vukajlovic for suggesting these changes. Tue Apr 17 08:12:12 UTC 2007 Johnny Willemsen * docs/run_test.txt: Corrected variable that is used for VxWorks target * docs/ACE-FMM.html: Fixed html tag Tue Apr 17 06:51:12 UTC 2007 Johnny Willemsen * tests/CDR_File_Test.cpp: * tests/Log_Msg_Test.cpp: VxWorks 6.4 fixes the problem that we can't unlink in advance on a NFS share * tests/Svc_Handler_Test.cpp: Removed define for unlink in advance, not used Mon Apr 16 23:00:16 UTC 2007 Steve Huston * ace/Timeprobe.h: Add #include "ace/config-lite.h" to pick up the config settings needed to do the right thing. * tests/Message_Block_Test.cpp: The text queued in the test's blocks are ACE_TCHAR, so don't try to change them into ACE_TCHAR for passing to ACE_OS::atoi() - just cast the char* to ACE_TCHAR*. Also, replaced ACE_ASSERTs with if/ACE_ERROR to allow the stuff to run on Release builds and not wipe out single-process systems on errors. Mon Apr 16 17:56:42 UTC 2007 Adam Mitz * bin/generate_compile_stats.sh: Fixed usage statement to match actual argument parsing. Assume gcc is on the PATH instead of hard-coding /usr/bin/gcc. Mon Apr 16 17:18:32 UTC 2007 Adam Mitz * docs/svn/config: * docs/svn/svn-prefs.reg: Added README as a text file for the purposes of SVN end-of-line handling and keyword subsitution. Mon Apr 16 15:41:39 UTC 2007 Chad Elliott * ace/config-sunos5.7.h: * ace/config-sunos5.8.h: Moved the setting of ACE_HAS_VFWPRINTF and ACE_SHM_OPEN_REQUIRES_ONE_SLASH to config-sunos5.7.h. They are valid for this platform as well as SunOS 5.8. Mon Apr 16 14:17:12 UTC 2007 Johnny Willemsen * tests/run_test.lst: Disable for the moment Dirent_Test on VxWorks RTP, it causes a crash of the target. Mon Apr 16 13:01:00 UTC 2007 Simon Massey * ace/config-win32-msvc-7.h: * ace/config-win32-msvc-8.h: * ace/README: Add the new #define ACE_HAS_HEADER_ALLOCATED_CLASS_STATIC_CONST_INT_STOREAGE to the known offending platforms (Microsoft VC7 and VC8). Mon Apr 16 11:01:12 UTC 2007 Johnny Willemsen * tests/Log_Msg_Test.cpp: Made this test working for VxWorks 6.x kernel mode * tests/Handle_Set_Test.cpp: * tests/Priority_Reactor_Test.cpp: * tests/Process_Strategy_Test.cpp: * tests/Test_Output.cpp: Removed support for psos * tests/Barrier_Test.cpp: Fixed typo in comment Mon Apr 16 08:41:56 UTC 2007 Martin Corino * tests/run_test.lst: * bin/tao_orb_tests.lst: (Temporary) exclusion of some tests which tend to cause too much trouble (spontaneous system reboots) on OpenVMS IA64 for the moment. The cause seems to be some vulnerabilities in the OpenVMS IA64 threading library and that will take time to be resolved. Sun Apr 15 06:04:56 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added bug 2805 regression Sun Apr 15 06:04:56 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added bug 2844 regression Sat Apr 14 18:57:56 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added bug 2804 regression Thu Apr 12 19:14:00 UTC 2007 Chad Elliott * bin/tao_other_tests.lst: Added the Bug_1385_Regression test. Thu Apr 12 19:05:56 UTC 2007 Chad Elliott * bin/doxygen-convert-h.pl: Fixed a typo in a variable name. Using strict would have caught this. Thu Apr 12 12:18:20 UTC 2007 Chad Elliott * bin/auto_run_tests.pl: Remove intermediate '.' directories when printing the test name to allow the scoreboard matrix to read test output correctly. Thu Apr 12 12:03:29 UTC 2007 Chad Elliott * tests/Test_Output.cpp: Fixed the unused variable warning. Thu Apr 12 11:50:37 UTC 2007 Johnny Willemsen * protocols/ace/TMCast/GroupFwd.hpp: Don't use export with a forward declaration Wed Apr 11 18:16:29 UTC 2007 Chad Elliott * ACEXML/apps/svcconf/Svcconf_Handler.cpp: * ACEXML/common/SAXExceptions.cpp: * ACEXML/common/StrCharStream.cpp: Fixed memory leaks. * ace/DLL.cpp: Delete dll_name_ before assigning to it. * ace/Select_Reactor_T.cpp: * ace/TP_Reactor.cpp: Check the timer_queue_ pointer before using it. * tests/Service_Config_DLL.cpp: Changed from ACE::strnew to ACE_OS::strdup to be consistent with what allocation method is expected (even though this code shouldn't be called). * tests/Test_Output.cpp: Always retain ownership of the output_file_ pointer (instead of giving it to ACE_Log_Msg). This removes a memory leak (in certain situations) and simplifies things a bit. Wed Apr 11 17:53:07 UTC 2007 Steve Huston * ace/Process_Manager.{h cpp} (terminate): The terminate(pid_t) method no longer removes the process from the process descriptor table; the pid remains available to call wait() on. This allows the Process_Manager_Spawn.cpp example from APG page 227 to work as expected. Thanks to Zhenghao Shi for reporting this issue. Also, changed the ACE_Process_Descriptor class to be a struct (Process_Descriptor) inside ACE_Process_Manager. It's only used internally to that class. Also fixed the Doxygenization of ACE_Process_Manager quite a bit. * tests/Process_Manager_Test.cpp: Added a test to verify that ACE_Process_Manager::terminate() allows the process to wait()ed for. * THANKS: Added Zhenghao Shi to the Hall of Fame. Wed Apr 11 14:02:37 UTC 2007 Johnny Willemsen * ace/CORBA_macros.h: Added nothrow variant of ACE_NEW_THROW_EX. This fixes bugzilla bug 2889. With Borland C++ this resulted in a slightly smaller footprint Wed Apr 11 12:33:37 UTC 2007 Chad Elliott * ace/OS_NS_sys_stat.inl: Added a static_cast to avoid a warning from gcc. * ace/SOCK_Dgram.cpp: Fixed my RTEMS detection for checking to see if iov_len is less than zero. Wed Apr 11 11:37:42 UTC 2007 Chad Elliott * tests/Reactor_Notify_Test.cpp: * tests/Time_Value_Test.cpp: Added static_cast and changed types to time_t to avoid warnings from gcc. Wed Apr 11 10:57:07 UTC 2007 Johnny Willemsen * ace/config-g++-common.h: Improved gcc 4 visibility support, thanks to Max Khon for delivering the patch. This fixes bugzilla 2881 * ace/Barrier.h: Doxygen improvements * ace/OS_NS_Thread.cpp: Use prefix increment/decrement Tue Apr 10 20:27:07 UTC 2007 Douglas C. Schmidt * docs/Download.html: Updated the download page to clarify the status of autoconf. Thanks to Eric Hughes for clarifying this. Tue Apr 10 17:20:46 UTC 2007 Krishnakumar B * ace/CORBA_macros.h: Reverted the change to exclude ACE_PRINT_EXCEPTION from being affected by ACE_LACKS_DEPRECATED_MACROS. Sat Apr 7 12:17:45 UTC 2007 Phil Mesnier * ace/Asynch_IO.cpp: fixed spelling error in include. Fri Apr 6 19:48:20 UTC 2007 Steve Huston * ace/OS_NS_Thread.inl (recursive_mutex_cond_unlock): Corrected for Windows Mobile 5, where the CRITICAL_SECTION LockCount member was changed from 0-base to 1-base. Fri Apr 6 14:27:20 UTC 2007 Steve Huston * ace/Asynch_IO.h: Improved comments for ACE_Asynch_Read_Stream. * ace/Asynch_IO.cpp (read, write, cancel): If an operation is attempted on an object that hasn't yet been opened, refuse it with errno EFAULT. Thanks to Paul Daugherty for reporting this. Thu Apr 5 22:24:03 UTC 2007 Krishnakumar B * ace/config-win32-msvc-8.h: Removed the redundant define of ACE_HAS_NEW_NOTHROW. Thanks to Ossama for pointing it out. * bin/ciao_tests.lst: Added BasicSP to the list of tests that are run daily. Thu Apr 5 15:48:12 UTC 2007 Chad Elliott * bin/tao_other_tests.lst: Added the Bug_2561_Regression test. Thu Apr 5 11:50:14 UTC 2007 Chad Elliott * bin/MakeProjectCreator/config/global.features: Set the link_codecfactory feature to zero. This feature determines if the TAO_CodecFactory library is linked in if the TAO library is linked into an executable or dynamic library. * bin/tao_other_tests.lst: Disable a couple of performance tests that crash our QNX machine. * tests/run_test.lst: Disable the Sendfile_Test. QNX doesn't support that interface. Thu Apr 5 11:28:55 UTC 2007 Chad Elliott * tests/Message_Queue_Test_Ex.cpp: Changed to use ACE_Auto_Basic_Ptr instead of auto_ptr. Some implementations still don't have a reset() method. Thu Apr 5 08:00:00 UTC 2007 Martin Corino * bin/ace_tests.lst: Excluded RMCast tests for VxWorks. Wed Apr 4 23:59:18 UTC 2007 Steve Huston * tests/Test_Output.cpp (close): Don't delete output_file_ during close() - it prevents the output from being reset for another round of logging as is done with Object_Manager_Flipping_Test. The destructor will delete it (as the constructor allocated it) when the component framework cleanup runs at process rundown. Wed Apr 4 22:01:35 UTC 2007 Krishnakumar B * ace/CORBA_macros.h: Restored ACE_PRINT_EXCEPTION by removing it from being undefined if ACE_LACKS_DEPRECATED_MACROS is defined. * ace/config-win32-msvc-8.h: Define ACE_NEW_THROWS_EXCEPTIONS and ACE_HAS_NEW_NOTHROW for Visual C++ 8.0. Wed Apr 4 19:06:52 UTC 2007 Chad Elliott * bin/tao_other_tests.lst: Added the Bug_689_Regression test. Wed Apr 4 16:32:03 UTC 2007 Steve Huston * tests/Bug_1890_Regression_Test.cpp: * tests/Bug_2540_Regression_Test.cpp: Since these bugs are all about ACE_Select_Reactor, always run them on ACE_Select_Reactor. The tests rely on behavior that doesn't hold on ACE_WFMO_Reactor, so shouldn't be tried on simply the platform's default reactor. Wed Apr 4 16:12:57 UTC 2007 Chad Elliott * bin/tao_other_tests.lst: Added the Bug_1107_Regression test. Wed Apr 4 11:57:48 UTC 2007 Chad Elliott * ace/Log_Msg.cpp: When ACE::fini() is called, all of the exit hooks registered with the ACE_Object_Manager are called. In single threaded mode, one of these is the cleanup adapter for the ACE_Log_Msg object allocated into a static pointer variable in ACE_Log_Msg::instance(). Calling ACE::init() after ACE::fini() would not re-initialize the ACE_Log_Msg object and thus memory issues would arise as soon as it is used. I moved the static pointer variable to the file level and made a new cleanup adapter that would reset the static pointer variable when the ACE_Log_Msg object is deleted. The next use of ACE_Log_Msg::instance() would then result in the allocation of a new ACE_Log_Msg object. This fixes Bug 2874. Wed Apr 4 11:33:57 UTC 2007 Steve Huston * tests/Env_Value_Test.cpp: Cast ACE_Env_Value to ACE_TCHAR to print its value. Wed Apr 4 09:49:00 UTC 2007 Simon Massey * include/makeinclude/platform_lynxos.GNU: Minor warning elimination changes for ACE/TAO. Tue Apr 3 22:29:41 UTC 2007 Steve Huston * ace/Default_Constants.h: Added ACE_DEFAULT_THREAD_STACKSIZE, which defaults to 0. This can be used to change the default stack size argument to ACE_OS::thr_create(). Useful when a platform's default stack size is not appropriate for an ACE application. * ace/OS_NS_Thread.{h cpp}: * ace/Thread.{h cpp}: * ace/Thread_Manager.{h cpp}: Changed the spawn[_n] stacksize default from 0 to ACE_DEFAULT_THREAD_STACKSIZE. Allows the above config setting to propagate through all thread-spawning methods. * ace/config-pharlap.h: Default ACE_DEFAULT_THREAD_STACKSIZE to 1MB. * ace/README: Added ACE_DEFAULT_THREAD_STACKSIZE. * tests/CDR_File_Test.cpp: Added ACE_HAS_PHARLAP to the condition in which the test file can't be pre-unlinked. * tests/Bug_2653_Regression_Test.cpp: * tests/CDR_File_Test.cpp: * tests/Env_Value_Test.cpp: * tests/MT_Reactor_Upcall_Test.cpp: * tests/Reactor_Dispatch_Order_Test.cpp: * tests/Reactor_Registration_Test.cpp: Replace ACE_ASSERTs with ACE_ERROR. * tests/Sendfile_Test.cpp: If client send fails, nothing will happen, so close the stream and quit. * tests/run_test.lst: Disabled unrunnable tests for Pharlap. Tue Apr 3 18:14:07 UTC 2007 Chad Elliott * ace/Service_Gestalt.h: Added the missing export for the ACE_Service_Type_Dynamic_Guard class. Tue Apr 3 13:07:49 UTC 2007 Chad Elliott * bin/tao_orb_tests.lst: Added the Bug_2734_Regression test. Mon Apr 2 15:18:29 UTC 2007 Steve Huston * ace/Process.cpp: Add missing #include "ace/Auto_Ptr.h". * ace/Service_Config.cpp: Add missong #include "ace/Log_Msg.h". Thanks to Olof Granered for reporting these. * THANKS: Added Olof Granered to the Hall of Fame. Mon Apr 2 15:11:24 UTC 2007 Chad Elliott * ACEXML/apps/svcconf/Svcconf.cpp: As part of the fixes for Bug 2735, we must set errno to EINVAL when a directive fails to parse. Mon Apr 2 15:02:26 UTC 2007 Chad Elliott * ace/Service_Object.cpp: Removed an unnecessary const_cast of the ACE_DLL data member in one of the constructors. * ace/Service_Config.h: Added an ACE_STATIC_SERVICE_DIRECTIVE similar to ACE_DYNAMIC_SERVICE_DIRECTIVE to ease the testing of processing single directives with the XML service configurator. * ACEXML/apps/svcconf/Svcconf_Handler.cpp: * ace/Service_Gestalt.h: * ace/Service_Gestalt.inl: * ace/Service_Gestalt.cpp: Fixed Bug 2677 by moving the ACE_Service_Type_Dynamic_Guard out of the Service_Gestalt.cpp and into the .h. This guard is then used in ACEXML_Svcconf_Handler::endElement before loading a shared library which may insert an entity into the ACE_Service_Repository. Upon unloading the shared library, objects will be destroyed in the proper order. Thanks to Lothar Werzinger for reporting this. * bin/tao_orb_tests.lst: Added Bug_2677_Regression to the list of tests. Fri Mar 30 14:51:19 UTC 2007 Chad Elliott * bin/svcconf-convert.pl: Only print out the output file if -verbose was used. * bin/tao_orb_tests.lst: Added the Bug_2735_Regression test. Fri Mar 30 14:24:48 UTC 2007 Chad Elliott * ace/Service_Gestalt.cpp: Added the word ERROR: on the three error messages that use LM_ERROR. Always set the errno to EINVAL if processing a directive fails. Also, reformatted some of the code. Fri Mar 30 12:10:22 UTC 2007 Johnny Willemsen * ace/Containers.{h,inl}: Changed the constructor of ACE_DLList_Node to accept a void* instead of void *&, no need for passing it by reference. Thanks to Wim van den Boogaard for reporting this. * ace/Containers_T.cpp: ACE_DLList::insert_head/insert_tail, removed the workaround for the dereferencing warnings because the DLList_Node has been changed. * ace/Containers_T.h: Doxygen improvements * ace/Containers_T.cpp: Use prefix increment/decrement, initialize pointers with 0, simplified some methods, const improvements * ace/INET_Addr.cpp: Const improvement Thu Mar 29 16:15:24 UTC 2007 Steve Huston * ace/String_Base.h: Corrected comment. * ace/String_Base.{cpp inl}: Corrected calls to set() which specified 'release' as 1/0 instead of true/false. Thanks to Jeff Parsons for pointing these out. Thu Mar 29 15:46:19 UTC 2007 Douglas C. Schmidt * examples/Misc/test_trace.cpp: Updated the documentation to explain various techniques for adding tracing to applications. Thanks to John McCabe and Steve Huston for clarifying the rules. Thu Mar 29 12:15:22 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added Bug_2869_Regression Thu Mar 29 11:23:22 UTC 2007 Johnny Willemsen * ace/config-doxygen.h: Added ACE_HAS_IP_MULTICAST Thu Mar 29 09:11:22 UTC 2007 Johnny Willemsen * ace/CDR_Base.inl: Corrected version check for Intel C++ 9.0 Wed Mar 28 15:34:49 UTC 2007 William R. Otte * examples/APG/Logging/Trace.h Removed usage of variadic macros, they are not really necessary here. Wed Mar 28 10:45:22 UTC 2007 Johnny Willemsen * ace/Event.{h,cpp}: Extende constructor with LPSECURITY_ATTRIBUTES sa argument that can be used to pass in the security attributes that are then passes to event_init. Also made the removed_ member a real bool. Thanks to Michael Graf for proposing this change Wed Mar 28 09:05:22 UTC 2007 Johnny Willemsen * ace/CDR_Base.inl: Intel 9.0 doesn't deliver the intrinsic byte swapping operations. This has been checked with Intel, they confirm this issue but also indicate they will not fix this anymore for Intel 9.0, Intel 9.1 and 10.0 don't have this issue. So, disabled the intrinsic byte swapping operations when Intel 9.0 is used Tue Mar 27 13:58:22 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added Bug_933_Regression Mon Mar 26 20:46:34 UTC 2007 William R. Otte * ASNMP/asnmp/asn1.cpp * examples/Threads/thread_specific.cpp Fixes for string aliasing warnings. Mon Mar 26 15:56:19 UTC 2007 William R. Otte * tests/Config_Test.cpp Workaround for strict aliasing warning from GCC. Mon Mar 26 15:42:35 UTC 2007 William R. Otte * tests/TSS_Test.cpp Workaround for strict aliasing warning from GCC. Mon Mar 26 13:12:22 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: * bin/tao_other_tests.lst: Moved DIOP test from other to orb tests Sun Mar 25 23:22:22 UTC 2007 William R. Otte * contrib/utility/Utility/ExH/System/DescriptiveException.hpp * contrib/utility/Utility/ExH/System/DescriptiveException.ipp * contrib/utility/Utility/ExH/Compound.tpp * contrib/utility/Utility/ExH/Compound.hpp * contrib/utility/Utility/ExH/Logic/Exception.hpp * contrib/utility/Utility/ExH/Logic/DescriptiveException.hpp * contrib/utility/Utility/ExH/Logic/DescriptiveException.ipp * contrib/utility/Utility/ReferenceCounting/Interface.hpp * contrib/utility/Utility/ReferenceCounting/DefaultImpl.hpp An attempt to deal with copious warnings eminating from this in GCC CIDLC builds. Fri Mar 23 12:40:32 UTC 2007 Ossama Othman * ace/CDR_Base.inl (swap_2, swap_4, swap_8): Take advantage of MSVC++ compiler intrinsic byte swapping functions to improve performance when demarshaling CDR streams sent by a host with a different byte ordering. Fri Mar 23 15:48:42 UTC 2007 Steve Huston * ace/Handle_Gobbler.{h inl}: Removed left-over disabled code from Thu Mar 22 18:33:19 UTC 2007 Steve Huston Fri Mar 23 15:36:48 UTC 2007 Steve Huston * ace/DLL_Manager.cpp (close): After Thu Mar 22 18:33:19 UTC 2007 Steve Huston was closing the wrong handle value; fixed. Fri Mar 23 15:19:18 UTC 2007 Johnny Willemsen * ace/CDR_Stream.cpp: Fixed compile error when ACE_LACKS_CDR_ALIGNMENT is defined. Thanks to Aleksandar Vukajlovic for reporting this Fri Mar 23 13:11:18 UTC 2007 Phil Mesnier * bin/tao_other_tests.lst: Added new SSLIOP tests to the script. Fri Mar 23 12:42:02 UTC 2007 Johnny Willemsen * ace/Makefile.am: Removed config-win32-visualage.h Fri Mar 23 06:38:17 UTC 2007 William R. Otte * tests/Log_Msg_Backend_Test.cpp Unused argument warnings. Fri Mar 23 02:33:54 UTC 2007 Abdullah Sowayan * ace/ACE.cpp: Don't use raw "naked" calls, use the ones provided by ACE_OS. This fixes Bugzilla 2866. Thu Mar 22 19:59:17 UTC 2007 William R. Otte * bin/MakeProjectCreator/modules/GNUAutobuildProjectCreator.pm * bin/MakeProjectCreator/modules/GNUAutobuildWorkspaceCreator.pm Added logic to make this generator masquerade as the gnuace type for the purposes of specific/verbatim clauses. Thu Mar 22 19:38:02 UTC 2007 Johnny Willemsen * ace/Basic_Types.h: * ace/config-win32-common.h: * ace/config-win32.h: * ace/Global_Macros.h: * ace/OS_NS_errno.inl: * ace/OS_NS_sys_stat.{h,inl}: * ace/OS_NS_Thread.cpp: * ace/OS_NS_unistd.inl: * ace/Task.cpp: * ace/Timer_Heap_T.cpp: Removed support for Visual Age on Windows * ace/Condition_Thread_Mutex.{h,cpp,inl}: Changed removed_ member from int to real bool * ace/config-win32-visualage.h: Removed from the repo * ace/OS_NS_errno.inl: Removed workaround for BCB4 Thu Mar 22 19:25:02 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added Abstract_Interface test Thu Mar 22 18:44:02 UTC 2007 Chad Elliott * ace/ACE.inl: Updated a comment about ACE::nibble2hex() working with UNICODE. * ace/config-qnx-rtp-62x.h: QNX has the getifaddrs interface. Thu Mar 22 18:33:19 UTC 2007 Steve Huston * ace/DLL_Manager.cpp (ACE_DLL_Handle::close()): When a DLL needs to be closed, copy the handle value to a local variable and reset the object's handle_, then release the lock_, then do the dlclose() without holding the lock in case dlclose() causes a train of closes to end up coming back through ACE_DLL_Handle::close(). * ace/Handle_Gobbler.{h inl}: Use ACE_Handle_Set instead of ACE_Unbounded_Set to hold the gobbled-up handles. Cuts execution time on AIX (at least my old-ish 5.2 box) from 7 minutes to a few seconds, allowing tests that use this to complete. Thu Mar 22 18:25:01 UTC 2007 Steve Huston * ace/Log_Msg.{h cpp}: Corrected comments describing the format for %D timestamp. Thanks to Stefan Naewe for reporting this. * ace/OS_NS_Thread.inl (thread_mutex_init): On Windows, guard against InitializeCriticalSection throwing an out-of-memory exception. Thanks to Aleksandar Vukajlovic for this. * ace/Log_Msg_Backend.h: Doxygenized and expanded comments. * ace/Log_Msg_IPC.h: Moved some comments re reset() from Log_Msg_Backend to here because they discuss resetting the IPC. * ace/Message_Queue_T.{h cpp}: Added an optional 'priority' argument to ACE_Message_Queue_Ex::enqueue_prio. There was previously no way to specify a priority for queueing; now there is. The priority defaults to 0 (lowest priority). Also fixed up the Doxygen stuff for ACE_Message_Queue_Ex. * tests/Message_Queue_Test_Ex.{h cpp}: Added a test for priority queueing. * tests/Log_Msg_Backend_Test.cpp: New test to illustrate how to set up a custom logging backend and test the hooks are called properly. * tests/tests.mpc: * tests/Makefile.am: * tests/run_test.lst: Added Log_Msg_Backend_Test. * tests/Auto_Event_Test.cpp: * tests/Semaphore_Test.cpp: Replace ACE_ASSERTS with if/ACE_ERROR to 1) make sure it runs in Release mode, 2) not wipe out embedded systems on failures, 3) record something useful in the log. Also, changed error notices to LM_ERROR. When logging msecs (unsigned long) cast it to int; ACE_Log_Msg doesn't have the 'l' modifier and without it %d and long is a mismatch. Thu Mar 22 16:29:16 UTC 2007 William R. Otte * bin/MakeProjectCreator/modules/GNUAutobuildProjectCreator.pm * bin/MakeProjectCreator/modules/GNUAutobuildWorkspaceCreator.pm Added autobuild workspace creator to collate build output on a per makefile basis. Thu Mar 22 14:51:46 UTC 2007 Chad Elliott * bin/make_release.py: Fixed a bug where the input file for bzip2 and gzip was not correct and the md5sum output file was missing a period. * docs/bczar/bczar.html: Updated the documentation and fixed some spelling mistakes. * bin/depgen.pl: Modified to use the dependency generator core that was moved into MPC. * bin/DependencyGenerator/DependencyEditor.pm: * bin/DependencyGenerator/DependencyGenerator.pm: * bin/DependencyGenerator/DependencyWriter.pm: * bin/DependencyGenerator/DependencyWriterFactory.pm: * bin/DependencyGenerator/MakeDependencyWriter.pm: * bin/DependencyGenerator/MakeObjectGenerator.pm: * bin/DependencyGenerator/NMakeDependencyWriter.pm: * bin/DependencyGenerator/NMakeObjectGenerator.pm: * bin/DependencyGenerator/ObjectGenerator.pm: * bin/DependencyGenerator/ObjectGeneratorFactory.pm: * bin/DependencyGenerator/Preprocessor.pm: Removed these files. Wed Mar 21 12:12:26 CDT 2007 Chad Elliott * ACE version 5.5.7 released. Tue Mar 20 12:42:13 UTC 2007 Chad Elliott * bin/diff-builds.pl: Sort the builds so that the output is in order and comparable between multiple runs of the same date. Mon Mar 19 19:16:12 UTC 2007 Johnny Willemsen * bin/tao_other_tests.lst: Disabled several tests for CORBA/e micro Mon Mar 19 16:37:21 UTC 2007 Douglas C. Schmidt * docs/Download.html: Updated the comments about commercial support so they point to www.dre.vanderbilt.edu/support.html. Thanks to Hans van't Hag for motivating this. Mon Mar 12 16:19:49 UTC 2007 Douglas C. Schmidt * tests/Future_Test.cpp: Updated this example to point to the right Active Object location. Thanks to Joe French for motivating this. Mon Mar 19 07:53:12 UTC 2007 Johnny Willemsen * bin/MakeProjectCreator/config/vc8_warnings.mpb: Made vc8 and nmake more the same so that also with nmake the crt warnings are suppressed Sun Mar 18 02:09:31 UTC 2007 Krishnakumar B * ace/OS_NS_stdlib.cpp: Fixed a race condition in ACE_OS::mkstemp_emulation() where the value from ACE_OS::gettimeofday() was truncated due to the use of ACE_Time_Value::msec(void) as opposed to ACE_Time_Value::msec(ACE_UINT64&) to convert it to milliseconds. This resulted in seed value passed to ACE_OS::rand_r() returning the same sequence of numbers when ACE_OS::mkstemp() was called successively from the same process. As a result, the filenames returned from ACE_OS::mkstemp() ended up being the same, if the template passed in was the same between multiple successive calls to ACE_OS::mkstemp(). Thu Mar 15 14:44:21 UTC 2007 Carlos O'Ryan * ace/Select_Reactor_Base.cpp: The close() operation was trying to read from the notification pipe event if the notification pipe was not open. I did not notice this could happen, but the reactor constructor has a flag for it. Thu Mar 15 12:06:12 UTC 2007 Johnny Willemsen Reverted the change below, the test stats show that after adding the functions the Atomic_Op test does fail when these optimized functions are enabled. Mon Mar 5 09:21:12 UTC 2007 Johnny Willemsen * ace/Atomic_Op_Sparc.c: * ace/Atomic_Op.{h,cpp}: Added optimized functions for SunCC on x86. Thanks to Dennis Chernoivanov for reporting this. If you want to enable these, add atomic_ops_sparc=1 to your platform_macros.GNU file Thu Mar 15 11:20:31 UTC 2007 Chad Elliott * tests/Reactor_Notify_Test.cpp: Removed the auto_ptr that deleted the Reactor instance. It is managed by the ACE library and doesn't need to be deleted. Wed Mar 14 21:34:03 UTC 2007 William R. Otte * bin/ciao_tests.lst Added requirement for the RT-CCM test called RT_CAPABLE, used to indicate systems which are able to successfully run a test involving RT policies. Wed Mar 14 12:32:36 UTC 2007 Chad Elliott * bin/tao_orb_tests.lst: Silly me, I forgot the script name when I added the CORBA_e_compact_Implicit_Activation test. Wed Mar 14 09:09:12 UTC 2007 Johnny Willemsen * ace/config-hpux-11.00.h: Set ACE_HAS_VSWPRINTF independent of the compiler used Wed Mar 14 08:09:12 UTC 2007 Johnny Willemsen * ace/config-linux-common.h: * ace/config-lite.h: * include/makeinclude/platform_linux_suncc.GNU: Changes for the Sun Studio 12 Early Access compiler on linux Tue Mar 13 22:04:35 UTC 2007 Steve Huston * tests/unload_libace.mpb: Squish the VC8 warning about deprecated fopen(). Tue Mar 13 19:36:09 UTC 2007 Steve Huston * ace/OS_NS_stdio.cpp (snprintf): Back off use of _vsnwprintf_s() in the wide-char version as was done in the narrow-char version (see Mon Mar 12 17:55:18 UTC 2007 Steve Huston ). Also, in sprintf(), correct the selection of 3 vs 4 arg call for WinCE. Tue Mar 13 18:43:28 UTC 2007 Chad Elliott * bin/tao_orb_tests.lst: Added a new test that only runs when the CORBA_E_COMPACT configuration is enabled. Tue Mar 13 13:21:49 UTC 2007 Olli Savia * include/makeinclude/platform_lynxos.GNU: Removed unnecessary PLATFORM_SSL_* settings. Tue Mar 13 12:13:37 UTC 2007 Steve Huston * bin/MakeProjectCreator/config/vc8_warnings.mpb: For the vc8_avoid_crt_secure_warnings feature, add /wd4996 to the nmake case since it seems to not pay attention to _CRT_NONSTDC_NO_WARNINGS. Also, reversed the default for VC8 SCL secure warnings - they're on by default since Ossama implemented the checked STL iterator stuff. Tue Mar 13 09:57:12 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added new DynUnion_Test Tue Mar 13 00:24:22 UTC 2007 Ossama Othman * bin/MakeProjectCreator/config/vc8nmake.mpb: Subtract /EHsc from the compiler flags instead of /EHs. MPC now uses /EHsc as the correct replacement for /GX. Mon Mar 12 23:44:25 UTC 2007 Ossama Othman * ace/checked_iterator.h (ACE_make_checked_array_iterator): Added documentation for this header. Changed length type from ptrdiff_t to size_t. The length refers to the length of an array, not a pointer difference. Mon Mar 12 21:47:51 UTC 2007 Wallace Zhang * ace/OS_NS_stdio.inl: Fixed compilation errors on WinCE 5.0 builds. Mon Mar 12 22:26:08 UTC 2007 Ossama Othman * ace/checked_iterator.h (ACE_make_checked_array_iterator): New function template that returns a checked iterator if supported by the platform (currently VC8 or better), and a pointer otherwise. * ace/Array_Map.cpp (ACE_Array_Map, grow, operator==): Call new ACE_make_checked_array_iterator<>() iterator factory function to generate destination iterator. Addresses VC8 "C4996" warnings when security related warnings are enabled. * ace/Makefile.am: * ace/ace.mpc: * ace/ace_for_tao.mpc: Added new ace/checked_iterator.h header to the appropriate header lists. Mon Mar 12 21:15:46 UTC 2007 Carlos O'Ryan * tests/Reactor_Notify_Test.cpp: The test was verifying the behavior described in bug 2845. I neglected to fix the test when we fixed the bug. Mostly because I am stupid, but also because the test only worked as expected in a limited number of builds. This change should fix the test problems we are seeing on the scoreboard, but the only thing I can say for sure is: + I managed to reproduce the crash on my machine. + I understand why the test was crashing. + I believe the test was wrong and not the library. + I fixed the test and now valgrind is happy with it. Mon Mar 12 17:55:18 UTC 2007 Steve Huston * ace/OS_NS_stdio.inl (vsnprintf): Back out the attempt to use the new _vsnprintf_s() - it doesn't report the required string length when it exceeds maxlen and we need this info. Mon Mar 12 17:38:26 UTC 2007 Steve Huston * bin/MakeProjectCreator/config/vc8_warnings.mpb: * bin/MakeProjectCreator/config/vc8nmake.mpb: Moved the _CRT_NONSTDC_NO_WARNINGS, _CRT_SECURE_NO_DEPRECATE, and _SCL_SECURE_NO_WARNINGS defs from vc8nmake.mpb to vc8_warnings.mpb so they're all in one place for easy maintenance and also can be switched on and off via MPC features. This effectively reverts the changes to vc8nmake.mpb since: Fri Mar 9 21:04:22 UTC 2007 Steve Huston * ace/config-win32-msvc-8.h: Deleted the pragma disable for warning 4355 (this used in base member initializer list). Added it to bin/MakeProjectCreator/config/vc8_warnings.mpb. This should both unblock it for regular users and block it for the CIDLC build. Mon Mar 12 16:39:25 UTC 2007 Steve Huston * ACE-INSTALL.html: Note that LabVIEW RT targets may require the user to copy Windows DLLs to the target for Debug mode. Mon Mar 12 14:15:12 UTC 2007 Johnny Willemsen * ace/INET_Addr.cpp: Removed not needed return Mon Mar 12 13:54:12 UTC 2007 Johnny Willemsen * bin/tao_other_tests.lst: Don't run bug 2800 regression tests in a ST configuration Mon Mar 12 13:12:12 UTC 2007 Johnny Willemsen * ace/config-vxworks6.3.h: * ace/config-vxworks6.4.h: Only when building a static rtp we enable aio by default. For building shared we need an optional library, see the file below how to enable this * include/makeinclude/platform_vxworks6.3.GNU: If you build rtp with shared library and want to use aio then you need to build the custom AioPx library first, then add aio=1 to your platform_macros.GNU file to enable aio in ACE and link the needed additonal library Mon Mar 12 12:35:12 UTC 2007 Johnny Willemsen * ace/config-vxworks6.3.h: * ace/config-vxworks6.4.h: VxWorks 6.4 does deliver strings.h in kernel mode and strcasecmp/ strncasecmp can't be used in rtp mode, but can be used in kernel mode Mon Mar 12 10:51:38 UTC 2007 Steve Huston * bin/MakeProjectCreator/config/vc8nmake.mpb: Added /D for _CRT_SECURE_NO_DEPRECATE and _SCL_SECURE_NO_WARNINGS to silence those compile warnings; added /wd4290 to silence the warnings "C++ exception specification ignored except to indicate a function is not __declspec(nothrow)". Note that the latter warning can also be remedied by using ACE_THROW_SPEC; this has been done for ACE but not in TAO. Mon Mar 12 01:31:16 UTC 2007 Abdullah Sowayan * examples/DLL/test_dll.cpp: This example was not working under Windows XP when compiled with Visual Studio 2003.NET. The culprit was the following line of code: dll.open (ACE_TEXT("./") ACE_DLL_PREFIX ACE_TEXT("DLL_Today")); We don't need to supply "./" to the open method, since $ACE_ROOT/lib is in DLL search path environment variable (PATH for Windows and LD_LIBRARY_PATH for unix-like systems). Fri Mar 9 21:04:22 UTC 2007 Steve Huston * bin/MakeProjectCreator/config/vc8nmake.mpb: Added /wd4250 (to disable inheritance via dominance warning) and /D _CRT_SECURE_NO_DEPRECATE to disable the warnings about deprecated CRT functions. Fri Mar 9 16:49:03 UTC 2007 Steve Huston * ace/OS_NS_string.inl (strncat): Disable the TR24731/2005 calls to strncat_s() and wcsncat_s() for now. The dest length includes the characters that were already in dest before appending src. To really use the safer functions, the dest max length is needed from the caller. So, we'll either need a new method or an added arg to the current methods. Fri Mar 9 16:27:23 UTC 2007 Steve Huston * ace/OS_NS_stdio.cpp (snprintf): * ace/OS_NS_string.inl (strncat): When using the "safe" calls from TR24731/2005, specify the dest count as the user-specified source length + 1 for the null. This assumes the caller knows the dest buffer is long enough to hold what's specified. Specifying _TRUNCATE as the src count gets the behavior we expect - the specified number of bytes are copied with the assurance a nul terminator is added. This avoids the CRT error handler. Fri Mar 9 16:10:09 UTC 2007 Steve Huston * ace/Log_Msg_NT_Event_Log.{h cpp}: Changed return type of log() from int to ssize_t. Matches changes from: Fri Mar 9 00:53:43 UTC 2007 Steve Huston Thu Mar 9 09:44:14 UTC 2007 Ossama Othman * ace/Time_Value.cpp (operator *=): Reverted bulk of the changes. New implementation will be revisited as time permits. Fri Mar 9 09:42:12 UTC 2007 Johnny Willemsen * include/makeinclude/platform_vxworks6.3.GNU: No need to explicitly link dl when building shared Thu Mar 9 07:44:14 UTC 2007 Ossama Othman * tests/Time_Value_Test.cpp (run_main): Simplified assertions. Rather than test equality of sec() and usec() components separately, just test equality of the ACE_Time_Value objects as a whole. Fri Mar 9 00:53:43 UTC 2007 Steve Huston Changes to resolve or quiet warnings from Visual Studio .NET 2005: * bin/MakeProjectCreator/config/acedefaults.mpb: * bin/MakeProjectCreator/config/vc8_warnings.mpb: Removed the default addition of _CRT_SECURE_NO_DEPRECATE from the MPC VC8 project templates. Many of the places where the changes recommended by Microsoft could be made have been made (see further below). There are still a number of places where the warnings are generated, mostly because ACE wraps "unsafe" methods such as strcpy(), printf(), etc. These can't legitimately be changed. So most of what can (and should) be changed in ACE has been. To keep the warnings quiet without removing them from any user application that includes ACE headers, the acedefaults.mpb base project now inherits from vc8_warnings - vc8_warnings will, by default, silence the warnings we don't really need to see, but users of ACE will still get the warnings when building their apps, unless they take similar steps to silence them (or if they generate projects using the acedefaults base project with MPC). We can still elect to enable all the warnings by setting MPC features to 0 (see vc8_warnings.mpb for features). And this is a good thing to do still since we can improve the security situation by reviewing things flagged as warnings and repair what's needed (not everything flagged will be in need of a fix). * ace/config-win32-msvc-8.h: Removed most of the pragmas that silenced legit warnings from VC8. Added ACE_HAS_TR24731_2005_CRT indicating that there's a C Run-Time implementing C99 draft TR 24731 dated October 2005 detailing security improvements to the C run-time. This macros indicates that the more secure versions of the calls can be used where desireable. Also added a macro, ACE_WIN32_VC8, to easily tell where we need to selectively disable a warning that we can tell by inspection is irrelevant. Such as use of 'this' in an initializer list and we can tell by inspecting the code in question to be sure that the passed pointer isn't used to call a method on an object that's not fully constructed yet. * ace/config-macros.h: When ACE_HAS_TR24731_2005_CRT is defined, define ACE_SECURECRTCALL to make a call and adjust the returned error value to the ACE return value convention. * ace/README: Describe ACE_HAS_TR24731_2005_CRT. * NEWS: Described the removing of the warning preventers and that user code may trigger warnings that weren't showing up in previous ACE versions. * ace/Global_Macros.h: For VC8 with ACE_HAS_EXCEPTIONS, define ACE_THROW_SPEC as throw(...) always. VC8 always treats any throw spec as throw(...) and issues a warning to this effect. This change silences the warnings. The #if intends to set this for VC8 only, guessing that any VC9 will be _MSC_VER 1500. * ace/os_includes/sys/os_types.h: For non-Borland, non-Mingw ACE_WIN32 change mode_t from u_short to int. Matches CRT docs. * ace/Local_Tokens.cpp: * ace/Select_Reactor_Base.inl: * ace/WFMO_Reactor.cpp: * apps/Gateway/Gateway/Event_Channel.cpp: Disable VC8's C4355 warning that 'this' is used in an initializer list; we know, and it's ok. * ace/Select_Reactor_T.cpp (ctor): Rather than pass a reference to 'this' incompletely constructed object to token_, call token_'s reactor() method to set the reactor impl pointer. * ace/Registry.{h cpp}: Rearranged setting of Binding_Iterator in the inherited Iteration_State object. Instead of passing a reference to an object that's not yet fully constructed, call a new iterator() method to set that pointer. * ace/Service_Config.cpp (ctor): Rather than set the TSS pointer in the initializer list before it's complete, call ts_object() to set it within the constructor body. We could also catch a setup error here and throw an exception if ACE ever goes that way. * ace/OS_NS_time.h (ace_timezone): Use the GetTimeZoneInformation() system call to get timezone bias for all Windows platforms and compilers. Much easier and faster than going through the C run-time and will work with new US daylight savings changes automatically. * ace/OS_NS_sys_stat.inl: (umask): * ace/OS_NS_stdio.inl (vsnprintf): * ace/OS_NS_stdio.cpp (sprintf, snprintf): * ace/OS_NS_string.inl (strtok_r, strncat): * ace/OS_NS_string.cpp (strerror): Use "safer" functions when ACE_HAS_TR24731_2005_CRT. * ace/OS_NS_time.{inl cpp}: (asctime_r, ctime_r, gmtime_r, localtime_r): Use new functions when ACE_HAS_TR24731_2005_CRT. NOTE - I purposely did not substitute the secure version for the non _r methods (asctime, ctime, etc.) since that would have to use a local static variable. That defeats the purpose of being able to use a caller-supplied destination. Thus, the places that can substitute a secure function are, and those that can't don't. This will notify users of code that's potentially unsafe and allow them to switch to the safer _r version. We can set the _CRT_SECURE_NO_WARNINGS macro for non-inline builds (where the unsafe versions will be compiled in) and leave the warning in place for inlined builds to put the user on notice that a potentially unsafe method is being used. * ace/UUID.cpp (from_string_i): Use sscanf_s for VC8. * ace/Atomic_Op_T.{cpp inl}: * ace/INET_Addr.cpp: * ace/Filecache.cpp: * ace/Future.cpp: * ace/Map_Manager.inl: * ace/Message_Queue_T.cpp: * ace/Process_Mutex.cpp: * ace/RW_Process_Mutex.cpp: * ace/Stream.cpp: Don't use 'this' in initializer list. Quiets VC8's warnings. * protocols/ace/TMCast/Group.{hpp cpp}: Change 'throw' to ACE_THROW_SPEC to quiet the VC8 warnings. * tests/unload_libace.mpb: Add _CRT_SECURE_NO_WARNINGS for VC8. Else VC8 warns about fopen() and we don't care. * ace/README: Added ACE_LACKS_WIN32_GETPROCESSTIMES. * ace/config-WinCE.h: Added ACE_LACKS_WIN32_SECURITY_DESCRIPTORS and ACE_LACKS_WIN32_GETPROCESSTIMES. * ace/OS_NS_dirent.cpp (opendir_emulation): WinCE offers GetFileAttributes() but documents a failing return value as 0xFFFFFFFF whereas on desktop/server Windows a failed call returns INVALID_FILE_ATTRIBUTES. So on WinCE, define INVALID_FILE_ATTRIBUTES. * ace/OS_NS_sys_resource.inl (getrusage): Don't try GetProcessTimes() on Win32 if ACE_LACKS_WIN32_GETPROCESSTIMES is set. * ace/OS_NS_stdio.inl (cuserid): WinCE returns ENOTSUP for these. * ace/OS_NS_unistd.inl (chdir): If ACE_HAS_WINCE, return ENOTSUP. * ace/Log_Record.cpp (operator<<): Truncate the message data length down to 32 bits (ACE_CDR::ULong) size since that's all the CDR ops and header field can handle. * ace/Log_Msg_Backend.h: * ace/Log_msg_UNIX_Syslog.{h cpp}: * ace/Log_Msg_IPC.h: * ace/Log_Msg_IPC.cpp (log): Changed the return type of log() from int to ssize_t to match what it's returning (byte count or error). Corrected the max_payload_size calculation to match the header that operator<< (above) writes. The MAXLOGMSGLEN isn't always enough now that ACE_Log_Record's data can be extended. Fri Mar 9 00:57:26 UTC 2007 Carlos O'Ryan * ace/Event_Handler.cpp: Fixed bug 2845, the event handler destructor no longer calls purge_pending_notifications. More details about the rationale can be found in the bug report. * NEWS: * docs/ACE-FMM.html: Prominently document the change, since it may catch people unawares. Thu Mar 8 21:27:54 UTC 2007 Steve Huston * ace/String_Base.{h cpp}: Change ACE_String_Base::release_ from int to bool. Thanks to Kelly Hickel for this change. This changes the signatures of the following methods: ACE_String_Base (const CHAR *s, ACE_Allocator *the_allocator = 0, int release = 1); to ACE_String_Base (const CHAR *s, ACE_Allocator *the_allocator = 0, bool release = true); ACE_String_Base (const CHAR *s, size_type len, ACE_Allocator *the_allocator = 0, int release = 1); to ACE_String_Base (const CHAR *s, size_type len, ACE_Allocator *the_allocator = 0, bool release = true); void set (const CHAR * s, int release = 1); to void set (const CHAR * s, bool release = true); void set (const CHAR * s, size_type len, int release); to void set (const CHAR * s, size_type len, bool release); void clear (int release = 0); to void clear (bool release = false); * ace/Configuration.cpp: * ACEXML/common/NamespaceSupport.cpp: * ACEXML/parser/parser/Entity_Manager.inl: * tests/SString_Test.cpp: Changes to string usage to reflect the above signature changes. Changed '0' args to 'false'. * NEWS: Added a description of the above changed methods. Thu Mar 8 21:24:38 UTC 2007 Steve Huston * tests/Cached_Conn_Test.cpp: * tests/Cached_Accept_Conn_Test.cpp: Replace use of ACE_ASSERT with ACE_ERROR. ACE_ASSERTS on single-process targets do really bad things... Thu Mar 8 20:29:12 UTC 2007 Johnny Willemsen * include/makeinclude/platform_vxworks6.3.GNU: More changes to build with shared library support using VxWorks 6.x Thu Mar 8 19:06:12 UTC 2007 Johnny Willemsen * include/makeinclude/platform_vxworks6.3.GNU: Only add dl to LDLIBS when building shared Thu Mar 8 18:06:14 UTC 2007 Ossama Othman * ace/Time_Value.cpp (operator *=): Removed vestigial time value saturation code that does not work correctly with latest implementation. Thu Mar 8 14:21:12 UTC 2007 Johnny Willemsen * ace/config-vxworks6.2.h: * ace/config-vxworks6.3.h: * ace/config-vxworks6.4.h: Don't set ACE_HAS_SVR4_DYNAMIC_LINKING when we do a static rtp build. Thu Mar 8 13:04:12 UTC 2007 Johnny Willemsen * include/makeinclude/platform_vxworks6.3.GNU: Added some initial support for building shared libraries with vxworks 6.3, this is not ready yet, in progress Thu Mar 8 12:17:50 UTC 2007 Chad Elliott * bin/MakeProjectCreator/config/ace_openssl.mpb: * include/makeinclude/wrapper_macros.GNU: Moved the addition of SSL related macros out of wrapper_macros.GNU and into a specific section in ace_openssl.mpb. The result is that the SSL related information is only added to the projects that inherit from ace_openssl (instead of every single project). Thu Mar 8 02:59:02 UTC 2007 Carlos O'Ryan * ace/Notification_Queue.cpp: Fixed implementation of reset() make sure the code works right when there are null event handlers in the queue. This should have been part of the original fixes for bug 2820. * tests/Notification_Queue_Unit_Test.cpp: Add new test cases for the reset() operation, in particular check for null event handlers in the queue. Wed Mar 7 19:07:58 UTC 2007 Iliyan Jeliazkov * ace/Message_Block.cpp: Fixing a problem caused by inadvertently overwriting an external buffer passed in the constructor. It happens when ACE_INITIALIZE_MEMORY_BEFORE_USE is set (as result of setting ACE_HAS_VALGRIND). Thanks to Johnny Willemsen for reporting it. Wed Mar 7 18:44:10 UTC 2007 Chad Elliott * include/makeinclude/wrapper_macros.GNU: Fixed an issue where if ssl wasn't set to zero, it was assumed to be set to non-zero (ignoring the case where it could be set to empty). Wed Mar 7 17:32:51 UTC 2007 Ossama Othman * ace/Time_Value.cpp (operator*=): Altered implementation to avoid converting the microseconds component of the ACE_Time_Value to a fraction of a second. In the case were the floating point type's mantissa width is the same as the width of the time_t (seconds) value, a maxed out ACE_Time_Value seconds component would utilize all bits in the mantissa, leaving no room for a fraction. The microseconds component would end up not contributing to the multiplication. Multiply the seconds and microseconds components separately instead. This also saves us a floating point division, which can be expensive. Wed Mar 7 16:35:04 UTC 2007 Chad Elliott * bin/MakeProjectCreator/config/ace_openssl.mpb: * include/makeinclude/wrapper_macros.GNU: Removed the addition of $(SSL_ROOT)/include and $(SSL_ROOT)/lib from the includes and libpaths project variables and ssl and crypto from the lit_libs settings for gnuace (as was done for automake). This functionality will now come from wrapper_macros.GNU in the form of PLATFORM_SSL_CPPFLAGS, PLATFORM_SSL_LDFLAGS and PLATFORM_SSL_LIBS. If these variables are not set, they will be given defaults based on the SSL_ROOT variable, as long as SSL_ROOT is set and is not set to /usr. * bin/MakeProjectCreator/templates/gnu.mpd: Added support for the compile_flags and linkflags template variables. Wed Mar 7 13:12:12 UTC 2007 Johnny Willemsen * include/makeinclude/platform_vxworks5.5.x.GNU: * include/makeinclude/platform_vxworks6.2.GNU: Simplified these files * include/makeinclude/platform_vxworks6.3.GNU: Added support to use a windows host system for the cross build Wed Mar 7 12:34:12 UTC 2007 Johnny Willemsen * include/makeinclude/wrapper_macros.GNU: Removed setting of ACELIB, in the generated makefiles it is always cleared again * bin/MakeProjectCreator/templates.gnu.mpb: Removed clearing of ACELIB and setting of tao_dont_use_idl_make_rule Wed Mar 7 12:20:12 UTC 2007 Johnny Willemsen * include/makeinclude/rules.local.GNU: Removed check for TAO_IDL_DEP, the generated GNUmakefiles do check for this Wed Mar 7 11:46:46 UTC 2007 Carlos O'Ryan * tests/Bug_2820_Regression_Test.cpp: Use the standard ACE workaround for platforms with a broken std::auto_ptr<>. Wed Mar 7 09:56:12 UTC 2007 Johnny Willemsen * ace/Atomic_Op.cpp: Implemented the single_cpu_* methods for PPC, because of the lack of a multi cpu ppc board we don't have these methods implemented and we don't enable this by default. If you want to use the PPC optimized operations for a single cpu board add ACE_HAS_BUILTIN_ATOMIC_OP to your config.h Wed Mar 7 02:51:50 UTC 2007 William R. Otte * docs/bczar/bczar.html Updated bczar documentation to reflect change in release script. * bin/make_release * bin/make_release.py Removed the old release script and added the new one. Tue Mar 6 23:06:15 UTC 2007 Ossama Othman * ace/Time_Value.cpp (operator*=): Use long double for internal computations if double is not large enough to retain precision of the time_t/suseconds_t values. This will only provide improved behavior with compilers that support double-extended precision floating numbers, i.e. >= 79 bits. Added comments to explain what is being done in the implementation. Tue Mar 6 07:47:12 UTC 2007 Johnny Willemsen * ace/OS.inl: Fixed compile error with VxWorks 6.x using a Windows host Tue Mar 6 15:27:52 UTC 2007 William R. Otte * NEWS: Noted removal of eVC3/4 projects. Tue Mar 6 15:00:00 UTC 2007 Ciju John * tests/INET_Addr_Test.cpp: Add test for ACE_INET_Addr::is_loopback () API. This tests a selected set of addresses to validate API's conformance with RFC 3330. Tue Mar 6 13:21:24 UTC 2007 Douglas C. Schmidt * COPYING: Updated this file to clarify that the ACE license need not be shipped with binary-only releases. Thanks to Michael Kircher and Werner Burger for motivating this. Tue Mar 6 12:43:01 UTC 2007 Chad Elliott * tests/Date_Time_Test.cpp: Handle the rare case where the minute rolls over during the test. Tue Mar 6 04:41:36 UTC 2007 Abdullah Sowayan * examples/DLL/README: README was referring to files (dsp/dsw) used by Visual Studio C++ 6. Updated to refer to files (sln/vcproj) used by VC++ 7.1 or later. Tue Mar 6 02:37:53 UTC 2007 Carlos O'Ryan * Merged changes from the fix_bug_2820 branch. From revision 77533 to revision 77546. Tue Mar 6 02:07:43 UTC 2007 Carlos O'Ryan * ace/Select_Reactor_Base.cpp: Fixed bugs in loop to extract event handlers from notification pipe. * tests/Bug_2820_Regression_Test.cpp: Fixed several problems in the test: - The Event_Handler called on the Reactor on its destructor, but by then the reactor was already destroyed. - Improved debugging messages. - Fixed memory management problems, valgrind is happy now. Mon Mar 5 18:01:36 UTC 2007 Carlos O'Ryan * ace/Notification_Queue.cpp: When deleting the queue we must decrease the reference count on all the event handlers stored there. * ace/Select_Reactor_Base.cpp: When the notification pipe is destroyed we must read the data stored there and release all the event handlers. Otherwise the reference counts are broken. * tests/run_test.lst: Add Bug_2820_Regression_Test to the list. Mon Mar 5 17:16:16 UTC 2007 Carlos O'Ryan * tests/Bug_2820_Regression_Test.cpp: The test was broken, it did not delete the Reactor, so it failed to test what we wanted. Tue Mar 6 00:10:36 UTC 2007 Steve Huston * examples/ASX/UPIPE_Event_Server/event_server.cpp: Use ACE_DEBUG to display the message containing a time_t. Use of the standard iostream operator<< with time_t gives the Intel90 compiler fits. Mon Mar 5 23:09:59 UTC 2007 Steve Huston * ace/Log_Msg.{h cpp}: Added new format specifiers: %b to format ssize_t values %B to format size_t values %: to format time_t values Note that these use, when necessary, printf format specifiers such as ACE_SIZE_T_FORMAT_SPECIFIER and ACE_INT64_FORMAT_SPECIFIER. The printf formatters can't be used portably in ACE_Log_Msg format strings because 1) some of them use %I, which has a different meaning in ACE_Log_Msg already and 2) some of the new printf formats are more complicated that ACE_Log_Msg knows how to deal with in its existing logic to use format modifiers. The new ACE_Log_Msg format specifiers make it easy to portably log these types that can change sizes across platforms. * ace/Log_Record.cpp (dump): * tests/Cached_Allocator_Test.cpp: * tests/High_Res_Timer_Test.cpp: Use the new ACE_Log_Msg format specifiers for size_t and time_t logged values. Mon Mar 5 22:23:01 UTC 2007 Adam Mitz * bin/clean_sems.sh: s/xargs/xargs -r/ The -r switch to xargs prevents the command from being executed when there are no arguments. This will prevent the extra scoreboard output on Linux (when rem_sems is used): usage: ipcrm [ [-q msqid] [-m shmid] [-s semid] [-Q msgkey] [-M shmkey] [-S semkey] ... ] deprecated usage: ipcrm {shm | msg | sem} id ... Mon Mar 5 18:02:42 UTC 2007 Ossama Othman * ace/Basic_Types.h (ACE_UINT64_MAX): Simplified preprocessor conditionals. * ace/RB_Tree.h (ACE_RB_Tree_Iterator_Base): Made copy constructor public instead of private. The assignment operator was already public so there was nothing to be gained by making the copy constructor protected. Addresses Sun Studio 10 warnings. * ace/Time_Value.inl (to_usec): Added support for ACE_LACKS_UNSIGNEDLONGLONG_T case. * ace/UUID.cpp (get_systemtime): In the ACE_LACKS_UNSIGNEDLONGLONG_T case, wrap 64-bit integer constant with ACE_INT64_LITERAL macro. Addresses potential problem where the constant is intepreted as a "long", instead of "long long". Mon Mar 5 17:22:26 UTC 2007 Ciju John * ace/INET_Addr.inl: * ace/INET_Addr.cpp: * ace/QoS/SOCK_Dgram_Mcast_QoS.cpp: RFC 3330 defines loopback as any address with 127.x.x.x. The is_loopback API currently simply compares against the INADDR_LOOPBACK macro. Doing so restricts loopback definition to 127.0.0.1 which is inconsistent with the RFC definition. This change will include any address with 127.x.x.x as loopback. Mon Mar 5 14:16:49 UTC 2007 Olli Savia * tests/run_test.lst: Updated for LynxOS. Mon Mar 5 11:25:12 UTC 2007 Johnny Willemsen * ace/config-hpux-11.00.h: Enabled ACE_HAS_VSFWPRINTF for aCC compiler Mon Mar 5 09:21:12 UTC 2007 Johnny Willemsen * ace/Atomic_Op_Sparc.c: * ace/Atomic_Op.{h,cpp}: Added optimized functions for SunCC on x86. Thanks to Dennis Chernoivanov for reporting this. If you want to enable these, add atomic_ops_sparc=1 to your platform_macros.GNU file Sat Mar 3 17:35:52 UTC 2007 Ossama Othman * ace/Basic_Types.h (ACE_UINT64_MAX): Re-wrap the integer constant with the ACE_UINT64_LITERAL macro to ensure the appropriate type specifier is used. Fri Mar 3 5:01:19 UTC 2007 Ossama Othman * ace/Basic_Types.h (ACE_UINT64_MAX): Reintroduced this constant for the case where 64 bit integers are natively supported. It was inadvertently removed. Removed stray semi-colon in ACE_LACKS_{UNSIGNED}LONGLONG_T case. Fri Mar 2 21:42:54 UTC 2007 Ossama Othman * ace/Basic_Types.h (ACE_UINT64_MAX): Corrected value for the ACE_LACKS_{UNSIGNED}LONG_LONG_T case. (ACE_U64_TO_U32, ACE_CU64_TO_CU32): Converted these macros to inlined functions. (ACE_LONGLONG_TO_PTR): Cast pointer to intptr_t instead of ptrdiff_t before casting to the pointer type. The ptrdiff_t type is meant for pointer differences. * ace/High_Res_Timer.cpp (dump): Drop ACE_CU64_TO_CU32 macro in favor of standard static_cast<>. There was no real use for that macro in this case. * ace/Numeric_Limits.h (ACE_Numeric_Limits): Added a specialization for ACE_U_LongLong. * ace/Sample_History.cpp (dump_samples): Removed unnecessary cast to 32 bit value. Corrected Log_Msg format specifier for unsigned type. * ace/Time_Value.cpp (operator*=): * tests/Time_Value_Test.cpp (run_main): Removed ACE_LACKS_NUMERIC_LIMITS preprocessor conditional. Use ACE_Numeric_Limits<> instead. It is always available. * ace/Time_Value.h (to_usec): * ace/Time_Value.inl (to_usec): Enabled support for this method when ACE_LACKS_LONGLONG_T is defined. * ace/UUID.cpp (get_systemtime): Fixed support for ACE_U_LongLong type. Fri Mar 2 20:48:45 UTC 2007 Steve Huston * ACE-INSTALL.html: Improved the description of using Pharlap ETS and described the ACE_PHARLAP_TESTLOG_TO_FILE config setting. * ace/config-pharlap.h: Add a IN_CLASSD(i) macro that always reports false. Although Pharlap is supposed to support multicast, the IN_CLASSD macro is only added at WinSock 2. * tests/Test_Output.cpp: Allow Pharlap to log to a file by setting ACE_PHARLAP_TESTLOG_TO_FILE in config.h. The default behavior of logging to the system console still stands. Fri Mar 2 18:18:25 UTC 2007 Chad Elliott * bin/MakeProjectCreator/modules/GNUACEWorkspaceCreator.pm: Override the targets method to supply a list of targets that can be used with Eclipse. Fri Mar 2 17:48:09 UTC 2007 Ossama Othman * ace/Truncate.h (Truncator): Fixed one more typo in the ACE_U_LongLong partial specialization of this functor. Also corrected truncation logic. Thu Mar 1 16:30:13 UTC 2007 Douglas C. Schmidt * ace/Log_Msg.h (ACE_Log_Msg): Updated the document to remove the claim that stdout can be used. Thanks to Ian C White for reporting this. Thu Mar 1 13:15:12 UTC 2007 Johnny Willemsen * ace/config-hpux-11.00.h: Removed ACE_HAS_VSWPRINTF, there are dependencies on this define and no time to handle this fully. Thu Mar 1 12:28:12 UTC 2007 Johnny Willemsen * ace/Sock_Connect.cpp: Fixed sun warning Thu Mar 1 12:18:12 UTC 2007 Johnny Willemsen * examples/Reactor/Misc/test_signals_2.cpp: Removed HPUX disabling, compiles fine on our system Thu Mar 1 9:42:12 UTC 2007 Martin Corino * bin/PerlACE/Process_Unix.pm: * bin/PerlACE/ProcessVX_Unix.pm: Some fixes for running VxWorks 6.x RTP tests. Thu Mar 1 08:51:12 UTC 2007 Johnny Willemsen * ace/OS_NS_stdio.{cpp,inl}: Introduced new ACE_HAS_VSWPRINTF that we can set when a platform has this method * ace/config-hpux-11.00.h: Added ACE_HAS_VSWPRINTF Wed Feb 28 21:34:45 UTC 2007 Wallace Zhang * bin/tao_orb_tests.lst: Added two new TAO tests. Wed Feb 28 19:16:12 UTC 2007 Martin Corino * ace/DLL_Manager.cpp: * ace/Parse_Node.cpp: Fixed pointer conversion warnings on OpenVMS. Wed Feb 28 17:44:20 UTC 2007 Ossama Othman * ace/Truncate.h (Truncator): Fixed typo in the ACE_LACKS_UNSIGNEDLONGLONG_T case. s/ACE_UIN32/ACE_UINT32/. Wed Feb 28 13:32:12 UTC 2007 Johnny Willemsen * ace/config-hpux-11.00.h: Moved ACE_HAS_SSIZE_T outside of the compiler specific part, gcc and aCC do have ssize_t. Also moved ACE_HAS_XPG4_MULTIBYTE_CHAR outside of the compiler part. Wed Feb 28 11:09:12 UTC 2007 Johnny Willemsen * ace/OS_NS_unistd.cpp (num_processors): Implemented for HPUX Wed Feb 28 09:58:12 UTC 2007 Johnny Willemsen * bin/ADDIDL.DSM: Moved to TAO * bin/msvc_cidlc.pl: Moved to CIAO * indent_macros.perl: * indent_macros.pl: Renamed extension to .pl Wed Feb 28 09:44:12 UTC 2007 Johnny Willemsen * bin/corba-boolean.perl: * bin/rm_exception_macros.pl: * bin/subst_env.pl: * bin/tao_env.pl: * bin/tao_svcconf.pl: Moved to TAO/bin, no need to ship these with ACE Wed Feb 28 08:14:12 UTC 2007 Johnny Willemsen * ace/DLL_Manager.cpp: Fixed a deadlock that could occur when a dll is loaded which itselfs also loads a dll in its static initialisation. This fixes bugzilla bug 2830. Tue Feb 27 21:18:07 UTC 2007 Ossama Othman * netsvcs/lib/Time_Request_Reply.cpp: * tests/Integer_Truncate_Test.cpp: * tests/CDR_File_Test.cpp: s/ACE_Utils::Truncate/ACE_Utils::truncate_cast/g. The former is deprecated. * tests/High_Res_Timer_Test.cpp: Improved variable types to make use of ACE_Utils::truncate_cast<> unnecessary. Tue Feb 27 18:55:12 UTC 2007 Iliyan Jeliazkov * ace/CDR_Stream.cpp: * ace/Message_Block.cpp: The intent of the change is to better detect (and be able to recover from) a situation when memory allocation fails in constructing or initializing an ACE_Data_Block. It fixes a problem with the change from "Mon Feb 26 19:06:36 UTC 2007" which wasn't accounting for the new datablock size correctly. Tue Feb 27 19:33:13 UTC 2007 Ossama Othman * ace/Truncate.h: Added specializations for ACE_U_LongLong. Added yet another const specialization for BCB6 to work around its inability to use valid specializations with template parameters that are not const. Removed ACE_Utils::Truncate<> altogether. Use ACE_Utils::truncate_cast<> instead. Tue Feb 27 15:18:50 UTC 2007 Chad Elliott * bin/MakeProjectCreator/docs/templates/gnu.txt: Added documentation for template variables used by the gnuace project type. This is used by document_template.pl found in MPC/devtools. Tue Feb 27 14:59:12 UTC 2007 Johnny Willemsen * tests/Process_Manager_Test.cpp: Fixed incorrect initialized variable Tue Feb 27 14:20:26 UTC 2007 Iliyan Jeliazkov * ace/CDR_Stream.cpp: * ace/Message_Block.cpp: Reverting my patch from "Mon Feb 26 19:06:36 UTC 2007". It needs more work. Tue Feb 27 13:57:12 UTC 2007 Johnny Willemsen * ace/High_Res_Timer.cpp: * ace/DLL_Test.cpp: Removed check for KCC, that compiler is not supported anymore Tue Feb 27 11:45:06 UTC 2007 Carlos O'Ryan * tests/Notification_Queue_Unit_Test.cpp: Fixed compilation error in Redhat_Enterprise_Linux_3_Debug_WChar build. Thanks to Johnny Willemsen for letting me know. Tue Feb 27 03:34:40 UTC 2007 Carlos O'Ryan * tests/Notification_Queue_Unit_Test.cpp: Use functions instead of macros to workaround compiler warnings in the HP-UX_11iv2_IA64_aCC_wchar build. The warnings were harmless, but the code is more readable this way in any case. Thanks to Johnny Willemsen for bringing the warnings to my attention. Mon Feb 26 20:58:05 UTC 2007 Iliyan Jeliazkov * ace/Service_Gestalt.cpp (insert): Removed the usage of fprintf to print messages about service descriptors, inserted using static initializers. It is the only way if you want to see what is being inserted before ACE_Log_Msg gets initialized but because it uses stderr directly, it may affect some aplications' expected output. * ace/Service_Repository.cpp (insert): Fixing a defective debug statement. Mon Feb 26 19:06:36 UTC 2007 Iliyan Jeliazkov * ace/CDR_Stream.cpp (grow_and_adjust, clone_nocopy): For large sizes the message block constructor may fail to allocate and/or initialize the necessary ACE_Data_Block instances. The failure to initialize can go unnoticed and may cause an unlimited number of recursive invocations of grow_and_adjust. The change adds a test for the invariant of the newly allocated ACE_Message_Block instance. * ace/Message_Block.cpp (clone_nocopy): When memory is scarce the allocation of ACE_Data_Block may succeed while the initialization can fail. Adding a test, before the message block is declared good. Mon Feb 26 17:17:08 UTC 2007 Adam Mitz * bin/PerlACE/Run_Test.pm: Set up the $PerlACE::CIAO_ROOT variable, just like $PerlACE::TAO_ROOT except for CIAO. * bin/auto_run_tests.pl: Find CIAO tests relative to the $CIAO_ROOT directory. Mon Feb 26 13:56:42 UTC 2007 Johnny Willemsen * bin/ACETAOCIAO.style: Updated to version 1.12 of StyleManager Mon Feb 26 13:03:19 UTC 2007 Chad Elliott * bin/MakeProjectCreator/templates/gnu.mpd: Added code to surround all libraries with a -Wl,--start-group and -Wl,--end-group only if the compiler is g++, we're linking static libraries, it's an executable and the 'link_groups' template variable is set. Mon Feb 26 10:08:19 UTC 2007 Olli Savia * tests/SOCK_Dgram_Bcast_Test.cpp: Pass correct buffer length to ACE_OS::vsnprintf(). Thanks to Yves Alloyer for reporting this and providing initial patch. Mon Feb 26 08:50:13 UTC 2007 Olli Savia * ace/Process.cpp (command_line): Pass correct buffer length to ACE_OS::vsnprintf(). Thanks to Yves Alloyer for reporting this and providing initial patch. Sun Feb 25 17:26:37 UTC 2007 Jaiganesh B * bin/tao_orb_tests.lst: Added the DiffServ policy test's run_test.pl. Sat Feb 24 23:01:16 UTC 2007 Steve Huston * configure.ac: Added ACE_CHECK_LACKS_FUNCS(alphasort) Sat Feb 24 22:51:09 UTC 2007 Steve Huston * ace/config-sunos5.5.h: * ace/config-sunos5.10.h: Add ACE_LACKS_ALPHASORT at Solaris 2.5 and remove it at Solaris 10. Solaris 8 and 9 have an alphasort() but only for use with the BSD cc compiler and with disclaimer that it's not supported for use with system libraries nor with multiple threads. Solaris 10 brings it into supported use. Sat Feb 24 17:03:47 UTC 2007 Steve Huston * examples/NT_Service/main.cpp: * examples/NT_Service/nt_svc.{h cpp}: Don't check for disabling macros until a config file has been included, else it never builds anywhere. Thanks to Johnny Willemsen for pointing this out. Sat Feb 24 09:01:19 UTC 2007 Ossama Othman * ace/config-linux.h: AIO support pulls in the rt library, which pulls in the pthread library. Disable AIO in single-threaded builds. * tests/Recursive_Mutex_Test.cpp: Check if ACE_Recursive_Thread_Mutex::get_nesting_level() is supported before attempting to use it. Sat Feb 24 08:34:08 UTC 2007 Olli Savia * ace/config-openvms.h: * ace/config-qnx-rtp-62x.h: * ace/config-qnx-rtp-pre62x.h: Added ACE_LACKS_ALPHASORT. Fri Feb 23 23:10:17 UTC 2007 Ossama Othman * tests/Recursive_Mutex_Test.cpp (test_recursion_depth): Issue error messages instead of assert()ing. VxWorks builds will hang on a crash. Thanks to Johnny for pointing this out. Fri Feb 23 19:24:30 USMST 2007 Yan Dai * performance-tests/SCTP/SOCK_SEQPACK_srv.cpp: Made run_server() and other functions and structures only compiled when ACE_HAS_SCTP is defined. This should resolve the warning that the run_server() is defined but not used on some platforms. Fri Feb 23 17:47:28 UTC 2007 Carlos O'Ryan * tests/Bug_2815_Regression_Test.cpp: The test should be enabled only if the notification queue is also enabled. Basically purge_pending_notifications() is not supported without the notification queue, and that is the operation we want to test. Fri Feb 23 15:37:03 UTC 2007 Steve Huston * ace/OS_NS_dirent.inl (alphasort): Use a bigger hammer on the casts. Fri Feb 23 10:50:41 UTC 2007 Olli Savia * ace/OS_NS_dirent.inl: Fixed casts again. Hopefully now I got it right. Fri Feb 23 08:56:15 UTC 2007 Olli Savia * ace/OS_NS_dirent.inl: Added casts to fix compile errors. * ace/config-rtems.h: * ace/config-vxworks5.x.h: * ace/config-vxworks6.2.h: * ace/config-vxworks6.3.h: * ace/config-vxworks6.4.h: Added ACE_LACKS_ALPHASORT. Thu Feb 22 18:37:00 UTC 2007 Iliyan Jeliazkov * ace/Service_Config.h: * ace/Service_Config.inl: * ace/Service_Config.cpp: * ace/Service_Gestalt.h: * ace/Service_Gestalt.cpp: Fixing build troubles caused by the different ACE_TSS interface for single-threaded builds. Eliminated the intermediary class (TSS_Resources) and now storing the actual service gestalt pointer in TSS, thus reducig the memory allocation overhead. Thu Feb 22 16:45:30 UTC 2007 Steve Huston * tests/MT_SOCK_Test.cpp: Document the actual cause of what's been observed for some time with some Windows systems exhibiting a "delayed rejection" of connections in excess of the listener's backlog. Thank you to Aleksandar Vukajlovic for citing the full cause with its supporting documentation and explanation. Thu Feb 22 15:59:12 UTC 2007 Steve Huston * ace/config-win32-common.h: Change the comments around ACE_HAS_PENTIUM to more accurately reflect its use and setting. With the switch to QueryPerformanceCounter() for high-res timers on Windows, this setting doesn't have any affect on timers, but it is used in some CDR operations. This resolves Bugzilla #1410. * ace/OS_NS_time.inl (gethrtime): * ace/gethrtime.cpp: Remove the comments directing the reader to a description of using RDTSC on Windows. The comment is long gone, and RDTSC isn't used on Windows/VC any longer anyway. Thu Feb 22 15:07:22 UTC 2007 Ciju John * bin/MakeProjectCreator/modules/GNUACEProjectCreator.pm: * bin/MakeProjectCreator/templates/gnu.mpd: Additions to support DDS specific build rules and versioning. Thu Feb 22 13:56:42 UTC 2007 Johnny Willemsen * ace/Makefile.am: Added Notification_Queue.{h,cpp,inl}: * ace/OS_NS_dirent.inl: Added include when ACE_LACKS_ALPHASORT is defined Thu Feb 22 13:03:01 UTC 2007 Carlos O'Ryan * Merged changes from the bug_2815 branch. From revision 77182 to revision 77315. Tue Feb 20 18:17:00 UTC 2007 Carlos O'Ryan * ace/ace_for_tao.mpc: Add Notification_Queue.cpp to this file too. Thanks to Johnny Willemsen for pointing this out. Mon Feb 19 21:53:58 UTC 2007 Carlos O'Ryan * ace/Intrusive_List.inl: I learned a minute ago that std::swap() was kosher. Use it in favor of ACE_Swap<>. Mon Feb 19 21:47:48 UTC 2007 Carlos O'Ryan * tests/run_test.lst: * tests/Bug_2815_Regression_Test.cpp: Adjusted the number of iterations so the test would pass on my G4-based laptop without optimizations or inlining. The previous numbers were just guesses anyway and I hope the new numbers will result in no failures for the scoreboard. Mon Feb 19 21:29:32 UTC 2007 Carlos O'Ryan * ace/Notification_Queue.cpp: Modified the purging algorithm. The algorithm used a temporary list to store the elements not purged, so basically all nodes were either moved to the free list or to the temporary list. The new algorithm only removes the nodes that needs purging. In the vast majority of the cases this is more efficient because most nodes are not purged. This resulted in a factor of 2 improvement for tests/Bug_2815_Regression_Test, keep in mind that in this program 1/16th of the nodes are purged. So in practice I would expect even better results. I also changed the order in which the free nodes are re-used, I think LIFO order has a better chance of re-using the cache, but I have no evidence or experiments to prove this. * ace/Intrusive_List.h: * ace/Intrusive_List.cpp: Renamed the remove_i() function to unsafe_remove() and promoted its access to "public". The function is not safe to use in general, thus the name, but it resulted in a factor of 2 performance improvement for ACE_Notification_Queue. * tests/Bug_2815_Regression_Test.cpp: Fixed memory leaks (in the test not the library) Mon Feb 19 20:32:34 UTC 2007 Carlos O'Ryan * ace/Notification_Queue.h: * ace/Notification_Queue.inl: * ace/Notification_Queue.cpp: Re-factored to use ACE_Intrusive_List in the implementation. This eliminates memory allocations during additions and removal of elements. Also, many of the operations cannot fail, so the code became smaller. * ace/Intrusive_List.h: * ace/Intrusive_List.inl: Add a swap() member function. Mon Feb 19 04:49:35 UTC 2007 coryan * ace/Notification_Queue.h: * ace/Notification_Queue.cpp: * ace/ace.mpc: New class to encapsulate the implementation of a user-space based notification queue. The code was duplicated in both Select_Reactor.{h,cpp} and Dev_Poll_Reactor.{h,cpp} * tests/tests.mpc: * tests/run_test.lst: * tests/Notification_Queue_Unit_Test.cpp: New unit test for the notification queue class. * ace/Dev_Poll_Reactor.h: * ace/Dev_Poll_Reactor.cpp: * ace/Select_Reactor_Base.h: * ace/Select_Reactor_Base.cpp: Refactored notification queue code to a new class (ACE_Notification_Queue) * tests/Bug_2815_Regression_Test.cpp: Add code to help with debugging. Basically my refactoring above had at least one bug, and this test uncovered it. But it was hard to debug because there was no single breakpoint to detect when the failure condition was triggered. * tests: Add new files to svn:ignore property. Also added some old files. * tests/SSL: * include/makeinclude: Add missing files to svn:ignore Sun Feb 18 21:13:41 UTC 2007 coryan * tests/tests.mpc: * tests/Bug_2815_Regression_Test.cpp: Add new regression test for bug 2815. I have not added the test to the automated test suite because (1) it fails, and (2) it is a test to reproduce performance Thu Feb 22 12:58:42 UTC 2007 Johnny Willemsen * include/makeinclude/compiler.bor: Removed BCB4/5 support Thu Feb 22 11:19:59 UTC 2007 Olli Savia * ace/OS_NS_dirent.h: * ace/OS_NS_dirent.inl: Added ACE_OS::alphasort(). alphasort() is a BSD extension found on Linux as well. * ace/config-lynxos.h: Added ACE_LACKS_ALPHASORT_PROTOTYPE. * ace/config-win32-common.h: Added ACE_LACKS_ALPHASORT. * ace/os_include/os_dirent.h: Added alphasort prototype. * tests/Dirent_Test.cpp: Chaged to use use ACE_OS::alphasort(). Thu Feb 22 09:24:42 UTC 2007 Johnny Willemsen * ace/Truncate.h (Truncate, truncate_cast): Also renamed the Borland part Thu Feb 22 04:57:42 UTC 2007 Ossama Othman * tests/NonBlocking_Conn_Test.cpp (test_connect): Fixed syntax error. s/sizeof ACE_TCHAR/sizeof (ACE_TCHAR)/. Wed Feb 21 21:46:18 UTC 2007 Steve Huston * ace/config-pharlap.h: * ace/config-WinCE.h: * ace/OS_NS_stdio.inl: * ace/OS_NS_unistd.inl: Changed ACE_LACKS_SETFILEPOINTEREX to ACE_LACKS_WIN32_SETFILEPOINTEREX to be consistent with the other ACE_*_WIN32_*things. * ace/config-pharlap.h: * ace/config-WinCE.h: * ace/NT_Service.{h cpp}: * examples/NT_Service/nt_svc.h: * examples/NT_Service/main.cpp: Also added ACE_LACKS_WIN32_SERVICES for Pharlap and CE. This marks a platform that is Windows, but doesn't have Windows services. * ace/Configuration.{h cpp}: * ace/Registry.{h cpp}: Rather than exclude registry-using code using ACE_HAS_PHARLAP, use a new setting ACE_LACKS_WIN32_REGISTRY. * ace/config-pharlap.h: Added ACE_LACKS_WIN32_REGISTRY. * protocols/ace/HTBP/HTBP_Environment.cpp: * examples/Reactor/WFMO_Reactor/Registry_Changes.cpp: * examples/Registry/test_registry_update.cpp: * examples/Registry/test_registry_iterator.cpp: * tests/Config_Test.cpp: Don't try registry stuff if ACE_LACKS_WIN32_REGISTRY is set. * examples/Reactor/WFMO_Reactor/Window_Messages.cpp: Don't try this if ACE_LACKS_MSG_WFMO is set. * apps/JAWS/server/IO.{h cpp}: * apps/JAWS/server/HTTP_Handler.{h cpp}: * apps/JAWS/server/HTTP_Server.{h cpp}: * apps/JAWS2/JAWS/IO.{h cpp}: * apps/JAWS2/JAWS/IO_Acceptor.{h cpp}: * apps/JAWS2/JAWS/IO_Handler.{h cpp}: * apps/JAWS3/jaws3/Asynch_IO.cpp: * examples/APG/Proactor/HA_Proactive_Status.{h cpp}: * examples/Connection/blocking/SPIPE-acceptor.{h cpp}: * examples/Connection/blocking/test_spipe_acceptor.cpp: * examples/Reactor/Proactor/post_completions.cpp: * examples/Reactor/Proactor/simple_test_proactor.cpp: * examples/Reactor/Proactor/test_cancel.cpp: * examples/Reactor/Proactor/test_end_event_loop.cpp: * examples/Reactor/Proactor/test_multiple_loops.cpp: * examples/Reactor/Proactor/test_proactor.cpp: * examples/Reactor/Proactor/test_proactor2.cpp: * examples/Reactor/Proactor/test_proactor3.cpp: * examples/Reactor/Proactor/test_timeout.cpp: * examples/Reactor/Proactor/test_timeout_st.cpp: * examples/Reactor/Proactor/test_udp_proactor.cpp: * examples/Reactor/WFMO_Reactor/Talker.cpp: Decide on whether or not to compile the asynch support classes based on ACE_HAS_WIN32_OVERLAPPED_IO, not ACE_WIN32. ACE_WIN32 is broader than that overlapped I/O-capable ones; Pharlap ETS doesn't do overlapped I/O, for instance. Wed Feb 21 19:27:14 UTC 2007 Ossama Othman * ace/Array_Base.cpp (size): Simplified return value logic. * ace/Auto_Ptr.h (ACE_auto_ptr_reset): Added missing "brief" documentation. * ace/Caching_Strategies_T.inl: * ace/Svc_Handler.cpp (init): Removed unnecessary uses of ACE_UNUSED_ARG macro. Just comment out the parameter name instead. * ace/DLL_Manager.cpp (unload_all): * ace/Functor.inl (operator()): * ace/OS_NS_unistd.h (sbrk): * ace/OS_NS_unistd.inl (sbrk): * ace/Parse_Node.cpp: * ace/Timer_Hash_T.cpp: Corrected type used to store pointer value. s/ptrdiff_t/{u}intptr_t/. * ace/SOCK_Dgram.cpp: Fixed unused argument warning. * ace/String_Base_Const.cpp: Workaround npos constant run-time initialization problem in some mixed shared/static linking conditions by making it easy for the compiler to embed the value of the constant in the object file at compile-time. * ace/Truncate.h (Truncate, truncate_cast): Deprecated ACE_Utils::Truncate() function name in favor of ACE_Utils::truncate_cast(). The latter better reflects what the function template actually does. * ace/Unbounded_Set.cpp: * ace/Unbounded_Set.h: * ace/Unbounded_Set.inl: Implement find() method in terms of begin/end iterators to prevent search from looping indefinitely under some race condition scenarios. Added missing const_iterator factory methods. Added missing const_iterator equality and inequality operators. * ace/OS_NS_unistd.inl: * ace/Time_Value.inl: * ace/Token_Request_Reply.inl: * ace/FILE_IO.cpp: * ace/Filecache.cpp: * ace/High_Res_Timer.cpp: * ace/Log_Record.cpp: * ace/MMAP_Memory_Pool.cpp: * ace/Mem_Map.cpp: * ace/Message_Queue.cpp: * ace/Message_Queue_T.cpp: * ace/Name_Request_Reply.cpp: * ace/Process.cpp: * ace/SOCK_Dgram.cpp: * ace/SOCK_IO.cpp: * ace/Timer_Hash_T.cpp: s/ACE_Utils::Truncate/ACE_Utils::truncate_cast/g. The former is deprecated. From Andrew Schnable * ace/os_include/os_unistd.h (X_OK): Windows has no access() test for X_OK. Use R_OK instead. From Russell Mora * ace/ACE.inl (hex2byte): * ace/Capabilities.h (is_line, is_empty): * ace/Capabilities.cpp (parse, fillent, is_entry, is_empty, is_line): * ace/Get_Opt.cpp (long_option): * ace/OS_NS_ctype.inl (ace_isalnum): Added ACE::ace_isalnum, ACE::ace_isdigit and ACE::ace_islower and changed to use them where appropriate. This prevents the narrow char versions being called with wide chars. * ace/Asynch_IO.cpp: Fixed preprocessor scoping issue in builds where ACE_HAS_AIO_CALLS is undefined and versioned namspaces are enabled. ACE_END_VERSIONED_NAMESPACE_DECL ended up being preprocessed when it should not have. * ace/Configuration_Import_Export.cpp (export_config): Check the return value of fclose() is required because data may have been buffered and will be fflush()d with the fclose(). * ace/Log_Msg.h: * ace/Log_Msg.cpp: Changed message offset to correct type, ptrdiff_t, since it contains a pointer difference value. * ace/Null_Semaphore.h: Added include to get definition of size_t. This is required for static single-threaded builds on Darwin. * ace/OS_NS_stdio.inl (cuserid): Check for unexpected failure of getpwuid function; don't dereference null pointer. * ace/Process.cpp (spawn): On Windows platforms a process handle is a pointer, not an int. Corrected format specifiers accordingly. * ace/RB_Tree.cpp (remove_i): Fixes for Coverity REVERSE_INULL issues. Check for null pointer before dereferencing. * ace/Recursive_Thread_Mutex.cpp (get_nesting_level): Reverted change that altered implementation for IA64 Windows builds. The returned nesting level was incorrect. Use the implementation used by both 32-bit and AMD 64 bit builds. * tests/Recursive_Mutex_Test.cpp (test_recursion_depth): Added test cases for the above problem. * ace/SOCK_Connector.cpp (shared_connect_finish): On Windows, in order to detect when the socket that has been bound to is in TIME_WAIT we need to do the connect (which will always return EWOULDBLOCK) and then do an ACE::handle_timed_complete() (with timeout==0, i.e. poll). This will do a select() on the handle which will immediately return with the handle in an error state. The error code is then retrieved with getsockopt(). Good sockets however will return from the select() with ETIME - in this case return EWOULDBLOCK so the wait strategy can complete the connection. * ace/Service_Manager.cpp (list_services): Type conversion - it is unlikely the name of the service is a string bigger than 2GB (on 32-bit systems) so a static_cast<> is safe here. * ace/Svc_Conf_Lexer.cpp (scan): Changed the loop indexing to allow loop variable to be the same type as variable used to initialise the loop. This avoids conversion warnings. (yylex): Fixed unused variable warning. * ace/UNIX_Addr.inl (set): Correct wide string to narrow string conversion. * ace/config-cxx-common.h: Eliminated copious amounts of warnings. * ace/config-linux.h (ACE_HAS_CLOCK_GETTIME): * ace/config-linux-common.h (ACE_HAS_CLOCK_GETTIME): On linux clock_gettime/clock_settime are not available for single-threaded builds. * ace/os_include/os_dlfcn.h (ACE_DEFAULT_SHLIB_MODE): Added DYNAMIC_PATH to the default flags used to call shl_load() on HP 11.00 (PARISC1.1/32-bit) so that RPATH and SHLIB_PATH are searched to find the requested .sl. * bin/MakeProjectCreator/templates/gnu.mpd (FORCED_IDL_STUBS): PCH source files are also dependent on the IDL compiler generated files. * include/makeinclude/platform_hpux_aCC.GNU (SONAME): HP platform (non-g++) was missing the appropriate LDFLAGS for building versioned shared libraries. Copied from the hpux section of platform_g++_common.GNU. Disable warnings when 64 bit file offsets are enabled in HP 11.11 builds. * include/makeinclude/platform_irix6.x_sgic++.GNU (AR, ARFLAGS): By default IRIX uses a prelinker to instantiate templates, thus archives need to be created via CC (using the -ar option) so that the required templates can be instantiated. This was the cause of the missing symbols problems reported by users of the static libraries. * include/makeinclude/platform_tru64_cxx.GNU: It seems that the default debug level in the Compaq C++ compiler really goes to town when a template is instantiated - it seems to add debug information for every scrap of code that the template instantiation ever see resulting in debug template instantiations that are up to 1000x bigger than their release counterparts. Dialing the level back down to -g1 (-g2 is the default) seems to avoid this issue and we still get debug symbols for the template instantiation itself. * tests/NonBlocking_Conn_Test.cpp (test_connect): Fixed potential buffer overrun error. From Duane Binder * ace/ace_wchar.h: Added ACE_TEXT_ macros needed by some apps. * ace/Process.inl (creation_flags): * ace/Naming_Context.cpp: * ace/Registry_Name_Space.cpp: * ace/Registry_Name_Space.h: Use ACE_USES_WCHAR not UNICODE. Whether ACE uses Windows wchar_t APIs is controlled by ACE_USES_WCHAR and not UNICODE. * include/makeinclude/platform_freebsd.GNU: Remove pthread and semaphore references for singled threaded FreeBSD builds. * include/makeinclude/platform_linux.GNU (LIBS): Prevent single threaded linux builds from linking libpthread (via librt). * include/makeinclude/rules.lib.GNU: Not all static libraries have template instantiations. Test if $(TEMPINCDIR) exists before trying to add objects in an archive library (was a problem on Tru64 with debug builds). Wed Feb 21 14:23:12 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added bug 1592 regression Tue Feb 20 17:56:25 UTC 2007 Douglas C. Schmidt * COPYING: Clarified how the COPYING file need to be included with any code released. Thanks to Scott Mark for helping clarify this. Wed Feb 21 08:35:12 UTC 2007 Johnny Willemsen * ace/Swap.{h,cpp,inl}: Removed, use std::swap instead of ACE_Swap * ace/ace.mpc: * ace/ace_for_tao.mpc: * ace/Makefile.am: Removed Swap.{h,cpp,inl} Wed Feb 21 08:13:12 UTC 2007 Johnny Willemsen * examples/IPC_SAP/SSL_SAP/SSL-server-poll.cpp: * examples/IPC_SAP/SSL_SAP/SSL-server-simple.cpp: * examples/IPC_SAP/SSL_SAP/SSL-server.cpp: Fixed compile problems when wchar is enabled Tue Feb 20 19:15:30 UTC 2007 Iliyan Jeliazkov * tests/run_test.lst: Adding Object_Manager_Flipping_Test to the list of running tests. Tue Feb 20 18:08:47 UTC 2007 Iliyan Jeliazkov * tests/Object_Manager_Flipping_Test.cpp: * tests/tests.mpc: Adding new test verifying that after ACE::fini has been called, the correct pointer value has been stored in TSS for the Service Config. A subsequent call to ACE::init may SEGV otherwise. Thanks to Bjoern Rasmussen for reporting it. Tue Feb 20 17:15:37 UTC 2007 Adam Mitz * ace/config-qnx-rtp.h: * include/makeinclude/platform_qnx_rtp_gcc.GNU: Moved the version detection from the platform_macros file to the config file. This allows us to use the QNX system-defined macro _NTO_VERSION, which works in cross-compile environments. The old method of reading the version number from the "uname -a" output is not compatible with cross-compilation. Tue Feb 20 16:38:24 UTC 2007 William R. Otte * bin/MakeProjectCreator/templates/gnu.mpd * bin/MakeProjectCreator/config/global.features Added logic in gnu template for new XSC custom type in CIAO, and disabled xsc by default in global.features. Tue Feb 20 16:12:57 UTC 2007 Steve Huston * tests/Bug_2820_Regression_Test.cpp: ACEify use of auto_ptr. Tue Feb 20 16:06:12 UTC 2007 Johnny Willemsen * ace/os_include/os_stdlib.h: Simplified the ACE_RANDR_TYPE define setting * ace/OS_NS_stdio.inl: * ace/SOCK_Dgram.cpp: * ace/WFMO_Reactor.cpp: Simplified Borland C++ checks, no need to check for the version number Tue Feb 20 15:54:20 UTC 2007 Chad Elliott * ace/OS_NS_Thread.cpp: Reverted my change to check PTHREAD_STACK_MIN. I just realized that it may not be defined as an integral value (i.e., Solaris). Tue Feb 20 15:46:06 UTC 2007 Chad Elliott * ace/OS_NS_Thread.cpp: Added ACE_UNUSED_ARG(id) for RTEMS and modified code to check that size (which is of type size_t) is less than PTHREAD_STACK_MIN only if PTHREAD_STACK_MIN is greater than zero. * ace/OS_NS_stdlib.cpp: Fixed a compile error on VxWorks where an attempt to cast ACE_thread_t to ACE_RANDR_TYPE failed (since ACE_thread_t is char* on VxWorks). * ace/SOCK_Dgram.cpp: The iov_len element of the iovec struct is unsigned on RTEMS (as it is with Linux and Borland C++), so use the same #if check to avoid code that causes warnings. Tue Feb 20 15:06:04 UTC 2007 Chad Elliott * ace/SOCK_Dgram.cpp: The iov_len element of the iovec struct is unsigned on Linux (as it is with Borland C++), so use the same #if check to avoid code that causes warnings. * ace/Containers_T.cpp: * ace/Timer_Heap_T.cpp: * ace/UPIPE_Stream.cpp: * ace/UUID.cpp: Added static_cast<> to avoid conversion warnings. Tue Feb 20 15:00:12 UTC 2007 Johnny Willemsen * m4/compiler.m4: Fixed support for --enable-symbol-visibility. This fixes bugzilla bug 2771, thanks to Waba for reporting this. Tue Feb 20 14:43:00 UTC 2007 Chad Elliott * ASNMP/asnmp/pdu.cpp: * apps/JAWS2/JAWS/Cache_Manager.cpp: Added a check for self assignment. * ace/INET_Addr.cpp: * tests/Multicast_Test_IPV6.cpp: * examples/Web_Crawler/Command_Processor.cpp: Removed redundant code to avoid "statement is unreachable" warnings. * examples/APG/Naming/Temperature_Monitor.cpp: * examples/APG/Naming/Temperature_Monitor2.cpp: * examples/APG/Streams/Answerer.cpp: * examples/C++NPv1/Logging_Server.cpp: * examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp: * examples/C++NPv1/Thread_Per_Connection_Logging_Server.h: Added ACE_NOTREACHED around unreachable code to avoid "statement is unreachable" warnings. * examples/Connection/blocking/SPIPE-acceptor.cpp: Reverted a bug that was introduced many years ago where threads would be spawned and then the main thread would exit. * performance-tests/SCTP/SOCK_SEQPACK_clt.cpp: * performance-tests/SCTP/SOCK_SEQPACK_srv.cpp: * performance-tests/SCTP/SOCK_STREAM_srv.cpp: Modified to only compile code if ACE_HAS_SCTP is defined. * tests/INET_Addr_Test.cpp: Check addr.get_host_addr() for non-zero before passing it to ACE_OS::strcmp(). Tue Feb 20 03:08:26 UTC 2007 Carlos O'Ryan * tests/tests.mpc: * tests/Bug_2820_Regression_Test.cpp: A new test to demonstrate the problems in bug 2820. Mon Feb 19 23:13:07 UTC 2007 Steve Huston * ace/WFMO_Reactor.h: Clarify description of ok_to_wait(). * ace/WFMO_Reactor.cpp (ok_to_wait): Since WinCE can't use the waitAll arg to atomically wait for both the lock and ok_to_wait event, use a 2-step process to get both individually. This avoids entering wfmo either without the ok_to_wait event or without the lock. Thanks to Craig Johnson for reporting this. Also see: Mon Oct 16 14:24:25 UTC 2006 Steve Huston Mon Feb 19 21:02:55 UTC 2007 Steve Huston * ace/Atomic_Op.inl: * ace/OS_NS_unistd.inl: Adjust code for less-than-modern Win32 systems such as Pharlap ETS to work with 64 bit file offsets and the lack of interlocked exchange-add. Mon Feb 19 18:33:12 UTC 2007 Johnny Willemsen * ace/SSL/SSL_Context.h: Layout change * ace/SSL/SSL_Context.inl (check_context): Set the verify mode correctly, fixes bugzilla bug 2819 Mon Feb 19 12:00:12 UTC 2007 Johnny Willemsen * bin/tao_other_tests.lst: Added Secure_Invocation test, this tests basic functionality but seems to fail at this moment because of some broken support in TAO Fri Feb 16 23:48:55 UTC 2007 Iliyan Jeliazkov * ace/Service_Config.cpp: ACE_INLINE makes sense in .inl files (thanks Steve) Fri Feb 16 13:38:04 UTC 2007 Iliyan Jeliazkov * ace/Dynamic_Service_Base.cpp: * ace/Dynamic_Service_Dependency.cpp: * ace/Service_Config.h: * ace/Service_Config.inl: * ace/Service_Config.cpp: * ace/Service_Gestalt.h: * ace/Service_Gestalt.inl: * ace/Service_Gestalt.cpp: Reverting my changes since "Tue Feb 13 15:35:54 UTC 2007" as it has been causing problems, in particular with borland and no-threads builds. Fri Feb 16 12:47:03 UTC 2007 Steve Huston * ace/Service_Config.cpp (global): Removed the ACE_INLINE qualifier from global() - if it's in the .cpp file, it shouldn't be marked as inline, and isn't marked thusly in the .h file. Fixes unsats. * ace/Service_Config.h: Fixed spelling error. Thu Feb 15 20:04:01 UTC 2007 Ossama Othman * ace/OS_NS_stdlib.cpp (mkstemp_emulation): Include process and thread ID in random number generator seed value. Addresses problems where the same seed value would end up being used for different processes and/or threads, resulting in identical filenames being generated. Addressed potential race condition on platforms that do not inline the value of ACE_Numeric_Limits<>::max(). Thu Feb 15 17:53:53 UTC 2007 Krishnakumar B * THANKS: Check-in rules 101: Check-in files that you have modified. Don't ever forget this basic rule. Thu Feb 15 13:50:58 UTC 2007 Johnny Willemsen * ace/CDR_Stream.h: * ace/Connector.h: * ace/DEV_IO.h: * ace/FIFO_Recv.h: * ace/FIFO_Send.h: * ace/FIFO_Send_Msg.h: * ace/FILE_IO.h: * ace/INET_Addr.h: * ace/Local_Memory_Pool.h: * ace/Malloc_Base.h: * ace/MEM_IO.h: * ace/Mem_Map.h: * ace/MEM_SAP.h: * ace/MEM_Stream.h: * ace/Message_Block.h: * ace/MMAP_Memory_Pool.h: * ace/OS_NS_unistd.h: * ace/Pipe.h: * ace/Process_Manager.h: * ace/QoS/SOCK_Dgram_Mcast_QoS.h: * ace/Service_Types.h: * ace/Shared_Memory_Pool.h: * ace/SOCK_Dgram.h: * ace/SOCK_Dgram_Mcast.h: * ace/SOCK_IO.h: * ace/SOCK_SEQPACK_Association.h: * ace/SPIPE_Stream.h: * ace/Stream.h: * ace/Task.h: * ace/Thread.h: * ace/Thread_Manager.h: * ace/UPIPE_Stream.h: Doxygen improvements Thu Feb 15 13:38:58 UTC 2007 Johnny Willemsen * ace/ATM_Connector.h: * ace/DEV_Connector.h: * ace/DEV_IO.h: * ace/Dev_Poll_Reactor.h: * ace/FILE_Connector.h: * ace/Hash_Map_Manager_T.h: * ace/IOStream_T.h: * ace/LOCK_SOCK_Acceptor.h: * ace/Map_Manager.h: * ace/MEM_IO.h: * ace/MEM_SAP.h: * ace/MEM_Stream.h: * ace/Message_Block.h: * ace/Message_Queue.h: * ace/Message_Queue_T.h: * ace/Module.h: * ace/Proactor.h: * ace/Reactor.h: * ace/Reactor_Impl.h: * ace/Select_Reactor_T.h: * ace/Sig_Handler.h: * ace/Signal.h: * ace/SOCK.h: * ace/SOCK_Acceptor.h: * ace/SOCK_Dgram.h: * ace/SOCK_IO.h: * ace/SOCK_SEQPACK_Acceptor.h: * ace/SOCK_SEQPACK_Association.h: * ace/SPIPE_Connector.h: * ace/Stream.h: * ace/Svc_Handler.h: * ace/Task_Ex_T.h: * ace/Task_T.h: * ace/Thread_Manager.h: * ace/TLI_Acceptor.h: * ace/TLI_Connector.h: * ace/Token.h: * ace/WFMO_Reactor.h: * ace/XTI_ATM_Mcast.h: Doxygen improvements Thu Feb 15 13:12:01 UTC 2007 Chad Elliott * examples/OS/Process/imore.cpp: Removed an enclosing block around code that caused issue with SunCC 5.8. There was a comment claiming that the block was needed so that the ACE_Process_Options could elegantly close the file handlers that it kept, however the ACE_Process_Options object does not close the file handlers. The ACE_Process does the handle closing. Thu Feb 15 05:41:11 UTC 2007 Iliyan Jeliazkov * ace/Service_Gestalt.inl: * ace/Service_Gestalt.cpp: Moved find off-line because it requires a full declaration of ACE_Service_Repository, which is unavailable when the inl file is compiled (inlining on) Wed Feb 14 23:05:16 UTC 2007 Iliyan Jeliazkov * ace/Service_Config.h: * ace/Service_Config.inl: * ace/Service_Config.cpp: * ace/Service_Gestalt.h: * ace/Service_Gestalt.cpp: Moved the ACE_Unmanaged_Singleton usage to the implementation file and eliminated the unnecesary #includes, aiming to reduce the footprint. Wed Feb 14 19:56:14 UTC 2007 Adam Mitz * ace/Service_Config.h: s/TAO_Export/ACE_Export/ Wed Feb 14 19:21:58 UTC 2007 Johnny Willemsen * bin/tao_orb_tests.lst: Added bug 2809 regression Wed Feb 14 17:33:22 UTC 2007 Iliyan Jeliazkov * ace/Service_Config.h: Fixing a compile problem with g++ and borland compiler, which treat members of private nested classes as "hidden" even when the enclosing type has been exported. Wed Feb 14 12:59:58 UTC 2007 Johnny Willemsen * ace/Acceptor.h: Doxygen improvement Wed Feb 14 11:31:58 UTC 2007 Johnny Willemsen * ace/os_include/os_stdio.h: * ace/os_include/os_unistd.h: Move ACE_STDIN, ACE_STDOUT and ACE_STDERR from stdio to unistd file and use STDIN_FILENO, STDOUT_FILENO and STDERROR_FILENO if these are defined yet, this way we use the same defines and header files as in the posix specification. This fixes bugzilla bug 2731. Thanks to Abdul Sowayan for reporting this. * ace/Truncate.h: Added another const specialization for Borland C++ Wed Feb 14 11:03:58 UTC 2007 Johnny Willemsen * tests/Process_Manager_Test.cpp: Added test code from bugzilla 2797, thanks to Yves Alloyer for reporting this. Wed Feb 14 10:06:58 UTC 2007 Johnny Willemsen * bin/tao_other_tests.lst: Added TAO/orbsvcs/tests/Bug_2800_Regression/run_test.pl Wed Feb 14 08:53:58 UTC 2007 Johnny Willemsen * ace/Active_Map_Manager_T.h: * ace/Cache_Map_Manager_T.h: * ace/CDR_Size.h: * ace/CDR_Stream.h: * ace/Configuration.h: * ace/Dev_Poll_Reactor.h: * ace/Future.h: * ace/Future_Set.h: * ace/Hash_Cache_Map_Manager_T.h: * ace/High_Res_Timer.h: * ace/INET_Addr.h: * ace/IO_SAP.h: * ace/IPC_SAP.h: * ace/Map_T.h: * ace/MEM_SAP.h: * ace/Message_Block.h: * ace/Msg_WFMO_Reactor.h: * ace/Multihomed_INET_Addr.h: * ace/Priority_Reactor.h: * ace/Reactor.h: * ace/Reactor_Impl.h: * ace/Recursive_Thread_Mutex.h: * ace/Registry.h: * ace/Semaphore.h: * ace/Shared_Memory_MM.h: * ace/Shared_Memory_SV.h: * ace/SOCK_SEQPACK_Association.h: * ace/Thread_Mutex.h: * ace/Timeprobe_T.h: * ace/WFMO_Reactor.h: Doxygen improvements * ace/Truncate.h: Fixed compile problems with Borland C++, thanks to Ossama for giving a solution. Tue Feb 13 20:33:58 UTC 2007 Krishnakumar B * THANKS: Added gzeleniy@gmail.com to the THANKS list. Tue Feb 13 15:35:54 UTC 2007 Iliyan Jeliazkov * ace/Service_Config.{h,inl,cpp}: Refactoring to simplify the TSS usage, reduce overhead and eliminate a memory leak. * ace/Service_Gestalt.cpp: Fixed a memory leak in Service_Type_Dynamic_Guard dtor. Updated logging. * ace/Dynamic_Service_Base.cpp: * ace/Dynamic_Service_Dependency.cpp: Updated to use SC::instance () to better express the contract for these classes. They simply don't need to be aware whether they are using a global, or a TSS-local gestalt . Tue Feb 13 14:44:06 UTC 2007 Johnny Willemsen * ace/config-vxworks5.x.h: Removed VxWorks 5.4.2 support, we haven't build for it in years Tue Feb 13 12:58:13 UTC 2007 Chad Elliott * ACEXML/common/Exception.h: * ACEXML/common/Exception.cpp: * ACEXML/common/SAXExceptions.h: * ACEXML/common/SAXExceptions.inl: * ACEXML/common/SAXExceptions.cpp: Changed the print() and message() methods to const. There was no reason for thease to be non-const and it makes it possible to catch const references of the ACEXML exception types. Mon Feb 12 20:24:04 UTC 2007 Steve Huston * examples/Logger/Acceptor-server/server_loggerd.cpp (handle_input): * examples/Logger/simple-server/Logging_Handler.cpp (handle_input): Log the host name of the peer, not "", as previous code did; also make sure to put it in ACE_TCHAR form. See also Thu Feb 8 23:09:59 UTC 2007 Douglas C. Schmidt Mon Feb 12 19:20:06 UTC 2007 Johnny Willemsen * ace/CORBA_macros.h: Fixed several macros which where using () around the exception to be thrown Mon Feb 12 18:10:42 UTC 2007 Steve Huston * ace/Name_Request_Reply.cpp (timeout): * netsvcs/lib/Time_Request_Reply.cpp (timeout, decode): Truncate 64-bit time value down to the platform's time_t size. Mon Feb 12 15:18:42 UTC 2007 Chad Elliott * bin/fuzz.pl: Check for the use of ACE_THROW_SPEC in TAO or CIAO code only. It's usage within ACE is still ok in some situations. Mon Feb 12 14:44:06 UTC 2007 Johnny Willemsen * bin/fuzz.pl: Removed old todo's, extended msvc ver check * ace/Codeset_IBM1047.cpp: * ace/Functor.cpp: * ace/Functor.inl: * ace/Hash_Map_Manager_T.cpp: * ace/Hash_Multi_Map_Manager_T.cpp: * ace/Sched_Params.cpp: * ace/Sched_Params.inl: Converted to doxygen style documentation * bin/doxygen-convert-h.pl: Only handle source files Mon Feb 12 14:38:06 UTC 2007 Johnny Willemsen * ace/CORBA_macros.h: Use ACE_LACKS_DEPRECATED_MACROS to make it possible to build without all the emulated exception macros. Will make sure people can't use them anymore in core code without noticing that * ace/Global_Macros.h: Just define ACE_THROW_SPEC again as about a week ago, we need a fuzz check to make sure people don't use this anymore in TAO * ace/Reactor.h: Layout change * tests/Thread_Manager_Test.cpp: Layout change to debug message Mon Feb 12 14:35:25 UTC 2007 Chad Elliott * bin/doxygen-convert-h.pl: Allow filenames or directories. If a directory is passed, it is recursively searched for any file. Mon Feb 12 13:57:06 UTC 2007 Johnny Willemsen * etc/*.doxygen: Removed ACE_THROW_SPEC Sat Feb 10 23:13:06 UTC 2007 Steve Huston * ace/Svc_Conf_Lexer.cpp (ace_yy_buffer_state): Disable VC8 warning C4351 (input_ elements will be default-initialized) for this block. The new behavior is good and desireable, so the warning noise can be silenced in this case. * ace/Timer_Hash_T.cpp (reschedule, schedule_i): When calculating the hash value, truncate the seconds value down to size_t range because the modulo value used to hash is a size_t. Avoids a compile warning about losing data when time_t is larger than size_t. Fri Feb 9 21:40:02 UTC 2007 Krishnakumar B * ace/High_Res_Timer.inl: * ace/High_Res_Timer.cpp: Removed ACE_WIN32 specific code in ACE_High_Res_Timer to reflect the change in the default value of ACE_HR_SCALE_CONVERSION. Removed uses of ACE_HRTIME_CONVERSION and use ACE_Utils::Truncate instead. * ace/OS_NS_time.h: Changed the check for defining ACE_HRTIME_CONVERSION and ACE_HRTIME_TO_U64 from ACE_HRTIME_T_IS_BASIC_TYPE to ACE_LACKS_UNSIGNEDLONGLONG_T. * tests/High_Res_Timer_Test.cpp: Updated the test to use ACE_Utils::Truncate instead of static_cast which caused 0 to be output when time_t is 64-bit. Fri Feb 9 12:19:57 UTC 2007 Chad Elliott * bin/rm_exception_macros.pl: Fixed a bug where the end of the ACE_THROW_SPEC would not be recognized. Thu Feb 8 23:09:59 UTC 2007 Douglas C. Schmidt * examples/Logger/Acceptor-server/server_loggerd.cpp (handle_input): * examples/Logger/simple-server/Logging_Handler.cpp (handle_input): * examples/Logger/client/logging_app.cpp (ACE_TMAIN): Fixed these programs to use the proper (new) formatting for ACE_Log_Record. Thanks to Mouna Seri for reporting this. Thu Feb 8 19:40:30 UTC 2007 Steve Huston * ace/Makefile.am: * ace/ace.mpc: * ace/Time_Request_Reply.{h cpp}: * netsvcs/lib/Makefile.am: * netsvcs/lib/lib.mpc: * netsvcs/lib/Time_Request_Reply.{h cpp}: Moved Time_Request_Reply from ace to netsvcs; it's only used from netsvcs and is only useful as an example of some ACE usage. Real time synch needs should be met using NTP. * ace/Name_Request_Reply.{h cpp}: Changed the sec_timeout_ transfer member from ACE_UINT32 to ACE_UINT64 to accomodate 64-bit time_t. * netsvcs/lib/TS_Clerk_Handler.h: * netsvcs/lib/TS_Server_Handler.h: Time_Request_Reply.h now is included from netsvcs/lib, not ace. * netsvcs/lib/Time_Request_Reply.{h cpp}: Changed the time-passing API arguments in the constructor and time() methods from ACE_UINT32 to time_t. The on-wire protocol buffer fields that carry seconds values between clerk and server were changed from ACE_UINT32 to ACE_UINT64 to accomodate 64-bit time_t values. * NEWS: Explained the user-visible ramifications of these changes. Thu Feb 8 09:23:50 UTC 2007 Olli Savia * ace/MMAP_Memory_Pool.cpp: Removed empty else statement. * include/makeinclude/platform_linux.GNU: Fixed TCL/TK settings Thu Feb 8 08:03:57 UTC 2007 Olli Savia * ace/config-openbsd.h: Removed ACE_LACKS_CLEARERR and added ACE_HAS_3_PARAM_READDIR_R. Wed Feb 7 23:04:49 UTC 2007 Wallace Zhang * bin/tao_other_tests.lst: Added two existing Notify Service examples into the autotest list. Wed Feb 7 21:01:39 UTC 2007 Steve Huston * ACE-INSTALL.html: Added a bit of info about building for National Instruments' LabVIEW RT which uses Pharlap ETS. In particular, if building for LabVIEW's Pharlap, add #define ACE_PHARLAP_LABVIEW_RT to your config.h file along with #include "ace/config-pharlap.h" to adjust for slight differences between stock Pharlap and LabVIEW RT's variant. * ace/config-pharlap.h: Pharlap doesn't supply InterlockedExchangeAdd and doesn't do SetFilePointerEx (needs ACE_LACKS_SETFILEPOINTEREX). * ace/OS_NS_Thread.cpp (sched_params): Don't attempt SetPriorityClass on Pharlap - it's not defined. * ace/OS_NS_Thread.inl (thr_getprio): For Pharlap ETS, use EtsGetTimeSlice() to determine the scheduling policy; if the time slice is anything other than 0, it's multitasking ACE_SCHED_OTHER. * ace/OS_NS_stdio.inl (cuserid): Pharlap doesn't go GetUserName() so make it ACE_NOTSUP_RETURN. (adjust_flock_params): Use SetFilePointer() instead of SetFilePointerEx(), even with 64 bit offsets, if ACE_LACKS_SETFILEPOINTEREX is set. * ace/OS_NS_unistd.inl (pwrite): For Windows platforms without overlapped I/O, don't rely on availability of SetFilePointerEx - platforms that have it also have overlapped I/O. In this case, use SetFilePointer with appropriate call differences for 32/64 bit file offsets. * ace/Pagefile_Memory_Pool.{h inl cpp}: Pharlap doesn't do this class. * ace/Configuration.{h cpp}: * ace/Registry.{h cpp}: The Windows registry is not available in Pharlap. Wed Feb 7 14:44:23 UTC 2007 Chad Elliott * bin/rm_exception_macros.pl: Added the ability to remove the ACE_THROW_SPEC's completely. Tue Feb 6 16:44:00 UTC 2007 Johnny Willemsen * ace/Global_Macros.h: For the moment expand ACE_THROW_SPEC to nothing, we want to deprecate this in TAO and want to see the impact of this on the tests Tue Feb 6 15:36:00 UTC 2007 Steve Huston * ace/Time_Value.inl: Remove the #if around #include "ace/Truncate.h" because ACE_Utils::Truncate is needed in a case that's not in a ACE_HAS_TIME_T_LONG_MISMATCH block. Mon Feb 5 19:58:39 UTC 2007 Steve Huston * ace/Log_Record.cpp (operator>>): Use ACE_Utils::Truncate to truncate the received 64-bit time seconds to time_t. Mon Feb 5 17:16:20 UTC 2007 Steve Huston * ace/config-win32-msvc-8.h: Added a new setting for Windows VC8, ACE_HAS_TIME_T_LONG_MISMATCH, to capture the case that requires a replacement timeval def. See the following for details: Thu Feb 1 23:46:27 UTC 2007 Steve Huston This change isolates just the desktop VC8 compiler for the change, avoiding compilers that don't need it and/or can't deal with the code. * ace/Time_Value.{h inl}: Change code that uses a replacement timeval from ACE_WIN32 to ACE_HAS_TIME_T_LONG_MISMATCH. Fri Feb 2 14:45:00 UTC 2007 Johnny Willemsen * ace/Dynamic_Service_Base.cpp: Fixed compile error Fri Feb 2 14:32:06 UTC 2007 Adam Mitz * bin/auto_run_tests.pl: Modified default behavior (if no -a, -o, -t, -C options are given) so that the script looks for TAO in $TAO_ROOT as well as $ACE_ROOT/TAO and similarly for CIAO. This change supports the peer style layout. Fri Feb 2 14:08:00 UTC 2007 Johnny Willemsen * bin/rm_exception_macros.pl: Also zap ACE_THROW_RETURN from application code, that is also deprecated now Fri Feb 2 12:03:00 UTC 2007 Johnny Willemsen * ace/TSS_T.cpp: Fixed merge error Fri Feb 2 11:43:00 UTC 2007 Simon Massey * include/makeinclude/platform_hpux_aCC.GNU: Supress 3.xx warnings about non-return from functions (Anoyingly it doesn't seem to think that a throw terminates the execution flow of a function.) Fri Feb 2 10:47:55 UTC 2007 Olli Savia * ace/Proactor.cpp: Layout change. * ace/config-lynxos.h: Enabled POSIX_SIG_PROACTOR and made some cleanups. * ace/os_include/net/os_if.h: Removed LynxOS specific include. * tests/Proactor_Test.cpp: * tests/Proactor_Test_IPV6.cpp: Enabled these tests again even if ACE_HAS_BROKEN_SIGEVENT_STRUCT is defined. Fri Feb 2 10:31:14 UTC 2007 Johnny Willemsen * ace/CORBA_macros.h: Removed workaround for ACE_THROW_RETURN for HP aCC compiler. This is only needed for the HP 3.x compiler and we can suppress just this warning. When this has been build on the scoreboard we will zap the usage of this macro. * ace/Dynamic_Service.cpp: * ace/Dynamic_Service_Base.cpp: * ace/Service_Config.{h,cpp}: * ace/Service_Gestalt.cpp: * ace/TSS_T.cpp: Layout changes * ace/Thread_Manager.cpp: Const improvement Fri Feb 2 06:56:14 UTC 2007 Johnny Willemsen * bin/ACETAOCIAO.style: Configuration file for profactor (see www.profactor.co.uk), a code beautifier tool that we want to use to reformat the code in ACE/TAO/CIAO. Fri Feb 2 06:48:40 UTC 2007 Olli Savia * ace/POSIX_CB_Proactor.h: * ace/config-aix-5.x.h: * ace/config-freebsd.h: * ace/config-integritySCA.h: * ace/config-macosx-panther.h: * ace/config-macosx-tiger.h: * ace/config-macosx.h: * ace/config-rtems.h: * ace/config-sunos5.4-g++.h: * ace/config-sunos5.4-sunc++-4.x.h: * ace/config-sunos5.5.h: * ace/config-vxworks5.x.h: * ace/config-vxworks6.2.h: * ace/config-vxworks6.3.h: * ace/config-vxworks6.4.h: Removed unnecessary sigval_t typedef and feature test macro ACE_LACKS_SIGVAL_T Thu Feb 1 23:46:27 UTC 2007 Steve Huston * NEWS: Note change to ACE_Log_Record constructor. * ace/Log_Record.h (constructor): The "long time_stamp" argument was changed from long to time_t to correspond with what's expected. * ace/Log_Record.{h inl cpp}: The secs_ value was changed from ACE_UINT32 to time_t and is handled as a ACE_CDR::LongLong in the CDR insertion and extraction operators. The encode() and decode() methods are deprecated and will be removed in a future version of ACE. * ace/Message_Block.cpp (priority_status): Cast sec() value to suseconds_t size to avoid truncation warnings. * ace/Time_Value.{h inl cpp}: Use a private struct to manage time internally for Windows since Windows' struct timeval uses long values internally instead of the standard time_t/suseconds_t that the class API uses (and POSIX uses in timeval). When a real OS-defined timeval is needed, build it on the fly for Windows. * tests/High_Res_Timer_Test.cpp: When logging ACE_Time_Value-obtained sec/usec values, truncate them down to u_int size. Avoids passing 64-bit values to ACE_Log_Msg when only 32 bits will be taken from the arg vector for a %u format spec. Fixes crashing of this test on Win/VC8. * examples/APG/Naming/Temperature_Monitor.cpp: * examples/APG/Naming/Temperature_Monitor2.cpp: Treat time as an int instead of a time_t; makes the logic easier even though it'll break sometime in 2038. * examples/ASX/UPIPE_Event_Server/event_server.cpp: Unify use of time_t to hold time values from ACE_OS::time(). * examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp: When measuring messages per second, truncate seconds down to a 'long' to avoid truncation warnings at compile time from converting to double. * examples/Reactor/Misc/notification.cpp (svc): Initialize an ACE_Time_Value with secs / 2 instead of getting the seconds, multiplying into usecs, then dividing by 2. Avoids data truncation issues. * examples/Reactor/Multicast/Log_Wrapper.cpp (log_message): Cast result of time() to long to insert in the multicast buffer. Avoids truncation warning. Will stop recording a legit result sometime in 2038 but the receiver isn't looking at the time field. * apps/gperf/src/Gen_Perf.cpp: * ASNMP/tests/test_config.h (randomize): * examples/Reactor/WFMO_Reactor/Multithreading.cpp: * protocols/ace/RMCast/Link.cpp: * protocols/ace/RMCast/Simulator.cpp: * protocols/examples/TMCast/Member/member.cpp: * tests/Auto_Event_Test.cpp: * tests/Handle_Set_Test.cpp: * tests/Recursive_Mutex_Test.cpp: * tests/Semaphore_Test.cpp: * tests/Thread_Mutex_Test.cpp: * tests/Timer_Queue_Test.cpp: Cast time_t to u_int for use as an ACE_OS::srand() seed - we just want some bits, not to fit it back in range with ACE_Utils::Truncate. Thu Feb 1 11:21:32 UTC 2007 Olli Savia * ace/POSIX_CB_Proactor.h: * ace/POSIX_CB_Proactor.cpp: * ace/Proactor.cpp: * ace/config-freebsd.h: * ace/config-lynxos.h: Introduced a new feature test macro ACE_HAS_BROKEN_SIGEVENT_STRUCT to make POSIX_CB_Proactor compile on FreeBSD 7.0-CURRENT. * tests/Proactor_Test.cpp: * tests/Proactor_Test_IPV6.cpp: Modified due to changes above. Thu Feb 1 08:05:14 UTC 2007 Johnny Willemsen * ace/Message_Queue.{h,cpp,inl}: Fixed compile errors in the NT Message Queue when build without threading under windows * ace/OS_NS_Thread.cpp: Layout changes Wed Jan 31 23:06:42 UTC 2007 Adam Mitz * ace/config-qnx-rtp-62x.h: Replaced ACE_LACKS_CUSERID with ACE_HAS_ALT_CUSERID to get the ACE library to provide us with a cuserid() function. * ASNMP/asnmp/asn1.cpp: * apps/drwho/global.h: * examples/IPC_SAP/SOCK_SAP/C-inclient.cpp: * examples/IPC_SAP/SOCK_SAP/C-inserver.cpp: * examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp: * examples/IPC_SAP/SOCK_SAP/CPP-inserver.cpp: * examples/Logger/Acceptor-server/server_loggerd.cpp: * examples/Logger/client/logging_app.cpp: * examples/Logger/simple-server/Logging_Handler.cpp: * examples/Reactor/Multicast/Log_Wrapper.cpp: * examples/Reactor/Multicast/server.cpp: * netsvcs/lib/Name_Handler.cpp: Replaced htonl, htons, ntohl, and ntohs with the appropriate ACE_XTOYZ macro (ACE_HTONL, for example). QNX doesn't have htonl and friends without adding extra #includes. Wed Jan 31 19:03:37 UTC 2007 Chad Elliott * ace/Basic_Types.h: Added constants ACE_FLT_MIN and ACE_DBL_MIN to provide consistency with ACE_FLT_MAX AND ACE_DBL_MAX. * ace/CDR_Base.h: * ace/CDR_Base.cpp: Enhanced the ACE_CDR::LongDouble class which is used on platforms where the native long double is not 16 bytes. Provided operators to support multiplication, division, addition and subtraction as well as conversion to the native long double. An assign() method is also provided to set the value of the ACE_CDR::LongDouble. Since this class will be stored in a union (if used as an IDL type), it can not have a non-trivial constructor or assignment operator. The existing ACE_CDR_LONG_DOUBLE_INITIALIZER macro is used to initialize the LongDouble and a new macro, ACE_CDR_LONG_DOUBLE_ASSIGNMENT, is used to assign to the LongDouble in a portable fashion. * bin/tao_orb_tests.lst: Added the new TAO LongDouble test. Wed Jan 31 17:30:46 UTC 2007 Steve Huston * ace/config-hpux-11.00.h: * include/makeinclude/platform_hpux_aCC.GNU: If stdcpplib=0 is selected at build time, explicitly set -AP compile option to use old C++ libraries and no std namespace. Also set ACE_LACKS_NUMERIC_LIMITS when -AP is set - there is a numeric_limits but not in std. Note that ACE_Array_Map won't build with stdcpplib=0 but pre-ACE-5.5 legacy code will still build. Also removed the HP-UX 10.x remnants and pre-3.0 aC++ support from platform_hpux_aCC.GNU. Could probably safely remove more old compiler support (anything older than 3.56 probably) but I played it a little conservative for now. Wed Jan 31 17:22:11 UTC 2007 Chad Elliott * protocols/examples/examples.mwc: Removed the implicit usage. It is not necessary since each example has a .mpc file. * protocols/examples/example_base.mpb: Removed this file. It was not needed. Wed Jan 31 16:55:23 UTC 2007 Adam Mitz * ace/config-qnx-rtp-62x.h: Removed #define ACE_HAS_INLINED_OSCALLS as it seems to be both rarely used (only oddball platforms like unixware and other QNX versions have it) and also incompatible with inline=0 builds. Also added new config macros ACE_LACKS_STRPTIME (June 2006) and ACE_HAS_3_PARAM_READDIR_R (December 2006). These modifications have been tested with QNX 6.3 but from the docs on the QNX web site I believe they apply to QNX 6.2 as well. Wed Jan 31 15:44:54 UTC 2007 Olli Savia * ace/POSIX_CB_Proactor.h: * ace/POSIX_CB_Proactor.cpp: Use sigval (which is SUS defined) instead of sigval_t. If this change doesn't break on any platform I'll remove unnecessary typedef and related stuff. Wed Jan 31 13:31:14 UTC 2007 Johnny Willemsen * bin/fuzz.pl: Removed obsolete checks for environment macros * ace/Recycable.h: Removed empty brief doxygen tag * ace/OS_NS_unistd.inl: * ace/config-rtems.h: Renamed ACE_HAS_BROKEN_SZ_PAGESIZE to ACE_HAS_NOTSUP_SC_PAGESIZE Wed Jan 31 13:21:14 UTC 2007 Johnny Willemsen * include/makeinclude/platform_hpux_gcc.GNU: Added improvement for GCC on HPUX IA64 Wed Jan 31 10:17:14 UTC 2007 Johnny Willemsen * include/makeinclude/platform_hpux_gcc.GNU: Improved support for GCC on HPUX IA64 Wed Jan 31 07:50:44 UTC 2007 Krishnakumar B * ace/OS_NS_Thread.cpp (ACE_OS::sched_params): Check if the ACE_id_t id that is being passed in is equal to ACE_SELF. If so, pass ::GetCurrentProcessId() to ::OpenProcess() instead of id. ACE_SELF is defined to be 0 on ACE_WIN32; process id 0 is the zero-page process, and we certainly don't want to attempt to set it to REALTIME_PRIORITY_CLASS :-) Wed Jan 31 03:25:51 UTC 2007 Krishnakumar B * ace/High_Res_Timer.h: Removed the special case default definition of ACE_HR_SCALE_CONVERSION to ACE_ONE_SECOND_IN_MSECS on Windows; added a #ifndef around the default definition in case the user wishes to change it. This was done to prevent useless values like 0 showing up in calculations using ACE_Basic_Stats when the time intervals are of the order of a few microseconds. Most of the current machines have a QueryPerformanceCounter() implementation that returns a value of atleast 3 MHz. So it should be completely safe to use the definition of ACE_ONE_SECOND_IN_USECS as the default value for ACE_HR_SCALE_CONVERSION on contemporary x86 machines running Windows. * ace/Message_Block.inl: * ace/Message_Block.cpp: Moved the definition of ACE_Dynamic_Message_Strategy::priority_status() from Message_Block.inl to Message_Block.cpp. It was a big function and it currently has code that causes a warning with VC8 on Windows. Tue Jan 30 19:21:50 UTC 2007 Chad Elliott * ace/Module.h: Removed the trailing comma from the last element of the enum. Tue Jan 30 16:26:43 UTC 2007 William R. Otte * bin/sets-manager.py: Modified to pin the version of MPC at the time of branching/tagging under modules/ACE/MPC. Note: This does not branch OR tag MPC, it simply causes the branch/tag to check out a specific revision of MPC. Tue Jan 30 13:51:32 UTC 2007 Chad Elliott * ace/Module.h: * ace/Module.cpp: There was no way to distinguish between flags not being set and flags to indicate that tasks should not be deleted. I have changed the M_DELETE_NONE enum value to 4 and added a new enum value for use in flag initialization. With this change, the close() method can determine if it needs to use the flags passed in or the internal flags. This fixes Bugzilla #2497. Tue Jan 30 11:35:14 2007 Johnny Willemsen * ace/Countdown_Time.{h,cpp}: Readded destructor, missed that it updates the max_wait_time passed to the constructor Tue Jan 30 10:44:14 2007 Johnny Willemsen * include/makeinclude/wrapper_macros.GNU: When pipes is set to 1, also add -pipe to the CCFLAGS * include/makeinclude/platform_rtems.x_g++.GNU: Set pipes to 1, set DCCFLAGS Tue Jan 30 10:14:14 2007 Johnny Willemsen * ace/Unbounded_Set.cpp: Initialise pointer with 0. * ace/OS_NS_unistd.inl (getpagesize): * ace/config-rtems.h: RTEMS does define _SC_PAGESIZE, but using sysconf with _SC_PAGESIZE results in -1. Added a new define ACE_HAS_BROKEN_SC_PAGESIZE to be able to disable the usage of sysconf (_SC_PAGESIZE) for rtems 4.6, the ::getpagesize() function returns a correct value. Tue Jan 30 09:46:14 2007 Johnny Willemsen * tests/OS_Test.cpp: Added a test for ACE_OS::getpagesize(), it should return a value bigger then 0 else the memory pools don't work Tue Jan 30 00:25:00 UTC 2007 Steve Huston * ace/config-hpux-11.00.h: If the user sets RWSTD_NO_NAMESPACE to keep a lot of the standard C++ library out of the std namespace, avoid setting ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB, and also hoist everything else from std into the global namespace. This is necessary because RW wasn't consistent with using their internal _RWSTD_NO_NAMESPACE and the user-settable RWSTD_NO_NAMESPACE and some things end up in std and some not; so get the ones that ended up in std out to global with the rest of them. Mon Jan 29 19:48:14 2007 Johnny Willemsen * ace/Based_Pointer_Repository.cpp: * ace/Basic_Stats.cpp: * ace/Codeset_Registry.cpp: * ace/FILE.cpp: * ace/FILE_Addr.cpp: Layout improvements Mon Jan 29 19:07:14 2007 Johnny Willemsen * etc/ciao.doxygen: * etc/ciao_config_handlers.doxygen: * etc/ciao_DAnCE.doxygen: Removed CIAO_NAMESPACE Mon Jan 29 18:58:14 2007 Johnny Willemsen * ace/Argv_Type_Converter.cpp: * ace/Asynch_Pseudo_Task.cpp: * ace/Cached_Connect_Strategy_T.cpp: Layout changes, result of experimenting with a code beautifier * ace/config-rtems.h: Improved rtems port, added support for building with threads=0 * ace/config-sco-5.0.0.h: Removed commented out define * ace/config-vxworks6.4.h: putenv fails with VxWorks 6.4 with a pentium target * ace/Countdown_Time.{h,cpp}: Use bool, removed return value from most methods, it was meaningless, removed destructor, not needed to update members in a destructor * ace/Dev_Poll_Reactor.h: Export Token_Guard, fixes bugzilla 2786, thanks to for reporting this * OS_NS_pwd.inl (getpwnam_r): Initialize pointer with 0, simplified this a little * docs/ACE-guidelines.html: Updated example with doxygen style of documentation Sun Jan 28 19:59:14 2007 William R. Otte * ACE version 5.5.6 released. Fri Jan 26 10:03:12 UTC 2007 Johnny Willemsen * ace/Cached_Connect_Strategy_T.cpp * ace/Event_Handler_T.inl * ace/Future.cpp * ace/Future_Set.cpp * examples/C++NPv2/Reactor_Logging_Server_T.cpp Use typename Thu Jan 25 19:59:23 UTC 2007 Chad Elliott * bin/MakeProjectCreator/templates/gnu.mpd: The include of rules.cia.GNU must come before the include of rules.tao.GNU in order for CIAO libraries to have the correct version numbers. * bin/auto_run_tests.pl: Fixed the -l option to use the correct variable name and corrected a bug where the script changed to the wrong directory if the -l option was used. * bin/clean_sems.sh: Support the ngvipc command to clean up semaphores on MacOS X. * bin/rm_exception_macros.pl: A new script to assist users in the removal of all ACE related exception macros. Thu Jan 25 19:24:12 UTC 2007 Johnny Willemsen * etc/*.doxygen: Removed ACE_ENV macros Thu Jan 25 11:00:12 UTC 2007 Johnny Willemsen * ace/CDR_Stream.h: Fixed typo, fixes part of bugzilla bug 2780, thanks to for reporting this. * docs/Download.html: Enabled links for source only packages, they are available from x.5.5 Thu Jan 25 07:50:12 UTC 2007 Johnny Willemsen * ace/Containers_T.cpp: Use typename Wed Jan 24 12:25:12 UTC 2007 Johnny Willemsen * ace/Acceptor.h: * ace/Cached_Connect_Strategy_T.h: * ace/Connector.h: Use typename instead of ACE_TYPENAME which is now deprecated * ace/Codeset_IBM1047.cpp: Added missing includes * ace/config-aix-5.x.h: * ace/config-borland-common.h: * ace/config-cxx-common.h: * ace/config-g++-common.h: * ace/config-hpux-11.00.h: * ace/config-icc-common.h: * ace/config-irix6.x-sgic++.h: * ace/config-linux-common.h: * ace/config-lynxos.h: * ace/config-netbsd.h: * ace/config-suncc-common.h: * ace/config-sunos5.5.h: * ace/config-sunos5.6.h: * ace/config-tandem-nsk-mips-v2.h: * ace/config-tandem-nsk-mips-v3.h: * ace/config-unixware-7.1.0.udk.h: * ace/config-win32-dmc.h: * ace/config-win32-ghs.h: * ace/config-win32-interix.h: * ace/config-win32-msvc-7.h: * ace/config-win32-msvc-8.h: * ace/config-win32-visualage.h: Removed ACE_HAS_TYPENAME_KEYWORD, we do require that each compiler supports typename * ace/config-cygwin32.h: * ace/config-hpux-11.00.h: * ace/config-lynxos.h: * ace/config-macosx-panther.h: * ace/config-macosx-tiger.h: * ace/config-macosx.h: * ace/config-netbsd.h: * ace/config-openvms.h: * ace/config-rtems.h: * ace/config-sunos5.5.h: * ace/config-tandem-nsk-mips-v3.h: * ace/config-tru64.h: Removed ACE_HAS_MEMCHR * ace/config-doxygen.h: Enabled COIOP and Transport Current * ace/config-macros.h: Deprecated ACE_TYPENAME, users can still use it, but in some builds on the daily scoreboard it now can't be used anymore * ace/config-mvs.h: Improved MVS support * ace/Global_Macros.h: * ace/Malloc_T.h: * ace/Map_T.h: * ace/Strategies_T.h: Use typename * ace/Log_Msg.cpp: * ace/os_include/sys/os_types.h: * ace/Task.cpp: Added support for MVS * ace/OS_NS_string.{h,cpp,inl}: Replaced ACE_HAS_MEMCHR with ACE_LACKS_MEMCHR, this way a platform that lacks this method has to set an explicit define, maybe it now shows that all platforms have this method and we don't need an emulation anymore. Also removed several emulations that are not needed anymore * ace/OS_NS_Thread.inl: Layout changes * ace/OS_NS_wchar.{h,cpp}: Changed second argument of wcschr_emulation to wchar_t, that way we don't need a cast anymore * ace/Rtems_init.c: Improved this file * ace/Sock_Connect.cpp: Initialise some pointers with 0 * bin/cvslog: Removed, not needed anymore * bin/fuzz.pl: Removed checks for emulated exception macros * examples/Export/run_test.pl: Use ACE_ROOT * examples/Misc/test_read_buffer.cpp: Initialise pointer with 0 * include/makeinclude/platform_mvs.GNU: Improved support * netsvcs/servers/servers.mpc: Simplified * performance-tests/UDP/udp_test.cpp: * tests/Cached_Allocator_Test.cpp: * tests/Env_Value_Test.cpp: * tests/Handle_Set_Test.cpp: Removed ACE_LACKS_FLOATING_POINT check * tests/Thread_Creation_Threshold_Test.cpp: Added missing \n Mon Jan 22 23:14:56 2007 William R. Otte * ACE version 5.5.5 released. Local Variables: mode: change-log add-log-time-format: (lambda () (progn (setq tz (getenv "TZ")) (set-time-zone-rule "UTC") (setq time (format-time-string "%a %b %e %H:%M:%S %Z %Y" (current-time))) (set-time-zone-rule tz) time)) indent-tabs-mode: nil End: