1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-30 20:35:38 +02:00
Commit graph

60 commits

Author SHA1 Message Date
Martin Oberhuber
7ebba3a6a2 Bug 468889 - Allow Eclipse 3.8.2 after testing confirmed it works fine
Change-Id: Id9d692160cdd2355f6cdc26711d350d071385abb
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2015-06-04 08:38:24 +02:00
Martin Oberhuber
4488f6ff37 Bug 468889 - Support Eclipse older than Mars (tested on Kepler)
Change-Id: I660efe3602e74c3d724707d597a620eda286589c
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2015-05-31 02:17:30 +02:00
Greg Watson
76ac23a87f Merge "Add property for obtaining character encoding." 2015-05-29 14:20:36 -04:00
Greg Watson
f2a0641ca7 Add property for obtaining character encoding.
Change-Id: I70a000215abd20c14192f63f908d1f42743c52a0
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-05-29 10:23:52 -04:00
Greg Watson
b55197097f Set terminal type to xterm if X11 forwarding is used.
Change-Id: Ic7c46a47772edb584abdb3bfa9d28a901cb495cc
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-05-29 09:13:24 -04:00
Doug Schaefer
a278a865a1 Bug 466786 added images amongst other things
Added images including the error overlay for when connections are
closed. Made the resulting label provider public so it can be reused
by the launch bar.

Fixed a bug with the JschConnection factory which was creating new
connections everytime asked resulting in great weirdness. Added getting
list of services to the IRemoteConnectionType API and separated
out the three types of services.

Added open and close connection commands for the Connections view.

Changed connection type capabilities to booleans and removed unused
ones.

Removed launch config service. Found a better way to pass targets
to launch configs that will actually work.

Change-Id: I99d85f72d496f42d6ba790bd1b91943ea869c12b
Signed-off-by: Doug Schaefer <dschaefer@qnx.com>
2015-05-17 22:31:32 -04:00
Marc-Andre Laperle
9753ed7aad Bug 454063 - Require o.e.core.runtime 3.11.0 because of new API usage
Change-Id: I7b605d7e5874a5338f2c8a45bcc4a623c75b86f5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-05-05 17:24:05 -04:00
Greg Watson
76feaed504 Bug 454063 - Use new Path.forPosix() API when handling remote paths.
Change-Id: I2a08f5f7d165acbb1d5b4e3226834b8cecf0fab3
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-05-04 14:59:56 -04:00
Doug Schaefer
9825f0f0cb Bug 463976 - Implement a Console View based Terminal
Adds a terminal console which can be opened by selecting Open Console >
Terminal Console and selecting a remote connection which supports the
command shell service.  If a console is already open for that remote
connection it will be shown and if one doesn't exist then a new one will
be created.  Buttons for connecting, disconnecting, scroll lock, and
closing the console are also available.

Also adds a local command shell with PTY support. Also added some
syncronization around the connections in the connection type.

Moved the Open Terminal to console plug-in and renamed it Open
Command Shell.

Also fixed missing serial port feature from the remote repo.

Change-Id: I84282b04813471bb01385a328ebc144bdf0e6a28
Signed-off-by: Doug Schaefer <dschaefer@qnx.com>
2015-05-02 23:12:07 -04:00
Matthew Bastien
efeb6fc7bb Bug 465212 - SSH should support command shell service
Added JSchCommandShellService which creates a ChannelShell through JSch
in order to open a remote terminal.

Change-Id: Ib7ddeb3f9c964ab32130baf99a8d70d36605c3d8
Signed-off-by: Matthew Bastien <mbastien@qnx.com>
2015-04-23 09:09:27 -04:00
John Eblen
5cdc3b254a Merge "Fix local command proxy" 2015-04-07 12:58:30 -04:00
Roland Schulz
f65b1837ed Fix local command proxy
Was broken by d5cb7731db

Change-Id: I26ec14d832150d20dfefa19b614299a495897bf5
2015-04-02 13:23:24 -04:00
Greg Watson
82f4d12873 Bug 463468 - provide set methods for host services
Change-Id: I68d4e7bb1cdcc81d9584d8055b0460d7c4cad5c2
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-03-30 18:26:51 -04:00
Patrick Tasse
003263a0d4 Bug 462418 - Use stored password on non-preferred password based auth.
Change-Id: Id169ecbb47cb4ad8d04d68a5d37338dad77b2b60
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-03-18 18:03:39 -04:00
Patrick Tasse
cbb9d14e0b Bug 461541 - Fix handling of default attributes in JSchConnectionPage
Change-Id: If5fc199c4916f9a3f4fbb97ddaf564899a439d0f
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-03-17 10:13:25 -04:00
Greg Watson
d5cb7731db Bug 457493 - Add support for window terminal size and signals.
Change-Id: Iceb1786796c43c70584d6e01824ffe56e9bed255
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-03-06 22:59:33 -05:00
Greg Watson
abe2472d2f Bug 461249 - Avoid exceptions when attributes are not defined.
Change-Id: I7c84e6070c9ce2572efbf74bde4453cee79c5db5
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-03-05 15:52:50 -05:00
Bernd Hufmann
d3f785c9ea Bug 460113: Fix IRemoteConnectionHostService definition for build-in SSH
Change-Id: I6a1ee62017c792c33494f49844e3fb2bdfa98c10
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
2015-02-17 09:30:24 -05:00
Greg Watson
f431ca6fc3 Add connection host service.
Change-Id: Ie9f1edc7750cd4748a6ba15af2e04c39db34dbe4
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-02-13 17:00:39 -05:00
Doug Schaefer
e97eb96c5d Bug 458583 Remote Services v2 API with UI, Local, and JSch updated.
v2 of Remote API. New Services architecture.

Connections are now stored in preferences and loaded by the framework.
Attributes are stored in the preferences. Secure attributes are stored
in the secure preferences. Remote services renamed to connection types.
Remote connections broken up into services. JSch and Local connection
types have been updated to new architecture.

Also moved the tests from core.tests to jsch.core.tests since they
are actually JSch tests and need to reference attribute names from
the jsch.core plug-in.

This is just phase one. Many more changes are expected to clean up
and to fix bugs this introduces.

Change-Id: I62ad2567b0c5ca7d277649879a8d16bec7058d5f
Signed-off-by: Doug Schaefer <dschaefer@qnx.com>
2015-02-13 12:33:30 -05:00
Greg Watson
5a627b8184 Bug 452757 - Handle null attribute values
Change-Id: I99be71f80f14ae0befafd003010e3130404ed578
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-12-03 15:00:40 -05:00
Roland Schulz
95db103e5b Support proxy connection for gateway without sftp or with MaxSession=1
Command proxy does not work if both the host and the gateway have MaxSession=1
(caused by 356657).

Add support in JschConnection for a connection which has a session but isn't
fully setup. Such a connection isn't considered open. And if it is opened after
it already has a session without setupFully=false (default), then all setup
setups are done.

Also change that getProxyConnection returns null not a LocalConnection for
a local command. This reduces the dependency on LocalConnection from within
jsch.core.*.

Change-Id: I64d05e69749d96248d2f40bd2db021d809cb04a9
2014-11-25 11:38:58 -05:00
Roland Schulz
b1903767f3 Bug 424627 - Fix password login with pubkey available
Put password the first in PreferredAuthentications so that password is
used when password is selected by the user.

Also
- remove the "File with private key" field
- remove the get/setKeyFile from the JSchConnection
- add a link to the network connections preference page
- swap the order of the public key/password areas
- make public key the default

Change-Id: I5aea011e41fd0097aa51b052ab1386d431362ec8
2014-11-13 12:04:07 -05:00
Greg Watson
a78deb1ffc Merge "Bug 449306: Unnecessary access to secure storage by JSchConnection " 2014-11-11 17:24:11 -05:00
Greg Watson
84c898f16a Bug 450350 - Change connection timeout default to 0
Change-Id: Ibbe79ec1555f33c8b14dc1a747bf310f162cfc8d
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-11-06 17:00:04 -05:00
Markus Schorn
c096be5127 Bug 449306: Unnecessary access to secure storage by JSchConnection
Change-Id: I7e2372e9e059b71d69676d6c0fe3aba71057a009
Signed-off-by: Markus Schorn <markus.schorn@windriver.com>
2014-11-04 14:42:28 +01:00
Roland Schulz
c563ea3f0e Bug 345329 - Add SSH proxy
Allows to connect over any ssh server as gateway or over any other
proxy by executing a local or remote command (such as netcat, corkscrew, ...).

Change-Id: I413c22cb588d8560d8db9ac877fb04f8331456aa
2014-10-17 12:29:45 -04:00
Roland Schulz
5ee4fa818a Cleanup some Jsch files
Source->Cleanup for files changed by child commit.

Change-Id: I787b623fc0832df3bf98cc1b89edc69f461235e2
2014-10-16 11:56:09 -04:00
Roland Schulz
d83bd777dc Bug 445425 - Fix username being deleted by interactive dialog
Change-Id: Ic46e937f6c8559971136fb4d37cb049747eae983
2014-10-13 23:04:43 -04:00
Greg Watson
db68d9779d Automatically open closed connection when performing FileStore
operations.

Change-Id: I26059d8be488c32722d5a25d75cb56fe1c0eb462
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-10-13 17:17:16 -04:00
Greg Watson
1296420f07 Update version to 1.1.1 2014-09-23 22:17:46 -04:00
Greg Watson
3860c54cc0 Bug 437560 - Add new API to return contents of text field
Change-Id: Ib14c69752e61ee7e03c37834f16923b5b41f16ef
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-08-14 15:27:53 -05:00
Greg Watson
52e01f7339 Bug 440993 - return a file store for #getStore(IPath)
Change-Id: I1f39423a8b667c001c8dec8e4914396546536e64
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-08-01 11:34:21 -04:00
Greg Watson
559dd99ea8 Merge "Bug 437083 - Improve error message if ssh fails" 2014-07-29 09:14:21 -04:00
John Eblen
69492aa8ea Bug 439607 - Can't delete directories from synchronized projects
Change-Id: I3b8a8aeef6200a92fd5623c259060c3031836809
Signed-off-by: John Eblen <jeblen@acm.org>
2014-07-15 14:00:11 -04:00
gwatson
e2705cfd34 Update version to 1.0.1 2014-06-26 14:48:05 -04:00
Roland Schulz
b511b31ad1 Bug 437083 - Improve error message if ssh fails
Execute loadEnv once before trying sftp to make sure exec works.
This way we don't assume it is an sftp problem if the ssh
connection doesn't work at all. To make this work throw an
exception if ExecCommand fails (if exit code != 0). ExecCommand doesn't
have a way to check exit code. Thus this also fixes that if any command
executed with ExecCommand failed, the calling code didn't notice.

Change-Id: I30b8baa0d87166e179fad67643e31a9f17c8ead2
Signed-off-by: Roland Schulz <roland@utk.edu>
2014-06-11 16:43:24 -04:00
Roland Schulz
407382d8af Bug 437083 - Connection error "session is down"
isOpen is expected to cleanup old sessions but didn't do so if fIsOpen
is false.

Change-Id: I65290d06eec51f65281c9f7eb16eba7e3bb5dcc9
2014-06-10 15:19:42 -04:00
Roland Schulz
f2a8c2053e Bug 428658 - fix keyboard-interactive authentication
Also removes unnecessary code for firstTry for password/
keyboard-interactive. And fixes firstTry for pubKey auth.
JSchConnection.newSession is storing the password with
session.setPassword. This password is used first before
jsch is using the UserInfo to prompt. Thus it isn't
necessary to return from the prompt first the same
stored password.

Change-Id: I17a4ae057fc595c2afe452c550bf47b70b696ef4
2014-06-09 08:32:57 -04:00
Greg Watson
dad71b863b Bug 428658 - Add a default Authenticator
Change-Id: I9e2e3ced3c1d3a0b9fb97e685d3836b586cc98a0
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-06-07 00:07:26 -04:00
Greg Watson
1b500f829b [429668] - Avoid race condition causing mkdir to fail.
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-03-21 13:18:32 -04:00
Greg Watson
3faf39df8d [429271] Fix for special characters in directory names (master branch)
Change-Id: Ib5ff490ec83dd4791cb01f6d1f85f5b0db189f77
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-02-27 18:55:49 -05:00
Greg Watson
28c493cbe7 Add prefix to progress monitor task
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-01-31 15:10:03 -05:00
Greg Watson
af665152e1 Improve progress messages for i/o stream operations.
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-01-31 08:20:48 -05:00
Greg Watson
acbd43742d Cleanup
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-01-27 18:15:25 -05:00
Greg Watson
7bd13e741b Don't buffer files in memory.
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-01-27 18:15:05 -05:00
Greg Watson
ba07d662e4 Correctly convert sftp time (seconds) to EFS time (milliseconds).
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-01-17 10:50:56 -05:00
Greg Watson
290378c74a Enable connection timeout and connection cancelled message.
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-12-18 08:46:21 -05:00
Greg Watson
49e6a62bb7 Improve tracing options.
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-10-10 17:10:03 -04:00
Greg Watson
b1285fd555 Add tracing capability
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-10-10 10:09:44 -04:00