Commit Graph

22 Commits

Author SHA1 Message Date
Friedemann Kleint
960e00edc0 Symbian/Linux: Add "Update" button for serial devices.
Visible on Linux/Mac only.
2010-03-30 13:43:38 +02:00
con
4b185ee2c3 Remove package creation step from symbian run configurations. 2010-03-25 16:35:51 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Friedemann Kleint
b70a4e62c0 Rework S60DeviceRunconfiguration/RunControl.
- Prepare usage of 'make sis' target for GnuPoc.
- Change the package names to '_unsigned.sis', '.sis'
  instead of using '.sisx' for signed, adding accessors
  to S60DeviceRunconfiguration.
- Determine the local executable file name from the
  package template for GnuPoc (as it is no longer
  located under the SDK tree).
2010-02-18 14:47:00 +01:00
Friedemann Kleint
dc006860c4 Symbian: Let SymbianDeviceManager handle TrkDevice leases.
...making use of a shared device by all clients. Detect device removal by
delaying the WM_DEVICE event handling. Introduce Acquire/Release mechanism
to SymbianDeviceManager and let acquire() fail if the device is in use, thus
preventing starting 'run' while debugging is active, etc.
Handle "Device removed" (unplugging of cable) signal by closing the device and adding
handlers to the clients, stabilize TrkDevice against it.
Remove communication type from the run configuration parameters (now handled by
SymbianDeviceManager).

Working towards keeping the Trk-connection always open and a giving the target pane
a meaningful tooltip.
For the moment, pass on tooltips from device manager additional information
(Trk version and such as determined by the launcher).
2010-02-11 12:31:59 +01:00
Friedemann Kleint
3efdb87682 S60/Trk: Make the port a property of TrkDevice.
Associate the port with the device instead of passing it to open
for better handling.
2010-02-08 14:10:51 +01:00
Friedemann Kleint
76872c6ed8 S60: Move serialdevicelister.cpp to symbianutils/symbiandevicemanager.cpp 2010-02-05 17:34:02 +01:00
Friedemann Kleint
a8ce2ce037 S60: Rework SerialDeviceListener.
Change it into a singleton that listens for device changes
and emits signals when devices are added or removed.
2010-02-05 17:21:29 +01:00
con
255348643e Remove the summary part from the most commonly used project configuration pages.
Reviewed-by: dt
2010-02-01 18:34:46 +01:00
Oswald Buddenhagen
75b42f18d8 Merge remote branch 'origin/1.3'
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
a6ca348636 remove trailing whitespace
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
Friedemann Kleint
1044af5f82 S60: Support command line arguments when running on devices.
Add command line arguments to trklauncher. Add input field
to S60DeviceRunConfiguration and pass on to RunControl and debugger.
2010-01-21 12:36:39 +01:00
Tobias Hunger
b95c86db23 Remove duplicate inclusions of headers
Reviewed-by: thorbjorn
2010-01-11 10:26:12 +01:00
Tobias Hunger
a6ad773722 Make method naming more consistent.
* Use id() for methods returning a string used to represent
    some type of object.
  * Use displayName() for strings that are meant to be user
    visible.
  * Quieten some warnings while touching the files anyway.
  * Move Factories to their products in the plugins where that
    was not done before.

Reviewed-by: dt
2010-01-07 18:17:24 +01:00
Friedemann Kleint
d749c1dc71 S60: Provide a message box prompting to start TRK
... with cancel, similar to the Bluetooth connect box.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
2009-10-29 12:48:12 +01:00
Daniel Molkentin
9abcd93c5c QtS60 Run Configuration: Proper slashes for path
Reviewed-By: con
2009-10-26 18:35:11 +01:00
Friedemann Kleint
4091efb47f S60: Provide a MessageBox for starting serial communication as well.
Generalize the concept of the Bluetooth starter, extract base class
BaseCommunicationStarter that can be used to start a serial communication
without further resources (listener) as well. Introduce convenience
functions for both types.

Note: This will only work for COM-ports that are not used otherwise
by the operating system.
2009-10-26 15:40:11 +01:00
Friedemann Kleint
dc8318853a S60: Fix the run configuration status label 2009-10-26 09:12:00 +01:00
Friedemann Kleint
1af61fefa8 S60: Add startup logic for Bluetooth to the project/run configuration
Prepare trk::Launcher to deal with a shared trkdevice.
Add encapsulation for the rfcomm listener process and helper
classes for prompting the user to connect the Bluetooth
device. Add a command line prompt to the trklauncher test.
2009-10-23 18:00:20 +02:00
Friedemann Kleint
8175e4e4c6 S60: Introduce a communications device type.
- Introduce a communications device type flag, add stubs for
  Bluetooth to serialdevicelister and pass the device type
  in new struct CommunicationDevice along to run configuration
  and debugger start parameters (overriding the debugger settings).
- Give the s60devices::Device a tooltip in the settings page
2009-10-22 16:42:25 +02:00
Friedemann Kleint
fc7219248b S60: Swap spacers in device run config widget. 2009-10-21 17:03:52 +02:00
Friedemann Kleint
20edb02093 S60: Use a DetailsWidget for the run configuration widgets, add info
- Move the s60devicerunconfigurationwidget into a separate file,
  add an info button that connects to the device and displays
  CPU/Trk version for testing the connection.
- give TrkLauncher a parent object and an acessor for the device
  description in formatted form.
- Break deadlock when trying to terminate the Windows Trk writer
  thread with bytes pending by using a wait with timeout and
  termination flag.
2009-10-21 16:48:46 +02:00