- Dec 18, 2017
-
-
Marco Bubke authored
-
Tobias Hunger authored
Change-Id: I181352cfb5e0bdd78206bb67ecaf5789eab4aacf
-
hjk authored
It's only ever used in the filtered Cpp/QmlJs variants. Splitting the class simplifies the code and avoids re-doing filtering over and over again. Also inline QuickFixFactory::matchingOperations() into callers Change-Id: I730756315f2e0321649259ef229631233b12fbdd Reviewed-by:
David Schulz <david.schulz@qt.io>
-
David Schulz authored
Change-Id: I7f1c60ed59ff41af118aa37b207c2f493df00f0b Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io>
-
hjk authored
Change-Id: Ic73f1602922fffa6cb8610e45ada292c759669c5 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
hjk authored
Change-Id: I8e3d62c8ddd1ae9a2702ee8d19964164d00b9f09 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
- Dec 15, 2017
-
-
Alessandro Portale authored
When building Qt Creator with MSVC, this is the only warning I get: warning: C4309: 'initializing': truncation of constant value It would be great to silence it. MSVC supports the "i8" literal extension, which would be fancier than the cast, here. But I don't know what other compilers think of it. Change-Id: I3f1bb4f58f6ab378cbeb44a667aebc5ddee25eec Reviewed-by:
Ulf Hermann <ulf.hermann@qt.io>
-
Ivan Donchevskii authored
...fixes file saving on Windows in specific circumstances. File deletion on Windows is quite tricky. If you simply remove the file opened by another app that shares it for deletion the file might become semi-removed. It looks like it still exists but it is in fact inaccessible for any operations until the other app frees the handle. To solve that case there is a ReplaceFile API call which carefully deals with that case. [Backstory] Oswald Buddenhagen insists that this fix is rather a workaround and we should solve file access problem in llvm. For that purpose we have QTCREATORBUG-19404 and upstream https://bugs.llvm.org/show_bug.cgi?id=35558 Task-number: QTCREATORBUG-15449 Change-Id: If37d484231b79d8e33822c795232dc31243c88c0 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Ivan Donchevskii authored
When we derive from QTemporaryFile we can't unlock file to be used by outer functions. With this change lock is managed by m_tempFile variable and can be released by reseting m_tempFile. Change-Id: I41339410471c69d1e73df49f04bc2d5c2036a064 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Ivan Donchevskii authored
Change-Id: I505c33e1e56a67a3682de2e2cbfe2ab967d04242 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Christian Stenger authored
If the settings dialog contains more than one visible tabbar when trying to access its tabs Squish fails to distinguish them. Assign a unique name for the main tabbar of a category inside the settings dialog. Change-Id: I349b480871306784b5adc9858984933dc26d7958 Reviewed-by:
Robert Loehning <robert.loehning@qt.io>
-
hjk authored
... into QuickFixAssistProcessor and QmlJSQuickFixAssistProcessor, by essentially duplicating the class, but moving the actual work to a new a GenericProposal::createProposal(...QuickFixOperations...) Less indirection, and less code in total. Change-Id: I2f8cba970bf587c9cbf04321269a60ed51bfae2a Reviewed-by:
David Schulz <david.schulz@qt.io>
-
hjk authored
Make it return 'this' if 'this' is the master engine itself. Adapt users. Also do not let the QmlEngine try to beginConnection() when the combined engine was isDying() already. Change-Id: I308deae14a3c4966be381f321c0d9dfaf82c40d6 Reviewed-by:
Ulf Hermann <ulf.hermann@qt.io>
-
hjk authored
It did not contain any functionality beyond the base IAssistProvider anymore. Change-Id: I0198b3d629f81be8c994ffed3904b5f12ee7f9b9 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
hjk authored
Change-Id: I65fc5c0ca6c7806e09b4bd626fd1679686df7d7f Reviewed-by:
David Schulz <david.schulz@qt.io>
-
hjk authored
It's a copy of the locally direct accessible g_outputPanes. Change-Id: I22d34946d777ef63b1888382c2d2bd49a0da8f8c Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
We have a few off-by-ones in the visualization of selection, boundary, etc. Also, there are differences between low and high DPI, aswell as different platforms. This manual test is supposed to enable proper analysis whether the visualizations are correct or not. Change-Id: Iee407d37a2c6f2f272e11a4d9774532343463bc1 Reviewed-by:
Thomas Hartmann <thomas.hartmann@qt.io>
-
hjk authored
... by additionally keeping local (currently non-owning) pools per "interesting" type. Current situation: - The global object pool does not scale well for looking up objects, as iteration plus qobject_cast typically iterates over all pooled objects. - User code that can use typed results from the object pool need to have access to the full type definition anyway, i.e. depend on the plugin of the target class anyway. The patch here solves the scaling problem is to have local type-specific pools to which objects register in their constructors and deregister in their destructors. This patch here does *not* change the ownership model of the pooled objects, however, it opens the possibility to change the ownership model per type (e.g. by not putting things into the global pool at all anymore and make the local pool 'owning') and the intent is to handle that in later patchs. Even without the follow-up patches this here is a performance improvement for the cases that access the local pools instead the global one, i.e. "practically all". Change-Id: Ib11a42df2c4ecf5e1155534730083a520dd1995b Reviewed-by:
Eike Ziller <eike.ziller@qt.io> Reviewed-by:
Christian Kandeler <christian.kandeler@qt.io>
-
- Dec 14, 2017
-
-
Nikolai Kosjar authored
The previous "<<<" and ">>>" are visually hard to catch in the output. Change-Id: I7313645454d92ca3534b19070173129676d49e18 Reviewed-by:
Marco Bubke <marco.bubke@qt.io>
-
Nikolai Kosjar authored
Q_LOGGING_CATEGORY(log, "qtc.clangcodemodel.ipc") is already in clangbackendlogging.cpp. Change-Id: If1afa6f266505e696ea00c6ca6bdf0751640784d Reviewed-by:
David Schulz <david.schulz@qt.io> Reviewed-by:
Marco Bubke <marco.bubke@qt.io>
-
Nikolai Kosjar authored
This helps to overview debug output in case several files are involved. Change-Id: I12ee23bd7cec4cd344746ef1323afb3f0ab54d4b Reviewed-by:
Marco Bubke <marco.bubke@qt.io>
-
Nikolai Kosjar authored
Previosly the JobQueue cancelled job requests for some reasons, but not for others. Conceptually, JobQueue should not make any difference between those. Introduce equal treatment and always cancel if a job request could not be added or is expired as this avoids leaving the Qt Creator side waiting for a response. Change-Id: I26b392b7f80b89ba2ae9a46a8d1b51403ec6eb4a Reviewed-by:
Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by:
Marco Bubke <marco.bubke@qt.io>
-
Alessandro Portale authored
The one in ProjectExplorer does the same except that it also has a @2x variant, thus looks less ugly on HighDPI. Change-Id: Ic6faa8fd48b73cfe0b94eba776433fa12b8e0b09 Reviewed-by:
Thomas Hartmann <thomas.hartmann@qt.io>
-
Ivan Donchevskii authored
Allows to follow outside of current TU. Change-Id: Ieea2fd72bfdf6d60a988b40efcf2f41c5a71d045 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-
Ivan Donchevskii authored
We always provide the full includes list ourselves so it will not change the includes order. Change-Id: I84ee2ca7f05bfb71ae400f0e9e0b8f52810252b3 Reviewed-by:
Marco Bubke <marco.bubke@qt.io> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-
hjk authored
From several places in DebuggerEngine::* to one place in DebuggerEnginePrivate. Change-Id: Ic87110a11087e338cc9a6b66ea30ea2259861d9e Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
hjk authored
Change-Id: Ic936953eeeeeab82a73c11fbe80361326acff055 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
hjk authored
... into a InferiorShutdownFinished. Change-Id: Icb5394f38f52f7cf300dc83f4eb8f2f0777bbcba Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Ulf Hermann authored
At least TagCurrentChanged can be triggered with a nullptr tag. That means the current tag is reset to "none". We should thus handle nullptr in all receivers of beginTagChange and endTagChange. Change-Id: Ife558beca9fb1ed5ab246b76bbaab19c1c227e8a Reviewed-by:
Marco Benelli <marco.benelli@qt.io> Reviewed-by:
Tomasz Olszak <olszak.tomasz@gmail.com>
-
hjk authored
... into a EngineShutdownFinished. They were never handled differently, and the only option is to proceed to DebuggerFinished anyway. So simplify the state machine a bit. Change-Id: Ied3be86fff6750abca578dc6788e4be1d895692b Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Hannes Domani authored
Change-Id: Iaaa0897d63ddf234eef629187ec3cd16ea9f1aaf Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Hannes Domani authored
Change-Id: I69896f0d0c428f158bdb071b08a1c4b9f031183f Reviewed-by:
hjk <hjk@qt.io>
-
- Dec 13, 2017
-
-
Marco Bubke authored
The printing functions are only used by the unit tests and they use an external API. So we can easily move them to the printing functions in the unit test project. We have to move the TokenInfo print functions too because the depend on other print functions. The rest of the print functions will be moved in other patches. Change-Id: I87c452f8ca40687ec47de675ba6bee13efa5655b Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-
Marco Bubke authored
Change-Id: I8e0927a80d0bdcde7bd0e91c749d015636d07388 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-
Christian Kandeler authored
Change-Id: Iff9147e69a3c9d025496c2e2ad7837dae32e02d9 Reviewed-by:
Jake Petroules <jake.petroules@qt.io>
-
Christian Kandeler authored
It's unlikely you want to have two instances running at the same time, and SFTP does not let you overwrite a running executable anyway. Task-number: QTCREATORBUG-19326 Change-Id: Iac48d28f538307fc1764f973ce0c9959ef89af03 Reviewed-by:
hjk <hjk@qt.io>
-
Christian Stenger authored
Change-Id: Ic9a1839325febeb6bde0b656dce88342f3955c53 Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
Robert Löhning authored
Change-Id: I01cbbbfa9e8906768cc71d1c5b0d366d99924c7f Reviewed-by:
hjk <hjk@qt.io>
-
Nikita Baryshnikov authored
Change-Id: I3d3948fcebb6b902a18fcf492122229c69c5ac3e Reviewed-by:
Marco Benelli <marco.benelli@qt.io>
-
Christian Stenger authored
‘ProjectExplorer::IRunConfigurationFactory’ is already a friend of ‘ProjectExplorer::RunConfiguration’ Change-Id: Ia0c9830b20406f3f94393e1525040dbabb9ba19e Reviewed-by:
hjk <hjk@qt.io>
-