1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00
Commit graph

7664 commits

Author SHA1 Message Date
Martin Oberhuber
9a423667bc Bug 516330 - Make terminal.connector.serial REQUIRE gnu.io non-optional
As the o.e.tm.terminal.connector.serial , which is based on RXTX,
was taken out of the master terminal.feature, it is now only available
as a separate feature. Consequently, it only makes sense installing
when RXTX is also available - the RXTX dependency was thus made
non-optional.

Change-Id: If6528a6518da57335c7449def359e0f645c77b67
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-13 15:08:00 +02:00
Martin Oberhuber
a557d99dee Releng: Fix SWTBot Dependencies on Juno-Luna by adding Mars.2 Orbit
Change-Id: I9145ba0cfd477fa2ed4e7a9aee117eb2a97c1c50
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-13 14:38:56 +02:00
Martin Oberhuber
68a1221aae Releng: Update EGit in Target Platform
Change-Id: I926048f5bbe98e137bc2e77ff608f2173a92c901
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-13 12:06:18 +02:00
Martin Oberhuber
7b52e3974c Bug 518121 - Support multiple terminal connectors with identical label
In case multiple terminal launcher delegates are registered with
identical label, the ID of a delegate is used as fallback instead
of the label in order to disambiguate.

This doesn't look pretty in the UI but it works and it's a generic
solution for an atypical problem.

Change-Id: I4028e1819f7405c2cb65eacf4e84f437900d884e
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-13 10:44:54 +02:00
Martin Oberhuber
3e539b7331 Releng: Fix Terminal Unittests under Tycho with Jacoco
Change-Id: Ib4daa2402917122edb4b561dbf1ae696c80f0c7c
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-13 10:21:49 +02:00
Martin Oberhuber
b2a7eec797 Merge "Bug 516330 - Releng: Restore Tycho-0.22 for Building with Java 7" 2017-06-12 17:02:59 -04:00
Martin Oberhuber
48a2639cd2 Bug 516330 - Releng: Restore Tycho-0.22 for Building with Java 7
- Make Mars the defaut target to build against to support Java 7
  along with cdt native serial for a full build
- Cleanup: Fix indentation
- Add Oxygen Profile

Change-Id: I21b1e9b0fb905c8c50889e9697f4d11231685945
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-12 22:46:17 +02:00
Martin Oberhuber
c65207ae33 Merge "Releng: Further Simplify Target Platforms" 2017-06-12 16:43:15 -04:00
Martin Oberhuber
623f71ef89 Merge "Releng: Tune eclipse-4.7.x-oxygen.target to pull minimal dependencies" 2017-06-12 16:43:06 -04:00
Martin Oberhuber
b7d80cce89 Releng: Further Simplify Target Platforms
- Source features are auto-discovered, no need to add
- By using the Planner, only root features are needed
- Use RSE runtime instead of SDK avoids doc.isv

Change-Id: I953b650e156742a5a7cbcc225e9dbdab3a3730ed
2017-06-12 22:24:37 +02:00
Doug Schaefer
b63f284ac3 Bug 518116 - Allow user to enter a non-listed port name.
This is a quick fix to allow users to enter cdtserial port
names that we don't pick up in the device list.

Change-Id: I9473278c6e65e2a2bc7bb40c78e41fdf9d349f44
2017-06-12 14:39:16 -04:00
Martin Oberhuber
1cb50329e7 Releng: Tune eclipse-4.7.x-oxygen.target to pull minimal dependencies
- Remove eclipse.sdk.ide and emf.sdk in the Target Platform
- Add platform.ide , hamcrest and ecf for correct dependencies
- Enable "planner" mode in the Target Platform instead of "slicer"
  for automated resolving of dependencies.

Change-Id: I4a09e43501f312c59b8241838a59c3a413efe49e
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-12 17:33:48 +02:00
Martin Oberhuber
29a6d3d999 Releng: Update eclipse-4.7.x-oxygen.target and tm-baseline.target
- Set tm-baseline to proper Neon baseline.
- Add Orbit (commons.net) and cdt-natives with source to target.

Change-Id: If028d97b813415fb658e2e37f6e10978e71e3c1c
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-12 11:08:56 +02:00
Václav Kadlčík
3ee6618da1 Bug 517358 - RFE: method to read TextCanvas content
Teach TextCanvas to provide all the text contained: getAllText().

The actual change takes place on the level of ITextCanvasModel
(interface) and AbstractTextCanvasModel (implementation); TextCanvas
just redirects the request there.

One bit of the existing code has been refactored: part of
AbstractTextCanvasModel.extractSelectedText() has been extracted
into a separate method - scrubLine() - so it can be reused in the
new code.

The primary (and probably the only one) use case of this new
extension is test automation: SWTBot- or Red Deer-based tests can
read content of TextCanvas instances and verify that they contain
what's expected, e.g. output of Docker containers or gdb sessions.

Change-Id: I92092c0f9837639d13d6bc32ae5b47acd24c54c1
Signed-off-by: Václav Kadlčík <vkadlcik@redhat.com>
2017-06-02 10:24:02 +02:00
Martin Oberhuber
36dc12036a Merge "Releng: Update Oxygen Target Platform" 2017-06-01 01:44:13 -04:00
Martin Oberhuber
0a2be14d7a Releng: Update Oxygen Target Platform
Change-Id: I757f609197167bd08af83c5e5504bf891416241d
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2017-05-31 01:35:53 +02:00
Martin Oberhuber
ae68201315 Bug 516330 - Uprev all features to 4.3 and introduce Maven -Pcdtserial
All features are upreved to 4.3 along with the Parent POM for the
upcoming Terminal 4.3 / Oxygen release. Plugin versions remain
unchanged, keeping them as semantic versions. Along the lines, also

- Introduce a Maven Profile -Pcdtserial, which is active by default
  to build the cdtserial plug-ins. This can be de-activated by property
  -Dnocdtserial on the mvn command-line. This is necessary to build /
  validate Terminal against older streams (juno,mars,...,neon) which
  did not have the necessary cdt native serial dependency.
- Update the update site to
  http://download.eclipse.org/tm/terminal/updates/4.3
- Update Copyright Year in all features to 2017
- Update p2 repo URLs of Oxygen and Orbit dependencies.
- Update the terminals.psf project-set file adding the new cdtserial.

Change-Id: I8992fe4bb8ac08abe783d33fbb8b00b4e864fd73
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2017-05-16 11:47:00 +02:00
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
Kaloyan Raev
50505c23b9 Bump version of org.eclipse.rse feature to 3.7.3
Change-Id: Idcab1ac7f9b35190dddb424be27a572489e4ae1e
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
2017-04-25 14:33:36 +03:00
Kaloyan Raev
6a6def64a4 Bug 505796 - Icons are missing in the Remote System Details View
Change-Id: I82086e684065175dff897093bd0b8416ffb7d4e0
Signed-off-by: Kaloyan Raev <kaloyan@raev.name>
2017-04-24 13:37:41 +03: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
Kaloyan Raev
fc91c56927 Increment version to 3.7.2 for features with recent fixes.
Change-Id: I7eaf66d397faeb1cdb728cafbfa1298185cc34c0
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
2016-10-26 12:16:07 +03:00
Kaloyan Raev
36f03fec2f Switch nightly builds to "development"
Change-Id: I322f493560a2e950185b40bd839329b2353bbce8
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
2016-10-26 01:01:04 +03:00
Kaloyan Raev
d27e6765f7 Bump +100 service version of org.eclipse.rse.ui
Change-Id: I8d95a714fe92ffe0970553cea104278246b26e61
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
2016-10-25 23:46:17 +03:00
Martin Oberhuber
9bbe84d17e [Releng] Add tm-baseline.target
Change-Id: If9c689134cb61104809ab343378f0b2f9574c98a
2016-09-20 18:01:13 +02:00
Martin Oberhuber
d7d9ba3a2d [Releng] Avoid version number in category.xml
Change-Id: If89350a0472d1fcd1d29519a1cf1bacae3d2ea80
2016-09-20 16:58:28 +02:00
Martin Oberhuber
4ffaadbc99 [Releng] Add Oxygen target platform
Change-Id: Ib5e441dfa0936240063578fbd3fb8e51c8686fcc
2016-09-19 17:33:51 +02: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
Uwe Stieber
a53620ce95 Update target definition files and project set 2016-08-26 18:00:17 +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
Aurelien Pupier
84f5872d31 [496808] Use new FilteredTree style
Change-Id: I8f181f73e55361894027a0f01acd175ae0c37bec
Signed-off-by: Aurelien Pupier <apupier@redhat.com>
2016-06-27 10:36:28 +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
Uwe Stieber
c48666a912 Configure Maven Central cache 2016-06-14 10:14:35 +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
026296b1e4 Polish: Fix update site name and remote.sdk feature label
Change-Id: I0ba754959f3c4e5ed10d2d3f6c79ea9664257a61
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2016-06-06 00:20:30 +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
Martin Oberhuber
8a58510c51 Update to official Platform 4.6rc4 build site
Change-Id: Idd2e68a55a557e1339ff2cdf9d3038c3e20d36fe
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2016-06-06 00:17:57 +02:00
Martin Oberhuber
d139f177ea Update Orbit to Neon R20160520211859
Change-Id: I90985bfe5b00b1c323c4ec8201b4e2e2511cbb0e
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2016-05-26 18:28:31 +02:00
Uwe Stieber
397566b1c3 Switch to Neon M7 Orbit repository 2016-05-13 13:35:17 +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
Simon Marchi
69465ac525 Bug 489676 - Ensure that RSEInitJob is scheduled before waiting for it to complete
There are two versions of RSEInitJob.waitForCompletion:

  waitForCompletion()
  waitForCompletion(int phase)

The waitForCompletion() version ensures that the job has been scheduled
before waiting for it, but not the waitForCompletion(int phase)
version.  Therefore, if the waitForCompletion(int phase) version is
called first, the calling thread can end up waiting for the completion
of a job that has never been started.

I got in this situation by disabling the auto-start of the RSE UI plugin
(in Window, Preferences, General, Startup and Shutdown).  Trying to
create a remote launch in CDT calls waitForCompletion(int phase),
therefore freezing the entire Eclipse.  When the auto-start of the RSE
UI plugin is enabled, the waitForCompletion() version is called during
the initialization of that plugin, so the problem did not appear.

The suggested fix is simple, just move the code that ensures the job has
been scheduled from waitForCompletion() to waitForCompletion(int phase),
so that the job can be scheduled by both versions (since the former is
implemented by calling the later).

Change-Id: I9f6e5f948c3dbf1be60ddf04af5adbdfcaf3a7eb
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2016-03-15 12:53:16 -05:00