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

13985 commits

Author SHA1 Message Date
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
Marc-Andre Laperle
058230c13b Remove DeleteResConfigsAction and ExcludeFromBuildAction
Deprecated since CDT 8.0 and not used anywhere.

Change-Id: Ie0dc3e844dfc2edd9ac4e77501372fec7a36c2f2
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-11-07 22:57:31 -05:00
Marc-Andre Laperle
fd156ed737 Fix wrong @since after api baseline update
Change-Id: Id643d6a3b4abc124ec389bbd8ac18a00c5247352
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-11-07 21:38:49 -05:00
Jonah Graham
e27e94fb96 Revert "[releng] Add o.e.cdt.core.tests to cdt-ui.skip.tests"
This reverts commit 23bac92ae3.

Change-Id: I829c239f9bc46481add4c27135bed86473e41f54
2019-11-07 09:36:42 -05:00
Jonah Graham
a5a2be90e7 Bug 552745: Disable intro screen (webkit use) in tests
Change-Id: Ib97fb00cb96af34a14d89a07d88de15c276537aa
2019-11-06 17:26:04 -05:00
Jonah Graham
23bac92ae3 [releng] Add o.e.cdt.core.tests to cdt-ui.skip.tests
This was done to try to diagnose Bug 552716

Change-Id: I0e86573ff9e1fc054e66f3b69345613fcf0558c5
2019-11-05 21:44:32 -05:00
Jonah Graham
35338f28a3 [releng] Cleanup code that has been misformatted and update to SDK 4.13
The check-code-cleanliness CI jobs have not been running recently,
so this commit is to the code up to those minor changes

Change-Id: I9fb4b0213dec558f58c5ca718b3d2685564ef456
2019-10-28 13:07:02 -04:00