Fix matching of partial paths on Windows

The paths against which the match is done always have forward slashes (i.e.
uniform separator on all platforms). However the needle passed in has
backward slashes on Windows usually, since this is how the paths are shown
to the users and what is natural on windows too. Even explicitly using
forward slash in the needle does not work here, since then the needle is
not detected as containing a path (hasPathSeparator is false since it uses
the native separator).

Since it seems that the code internally favors the 'uniform' separators
using slashes, simply convert the needle from native to uniform separators
and use the forward slash to decide whether the needle has a path in it.

Side effect of this is that it is now possible to use forward slashes when
typing into the locator UI on windows. The opposite does not work on Unix
though. That could be considered a feature though for cross-platform
developers.

Task-number: QTCREATORBUG-12007
Change-Id: I5064bd9c60936466dd04671ef42a578df26ea7b8
Reviewed-by: David Schulz <david.schulz@digia.com>
avoid that a bad qmakespec path crashes the evaluator

assigning a relative path to QMAKESPEC or QMAKESPEC_ORIGINAL (in the qt4
windows legacy code) would lead to an assert further down the line.
just ignore such attempts silently.

Task-number: QTCREATORBUG-8477
Change-Id: Ie53d0ef004c743284b85de4e89f112e0161ff4b7
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Squish: Add test for generic highlighter and MIME types

Task-number: QTCREATORBUG-12097
Task-number: QTCREATORBUG-12149
Change-Id: Iebb5711c437415bcbb2b3bae72aaa7bc98c34905
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Squish: Use dumpIndices()

Change-Id: Iecfaec20c54014b361268947145f80409103388e
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Core: Fix locator file filter test.

Use forward slashes as separator in the test data.

Change-Id: Ib832f0c72dc1694b2b2e230e32a274b96956c44b
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
ResourceNode: Fix matching on '/' node

A ResourceTopLevelNode should only prioritize it's own child '/' node.

Task-number: QTCREATORBUG-12297
Change-Id: Ia9834d7111622d4558e1a2c21b602b11ff5db139
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Squish: Avoid pointless waiting and warning in selectBuildConfig()

Change-Id: Ia092d7e7f9af78c23512fa193635ff52fead822d
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Prevent flicker on MiniProjectTargetSelector show

Reproducible on Mac OS X.

Set position before changing the visible state.

Change-Id: I8a7e73dae94ceb865ea8a7ef4cec4112220888de
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Version bump

Change-Id: If27d07243cb96a35b8ada5f3137c0edc61d60fc5
Squish: Stabilize tests using getEditorForFileSuffix()

This is especially useful when switching between files assigned to
the same type of editor. (e.g. cpp header <-> cpp source)

Change-Id: I0179e7086a6f25cb0ecc0b69da1f61adb21d8ac2
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Fix setting DocumentManager::currentFile when clicking into split

This broke when introducing delayed setting of the currentEditor when
the context changes. Simply move the logic from the document manager to
the editor manager, where it arguably belongs to anyway, and also set
the currentFile delayed in that case.

Task-number: QTCREATORBUG-12264
Change-Id: I67ee3f9a02e62cfa67671629c956a4290361cba8
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
Fix up version bump

Change-Id: I00671d20c3adc7aebcc5e1a984e4c0475195ba74
Squish: Let tst_HELP04 run on Qt 5.3

Change-Id: I41a3121e616e5709f10e8d03da2fb71356d06498
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Squish: Fix getEditorForFileSuffix() and simpleFileName()...

...when using filenames coming from Squish's treeview syntax.

Change-Id: I0296dbabb09af11dde5ed4716b1b1f48f05c47e1
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Help: Fix filtering in topic chooser

Probably broke with a74de6af81b659ef0dcbbbe25f94d9b527c2be98

Change-Id: I6df2b7ae88d6bd337cd110d6788dbb68ca73eb16
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
C++: fix nested anonymous with __attribute__

Task-number: QTCREATORBUG-12345
Change-Id: Ib2316ebdc81393b38185b9cb659fb85b78753e7b
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
CodePaster: Do not crash in case of invalid default protocol

Task-number: QTCREATORBUG-12364
Change-Id: I6e9bf75dd6b8df187a6802e9d90c3d986cc86a5c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
QMake: Fix missing qrc files in locator/search/...

The QMake project didn't put them into files() anymore since qrc nodes
where made folders.

Change-Id: I8e9354699cfccc4fdd4f5ce39baa30a9d61ce051
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Update qbs submodule.

To the head of the 1.2 branch.

Change-Id: I3646c499af05fc0488d6e712b99b9a53636ca935
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Add changes file

Change-Id: If5e742f658602e5254a9350902342f8452934674
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>