Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-04-25Bug 350499: Ask user to confirm toolchain changeTorbjörn Svensson3-1/+17
When a user switches toolchain integration used, all the settings will be lost. Rather than having the user find this out the hard way, prompt about it and highlight the implications of changing toolchain. Contributed by STMicroelectronics Change-Id: I885bc5544d7222eb1aeee7c92ac98c0d1c083cb1 Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2021-04-12Bug 568397: Add separate text boxes for separate build command and argsJonah Graham5-105/+198
Change-Id: I078a1db23a69dcbde503b1dd5e496705ecccc956
2020-12-01Revert "Bug 568397: Hide "Build settings" if using custom command"Jonah Graham1-12/+5
This reverts commit 1d226f92731b30e3894ccdf884341e58d9990508. Reason for revert: Due to some concerns about use cases and the desire to resolve those concerns with separate build and args text boxes this is being reverted for 10.1 until this change can be done at the same time as https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/173118 Change-Id: Iffa37087c00f434d4e684eea19ecacde36004b80
2020-11-30Bug 569300: Allow custom build option editors to save the valueTorbjörn Svensson5-53/+107
Added a new interface with a method that is called when the value is to be saved into a resource configuration. If the function returns false, then the default implementation of handling property changes will kick in. If the function returns true, then it's assumed that the value has been handled. Change-Id: I0523d15ba0a3ec9dbc24c3e4afc070b071d8fb7e Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-11-18Bug 568728: Drop execute permission on filesTorbjörn Svensson2-0/+0
Add enforecment script that verifies that only specified file types are allowed to be mared as executable. Change-Id: I4b40e3a46b03bfc78a9dcd52e8bf29cb079b7f3b Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-11-09Bug 568397: Hide "Build settings" if using custom commandTorbjörn Svensson1-5/+12
When unchecking the "Use default build command" checkbox, hide the GUI options to configure the flags as the user should have full control. This solution was discussed in https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/171735 Change-Id: Ifbd67b279db55f5a83f4a660b9a1248e5c021df2 Also-by: cartu38 opendev <cartu38.opendev@gmail.com> Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-10-29Bug 567966 - CDT code clean up: type safety warningsAlexander Fedorov1-13/+14
Generalize the type of elements and resolve type safety warnings Change-Id: Id8e443d0c071bbd5447092099e80574cdf7fd9b3 Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-10-24Bug 567966 - CDT code clean up: type safety warningsAlexander Fedorov1-35/+36
Generalize the type of elements and resolve type safety warnings Change-Id: Ibbbdc26663a7fede9debef3ca5d1c79ca346608c Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-10-12Bug 567810: Squash over zealous warning from PDEJonah Graham2-1/+12
See also Bug 558477 Change-Id: I0765a2a49dc77e2f24af787b0f9a1e0e1e510a30
2020-08-30Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projectsJonah Graham1-0/+2
Includes updates to code cleanliness script Change-Id: Ic495124285e3e002993f34dc12be5ad7337fe13b
2020-08-24Bug 562494: Update BREE to Java 11Jonah Graham3-12/+34
Change-Id: I0c91aafc0cb1b179936acbd4c9df2d961899e3fa
2020-08-18Bug 564123 Treat environment and build variable case sensitivelyjantje2-3/+3
Remove all equalIgnoreCase and equal with uppercasing for environment variables Change-Id: Ic15974b5fb62413c7b1826ced544ff6d4a8eba2f Signed-off-by: jantje <eclipse@baeyens.it>
2020-07-07Bug 564949 - Remove support for CDT 3.X style projects (partial)Marc-Andre Laperle3-16/+60
Remove some Wizard classes that are not referenced anywhere anymore. This commit is just a first of probably several commits but is already a start. I already had very large commits in progress in the past but it became big and hard to push so I'd rather do it step by step this time and at least have some of it done for the next release. Also moved some messages to its own message bundle in managedbuilder.ui because it's the only place they are used now. Change-Id: Ib4258684c91f205dc4af3b17169609b5ebcff253 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-07-04Fixed NLS and null warningsTorbjörn Svensson2-23/+36
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se> Change-Id: I6e40038e99c37a4efc25f64d8d186b00c6f55f8c
2020-06-13Bug 564272: Increment major version of org.eclipse.cdt.core to 7.0.0Jonah Graham1-1/+1
Change-Id: I9124dd406c5981435a72ff4aaa7033f1c3d1979b
2020-06-04Bug 561993 - Remove dependency to com.ibm.icu from CDT UISergei Kovalchuk3-7/+7
Use java.text.MessageFormat instead of com.ibm.icu.text.MessageFormat Change-Id: Ie7ed91d776b707def1bbfc12c24f5e863638e083 Signed-off-by: Sergei Kovalchuk <serjiokov@gmail.com>
2020-05-10Bug 559186 - Allow using variables for the CDB path in CDB settings providerMarc-Andre Laperle3-26/+42
For example, you can use ${ProjDirPath}/buid/compile_commands.json which is a more sharable setting Change-Id: Ic51775ea1f7d258c55e2e720c94f626a17444744 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-04-09Bug 510789 - Added final field to class wizardMarco Stornelli1-2/+2
Change-Id: Ib2f0168b897e665f3577511144692bb446d5ab84
2020-03-02Revert "Bug 560614 - Drop dependency on ICU4J"Jonah Graham3-7/+9
This reverts commit 87b627bf02eaab28cdb64f6ebe203ac64d18fe94. Change-Id: I54ea1ac766437deb174eeba571a7a5094c180828
2020-03-02Bug 560614 - Drop dependency on ICU4JAlexander Kurtakov3-9/+7
Straightforward conversion. Still usages left that need deeper investigation how to be done proper. Some long time commented code removed as java formatter breaks trailing whitespaces on save. Change-Id: If74259bed5735b0d4cc98fc2cfa609c9c53c80c9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-04Move away of the deprecated AbstractUIPlugin.getWorkbenchAlexander Kurtakov1-2/+3
Use PlatformUI.getWorkbench instead. Change-Id: I8c0eb2c4b3b414e61f03fc9d9becd1d574f7e26d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-04Remove unnecessary cast to IToolChain.Alexander Kurtakov2-4/+4
Change-Id: I653c4b3f4389c4ad4add33cf223ff7882d8fb0ac Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-01-03[releng] Update comparator repo for p2 compare and replaceJonah Graham1-1/+1
Change-Id: Iff7e7ba98fe37f89d1b6b0e0754ef827925e849e
2020-01-03Bug 558474 - CleanUp deprecated methods in org.eclipse.cdt.uiSergey Kovalchuk1-14/+12
Reworked SubMonitors (Part2) Fixed percentage counting Removed explicit cancellation checks. Change-Id: Ibd9ef2664885746ab9ac2be556ac5effc994a512 Signed-off-by: Sergey Kovalchuk <sergei.kovalchuk@arsysop.ru>
2019-10-23Bug 548730 - Compilation database (CDB) language settings providerMarc-Andre Laperle5-1/+354
This language settings provider lets you specify the path to the compile_commands.json and reuses existing build output parsers to figure out all the language entries for each file to be used while indexing. With this, there is no need to do a full build and in fact no need to have a working build configured in CDT for indexing to work and be fully configured. This is especially useful for non-CMake build systems that have no existing integration in CDT but indexing would still works with little effort. The build output parser (GCC, MSVC, etc) is selectable as part of the configuration of the CDB provider. There is also an option to exclude any file that is not present in the CDB. This option is useful for large projects in order to speed up indexing but also to increase index accuracy (conflicting symbol names, etc). Change-Id: If21455ec529f9e162cdf3e5aff7a1bca83e362f6 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-08-09Replace ViewerSorter with ViewerComparator.Alexander Kurtakov2-3/+3
Change-Id: I3013723be25fef063f382456166f6e5a622316d3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-07Bug 547894: Fail build if differences before baseline replaceJonah Graham1-2/+2
Also fix version numbers in all bundles who's binary contents have changed despite no change in the source of the bundle. Change-Id: Ic67b79aafa801c7ce96c5e52843ad5c881827d84
2019-03-01Bug 544944: Add a description for new Arduino ProjectJonah Graham2-2/+2
and fix wording of makefile project. These are to take advantage/improve based on new platform feature: https://www.eclipse.org/eclipse/news/4.11/platform.php#onboarding-text which was done in Bug 543746 Change-Id: I4b6c5812adbf0c94e7dd60c80b5150f524e065e5
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-23Bug 540373: Cleanup: Remove trailing whitespace in properties filesJonah Graham2-24/+24
Command used: # Remove space at eol in comments find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} + # Remove space at eol in blank lines find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} + # Replace escaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} + # Replace unescaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} + # Replace escaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} + # Replace unescaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} + # Stage all changes git add -A . # trim any remaining whitespace and then identify and fixup # manually # Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/MessagesForDebugVM.properties # needed this due to missing newline at end of the file find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} + Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
2018-11-22Bug 540373: Remove '(non-Javadoc)' commentsJonah Graham2-12/+0
These were inserted in the past automatically by Eclipse but newer tooling makes them redundant. These were removed by doing a global find/replace on *.java files using the following regular expression: \t/\*\n\t \* \(non-Javadoc\)[^/]*/\n Change-Id: I59d3248020f10934fde1dda5b5a31e20bb188e19
2018-11-22Bug 540373: Cleanup: Remove redundant type argumentsJonah Graham22-88/+88
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Remove redundant type arguments and completing the wizard Change-Id: Iaecc7010f097b4b1fabd29ccaa34ccb23a716fbf
2018-11-22Bug 540373: Cleanup: Organize ImportsJonah Graham6-7/+7
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Organize Imports and completing the wizard Change-Id: Ia7b305a4c967d0e6f4e8fb8c1041e7028b24006c
2018-11-22Bug 540373: Cleanup: Format & Remove trailing whitespaceJonah Graham82-3702/+3936
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-20/+308
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 Graham91-288/+566
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-20Bug 540373: Normalize newlines with .gitattributesJonah Graham2-156/+156
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-10-09Bug 539882: Applicability calculator should be called with option categoryTorbjörn Svensson1-1/+1
In some situations, it's convenient to create option categories on the abstract tool and use an option applicability calculator to hide the option category if no option is added to the category in an extending instance of the tool. To make the decision, the calculator needs to know what category is to be checked. Change-Id: Id4a269ee583f1f3dee88dee797ba89a0e92d1a42 Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2018-04-12Bug 533473 - Dynamically hide option categoriesTorbjörn Svensson1-2/+6
Allow applicabilityCalculator to hide optionCategory items that are located on the toolchain. Show in the schema that applicabilityCalculator is a valid attribute for optionCategory. Change-Id: I6adb22b0af2a2c7fe45ea142049fcc2687d105b9 Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2018-02-09Bug 530941 - Ignore editor file unless editor is activeWilliam Riley1-4/+22
Change-Id: Ie755f80cc01f55c0d4b9b704ff40008b8bb841af Signed-off-by: William Riley <william.riley@renesas.com>
2018-02-08Remove useless imports.Alexander Kurtakov2-4/+2
Change-Id: Ie59d3942ea1df97440bd84e46a24753ed6ed429b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-03-27Bug 514244: ability to add custom wizard page prior project creation onecartu38 opendev2-11/+38
See : https://www.eclipse.org/forums/index.php/t/1084842/ Original (WizardNewProjectCreationPage) getStartingPage() cast within getMainPageData() method was obviously forcing first wizard page type ... provided basic trick is opening some opportunities more ! Change-Id: Ie9b7c4ef63040df6a419af8348f088be79cc2611 Signed-off-by: cartu38 opendev <cartu38.opendev@gmail.com>
2017-02-13releng: 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-11-15Update version to 9.3.0Marc Khouzam1-1/+1
Change-Id: Ic953ccc5d38ff3661ca44de21ed8c4b7dad5b246
2016-11-14Update version to 9.2.0Marc Khouzam1-1/+1
Change-Id: I36ad4218b20b8ea70584c89f5be45c757bf4c714
2016-10-06Generification and other code cleanup.Sergey Prigogin1-5/+2
Change-Id: Ifb35a80ec8cf563c5635078db947768d1a7aa6ff
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-30Remove old .cvsignore filesMarc Khouzam1-1/+0
Change-Id: Ia66de47055a15d94c0aa45d1198f0a9e78d82ad0

Back to the top