OSDN Git Service

qt-creator-jp/qt-creator-jp.git
12 years agoNew File Dialog: Choose right default project for adding
Daniel Teske [Mon, 2 Apr 2012 12:55:56 +0000 (14:55 +0200)]
New File Dialog: Choose right default project for adding

So far we used a heuristic that prefers .pro files in the same directory
as the new files. That fails if there are multiple .pro files in the
same directory. So instead introduce a mechanism to pass extra data
through the wizard.

Task-number: QTCREATORBUG-7157
Change-Id: I615f7292e16a0a6cb1e84f090016879f1038409f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoDumper test: Add member to Derived
Orgad Shaneh [Mon, 2 Apr 2012 15:57:36 +0000 (18:57 +0300)]
Dumper test: Add member to Derived

Change-Id: I324d31f9bfe98689136bb9e9ed40dfe46fa9ca81
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoSquish: Small fixes for utils.py
Christian Stenger [Mon, 2 Apr 2012 13:26:14 +0000 (15:26 +0200)]
Squish: Small fixes for utils.py

* invokeMenuItem(): changed order and additional
  waitFor to be more error-proof on Mac
* logApplicationOutput(): added try/except block
  for cases where no former run/debug could be found

Change-Id: I0d434fbb964e3d85e5ccb2a4c336e14e956f44ce
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
12 years agoAdded new test cases/suite for simple project compilation
Jan Kerekes [Thu, 16 Feb 2012 14:07:31 +0000 (15:07 +0100)]
Added new test cases/suite for simple project compilation

initial commit

Change-Id: I06d211ba9878852839cd4774b930efd8cde244ae
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
12 years agoSquish: Small fixes for runAndCloseApp()
Christian Stenger [Mon, 2 Apr 2012 11:33:10 +0000 (13:33 +0200)]
Squish: Small fixes for runAndCloseApp()

Change-Id: I74136202c2d5e482a18a56ea2c0ba11d9d958574
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
12 years agoDumper: Fix dynamic type dumper for generic struct
Orgad Shaneh [Sun, 1 Apr 2012 16:18:26 +0000 (19:18 +0300)]
Dumper: Fix dynamic type dumper for generic struct

Change-Id: Idb5ff44061afa8170afed3737f1be378165732f2
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoqbs files: share.qbs updated
Joerg Bornemann [Mon, 2 Apr 2012 09:32:25 +0000 (11:32 +0200)]
qbs files: share.qbs updated

Now the Welcome screen is visible again.

Change-Id: I41aeae823c6f81dfec93111f9b4a957f812cb496
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
12 years agoqbs files: build QmlDesigner plugin
Joerg Bornemann [Mon, 2 Apr 2012 08:55:39 +0000 (10:55 +0200)]
qbs files: build QmlDesigner plugin

Change-Id: I850b2be8431803aac9d41fcaf40c89e6a1dd5a2c
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
12 years agoDoc: Some QString->Id corrections
Orgad Shaneh [Sun, 1 Apr 2012 18:24:03 +0000 (21:24 +0300)]
Doc: Some QString->Id corrections

Change-Id: I43c707cb3d27ac706052f8e46f0f1ef8c86e644e
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoSquish: Introduce new helper function
Christian Stenger [Fri, 30 Mar 2012 11:05:29 +0000 (13:05 +0200)]
Squish: Introduce new helper function

Change-Id: I6ef3022e7053c1e4993cc4276ccd2502de196754
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
12 years agoqbs files: fix install location of qtcreator.sh
Joerg Bornemann [Fri, 30 Mar 2012 14:01:03 +0000 (16:01 +0200)]
qbs files: fix install location of qtcreator.sh

Change-Id: I6cb039c41d62f1b7b48613b22d4faa9d24d98278
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
12 years agoSquish: Waiting for enabled button
Robert Loehning [Fri, 30 Mar 2012 12:25:03 +0000 (14:25 +0200)]
Squish: Waiting for enabled button

Change-Id: If06bb6360c7837e773e2eb0b6be8143e588b771e
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
12 years agoPopup TaskWindow on clicking on the task mark
Daniel Teske [Thu, 29 Mar 2012 14:39:33 +0000 (16:39 +0200)]
Popup TaskWindow on clicking on the task mark

Reported by erik

Change-Id: Ie78915c61ed27c1b593adce6f321c80898e5649d
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
12 years agoFix projects mode en/disabled state
Daniel Teske [Thu, 29 Mar 2012 13:31:25 +0000 (15:31 +0200)]
Fix projects mode en/disabled state

The projects mode should be enabled whenever there are projects in the
session.

Task-number: QTCREATORBUG-7208
Task-number: QTCREATORBUG-7207
Change-Id: I924a82283a4e69ebd342a01df9004818e898809b
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
12 years agoMiniTargetSelector: Reset current item after display name changes
Daniel Teske [Thu, 29 Mar 2012 10:22:48 +0000 (12:22 +0200)]
MiniTargetSelector: Reset current item after display name changes

Taking a item out of the list and reinserting it changes the current
item, so we need to set it again.

Change-Id: Iefcf5adc7a22d9d8b799963a584d496067f233f3
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
12 years agoFix displayname of cloned buildstep lists
Daniel Teske [Wed, 28 Mar 2012 13:45:39 +0000 (15:45 +0200)]
Fix displayname of cloned buildstep lists

Task-number: QTCREATORBUG-7023

Change-Id: I1e45c5658f90b4643bfa1216a50e105df482f091
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
12 years agoQt4Project: Fix ordering of buildconfigurations for new/open
Daniel Teske [Wed, 28 Mar 2012 12:17:24 +0000 (14:17 +0200)]
Qt4Project: Fix ordering of buildconfigurations for new/open

Task-number: QTCREATORBUG-7152

Change-Id: I4c7c0d2f89cdde2ed8dc13adc4187adf91b10f29
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
12 years agoqbs files: Version bump.
Joerg Bornemann [Thu, 29 Mar 2012 12:27:56 +0000 (14:27 +0200)]
qbs files: Version bump.

Change-Id: I6675e8dc58a80e37b3c0cfffab0c9d70d83ea91a
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
12 years agoGeneric Project: Better filtering of supported files.
Francois Ferrand [Wed, 29 Feb 2012 10:19:18 +0000 (11:19 +0100)]
Generic Project: Better filtering of supported files.

In the edit files dialog and project wizard, initial filtering of files
was done by checking the file suffix in mime database. This does not
work for all files (e.g. makefiles), and is not needed: filtering is
done afterwards using a user-editable filter string.

Change-Id: I0664aa5b3c52b663d6d94020df4e1986dd7c69a5
Reviewed-by: Thorbjørn Lindeijer
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
12 years agoQbs: Fixes for Windows compilation
Orgad Shaneh [Wed, 21 Mar 2012 17:35:34 +0000 (19:35 +0200)]
Qbs: Fixes for Windows compilation

Change-Id: Ia392b8dc566e1d4ffadd67c09a30ace7f64b9f3f
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
12 years agodebugger: fix path to declarative sources
hjk [Wed, 28 Mar 2012 12:35:12 +0000 (14:35 +0200)]
debugger: fix path to declarative sources

Change-Id: I896a361ba01e675872eaedbfb73c6c2117ef14a4
Reviewed-by: hjk <qthjk@ovi.com>
(cherry picked from commit 327b991cf069044da3fd517e03076b9c43be02f8)

12 years agodebugger: fix capitalization in stack context menu
hjk [Thu, 29 Mar 2012 07:36:24 +0000 (09:36 +0200)]
debugger: fix capitalization in stack context menu

Change-Id: I7a5442428cba0b316ad5e420b37bf3e180c0c9f7
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoAvoid native filenames in QML references
Orgad Shaneh [Wed, 28 Mar 2012 21:18:20 +0000 (23:18 +0200)]
Avoid native filenames in QML references

Task-number: QTCREATORBUG-7191

Change-Id: I0198eb6909e5e250831f2031b1245e8e955d49ff
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoHelp: Do not get stuck with spinning cursor
Tobias Hunger [Wed, 28 Mar 2012 14:29:23 +0000 (16:29 +0200)]
Help: Do not get stuck with spinning cursor

Do not get stuck with the busy cursor spinning on windows whenever
a page is not found.

Change-Id: I4596b6ec0d3de4005bc60422e4fe19142600e336
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
12 years agoSquish: Improve openQmakeProject()
Christian Stenger [Tue, 27 Mar 2012 14:10:59 +0000 (16:10 +0200)]
Squish: Improve openQmakeProject()

Change-Id: I847604f81d1bdb10a56360af3d0969e451b3344c
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
12 years agoProjectExplorerPlugin:addProject() remove code to set startup project
Daniel Teske [Wed, 28 Mar 2012 12:57:52 +0000 (14:57 +0200)]
ProjectExplorerPlugin:addProject() remove code to set startup project

addProject() is called from 2 places: openProject and restoreSession
openProject() takes care of setting a startup project itself and
restoreSession sets it explicitly after opening the projects. So the
code in addProject() is not needed.

Change-Id: Iaa5de3e36fd4b60c8ceb79b8ea3ca68dbc9b491c
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
12 years agoOn Session restore, set the correct startup project
Daniel Teske [Wed, 28 Mar 2012 12:57:10 +0000 (14:57 +0200)]
On Session restore, set the correct startup project

Task-number: QTCREATORBUG-7161
Change-Id: Ie83961b35f2d7d4419a519a2fe6e4df601a67d1c
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
12 years agoCMakeProjectManager: Fix crash for makesteps in deployconfigurations
Daniel Teske [Wed, 28 Mar 2012 11:18:25 +0000 (13:18 +0200)]
CMakeProjectManager: Fix crash for makesteps in deployconfigurations

Task-number: QTCREATORBUG-7143
Change-Id: I0bf4e0e45367c361bd3efa5e2db9349d438184ab
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
12 years agoGenericProjectManager: Fix crash for make deploy steps
Daniel Teske [Wed, 28 Mar 2012 11:17:34 +0000 (13:17 +0200)]
GenericProjectManager: Fix crash for make deploy steps

Task-number: QTCREATORBUG-7183

Change-Id: Ib917c8990c698b7315ebb79083bf71623b3ae6e7
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
12 years agoFix invalid decltype error recovery which resulted in crashes.
Erik Verbruggen [Wed, 28 Mar 2012 11:34:31 +0000 (13:34 +0200)]
Fix invalid decltype error recovery which resulted in crashes.

Task-number: QTCREATORBUG-7174

Change-Id: I653db71adc45586cd8518ffd96118425fd3763be
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
12 years agoFix: do not put in duplicate definitions.
Erik Verbruggen [Tue, 27 Mar 2012 13:29:12 +0000 (15:29 +0200)]
Fix: do not put in duplicate definitions.

Change-Id: Ia3f248d013a1b4f98ad3e85d13cfcf214d3c97c7
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoFileUtils: Remove symbolic links when removing a directory
Aurindam Jana [Tue, 27 Mar 2012 10:00:59 +0000 (12:00 +0200)]
FileUtils: Remove symbolic links when removing a directory

Task-number: QTCREATORBUG-6898

Change-Id: Idef8eee191d6d5b8f66046a4e6c6891a54262d2e
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
12 years agoSquish: Further improvement of switchViewTo()
Robert Loehning [Tue, 27 Mar 2012 13:26:38 +0000 (15:26 +0200)]
Squish: Further improvement of switchViewTo()

Change-Id: I25f857f05120882427a8ba7569a4c1b66c474f5e
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
12 years agoSquish: Add Qt4.8 to qtversions.xml
Christian Stenger [Mon, 26 Mar 2012 12:04:31 +0000 (14:04 +0200)]
Squish: Add Qt4.8 to qtversions.xml

This is just a preparation for the next patch.

Change-Id: Icac8584029b4119ebbc70f2cb5766768a61e21a8
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
12 years agoMSVC: Fix env retrieval
Tobias Hunger [Tue, 27 Mar 2012 10:41:10 +0000 (12:41 +0200)]
MSVC: Fix env retrieval

Fix revtrieval of environment settings for MSVC compilers.

Task-number: QTCREATORBUG-7180
Task-number: QTCREATORBUG-7181
Change-Id: I30804446c629b81130e4d746d47f824c8d4693e5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
12 years agoWizards: blacklisting more characters for file names
Thomas Hartmann [Tue, 27 Mar 2012 09:46:32 +0000 (11:46 +0200)]
Wizards: blacklisting more characters for file names

Change-Id: Idddfe95eeee0df31c6737e11fe7b4b095b594111
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
12 years agoDon't pass native file names to internal API.
Eike Ziller [Tue, 27 Mar 2012 08:10:40 +0000 (10:10 +0200)]
Don't pass native file names to internal API.

Task-number: QTCREATORBUG-7191

Change-Id: I89889a3580f4a27a912eacb09e893b428c5c5351
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoFix Qt Creator using wrong UI language.
Eike Ziller [Mon, 26 Mar 2012 10:30:33 +0000 (12:30 +0200)]
Fix Qt Creator using wrong UI language.

Qt 4.8 introduced QLocale::uiLanguages() and changed the behavior of
QLocale::system().name(). We now retrieve the list of preferred
uiLanguages when building against 4.8, and look for the first language
that we have translations for.

Task-number: QTCREATORBUG-7134
Change-Id: I90cdb6182732a013dc431b61a7976900e48e0d31
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
12 years agoSquish: Fixed issues in switchViewTo()
Robert Loehning [Mon, 26 Mar 2012 15:21:30 +0000 (17:21 +0200)]
Squish: Fixed issues in switchViewTo()

Change-Id: I693ad1bf30c8644f07bd4188178cb96d374a3ea1
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
12 years agoWizards: adding more illegal characters to FileNameValidatingLineEdit
Thomas Hartmann [Mon, 26 Mar 2012 13:36:04 +0000 (15:36 +0200)]
Wizards: adding more illegal characters to FileNameValidatingLineEdit

Change-Id: Ia111118b52b92b65916000df76065e4eb95dc8a0
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
12 years agoDoc: disabling steps
Leena Miettinen [Wed, 21 Mar 2012 14:42:22 +0000 (15:42 +0100)]
Doc: disabling steps

Update screenshots.

Change-Id: I00655600ac476b433e9509ce28568fa37ac2736f
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
12 years agoWelcomePage: do not allow editing of default session
Thomas Hartmann [Mon, 26 Mar 2012 08:10:50 +0000 (10:10 +0200)]
WelcomePage: do not allow editing of default session

Being able to edit the default session does not make sense.

Change-Id: I45deee777827e9586ab2c23474f3ad0423f17f55
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
12 years agoSquish: Fix changed values
Christian Stenger [Fri, 23 Mar 2012 15:46:38 +0000 (16:46 +0100)]
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>
12 years agoAutodetect CDB's shipped with Windows Kits >= 8.0.
Friedemann Kleint [Fri, 23 Mar 2012 12:00:09 +0000 (13:00 +0100)]
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>
12 years agoQmlDesigner: crashfix
Thomas Hartmann [Fri, 23 Mar 2012 08:39:27 +0000 (09:39 +0100)]
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>
12 years agoDoc: update screen shots
Leena Miettinen [Thu, 22 Mar 2012 10:42:23 +0000 (11:42 +0100)]
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>
12 years agodebugger: make Attach to Remote... dialogs better accessible
hjk [Wed, 21 Mar 2012 16:54:56 +0000 (17:54 +0100)]
debugger: make Attach to Remote... dialogs better accessible

Change-Id: Ic20897a565c37d45d1521c8934ae0c4759fdef01
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoQtMessageLogHandler: Sorting child items
Aurindam Jana [Thu, 22 Mar 2012 11:00:47 +0000 (12:00 +0100)]
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>
12 years agoWin: Avoid long creator startup times with '\' in PATH
Tobias Hunger [Thu, 22 Mar 2012 10:27:30 +0000 (11:27 +0100)]
Win: Avoid long creator startup times with '\' in PATH

Task-number: QTCREATORBUG-6501
Change-Id: Idfe050486db2d486e895bf6670cad3084871c44a
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
12 years agoQtMessageLogHandler: Insert child items in alphabetical order
Aurindam Jana [Wed, 21 Mar 2012 15:19:02 +0000 (16:19 +0100)]
QtMessageLogHandler: Insert child items in alphabetical order

Change-Id: I644207f5e8b149364e73abf7512240e918260072
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
12 years agoQtMessageLogHandler: Fix crash
Aurindam Jana [Wed, 21 Mar 2012 14:06:18 +0000 (15:06 +0100)]
QtMessageLogHandler: Fix crash

Set a parent when creating QtMessageLogItem.

Change-Id: I8faf76059dcc517794a4eb3d202bc14cd1632ca8
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
12 years agodebugger: Removed unneeded failing test
Robert Loehning [Wed, 21 Mar 2012 14:17:48 +0000 (15:17 +0100)]
debugger: Removed unneeded failing test

Change-Id: I330d43bfdbba5304bf559e136aa1bc07b5498c4a
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoQmlDebugging: Fix 'this' in Locals And Watchers
Aurindam Jana [Wed, 21 Mar 2012 10:51:36 +0000 (11:51 +0100)]
QmlDebugging: Fix 'this' in Locals And Watchers

Incase of global object, query the children only when
needed as the response takes a lot of time. Remove cached
requests when switching stack frames so that stale responses
are not parsed.

Change-Id: I70887773952ecaa61da21077ffec321fd5fabbb1
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
12 years agoDoc: update screenshots for Qt versions and tool chains
Leena Miettinen [Wed, 21 Mar 2012 14:33:44 +0000 (15:33 +0100)]
Doc: update screenshots for Qt versions and tool chains

Change-Id: I9de5c75e9cde0946685ed0c6bfa763526fa770ae
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
12 years agoDoc: update screen shots for editor, code style, dependencies
Leena Miettinen [Wed, 21 Mar 2012 14:31:02 +0000 (15:31 +0100)]
Doc: update screen shots for editor, code style, dependencies

Change-Id: Ia11d769e2afda6ee2835501ac8c304e684f98796
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
12 years agoDoc: update screen shots
Leena Miettinen [Wed, 21 Mar 2012 14:25:33 +0000 (15:25 +0100)]
Doc: update screen shots

Change-Id: Ib25e84017e9f2ff48f7e47abbb309442f8c5408e
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
12 years agoQmlDebugging: Fix Watched Expressions
Aurindam Jana [Wed, 21 Mar 2012 08:46:33 +0000 (09:46 +0100)]
QmlDebugging: Fix Watched Expressions

The data response was incorrectly parsed for watched expressions.
This patch fixes the parsing. It also fixes removal and readdition
of a watched expression.

Change-Id: I1a9e2db3d4963d7fe12ed468ae5466a106011487
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
12 years agoDoc: move debugger settings to separate section
Leena Miettinen [Wed, 21 Mar 2012 11:11:40 +0000 (12:11 +0100)]
Doc: move debugger settings to separate section

Update screenshots

Change-Id: I6b69f812284d53d2fde4ee957dbfff1b0e56a032
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
12 years agoSome pixel shifting in split icons
hjk [Tue, 20 Mar 2012 12:46:17 +0000 (13:46 +0100)]
Some pixel shifting in split icons

For the record: I still like the 2.4 one better, but this is progress.

Change-Id: I56de3c5806d476e72d57dcf5dc2e1746a8f10f83
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoExamples: Fix showing documentation in side bar.
Eike Ziller [Wed, 21 Mar 2012 10:09:14 +0000 (11:09 +0100)]
Examples: Fix showing documentation in side bar.

The new target setup jumps to project mode which doesn't have a help
side bar, so it would always jump to help mode for opening the
documentation.

Change-Id: I83343950d53d230a176b1603ca729e4802972f6e
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
12 years agodebugger: Updated self-test
Robert Loehning [Tue, 20 Mar 2012 17:55:12 +0000 (18:55 +0100)]
debugger: Updated self-test

Change-Id: I065de900e79ee4a73f3056ed764391ef45adde19
Reviewed-by: hjk <qthjk@ovi.com>
12 years agodebugger: fix quote style and capitalization in gutter menu
hjk [Tue, 20 Mar 2012 17:05:12 +0000 (18:05 +0100)]
debugger: fix quote style and capitalization in gutter menu

Change-Id: I054230bb910bdb400bd2494a449993bdb0bbf011
Reviewed-by: hjk <qthjk@ovi.com>
12 years agodebugger: continue after breakpoint in self-test
Robert Loehning [Thu, 15 Mar 2012 15:34:07 +0000 (16:34 +0100)]
debugger: continue after breakpoint in self-test

Done-by: hjk
Change-Id: I8405f88c963df359a9ae7f2a779ef0401b3c5994
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoDoc: changes in the new project wizard
Leena Miettinen [Tue, 20 Mar 2012 12:01:08 +0000 (13:01 +0100)]
Doc: changes in the new project wizard

Update screenshot

Change-Id: I08e43f52c6a7dfa8c27452eed2d10d9b453873b3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
12 years agodebugger: Added comment how to make USE_AUTORUN usable
Robert Loehning [Tue, 20 Mar 2012 14:46:34 +0000 (15:46 +0100)]
debugger: Added comment how to make USE_AUTORUN usable

Task-number: QTCREATORBUG-6951

Change-Id: Ib271f8f2c22705dae5cb799454ee52c22c5bec9d
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoAdded test for lambda function definitions.
Erik Verbruggen [Tue, 20 Mar 2012 12:59:38 +0000 (13:59 +0100)]
Added test for lambda function definitions.

Change-Id: I2233aa98a07e9c23463d4bec0b09dcccb89deb58
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
12 years agoC++: Fix lambda declarator processing
Flex Ferrum [Mon, 19 Mar 2012 19:48:39 +0000 (23:48 +0400)]
C++: Fix lambda declarator processing

Now Qt Creator does not warn about lambda declaration with not empty
parameters list.

Task-number: QTCREATORBUG-6243
Change-Id: I07121a80fbca98c36820d1d8bb1be6e82ab96b12
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
12 years agoDoc: update images
Leena Miettinen [Tue, 20 Mar 2012 11:58:23 +0000 (12:58 +0100)]
Doc: update images

Change-Id: Iccf19ca1c6cd2bd41ad0fb9194f1ee560e498565
Reviewed-by: Virva Auvinen <virva.auvinen@nokia.com>
12 years agoCrumblePath: Fix Crash
Aurindam Jana [Tue, 20 Mar 2012 08:28:47 +0000 (09:28 +0100)]
CrumblePath: Fix Crash

QWidget::mousePressEvent() closes the widget if the position is
not within the rect. A subsequent call to update() amounts to
accessing potentially corrupt memory. Hence call update() before
calling QWidget::mousePressEvent().

Change-Id: I850471d3a1dfdb0a4f0541a69fd2f239dbf8b5fa
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
12 years agodebugger: increase max number of vtable entried from 20 to 100
hjk [Tue, 20 Mar 2012 10:25:25 +0000 (11:25 +0100)]
debugger: increase max number of vtable entried from 20 to 100

Change-Id: I9cc62402830f9ca5b2af389df5f790515ed0383c
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoQmlProject: Fix typo
Christian Stenger [Tue, 20 Mar 2012 08:47:29 +0000 (09:47 +0100)]
QmlProject: Fix typo

Change-Id: Ib481931d637c8df04f1b2bd87bbd759d5f299e9c
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
12 years agoChangelog: Locator execute and debugger "Break on raise"
Orgad Shaneh [Mon, 19 Mar 2012 14:34:08 +0000 (16:34 +0200)]
Changelog: Locator execute and debugger "Break on raise"

Change-Id: I7fb98ad20fdac0e1f0cf55a2d499fb210af645e4
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
12 years agoDebugger: Clear message on attach to core
Orgad Shaneh [Mon, 19 Mar 2012 14:30:19 +0000 (16:30 +0200)]
Debugger: Clear message on attach to core

If a usable engine was found, there is no reason to display errors
set by another engines

Task-number: QTCREATORBUG-7150

Change-Id: I50cec27a127a0af34b5287c389df6ce6a797bb3e
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoQmlProfiler: Set sysroot for embedded targets
Kai Koehne [Mon, 19 Mar 2012 16:03:00 +0000 (17:03 +0100)]
QmlProfiler: Set sysroot for embedded targets

Change-Id: I4ea618fecb8901038b9be716fa8e7e54fa3cd931
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
12 years agodebugger: fix handling of watchpoint notification with gdb 7.4
hjk [Mon, 19 Mar 2012 13:12:29 +0000 (14:12 +0100)]
debugger: fix handling of watchpoint notification with gdb 7.4

Task-number: QTCREATORBUG-7144
Change-Id: I204062de55e241ea7954f0e3bce123973028e076
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoTranslation: Update and fixed German translations.
Friedemann Kleint [Thu, 15 Mar 2012 14:55:49 +0000 (15:55 +0100)]
Translation: Update and fixed German translations.

Task-number: QTCREATORBUG-7107
Task-number: QTCREATORBUG-7106
Task-number: QTCREATORBUG-7109

Change-Id: I89d760464baa5216e7f34fe82f9bf97714119520
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
12 years agoZeroConf: Fix uninitialized values reported by valgrind.
Daniel Molkentin [Mon, 19 Mar 2012 14:38:22 +0000 (15:38 +0100)]
ZeroConf: Fix uninitialized values reported by valgrind.

Change-Id: I521b43a5348599609c7d34c4bc1ad471e640bc44
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
12 years agoQmlProfiler: Exit if we get an error message
Kai Koehne [Thu, 15 Mar 2012 14:28:48 +0000 (15:28 +0100)]
QmlProfiler: Exit if we get an error message

E.g. when we detect that the port is in use, we have to stop the
noDebugOutputTimer.

Change-Id: Idb3f4b91f78c55ab849e55c908e58abf052c3d00
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
12 years agoQmlEngine: Fix crash when trying to connect
Kai Koehne [Fri, 16 Mar 2012 11:55:00 +0000 (12:55 +0100)]
QmlEngine: Fix crash when trying to connect

Since we directly called beginConnection in connectionStartupFailed
we got a stack overflow over time. Instead, only try to connect
every 3 seconds.

Also remove special logic for mixed debugging: They should behave
the same (except maybe where you're breaking inside QQmlDebugServer,
but that's a corner case).

Change-Id: Idf2f55e3d905a01065c123c708b50dbb88388d1f
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
12 years agoFix 38fe616d857234845b9169576433c28aa54fee89
kh1 [Fri, 16 Mar 2012 15:10:21 +0000 (16:10 +0100)]
Fix 38fe616d857234845b9169576433c28aa54fee89

Obviously it helps to add the search term even if it does
not contain special characters.

Change-Id: If32e3e0b8b64fde99a3247dd6eee29928995591f
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoCurly-braces in "Help -> Search for..." crashes Creator.
kh1 [Fri, 16 Mar 2012 14:41:59 +0000 (15:41 +0100)]
Curly-braces in "Help -> Search for..." crashes Creator.

Task-number: QTCREATORBUG-6212

We need to escape special characters that are used inside the
search engine as field delimiter. As soon as the search engine
proccesses the search string it will remove the character and
we might end up with an invalid string, forcing it to throw an
exception thats not catched.

Change-Id: I8b66c87c3137a1f175ead5df85c7f53fdcb5193e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoDoc: fix links to point to qt-project.org
Leena Miettinen [Fri, 16 Mar 2012 14:45:16 +0000 (15:45 +0100)]
Doc: fix links to point to qt-project.org

Change-Id: I3fd949a1b99422749aabb2548b2b57cd67b4971b
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
12 years agotexteditor: allow quickfixes also in overwrite mode
hjk [Fri, 16 Mar 2012 13:43:15 +0000 (14:43 +0100)]
texteditor: allow quickfixes also in overwrite mode

We now temporily switch to insert mode instead. Completely blocking
would break quickfixes in fakevim, as it keeps the texteditor in
overwrite mode most of the time.

Change-Id: Ibc492c80bf02fd2a203a607edc6966c338854a9f
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
12 years agodebugger: fix display/use of module name in ModulesView
hjk [Fri, 16 Mar 2012 12:34:00 +0000 (13:34 +0100)]
debugger: fix display/use of module name in ModulesView

Change-Id: I335ce9427f4c7abea84e109323869226c07e7f7c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
12 years agoFix reloading behavior of image viewer.
Eike Ziller [Thu, 8 Mar 2012 07:42:29 +0000 (08:42 +0100)]
Fix reloading behavior of image viewer.

The image viewer is not able to save, so we should not ask.

Task-number: QTCREATORBUG-5966
Change-Id: I947520d7450704abda8395e8aaae56dfe7842328
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoTask list: Fix 'overlaying' arrows for sub-menu
Kai Koehne [Fri, 16 Mar 2012 10:34:20 +0000 (11:34 +0100)]
Task list: Fix 'overlaying' arrows for sub-menu

Change-Id: I7331ef9a9342347bd9610e9b2df6d671ed057fa7
Task-number: QTCREATORBUG-7135
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agodebugger: add missing 'type' column when copying watch contents
hjk [Fri, 16 Mar 2012 11:12:32 +0000 (12:12 +0100)]
debugger: add missing 'type' column when copying watch contents

Change-Id: I5303814f38deba238120e57ebaad765ab089704c
Reviewed-by: hjk <qthjk@ovi.com>
12 years agodebugger: trigger column resizing by clicks on header or background
hjk [Fri, 16 Mar 2012 11:52:35 +0000 (12:52 +0100)]
debugger: trigger column resizing by clicks on header or background

Change-Id: I702f9fc32310b01021bf3389c9c8cb88d9a1738a
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoWelcomeScreen: Improve vertical lines showing
Yuchen Deng [Tue, 6 Mar 2012 10:40:32 +0000 (18:40 +0800)]
WelcomeScreen: Improve vertical lines showing

Use lighter color of vertical line, from the overall look is more
consistent.
At least, the current design did not feel very comfortable.

Change-Id: I92d1513d475b1aadfc5ac58fc33f4ba84e6a8478
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
12 years agoQmlDesigner: crash fix
Thomas Hartmann [Fri, 16 Mar 2012 10:30:58 +0000 (11:30 +0100)]
QmlDesigner: crash fix

It was a very stupid idea to call QApplication::processEvents(); here
to avoid hickups.

The processEvents() forces the whole designDocumentController managment to be
be reentrant which it clearly is not (and should not be).
The reason is simply that resetView is called from there.
Adding a "flag" for the processEvents is also not a reasonable option.
This was just very bad style.
So I remove it.

Task-number: QTCREATORBUG-7120
Change-Id: I111cf9421f63b9ce44488f0d274624ff48777cef
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
12 years agoEditor: Fix NULL-Pointer dereference in cppfunctiondecldeflink
David Schulz [Mon, 12 Mar 2012 10:02:14 +0000 (11:02 +0100)]
Editor: Fix NULL-Pointer dereference in cppfunctiondecldeflink

Happen when trying to synchronize a return type in an inapropriate AST.

Task-number:QTCREATORBUG-7073
Change-Id: I6621a3d5539f96c0db9e0d20423dba9a7def98fc
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
12 years agodebugger: some adjustments to semi-automated tests
hjk [Thu, 15 Mar 2012 15:37:24 +0000 (16:37 +0100)]
debugger: some adjustments to semi-automated tests

Change-Id: I6512841797aa055630a984bc4bd75d6869ed2bf6
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoQmlProfiler: fix broken recording logic from the client side
Christiaan Janssen [Wed, 14 Mar 2012 16:35:40 +0000 (17:35 +0100)]
QmlProfiler: fix broken recording logic from the client side

This patch should not be applied back to the master branch,
since the issues are already fixed by b7304e2f2e.

Task-number: QTCREATORBUG-7091

Change-Id: I6f0b7752f3446b412c5bd9ae6e3d7e1847472e56
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
12 years agoQmlProject: Update warning when QML Observer cannot be found
Kai Koehne [Thu, 15 Mar 2012 13:05:06 +0000 (14:05 +0100)]
QmlProject: Update warning when QML Observer cannot be found

Task-number: QTCREATORBUG-7108

Change-Id: Id6d40f1985a1e96fd69549c5ced1b37c33f0642c
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
12 years agoDoc: reorganize the bulleted list
Leena Miettinen [Thu, 15 Mar 2012 09:32:50 +0000 (10:32 +0100)]
Doc: reorganize the bulleted list

Update screenshots

Change-Id: Ic33998c6e9b91490d877ae94d349b4c6aeae5c85
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
12 years agoWelcomePage: fix scrolling of sessions
Thomas Hartmann [Thu, 15 Mar 2012 11:55:33 +0000 (12:55 +0100)]
WelcomePage: fix scrolling of sessions

Change-Id: I8a30d94040fa6fffe318c98782120123093d6666
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
12 years agoWelcomePage: adding a minimum height
Thomas Hartmann [Thu, 15 Mar 2012 10:55:24 +0000 (11:55 +0100)]
WelcomePage: adding a minimum height

Task-number: QTCREATORBUG-7115
Change-Id: I001cf9421f63b9ce44a88f0d274624ff48777ced
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
12 years agoWelcomePage: adjust spacings
Thomas Hartmann [Tue, 13 Mar 2012 11:47:30 +0000 (12:47 +0100)]
WelcomePage: adjust spacings

Change-Id: I920d763524f77b20518d26a46a11a3a3b0a131bd
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
12 years agoReplaced one-char-strings
Robert Loehning [Wed, 14 Mar 2012 14:24:07 +0000 (15:24 +0100)]
Replaced one-char-strings

Change-Id: I873606e5a5cd92c0987bc89bd2bfa085a384b797
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agodebugger: adapt autotest to recognize qnx
hjk [Thu, 15 Mar 2012 09:25:57 +0000 (10:25 +0100)]
debugger: adapt autotest to recognize qnx

Change-Id: I5fa9c0b1aa900361b346d35e4f5c4c26658f8b14
Reviewed-by: hjk <qthjk@ovi.com>