qt-creator:qt-creator-instrumentation.git
7 years agoAdd visualisation as a dockwidget. callgrind-demo
Mike McQuaid [Tue, 22 Feb 2011 14:54:20 +0000 (14:54 +0000)]
Add visualisation as a dockwidget.

7 years agoUse less hacky method of calculating font size.
Mike McQuaid [Tue, 22 Feb 2011 13:02:29 +0000 (13:02 +0000)]
Use less hacky method of calculating font size.

7 years agoModify text colour based on lightness.
Mike McQuaid [Mon, 21 Feb 2011 17:31:18 +0000 (17:31 +0000)]
Modify text colour based on lightness.

7 years agoAdd text item and make it look nice.
Mike McQuaid [Mon, 21 Feb 2011 16:53:21 +0000 (16:53 +0000)]
Add text item and make it look nice.

7 years agoUpdate visualisation, add test, remove from tool.
Mike McQuaid [Fri, 18 Feb 2011 13:22:43 +0000 (13:22 +0000)]
Update visualisation, add test, remove from tool.

7 years agoFix valgrind tests and .gitignore.
Mike McQuaid [Fri, 18 Feb 2011 11:45:31 +0000 (11:45 +0000)]
Fix valgrind tests and .gitignore.

7 years agoAdd first dummy rectangle as dockwidget item.
Mike McQuaid [Mon, 14 Feb 2011 18:14:05 +0000 (18:14 +0000)]
Add first dummy rectangle as dockwidget item.

7 years agoAdd stub callgrind visualisation.
Mike McQuaid [Mon, 14 Feb 2011 13:57:41 +0000 (13:57 +0000)]
Add stub callgrind visualisation.

7 years agodon't addRunControlWidgets in ctor manually, setConfigurationWidget does that already
Milian Wolff [Tue, 15 Feb 2011 16:08:17 +0000 (17:08 +0100)]
don't addRunControlWidgets in ctor manually, setConfigurationWidget does that already

7 years agofix Relative*CostRole and don't differentiate between the two states in the DataModel
Milian Wolff [Tue, 15 Feb 2011 16:01:51 +0000 (17:01 +0100)]
fix Relative*CostRole and don't differentiate between the two states in the DataModel

7 years agoAdd (broken) relative cost to models.
Mike McQuaid [Tue, 15 Feb 2011 15:27:34 +0000 (15:27 +0000)]
Add (broken) relative cost to models.

7 years agocleanup code
Milian Wolff [Tue, 15 Feb 2011 15:16:41 +0000 (16:16 +0100)]
cleanup code

7 years agomake uploaded target executable
Milian Wolff [Tue, 15 Feb 2011 14:30:01 +0000 (15:30 +0100)]
make uploaded target executable

7 years agoupload binary to /tmp/ on remote host, then run it
Milian Wolff [Tue, 15 Feb 2011 14:01:43 +0000 (15:01 +0100)]
upload binary to /tmp/ on remote host, then run it

7 years agoadd comment on lastPid - it's not applicable for remote running
Milian Wolff [Tue, 15 Feb 2011 13:30:15 +0000 (14:30 +0100)]
add comment on lastPid - it's not applicable for remote running

7 years agoproperly listen on the correct host address
Milian Wolff [Tue, 15 Feb 2011 13:17:56 +0000 (14:17 +0100)]
properly listen on the correct host address

7 years agomore work on remote valgrind support, still not working properly
Milian Wolff [Tue, 15 Feb 2011 13:14:04 +0000 (14:14 +0100)]
more work on remote valgrind support, still not working properly

7 years agoadapt to move of ssh to utils
Milian Wolff [Mon, 14 Feb 2011 15:21:10 +0000 (16:21 +0100)]
adapt to move of ssh to utils

7 years agoWIP: remote valgrind
Milian Wolff [Mon, 14 Feb 2011 14:17:09 +0000 (15:17 +0100)]
WIP: remote valgrind

7 years agoMerge remote branch 'official/master' into tmp
Milian Wolff [Tue, 15 Feb 2011 14:09:14 +0000 (15:09 +0100)]
Merge remote branch 'official/master' into tmp

7 years agodebugger: InferiorUnrunnable is an acceptable state at exitDebugger() time
hjk [Tue, 15 Feb 2011 11:03:37 +0000 (12:03 +0100)]
debugger: InferiorUnrunnable is an acceptable state at exitDebugger() time

7 years agodebugger: code cosmetics.
hjk [Mon, 14 Feb 2011 17:21:57 +0000 (18:21 +0100)]
debugger: code cosmetics.

7 years agodebugger: make handling of cpu type result failure more robust
hjk [Mon, 14 Feb 2011 16:46:45 +0000 (17:46 +0100)]
debugger: make handling of cpu type result failure more robust

7 years agoDebuggingHelper: Display native directory separators
Kai Koehne [Tue, 15 Feb 2011 10:12:06 +0000 (11:12 +0100)]
DebuggingHelper: Display native directory separators

7 years agoMaemo: Rename "Simulator" to "Emulator" when referring to Qemu.
Christian Kandeler [Mon, 14 Feb 2011 12:56:39 +0000 (13:56 +0100)]
Maemo: Rename "Simulator" to "Emulator" when referring to Qemu.

No user-visible changes.

7 years agoMaemo: Fix GUI bug.
Christian Kandeler [Mon, 14 Feb 2011 12:56:05 +0000 (13:56 +0100)]
Maemo: Fix GUI bug.

Mutually exclusive radio buttons could be toggled independently.

7 years agoL10n: tr()-Fixes for 2.2
Friedemann Kleint [Tue, 15 Feb 2011 09:26:22 +0000 (10:26 +0100)]
L10n: tr()-Fixes for 2.2

7 years agoDebugger: Fix autotests for MSVC.
Friedemann Kleint [Mon, 14 Feb 2011 16:02:16 +0000 (17:02 +0100)]
Debugger: Fix autotests for MSVC.

7 years agoL10n: First round of tr()-Fixes for 2.2
Friedemann Kleint [Mon, 14 Feb 2011 15:36:05 +0000 (16:36 +0100)]
L10n: First round of tr()-Fixes for 2.2

7 years agomove src/plugins/coreplugin/ssh to src/lib/utils/ssh
Milian Wolff [Mon, 14 Feb 2011 15:34:17 +0000 (16:34 +0100)]
move src/plugins/coreplugin/ssh to src/lib/utils/ssh

Merge-request: 253
Reviewed-by: hjk <qtc-committer@nokia.com>
7 years agodebugger dumpers: compile fix for automated tests
hjk [Mon, 14 Feb 2011 14:07:42 +0000 (15:07 +0100)]
debugger dumpers: compile fix for automated tests

7 years agodebugger: show more detail for "special" breakpoints in breakwindow
hjk [Mon, 14 Feb 2011 12:56:18 +0000 (13:56 +0100)]
debugger: show more detail for "special" breakpoints in breakwindow

main/throw/catch

7 years agodebugger: code cosmetics
hjk [Mon, 14 Feb 2011 12:42:01 +0000 (13:42 +0100)]
debugger: code cosmetics

7 years agoDebuggingHelper: Disable buttons when build is already running
Kai Koehne [Mon, 14 Feb 2011 09:36:32 +0000 (10:36 +0100)]
DebuggingHelper: Disable buttons when build is already running

7 years agoDebugger: Add functionality for copying watch data to clipboard.
Friedemann Kleint [Mon, 14 Feb 2011 08:40:43 +0000 (09:40 +0100)]
Debugger: Add functionality for copying watch data to clipboard.

in watch window and tooltips.

7 years agoMaemo: Fix QML debugging.
Christian Kandeler [Fri, 11 Feb 2011 15:02:41 +0000 (16:02 +0100)]
Maemo: Fix QML debugging.

In general, at least. Does not actually stop at breakpoints yet.

7 years agoDebugger[Tooltips]: Connect signals of QmlCppEngine.
Friedemann Kleint [Fri, 11 Feb 2011 14:12:44 +0000 (15:12 +0100)]
Debugger[Tooltips]: Connect signals of QmlCppEngine.

7 years agoDebugger: Make tooltips pinnable.
Friedemann Kleint [Fri, 11 Feb 2011 14:00:13 +0000 (15:00 +0100)]
Debugger: Make tooltips pinnable.

Replace old debugger tooltip by a new ToolTipManager which
has a list of AbstractDebuggerToolTipWidget with the functionality
to 'acquire' an engine (display its data) and 'release' it
(store engine data and display them as 'previous') and serialization
to XML session data.
DebuggerTreeViewToolTipWidget implements AbstractDebuggerToolTipWidget
for tree model acting as  a filter on watch models.

Rubber-stamped-by: hjk
7 years agoUsing official html5 logo as icon for the html5 Application Wizard
Alessandro Portale [Fri, 11 Feb 2011 13:42:06 +0000 (14:42 +0100)]
Using official html5 logo as icon for the html5 Application Wizard

http://www.w3.org/html/logo/

7 years agoMaemo: Inform debugger engine about connection loss.
Christian Kandeler [Fri, 11 Feb 2011 13:20:23 +0000 (14:20 +0100)]
Maemo: Inform debugger engine about connection loss.

Task-number: QTCREATORBUG-3783

7 years agoSSH: Introduce keep-alive mechanism.
Christian Kandeler [Fri, 11 Feb 2011 13:00:54 +0000 (14:00 +0100)]
SSH: Introduce keep-alive mechanism.

Neither TCP nor the SSH protocol offer a built-in way to reliably
notice connection loss, so we implement our own.

Task-number: QTCREATORBUG-3783

7 years agoMaemo: Fix free ports calculation.
Christian Kandeler [Thu, 10 Feb 2011 15:07:56 +0000 (16:07 +0100)]
Maemo: Fix free ports calculation.

This was always zero before the first deployment.

7 years agoDoc: fix typo and us US spelling
Leena Miettinen [Fri, 11 Feb 2011 10:24:18 +0000 (11:24 +0100)]
Doc: fix typo and us US spelling

7 years agoDoc: fix example code
Leena Miettinen [Fri, 11 Feb 2011 10:23:54 +0000 (11:23 +0100)]
Doc: fix example code

Reviewed-by: Christian Kandeler
7 years agoUpdated the configuration files to use the updated qdoc.
David Boddie [Fri, 17 Dec 2010 19:21:27 +0000 (20:21 +0100)]
Updated the configuration files to use the updated qdoc.

Updated qdoc to remove hard-coded dependencies on style sheets.
Simplified the offline documentation, introducing an offline.css
file to be used for documentation in Qt Creator.

7 years agoRefactoring. Move post generation file open to base class.
Alessandro Portale [Thu, 10 Feb 2011 21:44:01 +0000 (22:44 +0100)]
Refactoring. Move post generation file open to base class.

7 years agoQmlDesigner: Improve size management
Marco Bubke [Thu, 10 Feb 2011 20:15:59 +0000 (21:15 +0100)]
QmlDesigner: Improve size management

7 years agoQmlDesigner: Change the size of the root item for preview
Marco Bubke [Thu, 10 Feb 2011 17:17:36 +0000 (18:17 +0100)]
QmlDesigner: Change the size of the root item for preview

7 years agoRemoving 3 unneded semicolons in one line.
Alessandro Portale [Thu, 10 Feb 2011 17:23:33 +0000 (18:23 +0100)]
Removing 3 unneded semicolons in one line.

7 years agoLink error (MSVC).
Friedemann Kleint [Thu, 10 Feb 2011 16:14:59 +0000 (17:14 +0100)]
Link error (MSVC).

7 years agoQmlJS: Completion for attached properties.
Christian Kamm [Thu, 10 Feb 2011 16:03:52 +0000 (17:03 +0100)]
QmlJS: Completion for attached properties.

7 years agoQmlJS: Rework FakeMetaObjects to no longer contain pointers.
Christian Kamm [Thu, 10 Feb 2011 13:53:57 +0000 (14:53 +0100)]
QmlJS: Rework FakeMetaObjects to no longer contain pointers.

Having a duplicate prototype chain - once in FakeMetaObjects and once
in QmlObjectValues was unnecessary. Now FMOs don't contain references
which may allow other simplifications.

7 years agoqmldump: Dump attached types and read them in Creator.
Christian Kamm [Thu, 10 Feb 2011 13:46:03 +0000 (14:46 +0100)]
qmldump: Dump attached types and read them in Creator.

7 years agodebugger: some initial work on QTJSC::JSValue dumper
hjk [Thu, 10 Feb 2011 14:41:20 +0000 (15:41 +0100)]
debugger: some initial work on QTJSC::JSValue dumper

7 years agodebugger: prepare some manual test for a potential QScriptValue dumper
hjk [Thu, 10 Feb 2011 14:17:55 +0000 (15:17 +0100)]
debugger: prepare some manual test for a potential QScriptValue dumper

7 years agoDoc: edits to language and style
Leena Miettinen [Thu, 10 Feb 2011 15:44:35 +0000 (16:44 +0100)]
Doc: edits to language and style

Removed duplicate info.

Reviewed-by: hjk
7 years agoSymbian: Refactor codaclient application to make it compile once again
Pawel Polanski [Thu, 10 Feb 2011 15:48:41 +0000 (16:48 +0100)]
Symbian: Refactor codaclient application to make it compile once again

7 years agoAdd missing #include for unistd.h
Thiago Macieira [Fri, 4 Feb 2011 16:56:31 +0000 (17:56 +0100)]
Add missing #include for unistd.h

7 years agoQmlDesigner: Change importAdded and importRemoved in importsChanged
Marco Bubke [Thu, 10 Feb 2011 14:44:40 +0000 (15:44 +0100)]
QmlDesigner: Change importAdded and importRemoved in importsChanged

7 years agoMaemo: Add default value to device config wizard.
Christian Kandeler [Thu, 10 Feb 2011 14:37:12 +0000 (15:37 +0100)]
Maemo: Add default value to device config wizard.

Task-number: QTCREATORBUG-3782

7 years agoCompiler warning.
Friedemann Kleint [Thu, 10 Feb 2011 14:37:35 +0000 (15:37 +0100)]
Compiler warning.

7 years agoMaemo: Improve dialog text.
Christian Kandeler [Thu, 10 Feb 2011 14:28:22 +0000 (15:28 +0100)]
Maemo: Improve dialog text.

Task-number: QTCREATORBUG-3771

7 years agoQML extension plugin wizard: Make deployable on Maemo.
Christian Kandeler [Thu, 10 Feb 2011 14:16:55 +0000 (15:16 +0100)]
QML extension plugin wizard: Make deployable on Maemo.

Task-number: QTCREATORBUG-3229
Reviewed-by: Alessandro Portale
7 years agoFix revisions when loading with multiple chunks
mae [Thu, 10 Feb 2011 14:03:38 +0000 (15:03 +0100)]
Fix revisions when loading with multiple chunks

Done-with: Leandro Melo

7 years agodon't give up on evaluation errors too easily
Oswald Buddenhagen [Wed, 9 Feb 2011 19:03:04 +0000 (20:03 +0100)]
don't give up on evaluation errors too easily

if the exact evalution fails (possibly because of a parser error), then
still use the cumulative evaluation to construct the project tree. only
the target information won't be updated and the code model will be left
in the dark.

todo: the errors are dumped only to the (unnumbered) "general messages"
output pane, which makes them practically invisible.

Task-number: QTCREATORBUG-3093

7 years agodon't give up on parsing errors
Oswald Buddenhagen [Wed, 9 Feb 2011 19:00:44 +0000 (20:00 +0100)]
don't give up on parsing errors

instead of erroring out the parse, only error out the evaluation in
exact mode. that way we can do cumulative evaluation even on broken
files.

Task-number: QTCREATORBUG-3093

7 years agodon't try to collect values from null files
Oswald Buddenhagen [Wed, 9 Feb 2011 13:59:07 +0000 (14:59 +0100)]
don't try to collect values from null files

it would collect global values instead.

7 years agouse exact evaluator also for TARGET.CAPABILITY
Oswald Buddenhagen [Tue, 8 Feb 2011 20:18:03 +0000 (21:18 +0100)]
use exact evaluator also for TARGET.CAPABILITY

special-casing it makes no sense, as all other values from the
project would be mismatched and thus worthless for code validation
anyway.

7 years agoremove unnecessary consistency check between cumulative and exact evaluation
Oswald Buddenhagen [Tue, 8 Feb 2011 11:46:25 +0000 (12:46 +0100)]
remove unnecessary consistency check between cumulative and exact evaluation

the node updater would check if the cumulative and exact evalutor
returned the same project type and would discard the cumulative one if
they didn't. this was pointless, as a) it would practically never happen
and b) it would be without much consequence anyway.

7 years agomicro-optimize: use constant instead of variable in invariant case
Oswald Buddenhagen [Tue, 8 Feb 2011 20:15:50 +0000 (21:15 +0100)]
micro-optimize: use constant instead of variable in invariant case

7 years agosave m_varValues before emiting the change notification
Oswald Buddenhagen [Wed, 9 Feb 2011 18:24:23 +0000 (19:24 +0100)]
save m_varValues before emiting the change notification

... otherwise oldValues equals newValues.
the signal is currently not connected anyway, but whatever.

7 years agodon't claim success in some failure cases
Oswald Buddenhagen [Wed, 9 Feb 2011 14:06:02 +0000 (15:06 +0100)]
don't claim success in some failure cases

this kinda worked because int(ReturnTrue) == int(true), but there
are more possible return values than that.

7 years agofix c&p bug: actually use exact evaluation results
Oswald Buddenhagen [Tue, 8 Feb 2011 20:15:05 +0000 (21:15 +0100)]
fix c&p bug: actually use exact evaluation results

7 years agoQmlInspector: changed crumblepath appearance
Christiaan Janssen [Thu, 10 Feb 2011 12:58:59 +0000 (13:58 +0100)]
QmlInspector: changed crumblepath appearance

Reviewed-by: Kai Koehne
7 years agodebugger: rework logic for chain of disassembler fallbacks.
hjk [Thu, 10 Feb 2011 12:43:02 +0000 (13:43 +0100)]
debugger: rework logic for chain of disassembler fallbacks.

Old logic was too fragile to maintain.
Now it's  PointMixed -> PointPlain -> RangeMixed -> RangePlain.

7 years agodebugger: prevent crash
hjk [Wed, 9 Feb 2011 15:40:08 +0000 (16:40 +0100)]
debugger: prevent crash

7 years agoQmlJS: Update list of Qt object members.
Christian Kamm [Thu, 10 Feb 2011 10:40:57 +0000 (11:40 +0100)]
QmlJS: Update list of Qt object members.

That means createComponent etc. will now be completed.

7 years agoImprove description of 'Prompt to stop applications' checkbox in options
Kai Koehne [Thu, 10 Feb 2011 10:35:40 +0000 (11:35 +0100)]
Improve description of 'Prompt to stop applications' checkbox in options

7 years agoDebuggingHelper: Make paths in UI selectable by mouse
Kai Koehne [Thu, 10 Feb 2011 08:10:38 +0000 (09:10 +0100)]
DebuggingHelper: Make paths in UI selectable by mouse

7 years agoRefacoring. Saner Api for QtQuickApp.
Alessandro Portale [Wed, 9 Feb 2011 20:39:46 +0000 (21:39 +0100)]
Refacoring. Saner Api for QtQuickApp.

Now using an explicit Mode (generated, imported) instead of empty
or set filename convention. Just like in Html5App.

7 years agoAvoid warning about unused variable
Thorbjørn Lindeijer [Wed, 9 Feb 2011 16:09:03 +0000 (17:09 +0100)]
Avoid warning about unused variable

7 years agoQmlJSDebugger: Finished the renaming
Thorbjørn Lindeijer [Wed, 9 Feb 2011 16:34:03 +0000 (17:34 +0100)]
QmlJSDebugger: Finished the renaming

Some things forgotten as part of commit f9e65028fd2227b7d1560ed793 since
these files are not compiled together with Qt Creator.

Fixes compile of QML Observer and QMLJSDEBUGGER-enabled QtQuick
Applications.

7 years agoQmlJSDebugger: Prefix live editor related classes
Thorbjørn Lindeijer [Wed, 9 Feb 2011 15:59:43 +0000 (16:59 +0100)]
QmlJSDebugger: Prefix live editor related classes

AbstractFormEditorTool -> AbstractLiveEditTool
LayerItem -> LiveLayerItem
SelectionIndicator -> LiveSelectionIndicator
SelectionRectangle -> LiveSelectionRectangle
SelectionTool -> LiveSelectionTool
SingleSelectionManipulator -> LiveSingleSelectionManipulator
RubberBandSelectionManipulator -> LiveRubberBandSelectionManipulator

7 years agoTooltips: Prevent cluttering when showing with effects
Leandro Melo [Wed, 9 Feb 2011 15:58:54 +0000 (16:58 +0100)]
Tooltips: Prevent cluttering when showing with effects

Task-number: QTCREATORBUG-2968
Reviewed-by: Alessandro Portale
7 years agoChange the path lookup from Linux style to Maemo style.
Alessandro Portale [Wed, 9 Feb 2011 15:37:25 +0000 (16:37 +0100)]
Change the path lookup from Linux style to Maemo style.

Reviewed-By: Christian Kandeler
7 years agoQmlDesigner.NodeInstances: Restart qmlpuppet for a new import
Marco Bubke [Wed, 9 Feb 2011 15:30:40 +0000 (16:30 +0100)]
QmlDesigner.NodeInstances: Restart qmlpuppet for a new import

7 years agoQmlDesigner.NodeInstances: Use a dummy context instead of the root context
Marco Bubke [Wed, 9 Feb 2011 15:30:00 +0000 (16:30 +0100)]
QmlDesigner.NodeInstances: Use a dummy context instead of the root context

All type information should be now available.

7 years agoQmlDesigner.NodeInstances: Check if the path is already watched
Marco Bubke [Wed, 9 Feb 2011 15:28:15 +0000 (16:28 +0100)]
QmlDesigner.NodeInstances: Check if the path is already watched

7 years agoImplemented "import" and "Url" options for html5 app wizard
Alessandro Portale [Wed, 9 Feb 2011 15:23:35 +0000 (16:23 +0100)]
Implemented "import" and "Url" options for html5 app wizard

7 years agoName exported test projects properly.
Alessandro Portale [Tue, 8 Feb 2011 19:54:51 +0000 (20:54 +0100)]
Name exported test projects properly.

7 years agoRename test html to sometheing elste than "index.html"
Alessandro Portale [Tue, 8 Feb 2011 19:32:33 +0000 (20:32 +0100)]
Rename test html to sometheing elste than "index.html"

7 years agoFix the "quit" handler
Alessandro Portale [Tue, 8 Feb 2011 17:09:35 +0000 (18:09 +0100)]
Fix the "quit" handler

7 years agoMaemo: Remove outdated comments.
Christian Kandeler [Wed, 9 Feb 2011 15:14:26 +0000 (16:14 +0100)]
Maemo: Remove outdated comments.

7 years agoMaemo: Fix object pool remove order.
Christian Kandeler [Wed, 9 Feb 2011 15:14:39 +0000 (16:14 +0100)]
Maemo: Fix object pool remove order.

7 years agoactionmanager: rename Command::CA_NonConfigureable to CA_NonConfigurable
hjk [Wed, 9 Feb 2011 14:23:48 +0000 (15:23 +0100)]
actionmanager: rename Command::CA_NonConfigureable to CA_NonConfigurable

7 years agodebugger: hide one of two ADD_TO_WATCH actions from the shortcut dialog
hjk [Wed, 9 Feb 2011 13:50:11 +0000 (14:50 +0100)]
debugger: hide one of two ADD_TO_WATCH actions from the shortcut dialog

7 years agoMaemo: Parse actual Qemu port specification for deployment as well.
Christian Kandeler [Wed, 9 Feb 2011 15:08:57 +0000 (16:08 +0100)]
Maemo: Parse actual Qemu port specification for deployment as well.

7 years agoMaemo: Get rid of some redundancies.
Christian Kandeler [Wed, 9 Feb 2011 15:08:26 +0000 (16:08 +0100)]
Maemo: Get rid of some redundancies.

7 years agoMaemo: Make ports line edit read-only for emulator.
Christian Kandeler [Wed, 9 Feb 2011 14:56:53 +0000 (15:56 +0100)]
Maemo: Make ports line edit read-only for emulator.

Changing this field will not have an effect anyway.

7 years agoMaemo: Get rid of unneeded code.
Christian Kandeler [Wed, 9 Feb 2011 14:10:51 +0000 (15:10 +0100)]
Maemo: Get rid of unneeded code.

All this environment setting was just an approximation of what the
"mad" script does better.