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

3041 commits

Author SHA1 Message Date
Jonah Graham
d9a16a23e2 [releng] Update eclipse run 4.14 platform release
Note - other doc plug-ins have already had their versions bumped
since the 9.10 release.

Change-Id: I26466b69faf046672e9fbc5a155a951169370562
2020-01-06 16:30:40 -05:00
Jonah Graham
3effb213fa Bug 558840: [releng] Remove unmaintained AERI from target platform
Change-Id: I0e0b424ced0980b7dd347fc8ce61a0fc60a5611d
2020-01-06 12:05:37 -05:00
Jonah Graham
ca1ee32031 [releng] Update comparator repo for p2 compare and replace
Change-Id: Iff7e7ba98fe37f89d1b6b0e0754ef827925e849e
2020-01-03 15:16:28 -05:00
Jonah Graham
a0e7c85832 Bug 558792: [releng] don't create source bundles for docs
The source bundles are not published to the p2 repo and having
them built causes tycho's p2 compare and replace to error like this:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-plugin:1.5.1:p2-metadata (baselinereplace-p2-metadata) on project org.eclipse.cdt.autotools.docs: baseline and build artifacts have same version but different contents
[ERROR]    classifier-sources: not present in baseline

Change-Id: I409f96c7a7ed054da37159b9b87564dd271c31b5
2020-01-03 15:16:05 -05:00
Sergey Kovalchuk
b74f56878c Bug 558474 - CleanUp deprecated methods in org.eclipse.cdt.ui
Reworked SubMonitors (Part2)
Fixed percentage counting
Removed explicit cancellation checks.

Change-Id: Ibd9ef2664885746ab9ac2be556ac5effc994a512
Signed-off-by: Sergey Kovalchuk <sergei.kovalchuk@arsysop.ru>
2020-01-03 09:34:34 -05:00
Jonah Graham
14561b343f Bug 558638: Add nature user display names
Change-Id: I2cabb572ab2e4a1ad2c3890267628a0aa13e4211
2020-01-02 18:18:00 -05:00
Marco Stornelli
aa08b85b6f Bug 266305 - Add common warning options to GCC(Clang
Add common warning options usually not included in -Wall. (GCC/Clang)
Added hardening options and address randomization under misc
section (GCC)
Added sanitize options under debug section. (GCC/Clang)

Change-Id: I885d8f49192018e50fcc5d28ee5e60d8785aa947
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-02 11:55:20 +01:00
Marco Stornelli
e6b712325c Bug 527143 - C++ dialect refactor
Renamed c++0x to c++11, c++1y to c++14. Added c++17 and c++20
aka c++2a.

Change-Id: I3939cb56bf887e193bffe7484c6568cf45bd315d
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-12-31 09:10:32 -05:00
Jonah Graham
bd814fdaf9 [releng] Bump to CDT version 9.11.0
Change-Id: If729509efbddc71adb565e224437b76089d6e099
2019-12-07 15:24:34 -05:00
Jonah Graham
35338f28a3 [releng] Cleanup code that has been misformatted and update to SDK 4.13
The check-code-cleanliness CI jobs have not been running recently,
so this commit is to the code up to those minor changes

Change-Id: I9fb4b0213dec558f58c5ca718b3d2685564ef456
2019-10-28 13:07:02 -04:00
Torbjörn Svensson
092b4ed3cf [releng] Add missing Bundle-Vendor to plugins
Change-Id: I889681c4748842999b708783cb7d21a801dba02d
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2019-10-24 12:50:12 -04:00
Marc-Andre Laperle
0c577f6e7e Bug 548730 - Compilation database (CDB) language settings provider
This language settings provider lets you specify the path to the
compile_commands.json and reuses existing build output parsers to figure out all
the language entries for each file to be used while indexing. With this, there
is no need to do a full build and in fact no need to have a working build
configured in CDT for indexing to work and be fully configured. This is
especially useful for non-CMake build systems that have no existing integration
in CDT but indexing would still works with little effort.  The build output
parser (GCC, MSVC, etc) is selectable as part of the configuration of the CDB
provider. There is also an option to exclude any file that is not present in
the CDB. This option is useful for large projects in order to speed up indexing
but also to increase index accuracy (conflicting symbol names, etc).

Change-Id: If21455ec529f9e162cdf3e5aff7a1bca83e362f6
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-10-23 21:47:54 -04:00
Jonah Graham
7a2ff27b91 [releng] Update comparator repo to last release
Change-Id: I00901808f1eda041f070b2f3e1cda076987c69a5
2019-10-17 10:07:44 -04:00
Torbjörn Svensson
e6de0c9385 Bug 551817 - Add about.html to src.includes for plugins
Change-Id: Id6e1a3c4aa94bf242efd62a28f5ca9de7d64f699
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2019-10-17 10:07:18 -04:00
Jonah Graham
2f5f4d50a2 [releng] Bump to CDT version 9.10.0
Change-Id: I027e7e5542fda3e599ee476814593fc4b464adca
2019-10-16 10:55:28 -04:00
Alexander Kurtakov
3317465cdf Do not use deprecated Boolean constructor.
Change-Id: If317ec13ca9ae0cc9ec6d4555afd0b26a402e376
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:23:13 +03:00
Alexander Kurtakov
8ba5a7191f Migrate to ViewerComparator.
Change-Id: I5b70806ca7376797e387164158a0c41d52b59cb5
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-10 22:20:44 +03:00
Jeff Johnston
232e3d7153 Bug 551089 - Builds with libraries having spaces in the name fail
- add new checkIfQuotedOption() method to GnuMakefileGenerator
- have ensurePathIsGNUMakeTargetRuleCompatibleSyntax() look to
  see if the path is actually an option with path in which case
  if it is quoted, do not try to escape white space

Change-Id: I67a286962ba67acb75d1f8c29cac47069ab07353
2019-10-03 15:19:19 -04:00
Jonah Graham
2cbf927a36 Bug 550076 - Use PE64 parser by default
Change-Id: I757c8ace43e79f1215ad0e817430e5ab90415401
2019-09-09 15:56:07 -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
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
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
51da3eb3a6 Remove redundant superinterfaces.
Change-Id: I0de3509b02a8ef6853f0053c9ee6edd304a05a86
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-10 10:28:51 -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
Doug Schaefer
e744550278 Bug 549014 - Manage CMake toolchain files by toolchain
Use the toolchain type and id as the key to the Map holding the
toolchain files instead of the Path to the file. Also simplifies the
build config since we can always figure out the toolchain file from
the toolchain. Deprecate getting toolchain by path since that shouldn't
be needed any more.

Also took the opportunity to add javadoc to the interfaces.

Change-Id: I11ae2ad8177a3f60399742c8c19576f85ea4b8c0
2019-07-15 16:30:59 -04:00
Umair Sair
84e2470069 Bug 545976 Clicking on error/warning in build console doesn't open file
Problem:
========
Common builder invokes the build on all the referenced projects. For the
markers creation, the project on which build is invoked by user is used,
that is incorrect. Once all the referenced projects are built, the
actual project starts building and removes all the markers associated
with it, hence the markers created previously for referenced projects
are removed and now clicking on error/warning in build console of
referenced projects will not open source file because of missing
markers.

Fix:
====
Always set the correct project being built for markers creation using
setCurrentProject(..) API.

Change-Id: Ief051ac664ea964816fdcbe7f2f54bcf43caa212
Signed-off-by: Umair Sair <umair_sair@hotmail.com>
2019-06-21 13:19:27 -04:00
Umair Sair
15cf760405 Bug 546407 Project dependencies are not built in the correct order
Problem:
========
filterConfigsToBuild(..) always filters the configs that are once added
to set irrespective if it has been built or not. Consider scenario where
there are three project a, b, c and a depends on b & c and b depends on
c. When a is built, filterConfigsToBuild(..) returns configs of b and c.
Then b starts building and filterConfigsToBuild(..) doesn't return
config of c because its already in set. This is wrong and it should
return config of c because it is not yet built and b depends on it.

Fix:
====
If a referenced config by any project/config is not yet built,
filterConfigsToBuild(..) shouldn't filter it.

Change-Id: I5fbe77789f14ce3114200998070a7461069c98ab
Signed-off-by: Umair Sair <umair_sair@hotmail.com>
2019-06-21 13:18:06 -04:00
Jonah Graham
f3e8387a8e [releng] Bump version to 9.9.0
Change-Id: I6641e51a8bfdb44fa5c646d97debf2bf814c107a
2019-06-11 12:33:48 -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
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
Clément Hurlin
a201acf7c1 Use IToolChain instead of ToolChain in constructor of Configuration.
The constructor's body and the rest of the class was already using
IToolChain.

Change-Id: I905e15dcedb6c3280c271bf3c47ef6f1e898d3b9
Signed-off-by: Clément Hurlin <clement.hurlin@provenrun.com>
2019-05-24 10:31:10 +02:00
Jeff Johnston
b5af112f86 Bug 547104 - Adding new Docker Connection causes two build dirs
- change createBuildConfiguration() method in providers:
  MesonBuildConfigurationProvider, CMakeBuildConfigurationProvider,
  AutotoolsBuildConfigurationProvider,MakefileBuildConfigurationProvider
  to not create a .x config name and instead use the found
  IBuildConfiguration so the new CBuildConfiguration will be
  overridden in the CBuildConfigurationManager

Change-Id: Ia5f460e879f3412f19a9dec7b88dd392714b54ca
2019-05-16 21:58:27 -04:00
Dorothea Pilz-Roeder
8b88c9bffe Bug 180451 - fix generateMakefiles() on incremental build
- generateMakefiles() requires similar patch for the top build
directory like regenerateMakefiles().
 - need to extend the check in isGeneratedResource for config
directories located in subdirectory of the project root.

Change-Id: Id1809e216aee54524bc6cb072f8883ea5a202b61
Signed-off-by: Dorothea Pilz-Roeder <dorothea.pilz-roeder@advantest.com>
2019-05-07 14:09:27 -04:00
Fabrizio Iannetti
2006e6cdf1 Bug 546409 - CMake configure failing in corner cases
- With Makefiles generator run configure step if no Makefile exists
- Clean build dir before running the configure step

Change-Id: I3514835920a452e724e04b19f64d4a74fc4f3c2c
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
2019-05-02 23:06:32 +02:00
Jeff Johnston
cbf526193a Disable Meson UI tests
Change-Id: Id0036d80ac3f1ea652d63395593d4cbb8f3f5996
2019-04-30 21:32:03 -04:00
Jeff Johnston
e153fa920d Bug 546390 - Add Container build support to new Core Autotools
- add support for Container builds to AutotoolsBuildConfiguration,
  AutotoolsBuildConfigurationProvider
- fix core Autotools templates to set up the default source and
  binary to be the same as the project name

Change-Id: Ib262c1f6ddd65b136be2d2d3d25601226ddd289f
2019-04-15 16:17:53 -04:00
Jeff Johnston
19e551da58 Bug 546288 - Docker images for CDT Launchbar builds cannot have a slash
- fix CMakeBuildConfigurationProvider.createBuildConfiguration() to
  massage any image name and replace all slashes with underscores
- do the same for MakefileBuildConfigurationProvider and
  MesonBuildConfigurationProvider

Change-Id: Ib09ade66059533f089084e50cba95d54e9d40547
2019-04-10 15:49:08 -04:00
Dorothea Pilz-Roeder
3dc407d008 Bug 180451 - [Build] Build output directory should be selectable for
managed build

Allow clients extend GnuMakefileGenerator and allow them to provide a
different top build output directory.

Change-Id: I37dd96089f6f4bed6f4255def4bef193fb27e7e4
Signed-off-by: Dorothea Pilz-Roeder <dorothea.pilz-roeder@advantest.com>
2019-04-10 10:57:14 +02:00
Jeff Johnston
5bd43cf304 Bug 545819 - Meson properties dialog doesn't work with meson 0.50.1
- fix meson properties page to use meson setup -h
- reenable meson ui tests
- fix CMake New Project test to wait for shell open/closes
- fix regression in EvalUnaryTypeID that is made visible by
  CMake New project test

Change-Id: Id64d4df6d9764d0c84553b5c4f73fa44149bda19
2019-04-03 10:20:28 -04:00
William Riley
8220215a2e Bug 545624 - Disable failing tests
Change-Id: I60d34ca269482b089d738f5b911378bc1bd57238
2019-03-21 11:46:47 -04:00
Jonah Graham
cdc99feef2 [releng] Bump version to 9.8.0
Change-Id: I3861d4c5d0eecaf9dd370f269a655e666b60561a
2019-03-01 13:25:21 +00:00
Jonah Graham
481e4f13f0 Bug 544944: Add a description for new Arduino Project
and fix wording of makefile project. These are to take
advantage/improve based on new platform feature:
https://www.eclipse.org/eclipse/news/4.11/platform.php#onboarding-text
which was done in Bug 543746

Change-Id: I4b6c5812adbf0c94e7dd60c80b5150f524e065e5
2019-03-01 11:29:10 +00:00
Jonah Graham
783af3dee6 Bug 544721: Increment version following new standard
See https://wiki.eclipse.org/CDT/policy#Version_Numbering

Change-Id: Icac4c041d2ea1178ab40bd97531d014c4be22675
2019-02-26 09:04:57 +00:00
Philip Langer
90c82078ac Bug 544721 Retain rebuildState state when cloning build configs
When cloning build config, all its childrens' rebuildState and dirty
state are maintained except for the states of AdditionalInput and
InputOrder.

With this change, we also retain their rebuildState and dirty state,
if it is a clone (that is, copyId is true in the InputType).

Change-Id: I63b2d38d0065e50357887bfccb340d458d2f4441
Signed-off-by: Philip Langer <planger@eclipsesource.com>
2019-02-22 14:52:52 +01: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
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
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
677cc2cf63 [releng] Bump version to 9.7.0
Change-Id: Icaa0b6acf73e3a19e0d102fa8ae784e631d8743a
2018-12-10 13:50:44 +00: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
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