1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-22 15:53:58 +02:00
Commit graph

26727 commits

Author SHA1 Message Date
Doug Schaefer
583cbf2503 Start work to build against the Arduino IDE. 2015-05-29 11:22:42 -04:00
Marc-Andre Laperle
10e011fa33 Bug 468713 - CDT should explicitly require eclipse.remote 2.0.0
Change-Id: Ifd0b8a54e93300f1970b887385ee01de1de2cfa3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-05-28 19:49:10 -04:00
Alena Laskavaia
b46cc02560 launch bar: per target provider and test fixes
- fixed tests and added tests for previous API changes
- fixed unsafe call of provider methods without catching exceptions
- added description of priority attribute in the extension point API
- fixed default return values in DefaultLaunchConfigProvider, in case it
is extended
- removed unused import
- fixed per target provider to support persistance
- added test for per target provider

Change-Id: If08b18b939e86757108a800d1092a62621a8c7d0
2015-05-28 16:54:43 -04:00
Dan Ungureanu
8de376b2d9 Bug 466543. Fixed matching error while importing breakpoints
Change-Id: I0607053c62b37b614665c58c520a77b8713a248e
Signed-off-by: Dan Ungureanu <dan.ungureanu@freescale.com>
2015-05-27 23:10:30 -04:00
Jeff Johnston
36e50950b4 Fix for bug 468408
- Change to use the launcher plugin instead of the internal
  Activator from org.eclipse.linuxtools.docker.ui

Change-Id: I55c5ee8a70714a76543b6deb029003c9d8a7862c
(cherry picked from commit e51f7256e5)
2015-05-27 12:33:04 -04:00
Thomas Corbat
216f842984 Bug 468033 - Writing Variadic Templates with ASTWriter
Change-Id: If724d328e99dfe3e1c0974025c4e517511cbfa25
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-05-27 03:07:31 -04:00
Rob Stryker
652500b200 Bug 468399 - mode selector filled with tostrings
Change-Id: I109b728b2b7e1356c026c11b3b3663089940c5fe
Signed-off-by: Rob Stryker <rob.stryker@jboss.com>
2015-05-26 15:57:11 -04:00
Alena Laskavaia
93a926385f launch bar: API for config added/changed
we missing API to notify provider that configs are added/changed.
it required to keep internal provider map in sync, i.e. restore
the state of config/descriptor map on startup for example.

Change-Id: I3af24a21d5d41084f85731f6da2f7aca2df81f1c
2015-05-26 14:00:16 -04:00
Jonah Graham
8328943db8 Bug 464917: Add Line Breakpoint dialog and Breakpoints view menu item
line_brkpt_co.gif is edited version of function_brkpt_co.gif

Change-Id: Ifb74e86e1033a11e319c643f9ba1a7034a983173
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-05-25 10:03:23 -04:00
Sergey Prigogin
e4dd059af0 Cosmetics. 2015-05-24 21:13:05 -07:00
Sergey Prigogin
ac121def1a Bug 466362 - StackOverflowError involving self-referencing template
definition

Change-Id: I101dff395f6e58a6852010419045f583eebd47e8
2015-05-24 20:02:35 -04:00
Jeff Johnston
7215298c66 Fix for Bug 467930
- creating a Container launch configuration in Debug Launch
  Configurations View does not work
- problem is that the ContainerTab was not setting the connectionUri
  by default
- also set Remote Attribute which is needed for Container launch
  to properly connect with gdbserver in Docker Container

Change-Id: Ifb25b1cfcc8d4e3ac2c67b60a0072463774b108f
2015-05-21 17:33:26 -04:00
Marc Khouzam
021fc9cc0e Typo in copyright header date
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-21 16:08:53 -04:00
Doug Schaefer
32a1b3134c Fix missing about files. 2015-05-21 10:21:47 -04:00
92a0b1cb0e launcbar: shash does not drag on mac
Change-Id: I89c37ad8ae0a3ea6cc3e2d5b2450fd8ed1bafa33
Signed-off-by: <elaskavaia.cdt@gmail.com>
2015-05-20 16:02:31 -04:00
Sergey Prigogin
0052d43d96 Remove temporary files after test. 2015-05-19 16:47:47 -07:00
Sergey Prigogin
f335591877 Cosmetics. 2015-05-19 16:46:14 -07:00
Marc-Andre Laperle
45abca9bdb Bug 460167 - RCP for the Stand-alone debugger
This patch creates a product so that the stand-alone can be downloaded
without
the rest of the C/C++ EPP. It also makes it easier to use because the
user only
has to launch the executable, just like a regular Eclipse instead of
finding
the script.

To try the RCP:

mvn clean package -Pbuild-standalone-debugger-rcp

The result (tar.gz) is available under
debug/org.eclipse.cdt.debug.application.product/target/products
Once extracted, it can be started just like the normal script:
./cdtdebug -e myexecutable

Change-Id: Ifb849af8a8f2ec03abcae57cf43d57cde2333759
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-05-19 14:29:06 -04:00
Doug Schaefer
809f470514 Adjust to removal of special launch config delegate for remote.
Change-Id: I767ca01a8a233b2b6ab197991a696b4deef52b8c
2015-05-19 14:26:26 -04:00
Jeff Johnston
56032058d2 Add Docker launching support
- use the new docker tooling plug-ins to launch and debug
  CDT C/C++ applications in docker containers

Change-Id: I30689255a3443ce6d49f937f5e2506d86452915b
2015-05-19 13:53:27 -04:00
Doug Schaefer
456b2f42b5 Remove the special launch config delegate for remote.
It's too hard to replicate the entire debug platform launch sequence
in order to insert the target this way. We'll need to come up with
something better if we want to share launch configs between targets.
But that will have to wait until Neon at the earliest.

Change-Id: I208eed527961e172316f0b12b869be5665a6aca5
2015-05-19 10:41:04 -04:00
Doug Schaefer
e2ca94284e Adjust to the final launch config API.
Change-Id: Ia539832e9e8c4d95cdac9295aae7f56552f10a2b
2015-05-19 00:45:58 -04:00
Doug Schaefer
f6e8b921c3 Bug 467153 - Remove last remnants of per type config providers.
Also adds a tighter check for ownsConfiguration based on class name
of the provider that created the config.

Change-Id: If197246af0906cb5af92819171ee97dc7cd30bee
2015-05-18 23:29:06 -04:00
Doug Schaefer
a170ca1895 Step 1 of adapting Arduino IDE to new Launch Bar API.
Change-Id: I5fcfcde182eff8a5cc34d64f75ba5deea9487770
2015-05-18 02:07:14 -04:00
Doug Schaefer
86c73092fa Bug 467153 - Step one of making configs per target.
WTP needs a new config for every target. That breaks our architecture
of one config per target type. But that's actually already broken
since we can't really get the proper target to the launch config.
Depending on active, we always hoped the target didn't change, but
it can. So one config per target is correct anyway.

Change-Id: I14ba8413b9494a13f3496eed5535debbc330a56c
2015-05-17 23:22:09 -04:00
mazab
3d8907e788 Bug 461378
Adding margins to configure settings pages.

Change-Id: Ic9e8df3d73f66a47a53726c8fc115f3397436c37
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-05-15 18:04:20 -04:00
Guy
07c9f4fbc3 Bug 421884 - Fixed invalid checking condition. Must be == rather than !=
Change-Id: Ib6321a4b5625fd3fbcb0b23d2174d008f967710d
Signed-off-by: Guy <guy.bonneau@videotron.ca>
2015-05-15 15:57:32 -04:00
Marc Khouzam
0ec42e99dd Bug 466492 - Remove console when removing exited processes
Change-Id: I029c89d81fc0f0e96dc8f3b160ea5286b0adb5ba
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-15 10:25:45 -04:00
Sergey Prigogin
d7aa03bc6c Added back a missing import. 2015-05-14 20:37:59 -07:00
Sergey Prigogin
ad32a0cc12 Bug 467359 - NPE in ProblemHighlighting.consumes
Change-Id: Ifc59349cb7995846a061ff39e7fe4e2d33384d61
2015-05-14 23:09:02 -04:00
Sergey Prigogin
1573d6467d Bug 467358 - NPE in CVisitor.getContainingBlockItem
Change-Id: I5f682df17b9e85539cfb033699d8d1346ead6a25
2015-05-14 20:51:43 -04:00
Sergey Prigogin
6a00b4e757 Cosmetics. 2015-05-14 16:48:05 -07:00
Marc Khouzam
fe51f92804 Update GDB download script for version 7.9.1
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-13 15:36:23 -04:00
Sergey Prigogin
5067760a91 Revert "Bug 466362 - StackOverflowError involving self-referencing template definition"
This reverts commit 74292d661b.
2015-05-13 11:49:33 -07:00
Sergey Prigogin
74292d661b Bug 466362 - StackOverflowError involving self-referencing template
definition
2015-05-13 11:46:05 -07:00
Marc Khouzam
fdf3867071 Bug 467109 - Add new dependency to standalone debugger.
Looks like platform 4.5 now depends on
org.eclipse.e4.core.di.annotations and some others

Change-Id: Ic7ecde8e52c825a563956ffeb1b56407f6d98325
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
(cherry picked from commit 0434220f80)
2015-05-13 14:01:40 -04:00
Nathan Ridge
c75374a1ef Bug 466861 - Do not lose template parameters of derived class when doing
access checking for content assist

Change-Id: I850bc2c1f7f49682fc51ad5be621a7125936dd08
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-05-13 00:17:44 -04:00
Nathan Ridge
165175210d Bug 466861 - Some minor code cleanup in AccessContext
Change-Id: I10145cc5d739d55e7f1594d6747fd9c1b73c7f05
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-05-13 00:17:03 -04:00
Doug Schaefer
08301be2c6 Bug 466941 - fix Anduino plugin names and providers.
Externalize them and give the proper provider (not me :).

Change-Id: Ic47a0c1251c50a05b3058a9e22fb869045babd47
2015-05-11 16:49:45 -04:00
Marc Khouzam
682cca6717 Revert "Point cdt_8_7 build to its own location"
This reverts commit 4714a3bf59.
2015-05-11 15:57:08 -04:00
Marc Khouzam
4714a3bf59 Point cdt_8_7 build to its own location
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-11 15:56:40 -04:00
Jonah Graham
406950d31f Bug 467023 - Minor updates to the DSF Programming Intro
- Add a note about turning pre-processor off so edits made as part of
  the tutorial are not overwritten
- Add missing ConfinedToDsfExecutor for Exercise 4
- Fix typo

Change-Id: I790fc2e3f640510a665a9a29a04f20502af7c710
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-05-11 19:00:33 +01:00
Jonah Graham
71d0155caf Bug 464919: Set REQUESTED_* fields to initial values
When creating BP with dialog, make sure it starts out as
not-relocated.

Change-Id: Ia5b703315ce4a6ea55bac584097b255f08b19b17
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-05-11 12:14:35 -04:00
Nathan Ridge
0ff408c238 Bug 466845 - Parameter pack of reference type as field owner
Change-Id: Ib1a04bbe50817db5400c70d494fd9d938458020f
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-05-10 18:32:13 -04:00
Sergey Prigogin
76d4831878 Revert "Bug 466362 - StackOverflowError involving self-referencing template definition"
This reverts commit cfd51db02b.
2015-05-08 14:48:46 -07:00
Sergey Prigogin
7f376ffdd7 Replaced XXX tags with TODO. 2015-05-08 14:41:01 -07:00
Sergey Prigogin
ef33d0d299 Fixed an NPE.
Change-Id: If2455671e50e99a662d469febc8e5babf7fc24e3
2015-05-08 14:40:30 -07:00
Sergey Prigogin
cfd51db02b Bug 466362 - StackOverflowError involving self-referencing template
definition

Change-Id: Ia5e6316e6246857533047a0791b22facea8c3271
2015-05-08 14:11:17 -07:00
Stefan Xenos
f893d9590c Replace SubProgressMonitor with SubMonitor
Signed-off-by: Stefan Xenos <sxenos@google.com>
Change-Id: Iabdf98ac10cbf9924c0b85e446a2de22f609deea
2015-05-08 14:22:27 -04:00
Marc Khouzam
79ff9f136c Change output to fix failing tests.
The cause of the different output is a change in o.e.core.resources
where the order of visiting a project has changed to become
alphabetical.  See 
http://eclip.se/461838

Therefore, our benchmark files must also have the output of
subdirectories in alphabetical order.

Change-Id: I3331649cf516adbe3b453b11f1ed6733a007ce4d
2015-05-08 09:04:37 -04:00