Commit Graph

33045 Commits

Author SHA1 Message Date
Tobias Hunger
8c30c91e16 Fakevim: Delete wordprovider again
Change-Id: Idc30e8c74485e121b0b19dbde4eadace60534615
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-27 09:51:28 +01:00
hjk
2d7b0d09ae Debugger: Add manual test for lambda
Change-Id: I288826b0aed94de1f42a9eaddf3d40575e4e13e1
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-27 09:39:49 +01:00
hjk
59184cdc4f TextEditor: One more missing dialog parent.
Change-Id: I9dab955a0b4a0d7d83a69cfc474633be43e7169f
Reviewed-by: David Schulz <david.schulz@digia.com>
2013-11-27 09:35:34 +01:00
David Schulz
1e0a04a38b Editor: Fix generic highlighter test.
Change-Id: I055e8d45271faeee6933a047a6755bd834230159
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-11-27 09:28:14 +01:00
Christian Stenger
e34715094a Squish: Fix tst_CSUP04
Change-Id: I165d39bca4dbf353a5a1fd6d6945c4ac4ebbd2b4
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-11-27 08:57:23 +01:00
Christian Stenger
2cd684b092 Squish: Fix tst_HELP06
Getting Started is no more listed as separate entry.

Change-Id: I840d92d73282221bfe178ded1a1d044a351235d3
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-11-27 08:57:12 +01:00
Fawzi Mohamed
4ea1871aea qmljs: delay import scan until at least one qml file is parsed
Task-number: QTCREATORBUG-10899
Change-Id: I5dca739a89434c7b5813c7a79a76ab7c22e3d71d
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-26 18:45:07 +01:00
El Mehdi Fekari
284fd9f109 Debugger: Fix DebuggerKitConfigWidget::onDebuggerRemoved() implementation
DebuggerKitConfigWidget::onDebuggerRemoved() is erroneously calling
updateComboBox() with the id of the removed item, which resets debugger input
for all other existing kits that are using valid exiting debuggers.

Task-number: QTCREATORBUG-10484

Change-Id: Ib989fdccfc87386785c7ca95ded860499ac2b98c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-11-26 17:40:57 +01:00
hjk
429a26b3cd Debugger: Fix std::vector<bool> dumper for LLDB
Change-Id: I83788acb6cfa9a659482d64bead10dd27e71fade
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-26 17:32:35 +01:00
Daniel Teske
87fba6606f TypePrettyPrinter; Add space to default parameter formatting
Task-number: QTCREATORBUG-10230
Change-Id: Ib93b9438a20f66cd3c9acc0ff074c78fff430337
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-11-26 17:12:42 +01:00
Fawzi Mohamed
0b80c053e4 qmljs: avoid double parsing of imports
Change-Id: Ib45a63e3175924158dc2cff60a7b1964f491c375
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-26 16:42:42 +01:00
Christian Stenger
ff2d6aa8f7 Squish: Fix tst_simple_analyze
The JavaScript tab is now disabled if there's no content at all.

Change-Id: I00e0a6adabd42d0783ad6833fe707323f5a69aae
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-11-26 16:10:19 +01:00
Christian Stenger
e84665186a Squish: Fix tst_HELP04
Replace waiting for signal textChanged().

Change-Id: I010f65cb0b1130c2ba95921c5f128ca955a7ac69
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-11-26 16:09:55 +01:00
Leena Miettinen
97804eeba6 Doc: update supported platforms topic
Qt Creator built against ANGLE is not supported on Windows XP,
so XP has been dropped. Windows 8 and 8.1 have been added.
On Windows, you need DirectX 9.0.

(K)Ubuntu Linux is now supported for version 11.10 on, and
Mac OS from version 10.6 on.

Change-Id: Icf6c042670b685d9c87db95aecb8b5e8f9d2a59b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2013-11-26 15:38:43 +01:00
Leena Miettinen
a403f03ccc Doc: fix punctuation in "Developing Widget Based Applications"
Change-Id: Ie7ffd2eec5ac821811bef7e886e1c25da24b25c9
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-11-26 14:09:42 +01:00
Joerg Bornemann
5efee477b6 remove left-over Q_UNUSED macros
Change-Id: I8dd6861219bc8221030a850779baed2a596d5944
Reviewed-by: David Schulz <david.schulz@digia.com>
2013-11-26 13:51:05 +01:00
Nikolai Kosjar
204cc21f0c Designer: Insert into correct class for "Go to slot"
Make use of LookupContext to find the right class.

Task-number: QTCREATORBUG-10348

Change-Id: I7f8ec769ff2239d5123726e562a1bd430f8c4567
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-11-26 11:52:45 +01:00
Nikolai Kosjar
da7b861e69 Designer: Tests: Remove reference data
...it's mostly bloat. We can easily check for the function declarations
in the definitions in the resulting document.

Change-Id: I9022faf97a78ae599825ec891011117d65ea0aa5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-11-26 11:52:33 +01:00
Leena Miettinen
c0704c2091 Doc: use cross-linking to Qt module documentation
Replace links to "\l{http://qt-project.org/doc/"
with links to topic titles. Remove links where QDoc
creates them automatically based on the .index files.
Add the .index files for the modules that are discussed
in the Qt Creator Manual.

Note: the links will only be generated if the Qt used to
build the docs contains the linked modules and documentation
(.index file) has been generated for them.

Change-Id: Ibe624bf3773e7c854c03ebba4db406be0b4a7b90
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-11-26 11:51:46 +01:00
Daniel Teske
e7778d1470 AndroidManifestEditor: Cope with non existing strings.xml
Instead of retrieving the app_name from the strings.xml simply show the
reference to the strings.xml file.

Task-number: QTCREATORBUG-10821
Change-Id: I99bf45df4864857992d03746cf8613b6f097352d
Reviewed-by: BogDan Vatra <bogdan@kde.org>
2013-11-26 11:43:02 +01:00
hjk
cef8ff2944 Debugger: Fix some of the QMap dumper autotests
The order of entries was changed ab52154010.

Task-number: QTCREATORBUG-10888
Change-Id: I50f97396fd0f94e4bbaefb30fae8419e89bd4f4d
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
2013-11-26 11:38:06 +01:00
Thomas Hartmann
caff343769 QmlJS: Fixing warnings
Correcting ImportKey::compare(). The compare function was not stable
and QMap did not work properly.

Done with: Fawzi

Change-Id: I11790215cba6944bf9f04be0c3844b35ea54ea70
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
2013-11-26 11:34:30 +01:00
Robert Loehning
574d702893 Squish: Expect fails in tst_git_clone
Task-number: QTCREATORBUG-10531

Change-Id: Ifb7a05826824e4e8da13a851ebcdd5b444579a94
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-11-26 11:33:05 +01:00
Eike Ziller
add1869100 Fix settings category icon for iOS
It had wrong size, leading to wrong margins.

Change-Id: Ie107c396edba49fd6afa86535380a4cc5dc81252
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-26 11:28:32 +01:00
David Schulz
46ed54bc7f Editor: Fix crash in the generic highighlighter.
Remove the TextBlockUserData base class BlockData and store the data of
this class inside a CodeFormatter base class. This class can be added to the
TextBlockUserData via setCodeFormatterData. Now we don't have to assume
that the user data is a specific base class of TextBlockUserData.

This removes a crash where the TextBlockUserData was created before the
highlighter could create and set his base class.

Task-number: QTCREATORBUG-10871

Change-Id: I167bdb68b9b1fecc64e4906bdad60bfbecb3bf47
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-11-26 10:14:50 +01:00
Orgad Shaneh
eac518aee6 C++: Support __thread and thread_local
Task-number: QTCREATORBUG-7679
Change-Id: I794f52b2bcfb6c78ceef86ec53b6ed32b3d53d9f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-11-26 09:46:10 +01:00
Nikolai Kosjar
06612ece77 Designer: Tests: Fix compilation with Qt4
Change-Id: Ia9cfc1caf770b23262e606d9f485b6c0dd9bef2b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-11-26 08:58:51 +01:00
Thomas Hartmann
948dd853c7 QmlDesigner.PropertyEditor: TextField "Delete" should not delete items
Change-Id: I7434d1d9f8175cf2799ea4eea491cdcbaee40040
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-25 19:00:27 +01:00
Thomas Hartmann
e25f1c5a4c QmlJS: QmlDesigner warnings should be warnings
Task-number: QTCREATORBUG-10898
Change-Id: I6d8a1b1523d72950fad25eb8545c24085552b226
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
2013-11-25 18:59:20 +01:00
Fawzi Mohamed
dc04d92af6 qmljs: fix persistent trie tests
Change-Id: I77baa46fd6f01d252fdd7a035d477433659c56dc
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-25 18:45:37 +01:00
Fawzi Mohamed
4bd3f2a69e qmljs: improve suggestion ordering
change matchStrength sp that a contigous prefix is always preferred

    Task-number: QTCREATORBUG-10638
    Change-Id: I532d93eddae1ad39157ff65e96fc6651200264ab

Change-Id: I1001f5f4b78bac84b8df8ddc4c394c68359f7821
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-25 18:45:26 +01:00
Peter Kümmel
f270f9758a CMake: fix Ninja's decreasing progress report
Ninja should report completed against overall edges,
this way 100% would only be reached when ninja exits.

Task-number: QTCREATORBUG-10332
Change-Id: I90804db566662b2a96f9ce85b7fab5e1455831c7
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-11-25 18:27:57 +01:00
Nikolai Kosjar
51d91a6075 CppTools: Add revisions to AbstractEditorSupport
So far revisions for AbstractEditorSupport were not needed because until
recently we only had a single snapshot ("global snapshot"). Now, since
editor snapshots are introduced, we need to make sure to update the
corresponding documents in these snapshots, too. To do this efficiently,
a revision is introduced for AbstractEditorSupport.

Task-number: QTCREATORBUG-10894

Change-Id: Ibad1dbbafb7c721d1328959c1e903345fe465326
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-11-25 17:40:30 +01:00
Christian Kandeler
b7d0d968f9 Update qbs submodule.
Change-Id: I2a9f9084d5f692fd45563b3f626f31a7d7e521cb
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
2013-11-25 17:35:32 +01:00
Thomas Hartmann
ccf26a8594 QmlDesigner.StatesEditor: fix layout
Change-Id: Ibec16e7bff4f43f7bb38d8b34f9fcf0d128ec45d
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-25 14:56:24 +01:00
Thomas Hartmann
36c3a12f38 QmlDesigner.PropertyEditor: fix for gradient editing
We have to ensure that currentColor is not set to early.

Change-Id: I243898e08adf2f68d037374cc6c8ff586b1d5d0d
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-25 13:46:08 +01:00
Sergey Belyashov
70cc5751fc Update Russian translation
Change-Id: I6f49b83d6ab554b039f6a159b4520db5649d1e2d
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-11-25 13:42:46 +01:00
Tobias Hunger
9233be390b Tasks: Remove one of two methods to find the task icon
The method is in a internal class, so this does not break the build
for external plugins.

Change-Id: I9ad75e8230059d865ec7a73aa0868cb82a35b35f
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-11-25 13:36:13 +01:00
Ulf Hermann
5b92d43814 WelcomeScreen: Pass height of develop mode to outer element
Previously the recent projects had an extra scrollview and the sessions
had a fixed height. In addition, as there will never be any scrollbars
around the recent projects anymore we don't need the borders around them
anymore, either.

Task-number: QTCREATORBUG-10731
Change-Id: I491265148a3ce777f15b8ba7d852248b583f2c83
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-25 12:51:56 +01:00
Daniel Teske
73bbb59a8d TargetSelector: Don't crash in currentSubIndex()
if the currentIndex() is -1

Task-number: QTCREATORBUG-10872
Change-Id: Ia1c8d3df21649294eeadfbf84a4432c69e74616f
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2013-11-25 12:48:14 +01:00
Przemyslaw Gorszkowski
4132011238 CppEditor:follow symbol:cursor is at the end of virtual function name
If the cursor is at the end of the virtual function name but before '('
then scope is a function.

Task-number: QTCREATORBUG-10294

Change-Id: I83699d3fa33bc0f33d6524fa6d84cfc2b9e71f85
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-11-25 12:24:16 +01:00
Thomas Hartmann
542cee7560 QmlDesigner.PropertyEditor: using onEditingFinished
Change-Id: I2e6097ebb1e6265eeef7ee6b65e34945fdc83213
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-25 11:32:25 +01:00
Eike Ziller
2781ae2f2e BinEditor: Fix selection behavior and painting
* there factually always is a selection (cursor position is always
selected)
* since there always is a selection, always paint a selection
* since there factually always is a cursor position where you can type
(even if you have a selection), always paint a (block) cursor
* fix selection painting in hex region to match the column painting

Reverts c4a3dbe38f and fixes the selection
on find like originally proposed by Orgad

Change-Id: Ife5395a42d35ac50103a63c77cb54491afd7dd1e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2013-11-25 11:20:01 +01:00
Leena Miettinen
d11e7ff7b3 Doc: added Qbs C and C++ project wizards
Change-Id: Id1a4d63db85fca516242d4c5cbdd4cb303e352e3
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
2013-11-25 10:52:56 +01:00
Leena Miettinen
cdeaec7961 Doc: update External Tools topic
Fix changed UI text. Describe the "Modifies current document"
check box. Update screenshot.

Change-Id: I269d7e07780ddbc42b1eae917022965dbbe113e6
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-11-25 10:06:13 +01:00
Eike Ziller
ba03037561 Bump version
Change-Id: I124bfc5ed26f2d64028c72e89539c16d5d3836be
2013-11-25 08:55:29 +01:00
Orgad Shaneh
1892cf3737 cplusplus-update-frontend: Fix compilation
Change-Id: I75ee86775cdab78a477c7303acd38374c5db9d51
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-11-23 17:07:54 +01:00
Fawzi Mohamed
30d0eb6325 qmljs: fixing tests
Change-Id: I8f2eaa64f3cb923753234de76f3491d4daa034fa
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-22 21:22:34 +01:00
hjk
14e645df8e Add history to device process dialog's linedit
Task-number: QTCREATORBUG-10893
Change-Id: I00833ce76b70ab6ed4a6624874caa71b3726e37f
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
2013-11-22 18:15:29 +01:00
Nikolai Kosjar
92c7346562 Designer: Clean up tests
* Make test data driven
* Compare with reference files

Change-Id: I0fed8fcd689da17229853afc940e575b6f22babe
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-11-22 17:50:37 +01:00