Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-05-31[releng] bump version numbers according to version number guidelinesJonah Graham1-1/+1
See https://wiki.eclipse.org/CDT/policy#Version_Numbering Change-Id: I54004437fa7a52b7c2b341fa9cb2d0683daf8962
2019-04-03Bug 545819 - Meson properties dialog doesn't work with meson 0.50.1Jeff Johnston2-2/+3
- fix meson properties page to use meson setup -h - reenable meson ui tests - fix CMake New Project test to wait for shell open/closes - fix regression in EvalUnaryTypeID that is made visible by CMake New project test Change-Id: Id64d4df6d9764d0c84553b5c4f73fa44149bda19
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 Graham3-4/+4
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: Cleanup: Remove redundant semicolonsJonah Graham1-1/+1
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Remove redundant semicolons and completing the wizard Change-Id: I3d3175cfdfadec4f815c551d486e42c9f57b80ce
2018-11-22Bug 540373: Cleanup: Organize ImportsJonah Graham1-1/+1
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 Graham23-161/+161
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-24/+698
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 Graham28-103/+194
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-10-29Bug 540523 - NullPointerException in MesonPropertyPage.performOk methodJeff Johnston1-8/+10
- add check that buildConfig field has been set before performing any activities on it Change-Id: If3ab7a0b20b54a9c16b26902c06b615e4c514ffa (cherry picked from commit 903109039312886e637a4599a67ffec3298ef64a)
2018-10-23Bug 540367 - Increment version numbersWilliam Riley1-1/+1
Change-Id: I4a355170a7075f0a98ba3c1a5131c235c89b07d2
2018-08-02Bug 537632 - Meson Property Pages missing some fields after configureJeff Johnston1-104/+136
- fix MesonPropertyPage logic concerning a configured meson project - for possible values, add "-" and "/" as valid characters - in state flow, don't just wait for blank lines, an option header can occur in the middle of a group or a new option group name can also occur Change-Id: I2c6c8f9fb15db0425f03e422b20b58ace5234fd4
2018-08-01Bug 537118 - CMake and Meson integration now working on Windows.François Godin1-10/+4
- The commands are launched directly instead of using the shell (/bin/sh) which is not available on Windows. Change-Id: I5f8d99a04da1c860bcd37d138103a1bd4e501547 Signed-off-by: François Godin <copelnug@gmail.com>
2018-03-27Add a new Meson property page testJeff Johnston1-2/+1
- add NewMesonConfigureTest.java - fix extraneous "meson" string in console output when performing a meson configure - add new test to AutomatedIntegrationSuite for Meson UI test plug-in Change-Id: Ic10520a0d420d380df95117b69200409a48226b3
2018-03-27Bug 532967 - Meson config properties not being saved/restored properlyJeff Johnston2-10/+14
- change splitting logic in MesonPropertyPage to split the arg string using -- which precedes args and to perform trim() operation to remove spaces between - don't process an empty arg after splitting - fix the boolean arg logic to use parseBoolean instead of getBoolean which is only for system properties Change-Id: I390911bbf9d7f63f0cf6a13278f3644fe175847b
2018-03-09Sonar fixes in Meson plugins.Alexander Kurtakov6-31/+24
Change-Id: I27a75d6dac41ae820d6af0b7c30922eb5bac58f7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-03-09Use lamdbas.Alexander Kurtakov2-31/+18
Change-Id: Iece00d9c1af64bb0218a41519e995d33d8edee31 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-03-06Bug 531985 - Support Container build with new Core BuildJeff Johnston3-23/+88
- add support for Container build to Meson - add fixes to MesonBuildConfiguration clean build to use sh -c like normal meson build - add new refreshScannerInfo method to MesonBuildConfiguration to re-process the commands json file so indexing will correctly switch from local to Container build and vice-versa - add MESON_PROJECT_ARGUMENTS to IMesonConstants - in MesonBuildConfigurationProvider getCBuildConfiguration method, remove checks for toolChainfile and for Container build, name the configuration based on the image name Change-Id: Ia8a85c05e0cb9d46d2987ed4d39fcee914302467
2018-02-20Bug 530000 - Add Meson Build supportJeff Johnston1-12/+12
- use sh -c to invoke meson and ninja commands so that the default environment including PATH is set up - don't bother trying to find the commands locally and don't bother trying to find local environment (only use env options from property page or run ninja command) - add a check after running meson to ensure that ninja.build file gets created, otherwise issue error message and stop build - fix comments for RunNinjaPage - add future Container support by allowing a special target OS when checking for isLocal build Change-Id: Ie8d736c0909b44fe8db14265afbc8b05262b51f3
2018-02-20Bug 531360 - Run ninja menu item is showing up in Docker viewsJeff Johnston1-7/+24
- fix visibleWhen attribute of menuContribution - also fix some warnings due to command not being set up properly Change-Id: I8b5239b1edcd5da20201e71d23dce3bfb18c6d0c
2018-02-14Apply CMake changes from Bug 530673 to MesonJeff Johnston2-12/+13
- Fix issue with Meson and changing toolchains since Meson is based on CMake plug-ins - Cleaned up add and remove of toolchain files and handling of when a toolchain changes for a config Change-Id: I147a30454c69e3d8d86fc50c561a1667ddfb5df3
2018-02-08meson: Enable warningsAlexander Kurtakov7-7/+149
And fix them. Change-Id: I6a1594559504764aeb325f78fa47ff103b2183a9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-08Add Run ninja command context menu item for Meson projectsJeff Johnston9-0/+718
- add new RunNinjaCommandHandler, RunNinja, AbstractMesonCommandHandler, and RunNinjaPage classes to support running ninja manually with env variables added and options specified - add a new build method to MesonBuildConfiguration which specifies ninja options and environment variables - add SWTImagesFactory for supplying the meson logo image - add WizardMessages class for specifying messages for meson ui wizards - add new MesonUtils class and move stripEnvVars from MesonBuildConfiguration to here - add new constants to IMesonConstants interface Change-Id: I8d635b2bd96792800bb07f4b3f1730be6e41eb24
2018-01-31Bug 530000 - Add Meson Build supportJeff Johnston4-121/+159
- rewrite unconfigure Meson Property page logic to parse the output of meson --help and form the controls accordingly - do not add an entry for help option - add environment variable text entry to unconfigured property page to allow the user to add things such as CFLAGS=xxxxx - fix MesonBuildConfiguration to only use the MESON_ENV property when running meson for the first time and to prepend the current environment first to ensure local path, etc.. is still set, otherwise it won't be able to find commands it needs such as execvp - parse the environment text string to look for entries that use single or double quotes so that entries may use the = sign or spaces - when building, have ninja use the -v option so that the compile and link commands are output to the console Change-Id: I40d04234a7de74417c43f4c39bb2e21c86deb8a2
2018-01-30Bug 530000 - Add Meson Build supportJeff Johnston28-0/+1988
- initial contribution of Meson Build support based upon Core Build CMake Change-Id: I9a91901254b7750f4f5eef69ed5375a5c1cce0a4

    Back to the top