OutputPanes::hasFocus() needs to check the window's focus widget

QWidget::hasFocus() returns false if the window isn't active.

Task-number: QTCREATORBUG-13361
Change-Id: I7152ec2139bbb255c2a722e378a111dc4bc2ed62
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Doc: Update Digia references to The Qt Company

Change-Id: I7f403fab3b54e397336a696a83496f2f0e863cff
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Fix warning when saving documents with empty file names.

"QFileInfo::absolutePath: Constructed with empty filename"

Change-Id: Ib5d82681aafee54c309c2beb31c534a26e791737
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Implement DiffEditorDocument::suggestedFileName().

Try to derive a git-format-patch type file name from
the description.

Change-Id: I581f4ba87a5ac4b82ca6519be8aa13fb4b4ebe43
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Limit length of file names in DiffEditorDocument::suggestedFileName().

Change-Id: I168831b24bcece5ef825825c448edf684f4f536d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
DiffEditor: Save description along with diff.

Save complete, git-applicable patch when saving the result of
for example 'git show'. Strips some Creator-specific tags
off the description and reformats the description such
that it is accepted by git.

Change-Id: I739d85a7263f97e2149a2794974ba026f2eca067
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
DiffEditor: Make it possible to paste snippets.

Add property "plainText" to DiffEditorDocument which
is queried as last resort by the code paster.

Task-number: QTCREATORBUG-12546
Task-number: QTCREATORBUG-9669
Change-Id: Iea9cd0d296bcc8e8a7300072c1a4a9068c2ab102
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
InfoBar: Fix wrong value used for text color

Change-Id: Ib127889c96892c2c744a97992e4fc1faae23316d
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Squish: Wait for search results consistently

Change-Id: I956bf543505c5391a78325070b72e3affc5133a6
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Squish: Wait longer for indexing docs

Seems to timeout frequently on Windows test machine.

Change-Id: I07827555d1c5044a37e708051704644995fe4b17
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
qmakeproject: set qmljs language preserving other languages

Change-Id: Ifebe972a20359841d99e6a892776811692c8d092
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Fix reloading documents when they are changed fast, multiple times.

This can for example happen when doing interactive git rebases.

* When a file was changed after we reloaded it, but before we removed
+readded the watcher, we wouldn't get a notification for these changes.

* When we got a file changed notification while we were in checkForReload
(because of event processing of the dialog, or file loading), the
notification was dropped and only processes when a check was triggered
again (e.g. at window activation, or when some (other) file changed)

Change-Id: Iab1861a8f05c739a3405bc1afe90ae6f2145057b
Task-number: QTCREATORBUG-9745
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Fix building with system botan

USE_SYSTEM_BOTAN=1 didn't include ctr.h
which commit 45de9ee23ff00d56784b305416242817363162ea
requires

Change-Id: Ifab3c494753ca039ae15b1a02211b1502ba2d3d7
Reviewed-by: hjk <hjk121@nokiamail.com>
Qbs: Make pass on cpp.defines correctly to the C++ code model

When passing -DFOO to the compiler it will treat that as similar
to "#define FOO 1". Do the same when passing FOO on to the code
model.

Task-number: QTCREATORBUG-13384
Change-Id: I236d4731435e0559f75a3435dad9a8d935d42042
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
QbsPM: Do on-demand profile setup when profile name is requested.

This is necessary because the profile setup also entails putting the
profile name into the configuration we pass to the parsing step. If a
Kit has never been used to set up a qbs project, "qbs.profile" will not
exist in that configuration and the project cannot be parsed.

Task-number: QTCREATORBUG-13400
Change-Id: I32d767c36bd0ff33521137604a7826d9242a8712
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Theming: Apply theme settings

Missed when the widget moved from its own tab to General.

Task-number: QTCREATORBUG-13396
Change-Id: Ic43194d54b8ff747f198ea0666fe78e403449448
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Place each statement of default snippets on their own line.

Change-Id: Ia10d41887e6adbb0603a18fbf69bb1ce67eeac73
Task-number: QTCREATORBUG-12253
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
QtSupport: Fix mkspec detection for Qt4/MinGW.

This is a workaround for QTBUG-28792.

Change-Id: I6a6de3a44569563e6013a388875035bda9772bed
Task-number: QBS-703
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Debugger: Fix async tooltip handling

For now, only the gdb engine can handle complex tooltips
requiring async re-evaluation, cdb and lldb will show
and expand only items that are available in the Locals view.

This patch disables also the save/restore feature for
pinned tooltips.

Task-number: QTCREATORBUG-13255
Task-number: QTCREATORBUG-13052
Change-Id: Ic25616fede0f5c4343a92b631f01e60bfc5e9d81
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Fix regressions in KitMatcher

Task-number: QTCREATORBUG-13323
Change-Id: I48ddc83c40396a336a4c8e83ef4f5148e131c930
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>