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

26427 commits

Author SHA1 Message Date
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
Jonah Graham
995bf9320c Bug 558488: Fix GDB version number comparisons for GDB 10 and above
The previous code would treat GDB 10.0 as earlier than 6.8

Change-Id: Ie95d9459462636c9ae0713c65686eec64cb553fa
2019-12-19 20:03:11 -05:00
Jonah Graham
9a03a7c9d4 [releng] Update debug.product for building against 2019-12
Change-Id: I7bb80b819cdd460cce1c53a9f85197ba3f488d92
2019-12-19 17:40:43 -05:00
Alexander Fedorov
61d01286e3 Bug 558484 - Normalize manifests for CDT LSP component
Added copyright headers
Mavenized output folder
Did i18n
Normalized bundle headers

Change-Id: I4c2b1485fae131ccc1744f8032300577addb4dcc
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-19 15:29:22 -05:00
Jonah Graham
3b9e522b1e [releng] Remove no longer needed api filters
Change-Id: Ic524d833e64f4388d76188437b1fa0b90c371d37
2019-12-19 15:11:15 -05:00
John Dallaway
66359ff899 [releng] Update baseline and setup to released 9.10.0
Change-Id: I340aff41d494de95626a5bc239ef037169bbc232
2019-12-19 15:20:37 +00:00
Alexander Fedorov
c5d86c70cb Bug 558288 - CDT Oomph setup should not fail on API Baseline activation
Provided Modular API Baseline Target
Fixed requirements for Modular Target
Fixed repository list
Fixed cdt-baseline.target
Fixed cdt.target
Switched cdt.target to 2019-12

Change-Id: I7a28b0d2e1abd142184575364f70ebddd47c2e13
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-19 08:25:18 +03:00
Jonah Graham
0e789adba8 [releng] Match baseline from cdt-baseline.target
Change-Id: Ia75de5a19f8ae643cd2851e01da0b9bfb7973693
2019-12-13 09:47:59 -05:00
Kondal Kolipaka
0848460687 Bug 553730 - Fix for findCommand() to handle directories
Change-Id: I2f0c833ca6a1493915db1e30b330dffc9ef3d590
Signed-off-by: Kondal Kolipaka <kondal.kolipaka@gmail.com>
2019-12-12 12:12:29 -05:00
Kondal Kolipaka
4b7b3c5e79 Bug 545373 - User Defined Toolchains are not getting saved
Change-Id: I41fa5c60d25936465e19ce4e4f2d820b14102b85
Signed-off-by: Kondal Kolipaka <kondal.kolipaka@gmail.com>
2019-12-10 10:20:22 -05:00
Jonah Graham
2042418982 [releng] Start pulling cdt-gdb-adapter from npmjs instead of jenkins
Change-Id: I3f194afba2c28313b694ddf4922d16bdb097b615
2019-12-08 21:31:41 -05:00