summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/form
Commit message (Collapse)AuthorAgeFilesLines
* Fix misc. typosluz.paz2018-06-041-1/+1
| | | | Found via `codespell` and `grep`
* clang-format.bash: update to clang-format-6.0Brad King2018-06-011-1/+1
| | | | | | | | | | | | Update `.clang-format` with configuration to make the 6.0 format as close as possible to what 3.8 produced before. Then revise the style: * Indent preprocessor directives (a feature new since 3.8) * Add a newline and indentation before inheritance `:` and `,` Rename the Git attribute identifying the format to include the clang-format version number: `format.clang-format-6.0`. This will aid external infrastructure in knowing what version of the tool to run.
* CursesDialog: use target_include_directories for cmFormDaniel Pfeifer2017-08-181-7/+10
|
* Use quotes for non-system includesDaniel Pfeifer2017-04-111-1/+1
| | | | | | | | | | | | | 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'
* clang-format.bash: Use Git attributes to mark files for formattingBrad King2017-02-221-0/+1
|
* Simplify CMake per-source license noticesBrad King2016-09-272-23/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* ccmake: Fix recent compilation regression with GCC on SolarisBrad King2016-09-141-4/+0
| | | | | | | The change in commit 32f756c8 (CursesDialog: include what you use, 2016-09-01) revealed that an ancient workaround for compiling with GCC on Solaris has not had an effect in a long time and is now incorrect. Drop it.
* Fix spelling typos in comments and documentation (#16037)Felix Geyer2016-03-296-9/+9
| | | | | The Debian package checker tool (lintian) detected several typos in CMake.
* ccmake: Cleanup and simplify conditional blocks for HP-UXÅdne Hovda2014-11-184-19/+11
|
* ccmake: Use standard getmaxyx instead of non-standard getmax[xy]Ådne Hovda2014-11-183-22/+2
| | | | | Swap out getmax[xy]() calls for single call to getmaxyx(), to support strict X/Open conformant curses implementations, e.g. HP-UX Xcurses.
* ccmake: Remove incomplete support for cur_colr on old HP-UXÅdne Hovda2014-11-181-1/+1
| | | | Enable support for the more modern Xcurses.
* ccmake: Add missing initializers reported by cppcheckÖmer Fadıl USTA2013-07-151-1/+1
| | | | | | | | | | The return statement uses d1, d2, d3, and d4 variables but the code which initialize them inside a if statement and not always this if statement is corrent. On the other hand these variables are using for return statement and needed to be initialized. A trivial fix to pervent some compilers will give build error. Reviewed-by: Igor Murzov <e-mail@date.by>
* Remove some uses of obsolete 'register' storage specifierSean McBride2013-06-281-1/+1
| | | | Remove the keyword from all Source/* files outside of KWSys.
* Fix spelling and typos (non-binary)Andreas Mohr2013-05-072-4/+4
|
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-1/+1
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-11/+11
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* 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.
* 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.
* 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.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-282-14/+20
| | | | | | | 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.
* COMP: make it build on NetBSD, which has separate curses and ncurses, soAlexander Neundorf2007-08-273-2/+42
| | | | | | | 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: fix ia64 build with aCCBill Hoffman2006-06-271-13/+19
|
* ENH: add curses include directoryBill Hoffman2005-07-111-0/+1
|
* 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
|
* COMP: Attempt to fix problem with building on SGIAndy Cedilnik2005-04-191-154/+174
|
* BUG: fixes for hpBill Hoffman2003-03-111-3/+8
|
* ERR: Another attempt to remove warnings from missing prototypes.Brad King2002-10-231-1/+1
|
* ENH: Another attempt to fix OSF warnings. Also removed TABS.Brad King2002-10-161-731/+730
|
* BUG: add explicit clean up of the cachemanager at exit of programs, so dll ↵Bill Hoffman2002-08-231-1/+5
| | | | destruction is not a problem.
* ERR: Removed most of the repeated curses declarations. The cause errors on ↵Brad King2002-06-211-0/+3
| | | | other platforms. Grrrr..
* ERR: Added function declarations from curses.h. They are not present on ↵Brad King2002-06-211-0/+15
| | | | some platforms. Fixes warnings about implicit declarations.
* ERR: Fixed unused parameter warning.Brad King2002-06-191-0/+1
|
* ERR: Fixed compiler warnings when using strict ansi.Brad King2002-06-187-4/+17
|
* ERR: Attempt to fix warning on OSF about implicit declaration of winnstr.Brad King2002-06-181-0/+2
|
* BUG: Changed from SOURCE_FILES to SETAmitha Perera2002-04-221-3/+3
|
* This dir should not be covered (form distrib)Sebastien Barre2002-02-131-0/+1
|
* ERR: Corrected assertions of pointers to remove warnings.Brad King2002-01-254-16/+16
|
* no c++ comments in c code, duhhhhBill Hoffman2001-12-041-1/+1
|
* ENH: AIX seems to define lines and columns as macros, I undefed themBill Hoffman2001-12-041-0/+4
|
* ERR: Fixed compiler warning for gcc 3.0.Brad King2001-11-141-1/+2
|
* warningsBill Hoffman2001-11-131-4/+0
|
* Trying to fix curses.Berk Geveci2001-11-092-11/+22
|
* Trying to fix curses problems.Berk Geveci2001-11-082-2/+6
|
* Fixing problems with curses headers.Berk Geveci2001-11-082-0/+2
|
* Trying to fix curses problems.Berk Geveci2001-11-082-6/+4
|
* Oops.Berk Geveci2001-11-081-7/+0
|