Commit Graph

3963 Commits

Author SHA1 Message Date
hjk
afcf2afe5a Debugger: Rename local 'bytes' to 'rawBytes' variable in dumper
'bytes' has special meaning in Python.

Change-Id: I9ff7c56488c9d29e42b2c7a12e40b45815be2a76
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-13 12:40:42 +00:00
Eike Ziller
11590a8c5f Merge remote-tracking branch 'origin/3.4'
Conflicts:
	src/plugins/cmakeprojectmanager/cmakeproject.cpp

Change-Id: I09c5a047f7d91fecfc58c78df438afcdcdc0a8d7
2015-04-13 10:53:03 +02:00
hjk
1de861f06b Debugger: Make QFiniteStack plot work without requiring expansion
Consistent with QVector etc.

Change-Id: Id616c9003c0d561ec941f9961dee122059d75dc3
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-13 06:55:11 +00:00
hjk
d15e4ff2c9 Debugger: Replace block access to array data by plain loop.
This makes the GccExtension dumper test pass with GDB

Change-Id: Ia1319e878416bea8b162a1a9eef1271cb7bebc63
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-08 05:31:27 +00:00
Marco Bubke
789f3d6ca2 Change templates for Quick file wizards
A Item is more light weight than a Rectangle and using it against a white
background is useless. Actually Rectangle is not very much used so Item
is a better default. Width and height are dangerous too because people
exchange them with bindings instead of using anchors or layouts.

Change-Id: I4a89ddfc0f96fb3cdb0a9ccad7fcf80b8f28b479
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2015-04-07 11:37:02 +00:00
hjk
bfac365ebb Debugger: Fix parameter passing to LLDB dumper tests
Change-Id: Iae342ffe68385de877c7a1e9a7e61e7d4889f731
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-04-02 14:56:32 +00:00
hjk
e6f73164c3 Debugger: Adjust QVariant2 dumper test
Take new QPolygon{,F} dumpers into account, also make QUrlPrivate
field accessible,

Change-Id: I2b5c122895c3ee389ba939eaeffcd613fa206009
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-02 14:07:24 +00:00
Christian Stenger
4deadb5f8b Dumper: Test: Fix execution of dumper tests for LLDB
Change-Id: Id4f437fe17d7989c15ad223c20605773411a1142
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-04-02 13:57:27 +00:00
hjk
3658bdac89 Debugger: Use primitive internal widget instead of matplotview
This practically removes any functionality beyond plain plot display,
but does that at least reliably, cross-platform, without dependency
on 3rd party python packages.

Change-Id: Iaff2f78595394522f32264c642df20dd48b83f8b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-02 12:25:04 +00:00
hjk
879bb9adcf Debugger: Remove comment on broken GDB 7.2
We require 7.5.1 now, so the case is uninteresting.

Change-Id: I40bf1c3d531b83998a45e7476ed48397b23b4ae6
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-02 10:34:02 +00:00
Eike Ziller
fcc6b11230 Merge remote-tracking branch 'origin/3.4'
Conflicts:
	qtcreator.pri
	qtcreator.qbs

Change-Id: Iaff42d30008db13ecb685e5157c82292fe48b038
2015-04-01 11:53:26 +02:00
hjk
d66e063165 Debugger: Make C array data plottable
Change-Id: Ib4519f0e64504ec0e3dccd89978acca5134b2932
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-01 09:09:43 +00:00
Alessandro Portale
8983ccc284 Remove a few unneeded "QT += script"s
Change-Id: I078300c7b7a9667109754522048736c886b815ae
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2015-04-01 08:55:16 +00:00
Christian Stenger
be24c441f5 QmlPuppet: Fix building on demand on OSX
Task-number: QTCREATORBUG-14214
Change-Id: Ie52c1f310730fdac3efe8e3b0d581edd373e9afd
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2015-04-01 08:37:22 +00:00
Orgad Shaneh
76a8606c38 Dumper: Add a dumper for CPlusPlus::FullySpecifiedType
Only prints the name for NamedType and PointerType

Change-Id: I8d4c3548b0260d0dfc091b326b5023bcfd6d46bd
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-04-01 06:56:56 +00:00
Orgad Shaneh
e22d0e82df Dumper: Add a dumper for CPlusPlus::PointerType
Change-Id: Ibc868a54326647184a30a796a487e218db7e968f
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-04-01 06:56:31 +00:00
Christian Stenger
de8422acb6 Lldb: Don't trigger continuations when already shutting down
Task-number: QTCREATORBUG-14219
Change-Id: Ic4dc3bd3f429164f3e56a43dd2b20d409d69fa49
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-04-01 06:19:49 +00:00
Eike Ziller
a7f48ac133 Merge remote-tracking branch 'origin/3.4' 2015-03-31 09:09:32 +02:00
Thorben Kroeger
e91e1a742c Theming: fix disabled menu items in dark theme
In the dark theme (fusion style under linux), disabled
menu items looked bad due to (1) SH_EtchDisabledText being enabled
and (2) a bright color for the etch effect.

This patch adds color values for normal and disabled text colors
for menu items. It also adds a color value "style" which indicates
that the color should just stay at the default of the style.
The default theme uses this value for the new menu item colors,
while the dark theme fixes the ugly colors.
The patch also disables etching for disabled text.

Task-number: QTCREATORBUG-13447
Change-Id: Ib54504693d28cf2c71f3fc5a88d3de014230b12b
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Thorben Kroeger <thorbenkroeger@gmail.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-03-30 13:02:20 +00:00
hjk
5dcd9fe694 Debugger: Change plot display of array data to use lines between dots
Change-Id: I6d2cf5ca7d3f4a404a3c112a140aeae067cb3b6d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-30 11:29:02 +00:00
Orgad Shaneh
257f62b708 Dumper: Fix adding quotes to C++ literals
Using plain '"' makes the name empty (value=\"\"Foo\"\").

Encode it to hex instead.

Change-Id: I5fec9d487f119ba5ca9b5aaa95b50e45a73bafa0
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-30 10:41:30 +00:00
Thorben Kroeger
e2bca47bc4 Theme: make link color readable in dark theme
Task-number: QTCREATORBUG-14208
Change-Id: I50f76c3cf5c755ccd139bd6cfb924beb0379f506
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-03-30 07:52:00 +00:00
Orgad Shaneh
919e3c7261 Theming: Unify some duplicate color roles
Change-Id: Ic000abd9bd9381e20126d0ce56ce68a35a07efe2
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-03-30 07:51:57 +00:00
Orgad Shaneh
179d4aea67 Dumper: Add a dumper for CPlusPlus::QualifiedNameId
Change-Id: Iba05dafcbeda45b54fb09c4800ab0bd634e6fe0d
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-27 07:09:32 +00:00
hjk
cc469f6466 Debugger: Robustify extraction of integral values using LLDB
Change-Id: Ieabad21e5e00bef12eb51046235890840b5a77a1
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-26 15:02:51 +00:00
hjk
00199039e7 Debugger: Fix display of expandable items in GDB and LLDB
Move common code to dumper.py and debuggerengine.cpp and
fix it there.

Change-Id: I20d91d1aa7400fbdb27938c10cf40c8f6019df0a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-26 15:00:23 +00:00
hjk
55712e3ca9 Debugger: Fix retrieval of single expanded items
It was falling into the full update branch as the passed
parameter was not a list anymore.

Change-Id: I314beb3a68f8791483a599c7d5782fd454983840
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-26 12:30:53 +00:00
Eike Ziller
65cd5381d9 Merge remote-tracking branch 'origin/3.4' 2015-03-26 12:51:06 +01:00
hjk
939e5e3b19 Debugger: Fix stack display on interrupt with LLDB
Recent regression, stack data was only pulled when hitting
a breakpoint, not on interrupt.

Change-Id: I3de29fceadd4c5492f4edaffca7577dae7ae3d11
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-26 07:59:57 +00:00
hjk
7ef5831090 Debugger: Fix enhanced display of QModelIndex
Normal members accidentally occurred twice, and since the Enhanced
display this is now opt-in, we can show the expensive parent(), too.

Change-Id: Idcf87882a68a307aa65ac0704621a7c789380890
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-25 12:36:44 +00:00
Orgad Shaneh
dcd3b958cf VCS: Highlight commit lines in log editor
Task-number: QTCREATORBUG-13997
Change-Id: I7d9a85cd6022a20a487010a35164ff100b72218d
Reviewed-by: Thorben Kroeger <thorbenkroeger@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-03-25 10:48:12 +00:00
Orgad Shaneh
430914b478 Dumper: Improve C++ literal dumpers
* Show arguments for template name
* Show qualified names

Change-Id: I3d7fc5a1526e5ae7c68ea991d8e199cf32e08a4c
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-24 15:02:17 +00:00
Thorben Kroeger
797af15584 Theming: debugger
Theme the text colors of
- the debugger's log window
- the debugger's watch items

In particular, the watch items were hard to read (default color was
black, color for changed value was red).

For the dark theme, the default color for watch items is now white
(the text color), changed items appear red, and invalid items
appear grey.

Change-Id: I7f9534b054c44d635b106fa0e9ac70479c9fcac5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-03-24 14:44:13 +00:00
hjk
0c2a1ab3be Debugger: Adjust QFile dumper to library changes
Change-Id: I44ac0de970a41fc7da0453ed853396a6943ffb0b
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-24 12:51:03 +00:00
Eike Ziller
9790d8aa00 Merge remote-tracking branch 'origin/3.4' 2015-03-24 07:40:21 +01:00
hjk
48ac7c186b Debugger: Re-organize passing of display formats
The current setup (dumper->gui: list of descriptions,
gui->dumper: index in list) is fragile and not easily
i18n'able. Go with an enum based approach now.

Change-Id: Ie78c596065a8b2ba87ad725274da29d4be3a6da4
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-23 14:12:43 +00:00
Thorben Kroeger
a4bb572a3b Theming: theme compile output pane
Change-Id: Ic364457884765ea755d0dc6e3e35296d5bd36359
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-03-23 09:12:49 +00:00
hjk
b3f88df41d Debugger: Remove most remaining occurrences of WatchData
... 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>
2015-03-20 08:36:57 +00:00
Eike Ziller
aee54f9df5 Merge remote-tracking branch 'origin/3.4' 2015-03-19 16:00:28 +01:00
hjk
e8f8aaa263 Debugger: Fix dumper format choosing with GDB
... and further unify GDB and LLDB code paths.

Change-Id: Id89f3804c53190c4888082891fd3c3c55eceac84
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-19 06:59:01 +00:00
hjk
50ea4ab03f Debugger: Allow inline UTF-8 display for QByteArray
Change-Id: I0db0f605ccfac21127556f4ebaab801cf5393ab9
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-18 14:04:24 +00:00
hjk
90c9093a49 Debugger: Make display encoding of std::string selectable
Task-number: QTCREATORBUG-14119
Change-Id: I17434490a1a0a8374ee0c178c45a032af283e7a5
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-18 14:03:50 +00:00
hjk
6960da702a Debugger: Fix display of array base address
Change-Id: I858d38a1f52cd7247f1b57d686c3c065e5a0fb61
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-18 12:21:21 +00:00
Leena Miettinen
9975fe431a Qbs: write Qbs with an initial capital letter
In the UI and docs.

Change-Id: I193b4599d0c915b2829b12c212718c91cb7f0793
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
2015-03-17 15:56:24 +00:00
Leena Miettinen
d23334bb84 QMLDesigner: fix punctuation of a tooltip
Change-Id: I008b3ad8efad56578953741f94bba4ade5f45d63
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-03-17 08:27:51 +00:00
hjk
779f55ff37 Debugger: Report LLDB breakpoint address after resolving
Task-number: QTCREATORBUG-14086
Change-Id: I7dcdc62196671583505a2e011ed04fbdd3227de6
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-16 10:32:20 +00:00
Hugues Delorme
c185d06997 Vcs: colorize file items in submit editor
It's an eye-candy feature "à la" Tortoise client

Change-Id: I5f772f2d9b1278712aea690208b0b0d08de6a80a
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
2015-03-13 13:16:20 +00:00
Eike Ziller
6433af534d Merge remote-tracking branch 'origin/3.4'
Conflicts:
	qtcreator.pri

Change-Id: Iacd9f2afb843f06d457914a3b842dfc606e3adf3
2015-03-12 16:49:57 +01:00
Christian Stenger
77be0cb57e Dumper: Fix accessing None type - again
Change-Id: I265e316a1168310f220aa449528790c4bfec41d8
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-12 13:03:44 +00:00
Christian Stenger
cce834aebc Dumper: Avoid accessing None type
Change-Id: I627f9ec1d2f67c2a870f9cebca89f5f7b8d67020
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-11 12:23:47 +00:00