Commit Graph

42 Commits

Author SHA1 Message Date
Kai Koehne
6b1f96bf7b QmlProfiler: Re-enable attaching to a (remote) port
Change-Id: Iff5f8cf26e580ede4f82aba5a36acd785521da8d
Reviewed-on: http://codereview.qt-project.org/4890
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2011-09-15 13:35:34 +02:00
Christiaan Janssen
9fa409cbd9 QmlProfiler: manage quick stops before connection
Task-number: QTCREATORBUG-5804
Change-Id: I86e9a94c5352d0ac8f9157949afd3b32d60cb05e
Reviewed-on: http://codereview.qt.nokia.com/3606
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-08-25 17:01:17 +02:00
Christiaan Janssen
0d0992c712 QmlProfiler: changed file extension for traces
Change-Id: I71e8f30169912bc7c72ad76e75920bb9bc27c53e
Reviewed-on: http://codereview.qt.nokia.com/3325
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-08-22 16:55:11 +02:00
Kai Koehne
749534ea76 QmlProfiler: Move EventList to qmljsdebugclient library
Change-Id: Icbd24ffeb51db0f098d8fe9c62a0a889a722f760
Reviewed-on: http://codereview.qt.nokia.com/3222
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2011-08-22 09:12:02 +02:00
Christiaan Janssen
d2911d70f3 QmlProfiler: New event list with caching, load, save
Change-Id: I640a16649156a49f2d7e7006d6b2ea38fe218620
Reviewed-on: http://codereview.qt.nokia.com/3043
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-08-17 12:33:39 +02:00
Kai Koehne
fe3f0811de QmlProfiler: Fix warnings about hiding overloaded virtual functions
toolSelected() & toolDeselected are const methods in the base class.
But anyway the attach Action isn't used any more, so let's remove it
completely ...

Change-Id: Ia40cb6d927fb8422700816a8c6de81aa3734959d
Reviewed-on: http://codereview.qt.nokia.com/2324
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2011-07-28 11:03:44 +02:00
Kai Koehne
116b4efe5f QMlProfiler: Print logging / errors while connecting to General Messages pane
Actually the error message should ideally show up in Application Output, but
that would require a translation. Left for 2.4.

Change-Id: Ia13dc46bf82f28862ac38e830b241f4b23f83fa2
Reviewed-on: http://codereview.qt.nokia.com/2267
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2011-07-27 12:38:51 +02:00
Christiaan Janssen
82ff204314 QmlProfiler: display warning when app killed
Change-Id: I2183e02a5ce4b266702d0771933bda61efa66e95
Reviewed-on: http://codereview.qt.nokia.com/1603
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2011-07-13 16:07:56 +02:00
hjk
868613b5ed analyzer: merge dockwidget and toolbar creation.
Now that dock and control widgets are always created as late as
possible and both are needed immediately afterward it makes sense
to merge there construction. This also reduces the chance to create
a partial tool gui in an inconsitent state.

Change-Id: Ic7f405d65b2b8f0b4ee3ff0ef991d6e4746bac0a
Reviewed-on: http://codereview.qt.nokia.com/1249
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-07 10:37:04 +02:00
hjk
11dde67267 qmlprofiler: instantiate docks when using the toolbar
Change-Id: Ic839a4cf18494115a9a9ace4738ecb163722c40b
Reviewed-on: http://codereview.qt.nokia.com/1244
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-07 10:32:50 +02:00
Thomas Murach
a4c4d67772 corrected license headers
Change-Id: I56fa50745a80abf52488bebe6a5a72cf26932a8b
Merge-request: 352
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/1251
2011-07-06 17:56:15 +02:00
hjk
be452fcaff Revert "analyzer: move convenience factory back to base plugin"
This reverts commit 06a41da04e.

Change-Id: I06a41da04e726ffd35da18d99cd2f46cb99467bf
Reviewed-on: http://codereview.qt.nokia.com/1094
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-05 12:09:25 +02:00
hjk
06a41da04e analyzer: move convenience factory back to base plugin
Change-Id: Ife82b74ce4b457dd9e6a6cc3749cb629aeeacf58
Reviewed-on: http://codereview.qt.nokia.com/1086
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
2011-07-04 16:23:38 +02:00
hjk
36a3028b9d analyzer: refactor progress
Change-Id: If74c8035bc83a8113c2a15dcacefa38afbbbb4d8
Reviewed-on: http://codereview.qt.nokia.com/1056
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-04 12:02:36 +02:00
hjk
2086d94866 analyzer: finish split of tools into "tools-with-modes"
Change-Id: I82b61c07172a33b861a7d6db903ac2516019498b
Reviewed-on: http://codereview.qt.nokia.com/1054
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-04 12:02:13 +02:00
hjk
f0a0e5b1ea analyzer: move responsibility for run modes to individual tools
Change-Id: Iaf2fa9d4c087470649336a453c6a9a7db12d220f
Reviewed-on: http://codereview.qt.nokia.com/1051
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-04 12:01:25 +02:00
hjk
99d9f065b3 analyzer: refactoring of analyzer manager
Change-Id: I60268b8bc86e439beb3fca8f4b6a87ea03925bad
Reviewed-on: http://codereview.qt.nokia.com/1049
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-04 12:01:00 +02:00
hjk
bbe427ac1f analyzer: reorganize local/remote starts
Change-Id: I6273ea7ea50fd2bddad3a627e4616fe93e8398b9
Reviewed-on: http://codereview.qt.nokia.com/921
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-29 18:44:46 +02:00
hjk
b6c0f3d8a6 analyzer: refactor AnalyzerManager
Change-Id: Id925bb638b2757ef079c21192d4e2a8cc8f08694
Reviewed-on: http://codereview.qt.nokia.com/908
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-29 16:27:39 +02:00
hjk
8d567174a9 analyzer: more verbosity in the tool description
Change-Id: Ie259c78710c9e926f75595a7c22195efb7036532
Reviewed-on: http://codereview.qt.nokia.com/856
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-28 20:08:31 +02:00
Kai Koehne
949ffeb1b4 QmlProfiler: Support profiling applications on embedded Linux
Allow on-device profiling e.g. on Meego/Harmattan.

Change-Id: I066b71078e1dab1b1369ff7275f72e88045d1bab
Reviewed-on: http://codereview.qt.nokia.com/784
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-06-28 14:05:11 +02:00
hjk
a9f53ec9c5 analyzer: remove output pane
It's all dockwidgets now.

Change-Id: Ia47ca9331fdfbe12ca11f77c26afc35e73a2fae3
Reviewed-on: http://codereview.qt.nokia.com/776
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-27 16:17:11 +02:00
Christiaan Janssen
9baa4f51a1 QmlProfiler: Clear button in toolbar
Change-Id: Id9739b7828b080b016aa41b13b4f5313a2319172
Reviewed-on: http://codereview.qt.nokia.com/750
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-06-27 12:54:54 +02:00
hjk
cc645911c1 qmlprofiler: use dockwidgets instead of tabs in the output pane
Change-Id: I2c33c4309e6568a34517fae2bb37f5e70320cfbe
Reviewed-on: http://codereview.qt.nokia.com/35
Reviewed-by: hjk
2011-05-23 14:56:36 +02:00
hjk
c31bc05e2e analyzer: make output pane not pop up automatically in all cases
Change-Id: Ief96ab7093d78915087a273f3eff0b4489c3b370
Reviewed-on: http://codereview.qt.nokia.com/30
Reviewed-by: hjk
2011-05-20 11:00:28 +02:00
hjk
df91b0bbfb analyzer: cleanup 2011-05-18 16:37:19 +02:00
Tobias Hunger
aa2acec14c Fix/add copyright headers
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Christiaan Janssen
4fc3990b53 QmlProfiler: fixed connection reset when new application starts
Reviewed-by: Kai Koehne
2011-04-15 17:31:21 +02:00
Kai Koehne
0a0b8dcafc QmlProfiler: Reinstantiate a QDDClient for every new connection 2011-04-14 17:36:46 +02:00
Kai Koehne
e6620167fc QmlProfiler: Enable on Windows
Replace use of sleep() call with a timer.
2011-04-14 17:36:43 +02:00
Christiaan Janssen
19190384b6 QmlProfiler: user defined host:port
Reviewed-by: Kai Koehne
2011-04-14 15:44:43 +02:00
Christiaan Janssen
fa2b294264 QmlProfiler: stop timer on failed connection
Reviewed-by: Kai Koehne
2011-04-14 15:25:58 +02:00
Christiaan Janssen
e838a3dd7c QmlProfiler: added 'clear view'
Reviewed-by: Kai Koehne
2011-04-06 16:08:51 +02:00
Christiaan Janssen
fad891820d qQmlProfiler: independent start/stop/record buttons
Reviewed-by: Kai Koehne
2011-04-06 12:59:29 +02:00
Kai Koehne
12a02c7534 QmlProfiler: Add attach/detach menu entry
This allows one to also profile apps on device (as long as there
is a working TCP/IP connection).
2011-04-04 15:59:31 +02:00
Mike McQuaid
6ac987c846 Add analyzer new APIs support to plugins.
Merge-request: 284
Reviewed-by: hjk <qtc-committer@nokia.com>
2011-04-04 14:39:28 +02:00
Kai Koehne
f0e3722eea Fix for shadow builds 2011-04-04 10:13:29 +02:00
Kai Koehne
eb4d273949 QmlProfiler: instantiate FileInProjectFinder only once 2011-04-04 09:37:52 +02:00
Kai Koehne
d8f83e2b1b QmlProfiler: Add license headers 2011-03-25 17:20:27 +01:00
Kai Koehne
ac61c9a918 QmlProfiler: Namespace fixes
Use own namespace (QmlProfiler) instead of Analyzer.
2011-03-25 09:21:00 +01:00
Christiaan Janssen
fbe9925d8c QmlProfiler: ongoing work 2011-03-24 15:42:43 +01:00
Christiaan Janssen
f774556de7 QmlProfiler: first commit 2011-03-24 11:07:59 +01:00