summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesStringWidget.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Enable clang-tidy modernize-loop-convert lintBrad King2017-09-191-3/+1
| | | | | Fix remaining diagnostics by this lint and remove it from our list of disabled lints.
* Use C++11 nullptrDaniel Pfeifer2017-08-241-1/+1
|
* ccmake: Correctly display edit mode and associated keysSylvain Joubert2016-11-151-1/+3
| | | | | | | | Specific widgets can implement `PrintKeys` but their effects were hidden by the main widget `PrintKeys`. Fix this to give the user a better hint about the edit mode status. Closes: #13757
* cmState: Port dependents to new cmStateTypes headerStephen Kelly2016-10-191-1/+1
|
* cmState: Move CacheEntryType enum to separate namespaceStephen Kelly2016-10-191-1/+1
| | | | Port dependent code to the change.
* 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.
* CursesDialog: include what you useDaniel Pfeifer2016-09-031-0/+7
|
* CursesDialog: don't use else after returnDaniel Pfeifer2016-08-181-5/+3
|
* Make sure unnused parameters are /*named*/Daniel Pfeifer2016-08-161-3/+5
|
* ccmake: Add VIM-like bindings for navigationPaul Seyfert2016-08-021-4/+10
| | | | | | * scroll with j/k * toggle bool with space, enter insert mode with i * bindings not shown at the bottom of the screen, but given in help
* use CM_NULLPTRDaniel Pfeifer2016-06-281-1/+1
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-105/+61
| | | | | | | | | | | | | 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.
* 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.
* Fix spelling typos in comments and documentation (#16037)Felix Geyer2016-03-291-1/+1
| | | | | The Debian package checker tool (lintian) detected several typos in CMake.
* ccmake: Avoid using non-portable 'curcol' field (#15739)Joerg Sonnenberger2015-09-161-7/+6
| | | | | | | | 'curcol' is an implementation detail of ncurses so other implementations of 'form' may not have it. The switch-to-previous-field logic only exists for overloaded requests of REQ_DEL_PREV, so no need to check for REQ_DEL_CHAR. For REQ_DEL_PREV, check if the field changed and if it did, change it back.
* ccmake: Pass format string to 'printw' (#15738)Joerg Sonnenberger2015-09-161-6/+6
| | | | | printw takes a format string as first argument, so don't pass variable strings to it directly.
* cmState: Move CacheEntryType enum from cmCacheManager.Stephen Kelly2015-04-131-1/+1
|
* stringapi: Miscellaneous char* parametersBen Boeckel2014-03-081-1/+1
|
* ccmake: Allow DEL key in first columnMatthew Woehlke2012-11-131-1/+1
| | | | | | | | | | | Change test if DEL key is allowed from 'curcol > 0' to 'curcol >= 0', as deleting forward is reasonable in the first column (and probably expected by users to work). Support for DEL was first added in commit b3b43508 (BUG: fix for 6462, delete key should delete the current char, 2008-08-19). The commit appears to have copied the original logic from the backspace code so the old 'curcol > 0' logic was accidental rather than intentional.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-15/+15
| | | | | | | | | | | | | | | | | 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/ \+$//'
* 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: fix for 6462, delete key should delete the current charBill Hoffman2008-08-191-2/+9
|
* ENH: m_ cleanup for cursesKen Martin2006-03-161-27/+27
|
* ENH: Add support for HOME and END keys. Also fix Bug #666 - In CCMake when ↵Andy Cedilnik2004-04-151-3/+6
| | | | deleting something, it does not stop at the beginning of line
* Attempt to fix SGI ccmake problem (thank you Clint Miller)Andy Cedilnik2003-02-171-1/+1
|
* Reparent file path widget, add tab completion support to path anf file path ↵Andy Cedilnik2002-11-051-1/+1
| | | | widget
* Start working on adding tab supportAndy Cedilnik2002-11-041-31/+54
|
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-45/+45
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* ENH:Updated copyrightWill Schroeder2002-01-211-0/+16
|
* Updated toolbar.Berk Geveci2001-12-131-2/+67
|
* Added debugging.Berk Geveci2001-12-041-0/+8
|
* Improving interface.Berk Geveci2001-11-301-0/+12
|
* Improved help.Berk Geveci2001-11-301-5/+0
|
* Many improvements.Berk Geveci2001-11-061-4/+23
|
* Adding curses support.Berk Geveci2001-11-041-0/+106