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

26697 commits

Author SHA1 Message Date
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
Jonah Graham
cf7e1f87c9 [releng] Update to stable repository for help docs eclipse run location
Change-Id: Iecd4a82fca35904741c78e43e20032a6f4d639b0
2019-09-23 11:00:57 -04:00
Marco Stornelli
a159173a51 Bug 545954 - Added checker for functions/methods blacklist
Change-Id: I69d32f166e09ec38e4bf3dd9eaca2643c2e2d01e
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-09-23 01:10:46 -04:00
Hannes Vogt
9a6fd2ab97 Bug 549362 - Aggregate init for union-like classes
ClassTypeHelper.getDeclaredFields() returns the first field of an anonymous union.

Change-Id: I3f33dcdd7b274ffac7aad0b80ea8c523bfd6e5f2
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-09-22 20:14:24 -04:00
Marco Stornelli
39be625d8e Bug 549466 - Quick fix with the same resolution
We have the "universal resolution" in an ArrayList and they are used as
single instances. So what can happen here is that we add the same
universal resolution instance multiple times for several markers.
However this approach can't work because a "marker resolution" is
designed to fix a single problem. Indeed the last marker analyzed
override the previous one in the single "universal resolution" instance,
so what we have is N proposals pointing to the same resolution where the
problem description is just the latest one. To solve the problem we
instantiate the universal resolution multiple times.

Change-Id: I072ca0b4dabff9781d6230a218eeb7dd388c648d
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-09-22 07:14:09 -04:00
Jonah Graham
494d6d38c1 [releng] Update to 2019-12 repositories
Note that many 2019-12 repos are not available yet or for other reasons
we aren't updating our dependencies yet, for these repos we are pointing
at the release versions of 2019-09 instead.

Change-Id: I824444d8a53cb95c5706e3ae4e26d6b2f45c5bc7
2019-09-19 11:53:47 -04:00
John Dallaway
7e4f3a84db Bug 550963: Provide 'reset and halt' commands
Change-Id: I4008d11f8a5f80bc70976ef7e4ddfcabbac13514
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2019-09-11 11:49:16 +01:00
Jonah Graham
2cbf927a36 Bug 550076 - Use PE64 parser by default
Change-Id: I757c8ace43e79f1215ad0e817430e5ab90415401
2019-09-09 15:56:07 -04:00
Jonah Graham
a1febf0097 [releng] 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.

See Bug 536448

Change-Id: Ifad2e0eef003b037ac332301120c26fe079a2e7f
2019-09-09 15:53:46 -04:00
Jonah Graham
7991f03954 [releng] Update to 2019-09 RC2 dependencies
Change-Id: I8c0c650afee8902e59547e7704d6844b483aa495
2019-09-09 15:53:46 -04:00
Jonah Graham
a29e38f46d [releng] Bump version number of docs plug-ins
These docs plug-ins were having baselinereplace-p2-metadata. This is due
to still having problems with the compare&replace logic. The root pom.xml
lits <pattern>index/*</pattern> to exclude from compare, which means if
the only thing that changes is the generate files, and not the source
files, then the jar is a candidate for replace. In commit 3bab315fd2,
the version of help-docs-eclipserun-repo was changed, which means that
the generated output changes too.

Change-Id: I7f73159776d209aadaa70587988652e125b60851
2019-09-09 15:53:46 -04:00
Torbjörn SVENSSON
63e37acaac Bug 550702: Fixed memory leak in SerialPort.open0()
Change-Id: I2bb1cd8c19addda7955886b8cb582d0effe64f4e
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@st.com>
2019-09-05 15:03:25 +02:00
Torbjörn SVENSSON
764e42ef50 Bug 482946: Implement InputStream.available()
Change-Id: Iac15816fd4d68206184549c7b47670f9d3137527
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@st.com>
2019-09-05 15:02:05 +02:00
Torbjörn SVENSSON
1c4271836b Bug 550697: Also set DCB.Parity=NOPARITY on Windows
Some serial port drivers on Windows, notably usbser.sys, does not
care about DCB.fParity and only relies on DCB.Parity to contain
the correct value. In the case where we need to configure it for
no parity, the DCB.Parity field needs to be explicitly set to
NOPARITY.

The above statment has been checked using Wireshark and look at the
SET LINE CODING Request package (it contained ODDPARITY although
DCB.fParity=FALSE). The statement was also somewhat confirmed by
this post: https://stackoverflow.com/questions/36411498.

Change-Id: I2e2ab3da5da547e0420e3e61f91452ef0edeb755
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@st.com>
2019-09-03 17:41:53 +02:00
Jonah Graham
2109a6d283 [releng] TM4E changed their feature name
See e4bd591036

Change-Id: Ib99afe00eed7a955320915bab9013e47eb7a4591
2019-09-03 10:44:24 -04:00
Adrien Thierry
975ff2f0cc Bug 550076 - Added new parser for PE executables
This new parser is compatible with both 32 bit and 64 bit executables.

Change-Id: Ief9db7c6fcc10ea9e92d5ca58186eb50100d39f6
Signed-off-by: Adrien Thierry <adrien.thierry@spacecodesign.com>
2019-09-03 10:44:02 -04:00
Jonah Graham
fc46dc3304 [releng] Update to 2019-09 RC1 dependencies
Change-Id: If99ea6310f5732f16f639a6ef5a7493a25ae4963
2019-09-02 11:51:26 -04:00
Nathan Ridge
15dbbb8304 Bug 550397 - Fix a logic error in instantiateConversionTemplates()
Change-Id: If4cb26e3b392e65ffbcb53514db67c1065aa9c79
2019-08-31 21:24:35 -04:00
Jonah Graham
77f853e077 [releng] Update to 2019-09 M3 dependencies
Change-Id: Iffd85899e7a571b864404c6249011005034aac2e
2019-08-26 17:59:43 -04:00
John Dallaway
4ebb82d8b2 Bug 535163: Use 'reset and halt' command (DAP)
Change-Id: Id5ec90a062a203933a2756d0a2f71ce36d00daf8
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2019-08-23 19:45:13 +01:00
John Dallaway
49c7ae5f3b Bug 535163: Use 'reset and halt' command
Change-Id: Icfe5796a33c01208c1fa98cc6357d21c0e83b9ae
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2019-08-23 15:43:32 +01:00
Doug Schaefer
b1f14709b8 Bug 550308 - Allow toolchain to specify part of the build config name.
This allows us to consider more than just the os and arch in the build
config names as required by the selected toolchain.

Change-Id: I3e1a52c756aca13fbe6c83a95f9a86bb2f286f1d
2019-08-22 16:44:13 -04:00
Umair Sair
9d97a36419 Bug 550165: Debugging is stuck when "command aborts" on step return
Adding unit test for MIAsyncErrorProcessor. The test adds breakpoint on
0x0 address and try to continue and step return. It asserts that the
target is in stopped state and error as reason in both cases. Then it
removes all the breakpoints and resumes the target and asserts that
target is in resumed state.

Change-Id: I2e024e0d5f55b4e9464a6f2b7a2b0c78bee4e8e8
Signed-off-by: Umair Sair <umair_sair@hotmail.com>
2019-08-19 12:43:22 -04:00
Jonah Graham
342d0c7b89 Bug 549567: Add example of what checkmark overlay looks like to help
Change-Id: I1bb77e6085a7d1097f457ba5207f1ae791a9b452
2019-08-17 19:47:12 -04:00
Umair Sair
810f329774 Bug 550165: Debugging is stuck when "command aborts" on step return
Command abort can occur for commands that are run not just in context of
thread, instead stack frame is also present, e.g., step return in case
of this bug. Updated the implementation to get IExecutionDMContext from
the command context if it is not IExecutionDMContext itself.

Change-Id: Ia6cccffba8bde28e22eca46211747de31084f25a
Signed-off-by: Umair Sair <umair_sair@hotmail.com>
2019-08-18 01:17:00 +05:00
Jonah Graham
15b00032ce Bug 542488: Convert URL to path properly on Windows
Change-Id: I63a5c3e260583b4df82e4c5bf8fbbdf3e5958e54
2019-08-12 18:30:57 -04:00
Alexander Kurtakov
a3938937f2 Convert new Runnable to lambda.
Take 2.

Change-Id: I060b0e41d8c6058db0c2ba88af8454b5517105b8
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-12 17:31:30 +03:00
Alexander Kurtakov
1e42e5f0e1 Convert new Runnable to lambda.
Change-Id: I8b827013a29802a3f3ae6400ddce8d8753eb6399
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-12 07:11:40 -04:00
Alexander Kurtakov
51da3eb3a6 Remove redundant superinterfaces.
Change-Id: I0de3509b02a8ef6853f0053c9ee6edd304a05a86
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-10 10:28:51 -04:00
Jeff Johnston
bb602d0fb3 Bug 515393 - Allow contribution to CDT CSS pref node
- add pseudo attributes to allow others to extend the
  org-eclipse-cdt-ui preference node

Change-Id: I79a7bbf80fee47988dc81e651375005640ceee1e
2019-08-09 15:00:50 -04:00
Alexander Kurtakov
c673caf92e Remove unneeded suppress warnings.
Change-Id: I6b552fd94ced0cd8c0d489386d4b594ae7df8fdf
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-09 05:03:08 -04:00
Alexander Kurtakov
6e99703e26 Do not override managed maven plugin version.
Change-Id: I18f21ef8805e7680740a13a73efb540c30ccfe5e
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-09 05:02:43 -04:00
Nathan Ridge
f89c738b0b Bug 549508 - Avoid calling CPPBasicType.setAssociatedNumericalValue() without cloning the type
If we call it without cloning, we associate the value with every place
that has a reference to that CPPBasicType object, which could involve
completely unrelated entities.

Change-Id: Icff6c32d15ee6dbc55e363b2de9a166e03440f74
2019-08-09 02:54:06 -04:00
Alexander Kurtakov
c252113586 Replace ViewerSorter with ViewerComparator.
Change-Id: I3013723be25fef063f382456166f6e5a622316d3
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-09 08:50:29 +03:00
Alexander Kurtakov
2deb211194 Build with CBI plugisn 1.1.7
Change-Id: I9579879757182af8354e7079169accf1b115c6f9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-08 16:00:07 +03:00
Alexander Kurtakov
c60a046bd1 Fix vararg warning with 4.13.
While touching the class:
* convert to lambda
* foreach conversion
* remove useless non-javadoc comments.

Change-Id: I3419be135c68829bb98827683bc8fe47c1e2940e
2019-08-08 15:56:36 +03:00
Alexander Kurtakov
3bab315fd2 Build help bundles with 4.13 too.
Change-Id: I42956ddbdd0f23fdac4fc538045787de239bede8
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-08 15:12:02 +03:00
Jonah Graham
6c34f9bad5 Bug 542488: JTAG debug support based on DAP remote debugging
Change-Id: I035ca6341b8e1dc7273f53da80eb281d7b5e59d4
2019-08-07 00:48:15 -04:00
Thomas Corbat
acbceb04ee Bug 522200: [C++17] Add support for structured binding declarations
Adds support for structured bindings:
- Parser updated
- Semantics updated
- Tests for parser and bindings added

Change-Id: I1de7b760041ac4ce4601f1b5032fdb0a197212a1
Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2019-08-05 09:00:35 +02:00
Marco Stornelli
af88842969 Bug 548902 - Fix exception in override methods refactoring
Change-Id: I2cde109ead8536c048bbe0a08083b36f924e4470
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-08-04 09:53:53 -04:00
Jonah Graham
5414def68f Bug 543711: Provide empty enablements to suppress missing enablements warning in log
Change-Id: Ib3979f577331149eb4d712d1be6d2196f0a431d3
2019-08-03 11:56:41 -04:00
Jonah Graham
f6991baf9e [releng] Update dependencies for 2019-09 M2
Change-Id: I848d106ed1bcf1495c2b5f4c5a606809ca757e54
2019-08-03 11:21:44 -04:00
Marco Stornelli
cd97ba6ced Bug 549653 - Fix wrapping for lambda expression
Change-Id: I5b879edbcda9c5c1fb0087891391612af2c47d09
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-30 13:53:07 +02:00
Doug Schaefer
b9359d5247 Fix up some problems found against the latest API baseline.
Change-Id: I5679b36166385b617a96ef8180bbd27ae002e900
2019-07-25 10:17:59 -04:00
Doug Schaefer
f96887cb35 Don't add null parser ids to the list of binary parsers.
This started happening when I added the ErrorBuildConfiguration which
returns a null id. This happens when you create a CMake project and
add a new launch target. Not totally sure how we got an error config
for that. Will investigate that later.

Change-Id: I1a4e7c528d2cee101a432d386ad6a7505b9983b6
2019-07-24 22:39:46 -04:00
Jonah Graham
055349a734 Bug 548526: Enable individual mvn projects to be built
Although a little profile "magic" is needed, by adding -DuseSimrelRepo
to the command line to enable and disable the correct profiles
individual mvn projects can be built against the simrelRepo.

This enables, for example, the ability to build the standalone debugger
against the simrel repo without having to change how normal builds are
done by using:
   mvn verify -DuseSimrelRepo -f debug/org.eclipse.cdt.debug.application.product

A simrel p2 site can also be provided with -Dsimrel-site=<url>

Change-Id: I45a636c3c1042bc2fbb6eea5129c6553027e92df
2019-07-24 19:13:44 -04:00
Nathan Ridge
f78158904b Bug 549035 - Constructor with reference to initializer list
Change-Id: I83fd8d2453c36feb51bab80b5bf0943b68a1c97a
2019-07-23 00:49:32 -04:00
Marco Stornelli
4c0e7d9f68 Bug 545959 - Added checker for assignment operator
Change-Id: Ib48742cbc04679ab9e48349f4d68aea5657d38c9
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-23 00:47:39 -04:00
Marco Stornelli
04350fec0e Bug 376395 - Fix const methods with never join wrapped lines
When at the same time never join wrapped lines and next line
for opening function brace were selected, two tabs were added.

Change-Id: I90f606bf7f8b7bb7e83f3ae85d7cbb9cd0146b97
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-20 10:18:08 +02:00
Jonah Graham
fb05ee51d8 [releng] Bump plug-in version number for bug fix in Bug 549066
See commit 236be726c4

Change-Id: I6d401f46380c5821537184b0d55b2ac748f9986d
2019-07-19 16:07:23 -04:00