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: