change Environment::expandVariables() semantics
instead of being os-agnostic, interpret the os-native expansion style, so it is consistent with proper (shell) command lines. don't interpret quotes, as this function is meant for expanding isolated filepaths, where nobody would expect quoting. instead, use the windows style of simply not doing an expansion if a referenced variable is not found, which should be good enough - it's rather unlikely that something which happens to be an expansion of an existing variable is actually not meant to be one.
Showing
- doc/qtcreator.qdoc 3 additions, 2 deletionsdoc/qtcreator.qdoc
- src/libs/utils/environment.cpp 55 additions, 45 deletionssrc/libs/utils/environment.cpp
- src/plugins/projectexplorer/customexecutablerunconfiguration.cpp 4 additions, 0 deletions...gins/projectexplorer/customexecutablerunconfiguration.cpp
- src/plugins/projectexplorer/processstep.cpp 8 additions, 2 deletionssrc/plugins/projectexplorer/processstep.cpp
- tests/auto/auto.pro 1 addition, 0 deletionstests/auto/auto.pro
- tests/auto/environment/environment.pro 17 additions, 0 deletionstests/auto/environment/environment.pro
- tests/auto/environment/tst_environment.cpp 107 additions, 0 deletionstests/auto/environment/tst_environment.cpp
Loading
Please register or sign in to comment