summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMakeCacheView.cxx
Commit message (Collapse)AuthorAgeFilesLines
* 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'
* Use C++11 nullptrDaniel Pfeifer2017-08-241-2/+2
|
* QCMakeCacheView: prever QVector over QListDaniel Pfeifer2017-05-051-2/+2
|
* QtDialog: add reference in foreachDaniel Pfeifer2017-05-051-4/+4
|
* QCMakeCacheView: avoid temporary containers for iterationDaniel Pfeifer2017-05-051-4/+10
|
* Simplify CMake per-source license noticesBrad King2016-09-271-12/+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.
* 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-061-9/+11
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-223/+171
| | | | | | | | | | | | | 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.
* Format include directive blocks and ordering with clang-formatBrad King2016-04-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sort include directives within each block (separated by a blank line) in lexicographic order (except to prioritize `sys/types.h` first). First run `clang-format` with the config file: --- SortIncludes: false ... Commit the result temporarily. Then run `clang-format` again with: --- SortIncludes: true IncludeCategories: - Regex: 'sys/types.h' Priority: -1 ... Commit the result temporarily. Start a new branch and cherry-pick the second commit. Manually resolve conflicts to preserve indentation of re-ordered includes. This cleans up the include ordering without changing any other style. Use the following command to run `clang-format`: $ git ls-files -z -- \ '*.c' '*.cc' '*.cpp' '*.cxx' '*.h' '*.hh' '*.hpp' '*.hxx' | egrep -z -v '(Lexer|Parser|ParserHelper)\.' | egrep -z -v '^Source/cm_sha2' | egrep -z -v '^Source/(kwsys|CursesDialog/form)/' | egrep -z -v '^Utilities/(KW|cm).*/' | egrep -z -v '^Tests/Module/GenerateExportHeader' | egrep -z -v '^Tests/RunCMake/CommandLine/cmake_depends/test_UTF-16LE.h' | xargs -0 clang-format -i This selects source files that do not come from a third-party. Inspired-by: Daniel Pfeifer <daniel@pfeifer-mail.de>
* Fix spelling and typos (product names)Andreas Mohr2013-05-071-1/+1
| | | | API, Borland, MinGW, UNIX, Mac OS X.
* cmake-gui: Use the QStandardItemModel workaround until 5.1.0.Stephen Kelly2013-03-191-1/+1
| | | | | | | | | | If there is a Qt 5.0.3 release, it may or may not contain the patch that fixes this issue. http://thread.gmane.org/gmane.comp.lib.qt.releasing/882 Just use the workaround until 5.1.0 which certainly will contain the fix. Don't use the workaround before Qt 5.0.0.
* cmake-gui: Workaround bug in Qt 5.0.0 to 5.0.3 QStandardItemModelStephen Kelly2013-03-121-1/+5
| | | | | | | | The commit in qtbase 9dfba89c (Add implementations of QAIM::sibling in public APIs., 2012-09-26) added a buggy implementation of sibling(), and the commit f136701b (Use the base implementation of QAbstractItemModel::sibling in QSIM., 2013-02-21) resolves it. Workaround the bug for Qt releases that have it.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-35/+35
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Fix grouping bug where "Ungrouped Entries" showed up as a child.Clinton Stimpson2011-01-281-4/+10
|
* cmake-gui: always enable generate button.Clinton Stimpson2010-12-181-7/+21
|
* 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.
* fix compile warningsClinton Stimpson2009-09-231-18/+22
|
* ENH: Allow edit on single click. Fixes #9393. Also fix row heights to be ↵Clinton Stimpson2009-08-101-4/+17
| | | | consistent.
* ENH: Add a "Show my changes" to the Tools menu.Clinton Stimpson2009-07-171-1/+53
| | | | | Changes by the user are recorded and when requested, it shows -D arguments for commandline or contents for a cache file.
* BUG: Don't return checkable flag for item when in the middle of ↵Clinton Stimpson2009-03-261-0/+1
| | | | configure/generate.
* ENH: Add support for showing combo box for choosing from a list of strings ↵Clinton Stimpson2009-03-121-2/+18
| | | | that a cache property can have.
* BUG: Fix column widths on some systems.Clinton Stimpson2008-06-301-1/+1
|
* BUG: Don't create empty property. Fixes bug #7193.Clinton Stimpson2008-06-241-0/+5
|
* ENH: remove red blending. It didn't look good on some systems.Clinton Stimpson2008-06-131-4/+4
|
* ENH: instead of solid red for new entries, blend it with the alternatingClinton Stimpson2008-06-131-4/+4
| | | | white/gray (depending on style).
* ENH: Make original flat view the default.Clinton Stimpson2008-06-131-383/+263
| | | | Add option to switch to grouped view (and remember it).
* ENH: better name for ungrouped entries.Clinton Stimpson2008-06-111-1/+1
|
* BUG: need to invalidate filtering when using Qt 4.3+.Clinton Stimpson2008-06-111-0/+5
|
* ENH: Give a label for the group of properties that didn't get put into anotherClinton Stimpson2008-06-111-0/+4
| | | | group.
* ENH: group together items with no prefix and items that won't beClinton Stimpson2008-06-101-3/+24
| | | | grouped with others.
* ENH: Use a tree view of the properties instead of a flat list view.Clinton Stimpson2008-06-101-130/+355
| | | | | | | Properties are grouped by a prefix (up to first "_") and can be expanded or collapsed. Fixes #6359.
* ENH: Add cross compiling support in the GUI in the same dialog that prompts forClinton Stimpson2008-05-151-124/+51
| | | | | | | | | | the generator on the first configure. It either ask for a toolchain file or asks for all the information a toolchain file might contain. Also added option for setting non-default compilers if not cross compiling. Fixes #6849. Also a bit of code cleanup and re-organizing.
* BUG: Keep editor alive when file dialog comes up to pick another file or path.Clinton Stimpson2008-04-021-3/+31
| | | | The editor going away prematurely Seems to only happen on Mac OS X.
* ENH: Convert native paths from QFileDialog and QDirModel/QCompleter.Clinton Stimpson2008-02-151-12/+19
| | | | BUG: Block possible completion loop.
* ENH: Add shortcut to start search/filter.Clinton Stimpson2008-02-141-24/+8
| | | | | | | | A bit of cleanup. Disable tab navigation in cache variable list. Enable home/end keys. BUG: Ensure currently edited values are saved before doing configure.
* ENH: Remove CurrentChanged from the table view's edit triggers.Clinton Stimpson2008-02-131-2/+4
| | | | | It results in editor issues when modifying the view. Remove workarounds for some of those issues.
* COMP: Fix build with Qt 4.2.Clinton Stimpson2008-02-081-0/+1
| | | | | BUG: Fix new editors stealing focus while typing search text. ENH: Look for translation in data dir, not bin dir.
* ENH: Show cache variable name in title of file dialogs.Clinton Stimpson2008-02-071-12/+34
|
* ENH: more robust search filter.Clinton Stimpson2007-11-161-4/+20
|
* COMP: Fix warning.Clinton Stimpson2007-11-151-7/+7
|
* ENH: single click can start editing cache values.Clinton Stimpson2007-11-131-0/+2
|
* BUG: The search is set to apply to all columns, but in Qt 4.2, that breaksClinton Stimpson2007-11-131-0/+2
| | | | the search entirely. Search on the first column only when using Qt 4.2.
* ENH: Allow clicking anywhere in field to toggle check boxes.Clinton Stimpson2007-11-131-2/+48
|
* ENH: Add ability to add cache entries (even before first configure).Clinton Stimpson2007-11-131-20/+70
|
* ENH: Re-arrange UI a bit.Clinton Stimpson2007-11-101-86/+13
| | | | BUG: Properly update when values that changed since the last configure.
* BUG: Don't prompt for unsaved changes if no changes were made.Clinton Stimpson2007-11-091-10/+6
| | | | ENH: Error messages go to output window instead of message boxes.
* ENH: Add completion to editor for files and file paths.Clinton Stimpson2007-11-091-0/+11
|
* COMP: Fix warnings.Clinton Stimpson2007-11-081-8/+8
|