Commit graph

70 commits

Author SHA1 Message Date
Torbjörn Svensson
0dfd824c4d [releng] Prepare repo for 10.6.2 release
Contributed by STMicroelectronics

Change-Id: I6c65409ecb55d4f975ddb16d7409d8b94adecc52
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-05-08 15:03:54 +02:00
Torbjörn Svensson
586418a4e4 [releng] Prepare repo for 10.6.1 release
Contributed by STMicroelectronics

Change-Id: I7d203748b8a7690f30a831542ac34a07caa2da0c
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-04-19 05:02:38 -04:00
Jonah Graham
640dc53892 [releng] Bump version numbers for all modified projects
Change-Id: I0d78c550512d8e63374bf1bc3a53f80e5d387e31
2022-01-12 18:57:12 -05:00
Jonah Graham
431e5ffd23 [releng] Bump end year on copyright on all modified features
Change-Id: I0d35eb6514d87fb6dcba0a284f58963b80861d51
2022-01-12 18:57:12 -05:00
Jonah Graham
dbd7558f17 [releng] Bump to CDT version 10.6.0
Change-Id: I28629cdfb0906ce7f1b33a88cbbd55521afc8f6b
2022-01-12 14:07:45 -05:00
Jonah Graham
ad4d444823 [releng] Prepare for CDT 10.5.0
Change-Id: I9b72edf4a0ff0771a147934dd7f1c92ba1ee799a
2021-09-26 20:23:17 -04:00
Jonah Graham
902ea0dfa1 [releng] Bump to CDT version 10.4.0
Change-Id: I0807f46d9ebb8bb579b687366cdb19e40935a9ec
2021-06-12 20:52:54 -04:00
Alexander Fedorov
8dbf024ab8 Bug 572552 - CDT releng: update versions to 10.3.0
Added missed license headers
Updated baseline for the parent pom to CDT 10.2
Updated version for pom.xml to 10.3
Updated version for features and bundles to CDT 10.3
Updated copyright for about.properties to be 2021
Incremented version + 100 where needed

Change-Id: I79666fcc0402fee6607499d7dce1eaf87a5f446d
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2021-04-04 16:17:25 -04:00
Jonah Graham
c248620053 [releng] Increment feature and related versions to 10.2.0
Change-Id: Icd135a588920fa25fd846dc285db5f83e5ac7037
2020-12-19 12:11:25 -05:00
Jonah Graham
24639efcee [releng] Bump version to 10.1.0
Change-Id: I39f7c379c0b43c086a25b047b3af564f6f24d670
2020-10-06 16:20:18 -04:00
Alexander Fedorov
4a3e046dda Bug 536320 - Do not show LSP4E diagnostics in the C++ editor
Requires https://git.eclipse.org/r/c/lsp4e/lsp4e/+/168414
Allow LS to be started
	from "Generic Editor" only
		and
	if ".settings/org.eclipse.cdt.lsp.core.prefs" has "prefer=false"
actually this blocks LSP from launching until user will configure it
explicitly.
UI to configure for workspace and project.

Change-Id: I7104d21f90380a5de7ccae157ea4299e0558a27c
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-09-02 13:44:53 -04:00
Jonah Graham
88b2322c38 Bug 551817: Fix legal docs - and automate their checks
Change-Id: I6f97927f0df64a28e71a2d7ab4c55b609794f751
2020-08-30 23:15:59 -04:00
Jonah Graham
0cb1f7482a Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects
Includes updates to code cleanliness script

Change-Id: Ic495124285e3e002993f34dc12be5ad7337fe13b
2020-08-30 20:02:41 -04:00
Alexander Fedorov
0349a8a85f Bug 566421 - CDT LSP should declare server as singleton
Mark "org.eclipse.cdt.lsp.core" contribution as singleton

Change-Id: If39a3b769f11d0cfda94857cc4d5b7bc6fff0df5
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-26 22:12:59 +03:00
Jonah Graham
0c5093d6ff Bug 566334: Turn on API Tooling & Analysis for all bundles
Change-Id: I3cb5645eba52b0cd0e9a71069264d9c589159107
2020-08-24 17:50:56 -04:00
Jonah Graham
fd9382d8a9 Bug 562494: Update BREE to Java 11
Change-Id: I0c91aafc0cb1b179936acbd4c9df2d961899e3fa
2020-08-24 17:50:56 -04:00
Alexander Fedorov
4f9d96f207 Bug 566286 - Rework CDT LSP Activator
Switch logging code to platform facilities

Change-Id: Iff6654ab6a55af898be8360ec0208ec7a0ddf977
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-23 10:16:33 -04:00
Alexander Fedorov
147ff5a482 Bug 566093 - CDT LSP: null-free functions to retrieve URL from IDocument
Rework usages of Java 11 Optional#isEmpty() to Java 8
Optional#isPresent()

Change-Id: I9c0788414e7752efe87bf50eafadb6f3ab9a76be
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-23 05:32:41 -04:00
Alexander Fedorov
416a7f4f30 Bug 558592 - Rework access to PresentationReconcilerCPP
Move UI code to LSP UI bundle. Remove unused UI dependencies from LSP
Core bundle.
The Activator rework will follow with another Gerrit.

Change-Id: Ifb7e4d153dab6dcc7d50fdf60c2f22333abbb8ed
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-21 14:16:34 -04:00
Alexander Fedorov
581eb9eb6d Bug 566237 - Remove CQuery support from CDT LSP feature
Removed "org.eclipse.cdt.lsp.cquery" bundle from "org.eclipse.cdt.lsp"
feature.

Change-Id: I076ce122bb612949f9e8efe7d868eb3a083ea4a0
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-20 21:12:42 +03:00
Alexander Fedorov
0bf22a2103 Bug 558664 - cquery and clangd: registered each LS from its own bundle
Part 13:
Add about.html and align headers.

Change-Id: I6c3fdfdbea65fbcc1e60a653ff6619afee916212
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-20 13:43:59 -04:00
Alexander Fedorov
df0e1d62b1 Bug 558664 - cquery and clangd: registered each LS from its own bundle
Part 12:
Extract cquery tests to org.eclipse.cdt.lsp.cquery.tests bundle.

Change-Id: I188fc5a0b06bccfeb0884c054c0d972226857b78
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-20 13:43:59 -04:00
Alexander Fedorov
fa03b9225b Bug 558664 - cquery and clangd: registered each LS from its own bundle
Part 11:
Move cquery code to org.eclipse.cdt.lsp.cquery bundle.

Change-Id: I079f08c1aa1c177abdc291402931f7547ab325bf
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-20 13:43:59 -04:00
Alexander Fedorov
b8427cb54a Bug 558664 - cquery and clangd: registered each LS from its own bundle
Part 10:
Move clangd code to org.eclipse.cdt.lsp.clangd bundle.

Change-Id: Ib2938ea34a4996a535658decc61a725f4626c649
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-20 13:43:59 -04:00
Alexander Fedorov
1fb6efa9c3 Bug 558664 - cquery and clangd: registered each LS from its own bundle
Part 9:
Add LSP clangd bundle.

Change-Id: I9274f56e7e2692f58b2a469007b1853b3e9c1d48
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-20 13:43:59 -04:00
Alexander Fedorov
8da8e068a5 Bug 558664 - Cquery integration should be extracted from LSP Core
Part 8:
Add LSP CQuery bundle.

Change-Id: Ie728716916b4d4ee854faec50925957f7d9436b5
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-20 13:43:59 -04:00
Alexander Fedorov
58e1b69c80 Bug 558664 - Cquery integration should be extracted from LSP Core
Part 7:
Extract CQuery protocol extension to its package and declare it as a
LanguageProtocolExtension component.
Remove custom "clientImpl" from LSP extension point, as we can use
standard one.
Declare DelegatingLauncherBuilder to collect and register language
extensions for the preferred language server.

Change-Id: I88be0456bbb53d24a6a0df2578c145649268b028
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-20 13:43:59 -04:00
Alexander Fedorov
3efcecf379 Bug 558664 - Cquery integration should be extracted from LSP Core
Part 6:
Declare SupportedProtocolExtensions interface to access contributed
LanguageProtocolExtension for a given language server.
Extract ResolvePreferredServer class.
Add ContributedProtocolExtensions OSGi component with tests.

Change-Id: Iecb1fff5a29a559e3c9d8703cc7d8fa71bb18042
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-20 13:43:59 -04:00
Alexander Fedorov
c609416622 Bug 558664 - Cquery integration should be extracted from LSP Core
Part 5:
Extract CQuery protocol methods to separate types.

Change-Id: I14f48ff4f374bd257adec67708bf58150993db21
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-20 13:43:59 -04:00
Alexander Fedorov
8abfaab458 Bug 558664 - Cquery integration should be extracted from LSP Core
Part 4:
Switch C/C++ LSP preferences to LanguageServerConfiguration and remove
constants with server identifiers. Align i18n accordingly.

Change-Id: I4dcd9ea57a2c4577bb6763bb859afbd339eb66e0
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-20 13:43:59 -04:00
Alexander Fedorov
3705069ef2 Bug 558664 - Cquery integration should be extracted from LSP Core
Part 3:
Convert ContributedLanguageServers to OSGi component and switch usages
to its interface.
Convert LanguageServerConfiguration implementations to OSGi components.

Change-Id: Ic22fa26a7abfd40a959ae0189a63b9a04d1ac4e0
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-20 13:43:59 -04:00
Alexander Fedorov
05ae2a8185 Bug 558664 - Cquery integration should be extracted from LSP Core
Part 2:
Introduce SupportedLanguageServers interface and remove knowledge about
specific language server from CPPStreamConnectionProvider. Replace
ICPPLanguageServer with LanguageServerConfiguration.
Move Clangd and Cquery server configurations to its packages.

Change-Id: I825c39bc6f8004616e639fda28660d3c98d08057
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-20 13:43:59 -04:00
Alexander Fedorov
afaa593d34 Bug 558664 - Cquery integration should be extracted from LSP Core
Part 1: rework "$cquery/progress" notification handling to be reusable

Change-Id: I6995594e51289e7f8a516ffc2cc2ec8bda88f919
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-20 13:43:59 -04:00
Alexander Fedorov
786ae3ce2b Bug 566093 - CDT LSP: null-free functions to retrieve URL from IDocument
make ResolveDocumentUri final

Change-Id: I06169d98f6af3b49595e4e8f6308c6aad790eaf7
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-18 14:46:44 +03:00
Alexander Fedorov
f555015183 Bug 566093 - CDT LSP: null-free functions to retrieve URL from IDocument
Remove Server2ClientProtocolExtension::getUri

Change-Id: Iee7e4808e40160e456f3db85c4dc98d04632a92a
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-18 10:03:58 +03:00
Alexander Fedorov
baddefe9cf Bug 566093 - CDT LSP: null-free functions to retrieve URL from IDocument
Introduced org.eclipse.cdt.lsp.internal.text.ResolveDocumentUri
implements
Function<IDocument, Optional<URI>>
Reworked usages of Server2ClientProtocolExtension#getUri(IDocument)

Change-Id: I7ccbe4e1c2016fdd3ef618e4fbdf80f3a67c8ac5
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-17 13:35:37 -04:00
Alexander Fedorov
7cccb6ba3a Revert "Bug 566093 - CDT LSP: null-free functions to retrieve URL from IDocument"
This reverts commit 46a799d96d.

Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-15 12:40:17 +03:00
Alexander Fedorov
46a799d96d Bug 566093 - CDT LSP: null-free functions to retrieve URL from IDocument
Introduced org.eclipse.cdt.lsp.internal.text.DocumentUri implements
Function<IDocument, Optional<URI>>
Reworked usages of Server2ClientProtocolExtension#getUri(IDocument)

Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-08-15 11:54:52 +03:00
Martin Weber
9e303185f9 Bug 564002: Restore the default pattern of the surefire-plugin
Sets the pattern to the default of upcoming tycho 2.0 in advance.

Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
Change-Id: I31b3fc733d0cb888fbf6f566995ce2043f6cd621
2020-08-13 14:18:47 -04:00
Jonah Graham
3ef8f2c844 Bug 563280: Set bundle version numbers according to policy[1]
Note - these bundles aren't actually published, so they are not
actually part of compare and replace checks. But if we are going
to increment version numbers, they should be incremented following
the policy as if they were published.

[1] https://wiki.eclipse.org/Version_Numbering

Change-Id: I01c815b0ae075d704b4bae9aef666cc13d98161c
2020-05-25 16:46:21 -04:00
Philip Langer
081069afcd Bug 563280 Split language server flags into separate commands
Change-Id: If7c8e823f7da289a4567b8cb6030f504a830364f
Signed-off-by: Philip Langer <planger@eclipsesource.com>
2020-05-22 21:33:35 +02:00
Jonah Graham
d66d3e8e85 [releng] Bump version to 10.0.0
Change-Id: I32f6f61835bdbad3cffd713965045c5097c8619f
2020-04-11 17:46:58 -04: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
db974aa2a8 Bug 558827: Add and/or fix branding on all features
Change-Id: I6d8b1ae2416ed673d18e7e15500dcc7c8a87786d
2020-01-09 15:11:35 -05:00
Alexander Fedorov
9f1ccbd536 Bug 558703 - CDT LSP bundles should include about.html
Added about.html to:
org.eclipse.cdt.lsp.core
org.eclipse.cdt.lsp.core.tests
org.eclipse.cdt.lsp.ui

Change-Id: I4281407953f4a6ef338a342cc1345cb301e5e131
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-31 17:47:51 +03:00
Alexander Fedorov
6da6e91cc1 Bug 558660 - Isolate cquery-related code of the org.eclipse.cdt.lsp.core
Moved cquery-related code to "org.eclipse.cdt.cquery" namespace.
Why not "org.eclipse.cdt.lsp.cquery"? Because here we are focusing on
"cquery" support for CDT, and it looks like a separate component to be
wrapped by its own feature later.

Change-Id: Iddfff2d4341d090ccdeca562ea16c584c0fcdd76
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-28 15:54:11 +03:00
Alexander Fedorov
f0f962d54d Bug 558591 - Move editor-related contribution to the UI part of CDT LSP
Move all editor contributions
Move AutoIndentStrategyCPP

Let's switch friends of org.eclipse.cdt.ui later

Change-Id: Idf9e1f0d0646917a4ead62a8e930b1268a8ce292
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-23 21:42:28 +03:00
Alexander Fedorov
5eb0e1923a Bug 558549 - Move CDT Language Server preference page to UI bundle
Moved preference page and related things to "org.eclipse.cdt.lsp.ui"

Change-Id: Idf1251789edbd5f6c82b6fb7f3483c75550d6e29
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-22 12:09:06 +03:00
Alexander Fedorov
d92d4ac771 Bug 558542 - Create "org.eclipse.cdt.lsp.ui" bundle
Created "org.eclipse.cdt.lsp.ui" bundle

Change-Id: I850cb545398198432c4873fbcd00f0ccfc9dff30
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-21 19:06:35 +03:00
Alexander Fedorov
a2e53aa619 Bug 558541 - Remove dependency to org.apache.commons.io from CDT LSP
Switched to try-with-resources

Change-Id: Ia81b1e80c34ff62f9405d8a967f9877e5f8b0e86
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-21 14:23:37 +03:00