Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/core
AgeCommit message (Collapse)AuthorFilesLines
7 daysBug 564586 - Fix auto complete for final and override keywordsMarco Stornelli1-0/+4
Change-Id: I69ee87f57a45b7b622a06534ce8b8ff2de9f80ff
2020-06-16Bug 564232 - Add cpu risc for RISC-V need to support.Aijun Shi1-0/+6
Change-Id: Ib62ed14f3c0dbe4375da41dba7209b27e034c53e Signed-off-by: Aijun Shi <Aijun.Shi@windriver.com>
2020-06-15Bug 564276 - Extract CDT Core templateengine to a separate bundleAlexander Fedorov2-5/+28
Hide the value of extension point identifier "org.eclipse.cdt.core.templateProcessTypes" with dedicated type. After moving to another bundle we will preserve the identifier value for compatibility. Change-Id: I8dbca52f1223e8751ebb5ac7844845c30a1f0266 Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-06-15Bug 563051: Use new Rename API in platform for resource renamingJonah Graham3-86/+23
This removes use of internal API RenameResourceProcessor and removes copying of code from platform's RenameResourceWizard to take advantage of new UI API too. Change-Id: I0e596027751dacf6982d4a63def617ae19f69827
2020-06-15Bug 564273 - Fix format lambda expressions without parenthesisMarco Stornelli2-6/+25
Change-Id: I918ca05d75ca4e8cba7501e232d4e6b05e434f06
2020-06-14Bug 564276 - Extract CDT Core templateengine to a separate bundleAlexander Fedorov1-2/+4
Remove dependency to org.eclipse.cdt.core.CCorePlugin during template schema URL resolution. The TemplateDescriptorSchema.xsd URI should be in one bundle with TemplateEngine. Change-Id: Ice2fbc4f33da6616184728d3a41cc803328526a6 Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-06-14Bug 564276 - Extract CDT Core templateengine to a separate bundleAlexander Fedorov4-10/+5
Remove dependency to org.eclipse.cdt.core.CCorePlugin during IStatus creation. Change-Id: Ic9cf5e55866ab6f0727ea91378b7366c6090b7f1 Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-06-14Bug 564026: CPPSemantics.selectByArumentCount does not trim afterMichael Woski1-1/+1
removing elements from the result array the list of candidate functions is filtered for redundant elements. The returned array must be shrunk to avoid NullpointerExceptions further down the road. Change-Id: I5f3c5a19433266dd20492241fd74edc43fbfc0ef Signed-off-by: Michael Woski <woskimi@yahoo.de>
2020-06-13Bug 564123: use EnvironmentReader in core buildjantje1-5/+9
CBuildConfiguration.findCommand read environments like EnvironmentReader Change-Id: Iedd474c647a0c22fecdd525bf50927159d138031 Signed-off-by: jantje <eclipse@baeyens.it>
2020-06-13Bug 564123 Uppercase only special environment variables on Windowsjantje1-28/+17
Only uppercase the env variable names that are special (only Path for now). This is part of handling the change to keeping cdt variables case sensitive. Change-Id: Ibf22823328c8f8d57c98aa9b62763ea884164fae Signed-off-by: jantje <eclipse@baeyens.it>
2020-06-13Bug 564123: Remove deprecated method from EnvironmentReaderjantje15-29/+20
EnvironmentReader.getRawEnvVars has a better replacement, EnvironmentReader.getEnvVars Change-Id: I91b209f3f601b748dd5d635ff44a36765d519e49 Signed-off-by: jantje <eclipse@baeyens.it>
2020-06-13Bug 564272: Increment major version of org.eclipse.cdt.core to 7.0.0Jonah Graham13-17/+17
Change-Id: I9124dd406c5981435a72ff4aaa7033f1c3d1979b
2020-06-13Bug 564123 delete org.eclipse.cdt.utils.Platformjantje3-115/+2
The class overrode org.eclipse.core.runtime.Platform to workaround bugs in the platform that have since been fixed. As 32-bit x86 and PPC support has been removed this class is no longer needed as all the code is now unreachable anyway. Change-Id: I01bb00b9203aa02663ff25ce36c4c14f22dadee5 Signed-off-by: jantje <eclipse@baeyens.it>
2020-06-13Bug 564026 - Fix null pointer exceptionMarco Stornelli1-0/+3
The ICPPFunction array can contain null values. A check is needed. Change-Id: Icde40880f7913d0de7ae2c0a293de8d5be899327
2020-06-02Bug 563864: By default fail build on test failures when building CDT with mavenJonah Graham2-2/+0
Change-Id: I9bd3db3850cc45abb0ea53f8885a331c7f327887
2020-06-01Bug 563591 - Fix exception in EvalBindingMarco Stornelli1-1/+3
Change-Id: If5138fec2ec00f1a88b25d3a32995a703c9aa790
2020-06-01Bug 487990 - Fix format of variadic functionsMarco Stornelli2-1/+14
Change-Id: I802d032f733247178db46c8fe43fdb9350555509
2020-06-01Deprecate and remove use of method now in JVM (Object.equals)Jonah Graham13-27/+43
Change-Id: Iec34f0f8388d7d76ce63f88cfc7d16534e5a7d84
2020-05-31Bug 563455: Always return same instance of CElementImageDescriptor to platformJonah Graham1-1/+12
Because of a bug in the platform implementation of equals/hashCode under some circumstances, we can workaround the problem by returning the same instance of CElementImageDescriptor when the objects are equal(). Change-Id: I6ff15cffa4b48080dcc6c9a023622edf4ae2d497
2020-05-11Bug 561789 - Introduce ElfSymbolIteratorMatthew Khouzam2-41/+131
This allows symbol reading on larger executables without hitting an out of memory error Note: this should not close the bug, it is just a first step. Change-Id: I62bb252ff67d88d9bef686760fdc0e9b8240fd02 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2020-05-09Bug 562997 - Switch CDT doxygen to use new Equinox preferences APIAlexander Fedorov9-50/+59
Switched from "org.eclipse.cdt.core.options" to "org.eclipse.core.runtime.preferences" Change-Id: Ie01d955079a7a54875270bb2d259c9232d30e7ea Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-05-09Bug 562896 - Fix qualified name in return type for implement methodMarco Stornelli2-3/+32
Change-Id: Ie1ff2e401091655c6ecc2a7393dac19cea872a0e
2020-05-04Bug 562722 - Fix noexcept using implement methodMarco Stornelli3-1/+26
Change-Id: I3ac99f916883fa4be55af29e51b63bc8aa40a63f
2020-05-04Bug 562723 - Added support for noexcept in the formatterMarco Stornelli4-1/+73
Change-Id: I021934657842868c196320f4e126217ab799c07c
2020-05-03Bug 562697 - Fix comparison of qualifier type and pointer typeNathan Ridge2-1/+24
CDT has two representations for a pointer type wrapped in a qualifier type: it can be an IPointerType with some qualifiers set on it directly, or an IPointerType wrapped in an IQualifierType. (We prefer the first representation to avoid creating too many wrappers, but sometimes the second one arises during template instantiation.) This patch makes sure that two such types can compare equal even if they use different representations. Change-Id: Ia8c7d227c74378aae74f04545b9a69103c14e74b
2020-04-26[releng] Remove and add .prefs files according to improved cleanliness scriptJonah Graham15-1806/+6
Change-Id: I9bc8364cda1a1154750127f5db5549073323e84c
2020-04-22Bug 562343 - Handle empty loop body when creating ExecForNathan Ridge2-1/+9
Change-Id: I11c07800d493b0a64681531a1d4719c17206dd19
2020-04-22Bug 562292 - Fix method definition position for override methodMarco Stornelli3-4/+80
The position of namespaces didn't take into account because the declaration doesn't exist yet when we use this kind of refactoring, so the find method of MethodDefinitionInsertLocationFinder didn't look for namespaces. Change-Id: I839194879c41f86653c837ca83a306ea1840c1d0
2020-04-21Bug 562368 - Fix doxygen template documentationMarco Stornelli2-1/+16
Change-Id: If0763d66fab13bc1cc7445363368df4c53546c24
2020-04-17Bug 561786 - Add unit tests in Elf for attributes and getSymbolReaderMatthew Khouzam1-8/+47
Change-Id: Ic4f4e4ab0d9df0882b99a0e2300c2ddb0393b43f Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2020-04-17Bug 561788 - Convert fields into variables in ElfMatthew Khouzam1-2/+2
The fields are not used outside of the loadSymbols section, and they are written before being read, so they should be safely inlineable. Change-Id: I68388227074d80ace283395b48c88c59700dd9da Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2020-04-16Bug 562181: Fix auto indent after constructor with access specifiersAndrey Mozzhuhin2-0/+24
Some heuristics in skipToStatementStart require knowledge of previous token. It is initialized with value from a fToken, but it current value may be invalid because looksLikeMethodDecl changes fPossition value without adjusting a fToken. Using invalid value may lead to false triggering of heuristics. Restore fToken value when change fPossition in looksLikeMethodDecl to prevent this. Change-Id: If0c2c0577c89a983e1479587409f293c3d0db7be Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
2020-04-15Bug 562125: Fix auto indent of function call with scope qualifiersAndrey Mozzhuhin2-2/+21
A function call may be mistakenly interpreted in looksLikeMethodDecl() as a method declaration. This was due to simplified processing of functions with a scope qualifiers in the name. Now methods with a scope qualifier are handled similarly to methods without them. Change-Id: Id3075d3387fdf9c4ae2d0dffa6cdf923fd1ef9d5 Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
2020-04-13Bug 516393: Fix scan of double char tokens in CHeuristicScannerAndrey Mozzhuhin3-17/+33
Scanning of double char tokens (::, >>, >=, <<, <=, ->) is broken in nextToken(). In each case, peekNextChar() was used to get second character, but scanner position was already on second char and peekPreviousChar() need to be used. Change-Id: Ibd447c7cde8783e8ffe547d5f9bc09d11c1c60a7 Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
2020-04-12Bug 561993 - Remove dependency to com.ibm.icu from CDT UIAlexander Fedorov44-139/+133
Use JVM classes Rework WorkingSetProxy#getSearchKey Change-Id: Icda4b5b791259150dbf436546c2096ea728e0da0 Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-11[releng] Bump version to 10.0.0Jonah Graham9-9/+9
Change-Id: I32f6f61835bdbad3cffd713965045c5097c8619f
2020-04-11Bug 561992 - Remove dependency to com.ibm.icu from CDT CoreAlexander Fedorov27-127/+101
Switch to JVM classes Remove commented code from CProjectDescriptionManager Change-Id: I53431ba1d5c015b3192fff7249c73e816b8b49ea Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-10Bug 561787 - Make Elf parser names inline with java coding styleMatthew Khouzam1-21/+23
Replace under_score with camelCase for private non-api fields Change-Id: Ica0dece19aaaf79d979588266f4c9552ea6d1224 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2020-04-10Bug 561788 - Remove useless field in ElfMatthew Khouzam1-5/+0
The syms field is only set and never read outside of getSections. It can safely be removed. Change-Id: I40be61c4d6fab0131bd47134fc444b4306f8b322 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2020-04-10Bug 561770 - Rework API new class creation wizard pageMarco Stornelli1-8/+20
Change-Id: Id8d83e05b8bc2665bf20fc804f0511ca8acd3126
2020-04-10Bug 534420 - Fix enums nodiscard flag size in the indexMarco Stornelli2-9/+21
Change-Id: Ifaf5de849a8b95217ce112306f471dbcdc781f3d
2020-04-09Bug 510789 - Added final field to class wizardMarco Stornelli5-6/+109
Change-Id: Ib2f0168b897e665f3577511144692bb446d5ab84
2020-04-09Bug 561787 - Declare modifiers in correct order for ElfMatthew Khouzam1-153/+153
The modifiers should be public static final. Change-Id: Iaaede29a68891ab8aeb297b08db78ac13acbc1b8 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2020-04-09Bug 561786 - Add unit tests for ElfMatthew Khouzam10-0/+162
Test on X86-64, i386, ppc64 and ppc32. Add Elf compiled executables to resources folder in order to ensure address coherence. Change-Id: Ie85636c9732cc41b6e5505ecf7acc783644bb442 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2020-04-08Bug 561631 - Fix isFinal check for template specializationMarco Stornelli2-0/+49
Change-Id: Iac5b0d753c32f936e5d0e7ecdde66aeb0f7c6af8
2020-04-07Bug 561824 - Removed suppress warnings about API restrictionsMarco Stornelli1-3/+3
Change-Id: I182a222ec09e1da88dfcf1d3066eb3e9eaba4a2c
2020-04-06Bug 534420 - Add checker for [[nodiscard]] attributeMarco Stornelli1-1/+1
Change-Id: I5e40a2d50281b669c62ed48ee1a3a399ca71981c
2020-04-06Bug 534420 - Add support for nodiscard attribute for enum typesMarco Stornelli11-6/+102
Change-Id: Ib555c5d3f37c1159208a971affc7d31dc0ca3220
2020-04-02Bug 561635 - Clean-up CDT Activator codeAlexander Fedorov1-2/+1
Remove misplaced usage of "org.eclipse.tools.templates.ui.internal.Activator" Change-Id: Iaeb42729366f12a6329c4b8ca2b062ab7a169472 Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-01Bug 495661 - Period is a valid symbol in a section nameTorbjörn Svensson3-12/+46
When using -ffunction-section, each function is placed in it's own section name. For example the main() function would be placed in .text.main, so the pattern looking for undefined references needs to allow the extra dot there. Since C++ will use other symbols than what's included in \w, lets allow everything except a + sign and whitespace. Change-Id: I66d9ee7d8cbc0a405e60d7cdeb43c38b30107245 Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>

Back to the top