- Jul 13, 2015
-
-
Nikolai Kosjar authored
The code snippet provided in the bug report could not be parsed properly, thus Bind did not generate all expected symbols/names. The chunk in onConnectOrDisconnectCall() fixes the crash. The other chunks address triggered QTC_ASSERTs. Change-Id: Idf508b91b70659d38e59064d4922600f7b31daf8 Task-number: QTCREATORBUG-14709 Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
- Jun 11, 2015
-
-
Lorenz Haas authored
Use FancyLineEdit and validate the function name before accepting the dialog. Change-Id: I1634ac757127d3cb39674eeed79388e720d570fa Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Jun 09, 2015
-
-
Lorenz Haas authored
Task-number: QTCREATORBUG-12127 Change-Id: Ifb6ff22282f0f181e49a260e57307ec937f5dfb2 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Lorenz Haas authored
As a nice side effect superfluous new lines - introduced by quick fixes that are using InsertionPointLocator::methodDefinition - vanished. Task-number: QTCREATORBUG-13872 Change-Id: Ib3df2b2acbc22449f16f4444092a57ae93d53d35 Reviewed-by:
Jochen Becher <jochen_becher@gmx.de> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Jun 04, 2015
-
-
Tobias Hunger authored
Change-Id: Ie0b75ea64ec3927732b484983311990c8ca0d057 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Apr 20, 2015
-
-
Joerg Bornemann authored
The "Convert to Stack Variable" quick fix generated invalid code for the following snippet: QString s = new QString(); Task-number: QTCREATORBUG-14279 Change-Id: I1f5e33d2089bc2d5713eae1e9f4dc5986523112c Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Orgad Shaneh authored
Change-Id: Ide74482b133dd1fec40a725d9aa81bd749385f37 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Mar 24, 2015
-
-
Lorenz Haas authored
With a simple check GenerateGetterSetter looks for symbols starting with "get". If such symbols are found it is most likely that the current class uses "getFoo" for getters and thus the quick fix uses this coding style for generating the getter name. Change-Id: I9ff8ef8bb936572abaaf9e671b8985553c1018f1 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Lorenz Haas authored
Since the Q_PROPERTY's name equals the typical getter name the "Generate Getter" quick fix was not offered. Q_PROPERTY(int a ...) // <-- a is "recognized" as "int a();" int m_a; Task-number: QTCREATORBUG-14166 Change-Id: I35709a1b6492b68309d02427d60251df4fd76cfa Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Mar 13, 2015
-
-
Nikolai Kosjar authored
Change-Id: I44f2edb2905e202669630ab5da85066011491fae Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
- Mar 09, 2015
-
-
Orgad Shaneh authored
Task-number: QTCREATORBUG-14104 Change-Id: I157dbcb0e06ed1bf49d2df01bdbad215e35a4c3a Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Orgad Shaneh authored
Fixes at least explicit data() calls for templated pointers: QPointer<QAction> action; connect(action.data(), SIGNAL(triggered()), this, SLOT(slot())); Change-Id: I7f76c1f556c0f271936728d611751424969916a7 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Feb 26, 2015
-
-
Libor Tomsik authored
Convert to Stack Variable generates crashing code. Task-number: QTCREATORBUG-13685 Change-Id: I4555de223e50bc8d75e97205d273aa0f09f652fc Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Feb 09, 2015
-
-
Lorenz Haas authored
Change-Id: I840160a8f5b1c86d621f3334556a74ccb7176ba8 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Lorenz Haas authored
Change-Id: I7b63f636520a9dcc8e6b62ab1b80181d023c478b Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Lorenz Haas authored
Change-Id: Iea1aa4ca3f34d11d2e55ce56572c3b19af5743e3 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Lorenz Haas authored
In addition to create both getter and setter member functions at once it can now be decided to only create a getter or setter member function. Task-number: QTCREATORBUG-13874 Change-Id: I9127a31b7d87dc91619abb2e2335bd8221f170a2 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Feb 04, 2015
-
-
Lorenz Haas authored
Instead of using "arg" for the generated getter/setter/signal argument try to detect a proper name. Task-number: QTCREATORBUG-12656 Change-Id: Iddaeb1f1d490af003d172d515033d85d778c10df Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Orgad Shaneh authored
Mostly done using the following ruby script: Dir.glob('**/*.cpp').each { |file| next if file =~ %r{src/shared/qbs|/qmljs/} s = File.read(file) s.scan(/^using namespace (.*);$/) { ns = $1 t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m| before = $1 char = $2 if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/ m else before + char end } if t != s puts file File.open(file, 'w').write(t) end } } Change-Id: I6fbe13ddc1485efe95c3156097bf41d90c0febac Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Feb 03, 2015
-
-
Lorenz Haas authored
Task-number: QTCREATORBUG-13900 Change-Id: I394ed96072c590df627bc29f1962cdab4f7d34d7 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Feb 02, 2015
-
-
Lorenz Haas authored
Change-Id: If268d2109c4efae9d3c93fd2bf5953cca2b41dd1 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
- Jan 29, 2015
-
-
Orgad Shaneh authored
Change-Id: I4852ff215abf25649fc5eac1e922ae901839ca3d Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- Jan 26, 2015
-
-
Lorenz Haas authored
This QuickFix behaves like MoveFuncDefOutside except it moves all member function definitions. It is triggered on the class name. Change-Id: I1393a51cad521a7bb58a1ed6223ab0fe4db0e592 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Lorenz Haas authored
Make calls like a->b()->c() assignable to a local variable. Task-number: QTCREATORBUG-10355 Change-Id: If4a55b435c99150710d00567188f901acb2c1a89 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Jan 16, 2015
-
-
Eike Ziller authored
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- Dec 18, 2014
-
-
Marco Bubke authored
Event loops can lead to crashes so it is better to use a dialog which has not it's own event loop. Change-Id: I53b5dee15e7207df91df45fd531e4520d502481b Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Dec 17, 2014
-
-
Erik Verbruggen authored
... by keying on Utils::FileName Task-number: QTCREATORBUG-12390 Change-Id: Ia98afb5a9160a7fd9225a2f9e02539ff3c35ae86 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Joerg Bornemann authored
Change-Id: Ic378ea1f7fc58fdb9351c9eaa9e9602e568d5ac9 Task-number: QTCREATORBUG-13605 Reviewed-by:
Robert Loehning <robert.loehning@theqtcompany.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- Nov 28, 2014
-
-
Nikolai Kosjar authored
Task-number: QTCREATORBUG-13422 Change-Id: I3648bf44760fdac4e8e1e79652519136af6032c8 Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
- Nov 27, 2014
-
-
Nikolai Kosjar authored
Change-Id: I8a3a3240033d23aa9e3df5276c4e6302d97f71b9 Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
- Oct 22, 2014
-
-
Nikolai Kosjar authored
* Fixes multiple addition of same include. * Takes over the check of AddIncludeForForwardDeclaration for forward headers. Task-number: QTCREATORBUG-9704 Change-Id: I84629d35ae433385942a9157e5d32ef04159d07f Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- Oct 09, 2014
-
-
Eike Ziller authored
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- Oct 08, 2014
-
-
Nikolai Kosjar authored
...when adding an include for an undefined identifier. Change-Id: Ia338e924901262a847d3bd7ed9733d8e66c631dd Task-number: QTCREATORBUG-10391 Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
Nikolai Kosjar authored
...in AddIncludeForUndefinedIdentifier. Even without this locator filter we can offer an refactoring action. See findIncludeForQtClass(). Change-Id: Ic616b82b0af9d59984da882e08f6ede714e85a86 Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
Nikolai Kosjar authored
Task-number: QTCREATORBUG-9704 Change-Id: Ib08c331364fbfcb6e3fb9971d45e8b27311143ae Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
Nikolai Kosjar authored
Now there is no need to position the cursor on "C" of "Namespace::C" to trigger the quick fix. It will already trigger if the cursor is somewhere within the name. Change-Id: Ic99325f95b5cf5551fc74b55606c402461849fb0 Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
Nikolai Kosjar authored
...to make the high level code path easier to follow. Change-Id: If0ff9a15c9de399286e3a7f59a571949ca8f04de Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- Oct 02, 2014
-
-
hjk authored
Change-Id: I94794214d969aeda6b3ce21fdca9e0bd23dea800 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
hjk authored
Change-Id: I256753726cd543e157663faddabf960b26b04300 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Sep 30, 2014
-
-
hjk authored
Limitations: * Overloads are not yet handled * Action is not offered if the slot can't be looked up in the receiver expression (e.g. when it's a base class pointer). Change-Id: I5779ff1b74657025d058d4f3690f6723b4784497 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-