Tobias Hunger
7d3ba0e9b4
VCSmanager: Fix QTC_ASSERTs
...
These tests are needed to make sure no broken data ends up in the cache,
causing inconsistencies in the cache. The asserts did a good job there,
catching a couple of issue, so I would like to keep them the way they are.
QDir is not needed at all as the data _should_ be perfectly fine already
anyway and should not be used if the asserts are not evaluated.
Change-Id: Icf113f8b02b6c7c7ba7498386b8465b2644daae8
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-01-13 14:16:45 +01:00
Eike Ziller
61082af6af
Doc: Location where "local" data is saved (e.g. compiled helpers).
...
Change-Id: I21ccfd58cbcaae6231b88d3a9039eb413f4be1c2
Reviewed-by: hjk <qthjk@ovi.com >
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com >
2012-01-13 13:07:53 +01:00
Kai Koehne
f0a82fe63e
QmlProfiler: Coding style fixes
...
Change-Id: I302ea39510043b53464af47c45210c19dd232690
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com >
2012-01-13 12:33:23 +01:00
hjk
7ef450af6d
debugger: better guess at engine capabilities in dummy engine
...
Change-Id: Ia37086a126df7f7d84b9509c54472c5d9be6b4ef
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-13 12:19:44 +01:00
Yuchen Deng
8e1f24a638
Git: Fix error encoding of output text in some case
...
Change-Id: I0bf4269266e725d567b3ff69e4a3ea202911b3ab
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-01-13 11:28:48 +01:00
Christiaan Janssen
5fede0d497
QmlProfiler: tooltips for the labels column
...
Due to space restrictions, the descriptive text of events
in the labels column of the timeline view are elided. This
patch adds tooltips on mouseover with location and details.
Change-Id: I229988e114f21e4d9575dff137aa91918ad1afa3
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2012-01-13 11:28:43 +01:00
Fawzi Mohamed
b43dade44d
qmljs: fix racing condition with importPaths
...
fixes QTCREATORBUG-6768
Change-Id: I53646df69aa9d0ce97006c68826b02a1452fe4d9
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2012-01-13 11:26:00 +01:00
Leandro Melo
c287d90604
C++: Rename source/setSource to utf8Source/setUtf8Source
...
Continuinng a previous commit... This is in order to make
the interface clearer.
Change-Id: Ic1b05217f878578bc84a064927507b75981c47d6
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2012-01-13 11:22:28 +01:00
Erik Verbruggen
40810e7596
Changed Q_TYPENAME to typename for Qt5.
...
Change-Id: Id831fe1268cbd7fcf3c25378876d969752fa2ebd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-13 11:21:39 +01:00
Friedemann Kleint
274d830148
Compile WelcomeMode with QT_NO_CAST_FROM_ASCII.
...
- Add missing QLatin1String
- Replace QString::left() by QString::truncate()
- Sanitize eed model code
Change-Id: I3c3b71d8395b7019db662b8aaecf7d1647881a80
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2012-01-13 11:16:11 +01:00
Kai Koehne
f588438316
Mercurial: Remove unused method
...
Change-Id: Ida9e5997f0a0c41162d7a237f4065a2d1dd567c3
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-13 10:57:11 +01:00
Kai Koehne
2ce9863ad7
ProjectExplorer: Fix "cannot run" tooltip
...
Since change a6ff74c0d8
runMode is an enum.
Change-Id: I696c71f2acb54097eb72cbaa39a72f5056b65bf7
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-13 10:52:04 +01:00
Leandro Melo
fd179ed951
C++: Accept UTF-8 byte arrays in type of expression
...
The model uses UTF-8 internally and it makes more sense to only
convert when necessary.
A following commit will rename the source/setSource methods in
document for more clarity too.
Change-Id: I960ea0754efabd1436ad4b4299a57faeb65a8bee
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2012-01-13 10:17:03 +01:00
Eike Ziller
edcb065edb
Windows build fix.
...
Change-Id: I4b7223e16eb727e9d98cc973eb64cb4f9feccdcc
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2012-01-13 10:10:26 +01:00
Daniel Molkentin
b49a817bfb
Fixes for checkInstalledFiles script
...
- work on windows
- show unified instead of context diff
Change-Id: Id3ce927f9fdc9783ccb927bcac7d921941865023
Reviewed-by: Bill King <bill.king@nokia.com >
2012-01-13 10:09:40 +01:00
Daniel Molkentin
6340f5cf37
Fix rpath call (not calling chrpath through shell anymore).
...
Change-Id: Ia966c154e0827ce7dc0c4d0a3a45d234f82d0e90
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-01-13 10:09:22 +01:00
Eike Ziller
f7ca05e4b9
Let Command construct its description (former defaultText) itself.
...
Instead of doing it duplicated in the general and the fakevim shortcut
settings.
Change-Id: Id4b0e5b0630f1e94c825528f1c038776dc205aa3
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-12 19:50:58 +01:00
Daniel Molkentin
de26dad959
Add bindist and deployqt targets
...
Change-Id: Ide9a41d34e73e99959fca18053e06978f724b5aa
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-01-12 19:24:30 +01:00
hjk
e96c5237cb
debugger: we do not need the output of -stack-select-frame
...
Change-Id: I4eac412f0505efa356bf6e185e8d45d669b9f511
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-12 18:02:38 +01:00
hjk
47fedc3d8a
debugger: sort entries in Windows->Views the same way as in the dock context menus
...
Task-number: QTCREATORBUG-6179
Change-Id: I1bc02ebce6de7ff5c12d7baf7c585a414f3972d5
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-12 17:05:47 +01:00
Leandro Melo
3b019fe25a
Warning fix
...
Change-Id: I3e6e57bdbcb47b58b30623f664fe47c2c31b4029
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2012-01-12 16:42:12 +01:00
Aurindam Jana
0c9af57dbd
QmlAdapter: Set the debug client when status is enabled
...
Change-Id: Ife17f8c9fc7eeacbf1b3a8929cff7b4aa6918c86
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2012-01-12 16:34:36 +01:00
hjk
e29a325409
debugger: also translate special strings when editing values in L&E
...
Task-number: QTCREATORBUG-5839
Change-Id: I5720a679d2ef29cf870e12760964525bec141d0e
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-12 16:05:36 +01:00
David Schulz
f09e849c96
Highlighting single characters
...
only if you're searching for whole words
Task-number: QTCREATORBUG-6372
Change-Id: I10700258cacdc5af52554824a971041d6a1c2b22
Reviewed-by: Leandro Melo <leandro.melo@nokia.com >
2012-01-12 15:36:14 +01:00
Leandro Melo
f04be782ab
C++: Preserve original indentation in extract function
...
Also extend the refactoring changes to allow for reindenting.
Task-number: QTCREATORBUG-6797
Change-Id: I515c9a37d9e62e1d5de52ff99bd492e739a81885
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2012-01-12 15:32:02 +01:00
Tobias Hunger
80a6230144
Add some const
...
Change-Id: I81173280ad3e76ef62e4aefaf6914c54cfa1eac3
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-12 14:52:58 +01:00
Friedemann Kleint
9128fc2ab0
CppEditor: Compile with QT_NO_CAST_FROM_ASCII.
...
- Avoid unnecessary conversions
- Add missing tr().
Change-Id: I3c0dd627a3621929c9c6fc71db6924fa513e34a7
Reviewed-by: Leandro Melo <leandro.melo@nokia.com >
2012-01-12 13:50:30 +01:00
Kai Koehne
9e8f935a03
RemoteGdb: Request remote setup also if no start script should be used
...
Change-Id: I75ac2792b19cdb2f06ae07a59b6c9c2b2574084a
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-12 13:45:05 +01:00
Robert Loehning
dac69143af
Squish: Added helper function for opening files
...
Change-Id: I756822299e591010eb926ee46600f4b5231d9318
Reviewed-by: Bill King <bill.king@nokia.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2012-01-12 12:16:04 +01:00
Friedemann Kleint
b82475b0e9
Change asserts() to soft-asserts in Vcs-Cache.
...
- Prevent crash when creating a project.
- Use QDir to normalize the path (as it is constrcuted in
the assert anyway).
- Print proper warnings.
Change-Id: Ib6fa3c564aff20b73d6efc08ca3a13688fd97dce
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-12 11:20:57 +01:00
Kai Koehne
1bdb4a69c9
Add resolution of QTCREATORBUG-5975 to changes-2.4.1
...
Change-Id: Id8c9cc05520bb4865b695de66325f732f700ea0e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-01-12 10:57:05 +01:00
Daniel Molkentin
92cc5146d3
Convert unixdeployqt.sh to python script compatible with windows.
...
Change-Id: I6dc30b6f9ca2268257ea236a574ee9dea152daa3
Reviewed-by: Bill King <bill.king@nokia.com >
2012-01-12 10:27:03 +01:00
Alessandro Portale
a58b07cfdd
Native dir separators for PluginSpecPrivate::read error output
...
Forward slashes still look strange on Windows.
Change-Id: I64c6b1eb8f541a761c6534abc184ce7acb2c630c
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-01-12 08:19:49 +01:00
hjk
4a43336ad8
debugger: make Shift-F5 exit when debugging a core file
...
Task-number: QTCREATORBUG-6111
Change-Id: I18c10412ac9637261bd4d83dcd7e6bbff6fdbe03
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-11 19:29:39 +01:00
David Schulz
7abc4c18dc
Set focus to the editor after selection change in outline
...
Task-number: QTCREATORBUG-6306
Change-Id: Ia60193ba2c4204532798fb4f7eade434d7510ff5
Reviewed-by: Leandro Melo <leandro.melo@nokia.com >
2012-01-11 18:28:47 +01:00
Thomas Hartmann
af290c14e8
WelcomeScreen: layoutfix for different languages
...
The x offset was hardcoded. Using anchors instead.
Change-Id: Ie033395d7083dad3aa01e2f7367f3834389213f6
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com >
2012-01-11 17:38:31 +01:00
Thomas Hartmann
085d0a1956
WelcomePage: fix platform glitch in tab bar
...
depending on the platform the tab was 1 or 2 pixels of.
Change-Id: I0f6cb3a629c4b5d586f88eefcab7c8de9ac88220
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com >
2012-01-11 16:56:20 +01:00
hjk
9d0e65ae39
More Mac-like spacing in CheckableMessageBox.
...
Task-number: QTCREATORBUG-6244
Change-Id: Ic4bb76be79dea1b220ffe3f45327176305f61e03
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com >
2012-01-11 16:19:36 +01:00
Nikolai Kosjar
f75abb341e
Deploy steps: Introduce SimpleBuildStepConfigWidget.
...
This simplifies some deploy steps and replaces
RemoteLinuxDeployStepWidget.
Change-Id: I4ad82c498cee0f15e1c93bf915cd48355017eb84
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com >
Reviewed-by: Paweł Polański <pawel.3.polanski@nokia.com >
2012-01-11 16:02:19 +01:00
Aurindam Jana
2d88b3d905
QmlDebugging: Evaluating expression
...
Update Locals when evaluating expression and also when
activating a specific stack frame.
Change-Id: I40ef12e980e67add98c7cad1ec4cd615bf4763ec
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2012-01-11 16:02:17 +01:00
Aurindam Jana
8bab001016
QmlJSDebug: Add a Debug Message Client
...
QDebugMessageClient uses the QDebugMessageService to
retrieve and emit the debug output.
Change-Id: Id02d148954dfa613d3fd317b4a533cfed34e345b
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2012-01-11 16:02:07 +01:00
Orgad Shaneh
6a17d889d4
Git: Find correct topLevel
...
Task-number: QTCREATORBUG-6756
Change-Id: Iefaa8cb112f7da6e6eb76ec852f8f61abcd626ef
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-01-11 15:43:58 +01:00
Daniel Teske
553249261d
Show a message box on importing the same build twice
...
Task-number: QTCREATORBUG-6788
Change-Id: I65f40c440fb5dd8927d4a1ec8cf4f352ac2eb4be
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-01-11 15:42:03 +01:00
Daniel Teske
28560dc39d
Tweak import layout on TargetSetupPage
...
Expand the import path line edit.
Change-Id: Iaa7bfd5308a2d94be9adef761499c16d918cc63d
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-01-11 15:41:53 +01:00
Yuchen Deng
58f8d43fff
Git: Fix error encoding if the source file not exist
...
Change-Id: Ia98195f966e79d65f1947c638cb9aacfb9b2f309
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-01-11 15:36:16 +01:00
hjk
62afcd6742
ProjectExplorer: Add an option to pop up app outpuit pane when debugging
...
Task-number: QTCREATORBUG-6764
Change-Id: I24620c00220adccc39271a4d8c02cd0b6aec4b78
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-11 15:29:05 +01:00
Leandro Melo
6aa06579c2
C++: Fix identifier used when finding symbol for matching class
...
Inside declaration from definition quickfix.
Change-Id: Iaf1bb3c70b4c8343a04aaaaedc8416e8be55aa4d
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2012-01-11 15:23:28 +01:00
hjk
680224a425
cvs: compile fix
...
Change-Id: I575261808c3ac8533087c393467c190e10e0d2c4
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-11 14:53:01 +01:00
hjk
f29532c76b
cvs: compile fix
...
Change-Id: Iebf1b18439b31bcfef5ea32aada3a94919e7a7fe
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-11 14:34:46 +01:00
hjk
a6ff74c0d8
ProjectExplorer: use enum instead of QString for run mode
...
Change-Id: Ia906944a489b09afdea59f74afbf759b4caebe37
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com >
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-11 13:52:26 +01:00