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

25231 commits

Author SHA1 Message Date
Nathan Ridge
2e1f2d475a Bug 511653 - Completion of inheriting constructor in using-declaration
Change-Id: If20d85bd6199e8f08152f3a5801bfb30b61d1d09
2017-02-12 00:04:11 -04:00
Nathan Ridge
c0ba7f6bfb Bug 511658 - Destructor call via alias template name
Change-Id: I64a7ec62a05345983e9e298a6ba735f63385486b
2017-02-11 21:25:10 -05:00
Marc Dumais
ac8224f763 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: Idbee5b95f85810144dd71e2a397bd38fcd0bcec5
2017-02-10 13:57:37 -04:00
Sergey Prigogin
2899b9098e Bug 509898 - IndexFileSet.containsDeclaration is slow and is causing UI
freezes

Fixed logging of cycles in IndexFileSet.containsDeclaration.

Change-Id: Ic27b161aacb7706f8f06beb1f876f86100421328
2017-02-09 18:12:17 -08:00
Sergey Prigogin
64f00b9457 Removed obsolete code.
Change-Id: I97aef668d2248103b88c77f03c4481807c0e4286
2017-02-09 13:28:51 -08:00
Nathan Ridge
e20812dc8b Bug 511522 - Navigation to type named by 'auto' in variable declaration
Change-Id: I3f6a35cb2498d7a9de31db7c283027fbc33fe688
2017-02-09 02:20:35 -05:00
Nathan Ridge
ec3ab3016d Bug 511331 - Do not color entire qualified name with problem highlighting
Change-Id: Ic712ec2e03bdf03f5ae97019fb9ae8994c5dec23
2017-02-09 02:20:35 -05:00
Sergey Prigogin
a88b16d124 Bug 399147 - 'Find references' does not find using-declarations
Trigger index rebuild to rebuild corrupted binding reference lists.

Change-Id: I94a68fc260c8543840aa712efc97650152597a0a
2017-02-08 18:56:39 -08:00
Sergey Prigogin
5462bac381 Bug 509898 - IndexFileSet.containsDeclaration is slow and is causing UI
freezes

Added cycle detection to IndexFileSet.containsDeclaration.

Change-Id: I48a596bd680bd4f764739b9170a98c907c41ae8c
2017-02-08 18:24:29 -08:00
Sergey Prigogin
5e793c9b43 Revert "Bug 399147 - Make 'Find Reference' find using-declarations"
The change is invalid since a PDOMName can participate in only one
binding at a time through its BINDING_PREV_OFFSET/ BINDING_PREV_OFFSET
pointers.

This reverts commit 2706699543.

Change-Id: I1a4dd7b189b85a0d9c1cca2660d33ab7351a025c
2017-02-08 12:46:40 -08:00
Marc-Andre Laperle
95e05f485d Remove profiles that helped skip ppc64le
Those profiles were useful when keeping compatibility with Eclipse 4.5
but this is not required anymore.

Change-Id: Ic9ef7beecee1b5bd072ec192048ab409b19844c9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-02-08 09:51:43 -05:00
Nathan Ridge
0d35254d82 Bug 511427 - ClassCastException in CompositeCPPClassType.wrapBindings()
Change-Id: Id02d59a67b98131aaa4afc8936f89d0985ef93cf
2017-02-07 21:32:03 -04:00
Nathan Ridge
27775e3393 Bug 475581 - Make AbstractCLikeLanguage.createScanner() not final
This allows extenders to replace the preprocessor.

Change-Id: I8c6a53225608e4a21560b31bed3b5f37291ba612
2017-02-07 21:30:08 -04:00
Sergey Prigogin
c6955df2e2 Bug 511871 - CContentAssistProcessor.createContext may leak index lock
Change-Id: I828c94484c7b1594ba72551b80cd5ed6e6a8576c
2017-02-07 14:48:32 -08:00
Alvaro Sanchez-Leon
d06db08a30 Bug 506073 - Support address "range" when adding a memory watchpoint
Change-Id: If3130ed52df95b0481d95477727fc2f419251ade
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2017-02-07 13:52:25 -04:00
Marc Dumais
7dbe0de0fe Bug 511727 - NPE in org.eclipse.cdt.tests.dsf.gdb.tests.AutomatedSuite
Change-Id: I5f24d617e1577812ba86e44acf4228192f77ab7f
2017-02-07 09:57:15 -05:00
Marc Dumais
86189eeb86 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
2017-02-07 10:55:19 -04:00
Marc Dumais
7f6e7f8c9b 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
2017-02-07 09:48:23 -05:00
Sergey Prigogin
ff23fc9dbe Cosmetics.
Change-Id: I8c38ac32c7cb4e335e16b92a54eeaf6faa0abfe2
2017-02-06 19:37:44 -08:00
Sergey Prigogin
d6ab03abb9 Bug 511808 - Expand namespaces by default regardless of depth level in
Outline view

Change-Id: I9061ad64e442e8859fd79dbb4bf437443ef545a7
2017-02-06 19:30:01 -08:00
Sergey Prigogin
0be1934cec Removed use of a deprecated class.
Change-Id: I2f0bb36c79974e62fcf06a77ca78954f8103a150
2017-02-06 18:44:50 -08:00
Sergey Prigogin
be08c70459 Removed redundant casts.
Change-Id: I7ba50740e4b63897d77ef0204afa5343314d4916
2017-02-06 18:37:47 -08:00
Alvaro Sanchez-Leon
f6f53aa705 Bug 511243 - MI async mode shall not be activated for all cases when
using GDB 7.12

This solution makes the following changes:

* With GDB 7.12, use async mode as long as the Full GDB console is
supported or if the launch is configured for Non stop mode

* with GDB 7.12, don't always use MI to interrupt the service, use the
CLI when the async mode is off

Change-Id: I92c466e028b400f9054298739cd80efac18bd03a
2017-02-06 15:09:32 -05:00
Jeff Johnston
7d0117d24e Bug 511229 - RFE: Add quick fixes for some basic gcc errors
- change codanMarkerResolution schema to support translatable
  regex statements for matching
- bump cdt.codan.ui version
- add additional codanMarkerResolution extensions to codan.checkers.ui
  to handle some basic gcc error messages with quick fixes
- add QuickFixAddSemicolon, QuickFixRenameMember,
  QuickFixUseDotOperator, and QuickFixUsePointer classes
- add new QuickFixMessages
- add plugin.properties to cdt.codan.checkers.ui to allow the quick
  fix regex matchers to be translated in the future
- change the generic error message for gcc error parser so that the
  column is reported as the problem variable (useful for certain
  quick fix resolutions)
- bump up cdt.core

Change-Id: Ibb24c1a79c4d91ead3fc629ea3d4e7425b4e7f23
2017-02-06 12:33:34 -05:00
Jonah Graham
e93de453f8 Bug 509897: Use View Management for Debugger Console
Change-Id: I509d3b5679e2ab236f8cd09b122ffae603a5fc51
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2017-02-06 06:15:19 -05:00
Sergey Prigogin
3bb38bf874 Bug 509898 - IndexFileSet.containsDeclaration is slow and is causing UI
freezes

Added debug logging of time spent in IndexFileSet.containsDeclaration.

Change-Id: I4523abac4f56c4284ef03da5e82fd39b6dc1d412
2017-02-06 01:25:19 -04:00
Sergey Prigogin
6ddaed7dd7 Improved tracing code.
Change-Id: I8aeb9085e1de9876ddb078a63ccdbfb17858311b
2017-02-06 00:54:16 -04:00
Sergey Prigogin
0b641f1216 Removed obsolete code.
Change-Id: I698f57e290125aca55bb8c2209dca2a9c4cf745f
2017-02-05 21:23:41 -05:00
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