-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[new release] coq-lsp (0.2.0+8.19) #26457
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ejgallego
force-pushed
the
release-coq-lsp-0.2.0+8.19
branch
3 times, most recently
from
August 29, 2024 15:13
14dc9f8
to
2c116c7
Compare
CHANGES: ----------------------------------- - [deps] merge serlib into coq-lsp. This allow us to drop the SerAPI dependency, and will greatly easy the development of tools that require AST manipulation (@ejgallego, ejgallego/coq-lsp#698) - [fleche] Remove 8.16 compatibility layer (@ejgallego, ejgallego/coq-lsp#747) - [fleche] Preserve view hint across document changes. With this change, we get local continuous checking mode when the view-port heuristic is enabled (@ejgallego, ejgallego/coq-lsp#748) - [memo] More precise hashing for Coq states, this improves cache performance quite a bit (@ejgallego, ejgallego/coq-lsp#751) - [fleche] Enable sharing of `.vo` file parsing. This enables better sharing, achieving an almost 50% memory reduction for example when opening all of HoTT .v files (@ejgallego, @SkySkimmer, @bhaktishh, ejgallego/coq-lsp#744) - [memo] Provide API to query Hashtbl stats (@ejgallego, ejgallego/coq-lsp#753) - [nix] Add `pet-server` deps to flake.nix (Léo Stefanesco, ejgallego/coq-lsp#754) - [coq-lsp] Fix crash on `--help` option (Léo Stefanesco, @ejgallego, ejgallego/coq-lsp#754) - [vscode] Fix focus race when a Coq file is in column 2 (@ejgallego, ejgallego/coq-lsp#755, cc: ejgallego/coq-lsp#722, ejgallego/coq-lsp#725) - [hover] Show input howto for unicode characters on hover (@ejgallego, Léo Stefanesco, ejgallego/coq-lsp#756) - [lsp] [definition] Support for jump to definition across workspace files. The location information is obtained from `.glob` files, so it is often not perfect. (@ejgallego, ejgallego/coq-lsp#762, fixes ejgallego/coq-lsp#317) - [lsp] [hover] Show full name and provenance of identifiers (@ejgallego, ejgallego/coq-lsp#762) - [lsp] [definition] Try also to resolve and locate module imports (@ejgallego, ejgallego/coq-lsp#764) - [code] Don't start server on extension activation, unless an editor we own is active. We also auto-start the server if a document that we own is opened later (@ejgallego, ejgallego/coq-lsp#758, fixes ejgallego/coq-lsp#750) - [petanque] Allow `init` to be called multiple times (@ejgallego, @gbdrt, ejgallego/coq-lsp#766) - [petanque] Faster query for goals status after `run_tac` (@ejgallego, ejgallego/coq-lsp#768) - [petanque] New parameter `pre_commands` to `start` which allows instrumenting the goal before starting the proof (@ejgallego, Alex Sanchez-Stern ejgallego/coq-lsp#769) - [petanque] New `http_headers={yes,no}` parameter for `pet` json shell, plus some improvements on protocol handling (@ejgallego, ejgallego/coq-lsp#770) - [petanque] Make agent agnostic of environment, allowing embedding inside LSP (@ejgallego, ejgallego/coq-lsp#771) - [diagnostics] Ensure extra diagnostics info is present in all errors, not only on those sentences that did parse successfully (@ejgallego, Diego Rivera, ejgallego/coq-lsp#772) - [hover] New option `show_universes_on_hover` that will display universe data on hover (@ejgallego, @SkySkimmer, ejgallego/coq-lsp#666) - [hover] New plugin `unidiff` that will elaborate a summary of universe data a file, in particular regarding universes added at `Qed` time (@ejgallego, ejgallego/coq-lsp#773) - [fleche] Support meta-command `Abort All` (@ejgallego, ejgallego/coq-lsp#774, fixes ejgallego/coq-lsp#550) - [petanque] Allow memoization control on `petanque/run` via a new parameter `memo` (@ejgallego, ejgallego/coq-lsp#780) - [lsp] [petanque] Allow acces to `petanque` protocol from the lsp server (@ejgallego, ejgallego/coq-lsp#778) - [petanque] Always initialize a workspace. This made `pet` crash if `--root` was not used and client didn't issue the optimal `setWorkspace` call (ejgallego/coq-lsp#782, @ejgallego, @gbdrt) - [lsp] [petanque] New methods `state/eq` and `state/hash`; this allows clients to implement a client-side hash; equality is configurable with different methods; moreover, `petanque/run` can compute some extra data like state hashing without a round-trip (@ejgallego @gbdrt, ejgallego/coq-lsp#779) - [petanque] New methods to hash proof states; use proof state hash by default in petanque agent (@ejgallego, @gbdrt, ejgallego/coq-lsp#808) - [petanque] New shell method `petanque/toc` that returns a document outline in LSP-style (@ejgallego, ejgallego/coq-lsp#794)
ejgallego
force-pushed
the
release-coq-lsp-0.2.0+8.19
branch
from
August 29, 2024 16:20
2c116c7
to
cba99d7
Compare
Windows CI failed when building a dependency. [Note: our own Windows CI builds OK] Rest of CI seems fine. |
Thanks |
Thanks to you!!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Language Server Protocol native server for Coq
CHANGES:
dependency, and will greatly easy the development of tools that
require AST manipulation (@ejgallego, [build] [deps] Merge
serlib
into coq-lsp ejgallego/coq-lsp#698)change, we get local continuous checking mode when the view-port
heuristic is enabled (@ejgallego, [fleche] Preserve view hint across document changes. ejgallego/coq-lsp#748)
performance quite a bit (@ejgallego, [coq] [memo] Better parameters for polymorphic state hashing ejgallego/coq-lsp#751)
.vo
file parsing. This enables bettersharing, achieving an almost 50% memory reduction for example when
opening all of HoTT .v files (@ejgallego, @SkySkimmer, @bhaktishh,
[fleche] Caching / sharing of .vo contents ejgallego/coq-lsp#744)
pet-server
deps to flake.nix (Léo Stefanesco, Fix help printing ejgallego/coq-lsp#754)--help
option (Léo Stefanesco, @ejgallego,Fix help printing ejgallego/coq-lsp#754)
[code] Fix focus race when a Coq file is in column 2 ejgallego/coq-lsp#755, cc: Give focus back to Goals panel when navigating proofs ejgallego/coq-lsp#722, [code] Preserve original focus when refocusing the panel. ejgallego/coq-lsp#725)
(@ejgallego, Léo Stefanesco, [hover] Show input help for Unicode characters ejgallego/coq-lsp#756)
files. The location information is obtained from
.glob
files, soit is often not perfect. (@ejgallego, [lsp] Jump to definition for non-local definitions ejgallego/coq-lsp#762, fixes Workspace-wide jump to definition ejgallego/coq-lsp#317)
(@ejgallego, [lsp] Jump to definition for non-local definitions ejgallego/coq-lsp#762)
(@ejgallego, [definition] Try to also recognize module names. ejgallego/coq-lsp#764)
we own is active. We also auto-start the server if a document that
we own is opened later (@ejgallego, [code] Don't start the language client unless there is an active editor for us ejgallego/coq-lsp#758, fixes coq-lsp connection errors showing in non-Coq projects ejgallego/coq-lsp#750)
init
to be called multiple times (@ejgallego,@gbdrt, [petanque] Allow
init
to be called multiple times ejgallego/coq-lsp#766)run_tac
(@ejgallego, [petanque] Use lighter goal query on run_tac ejgallego/coq-lsp#768)
pre_commands
tostart
which allowsinstrumenting the goal before starting the proof (@ejgallego, Alex
Sanchez-Stern [petanque] Allow to instrument with extra commands before proof start ejgallego/coq-lsp#769)
http_headers={yes,no}
parameter forpet
jsonshell, plus some improvements on protocol handling (@ejgallego,
[petanque] Improvements on protocol handling ejgallego/coq-lsp#770)
inside LSP (@ejgallego, [petanque] Make core protocol independent of Coq env runtime ejgallego/coq-lsp#771)
errors, not only on those sentences that did parse successfully
(@ejgallego, Diego Rivera, [diagnostics] Ensure extra diagnostics info is present in all errors ejgallego/coq-lsp#772)
show_universes_on_hover
that will displayuniverse data on hover (@ejgallego, @SkySkimmer, [hover] Display debug statistic for universes ejgallego/coq-lsp#666)
unidiff
that will elaborate a summary ofuniverse data a file, in particular regarding universes added at
Qed
time (@ejgallego, [plugin] Debug plugin for printing universe deltas in files. ejgallego/coq-lsp#773)Abort All
(@ejgallego, [fleche] SupportAbort All
. ejgallego/coq-lsp#774, fixes[vernac] [upstream]
Abort All
is not supported ejgallego/coq-lsp#550)petanque/run
via a newparameter
memo
(@ejgallego, [petanque] Allow memoization control onpetanque/run
ejgallego/coq-lsp#780)petanque
protocol from the lspserver (@ejgallego, [lsp] [petanque] Allow access to
petanque
protocol from the lsp server ejgallego/coq-lsp#778)pet
crash if--root
was not used and client didn't issue the optimalsetWorkspace
call ([petanque] Always initialize default workspace. ejgallego/coq-lsp#782, @ejgallego, @gbdrt)state/eq
andstate/hash
; thisallows clients to implement a client-side hash; equality is
configurable with different methods; moreover,
petanque/run
cancompute some extra data like state hashing without a round-trip
(@ejgallego @gbdrt, [cleanup] Follow-up for #777 , update a few missing places for new API ejgallego/coq-lsp#779)
by default in petanque agent (@ejgallego, @gbdrt, [petanque] Hash proof states instead of system states ejgallego/coq-lsp#808)
petanque/toc
that returns a documentoutline in LSP-style (@ejgallego, [petanque] Add TOC protocol call. ejgallego/coq-lsp#794)