Compile fix for Win

Change-Id: I486caa6d2c141067e2ef098c1d78b8a36761568d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Introduce new plugin attribute "disabledByDefault".

A plugin might be disabled by default for other reasons than being
experimental, e.g. because it is not expected to be needed by the
average user. This is probably becoming more relevant the more plugins
are added, since we want to keep the start-up time reasonable.

Change-Id: I87927596d5c78e14793c5e8d6f0548eff6b58d59
Reviewed-by: hjk <qthjk@ovi.com>
C++: fix constructor definition parsing.

When a constructor is defined with a single, unnamed argument of a custom type without
extra type specifiers (const...), then the constructor was not identified as such.
There was an heuristic in case the constructor was in the class definition, but not if the
the constructor was defined later.

Examples:

class Arg;
class Other;

class Foo {
  Foo(Arg /*arg*/);               // working
  Foo(const Arg /*arg*/);         // working
  Foo(int /*arg*/);               // working
  Foo(Other /*arg*/)         {}   // working
};

Foo::Foo(Arg /*arg*/)        {}   // used not to work, fixed
Foo::Foo(Arg arg){}               // working
Foo::Foo(const Arg /*arg*/)  {}   // working
Foo::Foo(int arg)            {}   // working

Change-Id: I741e4ba62672ddc99a837fdcdc27996fba5ae6c7
Reviewed-by: hjk <qthjk@ovi.com>
Git: Force showing untracked files if needed

Might be disabled by configuration. Override it.

Change-Id: I262c5c34a840811b635b460c7759f4cfbe93ded6
Reviewed-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Debugger: Add Image viewer with color picker and context menu.

Change-Id: I31673da5ba85e87c9819059a9e6806b5deecff1e
Reviewed-by: hjk <qthjk@ovi.com>
Debugger: allow automatic script loading

Change-Id: I65c79a5cf226f9ce73ef4cb0ae66387fc1c74112
Reviewed-by: hjk <qthjk@ovi.com>
Debugger: allow plain gdb's pretty printers to be used in Creator

Change-Id: If31fe1bce75bef4f4a687c51ef57381f5083814c
Reviewed-by: hjk <qthjk@ovi.com>
Autotools: fixed crash when opening any project

Passed ctor param ignored, field set to 0 and than called

Change-Id: I34d8be9b11826d21506d8c1b2732e25f64593798
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Qt4 project manager: removed extra call of variableValue()

Change-Id: I96a68aed65c868a8c57babc501ec746bc27c8781
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
use QSharedPointer instead of QRefCountPointer

Change-Id: Ie670448bf924e02720eae6db33f2a346e8ac0001
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
CDB: Fix dumping of QRect.

x2, y2 are inner points.

Change-Id: Ibbded22dd35da19894ad3678552519691b62e14f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Set a public GCCToolChain constructor

This allows to directly create a GCCToolChain with no need
to subclass/reimplement and register a related GCCToolChainFactory.
For some plugins (Qnx, Android), this enables to easily create and set
a GCCToolChain for a created Kit and avoid sublass ToolChain and ToolChainFactory.

Change-Id: I8a5865dcee6dbe3e20b976943a5cba75d162a962
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
AbiWidget: Hide abi selection if list is empty

It only contains a single options "<custom>".

Change-Id: Ifad2ea8cabdba6f302de5b2d6d49cb0b042bf4a9
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Fix .ui code completion for some cmake projects

CMake generates the ui*h file in the directory that corresponds to the
CMakeLists.txt. Creator does not have the information whihch
CMakeLists.txt file includes the .ui file. This patch adds a crude
heuristic that searches for the right CMakeLists.txt.

Task-number: QTCREATORBUG-8509
Change-Id: I0f31d9766c6b5988a00ab618026ea052690dd649
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
CMakeEditor: Replace member var with InfoBar call

This changes behavior. Editing a cmake file then building then editing
it again will display the warning again. It currently doesn't.

Change-Id: I8ecb31956102680e953a40dcb5e95bde819aa652
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Fixed generic project considering all files as source files

Now it will only consider C and C++ files as source files by filtering
on mime-type. This seems appropriate for now since it currently only
supports C++ projects anyway.

Also removed the list of generated files, which was always empty since
there is no way to tell the generic project which files are generated.

Task-number: QTCREATORBUG-5451

Change-Id: I12209995db4b30643af1d51123813c24d016f44c
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Git: Added soft Reset

Added Soft Reset to Reset Dialog

Change-Id: Iba5b6a37aef2b89c998c21a3d8ecca1075cbda10
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
CMakeRunConfiguration: Emit baseEnvironmentChanged if the bc changed

If the CMakeRunConfiguration environment is based on the bc environment
then we need to emit this signal on changing the bc or if the
environment of the bc changed.

Change-Id: I005dfa06c92b89f5cf8b901c0f5d929fd8e1bf70
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
CustomExecutableRC: Fix and simplfy code emitting baseEnvironmentChanged

The signal was not emitted if the active bc changed.

Change-Id: Ic44d067836466a748498d32375d109088d14762c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
CustomExecutable: If there's no bc, fall back to system environment

Task-number: QTCREATORBUG-8496
Change-Id: Ie92886fa77ad64ea99a6724b18874537216c7eb7
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>