Skip to content

Commit 2416148

Browse files
committed
[new release] coq-lsp (0.2.3+8.17)
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 2416148

File tree

1 file changed

+73
-0
lines changed
  • packages/coq-lsp/coq-lsp.0.2.3+8.17

1 file changed

+73
-0
lines changed
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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.17" < "8.18" }
40+
41+
# result dep, fixed in main, but kept for older releases
42+
"result" { >= "1.5" }
43+
44+
# serlib deps: see what we need to keep for release
45+
"ppx_deriving" { >= "5.2" }
46+
"ppx_deriving_yojson" { >= "3.7.0" }
47+
"ppx_import" { >= "1.11.0" }
48+
"sexplib" { >= "v0.15.0" & < "v0.18" }
49+
"ppx_sexp_conv" { >= "v0.15.0" & < "v0.18" }
50+
"ppx_compare" { >= "v0.15.0" & < "v0.18" }
51+
"ppx_hash" { >= "v0.15.0" & < "v0.18" }
52+
]
53+
54+
# older results get in mess with ppx_deriving, we cannot control how
55+
# it gets pulled, often in min-bound rev-dep, so we conflict with it
56+
conflicts: [ "result" { < "1.5" } ]
57+
58+
depopts: ["lwt" "logs"]
59+
60+
build: [
61+
[ "rm" "-rf" "vendor" ]
62+
[ "dune" "build" "-p" name "-j" jobs ]
63+
]
64+
run-test: [ [ "dune" "runtest" "-p" name "-j" jobs ] ]
65+
url {
66+
src:
67+
"https://github.com/ejgallego/coq-lsp/releases/download/0.2.3%2B8.17/coq-lsp-0.2.3.8.17.tbz"
68+
checksum: [
69+
"sha256=ebf815be389f7ae97fed1f1338fe59f333732062b08a5c04f957d2effa39cffd"
70+
"sha512=00a1c41a72d2a16347f91c8838237f8016e04cfbd2c3bc4499793fb06c5494070d6593cf2db05eca66fe2c49e958de6a1f30bb77d5989196e51929642a5d11eb"
71+
]
72+
}
73+
x-commit-hash: "ebf214e13cfdf7e99171adc2ede4e963ad8c42e5"

0 commit comments

Comments
 (0)