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

35 commits

Author SHA1 Message Date
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
Alexander Fedorov
b72a6c3d93 Bug 558516 - Normalize i18n for CDT LSP component
Revisited all the i18n

Change-Id: Ic5b14ee68cb3d0164f179a9d2690573a82f356d8
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-20 15:02:14 -05:00
Alexander Fedorov
61d01286e3 Bug 558484 - Normalize manifests for CDT LSP component
Added copyright headers
Mavenized output folder
Did i18n
Normalized bundle headers

Change-Id: I4c2b1485fae131ccc1744f8032300577addb4dcc
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-12-19 15:29:22 -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
a5a2be90e7 Bug 552745: Disable intro screen (webkit use) in tests
Change-Id: Ib97fb00cb96af34a14d89a07d88de15c276537aa
2019-11-06 17:26:04 -05: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
Jonah Graham
2f5f4d50a2 [releng] Bump to CDT version 9.10.0
Change-Id: I027e7e5542fda3e599ee476814593fc4b464adca
2019-10-16 10:55:28 -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
Jonah Graham
f3e8387a8e [releng] Bump version to 9.9.0
Change-Id: I6641e51a8bfdb44fa5c646d97debf2bf814c107a
2019-06-11 12:33:48 -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
ec54cf7241 Bug 544244: Stop using deprecate code from LSP4E
Change-Id: Ie82af8a2af56870cafcfd332166942d8080aab26
2019-02-07 16:53:02 +00:00
Jonah Graham
934fa19482 Bug 540978: Rename identifiers and some other places to o.e.cdt.lsp
Change-Id: I6edbbb2cf103010bbc67ea0140bfec694652a685
2019-01-04 13:07:38 +00:00
Jonah Graham
677cc2cf63 [releng] Bump version to 9.7.0
Change-Id: Icaa0b6acf73e3a19e0d102fa8ae784e631d8743a
2018-12-10 13:50:44 +00:00
Nathan Ridge
8c78a241d5 [LSP4E] Support separate semantic highlightings for declarations of functions, methods, and local variables
Change-Id: Iee7252b55810b8691a1b2344593a804a47ab6cbe
2018-12-01 17:49:05 -05:00
Jonah Graham
37ed2c406d Bug 540373: Update the compiler warnings/ignores
The previous alignment of all the warnings/ignores
led to too many warnings that weren't there before. This
commit relaxes them a bit.

The core/org.eclipse.cdt.core/.settings/org.eclipse.jdt.core.prefs
is still the "master" copy, with
releng/scripts/check_code_cleanliness.sh containing the
exceptions that apply to test plug-ins.

Change-Id: Ibd4e31ade0b42b31e7cbe5a94f06c6fc15183a56
2018-11-24 10:55:06 +00:00
Jonah Graham
aa1040a21a Bug 540373: Remove '(non-Javadoc)' comments
These were inserted in the past automatically by Eclipse but
newer tooling makes them redundant.

These were removed by doing a global find/replace on *.java files
using the following regular expression:
\t/\*\n\t \* \(non-Javadoc\)[^/]*/\n

Change-Id: I59d3248020f10934fde1dda5b5a31e20bb188e19
2018-11-22 22:00:29 +00:00
Jonah Graham
a923614c73 Bug 540373: Cleanup: Organize Imports
This was done by selecting all projects in Eclipse then
Source -> Clean Up... -> choosing:
- Organize Imports
and completing the wizard

Change-Id: Ia7b305a4c967d0e6f4e8fb8c1041e7028b24006c
2018-11-22 21:47:02 +00:00
Jonah Graham
170e654b47 Bug 540373: Cleanup: Format & Remove trailing whitespace
This was done by selecting all projects in Eclipse then
Source -> Clean Up... -> choosing:
- Format source code
- Remove trailing white spaces on all lines
and completing the wizard

Change-Id: I63685372c6bcc67719bcf145123bcb72e5b00394
2018-11-22 21:47:02 +00:00
Jonah Graham
35996a5c5c Bug 540373: Standard .settings auto applied
The releng/scripts/apply_jdt_prefs_to_all_projects.sh was run to
copy standard settings to all other projects.

Change-Id: I4436c947d7f0142f56b709e661379c3eb54f666b
2018-11-22 21:47:02 +00:00
Jonah Graham
f70a8b35c1 Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-22 20:31:51 +00:00
Doug Schaefer
afe7d18793 Bug 540978 Rename lsp plugins to be org.eclipse.cdt.lsp.*
To make it clear these are CDT's future :).

Change-Id: I64935e3998a46632f4f4006589a17eb01959eb27
2018-11-10 14:09:43 -05:00