aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/remotelinux/linuxdevice.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/4.0'Eike Ziller2016-04-121-0/+1
|\ | | | | | | | | | | | | Conflicts: src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp Change-Id: I6ae2d37290643d69390f679a54f7596782f3d97f
| * ProjectExplorer: Introduce a DeviceEnvironmentFetcherhjk2016-04-061-0/+1
| | | | | | | | | | | | | | Also, provide implementations for desktop and remote linux. Change-Id: Ib02202bf1829367334035a361ac73317338cd7a6 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* | Wholesale conversion to #pragma oncehjk2016-03-301-4/+1
|/ | | | | | | Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-17/+12
| | | | | | | * 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>
* ProjectExplorer: Introduce DeviceProcessSignalOperation.David Schulz2013-09-201-9/+1
| | | | | | | | | | | Every device can now return a DeviceProcessSignalOperation, which allows to kill or interrupt processes running on the device. Change-Id: Idaa04ebc767e09ca167fa033ed93860b9b81479e Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: David Kaspar <dkaspar@blackberry.com> Reviewed-by: hjk <hjk121@nokiamail.com>
* Device support: Make IDevice::executeAction non-const.Christian Kandeler2013-09-171-1/+1
| | | | | | | | | Presumably this function is currently const because no current implementation actually changes device properties, but there is no reason why that should not be allowed. Change-Id: I80e4355be70e40bca9df5e1287a1d1d3f60c6534 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Introduce the concept of a "device process".Christian Kandeler2013-08-191-0/+3
| | | | | | | | | | | | | | | | | | | Provide a QProcess-like abstraction that can be used to implement processes running locally or on a remote device. Objects of a concrete class implementing the functionality are created by IDevice objects. Current implementations are: - Local execution (QProcess-based), provided via the DesktopDevice. - Remote execution via SSH. - A specialized case of the former for remote Linux systems (provided by LinuxDevice). The latter is already being used in a number of places. As a result, lots of code dealing with details such as setting the remote environment could be moved to a central location. These things are no longer the concern of whoever is wishing to run a remote process. Change-Id: I919260ee6e77a020ca47226a4a534e7b8398106f Reviewed-by: hjk <hjk121@nokiamail.com>
* Device support: Make device testing a "well-known" concept.Christian Kandeler2013-07-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This entails the following: - Rename AbstractLinuxDeviceTester to DeviceTester and move it up into ProjectExplorer. The class stays unchanged, as there was nothing Linux-specific about it. The same goes for the associated dialog. - Move the createDeviceTester() function from LinuxDevice to IDevice and introduce IDevice::hasDeviceTester() to enable generic code to make use of this feature. - Move device testing out of the list of opaque device-specific actions; instead, the device settings widget now uses the device tester directly, if applicable. Rationale: - Device testing, just like remote process listing (if not more so), is a general concept that implementors of device classes will probably want to implement (and they should be encouraged to do so). Without the mechanism provided here, they would all need to put basically the same code into the actionIds(), displayNameForActionId() and executeAction() functions. This patch is the natural extension of b90e3bbd8bea27ad915a4d9033e0d5bda26f5667. Change-Id: I94f2badb4ceeda9f5cd3b066c13626bb4f65505d Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* QNX/RemoteLinux/Madde: Made device test more genericTobias Nätterlund2013-05-311-0/+2
| | | | | | | | | | | | | | | | | Any device inheriting from LinuxDevice can now implement a createDeviceTester() method to return their own AbstractLinuxDeviceTester that runs when the device wizard is completed, or when the Test Device button is pressed. The MaddeDevice implementation of the device actions now completely matches that of LinuxDevice, so those are removed. The QNX device check was improved with additional tool checking. Change-Id: Ie761b7cfc5591238aa2a18a74fe1843fb2cdbeaa Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* DeviceSupport: Add canAutoDetectPorts() methodAurindam Jana2013-04-181-0/+1
| | | | | | | | Use case: Devices such as Desktop device can automatically choose an available port. Change-Id: I6515425da3ae861b62d103885e2fde0e542d21d0 Reviewed-by: Christian Kandeler <christian.kandeler@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>
* Device support: Move processes dialog creation to settings widget.Christian Kandeler2012-08-031-0/+1
| | | | | | | | | | | With the process list model being publicly available from the IDevice interface, there's no longer a need to force all subclasses to create the dialog themselves via opaque handles. Since clients can now check whether a device offers a process list, the base process list model has been made abstract. Change-Id: If4a0aa68a95b221862c287ad8397ebabe9be5909 Reviewed-by: hjk <qthjk@ovi.com>
* Device support: Let devices create project list model.Christian Kandeler2012-08-021-2/+1
| | | | | | | | | | Now each device gets to decide in what way a process list is set up and how a process gets killed. This enables e.g. non-SSH based devices to provide process lists. The default implementation provides an empty list. Change-Id: Ibb352cd8a5ea556951b02ba512208daeb3b1e1a6 Reviewed-by: hjk <qthjk@ovi.com>
* Device support: Introduce IDevice helper classes.Christian Kandeler2012-08-021-3/+11
| | | | | | | | | | | | | These are for configuration of process and ports gathering activities, respectively. This couples related functionality more tightly, while keeping the number of IDevice methods at a reasonable level. For ports gathering, the patch also adds the ability to configure both the command and the parsing function; the latter used to be hardcoded in the PortsGatherer class. Change-Id: I1b8940397a51efa7ddc05dd15cf861777d118c1a Reviewed-by: hjk <qthjk@ovi.com>
* remotelinux: rename LinuxDeviceConfiguration to LinuxDevicehjk2012-08-011-0/+81
Change-Id: I7e8a99d3339d2040a23e4e78816b13b57197dcdb Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>