summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog
Commit message (Collapse)AuthorAgeFilesLines
* Revise C++ coding style using clang-format-6.0Kitware Robot2018-06-0110-20/+36
| | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * 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.
* Windows: Embed version information into cmake-guiBrad King2018-01-301-0/+4
| | | | | In commit 5b9da05b7a (Windows: Embed version information into CMake binaries, 2017-10-25) we accidentally left out cmake-gui.
* Merge topic 'RemoveKDevelop3'Brad King2018-01-251-9/+0
|\ | | | | | | | | | | | | | | 551bd0b3 Generators: adjust error message for the removed KDevelop3 generator 9198e6a2 Generators: remove KDevelop3 generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1688
| * Generators: remove KDevelop3 generatorAlex Neundorf2018-01-241-9/+0
| | | | | | | | | | | | | | | | | | | | The last KDevelop3 release was many years ago, in 2008 I think. I haven't seen or read about anybody using KDevelop 3 since a long time, so I think it can safely be removed from CMake. KDevelop 4 (first released in 2010) has its own proper CMake support now, independent from this generator. Alex
* | Extend libuv file translate mode workaround to all executablesBrad King2018-01-231-0/+1
|/ | | | | | | | | | | | | | | Since libuv commit v1.14.1~7 (win: add uv__once_init() calls, 2017-08-30) the libuv initialization of the file translate mode may take place even if we do not use a uv loop. This change was included in our libuv update commit f4a26c748b (libuv 2018-01-19). Therefore use of libuv even through `cmSystemTools::GetRealPath` in any executable may trigger its file translate mode setting. Factor out the logic added to `cmake.exe` by commit v3.9.0-rc4~10^2 (cmake: Fix default file translate mode when using libuv, 2017-06-13) and re-use to initialize all executables. Issue: #16962
* Various typo fixesLuz Paz2018-01-031-1/+1
| | | | Some are user-facing. Others are source comments.
* cmake-gui: Update RegexExplorer for changes to KWSysBrad King2017-12-051-2/+2
|
* Merge topic 'cmake-gui-qt-static-windows'Brad King2017-11-142-1/+11
|\ | | | | | | | | | | | | | | 3a993c49 Tests: Add options to disable tests requiring Qt 27a73f16 cmake-gui: Add build option to use Qt5 windows plugin statically Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1476
| * cmake-gui: Add build option to use Qt5 windows plugin staticallyBrad King2017-11-132-1/+11
| | | | | | | | This will enable builds against a static Qt5 on Windows.
* | cmake-gui: Use cmake::Open to open generated projectGregor Jasny2017-10-134-28/+46
|/
* Merge topic 'cmake-gui-high-dpi'Brad King2017-09-181-0/+4
|\ | | | | | | | | | | | | 6fb36572 cmake-gui: Enable High DPI scaling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1271
| * cmake-gui: Enable High DPI scalingLuis Caro2017-09-151-0/+4
| | | | | | | | | | | | | | | | | | | | This Qt flag enables UI scaling based on scale factor provided by the operating system. Only supported on versions of Qt >= 5.6. The flag has no effect on macOS, where high DPI support is already enabled as a setting in the bundle's info.plist. Fixes: #17026
* | Use C++11 override instead of CM_OVERRIDEBrad King2017-09-151-2/+2
|/ | | | | | | | We now require C++11 support including `override`. Drop use of the old compatibility macro. Convert references as follows: git grep -l CM_OVERRIDE -- '*.h' '*.hxx' '*.cxx' | xargs sed -i 's/CM_OVERRIDE/override/g'
* IWYU: Mark cmConfigure.h with pragma: keepDaniel Pfeifer2017-08-263-3/+3
| | | | Also remove `#include "cmConfigure.h"` from most source files.
* Use C++11 nullptrDaniel Pfeifer2017-08-247-20/+18
|
* Merge topic 'qt-pass-point-by-value'Brad King2017-06-092-2/+2
|\ | | | | | | | | | | | | 994beddb CMakeSetupDialog: Pass QPoint by value Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !946
| * CMakeSetupDialog: Pass QPoint by valueDaniel Pfeifer2017-06-082-2/+2
| |
* | QtDialog/FirstConfigure: remove 'return' from void expressionDaniel Pfeifer2017-06-081-1/+1
|/
* cmake: initialize with Role that controls which commands to registerDaniel Pfeifer2017-05-082-2/+2
|
* Merge topic 'c++11-iwyu'Brad King2017-05-081-0/+6
|\ | | | | | | | | | | | | | | | | | | | | 50dd15af QtDialog: block include-what-you-use f3e21613 cmServer: include what you use 9535823b IWYU: map system symbols to libuv 6a91ee02 IWYU: add mapping for cm::auto_ptr 7165065f cmInstalledFile: add cmConfigure.h as first #include Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !811
| * QtDialog: block include-what-you-useDaniel Pfeifer2017-05-051-0/+6
| |
* | CMakeSetupDialog: use multi-argDaniel Pfeifer2017-05-051-6/+3
| |
* | QCMakeCacheView: prever QVector over QListDaniel Pfeifer2017-05-051-2/+2
| |
* | QtDialog: add reference in foreachDaniel Pfeifer2017-05-053-9/+9
| |
* | QCMakeCacheView: avoid temporary containers for iterationDaniel Pfeifer2017-05-051-4/+10
| |
* | QtDialog: add missing emit keywordsDaniel Pfeifer2017-05-052-5/+5
|/
* Disable clang-tidy checks on files generated by QtDaniel Pfeifer2017-04-281-0/+13
|
* cmake-gui: Fix display of icon under Wayland.Clinton Stimpson2017-04-172-1/+1
| | | | Fixes: #16797
* Use quotes for non-system includesDaniel Pfeifer2017-04-115-7/+7
| | | | | | | | | | | | | 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'
* Add self-sufficient wrapper for <sys/stat.h>Daniel Pfeifer2017-03-241-1/+1
|
* cmake-gui: trim spaces from user-created variable namesClinton Stimpson2017-01-201-1/+1
| | | | Fixes: #15955
* cmake-gui: Add MATCHALL option to Regex ExplorerGregor Jasny2017-01-103-7/+65
| | | | Closes: #16204
* cmake-gui: Clarify help string on toolset selection fieldBrad King2016-12-011-1/+1
| | | | | | | The text `-T parameter` may be read as an example value for the field, but the `-T` part should not be included. Clarify the wording. Closes: #16475
* Fix several include-what-you-use findingsDaniel Pfeifer2016-11-081-0/+2
|
* Encoding: Remove option to use ANSI code page internallyClinton Stimpson2016-11-021-2/+0
| | | | | | The switch to use UTF-8 encoding has been defaulted to on for quite some time since commit v3.2.0-rc1~116^2 (Encoding: Switch to use UTF-8 internally by default on Windows, 2014-12-26).
* cmState: Move CacheEntryType enum to separate namespaceStephen Kelly2016-10-191-13/+13
| | | | Port dependent code to the change.
* Simplify CMake per-source license noticesBrad King2016-09-2716-190/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merge topic 'qtdialog-lib-paths'Brad King2016-09-231-0/+2
|\ | | | | | | | | 48624b3c cmake-gui: Do not remove library paths for Qt5 plugins.
| * cmake-gui: Do not remove library paths for Qt5 plugins.Clinton Stimpson2016-09-221-0/+2
| | | | | | | | | | Not removing library paths is necessary for QFileDialog to function correctly on Linux when using Qt5.
* | cmake-gui: Add button to open the generated projectNico Heßler2016-09-133-0/+46
| | | | | | | | | | | | Look for VS or Xcode project files at the top of the build tree. If present, enable an "Open Project" button to open them through the OS desktop services.
* | QCMakeCacheView: simplify boolean expressionDaniel Pfeifer2016-09-081-4/+1
| |
* | QCMakeCacheView: no else after returnDaniel Pfeifer2016-09-081-3/+5
| |
* | QtDialog: fix clang-tidy warningsDaniel Pfeifer2016-09-069-33/+51
| |
* | fix a load of include-what-you-use violationsDaniel Pfeifer2016-09-031-0/+2
| |
* | Added CMake_BUILD_DEVELOPER_REFERENCE optionKonstantin Podsvirov2016-08-161-0/+0
| | | | | | | | | | | | | | | | By default is OFF and marked as advanced. It's also add custom cmake-developer-reference (ALL) target Generated output will be installed to ${CMAKE_DOC_DIR}/developer-reference.
* | Source/QtDialog: Run clang-formatBrad King2016-07-051-1/+1
| |
* | cmake-gui: Add build option to use Qt5 xcb plugin staticallyBrad King2016-06-302-0/+11
| | | | | | | | This will enable builds against a static Qt5.
* | cmake-gui: Reference LGPLv3 when redistributing QtBrad King2016-06-172-7/+8
|/ | | | | | | | | Download http://www.gnu.org/licenses/lgpl.txt and place it as Licenses/LGPLv3.txt in our source tree. When building cmake-gui, use option CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL to enable notification in the "About" dialog of how the distribution of Qt is licensed. Install the license file as ${CMAKE_ROOT}/Licenses/LGPLv3.txt so that the dialog can display a path to it.
* cmake-gui: Teach Qt5 where plugins are when launched through a symlinkRobert Maynard2016-06-091-0/+34
| | | | | | | | When we are on OSX and we are launching cmake-gui from a symlink, the application will fail to launch as it can't find the qt.conf file which tells it what the name of the plugin folder is. We need to add this path BEFORE the application is constructed as that is what triggers the searching for the platform plugins
* Revise C++ coding style using clang-formatKitware Robot2016-05-1616-1254/+1038
| | | | | | | | | | | | | 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.