1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-18 05:35:45 +02:00
Commit graph

25046 commits

Author SHA1 Message Date
Doug Schaefer
c9d2f482d6 Upversion the native feature and move the dup serial plugin out.
The serial plugin shows up in both the platform and native features.
It should only be in the native feature since the platform feature
includes it already.

Change-Id: I8150e72dcd76759f2b90e3b14421d5d670f7f513
2017-04-04 16:32:56 -04:00
Doug Schaefer
bd126554e6 Upversion for CDT 9.2.2.
Change-Id: I5436f6e42400edc186f807e941ce77a6e905a2a5
2017-04-04 14:12:44 -04:00
Zoltan Adasz
c1d7f5c523 Bug 509118. Extend regexp to detect devices in /dev for Linux.
Change-Id: I1dfcca8f34019a210702473afb946b2a76cb37d7
Signed-off-by: Zoltan Adasz <adanrg@gmail.com>
2017-04-03 13:06:56 -04:00
Marc Khouzam
6ee23f24cc Update target dependencies for Neon.3 RC4
Change-Id: I580cdd9b5d9566c5fe661722063af3540b6eca4f
2017-03-06 15:24:06 -05:00
Marc Khouzam
d40efcfe63 Update target dependencies for Neon.3
Change-Id: I09358089f746a9b58561e15432d50d6683069cec
2017-02-27 14:24:44 -05:00
Marc-Andre Laperle
889bbf8f21 cmake: Fix missing NLS messages
For example, opening the CMake property page, there was a missing
message for the cmake-ui button.

Change-Id: I126fe1cb6e290edc289a2dade44500dd35ed1207
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
(cherry picked from commit 6cad124cf0)
2017-02-21 12:35:44 -04:00
Jonah Graham
3c2b904488 Bug 509320: Revert update to re-exported version
This is a partial revert of e49517eb7c. 
This revert prevents an otherwise unnecessary API version increment.

As e49517e added the correct version dependency from
org.eclipse.cdt.dsf.gdb to org.eclipse.cdt.core.native, which was the
true dependency, we don't have to increase the dependency on the
re-exported version within org.eclipse.cdt.core. Because
org.eclipse.cdt.core.native is a singleton and only the 5.10 version of
org.eclipse.cdt.core.native will satisfy the dependency where it is
needed in dsf-gdb, this solution guarantees correct wiring up.

Change-Id: I23b32480550fee33a4e156a91df12ac7720d8dc3
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2017-02-21 09:43:44 -05:00
Marc-Andre Laperle
848b4c4bae Bug 512096 - Fix NPE selecting an LLVM toolchain in toolchain editor
When a toolchain is selected along with its builder, the builder gets
matched to a “real builder” (ManagedBuildManager.getRealBuilder). If the
builder is abstract, the builder is not in the possible list of matches,
as implemented in Builder.getMatchKey. This causes
getCurrentBuilderCompatibilityInfo to return null which is not handled.

This patch changes the base LLVM builder to a non-abstract one, which
solves this specific NPE.
Also, in order to be more helpful to the user in case it happens to
another toolchain, a null check was added with an error message that the
builder is incompatible. Then at least, it is more clear that something
is wrong and the user can pick a different builder. 

Change-Id: I4d26c568dfe6307b496719c10908a36933fd3ab8
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
(cherry picked from commit 00b30bb03a)
2017-02-21 09:16:31 -05:00
Marc Khouzam
d96eb8b4c7 Update baseline for API tool for 9.2.1
Change-Id: I968604b0077d436d729420f15317385d59ee3c3f
2017-02-20 22:50:24 -05:00
Marc Khouzam
6fdc9c409c Make new constructor private to avoid adding API
APIs cannot be added in a maintenance build.

Change-Id: I1604112981f4c22ddd2781a9b28d28e3bb9aff52
2017-02-20 21:25:09 -05:00
Marc Khouzam
e65a288a8a Update version to 9.2.1
Change-Id: I4cd4de09491c1d52d4bdb3c02cf0508aed22b59b
2017-02-20 21:24:13 -05:00
Jeff Johnston
45c2d39114 Bug 508319 - "Dummy Page" overrides "C/C++ Build"
- remove Dummy Page from org.eclipse.cdt.debug.application
  plugin.xml

Change-Id: Ia12d64fdba1eaeefbee3fec24d837c184884ec40
2017-02-20 10:18:24 -04:00
Nathan Ridge
50e3f13459 Bug 512262 - Remove the unnecessary ICPPEvaluationOwner interface
This also fixes some ClassCastExceptions caused by types which
implemented ICPPASTInitializerClause but not ICPPEvaluationOwner.

Change-Id: Ie624865ebe476fe760dc28e02b6aef8a43b4c621
2017-02-17 00:06:56 -05:00
Alexander Kurtakov
1ddcfa1856 Fix cmake feature to use license feature for proper license.
Change-Id: Iec4d07db7f73f38fe72fe698fede2b380052879d
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-02-15 09:26:42 -05:00
Marc Khouzam
5b09d85d76 Bug 511057 - Number format breaks if debug starts with view pinned
Change-Id: I340cf916e46d92f44ae7f3c51e1e53f619bb7795
(cherry picked from commit 0f2acb0221)
2017-02-14 12:35:10 -04:00
Marc Dumais
45a4c5e568 Bug 510773 - [traditional rendering] overlay mangles one in next cell
This patch fixes a variable overlay issue, that causes two overlays to
become mistakenly mangled together.

Change-Id: I3c95c400bb490c8e7efdd96d107e3af3f4fc7906
2017-02-13 06:26:31 -05:00
Nathan Ridge
63ed21e194 Bug 511726 - Handle unresolved field owner type in CPPASTFieldReference.getFieldPosition()
Change-Id: I0ded6f44f8aad69d54c361432afcb423ed6601b2
2017-02-12 18:57:02 -05:00
Nathan Ridge
e6b9bee424 Bug 511658 - Destructor call via alias template name
Change-Id: I64a7ec62a05345983e9e298a6ba735f63385486b
2017-02-12 17:57:27 -05:00
Nathan Ridge
b2b1e17b37 Bug 511122 - Instantiation of dependent destructor name
Change-Id: I090439b6c525cae3bf054f65f67190811232d64c
2017-02-12 11:26:17 -05:00
Nathan Ridge
a0820d3efd Bug 511427 - ClassCastException in CompositeCPPClassType.wrapBindings()
Change-Id: Id02d59a67b98131aaa4afc8936f89d0985ef93cf
2017-02-11 20:04:01 -05:00
Nathan Ridge
eaca7d04a5 Bug 511274 - Compute correct replacement length for ParameterGuessingProposal
Change-Id: Ia2d6f10086f8d2a9ec922a3ff37eadc8ab94c9ed
2017-02-11 19:06:05 -05:00
Nathan Ridge
00046e9fb2 Bug 511108 - Update the set of supported feature reported in __has_feature
Since the last update, C++14 relaxed constexpr and a few new type traits
have been implemented.

Change-Id: I6fb780973c113820bfecf6a2bc7f1b7f5b1494e9
2017-02-10 22:31:10 -04:00
Nathan Ridge
2363e0ac11 Bug 511186 - Noexcept specifier in type template argument
Change-Id: If0c3299c563829a9b3549f78b346a19e68042456
2017-02-10 22:30:29 -04:00
Nathan Ridge
c1ef041828 Bug 511108 - When parsing as clang, enable the extensions supported by clang in the scanner extension configuration
Change-Id: I43fe278e08b3274c465374503f994e6dc46668e6
2017-02-10 18:07:40 -05:00
Nathan Ridge
d1e58640b3 Bug 511108 - Only report support for type trait primitives in __has_feature if such support is actually enabled by the active scanner extension configuration
Change-Id: I0631f555935fdbdd1f2a98fe737a129ef5b90eda
2017-02-10 17:10:36 -05:00
Nathan Ridge
827a743f97 Bug 511429 - Handle TypeOfDependentExpression in PDOMCPPLinkage.unmarshalBinding()
Change-Id: I2eca438be88bb0d78dae5f511fa1fde46965fa65
2017-02-10 15:08:06 -05:00
Nathan Ridge
fcd3f62d31 Bug 511048 - Offer completion proposals for nonstatic methods in a using-declaration
Change-Id: Ifb3aee10c354aebe606c439cdda1453b1cc29095
2017-02-10 13:35:48 -05:00
Nathan Ridge
bbbf9c7059 Bug 511108 - Do not attempt to resolve the name in an EvalID if the name owner is still dependent
Change-Id: I63dcfa4413569554f30be0c6a94c2b1691515aa4
2017-02-09 17:35:13 -05:00
Nathan Ridge
0eb29c397d Bug 510834 - Propagate substitute failure in EvalID.instantiate() with field owner
Change-Id: I27088b7da18f7fe52d77bd669e32b225a1e99d21
2017-02-09 15:02:52 -05:00
Sergey Prigogin
810257caee Bug 511871 - CContentAssistProcessor.createContext may leak index lock
Change-Id: I828c94484c7b1594ba72551b80cd5ed6e6a8576c
2017-02-07 18:52:14 -04:00
Marc Dumais
143f85b06e Bug 510924 - Alt+Enter on breakpoint shows incomplete properties dialog
When using the "Alt-Enter" shortcut with a breakpoint selected, the
properties dialog that is created is missing some fields. This seems to
be caused by the fact that the dialog, when summoned in this way, is
created using a wrong context: an ICLineBreakpoint instead of the
expected CBreakpointContext. That context is then used to fetch
properties from the store, which fails.

This is a naive fix that attempts to work around this by creating a
proper context from the breakpoint.

Change-Id: I2b7c86965d09898dd1cd7eeb3c3f704bb2995e20
(cherry picked from commit 86189eeb86)
2017-02-07 14:01:54 -04:00
Marc Dumais
0e074ad3c1 Bug 510615 - Launch dialog, handle spaces in gdb path
The path to GDB is set in the launch dialog, under the Debugger tab. If
the path to GDB contains one or more spaces, and is not within double
quotes, GDB will not be found and the launch will fail. 

This patch improves the use cases around the "Browse" button, to select
GDB's path. 

1) if the user clicks on the "Browse" button, the browse dialog will
open in the correct place, no matter the presence of space(s).
2) When GDB's path is selected with the "Browse" button, it's then set
in the "GDB debugger" field. This patch looks at the selected path and
adds surrounding double quotes if there is any space within, and strips
any double quotes if there are no spaces. 


Change-Id: I202f574772965af3a491d449b9e9a97e8c61e2b0
(cherry picked from commit 7f6e7f8c9b)
2017-02-07 13:47:09 -04:00
Nathan Ridge
01ead0227a Bug 510788 - Syntax coloring for template arguments in function template specialization
Previously, the arguments shared the color of the template-name.
Now, the arguments get their own colors.

Change-Id: I27af4146717a19095f1ac22188eedb8a71d9466c
2017-02-04 14:34:50 -05:00
Nathan Ridge
aeb39d6352 Bug 510706 - Handle UniqueType in SignatureBuilder.marshalType()
Change-Id: I3686e3c32cacbcbad299de333eee32241a4697a5
2017-02-04 14:34:29 -05:00
Nathan Ridge
4e0e816a6a Bug 510665 - User-defined literal operator in namespace
Change-Id: Idb93eac23caa16870040cd4092f24a4a02563251
2017-02-02 23:51:00 -05:00
Nathan Ridge
cbe8e1f3cf Bug 497190 - Do not use ParameterGuessingProposal at all when parameter guessing is disabled
Change-Id: I9feda3d365eeb935296adbc7144b0f504017f87a
2017-02-01 11:57:04 -05:00
Nathan Ridge
759a5d9a8e Improve the propagation of the point of instantiation in CompositeValue
Change-Id: Ie874513e0dd9f22b20d40756b895303bd89a8ad1
2017-01-31 20:51:30 -05:00
Nathan Ridge
db59f80812 Bug 483824 - Inline namespace reopened without inline keyword
Change-Id: I48a066e6572e92b4fee90a8faa532469ea3c12e2
2017-01-31 20:51:18 -05:00
Nathan Ridge
1703112285 Bug 510722 - Handle a null AST in ExpandSelectionJob and ControlFlowGraphView
Change-Id: Iafd1b9a32833fb67554902d13955023c149a132e
(cherry picked from commit d45ff124e3)
2017-01-28 14:42:11 -05:00
Nathan Ridge
0dd5bb0f65 Bug 510484 - Restore the recursion protection set in CPPVariable.getInitialValue()
The set was moved to EvalUtil.getVariableValue() in bug 508254, but this
left some paths unprotected. This restores the set to
CPPVariable.getInitialValue() (while keeping the EvalUtil one too).

Change-Id: I4a579720f4bc23d41e50c484649a73c29698373d
2017-01-27 18:45:10 -04:00
Doug Schaefer
56d950b863 Turn off QML content assist for now.
It's throwing an exception in acorn.js. We need to revisit this anyway
in light of the LSP.

Change-Id: Ia6fd9d7bdd5d5133711947d37c412996ba23f19a
2017-01-27 17:04:37 -05:00
Marc Khouzam
05dde8b06c Add missing strings for Run launch delegate.
Commit 6fc6c3c671 mistakenly removed the
two strings that were being used for the Run launch delegate.  We
haven't noticed because we only have one Run launch delegate and
therefore its name does not end up being shown in most cases.

However, by going to Preferences->Run/Debug->Perspectives and then
expanding the C/C++ Application launch configuration type, the Run
delegate is shown with a missing string.

Change-Id: I2435097b0a13efd21ef3da01e2d4969d231a6f97
2017-01-26 11:23:32 -05:00
Nathan Ridge
1b164b5d87 Bug 509186 - Require an exact match for help proposals when providing context information
Change-Id: I06ccd65a0304921ebf2adbd556a89c8685237a8a
2017-01-25 20:03:49 -04:00
Nathan Ridge
07ca5174d5 Bug 72391 - When completing a function, do not insert parentheses if they are already present
Change-Id: Ia4beb5e7ee288c48f2dbde45b1f34a562b939cab
2017-01-25 20:03:25 -04:00
Nathan Ridge
81cbe87666 Bug 391439 - Do not do replacement for help proposal with context information style
Change-Id: I4d8988e9601e1f1b9722830b61cbf2d4c564a4cd
2017-01-25 16:50:46 -05:00
Marc Khouzam
9526f13962 Bug 507950 - Answer query on MI channel to avoid GDB waiting forever
With GDB 7.12, it is possible to receive queries on the dedicated MI
channel.  This channel is not accessible or shown to the user so if we
don't answer, GDB will wait forever.

This patch blindly answers 'y' to any query on the MI channel unless it
has already been answered automatically (which happens when we don't use
the full console).

Change-Id: I0e208fc3495ce6ba57b3e477661f47e50680fd88
(cherry picked from commit add2a14628)
2017-01-25 15:50:22 -05:00
Alvaro Sanchez-Leon
625dfd8304 Bug 509812 - Unable to interrupt arm remote target, Neon and GDB 7.12
Setting target-async ON in GDBJtagDSFFinalLaunchSequence_7_7 class 
only when interfacing with the FullGDBConsole.

async mode is required when using the full GDB console in order
to process the suspend MI command "-exec-interrupt" while the target is
running.

Change-Id: I08c382550c6dd8a8567a66169495a9e490c35397
2017-01-25 15:50:15 -05:00
Doug Schaefer
14b07f490c 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
2017-01-25 09:45:36 -05:00
Nathan Ridge
7023f59741 Bug 456293 - Completion of destructor name
Change-Id: I53422b1daf693e8ab6c0ad64857e8b07c970444c
2017-01-24 16:23:53 -05:00
Nathan Ridge
0a23da7e56 Bug 509182 - Completion of class type in using-declaration
Change-Id: Iacd0ab4bfead2df31cddc78840853eb697139b02
2017-01-24 16:10:07 -05:00