Minor: Fix wording
Make mutex nonstatic.

There is no need for it to be static as DUChainPrivate already static.
Also it can (and does) leads to crashes when closing KDevelop.
Merge remote-tracking branch 'origin/1.7'
Merge remote-tracking branch 'origin/master' into frameworks
Fix sizeHint for IdealToolButton

As title says:
Use sizeFromContents from style rather than fixed spacing and margin, to get
the correct size hint. This is similar to what is done in QToolButton and fixes
truncated text for styles that add extra spacing (consistently with
sizeFromContents) when rendering toolbuttons (this is the case for breeze)

Note: this also removes a "FIXME" comment

REVIEW: 119898
Merge remote-tracking branch 'origin/1.7'
Merge remote-tracking branch 'origin/master' into frameworks
Use QShortcut instead of grabbing focus
Use QShortcut instead of grabbing focus
Improve SourceFormatterController::formatFiles by using KIO::storedGet instead of KIO::NetAccess
REVIEW: 119906
Replace KIO::NetAccess with asynchronous KIO::storedPut in FileManager::createNewFile
Also use QFileDialog instead of KInputDialog
REVIEW: 119910
For assistant modifier use Ctrl/Command on OSX, Alt on Win/Linux
For assistant modifier use Ctrl/Command on OSX, Alt on Win/Linux
Have OpenProjectPage set focus to the location edit when shown

BUG:338398
Have OpenProjectPage set focus to the location edit when shown

BUG:338398
port unit tests to ecm_add_test cmake macro

simplify CMakeLists.txt by using ecm_add_test cmake macro in :
sublime/tests
projects/tests
language/highlighting/tests
language/duchain/tests
language/backgroundparser/tests
language/codegen/tests
shell/tests
util/tests
vcs/dvcs/tests
vcs/models/tests
serialization/tests
plugins/standardoutputview/tests
plugins/quickopen/tests
plugins/grepview/tests
plugins/git/tests
plugins/projectfilter/test
plugins/bazaar/tests

REVIEW: 119873

Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
fix bazaar plugin unit test

fix build failure: http://build.kde.org/job/kdevplatform_frameworks_qt5/142/
Install a plugins to a versioned kdevplatform subdirectory

REVIEW: 119919
Map indices to source/proxy model when activating/selecting items.

We have code in place to automagically add a proxy model for
filtering purposes in the OutputWidget. The client IOutputViewModel
does not know about that, and we must never query its API with
indices from the proxy model. Similarly, we cannot select/scroll
to indices from the output view model when we added the proxy
model inbetween.

This patch ensures we always properly map between the two models.

BUG: 338377
Cleanup code a bit.