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

25114 commits

Author SHA1 Message Date
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
Marc Dumais
6d85d40cb8 Adding GDB 7.12.1 to the download-build-gdb.sh script
Change-Id: I52125b13ac3af41b8063fc8dff408d09bbb4c2a6
2017-01-23 10:58:37 -05:00
Alvaro Sanchez-Leon
84d765d241 Bug 509438 - [traditional] Show a Tooltip for all bytes in range of a
cross reference information

Change-Id: Id5821c0f4c68832f060e6b091ff611e35de6e15d
2017-01-23 11:34:40 -04:00
Alvaro Sanchez-Leon
377f0cc815 Bug 508446 - [memory] Preferences dialog empty tree on the left
This apply to the Floating Point and Traditional Renderings, 
When calling these preferences from the drop down inside the memory
view, the associated preferences dialog comes up with the left side
empty, this left side shall reflect the preference page three path.

The call to the preference dialog has been replaced to use
PreferenceUtil.createPreferenceDialogOn  which takes care of this.

Change-Id: I89d6b1289a7eac5ffcca54a1ca6d8b3c3ed831df
2017-01-23 10:03:59 -04:00
Marc Khouzam
0169f0a907 Missing rm.done()
Change-Id: I3a0044ea2631fece555d3196c0a91a37e5e455dc
2017-01-23 09:54:06 -04:00
Nathan Ridge
8956d2c7e6 Bug 72809 - Improve content assist inside inactive code
Change-Id: If24e354d00aaf886da1571fc525b556e08c94897
2017-01-22 21:21:39 -04:00
Nathan Ridge
d45ff124e3 Bug 510722 - Handle a null AST in ExpandSelectionJob and ControlFlowGraphView
Change-Id: Iafd1b9a32833fb67554902d13955023c149a132e
2017-01-21 16:15:52 -05:00
Sergey Prigogin
2726670258 Cosmetics
Change-Id: I52a10ff524628692e9fa94b6fb1cc6cf1708d7d1
2017-01-21 15:00:24 -04:00
Sergey Prigogin
94a97818bf Cosmetics
Change-Id: Ia9a8c9052f255bfbadf919b4aea029707d77b294
2017-01-20 15:49:17 -08:00
Doug Schaefer
26569fbf72 Fixes for Windows Serial Port.
Cleaned up some error messages. Especially when a system has no
serial ports. Also added a delay when ports are closed since some
serial port drivers (FDTI in particular) take a bit longer to
properly close. Especially important in pause situations where we
want to use the serial port for some other purpose right away.

Change-Id: Ifc9b7171682962e0aed8e9ed9ebf5472fc9e8206
(cherry picked from commit db3d5974e6)
2017-01-20 09:59:51 -05:00
Nathan Ridge
89d1521d24 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-19 23:54:35 -05:00
Nathan Ridge
eb795e9518 Bug 483824 - Inline namespace reopened without inline keyword
Change-Id: Ia2e15b31356c2e2a2ab53ed6fd76138177ed40bb
2017-01-19 19:36:53 -05:00
Marc Khouzam
bfea9deb90 Bug 303808: Example of ConsolePageParticipant for Debugger Console
This commit also enables a richer set of enablement checks when
contributing ConsolePageParticipants to the Debugger Console view.

Change-Id: I34aa010fd9cfa91f24781e2bef5ba41b9525eab0
2017-01-19 15:40:47 -05:00
Marc Khouzam
c8ce2587e8 Bug 303808: Update ConsolePageParticipant for GDB process
This patch officially limits the ConsolePageParticipant to handling
consoles from the platform's console view, and not any consoles from the
new Debugger Console view.  The code currently behaves like this, but
this patch cleans it up and no longer even checks for GDB consoles.

The ConsolePageParticipant used to provide two things for the GDB
console, when it was part of the platform's Console view:
1- it would select the GDB console when the GDB process was selected
2- it would provide a 'save' button for the GDB console

For #1, when the GDB process is selected in the debug view, this patch
selects the same inferior console as when the launch is selected which
is the last inferior console. As for the synchronization of the Debugger
Console views, it is already handled by each console itself.

For #2 the save button must be handled differently based on the
different type of debugger console (basic vs full).  This should be done
in another commit.  Besides, the code, before this patch, was not adding
the save button to the debugger consoles since those consoles are not an
instanceof org.eclipse.debug.ui.console.IConsole as first checked in
ConsolePagePartipant#isConsoleGdbCli()

Change-Id: I0813ad2261633ce8630ab5842f06a047868856e8
2017-01-19 15:27:33 -05:00
Sergey Prigogin
37db6b290c Bug 510662 - NPE in BuiltinOperators.<init>
Change-Id: I1ed5c8d0e820a89fb52c4ae51bc2f2ab79ce37b3
2017-01-19 10:39:05 -05:00
Marc Khouzam
d780df14c2 Bug 303808: Make it easier to extend Debugger Console pages
To perform actions on the GdbFullCliConsole, it is important to provide
access to the terminal widget.  This patch adds the new method
GdbFullCliConsolePage#getTerminalViewControl() to give access to the
ITerminalViewControl.

Also, to be consistent with the platform's ConsoleView, this patch also
adds the same groups in the toolbar.  Namely
IConsoleConstants.LAUNCH_GROUP and IConsoleConstants.OUTPUT_GROUP.
Extenders can use these groups to add their buttons to the Debugger
Console view.

Change-Id: I217ce54ada63796de776c6b4cb6b925c3feb7eea
2017-01-19 11:02:17 -04:00
Stephen Flynn
576d41fe69 Bug 303808 Allow page participants for GdbFullCliConsole.
This commit borrows code from ConsoleView and ConsoleManager to allow
adding page participants to GdbFullCliConsole.

Change-Id: I4b99600bc4fba3bfecb9a4822f94e2be7d3aa601
Signed-off-by: Stephen Flynn <stephen.flynn@dell.com>
2017-01-19 10:01:09 -05:00
Sergey Prigogin
2c8c7a9bca Cosmetics.
Change-Id: I157beb9b3ce003003173c95cd261826ac65dbeb7
2017-01-19 02:14:26 -04:00
Sergey Prigogin
1af8428deb Bug 509898 - CPPSemantics.isReachableFromAst is slow and is causing UI
freezes

Optimized IndexFileSet.containsDeclaration method for performance and to
reduce its memory footprint.

Change-Id: I0e867b96c6d6ab102561bc999127980d1be26a7b
2017-01-18 19:59:12 -08:00
Nathan Ridge
24f099f882 Bug 509186 - Require an exact match for help proposals when providing context information
Change-Id: I06ccd65a0304921ebf2adbd556a89c8685237a8a
2017-01-18 13:12:06 -04:00
Nathan Ridge
785b17a064 Bug 72391 - When completing a function, do not insert parentheses if they are already present
Change-Id: Ia4beb5e7ee288c48f2dbde45b1f34a562b939cab
2017-01-18 13:03:12 -04:00
Nathan Ridge
73d5df1550 Bug 391439 - Do not do replacement for help proposal with context information style
Change-Id: I4d8988e9601e1f1b9722830b61cbf2d4c564a4cd
2017-01-18 13:01:00 -04:00
Nathan Ridge
b434f0d78d Bug 509833 - Follow-up to fix propagation of the point of instantiation in ClassTypeHelper.findOverriders()
Change-Id: Ia59c361e075874dec5551803d985ed20329245da
2017-01-17 19:46:44 -05:00
Nathan Ridge
ccb64b8b63 Bug 510010 - Uniform initialization in template argument
Change-Id: I55853735e44fdf6240bebb53f2e7ab1a6885b273
2017-01-17 20:42:53 -04:00
Nathan Ridge
68e19daf1e Bug 509191 - Do not create parameter guessing proposal if we know we are not calling the function
Change-Id: I7e45501707e0f58ed6d8745506a3519e29c0763a
2017-01-17 20:38:26 -04:00
Nathan Ridge
9e60a646fd Bug 509182 - Completion of class type in using-declaration
Change-Id: Iacd0ab4bfead2df31cddc78840853eb697139b02
2017-01-17 20:36:39 -04:00
Nathan Ridge
b1d6194e14 Bug 456293 - Completion of destructor name
Change-Id: I53422b1daf693e8ab6c0ad64857e8b07c970444c
2017-01-17 19:34:26 -05:00
Alvaro Sanchez-Leon
1afc08fea8 Bug 507336 - Dynamic Printf parameters format may not be clear
The Properties dialog displayed for a Dynamic printf breakpoint
display a "printf ("  field, however the end parenthesis is not added
and not expected as part of the parameter list as the ending parenthesis
is added internally.

If the user adds it to complete the opening parenthesis the printf does
not work.

This update adds a validation to this field so if the user adds a final
parenthesis, the dialog will display an error message and the OK button
will be disabled.

Change-Id: Ib25c5a11176c6f92c7367246483be0f703e145bd
2017-01-17 13:43:16 -04:00
Alvaro Sanchez-Leon
2e780a54f1 Bug 509812 - Unable to interrupt arm remote target, Neon and GDB 7.12
Adding a GDBJtagDSFFinalLaunchSequence_7_12 class to be used when
interfacing with GDB 7.12 or higher.
A new step is added to the sequence in order to enable async mode,
which will allow us to use the new GDBFullCLIConsole

Change-Id: I08c382550c6dd8a8567a66169495a9e490c35397
2017-01-17 13:37:49 -04:00
Alvaro Sanchez-Leon
028eb67a17 Bug 509895 - GdbBasicCliConsole left running after platform shutdown
when launch fails

Change-Id: I5879f5ed770e63c11077e091f18c5766b243bd88
2017-01-17 12:49:15 -04:00
Marc-Andre Laperle
6cad124cf0 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>
2017-01-16 13:36:44 -04:00
Nathan Ridge
2fe3f7ec9f Bug 509734 - Cross-project references to template instances
Change-Id: I14ed61d2f709f615ba74501e70ac4ddc0db3d05a
2017-01-15 14:08:32 -04:00
Nathan Ridge
2e642428a4 Bug 509731 - Completion between empty parentheses in simple-type-constructor-expression
Change-Id: Ibe87a0fdfb0e7c8dd1a1392bc9643bc03ac73c38
2017-01-15 13:06:55 -05:00
Joseph Henry
df6ebf09e9 Bug 495423 - Indexer produces a erroneous "Symbol could not be found"
Added catch all condition to ConditionalExpression type evaluation where
both positive and negative types are the same.

Change-Id: I990b502dfce8ef71c753ac188e072de312b7ea9f
Signed-off-by: Joseph Henry <joseph.henry@sas.com>
2017-01-14 21:43:45 -05:00
Nathan Ridge
eb21d06ecc Bug 497500 - Display per-file indexing time for diagnostic purposes
Controlled by the org.eclipse.cdt.core/debug/indexer/activity debug option.

Change-Id: I9eceb9e72697230b51221db7b0680494fefad154
2017-01-14 21:41:17 -05:00
Marc Khouzam
bed0869293 Typo in error message
Change-Id: Icb470bfadd25ae37fcfacece90ec49b4423f88f0
2017-01-14 08:17:49 -05:00
Marc Khouzam
be7ee1e018 Must use DSF Executor to fetch service.
Change-Id: I3750fe262a3c507d26fb761fa6adad0b715313c3
2017-01-14 08:15:47 -05:00
Thomas Corbat
2ee0a093d0 Bug 506972 - Contextual conversion to bool for &&, || and !
Suggestion for implementation of contextual conversion of explicit
conversion operator.
+ Test

Change-Id: I69537f86a9b09120e31115fbe94391a90196952a
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2017-01-13 04:52:23 -05:00
Thomas Corbat
eaa1442345 Bug 510151 Braced default initialization by implicit default constructor
Change-Id: Id9f7dba42d45d1e2d9bd557802eb7669946d242f
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2017-01-13 05:50:42 -04:00
Jonah Graham
11de6abfaf Bug 510394: set environment when doing project-less run
Change-Id: I7b82f99f88b9e4c5d2367dfdf98cb3952e6a89eb
2017-01-12 19:51:40 +00:00