- 03 Jun, 2015 24 commits
-
-
Marco Bubke authored
This is a partial result of wip/clang-oop. More will follow. This allows us to invoke the completion out of the Qt Creator process and thus safes us as against libclang crashes. At this point only the completion use case is supported. Some notes on the individual components: src/libs/codemodelbackendipc * library encapsulating the inter process communication handling * used by the backend application and in a follow-up change by the creator integration src/libs/3rdparty/sqlite * version 3.8.10.2 * dependency of codemodelbackendipc, will be used to storage indexing data, among others src/tools/codemodelbackend * the backend application tests/unit: * unit tests Change-Id: I91a48e27467581a22fb760a18d8eb926008fea60 Reviewed-by:
Alessandro Portale <alessandro.portale@theqtcompany.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
Tobias Hunger authored
Change-Id: I9465394a8c128e894e3e758d2494e5e8b50c8b37 Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
Tobias Hunger authored
Change-Id: If62b4ad44288894cab818a7a943d53f62c57a63a Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
Tobias Hunger authored
Change-Id: Ie877cab36dde8f0f62a08d47c4006332e0be8e9e Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
Tobias Hunger authored
Change-Id: Id5d53a6896762dd2a427a89e15307567592b6eb6 Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
Tobias Hunger authored
Change-Id: I8f8daddd2efd46a2ad0596ed44e4ee1932c3b815 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Tobias Hunger authored
Convert some connects to Qt5-style while at it. Change-Id: Ib5d8af8ccded1005302ad2da3c185c73a8992bd6 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Tobias Hunger authored
The side-effect is that WizardEventLoop can go! Change-Id: I0eae0e0fa91a48e2a5010b47cc0de86758969904 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Tobias Hunger authored
Change-Id: Id150ede2549150be8e720c5a0e31b05309cb3fb9 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Tobias Hunger authored
Make new windows center on the window the user is currently looking at instead of the mainwindow. Change-Id: Ia6246a4f1935b6d2d66db329c6141f4cb8349916 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Tobias Hunger authored
Change-Id: I4ceeeeba2e67132cca40e59f9f01c6da994b0f3b Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Tobias Hunger authored
Change-Id: Iaaca36ce540104a9ccf1d2b354785463d711aacb Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Eike Ziller authored
Change-Id: Id789bd4a77d14ff990f3c9092a9ba533ac4fab7a Reviewed-by:
David Schulz <david.schulz@theqtcompany.com>
-
Nikolai Kosjar authored
Needed for the ClangCodeModel tests, where we need to activate the clang code model. Change-Id: I368b840875ca2a46da4535338bf55967cbcdf5ea Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
Nikolai Kosjar authored
This led to an invalid command line ("-x" without further argument). Change-Id: I8cfe1a8a29789fba426b61fe3702496d8089db6b Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
Nikolai Kosjar authored
Needed for ClangCodeModel. If editors are open, the global snapshot and working copy will not be empty. Change-Id: I0d1bab8e082a7f41630c7b1b78febe2da009298b Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
Nikolai Kosjar authored
Needed for tests in ClangCodeModel. Change-Id: I58bdb35811776751a95b5db198ea8d6cdb0cd6de Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
Nikolai Kosjar authored
This is required for the CodemodelBackendIPC integration in the ClangCodeModelPlugin. Since the heavy calculation happens in a separate process, we only need to send appropriate requests and receive results for a working completion. However, the CodeAssist API does not fit here since it only provides means of caculating the results in the main thread or a worker thread. We can't use the worker thread approach since that would lead to threading issues regarding QLocalSocket in CodemodelBackendIPC. IAssistProcessor::setAsyncProposalAvailable() will hand the results back to CodeAssist in order to display them. Change-Id: I496192560fb406ec40fa8bcb7904f7a03d2eef50 Reviewed-by:
David Schulz <david.schulz@theqtcompany.com>
-
Nikolai Kosjar authored
Needed for a test in ClangCodeModel in order to avoid a blocking pop-up dialog. Change-Id: I5a337cfcbf514052681f1941845a995d2a5856ac Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Tobias Hunger authored
That is block the New file or project action. Change-Id: Ic7bb6013fce02fdcdd5c86b70ba5428218597a40 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
David Schulz authored
Change-Id: I805402a5ec9595bd31b6d72c5934198c77a1f402 Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Eike Ziller authored
-
Orgad Shaneh authored
debuggerruncontrol.h(87) : warning C4273: 'Debugger::createDebuggerRunControl' : inconsistent dll linkage Change-Id: Id202fcebe0f66a94be3b6efff8ce575a5da3c3e3 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
Robert Loehning authored
Didn't think of the bug mentioned in my own comment. Sorry. This reverts commit c7b7fde2. Change-Id: Ida2791a7c985c8036194df437c720a170a39458e Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 02 Jun, 2015 11 commits
-
-
Daniel Teske authored
operator bool() is a trap, but with explicit it's far safer, and we can use that now. Change-Id: I4e58631c94e87c00256c3ab3cff4fd2c5f632713 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Friedemann Kleint authored
Simplify/obsolete constructors accordingly. Change-Id: Id7b974317f2be81a89ff3a279eed95171d34991f Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Friedemann Kleint authored
Split ResourceHandler::updateResources(bool updateProjectResources) into 2 slots to make it compatible to void signals. Change-Id: I0614637cd575c45f9acd6514fe04fe08dfcfcff8 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Friedemann Kleint authored
Change-Id: I1b69865dfeb19322693f11ea2c276bd016ceed4f Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Eike Ziller authored
It was just activating the existing editor, instead of reopening with the new editor type. Change-Id: I1fee08d1df1d78a32298d222a09cf05cf9433f19 Task-number: QTCREATORBUG-14336 Reviewed-by:
David Schulz <david.schulz@theqtcompany.com>
-
Orgad Shaneh authored
Yet another std::vector issue... Use-cases: // Case 1 template<typename T> using type = T; // Case 2 struct Parent { template<typename T> using type = T; }; // Case 3 template<typename T> struct ParentT { template<typename DT> using type = DT; }; struct Foo { int bar; }; void func() { type<Foo> p1; Parent::type<Foo> p2; ParentT<Foo>::type<Foo> p3; // bar not highlighted p1.bar; p2.bar; p3.bar; } Task-number: QTCREATORBUG-14480 Change-Id: I9ab08ea7360a432c48eb4b85aa0d63e08d2464c1 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Johannes Lorenz authored
Change-Id: I571aefdb1f2aba88ba0c7710f16b6d8ad2e8f5a8 Reviewed-by:
André Hartmann <aha_1980@gmx.de> Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Eike Ziller authored
Change-Id: I27faa327ae33244927e21aa74875d9601aaf9e50 Reviewed-by:
David Schulz <david.schulz@theqtcompany.com>
-
Eike Ziller authored
In the light of lambdas we can get rid of some complexity. Change-Id: Id28b52c42d7c34526c93785723387b6c44c0cd52 Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com> Reviewed-by:
Nikita Baryshnikov <nib952051@gmail.com> Reviewed-by:
David Schulz <david.schulz@theqtcompany.com>
-
Eike Ziller authored
This avoids that reloading needs to call back to the editor, and is in preparation to a complete move of "open" to the document. Change-Id: Ic24ecf7612c311055276e81edb080ab855590df9 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
-
Orgad Shaneh authored
mainwindow.cpp:491:77: error: 'this' was not captured for this lambda function Broken by c0952e22. Change-Id: I6fd9b6fb021c21ccec2b15695e07d1af8284fe2b Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 01 Jun, 2015 5 commits
-
-
M. Moellney authored
qmake of Qt 5.5 introduces a new predefined variable VERSION_PE_HEADER. It was not part of the known keywords for the qmake profile editor. This patch adds VERSION_PE_HEADER. Change-Id: Iae671d89ff623c4062da621e571769df736fa6d3 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
Orgad Shaneh authored
addNestedType should never accept null scope. Change-Id: I6e4a86d0c7595af11079915faffdd8d213e92bd2 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Orgad Shaneh authored
The last nail for std::unique_ptr (GCC variant, MSVC still doesn't work). Use-case: template<typename T> static T f(); struct Foo { int bar; }; void fun() { decltype(f<Foo>()) s; s.bar; // bar not highlighted } Task-number: QTCREATORBUG-14483 Task-number: QTCREATORBUG-8937 Change-Id: I5bab757400b070cf9dbb688a44fd8eafe95ddc61 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Denis Kormalev authored
Additional list of regular expressions added to TODO plugin settings to allow set patterns to be excluded from file list to parse by this plugin. Change-Id: I718f111ac7592557a6aa86865283468c53d58078 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Christian Kandeler authored
Change-Id: Idc44375335fae419fff8a409a0f6cb6feee92ba3 Reviewed-by:
Christian Kandeler <christian.kandeler@theqtcompany.com>
-