1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 20:45:22 +02:00
Commit graph

35221 commits

Author SHA1 Message Date
Doug Schaefer
370fd2ecf2 Fix Tag selection in the selection page.
Change-Id: Ib8c67d1bddd6c4a963ccc0f89b46218ecc18173b
2016-07-19 16:48:57 -04:00
Doug Schaefer
587cb567e9 Provide a New Wizard class for the Template Selection page.
Makes the TemplateWizard class now manditory as the parent for
template wizards.

Change-Id: I52ec2a1ba130ac00b9a0294bdd15beeff5ed2c1c
2016-07-19 15:58:30 -04:00
Doug Schaefer
29303b6a20 Set API baseline to point to /r build. Add templates framework. 2016-07-18 14:27:57 -04:00
Eduard Scheske
ce79667a65 Bug 498019 - Oomph setup fails
Change-Id: Ib5f77bd710054b6408ec48c0c4f23c9af9a03884
Signed-off-by: Eduard Scheske <eduard.scheske@googlemail.com>
2016-07-18 11:14:31 +02:00
Sergey Prigogin
2d4d6b3e1c Bug 497931 - Added a failing test and a TODO in the problematic code
Change-Id: I9562d0452a3ba08b940d948e040580e858abaa39
2016-07-15 18:29:46 -04:00
Marc-Andre Laperle
19d7a44ada Add o.e.ui.trace to Oomph setup
So that it can find the org.eclipse.ui.trace.traceComponents
extension point.

Change-Id: Iad5916a39551a543e76604efbe9b73d30b5a89c7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-07-15 14:56:46 -04:00
Jeff Johnston
1560afe3fa Bug 497779 - Add labels to applications run as Docker containers
- fix labels to comply with Docker standards (lower-case and
  prefixed by reverse DNS notation)

Change-Id: I7464f74e902f2198833e048a0d5dc6dd3c42de39
2016-07-14 17:02:06 -04:00
Doug Schaefer
6848810854 Clean up the API around the build model.
Eventually we want to get rid of it.

Also expose the internal packages. Need them for UI testing in
clients to get at the Template object.

Change-Id: I049f4173cfff86ec398e5e8586c8760c6e1a681a
2016-07-14 16:39:06 -04:00
Sergey Prigogin
50dff78b51 Cosmetics. 2016-07-14 12:50:40 -07:00
Sergey Prigogin
b47514f94a Bug 497875 - Indexer runs out of memory with recursive template
functions

Change-Id: I1b92d57fc13f61933082185b397e63cf7d9b69a6
2016-07-14 12:02:10 -07:00
Sergey Prigogin
b7ecc46eca Bug 497875 - Avoid evaluating isConstantExpression multiple times
Change-Id: I54d6b533f5b21294a92319ea1d45d4f18962a460
2016-07-13 17:57:02 -07:00
Sergey Prigogin
f2af760266 Cosmetics 2016-07-13 17:52:13 -07:00
Jeff Johnston
bfcf98caff Bug 497779 - Add labels to applications run as Docker containers
- add CDTLaunch label (no value) and CDTProject label (with project)
  for containers created by the CDT Run in Container launch

Change-Id: Ic9a1ccb3c998083eccb6b16098c4a443c7d040bc
2016-07-13 13:10:29 -04:00
Sergey Prigogin
72e0c1b6fe Cosmetics. 2016-07-11 15:46:42 -07:00
Sergey Prigogin
13472faa4d Code streamlining.
Change-Id: Ifcf5a23c1a8948d43adc4f0761a83695bb34d3e8
2016-07-11 18:43:38 -04:00
Sergey Prigogin
4d6c9dce1a Bug 497535 - Name resolution problem with template method
Change-Id: I6bc4025f26d19dd0162f7e6c9d9cdad73c75e5d9
2016-07-11 17:48:47 -04:00
Doug Schaefer
40b483f43f 497437 - Fix composite icon for null target. Increment maint version.
Change-Id: Ie4fc47e30cdcab149fde828db6138ab7b16026a8
2016-07-11 14:44:42 -04:00
Doug Schaefer
ebecae3167 Bug 497437 - Fix issues with null target.
Avoid assert in enablement on null target. Fix order of initialization
of null target in ILaunchTarget interface.

Change-Id: I4c85433743bbb16c54514005b27e0414bb27c510
2016-07-11 14:15:36 -04:00
Alexander Kurtakov
18f13d204e releng: Move target file to Platform 4.6 final from milestones
Change-Id: Ifcfed06701c1a4a3f7da08104b5654e16785d35d
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-07-11 02:02:05 -04:00
Sergey Prigogin
67f2b199d9 Removed redundant qualifiers.
Change-Id: I28dad37e31f471d2e194b0f83098fd8ca1414894
2016-07-09 12:38:04 -04:00
Marc Khouzam
0c87249a55 Bug 497349 - Reverse debug is always enabled when attaching to a process
Change-Id: I3761e57fb625cab31e013676d3eda7f214496918
2016-07-08 16:21:24 -04:00
Marc Khouzam
5a5e9872cb Bug 497206: Remote-attach fails attach if binary not specified in launch
The core exception we used to throw when the program patch was not
present is necessary for GDBBackend#getProgramPath() to set the path to
an empty value instead of returning null.

Although we could have made GdbLaunch#getProgramPath return and empty
string to fix this problem, I thought we should play it safe and behave
like we used to in case something else needed that exception thrown.

Change-Id: I4684226c731aedef50bdeb37accdf2a2feb818b5
2016-07-08 16:19:41 -04:00
Nathan Ridge
3024a99027 Bug 497524 - Fix a ClassCastException in CPPTemplates.createSpecialization()
Change-Id: Ie63d5dd6ffd3ba1de3d449f9255b7782c4dde06d
2016-07-07 22:48:43 -04:00
Sergey Prigogin
a6492d951f Bug 495952 - Problem with SFINAE in trailing return type
Change-Id: Ida1d168803da5304c834b19fa83148921f69b2b6
2016-07-07 21:33:46 -04:00
Doug Schaefer
7dd2ff7e92 Merge "Fix build." 2016-07-07 13:39:55 -04:00
Doug Schaefer
3262273c3d Fix build. 2016-07-07 13:37:40 -04:00
Doug Schaefer
0392cb79b3 Deprecate model from IGenerator API.
Not all generators need a map to store information used at generate
time. In fact, this probably should be discouraged. We only had it
because Freemarker uses one. But I just wrote a generator that doesn't
use Freemaker and the model map got in the way.

Also adds a post process API so we can do other things in the Wizard
after the generation is done. Especially useful for UI things like
adding generated stuff to Working Sets.

Change-Id: Icd553fd8f6087bd342fca4aec88fb2a5c2d5fa4a
2016-07-07 13:31:51 -04:00
Doug Schaefer
96f4db4667 Deprecate model from IGenerator API.
Not all generators need a map to store information used at generate
time. In fact, this probably should be discouraged. We only had it
because Freemarker uses one. But I just wrote a generator that doesn't
use Freemaker and the model map got in the way.

Also adds a post process API so we can do other things in the Wizard
after the generation is done. Especially useful for UI things like
adding generated stuff to Working Sets.

Change-Id: Icd553fd8f6087bd342fca4aec88fb2a5c2d5fa4a
2016-07-07 10:32:18 -04:00
Nathan Ridge
5344893756 Bug 496628 - Avoid codan markers that cover an entire class declaration
This fixes a regression from bug 486610 which introduced these in some cases.

Change-Id: I791528ce7f0bc061386aaa97dd9cecb7abeecd72
2016-07-06 23:16:22 -04:00
Nathan Ridge
7a4d4fdb95 Revert "Bug 486682 - Syntax coloring of macro arguments that occur in reverse order in the AST"
This commit caused a regression in syntax coloring, as reported in bugs 490415 and 496696.

Change-Id: Ibfa7004b11677be56eb5a18d8236af2300de56cb
2016-07-06 23:04:05 -04:00
Marc-Andre Laperle
492fc0a164 Update Oomph setup for Neon release
Update API baseline and update targlet.

Change-Id: Ie693f5401f226d4d9a679b75f0c105d4542c54a6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-07-06 10:17:06 -04:00
Alexander Kurtakov
a044217eff Fix generics warnings o.e.cdt.debug.ui.
Namely:
* Adapters
* ListenerLists
* Iterators
* Collections

Change-Id: I71212da7f9ab414fb392a8388afcce762f3f4702
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-07-06 10:28:57 +03:00
Alexander Kurtakov
240d68cac5 Generify o.e.cdt.debug.core.
Fix warnings about adapters and listener lists not being generified.

Change-Id: If5e54e6df452884947f32a31ef9c0c53677b88c8
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-07-05 20:15:58 +03:00
Adam Ward
9b4dba0458 Bug 496415. Show reason for crash when core debugging.
Changes:
When a core debugging session starts a MIConsoleStreamOuput is received
by MIRunControlEventProcessor or MIRunControlEventProcessor_7_0 which
contains a string of the form "Program terminated with signal <signal>,
<reason>". The signal and reason are parsed from the string and a new
signal event created and dispatched. The label of the last executing
thread (one that received the signal) in the debug view then shows the
signal that caused the core file to be created

Testing:
Tested on Windows and a Lubuntu VM

Change-Id: I02fa4b2fe458005f159341fcbcaaaa2fe57a7871
Signed-off-by: Adam Ward <award@blackberry.com>
2016-07-04 14:09:17 -04:00
Marc Khouzam
61492f65a2 Create constant for initial GDB inferior 'i1'
Change-Id: Ie1c0f52b11ac60735365987c89468917e311bf82
2016-07-02 21:01:20 -04:00
Alexander Kurtakov
c8c00efac5 Bug 343552 - RFE: Quick Outline support for configure.ac editor
Implement quick outline for AutoconfEditor with search, navigation and
etc.
Small reorganizations in the plugin.xml to make it easier to navigate.

Change-Id: Ibb13caa6f80ae2bbdfe3a78dec0eb033ee0c0482
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-07-01 13:02:21 +03:00
Nathan Ridge
afb47aa104 Bug 496657 - Fix an ArrayOutOfBoundsException during indexing
Change-Id: Iee0617407bf59016dae26b2483dfc9d68ff84451
2016-06-30 17:47:45 -04:00
Marc Khouzam
f38cbb85c3 Remove old .cvsignore files
Change-Id: Ia66de47055a15d94c0aa45d1198f0a9e78d82ad0
2016-06-30 09:58:00 -04:00
Anton Leherbauer
ad7aa452d3 Fix API tooling issues 2016-06-30 15:03:46 +02:00
Anton Leherbauer
092e089d40 Bug 494108 - [telnet] Telnet line-ending should be configurable 2016-06-30 14:25:49 +02:00
Thomas Corbat
7c80ce009c Bug 428237 Added "Replace all" option to Extract Constant dialog
Change-Id: I65b9b8dd86bfe6431e9bb5ea4894b234ab26e004
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2016-06-29 08:38:08 +02:00
Doug Schaefer
48bd2adbd6 Implement getFilesToOpen. 2016-06-28 11:23:26 -04:00
Marc Khouzam
e52031c676 Bug 495623: Use new flags in =record-change from upcoming GDB release
With the next GDB (probably named 7.12), we are provided with the type
of record that was started.
  =record-started,thread-group="i1",method="btrace",format="bts"
  =record-started,thread-group="i1",method="btrace",format="pt"
  =record-started,thread-group="i1",method="full"

We make use of this information in GDBRunControl_7_10 to avoid sending
an 'info record' command.

Note that because MI adds fields in a backwards-compatible way, it was
much simpler to modify GDBRunControl_7_10 instead of creating a new
GDBRunControl_7_12 (whose name may even be wrong if GDB's next version
is not actually 7.12).

Change-Id: I869b3c0ff648d5e38081e06a7063613bbb9266dc
2016-06-27 16:03:00 -04:00
Marc Khouzam
45b1ecd1c3 Update baseline to point to final release of 9.0
Change-Id: I962afe208f6bd7203a54c8b914a0d77610ee6721
2016-06-27 15:59:09 -04:00
Marc Khouzam
783787af25 Bug 496818 - Cannot find executable if working directory is not default
Originally, to determine the program path, GDBBackend's constructor
would call:

   ICProject cproject = LaunchUtils.getCProject(lc);
   fProgramPath = LaunchUtils.verifyProgramPath(lc, cproject);
   
When we made the change in 192bfff688 we
didn't keep that logic and lost some functionality.

This commit re-instates the original logic.

Change-Id: Ifbee2273517c41ad6ebdc9980261ed36d651f130
2016-06-27 15:47:28 -04:00
Doug Schaefer
972aeb3d0b Bug 481199 - Add support for cu serial devices on Mac.
Change-Id: I1323ad71ab8d4d76c74380ad06d5216865bebe92
2016-06-27 12:39:41 -04:00
Aurelien Pupier
84f5872d31 [496808] Use new FilteredTree style
Change-Id: I8f181f73e55361894027a0f01acd175ae0c37bec
Signed-off-by: Aurelien Pupier <apupier@redhat.com>
2016-06-27 10:36:28 +02:00
Dirk Fauth
159afcfd92 Bug 494508 - Show in local terminal only available in project explorer
Added the menu contributions to
popup:org.eclipse.jdt.ui.PackageExplorer?before=group.edit additionally
to the ProjectExplorer contributions.

Change-Id: I1438057d82389c332c3678a3568bf0706497b49f
Signed-off-by: Dirk Fauth <dirk.fauth@googlemail.com>
2016-06-23 22:13:16 +02:00
Nils Carlson
ff412311a7 Bug 495836 - Eclipse CDT needs privileged mode for docker containers
This adds a checkbox to the container tab of the container
launcher to enable privileged mode. It requires a corresponding
change to the linuxtools repo.

Change-Id: I3f5fc15490e58304d3f43669fd6b16373a30ef7c
Signed-off-by: Nils Carlson <nils.carlson@ludd.ltu.se>
2016-06-22 18:45:40 -04:00
Marc Khouzam
9e1e981b4d Move the rest of the CDT plugins to java 8
This change was generated using the script:
releng/scripts/ChangeJavaVersion.sh

Change-Id: I2ad96dc682a5acb8529c3edec40de279c331b5a4
2016-06-22 14:51:43 -04:00