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

25085 commits

Author SHA1 Message Date
Sergey Prigogin
2a3a9d6b4b Bug 503988 - UI thread got blocked by the reconciler
Change-Id: I176d9fd132291630aed3aeefb4a6279048c13d14
2016-10-04 19:06:01 -04:00
Sergey Prigogin
5cecbda67a Removed redundant //$NON-NLS-1$ comments.
Change-Id: I9e5801708275d5ce8bcfbe84f4891741479d5a24
2016-10-04 18:27:32 -04:00
Sergey Prigogin
8d9924179f Bug 502985 - CDT index may be getting corrupted by IOExceptions or calls
to Thread.interrupt()

Change-Id: I180b55dbc9ca68a2b2d7ee668515aaf28d1b71c9
2016-10-03 17:16:07 -07:00
Andrew Gvozdev
91e227142b Bug 501763: NPE in MakeTargetActionProvider
Change-Id: I998f118b1624df2ea3caa2295297261f21b02dda
2016-09-25 21:56:41 -04:00
Sergey Prigogin
d652858b3a Bug 502109 - Name resolution problem with alias template
Change-Id: I1475ae9aef468f0f3075ed4a9689b15788be4d42
2016-09-25 12:03:36 -07:00
Sergey Prigogin
53ec9571cb Cosmetics.
Change-Id: I78635ca74bffd3df7b51f87e70464e99dd699324
2016-09-25 11:22:05 -07:00
Marc Khouzam
d758c73e31 Add API filters for default methods added to interfaces.
Change-Id: I1b5339eb5bcf2ce857cce8cadf0315e297a9f8f2
2016-09-23 16:04:53 -04:00
Alvaro Sanchez-Leon
61121782e8 Bug 303808: Add the DebuggerConsoleView to the debug perspective
We add the DebuggerConsoleView to the debug perspective but we do not
show it by default. This will allow us to specify the default location
of the console but not show the console unless the user actually
launches a dsf-gdb session.

The default location is specified as "stacked" to avoid taking screen
space when many users may not care about using this view.  Users that do
want to use the view a lot, will simply move it to its own space.

Change-Id: Ie7ad961193b7f72d3557022410343e325ae2af0e
2016-09-23 11:30:07 -04:00
Marc-Andre Laperle
bd2121899b Bug 500711 - Outline view 'Link With Editor' could be enabled by default
Change-Id: Ice934d90250972a2b343fe64954ffc496ea53ae0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-09-23 08:55:15 -04:00
Sergey Prigogin
fe0dcb5176 Improved Remove Unused Declarations refactoring.
Change-Id: Ibc011f9bacb8565463762f013738118eed839757
2016-09-22 19:32:43 -04:00
Nathan Ridge
4470a7a5bb Bug 502016 - Enumeration defined in alias-declaration
Change-Id: I4552b3117008bff7f1269aa3a12e9711e0c8681f
2016-09-22 17:20:47 -04:00
Andrew Gvozdev
29ae1df652 Bug 491286: Fixed NPE opening page C++ Build Variables in Properties/Preferences
Change-Id: I5ed71665980936a3000a987a75bf2f2c962027ec
2016-09-22 13:56:06 -04:00
Sergey Prigogin
149e41fd46 Improved code reduction refactorings.
Change-Id: I2bee9e578810dd9ee1b23341a29713fc594d81f4
2016-09-21 18:41:28 -07:00
Alvaro Sanchez-Leon
c19640498d Bug 499784 - A lot of timeouts in dsf-gdb tests are too optimistic
The bug mentioned above mentions a couple of problems,
1) The use of TestsPlugin.massageTimeout() is not used consistently in
tests.dsf.gdb
2) The timout values are too optimistic

This first change addresses item 1.

Change-Id: I99162bbfaa099bbc4123594fbda51f8e11be9d10
2016-09-21 14:59:24 -04:00
Vincent Guignot
2b728ed027 Bug 497693/ Sysroot with spaces
If the sysroot path contains a space, CDT adds doubles quote to escape
the space (in MIStandardParameterAdjustable class) . But Gdb client (7.5
and 7.11) doesn’t understand the double quotes path.
This patch do not add double quotes when the path contains spaces.
Add test case.

Change-Id: I8c54fa625ce1fb1f1b9249361ca07060b56ba90c
Signed-off-by: Vincent Guignot <vincent.guignot@ingenico.com>
2016-09-21 10:01:49 -04:00
Sergey Prigogin
2a4e3e11e4 Bug 501549 - Unresolved symbol with lambda
Change-Id: Ic541e9a7ea4338aa0515705047f5fb614150d074
2016-09-20 13:08:53 -07:00
Sergey Prigogin
fa96519c4c Code streamlining.
Change-Id: I00155566d6fd4cb8043ad38201a58181b995c52f
2016-09-20 13:08:52 -07:00
Sergey Prigogin
8159937005 Cosmetics.
Change-Id: I7452e20897e082393a763749e3bafda26a9471b3
2016-09-20 13:08:51 -07:00
Marc-Andre Laperle
d12004b538 Disable StandaloneTest1 that fails on Hudson
I can't figure out why it's failing in a reasonable amount of time
and it's been failing for a while now.

Change-Id: Ib9bec67a3b628d834c3d7cdfcb088fb10ebea1b7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-09-20 07:36:05 -04:00
Sergey Prigogin
ba9b1b77da Cosmetics.
Change-Id: Ie7a8e50945174ea932ffbf7da4e80815294edba1
2016-09-19 15:54:43 -07:00
Marc Khouzam
2067bdec1a Fix API as per the upcoming 9.1 release
Change-Id: I307f8f3239178415a66f0bed0b63e5b0d7ffe4cd
2016-09-19 16:10:40 -04:00
Marc Khouzam
158bff7ed4 Updating baseline for CDT 9.1 (RC4)
Change-Id: I80176f433cac1796a62b4cf7ad5ffdeeb2f45c4f
2016-09-19 15:22:31 -04:00
Sergey Prigogin
74850e961f Fixed compilation errors. 2016-09-18 16:44:19 -07:00
Nathan Ridge
654907174b Bug 497668 - Avoid unnecessary name resolution during ambiguity resolution
Since resolved bindings are cached, we can get stuck with a bad binding
resolved during an incorrecy branch of ambiguity resolution.

Change-Id: I59bcb9f6f2b756892a56b135e8d6a1f026180728
2016-09-18 01:31:25 -04:00
Nathan Ridge
d3d7a4e84a Bug 498393 - Do not cache bases computed when a class is incomplete
Change-Id: Ieddb15ff1cd784710a19d85879bb0d7b40f425b3
2016-09-18 01:28:20 -04:00
Nathan Ridge
c180a3e798 Bug 494216 - Instantiation of variable templates with dependent arguments
Change-Id: If9c27267d25ce8cccb89e7a5404bf5e3e6480dcb
2016-09-18 01:22:49 -04:00
Nathan Ridge
e6ed5e4037 Bug 494182 - Lambda in default member initializer
Change-Id: I92bbfaff34a08952d3f17f6a9b982a10d4e2bf03
2016-09-18 01:17:51 -04:00
Nathan Ridge
abcedff7d7 Bug 486672 - Syntax coloring of variable template instances
Change-Id: I32a2fd3bc64f88e368924acafca1d1e596c90877
2016-09-18 00:56:20 -04:00
Nathan Ridge
3c8a5002ba Bug 486671 - Store value of variable template in index
Change-Id: Ifd045faca2f95be8b3e53da49b4c50b0a3c470b3
2016-09-18 00:45:51 -04:00
Nathan Ridge
3f64140125 Bug 490475 - Follow-up to fix some API errors
Change-Id: I63bc879aa3ec8c05c665b31cb786a6220f72f60d
2016-09-17 14:19:04 -04:00
Sergey Prigogin
898ce2245b Bug 501623 - ClassCastException in EvalMemberAccess.getValue
Change-Id: Ib9177f2bd2f9d9d005397b72d6d0274cb3e2605f
2016-09-16 20:24:31 -07:00
Sergey Prigogin
ee1d72c7f8 Bug 501615 - NPE in EvalFunctionCall.computeForFunctionCall
Change-Id: I2ff67299b05b80fcc0451e1cc5b4532c88364f61
2016-09-16 17:18:48 -07:00
Sergey Prigogin
6b2530050f Bug 501616 - ArrayIndexOutOfBoundsException in CPPField.getFieldPosition
Use 16 bits to store field position.

Change-Id: I2856bbc06e1df91ca209508ad3258bad1869087f
2016-09-16 16:42:08 -07:00
Doug Schaefer
fb533553c8 Fix to better handle build output parsing random text.
Handle failures when trying to find the resource at the end of
a command line when it's not really a command line.

Change-Id: I7dc94a2c45c758248d0402c253e077142ee050e3
2016-09-16 10:46:47 -04:00
Toni Suter
25d4502b80 Bug 490475. Support the evaluation of C++14 constexpr functions
Change-Id: I05029f26b6d33cbeeab8138a270b38c4018b64b5
Signed-off-by: Toni Suter <tsuter@hsr.ch>
Signed-off-by: Silvano Brugnoni <sbrugnon@hsr.ch>
2016-09-16 03:09:25 -04:00
Alvaro Sanchez-Leon
46d0c9633b Bug 303808: Add a console action for "Auto terminate GDB"
Change-Id: Idf4a3b2c60fce5e318114be423fdc89c327be7bf
2016-09-13 14:30:17 -04:00
Marc Khouzam
28f290e9d0 Bug 303808: Handle resizing of full GDB console
Note that the TextCanvas used by the terminal widget that powers the
full console has a default minimum of 4 lines and 80 columns.  We could
change those if we feel that is not adequate, or if we don't want to
have such minimum values at all.  This patch leaves the minimum values
as they are by default.

Conflicts:
	dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/console/GdbTerminalConnector.java

Change-Id: Iad6339da1726db1102c123c97589f46ae681ffc7
2016-09-13 13:44:08 -04:00
Marc Khouzam
10381a74e4 Bug 303808: Remove dependency on o.e.tm.view.*
The streams connector provided by TM was located in the o.e.tm.view.*
plugins which bring in the terminals view.  This patch implements our
own streams connector so that we don't have this extra dependency.

Change-Id: If2a8bdfbdd87eb9ec5c42180a372634e322ba1c1
2016-09-13 13:30:57 -04:00
Alvaro Sanchez-Leon
1b7f91a406 Bug 303808: Add base terminal actions to the GDBFullCliConsole
Change-Id: I90967e4e8b16059201d11b509a9737a01dad526d
2016-09-13 11:47:47 -04:00
Doug Schaefer
33f528d1ee Add empty tab group and icon for core build local launches.
Change-Id: Ifa522f49888518e2a04263316baddc8e3c507fd0
2016-09-12 15:15:07 -04:00
Doug Schaefer
b26917be90 Introduce Core Build launches and Launch Bar integration.
Unify launching for projects that use the new Core Build system.
Starts with CMake projects. We'll do Qt projects next.

Change-Id: I14af8e99decd54cc6548095b3ad3e054c550aea2
2016-09-12 11:14:17 -04:00
Alena Laskavaia
a6062a2b98 fixed NPE
Change-Id: I817d227711384551e88fc59c124ffead5284ef06
2016-09-09 09:12:05 -04:00
Marc Khouzam
2388bb65c5 Bug 303808: Disable full console in all-stop mode for the moment
We currently cannot interrupt execution with the new console in all-stop
mode. This means that if the user resumes execution then no new
breakpoints can be set from CDT while the target is running; also, the
interrupt button simply does not work.

This patch temporarily disables the new console in all-stop, until we
have the problem fixed.

This also solves the pagination problem as pagination is only enabled
in all-stop mode.

Change-Id: I858268d469923700ae960600cb1dbb062729dc88
2016-09-07 15:39:41 -04:00
Alvaro Sanchez-Leon
e9b297390b Bug 303808: Add a terminate button to the debugger console view
Change-Id: I67b37be1991c564dca961d3d2f85b9ba0da098c5
2016-09-07 15:38:43 -04:00
Marc Khouzam
489be2aa59 Bug 303808: Moving old gdb console to Debugger Console view
Making this change reduces richness of such a console with respect to
menus, toolbar, etc.  However, I think the consistency is more
important.  Besides, this old gdb console is so poor, I don't expect it
was used much.

Change-Id: I28870192dd51c673f35d6147d5196bc771ebfa55
2016-09-07 15:37:11 -04:00
Marc Khouzam
5e9332c8ab Bug 303808: Add menu context to the debugger console to invert colors
Change-Id: I5f7137cd0372c554afd2861aa42ba3cf0c2ae7ba
2016-09-07 15:28:51 -04:00
Marc Khouzam
999c2e97cc Bug 303808: Add dedicated debugger console view
Splitting out the GDB console into its own Debugger Console view.

The goal of this patch is to allow the user to easily keep the full GDB
console in focus, without having to pin it, as the pin requirement was
not very user-friendly.  Furthermore, the user can also use the GDB
console while looking at the output of the program being debugged,
which couldn't not be done without a dedicated gdb console view.

This patch also resolves two issues we had with re-using the platform
console view, which were:
- pin didn't work
- clone didn't work
With this new Debugger console view, there is no pin and no clone.

Change-Id: Ia19132704a2f6618f35ffe47ebb4b8f0028dc9ab
2016-09-07 15:26:43 -04:00
Marc Khouzam
0caa750ef0 Bug 303808: Support for full GDB console
This patch provides a full GDB console in the standard Console view.
The full console is disabled for Windows due to PTY limitations.

The new console will be triggered automatically when using GDB 7.12 (or
its pre-release) and running on Linux.

Known issues with this patch:
- Cloning the console view breaks the console
- Pinning the console view is not supported
- Interrupting execution in all-stop mode fails with the new console
- Pagination causes some events to be lost (all-stop only)

Change-Id: Iee6ef5228ca17bd829eb743cb41a142afe6714dc
2016-09-07 15:23:47 -04:00
Doug Schaefer
91c342b77c Clean up CMake build.properties files. 2016-09-06 19:49:34 -04:00
Dan Crosscup
88df41a67f Bug 500884. Fixed ExternalToolInvoker so it starts the Build Console.
Build Console needs to be started before 
OutputStream and ErrorStream are retrieved for the Sniffer.

Change-Id: I1aea84ca9fa2e6806cb07513bb2c9cad47c11617
Signed-off-by: Dan Crosscup <tunzis@gmail.com>
2016-09-05 17:48:12 -06:00