Commit Graph

37 Commits

Author SHA1 Message Date
Eike Ziller
e0e8cf3ada Contact -> qt-project.org
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-07-19 13:23:21 +02:00
Orgad Shaneh
6a17546e5f Debugger: Profile -> Target
Change-Id: If65d7c385eb86a54a4a9bdf51be5b2bf1c3cb429
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-07-17 23:36:35 +02:00
Orgad Shaneh
187ac69a5f move ProfileChooser from Debugger to ProjectExplorer
Change-Id: I5a4dcd5b9101118de8c88b6d26af5a9dbb32ba54
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: hjk <qthjk@ovi.com>
2012-07-17 13:15:29 +02:00
hjk
ded2dd12b8 debugger: adjust to profile changes
This replaces the debugger command, sysroot and target abi fields
with a profile id.

Change-Id: I831c42ff8624fcfa520c2f28f6f06d73191b2680
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-06-28 15:30:15 +02:00
Eike Ziller
e3c354d8f2 Make PluginManager mostly static.
Change-Id: Ib938aa4999c7c418a82304c5cca2e8748ef9d228
Reviewed-by: hjk <qthjk@ovi.com>
2012-06-19 16:11:40 +02:00
Christian Kandeler
79de09f266 SSH: Streamline SshRemoteProcessRunner's output handling.
Make it just like SshRemoteProcess (and QProcess). The current
implementation annoyingly forces client code to establish additional
signal/slot connections, even if they only want to evaluate the output
at the end.

Change-Id: Id8c30dd156574d7d26d848d8e0705856a16d3747
Reviewed-by: hjk <qthjk@ovi.com>
2012-06-08 10:15:43 +02:00
Christian Kandeler
53a1087d13 Move SSH support into a dedicated library.
It does not belong into libUtils, which is a collection of small
unrelated utility classes.

Task-number: QTCREATORBUG-7218
Change-Id: Id92b9f28678afec93e6f07166adfde6550f38072
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-05-22 10:51:53 +02:00
hjk
8c2972be05 remotelinux: fix index computation in the presence of hidden devices
Change-Id: I65bb3854003783ad36dfad76c35535c83ab6d427
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-05-04 18:34:07 +02:00
hjk
344620ffbc remotelinux: use /proc/*/exe link target to determine local binary
Change-Id: I08a3ab02214e41af646f01e7de705009fa07ecac
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-05-04 15:17:58 +02:00
hjk
5539ed41ac remotelinux: make RemoteProcess struct public
Change-Id: I2ff78047cfcc36570b9c17852bd3b05d2d21df58
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-05-04 12:02:15 +02:00
Christian Kandeler
50d4917a32 Remote process list dialogs: Filter in all columns.
So people can search for process ids as well.

Change-Id: I12d8821d65d441ec4322206ba5704ba6c5d4bf05
Reviewed-by: hjk <qthjk@ovi.com>
2012-05-03 16:42:40 +02:00
Christian Kandeler
1348e92971 RemoteLinux: Fix ports gatherer API.
The ports gatherer used to take an SshConnection for historical reasons
(connection sharing in the absence of a connection manager). This is no
longer required, since all the information needed for creating or
re-using a connection is available from the device.
In addition, the old code assumes the connection is already established,
which some newer callers did not adhere to, so this patch also fixes a
bug.

Change-Id: I3fd7fec7de9b64126358749f727a403bfa1e0a94
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@nokia.com>
2012-04-03 13:45:38 +02:00
Oswald Buddenhagen
51988bb5e0 Merge remote-tracking branch 'origin/2.5' 2012-03-23 17:50:29 +01:00
hjk
b80e648dbf debugger: make Attach to Remote... dialogs better accessible
Change-Id: Ic20897a565c37d45d1521c8934ae0c4759fdef01
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-22 18:22:58 +01:00
Christian Kandeler
9a34b156c1 Introduce the concept of an abstract device.
The idea is that all kinds of devices inherit from one abstract
base class and that they are all managed by one device manager,
who does not know about their specifics.
For now, the only concrete subclass is the LinuxDeviceConguration.

Change-Id: I31ff5586a0fdd6bcf8dcc0554bb2b91fe65b2f3f
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-03-08 14:07:19 +01:00
Robert Loehning
9988c471fe Replaced one-char-strings
Change-Id: I0bf982b508a237e5b1e6ba3279cb589bae1b1c1d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-03-07 09:18:15 +01:00
Christian Kandeler
5045852408 RemoteLinux: The device manager should not be itself a model.
The ListModel functionality is only needed in very few contexts,
so we move it into a dedicated class. This cleans up the actual device
manager.

Change-Id: I325bf43a9260ab9a8e484f8972e2d962ea2f1b3e
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-03-02 16:04:01 +01:00
hjk
3875211b65 debugger: do not specify 'localhost' when starting gdbserver
Change-Id: I32da326f2be073420059ee7ce88a9eafac3f9739
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-01 10:38:19 +01:00
Kai Koehne
705b2efe87 PortList: Move to utils
Change-Id: I99dbef56a2a5b06bb4b89ca442e44bf586efdb22
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-03-01 09:46:22 +01:00
hjk
59594ad297 debugger: simpler handling of the ipv6 case
Change-Id: If1d5bdd5afd2aeebfcf39e72045ef4327cb84c0c
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2012-02-29 18:45:52 +01:00
Fawzi Mohamed
2eda632ab3 remote debugger: wrap IPv6 addresses of remote gdb in [] as per rfc2732.
Change-Id: I590f7e8e7e45a45fc699732fdefbd5130a06d3e1
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-23 11:04:12 +01:00
Erik Verbruggen
3fa55b7ab9 Removed module names from #include directives.
Getting the #include directives ready for Qt5. This includes the
new-project wizards.

Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-02-15 16:24:46 +01:00
hjk
2931a499e6 Long live the king!
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-26 19:55:36 +01:00
hjk
4a21f0c3c8 Use new static ICore interface.
Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-24 18:48:47 +01:00
Kai Koehne
090d643883 Remote Process Dialog: Update buttons if sysroot changes
Make sure 'Attach to Selected Process' is enabled again e.g. if first attaching
fails because of a missing sysroot, and the user then sets the sysroot.

Change-Id: I1aa949bfe0aa41186a76e7f683dd29070a6b63d4
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-04 15:46:58 +01:00
Christian Kandeler
79db165dcb Revert "Remote Linux: Rework device testing"
This reverts commit 934c067ddf365c6f12b1e4a1e431f27610b32f7d,
because it breaks running remote Linux applications due to 
buggy refactoring of the remote ports gatherer.

Change-Id: I15fd8d4f3e76452a8c5c735316991bd00900444f
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-12-21 21:59:18 +01:00
Tobias Hunger
34ed3f295b Remote Linux: Rework device testing
Allow for a set of tests to be defined. This simplifies the code for
the individual test to run and allows for a more flexible approach
to device testing.

MaddeDeviceTester is no longer needed due to that.

Change-Id: I77fd2d53246dec2d8c6b584d0c73cc1134d7f47d
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-12-21 15:44:39 +01:00
hjk
9739b8df62 debugger/remotelinux: new dialog to attach to remote process
Change-Id: I221534561f4bbd299d494ecc902092e2e709770c
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-12-08 15:00:55 +01:00
hjk
08f8b78f5a debugger: pass selected gdbserver port back to debugger plugin
Change-Id: I9e5fe3c360b901042541776eb61ea9d606de221d
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-12-08 12:58:35 +01:00
Eike Ziller
85cf2b661e Merge remote-tracking branch 'origin/2.4'
Conflicts:
	src/libs/qmljs/qmljsinterpreter.cpp
	src/libs/qmljs/qmljsinterpreter.h
	src/plugins/debugger/qml/scriptconsole.cpp
	src/plugins/git/gitplugin.cpp
	src/plugins/qmlprofiler/canvas/qdeclarativetiledcanvas.cpp
	src/plugins/qmlprofiler/canvas/qdeclarativetiledcanvas_p.h

Change-Id: Iad59c8d87c72a21c79c047e374c0ab689998af39
2011-11-11 09:46:25 +01:00
Christian Kandeler
5d5db225a8 SSH: Don't allow external access to process runner's connection object.
It does not belong to the runner anymore after the process has finished,
so we must prevent anyone from getting a copy.
(This includes a minor API fix for RemoteLinux code that depended on
the connection being available.)

Change-Id: Icc28dc3c820f4c2210bb6fb08171cd6a84534dee
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-11-09 17:41:27 +01:00
Christian Kandeler
fd26ab22e9 SSH: Improve SshRemoteProcessRunner API.
It's silly that we fix the connection parameters in the constructor. A
given object of the class, once created, should be able to repeatedly
run any command with any connection.

Change-Id: Ia45b9d5b6f25c25fb46751cdb47cf81877d8f9a9
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-11-09 14:28:49 +01:00
hjk
31600758de all: s/info@qt.nokia.com/qt-info@nokia.com/
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-11-03 10:33:19 +01:00
Christian Kandeler
2faf3b2548 SSH: SshRemoteProcessRunner does not need to be a shared pointer.
Change-Id: I49cf2e113d23ebebe0939adbf90a1a88c84998a5
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-10-28 16:27:03 +02:00
Eike Ziller
5dbe570f9c Fix licenses.
Change-Id: I834bc5da86c97ddaeefb43011444da8ed0e85180
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-10-18 17:41:23 +02:00
hjk
1da7d0476e debugger: more robust port number parsing
Change-Id: I78edf9faa977af8a52e3e712b06ab14785af838a
Reviewed-on: http://codereview.qt-project.org/5465
Reviewed-by: hjk <qthjk@ovi.com>
2011-09-23 16:52:08 +02:00
hjk
ee24278121 debugger/remote linux: add dialog to start gdbserver on the device
Change-Id: I57ddfa17a7c51a9347b0d81205c1679c6398d126
Reviewed-on: http://codereview.qt-project.org/5383
Reviewed-by: hjk <qthjk@ovi.com>
2011-09-22 14:22:11 +02:00