summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/form
Commit message (Collapse)AuthorAgeFilesLines
* Build: Simplify `configure_file()` callsAlex Turbov2022-09-221-1/+1
|
* Source: Replace uses of sprintf with safer snprintfSean McBride2022-06-222-2/+2
|
* Source: Tell Git not to check whitespace in third-party curses form codeBrad King2022-06-221-0/+1
|
* ccmake: Fix typo in curses form commentDimitris Apostolou2022-02-171-1/+1
|
* Utilities: Suppress warnings in third-party code with IBMClangAaron Liu2022-01-271-1/+1
|
* Source: Simplify some boolean expressionsRose2021-10-231-2/+2
|
* LCC: Add dedicated support for MCST LCC compilermakise-homura2021-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | Divert LCC compiler as a new one, instead of treating it as GNU. Since old times, Elbrus C/C++/Fortran Compiler (LCC) by MCST has been passing checks for GNU compilers, so it has been identified as GNU. Now, with intent of seriously upstreaming its support, it has been added as a separate LCC compiler, and its version displays not a supported GCC version, but LCC version itself (e.g. LCC 1.25.19 instead of GNU 7.3.0). This commit adds its support for detection, and also converts basically every check like 'is this compiler GNU?' to 'is this compiler GNU or LCC?'. The only places where this check is untouched, is where it regards other platforms where LCC is unavailable (primarily non-Linux), and where it REALLY differs from GNU compiler. Note: this transition may break software that are already ported to Elbrus, but hardly relies that LCC will be detected as GNU; still such software is not known.
* Utilities: Suppress warnings in third-party code with NVHPCBrad King2021-04-201-1/+1
|
* Utilities: Suppress warnings in third-party code when using IntelLLVMBrad King2021-01-281-1/+1
|
* ccmake: suppress warnings in third-party form codeBrad King2020-08-181-0/+8
|
* Fix typos identified using codespellJean-Christophe Fillion-Robin2020-07-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/codespell-project/codespell#readme The following command was used: ``` codespell -q6 --skip="\ .git,\ *.json,\ ./Copyright.txt,\ ./Help/command/foreach.rst,\ ./Help/prop_test/REQUIRED_FILES.rst,\ ./Help/variable/CTEST_COVERAGE_COMMAND.rst,\ ./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\ ./Modules/CMakeRCInformation.cmake,\ ./Modules/Internal/CPack/NSIS.template.in,\ ./Modules/FindMatlab.cmake,\ ./Modules/MatlabTestsRedirect.cmake,\ ./Modules/Platform/Windows-Clang.cmake,\ ./Modules/Platform/Windows-Intel-Fortran.cmake,\ ./Modules/Platform/Windows-MSVC.cmake,\ ./Source/CMakeVersion.cmake,\ ./Source/cmConvertMSBuildXMLToJSON.py,\ ./Source/cmCreateTestSourceList.cxx,\ ./Source/cmGlobalVisualStudio10Generator.cxx,\ ./Source/cmExportBuildFileGenerator.cxx,\ ./Source/cmExportInstallAndroidMKGenerator.cxx,\ ./Source/cmExportInstallFileGenerator.cxx,\ ./Source/cmExportSet.cxx,\ ./Source/cmExportTryCompileFileGenerator.cxx,\ ./Source/cmFindPackageCommand.cxx,\ ./Source/cmInstallCommand.cxx,\ ./Source/cmGeneratorExpressionLexer.cxx,\ ./Source/cmLocalVisualStudio7Generator.cxx,\ ./Source/cmOrderDirectories.cxx,\ ./Source/cmTarget.cxx,\ ./Source/kwsys/*,\ ./Source/QtDialog/CMakeSetupDialog.ui,\ ./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\ ./Source/CTest/cmParseCoberturaCoverage.h,\ ./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\ ./Tests/RunCMake/GoogleTest/xml_output.cpp,\ ./Tests/RunCMake/Make/TargetMessages*,\ ./Utilities/*,\ " \ -L "\ dependees,\ endwhile,\ fo,\ filetest,\ helpfull,\ nd,\ objext,\ stoll,\ supercedes,\ superceded,\ vas,\ varn,\ " ```
* 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
|