Skip to content

Commit 1355ba2

Browse files
committed
[new release] coq-lsp (0.2.3+8.20)
CHANGES: ------------------------ - [fleche] fix quick fixes for errors being lost due to incorrect handling of `send_diags_extra_data` (@ejgallego, ejgallego/rocq-lsp#850) - [vscode] Syntax highlighting for Coq 8.17-8.20 (@4ever2, ejgallego/rocq-lsp#872) - [build] Adapt to Coq -> Rocq renaming (@ejgallego, @proux, ejgallego/rocq-lsp#879) - [js worker] Update js_of_ocaml to 5.9.1 , thanks a lot to Hugo Heuzard for longstanding continued support of the jsCoq and coq-lsp projects (@ejgallego, @hhugo, ejgallego/rocq-lsp#881) - [js worker] Update stubs (@ejgallego, @hhugo, ejgallego/rocq-lsp#881) - [js worker] Fix build for Coq -> Rocq renaming and stdlib split (@ejgallego, ejgallego/rocq-lsp#881) - [general] Adapt to Coq -> Rocq renaming (@ejgallego, @SkySkimmer, ejgallego/rocq-lsp#883) - [general] [js] Adapt to Rocq stdlib split (@ejgallego, ejgallego/rocq-lsp#890) - [ci] Bump setup-ocaml to v3 (@ejgallego, ejgallego/rocq-lsp#890) - [ci] [windows] Use Opam 2.2 to build on windows (@ejgallego, ejgallego/rocq-lsp#815, ejgallego/rocq-lsp#890) - [petanque] `petanque/start` now fails when the theorem was parsed but not successfully executed (@ejgallego, reported by @gbdrt, ejgallego/rocq-lsp#901, fixes ejgallego/rocq-lsp#886) - [ci] Test Ocaml 5.3 (@ejgallego, ejgallego/rocq-lsp#904) - [js worker] Add Shachar Itzhaky's trampoline patch; this greatly reduces the Stack Overflow in the proof engine (@ejgallego, @corwin-of-amber, ejgallego/rocq-lsp#905) - [js worker] [build] Include Coq WaterProof in the default Web Worker build (@ejgallego, waterproof team, ejgallego/rocq-lsp#905, closes ejgallego/rocq-lsp#888) - [vscode] [web] Fix web extension not exporting the coq-lsp extension API (@ejgallego, reported by @amblafont, ejgallego/rocq-lsp#911, fixes ejgallego/rocq-lsp#877) - [build] [general] Rename our internal `Lsp` library to `Fleche_lsp`; this should help avoiding conflicts with the OCaml `lsp` library (@ejgallego, reported by @blackbird1128, ejgallego/rocq-lsp#912, fixes ejgallego/rocq-lsp#861) - [workspace] Remove support legacy ML-search path semantics. These were basically unused since Coq 8.16. As a consequence, `coq-lsp` / `fcc` don't accept the `-I` flag anymore, use `OCAMLPATH` or the `--ocamlpath=` option to pass extra `findlib` paths. We still respect the -I flag in `_CoqMakefile` (@ejgallego, ejgallego/rocq-lsp#916) - [lsp] [debug] Respect `$/setTrace` call , refactor logging system, and allow file logging of protocol traces again (@ejgallego, ejgallego/rocq-lsp#919, fixes ejgallego/rocq-lsp#868) - [coq] Support Coq relocatable mode (@SkySkimmer, ejgallego/rocq-lsp#891) - [ci] [deps] Remove support for OCaml 4.12 and 4.13, following upstream's rocq-prover/rocq#20576 Note that these compiler versions have been unsupported for a long time, please upgrade (@ejgallego, ejgallego/rocq-lsp#951) - [hover] New option `show_state_hash_on_hover` that displays state hash on hover for debug (@ejgallego, ejgallego/rocq-lsp#954) - [doc] [faq] Updated FAQ to account for VSCoq 2 release in 2023, thanks to Patrick Nicodemus for pointing out the outdated documentation (@ejgallego, ejgallego/rocq-lsp#846, fixes ejgallego/rocq-lsp#817) - [vscode] [macos] Resolve keybinding conflict with Cmd+N and Cmd+Enter, we now use Alt+N and Alt+Shift+Enter, (Andrei Listochkin, ejgallego/rocq-lsp#926) - [rocq] [fleche] Disable memprof-limits interruption backend by default, as released Rocq versions are not safe yet. If you want to enable it, you can still do it with the `--int_backend=Mp` command line option (@ejgallego, ejgallego/rocq-lsp#957, fixes ejgallego/rocq-lsp#857, reported by @dariusf, cc: rocq-prover/rocq#19177) - [lsp] [controller] Include Rocq feedback on request errors, using the optional `data` field. This is useful to still be able to obtain feedback messages such as debug messages even when a request fails. This also opens the door to better protocol handling and petanque integration (@ejgallego, ejgallego/rocq-lsp#959, ejgallego/rocq-lsp#961) - [petanque] Add feedback field to `Run_result.t`, this is important for many use cases. We also return feedback on petanque errors. (@ejgallego, @JulesViennotFranca, ejgallego/rocq-lsp#960) - [petanque] new `get_state_at_pos` and `get_root_state` calls, that allow to retrieve a petanque proof state from position (@JulesViennotFranca, @ejgallego, ejgallego/rocq-lsp#962) - [doc] [petanque] Document petanque v1, improve readme (@ejgallego, ejgallego/rocq-lsp#963) - [plugin] [astdump] Make the JSON and SEXP output into a line per object by default (@blackbird1128, @ejgallego, ejgallego/rocq-lsp#874) - [doc] [emacs] [protocol] Improve documentation for `proof/goals`, add link to official emacs mode by Josselin Poiret (@ejgallego, ejgallego/rocq-lsp#969, thanks to @jpoiret, cc: ejgallego/rocq-lsp#941) - [goals] Include `range` in `proof/goals` answer. This is useful for clients willing to do highlighting (@ejgallego, @jpoiret, ejgallego/rocq-lsp#970)
1 parent c037675 commit 1355ba2

File tree

1 file changed

+70
-0
lines changed
  • packages/coq-lsp/coq-lsp.0.2.3+8.20

1 file changed

+70
-0
lines changed
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
synopsis: "Language Server Protocol native server for Coq"
2+
description:
3+
"""
4+
Language Server Protocol native server for Coq
5+
"""
6+
opam-version: "2.0"
7+
maintainer: "[email protected]"
8+
bug-reports: "https://github.com/ejgallego/coq-lsp/issues"
9+
homepage: "https://github.com/ejgallego/coq-lsp"
10+
dev-repo: "git+https://github.com/ejgallego/coq-lsp.git"
11+
authors: [
12+
"Emilio Jesús Gallego Arias <[email protected]>"
13+
"Ali Caglayan <[email protected]>"
14+
"Shachar Itzhaky <[email protected]>"
15+
"Ramkumar Ramachandra <[email protected]>"
16+
]
17+
license: "LGPL-2.1-or-later"
18+
doc: "https://ejgallego.github.io/coq-lsp/"
19+
20+
depends: [
21+
22+
("ocaml" {>= "5.0"} | ("ocaml" {<= "5.0"} & "memprof-limits" { >= "0.2.1" } ))
23+
24+
"dune" { >= "3.2.0" }
25+
26+
# lsp dependencies
27+
"cmdliner" { >= "1.1.0" }
28+
"yojson" { >= "1.7.0" }
29+
"uri" { >= "4.2.0" }
30+
"dune-build-info" { >= "3.2.0" }
31+
32+
# waterproof json parser
33+
"menhir" { >= "20220210" }
34+
35+
# unit testing
36+
"ppx_inline_test" { >= "v0.15.0" }
37+
38+
# Uncomment this for releases
39+
"coq" { >= "8.20" < "8.21" }
40+
41+
# serlib deps: see what we need to keep for release
42+
"ppx_deriving" { >= "5.2" }
43+
"ppx_deriving_yojson" { >= "3.7.0" }
44+
"ppx_import" { >= "1.11.0" }
45+
"sexplib" { >= "v0.15.0" & < "v0.18" }
46+
"ppx_sexp_conv" { >= "v0.15.0" & < "v0.18" }
47+
"ppx_compare" { >= "v0.15.0" & < "v0.18" }
48+
"ppx_hash" { >= "v0.15.0" & < "v0.18" }
49+
]
50+
51+
# older results get in mess with ppx_deriving, we cannot control how
52+
# it gets pulled, often in min-bound rev-dep, so we conflict with it
53+
conflicts: [ "result" { < "1.5" } ]
54+
55+
depopts: ["lwt" "logs"]
56+
57+
build: [
58+
[ "rm" "-rf" "vendor" ]
59+
[ "dune" "build" "-p" name "-j" jobs ]
60+
]
61+
run-test: [ [ "dune" "runtest" "-p" name "-j" jobs ] ]
62+
url {
63+
src:
64+
"https://github.com/ejgallego/coq-lsp/releases/download/0.2.3%2B8.20/coq-lsp-0.2.3.8.20.tbz"
65+
checksum: [
66+
"sha256=49a87d5fe263b3f8f7d2489f280db85e65890236c000e49ec9f41ab8edd266d5"
67+
"sha512=1b7df9e7b29aa0a02864d7f06ad40deab1768e4ca2dc6ddb1719220276357eda14c272c5f4b47e4dc173d6a21272d6321c6a98a8647f251ed15bae9032da60d9"
68+
]
69+
}
70+
x-commit-hash: "9f045950cc3ae5f23356f50aa04f46e6905a831f"

0 commit comments

Comments
 (0)