- 19 Dec, 2014 8 commits
-
-
Nikolai Kosjar authored
Instead, always write into a unique temporary directory in QDir::tempPath(). Where applicable, read the test source from files instead of first writing the file. Some clean ups in test_codegen*. Change-Id: Id48dc50c6ca16252edfd9fc8a86ba0de9f9be486 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
Nikolai Kosjar authored
The GenericProjectManager tests left over some state in CppModelManager. Change-Id: I3f5c5bf27b9443e6753eb6c24114e2e5b99e7372 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
Nikolai Kosjar authored
The test was broken since the QmakeProject was changed to work asynchronously. FAIL! : CppTools::Internal::CppToolsPlugin::test_modelmanager_extraeditorsupport_uiFiles() Compared values are not the same Actual (workingCopy.size()): 1 Expected (2) : 2 Change-Id: I6f7d05fb70af3def5fc371a9783b606309686e32 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
Nikolai Kosjar authored
* Get rid of CppModelManagerHelper. Now we simply use CppModelManager::projectInfo(someProject).isValid() to test whether a project is loaded. * Copy project data to temporary dir before opening the projects. This avoids creating *.user files in the Qt Creator source tree and annoying pop ups on test start. Change-Id: I1a57441ca2099beb6bb96cf620390d669fb47601 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
Nikolai Kosjar authored
The settings from the test were not set. Change-Id: I0e241ee1a60e4c4804c9e3e6819cbf0ecaa80d3d Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
Nikolai Kosjar authored
Change-Id: I397195a3e6d8b40a55d2a68429daf6c812f52da2 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
Nikolai Kosjar authored
...instead of going through CppModelManager::projectInfo(). Now CppModelManager::projectInfo() returns an invalid ProjectInfo in case there is no valid data for the given Project. Change-Id: I11908bf2ddf865b1d3d71ff176eaf4139292b21c Reviewed-by:
Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
Friedemann Kleint authored
The compiler is unable to match the arguments of the connect statement when a QPointer is involved. Change-Id: I87d3c11b9452f07739bf4e905a18071145c4e21d Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 18 Dec, 2014 22 commits
-
-
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>
-
hjk authored
Easier to read. Change-Id: I85abf6e8c881b4d521f7791625cff37bbd2fffdc Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
Erik Verbruggen authored
Separate the messy pp-number parsing from the numeric literal parsing. The C/C++ preprocessor makes a grown man cry, but at least we have "proper" literal parsing when we want it, including C++1y binary literals. Next step is digit separators (n3781). Change-Id: Ia069eef454ed5c056f77694a5b8a595d0b76adc4 Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
Nikolai Kosjar authored
Create a clean and unique settings directory for "-test" runs if no settings path is provided explicitly. Change-Id: Ida2f5a74d42a5292963dd8d5d1f9dcddcdd24fd4 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
Eike Ziller authored
The rendered text is still ugly, but the fuzzy text is better than the alternative currently. Change-Id: Id9e54fb406ee964e0b9b5c40b7a8108b45c15f85 Task-number: QTBUG-42861 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Eike Ziller authored
Use the background color property in the QML code instead of relying on QQuickView::setColor Change-Id: I556515a42d9483f88500fa5a5c56ea21f48fa685 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
Eike Ziller authored
Change-Id: Id65eb262d02bb4db765abefa361d407837b45782 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
Christian Stenger authored
Change-Id: Ic2500d009d2195d19651ac691c42d55a612fde04 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Christian Kandeler authored
In ProjectTree::update() as well as in CurrentProjectFilter::currentProjectChanged(), there are crashes due to accesses to a pointer to a deleted project. Wrap the pointer in a QPointer to prevent this. May or may not be the correct long-term solution, but does fix the crash. Change-Id: I4182a4753578cc4765b9120a36cd8701d07c94c1 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Nikolai Kosjar authored
...on a file path change. Change-Id: Id4f67c9f133e53ddb3fea6c0ec3322f87914469b Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
Christian Kandeler authored
We keep connections open to avoid re-doing the authentication procedure when the user runs or deploys a remote app repeatedly. However, the connections should not be around indefinitely; we therefore now close them after about five minutes of inactivity. Change-Id: Ie677eb133b618d34c08528da2f2bc221472316b3 Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Christian Kandeler <christian.kandeler@theqtcompany.com>
-
Ulf Hermann authored
If you pass 0 as notes model to the aggregator then all the notes features are hidden. Change-Id: I432f2820812c472221a0330de5b8f5d8d0fcad13 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: I9860af4b6aedbd656103bf5def38f1830b1352e1 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Allow models to be created without a parent and provide default implementations for virtual methods. It's actually fine to have all ranges in row 0 and in black by default. Having default implementations makes things easier to test. Change-Id: Ibb842ef295cdcfa13d8ca4be3489906af72e9699 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: If27c51b1189bc0bb0333837c58849bc79b779845 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Don't include things twice and don't signal const TimelineModel where it isn't const. Also, allow creation of renderers without using the private class. Change-Id: I1c46d75c6abf1f38731dde6f4f3ebe8f5af2ad08 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
We only need 2 additional vertices for items of different height, not 3. Change-Id: Idff63aaead53f0a95d89ba5d6455b4fb169059f2 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: Ib19cd8cc76324e583ed79d8a660bb06a7b154a66 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
hjk authored
Use register names as handle, not their index in the view. Store the raw real values, not some stringified version as primary data. Use subentries to break down bigger registers into smaller entities. Also remember the previous value of a register and show it in a tooltip. Change-Id: I8ae3cc8766a7b211bc7cc827c734e5cf6060825c Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Eike Ziller authored
Introduce a "Highest" priority for the filters-filter. Keep "Low" available for lower priority than the default all projects and current project filter. Change-Id: I9152d2e6c64b65478416cee18183bce1240ee187 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Erik Verbruggen authored
... by keying on Utils::FileName. Task-number: QTCREATORBUG-12390 Change-Id: Ib99eefcf3440d4383f624a614a3093f427efffbd Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Nikita Baryshnikov authored
and remove stale define Change-Id: I8f47c539457577faee13320f88709b60deee90ea Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 17 Dec, 2014 4 commits
-
-
Daniel Teske authored
On adding nodes to the node structure, both the FlatModel::nodesAdded and ProjectTree::nodesAdded code is run. We need to ensure that FlatModel::nodesAdded is run first though, as we need that information in the ProjectTree. Task-number: QTCREATORBUG-13667 Change-Id: I0b4b41ed6036cfdef668c16689d25611633ab0c9 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Eike Ziller authored
Change-Id: I1b4a72437b76cefb1c457033692f20efc41c089c Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Erik Verbruggen authored
... by keying on Utils::FileName Task-number: QTCREATORBUG-12390 Change-Id: Ia98afb5a9160a7fd9225a2f9e02539ff3c35ae86 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
hjk authored
This is mainly used to communicate the number of columns and header contents. Change-Id: Ic3163265338d71f1fa8250e4765bb764e5784197 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 16 Dec, 2014 6 commits
-
-
Oswald Buddenhagen authored
qmake helpfully hard-codes this processing in the generators instead of letting default_pro & co. handle it, so we must explicitly reproduce it. Task-number: <ask nikolai> Change-Id: Ia42c727291b28cf4b01f11e464d2244ce1fb53dd Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
Oswald Buddenhagen authored
the rationale is that postprocessing which is done by the generators (in some cases right at the point of emitting code to the makefile) should be abstracted inside the "medium-level" class which also does the path resolution done by the generators. along the way we also make minor fixes to the processing: - we pay attention to CONFIG+=no_include_pwd - we add the build dir as well when shadow building Change-Id: Ib389942fdc0470e05c1aa49e3615b6ac00241662 Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
Oswald Buddenhagen authored
the two functions which use its output don't need any of the processing done by default_post and later prf files. Change-Id: I160a5c2762071d5dc97ed195889196b83d8e2204 Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
Volker Vogelhuber authored
Change-Id: I78c7e46372ea7a5c1651c420f66c0ce6326d7297 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: I964b2f149e237eb25a08600e8dab8968e8bc0cb9 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: I3c300a1ebc2286e0ac5d281f29dbffeb5259e62e Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-