Commit Graph

37022 Commits

Author SHA1 Message Date
Marco Bubke
4d8d1d1867 QmlDesigner: Really stop the compiling of the puppet
Never rush some fixes. ;-(

Change-Id: I6c7bd21ebbb53630fc398540b8f7e28726ebd81e
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
2014-07-15 17:49:57 +02:00
Fawzi Mohamed
43aa3902b3 qmljs: remove absolute path library imports
Change-Id: Ib1d6708b7f280d5906452ae5fefc11f8a8700db9
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
2014-07-15 17:06:11 +02:00
Fawzi Mohamed
cd92b70f65 qmljs: avoid reset if C++ types did not really change
Change-Id: I00b59a6b140eb33e2f3206f11e6ab0f9b470dff0
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
2014-07-15 17:05:27 +02:00
hjk
1541fbd2ba FancyMainWindow: Use auto-hiding dock title bars
Instead of the manual hard-to-discover "Locked" action

Change-Id: I08e3b65d3e620adfa1439a8de6e028ecfbdec16d
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-07-15 16:38:05 +02:00
Eike Ziller
08f12e95d0 Update binary-artifacts branch setting
Change-Id: I779a7c3a12d03f0d1920c89b38b019b81502712b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-07-15 15:34:55 +02:00
Marco Bubke
61f64e1f4c QmlDesigner: Skip the puppet creation
Task-number: QTCREATORBUG-12554
Change-Id: I664fa943e6b5399c01cdcb8cfe5cf72ba8b3ae58
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
2014-07-15 14:13:33 +02:00
Marco Bubke
b0ee5e601c QmlDesigner: Check if process is available
It can be happen that we get output before the process is assigned.

Change-Id: I4419b125fc9e7244142c188c8bdf0a030faf850a
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
2014-07-15 13:37:44 +02:00
Marco Bubke
36dc3fb01c QmlDesigner: Remove call to SubComponentManager::update
It has no model attached so is doing nothing and called later again.

Change-Id: Ide36ba5640ff18e29d5be2ad5911ed448f37c92b
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
2014-07-15 13:29:37 +02:00
Marco Bubke
d8457b63c3 QmlDesigner: Check if the puppet source are newer than puppet
And recompile puppet in that case.

Change-Id: Ia19d54aaa83a4b267de515b6eac5d367f943d7c6
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
2014-07-15 13:29:31 +02:00
Eike Ziller
24be584077 Search result pane: Make the history combo box more present
By adding a title, and a left border.

Change-Id: Id8a577c9011c7a7282f5b540e94e8f809481b6fa
Task-number: QTCREATORBUG-9104
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2014-07-15 12:43:03 +02:00
Eike Ziller
c3d10509b9 Qrc: Preserve line ending style
Change-Id: Ib8f57ee07fd5aff1089103cdeedbfec1003bf1cb
Task-number: QTCREATORBUG-6681
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-07-15 12:07:08 +02:00
Orgad Shaneh
616ea2e5bb Git: Fix opening repository log when commit editor is open
Opening a commit editor inside a submodule then executing
Local Repository Log opens the log for the supermodule.

Change-Id: I264925e0f23e2372a09a28e788174a747f5870a8
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-07-15 10:42:29 +02:00
Friedemann Kleint
5189c990aa Bump CDB extension version for 3.2.
Change-Id: I26a9277ae9d83057043e28a355a7646467118999
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-07-15 09:45:28 +02:00
Eike Ziller
2e88a7f6c9 Fix deployment of clang code model plugin.
Broke with the removal of the QtProject subdir for plugins

Change-Id: Ic42d3e9b902f7ac228e62923093dfe6af01b2d19
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2014-07-15 08:21:55 +02:00
Christian Kandeler
076896d4f3 Update qbs submodule.
Change-Id: Ic920b4befb363486c0f828bdee9711280fb509f1
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
2014-07-14 20:48:46 +02:00
Tim Jenssen
be63939397 QmlDesigner: no warning at type "binding"
Task-number: QTCREATORBUG-12509
Change-Id: I650d65322aee34b9fb3c559a8a4566f274b324cf
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
2014-07-14 18:58:09 +02:00
Christian Stenger
e84fbe4807 Tests: Fix linking on Win
Change-Id: Idf5b669d48733754d943d95e9250a0c59d71c863
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2014-07-14 17:40:25 +02:00
Eike Ziller
82296d3209 Wizards: Close wizards with escape
Since they are no longer modal, the "return to editor" shortcut was
executed for the escape key instead.

Change-Id: I4505f49105ad46f7c5f9e0257e77a8ca4652ef06
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-07-14 16:26:58 +02:00
Eike Ziller
bef7181ed0 Set parent for options dialog where appropriate.
Otherwise the options dialog might appear behind the current "dialog"
(for example the "new" wizards).
Also, take ICore::dialogParent as default.

Change-Id: I4578e269db5763842a942549a45ec8cdd6b28b5d
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-07-14 16:24:26 +02:00
hjk
b87867e905 Debugger: Make QString expandable
Change-Id: I7cbbe7ce4e82e3e30f54ffd4e731a136fdc15e6b
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-07-14 16:14:17 +02:00
Orgad Shaneh
af8c8d4e0c Debugger: Only update executable from core file when needed
Conditions:
1. Not empty. It erases the existing executable for no reason.
2. Not Windows -> Windows doesn't produce core dumps, so the path inside it is
   unlikely to match anything on the host.

Change-Id: Ib3cd1ae278d8bc9f6ad326821319ca3deda44800
Reviewed-by: Thomas Otto <totto@zbh.uni-hamburg.de>
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-07-14 15:58:05 +02:00
Leena Miettinen
e1650b5c46 Debugger: replace "maximal" with "maximum"
Change-Id: I14801dbbb7d8a853f6a9952949157088941c7ae5
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-07-14 14:52:43 +02:00
Marco Bubke
a48b226784 Revert "QmlDesigner: Don't update sceneTransform for direct movements"
The resizing is not working any more.

This reverts commit afc498e24e.

Task-number: QTCREATORBUG-12653
Change-Id: Ie5b7ebd2f8810bbdc877b61e16591c5a2bbcf2d4
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
2014-07-14 14:16:40 +02:00
Leena Miettinen
67f32ea16e UI text: capitalize "Open With"
Because the preposition is the last word in the function or title.

Change-Id: I3648f5723eaf63faef097ea80f30a4576136a4e8
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-07-14 13:35:15 +02:00
Eike Ziller
0fc20de475 DocumentModel: Remove unused function
Change-Id: I6c7d125abb653349cb4f10364a92208ebeb6a5d8
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-07-14 12:58:10 +02:00
Christian Kandeler
20bfe889e9 QbsProjectManager: Fix handling of overlapping parse requests.
The current code simply asserts when a new parse request comes in while
parsing. However, that condition is easily triggered, for instance if a
project file is saved to disk during a parse operation. Such updates
currently have no effect at all (other than triggering an error
message).
Instead, we now cancel the old parse job and start a new one.

Change-Id: If2eeb93b85b5163dcea99785a0fc89a254d082db
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
2014-07-14 11:23:46 +02:00
Orgad Shaneh
051bccf89e Changelog: Remove duplicate entries in C++
+ fix 1 description

Change-Id: I70f7ac0651b11cdc2b9fedff35d3da8ced4e888e
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2014-07-14 10:58:22 +02:00
Orgad Shaneh
e6d85ebb17 Valgrind: Fix error display for shadow build
object() refers to the executable file (the build target), which
doesn't have to be inside the project's directory.

directory() refers to the directory of the frame's source file.

Change-Id: Icf9885d1346acbf42ea904e69d6c8eee4d6a40cb
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-07-14 10:39:41 +02:00
Andre Hartmann
c30856e657 Git: Add auto tests for CloneWizardPage
Change-Id: I6b186731eba56a70ce799f17fdf538bb674a5439
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2014-07-13 20:15:31 +02:00
Christian Kandeler
1f1eb5e4ba ExtensionSystem: Compile fix.
Change-Id: I61bf9597a7532230a897e0f609ded37a105eb9a2
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
2014-07-12 13:57:08 +02:00
Nikolai Kosjar
72ecbb7255 PluginManager: Skip test run in case of plugin errors
...otherwise it might happen that no test functions will be executed,
which is highly confusing, especially since no error dialog will be
shown.

If there are errors, just print a warning and quit. If we do not quit,
the error dialog will be shown which might block build machines.

Change-Id: Ic347dfba8fefc0e0f375cf2363265008df56ee53
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-07-11 16:35:15 +02:00
Orgad Shaneh
18429ff390 Bookmarks: Narrow down line number spinbox
Change-Id: I0fa266bc27bd5520c3e94ec196c260db878fba5c
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-07-11 16:02:26 +02:00
Orgad Shaneh
726847e48c Bookmarks: Use a spinbox for line number
Change-Id: I42b00caf1d744d79af93e7100daa8fed5f8a29a8
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-07-11 15:44:38 +02:00
Orgad Shaneh
53ddc32e93 Bookmarks: Enlarge "Edit Bookmark" dialog width
Change-Id: Icd0b8e9720e4467cc66780b808cb4bf82a012938
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-07-11 15:42:50 +02:00
Eike Ziller
20c4a9f262 PluginSpec platforms: It is "OS X"
Change-Id: Ibb3c2be1401b3c09d38f0fd689658b409ff52f7b
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2014-07-11 15:40:41 +02:00
Kai Koehne
a9619af26c Fix compiler warnings about argument being non-const in virtual base method
Another follow up fix for 93304df038 .

Change-Id: I39c98ed2e769a048c00931bd3b850d4d50310d99
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
2014-07-11 15:34:34 +02:00
Christian Kandeler
473692aa23 QbsProjectManager: Do not reparse the project after every build.
While it is true that additional information about target
artifacts can appear during a build, this data is already
present in the qbs::Project object and can simply be retrieved.
No reparsing is necessary.
The exception is when reparsing was requested while the build
was going on. In that case, we really need to do it after
the build has finished.

Change-Id: Ief3797782ad0ca5651974d4b5d3d64e1199ca9a5
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
2014-07-11 15:05:32 +02:00
Joerg Bornemann
7e9489db37 remove duplicate file from project file
This fixes the build with qbs 1.3.

Change-Id: Ie4cb9cf96ab25fda0033eb80b00b59d03f89b755
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
2014-07-11 15:04:34 +02:00
Ulf Hermann
df86884d7b QmlProfiler: Keep TimelineRenderer and Button states in sync
You could enable the select-on-hover mode by clicking in an empty time
line, even though the buttons bar was disabled. You could also trigger
various bad behavior by clearing the view and restarting the profiler.
Properly initializing and clearing all members, and sending change
signals on clearing helps with that.

Change-Id: Ie7df80a52daaf166c3a4adb2eb1f28a59c21df57
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-07-11 13:54:24 +02:00
Ulf Hermann
b3348daefd QmlProfiler: Make sure TimelineRenderer is using the right x and width
If we use different x and width parameters in JavaScript and C++ we
introduce numerical instability which leads to visual glitches.

Change-Id: I352f3e8365ca52d135230343c2f034332ec71323
Task-number: QTCREATORBUG-12648
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-07-11 13:53:10 +02:00
Eike Ziller
141d0d906b Plugin manager: Show current platform string in plugin details
Change-Id: Ia1fc03ae715daa9f0469f6b2859de932f8eeb562
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-07-11 13:30:08 +02:00
Eike Ziller
21fb7eb471 PluginSpec platform: More deterministic name for Linux
There is not even a guarantee that VERSION from os-release contains
"Linux" anywhere. Prepend "Linux" or "Unix" and add the version details
in parentheses instead.
Also remove unnecessary (and wrong) /etc/issues fallback.

Change-Id: I0457ad9e8cedeea35e0cad5ea8093652eb8428e1
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-07-11 13:29:58 +02:00
hjk
f0b2d6535e Debugger: Rework editor tooltips handling
Fix expansion and updating.

Persistence and non-locals are still lacking.

Change-Id: I74e25199d50350516afc686a05836e239bfc8acb
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-07-11 12:19:01 +02:00
Ulf Hermann
a97aa6be67 QmlProfiler: Apply documentation style to sortedtimelinemodel.cpp
Change-Id: I5ed4449b3003d53c27859e11606d4b4dceee229a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2014-07-11 12:18:42 +02:00
Leena Miettinen
f4c145c34b Doc: fix a changed string in docs
Edit Bookmark Note was changed to Edit Bookmark.

Change-Id: Ie7cf904e6774b2b03749367d935e973b6b4dce54
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2014-07-11 12:13:32 +02:00
Christian Kandeler
853497fb4b QbsProjectManager: Sanitize QbsProjectNode.
The current code keeps an instance of QbsProject and of qbs::Project in
every project node, with them being null/invalid everywhere except for
the top-level node. Instead, introduce a dedicated class for the root
node and hold a QbsProject only there. The qbs::Project is held in
QbsProject now.
As a nice side effect, this also fixes QBS-644, presumably because the
dubious-looking use of projectNode() has been removed.

Task-number: QBS-644
Change-Id: I5d36806745b9d67879db6f48aa56bc97868e4f17
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
2014-07-11 11:33:58 +02:00
Christian Kandeler
5e8bd53a79 QbsProjectManager: Display qbs errors for adding and removing files.
If the operation fails, people currently don't get any hint as to what
the reason could be. For lack of a better place, log the error message
to the General Messages pane.

Change-Id: I19c48bbee0e0030b2d542425d43c089a29600756
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
2014-07-11 11:33:33 +02:00
Eike Ziller
e7b07a2b36 Qbs: Use cache(...) instead of echoing system calls to write .qmake.cache
Qbs is nowadays disabled with Qt4 anyhow, so we can use the less
hacky Qt 5 methods

Change-Id: I9ce9391238b3597cc4b31e9f9f6647cec1a2496e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2014-07-11 11:07:05 +02:00
Eike Ziller
c3093cfff7 Remove special code path for fullscreen support on Mac
This was necessary for supporting full screen on 10.7 even while
keeping compatibility with 10.6. Since we no longer support 10.6,
we can remove the workaround.

Change-Id: I03e23e9203836ab6fb5a836fc06a525e44516d34
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2014-07-11 11:06:01 +02:00
hjk
6da19d072d ChangeLog: Mention fixed tooltips
Change-Id: I398c43f429cb0f0a837cd0a6eaaf8cf75ca4c2f5
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-07-11 10:24:42 +02:00