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

26690 commits

Author SHA1 Message Date
Jonah Graham
83067d7da8 Bug 558439: Integrate releng for launchbar and tools.templates
Change-Id: I63530b50729e79e65e5001b71678348c3a7256ba
2020-01-13 22:05:04 -05:00
Jonah Graham
6042ffbf79 Bug 558827: Add feature info for launchbar and tools.templates
Change-Id: I86e2cd2adb5aacb1332de125e2f3efcde9438fa8
2020-01-13 13:36:03 -05:00
Jonah Graham
2aae414fba Bug 558439: Merge launchbar history into CDT
Change-Id: Ib1e6820bc605be30994e6df265e7f0e3ec851eb4
2020-01-13 12:16:17 -05:00
Jonah Graham
27673104a0 Bug 558439: Merge launchbar history into CDT
Change-Id: Ibefebca77b9e4f87013871cd135455cb91940e48
2020-01-13 12:15:30 -05:00
Marco Stornelli
4e73ec9cc6 Bug 559007 - Fix label and tests
Change-Id: I37dd90e972f9ce326695ddd29b49e30c820752cc
2020-01-12 19:51:03 +01:00
Marco Stornelli
abb0b06e2f Bug 559007 - Added new option to C-style cast checker
Add a new option to check in macro expansion. User, if want, can
disable this warning if it's in a macro expansion since the macro
used can be out of control of the user, for example a system
macro like FD_SET could be used.

Change-Id: I0efaaedd09087de87d9340d81ddbd7f2dc1e1abb
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-11 14:05:11 -05:00
Jonah Graham
7a0634e8ab Bug 559020: [docs] Clarify where comment characters are inserted
Change-Id: Iab0458279e28a5b187df1d9248bb0ea25718b1b5
2020-01-10 10:04:03 -05:00
Jonah Graham
d1a15ef473 Bug 558827: Add cleanliness check for features
Change-Id: Id25d340506210206dcd8f0ce93f2e01a041d4e1e
2020-01-09 15:11:35 -05:00
Jonah Graham
db974aa2a8 Bug 558827: Add and/or fix branding on all features
Change-Id: I6d8b1ae2416ed673d18e7e15500dcc7c8a87786d
2020-01-09 15:11:35 -05:00
Jonah Graham
b7bd96d371 Bug 551817: Normalize case of (c) to match Eclipse Handbook
Change-Id: I46404d20d20c385bf8efaaada66e18eea4d4e163
2020-01-09 12:18:50 -05:00
Jonah Graham
732c43eea7 [releng] Manually upgrade cdt-gdb-adapter from now on
The upgrade is one of the steps of the endgame plan, or it can be done
manually when needed.

Change-Id: I9ec83b65015474a08099e294bd168105a5bdcbe7
2020-01-09 12:08:19 -05:00
Jonah Graham
e770ac2b7b Bug 551817: Write Kichwa Coders consistently in Copyright line
Choice is one of:
Kichwa Coders Ltd
Kichwa Coders Canada Inc.
depending if contributed by UK or Canadian company

Change-Id: I5c9fb96ea6abf97858a6896911a71fa68b8400b1
2020-01-09 09:16:43 -05:00
Andrey Mozzhuhin
69a1589726 Bug 558923: Syntax coloring for binary integer literals from C++14
Change-Id: Ib3b260b6638e689884a28037d1a814b737846867
Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
2020-01-08 10:38:54 -05:00
Sergey Kovalchuk
4ec47dbc35 Bug 558474 - CleanUp deprecated methods in org.eclipse.cdt.ui
Reworked deprecated usages of SubProgressMonitor by SubMonitor (Part 5
Latest)

Change-Id: Ia7a06893c5acda374f2045666447ec494b8fccdc
Signed-off-by: Sergey Kovalchuk <sergei.kovalchuk@arsysop.ru>
2020-01-08 09:29:40 -05:00
Jonah Graham
711cb3c4b9 Bug 558474: Remove dead code
As part of trying to migrate SubProgressMonitor -> SubMonitor this code
was identified as being unreachable. As this dead code had a lot of
SubProgressMonitor it seems more suitable to just delete the dead
code rather than migrate it to SubMonitor API.

Change-Id: Idb9f96cb0d83ba0e7f617fab3bb6397e93824bba
2020-01-07 08:25:52 -05:00
Jonah Graham
ba208cbd06 Bug 558827: Add build id timestamp to features properly
This was lost when the build system was moved to Maven/Tycho for
CDT 8 and restores the information.

Note that with the p2 baseline compare and replace this will show
the build id of when the branding plugin (the one with the about.mappings)
was built, which compared to the feature version may be older.

The about.mappings, as it is generated on each build, is ignored from
p2 compare and replace.

Change-Id: I38d1fcc5f618d4037baa2c8b908952421c712fc6
2020-01-06 19:37:46 -05:00
Jonah Graham
d9a16a23e2 [releng] Update eclipse run 4.14 platform release
Note - other doc plug-ins have already had their versions bumped
since the 9.10 release.

Change-Id: I26466b69faf046672e9fbc5a155a951169370562
2020-01-06 16:30:40 -05:00
Jonah Graham
69e813856b [releng] Update cdt-gdb-adapter lock file to latest build
This update happens automatically as part of the build, but leaves
a dirty yarn.lock file. This is an occasional commit of that lockfile.

Change-Id: Ic2c5edec9a53a6a74cea55d42fff658d880dda0f
2020-01-06 13:10:23 -05:00
Marco Stornelli
5bd822cb85 Bug 491026 - Improved Doxygen support
Added autogeneration of documentation for template parameters,
exception speficiation.

Prepare Doxygen class to manage class names, struct names, union names
enum names and preprocessor define.

Change-Id: Id8689eac209cc509196a7c87ee286bb3e7c49e67
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-06 12:17:21 -05:00
Jonah Graham
3effb213fa Bug 558840: [releng] Remove unmaintained AERI from target platform
Change-Id: I0e0b424ced0980b7dd347fc8ce61a0fc60a5611d
2020-01-06 12:05:37 -05:00
Andrey Mozzhuhin
bea8343e01 Bug 537568: Apply correct indentation with template return types
Support optional template type specification of return type in method
declaration deduction.

Change-Id: Ibaa5d5128faefb0b95534918ba9980bd8449b851
Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
2020-01-06 12:04:22 -05:00
Alexander Fedorov
4acce05305 Bug 558826 - Fix branding issues for org.eclipse.cdt.arduino-feature
Fixed license headers
Normalized IU names
Added branding image

Change-Id: Ib956df90c3a755219f2305b837186e273cf9def6
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-01-06 11:22:49 -05:00
Andrey Mozzhuhin
fecd602c1b Bug 534070: Fix syntax highlight for numbers with C++14 separators
Change-Id: I1e1f335dadb3fa30e035c5a61ccef1f3eed43358
Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
2020-01-06 01:05:53 +03:00
Sergey Kovalchuk
a7c5168c7a Bug 558474 - CleanUp deprecated methods in org.eclipse.cdt.ui
Reworked deprecated usages of SubProgressMonitor by SubMonitor


Change-Id: Ia67926e1273785d9688ca22c993f79ac3b3822f9
Signed-off-by: Sergey Kovalchuk <sergei.kovalchuk@arsysop.ru>
2020-01-04 17:12:08 +03:00
Marco Stornelli
bacb42110e Bug 546609 - Added checker for magic numbers
Change-Id: Idedcf15f9d5eb3a5d405fe8dc83131f1faf0efa3
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-04 12:09:38 +01:00
Jonah Graham
ca1ee32031 [releng] Update comparator repo for p2 compare and replace
Change-Id: Iff7e7ba98fe37f89d1b6b0e0754ef827925e849e
2020-01-03 15:16:28 -05:00
Jonah Graham
a0e7c85832 Bug 558792: [releng] don't create source bundles for docs
The source bundles are not published to the p2 repo and having
them built causes tycho's p2 compare and replace to error like this:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-plugin:1.5.1:p2-metadata (baselinereplace-p2-metadata) on project org.eclipse.cdt.autotools.docs: baseline and build artifacts have same version but different contents
[ERROR]    classifier-sources: not present in baseline

Change-Id: I409f96c7a7ed054da37159b9b87564dd271c31b5
2020-01-03 15:16:05 -05:00
Marco Stornelli
2e761a5359 Bug 545714 - Added a shallow copy checker
Change-Id: I8998a98f9d7836405afcaf54bf241b0acbd9edea
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-03 14:11:08 -05:00
Sergey Kovalchuk
9cbe95695c Bug 558474 - CleanUp deprecated methods in org.eclipse.cdt.ui
Reworked SubMonitors (Part3)


Change-Id: I146ba515f78ad15e94267b52d0123bf53f98289b
Signed-off-by: Sergey Kovalchuk <sergei.kovalchuk@arsysop.ru>
2020-01-03 19:00:23 +03:00
Sergey Kovalchuk
b74f56878c Bug 558474 - CleanUp deprecated methods in org.eclipse.cdt.ui
Reworked SubMonitors (Part2)
Fixed percentage counting
Removed explicit cancellation checks.

Change-Id: Ibd9ef2664885746ab9ac2be556ac5effc994a512
Signed-off-by: Sergey Kovalchuk <sergei.kovalchuk@arsysop.ru>
2020-01-03 09:34:34 -05:00
Marco Stornelli
55e08c0dfa Bug 273252 - Added checker for variable masking
Added new checker for variable masking another in a parent scope

Change-Id: Icff6b6499a1d38cc5a719d143552bbe17d57b15c
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-03 02:17:30 -05:00
Jonah Graham
14561b343f Bug 558638: Add nature user display names
Change-Id: I2cabb572ab2e4a1ad2c3890267628a0aa13e4211
2020-01-02 18:18:00 -05:00
John Dallaway
8bafed71ec Bug 558266: Add ST-LINK definitions
Change-Id: I01bb9b09af6bc9b2f38169acc3ce29b2d87ccc1e
2020-01-02 16:00:16 -05:00
Hannes Vogt
a4b27b3638 Bug 551761 - GetterSetterRefactoring single char prefix
Instead of dropping single character prefixes in getter/setter name
generation,
we just drop the class field prefix as defined in the coding style.

Change-Id: I3c3853b1b0f675ad1802b1ebbddd68dc8c0c5b33
Signed-off-by: Hannes Vogt <hannes@havogt.de>
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-02 17:39:54 +01:00
Marco Stornelli
aa08b85b6f Bug 266305 - Add common warning options to GCC(Clang
Add common warning options usually not included in -Wall. (GCC/Clang)
Added hardening options and address randomization under misc
section (GCC)
Added sanitize options under debug section. (GCC/Clang)

Change-Id: I885d8f49192018e50fcc5d28ee5e60d8785aa947
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-02 11:55:20 +01:00
Alexander Fedorov
9f1ccbd536 Bug 558703 - CDT LSP bundles should include about.html
Added about.html to:
org.eclipse.cdt.lsp.core
org.eclipse.cdt.lsp.core.tests
org.eclipse.cdt.lsp.ui

Change-Id: I4281407953f4a6ef338a342cc1345cb301e5e131
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-31 17:47:51 +03:00
Marco Stornelli
e6b712325c Bug 527143 - C++ dialect refactor
Renamed c++0x to c++11, c++1y to c++14. Added c++17 and c++20
aka c++2a.

Change-Id: I3939cb56bf887e193bffe7484c6568cf45bd315d
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-12-31 09:10:32 -05:00
Sergey Kovalchuk
d101914ede Bug 558474 - CleanUp deprecated methods in org.eclipse.cdt.ui
Reworked deprecated SubProgressMonitor to SubMonitor (part 1)
Removed NullProgressMonitors, transfered root monitors to function call.


Change-Id: Id9fb063f4265fb4a6fba011621310e02886b0217
Signed-off-by: Sergey Kovalchuk <sergei.kovalchuk@arsysop.ru>
2019-12-31 08:30:26 -05:00
Jonah Graham
caaeb7489d Bug 447622: Display better message when information is missing
Change-Id: I9c908c53e88311fbdd067a1fbfe61de62ef04ae0
2019-12-30 16:38:51 -05:00
Alexander Fedorov
6da6e91cc1 Bug 558660 - Isolate cquery-related code of the org.eclipse.cdt.lsp.core
Moved cquery-related code to "org.eclipse.cdt.cquery" namespace.
Why not "org.eclipse.cdt.lsp.cquery"? Because here we are focusing on
"cquery" support for CDT, and it looks like a separate component to be
wrapped by its own feature later.

Change-Id: Iddfff2d4341d090ccdeca562ea16c584c0fcdd76
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-28 15:54:11 +03:00
Alexander Fedorov
ca4413f0ab Bug 558654 - CDT target and setup should be sorted alphabetically
Switch from comments to Annotations to Repair CDT.setup

Change-Id: I9f1246d4f871b1940feda0b5d315ae4047f81bf1
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-28 11:02:04 +03:00
Alexander Fedorov
130ba19600 Bug 558654 - CDT target and setup should be sorted alphabetically
Sorted cdt.target
Sorted cdt-baseline.target
Sorted CDT.setup

Change-Id: I776b364ad8a3d71a9f923abbf6e4f75cdce7feb4
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-27 22:54:18 +03:00
Alexander Fedorov
e63c017b3f Bug 558636 - Error in baseline target platform definition for CDT
Sync cdt-baseline.target with cdt.target
Sync CDT.setup with cdt.target
Sorting to be done with another commit

Change-Id: I9e0bd9565ed55560bceaf3f77ea8212e9f787589
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-27 14:43:18 +03:00
Alexander Fedorov
f0f962d54d Bug 558591 - Move editor-related contribution to the UI part of CDT LSP
Move all editor contributions
Move AutoIndentStrategyCPP

Let's switch friends of org.eclipse.cdt.ui later

Change-Id: Idf9e1f0d0646917a4ead62a8e930b1268a8ce292
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-23 21:42:28 +03:00
Alexander Fedorov
448829fb59 Bug 558560 - Switch cdt.target from SimRel to particular p2 repos
Removed SimRel repo
Added EMF repo
Added Mylyn repo for org.eclipse.epp.logging.aeri.feature
Added Mylyn Docs repo for LSP4J
OMG! We have circular dependency that invloves 'java.package;
org.eclipse.cdt.utils.pty 0.0.0' from org.eclipse.remote
Added GEF legacy repo for org.eclipse.wst.xml_ui.feature

Change-Id: Id571d93e5e3365c71993e46b478c489c72a61e45
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-23 17:37:35 +03:00
Alexander Fedorov
5eb0e1923a Bug 558549 - Move CDT Language Server preference page to UI bundle
Moved preference page and related things to "org.eclipse.cdt.lsp.ui"

Change-Id: Idf1251789edbd5f6c82b6fb7f3483c75550d6e29
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-22 12:09:06 +03:00
Alexander Fedorov
d92d4ac771 Bug 558542 - Create "org.eclipse.cdt.lsp.ui" bundle
Created "org.eclipse.cdt.lsp.ui" bundle

Change-Id: I850cb545398198432c4873fbcd00f0ccfc9dff30
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-21 19:06:35 +03:00
Alexander Fedorov
a2e53aa619 Bug 558541 - Remove dependency to org.apache.commons.io from CDT LSP
Switched to try-with-resources

Change-Id: Ia81b1e80c34ff62f9405d8a967f9877e5f8b0e86
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-21 14:23:37 +03:00
Alexander Fedorov
b72a6c3d93 Bug 558516 - Normalize i18n for CDT LSP component
Revisited all the i18n

Change-Id: Ic5b14ee68cb3d0164f179a9d2690573a82f356d8
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-20 15:02:14 -05:00
Sergey Kovalchuk
a95c9a486e Bug 558474 - [CDT]CleanUp deprecated methods
Initial with Gerrit
Clean up deprecated methods

Change-Id: Iff82715d7415d0512a8a1fe3f9625e7c27fb01d8
Signed-off-by: Sergey Kovalchuk <sergei.kovalchuk@arsysop.ru>
2019-12-20 06:34:05 -05:00