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

208 commits

Author SHA1 Message Date
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
Greg Watson
f48e9c35f2 Bug 470525 - Handle remote connection parser initialization failure
gracefully

Change-Id: Ie6440b3c0310e15ebb404d5e0deff48eb9722635
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-06-24 11:35:04 -04:00
Uwe Stieber
f743d07e7e Add missing @since tag 2015-06-24 13:52:12 +02:00
Uwe Stieber
6684fa8364 Bug 470854 - Making the getTabCommandFieldHandler method of
TabFolderManager override-able
2015-06-24 09:50:58 +02:00
Q.S. Wang
6683690349 Bug 470757 - The console manager doesn't use the secondary id for
opening the view

Use the secondary id the caller passed in if it's not null or '*',
otherwise use the auto generated secondary id.  

Change-Id: I25a884bcb6841cb5fc7e1e6f191800b99e42873a
Signed-off-by: Q.S. Wang <wangqs_eclipse@yahoo.com>
2015-06-23 10:13:09 +10:00
Uwe Stieber
8eba787d83 Terminal: Prepare "New Terminal View" action 2015-06-15 09:15:37 +02:00
Uwe Stieber
121f0a2e00 Releng: Fix pom files 2015-06-11 15:19:00 +02:00
Uwe Stieber
ccc0144058 Releng: Adjust maven version for Terminal 4.1 release 2015-06-11 15:01:44 +02:00
Uwe Stieber
08dc3c61fb Bug 469415: Increase versions and add @since tag to satisfy API
guidelines
2015-06-11 14:55:47 +02:00
Uwe Stieber
468e07f062 Adapt fix for Bug 469415 (Allow user set the title explicitly) for all
existing connectors
2015-06-09 11:40:51 +02:00
qwang
1489103f23 Modifed the changes
4.Remove the super freference, there's no reason to call that way.
5. Clean up the getDefaultTerminalTitle method in
AbstractLauncherDelegate.
    
Change-Id: I5211dd26fa6691c666bb457a1ef10e19a190441d
Signed-off-by: Q.S. Wang <wangqs_eclipse@yahoo.com>
2015-06-07 09:50:47 +10:00
Martin Oberhuber
a04778c8e8 Bug 468875 - Hide the Oldview Migration capability in Preferences 2015-06-04 07:38:33 +02:00
Martin Oberhuber
72b0f6ac9c Clarify name of the TM Terminal via Remote API Connector 2015-06-04 07:18:12 +02:00
Greg Watson
b1459f826a Bug 468858 - initialize terminal size to fix line wrapping
Change-Id: I0efc6e849fa8bf2ff42f9b50aa96bcb47b6d0d5b
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-06-03 11:11:31 -04:00
Martin Oberhuber
6076d2f016 Merge commit 'b4250143312d4821916a0322574070545042e56d' into 4.0_mars_bugfix 2015-06-03 16:17:38 +02:00
Anton Leherbauer
e58c5d3506 Fix missing context menu if Terminal is created while invisible 2015-06-02 17:10:12 +02:00
Greg Watson
34bddccabe Bugs 468857, 468858, 468859 - Various fixes for remote terminal.
Change-Id: I0b05724722a0fe55f45cad5c4edff9398fbb352d
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-06-02 09:19:24 -04:00
Anton Leherbauer
4ea71eb57e Fix NPEs when closing Old Terminal view and avoid opening on top of Welcome 2015-06-01 16:22:50 +02:00
Martin Oberhuber
b425014331 Bug 468875 - Unconditionally hide the "Terminal (Old)" view shortcut 2015-05-30 15:42:32 +02:00