1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-15 04:05:38 +02:00
Commit graph

26697 commits

Author SHA1 Message Date
Marc-Andre Laperle
3a3557f65d Upgrade jarsigner to final 1.1.2 release
Change-Id: Ia68714d4e8dd75512d6ade2f6015c1fe4be7e2d3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-06-04 09:58:36 -04:00
Sergey Prigogin
4890e6e7e6 Protect against an NPE. 2015-06-03 18:18:57 -07:00
Sergey Prigogin
4cf72bb41b Cosmetics. 2015-06-03 18:14:35 -07:00
Alena Laskavaia
01bfa62a4d launchbar: target config provider lc working copies bugs
per target config provider adds working copy into cache on change
notifications which creates problems
a) they never cleaned up
b) now when its searching its picking a wrong config (wc) causing 
it to return invalid config

fix push up higher in launch bar itself, no point propagating
launch change notifications from working copies

Change-Id: I3b7bc94f3ef6ab385fc43cc5482ab4c9b943e8fa
2015-06-03 11:11:45 -04:00
Jeff Johnston
16d9dd6ba7 Add missing icon to CDT Docker Launch plug-in.
- docker_small.gif was missing for SWTImagesFactory
- replace with container icon: repository-middle.gif for container Tab

Change-Id: Id18423f3bcad10142b8a3e834237f1b3bf49e7d6
Task-Url:
2015-06-02 19:44:46 -04:00
Marc-Andre Laperle
30447e7806 Bug 469066 - NPE in CrossGCCBuiltinSpecsDetector.getCompilerCommand
Change-Id: Ie79a6043c742d9cd42bb846e5736676d9d0cbd6c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-06-02 01:22:24 -04:00
Sergey Prigogin
a7d3f1d3b5 Bug 461676 - refactoring not work for methods in class
Change-Id: I770b579eb327e3f21565e95cab2894702f3d7964
2015-06-02 00:23:05 -04:00
Doug Schaefer
76267c7aa9 Adapt Arduino plug-ins to final LaunchBar API.
Change-Id: Ib5d7738ad137566b7cf6f9b8c177f72c747b2d2b
2015-06-01 21:59:49 -04:00
Jonah Graham
8282a1767e Bug 469007: Reference MIExpressionsNonStopTest in test suites
Change-Id: If29de1ee2941a2bb3cb5c27dd9a61741b76165e6
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-06-01 15:08:22 -04:00
Sergey Prigogin
f2e7ffec54 Bug 469023 - UnsupportedOperationException in CPPVisitor.createBinding
Change-Id: I10653fc6a23364d0977d3f7dc6e92b84812bf5bb
2015-06-01 10:24:02 -07:00
Doug Schaefer
e1ac2000de Final LaunchBar 1.0 API. Lots of clean up and simplification.
launchConfigAdded becomes pretty important. Requires providers
to be able to find descriptor and target from the incoming
configuration if they own it. Also added handing for a default
when the target is null.

removed ownsConfiguration in providers since the launchConfigAdd
does that by returning false.

Added enablement for config providers, but that will need work
and some default property testers for it to be useful.

For the correct way to add in a config provider, check out the
Arduino change for this API at:

https://git.eclipse.org/r/#/c/49029/

Change-Id: I46b194a933c846d7d3e4eea8a0213c4ec324816f
2015-05-30 23:34:00 -04:00
Nathan Ridge
aa463781be Bug 468557 - Fix a typo in CPPCompositesFactory.getCompositeBinding()
that was causing a CompositingNotImplementedError

Change-Id: Ida8e09dbc438f23ed3187f97429efe1a31b4d037
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-05-29 17:44:33 -04:00
Roberto Oliveira
695167eb07 Bug 468492: Add _Decimal types.
- Types added: _Decimal32, _Decimal64, _Decimal128.

Change-Id: I9660dfa16f860b5fd31cf028812f1ab464b18709
Signed-off-by: Roberto Oliveira <rdutra@linux.vnet.ibm.com>
2015-05-29 17:51:48 -03:00
Alena Laskavaia
f4944e5e27 launchbar: enablement expressions for desc. type
added ability to define enablement for descriptor type,
to allow lazy loading of plugins



Change-Id: I9a9f494d0720f752c0cfebf20316f9f8274ee23f
2015-05-29 13:16:51 -04:00
Doug Schaefer
a2babed084 Fix Arduino to managed the target in the delegate. 2015-05-29 11:27:06 -04:00
Doug Schaefer
109655d384 Final Arduino touches for Mars. Preference Page, template cleanup.
Externalized Strings.

Change-Id: I3450fe67fa3f3e3db40955be926b8b62951460f1
2015-05-29 11:26:38 -04:00
Doug Schaefer
409b39b10a Reuse Anrduino remote connections when fetching.
Change-Id: I776cf031f34b51ed504709d367b6b0352c868815
2015-05-29 11:26:03 -04:00
Doug Schaefer
49bf118c8f Support Arduino C++ on Windows. Move entire Makefile into template.
Also added the command shell console to the cdt 4.5 target so we can
test the Arduino command shell.

Change-Id: I185f9b39d23a6718204112e1fd4388c2458f7e5e
2015-05-29 11:25:02 -04:00
Doug Schaefer
c82bcf30f0 Try and fix missing about file in native.serial.source. 2015-05-29 11:24:32 -04:00
Doug Schaefer
de91588fe1 Clean up Arduino projects, remove Maven natures.
Change-Id: I063508705b6d469fb6bb28b077ebcbf2b9793afa
2015-05-29 11:23:38 -04:00
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