Commit Graph

23504 Commits

Author SHA1 Message Date
Tobias Hunger
aa722e6a60 WelcomePage: Tag broken examples.
Tag examples without an existing .pro-file as "broken". That makes
it possible to search for those plugins in the examples page.

Change-Id: I211e7a53b395fa98fee6222a21ab5116718224c8
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2012-03-27 19:44:35 +02:00
Tobias Hunger
82e0f27fd1 WelcomePage: Do not list examples that do not exist
Do not list examples that point to non-existing project files.

Change-Id: I6b7fdff3831a5a1845cf8c8d8429287abb1f86ab
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2012-03-27 18:47:14 +02:00
Tobias Hunger
177ed96b35 WelcomePage: Make welcome page more resilient
Do not try to open non-existant project files when asked to open
an example.

Change-Id: Ibcd106a0a8354f98998e61cafa3f5cd2ce2844b0
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2012-03-27 18:44:46 +02:00
Alessandro Portale
1da95bc129 Remove usages of Q_GLOBAL_STATIC_WITH_INITIALIZER in Qt Creator
Q_GLOBAL_STATIC_WITH_INITIALIZER will be removed in Qt5, since
it interferes with multi threading.

Change-Id: I2013091ecb0613a168cd77f56ac88edb3b97fe1d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-03-27 16:41:08 +02:00
Tobias Hunger
a3d244e970 Pathchooser: Add method to get/set base dir using a FileName
Change-Id: I29f09197f98ad12f3508ff2357dc294b2f820050
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-03-27 15:07:18 +02:00
Tobias Hunger
f1f567bf2d Do not mark up unknown types as designable
Do not mark up properties using types that are not known to designer as
designable.

Change-Id: I45b702dc0e441998f6afa7989f8c12a3b068899e
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-03-27 15:07:11 +02:00
Thomas Hartmann
37a5b8dec1 Add a scratch file wizard
Commit d86b2abc0b was
accidentally reverted.

See: d86b2abc0b for details

Change-Id: I0efff4126f3504661957529ce98a1fc1ea169a00
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-03-27 14:12:00 +02:00
Thomas Hartmann
f45a787342 WelcomePage: open labs and developer.qt.nokia.com in browser
These webpages are likely to require account data and therefore
we better open them in the system browser.

Change-Id: Iccc158f3e96052fcf30001ec827c23a4a8362fff
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-03-27 12:01:00 +02:00
Erik Verbruggen
e685a96da6 Fixed debug output.
Change-Id: I2edff4126f3504661957529c198a1fc1ea169a08
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
2012-03-27 10:08:48 +02:00
hjk
6ae91a4a37 debugger: make mixed debugging progress if main binary is missing
Change-Id: I92f47982067b57ca3d34a66977c557325d31ba09
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-27 08:11:27 +02:00
Fawzi Mohamed
72e0f26cbc zeroconf: fix include paths for minGW
Task-number: QTCREATORBUG-7189
Change-Id: Ie0dfe044a5b79af1b320683d27698a9d89ab3ede
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-03-26 19:32:01 +02:00
Fawzi Mohamed
8abf7b9aa1 zeroconf: avoid double triggering of hadFailure
Change-Id: Ia4e2da06714b06fc7a98a0acb6d3868fc4bafca9
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@nokia.com>
2012-03-26 19:31:49 +02:00
Christiaan Janssen
6ff4a0b586 QmlProfiler: flush on new trace
Discard pending data if a new trace arrives while an old one
was still being processed.  If we don't, the data of both
traces gets mixed, leading to a possible crash.

Change-Id: Ibba7df06f6a4b7e93d00f6fa1fa4802baf3a1731
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-03-26 16:46:41 +02:00
hjk
95e2c9ca57 debugger: make the selection of detach or kill explicit
Change-Id: I6f80047ad229e0be851b06a277ab2f899757828f
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-26 16:37:42 +02:00
Thomas Hartmann
bbd5d2ddfe Wizards: allow forcing of first letter to be a capital letter
This adds a flags that enforces capitalization of filenames.

Change-Id: Ie6660f1985a2e96fd68549c5ced1b37c33f064cc
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-03-26 16:20:46 +02:00
Friedemann Kleint
d86b2abc0b Add a scratch file wizard.
Add a wizard that quickly creates a text file without prompting
for a path, useful for shuffling clipboard pastes around, for
examples when collecting stack traces, etc and posting them
to a code paster.

Acked-by: Eike Ziller <eike.ziller@nokia.com>

Change-Id: I9fa6375a961cfcfef28a79b71ee4e046e57f0ec7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-03-26 15:44:05 +02:00
Konstantin Tokarev
ecbadbce24 Forward declare QFileSystemWatcher
Change-Id: I9ddfe95ea9e0df31c6737e11fe7b4b095b594d18
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-03-26 15:42:22 +02:00
Christiaan Janssen
0009bf8e2b QmlProfiler: fix crash in binding loop detection
The cause of the crash was that animation events are a special case
inside the profile data model, and some parts of the statistics
computation were not taking that circumstance into account.

Change-Id: Ibec929abb18fcdd8af4ddb5ff40b125915746725
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-03-26 15:30:32 +02:00
hjk
fc829b2303 debugger: fix recent breakage in stack view context menu
Change-Id: Ida267bcd5f5b5931612373e5dbd80fe9eb4dbdb3
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-26 13:53:30 +02:00
Aurindam Jana
1cf369f71c QmlJSInspector: Save button states in settings
Change-Id: I5431e2ff63f2785ac3020dede165779cbb97dc45
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-03-26 12:17:07 +02:00
Aurindam Jana
9a50052af1 QtMessageLogWindow: Tweak UI elements
Change-Id: I381531bb25f853b713a9d2ec0dc53d1b0c2d2c84
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-03-26 12:17:01 +02:00
Aurindam Jana
f735820b89 QmlDebugging: Use Utils::StyledBar
Use the StyledBar instead of custom widgets in inspector and
messagelog window.

Change-Id: I3bb8fc3aef20caf9c6c2b3c5e214d3642f5f8397
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-03-26 12:16:57 +02:00
Aurindam Jana
05aa2eb204 QmlJSInspector: Use FindToolBar instead of Filter
QtCreator uses the Find Tool Bar uniformly to search for strings.

Change-Id: I399661597120be3402432b0c99489174f7bf2d62
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-03-26 11:41:57 +02:00
Aurindam Jana
f14dffe681 QmlJSInspector: Remove Color Picker Tool
Change-Id: Ic1a158f3e96052fcf30071ec827c23a4a83625f5
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-03-26 11:39:11 +02:00
Orgad Shaneh
ebeb5b7f49 FileIconProvider: Fix doc
Change-Id: I7857792f7f8c27bc7d6004eb6a63c10449144efa
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2012-03-26 09:52:53 +02:00
Eike Ziller
6d1ac2e04c Mac: Fix for compilation with 4.7.4
qglobal from 4.7.4 doesn't define MAC_OS_X_VERSION_10_7

Change-Id: Ia152108b52b92b65916002df76065e4eb95dc8a0
Reviewed-by: Bill King <bill.king@nokia.com>
2012-03-26 08:58:28 +02:00
Christian Kandeler
672ffa59df No raw Device pointers in DeviceManager interface.
Change-Id: I6f5515d9d04517a71ba5a6bcbbd54af7d14d2bbb
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-03-23 17:56:46 +01:00
Christian Kandeler
187fb148fd Revert "Fix typos"
This reverts commit b2796f69f78b8243e1e4cedef44d23e273317727

Again, these are not typos. See I1833b5229f4cfa2c7c9c4599963b097731b55fb5.

Change-Id: I48cbe15605a0dd8b283d49ff35b6e66ba172c410
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-03-23 17:55:14 +01:00
hjk
c0accaa3af debugger: add more heuristics to find sources
Change-Id: I78a22b885217ed45c97b992e0d70ef3bc19d24f9
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-23 17:55:07 +01:00
Oswald Buddenhagen
51988bb5e0 Merge remote-tracking branch 'origin/2.5' 2012-03-23 17:50:29 +01:00
Aurindam Jana
6badd0aa05 QtMessageLogHandler: Fix "jumping" cursor
Change-Id: I1967e8b4da4d1f52c97be557fda0d019e6598c09
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-03-23 17:25:16 +01:00
Christian Stenger
cd4ce50a3b Squish: Fix changed values
These values have changed (see src/plugins/projectexplorer/taskmodel.h)

Change-Id: I7b351cfae2bceca782ea022b855d86926e942d53
Reviewed-by: Bill King <bill.king@nokia.com>
2012-03-23 16:53:10 +01:00
Tobias Hunger
362158c229 Fix typos
Change-Id: I636af8ae9f4bd5a6abd55122cb892eb562159547
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-03-23 16:00:22 +01:00
Aurindam Jana
ef643d48ea QmlEngine: Remove unneeded message log
Introduced by 2.5 merge with master
dbcaadd8af

Change-Id: Id85df5a4f6400850cf36453e4e641f7a25ead888
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2012-03-23 13:24:24 +01:00
Friedemann Kleint
818bb51b08 Autodetect CDB's shipped with Windows Kits >= 8.0.
Task-number: QTCREATORBUG-7182

Change-Id: I153788664067445cece3c7ecf46cf8217539251d
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-03-23 13:11:50 +01:00
Thomas Hartmann
1d81709a03 QmlDesigner: crashfix
If the node is a component it is not present as an item.

Task-number: QTCREATORBUG-7176
Change-Id: I426e2e8bfdf9e0eced566c60e2721d3630ef554a
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-03-23 13:08:25 +01:00
Aurindam Jana
ab985b0ee9 TreeViewFind: Search in all columns
Extend searching from a specified column to all columns.

Change-Id: I939867611dc79376237f3599baab28b408620b62
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-23 12:09:58 +01:00
Tobias Hunger
0949e083eb Device: Add method to get the index of a idevice
Add a method to get the index of an IDevice * in the DeviceManager.

Change-Id: Icf02c8a682185ebe9ea68fd4edb026d1c8335112
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-03-23 11:39:58 +01:00
Kai Koehne
2af301e253 Debugger: Bring Qt Creator to foreground if app interrupts
Change-Id: I07795f61b79cce9687d0ae2bff3cc19534ec08d6
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-03-23 11:29:01 +01:00
Leena Miettinen
b8cd8d337f Doc: update screen shots
Add references to screen elements in text as numbers.

Update link to Qt Quick Designer options.

Change-Id: Ifff0f0a203e922943367f9069e8ebb6f35244878
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2012-03-23 08:55:55 +01:00
hjk
b80e648dbf debugger: make Attach to Remote... dialogs better accessible
Change-Id: Ic20897a565c37d45d1521c8934ae0c4759fdef01
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-22 18:22:58 +01:00
Oswald Buddenhagen
dbcaadd8af Merge remote-tracking branch 'origin/2.5'
Conflicts:
	src/plugins/debugger/qml/qmlengine.cpp
	src/plugins/qtsupport/gettingstartedwelcomepage.cpp

Change-Id: I9157b9b9c05564ddeb3c72cec6b59523b8165d76
2012-03-22 15:09:50 +01:00
hjk
e01e899733 debugger: add dumper for internal gdbmi style data
Change-Id: If46366182698b4de8df146625339e1af2f0874bd
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-22 14:57:49 +01:00
Kai Koehne
b6cb86eb53 QmlDebugger: Fix automatic connection setup
Make sure we only try to connect when we're in the right state
(EngineRunRequest). Specifically, stop to connect when the engine
is finished.

Change-Id: Ia4f1f79e8ac5b32ff436e63195516e242d4c120c
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2012-03-22 14:36:48 +01:00
Aurindam Jana
e412a93006 QmlJSInspector: Query Objects Iteratively
Currently all objects are recursively fetched when the root context
is retrieved. This patch fetches objects on demand.

Change-Id: Idf5c621ec38869dd5a676116bc4df528d7bb2fda
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-03-22 14:22:06 +01:00
Aurindam Jana
66ed2b37ba QmlDebugging: Add service client for QmlDebugger
Qt5 has renamed the service 'QDeclarativeEngine' to 'QmlDebugger'.
Add a new client to connect to the service.

Change-Id: I3a03181c4f34c311e47d4a963283b66dc778726b
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-03-22 14:21:53 +01:00
Aurindam Jana
4cd2e32659 QmlEngineDebugClient: Simplify the client and utility classes
Change-Id: I86033bdbdef94c6f17e706f8e13ce390969171c6
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-03-22 14:21:34 +01:00
Kai Koehne
8966d82af3 Mixed debugger: Fix state warnings on exit
If the (child) engine is already in state InferiorShutdownOk
or InferiorExitOk, it will automatically proceed. No need
to call notifyInferiorIll(), which will lead to state warnings.

Change-Id: Id7501d327454095648be8c14d02520b2ed128e87
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-22 13:49:42 +01:00
hjk
32ec60958d debugger: make views searchable
Change-Id: Icade50bfaa884d88e451e688acf62d6793346628
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-22 12:59:42 +01:00
Aurindam Jana
b9dfbd8ec3 QtMessageLogHandler: Sorting child items
Insert child items in sorted order if the "Sort Members and
Classes Alphabetically" is set in Locals And Expressions.

Change-Id: Ib21803326ec3f35c9541c08d876c4a38c0202a9f
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-22 12:04:48 +01:00