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

899 commits

Author SHA1 Message Date
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
Alvaro Sanchez-Leon
6c8408c1d5 Remove Jetty from target definitions as this is no longer needed
Jetty has already been removed from the cdt-e4.5.target
However it's ocassionally causing errors in 4.4 and it's not
actually needed as it's now included in the platform.

This change removes Jetty from all available target files.

Change-Id: Iaff7497a8387c13b6bfc011b5ded905b134994da
2015-03-05 06:56:11 -05:00
Marc Khouzam
3642fbc5cd Bug 459972: Update all target files on master for o.e.remote 2.0
Change-Id: Ib9dc2ae0f4011e8db5ab09527c2b89b70ce95d16
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-26 00:22:17 -05:00
Marc-Andre Laperle
8c0df4e50b Remove Jetty from 4.5 target
Both Jetty 8 and Jetty 9 were getting included in the target platform. It seems
that those two versions can't co-exist and Eclipse fails to start.

Change-Id: I33e94458b34c339f8bffa5f64830958fe00a2e2d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-02-19 10:10:32 -05:00
Marc Khouzam
3edc86361c Add cdt-e4.5.target file
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-18 16:27:49 -05:00
Marc Khouzam
78cd08f40d Allow for filtering of findbugs
Choose version 2.5.2 which is what is supported by CDT's HIPP.  Note that by removing the version altogether, the latest available findBugs would be selected.  However, this could lead to different results between manual builds and HIPP builds, which is why I thought it would be better to specify the version explicitly.

FindBugs can be run by adding the string

 findbugs:findbugs

as a maven parameter, either in a local maven build, or on HIPP.

Add releng/findbugs-exclude.xml to control the errors shown by FindBugs.
The content of that file was copied from the TM project, but should
eventually be ajusted for CDT.

Change-Id: Ibc8348b9286f00580a4079a7ca3c669708bc6194
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-18 11:50:43 -05:00
Doug Schaefer
cd65a29016 Bug 459972 - Update CDT to use o.e.remote 2.0.
Requires a couple of changes in the autotools plug-ins. Change the
4.5 target to refer to the remote 2.0 build and update the pom to
use the 4.5 target.

Also fixes autotools test so they run on the Mac.

Change-Id: I145de3ea3f14d61ffba7354ad0fa3e0ec2467e26
2015-02-17 14:48:08 -05:00
Marc-Andre Laperle
312aebf72b Enable assertions (-ea) in default launch configuration args
Target definitions and Oomph setup can specify default arguments for launch
configurations. Enabling assertions is especially useful when doing development
in DSF components.

Change-Id: I9bf56515559804b966fd7d3be0cabb726ddf5c4e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-02-06 13:14:42 -05:00
Marc-Andre Laperle
e3830010d7 Specify program and VM args for target in Oomph setup
Change-Id: Idb4e7c11aa44881309b71e40b5f158e2b33e8423
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-01-26 14:23:28 -05:00
Marc-Andre Laperle
bd247695cc Add setup file for Oomph
This patch adds a setup file for Oomph. To test it:
1. Start the Oomph installer (https://wiki.eclipse.org/Eclipse_Oomph_Installer)
2. At the package selection, click the Advanced Mode button in the top-right
corner
3. Select Eclipse IDE for Eclipse Committers. Click next.
4. Select Eclipse.org
5. Click on the '+' button in the top-right corner, browse file system for
CDT.setup.
6. Double-click on CDT in the tree. Click next.
7. Enter installation folder name, workspace name. Click Next, Finish.

This should install and start a new Eclipse installation with the CDT code
ready to be worked on. Once this patch is merged, the setup will be added to
Eclipse catalog so that the user doesn't have to browse for the file.

Change-Id: Ia84383e9cc64fd3eec0e738e5266dcd8ba6dad0a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-01-22 21:45:57 -05:00
Marc Khouzam
b447d066aa Bug 457495 - Include packed jars for CDT builds
With this change the build will now contain the 
packed jars for each plugin.  They can be seen under
releng/org.eclipse.cdt.repo/target/repository/plugins/*pack.gz.

Those packed jars are removed from the zip file as they just duplicate
the existing jars.

Change-Id: Ida5804e6939f1dd99a5cc169518738bb394198a6
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-01-19 18:25:31 -05:00
Marc Khouzam
6e6c6aa9ec Bug 445128 - Copy processing-instruction in xsl processing
Change-Id: I92282ff1e9f9ba8b1de245298d5bd0db401ca479
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39536
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-01-13 20:19:38 -05:00
Marc Khouzam
16886a1f2a Bug 445128 - Enable the use of p2 mirrors for CDT releases
Note that <repo-path> will need to be changed at release time to point
to the release location, which will probably be "tools/cdt/releases/8.6"

Change-Id: I0a89c8807a435ac348f4f28f2442d27668248cfc
Reviewed-on: https://git.eclipse.org/r/33992
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-01-13 15:04:13 -05:00
Sergey Prigogin
252eaf4c0f Incremented CDT feature version to 8.6.0.
Change-Id: Ic90c8e6a68d21e5b90ec3fac997da6a95a29bedf
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39066
Tested-by: Hudson CI
2015-01-06 19:40:38 -05:00