Commit Graph

22563 Commits

Author SHA1 Message Date
Leandro Melo
efe9bca20c C++: Replace non-absolute-critical asserts for soft ones
Change-Id: I021074a78d90929b4e83b8aff9db1ae7995e8c6a
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-24 09:58:59 +01:00
hjk
918131b6e7 debugger: don't use derived dumpers if already dumping in base
Task-number: QTCREATORBUG-6857
Change-Id: Ie299a98f8e3177d730efb965f31880c6d3dfee54
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-24 09:57:23 +01:00
Leandro Melo
35bcccb500 C++: Remaining fixes in symbol finder
Should have gone in the previous fix commit...

Change-Id: Ibca55cbd6fd58caee7d61f5e8f8c37f67391c597
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-01-23 21:00:43 +01:00
Daniel Teske
09f2c7b8f3 DetailsWidget: partially revert removing of obsolete code
Used on the mac.

Change-Id: I6d96d9c706b1f4b94482f31cd87c4db48792b062
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-23 17:38:59 +01:00
Friedemann Kleint
fd754e8231 ClassView: Compile with QT_NO_CAST_FROM_ASCII.
Change-Id: I407b2cf2e1d6efa627724e893ea425bb653cdc7a
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-01-23 17:34:47 +01:00
Leandro Melo
b97b45a341 C++: Fix "reference" file in symbol finder
Througout the initial review the singleton was transformed into an
ordinary class, but a error was introduced: The "reference" file was
incorrectly assumed to be the editors file, which is wrong, since
it should be the declaration file.

Change-Id: Iad3e25a690fa8bd07a18184b24b10f8dea965332
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-01-23 17:17:00 +01:00
Leena Miettinen
17425c50f3 Doc: changes to QML profiler
Change-Id: I2320c81897202b8ce1a3c6d48d3ad786b9826d02
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2012-01-23 17:11:51 +01:00
Kai Koehne
079fc49e91 RemoteGdb: Fix setup for attaching via dialog
Fix regression introduced in 9e8f935a while at the same time decoupling
the 'useServerStartScript' setting from whether the engine uses
requestRemoteSetup, or not.

Task-number: QTCREATORBUG-6841
Change-Id: I0850ec60e0f45ac66ba6736bcb9f75fdf73c1d23
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-01-23 16:19:53 +01:00
Kai Koehne
3629b30e8d Debugger: Remove duplicated lines
Change-Id: I2257ffc837d69f37251ef7a4ba9a18afe5378767
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-23 15:37:20 +01:00
Daniel Teske
496ed22159 DetailsWidget: Remove unused obsolete code
Change-Id: I0e8cd904d6b5a89d7134f2b61e6bc549668792e0
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-23 15:02:56 +01:00
Fawzi Mohamed
008d43bb11 mdnssd: IPv6 fixes + merging 320.10.80 and 333.10
mostly uses original whitespace (for easier merging)

Change-Id: Ic3ced878f2ab77f86a06c4135636e659716588c2
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2012-01-23 14:22:32 +01:00
Kai Koehne
927fb4c7c9 QmlProfiler: Fix taking using address of profile
Fix gcc error: taking address of temporary

Change-Id: I24e9be4a5e351f61b151a502bb3ca3d52473f41d
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2012-01-23 14:09:12 +01:00
Eike Ziller
b10a5aa52a Clean up.
Change-Id: I7f9c2d27fb4e38866443d066f5c8a4946aaa1b17
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-01-23 14:01:00 +01:00
Thomas Hartmann
a8890669b0 WelcomePage: layout fixes for the develop page
Change-Id: I5feacf276b4cfb781cda0e737c1f52d0057db298
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-01-23 13:30:44 +01:00
Daniel Teske
a22d039b64 BuildSteps: Set additional text on details widget
Reported on irc

Change-Id: I67aa0aac481b64401ae8918b94438ae442389c28
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-01-23 12:55:32 +01:00
Daniel Molkentin
9c3426ba7b Docs: Space out nested lists correctly
Change-Id: I27dd7c492cc7aa8f1f3e253aebfe4c1e230b25ce
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
Reviewed-by: Virva Auvinen <virva.auvinen@nokia.com>
2012-01-23 12:49:40 +01:00
Leandro Melo
6caa899bfc Compile fix
Change-Id: I22dfa74f8f10a601103b179eb037604d5a747077
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-23 12:45:48 +01:00
Leandro Melo
591f04adf1 QML: Fix crash when calling reformat file
The action should only be enabled in the QML editor context.

Task-number: QTCREATORBUG-6709
Change-Id: I7d34f3eebb674d07e41fad5d6027d2ce37db9161
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2012-01-23 12:05:38 +01:00
David Schulz
2fb2c46da8 progress bar change status to cancel in the analyzer
if cancel button is pressed in the progress bar

Task-number: QTCREATORBUG-4644

Change-Id: I651af0a88a96d40e794bd2c63150276eef12131f
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-23 12:02:10 +01:00
Christian Stenger
f64a31a09d Squish: Changed fatal to warning
We still have a fallback and jenkins will
mark this as a problem (while it ignores warnings).

Change-Id: Ie33085c844c7ffbe1985a6b867aef00c7ae8c920
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-23 11:59:41 +01:00
Christian Stenger
14a8ad256e Squish: Make QMLViewer test stable on Jenkins
Change-Id: I175d10e1a5c23616801ac2c9be298198c89541b2
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-23 11:58:21 +01:00
Leandro Melo
466ea4842c C++: Improve file accuracy when finding symbols
This patch introduces a priority-based mechanism when searching for certains
symbols in the snapshot. The priority corresponds to how similar the file path
from the "reference" symbol is to the file path from the "candidate" symbol.
This solves a variety of issues when matching "equivalent" symbols but that
are in another file/project, such as when following a function declaration,
a forward class declaration, or adding a definition through a quickfix.

There's now a symbol finder which will compute the "best" search order and cache
the most recent results. A consequence is that following symbols in some cases
is slower, but not apparently significatly.

Note: The "find" functions were moved from the Snapshot to the new SymbolFinder
class.

Task-number: QTCREATORBUG-6697
Task-number: QTCREATORBUG-6792

Change-Id: Ia518f014275fec1f4d0cb3224bd4e06a9df6d557
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-01-23 11:34:44 +01:00
Nikolai Kosjar
271ec63a10 Deploy steps: Get rid of useless aggregation.
Change-Id: I03a3d020336dab4d2f1f85c77138d8df6246c174
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-01-23 11:21:09 +01:00
Orgad Shaneh
aee8a3ac88 debugger: fix copy-and-pasteo
Change-Id: I99923f9c2a06e8ef3bdb070419b4a19af0ddfa90
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-23 10:23:58 +01:00
hjk
406430fa1e debugger: compile fix in lldb support
Change-Id: I5bb5aae496cc1d8b53bf4911d651a10ab52ca924
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-20 18:12:00 +01:00
Christiaan Janssen
2163f789b1 QmlProfiler: rewriting details for bindings
Change-Id: Ie180ecc8d336bca1713edd5eb5fff0681c641b9d
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-01-20 17:06:23 +01:00
Daniel Teske
4e9192fc10 Fix some strings to the Ui guidelines
Change-Id: I114a30b2278e375cde27fd4be3e8f6791c387400
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2012-01-20 16:28:37 +01:00
Kai Koehne
f7c9b4eeb2 Debugger: Add simple app to test mixed QML/CPP debugging (QQuick1)
Change-Id: I7b7983a795c3c72e611bd6531c84cf498fb15c9f
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-20 16:18:01 +01:00
Christian Kandeler
8287cbe1fa SSH: Use enum for signals API.
There is no reason to bother the user with the protocol-internal
strings.

Change-Id: I7ebec9147b2d00cfdc779920d9ceb18e26c59755
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-20 16:01:29 +01:00
Friedemann Kleint
f5aa8d4658 Locator: Compile with QT_NO_CAST_FROM_ASCII.
Change-Id: I7b4b5e25aba9f2de9cbfde0f4553685cd4e01346
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-01-20 16:01:11 +01:00
Friedemann Kleint
fa20c2a95e Find: Compile with QT_NO_CAST_FROM_ASCII.
- Add missing tr()
- Fix potential crash constructing QString(0).

Change-Id: Ie35c047800a60410ca0886f8e50be1670c8375e9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-01-20 15:35:19 +01:00
Bojan Petrovic
a138465848 C++: Select All select the symbol while renaming symbol
https://bugreports.qt.nokia.com//browse/QTCREATORBUG-5520

Change-Id: Ifb163adb2609e17cdbc3df1e90b7e583c75fac49
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-01-20 15:27:09 +01:00
Friedemann Kleint
d96c1a746e Designer: Compile with QT_NO_CAST_FROM_ASCII.
Change-Id: If9c8c58f1b86fe8b32f24240bd256b5bb8790c6c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-01-20 15:20:20 +01:00
Christian Stenger
26796f6024 Squish: Try to make this run on Jenkins
I'm not sure for this - but LD_LIBRARY_PATH is always empty for
me. But inside Jenkins it's set and could mess up the hook into
sub application.

Change-Id: I2f3283f67d60a94083a5eb589abed01b05e66b29
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-20 14:41:10 +01:00
hjk
c828c363b1 debugger: new dumpers for boost::posix_time::{ptime,time_duration}
Task-number: QTCREATORBUG-6834
Change-Id: I494868dd4e8819284dbc7439cff89ffe07f6a958
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-20 14:38:05 +01:00
Christian Kandeler
b46cdd3729 SSH: Adapt test to an earlier change.
Change-Id: I67504abe9b32443667497c29fb27b555cf5419fc
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-01-20 13:58:55 +01:00
Christiaan Janssen
1958fd82d5 QmlProfiler: reading column information in bindings
Change-Id: I1a99c3508de733d98eb99f41419eccfdca030fe0
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-01-20 12:18:50 +01:00
Tobias Hunger
4894c559ac VCS: Fix warning about hiding a virtual method
Change-Id: I8f314486a50f9b7015572615d2306d5c7e2f1670
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
2012-01-20 11:59:43 +01:00
hjk
8e3b9d38e8 debugger: do not disable updates on locals and expressions
Task-number: QTCREATORBUG-5474
Change-Id: I6a2e872ac64a6ae57ff1ee9618937f0752fbb4ed
Reviewed-by: David Schulz <david.schulz@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-20 11:22:46 +01:00
Hugues Delorme
b6a06105c5 VcsBase: URL and email support in log editors
URL and email addresses are recognized in log and annotate
editors so the user can interact with as it is usually done
with VCS change identifiers.
The design of "text cursor handlers" opens the path for
further support of other contents like bug id of the
form "QTCREATORBUG-XXXX".

Change-Id: I88f553cf8ac90678ace52144ba0b43604279a234
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-01-20 09:36:39 +01:00
Oliver Wolff
a936318830 Export AbstractMsvcToolchain in order to use findInstalledJom in other toolchains
Change-Id: I8af36be42a8c129f1f3b19ea1b30b12497c0cdc7
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-01-20 09:30:47 +01:00
Aurindam Jana
b63a2b3f62 Profiler: Print recording status correctly
Change-Id: I3120e1485cd81beb48d7a2cc1f6395708cb0e722
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
2012-01-20 09:22:06 +01:00
Tobias Hunger
7ad7886b07 TC: Use FileName for debuggerCommand()
Change-Id: Ifa168b95d290bfae5c342981c4e4556d6f6913eb
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-19 15:34:46 +01:00
hjk
fa26b986de debugger: fix recent regression of non-persistent expanded watch items
Change-Id: Iec8b37812faca5584d268712181ffeca98ef6e8a
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-19 15:20:28 +01:00
Kai Koehne
c06727ca17 Debugger: Fix runtime warning if QmlJsInspector plugin is not loaded
Change-Id: I9c8132b4af2d1664622e4574e0c442a96b88c778
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-19 15:03:24 +01:00
Kai Koehne
2ec1f1d970 DebuggerEngine: Avoid warning when aborting in EngineShutdownRequested state
Change-Id: Ib0e0a2bbf0fa7d109a3910d0814ec9edef130dc4
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-19 15:03:02 +01:00
Kai Koehne
6bb77534c0 QmlCppEngine: Fix warnings about invalid state changes
Change-Id: Iaa45ff106f5f71a2c7f4729c64c281921b855f80
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-19 15:02:34 +01:00
Kai Koehne
75a9d6961c DebuggerEngine: Avoid warning when aborting in EngineSetupRequested state
This can happen e.g. inside the QmlEngine as part of a QmlCppEngine.

Change-Id: Id649086b3febe91e73d4784f3abb7f6d7a0d0d50
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-19 14:59:30 +01:00
Erik Verbruggen
ea27d72d19 Fix crash when doing "Move into file" refacoring action.
Change-Id: I0b42953b7bce6b594387777691aca4c2683a5828
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-01-19 13:59:46 +01:00
Daniel Teske
6efd36a790 Add missing update Actions
Change-Id: I23765629a2c95c65f3ff3dc5c948d3386aeb962e
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-01-19 12:40:51 +01:00