summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ImproveCPackDoc-reloaded'David Cole2012-02-141-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d4b77eb Avoid discovering system infos for documentation. Adding some path is enough. 9002f73 Fix non existent std::string::clear on VS6 02ccb32 Create getDocumentedModulesListInDir which may be used in other context. 24fbc28 Add missing section markup for CPackComponent bafd8a9 Example of builtin variable documentation (i.e. only used in C++ source code). 543f1ad Make the load of script documentation more efficient and dynamic. cdbd1a9 Fix another compiler warning due to a typo 52c53de Really avoid compiler warning about unused vars 37f90ed Calm down compiler warning about unused var 7c82b7f Fix potential bad memory access, thanks to Eike 62b589b Suppress unused var, beautify code, avoid 1 extra newline. 751713f Update bash completion file in order to handle new CPack doc options. 1629615 CPack Documentation extraction from CMake script begins to work 83e34dd Implement simple CMake script comment markup language. c6a0169 CPack begin the implementation of --help-command* and --help-variables*
| * CPack begin the implementation of --help-command* and --help-variables*Eric NOULARD2012-01-221-0/+1
| | | | | | | | | | | | This modifications set tries to keep the unified doc for cmake/ctest/cpack while introducing tool specific documentation separated. Some documentation sections for CMake do not fit well to CPack.
* | ccmake: Extend clear line.Nicolas Despres2012-02-061-1/+1
| | | | | | | | | | | | | | | | | | When configuring or generating the 'ng' of the end of the second line is not cleared. This patch fixes this. The problem was introduced by commit fd632195 (ccmake: Align 'g' and 'q' key instructions, 2011-01-07) which adjusted the length of lines that need clearing.
* | ccmake: Factor clear line.Nicolas Despres2012-02-051-6/+5
|/
* ccmake: Factor toggle key help instructions.Nicolas Despres2011-10-231-9/+7
|
* ccmake: Document '/' key.Nicolas Despres2011-10-231-3/+2
|
* ccmake: Align 'g' and 'q' key instructions.Nicolas Despres2011-10-231-2/+3
| | | | | | | | | | | | | | | | | | They were miss-aligned with the 'enter' key instruction. Before: ---- Press [enter] to edit option CMake Version 2.8.3.20110107-g4b05a-dirty Press [c] to configure Press [h] for help Press [q] to quit without generating ---- After: ---- Press [enter] to edit option CMake Version 2.8.3.20110107-g4b05a-dirty Press [c] to configure Press [h] for help Press [q] to quit without generating ----
* Usage: Print help, version and copyright options in usage information.Nicolas Despres2011-10-231-1/+1
| | | | There were missing for ctest, cpack and ccmake.
* Remove trailing white-spaces.Nicolas Despres2011-10-232-83/+83
|
* ccmake: Fix off-by-one memory access errorThomas Jarosch2011-09-021-1/+1
| | | | | | Credit goes to "cppcheck". Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
* ccmake: Remove extra parens around comparisonBrad King2011-02-151-1/+1
| | | | | | | | | | The Clang compiler warns about extra parenthesis in the code if ((form->curpage == field->page)) ~ ^ ~ because the idiom is commonly used when an assignment is intended instead of a comparison. Remove the extra enclosing layer.
* Merge topic 'dev/strict-mode'Brad King2011-01-271-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dd2f814 Merge branch 'dev/add_test-working-directory' into dev/strict-mode 949d32c Unwatch manual variables upon removal in cmake-gui 3939032 Unwatch manual variables upon removal in ccmake 8354413 Add method to unwatch a manual variable 8ed3c85 Give a better message for unused variables 729db48 Fix ArgumentExpansion test expected results 89c2544 Checking for a definition is a usage 5625dee Don't output to stderr in the GUI ad25a96 Merge branch 'ImprovedDotSupport2' into dev/strict-mode c128abe Merge branch 'AddCMAKE_CURRENT_LIST_DIR' into dev/strict-mode 9bcaff0 Merge branch 'cmake-guiRememberAdvancedCheckbox' into dev/strict-mode 544d0c3 Fix expected output for WarnUninitialized test 4e3bea4 Update expected messages to new format 8e8c9e4 Don't check at destruction for usage 668e005 Use cmake::IssueMessage for warnings 88cd4c1 Use 'CMake Warning' versus 'warning' for CDash 3c3b98d Initialize the class before setting warn flags cf8b15a Ignore files under the CMakeFiles directory fd50f06 Don't check for unused vars at configure time 447a04c Don't warn during configure when doing everything b97ee21 Check for unused variables at the end of generate c18c977 When checking for variables, specify a reason 3f1121f Use a long int since Line is a long as well 2507f93 Change the failure case string to 'Unexpected' fe390a2 Add 'ArgumentExpansion' test 8dbb209 Wrong boolean value for CLI warnings d4ee998 Hard-code the --no-warn-unused-cli flag a267b99 Fix line lengths 82ed104 Flag that the directories have been set 5aa535b Add argument to arg parsing to not set directories 367e5c3 Revert "Revert "When calling CMake, set the args and the cache"" ab5d4e4 Revert "When calling CMake, set the args and the cache" 9b90040 When calling CMake, set the args and the cache fe56002 Fix long lines for KWStyle 5d30cfc Set a watch on variables added through the gui 33c63b1 Add a method to put a watch for variables 535253f Initialize the warning variables earlier cbb286c Fix the path detection to work for top-level 62be1f7 Initialize the usage stack earlier c6e7fab Factor out the checks for unused variables 5e41ba8 When using the API, check for Add vs. Remove dee1976 Fix typo in VariableUnusedViaUnset test f231ce5 Remove old false positive avoidance code a117e02 Revert "Add test for unused warnings at the end of scope" 2c82f2b Exempt CMAKE(CURRENT|PARENT)_LIST_FILE from usage 6d7d449 Ignore CLI warnings for ABI determination 7740a73 Only return local keys that are defined bef3aee Use the API so that warnings can be tracked 05cb0f4 Check for unused variables in the dtor 91c4c99 Add test for unused warnings at the end of scope ca90f67 Fix detection of unused variables when setting f7438ca Add test for unused detection via setting it 995cfb0 Don't warn if the variable wasn't defined aefc91d Add test for usage checks via unset a8e97f8 Remove VarRemoved code since it's been superceded 59463ef Rework CheckVariableForUnused usage f117423 Fix line lengths to be no more than 78 e49a935 Improve unused warning logic e01e40c Mark ARGC, ARGV*, and ARGN as used a17aff7 Ignore CMAKE_MATCH_* variables for usage 02a114d Add method to allow variables to be marked as used a0b0d23 CMAKE_DO_TRY_COMPILE is no longer used ae3eff3 Fix the path used for ignoring system warnings 056b441 Fix missing case for usage of a variable 980e048 Factor out checks for unused variables 83acb0a Remove now unused variables 3801463 Use built-ins for readability and maintainability 8b52015 Push the initialize and unused states when copying 439877f Be consistent with single and double quotes 4cf1706 Add documentation for check-system-vars b74777f Fix the spelling of the flag for warn-unused-vars b948120 Change logic of flag to turn off cli unused checks f047a17 Add test for uninitialized variables 75bda38 Add tests for unused command line variables 300fc15 Fix detection of system files d784e6a Run the unused variables check on the final pass 9efc057 VariableWatch is not available when bootstrapping 2e78224 Add a missing comma to the warning message 7499700 Add a flag to warn about system files fff9f6d Rename flags again and use variablewatch for cli 786e269 Add warn-unused to the Qt interface 636e6c4 Default to marking things as used 4ff0340 Rename find-unused to warn-unused d7999e9 Rename strict-mode to warn-uninitialized e141bc9 Detect unused variables d3e8eb5 Add flags to detect unused variables f332e14 Complete strict-mode checks for uninitialized vars 52f9637 Add method to get the local scope variables f794d58 Make --strict-mode option, and integrate with cmake-gui 48b5b85 Add a warning when variables are used uninitialized. cd626ea For macros make sure the FilePath points to a valid pointer in the args.
| * Unwatch manual variables upon removal in ccmakeBen Boeckel2011-01-131-0/+1
| |
* | Avoid exceptions when ccmake terminal window is too small (#11668)David Cole2011-01-191-21/+24
| | | | | | | | Thanks to Nicolas Despres for the patch.
* | ccmake: Use LSB 4.0 getmaxyx conditionallyBrad King2011-01-052-2/+16
| | | | | | | | | | Use of 'getmaxyx' works on LSB but does not seem portable to other curses versions.
* | ccmake: Use LSB 4.0 curses API conditionallyBrad King2011-01-041-5/+8
| | | | | | | | | | Use of 'attr_t' and 'wattr_get' works on LSB but does not seem portable to other curses versions.
* | ccmake: Port for LSB 4.0 (#11648)Craig Scott2011-01-032-6/+14
|/ | | | Use getmaxyx instead of getmax[xy]. Avoid using getattrs.
* Merge topic 'fix-ccmake-search'Brad King2010-09-212-12/+7
|\ | | | | | | | | 5d7c3c0 ccmake: Fix search with '/'
| * ccmake: Fix search with '/'Brad King2010-09-162-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 7a18dd8e (Add searching of variables, 2003-03-07) added method cmCursesMainForm::JumpToCacheEntry to search for cache entries whose names match a given search string. The method also had a useless argument "int idx" probably left from earlier development iterations and hard-coded in all calls to the value '-1'. The method compared this argument to the "NumberOfVisibleEntries" member which at the time was of type "int" also. Commit ff1f8d0b (Fix or cast more integer conversions in cmake, 2010-06-29) changed the type of "NumberOfVisibleEntries" to size_t to fix other integer conversion warnings. An unsigned type makes sense given the purpose of the member. However, this caused the '-1' signed value to be converted to a large unsigned value in the above-mentioned comparison, leading to incorrect behavior. Fix the problem by removing the useless argument and the comparison.
* | Merge topic 'resolve/doc-spelling/CPackRPM'Brad King2010-07-203-5/+5
|\ \ | |/ |/| | | | | | | 7739d78 Merge CPackRPM changes into doc-spelling 9203e91 Fix spelling errors reported by Lintian.
| * Fix spelling errors reported by Lintian.Kai Wasserbäch2010-07-133-5/+5
| | | | | | | | | | During a Lintian run on the binary packages of CMake in Debian I was notified of many spelling mistakes.
* | Fix signed/unsigned comparison warnings in ccmakeBrad King2010-06-291-7/+7
| | | | | | | | | | | | Commit ff1f8d0b (Fix or cast more integer conversions in cmake) changed a member type from int to size_t. Update the types of variables compared to these values to be unsigned also.
* | Fix or cast more integer conversions in cmakeBrad King2010-06-293-11/+11
|/ | | | | These were revealed by GCC's -Wconversion option. Fix types where it is easy to do so. Cast in cases we know the integer will not be truncated.
* Fix warnings in CMake source code. Suppress rampant warnings emanating from ↵David Cole2009-10-011-1/+1
| | | | Qt files.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-2827-350/+247
| | | | | | | 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.
* Add parentheses around '&&' between '||' for gccBrad King2009-09-111-8/+12
| | | | | | | The GNU compiler warns about possible operator precedence mistakes and asks for explicit parentheses (-Wparentheses). We add the parentheses to silence the warning. This also fixes one real logic error in the find_package() implementation by correcting expression evaluation order.
* ENH: Overhaul CMake version numberingBrad King2009-03-052-4/+2
| | | | | | | | | | | | | This moves the version numbers into an isolated configured header so that not all of CMake needs to rebuild when the version changes. Previously we had spaces, dashes and/or the word 'patch' randomly chosen before the patch number. Now we always report version numbers in the traditional format "<major>.<minor>.<patch>[-rc<rc>]". We still use odd minor numbers for development versions. Now we also use the CCYYMMDD date as the patch number of development versions, thus allowing tests for exact CMake versions.
* BUG: fix for 4026, display a message if ccmake has errorsBill Hoffman2008-10-091-4/+5
|
* BUG: fix for 6462, delete key should delete the current charBill Hoffman2008-08-191-2/+9
|
* ENH: fix it for working with an empty cacheBill Hoffman2008-03-072-4/+16
|
* ENH: fix make edit_cache for cmake-guiBill Hoffman2008-02-121-0/+1
|
* ENH: Simplify code by removing unnecessary LINK_DIRECTORIES call.Brad King2008-01-231-1/+0
|
* ENH: Centralized and globalized computation of CMake program locations. ↵Brad King2007-12-131-0/+1
| | | | This eliminates startup paths that failed to produce this information.
* ENH: change to make the documentation class more generic, about halfway ↵Ken Martin2007-10-221-12/+12
| | | | there, also provides secitons for Variables now
* COMP: make it build on NetBSD, which has separate curses and ncurses, soAlexander Neundorf2007-08-276-8/+59
| | | | | | | it has to be detected that curses isn't good enough, but ncurses is, and that ncurses.h instead of curses.h is included Alex
* ENH:Alexander Neundorf2007-06-281-1/+4
| | | | | | | | | | | | -in the full documentation there is now an extra section for compatibility commands, so users see which commands they shouldn't use -cmake -h <command> now also works with lower case commands --help-fullm --help-command, --help-module and --help-property now determine the output format from the extension of the given filename Let me know if there are some things I overlooked. Alex
* ENH: fix warningBill Hoffman2006-11-291-1/+1
|
* ENH: there can be only one versionBill Hoffman2006-11-292-4/+6
|
* ENH: remove old unused codeKen Martin2006-10-061-8/+0
|
* BUG: The --help option should list generators. This addresses bug #2494.Brad King2006-10-041-0/+3
|
* ENH: only change the cache if the value was really changedBill Hoffman2006-08-101-1/+1
|
* ENH: fix ia64 build with aCCBill Hoffman2006-06-271-13/+19
|
* ENH: not all messages are errorsBill Hoffman2006-03-161-1/+6
|
* ENH: m_ cleanup for cursesKen Martin2006-03-1618-378/+376
|
* ENH: add curses include directoryBill Hoffman2005-07-111-0/+1
|
* ENH: Until there is some test for curses dialog, no need to do coverageAndy Cedilnik2005-06-201-0/+1
|
* COMP: Changed while(1) to for(;;) to avoid warning about constant control ↵Brad King2005-05-032-2/+2
| | | | expression.
* ENH: Removing stdio_core hack. A better work-around has been put in ↵Brad King2005-04-262-11/+0
| | | | cmStandardIncludes.h.
* BUG: Older SGI compilers still have internal/stdio_core.h but do not support ↵Brad King2005-04-241-3/+4
| | | | #include_next. We'll have to try-compile to test whether this hack is needed.
* COMP: Using a new work-around for stdarg.h problem on SGI.Brad King2005-04-213-20/+10
|