Commit Graph

5516 Commits

Author SHA1 Message Date
Brad King f01bd91336 COMP: Using KWSys auto_ptr to avoid cross-platform problems. 2006-03-16 16:04:30 -05:00
Brad King 68ad66444b ENH: Adding auto_ptr to KWSys to provide a conforming version everywhere. 2006-03-16 16:04:05 -05:00
Brad King 520b792f6f COMP: Fix for auto_ptr usage on VC6's broken implementation. 2006-03-16 15:50:21 -05:00
Brad King 77c65b954e BUG: Fixed generation of mismatched IF in install script. This bug was introduced during the m_ sweep. 2006-03-16 14:51:54 -05:00
Brad King 8893db3539 COMP: Fix malloc/free declaration for windows compilers. 2006-03-16 14:44:13 -05:00
Brad King 180a45c8c7 BUG: Do not leak the ofstream object in append mode. Just use an auto_ptr for both cases. 2006-03-16 14:14:15 -05:00
Brad King 3b43c29a30 ENH: Using patch from Frans Englich to clarify error messages. 2006-03-16 11:57:36 -05:00
Andy Cedilnik 124860a9ee COMP: Make members protected so that subclass can use them 2006-03-16 11:34:58 -05:00
Andy Cedilnik 867e41d23b BUG: Couple of memcheck bugs: Log files should really be different for test and memcheck. Also make sure to not trunkate the output of the test until the valgrind or any other checking is pefrormed. 2006-03-16 11:29:12 -05:00
Bill Hoffman e975836292 ENH: not all messages are errors 2006-03-16 11:28:13 -05:00
Bill Hoffman a1f22bde81 ENH: don't put the default framework path in a -F option 2006-03-16 11:27:56 -05:00
Andy Cedilnik 974e9d4667 COMP: Fix problem with namespace 2006-03-16 11:21:01 -05:00
Andy Cedilnik f483e48d2a ENH: Cleanup DynamicLoader so that the symbols have more consistent names, start using dynamic loader from kwsys in CMake 2006-03-16 11:01:05 -05:00
Ken Martin 4102949bf9 STYLE: minor comment cleanups 2006-03-16 10:53:14 -05:00
Ken Martin fb5d92ea37 ENH: m_ cleanup for curses 2006-03-16 10:44:55 -05:00
Ken Martin 4b83a08b37 ENH: a warning fix and some more cleanup 2006-03-16 09:33:23 -05:00
Andy Cedilnik 438c49f2a3 STYLE: Nightly Version update 2006-03-16 09:17:45 -05:00
Ken Martin fdb605dd09 BUG: fix warning 2006-03-15 16:32:40 -05:00
Bill Hoffman 5208004560 ENH: fix up this changes for mac 2006-03-15 12:02:34 -05:00
Ken Martin da279f0041 BUG: some UNIX fixes for my m_ commit 2006-03-15 11:38:47 -05:00
Andy Cedilnik 886e9bedc7 STYLE: Nightly Version update 2006-03-15 11:26:47 -05:00
Ken Martin 3d96e52261 STYLE: some m_ to this-> cleanup 2006-03-15 11:02:08 -05:00
Andy Cedilnik 609af5c969 ENH: Add svn cleanup before running svn 2006-03-15 09:23:35 -05:00
Andy Cedilnik e48dc06402 ENH: Allow multiple install directories 2006-03-15 09:22:51 -05:00
Bill Hoffman 88bd3b5281 ENH: add support for removing language flags from shared library and shared module link commands 2006-03-14 14:03:16 -05:00
Brad King 8e702ac5a8 BUG: Fixed object file name construction to use Convert method for relative path conversion. Also fixed test of result to check explicitly for a full path. 2006-03-14 11:35:37 -05:00
Brad King c332ff41f1 BUG: Avoid full paths and spaces when constructing object file names. 2006-03-14 10:14:52 -05:00
Brad King 6018c27993 BUG: Clarified confusing error message. 2006-03-14 09:37:50 -05:00
Andy Cedilnik 1b6912f18b STYLE: Nightly Version update 2006-03-14 02:31:47 -05:00
Andy Cedilnik 983ed68f2e STYLE: Fix style checker 2006-03-13 16:45:21 -05:00
Mathieu Malaterre b4654c2d3a COMP: Fix warning 2006-03-13 15:57:40 -05:00
Brad King 2b316f169c ENH: Introducing new policy to construct more unique object file names. This should allow multiple sources with the same file name but different FULL paths to be added to a single target. 2006-03-13 15:19:03 -05:00
Mathieu Malaterre 4f9efe7502 BUG: Fix problem on MacOSX, by disabling part of the test. 2006-03-13 14:39:50 -05:00
Mathieu Malaterre 7f5222d400 ENH: Fix dashboard with coverage 2006-03-13 11:27:12 -05:00
Mathieu Malaterre 7b36bf6cfd ENH: Do not build the library if we are not doing Testing 2006-03-13 10:49:35 -05:00
Mathieu Malaterre 325baa33d2 ENH: Make test usable from command line 2006-03-13 10:27:42 -05:00
Andy Cedilnik 3c7aeb4073 STYLE: Nightly Version update 2006-03-13 02:31:23 -05:00
Bill Hoffman 83daad3ec2 ENH: remove warning 2006-03-12 10:03:03 -05:00
Bill Hoffman 1cda55e682 ENH: remove test until it works 2006-03-12 09:43:30 -05:00
Andy Cedilnik 637c10dc96 STYLE: Nightly Version update 2006-03-12 02:26:31 -05:00
Bill Hoffman 5a8e1e4942 ENH: remove print 2006-03-11 11:53:30 -05:00
Bill Hoffman 08bb4d52ba ENH: try to clean up the search for programs 2006-03-11 11:52:57 -05:00
Mathieu Malaterre 6420337317 BUG: Fix for MINGW32 2006-03-11 10:09:33 -05:00
Mathieu Malaterre 46096c08a5 ENH: Add support for LastError on HPUX 2006-03-11 09:59:16 -05:00
Mathieu Malaterre 347efdedd5 ENH: Also look into data segment (consistant with other implementation) 2006-03-11 09:47:41 -05:00
Andy Cedilnik 6f3ef5aa92 STYLE: Nightly Version update 2006-03-11 02:33:52 -05:00
Bill Hoffman d2f7b0c64f ENH: undo last change because it broke the dashboard 2006-03-10 17:37:47 -05:00
Bill Hoffman ac432c7e7c ENH: add a new FILE SYSTEM_PATH that allows you to read a environment variable with a path in it. 2006-03-10 16:53:04 -05:00
Bill Hoffman 7387cb5850 ENH: fix find program to look for .com and .exe correctly and not return files with no extension on windows 2006-03-10 16:52:28 -05:00
Mathieu Malaterre 8e7d92049e ENH: Add documentation on the problem with system wide path for looking up dynamic libraries. STYLE: Fix trailing white spaces 2006-03-10 16:03:26 -05:00
Mathieu Malaterre 87fdcd6eb6 BUG: Need a / for Visual Studio build 2006-03-10 15:42:33 -05:00
Mathieu Malaterre 7763163e4b BUG: Do the proper path 2006-03-10 15:38:35 -05:00
Mathieu Malaterre aaa780d6a1 BUG: Need a trailing slash 2006-03-10 15:12:04 -05:00
Mathieu Malaterre fe66b15da4 BUG: Fix problem with in the path 2006-03-10 15:08:40 -05:00
Andy Cedilnik 862f5df25c STYLE: Fix some style issues 2006-03-10 15:03:09 -05:00
Mathieu Malaterre c0161e9e57 BUG: Trying to get testDynamicLoader to work on Solaris and SunOS, where current directory is not lookup when doing dlopen 2006-03-10 14:53:42 -05:00
Bill Hoffman 89e5fc63fe STYLE: fix line lengths 2006-03-10 13:54:57 -05:00
Mathieu Malaterre 509e383aac STYLE: Remove trailing whitespaces 2006-03-10 13:34:41 -05:00
Mathieu Malaterre f90e754100 BUG: Fix DynamicLoader implementation on MacOSX (using old API) 2006-03-10 13:34:03 -05:00
Mathieu Malaterre 5623ef913f ENH: Add trailing whitespace 2006-03-10 13:33:28 -05:00
Andy Cedilnik 634343c3e8 STYLE: Fix some style issues 2006-03-10 13:06:26 -05:00
Andy Cedilnik f01afc89f5 STYLE: Cleanup trailing spaces 2006-03-10 12:47:17 -05:00
Mathieu Malaterre 5fe4a9dcef STYLE: Make sure to use the proper cast. 2006-03-10 12:01:29 -05:00
Mathieu Malaterre 97aca504d8 ENH: Make sure that we find the proper symbol and not the one that start with _. STYLE: Remove an old style cast 2006-03-10 11:57:43 -05:00
Mathieu Malaterre 011de35360 ENH: Hopefully have the DynamicLoader to the proper thing. 2006-03-10 11:32:09 -05:00
Bill Hoffman 6b47b28867 ENH: fix line length style stuff 2006-03-10 11:13:15 -05:00
Bill Hoffman e0be3c7125 ENH: avoid adding junk into paths 2006-03-10 11:12:53 -05:00
Mathieu Malaterre d633bac7bc BUG: Make sure to have proper dependencies 2006-03-10 10:28:43 -05:00
Bill Hoffman 9345da20f3 ENH: use CMAKE_DL_LIBS and not dl directly as it does not always exist 2006-03-10 10:26:33 -05:00
Mathieu Malaterre ae7fdcf6a9 COMP: Fix cygwin build 2006-03-10 10:23:48 -05:00
Mathieu Malaterre fe6fc8192c COMP: Fix compilation on MacOSX (common symbols not allowed with MH_DYLIB output format) 2006-03-10 10:19:45 -05:00
Andy Cedilnik 4909154387 ENH: Add package to bundle test 2006-03-10 10:12:26 -05:00
Andy Cedilnik 09b34fa796 COMP: Add missing include 2006-03-10 10:07:42 -05:00
Andy Cedilnik 187821af43 STYLE: Nightly Version update 2006-03-10 02:32:13 -05:00
Mathieu Malaterre 87efbe2342 BUG: Remove comment 2006-03-09 17:16:20 -05:00
Mathieu Malaterre 69dd8ee7e7 ENH: remove test temporarily 2006-03-09 17:15:54 -05:00
Mathieu Malaterre 20c680e7fc ENH: Still more coverage of the DynamicLoader 2006-03-09 17:08:33 -05:00
Mathieu Malaterre 117c871790 ENH: Add a file to generate the lib 2006-03-09 17:06:55 -05:00
Mathieu Malaterre 9b55f2579a ENH: Improve test coverage 2006-03-09 16:40:34 -05:00
Mathieu Malaterre 7ca1c6d2d8 STYLE: Minor style 2006-03-09 16:40:00 -05:00
Bill Hoffman 8cdb87eaa7 ENH: if CMakeCache.txt has been removed, then automatically remove CMakefiles/*.cmake 2006-03-09 15:47:18 -05:00
Mathieu Malaterre 81922f811a ENH: Carefully turn testing of DynamicLib on 2006-03-09 14:41:21 -05:00
Mathieu Malaterre 1defe94e31 STYLE: Minor style 2006-03-09 14:36:53 -05:00
Mathieu Malaterre 428bc24823 ENH: Adding initial test for DynamicLoader 2006-03-09 14:35:56 -05:00
Bill Hoffman 4c5ba06fa1 ENH: use a cmake script to do the clean step, this allows for large numbers of files to be removed without making the command line too long 2006-03-09 14:30:35 -05:00
Andy Cedilnik 26e1fea95b STYLE: Fix some style issues 2006-03-09 11:57:43 -05:00
Bill Hoffman cb95c0a5bc ENH: fix a bug in the find path stuff so that it can find headers deep in frameworks 2006-03-09 11:35:38 -05:00
Andy Cedilnik 6503a0eecc STYLE: Fix some style issues 2006-03-09 11:17:10 -05:00
Andy Cedilnik 10d1b20790 BUG: Fix problem on Wacom system with global symbolic targets 2006-03-09 09:53:30 -05:00
Andy Cedilnik 95ea0272de STYLE: Fix style problems 2006-03-09 08:32:08 -05:00
Andy Cedilnik 12d406675a STYLE: Nightly Version update 2006-03-09 02:41:51 -05:00
Bill Hoffman e97157feb1 ENH: make sure system path is not added unless asked for 2006-03-08 18:16:01 -05:00
Andy Cedilnik e8affe5cc2 STYLE: Lots of formating to remove style problems 2006-03-08 16:33:39 -05:00
Andy Cedilnik 3d44b9a354 ENH: Add additional subdirectory to improve testing and to allow cleanup when testing cpack 2006-03-08 14:02:30 -05:00
Andy Cedilnik c14a06c8e0 BUG: Handle version with multiple dots 2006-03-08 13:59:33 -05:00
Brad King bde71e9668 ENH: Enabled process tree killing on AIX. 2006-03-08 13:06:46 -05:00
Brad King 6fb7bac013 ENH: Enabled process tree killing on the SGI. 2006-03-08 12:42:59 -05:00
Brad King 95f86d5d6f ENH: Enabled process tree killing for FreeBSD and Sun. 2006-03-08 12:36:14 -05:00
Brad King 17d79233ff ENH: Enabled process tree killing on HP-UX. 2006-03-08 12:12:37 -05:00
Brad King c31c18bb9c BUG: Do not leak ps FILE when the process starts but reading the header fails. 2006-03-08 11:57:41 -05:00
Brad King a155eacec3 ENH: Added a way to quickly enable manual testing of grandchild killing. 2006-03-08 11:39:34 -05:00
Brad King 3c39accee9 ENH: Added implementation of process tree killing that runs "ps" to traverse the tree. 2006-03-08 11:38:51 -05:00
Andy Cedilnik 892a439fad BUG: Remove some old legacy code and remove memory leak 2006-03-08 10:52:29 -05:00
Mathieu Malaterre d91bd3dbd3 BUG: Including file within a namespace{} is dangerous(unless symbols are within an extern C). Also update documentation about special case for MacOSX 2006-03-08 09:16:54 -05:00
Andy Cedilnik cdc3c9d18b STYLE: Nightly Version update 2006-03-08 02:43:44 -05:00
Andy Cedilnik ccac9542b1 ENH: Add a way to overwrite some preferences and ignore certain targets 2006-03-07 15:31:05 -05:00
Brad King 6d4b7425fd ENH: Add CMAKE_COMMAND and CMAKE_ROOT variables when running in script mode. This partially addresses bug#2828. 2006-03-07 14:46:50 -05:00
Brad King c21a61c91a BUG: Check for whether to add -C to package rule should check for a . in the first character not the second. 2006-03-07 14:38:52 -05:00
Andy Cedilnik e82de6a5d5 COMP: Fix warnings 2006-03-07 12:03:11 -05:00
Brad King 19f5d128e8 BUG: Most platforms other than Linux seem to require executable permissions on their shared libraries. 2006-03-07 10:05:30 -05:00
Andy Cedilnik 96a8f94b85 STYLE: Nightly Version update 2006-03-07 02:12:10 -05:00
Bill Hoffman 3f532f5489 ENH: add support for language flags at rule expansion time 2006-03-06 15:14:23 -05:00
Mathieu Malaterre f4fb2ca779 COMP: Fix compilation on MacOSX 2006-03-06 14:30:46 -05:00
Mathieu Malaterre 12ebc4339a ENH: Compile DynamicLoader 2006-03-06 14:07:50 -05:00
Mathieu Malaterre ffd4bcd02b ENH: Adding kwsys implementation for a DynamicLoader class. Copy from itkDynamicLoader, with patch from cmDynamicLoader 2006-03-06 14:02:55 -05:00
Bill Hoffman eee281c3a6 ENH: add missing cmake depend hacks 2006-03-06 13:43:58 -05:00
Bill Hoffman 3aec2488ff ENH: add missing cmake include 2006-03-06 13:34:33 -05:00
Mathieu Malaterre 73e1d9abd9 COMP: Some STL implementation do not provide clear on std::string 2006-03-06 13:02:13 -05:00
Mathieu Malaterre e34d666fc7 BUG: Need to reset internal structure in case of multiple calls to Load 2006-03-06 11:57:05 -05:00
Mathieu Malaterre 70e6fe3f9b ENH: Redo implementation of itkDirectory to use kwsys (avoid duplicating code). 2006-03-06 10:12:02 -05:00
Andy Cedilnik 174cad0994 STYLE: Nightly Version update 2006-03-06 02:11:59 -05:00
Brad King 2b7e43961c BUG: Fix for generated install scripts to support prefixes with trailing slashes or just a single slash. 2006-03-05 09:09:12 -05:00
Bill Hoffman a2bfdf9542 ENH: fix old style parsing of FIND commands and fix broken tests 2006-03-05 08:38:24 -05:00
Andy Cedilnik dc418875cf STYLE: Nightly Version update 2006-03-05 02:11:30 -05:00
Andy Cedilnik 1c14084cbc STYLE: Nightly Version update 2006-03-04 02:22:32 -05:00
Bill Hoffman 4cdfc76c49 ENH: make sure NAMES tag is not required for name argument, fixes msys generator 2006-03-03 23:00:09 -05:00
Brad King 06846c4c07 ENH: Added PERMISSIONS option to the TARGETS mode of the INSTALL command. 2006-03-03 19:29:35 -05:00
Brad King a2e136fd17 ENH: Added PERMISSIONS and RENAME options to the INSTALL command's FILES and PROGRAMS mode, and corresponding support to FILE(INSTALL). Default permissions for shared libraries on non-Windows/non-OSX platforms no longer has the execute bit set. 2006-03-03 18:44:32 -05:00
Brad King 5792dc8da8 ENH: Replaced UpdateLocation method with call to GetLocation. Added comment about problems with the LOCATION attribute. 2006-03-03 18:06:44 -05:00
Andy Cedilnik ce51e361fe ENH: Check package maker version 2006-03-03 15:04:28 -05:00
Andy Cedilnik 49c0a4b52a COMP: Oops, typo 2006-03-03 14:28:28 -05:00
Andy Cedilnik bc4e5581ee ENH: Add support for exporting graphviz of the project dependencies 2006-03-03 14:24:31 -05:00
Brad King 93c95f1cc5 BUG: Fixed installation of MacOSX Bundle executables and the corresponding install_name remapping support. Extended the BundleTest test to check that this all works. Part of these fixes required changing the signature of AppendDirectoryForConfig in all generators. It now accepts prefix and suffix strings to deal with whether leading or trailing slashes should be included with the configuration subdirectory. 2006-03-03 12:58:48 -05:00
Andy Cedilnik a460c60843 ENH: Add verbose flag to package maker and add CFBundleIdentifier string 2006-03-03 10:52:26 -05:00
Andy Cedilnik 056c307e50 STYLE: Nightly Version update 2006-03-03 02:34:12 -05:00
Bill Hoffman be375b1bcd ENH: fix std in kwsys, has to be kwsys_stl 2006-03-02 21:33:57 -05:00
Bill Hoffman 8aa178639c ENH: remove warning 2006-03-02 20:11:01 -05:00
Bill Hoffman 0db4cb0d96 ENH: removed unused methods after find changes 2006-03-02 15:03:36 -05:00
Bill Hoffman 2000940136 ENH: pass CMAKE_MODULE_PATH into try compile projects 2006-03-02 14:39:12 -05:00
Bill Hoffman 6fadc10e01 ENH: fix spelling errors in docs 2006-03-02 13:43:39 -05:00
Bill Hoffman a5825cd11a ENH: check in new find stuff 2006-03-02 13:30:22 -05:00
Bill Hoffman 2f78d874a7 ENH: fix for bug 2921, move _OVERRIDE variable to a better position to allow changing _INIT variables 2006-03-02 07:52:52 -05:00
Andy Cedilnik f2922860c6 STYLE: Nightly Version update 2006-03-02 02:17:27 -05:00
Brad King 54732b0607 ENH: Finished CMAKE_<CONFIG>_POSTFIX feature and documented it. The value of this variable is used when a library target is created to initialize the <CONFIG>_POSTFIX target property. The value of this property is used (even for executables) to define a per-configuration postfix on the name of the target. Also enabled use of the OUTPUT_NAME property for non-executable targets. 2006-03-01 22:45:13 -05:00
Brad King 8d9a997beb ENH: Cleaned up generation of directory-level rules and their support structure. The directorystart rule has been removed in favor of checking the build system in the subdirectory makefile first. The "directory" rule has been renamed "all" since it corresponds to the "all" pass anyway (as against "clean"). Also fixed directory-level rule for preinstall. 2006-03-01 18:54:17 -05:00
Brad King 007421e19c BUG: Check for whether to add BUILD_TYPE to install rule should check for a . in the first character not the second. 2006-03-01 18:49:52 -05:00
Andy Cedilnik ff50bb9f77 BUG: Even more VS8 issues 2006-03-01 13:05:57 -05:00
Andy Cedilnik 98dc57c0ae BUG: More VS8 fixes 2006-03-01 12:50:03 -05:00
Andy Cedilnik 07260a6f27 ENH: Cleanup global targets even more and potentially fix Xcode 2006-03-01 08:28:39 -05:00
Andy Cedilnik d231a422ed STYLE: Nightly Version update 2006-03-01 02:32:30 -05:00