1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 09:55:29 +02:00
Commit graph

226 commits

Author SHA1 Message Date
Doug Schaefer
6908d52f0a Bug 516330 - Serial Connector that uses CDT Serial Port.
A few short cuts taken but it's usable. There's no memento for this
connector since it's usually not a good idea to always connect to the
serial port on startup since there can only be one client at a time.

Change-Id: If8ea1c770597068346bb44a6444a6d231d38bca9
Signed-off-by: Doug Schaefer <dschaefer@blackberry.com>
2017-05-16 06:09:54 +02:00
Martin Oberhuber
c4ee0fb943 Update terminal.ui plugin version after the 4.2 Neon.2 release 2016-12-22 11:53:12 +01:00
Martin Oberhuber
e0cd31ea7d Bug 509631 - Missing Scroll Lock icon in Terminal View on Oxygen
The Terminal used to "re-use" icons from org.eclipse.ui.console -
this did not work any more when that plugin changed .gif icons
to .png for better HiDPI support. Copying icons into the terminal
view plugin resolves the problem for all Eclipse versions.
2016-12-22 11:34:34 +01:00
Doug Schaefer
c0335a085e Bug 507989 - Allow choosing of o.e.remote connection type
Collect the list of connection types that support the command shell
service and pass that to the RemoteConnectionWidget so that you can
select which one you want.

Also adds a fix to the connection manager that was closing the
terminal of read returned 0 bytes. That's generally not an end of
file condition, especially with Serial Ports. There ugliness to them
where you can't close the port while it's blocked on the read, which
means it needs to return once in a while.

Fix setting of title and force new to match the other delegates.

Change-Id: I6b78d789ca28284379d8f1136062ec180e1a8f5c
Signed-off-by: Doug Schaefer <dschaefer@blackberry.com>
2016-11-24 10:27:17 -05:00
Martin Oberhuber
257a90f410 [Releng] Update Terminal version to 4.2
Change-Id: I5524741a709c0c5cdd8860561de0992ff9aa75b6
2016-09-19 16:34:33 +02:00
Martin Oberhuber
e904f465b8 Bug 475422: Fix terminal display on MacOSX Retina
Change-Id: I4ca6cf928840049842542db83b2afbd4dfd0e848
2016-09-19 15:31:31 +02:00
Anton Leherbauer
ad7aa452d3 Fix API tooling issues 2016-06-30 15:03:46 +02:00
Anton Leherbauer
092e089d40 Bug 494108 - [telnet] Telnet line-ending should be configurable 2016-06-30 14:25:49 +02:00
Dirk Fauth
159afcfd92 Bug 494508 - Show in local terminal only available in project explorer
Added the menu contributions to
popup:org.eclipse.jdt.ui.PackageExplorer?before=group.edit additionally
to the ProjectExplorer contributions.

Change-Id: I1438057d82389c332c3678a3568bf0706497b49f
Signed-off-by: Dirk Fauth <dirk.fauth@googlemail.com>
2016-06-23 22:13:16 +02:00
Uwe Stieber
0bb01ded3a Fix Bugzilla 496314: "Initial Working Directory" preferences doesn't
work
2016-06-20 09:33:40 +02:00
Martin Oberhuber
da9b43493e Polish: Fix Findbugs Warnings
Change-Id: Ia43fad4721162d3e834d95773ad604247cd92556
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2016-06-06 01:36:16 +02:00
Martin Oberhuber
8854fc9696 Polish: Export all packages
Change-Id: I95258bdb898112c0a78431281fec9e5a687ecf90
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2016-06-06 01:29:33 +02:00
Martin Oberhuber
0742948918 Polish: Fix NewTerminalView Action Label
Change-Id: I09ab930ee8f1428e4109277e5dc4a024031ce7a4
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2016-06-06 00:20:22 +02:00
Martin Oberhuber
63b2c797b7 API Tooling: Add missing @since 4.1 tags
Change-Id: I9bead7f0537bcbff89fca582fc8510d441eeb39c
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2016-06-06 00:20:11 +02:00
Uwe Stieber
838e82efeb Remove unused suppress warning tag 2016-03-19 09:19:19 +01:00
Uwe Stieber
23e5ed3b10 Fix NPE on initializing the external executables state service provider
- part 2
2016-03-19 09:18:30 +01:00
Uwe Stieber
6b26ac987b Fix NPE on initializing the external executables state service provider 2016-03-19 09:15:45 +01:00
Uwe Stieber
b093d30afe Fix casting to the correct type for compatibility with older Eclipse
releases
2016-03-09 09:01:45 +01:00
Uwe Stieber
4f29bbabc0 Fix copyrights 2016-03-08 17:03:20 +01:00
Uwe Stieber
690bb95530 Fix NPE in ExternalExecutablesManager 2016-03-08 17:01:11 +01:00
Dirk Fauth
a02adccef6 Bug 460496 - [TERMINALS] Make it easier to run Git Bash
Added auto-detection of Git installations on Windows

Change-Id: I42702126ffb550dd8b289a45ee552d5095a1a615
Signed-off-by: Dirk Fauth <dirk.fauth@googlemail.com>
2016-02-10 21:03:30 +01:00
Dirk Fauth
e25c78d251 Bug 460496 - [TERMINALS] Make it easier to run Git Bash
Added external executables to the terminal combobox on the Open Terminal
Dialog (Ctrl+Alt+Shift+T)

Change-Id: Ia9d9a3959fd95b666c4a1ad4474b519103297920
Signed-off-by: Dirk Fauth <dirk.fauth@googlemail.com>
2016-02-10 20:58:08 +01:00
Dirk Fauth
0c1dea7137 Bug 460496 - [TERMINALS] Make it easier to run Git Bash
Moved the code and all related configurations regarding showin from
o.e.tm.terminal.connector.local to o.e.tm.terminal.view.ui

Change-Id: If548ae729173c6127f7cf918aa2f783cd6cb3961
Signed-off-by: Dirk Fauth <dirk.fauth@googlemail.com>
2016-02-10 16:02:54 +01:00
Dirk Fauth
8eb7a7f21d Bug 473107 - [TERMINALS] Show-In menu type depends on project type
Introduced an ISourceProvider to check if external executables are
configured. Renamed the Terminal context menu "Show In" to "Show in
Local Terminal". Extended the visibleWhen check so that the "Show in
Local Terminal" menu is only visible in the context menu if an external
executable is configured. Otherwise it is possible to open the Terminal
via the inclusion of the command in the default "Show In" menu.

Change-Id: I618b2352a8973d6591cf9e673dc4eb01aeec072e
Signed-off-by: Dirk Fauth <dirk.fauth@googlemail.com>
2016-02-10 13:37:12 +01:00
Kaloyan Raev
916992ab3d Bug 485658 - NPE prevents displaying the actual error
Change-Id: I66ec6d071a6807e6f90835bdc09e9cc46e6808fe
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
2016-01-12 19:02:29 +02:00
Marc Khouzam
222deaa4e4 Missing string for %TerminalConnector.local
Change-Id: I1f2dc6ba9d59763f78b06c404581ee19a6f311d7
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-12-17 09:45:06 -05:00
Anton Leherbauer
e7939cc360 Fix handling of exported bash functions in environment 2015-12-16 09:34:00 +01:00
Ryan Prichard
44f0083f72 Reply to a DSR(5) request for ready status.
When TM Terminal sees this:

   ESC [ 5 n

It replies indicating that the terminal is OK:

   ESC [ 0 n

This escape sequence is documented here:

   8.3.35 DSR - DEVICE STATUS REPORT.  Page 40.
   http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-048.pdf

Motivation: I'd like to switch winpty from using DSR(6) to DSR(5) as its
ESC flushing command.  When winpty sees a bare ESC, it can either
synthesize a VK_ESCAPE keypress or wait to see if the ESC was part of some
other escape sequence.  It tries to deal with this by generating a DSR(6),
which should flush out the remaining bytes of the sequence, if there are
any.  DSR(6) is suboptimal, though, because the reply collides with the
sequence some terminals use for F3 with a modifier:

    ESC [ nn ; nn R

DSR(5) generates a DSR(0) reply, which does not have the same problem.

DSR(5) is supported by all the terminal emulators I tested, including
xterm, rxvt, rxvt-unicode, gnome-terminal, konsole, putty, mintty,
OS X's Terminal.app, and IntelliJ/jediterm.

Signed-off-by: Ryan Prichard <ryan.prichard@gmail.com>
2015-11-30 20:31:00 -06:00
Anton Leherbauer
194f4e2611 Bug 477702 - Telnet line ending needs to be CRLF 2015-10-01 12:35:46 +02:00
Martin Oberhuber
02cf48046f Cleanup: Fix Terminal API Markup part 2
Mark Terminal Interfaces as @noextend @noimplement where implementation
doesn't make sense (since it's just constants or an abstract base class
exists for extending). This helps giving room for safely extending 
Terminal interfaces in a backward-compatible way in the future, by
leveraging Eclipse API Tooling.

Change-Id: Ia5a99f9379ddd73dd58afe4dec4540ae24633b09
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2015-09-16 16:24:27 -04:00
Uwe Stieber
1a1bcf774b Improve "New Terminal View" handling.
- Add a command to open the new terminal view. Allows to associate a
short cut
- Open the "Open Terminal" dialog on creating a new terminal view
2015-09-14 11:37:32 +02:00
Martin Oberhuber
ec23b12ef2 Cleanup: Fix various API Markup Issues
This fixes API related issues and warnings by adding appropriate markup
where it had been forgotten. This is formally breaking binary
compatibility in some cases, but we are OK releasing as 4.1 since it
just codifies the original intent of the API.

1. org.eclipse.tm.terminal.control/MANIFEST.MF:
   - Replace unintuitive "x-friends" with more obvious "x-internal". 
   - Update the terminal.test/.classpath instead for giving access.
   - Add @noimplement keywords on interfaces where appropriate.
2. org.eclipse.tm.terminal.view.ui:
   - Add missing @since tags, and mark the view.showin package as 
     "x-internal", since it was never meant to be API.
   - Add @noimplement keywords on interfaces where appropriate.
3. Generally, remove unnecessary @suppress("restriction") warnings 
   and fix one "Type Safety (ArrayList)" warning.

Change-Id: I75f8b0fb3a5ff0383bff3bc0a4a8d9fd07b71ac9
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2015-09-10 14:52:06 +02:00
Uwe Stieber
d2350826e8 Fix Bug 476888 - msg on each Terminal open: "bash: mc: line 1: syntax
error: unexpected end of file" ??
2015-09-09 14:39:38 +02:00
Anton Leherbauer
f1f1d06b78 Fix missing @since tags on new mouse listener API 2015-09-08 12:38:52 +02:00
Davy Landman
aacd3c61cd [475267] Added TerminalMouseListener to the VT100TerminalControl
As discussed in bugzilla, this extension allows terminal connectors to
implement special features on mouse events (such as clicking on hyperlinks).

Feature-request: https://bugs.eclipse.org/bugs/show_bug.cgi?id=475267
Signed-off-by: Davy Landman <davy.landman@cwi.nl>
2015-09-08 05:44:44 -04:00
Martin Oberhuber
0efaf9c583 Cleanup: Fix obvious compiler warnings in tm.terminal.control
Change-Id: I26c0c0f049e7617d8ba58701af2efd54aa2d0768
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2015-09-04 16:43:21 +02:00
Martin Oberhuber
3d2cdcc986 Releng: Add API Tooling to Terminal
Enable API Analysis on all Terminal Connectors, and mark
o.e.tm.terminal.control/provisional/api as API in MANIFEST.MF
such that full API Analysis is available on our de-facto API.

Since the conversion of provisional.api to full API triggers errors,
this needs a patched 4.0 baseline to properly compare against. Use
http://archive.eclipse.org/tm/downloads/tm_4.0_api_baseline.zip
for analysis in 4.1 -- after 4.1 a normal baseline will do.


Change-Id: Ibbc2addd59a629d45f676a97339bf27bba07014e
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2015-09-04 16:18:30 +02:00
Pablo Torregrosa Paez
0a3e104663 SSH Terminal: Default user stored if "Save user" is checked.
Change-Id: I530fe20e288dea3798960b9c9fa3a3ea8f90455b
Signed-off-by: Pablo Torregrosa Paez <pablo.torregrosa@windriver.com>
2015-09-02 10:13:21 -04:00
Uwe Stieber
311b9e027c Tests: Remove obsolete ANT test file 2015-09-02 13:02:24 +02:00
Anton Leherbauer
a495e4bea7 Fix missing since tag 2015-08-13 17:18:32 +02:00
Anton Leherbauer
3a721a060d Bug 474763 - Toggle Command Input Field button is not in sync with active terminal 2015-08-12 10:04:02 +02:00
Uwe Stieber
b1870f60c5 Make terminal listener API changes backward compatible 2015-08-11 17:41:21 +02:00
Uwe Stieber
1e60a6f000 Fix version constraint on optional o.e.egit.ui dependency 2015-08-11 14:11:54 +02:00
Uwe Stieber
8d4250bac6 Bug 460277: Show In > Terminals fails in the "Git Repositories"
Perspective
2015-08-11 11:01:52 +02:00
Uwe Stieber
f5df46b150 Replace "Pin&Clone" by the simpler "Open New Terminals View" action
The "Pin&Clone" concept is percieved complicated by the user. It is
replaced by a more simpler concept where the user has an action to open
a new "Terminals" view on demand. A new console is always opened in the
last active "Terminals" view.
2015-08-10 15:07:35 +02:00
Uwe Stieber
51f92ed895 Add @since tags to newly added API 2015-08-05 17:17:16 +02:00
Uwe Stieber
59bc7aaf9c Fix pom.xml version 2015-08-05 17:06:16 +02:00
Max Weninger
7c218d95fb The "copy" menu item of the "Terminal" view isn't available if the text
is selected via "Select All" from the context menu

Signed-off-by: Max Weninger <max.weninger@windriver.com>
2015-08-05 16:33:44 +02:00
Anton Leherbauer
dd006914b5 Fix duplicate encodings UTF-8 and UTF8 2015-07-15 16:41:45 +02:00
Anton Leherbauer
e40082b64a Bug 470114 - Unable to connect using telnet: ArrayOutOfBoundsException
Change-Id: I0089b5a0ad3d3bb894f5fd0aa0e280b700a3e22e
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-06-25 02:36:10 -04:00