- 24 Nov, 2016 3 commits
-
-
David Schulz authored
Change-Id: I36f818d72bb6289523dc9de07899ea438ebb14d0 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
David Schulz authored
Change-Id: I6815679900cde6365f2ed7ca874a081babd366c1 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
David Schulz authored
Directly looking up array and pointer types is more likely to fail than looking up the target type. Change-Id: Icea8320e2eedd34f6d81692c5eacf50f644100bc Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
- 23 Nov, 2016 17 commits
-
-
Marco Bubke authored
struct X { int member; }; void f(int &argument); void foo() { X x; f(x.member); } Task-number: QTCREATORBUG-17101 Change-Id: I6746122dbe86d032b3797a01b5f2257846007f94 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-
Marco Bubke authored
Constructors are not recognized by libClang as callable expressions. Task-number: QTCREATORBUG-17101 Change-Id: I40eb46c07475e3b2e48bc8117de073732005f8b9 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-
Jaroslaw Kobus authored
Change-Id: I5e98d1ab93ac442c1f1a132a51ab838567a735a0 Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
Christian Kandeler authored
Precompiled headers are designated via file tags since qbs 1.6, whereas the code here still assumed the earlier, property-based approach. Task-number: QTCREATORBUG-17195 Change-Id: If379fab5fbe63c7e3128d2ab1c53d08737cdcff1 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
Riitta-Leena Miettinen authored
A checkbox and a button have been added and a field has been removed. Change-Id: Ib67e73300ac4ecd9427b2ed0b80fb57b7d701db8 Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
Nikolai Kosjar authored
Task-number: QTCREATORBUG-17270 Change-Id: I582015597a65141e420622dcdb50e82f9791b189 Reviewed-by:
Christian Stenger <christian.stenger@qt.io> Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Nikolai Kosjar authored
...if the registered document comes with unsaved content. This can easily happen if the document is opened and modified by a refactoring action. Task-number: QTCREATORBUG-17295 Change-Id: I3a95fb495b6122248ceaa80985e838851ba2c0e5 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Nikolai Kosjar authored
Reproduce with: 1. Create a new class named Foo with the wizard. 2. Close foo.h 3. In foo.cpp, add some class member function. 4. In foo.cpp, trigger the refactoring action "Add public Declaration" for the just defined member function. As a result, foo.h will be opened. ==> While the declaration was added, the header file is not yet reparsed with the new content - this can be verified by setting a custom color for "Function". In this use case, the refactoring action opens the editor and immediately modifies the document (RefactoringFile::apply). Fix by sending the document content along for the very first RegisterTranslationUnitForEditorMessage if the document was already modified. Change-Id: If20615a45b72dd0bef87e1870e403d0b277bc5d6 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
hjk authored
The capturesTexts cache may or may not be warm, and we may or may not be able to warm it. Make the dumper work in as much cases as possible. Change-Id: I9d9e0ec0c6a1bcf7288352c2834fedd42071d068 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
hjk authored
Task-number: QTCREATORBUG-17324 Change-Id: Ic9571a91e5f414abd10b18698a0e0ae9bb0f1f46 Reviewed-by:
hjk <hjk@qt.io> Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
Riitta-Leena Miettinen authored
This is done in preparation for moving some Qt Creator plugins and their documentation into their own repositories. All the changes have to do with the structure of the documentation. There are no content changes, except removing headings or changing them to better fit the new structure and adding some leading sentences or links. Change-Id: I1499187121a1a1cc3c6b635801fb540ac439fd0b Reviewed-by:
Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Hugues Delorme <delorme.hugues@fougue.pro>
-
Nikolai Kosjar authored
Change-Id: I60d7d2969d55499bc2ac5ddaf0127c60e8c76a7a Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Nikolai Kosjar authored
In 99% of the time this is annoying. Change-Id: I14749eec6180472221193577aa14b1e396f34ba7 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Christian Kandeler authored
We should be explicit about where we assume the source files to be. The base directory might change in the future. Change-Id: Ifd53c2586f5c67a72ed928130647083d467a3e30 Reviewed-by:
Jake Petroules <jake.petroules@qt.io>
-
David Schulz authored
Change-Id: I5fc1cf185fdf9d3928a68e952aeb9fd39fe87c8a Reviewed-by:
hjk <hjk@qt.io>
-
Robert Loehning authored
Change-Id: Idb6d26f01e1a4be70fa30ec8175b6b4e509bbaf7 Reviewed-by:
Thomas Hartmann <thomas.hartmann@qt.io>
-
Robert Loehning authored
Change-Id: I28b0dc2ff0fa919ca99c468c9648ab105c7e38c5 Reviewed-by:
Thomas Hartmann <thomas.hartmann@qt.io>
-
- 22 Nov, 2016 12 commits
-
-
Thomas Hartmann authored
The overload for the "+" operator is ambiguous. Change-Id: Iaebd889ef2eaed6e2d4261ecbd9555a6ba73c521 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
hjk authored
Change-Id: I263ba22b8160285803fca73869851596ff81a16b Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io>
-
Jaroslaw Kobus authored
Change-Id: I01d54f0bd131b8ae7daee74533375920fa544adf Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
Filipe Azevedo authored
Change-Id: Icef2b21e86f678bdd9f10dc26197db97bba6ade9 Reviewed-by:
hjk <hjk@qt.io>
-
Nikolai Kosjar authored
Feeding libclang with unsaved files (e.g. in-memory generated ui_*.h) that do not exist on disk leads to regeneration of the preamble on every parse/reparse/completion and thus renders the clang code model useless. We could check the existence in the file system for every unsaved file just before every parse/reparse/completion. Obviously this does not scale (e.g. qtcreator.pro generates about 200 unsaves files) and would also slow down the responsiveness of the completion, especially for the dot-to-arrow correction case. We could also set up a file system watcher. However, implementing the "file got created" case is not trivial because QFileSystemWatcher does not support it out of the box. Instead, set up a custom include directory and create empty files in it that represent the unsaved files and pass that include directory to libclang as the last one. While this fixes the performance problems, it also comes with at least two problems: * Because ui_*.h files are "relocated" to the same directory, two or more "foo.ui" in the same session will be problematic. * Because of the custom include directory, problems might arise for projects that include the ui_*.h as "some/relative/path/ui_foo.h" instead of "ui_foo.h". This should be the less common case. Task-number: QTCREATORBUG-17245 Change-Id: I6e40e87c3ef095086eb22c972dd8c1a6459a8245 Reviewed-by:
Marco Bubke <marco.bubke@qt.io>
-
Nikolai Kosjar authored
On project loading ExtraCompiler objects are created that might read the already existing ui_*.h files in the build directory. In this case, ExtraCompiler::setContent() is called, which will emit a signal about the modified content. Now GeneratedCodeModelSupport is a client of this signal and it forwards the changed contents to the clang code model. However, GeneratedCodeModelSupport objects might be created later and miss the initial signal emission, thus leaving the code model unaware of some unsaved files. Fix by notifying the code model at construction time of GeneratedCodeModelSupport. Change-Id: I7311867ad7f534920357801647bd2d0c82bb4edb Reviewed-by:
Ulf Hermann <ulf.hermann@qt.io> Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
Eike Ziller authored
Change-Id: Ia14ffb94e8a5f599071ede0c9a73fdc960ad01a3 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io>
-
Nikolai Kosjar authored
nodeinstanceserver.cpp: In member function 'void QmlDesigner::NodeInstanceServer::setupImports(const QVector<QmlDesigner::AddImportContainer>&)': nodeinstanceserver.cpp:458:71: error: conversion from 'const char*' to 'QChar' is ambiguous Change-Id: Ifa4cb2700344aaacc17619f05249f338e9b28d0b Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Tim Jenssen authored
Task-number: QTCREATORBUG-17303 Change-Id: I0f7a054d63234f3f368de65fd6092c494a9055d4 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
-
Riitta-Leena Miettinen authored
Change-Id: Ic8b90cd322be219d3b61e24183d3dad5688645f2 Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
Riitta-Leena Miettinen authored
Change-Id: I95da91ab0cbed3068073945c6d72ea5c20ca0bb2 Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
Riitta-Leena Miettinen authored
Change-Id: I462a1db8095be14c444bfaba3ae1bc21f7196a3a Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
- 21 Nov, 2016 8 commits
-
-
Thomas Hartmann authored
Not having a QtQuick import does not make much sense and will lead to undefined behavior. Change-Id: I1b103b088db1bedc191b9a3dbdeb1e45c87dab85 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Eike Ziller authored
-
Eike Ziller authored
Conflicts: src/plugins/qbsprojectmanager/defaultpropertyprovider.cpp src/plugins/qbsprojectmanager/qbsconstants.h Change-Id: I3800e580faaccdc1dd08da851956ba677d33df51
-
Thomas Hartmann authored
This should improve the sitation for QTCREATORBUG-17306, but will not fix it. Change-Id: I28da773da4f4a4e438e959d44a924ea90b1e73fb Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Tim Jenssen authored
Change-Id: Id1255ed1fd544e0eed75aeeeb2ffb3df8f75dc84 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
-
Tim Jenssen authored
Change-Id: Icafd8cffec042b09993aeea40a86ddd7eb349b0b Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
-
hjk authored
The functionality tested is used in other tested places. Change-Id: I62883e81dab9f26ac63e1f45f039571ca1f6a32e Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
Friedemann Kleint authored
Extend ABI by flavor and add look-up. As with each major update, rewrite the the MSVC toolchain autodetection. Previously, the detection looped over the entries in "VC" registry section and checked in the "VS" section whether a valid installation belonged to the entry. MSVC2017 no longer has an entry in the "VC" section. Introduce a struct describing the installation including version number and rewrite the loop to run over the "VS" section and retrieve the VC path from the "VC" section only for versions <= 14.0. Also, the various .bat files for the target architecture are now in a single folder instead of spread around various bin/XXX subfolders. Introduce an array of structs for the platform that has the prefix and .bat name and uses the prefix only for versions <= 14.0. Task-number: QTBUG-57086 Change-Id: I947edd885c0a379f196440041c07d60cd4244d9c Reviewed-by:
Eike Ziller <eike.ziller@qt.io> Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by:
David Schulz <david.schulz@qt.io> Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-