Commit Graph

69 Commits

Author SHA1 Message Date
dt
0fa60aa3d8 Use QFlags<> for QmakeBuildConfig that removes a few casts. 2009-11-19 16:35:19 +01:00
dt
10a0647ddf Remove QSharedPointer<> for RunConfiguration 2009-11-19 16:35:18 +01:00
Friedemann Kleint
e35a754dc9 S60: Work towards new toolchains
Factor out the initialization setting up the environment and headers in
the RVCT/GCCE toolchains.
Modify the RunControl to be able to support different package
building/signing processes.
2009-11-13 15:47:35 +01:00
con
6039c31133 Show a dialog in case of mismatching build/run configurations. 2009-10-29 16:02:22 +01:00
Robert Loehning
64e2519915 TRK: Changed strings.
Using "TRK" when referring to the protocol, "App TRK" when referring to the program on the device.

Reviewed-by: Oswald Buddenhagen
2009-10-29 14:18:49 +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
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
Robert Loehning
05f29012d9 S60: Deleting allocated TrkLauncher in dtor of S60DeviceRunControlBase. 2009-10-23 18:40:46 +02: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
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
Robert Loehning
8c4c5f2ebf Reporting failed Trk-connect. 2009-10-20 18:31:30 +02:00
Robert Loehning
6a6f944490 S60 -> Symbian for visible strings 2009-10-09 18:42:38 +02:00
Robert Loehning
0a9a1e98d9 S60 -> Symbian for visible strings, fixed missing one
Reviewed-by: Daniel Molkentin
2009-10-09 16:28:29 +02:00
Daniel Molkentin
5a0566249b S60 -> Symbian for visible strings
Reviewed-By: con
2009-10-09 15:00:23 +02:00
Friedemann Kleint
22ab8d5662 Debugger: Do configuration error checking early on.
Add a configuration checking method to the Debugger manager,
depending on toolchain, wire it to the engines.
Check that in the debugger run controls.

Add a convenience method to ICore that shows a warning
message with a "Settings" button, pointing the user
to a configuration error on a settings page.

Remove leftovers of the dumper parser.
Acked-by: con <qtc-committer@nokia.com>
2009-10-08 17:23:27 +02:00
con
b4a17a03c0 Naming of run configurations. 2009-10-08 15:51:13 +02:00
con
eb32fab806 Adapt to new packaging system in Qt for Symbian. 2009-10-07 17:22:46 +02:00
Friedemann Kleint
772a9a943a Trk/S60: Determine symbol file correctly. 2009-10-06 17:12:52 +02:00
Robert Loehning
44f224ac53 Trk: Checking result of TrkCloseFile 2009-10-06 12:29:43 +02:00
Robert Loehning
05805ce0aa Trk: Fixed init of Laucher for debugging 2009-10-06 09:56:36 +02:00
Robert Loehning
9f7794a37f Trk: Checking result of TrkInstallFile. 2009-10-05 19:33:33 +02:00
Robert Loehning
51f997d6f0 Trk: Controlling Launcher using an enum. 2009-10-05 18:49:33 +02:00
Robert Loehning
fa2ca2dee1 Trk: Checking for write errors when writing file to device.
Reviewed-by: con
2009-10-05 15:24:24 +02:00
Friedemann Kleint
d38f654d53 Fix Trk error handling
Do not close a trk device from its read handler, wire messages
correctly. TrkDevice: Terminate threads before closing.
2009-10-05 15:07:47 +02:00
Friedemann Kleint
5948e284bb Rename namespace Core::Utils into Utils
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00
con
4252836b4d Fix windows build. 2009-10-01 10:05:06 +02:00
Friedemann Kleint
c3bb032753 Trk/S60: Wire debugger parameters.
Remove conditionals from toolchain enumeration, pass parameters to
TrkGdbAdapter, rename function in runconfig, derive symbol
file from local exe file.
2009-09-29 13:49:35 +02:00
Friedemann Kleint
ad294f8467 Project explorer: Make public headers compile with NO_CAST_FROM_ASCII
.. and purge unneeded includes.
2009-09-29 11:39:55 +02:00
Friedemann Kleint
5cd639747a S60: Split run configurations
creating a debug run configuration. Import the debugger
into Qt4ProjectManager.
2009-09-28 17:17:11 +02:00
Robert Loehning
12536eeb9f Trk: Checking for result of file creation.
Reviewed-by: con
2009-09-28 16:56:31 +02:00
Robert Loehning
9839d0a8b3 Trk: Checking errorCode of CreateProcess message.
Reviewed-by: con
2009-09-28 11:04:29 +02:00
Friedemann Kleint
978cf4bda8 Rename IRunConfigurationRunner -> IRunControlFactory...
and ApplicationRunConfiguration to LocalApplicationRunConfiguration,
preparing remote debugging. Change the interface canRun() to be const,
run() to create() (since it does not run anything), use references
to the QSharedPointer<Foo>. Introduce d-Pointer and remove
unneeded headers from ProjectExplorerPlugin and add missing includes
everywhere.
2009-09-25 11:35:44 +02:00
con
0915342d15 Another build fix. 2009-09-14 17:44:48 +02:00
Daniel Molkentin
78724a83ab Build again with S60 defined on Windows. 2009-09-14 16:36:22 +02:00
con
334837d776 Move initialization code out of ::start method 2009-09-10 16:59:12 +02:00
Daniel Molkentin
5476bcf560 Find Qt installation by specification of qmake rather than a "Qt dir".
Rationale: The concept of a "Qt Dir" is dead ever since Qt can be
installed. Specifying the qmake location otoh makes it possible to
unambigously detect all parts of a Qt installation.
2009-09-03 19:16:40 +02:00
dt
9f91842813 Compile without rtti support
Since we can easily do that, just do it. No gurantee that we aren't
going to use rtti in the future.
2009-08-27 12:12:35 +02:00
con
af9bb2bfea Show copy progress. 2009-08-26 17:36:02 +02:00
Friedemann Kleint
a04d0978f8 I18n: Updated German translation, fixed tr-Bugs for 1.2.9 2009-08-19 12:32:23 +02:00
con
17747ba42e Rename some labels for signing. 2009-08-19 12:13:03 +02:00
Friedemann Kleint
37055c0457 S60: Compile on Linux 2009-08-17 11:47:17 +02:00
Friedemann Kleint
b68cbcc9ae S60: Give more progress/error information.
- Add methods to obtain executable from the run configuration
  (to be used by Debugger later on)
- Log the file names and sizes
- Pass on CreateFile() errors.
- Rename class Adapter to Launcher.
2009-08-14 14:29:19 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
dt
39913b3216 Fix "TARGET=" in .pro files
Default to the baseName() of the .pro file.
2009-08-13 17:18:42 +02:00
con
fe92b40f45 Start on rvct support.
It works, except that the code model doesn't get the rvct include
directories and defines yet. And you need to have everything for
rvct set up in your environment.
2009-08-05 17:08:15 +02:00
con
85596e7b19 Debug output from TRK might have windows style line endings 2009-08-04 19:03:20 +02:00
con
d680a7dd32 Handle application output that comes over TRK. 2009-08-04 19:03:19 +02:00
con
86ff16e58c Nicer output. 2009-08-04 15:58:56 +02:00
con
33bbae9e5e Show the user the device name in application output.
Reviewed-by: Daniel Molkentin
2009-08-04 15:58:55 +02:00