Skip to main content
summaryrefslogtreecommitdiffstats
path: root/core
AgeCommit message (Collapse)AuthorFilesLines
2019-02-19Bug 543038 - Implement brace elision for aggregate initializationHannes Vogt5-114/+347
Change-Id: I72e92c8c196bf201c8edfde64598a7318d2fdfeb Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-02-19Bug 496249: Tags for disabling/enabling CDT code formatterMarco Stornelli11-7/+484
Change-Id: I4389c61612da6a4ee0011a49d6aeed7b52152436 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-02-17Bug 544516: Format edited lines as save actionMarco Stornelli1-1/+1
Change-Id: I988eb34c433aa121ce2afb1da51984ab4fb24b09 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-02-02Bug 543819 - NPE in EvalFunctionSet.isEquivalentTo()Nathan Ridge1-0/+3
Change-Id: I4f443f95c1a9bff7150abec323ab8afc576d5f00
2019-02-01Bug 543913 - False negative in ctor with wrong argumentsHannes Vogt4-1/+71
Change-Id: I3a9c692383c5c9d8c465d9ecbc66463b39d5199d Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-01-04Bug 540978: Rename identifiers and some other places to o.e.cdt.lspJonah Graham1-2/+2
Change-Id: I6edbbb2cf103010bbc67ea0140bfec694652a685
2018-12-22[releng] increment service segment by 100Jonah Graham1-1/+1
Following https://wiki.eclipse.org/Version_Numbering#When_to_change_the_service_segment Change-Id: I57f2b230e2190fc81cbdff5284f7b5e07db865d9
2018-12-21Fix warnings about non-vararg override for vararg method.Alexander Kurtakov2-2/+2
Change-Id: I8b4aadf9e1357e1a0203c92bba9e4495f668e787 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-20[releng] Bump version numbers for plug-ins changed since branch pointJonah Graham3-3/+3
Following https://wiki.eclipse.org/Version_Numbering#When_to_change_the_service_segment Change-Id: I019f2f6bcf11e5e4fb17960dc28a1fb2fac6ace0
2018-12-15Bug 542448 - Return ProblemBindings in list initializationHannes Vogt3-5/+73
- Return ProblemBinding if conversion from init list failed - In conversion: don't allow implicit conversion with explicit ctor Change-Id: I3145b89df778a035ced9999aff4d8a4164eac17f Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-12-11Bug 542676 - Headless build missing some console outputChristian Walther1-0/+10
The ConsoleOutputStream method added in 6e1b9b4 must be overridden here, otherwise text sent to it does not appear along with the other console output. Change-Id: I1a3803ffb8962140537b877f0df328a4037b4dfb Signed-off-by: Christian Walther <walther@indel.ch>
2018-12-10[releng] Bump version to 9.7.0Jonah Graham13-13/+13
Change-Id: Icaa0b6acf73e3a19e0d102fa8ae784e631d8743a
2018-12-10Bug 335344 - External settings lost after changing language IDs, take 2Christian Walther4-26/+113
The original fix (a733900) only fixed part of the problem: It worked for the case where a complete CExternalSetting was removed and replaced by a different one, but not in the case where individual entries from a CExternalSetting were moved to a different one, but others remained (and, in both cases, the two CExternalSettings applied to the same ICLanguageSetting). This commit - adds a test for the additional condition, which would previously fail - reverts the previous fix, which is made redundant by the new one - fixes both cases by applying removals before additions with ICSettingEntry granularity per ICLanguageSetting rather than for whole CExternalSettings. Change-Id: I1b1ee7443b83189c29e458eef12be9cad6b3965d Signed-off-by: Christian Walther <walther@indel.ch>
2018-12-08Bug 541717 - Partial ordering and DR1395Hannes Vogt2-23/+100
- As of [temp.func.order] p5 only parameters for which there are explicit arguments should be considered. - Implement [temp.deduct.partial] p11 (resolution of DR1395). Change-Id: I56262229a6fe4717c22aac814aa9ea42eb37a10d Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-12-05Bug 541549 - Pack expansion expression in type of alias templateNathan Ridge4-3/+38
Alias templates can be instantiated with dependent arguments, which can themselves contain a pack expansion, so we need to take care that pack expansion expressions are instantiated correctly. This was previously fixed for pack expansions of types and template arguments in bug 486971. The patch also fixes a bug in CPPTypedef.getType() where alias declarations weren't handled correctly. (This bug would only occur during debugging as normally the type would be computed via setType(). Change-Id: Ie70a923fc9dd0f177b7bfb429b8f1387966b416d
2018-12-05Bug 541584 - Support alias templates in Open ElementNathan Ridge1-2/+3
Change-Id: I43565b165bd98112ef63e01bc2576a93855f8891
2018-12-04Remove a few internal, deprecated methodsMarc-Andre Laperle1-7/+0
Change-Id: I073f7770a594ec226f7adf5d5022960a298608c7 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-12-02Remove WorkingCopyInfo class (internal, unused and deprecated)Marc-Andre Laperle1-26/+0
Change-Id: If883af97139c4b00f93a99c76a8fdd6e6cb0ec59 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-12-01Rename instantiateCommaSeparatedSubexpressions() to instantiateExpressions()Nathan Ridge4-12/+12
instantiateCommaSeparatedSubexpressions() is a clunky name, and in C++17 (with fold expressions) the function will no longer be limited to comma- separated expressions. Change-Id: Id242f58bb291e79cefe2b28db12dbde4bafba4ed
2018-11-29Bug 541474 - Disambiguate function with default argumentHannes Vogt5-18/+95
Take number of explicitly passed arguments into account. Change-Id: If85f072d8b18f3fd1ca28f3c5688e864b0ffb4cd Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-11-29Bug 541670 - constexpr implies toplevel constNathan Ridge3-2/+17
Change-Id: I318a9293d12eeecb7f49bfba1acb849109fab666
2018-11-29Bug 540758 - Substitution of enclosing template parameters into expansion ↵Nathan Ridge3-3/+41
pattern Change-Id: Ib31db579c7d5a9be2f64fe992abac48c0e2b136a
2018-11-27Bug 540741 - Parameter pack in argument of alias template instance that's ↵Nathan Ridge2-0/+29
not present in the target type Change-Id: Ic5a5d0b25d88bac4074cb78aec17a1311a51d75d
2018-11-26Remove temporary statement added for debuggingNathan Ridge1-3/+0
Change-Id: Ib09141c840eb18cccfcbcf497597e22f3fcd4e02
2018-11-24Bug 540991 - Handle ICPPASTTypeTransformationSpecifier in CModelBuilder2Nathan Ridge2-0/+17
Change-Id: Ie87c89388d052cdaffb80163af666c3910da3b4a
2018-11-24Bug 540549 - Have all template parameter bindings implement ICPPUnknownBindingNathan Ridge17-36/+82
Change-Id: If09679f2d56c987175a8d85514da37840ac71205
2018-11-24Remove unnecessary cast to ASTCompletionNode in DOMCompletionProposalComputerNathan Ridge1-2/+1
Change-Id: Ib0b631d6d679da77660b9a8797c042bb7ef8ede1
2018-11-24Bug 541118 - NPE in AbstractIndexerTask.getOffsetNathan Ridge1-1/+4
Change-Id: I7ce30369abfb31dbdcc87e4fe9d36ea35e48ad79
2018-11-24Bug 540373: Cleanup warnings in testsJonah Graham6-29/+19
- Remove redundant super-interfaces - Remove redundant null checks - Remove redundant instanceof checks Change-Id: I3e8adba818b58f8ae5b43682ace74812db5b9bb4
2018-11-24Bug 540373: Update the compiler warnings/ignoresJonah Graham17-41/+41
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-24Bug 541117 - NPE in CElementHyperlinkDetector.isLanguageKeywordNathan Ridge1-6/+8
Change-Id: I4bd2155de5aa7a09cb9e68f57e1168bdaab76401
2018-11-23Bug 541116 - fix whitespaceJonah Graham1-1/+1
Change-Id: I8c345f0f4a531ecef78955512de488386c22fc7d
2018-11-23Bug 541116 - NPE in IndexToASTNameHelper.findMatchingASTNameNathan Ridge1-0/+4
Change-Id: I6440dd072841cfc7d9e8240024f7dee527954b57
2018-11-23Bug 540373: Format some Java files that were missedJonah Graham20-47/+22
Some files which has other cleanups applied meant they needed to be reformatted again. e.g. the removing of type parameters shortened some lines of code that meant the wrapping changed. Change-Id: I68ca09567b9530cc2a085c33923642b6de2ec77b
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/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 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/apply_jdt_prefs_to_all_projects.sh 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 apply_jdt_prefs_to_all_projects.sh 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/verify_gitattributes.sh 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

Back to the top