Skip to main content
path: root/core
AgeCommit message (Collapse)AuthorFilesLines
2018-11-23Bug 540373: Cleanup: Remove trailing whitespace in properties filesJonah Graham34-173/+173
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/ # 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 Graham65-828/+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 semicolonsJonah Graham2-2/+2
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: Remove redundant type argumentsJonah Graham706-2003/+2003
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: Remove unnecessary castsJonah Graham8-10/+10
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Remove unnecessary casts and completing the wizard Change-Id: I287d4066b12fc19d7f73a016e11c9405abb4ceb9
2018-11-22Bug 540373: Cleanup: Add missing annotationsJonah Graham12-0/+16
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: Organize ImportsJonah Graham1338-8197/+6278
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 Graham4018-174642/+177370
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 Graham70-100/+9711
The releng/scripts/ was run to copy standard settings to all other projects. Change-Id: I4436c947d7f0142f56b709e661379c3eb54f666b
2018-11-22Bug 540373: Standard .settings for JDT/PDEJonah Graham5-15/+291
This commit contains the formatter settings and compiler settings, using org.eclipse.cdt.core as the master for .settings and a script to copy them to all the other projects with Change-Id: Ifd1a45879bed716273cae0ea05b55f629210c36e
2018-11-22Bug 540373: Fix tests that rely on format of Java codeJonah Graham1-2/+2
TestSourceReader.getContentsForTest() does not examine lines containing @ to see if they have the test method. This means that changing the formatting of this test could break it as the reader would see the // comments as test data. Things which are comments and not test data should have /**/ comments as this commit now does. Change-Id: Ic30a63df3910c6a5643b4ac734c05526e3420095
2018-11-22Bug 540373: Fix tests that rely on whitespace at end of lineJonah Graham4-9/+13
Change-Id: I2aa5d28e5fbd9ba1f12f6ec275ea1474730efe46
2018-11-22Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.shJonah Graham4607-14092/+27962
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-22Bug 540371: normalize files before applying EPLv2Jonah Graham3-11/+14
Change-Id: I8bfd427bba1df18579d6d5e58ad1e5d704485050
2018-11-20Bug 540373: Normalize newlines with .gitattributesJonah Graham172-14217/+14217
There is also a new script to verify completeness of .gitattributes: releng/scripts/ Change-Id: I2ce270852ab54b66b6c474a6ec94203fe5bba78b
2018-11-17Bug 536448: Require target platform bundles as minimum versionJonah Graham2-30/+30
Without setting dependent plug-ins to minimum version to match the target platform we are aiming for we can imply (and therefore let install) CDT into older versions of Eclipse where CDT does not actually work. This can be exposed in very odd ways, such as IllegalAccessError, when platform has allowed API changes. However, rather than update every single bundle in CDT, only the o.e.cdt.core/ui bundles are being updated as this should achieve the desired result without every other bundle needing to be touched. Change-Id: Idf166bc4f4a39ad5096386e24cbff234c0238900
2018-11-17Bug 541270: Fix Restore Defaults for Console PrefsJonah Graham3-19/+22
Bug 414525 was trying to workaround Bug 270326/320723 but did not handle the case that no plugin_customization.ini was provided. This fix make Restore Defaults for Preferences -> C/C++ -> Build -> Console work again. Change-Id: Idbacc2a0baece6c3f594cfac4a2eeece886bac80
2018-11-17Bug 407405: Limit wrapping in Build ConsoleJonah Graham5-7/+121
If the build console is too long word wrapping is very slow. The underlying issue is Bug 168557, this is just a workaround so users don't fall down this particular rabbit hole. Change-Id: I1be3540003d475e2d5431295219198ae2db7862f
2018-11-17Bug 540957 - Implement equivalence checking for expressionsNathan Ridge31-2/+372
This is used for declaration matching in function templates. Change-Id: I80044304b2d9dfda085a13f0cfc040f1200a2e1c
2018-11-15Bug 540909 - underlying_type of typedef to enumNathan Ridge2-1/+21
Change-Id: Ic4f48c4da79419d5404e132da2944ee2823ca41f
2018-11-13Bug 512297 - Improve propagation of semantic problem IDsNathan Ridge1-1/+8
Change-Id: I3c95a244e88abe37f550370ff6c7c9aec2c102da
2018-11-06Bug 540676 - Improve parsing of alias templatesHannes Vogt2-3/+49
- If the argument for a template template paramter is unknown (ICPPUnknownType), don't create a problem. - Ensure that a possible argument-parameter mismatch is caught at template instantiation time. Change-Id: Ief61ef93f9d0c19d043aedb89f1c5e66c0374ef2 Signed-off-by: Hannes Vogt <>
2018-11-02Bug 540450 - Fix @since versionHannes Vogt2-2/+2
Change-Id: I5c31d97dbbd277a87147cb05d0245ce0953189bb Signed-off-by: Hannes Vogt <>
2018-10-31Bug 540450 - Parsing dependent template nameHannes Vogt6-5/+97
Parse dependent template names as type. Change-Id: I35461b2e4a615f34749e6ff17b2a85406ec2cf12 Signed-off-by: Hannes Vogt <>
2018-10-30Bug 540610 - Add Automatic-Module-Name headerKarsten Thoms8-0/+8
Change-Id: Ia990b24469751050dd9ec8f9b5550804816308b3 Signed-off-by: Karsten Thoms <>
2018-10-29Bug 540257 - "Align Const" save action causes NPE when saving Assembler filesMarc-Andre Laperle4-3/+67
Change-Id: Ie3a086ddc7bc79eaef259a570327408e098bef51 Signed-off-by: Marc-Andre Laperle <>
2018-10-29Bug 540538 - Pack size for CPPTemplateParameterHannes Vogt2-1/+19
Change-Id: Ie67f27711ca658e9b4b3526c5c3c28541dcd3a15 Signed-off-by: Hannes Vogt <>
2018-10-28Bug 540159 - ClassCastException in ExecDeclarator.unmarshal()Nathan Ridge1-2/+10
Change-Id: Ia51244b558798c052f1ec7a6918c6f85a6509655
2018-10-28Bug 540112 - Perform C++14 return type deduction in ReturnCheckerNathan Ridge2-10/+29
As part of this change, ReturnChecker was refactored to compute the return type as an IType, which allowed for removal of some logic in ReturnChecker which duplicated CPPVisitor's type resolution work. Change-Id: I9cd8512164d650a5ee11d2e58fdae477e3c428a2
2018-10-23Bug 540367 - Increment version numbersWilliam Riley21-29/+29
Change-Id: I4a355170a7075f0a98ba3c1a5131c235c89b07d2
2018-10-22Bug 529656 - Error if docker build failedHannes Vogt2-0/+5
If the build command in a container build terminates with non zero exit code (e.g. make command not found) an error is displayed. Change-Id: Ib6349aa6c22c1a3bb9c0d2920110bc69773f8da1 Signed-off-by: Hannes Vogt <>
2018-10-22Bug 534423 - Sort configurations in the Exclude from build dialogChristian Walther1-1/+5
Sort the configuration list in the same order as used by the project property pages (case-insensitive nonlocalized), almost the same order as used in the Project > Build Configurations > Set Active menu (case-sensitive nonlocalized), not in the internal order coming from the .cproject file. Change-Id: Ia05bd163043f762dd96da4c69d409ecee9accb8c Signed-off-by: Christian Walther <>
2018-10-12Bug 540085 - Deadlock in ToolChainManager initJeff Johnston1-1/+1
- modify ContainerGCCToolChainProvider.init so that the CBuildConfigurationManager.recheckConfigs() call is done within a separate job so the init() call will return without causing deadlock - do the same for ContainerTargetTypeProvider - modify CBuildConfigurationManager initProviders() method to be synchronized Change-Id: I4ca9371fb340887233872b6d315621a24450fb2b
2018-10-11Bug 538069 - Save non-type template parameter...Hannes Vogt2-0/+15
... of template template parameter in index. Fixes false positive "Invalid template arguments". Change-Id: I82cd9aece8f03142cbdcf5d1058113684c29d6fe Signed-off-by: Hannes Vogt <>
2018-10-06Bug 486036 - Toggle Function Definition does not work when comment is involvedMarc-Andre Laperle2-0/+22
Change-Id: I77a2c2fe0607ce098da4a4e7679fc3999ea7ebbf Signed-off-by: Marc-Andre Laperle <>
2018-10-04Bug 536201 Add a highlighting for enum classesBassem Girgis6-22/+117
Change-Id: I6b16efbbb268f9fdc4a884e96c30192dd64c5db1 Signed-off-by: Bassem Girgis <>
2018-10-02Bug 518271 - NPE when using Toggle function on a function containing a ↵Marc-Andre Laperle2-0/+25
lambda expression Change-Id: I441a627b0759655e865724bf5110fdb7dd8d5a50 Signed-off-by: Marc-Andre Laperle <>
2018-10-02Bug 539535: Disable default UDL highlightingHansruedi Patzen5-18/+65
Checking every UDL as a default turned out to be more resource intensive than expected. It further is only really needed if the special operator""if is used. This patch disables this highlighting per default and creates a new highlighting preference entry to allow users change UDL colors independently. Change-Id: I83bdb69e70546d1e618b5c7c947777da579c8847 Signed-off-by: Hansruedi Patzen <>
2018-09-30Bug 539535 - Refactor CPPSemantics.findOverloadedOperator() so that if ↵Nathan Ridge1-23/+40
something goes wrong during one of the member or non-member lookups, the other is still performed Change-Id: I34c1321a0aa943ee82d1e6c45cf33d97e2f5b5ca
2018-09-30Bug 539535 - Originate an accurate lookup point in ↵Nathan Ridge2-33/+54
CPPASTFieldReference.createEvaluation() Change-Id: I8030d5b304a61d7235a8ca92cf99de2d9a9aff68
2018-09-27Bug 512822: "Launch failed. Binary not found" even after buildingHansruedi Patzen39-59/+1210
Builds upon but also uses the hints to only read the file if necessary. I further reverted some of the changes done with the patch for 'Bug 510987 - Properly support PIE executables as build output' since the binary will now be seen as an executable anyway. Change-Id: I075fef67f3b101ddbc64786dcbc2ca41cc114e25 Signed-off-by: Hansruedi Patzen <>
2018-09-26Bug 518273 - Toggle function should remove the override keyword when moving ↵Marc-Andre Laperle4-7/+92
out of class Change-Id: I7ad80262c7f9b98d3ae9b23ae2b45bf0c94ccf99 Signed-off-by: Marc-Andre Laperle <>
2018-09-26Bug 525705 - Fix Spawner.waitFor(pid) returning prematurelyChristian Walther3-3/+3
On Windows XP, waitFor(pid) would return -1 immediately instead of waiting for the process to exit. This caused starting a debug session to be stuck at "Initializing debugger services 62%" because the GDB it was trying to talk to was terminated immediately after being started. Binaries built with MSVC10 tools and `nmake /f /NOLOGO spawner`. Change-Id: I532f63c7a5facdf867ed94945b0cd26b4177c3bd Signed-off-by: Christian Walther <>
2018-09-24Bug 538615 - GNU-style attribute preceding standard attribute specifierNathan Ridge2-1/+8
Change-Id: I8f736ab354b07fb14cba35dec10c8b6d96917d70
2018-09-24Bug 539076 - Substitution of alias template for template template parameterNathan Ridge2-3/+29
Change-Id: Ide5a6858560b0aae1efd391215bc229bef5421e7
2018-09-18Bug 539052 - Add support for __is_constructible type trait intrinsicNathan Ridge11-9/+53
Change-Id: I582881808e19342bf55d62d6002365c3733ebf31
2018-09-17Bug 510152: ParserException in ASTAmbiguousNode.logAmbiguousNodeErrorHansruedi Patzen1-1/+2
If the fOperand of an CPPASTUnaryExpression is an ASTAmbiguousNode the fOperand.getEvaluation() call will always fail and log an error. Change-Id: Ie17c2685636e8956bf4724c206092cf0370ff5d9 Signed-off-by: Hansruedi Patzen <>
2018-09-12Bug 536884 - Removing header cache should cause ScannerInfo refreshJeff Johnston1-3/+0
- don't reset setting in shutdown() method as this clears the property prematurely for meson and cmake projects Change-Id: I2dd2467427d00aeade335319ec2ceec9f6d7168d
2018-09-10Bug 538517 - Proper handling of range-for with temporary as range expressionNathan Ridge2-1/+43
Change-Id: I41c0ab58810c656d2ed89c9f5110ebc559e29575
2018-09-10Bug 538509 - Ensure a lookup point is always set during semantic highlightingNathan Ridge1-1/+6
Change-Id: I121a07c8ef6bf9230e5447e266f5304b598f1a83

Back to the top