Fri May 10 13:58:47 UTC 2002 Don Hinton * examples/Web_Crawler/URL_Addr.{cpp,h}: cpp: Added includes of OS.h and ACE.h. h: Added include of Default_Constants.h. * examples/DLL/Newsweek.cpp: * examples/DLL/Today.cpp: Added include of svc_export.h. * ASNMP/asnmp/address.cpp: * ASNMP/asnmp/octet.cpp: * ASNMP/asnmp/oid.cpp: * ASNMP/examples/set/set.cpp: Added include of OS_String.h and os_include/ctype.h. Prefaced some string calls with ACE_OS_String, as needed, and fixed other minor compile errors. Fri May 10 12:42:03 UTC 2002 Don Hinton * examples/IPC_SAP/FIFO_SAP/FIFO-Msg-client.cpp: Changed strlen to ACE_OS_String::strlen and include OS_String.h. Fri May 10 12:19:59 UTC 2002 Don Hinton * netsvc/clients/Naming/Client/Client_Test.cpp: * examples/ASX/Event_Server/Event_Server/Supplier_Router.cpp: * examples/ASX/Event_Server/Event_Server/Consumer_Router.cpp: * examples/Map_Manager/test_hash_map_manager.cpp: Changed assert to ACE_ASSERT. Fri May 10 10:52:50 UTC 2002 Don Hinton * ace/os_include/signal.h: Use extern "C" for typedef of the ACE_Sig_Handler_Ex function pointer if ACE_HAS_SIG_C_FUNC is defined. Thanks to Bala for helping track this down. * ace/*.h: (will fill in the list later..) * apps/gperf/src/Options.h: * apps/gperf/src/Iterator.cpp: * apps/gperf/src/List_Node.cpp: * apps/drwho/Rwho_DB_Manager.h: * apps/drwho/Multicast_Manager.cpp: * apps/JAWS/server/Parse_Headers.cpp: Modified includes to match new structure below. * ace/ace_*.h: * ace/os_include/*.h: * ace/os_include/netinet/in.h: * ace/os_include/sys/*.h: Moved all the new system header wrappers out of the ace directory and into the new os_include directory. Also removed the "ace_", "ace_sys_", and "ace_netinet_" prefixes and used the standard directory stucture instead. This should simplify the use and make it easier to understand/maintain. Thanks to Bala and Nanbor for this suggestion. Wed May 8 04:51:12 UTC 2002 Don Hinton * ace/ace_signal.h: Moved sigset_t typedef to before it's used. Tue May 7 09:21:50 UTC 2002 Don Hinton * ace/ace_stdio.h: Commented out ifdef that include cstdio. This was mistakenly copied from config-all.h. If this cleans up the sun builds, it will be removed completely. * ace/Array_Base.inl: Added include of Trace.h. Mon May 6 19:11:05 UTC 2002 Don Hinton * ace/Sched_Params.cpp: Added include of OS.h when ACE_HAS_PRIOCNTL && ACE_HAS_STHREADS are defined. Mon May 6 15:53:39 UTC 2002 Don Hinton * ace/Array_Base.cpp: Added include of OS_Errno.h. * ace/Unbounded_Set.cpp: Added include of Global_Macros.h to pick up the ACE_DES* macros. Mon May 6 09:33:00 UTC 2002 Don Hinton * ace/TLI_Acceptor.cpp: * ace/TLI_Stream.i: * ace/TLI_Connector.cpp: Added include of ACE.h. * ace/Handle_Set.i: Added include of ace_string.h since FD_ZERO seems to use memset on suns. * ace/Sched_Params.cpp: Added include of OS_String.h if ACE_HAS_PRIOCNTL && ACE_HAS_STHREADS are defined. * ace/ace_stdio.h: * ace/ace_limits.h: Moved L_cuserid definition from ace_limits.h to ace_stdio.h; moved IOV_MAX definition form ace_stdio.h to ace_limits.h. * ace/ace_sys_types.h: * ace/ace_signal.h: * ace/Object_Manager_Base.h: Moved sigset_t typedef from ace_sys_types.h to ace_signal.h, and included ace_signal.h in Object_Manager_Base.h to pick up the type. Sat May 4 22:35:23 UTC 2002 Don Hinton * ace/OS.i (sema_destroy): Fixed an ifdef error introduced when PACE was removed. Sat May 4 18:50:25 UTC 2002 Don Hinton * ace/ace_dll.dsp: * ace/ace_lib.dsp: Added Object_Manager_Base.cpp to project files. Fri May 3 08:20:53 UTC 2002 Don Hinton * ace/ace_threads.h: * ace/ace_sys_socket.h: Moved some socket specific includes from ace_threads.h to ace_sys_socket.h, where they belong. Hopefully this will clear up some of the problems on the sun. Thu May 2 18:31:31 UTC 2002 Don Hinton * ace/ace_limits.h: Added ace_sys_param.h before definition of MAXNAMELEN. * ace/ace_stropts.h: Always include stropts.h if ACE_LACKS_STROPTS_H is not defined. Thu May 2 15:51:17 UTC 2002 Don Hinton * ace/Unbounded_Set.cpp: Added OS_Errno.h and Trace.h. * ace/Dump_T.cpp: * ace/Event_Handler_T.i: Added Trace.h. * examples/Mem_Map/file-reverse.cpp: * examples/Misc/test_set.cpp: Added Main_Macros.h. * examples/Reactor/Multicast/Log_Wrapper.cpp: * examples/System_V_IPC/SV_Message_Queues/test.h: Added OS_String.h and prefaced string functions with ACE_OS_String::. * websvcs/lib/URL_Addr.h: Added Default_Constants.h. * wevsvcs/lib/URL_Addr.i: Added OS_String.h and ACE.h. * apps/JAWS/server/HTTP_Server.h: Added svc_export.h. * apps/JAWS/server/HTTP_Request.cpp: Added OS_String.h and used ACE_OS_String. * apps/JAWS/server/Parser_Headers.cpp: Added ace_ctype.h and OS_String.h. And used ACE_OS_String for string functions. Thu May 2 12:00:15 UTC 2002 Don Hinton * ace/OS.h: Uncommented ACE_DEFAULT_MUTEX defs since they are used in the tests. Perhaps they should be moved... * apps/gperf/src/Options.h: Removed Log_Msg.h and OS.h, added config-all.h and ace_sys_types.h. * apps/gperf/src/Gen_Perf.cpp: Added Log_Msg.h. * apps/gperf/src/Key_List.cpp: Added OS_String.h and OS.h. Changed ACE_OS to ACE_OS_String for string functions, e.g., strcmp. * ace/gperf/src/List_Node.cpp: Added Log_Msg.h and ace_ctype.h. * apps/gperf/src/Iterator.cpp: Added include of ace_ctype.h. * apps/gperf/src/Hash_Table.cpp: Added Log_Msg.h and OS_String.h. Changed ACE_OS to ACE_OS_String for string related functions. * apps/gperf/src/Bool_Array.cpp: Added Log_Msg.h and OS_Errno.h. * apps/drwho/Rwho_DB_Manager.h: Added ace_sys_param.h. * apps/drwho/Multicast_Manager.cpp: Added ace_ctype.h and OS_String.h, changed ACE_OS to ACE_OS_String where needed. * apps/drwho/File_Manager.cpp: * apps/drwho/PM_Server.cpp: * apps/drwho/HT_Server.cpp: Added OS_String.h, and used it for string functions. Thu May 2 10:15:22 UTC 2002 Don Hinton * ace/OS.h: Removed commented out/unneeded includes. Removed ACE_HAS_BROKEN_IF_HEADER ifafilt struct declaration that didn't seem to be used. OS.h is now under 2000 lines! It may get below 1500 before it's all over! Thu May 2 09:11:17 UTC 2002 Don Hinton * ace/Init_ACE.cpp: * ace/OS_Thread_Adapter.cpp: * ace/Object_Manager.h: * ace/Signal.i: * ace/Singleton.h: * ace/Thread_Hook.cpp: * ace/Trace.cpp: Fixed includes related to moved classes below. * ace/Object_Manager_Base.{h,cpp}: * ace/OS.{h,cpp,i}: * ace/Makefile Moved ACE_Cleanup*, ACE_Object_Manager_Base, and ACE_OS_Object_Manager from OS.h to new files. * ace/Object_Manager_Base.{h,cpp}: Added new files. Fri Apr 26 12:31:10 UTC 2002 Don Hinton * ace/*.{h,i,cpp}: Moved includes in cpp after include of inline. Reorded includes in *.cpp files so that all includes, except for the corresponding *.h file, come after the conditional *.i include. This makes it easier to determine which headers are required at each level (*.h, then *.i, then *.cpp) and removed a potential difference between inlined and non-inlined builds. Non-inlined builds are much faster, but may mask dependencies if the *.i comes after other includes in the *.cpp file. * ace/CDR_Base.{h,inl}: moved a bunch of cdr specific macros to header. moved Message_Block.h include to the inl and added forward declaration to header.. * ace/Configuration.{h,cpp}: Removed include of ACE.h and Malloc.h from the header and added include of ace_unistd.h to cpp. * ace/String_Base.{h,i}: Moved ACE.h to *.i and added ace_sys_types.h to header. Added other includes to *.i. (in hopes ACE.h can be removed soon.) * ace/Basic_Types.h: removed BYTE_ORDER stuff added ACE_U_ONE_SECOND* macros from ? added ACE_LOFF_T typedefs from ? added hrtime_t typedefs from ? made ACE_HRTIMER_START, etc. enums from ACE_OS macros to reduce interdependancies. removed LPSECURITY_ATTRIBUTES, etc macros to ace_stdio.h removed ssize_t typedef to ace_sys_types.h moved ACE_SIGRTMIN, etc macros here from OS.h moved ACE_RTSIG_MAX here from OS.h but commented them out since they don't appear to be used. Moved file buffer defines here, but probably need to move them to ace_stdio.h later. moved the ACE_align_binary, et al, macros here, but may need to find a better home for them. moved ACE_timer_t typedef here. * ace/Based_Pointer_T.cpp: Removed ACE_TRACEX macro and included Trace.h instead. * ace/Asynch_IO.h: Adjusted includes to take advantage of the new "ace_*.h" file * ace/DLL.{h,cpp}: removed include of ACE.h and added OS.h and Lib_Find.h in cpp removed OS.h from h and added ACE_export.h, ace_dlfcn.h and Global_Macros.h * ace/Date_Time.{h,i h: removed ACE.h and added ACE_export.h i: added Trace.H, Time_Value.h and OS.h * ace/Default_Constants.h removed ACE_MAX_USERID (in config-win32-common.h) * ace/Dirent_Selectory.h: added OS_Dirent.h * ace/Dump.h: removed Synch.h and added ACE_export.h. * ace/Dynamic.{h,i}: h: removed ACE.h added config-all.h and ACE_export.h i: added Trace.h * ace/Event_Handler.h: removed OS.h added ace_signal.h and ace_threads.h * ace/FIFO.h: removed ACE.h added ace_sys_param.h * ace/FIFO_Recv.i: added ACE.h * ace/FIFO_Send.i: added ACE.h * ace/FILE_Addr.{h,cpp}: h: -ace_stdio.h +ace_dirent.h, ace_socket.h, Global_Macros.h cpp: added OS.h * ace/FILE_Connector.{h,i}: h: added Trace.h, Log_Msg.h i: removed Log_Msg.h * ace/FILE_IO.{h,i}: h: -ACE.h i: +ACE.h * ace/FILE_Lock.{h,cpp,inl}: cpp (dump): removed lock_dump() call. h: -OS.h +ace_fcntl.h, changed ACE_OS::ace_flock_t to ace_flock_t. inl: +OS.h * ace/Filecache.cpp: +ace_unistd.h for ACE_WIN32 builds. * ace/Get_Opt.h: -ACE.h * ace/Global_Macros.h: lots of changes... * ace/Handle_Set.{h,cpp}: h,cpp: changed ACE_FD_SET_TYPE to ACE_SELECT_FD_SET_TYPE since it isn't the type that changed, but type used in calls to select. h: moved FD_SET* macros here... * ace/High_Res_timer.{h,i}: h: -OS.h +config-all.h, ACE_export.h, Basic_Types.h, Time_Value.h changed ACE_OS::ACE_HRTIMER* types to int and use ACE_HRTIMER* definitions in ??? i: +Time_Value.h (need to remove this) +OS.h, Trace.h and ACE_HRTIMER* changes * ace/INET_Addr.{h,cpp,i}: h: -ACE.h, +config-all.h, ace_sys_socke.h, Basic_Types.h cpp: +OS_String.h, OS.h i: +Trace.h * ace/IOStream.i: +OS.h * ace/IO_SAP.{h,cpp,i}: h: -Flag_Manip.h, config-all.h, ACE_export.h, ace_sys_types.h cpp: +Flag_Manip.h i: +Trace.h, +OS.h * ace/IPC_SAP.{h,cpp,i}: h: -Flag_Manip.h, +config-all.h, ACE_export.h, ace_sys_types.h cpp: +Flag_Manip.h i: +Trace.h, +OS.h * ace/Log_Msg_NT_Event_Log.cpp: + OS.h * ace/Log_Msg_UNIX_Syslog.h: +syslog.h * ace/Lib_Find.cpp: * ace/Local_Name_Stace.cpp: +ace_unistd.h * ace/Logging_Strategy.h: -Log_Msg.h +fwd decl ACE_Log_Msg * ace/Mem_Map.{h,i}: h: -ACE.h, +config-all.h, ACE_export.h, ace_sys_param.h, ace_sys_mman.h, ace_stdio.h, ace_fcntl.h, Global_Macros.h, Default_Constants.h i: +Trace.h, OS.h * ace/Memory_Pool.cpp: +ace_sys_shm.h * ace/OS.cpp: +ace_time.h removed ace_flock_t, removed remaining PACE ifdef * ace/OS.h: beaucoup changes... * ace/OS.i: ditto... * ace/OS_Dirent.h: -sys/types.h, unistd.h, dirent.h + ace_dirent.h * ace/OS_Log_Msg_Attributes.h: -stdarg.h, stdio.h + ace_stdio.h, moved ACE_OSTREAM_TYPE to ??? * ace/OS_String.inl: moved string ifdefs to ace_string.h and included it. * ace/OS_TLI.h: moved defs of LOCALNAME and REMOTENAME here. * ace/POSIX_Asynch_IO.h: +ace_aio.h * ace/POSIX_Proactor.cpp: removed _SC_AIO_MAX def to ??? * ace/Parse_Node.h: added fwd decl of ACE_Service_Config; * ace/Process.{h,i}: h: - SString.h, +ace_sys_param.h, ace_signal.h, ace_stdio.h, fwd decl ACE_Time_Value i: +ACE.h * ace/RB_Process_Mutex.h: +Default_Constants.h * ace/Registry.h: +ace_stdio.h * ace/SOCK_Dgram.cpp: * ace/SOCK_Dgram_Bcast.cpp: * ace/SOCK_Dgram_Mcast.cpp: +ace_netinet_in.h, ace_sys_ioctl.h * ace/SOCK_Dgram_Mcast.h: moved ip_mreq typedef here. * ace/SString.cpp: removed conditional include of Service_Config.h for ACE_HAS_WINCE. * ace/SV_Message_Queue.h: * ace/SV_Semaphore_Simple.h: * ace/SV_Shared_Memory.h: +ace_sys_ipc.h * ace/Sched_Params.h: -OS.h, +config-all.h, ACE_export.h, Time_Value.h, ace_threads.h; +typedef for ACE_Sched_Priority moved from ?? * ace/Service_Object.{h,cpp,i}: cpp: +Trace.h h: +ace_dlfcn.h i: +ACE.h * ace/Shared_Object.{h,cpp}: cpp: +Trace.h h: -ACE.h, +config-all.h, ACE_export.h, ace_sys_types.h * ace/Sock_Connect.{h,cpp}: h: -OS.h, +ACE_export.h, Basic_Types.h, ace_sys_socket.h cpp: +ace_netinet_in.h, ace_sys_ioctl.h * ace/Stats.cpp: +ace_string.h * ace/Stream.cpp: -Module.h * ace/Synch.{h,cpp,i}: cpp: +ace_sys_mman.h h: -ACE.h, +config-all.h, ACE_export.h, Global_Macros.h i: +OS.h * ace/Synch_T.h: +Global_Macros.h * ace/TTY_IO.{h,cpp}: cpp: +ace_sys_ioctl.h, ace_termios.h h: -OS.h, +config-all.h * ace/Time_Request_Reply.h: +ace_sys_types.h * ace/Timeprobe.cpp: -OS.h * ace/Timer_Heap_T.cpp: +ace_unistd.h * ace/Token.cpp: -Synch_T.h * ace/UNIX_Addr.h: +sys/un.h * ace/Proactor.h: -OS.h, +ACE.h, Synch.h * ace/ace_sys_wait.h: * ace/ace_unistd.h: * ace/ace_string.h: * ace/ace_stdlib.h: * ace/ace_aio.h: * ace/ace_ctype.h: * ace/ace_dlfcn.h: * ace/ace_fcntl.h * ace/ace_netinet_in.h: * ace/ace_new.h: * ace/ace_poll.h: * ace/ace_pwd.h: * ace/ace_sched.h: * ace/ace_signal.h: * ace/ace_stddef.h * ace/ace_sys_ioctl.h: * ace/ace_sys_ipc.h: * ace/ace_sys_select.h: * ace/ace_sys_shm.h: * ace/ace_sys_times.h: * ace/ace_sys_utsname.h: * ace/ace_termios.h: * ace/ace_utime.h: Added additional include wrappers and moved the typedefs, etc., to the appropriate file. * ace/OS.h: * ace/Main_Macros.h: Moved the ACE_MAIN, etc., macros from OS.h to the new file Main_Macros.h. Fri Apr 19 13:42:28 UTC 2002 Don Hinton * ace/ARGV.cpp: * ace/ATM_Stream.cpp: * ace/Addr.cpp: * ace/Array_Base.h: * ace/Array_Base.inl: * ace/Asynch_IO.h: * ace/Asynch_IO_Impl.cpp: * ace/Base_Thread_Adapter.cpp: * ace/Basic_Types.cpp: * ace/Basic_Types.h: * ace/DEV_Addr.cpp: * ace/DEV_Addr.h: * ace/DEV_Addr.i: * ace/DEV_IO.i: * ace/Dirent_Selector.cpp: * ace/Dirent_Selector.h: * ace/Env_Value_T.h: * ace/Env_Value_T.i: * ace/Event_Handler.h: * ace/FILE_Addr.cpp: * ace/FILE_Addr.h: * ace/FILE_Addr.i: * ace/File_Lock.h: * ace/Flag_Manip.cpp: * ace/Flag_Manip.h: * ace/Flag_Manip.i: * ace/Free_List.h: * ace/Handle_Gobbler.h: * ace/Handle_Ops.cpp: * ace/Handle_Ops.h: * ace/Handle_Set.cpp: * ace/Handle_Set.h: * ace/Handle_Set.i: * ace/IOStream.h: * ace/Lib_Find.cpp: * ace/Lib_Find.h: * ace/Log_Msg.cpp: * ace/Log_Msg.h: * ace/Log_Record.h: * ace/Log_Record.i: * ace/Malloc_Base.h: * ace/Name_Request_Reply.cpp: * ace/Name_Request_Reply.h: * ace/OS.h: * ace/OS_Dirent.cpp: * ace/OS_QoS.cpp: * ace/OS_QoS.h: * ace/OS_Thread_Adapter.cpp: * ace/Object_Manager.h: * ace/POSIX_Asynch_IO.h: * ace/Proactor.h: * ace/Proactor_Impl.h: * ace/Process.h: * ace/RW_Process_Mutex.h: * ace/Refcounted_Auto_Ptr.h: * ace/TLI.i: * ace/Thread_Exit.h: * ace/Time_Request_Reply.cpp: * ace/Time_Request_Reply.h: * ace/Trace.h: * ace/Unbounded_Queue.cpp: Adjusted includes by either adding or removing include of OS.h, OS_*.h, ACE.h, Trace.h, ACE_export.h, Log_Msg.h, Global_Macros.h, or one of the new ace_*h headers, etc.... Added appropriate forward declarations, e.g., ACE_Time_Value, where needed. * ace/config-win32-common.h: * ace/config-linux.h: * ace/config-all.h: * ace/Time_Value.h: * ace/Thread.h: * ace/Service_Object.h: * ace/POSIX_Proactor.cpp: * ace/OS_Errno.h: * ace/ace_errno.h: * ace/LSOCK.h: * ace/Handle_Set.h: * ace/Basic_Types.h: * ace/OS.h: * ace/ace*.h: Started moving typedefs/defines out of OS.h and into the "appropriate" files. This is a work in progress. * ace/OS.h: * ace/ace_dirent.h: * ace/ace_errno.h: * ace/ace_limits.h: * ace/ace_psos.h: * ace/ace_semaphore.h: * ace/ace_stdio.h: * ace/ace_stropts.h: * ace/ace_sys_mman.h: * ace/ace_sys_msg.h: * ace/ace_sys_param.h: * ace/ace_sys_resource.h: * ace/ace_sys_sem.h: * ace/ace_sys_signal.h: * ace/ace_sys_socket.h: * ace/ace_sys_stat.h: * ace/ace_sys_types.h: * ace/ace_sys_uio.h: * ace/ace_threads.h: * ace/ace_time.h: Added new suite of files to abstract OS differences. They try to mirror the standard Unix includes and handle the platform differences. Thus, just include ace_sys_types.h instead of sys/types.h. Moved typedefs and defines from OS.h to the appropriate ace_*.h files and included all of them in OS.h for backward compatibility. * ace/ACE.cpp: (missing some ACE_OS_String's) * ace/ACE.h: * ace/ARGV.cpp: * ace/ATM_Acceptor.cpp: * ace/ATM_Addr.cpp: * ace/ATM_QoS.cpp: * ace/ATM_Stream.cpp: * ace/ATM_Stream.i: * ace/Acceptor.cpp: * ace/Basic_Types.cpp: * ace/CDR_Base.cpp: * ace/CDR_Stream.cpp: * ace/CDR_Stream.i: * ace/CE_Screen_Output.cpp: * ace/Capabilities.cpp: * ace/Codeset_IBM1047.cpp: * ace/Configuration.cpp: * ace/Connector.cpp: * ace/DEV_Addr.cpp: * ace/DEV_Addr.i: * ace/Dirent_Selector.cpp: * ace/Env_Value_T.h: * ace/FIFO.cpp: * ace/FILE_Addr.cpp: * ace/FILE_Addr.i: * ace/Filecache.cpp: * ace/Functor.h (comment): * ace/Functor.i: * ace/Get_Opt.cpp: * ace/Handle_Set.cpp: * ace/High_Res_Timer.cpp: * ace/INET_Addr.cpp: * ace/Lib_Find.cpp: * ace/Local_Name_Space.cpp: * ace/Local_Name_Space_T.cpp: * ace/Local_Tokens.cpp: * ace/Local_Tokens.i: * ace/Log_Msg.cpp: * ace/Log_Msg_NT_Event_Log.cpp: * ace/Log_Msg_UNIX_Syslog.cpp: * ace/Log_Record.cpp: * ace/Log_Record.i: * ace/Logging_Strategy.cpp: * ace/MEM_Acceptor.cpp: * ace/MEM_Addr.cpp: * ace/MEM_IO.cpp: * ace/MEM_IO.i: * ace/Malloc.cpp: * ace/Malloc_Allocator.i: * ace/Malloc_T.cpp: * ace/Malloc_T.i: * ace/Mem_Map.cpp: * ace/Memory_Pool.cpp: * ace/Message_Block.cpp: * ace/Module.i: * ace/Name_Space.cpp: * ace/Naming_Context.cpp: * ace/Object_Manager.cpp: * ace/Obstack_T.cpp: * ace/PI_Malloc.cpp: * ace/Parse_Node.cpp: * ace/Process.cpp: * ace/Process.i: * ace/Profile_Timer.cpp: * ace/Registry.cpp: * ace/Remote_Name_Space.cpp: * ace/SOCK_Acceptor.cpp: * ace/SOCK_Dgram.cpp: * ace/SOCK_Dgram_Bcast.cpp: * ace/SOCK_Dgram_Mcast.cpp: * ace/SPIPE_Addr.cpp: * ace/SPIPE_Addr.i: * ace/SString.cpp: * ace/SString.h (comment): * ace/SString.i: * ace/Sched_Params.cpp: * ace/Service_Config.cpp: * ace/Service_Config.i: * ace/Service_Manager.cpp: * ace/Service_Repository.cpp: * ace/Service_Types.cpp: * ace/Sock_Connect.cpp: * ace/Strategies_T.cpp: * ace/Stream.cpp: * ace/Stream_Modules.cpp: * ace/String_Base.cpp: * ace/String_Base.i: * ace/Synch.cpp: * ace/Synch.i: * ace/Synch_T.cpp: * ace/Synch_T.i: * ace/System_Time.cpp: * ace/TLI.cpp: * ace/TLI.i: * ace/TLI_Acceptor.cpp: * ace/TLI_Connector.cpp: * ace/TLI_Stream.cpp: * ace/TTY_IO.cpp: * ace/Thread.i: * ace/Timer_Heap_T.cpp: * ace/Token_Collection.cpp: * ace/Token_Request_Reply.cpp: * ace/Token_Request_Reply.i: * ace/UNIX_Addr.cpp: * ace/UNIX_Addr.i: * ace/UPIPE_Stream.cpp: * ace/gethrtime.cpp: Changed ACE_OS:: to ACE_OS_String::, ACE_OS_Memory::, ACE_OS_TLI::, or ACE_OS_Dirent::, as appropriate, to reflect the current ACE_OS subsetting and reduce the dependancy on OS.h. * ace/INET_Addr.cpp: Removed ACE_LIB_TEXT wrapper around "tcp6" in a strcmp() since protocol is always a char, not an ACE_TCHAR. Also, ACE_HAS_BROKEN_CONDITIONAL_STRING_CAST with (char*), should this be (ACE_TCHAR*) or something else? or be removed? * ace/Log_Msg.h: Removed friend void ACE_OS::cleanup_tss (const u_int) that didn't seem to be needed. * ace/ATM_Stream.cpp: * ace/TP_Reactor.cpp (comment): * ace/Task_T.i: Changed assert to ACE_Assert. * ace/OS.h: * ace/OS.i: * ace/OS_String.h: * ace/OS_String.inl: * ace/Log_Msg.h: * ace/CDR_Base.h: Moved WChar typedef and methods wslen(), wscpy(), wscmp(), and wsncmp() from ACE_OS to ACE_OS_String. Made appropriate changes where they were used. Changed CDR_Base::WChar to use ACE_UINT16 directly instead of having to include OS_String.h. Maybe this really belongs in Basic_Types.h or ace_sys_types.h. * ace/ACE.cpp: * ace/OS.cpp: * ace/OS.i: * ace/OS.h: * ace/OS_Dirent.inl: * ace/OS_Memory.h: * ace/OS_String.inl: * ace/Thread_Manager.cpp: * ace/WFMO_Reactor.cpp: * ace/config-all.h: * ace/config-win32-borland.h: * ace/config-win32-msvc-5.h: * ace/config-win32-msvc-6.h: Removed PACE. * ace/INET_Addr.cpp: * ace/Log_Record.i: * ace/Name_Request_Reply.cpp: * ace/SOCK_Dgram.cpp: * ace/SOCK_Dgram_Mcast.cpp: * ace/Time_Request_Reply.cpp: Changed ntohl, etc..., to ACE_NTOHL, etc... Sat Apr 13 19:28:40 UTC 2002 Don Hinton * ace/Basic_Types.h: Added include of pthread.h to pick up typedef of pthread_key_t. Sat Apr 13 17:16:10 UTC 2002 Don Hinton * examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.h: * examples/ASX/CCM_App/CCM_App.cpp: Added include of svc_export.h. Sat Apr 13 15:42:03 UTC 2002 Don Hinton * tests/DLL_Test.{h,cpp}: * tests/DLL_Test_Impl.{h,cpp}: Added methods to test the the malloc/free and strnew/strdelete methods below. Also removed use auto_ptr and added a destroy method to delete the object within the dll/heap it was allocated. * ace/OS_Memory.{inl,cpp}: Changed malloc(), calloc() realloc(), and free() to be non-inlined to avoid the heap problem on Windows. * ace/ACE.{h,i,cpp}: Changed strnew() to be non-inlined and added strdelete() for the same reason. Sat Apr 13 14:33:12 2002 Johnny Willemsen * ace/Configuration.h: * ace/Containers_T.h: * ace/High_Res_Timer.h: * ace/Object_Manager.h: * ace/Reactor.h: * ace/Reactor_Impl.h: * ace/Select_Reactor_T.h: * ace/WFMO_Reactor.h: Improved doxygen comments. Added @deprecated to methods that are deprecated so that in the doxygen description this is also clearly list. Sat Apr 13 03:32:52 2002 Krishnakumar B * ace/Proactor.h: Moved OS.h and ACE_export.h outside the #ifdef ACE_WIN32. ACE_export.h beacuse the #else part uses it and OS.h because sig_atomic_t is used in one of the dummy class's signatures. If others have other opinions, please fix the case for the #else part also. Fixes Tru64 bustage. Fri Apr 12 19:15:39 2002 Steve Huston * ace/Asynch_Acceptor.cpp (parse_address): Set the entire address (address and port) instead of just the IP address part. Thanks to Alex Libman for this fix. Fri Apr 12 18:00:41 UTC 2002 Don Hinton * ace/Log_Msg.h: Added missing includes. * ace/Basic_Types.h: Removed erroneous ENOMEM definition. Fri Apr 12 10:02:58 2002 Priyanka Gontla * ace/Based_Pointer_T.h: Included ace/Trace.h to fix the compilation errors about undeclared ACE_TRACE. Fri Apr 12 08:56:46 2002 Priyanka Gontla * tests/DLL_Test_Impl.cpp: Included OS_Errno.h to fix the compilation error about undeclared errno. Fri Apr 12 15:03:12 2002 Johnny Willemsen * etc/*.doxygen: Set JAVADOC_AUTOBRIEF to YES. From now on, when there is only javadoc style comments, there first line until the first '.' is used as brief comment. In the brief class description a lof of more methods will have a description. * Timer_Heap_T.h: Change the comment style for method remove_first from doxygen style to javadoc style Fri Apr 12 13:32:12 2002 Johnny Willemsen * ace/WFMO_Reactor.h: * ace/Timer_List_T.h: * ace/Timer_Heap_T.h: * ace/Timer_Hash_T.h: * ace/Timeprobe_T.h: Minor improvements doxygen comments * ace/POSIX_Asynch_IO.h: Doxygen-ized some of the comments Fri Apr 12 00:15:32 2002 Krishnakumar B * include/makeinclude/platform_sunos5_sunc++.GNU: * ace/config-sunos5.5.h: Reverted to status quo. If and when things go fine, I will re-enable them. Too many things breaking currently. Thu Apr 11 20:37:53 2002 Krishnakumar B * ace/OS.i (ftell): * ace/OS.h: Added new wrappers for ftell, fgetpos & fsetpos. * ACEXML/common/FileCharStream.cpp: * ACEXML/common/FileCharStream.h: Implemented the previously unavailable available() call. Thu Apr 11 20:06:41 2002 Steve Huston * examples/C++NPv2/display_logfile.cpp: Spacing/line length changes so it fits on the book pages. Thu Apr 11 18:29:27 2002 Steve Huston * examples/C++NPv2/Makefile: New Makefile to build display_logfile. * examples/C++NPv2/display_logfile.cpp: Finished and debugged on Linux. Thu Apr 11 22:07:40 UTC 2002 Don Hinton * netsvcs/lib/Client_Logging_Handler.cpp: Added missing Log_Record.h include. * tests/Svc_Handler_Test.cpp: Changed ACE_Log_Record::MAXLOGMSGLEN to ACE_MAXLOGMSGLEN. Thu Apr 11 20:04:22 UTC 2002 Don Hinton * ace/ARGV.h: Rolled back the change and readded ACE.h. Too many error down the line to fix. * ace/Sample_History.cpp: Added include of OS.h. * apps/apps/gperf/src/Options.h: Added include of OS.h. Thu Apr 11 14:37:09 2002 Nanbor Wang * ace/config-win32-common.h: Added ACE_LACKS_PARAM_H. Thu Apr 11 18:21:25 UTC 2002 Don Hinton * ace/Basic_Types.h: Added include of to pickup MAXPATHLEN if available and get rid of warning. Thu Apr 11 17:37:20 UTC 2002 Don Hinton * ace/Basic_Types.h: Added missing typedefs for pid_t and ssize-t for WIN32 builds needed for my Log_Msg changes below. Thu Apr 11 14:42:32 UTC 2002 Don Hinton * ace/ARGV.h: Replaced include of ACE.h with config-all.h. * ace/Addr.cpp: * ace/OS_Dirent.cpp: * ace/Trace.cpp: Added include of OS.h. * apps/gperf/src/Bool_Array.cpp: Changed ACE_OS::memset() to ACE_OS_String::memset() and added include of OS_String.h. * tests/Log_Msg_Test.cpp: * examples/Logger/Acceptor-server.cpp: * examples/Logger/simple-server/Logging_Handler.cpp: * examples/Log_Msg/test_callback.cpp: Added includes of Log_Record.h. * ace/Log_Msg.{h,cpp}: Added new method, last_error_adapter(), and changed the ACE_DEBUG, et al, macros to use new method instead of ACE_OS::last_error(). Removed includes of OS.h and Log_Record. Changed ACE_Log_Record::MAXLOGMSGLEN to ACE_MAXLOGMSGLEN. Removed ACE_OS::cleanup_tss friend. * ace/Basic_Types.h: Added definition of MAXPATHLEN and typedef of ACE_thread_t to prevent need to include OS.h in Log_Msg.h above. * ace/Default_Constants.h: * ace/OS.h: Moved definitions of ACE_MAXLOGMSGLEN, ACE_MAXTOKENNAMELEN, and ACE_MAXCLIENTIDLEN here from OS.h. Thu Apr 11 14:26:12 2002 Johnny Willemsen * Timer_Hash_T.h: * Timer_Heap_T.h: * Timer_List_T.h: * Timer_Wheel_T.cpp: * Timer_Wheel_T.h: The timer queue classes schedule timers using absolute time. The describtion in the implementaton files correctly described this, but the header file comment and the argument name where describing that the queues work on delta timers, so corrected this. * Timer_Queue_Adapters.cpp: * Timer_Queue_Adapters.h: Updated the describtion that the schedule method expects an absolute time. Thu Apr 11 13:29:12 2002 Johnny Willemsen * ace/String_Base.h: Fixed some small typo in comment Thu Apr 11 08:30:11 UTC 2002 Don Hinton * ace/OS_String.inl (strnlen): Fixed compile error. Thu Apr 11 08:16:12 2002 Johnny Willemsen * ace/Timer_Queue_T.cpp: Reverted my change of yesterday. Already the copy constructor is called * ace/Task.h: * ace/Timer_Queue_Adapters.h: Fixed some small typos in comment * ace/Capabilities.h: Placed right comment with right method Wed Apr 10 20:00:57 2002 Ossama Othman * ace/Proactor.h: Include "ace/ACE_export.h" to pull in definition of ACE_Export macro. Wed Apr 10 19:53:01 2002 Ossama Othman * ace/Argv_Type_Converter.cpp: Include "ace/OS_Errno.h" to pull in ENOMEM definition. (align_char_with_wchar): Fixed remaining ACE_OS::strcmp() to be ACE_OS_String::strcmp(). Wed Apr 10 19:37:58 2002 Ossama Othman * apps/gperf/src/Bool_Array.h: * apps/gperf/src/Iterator.h: * apps/gperf/src/List_Node.h: No need to include "ace/OS.h". "ace/config-all.h" is enough. Wed Apr 10 19:25:39 2002 Ossama Othman * apps/Gateway/Gateway/Config_Files.cpp (read_entry): Use "unsigned short" instead of the "u_short" typedef to avoid including "ace/OS.h". * apps/Gateway/Gateway/Gateway.h: * apps/Gateway/Gateway/Event_Channel.h: * apps/Gateway/Gateway/Options.h: * apps/Gateway/Peer/Options.h: * examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.h: * examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.h: * examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.h: * examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.h: * examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.h: * examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.h: * examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.h: * examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.h: * examples/Service_Configurator/IPC-tests/server/Handle_Timeout.h: * examples/Service_Configurator/Misc/Timer_Service.h: * netsvcs/clients/Naming/Client/Client_Test.h: * netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h: * tests/DLL_Test_Impl.cpp: Include "ace/svc_export.h" to pull in ACE_Svc_Export macro. Wed Apr 10 18:57:11 2002 Ossama Othman * netsvcs/lib/Client_Logging_Handler.h: * netsvcs/lib/Name_Handler.h: * netsvcs/lib/Server_Logging_Handler.h: * netsvcs/lib/TS_Clerk_Handler.h: * netsvcs/lib/TS_Server_Handler.h: Include "ace/svc_export.h" to pull in ACE_Svc_Export macro. Wed Apr 10 19:37:12 2002 Krishnakumar B * ace/config-g++-common.h: Fixed a missing #define. This should fix the Lynx PPC build. Wed Apr 10 17:23:09 2002 Ossama Othman * ace/Auto_IncDec_T.h: Include "ace/Global_Macros.h" to pull ACE_UNIMPLEMENTED_FUNC macro definition. Wed Apr 10 19:28:27 2002 Steve Huston * examples/C++NPv2/display_logfile.cpp: First cut at the C++NPv2 Streams chapter code for displaying a logfile written from any C++NPv1 or C++NPv2 logging daemon. Wed Apr 10 17:38:31 2002 Steve Huston * ace/README: New config macros ACE_HAS_STRNLEN and ACE_HAS_WCSNLEN. * ace/OS_String.{h inl}: New method ACE_OS_String::strnlen finds the length of a string with a specified maximum length. Mimicks the GNU strnlen(3) and wcsnlen(3) functions. * ace/config-linux-common.h: Added ACE_HAS_STRNLEN and ACE_HAS_WCSNLEN if _GNU_SOURCE is defined, else glibc headers doesn't declare them. Wed Apr 10 11:16:57 2002 Ossama Othman * ace/Addr.h (hash): * ace/Addr.i (hash): Use "unsigned long" instead of the "u_long" typedef to avoid including "ace/OS.h". Wed Apr 10 11:07:42 2002 Ossama Othman * ace/Method_Request.h: Fixed remaining "u_long" to "unsigned long" change. Wed Apr 10 11:04:56 2002 Ossama Othman * ace/Array_Base.h: Include "ace/Global_Macros.h" to pull in the ACE_DES_* macros that required by the inlined ACE_Array_Base destructor. Wed Apr 10 11:01:56 2002 Ossama Othman * ace/Global_Macros.h: * ace/OS.h: Moved ACE_DES_* macros to Global_Macros.h. This allows some sources to avoid including ace/OS.h. Wed Apr 10 10:54:58 2002 Ossama Othman * ace/OS.h: * ace/Time_Value.h: Moved "time" related includes from OS.h to Time_Value.h. Fixes build problems on Unix platforms. Wed Apr 10 10:40:36 2002 Ossama Othman Inter-header dependency reductions: * ace/Auto_IncDec_T.h: * ace/Auto_Ptr.h: * ace/Based_Pointer_T.h: * ace/Bound_Ptr.h: * ace/Cached_Connect_Strategy_T.h: * ace/Cache_Map_Manager_T.h: * ace/Caching_Strategies_T.h: * ace/Caching_Utility_T.h: * ace/Capabilities.h: * ace/Cleanup_Strategies_T.h: * ace/Containers_T.h: * ace/CORBA_macros.h: * ace/Dynamic_Service.h: * ace/Env_Value_T.h: * ace/Managed_Object.h: * ace/Map.h: * ace/Map_Manager.h: No need to include "ace/OS.h". "ace/config-all.h" is enough. * ace/Asynch_Acceptor.h: No need to include "ace/OS.h". "ace/Default_Constants.h" is enough. * ace/Addr.h: * ace/Arg_Shifter.h: * ace/Argv_Type_Converter.h: * ace/Based_Pointer_Repository.h: * ace/Containers.h: * ace/Containers.cpp: * ace/Init_ACE.h: * ace/Trace.h: No need to include "ace/OS.h". "ace/ACE_export.h" is enough. * ace/RB_Tree.h: No need to include "ace/OS.h". "ace/Global_Macros.h" is enough. * ace/Global_Macros.h: Moved ACE_GUARD macros to this file, meaning that it is no longer necessary to include "ace/OS.h" just to get those macros. This should save on pre-processing times for some sources. Include "ace/OS_Export.h" to pull in the ACE_OS_Export macro definitions. * ace/Arg_Shifter.cpp: * ace/Argv_Type_Converter.cpp: Include "ace/OS_String.h" to pull in static string manipulation methods. Changed all ACE_OS string method calls to ACE_OS_String. * ace/Trace.cpp: Minor include file cosmetic tweaks. * ace/Time_Value.h: * ace/Time_Value.inl: * ace/Time_Value.cpp: Moved ACE_Time_Value class and related macros/constants to these files. Files that only need the ACE_Time_Value class declaration need only include this header instead of "ace/OS.h", thus reducing pre-processing times. * ace/OS.h: Moved ACE_Time_Value class and ACE_GUARD macros out of this header. * ace/OS.i: * ace/OS.cpp: Moved ACE_Time_Value methods out of the files into the new Time_Value.* files. * ace/Init_ACE.cpp: Use "unsigned int" instead of the "u_int" typedef to avoid including "ace/OS.h". * ace/Hashable.h: * ace/Hashable.cpp: * ace/Method_Request.h: * ace/Method_Request.cpp: No need to include "ace/OS.h". "ace/ACE_export.h" is enough. Use "unsigned long" instead of the "u_long" typedef to avoid including "ace/OS.h". * ace/Proactor.h: No need to include "ace/OS.h" to pull in ACE_Time_Value class declaration. A forward declaration is enough. * ace/Argv_Type_Converter.inl: * ace/CE_Screen_Output.h: Cosmetic changes to improve conformance to our coding style/guidelines. * ace/config-all.h: No need to include "ace/ACE_export.h" and "ace/svc_export.h". They should only be included by headers that need them. Do not include "ace/OS_Errno.h". Fixes a circular dependency. * ace/Copy_Disabled.h: * ace/Dirent.h: * ace/Log_Msg_Backend.h: * ace/Refcountable.h: * ace/Recyclable.h: * ace/String_Base_Const.h: * ace/Thread_Adapter.h: Include "ace/ACE_export.h" to pull in definition of ACE_Export macro. * ace/OS_Export.h: Include "ace/config.h" instead of "ace/config-all.h" to fix a circular include. * ace/OS_Errno.h: No need to include "ace/config.h". It is already included indirectly by "ace/OS_Export.h". * ace/OS_Dirent.h: Include "ace/OS_Errno.h" to pull in errno definitions. * ace/Handle_Ops.h: Include "ace/ACE_export.h" to pull in ACE_Export macro definition. Added missing "#pragma once". * ace/Makefile: * ace/Makefile.bor: Added new Time_Value.* sources to these Makefiles. Wed Apr 10 13:32:15 2002 Johnny Willemsen * ace/Token.h: * ace/Timer_Queue_T.h: Doxygen-ized some of the comments * ace/Select_Reactor_T.cpp: Fixed typo in comment Wed Apr 10 07:44:12 2002 Johnny Willemsen * ace/Timer_Queue_T.cpp: Instead of creating a ACE_Time_Value with the default constructor and immediatly filling it with the assignment operator, create the ACE_Time_Value with the copy constructor * examples/Logger/simple-server/Logging_Acceptor.cpp: * examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.h: * examples/Reactor/Misc/test_signals_2.cpp: Added missing includes of Log_Msg.h. These where caused by the compilation speedup of Don Hinton on April 5th. * ace/Name_Request_Reply.h: Tue Apr 9 22:59:20 2002 Krishnakumar B * ace/config-sunos5.5.h: Added ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES to fix errors. * ace/config-sunos5.6.h: Removed definition of ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION as we turn it on on the command line. Tue Apr 9 19:48:15 2002 Krishnakumar B * include/makeinclude/platform_osf1_4.x_cxx.GNU (LDFLAGS): Moved the -hidden and -non_hidden from LIBS to LDFLAGS. The linker doesn't like it seeing at the end. This fixes the problems with Tru64. Tue Apr 9 12:43:04 2002 Balachandran Natarajan * bin/auto_run_tests.lst: Added POA_BiDir to the list of tests to be run and prevented MT_BiDir from running in minimum_corba builds. Tue Apr 9 11:46:52 2002 Steve Huston * ace/Message_Block.h: Doxygen tweaks to block type enum. Tue Apr 9 11:20:19 2002 Steve Huston * netsvcs/Server_Logging_Handler_T.cpp (handle_logging_record): Moved variable 'count' inside the #if 0 block so it's not flagged as unused. Tue Apr 9 15:02:12 2002 Johnny Willemsen * ace/Containers_T.h: Fixed two small typos * ace/Thread_Manager.h: Doxygen-ized some of the comments Tue Apr 9 03:04:19 2002 Krishnakumar B * include/makeinclude/rules.lib.GNU (VLIB): Ensure that templates in the repository get added to the static library during creation. This build now uses a new variable called TMPINCDIR which points to the template repository from which the templates should be pulled in. * include/makeinclude/platform_osf1_4.x_cxx.GNU: Added support for different template instantiations. * include/makeinclude/platform_tru64_cxx.GNU: Removed some repeated flags from the command line. * ace/config-cxx-common.h: Added ACE_TEMPLATES_REQUIRE_SOURCE to pull in the template definitions to ensure proper template instantiation. Tue Apr 9 00:52:42 2002 Krishnakumar B * ace/config-sunos5.5.h (ACE_TEMPLATES_REQUIRE_SOURCE): Moved this from within a guard to enable it unconditionally. * ace/Obstack_T.cpp: Added guards to make it consistent with other usage of _T.cpp files. * tests/test_config.h: Reverted the change Sun Apr 7 18:04:56 2002 Krishnakumar B . The original code was right. * include/makeinclude/platform_g++_common.GNU: Cosmetic fixes. Explicitly check for egcs. It dumps out version information in a non-standard format confusing the make conditionals. Should fix the RedHat Static build. * include/makeinclude/platform_sunos5_sunc++.GNU: Cosmetic fixes to fix build bustage. Tue Apr 9 00:05:37 2002 Douglas C. Schmidt * ace/Logging_Strategy.h (ACE_Logging_Strategy): Changed "private" to "protected" so subclasses can access the implementation. Thanks to Martin Krumpolec for reporting this. This fixes bugid 1182. Mon Apr 8 13:18:12 2002 Johnny Willemsen * ace/Activation_Queue.h: Corrected location of doxygen comments so that the right comment is placed below the right method Sun Apr 7 18:04:56 2002 Krishnakumar B * tests/test_config.h (randomize): Wrapped the initialization of singleton_ within a ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES guard. This should fix the problems on FreeBSD and under RedHat static. Thanks to Craig Rodrigues for reporting this. Sun Apr 7 06:02:26 2002 Krishnakumar B * include/makeinclude/platform_lynxos.GNU: * include/makeinclude/platform_macosx.GNU: Didn't know that these platforms used g++. Fixing them. Sun Apr 7 05:27:35 2002 Krishnakumar B * include/makeinclude/platform_g++_common.GNU: Fixed a comment from the previous checkin. * include/makeinclude/platform_sunos5_sunc++.GNU: * include/makeinclude/platform_sunos5_ghs.GNU: * include/makeinclude/platform_sunos5_kcc.GNU: Changed these files to the new template instantiation mechanism. * tests/test_config.h: Added missing definition for the template member. Sun Apr 7 04:22:19 2002 Krishnakumar B * include/makeinclude/wrapper_macros.GNU(templates): Added option templates which can be used to specify the instantiation policy desired. Allowed values are explicit, automatic and used. Added flag TEMPLATE_FLAGS which should be set to the proper value in each of the platform config files. * include/makeinclude/platform_g++_common.GNU: New file which holds the parsing and setting logic for GNU C++. * include/makeinclude/platform_aix4_g++.GNU(templates): * include/makeinclude/platform_aix_g++.GNU: * include/makeinclude/platform_chorus4.x_g++.GNU: * include/makeinclude/platform_freebsd.GNU: * include/makeinclude/platform_gnuwin32_common.GNU: * include/makeinclude/platform_hpux_gcc.GNU: * include/makeinclude/platform_irix5.3_g++.GNU: * include/makeinclude/platform_irix6.x_g++.GNU: * include/makeinclude/platform_linux.GNU: * include/makeinclude/platform_osf1_4.x_g++.GNU: * include/makeinclude/platform_psosim_g++.GNU: * include/makeinclude/platform_rtems.x_g++.GNU: * include/makeinclude/platform_sco5.0.0-mit-pthread.GNU: * include/makeinclude/platform_sco5.0.0-nothread.GNU: * include/makeinclude/platform_sunos4_g++.GNU: * include/makeinclude/platform_sunos5_g++.GNU: * include/makeinclude/platform_unixware_g++.GNU: For all of the platforms above, when using g++ versions 2.95.x, 2.96, 3.0.x or 3.x or later, the instantiation policy is set to automatic. * include/makeinclude/platform_vxworks5.x_g++.GNU: Only exception to the above. The kind of parsing that is done in this file scares me. So I explicitly set it to "explicit". Thanks to Alex Libman for motivating this. If people with any of the above platforms can test if this works for them, it would be great. If suddenly your files don't link, just set templates="explicit" in platform_macros.GNU and all will be fine. This one was easy :-) Next round of changes is for the above platforms with different compilers. Sun Apr 7 04:02:23 2002 Krishnakumar B * ace/config-g++-common.h (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES): Moved common definitions for egcs into a single block. Wrapped ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES inside appropriate compiler checks. * ace/config-all.h: Added a negation before check for ACE_HAS_GNUC_BROKEN_TEMPLATE_INLINE_FUNCTIONS. * ace/config-sunos5.5.h: Enabled ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION and ACE_TEMPLATES_REQUIRE_SOURCE only if Sun CC version <= 5.0. Sun Apr 07 10:25:12 2002 Johnny Willemsen * examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp: * examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp: * examples/IPC_SAP/SOCK_SAP/CPP-unclient.cpp: Added include of Log_Msg.h to fix build errors in BCB Fri Apr 05 21:17:44 2002 Balachandran Natarajan * ace/CDR_Stream.cpp: Initialized a null wstring properly. * tests/CDR_Test.cpp (test_get): Added a test case for a marshalling and unmarshalling a zero length wstring. The above changes fix [Bug 1169]. Thanks to Duane Binder for suggesting these fixes. Fri Apr 5 19:20:39 2002 Steve Huston * ace/Proactor.h: Add #include "ace/OS.h" in the "non-AIO" section to get the ACE_Time_Value class needed for the stubbed-out class. * ace/config-aix-4.x.h: Add some commentary about ACE_HAS_AIO_CALLS. * ace/Service_Manager.cpp: Added #include "ace/Log_Msg.h" to fix a compile problem on AIX. Fri Apr 5 11:30:00 2002 Justin Michel * ace/OS.i: * ace/config-win32-common.h: SO_REUSEADDR fix brought over from 1.2a FD_SETSIZE fix brought over from 1.2a Thanks to Juergen Pfreundt for motivating this. Fri Apr 5 07:45:54 2002 Balachandran Natarajan * ace/Local_Tokens.cpp: Fixed a compile error. Fri Apr 5 12:51:11 UTC 2002 Don Hinton * ace/ACE.i (strnew): Added null pointer check to the wchar_t version so its behavior matches the char version. Fri Apr 5 11:40:00 UTC 2002 Don Hinton * ace/ATM_Acceptor.h * ace/ATM_Addr.cpp * ace/ATM_Addr.h * ace/ATM_Connector.cpp * ace/ATM_Connector.h * ace/ATM_Params.h * ace/ATM_QoS.h * ace/ATM_Stream.h * ace/Asynch_Acceptor.h * ace/Asynch_IO.h * ace/Asynch_IO_Impl.cpp * ace/Asynch_IO_Impl.h * ace/CE_Screen_Output.cpp * ace/CE_Screen_Output.h * ace/FlReactor.cpp * ace/FlReactor.h * ace/IOStream.h * ace/LSOCK.cpp * ace/LSOCK.h * ace/LSOCK_Acceptor.cpp * ace/LSOCK_Acceptor.h * ace/LSOCK_CODgram.cpp * ace/LSOCK_CODgram.h * ace/LSOCK_Connector.cpp * ace/LSOCK_Connector.h * ace/LSOCK_Dgram.cpp * ace/LSOCK_Dgram.h * ace/LSOCK_Stream.cpp * ace/LSOCK_Stream.h * ace/Local_Tokens.cpp * ace/Local_Tokens. * ace/Msg_WFMO_Reactor.h * ace/POSIX_Asynch_IO.h * ace/POSIX_Proactor.h * ace/Proactor.cpp * ace/Proactor.h * ace/Proactor_Impl.h * ace/QtReactor.h * ace/Reactor.cpp * ace/SUN_Proactor.h * ace/TkReactor.cpp * ace/TkReactor.h * ace/UNIX_Addr.cpp * ace/UNIX_Addr.h * ace/WFMO_Reactor.cpp * ace/WFMO_Reactor.h * ace/WIN32_Asynch_IO.h * ace/WIN32_Proactor.h * ace/XTI_ATM_Mcast.h * ace/XtReactor.cpp * ace/XtReactor.h Moved all includes inside the platform- or feature-specific macro guards and added config-all.h to the headers in order to speed up compiles when the guard isn't defined. Fri Apr 5 08:51:12 2002 Johnny Willemsen * apps/Gateway/Peer/Peer.h: Added missing explicit template instantion exports for msvc7. Thanks to Tom Phan for reporting this Thu Apr 4 21:01:11 2002 Carlos O'Ryan * ace/SOCK_Dgram.cpp: I accidentally left out some code in my last change, without it platforms that lack IPV6 support will probably break. Whoopsie. Thu Apr 4 20:39:51 2002 Carlos O'Ryan * bin/g++dep: Remove bogus path(s) to find gcc, they were site-specific, host-specific and version-specific, and then outdated at that. The developer better has a decent version of gcc in her PATH already, or the 'make depend' commands simply won't work. Thu Apr 4 13:17:52 2002 Balachandran Natarajan * bin/auto_run_tests.lst: Added a new test to the list of tests that need to be run. Thu Apr 4 11:52:45 2002 Carlos O'Ryan * ace/SOCK_Dgram.cpp: Add support for anonymous PF_LOCAL/SOCK_DGRAM (aka PF_UNIX/SOCK_DGRAM) sockets. As the class stood before these changes it was impossible to create such sockets, forcing people to choose a binding address even for sockets that are used only to send messages. For PF_INET this is not a big deal, because the OS (or ACE::bind_port) can choose a port for the application. But there is no such luck for PF_LOCAL sockets, where the application has to choose a filename for the socket, functions like ACE_OS::tempnam() or ACE_OS::mktemp() are more trouble than they are worth, as they open a security can of worms. This fixes bug 1179. Thu Apr 4 10:30:54 2002 Balachandran Natarajan * ace/RMCast/Makefile: * ace/SSL/Makefile: * ace/Makefile: Updated dependency. Other directories need this too. Will get to them before the beta. Thu Apr 4 11:05:48 2002 Carlos O'Ryan * ace/Select_Reactor_Base.cpp: Apply proposed patch for bug 1175, i.e. a possible deadlock condition when ACE_HAS_REACTOR_NOTIFICATION_QUEUE is defined. Thu Apr 4 08:32:26 UTC 2002 Don Hinton * ace/CDR_Stream.cpp (ctor): Modified default ctor to always add ACE_CDR::MAX_ALIGNMENT to the size parameter since it is always required since the subsequent call to ACE_CDR::mb_align() might advance the (rd|wr)_ptr's up to ACE_CDR::MAX_ALIGNMENT-1 bytes. Wed Apr 3 18:01:33 2002 Steve Huston * ace/SOCK_Dgram.cpp (shared_open): Add PF_INET6 to the test for need to bind an unused port if ACE_HAS_IPV6 is defined. Wed Apr 3 11:04:37 2002 Steve Huston * ace/Handle_Ops.{h, cpp} (handle_timed_open): * ace/SPIPE_Connector.{h cpp} (ctor, connect): Added optional LPSECURITY_ATTRIBTUES arg, defaults to 0. Allows Windows users to set security for the new file/pipe open. * ace/SPIPE_Acceptor.{h cpp} (ctor, open): Added optional LPSECURITY_ATTRIBUTES arg, defaults to 0, same as above. Also added a LPSECURITY_ATTRIBUTES member for NT4 and up. The LPSECURITY_ATTRIBUTES passed in is remembered across named pipe instances, and is used to create each new instance. Doxygen-ized the comments. Wed Apr 3 10:15:00 2002 Si Mong Park * tests/Atomic_Op_Test_WinCE.vcp: * tests/Auto_IncDec_Test_WinCE.vcp: * tests/Barrier_Test_WinCE.vcp: * tests/Basic_Types_Test_WinCE.vcp: * tests/Bound_Ptr_Test_WinCE.vcp: * tests/Buffer_Stream_Test_WinCE.vcp: * tests/Cached_Accept_Conn_Test_WinCE.vcp: * tests/Cached_Conn_Test_WinCE.vcp: * tests/Cache_Map_Manager_Test_WinCE.vcp: * tests/Capabilities_Test_WinCE.vcp: * tests/CDR_Array_Test_WinCE.vcp: * tests/CDR_File_Test_WinCE.vcp: * tests/CDR_Test_WinCE.vcp: * tests/Collection_Test_WinCE.vcp: * tests/Conn_Test_WinCE.vcp: * tests/DLList_Test_WinCE.vcp: * tests/DLL_Test_WinCE.vcp: * tests/Dynamic_Priority_Test_WinCE.vcp: * tests/Enum_Interfaces_Test_WinCE.vcp: * tests/Future_Set_Test_WinCE.vcp: * tests/Future_Test_WinCE.vcp: * tests/Handle_Set_Test_WinCE.vcp: * tests/Hash_Map_Bucket_Iterator_Test_WinCE.vcp: * tests/Hash_Map_Manager_Test_WinCE.vcp: * tests/High_Res_Timer_Test_WinCE.vcp: * tests/Lazy_Map_Manager_Test_WinCE.vcp: * tests/Logging_Strategy_Test_WinCE.vcp: * tests/Log_Msg_Test_WinCE.vcp: * tests/Malloc_Test_WinCE.vcp: * tests/Map_Manager_Test_WinCE.vcp: * tests/Map_Test_WinCE.vcp: * tests/Max_Default_Port_Test_WinCE.vcp: * tests/Mem_Map_Test_WinCE.vcp: * tests/MEM_Stream_Test_WinCE.vcp: * tests/Message_Block_Test_WinCE.vcp: * tests/Message_Queue_Notifications_Test_WinCE.vcp: * tests/Message_Queue_Test_Ex_WinCE.vcp: * tests/Message_Queue_Test_WinCE.vcp: * tests/MM_Shared_Memory_Test_WinCE.vcp: * tests/MT_Reactor_Timer_Test_WinCE.vcp: * tests/MT_SOCK_Test_WinCE.vcp: * tests/Naming_Test_WinCE.vcp: * tests/New_Fail_Test_WinCE.vcp: * tests/Notify_Performance_Test_WinCE.vcp: * tests/Object_Manager_Test_WinCE.vcp: * tests/OrdMultiSet_Test_WinCE.vcp: * tests/OS_Test_WinCE.vcp: * tests/Priority_Buffer_Test_WinCE.vcp: * tests/Priority_Reactor_Test_WinCE.vcp: * tests/Priority_Task_Test_WinCE.vcp: * tests/Process_Manager_Test_WinCE.vcp: * tests/RB_Tree_Test_WinCE.vcp: * tests/Reactors_Test_WinCE.vcp: * tests/Reactor_Exceptions_Test_WinCE.vcp: * tests/Reactor_Notify_Test_WinCE.vcp: * tests/Reactor_Performance_Test_WinCE.vcp: * tests/Reactor_Timer_Test_WinCE.vcp: * tests/Reader_Writer_Test_WinCE.vcp: * tests/Recursive_Mutex_Test_WinCE.vcp: * tests/Refcounted_Auto_Ptr_Test_WinCE.vcp: * tests/Reverse_Lock_Test_WinCE.vcp: * tests/Semaphore_Test_WinCE.vcp: * tests/Service_Config_Test_WinCE.vcp: * tests/Sigset_Ops_Test_WinCE.vcp: * tests/Simple_Message_Block_Test_WinCE.vcp: * tests/SOCK_Connector_Test_WinCE.vcp: * tests/SOCK_Send_Recv_Test_WinCE.vcp: * tests/SOCK_Test_WinCE.vcp: * tests/SPIPE_Test_WinCE.vcp: * tests/SString_Test_WinCE.vcp: * tests/Svc_Handler_Test_WinCE.vcp: * tests/Task_Test_WinCE.vcp: * tests/Thread_Manager_Test_WinCE.vcp: * tests/Thread_Mutex_Test_WinCE.vcp: * tests/Thread_Pool_Reactor_Resume_Test_WinCE.vcp: * tests/Thread_Pool_Reactor_Test_WinCE.vcp: * tests/Thread_Pool_Test_WinCE.vcp: * tests/Timeprobe_Test_WinCE.vcp: * tests/Timer_Queue_Test_WinCE.vcp: * tests/Time_Service_Test_WinCE.vcp: * tests/Time_Value_Test_WinCE.vcp: * tests/Tokens_Test_WinCE.vcp: * tests/TSS_Test_WinCE.vcp: * tests/Upgradable_RW_Test_WinCE.vcp: Added aygshell.lib to the link option. Wed Apr 3 00:03:05 2002 Krishnakumar B * include/makeinclude/platform_sunos5_g++.GNU (exceptions): * include/makeinclude/platform_qnx_neutrino.GNU: * include/makeinclude/platform_qnx_rtp_gcc.GNU: Removed redefinitions of ACE_HAS_GNUG_PRE_2_8 as they were unnecessary. Some more files also seem to be abusing this flag. But I don't have access to those exotic platforms. Tue Apr 2 19:36:31 2002 Steve Huston * ace/OS_String.inl (strtok_r): Another variant of wcstok()... Linux/glibc uses the 3-arg version of wcstok(), and says it's from UNIX98 and ISO/ANSI C. Tue Apr 2 16:21:39 2002 Steve Huston * ace/Get_Opt.h: Doxygen-ized the comments. Tue Apr 02 15:12:10 2002 Nanbor Wang * bin/nightlybuilds/builds.lst: Removed KCC builds from the list. Tue Apr 2 14:02:06 2002 Chris Cleeland * ace/SSL/SSL_Context.cpp (dh_params): Changed this to use the OpenSSL 'BIO' abstraction for file i/o rather than file pointers. Using file pointers caused problems on Win32 platforms, and BIOs don't. So, despite the fact that it's ugly and pollutes ACE code with an OpenSSL abstraction, at least it works. We'll have to figure out a more palatable way of dealing with this eventually. Tue Apr 2 12:53:00 2002 Si Mong Park * ace/Argv_Type_Converter.cpp: Fixed possible memory leak in the Dtor with incorrect counter of argv. Thanks to Don Hinton for finding this bug. Mon Apr 1 18:27:46 2002 Steve Huston * ace/OS_String.inl (strtok_r): Corrected decision to call wcstok() or wcstok_r(). This fixes builds on HP-UX 11. Mon Apr 1 16:35:29 2002 Steve Huston * ace/Containers_T.h (ACE_Array): Added performance characteristics and requirements table. Mon Apr 1 11:56:55 2002 Steve Totten * ace/Process.h: * ace/Process.cpp: Applied change from Rich Seibel to add a reset for the command_line_calculated_ flag (three places) and rewrote the description of command_line_buf(). Mon Apr 1 12:38:44 2002 Steve Huston * ace/Asynch_Acceptor.h: Corrected @arg to be @a for Doxygen. Sun Mar 31 22:44:00 2002 Si Mong Park * apps/FaCE/FaCE_OS.h: * apps/FaCE/FaCE.cpp: * apps/FaCE/Main.cpp: Changed 'LPWSTR' to 'ACE_TCHAR*' and 'LPCTSTR' to 'const ACE_TCHAR*'. Also removed fuzz no-checking header to enable fuzz again. Sun Mar 31 22:08:00 2002 Si Mong Park * ChangeLog: Fixed incorrect path for FaCE related files on prior change log items. Sat Mar 30 08:58:57 2002 Douglas C. Schmidt * ace/Asynch_Acceptor.cpp: (handle_accept): Removed a stray ACE_DEBUG() call. Thanks to Edan Ayal for reporting this. Sun Mar 31 01:18:00 2002 Si Mong Park * apps/FaCE/FaCE_OS.h: * apps/FaCE/FaCE.cpp: * apps/FaCE/Main.cpp: Added "// FUZZ: disable check_for_tchar" as the code is only and specifically for the WinCE. Thanks to Nanbor Wang for help. * apps/CE_ARGV.H: * apps/CE_ARGV.CPP: Minor lower/upper case change in the include statement. Sat Mar 30 22:19:00 2002 Si Mong Park * ace/OS.h: Removed FaCE_MAIN definition originally added during WinCE port and moved to FaCE_OS.h in the FaCE package since it is FaCE specific macro. * apps/FaCE/Face_OS.h: Contains FaCE_MAIN macro definition to set entry point on WinCE. * apps/FaCE/ReadMe.txt: Updated installation part for FacE_OS.h. Fri Mar 29 17:35:39 2002 Steve Huston * ace/Proactor.h: Doxygen-ize some comments; correct the close() comment (no I/O completion port is known at this level). Fri Mar 29 13:40:00 2002 Si Mong Park * ace/OS.h: Minor fix for WinCE IDC name. * apps/FaCE/ACE.ico: * apps/FaCE/ACE_Racer.bmp: * apps/FaCE/CE_ARGV.CPP * apps/FaCE/CE_ARGV.H * apps/FaCE/CE_Screen_Output.cpp: * apps/FaCE/CE_Screen_Output.h: * apps/FaCE/FaCE.cpp: * apps/FaCE/FaCE.h: * apps/FaCE/FACE.ico: * apps/FaCE/FaCE.rc: * apps/FaCE/FaCE.vcp: * apps/FaCE/FaCE.vcw: * apps/FaCE/FaCENOACE.vcp: * apps/FaCE/FaCENOACE.vcw: * apps/FaCE/License.txt: * apps/FaCE/Main.cpp: * apps/FaCE/newres.h: * apps/FaCE/ReadMe.txt: * apps/FaCE/resource.h * apps/FaCE/TAO.BMP: A new front-end framework utility/plug-in for ACE on WinCE. Fri Mar 29 11:33:00 2002 Si Mong Park * ace/ace_dll.vcp: * tests/Refcounted_Auto_Ptr_Test_WinCE.vcp: * tests/Service_Config_DLL_WinCE.vcp: Added few files into project. * tests/CE_fostream.h: * tests/CE_fostream.cpp: A class that simulates fostream on WinCE for CDR File test. * tests/Bound_Ptr_Test.cpp: * tests/CDR_File_Test.cpp: * tests/Log_Msg_Test.cpp: * tests/Logging_Strategy_Test.cpp: * tests/Malloc_Test.cpp: * tests/MEM_Stream_Test.cpp: * tests/MM_Shared_Memory_Test.cpp: * tests/MT_SOCK_Test.cpp: * tests/Priority_Task_Test.cpp: * tests/Refcounted_Auto_Ptr_Test.cpp: * tests/SOCK_Send_Recv_Test.cpp: * tests/SOCK_Test.cpp: * tests/Svc_Handler_Test.cpp: * tests/Thread_Pool_Test.cpp: Minor updates for WinCE build. Fri Mar 29 11:08:29 2002 Steve Huston * ace/Asynch_Acceptor.h: Doxygen-ized the method comments. Fri Mar 29 02:50:33 2002 Craig Rodrigues * examples/QOS/Diffserv/README: Update links to RFC's for Expedited Forwarding. Fri Mar 29 08:32:12 2002 Johnny Willemsen * tests/Makefile.bor: Added new Cached_Allocator_Test * tests/Cached_Allocator_Test.cpp: Fixed unicode build errors Thu Mar 28 23:47:00 2002 Si Mong Park * ace/OS.h: * ace/OS.cpp: Fixed WinCE entry point definitions, and factored out Unicode format checking parts as a separate function for both WinCE and Unicode builds. * ace/config-WinCE.h: Commented out the part that 'forces' WinCE to use DLL only. The 'commented out' part has been left for possible future reference. * tests/test_config.h: Changed path settings for WinCE file system as CE only supports absolute- path and does not have concept of './'. * tests/tests_WinCE.vcw: * tests/ARGV_Test_WinCE.vcp: * tests/Atomic_Op_Test_WinCE.vcp: * tests/Auto_IncDec_Test_WinCE.vcp: * tests/Barrier_Test_WinCE.vcp: * tests/Basic_Types_Test_WinCE.vcp: * tests/Bound_Ptr_Test_WinCE.vcp: * tests/Buffer_Stream_Test_WinCE.vcp: * tests/Cached_Accept_Conn_Test_WinCE.vcp: * tests/Cached_Conn_Test_WinCE.vcp: * tests/Cache_Map_Manager_Test_WinCE.vcp: * tests/Capabilities_Test_WinCE.vcp: * tests/CDR_Array_Test_WinCE.vcp: * tests/CDR_File_Test_WinCE.vcp: * tests/CDR_Test_WinCE.vcp: * tests/Collection_Test_WinCE.vcp: * tests/Conn_Test_WinCE.vcp: * tests/DLList_Test_WinCE.vcp: * tests/DLL_Test_DLL_WinCE.vcp: * tests/DLL_Test_WinCE.vcp: * tests/Dynamic_Priority_Test_WinCE.vcp: * tests/Enum_Interfaces_Test_WinCE.vcp: * tests/Future_Set_Test_WinCE.vcp: * tests/Future_Test_WinCE.vcp: * tests/Handle_Set_Test_WinCE.vcp: * tests/Hash_Map_Bucket_Iterator_Test_WinCE.vcp: * tests/Hash_Map_Manager_Test_WinCE.vcp: * tests/High_Res_Timer_Test_WinCE.vcp: * tests/Lazy_Map_Manager_Test_WinCE.vcp: * tests/Logging_Strategy_Test_WinCE.vcp: * tests/Log_Msg_Test_WinCE.vcp: * tests/Malloc_Test_WinCE.vcp: * tests/Map_Manager_Test_WinCE.vcp: * tests/Map_Test_WinCE.vcp: * tests/Max_Default_Port_Test_WinCE.vcp: * tests/Mem_Map_Test_WinCE.vcp: * tests/MEM_Stream_Test_WinCE.vcp: * tests/Message_Block_Test_WinCE.vcp: * tests/Message_Queue_Notifications_Test_WinCE.vcp: * tests/Message_Queue_Test_Ex_WinCE.vcp: * tests/Message_Queue_Test_WinCE.vcp: * tests/MM_Shared_Memory_Test_WinCE.vcp: * tests/MT_Reactor_Timer_Test_WinCE.vcp: * tests/MT_SOCK_Test_WinCE.vcp: * tests/Naming_Test_WinCE.vcp: * tests/New_Fail_Test_WinCE.vcp: * tests/Notify_Performance_Test_WinCE.vcp: * tests/Object_Manager_Test_WinCE.vcp: * tests/OrdMultiSet_Test_WinCE.vcp: * tests/OS_Test_WinCE.vcp: * tests/Priority_Buffer_Test_WinCE.vcp: * tests/Priority_Reactor_Test_WinCE.vcp: * tests/Priority_Task_Test_WinCE.vcp: * tests/Process_Manager_Test_WinCE.vcp: * tests/RB_Tree_Test_WinCE.vcp: * tests/Reactors_Test_WinCE.vcp: * tests/Reactor_Exceptions_Test_WinCE.vcp: * tests/Reactor_Notify_Test_WinCE.vcp: * tests/Reactor_Performance_Test_WinCE.vcp: * tests/Reactor_Timer_Test_WinCE.vcp: * tests/Reader_Writer_Test_WinCE.vcp: * tests/Recursive_Mutex_Test_WinCE.vcp: * tests/Refcounted_Auto_Ptr_Test_WinCE.vcp: * tests/Reverse_Lock_Test_WinCE.vcp: * tests/Semaphore_Test_WinCE.vcp: * tests/Service_Config_DLL_WinCE.vcp: * tests/Service_Config_Test_WinCE.vcp: * tests/Sigset_Ops_Test_WinCE.vcp: * tests/Simple_Message_Block_Test_WinCE.vcp: * tests/SOCK_Connector_Test_WinCE.vcp: * tests/SOCK_Send_Recv_Test_WinCE.vcp: * tests/SOCK_Test_WinCE.vcp: * tests/SPIPE_Test_WinCE.vcp: * tests/SString_Test_WinCE.vcp: * tests/Svc_Handler_Test_WinCE.vcp: * tests/Task_Test_WinCE.vcp: * tests/Thread_Manager_Test_WinCE.vcp: * tests/Thread_Mutex_Test_WinCE.vcp: * tests/Thread_Pool_Reactor_Resume_Test_WinCE.vcp: * tests/Thread_Pool_Reactor_Test_WinCE.vcp: * tests/Thread_Pool_Test_WinCE.vcp: * tests/Timeprobe_Test_WinCE.vcp: * tests/Timer_Queue_Test_WinCE.vcp: * tests/Time_Service_Test_WinCE.vcp: * tests/Time_Value_Test_WinCE.vcp: * tests/Tokens_Test_WinCE.vcp: * tests/TSS_Test_WinCE.vcp: * tests/Upgradable_RW_Test_WinCE.vcp: Project files for WinCE build on eMbedded Visual C++ 3.0. Note that some tests run fine under emulator but not on the real machine, and some tests run okay on WinCE 3.0 but not on Pocket PC 2002. The missing tests are mostly not supported by WinCE 3.0/PPC 2002. For example, WinCE does not have 'fork' or environment variables. Also, WinCE supports memory mapped file; however, the method is so different to other Windows platforms that it is really hard to make it work correctly on current ACE mem-map function structure. Thu Mar 28 16:15:17 2002 Douglas C. Schmidt * ace/TTY_IO.h: Added the ACE_Export macro to the Serial_Params struct. Thanks to Pavel Repin for reporting this. Thu Mar 28 13:31:19 2002 Priyanka Gontla * ace/POSIX_Asynch_IO.cpp (handle_close): Fixed the warnings on Debian_Core build that were caused by the changes earlier today. Thu Mar 28 16:14:39 2002 Steve Huston * ace/OS.h (ACE_Time_Value::dump): Added comments that'll go to the man page to explain why this is a no-op. Thu Mar 28 14:26:19 2002 Douglas C. Schmidt * tests/Cached_Allocator_Test.cpp: Added a missing template instantiation. Thu Mar 28 10:45:16 2002 Nanbor Wang * tests/tests.dsw: * tests/Cached_Allocator_Test.dsp: Added this new MSVC project. Thu Mar 28 10:12:13 2002 Douglas C. Schmidt * ace/Malloc_T.{h,i,cpp}: Added support for ACE_Dynamic_Cached_Allocator. Thanks to Jaroslaw Nozderko for contributing this. * tests: Added Cached_Allocator_Test.cpp. Thanks to Jaroslaw Nozderko for contributing this. * tests/Makefile (BIN): * tests/run_test.lst: Added Cached_Allocator_Test. Thu Mar 28 06:15:22 2002 Alex Libman * ace/POSIX_Asynch_IO.cpp, ace/POSIX_Asynch_IO.h: ACE_POSIX_AOICB_Asynch_Operation and ACE_POSIX_Asynch_Operation merged in one class ACE_POSIX_Asynch_Operation Since POSIX_SIG_Proactor and SUN_Proactor are based on POSIX_AIOCB_Proactor and both of them use ACE_POSIX_AOICB_Asynch_Operation, there is no necessity to support extra class tree. * ace/POSIX_Asynch_IO.cpp, ace/POSIX_Asynch_IO.h: ACE_POSIX_AOICB_Transmit_Handler and ACE_POSIX_Transmit_Handler merged in ACE_POSIX_Transmit_Handler for same reason as previous change. * ace/POSIX_Asynch_IO.cpp, ace/POSIX_Asynch_IO.h: ACE_POSIX_Asynch_Accept merged with ACE_POSIX_Asynch_Accept_Hanlder and redesigned and added new class ACE_POSIX_Asynch_Accept_Task. POSIX_AIOCB_Proactor has new member ACE_POSIX_Asynch_Accept_Task asynch_accept_task_. Task activation should be done from the most derived constructors , when the final table of virtual functions is built (simular case with notify_manager). // start asynch accept task this->get_asynch_accept_task.start (); All POSIX_Proactors implementations ( AIOCB,SIG,SUN ) should stop ACE_POSIX_Asynch_Accept_Task in their destructors to avoid post_completions from based classes // stop asynch accept task this->get_asynch_accept_task.stop (); Thu Mar 28 06:14:22 2002 Douglas C. Schmidt * ace/TTY_IO.cpp (Serial_Params): Zero out the values in the Serial_Params constructor. Thanks to Pavel Repin for reporting this. Wed Mar 27 20:00:31 2002 Douglas C. Schmidt * include/makeinclude/platform_linux.GNU: Fixed a typo where PLATFORM_XT_LDFLAGS was spelled incorrectly. Thanks to Eric Eide for reporting this. Wed Mar 27 18:36:14 2002 Krishnakumar B * include/makeinclude/platform_linux.GNU (CXX_VERSION): Reorganised the switches a bit for handling the implicit templates. * include/makeinclude/wrapper_macros.GNU (ACE_HAS_GNUG_PRE_2_8): If the compiler has g++ or any mutations of g++, test whether the version is less than 2.8. If so set ACE_HAS_GNUG_PRE_2_8 to 1 else set it to 0. Thanks to James Haiar for reporting this. Wed Mar 27 16:32:55 2002 Irfan Pyarali * tests/Reactor_Dispatch_Order_Test.cpp: Minor compilation fixes. Wed Mar 27 15:10:27 2002 Irfan Pyarali * tests/Reactor_Dispatch_Order_Test: Added a new test to check the order of dispatching of ACE Reactors. Order should be: timeout, output, and then input. Currently, Select and WFMO Reactors are tested. The following files we updated to include the new test: - tests/Makefile - tests/Makefile.am - tests/Makefile.bor - tests/Reactor_Dispatch_Order_Test.dsp - tests/Reactor_Dispatch_Order_Test.icc - tests/icc.bat - tests/run_test.lst - tests/run_tests.bat - tests/run_tests.psosim - tests/run_tests_remote.lst - tests/tests.dsw - tests/tests.icp * ace/WFMO_Reactor.cpp (upcall): Changed the dispatch order to match the Select_Reactor's dispatch order. The order now is: FD_WRITE FD_CONNECT FD_OOB FD_READ FD_CLOSE FD_ACCEPT FD_QOS FD_GROUP_QOS Thanks to Steve Huston for pointing this out. * tests/icc.bat: Removed duplicates. Wed Mar 27 10:25:12 2002 Johnny Willemsen * ace/High_Res_Timer.{h,cpp}: Fixed a few small typing errors in comments Tue Mar 26 13:55:19 2002 Douglas C. Schmidt * ace/OS.i (operator *=): Explicitly promote sec() to double before multiplying it to prevent problems with overflow. Thanks to Eric Page for reporting this. This fixes BugId [1174]. Tue Mar 26 06:50:58 2002 Douglas C. Schmidt * ace/Synch.h (ACE_Null_Mutex): Added a dummy "lock_" variable to make ACE_Condition work properly. Thanks to Ido Yellin for reporting this. Wed Mar 21 08:11:15 2002 Boris Kolpackov * THANKS: Added Frank Rybak to the Hall of fame. Wed Mar 20 11:23:38 2002 Priyanka Gontla * ace/Service_Manager.cpp (handle_input): Moved the declaration of 'error' outside the do-while loop to fix the 'error (undeclared)' error. Wed Mar 20 09:51:47 2002 Douglas C. Schmidt * ace/Acceptor.cpp (handle_input): Updated the comments to point out that svc_handler->close() is called in accept_svc_handler() and activate_svc_handler() if a failure occurs. Thanks to Rainer Lucas for motivating this. Wed Mar 20 06:44:02 2002 Douglas C. Schmidt * ace/Service_Manager.cpp (handle_input): Fixed a bug that prevents an infinite loop. Thanks to Sandro Doro for reporting this. * include/makeinclude/platform_vxworks5.x_g++.GNU (HOST_DIR): Fixed a typo where -mlongcal should be -mlongcall. Thanks to Erik Johannes for reporting this. Wed Mar 20 14:26:12 2002 Johnny Willemsen * docs/usage-bugzilla.html: Updated the link to the Bugzilla project Tue Mar 19 15:17:25 2002 Dante J. Cannarozzi * ace/Containers_T.h: with the help of Matt Hampton updated doxygen comments for container classes with more details at the request of Steve Huston. Tue Mar 19 02:40:00 2002 Si Mong Park * ace/OS_String.h: * ace/OS_String.inl: * ace/OS_String.cpp: Corrected proper ACE_HAS_REENTRANT_FUNCTIONS macro checking location for the strtok_r_emulation functions. Debian compilation error was because ACE_HAS_REENTRANT_FUNCTIONS was not defined in the configuration. If ACE_HAS_REENTRANT_FUNCTIONS is defined, then emulation functions should not be visible. Mon Mar 19 08:32:34 2002 Boris Kolpackov * THANKS: Added Chen Jian to the Hall of fame. Sun Mar 17 18:22:12 2002 Craig Rodrigues * include/makeinclude/platform_freebsd.GNU: Copy lines from platform_linux.GNU. exceptions=1 is now the default, unless overridden by the user, just like for Linux. Sun Mar 17 11:53:12 2002 Johnny Willemsen * include/makeinclude/compiler.bor: When doing a wchar build don't automatically define UNICODE and _UNICODE. Fri Mar 15 18:08:28 2002 Steve Huston * ace/config-aix-4.x.h: Removed the optional setting of ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION for Visual Age C++ 5 without __TEMPINC__ set. This was an experiment to try and rid the build of all the "duplicate symbol" warnings, and it broke the incremental builds. Fri Mar 15 12:19:58 2002 Chad Elliott * include/makeinclude/platform_vxworks5.x_ghs.GNU: Added support for building with exceptions enabled. Fri Mar 15 05:59:45 2002 Douglas C. Schmidt * ace/SPIPE_Acceptor.cpp: Removed the ACE_ASSERT (result == FALSE) macro call. Thanks to Oleg Burlachenko for reporting this. Fri Mar 15 00:16:06 2002 Craig Rodrigues * include/makeinclude/platform_freebsd.GNU: * include/makeinclude/platform_netbsd.GNU: Make -fno-implicit-templates conditional, instead of default. Thanks to Denis Otchenashko for motivating me to look into this and fix this. Thu Mar 14 12:50:00 2002 Si Mong Park * ace/OS_String.h: * ace/OS_String.inl: * ace/OS_String.cpp: Fixed a skipping strtok_r_emulation definition when ACE_HAS_WCHAR is defined. Thu Mar 14 11:26:41 2002 Nanbor Wang * performance-tests/Misc/context_switch_time.cpp: Renamed the internally used macro, DEBUG, to ACE_DEBUG_CST to avoid clashing with the compiler defined macro. Thanks to Allan S Iverson for motivating the fix. Thu Mar 14 09:17:55 2002 Douglas C. Schmidt * ace/Strategies_T.cpp (activate_svc_handler): Added a call to destroy() the svc_handler if ACE::fork() fails. Thanks to Rainer Lucas for reporting this. * ace/Configuration.cpp (remove_section): Made the code consistent for all versions of Windows. Thanks to Jon Lambert for the fix. * examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp (ACE_TMAIN): Added '\n' to the end of command strings so that the client won't hang. Thanks to Marc M Adkins for this fix. Wed Mar 13 15:55:54 2002 Douglas C. Schmidt * ace/OS.h: EACCESS was misspelled! Thanks to Eric Eide for reporting this. Wed Mar 13 20:50:00 2002 Si Mong Park * ace/OS.i: Minor change to resolve signed/unsigned comparison warning. * ace/OS_String.h: * ace/OS_String.inl: * ace/OS_String.cpp: Added wide-char version of strtok_r and strtok_r_emulation. * ace/Functor.h: * ace/Functor.i: Added hash related templates for ACE_ANTI_TCHAR type when ACE_USES_WCHAR is defined. * ace/ace_dll.vcp: * ace/ace_os_dll.vcp: Added missing files. Wed Mar 13 11:57:41 2002 Steve Huston * ace/Configuration_Import_Export.cpp: Replace ACE_ASSERTs with validity checks that set errno and return -1. ACE_ASSERT is a little too drastic for a simple error, and the ACE_ASSERT check is removed altogether when building with ACE_NDEBUG. Wed Mar 13 10:36:02 2002 Craig Rodrigues * ace/config-freebsd-pthread.h: Fix test for POSIX RT signals. Thanks to Denis Otchenashko for reporting these problems. Wed Mar 13 10:21:49 2002 Steve Huston * ace/Configuration_Import_Export.cpp (ACE_Ini_ImpExp::import_config): Remove the "else value = ACE_LIB_TEXT("")" for zero-length values - value is already a zero-length string. Wed Mar 13 09:40:12 2002 Johnny Willemsen * ace/Registry_Name_Space.cpp: Fixed warnings about unused variables in BCB Unicode build Tue Mar 12 18:37:49 2002 Steve Huston * ace/Configuration_Import_Export.{h cpp} (ACE_Ini_ImpExp): Changed behavior of ACE_Ini_ImpExp::import_config() to take the entire string, with or without whitespace, without requiring quotes around the string. This puts functionality on par with regular Windows INI files. Also, on ACE_Ini_ImpExp::export_config(), don't add quotes to string values that are exported. import_config() will still read files exported previously (which have quotes around strings) but when re-exported, the quotes will not be added. Tue Mar 12 17:43:32 2002 Balachandran Natarajan * ace/CDR_Base.cpp (consolidate): If the incoming message block does not have a chain of message blocks, there is no need to do a deep copy, a refcount increment on the incoming datablock would do. Thanks to Lothar Werzinger for the patches. Tue Mar 12 15:32:46 2002 Balachandran Natarajan * PROBLEM-REPORT-FORM (Subject): Added a request for the version of winsock on Windows based OS's. Tue Mar 12 15:22:29 2002 Balachandran Natarajan * ace/OS.i (sendv): When using winsock1, we transfer data by sending one iovec at a time. If transfer of a buffer isnt complete because the socket buffers got full, we need to drop out of the loop that sends data. Thanks to Stephan Gudmundson for providing this patch. * THANKS: Added Stephan Gudmundson to the Hall of fame. Mon Feb 25 14:06:45 2002 Chad Elliott * ace/config-hpux-11.00.h: Do not define __HP_aCC if using KCC. * include/makeinclude/platform_hpux_kcc.GNU: Add the --one-instantiation-per-object parameter to avoid build problems with KCC. * tests/Dirent_Test.cpp: Modify this test to work with Chorus (as it does with VxWorks). * ace/config-aix-4.x.h: Defined ACE_HAS_USING_KEYWORD for AIX 4.x with Visual Age 5 or later. This change came from Yan Dai Tue Mar 12 11:53:53 2002 Chad Elliott * bin/perltest2cpp.pl: Corrected the code for array assignments. * bin/vxworks_modify.pl: Use ACE_ENV_* instead of TAO_ENV_*. Tue Mar 12 10:45:00 2002 Justin Michel * ace/OS.i: Added call to ACE_OS::set_errno_to_last_error() in two places where Winsock WSARecvFrom or WSASendTo were called. Tue Mar 12 09:06:00 2002 Si Mong Park * etc/Svc_Conf_l.cpp.diff: Incorrect file had been checked in on prior commit. This is the correct file. * tests/Config_Test.cpp: Fixed incorrect delete statement. Tue Mar 12 08:54:00 2002 Si Mong Park * etc/Svc_Conf_l.cpp.diff: Fixed CR/LF (DOS format) problem: no content changed. Tue Mar 12 13:52:12 2002 Johnny Willemsen * THANKS : Added Oleg Kraynov Mon Mar 11 21:05:26 2002 Krishnakumar B * ACEXML/parser/parser/Parser.cpp (parse): Added comment on the order of processing that should be done by the parser. Mon Mar 11 20:21:38 2002 Steve Huston * ace/config-all.h: Fixed ACE_NEW section to work with HP-UX 10.20, aC++ A.01.27 with -AA option. Mon Mar 11 18:48:41 2002 Steve Huston * examples/C++NPv1/Logging_Client.cpp: Added a compile-time check for Win32 to be sure ACE_HAS_STANDARD_CPP_LIBRARY is set, else trying to use the new getline() method with an old cin won't work. Mon Mar 11 17:43:00 2002 Si Mong Park * ace/Svc_Conf_l.cpp: Minor comment change to make diff file. * etc/Svc_Conf_l.cpp.diff: Updated diff file for Svc_Conf_l.cpp. Mon Mar 11 16:59:42 2002 Steve Huston * tests/TP_Reactor_Test.h (new file): * tests/TP_Reactor_Test.cpp: Moved declarations for Receiver, Acceptor, Sender, and Connector classes to the new file TP_Reactor_Test.h so Visual Age C++ can find them when instantiating templates. Mon Mar 11 16:38:49 2002 Steve Huston * tests/Reactor_Notify_Test.cpp: Added missing #include "ace/Reactor.h" to fix Visual Age C++ compile error. Mon Mar 11 16:27:59 2002 Steve Huston * examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.cpp: Added missing #include "ace/Auto_Ptr.h" to fix compile problem for platforms w/o native auto_ptr (like MSVC). Mon Mar 11 14:23:00 2002 Si Mong Park * tests/Config_Test.cpp: Removed one of the delete statement that deletes twice and thus causing an invalid access violation. Mon Mar 11 10:28:45 2002 Chad Elliott * bin/vxworks_modify.pl: Update this script to work correctly with the new CORBA Environment style. Mon Mar 11 12:17:12 2002 Johnny Willemsen * include/makeinclude/build_dll.bor: * include/makeinclude/build_exe.bor: * include/makeinclude/build_lib.bor: * include/makeinclude/compiler.bor: * include/makeinclude/decorator.bor: * include/makeinclude/make_flags.bor: * include/makeinclude/outputdir.bor: Added support for a real unicode build with BCB builder. A real unicode build can for example be done with: make -f makefile.bor -DUNICODE Doing a real unicode build means that the defines ACE_USES_WCHAR, UNICODE and _UNICODE are set, diffent BCB object files are used to link with and the compiler gets the extra compiler option -WU. The dll names have a 'u' added so that unicode dll's are separated from the non-unicode dll's. Also the output files are build in a separate subdirectory. * ACE-INSTALL.html: Explained the BCB make options that can be used with ACE Mon Mar 11 11:35:12 2002 Johnny Willemsen * ace/Registry_Name_Space.cpp: Changed ACE_USHORT16 to ACE_WSTRING_TYPE because the underlying type of ACE_WString is ACE_USHORT16 with MSVC and with BCB it is wchar_t. The define ACE_WSTRING_TYPE hides these differences. When UNICODE and ACE_USES_WCHAR are defined BCB gave a compile error. Sun Mar 10 18:53:48 2002 Si Mong Park * ace/Svc_Conf_l.cpp: Commented out 'break' line to resolve unreachable statement warning. Sun Mar 10 05:54:30 2002 Balachandran Natarajan * THANKS : Added Val Dumitrescu to the Hal of Fame. * bin/auto_run_tests.lst: Added a new test to the daily builds. Sat Mar 9 21:22:51 2002 Balachandran Natarajan * ace/CDR_Stream.cpp: * ace/CDR_Stream.i: * ace/CDR_Stream.h: Added accessor methods for GIOP versions of Input and Output CDR streams. Sat Mar 9 07:52:45 2002 Douglas C. Schmidt * ace/SPIPE_Addr.cpp (set): Changed a strcpy() to a strcat() to fix the code. Thanks to Robert Laferriere for reporting this. Fri Mar 8 22:29:36 2002 Si Mong Park * ace/Argv_Type_Converter.cpp: * ace/Argv_Type_Converter.h: * ace/Argv_Type_Converter.inl: new class to convert command line parameter type between char and wchar_t. * ace/Basic_Types.h: Set the endian type to 'little endian' for ARM processor - Pocket PC 2002 platform. * ace/Log_Record.cpp: * ace/Log_Record.h: Removed print method that uses ACE_CE_Bridge since CE_Bridge is no longer supported by ACE CE port. * ace/ace_dll.dsp: * ace/ace_lib.dsp: Added Argv_Type_Converter class to the project. * ace/WFMO_Reactor.cpp: * ace/WFMO_Reactor.h: * ace/WFMO_Reactor.i: Updated to support WinCE. * ace/Process.cpp: Fixed incorrect call to CreateProcess for WinCE. * ace/config-WinCE.h: Updated for WinCE Pocket PC 2002. * ace/ace.vcw: * ace/ace_dll.vcp: * ace/ace_os_dll.vcp: New ACE project file for WinCE Pocket PC 2002 build on eMbedded Visual C++ 3.0. * ace/Makefile: * ace/Makefile.am: * ace/Makefile.bor: Added Argv_Type_Converter file. * ace/Configuration.cpp: * ace/Memory_Pool.cpp: Updated for the WinCE port. * ace/Read_Buffer.cpp: * ace/Read_Buffer.h: Disabled Ctor with ACE_HANDLE on WinCE since ACE_HANDLE is same as FILE* on WinCE. * ace/OS.cpp: * ace/OS.h: * ace/OS.i: Updated for WinCE port. Changes includes removal of CE Bridge added CE argv process class, enabled many file IO functions that formerly disabled on CE, bypassing QoS parts for CE, and other CE specific declarations. * ace/Dynamic_Service.h: * ace/Dynamic_Service.i: Added 'instance' method uses ACE_ANTI_TCHAR type name for when ACE_TCHAR is wchar_t. * ace/CE_Screen_Output.cpp: * ace/CE_Screen_Output.h: screen output helper class only for WinCE platform - should not be used on any other platform. * ace/OS_Memory.h: * ace/OS_String.h: Changed to skip including stddef.h for WinCE. * ace/MEM_Acceptor.h: * ace/MEM_Acceptor.i: * ace/SOCK_Acceptor.cpp: * ace/SOCK_Acceptor.h: * ace/SOCK_Connector.cpp: * ace/SOCK_Connector.h: * ace/SOCK_Dgram_Mcast.h: Updated to skip QoS part on WinCE. * ace/Svc_Conf.l: * ace/Svc_Conf_l.cpp: Fixed a problem giving a parse error on reading carriage return token on Unicode formatted svc conf file. * ace/Registry.cpp: Changed connect function for WinCE to return -1 because CE does not allow direct registry connection. * ace/Sock_Connect.cpp: Changed to use Iphlpapi library (standard on WinCE) on WinCE to find IP address instead of searching registry since CE has so many variations on registry settings. * ace/Log_Msg.cpp: Minor change for WinCE on stderr. Fri Mar 8 19:45:31 2002 Steve Huston * examples/C++NPv1/Thread_Per_Connection_Logging_Server.cpp: * examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.cpp: Use auto_ptr<> to manage dynamically-allocated Thread_Args. Thanks to Chris Uzdavinis for this suggestion. Thu Mar 7 16:10:02 2002 Douglas C. Schmidt * include/makeincludes/platform_linux_icc.GNU, * ace/config-icc-common.h, * ace/config-linux-common.h: Added support for the Intel C++ compiler (icc). Thanks to Roger Tragins for contributing this. Thu Mar 7 11:17:12 2002 Johnny Willemsen * tests/RMCast/RMCast_Fragment_Test.cpp: * tests/RMCast/RMCast_Membership_Test.cpp: * tests/RMCast/RMCast_Reassembly_Test.cpp: * tests/RMCast/RMCast_Reordering_Test.cpp: * tests/RMCast/RMCast_Retransmission_Test.cpp: * tests/RMCast/RMCast_UDP_Best_Effort_Test.cpp: * tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp: Replaced main with ACE_TMAIN. Wed Mar 6 21:48:15 2002 Krishnakumar B * include/makeinclude/platform_linux_kcc.GNU (CCFLAGS): Moved --one_instantiation_per_object flag as a common flag. Otherwise building with debugging enabled doesn't work with libraries built without debug information. Wed Mar 6 21:42:37 2002 Krishnakumar B * bin/ace-install: Make sure that the .inl files are also installed. Thanks to Carsten Prescher for reporting this. Wed Mar 6 18:30:49 2002 Steve Huston * examples/C++NPv1/Thread_Per_Connection_Logging_Server.h: Reimplemented the Logging_Server::run method. Because the handle_connections() method spawns a new thread to run the logging session, and it calls handle_data(), the call to handle_data() from Logging_Server::run() is incorrect. Thanks to Raghuram Shetty for reporting this issue. * examples/C++NPv1/Reactive_Logging_Server.h: Fix wait_for_multiple_events() to correctly check error return from select(). Also, in handle_connections(), sync the code with the book to clear acceptor handles from the active_handles_ after accepting all ready connections. * examples/C++NPv1/Reactive_Logging_Server_Ex.h (handle_connections): Clear acceptor's handle from active_read_handles_ to keep from dispatching it as a data handle. See, this is why you should use the Reactor framework - so be sure to buy vol 2 ;-) * THANKS: Added Raghuram Shetty to the Hall of Fame. Wed Mar 06 17:06:43 2002 Nanbor Wang * tests/Cached_Accept_Conn_Test.cpp: * tests/Cached_Conn_Test.cpp: Replaced main with ACE_TMAIN. Wed Mar 6 14:43:34 2002 Nanbor Wang * ace/OS.h: Reverted my previous "fix" to the argv argument type. Mon Jan 21 23:27:03 2002 Nanbor Wang A program entry poing main can take any of the three forms: int main (int argc, char *argv[]) int wmain (int argc, wchar_t *argv[]) int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) Of them, the entry point main always gives you the command line arguemnt in char strings form. The entry point wmain currently can only be used under Win32 and it returns the command line arguments in wchar strings format. Defining the ACE_TMAIN as the program entry point is the more portable form. The command line arguments are given in char strings in most cases, or wchar strings when ACE_USES_WCHAR is defined. See $ACE_ROOT/docs/wchar.txt for more information on ACE support on wchar. * docs/ACE-guidelines.html: Added a new guideline explaining which main entry point to use, as above. * bin/main2TMAIN.pl: Script to replace entry points of the form main (int, ACE_TCHAR *[]) to ACE_TMAIN (int, ACE_TCHAR *[]) * *.cpp: Changed to use the new ACE_TMAIN. Tue Mar 06 14:30:12 2002 Johnny Willemsen * tests/MEM_Stream_Test.cpp: Fixed the shutdown of this test. When _TEST_USES_THREADS is defined we must do a wait() on the thread manager, else on the process manager. Tue Mar 05 20:34:22 2002 Ossama Othman * ace/OS_Thread_Adapter.cpp (invoke): * ace/Thread_Adapter.cpp (invoke_i): Fixed "jump out of __finally block" warning emanating from MSVC 7. Tue Mar 05 15:46:15 2002 Nanbor Wang * ace/Memory_Pool.h: * ace/Memory_Pool.i: Added a base_addr () method for all memroy pool classes. For memory pools that don't have a base_addr and will never remap the pool to a different area, this method always return 0. * ace/Malloc_T.cpp: Reset this->cb_ptr_ after acquiring new memory to memory_pool's base_addr (if base_addr != 0). This makes sure the cb_ptr_ points to the right memory after a remap. Thanks to Ariel Peltz for pointing this out. Tue Mar 5 12:20:26 2002 Ossama Othman * ace/INET_Addr.cpp (get_host_name_i, set): h_errno -> h_error. h_errno conflicts with a declaration in Microsoft's Winsock headers. Thanks to Nanbor for pointing out the problem. Tue Mar 05 09:26:46 2002 Ossama Othman * ace/INET_Addr.cpp (get_host_name_i, set): Do not clobber errno with the h_errno value returned from gethostbyaddr_r(). They are two distinct types of errors. Renamed "error" to "h_errno" where appropriate to make it more obvious that errno should not be set to the value of h_errno. Thanks to Felix Wyss for reporting this. Tue Mar 5 05:51:44 2002 Douglas C. Schmidt * ace/Process.cpp (spawn): If fork()/exec() fail, call ACE_OS::_exit() rather than ACE_OS::exit() to avoid destructors being called that will yield hang problems. Thanks to Renjie Tang and Max V. Zinal for this suggestion. This fixes BugID 1147. Tue Mar 5 12:24:12 2002 Johnny Willemsen * ace/Auto_IncDec_T.h: Corrected typing error in comment Mon Mar 4 19:59:31 2002 Steve Huston * tests/Process_Strategy_Test.h: Added #include "ace/Strategies_T.h" so Visual Age C++ can find ACE_Process_Strategy when instantiating templates. Mon Mar 4 19:52:27 2002 Steve Huston * tests/Message_Queue_Test_Ex.h (new file): * tests/Message_Queue_Test_Ex.cpp: Moved declaration of User_Class to .h file so Visual Age C++ can find it when instantiating templates. Mon Mar 4 19:43:51 2002 Steve Huston * tests/Framework_Component_Test.h (new file): * tests/Framework_Component_Test.cpp: Moved declaration of My_Singleton to .h file so Visual Age C++ can find it when instantiating templates. Mon Mar 04 11:20:45 2002 Carlos O'Ryan * ace/Copy_Disabled.h: * ace/Copy_Disabled.cpp: Add new helper class to disable copy constructors and assignment operators. I simply got sick of writing this repetitive code: // private & undefined Foo (const Foo &); Foo &operator= (const Foo&); The new class makes life *much* easier, simply say: class Foo : private ACE_Copy_Disabled Isn't that cool? * ace/Makefile: * ace/Makefile.am: * ace/Makefile.bor: * ace/ace_dll.dsp: * ace/ace_lib.dsp: Add new file to the project files and Makefiles. Mon Mar 4 07:36:12 2002 Johnny Willemsen * tests/Token_Strategy_Test.cpp: Fixed MSVC6 unicode build errors. Sun Mar 3 15:56:23 2002 Craig Rodrigues * tests/Token_Strategy_Test.cpp: Add template instantiations for ACE_Array, ACE_Array_Base, ACE_Array_Iterator. Sun Mar 3 16:23:12 2002 Johnny Willemsen * tests/Token_Strategy_Test.cpp: Fixed MSVC6 unicode build errors. Sun Mar 3 11:00:12 2002 Johnny Willemsen * tests/Token_Strategy_Test.dsp: Added MSVC project for this test * tests/Token_Strategy_Test.cpp: Corrected small typing errors in comment * tests/tests.dsw: Added new Token_Strategy_Test.dsp Sat Mar 2 09:17:45 2002 Douglas C. Schmidt * ace/INET_Addr.cpp (set): Change errno = EINVAL to errno = error if the call to ACE_OS::gethostbyname_r() fails since errno should already have been set! Thanks to Felix Wyss for reporting this. Fri Mar 01 08:03:12 2002 Johnny Willemsen * ace/Makefile.bor: Added Swap.cpp to the list of installable files * ace/SSL/SSL_Context.cpp: Added ACE_TEXT_CHAR_TO_TCHAR around first argument of ACE_OS::fopen call to convert char to ACE_TCHAR to fix compile errors in unicode build * include/makeinclude/ace_flags.bor: Corrected typing error for new tao messaging library Wed Feb 27 13:50:20 2002 Jaiganesh Balasubramanian * ace/INET_Addr.cpp: Pull back changes from last night. Wed Feb 27 06:00:37 2002 Douglas C. Schmidt * ace/Synch.h: Clarified that ACE_Auto_Event, ACE_Manual_Event, and ACE_Event all support process-scope locking, but only Win32 supports global naming and system-scope locking. Thanks to Kobi Cohen Arazi for motivating this change. Wed Feb 27 09:24:30 2002 Carlos O'Ryan * include/makeinclude/platform_linux.GNU: Pull back Jai's change from last night. It looks like an accident to me, and it is breaking all the builds. Wed Feb 27 12:09:12 2002 Johnny Willemsen * ACE-INSTALL.html: Added description about setting environment variable BCBVER to the Borland building instructions Wed Feb 27 10:47:12 2002 Johnny Willemsen * include/makeinclude/ace_flags.bor: Added lines for new TAO_Messaging library Wed Feb 27 01:12:32 2002 Carlos O'Ryan * ace/Swap.h: * ace/Swap.inl: * ace/Swap.cpp: Add helper template to swap variables, very useful when implementing exception neutral/safe classes. Wed Feb 26 00:38:50 2002 UTC Don Hinton * ace/Select_Reactor_Base.h: * ace/Select_Reactor.cpp: * ace/Select_Reactor_T.cpp: Removed ACE_SELECT_REACTOR_HAS_DEADLOCK_DETECTION since it isn't used. Tue Feb 26 22:54:50 2002 UTC Don Hinton * ace/Synch.i (ACE_Noop_Token::queueing_strategy): Removed ACE_UNUSED_ARG and commented out the parameter instead. Thanks to Ossama and Craig for pointing this out. Tue Feb 26 16:17:45 2002 Nanbor Wang * ace/Thread_Manager.h (ACE_Thread_Manager): Fixed a typo in doxygen document tag. Thanks to Brad Hoskins for reporting this. Tue Feb 26 10:22:39 2002 Steve Huston * include/makeinclude/platform_sunos5_sunc++.GNU: Added the ability to enable RTTI in the compat=4 case. Removed the explicit inclusion of an installation-specific path to -L for compat=4. Installation-specific adidtions/changes should go in the installation's platform_macros.GNU file. Tue Feb 26 09:48:24 2002 Craig Rodrigues * apps/drwho/Protocol_Manager.cpp: Replace #include "new.h" with #include "ace/config.h" to eliminate gcc 3.1 warning about deprecated header. Tue Feb 25 10:16:12 2002 Johnny Willemsen * tests/Token_Strategy_Test.cpp: Fixed unicode compile error Mon Feb 25 19:30:54 2002 Steve Huston * tests/Collection_Test.cpp: Moved the declaration of UglyThing to a new file, Collection_Test.h. Visual Age C++ needs it in a separate file to do auto template instantiation. * tests/Collection_Test.h: New file. Mon Feb 25 19:27:41 2002 Steve Huston * ace/Log_Msg.cpp (log): In handling for %t, fixed the feature test that changes behavior for AIX 4.2 and earlier. This section missed my long-time-ago change to the AIX OS version constants, and ended up being used for all AIX versions which is wrong. Thanks to Yan Dai for reporting this problem. * THANKS: Added Yan Dai to the Hall of Fame. Mon Feb 25 19:16:12 2002 Johnny Willemsen * docs/tutorials/007/thread_pool.{h|cpp}: * docs/tutorials/007/page07.html: * docs/tutorials/007/page08.html: * docs/tutorials/013/mld.h: * docs/tutorials/013/page03.html: * docs/tutorials/017/Barrier_i.h: * docs/tutorials/017/page03.html: * docs/tutorials/018/page03.html: Added missing include of 'ace/Atomic_Op.h' Mon Feb 25 18:51:37 2002 Johnny Willemsen * tests/Makefile.bor: Added new Token_Strategy_Test * tests/Token_Strategy_Test.cpp: Fixed small compile error that appeared with the BCB compiler Mon Feb 25 17:17:37 2002 UTC Don Hinton * ace/Select_Reactor.h: * ace/Select_Reactor_Base.h: * ace/Select_Reactor_T.h: Added a new typedef, ACE_SELECT_TOKEN, to Select_Reactor_Base.h so that the choice of TOKEN type can be made prior to typedefing the class. This allows the use of the TOKEN type within the paramaterized class, i.e., ACE_Select_Reactor_Token_T and ACE_Select_Reactor_T. Otherwise you get an error on some compilers, e.g., M$VC, that complain about generic types. Mon Feb 25 15:53:56 2002 UTC Don Hinton * ace/Synch.i (queueing_strategy): Added ACE_UNUSED_ARG for unused queueing_strategy parameter, thanks to Craig Rodrigues for pointing this out. Mon Feb 25 09:17:39 2002 Chris Cleeland * ace/SSL/SSL_Context.cpp (dh_params): Wrapped the second argument to ACE_OS::fopen with ACE_TEXT so that it behaves properly on wide character platforms. Thanks to Craig Rodrigues for pointing this out and Ossama Othman for explaining the difference btw. ACE_TEXT and ACE_LIB_TEXT. Mon Feb 25 13:50:43 2002 UTC Don Hinton * ace/Token.{h|i|cpp}: Added the ability to chose the queueing strategy, FIFO or LIFO, by using the queueing_strategy() methods. The default is FIFO, which was the previous behavior. Now ACE_Token_Queue::insert_entry() is always called with the queueing_strategy in order to determine where the thread should requeue itself. * ace/Synch.{h|i}: Added queueing strategy methods to ACE_Noop_Token. * ace/Select_Reactor_T.{h|cpp}: * ace/TP_Reactor.{h|cpp}: Added QUEUEING_STRATEGY parameter to ACE_Select_Reactor_Token_T, ACE_Select_Reactor_T, and ACE_TP_Reactor ctors with FIFO default. * tests/Token_Strategy_Test.cpp : * tests/Makefile : * tests/run_test.lst: Added new Token_Strategy_Test.cpp to test the FIFO/LIFO strategies. Mon Feb 25 13:44:12 2002 Johnny Willemsen * docs/tutorials/018/Test_T.h: Added missing include of Atomic_Op.h Fri Feb 22 15:54:32 2002 Craig Rodrigues * ace/Refcounted_Auto_Ptr.h: Fix comment, thanks to Serge Kolgan . Fri Feb 22 09:31:35 2002 Craig Rodrigues * ace/QoS/QoS_Session_Factory.h (ACE_QoS_Session_Type): Change "const static" to "static const" to remove gcc 3.1 warning. Fri Feb 22 08:07:12 2002 Johnny Willemsen * ace/Makefile.bor: Added String_Base.cpp and Atomic_op.cpp to the list of files that must be installed when doing a make install. Thanks to Cyrille Chépélov for reporting that these files missed. Thu Feb 21 16:33:11 2002 Douglas C. Schmidt * docs/tutorials/007: Rename Thread_Pool::open() to Thread_Pool::start() and Thread_Pool::close() to Thread_Pool::stop() and fixed all the usages. Also removed the unneeded parameter from stop() and removed the unneeded re-definition of close() (since we are not shadowing it any more). Thanks to Peter Heitman for reporting this. Thu Feb 21 13:12:44 2002 Chris Cleeland * ace/SSL/SSL_Context.* (ACE_SSL_Context): Added new methods to specify Diffie-Hellman parameters. These parameters are required when using DSA certificates/keys. The new methods are dh_params, dh_params_file_name, and dh_params_file_type. Thu Feb 21 09:32:56 2002 Douglas C. Schmidt * ace/TTY_IO.cpp (control): Use the appropriate B* macros to set all the baudrate cases. Thanks to Olli Savia for contributing this. * ace/Signal.cpp (dispatch): Added a cast of (ACE_SignalHandler) to the SIG_DFL parameter so things will work on IRIX 6.5 with GCC 3.0.1. Thanks to Dan Green for reporting this. Thu Feb 21 13:09:13 2002 Craig Rodrigues * ace/streams.h: strstream was deprecated in the 1998 ISO C++ standard [D.7 depr.str.strstreams], and has been replaced by sstream. Including or causes annoying warnings with gcc 3.1. Since strstream and sstream are not used internally within ACE or TAO, remove includes for strstream, and let the developer include them in their own code. Wed Feb 20 15:26:43 2002 Phil Mesnier * apps/soreduce/Library.cpp: * apps/soreduce/Library.h: * apps/soreduce/Makefile: * apps/soreduce/Obj_Module.cpp: * apps/soreduce/Obj_Module.h: * apps/soreduce/README: * apps/soreduce/SO_Group.cpp: * apps/soreduce/SO_Group.h: * apps/soreduce/Sig_List.cpp: * apps/soreduce/Sig_List.h: * apps/soreduce/Signature.cpp: * apps/soreduce/Signature.h: * apps/soreduce/soreduce.cpp: New application to assist in production of reduced footprint shared libraries for specific collections of applications. For more details see the enclosed README. Wed Feb 20 14:18:14 2002 Phil Mesnier * ace/Process.cpp: * ace/Process.h: Added a new method ACE_Process_Options::release_handles() to fix the trouble of using a pipe as stdout, where the pipe closes completely when the child terminates. This method replaces some functionality in the Process options destructor. Wed Feb 20 13:01:25 2002 Douglas C. Schmidt * ace/Atomic_Op.i: Fix the return value of the ACE_GUARD_RETURN macros so that if the lock fails, the comparison also fails. Thanks to Ivan Pia for reporting this. Wed Feb 20 17:00:34 2002 Balachandran Natarajan * include/makeinclude/platform_sunos5_sunc++.GNU: Users who use 5.2 and above could use native exceptions with inlining turned on. Thanks to Ken O'Brien for reporting this problem. * THANKS: Added Ken O'Brien to the hall of fame. Mon Feb 18 23:17:08 2002 Christopher Kohlhoff * ACEXML/parser/parser/Makefile.bor: Changed library name for the Borland build to be consistent with the UNIX build. * include/makeinclude/ace_flags.bor: Added macros for the ACEXML Parser library. * ACEXML/examples/Makefile.bor: * ACEXML/examples/SAXPrint/Makefile.bor: Added Borland makefiles for the SAXPrint example. Mon Feb 18 20:16:27 2002 Douglas C. Schmidt * ace/Acceptor.cpp (make_svc_handler): * ace/Connector.cpp (make_svc_handler): There doesn't seem to be anypoint in *conditionally* assigning the Acceptor/Connector's reactor to the Svc_Handler, so we'll just assign it... Mon Feb 18 18:41:33 2002 Steve Huston Integrated the following from the ACE 5.2 stream: Wed Feb 13 15:37:41 2002 Steve Huston * ace/Hash_Cache_Map_Manager_T.h: Added #include "ace/Synch.h" to pick up ACE_Null_Mutex. * tests/Process_Manager_Test.cpp: Added #include "ace/Thread.h" to pick up ACE_Thread::self (). * tests/Refcounted_Auto_Ptr_Test.h (new file): * tests/Refcounted_Auto_Ptr_Test.cpp: Moved definition of Printer from .cpp to .h so Visual Age C++ can find it when instantiating templates. Also removes the compile warning where the compiler warns that the test won't work... Tue Feb 12 21:59:42 2002 Steve Huston * include/makeinclude/platform_aix_ibm.GNU: Added -qstaticinline to CCFLAGS to tell compiler to generate inlined functions with static scope instead of extern scope (how stupid is this?). Removed error suppression options which should be unnecessary now. Sat Feb 9 18:34:59 2002 Steve Huston * examples/C++NPv1/Reactive_Logging_Server_Ex.h: Removed an extra master_handle_set_.set_bit call. Thanks to Craig Perras for reporting this. Sat Feb 9 13:49:44 2002 Steve Huston * ace/Hash_Map_With_Allocator_T.h: Added #include "ace/Synch.h" to see the definition of ACE_Null_Mutex. * ace/config-all.h (ACE_RCSID): Make generated function static to keep Visual Age C++ from complaining about the multiple definitions. Fri Feb 8 16:20:51 2002 Steve Huston * ace/config-aix-4.x.h: Removed #define ACE_TEMPLATES_REQUIRE_SOURCE for Visual Age C++ 5. As it turns out, wherever the compiler sees source and a template is referenced, it generates the template class functions used. This is very bad for size as well as for situations counting on only one such as ACE_Singleton. Also added support for explicit template instantiation with Visual Age C++. If the preprocessor define __TEMPINC__ is not defined, explicit instantiation is turned on. Mon Feb 4 17:21:39 2002 Steve Huston * ace/Singleton.h (ACE_TSS_Singleton): Added ACE_UNIMPLEMENTED_FUNCS for assignment and copy ctor methods. This is necessary to allow the *_SINGLETON_DECLARE macro, that explicitly instantiates a template class on Win32, to compile clean when instantiating an ACE_TSS_Singleton class. Thanks very much to Nanbor Wang for direction on solving this problem. * ace/config-win32-msvc-6.h: Added ACE_NEEDS_FUNC_DEFINITIONS. This avoids warnings when explicitly instantiating an entire class, as with ACE_TSS_Singleton and *_SINGLETON_DECLARE, above. Mon Feb 18 18:23:49 2002 Steve Huston * ace/Reactor.h: Clarified behavior with respect to remaining queued notifications when end_reactor_event_loop() is called or when the reactor instance is closed/deleted. Mon Feb 18 19:28:12 2002 Johnny Willemsen * ace/README: * ace/Proactor.cpp: * ace/SString.h: * ace/Task_T.h: * ace/Timer_Queue_Adapters.h: * ace/config-win32-msvc-7.h: * netsvcs/lib/Client_Logging_Handler.h: * netsvcs/lib/Name_Handler.h: * netsvcs/lib/TS_Clerk_Handler.h: * netsvcs/lib/TS_Server_Handler.h: Made ACE compiling with the Microsoft Visual C++ 7 compiler. Template classes cannot be exported when doing a dynamic build, so removed some export macro's from template definitions. When a class is derived from a class template then the class template must be explicit instantiated and be exported. To make sure that we only do this when a compiler supports this we introduced the new define ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION_EXPORT. Also vc++ 7 generates now a warning when a class is exported is derived from a class that is not exported. The following info was given by Microsoft on this: The reason that a template can't be exported anymore is that it is unlikely that anyone wants to export all specializations of a class template. When B is a template and D is a class, the construction 'class ACE_Export D : public B' should give no problems, but unfornately there is a bug in the vc++ compiler. That's why we now explicit export the template instantations in ace. Mon Feb 18 11:00:17 2002 Nanbor Wang * html/index.html: Added an entry for ACEXML document. * ace/OS.h: Removed the extern "C" link designator from the typedef of ACE_Service_Object_Exterminator and the definition of gobbler functions in ACE_FACTORY_DEFINE. They are not used outside of a DLL so it's okay to have a mangled gobbler name. Thanks to Doug for noticing this. Mon Feb 18 11:12:39 2002 Steve Huston * ace/Refcounted_Auto_Ptr.h: Improved Doxygenation of some comments. Mon Feb 18 10:45:00 2002 Craig Rodrigues * ace/QoS/QoS_Session_Factory.h: Add new constant ACE_QoS_Session_Factory::ACE_DEFAULT_QOS_SESSION. Give ACE_QoS_Session_Factory::create_session() a default argument of ACE_DEFAULT_QOS_SESSION. * ace/QoS/QoS_Session_Factory.cpp: Set the value of ACE_DEFAULT_QOS_SESSION to ACE_RAPI_SESSION on platforms with RAPI RSVP support. Set it to ACE_GQOS_SESSION on Win32 platforms with GQoS support. Otherwise, issue a compilation error, since these are the only two QoS types supported currently. * examples/QOS/Change_Receiver_FlowSpec/receiver.cpp: * examples/QOS/Change_Receiver_FlowSpec/sender.cpp: * examples/QOS/Change_Sender_TSpec/receiver.cpp: * examples/QOS/Change_Sender_TSpec/sender.cpp: * examples/QOS/Simple/receiver.cpp: * examples/QOS/Simple/sender.cpp: Remove reference to ACE_RAPI_SESSION from invocations of create_session(), leave it empty and choose default argument instead. This will allow the examples to compile and run on Win32. Mon Feb 18 08:07:59 2002 Douglas C. Schmidt * ace/String_Base.{h,i}: Added two new overloaded operators that work on characters. Thanks to Martin Krumpolec for contributing these patches. Mon Feb 18 13:05:12 2002 Johnny Willemsen * ace/config-all.h: Added ACE_NEW_NORETURN macro. This macro is the same as ACE_NEW but doesn't do a return when an out of memory error occured so that the caller can do extra handling. * tests/New_fail_test.cpp: Extended this test to test the new ACE_NEW_NORETURN macro. Mon Feb 18 01:45:07 2002 Christopher Kohlhoff * include/makeinclude/compiler.bor: * include/makeinclude/make_flags.bor: Added support for Borland C++Builder 6. Sun Feb 17 16:32:01 2002 Venkita * ACE version 5.2.2 released. Sun Feb 17 16:03:03 2002 Nanbor Wang * etc/acexml.doxygen: Fixed the output directory name for ACEXML. Fri Feb 15 10:50:26 2002 Venkita Subramonian * ace/Dynamic_Service.h: Fixed compile error. Added forward declaration for ACE_Service_Object. Thu Feb 14 19:10:04 2002 Douglas C. Schmidt * ace/Refcounted_Auto_Ptr.h: Make the rep_ protected rather than private. Rodney Morris for motivating this. Thu Feb 14 15:26:06 2002 Douglas C. Schmidt * ace/Dynamic_Service.i (instance): Fixed instance to use an ACE_dynamic_cast() so that the vptr is set correctly. Thanks to Bill Dyer for suggesting this. Thu Feb 14 16:15:50 2002 Balachandran Natarajan * COPYING: Updated copyright years. Thu Feb 14 11:25:39 2002 Nanbor Wang * ACEXML/docs/bugs.txt: * ACEXML/docs/guidelines.txt: Updated document. Thu Feb 14 08:17:40 2002 Douglas C. Schmidt * ace/config-all.h: There was a subtle difference between the ACE_NEW based on try/catch and a 0 pointer. The version based on the fact that new can return 0 always sets the pointer to 0 when a memory error occured. The version that is based on try/catch the pointer wasn't set to 0. If the pointer had a different value, the pointer stays at the old value and wasn't set to 0. This is now fixed. Thanks to Peter van Merkerk for noticing this and to Johnny Willemsen for reporting it. * ace/Strategies_T.h: * ace/Strategies_T.i: Allow the reactor of the Svc Handler to be set to the reactor passed to the Creation Strategy. Thanks to David Smith for motivating this. Thu Feb 14 01:14:40 2002 Nanbor Wang * include/makeinclude/ace_flags.bor: Updated ACE_XML_CFLAGS. Thanks to Johnny Willemsen for reminding this. Thu Feb 14 01:01:10 2002 Nanbor Wang * ACEXML/ACEXML.dsw: * ACEXML/common/XML_Common.dsp: * ACEXML/examples/SAXPrint/SAXPrint.dsp: * ACEXML/parser/debug_validator/Debug_Validator.dsp: * ACEXML/parser/parser/Parser.dsp: * ACEXML/tests/NamespaceSupport_Test.dsp: * ACEXML/tests/Transcoder_Test.dsp: Updated base include directories. Thu Feb 14 00:20:39 2002 Nanbor Wang * Makefile: * Makefile.bor: * ACEXML/common/Attributes.h: * ACEXML/common/AttributesImpl.cpp: * ACEXML/common/AttributesImpl.h: * ACEXML/common/Attributes_Def_Builder.cpp: * ACEXML/common/Attributes_Def_Builder.h: * ACEXML/common/CharStream.cpp: * ACEXML/common/CharStream.h: * ACEXML/common/ContentHandler.h: * ACEXML/common/DTDHandler.h: * ACEXML/common/DTD_Manager.cpp: * ACEXML/common/DTD_Manager.h: * ACEXML/common/DefaultHandler.cpp: * ACEXML/common/DefaultHandler.h: * ACEXML/common/Element_Def_Builder.cpp: * ACEXML/common/Element_Def_Builder.h: * ACEXML/common/EntityResolver.h: * ACEXML/common/Env.cpp: * ACEXML/common/Env.h: * ACEXML/common/ErrorHandler.h: * ACEXML/common/Exception.cpp: * ACEXML/common/Exception.h: * ACEXML/common/FileCharStream.cpp: * ACEXML/common/FileCharStream.h: * ACEXML/common/InputSource.cpp: * ACEXML/common/InputSource.h: * ACEXML/common/Locator.h: * ACEXML/common/LocatorImpl.cpp: * ACEXML/common/LocatorImpl.h: * ACEXML/common/Makefile: * ACEXML/common/NamespaceSupport.cpp: * ACEXML/common/NamespaceSupport.h: * ACEXML/common/SAXExceptions.cpp: * ACEXML/common/SAXExceptions.h: * ACEXML/common/Transcode.cpp: * ACEXML/common/Transcode.h: * ACEXML/common/Validator.cpp: * ACEXML/common/Validator.h: * ACEXML/common/XMLFilter.h: * ACEXML/common/XMLFilterImpl.cpp: * ACEXML/common/XMLFilterImpl.h: * ACEXML/common/XMLReader.h: * ACEXML/common/XML_Types.h: * ACEXML/examples/SAXPrint/Makefile: * ACEXML/examples/SAXPrint/Print_Handler.h: * ACEXML/examples/SAXPrint/SAXPrint_Handler.h: * ACEXML/examples/SAXPrint/main.cpp: * ACEXML/parser/debug_validator/Debug_Attributes_Builder.cpp: * ACEXML/parser/debug_validator/Debug_Attributes_Builder.h: * ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp: * ACEXML/parser/debug_validator/Debug_DTD_Manager.h: * ACEXML/parser/debug_validator/Debug_Element_Builder.cpp: * ACEXML/parser/debug_validator/Debug_Element_Builder.h: * ACEXML/parser/debug_validator/Element_Tree.cpp: * ACEXML/parser/debug_validator/Element_Tree.h: * ACEXML/parser/parser/Entity_Manager.cpp: * ACEXML/parser/parser/Entity_Manager.h: * ACEXML/parser/parser/Makefile: * ACEXML/parser/parser/Parser.cpp: * ACEXML/parser/parser/Parser.h: * ACEXML/tests/Makefile: * ACEXML/tests/NamespaceSupport_Test.cpp: * ACEXML/tests/Transcoder_Test.cpp: * etc/acexml.doxygen: Renamed directory XML to ACEXML and moved the base directory to include XML related files to $(ACE_ROOT). Thanks to Johnny Tucker for the suggestion. Wed Feb 13 17:42:32 2002 Balachandran Natarajan * ace/Configuration.cpp (operator=): Fixed a warning in g++ builds. Stupid mistake on my part :(. Wed Feb 13 12:45:06 2002 Balachandran Natarajan * ace/Configuration.cpp: * tests/Config_Test.cpp (iniCompare): Fixed memory leaks. Thanks to Johnny willemson for providing the patches. Wed Feb 13 11:46:54 2002 Nanbor Wang * XML/parser/parser/Makefile: Added a library (-lACEXML) to link to. Thanks to John Michael Zorko for reporting this. Tue Feb 12 20:30:53 2002 Douglas C. Schmidt * ace/WIN32_Proactor.cpp (handle_events): When the proactor was called by the reactor in handle_signal() this method should loop till all events are done. But the loop never got executed twice because handle_events returned 1 on success and the loop exits. To catch more than one notifications handle_events should be called again. Even if the loop is executed twice and no more events are outstanding handle_events should return 0 and not -1 when calling with timeout 0. Calling GetQueuedCompletionStatus with timeout value 0 returns FALSE and errno "ERROR_SUCCESS". This check has to be added to handle_events and 0 has to be returned. Thanks to Hartmut Quast for reporting this. Tue Feb 12 16:18:59 2002 Ossama Othman * tests/Proactor_Test.cpp (logflag): * tests/TP_Reactor_Test.cpp (logflag): Removed these unused global variables. Fixes an unused variable warning. Tue Feb 12 11:50:18 2002 Nanbor Wang * bin/pippen.pl: Applied a patch from "the source" to fix a problem in determining project dependencies. Tue Feb 12 09:37:56 2002 Ossama Othman * ACE-INSTALL.html: Corrected EGCS documentation. Native exception support is now the default. [Bug 1149] G++ 2.7.x is no longer supported. Updated accordingly. Mon Feb 11 16:31:04 2002 Ossama Othman * bin/make_pretty.pl (is_warning): Do not flag Fuzz's "#pragma warning(push)/(pop)" test title as a warning. Mon Feb 11 13:49:35 2002 Ossama Othman * bin/fuzz.pl (check_for_push_and_pop): New test that verifies the number of #pragma warning(push) pragmas matches the number of #pragma warning(pop) pragmas. * examples/IPC_SAP/SSL_SAP/SSL-client.cpp (shared_client_test): * examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp (shared_client_test): Do not convert the buffer length to network byte order when allocating the buffer. Fixes excessive memory allocation. This was apparently a cut-n-paste bug. Thanks to M Schulze . * THANKS: Added M Schulze to the Hall of Fame. Mon Feb 11 05:42:02 2002 Balachandran Natarajan * ace/Connector.h: Fixed a typo in the coments. Thanks to Miljenko Norsic (ETK) for reporting this. Sun Feb 10 16:28:30 2002 Douglas C. Schmidt * ace/config-macosx.h * ace/config-freebsd.h * ace/config-freebsd-pthread.h * ace/TTY_IO.cpp: * TODO: Removed the ACE_USES_HIGH_BAUD_RATES macro since it no longer seems to be necessary. Thanks to Olli Savia for reporting this. * ace/TTY_IO.cpp: Replaced the two strcmp() calls with one strcasecmp(). Thanks to Olli Savia for reporting this. Sat Feb 9 15:17:45 2002 Balachandran Natarajan * bin/make_release: Changed the path of gv as a new version of GV was installed on deuce.doc. The old version had less colors and it started mapping them to a smaller range. The graphs looked very ugly. The new version fixes the problem and hence a change in path. Fri Feb 8 22:56:29 2002 Balachandran Natarajan * ace/Log_Msg.cpp (log): Fixed a warning in TRU 64 builds. Fri Feb 8 14:54:21 2002 Douglas C. Schmidt * apps/JAWS2/Makefile (LDFLAGS): * apps/JAWS2/HTTPU/Makefile (LDFLAGS): Fixed some makefile bugs so that this stuff compiles on AIX. Thanks to Steve Ige for reporting this. Thu Feb 7 18:13:03 2002 Douglas C. Schmidt * tests/ACE_Init_Test.cpp (wait_and_kill_dialog): Replaced the call to EndDialog() with EndModalLoop() to fix a race condition. Thanks to Petru Marginean for reporting this. Fri Feb 8 14:02:06 2002 Balachandran Natarajan * THANKS: Added Marco Kranawetter to the hall of fame. Fri Feb 08 11:24:36 2002 Nanbor Wang * ace/String_Base.h: * ace/Task_T.h: Removed the ACE_Export decl from ACE_Task and ACE_String_Base. They were added as work-aronds for a VC7's internal compiler bug but didn't seem to solve the problem. Thanks to Patrick Bennett , Johnny, and Christian Veleba for reporting this. Thu Feb 7 16:19:39 2002 Steve Huston * ace/config-all.h: Define new macros, ACE_nothrow and ACE_nothrow_t, to decide which variety of nothrow is used in new (nothrow). At this point, HP aC++ is the only platform defined to use this feature, so that's the only section that defines it. * ace/Svc_Handler.(cpp h): * examples/Shared_Malloc/test_persistence.cpp: Use the new ACE_nothrow[_t] macros in overridden operator new. Thu Feb 7 14:11:31 2002 Douglas C. Schmidt * ace/Singleton.cpp (close): Fixed the implementation so that the ACE_Unmanaged_Singleton's internal singleton point is reset to 0 after cleanup to avoid double-deletion. Thanks to Marc Walrave for this fix. Thu Feb 7 07:52:47 2002 Douglas C. Schmidt * ace/Activation_Queue.{h,i}: Added get/set methods to access/update the underlying ACE_Message_Queue so users can call methods on the queue directly if necessary. Thanks to Timothy Kilbourn for reporting this. Tue Feb 5 07:25:49 2002 Douglas C. Schmidt * tests/TP_Reactor_Test.cpp: Improved the comments to clarify the differences between this test and the Thread_Pool_Reactor_Test.cpp. Thanks to Alex Libman for explaining this. Thu Feb 7 08:16:24 2002 Oliver Kellogg * ACE-INSTALL.html: Document the include_env=1 make switch. * docs/exceptions.html: Replaced the "Transition from TAO_TRY to ACE_TRY" section with "Transition from ACE_TRY_ENV usage to ACE_ENV_ARG". Wed Feb 6 06:57:35 2002 Balachandran Natarajan * tests/run_test.lst: Disabled TP_Reactor_Test as the test is hanging. Tue Feb 5 11:59:00 2002 Craig Rodrigues * tests/TP_Reactor_Test.cpp (disable_signal): Eliminate unused arguments warning on Win32 platforms. Mon Feb 4 16:22:20 2002 Craig Rodrigues * ace/OS.h: Include instead of if ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB is defined. Mon Feb 4 19:58:03 2002 Boris Kolpackov * ace/Log_Msg.cpp: Fixed minor bug in what's just commited before. Thanks to Craig Rodrigues for pointing it out. Mon Feb 4 14:11:14 2002 Boris Kolpackov * ace/Log_Msg.h: * ace/Log_Msg.cpp: Added ability to install custom backend which is a per-process entity as opposite to callback which is a per-thread not-inheritable entity. Sun Feb 3 17:59:36 2002 Krishnakumar B * ace/config-sunos5.5.h (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION): Explicitly defined the above macro as this is needed for SunOS gcc to work. This was inside a __SUNPRO_CC #ifdef. I missed that in my previous change. This should fix the builds under SunOS gcc. Sun Feb 3 18:32:29 2002 Craig Rodrigues * tests/TP_Reactor_Test.cpp: Use size_t instead of long and int for index_ and sessions_ in order to eliminate more compiler warnings. Sun Feb 3 09:20:04 2002 Douglas C. Schmidt * tests/TP_Reactor_Test.cpp: Fixed a bunch of warnings. Thanks to Venkita for reporting this. Sun Feb 3 08:22:28 2002 Venkita Subramonian * tests/Makefile: Regenerated makefile to create dependencies for TP_Reactor_Test. Sun Feb 3 08:05:12 2002 Venkita Subramonian * tests/TP_Reactor_Test.dsp (RSC): Regenerated the file in MSVC++. Sun Feb 3 11:16:12 2002 Johnny Willemsen * tests/TP_Reactor_Test.cpp: Fixed compile error in BCB unicode build Sat Feb 2 07:45:51 2002 Douglas C. Schmidt * tests/run_test.lst: * tests/TP_Reactor_Test.dsp: * tests/Makefile.bor: * tests/Makefile: Added the TP_Reactor_Test. * tests/TP_Reactor_Test.cpp: Added another test of the ACE_TP_Reactor. Thanks to Alex Libman for contributing this. * ace/config-irix6.x-common.h: IRIX 6.5 supports AIO, so we'll enable these features. Thanks to Alex Libman for validating this. * ace/Select_Reactor_T.cpp: Fixed work_pending() so that it takes into account pending timers that need to be expired. Thanks to Russ Noseworthy for reporting this. * ace/Select_Reactor_T.cpp: Simplified the logic for calculating timeouts in wait_for_multiple_events(). * ace/Process.{h,i,cpp}: When using ACE_Process_Options with the inherit_environment set to off, i.e., ACE_Process_Options opts (0), ACE_Process::spawn() was improperly setting the environment in the child's process after fork (), before exec (). Changed ACE_Process::spawn to check for the inherit_environment flag, and to use the execve () call instead of execvp () if inherit_environment is false. Thanks to James Risinger for contributing this fix. * ace/Process.{h,i}: Added "const" to the various accessor methods. Sat Feb 2 00:01:36 2002 Venkita Subramonian * ace/config-sunos5.6.h: Added missing #endif. Fri Feb 1 23:42:03 2002 Venkita Subramonian * ace/config-all.h: Removed extra ). Fri Feb 1 21:08:37 2002 Steve Huston * tests/Framework_Component_Test.icc: * tests/Vector_Test.icc: New Visual Age C++ test configurations. * tests/tests.icp: Add new test configurations to the project. Fri Jan 1 19:33:49 2002 Steve Huston * ace/Vector.(h i cpp): Removed 'const' from the 2nd template argument (size_T DEFAULT_SIZE). A size_t is always const, and having const there causes errors from HP aC++. I'm not sure if they're completely legit, but Stroustrup 3rd Ed says the template argument is const anyway... if this is a problem, please let me know. Fri Feb 1 18:53:44 2002 Steve Huston * ace/ace.icc: Added Framework_Component.(h cpp) to the files list. Fri Feb 1 10:19:46 2002 Jeff Parsons * Thread_Manager.h: Removed extra '*/'. Fri Feb 01 00:00:12 2002 Nanbor Wang * ace/Task.h: * ace/Thread_Manager.h: Added more explanation on how to use the argument. Thanks to Petr Shelomovsky for motivating the change. Thu Jan 31 19:18:37 2002 Steve Huston * ace/NT_Service.{h cpp}: To avoid race condition at shutdown time, moved the call to report_status(SERVICE_STOPPED, 0) from the open() method to a new override of the fini() method. Setting status to SERVICE_STOPPED frees up Windows to do its own shutdown for the service, and that can't be allowed to commence until all ACE_NT_Service things are done. Thanks to Zoran Cetusic , Patrick Bennett and Felix Wyss from Interactive Intelligence, Inc. for diagnosing this problem and sending in a fix. * THANKS: Added Zoran Cetusic, Patrick Bennett, and Felix Wyss to the Hall of Fame. Thu Jan 31 17:00:52 2002 Balachandran Natarajan * ace/config-all.h: Need to include with all versions of SunCC compiler and not just CC 5.0, when the compiler is using compat mode 4. * ace/config-sunos5.6.h: Need to define ACE_LACKS_ACE_IOSTREAM when higher versions of CC are used with compat mode 4 and such. Thanks to Tim Rydell for the fixes. * THANKS: Added Tim Rydell to the hall of fame. Thu Jan 31 17:21:49 2002 Steve Huston * ace/Trace.cpp (constructor and destructor): Do not attempt trace output if ACE has not been initialized. There is too much not set up yet to bother trying. If you are on a platform with ACE_HAS_NONSTATIC_OBJECT_MANAGER (such as Windows) and you really, really need tracing in static objects, you should try #define ACE_HAS_NONSTATIC_OBJECT_MANAGER 0 in your config.h along with #define ACE_NTRACE 0. Beware, though, there are crocodiles lurking there - platforms defined to use non-static object manager are that way for good reason. Thank you to Shmulik Regev for reporting this. Thu Jan 31 13:32:07 2002 Nanbor Wang * XML/common/XML_Common.dsp: Fixed the LIB path to use relative path. Thu Jan 31 19:18:16 2002 Oliver Kellogg * include/makeinclude/wrapper_macros.GNU: Corrected placement of the include_env switch. include_env=1 is only sensible in combination with exceptions=1. NB: The include_env switch is only intended to facilitate transition to the ACE_ENV_ARG macros and should not be used for new applications. There will be unused-variable warnings when using this build configuration. Thu Jan 31 11:57:07 2002 Nanbor Wang * XML/parser/debug_validator/Debug_Attributes_Builder.cpp: * XML/parser/debug_validator/Debug_Element_Builder.cpp: Temporarily removed unused arguments. * XML/common/FileCharStream.cpp (get): Made sure the character read from the input file was converted to ACEXML_Char type correctly. Casted the read XML_Char before comparing it to 'EOF'. Thu Jan 31 13:06:12 2002 Boris Kolpackov * THANKS: Added Koushik Banerjee to the hall of fame. Wed Jan 30 22:41:39 2002 Krishnakumar B * include/makeinclude/platform_linux.GNU (CXX_VERSION): Made it work when someone wants to turn off the implicit template instantiation. Care should be taken to #define ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION in config.h also. Surprisingly the code compiles without that also... Wed Jan 30 17:22:49 2002 Steve Huston * ace/Process.cpp (wait (const ACE_Time_Value&, ACE_exitcode *)): * ace/Process_Manager.cpp (wait (pid_t, const ACE_Time_Value&, ACE_exitcode *)): The mechanism for waiting up to a specified time for a child process to exit has been replaced. Replaces the fix from: Fri Jan 25 19:58:41 2002 Steve Huston and makes unnecessary any further work from: Sat Jan 26 21:41:39 2002 Steve Huston Both classes now do a timed wait for a child by doing an ACE_OS::sleep, counting on being interrupted if a SIGCHLD is delivered. In ACE_Process_Manager when a reactor hasn't been specified, and always in ACE_Process, a temporary SIGCHLD handler is installed for the duration of the wait. This is necessary because the default SIGCHLD action on POSIX (and holds true for most non-Win32) is SIG_IGN, and SIGCHLD is not generated when a child process exits. Therefore, a handler is installed to force the SIGCHLD. It's not needed in ACE_Process_Manager when a reactor is in place because the reactor already has a handler for SIGCHLD. Wed Jan 30 15:11:49 2002 Krishnakumar B * include/makeinclude/platform_linux.GNU (CXX_VERSION): * ace/config-g++-common.h: Turned off explicit template instantiation with gcc under Linux. The specific versions are 2.95.x, 2.96, 3.0.x (3.x). Added a flag implicit_templates to tweak the behaviour from the platform_macros.GNU file. The combination of the compiler and binutils seems to give a nice reduction in the footprint. Wed Jan 30 16:00:39 2002 Steve Huston * ace/Process_Manager.cpp (register_handler): Replaced ECHILD with EINVAL if the pid is not found. Probably a more accurate assessment of the situation, and should compile clean on WinCE. Wed Jan 30 13:50:17 2002 Douglas C. Schmidt * docs/index.html: Fixed the ACE-inheritance.pdf document so it isn't gzipped. Thanks to Michael Searles for reporting this. Wed Jan 30 09:28:12 2002 Johnny Willemsen * XML/parser/debug_validator/Debug_Attributes_Builder.cpp: * XML/parser/debug_validator/Debug_DTD_Manager.cpp: * XML/parser/debug_validator/Debug_Element_Builder.cpp: * XML/parser/debug_validator/Element_Tree.cpp: Added missing ACE_LIB_TEXT. This fixes the BCB unicode build errors Tue Jan 29 20:11:21 2002 Balachandran Natarajan * etc/*.doxygen (EXPAND_AS_DEFINED): Added ACE_CACHE_MAP_MANAGER to the list in EXPAND_AS_DEFINED. Thanks to Don Hinton for the suggestion. Tue Jan 29 19:36:24 2002 Balachandran Natarajan * bin/make_release: The whole release process has been moved to Linux box. This is because the sun machines at WashU were having problems and they are not dependable. The following are the list of changes made - All the path related stuff have been changed ie. instead of using /pkg/gnu tools, we use native tools on Linux now. - The gnu suffixes to many of the tools have been removed. - Most of the path to the tools have been hardcoded in the PATH environment variabe. - Tools that were missing have been loaded on 3 main Linux boxes at WashU including Graphviz and doxygen. - A beta cannot be cut from a sun box. - The script will recommend cutting a beta from deuce.doc. The script has been tested with a dummy release. Tue Jan 29 16:01:54 2002 Ossama Othman * bin/fuzz.pl (check_for_missing_rir_env): Check for ACE_ENV_ARG_PARAMETER instead of TAO_ENV_ARG_PARAMETER. The latter is deprecated. Tue Jan 29 20:47:24 2002 Oliver Kellogg * docs/exceptions.html: Document the new ACE_ENV_ macros. * bin/subst_env.pl: Transform to ACE_ENV_ instead of TAO_ENV_. Tue Jan 29 08:39:24 2002 Oliver Kellogg * ace/CORBA_macros.h: Added ACE_ENV_ARG macros to replace the TAO_ENV_ARG macros defined in TAO/tao/orbconf.h. All exception related macros are now defined in ace/CORBA_macros.h, and the TAO_ENV_ARG macros will soon be deprecated. * include/makeinclude/wrapper_macros.GNU: Added the include_env switch for compatibility with the exception handling use before TAO 1.2.2. Tue Jan 29 08:17:12 2002 Johnny Willemsen * include/makeinclude/ace_flags.bor: Added compiler flags for new cosevent orbsvcs test library CECTEST Added compiler flags for new notify orbsvcs test library NotifyTests Mon Jan 28 17:44:51 2002 Steve Huston * ace/Process_Manager.cpp (wait): When waiting for a non-specific process, specify -1 pid for waitpid(). This is necessary because of Fri Jan 25 19:58:41 2002 Steve Huston change to not alter the process group ID when ACE_Process_Manager spawns a process. Timed waits for a process still don't work on non-Win32, but this fix corrects the failed wait with errno == ECHILD. Mon Jan 28 12:16:28 2002 Carlos O'Ryan * bin/auto_run_tests.lst: Removed EC_Basic and Event_Latency tests from nightly builds, I left them there by mistake when I took them out of the repository (around December, 25th 2001) Mon Jan 28 13:20:32 2002 Nanbor Wang * XML/common/AttributesImpl.cpp: Removed a bunch of inline designators. Sun Jan 27 22:18:50 2002 Nanbor Wang * bin/msvc_auto_compile.pl: Projects in XML subdirectory are interdependent. List out the order they should be built explicitly. Sun Jan 27 12:48:48 2002 Ossama Othman * bin/auto_run_tests.lst * bin/performance_stats.sh: Updated in accordance with the new TAO "Latency" performance test organization. Sun Jan 27 12:08:45 2002 Nanbor Wang * XML/common/Transcode.h (ACEXML_Transcoder): Improved the documentation. The followings fixed the Tru64 warnings/errors. * XML/common/AttributesImpl.i (operator): * XML/common/Env.i: Reordered inline functions. * XML/tests/Transcoder_Test.cpp: Removed an unused argument. * XML/common/Attributes_Def_Builder.h: Added inclusion of "ace/Auto_Ptr.h". * XML/examples/SAXPrint/SAXPrint_Handler.cpp: * XML/examples/SAXPrint/Print_Handler.cpp: Added inclusion of "ace/Log_Msg.h". Sun Jan 27 15:03:12 2002 Johnny Willemsen * Makefile.bor: Build the XML library with BCB * XML/parser/Makefile.bor: Added debug_validator * XML/parser/debug_validator/Makefile.bor: Added BCB makefile Sat Jan 26 19:02:49 2002 Ossama Othman * ace/Process_Manager.cpp (register_handler): Corrected code that always returned -1. Code that should only have been run on error was always run since it was outside of an "if block." Curly braces are a good thing (they were missing). Sat Jan 26 21:41:39 2002 Steve Huston * ace/Process_Manager.cpp (wait): Fixed compiler warning on Linux about unused wait_until. This fix removes the ability to spin around the 'for' loop waiting for signals multiple times with the timeout decreasing to account for wait time. Will have to come back to restore this functionality later. Sat Jan 26 14:40:12 2002 Johnny Willemsen * include/makeinclude/ace_flags.bor: Added compiler and linker flags for new XML library * XML/common/Makefile.bor: * XML/parser/parser.Makefile.bor: * XML/Makefile.bor: * XML/parser/Makefile.bor: * XML/tests/Makefile.bor: Added BCB makefiles for the new XML library. Fri Jan 25 19:58:41 2002 Steve Huston * ace/Process_Manager.cpp (wait(pid_t, const ACE_Time_Value &, ACE_exitcode *status)): If platform offers sigtimedwait, use it instead of setting ualarm and then doing sigwait. Once ualarm is set, it will fire, even if this method has returned. This causes Solaris processes to die on SIGALRM. Also, do not play with the process group ID by default. It's not needed for doing normal signal management by most processes. If processes really have a need to change or set a new process group, they need to do it explicitly by using ACE_OS::setpgid() or by setting a process group ID in an ACE_Process_Options object when spawning processes. * tests/Process_Manager_Test.cpp: Added a bit more diagnostic info. Fri Jan 25 18:29:37 2002 Steve Huston * ace/config-aix-4.x.h: Removed ACE_HAS_SIGTIMEDWAIT. It compiles, but returns ENOSYS at run time. * ace/config-aix5.1.h: Added ACE_HAS_SIGTIMEDWAIT. Fri Jan 25 15:36:40 2002 Nanbor Wang * ace/ace_dll.dsp: Removed /version flags from the project since they have been taken care of by ace.rc file. Thanks to Ossama for pointing it out. Fri Jan 25 14:45:00 2002 Venkita Subramonian * bin/auto_run_tests.lst: Added Two_Objects test to the list. Fri Jan 25 14:40:15 2002 Nanbor Wang * XML/common/Exception.cpp: * XML/common/NamespaceSupport.cpp: * XML/common/SAXExceptions.cpp: * XML/parser/parser/Parser.cpp: Moved the initialization of static members before the inclusion of inline files to avoid compilation erros on Borland compiler. Thanks to Johnny Willemsen for figuring this out. Fri Jan 25 14:31:06 2002 Nanbor Wang * XML/common/NamespaceSupport.cpp: * XML/parser/parser/Parser.cpp: Fixed several KCC warnings. Fri Jan 25 12:01:14 2002 Nanbor Wang The following changes fixed SunCC5.1 compilation errors. * XML/common/Makefile: * XML/parser/parser/Makefile: * XML/tests/Makefile: * XML/examples/SAXPrint/Makefile: Removed extra spaces for -I flags. * XML/common/Attributes_Def_Builder.h: Removed a redundant comma. * XML/common/NamespaceSupport.i: Changed ACE_TEMPLATE_METHOD_SPECIALIZATION to ACE_TEMPLATE_SPECIALIZATION. * XML/tests/NamespaceSupport_Test.cpp: String literals needed to be assigned to const char *. Fri Jan 25 09:42:12 2002 Ossama Othman * ace/ace_dll.dsp: Corrected inconsistency in the DLL minor version. The correct minor version for the ACE 5.2 series is "2," not "1." Fri Jan 25 11:21:28 2002 Nanbor Wang * bin/msvc_auto_compile.pl: Added XML into the list of auto build targets. Fri Jan 25 00:37:00 2002 Douglas C. Schmidt * We now have 1,400 contributors to the ACE+TAO software. Yow! Thu Jan 24 17:49:46 2002 Balachandran Natarajan * ace/CDR_Stream.i: Fixed the check for the length within ACE_InputCDR::read_*_array (). The method was checking just for length passed in, which happens to be the number of elements in the array, instead of the number of bytes necessary for the elements. Thanks to William R Volz for reporting this. * THANKS: Added William Volz to the hall of fame. Thu Jan 24 18:31:49 2002 Steve Huston * tests/Process_Manager_Test.cpp: Better diagnostics added. Thu Jan 24 15:14:52 2002 Nanbor Wang * ace/Lib_Find.cpp (ldfind): Restored previously removed Win32 code and re-organized macros so we wouldn't upset CE builds. Thu Jan 24 14:53:38 2002 Nanbor Wang * bin/generate_doxygen.pl: * etc/acexml.doxygen: Added the doxygen config file for XML subdirectory. * Makefile: Added XML subdirectory into the lists to be compiled and be included in the release. * XML/*: Merged in the XML parser code. Thu Jan 24 10:14:47 2002 Nanbor Wang * ace/ace_wchar.h: Added the definition for ACE_TEXT_SearchPath. * ace/Lib_Find.cpp (ldfind): Fixed UNICODE and Fuzz builds errors. Thanks to Johnny Willemsen for the fix. Wed Jan 23 16:48:54 2002 Nanbor Wang * ace/Lib_Find.h: * ace/Lib_Find.cpp (ldfind): Change to use Win32 API SearchPath to search for the target DLL and updated the document for ldfind in header file. Thanks to Eugene Alterman for submitting the patch. Wed Jan 23 14:01:32 2002 Ossama Othman * ace/config-lynxos.h (ACE_LACKS_INET_ATON): LynxOS does not implement the inet_aton() function. Wed Jan 23 16:37:52 2002 Steve Huston * ace/NT_Service.cpp (insert): If the CreateService call fails, be sure to save the error value before making another Win32 call that will smash it. Thanks to Kelly Hickel for reporting this. Also ACE-ified the source better. * examples/NT_Service/main.cpp: Added some ACE_ERROR output if operations requested from the command line fail. Wed Jan 23 16:14:43 2002 Boris Kolpackov * include/makeinclude/platform_sunos5_sunc++.GNU Added work around for famous Sun CC "pure virtual function called" bug. Unfortunately this involves introduction of yet another #define. See TAO/tao/ValueBase.h for more information. Tue Jan 22 21:27:25 2002 Balachandran Natarajan * ace/ace_dll.vcp: Add Frameork_Component.* to the builds. Thanks to Venkita for pointing it out. Tue Jan 22 17:42:39 2002 Steve Huston * ace/NT_Service.(h cpp): Added two new methods: void capture_log_msg_attributes (void): Grabs a copy of the calling thread's ACE_OS_Log_Msg_Attributes to facilitate inheritance of the logging attributes in the service thread. void inherit_log_msg_attributes (void): Called in a service thread, inherits the main thread's logging attributes. Modified the ACE_NT_SERVICE_RUN macro to capture the main thread's logging attributes before starting the service control dispatcher. Modified the ACE_NT_SERVICE_DEFINE macro to call inherit_log_msg_attributes if the ACE_NT_Service object for the service was set up before the thread started. Fixes Bugzilla # 82. * examples/NT_Service/main.cpp: * examples/NT_Service/ntsvc.cpp: Now writes a log file in the current working directory which should have messages from both main and service threads in it. Tue Jan 22 15:19:29 2002 Nanbor Wang * ace/DLL.cpp: Changed to invoke this->open() in the constructor. Thanks to Eugene Alterman for motivating this. Mon Jan 21 23:27:03 2002 Nanbor Wang * ace/OS.h: Reordered main redefinition macros so that it actually passed wchar argv to main when UNICODE is defined. Mon Jan 21 10:01:34 2002 Frank Hunleth * bin/auto_run_tests.lst: Added MIOP unit tests. Mon Jan 21 03:00:14 2002 Ossama Othman * ace/Framework_Component.cpp (register_component): Removed debugging statements that always printed text. Mon Jan 21 07:45:12 2002 Johnny Willemsen * ace/Framework_Component.cpp: Fixed fuzz error Mon Jan 21 00:13:42 2002 Christopher Kohlhoff * ace/streams.h: Workaround for Borland C++ 5.5.1 bug we have now just hit. Sun Jan 20 21:42:53 2002 Balachandran Natarajan * ace/Framework_Component.cpp: * ace/Framework_Component_T.cpp: Fixed fuzz errors. 2002-01-20 Oliver Kellogg * bin/subst_env.pl: New script to ease the transition to the TAO_ENV_ARG macros defined in TAO/tao/orbconf.h. Sun Jan 20 12:38:28 2002 Balachandran Natarajan * tests/Framework_Component_Test.dsp: New dsp file for the test. * tests/tests.dsw: Added the above test to the workspace. Sun Jan 20 12:25:28 2002 Balachandran Natarajan * ace/Framework_Component.h: Removed the definition of the default constructor (in ACE_UNIMPLEMENTED_FUNC definition). The other private constructor with a default argument tends towards a default constructor and VC++ signals a multiple definition error. Not sure how g++ didnt signal this one. * ace/Framework_Component_T.h: #include'd Framework_Component.h * ace/Framework_Component_T.cpp: Added a #ifndef around the file. * ace/ace_dll.dsp: * ace/ace_lib.dsp: Added the Framwork_Component* files to the project file. Sun Jan 20 10:40:28 2002 Nanbor Wang * tests/Vector_Test.dsp: * tests/tests.dsw: Added a new project for Vector_Test. Sun Jan 20 16:25:12 2002 Johnny Willemsen * ace/Makefile.bor: Added new Framework_Component * tests/Makefile.bor: Added new Framework_Component_Test Sun Jan 20 00:00:30 2002 UTC Don Hinton * ace/Vector_T.cpp (dump): Commented out the contents of this function for the time being. It assumed that the element was an object with a dump() method, which won't always be the case. * tests/Vector_Test.cpp: Changed a few data types from signed to unsigned, size_t, to get rid of compiler warnings. Sat Jan 19 17:29:50 2002 Douglas C. Schmidt * ace/Vector_T.cpp (dump): Fixed problems with this method. Thanks to Don Hinton for reporting this. * tests/Vector_Test.cpp: Changed the typedef of DATA from int to size_t to avoid "type mismatch" compiler warnings. Thanks to Don Hinton for reporting this. Sat Jan 19 22:30:26 UTC 2002 Don Hinton * apps/JAWS2/JAWS/Hash_Bucket_T.h: * apps/JAWS2/JAWS/Assoc_Array.h: Added missing keyword "class" to friend declarations. * ace/SString.cpp: Removed unneeded include of Service_Config.h. * ace/Service_Config.{h|cpp}: * examples/Connection/misc/Connection_Handler.cpp: Removed static methods from ACE_Service_Config that delegated to ACE_Reactor::instance(), and fixed a few instances where they were still called. * ace/Object_Manager.cpp: * ace/Service_Config.cpp: * ace/Proactor.cpp: * ace/Reactor.cpp: Added call to instance() methods that registers the singleton with the new ACE_Framework_Repository so it can handle destruction, and replaced explicit references to ACE_Reactor and ACE_Proactor with calls to ACE_Framework_Repository. * ace/Framework_Component.{h|inl|cpp}: * ace/Framework_Component_T.{h|inl|cpp}: * ace/Makefile: * tests/Framework_Component_Test.cpp: * tests/Makefile: * tests/run_test.lst: Added ACE_Framework_Repository to manage ACE_Framework_Component's, e.g., singletons like ACE_Reactor or ACE_Proactor. It uses External Polymorphism obviating any interface changes. The components register themselves with repository in their instance methods. This allows the Object_Manager and Service_Config to manage these components without having to know about them a priori. This was needed to reduce footprint for applications like TAO that don't need to use all the available components, e.g., ACE_Proactor. Sat Jan 19 10:23:39 2002 Douglas C. Schmidt * ace/Makefile (TEMPLATE_FILES): * tests/Makefile.bor: * tests/Makefile: * tests/run_test.lst: * ace/Vector_T.{h,i,cpp}: * tests/Vector_Test.cpp: Added support for the new ACE_Vector to the appropriate places. This vector behaves like the STL vector. Thanks to Gonzo and Craig Ching for contributing this. * ace/Future_Set.h: Updated the documentation to explain how various features work better. Thanks to Johnny Tucker for contributing this. Fri Jan 18 19:09:41 2002 Steve Huston * tests/run_test.lst: Re-enabled Process_Manager_Test for all but Chorus and VxWorks. Could not find a reason it was disabled. Also enabled Process_Mutex_Test on Win32. Fri Jan 18 16:44:29 2002 Steve Huston * ace/ace.icc: Added Reactor_Notification_Strategy.(h cpp) sources. * ace/Reactor_Notification_Strategy.cpp: Fixed ACE_RCSID to refer to Reactor_Notification_Strategy, not Strategies. * tests/Get_Opt_Test.icc: * tests/INET_Addr_Test.icc: New Visual Age C++ configs for these tests. * tests/tests.icp: Added Get_Opt_Test.icc and INET_Addr_Test.icc Fri Jan 18 12:56:36 2002 Douglas C. Schmidt * ace/Log_Msg.cpp (init_backend): Added support for SysLog on platforms that don't lack it. Thanks to Alexei I. Adamovich for reporting this fix. Fri Jan 18 10:29:06 2002 Ossama Othman * ace/Service_Config.h (process_file): * ace/Service_Config.cpp (process_directives, process_file): Factored out code that processes a svc.conf file into the new static process_file() method. This allows svc.conf files to be explicitly parsed by the application at any arbitrary point in time instead of Service Configuration initialization time alone. Thu Jan 17 18:51:09 2002 Douglas C. Schmidt * ace/Name_Space.cpp (operator =): Fixed a memory leak. Thanks to Ian Cahoon for reporting this. Thu Jan 17 12:13:51 2002 Ossama Othman * ace/SSL/SSL_Context.h (private_key, verify_private_key): Added new documentation. These methods should only be called after a certificate has been set since key verification is performed against the certificate, among other things. Thu Jan 17 13:11:27 2002 Chad Elliott * ace/Message_Queue.h: * ace/Message_Queue.cpp: * ace/Message_Queue_T.h: * ace/Message_Queue_T.cpp: Provide the ability to enqueue based on the message deadline and to dequeue based on priority, deadline and from the end. Wed Jan 16 11:24:52 2002 Priyanka Gontla * THANKS: Updated to add Gerhard Voss . Wed Jan 16 06:19:01 2002 Douglas C. Schmidt * ace/OS.i: Replaced "set" with "sset" in sigtimedwait() and sigwait() to avoid STL symbol clashes with MSVC++ 6.0. Thanks to Shmulik Regev for reporting this. Wed Jan 16 09:01:12 2002 Johnny Willemsen * ace/Containers_T.{h,cpp}: Added ACE_Fixed_Set_Const_Iterator to make it possible to iterate through a const ACE_Fixed_Set instance Wed Jan 16 07:53:12 2002 Johnny Willemsen * include/makeinclude/ace_flags.bor: Added new flags for the new TAO ETCL orbsvcs library Tue Jan 15 17:24:53 2002 Steve Huston * ace/SSL/SSL_Context.cpp (report_error()): Set ACE_OS::last_error() to ERR_get_error() so the caller can get the error code later. * ace/SSL/SSL_SOCK_Connector.cpp: If the SSL handshake phase of a connection attempt fails, close the underlying socket. Tue Jan 15 15:35:41 2002 Steve Huston * ace/SOCK_Connector.(h cpp): * ace/LSOCK_Connector.(h i cpp): * ace/MEM_Connector.(h cpp): * ace/SSL/SSL_SOCK_Connector.(h cpp): Improved the Doxygenation and removed the protocol_family and protocol arguments from the ctors and connect() methods. The protocol family is always taken from the ACE_Addr remote_sap argument since it can now be either PF_INET or PF_INET6 (for SOCK_Connector objects) and should be PF_UNIX for LSOCKs. It is pointless to allow the user to request something that is impossible to do correctly. Tue Jan 15 10:52:12 2002 Johnny Willemsen * include/makeinclude/ace_flags.bor: Added new flags for the new TAO PortableGroup library Mon Jan 14 14:40:25 2002 Carlos O'Ryan * bin/g++dep: Fixed small problems in the dependency generation: - The script did not properly handle files with '+' in their names. - In some cases the script generated escaped blanks, i.e. lines containing a blank preceded by a backslash. Such blanks are interpreted as part of a dependency name and break havoc with the builds. Mon Jan 14 16:49:37 2002 Steve Huston * ace/OS.h (ACE_STATIC_SVC_DEFINE): Corrected the documentation to say the service-implementing class must be derived from ACE_Service_Object, not ACE_Service_Config. Mon Jan 14 07:40:16 2002 Douglas C. Schmidt * ace/OS.i (mmap): There was a typo that prevented the ACE Memory Map stuff from working properly on Win9x. Thanks to Edan Ayal for reporting this. Sun Jan 13 18:59:37 2002 Douglas C. Schmidt * ace/Memory_Pool.{h,cpp}: Added a new option that makes is possible to control whether or not a fixed address will be used when remapping a memory-mapped file. Thanks to Jonathan Reis for this enhancement. Mon Jan 14 11:02:12 2002 Johnny Willemsen * include/makeinclude/ace_flags.bor: Added flags for new TAO FT_ORB library Sun Jan 13 08:20:05 2002 Craig Rodrigues * ace/config-all.h: Make sure that ACE_bad_alloc is defined as std::bad_alloc if ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB macro is set. Fixes gcc 3.0.3 compilation problem. Fri Jan 11 22:54:22 2002 Balachandran Natarajan * ace/config-lynxos.h: Added #define ACE_HAS_USING_KEYWORD to teh file. The compiler supports namespaces. According to the new rules at the doc_group, we dont use any compilers that dont support namespaces. The above macro is itself a waste. But we cannot remove it overnight as it has far reaching consequences. Working around that for the timebeing. Thu Jan 10 18:35:41 2002 Steve Huston * ace/Profile_Timer.h: Clarified that elapsed_time() calculates time from start() to stop(). Improved Doxygenation. Thu Jan 10 16:53:41 2002 Nanbor Wang * examples/Service_Configurator/IPC-tests/server/server.dsp: The Release version of the library needs to link in ADVAPI32.LIB as GetUserName is used in ACE's inline code. Wed Jan 9 22:07:50 2002 Douglas C. Schmidt * ace/Logging_Strategy.cpp (fini): Make sure to cancel the timer if interval_ and max_size_ are > 0. Thanks to Yaniv Ben Ari for reporting this. Wed Jan 9 11:38:58 2002 Ossama Othman * tests/SSL/Makefile (LDLIBS): Added missing SSL and crypto libraries. Fixed link errors. Thanks to Marvin Wolfthal for reporting the error and suggesting a fix. Wed Jan 9 12:24:39 2002 Steve Huston * ace/Process.cpp (spawn): Don't attempt ACE_OS::setpgid if ACE_LACKS_SETPGID is defined. Thanks to Victor Terber for reporting this. Wed Jan 09 11:19:07 2002 Nanbor Wang * ace/OS.h: Updated the comment for ACE_CE_Bridge to indicate that it's obsolete and will be removed in the future. Wed Jan 9 00:48:48 2002 Don Hinton * ace/Get_Opt.cpp: Make sure to cast away constness before deleting an ACE_TCHAR array. Thanks to Bala for reporting this. Tue Jan 8 17:29:33 2002 Steve Huston * ace/SSL/SSL_SOCK_Connector.cpp: Don't try to dereference a 0 timeout pointer. Gack. Thanks to Ossama for pointing this out. Tue Jan 8 15:51:06 2002 Don Hinton * ace/Get_Opt.cpp * ace/Service_Config.cpp: Moved the template instantiations from Service_Config.cpp to Get_Opt.cpp where they belong. * ace/Get_Opt.{h.cpp}: Replaced ACE_TString with ACE_TCHAR for type of member variable ACE_Get_Opt_Long_Option since it wasn't really needed and took up space. Tue Jan 8 10:43:48 2002 Ossama Othman * ace/config-sunos5.5.h (ACE_LACKS_INET_ATON): Solaris does indeed implement the inet_aton() function, but it is found in `libresolv.*'. It doesn't seem worth it to link another library just for that function. Just use the emulation in ACE that has been used for years. Tue Jan 8 11:31:22 2002 Steve Huston * tests/Makefile: When doing realclean, use the DLL_Test and Service_Config_DLL Makefiles to clean their files up. Tue Jan 8 08:36:33 2002 Steve Huston * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept): * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect): Corrected order of operations checking EWOULDBLOCK, and fixed compile errors. Thanks to Vlado Chovanec for this fix. Mon Jan 7 19:55:39 2002 Steve Huston * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept): * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect): Added extra check for SSL_accept/connect status failure to avoid looping on a bad socket if the socket closes during handshake. Thanks to Vlado Chovanec for this fix. Also added timeout countdown support for SSL_SOCK_Connector, same as in: Sun Jan 6 09:37:02 2002 Ossama Othman Mon Jan 7 15:55:26 2002 Ossama Othman * ace/INET_Addr.cpp (set): Pass a pointer to a "struct in_addr" to inet_aton(), i.e. the proper type, instead of a forcibly casted ACE_UINT32. Also updated existing code to use the in_addr::s_addr member instead of the previous ACE_UINT32 variable. Mon Jan 7 15:13:09 2002 Mayur Deshpande * performance-tests/Misc/context_switch_time.cpp (main): Since the Yield_test does seem to work on VxWorks now (see ChangeLog below), the 'ifdefs' for bypassing VxWorks for the Yield-Test have now been removed. Mon Jan 7 15:08:25 2002 Mayur Deshpande * ace/OS.i (thr_yield): Changed ::taskDelay (1) to ::taskDelay (0) for VxWorks in thr_yield (). The change with (0), now does seem to perform the yield correctly as reflected in the Yield-Test of context_switch_time. Thanks to Charlie Grames for this tip. Mon Jan 7 15:16:10 2002 Ossama Othman * ace/OS.h (INADDR_NONE): If the platform does not define this constant, then define it. * ace/OS.cpp (inet_aton): For some reason we were emulating inet_aton() on all platforms using the now deprecated inet_addr() function. Use the native inet_aton() function unless ACE_LACKS_INET_ATON is defined. Instead of performing a memcpy() of the IPv4 32-bit address into the in_addr data structure, simply assign it to the s_addr field of that data structure. It's not clear why we didn't do this in the first place. (inet_ntoa): Fixed PSoS emulation of this method. The result is supposed to be stored in a statically allocated string, not a dynamically allocated one. Fixes a memory leak. Note that this change makes the implementation non-reentrant. However, inet_ntoa() was not designed to be reentrant to begin with. * ace/OS.i (inet_addr): On error, inet_addr() is supposed to return INADDR_NONE. The return value should be a 32 bit unsigned integer, not a signed one. * ace/config-win32-common.h: MS Windows does not support the inet_aton() function. Define ACE_LACKS_INET_ATON. Mon Jan 7 12:20:26 2002 Ossama Othman * bin/auto_run_tests.lst: Added the MT_SSLIOP test to the regression test suite list. Sun Jan 6 21:19:10 2002 John Aughey * tests/run_test.lst: Uncommented out Conn_Test from daily builds. Sun Jan 6 21:09:10 2002 John Aughey * ace/INET_Addr.cpp: * ace/INET_Addr.h: Reverted to January 1 version until I have time to put the set_host_name() method in correctly. Sun Jan 6 20:01:10 2002 Balachandran Natarajan * tests/run_test.lst: Commented out Conn_Test from the daily builds. This test seems to hang blocking build progress. Have sent a mail to John Aughey on this. Sun Jan 6 09:37:02 2002 Ossama Othman * ace/SSL/SSL_SOCK_Acceptor.cpp (accept, ssl_accept): Take into account the time to complete the basic TCP handshake and the SSL handshake. Specifically, ACE_Countdown_Time is used to reduce the timeout value after each IO operation (e.g. accept(), SSL_accept()) used during SSL passive connection establishment. [Bug 1110] Commented out debugging statements. Sat Jan 5 20:57:36 2002 Venkita Subramonian * ace/Future.cpp (get): Added another ACE_const_cast in addition to Doug's changes to fix compile errors. See below. Sat Jan 5 14:57:36 2002 Craig Rodrigues * ace/OS_QoS.h: Fix comments, put in doxygen format. Sat Jan 5 08:59:41 2002 Douglas C. Schmidt * ace/Future.cpp (get): Added an ACE_const_cast() to silence certain C++ compilers. Thanks to Venkita for reporting this. Fri Jan 5 15:17:12 2002 Johnny Willemsen * ace/OS.{h,cpp}: Added ACE_TSS_Emulation::release_key() method to release a thread_key within the TSS_Emulation when a thread is stopped. Added ACE_TSS_Emulation::tss_keys_used_ member to administrate which thread_keys are used and which not. Added ACE_TSS_Keys::is_set() method to test whether a specific thread_key is marked as used. Changed ACE_TSS_Emulation::next_key() method to return a thread_key that is not used yet, this key is then marked as used at the same time. Changed ACE_OS::thr_keyfree() method to release the key in the TSS_Emulation when ACE_HAS_TSS_EMULATION is defined. These changes fix the bugzilla bugs 223 and 657. The ACE_TSS_Emulation now recycles keys that are released earlier. Fri Jan 4 19:59:03 2002 John Aughey * ace/INET_Addr.cpp: Fixed the new set_host_name method Fri Jan 4 18:59:27 2002 Balachandran Natarajan * ChangeLogs/ChangeLog-01b: Added a new file. Trimmed this file to have entries only in 2002. Fri Jan 4 15:50:42 2002 Steve Huston * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept): * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect): On ACE::select-reported timeout or failure, set status to return a -1 to caller, not 0. Thanks to Vladimir Chovanec for reporting this and sending a fix. Fri Jan 4 08:31:49 2002 Douglas C. Schmidt * tests/Thread_Manager_Test.cpp (test_task_record_keeping): Fixed a typo in an expression on line 226. Thanks to Harvinder Sawhney for reporting this. Fri Jan 4 05:51:22 2002 Douglas C. Schmidt * ace/Future.{h,cpp}: Made the get() and ready() methods const. Thanks to Ran Kohavi for reporting this. Fri Jan 4 15:06:31 2002 Steve Huston * ace/String_Base.h (operator=): Add to ACE_String_Base return type. Fixes compile error on IBM C/C++. * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept): If SSL_get_error() returns SSL_ERROR_SYSCALL and it's EWOULDBLOCK, don't blindly set both read and write handles for select. Check if SSL is indicating SSL_want_write() and set the proper handle. Also, don't ACE_ASSERT SSL_pending before return... if there's an SSL handshake screw-up (like someone trying to break in) just report the failure, don't abort/crash. Wed Jan 02 13:27:09 2002 Nanbor Wang * ace/INET_Addr.h: * ace/INET_Addr.cpp: Removed tabs and trailing whitespaces. Wed Jan 2 08:19:18 2002 Douglas C. Schmidt * ace/FILE_Connector.h, * ace/OS.h (ACE_OS): Clarified the weak semantics of O_APPEND on Win32. Thanks to Eugene Alterman for reporting this. Wed Jan 2 12:43:00 2002 John Aughey * ace/INET_Addr.h * ace/INET_Addr.cpp : Added set_host_name method and moved relevant code into this method. Changed signature of set_address method to take a void pointer rather than a char *. Wed Jan 2 12:30:01 2002 Chris Gill * ace/RB_Tree.i * tests/RB_Tree_Test.cpp : added check for valid current node to forward_i and reverse_i methods of iterator base class. Thanks to Craig L. Ching for reporting this! Wed Jan 2 08:19:18 2002 Douglas C. Schmidt * tests/README: Clarify that run_test.pl should be used rather the run_tests.sh. * tests/run_tests.bat: Clarify that run_test.pl should be used on Win9x. Thanks to Edward A Thompson for prompting this. Wed Jan 2 07:37:01 2002 Balachandran Natarajan * ace/Handle_Set.h: * ace/Handle_Set.cpp: Added a method reset_state () to the ACE_Handle_Set_Iterator class. Tue Jan 2 11:39:12 2002 Johnny Willemsen * ace/OS.i: Added missing ACE_UNUSED_ARG in ACE_OS::event_timedwait Tue Jan 1 15:36:39 2002 Steve Huston * include/makeinclude/platform_sunos5_sunc++.GNU: Added support for the buildbits=64 make option. Tue Jan 1 20:05:12 2002 Johnny Willemsen * ace/Name_Request_Reply.{h,cpp}: Changed type of 3 constructor arguments from size_t to ACE_UINT32 because the members in which these arguments are stored are also of type ACE_UINT32 * ace/OS.i In ACE_OS::umask method, changed the type in the ACE_OSCALL_RETURN macro from int to mode_t because that is the return type of the method Tue Jan 1 08:47:25 2002 Douglas C. Schmidt * ace/Thread.h: Clarify how the ACE_Thread_Adapter is deleted when spawn() is called. Thanks to Preston Elder for reporting this confusion. Tue Jan 1 14:09:26 2002 Johnny Willemsen * examples/Map_Manager/test_hash_map_manager.cpp: Made this example compiling when ACE_USES_WCHAR is set * Makefile.bor: Added examples directory because all examples for which there are BCB makefiles now build when ACE_USES_WCHAR is set Tue Jan 1 00:02:12 2002 Nanbor Wang * ace/ace_dll.vcp: Added String_Base_Const.*.