summaryrefslogtreecommitdiffstats
path: root/Source/cmDynamicLoader.cxx
Commit message (Collapse)AuthorAgeFilesLines
* clang-tidy: modernize-use-autoRegina Pfeifer2019-09-101-4/+2
| | | | | | Set the MinTypeNameLength option to an impossibly high value in order to limit the diagnostics to iterators. Leave new expressions and cast expressions for later.
* clang-tidy: Use `= default`Regina Pfeifer2019-01-251-3/+1
| | | | | | Suppress some cases in `Source/cmGeneratorExpressionNode.cxx` and `Source/cmUVHandlePtr.h` where a few older compilers require a user-defined default constructor (with `{}`).
* Meta: modernize old-fashioned loops to range-based `for`.Pavel Solodovnikov2017-09-121-4/+2
| | | | | | Changes done via `clang-tidy` with some manual fine-tuning for the variable naming and `auto` type deduction where appropriate.
* Use C++11 nullptrDaniel Pfeifer2017-08-241-2/+2
|
* Pass large types by const&, small types by valueDaniel Pfeifer2017-06-031-4/+3
|
* Use CM_DISABLE_COPYDaniel Pfeifer2017-04-241-2/+0
|
* Use quotes for non-system includesDaniel Pfeifer2017-04-111-1/+1
| | | | | | | | | | | | | Automate with: git grep -l '#include <cm_' -- Source \ | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g' git grep -l '#include <cmsys/' -- Source \ | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g' git grep -l '#include <cm[A-Z]' -- Source \ | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
* IWYU: use pragma exportDaniel Pfeifer2017-03-231-1/+0
|
* Simplify CMake per-source license noticesBrad King2016-09-271-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* fix a load of include-what-you-use violationsDaniel Pfeifer2016-09-031-0/+7
|
* Make sure unnused parameters are /*named*/Daniel Pfeifer2016-08-161-2/+4
|
* use CM_NULLPTRDaniel Pfeifer2016-06-281-2/+2
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-31/+23
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* strings: Remove cmStdString referencesBen Boeckel2014-03-081-4/+4
| | | | | | | | | | | Casts from std::string -> cmStdString were high on the list of things taking up time. Avoid such implicit casts across function calls by just using std::string everywhere. The comment that the symbol name is too long is no longer relevant since modern debuggers alias the templates anyways and the size is a non-issue since the underlying methods are generated since it's inherited.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* BUG: Removed compiled-in CMAKE_SHARED_MODULE_PREFIX and ↵Brad King2006-03-161-13/+0
| | | | CMAKE_SHARED_MODULE_SUFFIX for loaded commands in favor of using the settings from the platform files.
* ENH: Cleanup DynamicLoader so that the symbols have more consistent names, ↵Andy Cedilnik2006-03-161-240/+26
| | | | start using dynamic loader from kwsys in CMake
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-9/+9
|
* ENH: fix for bug 2808, use dlopen on new OSX versionsBill Hoffman2006-02-161-11/+9
|
* ENH: fix compile error bug# 2020 on macBill Hoffman2005-07-151-1/+1
|
* ENH: shorten the symbols a bit and remove maps of std::string for map of ↵Bill Hoffman2004-09-291-4/+4
| | | | cmStdString
* bug fix for 986Bill Hoffman2004-07-191-3/+3
|
* BUG: don't crash when loading a module that does not existBill Hoffman2004-02-171-4/+11
|
* ENH: use cmake variables for cmDynamicLoader to figure out library prefix ↵Bill Hoffman2004-02-161-46/+13
| | | | and extensions
* BUG: fix mingw module load testsBill Hoffman2004-02-161-0/+4
|
* ENH: add the unix makefile generator as an option from the windows GUI, this ↵Bill Hoffman2003-08-211-1/+1
| | | | builds with mingw, cygwin, and combinations of make cl, bcc32
* Remove some borland 6 warningsBill Hoffman2003-05-281-7/+6
|
* fix one warningKen Martin2003-04-171-0/+3
|
* fix one warningKen Martin2003-04-161-1/+1
|
* Attempt to make unloading work on OSXAndy Cedilnik2003-04-161-0/+1
|
* BUG: fixes for hpBill Hoffman2003-03-111-1/+1
|
* fix free before useBill Hoffman2002-12-051-2/+3
|
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-3/+3
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* Remove memory leak caused by cmDynamicLoader not being deleted properlyKen Martin2002-10-091-3/+2
|
* BUG: fix load command stuff for cygwin and cleanup at exitBill Hoffman2002-09-301-3/+5
|
* Add accessor for Flushing cacheAndy Cedilnik2002-09-241-0/+5
|
* fix for cygwin and nmake that does not define WIN32Bill Hoffman2002-09-241-0/+4
|
* Fix cache for non void* typesAndy Cedilnik2002-09-231-4/+4
|
* Keep track of libraries so that you can load them as many times as you want...Andy Cedilnik2002-09-231-9/+116
|
* Fix extension and suffix for modules on macAndy Cedilnik2002-09-231-2/+2
|
* ENH: Pointer-to-function to pointer-to-data casts are not even allowed in ↵Brad King2002-09-111-14/+56
| | | | strict C. Re-implemented this conversion in pure C++ using a casting trick with an extra level of indirection.
* ERR: Cast from pointer-to-data to pointer-to-function is not allowed in C++. ↵Brad King2002-09-101-42/+14
| | | | The cast needed by cmDynamicLoader::GetSymbolAddress is now hidden in a C file.
* removed some coutsKen Martin2002-09-051-10/+9
|
* added plugin supportKen Martin2002-08-211-0/+234