- 04 Jun, 2013 1 commit
-
-
Oswald Buddenhagen authored
this tremendously speeds up loading of qt 5.1 based projects (including qt itself) under mac os, as these look up the sdk dynamically, and use caching to avoid doing that in every subproject. Change-Id: I833253f81c3159056fab2ff888f293b36cc2ef56 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
- 17 May, 2013 3 commits
-
-
Oswald Buddenhagen authored
it was merely an artifact of using QString::simplified() on the unparsed (!) project code. there is no reason why anyone should actually rely on it, so just remove it. Change-Id: If9b957c4b1263f3990a2331f8851bb1c06154ea8 Reviewed-by:
Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> (cherry picked from qtbase/c3c4f1eb5301a4fda17a9a48012df45f9a0ee7a3)
-
Oswald Buddenhagen authored
When writing a file with write_file() we have to inform the pro file parser cache to discard the file if it's existent in the cache, to ensure that calling include() after write_file() always works. Change-Id: I7d09269a57de55ca30b0e11dd40770de9f919f64 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> (cherry picked from qtbase/f45d6414ad6ef1d75f049a61411cd954bcae29c3) Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
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)
-
- 29 Jan, 2013 1 commit
-
-
Robert Loehning authored
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 24 Jan, 2013 1 commit
-
-
hjk authored
Change-Id: I2845fdefb8b32de227f08017e0e3ad98923d1c87 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 08 Jan, 2013 1 commit
-
-
Orgad Shaneh authored
#!/usr/bin/env ruby Dir.glob('**/*.cpp') { |file| # skip ast (excluding paste, astpath, and canv'ast'imer) next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i s = File.read(file) next if s.include?('qlalr') orig = s.dup s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m| res = $& if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces res else res.gsub!('} else', 'else') res.gsub!(/\n +} *\n/m, "\n") res.gsub(/ *{$/, '') end } s.gsub!(/ *$/, '') File.open(file, 'wb').write(s) if s != orig } Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc Reviewed-by:
hjk <qthjk@ovi.com>
-
- 05 Oct, 2012 1 commit
-
-
hjk authored
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 12 Sep, 2012 2 commits
-
-
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. Change-Id: I59c8efa0e4d65329327115f7f8ed20719e7f7546 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
Oswald Buddenhagen authored
to reduce collateral damage from parse errors. Change-Id: Ic59700d657069d3b15372509b4bff966057d27a9 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
- 07 Sep, 2012 1 commit
-
-
Oswald Buddenhagen authored
this was forgotten when the value lists were extended by a size hint. Change-Id: I6f9b55ed671224a9b8735c8d937f94aac4a73a42 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- 04 Sep, 2012 1 commit
-
-
Oswald Buddenhagen authored
Change-Id: I0ffa76e802c0cc00d1866e7fe09ae54a6f535a6f Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- 03 Sep, 2012 5 commits
-
-
Oswald Buddenhagen authored
this is a reduced RHS grammar to be used with expandVariablesReferences() to implement the expansions in QMAKE_SUBSTITUTES. using the parser+evaluator for that is consistently up to 25% slower than a purely interpreted approach - except for plain strings (with some quoting), which happens to be exactly what is found in the template files to substitute. Change-Id: I219266460b970c6ddcb43cf85a914fbde6540271 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
Oswald Buddenhagen authored
for faster bootstrapping of qmake Change-Id: I602a023f4acbac276219bfc125863749ad96f754 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
Oswald Buddenhagen authored
Change-Id: Ic571837c56c725e332bf504c4b2dd2dde2ac32e2 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
Oswald Buddenhagen authored
"(eval)" does not exactly help to find the error source. Change-Id: Iecd03e6a4909ca6d7eab846844ca4415ebfa3429 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
Oswald Buddenhagen authored
... like qmake does Change-Id: I0724d1981278d0e7c4d7b4d4cfa435adaf3622ee Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- 01 Aug, 2012 6 commits
-
-
Oswald Buddenhagen authored
we don't really use the current character at this point, so don't fake it and use the cur pointer as a flag. Change-Id: I0dd31ff07fafe0748b88b3a573d25b689f0c3748 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
Oswald Buddenhagen authored
the performance is about the same (depending on the expression type it's better or worse), but a lot of code just disappears. Change-Id: I60eb9b87f23cc811d3f9577841c38966ecfd8e43 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
Oswald Buddenhagen authored
everything which is not stored in the parser cache is assumed to be disposed of rather soon anyway. this increases peak memory usage per evaluator by a few kilobytes (something in the order of five times the file size). as only manual spec parsing and eval() statemenents in projects use non-cached parsers, the impact is pretty much insignificant. Change-Id: I326f312f4dd98b30b692d219de7ae092b6ad3584 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
Oswald Buddenhagen authored
Change-Id: I7b16d13b0f94d0a2e4b4743a40dad9bd8b8b9698 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
Oswald Buddenhagen authored
Change-Id: Ia5dd0c408ace4e779da898ffb60e9ca12a383225 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
Oswald Buddenhagen authored
instead of having a bazillion different callbacks, have only one with a type parameter. the drain typically multiplexes all into one stream anyway. Change-Id: I963daefc5a266c91334a4cc599570ed26b603d5d Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- 19 Jul, 2012 1 commit
-
-
Eike Ziller authored
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
- 13 Jul, 2012 1 commit
-
-
Oswald Buddenhagen authored
Change-Id: If6be3a280e0509541df0354f41a3ed1dad100239 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- 09 Jul, 2012 2 commits
-
-
Oswald Buddenhagen authored
this is clearer and not necessarily more code. Change-Id: Ic698a8076658ae986d0dbdeebb1f4760dd806e35 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
Oswald Buddenhagen authored
Change-Id: I3c25642b885171a47e8fd27e39e5d470d9f24db3 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
- 04 Jul, 2012 4 commits
-
-
Oswald Buddenhagen authored
with the removal of the skip jump label some time ago, this condition became insatisfiable. Change-Id: I4fc52ca8a38e048fd37c2ae6bfaae69acf09ada0 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
Oswald Buddenhagen authored
in the context of possibly using the same parse result for multiple build configurations, resolving env variables already during parsing would be just wrong. Change-Id: I49367b5eff5868a38c026b8bd74148e0b359fffb Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
Oswald Buddenhagen authored
they are "compiler defines", with no dependency on the evaluation context. Change-Id: I25bf006347ecd2edb501a344820e2ac11ff389e9 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
Oswald Buddenhagen authored
more natural name Change-Id: I38d2a2fc785686aa5777afe41452b53f2c24adf8 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- 12 Apr, 2012 1 commit
-
-
Oswald Buddenhagen authored
this permits referencing qt 5 FOO/raw properties Change-Id: Ib6c65b9975eb74466dbf38d0b932caac9b392b7a Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@nokia.com>
-
- 15 Feb, 2012 1 commit
-
-
Erik Verbruggen authored
Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- 26 Jan, 2012 1 commit
-
-
hjk authored
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- 03 Nov, 2011 1 commit
-
-
hjk authored
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- 21 Oct, 2011 1 commit
-
-
Robert Loehning authored
Change-Id: I1368cb534284016479211160cd8bf3cbc2f738e4 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
- 30 May, 2011 1 commit
-
-
Oswald Buddenhagen authored
now we uniformly increment the read pointer only if we encountered a terminator (which also implies that we were not at non-eol yet). Task-number: QTCREATORBUG-5022 Change-Id: If4a4e7aec7423684297393fa10e50a69773b2048 Reviewed-on: http://codereview.qt.nokia.com/222 Reviewed-by:
Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
- 06 May, 2011 1 commit
-
-
Tobias Hunger authored
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
-
- 13 Apr, 2011 1 commit
-
-
hjk authored
-
- 06 Apr, 2011 1 commit
-
-
Oswald Buddenhagen authored
as far as possible, anyway. and suppress messages after the first one. this avoids that scope nesting gets thrown off and thus spurious followup-errors crop up. as a "side effect", this fixes a crash resulting from us rewinding the token stream but ignoring the block stack on the way. Task-number: QTCREATORBUG-4368
-