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

26225 commits

Author SHA1 Message Date
Jonah Graham
c5c5412f8d Bug 540373: Remove invalid javadoc API tags
Change-Id: I240bbe08666b89861fe132c6384174be7883c022
2018-11-22 20:33:28 +00:00
Jonah Graham
f70a8b35c1 Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-22 20:31:51 +00:00
Jonah Graham
f0ce92d3b5 Bug 540371: normalize files before applying EPLv2
Change-Id: I8bfd427bba1df18579d6d5e58ad1e5d704485050
2018-11-22 20:30:13 +00:00
Jonah Graham
cd61252736 Bug 540371: Script for updating to EPLv2
Script based on work done by Lars Vogel on Eclipse Platform.

See https://git.eclipse.org/r/#/c/127598/

Change-Id: Ic8d04a20c955179645fdeeb11cb3861d7b31fa3f
2018-11-20 21:22:12 +00:00
Jonah Graham
48d2271a58 Bug 540373: Normalize newlines with .gitattributes
There is also a new script to verify completeness of .gitattributes:
releng/scripts/verify_gitattributes.sh

Change-Id: I2ce270852ab54b66b6c474a6ec94203fe5bba78b
2018-11-20 21:20:39 +00:00
Jonah Graham
3cf0297769 Bug 532077: Preserve Ignore Count set in the platform breakpoint
Change-Id: I19ad64254b0e9ed55114f2e83fe2f09e2aeac83c
2018-11-18 12:36:44 +00:00
Jonah Graham
090fc94fa0 Bug 536448: Require target platform bundles as minimum version
Without setting dependent plug-ins to minimum version to match the
target platform we are aiming for we can imply (and therefore let install)
CDT into older versions of Eclipse where CDT does not actually work.

This can be exposed in very odd ways, such as IllegalAccessError, when
platform has allowed API changes.

However, rather than update every single bundle in CDT, only the
o.e.cdt.core/ui bundles are being updated as this should achieve the
desired result without every other bundle needing to be touched.

Change-Id: Idf166bc4f4a39ad5096386e24cbff234c0238900
2018-11-17 20:41:49 +00:00
Jonah Graham
a7425a05b4 Bug 541270: Fix Restore Defaults for Console Prefs
Bug 414525 was trying to workaround Bug 270326/320723 but did not
handle the case that no plugin_customization.ini was provided.
This fix make Restore Defaults for Preferences ->  C/C++ ->
Build -> Console work again.

Change-Id: Idbacc2a0baece6c3f594cfac4a2eeece886bac80
2018-11-17 19:55:31 +00:00
Jonah Graham
39b6373f66 Bug 407405: Limit wrapping in Build Console
If the build console is too long word wrapping is very slow. The
underlying issue is Bug 168557, this is just a workaround so users
don't fall down this particular rabbit hole.

Change-Id: I1be3540003d475e2d5431295219198ae2db7862f
2018-11-17 19:55:27 +00:00
Nathan Ridge
e082f73b56 Bug 540957 - Implement equivalence checking for expressions
This is used for declaration matching in function templates.

Change-Id: I80044304b2d9dfda085a13f0cfc040f1200a2e1c
2018-11-17 03:02:51 -05:00
Jonah Graham
54f6c19de2 Bug 541069: Don't error on missing variables when doing substitution
This is a follow up to 60d95da97b (Bug
399460) as in that change the reporting option inadvertently changed.

Change-Id: I1afe70632107ab388be09a707e8e9fc419f76b91
2018-11-16 11:24:38 +00:00
Nathan Ridge
b6c1a085d1 Bug 540909 - underlying_type of typedef to enum
Change-Id: Ic4f48c4da79419d5404e132da2944ee2823ca41f
2018-11-15 21:47:11 -05:00
Marc-Andre Laperle
ef2b34f148 [releng] Fix missing dependency in stand-alone debugger
Change-Id: I347d47ea4689aa154ddb090b9cc05e7dc132959e
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-11-14 18:57:24 -05:00
Jonah Graham
41c369ee01 [releng] Update to newer tools.template for javax.xml.bind issues in Java11
Change-Id: I224e0248eb49feeea79b05ef394f94b943b2a6a6
2018-11-14 07:13:44 +00:00
Marc-Andre Laperle
7999eab841 Bug 516046 - NPE in AbstractDebugTextHover when hovering over undefined macro
Change-Id: If732a826801f025e929f711fa35a793545d0ed73
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-11-13 21:20:13 -05:00
Nathan Ridge
a561d301ca Bug 512297 - Improve propagation of semantic problem IDs
Change-Id: I3c95a244e88abe37f550370ff6c7c9aec2c102da
2018-11-13 17:46:50 -05:00
Doug Schaefer
afe7d18793 Bug 540978 Rename lsp plugins to be org.eclipse.cdt.lsp.*
To make it clear these are CDT's future :).

Change-Id: I64935e3998a46632f4f4006589a17eb01959eb27
2018-11-10 14:09:43 -05:00
Marc-Andre Laperle
f9250cb361 Add com.sun.xml.bind to target
This is a convenience for working in combination with the source
of o.e.tools.template which is not unusual.
Also add a few more missing things to Oomph setup for Java 11.

Change-Id: Ifc6105e251a7b8d855cf76401cdb3740c55f79c9
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-11-09 15:09:34 -05:00
Jeff Johnston
331be6c45c Bug 540423 - C/C++ Container Launcher missing Port Binding
- add new ContainerPortDialog class to allow user to specify
  ports in the launch configuration Container tab
- add new ContainerTabModel and ExposedPortModel classes to
  support new functionality
- add new Ports group to ContainerTab and have a table
  where a user can add, edit, remove, and select ports
  for publishing to the host
- add new attribute ATTR_EXPOSED_PORTS to ILaunchConstants for
  saving and restoring user selected ports in C launch
  configuration
- add needed internal messages to support new port settings
  functionality
- bump up org.eclipse.cdt.docker.launcher version

Change-Id: I93b7503bdc141e3077418800352507ef38e65ab1
2018-11-08 17:57:23 -05:00
Hannes Vogt
f9c8f0da02 Bug 540676 - Improve parsing of alias templates
- If the argument for a template template paramter is unknown
(ICPPUnknownType), don't create a problem.
- Ensure that a possible argument-parameter mismatch is caught at
template instantiation time.

Change-Id: Ief61ef93f9d0c19d043aedb89f1c5e66c0374ef2
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-11-06 10:31:06 -05:00
Jonah Graham
c3d4f06575 [releng] Update to newest maven-pmd-plugin
Change-Id: I357bdc57b8f1743928899fb91ac4a316008b58bf
2018-11-05 09:24:26 +00:00
Jeff Johnston
eea4bbabd6 Bug 540699 - NoClassDefFoundError in AutotoolsNewMakeGenerator
- use of CommandLaunchManager requires higher version of cdt.core
  than Autotools specified so up to 6.5.0

Change-Id: I315e69defeee9d7d1e6c016edff2d96013fe13e9
2018-11-02 10:46:29 -04:00
Hannes Vogt
481db37a59 Bug 540450 - Fix @since version
Change-Id: I5c31d97dbbd277a87147cb05d0245ce0953189bb
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-11-02 02:13:52 -04:00
Marc-Andre Laperle
a8a9138258 Remove NewMakeProjectPreferencePage (unused)
It is not used anywhere and it's internal.

Change-Id: I4e157ec7fd1184118aea8f6bef35a850dfeb0945
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-11-01 23:09:46 -04:00
Marc-Andre Laperle
c278f4575f [lldb] Remove work-around for missing '-gdb-set breakpoint pending'
For more recent versions fo LLDB (8.0.0-r345563) this work-around is not required.
This is a follow-up to bug 539641.
See also https://reviews.llvm.org/D52953

Change-Id: If5f951a33fab8781a594175571d0ad5131e9ef15
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-11-01 22:38:11 -04:00
Hannes Vogt
b33ebe2ee6 Bug 540450 - Parsing dependent template name
Parse dependent template names as type.

Change-Id: I35461b2e4a615f34749e6ff17b2a85406ec2cf12
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-10-31 01:21:26 -04:00
Karsten Thoms
652602febd Bug 540610 - Add Automatic-Module-Name header
Change-Id: Ia990b24469751050dd9ec8f9b5550804816308b3
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-10-30 15:49:15 +01:00
Jeff Johnston
26bdf7e82f Bug 540523 - NullPointerException in MesonPropertyPage.performOk method
- add check that buildConfig field has been set before performing any
  activities on it

Change-Id: If3ab7a0b20b54a9c16b26902c06b615e4c514ffa
(cherry picked from commit 9031090393)
2018-10-29 17:36:03 -05:00
Marc-Andre Laperle
08721bdf8e Bug 540257 - "Align Const" save action causes NPE when saving Assembler files
Change-Id: Ie3a086ddc7bc79eaef259a570327408e098bef51
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-10-29 01:11:07 -04:00
Hannes Vogt
8404a76e6e Bug 540538 - Pack size for CPPTemplateParameter
Change-Id: Ie67f27711ca658e9b4b3526c5c3c28541dcd3a15
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-10-29 00:06:15 -04:00
Nathan Ridge
1cbe7e32b9 Bug 540159 - ClassCastException in ExecDeclarator.unmarshal()
Change-Id: Ia51244b558798c052f1ec7a6918c6f85a6509655
2018-10-28 22:53:09 -04:00
Nathan Ridge
a00346af22 Bug 540112 - Perform C++14 return type deduction in ReturnChecker
As part of this change, ReturnChecker was refactored to compute the
return type as an IType, which allowed for removal of some logic in
ReturnChecker which duplicated CPPVisitor's type resolution work.

Change-Id: I9cd8512164d650a5ee11d2e58fdae477e3c428a2
2018-10-28 22:52:37 -04:00
William Riley
4689fdee68 Bug 540367 - Enable Reproducible Version Qualifiers
Change-Id: I1ccd2330951a83a7632c67a6274b7527cd9f237c
2018-10-24 04:44:00 -04:00
Jeff Johnston
cc20f1a9bb Bug 540410 - ContainerTargetTypeProvider causes ClassNotFoundException
- bump up minimum org.eclipse.cdt.core needed for
  org.eclipse.cdt.docker.launcher plug-in so that
  ICBuildConfigurationManager2 interface is available

Change-Id: I5e77e7b43bdea1f0b59c79fcdfced7c162b64e9a
2018-10-23 17:21:56 -04:00
William Riley
f3ca365140 Bug 540367 - Increment version numbers
Change-Id: I4a355170a7075f0a98ba3c1a5131c235c89b07d2
2018-10-23 11:20:31 -04:00
Hannes Vogt
e61ba5a731 Bug 529656 - Error if docker build failed
If the build command in a container build terminates with non zero exit
code (e.g. make command not found) an error is displayed.

Change-Id: Ib6349aa6c22c1a3bb9c0d2920110bc69773f8da1
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-10-22 11:10:26 -04:00
Evgueni Driouk
1fa5f7d6e5 Bug 540369 - HeadlessBuilder: change private to protected
Change-Id: Ib8ca36aa50ce6060d4f8fb14f5b74c3662bc8862
Signed-off-by: Evgueni Driouk <Evgueni.Driouk@arm.com>
2018-10-22 09:51:01 -04:00
Christian Walther
ebc9420473 Bug 534423 - Sort configurations in the Exclude from build dialog
Sort the configuration list in the same order as used by the project
property pages (case-insensitive nonlocalized), almost the same order as
used in the Project > Build Configurations > Set Active menu
(case-sensitive nonlocalized), not in the internal order coming from the
.cproject file.

Change-Id: Ia05bd163043f762dd96da4c69d409ecee9accb8c
Signed-off-by: Christian Walther <walther@indel.ch>
2018-10-22 06:16:24 -04:00
Jeff Johnston
c9eee479b4 Bug 540085 - Deadlock in ToolChainManager init
- modify ContainerGCCToolChainProvider.init so that the
  CBuildConfigurationManager.recheckConfigs() call is done
  within a separate job so the init() call will return
  without causing deadlock
- do the same for ContainerTargetTypeProvider
- modify CBuildConfigurationManager initProviders() method to
  be synchronized

Change-Id: I4ca9371fb340887233872b6d315621a24450fb2b
2018-10-12 13:14:52 -04:00
Marc-Andre Laperle
efbda46cba Bug 389577 - False positive "Unused static function"
Add handling of constructor/destructor attributes and some improvement
when functions were previously declared but not defined as used.

Change-Id: I7537bc87c6c4bc5b294d8e15fe5b42c92b3f2974
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-10-11 22:43:20 -04:00
Hannes Vogt
8492296d24 Bug 538069 - Save non-type template parameter...
... of template template parameter in index.
Fixes false positive "Invalid template arguments".

Change-Id: I82cd9aece8f03142cbdcf5d1058113684c29d6fe
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-10-11 22:24:45 +02:00
Bassem Girgis
ae8442fd6d Bug 519311 Handle delegating constructor in class template
- Fixed delegating constructor resolution for templated classes in
ClassMembersInitializationChecker
- Added a unit test for this bug

Change-Id: Idb072ec05e66e0f10af53db8258459ad14f7f329
Signed-off-by: Bassem Girgis <brgirgis@gmail.com>
2018-10-10 00:09:22 -04:00
Bassem Girgis
9c04b1bcf7 Bug 519473 Fixed member function calling with references
Change-Id: I86d1dfacb6f842be688bfdaf2a6a0faf0ffade09
Signed-off-by: Bassem Girgis <brgirgis@gmail.com>
2018-10-09 23:57:48 -04:00
Marc-Andre Laperle
631ee3a6fb releng: Stop building 32-bit stand-alone debugger products
Since the Eclipse Platform 4.10 is dropping support for 32-bit,
it doesn't make sense to still build these and it will ultimately
fail once we start building against 4.10.

Change-Id: Ia83a93b99092b7a3378ed95607411da5835118a6
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-10-09 17:44:50 -04:00
Torbjörn Svensson
aef0eaee8c Bug 539882: Applicability calculator should be called with option category
In some situations, it's convenient to create option categories on the
abstract tool and use an option applicability calculator to hide the
option category if no option is added to the category in an extending
instance of the tool.
To make the decision, the calculator needs to know what category is
to be checked.

Change-Id: Id4a269ee583f1f3dee88dee797ba89a0e92d1a42
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2018-10-09 05:47:15 -04:00
Marc-Andre Laperle
ae78fde323 releng: Use features instead of Eclipse product in target/targlet
In order to work around
https://bugs.eclipse.org/bugs/show_bug.cgi?id=539902

Also update the target to make it closer to the Oomph setup.

Change-Id: Ie581ea499d7cd0956780717f3a34e0762f868c0d
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-10-08 15:23:56 -04:00
Marc-Andre Laperle
a8d5ba9e20 releng: Add some missing dependencies to Oomph setup
Change-Id: Icfce69bc5c98f13e520035270085503907a92c68
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-10-08 15:23:56 -04:00
Marc-Andre Laperle
d537c6030c Bug 486036 - Toggle Function Definition does not work when comment is involved
Change-Id: I77a2c2fe0607ce098da4a4e7679fc3999ea7ebbf
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-10-06 11:36:37 -04:00
Jonah Graham
dac83cdde6 [releng] Proper URL for platform with milestones being removed
Change-Id: I2b67587169afc6cfe458547ae70fa4df5b04f536
2018-10-06 15:57:08 +01:00
Marc-Andre Laperle
0cb3188339 Bug 539641 - [lldb] Pending breakpoints do not work
lldb-mi doesn't implement "-gdb-set breakpoint pending"
so instead we always use "-break-insert -f" to always use pending breakpoints.
Once the -gdb-set is implemented in lldb-mi, we can remove this.
See also https://reviews.llvm.org/D52953

Change-Id: Id07da58e0530898401d2f7285c44c97b38637542
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-10-06 00:16:51 -04:00