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

34499 commits

Author SHA1 Message Date
Martin Oberhuber
08f4f5460f Merge "Bug 516330 - Make terminal.connector.serial REQUIRE gnu.io non-optional" 2017-06-13 09:09:04 -04:00
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
accbe9abc4 Fix concurrent mod exception with listeners.
Change-Id: If5088b530606421b573359b7755a01e45e32f0a7
2017-06-12 14:53:43 -04: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
Doug Schaefer
bfe45e8c74 Fix another IndexOutOfBounds exception. 2017-06-12 14:35:48 -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
Doug Schaefer
4995ccbe24 Fix indexOutOfBounds when no Arduino boards registered.
Change-Id: I9466405bd6b12d795ec6797da7b039aabd851b58
2017-06-12 11:14:54 -04: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
Nathan Ridge
c24e5d17b3 Bug 517954 - ClassCastException in CVisitor.findBindingsForContentAssist()
Change-Id: I0780b422ee727def577f78ed600f66a3ef4728d0
2017-06-08 02:57:45 -04:00
Jonah Graham
68a609fe44 Bug 517908: Don't convert #undef into #include <#undef> anymore
Change-Id: I24b18e050ac91668bd63626ed39f1bf8807f8feb
2017-06-07 04:20:23 -04:00
Jonah Graham
ad97076c4d Bug 517722: Mark as deprecated code related to Launch Group
Change-Id: I8d4b1dd3280011086a8e5b9652ecb7cdede81d52
2017-06-05 12:46:05 +01:00
Jonah Graham
fa142ee04b Bug 517722: Mark CDT specific Launch Group as Deprecated in the UI
Change-Id: Ib945742c6cec83ca9bd9fcb6bc42e32815d74f28
2017-06-05 11:04:48 +01:00
Nathan Ridge
5f937c0bf8 Bug 516648 - Delay storing of the type, exception specification, and parameters of a function specialization in the index until the post-process
This is needed to avoid infinite recursion, and mirrors the way regular
functions are stored.

Change-Id: I72d0c9fb1567cb9d2ba8922d38e17ec63e1fe97a
2017-06-04 18:29:00 -04:00
Doug Schaefer
0084cc2707 Bug 510987 - Properly support PIE executables as build output
When checking whether gathering the build output from a
CBuildConfiguration, if a binary is a shared library and is an
ELF file, dig deeper and see if it has an INTERP section in the
program header. That tells us it's actually a PIE executable and
add it to the list.

As a rider to this bill, improve the error message when a Qt install
can't be found for a given toolchain/target.

Change-Id: I8fd0bf2d204e9425b02916d7b17f4309a5ad9dd5
(cherry picked from commit 14b07f490c)
2017-06-02 12:08:10 -04: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
Doug Schaefer
d3dcd92d8f Bug 517581 Keep env var operation on merged vars the same.
If we are merging two env vars and the operations are both
append or prepend, keep that as the operation instead of
replace.

Change-Id: I758a54b8903eabafac38bf2f3f7d7065c0373e70
2017-05-31 13:07:37 -04:00
Doug Schaefer
63ff83042b Bug 447703 Build Console on top to true by default.
This matches the behavior of every other console provider
I've seen.

Change-Id: I0f1cdb22401bd7e204988df860854956fc57dde4
2017-05-31 11:26:44 -04:00
Jonah Graham
41958c1588 Bug 517516: Update N&N in CDT docs
Includes synchronizing same sections in Standalone Debugger docs

Change-Id: I7b66cc8b16da1f69c943aa922e1cded32346cbaa
2017-05-31 07:39:52 -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
Thomas Corbat
7376388a94 Bug 517405 - Marker refresh causes editor to open
Changed isApplicable to not retrieve the TU from the editor if it is not
open. Applying the quick fix will still open the editor.

Change-Id: Ib328ffa2054145eda8b2e72fe646fca2e7fc7905
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2017-05-30 09:29:48 +02:00
Nathan Ridge
cacb84e277 Bug 514423 - Ensure CodanCReconciler is installed on editors from all windows
Change-Id: I323a78fc1bd3a43270e27be7eb21c13f5a85de9f
2017-05-29 13:18:28 -04:00
Jonah Graham
efa1662b6c Bug 508948: Use environment from Launch configuration when running
Change-Id: I9f37eded44ece4ae25094cf70fa7f90a706e3e69
2017-05-29 08:49:12 -04:00
Jeff Johnston
aab8c277ac Fix Codan quick-fixes
- remove plugin.properties
- move fix-it regexes to bundle.properties

Change-Id: I6d389a12348e35d98c25ae18ca4026e03ea3e41d
2017-05-26 16:35:27 -04:00
Alexander Kurtakov
c04ef7a113 Remove CDI leftovers from docs.
Change-Id: I4e4d16c428d27ff2471f6510400ddb4bf45f3065
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-05-26 14:10:06 -04:00
Alexander Kurtakov
2ac0390091 releng: Enforce JavaSE-1.8 EE for tycho-eclipserun-plugin
Needed as otherwise tycho picks up the java executable from the path and
execs with it.

Change-Id: I44b838454e7faaa0e3bbcdfcd1e66d65ca8b5ac2
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-05-26 12:31:20 -04:00
Marc-Andre Laperle
35d0e13240 Bug 514459 - StackOverflow in PDOMCPPVariable.getInitialValue
Change-Id: Iaee32f03a4fa821979fca1e1ca7b2b272bac1737
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-05-26 11:47:09 -04:00
Alexander Kurtakov
fb61407d48 Rebuild help bundles with 4.7milestones repo.
This is needed so the lucene indexes generated are used in Oxygen. The
current lucene 3 indexes shipped are just ignored by the platform as
lucene 6 can't load them and the data is reindexed.

Change-Id: Ic171dee653c05230f0454f4e736160f02c7eefc0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-05-26 15:18:40 +03:00
Nathan Ridge
4412c851ab Bug 516686 - ArrayIndexOutOfBoundsException in CPPASTLiteralExpression.computeStringLiteralSize()
Change-Id: I45ce05315c57847bf8ae784b2fe7569a72716894
2017-05-25 20:52:22 -04:00
Nathan Ridge
b0cfef83db Bug 516685 - ClassCastException in CPPTemplates.createInstance()
Change-Id: I9b4ca25afa60a6ed3a79411cc5daa27add3e9cba
2017-05-25 20:51:01 -04:00
Doug Schaefer
c5a2c150ae Check for disposed. Upversion for Launch Bar 2.1.1.
Change-Id: I3ee0317023ecf9ca730743eb33650c4ec4c04b92
2017-05-25 11:26:42 -04:00
Doug Schaefer
0880413e98 Bug 516836 Terminal support for Arduino.
Add Arduino Serial Monitor as a Terminal Connector type. It uses the
Terminal's new cdtserial connector for communication and adds a
config panel that lets you pick the Arduino remote connection to
auto select the serial port. Also switched the Arduino launch
to fetch the serial port out of the global registry to pause and
resume the port while launching. The Terminal does not use the
remote connection to get the serial port.

Note: also adding the terminal as a dependency for builds. Yes,
further adds to our build cycle, but we're dealing with it so far
with o.e.remote.

Change-Id: I5a7cc9ffbf8ae60cd86e0e5440547d12202acbac
2017-05-23 16:41:00 -04:00
Vincent Guignot
e74222b86c Bug 516227: solib-search-path with space fails
If the solib-search-path path contains a space, CDT adds doubles quote
to escape the space (in MIStandardParameterAdjustable class) . But Gdb
client doesn’t understand the double quotes path.
This patch do not add double quotes when the path contains spaces.

Change-Id: I080be17023647dfac2b00296cdd54c7f9499102a
Signed-off-by: Vincent Guignot <vincent.guignot@ingenico.com>
2017-05-23 04:47:59 -04:00
Nathan Ridge
3147cc4732 Bug 516627 - Add support for generic lambdas
Change-Id: I2e8d16cfe2dc58b77e36fa7a6957506c90b7e75a
2017-05-22 13:39:55 -04:00
Nathan Ridge
f579acd381 Add some more commonly used types to SemanticTestBase.CommonCPPTypes
Change-Id: Ifec1e26f9e5a31651229e50002dfcb2d67b1379d
2017-05-22 13:39:29 -04:00
Nathan Ridge
9aa8aca96b Factor out an AST2CPPTestBase base class for C++ AST2 tests
Change-Id: I923fa1559a0cca584ff3a601d59ac71c0e491c49
2017-05-22 13:38:53 -04:00
Jonah Graham
7f8440b6b2 Bug 516813: don't mark all targets as secondary
Change-Id: I9da30b0504f1f89e927b9f735fc98a09bfea08b5
2017-05-17 14:34:09 +01:00
Jonah Graham
b48696a6ea Bug 314428: add missing copyright header and format file
Change-Id: I79883240c004485787879383ee29663444ccf8ba
2017-05-17 13:39:47 +01:00
Doug Schaefer
822e0d0505 Bug 516407 Set Agent and make package.json downloads more robust
The ESP8266 URL started reject connections. Turns out setting the
User-Agent property on the connection fixes that. I also made this
more robust from download failures so that at least other packages
can be downloaded. Finally, I removed the ESP8266 URL from the
defaults.

Change-Id: Ib2ea5667ba490ae660883a30b3049c3d736cfdb7
2017-05-16 21:39:41 -04:00
Doug Schaefer
43e62924a1 Bug 498171 Propagate scanner info fix for Arduino.
Change-Id: I3ed23049f0364d8fe989f1fa0d8a9b7b47378f32
2017-05-16 20:57:17 -04: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