summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/uploadandinstalltarpackagestep.cpp
Commit message (Collapse)AuthorAgeFilesLines
* ProjectExplorer: Pass Id to BuildStep constructorhjk2020-01-091-2/+2
| | | | | | | | Allows to use constants in fewer places, similar to what e.g. RunConfiguration does. Change-Id: I9d049128206c4acf0ce14b06b66d6c090a7c5242 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* RemoteLinux: Move deployservice ownership to AbstractRemoteLinuxDeployStephjk2019-06-141-7/+7
| | | | | Change-Id: I12cfa0d2cdb171d381e6fde6b0e71fc0c098d746 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* RemoteLinux et al: Use functor for deploy step polishinghjk2019-06-111-16/+15
| | | | | | | More compact. Change-Id: I8adc63aec71de1e57640911300f2699598ef1a01 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* RemoteLinux: Use a structure to return check resultshjk2019-04-251-7/+5
| | | | | | | Instead of the combined bool value + QString * out parameter. Change-Id: I8840f48b74aaacd1b0c0412efd8abcdc2be12d58 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* RemoteLinux: Replace RemoteLinuxDeployConfigurationhjk2019-01-221-2/+8
| | | | | | | ... by base DeployConfiguration and adapt remaining users. Change-Id: I6e2a0ab0c9b682b221de0089f8768b5e621e0025 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Use BuildStep member to decide on initial expansionhjk2018-10-221-5/+1
| | | | | | | | Previously, the build step implementation had the same power as it decided on the widget to use, and the widget had such a member. Change-Id: Id9c783e29610b68cfbbe2c9aa91da831d41c3286 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Merge SimpleBuildStepWidget into BuildStepWidgethjk2018-10-121-1/+1
| | | | | | | | | | The extra m_step member is not worth the abstraction, especially since almost all non-SimpleBuildStepWidget have something similar, too. Also, as several derived classes needed to correct SimpleBuildStepWidget's setShowWidget(false). Change-Id: I6e80d8c84c363b90dc27c70abd7fa6cefa1ed91e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer/all: Re-organize BuildSteps/{Deploy,Build}Config setuphjk2017-12-081-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This follow the rough pattern of recent *RunConfigurationFactory changes for build and deploy configurations. - Collapse the two lines of constructors similar to what 890c1906e6fb2ec did for RunConfigurations * Deploy* was purely mechanical * Build* ctors are split in connects() in the ctor body to create "empty shell for clone" etc and build step additions in initialize() functions which are only used in the create() case. -- Allows to collapse the shared 'ctor()' functions, too. - Move FooBuildConfigurationFactory::create() implementations to FooBuildConfiguration() constructor. That was a strange and unneeded ping-pong between factories and objects, and furthermore allows one level less of indirection (and for a later, left out here, some reduction of the FooBuildConfiguration interfaces that were only used to accommodate the *Factory::create() functions. - Most {Build,Deploy}Configuration{,Factory} classes had a canHandle(), but there wasn't one in the base classses. Have one there. - Most canHandle() functions were checking simple restrictions on e.g. project or target types, specify those by setters in the constructors instead and check them in the base canHandle() - clone() is generally replaced by a creation of a "shell object" and a fromMap(source->toMap()), implemented in the base, there are two cases left for Android and Qbs that needed(?) some extra polish - generally use canHandle() in base implementation, instead of doing that in all Derived::canFoo() - as a result, canCreate/create/canClone/clone reimplementations are not needed anymore, keep the base implementation for now (could be inlined into their only users later), but de-virtualize them. - Combine Ios{Preset,DSym}BuildStepFactory. There was only one 'dsym' build step they could create. - Split the 'mangled' id into the ProjectConfiguration subtype specific constant identifier, and a QString extraId() bit. Only maintain the mangled id in saved settings. - Make ProjectConfiguration::m_id a constant member, adapt all constructors of derived classe. Not done in this patch: - Finish possible cosmetic changes on top - Add a way to specify restrictions to supported Qt versions (used in Android/Ios), as the base implementation does not depend on the qtsupport plugin - Combine the QList<X> availableFoo() + createFoo(X) function pairs to somthing like a direct QList<struct { X; std::function<X()>; }> fooCreators() to avoid e.g. the baseId.withSuffix() <-> id.suffixAfter(base) pingpong - Remove the *Factories from the global object pool - Do something about priority(). Falling back to plain qmake in android+qmake setup is not helpful. Change-Id: I2be7d88d554c5aa8b7db8edf5b93278e1ae0112a Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-17/+13
| | | | | | | * Update files in src/plugins Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Update LicenseEike Ziller2015-01-161-6/+6
| | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* License updateEike Ziller2014-10-091-7/+8
| | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Core::Id: Remove some explicit casts to Core::IdTobias Hunger2013-09-031-1/+1
| | | | | Change-Id: Ibe505c8331f7d1280fdb8784a00321742f5d94cb Reviewed-by: hjk <hjk121@nokiamail.com>
* Clean headers in RemoteLinux.Friedemann Kleint2013-04-041-2/+0
| | | | | | | | | | Ran script to remove inludes on a trial-and-error basis and manually corrected it. Change-Id: Ie7559562218ecab65da17f58e3515556a4a1d5c5 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Adjust license headershjk2012-10-051-21/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Use Core::Id in project-related objectsTobias Hunger2012-04-251-2/+2
| | | | | | | | Use Core::Id for all the project related objects in favor of plain QStrings. Change-Id: I790ab40cb29899efdb49c413a77609486f52e683 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Long live the king!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Deploy steps: Introduce SimpleBuildStepConfigWidget.Nikolai Kosjar2012-01-111-24/+1
| | | | | | | | | | This simplifies some deploy steps and replaces RemoteLinuxDeployStepWidget. Change-Id: I4ad82c498cee0f15e1c93bf915cd48355017eb84 Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com> Reviewed-by: Paweł Polański <pawel.3.polanski@nokia.com>
* Deploy steps: Hide details button if applicableNikolai Kosjar2011-12-121-0/+30
| | | | | | | | | Task-number: QTCREATORBUG-6674 Change-Id: I3cca8a75b1108f4fede09191cfed76c8fcf44c0e Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com> Reviewed-by: Paweł Polański <pawel.3.polanski@nokia.com>
* RemoteLinux: Rename and unconstify deploy step function.Christian Kandeler2011-11-231-4/+4
| | | | | | | | The name "isDeploymentPossible" was misleading, as was the const modifier. Change-Id: Iccaa307133f56ab02a8d6054b0ca9bf660e0d30d Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* RemoteLinux: Don't make presence of device an absolute prerequisite ...Christian Kandeler2011-11-221-1/+1
| | | | | | | | | ... for deployment and running. Rationale: An emulator might get started on-demand during deployment and get auto-detected in the process. Change-Id: Id95ccccbf4d570f9fa69a6ed3a8a473fd63c5968 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* all: s/info@qt.nokia.com/qt-info@nokia.com/hjk2011-11-031-2/+2
| | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Coding style: Pure virtual functions, private implementation pointers.Christian Kandeler2011-09-151-3/+3
| | | | | | Change-Id: I293f8dbd4e467e866bab381841659a07e32b9d90 Reviewed-on: http://codereview.qt-project.org/4948 Reviewed-by: hjk <qthjk@ovi.com>
* RemoteLinux: Private implementation for all exported classes.Christian Kandeler2011-08-021-7/+4
| | | | | | Change-Id: Id92eb156b027a4986788141845170105b3b1d9e5 Reviewed-on: http://codereview.qt.nokia.com/2507 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* RemoteLinux: Move constants and functions to more suitable locations.Christian Kandeler2011-07-251-2/+1
| | | | | | | | | Mostly to facilitate splitting up generic Linux und Maemo-specific things. Change-Id: I6072ae7deaea013219e8969d6a5254e6c5c96693 Reviewed-on: http://codereview.qt.nokia.com/2098 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* RemoteLinux: Remove Maemo dependency from generic package installation.Christian Kandeler2011-07-191-4/+4
| | | | | | Change-Id: I3c62fe77656fed22b4de287430b0b13190e274a9 Reviewed-on: http://codereview.qt.nokia.com/1839 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* RemoteLinux: Introduce abstract packaging step.Christian Kandeler2011-07-151-4/+4
| | | | | | | | This removes the dependency of the tar packaging step on Maemo-specific code. Change-Id: I863b13e643a5028edaf2f571f63b1a52d229812b Reviewed-on: http://codereview.qt.nokia.com/1709 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* RemoteLinux: Separate generic deploy steps from Maemo-specific ones.Christian Kandeler2011-07-131-0/+116
Change-Id: I804e3778114ba09b9d47fd113eb2a56f4233f3e2 Reviewed-on: http://codereview.qt.nokia.com/1048 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>