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

3080 commits

Author SHA1 Message Date
Marc-Andre Laperle
d017917f35 Bug 563006 - CDB settings provider/parser doesn't support "arguments"
One flaw with this implementation is that the "arguments" coming from
the CDB do not have shell quoting and shell escaping of quotes whereas
the current implementations of Build Output parsers assume some form of
shell quoting. This means that simply joining strings of arguments with
spaces will be missing the expected shell quoting and possibly misparsed
by the build output parsers.
It is not clear to be at this point if this should be fixed or not as it
might involve revamping the existing build output parsers to add the
concept of shell/environment and this could also affect potential
extenders.

In this current form, simple cases with no spacing and quote escaping
involved work correctly and is still a nice improvement.

Change-Id: Ia81796e63c748318b34696998ac4a467712e5f96
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-07-11 17:28:56 -04:00
Marc-Andre Laperle
97c1151f01 Bug 564949 - Remove support for CDT 3.X style projects (partial)
Remove some Wizard classes that are not referenced anywhere anymore.
This commit is just a first of probably several commits but is already
a start. I already had very large commits in progress in the past but
it became big and hard to push so I'd rather do it step by step this
time and at least have some of it done for the next release.

Also moved some messages to its own message bundle in managedbuilder.ui
because it's the only place they are used now.

Change-Id: Ib4258684c91f205dc4af3b17169609b5ebcff253
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-07-07 22:26:01 -04:00
Torbjörn Svensson
0391d6ccf1 Fixed NLS and null warnings
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Change-Id: I6e40038e99c37a4efc25f64d8d186b00c6f55f8c
2020-07-04 04:20:49 -04:00
Sergei Kovalchuk
379004b618 Bug 562003 - Remove dependency to com.ibm.icu from CDT Make UI
The dependency was removed.The Copyright head was updated.

Change-Id: I82e4289fc8cb14e8488b847e8efa415dd1d77b6c
Signed-off-by: Sergei Kovalchuk <serjiokov@gmail.com>
2020-06-17 03:33:25 -04:00
Jonah Graham
12cf801870 Bug 564272: Increment major version of org.eclipse.cdt.core to 7.0.0
Change-Id: I9124dd406c5981435a72ff4aaa7033f1c3d1979b
2020-06-13 16:21:05 -04:00
jantje
f5e029d19c Bug 564123 delete org.eclipse.cdt.utils.Platform
The class overrode org.eclipse.core.runtime.Platform to
workaround bugs in the platform that have since been fixed.
As 32-bit x86 and PPC support has been removed this
class is no longer needed as all the code is now
unreachable anyway.

Change-Id: I01bb00b9203aa02663ff25ce36c4c14f22dadee5
Signed-off-by: jantje <eclipse@baeyens.it>
2020-06-13 13:05:41 -04:00
Torbjörn Svensson
ef2ee6df71 Bug 564257: Respect commandGenerator and applicabilityCalculator
The method Configuration.getUserObjects() and Configuration.getLibs()
should respect the commandGenerator and applicabilityCalculator defined
for the option in the toolchain definition.
The method Tool.getToolCommandFlags() should call the commandGenerator
only if the value type would generate a default command.

Change-Id: I4d6224627888e602682076ac929adbf808cff8d7
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-06-12 20:02:31 +02:00
Sergei Kovalchuk
4bd9fed83b Bug 562004 - Remove dependency to com.ibm.icu from CDT Managed Build
Core

Dependency removed for Managed Build Core

Change-Id: I15e29453a1452a5060c470f3b3658cb5763615b0
Signed-off-by: Sergei Kovalchuk <serjiokov@gmail.com>
2020-06-08 06:12:46 -04:00
Sergei Kovalchuk
afdd68157b Bug 561993 - Remove dependency to com.ibm.icu from CDT UI
Use java.text.MessageFormat instead of com.ibm.icu.text.MessageFormat

Change-Id: Ie7ed91d776b707def1bbfc12c24f5e863638e083
Signed-off-by: Sergei Kovalchuk <serjiokov@gmail.com>
2020-06-04 07:31:47 -04:00
Marc-Andre Laperle
167ce562b2 Bug 559186 - Allow using variables for the CDB path in CDB settings provider
For example, you can use ${ProjDirPath}/buid/compile_commands.json
which is a more sharable setting

Change-Id: Ic51775ea1f7d258c55e2e720c94f626a17444744
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-05-10 14:44:18 -04:00
Jonah Graham
0ab57c346a [releng] Remove and add .prefs files according to improved cleanliness script
Change-Id: I9bc8364cda1a1154750127f5db5549073323e84c
2020-04-26 14:52:45 -04:00
Jonah Graham
eeebe5234c Bug 562452: Avoid using .C for C++ files when calculating specs
Change-Id: I0fe24a8343e73d501ae09e8bf3721e3d310a696d
2020-04-25 16:43:23 -04:00
Jonah Graham
d66d3e8e85 [releng] Bump version to 10.0.0
Change-Id: I32f6f61835bdbad3cffd713965045c5097c8619f
2020-04-11 17:46:58 -04:00
Marco Stornelli
31b748e7b9 Bug 510789 - Added final field to class wizard
Change-Id: Ib2f0168b897e665f3577511144692bb446d5ab84
2020-04-09 06:44:42 -04:00
Alexander Fedorov
ec893a74ec Bug 561539 - Revise API for CDT Build GCC support
Export packages as "x-internal"

Change-Id: I592594aa402a5137c8e95346ab8c9acd858a557c
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-30 13:52:08 +03:00
Jonah Graham
1cb1cdaa9a Bug 561406 - Revise API for CDT Autotools
Setup API filters

Change-Id: Ie9f8fc399be84216bb092bd3a6b7612a564768d7
2020-03-29 13:38:45 -04:00
Alexander Fedorov
d9b5d57514 Bug 561406 - Revise API for CDT Autotools
Setup API filters

Change-Id: I1147d697fa7c76b2da50502966ac60d1bcd0c74d
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-29 10:54:59 +03:00
Alexander Fedorov
822508a83b Bug 561406 - Revise API for CDT Autotools
Export packages as x-internal" for test bundles

Change-Id: I6961e5f9e805cab13263d3407ac95b8006d8de43
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-28 14:38:02 -04:00
Alexander Fedorov
b65be51fc9 Bug 561406 - Revise API for CDT Autotools
Mark packages either "x-internal" or "x-friends"

Change-Id: I63a1ff904ed483de2591004e42b452e6b76c16c2
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-25 22:22:10 +03:00
Alexander Fedorov
c664c76dcd Bug 561390 - Revise API for CDT CMake UI
- renamed package "org.eclipse.cdt.cmake.ui.properties"
to "org.eclipse.cdt.cmake.internal.ui.properties"
- exported all packages as "x-internal"

Change-Id: Iedf70fec4d3457b24fdfa288d87af855c560fbf4
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-24 08:46:09 +03:00
Marco Stornelli
c2f51a8d23 [releng] Bump CDT version to 9.12.0
org.eclipse.cdt.debug.gdbjtag is bumped because of Bug 561343

Change-Id: I6dac283b7e9093662f57ac5c804021c4201ad6f1
2020-03-22 14:05:17 -04:00
Jonah Graham
ce109e81cc [releng] Update help-docs-eclipserun-repo to use Platform 4.15
Change-Id: I4fcfba2b33ea511d58856ed2c3c6e51322661708
2020-03-22 13:33:47 -04:00
Martin Weber
268903ba01 Bug 561318: Recursively delete files without running out of handles
Change-Id: Ib760f53a22bb75f0447c633341728a49cdf8cbfb
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-03-21 19:17:54 -04:00
Jeff Johnston
d1c7eb449a Bug 560738 - Changing single Meson property does not do anything
- fix check in performOk() so a single property can be changed

Change-Id: If3a838b91c89bee9b96f4336a5af004f7594e237
2020-03-03 12:08:03 -05:00
Jonah Graham
3fa2f45e08 Fixup versions on Revert "Bug 560614 - Drop dependency on ICU4J"
Change-Id: I837592950482cc1872fdafb73fc7e9a01292a7ed
2020-03-02 12:47:54 -05:00
Jonah Graham
5a6b9b4bf4 Revert "Bug 560614 - Drop dependency on ICU4J"
This reverts commit 87b627bf02.

Change-Id: I54ea1ac766437deb174eeba571a7a5094c180828
2020-03-02 06:49:24 -05:00
Alexander Kurtakov
87b627bf02 Bug 560614 - Drop dependency on ICU4J
Straightforward conversion. Still usages left that need deeper
investigation how to be done proper.
Some long time commented code removed as java formatter breaks trailing
whitespaces on save.


Change-Id: If74259bed5735b0d4cc98fc2cfa609c9c53c80c9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-03-02 06:46:15 -05:00
Alexander Fedorov
191cd19825 Bug 559641 - No Meson in CDT due to Meson UI causing OSGi wiring issue
I have no idea why JAX-RS was needed to parse JSON, may be meson has
REST based web-services? Who knows.
I removed com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider that
seems to cause wiring issue - but I'm not sure that it is really gone.
I still can see a UI from json, checked it with modifying field
descriptions in "intro-buildoptions.json"

Change-Id: I2252ae0901e4e408ba6a4752c91ad3a1fbecb096
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-02-04 15:42:32 -05:00
Alexander Kurtakov
f90f900e48 Move away of the deprecated AbstractUIPlugin.getWorkbench
Use PlatformUI.getWorkbench instead.

Change-Id: I8c0eb2c4b3b414e61f03fc9d9becd1d574f7e26d
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-04 14:43:53 +02:00
Alexander Kurtakov
2f20829144 Remove unnecessary cast to IToolChain.
Change-Id: I653c4b3f4389c4ad4add33cf223ff7882d8fb0ac
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-04 10:55:18 +02:00
Jonah Graham
edf13963f7 Bug 559647: [CDT autotools docs] Update links to be https://
As the pages are served in an https:// frame, modern browsers will
only successfully link content if link is also to https.

This commit includes the regenerated from Wiki output

Change-Id: If4c3bc083ddbb5dc63a9edfb2b3cd9aaf47b54de
2020-01-30 13:44:15 -05:00
Jonah Graham
bcfcc0b7d7 Bug 559647: [CDT meson docs] Update links to be https://
As the pages are served in an https:// frame, modern browsers will
only successfully link content if link is also to https.

This commit includes the regenerated from Wiki output

Change-Id: Ie09f411baa02cda76d33a294c8feaa9d35d0ffbe
2020-01-30 13:44:15 -05:00
Alexander Fedorov
d4bcea1ec7 Bug 559707 - Promote ToolchainBuiltinSpecsDetector.getTool(String)
added
protected Optional<ITool> languageTool(String languageId)
instead of
private ITool getTool(String languageId)

Change-Id: Ic21d2a493acf4e547c7354c544c2cef34b53eab6
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-01-30 15:50:54 +03:00
Torbjörn Svensson
a0963136f8 Mark ToolchainBuiltinSpecsDetector.getTool(String) protected
Change-Id: Ib0f4172d0a97ce46465ef50ed521b515a59bbab9
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-01-29 18:33:02 -05:00
Jeff Johnston
cc466a2e49 Bug 548350 - meson projects fail
- add meson 0.50.support
- fix MesonPropertyPage to look for meson-info directory if the
  project is already configured and use the intro-buildoptions.json
  file to parse the various options and default values etc...
- fix description of MesonPropertyCheckbox to only show the first
  sentence of any description
- fix tooltip to show on option name, not just the widget
- bump up version of meson ui

Change-Id: Id0a528d4ffb000bc63a007037c5e216c956a199c
2020-01-17 17:01:27 -05:00
Marc-Andre Laperle
0d5325df4e Remove 'Marc-Andre Laperle, Inc.' from Copyrights
The Inc. part is not a thing.

Change-Id: I615b8c7727f4f8e1371a300fcf54cdd9e9f30714
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-01-17 00:56:11 -05:00
Jonah Graham
db974aa2a8 Bug 558827: Add and/or fix branding on all features
Change-Id: I6d8b1ae2416ed673d18e7e15500dcc7c8a87786d
2020-01-09 15:11:35 -05:00
Jonah Graham
b7bd96d371 Bug 551817: Normalize case of (c) to match Eclipse Handbook
Change-Id: I46404d20d20c385bf8efaaada66e18eea4d4e163
2020-01-09 12:18:50 -05:00
Jonah Graham
e770ac2b7b Bug 551817: Write Kichwa Coders consistently in Copyright line
Choice is one of:
Kichwa Coders Ltd
Kichwa Coders Canada Inc.
depending if contributed by UK or Canadian company

Change-Id: I5c9fb96ea6abf97858a6896911a71fa68b8400b1
2020-01-09 09:16:43 -05:00
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