- 23 Dec, 2013 10 commits
-
-
Orgad Shaneh authored
Mostly done using the following Ruby script: Fname = 'src/plugins/cpptools/cppcompletion_test.cpp' s = File.read(Fname) mod = s.gsub(/(?<declaration>void CppToolsPlugin::test_(?<test_name>[^(]+)\(\)\n\{)(?<body>.*?\n)\}/m) { |func| match = $~ declaration = match['declaration'] body = match['body'] test_name = match['test_name'].sub('_data', '') final = body.gsub(/(?:completions.clear\(\);\s+)?(?: +)[^\n]* =\n(?<code>.*?);\s*(?<completions>(?:completions.append\(QLatin1String\("[^"]*"\)\);\s*)*)QTest::newRow\("case: (?<name>.+?)"\)\s*<< code << _\("(?<prefix>[^"]+)"\) << completions;/m) { m = $~ res = " QTest::newRow(\"#{test_name}: #{m['name']}\") << _(\n#{m['code'].rstrip}\n ) << _(\"#{m['prefix']}\") << (QStringList()" m['completions'].scan(/completions.append\((.+)\);/) { |comp| res << "\n << #{comp[0]}" } res + ');' }.gsub(/(?: +)[^\n]* =\n(?<code>.*?);\n\s*CompletionTestCase test\(.+?, "(?<prefix>.+?)"\);\s*QStringList expected;\s*(?<completions>(?:expected.append\(QLatin1String\("[^"]*"\)\);\s*)*)const QStringList completions = test.getCompletions\(\);\s*QCOMPARE\(completions, expected\);/m) { m = $~ res = " QTest::newRow(\"#{test_name}\") << _(\n#{m['code'].rstrip}\n ) << _(\"#{m['prefix']}\") << (QStringList()" m['completions'].scan(/expected.append\((.+)\);/) { |comp| res << "\n << #{comp[0]}" } res + ');' }.gsub(/(?: +)[^\n]* =\n(?<code>.*?);\n\s*CompletionTestCase test\(.+?(?:, (?<prefix>".+?"))?\);\s*(?:const )?QStringList completions = test.getCompletions\(\);\s*QCOMPARE\(completions.size\(\), \d+\);(?<completions>(?:\s*QVERIFY\(completions.contains\([^\n]+\);)*)\n/m) { |mm| m = $~ res = " QTest::newRow(\"#{test_name}\") << _(\n#{m['code'].rstrip}\n ) << _(#{m['prefix']}) << (QStringList()" m['completions'].scan(/QVERIFY\(completions.contains\((.+?)\)\);/) { |comp| res << "\n << #{comp[0]}" } res + ");\n" }.gsub(/(?: +)[^\n]* =\n(?<code>.*?);\n\s*CompletionTestCase test\(.+?(?:, (?<prefix>".+?"))?\);\s*bool replaceAccessOperator = false;\s*const QStringList completions = test.getCompletions\(\&replaceAccessOperator\);\s*QCOMPARE\(completions.size\(\), \d+\);(?<completions>(?:\s*QVERIFY\(completions.contains\([^\n]+\);)*)\s*QVERIFY\((?<replace>!?)[^)]*\);\n/m) { |mm| m = $~ res = " QTest::newRow(\"#{test_name}\") << _(\n#{m['code'].rstrip}\n ) << _(#{m['prefix']}) << (QStringList()" m['completions'].scan(/QVERIFY\(completions.contains\((.+?)\)\);/) { |comp| res << "\n << #{comp[0]}" } res + ")\n << #{m['replace'].empty?};\n" } if final == body or final['QTest::addColumn'] declaration + final + "}" else final end }.gsub(/QTest::newRow\("([^"]+)"/) { |m| name = $1 if name.size > 73 space = name[0..73].rindex(/[ _]/) "QTest::newRow(\"#{name[0..space]}\"\n \"#{name[space+1..-1]}\"" else m end }.gsub(/\s+QTest::newRow/, "\n\n QTest::newRow") if mod != s File.open(Fname, 'wt').write(mod) end Change-Id: Id6bfb03cdf31ac27b36028fcdc861c340a5398f4 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
For reasonable diff on following commit Change-Id: I97e121355279f9166cea2f500cf2d4df5fafaa32 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
Change-Id: I3dea8a8bdd4ae71b48926ec3332ef00cf5ad4303 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
Change-Id: Ieb452713e9e09fce107520c4fd2a401007802e89 Reviewed-by:
Przemyslaw Gorszkowski <pgorszkowski@gmail.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
Change-Id: I409a00b869a95dff2d69c9744da75c324c82776a Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
Change-Id: I3c5f42de464a5607f1caa6a48d881c5a4a113ec3 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
Change-Id: I2526daeaf54f7f8d4b808cf556cff9242adaa391 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
SemanticInfo has moved from CppEditor to CppTools and is now exported, so this workaround is no longer needed (and it breaks linkage) Change-Id: Ic9ba017bcb06be85fdccef27e63091415494bb21 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
Change-Id: I7b3c52a6eb70a0e2d7f2785fac71cb3ac68769d8 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
Change-Id: I2a7b36063ad3c67d3a1fbe999659dc0051723b10 Reviewed-by:
André Hartmann <aha_1980@gmx.de> Reviewed-by:
Petar Perisin <petar.perisin@gmail.com>
-
- 22 Dec, 2013 2 commits
-
-
Orgad Shaneh authored
Missing dependency This reverts commit 724690132cf6d8fb812ea67e1665d7bbf7c5d290 Change-Id: Ib20b7bbd23b0a22e271006f951095d805e4639e1 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
Orgad Shaneh authored
Change-Id: I0b693ec00008b9cd39e05148acc5441fed39a196 Reviewed-by:
Petar Perisin <petar.perisin@gmail.com>
-
- 20 Dec, 2013 4 commits
-
-
hjk authored
I am not fully convinced this is a good idea, but it looks like the different behaviour of type formats and individual formats is unexpected. Task-number: QTCREATORBUG-7412 Change-Id: I5aae39939dfe75b3d9ff6c1025bd3d9c9222695a Reviewed-by:
David Schulz <david.schulz@digia.com>
-
Erik Verbruggen authored
Previously known as the wip/clang branch. Contributors (in alphabetical order): - Christian Kamm <christian.d.kamm@nokia.com> - Erik Verbruggen <erik.verbruggen@digia.com> - Leandro Melo <leandro.melo@nokia.com> - Peter Kuemmel <syntheticpp@gmx.net> - Sergey Shambir <sergey.shambir.auto@gmail.com> Change-Id: I4c3ff600a19b6732641c1d5ef28236bf2cc17737 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
hjk authored
The original name inconveniently starts with 'plugin', creating a conflict for shell tab completion when trying to enter src/plugins/... taking extra keystrokes to resolve. Change-Id: I7fa59d767aa900f73cd643dfab0d5b2131652a2d Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
Tobias Nätterlund authored
Task-number: QTCREATORBUG-10395 Change-Id: I290c52dbcf2615513ec1a5fb0e724baff425d1cf Reviewed-by:
David Kaspar <dkaspar@blackberry.com> Reviewed-by:
Mehdi Fekari <mfekari@blackberry.com> Reviewed-by:
Nicolas Arnaud-Cormos <nicolas@kdab.com>
-
- 19 Dec, 2013 6 commits
-
-
Thiago Macieira authored
Change-Id: I16126091c8c3a241d0b91534ecdb5f0cbf7d5bd5 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Thiago Macieira authored
This also removes the display type selection, which didn't work anyway. __m128 were only displayed as floats. Change-Id: I2e3df0cd87a21abb0e3d844384e18cb9e5e6a021 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Thiago Macieira authored
I can't make it display the unsigned char[16] as a string and I have no clue why. This is all magic to me... This is good enough anyway Change-Id: I1d78c01b3baaec8e7d4506552d79a536b573e9a6 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
jkobus authored
Get rid of source property out of DiffEditorWidget, attach dynamic property when it's needed instead. Change-Id: I6641a7b55c42b4eceba78c2e28f5140b40fe0fa5 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
Eike Ziller authored
Change-Id: Ifc949a520054228d882ae1ff8ddbb7de87977abc Reviewed-by:
Jarek Kobus <jaroslaw.kobus@digia.com>
-
Eike Ziller authored
Change-Id: I73d70da7e6cc6006da92c05bf0b15da6b8bbf5bf Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
- 18 Dec, 2013 9 commits
-
-
Eike Ziller authored
-
Eike Ziller authored
By taking the translated text from designer. This way we don't freeze directly when filtering the options page. We still have to initialize designer (and therefore freeze) the moment that category gets selected though (which can also happen during filtering). Task-number: QTCREATORBUG-9584 Change-Id: I88275db97f87a5da8c565bccc8ae41de3b51a135 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
Eike Ziller authored
Change-Id: I1ef1f20d776f955c2f08d551dbac1621b98c0961 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
Robert Loehning authored
Change-Id: I28a1922fa1cf256baf3775d6eab47aeeb35432df Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
Eike Ziller authored
Change-Id: Ifc694394ebde336de0b7d1492dedf840c9e9a8dd Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
Eike Ziller authored
Change-Id: I6124c12a269093fbd54cbbbb47b4d7f15ffaae2f Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Eike Ziller authored
Doesn't really make sense to have the additional IDocument *editorDocument() method. Change-Id: I0a7420eb1afaa76f63c3f7e9c4b373acf624ffb9 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Eike Ziller authored
Conflicts: share/qtcreator/debugger/stdtypes.py src/plugins/qmlprofiler/qmlprofilereventsmodelproxy.cpp Change-Id: I5d86746d58960e41e01e725ccb2a6c00890f0dfd
-
Martin Bohacek authored
Change-Id: Ic55bdf7b2974aaa7a0b26ac7509288cafc2d5fa9 Reviewed-by:
Christian Stenger <christian.stenger@digia.com> Reviewed-by:
Martin Boháček <mbohacek@blackberry.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 17 Dec, 2013 8 commits
-
-
Petar Perisin authored
Change-Id: I283c3704b834cfb3d62f3e12a76c5530ee85d777 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
Jens Bache-Wiig authored
This is a somewhat different solution for improving the performance of the welcome screen. It has the added benefit of caching loaded items while still retaining a decent performance. Change-Id: I9927a90f1b7de5bb06c43b16dc80cb2afec3f8ad Reviewed-by:
Ulf Hermann <ulf.hermann@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
El Mehdi Fekari authored
Change-Id: Iba0865d5762083d25532a92047ab95188bfd0487 Reviewed-by:
Rafael Roquetto <rafael.roquetto@kdab.com>
-
Eskil Abrahamsen Blomfeldt authored
androiddeployqt uses toLocal8Bit() to get the correct encoding for executing shell commands, which is broken when Creator sets the process locale to something different from the shell. This caused build failures for all users on systems where the default build path is translated to something which contains non-latin characters. Task-number: QTBUG-34316 Change-Id: I4e7dd0d3351d164b720f042bb21f668589df5527 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
El Mehdi Fekari authored
Change-Id: Id279e8d7cf4ddc2a25aeab509ac48af53bdbc7a0 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
Eike Ziller authored
It was only showing the "last" one because the inames were the same (currentIName.None). Do not overwrite iname of sub item in 'enterSubItem' if it already was set. Task-number: QTCREATORBUG-11109 Change-Id: I74581f62d47ff0c33650769c3ed66e24124d1092 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Leena Miettinen authored
The field label was changed by: f10afe69 Change-Id: Iaac787c84459fcabb0399012201999c60671d563 Reviewed-by:
David Kaspar <dkaspar@blackberry.com> Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com>
-
Kai Koehne authored
Do try to resolve plugin_dependencies.pri files in all directories set by QTC_PLUGIN_DIRS. Also fail if a dependencies_pri file cannot be resolved. Change-Id: I2c14db832cef0fcc97a2f0351847c4969f5bd420 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-
- 16 Dec, 2013 1 commit
-
-
Thiago Macieira authored
That's what you get for shadowing a variable... The "childItem" variable on the second part of the foreach refers to one declared on the first part, which is uninitialized. Found by ICC 14.0: graphicalnodeinstance.cpp(300): warning #592: variable "childItem" is used before its value is set Change-Id: I9079a428eda90f4bb06f9ccd1adf836fee119133 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com> Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-