Commit Graph

43591 Commits

Author SHA1 Message Date
Sergey Belyashov
14ddaae54e Update Russian translation
Change-Id: Ib6f3b047a318528c6b6ad85b9421bc4b23555e90
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2015-09-10 15:47:10 +00:00
Daniel Teske
2ef1a681d9 QmlProject: Fix wrong "." level in project structure
Change-Id: I6b69a055aa2793ebf0b254ed2b54c008388cc094
Task-number: QTCREATORBUG-15044
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-09-10 14:24:26 +00:00
Eike Ziller
9b8f713bc8 Wizards: Respect cancel button when asking about overwriting files
Change-Id: Ica567fd53aedf074976165401b98558e75e3bb56
Task-number: QTCREATORBUG-15022
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-09-10 14:18:30 +00:00
Marco Bubke
331e9d8878 TextEdit: Add underline support to text settings
Underlines colors was hard coded to the foreground color of some settings.
With this patch you can set the underline color and the underline style
to your taste.

Change-Id: Ibc64c2d2c89bf1827a2cadaf6aee9d50d08cd1ee
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-09-10 13:40:04 +00:00
Marco Bubke
0d20d56183 TextEditor/Clang: Add font settings for clang diagnostics
Change-Id: Iea2b4fabf0f4620b12f88b108eb59c160945c8d8
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-09-10 13:39:43 +00:00
Ulf Hermann
408ac55741 QmlProfiler: Remove OST connection mode
Whatever that is, it definitely didn't work.

Change-Id: Ib15b9dcad6e22d52285a253b234989e55d817268
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-09-10 13:10:30 +00:00
Nikolai Kosjar
915f68deac C++: Revert problematic template specialization changes
This mainly reverts

    commit 81721f6781
    C++: Fix resolving of recursive typedef

    commit 2070431d8c
    C++: Fix resolving of partial specialization

and some bits of other changes due to dependencies. It also reverts

    commit e0594fc9b9
    C++: Fix expensive lookup for boost

which attempted to solve the upcoming problems.

Task-number: QTCREATORBUG-14741
Task-number: QTCREATORBUG-14889
Task-number: QTCREATORBUG-14962
Change-Id: I3f9e1f97199e5199b71da394fc27051c7709bd1f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-09-10 12:00:01 +00:00
Eike Ziller
c87d3e3f4e Normalize file paths on OS X
On a case insensitive file system, we want to e.g.
open 'foo.H' when switching between header and source from 'foo.cpp'
if that is how the file appears on the file system.

Since there doesn't seem to be a way to normalize the full path without
resolving symlinks, do it for each path component in turn.

Also add a header for the mac specific utility functions.

Task-number: QTCREATORBUG-13507
Change-Id: I6cf51fed698d12ac56fa1ec051da1b893bb0b065
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-09-10 11:46:43 +00:00
Orgad Shaneh
a2bd8e11f6 Git: Fix crash
An asynchronous command deletes itself when it ends.
Raw pointer is a bad idea.

Task-number: QTCREATORBUG-15051
Change-Id: Ie2b3a90e308a4bb1e414f924a836d816abf1dfd1
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-09-10 10:35:15 +00:00
Tobias Hunger
edfe837192 Debugger: Add some missing overrides
Quieten some warnings about inconsistent override usage.

Change-Id: I12bea62b17198c39cca05b53da6cf2590afc3b6b
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-09-10 09:05:01 +00:00
Christian Stenger
752f4f459c Utils: Add default parameter to index()
Change-Id: I230a41a10026a80acba7497d72acc3a542565f6e
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-09-10 06:47:43 +00:00
Daniel Teske
3ea963bdcf QtOptionsPage: Fix some more crashes
Since QtVersionItem owns the version, deleting it deletes
the version too. Also ensure that we first set the new version
in the item before updating the ui and then delete the old version.

Task-number: QTCREATORBUG-15004
Change-Id: I27014589f8eeb1c188a189ed4a7f92a4d2ac3bc1
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
2015-09-09 16:00:22 +00:00
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