1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

26067 commits

Author SHA1 Message Date
Bassem Girgis
d8c2330efe Bug 509751 - Process function template with non-dependent return type in ReturnChecker
Change-Id: I8274affff8152dba35233a06cd8cdaef39cf00bb
Signed-off-by: Bassem Girgis <brgirgis@gmail.com>
2019-02-19 18:15:19 -05:00
Marco Stornelli
a6d06902b1 Bug 496249: Tags for disabling/enabling CDT code formatter
Change-Id: I4389c61612da6a4ee0011a49d6aeed7b52152436
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-02-19 20:49:58 +00:00
Felix Morgner
f60bbf25dd Bug 544539: Codan requires universal resolution from plugins
Change-Id: Ia7da2450d90e644d270928dacb86a2c470982c10
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=544539
Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
2019-02-19 09:10:36 +01:00
Marco Stornelli
8fe6bbb70e Bug 544516: Format edited lines as save action
Change-Id: I988eb34c433aa121ce2afb1da51984ab4fb24b09
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-02-17 19:08:29 +00:00
Jonah Graham
9465c8bd50 [releng] Update baseline to CDT 9.6
Change-Id: Ia4d74f82002dfd51d471799f2e9e4229d0201143
2019-02-17 16:46:08 +00:00
Simeon Andreev
db1326bbb3 Bug 543129 - NPE in GdbFullCliConsolePage.dispose()
With the fix for bug 536677, disposing a org.eclipse.ui.part.Page will
dispose also its site.
org.eclipse.cdt.dsf.gdb.internal.ui.console.GdbFullCliConsolePage.dispose()
calls super.dispose() and then accesses the page site, which results in
a NPE.

This change changes the order of disposal to the natural order,
extending class first and then the super.

Change-Id: I853c8c426b9ea4e1403cd9af34f9878f6379f72a
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2019-02-14 16:12:39 +01:00
Simeon Andreev
31b4c257b1 Bug 509263 - Fix warnings for missing enablement expression on start-up
This change adds empty enablement expressions where they are missing, in
order to prevent start-up warnings such as:

Enablement expression is missing for config provider for
org.eclipse.cdt.debug.core.coreBuildDescriptorType

Change-Id: Id7f2b6149230ddde24764772c5b67ff5eef28b65
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2019-02-07 13:00:41 -05:00
Jonah Graham
ec54cf7241 Bug 544244: Stop using deprecate code from LSP4E
Change-Id: Ie82af8a2af56870cafcfd332166942d8080aab26
2019-02-07 16:53:02 +00:00
William Riley
18f9dff1e6 [releng] Update to newer launchbar
Change-Id: If646733d1a0fa17f13bfa1cc951ff08cabe69190
2019-02-04 11:59:44 +00:00
Nathan Ridge
9290546e2f Bug 543819 - NPE in EvalFunctionSet.isEquivalentTo()
Change-Id: I4f443f95c1a9bff7150abec323ab8afc576d5f00
2019-02-01 22:54:53 -05:00
Hannes Vogt
e5466b8204 Bug 543913 - False negative in ctor with wrong arguments
Change-Id: I3a9c692383c5c9d8c465d9ecbc66463b39d5199d
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-02-01 07:18:02 +01:00
Jonah Graham
740496c20f [releng] Update to newest jacoco-maven-plugin
Change-Id: I536630ac5a465afe845f9fe5287c2c6f88a531b8
2019-01-27 16:32:20 +00:00
Jonah Graham
0439368bc9 [releng] Bump version number of p2 repo
This should have been done at the same time as commit:
  677cc2cf63

Change-Id: I1e811eba3882ea0ed08d16fdb828994e153c784a
2019-01-18 10:48:23 +00:00
Jeff Johnston
fb5f9ca93b Bug 543353 - CDT TestModelManager setTestingTime requires null check
- add check for null in TestModelManager.setTestingTime()

Change-Id: Ideac81dcc4a1584f6be4088bbe410436f1c010db
2019-01-10 18:57:56 -05:00
Mat Booth
99938437f4 Bug 543299 - Standalone debugger gives GTK+ 2 warning on startup
Remove the GTK version parameter from the product definition.

Change-Id: I923d757d94c791f4f0a5f40a1f16ef810896ac97
Signed-off-by: Mat Booth <mat.booth@redhat.com>
2019-01-09 10:39:52 +00:00
Waqas Ilyas
a05bc1a576 Bug 542849: List serial devices starting with ttyS
Change-Id: I874bdebaec7a04257a81aea4c8419f3a783cdf12
Signed-off-by: Waqas Ilyas <waqas.ilyas@gmail.com>
2019-01-08 15:14:07 -05:00
Jonah Graham
4ed5a2ab13 [releng] Update target platform URLs from milestones to releases where possible
Change-Id: Ia8815a861ab25ebce516dbe3d000388c66f7566c
2019-01-08 18:47:48 +00:00
Jonah Graham
934fa19482 Bug 540978: Rename identifiers and some other places to o.e.cdt.lsp
Change-Id: I6edbbb2cf103010bbc67ea0140bfec694652a685
2019-01-04 13:07:38 +00:00
Jonah Graham
1c595b1187 [releng] increment service segment by 100
Following https://wiki.eclipse.org/Version_Numbering#When_to_change_the_service_segment

Change-Id: I1d1a2ec8eccb1a00272c5e1db7b4bc4919cd9f0a
2019-01-04 09:58:21 +00:00
John Dallaway
cb80708cb0 Bug 543149: Report download progress during launch
Change-Id: Icf3545f600b91bc80827cec920fc10a0668ca0f1
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2019-01-03 17:02:06 +00:00
Alexander Kurtakov
90dd1e77f9 Fix startup warnings from launchbar descriptors.
ENTRY org.eclipse.launchbar.core 2 0 2018-12-21 21:41:37.864
!MESSAGE Enablement expression is missing for descriptor type
org.eclipse.cdt.debug.core.coreBuildDescriptorType

!ENTRY org.eclipse.launchbar.core 2 0 2018-12-21 21:41:37.866
!MESSAGE Enablement expression is missing for config provider for
org.eclipse.cdt.debug.core.coreBuildDescriptorType

!ENTRY org.eclipse.launchbar.core 2 0 2018-12-21 21:41:37.867
!MESSAGE Enablement expression is missing for config provider for
org.eclipse.cdt.debug.core.coreBuildDescriptorType


Change-Id: I2a739d8ad382a934e1a0e5b8f02f0e21cf1eeda0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-22 15:20:49 -05:00
Jonah Graham
a7f1eb27e9 [releng] increment service segment by 100
Following https://wiki.eclipse.org/Version_Numbering#When_to_change_the_service_segment

Change-Id: I57f2b230e2190fc81cbdff5284f7b5e07db865d9
2018-12-22 09:10:26 +00:00
Alexander Kurtakov
68877a4b80 Move helprun against 4.10.
Needed so help index is rebuilt against latest lucene so it can be
usable.

Change-Id: Ifc9c65d50e6c9ea0e2735ec7587c09e6f46699b0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-22 00:03:59 +02:00
Alexander Kurtakov
a4c21ac717 Fix warnings about non-vararg override for vararg method.
Change-Id: I8b4aadf9e1357e1a0203c92bba9e4495f668e787
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-21 22:02:55 +02:00
William Riley
c6e069df3e [releng] Use release tycho 1.3.0
Change-Id: I6b9b343879b6787a1329d0fce25ab4223d52c30c
2018-12-20 09:11:17 -05:00
William Riley
84381c7a23 [releng] Try to fix signing with baseline replacement
Change-Id: I1b1b63e095c9309836ec0850c7afe6adf09ebf51
2018-12-20 09:03:14 -05:00
Jonah Graham
2c3e9b58a0 [releng] Update comparator repo
Change-Id: Ib7628c0b68a2392c7975019f5dcb74fa4ade2274
2018-12-20 08:37:56 +00:00
Jonah Graham
76cc07a4cd [releng] Bump version numbers for plug-ins changed since branch point
Following https://wiki.eclipse.org/Version_Numbering#When_to_change_the_service_segment

Change-Id: I019f2f6bcf11e5e4fb17960dc28a1fb2fac6ace0
2018-12-20 08:37:56 +00:00
Hannes Vogt
945e48a40c Bug 542448 - Return ProblemBindings in list initialization
- Return ProblemBinding if conversion from init list failed
- In conversion: don't allow implicit conversion with explicit ctor

Change-Id: I3145b89df778a035ced9999aff4d8a4164eac17f
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-12-15 02:12:33 -05:00
Simon Marchi
eb83237dc4 Fix license comment block in download-build-gdb.sh
The automated license change didn't handle this case properly.  Add the
missing #s.

Change-Id: I11ad2c22b3be7b4d3db66aa69386619007aa8b6e
Signed-off-by: Simon Marchi <simon.marchi@ericsson.com>
2018-12-14 11:16:17 -05:00
Lutz Hamann
c78246edea Bug 539328 - Fix NPE in NewArduinoTargetWizard
Arduino-Connections can be created and edited using Preferences->Remote
Development->Remote Connections.

Change-Id: Ie92330689bdad4987c12d2bd17828dbe5e862b90
Signed-off-by: Lutz Hamann <lhamann@planettime.de>
2018-12-12 10:08:21 -05:00
Christian Walther
0f75bfc383 Bug 542676 - Headless build missing some console output
The ConsoleOutputStream method added in 6e1b9b4 must be overridden here,
otherwise text sent to it does not appear along with the other console
output.

Change-Id: I1a3803ffb8962140537b877f0df328a4037b4dfb
Signed-off-by: Christian Walther <walther@indel.ch>
2018-12-11 17:24:32 +01:00
Jonah Graham
c3d7ca1854 Bug 542644 - Add new tools.template to CDT.setup
Change-Id: I899d4681ce514b136bc05d063048b0b411db9b68
2018-12-11 14:38:11 +00:00
Jonah Graham
4b0d89b5f7 Bug 542644 - Add fragment for Java 11 JAXB dependencies
Change-Id: I3c723dffb693998f3b57067b0973ff7b52c2c8d2
2018-12-11 14:36:45 +00:00
Jonah Graham
d4296a6865 [releng] Update to newer tools.template
Primary purpose is to resolve Java 11 JAXB issues.

Change-Id: I1341e64d24f1c3d41c1331642f73ace53a8c5544
2018-12-10 16:55:32 -05:00
Jonah Graham
677cc2cf63 [releng] Bump version to 9.7.0
Change-Id: Icaa0b6acf73e3a19e0d102fa8ae784e631d8743a
2018-12-10 13:50:44 +00:00
Christian Walther
f2f92ab404 Bug 335344 - External settings lost after changing language IDs, take 2
The original fix (a733900) only fixed part of the problem: It worked for
the case where a complete CExternalSetting was removed and replaced by a
different one, but not in the case where individual entries from a
CExternalSetting were moved to a different one, but others remained
(and, in both cases, the two CExternalSettings applied to the same
ICLanguageSetting).

This commit
- adds a test for the additional condition, which would previously fail
- reverts the previous fix, which is made redundant by the new one
- fixes both cases by applying removals before additions with
ICSettingEntry granularity per ICLanguageSetting rather than for whole
CExternalSettings.

Change-Id: I1b1ee7443b83189c29e458eef12be9cad6b3965d
Signed-off-by: Christian Walther <walther@indel.ch>
2018-12-10 11:42:44 +01:00
Hannes Vogt
2fc42590fb Bug 541717 - Partial ordering and DR1395
- As of [temp.func.order] p5 only parameters for which there are explicit
arguments should be considered.
- Implement [temp.deduct.partial] p11 (resolution of DR1395).

Change-Id: I56262229a6fe4717c22aac814aa9ea42eb37a10d
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-12-08 11:15:40 +01:00
Lutz Hamann
12207e79db Bug 533588 - respect OS-specific override in platform.txt
HierarchicalProperties already allow for OS-specific overrides, so

1 - convert platformProperties to HierarchicalProperties
2 - change HierarchicalProperties to allow overwriting of non-empty
properties. Before it would only use the platform child if the value for
the entry itself was null. With this change, if a platform child exists
its value is used if
- it contains a property or
- has an empty property and no further children. In this case the value
was specifically overridden with null

This change also allows proper parsing of esp32 platform.txt

Change-Id: Ie13a1bee57c216f6ab37cfc0208ef7711dfc62e8

Change-Id: Ie13a1bee57c216f6ab37cfc0208ef7711dfc62e8
Signed-off-by: Lutz Hamann <lhamann@planettime.de>
2018-12-06 10:30:54 -05:00
Torbjörn SVENSSON
4c605d68c5 Bug 542436 - Added method to override whitch IGDBBackend instance to control
In some situations, it makes sense to have more than one GDB instance.
Allow to reuse the GDB controling layer to avoid more code duplication
than neccessary to have a second GDB session.

Change-Id: I641919157c5b86c14ff768c8cd3fcddc9dcdbeb2
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@st.com>
2018-12-06 05:11:54 -05:00
Nathan Ridge
089d7e1d61 Bug 541549 - Pack expansion expression in type of alias template
Alias templates can be instantiated with dependent arguments, which
can themselves contain a pack expansion, so we need to take care
that pack expansion expressions are instantiated correctly.

This was previously fixed for pack expansions of types and template
arguments in bug 486971.

The patch also fixes a bug in CPPTypedef.getType() where alias
declarations weren't handled correctly. (This bug would only occur
during debugging as normally the type would be computed via setType().

Change-Id: Ie70a923fc9dd0f177b7bfb429b8f1387966b416d
2018-12-05 14:34:40 -05:00
Nathan Ridge
3ee513f324 Bug 541584 - Support alias templates in Open Element
Change-Id: I43565b165bd98112ef63e01bc2576a93855f8891
2018-12-05 13:44:30 -05:00
Marc-Andre Laperle
efb9ddbb63 Remove a few internal, deprecated methods
Change-Id: I073f7770a594ec226f7adf5d5022960a298608c7
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-12-03 23:12:24 -05:00
Marc-Andre Laperle
597b0dd83e Remove WorkingCopyInfo class (internal, unused and deprecated)
Change-Id: If883af97139c4b00f93a99c76a8fdd6e6cb0ec59
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-12-02 13:51:58 -05:00
Lutz Hamann
228708a4dc Bug 541784. Fix typo in recipe_objcopy_eep_pattern
Change-Id: I6aab65f52e630e8cf4c4438de80e0a56322a8b88
Signed-off-by: Lutz Hamann <lhamann@planettime.de>
2018-12-02 13:49:21 -05:00
Marc-Andre Laperle
52b4a02b20 Remove a couple of StreamMonitor classes (unused)
Change-Id: I13224ff79440fc181ab7128d7620ca2c1190f646
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-12-02 12:01:27 -05:00
Nathan Ridge
8c78a241d5 [LSP4E] Support separate semantic highlightings for declarations of functions, methods, and local variables
Change-Id: Iee7252b55810b8691a1b2344593a804a47ab6cbe
2018-12-01 17:49:05 -05:00
Nathan Ridge
f5322a32d3 Rename instantiateCommaSeparatedSubexpressions() to instantiateExpressions()
instantiateCommaSeparatedSubexpressions() is a clunky name, and in C++17
(with fold expressions) the function will no longer be limited to comma-
separated expressions.

Change-Id: Id242f58bb291e79cefe2b28db12dbde4bafba4ed
2018-12-01 01:15:24 -05:00
Marc-Andre Laperle
499cdbf01d Remove JVM MaxPermSize arguments (unused since Java 8)
Change-Id: Ie33b44064429f409fa721141f14f4e519014f6aa
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-11-29 23:05:14 -05:00
Hannes Vogt
8f9e8f045c Bug 541474 - Disambiguate function with default argument
Take number of explicitly passed arguments into account.

Change-Id: If85f072d8b18f3fd1ca28f3c5688e864b0ffb4cd
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-11-29 18:36:25 -05:00