From ca852d7e648f04b8f2b7127c7d1dabf06304a974 Mon Sep 17 00:00:00 2001 From: Ulugbek Abdullaev Date: Fri, 16 Dec 2022 18:08:10 +0500 Subject: [PATCH] [new release] ocaml-lsp-server, lsp and jsonrpc (1.14.3) CHANGES: ## Fixes - Fix document syncing for ranges that span an entire line (ocaml/ocaml-lsp#927) - Respect the client's completion item resolve and preSelect capabilities (ocaml/ocaml-lsp#925, ocaml/ocaml-lsp#936) - Disable polling for dune's watch mode on Windows and OCaml 4.14.0 (ocaml/ocaml-lsp#935) ## Features - Semantic highlighting support is enabled by default (ocaml/ocaml-lsp#933) - Re-enable `ocamlformat-rpc` for formatting code snippets (but not files) (ocaml/ocaml-lsp#920, ocaml/ocaml-lsp#939) One needs to have either `ocamlformat` version > 0.21.0 or, otherwise, `ocamlformat-rpc` package installed. - Add custom ocamllsp/hoverExtended request (ocaml/ocaml-lsp#561) - Support utf-8 position encoding clients (ocaml/ocaml-lsp#919) - Upgrade to merlin 4.7 and use merlin's `verbosity=smart` by default, which allows unwrapping module alias types (ocaml/ocaml-lsp#942) ## Fixes - Fix semantic highlighting of "long identifiers," e.g., `Foo.Bar.x` (ocaml/ocaml-lsp#932) --- packages/jsonrpc/jsonrpc.1.14.3/opam | 48 ++++++++++++++ packages/lsp/lsp.1.14.3/opam | 59 +++++++++++++++++ .../ocaml-lsp-server.1.14.3/opam | 64 +++++++++++++++++++ 3 files changed, 171 insertions(+) create mode 100644 packages/jsonrpc/jsonrpc.1.14.3/opam create mode 100644 packages/lsp/lsp.1.14.3/opam create mode 100644 packages/ocaml-lsp-server/ocaml-lsp-server.1.14.3/opam diff --git a/packages/jsonrpc/jsonrpc.1.14.3/opam b/packages/jsonrpc/jsonrpc.1.14.3/opam new file mode 100644 index 00000000000..b38a69b9801 --- /dev/null +++ b/packages/jsonrpc/jsonrpc.1.14.3/opam @@ -0,0 +1,48 @@ +opam-version: "2.0" +synopsis: "Jsonrpc protocol implemenation" +description: "See https://www.jsonrpc.org/specification" +maintainer: ["Rudi Grinberg "] +authors: [ + "Andrey Popp <8mayday@gmail.com>" + "Rusty Key " + "Louis Roché " + "Oleksiy Golovko " + "Rudi Grinberg " + "Sacha Ayoun " + "cannorin " + "Ulugbek Abdullaev " + "Thibaut Mattio " + "Max Lantas " +] +license: "ISC" +homepage: "https://github.com/ocaml/ocaml-lsp" +bug-reports: "https://github.com/ocaml/ocaml-lsp/issues" +depends: [ + "dune" {>= "3.0"} + "ocaml" {>= "4.08"} + "odoc" {with-doc} +] +dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git" +build: [ + ["dune" "subst"] {dev} + ["ocaml" "unix.cma" "unvendor.ml"] + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@doc" {with-doc} + ] +] +url { + src: + "https://github.com/ocaml/ocaml-lsp/releases/download/1.14.3/lsp-1.14.3.tbz" + checksum: [ + "sha256=704ed2a17073f0fcaed6fa25e4eef1b84cc91978096e549df37bf8c75136a20a" + "sha512=e9a5c65d7b45e2278e79e855bd84a353ea97f8c90b5b45cde9d3d0ee4ff83d4068f34eea9710ac5be0bb081e3e38606ce5e9349d56f28972fcf77cacbf3b1918" + ] +} +x-commit-hash: "40e842e02083b6b01fe08575c119b70998937a8e" diff --git a/packages/lsp/lsp.1.14.3/opam b/packages/lsp/lsp.1.14.3/opam new file mode 100644 index 00000000000..3059fe522c0 --- /dev/null +++ b/packages/lsp/lsp.1.14.3/opam @@ -0,0 +1,59 @@ +opam-version: "2.0" +synopsis: "LSP protocol implementation in OCaml" +description: """ + +Implementation of the LSP protocol in OCaml. It is designed to be as portable as +possible and does not make any assumptions about IO. +""" +maintainer: ["Rudi Grinberg "] +authors: [ + "Andrey Popp <8mayday@gmail.com>" + "Rusty Key " + "Louis Roché " + "Oleksiy Golovko " + "Rudi Grinberg " + "Sacha Ayoun " + "cannorin " + "Ulugbek Abdullaev " + "Thibaut Mattio " + "Max Lantas " +] +license: "ISC" +homepage: "https://github.com/ocaml/ocaml-lsp" +bug-reports: "https://github.com/ocaml/ocaml-lsp/issues" +depends: [ + "dune" {>= "3.0"} + "jsonrpc" {= version} + "yojson" + "ppx_yojson_conv_lib" {>= "v0.14"} + "cinaps" {with-test} + "menhir" {>= "20211230" & with-test} + "ppx_expect" {>= "v0.15.0" & with-test} + "uutf" {>= "1.0.2"} + "odoc" {with-doc} + "ocaml" {>= "4.12"} +] +dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git" +build: [ + ["dune" "subst"] {dev} + ["ocaml" "unix.cma" "unvendor.ml"] + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@doc" {with-doc} + ] +] +url { + src: + "https://github.com/ocaml/ocaml-lsp/releases/download/1.14.3/lsp-1.14.3.tbz" + checksum: [ + "sha256=704ed2a17073f0fcaed6fa25e4eef1b84cc91978096e549df37bf8c75136a20a" + "sha512=e9a5c65d7b45e2278e79e855bd84a353ea97f8c90b5b45cde9d3d0ee4ff83d4068f34eea9710ac5be0bb081e3e38606ce5e9349d56f28972fcf77cacbf3b1918" + ] +} +x-commit-hash: "40e842e02083b6b01fe08575c119b70998937a8e" diff --git a/packages/ocaml-lsp-server/ocaml-lsp-server.1.14.3/opam b/packages/ocaml-lsp-server/ocaml-lsp-server.1.14.3/opam new file mode 100644 index 00000000000..62d320748f9 --- /dev/null +++ b/packages/ocaml-lsp-server/ocaml-lsp-server.1.14.3/opam @@ -0,0 +1,64 @@ +opam-version: "2.0" +synopsis: "LSP Server for OCaml" +description: "An LSP server for OCaml." +maintainer: ["Rudi Grinberg "] +authors: [ + "Andrey Popp <8mayday@gmail.com>" + "Rusty Key " + "Louis Roché " + "Oleksiy Golovko " + "Rudi Grinberg " + "Sacha Ayoun " + "cannorin " + "Ulugbek Abdullaev " + "Thibaut Mattio " + "Max Lantas " +] +license: "ISC" +homepage: "https://github.com/ocaml/ocaml-lsp" +bug-reports: "https://github.com/ocaml/ocaml-lsp/issues" +depends: [ + "dune" {>= "3.0"} + "yojson" + "re" {>= "1.5.0"} + "ppx_yojson_conv_lib" {>= "v0.14"} + "dune-rpc" {>= "3.4.0"} + "chrome-trace" {>= "3.3.0"} + "dyn" + "stdune" + "fiber" {>= "3.1.1"} + "xdg" + "ordering" + "dune-build-info" + "spawn" + "ocamlc-loc" {>= "3.5.0"} + "omd" {>= "1.3.2" & < "2.0.0~alpha1"} + "octavius" {>= "1.2.2"} + "uutf" {>= "1.0.2"} + "pp" {>= "1.1.2"} + "csexp" {>= "1.5"} + "ocamlformat-rpc-lib" {>= "0.21.0"} + "odoc" {with-doc} + "ocaml" {>= "4.14" & < "4.15"} +] +dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git" +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-j" + jobs + "ocaml-lsp-server.install" + "--release" + ] +] +url { + src: + "https://github.com/ocaml/ocaml-lsp/releases/download/1.14.3/lsp-1.14.3.tbz" + checksum: [ + "sha256=704ed2a17073f0fcaed6fa25e4eef1b84cc91978096e549df37bf8c75136a20a" + "sha512=e9a5c65d7b45e2278e79e855bd84a353ea97f8c90b5b45cde9d3d0ee4ff83d4068f34eea9710ac5be0bb081e3e38606ce5e9349d56f28972fcf77cacbf3b1918" + ] +} +x-commit-hash: "40e842e02083b6b01fe08575c119b70998937a8e"