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

34944 commits

Author SHA1 Message Date
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
0b6d334473 Bug 559800 - Content in cdt.doc.isv badly outdated and broken
Fix:
!ENTRY org.eclipse.pde.core 4 4 2020-02-04 14:34:11.588
!MESSAGE The Plug-in Development Environment requires the PlatformAdmin
service to operate. Please install the compatibility fragment
'org.eclipse.osgi.compatibility.state'.


Change-Id: Ia2b6c7ccb6cd5b352a8dbb65437ab7b6b2de0bcd
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-04 10:08:58 -05:00
Alexander Kurtakov
c52d550ca2 Open Maven versions
It is impossible to build CDT with Maven 3.6.1 (shipped with Fedora and
patched to not fail the build) nor with my downloaded Maven 3.6.3.
I opt for opening the range.

Change-Id: I6d12bedde45d6715c86768a00cb289d05e40fd23
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-04 08:18:03 -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
Alexander Kurtakov
abdeccb73f Bug 559800 - Content in cdt.doc.isv badly outdated and broken
Add custom tags for pde as done in platform.

Change-Id: Ibd11bd14064a7c1bf57278d675c0243408660492
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-04 00:30:48 -05:00
Marco Stornelli
76bf5b4e7c Bug 475625 - Allow user to have empty variable names
When the user selects the second wizard page was forced to use
a no empty variable name, however it's possible the parameter won't
be used and the user wants to have a matching signature. Removed
the check. The parameter name is still automatically set if the user
click directly on "Finish" button.

Change-Id: I665220b72d7b04b4bc89ffd5d764771cdfa8b243
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-02-04 00:25:37 -05:00
Alexander Kurtakov
244c43f414 Bug 559800 - Content in cdt.doc.isv badly outdated and broken
Link against Java 11 api.

Change-Id: I8a62228839aaa595f9ebe3a964004b223638f490
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-04 00:17:51 +02:00
Alexander Kurtakov
f2db45ebf5 Bug 559800 - Content in cdt.doc.isv badly outdated and broken
Update version, copyright year and remove cdt.core.search package as
there is no such in the git repo.

Change-Id: Idaeea8a8d61d6cb9834782482e85b3eaade24fd3
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-03 23:58:42 +02:00
Alexander Kurtakov
738ea44b09 Bug 559800 - Content in cdt.doc.isv badly outdated and broken
Remove neverneeded leftover from jdt copy of the buildDoc.xml file.

Change-Id: Id05bd1aa96fc99009545548832561cc42347835a
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-03 23:57:08 +02:00
Alexander Kurtakov
e63b8ff324 Revert unneeded change for Java 11 fix.
Change-Id: I4b2230c46aef6b255d6cb218803a636e72e08f65
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-03 23:32:18 +02:00
Alexander Kurtakov
e3b2b08b76 Fix build with Java 11.
Javax.annotation has to be added as it's not part of Java 11.
Removed the classpath line from options as most of the entries there are
plain wrong and unresolvable for years - no longer inner jaras and etc.

Change-Id: I2db47f541372b3b0544996d0796071976d87cd8b
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-03 20:25:33 +02:00
Marco Stornelli
15479e9095 Bug 559669 - Fix formatter on/off tags
Change-Id: Ia481703a0360ec5741d2fb079a75aa13a33bff39
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-02-01 15:23:59 +01:00
Jonah Graham
165fd275fb Bug 559474: Correct feature and bundle provider names
It is now Eclipse CDT providing these, so update to match

Change-Id: I1bc83b77d491d1475db51cbb6396571893d8ee42
2020-01-31 13:22:20 -05:00
Jonah Graham
5cd81e1c63 Bug 559474: Remove unneeded .settings directory
Change-Id: Id9344c8ec478d3b83f7d0e61e07e3586edfa8c11
2020-01-31 13:20:47 -05:00
Jonah Graham
926ff8cdee Bug 559474: Provide unique branding plug-in for each feature
It has been that org.eclipse.tm.terminal.view.feature and
org.eclipse.tm.terminal.feature shared the same feature plugin, which
meant they could not have their own branding.

Change-Id: I5bc48902c0ee93796fd4df7f847a39529bca3f7f
2020-01-31 13:15:51 -05:00
Jonah Graham
cab9aa30f2 Bug 559474: Bump all terminal versions to 4.6.0
The 4.6.0 version marks the first version of terminal built in
CDT and in a different git repo - there are no API changes.

Change-Id: Ic6c4089d7e6ccbb2701bf59fedba2b6a8dd4c856
2020-01-31 12:45:38 -05:00
Jonah Graham
384e9180a5 Bug 559474: Add Terminal features to CDT's p2 repo
Change-Id: If7bafffc0f8a412d424d87beca890226cf1cab54
2020-01-31 12:30:13 -05:00
Jonah Graham
dc5c293233 Bug 559474: Remove reference to missing p2.inf
This feature references a p2.inf that is not there, there
are also some p2.infs in the repo that are not referenced.

Change-Id: I6c5603af62258cc70758761877169f19aeb36fc9
2020-01-31 12:20:41 -05:00
Jonah Graham
8746d8d1da Bug 559474: Change tm.terminal's features to generate source automatically
Instead of needing special features, use CDT's way of
using tycho-source-feature-plugin

Change-Id: Ie797615a141ce0c8c49c1bff2e38d6ae335a52b3
2020-01-31 12:20:41 -05:00
Jonah Graham
56410708c3 Bug 559474: Set TM.terminal features to latest license bundle for EPLv2
See also Bug 538094

Change-Id: I1a40f64df0d4637938ba343cb8f9d78265739239
2020-01-31 12:20:41 -05:00
Jonah Graham
c58c28b9cc Bug 559474: Format all TM.terminal 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: Id04c972c3b3cb0a6ed1ab8581185359b7cf43f91
2020-01-31 12:20:41 -05:00
Jonah Graham
213770265a Bug 559474: Normalize .settings
Change-Id: I4b8ca8341a3f479a74a06621f68534732cff6957
2020-01-31 12:20:41 -05:00
Jonah Graham
474f886fe2 Bug 559474: Add all file types to .gitattributes
Change-Id: Ib63f010cf5e741beb6a77096e958ab5478133635
2020-01-31 12:20:41 -05:00
Jonah Graham
16674f28cf Bug 559474: Normalize features to match requirements of CDT
Change-Id: I274a6e5f985d60d1ae6fc929af3eb0fdcea868ba
2020-01-31 12:20:41 -05:00
Jonah Graham
6f6ca64ed6 Bug 559474: Integrate tm.terminal into CDT's releng
Change-Id: I46db42560ec0b93bb265f45920d78c97a32338c3
2020-01-31 12:20:41 -05:00
Jonah Graham
6f9502c9c2 [releng] Bump version of cdt.core for new API
Change-Id: I64fcde8659f97c133fedc700879bee4eb86d97e9
2020-01-31 12:15:46 -05:00
Jonah Graham
53ba4006b5 Bug 559474: Merge TM.terminal into CDT
Change-Id: I705bbc215b22956ae81cdd10f1c04c0c1316be75
2020-01-31 10:01:03 -05:00
Jonah Graham
642a74e8e7 Bug 559474: Update all releng for terminal to build on its own
Change-Id: Ib49332b01a7b18e6b640b9911e3f6556190632d9
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2020-01-31 09:56:26 -05:00
Jonah Graham
2dc2611605 Bug 559474: Remove all parts of TM not migrating to CDT
Change-Id: I0fdd9d24c5910b3ba939dc0924ae41669e74ff53
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2020-01-31 09:56:16 -05:00
Jonah Graham
d1e156263e Bug 559647: [CDT debug.app.doc] 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.

Change-Id: Iaebef874aaacbd5bcadb4517d3bd51108a5676c4
2020-01-30 15:34:28 -05:00
Jonah Graham
15e569164c Bug 559725: Update to LSP4J 0.9.0 with its breaking API changes
Change-Id: Idc4b9aca78be647824e642d168d0502db78080bb
2020-01-30 15:33:11 -05:00
Marco Stornelli
c775a210e1 Bug 559545 - Fix formatter with enums with standard attributes
Change-Id: I993e773792105e22b9c2f703488e7ff211ed4068
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-30 13:57:23 -05:00
Marco Stornelli
24ce60ba3f Bug 534420 - Add support for [[maybe_unused]] attribute
Change-Id: I7214b4f9b11a190c81bad50dace87c69fe404886
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-30 13:56:44 -05:00
Marco Stornelli
c0402d5d06 Bug 434677 - Fix implement method insert position with namespaces
If the correct namespace existed before the refactoring in the
translation unit, refactoring process just ignored it.

Change-Id: I9d6bd301807bb2d3f83f74ef772395d3470cf8bd
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-30 13:55:38 -05: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
Jonah Graham
d26d4c3cae Bug 559647: [CDT doc.isv] 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.

Change-Id: I51b31e8924988159d05a17092837bc59af0c0953
2020-01-30 13:44:15 -05:00
Jonah Graham
54e8f2c55e Bug 559647: [CDT doc.user] 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.

Change-Id: Icee29a3e5f6f0d913f620ff27ac5425aeb16c476
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
Jonah Graham
50c919d63f [releng] Cleanup unused Require-Bundle
This plug-in started life alongside language server implementation so
had inherited many of those dependencies which aren't needed

Change-Id: I9e61923e744779a9c094506fe89032284718ea53
2020-01-28 16:31:37 -05:00
Nathan Ridge
cd2ed18cd6 Bug 553794 - Add support for the __integer_pack builtin
Change-Id: Idc978d1d0b44cfe326283a0c3779969fdc3f3599
2020-01-28 05:20:09 -05:00
Jonah Graham
d11f7216a4 [releng] Document regenHelp profile
Change-Id: If7d62e71ec45cff1d84700fa73e4d9810427965f
2020-01-27 12:05:39 -05:00
Marco Stornelli
86f2ad3301 Bug 452809 - Implement method fully qualified decl specifier
If an enum, a struct or a class is defined inside a class, the
implementation must qualify the declaration specifier.

Change-Id: I1e9450c7b165a25c4a745c50fe2e0c06e28775d0
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-25 01:47:42 -05:00
Alexander Fedorov
73a7ac3642 Bug 559067 - Rework DocCommentOwnerComposite and mark it for deletion
Added org.eclipse.cdt.internal.ui.dialogs.DocCommentOwnerArea
Deprecated org.eclipse.cdt.ui.dialogs.DocCommentOwnerComposite
and marked it for deletion

Change-Id: I6ec1266fa0a7bce2e3fee43d1c4c2c0b3ba11ef7
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-01-24 22:27:34 +03:00
Jonah Graham
59d42d466a [releng] Update PTP remote to 2020-03-M2 dependency
Change-Id: I9d0acefd86d65c10411cf070f2e12cc983612056
2020-01-24 11:15:57 -05:00
Jonah Graham
1834a3c88d [releng] Remove unneeded items from target platform
XML editors were added to CDT's target platform in
https://git.eclipse.org/r/#/c/56572/ for
"Bug 478231 - Hook up .qrc files to the XML Editor"

As far as I can tell it is not necessary to have the XML
editors in the target platform. The 56572 PatchSet does
not add any dependencies in Webtools XML editor. I believe
it was probably added to make it possible to test this
code in the dev environment. However now end users may
have xml editors installed from other places, such as
generic editor based ones.

Change-Id: I2f3c55918990778a77337fddaec6b06ee979fdb8
2020-01-24 11:15:57 -05:00
Jonah Graham
5c57b320ec Bug 558439: [releng] Remove the old p2 repos for now merged repos
To ensure that developers don't need to add all the new
launchbar and tools.templates projects to their workspace,
the main dependencies are pulled in from the most recent CDT
build.

This is achieved by having the main CDT feature in the target
platform which allows developers to have just key bundles in
their workspace e.g. org.eclipse.cdt.{ui,core}[.tests]

This is similar to how Eclipse Platform projects have the I-builds
in their own target platform.

Change-Id: I59dd36c3f0cb4fdc182ae7cc8d8e996c1dfa90f6
2020-01-24 11:15:57 -05:00
Alexander Fedorov
13ddacb772 Bug 559066 - Rework DocCommentOwnerCombo and mark it for deletion
Reworked usages of DocCommentOwnerCombo and marked it for deletion

Change-Id: Ic1bfbcdb12512be0d2eed1ae93d454d7f1e5668f
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-01-22 21:45:02 +03:00