qt-creator:qt-creator.git
4 years agoQmlDesigner.PropertyEditor: fix for point and pixel size 2.8
Thomas Hartmann [Mon, 21 Oct 2013 10:03:41 +0000 (12:03 +0200)]
QmlDesigner.PropertyEditor: fix for point and pixel size

Task-number: QTCREATORBUG-9769
Change-Id: I1a1a9ebbda78daec0a62cb2e7c7859a636da57dd
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
4 years agoGit: Fix crash on show stash
Orgad Shaneh [Thu, 17 Oct 2013 05:54:15 +0000 (08:54 +0300)]
Git: Fix crash on show stash

* show() is called with a QString reference to the model
* And editor is opened, which triggers stateChanged()
* stateChanged() updates StashDialog, which refreshes the model with an
  empty directory (another bug)
* The QString name reference is invalidated => crash on access

Task-number: QTCREATORBUG-10397
Change-Id: I0c4077f8c4fc90905568f80d1cd89f61c4cd2cba
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
4 years agoQmlDesigner.MetaInfo: fix handling of enum scopes
Thomas Hartmann [Wed, 16 Oct 2013 15:36:19 +0000 (17:36 +0200)]
QmlDesigner.MetaInfo: fix handling of enum scopes

The codel model does not provide enum scopes at the moment.
As a fallback we use class names, but this fails if we use
the original cpp class name from the <cpp> package.
For this reason we always try to find an export
with a package different from <cpp>.
As a final solution the code model should be able to
provide the enum scopes.

Task-number: QTCREATORBUG-10114
Change-Id: I15396c83590426ab0b9b55c8646a89c8d5712683
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
4 years agoQmlDesigner: Support for enums in alias properties
Thomas Hartmann [Wed, 16 Oct 2013 13:23:30 +0000 (15:23 +0200)]
QmlDesigner: Support for enums in alias properties

Enums in combination with alias properties were not supported.
The QML Engine does not distinguish between bindings
and enums in this case.
We want to distinguish between bindings/expressions and literal
enums. This is not possible with the current code model, so we use
a list of hardcoded enum keys for Qt Quick.

There a several issues we want to properly fix in the future.

*  Make the model aware of enums. Currently enums are strings
   (the key) in the model. This has historical reasons. Instead
   we should use a custom type registered to QVariant that handles
   the scope, key and integer value.

*  The code model should be fully aware of enums even in the alias case.

Do not integrate this patch to 3.0 or master.

Task-number: QTCREATORBUG-10114
Change-Id: I780a201202f0949b1e2eb2f2525ddb031e1cd18b
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
4 years agoQmlDesigner: Support for enums in alias properties
Thomas Hartmann [Wed, 16 Oct 2013 13:26:25 +0000 (15:26 +0200)]
QmlDesigner: Support for enums in alias properties

Also the qmlpuppet could not handle enums in combination
with alias properties. Enums on alias properties are handled as
bindings. This is just an intermediate solution until we refactor
the handling of enums in the model.

Do not integrate this patch to 3.0 or master.

Task-number: QTCREATORBUG-10114
Change-Id: I022637285deb5ff13b61d761d89b3ae1201575db
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
4 years agoFix names spelling in the contributor list
Viktor Ostashevskyi [Wed, 10 Jul 2013 13:04:49 +0000 (15:04 +0200)]
Fix names spelling in the contributor list

Change-Id: I057f0ae070e4b66628dd2ff64aa716dc2000f594
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Dmitry Savchenko <dmitry.a.sav@gmail.com>
Reviewed-by: Viktor Ostashevskyi <ostash@ostash.kiev.ua>
Reviewed-by: Andrey M. Tokarev <andrey.m.tokarev@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
4 years agoRevert "EditorManager: Fix crash when closing an editor upon activation"
Orgad Shaneh [Tue, 8 Oct 2013 05:47:00 +0000 (08:47 +0300)]
Revert "EditorManager: Fix crash when closing an editor upon activation"

Deleting an editor while currentEditorChanged is apparently not a good idea.
Use a queued connection instead.

This reverts commits 243a6259618e69b8da9ac2438480c449754f7f77 and
d9602ca550c53e60a5229bfec9539e41fa5a694c.

Task-number: QTCREATORBUG-10190
Task-number: QTCREATORBUG-10235
Change-Id: Iccbee25fb77714963faa6f7184d1f5f53ed348a6
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
4 years agoFix a crash on codestylesettings
jkobus [Fri, 27 Sep 2013 10:46:08 +0000 (12:46 +0200)]
Fix a crash on codestylesettings

Task-number: QTCREATORBUG-10235

Instead of rely on ICodeStylePreferences::destroyed() signal,
when all other objects might be in destruction phase,
clear project code style settings explicitly, when project
closes.

Change-Id: I0dd6675d54c5495d4006acbc9ad12c95f1d0a00c
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
4 years agoInclude the correct header for std::lower_bound.
Thiago Macieira [Sun, 6 Oct 2013 00:28:24 +0000 (17:28 -0700)]
Include the correct header for std::lower_bound.

That is <algorithm>. Relying on indirect includes is bad, mmkay?

Change-Id: I245885672004cd406f98c82231aaa38a5cfe464c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
4 years agoCppEditor/CppTools: Fix plugin tests.
Nikolai Kosjar [Fri, 27 Sep 2013 13:58:50 +0000 (15:58 +0200)]
CppEditor/CppTools: Fix plugin tests.

Starting with commit 243a625 EditorManager::closeEditors() does not
delete the editors anymore, but calls deleteLater(). When the call
returns, all kind of checks fail since the editor widget destructor was
not yet called.

Fixed by providing and calling Core::Tests::closeAndDeleteEditors(),
which explicitly sends QEvent::DeferredDelete to the widget.

Change-Id: I3287abbe74ccf7d7a18b997a847701c8be17cb55
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
4 years agoFakeVim: Ensure that enterFakeVim() is not called recursively
hluk [Thu, 26 Sep 2013 16:06:20 +0000 (18:06 +0200)]
FakeVim: Ensure that enterFakeVim() is not called recursively

Task-number: QTCREATORBUG-10226
Change-Id: Ib58d43dc11071a5dc28bad53e13213a4413fca71
Reviewed-by: hjk <hjk121@nokiamail.com>
4 years agoDoc: move icorelistener docs from header to source
Leena Miettinen [Thu, 26 Sep 2013 10:42:07 +0000 (12:42 +0200)]
Doc: move icorelistener docs from header to source

Edit for language and style.

Change-Id: I6f22ae90e95537282e4833ca90775683e76e26cf
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
4 years agoDoc: edit find plugin API docs
Leena Miettinen [Mon, 9 Sep 2013 08:46:07 +0000 (10:46 +0200)]
Doc: edit find plugin API docs

Edit for grammar and style. Remove \brief commands from
function descriptions.

Change-Id: I1f8c861f2f202f0af9056d639d6807b68ac517a2
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
4 years agoDoc: edit macros documentation
Leena Miettinen [Fri, 6 Sep 2013 15:23:10 +0000 (17:23 +0200)]
Doc: edit macros documentation

Edit to use standard wording.
Use \a commands for attributes.

Change-Id: I90262bc12fe601df81c33a9a49cc8d0e8005407e
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
4 years agoDoc: edit coreplugin docs
Leena Miettinen [Fri, 6 Sep 2013 14:38:53 +0000 (16:38 +0200)]
Doc: edit coreplugin docs

Remove \brief commands for functions.
Use standard wording for QDoc commands.
Fix style and grammar issues.
Use the \a command instead of the \c command for attributes
in function descriptions.
Do not use \returns, because it does not exist.

Change-Id: Icd32b519670cb376e246bab3a58fe7e98d2529ea
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
4 years agoSquish: Stabilize suite_QMLS
Robert Loehning [Wed, 25 Sep 2013 13:06:43 +0000 (15:06 +0200)]
Squish: Stabilize suite_QMLS

Change-Id: I2194054c9c87eeff3b039b34dc4498f5cb0a19e2
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoExternal Tools: Unexpect file change in any case
David Schulz [Wed, 7 Aug 2013 11:15:15 +0000 (13:15 +0200)]
External Tools: Unexpect file change in any case

... when the tool has finished.

Change-Id: Ia3c03d083efd605d3f75a7246c1e03592656d04b
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
4 years agoDoc: edit qmljs docs
Leena Miettinen [Fri, 6 Sep 2013 09:52:53 +0000 (11:52 +0200)]
Doc: edit qmljs docs

Use standard wording, fix capitalization, typos, and
style and grammar issues.

Change-Id: Iac3faa59ef32aa2a8ec1857aed0d861701cbfbe7
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
4 years agoFix crash when opening generic project
Petar Perisin [Fri, 20 Sep 2013 19:16:57 +0000 (21:16 +0200)]
Fix crash when opening generic project

target t is deleted inside removeTarget(t)

Change-Id: I9d5a07d65a2cb0c47869edf3997a44a526b9930e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
4 years agoEditorManager: Fix crash when closing an editor upon activation
Orgad Shaneh [Fri, 20 Sep 2013 14:53:49 +0000 (17:53 +0300)]
EditorManager: Fix crash when closing an editor upon activation

* activateEditor receives a pointer to the editor.
* When currentEditorChanged is emitted (using a direct connection),
  closeEditor is called (because changes were reverted and the editor
  isn't needed anymore.
* closeEditor eventually deletes the editor
* Control is returned to activateEditor, which now references a deleted
  editor -> crash

Task-number: QTCREATORBUG-10190
Change-Id: I9062f03c1c1550f0a8c0c49c226dedcfd252eb12
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
4 years agoSquish: Fix tst_debug_empty_main for Mac
Christian Stenger [Fri, 13 Sep 2013 09:07:03 +0000 (11:07 +0200)]
Squish: Fix tst_debug_empty_main for Mac

Change-Id: I57cd9647d07cfbf823bdff63dd1c2f5c3050cb7c
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
4 years agoSquish: Fix usages of :OpenDocuments_Widget
Robert Loehning [Wed, 18 Sep 2013 13:50:12 +0000 (15:50 +0200)]
Squish: Fix usages of :OpenDocuments_Widget

Change-Id: I1dde01e3fc8fb5f696054f72c44bdc9387aad5c6
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoSquish: Fix openDocument()
Robert Loehning [Tue, 17 Sep 2013 17:35:05 +0000 (19:35 +0200)]
Squish: Fix openDocument()

This uses the Projects view, not Open Documents

Change-Id: I8695d170ed85939ce2d002270c3cb60d97954130
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoSquish: Fix getToolTipForViewTab()
Robert Loehning [Wed, 18 Sep 2013 09:54:08 +0000 (11:54 +0200)]
Squish: Fix getToolTipForViewTab()

Shortcuts will change when order of modes changes.

Change-Id: I9ee71cefebd4f2404976a7728fd1c4b500efc0f9
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoSquish: Added alternative color values to tst_qml_editor
Robert Loehning [Thu, 12 Sep 2013 15:24:00 +0000 (17:24 +0200)]
Squish: Added alternative color values to tst_qml_editor

Change-Id: I00b7df0c33fc6553fe3dc3364c6bc4dc448d72a7
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoDoc: edit qmldebug docs
Leena Miettinen [Fri, 6 Sep 2013 10:25:34 +0000 (12:25 +0200)]
Doc: edit qmldebug docs

Use standard wording. Fix a typo and remove a
repetitive QDoc command.

Change-Id: I458c661e4798a468275b40294dc2a68d0b03fd50
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
4 years agoSquish: More debugging output for checkDebuggingLibrary()
Robert Loehning [Wed, 11 Sep 2013 15:00:00 +0000 (17:00 +0200)]
Squish: More debugging output for checkDebuggingLibrary()

Change-Id: Iab745b8982c31a0fc53c7a2b5620816d7b491bea
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoSquish: Avoid unstable values in tst_simple_analyze
Robert Loehning [Thu, 12 Sep 2013 12:16:53 +0000 (14:16 +0200)]
Squish: Avoid unstable values in tst_simple_analyze

Change-Id: I88869c41f11917ea6031c45403da261b5f017e47
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoSquish: Prevent possible timing issue
Robert Loehning [Wed, 11 Sep 2013 21:17:28 +0000 (23:17 +0200)]
Squish: Prevent possible timing issue

Change-Id: Ia13ae58792c73453b89b8288c5807448f7438c37
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoSquish: More output from tst_simple_analyze
Robert Loehning [Wed, 11 Sep 2013 11:32:24 +0000 (13:32 +0200)]
Squish: More output from tst_simple_analyze

Change-Id: I8dd924a427a63c5f80f7972a8b13a6ef7d3297d7
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoDoc: edit projectexplorer API docs
Leena Miettinen [Tue, 10 Sep 2013 15:16:10 +0000 (17:16 +0200)]
Doc: edit projectexplorer API docs

Fix grammar, punctuation, and style issues. Use standard wording for
QDoc commands. Remove \brief commands from function descriptions.
Move some function descriptions directly above the functions, so
that the \fn command can be removed.

Change-Id: Iedf4f0041af24541a982241f99bd4906e86af916
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
4 years agoDoc: edit texteditor plugin API docs
Leena Miettinen [Tue, 10 Sep 2013 10:52:35 +0000 (12:52 +0200)]
Doc: edit texteditor plugin API docs

Fix grammar and style issues and punctuation.
Use the \a command instead of \param (not a QDoc command).

Change-Id: Ib048f0219a2c857e5fc3fcd858afbcbd58819193
Reviewed-by: David Schulz <david.schulz@digia.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
4 years agoSquish: Fine-tuning of tst_git_clone
Robert Loehning [Tue, 10 Sep 2013 14:38:48 +0000 (16:38 +0200)]
Squish: Fine-tuning of tst_git_clone

Change-Id: I8fdf1e663c2149ec418c2e6760bac151c0d34847
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoDoc: move documentation from header to source file
Leena Miettinen [Mon, 9 Sep 2013 13:52:19 +0000 (15:52 +0200)]
Doc: move documentation from header to source file

QDoc does not look for documentation in header files.

Change-Id: Id7f6a44112e2385989b62a9dd2ee3a18e0c0ff7b
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
4 years agoDoc: edit qmldesigner designercore model API docs
Leena Miettinen [Tue, 10 Sep 2013 10:43:43 +0000 (12:43 +0200)]
Doc: edit qmldesigner designercore model API docs

Do not use the \returns command as it does not exist.
Do not use the \arg command (use \a instead).
Do not use the \see command (use \sa instead).
Do not use the \name command (could use \ingroup, instead)
Remove \brief command from function descriptions for
consistency (as it is optional).
Fix punctuation, grammar, and style issues.
Remove obsolete documentation and fix function signatures.

Change-Id: I0bff8c00aefdcff451b2d1cefe8b99407bfb4222
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
4 years agoDoc: edit qmldesigner designercore API docs
Leena Miettinen [Mon, 9 Sep 2013 14:50:40 +0000 (16:50 +0200)]
Doc: edit qmldesigner designercore API docs

Do not use the \returns command as it does not exist.
Do not use the \arg or \param commands (use \a instead).
Do not use the \see command (use \sa instead).
Remove \brief command from function descriptions for
consistency (as it is optional).
Fix punctuation, grammar, and style issues.

Change-Id: I11173b84146cccf7fe9ba29a521cea93e03a4424
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
4 years agoDoc: edit qmldesigner designercore exceptions API docs
Leena Miettinen [Mon, 9 Sep 2013 14:42:11 +0000 (16:42 +0200)]
Doc: edit qmldesigner designercore exceptions API docs

Do not use the \returns command as it does not exist.
Do not use the \arg command (use \a instead).
Do not use the \see command (use \sa instead).
Remove \brief command from function descriptions for
consistency (as it is optional).
Fix punctuation, style, and grammar issues.

Change-Id: I10d18ef05d4116730796f4d003010d78b44a6138
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
4 years agoDoc: edit devicesupport plugin API docs
Leena Miettinen [Mon, 9 Sep 2013 13:42:19 +0000 (15:42 +0200)]
Doc: edit devicesupport plugin API docs

Edit for grammar and style. Remove \brief commands from
function descriptions.

Move function descriptions to directly above the functions in
code, so that the \fn command can be removed and need not be
maintained.

Change-Id: Idb5bdd1eccf657be689f9d6d1d7eb1ca36f8f1b7
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
4 years agoDoc: edit vcsbase docs
Leena Miettinen [Tue, 10 Sep 2013 13:46:58 +0000 (15:46 +0200)]
Doc: edit vcsbase docs

Remove \brief for \enum and \fn commands.
Use standard wording. Edit for style and grammar.

Change-Id: I338567241ddc7f90feaaf058dcd4dc9afdb8ca93
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
4 years agoSquish: Remove failing lines for tst_openqt_creator
Robert Loehning [Tue, 10 Sep 2013 11:37:12 +0000 (13:37 +0200)]
Squish: Remove failing lines for tst_openqt_creator

Fix is in master, so this won't ever be fixed in 2.8.

Task-number: QTCREATORBUG-10045

Change-Id: I714832f8fbaa39aea6992c31a41e8dd4fe8dfb16
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoDoc: fix punctuation in qtcomponents docs.
Leena Miettinen [Fri, 6 Sep 2013 09:54:58 +0000 (11:54 +0200)]
Doc: fix punctuation in qtcomponents docs.

Change-Id: I99615577746ff8dcd4db740595438b23346654d4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
4 years agoDoc: edit extensionsystem documentation
Leena Miettinen [Fri, 6 Sep 2013 09:46:55 +0000 (11:46 +0200)]
Doc: edit extensionsystem documentation

Use standard wording and fix some and style issues.

Change-Id: I6c226f8b8600833666f1da34f1f1e71cb333f30a
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
4 years agoDoc: move documentation from header to source
Leena Miettinen [Mon, 9 Sep 2013 13:38:35 +0000 (15:38 +0200)]
Doc: move documentation from header to source

QDoc does not look for documentation in header files.

Change-Id: Ibe20a39320a08e936cc4ede25678197c0cee2f4f
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
4 years agoDoc: edit debugger API docs
Leena Miettinen [Fri, 6 Sep 2013 15:16:18 +0000 (17:16 +0200)]
Doc: edit debugger API docs

Remove \brief commands from function descriptions.
Use QDoc commands for notes and lists.
Write GDB in all caps.
Fix punctuation and style and grammar issues.

Change-Id: I7f5bf0f53ad643eb4e2981c0d4e39c453dff5558
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
4 years agoDoc: edit utils docs
Leena Miettinen [Fri, 6 Sep 2013 11:23:11 +0000 (13:23 +0200)]
Doc: edit utils docs

Use \a for all attributes in function descriptions
to avoid QDoc errors. Do not use \param, because
it is not a valid QDoc command.

Do not use \returns as it does not exist.

Do not use \brief for functions. It is not obligatory, so
rather than add them for all functions, let's consistenly leave them out.

Fix typos, grammar and style issues, and punctuation.

Change-Id: Ib8f296f93976265bb93dbeab40c5b47156518122
Reviewed-by: hjk <hjk121@nokiamail.com>
4 years agoDoc: edit qtcreatorcdbext docs
Leena Miettinen [Fri, 6 Sep 2013 09:56:57 +0000 (11:56 +0200)]
Doc: edit qtcreatorcdbext docs

Fix capitalization, use standard wording, and
fix some QDoc commands.

Change-Id: Ic2e6cfd43b9aa24d69b2703334c3dc6fb2331299
Reviewed-by: hjk <hjk121@nokiamail.com>
4 years agoDoc: edit customwizard plugin API docs
Leena Miettinen [Mon, 9 Sep 2013 09:01:04 +0000 (11:01 +0200)]
Doc: edit customwizard plugin API docs

Use standard wording for class and function descriptions.
Edit for grammar and style.

Change-Id: Ia1872b044b4add0c7c057ed4495584bd2c91becf
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
4 years agoDoc: edit cpptools docs
Leena Miettinen [Fri, 6 Sep 2013 14:48:12 +0000 (16:48 +0200)]
Doc: edit cpptools docs

Remove \briefs from function descriptions and use standard
wording in them.
Use standard wording for \enum.
Replace \param with \a.

Change-Id: If429b6fc67ef6d1313c18f6111aa84f9c996189f
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
4 years agoDoc: move bineditor docs from header to source
Leena Miettinen [Fri, 6 Sep 2013 11:24:34 +0000 (13:24 +0200)]
Doc: move bineditor docs from header to source

Change-Id: If654e4e426ed82c5969ec17c6865f597ef02ab4f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
4 years agoSquish: Fix killing of left-overs on testing machines
Christian Stenger [Fri, 6 Sep 2013 11:45:03 +0000 (13:45 +0200)]
Squish: Fix killing of left-overs on testing machines

Change-Id: Ia7bbc5c1eb3d854343717349d8800a3fb14e3e20
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
4 years agoSquish: Trying to stabilize tst_SCOM01
Robert Loehning [Thu, 5 Sep 2013 14:45:33 +0000 (16:45 +0200)]
Squish: Trying to stabilize tst_SCOM01

Change-Id: I895d763fdee4b15a36e109ee9f46d84635afa6a0
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoSquish: Add test case for git clone wizard
Robert Loehning [Thu, 5 Sep 2013 11:37:05 +0000 (13:37 +0200)]
Squish: Add test case for git clone wizard

Change-Id: I4b4415d8a9b40b16be609286f0f07a63c4dd88bc
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoadding python to *.py package calls
Tim Jenssen [Tue, 3 Sep 2013 13:54:55 +0000 (15:54 +0200)]
adding python to *.py package calls

  - under windows we had the problem that *.py needs to be registered and
    even if we had it: a call with modified PATH variable resulted in
    strange two PATH variables in the environment (not sure that this was
    a problem of nmake or something else)
  - added -u to get the output unbuffered

Change-Id: I9326a31fc39a95b61d92bb00549f536db04af985
Reviewed-by: Matti Paaso <matti.paaso@digia.com>
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
4 years agoSquish: Fix failure message
Robert Loehning [Mon, 2 Sep 2013 15:30:24 +0000 (17:30 +0200)]
Squish: Fix failure message

Change-Id: I77f46ccc87fe0ae64fcab17c35af93c6064dc9f4
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoSquish: Test for debugging empty main for Qt/C/C++
Christian Stenger [Thu, 22 Aug 2013 14:26:44 +0000 (16:26 +0200)]
Squish: Test for debugging empty main for Qt/C/C++

Change-Id: I774a610b1dab5b4db4f62ff267084aad9095d3a7
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
4 years agoSquish: Enable Qt5 for suite_qtquick test cases
Christian Stenger [Mon, 26 Aug 2013 09:31:37 +0000 (11:31 +0200)]
Squish: Enable Qt5 for suite_qtquick test cases

Change-Id: I84caf3b4c47badcf444242b6fbc52090ccb5680a
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
4 years agoSquish: Make sure current documentation is loaded
Christian Stenger [Mon, 17 Jun 2013 15:04:27 +0000 (17:04 +0200)]
Squish: Make sure current documentation is loaded

Change-Id: I6d45ce482de3f61a14953bbb7714b1293aa2459b
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
4 years agoSquish: Prepare enabling Qt5 for suite_qtquick
Christian Stenger [Mon, 26 Aug 2013 09:30:54 +0000 (11:30 +0200)]
Squish: Prepare enabling Qt5 for suite_qtquick

Change-Id: I7c4ac62be8f30867953f776ad56ab3ffbf6cd909
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
4 years agoSquish: Move common function to shared script
Christian Stenger [Mon, 26 Aug 2013 09:19:31 +0000 (11:19 +0200)]
Squish: Move common function to shared script

Change-Id: I59d341f9f7a5c86bc3b723dbdc1e1596d464c92c
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
4 years agoSquish: Fix determination of available targets
Christian Stenger [Mon, 26 Aug 2013 09:17:33 +0000 (11:17 +0200)]
Squish: Fix determination of available targets

Change-Id: Iff01b44058dd9175aacfb0a0da96f35fb32383e7
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
4 years agoSquish: Move common code to shared file
Christian Stenger [Fri, 23 Aug 2013 08:01:59 +0000 (10:01 +0200)]
Squish: Move common code to shared file

Change-Id: I5e268d6faf9a2a5a779e850667c582328c42387d
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
4 years agoSquish: Build Qml debug lib only if necessary
Christian Stenger [Thu, 22 Aug 2013 14:25:33 +0000 (16:25 +0200)]
Squish: Build Qml debug lib only if necessary

Change-Id: I90cf1f9e57d39211ea151b1cfc52e27f4ecaf654
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
4 years agoBump version
Kai Koehne [Wed, 28 Aug 2013 11:22:39 +0000 (13:22 +0200)]
Bump version

Change-Id: I7b48adcc38b647a7823899f45b15686832bd4e49
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
4 years agoQmlDesigner.QmlPuppet: fix for clipping in sub items
Thomas Hartmann [Mon, 26 Aug 2013 13:40:19 +0000 (15:40 +0200)]
QmlDesigner.QmlPuppet: fix for clipping in sub items

We did not clip sub items if clipping was enabled.

Task-number: QTCREATORBUG-9604
Change-Id: I75fdabd86193fbfbf397bf3d119a1a33c72cf771
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
4 years agoQmlDesigner.QmlPuppet: fix for nonInstanceChildIsDirty()
Thomas Hartmann [Mon, 26 Aug 2013 11:36:30 +0000 (13:36 +0200)]
QmlDesigner.QmlPuppet: fix for nonInstanceChildIsDirty()

We did not take care of the case where only the transform of a child
changes but nothing else.

Task-number: QTCREATORBUG-9796
Change-Id: Id997e527193c103abf3aeb77826501fb8f701fb7
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
4 years agoQmlDesigner.QmlPuppet: fix for bindings and alias properties
Thomas Hartmann [Mon, 26 Aug 2013 10:06:04 +0000 (12:06 +0200)]
QmlDesigner.QmlPuppet: fix for bindings and alias properties

For alias properties a binding to the original property
was not properly enabled.
This means that if bindings were reseted the original value from the binding
was overwriting any change to this property.

Solution: We disable the binding of the alias property manually using the
hash from resetBinding().

Task-number: QTCREATORBUG-9582
Change-Id: I7a891bbdd06154de8a4e1ff2d3c0939d4e8b4010
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
4 years agoSquish: Enable running on Qt5
Christian Stenger [Thu, 8 Aug 2013 09:26:13 +0000 (11:26 +0200)]
Squish: Enable running on Qt5

Change-Id: Id74f1f2162542cbac98f86bc0c0b049334cdf035
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
4 years agodon't complain about missing include()s during cumulative evaluation
Oswald Buddenhagen [Thu, 8 Aug 2013 16:01:22 +0000 (18:01 +0200)]
don't complain about missing include()s during cumulative evaluation

it produces simply too many false positives.

Change-Id: I3dfa109866450babe5c16f84665ad22024d99e42
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
(cherry picked from qttools/08bae158320f6d73bf44fcf43f45f51a01334544)

4 years agoexecute some loops even in cumulative mode
Oswald Buddenhagen [Fri, 9 Aug 2013 10:17:11 +0000 (12:17 +0200)]
execute some loops even in cumulative mode

we execute foreach loops now. this is (mostly) safe nowadays, because
a previous change added precautions against exponential value list
growth, so it's unlikely that two nested loops would keep the cpu busy
for a day as before.

we continue to exclude forever loops and loops with excessive integer
counts.

Task-number: QTCREATORBUG-6840
Change-Id: Iaa116086986cc7fd5023834753f791dd205102e5
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
(cherry picked from qttools/dd4d594c787a62fa8aa12695c5d115c71b59bacd)
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
4 years agodon't crash if builddir is suffix of sourcedir (or vice-versa)
Oswald Buddenhagen [Wed, 3 Jul 2013 14:54:44 +0000 (16:54 +0200)]
don't crash if builddir is suffix of sourcedir (or vice-versa)

Change-Id: I97a6e2ebd51350cbf39c86efa5c26a376c49da95
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
(cherry picked from qtbase/b30273ec4a4ce65794fd402c6e3eb21de7bae1b9)

4 years agomake split_value_list() even less sane again
Oswald Buddenhagen [Wed, 3 Jul 2013 11:54:17 +0000 (13:54 +0200)]
make split_value_list() even less sane again

contrary to what one may expect, it's actually *not* supposed to remove
the meta-characters it interprets.

luckily, this function is not used much any more ...

Change-Id: I2b60f9b173140da78db2b07b596cc2e5f6e6d555
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
(cherry picked from qtbase/783181cfc11e995ad678237ebc0025a2a023c88c)

4 years agochange reporting of missing files
Oswald Buddenhagen [Wed, 24 Jul 2013 17:49:38 +0000 (19:49 +0200)]
change reporting of missing files

use the new parser flags to report all i/o errors directly.

as a notable side effect, the "WARNING" prefix is gone (even though
it is still treated like that, which is mildly insane to start with).

Change-Id: I084375d5e7a3314ae763795f7c318804a9fb84b6
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
(cherry picked from qtbase/b4c0d9166e7a8f5dfa5ca052002a5ab318787aa2)

4 years agocomplain about absent files to -pro argument (in lupdate)
Oswald Buddenhagen [Wed, 24 Jul 2013 17:45:58 +0000 (19:45 +0200)]
complain about absent files to -pro argument (in lupdate)

sync up; this doesn't actually do anything in creator (or qmake).

Change-Id: I908fc3792bdc321370e51be98adf7a9c81e37a85
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
(cherry picked from qtbase/15981b985fa3ae250af22f68ddb50e08bd9ce421)

4 years agoavoid boolean argument trap: introduce QMakeParser::ParseFlag
Oswald Buddenhagen [Wed, 24 Jul 2013 17:28:33 +0000 (19:28 +0200)]
avoid boolean argument trap: introduce QMakeParser::ParseFlag

Change-Id: I26ce032a1aa044e9a4da0c8708a4490b07374992
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
(cherry picked from qtbase/0a1faaa9eb7807bf11d796c2eca624e2f3b378a7)

4 years agoexclude qbs subprojects from lupdate message collection
Oswald Buddenhagen [Wed, 7 Aug 2013 18:50:43 +0000 (20:50 +0200)]
exclude qbs subprojects from lupdate message collection

the qbs translations should come from the qbs lib itself.

requires qt 5.1.2 to have an effect.

Change-Id: I0aabeaf24d06c9070c2de6e5a0bb9a8ddd6c06c1
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
4 years agoupdate french translation
Guillaume Belz [Tue, 25 Jun 2013 13:09:26 +0000 (15:09 +0200)]
update french translation

Change-Id: If70d24c1ffca3695bed1495cc697a12043152298
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
4 years agoMention also QML codemodel fix in changes-2.8.1 file v2.8.1
Kai Koehne [Fri, 23 Aug 2013 10:06:01 +0000 (12:06 +0200)]
Mention also QML codemodel fix in changes-2.8.1 file

Change-Id: I94c6a92cd27b6c0bd818b9d82240b20875909f07
Reviewed-by: hjk <hjk121@nokiamail.com>
4 years agoUpdate to changes-2.8.1 file
Kai Koehne [Fri, 23 Aug 2013 10:01:36 +0000 (12:01 +0200)]
Update to changes-2.8.1 file

Change-Id: I139fe7cd9e0ab4c11222bc388c9815dc2ffe8352
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
4 years agoC++: Fix crash in LookupContext::lookupType()
Nikolai Kosjar [Thu, 22 Aug 2013 10:13:07 +0000 (12:13 +0200)]
C++: Fix crash in LookupContext::lookupType()

Task-number: QTCREATORBUG-10019
Change-Id: I7970c2f1ea3044e11250b8dbaf9b29ba3e7f34ef
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
4 years agoSquish: More output from HELP02 to investigate fails on Linux 64
Robert Loehning [Thu, 22 Aug 2013 14:11:15 +0000 (16:11 +0200)]
Squish: More output from HELP02 to investigate fails on Linux 64

Change-Id: I5bb7290970039e8629ec8aae7115c850874654c1
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoqmljs: add vector*d, quaternion, and matrix4x4 to code model
Fawzi Mohamed [Tue, 20 Aug 2013 16:15:05 +0000 (18:15 +0200)]
qmljs: add vector*d, quaternion, and matrix4x4 to code model

Added vector2d vector4d, quaternion and matrix4x4 to basic types
and extended completions related to them in the code model.

Task-number: QTCREATORBUG-9929
Change-Id: Iafdbdf5792f640e8eb29d866a372542ee07159a5
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
4 years agoSquish: Evolution of tst_codepasting
Robert Loehning [Thu, 22 Aug 2013 10:43:55 +0000 (12:43 +0200)]
Squish: Evolution of tst_codepasting

Change-Id: Ia234672077e71caa02b7823555003750508fa828
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoSquish: Fix __startDebugger__()
Robert Loehning [Mon, 19 Aug 2013 16:04:16 +0000 (18:04 +0200)]
Squish: Fix __startDebugger__()

Change-Id: I1f87346ad12f4a6e749042b3c1bcabbc71bdbf7a
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoAdd dist/changes-2.8.1
Leena Miettinen [Tue, 20 Aug 2013 14:36:22 +0000 (16:36 +0200)]
Add dist/changes-2.8.1

Change-Id: If5ca031b927a81d68abb333604cdee4fa8d09f1c
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
4 years agoSquish: Add test for codepasting
Robert Loehning [Mon, 19 Aug 2013 14:48:37 +0000 (16:48 +0200)]
Squish: Add test for codepasting

Change-Id: Icba9a10d0269353f7b11e341ffa62ca78593cf2f
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
4 years agoRussian translation update
Sergey Belyashov [Tue, 30 Jul 2013 07:01:28 +0000 (11:01 +0400)]
Russian translation update

Change-Id: I10354aa8b9bdede194d0046bd61501301d2c9863
Reviewed-by: Sergey Shambir <sergey.shambir.auto@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
4 years agoFix correction of toolchain for cross compile
Andreas Holzammer [Thu, 15 Aug 2013 11:17:18 +0000 (13:17 +0200)]
Fix correction of toolchain for cross compile

For cross compile suggestedMkspecList is always empty,
so dont try to autodetect a compiler then if toolchain
was already found.

Change-Id: I97d70e65fef3a5be0fdf20949c18cf98d51513d4
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
4 years agoDebugger: Fix endless loop when stopping without winXXinterrupt.exe
David Schulz [Thu, 1 Aug 2013 08:51:55 +0000 (10:51 +0200)]
Debugger: Fix endless loop when stopping without winXXinterrupt.exe

Change-Id: Id6f636eaca6ed04cd43a59713487cf8e4c80f1ab
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
4 years agoDebugger: Fix dumpers in the presence of -D_GLIBCXX_DEBUG
hjk [Fri, 16 Aug 2013 13:20:37 +0000 (15:20 +0200)]
Debugger: Fix dumpers in the presence of -D_GLIBCXX_DEBUG

This affects std::map, std::set and their iterators.

Change-Id: I372833d04a1f96afd38f127c67052c69cbb3dc02
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
4 years agoUpdate Czech translation
Pavel Fric [Wed, 24 Jul 2013 07:56:05 +0000 (09:56 +0200)]
Update Czech translation

Change-Id: I65f14acf749ea055d07a65c8900461acac3ba8ff
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
4 years agoC++: Fix crash in typedef resolving
Nikolai Kosjar [Fri, 16 Aug 2013 10:47:03 +0000 (12:47 +0200)]
C++: Fix crash in typedef resolving

Task-number: QTCREATORBUG-9990

Change-Id: I8153f18c8b7402c5cb3edbe41098792be183de44
Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
4 years agoCppRewriter: Replace std::__debug with std:: when beautifing types
hjk [Fri, 16 Aug 2013 12:11:30 +0000 (14:11 +0200)]
CppRewriter: Replace std::__debug with std:: when beautifing types

This only affects the visual presentation in Locals and Expressions
and also lets more autotests pass it when compiled with -D_GLIBCXX_DEBUG

Change-Id: I2672aa8610e8f6652606faefd858ecb450cef199
Reviewed-by: David Schulz <david.schulz@digia.com>
4 years agoDebugger: Adjust auto test runner to manual testing needs
hjk [Fri, 16 Aug 2013 11:43:42 +0000 (13:43 +0200)]
Debugger: Adjust auto test runner to manual testing needs

- Don't remove temp stuff when QTC_KEEP_TEMP_FOR_TEST is set, even
  if the test passes.
- Heed QTC_USE_GLIBCXXDEBUG_FOR_TEST to enforce compilation with
  -D_GLIBCXX_DEBUG to trigger a way to test the full-debug version
  of g++'s standard library

Change-Id: I5bf9f423835883349af3ce772e900e0a2123c69e
Reviewed-by: David Schulz <david.schulz@digia.com>
4 years agoDoc: Android Manifest editor
Leena Miettinen [Fri, 16 Aug 2013 11:33:04 +0000 (13:33 +0200)]
Doc: Android Manifest editor

Move text around as some features moved from run settings
to the Android Manifest editor.

Update screen shots.

Change-Id: Idddde8490d382c5bf5de0131b8b53ceea2f738ee
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
4 years agoDebugger: Make Creator work with a GDB using Python 3.x
hjk [Fri, 16 Aug 2013 10:35:44 +0000 (12:35 +0200)]
Debugger: Make Creator work with a GDB using Python 3.x

Even if current GDB git does not compile in that configuration,
some people seem to be able to get this up and running, leading
to dumper load failures and fallback to the no-more-existing
compiled dumpers.

Change-Id: I08ba6c43105c28b3406fce36049bfdf633e79e31
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
4 years agoDebugger: Implement dumper for std::unordered_{set,map}
hjk [Thu, 15 Aug 2013 22:44:26 +0000 (00:44 +0200)]
Debugger: Implement dumper for std::unordered_{set,map}

Task-number: QTCREATORBUG-9855

Change-Id: I985745530d93e1c191442431a7a9449a1c4c059a
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
4 years agoDebugger: Improve caching of unnamed structures
hjk [Mon, 12 Aug 2013 17:34:48 +0000 (19:34 +0200)]
Debugger: Improve caching of unnamed structures

Task-number: QTCREATORBUG-9947

Cherry-picked from 16c4c2ae649221c1a18dd38bfd6cda0585356319

Change-Id: I901bb87ecafc4c1260003de51678ab66122aaffa
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
4 years agoUpdate qbs submodule.
Christian Kandeler [Tue, 6 Aug 2013 12:17:55 +0000 (14:17 +0200)]
Update qbs submodule.

Contains fixes for crashes and build failures, should have been
pushed to 2.8 in the first place.

Change-Id: I178d4a50d03ca6ed53a945140f045a721286d2ba
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
(cherry picked from commit b8528652854744a4f86447fdb11051e2e352d56d)
(cherry picked from commit b71b7f140c3352f90f08ba01f0fdc8de63db79d6)
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
4 years agoDebugger: Disable # characters in watched expression
hjk [Sat, 10 Aug 2013 19:22:02 +0000 (21:22 +0200)]
Debugger: Disable # characters in watched expression

They are not useful and break the dumper protocol.

Change-Id: Ice7e21575e371ee3f8bb8cfb80b73aed47542932
Reviewed-by: David Schulz <david.schulz@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
4 years agoDebugger: Update scrollbar when navigating with the keyboard
Orgad Shaneh [Thu, 15 Aug 2013 19:39:39 +0000 (22:39 +0300)]
Debugger: Update scrollbar when navigating with the keyboard

Change-Id: I3b715f763cab15e4d6cf37140040e1bdf5d1eba2
Reviewed-by: hjk <hjk121@nokiamail.com>