Commits (17)
-
Oswald Buddenhagen authored
to reduce collateral damage from parse errors. (cherry picked from qtcreator/00c0d0d5e42d28e03c2846c17d3acbcd8420859d) Change-Id: Ic59700d657069d3b15372509b4bff966057d27a9 Reviewed-by:
Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by:
Joerg Bornemann <joerg.bornemann@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com> (cherry picked from qtbase/ae3f95a951334dee001e37c305e4d7bf91c0d1b3) Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
f0e0cd9b -
Oswald Buddenhagen authored
it's a pretty braindead thing to implement control flow statements as (built-in) functions. as a "side effect", this fixes return() value handling for lists. (cherry picked from qtcreator/f53ed6c4b3feca59a94d4f0de8b1a7411122e30e) (cherry picked from qtcreator/f529e22ec38fb9a656d74394e484d2453cf42c69) Change-Id: I59c8efa0e4d65329327115f7f8ed20719e7f7546 Reviewed-by:
Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by:
Joerg Bornemann <joerg.bornemann@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com> (cherry picked from qtbase/8400896cfe3fbef7666329a2920bd0dbdd5890af) Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
8591d77f -
Oswald Buddenhagen authored
$$(FOO) would automatically split the contents of the environment variable at whitespace (and interpret quoting inside it). the way to prevent the splitting (but not the quote interpretation) would be using "$$(FOO)". this behavior is entirely unexpected and thus an incredibly effective source of quoting problems - according to a grep over the whole qt sources, there isn't a single case where things were done right. in qt creator, well over half the cases are wrong. also, the "feature" seems entirely pointless: nobody uses spaces as separators in environment variables. consequently, simply remove it, even in a patch release. i'm postulating that nobody will complain. Change-Id: I9ed3df1b0d1ef602acd78ceb118611d294561da6 Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com> (cherry picked from qtbase/566d28316dd73bfe4a8ea34839989ee9df7e3895)
9a36904e -
Tor Arne Vestbø authored
Instead of after parsing the makespecs, were we assumed QMAKE_PLATFORM had been set by the makespec and did an explicit update. Allows loading platform specific features from within a makespec after updating QMAKE_PLATFORM. Change-Id: I0eb3b7fb88ce48b00a384850c5d87223c06234d7 Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@digia.com> (cherry picked from qtbase/4dd29248cd43ff730f7432b51a443b72fad3523d) Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
7676ab9c -
Oswald Buddenhagen authored
we have proper fallback paths further down the line. Change-Id: I3648cc985d21bbec4c2c24e179830db4467af210 Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com> (cherry picked from qtbase/0dedf8c3403923b963c51eb65d9cbe838d5ba0d4)
cfd4e097 -
Oswald Buddenhagen authored
this allows skipping an entire feature file if a condition is not fulfilled, without putting the whole body inside a conditional. Change-Id: I84fe9c94dda58c794fb52c3f163b40563b0db30a Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> (cherry picked from qtbase/525eb337670f61078383c20ad9be274dcf2d0928)
efcdf39b -
Oswald Buddenhagen authored
don't count parentheses, don't nest quotes, don't create empty elements. the backslash still escapes only quotes (and itself) - $$list() (one of the main users of this function) is commonly used with (windows) path lists, so letting it escape anything would make a royal mess. Change-Id: I29252fbe14fd6d28217450ec41cf8acfb2e30681 Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> (cherry picked from qtbase/6c22b9b3e86d1617665f7b81b105c032f43c6d72) (cherry picked from qtbase/a5c2ab47867a558d6f8f62126fb8e4f2777cfe06)
3b8ea785 -
Oswald Buddenhagen authored
any of the directories may be the root, which would lead to double slashes in the constructed filenames. Change-Id: I053e167a19b795b40e780fc29db356c7f24d286a Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com> (cherry picked from qtbase/97be79012cd39d1d0e7748d5c500d86c3becc258)
9d8be960 -
Oswald Buddenhagen authored
in the case of sprintf it's surprising, in the case of join it's anti-thetical. Change-Id: I4eb7e56d31ac6ed68adf852f1a19b33554d38eb4 Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> (cherry picked from qtbase/ae94bf2b7a6373def9239ae5f54b143e1f6ffe09)
fb38f74b -
Oswald Buddenhagen authored
instead of having them "not implemented" (and consequently getting errors), just let requires(), system(), mkpath(), write_file(), touch() and cache() do nothing. this is likely to cause followup failures which are harder to detect, but the amount of scary noise we are producing now is not really acceptable. furthermore, in qtcreator these failures actually terminate the "precise" evaluation, which breaks Run Configurations. Task-number: QTBUG-28159 Task-number: QTCREATORBUG-8550 (in different repo) Change-Id: I1bdeb759e895e4200f09332dadf8a6cef348182f Reviewed-by:
Daniel Teske <daniel.teske@digia.com> Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
94ab2efb -
Oswald Buddenhagen authored
mac mkspecs are really noisy without it now, which makes the tests fail. Change-Id: I6b4900c51d0b8aedd9309482a30055e48c3b9f69 Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@digia.com> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
402ccf4c -
Friedemann Kleint authored
Change-Id: I59a14c7f2a2c770b4b67a2af5c4d5542519f0d63 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
d49993ee -
Kai Koehne authored
Change-Id: I88bef60bb272319229a92481deec4ac9de9a0547 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
32f95d57 -
Kai Koehne authored
Change-Id: Ibe91cb9573ec5ef9ca2cc0a7c36be33b0dec681f Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
0030be3c -
Kai Koehne authored
Change-Id: Ib946a2eb49bc7723dc44257581661a3b2b86956e Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
7b3f9b91 -
kh1 authored
Task-number: QTBUG-31107 Change-Id: I517974a937baaa0371357bb7791d86b26f853049 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
45cebacd -
Janne Anttila authored
The actual code using printer related classes is already wrapped with QT_NO_PRINTER macros, but the include statements were not. The reason why include statement probably were not wrapped with QT_NO_PRINTER is that in Qt4 all headers were synchronized to include directory. Now with Qt5 modularization headers for modules which are disabled are not anymore synchronized to include directory so they need to be wrapped with same ifdefs. Change-Id: I0efd1342cd18860b5fed63b248812e9dced8f2b3 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com>
5be73820
Showing