- 09 Jun, 2016 1 commit
-
-
hjk authored
With QT_RESTRICTED_CAST_FROM_ASCII making GdbMi etc operate on QString is feasible again. Take this as opportunity to move debugger encoding handling closer to a 'conversion on input and output if needed, storage in QString only' scheme. Change-Id: I2f10c9fa8a6c62c44f4e6682efe3769e9fba30f7 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
- 08 Jun, 2016 2 commits
-
-
Christian Kandeler authored
The qtc module gathers properties that used to live in the top-level project file. This is the first step towards making it possible to build plugins against an installed Qt Creator ("out of source build"). Change-Id: Ia1514cc9c888e80be01b308e908de48980fcbdb8 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
hjk authored
The idea is to have a way for tools to specify what kind of control channel they would like to use to communicate with a device without making the choice explicit dependent on the exact kind of tool to further decouple device and tool implementations. The 'hint' values are there to help the device implementation to decide on which channel to use exactly in case there are multiple choices. In any case, the tool is responsible to check that the returned channel is suitable for its operation. Currently the only choice is "QmlControlChannel" yielding a simple wrapper around the former IDevice::qmlProfilerHost() return value. Other enum values may potentially be {Tcp,LocalSocket}ControlChannel (to specify a type of transport) AdbChannel (to specify some generic helper mechanism). It might also turn out that something more complex than an enum will be needed, e.g. to express a set of values with priorities or such, but I'd rather avoid overengineering for now. Change-Id: Id386425eb3dd2bb395065f0bdb6f67217cd40a71 Reviewed-by:
Ulf Hermann <ulf.hermann@qt.io>
-
- 07 Jun, 2016 3 commits
-
-
hjk authored
Change-Id: I771c7fceed31739cfe504ba660796d48fb518a5e Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
hjk authored
Not all untimely requests to run a command are harmful, e.g. reloadModules() can be triggered by visibility changes of the modules view at any time. Change-Id: Ie803135ff7b954eef5800b3becdc6104a61b8cb2 Task-number: QTCREATORBUG-16393 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
hjk authored
Task-number: QTCREATORBUG-11089 Change-Id: I97e11957c92c4127e3b3de73699ce16b8852c891 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
- 06 Jun, 2016 2 commits
-
-
hjk authored
Lately, Kit::isValid() defaults to also checking e.g. cmake configuration which is pretty irrelevant for this use case here. Change-Id: Idfe3bf4b8836a9b8974473c95048cd853276f9c2 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
hjk authored
Task-number: QTCREATORBUG-14956 Change-Id: I2700820adf716afb784ec686297c15c48f3592f7 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
- 01 Jun, 2016 2 commits
-
-
hjk authored
The determining limit is now the Qt api with int values for line numbers and scrollbar positions, giving us <= 2^31 lines with 16 bytes each. Change-Id: I266e5bdf358b377c6e27bc2be300a0f6a60e6f68 Reviewed-by:
David Schulz <david.schulz@theqtcompany.com>
-
hjk authored
Removes the only user of DEBUGGER_EXPORT void runAction(Core::Id actionId) Change-Id: Ia26577e07ccc8a556882d99d6dd9f9c29c3bc883 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-
- 31 May, 2016 3 commits
-
-
hjk authored
If the Error + popup combo is generic it should live in TaskHub. If it is not, end user code should decide when to popup. Not an intermediate level. Change-Id: I195ba8c17c5cc192ff9762ed6f45629143bcbb35 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
hjk authored
QmlEngine::pdateCurrentContext() currently relies on being able to access the 'name' member. Change-Id: I75675681407402667da1cb82d3589980d92554a2 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
hjk authored
Giving individual RunControls the freedom back to decide what they want, even if they currrently decide to use the same one. Change-Id: Ia2acf4b9d32d23c486339b2488611038672aba25 Reviewed-by:
Ulf Hermann <ulf.hermann@qt.io>
-
- 30 May, 2016 7 commits
-
-
hjk authored
It's the only remaining item and loosens the dependencies of ex-AnalyzerBase based plugins on the the Debugger. Change-Id: I943ac44401c440dd6d3d5c1f54f8f996accd2b4a Reviewed-by:
Alessandro Portale <alessandro.portale@theqtcompany.com>
-
hjk authored
This maintains current behavior by letting all subclasses return 'false'. This might be too pessimistic, but can be fixed on a per-tool base Change-Id: I71ac1b1e2cc98cfb1c5b76bc7c60a3240c5d1dcd Reviewed-by:
Ulf Hermann <ulf.hermann@qt.io>
-
Alessandro Portale authored
Not needed since the merge with Debug mode Change-Id: I19f44ef88c4c0ca41b21449beba911494dbacbfc Reviewed-by:
Alessandro Portale <alessandro.portale@theqtcompany.com>
-
hjk authored
This forcefully ignores the Run in Terminal setting, i.e. debugger starts up properly, but without the console. It a stop-gap measure deemed less harmful than the 4.0 'start up gets stuck' behavior. Change-Id: I015147c4db23bf91ea09001ce923fbab97eeae77 Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
hjk authored
... to a place where it can potentially be re-started. Change-Id: Icc7ba4512533cdef659507442eec069e073f84b1 Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
hjk authored
Only supported by CallGrind, and still functional there. This interface might be useful to move to the ProjectExplorer::RunControl base class, as similar functionality is present e.g. in the QmlProfiler. Change-Id: Ie1f8a044ace77aea7ed3c1296847cc7497bac409 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
hjk authored
This adds a templated layer on top of TreeModel that can specify item types for the top three layers in the model, relieving user code from some of the previously necessary type casting. Two common setups get an extra layer with convenience functions on top: TwoLevelTreeModel for two-level model with a first level of static headers and a uniform second level, and UniformTreeModel where all non-root nodes are the same. "Untyped" plain TreeModels are still possible. The walkTree() feature and untyped iteration in the base TreeItem and TreeModel is retained for now to ease transition in downstream modules, but is planned to be removed soon. Change-Id: I67d75a1a4e18e8f254dbfb458db03510d8990d8b Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
- 27 May, 2016 2 commits
-
-
hjk authored
Change-Id: Ib60415aa1ff8d74ae041b31f69a9bc510b3a769c Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
hjk authored
Restarting with cached outdated information is problematic. Change-Id: I396da2fef96a161c1ab150134b8e65a758a16d58 Task-number: QTCREATORBUG-16355 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
- 26 May, 2016 1 commit
-
-
Tobias Hunger authored
Use SynchronousProcess::runBlocking in favor of SychronousProcess::run. This avoid nested event loops which can produce really strange crashes if not use carefully. This patch only converts those processes that have a timeout of less than 5 seconds or use the default timeout. Change-Id: I9de8899dcc946af7049ea357a91972996c0256a1 Reviewed-by:
Vikas Pachdha <vikas.pachdha@theqtcompany.com> Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
- 23 May, 2016 1 commit
-
-
Ulf Hermann authored
You can now interact with QML objects selected with the "select" tool again, when unpausedEvaluate is off. Change-Id: If6b4a55193a8949b2e3048fe78443c5df6710885 Task-number: QTCREATORBUG-16300 Reviewed-by:
Jonathan Liu <net147@gmail.com> Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 20 May, 2016 2 commits
-
-
hjk authored
The tools' ability to hook into processing of the output is retained by making the function virtual. Also remove the unusual overload of the RunControl::appendMessage slot and the signal of the same name by renaming the signal. Change-Id: If3c3cc2dd9c933169dc30b16e3165c9b3cf1440e Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
hjk authored
Somewhat better encapsulation. Removes the "false" sharing of Concept implementations, and takes the opportunity to change the operator==() into a 'canReUseOutputPane' function to be explicit about its only use. This doesn't solve the change in output pane reuse behavior yet, but provides the base to put the required logic into canReUseOutputPane, as opposed to abusing the general equality concept. Change-Id: Id9e4e6b8601c5fcf40a252fb423c2c4c2b74ddb6 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
- 19 May, 2016 3 commits
-
-
Tim Jenssen authored
Change-Id: Iac2fb696779e02c2fe5296c4f9981c20d21bb3a8 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
Jonathan Liu authored
Change-Id: I6c7fd01d6bc8cee526fe1f566f9fae551246af80 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
David Schulz authored
Task-number: QTCREATORBUG-16233 Change-Id: I27b9ab17243463924dc410b3b5ffb0795ef3e33c Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 18 May, 2016 2 commits
-
-
Christian Stenger authored
If the test case would result in a failing test it does not execute further commands. Ensure to close possible open editors even for failed test runs. Change-Id: Ifcdcb76de5d10f649d38b84dad8999c6fd491ade Reviewed-by:
hjk <hjk@theqtcompany.com>
-
hjk authored
Take the opportunity to de-noise. Change-Id: I0b9cfea127305ad72c0514625d9ffbd848c74409 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
- 17 May, 2016 3 commits
-
-
hjk authored
There are cases like changing an Evaluated Expression that make re-evaluation necessary. Change-Id: I51fe46b67399a59aebbdeb9c3e778795b1c52cf1 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
Alessandro Portale authored
Don't use the toolbar variant, there. Change-Id: I820d3e51567bfeff4eec2277f20b52fb617d1eee Reviewed-by:
Ulf Hermann <ulf.hermann@qt.io>
-
Christian Kandeler authored
- Install library symlinks. - Do not create symlinks for plugins. - Skip some translations. - Rename some binaries. - Do not install the ptracepreload library. Change-Id: I0faa98034154e3840cd2695cab14b72c34cfc5c3 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
- 13 May, 2016 1 commit
-
-
hjk authored
The default 0 value will be interpreted as 'use the editor stack'. Also, drop the idea of value semantics for Perspective objects to get a simpler approach to the destruction of owned widgets (tools docks + central widget) Change-Id: Ic6470411ee5d387c43447f95b5a12c81c6658ff8 Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
- 12 May, 2016 3 commits
-
-
hjk authored
Qt 5 connects, unused declaration, QLatin1Strings, ... Change-Id: If09929993d750907ee3f4e2fa9f18acfcc28d9c1 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
hjk authored
Needed by GammaRay integration when merging the modes. Change-Id: I21ee65c55e242238ab0be244c4bb40f1c9c7924e Reviewed-by:
David Schulz <david.schulz@theqtcompany.com>
-
hjk authored
Use function objects to apply directly during a depth-first walk of the tree instead of faking a flat container of tree nodes. Less code, and allows even some non-const operations. Change-Id: I804ab11df358fe937b40809cbcb772e6f3ff8dc5 Reviewed-by:
David Schulz <david.schulz@theqtcompany.com> Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
- 11 May, 2016 2 commits
-
-
David Schulz authored
Change-Id: Ie93d251ba120fd33ab3ab12e243ff1e1818ba46b Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
Tobias Hunger authored
waitForFinish returns false if the process is no longer running at the time of the call. Handle that throughout the codebase. Change-Id: Ia7194095454e82efbd4eb88f2d55926bdd09e094 Reviewed-by:
hjk <hjk@theqtcompany.com>
-