It seems pointless to have two identity-related concepts in parallel.
The new approach is as follows: The identifier is a Core::Id. If the
client code supplies a fingerprint string (as needed for auto-detected
devices), the id is derived from it, otherwise it gets created from a
newly generated UUID.
Change-Id: I680afa6cd2fdd43ec1c461616ba982b3ff55c73a
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Add a create method to the IDeviceFactory and make it replace the
createWizard method. The create method may or may not pop up a wizard.
Remove IDeviceWizard as suggested by Christian.
This patch also adds a canCreate() method to check whether a factory should
be asked to create something or not.
Change-Id: Iaf16aa407530022e8f3804093b58dc3f120f7599
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
The file should be added to the repository after its creation.
Task-number: QTCREATORBUG-7246
Change-Id: I3ac055c4e7391a9117e13494f52db5df60b63411
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
Qml components should be upper case. Makes the regular expression static.
Change-Id: I46650df9b9ae10ceaf3bfb7f888db075f572735b
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
Using PathChooser and ClassNameValidatingLineEdit improves the usability.
Change-Id: Ib01ee99222ea495b37b0e839fbc68981b071d0a6
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Wait 5s+ time to start the query instead ot 5s seconds in total
(should be better on slow machines, as the waiting time is not shortened).
Change-Id: I11104b314c4388a0f8ab84fca662f2e57e6e9b6a
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
std::list is in #include <list>
/home/thiago/src/qt/creator/src/libs/cplusplus/pp-engine.cpp(110): error: qualified name is not allowed
std::list<PPToken> tokens;
^
Change-Id: I02a08afe6a678d66d528ce5dfca08317735704e8
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Call "SET BINDING" instead of "EVALUATE" when setting
values in the property inspector. This solves problems
related to setting of some property types such as URLs.
Change-Id: I256aef7db52b2e029d2b8ad6d17723eb1c46006f
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
The cpp slave will be interrupted when inserting breakpoints.
Track in this case the cpp engine state until it's running again.
Task-number: QTCREATORBUG-7230
Change-Id: I4cf275916d8f0581916d95f2f440ea12358aeeeb
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Core::mainWindow() is now a static function.
Change-Id: I8da4b72fc47f30fc20a3a2db725d13760a095814
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Log the service version along with the service name and state.
Change-Id: Ib2e7829d89651998dccffbaa0432908158b9dafd
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
- Use 'qml_debug' or 'declarative_debug' depending on Qt major
version.
Change-Id: I10d1973b34994675b07b1d06d5e81b584d132fb4
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Help plugin and QmlDesigner have been disabled for Qt5.
Change-Id: I9345d0fd00f9a575333dc972cc7adbdf146cd6cb
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
Renamed gui -> widgets.
Renamed declarative -> quick1.
With qbs the usage of qt.widgets and qt.quick1 with Qt4 is supported.
Change-Id: I6cadaf34527f1f880d74ced7d2d18dd9801b7de1
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
Doing it in (CppEngine) EngineShutdownOk will result in a write to
an already closed socket.
Change-Id: Ie9712f33d57348ecb27e31eaeb44f42f159a400c
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
When adding a device with an existing internalId, the devicemanager
will now replace the device with that id, calling remove on the old
one and adding the new one afterwards.
The DeviceManager also emits a deviceUpdated signal with the id of
the device that was changed.
Change-Id: I88c789de355f3e059dbf909c20f58548a2fd46fc
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
As parentIds are now known, query only root objects initially and
build the object tree lazily.
Change-Id: Ic6895ad8a0dd8dc2a2b1d8aa71fdf6766974eea5
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Zoom Tool and Select Tool are combined for QmlDebugger.
The Zoom Tool is enabled only for backwards compatibility.
Change-Id: Id66eb94ce0535ccac169fa5a80f937370a0f9f6f
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
If the virtual projectKind item has no children it is deleted.
Change-Id: I5f86b18043ed937b3f38c8e1591a529af934043a
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Now that we have a polymorphic device class, we don't need to
attach all the virtual functions to the factory anymore.
In addition, the isUserEditable() function is gone, because it is
no longer needed in the presence of device-specific widgets.
Change-Id: Ie8f0be95653cb83e1618885b08cdd2aacf5dda59
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
- Add auto-detection label text.
- Fix editing artifact that led to the ampersand character not being
removed from the search string.
Change-Id: I4221083e5a8d8ebfd66d9806cf96f9f6d9714d32
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This is needed for an upcoming change that will move a number of virtual
functions from IDeviceFactory to IDevice.
Change-Id: I3658c057583853359b3f0e901f5db78502e1a993
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
When debugging in asynchronous mode, the interrupt command
needs to sent immediately for the queued commands to be
processed.
Change-Id: I4f45f837ab843786992f54421599d897f9235abe
Reviewed-by: hjk <qthjk@ovi.com>