summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMakeCacheView.h
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-25/+32
| | | | | | | | | | | | | 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-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Source: Stabilize include orderBrad King2016-04-291-0/+1
| | | | | Each source file has a logical first include file. Include it in an isolated block so that tools that sort includes do not move them.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-9/+9
| | | | | | | | | | | | | | | | | 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-1/+3
|
* cmake-gui: always enable generate button.Clinton Stimpson2010-12-181-0/+4
|
* 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-1/+1
|
* ENH: Allow edit on single click. Fixes #9393. Also fix row heights to be ↵Clinton Stimpson2009-08-101-0/+1
| | | | consistent.
* ENH: Add a "Show my changes" to the Tools menu.Clinton Stimpson2009-07-171-3/+16
| | | | | Changes by the user are recorded and when requested, it shows -D arguments for commandline or contents for a cache file.
* ENH: Add support for showing combo box for choosing from a list of strings ↵Clinton Stimpson2009-03-121-1/+2
| | | | that a cache property can have.
* ENH: Make original flat view the default.Clinton Stimpson2008-06-131-32/+32
| | | | Add option to switch to grouped view (and remember it).
* ENH: Use a tree view of the properties instead of a flat list view.Clinton Stimpson2008-06-101-11/+46
| | | | | | | 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-48/+10
| | | | | | | | | | 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-0/+7
| | | | 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-0/+9
| | | | BUG: Block possible completion loop.
* ENH: Show cache variable name in title of file dialogs.Clinton Stimpson2008-02-071-3/+4
|
* ENH: Allow clicking anywhere in field to toggle check boxes.Clinton Stimpson2007-11-131-0/+2
|
* ENH: Add ability to add cache entries (even before first configure).Clinton Stimpson2007-11-131-12/+28
|
* ENH: Re-arrange UI a bit.Clinton Stimpson2007-11-101-1/+0
| | | | 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-3/+2
| | | | ENH: Error messages go to output window instead of message boxes.
* ENH: add context menu for deleting, ignoring, and getting help for cache ↵Clinton Stimpson2007-11-081-6/+9
| | | | | | | | | | | entries. ENH: add delete cache button ENH: add information string above configure/generate buttons ENH: change search to search both columns, and from regex to plain string search ENH: add buddy info in cache entry view, so double clicking in the left column starts editing the associated value. BUG: fix file path editor so it goes away when focus is lost
* BUG: Fix behavior of CMakeSetupDialog::set{Binary|Source}DirectoryClinton Stimpson2007-11-071-0/+5
| | | | | | | so they work right when called externally. Disable the generate button when one hits configure again. ENH: Some UI tweaks for spacing. Allow viewing cache values while configure/generate (but not edit).
* ENH: Disable menu/buttons when doing configure.Clinton Stimpson2007-11-071-2/+2
| | | | | | | | Also disable generate until configure is done. Save more settings (last 10 binary directories, exit after generate, last generator) Some UI tweaks for better layout. Support drag & drop of CMakeLists.txt/CMakeCache.txt files.
* ENH: Replace prompt for generator with combobox in UI.Clinton Stimpson2007-11-061-0/+9
| | | | | | ENH: Make "Show Advanced" toggle work. ENH: Add regex search capabilities. ENH: Read existing registry entries from MFC CMakeSetup.exe (will save later).
* ENH: Prompt user for generator when there is none.Clinton Stimpson2007-11-051-2/+5
| | | | Many minor improvements, bug fixes, and style fixes.
* ENH: Allow working with empty build directories.Clinton Stimpson2007-11-031-0/+1
| | | | | | Make output window a bit smaller compared to cache view. Prompt on X'ing window as well as hitting cancel. Color new cache values red, and put them first.
* ENH: remove qt warnings from qt with MS compilerBill Hoffman2007-11-031-1/+1
|
* ENH: fix compile error on windowsBill Hoffman2007-11-031-1/+1
|
* ENH: Add interrupt button near progress bar.Clinton Stimpson2007-11-031-25/+14
| | | | | | | | | | | | Implement help button. Implement cancel button. Add scrollable output window. Replace ON/OFF & combobox editors with checkboxes. Tab/backtab in cache table jumps between values (not names and values) Add tooltips to show help strings. Add application icon and qtmain for Windows. BUG: Fix save of cache values on configure.
* STYLE: Add license info to code.Clinton Stimpson2007-11-021-0/+16
|
* ENH: Beginnings of a Qt UI for CMake.Clinton Stimpson2007-11-021-0/+100