Sat Jul 31 20:29:17 1999 Nanbor Wang * ace/OS.cpp: Moved the comment regarding *printf to where it belongs. * ace/OS.h: Removed an extra trailing semicolon following IPPROTO_TCP. Sat Jul 31 19:27:50 1999 Douglas C. Schmidt * examples/Shared_Malloc/test_position_independent_malloc.cpp: Now that position-independent malloc works, I finished integrating all the features in this test. Sat Jul 31 19:06:05 1999 Carlos O'Ryan * ace/Pipe.cpp: The third argument to ACE_OS::setsockopt() is a "const char*" no sense in casting it to void*! Sat Jul 31 18:55:34 1999 Kirthika Parameswaran * ace/Asynch_IO_Impl.{h, cpp}: Fixed compiler errors: redefinition of destructors of the classes in this file. Removed inline declaration of destructors and defined those which hadnt been defined. Sat Jul 31 17:54:32 1999 Carlos O'Ryan * etc/enforce_ace_try.diff: Apply this patch file and then compile to enforce the correct use of ACE_TRY macros. It renames the exception(), clear() and print_exception() methods in the CORBA::Environment class. Sat Jul 31 17:39:42 1999 Carlos O'Ryan * ace/Timeprobe_T.cpp: Print timeprobe results with higher precision (3 decimal digits), this is useful for extremely fine grained analysis where just microseconds won't cut it. Sat Jul 31 12:07:48 1999 Douglas C. Schmidt * ace: Updated comments in all the header files so that references to method names like ACE_Event_Handler::handle_input() were changed to . This change enables the class2man scripts to use the appropriate "code" font for these names in the auto-generated documentation. * ace/Asynch_IO_Impl: Moved the virtual destructors for all the ACE_Asynch_*_Impl classes into the *.cpp file, which is where they belong. * ace/Functor_T.h: Moved the destructor of ACE_Command_Callback out of the header file and into the *.cpp file. * ace/Sched_Params.h: Updated the documentation a bit to mention the ACE_SCHED_{FIFO,RR,OTHER} policies explicitly. Thanks to Peter Mueller for motivating this. * ace/Synch_T: Moved the implementations of ACE_Read_Guard and ACE_Write_Guard out of the class header and into the *.i file, which is where they belong. * ace/Based_Pointer_T.i (operator *): In order to distinquish a "NULL" pointer we keep a value of -1 in target. * ace/Based_Pointer_T.i: I was forgetting to check if rhs == 0 for the ACE_Based_Pointer<> class. This leads to weird behavior when assigning a "NULL" pointer. * examples/Reactor/Misc/notification.cpp: Cleaned up the program so that it looks better and doesn't crash and burn when signals occur. * ace/Pipe.cpp (open): We now set the default size of the ACE_Pipes that are implemented as Internet or UNIX-domain sockets to ACE_DEFAULT_MAX_SOCKET_BUFSIZ. This will speed up the Reactor's notify() method and prevent it from deadlocking as quickly. Thanks to Detlef Becker for testing this out. * ace/OS.h: Added a new macro called ACE_IPPROTO_TCP that factors out the differences between PHARLAPs and "normal" systems. * ace/Strategies_T.{i,cpp}: Added some additional ACE_ERROR printouts if open() methods fail in constructors. * ace/Strategies_T: The logic for creating a new Singleton wasn't dynamic enough. It's now intelligent enough to create a new SVC_HANDLER if it's not given one. Thanks to Hao Ruan for reporting this. Sat Jul 31 15:57:16 1999 Carlos O'Ryan * ACE version 5.0 released. Party on Wayne. Sat Jul 31 12:20:59 1999 Nanbor Wang * tests/version_tests/version_tests.dsw: * tests/version_tests/Hash_Map_Bucket_Iterator_Test.dsp: * tests/version_tests/Cached_Conn_Test.dsp: * tests/version_tests/Cached_Accept_Conn_Test.dsp: Added three missing version_tests project files. Sat Jul 31 00:22:46 1999 Nanbor Wang * tests/Basic_Types_Test.dsp: * tests/Collection_Test.dsp: * tests/Dynamic_Priority_Test.dsp: * tests/New_Fail_Test.dsp: * tests/Reverse_Lock_Test.dsp: * tests/SOCK_Connector_Test.dsp: * tests/SOCK_Send_Recv_Test.dsp: * tests/Thread_Mutex_Test.dsp: * tests/Timeprobe_Test.dsp: * tests/Upgradable_RW_Test.dsp: Rebuilt. ACE_Init_Test.dsp is still broken. Fri Jul 30 10:27:31 1999 Steve Huston * ace/config-hpux-10.x.h: Allow building w/o threads - set _REENTRANT if not set, to pick up _r functions; move ACE_HAS_NONCONST_SELECT_ TIMEVAL out of the threads-only section. Fri Jul 30 08:36:43 1999 Douglas C. Schmidt * ace/OS.i: Commented out the ACE_TRACE calls in ACE_OS::mutex_lock() and ACE_OS::thread_mutex_lock() to avoid infinite recursion. Thanks to Ulf Jaehrig for reporting this. Fri Jul 30 03:33:14 1999 Carlos O'Ryan * bin/auto_compile: * bin/auto_compile_wrapper: * bin/run_all_list.pm: Added options to run only the tests that do not require threads (-single_threaded) and that do not require the full corba profile (-minimum_corba). Also added options to disable the cvs update, to execute realclean before compiling and to print some debugging info. Thu Jul 29 20:44:56 1999 Ossama Othman * include/makeinclude/wrapper_macros.GNU: Override minimum_corba variable if it isn't set to 1 (i.e. if minimum_corba is not enabled). This change was needed to make it easier to disable some TAO ORB services, examples and tests that rely on CORBA features that aren't supported in the minimum CORBA specification. Thu Jul 29 19:04:12 1999 Ossama Othman * ace/Atomic_Op.i: * ace/Filecache.cpp: Replaced raw ACE_*_Guards with their corresponding ACE_GUARD_RETURN macros. This corrects "unused variable" warnings when building ACE without thread support. See David's ChangeLog entry from Fri May 14 16:10:29 1999 for a better description of why this was necessary. Thu Jul 29 18:29:46 1999 Nanbor Wang * bin/run_all_list.pm: Moved the RUN_LIST definition from auto_compile to this file to reduce the work to maintain the list and allow auto_compile and run_all_win32.pl to synchronize the tests being run. * bin/auto_compile: * bin/run_all_win32.pl: Removed definition of RUN_LIST and use the run_all_list module. Thu Jul 29 17:30:14 1999 Douglas C. Schmidt * ace/Makefile[.am] (pkginclude_HEADERS): Removed Future_Node.* Thanks to John Tucker and Michael Garvin for reporting this. Thu Jul 29 14:47:10 1999 Ossama Othman * ace/Select_Reactor_T.cpp (dispatch_notification_handlers): This code is used for picking up updates from non-owner threads. However, it is also useful for picking up notifications from the notify pipe (even though the notify is part of the I/O handle set in the Select_Reactor). Therefore, we have enabled this code for the single-threaded case also. Thanks to Irfan for this fix. Thu Jul 29 14:32:28 1999 Carlos O'Ryan * ace/ACE.cpp: Linux without returns a different errno (EOPNOTSUPP) if the connector or acceptor runs out of file descriptors. * ace/OS.i: The Errno_Guard constructor was not using an argument in platforms without exceptions. Thu Jul 29 13:59:15 1999 Douglas C. Schmidt * ACE version 4.6.47 released. Thu Jul 29 12:32:01 1999 Nanbor Wang * ace/WFMO_Reactor.cpp (ACE_WFMO_Reactor): * ace/Select_Reactor_T.cpp (ACE_Select_Reactor_T): I forgot to initialize flag in one of the two ctors. Thanks to Ruediger Franke for catching this one. Thu Jul 29 01:04:03 1999 Carlos O'Ryan * bin/auto_compile: * bin/auto_compile_wrapper: Updated to include the latest round of changes, new tests and several improvements to send email and stuff. Wed Jul 28 18:29:46 1999 Jeff Parsons * ace/config-win32.h: Removed ACE_HAS_STD_TEMPLATE_SPECIALIZATION definition. See below. * ace/config-win32-common.h: Added ACE_HAS_STD_TEMPLATE_SPECIALIZATION definition, since there is a place for MSVC 6.0 stuff like this. Also added ACE_HAS_BROKEN_IMPLICIT_CONST_CAST definition for a generated code bug fix that just didn't have one version that would satisfy both SunCC and MSVC. Wed Jul 28 18:26:53 1999 Carlos O'Ryan * ace/CDR_Stream.cpp: * ace/Message_Block.h: * ace/Message_Block.cpp: * ace/Message_Block_T.h: * ace/Message_Block_T.cpp: Re-implemented the clone() method without data copies in a backwards compatible way, a new clone_nocopy() method was added so classes that inherit from Data_Block and only override clone() will work correctly. Also fixed the implementation of Locked_Data_Blocked because it is used in TAO and we need zero-copy clone() operations in that case. Wed Jul 28 16:16:27 1999 Nanbor Wang * ace/OS.cpp (set): Fixed a unsigned/signed conversion problem that caused negative usec value in ACE_Time_Value. Thanks to Jerry D. De Master for reporting the bug. (FILETIME): Removed some unused macros for dealing with older Borland C++ compilers. Thanks to Jody and Gonzo for confirming this. Wed Jul 28 13:44:15 1999 Nanbor Wang * ACE-INSTALL.html: Remind users to pick the right configurations when building from MSVC project files. Thanks to Jerry D. De Master for suggesting this. Wed Jul 28 13:26:36 1999 David L. Levine * ACE-INSTALL.html: for VxWorks (thru Tornado 1.0.1), -fno-implicit-templates is broken for x86 targets, not all targets. Wed Jul 28 13:09:26 1999 David L. Levine * docs/ACE-subsets.html: updated libACE size breakdown. Wed Jul 28 12:08:56 1999 Ossama Othman * ace/CDR_Stream.cpp (reset_contents): Modified call to clone() so that it uses the newly added zero-copy semantics. A data copy was already being made in ACE_InputCDR::steal_from(), which also calls ACE_InputCDR::reset_contents(). Two data copies were being performed. This change reduces the number of data copies to one. Thanks to Carlos for this change. Wed Jul 28 11:23:36 1999 Ossama Othman * ace/Message_Block.h: * ace/Message_Block.cpp (clone): Added argument that allows the characteristics of an ACE_Data_Block to be copied without copying the data that the ACE_Data_Block holds. This modification is part of a zero-copy optimization for TAO. Thanks to Carlos for implementing this change. Wed Jul 28 09:48:37 1999 David L. Levine * docs/ACE-guidelines.html: added guideline about testing for definition of a macro before using it. Thanks to Susan Liebeskind for providing this guideline. Wed Jul 28 00:06:32 1999 Douglas C. Schmidt * ace: Added a new Makefile.bor file for BCB4. Thanks to Christopher Kohlhoff for contributing this. Tue Jul 27 23:25:18 1999 Douglas C. Schmidt * netsvcs/lib/Server_Logging_Handler_T.cpp (open): Updated a comment to point out that we use a thread-per-connection concurrency model. Thanks to Raghu Nambiath for reporting this. Tue Jul 27 21:05:23 1999 David L. Levine * include/makeinclude/platform_tru64_cxx.GNU (ACE_DU_SUBVERSION): fixed typo: -v instead of v-. Thanks to Doug Anderson for reporting this. Tue Jul 27 16:58:54 1999 Kirthika Parameswaran * ace/ACE.cpp (out_of_handles): Added bug-fixes for RedHat5.2 and FreeBSD. Thanks to James Megquier for discovering and testing out the bug-fix on RedHat5.2 and Russell.L.Carter for sending in a patch for FreeBSD. These bug fixes are for: $ACE_ROOT/tests/ Cached_Conn_Test and Cached_Accept_Conn_Test. Tue Jul 27 16:55:44 1999 Nanbor Wang * include/makeinclude/platform_sunos5_kcc.GNU (MATHLIB): KCC needs to have this defined. Tue Jul 27 16:18:21 1999 David L. Levine * ACE-INSTALL.html: updated note about shared libraries on VxWorks. In particular, they don't provide copies of global (static) variables in the library. So, "programs" that share a library will also share the static variables in the library. [Bug 86] Tue Jul 27 14:26:37 1999 Douglas C. Schmidt * ace/SOCK_Dgram: Removed the QoS_Params from open() and ACE_SOCK_Dgram since they don't appear to be useful. Thanks to Vidya Narayanan for suggesting this. Tue Jul 27 14:41:26 1999 Steve Huston * ace/Codeset_IBM1047.cpp: Added a static variable only for HP aC++ to make it stop warning of an empty translation unit. Tue Jul 27 14:16:55 1999 Nanbor Wang * ace/Thread_Manager.cpp (cancel_thr): This method should return the result of thread cancel operation if async_cancel is used. Thanks to Peter Mueller for suggesting the fix. Mon Jul 26 20:50:37 1999 Douglas C. Schmidt * ace/OS: Addded a new pair of priority() fields as place holders for the forthcoming DiffServ QoS features. Thanks to Vidya Narayanan for suggesting this. Tue Jul 27 13:28:48 1999 David L. Levine * ace/OS.i (getuid): removed extra ACE_TRACE with ACE_WIN32 or CHORUS. Thanks to Jerry D. De Master for reporting this. Tue Jul 27 11:10:39 1999 David L. Levine * examples/System_V_IPC/Makefile: on VxWorks only, fixed so that make all, etc., work properly (by just printing the message that these examples aren't used on VxWorks). Tue Jul 27 10:25:41 1999 Steve Huston * ACE-INSTALL.html: Added a note about required HP-UX 10.20 patch. Updated aC++ versions. * ace/Process.{h cpp} (ACE_Process_Options::command_line): Added 'const' to make the entire array and contents const. Restores ability for users of pre-5.0 to still pass char **. Thanks to Bill Tovrea for reporting this. * examples/Connection/non_blocking/Makefile: Re-added LIBS += $(ACELIB) (see ChangeLog, 23-Jul-1999) but did it in the section for AIX C Set++ and IBM C/C++ only (ifdef TEMPINCDIR). This is needed to generate the shared library (libConn) using those compilers. Mon Jul 26 20:50:37 1999 Douglas C. Schmidt * ace/Future.h: Moved the static methods until the bottom of the ACE_Future_Rep class (again) to workaround a bug with Borland's C++ Builder. Thanks to Christopher Kohlhoff for reporting this (again). Mon Jul 26 20:59:23 1999 Carlos O'Ryan * websvcs/README: Added a brief description of the directory and its current contents. Thanks to Will Skunk for motivating this. Mon Jul 26 20:50:37 1999 Douglas C. Schmidt * ace/Log_Msg.cpp: Added support for the 'W' (UNICODE) option for Win32. Thanks to Valery Arkhangorodsky for contributing this. Mon Jul 26 20:58:35 1999 Alexander Babu Arulanthu * ace/POSIX_Asynch_IO.cpp: * ace/WIN32_Asynch_IO.cpp: Fixed the double deletion problem of the result classes. Thanks to David Digby and Timothy Schimke for reporting this. Mon Jul 26 18:09:09 1999 Irfan Pyarali * tests/run_tests.sh (Cached_Conn_Test and Cached_Accept_Conn_Test): These two tests are known to leak memory when compiled with old gcc (g++). Therefore, we skip these tests when using purify and old gcc (g++). A -p option was added to the script to indicate that we want to run with purify. Mon Jul 26 17:09:09 1999 David L. Levine * ace/Object_Manager.{h,cpp},Makefile: don't create the ACE_TOKEN_MANAGER_CREATION_LOCK and ACE_TOKEN_INVARIANTS_CREATION_LOCK preallocated objects if the Token component isn't build. This gets rid of unresolved references to the ACE_Token_Proxy compoents on VxWorks/g++ when Token isn't built. Thanks to Stephane Chatre for reporting this. Mon Jul 26 17:02:08 1999 David L. Levine * include/makeinclude/wrapper_macros.GNU: don't override OBJDIRS on VxWorks with shared libs. This allows make realclean to work properly on VxWorks, when shared lib builds are enabled. Mon Jul 26 15:06:23 1999 Jeff Parsons * ace/CDR_Stream.i: * ace/Map_Manager.i: Had to cast some return values to avoid MSVC signed/unsigned mismatch type warnings (level 4). * ace/config-win32.h: Added ACE_HAS_STD_TEMPLATE_SPECIALIZATION define, so that ACE_TEMPLATE_SPECIALIZATION macro adds the necessart 'template <>' for MSVC, and so averts many many level 4 warnings. Mon Jul 26 14:10:56 1999 Kirthika Parameswaran * ace/DLL.cpp (get_handle): Changed the check of flag to now reset only if the is set. Thanks to Bob McWhirter for pointing this out. Mon Jul 26 12:32:41 1999 Douglas C. Schmidt * ACE version 4.6.46 released. Fri Jul 23 18:20:11 1999 Carlos O'Ryan * ace/config-irix6.x-sgic++-nothreads.h: Enabled namespaces with MIPSPro 7.2 or higher. Fri Jul 23 16:40:15 1999 Carlos O'Ryan * ace/ACE.cpp: Fixed typos in error return values for ACE::execname() Fri Jul 23 14:51:48 1999 Douglas C. Schmidt * examples/Service_Configurator/IPC-tests/Handle_L_CODgram, examples/Service_Configurator/IPC-tests/Handle_L_Dgram, examples/Service_Configurator/IPC-tests/Handle_L_Pipe: Cleaned this stuff up so that it builds correctly when ACE_LACKS_UNIX_DOMAIN_SOCKETS is enabled. Thanks to David for reporting this. * examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe: Made upper_case() a method in the Handle_L_Pipe class. * examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.cpp, examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.cpp: Removed the bizarre hacks for SunOS4. This stuff probably hasn't been tested since 1992! Fri Jul 23 14:16:22 1999 Steve Huston * ace/OS.i (ACE_OS::read): (only non-Win32), if call fails and errno is EAGAIN, change it to EWOULDBLOCK. Improve portability for platforms where EAGAIN and EWOULDBLOCK are different values and both used, like HP-UX. * ace/Malloc_T.cpp (ACE_Malloc<> ctor): Added missing newline in error message. Fri Jul 23 12:09:18 1999 Nanbor Wang * ace/OS.i: Fixed some mismatched ifdef/endif comments. * ace/ACE.cpp (execname): Fixed some misuses of ACE_HAS_WIN32 macros where they should have been ACE_WIN32. Thanks to Andy for noticing this. Fri Jul 23 11:28:17 1999 Douglas C. Schmidt * ace/Memory_Pool.cpp (init_acquire): shmat() returns -1 on failure, not 0. Thanks to Kevin Liu for reporting this. Fri Jul 23 11:35:31 1999 David L. Levine * examples/Connection/non_blocking/tests_lsock_{acceptor, connector.cpp}: disabled if ACE_LACKS_UNIX_DOMAIN_SOCKETS. Thanks to Alain Magloire for reporting this. * examples/Connection/non_blocking/Makefile: removed unneeded LIBS (=$(ACELIB)) and BUILD macro definitions. Fri Jul 23 10:07:05 1999 David L. Levine * include/makeinclude/platform_qnx_neutrino.GNU: added CROSS-COMPILE macro definition. Thanks to Alain Magloire for reporting this. Fri Jul 23 08:58:56 1999 Douglas C. Schmidt * ace/Service_Config.h: Clarified the fact that the ACE_Service_Config uses the Monostate pattern, so there can only be one of them per-process. Thanks to Ralf Kluthe for reporting this. Fri Jul 23 07:49:31 1999 David L. Levine * include/makeinclude/platform_sunos5_sunc++.GNU: added comment about options for producing 64-bit binaries. Thanks to Jeff Franks for raising this issue. Fri Jul 23 03:10:31 1999 Irfan Pyarali * ace/Strategies_T.cpp (find_or_create_svc_handler_i): * ace/Cached_Connect_Strategy_T.cpp (cached_connect): I had added the new_connection() method that lets go of the lock for the duration of the connect(), but forgot to use it in the above functions ;) It should be fine now. * tests/Cached_Conn_Test.cpp (cached_connect): * tests/Cached_Accept_Conn_Test.cpp (cached_connect): Host of the remote address should be ACE_LOCALHOST instead of ACE_DEFAULT_SERVER_HOST. Thu Jul 22 23:23:26 1999 Irfan Pyarali * ace/Handle_Gobbler.h (class ACE_Handle_Gobbler): Inlined declaration of the functions. Thu Jul 22 20:03:54 1999 Douglas C. Schmidt * ace/Acceptor.cpp: For sanity's sake, initialize all the data members to 0 in the ACE_Strategy_Acceptor constructor. Thanks to Jody Hagins for reporting this. * ace/Acceptor.cpp: The service_port_ data member in the ACE_Strategy_Acceptor wasn't being initialized to 0. Thanks to Jody Hagins for reporting this. * ace/Acceptor.cpp: Modified the dump() and info() methods so that don't do bad things if service_name_ and service_description_ are NULL. Thanks to Jody Hagins for this suggestion. * ace/Message_Queue_T.h: Clarified what the errnos get set to when timeouts occur or queues are deactivated. Thanks to John Forest for suggesting this. Thu Jul 22 16:55:14 1999 Carlos O'Ryan * ace/Stats.cpp: Fixed message that had a %s but no argument! Thu Jul 22 15:12:18 1999 David L. Levine * ace/Codeset_IBM1047.{h,cpp}: wrapped with #ifdef ACE_MVS so that the code doesn't occupy any space on platforms other than MVS. Thu Jul 22 14:22:41 1999 David L. Levine * examples/Shared_Malloc/Malloc.cpp: fixed explicit template instantiations so that there are no duplications with ACE_LACKS_SBRK and ACE_LACKS_SYSV_SHMEM. Thu Jul 22 12:17:26 1999 David L. Levine * ace/config-lynxos.h: removed ACE_LACKS_FORK on PowerPC. All of the ACE tests that fork now succeed. Thu Jul 22 11:54:58 1999 David L. Levine * tests/SV_Shared_Memory_Test.cpp (child): added a one second sleep to give the parent a chance to create the semaphore. This allows the test to succeed on LynxOS/PPC (with fork ()). * tests/Process_Mutex_Test.cpp,Process_Strategy_Test.cpp (main): added a one second sleep after spawning each server, to give it a chance to start. Also, wrapped some string literals with ASYS_TEXT. Again, success on LynxOS/PPC with fork (). Thu Jul 22 10:42:06 1999 Clarence M. Weaver * ACE-INSTALL.html: added steps for running the ACE tests on VxWorks platforms that lack NFS. Thu Jul 22 10:25:31 1999 David L. Levine * ace/Log_Record.cpp,SString.cpp: wrapped #include of ace/streams.h with #ifndef ACE_LACKS_IOSTREAMS_TOTALLY. [Bug 84] Thu Jul 22 09:55:10 1999 David L. Levine * docs/ACE-guidelines.html: updated commit message guideline to show ChangeLogTag example. Thu Jul 22 02:15:46 1999 Irfan Pyarali * ace/Handle_Gobbler (class ACE_Handle_Gobbler): New class that gobbles up handles :) This class is useful when we need to control the number of handles available for a process. Mostly used for testing purposes. Note that even though the new files are in the ace directory, they are not part of the ace library. The files only contain inline functions and Handle_Gobbler.h is only included where needed. * tests/Cached_Conn_Test.cpp: * tests/Cached_Accept_Conn_Test.cpp: Added Handle_Gobbler to the test to reduce the iterations required before handles run out and purging starts. Wed Jul 21 21:45:22 1999 Nanbor Wang * ace/Reactor.cpp: Applied ACE_NOTREACHED to several run_*_event_loop methods. * docs/ACE-guidelines.html: Updated ASYS_TEXT usage. * ace/RB_Tree.cpp: * tests/Cache_Map_Manager_Test.cpp: Applied ASYS_TEXT liberally. Wed Jul 21 21:19:36 1999 David L. Levine * ACE-INSTALL.html: added note about ACE support for shared libraries on VxWorks. It's still under development. Wed Jul 21 18:38:00 1999 Irfan Pyarali * ace/Strategies_T.h (ACE_Cached_Connect_Strategy): Renamed to . * ace/Hash_Cache_Map_Manager_T.cpp (find): Finding and updating the attributes is faster through the find() that uses an entry. Therefore, for find (key, value) and find (key) we go to find (key, entry) instead of going to the base class. * ace/Cached_Connect_Strategy_T.cpp: - ACE_Cached_Connect_Strategy_Ex::check_hint_i - ACE_Cached_Connect_Strategy_Ex::find Update the caching attributes directly since we don't do a find() on the cache map. Wed Jul 21 15:54:25 1999 Nanbor Wang * ace/DLL.cpp: ACE_HAS_MOSTLY_UNICODE_APIS fixes. * ace/OS.i (ctime): * ace/OS.cpp (ctime): One copy should only be available when ACE_HAS_MOSTLY_UNICODE_APIS is defined. Thanks to Steve for reporting this. Wed Jul 21 15:21:32 1999 David L. Levine * tests/Env_Value_Test.cpp (main): use the single-process version if ACE_LACKS_FORK, in addition to if ACE_HAS_NONSTATIC_OBJECT_MANAGER. * tests/Time_Service_Test.cpp (main): neuter if ACE_LACKS_FORK, because the test uses ACE_Process::spawn (). Thanks to Riaz Syed for reporting these. Wed Jul 21 11:48:53 1999 David L. Levine * include/makeinclude/platform_vxworks5.x_g++.GNU: use full path to $(CC) in egcs version check, to avoid warning if it is not on the user's PATH. Wed Jul 21 11:44:19 1999 Carlos O'Ryan * ace/OS.h: Simplified the definition of the ACE_THR_PRI_*_DEF macros from (MIN+(MAX-MIN)/2) to ((MIN+MAX)/2), the new definition is not only easier to read, makes less operations (and function calls) but it is also safer when the the priorities are "backwards" and PRI_MAX < PRI_MIN Wed Jul 21 11:40:31 1999 Steve Huston * include/makeinclude/platform_aix4_cset++.GNU: * include/makeinclude/platform_hpux_aCC.GNU: Replaced lines like "debug=1" with ifeq (,$(debug)) debug=1 endif. * include/makeinclude/platform_aix4_g++.GNU: Above change for variables, also added -Wl,-bbigtoc when linking TAO_IDL, else it runs out of toc space. Don't do it for all links because bigtoc introduces a run-time performance penalty. Wed Jul 21 10:25:07 1999 David L. Levine * ace/OS.{h,cpp} (tss_base,tss_open): with TSS emulation, no longer return indication of whether tss_base allocated the ts_storage array. Instead, added an (optional) argument that tss_open can use for that purpose. This allows threads that haven't been spawned by ACE to use ACE's TSS emulation. Thanks to David Hauck for reporting this and testing the fix on NT. And, thanks to Terry Rosenbaum for originally reporting it. Wed Jul 21 09:34:09 1999 David L. Levine * examples/Shared_Malloc/test_position_independent_malloc.cpp (main): removed declarations of unused argc and argv. Wed Jul 21 04:32:20 1999 Nanbor Wang * ace/Reactor.cpp: * ace/Reactor.h: * ace/Reactor.i: * ace/Reactor_Impl.h: * ace/Select_Reactor_T.cpp: * ace/Select_Reactor_T.h: * ace/Select_Reactor_T.i: * ace/TP_Reactor.cpp: * ace/WFMO_Reactor.cpp: * ace/WFMO_Reactor.h: * ace/WFMO_Reactor.i: The change was motivated by removing a race condition in TP_Reactor during shutdown. There was a small time gap between a thread running TP_Reactor event loop checking its end_event_loop flag to the thread actually grabing the token in TP_Reactor. Since the token return to its "normal" state after broadcasting, this thread has no chance to notice that the reactor has already been shutdowned and thus a deadlock occured. In order to fix the problem, we must keep a state indicating whether the reactor has been shutdowned or not in the reactor. An added benefit of adding this state is that every reactor now has its own run_reactor_event_loop which mimic the behavior of the static ACE_Reactor::run_event_loop but instead of working on the singleton reactor, the added function work on an instance of reactor object. In fact, all event_loop control functions have been added. They are named *_reactor_event_loop to differentiate their behavior. These newly added function use the added state in the reactor to control the looping of event handling. All run_reactor_event_loop methods take an extra argument of a function pointer. The function will be called in every iteration if it is set. Notice that the singleton event loop control functions are still available. Although these function merely forward the call to the singleton reactor's *_reactor_event_loop functions, you can still use them to control the "main" event loop. In fact, it is required that you use these functions to run the main event loop because it facilitates Service_Configurator's "reconfigure" feature. All reactors now also have two extra functions namely "deactivated" which is used to query whether the reactor will handle more incoming event or not, and "deactivate" which is used to control this new feature. An side effect of the change is that, once a reactor get deactivated, calls to handle_events will return -1 immediately. You can use the "deactivated" method to check if there's actually an error in the handle_events method or it simply returned because the reactor has been deactivated. This is also how the various "run_reactor_event_loop" handle the situation. Notice that this should not cause any backward compatibility problem becuase if a user is using his own end_event_loop flag, he will not (and should not) invoke any more handle_events after the flag has been set. Also, if he is using the global run_event_loop methods (for controling singleton reactor,) they should still behave the same. To summarize the change: 1. The run_event_loop control logic has been "pushed" down into each individual reactor. The methods supporting the logic are defined in ACE_Reactor and are: run_reactor_event_loop () run_alertable_reactor_event_loop () end_reactor_event_loop () reactor_event_loop_done () reset_reactor_event_loop () 2. The origianl run_event_loop methods in ACE_Reactor are still working but they now use the run_reactor_event_loop methods in the implementation of the reactor. 3. Reactors now keep a state to indicate handle_events should be called or not. They can be controlled thru: deactivated () deactivate () methods. Tue Jul 20 21:31:50 1999 Jim Rogers jrogers@viasoft.com * ace/config-mvs.h: added ACE_HAS_EXCEPTIONS. Tue Jul 20 21:23:19 1999 David L. Levine * ace/OS.* (next_key,total_keys): with TSS_EMULATION, added guard (using preallocated ACE_TSS_KEY_LOCK) to access of next_key_. Uninlined both of these functions because they now have the guards. Thanks to Jake Hamby for reporting this. Tue Jul 20 21:11:02 1999 David L. Levine * include/makeinclude/platform_vxworks5.x_g++.GNU: fixed test of g++ for whether it's egcs. Thanks to Erik Johannes for reporting this. (The symptom was that TAO's IORManipulation.cpp wouldn't compile due to an internal compiler error. Adding -fno-exceptions works around that.) Tue Jul 20 18:30:22 1999 Irfan Pyarali * ace/Cached_Connect_Strategy_T.h: All functions in ACE_Cached_Connect_Strategy_Ex and ACE_Cached_Connect_Strategy that contain specific information about the map used by the class should not be virtual. * ace/Future_Set.cpp (next_readable): Removed extra code that was left behind from a debugging stage. Thanks to author John Tucker for helping with this. Tue Jul 20 12:02:47 1999 David L. Levine * examples/Threads/task_five.cpp (main): removed ACE_NOTREACHED wrapper around the final return statement. It's reachable now. Tue Jul 20 11:46:09 1999 Douglas C. Schmidt * examples/Shared_Malloc/test_position_independent_malloc.cpp: Completely #ifdef'd this example out until we get it working. Thanks to David Levine for reporting this. Tue Jul 20 11:15:23 1999 David L. Levine * ACE-INSTALL.html: updated memory requirements discussions. Tue Jul 20 09:43:36 1999 Ossama Othman * ace/Future_Set.cpp (next_readable): Fixed unused variable warnings. Tue Jul 20 09:33:02 1999 David L. Levine * ace/OS.{h,i} (sigwait): only use the DIGITAL_UNIX sigwait massaging with cxx, not with any other compiler. Thanks to Doug Anderson for suggesting this, because egcs issued warnings with it. Tue Jul 20 07:06:28 1999 David L. Levine * include/makeinclude/platform_osf1_4.0.GNU: removed -ptr ptrepository. Let the compiler use its default template repository. * include/makeinclude/rules.local.GNU (realclean): added cxx_repository, for DU cxx. Tue Jul 20 07:01:57 1999 Doug Anderson * ace/OS.i (sigwait,thr_sigsetmask): added support for Cray UNICOS 9. Mon Jul 19 22:46:54 1999 Irfan Pyarali * ace/Strategies_T.cpp (ACE_Cached_Connect_Strategy::new_connection):: We use a reverse lock to let go of the lock for the duration of the actual connect. This will allow other threads to hack on the connection cache while this thread creates the new connection. Thanks to James Whitledge for suggesting this. * tests/Cached_Accept_Conn_Test.cpp * tests/Cached_Conn_Test.cpp * tests/Conn_Test.cpp Added reverse lock template instantiations. * ace/Synch_T: Since the reverse lock constructor that created the regular lock was removed, there was no need for the variable, and could be changed into a reference (instead of pointer). Mon Jul 19 23:04:15 1999 Douglas C. Schmidt * netsvcs/lib/Logging_Strategy.cpp (init): The ACE_LOG_MSG->open() call at the end of the ACE_Logging_Strategy::init() method *must* specify the flags and logger key or an application will not connect to the client logger daemon automatically when the ACE_Log_Msg::LOGGER flag is set in a svc.conf file. Thanks to Jerry De Master for reporting this. Mon Jul 19 22:11:13 1999 David L. Levine * ACE-INSTALL.html: cleaned up instructions for building on NT for VxWorks target. Thanks to Stephane Chatre for reporting that the instructions were out of date. Mon Jul 19 21:38:16 1999 Carlos O'Ryan * tests/run_tests.vxworks: Re-enable the Cached_Conn_Test and Cached_Accept_Conn_Test, it works on Linux, NT, Solaris, IRIX and HP-UX so we should be pretty close. Thanks to Irfan for fixing the problems with this test. Mon Jul 19 21:26:57 1999 David L. Levine * ace/OS.{h,i}: reverted sigwait () changes on Digital Unix. They cause examples/Threads/process_manager.cpp to not compile on DU 5.0 with cxx 6.2-021. See Mon Jul 19 21:13:16 1999 Doug Anderson . Mon Jul 19 21:13:16 1999 Doug Anderson * ace/ACE.cpp,ace/Basic_Types.h,ace/CDR_Stream.{h,cpp}, ace/SOCK_Dgram_Bcast.cpp,ace/config-cray.h, tests/Basic_Types_Test.cpp,tests/Handle_Set_Test.cpp, include/makeinclude/platform_cray.GNU I finally managed to get the latest and greatest to work on the Cray. Still no CDR support, but that will be post 5.0. * ace/OS.{h,i}: added support for egcs on Digital Unix (4.0d & e). Fixe problem with legacy workarounds in OS.* for sigwait() and cxx/GNU that don't appear to be necessary on 4.0d/e/f with neither cxx nor GNU. * include/makeinclude/platform_tru64_g++.GNU: added. Works with ace/config-tru64.h. Mon Jul 19 19:46:50 1999 Irfan Pyarali * ace/OS.h: Added ACE_*_cast_*_ptr and ACE_*_cast_*_ref for const, static, and reinterpret casts. * ace/Strategies_T.cpp (find): * ace/Cached_Connect_Strategy_T.cpp (find): The comparison should be between ACE_PEER_CONNECTOR_ADDR and not REFCOUNTED_HASH_RECYCLABLE_ADDRESS. * ace/Svc_Handler: Changed to . was too generic and in some cases a method was already present in classes deriving from Svc_Handler. Also, added a accessor. The following files were effected: - ace/Cached_Connect_Strategy_T.cpp - ace/Cached_Connect_Strategy_T.h - ace/Caching_Utility_T.cpp - ace/Strategies.h - ace/Strategies.i - ace/Strategies_T.cpp - ace/Strategies_T.h - ace/Strategies_T.i - tests/Cached_Accept_Conn_Test.cpp - tests/Cached_Conn_Test.cpp Mon Jul 19 20:08:15 1999 Carlos O'Ryan * ace/Strategies_T.cpp: Fixed lookup of connections in the Cached_Connect_Strategy, thanks to Irfan for providing this fix. Mon Jul 19 12:26:20 1999 David L. Levine * include/makeinclude/platform_vxworks5.x_g++.GNU, ace/config-g++-common.h: don't #define ACE_HAS_GNUG_PRE_2_8 with Tornado II's g++. It's egcs, though it's version identifier says it's 2.7. Thanks to Thomas Lockhart for reporting this. [Bug 80] Mon Jul 19 09:50:31 1999 Steve Huston * ace/Future.cpp: Added ACE_TYPENAME to template-qualified types. * ace/Future.cpp: Added #include "ace/Containers.h" to be sure the types necessary for this class is available at template link time. * apps/gperf/src/Options.h: If on PharLap ETS, clear out its definition of EOS to avoid compile errors. Thanks to David Hauck for this fix. Mon Jul 19 08:12:30 1999 David L. Levine * include/makeinclude/platform_tru64_cxx.GNU: added support for DU 4.0E and D. Mon Jul 19 08:08:25 1999 Steve Huston * ace/config-hpux-(10 11).x-hpc++.h: In the aC++ section, if __HP_aCC is not set, set it. Some parts of TAO rely on it, but it's not set until the most recent versions of the compiler. Thanks to Brian Wallis for helping figure this out. Mon Jul 19 07:53:59 1999 David L. Levine * ace/SOCK_Dgram_Mcast.cpp (open): added unnecessary const_cast of mcast_addr to ACE_Addr &, so that Sun C++ 4.2 will compile without error. Thanks to Andy for this fix. Sun Jul 18 21:36:04 1999 David L. Levine * OS.cpp (sched_params): wrapped DIGITAL_UNIX preprocessor symbol in parenthesis. Sun Jul 18 14:30:54 1999 Douglas C. Schmidt * tests/run_tests.sh: Reenabled the Future_Set_Test. Hopefully, this will work on Solaris and the other platforms now! * ace/Future*: Added some fixes for Future_Set that should prevent it from hanging indefinitely on certain platforms. Also, removed the Future_Node.h and Future_Node.cpp files since they are no longer used. Thanks to John Tucker for contributing these fixes. * ace/SOCK_Dgram_Mcast: Finished implementing the QoS-enabled APIs for socket datagram multicast. This required refactoring quite a bit of code and adding some new methods that take the ACE_QoS_Params. * ace/SOCK_Dgram.cpp: Finished integrating the QoS support for SOCK dgrams. * ace/SOCK_Dgram.cpp: Factored out common code in the ACE_SOCK_Dgram constructors. * ace/SOCK_Connector: Finished implementing the QoS-enabled connect() methods. To make this cleaner, I've created a new "shared_open()" method that factors out the common code. * ace/SOCK_Acceptor: Finished implementing the QoS-enabled open() method. To make this cleaner, I've created a new "shared_open()" method that factors out the common code. Sat Jul 17 13:36:03 1999 Ossama Othman * ace/High_Res_Timer.cpp (get_cpuinfo): Removed extra `FILE *cpuinfo' declaration. Sat Jul 17 12:20:25 1999 Douglas C. Schmidt * ace/High_Res_Timer: Added integrated support for Alpha and Pentium that will eliminate the 5sec startup delay for Linux/PII clients using the ACE high resolution timer. Thanks to Thomas Lockhart for these fixes. * netsvcs/servers/main.cpp (main): Fixed a typo caused by recent integration of Jerry De Master's fixes. Fri Jul 16 19:41:05 1999 Irfan Pyarali * ace/ACE.cpp (out_of_handles): Added a function to check if a process is out of handles (file descriptors). This is required to avoid repeating this code in many places. Also, note that all platform specific quirks can be captured in this function. * ace/Cached_Connect_Strategy_T.cpp (cached_connect): * tests/Cached_Conn_Test.cpp (out_of_sockets_handler): * tests/Cached_Accept_Conn_Test.cpp (out_of_sockets_handler): Changed the above to use the new ACE::out_of_handles() function. * ace/OS.h (ENFILE): Added ENFILE if missing on platform. In that case, ENFILE will equal to EMFILE. Fri Jul 16 13:55:34 1999 Douglas C. Schmidt * include/makeinclude/{build_dll.bor,build_exe.bor,compiler.bor}, ace/{Makefile.bor,ace.rc}: Updated these files to add version information to the DLLs so when you right click them in windows explorer you can see what version the file is (e.g., "4.6.45"). Thanks to Christopher Kohlhoff for contributing this. * netsvcs/servers/main.cpp (main): Disable debugging messages if the -d option isn't given to ACE_Service_Config. Thanks to Jerry De Master for reporting this. * ace/config-win32-borland.h: Updated this file to enable some necessary macros. Thanks to Christopher Kohlhoff for reporting this. * tests/DLL_Test.cpp, tests/run_test.bat: Updated these to handle the appropriate directory where the Borland tests are built. Thanks to Christopher Kohlhoff for reporting this. * netsvcs/lib/Logging_Strategy.cpp (init): When the application program is started, none of the log output is sent to the Client_Logging_Service. Further investigation shows that the ACE_Log_Msg::open() method is responsible for connecting to the client logger if the ACE_Log_Msg::LOGGER flag is set. However, the connections never attempted because the ACE_Log_Msg::open() method is called before the Logging_Strategy flags have been parsed. This problem was fixed by rearranging the point at which the ACE_LOG_MSG->open() method was called. Thanks to Jerry De Master for contributing this. * netsvcs/lib/Client_Logging_Handler.cpp (send), netsvcs/lib/Log_Message_Receiver.cpp (log_output): All log message output in ACE is done through one of the ACE_Log_Record::print() methods. Each of the overloaded methods has a argument as the second argument. However, all uses of the ACE_Log_Record::print() method in Log_Message_Receiver.cpp and Client_Logging_Handler.cpp pass zero for the flags argument. To fix this, simply pass ACE_Log_Msg::instance()->flags() instead of 0. Thanks to Jerry De Master for contributing this. * ace/Log_Record.cpp (format_msg): Added code for the new ACE_Log_Record::format_msg() method that adds the date/time stamp to the ACE_Log_Msg::VERBOSE_LITE output. Thanks to Jerry De Master for contributing this. * netsvcs/lib/Logging_Strategy.cpp (init): Make sure the ACE_Log_Msg::VERBOSE_LITE flag is OR'd into the clr_flags() call. Thanks to Jerry De Master for reporting this. * netsvcs/lib/Logging_Strategy.cpp (tokenize): Make sure that the ACE_Log_Msg::VERBOSE_LITE flag is correctly parsed. Thanks to Jerry De Master for reporting this. * ace/Memory_Pool.h: Added a way to set the segment_size in ACE_Shared_Memory_Pool_Options and ACE_Shared_Memory_Pool. Thanks to Serge Kolgan for this fix. [This feature was actually added a couple of beta releases ago, but somehow the ChangeLog entry got lost.] Fri Jul 16 16:41:22 1999 Ossama Othman * ace/Stats.cpp (print_summary): Fixed format specifier that was expecting an integer argument. It needed an additional percent specifier. Fri Jul 16 09:20:42 1999 Arturo Montes * ace/OS.i: Patch the dl* family to keep ACE compatible in SCO OpenServer 5.0.0, 5.0.2, 5.0.4 with 5.0.5 * ace/config-sco-5.0.0.h: Bring OpenServer up to date. * include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU: Use gcc-2.95. Fri Jul 16 11:50:24 1999 Nanbor Wang * ace/Log_Msg.cpp (log): * tests/Basic_Types_Test.cpp (main): Reverted my previous change. It was not a safe assumption. Fri Jul 16 02:28:10 1999 Nanbor Wang * ace/Log_Msg.cpp (log): Changed (*va_arg (argp,PTF))(), which extracts a function pointer from va_list and makes a call using the pointer pointer to ACE_reinterpret_cast (PTF, va_arg (argp, long))(). This assumes the sizeof (long) is exactly equal to the size of a function pointer. * tests/Basic_Types_Test.cpp (main): Narrow down the check to ensure sizeof(long) == sizeof (a function pointer) (which is true for all the platforms that ACE runs on.) Fri Jul 16 00:07:23 1999 Irfan Pyarali * tests/Cached_Accept_Conn_Test.cpp (test_connection_management): Changed the test to allow for both one listen endpoint or multiple listen endpoints. Thu Jul 15 22:42:36 1999 Nanbor Wang * ace/Message_Queue.h: (ACE_MESSAGE_QUEUE_DEFAULT_TYPE): * ace/Future_Set.{h,cpp} (ACE_Future_Set): Typedef'ed the ACE_Message_Queue to ACE_MESSAGE_QUEUE_DEFAULT_TYPE and use the typedef'ed name in ACE_Future_Set's contstructor to get around a bug in vxworks' g++ compiler. Thu Jul 15 22:14:18 1999 Irfan Pyarali * ace/Cached_Connect_Strategy_T.cpp * ace/Cached_Connect_Strategy_T.h * ace/Strategies_T.cpp * ace/Strategies_T.h Changed find()'s signature to help g++. * tests/Cached_Accept_Conn_Test.cpp * tests/Conn_Test.cpp Added template instantiations. Thu Jul 15 21:32:26 1999 David L. Levine * bin/create_ace_build: removed # -*- perl -*- on first line so that t/csh users don't trip over it. Thanks to Irfan for reporting this. Thu Jul 15 20:23:39 1999 Irfan Pyarali * tests/Cached_Conn_Test.cpp (test_connection_management): Changed the test to allow for both one listen endpoint or multiple listen endpoints. * ace/Cached_Connect_Strategy_T.cpp: * ace/Strategies_T.cpp - find: Since the comparison of REFCOUNTED_HASH_RECYCLABLE_ADDRESS doesn't work very well when trying to find an idle connection (because there are many idle states), we now use the new backet iterator to find a idle connection. - check_hint_i: Explicitly checks for idleness; previously it was simple checking !closed. * ace/Strategies.h (ACE_Recyclable): Changed ACE_Recyclable::State to ACE_Recyclable_State. * ace/Strategies_T.h (ACE_Refcounted_Hash_Recyclable): - Added operator!=(ACE_Refcounted_Hash_Recyclable) - Removed operator==(T) - Added T &subject() - Change operator==(ACE_Refcounted_Hash_Recyclable) to check for equality in state and subject. * ace/Caching_Utility_T.cpp (minimum): Entries marked ACE_RECYCLABLE_PURGABLE_BUT_NOT_IDLE should also be considered for purging. * ace/Cleanup_Strategies_T.cpp (cleanup): The hash map of the connection cache may contain duplicates. Therefore, we are not exactly sure which map entry will be removed when calling unbind(). Therefore, we use the other unbind() which gives us back the value of the entry that was removed. This way will close the correct handler. * ace/Svc_Handler.cpp (state): Added a new method that allows the user to explcitly set the state of the Svc_Handler. If the Svc_Handler does not have a recycler, this method will have no effect. Thu Jul 15 16:39:06 1999 Ossama Othman * Makefile: * NEWS: The NEWS file is no longer a generated file so it was added to the list of controlled files. Thu Jul 15 16:20:43 1999 Nanbor Wang * ace/Service_Manager.cpp (init): Check to see the acceptor handle is ACE_INVALID_HANDLE before the actual initialization to prevent this service from being initialized twice. (fini): Must call remove_handler with ACE_Event_Handler::DONT_CALL since the service manager won't be around when the reactor is being destroyed. Thanks to Gheorghe Aprotosoaie for reporting this. Thu Jul 15 16:26:28 1999 David L. Levine * ace/OS.cpp (spa): use ACE_NEEDS_HUGE_THREAD_STACKSIZE instead of hard-coded value. * ace/config-vxworks5.x.h: added default ACE_NEEDS_HUGE_THREAD_STACKSIZE of 64000. Thu Jul 15 16:08:48 1999 Nanbor Wang * ace/config-win32-common.h: Moved ACE_HAS_IP_MULTICAST down *after* ACE_HAS_WINSOCK2 is defined. Thanks to Marina for reporting this. Thu Jul 15 16:11:04 1999 David L. Levine * ace/Basic_Types.h (ACE_U_LongLong): removed user-defined conversion to ptr_arith_t. Replaced with new macro, ACE_LONGLONG_TO_PTR. Thu Jul 15 15:31:49 1999 Ossama Othman * ace/ACE.cpp (timestamp): * ace/High_Res_Timer.cpp (print_ave): * ace/Local_Tokens.cpp (open): * ace/Log_Msg.cpp (log): * ace/Log_Record.cpp (format_msg): * ace/Naming_Context.cpp (parse_args): * ace/OS.cpp (unique_name): Fixed warnings and generated by gcc 2.95; mostly due to format specifier mismatches and inefficient conversion operator usage. Thu Jul 15 14:21:32 1999 David L. Levine * docs/ACE-guidelines.html: reverted to the original perl magic that goes at the top of every script. The fix that was supposed to work on HP/UX doesn't. See Thu Jul 08 22:15:50 1999 David L. Levine Thu Jul 15 12:19:44 1999 David L. Levine * bin/make_release: added -u option, to allow updating the version stamps from any directory. Also, added suppression of cvs checkout warning about empty ("New") directories. * Makefile: added -u to make_release invocations. Thu Jul 15 11:39:44 1999 David L. Levine * ACE version 4.6.45 released. Thu Jul 15 11:26:43 1999 David L. Levine * Makefile: made NEWS a dependency of release. Thu Jul 15 10:05:40 1999 David L. Levine * docs/ACE-guidelines.html: removed reference to ACE_OS::scanf (). No such thing. Thu Jul 15 10:01:31 1999 Steve Huston * ace/OS.h: TRANSMIT_FILE_BUFFERS are not defined on PharLap ETS - it's a Microsoft-specific extension to Winsock 1.1. * ace/config-win32-common.h: ACE_HAS_IP_MULTICAST is only set for Winsock 2. Thanks to David Hauck for these fixes. Thu Jul 15 09:28:32 1999 David L. Levine * include/makeinclude/platform_tru64_cxx.GNU: changed 4.0f to 4.0F, because that's what sizer -v returns on DU 4.0F. Thanks to Doug Anderson for reporting this. * ace/config-tru64.h: only #define _LIBC_POLLUTION_H_ with DU >= 5.0. Thanks to Doug Anderson for reporting that it's not necessary on DU 4.0F. Thu Jul 15 09:15:11 1999 Steve Huston * ace/config-aix-4.x.h: Corrected template settings for IBM C/C++ 3.6 compiler. It does not get ACE_HAS_STD_TEMPLATE_SPECIALIZATION. * include/makeinclude/platform_aix4_cset++.GNU: Delete the testAIXCompilerVersion.cpp file after getting the compiler version. Thu Jul 15 07:33:30 1999 David L. Levine * ace/config-tru64.h,config-osf1.h,config-osf1-4.0.h, include/makeinclude/platform_tru64_cxx.GNU,platform_osf1_cxx.GNU, ACE-INSTALL.html: moved config-osf1.h to config-tru64.h, and platform_osf1_cxx.GNU to platform_tru64_cxx.GNU. Thanks to Doug Anderson for this suggestion. Wed Jul 14 22:23:10 1999 David L. Levine * ace/config-cray.h: replaced ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA with ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION. The standard "template class" explicit instantiations work with version 3.2.0.1 of the compiler. Thanks to Doug Anderson for reporting this. * ace/config-ghs-common.h: use ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION with Green Hills 1.8.9 and later. Thanks to Carlos for suggesting that we give it whirl. It worked :-) Wed Jul 14 22:03:08 1999 David L. Levine * ace/config-osf1-4.0.h: enable pragma message disable declbutnotref with Digital Unix 4.0f, as well as 5.0. Thanks to Doug Anderson for reporting that it's necessary. * ACE-INSTALL.html: updated config/platform info for Digital UNIX 4.0f (and 5.0). [Bug 65] Wed Jul 14 19:44:21 1999 Steve Huston * ace/Thread_Manager.cpp (spawn_i): Defer acquiring the thread descriptor's lock until just before attempting to start the thread to avoid places where the thread descriptor could be destroyed while holding the lock (doing that is an undefined operation in pthreads, and has particularly bad results on HP-UX 11). If the thread creation does fail, release the lock before returning the error indication (taking care to guard errno). Removed an unreachable block of code which put the thread descriptor on the wrong list anyway. Removed the #if 1, #else, #endif around the auto_ptr for new_thr_desc - if it's still working this close the ACE 5 release, it wins. Besides, the use of the auto_ptr was ingrained in the rest of the function, without the #if checks. Wed Jul 14 19:03:57 1999 David L. Levine * etc/purify.solaris2: added another UMR suppression for __sigprocmask in the Solaris 2.6 threads library. Thanks to Andy for reporting this. Wed Jul 14 16:30:48 1999 Irfan Pyarali * ace/Hash_Map_Manager_T.h (class ACE_Hash_Map_Bucket_Iterator): Added a new class that allows the iteration over the entries of a of a particular bucket in a hash map. * tests/Hash_Map_Bucket_Iterator_Test.cpp: A test for the new ACE_Hash_Map_Bucket_Iterator class. Wed Jul 14 16:37:33 1999 Ossama Othman * Makefile: Added Makefile.am and NEWS to the list of controlled files. The file `NEWS' will get generated when a release is made. * TODO: * acconfig.h: * configure.in: * configure: Minor ACE Configuration Project related updates and fixes. Wed Jul 14 13:38:12 1999 Steve Huston * tests/Cached_Accept_Conn_Test.cpp: Moved defs of Client_Svc_Handler and Server_Svc_Handler classes to new file, Cached_Accept_Conn_Test.h to make AIX xlC happy. * tests/Cached_Conn_Test.cpp: Moved definition of Svc_Handler class new file, Cached_Conn_Test.h to make AIX xlC happy. * tests/Cached_Accept_Conn_Test.cpp, Cached_Conn_Test.cpp: Don't even try to build these on AIX C Set++ 3.1. It can't hack the auto template instantiation - overwrites a template generator file and tosses its cookies. ACE is still the best C++ compiler test on the planet. Wed Jul 14 16:24:38 1999 Carlos O'Ryan * ace/CDR_Stream.h: * ace/CDR_Stream.cpp: Added new method to efficiently steal the contents of a CDR stream and store them in another. Wed Jul 14 12:05:13 1999 David L. Levine * include/makeinclude/rules.local.GNU (LN_S): on WIN32 hosts, use cp -p instead of ln -s, because symbolic links aren't supported. Wed Jul 14 11:22:31 1999 David L. Levine * include/makeinclude/platform_vxworks5.x_g++.GNU, ACE_INSTALL.html: with egcs (Tornado II) and without exception handling, add -Wno-uninitialized to CCFLAGS. The version of egcs that is provided with Tornado II produces some spurious warnings about uninitialized variables (including "this" :-). This was a problem in older versions of egcs, but has since been fixed. To avoid the warning, we always disable the warning with VxWorks' egcs. Wed Jul 14 11:20:31 1999 Steve Huston * ace/config-aix-4.x.h: Add ACE_LACKS_SETSCHED for pre-4.3 AIX. Wed Jul 14 11:15:24 1999 David L. Levine * examples/Shared_Malloc/Malloc.cpp: only explicitly instantiate ACE_Read_Guard and ACE_Write_Guard ifndef ACE_HAS_THREADS. With threads, they're explicitly instantiated in ace/Synch.cpp. Wed Jul 14 10:58:30 1999 Carlos O'Ryan * ace/CDR_Stream.h: * ace/CDR_Stream.cpp: Clarified the relationship between this implementation and the original SunSoft version. Wed Jul 14 10:47:45 1999 David L. Levine * include/makeinclude/platform_qnx_neutrino.GNU: added ACE_HAS_GNUG_PRE_2_8 := 0, so that exception handling will be disabled by default. Wed Jul 14 10:34:37 1999 David L. Levine * examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp: fixed typo, ACE_LACKS_UNIX_DOMAIN_SOCKETS instead of ACE_HAS_UNIX_DOMAIN_SOCKETS. Wed Jul 14 10:22:29 1999 David L. Levine * ace/Singleton.*: added ACE_Unmanaged_Singleton and ACE_Unmanaged_TSS_Singleton template class. They're identical to ACE_Singleton and ACE_TSS_Singleton, respectively, except that they don't register for cleanup with the ACE_Object_Manager. Therefore, the application is responsible for explicitly destroying the instance after it is no longer needed (if it wants to avoid memory leaks, at least). The close () static member function must be used to explicitly destroy the Singleton. Thanks to Valery Arkhangorodsky for suggesting this and providing the code. Wed Jul 14 10:01:47 1999 David L. Levine * ace/OS.h (ACE_{,U_}ONE_SECOND_IN*): made the trailing L or U upper case, for readability. Thanks to Chris for noticing this. Wed Jul 14 09:40:37 1999 David L. Levine * include/makeinclude/wrapper_macros.GNU: when setting ACE_HAS_GNUG_PRE_2_8, if not g++: don't override the value to null if it was non-null. Also, clarified use of ACE_HAS_GNUG_PRE_2_8: 1 for g++ < 2.8.0, 0 for g++ >= 2.8.0, undefined for non-g++. Wed Jul 14 09:29:57 1999 David L. Levine * tests/Makefile (realclean): remove log/compilations.log*. Tue Jul 13 22:25:18 1999 Carlos O'Ryan * include/makeinclude/wrapper_macros.GNU: Disable the "unitialized" warnings with EGCS+exceptions, it gives too many bogus warnings to take care of them. Tue Jul 13 22:16:17 1999 Carlos O'Ryan * bin/ACEutils.pm: Wait for non empty files, sometimes the process creates the files but does not have enough time to fill its contents. Tue Jul 13 21:32:44 1999 Ossama Othman * acconfig.h: * ltconfig: * ltmain.sh: * ace/Makefile.am: * tests/Makefile.am: ACE Configuration Project updates. Synchronized with current version of ACE in CVS repository. Tue Jul 13 15:22:51 1999 David L. Levine * include/makeinclude/platform_vxworks5.x_g++.GNU: set ACE_HAS_GNUG_PRE_2_8 to 0 with egcs (Tornado II). Tue Jul 13 15:15:43 1999 Steve Huston * ace/ace-dll.icc, ace-lib.icc: Corrected source file set; now builds (still with some warnings) on AIX, Visual Age C++ 4. Tue Jul 13 15:11:28 1999 Nanbor Wang * bin/run_all_win32.pl: Fixed program output redirection problem. Unfortunately, the fix requires one to have either 'sh' or '4nt' to redirect output from another perl script correctly. Tue Jul 13 15:04:35 1999 David L. Levine * include/makeinclude/platform_qnx_neutrino.GNU: removed full paths from commands, because they're prefixed with i386-nto-. * ace/config-qnx-neutrino.h: updated to build with egcs. Tue Jul 13 15:03:01 1999 David L. Levine * ace/Pipe.cpp (open): moved declaration of local variable "one" inside the ACE_LACKS_TCP_NODELAY #ifndef block. Tue Jul 13 14:57:56 1999 David L. Levine * ace/SV_Semaphore_Simple.{h,cpp} (init,open,name_2_key): added static cast of ACE_INVALID_SEM_KEY to key_t. key_t is unsigned on QNX Neutrino, but we want to keep ACE_INVALID_SEM_KEY as -1. Tue Jul 13 11:57:53 1999 Nanbor Wang * ace/config-win32.h: Changed CApplication to CWinApp. Thanks to John Morey for pointing this out. Tue Jul 13 11:13:52 1999 Steve Huston * ACE_INSTALL.html: Added some info for building on AIX with Visual Age C++. * ace/config-aix-4.3.x.h: New file - these version-specific configs are particularly useful with Visual Age C++, which has its own funky make system that doesn't use the platform_macros.GNU files, and so doesn't pick up the ACE_AIX_MAJOR/MINOR_VERS settings which are used in config-aix-4.x.h. * ace/config-aix-4.x.h: Corrected template settings for Visual Age C++ and added ACE_HAS_TYPENAME for VAC++ also. Tue Jul 13 10:40:31 1999 Irfan Pyarali * ace/Cached_Connect_Strategy_T.cpp (purge_connections): There is no need to set the purge percentage again. Tue Jul 13 10:39:57 1999 Matthew J Braun * ace/Containers_T.h,i: Altered private member list_ of DLList_Iterator to be a pointer rather than a reference. This allows the reset method to work because it was overwriting the contents of list_ rather than iterating over a different list Tue Jul 13 09:14:31 1999 Steve Huston * ace/Cached_Connect_Strategy_T.cpp (dtor): Added ACE_TYPENAME to 'iter' declaration since its type depends on template parameters. Tue Jul 13 09:11:24 1999 David L. Levine * include/makeinclude/platform_vxworks5.x_ghs.GNU: moved LIBS setting for Green Hills 1.8.9 from x86-only to all targets. Thanks to Dale Wood for confirming that this is necessary for PowerPC targets. Tue Jul 13 08:18:56 1999 David L. Levine * ace/config-osf1.h,config-osf1-4.0.h, include/makeinclude/platform_osf1_cxx.GNU: added another significant figure to the version identifer, e.g., 0x40F and 0x500. [Bug 65] Tue Jul 13 06:45:53 1999 Steve Huston * examples/Shared_Malloc/test_position_independent_malloc.cpp: Moved definition of Dummy_Data to test_position_independent_malloc.h, a new file, to satisfy AIX IBM C++ template instantiation. * include/makeinclude/platform_aix4_cset++.GNU: Turn on/off warnings based on compiler version, not OS version. Thanks to Craig Rodrigues for sending the code in! * THANKS: Added Craig Rodrigues to the hall of fame. * ace/config-aix-4.1.x.h, config-aix-4.2.x.h: Added setting for ACE_AIX_MAJOR_VERS and ACE_AIX_MINOR_VERS if they weren't set already. Eases backwards compatibility for those who don't use the ACE build macros (horrors! :-). Thanks to Jeff Donner for this suggestion. Mon Jul 12 18:24:34 1999 Kirthika Parameswaran * tests/Cached_Accept_Conn_Test.cpp: This tests explicit purging from the server's point of view. When the acceptor in either its accept_svc_handler () or open () runs out of descriptors, purging of unused svc_handlers from the connecton cache is requested. * tests/Cached_Conn_Test.cpp: Defined ACE_HAS_BROKEN_EXTENDED_TEMPLATES for the Caching_Strategy_Adapter. If this condition is true, then only Least Recently Used Caching Strategy is available. This was necessary for compilers which dont accept long template lists, for example GNUC version < 8.0. Total credit for this hack to get through the old GNUC compiler goes to Irfan of the DOC group. * tests/Makefile: Added Cached_Accept_Conn_Test.cpp. * tests/Makefile: * tests/run_tests.sh: * tests/run_pharlap_tests.bat: * tests/run_tests.bat: * tests/run_tests.psosim: * tests/run_tests.vxworks: Added Cached_Conn_Test, Map_Manager_Test and Cache_Map_Manager_Test to the above. Mon Jul 12 17:31:28 1999 Nanbor Wang * bin/run_all_win32.pl: Fixed the missing execution output problem and simplified how the script gets invoked. See comments for more details. * ace/config-win32.h: * ace/Object_Manager.h: Updated some unclear comments regarding the use and instantiation of non-static object manager. Thanks to John Morey and David for pointing this out. * ace/ace_dll.dsp: Merged additional MFC configuration. Thanks to John Morey for submitting the patch. Mon Jul 12 15:27:37 1999 David L. Levine * ace/config-osf1.h,config-osf1-4.0.h, include/makeinclude/platform_osf1_cxx.GNU, ACE-INSTALL.html: added support for DU 4.0f. It needs the same #defines that we use on DU 5.0. [Bug 65] Mon Jul 12 14:41:14 1999 David L. Levine * ace/config-win32.h,Object_Manager.h: cleaned up comments about the non-static ACE_Object_Manager. Thanks to John Morey for reporting this. Mon Jul 12 13:54:34 1999 Kirthika Parameswaran * ace/Cache_Map_Manager_T.{h,i,cpp}: Defined ACE_T1 and ACE_T2 which contain the template parameter list and added ACE_HAS_BROKEN_EXTENDED_TEMPLATES macro where needed. This takes care of the template list for compilers which cant accept a long template list, for example: GCC 2.7.2. Also changed the purge() to now call the for purging entries form the cache. * ace/Hash_Cache_Map_Manager_T.h: Added ACE_HAS_BROKEN_EXTENDED_TEMPLATES to complement the Cache_Map_Manager class changes. * ace/Cached_Connect_Strategy_T.cpp: Changed dtor to take care of the ACE_HAS_BROKEN_EXTENDED_TEMPLATES definition. * ace/Cached_Connect_Strategy_T.h: Removed CONNECTION_CACHE_ITERATOR typedef. * ace/Caching_Strategies_T.{h,i,cpp}: Changed template parameter list and removed dependency on the CONTAINER. Removed clear_cache() method. * ace/Caching_Utility_T.{h,i,cpp}: Added default cleanup strategies to every kind of caching_utiltity. ACE_Recyclable_Hanlder_Caching_Utility no longer derives form ACE_Pair_Caching_Utility. * ace/Cleanup_Strategies_T.{h,i,cpp}: Changed ACE_Svc_Cleanup_Strategy to ACE_Recyclable_Handler_Cleanup_Strategy. * tests/Cache_Map_Manager_Test.cpp: * tests/Map_Manager_Test.cpp: Made changes to template instantiations. * tests/Cached_Conn_Test.cpp: Added out_of_sockets_handler() which will do the purging. Added a check for ENOBUFS which arose on NT and ENOENT which arose on Linux + Solaris. Defined ACE_HAS_BROKEN_EXTENDED_TEMPLATES for GCC versions < GCC 2.8. Mon Jul 12 12:14:45 1999 David L. Levine * docs/ACE-development-process.html: added this page, as a start towards a less chaotic development process. Mon Jul 12 10:05:31 1999 Steve Huston * ace/Event_Handler_T.i: Added ACE_TYPENAME on template-dependent types in function signatures. Quiets HP-UX aC++. * ace/Based_Pointer_Repository.h: * ace/Based_Pointer_T.h: Added #include "ace/OS.h" to pick up def. of ACE_Export when instantiating templates with AIX IBM C++. * include/makeinclude/platform_hpux_aCC.GNU: Removed definition for CPP_LOCATION - use aCC - cpp has too many problems, and a fix for the pragma warnings was checked into TAO_IDL. Mon Jul 12 09:26:29 1999 David L. Levine * testsr/Makefile: don't build libDLL_Test.so if not building shared libraries. This simplifies the build on static-libs only platforms, and can be used by run_tests.sh, below. [Bug 62] * tests/run_tests.sh: don't run DLL_Test if libDLL_Test.so was not built. Mon Jul 12 07:48:04 1999 David L. Levine * docs/ACE-guidelines.html: updated guideline under CVS section to match the other one about always testing on egcs. Sun Jul 11 23:59:52 1999 nanbor * ACE version 4.6.44 released. Sat Jul 10 18:05:41 1999 Nanbor Wang * ace/config-kcc-common.h: Added ACE_NEW_THROWS_EXCEPTIONS. Thanks to David for pointing this out. Sat Jul 10 16:22:00 1999 Chris Gill * ace/config-win32-common.h: wrapped ACE_HAS_TYPENAME_KEYWORD so it is only set for MSVC++ 6.0 or higher. This is to work around a compiler bug in MSVC++ 5.0 when trying to compile certain forms with the typename keyword in a template method argument list. Sat Jul 10 13:16:50 1999 Douglas C. Schmidt * ace/Malloc: Changed the type of pointer used by ACE_Name_Node from void * to char * so that we can integrate this cleanly with ACE_Based_Pointer<>, which will fail if we use void since we can't return from a "void" function! * tests/Thread_Pool_Test.cpp (open): Fixed another somewhat bogus warning from EGCS related to initialization of loop variables. * tests/New_Fail_Test.cpp (main): Make sure to initialize pointers so that EGCS doesn't complain. * tests/MT_Reactor_Timer_Test.cpp (main): Fixed a signed/unsigned mismatch. * tests: Added appropriate header comments for all the *.h files. * tests/Cache_Map_Manager_Test.cpp: Capitlized the hash_key class to be Hash_Key, which is standard ACE programming style. * ace/Service_Config.cpp: Added yet another set of changes to open_i() so that the -d option is handled appropriately. Thanks to Jonathan Reis for this fix. * ace/SOCK_Acceptor.h: Clarified the parameters for ACE_SOCK_Acceptor's constructor and open() methods. Thanks to Ron MacKenzie for motivating this. Sat Jul 10 13:56:30 1999 Nanbor Wang * tests/MT_Reactor_Timer_Test.cpp (main): Fixed signed/unsigned comparison. Sat Jul 10 08:01:36 1999 David L. Levine * docs/ACE-guidelines.html: THANKS instead of README. Fri Jul 9 20:54:30 1999 Ossama Othman * ace/UNIX_Addr.{h,i} (hash): Implemented a hash function for ACE_UNIX_Addr instead of relying on the base class no-op hash function. Thanks to Irfan for explaining the best way to do this. Fri Jul 9 20:39:47 1999 Kirthika Parameswaran * tests/Cached_Conn_Test.cpp: Added an Svc_Handler class which helped in verifying the course of the program execution. * ace/Caching_Utility_T.cpp (minimum): Cleaned up code by removing redundant else if statement. * tests/Cache_Map_Manager_Test.cpp: Resolved some template typos which surfaced on compiling with VxWorks. Fri Jul 09 20:14:13 1999 Irfan Pyarali * tests/MT_Reactor_Timer_Test.cpp (main): Added fixes so that test can work with WFMO_Reactor (WFMO_Reactor needs an extra handle_events() to get started). * tests/Conn_Test.cpp (spawn_processes): Only printing reaping message when result is not -1. * ace/Strategies_T.i (ACE_Refcounted_Hash_Recyclable::operator==): The check should be for "and", not "or". * tests/Conn_Test.cpp: Since timed accept is implemented using select(), and we use timed accepts with threads, we need a real lock when using timed accepts even if the OS has thread-safe accept. Also changed the default number of clients to 5. Hopefully, this won't overrun the backlog on the listen socket. * ace/Svc_Handler.cpp (shutdown): Remove self from Reactor only when we have a valid handle. Otherwise, we lose our current errno, since the failed remove_handler will set the errno to EINVAL. Fri Jul 9 14:02:52 1999 Steve Huston * ace/config-aix-4.x.h: Re-enabled ACE_LACKS_SETSCHED for AIX 4.3. The OS defs are not aligned/matched correctly with what they mean in this area, but will need to wait til after ACE 5.0 is done before straightening it out. * ace/WFMO_Reactor.cpp (ACE_WFMO_Reactor_Handler_Repository::bind_i): Set errno to EMFILE if the max number of handles is registered, instead of leaving a stale errno for the user to figure out. * tests/MT_Reactor_Timer_Test.h (Dispatch_Count_Handler): Changed type of timers_fired_ from int to size_t so it matches type of ACE_MAX_TIMERS. Fri Jul 9 14:27:10 1999 Douglas C. Schmidt * ace/Service_Config.cpp (open_i): Be default, disable debugging messages. Only reenable them if the -d option is given. Thanks to Jerry De Master for reporting this. * ace/Based_Pointer_T: Factored out all but the operator-> into a new class called ACE_Based_Pointer_Basic so that we can use this for "basic types" like char *. Thanks to Irfan for pointing this out. * ace/Based_Pointer_Repository.cpp (unbind): Fixed a bug in the unbind() loop. Thanks to David Levine and DEC UNIX C++ for noticing this! * ace/Reactor.i (schedule_wakeup): Fixed a misplaced assignment of Event_Handler->reator (). Thanks to Carlos for reporting this. Fri Jul 09 13:11:33 1999 Nanbor Wang * tests/Conn_Test.cpp (spawn_threads): ACE_OS::perror takes a wchar_t string on CE. * tests/test_config.h (set_output): We should use non-unicode version of ACE_OS::getenv to initialize test_dir on "regular" UNICODE compilation. Thanks to Steve for reporting this. Added more WinCE/UNICODE fixes. Fri Jul 9 12:16:00 1999 Kirthika Parameswaran * ace/Caching_Utility_T.cpp (minimum): Modified minimum () of ACE_Recyclable_Handler_Utility class so that the minimum value is also an entry which is purgable. * tests/Cache_Map_Manager_Test.cpp: SunC++4.0 compiler doesnt accept typedefs with templates and having ::, for example: HASH_MAP::iterator. One has to typedef HASH_MAP::iterator and use it to typedef something else. Fixed this problem in the above test. Fri Jul 9 11:39:40 1999 Douglas C. Schmidt * ace/Dirent.i: Added a pair of checks to open() and close() to avoid double deletes. Thanks to Tom Arbuckle for pointing this out. * ace/Reactor.i: For schedule_timer() and schedule_wakeup(), make sure that the Event_Handler is assigned "this" Reactor upon successful completion of the operation. Thanks to Dirk Broer for suggesting this. Fri Jul 9 11:10:23 1999 Steve Huston * include/makeinclude/platform_hpux_aCC.GNU: Re-suppress warning 829 on 10.x because there's an offending system header file. * tests/test_config.h (ACE_Test_Output::set_output): Change test_dir to be const because it's initialized with a string literal. Fri Jul 9 10:52:45 1999 Kirthika Parameswaran * ace/Caching_Utility_T.cpp (minimum): Checked the state of the Refcounted_Hash_Address with ACE_Recyclable::IDLE_AND_PURGABLE. Fri Jul 09 10:49:40 1999 David L. Levine * tests/Message_Queue_Test.cpp (main): changed success message from timed dequeue test to not contain "timedout", because that trips run_tests.check. Fri Jul 09 10:25:42 1999 Irfan Pyarali * ace/Shared_Memory_MM.h (ACE_Shared_Memory_MM): Changed the filename parameter from a non-const string to a const string. Thanks to Ulf Jaehrig for pointing out this problem. Fri Jul 09 03:31:34 1999 David L. Levine * ace/Basic_Types.i: added const to each of the static casts. Fri Jul 09 01:45:25 1999 Nanbor Wang * bin/auto_compile_win32.pl: A lot of projects changed names recently and thus the file was not working properly. Thu Jul 8 23:15:06 1999 Alexander Babu Arulanthu * Merging the "ami_phase3" branch on to the main branch. Change was done to the CDR_Stream{h,i} files to add the method to the CDR class. Other than that, no change was done to ACE. Thu Jul 08 22:15:50 1999 David L. Levine * docs/ACE-guidelines.html: changed the perl magic that goes at the top of every perl script, to pick up perl from the users path. This new version works on HP/UX. Thanks to Carlos for divining it. Thu Jul 08 22:05:31 1999 David L. Levine * ace/config-linux-common.h: added #define of ACE_DEFAULT_BASE_ADDR to 0x40000000 on __powerpc__ only. * ace/config-linuxppcr5.h: removed. LinuxPPC can now use config-linux-lxpthreads.h. * ACE-INSTALL.html: added LinuxPPC info. Thanks to Andreas Tobler for helping to factor out the code from config-linuxppcr5.h. Thu Jul 8 21:57:17 1999 Carlos O'Ryan * ace/Malloc_T.h: * ace/Malloc_T.cpp: Changed the Cached_Allocator class to use a char* as the memory source. It was allocated as char* and deallocated as a char*, but casted to T* to use placement new; this was actually unneeded and actually an error: the memory does not become a T* until placement new is invoked on it. [BUGID:40] Thu Jul 08 21:34:42 1999 David L. Levine * ace/config-lynxos.h: on PowerPC, set ACE_NEEDS_HUGE_THREAD_STACKSIZE to 32000, instead of its apparent default of 15000. On both x86 and ppc, #define ACE_MAP_FIXED to 0 and ACE_DEFAULT_BASE_ADDR to 0 to try to get the OS to always pick shared memory addresses. Thanks to Dan Butler for suggesting the use of ACE_NEEDS_HUGE_THREAD_STACKSIZE here. * tests/Recursive_Mutex_Test.cpp (main): removed explicit stack size setting, now that we're using ACE_NEEDS_HUGE_THREAD_STACKSIZE on LynxOS/PPC. Thu Jul 08 18:47:23 1999 Kirthika Parameswaran * ace/Cached_Connect_Strategy_T.cpp: Changed: entry->ext_id_.state (ACE_Recyclable::IDLE); to entry->ext_id_.state (ACE_Recyclable::IDLE_AND_PURGABLE); * ace/Caching_Utility_T.{h,cpp}: Added ACE_Recyclable_Handler_Caching_Utility which takes care that the svc_handler to be purged is in the IDLE_AND_PURGABLE state. Made method minimum () virtual. * ace/Strategies.h: Added IDLE_AND_PURGABLE and IDLE_BUT_NOT_PURGABLE states and removed IDLE state from the enum. This change was necessary to take care of AMI using the Mux Strategy. * ace/Strategies_T.cpp (cache_i): Made entry state ACE_Recyclable::IDLE_AND_PURGABLE. * ace/Startegies_T.i (operator==): Added checks for the ACE_Recyclable::IDLE_AND_PURGABLE and ACE_Recyclable::IDLE_BUT_NOT_PURGABLE states. Thanks to Irfan of the DOC group for helping with this. Thu Jul 08 18:47:23 1999 Irfan Pyarali * tests/Cache_Map_Manager_Test.cpp: Simplified code and output. Thu Jul 08 14:56:22 1999 David L. Levine * ace/Basic_Types.{h,i} (ACE_U_LongLong): added operators that take ACE_UINT32 arguments corresponding to each of the operators that take ACE_U_LongLong & arguments. This solves some more overload resolution ambiguities. * ace/Stats.cpp: changed comparisons of ACE_U_LongLong with ints to unsigned ints, to avoid overload resolution ambiguity. Thu Jul 08 14:29:42 1999 David L. Levine * ace/OS.i (gethrtime): cast ts.tv_nsec explicitly to ACE_hrtime_t, instead of ACE_UINT32, to avoid overload resolution ambiguity now that we have that ACE_U_LongLong implicit conversion to ptr_arith_t. Thu Jul 8 13:50:14 1999 Steve Huston * ace/Reactor_Impl.h (dispatch_notifications): Changed ACE_Handle_Set arg from const to non-const. Fix in ACE_Select_Reactor_Notify requires the ability to change the handle set. * ace/WFMO_Reactor.{h cpp}: Corresponding removal of 'const' from ACE_WFMO_Reactor_Notify::dispatch_notifications. Signature change only - the function is a no-op in this class. * ace/Select_Reactor_Base.{h cpp}: In ACE_Select_Reactor_Notify, dispatch_notifications(), remove the notify pipe's handle from the dispatch handle set when handling a notification. Else it remained set and dispatchng I/O handlers came back and ran through it again, which artificially increased the count of dispatched handlers, and left some input unhandled when it was ready. * tests/MT_Reactor_Timer_Test.cpp: Added some verification checks to be sure that timer, notify, and input events all are handled at the right time. Thu Jul 08 12:35:23 1999 Nanbor Wang * tests/test_config.h: Reorganized WinCE's macros and fix some minor unicode problems. Thu Jul 8 11:33:50 1999 Douglas C. Schmidt * Rebuilt the ACE+TAO.tar.gz file. For some reason, there was a ^M at the end of each line! Thanks to Bruce Edge for reporting this. * ace/Based_Pointer_Repository.cpp (unbind): Rearranged the iterator code a bit to see if that'll make DEC C++ happy. * ace/OS.h: Moved the ACE_MALLOC_ALIGN macro into OS.h. * config-aix-4.x.h, config-lynxos.h, config-psos-diab-mips.h, config-psos-diab-ppc.h, config-psos-diab.h, config-psos-tm.h, config-psosim-g++.h, config-sunos5.5.h: Added the ACE_MALLOC_ALIGN macro back since it's used in an ACE test program. * ace/Malloc.cpp: Removed the trailing ';' on the #pragma instantiate. Thanks to David Levine for reporting this. Thu Jul 08 11:35:53 1999 David L. Levine * ACE-INSTALL.html: added note about IP multicast support with Tornado II/VxWorks 5.4. It's not enabled by default in ACE. Thu Jul 8 11:31:13 1999 Steve Huston * tests/Message_Queue_Test.cpp: Added a test to see the correct errno is set for a timed-out dequeue operation. Thu Jul 08 11:30:43 1999 David L. Levine * ACE-INSTALL.html: added note about the uninitialized variable warnings from (the old) egcs that is distributed with Wind River's Tornado II. Thu Jul 08 10:40:02 1999 David L. Levine * ace/config-linuxppcr5.h: use config-linux-lxpthreads.h because thread support works. * ace/config-linuxppcr5.h, config-linux-common.h: use an ACE_DEFAULT_BASE_ADDR of 0x40000000, because that allows Naming_Test to work. With these two changes, all ACE tests pass on LinuxPPC. Thanks to Andreas Tobler for the fixes and testing. Thu Jul 08 10:25:55 1999 David L. Levine * ace/OS.h,Basic_Types.h: added ACE_U_LongLong conversion operator to ptr_arith_t. Moved ptr_arith_t typedef from OS.h to Basic_Types.h, so that it can be used by ACE_U_LongLong. Thanks to Chris for helping to figure this out. Thu Jul 8 08:34:22 1999 Steve Huston * ace/Log_Msg.cpp (log): Don't special-case the %t handling on AIX 4.3 - just 4.2 and earlier. Thu Jul 8 00:23:02 1999 Douglas C. Schmidt * ace/Malloc_T.cpp: Updated all the methods that check cp_ptr_ to return immediately if it's 0. Thanks to Dieter for suggesting this. * ace/Malloc.cpp (dump): Added a cast to trigger operator void * for freep_ (which may be a smart pointer in some configurations). * ace/Based_Pointer_Repository: Revised the implementation of this class to use the "Cheshire-Cat" technique to hide the implementation to avoid circular #include dependencies. * ace/Token.h (ACE_Token): Clarified that the timeouts are in "absolute" time, not relative time. Thanks to Everett Anderson for reporting this. * ace/config-win32-borland.h: Only enable ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION if we're running on older versions of Borland. Thanks to Christopher Kohlhoff for reporting this. Wed Jul 07 22:44:22 1999 David L. Levine * tests/Recursive_Mutex_Test.cpp (main): added comment explaining why the stack size is now set. * tests/test_config.h: removed special ACE_MAX_PROCESSES and ACE_MAX_THREADS values for LynxOS, because most tests don't need them. * tests/Process_Mutex_Test.cpp: use only 4 processes instead of ACE_MAX_PROCESSES, on LynxOS only. Otherwise, the test's ACE_LOG_MSG->op_status assertion fails. * ACE-INSTALL.html: removed statements about some tests failing on LynxOS/PPC. Just Naming_Test and MM_Shared_Memory_Test fail now. Wed Jul 07 19:51:00 1999 Chris Gill * ace/config-ghs-common.h: removed use of native auto_ptrs, as they implement an older specification which lacks the reset method. Wed Jul 7 17:17:10 1999 Ossama Othman * ace/ARGV.cpp (ACE_ARGV): * ace/OS.cpp (ACE_OS_Recursive_Thread_Mutex_Guard): * ace/Sched_Params.i (ACE_Sched_Priority_Iterator): Added some class members to the member initializer lists to fix some "Effective C++" warnings from EGCS. Wed Jul 7 16:33:29 1999 Kirthika Parameswaran * tests/Cached_Conn_Test.cpp (main): Added default testing of LRU, LFU, FIFO caching strategies. * tests/Cached_Conn_Test.cpp (parse_args): * tests/Cache_Map_Manager_Test (parse_args): Runtime selection of different caching strategies (lru/lfu/fifo/null) made possible. * Caching_Strategies_T.{i,cpp}: Removed typos and also definied the virtual destructor for ACE_Caching_Strategy. * tests/Map_Manager_Test.cpp (test_cache_map_manager): Added to the construction of and objects to make it in sync with the changes made below. Wed Jul 07 16:06:45 1999 David L. Levine * tests/Recursive_Mutex_Test.cpp: explicitly set the stack size. This solves the problem on LynxOS/PPC, below, so the 65-iteration workaround was removed. Thanks to Doug for this suggestion. Wed Jul 7 13:27:53 1999 Douglas C. Schmidt * ace/config-win32-borland.h, ace/config-win32.h: Added support for the ACE::major_versions(), etc. for PC versions of ACE, as well as UNIX. Thanks to Jeff Hellzen for suggesting this. * ace: Added a new Based_Pointer_T.i file that inlines the small methods. * ace/Malloc[_T]: Cleaned up the code so that we can use the ACE_Based_Pointer<> consistently when ACE_HAS_POSITION_INDEPENDENT_MALLOC is enabled and disable. * ace/Malloc.h: By default, ACE_MALLOC_PADDING is set to 1 so that we don't get "divide by zero" errors. However, it's only used in the computation of the ACE_Malloc_Header if it's > 1. * config-aix-4.x.h, config-lynxos.h, config-psos-diab-mips.h, config-psos-diab-ppc.h, config-psos-diab.h, config-psos-tm.h, config-psosim-g++.h, config-sunos5.5.h: Removed the ACE_MALLOC_ALIGN macro since it should no longer be necessary. * ace/Malloc.h: Changed the use of macro ACE_MALLOC_ALIGN to ACE_MALLOC_PADDING, which is more descriptive. * Fixed a typo in the TAO-mail.html program where ace-* should have been tao-*. Thanks to Pedro Alves Ferreira for reporting this. * Fixed all vestiages of "BUG-REPORT-FORM" to say "PROBLEM-REPORT-FORM." Thanks to Neil B. Cohen for reporting this. Wed Jul 07 12:27:32 1999 David L. Levine * ace/config-lynxos.h: added ACE_LACKS_FORK for PowerPC only. This cleans up most of the remaining test problems on LynxOS/PPC. Wed Jul 07 11:26:06 1999 Nanbor Wang * ace/Malloc_T.cpp: Added ASYS_TEXT macros. Wed Jul 7 09:05:32 1999 Steve Huston * ace/Caching_Strategies_T.i (ACE_Caching_Strategy_Adapter<>::purge_ percent): Don't return a value from a void function. Wed Jul 07 08:35:24 1999 Irfan Pyarali * examples/Threads/future1.cpp * examples/Threads/future2.cpp * tests/Future_Set_Test.cpp * tests/Future_Test.cpp Fixed some template instantiations. Wed Jul 7 03:27:16 1999 Douglas C. Schmidt * examples/Shared_Malloc: Added a new file called test_position_independent_malloc.cpp that exercises the new "position-independent" features of the ACE_Malloc< class. * ace/Malloc_T.cpp: All the ACE_Malloc constructors were calling open() without checking the results. Now, if failure occurs we print a message. In addition, we weren't checking in shared_malloc() to make sure that we'd been properly initialized by the constructor. Now, if we aren't initialized correctly we return 0. Thanks to Dietrich Quehl for reporting these problems. * ace/Memory_Pool: Added a new feature to ACE_Shared_Memory_Pool and ACE_Shared_Memory_Pool_Options that makes it possible to tailor the size of System V shared memory segments without breaking any existing ACE code. Thanks to Serge Kolgan for contributing this enhancement. * ace/Makefile.bor (OBJFILES): Updated this file to include the new Based_Pointer_Repository.obj entry. * ace/Makefile: Reran make depend. * ace/Makefile: Added the Based_Pointer_Repository.{h,cpp} and Based_Pointer_T.{h,cpp} files to the Makefile. * ace/Malloc.h: Added the first support for the new "Based Pointer Malloc" feature that's described below. * ace: Added the Based_Pointer_Repository.{h,cpp} and Based_Pointer_T.{h,cpp} files to the release. These classes make it possible to transparently use "pointers" in shared memory without having to ensure that the base addresses of all the pointers are mapped into separate processes at the same absolute memory base address. Thanks to Dietrich Quehl for contributing this software. Wed Jul 07 01:28:40 1999 Nanbor Wang * ace/ace_dll.dsp: * ace/ace_lib.dsp: Added the Based_Pointer_Repository.{h,cpp} and Based_Pointer_T.{h,cpp} files to the project files. * ace/Based_Pointer_Repository.cpp: Added define ACE_BUILD_DLL. Tue Jul 06 22:47:04 1999 David L. Levine * bin/check_build_logs: filter out Purify warning about non-pic R_SPARC_*. * ace/config-linuxppcr5.h: commented out #define __USE_XOPEN because it's not necessary with glibc 2.1.1. Thanks to Andreas Tobler for reporting this. * ace/OS.i (thr_kill, thr_setprio, sema_destroy, sema_wait, chdir, unlink, sema_post, thr_continue, thr_getprio, thr_suspend, ioctl): on VxWorks only, removed ACE_ADAPT_RETVAL wrapper from system call, because it returns OK/ERROR (except for ioctl, which returns driver number/ERROR). Thanks to Elias Sreih for reporting this. * tests/SOCK_Send_Recv_Test.cpp (server): added 5 second sleep so that the code agrees with the comments :-) It now passes on LynxOS. Thanks to Steve Huston for the fix. Also, changed an exit () call to ACE_OS::exit (), and changed a few C-style casts to ANSI-style casts. Tue Jul 6 19:20:16 1999 Steve Huston * ace/Cache_Map_Manager_T.h: Removed extra "ace/" from #pragma implementation directive. * tests/Cache_Map_Manager_Test.cpp: Changed typedefs for KEY and VALUE from size_t to ACE_UINT32 to they always pick up the specializations for ACE_Hash, etc. On HP-UX and AIX, size_t is not the same as ACE_UINT32, and this caused build errors. * tests/Conn_Test.cpp: Restrict range of the test on PharLap ETS, else it runs out of resources with default configuration. Tue Jul 6 18:21:37 1999 Everett Anderson * ace/Token_Request_Reply.{h,i,cpp}: Added ACE_TOKEN_REQUEST_HEADER_SIZE for the fixed-length portion of ACE_Token_Request's Transfer struct, changing length calculations accordingly. Added two bytes to the buffer to accomodate '\0' values after the token name and client ID. * ace/Remote_Tokens.cpp: Changed the check for failure when receiving a reply in request_reply. Tue Jul 6 18:21:36 1999 Douglas C. Schmidt * ace/Map_Manager.cpp: Made this file conform to the ACE programming guidelines. Tue Jul 6 18:31:34 1999 Carlos O'Ryan * include/makeinclude/platform_irix6.x_sgic++.GNU: Removed pesky warnings about functions to big to optimize because it would be slow. Tue Jul 6 18:15:31 1999 Steve Huston * ACE_INSTALL.html: Added a further note re PharLap ETS builds. * ace/config-pharlap.h: Added ACE_TIMER_SKEW of 10ms. * tests/Atomic_Op_Test.dsp: * tests/Barrier_Test.dsp: * tests/Cache_Map_Manager_Test.dsp: * tests/Future_Set_Test.dsp: Changed PharLap ETS configurations to put intermediate files in ETS_LIB\Debug (like all the others), not in ETS_DLL\Debug. * tests/test_config.h: Set ACE_MAX_CLIENTS to 4 for PharLap ETS. * tests/run_pharlap_tests.bat: Disabled some tests of unsupported facilities. * tests/SOCK_Test.cpp: Replaced "localhost" with ACE_LOCALHOST. Tue Jul 6 17:54:52 1999 Kirthika Parameswaran member. * ace/Cache_Map_Manager_T.{h, cpp}: * ace/Hash_Cache_Map_Manager_T.{h,cpp}: Changed the signature of the constructor.This was needed to be able to use the External Polymorphism pattern. * tests/Cache_Map_Manager_Test.cpp: * tests/Cached_Conn_Test.cpp: Made necessary changes to reflect the changes above. Thanks to Irfan of the DOC group for helping with this. Tue Jul 6 17:34:52 1999 Steve Huston * ace/config-aix-4.x.h: Enabled ACE_HAS_PTHREADS_UNIX98_EXT and removed ACE_LACKS_RWLOCK_T for AIX 4.3. Moved some other ACE_LACKS settings to the pre-4.3 threads section to allow taking advantage of more capability on AIX 4.3. Tue Jul 06 16:29:32 1999 Nanbor Wang * ace/OS.h: Moved the string conversion macros before including OS.i because we also use them in the file. Thanks to Carlos for reporting this. * OS.{h,i,cpp}: * Parse_Node.cpp: Windows CE fixes. Tue Jul 06 15:56:19 1999 David L. Levine * ace/ACE.h,Object_Manager.{h,cpp},OS.{h,cpp} (ACE_Object_Manager*::init () and fini ()): return 1 instead of -1 after the first call, per program invocation. Thanks to Jody Hagins for this suggestion. Tue Jul 6 15:04:49 1999 Douglas C. Schmidt * ace/OS.i (sigwait): Fixed a problem with macro-itis and GCC. The following macro # if (__FreeBSD__ < 3) || defined (CHORUS) || defined (ACE_PSOS) was always evaluating to true, even when we're not on FreeBSD!. The following macro works around this: # if (defined (__FreeBSD__) && (__FreeBSD__ < 3)) || defined (CHORUS) || defined (ACE_PSOS) Thanks to Elias Sreih for reporting this and Carlos for suggesting the workaround. Tue Jul 6 11:39:59 1999 Douglas C. Schmidt * ace/OS.i: Updated the comment for ACE_ADAPT_RETVAL to clarify why it is needed. Thanks to Elias Sreih for motivating this clarification. Tue Jul 6 10:42:02 1999 Nanbor Wang * tests/test_config.h (ACE_INIT_LOG): Fixed a typo in VxWorks' definition of ACE_INIT_LOG. Thanks to David for reporting this. Tue Jul 6 10:17:19 1999 Douglas C. Schmidt * include/makeinclude/ace_flags.bor: Removed an extraneous "\orbsvcs". Thanks to Eugene Surovegin (surovegin@softlab.ru) for reporting this. Tue Jul 06 10:17:12 1999 David L. Levine * bin/check_build_logs: use mhmail instead of mailx on Suns. mailx loses the subject, when run from my cron job. Thanks to Naga for reporting this. Mon Jul 5 20:45:21 1999 Steve Huston * ace/OS.(h i): Added code for support of pthread suspend/resume and pthreads reader-writer locks. These features are enabled by setting the ACE_HAS_PTHREADS_UNIX98_EXT and removing ACE_LACKS_RWLOCK_T. * ace/config-hpux11.h: Added ACE_HAS_PTHREADS_UNIX98_EXT and removed ACE_LACKS_RWLOCK_T - this enables native reader/writer locks as well as thread suspend and reusme. * ace/README: Added ACE_HAS_PTHREADS_UNIX98_EXT. * apps/JAWS/server/HTTP_Config.(h cpp): * apps/JAWS/server/HTTP_Response.( h cpp): const-corrected char *. Mon Jul 5 16:39:50 1999 Douglas C. Schmidt * ACE-INSTALL.html: Updated the discussion to point out our support for KAI C++ 3.3, Borland C++ Builder 4.0, and the IBM VisualAge C++ compiler. * ace/Future.h: Moved the static methods until the bottom of the ACE_Future_Rep class to workaround a bug with Borland's C++ Builder. Thanks to Christopher Kohlhoff for testing this fix. * ace/Timer_Heap_T.cpp (grow_heap): Removed an extra memory allocation that snuck in whilst integrating the IBM VisualAge C++ compiler patches. Thanks to David Levine for reporting this. * Added new Borland Makefiles. Thanks to Christopher Kohlhoff for these. * include/makeinclude: Added several new platform configuration files for Borland C++ Builder. Thanks to Christopher Kohlhoff for these. Mon Jul 5 13:08:36 1999 Kirthika Parameswaran * tests/Cache_Map_Manager_Test.cpp: Added ACE_UNUSED_ARG macros for to ward off warnings. Mon Jul 05 13:00:19 1999 Irfan Pyarali * ace/Malloc.i (free): Fixed unused arg warning for . * examples/Threads/future1.cpp: * examples/Threads/future2.cpp: Fixed template instantiations. Mon Jul 5 12:25:11 1999 Carlos O'Ryan * ace/OS.i (strspn): This function cannot return -1 to indicate errors, the function returns an unsigned integral type. Mon Jul 05 12:14:56 1999 Nanbor Wang * ace/OS.i: Wchat_t version of strenvdup should only be available on Win32. Thanks to Bala, Carlos, and David for noticing this. (strspn): Ditto to this function. Mon Jul 05 09:58:07 1999 David L. Levine * ACE-INSTALL.html: in example config.h for VxWorks on NT, use "" style #includes instead of <>. <> should only be used for system headers. Mon Jul 05 04:11:05 1999 Nanbor Wang * tests/version_tests/Future_Set_Test.dsp: * tests/version_tests/version_tests.dsw: Added Future_Set_Test into version tests workspace. * ace/ACE.cpp: * ace/ACE.h: * ace/DLL.cpp: * ace/DLL.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_Connector.i: * ace/Filecache.cpp: * ace/Get_Opt.cpp: * ace/INET_Addr.cpp: * ace/Local_Name_Space_T.cpp: * ace/Log_Record.cpp: * ace/Message_Queue_T.cpp: * ace/Name_Proxy.cpp: * ace/Naming_Context.cpp: * ace/Naming_Context.h: * ace/OS.cpp: * ace/OS.h: * ace/OS.i: * ace/Parse_Node.cpp: * ace/Parse_Node.h: * ace/Proactor.cpp: * ace/Process.cpp: * ace/RB_Tree.cpp: * 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_Dgram_Mcast.cpp: * ace/SPIPE_Connector.cpp: * ace/SV_Message_Queue.cpp: * ace/SV_Semaphore_Simple.cpp: * ace/SV_Shared_Memory.cpp: * ace/Stats.cpp: * ace/Stats.h: * ace/Strategies_T.cpp: * ace/Strategies_T.i: * ace/Svc_Conf.h: * ace/Svc_Conf.y: * ace/Svc_Conf_y.cpp: * ace/Token_Collection.cpp: * ace/Token_Collection.h: * ace/Token_Collection.i: * ace/Token_Invariants.cpp: * ace/Token_Invariants.h: * ace/UPIPE_Acceptor.cpp: * ace/UPIPE_Connector.cpp: * ace/UPIPE_Connector.i: * ace/WFMO_Reactor.cpp: * ace/WIN32_Asynch_IO.cpp: * ace/WIN32_Proactor.cpp: * ace/config-win32-common.h: * tests/CDR_Test.cpp: * tests/Cache_Map_Manager_Test.cpp: * tests/Collection_Test.cpp: * tests/DLL_Test.cpp: * tests/DLL_Test.h: * tests/DLList_Test.cpp: * tests/Dynamic_Priority_Test.cpp: * tests/Env_Value_Test.cpp: * tests/Handle_Set_Test.cpp: * tests/High_Res_Timer_Test.cpp: * tests/IOStream_Test.cpp: * tests/MT_Reactor_Timer_Test.cpp: * tests/Map_Manager_Test.cpp: * tests/Map_Test.cpp: * tests/Message_Queue_Test.cpp: * tests/Naming_Test.cpp: * tests/New_Fail_Test.cpp: * tests/Pipe_Test.cpp: * tests/Priority_Reactor_Test.cpp: * tests/Process_Mutex_Test.cpp: * tests/Process_Strategy_Test.cpp: * tests/Process_Strategy_Test.h: * tests/Reactor_Performance_Test.cpp: * tests/SOCK_Connector_Test.cpp: * tests/SPIPE_Test.cpp: * tests/SV_Shared_Memory_Test.cpp: * tests/Service_Config_Test.cpp: * tests/Thread_Manager_Test.cpp: * tests/Time_Service_Test.cpp: * tests/Tokens_Test.cpp: * tests/UPIPE_SAP_Test.cpp: * tests/Upgradable_RW_Test.cpp: * tests/test_config.h: Changes to make it possible to write pure UNICODE programs on NT. Now it is possible to compile ACE on NT with ACE_HAS_MOSTLY_UNICODE_APIS defined. Most tests passed without trouble. However, Future_Set_Test is not yet included in the version_tests and Dynamic_Priority_Test also failed. Thanks to Valery Arkhangorodsky for providing a preliminary patch for ACE to motivate the change. Sun Jul 04 18:57:13 1999 David L. Levine * ACE-INSTALL.html: when building tao_idl on NT to be used for generating code for VxWorks, build without ACE_HAS_EXCEPTIONS. Otherwise, TAO_IDLFLAGS must be overridden to be null instead of -Ge 1. Thanks to Carlos for this suggestion. Sun Jul 4 17:06:17 1999 Douglas C. Schmidt * tests/Notify_Performance_Test.cpp, tests/Message_Block_Test.cpp, tests/Priority_Task_Test.cpp, tests/Thread_Pool_Reactor_Test.cpp: Fixed a couple of warnings related to initializing char *'s with const char *'s. Thanks to SunC++ 5.0 for reporting this. Sun Jul 04 16:07:33 1999 David L. Levine * ACE-INSTALL.html: updated instructions for building on NT host for VxWorks. Sun Jul 04 15:41:34 1999 David L. Levine * many Makefiles: call ace_components via sh, instead of directly in the make $(shell) command. This allows it to work on platforms that don't have /bin/sh, such as NT. Sun Jul 4 12:34:24 1999 Douglas C. Schmidt * ace/Timer_Hash_T.cpp (cancel): Reversed a comparison from <= to > to make the ACE_ASSERT replacement work properly. Thanks to David Levine for reporting this. * tests/Thread_Pool_Test.cpp (open): We need to define 'int i' outside of the for loop to keep EGCS from complaining for some reason. * ace/Timer_Heap_T.cpp: Reformatted this code to conform to the ACE programming guidelines. * ace/Timer_Heap_T.cpp (schedule): Replaced an ad hoc check for allocator failure with the ACE_ALLOCATOR_RETURN macro. * ace/RB_Tree.cpp: Modified Carlo's change so that we add an extra set of parens in a special way, rather than using a new macro. This is more consistent with how we deal with this problem in other parts of ACE. * ace/RB_Tree.cpp (insert_i): Removed an unreachable statement. Thanks to David Levine for reporting this. Sat Jul 3 22:12:07 1999 Carlos O'Ryan * ace/Object_Manager.cpp (get_singleton_lock): Fixed one of the ACE_Thread_Mutex version of this method. One of the braces after an if() statement got "accidentaly" removed; binding the "else" part of the statement to the previous if() instead. Sat Jul 3 18:54:18 1999 Carlos O'Ryan * ace/RB_Tree.cpp: If the "constructor" parameter in an ACE_NEW_RETURN macro has a comma in it (such as Foo(x,y,z)) we need to replace it with a macro, so it is seen as a single token by the pre-processor. Otherwise it (the pre-processor) gets confused and uses the comma as separator. Thanks to David for detecting this one. Sat Jul 3 15:57:40 1999 Carlos O'Ryan * ace/SOCK_Dgram_Mcast.cpp: Fixed error code return, it should be -1 not ACE_INVALID_HANDLE * ace/SOCK_Connector.cpp: Fixed stray comment characters. Sat Jul 03 14:04:10 1999 David L. Levine * ace/Makefile: call ace_components via sh, and use single instead of double quotes, so that it works with Cygwin on NT host. Sat Jul 3 12:05:46 1999 Douglas C. Schmidt * ace/SOCK_Dgram_Mcast: Modified the subscribe() method to return 0 or -1 rather than ACE_HANDLE. Thanks to Vidya Narayanan for suggesting this. * ace/SOCK_Acceptor, ace/SOCK_Connector, ace/SOCK: Added the ACE_Protocol_Info *, ACE_SOCK_GROUP, and flags parameters to these classes so we can pass down the GQoS information. Thanks to Vidya Narayanan for suggesting this. * ace/SOCK.h: Added the reuse_addr parameter to open() and the ACE_SOCK constructor. * tests/Future_Set_Test.cpp (main): We were casting a const ASYS_TCHAR * to u_int, yikes! * ace/RB_Tree.cpp: Cleaned up the code so it's conformant with the ACE programming style, particularly for dynamic memory allocation (which wasn't using ACE_NEW). * ace/ACE.cpp (get_ip_interfaces): Cleaned up the code so it conforms to the ACE programming guidelines. * ace/Timer_Hash_T.cpp: Fixed a number mistakes where the return value of new wasn't being checked. * ace/Timer_Heap_T.cpp, ace/Timer_Wheel_T.cpp: Removed the apparently extraneous parens used in the ACE_NEW* macros in order to keep EGCS 2.95 happy. Thanks to Jody Hagins and Arturo Montes for reporting this. BTW, if this causes problems on any compilers please let me know. * ace: Reformatted all the ACE_NEW* macros so they conform to ACE programming style. * ace/Priority_Reactor.cpp: Cleaned up the code to conform to the ACE programming style. * ace/OS.cpp (tss_base): Cleaned up a loop a bit so it conforms to the ACE programming style. Sat Jul 3 11:09:51 1999 Alexander Babu Arulanthu * ace/WIN32_Asynch_IO.cpp * ace/WIN32_Proactor.cpp Addressed Doug's @@ Alex comments. It was simply making some debug statements conditional upon ACE::debug () flag. Fri Jul 2 19:50:29 1999 Douglas C. Schmidt * ace/OS.h: There was a typo in the ACE_WIN32CALL_RETURN() macro for Borland C++. Thanks to Jody Hagins for reporting this. * ace/config-win32-borland.h: Clarified the fact that this file shouldn't be #included directly. Thanks to Thaddeus Olczyk for motivating this. Fri Jul 02 22:22:12 1999 Steve Huston * ace/config-hpux-11.x-hpc++.h: Added ACE_HAS_STD_TEMPLATE_METHOD_SPECIALIZATION for aC++. * include/makeinclude/platform_hpux_aCC.GNU: Removed the suppression of warning 829 (auto convert of string literal to char * deprecated). With the exception of some JAWS code, all of ACE has been rid of the offenders. * websvcs/tests/Makefile: Replace VLDLIBS with correct LDLIBS. Now works on AIX. Fri Jul 2 19:37:16 1999 Carlos O'Ryan * tests/Future_Test.cpp: The timeout variable was declared in one scope but used in another one. Added another timeout variable to keep it happy. * tests/Message_Queue_Test.cpp: A pointer was initialize using "0x" i think it was a typo and should be "0". Fri Jul 02 18:28:31 1999 Steve Huston * ace/config-hpux11.h: Added ACE_HAS_BROKEN_T_ERROR. Enable threads by default, unless site config explicitly turns it off by setting ACE_HAS_THREADS to 0. Thanks to Brian Wallis for motivating this change. * ace/config-hpux-11.x-hpc++.h: Added ACE_HAS_STD_TEMPLATE_SPECIALIZATION. * include/makeinclude/platform_hpux_aCC.GNU: If on 11.00 and the user requests a build w/o threads, set ACE_HAS_THREADS to 0 to override the config default (see config-hpux11.h, above). Fri Jul 2 11:49:12 1999 Kirthika Parameswaran * tests/Cached_Conn_Test.cpp: This is a test which shows how the Strategy Connector can automagically as well as explicitly cache and purge connection from its connection cache using different caching strategies. * ace/Cached_Connect_Strategy_T.{h, cpp}: Added a method "purge_connections ()" which allows explicit purging of connnections from the connection cache. Fri Jul 2 13:54:14 1999 Douglas C. Schmidt * ace/Future_Set.cpp, ace/Future.cpp: Added ACE_TYPENAME at a couple of places to make HP/UX aCC happy. Thanks to Eric Mitchell for reporting this. * ace/SOCK_Dgram: Added send() and recv() methods that take ACE_OVERLAPPED structures. Thanks to Vidya Narayanan for suggesting this. * ace/OS.h: Added an ACE_OVERLAPPED_FLAG that's used to abstract away from the WSA_FLAG_OVERLAPPED macro on Win32. Thanks to Vidya Narayanan for suggesting this. * ace/OS.cpp: Removed unnecessary ';' after ACE_BEGINTHREADEX() and ACE_ENDTHREADEX(). Thanks to Kris Johnson for reporting this. * ace/Service_Config.cpp (open_i): It appears that if (ACE::debug ()) ACE_Log_Msg::disable_debug_messages (); should really be if (ACE::debug () == 0) ACE_Log_Msg::disable_debug_messages (); Thanks to Jonathan Reis for reporting this. * tests/Future_Test.cpp (main): Make sure to use absolute time rather than relative time for the timeouts. Thanks to Peter Brandstrom for reporting this. Fri Jul 02 13:44:17 1999 Irfan Pyarali * tests/Thread_Pool_Reactor_Test.cpp (worker): Added const fix to and . * tests/Priority_Task_Test.cpp: Added const fix to . * tests/Notify_Performance_Test.cpp (print_results): Added const fix to . * tests/Message_Block_Test.cpp: Added const fix to . Fri Jul 2 11:49:12 1999 Irfan Pyarali * Initialized some variables to zero to avoid some silly warnings from egcs (with exceptions): - ace/Free_List.cpp - ace/Malloc.i - tests/DLL_Test.cpp - tests/Mem_Map_Test.cpp - tests/Message_Queue_Test.cpp - tests/Reactor_Notify_Test.cpp Fri Jul 2 11:49:12 1999 Kirthika Parameswaran * ace/Strategies_T.h (ACE_Cached_Connect_Strategy): Made "virtual" methods which were getting overriden in the derived Cached_Connect_Strategy_Ex class. * ace/Cached_Connect_Strategy_T.{h, cpp}: Added a method "purge_connections ()" which allows explicit purging of connnections from the connection cache. * tests/Cached_Conn_Test.cpp: This is a test which shows how the Strategy Connector can automagically as well as explicitly cache and purge connection from its connection cache using different caching strategies. Fri Jul 2 11:49:12 1999 Kirthika Parameswaran * tests/Cached_Conn_Test.cpp: This is a test which shows how the Strategy Connector can automagically as well as explicitly cache and purge connection from its connection cache using different caching strategies. * ace/Cached_Connect_Strategy_T.{h, cpp}: Added a method "purge_connections ()" which allows explicit purging of connnections from the connection cache. Fri Jul 02 11:50:21 1999 Steve Huston * ace/ace_lib.dsp: Added Pharlap ETS configurations for Debug and Release. * ace/config-pharlap.h: Added ACE_LACKS_* definitions to avoid some unimplemented memory mapped things. Added a definition for ACE_PAGE_SIZE because it's not obvious how to get it at run time. Include because some of the OS functions call ETS kernel functions for low-level system info gathering. Set ACE_HAS_TSS_EMULATION. The PharLap TSS leaves some to be desired, according to TSS_Test. * ace/config-win32-common.h: In building for PharLap, don't bring in the OS-supplied wsock32.lib - need to use the PharLap one. * ace/ACE.cpp: PharLap ETS changes: ACE::ldfind: PharLap doesn't have expand environment strings. ACE::get_i