Include the correct header for std::lower_bound.

That is <algorithm>. Relying on indirect includes is bad, mmkay?

Change-Id: I245885672004cd406f98c82231aaa38a5cfe464c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Fix a crash on codestylesettings

Task-number: QTCREATORBUG-10235

Instead of rely on ICodeStylePreferences::destroyed() signal,
when all other objects might be in destruction phase,
clear project code style settings explicitly, when project
closes.

Change-Id: I0dd6675d54c5495d4006acbc9ad12c95f1d0a00c
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Fix a crash on codestylesettings

Task-number: QTCREATORBUG-10235

Instead of rely on ICodeStylePreferences::destroyed() signal,
when all other objects might be in destruction phase,
clear project code style settings explicitly, when project
closes.

Change-Id: I0dd6675d54c5495d4006acbc9ad12c95f1d0a00c
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
CppEditor: Fix insert position in MoveFuncDefToDecl

When a class was directly assigned to a variable the definition was
misplaced right after the variable.

Task-number: QTCREATORBUG-10303
Change-Id: I2cdfee784b085d856d7ff5ebe62bf791b9a6754e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
iOSProbe: Cosmetic cleanup

Style fixes and remove unused symbols.

Change-Id: I941c99e08842940a7c75b055e4665b33ecda873a
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Git: Fix compiler warnings

Unhandled enum values in switch

Change-Id: I6533d8773ff4fa663a1e33c1f95c81f53790b642
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
CppTools: Adapt C++ locator names to reality

The new names are:

* C++ Methods in Current Document -> C++ Symbols in Current Document
* C++ Classes and Methods -> C++ Classes, Enums and Functions
* C++ Methods and Functions -> C++ Functions

Further notes:

* "C++ Classes" stays the same.
* The term "Methods" was removed since "Functions" says it all (member
  functions, non-member functions). Because of this, the "m" shortcut
  for this filter does not fit so well to the name anymore.
* "C++ Symbols in..." - "Symbols" means the same as in the C++ Search
  dialog: classes, enums, functions and declarations

Change-Id: I8e5f410f2dcb1fafe83d0a1c8607f4c17eabbb8c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
AndroidExtraLibraryListModel: Fix crash on removing libs

Steps to reproduce the crash, start with the list a b a c, select the
second a and the c. Click on remove. The removeEntries will find that it
can remove two consecutive entries in one beginRemoveRows/endRemoveRows,
but will wrongly remove them starting at the first a.

The fix is too simply order the modelindexes in descendeding order such
that removing entries does not modify the rows.

Change-Id: I4be349f4bab8137075da0d8dfcef24f10dc25f92
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Remove unneeded #ifdefs.

Change-Id: I696133c42a142a8c596703fc8ce0250b58993d99
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Make the pattern used for installers overridable

Change-Id: If34cd0edcf50884ffaee8879628acaa019a432ac
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Doc: fix link to deploying to BB10 topic

The title was wrong, which was causing the fixnavi
script to fail.

Change-Id: I631c8f3dcdbebbe3ee4f6bc003986929da0813c6
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
WelcomePage: Bring back the tutorials page

The tutorials page was removed during refactoring.

Change-Id: Iec779d4fcf86f1807e17a5be775698b64ce16655
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Ios: Move tools to <libexec>/ios, make them lowercase, fix deployment

They can't be directly in libexec path, because then they couldn't have
their own qt.conf for resolving the Cocoa platform plugin.

Change-Id: I8f3fae85c548747a7d826c078c7ac1fb0a836b43
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Fix path calculation for Boot to Qt

Change-Id: I090bfe935c0c69e7689449ef2b76aff7273445a5
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
ios-sim: fix for for 10.6

Change-Id: I9528b031c80eb59016a4d10f98d315aa0944e21f
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
CPlusPlus: Make Environment::hashCode more local.

The function call itself shows in the critical path. Let's shave
off a few cycles by making it easier inlinable.

Change-Id: I14b06de27e99fa00f3be757193f2037792b18e01
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
CPlusPlus: Remove unneeded utf-8 roundtrip.

Change-Id: Iae3dcba305bac8a632c1ae94586fd687509ed92d
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
CPlusPlus: Fix parsing of <: :> <% %> %: digraphs

See 2.5/2.12. Most useful feature ever.

Change-Id: I3f92256733e15078df56205dba9746ffff8ed145
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Doc: Bare Metal Devices plugin

This topic needs more information about the
necessary Qt version and the "fake Qt" mentioned.
Also, I cannot try this in practice myself, so
steps might be missing.

Change-Id: I143a54b8559840c3e9ad6dd5d293de160d67867d
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Update minimum required Qt version.

We require Qt 5.2 for full functionality nowadays.
It is possible to use Qt 4.8.x with restrictions.
(Qt 5.0 and 5.1 do not work because of problems with embedding
Qt Quick 2 and other Qt Quick related issues (e.g. QTCREATORBUG-10273)

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