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

35620 commits

Author SHA1 Message Date
Jonah Graham
54c31c4126 [releng] Update Standalone debugger to new bundles for Platform 4.23
Change-Id: Idae45660d2c3822394199cd9a8ad6b964a7e3402
2022-01-12 18:57:12 -05:00
Jonah Graham
8adb3bf37e [releng] Resolve API errors and warning since branch
The org.eclipse.remote.* version bumps were all because of
BREE change since the last release.

The api filters are removed because of the baseline bump

Change-Id: Ic7317dafa9872bb737502654a726823a35ec47b3
2022-01-12 14:12:50 -05:00
Jonah Graham
6585040fed [releng] Update simrel site for 2022-03 release cycle
Change-Id: Ica3eb15252c29036ec78e7baea56bc442248634e
2022-01-12 14:10:12 -05:00
Jonah Graham
10988e8749 [releng] Update maven plugins to latest versions
Change-Id: I33f8c706d3bee1e9ec168fbd677887be998725fe
2022-01-12 14:07:45 -05:00
Jonah Graham
d2fd6f1087 [releng] Update comparator repo for CDT 10.6.0
Change-Id: I4e70999800cb031798a423d86637f399a1c7b257
2022-01-12 14:07:45 -05:00
Jonah Graham
dbd7558f17 [releng] Bump to CDT version 10.6.0
Change-Id: I28629cdfb0906ce7f1b33a88cbbd55521afc8f6b
2022-01-12 14:07:45 -05:00
Alexander Fedorov
0b1d0ac543 [releng] Update target and baseline for 2022-03 cycle
Use info from https://projects.eclipse.org/releases/2021-12 to determine
the versions of components + M1 build of Eclipse Platform.

Orbit has not done an M1 release.

Change-Id: I1b23daeae7ae280502db5155e4a7bd34b89e7db4
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
Also-by: Jonah Graham <jonah@kichwacoders.com>
2022-01-12 14:07:45 -05:00
Jonah Graham
e2eca3eb67 Bug 577097: Assign a category to all o.e.remote features
In the p2 site all the o.e.remote features are appearing in the
Uncategorized category, AFAICT this is because the category.xml
file was not actually valid. Note that the PTP version
in https://download.eclipse.org/tools/ptp/builds/remote/3.0/2021-09
also showed everything as uncategorized, so this commit is actually
an improvement on presentation.

Change-Id: Ic3304c8e57131efd3c7adc6eec021f72e6ba1a36
2022-01-12 09:51:03 -05:00
Jonah Graham
537c57d3dd Bug 577097: Bump maintenance version for all o.e.remote bundles
The bundles have all had version bumped to make it easier to
differentiate the bundles built since integration into CDT.

Note the feature versions have already been aligned with CDT.

Change-Id: I68141e31559df3897414a50ee52c3ede49d429df
2022-01-12 09:51:03 -05:00
Jonah Graham
97321070b1 Bug 577097: Fix copyright end year for features edited this year
Change-Id: I9cf7f807c0e8e00c2411d7565a4de60ed7e2d7a7
2022-01-11 21:36:08 -05:00
Jonah Graham
8718d7c19d Bug 577097: Fix file modes
Some files had x permission that shouldn't and some scripts
were missing x permission.

Change-Id: I9af0edc7c87fa1ab4d6795ec7861e07517d00c67
2022-01-11 21:35:40 -05:00
Jonah Graham
6bbcd21c8a Bug 577097: Update o.e.remote code to EPLv2
Includes fixing any identified licensing issues using
releng/scripts/check_license.sh

Change-Id: I0f53648a88c8aa47fc811e3fbafce80f32a16151
2022-01-11 21:19:46 -05:00
Jonah Graham
4e35290c38 Bug 577097: Remove requirement to have pre-integration-test phase run
The proxy server products need to be built and signed before being
moved to the correct location. Prior to this patch this happened
in pre-integration-test phase, meaning that "mvn package" would
fail to build CDT successfully.

Therefore "pull" rather than "push" proxy-server to individual bundles.
If signing is not enabled, the proxy server product won't be signed,
but that is expected.

Also, to make sure the archiving happens in package phase, we need to
have some duplication so that archiving always is listed after signing.

Change-Id: I09ef2b6384ab6f6573352f85c068756e3792512f
2022-01-11 20:08:09 -05:00
Jonah Graham
3f2649a14d Bug 577097: Integrate o.e.remote releng into CDT
Change-Id: I55fbfcfae1c414ae21807473f4ab290db40b5238
2022-01-11 20:08:03 -05:00
Jonah Graham
8062a11eac Bug 577097: Add o.e.remote features to CDT's p2 repo
Change-Id: Ia5ef4a868d52389aefa3ef800a412ce53628da3e
2022-01-11 20:07:54 -05:00
Jonah Graham
fcc8fa8b5b Bug 577097: Add all file types to .gitattributes
Change-Id: I8ad682ae5edc8d55c5372676a721abe5e1ec32cf
2022-01-11 20:07:48 -05:00
Jonah Graham
7c8bb9f00e Bug 577097: Merge o.e.remote into CDT
Change-Id: I357cd9be2d7f4b4045ccbcb374ea5bfdc7626229
2022-01-11 20:07:20 -05:00
Jonah Graham
f282fdd0dc Bug 577097: Correct feature and bundle provider names
It is now Eclipse CDT providing these, so update to match

Change-Id: I4dec6071c1c3c63b8005587f9f8c1e73a0315a75
2022-01-11 20:06:11 -05:00
Jonah Graham
3ded7afd8a Bug 577097: Align o.e.remote feature versions with CDT
Change-Id: I32a8506bc8a22352adfd43c26f2ca71938d3ea6b
2022-01-11 20:06:00 -05:00
Jonah Graham
c81695c9ce Bug 577097: Add missing entries to build.properties
Change-Id: I2e505c364d3dbdeba850be324488a31a33802cfb
2022-01-11 20:05:38 -05:00
Jonah Graham
3e9dadd642 Bug 577097: Format all o.e.remote code to CDT standard
This is applying the per-project code formatting rules that would
be applied on save in the JDT editor

See also Bug 540373

Change-Id: Ie93f9b640d0f0cfce8711e72fabc87f6a89634fa
2022-01-11 20:05:34 -05:00
Jonah Graham
8980b1f104 Bug 577097: Update BREE to Java 11
Note that due to dependencies, the effective BREE was already
Java 11, this change simply formalizes that

Change-Id: I834766caf02a0ed5e1992b61050ca1bf9c6bb390
2022-01-11 20:05:31 -05:00
Jonah Graham
c1642591e5 Bug 577097: Normalize .settings to CDT standard
Change-Id: I1834c96b5f4c7c93637b343b1aed9d499df31134
2022-01-11 20:05:27 -05:00
Jonah Graham
98c9565dd2 Bug 577097: Rename script file to have an extension
Change-Id: I9d2a18bf6136af6d8ada437ba2a825270120139f
2022-01-11 20:05:19 -05:00
Jonah Graham
dcc4229829 Bug 577097: Normalize features to match requirements of CDT
Change-Id: Ib89a1f867d2f1007211eea0bd419d64ed03fed7a
2022-01-11 20:04:27 -05:00
Jonah Graham
13168b3745 Bug 577097: Move .gitignore where it is supposed to be
Change-Id: I00eb001958855c229a31e21425a3f5b9765d07ad
2022-01-11 20:04:24 -05:00
Jonah Graham
2d35961bcd Bug 577097: Fix line endings
Some of the o.e.remote files had bad line endings. This
commit standardizes them

Change-Id: I96a2a86752b7a500d2095567f972ba51d194ae92
2022-01-11 20:04:22 -05:00
Jonah Graham
928046e272 Bug 577097: Move o.e.remote into a subfolder
Includes removing redundant content that will be provided by CDT:
- .mvn/extensions.xml
- .gitignore
- CONTRIBUTING
- LICENSE
- NOTICE
- root pom.xmls

Note: if you get to this commit when searching history or
doing git blame, try adding --follow to force the history
back before this move.

Change-Id: I42bdbb2cf8e7f07d6608c32eaabf2b54151a1fb1
2022-01-11 20:04:18 -05:00
John Dallaway
82a24fcde9 Bug 575934: Initialize memory data before connecting to target
We must ensure that memory data is initialized before the restoration of
persisted memory monitors is triggered.

Change-Id: Id87809bb4de80785dbcfe444fd782efe41d6d086
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2021-12-28 13:07:07 +00:00
Michael Uhl
ceb39b8735 Bug 577907: IIllegalArgumentException on attach process dialog cause of
project with empty name

Change-Id: Ib45b75e27d8bf83eb90fa1020823190f4cd16e1b
Signed-off-by: Michael Uhl <Michael.Uhl@NashTech.Com>
2021-12-21 12:17:31 -05:00
Jonah Graham
8ac94b675f Bug 575046: Enable CDT update site to the latest release by default
Change-Id: Ib43acc4ecf5b67ee4508bd93928fdfd6807d2507
2021-12-14 11:37:12 -05:00
Jonah Graham
d3ad918c14 [releng] Update help-docs-eclipserun-repo in root pom.xml
and:
- bump versions of all the docs plug-ins.
- improve comment so that next person can do it more easily
- change to using https in the URL

Change-Id: I62bd970f03e1ce081d4655ddbf6c742be2623acd
2021-12-14 11:17:55 -05:00
Jonah Graham
f8b2d01109 [releng] Synchronize CDT.setup for final 4.22 platform release
Change-Id: Ic9654d0309538cd9fc50d95ea27c33e732b693a9
2021-12-14 11:12:46 -05:00
Torbjörn Svensson
a46254a9fa [releng] Update to final repository for 2021-12
Change-Id: I2ebf00dc21fc31c04714f6913f1e823d90bbc849
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2021-12-14 11:28:41 +01:00
Torbjörn Svensson
7a237aaa0e Fix usage or reserved symbols (<>&) in javadoc
Contributed by STMicroelectronics

Change-Id: Ifdf90e316d7537848bea8253973864f070b19b1c
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2021-12-05 18:11:29 +01:00
Jonah Graham
71ad45b382 [releng] Update to 2021-12 RC2 deps
Change-Id: Iaf291d047d7517586ca4c1c83b0708de3619632b
2021-11-29 17:58:48 -05:00
Jonah Graham
eaa83fc085 Add missing root LICENSE file
See https://gitlab.eclipse.org/eclipsefdn/emo-team/emo/-/issues/107#note_335851

Change-Id: I3858fd34b41743ed465dbed2df87083f2ac52c53
2021-11-29 17:58:48 -05:00
Jonah Graham
34b9d23951 [releng] Update to 2021-12 RC1 deps
Change-Id: Iec85fc3dee66bd4161087efc02aec727e99dc877
2021-11-22 12:18:10 -05:00
Jonah Graham
1a293f7a5f [releng] Update to 2021-12 M3 deps
Change-Id: Id14797d55be47e9975574f8c5245483e64978365
2021-11-15 20:07:51 -05:00
Alexander Fedorov
2e6a2cfe6d [releng] switch setup to use latest by default
Use eclipse.target.platform.latest
Sync with Target

Change-Id: Ife2508edb72eaa45bfe33618d3cbde47a5d34d6a
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2021-11-15 20:04:39 -05:00
Jonah Graham
13cdd8ada7 Bug 576533: Add support for Mac M1
-framework JavaVM is no longer needed for a while and in
latest Xcode is removed as an option

x86 on macOS is no longer supported by recent Xcode, so drop it
from CDT. x86 hasn't been supported in Platform for a while, so
it wasn't actually usable.

Change-Id: I149722b168fe9819ee334d4afd25ae624b1664c5
2021-11-15 15:32:29 -05:00
Jonah Graham
fa8a6279d2 Bug 577074: Fix i18n on import/export language settings
Side effect is that the indentation in the transformer now
works properly, so the extra newlines inserted everywhere
can be removed.

This change was done by changing the output to an OutputStream
instead of a Writer so that the XML handler could set the
encoding to match what was in the settings, i.e.:
transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");

The non-translated language IDs are used in preference to the
translated names when importing. The export now puts that ID
(when available) in the output file. The ID is available on
normal user files (C, ASM, C++) and not on object files. The
object files probably don't have languages settings that are
exported, but this code does not exclude them from being exported.

Change-Id: I46de004bb8c6a0ca05210487a5d33390d397c720
2021-11-09 11:01:13 -05:00
Alexander Fedorov
d7c4d08c91 [releng] always place repository before unit elements for .target files
Format both baseline and regular targets

Change-Id: Idc3c4739fdca7c4311981dfc3fe652713bc024a2
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2021-11-06 20:33:51 +03:00
Alexander Fedorov
938453fd23 [releng] Add indents for .target files
Format both baseline and regular targets

Change-Id: I2498e77df38af844e2cbdb10376a3f2917e0b763
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2021-11-06 19:51:05 +03:00
Alexander Fedorov
e5dad24eed [releng] switch setup to use 2021-09 by default
Updated Baseline to 2021-09
Updated Target to 2021-09+

Change-Id: I9dd301b2b759452c743238626ac671008e2cd254
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2021-11-06 18:55:47 +03:00
Mat Booth
6e95a40a57 Bug 560287 - java.lang.CCE: o.e.swt.layout.GridData cannot be cast
Previously custom launch config tabs could cause a Class Cast Exception
in the Launchbar's edit launch config dialog if they did not use the
GridLayout. Since ed1e058 the launchbar dialog no longer tries to give
the tab control GridLayoutData, avoiding the problem and allowing custom
tabs to use whatever layout they wish.

This change updates the launchbar UI tests to Junit 5 and adds a new
SWTbot test to verify the dialog no longer throws a CCE in this case.

Signed-off-by: Mat Booth <mat.booth@gmail.com>
Change-Id: I05c85cd5f0f5996e46601990b72602383b3fac06
2021-11-05 13:51:07 +00:00
Mat Booth
ed1e05876c Bug 576987 - Unable to scroll when editing a launch config
The current situation is that:
* launch configuration dialog tabs scroll correctly in the standard
  Eclipse platform dialog, but not at all in the Launchbar-specific dialog
* some CDT-supplied launch configuration dialog tabs try to manage their
  own scrolling behaviour to fix scrolling in the Launchbar-specific
  dialog but this breaks scrolling for that tab in the standard Eclipse
  platform dialog.

This change fixes the launchbar-specific editor dialog to use a scrolled
composite instead of a regular composite on which to layout the content
of each tab -- This gives the launchbar's configuration editing dialog
exactly the same scrolling behaviour as the standard Eclipse platform
configuration editing dialog.

And also fixes any CDT-supplied tabs that try to manage their own
scrolling behaviour so now all tabs have the same behaviour when viewed
in the Launchbar-specific dialog as they do when viewed in the standard
Eclipse platform dialog.

Change-Id: I0d7364a24ca48bb125cae9518728b4c93b93545d
Signed-off-by: Mat Booth <mat.booth@gmail.com>
2021-11-04 11:18:50 -04:00
Mat Booth
ef30e37327 Bug 561996 - Remove dependency to com.ibm.icu from CDT DSF GDB
Switch to JRE implementations:
 * com.ibm.icu.text.MessageFormat -> java.text.MessageFormat

Signed-off-by: Mat Booth <mat.booth@gmail.com>
Change-Id: I823bcea99adad3decdfa29651b934b5902607f70
2021-11-03 18:28:19 +00:00
Christian Walther
f138ad10e8 Bug 575490: "No rule" after removing last source file from root
Include the top-level subdir.mk only when one was actually generated
(i.e. when there are source files there), just like for all other
subdir.mk, otherwise a stale one from earlier when there were source
files that have since been removed may be picked up, causing "No rule to
make target" errors.

In some cases (from bug 303953), the removal would be noticed and the
stale subdir.mk be overwritten by a correct empty one, avoiding the
error, but not in the following cases:
- When CommonBuilder.performCleanning() decides that a full rebuild is
needed, regenerateMakefiles() is called instead of generateMakefiles(),
which doesn't get the delta.
- When the refresh in which Eclipse notices the removed source file
happens as part of a build (one that probably failed because the
makefiles weren't updated yet), the next build after that apparently
does not get the delta containing the removal anymore.

Change-Id: Id15b424f02dd5c513d2124620c0c8699d61874fd
Signed-off-by: Christian Walther <walther@indel.ch>
2021-11-02 12:45:10 +01:00
Christian Walther
3afae27158 Bug 575702: Nondeterministic makefile ordering
Several parts of makefile output were generated by iterating over
HashMaps, which do not have a deterministic iteration order. Use
TreeMaps instead to output in sorted order. This is possible now that
the API function with return type HashMap is no longer public API and
can be changed to return Map instead.

Benchmark files for affected tests are updated to the new ordering.
This would not be strictly necessary: the tests would also succeed
without, since org.eclipse.cdt.managedbuilder.testplugin.
ManagedBuildTestHelper.compareMakefiles() uses a reordering-tolerant
comparison. However, recording the new (now hopefully stable) order
makes future development on makefile generation easier by avoiding
spurious diff output when tests fail due to changes to other parts of
makefiles.

Change-Id: I20f2e51bd5b9e3bcc5da245d781ca5b4a34fc0b2
Signed-off-by: Christian Walther <walther@indel.ch>
2021-11-02 10:47:17 +01:00