- 10 Jun, 2015 3 commits
-
-
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>
-
Orgad Shaneh authored
Change-Id: Ib4fda739eb01a3098d03e0c2f12fd282d2759c62 Reviewed-by:
David Schulz <david.schulz@theqtcompany.com>
-
hjk authored
Was forgotten in eaf718bd. Change-Id: Ia11999d708ca2d9ffd8d8955945361ce888d4330 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 09 Jun, 2015 18 commits
-
-
Marco Bubke authored
The block size was one to big and so the command could only read after a new command arrived. Change-Id: I64ae47667d27d66e132031b10d4f130c53d3b0e9 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
Is fixed by the right block size. Change-Id: If3b961625925cd82740fad0f469784b4d224bac1 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Orgad Shaneh authored
This fixes std::vector, although it doesn't really resolve numeric template arguments. It just picks the first specialization. Use-case: class Foo {}; template<class T1 = Foo> class Temp; template<> class Temp<Foo> { int var; }; void func() { Temp<> t; t.var; // var not highlighted } Task-number: QTCREATORBUG-8922 Change-Id: I593515beb3a6d901b6088db8bc1b8e16c39083d3 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Orgad Shaneh authored
Use the template scope instead. Change-Id: I8144427e14644697c709643da7c0ae0b0841e34d Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Orgad Shaneh authored
* If a template type is specialized as a pointer, accept only pointers (of any type) * Same for references and arrays * Only if the specialized type is not part of the template, match it against the input. Fixes resolving of partial specialization with pointers. Use-cases: // 1 struct b {}; struct a : b {}; template<class X, class Y> struct s { float f; }; template<class X> struct s<X, b*> { int i; }; template<class X> struct s<X, a*> { char j; }; void f() { s<int, a*> var; var.j; // j not highlighted } // 2 template <typename T> struct Temp { T variable; }; template <typename T> struct Temp<T &> { T reference; }; void func() { Temp<int&> templ; templ.reference; // reference not highlighted } // 3 class false_type {}; class true_type {}; template<class T1, class T2> class and_type { false_type f; }; template<> class and_type<true_type, true_type> { true_type t; }; void func2() { and_type<true_type, false_type> a; a.f; // f not highlighted } Task-number: QTCREATORBUG-14036 Change-Id: Idee5e3f41d15c0772318d3837cbcd442cb80293a Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
hjk authored
Change-Id: I1d504da25b44dc60be7dca2b07f5eadbc437826c Reviewed-by:
Tim Sander <tim@krieglstein.org> Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
Orgad Shaneh authored
Use-case: template<class T> using Foo = Bar<T>; // T not highlighted Task-number: QTCREATORBUG-9944 Change-Id: I04cb62ea6a21f158f7fb4fb7ac79ccd6eb1bbfbb Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Lorenz Haas authored
Task-number: QTCREATORBUG-12127 Change-Id: Ifb6ff22282f0f181e49a260e57307ec937f5dfb2 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Lorenz Haas authored
As a nice side effect superfluous new lines - introduced by quick fixes that are using InsertionPointLocator::methodDefinition - vanished. Task-number: QTCREATORBUG-13872 Change-Id: Ib3df2b2acbc22449f16f4444092a57ae93d53d35 Reviewed-by:
Jochen Becher <jochen_becher@gmx.de> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
hjk authored
The original use case of running GDB itself remotely is not present anymore. Change-Id: I283a27216d6a8849fea7d9ca8df6b94571fb99fd Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
hjk authored
Fixes also the recent regression due to slicing when attaching to a running application. Change-Id: I6a7712811d6820b0c57658db10c5ff9790b4a338 Reviewed-by:
David Schulz <david.schulz@theqtcompany.com>
-
Christian Stenger authored
Change-Id: I49412b3e64ad63a33d03f741a9d4fdc6ba07f632 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
hjk authored
Namespace, override, re-shuffle. Change-Id: I6327b032707294b680a5411a652970a5f9b38c75 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
hjk authored
Change-Id: I7bb67fd91fb1338f2d42ceee3e47bad20b36a81b Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
Orgad Shaneh authored
Change-Id: I5759c4e5b061865d53b00c7eeb0b1cee54f8398e Reviewed-by:
Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
-
Orgad Shaneh authored
Change-Id: I13082288a56f6f7fe58c69f01824c56294ca258d Reviewed-by:
Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
-
Eike Ziller authored
Change-Id: I403101d788d9edfea5c5c9440ab4f39ad00e81f7 Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
Eike Ziller authored
Because only the tree view had access to the resource model, many methods in the IEditor instance and document were going their way through IEditor -> QRC editor widget -> tree view -> model. Create the model in the document instead, pass that model to the tree view, and let the document work on the model directly. Change-Id: I76405e60f118e2bbf63d3f9a4d39cd73be64aa14 Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
- 08 Jun, 2015 3 commits
-
-
Tobias Hunger authored
Change-Id: I8853e3e8c6fe6e6a54d73ce0014f1ae37d377378 Reviewed-by:
Tim Jenssen <tim.jenssen@theqtcompany.com>
-
Orgad Shaneh authored
Passing TEST=1 to qmake makes the application run in console. There are no tests in main.cpp anyway. Change-Id: Ia5d1e02feb38e635f48169cc47d45738e4556f79 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
hjk authored
More similar to what GDB does. Change-Id: I2c5e952261119f04a515f8b8e79a66c397bff6df Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 05 Jun, 2015 3 commits
-
-
Nikolai Kosjar authored
Change-Id: If7122b58c8ee8be8007af4b0ad9a9f726d5c0560 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
hjk authored
Change-Id: Ia26cdcddf086546650525c779c21b0100a616af3 Reviewed-by:
David Schulz <david.schulz@theqtcompany.com>
-
David Schulz authored
Change-Id: Ida0e8aec41bade10ad1e3ac517812a3a8c120473 Reviewed-by:
David Schulz <david.schulz@theqtcompany.com> Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 04 Jun, 2015 13 commits
-
-
Orgad Shaneh authored
Use-case: template<class T> struct t {}; template<class> struct s { float f; }; template<class X> struct s<t<X>> { int i; }; void f() { s<t<char>> var; var.i; // i not highlighted } Task-number: QTCREATORBUG-14034 Change-Id: I5d00bc3247352fca4af4c41a47c208ec3e193c8e Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Orgad Shaneh authored
Use-case: struct b {}; template<class X, class Y> struct s { float f; }; template<class X> struct s<X, b> { int i; }; void f() { s<int, b> var; var.i; // i not highlighted } Task-number: QTCREATORBUG-14036 Change-Id: I70a87499e0a375e84d992ca0a79d77270a3419e8 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Alessandro Portale authored
QValue(bool).toString() does return "true":"false". Change-Id: I01021eeb6be8a6e65b2fdd61c5adfee1766dbf31 Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
Tobias Hunger authored
%{#: is now treated as a comment and expands to an empty string } This is useful to add comments about copyright, etc. into the wizard templates. Change-Id: I6e25c724edfa4b865d2d4f74b0f4900982d9ea47 Reviewed-by:
Alessandro Portale <alessandro.portale@theqtcompany.com>
-
Tobias Hunger authored
Fix expansion of bool macros and empty string macros embedded into other macros. Change-Id: I7d65a4692c48c6299956cc8c4c2c28efb1c8e149 Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
Tobias Hunger authored
Use constants for strings, simplify signal handling a bit Change-Id: I80f2985c8e75e98d5f1638626f21c2d9c2efac9c Reviewed-by:
Alessandro Portale <alessandro.portale@theqtcompany.com>
-
Tobias Hunger authored
Change-Id: Ie01505be57f8e16b782ebd8ed1ff339cfb63cd8c Reviewed-by:
Marco Benelli <marco.benelli@theqtcompany.com> Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
Eike Ziller authored
Change-Id: I49622484e316b902699e5b63ea3eea827d2f2680 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
hjk authored
Change-Id: Idb65d85664632121e80a91fd5fae021315c9b33f Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Tobias Hunger authored
Change-Id: Ia2ea4d8ced3a23b38911517d1015b20d3412554e Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Nikolai Kosjar authored
Change-Id: I1bac8210efa636af57822fc5b507909c22638ec6 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
Alessandro Portale authored
Setting DEVICE_PIXEL_RATIO on Linux to "auto" will disable font hinting even on systems with a DPR of 1. This patch limits our tweak to Windows. On OSX, it works reliably, anyways. Task-number: QTCREATORBUG-14516 Change-Id: I3c22c264c7f5019d22e1e3692b6d94c1d0777fc6 Reviewed-by:
Paul Olav Tvete <paul.tvete@theqtcompany.com> Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Tobias Hunger authored
Change-Id: I09e7eae37107c1294555ff5d2021e0b131abd3d7 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-