Tue Apr 25 00:02:08 2000 Douglas C. Schmidt * ace/Log_Msg.h (ACE_Log_Msg): Split msg_ostream() into two functions, one of which allows the delete_ostream_ flag to be reset and the other that doesn't. Thanks to Boris Sukholitko for reporting this. * ace/Message_Block.i (replace_data_block): If a data block is replaced with a NULL pointer then don't bother doing certain operations! Thanks to Boris Sukholitko for reporting this. * ace/OS.i (dlerror): Changed sizeof buf to sizeof buf / sizeof buf[0] to avoid over-allocating a buffer in the ACE_TEXT_FormateMessage() function. Thanks to Valery Arkhangorodsky for reporting this. * ace/Service_Repository.cpp: The fini() method was claiming it was the close() method. Likewise, changed the close() method so that it keeps decrementing the current_size each time through the look to allow checking the respository size or doing other work from inside the fini() call. Thanks to Valery Arkhangorodsky for reporting this. Mon Apr 24 17:44:21 2000 Darrell Brunsch * ace/Object_Manager.cpp: Ai Carumba! I disabled some stuff here a while back when I first disabled the Naming Service, but forgot to enable it again once I fixed that. Mon Apr 24 16:44:22 2000 Darrell Brunsch * ace/SString.i: A couple of compilers were having problems with some casting I was doing in a const hash method. Changed the types of casts to hopefully make the compilers happy. Mon Apr 24 10:04:51 2000 Darrell Brunsch * ace/OS.cpp: Another problem with a missing parenthesis. Mon Apr 24 09:15:03 2000 Darrell Brunsch * ace/OS.i: Forgot a couple of ')'s that showed up on Lynx builds. Also, ACE_const_char doesn't exist, ACE_const_cast does. Sun Apr 23 19:51:41 2000 Darrell Brunsch * ace/ACE.cpp: * ace/Naming_Context.cpp: * ace/SOCK_Dgram_Mcast_QoS.cpp: Just tried the ACE_USES_WCHAR build and there were a couple of things that needed updating. Mainly some missing ACE_TEXT's or char's used instead of ACE_TCHAR's. * tests/Process_Mutex_Test.cpp: Was still using an old ACE_DEFAULT_MUTEX_A macro (updated to ACE_DEFAULT_MUTEX). * ace/ace_lib.dsp: Added "static" to the config names (Win32 Debug => Win32 Static Debug) so it is easier for the msvc_auto_compile.pl script to figure out which is which. Sun Apr 23 18:14:33 2000 Darrell Brunsch * ace/ace_wchar.h: Added compatibility for all the old ASYS_* macros by default. But no part of ACE/TAO should still use them anymore. This compatibility can be turned off by defining ACE_ONLY_LATEST_AND_GREATEST. * ace/SString.cpp: * ace/SString.h: * ace/SString.i: * ace/Local_Name_Space.cpp: * ace/Local_Name_Space.h: * ace/Local_Name_Space_T.h: * ace/Name_Space.cpp: * ace/Name_Space.h: * ace/Naming_Context.cpp: * ace/Naming_Context.h: * ace/Remote_Name_Space.cpp: * ace/Remote_Name_Space.h: Found a better way of support for the ACE_Name_Space classes when there isn't a wchar_t. We now define the ACE_WString to internally use a type called ACE_WSTRING_TYPE, which is defined to wchar_t unless ACE_USES_WCHAR is not defined (in which case it is defined to ACE_USHORT16). Sun Apr 23 14:27:11 2000 Darrell Brunsch * ace/CLASSIX/CLASSIX_Port.cpp: * tests/IOStream_Test.cpp: * tests/SOCK_Connector_Test.cpp: Found some old ASYS macros still hanging around in code that wasn't enabled on NT. Sat Apr 22 22:01:15 2000 Darrell Brunsch * ace/Local_Name_Space_T.cpp: * ace/Naming_Context.cpp: Fixed some wchar related changes. Sat Apr 22 20:53:11 2000 Darrell Brunsch This is my first checkin of my Unicode changes. They should be mostly harmless, since most platforms and build do not use Unicode stuff, in which these changes *should* result in the exact same behavior as before. But, if Unicode was being used, then chances are it is not going to work without a few changes. A summary of the changes are: - Standardized wide char support to the following macros: ACE_HAS_WCHAR - if not defined, ACE will not use the type wchar_t or provide any of the functions that use it. ACE_USES_WCHAR - if defined, ACE will use wchar_t instead of char for its strings (but not its buffers). This support has been mostly completed, but there are still some loose ends that need to be cleaned up. Note also that even if ACE_USES_WCHAR is defined or not, both wide and narrow versions of the string operations will be available. - Removed all the ASYS_* macros (besides ASYS_INLINE). So all code using ASYS_TEXT and ASYS_TCHAR should now use ACE_TEXT and ACE_TCHAR. And unlike their predecessers, these *will* turn into wide character versions when ACE_USES_WCHAR is defined. - Removed the macros ACE_HAS_WCHAR_TYPEDEFS_USHORT and ACE_HAS_WCHAR_TYPEDEFS_CHAR since ACE will not depend on what wchar_t defaults to. - Messed around with Windows CE support, most likely it broke it even more. I've halted my work on Windows CE until after this change, so I'll be fixing it up in upcoming checkins. - Since ACE_WString was changed, everything using it will now not be available when ACE_HAS_WCHAR is not defined. The motivation for this change was that the Unicode support was a mess and was very unintuitive. Since I was given the job of maintaining it (since I'm doing Windows CE stuff now), I decided to fix it instead of try to figure out what was currently happening. A consistent design is much easier to explain and maintain. * ace/ACE.h: * ace/ACE.i: * ace/ACE.cpp: * ace/ARGV.cpp: Removed ACE's strecpy since all it did was call ACE_OS's strecpy. * ace/ace_wchar.h: (added) Moved all the unicode specific stuff here. * ace/SString.cpp: * ace/SString.h: * ace/SString.i: ACE_WString used to use ACE_USHORT16 instead of wchar_t. I changed it so it does, since it will be more useful and intuitive this way. * ace/Log_Record.cpp: We were using ACE_OS::fwrite to print the string. This didn't work when the string was wchar_t, so this was changed to ACE_OS::fprintf instead. * TODO: * acconfig.h: * configure.in: * ace/ACE.cpp: * ace/ACE.h: * ace/ACE.i: * ace/ARGV.cpp: * ace/ARGV.h: * ace/ARGV.i: * ace/ATM_Addr.cpp: * ace/ATM_Addr.h: * ace/ATM_Connector.i: * ace/ATM_QoS.cpp: * ace/Acceptor.cpp: * ace/Acceptor.h: * ace/Activation_Queue.cpp: * ace/Addr.cpp: * ace/Arg_Shifter.cpp: * ace/Arg_Shifter.h: * ace/Asynch_Acceptor.cpp: * ace/Asynch_IO.cpp: * ace/Based_Pointer_T.cpp: * ace/Basic_Types.h: * ace/CORBA_Handler.cpp: * ace/Cache_Map_Manager_T.cpp: * ace/Cached_Connect_Strategy_T.cpp: * ace/Caching_Strategies_T.i: * ace/Capabilities.cpp: * ace/Capabilities.h: * ace/Capabilities.i: * ace/Configuration.cpp: * ace/Configuration.h: * ace/Connector.cpp: * ace/Connector.h: * ace/Containers_T.cpp: * ace/DEV_Addr.cpp: * ace/DEV_Addr.h: * ace/DEV_Addr.i: * ace/DEV_Connector.i: * ace/DLL.cpp: * ace/DLL.h: * ace/Dirent.h: * ace/Dirent.i: * ace/Dynamic_Service.cpp: * ace/Dynamic_Service.h: * ace/Env_Value_T.h: * ace/Env_Value_T.i: * ace/FIFO.cpp: * ace/FIFO.h: * ace/FIFO.i: * ace/FIFO_Recv.cpp: * ace/FIFO_Recv.h: * ace/FIFO_Recv_Msg.cpp: * ace/FIFO_Recv_Msg.h: * ace/FIFO_Send.cpp: * ace/FIFO_Send.h: * ace/FIFO_Send_Msg.cpp: * ace/FIFO_Send_Msg.h: * ace/FILE_Addr.cpp: * ace/FILE_Addr.h: * ace/FILE_Addr.i: * ace/FILE_Connector.cpp: * ace/FILE_Connector.i: * ace/Filecache.cpp: * ace/Filecache.h: * ace/Functor.h: * ace/Functor.i: * ace/Future.cpp: * ace/Get_Opt.cpp: * ace/Get_Opt.h: * ace/Handle_Set.cpp: * ace/Hash_Map_Manager_T.cpp: * ace/Hash_Map_Manager_T.i: * ace/High_Res_Timer.cpp: * ace/High_Res_Timer.h: * ace/INET_Addr.cpp: * ace/INET_Addr.h: * ace/INET_Addr.i: * ace/IO_SAP.cpp: * ace/IPC_SAP.cpp: * ace/LSOCK.cpp: * ace/LSOCK_CODgram.cpp: * ace/LSOCK_Connector.cpp: * ace/LSOCK_Dgram.cpp: * ace/Local_Name_Space.cpp: * ace/Local_Name_Space.h: * ace/Local_Name_Space_T.cpp: * ace/Local_Name_Space_T.h: * ace/Local_Tokens.cpp: * ace/Local_Tokens.h: * ace/Local_Tokens.i: * ace/Log_Msg.cpp: * ace/Log_Msg.h: * ace/Log_Record.cpp: * ace/Log_Record.h: * ace/Log_Record.i: * ace/MEM_Acceptor.cpp: * ace/MEM_Acceptor.h: * ace/MEM_Acceptor.i: * ace/MEM_Addr.cpp: * ace/MEM_Addr.h: * ace/MEM_Addr.i: * ace/MEM_Connector.cpp: * ace/MEM_SAP.cpp: * ace/MEM_SAP.h: * ace/Malloc.cpp: * ace/Malloc_T.cpp: * ace/Malloc_T.h: * ace/Malloc_T.i: * ace/Map_Manager.cpp: * ace/Map_Manager.i: * ace/Mem_Map.cpp: * ace/Mem_Map.h: * ace/Mem_Map.i: * ace/Memory_Pool.cpp: * ace/Memory_Pool.h: * ace/Message_Block.cpp: * ace/Message_Queue.cpp: * ace/Message_Queue_T.cpp: * ace/Module.cpp: * ace/Module.h: * ace/Module.i: * ace/NT_Service.cpp: * ace/NT_Service.h: * ace/NT_Service.i: * ace/Name_Proxy.cpp: * ace/Name_Request_Reply.cpp: * ace/Name_Space.cpp: * ace/Name_Space.h: * ace/Naming_Context.cpp: * ace/Naming_Context.h: * ace/OS.cpp: * ace/OS.h: * ace/OS.i: * ace/Object_Manager.cpp: * ace/Obstack.cpp: * ace/Obstack.h: * ace/POSIX_Asynch_IO.cpp: * ace/Parse_Node.cpp: * ace/Parse_Node.h: * ace/Pipe.cpp: * ace/Proactor.cpp: * ace/Process.cpp: * ace/Process.h: * ace/Process.i: * ace/Process_Manager.cpp: * ace/QoS_Manager.cpp: * ace/QoS_Session_Factory.cpp: * ace/QoS_Session_Impl.cpp: * ace/RB_Tree.cpp: * ace/RB_Tree.i: * ace/README: * ace/Read_Buffer.cpp: * ace/Registry.cpp: * ace/Registry.h: * ace/Registry_Name_Space.cpp: * ace/Remote_Name_Space.cpp: * ace/Remote_Name_Space.h: * ace/Remote_Tokens.cpp: * ace/Remote_Tokens.h: * ace/Remote_Tokens.i: * ace/SOCK.cpp: * ace/SOCK_Acceptor.cpp: * ace/SOCK_CODgram.cpp: * ace/SOCK_Connector.cpp: * ace/SOCK_Dgram.cpp: * ace/SOCK_Dgram_Bcast.cpp: * ace/SOCK_Dgram_Bcast.h: * ace/SOCK_Dgram_Mcast.cpp: * ace/SOCK_Dgram_Mcast.h: * ace/SOCK_Dgram_Mcast_QoS.cpp: * ace/SOCK_Dgram_Mcast_QoS.h: * ace/SPIPE_Acceptor.cpp: * ace/SPIPE_Addr.cpp: * ace/SPIPE_Addr.h: * ace/SPIPE_Addr.i: * ace/SPIPE_Connector.cpp: * ace/SString.cpp: * ace/SString.h: * ace/SString.i: * ace/SV_Message_Queue.cpp: * ace/SV_Semaphore_Complex.cpp: * ace/SV_Semaphore_Simple.cpp: * ace/SV_Shared_Memory.cpp: * ace/Select_Reactor_Base.cpp: * ace/Select_Reactor_T.cpp: * ace/Service_Config.cpp: * ace/Service_Config.h: * ace/Service_Config.i: * ace/Service_Manager.cpp: * ace/Service_Manager.h: * ace/Service_Object.cpp: * ace/Service_Object.h: * ace/Service_Object.i: * ace/Service_Repository.cpp: * ace/Service_Repository.h: * ace/Service_Types.cpp: * ace/Service_Types.h: * ace/Service_Types.i: * ace/Shared_Memory_MM.cpp: * ace/Shared_Memory_MM.h: * ace/Shared_Memory_MM.i: * ace/Shared_Object.cpp: * ace/Shared_Object.h: * ace/Singleton.cpp: * ace/Stats.cpp: * ace/Stats.h: * ace/Stats.i: * ace/Strategies_T.cpp: * ace/Strategies_T.i: * ace/Stream.cpp: * ace/Stream.h: * ace/Stream_Modules.cpp: * ace/Stream_Modules.h: * ace/Svc_Conf.h: * ace/Svc_Conf.l: * ace/Svc_Conf.y: * ace/Svc_Conf_l.cpp: * ace/Svc_Conf_y.cpp: * ace/Svc_Handler.cpp: * ace/Svc_Handler.h: * ace/Synch.cpp: * ace/Synch.h: * ace/Synch.i: * ace/Synch_T.cpp: * ace/Synch_T.h: * ace/Synch_T.i: * ace/System_Time.cpp: * ace/System_Time.h: * ace/TLI.cpp: * ace/TLI_Acceptor.cpp: * ace/TLI_Connector.i: * ace/TP_Reactor.cpp: * ace/TP_Reactor.i: * ace/Task_T.cpp: * ace/Task_T.h: * ace/Template_Instantiations.cpp: * ace/Thread_Manager.cpp: * ace/Time_Request_Reply.cpp: * ace/Timeprobe_T.cpp: * ace/Timer_Hash_T.cpp: * ace/Timer_Heap_T.cpp: * ace/Timer_List_T.cpp: * ace/Timer_Queue_Adapters.cpp: * ace/Timer_Queue_T.cpp: * ace/Timer_Wheel_T.cpp: * ace/Token.cpp: * ace/Token.h: * ace/Token_Collection.cpp: * ace/Token_Collection.h: * ace/Token_Collection.i: * ace/Token_Invariants.cpp: * ace/Token_Invariants.h: * ace/Token_Manager.cpp: * ace/Token_Manager.h: * ace/Token_Request_Reply.cpp: * ace/Token_Request_Reply.h: * ace/Token_Request_Reply.i: * ace/Trace.cpp: * ace/Trace.h: * ace/UPIPE_Acceptor.cpp: * ace/UPIPE_Connector.cpp: * ace/UPIPE_Connector.i: * ace/WFMO_Reactor.cpp: * ace/WFMO_Reactor.i: * ace/WIN32_Asynch_IO.cpp: * ace/WIN32_Proactor.cpp: * ace/XTI_ATM_Mcast.i: * ace/config-WinCE.h: * ace/config-all.h: * ace/config-ghs-common.h: * ace/config-tandem.h: * ace/config-win32-borland.h: * ace/config-win32-common.h: * ace/config-win32-msvc.h: * ace/config-win32-visualage.h: * ace/CLASSIX/CLASSIX_CLD_Connector.cpp: * ace/CLASSIX/CLASSIX_CO_Acceptor.cpp: * ace/CLASSIX/CLASSIX_Port.cpp: * ace/CLASSIX/CLASSIX_Port.h: * ace/CLASSIX/CLASSIX_Select_Reactor.cpp: * apps/Gateway/Gateway/Options.cpp: * apps/JAWS/PROTOTYPE/JAWS/JAWS.h: * bin/envinfo.cpp: * docs/ACE-guidelines.html: * docs/tutorials/Chap_3/mm.cpp: * examples/Connection/blocking/SPIPE-acceptor.cpp: * examples/Connection/blocking/SPIPE-acceptor.h: * examples/Connection/blocking/SPIPE-connector.cpp: * examples/Connection/blocking/SPIPE-connector.h: * examples/Connection/non_blocking/test_lsock_acceptor.cpp: * examples/Connection/non_blocking/test_lsock_connector.cpp: * examples/IPC_SAP/ATM_SAP/CPP-client.cpp: * examples/IPC_SAP/ATM_SAP/CPP-server.cpp: * examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp: * examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp: * examples/IPC_SAP/SOCK_SAP/CPP-inserver.cpp: * examples/IPC_SAP/UPIPE_SAP/ex3.cpp: * examples/Naming/test_multiple_contexts.cpp: * examples/Naming/test_non_existent.cpp: * examples/Naming/test_writers.cpp: * examples/Reactor/WFMO_Reactor/test_console_input.cpp: * examples/Reactor/WFMO_Reactor/test_directory_changes.cpp: * examples/Reactor/WFMO_Reactor/test_handle_close.cpp: * examples/Reactor/WFMO_Reactor/test_registry_changes.cpp: * examples/Registry/test_registry_iterator.cpp: * examples/Service_Configurator/Misc/Timer_Service.cpp: * examples/Service_Configurator/Misc/Timer_Service.h: * examples/Service_Configurator/Misc/main.cpp: * examples/Service_Configurator/Misc/main.dsp: * examples/Web_Crawler/Options.cpp: * examples/Web_Crawler/Options.h: * examples/Web_Crawler/URL_Addr.cpp: * examples/Web_Crawler/URL_Addr.h: * netsvcs/clients/Logger/indirect_logging.cpp: * netsvcs/clients/Naming/Client/main.cpp: * netsvcs/lib/Logging_Strategy.cpp: * netsvcs/lib/TS_Clerk_Handler.cpp: * netsvcs/lib/TS_Clerk_Handler.h: * performance-tests/Misc/test_naming.cpp: * performance-tests/Server_Concurrency/Leader_Follower/leader_follower.cpp: * performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp: * performance-tests/TCP/tcp_test.cpp: * tests/ACE_Init_Test.dsp: * tests/ARGV_Test.cpp: * tests/Atomic_Op_Test.cpp: * tests/Auto_IncDec_Test.cpp: * tests/Barrier_Test.cpp: * tests/Basic_Types_Test.cpp: * tests/Buffer_Stream_Test.cpp: * tests/CDR_File_Test.cpp: * tests/CDR_Test.cpp: * tests/Cache_Map_Manager_Test.cpp: * tests/Cached_Accept_Conn_Test.cpp: * tests/Cached_Conn_Test.cpp: * tests/Capabilities_Test.cpp: * tests/Collection_Test.cpp: * tests/Conn_Test.cpp: * tests/DLL_Test.cpp: * tests/DLL_Test.h: * tests/DLList_Test.cpp: * tests/Dynamic_Priority_Test.cpp: * tests/Enum_Interfaces_Test.cpp: * tests/Env_Value_Test.cpp: * tests/FlReactor_Test.cpp: * tests/Future_Set_Test.cpp: * tests/Future_Test.cpp: * tests/Handle_Set_Test.cpp: * tests/Hash_Map_Bucket_Iterator_Test.cpp: * tests/Hash_Map_Manager_Test.cpp: * tests/High_Res_Timer_Test.cpp: * tests/IOStream_Test.cpp: * tests/Lazy_Map_Manager_Test.cpp: * tests/Log_Msg_Test.cpp: * tests/MM_Shared_Memory_Test.cpp: * tests/MT_Reactor_Timer_Test.cpp: * tests/MT_SOCK_Test.cpp: * tests/Malloc_Test.cpp: * tests/Map_Manager_Test.cpp: * tests/Map_Test.cpp: * tests/Mem_Map_Test.cpp: * tests/Message_Block_Test.cpp: * tests/Message_Queue_Notifications_Test.cpp: * tests/Message_Queue_Test.cpp: * tests/Naming_Test.cpp: * tests/New_Fail_Test.cpp: * tests/Notify_Performance_Test.cpp: * tests/Object_Manager_Test.cpp: * tests/OrdMultiSet_Test.cpp: * tests/Pipe_Test.cpp: * tests/Priority_Buffer_Test.cpp: * tests/Priority_Reactor_Test.cpp: * tests/Priority_Task_Test.cpp: * tests/Process_Manager_Test.cpp: * tests/Process_Mutex_Test.cpp: * tests/Process_Strategy_Test.cpp: * tests/Process_Strategy_Test.h: * tests/RB_Tree_Test.cpp: * tests/Reactor_Exceptions_Test.cpp: * tests/Reactor_Notify_Test.cpp: * tests/Reactor_Performance_Test.cpp: * tests/Reactor_Timer_Test.cpp: * tests/Reactors_Test.cpp: * tests/Reader_Writer_Test.cpp: * tests/Recursive_Mutex_Test.cpp: * tests/Reverse_Lock_Test.cpp: * tests/SOCK_Connector_Test.cpp: * tests/SOCK_Send_Recv_Test.cpp: * tests/SOCK_Test.cpp: * tests/SPIPE_Test.cpp: * tests/SString_Test.cpp: * tests/SV_Shared_Memory_Test.cpp: * tests/Semaphore_Test.cpp: * tests/Service_Config_Test.cpp: * tests/Signal_Test.cpp: * tests/Sigset_Ops_Test.cpp: * tests/Simple_Message_Block_Test.cpp: * tests/Svc_Handler_Test.cpp: * tests/TSS_Test.cpp: * tests/Task_Test.cpp: * tests/Thread_Manager_Test.cpp: * tests/Thread_Mutex_Test.cpp: * tests/Thread_Pool_Reactor_Test.cpp: * tests/Thread_Pool_Test.cpp: * tests/Time_Service_Test.cpp: * tests/Time_Value_Test.cpp: * tests/Timeprobe_Test.cpp: * tests/Timer_Queue_Test.cpp: * tests/TkReactor_Test.cpp: * tests/Tokens_Test.cpp: * tests/UPIPE_SAP_Test.cpp: * tests/Upgradable_RW_Test.cpp: * tests/XtReactor_Test.cpp: * tests/test_config.h: * websvcs/lib/URL_Addr.cpp: * websvcs/lib/URL_Addr.h: * websvcs/lib/URL_Addr.i: * websvcs/tests/Test_URL_Addr.cpp: Made all the appropriate changes to support the new wide char policy. Most changes were macro changes, changing ASYS_* to ACE_*, changing char's to ACE_TCHAR's, adding in ACE_TEXT ()'s when necessary, etc. Sat Apr 22 18:41:06 2000 Vishal Kachroo * ace/SOCK_Dgram_Mcast.h: * ace/SOCK_Dgram_Mcast.cpp: * ace/SOCK_Dgram_Mcast.i: Removed the QoS enabled overloaded methods. * ace/SOCK_Dgram_Mcast_QoS.h: * ace/SOCK_Dgram_Mcast_QoS.cpp: * ace/SOCK_Dgram_Mcast_QoS.i: Added this new class that derives from ACE_SOCK_Dgram_Mcast and handles all the QoS functionality that was being done by the latter. * ace/ace_dll.dsp: * ace/ace_lib.dsp: Added the ace/SOCK_Dgram_Mcast_QoS.{cpp,i,h} Fri Apr 21 10:23:19 2000 Darrell Brunsch * bin/msvc_auto_compile.pl: Removed all chdir's and fixed a bug with specifying multiple -dir's. Fri Apr 21 09:13:20 2000 Carlos O'Ryan * websvcs/lib/URL_Addr.cpp: The URL schemes are supposed to be case insensitive, thanks to Paul Carreiro for pointing this out. Thu Apr 20 21:05:42 2000 Darrell Brunsch * bin/msvc_auto_compile.pl: Added a -core for only the core libraries. Also fixed a problem with specifying incorrect directories and the -DLL/-Debug/etc. macros. Thu Apr 20 18:11:48 2000 Darrell Brunsch * examples/DLL/Main.dsp: * examples/DLL/Newsweek.dsp: * examples/DLL/Today.dsp * examples/Configuration/Configuration.dsw: * examples/Bounded_Packet_Relay/Bounded_Packet_Relay.dsp: * examples/Configuration/Test.dsp: * examples/IPC_SAP/ATM_SAP/ATM_SAP.dsw: * examples/IPC_SAP/ATM_SAP/CPP_client.dsp: * examples/IPC_SAP/ATM_SAP/CPP_server.dsp: * examples/IPC_SAP/SOCK_SAP/CPP_memclient.dsp: * examples/Mem_Map/file-reverse/file_reverse.dsp: * examples/NT_Service/NT_Service.dsp: * examples/NT_Service/NT_Service.dsw: * examples/OS/Process/Process.dsp: * examples/OS/Process/imore.dsp: * examples/QOS/client.dsp: * examples/QOS/server.dsp: * examples/Reactor/Misc/demuxing.dsp: * examples/Reactor/Multicast/client.dsp: * examples/Reactor/Multicast/server.dsp: * examples/Service_Configurator/Misc/Timer.dsp: * examples/Service_Configurator/Misc/main.dsp: * examples/Timer_Queue/Async_Timer_Queue_Test.dsp: * examples/Timer_Queue/Reactor_Timer_Queue_Test.dsp: * examples/Timer_Queue/Thread_Timer_Queue_Test.dsp: * examples/Timer_Queue/Timer_Queue.dsw: * examples/Web_Crawler/Web_Crawler.dsp: Fixed miscellaneous problems with these projects and workspaces. Some projects were missing from workspaces or listed incorrectly. Many project didn't have the correct include paths or definitions. * examples/Reactor/Proactor/post_completion.dsp: (removed) There was already a post_completions.dsp that was being used. * examples/OS/Process/imore.cpp: * examples/OS/Process/process.cpp: Changed the type of the variables used with Process::wait from int to ACE_exitcode. * examples/Reactor/WFMO_Reactor/test_abandoned.cpp: * examples/Reactor/WFMO_Reactor/test_apc.cpp: Missing parentheses. * Synch-Benchmarks/Synch_Lib/Synch_Lib.dsp: Changed the name of the project so win32_auto_compile.pl works with it properly. * bin/msvc_auto_compile.pl: (added) This is a new script for autocompiling with MSVC 6. Eventually this should replace auto_compile_win32.pl. It still needs more directories added to it and tested before we put it into production * bin/vc_filter.pl: Updated to properly color code output from msvc_auto_compile.pl also. Thu Apr 20 09:50:49 2000 Carlos O'Ryan * ace/RB_Tree.h: * ace/RB_Tree.i: Fixed implementation of the end() method. It should return a singular iterator that is different from all valid iterator, not an iterator pointing to the last element in the collection. Thu Apr 20 08:53:31 2000 Carlos O'Ryan * ace/CDR_Stream.i: Fixed problem in the align_write_ptr() method. It was optimized for the case where there was enough room in the current buffer, but the optimization broke with a previous fix from Feb 29. Thu Apr 20 08:40:00 2000 Chris Gill * examples/Bounded_Packet_Relay/BPR_Drivers_T.h, examples/Bounded_Packet_Relay/Thread_Bounded_Packet_Relay.cpp: Fixed warnings from g++ Wed Apr 19 21:53:52 2000 Douglas C. Schmidt * examples/Bounded_Packet_Relay: Added some missing template instantiations and other assorted problems. Thanks to Aoxiang Xu for reporting these. Wed Apr 19 07:04:13 2000 Douglas C. Schmidt * ace/Containers_T.cpp (copy_nodes): insert_head() should have been insert_tail(). Thanks to Umar Syyid for clarifying this. Also, added some comments to explain what's going on in insert_tail() since the code was somewhat non-intuitive ;-). Wed Apr 19 15:00:44 2000 Carlos O'Ryan * apps/Makefile: * apps/drwho/Makefile: * performance-tests/Makefile: * performance-tests/Server_Concurrency/Leader_Follower/Makefile: * performance-tests/Server_Concurrency/Queue_Based_Workers/Makefile: More Makefiles that were not in the default compilation path, added them and update dependencies. * bin/Makefile: * examples/Bounded_Packet_Relay/Makefile: * examples/QOS/Makefile: * performance-tests/RPC/Makefile: * performance-tests/Synch-Benchmarks/Base_Test/Makefile: * performance-tests/Synch-Benchmarks/Perf_Test/Makefile: * performance-tests/Synch-Benchmarks/Synch_Lib/Makefile: * ASNMP/asnmp/Makefile: * ASNMP/examples/get/Makefile: * ASNMP/examples/next/Makefile: * ASNMP/examples/set/Makefile: * ASNMP/examples/trap/Makefile: * ASNMP/examples/walk/Makefile: * ASNMP/tests/Makefile: Just updated dependencies. More fixes are needed to put them in the normal compilation path. * performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp: * performance-tests/Server_Concurrency/Leader_Follower/leader_follower.cpp: They wouldn't compile on platforms that lack context switch counters in rusage. Conditionally compile that code to avoid the problem. Wed Apr 19 14:09:29 2000 Darrell Brunsch * etc/Svc_Conf_l.cpp.diff: Fixed the diff so it generates the correct Svc_Conf_l.cpp. Wed Apr 19 12:48:21 2000 Balachandran Natarajan * ace/ACE.cpp: Added a missing pointer in the signature of ACE::t_rcv_n_i (). Wed Apr 19 10:11:23 2000 Darrell Brunsch * tests/Atomic_Op_Test.dsp: * tests/Auto_IncDec_Test.dsp: * tests/Barrier_Test.dsp: * tests/Basic_Types_Test.dsp: * tests/Buffer_Stream_Test.dsp: * tests/CDR_File_Test.dsp: * tests/CDR_Test.dsp: * tests/Cache_Map_Manager_Test.dsp: * tests/Cached_Accept_Conn_Test.dsp: * tests/Cached_Conn_Test.dsp: * tests/Capabilities_Test.dsp: * tests/Collection_Test.dsp: * tests/Conn_Test.dsp: * tests/DLList_Test.dsp: * tests/Dynamic_Priority_Test.dsp: * tests/Enum_Interfaces_Test.dsp: * tests/Env_Value_Test.dsp: * tests/Future_Set_Test.dsp: * tests/Future_Test.dsp: * tests/Handle_Set_Test.dsp: * tests/Hash_Map_Bucket_Iterator_Test.dsp: * tests/Hash_Map_Manager_Test.dsp: * tests/High_Res_Timer_Test.dsp: * tests/IOStream_Test.dsp: * tests/Lazy_Map_Manager_Test.dsp: * tests/MM_Shared_Memory_Test.dsp: * tests/MT_Reactor_Timer_Test.dsp: * tests/MT_SOCK_Test.dsp: * tests/Malloc_Test.dsp: * tests/Map_Manager_Test.dsp: * tests/Map_Test.dsp: * tests/Mem_Map_Test.dsp: * tests/Message_Block_Test.dsp: * tests/Message_Queue_Notifications_Test.dsp: * tests/Message_Queue_Test.dsp: * tests/Naming_Test.dsp: * tests/New_Fail_Test.dsp: * tests/Notify_Performance_Test.dsp: * tests/Object_Manager_Test.dsp: * tests/OrdMultiSet_Test.dsp: * tests/Pipe_Test.dsp: * tests/Priority_Buffer_Test.dsp: * tests/Priority_Reactor_Test.dsp: * tests/Priority_Task_Test.dsp: * tests/Process_Manager_Test.dsp: * tests/Process_Mutex_Test.dsp: * tests/Process_Strategy_Test.dsp: * tests/RB_Tree_Test.dsp: * tests/Reactor_Exceptions_Test.dsp: * tests/Reactor_Notify_Test.dsp: * tests/Reactor_Performance_Test.dsp: * tests/Reactor_Timer_Test.dsp: * tests/Reactors_Test.dsp: * tests/Reader_Writer_Test.dsp: * tests/Recursive_Mutex_Test.dsp: * tests/Reverse_Lock_Test.dsp: * tests/SOCK_Connector_Test.dsp: * tests/SOCK_Send_Recv_Test.dsp: * tests/SOCK_Test.dsp: * tests/SPIPE_Test.dsp: * tests/SString_Test.dsp: * tests/SV_Shared_Memory_Test.dsp: * tests/Semaphore_Test.dsp: * tests/Service_Config_Test.dsp: * tests/Sigset_Ops_Test.dsp: * tests/Simple_Message_Block_Test.dsp: * tests/Svc_Handler_Test.dsp: * tests/TSS_Test.dsp: * tests/Task_Test.dsp: * tests/Thread_Manager_Test.dsp: * tests/Thread_Mutex_Test.dsp: * tests/Thread_Pool_Reactor_Test.dsp: * tests/Thread_Pool_Test.dsp: * tests/Time_Service_Test.dsp: * tests/Time_Value_Test.dsp: * tests/Timeprobe_Test.dsp: * tests/Timer_Queue_Test.dsp: * tests/Tokens_Test.dsp: * tests/UPIPE_SAP_Test.dsp: * tests/Upgradable_RW_Test.dsp: * tests/pharlap/Atomic_Op_Test.dsp: (added) * tests/pharlap/Auto_IncDec_Test.dsp: (added) * tests/pharlap/Barrier_Test.dsp: (added) * tests/pharlap/Basic_Types_Test.dsp: (added) * tests/pharlap/Buffer_Stream_Test.dsp: (added) * tests/pharlap/CDR_File_Test.dsp: (added) * tests/pharlap/CDR_Test.dsp: (added) * tests/pharlap/Cache_Map_Manager_Test.dsp: (added) * tests/pharlap/Cached_Accept_Conn_Test.dsp: (added) * tests/pharlap/Cached_Conn_Test.dsp: (added) * tests/pharlap/Capabilities_Test.dsp: (added) * tests/pharlap/Collection_Test.dsp: (added) * tests/pharlap/Conn_Test.dsp: (added) * tests/pharlap/DLList_Test.dsp: (added) * tests/pharlap/Dynamic_Priority_Test.dsp: (added) * tests/pharlap/Enum_Interfaces_Test.dsp: (added) * tests/pharlap/Env_Value_Test.dsp: (added) * tests/pharlap/Future_Set_Test.dsp: (added) * tests/pharlap/Future_Test.dsp: (added) * tests/pharlap/Handle_Set_Test.dsp: (added) * tests/pharlap/Hash_Map_Bucket_Iterator_Test.dsp: (added) * tests/pharlap/Hash_Map_Manager_Test.dsp: (added) * tests/pharlap/High_Res_Timer_Test.dsp: (added) * tests/pharlap/IOStream_Test.dsp: (added) * tests/pharlap/Lazy_Map_Manager_Test.dsp: (added) * tests/pharlap/MM_Shared_Memory_Test.dsp: (added) * tests/pharlap/MT_Reactor_Timer_Test.dsp: (added) * tests/pharlap/MT_SOCK_Test.dsp: (added) * tests/pharlap/Malloc_Test.dsp: (added) * tests/pharlap/Map_Manager_Test.dsp: (added) * tests/pharlap/Map_Test.dsp: (added) * tests/pharlap/Mem_Map_Test.dsp: (added) * tests/pharlap/Message_Block_Test.dsp: (added) * tests/pharlap/Message_Queue_Notifications_Test.dsp: (added) * tests/pharlap/Message_Queue_Test.dsp: (added) * tests/pharlap/Naming_Test.dsp: (added) * tests/pharlap/New_Fail_Test.dsp: (added) * tests/pharlap/Notify_Performance_Test.dsp: (added) * tests/pharlap/Object_Manager_Test.dsp: (added) * tests/pharlap/OrdMultiSet_Test.dsp: (added) * tests/pharlap/Pipe_Test.dsp: (added) * tests/pharlap/Priority_Buffer_Test.dsp: (added) * tests/pharlap/Priority_Reactor_Test.dsp: (added) * tests/pharlap/Priority_Task_Test.dsp: (added) * tests/pharlap/Process_Manager_Test.dsp: (added) * tests/pharlap/Process_Mutex_Test.dsp: (added) * tests/pharlap/Process_Strategy_Test.dsp: (added) * tests/pharlap/RB_Tree_Test.dsp: (added) * tests/pharlap/Reactor_Exceptions_Test.dsp: (added) * tests/pharlap/Reactor_Notify_Test.dsp: (added) * tests/pharlap/Reactor_Performance_Test.dsp: (added) * tests/pharlap/Reactor_Timer_Test.dsp: (added) * tests/pharlap/Reactors_Test.dsp: (added) * tests/pharlap/Reader_Writer_Test.dsp: (added) * tests/pharlap/Recursive_Mutex_Test.dsp: (added) * tests/pharlap/Reverse_Lock_Test.dsp: (added) * tests/pharlap/SOCK_Connector_Test.dsp: (added) * tests/pharlap/SOCK_Send_Recv_Test.dsp: (added) * tests/pharlap/SOCK_Test.dsp: (added) * tests/pharlap/SPIPE_Test.dsp: (added) * tests/pharlap/SString_Test.dsp: (added) * tests/pharlap/SV_Shared_Memory_Test.dsp: (added) * tests/pharlap/Semaphore_Test.dsp: (added) * tests/pharlap/Service_Config_Test.dsp: (added) * tests/pharlap/Sigset_Ops_Test.dsp: (added) * tests/pharlap/Simple_Message_Block_Test.dsp: (added) * tests/pharlap/Svc_Handler_Test.dsp: (added) * tests/pharlap/TSS_Test.dsp: (added) * tests/pharlap/Task_Test.dsp: (added) * tests/pharlap/Thread_Manager_Test.dsp: (added) * tests/pharlap/Thread_Mutex_Test.dsp: (added) * tests/pharlap/Thread_Pool_Reactor_Test.dsp: (added) * tests/pharlap/Thread_Pool_Test.dsp: (added) * tests/pharlap/Time_Service_Test.dsp: (added) * tests/pharlap/Time_Value_Test.dsp: (added) * tests/pharlap/Timeprobe_Test.dsp: (added) * tests/pharlap/Timer_Queue_Test.dsp: (added) * tests/pharlap/Tokens_Test.dsp: (added) * tests/pharlap/UPIPE_SAP_Test.dsp: (added) * tests/pharlap/Upgradable_RW_Test.dsp: (added) * tests/pharlap/pharlap_tests.dsw: (added) Moved all the pharlap configurations to their own dsp files in their own subdirectory. This was done so those of us who don't have pharlap can load tests.dsw and do a select all in the Build All window and only get the relavant builds. * tests/run_pharlap_tests.bat: (removed) * tests/pharlap/run_pharlap_tests.bat: (added) Moved this file to the pharlap directory also. Wed Apr 19 10:03:10 2000 Carlos O'Ryan * ace/SOCK_Stream.i: The new flag was present but not used in several methods, just forward them to the ACE::xxx() operation. Wed Apr 19 08:18:30 2000 Carlos O'Ryan * */Makefile: Updated all the dependencies Wed Apr 19 09:44:14 2000 Jeff Parsons * ace/Log_Msg.cpp: Changed the signature of a (WIN32-specific) call to send_n, to resolve a function overload ambiguity on NT. Wed Apr 19 00:00:29 2000 Irfan Pyarali * ace: There are two general use cases of the _n() methods: (1) The method keeps looping, until all the data has been transmitted, or until timeout occurs, or until the handle is closed. This use case occurs when one does not know how much data is coming across in the case of a recv(), or one wants to know exactly how much data was sent in the case of a send(). And one don't want to treat a premature eof as an error but wants to know the exact number of bytes that have been transferred so far. (2) In other cases when one knows exactly how much data is coming across in the case of recv(), or how much data needs to be transmitted in the case of a send(). Premature closing of the handle is usually an error. By adding an additional parameter to all the _n() methods, the above two use cases can be distinguished. The following files were modified: - OS - ACE - SOCK_Stream - TLI_Stream The other IO classes such as FIFO, MEM_IO, PIPE, etc., should also include this change. However, they should first get fixed with respect to timeouts. If comes before timeouts, ordering of the parameters will get messed up. Thanks to Steffen Winther Sorensen for reporting this second use of the _n() methods. * ace/OS.h: t_snd() interface was fixed. The buffer parameter should be const. * ace/ACE: Added support for TLI I/O functions to the ACE class. Tue Apr 18 19:08:37 2000 Darrell Brunsch * ace/config-all.h: (added) * ace/inc_user_config.h: (removed) * ace/Codeset_IBM1047.h: * ace/NT_Service.h: * ace/config-win32-common.h: * ace/OS.h: Started moving several of the macros from OS.h to config-all.h. The plan is to eventually split up OS.h, and config-all is a place where the macros (which are not specific to any part of ACE_OS) can go. config-all.h also ate inc_user_config.h. * ASNMP/agent/main.cpp: * ace/iosfwd.h: * ace/streams.h: * apps/JAWS/PROTOTYPE/JAWS/Assoc_Array.cpp: * tests/OrdMultiSet_Test.cpp: * tests/Time_Value_Test.cpp: * tests/test_config.h: Since inc_user_config.h was eaten, needed to change includes of it to config-all.h. * bin/generate_export_file.pl: (added) * bin/GenExportH.BAT: (removed) Replaced the batch file with a perl file so - people can generate on other platforms - it can generate Word_export and WORD_BUILD_DLL (the batch file couldn't change the case of the key) * ace/ACE_export.h: (added) * ace/svc_export.h: (added) Took the existing ACE_Export and ACE_Svc_Export macro and moved them to separate files. Also tested out the new generate_export_file.pl. * ace/ACE.cpp: * ace/ARGV.cpp: * ace/ATM_Acceptor.cpp: * ace/ATM_Addr.cpp: * ace/ATM_Connector.cpp: * ace/ATM_Params.cpp: * ace/ATM_QoS.cpp: * ace/ATM_Stream.cpp: * ace/Acceptor.cpp: * ace/Activation_Queue.cpp: * ace/Active_Map_Manager.cpp: * ace/Addr.cpp: * ace/Arg_Shifter.cpp: * ace/Asynch_Acceptor.cpp: * ace/Asynch_IO.cpp: * ace/Asynch_IO_Impl.cpp: * ace/Auto_IncDec_T.cpp: * ace/Auto_Ptr.cpp: * ace/Based_Pointer_Repository.cpp: * ace/Based_Pointer_T.cpp: * ace/Basic_Types.cpp: * ace/CDR_Stream.cpp: * ace/CORBA_Handler.cpp: * ace/CORBA_Ref.cpp: * ace/Cache_Map_Manager_T.cpp: * ace/Cached_Connect_Strategy_T.cpp: * ace/Capabilities.cpp: * ace/Cleanup_Strategies_T.cpp: * ace/Configuration.cpp: * ace/Connector.cpp: * ace/Containers.cpp: * ace/Containers_T.cpp: * ace/DEV.cpp: * ace/DEV_Addr.cpp: * ace/DEV_Connector.cpp: * ace/DEV_IO.cpp: * ace/DLL.cpp: * ace/Date_Time.cpp: * ace/Dirent.cpp: * ace/Dump.cpp: * ace/Dynamic.cpp: * ace/Dynamic_Service.cpp: * ace/Event_Handler.cpp: * ace/Event_Handler_T.cpp: * ace/FIFO.cpp: * ace/FIFO_Recv.cpp: * ace/FIFO_Recv_Msg.cpp: * ace/FIFO_Send.cpp: * ace/FIFO_Send_Msg.cpp: * ace/FILE.cpp: * ace/FILE_Addr.cpp: * ace/FILE_Connector.cpp: * ace/FILE_IO.cpp: * ace/Filecache.cpp: * ace/FlReactor.cpp: * ace/Functor.cpp: * ace/Functor_T.cpp: * ace/Future.cpp: * ace/Future_Set.cpp: * ace/Get_Opt.cpp: * ace/Handle_Set.cpp: * ace/Hash_Cache_Map_Manager_T.cpp: * ace/Hash_Map_Manager.cpp: * ace/High_Res_Timer.cpp: * ace/INET_Addr.cpp: * ace/IOStream.cpp: * ace/IOStream_T.cpp: * ace/IO_SAP.cpp: * ace/IPC_SAP.cpp: * ace/LSOCK.cpp: * ace/LSOCK_Acceptor.cpp: * ace/LSOCK_CODgram.cpp: * ace/LSOCK_Connector.cpp: * ace/LSOCK_Dgram.cpp: * ace/LSOCK_Stream.cpp: * ace/Local_Name_Space.cpp: * ace/Local_Name_Space_T.cpp: * ace/Local_Tokens.cpp: * ace/Log_Msg.cpp: * ace/Log_Record.cpp: * ace/MEM_Acceptor.cpp: * ace/MEM_Addr.cpp: * ace/MEM_Connector.cpp: * ace/MEM_IO.cpp: * ace/MEM_SAP.cpp: * ace/MEM_Stream.cpp: * ace/Malloc.cpp: * ace/Malloc_T.cpp: * ace/Managed_Object.cpp: * ace/Map.cpp: * ace/Map_Manager.cpp: * ace/Mem_Map.cpp: * ace/Memory_Pool.cpp: * ace/Message_Block.cpp: * ace/Message_Block_T.cpp: * ace/Message_Queue.cpp: * ace/Message_Queue_T.cpp: * ace/Method_Request.cpp: * ace/Module.cpp: * ace/Msg_WFMO_Reactor.cpp: * ace/Multiplexor.cpp: * ace/NT_Service.cpp: * ace/Name_Proxy.cpp: * ace/Name_Request_Reply.cpp: * ace/Name_Space.cpp: * ace/Naming_Context.cpp: * ace/OS.cpp: * ace/Object_Manager.cpp: * ace/Obstack.cpp: * ace/POSIX_Proactor.cpp: * ace/Pair.cpp: * ace/Parse_Node.cpp: * ace/Pipe.cpp: * ace/Priority_Reactor.cpp: * ace/Proactor.cpp: * ace/Process.cpp: * ace/Process_Manager.cpp: * ace/Profile_Timer.cpp: * ace/QoS_Manager.cpp: * ace/QoS_Session_Factory.cpp: * ace/QoS_Session_Impl.cpp: * ace/Reactor.cpp: * ace/Read_Buffer.cpp: * ace/Registry.cpp: * ace/Registry_Name_Space.cpp: * ace/Remote_Name_Space.cpp: * ace/Remote_Tokens.cpp: * ace/SOCK.cpp: * ace/SOCK_Acceptor.cpp: * ace/SOCK_CODgram.cpp: * ace/SOCK_Connector.cpp: * ace/SOCK_Dgram.cpp: * ace/SOCK_Dgram_Bcast.cpp: * ace/SOCK_Dgram_Mcast.cpp: * ace/SOCK_IO.cpp: * ace/SOCK_Stream.cpp: * ace/SPIPE.cpp: * ace/SPIPE_Acceptor.cpp: * ace/SPIPE_Addr.cpp: * ace/SPIPE_Connector.cpp: * ace/SPIPE_Stream.cpp: * ace/SString.cpp: * ace/SV_Message.cpp: * ace/SV_Message_Queue.cpp: * ace/SV_Semaphore_Complex.cpp: * ace/SV_Semaphore_Simple.cpp: * ace/SV_Shared_Memory.cpp: * ace/Sched_Params.cpp: * ace/Select_Reactor.cpp: * ace/Select_Reactor_Base.cpp: * ace/Select_Reactor_T.cpp: * ace/Service_Config.cpp: * ace/Service_Manager.cpp: * ace/Service_Object.cpp: * ace/Service_Repository.cpp: * ace/Service_Types.cpp: * ace/Shared_Memory.cpp: * ace/Shared_Memory_MM.cpp: * ace/Shared_Memory_SV.cpp: * ace/Shared_Object.cpp: * ace/Signal.cpp: * ace/Singleton.cpp: * ace/Stats.cpp: * ace/Strategies.cpp: * ace/Strategies_T.cpp: * ace/Stream.cpp: * ace/Stream_Modules.cpp: * ace/Svc_Conf.y: * ace/Svc_Conf_l.cpp: * ace/Svc_Conf_y.cpp: * ace/Svc_Handler.cpp: * ace/Synch.cpp: * ace/Synch_Options.cpp: * ace/Synch_T.cpp: * ace/System_Time.cpp: * ace/TLI.cpp: * ace/TLI_Acceptor.cpp: * ace/TLI_Connector.cpp: * ace/TLI_Stream.cpp: * ace/TP_Reactor.cpp: * ace/TTY_IO.cpp: * ace/Task.cpp: * ace/Task_T.cpp: * ace/Thread.cpp: * ace/Thread_Manager.cpp: * ace/Time_Request_Reply.cpp: * ace/Timeprobe.cpp: * ace/Timer_Hash.cpp: * ace/Timer_Hash_T.cpp: * ace/Timer_Heap.cpp: * ace/Timer_Heap_T.cpp: * ace/Timer_List.cpp: * ace/Timer_List_T.cpp: * ace/Timer_Queue.cpp: * ace/Timer_Queue_Adapters.cpp: * ace/Timer_Queue_T.cpp: * ace/Timer_Wheel.cpp: * ace/Timer_Wheel_T.cpp: * ace/TkReactor.cpp: * ace/Token.cpp: * ace/Token_Collection.cpp: * ace/Token_Invariants.cpp: * ace/Token_Manager.cpp: * ace/Token_Request_Reply.cpp: * ace/Trace.cpp: * ace/Typed_SV_Message.cpp: * ace/Typed_SV_Message_Queue.cpp: * ace/UNIX_Addr.cpp: * ace/UPIPE_Acceptor.cpp: * ace/UPIPE_Connector.cpp: * ace/UPIPE_Stream.cpp: * ace/WFMO_Reactor.cpp: * ace/WIN32_Asynch_IO.cpp: * ace/WIN32_Proactor.cpp: * ace/XTI_ATM_Mcast.cpp: * ace/XtReactor.cpp: * include/makeinclude/ace_flags.bor: * ace/ace_dll.dsp: * ace/ace_lib.dsp: The definition of ACE_BUILD_DLL was moved from the .cpp files to the project files - so it is now handled like most of the other libraries in ACE and TAO. Tue Apr 18 21:32:21 2000 Douglas C. Schmidt * ace/OS.i (sema_init): Fixed another problem that required a cast to ACE_mutexattr_t *. Thanks to Priyanka for reporting this. Tue Apr 18 19:39:41 2000 Douglas C. Schmidt * ace/Synch.cpp, * ace/OS.cpp: Added a cast to ACE_mutexattr_t *. Thanks to Darrell for pointing this out. Tue Apr 18 15:18:53 2000 Douglas C. Schmidt * ace/OS.h, * ace/OS.i, * ace/Synch.h, * ace/Synch.cpp: Updated the ACE_OS::*mutex_init() methods (and the corresponding ACE_Thread_Mutex, ACE_Mutex, and ACE_Recursive_Thread_Mutex classes) so that they now take an optional ACE_mutexattr_t * rather than just a void *. This is nice because it makes it possible to pass in special attributes, such as the mutex prioceiling attribute, to the underlying pthreads mutex (assuming we're running on pthreads, of course). Thanks to lafortg@res.raytheon.com for motivating this. * ace/Containers_T.cpp (copy_nodes): Added a call to the allocator->malloc() rather than new. Thanks to Umar Syyid for reporting this. Tue Apr 18 14:06:32 2000 Jeff Parsons * ace/CDR_Stream.cpp: Patch to ACE_CDR::consolidate() sent in by Carlos, that fixes a bug reported by Harald Finster , and an added check for 0 value of the 'length' arg in read_array() and write_array(), that fixes [Bug 540], reported by Mathew Samuel . Tue Apr 18 11:47:57 2000 Ossama Othman * ace/SOCK_Connector.cpp: Removed inclusion of `ace/Handle_Set.h'. The ACE_SOCK_Connector doesn't directly use an ACE_Handle_Set. * ace/Makefile: Updated dependencies. Tue Apr 18 08:54:04 2000 Darrell Brunsch * bin/vc_filter.pl: Brand spankin' new filter script for Win32 auto build results. Sun Apr 16 22:24:34 2000 Douglas C. Schmidt * ACE-INSTALL.html: Updated the link for GNU make to be more specific. Thanks to Xiaojun Wu for reporting this. BTW, Xiaojun was the 900th contributor to ACE+TAO, so he gets a free copy of ACE+TAO! Mon Apr 17 20:10:18 2000 Vishal * ACE version 5.1.1 released. Mon Apr 17 16:33:17 2000 Ossama Othman * acconfig.h (ACE_LACKS_ACE_OTHER, ACE_LACKS_ACE_SVCCONF, ACE_LACKS_ACE_TOKEN): Added support for these macros. They are used when enabling subsetting. * configure.in: lseek64() and llseek() test has been moved to `m4/acinclude.m4'. Include `sys/types.h' when running the TLI/XTI tests. Some platforms use typedefs such as "ulong" but such typedefs may not be defined in the TLI/XTI headers. (ACE_HAS_BROKEN_T_ERROR): Corrected test for broken t_error(). A variable, "errmsg" was being passed to the t_error() call in the test, but the variable was declared as "ace_errmsg." Thanks to Roland Gigler for pointing this out. (ACE_MAJOR, ACE_MINOR, ACE_BETA): If any of these variables is evaluates to the empty string, then set it to zero. This fixes a problem that was occuring when the the ACE version contained no beta number (e.g. "5.1" instead "5.1.0"). Libtool didn't like the fact that one of the numbers was an empty string. * ace/Makefile.am (libACE_IPC_la_SOURCES, libACE_Other_la_SOURCES, HEADER_FILES, INLINE_FILES): Synchronized the sources associated with these Makefile variables with those in the classical ACE Makefile. * m4/acinclude.m4 (ACE_CHECK_LSEEK64): Moved checks for lseek64() and llseek() from configure.in to this file. The beginnings of a test for a 64 bit offset type have also been added, but that test is currently not in use. * m4/ace.m4 (ACE_COMPILATION_OPTIONS): Removed check for exception support in C compiler. It didn't make too much sense to check for exception support in a C compiler. Since exception support is disabled by default, make sure "-fno-exceptions" is set when using g++ with the default ACE exception configuration value. * m4/compiler.m4 (ACE_SET_COMPILER_FLAGS): Fixed typos where "$GXX" was used instead of "$CXX." "$GXX" is set to yes when GNU C++ is being used, and "$CXX" is set to the compiler being used (e.g. "c++"). Thanks to Rich Seibel for pointing this out. This also fixes a problem where "-fcheck-new" wasn't being added to the C++ flags ($CXXFLAGS). * m4/subsets.m4 (ACE_LACKS_ACE_OTHER, ACE_LACKS_ACE_SVCCONF, ACE_LACKS_ACE_TOKEN): When disabling the "Other," "SvcConf" and/or the "Token" subset, then define the corresponding preprocessor macro. Sat Apr 15 21:49:04 2000 Darrell Brunsch * ace/ACE.cpp: * apps/Gateway/Gateway/Options.cpp: Nick Pratt reported two cases where we were using sizeof some_string to figure out its length. This of course doesn't work when the string is a wide string, so they have been changed to account for the character size. * ace/ace_dll.dsp: * ace/ace_lib.dsp: * apps/gperf/src/gperf.dsp: * apps/gperf/src/gperf_lib.dsp: Changed around the order of the configurations so that in the default case (such as out of the box) the regular Debug version will be the current configuration. Sat Apr 15 19:35:57 2000 Darrell Brunsch (On behalf of Christopher Kohlhoff ) * ace/Makefile.bor: Added new file QoS_Manager.cpp. * ace/Basic_Types.h: * ace/Timer_Queue_Adapters.h: Added missing pre/post includes. * include/makeinclude/ace_flags.bor: * include/makeinclude/build_example.bor: Updated for new orbsvcs libraries. Sat Apr 15 18:17:02 2000 Douglas C. Schmidt * apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp: Fixed the handle_output() function so that it does the "Right Thing"[TM] on Windows NT. Win32 Winsock doesn't trigger multiple "You can write now" signals, so we have to assume that we can continue to write until we get another EWOULDBLOCK. Thanks to Nick Pratt Thu Apr 13 16:30:01 2000 David L. Levine * ace/config-sunos5.7.h: added #undef ACE_NEEDS_LWP_PRIO_SET. SunOS 5.7 no longer needs it, as shown by performance-tests/Misc/preempt (run as superuser). Thanks to John Foresteire for reporting this. Tue Apr 11 21:41:20 2000 Nanbor Wang * bin/auto_compile_win32.pl: Updated the lists of workspaces/projects to build. Tue Apr 11 16:15:31 2000 David L. Levine * ace/OS.cpp: moved ACE_Thread_Exit::is_constructed_ definition so that it's seen on all platforms, not just those that are ACE_MT_SAFE. Fixes: Mon Apr 10 07:30:22 2000 John Rodgers Thanks to Vishal for reporting it. Tue Apr 11 13:57:11 2000 Douglas C. Schmidt * ace/Synch_T.cpp: Make sure to cast the "type" argument to "short" to avoid overload confusions by certain compilers. Thanks to Charles Taurines for reporting this. Tue Apr 11 12:52:04 2000 Vishal Kachroo * ace/SOCK_Dgram_Mcast.cpp (subscribe): Removed the #ifdef for template instantiation. Tue Apr 11 11:32:03 2000 Chad Elliott * bin/ACEutils.pm Refactored duplicate test code into ACEutils.pm Mon Apr 10 19:45:32 2000 Vishal Kachroo * ace/SOCK_Dgram_Mcast.cpp (subscribe): Added a #ifdef to get past a g++ error. I am looking into the right way to do this. Mon Apr 10 17:37:53 2000 Nanbor Wang * ace/config-freebsd-pthread.h: Addplied John Aughey 's patch for FreeBSD 4.0. Mon Apr 10 07:30:22 2000 John Rodgers * ace/OS.{h,cpp},Thread_Manager.cpp (instance,~ACE_Thread_Exit): added a state variable, is_constructed_, to ACE_Thread_Exit. instance () sets it, ~ACE_Thread_Exit () clears it. This allows ACE::init () to be called after ACE::fini (), because a new ACE_Thread_Exit instance will be created. [Bug 526] Sun Apr 9 14:16:23 2000 James CE Johnson * docs/tutorials/015/page01.html : Thanks to Conrad Hughes for pointing out that a real implementation would compress before encrypting since encrypted data shouldn't really be compressible anyway. * docs/tutorials/015/Protocol_Stream.cpp (open): Reorder the module pushing so that encryption happens before compression. * docs/tutorials/015/Crypt.cpp : * docs/tutorials/015/Compressor.cpp : Add a few extra bytes when creating the new message blocks. A real implementation would probably need that. Sun Apr 09 00:04:25 2000 Nanbor Wang * ace/Malloc_T.cpp (remove): Removed invocation of destructor to . It is a member of Control_Block and does not require explicit initialization/destruction. This was causing ACE not to compile when ACE_HAS_MALLOC_STATS was defined. Thanks to John Smyder for reporting the problem. * ace/Malloc_T.cpp (open): Removed invocation of contructor to for the same reason. Fri Apr 07 23:32:16 2000 Nanbor Wang * ace/ace_dll.dsp: * ace/ace_lib.dsp: Added QoS_Manager.* into project files. Thu Apr 6 07:29:48 2000 Douglas C. Schmidt * ace/Token.h (ACE_Token): Clarified the recursive semantics of ACE_Token. Thanks to Antti Valtokari for reporting this. Wed Apr 5 22:59:58 2000 Douglas C. Schmidt * ace/config-sunos5.5.h: Moved the ACE_HAS_USING_KEYWORD into the part of this header file that's enabled when __SUNPRO_CC_COMPAT >= 5 is defined. Thanks to Susan Liebeskind for reporting this. Tue Apr 4 23:50:02 2000 Douglas C. Schmidt * ace/ACE.cpp (sock_error): Changed "int error" to "ssize_t error" to be consistent... Tue Apr 4 20:19:36 2000 * ace/Acceptor.cpp: Modified the implementation of ACE_Acceptor::open() and ACE_Acceptor::accept_svc_handler() so that the peer acceptor's handle is set into non-blocking mode. This is a safe-guard against the race condition that can otherwise occur between the time when