1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00
Commit graph

912 commits

Author SHA1 Message Date
Marc-Andre Laperle
7afdc50165 Fix Stand-alone debugger SWTBot test
A bug was fixed in SWTBot and it doesn't throw
IndexOutOfBoundsException anymore. A test was relying on that.

Change-Id: I807aaa773b8544172cf33cbf1a04583fe171bd51
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-04-12 13:51:21 -04:00
Marc-Andre Laperle
70fe82a151 Fix SWTBot dependency on org.eclipse.core.runtime.compatibility
Old SWTBot from Eclipse Mars had a dependency on
o.e.c.runtime.compatibility but this was removed in Eclipse 4.6 M3.
It suddently stopped working now because the Eclipse 4.6 milestones
composite repository doesn't contain the old milestones anymore.

Change-Id: I43608f0142e26d4bee175f0bc3cf921b00ffbb96
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-04-11 14:33:50 -04:00
Marc Khouzam
f326794be8 Remove old releng plugin
Change-Id: Ife92ba22813115cb028db273c399c03e235f7cb2
2016-03-14 16:16:27 -04:00
Marc-Andre Laperle
7abda712d9 Fix broken Oomph setup
- Add bouncycastle dependencies explicitly with exact version
to work around bug 489387
- Add missing dependencies (templates, remote launchbar)
- Remove Mars stream that won't compile anymore

Change-Id: I0ce53da4691297895876db069cefdf5287b82617
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-03-12 19:38:43 -05:00
Jonah Graham
ff7f25b94d Bug 484900: Remove Majority of CDI classes
This is the first change to remove CDI from CDT. The CDI model
implementation is removed along with everything that directly
depends upon the implementation.

This commit does not include refactoring or moving classes. The few
insertions are the minimum necessary.

Change-Id: I80274e1a0d77bc7bb00a2afe4babc00c4f7613ae
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-03-08 19:18:05 -05:00
Doug Schaefer
2b53f9eae3 Update the sequence number on cdt.target. 2016-02-22 23:11:19 -05:00
Doug Schaefer
d1dda291d9 New Qt templates using new templates framework. Arduino fixes.
Change-Id: Ib50fb439ba248965286242e476728bb9f36ac18b
2016-02-22 22:55:06 -05:00
Marc-Andre Laperle
c0d2f222bd Updating to latest orbit
Also update the Oomph setup file.

Change-Id: I902ea044e3bf318e9405097aa635ef66efe1c2d0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-02-05 10:06:51 -05:00
Jonah Graham
6d5d0be628 Bug 472765: change from easymock to mockito
Due to improvements in target platform in 12843ef it is now possible to
use mockito instead of easymock. This commit does that switch.

Note because of Bug 334540 we need to explicitly require the org.hamcrest
bundle so that it resolves. From the bug, Matthias Sohn says in Comment 1:
"I would just use Require-Bundle to get around this."

Change-Id: Ib49a767c826aa04f4daf1de0bf1b25a4f8ae07ba
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-01-19 09:56:09 -05:00
Marc Khouzam
b745736775 Incremented CDT features version to 9.0.0
This includes bumping the standalone debugger to 9.0.0

Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-18 16:37:47 -05:00
Marc-Andre Laperle
12843ef1d7 Add some missing libraries to target
When launching with all CDT plugins, there were a few errors about missing
libraries. This patch adds the missing libraries (hamcrest, slf4j.impl).

Change-Id: Ib6925c46787e90e9c345bc03bca5049bfc1475ac
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-01-10 13:32:00 -05:00
Marc-Andre Laperle
0d52c4ab82 Clean-up and use a single target file
Old targets were not working anymore. Also, rename the 4.6 target to
just cdt.target because there is only one that is primarily used.
This should be less confusing to new-comers.

Change-Id: Iaa45fbc5d91cfb47e7e60e549469e74dc5ffe369
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-01-06 20:36:15 -05:00
Jonah Graham
cedcf7655b Bug 472765: more complete tests for source path mapping
Add some more tests for source path mappings to ensure that the upcoming
change of using gdb's set substitute-path does not regress any issues.

Change-Id: I9067c8859293c3332439679cb1f663e36a4cc34e
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-01-06 12:46:20 -05:00
Doug Schaefer
73805d2ea4 Bug 484994 - Migrate Mars Arduino support to Neon.
This brings the master branch up to date with everything we've done
in the 8.8 branch. Adjusts for the new ILaunchTarget and targeted
launch delegate.

Also has a start at making more things common in the new build system.
With three extenders of it now in CDT, i.e. Qt, CMake, and Arduino,
it's obvious we can make things more common and make new extenders
less work.

Also undoes some of the work I've done to get Arduino onto the new
build system. Will need to redo it as we do the new common stuff.

Change-Id: I51ce768e0fc60e29c16b05567bd9802d64e33779
2015-12-30 20:12:30 -05:00
Doug Schaefer
e3496e1246 Bug 481978 - Big overhaul of new build system to work with Qt.
Moved new build system to it's own plug-ins. Cleaned up the root
build configuration and toolchain classes and use them for Qt local
run builds. Also hooks Qt local run launch delegate to launch target
manager and associated delegate interface.

Change-Id: I0c0f711ee53005edd399f6d24ba96658d606e1e5
2015-11-24 22:11:33 -05:00
Doug Schaefer
67f78c8094 Remove the ANTLR based QML parser. We're planning on tern.js instead.
The prototyping of a tern.js based QML parser and semantic analyzer
is working out well. We are proceeding with that for now and are
removing the ANTLR based QML parser we were thinking of to clean
things up.

Change-Id: I5b9894ade1904d017709542ef23d1f80c4886e45
2015-11-06 15:26:37 -05:00
Alexander Kurtakov
839adc35b2 qt: Fix feature not installable from nightly p2 repo.
Add freemarker and antlr to category.xml so they end up mirrored in the
nightly repo.

Change-Id: I8c35f1c376f63b8fbe79c7d7b954a63686b129c9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-02 12:29:05 +02:00
Marc-Andre Laperle
9aa72d4a44 Updates to Oomph setup
-Update API baseline to 8.8
-Fix some missing things for Neon Targlet
-Default is now Neon

Change-Id: Ia2b07ba8438e7b2b853c77fae8ff7dbd9febf010
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-06 12:39:40 -04:00
Marc Khouzam
5c2a64bc5d Add 4.6 target to pom.xml
Change-Id: Id968fc0ce95bf18b849d5c36e37398b76d08130c
2015-10-05 13:40:06 -04:00
Marc Khouzam
43da8ab7ac Point for 8.8 release
Change-Id: I8974e9a657f928f097a0d4e40f0e887288ccb8f1
2015-10-05 11:39:27 -04:00
Doug Schaefer
7cf2a14cc9 Move QML stuff to qt.core plug-in. Add deps for ANTLR, FreeMarker.
Moves to the cdt 4.6 platform where the new ANTLR and Freemarker deps
will be. Also properly names the qt test plug-ins.

Change-Id: I026873583c6e6ca7602cb983ab04f99acd700a4b
2015-09-30 08:22:59 -04:00
Matthew Bastien
74c21f5427 Bug 478231 - Hook up .qrc files to the XML Editor
Change-Id: I41b8e07474b608d8311fbc3f117f9386e73b5305
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-09-23 20:39:38 -04:00
Martin Schreiber
eecd04d279 Bug 478018 - Updating the URLs to Mars release
The cdt-e4.5.target and the Oomph setup file (Mars Repo List) are
pointing now to the Mars release UR.

Bug: 478018
Change-Id: Icff0c388f4422598d7ab22d056f9d97638a7b7fd
Signed-off-by: Martin Schreiber <m.schreiber@bachmann.info>
2015-09-22 11:14:13 -04:00
Marc-Andre Laperle
e38a038340 Add Eclipse 4.6 target
Change-Id: I57480e642fae83508e42b7595cce71f3ae24e0e6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-22 10:14:00 -04:00
Marc-Andre Laperle
04d9a75a59 Bug 471273 - Updates to Oomph setup
- Update baseline to 8.7
- Add missing requirements to match target file
- Add required tools explicitly in P2 Director task (PDE, etc)
This will make it possible to select other products and stil be able
to work on CDT.
- Change default target to Mars

Change-Id: I490adae66cc04d2357258f65b6cdea1d5ad79cde
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-01 21:35:24 -04:00
Doug Schaefer
71ed78fcbe Remove dependency on apache http client. Don't need it.
Change-Id: Ic12222668217dab543e231bfbf2615757d6dc389
2015-08-21 20:53:29 -04:00
Marc Khouzam
5da8218025 Update p2.inf for 9.0 release
Change-Id: I7bf0d3582d5dddc0f90e518d3ba5cd40d9378f15
2015-08-19 21:44:14 -04:00
Marc-Andre Laperle
2e90d6eaee Add a new target to specify the API baseline
Eclipse 4.5 now offers specifying API baselines using target files.
This is much more simple than having to install and maintain a
separate Eclipse installation. This patch adds a new
cdt-baseline.target containing all the CDT features from the CDT
project update site.

To use the baseline target:
1. Go to preferences, Plug-in Development, API Baselines
2. Add Baseline...
3. Select "A target platform"
4. Enter a name, "cdt-baseline" for example
5. Select cdt-baseline in the list (cdt-baseline.target)
6. Click refresh, Finish
7. Make sure you select the newly created baseline as the new default
8. Press OK

Change-Id: Id953b1719a41e2e4e64245c011d01e391305859c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-08-19 16:37:05 -04:00
Marc-Andre Laperle
bbc1b11d23 Bump target sequence number to pick up latest changes automatically
Change-Id: Id505cf0e0cc36aec7944649c75266d9aed5bea7e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-07-27 11:36:24 -04:00
Doug Schaefer
df39cb4b09 Start of using Arduino package index for board packages.
Added dependency to Gson for JSON parsing and Apache Http Client
for getting the index files from the Arduino site.

Change-Id: I3d265c1037e7f74e082f36c751f5eaf780e96684
2015-07-20 10:40:10 -04:00
Marc Khouzam
248861cf21 Update p2.inf file for 8.8 release
Change-Id: I39b25336ebaf75075a02acae0d9f9abf7f8c9345
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-17 09:55:49 -04:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Marc Khouzam
e4d106f6d1 Update to use the Mars Orbit version
Change-Id: I5a4a4fdefc46a374148e6a3bdaeb59c21cb06d8b
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-09 13:03:16 -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
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
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
Marc Khouzam
956ae66e83 Update p2.inf for 8.7 release
Change-Id: Ie98c5cd10163a777e1de886c68750136e221fa28
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-05 10:31:46 -04:00
Marc Khouzam
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Doug Schaefer
8432a50e01 Bug 466209 - Add Arduino to category.xml
Change-Id: Iee345c76a57edf1b5c85feea8a2988ce37ed1e65
2015-05-04 19:40:07 -04:00
Doug Schaefer
076e141b69 Bug 466209 - Initial commit of Arduino plugins.
Includes freemarker jar which we have CQ approval for.

Change-Id: I8f36cd7f4539497bab5f106f84216f75a25da3a0
2015-05-04 16:34:10 -04:00
Doug Schaefer
95bff0bb50 Bug 459971 - Add serial port plug-in to CDT platform feature.
Change-Id: I5ece8836d95ad40003a330c70e081f43a8149460
2015-04-09 10:56:55 -04:00
Doug Schaefer
6993415180 Bug 459971 - Move serial port to it's own plug-in. Starting with Mac.
There are a number of requests to support serial port independent of
CDT and independent of Eclipse. Putting the serial port into it's
own plug-in so it's jar can be loaded into pure Java apps.

Change-Id: I9b35d9bedeee0a0b1c16ad1c884830894320a726
2015-04-06 19:39:30 -04:00
Alvaro Sanchez-Leon
ed97b40808 Bumped e4.5 target definition version to force update to latest SDK
Change-Id: I9dacb44bd6888f13c9be622639ea99d4cd3e9f35
2015-03-25 10:52:04 -04:00
Alena Laskavaia
b5c72d7baa missing dependency in oompth targlet (cdt.p2 did not compile)
Change-Id: I662e3bd499cf7248b4950666aa615443f55bc99e
2015-03-16 20:07:51 -04:00
Marc-Andre Laperle
8f2d399431 Upgrade maven plugin versions
I used this command to print a summary of the updates:
mvn versions:display-plugin-updates -Djava.net.useSystemProxies | grep "\\->" | sort | uniq

The command reports which maven plugin versions are outdated per cdt project (pom.xml). The extra grep and sort are just to make it display as a short summary.

Change-Id: I6abec0c1d510aac4599fb0d573d443807ee84a7b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-03-16 16:56:27 -04:00
Alena Laskavaia
966b24c937 added resource link to have oomph CDT.setup file inside the project
- the original location of the file is not changed but now
I can see it and edit in my eclipse project (o.e.cdt.target)

Change-Id: Ib7835d524d8ad0141eee74da1d099313d516da78
2015-03-15 19:28:20 -04:00
Marc-Andre Laperle
02972325cc Bump target sequence number after adding org.apache.commons.compress
Also update staging target with org.apache.commons.compress.

Change-Id: I9cf176da661af2b0f28abc0221fe110e040d0889
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-03-13 15:56:16 -04:00
Marc-Andre Laperle
27dd96cb72 Add Gerrit repository locations to Oomph setup
Change-Id: Ibba48f9e385f4e4aa00f936e2c211c87cea2b855
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-03-12 18:54:19 -04:00
Marc-Andre Laperle
676f150755 CDT Oomph setup update
-Update baseline to 8.6
-Use Remote 2.0.0 in targlet

Change-Id: Ie508b89a71702868d0c87d49889f68500080a90b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-03-09 12:02:22 -04:00
Doug Schaefer
3ad1ac66cf CQ 9334 - Add Apache Commons Compress to target
I am updating the cdt.p2 plug-in to be able to extract toolchains that
are packed up with different archivers and compressors. The Apache
Compress classes are great at dealing with that. CQ has been approved.

Change-Id: Icf72be97e918f2e54f2d41756435266f0dd46e4c
2015-03-06 10:50:09 -05:00