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

26245 commits

Author SHA1 Message Date
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
Nathan Ridge
586ccf790b Bug 541670 - constexpr implies toplevel const
Change-Id: I318a9293d12eeecb7f49bfba1acb849109fab666
2018-11-29 17:40:20 -05:00
Nathan Ridge
9e44f3634a Bug 540758 - Substitution of enclosing template parameters into expansion pattern
Change-Id: Ib31db579c7d5a9be2f64fe992abac48c0e2b136a
2018-11-29 17:25:43 -05:00
Doug Schaefer
1a8b9a9628 Bug 541709 Fix up exceptions when we can't find toolchains.
We weren't checking the case where the size of the toolchains array
was zero. Return a null config in that case and fix up the
CommonBuildTab to deal with that.

Change-Id: Ibd8f659988f1463570bdb2654d6ea2b4a45866c2
2018-11-29 13:31:16 -05:00
Doug Schaefer
62143e2bd7 Bug 541709 Figure out toolchain for Makefile projects.
The config is not valid without this. Using the same algorithm CMake
projects do to find the default toolchain.

Change-Id: I871da3019b7d440fbd6c1b2a4935d424f084a603
2018-11-29 11:41:13 -05:00
Nathan Ridge
2f678054ff Bug 540741 - Parameter pack in argument of alias template instance that's not present in the target type
Change-Id: Ic5a5d0b25d88bac4074cb78aec17a1311a51d75d
2018-11-27 00:47:56 -05:00
Jonah Graham
afc2bbaa62 [releng] Udpate to newer launchbar
Change-Id: I8d04465ccbe09c3177cbd52a93062f2d5f814559
2018-11-27 00:07:17 +00:00
Jonah Graham
0873827bb8 [releng] add target for build & test against latest dependencies
This target file is not for building releases, but rather to help
early identify whether we have problems coming down the pipe from
CDT dependencies.

Change-Id: I481cffb7076ba20d8293540852435975dbbd7ea8
2018-11-27 00:07:17 +00:00
Baha El Kassaby
9f87a3ae09 Bug 530443: Limit output to 10 lines per MI output
Some commands, such as -file-list-exec-source-files, can generate
10s of thousands of lines of output.

Change-Id: I07fc3ef99bdd8e9247c75e2e9733e43b35657687
Signed-off-by: Baha El Kassaby <baha.elkassaby@gmail.com>
Also-by: Jonah Graham <jonah@kichwacoders.com>
2018-11-26 21:27:57 +00:00
Max Bureck
0da8033c2c Bug 541520: Make GDB version detection standalone
Provides GDB version detection as a public API that can be used without
having a saved launch config, or having a launch config at all.

Change-Id: Ifaee337899c01fe7066b27f7d66484bfc728f5ed
Signed-off-by: Max Bureck <max.bureck@fokus.fraunhofer.de>
2018-11-26 14:18:40 +00:00
Nathan Ridge
f94490939f Remove temporary statement added for debugging
Change-Id: Ib09141c840eb18cccfcbcf497597e22f3fcd4e02
2018-11-25 23:26:26 -05:00
Nathan Ridge
d085e955c7 Bug 540991 - Handle ICPPASTTypeTransformationSpecifier in CModelBuilder2
Change-Id: Ie87c89388d052cdaffb80163af666c3910da3b4a
2018-11-24 15:53:17 -05:00
Nathan Ridge
86b8f21623 Bug 540549 - Have all template parameter bindings implement ICPPUnknownBinding
Change-Id: If09679f2d56c987175a8d85514da37840ac71205
2018-11-24 15:52:34 -05:00
Nathan Ridge
1bb3bb5768 Remove unnecessary cast to ASTCompletionNode in DOMCompletionProposalComputer
Change-Id: Ib0b631d6d679da77660b9a8797c042bb7ef8ede1
2018-11-24 13:55:15 -05:00
Nathan Ridge
636fe00de6 Bug 541118 - NPE in AbstractIndexerTask.getOffset
Change-Id: I7ce30369abfb31dbdcc87e4fe9d36ea35e48ad79
2018-11-24 13:54:21 -05:00
Jonah Graham
5b21097125 Bug 540373: Instructions on how to rebase an old commit onto master
Change-Id: I1bbb82b379c1540ba9c88e6bad35d535a11e150e
2018-11-24 17:50:05 +00:00
Jonah Graham
3859b78b71 Bug 540373: Cleanup warnings in tests
- Remove redundant super-interfaces
- Remove redundant null checks
- Remove redundant instanceof checks

Change-Id: I3e8adba818b58f8ae5b43682ace74812db5b9bb4
2018-11-24 11:32:04 +00:00
Jonah Graham
f869a3f247 Bug 540373: Post code-cleanup for DSF examples
The DSF Examples contains some commented out source that is enabled
via a script so this commit cleans that up for new formatting rules.

Change-Id: I82c5e195cc3746415c659b2c0fc72b8118cdc56c
2018-11-24 11:22:15 +00:00
Jonah Graham
37ed2c406d Bug 540373: Update the compiler warnings/ignores
The previous alignment of all the warnings/ignores
led to too many warnings that weren't there before. This
commit relaxes them a bit.

The core/org.eclipse.cdt.core/.settings/org.eclipse.jdt.core.prefs
is still the "master" copy, with
releng/scripts/check_code_cleanliness.sh containing the
exceptions that apply to test plug-ins.

Change-Id: Ibd4e31ade0b42b31e7cbe5a94f06c6fc15183a56
2018-11-24 10:55:06 +00:00
Jonah Graham
1ca3067521 Bug 540373: Use git ls-files instead of find
git ls-files has two benefits:
- Only finds tracked files
   This is necessary because we were having a few cleanups
   being attempted on ignored files.
- Is much faster

Change-Id: I5a53497f8ef9c839676b7ef7e3be35171140f4b9
2018-11-24 10:55:06 +00:00
Jonah Graham
96b71a9a48 [releng] Add missing @since tag
Change-Id: I21eb74aaed8d789e8f7d68dae58bf83cddb8f138
2018-11-24 10:12:25 +00:00
Nathan Ridge
ac68d83566 Bug 541117 - NPE in CElementHyperlinkDetector.isLanguageKeyword
Change-Id: I4bd2155de5aa7a09cb9e68f57e1168bdaab76401
2018-11-24 02:09:32 -05:00
Jonah Graham
0c7b32c0dd Bug 541116 - fix whitespace
Change-Id: I8c345f0f4a531ecef78955512de488386c22fc7d
2018-11-23 17:26:38 +00:00