1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-12 19:45:22 +02:00
Commit graph

34770 commits

Author SHA1 Message Date
Jonah Graham
41b5a72c73 Bug 518699: cleanup platform breakpoints between tests
Ensure no platform breakpoints are left over from previous tests

Change-Id: I3266636e9014d4930ec72f7411c9a4dc737d0d9f
2017-06-23 14:06:03 +01:00
Jonah Graham
195ae12776 Bug 516102: Change DSF tests to run GDB 8.0 tests by default
Change-Id: I868d58fd4eeee812fa3e5361561a9eb879a71627
2017-06-22 11:35:13 -04:00
Jonah Graham
8d26859710 Bug 518643: Increase wait for CDT to quit GDB
This is due to a new 500ms delay between inferior exiting and CDT
killing GDB.

Change-Id: I561f69e74caff3e82d89fd8cf2e4babe2c30392a
2017-06-22 11:34:50 -04:00
Jonah Graham
125220eb63 Bug 516102: Add fs_base as new register in GDB 8.0
Change-Id: Ia0600cca38153139fe0b6fb63f087821e0cd336a
2017-06-22 10:49:15 -04:00
Jonah Graham
6e95bbbd58 Bug 516102: Adding GDB 8.0 to the download-build-gdb.sh script
Change-Id: I5ca3e76e57f4b27dce842b08e729e3542b874248
2017-06-22 10:48:01 -04:00
Thomas Corbat
65eda42b16 Bug 518628 Function declarator location misses virtual specifiers
- Change parser to include virtual specifier in function declarator
location
- Change DeclaratorWriter to write all virtual specifiers in their
initial order

Change-Id: Iff381394b834146c1b63877bc9eb84517d31e078
2017-06-22 07:48:33 -04:00
Jonah Graham
d8c3c0967d Bug 518627: Squelch Device Disposed exception at shutdown
Note, can't simply check isDisposed as that still leaves a race
condition between isDisposed call and asyncExec call

Change-Id: I3e0e196d9d1dd9b9c8d4048a1aec55405d6dd6e0
2017-06-22 07:03:34 -04:00
Nathan Ridge
bd4656755c Bug 516338 - Avoid calling instantiateType() on arguments of non-dependent template instances
Change-Id: I51628e9b6ca569943879f48d4c0d0b740bdc23b8
2017-06-20 02:34:07 -04:00
Nathan Ridge
1dceabb0eb Bug 516338 - Detect substitution failure during instantiation of dependent alias template arguments
Change-Id: Ia97e0632e17b4047a0fe35c05be72dab75e43d5c
2017-06-20 02:34:07 -04:00
Nathan Ridge
e374b4b08e Bug 516338 - Have ICPPAliasTemplateInstance implement ICPPTemplateInstance
This allows querying alias template instances for their arguments (for
e.g. instantiating dependent arguments later).

Change-Id: I7cc3dfcef75fe0faf104dc7bfe11e2acd90a4748
2017-06-20 02:34:07 -04:00
Nathan Ridge
8d6cab41e7 Bug 516338 - Introduce alias template specializations
We previously modelled alias template specializations as alias template
instances, which was conceptually incorrect and problematic for a number
of reasons.

Change-Id: Ibca8b87bb3d54cd3ae312254a02e8522e446331d
2017-06-20 02:34:07 -04:00
Nathan Ridge
3e0853ae0c Bug 516338 - Improve typedef preservation
Besides the UX advantages of typedef preservation (such as refactorings
preserving typedefs), it's important for correctness because the
arguments of template aliases can be subject to SFINAE even if they
don't participate in the target type.

Change-Id: I4e71372553dc418d1b8c3e27bd2c0387a41a3269
2017-06-20 02:34:06 -04:00
Doug Schaefer
d6dccc8558 Fix serial port naming on Windows to ensure get() method works.
Change-Id: Ida9b9568280b9530c8e7ff55b45e503889208dd1
(cherry picked from commit 34a3a01259)
2017-06-19 10:21:25 -04:00
Nathan Ridge
bd6da0b03d Bug 486082 - Have ProblemBindingChecker report errors of type IProblemBinding.SEMANTIC_INVALID_TYPE
Change-Id: I58f27a8783ea0dca53da5b45c2da11c6623892fd
2017-06-19 00:26:59 -04:00
Doug Schaefer
ff9289d396 Even better solution for the deadlock on startup.
Make sure we aren't locked when calling the listeners.

Change-Id: Id67f52013646733347c3ac0e45ef0a32953c9e89
2017-06-15 11:15:40 -04:00
Doug Schaefer
64f1d0b5d9 Fix deadlock on startup. Never use syncExec.
Change-Id: I841045d56dc4a7446854282db6d74809629952a6
2017-06-15 10:54:50 -04:00
Martin Oberhuber
fa298da8b7 Releng: Update to Tycho-0.23.1 for bz 459873, Unify Target Platforms
- Tycho-0.23 makes multiple Hudson builds in parallel more robust
- Use SWTbot-2.2.1 on Eclipse-3.8 to keep target dependencies clean
- Bring *.target files in sync with pom-config.xml for interactive use
- Align .gitignore with TCF's .gitignore

Change-Id: I6dfd7bfee43e8fcab1b6e7aae7a0b46f2f83bbf4
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-15 16:30:15 +02:00
Martin Oberhuber
ef6aeee516 Releng: Enable Apache PMD build reports
Change-Id: I99039197ab28e70ad013a7dbd4a59b2713bd768d
2017-06-14 07:23:42 +02:00
Martin Oberhuber
198e9602dc Releng: Revert to jarsigner-1.1.2 since 1.1.4 fails with Java 8
Change-Id: Ifab75c4dd0c96c9217cf8154ab72f79a924c54b7
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-14 06:35:28 +02:00
Martin Oberhuber
77ddbb7713 Releng: Clean Up and Unify *.target Target Platforms, SWTBot-2.5.0
Change-Id: I57585301be84c8c790609d0ac65548a7dcf02d8f
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-13 23:48:50 +02:00
Martin Oberhuber
33b6fc0301 Releng: Update Maven findbugs, jacoco and jarsigner to support Java 8
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=457949

Change-Id: I91b51bf4ed4a2adbd4b31566343b3e701c161c52
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-13 22:58:59 +02:00
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