Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-05-19Bug 573619: Preserve UI settings in Build Targets (Make) viewJonah Graham1-0/+192
This includes saving: - selection in tree - expansion in tree - scroll position Change-Id: I835d8fabab4f56b01fb0858e92ae63f9e82c9c85
2021-05-19Bug 338776: Add working set support to Build Targets (Make) viewJonah Graham2-2/+146
Change-Id: I3accec157248c474c87d22699c151e4a64ae6f5b
2020-11-18No need to dispose colors anymore.Alexander Kurtakov3-26/+7
Change-Id: I39e760a0dba9d220268ee738c8a085d14f0e188b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-08-31Bug 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-10/+32
Change-Id: I0c91aafc0cb1b179936acbd4c9df2d961899e3fa
2020-07-08Bug 564949 - Remove support for CDT 3.X style projects (partial)Marc-Andre Laperle9-613/+1
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-06-17Bug 562003 - Remove dependency to com.ibm.icu from CDT Make UISergei Kovalchuk8-22/+22
The dependency was removed.The Copyright head was updated. Change-Id: I82e4289fc8cb14e8488b847e8efa415dd1d77b6c Signed-off-by: Sergei Kovalchuk <serjiokov@gmail.com>
2020-06-13Bug 564272: Increment major version of org.eclipse.cdt.core to 7.0.0Jonah Graham1-1/+1
Change-Id: I9124dd406c5981435a72ff4aaa7033f1c3d1979b
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 Graham8-15/+36
This reverts commit 87b627bf02eaab28cdb64f6ebe203ac64d18fe94. Change-Id: I54ea1ac766437deb174eeba571a7a5094c180828
2020-03-02Bug 560614 - Drop dependency on ICU4JAlexander Kurtakov8-36/+15
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 Kurtakov4-6/+7
Use PlatformUI.getWorkbench instead. Change-Id: I8c0eb2c4b3b414e61f03fc9d9becd1d574f7e26d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-28[releng] Cleanup code that has been misformatted and update to SDK 4.13Jonah Graham1-1/+1
The check-code-cleanliness CI jobs have not been running recently, so this commit is to the code up to those minor changes Change-Id: I9fb4b0213dec558f58c5ca718b3d2685564ef456
2019-10-17[releng] Update comparator repo to last releaseJonah Graham1-1/+1
Change-Id: I00901808f1eda041f070b2f3e1cda076987c69a5
2019-10-10Migrate to ViewerComparator.Alexander Kurtakov2-51/+4
Change-Id: I5b70806ca7376797e387164158a0c41d52b59cb5 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-12Convert new Runnable to lambda.Alexander Kurtakov7-147/+80
Take 2. Change-Id: I060b0e41d8c6058db0c2ba88af8454b5517105b8 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-09Replace ViewerSorter with ViewerComparator.Alexander Kurtakov2-3/+3
Change-Id: I3013723be25fef063f382456166f6e5a622316d3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-11-29Bug 541709 Fix up exceptions when we can't find toolchains.Doug Schaefer1-0/+3
We weren't checking the case where the size of the toolchains array was zero. Return a null config in that case and fix up the CommonBuildTab to deal with that. Change-Id: Ibd8f659988f1463570bdb2654d6ea2b4a45866c2
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-11/+11
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 Graham6-60/+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 Graham28-65/+65
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 Graham11-15/+13
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 Graham116-3316/+3381
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 Graham138-431/+854
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-20Bug 540373: Normalize newlines with .gitattributesJonah Graham4-320/+320
There is also a new script to verify completeness of .gitattributes: releng/scripts/verify_gitattributes.sh Change-Id: I2ce270852ab54b66b6c474a6ec94203fe5bba78b
2018-11-02Remove NewMakeProjectPreferencePage (unused)Marc-Andre Laperle2-126/+0
It is not used anywhere and it's internal. Change-Id: I4e157ec7fd1184118aea8f6bef35a850dfeb0945 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
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-08-14Bug 537924: Unable to build javadoc maven targetHansruedi Patzen1-1/+1
Turns off doclint for Java 1.8 and greater because the javadocs are incomplete and won't build otherwise. Some files also had encoding issues with some characters which caused the javadoc build to fail, these characters have been replaced. Change-Id: I04690644bec6d7c3219cb0438cb3db6593fefd3a Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2018-07-18Bug 537139 - Checkbox label should not end with a dotMichael Keppler1-2/+2
Remove the dot from the checkbox label. Change-Id: Ic224f7e14bbd82cbeb734edd639db84063b6c5a2 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2017-11-27Stop launch on error. Fix up set/get make commands.Doug Schaefer3-7/+39
We were missing the dialog to ask if you wanted to continue after build errors in a project. We were missing the method that provided the list of projects to do that check. Also while testing that noticed the handling of the build and clean command UI was broken with make projects. Change-Id: I698e151672a114bb22c815f49d362b6413b9c315
2017-11-27Bug 527818 - Clean up handling of missing toolchain fileDoug Schaefer1-1/+1
If we're building for non-local targets we need a toolchain file. Print out an error message when it's missing at build time. Recover when one is added. Also a rider that makes sure the Makefile projects are marked experimental. Change-Id: I0c295dc5b3d71a04c60c3385ce790553f172859d
2017-11-22Hook up the old Include Paths and Symbols page to Makefile projs.Doug Schaefer1-2/+2
Makefile projects depend on build output parsing to pick up compiler options to use while indexing. Sometimes, that just doesn't work. As a back up we've always allowed users to manually add them to the project. Long ago when we had pure make projects we had UI for this. This change hooks that old UI up. It was a time before build configs so they get applied to them all but it serves it's role as a backup when users run into problems. Unmarked everything I use here from deprecated until we decide how to replace these with Core build config aware settings. Change-Id: I6fc4d48e5315df3c60c7591b026ae0a53a1f505e
2017-11-10Fixes for scanner info for Makefile projects.Doug Schaefer1-6/+67
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-10Add settings to Makefile build configs to build at project root.Doug Schaefer3-1/+158
Often Makefile projects are intended to be built from the project root directory, such as ESP32 IDF projects. This adds a setting to control that. Change-Id: I151ebf60a7609461d24e192a9d6418fccb737055
2017-11-08Add Makefile Projects to collection of core build project types.Doug Schaefer4-1/+103
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-08-02Bug 520360 - First created target does not appear in BuildTargetDialogPhilippe NOEL1-13/+15
Change-Id: Ief40f2ee09d3714c65526086db993f6c630dda81 Signed-off-by: Philippe NOEL <philippe.noel@st.com>
2017-03-23Generify ListenerList.Alexander Kurtakov1-5/+4
Generified, some lamnda conversions and some non-javadoc removal. Change-Id: Ibf0493917ac3da7531de1ca591a9bfdc250ddf2a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
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-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-26Bug 501763: NPE in MakeTargetActionProviderAndrew Gvozdev1-7/+9
Change-Id: I998f118b1624df2ea3caa2295297261f21b02dda
2016-08-17Update version to 9.1.0Marc Khouzam1-1/+1
This commit used the script releng/scripts/ChangeFeaturesVersion.sh Change-Id: I8274a6e8dd5c0f1e450f07952e138b265a441a62
2016-08-16Bug 323848 - Add Build (was Make) Targets to the Project NavigatorDoug Schaefer12-47/+457
Change-Id: Ia1da4a5e57a7a19732deaf0fa384702139220432
2016-06-30Remove old .cvsignore filesMarc Khouzam1-1/+0
Change-Id: Ia66de47055a15d94c0aa45d1198f0a9e78d82ad0
2016-06-22Move the rest of the CDT plugins to java 8Marc Khouzam3-5/+5
This change was generated using the script: releng/scripts/ChangeJavaVersion.sh Change-Id: I2ad96dc682a5acb8529c3edec40de279c331b5a4
2016-04-21Bug 492200 - Replace StringBuffer with StringBuilderAlex Blewitt7-16/+16
There are many opportunities for replacing `StringBuffer` with `StringBuilder` provided that the type isn't visible from the public API and is used only in internal methods. Replace these where appropriate. Change-Id: I769ceb6eaee18d183fb0e00fa0d730651f8a7edb Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-19Bug 491984 - Replace .equals("") with .isEmpty()Alex Blewitt3-11/+11
In many cases a String's empty status is tested with `.equals("")`. However, Java 1.6 added `.isEmpty()` which can be more efficient since it compares the internal length parameter only for testing. Replace code using the `.isEmpty()` variant instead. Some tests for `"".equals(expr)` can be replaced with `expr.isEmpty()` where it is already known that the `expr` is not null; however, these have to be reviewed on a case-by-case basis. Change-Id: I3c6af4d8b7638e757435914ac76cb3a67899a5fd Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>

Back to the top