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

14091 commits

Author SHA1 Message Date
Fabrizio Iannetti
5403404e09 Bug 559877 - CBuildConfiguration.getProperties() returns an empty map
Change-Id: I3da2aee59eaf06b8e5d0bbd4ccc05b2a0139c3ef
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
2020-02-06 13:02:21 -05:00
Alexander Kurtakov
4d6ecb4f20 Bug 559800 - Content in cdt.doc.isv badly outdated and broken
Fix javadoc tags.

Change-Id: I95a6720777797b4449509f29d00ce836a7c9e103
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-05 23:14:52 +02:00
Alexander Kurtakov
f90f900e48 Move away of the deprecated AbstractUIPlugin.getWorkbench
Use PlatformUI.getWorkbench instead.

Change-Id: I8c0eb2c4b3b414e61f03fc9d9becd1d574f7e26d
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-04 14:43:53 +02:00
Marco Stornelli
76bf5b4e7c Bug 475625 - Allow user to have empty variable names
When the user selects the second wizard page was forced to use
a no empty variable name, however it's possible the parameter won't
be used and the user wants to have a matching signature. Removed
the check. The parameter name is still automatically set if the user
click directly on "Finish" button.

Change-Id: I665220b72d7b04b4bc89ffd5d764771cdfa8b243
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-02-04 00:25:37 -05:00
Marco Stornelli
15479e9095 Bug 559669 - Fix formatter on/off tags
Change-Id: Ia481703a0360ec5741d2fb079a75aa13a33bff39
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-02-01 15:23:59 +01:00
Jonah Graham
6f9502c9c2 [releng] Bump version of cdt.core for new API
Change-Id: I64fcde8659f97c133fedc700879bee4eb86d97e9
2020-01-31 12:15:46 -05:00
Marco Stornelli
c775a210e1 Bug 559545 - Fix formatter with enums with standard attributes
Change-Id: I993e773792105e22b9c2f703488e7ff211ed4068
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-30 13:57:23 -05:00
Marco Stornelli
c0402d5d06 Bug 434677 - Fix implement method insert position with namespaces
If the correct namespace existed before the refactoring in the
translation unit, refactoring process just ignored it.

Change-Id: I9d6bd301807bb2d3f83f74ef772395d3470cf8bd
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-30 13:55:38 -05:00
Nathan Ridge
cd2ed18cd6 Bug 553794 - Add support for the __integer_pack builtin
Change-Id: Idc978d1d0b44cfe326283a0c3779969fdc3f3599
2020-01-28 05:20:09 -05:00
Marco Stornelli
86f2ad3301 Bug 452809 - Implement method fully qualified decl specifier
If an enum, a struct or a class is defined inside a class, the
implementation must qualify the declaration specifier.

Change-Id: I1e9450c7b165a25c4a745c50fe2e0c06e28775d0
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-25 01:47:42 -05:00
Alexander Fedorov
73a7ac3642 Bug 559067 - Rework DocCommentOwnerComposite and mark it for deletion
Added org.eclipse.cdt.internal.ui.dialogs.DocCommentOwnerArea
Deprecated org.eclipse.cdt.ui.dialogs.DocCommentOwnerComposite
and marked it for deletion

Change-Id: I6ec1266fa0a7bce2e3fee43d1c4c2c0b3ba11ef7
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-01-24 22:27:34 +03:00
Alexander Fedorov
13ddacb772 Bug 559066 - Rework DocCommentOwnerCombo and mark it for deletion
Reworked usages of DocCommentOwnerCombo and marked it for deletion

Change-Id: Ic1bfbcdb12512be0d2eed1ae93d454d7f1e5668f
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-01-22 21:45:02 +03:00
Alexander Fedorov
5e423d21a9 Bug 559193 - Rework DoxygenPreferences to encapsulate constants
Part 2 (please refer to the Bug 559193 regarding the reasons to rework):
 - Doxygen option read-only API for clients
 - Doxygen option storage API for configuration UI
 - OSGi component for Doxygen API implementation

Change-Id: Ia97ade397f1040087898aeb3b50872473d3c0631
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-01-22 11:47:43 -05:00
Marco Stornelli
c309923d71 Bug 384793 - Fix implement function refactoring with var args
Change-Id: I420a6a8197ff343a5719d8cc3d85eeb9ea889dfa
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-20 12:27:18 -05:00
Marco Stornelli
6647808d0e Bug 510289 - Fix implementation refactoring with template parameters
The implementation of methods with parameter declaration or with
template template parameters didn't work.

Change-Id: I783dedc5ffecd6721293d52f13548fd9e73999bc
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-19 05:48:44 -05:00
Marco Stornelli
b5cde3b61c Bug 559313 - decltype evaluated as a write operation
If a variable is in a decl type specifier can't be evaluated as
written.

Change-Id: If78a567dab99e55c78e16c3b7f10c45bbd0a0606
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-19 05:28:15 -05:00
Alexander Fedorov
8dae022114 Bug 559193 - new API for preference management
Part 1 for "Rework DoxygenPreferences to encapsulate constants" (please
refer to the Bug 559193 regarding the reasons to rework):
 - option metadata API
 - option storage API
 - Preference-based storage
 - tests for added types

Change-Id: If6f2caa4c8e659497b0e95c00ec959a9888998d7
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-01-18 16:09:36 -05:00
Marco Stornelli
0c5b5771b9 Bug 552334 - Generate enum doxygen comments according to comment style
Change-Id: I49f8188cc9c5421c90a48fb96a5b476de10ef251
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-16 18:45:35 +01:00
Alexander Fedorov
830bf8074c Bug 333134 - Add options to configure doxygen behavior
Reworked UI code to its natural contract.
Switched java 8 to compact the code
Encapsulated scope inside the DoxygenPreferences

Change-Id: I534b8d4f7c2d6e7674b132a10ef3514e61f2c1ed
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-01-15 08:28:48 -05:00
Marco Stornelli
e4d5441385 Bug 333134 - Add options to configure doxygen behavior
Change-Id: Idf083d6e0fdf80a848412d610cb41da1d379aeaa
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-14 11:57:34 -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
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
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
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
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
Jonah Graham
ca1ee32031 [releng] Update comparator repo for p2 compare and replace
Change-Id: Iff7e7ba98fe37f89d1b6b0e0754ef827925e849e
2020-01-03 15:16:28 -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
Jonah Graham
14561b343f Bug 558638: Add nature user display names
Change-Id: I2cabb572ab2e4a1ad2c3890267628a0aa13e4211
2020-01-02 18:18:00 -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
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
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
3b9e522b1e [releng] Remove no longer needed api filters
Change-Id: Ic524d833e64f4388d76188437b1fa0b90c371d37
2019-12-19 15:11:15 -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
bd814fdaf9 [releng] Bump to CDT version 9.11.0
Change-Id: If729509efbddc71adb565e224437b76089d6e099
2019-12-07 15:24:34 -05:00
Jeff Johnston
45585fcbbf Bug 553761 - NPE at GNUCSourceParser.identifier
- add null node check in GNUSourceParser.identifier()
- same for GNUCPPSourceParser.buildName()

Change-Id: Ic170d0220d179947af5b9c0d7dc50f1ed9e5965d
2019-12-05 10:59:43 -05:00
Simeon Andreev
9d897fcc04 Bug 553667 - Resource leak in ElfParser
This change fixes a file descriptor leak in
ElfParser.hasInterpProgramHeader(). An Elf object is created without
calling its Elf.dispose(). This results in a created RandomAccessFile
object, without a respective RandomAccessFile.close() call.

Change-Id: I6d2a0911857eb6fcb388b352801c2259ae19171c
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2019-12-02 15:21:24 +01:00
Jonah Graham
0d4fcccd3d Bug 553613: Limit memory growth on generated typenames
When using the cache, only put the string reference in the typename
if over the threshold.

This is essentially a fixup for Bug 519121

Change-Id: I1436a9740bfb8ce46747f9a2ab0649ed366c4d9b
2019-11-29 12:10:02 -05:00
Nathan Ridge
7e267a4791 Bug 553141 - Fix logic error in TypeInstantiationRequest.equals()
Change-Id: Ie458f44a4384233ef96ed18e46f38fde309c7399
2019-11-19 21:28:15 -05:00
Jonah Graham
0004800a8e Bug 552479: Reuse argument string to array from CommandLineUtil
The version of stripArgs that was here did not deal with quoted
arguments properly

Change-Id: I5a63338b618563f20a0f5995a6ec55e1af4ec0f0
2019-11-19 16:40:29 -05:00
Jonah Graham
199824d975 Revert "Bug 552479: Reuse argument string to array from CommandLineUtil"
This reverts commit 1060546c36.
2019-11-14 10:47:04 -05:00
Jonah Graham
1060546c36 Bug 552479: Reuse argument string to array from CommandLineUtil
The version of stripArgs that was here did not deal with quoted
arguments properly

Change-Id: I5a63338b618563f20a0f5995a6ec55e1af4ec0f0
2019-11-14 10:46:17 -05:00
Jonah Graham
c53b59c36b Bug 552481: Expose error when wizard fails
An example of a failure that used to be buried in the log is a project
that failed to be created due to different case resource exception.

Change-Id: I89acd7474d499cfe258dfdd840983bef64d38838
2019-11-14 09:56:23 -05:00
Nathan Ridge
fac1ba39e6 Bug 536986 - Add support for string literal operator templates
This was proposed for standardization in N3599. The proposal was not
accepted, but it's supported by gcc and clang as an extension.

Change-Id: I0c4a6e532f3a9172a8cb26218f0a608a1ca6be7d
2019-11-08 22:22:25 -05:00