Commit Graph

42629 Commits

Author SHA1 Message Date
Ulf Hermann
b961955fdf QmlProfiler: Don't rebuild events view from empty model
When changing the selected range the main model doesn't change. If the
main model is empty there is nothing to select and we can skip the
selecting.

Task-number: QTCREATORBUG-15047
Change-Id: I997c104ff7f9f541da0eaade7a519cebd39607a4
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-09-09 13:52:08 +00:00
Daniel Teske
a8b6f30c17 WinDebugInterface: Compress events
If there have been less than 60ms since the last event, the debug
listener thread doesn't immediately sent a signal, but postpone it.

Change-Id: I50c66173bc423f8d03c4f2bdde2273910972d58e
Task-number: QTCREATORBUG-14307
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-09-09 13:15:54 +00:00
Tobias Hunger
6bb78124ab Plain C/CPP Wizards: Use proper main signature
Change-Id: I1d6e83cda2685201aa4126e993dac85cda8315b3
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-09-09 11:24:29 +00:00
Robert Loehning
506c0685a3 Squish: Avoid menu problems with Squish 6.0.0
Change-Id: I43219d36f07e2b5636f84f891f94220148f4dd7f
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-09-09 10:27:26 +00:00
Daniel Teske
cc8d9a6857 Fix crash in Qt Options page
The options page owns the qt vesions and needs to return clones
in versions().

This crash was introduced in 87b15b4554

Change-Id: I6b7f4d29c12b10d87f7d0525b2e930e0a9118617
Task-number: QTCREATORBUG-15004
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-09-09 10:15:12 +00:00
Daniel Teske
41f5f5357f QmlProject: Fix restoring/opening of projects
Change-Id: I9e3327c360f76a920a55fc0e59ae19693a19f117
Task-number: QTCREATORBUG-15046
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-09-09 10:14:54 +00:00
Daniel Teske
974fe9f8c3 Fix non standard wizard for default theme
Somehow a line "PreferredStyles =" is interpreted by QSettings
as a QStringList with a empty string.

Simply remove empty strings on reading the settings, as no
style can have that name.

Change-Id: If544e55f759c201d0621c71424a4ebedc8456d61
Task-number: QTCREATORBUG-15043
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-09-08 16:23:24 +00:00
Robert Loehning
1921e56863 Squish: Update README
Change-Id: Iac7dfbbd62ce03b73ca55562148d8741f52d4d1d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-09-08 14:05:53 +00:00
Friedemann Kleint
e92b9a67f9 qtcreator-faq.qdoc: Remove obsolete qtc-debugging-helper.
Change-Id: Ife4a32d689297d58987b10cfea617760177b9ac9
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-09-08 13:48:41 +00:00
Daniel Teske
e6e18ceb41 Desktop Qmake RC: Add option to disable setting of PATH/(LD|DYLD)_LIBRARY_PATH
Change-Id: Iddb3b2c79cdbf6564f0b1acef469f375716b043e
Task-number: QTCREATORBUG-8727
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-09-08 13:22:04 +00:00
Orgad Shaneh
2a1505d9b5 Dist/GDB: Use multiarch gdb
Instead of building gdb for each target

Change-Id: I664f090919f0cfe9bf5a9cbcbe942d8d5e30a76a
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-09-08 12:15:05 +00:00
Orgad Shaneh
a1894eb9ac Dist/GDB: Upgrade to 7.10
Change-Id: I1ad88ae70634c86740812d03e3c581e68009a975
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-09-08 12:04:59 +00:00
Daniel Teske
8e28484ace RessourceEditor: Fix crash on adding prefix
Change-Id: I27624c5327891ae4ec9e045738577f48cbd824a6
Task-number: QTCREATORBUG-15034
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-09-08 11:42:09 +00:00
David Schulz
168508e804 Revert "DocumentModel: Simplify code by using Utils::equal"
Doesn't compile on MSVC 12.

This reverts commit b932a61d77.

Change-Id: I18a875deb5dd67914ff71ab3daeec318c98794a9
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-09-08 10:26:24 +00:00
Leena Miettinen
dd76f04878 Doc: add Update 2 as requirement for MCVS 2013
Task-number: QTCREATORBUG-15035
Change-Id: Icbd8f62dd6b775247d3223aea00a06cbb3348d08
Reviewed-by: Immanuel Weber <immanuel.weber@gmail.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-09-08 09:45:17 +00:00
Daniel Teske
7448db8448 Wizards: Fix dark style for wizard pages
Change-Id: I6c0abc522e8760a6082ac623d4da8facaff4baf3
Task-number: QTCREATORBUG-13395
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2015-09-08 05:49:16 +00:00
Eike Ziller
c6125f2790 Merge remote-tracking branch 'origin/3.5'
Change-Id: I8cc26f38a0ac2453c81108e449b6d84efc9e419c
2015-09-08 07:36:36 +02:00
Ulf Hermann
9e2c0f55f2 Timeline: Use the same shader for items and selections
This should once and for all rid us of artifacts resulting from
rounding errors that occur in one shader but not in the other.

Change-Id: I07decc8e24fb8f1a9b0a5a165fd8333540dc0443
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-09-07 15:38:02 +00:00
Ulf Hermann
987dccad5c Timeline: Remove redundant itemPressed signal
selectedItemChanged is entirely enough to signal that the selection has
changed.

Change-Id: I1b5640c4ad4891ab9fadac83a53b202fdd6871a5
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-09-07 15:11:39 +00:00
Leena Miettinen
7dbea56b9c Doc: fix section name in the sidebar in online docs
"Debugging and Analyzing" is now "Testing", because
autotests are also described in this section.

Change-Id: Ied1de78d630e4e7faa39d343475b5e493b5e89c7
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-09-07 13:30:15 +00:00
Daniel Teske
3456994331 QtKitInformation: Simplify code by using Utils::equal
Change-Id: I0d912fe9fab4259b376490e3a79f1356df93e7f6
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-09-07 12:26:54 +00:00
Daniel Teske
da4ab870a1 Vcs: Simplify code by using Utils::equal
Change-Id: I8c58010e85c7e2a4b8a7c01fb81ce6b528f77b7d
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-09-07 12:26:47 +00:00
hjk
dd7eff0371 Debugger: Add more roundtrip markers to LLDB protocol output
Change-Id: If2e3fc51dab800a9e347da7975eb89547acfb945
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-09-07 10:43:48 +00:00
hjk
b0e7368d58 Debugger: Mark bad debuggger entries with an error icon
Change-Id: If3f7ab4ea015be6f580f748f9d0ee19c608a0239
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-09-07 10:36:52 +00:00
Daniel Teske
b932a61d77 DocumentModel: Simplify code by using Utils::equal
Change-Id: I49032e84e7ff0ec3141fa7beefe385d143adcf03
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-09-07 10:32:10 +00:00
Daniel Teske
b8aaefd135 Locator Filter: Simplify code by using Utils::equal
Change-Id: I57245ba382fa87f5dc18cbd04bb9a0c906618fbd
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-09-07 10:32:09 +00:00
Tobias Hunger
c39604eb1e VcsBaseEditor: Use TextDocument to set text
That is the preferred way to do things (and also has the advantage
of not triggering the crash described in QTCREATORBUG-14975;-).

Task-number: QTCREATORBUG-14975
Change-Id: I5da9be45f3ec88478931d07b7a64dfd4d0ed32c0
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-09-07 09:55:59 +00:00
hjk
fc19465858 Split long --help output lines
Looks better aligned.

Change-Id: I2cab4c1382767b2e2489703bea65bd01c71d2ad6
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-09-07 09:30:39 +00:00
Eike Ziller
a314d8d983 Doc: Correct paths for designer plugins on OS X
Change-Id: Ia0ebd0539513d38acd97e834465cc3ea6da90a6e
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-09-07 08:51:15 +00:00
Niels Weber
c7bc80ee25 Expand register view documentation
Split Disassembler and Register documentation.
Add information about editing register values.

Change-Id: Iba2ef209464193d215bb002127aebce6db1eae0a
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-09-07 08:26:03 +00:00
Robert Loehning
fcd59af30f Completion: Fix crash in CodeAssistant
Task-number: QTCREATORBUG-15020
Change-Id: I88f166250b89badde2162e14065adfca05573dc7
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-09-04 15:05:50 +00:00
David Schulz
722462c359 Debugger: Correctly unset LocationMark when the editor is closed.
Change-Id: Ib178db5fd7d0e5674326287a471daf0e98a706d9
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-09-04 11:42:22 +00:00
Christian Stenger
afb05103c3 PythonEditor: Avoid creation of Custom Executable run configuration
Change-Id: I4bc7ec2893d9a358ef85b984ef6c049de657ace7
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-09-04 10:25:31 +00:00
hjk
1f380798b6 Debugger: Allow terminals for sessions started from command line
Change-Id: I43751fa90e54cd1d93b97822568d21c90118fb23
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-09-04 10:05:51 +00:00
hjk
2f819ec841 Debugger: Don't overwrite an empty env with an empty env
Needless no-op.

Change-Id: I219c6703a01269f9a95b74b4da34b362cd92f64f
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-09-04 10:05:35 +00:00
hjk
129ea2119f Debugger: Pass system environment to sessions started on command line
Processes started with 'qtcreator -debug binary' got an empty
environment at startup, including no DISPLAY etc.

Change-Id: I0c574a3fa25faf18ddf10a6448b0b82c4f04f751
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-09-04 10:05:11 +00:00
Christian Kandeler
43064aa505 Update qbs submodule.
To HEAD of 1.4 branch.

Change-Id: I326ed630648ea6c4792c220412a63ccff1e51f14
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-09-04 09:30:51 +00:00
hjk
2930754acf Debugger: Fix LLDB dumper result reading on Windows
Change-Id: Ic9b71a5fac0b04735851adfb91117b9dc8bd8462
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-09-04 09:27:36 +00:00
hjk
683c976b46 Debugger: Don't mention auto-detected binaries
... if they are not working properly. E.g. the
pre-build LLDB 3.8 .deb crashes when executing
lldb -version > /dev/null

Change-Id: Ifd468048ffa0d30aeb99283cb64556609d8b1ef6
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-09-04 09:27:27 +00:00
Robert Loehning
02972e5844 CppEditor: Assign parent to "Extract Function" dialog
Change-Id: I37bdafe640cca00211f1c558f2f2afc5d12d8357
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-09-04 09:05:43 +00:00
Nikolai Kosjar
164b72b22a Clang: Check for libclang main header file
Otherwise we will run into compile errors if the libclang dev package is
not installed.

Change-Id: I31c05d9d0e11154f1c3748e6736c143805d310e8
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2015-09-04 08:59:51 +00:00
Eike Ziller
c868b9f3ed Merge remote-tracking branch 'origin/3.5'
Change-Id: Ife5fdcd71b0adc99d4297a28a64515e9e93d7864
2015-09-04 09:19:28 +02:00
Robert Loehning
e873f872ef Squish: Reanimate tst_opencreator_qbs
Change-Id: I00d1d1baea71e5b63a1a6b7c11aaf47e74082a21
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-09-03 14:58:53 +00:00
Christian Kandeler
d58002dd46 QbsProjectManager: Fix handling of cross-compilers on Windows.
Task-number: QTCREATORBUG-15011
Change-Id: Iea84e1a545bc6f414a35602e1d0c8c903901e813
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-09-03 14:13:46 +00:00
Daniel Teske
2ffe1ac68f BaseQtVersion: Use canonical filepath in a few places
I'm not sure whether this is better, but this fixes:

Change-Id: I2d7a606a59cdb25374cc75fed24ae14537eb3a55
Task-number: QTCREATORBUG-14968
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
2015-09-03 14:02:04 +00:00
Tobias Hunger
396c033707 Project: Fix possible crash with projects without build configuration
Do not allow to rename buildconfigurations if there are none.

Change-Id: I3da2ea9568c2dabf555685c3b27192bea8dcc009
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-09-03 13:15:56 +00:00
Eike Ziller
2186d0815a Another try to fix that installer doesn't suggest start menu folder name
Change-Id: I584fe0ef595472144302252005d78ef66d8e0f99
Task-number: QTCREATORBUG-14674
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-09-03 13:12:29 +00:00
Miikka Heikkinen
2a2902dedb Update three.js in Canvas3D project template
Change-Id: I33d97c830d5bb63e75e1e17d908756bbc664747e
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2015-09-03 12:53:29 +00:00
Marco Bubke
a7e3c07580 Clang: Update includes after reparsing
Change-Id: I783cc0b536f880ce736cddf530f0363691cd6e77
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-09-03 12:01:07 +00:00
Christian Kandeler
7e47ae111d Utils: Connect to PathChooser::pathChanged() in ProjectIntroPage.
Instead of rawPathChanged(). This is consistent with the rest of the
code, which uses PathChooser's path() accessor, rather than rawPath().

Change-Id: I3880e748fa53ae89756cf6e6d2df5de203281d45
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-09-03 11:57:13 +00:00