Commit Graph

32683 Commits

Author SHA1 Message Date
Christian Kandeler
ce36df9f88 Fix qbs build.
Change-Id: Ibbf548931f016d8aef141390a133c836a2873028
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
2013-10-31 16:30:02 +01:00
Eike Ziller
ddee9bdf56 LLDB: Fix shadowed variable support
SBValue has no 'name'

Change-Id: I670ed0f5e1deed70d96cc1944f6f9b0cda49e0c1
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 16:06:13 +01:00
David Schulz
296eee6dc6 gdb: Adjust path to python artifacts in build script.
Change-Id: I2d08d66d0f91a448e2a575387f34baaa8f91b560
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2013-10-31 15:26:48 +01:00
Orgad Shaneh
6da16dc824 Upgrade to GDB 7.6.1
Change-Id: I9865d7d941719ddc228b6e4dea9abf0d702e3653
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
2013-10-31 15:25:34 +01:00
Leena Miettinen
05d4b44b82 Doc: update information about deploying to Android
Change-Id: I276aa36bcf3401f2020338e8eb38f5fd25c50342
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
2013-10-31 15:03:29 +01:00
Kai Koehne
71e4740572 Re-enable QML debugging for debug builds
Make sure 'Enable QML debugging' is checked for all debug builds by
default.

This fixes a regression introduced in 921f86dfa7.

Task-number: QTCREATORBUG-10573
Change-Id: If3b1e5aedaad888fbaf1931ca2fc379c5ba40dd1
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-10-31 14:30:25 +01:00
Thomas Hartmann
639a04ac09 QmlDesigner.ItemLibrary: to not scale null pixmaps
Change-Id: I23c22f3b0f383158814e105058e827e8703fb336
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-31 14:25:46 +01:00
Thomas Hartmann
67402b35bf QmlDesigner.ItemLibrary: do not show warnings by default
Change-Id: I7e470359f290346fcab3453c7b17f44866db7679
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-31 14:24:59 +01:00
Thomas Hartmann
97bda33341 QmlDesigner.DebugView: only show status if enabled
Change-Id: Idd8738409965251767a5fbd26421acb32b54dd15
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-31 14:24:36 +01:00
Thomas Hartmann
61dbd2011c QmlDesigner.PropertyEditor: remove print
Change-Id: Id0793040984c314c4886c0f682928220b36f242b
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-31 14:24:13 +01:00
Eike Ziller
c63783eaef LLDB: set working directory
Change-Id: Ida85449525fba5d2c535ccf29925ebe3e3156e54
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 13:49:18 +01:00
hjk
afe4da2770 Debugger: Don't search for object names in non-QObjects
Change-Id: I9f7f944ed9dfccfe36d2610dd70908b8bb10727e
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 13:39:41 +01:00
hjk
075f55e0b9 Debugger: Memorize results of pointer lookups
Change-Id: If3dfdd21ac0737af7ee205b376b57d6e58ff6f91
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 13:39:08 +01:00
hjk
47afc21328 Debugger: Remove unused Dumper.intPtr function
Change-Id: I7716dbcfa028556647758611e279012eaae4928a
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 13:38:15 +01:00
Fawzi Mohamed
dc8e769e65 iossim: fix environment mutation
* ensure that the dictionary is mutable
* remove Objective-2.0 code

Change-Id: I30c3966a37ad24dfabfd4bd15b0079d0f1a02efc
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-10-31 13:05:17 +01:00
Thomas Hartmann
401d28a0d2 QmlDesigner.PropertyEditor: adding WindowSpecifics
Change-Id: Ibbbbe1baaf038d2a06466cb94b73c9ba3807a5e4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-31 12:52:06 +01:00
Thomas Hartmann
6dd6ba5b9b QmlDesigner.PropertyEditor: adding QtObjectPane
Change-Id: I6eb96b7900cfe42a7b8df9215aecb57811bdf42c
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-31 12:51:55 +01:00
Thomas Hartmann
149a709efa QmlDesigner.PropertyEditor: remove qDebug
Change-Id: I8b0cc48a0c4674cf6116d239a182761ed6fdd7fc
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-31 12:51:46 +01:00
Thomas Hartmann
584a49c265 QmlDesigner.PropertyEditor: fix for ItemPane layout
An empty loader messes up the layout.

Change-Id: I6405fcc16a30ad012b517009ef7308138dbca836
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-31 12:51:36 +01:00
Thomas Hartmann
9a79ad64bb QmlDesigner.PropertyEditor: fix for anchors
Change-Id: I5f06a8aa93dc7fe9d825e3e403553483353fbc4f
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-31 12:51:25 +01:00
Pawel Faron
c8513df2b9 Implemented "Add Existing Directory..." feature.
This feature lets add files from selected directory and its
subdirectories to project. Files to add are selected based on filter
supplied by a user.

Task-number: QTCREATORBUG-9081
Change-Id: I978e87c24c5aeffc4eb74160cd6f4f20096de017
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-10-31 12:49:50 +01:00
Daniel Teske
c07f6d3c82 Android: Fix double slash in ndk's ant autodetection
Just use Utils::FileName, it magically does the right thing. :)

Task-number: QTCREATORBUG-10542
Change-Id: Id0d508c1e7d9317fa2e4a56ae9389e909c0c3834
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-10-31 12:48:30 +01:00
Leena Miettinen
a2eba90b23 Doc: Debugger options in Build & Run options
Describe the new options dialog for adding debuggers.

Change-Id: Ic4f4041bb38f3e75aaa964543aaaaa7c0f7f7924
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 12:00:21 +01:00
Nikolai Kosjar
65f13fe05c CppEditor: Clean up cppvirtualfunctionassistprovider.cpp
- Moves the findMatchingClassDeclaration() call from
  FollowSymbolUnderCursor::findLink into VirtualFunctionsAssistProcessor
  since we already have a SymbolFinder there
- Make canLookupVirtualFunctionOverrides a class member because we plan
  to add some methods
- Better parameter names/order for FunctionHelper::overrides()

Change-Id: I0a93ff5445352d47e808adad45485e520f06946e
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-10-31 11:00:04 +01:00
Nikolai Kosjar
8f0be66d3d CppEditor: Fix crash on virtual function override lookup
...involving templates.

Task-number: QTCREATORBUG-10496

Change-Id: I485d691043f27b03e120353f0dfd6a2fb0aa07ec
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-10-31 10:57:14 +01:00
Nikolai Kosjar
1113097c37 TextEditor/CodeAssist: Limit automatic proposals only to completions
...since it does not make sense for TextEditor::QuickFix and
TextEditor::FollowSymbol.

Regarding the bug:
- The bug was exposed by having "Active completion" set to *not*
  "Manual" in Options > Text Editor > Completion.
- After choosing one item from the overrides list the cursor was
  positioned just right before the beginning of a function name, which
  is a valid activation sequence (see CodeAssistantPrivate::process()))
  As a consequence, a new proposal was requested.

Task-number: QTCREATORBUG-10345
Change-Id: Ib0d10192863fb33c0958a9afbf76ca8e7de772f8
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-10-31 10:54:29 +01:00
Kai Koehne
b99f965c30 Fix uic warning
Fix warning: Z-order assignment: '' is not a valid widget.

Change-Id: Ic54ed85c91e96be097df8ff4d60416d49515f51a
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 10:48:32 +01:00
hjk
a84963ec38 Debugger: More restructuring of globals in dumpers
Change-Id: I6cb45097dd355a9362c0555504871210ff712bdb
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 10:44:39 +01:00
hjk
e159fd4920 Debugger: Remove some workaround for GDB 7.1 in dumpers
We require 7.4 nowadays.

Change-Id: I9686e9ee751a19e765e72a5f0086889dc4a051da
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 10:44:22 +01:00
Leena Miettinen
dcd19627f6 Doc: update iOS instructions
Move obligatory information to the top of the topic.
Add information about enabling the experimental plugin.
Add a screenshot to make it clearer where the kit should be
added.

Change-Id: Ib80a42f0eb901d3f5b39e135e52124be95bda54a
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
2013-10-31 10:16:07 +01:00
Eike Ziller
5c6dd76b67 LLDB: Fix opening memory view after the first use
We always need to update the editor token even if we already know about
the memory agent, because the editor behind it can change.

Change-Id: I6101b5a5c1ee0698ae7c7668d0766056a19eadb8
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 09:40:50 +01:00
Eike Ziller
0cae053d11 LLDB: avoid python backtraces destroying all data
Change-Id: I1ea7ccad208c00d11e0579de219739cbabab8455
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-31 09:40:12 +01:00
Thomas Hartmann
d6274b1fc5 QmlDesigner.PropertyEditor: remove target selectors
Not ready dor 3.0.

Change-Id: Ibf2632005873c1a2291ca230fa12d9374f606a92
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-30 19:41:23 +01:00
Thomas Hartmann
b38c47ae51 QmlDesigner.PropertyEditor: Add cooom web fonts
Change-Id: Ied67f71a6d1bee686e3cb881d3a8a567717873d6
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-30 19:41:14 +01:00
Eike Ziller
b620716342 LLDB: Fix command reading loop
It could entirely miss commands sent by the engine.
The loop was waiting for something to come into stdin, but always only
read a single line from it, although it possibly already contained
multiple lines.
The patch simplifies the loop by removing the select() call entirely
and solely using sys.stdin.readline() which blocks anyhow.

Change-Id: Iff12aa051bb6e11c5ba30081d7c9d4e98940e231
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 18:04:13 +01:00
Tobias Hunger
bdb2ec04df Debugger: Show ABIs once they become available
Change-Id: Ibb9c3492acc881c8a5d16bdf4ea91b910cab61a5
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 17:45:25 +01:00
Friedemann Kleint
428b2b9519 Fix tr()-messages in QNX.
Do not concatenate translated parts, this will result in incorrect
grammar.

Change-Id: Ieba7c948c09b927213ddd127be80651333f911ee
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-10-30 17:27:18 +01:00
hjk
e176013140 Debugger: Move some global variables to the Dumper class
Change-Id: I5c8fd8a48f27ac70e6e39f645d64dcd788752e73
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 17:22:14 +01:00
Daniel Teske
f9ff630346 Android: Don't create kits if there is no device
Task-number: QTCREATORBUG-10574

Change-Id: I169762ce9d2388866f1aa16f2b7128cfd42e7cee
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-10-30 17:04:13 +01:00
Eike Ziller
f7fa44d48a dumpers: Add test for QUrl() and fix it
Change-Id: I84d4963210784dd982e897fd57dc9e5fad086aef
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 17:03:54 +01:00
Eike Ziller
f6113276ed dumpers: remove type check from QHashNode test
The type reported by LLDB for Qt 4 is actually wrong, but the type is
irrelevant for the dumper itself anyhow.

Change-Id: I33002316fa72cc8501f26dcc3ee08675547841ae
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 16:43:48 +01:00
Thomas Hartmann
c75659981f QmlDesigner.PropertyEditor: fixes combobox width
Change-Id: Ibcbe359cd4418fbad7f15a954836d837c42b4357
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-30 16:22:40 +01:00
Thomas Hartmann
0c69690787 QmlDesigner.PropertyEditor: fix layout of PathViewSpecfics
Change-Id: Ic9023d0f17fd359ad4b1ca39429d005c75627c4d
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-30 16:00:47 +01:00
Thomas Hartmann
08493bf78c QmlDesigner.ImportManager: Catch exception
Something might go wrong during the rewrite
and we should catch this instead of just crashing.

Change-Id: Ic8ac6637d8c1f0c8aad86161386c0ee2e2e53fd6
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-30 15:48:50 +01:00
Thomas Hartmann
3227397a76 QmlDesigner.Model: remove QtQuick from possible imports
We do not want to add the QtQuick import.

Change-Id: Ie94632f6be4826a69e365f2dcd565a52f180062b
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-30 15:28:19 +01:00
Thomas Hartmann
618c5c095f QmlDesigner.ImportManager: Adding proper icon to label
Change-Id: I7caf53091dae99239db2cc59c0a067b9d77fc1c9
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-30 15:21:15 +01:00
hjk
068a2909cc Debugger: Don't recreate gdb dumper object every time
This allows for easier caching of "expensive" information.

Change-Id: I97f272c795483250bd00a0ff899cb8c27b0ab6e9
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 15:20:56 +01:00
Thomas Hartmann
9a46f67f33 QmlDesigner.ImportManager: Add special combobox
Combobox is styled and always shows "Add Import" as current text.
I reimplented the paint event to get this behavior.

Change-Id: I4448644397e7a39488f2e961728ebef924eec7ff
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-30 15:19:23 +01:00
hjk
700eca4b21 Debugger: Make memory accessible again with gdb < 7.4
gdb.selected_inferior is too new for now.

Change-Id: I4290574b6dd2803a2fd2f860700693e7b2ac6efb
Reviewed-by: Rainer Keller <rainer.keller@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 14:08:50 +01:00
hjk
dbb95ba7f2 Debugger: Fix pointer dereferencing in gdb dumper
Size depends on target arch, not host arch.

Change-Id: I8d7875159910f94b332967d14fa654a899f954fd
Reviewed-by: Rainer Keller <rainer.keller@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-30 14:08:23 +01:00