Fix possible crash

I introduced this when splitting up my patchset for review.
Bad patch is 4a9130a0

Change-Id: I08729c75e0e9c5d8d345e4e0bb4dfa865fdedcaa
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
C++ Macro Usages: Fix search result encoding and highlighting.

If the result lines contain non-Latin1 characters (e.g. in comments),
the output is garbled. Using QByteArrays with toUtf8() and fromUtf8()
doesn't seem to be an alternative, as in this case the macro.offset() is
no longer valid.

So it seems to be the best to use QString for the result lines.

Task-number: QTCREATORBUG-7122
Change-Id: I57128c9c9f3eb182f079e305e97e9c5ac0a1bc61
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
C++: Fix outdated macro usage info in documents.

Record revisions of documents in macro definitions and usages. Then,
when searching for usages, check the revision of the documents against
the revision of the macros. If they are out-of-sync, repreprocess the
documents to get up-to-date info.

Task-number: QTCREATORBUG-7872
Change-Id: I846bb52ec660024728ab117a9fb7e43382a50e63
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Debugger: s/Profile/Kit/

Change-Id: Ic0e5e8f784953d721833fff78a846ff13844a298
Reviewed-by: hjk <qthjk@ovi.com>
QMakeEvaluator: Set pro file as source for internal variables

Task-number: QTCREATORBUG-7006

Change-Id: I3f599f92d03b6f9fdf65b12cf4090e28cc497fbd
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Doc: Change Local Display Format option in Locals and Expressions view

Task-number: QTCREATORBUG-7352

Change-Id: Ifbc1db45e591c27a12f7b215deab209857d08174
Reviewed-by: hjk <qthjk@ovi.com>
CplusPlus: Remove pragma suppressing gcc warning.

The respective warning was provoked by Qt code, which has been fixed and
no longer causes that problem.

Change-Id: I1b9efc2e6f9d2af7719d4c921f37f8335c351bfe
Reviewed-by: hjk <qthjk@ovi.com>
DeviceManagerModel: Allow filtering by device type

Change-Id: Id19437fa64594231e1516ed60c913f77a1923fa2
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
C++: removed invalid FIXME.

Change-Id: I05d17e5384bcc75e97c5d901b65a582516a5d321
Reviewed-by: David Schulz <david.schulz@digia.com>
C++: Fix for missing includes in re-processed documents.

Change-Id: I43b1d5b72c9bf7302e0acb9206c87152e4f0727b
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Debugger: Fix crash

Change-Id: Id21eb93178c97b3317d1ac7951f81365dfa6d31a
Reviewed-by: hjk <qthjk@ovi.com>
Doc: update Valgrind menu names

Update screenshots.

Change-Id: Idf90ebcf06b4ee6a8b817ae47fad83fd9c2ae28c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
C++: do not set any highlighting ranges on empty lines.

This can happen when the semantic highlighter (which runs in a future)
calculates a range for a document that has been changed in the meantime.

Task-number: QTCREATORBUG-7995
Change-Id: Ibcd1a6ae840e08570a6b6ea4caf411e799ec26c8
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Update japanese translation for 2.6.

Change-Id: I673579a0224df955b041c7a93a5c53e3ef0e7760
Reviewed-by: Tasuku Suzuki <tasuku.suzuki@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
QNX: use QmlApplicationViewer provided by main QtQuick template

Reuse the QML application class provided by the standard QtQuick1
template.

Extends qtquickapp/qmlapplicationviewer/qmlapplicationviewer.cpp with
code paths for Q_OS_QNX

Change-Id: I04a283078299f662d630d9387cedc65100f545a0
Reviewed-by: Mehdi Fekari <mfekari@rim.com>
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Attach to Core: Sort by file name

Files and directories are interleaved, but it's better than no sorting at all

Change-Id: I1852fad1feb9de7fb589d00822429184a25aa8d4
Reviewed-by: hjk <qthjk@ovi.com>
Debugger: Fix showing/hiding of form rows

Change-Id: I1f6afa472d5ca30c15a84a49ea852063247c5210
Reviewed-by: hjk <qthjk@ovi.com>
Kit: Improve the options page

* Update warning icon as changes happen
* Make clone clone the current settings, not what used to be there
  before changes were made
* Make sure the edited entry is visible in list view
* I find the KitModel much easier to understand now

Task-number: QTCREATORBUG-7862
Task-number: QTCREATORBUG-7803
Change-Id: I124c2e5a96cea7386896084e1027ba79a8be20b7
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Include qbs files in qmake project tree

Change-Id: I864b1b500d385c91e3cac6725202ad7f48f11b17
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
QNX: Fix BlackBerry Qt version detection

Change-Id: I2b386c0c05d07a85bb029ce6dc5fabae997a679f
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>