1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

26153 commits

Author SHA1 Message Date
Marc-Andre Laperle
bd5cec12a8 Remove AIX support
Eclipse 4.7 removed AIX support so CDT should also remove it.

Change-Id: I9ed50a4c47e7b861eb2adeb86e857d2a78b4834b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-02-05 21:16:48 -05:00
Sergey Prigogin
01236146d1 Removed unused code.
Change-Id: I1afd20c0468cdd8347e3ee8fa3fd3c21fc1d216f
2017-02-05 15:14:08 -08:00
Sergey Prigogin
7a9f9ebcc4 Cosmetics
Change-Id: I990c8920e32d8895a0f84d8911c2448281d53161
2017-02-05 18:13:49 -05:00
Nathan Ridge
a44bef00d6 Bug 511274 - Compute correct replacement length for ParameterGuessingProposal
Change-Id: Ia2d6f10086f8d2a9ec922a3ff37eadc8ab94c9ed
2017-02-05 17:54:53 -04:00
Marc Khouzam
0f2acb0221 Bug 511057 - Number format breaks if debug starts with view pinned
Change-Id: I340cf916e46d92f44ae7f3c51e1e53f619bb7795
2017-02-03 15:47:26 -05:00
Sergey Prigogin
90ad016967 Bug 509898 - IndexFileSet.containsDeclaration is slow and is causing UI
freezes

Added tracing of unusually expensive bindings in IndexFileSet.

Change-Id: I316257d32b4af7357644a2958177efd2df58f864
2017-02-03 12:43:11 -08:00
Nathan Ridge
e7d8ba0ec3 Bug 511186 - Noexcept specifier in type template argument
Change-Id: If0c3299c563829a9b3549f78b346a19e68042456
2017-02-03 13:53:35 -04:00
Nathan Ridge
6a8afa21a6 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-03 13:52:06 -04:00
Nathan Ridge
4c172b2407 Bug 511108 - When parsing as clang, enable the extensions supported by clang in the scanner extension configuration
Change-Id: I43fe278e08b3274c465374503f994e6dc46668e6
2017-02-03 13:51:41 -04:00
Nathan Ridge
8b64d79199 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-03 12:51:07 -05:00
Sergey Prigogin
dd92d1c9d5 Code streamlining.
Change-Id: If94003c41bac154601ddd8ce87a0418fbf4f1b0c
2017-02-03 01:10:07 -04:00
Sergey Prigogin
66c965df2e Bug 511606 - ClassCastException: CPPTypedefSpecialization cannot be cast
to IArrayType

Change-Id: Iac14f1a84323e2a0fee01cb23fb1ce33ee27757c
2017-02-03 00:08:55 -05:00
Nathan Ridge
5a4e821cfb Bug 511048 - Offer completion proposals for nonstatic methods in a using-declaration
Change-Id: Ifb3aee10c354aebe606c439cdda1453b1cc29095
2017-02-03 00:47:57 -04:00
Nathan Ridge
7b8bf74386 Bug 511122 - Instantiation of dependent destructor name
Change-Id: I090439b6c525cae3bf054f65f67190811232d64c
2017-02-03 00:46:07 -04:00
Nathan Ridge
fbc18a270f Bug 511108 - Do not attempt to resolve the name in an EvalID if the name owner is still dependent
Change-Id: I63dcfa4413569554f30be0c6a94c2b1691515aa4
2017-02-03 00:44:19 -04:00
Nathan Ridge
8c7c06646b Bug 511429 - Handle TypeOfDependentExpression in PDOMCPPLinkage.unmarshalBinding()
Change-Id: I2eca438be88bb0d78dae5f511fa1fde46965fa65
2017-02-02 23:39:50 -05:00
Nathan Ridge
5babeafa31 Bug 510834 - Propagate substitute failure in EvalID.instantiate() with field owner
Change-Id: I27088b7da18f7fe52d77bd669e32b225a1e99d21
2017-02-03 00:39:34 -04:00
Nathan Ridge
e832c49faf Bug 510706 - Follow-up to ensure a UniqueType's contribution to a signature is unique
Change-Id: Iceaf946c073455f10ffd8d95013442da91309be3
2017-02-01 12:53:53 -04:00
Nathan Ridge
52299c9124 Bug 499374 - Extend the preview code on the Syntax Coloring preference page
The code now includes a template parameter and a task tag, so their
respective colorings can be seen in the preview window.

Change-Id: Ie74a0af04b016ef506d665a9472775aa8f6d757c
2017-02-01 12:51:36 -04:00
Nathan Ridge
4ed57293e6 Bug 510998 - Use the semantic highlighter to color the preview code on the Syntax Coloring preference page
Previously, the highlighted ranges in the preview widget were hard-coded.

Change-Id: Ib1221ae69fcbe7138549d1483da10bad2251430e
2017-02-01 12:50:04 -04:00
Nathan Ridge
b10699be77 Bug 510998 - Fix a deprecation warning in CEditorColoringConfigurationBlock
Change-Id: I6da1652d9b6fcc7a9775d427a57c858cb7323f1e
2017-02-01 12:49:40 -04:00
Marc-Andre Laperle
02a04cebad Fix API errors with Eclipse 4.7
- Adding default methods can now be ignored
- Adding fields is now an error but we probably want to ignore this
because it is quite restrictive

Change-Id: Ie57c69f54c64e4913d1498b02e86d00c93f8101a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-01-30 14:11:36 -04:00
Bruno Medeiros
5c93171cbc Bug 511029 - Debug views become permanently pinned...
... if they are closed and reopened whilst pinned.

This was because IPartListener2 was being removed before #partClosed()
was called.

Change-Id: I16de016387131b775237b5d61639bb32107231fe
Signed-off-by: Bruno Medeiros <bruno.do.medeiros@gmail.com>
2017-01-30 12:41:59 -05:00
Marc Khouzam
d45c67967a Update orbit for M5 build.
Change-Id: I5217680ff4a692fb2493218fe742d31c6c39d0d2
2017-01-30 11:53:05 -04:00
Marc Khouzam
7cbe6cfeca New dependency needed for Standalone debugger with new platform version
Change-Id: I8cbce0a5f27d20818ea67ef2a32e3e33533f5658
2017-01-30 10:45:37 -05:00
Nathan Ridge
1c60b844c5 Bug 509185 - Completion of constructor call with uniform initialization syntax
Change-Id: I3b0b3c5dd32ee09755e58cdb3dbc6af019ddd650
2017-01-29 17:15:00 -05:00
Nathan Ridge
a395647e48 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-01-28 14:40:45 -05:00
Sergey Prigogin
e891f9e555 Cosmetics
Change-Id: Ib5d970ad0b34db58cbf7d87bdb67b457539985e4
2017-01-28 08:55:22 -08:00
Sergey Prigogin
7b05dbf791 Added protection against ClassCastException.
Change-Id: If22df485f21173841a0a5126ecc1246ea6651b4f
2017-01-27 22:37:12 -08:00
Sergey Prigogin
5aed7a6411 Bug 510662 - NPE in BuiltinOperators.<init>
Change-Id: I699a45e762dcc00593b0000c2cd3ecd5f2515773
2017-01-27 22:08:28 -08:00
Sergey Prigogin
2647895966 Bug 509898 - IndexFileSet.containsDeclaration is slow and is causing UI
freezes

Added a cache to IndexFileSet and remove a redundant cache from
CPPASTTranslationUnit.

Change-Id: Ifdd6037acf392ad11a4259f1de8cc51d5e153727
2017-01-27 19:57:23 -08:00
Sergey Prigogin
19d8c2a741 Removed unnecessary casts.
Change-Id: Id100ea3e2382598a666cb5596dafe70149aaf6f0
2017-01-27 16:25:22 -08:00
Marc Khouzam
d941a275b4 Add JUnit test to verify a query is answered as expected.
Change-Id: I603a89822e1fcbb1e7126150fd8e4de17fd7a141
2017-01-27 09:32:24 -05:00
Nathan Ridge
5fd108cd66 Bug 510706 - Handle UniqueType in SignatureBuilder.marshalType()
Change-Id: I3686e3c32cacbcbad299de333eee32241a4697a5
2017-01-26 21:37:28 -04:00
Nathan Ridge
a3b4bc6852 Bug 510665 - User-defined literal operator in namespace
Change-Id: Idb93eac23caa16870040cd4092f24a4a02563251
2017-01-26 21:34:28 -04:00
Nathan Ridge
09476c126a Bug 461680 - Extend content assist's function parameter hints
In addition to showing the parameter list (with the current parameter
bolded), the hint now shows the function's name, return type, and
whether or not it is virtual.

Change-Id: I24be893ee8968fca8d9893230266ec98e2b9ae5a
2017-01-26 20:32:43 -05:00
Sergey Prigogin
8dd3aa2e3b Bug 511143 - Const qualifier confuses __is_class built-in type trait
Change-Id: Iff01dd7e7fe6a4fec0b783275d7a5d4babd07d25
2017-01-26 15:24:11 -08:00
Marc Khouzam
704dc4a53f 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:56 -05:00
Marc Khouzam
8d0a0717e2 Auto-generate source features using tycho.
This commit removes explicit source features and has tycho create them
automatically, along with all other source features that were not
previously defined.  The logic to auto-generate is in the root pom.xml

For all pre-existing source feature, the name presented to the user has
been changed to use the default name used by Tycho, which is "Developer
Resources".  This will provide a more standard user-experience with
respect to other source features built by Tycho.

Existing SDK features are kept for backwards compatibility.

All the names of the auto-generated source features that replace an
existing source feature have stayed the same except for the
'testsrunner' feature; for that one name change, a p2.inf file is added
to allow upgrading from the old named feature to the new named feature.

Change-Id: Ie632e798c93898fd828f88df4983fc43e2749d22
2017-01-25 16:14:03 -04:00
Nathan Ridge
b332cdaf75 Bug 497190 - Do not use ParameterGuessingProposal at all when parameter guessing is disabled
Change-Id: I9feda3d365eeb935296adbc7144b0f504017f87a
2017-01-25 12:47:19 -04:00
Nathan Ridge
a90caec05e Bug 395562 - Follow-up to fix a regression where completing the method name in an out-of-line method definition would no longer insert parentheses
Change-Id: I8bbf083e874f6d01aa85c2ba4173685228160963
2017-01-24 22:07:55 -05:00
Marc Khouzam
add2a14628 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
2017-01-24 18:15:49 -04:00
Nathan Ridge
3c20d6f0ea Bug 292229 - Consider files with other extensions for inclusion proposals
Proposals where the extension is not a known C/C++ header file extension
are ranked below proposals where the extension is one.

Proposals where the extension is a known C/C++ *source* file extension,
and proposals where the filename begins with a '.', are still not considered.

Change-Id: I80784f8f15a01b05977a288affbe3958f1400bdf
2017-01-24 17:29:01 -04:00
Nathan Ridge
c5f3bbb55a Bug 292229 - Refactor the content assist test suite to make adding new flags easier
Change-Id: I06bd3590e037e0761a62c454dec497d3043e7e08
2017-01-24 16:28:29 -05:00
Marc-Andre Laperle
d9fd9df16e releng: Update outdated maven plugins. Add script to check for outdated
Change-Id: I6acd451596824584a5c4a29cab72e6eb127d4123
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-01-24 16:38:38 -04:00
Alvaro Sanchez-Leon
3e770da279 Bug 507950 - Deadlock when changing a variable value when reverse
debugging with full gdb console

Change-Id: I85618169e49a181a074417f132a4860cd9b7c026
2017-01-24 15:40:58 -04:00
Sergey Prigogin
1d6cf48198 Bug 510794 - Tab character is ignored at the beginning of line inside a
raw string literal

Change-Id: Idc8dfba8900495933f681f809dc96c4d92a6db8a
2017-01-23 11:51:39 -08:00
Marc-Andre Laperle
fa86617aec Use Oxygen by default in Oomph setup
Change-Id: I38526b951ac9b7350391e133512cb08c7c075449
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-01-23 12:48:11 -05:00
Marc Khouzam
6480a154ef Bug 508543 - Reverse Bp Action doesn't display type properly for editing
The value returned by IBreakpointAction#getTypeName() must match the
value provided in the plugin.xml file for that same action.  The two
names are compared in ActionDialog.createDialogArea() to know if the 
proper action has been found.  This is a fragile technique, that should 
eventually be improved.  For now, we just fix the current problem.

Change-Id: I70fd8b90fc680d3a5d55a95bdd5193d382b6c6f2
2017-01-23 12:42:09 -05:00
Marc-Andre Laperle
23772b2dde Update Oomph setup for Oxygen
Change-Id: I66e71fc2b5963f864e2c3f80b5b2de0d749d3c1a
2017-01-23 12:57:24 -04:00