qt-creator:wvrneers-android-qt-creator.git
7 years agoRevert "Fixes: make compile after qml renaming dated 22/04/2010" v2.0.0-beta
con [Wed, 5 May 2010 09:19:01 +0000 (11:19 +0200)]
Revert "Fixes:    make compile after qml renaming dated 22/04/2010"

This reverts commit 84d6ea75bc4afe335ece05f1cb31a222294b3718.

This branch is supposed to compile against Qt 4.7-beta1 .

7 years agoFixes: make compile after qml renaming dated 22/04/2010
Bill King [Wed, 5 May 2010 04:42:12 +0000 (14:42 +1000)]
Fixes:    make compile after qml renaming dated 22/04/2010

7 years agoCopy changes file.
con [Mon, 26 Apr 2010 16:39:14 +0000 (18:39 +0200)]
Copy changes file.

7 years agoAvoid potential regular locking up of Qt Creator whenever working on a
con [Mon, 26 Apr 2010 16:26:19 +0000 (18:26 +0200)]
Avoid potential regular locking up of Qt Creator whenever working on a
project that is not in git.

Backport of the non-intrusive parts of 5923733889075800a0979c73476bf3bbae204e89

7 years agodebugger: prevent crash if breakpoint has been removed before the 'info line'
hjk [Wed, 21 Apr 2010 08:14:09 +0000 (10:14 +0200)]
debugger: prevent crash if breakpoint has been removed before the 'info line'
response was received
(cherry picked from commit 1af67204b7f2f91d54a4a9bf21d05339959491b6)

7 years agoFix crash for reseting a property
Marco Bubke [Tue, 20 Apr 2010 12:30:28 +0000 (14:30 +0200)]
Fix crash for reseting a property

Task-Number: BAUHAUS-606
(cherry picked from commit 212afcfa921c0ef3fac938de221a60277de56d3c)

7 years agoJust use the path as the url can have an anchor attached etc...
kh1 [Tue, 20 Apr 2010 14:15:21 +0000 (16:15 +0200)]
Just use the path as the url can have an anchor attached etc...

Fixes the broken topic chooser and keyword resolving.

Reviewed-by: ck
(cherry picked from commit e6900ff03d58a2ec2200ee87ee6b3f5a1d72b8e6)

7 years agoQuick fix to make the documentation work, needs a proper solution though.
kh1 [Mon, 19 Apr 2010 17:08:02 +0000 (19:08 +0200)]
Quick fix to make the documentation work, needs a proper solution though.

Reviewed-by: kh
(cherry picked from commit 342e62125312b471a82f03b955c977ef4feb5371)

7 years agodon't use fromRawData() for the file name parts.
Oswald Buddenhagen [Mon, 19 Apr 2010 16:18:03 +0000 (18:18 +0200)]
don't use fromRawData() for the file name parts.

the sub-strings "escaped" from the evaluator through the accessor, so
things did go boom, after all.

Reviewed-by: thorbjorn
(cherry picked from commit 2113669fba0956c78f3cbd63ca7c201daefaa8d9)

7 years agoQmlDesigner: Fix crash on exit
Kai Koehne [Fri, 16 Apr 2010 15:02:58 +0000 (17:02 +0200)]
QmlDesigner: Fix crash on exit

QtCreator crashed on exit when the library/navigator/sidebar wasn't
visible in the Design mode. This is caused by a double deletion: The
widgets have the DesignModeWidget as the default parent + the side bar
items try to delete them on exit.

Fixed by removing default parent.

Task-number: QTCREATORBUG-1197
Reviewed-by: Christiaan Janssen
(cherry picked from commit db2fcdb4169dbd0b67f21912beb7878c5bd072a3)

7 years agoNever nag again about Qt Quick Visual Designer after pressing X, or enabling it once.
con [Fri, 16 Apr 2010 13:17:31 +0000 (15:17 +0200)]
Never nag again about Qt Quick Visual Designer after pressing X, or enabling it once.

Reviewed-by: kkoehne
(cherry picked from commit 854309267d153ed52e6866e8e4a6e91676c8a8ce)

7 years agoList are now handled before writable properties for reseting properties
Marco Bubke [Thu, 15 Apr 2010 10:33:25 +0000 (12:33 +0200)]
List are now handled before writable properties for reseting properties

This is fixing a crash because the code was asuming that list could be
only readonly properties.

Task-Number: BAUHAUS-589
Task-Number: BAUHAUS-568
Reviewed-by: kkoehne
(cherry picked from commit 6d3d54a84f17556d62ae8448af3d6e91283ca677)

7 years agoDon't interact with list there the interface is not fully implemented
Marco Bubke [Tue, 13 Apr 2010 17:39:23 +0000 (19:39 +0200)]
Don't interact with list there the interface is not fully implemented

I changed this because we get "false" crash reports.

Reviewed-by: kkoehne
(cherry picked from commit 2eb96a8ed3f2b10c1ab5479b5ae514f15f4fe70c)

7 years agoQmlDesigner: crash fix for copy and paste
Thomas Hartmann [Fri, 16 Apr 2010 11:44:45 +0000 (13:44 +0200)]
QmlDesigner: crash fix for copy and paste

imports (in the model) are broken (regression)
Since I rely on working imports in copy and paste broke.

I hardcode 4.7 in this patch!

Reviewed-by: Kai Koehne
(cherry picked from commit de610cac45f227d7c15015000d6e32d5dc614e09)

7 years agoQmlJSEditor: Prevent an infinite parsing loop with invalid qml/js files.
Christian Kamm [Fri, 16 Apr 2010 09:25:56 +0000 (11:25 +0200)]
QmlJSEditor: Prevent an infinite parsing loop with invalid qml/js files.

Reviewed-by: Erik Verbruggen
(cherry picked from commit 922092937565dfa02f4055fdf84358f9cceace61)

7 years agodebugger: fix for "Can not step into functions on Symbian" QTCREATORBUG-1185
hjk [Fri, 16 Apr 2010 09:47:09 +0000 (11:47 +0200)]
debugger: fix for "Can not step into functions on Symbian" QTCREATORBUG-1185
(cherry picked from commit cfe771cc373fc192e305d2f00cc81ef24ac4df10)

7 years agoHandle qmake with or without trailing .exe
Tobias Hunger [Wed, 14 Apr 2010 15:45:23 +0000 (17:45 +0200)]
Handle qmake with or without trailing .exe

Handle qmake with or without trailing .exe on windows. Looks like the
extension got lost recently in the generated Makefiles.

Reviewed-by: dt
(cherry picked from commit 5a97f79e0bafc56d9403d5dfbdf5eda204efe4ce)

7 years agoFixes crash on adding configurations
dt [Thu, 15 Apr 2010 12:12:37 +0000 (14:12 +0200)]
Fixes crash on adding configurations

Reviewed-By: hunger
(cherry picked from commit ee230f2d5430010eeb802f8a9b7748639514f051)

7 years agoFix crash on removing cloned buildconfigurations
dt [Thu, 15 Apr 2010 11:54:32 +0000 (13:54 +0200)]
Fix crash on removing cloned buildconfigurations

Reviewed-By: hunger
(cherry picked from commit 5c6007226fc8a8e00899d5832c7f3f2efe55566d)

7 years agoQmlJS: Remove defaultProperty tags from qml-builtin-types.xml
Christian Kamm [Thu, 15 Apr 2010 08:57:47 +0000 (10:57 +0200)]
QmlJS: Remove defaultProperty tags from qml-builtin-types.xml

The 2.0.0-beta branch doesn't understand them. This removes a bunch
of warnings at startup.

Reviewed-by: Erik Verbruggen
7 years agoFix crash for a dangling pointer
Marco Bubke [Tue, 13 Apr 2010 14:16:35 +0000 (16:16 +0200)]
Fix crash for a dangling pointer

Task-Number: BAUHAUS-574
Reviewed-by: kkoehne
(cherry picked from commit 629a4d66c17c38a3f458d4aa90a9804aca5a4645)

7 years agoFix crash for double deleted items
Marco Bubke [Tue, 13 Apr 2010 14:15:13 +0000 (16:15 +0200)]
Fix crash for double deleted items

Reviewed-by: kkoehne
(cherry picked from commit 05f43cd6ba5448e9ce9e8a02943305ec2c86f80a)

7 years agoReturn zero for a null object in the graphics node instance
Marco Bubke [Tue, 13 Apr 2010 13:33:03 +0000 (15:33 +0200)]
Return zero for a null object in the graphics node instance

Reviewed-by: kkoehne
(cherry picked from commit c09b515446bc254ca0ef376f0eeb8f036f7ff866)

7 years agoTest if a item exist for this node in the formeditor.
Marco Bubke [Mon, 12 Apr 2010 13:27:29 +0000 (15:27 +0200)]
Test if a item exist for this node in the formeditor.

Task-Number: BAUHAUS-566
Reviewed-by: kkoehne
(cherry picked from commit 8e6095e3eaa5ee726916a54a27ff601b575537ab)

7 years agoRevert "QmlDesigner: Remove 'variant' as qml type"
Kai Koehne [Tue, 13 Apr 2010 09:21:49 +0000 (11:21 +0200)]
Revert "QmlDesigner: Remove 'variant' as qml type"

Actually it's 'variant' now, not 'var' any more

Reviewed-by: Thomas Hartmann
(cherry picked from commit 300f90f16105691c07f7e78c9b776285fa2ab9e6)

7 years agoQmlDesigner: Fix PropertyEditor with latest qt.git
Kai Koehne [Tue, 13 Apr 2010 10:15:09 +0000 (12:15 +0200)]
QmlDesigner: Fix PropertyEditor with latest qt.git

It seems the runtime got new checks, since loading the Property Editor
failed with
 'Invalid property assignment: "font" is a read-only property"'

Reviewed-by: Thomas Hartmann
(cherry picked from commit 559ac20680900ed64c9306f22540f4f4f59cb985)

7 years agoQmlJS: Update type descriptions for recent Qml updates in Qt.
con [Wed, 14 Apr 2010 14:50:10 +0000 (16:50 +0200)]
QmlJS: Update type descriptions for recent Qml updates in Qt.
(cherry picked from commit 850c7251ab6a94b8ceecb5b2331214c7be20c777)

Conflicts:

share/qtcreator/qml-type-descriptions/qml-builtin-types.xml

7 years agoGCC parser improvements
Tobias Hunger [Fri, 9 Apr 2010 14:49:04 +0000 (16:49 +0200)]
GCC parser improvements
(cherry picked from commit 37d192099d707589f8dbeda69430c3a72eaef274)

7 years agoQmlDesigner: fixes crash
Thomas Hartmann [Wed, 14 Apr 2010 12:17:15 +0000 (14:17 +0200)]
QmlDesigner: fixes crash
See Bauhaus-584
There were some locks missing during setup

Reviewed-by: Kai Koehne
(cherry picked from commit f6121924642c872557432c9aea5b996953d6603b)

7 years agoadd a README for the gdb patch collection
hjk [Wed, 14 Apr 2010 10:10:03 +0000 (12:10 +0200)]
add a README for the gdb patch collection
(cherry picked from commit 2aa08edcd09e09448bbd6ced3c5e4bb8d8940de8)

7 years agodebugger: add a patch to solve the 'Cannot step on Maemo' problem.
hjk [Wed, 14 Apr 2010 08:58:11 +0000 (10:58 +0200)]
debugger: add a patch to solve the 'Cannot step on Maemo' problem.

This patch needs to be applied to any gdb newer then Sep 17, 2007
before using it for Maemo.
(cherry picked from commit 465aa55cea05172e9e8da8facf3f7107c722c0a2)

7 years agoReplace 'var' by 'variant' in all Qml files
Kai Koehne [Wed, 14 Apr 2010 14:41:03 +0000 (16:41 +0200)]
Replace 'var' by 'variant' in all Qml files

This is commit 5650dbc55df (master) redone.
We cannot cherry-pick the original commit due
to lot's of conflicts ...

Reviewed-by: Thomas Hartmann
Reviewed-by: con
7 years agoFix compilation (release build)
Kai Koehne [Fri, 9 Apr 2010 09:06:51 +0000 (11:06 +0200)]
Fix compilation (release build)
(cherry picked from commit 2b2af66d5d18461b63dfd9c41a791ba182792695)

7 years agoqtcdebugger: Made error message more helpful.
Robert Loehning [Tue, 13 Apr 2010 14:43:08 +0000 (16:43 +0200)]
qtcdebugger: Made error message more helpful.

Reviewed-by: Friedemann Kleint <friedemann.kleint@nokia.com>
(cherry picked from commit 3351f942f6630699660dc8b4a58fc60615fea125)

7 years agoFix ui completion for new projects
dt [Tue, 13 Apr 2010 14:34:51 +0000 (16:34 +0200)]
Fix ui completion for new projects

The UI_DIR and MOC_DIR weren't added to the includepath for new
projects, since at the time of parsing the directories don't exist yet.

We now always add UI_DIR and MOC_DIR to the include path, without caring
whether they exist.

Task-Nr:  QTCREATORBUG-1064
Reviewed-By: ossi
(cherry picked from commit c58469ce8799fa87141660a1669b7c5639c9ad78)

7 years agoMention project name in targetsetuppage
Tobias Hunger [Tue, 13 Apr 2010 10:52:20 +0000 (12:52 +0200)]
Mention project name in targetsetuppage

Reviewed-by: dt
(cherry picked from commit 994ee7b6f4a0492c6c84fb9bc31f80521baea21c)

7 years agoRework targetsetuppage interface slightly
Tobias Hunger [Tue, 13 Apr 2010 10:44:26 +0000 (12:44 +0200)]
Rework targetsetuppage interface slightly

 * Remove PathChooser widget so that you need to use a proper dialog
   to select pathes. So typing into that PathChooser is no longer slow;-)

   The PathChooser does not provide a proper signal on when a user is done
   entering a directory, so it was not a good choice.

Tasknumber: QTCREATORBUG-1128
Reviewed-by: dt
(cherry picked from commit 0e79aeed710311e28c45456f4f8ea5e66eec21b1)

7 years agoOnly offer to import directories building the sources
Tobias Hunger [Tue, 13 Apr 2010 10:37:55 +0000 (12:37 +0200)]
Only offer to import directories building the sources

Reviewed-by: dt
(cherry picked from commit 6186e13057ef76411e4c09ef6045d28caa24e3c4)

7 years agoUse clean copy to iterate, not the user provided one
Tobias Hunger [Mon, 12 Apr 2010 17:21:07 +0000 (19:21 +0200)]
Use clean copy to iterate, not the user provided one

Reviewed-by: dt
(cherry picked from commit 86ca9f848406e1d5aba721273f409912b795ec99)

7 years agoAdd a method to find pro-files used to create a Makefile
Tobias Hunger [Mon, 12 Apr 2010 17:16:49 +0000 (19:16 +0200)]
Add a method to find pro-files used to create a Makefile

Reviewed-by: dt
(cherry picked from commit 772c838aa339cc1192fd76463f68861613cd8e9c)

7 years agoMake duplicate Qt import-version detection work better
Tobias Hunger [Tue, 13 Apr 2010 10:09:30 +0000 (12:09 +0200)]
Make duplicate Qt import-version detection work better

If the same Qt version was imported twice then this was not
detected properly.

Reviewed-by: dt
(cherry picked from commit 75da336d79c6629c1a23db58035acada468044c2)

7 years agoFix possible crash in targetsetuppage
Tobias Hunger [Tue, 13 Apr 2010 10:07:13 +0000 (12:07 +0200)]
Fix possible crash in targetsetuppage

* Fix a possible memleak while at it.

TaskNumber: QTCREATORBUG-1125
Reviewed-by: dt
(cherry picked from commit e6f43cbbe515f972dc1912f7594f7a988ee78deb)

7 years agorestored commented-out code
Lasse Holmstedt [Tue, 13 Apr 2010 13:45:17 +0000 (15:45 +0200)]
restored commented-out code
(cherry picked from commit 656899842cf6d662116ccfb3890e5672ff9869fe)

7 years agoFixed auto-switching issues with QML inspector and c++ debugger
Lasse Holmstedt [Tue, 13 Apr 2010 13:15:02 +0000 (15:15 +0200)]
Fixed auto-switching issues with QML inspector and c++ debugger

Reviewed-by: hjk
(cherry picked from commit af3f10dfdd91b070512bdc8abda954bbb29396dc)

7 years agoWork around to deep build directory.
dt [Tue, 13 Apr 2010 10:27:01 +0000 (12:27 +0200)]
Work around to deep build directory.

Reviewed-By: hunger
Task-Nr: QTCREATORBUG-1036
(cherry picked from commit 0bd06f106467bb3ca551e319fe0db106902d5502)

7 years agoQmlDesigner.propertyEditor: fixes rare crashbug
Thomas Hartmann [Tue, 13 Apr 2010 10:12:19 +0000 (12:12 +0200)]
QmlDesigner.propertyEditor: fixes rare crashbug
(cherry picked from commit 375dd56ef007d6d4d1c97532940229e8faf99f12)

7 years agoHandle "/usr/bin/ld: cannot find -lsomelib" in gccparser
Tobias Hunger [Wed, 7 Apr 2010 15:24:26 +0000 (17:24 +0200)]
Handle "/usr/bin/ld: cannot find -lsomelib" in gccparser

 * Document the hariest regexp
 * Simplify the parser a bit
 * Catch "/usr/bin/ld: cannot find -lsomelib" (and others)
   as errors.
(cherry picked from commit 8b969a67a0a300641779ba31f7c630dc5ab2ba2c)

7 years agoFix some false positives in the build issues
Tobias Hunger [Wed, 31 Mar 2010 13:41:16 +0000 (15:41 +0200)]
Fix some false positives in the build issues

 * "In blah method " messages are informative, not errors.
 * Be more picky about file names: Stops errors from ranlib, rm,
   etc. being reported as build issues.
(cherry picked from commit 879f71c2a35ab3f7f6286e88396455adca7ba847)

7 years agoMake gnumake parser less noisy
Tobias Hunger [Fri, 19 Mar 2010 15:28:25 +0000 (16:28 +0100)]
Make gnumake parser less noisy

 * Do not report make warnings at all.
 * Do only report the first make error.
 * Do not report any make errors after a compile error.
 * Handle more variants of mingw makes
 * Actually parse stderr for errors
(cherry picked from commit f7335948bb739aa0b65b3ef69be4dd678f0925b7)

7 years agoFix possible crash in TargetSetupPage
Tobias Hunger [Mon, 12 Apr 2010 14:29:22 +0000 (16:29 +0200)]
Fix possible crash in TargetSetupPage

Properly register Qt versions and do not delete them afterwards

Task-number: QTCREATORBUG-1122
Reviewed-by: dt
(cherry picked from commit 94cb5db5b9654dbcc8dd1968c919c4706ada0543)

7 years agodebugger: fix QString dumper
hjk [Mon, 12 Apr 2010 13:44:43 +0000 (15:44 +0200)]
debugger: fix QString dumper

Doh! In contrast to the C++ version we are operating on ushort* here.
(cherry picked from commit 76fed505ac5b966b3a74ba1324174948d5864eca)

7 years agodebugger: slightly better wording of action names when disabling multiple
hjk [Mon, 12 Apr 2010 13:24:18 +0000 (15:24 +0200)]
debugger: slightly better wording of action names when disabling multiple
breakpoints
(cherry picked from commit be0dfb8cfc1666e07728821d7cb45434399e2509)

7 years agodebugger: fix QTCREATORBUG-1127 (kill on disabling multiple breakpoints)
hjk [Mon, 12 Apr 2010 12:56:19 +0000 (14:56 +0200)]
debugger: fix QTCREATORBUG-1127 (kill on disabling multiple breakpoints)
(cherry picked from commit ea80841025ffbfd16139d7f2aa1c7341fcfcdbe3)

7 years agodebugger: prevent endless loop on strange disassembler results
hjk [Mon, 12 Apr 2010 10:01:40 +0000 (12:01 +0200)]
debugger: prevent endless loop on strange disassembler results
(cherry picked from commit ddecf8b05e8afb13ab53862a3a0b224175c1f363)

7 years agoDebugger[gdb/MingW]: Add import statements for Python 2.5
Friedemann Kleint [Fri, 9 Apr 2010 08:52:01 +0000 (10:52 +0200)]
Debugger[gdb/MingW]: Add import statements for Python 2.5
(cherry picked from commit 614d09da883301508d49d36e3c9d3bfa1f551c25)

7 years agodebugger: some gui & code cosmetics
con [Tue, 13 Apr 2010 15:16:59 +0000 (17:16 +0200)]
debugger: some gui & code cosmetics
(cherry picked from commit f773f4295d3f68916ae72955d68051cd8bbdee29)

Conflicts:

src/plugins/qt4projectmanager/qt-maemo/maemogdbsettingspage.cpp

7 years agoFixed ruler alignment on MacOS for fonts with fractional metrics.
Erik Verbruggen [Mon, 12 Apr 2010 13:37:08 +0000 (15:37 +0200)]
Fixed ruler alignment on MacOS for fonts with fractional metrics.

Task-number: QTCREATORBUG-1065
Reviewed-by: mae
(cherry picked from commit fbb8f39945dd3991353a33ff783aae5ae2e9f8e8)

7 years agoSwitch away from modes that become deactivated
Tobias Hunger [Mon, 12 Apr 2010 10:43:17 +0000 (12:43 +0200)]
Switch away from modes that become deactivated

Make sure any mode that gets disabled is no longer displayed.

Task-number: QTCREATORBUG-1107
Reviewed-by: con
(cherry picked from commit ad9b6e4ea63cbaf59fcdf08de249a091ce0e4cc5)

7 years agoHandle fully qualified types in the root namespace for template typenames.
Erik Verbruggen [Mon, 12 Apr 2010 11:03:47 +0000 (13:03 +0200)]
Handle fully qualified types in the root namespace for template typenames.

For example:
    template <typename ::foo::bar>...

Done by: Roberto Raggi
Reviewed-by: erikv
(cherry picked from commit fcedcc510a2126c0409047fe292d5d74b257aa9e)

7 years agoFixed parsing of anonymous template parameters.
Roberto Raggi [Mon, 12 Apr 2010 07:26:47 +0000 (09:26 +0200)]
Fixed parsing of anonymous template parameters.

For example,
  template <template <typename> class X> struct foo {};

Reviewed-by: erikv
(cherry picked from commit 4d457401672c4ac7e9c752be357339729441a79d)

7 years agoOnly add qtcreator's qm files to iterate through.
Daniel Molkentin [Mon, 12 Apr 2010 09:29:38 +0000 (11:29 +0200)]
Only add qtcreator's qm files to iterate through.

The app bundles on mac as well as the Creator versions created
by the windows and linux installers also copy all required qms
for qt, etc, which we must not pick up in the iteration.

Task-number: QTCREATORBUG-1080
Reviewed-by: Erik Verbruggen
(cherry picked from commit dc2fbe65bc40c8b3887ab715141734e4db16b061)

7 years agoFixed missing text/design mode sync warnings
Lasse Holmstedt [Mon, 12 Apr 2010 09:37:03 +0000 (11:37 +0200)]
Fixed missing text/design mode sync warnings

Task-number: BAUHAUS-565
Reviewed-by:erikv
(cherry picked from commit b05773923f6373ceaaca722129e1454f7e59bc39)

7 years agoFix crash for lasting Ids
Marco Bubke [Tue, 6 Apr 2010 14:39:18 +0000 (16:39 +0200)]
Fix crash for lasting Ids

Now we remove the Id on removing the object.

Task-Number: BAUHAUS-552
(cherry picked from commit dcafe3c898ab6b14f309f3d33089384d5c294037)

7 years agoReturn sessible value for a invalid node meta info object
Marco Bubke [Thu, 8 Apr 2010 13:50:14 +0000 (15:50 +0200)]
Return sessible value for a invalid node meta info object

Prevent model nodes with a invalid meta info object from crashing
bauhaus.
(cherry picked from commit e113814a0250ca7c18976d74c11cad482169189c)

7 years agoLet the designer start nodes which have invalid meta info
con [Tue, 13 Apr 2010 15:12:45 +0000 (17:12 +0200)]
Let the designer start nodes which have invalid meta info

This is only a workaround!
(cherry picked from commit 299f2be2f4922101300de5f35c9913fad7546c92)

Conflicts:

src/plugins/qmldesigner/components/navigator/navigatortreeview.cpp

7 years agoCheck if the meta object is created
Marco Bubke [Wed, 7 Apr 2010 16:53:48 +0000 (18:53 +0200)]
Check if the meta object is created
(cherry picked from commit bbaf3b18e7456b3b3007f92ef7469802ac372d04)

7 years agoCache dynamic properties.
Kai Koehne [Thu, 8 Apr 2010 11:56:15 +0000 (13:56 +0200)]
Cache dynamic properties.

(Patch done by marco)
(cherry picked from commit 3bdabea8096b5ea20b7097fc4c480caeb5b7bb9e)

7 years agoAbort reparenting if list interface is not fully supported
Marco Bubke [Wed, 7 Apr 2010 14:59:25 +0000 (16:59 +0200)]
Abort reparenting if list interface is not fully supported
(cherry picked from commit 66efbc9a652df96e9e6f3d1fc55ccc643d3216a5)

7 years agoCheck if the property is valid
Marco Bubke [Wed, 7 Apr 2010 12:37:14 +0000 (14:37 +0200)]
Check if the property is valid

If the property is not valid(not exists) simply return.
(cherry picked from commit a4895dc77c556e9ab7af663057025857ae0d885b)

7 years agoUpdated Russian translation
Sergey Belyashov [Mon, 12 Apr 2010 10:46:09 +0000 (12:46 +0200)]
Updated Russian translation

Merge-request: 134
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
7 years agoQmlDesigner: Add test case of WebView usage
Kai Koehne [Mon, 12 Apr 2010 10:24:07 +0000 (12:24 +0200)]
QmlDesigner: Add test case of WebView usage

7 years agodebugger: fix cli disassembler command for an address range
hjk [Fri, 9 Apr 2010 08:31:15 +0000 (10:31 +0200)]
debugger: fix cli disassembler command for an address range
(cherry picked from commit 362628b9aef3a7f5aaa52530d5ce7d2d6c2c21d8)

7 years agoDon't forget to setupWidget on FakeVim initialization.
Vladimir Kuznetsov [Wed, 7 Apr 2010 16:08:09 +0000 (18:08 +0200)]
Don't forget to setupWidget on FakeVim initialization.

Merge-request: 132
Reviewed-by: hjk <qtc-committer@nokia.com>
(cherry picked from commit 14ad890903f997d5730bddab33064bbf2c7105d4)

7 years agoCorrectly move cursor after Backspace when following identation.
Vladimir Kuznetsov [Wed, 7 Apr 2010 16:08:09 +0000 (18:08 +0200)]
Correctly move cursor after Backspace when following identation.

Merge-request: 132
Reviewed-by: hjk <qtc-committer@nokia.com>
(cherry picked from commit 78205847c629ef7ba8e654a76fd6358da6cf39df)

7 years agoHandle Home and End keys in insert mode.
Vladimir Kuznetsov [Wed, 7 Apr 2010 16:08:08 +0000 (18:08 +0200)]
Handle Home and End keys in insert mode.

Merge-request: 132
Reviewed-by: hjk <qtc-committer@nokia.com>
(cherry picked from commit 0a6bb82ebb3f6514f56217f5d8edd3d86206673f)

7 years agocode cosmetics for generated code
hjk [Fri, 9 Apr 2010 06:32:24 +0000 (08:32 +0200)]
code cosmetics for generated code
(cherry picked from commit 4c802ee1eba36bb40b08827355780aa35be3de6f)

7 years agoReverse the order of FakeVim setting pages
Thorbjørn Lindeijer [Thu, 8 Apr 2010 14:19:29 +0000 (16:19 +0200)]
Reverse the order of FakeVim setting pages

Reviewed-by: hjk
(cherry picked from commit a1000e1eec0e6e93177d5bdc3abd66229ea32b03)

7 years agodebugger: compile fix for manual test on windows
hjk [Wed, 7 Apr 2010 13:23:37 +0000 (15:23 +0200)]
debugger: compile fix for manual test on windows

min and max are #defined
(cherry picked from commit 88a1db1787730042ea8645180af8c3c2a95290bd)

7 years agodebugger: add comment to not test QStandardItemModel with python dumpers
hjk [Wed, 7 Apr 2010 12:45:01 +0000 (14:45 +0200)]
debugger: add comment to not test QStandardItemModel with python dumpers
(cherry picked from commit 27b1df583ab0f9bbfb7a81c40bee1dc225ba5da8)

7 years agodebugger: add some comments on overall architecture
hjk [Wed, 7 Apr 2010 08:55:33 +0000 (10:55 +0200)]
debugger: add some comments on overall architecture
(cherry picked from commit eb09f92cf8331be449bd61299261894e205bbb74)

7 years agofakevim: disable some debug output
hjk [Tue, 6 Apr 2010 13:07:22 +0000 (15:07 +0200)]
fakevim: disable some debug output
(cherry picked from commit a9a880d984c1b2fa5eb14b4c840cf9782e501b78)

7 years agodebugger: fix some encoding issues, modify manual tests
hjk [Thu, 8 Apr 2010 12:38:42 +0000 (14:38 +0200)]
debugger: fix some encoding issues, modify manual tests
(cherry picked from commit 0ac838884792b17371a14655fcf56e2b9b5a27be)

7 years agodebugger: rework error handling in python dumpers
hjk [Thu, 8 Apr 2010 12:08:19 +0000 (14:08 +0200)]
debugger: rework error handling in python dumpers
(cherry picked from commit b70c0978d1ab80a8298af18ffe07f024d2eb1d37)

7 years agoFixed warning messages on close if user does not have QtCreator.ini
Lasse Holmstedt [Thu, 8 Apr 2010 09:37:03 +0000 (11:37 +0200)]
Fixed warning messages on close if user does not have QtCreator.ini

Task-number: QTCREATOR-202
Reviewed-by: hjk
(cherry picked from commit 23f141efb0f51111b250540f889c7c36ef946c6c)

7 years agodebugger: show contents of pointer instead of its address in the python dumpers
hjk [Wed, 7 Apr 2010 14:21:41 +0000 (16:21 +0200)]
debugger: show contents of pointer instead of its address in the python dumpers
(cherry picked from commit 66a7cc28302410ba6b7c3eacfff8b55aa117afdd)

7 years agodebugger: fix 5d599456
hjk [Wed, 7 Apr 2010 13:18:11 +0000 (15:18 +0200)]
debugger: fix 5d599456

thread-group-started was already handled
(cherry picked from commit 8e0483a4baccc3fcdac7c8192852bbd617d3ce1a)

7 years agodebugger: fix disassembler output handling on Mac
hjk [Wed, 7 Apr 2010 12:37:42 +0000 (14:37 +0200)]
debugger: fix disassembler output handling on Mac

Apple's gdb produces MI-style output even for CLI commands when in MI mode.
(cherry picked from commit 197dc331013a323fa1408fd70987d0417aabf6a3)

7 years agodebugger: no need to kill the process if someone tries 'step out' on the outermost...
hjk [Wed, 7 Apr 2010 11:05:48 +0000 (13:05 +0200)]
debugger: no need to kill the process if someone tries 'step out' on the outermost level
(cherry picked from commit 2b8c7d6826998aa51dfd2521d40db53a250f9879)

7 years agodebugger: don't force use of compiled debugging helpers in the terminal adapter
hjk [Wed, 7 Apr 2010 08:46:13 +0000 (10:46 +0200)]
debugger: don't force use of compiled debugging helpers in the terminal adapter
(cherry picked from commit 7767436b071b90f8141d66908390fc47a3cc0f73)

7 years agodebugger: add a manual test for an endless loop and check for
hjk [Wed, 7 Apr 2010 07:19:36 +0000 (09:19 +0200)]
debugger: add a manual test for an endless loop and check for
-thread-group-started in addition to -thread-group-created
(cherry picked from commit 5d599456464ce0211e5ec4355e243911b441222c)

7 years agodebugger: prevent the QML editor from setting breakpoints
hjk [Tue, 6 Apr 2010 15:58:11 +0000 (17:58 +0200)]
debugger: prevent the QML editor from setting breakpoints
(cherry picked from commit 6249aabc75ef444406ac8553d156c0b911c8c2e1)

7 years agodebugger: fix std::string dumper
hjk [Tue, 6 Apr 2010 11:43:59 +0000 (13:43 +0200)]
debugger: fix std::string dumper
(cherry picked from commit bac6ff3b2bc99aa1bf7e4b88c18df692a554a37e)

7 years agodebugger: fix crash for 'Create Full Backtrace' on engines that don't support
hjk [Tue, 6 Apr 2010 08:49:53 +0000 (10:49 +0200)]
debugger: fix crash for 'Create Full Backtrace' on engines that don't support
it.
(cherry picked from commit bed8a060add10acae4be1efd77976c9306569c1f)

7 years agoDebugger[cdb/gdb]: Fix formatting of integers/messages.
Friedemann Kleint [Fri, 9 Apr 2010 14:39:36 +0000 (16:39 +0200)]
Debugger[cdb/gdb]: Fix formatting of integers/messages.

- Do not reformat boolean values (true,false) as hex/oct.
- char/unsigned char types (cdb/gdb): Chop off the quoted
  printable character output by the debugger, pass around integer
  only and append the character ourselves in the watchhandler,
  making reformatting as hex/octal work.
- cdb: Check format correctly (fix values output as plain integer).
- cdb: Kill needless warning produced by reformatting output of out-of-scope
  variables.
- cdb: Display exceptions in the status bar as non-intrusive crash notification.

Reviewed-by: hjk
(cherry picked from commit b2ddf72035ffa50295b78715b0401ca48eb0f64c)

7 years agoDebugger[gdb/MinGW]: Dokument attach to console as not working.
Friedemann Kleint [Fri, 9 Apr 2010 10:50:52 +0000 (12:50 +0200)]
Debugger[gdb/MinGW]: Dokument attach to console as not working.

Reviewed-by: hjk
Task-number: QTCREATORBUG-1020
(cherry picked from commit 2ff9c90541ace2a9de3db629e46019fe88f13713)

7 years agoDebugger[gdb/MinGW]: Ignore spurious 'running' warnings when attaching.
Friedemann Kleint [Fri, 9 Apr 2010 10:49:21 +0000 (12:49 +0200)]
Debugger[gdb/MinGW]: Ignore spurious 'running' warnings when attaching.
Reviewed-by: hjk
Task-number: QTCREATORBUG-1020
(cherry picked from commit 90a69474d97b5a51c90694a8ef04088c3abb1ce7)

7 years agoTry to avoid weird debug mode layout when moving from 1.3 to 2.0.
con [Fri, 9 Apr 2010 12:42:30 +0000 (14:42 +0200)]
Try to avoid weird debug mode layout when moving from 1.3 to 2.0.

We don't manage to really restore the layout right, so reset to default
layout.

Task-number: QTCREATORBUG-1105
(cherry picked from commit 36177b154341e197ac74c5af8fec98e20b2cdcb9)

7 years agoFix clearing of build issues
dt [Thu, 8 Apr 2010 09:22:48 +0000 (11:22 +0200)]
Fix clearing of build issues

Reviewed-By: hunger
(cherry picked from commit fff5c6aea50d197c663f11de4a937c5ff5429a4b)

7 years agoFixed detection of /epoc32/include/stdapis/string.h
Alessandro Portale [Thu, 8 Apr 2010 19:36:00 +0000 (21:36 +0200)]
Fixed detection of /epoc32/include/stdapis/string.h

It was searched in /include/stdapis/string.h

Added the /epoc32/ as agreed with Tobias.

Reviewed-by: Tobias Hunger
(cherry picked from commit 50b70d769b75517fd77a0168444c98af9d4c689a)

7 years agoCase insensitive drive comparision: Symbian SDK vs. project sources.
Alessandro Portale [Thu, 8 Apr 2010 19:36:11 +0000 (21:36 +0200)]
Case insensitive drive comparision: Symbian SDK vs. project sources.

If SDK and Project were on te same drive but for some reason the drive
in the pathes had different cases, we had false alarms.

Made the comparision case insensitive as agreed with Tobias.

Reviewed-by: Tobias Hunger
(cherry picked from commit be0abf3cffc9723b84d0574c1b1aff7a99dce389)