Wed Jan 14 18:45:46 2004 Balachandran * ACE version 5.4 released. Wed Jan 14 17:17:41 2004 Balachandran Natarajan * Makefile: Fixed the path to some of autoconf files. Hopefully this should be the last bug. Wed Jan 14 16:28:28 2004 Balachandran Natarajan * bin/make_release: Fixed a bug with the way we were collecting the list of files for making the ACE distribution. Wed Jan 14 16:13:33 2004 Balachandran Natarajan * Makefile: Added RELEASE_FILES to the AUTOCONF_RELEASE_FILES. Wed Jan 14 14:26:54 2004 Balachandran Natarajan * bin/make_release: Made changes to the way beta kits are created. We added some solution files and WinCE files for ACE but not for TAO+CIAO (with a reason). But when the final kits were created, the ACE+TAO bundles and ACE+TAO+CIAO bundles had all the ACE specific stuff which confused the user. Moreover, the autoconf support was also bootstrapped which confused users to no end since autoconf works only with ACE. The bootstrapping should have been done to the ACE distribution and not to other distributions. * Makefile: Added an extra target for AUTOCONF_RELEASE_FILES. This will have all the release files in ACE + the files that needs to go in with autoconf. I have to test this stuff and will do so shortly. Wed Jan 14 09:47:56 2004 Balachandran Natarajan * */*_Static.ds[p,w]: All the Win32 static projects and workspaces have been removed. Please use MPC to generate them. Wed Jan 14 07:32:32 2004 Balachandran Natarajan * ACE-INSTALL.html: Thanks to Johnny Willemsen for spotting a typo in the file. Tue Jan 13 22:42:16 2004 Ossama Othman * Makefile (RELEASE_FILES): Added `aclocal.m4' and `Makefile.in' to the list of files to be included in releases/kits. This should be the last of them. Tue Jan 13 21:39:30 2004 Balachandran Natarajan * Makefile (CONTROLLED_FILES): Removed aux and configure from the CONTROLLED_FILES section and moved it to the RELEASE_FILES section. Tue Jan 13 16:33:12 2004 Ossama Othman * Makefile (CONTROLLED_FILES): Added `aux' directory to the list of controlled files. It is a directory generated at autotool bootstrap-time via the bin/bootstrap script, and must be available in order for ACE's autoconf support to work. Added `configure' to the list of controlled files. Users can't run the `configure' script if it isn't shipped with the distribution. * bin/bootstrap: Invoke `autoreconf' without the "--symlink" option. Auxiliary files should be copied into the distribution, not symbolic pointing to them. * bin/make_release: Prepend "/usr/local/bin" to the GNU tool path. That directory on our release host now contains some specific versions of GNU autotools. Tue Jan 13 16:42:37 2004 Steve Huston * ACE-INSTALL.html: Correct the autoconf section to direct the user to create a subdirectory under ACE_wrappers. Thanks to Ossama for pointing this out. Also changed the traditional make section to advise user to create config.h and platform_macros.GNU files and include the platform file rather than link or copy the platform file. Tue Jan 13 16:19:29 2004 Balachandran Natarajan * netsvcs/clients/Naming/Client/Client.mpc: Fixed a dependancy issue. Tue Jan 13 11:28:21 2004 Ossama Othman * Makefile (CONTROLLED_FILES): Added `configure.ac' file to the list of controlled files. * configure.ac: Corrected problem where std::auto_ptr<>::reset() method was not detected properly in the !ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB case. * bin/make_release: Bootstrap autotool support prior to creating the kits via the new bootstrap_autotools() subroutine described below. Appended Emacs "Local Variables" block containing Perl mode to end of this file to force Perl mode instead Fundamental mode to be used by default when editing with Emacs. (create_kit): Moved autotool bootstrapping call to new bootstrap_autotools() subroutine. (bootstrap_autotools): New subroutine that bootstraps autotool support into the ACE distribution. Tue Jan 13 18:06:23 UTC 2004 Don Hinton * include/makeinclude/rules.local.GNU: Only assign LIB_INSTALL to INSTALL if INSTALL has not yet been defined. This will allow users to continue turning off installation of libraries by setting INSTALL= prior to including rules.local.GNU. Thanks to Craig Rodrigues for pointing this out. Normally, the INS* variables can be used for this purpose, since they work for each target type. Mon Jan 12 23:26:28 UTC 2004 Don Hinton * include/makeinclude/wrapper_macros.GNU: Added new commandline flag, static_link. It defaults to 0, but can be set =1 to force static linking, e.g., uses "-static" when linking with GNU ld. It's turned off by default since using it causes the footprint to go up by almost 1 MB, due to linking all the system and compiler .a files. This way the user can decide if that what they really want. Thanks to Bala for helping to formulate this policy, which matches what users expect, while adding the capability to do real static linking if you want to. * include/makeinclude/rules.bin.GNU: * include/makeinclude/rules.local.GNU: Moved the assignment of the STATIC_LINK_FLAG from rules.bin to rules.local so that it will get picked up even if rules.bin is not included (MPC and some Makefiles with multiple targets don't include rules.bin). Only add the STATIC_LINK_FLAG to LDFLAGS if static_libs_only=1. * include/makeinclude/platform_sunos5_g++.GNU: Removed default assignment of STATIC_LINK_FLAG to empty, since it's now controlled with the new static_link flag above. It still won't work on Solaris, but at least users wanting to use it will get an error instead of us silently not adding "-static". Mon Jan 12 17:52:17 2004 Steve Huston * ACE-INSTALL.html: Add a section for using GNU autoconf. * examples/APG/ThreadPools/Futures.cpp: Don't delete all work requests; only the Exit requests - the others are allocated on the stack. Thanks to Andy Harvey for this fix. Mon Jan 12 14:24:39 2004 Steve Huston * tests/Makefile.am: Remove $(libdir) from libTest_Output.la listed in dependencies - having it there caused it to not match the plain libTest_Output.la target in the Makefile, and thus not get built before many of the tests. Added libTest_Output.la to the DLL_Test and Service_Config_Test dependencies. Mon Jan 12 15:54:13 UTC 2004 Johnny Willemsen * apps/JAWS/server/jaws.dsp: Fixed incorrect macro name. Mon Jan 12 08:06:07 2004 Chad Elliott * bin/MakeProjectCreator/modules/ProjectCreator.pm: Print out a warning if a verbatim clause is processed (depending on the project type) and the marker is not found in the corresponding project template. Mon Jan 12 01:38:44 2004 Balachandran Natarajan * apps/soreduce/Library.cpp: Fixed a compile erros with VC 6 which cannot scope variables within for loops. Mon Jan 12 01:35:44 2004 Balachandran Natarajan * bin/msvc_auto_compile.pl: Fixed the path ane the name of a couple of dsp files in the CORE builds. This should fix two problems with static builds. Sat Jan 10 22:39:59 2004 Balachandran Natarajan * bin/create_ace_build.pl: The following patch modifies the file so that it can handle multiple path elements in the argument given to create_ace_build.pl. Thanks to John Poplett for providing the patches. Sat Jan 10 19:35:20 2004 Balachandran Natarajan * bin/msvc_auto_compile.pl: Added missing dsp files for compilation to the static lib builds. The failure of te static builds is due to something else, which wil be fixed shortly in the autobuilds. Sat Jan 10 17:36:45 2004 Balachandran Natarajan * performance-tests/Synch-Benchmarks/Perf_Test/Performance_Test_Options.cpp: Fixed warnings with Forte 8. Sat Jan 10 17:11:03 2004 Jeff Parsons * bin/MakeProjectCreator/templates/vc6dsp.mpd: * bin/MakeProjectCreator/templates/vc7.mpd: Added generation for custom build step dependency on the IDL or CIDL compiler executable. This enables the build to detect errors output by the (C)IDL compiler, and also will trigger the custom build step if the (C)IDL compiler has been updated. Sat Jan 10 16:14:39 2004 Steve Huston * ace/OS_NS_sys_socket.inl (closesocket): On HP-UX, use shutdown() before, and in addition to, close() to close a socket. The previous "fix" left the socket opened after shutdown(). * tests/Bug_1576_Regression_Test.cpp: Use ACE_DLL_SUFFIX to form the name of the bogus dll name instead of literal ".so". Prevents a run-time warning from platforms that use a different suffix, such as HP-UX. * tests/Makefile.am: Removed -module from the libTestOutput line so it actually links the library for use by other tests. Added TSS_Static_Test_SOURCES to have it build as well. Sat Jan 10 11:18:24 2004 Steve Huston * ace/config-lite.h: * ace/Sock_Connect.cpp: Added /**/ to #include to keep MSVC from complaining it can't find a file. * ace/Array_Base.cpp: The _MSC_VER check need not be done for CE compiler - it doesn't need the extra #include and doesn't have . Fri Jan 9 16:55:39 2004 Steve Huston * examples/APG/Timers/Alarm.cpp: * examples/APG/ThreadManagement/Coop_Cancel.cpp: * examples/APG/ThreadManagement/Signals.cpp: * examples/APG/ThreadManagement/Signals2.cpp: * examples/APG/Sockets/Server.cpp: * examples/APG/Reactor/Timers.cpp: Added ACE_NOTREACHED to unreachable statements to kill compile warnings. Fri Jan 9 16:27:33 2004 Steve Huston * examples/APG/Streams/Answerer.cpp: Removed unnecessary template instantiations. * examples/APG/ThreadPools/Futures.cpp: * examples/APG/ThreadPools/ThreadPool.cpp: Fixed memory leak. Thanks to Andy Harvey for reporting these. Fri Jan 9 15:24:30 2004 Balachandran Natarajan * include/makeinclude/wrapper_macros.GNU: Support for STLPort in ACE Makefile system. Thanks to John Poplett for the patches. Fri Jan 9 20:13:21 UTC 2004 Don Hinton * include/makeinclude/platform_g++_common.GNU: * include/makeinclude/rules.bin.GNU: Set the default (blank) value of STATIC_LINK_FLAG in rules.bin.GNU and only set it in platform_g++_common.GNU if it hasn't been set. * include/makeinclude/platform_sunos5_g++.GNU: Set STATIC_LINK_FLAG blank to prevent platform_g++_common.GNU from setting it to "-static", since this flag doesn't work on Sun. Fri Jan 9 11:15:16 2004 Chad Elliott * bin/MakeProjectCreator/modules/GNUACEWorkspaceCreator.pm: Added a .PHONY target to stop GNU Make from trying to build targets that happen to coincide with cpp files. Fri Jan 9 14:46:54 UTC 2004 Johnny Willemsen * tests/Test_Output_Export.h: Added check for ACE_AS_STATIC_LIBS for setting the export flags for proper building of static libraries. Fri Jan 9 13:12:07 UTC 2004 Johnny Willemsen * bin/msvc_auto_compile.pl: Corrected the check for Use_MPC. Fri Jan 9 12:23:11 UTC 2004 Johnny Willemsen * bin/MakeProjectCreator/config/global.features: Set dummy_label to 0. This dummy_label is used by the TAO OBV tests which don't compile because of some bugs. The idea was good, but when dummy_label is not in this file it is set by default to 1. When the OBV tests work again, just remove the requires from the corresponding MPC files. Fri Jan 9 12:14:05 UTC 2004 Johnny Willemsen * bin/msvc_auto_compile.pl: Build FTORB_Utils before PortableGroup Fri Jan 9 10:15:43 UTC 2004 Johnny Willemsen * bin/msvc_auto_compile.pl: When using MPC with Static builds we don't have dependencies between the libraries in the generated dsw's. The build order is then handled in this file, but when using MPC we use generate different filenames than previously. Added the option -MPC, when this is passed on the commandline we use the MPC filenames. Fri Jan 9 08:07:13 UTC 2004 Johnny Willemsen * apps/JAWS/server/jaws.dsp: This project doesn't use a separate dll for the jaws stuff, so set ACE_HAS_SVC_DLL to 0. Thu Jan 8 18:28:35 2004 Balachandran Natarajan * examples/APG/Streams/CommandStream.h: Fixed a warning with g+++ builds that were caused by wrong initialization order of members. Thu Jan 8 18:15:21 2004 Steve Huston * examples/APG/Timers/Alarm.cpp: * examples/APG/Timers/Task.cpp: * examples/APG/Timers/Upcall.cpp: Add missing template instantiations. Thu Jan 8 15:15:49 2004 Steve Huston * examples/APG/Streams/Answerer.cpp (RecordingStream::open): Change the signature to match the inherited ACE_Stream::open() method to allow easy configuration without forcing a EndTask module. * examples/APG/Streams/CommandStream.{h cpp}: Move the ACE_SOCK_Stream* argument from open() to the constructor, and make default ctor private to force passage of the ACE_SOCK_Stream*. Change open() to properly inherit from ACE_Stream, avoiding the "hides inherited open()" diagnostics, and making this class easier to use in different use cases. * examples/APG/Streams/RecordingDevice_Text.cpp: Changed usage of CommandStream class to match new API, above. * examples/APG/Streams/Command.h: * examples/APG/Streams/CommandTask.cpp: * examples/APG/Streams/CommandTasks.cpp: * examples/APG/Streams/RecordingDevice_Text.cpp: Prepended RESULT_ to the enumerators SUCCESS, PASS, FAIL; prepended CMD_ to the enumerators UNKNOWN, ANSWER_CALL, RETRIEVE_CALLER_ID, PLAY_MESSAGE, RECORD_MESSAGE. These were done to avoid clashes with commonly defined macros. Thanks to Johnny Willemsen for reporting this. Thu Jan 8 20:15:09 UTC 2004 Johnny Willemsen * examples/Reactor/Misc/test_demuxing.cpp: Made this example compiling with BCB. Thu Jan 8 14:05:42 2004 Balachandran Natarajan * performance-tests/Misc/Makefile: Fixed a bild error in our daily builds. Thanks to Don for helping with this. The change just involved removing shared_libs=0 from the Makefile. Thu Jan 8 18:35:11 UTC 2004 Johnny Willemsen * bin/MakeProjectCreator/templates/bor.mpd: Just set the four xx_DIRS we overrule always to . independent of the configuration that the we always output to the same directory Thu Jan 8 12:20:23 2004 Jeff Parsons * bin/MakeProjectCreator/config/ciao_servant.mpb: Changed the default command line from '--lem-file-suffix E.idl' (since this is now the default suffix) to one that includes the four include paths required by the inclusion of Components.idl, which is needed by every .cidl file. Thu Jan 8 12:03:22 2004 Steve Huston * examples/APG/Timers/TimerDispatcher.cpp: * examples/APG/Timers/PTimerDispatcher.cpp: Added missing template instantiations. Thu Jan 8 17:05:56 UTC 2004 Johnny Willemsen * apps/JAWS/server/HTTP_Server.{h,cpp}: * apps/JAWS/server/server.mpc: Made this app compiling with CBX and MPC. Set the correct defines and use the correct export macros. Thu Jan 8 17:02:11 UTC 2004 Johnny Willemsen * bin/MakeProjectCreator/templates/bor.mpd: Corrected setting of STATIC_DIR Thu Jan 8 11:23:41 2004 Steve Huston * examples/APG/Naming/Name_Binding.h: * examples/APG/Naming/Temperature_Grapher.cpp: * examples/APG/Naming/Temperature_Monitor.cpp: * examples/APG/Naming/Temperature_Monitor2.cpp: Add missing "ace/OS_NS_*" includes. * examples/APG/Naming/Graphable_Element.h: Added 'const' to the when() and operator<() methods, as well as to operator<()'s parameters, to match less<> and make CBuilderX happy. Thanks to Johnny Willemsen for reporting this. * examples/APG/Naming/Makefile: Moved the "RM tempinc" up before the sub-make to avoid inadvertant smashing of tempinc. * examples/APG/Proactor/HA_Proactive_Status.cpp (validate_connection): Removed the parameter names in the ACE_WIN32 case to avoid "unused parameter" warnings. Thu Jan 8 11:05:25 2004 Balachandran Natarajan * ace/OS_NS_sys_msg.inl: Used a const cast instead of a static cast. Thu Jan 8 16:38:56 UTC 2004 Johnny Willemsen * apps/JAWS3/jaws3/Export.h: Set the JAWS_HAS_DLL define correctly when not set. This fixes the linker errors in the CBX MPC build. Thu Jan 8 16:16:11 UTC 2004 Johnny Willemsen * ace/Date_Time.i: Changed the order of the methods to fix Tru64 warnings. Thu Jan 8 11:07:31 2004 Steve Huston * ace/SSL/SSL_Context.cpp: Added #include "ace/ACE.h" for ACE::debug() and "ace/OS_NS_string.h" for ACE_OS::strlen(). Thu Jan 8 15:45:50 GMT 2004 Paul Morrison * ace/OS_NS_sys_shm.inl: * ace/OS_NS_sys_msg.inl: * ace/OS_NS_stdlib.cpp: * ace/Mem_Map.i: Added #includes to fix LynxOS compilation errors. Thu Jan 8 07:47:58 2004 Chad Elliott * ace/QoS/qos.mpc: * ace/RMCast/rmcast.mpc: * ace/SSL/ssl.mpc: * ace/TMCast/TMCast.mpc: * ace/ace.mpc: * bin/MakeProjectCreator/config/orbsvcslib.mpb: Removed the include_dir setting. This is determined automatically in the Borland template. * bin/MakeProjectCreator/modules/ProjectCreator.pm: Removed support for the include_dir keyword. It's usage is superseded by the use of <%relwd%> in the Borland template. Wed Jan 7 23:06:57 UTC 2004 Don Hinton * include/makeinclude/all_in_one.GNU: * include/makeinclude/platform_g++_common.GNU: * include/makeinclude/platform_linux.GNU: * include/makeinclude/rules.bin.GNU: * include/makeinclude/rules.lib.GNU: * include/makeinclude/rules.local.GNU: * include/makeinclude/rules.nested.GNU: * include/makeinclude/wrapper_macros.GNU: Use xxx ?= instead of ifndef xxx, for setting default values since it is more concise and makes the files much smaller. * include/makeinclude/all_in_one.GNU: Always add the *_UNCHECKED to the regular targets if no components are missing, since Makefiles can have both checked and unchecked targets. * include/makeinclude/platform_g++_common.GNU: * include/makeinclude/rules.bin.GNU: Moved the check for which ld version is used out of and above the shared library section so that we could use the GNU_LD flag to add "-static" to a new variable, STATIC_LINK_FLAG when using the GNU version of ld. Then add STATIC_LINK_FLAG to LDFLAGS if static_libs_only=1. * include/makeinclude/rules.lib.GNU: Added CLEANUP_VLIB and use it to set CLEANUP_INSTALL since it includes the VAR extention if one was set. Also, make VLIBS dependent on IDL_SRC. Wed Jan 7 17:34:26 2004 Steve Huston * examples/APG/Proactor/HA_Proactive_Status.cpp: Added #include "ace/Log_Msg.h" to find LM_DEBUG, et al. * examples/APG/Processes/Process_Manager_Spawn.cpp: * examples/APG/Processes/Process_Mutex.cpp: * examples/APG/Processes/Spawn.cpp: * examples/APG/Reactor/HAStatus.cpp: * examples/APG/Reactor/HAStatus-AC.cpp: * examples/APG/Shared_Memory/Hash_Map.cpp: * examples/APG/Shared_Memory/Malloc.cpp: * examples/APG/Shared_Memory/PI_Malloc.cpp: * examples/APG/Shared_Memory/Pool_Growth.cpp: * examples/APG/Timers/Alarm.cpp: * examples/APG/Timers/Task.cpp: * examples/APG/Timers/Upcall.cpp: Added missing includes for "ace/OS_NS_*.h". * examples/APG/Reactor/Client.h: * examples/APG/Reactor/ClientService.h" Add #include "ace/Synch_Traits.h", "ace/Null_Condition.h", and "ace/Null_Mutex.h" for Visual Age C++ to see when compiling templates. * ACEXML/Makefile: * examples/APG/Svc_Config/Makefile: * examples/APG/Timers/Makefile: Move the rm tempinc up to before the sub-make runs to avoid whacking it while a subsequent sub-make is running. * examples/APG/Svc_Config/Makefile.dynamic: Add LIBS += $(ACELIB) * tests/Makefile: Add .NOTPARALLEL for Visual Age C++ to avoid squashing tempinc randomly, resulting in missing templates. * tests/Makefile.tests: Moved the DIRS_PARALLEL setting down to after wrapper_macros.GNU is included and only set it for non-Visual Age C++ builds. The tempinc directory getting mashed in parallel builds makes mysterious build errors happen on AIX, Visual Age C++. Wed Jan 7 16:33:14 2004 Balachandran Natarajan * ace/config-tandem-nsk-mips-v2.h: Added the config files provided by Gary Maxey for Tandem NSK. Wed Jan 7 15:55:41 2004 Steve Huston * ace/OS_NS_netdb.inl (getipnodebyaddr, getipnodebyname, ): Make ACE_WIN32 go through the IPv4-only case. Since Windows IPv6 implementation (at this time) doesn't offer getipnodebyname() we make the code to pass through IPV4 portion even if ACE_HAS_IPV6 is enabled. * ace/OS_NS_arpa_inet.inl (inet_ntop, inet_pton): Make these run through the IPv4-only section on Win32 as well. These may be doable on Windows using the getnameinfo() function, but it's not clear. Needs some research and checking (and improvement of the docs for) what the args for ACE_OS::inet_ntop() and inet_pton() are. Wed Jan 7 13:09:27 2004 Balachandran Natarajan * ace/OS_NS_Thread.inl: * ace/OS_NS_Thread.h: The following checkin "Mon Jan 5 11:02:55 2004 Douglas C. Schmidt " actually broke ACE_Auto_Event. The idea behind the said checkin was to do a check whether a proper event occured during event_wait (), insted of a spurious wakeup call. This was achieved by checking the value of . This works great for manual events. For auto events, we don't set the variable value if we have waiting threads. This makes the threads calling Auto_Event.wait () to wait for ever. We now have another special boolean variable added to ACE_event_t class which keeps track whether an auto event was signalled during the signal () call. Thanks to Dr. Schmidt for giving this idea. We need to revisit this later after x.4 and use inheritance and polymorphism to encapsulate these behvioral differences. Doing now could break backward compatibility. Wed Jan 7 13:03:06 2004 Chad Elliott * bin/MakeProjectCreator/modules/ProjectCreator.pm: Added an informational message when a project will be skipped when a required feature is disabled or an avoided feature is enabled. Wed Jan 7 18:37:13 UTC 2004 Johnny Willemsen * ace/Makefile.bor: Added special rule to install the os_include directory and its subdirectories. Thanks to Chris Kohlhoff for coming up with the solution and to Cyrille Chépélov for reporting this. This fixes [BUGID 1669]. Wed Jan 7 12:13:12 2004 Chad Elliott * bin/MakeProjectCreator/config/orbsvcs_output.mpb: * bin/MakeProjectCreator/config/orbsvcsexe.mpb: * bin/MakeProjectCreator/config/tao_output.mpb: * bin/MakeProjectCreator/config/taodefaults.mpb: * bin/MakeProjectCreator/config/taoexe.mpb: * bin/MakeProjectCreator/config/taolib.mpb: Factored staticflags, includes and libpaths common to TAO based projects into a taodefaults base project and modified other base projects in accordance. * bin/MakeProjectCreator/config/orbsvcslib.mpb: * bin/MakeProjectCreator/config/taoidldefaults.mpb: * bin/MakeProjectCreator/config/taolib_with_idl.mpb: Factored common idlflags and after settings into a taoidldefaults base project and modified other base projects in accordance. Wed Jan 7 17:50:13 UTC 2004 Johnny Willemsen * apps/gperf/tests/c++-res.exp: * apps/gperf/tests/c++.gperf: * apps/gperf/tests/cpp-res.exp: * apps/gperf/tests/cpp.gperf: Removed the c++ files and added them with cpp again. The BCB makefile environment can't handle files with a + in the name. Because we are using MPC this test is now also build with Borland. * apps/gperf/tests/Makefile: * apps/gperf/tests/Makefile.am: * apps/gperf/tests/tests.mpc: Updated these files to reflect the change above. Wed Jan 7 10:34:29 2004 Chad Elliott * bin/MakeProjectCreator/USAGE: * bin/MakeProjectCreator/modules/Creator.pm: * bin/MakeProjectCreator/modules/Driver.pm: * bin/MakeProjectCreator/modules/Options.pm: * bin/MakeProjectCreator/modules/ProjectCreator.pm: * bin/MakeProjectCreator/modules/WorkspaceCreator.pm: Added an option that causes MPC to apply the name modifier (specified by the -name_modifier option) to project names in addition to workspace and project file names. Wed Jan 7 14:04:11 UTC 2004 Johnny Willemsen * bin/MakeProjectCreator/templates/bor.mpd: Corrected the check whether we need to generate LIBFILES or not. Wed Jan 7 13:10:01 UTC 2004 Johnny Willemsen * bin/MakeProjectCreator/templates/bor.mpd: Generate the -j option again, thanks for Chris Kohlhoff for pointing out the need for it. If there are no staticflags or dynamicflags, just generate nothing instead of an empty line. Don't generate the INCLUDES anymore because we generate an explicit install target. Fixed the install target to handle existing directories and generate it at the end of the file. Wed Jan 7 13:03:49 UTC 2004 Johnny Willemsen * ace/Unbounded_Set_Ex.h: Added #include of ace/os_include/os_stddef.h to get size_t. This fixed compile errors in the Cygwin build Wed Jan 7 12:57:13 UTC 2004 Johnny Willemsen * performance-tests/UDP/UDP.mpc: When usign gnuace generate LDLIBS += $(MATHLIB) at the place of the local marker. This test uses sqrt and some Unix versions then need to link their mathlib. Wed Jan 7 06:24:54 2004 Chad Elliott * bin/MakeProjectCreator/modules/GNUACEProjectCreator.pm: Fixed a bug where $() variables used within Source_Files would cause an incorrect VPATH to be created in the generated Makefile. Also, removed an unused code block. * bin/MakeProjectCreator/modules/StringProcessor.pm: Reimplemented the create_array() method to fix a bug with escaped double and single quotes and to improve performance. * bin/MakeProjectCreator/modules/Driver.pm: * bin/MakeProjectCreator/modules/Version.pm: Moved the MPC version number out of Driver.pm and into a new Version module. * bin/MakeProjectCreator/modules/Creator.pm: * bin/MakeProjectCreator/modules/Parser.pm: * bin/MakeProjectCreator/modules/ProjectCreator.pm: * bin/MakeProjectCreator/modules/WorkspaceCreator.pm: * bin/MakeProjectCreator/templates/em3vcpdllexe.mpt: * bin/MakeProjectCreator/templates/em3vcplibexe.mpt: Performance related changes. Tue Jan 6 17:50:31 2004 Steve Huston * ace/TLI.cpp (get_option, set_option): For the XPG5 case, use a auto_ptr to hold the allocated buff pointer, even though it's a void*, to compile correctly. Need to cast this to make it work. * include/makeinclude/platform_aix_g++.GNU: Change -ltli_r to -lxti to use XTI instead of TLI. Also see: Mon Dec 29 17:09:29 2003 Steve Huston Removed the versioned_so=0 default - with versioned_so=0, the rule for making VLIB gets overridden by the one for VSHLIB: shr.o. Not sure how to remedy this, but by making a versioned_so, it's at least building it normally. * include/makeinclude/platform_g++_common.GNU: Made with_ld=aix not try to set any versioned_so linker options. The default doesn't work, and as long as we're linking to archives that contain shr.o, this is probably fine. If we ever get rtl mode working, this probably needs to be revisited. Tue Jan 6 14:00:12 2004 Steve Huston * examples/APG/Logging/Trace.h: * examples/APG/Logging/Wrap_Macros.cpp: * examples/APG/Logging/Trace_Return.cpp: The funky __VA_ARGS__ trick works only on g++ 2.96 and later. * examples/APG/Makefile: Re-enabled the Logging directory - with the fixes above, this should work everywhere now. * examples/Misc/test_read_buffer.cpp: Added #include "ace/OS_NS_unistd.h" to get ACE_OS::write(). * examples/performance-tests/SCTP/Options_Manager.cpp: Added #include "ace/OS_NS_stdlib.h" to get ACE_OS::atoi(). Tue Jan 6 13:34:29 2004 Steve Huston * examples/APG/ThreadSafety/Atomic_Op.cpp: * examples/APG/ThreadSafety/RW_Lock.cpp: * examples/APG/ThreadSafety/TSS.cpp: Added missing template instantiations. Corrected #pragma instantiate directives. Mon Jan 5 17:51:36 2004 Steve Huston * ace/Condition_T.cpp: Added #include "ace/OS_NS_Threads.h" to get ACE_cond_t, and a forward ref for ACE_Time_Value, both so Visual Age C++ can see these when instantiating templates. * ace/Condition_T.cpp: Added #include "ace/Log_Msg.h" to pick up ACE_ERROR, LM_ERROR, etc. * ace/Timer_Queue_Adapters.cpp: Added #include "ace/OS_NS_sys_time.h" to see ACE_OS::gettimeofday(). * ace/Svc_Handler.cpp: * examples/Timer_Queue/Async_Timer_Queue_Test.cpp: * examples/Timer_Queue/Reactor_Timer_Queue_Test.cpp: * examples/Timer_Queue/Thread_Timer_Queue_Test.cpp: Add #include "ace/OS_NS_sys_time.h" so Visual Age C++ can see ACE_OS::gettimeofday(). * examples/APG/Active_Objects/AO.cpp: * examples/APG/Active_Objects/AO2.cpp: * performance-tests/Misc/childbirth_time.cpp: Added #include "ace/OS_NS_unistd.h" to see ACE_OS::sleep(). * examples/APG/Containers/DLList.cpp: * examples/APG/Containers/Stacks.cpp: * examples/APG/Containers/Queues.cpp: * examples/APG/Containers/Array.cpp: * examples/APG/Containers/Sets.cpp: Added #include "ace/OS_Memory.h" to see ACE_NEW[_RETURN]. * examples/APG/Streams/Answerer.cpp: * examples/APG/ThreadPools/Futures.cpp: * examples/APG/ThreadPools/LF_ThreadPool.cpp: * examples/APG/ThreadPools/ThreadPool.cpp: * examples/APG/ThreadPools/TP_Reactor.cpp: * examples/APG/ThreadSafety/Semaphore.cpp: * examples/Threads/future1.cpp: * examples/Threads/future2.cpp: Added #include "ace/OS_NS_string.h" to get ACE_OS::strlen(), et al. * examples/Timer_Queue/Driver.cpp: Added missing #includes to make Visual C++ happy. * examples/ASX/Event_Server/Event_Server/Consumer_Router.cpp: * examples/ASX/Event_Server/Event_Server/Supplier_Router.cpp: Add #include "ace/OS_NS_string.h" so Visual Age C++ can see ACE_OS::strdup(). * examples/Connection/non_blocking/CPP-acceptor.cpp: Add #include "ace/OS_NS_unistd.h" to get ACE_OS::write(). * examples/Connection/non_blocking/CPP-connector.cpp: Add #include "ace/OS_NS_stdio.h" so Visual Age C++ can see ACE_OS::rewind(); add #include "ace/OS_NS_unistd.h" to get ACE_OS::read(). * examples/Misc/test_read_buffer.cpp: Add #include "ace/OS_NS_fcntl.h" so Visual Age C++ can see ACE_OS::open(). * examples/Shared_Malloc/test_malloc.cpp: Add #include "ace/OS_NS_stdio.h" to see ACE_OS::sprintf() and "ace/OS_NS_string.h" to see ACE_OS::memset(). * examples/Shared_Malloc/Options.cpp: Add #include "ace/OS_NS_stdlib.h" so Visual Age C++ can see ACE_OS::atoi() and exit(). * examples/Shared_Malloc/test_multiple_mallocs.cpp: * examples/Shared_Malloc/test_persistence.cpp: * performance-tests/TCP/tcp_test.cpp: Add #include "ace/OS_NS_string.h" to pick up a bunch of ACE_OS string members. * examples/Threads/auto_event.cpp: * examples/Threads/barrier2.cpp: * examples/Threads/manual_event.cpp: * examples/Threads/process_manager.cpp: * examples/Threads/task_three.cpp: * examples/Threads/task_four.cpp: * examples/Threads/thread_manager.cpp: * examples/Threads/thread_pool.cpp: Added #include "ace/OS_NS_unistd.h" to get sleep(), write(). * examples/Threads/reader_writer.cpp: Added #include "ace/Guard_T.h" and "ace/RW_Mutex.h" so Visual Age C++ can see these classes. * examples/Threads/recursive_mutex.cpp: Added #include "ace/Guard_T.h" and "ace/Recursive_Thread_Mutex.h" so Visual Age C++ can see these classes. * examples/Threads/thread_specific.{h cpp}: Added #include "ace/Guard_T.h", "ace/OS_NS_stdio.h", "ace/OS_NS_string.h", and "ace/OS_NS_unistd.h" to satisfy Visual Age C++. * performance-tests/Misc/context_switch_time.cpp: Added #include "ace/OS_NS_stdio.h" to get ACE_OS::perror(). * performance-tests/Misc/test_singleton.cpp: Added #include "ace/Guard_T.h" to get ACE_Guard stuff. * performance-tests/Misc/test_naming.cpp: Added #include "ace/ACE.h" to get ACE::basename(). * performance-tests/SCTP/Options_Manager.h" Added #include "ace/streams.h" to portably get ostream. * tests/Message_Queue_Notifications_Test.cpp: * tests/Process_Strategy_Test.cpp: * tests/Svc_Handler_Test.cpp: Added #include "ace/Synch_Traits.h", "ace/Null_Condition.h", and "ace/Null_Mutex.h" so Visual Age C++ can see the stuff needed for ACE_NULL_SYNCH. * tests/Thread_Pool_Test.cpp: Add #include "ace/OS_NS_string.h" so Visual Age C++ can see ACE_OS::strlen(). * tests/Naming_Test.cpp: Add #include "ace/ACE.h" so Visual Age C++ can see ACE::basename(). Mon Jan 5 16:34:18 2004 Steve Huston Incorporated these fixes from Riverace's ACE 5.3: Thu Dec 18 11:07:22 2003 Steve Huston * ace/ace_wchar.inl: When converting narrow<->wide on Windows, use the current ANSI code page for narrow chars, not CP_OEMCP. This allows 8-bit narrow characters to be converted correctly. Wed Dec 10 14:22:16 2003 Steve Huston * tests/OS_Test.cpp: Added a test for wide/narrow character string conversions. Mon Jan 5 14:09:34 2004 Douglas C. Schmidt * ace/Log_Msg.cpp (log): * ace/OS_NS_Thread.cpp (to_string): Tandem NSK uses a struct for pthread_t. Need changes to existing preprocessor #ifs in Log_Msg.cpp and OS_NS_Thread.cpp to handle this so they now read # elif defined (ACE_MVS) || defined (ACE_TANDEM_T1248_PTHREADS) Thanks to Gary Maxey for this fix, which fixes bugid 1704. * ace/Handle_Set.cpp: The order of bits in the elements of the fd_set structure for the Tandem NSK platform is left-to-right rather than right-to-left like most other platforms except pSoS. Therefore added # if defined (ACE_PSOS) || defined (ACE_TANDEM_NSK_BIT_ORDER) to handle this situation. Thanks to Gary Maxey for reporting this and providing the fix. This fixes bugid 1703. Mon Jan 5 12:43:01 2004 Balachandran Natarajan * ace/Name_Proxy.cpp: * ace/Time_Request_Reply.cpp: #included "ace/os_include/arpa/os_inet.h" to fix [BUG 1701]. Thanks to Garey Maxey for reporting the problem. Mon Jan 5 12:30:56 2004 Don Hinton * include/makeinclude/rules.lib.GNU: Fixed a bug report that caused the generated cpp files to be added to the archive. Thanks to Werner Buchart for reporting the problem. Mon Jan 5 10:47:51 2004 Chad Elliott * bin/MakeProjectCreator/templates/cbx.mpd: * bin/MakeProjectCreator/templates/em3vcp.mpd: * bin/MakeProjectCreator/templates/nmake.mpd: * bin/MakeProjectCreator/templates/vc6dsp.mpd: * bin/MakeProjectCreator/templates/vc7.mpd: Removed the .\ that preceded file names to allow users to put absolute paths in MPC files (which isn't recommended for portability reasons). Mon Jan 5 11:02:55 2004 Douglas C. Schmidt * ace/OS_NS_Thread.inl: Fixed ACE_OS::event_timedwait() and ACE_OS::event_wait() so that they use a while loop around the ACE_OS::cond_[timed]wait() calls to avoid problems with spurious wakeups, etc. Thanks to John Bossom for motivating this fix. Sun Jan 4 20:40:41 2004 Balachandran Natarajan * */Makefile*: Release is fast approaching. Updates to the Makefile dependencies. Sun Jan 4 15:12:14 2004 Balachandran Natarajan * apps/JAWS3/jaws3/Asynch_IO.cpp: * apps/JAWS3/jaws3/Concurrency.cpp: * apps/JAWS3/jaws3/Config_File.cpp: * apps/JAWS3/jaws3/Datagram.cpp: * apps/JAWS3/jaws3/Event_Completer.cpp: * apps/JAWS3/jaws3/Event_Dispatcher.cpp: * apps/JAWS3/jaws3/FILE.cpp: * apps/JAWS3/jaws3/IO.cpp: * apps/JAWS3/jaws3/Makefile: * apps/JAWS3/jaws3/Options.cpp: * apps/JAWS3/jaws3/Protocol_Handler.cpp: * apps/JAWS3/jaws3/Reactive_IO.cpp: * apps/JAWS3/jaws3/Signal_Task.cpp: * apps/JAWS3/jaws3/Symbol_Table.cpp: * apps/JAWS3/jaws3/Synch_IO.cpp: * apps/JAWS3/jaws3/THYBRID_Concurrency.cpp: * apps/JAWS3/jaws3/TPOOL_Concurrency.cpp: * apps/JAWS3/jaws3/TPR_Concurrency.cpp: * apps/JAWS3/jaws3/Task_Timer.cpp: * apps/JAWS3/jaws3/Templates.cpp: * apps/JAWS3/jaws3/Timer.cpp: * apps/JAWS3/jaws3/Timer_Helpers.cpp: Fixed warnings in g++ due to redefinitions. Sun Jan 4 09:56:04 2004 Balachandran Natarajan * examples/APG/Makefile: Removed the Logging example from the builds. The macro definitions seem to pain a few compilers. Sun Jan 4 11:59:46 UTC 2004 Johnny Willemsen * bin/MakeProjectCreator/templates/bor.mpd: There is no need to pass the libpaths with the -j commandline option to the linker, the -L flags is only needed. The -j flag specifies where the object files are located, the -L flag the location of the lib files. Sun Jan 4 10:30:06 UTC 2004 Johnny Willemsen * examples/APG/Makefile: Fixed directory name Sun Jan 4 10:18:32 UTC 2004 Johnny Willemsen * apps/JAWS3/jaws3/jaws3.mpc: Set correct dynamicflags. Instead of using ../ as includes, use .. Borland has problems with ../ and in other places we also use .. Sun Jan 4 08:59:43 UTC 2004 Johnny Willemsen * examples/APG/ThreadPools/Futures.cpp: * examples/APG/ThreadPools/ThreadPool.cpp: Changed return type of thread_id functions from int to ACE_thread_t * examples/APG/Signals/SigInfo.cpp: Cygwin doesn't have unix signals, so added #ifdef for the main to output an debug message that this example is not supported on this platform when no unix signals are available. * examples/APG/Proactor/HA_Proactive_Status.{h,cpp}: With Cygwin we don't have aio, so added here also a main that outputs not supported when this is not available. Sun Jan 4 08:28:13 UTC 2004 Johnny Willemsen * examples/APG/Reactor/Timer_Cancel.cpp: Fixed unused variable warning Sun Jan 4 08:19:12 UTC 2004 Johnny Willemsen * examples/APG/Containers/containers.mpc: Prefixed the project name Map Manager with the '*' operator to avoid project name conflicts. Added Id tag Sat Jan 3 23:45:38 2004 Balachandran Natarajan * examples/APG/Makefile: Some tests/examples do need threads and synchronization. Instead of doing tricks and confusing the reader, let us be good on them and prevent compilation in single threaded builds. Sat Jan 3 23:12:58 2004 Balachandran Natarajan * examples/Makefile: Added APG directory back in. Sat Jan 3 23:10:35 2004 Balachandran Natarajan * examples/APG/Proactor/HA_Proactive_Status.cpp: * examples/APG/Processes/Spawn.cpp: * examples/APG/Shared_Memory/Hash_Map.cpp: * examples/APG/Signals/SigInfo.cpp: * examples/APG/ThreadManagement/State.cpp: * examples/APG/Threads/Activate.cpp: * examples/APG/Timers/Alarm.cpp: * examples/APG/Timers/CB.cpp: * examples/APG/Timers/PCB.cpp: * examples/APG/Timers/Task.cpp: Fixed more unused variable warnings and #included files that were needed to compile on SuSE. Sat Jan 3 19:31:59 2004 Balachandran Natarajan * examples/APG/Reactor/Timer_State_Data.cpp: * examples/APG/Streams/Answerer.cpp: * examples/APG/Streams/Util.h: * examples/APG/ThreadManagement/Priorities.cpp: * examples/APG/ThreadSafety/Mutex.cpp: Fixed more unused variable warnings. Sat Jan 3 17:26:39 2004 Steve Huston * examples/APG/Naming/Temperature_Monitor2.cpp: * examples/APG/Shared_Memory/Mem_Map.cpp: * examples/APG/Streams/RecordingDevice_Text.cpp: * examples/APG/Timers/Task.cpp: * examples/APG/Timers/Timers.cpp: Fixed unused/uninitialized warnings. * examples/APG/Timers/Upcall.{h cpp}: Changed to match new timer queue upcall handler API for ACE 5.4. * examples/APG/ThreadSafety/Barrier.cpp: Get a random sleep time using ACE_OS::rand() instead of the thread ID. Thread ID is not an integral type on some platforms. Sat Jan 3 14:08:13 2004 Balachandran Natarajan * bin/tao_other_tests.lst: Added the ior_corbaloc test to be run in the daily builds. Sat Jan 3 11:02:32 2004 Balachandran Natarajan * examples/Makefile: Removed ASG for the timebeing from the daily builds. I want to seperate the chaff from wheat and the noise form this is making things hard. Will let Steve know about this. Sat Jan 3 16:14:13 UTC 2004 Johnny Willemsen * bin/MakeProjectCreator/templates/bor.mpd: Removed the usage of IDL_DIR. There where problems when generating Borland makefiles for projects where the idl file is in a different directory than the project file. In that case the IDL_DIR should not be . but the directory where the idl files are. Because this is a hard thing to do, just removed IDL_DIR and take the path of the IDL file that is in the MPC file. This way Borland works just like the other environments and this way we can also handle IDL files in other directories. Sat Jan 3 13:11:13 UTC 2004 Johnny Willemsen Added needed includes to compile the APG examples using the Borland compiler. * examples/APG/Config/ARGV_Example.cpp: * examples/APG/Config/Get_Opt.cpp: * examples/APG/Config/Get_Opt_Long.cpp: Added #include "ace/OS_NS_string.h" to get ACE_OS::strcmp and ACE_OS::strncmp. * examples/APG/Naming/Naming_Context.h: * examples/APG/Processes/Spawn.cpp: * examples/APG/Shared_Memory/Malloc.cpp Added #include "ace/OS_NS_stdio.h" to get ACE_OS::sprintf. * examples/APG/Signals/SigAction.cpp: * examples/APG/Signals/SigGuard.cpp: * examples/APG/Signals/SigHandler.cpp: * examples/APG/Signals/SigHandlers.cpp: * examples/APG/ThreadManagement/Coop_Cancel.cpp: * examples/APG/ThreadManagement/Signals.cpp: * examples/APG/ThreadManagement/Signals2.cpp: * examples/APG/Threads/Activate.cpp: Added #include "ace/OS_NS_unistd.h" to get ACE_OS::sleep and ACE_OS::getpid. * examples/APG/Sockets/Basic_Robust.cpp: * examples/APG/Sockets/Server.cpp: Added #include "ace/OS_NS_errno.h" to get ACE_OS::lasterrror. Fri Jan 2 18:07:31 2004 Steve Huston * examples/APG/Active_Objects/AO.cpp: * examples/APG/Active_Objects/AO2.cpp: * examples/APG/Containers/Stacks.cpp: * examples/APG/Containers/Queues.cpp: * examples/APG/Containers/Array.cpp: * examples/APG/Containers/Sets.cpp: * examples/APG/Containers/Hash_Map_Hash.cpp: * examples/APG/Containers/Allocator.cpp: * examples/APG/Proactor/HA_Proactive_Status.cpp: * examples/APG/Reactor/Client.cpp: * examples/APG/Shared_Memory/Hash_Map.cpp: * examples/APG/Shared_Memory/Pool_Growth.cpp: * examples/APG/Threads/Condition_Variables.cpp: * examples/APG/Threads/Message_Queue.cpp: * examples/APG/ThreadManagement/Start_Hook.cpp: * examples/APG/ThreadPools/Futures.cpp: * examples/APG/ThreadPools/LF_ThreadPool.cpp: * examples/APG/ThreadPools/ThreadPool.cpp: Added missing template instantiations. Corrected #pragma instantiate directives. * examples/APG/Config/ARGV_Example.cpp: * examples/APG/Reactor/HAStatus.cpp: * examples/APG/Reactor/HAStatus-AC.cpp: Added #include "ace/os_include/os_netdb.h" to get MAXHOSTNAMELEN. * examples/APG/Naming/Graphable_Element.h: Corrected include for list<> to be , not "list". * examples/APG/Naming/Graphable_Element.cpp: Removed this file. It only had template instantiations in it, for list<> and friends. We're not even going to try this with explicit instantiation. * examples/APG/Shared_Memory/Record.h: Changed #include "ace/OS.h" to "ace/OS_NS_string.h". * examples/APG/Signals/SigAction.cpp: Account for platforms that require the signal handler to be extern "C". * examples/APG/Makefile: Only build the Naming directory if using implicit template instantiation. See above for rationale. Fri Jan 2 13:00:20 2004 Chad Elliott * examples/APG/Sockets/sockets.mpc: Prefixed the project name with the '*' operator to avoid project name conflicts. Fri Jan 2 08:56:04 2004 Chad Elliott * examples/APG/Config/config.mpc: * examples/APG/Containers/containers.mpc: * examples/APG/Reactor/reactor.mpc: * examples/APG/Shared_Memory/shared_memory.mpc: * examples/APG/Svc_Config/svc_config.mpc: Changed instances of dllflags to dynamicflags and added the '*' operator to some of the project names to remove duplicates. Fri Jan 02 08:08:12 UTC 2004 Johnny Willemsen * bin/MakeProjectCreator/templates/bor.mpd: Also overrule PASCALDIR and UNICODEDIR Thu Jan 01 20:25:22 2004 Balachandran Natarajan * tests/TSS_Static_Test.dsp: A new project file for TSS_Static_Test. * tests/tests.dsw: Added the new dsp file into the project. Thu Jan 1 17:56:31 2004 Steve Huston * ace/OS_NS_sys_socket.inl (closesocket): On HP-UX, use shutdown() rather than close() to close a socket. shutdown() will abort an in-progress operation in another thread, while close() won't. This fixes the hang in the MT_Reference_Counted_Event_Handler_Test and will make the Proactor stuff more easy to work with as well. * ace/Time_Value.h: Don't include (or ) directly; use ace/os_include/sys/os_time.h to get what's needed. This prevents HP-UX from pulling in before and picking up the wrong declaration for select(). Fixes gcc builds. * ace/Name_Space.h: Replace forward declarations of ACE_Unbounded_Set with #include "ace/Unbounded_Set.h". Needed to generate template specializations. * examples/APG/Logging/Callback-2.h: * examples/APG/Logging/LogManager.h: * examples/APG/Naming/Thermometer.h: * examples/APG/Naming/Temperature_Monitor.cpp: * examples/APG/Naming/Temperature_Monitor2.cpp: * examples/APG/Proactor/HA_Proactive_Status.h: * examples/APG/Processes/Process_Manager_Death.cpp: * examples/APG/Reactor/HAStatus.cpp: * examples/APG/Reactor/Reschedule.cpp: * examples/APG/Reactor/Schedule_Timers.cpp: * examples/APG/Reactor/Timer_Cancel.cpp: * examples/APG/Reactor/Timer_State_Data.cpp: * examples/APG/Shared_Memory/Malloc.cpp: * examples/APG/Shared_Memory/PI_Malloc.cpp: * examples/APG/Signals/SigInfo.cpp: * examples/APG/Streams/RecordingDevice.h: * examples/APG/ThreadManagement/Coop_Cancel.cpp: * examples/APG/ThreadPools/Futures.cpp: * examples/APG/ThreadPools/Task_ThreadPool.cpp: * examples/APG/ThreadPools/ThreadPool.cpp: * examples/APG/ThreadSafety/Barrier.cpp: Added #includes for "ace/OS_NS_*.h" as needed to convert from 5.3 OS.h usage to refactored OS_NS_*.h headers. Added missing header includes that worked by accident in ACE 5.3. * examples/APG/Timers/Upcall.h: Added registration () method that is now required for a timer queue upcall functor class. This is also new at ACE 5.4. Thu Jan 1 16:23:17 2004 Steve Huston * bin/make_release: Add VC6 to files that generate_makefiles() makes. Thu Jan 1 15:20:30 2004 Steve Huston * examples/Makefile: * examples/APG: Added all examples from "The ACE Programmer's Guide". Thu Jan 1 20:28:12 UTC 2004 Johnny Willemsen * include/makeinclude/outputdir.bor: Object files are always placed in subdirectories dependent on the configuration Thu Jan 1 17:59:32 UTC 2004 Johnny Willemsen * ace/OS_NS_Thread.h: Removed not needed doxygen close group tag Thu Jan 1 17:23:44 UTC 2004 Don Hinton * include/makeinclude/rules.local.GNU: Added CLEANUP_BIN to the list of objects cleaned up during a clean, since they aren't always added to SRC. They get cleaned when you do a realclean since it removes the .obj directory, but this allows you to use clean correctly too. * include/makeinclude/wrapper_macros.GNU: Make sure that all appropriate variables are added to the cleanup targets, e.g., we used to test for LIB, then LIB2, then LIB_UNCHECKED in that order, but quit testing once we found one. Now, we test them all and add them. This fixes a bug with realclean discovered because MPC defines LIB in terms of LIB_UNCHECKED, then sets LIB= if sufficient components weren't built, but only after we already set CLEANUP_LIB=$LIB. Which meant we ended up not cleaning anything. Thanks to Bala for noticing the problem and motivating the fix. Thu Jan 1 16:00:11 UTC 2004 Johnny Willemsen * ASNMP/asnmp/asn1.cpp: Removed not needed ;. This is the last fix for bugzilla [BUGID 1677] Thu Jan 1 09:51:05 2004 Balachandran Natarajan * bin/tao_orb_tests.lst: Added smart proxies test to the daily builds. Thu Jan 1 00:35:21 2004 Balachandran Natarajan * performance-tests/Synch-Benchmarks/Perf_Test/Performance_Test_Options.cpp: Fixed a warning in Solaris 8 builds. Thu Jan 1 00:00:00 2004 Douglas C. Schmidt * Happy New Year! Let's hope that 2004 is a safe and prosperous year for everyone. Wed Dec 31 21:57:08 2003 Kobi Cohen-Arazi * ace/Base_Thread_Adapter.h: * ace/Base_Thread_Adapter.inl: * ace/Base_Thread_Adapter.cpp: Added #include "os_include/sys/os_time.h" and data member itimerval itimer_ wrapped with ACE_USES_GPROF. This data member will hold the thread profiling timer. Added Accessor function to itimer_ data member. (ACE_Base_Thread_Adapter) Constructor calls getitimer. (ace_thread_adapter) Calls setitimer. Both are wrapped with ACE_USES_GPROF * ace/README: Added Useful information about ACE_USES_GPROF macro. That macro enable profiling with gprof in a multithreaded application. Wed Dec 31 13:13:11 2003 Chad Elliott * bin/MakeProjectCreator/modules/Creator.pm: * bin/MakeProjectCreator/modules/Driver.pm: * bin/MakeProjectCreator/modules/ProjectCreator.pm: * bin/MakeProjectCreator/modules/WorkspaceCreator.pm: Optimized the implementation of the -exclude option to correctly avoid searching for files located in excluded directories. Wed Dec 31 07:13:25 2003 Chad Elliott * ace/TMCast/MTQueue.hpp: Added #include for ace/os_include/sys/os_types.h to get the definition of size_t and changed references to std::size_t to size_t. * ace/config-win32-msvc.h: Added a #pragma waring to disable warning #4800 which is a conversion of integer to boolean warning. Wed Dec 31 06:46:36 2003 Chad Elliott * apps/JAWS3/jaws3.mwc: Removed this file. It is not necessary for two reasons. 1) The jaws3 project will be part of the "apps" workspace. 2) If a workspace with just jaws3 is desired, one could run mwc.pl in the apps/JAWS3 directory to obtain the same results as the removed mwc file. Wed Dec 31 12:30:11 UTC 2003 Johnny Willemsen * examples/Export/dll.h: Removed not needed ; to fix Tru64 warning Tue Dec 30 18:14:39 2003 Steve Huston * ace/OS_TLI.inl (t_alloc): For XPG5, the t_alloc() return type changed from char* to void*, so using ACE_OSCALL_RETURN doesn't work. Use ACE_OSCALL to control the type and return more closely. * ace/Timer_List_T.cpp: Add #include "ace/Guard_T.h to get ACE_Guard. * apps/Gateway/Gateway/Gateway.cpp: Added #include "ace/OS_NS_stdio.h" so Visual Age C++ can see ACE_OS::sprintf(). * apps/Gateway/Gateway/gatewayd.cpp: Add #include "ace/OS_NS_unistd.h" so Visual Age C++ can see ACE_OS::access(). * apps/Gateway/Peer/Options.cpp: Added #include "ace/OS_NS_stdlib.h" so Visual Age C++ can see ACE_OS::exit(), getenv(), and atoi(). Added #include "ace/OS_Memory.h" to get ACE_NEW_RETURN. * apps/Gateway/Peer/Peer.cpp: Added #include "ace/OS_NS_stdio.h" so Visual Age C++ can see ACE_OS::sprintf() and rewind(). Added "ace/OS_NS_string.h" to get ACE_OS::strdup(). * apps/Gateway/Peer/Peer.h: Added #include "ace/Null_Condition.h" and "ace/Null_Mutex.h" to see the classes invoked via NULL_SYNCH used in the ACE_Svc_Handler template invocation. * apps/drwho/Options.cpp: Added #include "ace/OS_NS_stdlib.h" so Visual Age C++ can see ACE_OS::exit(), and atoi(). * apps/drwho/File_Manager.cpp: Added #include "ace/OS_NS_stdio.h" so Visual Age C++ can see ACE_OS::tempnam(). * apps/gperf/src/Options.cpp: Added #include "ace/OS_NS_stdlib.h" so Visual Age C++ can see ACE_OS::atoi(). * examples/ASX/CCM_App/SC_Server.cpp: Add #include "ace/OS_NS_unistd.h" so Visual Age C++ can see ACE_OS::read(). * examples/ASX/Event_Server/Event_Server/Consumer_Router.cpp: * examples/ASX/Event_Server/Event_Server/Supplier_Router.cpp: Add #include "ace/OS_NS_stdio.h" so Visual Age C++ can see ACE_OS::sprintf(). * examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp: Add #include "ace/OS_NS_string.h" so Visual Age C++ can see ACE_OS::strdup(). * examples/ASX/Event_Server/Transceiver/transceiver.cpp: Add #include "ace/OS_NS_string.h" so Visual Age C++ can see ACE_OS::strcmp(). * examples/ASX/Message_Queue/buffer_stream.cpp: Added #include "ace/OS_NS_string.h" to find ACE_OS::strncpy(), #include "ace/OS_NS_unistd.h" to find ACE_OS::read() and write(), and #include "ace/OS_NS_stdio.h" to find ACE_OS::sprintf(). * examples/ASX/Message_Queue/priority_buffer.cpp: Added #include "ace/OS_NS_stdio.h" to get ACE_OS::puts(). * examples/ASX/UPIPE_Event_Server/Consumer_Router.cpp: * examples/ASX/UPIPE_Event_Server/Supplier_Router.cpp: Add #include "ace/OS_NS_stdio.h" so Visual Age C++ can see ACE_OS::sprintf() and "ace/OS_NS_string.h" to see ACE_OS::strdup(). * examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp: Add #include "ace/OS_NS_string.h" so Visual Age C++ can see ACE_OS::strdup(). * examples/C++NPv2/Service_Reporter.cpp: Add #include "ace/OS_NS_string.h" so Visual Age C++ can find ACE_OS::strcat() and strlen(). * examples/C++NPv2/Client_Logging_Daemon.cpp: Add #include "ace/OS_NS_sys_time.h" to find ACE_OS::gettimeofday(). * examples/C++NPv2/TP_Logging_Server.cpp: Added #include "ace/OS_Memory.h" to see ACE_NEW_RETURN and "ace/Guard_T.h" to get the ACE_GUARD stuff. * examples/C++NPv2/TP_Logging_Server.h: Added #include "ace/Synch.h" to see whatever ACE_SYNCH needs. * examples/C++NPv2/SR_Configurable_Logging_Server.cpp: Added #include "ace/OS_Memory.h" to see ACE_NEW_RETURN. * examples/C++NPv2/display_logfile.cpp: Add #include "ace/OS_NS_string.h" to see ACE_OS::strlen() and strnlen(). * examples/Connection/misc/test_upipe.h: Added #include "ace/OS_NS_unistd.h" to find ACE_OS::read(). * examples/IPC_SAP/TLI_SAP/ftp-server.cpp: Add #include "ace/OS_NS_stdio.h" to find ACE_OS::perror(). * examples/IPC_SAP/TLI_SAP/db-server.cpp: Add #include "ace/OS_NS_stdio.h" to find ACE_OS::sprintf(). * examples/IPC_SAP/UPIPE_SAP/ex1.cpp: Add #include "ace/OS_NS_string.h" to find ACE_OS::strcpy(). * examples/Logger/Acceptor-server/server_loggerd.cpp: Added #include "ace/Null_Mutex.h" and "ace/Test_and_Set.h" to get needed class defs. * examples/Map_Manager/test_hash_map_manager.cpp: Added #include "ace/Synch.h" to get whatever ACE_SYNCH is. * examples/Naming/test_open.cpp: * examples/Naming/test_writers.cpp: Added #include "ace/OS_NS_unistd.h" to get ACE_OS::getpid(). * examples/Reactor/Dgram/CODgram.cpp: Added #include "ace/OS_NS_string.h" to get ACE_OS::strcpy(). * examples/Reactor/Dgram/Dgram.cpp: Added #include "ace/OS_NS_string.h" to get ACE_OS::strcpy() and "ace/OS_NS_unistd.h" to get sleep(). * examples/Reactor/Misc/notification.cpp: Added #include "ace/OS_NS_unistd.h" to get ACE_OS::read() and sleep(). * examples/Reactor/Misc/test_reactors.cpp: Add #include "ace/Recursive_Thread_Mutex.h" to get ACE_Recursive_Thread_Mutex def. * examples/Reactor/Misc/test_signals_2.cpp: Add #include "ace/Signal.h" to see ACE_Sig_Handlers. * examples/Reactor/Misc/test_timer_queue.cpp: Add #include "ace/OS_NS_sys_time.h" to get ACE_OS::gettimeofday(). * examples/Reactor/Multicast/client.cpp: Add #include "ace/OS_Memory.h" to get ACE_NEW_RETURN and "ace/OS_NS_stdlib.h" to get ACE_OS::atoi(). * examples/Reactor/Ntalker/ntalker.cpp: Add #include "ace/OS_NS_unistd.h" to get ACE_OS::read(). * examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client.cpp: * examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp: * examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp: Add #include "ace/OS_NS_stdlib.h" to get ACE_OS::atoi() and exit(). * examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.i: * examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.i: * examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.i: * examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.i: * examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.i: * examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.i: * examples/Service_Configurator/IPC-tests/server/Handle_Timeout.i: Add #include "ace/OS_NS_string.h" to get ACE_OS::strdup() and strncpy(). * examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.i: * examples/Service_Configurator/IPC-tests/server/Handle_R_Broadcast.i: Add #include "ace/OS_NS_string.h" to get ACE_OS::strdup() and strncpy(); "ace/OS_NS_unistd.h" to get ACE_OS::read()/write(). * examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp: Add #include "ace/OS_NS_stdio.h" to get ACE_OS::puts() and sprintf(), "ace/OS_NS_string.h" and "ace/OS_NS_unistd.h". * examples/Service_Configurator/IPC-tests/server/server_test.cpp: Added #include "ace/OS_NS_unistd.h" to get ACE_OS::getpid(). * include/makeinclude/platform_aix_ibm.GNU: Changed -ltli_r to -lxti; Matches change to ACE_HAS_XTI in: Mon Dec 29 17:09:29 2003 Steve Huston Tue Dec 30 15:21:16 2003 Balachandran Natarajan * ace/INET_Addr.cpp (set_interface): Check for multicast link local in addition to unicast link local before calling a if_nametoindex (). Thanks to Andre Kostur for providing the patch. Tue Dec 30 13:02:09 2003 Chad Elliott * ace/ace.mpc: Added the os_include, os_include/arpa, os_include/net, os_include/netinet and os_include/sys directories to the Header_Files section. * bin/MakeProjectCreator/modules/Parser.pm: * bin/MakeProjectCreator/modules/ProjectCreator.pm: * bin/MakeProjectCreator/modules/TemplateParser.pm: Added code to get allow templates to get the current working directory and the directory relative to the current working directory with the relative definitions. * bin/MakeProjectCreator/templates/bor.mpd: Updated the Borland template to put the executables and libraries in locations consistent with all other MPC generated projects. * include/makeinclude/build_dll.bor: * include/makeinclude/build_example.bor: * include/makeinclude/build_exe.bor: * include/makeinclude/build_lib.bor: * include/makeinclude/install.bor: * include/makeinclude/outputdir.bor: Modified these to work with the new Borland template. The defaults have not been changed and the changes that were made should be backward compatible with the existing Borland makefiles. Tue Dec 30 15:16:02 UTC 2003 Don Hinton * *.mpb: * bin/MakeProjectCreator/templates/*.mpt: Added $ID tag to quash fuzz errors. Tue Dec 30 08:38:59 2003 Chad Elliott * ace/ace.mpc: Removed Refcounted_Auto_Ptr.cpp from the Template_Files. Apparently there was never a Refcounted_Auto_Ptr.cpp. Mon Dec 29 17:09:29 2003 Steve Huston * ace/TLI.cpp: Add #include "ace/OS_TLI.h" to see the ACE_OS::t_* methods and LOCALNAME/REMOTENAME. In get_option() and set_option(), decide on use of auto_ptr vs. ACE_Auto_Array_Ptr based on the XPG level currently being used. XPG5 changed the buf member from char* to void*. * ace/config-aix-4.x.h: Removed ACE_HAS_TIUSER_H and ACE_HAS_TLI; added ACE_HAS_XTI. Go with the more advanced capabilities. * include/makeinclude/platform_aix_ibm.GNU: Set the default value for 'inline' based on 'debug' - if debug is on, inline off, and vice-versa. * include/makeinclude/wrapper_macros.GNU: Corrected the "inline ?=" line to set the default to 1 (instead of blank). This enables inlining unless platform_macros.GNU sets it explicitly. Mon Dec 29 14:48:30 2003 Balachandran Natarajan * bin/tao_other_tests.lst: Do not run reference counted servant test in the minimum corba builds. Mon Dec 29 12:48:22 2003 Balachandran Natarajan * bin/tao_other_tests.lst: Reduced iterations for a few tests. Mon Dec 29 18:28:54 UTC 2003 Don Hinton * etc/ace.doxygen: Also remove the final '/' from STRIP_FROM_PATH, i.e., STRIP_FROM_PATH=$(ACE_ROOT)/, so that the file list will look like this, ace/, instead of /ace/. Mon Dec 29 11:20:50 2003 Balachandran Natarajan * bin/tao_orb_tests.lst: Added Bug_1670_Regression to the daily builds. Mon Dec 29 10:57:23 2003 Balachandran Natarajan * bin/tao_orb_tests.lst: Added Bug_1568_Regression to the daily builds. Mon Dec 29 08:48:40 2003 Chad Elliott Committing changes originally made by Trevor Fields on TAO 1.3a. * bin/MakeProjectCreator/config/dsnotifylogadmin.mpb: Changed the inheritance to correspond with what the DsNotifyLogAdmin library uses. * bin/MakeProjectCreator/config/openssl.mpb: Added $(SSL_ROOT)/out32 to the libpaths to pick up static OpenSSL libraries on Windows. * bin/MakeProjectCreator/config/portablegroup.mpb: Added inheritance of minimum_corba. Sun Dec 28 22:36:22 2003 Balachandran Natarajan * bin/tao_orb_tests.lst: Added Bug_1693_Test to the daily builds. Sun Dec 28 15:46:43 UTC 2003 Johnny Willemsen * etc/*.doxygen: Removed CGI_NAME, CGI_URL, DOC_URL, DOC_ABSPATH, BIN_ABSPATH and EXT_DOC_PATHS from the doxygen config files. These options are no longer available because doxygen now uses PHP for search pages instead of CGI. The search page is disabled at this moment. Sun Dec 28 15:09:34 UTC 2003 Don Hinton * etc/ace.doxygen: Changed CASE_SENSE_NAMES=NO in order to fix problems on systems without case sensitive file systems; doxygen adds enough of the path to make each filename unique. Enabled SHORT_NAMES to make sure names don't grow too long. Set FULL_PATH_NAMES=YES and STRIP_FROM_PATH=$(ACE_ROOT) to avoid duplicate filenames on the file list page. If this works out, we may change some of the others also. Sun Dec 28 11:38:43 UTC 2003 Johnny Willemsen * ace/Message_Queue.h: Use doxygen style of comments for deprecated enum members so that they appear on the doxygen deprecated page. Sun Dec 28 10:44:13 UTC 2003 Johnny Willemsen * ace/OS_NS_stdio.cpp: On Tru64 getchar() is a macro which expands to fgetc. fgetc exists in the global and in the ACE_OS namespace, so on Tru64 use ::getchar() which then expands to ::fgetc(). This looks to work on the Tru64 box I am testing on. Sat Dec 27 12:55:45 UTC 2003 Johnny Willemsen * ace/SOCK_Dgram_Mcast.h: Added @deprecated to the deprecated methods in this file so that they appear on the doxygen deprecated page. Sat Dec 27 10:32:11 UTC 2003 Johnny Willemsen * include/makeinclude/platform_vxworks5.x_g++.GNU: Re-added setting of GCCLIB_DIR for SIMNT which I removed by accident. Thanks to Thomas Lockhart for pointing this out. Sat Dec 27 10:22:13 UTC 2003 Johnny Willemsen * bin/fuzz.pl: Also check for Id tag in .GNU files. * include/makeinclude/platform_vxworks5.x_g++.GNU: * include/makeinclude/platform_linux_borland.GNU: * include/makeinclude/platform_integrity_ghs.GNU: Added missing Id tag Fri Dec 26 17:29:29 2003 Steve Huston * m4/ace.m4: Uncommented the AM_CONDITIONAL for BUILD_SSL so explicit sets of --with-ssl work. Fri Dec 26 16:53:18 2003 Steve Huston * m4/ace.m4: Don't restrict --enable-rtti to Solaris. AIX Visual Age C++ needs to be able to turn this on also. Also changed the default to yes, believing I saw a need for RTTI in TAO recently. * m4/compiler.m4: For AIX Visual Age C++, if rtti is desired, add -qrtti to CXXFLAGS. * ace/OS_NS_Thread.inl: Added #include "ace/OS_NS_sys_mman.h" to see ACE_OS::shm_unlink() and ACE_OS::shm_open(), needed when ACE_LACKS_NAMED_POSIX_SEM is defined. * ace/Timer_Hash_T.cpp: * ace/TImer_Wheel_T.cpp: Added #include "ace/OS_NS_sys_time.h" so Visual Age C++ can see ACE_OS::gettimeofday(), and "ace/Guard_T.h" so Visual Age C++ can see ACE_Guard classes. * tests/test_config.h: * tests/Signal_Test.cpp: * tests/Thread_Pool_Test.cpp: Added #include "ace/OS_NS_stdio.h" so Visual Age C++ sees ACE_OS::sprintf(). * tests/Message_Block_Test.cpp: Added #include "ace/OS_NS_string.h" so Visual Age C++ sees ACE_OS::strcmp() and "ace/OS_NS_stdio.h" so Visual Age C++ sees ACE_OS::sprintf(). * tests/Message_Queue_Test.cpp: * tests/Upgradable_RW_Test.cpp: Added #include "ace/OS_NS_sys_time.h" so Visual Age C++ can see ACE_OS::gettimeofday() and "ace/OS_NS_stdio.h" so it can see ACE_OS::sprintf(). * tests/Message_Queue_Test_Ex.cpp: * tests/Recursive_Condition_Bug_Test.cpp: * tests/Thread_Manager_Test.cpp: Added #include "ace/OS_NS_sys_time.h" so Visual Age C++ can see ACE_OS::gettimeofday(). * tests/Message_Queue_Notifications_Test.cpp: * tests/Reactor_Dispatch_Order_Test.cpp: * tests/SString_Test.cpp: * tests/Svc_Handler_Test.cpp: Added #include "ace/OS_NS_string.h" so Visual Age C++ sees ACE_OS::strlen(). * tests/Multicast_Test.cpp: Added #include "ace/Min_Max.h" so Visual Age C++ can see ACE_MIN and ACE_MAX. Added #include "ace/OS_NS_sys_time.h" so Visual Age C++ can see ACE_OS::gettimeofday() and "ace/OS_NS_stdio.h" so it can see ACE_OS::sprintf(). * tests/MT_Reference_Counted_Event_Handler_Test.cpp: * tests/Reactor_Registration_Test.cpp: * tests/Reference_Counted_Event_Handler_Test.cpp: Added #include "ace/Reactor.h" so Visual Age C++ sees ACE_Reactor. * tests/MT_Reference_Counted_Notify_Test.cpp: * tests/Timer_Cancellation_Test.cpp: Added #include "ace/Reactor.h" so Visual Age C++ sees ACE_Reactor and "ace/OS_NS_unistd.h" so Visual Age C++ sees ACE_OS::sleep(). * tests/Naming_Test.cpp: * tests/Priority_Task_Test.cpp: * tests/Thread_Pool_Reactor_Test.cpp: * tests/Thread_Pool_Reactor_Resume_Test.cpp: Added #include "ace/OS_NS_string.h" so Visual Age C++ can see ACE_OS::strcmp(). * tests/Process_Manager_Test.cpp: * tests/Reactor_Notify_Test.cpp: Added #include "ace/OS_NS_unistd.h" so Visual Age C++ can see ACE_OS::sleep(). * tests/Process_Strategy_Test.cpp: Added #include "ace/OS_NS_string.h" so Visual Age C++ can see ACE_OS::strcpy(), strcat(), strlen(). * tests/Reader_Writer_Test.cpp: Added #include "ace/Guard_T.h" and "ace/RW_Thread_Mutex.h" so Visual Age C++ can see ACE_Guard and ACE_RW_Thread_Mutex classes. * tests/Recursive_Condition_Test.cpp: Added #include "ace/OS_NS_sys_time.h" so Visual Age C++ sees ACE_OS::gettimeofday() and "ace/OS_NS_unistd.h" so Visual Age C++ sees ACE_OS::sleep(). * tests/Service_Config_Test.cpp: Added #include "ace/OS_NS_stdio.h" so Visual Age C++ can see ACE_OS::fprintf(). * tests/Time_Service_Test.cpp: Added #include "ace/OS_NS_string.h" so Visual Age C++ sees ACE_OS::strcat(). * tests/TP_Reactor_Test.cpp: Added #include "ace/OS_NS_stdio.h" so Visual Age C++ sees ACE_OS::sprintf() and "ace/OS_NS_string.h" so Visual Age C++ sees ACE_OS::strlen(). * tests/TSS_Test.cpp: * tests/TSS_Test_Errno.h: * tests/Thread_Mutex_Test.cpp: Added #include "ace/Guard_T.h" so Visual Age C++ can see ACE_Guard stuff and "ace/Thread_Mutex.h" to see the ACE_Thread_Mutex class. Fri Dec 26 12:30:55 2003 Balachandran Natarajan * bin/MakeProjectCreator/config/taoexe.mpb: * bin/MakeProjectCreator/config/taolib_with_idl.mpb: We are forcing -Sc to the users. Though this is generally good, but it breaks some of the tests in TAO that uses the TIE classes. Just removing -Sc so that we have the minimal number of options out here. Fri Dec 26 18:22:07 UTC 2003 Don Hinton * include/makeinclude/all_in_one.GNU: Test CLEANUP_BIN, etc., instead of BIN to determine whether or not to include rules.bin.GNU, etc. These file define the CLEANUP_INSTALL variables needed to properly do a realclean. This is needed because Makefiles might use BIN2 or BIN_UNCHECKED instead of BIN, but still need to be cleaned up. * include/makeinclude/rules.lib.GNU: * include/makeinclude/rules.local.GNU: Added '*' to end of lib name so that *all* versions of a lib are cleaned up, not just the current one. * include/makeinclude/rules.local.GNU: No need to test to see if a variable is defined in order to define it, just use ?= which only sets a variable if not yet defined. Thu Dec 25 18:03:28 2003 Balachandran Natarajan * bin/MakeProjectCreator/config/ftorbutils.mpb: Removed the dependency on CosNaming. Thu Dec 25 00:00:00 2003 Douglas C. Schmidt * Merry Christmas!!! Wed Dec 24 17:10:45 UTC 2003 Don Hinton * bin/fuzz.pl: Modified the regular expression for matching Makefiles to better filter out unwanted files. * examples/C++NPv1/Makefile.Iterative_Logging_Server: * examples/C++NPv1/Makefile.Logging_Client: * examples/C++NPv1/Makefile.Process_Per_Connection_Logging_Server: * examples/C++NPv1/Makefile.RT_Thread_Per_Connection_Logging_Server: * examples/C++NPv1/Makefile.Reactive_Logging_Server: * examples/C++NPv1/Makefile.Reactive_Logging_Server_Ex: * examples/C++NPv1/Makefile.Thread_Per_Connection_Logging_Server: * examples/C++NPv2/Makefile.AC_CLD: * examples/C++NPv2/Makefile.AIO_CLD: * examples/C++NPv2/Makefile.CLD: * examples/C++NPv2/Makefile.Configurable_Logging_Server: * examples/C++NPv2/Makefile.Reactor_Logging_Server: * examples/C++NPv2/Makefile.SLD: * examples/C++NPv2/Makefile.SLDex: * examples/C++NPv2/Makefile.SR_Configurable_Logging_Server: * examples/C++NPv2/Makefile.Select_Reactor_Logging_Server: * examples/C++NPv2/Makefile.TPCLS: * examples/C++NPv2/Makefile.TPLS: * examples/C++NPv2/Makefile.TP_Reactor_Logging_Server: * examples/C++NPv2/Makefile.display_logfile: * examples/DLL/Makefile.Newsweek: * examples/DLL/Makefile.Today: * examples/Service_Configurator/Misc/Makefile.Timer: * examples/Service_Configurator/Misc/Makefile.main: * examples/Timer_Queue/Makefile.TQTD: * examples/Timer_Queue/Makefile.main: * include/makeinclude/Makefile.rtems: * performance-tests/Synch-Benchmarks/Makefile.driver: * performance-tests/Synch-Benchmarks/Makefile.synch_tests: Fixed Fuzz errors. Wed Dec 24 12:51:23 UTC 2003 Johnny Willemsen * apps/Gateway/Gateway/Config_Files.cpp: * apps/Gateway/Gateway/File_Parser.cpp: * apps/Gateway/Gateway/File_Parser.h: * apps/Gateway/Gateway/Gateway.cpp: Added RT_ to the members of the Return_Type enum. Tru64 has a define SUCCESS and this clashed with the enum member SUCCESS. Wed Dec 24 12:35:41 UTC 2003 Johnny Willemsen * ace/config-osf1-4.0.h: Removed ACE_HAS_TLI and ACE_HAS_TLI_PROTOTYPES. Added ACE_HAS_XTI. This fixes compile errors on Tru64. * include/makeinclude/platform_osf1_4.x_cxx.GNU: * include/makeinclude/platform_osf1_4.x_g++.GNU: * include/makeinclude/platform_osf1_4.x_kcc.GNU: * include/makeinclude/platform_osf1_4.x_rcc.GNU: Link with xti library instead of tli Wed Dec 24 09:54:43 UTC 2003 Johnny Willemsen * include/makeinclude/platform_vxworks5.x_g++.GNU: Add discussion of conventions to be used to identify shipped versions of VxWorks. Allow implicit templates using the templates variable. Default continues to be "explicit". Clean up some references to obsolete and unsupported versions of VxWorks compilers. Use explicit paths to compilers and utilities, and remove manipulation of PATH. Set the default version of VxWorks to 5.5.1, as shipped with Tornado 2.2 on PPC604. Removed -traditional from compiler flags, it causes problems with VxWorks 5.5. * ace/config-g++-common.h: Move VxWorks-specific features to config-vxworks5.x.h. * ace/config-vxworks5.x.h: Isolate Tornado-2.1 features to a check for ACE_VXWORKS == 0x542. This is consistent with the conventions suggested by J. Willemsen though VxWorks 5.4.2 also shipped with Tornado 2.0.2. See further discussion in platform_vxworks5.x_g++.GNU. Disable ACE_LACKS_AUTO_PTR except for ACE_VXWORKS == 0x542 since it is available on Tornado 2.2.x for PPC604 at least. Comments indicate that this was a problem on a Hitachi processor for Tornado 2.1. Thanks to Thomas Lockhart for providing these patches. Tue Dec 23 17:55:19 2003 Steve Huston * tests/Makefile.am: Added ACE_Test_SOURCES so automake doesn't set this up needing ACE_Test.c. Tue Dec 23 16:52:56 2003 Chris Cleeland * bin/MakeProjectCreator/modules/GNUACEWorkspaceCreator.pm: Reordered printing of make rules so that the standard targets (all, install, debug, etc.) are emitted into the makefile BEFORE the targets for each project. This insures that 'all' remains the first target in the makefile, and is thus the default target when make is invoked without a target. This should resolve the problem where builds failed due to what looked like the IDL compiler not being completely built. Tue Dec 23 21:18:22 UTC 2003 Don Hinton * netsvcs/lib/Makefile.bor: * netsvcs/servers/Makefile.bor: Added $Id to fix fuzz errors. Tue Dec 23 20:35:40 UTC 2003 Don Hinton * ace/config-freebsd.h: Added ACE_HAS_PTHREAD_SETSTACK if __FreeBSD_version >= 501000. * ace/os_include/os_pthread.h: Added guard around define of ACE_HAS_PTHREAD_SETSTACK. Thanks to Craig Rodrigues for these patches. Tue Dec 23 20:19:51 UTC 2003 Don Hinton * *.{mpc,mwc}: Added $Id to MPC files to fix fuzz errors. Tue Dec 23 12:31:16 UTC 2003 Johnny Willemsen * Kokyu/Dispatcher_Impl.h: Added export macro, so that the destructor is exported. This fixes the link errors in the CBuilderX MPC build. Mon Dec 22 17:46:12 2003 Steve Huston * configure.ac: Don't bother getting a ACE_HAS_TLI_PROTOTYPES setting if ACE_HAS_XTI. It's not needed. Fix the check for ACE_HAS_CONFLICTING_XTI_MACROS to only include xti.h, not tliuser.h, since that's where the errors are. The XTI and TLI parts are now separate; if the platform has XTI, none of the TLI checks are done. Made the check for sigaction()'s second argument set (or not) new config setting, ACE_HAS_SIGACTION_CONSTP2. See below. * m4/config_h.m4: Removed entries for ACE_LACKS_POSIX_PROTOTYPES and ACE_LACKS_SOME_POSIX_PROTOTYPES. Renamed ACE_HAS_BROKEN_XTI_MACROS to ACE_HAS_CONFLICTING_XTI_MACROS. Added entries for ACE_HAS_SIGACTION_CONSTP2. See rationale in ace/README entry, below. * ace/README: Clarified the meanings of ACE_HAS_TLI, ACE_HAS_XTI, and ACE_HAS_SVR4_TLI. Changed entry for ACE_HAS_BROKEN_XTI_MACROS to ACE_HAS_CONFLICTING_XTI_MACROS and explained it more (both names were used previously). Removed entries for ACE_LACKS_POSIX_PROTOTYPES and ACE_LACKS_SOME_POSIX_PROTOTYPES. These ended up a catch-all for platforms that had odd, or non-conforming (these days anyway) APIs for some SysV, signal, or stdio functions. Any reference to ACE_LACKS_POSIX_PROTOYPES is now gone. If it causes any problems (very doubtful since the only configs that used it were SunOS 4) it can be added back in a more explanatory fashion. Uses of ACE_LACKS_SOME_POSIX_PROTOTYPES are replaced by more specific settings that autoconf is detecting now anyway. These are: ACE_HAS_SIGACTION_CONSTP2: sigaction() 2nd parameter is const sigaction*, as opposed to non-const. * ace/config-hpux-11.00.h: Removed #define ACE_HAS_BROKEN_XTI_MACROS. This is not sued any longer (see README above). * ace/config-linux-common.h: * ace/config-integritySCA.h: * ace/config-lynxos.h: * ace/config-qnx-neutrino.h: * ace/config-qnx-rtp.h: * ace/config-unixware-7.1.0.h: * ace/config-unixware-7.1.0.udk.h: Removed entry for ACE_LACKS_SOME_POSIX_PROTOTYPES. Applies only for glibc earlier than 2.2. If this breaks something, send details to me. * ace/config-rtems.h: Removed ACE_LACKS_POSIX_PROTOTYPES and ACE_LACKS_SOME_POSIX_PROTOTYPES; added ACE_HAS_SIGACTION_CONSTP2. * ace/config-sco-5.0.0.h: * ace/config-sco-5.0.0-mit-pthread.h: * ace/config-tandem.h: Removed entry for ACE_LACKS_POSIX_PROTOTYPES (was commented out anyway). * ace/config-sunos4-sun3.x.h: * ace/config-sunos4-sun4.1.4.h: * ace/config-sunos4-sun4.x.h: Removed entry for ACE_LACKS_POSIX_PROTOTYPES. If this breaks a build, please email shuston@riverace.com with compile errors and PRF. * ace/OS_NS_dlfcn.inl: Removed #include "ace/OS.h"; replaced with #include "ace/OS_NS_fcntl.h" and "ace/OS_NS_unistd.h". (dlsym): Removed the #if defined (ACE_LACKS_POSIX_PROTOTYPES) - this is not needed. * ace/OS_NS_signal.inl (sigaction): const_cast the new sigaction arg if ACE_HAS_SIGACTION_CONSTP2 is not defined. This takes the place of either ACE_LACKS_SOME_POSIX_PROTOTYPES or ACE_LACKS_POSIX_PROTOTYPES. * ace/OS_TLI.h: Rearranged the places and situations that TLI or XTI headers are included. These were confused over the years as platforms were ported to, and the TLI API evolved to XTI. The way this now works mirrors the way modern platforms work. XTI is the newer and current API. If XTI is available, ACE_HAS_XTI should be set. If XTI is not available, but the older TLI is, ACE_HAS_TLI should be set. ACE_HAS_XTI takes precedence if they're both set. If only TLI is available, the correct header (tiuser.h) is included if ACE_HAS_TIUSER_H is set. tiuser.h is a compatibility carryover for platforms with XTI. If the platform has TLI, not XTI, and no tiuser.h, this file doesn't include any system headers - this may be wrong, but I don't have any platforms available to try. Also, ACE_HAS_SVR4_TLI applies to platforms with TLI (not XTI) and additional, pre-XTI functionality such as t_getname(). This is true for older SunOS, but I don't think any modern platforms should set this. XTI includes all the things that distinguish ACE_HAS_SVR4_TLI from TLI, so if ACE_HAS_XTI is set, ACE_HAS_SVR4_TLI is ignored. To summarize, the order of precedence is, XTI, then TLI, optionally modified by ACE_HAS_SVR4_TLI. * ace/OS_TLI.inl (t_getname): Add code for calling t_getprotaddr() if ACE_HAS_XTI. It would be good to add ACE_OS::t_getprotaddr() since most platforms support XTI these days. But this will do for now. * ace/TLI.cpp (get_local_addr): Forward this through to ACE_OS::t_getname(), which can now handle both ACE_HAS_XTI and ACE_HAS_SVR4_TLI. (set_option, get_option): Added the XTI code for these. * ace/TLI_Connector.cpp (complete): * ace/TLI_Stream.cpp (get_remote_addr): Regardless of which flavor of XTI/TLI is set, call ACE_OS::t_getname() to get the address info. It now can do both XTI and TLI. * ace/os_include/os_errno.h: Removed the #defines for LOCALNAME and REMOTENAME. These are now in ace/OS_TLI.h where they come from. * ace/config-lite.h: Add a check after including config.h for ACE_HAS_XTI. XTI is what TLI evolved to, and wherever ACE wants to provide a TLI function or not, it checks for ACE_HAS_TLI. Since ACE_HAS_XTI can be set without ACE_HAS_TLI, we set ACE_HAS_TLI to get the basic functionality-providing checks taken care of. Mon Dec 22 17:01:39 2003 Steve Huston * tests/Makefile.am: Removed comment on -module option for libTestOutput. Added ACE_Test and TSS_Static_Test. Mon Dec 22 14:08:41 2003 Chad Elliott * ACE-INSTALL.html: Updated building sections with MPC related information. Mon Dec 22 19:25:59 UTC 2003 Don Hinton * tests/Bound_Ptr_Test.h: * tests/Message_Queue_Notifications_Test.cpp: * tests/NonBlocking_Conn_Test.h: * tests/Process_Strategy_Test.cpp: * tests/Svc_Handler_Test.cpp: Fixed fuzz errors by removing unneeded #include of Synch.h. Mon Dec 22 10:31:41 2003 Chad Elliott * bin/MakeProjectCreator/README: Added information about disallowing duplicate projects within a single workspace regardless of the project type. It is no longer specific to the VC6 type. * bin/MakeProjectCreator/modules/GNUACEWorkspaceCreator.pm: Changed the workspace output to allow a user to make a specific target within the workspace. If the user specified target requires other projects, then those projects are built also. For example, a user could execute "make CosNaming" using the Makefile generated from the TAOACE.mwc file and the CosNaming library would be built including everything else that was required to build that library. * bin/MakeProjectCreator/modules/Creator.pm: * bin/MakeProjectCreator/modules/ProjectCreator.pm: * bin/MakeProjectCreator/modules/VC6ProjectCreator.pm: * bin/MakeProjectCreator/modules/VC6WorkspaceCreator.pm: * bin/MakeProjectCreator/modules/VC7ProjectCreator.pm: * bin/MakeProjectCreator/modules/VC7WorkspaceCreator.pm: * bin/MakeProjectCreator/modules/WorkspaceCreator.pm: Changed the output section of the code to only compare the existing output file to the newly created output file only if required by the individual project or workspace type. Currently only VC6, EM3 (through inheritance), VC7 and VC71 (through inheritance) use this. Sun Dec 21 08:40:46 2003 Balachandran Natarajan * performance-tests/Synch-Benchmarks/Synch_Lib/Benchmark_Base.cpp: Fixed an annoying warning about redefinition. Sun Dec 21 13:55:12 UTC 2003 Johnny Willemsen * tests/Test_Output.dsp: Cleared the output directory for the static configurations, all test project expect the lib to be in the same directory. Sun Dec 21 10:16:43 UTC 2003 Johnny Willemsen * *.bor: Added missing Id tag to all Borland makefiles which didn't have it yet. Sun Dec 21 10:02:11 UTC 2003 Johnny Willemsen * ace/Timeprobe.h: Added missing includes when ACE_COMPILE_TIMEPROBES is set to 1. Thanks to Konstantinos Margaritis for reporting this. Sun Dec 21 09:45:13 UTC 2003 Johnny Willemsen * Kokyu/Makefile.bor: * Kokyu/Makefile.Kokyu.bor: Added Id tag to fix fuzz errors Sat Dec 20 17:51:49 UTC 2003 Johnny Willemsen * ACEXML/parser/parser/ParserContext.inl: Removed not needed ; to fix a Tru64 warning Sat Dec 20 14:21:13 UTC 2003 Johnny Willemsen * ACEXML/*.bor: Added missing Id tag to fix fuzz errors Sat Dec 20 13:22:12 UTC 2003 Johnny Willemsen * bin/fuzz.pl: Changed filters to the types of files a little so that a Makefile.bor is handled as a Borland makefile. Fri Dec 19 22:56:26 2003 Balachandran Natarajan * ace/RMCast/RMCast.h: * ace/RMCast/RMCast_IO_UDP.cpp: * ace/RMCast/RMCast_UDP_Proxy.cpp: Enums are evil, more so with broken compilers that cannot scope enums within a class. LynxOS defines a bunch of #defines with MT_* which starts colliding with the MT_* declaration in the above files. Renamed the enums to be RMCAST_MT_*. Thanks to Thomas Lockhart for providing patches to fix this. Fri Dec 19 22:34:42 2003 Balachandran Natarajan * ace/INET_Addr.i: Fix for [BUGID 1688]. Please see http://deuce.doc.wustl.edu/bugzilla/show_bug.cgi?id=1688 for more details. Thanks to Gary Maxey for the patch. Fri Dec 19 11:57:20 2003 Steve Huston * tests/Sigset_Ops_Test.cpp: Add an optional can_miss parameter to the siglistset() function; defaults to 0 (current behavior). Pass it as 1 when the full (sigfillset) set is being tested because there's no guarantee that all signals from 1-ACE_NSIG are legit and set in the sigset. This is true on Red Hat Linux w/ NPTL (Redhat 9 and Enterprise Linux 3, for example). Thanks to Roger Beathard (rbeathar@cisco.com) for reporting this issue. * tests/Makefile.tests: Added TSS_Static_Test. Fri Dec 19 08:43:44 2003 Douglas C. Schmidt * ace/Malloc_T.cpp: Reformatted some of the code to conform to ACE guidelines. In particular, stuff like this: if ((this->lock_ = ACE_Malloc_Lock_Adapter_T ()(pool_name)) == 0) return; should be written like this: this->lock_ = ACE_Malloc_Lock_Adapter_T ()(pool_name); if (this->lock_ == 0) return; since the latter is less error prone and more readable! Fri Dec 19 13:31:59 UTC 2003 Johnny Willemsen * ACEXML/parser/parser/Parser.i (isChar): Made the argument non const, just as the method declaration in the header file. This fixes a compile error on Tru64. Fri Dec 19 13:29:13 UTC 2003 Johnny Willemsen * examples/C++NPv2/C++NPv2.mpc: Use the new wfmo base project. Fri Dec 19 13:27:54 UTC 2003 Johnny Willemsen * performance-tests/SCTP/Options_Manager.cpp: Removed not needed ; after extern C to fix a Tru64 warning Fri Dec 19 07:19:37 2003 Chad Elliott * bin/MakeProjectCreator/README: * bin/MakeProjectCreator/USAGE: * bin/MakeProjectCreator/modules/AutomakeProjectCreator.pm: * bin/MakeProjectCreator/modules/BorlandProjectCreator.pm: * bin/MakeProjectCreator/modules/CbxProjectCreator.pm: * bin/MakeProjectCreator/modules/Creator.pm: * bin/MakeProjectCreator/modules/Driver.pm: * bin/MakeProjectCreator/modules/EM3ProjectCreator.pm: * bin/MakeProjectCreator/modules/GHSProjectCreator.pm: * bin/MakeProjectCreator/modules/GNUACEProjectCreator.pm: * bin/MakeProjectCreator/modules/MakeProjectCreator.pm: * bin/MakeProjectCreator/modules/NMakeProjectCreator.pm: * bin/MakeProjectCreator/modules/Options.pm: * bin/MakeProjectCreator/modules/ProjectCreator.pm: * bin/MakeProjectCreator/modules/TemplateParser.pm: * bin/MakeProjectCreator/modules/VA4ProjectCreator.pm: * bin/MakeProjectCreator/modules/VC6ProjectCreator.pm: * bin/MakeProjectCreator/modules/VC7ProjectCreator.pm: * bin/MakeProjectCreator/modules/WorkspaceCreator.pm: Added a workspace/project name modifier (-name_modifier) which can be used to modify workspace and project names using a pattern replacement. The parameter passed to -name_modifier will have any instances of the asterisk character replaced with the actual workspace or project name. Also, deprecated the -static_only option and modified -static to generate only static projects (since dynamic and static couldn't co-exist with the vc6 and vc7 types). And, finally, replaced $generator with $creator which is more consistent with object names. Fri Dec 19 11:45:13 UTC 2003 Johnny Willemsen * ace/config-osf1-3.2.h: * ace/config-osf1-4.0.h: Replaced ACE_HAS_64BIT_LONGS with ACE_SIZEOF_LONG 8 to fix compile errors on Tru64. * bin/MakeProjectCreator/config/wfmo.mpb: Added new config file. Projects that need wfmo, should be based on this. * include/makeinclude/wrapper_macros.GNU: When wfmo is not set, we set it to 0. So by default all platforms that use the GNU makefiles lack wfmo support. * include/makeinclude/platform_mingw32.GNU: MinGW has wfmo, so set wfmo to 1. * examples/Reactor/WFMO_Reactor/WFMO_Reactor.mpc: Based now on the wfmo instead of a GNU specific hack. This simplifies this MPC file but also with MinGW we will now build these examples. Fri Dec 19 10:46:13 UTC 2003 Johnny Willemsen * ace/Codeset_Registry.cpp: Removed not needed ; after ACE_RCSID to fix Tru64 warning. * ace/OS.h: * ace/OS_TLI.h: * ace/UUID.{h,cpp,inl}: * ace/OS_NS_arpa_inet.h: Removed not needed ; after namespace close } to fix Tru64 warning. * ace/config-cxx-common.h: Added ACE_HAS_STD_TEMPLATE_CLASS_MEMBER_SPECIALIZATION. I hope all version of the Compaq CC compiler will support this, V6.5 needs this * ace/config-tru64.h: Tru64 5.1 doesn't have stdint.h so added ACE_LACKS_STDINT_H. I don't know of previous versions, so made this dependent on the version of Tru64. * ace/config-osf1-4.0.h: Moved check for ACE_MT_SAFE for ACE_LACKS_CLEARERR a little bit down, so that ACE_MT_SAFE is always defined to fix compile error on Tru64. * tests/Reference_Counted_Event_Handler_Test.cpp: Make sure we don't have local variables with the same name but different type to fix Tru64 warning. Fri Dec 19 03:29:33 UTC 2003 Don Hinton * examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp: * examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp: * tests/SV_Shared_Memory_Test.cpp: More explicit template instantiations of ACE_Malloc_Lock_Adapter_T. Fri Dec 19 01:27:00 UTC 2003 Irfan Pyarali * examples/Reactor/WFMO_Reactor/Abandoned.cpp (handle_timeout): Must remove handler from the Reactor before the handler dies. Otherwise, a call back from the Reactor will result in a seg fault. Fri Dec 19 01:26:00 UTC 2003 Don Hinton * ace/Process_Mutex.cpp: * ace/RW_Process_Mutex.cpp: * ace/Thread_Mutex.cpp: Added #include ace/Malloc_T.h. Fri Dec 19 00:46:23 UTC 2003 Don Hinton * ace/Null_Mutex.h: Added template specialization of ACE_Malloc_Lock_Adapter_T. * ace/Process_Mutex.cpp: * ace/RW_Process_Mutex.cpp: * ace/Thread_Mutex.cpp: Added explicit template instantiations for ACE_Malloc_Lock_Adapter. Thu Dec 18 22:43:09 UTC 2003 Don Hinton * ace/Malloc_T.{h,cpp}: Added a new functor template class, ACE_Malloc_Lock_Adapter_T, used by ACE_Malloc_T as a factory for the ACE_LOCK template parameter, and allows the use of locking strategy classes that don't have a satisfactory ctor taking a single required ACE_TCHAR* parameter, which is the default. Thanks to John Glynn for motivating this. * ace/Process_Semaphore.{h,cpp}: * ace/Thread_Semaphore.{h,cpp}: Added template specializations of ACE_Malloc_Lock_Adapter_T for ACE_Process_Semaphore and ACE_Thread_Semaphore since they don't have a satisfactory ctor taking an ACT_TCHAR*. Thanks to John Glynn for motivating this. Thu Dec 18 11:55:29 2003 Chad Elliott * ace/Null_Barrier.h: * ace/Null_Condition.h: * ace/Null_Mutex.h: * ace/Null_Semaphore.h: All methods in both of these files are inline and therefor do not need ACE_Export. * ace/ace.mpc: Updated the Inline_Files and Header_Files sections. * examples/TMCast/Member/member.cpp: Added #include of OS_NS_string.h to get ACE_OS::strlen and added a return value for main. Thu Dec 18 09:53:31 2003 Balachandran * ACE version 5.3.6 released. Thu Dec 18 08:45:06 2003 Balachandran Natarajan * bin/make_release: Generate vc71 for the ace alone. We used to generate vc7 project files. But now we generate vc71. Theoretically we shouldn't need to generate this. But this is not the time to argue with Steve H ;)! Will do after the beta goes out! Wed Dec 17 12:54:18 2003 Balachandran Natarajan * ace/TMCast/Group.cpp: * ace/TMCast/LinkListener.hpp: More fixes for VC 71. Thanks to Chad Elliott for helping me checking the results. Wed Dec 17 09:52:18 2003 Balachandran Natarajan * ace/TMCast/LinkListener.hpp: Fixed errors in VC71 builds. Wed Dec 17 15:21:36 UTC 2003 Don Hinton * performance_tests/Misc/Makefile: Remove static_libs_only=0 and add static_libs=1 and shared_libs=0 to insure that only static libs are built. We need to set these values individually instead of setting static_libs_only, since users may override it in platform_macros.GNU. Thanks to John Zorko for tracking this down and supplying the patch. This fixed the MacOSX compile errors on the scoreboard. Wed Dec 17 11:25:43 UTC 2003 Johnny Willemsen * ace/TMCast/Group.cpp: Fixed compile errors in the SunOS Forte8 build caused by the lack of the scope of the exceptions. Wed Dec 17 11:16:12 UTC 2003 Johnny Willemsen * ace/TMCast/TMCast.mpc: TMCast uses native exceptions, so added requires += exceptions to this mpc file. This fixes compile errors in no exception builds. * bin/MakeProjectCreator/config/tmcast.mpb: Because TMCast uses native exceptions, this is also required for everything that uses TMCast. Tue Dec 16 11:48:11 2003 Chad Elliott * ace/config-aix-4.x.h: * ace/config-aix5.1.h: Updated the AIX config files to reflect the existence of netinet/tcp.h on AIX 5.1. Tue Dec 16 09:31:18 2003 Douglas C. Schmidt * ace/Thread_Semaphore.{h,cpp}: * ace/Process_Semaphore.{h,cpp}: Reverted the change Sun Dec 14 15:26:46 2003 Douglas C. Schmidt since this has too many side-effects that'll break user code. The "Right Thing"[TM] here is simply to update the ACE_Malloc<> documentation to explain not to use the ACE_Process_Semaphore or ACE_Thread_Semaphore, but instead to use the ACE_Process_Mutex or ACE_Thread_Mutex. Thanks to Don Hinton and Bala for motivating this change. Tue Dec 16 08:29:05 2003 Chad Elliott * bin/MakeProjectCreator/templates/make.mpd: Fixed the install targets when installing to the current directory. Tue Dec 16 07:13:53 2003 Chad Elliott * ace/TMCast/TMCast.mpc: * ace/ace.mwc: * bin/MakeProjectCreator/config/tmcast.mpb: Added a project and base project for TMCast. * examples/IPC_SAP/SSL_SAP/SSL-server-simple.cpp: * examples/TMCast/Member/member.cpp: Added #include's to get things to build on Linux. * examples/TMCast/Member/Member.mpc: Added an mpc to override the default project to add the tmcast base project. Mon Dec 15 20:34:31 2003 Balachandran Natarajan * tests/MM_Shared_Memory_Test.cpp: * tests/Reactor_Notify_Test.cpp: * tests/Semaphore_Test.cpp: * tests/TP_Reactor_Test.cpp: More fixes like "Mon Dec 15 11:09:45 2003 Douglas C. Schmidt ". Thanks to Don for motivating this. Mon Dec 15 18:51:15 UTC 2003 Johnny Willemsen * bin/MakeProjectCreator/templates/gnu.mpd: Added setting of CLEANUP_INSTALL, this has the result that an exe that is installed into a different directory is also removed when doing a clean. Thanks to Don and Chad for validating this. Mon Dec 15 11:09:45 2003 Douglas C. Schmidt * tests/Proactor_Test.cpp (ACE_MT_SYNCH>): * ace/POSIX_CB_Proactor.cpp (ACE_POSIX_CB_Proactor): Added a cast to (unsigned int) so things will work properly for the ACE_Thread_Semaphore. Thanks to Bala and Don Hinton for reporting these problems. Mon Dec 15 10:11:31 2003 Chad Elliott * tests/NonBlocking_Conn_Test.h: * tests/NonBlocking_Conn_Test.cpp: Moved the template class Svc_Handler into a header file so that Visual Age C++ could implicitly instantiate the template. * tests/Message_Queue_Notifications_Test.cpp: * tests/Process_Strategy_Test.cpp: * tests/Reactor_Registration_Test.cpp: * tests/Reactors_Test.cpp: * tests/Recursive_Mutex_Test.cpp: * tests/Reference_Counted_Event_Handler_Test.cpp: * tests/Svc_Handler_Test.cpp: * tests/TP_Reactor_Test.h: Added various #include's to get the tests to build on AIX with Visual Age C++ 5.0. Mon Dec 15 10:06:17 2003 Steve Huston * ace/OS_NS_stdio.cpp (gets): Reverted this change: Thu Dec 11 18:13:29 2003 Steve Huston It broke the Borland build and wasn't a very good fix for the AIX situation either. Since Riverace is dropping AIX 4.3 support at ACE 5.4, I'm not going to push this issue. It appears to be a compiler issue with Visual Age C++ version 5. Mon Dec 15 07:29:27 2003 Chad Elliott * bin/MakeProjectCreator/templates/gnu.mpd: Removed a redundant rule to create the $(TEMPINCDIR) directory. * include/makeinclude/rules.local.GNU: Added -p to the mkdir command in the rules to make the $(CLEANUP_DIRS). Mon Dec 15 11:35:12 UTC 2003 Johnny Willemsen * ace/Naming_Context.cpp: When ACE_HAS_TRACE is defined include ace/OS_NS_strings.h to get ACE_OS::strcasecmp. This fixes a compile error when ACE_NTRACE has been defined to 0 Sun Dec 14 15:26:46 2003 Douglas C. Schmidt * ace/Thread_Semaphore.{h,cpp}: Added support for an ACE_Thread_Semaphore that takes a first param that's an ACE_TCHAR * so that things will work properly if ACE_Thread_Semaphore is used with ACE_Malloc<>. Thanks to John Glynn for motivating this. * ace/Process_Semaphore.{h,cpp}: Added support for an ACE_Process_Semaphore that takes a first param that's an ACE_TCHAR * so that things will work properly if ACE_Process_Semaphore is used with ACE_Malloc<>. Thanks to John Glynn for motivating this. Sun Dec 13 20:00:00 2003 Douglas C. Schmidt * Saddam Hussein captured in a "spider hole" in Iraq. Sic Semper Tyrannis. Sat Dec 13 23:29:05 2003 Balachandran Natarajan * bin/tao_orb_tests.lst: * bin/tao_other_tests.lst: Many of the tests were being run in the single threaded configuration, though they shouldn't have been. Fri Dec 12 19:31:00 2003 Balachandran Natarajan * bin/tao_orb_tests.lst: Some tests were run twice. They have been removed. Fri Dec 12 08:53:50 2003 Chad Elliott * bin/DependencyGenerator/DependencyEditor.pm: * bin/DependencyGenerator/DependencyWriter.pm: * bin/DependencyGenerator/GNUObjectGenerator.pm: * bin/DependencyGenerator/ObjectGenerator.pm: * bin/DependencyGenerator/Preprocessor.pm: * bin/depgen.pl: More optimizations to decrease dependency generation times. * bin/DependencyGenerator/DependencyGenerator.pm: Fixed a bug where when replacing paths (using the -A option), it wouldn't replace as much of the path as it could depending on the replacement values. Now they are sorted by length so that the longest values are checked first. Fri Dec 12 08:37:45 2003 Chad Elliott * bin/create_ace_build.pl: When creating a build on Windows and we run into a problem with linking to a target that has a path that is "too long", we resort to the short file name and everyone's happy. Thu Dec 11 18:25:39 2003 Steve Huston * ace/Future.cpp: Added #include "ace/Guard_T.h" and "ace/Recursive_Thread_Mutex.h" if ACE_HAS_THREADS is defined. There are ACE_Guards that use it and AIX Visual Age C++ needs to see these headers to work right. * ace/Future_Set.h: Added #include "ace/Null_Mutex.h" since this file references it in an ACE_Hash_Map_Manager declaration. Even if it may have been available during compile, Visual Age C++ needs to see the header during link time as well, and it only remembers to look at headers that were explicitly included. Thu Dec 11 18:13:29 2003 Steve Huston * ace/OS_NS_netdb.inl: Changed use of naked ::memset() calls to ACE_OS::memset(). Fixes compile errors on AIX 4.3. * ace/OS_NS_stdio.cpp (gets): Added "ACE_STD_NAMESPACE::" prefix to getchar() call; fixes compile error on AIX 4.3. Wed Dec 10 18:20:12 UTC 2003 Johnny Willemsen * ace/Message_Queue.h: Mark deprecated enums with @deprecated so that they appear on the doxygen deprecated page * ace/Thread.h: Moved comment above method instead of between augments. Wed Dec 10 13:16:03 2003 Ossama Othman * ace/UUID.cpp (to_string): Fixed incorrect delete() operator call. Use vector delete[]() instead of scalar delete() since array was allocated with new[](). Wed Dec 10 15:09:13 UTC 2003 Johnny Willemsen * examples/TMCast/Member/member.cpp: Added missing includes Wed Dec 10 13:39:53 UTC 2003 Johnny Willemsen * ace/Log_Msg.cpp: In case of ACE_Log_Msg::SYSLOG is set, log messages to the backend and in case of closing down redirect logging to stderr Wed Dec 10 07:18:44 2003 Chad Elliott * bin/depgen.pl: Fixed a bug introduced by my change on Tue Dec 9 13:00:30 2003. Wed Dec 10 13:17:13 UTC 2003 Johnny Willemsen * examples/IPC_SAP/SSL_SAP/SSL-server-poll.cpp: Added #include of ace/OS_NS_poll.h to get poll() stuff. Wed Dec 10 07:09:10 2003 Chad Elliott * bin/MakeProjectCreator/config/dseventlogadmin.mpb: The dseventlogadmin base project should also inherit from event. Wed Dec 10 12:56:47 UTC 2003 Johnny Willemsen * examples/IPC_SAP/SSL_SAP/SSL-server-fancy.cpp: Added #include of OS_NS_sys_select.h to get ACE_OS::select Wed Dec 10 12:50:13 UTC 2003 Johnny Willemsen * examples/IPC_SAP/SSL_SAP/SSL-client.h: Fixed casing of include Wed Dec 10 10:20:48 UTC 2003 Johnny Willemsen * ace/NT_Service.cpp (wait_for_service_state): Initialize last_state and last_check_point with 0 to fix MinGW compiler warnings. Wed Dec 10 9:31:13 UTC 2003 Johnny Willemsen * ace/Task_Ex_T.h: Removed the ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION_EXPORT directive. It is meaningless to define it with ACE_MESSAGE_TYPE. Thanks to Kobi Cohen-Arazi for reporting this. Wed Dec 10 9:18:12 UTC 2003 Johnny Willemsen * performance-tests/TTCP/ACE-C++/TTCP_ACE_C++.mpc: Removed this file from the repo. This performance-tests contains so many non-portable code that it is impossible to build it on all the platforms we have. Wed Dec 10 8:39:12 UTC 2003 Johnny Willemsen * tests/Tests.bor: Added TSS_Static_Test Tue Dec 9 13:00:30 2003 Chad Elliott * bin/DependencyGenerator/DependencyEditor.pm: * bin/DependencyGenerator/DependencyGenerator.pm: * bin/DependencyGenerator/DependencyWriter.pm: * bin/DependencyGenerator/DependencyWriterFactory.pm: * bin/DependencyGenerator/GNUDependencyWriter.pm: * bin/DependencyGenerator/GNUObjectGenerator.pm: * bin/DependencyGenerator/NMakeDependencyWriter.pm: * bin/DependencyGenerator/NMakeObjectGenerator.pm: * bin/DependencyGenerator/ObjectGenerator.pm: * bin/DependencyGenerator/ObjectGeneratorFactory.pm: * bin/DependencyGenerator/Preprocessor.pm: * bin/depgen.pl: Performance optimizations that decrease dependency generation times by up to 10%. Tue Dec 9 17:49:12 UTC 2003 Johnny Willemsen * ACEXML/apps/svcconf/Svcconf_Handler.cpp: Added #include of ace/OS_NS_strings.h to get ACE_OS::strcasecmp Tue Dec 9 16:33:43 UTC 2003 Don Hinton * include/makeinclude/platform_aix_ibm.GNU: Removed ACELIB from LIBS since both LIBS and ACELIB is added to VLDLIBS in wrapper_macros.GNU. Otherwise -lACE appears twice in the link command. Tue Dec 9 15:51:13 UTC 2003 Johnny Willemsen * ace/Log_Msg.cpp: When ACE_Log_Msg::LOGGER or ACE_Log_Msg::SYSLOG is passed as flags, make sure the correct bit is set in flags_. This fixes the problem reported by A. Kleibeuker that CORBA::ORB_init() fails after ACE_Log_Msg::SYSLOG is passed to the ACE_Log_Msg->open() call. Tue Dec 9 09:28:49 2003 Chad Elliott * bin/DependencyGenerator/DependencyEditor.pm: Removed some unnecessary module usage. * bin/DependencyGenerator/DependencyGenerator.pm: * bin/DependencyGenerator/GNUDependencyWriter.pm: * bin/DependencyGenerator/NMakeDependencyWriter.pm: Avoid copying the array of object files for a speed increase. * bin/DependencyGenerator/Preprocessor.pm: Fixed a bug where #if's inside of c comments would be counted. Fixed a bug where the Preprocessor would not return an array reference if the last file to be processed did not exist. Tue Dec 9 09:23:06 2003 Chad Elliott * ace/OS_NS_Thread.h: * ace/OS_NS_Thread.cpp: Worked around a bug in the VxWorks OS loader that caused complex objects to be constructed multiple times. Instead of having a static ACE_TSS_Keys object within the ACE_TSS_Emulation class, we have a static pointer that is allocated upon the first call of ACE_TSS_Emulation::next_key(). * ace/OS_NS_dlfcn.inl: * ace/OS_NS_string.cpp: * ace/OS_NS_sys_utsname.cpp: * ace/Pipe.cpp: * ace/SV_Message_Queue.h: * ace/SV_Semaphore_Simple.h: * ace/SV_Shared_Memory.h: * ace/config-lite.h: * ace/config-vxworks5.x.h: Added #includes necessary for building on VxWorks. * ace/os_include/os_signal.h: Changed NSIG to ACE_NSIG. * ace/os_include/os_unistd.h: Added #include for gethostname(). * tests/TSS_Static_Test.cpp: * tests/run_test.lst: * tests/tests.mpc: Added a test to ensure that TSS used during static construction functions properly. This test only performs a test if TSS emulation is used. Tue Dec 9 15:09:55 UTC 2003 Don Hinton Thanks to Bruce Jones for the following patches for IRIX. * ace/config-irix6.5.x-sgic++.h: Removed ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION and added ACE_HAS_STD_TEMPLATE_CLASS_MEMBER_SPECIALIZATION. * ace/config-irix6.x-common.h: Added ACE_LACKS_PERFECT_MULTICAST_FILTERING. * ace/config-irix6.x-sgic++-nothreads.h: Added ACE_LACKS_STDINT_H. * include/makeinclude/platform_irix6.x_sgic++.GNU: Set templates = implicit in not yet defined and only add -no_prelink to CCFLAGS if templates != implicit. Mon Dec 8 19:44:04 UTC 2003 Don Hinton * include/makeinclude/rules.bin.GNU: * include/makeinclude/rules.local.GNU: * include/makeinclude/rules.nested.GNU: * include/makeinclude/wrapper_macros.GNU: Make sure that all variables are defined prior to first use to get rid of warnings. * include/makeinclude/rules.lib.GNU: * include/makeinclude/wrapper_macros.GNU: Moved the initial assignment of SOVERSION and SONAME from wrapper_macros.GNU to rules.lib.GNU so that users can set them in a Makefile or in another file, e.g., rules.tao.GNU. Since it must be set prior to it's use in rules.lib.GNU--it's used in a target name that isn't a pattern, so it's evaluated when the file is read--it can't be set later. If versioned_so=1 and the user has not set a value, either in the Makefile or by including a file like rules.tao.GNU that defines it, the default ACE version number will be used. Note that rules.tao.GNU now behaves like rules.lib.GNU and only sets SOVERSION and SONAME if versioned_so=1 and they have not yet been set. Thanks to Milan Cvetkovic for motivating this change. Mon Dec 8 07:38:52 2003 Douglas C. Schmidt * ace/Logging_Strategy.cpp (fini): Check whether there's a reactor configured before trying to access it! Thanks to Yoav Borer for reporting this. Mon Dec 8 16:14:01 UTC 2003 Johnny Willemsen * bin/fuzz.pl: Added a noncvs file check. I found yesterday some ncb and opt files in the TAO part of the repo, and they shouldn't be in the repo. This are msvc6 generated files. So added a noncvs file check which checks whether these files exists, and if they exist, give an error. If people know of more extensions that shouldn't get into the repo, feel free to add them. Mon Dec 8 16:06:12 UTC 2003 Johnny Willemsen Added the ability to better determine whether apps/drwho must be build. By setting rwho=0 into the default.features file that MPC uses no makefiles are generated. For GNU make, just put rwho=0 into your own platform_macros.GNU file or in the specific platform file. * apps/drwho/drwho.mpc: Added requires rwho and removed the usage of nobuild. * apps/drwho/nobuild.mpb: Removed this file from the repo, it is not needed anymore * include/makeinclude/wrapper_macros.GNU: When rwho is not set, set it to 1. This way, we can set in the specific .GNU files rwho=0 when that environment doesn't support rwho. * include/makeinclude/platform_chorus.GNU: * include/makeinclude/platform_chorus4.x_g++.GNU: * include/makeinclude/platform_chorus_ghs.GNU: * include/makeinclude/platform_cygwin32.GNU: * include/makeinclude/platform_mingw32.GNU: * include/makeinclude/platform_vxworks5.x_diab.GNU: * include/makeinclude/platform_vxworks5.x_g++.GNU: * include/makeinclude/platform_vxworks5.x_ghs.GNU: Added rwho=0 because these environments don't have rwho. Mon Dec 8 09:14:39 2003 Chad Elliott * bin/MakeProjectCreator/modules/Driver.pm: Remove trailing slashes and duplicate slashes from relative paths. Sun Dec 7 20:23:34 2003 Balachandran Natarajan * bin/auto_run_tests.pl: Fixed a problem with this checkin "Fri Nov 21 07:24:07 UTC 2003 Don Hinton ". The config_list declaration should be within the loop, else the list will be permanent. This lead to our ACE tests being run thrice, TAO ORB tests twice and other tests once. That change was bogus. All that was required was to remove ":" in the optlist. Finding this out only took 3 hours after getting mislead to search through all the perl scripts for autobuild :(! Sat Dec 6 19:36:19 2003 Steve Huston * ace/os_include/sys/os_stat.h: Added #include "ace/Time_Value.h" in the ACE_HAS_WINCE section because the WinCE version of struct stat uses ACE_Time_Value for time fields. * ace/config-WinCE.h: Added ACE_LACKS_FCNTL_H. eVC doesn't supply this, at least thru version 4.1. * ace/iosfwd.h: Disable most of this file if ACE_LACKS_IOSTREAM_TOTALLY is set. * ace/QtReactor.h: * ace/os_include/os_errno.h: Added /**/ to #include statements to keep eVC from complaining about files not being there. Sat Dec 6 19:27:26 2003 Steve Huston * tests/aix_hack_for_main.cpp: New file that is here to be compiled first, along with Main.cpp, before any real test. This simply gets Main.o ready for all the other tests. This gets things back to where each test need only compile one source file, and the AIX C++ hack to delete the tempinc directory works again. * tests/Makefile.tests: Add aix_hack_for_main to the front of the BIN set of tests. It must be first in order for this hack to work. Sat Dec 6 09:28:17 2003 Balachandran Natarajan * bin/tao_other_tests.lst: A bunch of tests depend on dynamic libraries being available. They have been prevented from running in the static builds. I am sending a separate mail to the authors to fix this. Sat Dec 6 12:55:13 UTC 2003 Johnny Willemsen * examples/Reactor/WFMO_Reactor/APC.dsp: * examples/Reactor/WFMO_Reactor/APCTest.dsp: * examples/Reactor/WFMO_Reactor/WFMO_Reactor.dsw: The APC.dsp file was a normal test file, but it should be a binary file, to prevent all kinds of problems by adding and removing a file with the same name, just removed APC.dsp and added APCTest.dsp as binary. Also updated the corresponding dsw file. This should fix an error in the msvc6 debug build when cygwin cvs is used. Fri Dec 5 21:48:43 2003 Balachandran Natarajan * ace/CORBA_macros.h: Fixed a typo in the documentation. Thanks to Thomas Lockhart for pointing it out. Fri Dec 5 10:20:23 UTC 2003 Johnny Willemsen * performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp: Removed not used local variable Fri Dec 5 07:28:13 UTC 2003 Johnny Willemsen * tests/Vector_Test.cpp: