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

13916 commits

Author SHA1 Message Date
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
Jonah Graham
7a2ff27b91 [releng] Update comparator repo to last release
Change-Id: I00901808f1eda041f070b2f3e1cda076987c69a5
2019-10-17 10:07:44 -04:00
Marco Stornelli
fa012eb7d4 Bug 545704 - Added checker for float comparison
Change-Id: Id5529b9bd5ee38bac5f5b7e8adab741f0bce3f8e
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-17 00:58:22 -04:00
Jonah Graham
2f5f4d50a2 [releng] Bump to CDT version 9.10.0
Change-Id: I027e7e5542fda3e599ee476814593fc4b464adca
2019-10-16 10:55:28 -04:00
Nathan Ridge
02789c6a1e Bug 551689 - Fix equivalence computation for simple literals
We were using equals() on char[] array objects which returned false if
the objects were distinct, even if they contained the same characters.

Change-Id: Iff5da52c67a0c17d857d791f57e768aafa7e165d
2019-10-14 12:22:43 -04:00
Marco Stornelli
5c77776dcd Bug 550096 - Fix format function parameters in macro expansion
Change-Id: I509e434032a49a853e1794ab2d4b5a6a864eb5da
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-13 10:16:08 +02:00
Alexander Kurtakov
d0d6f57a50 Move away of deprecated imageDescriptorFromPlugin.
Change-Id: I855682065fe6b40deeedc6cd7b5cb419848caac0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 08:57:51 +03:00
Alexander Kurtakov
7cd94f8f91 Move away of deprecated IDE.getEditorDescriptor method.
Change-Id: Id7e61518276a5cf1f9395ada03c8168d1a5a0920
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:57:50 +03:00
Alexander Kurtakov
dbaf7ae694 Remove javadoc references to deprecated classes
Change-Id: I458076ccd407198e7d042bdf6f07ea5be0f87791
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:32:02 +03:00
Alexander Kurtakov
9f37660751 Navigator view is scheduled for removal.
Get rid of it in user visible places for now.

Change-Id: If887dce5de1a9a23a8fa2a55445b632b31ba6401
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:26:19 +03:00
Alexander Kurtakov
824a7cb4d1 Add missing Override annotations.
Change-Id: Ie5974aadea249a8cbc44524c297c29137ec9f4f5
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:19:14 +03:00
Alexander Kurtakov
5224c92b67 Generify Class.
Change-Id: I065b4f7c1559a141ebf2e0c82e896557a7cfc05f
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:10:57 +03:00
Alexander Kurtakov
5690cf3738 Move to non deprecated templates classes.
Change-Id: I54561f5ad5b7cd7726c0e5e1863a0603f46d7dd8
2019-10-10 22:52:34 +03:00
Alexander Kurtakov
8ba5a7191f Migrate to ViewerComparator.
Change-Id: I5b70806ca7376797e387164158a0c41d52b59cb5
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-10 22:20:44 +03:00
Marco Stornelli
a781cdf342 Bug 343274 - Fix VariableReadWriteFlags errors
Read and write flags weren't correctly set for array access.

Change-Id: I2c54b270895514f3681903709498aa9344a5bc7e
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-06 09:32:08 +02:00
Marc-Andre Laperle
a71a413500 Use SafeRunner in LanguageSettingsProviderTab
If an option page contributed by an extension throws an exception,
then none of the other pages get created. It is better to use a
SafeRunner when in such case where plugins could break other things
than its own functionality.

Change-Id: I531c966be8ef6460a838b3d10bc61dcbdbe627b0
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-10-03 23:16:18 -04:00
Marc-Andre Laperle
4e16631f30 Bug 360919 - [MSVC] preprocessor symbol __STDC__ always defined
Move the __STDC__ macro to the scanner configuration extension, where we can
differentiate compiler type. Only add it when compiler type is not MSVC.
This will miss the case where MSVC is compiling in C mode and /Za is used,
then __STDC__ should be defined but this is a much less common case and would be
addressed likely outside scanner configuration.

See also
https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros

Change-Id: Icc5d3ef038fb468efe33802a04fc78fc1e5e583e
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-10-03 23:14:32 -04:00
Hannes Vogt
b52b03a9bc Revert "Bug 549362 - Aggregate init for union-like classes"
This reverts commit 9a6fd2ab97.

A proper implementation is needed to resolve bug 551610.

Change-Id: I1ea353ea905a33dc43ceda59dde93c15de2032cd
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-10-02 07:51:46 +02:00
Hannes Vogt
944ec0e06e Bug 549367 - [C++17] Aggregate init of base
Implements http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0017r1.html:
Types with non-private, non-protected, non-virtual base classes can be
aggregate initialized.

Change-Id: Idad341d45d6aaf1d8c36691cf8d7bc7cd049e28b
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-09-26 00:12:11 -04:00
Hannes Vogt
aee38fb062 Bug 549036 - Init Type(std::initializer_list) from Type{...}
Fix constructor calls of the form Type{...} to a constructor of
the form Type(std::initializer_list<T>).
So far only Type({...}) was supported.

Change-Id: I09e3b8c9c73c30e12c0c370a5c88885079a14746
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-09-24 01:03:27 -04:00