Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-09-09Bug 550076 - Use PE64 parser by defaultCDT_9_9_0Jonah Graham2-2/+2
Change-Id: I757c8ace43e79f1215ad0e817430e5ab90415401
2018-11-24Bug 540373: Update the compiler warnings/ignoresJonah Graham1-1/+1
The previous alignment of all the warnings/ignores led to too many warnings that weren't there before. This commit relaxes them a bit. The core/org.eclipse.cdt.core/.settings/org.eclipse.jdt.core.prefs is still the "master" copy, with releng/scripts/check_code_cleanliness.sh containing the exceptions that apply to test plug-ins. Change-Id: Ibd4e31ade0b42b31e7cbe5a94f06c6fc15183a56
2018-11-22Bug 540373: Cleanup: Add missing annotationsJonah Graham1-0/+1
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Add missing Annotations - and selecting all three types: - @Override - @Override on interface methods - @Deprecated and completing the wizard Change-Id: I5d367dacb04327107f25e147edc08efc4eb1c2fe
2018-11-22Bug 540373: Cleanup: Format & Remove trailing whitespaceJonah Graham5-17/+20
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Format source code - Remove trailing white spaces on all lines and completing the wizard Change-Id: I63685372c6bcc67719bcf145123bcb72e5b00394
2018-11-22Bug 540373: Standard .settings auto appliedJonah Graham5-0/+812
The releng/scripts/apply_jdt_prefs_to_all_projects.sh was run to copy standard settings to all other projects. Change-Id: I4436c947d7f0142f56b709e661379c3eb54f666b
2018-11-22Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.shJonah Graham9-44/+80
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-22Bug 540371: normalize files before applying EPLv2Jonah Graham1-2/+3
Change-Id: I8bfd427bba1df18579d6d5e58ad1e5d704485050
2018-11-20Bug 540373: Normalize newlines with .gitattributesJonah Graham2-162/+162
There is also a new script to verify completeness of .gitattributes: releng/scripts/verify_gitattributes.sh Change-Id: I2ce270852ab54b66b6c474a6ec94203fe5bba78b
2018-10-30Bug 540610 - Add Automatic-Module-Name headerKarsten Thoms1-0/+1
Change-Id: Ia990b24469751050dd9ec8f9b5550804816308b3 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-10-23Bug 540367 - Increment version numbersWilliam Riley1-1/+1
Change-Id: I4a355170a7075f0a98ba3c1a5131c235c89b07d2
2018-07-17Bug 536413 - ConcurrentModificationException when indexingJeff Johnston1-4/+8
- apply patch submitted by duh-sa-sekirom@hotmail.com - in GCCToolChain join the threads that do include path and macro searches before waiting for process so as to prevent a ConcurrentModificationException Change-Id: Iefe6f013007b7bbf00117b5295b5e27489a72834
2018-07-04Bug 536363 - Meson project include paths wrong when using ccacheJeff Johnston1-2/+9
- fix GCCToolChain and ContainerGCCToolChain to not blindly take the first token in the command string when processing scannerinfo; if it is "ccache", take the second token instead Change-Id: I4b2b7dfaccae6f3ec968bbe4217c57994ad71963
2018-06-16Bug 535972 deal with relative include paths in GCC scanner infoDoug Schaefer1-0/+3
We weren't dealting with relative include paths returned from the call to gcc -E properly. Resolves them against the build directory before checking if their a directory. Results in them added. Tested with ESP-IDF's feature/cmake branch. Change-Id: I1e2583e03cce6380ee4382146b177978c9c81806 (cherry picked from commit 3b44424539ec13eaf9df2eab2f2b8ab9b2df8901)
2018-05-29Bug 535091 separate out the two streams for macros and defines.Doug Schaefer1-20/+39
The output of the call to gcc to pick out the defines and include paths produces them on different streams, defines on stdout and paths on stderr. Separate the scanning of the two into two threads. Change-Id: I3173d3619e53d13a51a6e283eb320a618daacf21
2018-05-06Extend GCC OS detectionDoug Schaefer1-0/+9
If we can't tell from the second element, try the third. If it's linux, we're good. If it's elf, use the second element. This catches the esp32 xtensa compiler which is driving this change and make sure we don't mess up too many others. Change-Id: I4650e5fa309677c596e9f5f64f50bcc2ebdef334
2018-05-06Revert "Default to the middle element of the gcc tuple for the os name."Doug Schaefer1-2/+0
This reverts commit 3feb726cf56193c1a24d02381e8bbac763dca8dd. Change-Id: I98d70947084000b165151b4cf5b43d9b07ca74e7
2018-05-06Default to the middle element of the gcc tuple for the os name.Doug Schaefer1-0/+2
Change-Id: Iea4ae6a8977406d06bf67719c8281e1062c5a12d
2018-02-15Fix up handling of esp32 on Windows.Doug Schaefer1-22/+55
Need to convert paths from MSYS style to proper Windows native. Change-Id: I8c459274a1eb33af026c1ae383db67c8cbcdc29f (cherry picked from commit fea65eeb1590dd593fcc7e66d5e5ba9d59df26df)
2018-02-14Bug 531125 - Tupled gcc toolchains should not be the local defaultJeff Johnston1-4/+19
- change ToolChainManager so that when creating the types map for the first time, make it a LinkedHashMap instead of HashMap so order of input is preserved (first in = first out) - fix GCCPathToolChainProvider so that it adds non-tupled gcc to the ToolChainManger before adding any tupled version Change-Id: I84602a98dd4949a2f9847d4e72c428cdedd60688
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

Back to the top