Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-29Fix manual include/macro settings handling for GCCToolChain.Doug Schaefer1-8/+31
We weren't passing in the base settings to the compiler for discovery. Also had a bug in the defines regex that mishandled values with spaces in them. Change-Id: I48183bfc3f61056324da009e58327cdcfed8754a
2017-11-20Fix MSYS2 so that it's provider overrides the path provider.Doug Schaefer1-1/+10
Also handle case when launchMode is null when creating a build config. Change-Id: Ie70de785168c2e24c842d517c64a297ba44e24f4
2017-11-10Fixes for scanner info for Makefile projects.Doug Schaefer1-3/+18
Using ESP-IDF (the ESP32 FreeRTOS SDK) on MSYS2 as a test bed. Making sure the indexer picks up as much as it can. Removed -j since that messes up build output parsing. Add UI so you can put it back if you want. Change-Id: I767c739dce1412c75fb56d0bb1efceb913883a5f
2017-11-08Add Makefile Projects to collection of core build project types.Doug Schaefer1-17/+21
Reuses the old makeNature. Reuses the StandardBuildConfiguration. Generates a pretty simple project for now. Also handles the case where you don't want to generate anything, just create an empty or on an existing source tree. Change-Id: I2f3cddc85d55792a2c537e37d4bc236a3073d930
2017-11-07Adjust Arduino to new GCCToolChain API and add type and id/name.Doug Schaefer1-9/+5
Change-Id: Ia089985425c7f1a6fe347c41a6a01e5ab16d8208
2017-11-07Hook up the clang toolchain now split out from GCC.Doug Schaefer3-10/+37
Change-Id: I6edba9e689d903546be3a65060c4ac1b9871167f
2017-11-07Implement ordering of toolchains.Doug Schaefer4-15/+54
Introduce toolchain types independent of providers. Change-Id: I2cf3145920fcf4e7132468b6e653d7ea3e211127
2017-10-31Fix up MSYS2 autodetect in to use new GCCToolChain API.Doug Schaefer2-4/+39
Make sure we pass the path to gcc as well as the environment with the MSYS2/MINGW* path. Also mark the old API deprecated. Not sure it even works anymore so we need to move things over. Change-Id: I1df10a4a77dbdd9027788bc404ae367421673e26
2017-10-19Fix bugs with emscripten and scannerInfo.Doug Schaefer1-4/+14
Change-Id: I54d3691426a48c2a6f71fee4188364e57eea402d
2017-10-18Make CMake support more resilient.Doug Schaefer1-1/+2
Add c++ to GCCToolChain since that's what CMake uses by default for MinGW. Synchronize the scannerInfoCache loading. Double check for toolchain files at load time for configs that don't have any. Change-Id: I8071e285ce5deb1448cabd45f394c62fe6a7f2f4
2017-10-12Allow for changing manually setting toolchains for build configs.Doug Schaefer2-1/+4
A number of changes that clean up how build configs are done. Now build settings are stored with the build config instead of in launch configs. That makes it less launch bar specific. Add build settings UI to change the toolchain used for a given launch config. Also changed CMake so it's IToolchain based instead of property which doesn't work when multiple IToolchains match. Change-Id: I958d90ede3c1f873ab1530c2b2880808e8f7abef
2017-10-06Add UI tests plugin for CMake. Fix a couple of bugs it found.Doug Schaefer1-0/+2
Also restructures the pom.xmls to put the modules in the top level so we can order them to have the test plugins build after them. Change-Id: I2f0e4ebd252791fb8844cdf0f635d574946207aa
2017-09-28UI for adding toolchains for Core Build. New Generic Target Wizard.Doug Schaefer8-144/+477
Provide a way to add new toolchains. Also start of UI to allow for reordering them to help with toolchain selection for targets. New Generic Target Wizard for the new wizard2 extension point for the Launch Bar Target UI. Change-Id: I60635ab27dad5b69df72c339337473183dcf711a
2017-08-10Bug 519529 - fix handling of quotes in the GCCToolChain scanner info.Doug Schaefer1-0/+10
Some Arduino boards have properties that feed into defines that have spaces in them. The boards.txt property file adds quotes around those things. When resolving the recipe property it results in -D gcc options that have embedded spaces in them. That messes up the ProcessBuilder and the command fails. We'll just strip the quotes from all the command args since they aren't needed in this scenario anyway. Change-Id: I41086ee264b8715823b3eab7931df4371b9ec873 (cherry picked from commit fc7b2f781c4beed99ee7dd3bb18254bfc87deba7)
2017-05-17Bug 498171 Propagate scanner info fix for Arduino.Doug Schaefer1-1/+1
Change-Id: I3ed23049f0364d8fe989f1fa0d8a9b7b47378f32
2017-04-21Fix issues with CMake. Arguments not passed. Local GCC prefix wrongDoug Schaefer2-14/+45
I added cmake arguments in the launch configuration for CMake projects but didn't add it to the command line. Also indexing wasn't working on my Mac. llvm-cc overrode the standard local cc. Added the local compile commands if the toolchain is local. Change-Id: I914c52dd42fbf84b87cd0e8c7504f024c2449a82
2017-02-14releng: Make use of Tycho POM-less functionalityMarc-Andre Laperle1-17/+0
This removes a lot of pom.xml from the source tree. This is using the "POM-less" Tycho functionality. See https://wiki.eclipse.org/Tycho/Release_Notes/0.24#POM-less_Tycho_builds One advantage of this is that you do not need to update the version in the pom.xml when you change it in the MANIFEST.MF because the pom.xml is automatically generated. This also reduces a lot of the duplicated information and pom.xml repetition. - Maven 3.3 and up is required. - Only eclipse-plugins and eclipse-features can be pom-less. Repositories, target and others still have pom.xml. - New parent poms are added because a parent is necessary directly one level above the plug-in/feature that will have its pom generated - Some test plug-ins had to be renamed .test -> .tests because it's required so that it detects that it's a test plug-in - Some suites were renamed so that they all use the same consistent name "AutomatedIntegrationSuite" - Profiles were added for the more common test configurations. They are activated by the presence of simple .properties files that only serve to activate the correct profile. The profiles: - One for UI tests (UI present and start in UI thread) - One for SWTBot tests (UI present and do not start in UI thread) Other test plug-ins that are too different are kept intact and still have a pom.xml - Fragments are kept intact since they all have different target platform configurations Change-Id: I9d73380eb766f547830c552daf08053a30b1845c Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-12-15Bug 503153.Fixed NPE in GCCToolChain.getDefaultScannerInfo()Christian Sell1-2/+22
Change-Id: I51c4d4c2e517fc5743b180c99212dc9c3b8134ed Signed-off-by: Christian Sell <c.sell@byterefinery.de>
2016-11-16Update version to 9.3.0Marc Khouzam1-1/+1
Change-Id: Ic953ccc5d38ff3661ca44de21ed8c4b7dad5b246
2016-11-15Update version to 9.2.0Marc Khouzam1-1/+1
Change-Id: I36ad4218b20b8ea70584c89f5be45c757bf4c714
2016-09-16Fix to better handle build output parsing random text.Doug Schaefer1-1/+6
Handle failures when trying to find the resource at the end of a command line when it's not really a command line. Change-Id: I7dc94a2c45c758248d0402c253e077142ee050e3
2016-08-31Allow participants in CMake toolchain file management.Doug Schaefer1-4/+4
For ESP8266, I want to auto discover the toolchains and friends installed into Eclipse. I also want to handle toolchain files manually added by the user. Adding providers and listeners. Adds prefix to gcc commands. Makes CMake config provider for Local only. ESP8266 has it's own launch config. Add build output to the build config model. And fix up output folders. Change-Id: I682c3d08898e5ca275d07f8bb63c6ec1c7605a81
2016-08-25Bug 174176 - Hook up CMake build to LaunchBar to select toolchain filesDoug Schaefer1-1/+2
Use launch target os and cpu arch properties to pick toolchains and toolchain files. UI to add toolchain files. And build support. Also some clean up of Qt as I found bugs. Change-Id: Icd1da43460b5954eea15e95ed8ec27850fc4e54e
2016-08-23Scanner discovery for CMake projects.Doug Schaefer1-56/+143
Reads the compile_commands.json file and feeds the commands into the processLine method of the build config which creates the scanner info. The scanner info is cached in memory and stored in the metadata directory. Change-Id: I8b04e661dfe767904d1c10119c07167fee8cd7e4
2016-08-17Update version to 9.1.0Marc Khouzam1-1/+1
This commit used the script releng/scripts/ChangeFeaturesVersion.sh Change-Id: I8274a6e8dd5c0f1e450f07952e138b265a441a62
2016-06-14Cherry picking changes from the CDT 9 branch for Qt and Arduino.Doug Schaefer3-7/+50
Change-Id: I85eca2b8bb0447d4dd703030c41d90c1f9bcdf89
2016-05-17Add MSYS2 32-bit support to MinGW GCC toolchain.Doug Schaefer1-7/+46
Change-Id: I185f1b070ce0e97340fc55b1fc0842a6f8e23637
2016-05-16Fix a few things for the QML editor.Doug Schaefer1-0/+6
Fixed up content type warning. Hooked up colors for the QMLEditor to the CEditor preferences. Fixed up tabbing in the main.qml template. Fixed the GCC toolchain to find compiler on path on windows. Change-Id: I66a013666d1ab99bfe94a2a558486cc81681c67c
2016-05-12Add MSYS2 support for managed build. A few Qt cleanups on Windows.Doug Schaefer3-13/+30
Change-Id: I07ed0cb4a83996de194559570fedf9fb1b21b42d
2016-05-10Add binary parsers to new build system. Clean up some toolchain stuff.Doug Schaefer3-50/+68
new build configs now support binary parsers which are by default driven from the toolchains. Ran into problem with new versions of toolchains. Added versioning info to toolchains to take that into account. Change-Id: Ie1fb7755e84239b525dca0ae11759027a0b44574
2016-04-28Modernize Arduino plug-ins. Adjust APIs to suite.Doug Schaefer5-216/+116
Change-Id: Ic877c8f0992874e647d4b464502165d7bd3ebe0e
2016-04-25Bug 492304 - Fix NLS warningsAlex Blewitt1-2/+2
Eclipse warns if a String literal does not have a `//$NON-NLS-<n>$` entry at the end of the line. However, for historic or formatting reasons, many such occurrences in the CDT source have an intermediate whitespace, such as `// $NON-NLS-<n>$` Fix these so that the whitespace is removed between the // and $ characters. Change-Id: Idc12398fe6e9d619af1d0b1b73fb8b6180da223c Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-24Major change to new build arch to give configs more power.Doug Schaefer1-7/+59
Creates a single central CBuilder builder which find the C Build Config and delegates the builds to it. That give configs full control over the builds. Qt and CMake build configs are adapted to this new structure. More features are added to the default super class for configs. Change-Id: I5ecfc7a4e9b909da6749189a059cdcd4a208fddd
2016-04-14Tighter integration of new build system with cdt.core.Doug Schaefer6-169/+227
Move the new build system to cdt.core and remove the previous plugins. Hook the new system into scanner info and environment variable manager. Clean up API in preparation for Neon and API lockdown. Hook up Qt to the new APIs. Add discovery of MSYS2's toolchain and Qt and Qt's MinGW toolchain. Change-Id: I85b1a91da4a44e86f0e9da9310f8106c894623e0
2016-02-09Support project scanner info in new build system for new class wiz.Doug Schaefer1-14/+17
The New Class Wizard asks scanner info for include paths for a project. Need to decide whether that's a good thing or not but for now, add support in the Qt config and GCC toolchain for it. Change-Id: I5f037deb13db41fc0a083ea9fdc30ac1f61557e6
2016-02-05releng: Fix missing about.htmlMarc-Andre Laperle1-0/+1
See https://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg12981.html Change-Id: Ia285ef3a4c85961464432191389838d5a605f5cb Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-01-18Incremented CDT features version to 9.0.0Marc Khouzam1-1/+1
This includes bumping the standalone debugger to 9.0.0 Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2015-12-05Bug 174176 - initial contrib of CMake support.Doug Schaefer1-1/+9
Change-Id: I7f0417bd92415aa9abb24ebabe849d9e4f75cea5
2015-11-25Bug 481978 - Big overhaul of new build system to work with Qt.Doug Schaefer12-0/+602
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

    Back to the top