Wed Mar 12 09:54:51 2003 Chad Elliott Committing Paul Calabrese's MPC related changes. * ACEXML/common/ACEXML_Export.h: * ACEXML/common/common.mpc: * ACEXML/parser/parser/parser.mpc: * bin/MakeProjectCreator/config/acexml.mpb: Fix problems with ACEXML mpc files on windows. Wed Mar 12 08:36:12 2003 Douglas C. Schmidt * ace/FILE.cpp: Make the ACE_FILE::close() method check for a valid handle. Thanks to Paul Marquis for reporting this. Wed Mar 12 08:25:17 2003 Chad Elliott * bin/MakeProjectCreator/config/acedefaults.mpb: * bin/MakeProjectCreator/config/aceexe.mpb: * bin/MakeProjectCreator/config/acelib.mpb: * bin/MakeProjectCreator/config/global.mpb: Changed the global values to be generic and moved the defaults for ACE into the acedefaults base project. * bin/MakeProjectCreator/modules/ProjectCreator.pm: Fixed a bug where header and inline files would be added to a project even if they were specified to be empty. Wed Mar 12 07:03:54 2003 Chad Elliott * netsvcs/servers/Makefile.bor: Applying Trevor Fields modification. Change $(OBJDIRS) to $(OBJDIR). Tue Mar 11 14:12:46 2003 Chad Elliott * bin/MakeProjectCreator/USAGE: * bin/MakeProjectCreator/modules/Creator.pm: * bin/MakeProjectCreator/modules/Driver.pm: * bin/MakeProjectCreator/modules/ProjectCreator.pm: * bin/MakeProjectCreator/modules/WorkspaceCreator.pm: Added a -recurse option and fixed a problem with changing to non-existent directories. Mon Mar 10 18:10:31 2003 Steve Huston * ace/ARGV.h: Clarified the behavior of ACE_ARGV's behavior with respect to environment variable substitution; it only substitutes when the token is itself an environment variable reference and not if there's an environment variable reference contained within the token. e.g. $HOME will subtitute, $HOME/file will not. Mon Mar 10 14:03:11 2003 Chad Elliott * bin/MakeProjectCreator/modules/Creator.pm: * bin/MakeProjectCreator/modules/ProjectCreator.pm: * bin/MakeProjectCreator/modules/WorkspaceCreator.pm: Factor out code to detect duplicate project names to allow the WorkspaceCreator to use that same code to detect duplicate workspace names. Mon Mar 10 13:30:30 2003 Chad Elliott * bin/MakeProjectCreator/modules/ProjectCreator.pm: If an mpc file contains projects with duplicate names, MPC will issue a warning to that effect. Mon Mar 10 08:25:30 2003 Ossama Othman * ace/Log_Msg.cpp (log_hexdump): * tests/Proactor_Test.cpp: Corrected format specifier for size_t (unsigned integer) variable, i.e. "%u" instead of "%d". Fixes mismatched format specifier warnings. Mon Mar 10 07:36:59 2003 Chad Elliott * bin/MakeProjectCreator/modules/TemplateParser.pm: Fixed a bug where multiple uses of a $() variable would not be handled correctly with the -relative option. Thanks to Nanbor Wang for reporting this. Mon Mar 10 13:47:08 CET 2003 Oliver Kellogg * include/makeinclude/platform_g++_common.GNU: Cannot use CXX to determine compiler version because CXX might be set to "insure" and insure does not pass the -dumpversion option to the compiler. Sun Mar 9 10:17:16 2003 Edan Ayal * tests/Future_Set_Test.cpp: * tests/Future_Test.cpp: Printing order should be 'a,b,c,d,e' instead of 'a,b,c,e,d'. First sleep() replaced with ACE_Thread_Manager::instance()->wait(). Final sleep() is redundant, as the spawned threads are already dead. Prime_Scheduler::close() is called twice - once by the user (asking to close the task) and once by the framework, when the thread exists. This causes the task_count counter to be negative. Renamed the method to 'shutdown'. Change method declaration and definition (remove 'virtual' and all the arguments). Change the call in Method_Request_end::call to shutdown() instead of close() In the future set test, place different name commands in the name set, just to show that it can be done. Sat Mar 8 12:54:18 2003 Steve Huston * ace/Get_Opt.h: Clarified the role of the long_only argument for the ACE_Get_Opt constructor. Fri Mar 7 09:58:06 2003 Phil Mesnier * apps/mkcsregdb/Makefile: Fixed the install location so the make succeeds. Fri Mar 7 08:51:56 2003 Chad Elliott * bin/MakeProjectCreator/modules/Driver.pm: * bin/MakeProjectCreator/modules/Parser.pm: * bin/MakeProjectCreator/modules/ProjectCreator.pm: * bin/MakeProjectCreator/modules/StringProcessor.pm: Reverted my change from "Fri Mar 7 06:35:09 2003 Chad Elliott" to Parser.pm and factored out code from that module and Driver into a new module, StringProcessor.pm. Driver and Parser now inherit from StringProcessor. Fri Mar 7 07:19:46 2003 Chad Elliott * ACEXML/apps/svcconf/svcconf.mpc: * ACEXML/common/common.mpc: * ACEXML/examples/SAXPrint/SAXPrint.mpc: * ACEXML/parser/parser/parser.mpc: * ACEXML/tests/tests.mpc: Added mpc files for ACEXML related projects. * bin/MakeProjectCreator/config/acexml.mpb: Added an acexml base project to provide easy addition of ACEXML libraries to a project. * bin/MakeProjectCreator/modules/ProjectCreator.pm: Fixed the code to find the main() in a .cpp. Fri Mar 7 06:35:09 2003 Chad Elliott * bin/MakeProjectCreator/modules/Parser.pm: Fixed a bug introduced with the "Thu Mar 6 08:06:35 2003 Chad Elliott" modification of Driver.pm. I made $cwd part of the class instead of a static local. The value wasn't being updated properly since Driver.pm now "uses" Parser. Thanks to Steve Huston for bringing this to my attention. Thu Mar 6 18:14:21 2003 Steve Huston * include/makeinclude/platform_hpux_aCC.GNU: Rather than do the template closure as part of the AR command, set up PRELIB to do template closure; this allows static libs to build clean with the xargs method introduced to rules.lib.GNU. A side-affect of this is that the separate template closure step is also used for shared libraries, and thus, +inst_none needed to be added to SOFLAGS. Also set AR to /usr/ccs/bin/ar to be sure to pick up the native HP-supplied ar command. * examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp: Don't reinterpret_cast on non-Windows. Not needed and aC++ complains. Also see: Wed Feb 19 10:41:20 2003 Steve Huston Thu Mar 6 14:49:37 2003 Steve Huston * apps/mkcsregdb/mkcsregdb.cpp: const_cast pointers that need to be delete[]-ed sp MSVC 6 doesn't complain. static_cast result of strtol() to ACE_CDR::UShort when needed. Thu Mar 6 11:41:46 2003 Chad Elliott * bin/MakeProjectCreator/USAGE: * bin/MakeProjectCreator/modules/Creator.pm: * bin/MakeProjectCreator/modules/Driver.pm: * bin/MakeProjectCreator/modules/ProjectCreator.pm: * bin/MakeProjectCreator/modules/WorkspaceCreator.pm: Added a -notoplevel option to allow processing to occur with no top level file created. Thu Mar 6 10:56:09 2003 Phil Mesnier * ace/Makefile.am: Adding codeset files to yet another makefile variant. Thu Mar 6 09:58:41 2003 Chad Elliott * bin/MakeProjectCreator/modules/NMakeWorkspaceCreator.pm: * bin/MakeProjectCreator/templates/nmake.mpd: * bin/MakeProjectCreator/templates/nmakedll.mpt: * bin/MakeProjectCreator/templates/nmakeexe.mpt: Added support for nmake on Win64. To generate nmake files use the following command line: mwc.pl -type nmake -value_template platforms=Win64 Thu Mar 6 08:06:35 2003 Chad Elliott * bin/MakeProjectCreator/modules/Driver.pm: Added an environment variable that allows users to set default command line parameters. The MPC_COMMANDLINE environment variable is added to the command line parameters. It will not override any arguments passed in. Wed Mar 5 21:45:39 2003 Steve Huston * ace/INET_Addr.cpp (get_port_number_from_name): Correct arg name for ACE_UNUSED_ARG. Suspected cut/paste error. * tests/ACE_Test.cpp: const_cast the pointers returned from ACE::execname() so they can be deleted on MSVC6. Wed Mar 5 07:05:11 2003 Phil Mesnier * ace/ace-dll.icc: * ace/ace-lib.icc: * ace/ace.icc: * ace/ace_dll64.mak: * ace/ace_lib64.mak: Added codeset registry files to more makefiles. Wed Mar 5 06:32:40 2003 Phil Mesnier * ace/Makefile.bor: * ace/ace_dll.dsp: * ace/ace_lib.dsp: Added codeset registry files and fixed spelling error in Makefile.bor. Wed Mar 5 06:10:48 2003 Phil Mesnier * ace/Makefile.bor: Added codeset registry files to makefile. Tue Mar 04 19:58:29 2003 Nanbor Wang * ACEXML/common/FileCharStream.cpp (determine_encoding): Commented out the annoying debug information. Users should get the encoding information from this->getEncoding(), instead of relying on the debug info. * ACEXML/common/LocatorImpl.cpp (reset): Remember to reset string pointers to 0 after deleteing them. Otherwise, a parser may crash if it is used to parse a second file. Tue Mar 4 17:39:31 2003 Steve Huston * docs/CE-status.txt: Updated to reflect the ACE 5.3 status of CE. * ace/ACE.cpp (execname): Try to locate ".exe" suffix without case sensitivity. Thanks to Kelly F. Hickel for reporting this. Also, when appending a suffix, append it to the name, not after the name's nul terminator. * ace/ACE.h: Clarified that the pointer returned, if allocated, is allocated using new[] and should be freed with delete[]. * tests/ACE_Test.cpp: * tests/ACE_Test.dsp: New test for ACE methods. At this time, it tests the ACE::execname() method fixed above. * tests/Makefile: * tests/Makefile.bor: * tests/tests.dsw: * tests/tests.mpc: * tests/run_test.lst: Added ACE_Test. Tue Mar 4 13:54:52 2003 Phil Mesnier * ace/Codeset_Registry.cpp: * ace/Codeset_Registry.h: * ace/Codeset_Registry.inl: New files added to support the codeset framework. The Codeset Registry is either a wrapper for dce code and character set registry functions, if the system supports them, or these fucntions are emulated. Only the functions necessary to support TAO's Codeset translation framework are emulated. * ace/Codeset_Registry_db.cpp: The codeset "database." A minimal list (2 entries) is shipped, see apps/mkcsregdb to build a new list of supported codesets as needed. * ace/CDR_Stream.h: Changed the interface on the ACE_[W]Char_Codeset_Translator class for the read_[w]char_array to take a non-const array as the out parameter. * ace/Makefile.ace: * ace/ace.mpc: Added the new codeset files to the makefile. * apps/mkcsregdb: A new application used to generate custom list of codeset identites. The description of how to run is in a comment at the top of ace/Codeset_Registry_db.cpp. Tue Jan 24 17:50:32 2003 Gonzalo Diethelm * ace/INET_Addr.cpp: Method string_to_addr() now uses ACE_OS_String::strtol() instead of the ugly hack using ACE_OS::strspn() and ACE_OS::atoi(). The two set() methods that receive a const char port_name[] now try first to parse that port_name as a simple number (like "901"), and if that fails they try to resolve the port name as a service. In order to implement this, I added a static helper function called get_port_number_from_name() (sorry for the awful name). Tue Mar 4 12:53:06 2003 Chad Elliott * bin/MakeProjectCreator/modules/ProjectCreator.pm: If no exe target or lib target is supplied, then search the source files for a main() and set the exename. Tue Mar 4 09:31:01 2003 Jeff Parsons * ace/Configuration.cpp: For temporary ACE_TStrings used internally, switched to the non-allocating constructor. Also made cosmetic changes and changed some ACE_TString assignments to use the nocopy assignment method added below. * ace/String_Base.h: * ace/String_Base.i: Added a nocopy assignment method. * ace/ace_dll.dsp: Added Unbounded_Queue.h to the project. Mon Mar 3 11:39:20 2003 Ossama Othman * ace/Strategies_T.h: Forward declare ACE_Service_Repository. Fixes a problem exposed by IBM Visual Age C++ 5 builds about unexpected text. Fri Feb 28 17:43:02 2003 Douglas C. Schmidt * ace/Service_Manager.h (ACE_Service_Manager): Changed private to protected. Thanks to Terry Mihm for suggesting this. Fri Feb 28 13:04:56 2003 Ossama Othman Changes necessitated by inter-header dependency reductions. * examples/Connection/non_blocking/CPP-acceptor.h: Include "ace/Svc_Handler.h" to pull in ACE_Svc_Handler template declaration. * examples/Connection/non_blocking/test_lsock_acceptor.cpp: * examples/Connection/non_blocking/test_tli_acceptor.cpp: Include "ace/Service_Config.h" to pull in ACE_Service_Config class declaration. Fri Feb 28 14:12:03 2003 Chad Elliott * bin/ChangeLogEditor/ChangeLogEdit.pm: * bin/ChangeLogEditor/ChangeLogEntry.pm: * bin/ChangeLogEditor/EmailTranslator.pm: * bin/ChangeLogEditor/FileLocator.pm: * bin/cle.pl: Added a ChangeLog editor script. It uses CVS to determine which files have been modified, added or removed and generates a blank ChangeLog entry in the existing ChangeLog. Fri Feb 28 13:18:17 2003 Chad Elliott * bin/MakeProjectCreator/modules/VC7WorkspaceCreator.pm: Fixed a problem with project dependencies. If the project dependency is not a project within the generated solution, then omit it. Fri Feb 28 07:49:00 2003 Chad Elliott * bin/MakeProjectCreator/modules/Creator.pm: * bin/MakeProjectCreator/modules/Parser.pm: Pulled the common code out of Creator and replaced it with a template method to collect the lines with possible line continuation. Fri Feb 28 12:33:01 UTC 2003 Johnny Willemsen * ace/SString.cpp: Also do the explicit template instantiations ACE_String_Base::NULL_String_ and ACE_String_Base::NULL_String_ when using VxWorks. Thu Feb 27 10:56:01 2003 Ossama Othman * tests/Proactor_Scatter_Gather_Test.cpp (initiate_read_file): Explicitly cast return value of ceil() to "size_t". Fixes a "loss of data" warning. Loss of data isn't an issue in this case. Thu Feb 27 10:53:38 2003 Ossama Othman * ace/Atomic_Op.cpp (single_cpu_exchange, multi_cpu_exchange): Fixed unused argument warnings. Thu Feb 27 10:46:01 2003 Ossama Othman Changes necessitated by inter-header dependency reductions. * apps/Gateway/Peer/Peer.h: * examples/ASX/Event_Server/Event_Server/Peer_Router.h: * examples/Connection/non_blocking/CPP-connector.h: * netsvcs/lib/Name_Handler.h: * netsvcs/lib/Server_Logging_Handler_T.h: * netsvcs/lib/TS_Clerk_Handler.h: * netsvcs/lib/TS_Server_Handler.h: Include "ace/Svc_Handler.h" to pull in ACE_Svc_Handler template declaration. * examples/Connection/non_blocking/test_sock_acceptor.cpp: * examples/Connection/non_blocking/test_spipe_acceptor.cpp: Include "ace/Service_Config.h" to pull in ACE_Service_Config class declaration. Thu Feb 27 11:24:14 2003 Chad Elliott * apps/gperf/src/gperf.mpc: Change the gperf project name to contain exe to allow the VC6ProjectCreator to create the correct dependencies. Thu Feb 27 10:41:33 2003 Chad Elliott * bin/MakeProjectCreator/modules/VC6WorkspaceCreator.pm: Add a warning if duplicate projects are detected in a generated workspace. Thu Feb 27 10:31:44 2003 Balachandran Natarajan * include/makeinclude/platform_linux_icc.GNU: The GNU file can now work with 64 bit intel compiler in Itanium. Thanks to Lubomir Bulej and Petr Tuma for providing the patches. * THANKS: Added Lubomir Bulej to the hall of fame. Thu Feb 27 10:22:05 2003 Balachandran Natarajan * ace/Synch.h: * ace/Synch.i: Added ACE_Null_Condition::wait (ACE_Null_Mutex &m, const ACE_Time_Value * = 0) which seems to be missing. Wed Feb 26 18:42:33 2003 Christopher Kohlhoff * ace/Makefile.bor: Removed ACE_LD_DECORATOR_STR definition from CFLAGS, as this macro is now defined by the common included makefiles. * ace/Synch.h: Added missing constructor overload and disown member function to the ACE_Guard template specialization. * ace/Atomic_Op.cpp: * ace/Atomic_Op.h: * ace/Atomic_Op.i: * tests/Atomic_Op_Test.cpp: Use InterlockedExchange (or the XCHG instruction) to provide strong memory-ordering when assigning to an atomic integer. * bin/MakeProjectCreator/Creator.pm: Added support for line continuation using backslash in .mpc files. Wed Feb 26 11:55:20 2003 Chad Elliott * ace/ace.mpc: Added POSIX_CB_Proactor.cpp to the Demux files. * bin/MakeProjectCreator/modules/TemplateParser.pm: Modification to allow users to name the foreach variable. Wed Feb 26 07:39:58 2003 Chad Elliott * bin/MakeProjectCreator/README: * bin/MakeProjectCreator/modules/ProjectCreator.pm: Changed the defaulting behavior if neither exename, sharedname or staticname are defined in an mpc file. Tue Feb 25 22:26:30 2003 Krishnakumar B * ace/Malloc.h: * ace/Malloc.cpp: * ace/Malloc.h: * ace/Malloc_T.cpp: * ace/PI_Malloc.cpp: * ace/PI_Malloc.h: Teach ACE_Control_Block and friends to do alignment on 64-bit platforms. The previous code was buggy and caused a lot of bus errors on platforms with greater than 4-byte alignment. We no longer multiply and divide by sizeof (long) and do the alignment based on sizeof (union ACE_max_align_info). This change also makes the default alignment to be at 8-byte boundary (which is ofcourse overridable) and errs in favour of safe code by default vs optimization for code size. This should get rid of bug reports on SGI IRIX, Solaris 64-bit etc related to ACE_*_Allocator and friends. Also fixed a couple of rounding errors which result in core dumps, in ACE_Cached_Allocator and ACE_Dynamic_Cached_Allocator where we happily traverse memory irrespective of alignment of the chunk_size. Thanks to Dave Mercer for reporting the problem. One of the items from the long list of pending items post-5.3.1. * ace/OS_Memory.h: Removed the definition of ACE_MALLOC_ALIGN from this file. ACE_MALLOC_ALIGN is an internal definition of Malloc.h and should have no business in OS_Memory.h. * include/makeinclude/rules.lib.GNU: Use echo on VLOBJS instead of find with *.o. This fixes build problems on lame platforms like MacOS X where ar doesn't generate an index and need to use ranlib. Probably the right thing to do even otherwise since there might be more objects in .{sh,}obj than needed for a library. Tue Feb 25 10:00:54 2003 Ossama Othman * ace/CDR_Base.h (LongLong): * ace/CDR_Base.inl: * ace/CDR_Base.cpp: Removed newly added 32-bit assignment and comparison operators. Comparison is non-trivial in this signed case, and assignment operators are a potential source of confusion when implicit conversions are performed. This change basically reverts ACE_CDR::LongLong to its previous implementation, and also addresses some build problems on platforms with non-native 64 bit signed integers (e.g. VxWorks). Tue Feb 25 08:09:13 2003 Ossama Othman * ace/Atomic_Op_T.h (mutex_): Removed "mutable" keyword from this reference member. IBM's Visual Age C++ considers mutable reference members invalid. * ace/Atomic_Op_T.i: Go back to casting away the const-ness of the above mutex reference member in const methods. Tue Feb 25 09:57:07 2003 Chad Elliott * bin/MakeProjectCreator/templates/gnu.mpd: Clean up the generated targets with the GNU Makefiles. Tue Feb 25 09:24:06 2003 Douglas C. Schmidt * ace/OS.cpp: Added an emulation for localtime_r() for WinCE. Thanks to Martin Brown for reporting this. Tue Feb 25 08:40:12 2003 Chad Elliott * bin/MakeProjectCreator/templates/gnu.mpd: Always generate a realclean target, but only add idl generated files if we had idl_files to work with. Tue Feb 25 07:56:59 2003 Chad Elliott * bin/MakeProjectCreator/USAGE: Updated the documentation to reflect the removal of the 3 character restriction on type names. * bin/MakeProjectCreator/config/avstreamsexe.mpb: Inherit from namingexe instead of reproducing the same information. * bin/MakeProjectCreator/config/rteventexe.mpb: Inherit from server instead of reproducing the same information. * bin/MakeProjectCreator/modules/Driver.pm: Removed the restriction of a 3 character type. * bin/MakeProjectCreator/modules/BorlandProjectCreator.pm: * bin/MakeProjectCreator/modules/GHSProjectCreator.pm: * bin/MakeProjectCreator/modules/GNUProjectCreator.pm: * bin/MakeProjectCreator/modules/NMakeProjectCreator.pm: * bin/MakeProjectCreator/modules/ProjectCreator.pm: * bin/MakeProjectCreator/modules/VC7ProjectCreator.pm: Refactor code into the base class. * bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm: * bin/MakeProjectCreator/modules/GHSWorkspaceCreator.pm: * bin/MakeProjectCreator/modules/GNUWorkspaceCreator.pm: * bin/MakeProjectCreator/modules/NMakeWorkspaceCreator.pm: * bin/MakeProjectCreator/modules/WorkspaceCreator.pm: Made modifications to these modules to allow an mwc file to have multiple workspaces defined within it. * bin/MakeProjectCreator/templates/gnu.mpd: Cosmetic change. * bin/MakeProjectCreator/modules/MakeWorkspaceCreator.pm: * bin/MakeProjectCreator/modules/MakeProjectCreator.pm: * bin/MakeProjectCreator/templates/make.mpd: * bin/mpc.pl: * bin/mwc.pl: Added a new project type for generic Makefiles. These are not suitable for use within ACE or TAO, but may be useful to someone. Mon Feb 24 15:37:06 2003 Douglas C. Schmidt * ace/TTY_IO.h (ACE_TTY_IO): Added the dtrdisable member to Serial_Params. This finishes a fix suggested by Ray Limpus . Thanks to Jeff Parsons for noticing this. Mon Feb 24 08:53:52 2003 Ossama Othman * ace/Basic_Types.i (operator++, operator--): Fixed incorrect dereferencing of non-pointer return variable. Sun Feb 23 12:16:34 2003 Douglas C. Schmidt * ace/WIN32_Asynch_IO.cpp (cancel): Added support for cancel() on MinGW. Thanks to Vince for this fix. * examples/Mem_Map/Makefile: Moved the definition of DIRS to later in the Makefile so we can exclude it from the MinGW build. Thanks to Vince for reporting this, as well. * ace/WIN32_Proactor.cpp (close): Make sure to check whether GetQueuedQueuedCompletion() returns false. Thanks to Vince Mounts for reporting this. Sat Feb 22 08:16:36 2003 Ossama Othman * ace/Basic_Types.h (operator++, operator--): Fixed return type mismatch between declaration and definition in Basic_Types.i. Fri Feb 21 22:21:49 2003 Steve Huston * ace/OS.i: Removed the #if !defined (ACE_HAS_WINCE) around the ACE_OS::vsprintf() method. It's available on CE. Thanks to Emmanuel Thevenot Beaufort for this fix. Also enabled ACE_OS::fgets(), fflush(), thr_getspecific() similarly. Fri Feb 21 12:52:00 2003 Ossama Othman * ace/Global_Macros.h: * ace/OS.h: Moved ACE_CORBA_{1,2,3} and ACE_NESTED_CLASS macro out of OS.h and into Global_Macros.h. Helps avoid inclusion of OS.h in some cases. Fri Feb 21 10:05:23 2003 Ossama Othman * ace/Local_Name_Space_T.cpp: Include "ace/Auto_Ptr.h" once again to pull in the ACE_Auto_Basic_Array_Ptr class declaration. Fixes compile-time problems on AIX about unknown template types. Fri Feb 21 13:32:43 2003 Edward Scott * docs/bugzilla-build-setup.html: Removed obsolete documentation file. Thanks to Johnny Willemsen for reporting the problem. Fri Feb 21 06:18:19 2003 Ossama Othman * tests/Framework_Component_DLL.cpp: Include "ace/Service_Object.h" to pull in ACE_Service_Object class declaration. Necessitated by inter-header dependency reductions. Thu Feb 20 18:54:03 2003 Ossama Othman * apps/Gateway/Gateway/gatewayd.cpp: Include "ace/Service_Object.h" to pull in ACE_Service_Object_Ptr class declaration. Necessitated by inter-header dependency reductions. Thu Feb 20 18:49:37 2003 Ossama Othman * examples/Service_Configurator/Misc/Timer_Service.h: Include "ace/Service_Object.h" to pull in ACE_Service_Object class declaration. Necessitated by inter-header dependency reductions. Thu Feb 20 18:45:29 2003 Ossama Othman * examples/C++NPv2/Service_Reporter.cpp: Include "ace/Service_Types.h" to pull in ACE_Service_Type_Impl class declaration. Necessitated by inter-header dependency reductions. Thu Feb 20 18:31:10 2003 Ossama Othman * ace/Strategies_T.cpp: Fixed "lose of const in cast" errors. Thu Feb 20 18:20:19 2003 Ossama Othman * ace/SSL/SSL_SOCK_Acceptor.h (ACE_SSL_SOCK_Acceptor): Reverted the change that made this class inherit privately from ACE_SSL_SOCK instead of publically. While this isn't strictly the correct thing to do, IMO, it does correct some compile-time problems. * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect): Fixed compile-time error related to violation of a const qualifier on a pointer to the timeout value. Thu Feb 20 19:18:17 2003 Balachandran Natarajan * ChangeLogs/ChangeLog-02b: * ChangeLogs/ChangeLog-03a: New files having all the old ChangeLog entries till 5.3.1. * ChangeLog: Shortened the changelog for ease of use. Thu Feb 20 10:35:15 2003 Ossama Othman * ace/Strategies_T.h: * ace/Strategies_T.cpp: Reverted part of changes that introduced extensive use of traits since they were forcing the introduction of the ACE_TYPENAME macro in more places than is desirable at this point in time. They may be reintroduced in the future. Thu Feb 20 09:24:00 2003 Ossama Othman * ace/Service_Config.h: Forward declare ACE_Service_Object. Necessitated by inter-header dependency reductions. Thu Feb 20 09:23:51 2003 Ossama Othman * ace/Acceptor.h: * ace/Connector.h: No need to include "ace/Service_Config.h" and "ace/Svc_Handler.h". Include "ace/Synch_Options.h". Necessitated by inter-header dependency reductions. * ace/Acceptor.cpp: * ace/Connector.cpp: Include "ace/Svc_Handler.h". Necessitated by inter-header dependency reductions. * ace/Atomic_Op.h: Fixed doxygen documentation. * ace/Atomic_Op.i (operator++, operator--): Implement these post{in,de}crement operators in terms of their corresponding pre{in,de}crement operators to ensure consistent semantics. * ace/Atomic_Op_T.h (mutex_, own_mutex_): Improved const-correctness by making these mutex members mutable. This allows us to avoid casting away the constness. * ace/Atomic_Op_T.i (operator==, operator>=, operator>): (operator<=, operator<, value, operator=): Do not cast away the constness of the mutex. That hack is no longer necessary since the mutex is now mutable. * ace/Basic_Types.h: Improved doxygen documentation. Moved endianness determination macros prior to ACE_U_LongLong class. (operator=): Added ACE_ULongLong assignment operator declarations that accept 32 bit signed and unsigned integers. (operator++, operator--): Added missing ACE_ULongLong post{in,de}crement operator declarations. (data_): Make declaration order of lower and upper 32 bit members (lo_ and hi_) of this structure dependant on the endianness of the platform. This mimics what is done for the ACE_LongLong type in the ACE_CDR classes. * ace/Basic_Types.i (operator=): Added ACE_ULongLong assignment operator implementation that accept 32 bit signed and unsigned integers. (operator++, operator--): Added missing ACE_ULongLong post{in,de}crement operator implementations. * ace/CDR_Base.cpp (mb_align): Uninlined this method in order to reduce inter-header dependencies. (operator<, operator<=, operator>, operator>=, operator==): (operator!=): Added these missing operator for the ACE_LongLong type. (Float, operator=, operator!=): Fixed potential unused argument warnings for the Cray/UNICOS case. * ace/CDR_Base.h: Include "ace/OS.h" instead of "ace/Message_Block.h", and forward declare ACE_Message_Block in order to reduce inter-header dependencies. Changed all uses of typedefs like "u_char" and "u_long" to their non-typedef counterparts, e.g. "unsigned char" and "unsigned long". Makes it possible to avoid including headers that contain those typedefs. (operator=): Added ACE_LongLong constructors assignment operators that accept 32-bit integers. (operator==, operator!=, operator<=, operator<, operator>=): (operator>): Added these missing ACE_LongLong relation operators. * ace/CDR_Base.inl (operator=): Added ACE_LongLong constructors assignment operators that accept 32-bit integers. (operator==, operator!=, operator<=, operator<, operator>=): (operator>): Added these missing ACE_LongLong relation operators. * ace/CDR_Stream.h: Moved definition of the ACE_CDR_BYTE_ORDER macros from OS.h to this header. Helps with header dependency reduction. * ace/Capabilities.h: Use ACE_Hash_Map_Manager_Ex instead of ACE_Hash_Map_Manager. Doing so saves us three template instantiations. * ace/Capabilities.i: Cosmetic changes. * ace/Capabilities.cpp: No need to include "ace/Map_Manager.h". Added missing ACE_RCSID macro. Improved conformance to ACE coding conventions. Removed explicit template instantiations for the ACE_Hash_Map_Manager template. That template is no longer used. (reset_caps): Use ACE_Hash_Map_Manager_Ex template traits instead of the actual template type. Makes for cleaner code. * ace/Configuration.cpp: * ace/Configuration.h: * ace/Strategies_T.cpp: * ace/Token_Collection.cpp: * ace/Token_Collection.h: * ace/Token_Invariants.cpp: * ace/Token_Invariants.h: * ace/Token_Manager.cpp: * ace/Token_Manager.h: * ace/WIN32_Asynch_IO.cpp: * ace/WIN32_Asynch_IO.h: Take advantage of template traits to improve clarity of code. * ace/Copy_Disabled.h: Corrected comment. * ace/Default_Constants.h: Moved ACE_DEFAULT_CDR_BUFSIZE, ACE_DEFAULT_CDR_EXP_GROWTH_MAX, ACE_DEFAULT_CDR_LINEAR_GROWTH_CHUNK, ACE_DEFAULT_CDR_MEMCPY_TRADEOFF macros from OS.h to this header. Helps with inter-header dependency reduction. * ace/Dynamic_Service_Base.cpp: * ace/Parse_Node.cpp: * ace/Service_Manager.cpp: * ace/Service_Repository.cpp: * ace/Svc_Conf.y: * ace/Svc_Conf_y.cpp: Include "ace/Service_Types.h". Necessitated by inter-header dependency reduction. * ace/Filecache.h: * ace/Filecache.cpp: * ace/Hash_Map_With_Allocator_T.h: * ace/Hash_Map_With_Allocator_T.cpp: * ace/Local_Name_Space_T.h: * ace/Local_Name_Space.cpp: Use ACE_Hash_Map_Manager_Ex instead of ACE_Hash_Map_Manager. Doing so saves us three template instantiations. * ace/Future_Set.h: * ace/Map_T.h: Include "ace/Hash_Map_Manager_T.h" instead of "ace/Hash_Map_Manager.h". The former is all that is needed, and the latter already includes the former. * ace/Hash_Map_Manager_T.i (operator++, operator--): * ace/Map_Manager.i: * ace/RB_Tree.i: Implement the post-{in,de}crement operators in terms of their pre-{in,de}crement operator counterparts to ensure consistency. * ace/Local_Name_Space_T.cpp: No need to include "ace/Auto_Ptr.h" Use template traits to improve code clarity. * ace/OS.h: Moved ACE_CDR_BYTE_ORDER macro definition to CDR_Stream.h. Helps with inter-header dependencies. Moved ACE_DEFAULT_CDR_BUFSIZE, ACE_DEFAULT_CDR_EXP_GROWTH_MAX, ACE_DEFAULT_CDR_LINEAR_GROWTH_CHUNK, ACE_DEFAULT_CDR_MEMCPY_TRADEOFF to Default_Constants.h. Helps with inter-header dependency reduction. * ace/POSIX_Asynch_IO.cpp: Added missing ACE_RCSID macro. (bytes_transferred): Use map template traits to improve code clarity. * ace/POSIX_Asynch_IO.h: Redefined old map typedefs in terms of the map traits. * ace/Parse_Node.h: * ace/Service_Repository.h: No need to include "ace/Service_Types.h". A forward declaration for ACE_Service_Types is enough. * ace/Service_Config.h: No need to include "ace/Service_Types.h" and "ace/Signal.h". Forward declaring ACE_Service_Types and ACE_Sig_Adapter is enough. * ace/Strategies_T.h: No need to include "ace/Service_Config.h" and "ace/Synch_Options.h". * ace/Synch_Options.h: Changed all uses of typedefs like "u_char" and "u_long" to their non-typedef counterparts, e.g. "unsigned char" and "unsigned long". Makes it possible to avoid including OS.h. A big win in compile time reduction. Include "ace/Time_Value.h". Necessitated by inter-header dependency reduction. * ace/Synch_Options.cpp: Changed all uses of typedefs like "u_char" and "u_long" to their non-typedef counterparts, e.g. "unsigned char" and "unsigned long". Makes it possible to avoid including OS.h. A big win in compile time reduction. Include "ace/Trace.h". Necessitated by inter-header dependency reduction. * ace/Template_Instantiations.cpp: Removed all ACE_Hash_Map_Manager related template instantiations. The ones for ACE_Hash_Map_Manager_Ex are all that are needed. * ace/SSL/SSL_SOCK_Acceptor.h (ACE_SSL_SOCK_Acceptor): Inherit privately from ACE_SSL_SOCK, instead of publically. ACE_SSL_SOCK_Acceptor is IMPLEMENTED-IN-TERMS-OF ACE_SSL_SOCK. It does not satisfy the IS-A relationship. * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect): Use ACE_Countdown_Time to take into account the time between each call to select() instead of using the same timeout value in each loop iteration. [Bug 1110] * ace/SSL/SSL_SOCK_Stream.cpp (get_remote_addr): Retrieve the remote addr from the parent ACE_SSL_SOCK class, not ACE_SOCK. Addresses potential inconsistencies in the future. * ace/SSL/SSL_SOCK_Stream.h (ACE_SSL_SOCK_Stream): Removed friend declarations for the ACE_SSL_SOCK_{Acceptor,Connector} classes. They are unnecessary. Wed Feb 19 10:41:20 2003 Steve Huston * examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp: In run_worker(), use ACE_reinterpret_cast, not ACE_static_cast, to convert an int to an ACE_HANDLE. Thanks to Vince Mounts for reporting this. Tue Feb 11 17:14:56 2003 Douglas C. Schmidt * ace/TTY_IO.cpp: Fixed several problems with DTR enabling. Thanks to Ray Limpus for reporting this. Thu Feb 6 16:36:18 2003 Douglas C. Schmidt * ace/Bound_Ptr.{h,i}: Made the get() method const. Thanks to Chris Kohlhoff for reporting this.