Граф коммитов

2302 Коммитов

Автор SHA1 Сообщение Дата
Dirk Bäumer b617d6650c
Don't throw in onData callback since this will be passed back to node libraries. (#1151)
* Don't throw in onData callback since this will be passed back to node libraries.

* Add tests
2022-12-14 15:10:06 +00:00
Dirk Bäumer c09c494276
Fixes #1090: Return Promise from ErrorHandler.closed() (#1150) 2022-12-14 14:32:58 +00:00
Dirk Bäumer 60a0554ee4
Fixes #1130: Make protocol connection type safe for sendRequest and sendNotification (#1149) 2022-12-14 13:25:56 +01:00
Dirk Bäumer b0183d69ed
Fixes #1057: Consider allowing suppression of CloseAction error/info message (#1148) 2022-12-14 09:54:14 +01:00
Dirk Bäumer c06c03e04c
Fixes #1146: LSP Middleware may late-evaluate parameters in async handlers, causing incorrect results (#1147) 2022-12-13 14:25:37 +01:00
Dirk Bäumer 9f2a58a25c
Fixes #1609: Meta Model: LSPObject definition does not match the spec (#1145) 2022-12-12 14:52:35 +01:00
Sebastien Pouliot 6b0da6b879
Fix condition to warn about IPC handle (#1143)
I have an extension that always shows the following warning (actual path differs each time):

> WARNING: IPC handle "/var/folders/w_/zfvfxj_x3nbd8wlj9p4ck3xc0000gn/T/vscode-d7124c14bae4868834641c7c08175ab90b7b0993a8.sock" is longer than 103 characters.

This path's length is 103 characters, which is the safe limit for macOS [1]. However the warning is still displayed because of the condition `>=` was used [2].

[1] https://nodejs.org/api/net.html#identifying-paths-for-ipc-connections
[2] bbd65f68bb

Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2022-12-12 10:00:49 +01:00
Dirk Bäumer 23b04fda9d
Publish release (#1142)
* Prepare new release

* Update lock files
2022-12-09 14:18:29 +01:00
Dirk Bäumer b2e83acaf6
Fixes #1133: formatting requests/didChange/didOpen appear to be sent out of order for global search-and-replace + formatOnSave (#1141)
* Sequence send calls.

* More send sequence work

* Make reader process in sequence

* Auto trigger delivery

* Don't pull on close since the document might be deleted.
2022-12-09 09:48:19 +00:00
dependabot[bot] e8e658c9d5
Bump qs from 6.9.4 to 6.11.0 (#1136)
Bumps [qs](https://github.com/ljharb/qs) from 6.9.4 to 6.11.0.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.9.4...v6.11.0)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2022-12-09 08:34:02 +01:00
Dirk Bäumer 55eb8e349c
Some small bug fixes (#1137)
* Fixes #886: Working extension inexplicably stopped sending document symbols

* Fixes #897: Header field name in jsonrpc Message has to be case-insensitive
2022-12-07 08:52:07 +00:00
Dirk Bäumer f02ec883a6
Fixes #1128: JSON no diagnostics (#1129) 2022-11-24 14:38:21 +01:00
Dirk Bäumer 205a43a011
Fixes #1125: [Question] "trace" value in metaModel seems wrong? (#1127) 2022-11-23 10:50:06 +00:00
Dirk Bäumer f2864f8fb9
MetaModel: messageDirection for some */refresh requests appears to be incorrect (#1124)
* Fixes #1590: MetaModel: messageDirection for some */refresh requests appears to be incorrect

* Fix link setup
2022-11-22 13:22:13 +01:00
Dirk Bäumer c38bdcaaa8
Move to generated TSConfig files (#1123)
* Convert to tsconfig file generation

* Delete unnecessary watch files

* Add publish config to tsconfig-gen

* Fix protocol compile

* Fix pipeline script

* Fix server imports
2022-11-21 09:58:58 +01:00
Matt Bierner edfd57c55b
Adopt `@link` for jsdoc comments (#1122)
Fixes #1015
2022-11-15 09:12:40 +01:00
Dirk Bäumer fdfdc03c7c
Release tsconfig-gen (#1120)
* Perpare to publish tsconfig-gen

* Make root npm install work

* Add an empty ThirdPartyNotices.txt

* Add standard comment to ThirdPartyNotice

* Fix post publish step
2022-11-11 08:45:14 +01:00
Artem Borzov d7b0ef6eab
A more reliable way to check the document version when handling ApplyWorkspaceEdit (#1118)
call asUri before check version when handle ApplyWorkspaceEdit

Co-authored-by: borzov <borzov@skbkontur.ru>
2022-11-10 09:36:37 +01:00
Dirk Bäumer d9242adb45
Update lock files (#1117) 2022-11-08 15:36:49 +01:00
Dirk Bäumer 3383f347af
Publish from pipeline (#1115)
* Merge into publish branch (#1112)

* Prepare to publish new packages

* Fix pipeline script

* Engineering - remove dependsOn properties (#1110)

* Add variables

* Initial attempt

* Remove unused parameters

* Change if clause

* Fix variables

* Add back parameters

* Comment out code

* Add Jsonrpc

* Fingers crossed

* Add test platform for types

* Remove variables

* Remove dependsOn fields

Co-authored-by: Dirk Baeumer <dirkb@microsoft.com>

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>

* Avoid referencing client from tests

* Make test depend on client only

* Handle uncaught exceptions.

* export Display

* Use default display

* Use correct default display

* Only execute client

* Correct display setting in run test

* Another try to set display correctly

* Use find process to find the right display for tests

* Reenable all packages

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2022-11-08 11:27:54 +01:00
Dirk Bäumer df9ea01af5
Convert publishing to Azure pipeline (#1109)
* Update pipeline script

* Run general npm install

* Add build platforms

* Compile text documents for server

* Add quality parameter

* Complete pipeline for textDocument

* Test publishing text documents

* More pipeline tweaking

* Get tests working in publish pipeline

* Make client pack work

* Minor cleanup

* Start using templates

* Make templates relative

* Self reference template

* Make template path absolute

* Fix wrong template reference

* Add pack steps

* More template use

* Add all target to protocl

* Compile tools when packing protocol

* Use templates for client package

* Experiment with package template

* Revert package template

* Delete package template
2022-11-04 14:15:45 +01:00
Ladislau Szomoru 62ac5df12b
Engineering - scaffold release pipeline (#1107)
* Set up CI with Azure Pipelines

[skip ci]

* Scaffold test steps

* Remove testSteps

* Remove explicit build platforms

* Add dependsOn properties

* Add condition based on input

* Fix typo

* Add remaining conditions

* Shrink labels

* Adopt new test branch

* Update package names

* Revert ref

* Move publishPackage

* Add publishDependsOn property

* Scaffold testSteps
2022-11-01 10:33:08 +01:00
Dirk Bäumer ee58574201
Fixes #1105: didChange is being sent before didOpen (#1106) 2022-10-31 14:10:39 +01:00
Dirk Bäumer d32bdef716
Fixes #1103: why workspace/configuration params is not matched with spec? (#1104) 2022-10-27 09:14:45 +02:00
Dirk Bäumer e20440f6f7
Protect sending configuration changes when feature is disposed. (#1095) 2022-10-06 14:10:00 +02:00
Dirk Bäumer 7cb3a50791
Fixes #1092: Confusion about the return values of DiagnosticPullOptions (#1093) 2022-10-03 09:55:54 +02:00
Dirk Bäumer 30da06d782
Publish jsonrpc@8.1.0-next.3 (#1084) 2022-09-22 08:31:37 +02:00
Dirk Bäumer 52bb523965
Publish jsonrpc@8.1.0-next.2 (#1083) 2022-09-21 11:42:01 +02:00
Dirk Bäumer 122bb3a8ff
Merge pull request #1082 from microsoft/dbaeumer/precious-anaconda-azure
Throw for event cancellation
2022-09-20 16:35:52 +02:00
Dirk Baeumer 9719b9165c
Minor renames 2022-09-20 14:58:03 +02:00
Dirk Baeumer f094ecbb85
Throw for event cancellation 2022-09-20 14:50:51 +02:00
Dirk Bäumer 9aca4a61d6
Merge pull request #1081 from microsoft/dbaeumer/miserable-tarantula-white
Tweak SharedArrayBuffer cancellation
2022-09-20 13:45:41 +02:00
Dirk Baeumer b15d890500
Tweak SharedArrayBuffer cancellation 2022-09-20 13:43:30 +02:00
Dirk Bäumer ff679a848e
Merge pull request #1078 from microsoft/dbaeumer/disturbed-cicada-plum
Add support to cancel request via shared array buffers
2022-09-20 10:06:40 +02:00
Dirk Baeumer 40affd49fb
Make cancel test sync 2022-09-20 09:42:05 +02:00
Dirk Baeumer db6414bada
Add listen call 2022-09-19 20:55:55 +02:00
Dirk Baeumer 1fd56ef1a4
Add shared array cancalletion 2022-09-19 20:47:23 +02:00
Edward Wardell-Yerburgh 86a3dfb491
Add messageStrategy connection option (#1055)
Add message handler option
2022-09-12 09:33:39 +02:00
Dirk Bäumer 8de18faed6
Fixes #1541: DocumentDiagnosticReportKind does not exist on meta model (#1071) 2022-09-05 11:58:20 +02:00
Dirk Bäumer ed6a6d7da0
Publish new releases (#1067)
* Publish textdocument@1.0.7

* Publish protocol@3.17.3-next.1

* Publish server@8.1.0-next.1

* Publish client@8.1.0-next.1
2022-08-31 15:19:21 +02:00
Dirk Bäumer 246c70854a
Fix double pull of documents (#1065) 2022-08-26 16:59:33 +02:00
Dirk Bäumer f3be7ca0d5
Merge pull request #1063 from microsoft/dbaeumer/decisive-guan-brown
Esnure that RIL can be implemented on common API
2022-08-25 14:29:25 +02:00
Dirk Baeumer fc1d3b7886
Publish jsonrpc@8.1.0-next.1 2022-08-25 13:41:08 +02:00
Dirk Baeumer 315669b3ce
Esnure that RIL implementation can depend on API only 2022-08-25 13:35:32 +02:00
Erik Lilja 3f563b14a5
Add example to positionAt (#1051) 2022-08-23 09:50:23 +02:00
Dirk Bäumer e3b566dc9e
Add message port support (#1054)
Add messagePort support
2022-08-18 11:27:07 +02:00
Dirk Bäumer 3b6f361635
Merge pull request #1053 from microsoft/dbaeumer/extraordinary-planarian-indigo
Revert: Add messageStrategy connection option (#942)
2022-08-17 15:50:48 +02:00
Dirk Baeumer ba920db9db
Revert: Add messageStrategy connection option (#942) 2022-08-17 15:47:15 +02:00
Edward Wardell-Yerburgh b424976991
Add messageStrategy connection option (#942)
* Add messageStrategy option to ConnectionOptions

* Use MessageStrategy.is

* Add test

* Add messageStrategy option to ConnectionOptions

* Use MessageStrategy.is

* Add test

* Address comments

Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2022-08-17 12:49:52 +02:00
Dirk Bäumer 8b56a58d0a
Merge pull request #1048 from microsoft/dbaeumer/cruel-tiglon-jade
Various fixes to the meta model generator.
2022-08-04 14:43:45 +02:00