- 28 Aug, 2015 1 commit
-
-
hjk authored
There's a 1:1 relation, and the abstraction is not needed anymore. Also remove some unused code. Change-Id: I09a2522deb5d522f46ec7518d19978a038032fbb Reviewed-by:
Ulf Hermann <ulf.hermann@theqtcompany.com>
-
- 25 Aug, 2015 1 commit
-
-
Ulf Hermann authored
Using Utils:TreeView automatically gives us the capability for loading item as they are expanded. This way we can show recursive structure in the console as well as load data from the debug server on demand. Also, properly print error messages received from unsuccessful command evaluations. Task-number: QTCREATORBUG-14931 Change-Id: I66d440eedd9723b04670169b27db1ee18f3f2891 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 20 Aug, 2015 1 commit
-
-
Ulf Hermann authored
null is an object in JavaScript. This is slightly insane, but hiding it in the debugger view doesn't help. Change-Id: I69fe317f28a515785720104f92306f69a2e56266 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 14 Aug, 2015 1 commit
-
-
hjk authored
Previously, only the first level of properties was expanded, properties of object type could not be expanded further. This can be reproduced by opening the SameGame example, putting and triggering a breakpoint at startNewGame(), expanding the 'this' entry in the Locals view and checking the 'component' subentry. Change-Id: I6cf714af697ab4eebd7eb0ae0ea37e516b3ea635 Reviewed-by:
Robert Loehning <robert.loehning@theqtcompany.com> Reviewed-by:
Ulf Hermann <ulf.hermann@theqtcompany.com>
-
- 23 Jul, 2015 1 commit
-
-
Sergey Belyashov authored
In the QmlEngine, a few tr() have been replaced by QCoreApplication::translate(). In other files, Q_OBJECT has been added to the class definitions. Change-Id: Ia0505c19934dc691cd3d67f4946293290c2fec68 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com> Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 21 Jul, 2015 1 commit
-
-
hjk authored
Task-number: QTCREATORBUG-5670 Change-Id: I1cfad65042369d9e34c19dc4a7f00a37dbe6fed4 Reviewed-by:
Niels Weber <niels.weber@theqtcompany.com> Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 17 Jul, 2015 1 commit
-
-
hjk authored
The server on the Qt side Q_ASSERTs otherwise, killing the application. Change-Id: I273f12c4bc89bd3488fa6409fdbebc6a6ac2b606 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 16 Jul, 2015 5 commits
-
-
hjk authored
Change-Id: I88a502f044fca4c842c21563988d0a95e128c664 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
hjk authored
Change-Id: Ib24e62c60eea4b0af355c3e93e48a78dc0b51efc Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
hjk authored
There are two cases that do not coincide in asynchronous engines such as the QmlEngine: Inserting a new watch item, and expanding the children of an existing item. Change-Id: Ic98a5f1e89aca37146039a241de737c407606e83 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
hjk authored
Use callbacks in QmlEnginePrivate::evaluate(). This separates the four code paths through the machinery into three separate handlers and one direct access to the console. This also fixes a bug where items were put into 'debuggerCommands' but attempted to be removed from 'updateLocalsAndWatchers'. Introduce a QmlEngine::updateLocals similar to what the other engines do. Let the frame() and assignValue() paths use it. Keep track of pending changes and call notifyUpdateFinished if and only if the pending lookup queues is empty. Finally, remove some dead code. Change-Id: I173a52911d0de994b849fc6ab4f52ef7f64a8ba5 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
hjk authored
Version, Backtrace, Frame, Scope and Lookup for now. Change-Id: I615c8f8c00484e9bb1742485f24bdfc537f83021 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 14 Jul, 2015 2 commits
-
-
hjk authored
No need to re-do it each time the reference is used. Change-Id: Ie90101df8f2b0f5e31c6a18af7cac165d060c5fe Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
hjk authored
Needed in preparation to determine the time of a needed watchHandler()->notifyUpdateFinished() deterministically which in turn is needed to get the update cycle of evaluated expressions right. This will also save roundtrips later. Change-Id: Id90101df8f2b0f5e31c6a18af7cac165d060c5fe Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 13 Jul, 2015 2 commits
-
-
hjk authored
Ready to introduce callbacks. Change-Id: If26566ed71ce1283f9f42b62e75a1c793a21ef32 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
hjk authored
... instead of manually set up JSON. It's more concise, and paves the way to use per-command callbacks as in the other engines. Change-Id: Ib5cf9c9b882ec0ec87acd7c1ceb938d3ee60346b Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 10 Jul, 2015 1 commit
-
-
hjk authored
One more step to make it more similar to the other engines. Change-Id: I0f028bf55b980c8acee9d80875ed5e9b4b565980 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 09 Jul, 2015 2 commits
-
-
hjk authored
Create a QmlEnginePrivate. Move the QmlDebugClient there. Merge QmlAdapter into QmlEngine Abstraction is not used anymore. Move some helper bits to a qmlengineutils.{h,cpp} Change-Id: I63117355d786cc12641101b7fd38c7cd208d11eb Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
hjk authored
Abstraction is not used after the demise of QScriptDebuggerClient and unlikely to be used again. Change-Id: Icdd6615eb0d1468fd9a3d717d6a7d5e44f7f7d79 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 07 Jul, 2015 1 commit
-
-
Christian Stenger authored
Change-Id: I8c9dc2e8691f3ae3c7bed7ffface8f229ce89203 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 10 Jun, 2015 1 commit
-
-
hjk authored
This splits the bool setToolTipExpression() operation into a bool canHandleToolTip(), and the actual processing of the request, which is mostly identical to the handling of a watcher. Handling a watcher is now mostly the same as a full Locals update, except for the 'partial' flag. Pushing the handling of that down to the bridges gives identical code paths in the gdb and lldbengine. Move that to the DebuggerEngine base class. Change-Id: I3861b43e8630c7e7bd57fcd549b2a2387e3d4869 Reviewed-by:
hjk <hjk@theqtcompany.com> Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 28 May, 2015 1 commit
-
-
hjk authored
Right now, DebuggerStartParameter is part of the debugger plugin external interface. Better not make it fatter than necessary. Change-Id: I3b9205089f971dd314ccba1335b5ca2d4d9fe7c6 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by:
David Schulz <david.schulz@theqtcompany.com>
-
- 20 Mar, 2015 1 commit
-
-
hjk authored
... in WatchHandler and DebuggerEngine interface. Adjust using code. Change-Id: I6371f3e96ba46a783e23a5767cdde24a10d3fce7 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 06 Mar, 2015 2 commits
-
-
hjk authored
The only information ever used is whether it's c++ or not. Change-Id: I4ca00663856dd66cbdf58c468f175a8c9e41d6a5 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
hjk authored
Only needed in the non-Python days. CDB didn't use it to start with. Change-Id: Ia609218cc1a694f797e278c4d99ead68e6212938 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 26 Feb, 2015 3 commits
-
-
Christian Kandeler authored
Change-Id: Ic92e5854535a668f49f5e49a51d190132d27e9e6 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
Friedemann Kleint authored
Change-Id: I70ca6773e0f6aa6d80a441f8920d7f5d2418e1bf Reviewed-by:
hjk <hjk@theqtcompany.com>
-
Christian Stenger authored
Change-Id: I41ff4508ae609f481a5a20e4b398e106f2d3093d Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 04 Feb, 2015 1 commit
-
-
Orgad Shaneh authored
Mostly done using the following ruby script: Dir.glob('**/*.cpp').each { |file| next if file =~ %r{src/shared/qbs|/qmljs/} s = File.read(file) s.scan(/^using namespace (.*);$/) { ns = $1 t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m| before = $1 char = $2 if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/ m else before + char end } if t != s puts file File.open(file, 'w').write(t) end } } Change-Id: I1aa1a2b6ccbafeb1a8f3053fffa39b3f96992591 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 30 Jan, 2015 1 commit
-
-
Kai Koehne authored
Looks like the proper handling of tooltips while debugging a QML app is broken since commit 7f09d0b7 . Just disable the functionality for now. Task-number: QTCREATORBUG-13854 Change-Id: I346058f6f9753475ec209ec8befdd5425bbd83d0 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 16 Jan, 2015 1 commit
-
-
Eike Ziller authored
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 15 Jan, 2015 1 commit
-
-
hjk authored
The actual data is now in a TreeModel. As interface to individual breakpoints there's a new Breakpoint class essentially providing a checked handle. On the user code side breakHandler()->foo(bpId) is replaced by bp.foo(). Change-Id: I82f435bad6301fce85a1d82bf6bf39e9ddba511e Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 15 Dec, 2014 1 commit
-
-
hjk authored
Expose less of debugger internals to the device plugins. Change-Id: Ie78756b033fae3fe02bff92eadf26b7319990605 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by:
Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 01 Dec, 2014 1 commit
-
-
Kai Koehne authored
Fix syncing of watch expressions with Qt Quick 2. For v8/v4 we're utilizing the 'evaluate' command, which we have to re-send on every change to get updates. We therefore now call synchronizeWatchers() whenever the stack changes. Task-number: QTCREATORBUG-13473 Change-Id: I7356e9518a719839c5cbb6e518be18e665078e85 Reviewed-by:
Ulf Hermann <ulf.hermann@theqtcompany.com> Reviewed-by:
Robert Loehning <robert.loehning@theqtcompany.com>
-
- 23 Oct, 2014 1 commit
-
-
hjk authored
One indirection less on the user code side, and easier to export if needed (partially addressing QTCREATORBUG-13187) Change-Id: I13ab9f471a3a34da7a6331aefc83f6d02413bfab Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 20 Oct, 2014 1 commit
-
-
hjk authored
Export factory, de-export plugin, to remove one indirection Change-Id: I13a46460d07d5ded6b26f2b5ceccd01142fb10e8 Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- 09 Oct, 2014 1 commit
-
-
Eike Ziller authored
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 29 Sep, 2014 1 commit
-
-
hjk authored
... and some of the related implementation details Change-Id: I1f03aa5acf2d3fb2cfc2a6a7845f3d3578b0408d Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 26 Sep, 2014 1 commit
-
-
hjk authored
*Document* and *Layout* classes, all basetext* files Change-Id: I1c6e376733a434fcb5c7f19c6210dfa031eeafde Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 25 Sep, 2014 1 commit
-
-
hjk authored
First step of some more 'Base' removal in TextEditor. s/Core::TextDocument/Core::BaseTextDocument/ s/TextEditor::BaseTextDocument/TextEditor::TextDocument/ Change-Id: I71ba325a2f0ad72ec9dae0d96846cbae72d326f7 Reviewed-by:
hjk <hjk121@nokiamail.com>
-