1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-19 06:05:56 +02:00
Commit graph

26236 commits

Author SHA1 Message Date
Jonah Graham
8b95d7cdfc 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-17 09:17:20 -04:00
Jonah Graham
4fe53bb057 [releng] Change default to be baseline compare and replace is not run
Use baseline-compare-and-replace profile to run it.

Change-Id: Iaacfad8f920f28cf773763e804be90ba8c5f30cf
2019-07-03 13:56:07 -04:00
Jonah Graham
230d377d9f [releng] Bump version to 9.8.2
Change-Id: Id1538f78d93c2482a92077d7ab2aed4187981cf3
2019-07-03 13:07:45 -04:00
Nathan Ridge
1c82320836 Bug 548700 - Handle prefix negative sign in FloatingPointValue.parseDouble()
While a literal expression itself will never be negative (the negative
sign is parsed as a unary operator), we also use FloatingPointValue to
represent results during value computations which can be negative.

Change-Id: I16227b2d19256066b094ae60476e124b4bcea14d
2019-07-02 15:57:04 -04:00
Nathan Ridge
dc34fddc9a Bug 467346 - Retain attribute after struct key in C
Change-Id: I35a25bc635039c37b66d1f1e4037e943ffcb0d39
2019-07-02 15:22:22 -04:00
Marco Stornelli
38c6375df9 Bug 467346 - Fix format structs/unions with attributes
Change-Id: I516c53978c7dea0191fc66d2820e1dbe5a664b48
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
(cherry picked from commit 35a1923321)
2019-07-02 12:40:33 -04:00
Nathan Ridge
bb93a818c3 Bug 548482 - Return non-null from CPPFunctionProblem.getType()
This avoids an NPE as callers of IFunction.getType() do not expect it
to return null.

Change-Id: Ice90fa358c25007dffb41217c5a38d6c2f4a9d0e
2019-06-29 16:04:24 -04:00
Nathan Ridge
0229b8e0ce Bug 548482 - Add CPPClassSpecialization.RecursionResolvingConstructor
This avoids an ArrayStoreException in specializeMembers().

Change-Id: I88a92462ef1ace4e99a0b45a9ba5975c705dab67
2019-06-29 16:04:18 -04:00
Hansruedi Patzen
608745bb73 Bug 548512: Declarator formatting multiple keywords between pointers
Bugfix and removal of code duplication.

Change-Id: Id6a94c4cf59311f287b73e09019ddd323361fdc7
Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
(cherry picked from commit 9fe8978817)
2019-06-26 13:54:04 -04:00
Jonah Graham
c9554c4ed6 Bug 547894: Provide a way to skip baseline replace and compare
Change-Id: If8080db7374eabb7a640deba0fab1e26a785ac5c
2019-06-26 10:25:21 -04:00
Jonah Graham
8007b8846e [releng] Add missing @since tags
The version of the plug-in had been correctly bumped already, but
the tags were missing causing API errors

Change-Id: Ief9f7250d3940c1ddd4d44ee19d53dc99f1af8b5
2019-06-21 13:04:41 -04:00
Jonah Graham
e690f5aade [releng] Lock down versions for dependencies (lsp4e)
LSP4E 0.10.0 has now been released, so we can lock it down

Change-Id: I9ff1391cc3cf7863a87aa514c3168eb99f78869d
2019-06-21 13:04:41 -04:00
Jonah Graham
3dba155971 Bug 548334: Remove unused NLS message with no entry
This was causing:
Warning: NLS missing message: OverrideMethods_label in: org.eclipse.cdt.ui.refactoring.actions.Messages

Change-Id: I07e16ec58397fa268a06dcdba30dccfa1e66a93e
(cherry picked from commit 8e0ba58fa8)
2019-06-20 21:45:53 -04:00
Jonah Graham
6dd16e029e [releng] Update comparator repo to 9.8.0 release
Change-Id: I86b452fdaeb5277c8dbf8831781964a8c59df586
2019-06-19 18:00:13 -04:00
Jonah Graham
bfe176db19 [releng] fix header in ISV docs and bump version
Change-Id: I614fc391784bc7eb2eab841825441d903adba507
2019-06-19 18:00:13 -04:00
Jonah Graham
462107d031 [releng] Bump version to 9.8.1
Change-Id: I19f6fd7f429122317f9fcd546be025305c133f20
2019-06-19 16:08:03 -04:00
Jonah Graham
fcbe622af3 [releng] exclude pom.xml for build.properties
This was the only bundle that had pom.xml included

Change-Id: I6c303052220a6294481fcc55e8826c5e116190b6
2019-06-19 16:07:32 -04:00
Jonah Graham
d1cc8980db [releng] Ignore Lucene generated index files when doing baseline replace
Change-Id: I4702d75169634eb9d939b212b318d5656258e508
2019-06-19 16:05:34 -04:00
Jonah Graham
4ee8a8b1b6 Bug 548138 - Bump patch version for fix
Change-Id: I3be1ad991d7c624134acf1596ea70556fb0d2ee6
2019-06-19 14:06:08 -04:00
Marco Stornelli
f1e2d9549d Bug 548138 - Fix override method with implementation
Change-Id: Icbea4fe97e8f3b481ea187f905661c8adcc7cc06
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-06-19 12:55:28 -04:00
Jonah Graham
903722ec8f [releng] Lock down versions for dependencies
(Still need lsp4e which has not released the 0.10.0 version yet.)

Change-Id: I531a755c496296f0f2223ae20a7016821723581b
2019-06-19 11:42:33 -04:00
Jonah Graham
7741bd98f7 Bug 547894: Baseline replace must happen after pack200
The configuration for baseline replacement needs to be split.

This may be a bug in Tycho, but I cannot tell. It seems to me the
configuration about ignoredPatterns should be read from the
configuration block in the execution block, but it isn't.

Change-Id: I35e3f4007b0afc21d8bd81d5b07f76581879bc76
2019-06-07 17:20:27 -04:00
Jonah Graham
53e14118d2 Bug 547894: Fail build if differences before baseline replace
Also fix version numbers in all bundles who's binary contents have
changed despite no change in the source of the bundle.

Change-Id: Ic67b79aafa801c7ce96c5e52843ad5c881827d84
2019-06-07 13:57:15 -04:00
Jonah Graham
cb213e217f [releng] Update URL for cdt-site (From hudson to ci)
Change-Id: I35cc640e8dd579182fe653c93c7621cead116c5b
2019-06-07 10:20:49 -04:00
Doug Schaefer
b9c9c44ac2 Bug 548010 - Add support for Qt for linux-g++
We had linux-g++-64. But with Ubuntu 18.04, when you install Qt5
you end up with linux-g++. This simply add that and doesn't specify
the architecture so should work for both 32 and 64 bit.

Change-Id: Ia458e212ff53638496a7108f58b212ef96296afd
2019-06-06 13:40:12 -04:00
Jonah Graham
aeaf678425 [releng] move to cdt-infra repo
This script had been copied to the cdt-infra repo a while ago, this
update removes the copy left behind and redirects users to cdt-infra.

Change-Id: Ia4b2d90a9336947e0aad53a0fce6a569416ac379
2019-06-05 10:36:02 -04:00
Jonah Graham
6df1dace8b [releng] Update to latest GDB, 8.3, for tests
Change-Id: I36b0ce0021b853a940cd8e6ede9839060a2fcb83
2019-06-04 16:10:18 -04:00
Jonah Graham
ef07729e45 [releng] Move gdb path and version to test variables to root pom
They used to be duplicated in multiple places in further down poms.

Change-Id: Ifd7adf356892138a2aa79c22084a52cc25619b1b
2019-06-04 16:09:37 -04:00
Doug Schaefer
83792f71bd Bug 547881 - Allow targets to set ATTR_REMOTE_TCP
Adds support for this attribute in the ILaunchTarget attributes and
then convert it to the boolean attribute on the launch config.

Change-Id: Ieefa6892641517ff0fa6a0a04f63a6a8dbc35bf4
2019-06-03 14:15:46 -04:00
Doug Schaefer
6a27da170f Bug 547831 Add ILaunchTargets for GDB Remote
Adds ILaunchTargets for GDB Remote for TCP and Serial Port.
Adds a launch config provider that maps default launch configurations
for the gdb remote launch config types.

Alters the launch attributes by merging in the target attributes
over the launch configuration attributes. This is a no-op of the
target is the Null Target (which has no attributes).

Some string externalization that was missed from previous commits.

Carrying on tradition of ramdonly using Gdb or GDB in our class names :)

Change-Id: Ie8483110f594db593e704adda420ce6b14812dea
2019-06-03 00:22:36 -04:00
Jonah Graham
4324811b1b [releng] Updated officially supported GDB versions
Change-Id: I22eb86b34659ff54223a81dec4f8341b63b5675b
2019-05-31 17:17:08 -04:00
Jonah Graham
129bdeeb1e [releng] Update to latest orbit (RC2)
Change-Id: I7470eb06a3824013de65a0d024cd334ec8080812
2019-05-31 17:11:36 -04:00
Jonah Graham
9698af0fc6 [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: I1c8f102a9a750e40970197da3e6cd56d139492bc
2019-05-31 16:53:15 -04:00
Jonah Graham
6c6c9e8096 [releng] bring CDT.setup up to match cdt.target
Change-Id: Ia5c296573f2e25765c3a3a7d2acd209dd99ec403
2019-05-31 16:46:06 -04:00
Jonah Graham
518b8c2330 [releng] adapt to changes in platform for what is published for ecf
See https://www.eclipse.org/lists/cdt-dev/msg33571.html

Change-Id: Ib6bb075dfe41da6bb3221e0f73f24e7ce9869b0c
2019-05-31 13:08:10 -04:00
Jonah Graham
a9e84e4fb7 [releng] bump version numbers according to version number guidelines
See https://wiki.eclipse.org/CDT/policy#Version_Numbering

Change-Id: I54004437fa7a52b7c2b341fa9cb2d0683daf8962
2019-05-31 12:44:42 -04:00
Jonah Graham
67f0b785c4 [releng] update comparator repo
Change-Id: Iad16160a377428eb66f42ac0f12371a9bc724dc4
2019-05-31 12:27:18 -04:00
Jonah Graham
6f519d968a [releng] update to latest platform (RC1a) orbit (RC1) and wtp (M3)
Change-Id: Ie47d0d1ada6f4eef0b0f2d77806c4ce85071e738
2019-05-31 12:23:28 -04:00
Jonah Graham
6f642591b6 [releng] Use launchbar p2 directly from Jenkins machine
I haven't been able to get the automatic publishing working in time
and as Doug has been doing active work in that area I have temporarily
made this change.

Change-Id: I1d4b6776b77a116063b93f5f280dbf45719b7a6e
2019-05-31 12:23:11 -04:00
Marco Stornelli
862e8222ea Bug 547684 - Fix format assignment with init list
Change-Id: I4fbdc1c65eb25688231e8020bbc3baa750d97be0
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-31 01:00:07 -04:00
Marco Stornelli
90358f5374 Bug 355174 - Improved tests and code for quickfix
Change-Id: I032040e6c4d3c9342ebdbf72b3ba75114810a31f
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-30 17:41:05 +02:00
Marco Stornelli
1c147d87ce Bug 545699 - Added quickfix for C style cast
Change-Id: Icc1152c013363c5c1b8c2606e3ad0ceb2aa18aa5
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-30 01:09:45 -04:00
Marco Stornelli
353315f84a Bug 303870 - Fix for base template classes
Methods weren't added if the virtual methods were in a base
template class.

Change-Id: I34b05eeb1e7dc5ce83944a642461eca521764967
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-30 01:07:38 -04:00
Marc-Andre Laperle
188d84eea5 releng: Add missing javax.activation in update site
When installing CDT offline, I noticed javax.activation was missing and
needed to be pulled from Orbit. Normally Orbit dependencies should be included
in the update sites that use them.

Change-Id: I833debebadb60ac0ade9123f8e989d31f0861448
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-05-29 20:07:22 -04:00
Marco Stornelli
3890eec7b7 Bug 355174 - Added quickfix for miss cases/default
Change-Id: I4c815bd55e55d81456efa796453dd2f69a7c876a
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-28 19:48:59 +02:00
Marco Stornelli
a009b41021 Bug 268404 - Added options for label formatting
Change-Id: I192ede1c17d2b1929dcb6fb33158eb7628707598
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-28 01:11:55 -04:00
Hannes Vogt
dc62eb218d Bug 547534 - Resolve TDEF in getFieldPosition()
and propagate a ProblemType in EvalCompositeAccess.

Change-Id: I20c580c681ea5916d2e1c249b96f41c9dc95082f
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-05-27 20:56:02 +02:00
Nathan Ridge
9e4c36a7ab Bug 547533 - Avoid ClassCastException in EvalTypeId.getValue()
Change-Id: I614b67a7b53b7075b702911a33ba8440a187614e
2019-05-26 19:29:57 -04:00
Marco Stornelli
1204bf21b1 Bug 545956 - Added checker for virtual methods in ctor/dtor
Change-Id: I63b8a40447e9a5b6080e046030677a13607c4ea3
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-26 20:26:16 +02:00
Marco Stornelli
1065ee7688 Bug 355174 - Added cheker for missing case in a switch
Change-Id: I1ba1193186e275bed450eb7447eefd90dc09ebec
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-26 13:54:27 -04:00