summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/System.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2020-03-041-1/+1
| | | | | | # By KWSys Upstream * upstream-KWSys: KWSys 2020-03-04 (6af2e592)
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2018-06-011-1/+1
| | | | | * upstream-KWSys: KWSys 2018-06-01 (8ef62b28)
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2017-05-161-4/+0
| | | | | * upstream-KWSys: KWSys 2017-05-16 (fe1f22ce)
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2016-11-091-141/+80
| | | | | * upstream-KWSys: KWSys 2016-11-09 (18c65411)
* cmOutputConverter: Adopt command line escaping codeBrad King2015-07-081-583/+2
| | | | | | | Port code from the KWSys System_Shell APIs into cmOutputConverter. Drop it from our copy of KWSys because upstream will drop it too, and by doing it in this commit 'git blame' may have an easier time connecting the history of the content.
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2014-04-031-2/+28
|
* Revert commit: CMake: quote ':' in Windows NMake Makefiles (#9963) -- it was ↵David Cole2010-09-091-2/+1
| | | | not the right fix and caused mucho other problemo
* CMake: quote ':' in Windows NMake Makefiles (#9963)David Cole2010-09-081-1/+2
|
* Convert KWSys to OSI-approved BSD LicenseBrad King2009-09-281-11/+9
| | | | | | | This converts the KWSys 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 KWSys copyright to cover the full development time range.
* BUG: Parse escapes in single-quoted unix argumentsBrad King2009-07-131-1/+1
| | | | | This fixes KWSys's unix-style command-line parsing to interpret backslash escapes inside single-quoted strings.
* ENH: Provide unix-sytle command line parsingBrad King2009-07-131-0/+277
| | | | | | | Add System_Parse_CommandForUnix to the KWSys System interface as a utility to parse a unix-style command line. Move the existing implementation out of ProcessUNIX. Add a flags argument reserved for future use in providing additional behavior.
* BUG: Fix windows command line escape for empty argBrad King2008-12-181-0/+6
| | | | | | On Windows the KWSys System package generates escapes for command-line arguments. This fix enables quoting of the empty string as an argument. This also adds a test to pass an empty argument to a custom command.
* BUG: Fix escaping of more characters on Windows shells.Brad King2008-04-301-7/+10
|
* BUG: Fix kwsysSystem_Shell_GetArgumentForWindows to reset the windows ↵Brad King2008-04-301-0/+4
| | | | trailing backslash count to zero when a make variable reference is encountered.
* ENH: Improved escaping in kwsys/System. Added escape of % for NMake. Added ↵Brad King2008-01-131-5/+35
| | | | escape of ; for the VS IDE.
* BUG: Added carrot (^) to characters that need quoting. The solaris shell ↵Brad King2007-05-181-1/+1
| | | | needs it.
* BUG: Some single-character arguments need quoting on windows.Brad King2007-05-171-0/+22
|
* ENH: Added more special unix shell characters that require quoting. Added ↵Brad King2007-05-171-6/+12
| | | | escaping of % as %% for shells inside mingw32-make.
* BUG: Shell escaping needs to write % as %% for VS IDE.Brad King2007-05-161-0/+23
|
* ENH: Adding support for # escape in Watcom WMake.Brad King2006-10-251-4/+31
|
* ENH: Added # character for shell escaping.Brad King2006-10-231-1/+1
|
* ENH: Adding Shell_Flag_EchoWindows option to setup escapes for arguments to ↵Brad King2006-10-041-0/+14
| | | | the native echo command in a shell. This special case is needed to avoid adding quotes when passing text to echo in a native windows shell which does no command line parsing at all.
* ENH: Re-implemented command line argument shell quoting to support several ↵Brad King2006-09-271-76/+351
| | | | platforms with one code base.
* BUG: Windows_ShellArgument: need to escape if the string contains one of a ↵Brad King2006-09-211-24/+29
| | | | set of special characters as well as spaces. Moved test for needing escapes to a separate method kwsysSystemWindowsShellArgumentNeedsEscape.
* ENH: Adding 'System' component of C sources to hold system tools written in ↵Brad King2006-09-211-0/+166
C. Moved windows shell command line argument escaping code to kwsysSystem_Windows_ShellArgument and kwsysSystem_Windows_ShellArgumentSize.