1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00
Commit graph

34548 commits

Author SHA1 Message Date
Andrey Mozzhuhin
a145e695c0 Bug 516393: Fix scan of double char tokens in CHeuristicScanner
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-13 21:32:45 +03:00
Alexander Fedorov
2a075e3ec8 Bug 561993 - Remove dependency to com.ibm.icu from CDT UI
Use JVM classes
Rework WorkingSetProxy#getSearchKey

Change-Id: Icda4b5b791259150dbf436546c2096ea728e0da0
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-12 13:34:26 +03:00
Jonah Graham
d66d3e8e85 [releng] Bump version to 10.0.0
Change-Id: I32f6f61835bdbad3cffd713965045c5097c8619f
2020-04-11 17:46:58 -04:00
Alexander Fedorov
d1868c46c9 Bug 561992 - Remove dependency to com.ibm.icu from CDT Core
Switch to JVM classes
Remove commented code from
 CProjectDescriptionManager

Change-Id: I53431ba1d5c015b3192fff7249c73e816b8b49ea
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-11 07:27:04 -04:00
Matthew Khouzam
1561c18f49 Bug 561787 - Make Elf parser names inline with java coding style
Replace under_score with camelCase for private non-api fields

Change-Id: Ica0dece19aaaf79d979588266f4c9552ea6d1224
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2020-04-10 13:57:14 -04:00
Matthew Khouzam
5e57f5e2a2 Bug 561788 - Remove useless field in Elf
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-10 13:52:37 -04:00
Marco Stornelli
ab1c2b0889 Bug 561770 - Rework API new class creation wizard page
Change-Id: Id8d83e05b8bc2665bf20fc804f0511ca8acd3126
2020-04-10 11:57:36 -04:00
Marco Stornelli
2a0bc541f0 Bug 534420 - Fix enums nodiscard flag size in the index
Change-Id: Ifaf5de849a8b95217ce112306f471dbcdc781f3d
2020-04-10 01:21:51 -04:00
Alexander Fedorov
87a3be448e Bug 561942 - CDT releng is broken: PTP 3.0 2020-03-M2 is not found
Use https://download.eclipse.org/tools/ptp/remote/releases/3.0/remote-3.0.1/

Change-Id: Ia0740b241577107527e50649a67db051b2f52069
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-09 15:37:40 +03:00
Marco Stornelli
31b748e7b9 Bug 510789 - Added final field to class wizard
Change-Id: Ib2f0168b897e665f3577511144692bb446d5ab84
2020-04-09 06:44:42 -04:00
Matthew Khouzam
1d4d637d72 Bug 561787 - Declare modifiers in correct order for Elf
The modifiers should be public static final.

Change-Id: Iaaede29a68891ab8aeb297b08db78ac13acbc1b8
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2020-04-09 05:09:22 -04:00
Alexander Fedorov
0191f0c321 Bug 561942 - CDT releng is broken: PTP 3.0 2020-03-M2 is not found
Switch PTP to
https://download.eclipse.org/tools/ptp/builds/remote/nightly/

Change-Id: Ie663bbe4d389ea88401fe33fed7fa773aa95b502
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-09 05:06:51 -04:00
Matthew Khouzam
2b291399f5 Bug 561786 - Add unit tests for Elf
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-09 04:35:19 -04:00
Marco Stornelli
dd88f8ffca Bug 534420 - Added check for nodiscard for classes and enums
Change-Id: I3932f4d23f18f96f8d1c15c18d7d4d991154aca1
2020-04-08 14:26:56 +02:00
Marco Stornelli
77790012cc Bug 561631 - Fix isFinal check for template specialization
Change-Id: Iac5b0d753c32f936e5d0e7ecdde66aeb0f7c6af8
2020-04-08 08:10:28 -04:00
Marco Stornelli
a1ea26f817 Bug 561824 - Removed suppress warnings about API restrictions
Change-Id: I182a222ec09e1da88dfcf1d3066eb3e9eaba4a2c
2020-04-07 14:23:50 +02:00
Marco Stornelli
14936b92c6 Bug 534420 - Add checker for [[nodiscard]] attribute
Change-Id: I5e40a2d50281b669c62ed48ee1a3a399ca71981c
2020-04-06 09:22:03 -04:00
Marco Stornelli
733d884bc4 Bug 534420 - Add support for nodiscard attribute for enum types
Change-Id: Ib555c5d3f37c1159208a971affc7d31dc0ca3220
2020-04-06 09:21:36 -04:00
Alexander Fedorov
68bb85e439 Bug 561734 - Clean-up Activator for CDT Tools Templates UI
Clean-up Activator class, may be filly removed after TemplateExtension
rework.

Logging code should be less verbose after merging of
https://git.eclipse.org/r/#/c/160386/

Change-Id: I502e14ac40b3ae5d3850b195f9ad9177bfae5536
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-03 18:45:24 +03:00
Alexander Fedorov
e730f8b8d3 Bug 561635 - Clean-up CDT Activator code
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-02 21:19:33 +03:00
Alexander Fedorov
c42ebba662 Bug 561711 - Remove Activator for CDT Build Cross GCC
Removed "org.eclipse.cdt.internal.build.crossgcc.Activator"

Change-Id: I743cfc24f7ab1caac0bcd44733ac794247a8f84b
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-02 18:16:38 +03:00
Alexander Fedorov
f965614e9a Bug 561658 - Remove Activator for CDT Templates Freemaker
Replaced "org.eclipse.tools.templates.freemarker.internal.Activator"
with "FMGenerator"-local code to determine pluginId for IStatus creation

Change-Id: Iaff6d51b09de225d6d2c657e83e36ac8418f62b3
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-02 05:25:12 -04:00
Torbjörn Svensson
36de92cc77 Bug 495661 - Period is a valid symbol in a section name
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>
2020-04-01 15:36:25 -04:00
Alexander Fedorov
0c464f651e Bug 561639 - Remove Activator for CDT Templates Core
Remove org.eclipse.tools.templates.core.internal.Activator

Change-Id: I690701bc9d4ea49f59eebda23866a17d572c0e57
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-01 07:57:00 -04:00
Alexander Fedorov
456afb3b8f Bug 561637 - Remove Activator for CDT CodAn UI Cxx
Removed org.eclipse.cdt.codan.internal.ui.cxx.Activator

Change-Id: I0c1d55c0756762044d66746c276d28ae72ded7e6
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-01 07:20:06 -04:00
Marco Stornelli
703310dfa6 Bug 534420 - Add support for nodiscard attribute for class types
Change-Id: I7466301118bacc04029c315d97441ff8e56142b5
2020-04-01 02:31:07 -04:00
Alexander Fedorov
7458b960c9 Bug 561582 - Revise API for CDT Codan
Clean-up "org.eclipse.cdt.codan.checkers.ui.tests" test bundle

Change-Id: I0f5198cc85c85b0829f5a73574cec54f152ba0cf
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-30 13:46:24 -04:00
Alexander Fedorov
89ada0fae4 Bug 561582 - Revise API for CDT Codan
Declare "org.eclipse.cdt.codan.checkers" package as "x-internal"

Change-Id: Icf5486f370c1397ec0fdfc502878509f1e665e98
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-30 13:45:23 -04:00
Alexander Fedorov
ec893a74ec Bug 561539 - Revise API for CDT Build GCC support
Export packages as "x-internal"

Change-Id: I592594aa402a5137c8e95346ab8c9acd858a557c
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-30 13:52:08 +03:00
Alexander Fedorov
3eb731ad8c Bug 561552 - CDT.setup should include tycho m2e project configurators
Add m2eclipse-tycho repository

Change-Id: Ieaf4a087680fbde6e2d724edb07cb1625689db95
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-30 01:53:48 -04:00
Jonah Graham
adb7247d5c Fix warnings in o.e.tm.terminal.control bundle
Change-Id: Ief69751ba4affc13240cfdb4b79e190b3356bbd9
2020-03-30 01:47:32 -04:00
Marco Stornelli
4a4c5fca4d Bug 561559 - Fix formatting def capture lambda expressions
We missed a space before the closing brackets if the proper option
was selected.

Change-Id: Ibbb09c3c961dc1b5e22aaa65ffb5d9878c2bb08b
2020-03-30 01:17:03 -04:00
Jonah Graham
1cb1cdaa9a Bug 561406 - Revise API for CDT Autotools
Setup API filters

Change-Id: Ie9f8fc399be84216bb092bd3a6b7612a564768d7
2020-03-29 13:38:45 -04:00
Jonah Graham
28268ad589 Bug 561319: Remove flickering in terminal when changing selection
This is done by buffering the drawing of the line of the terminal.

Change-Id: I593a3b99080d779046ea37497d93a25584c472c1
2020-03-29 11:04:23 -04:00
Jonah Graham
073035b54b [releng] Bring all CDT features to 9.12.0
Terminal and Launchbar are part of CDT so bring their feature
versions to align with CDT. This provides consistent release records and
bugzilla versions.

NOTE: this does not change Bundle Versions which continue to be
versioned based on Semantic Versioning.

Change-Id: I9f1eb4283e062e92372692bf3b3b4d4c41559dc9
2020-03-29 11:04:11 -04:00
Alexander Fedorov
d2b27d72dc Bug 561552 - CDT.setup should include tycho m2e project configurators
add "org.sonatype.tycho.m2e.feature.feature.group" to P2 Director

Change-Id: I0a3e811da1b1189227b17e1c05388a8bc00bb737
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-29 10:46:56 -04:00
Alexander Fedorov
d9b5d57514 Bug 561406 - Revise API for CDT Autotools
Setup API filters

Change-Id: I1147d697fa7c76b2da50502966ac60d1bcd0c74d
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-29 10:54:59 +03:00
Alexander Fedorov
67acd6a200 Bug 561537 - Revise API for CDT Build Cross GCC
Export packages as "x-internal"

Change-Id: I5336442ce3939b64f8c84bd5167572479a70271e
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-28 14:42:54 -04:00
Alexander Fedorov
822508a83b Bug 561406 - Revise API for CDT Autotools
Export packages as x-internal" for test bundles

Change-Id: I6961e5f9e805cab13263d3407ac95b8006d8de43
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-28 14:38:02 -04:00
Alexander Fedorov
bf8d3595a7 Bug 561401 - Revise API for CDT Arduino Core and Arduino UI
.core should declare .ui as x-friend
export test packages as internal

Change-Id: Iaba184be069185eb191519209e30ad1e4a7b1777
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-28 12:09:00 -04:00
Nathan Ridge
65e8a04447 Bug 561088 - Some cleanups to VariableReadWriteFlags classes
Change-Id: I63c5333b4c97062229c7f421b4f152ba3f90a996
2020-03-27 01:36:47 -04:00
Alexander Fedorov
b65be51fc9 Bug 561406 - Revise API for CDT Autotools
Mark packages either "x-internal" or "x-friends"

Change-Id: I63a1ff904ed483de2591004e42b452e6b76c16c2
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-25 22:22:10 +03:00
Alexander Fedorov
1001e5fb39 Bug 561401 - Revise API for CDT Arduino Core and Arduino UI
Export all packages as "x-internal"

Change-Id: Ibf1b18d37bb73df80d4be823fa81fb99ea3fdf0e
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-24 12:58:24 +03:00
Alexander Fedorov
c664c76dcd Bug 561390 - Revise API for CDT CMake UI
- renamed package "org.eclipse.cdt.cmake.ui.properties"
to "org.eclipse.cdt.cmake.internal.ui.properties"
- exported all packages as "x-internal"

Change-Id: Iedf70fec4d3457b24fdfa288d87af855c560fbf4
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-24 08:46:09 +03:00
Nathan Ridge
ce97426688 Bug 561128 - Allow storing all local types in the index, not just typedefs
Change-Id: I4bb76e199557e2dfe1fcab3a435434612b3334a5
2020-03-23 15:23:57 -04:00
Marco Stornelli
5f316f4045 Bug 534420 - Add initial support for [[nodiscard]] attribute
Change-Id: I3bb7e1b4068c5e95a8247be152b9e428f9207bdc
2020-03-23 13:18:41 -04:00
Marco Stornelli
67b441b120 [releng] - Fix api version for code formatter options
Change-Id: I9e8fe2541355c0f066de0f11c31129298ec3f6e5
2020-03-23 15:40:58 +01:00
Marco Stornelli
c2f51a8d23 [releng] Bump CDT version to 9.12.0
org.eclipse.cdt.debug.gdbjtag is bumped because of Bug 561343

Change-Id: I6dac283b7e9093662f57ac5c804021c4201ad6f1
2020-03-22 14:05:17 -04:00
Jonah Graham
ce109e81cc [releng] Update help-docs-eclipserun-repo to use Platform 4.15
Change-Id: I4fcfba2b33ea511d58856ed2c3c6e51322661708
2020-03-22 13:33:47 -04:00
Martin Weber
268903ba01 Bug 561318: Recursively delete files without running out of handles
Change-Id: Ib760f53a22bb75f0447c633341728a49cdf8cbfb
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-03-21 19:17:54 -04:00