Repository activity
40458 results across all weeks
mlvalues.h: caml_result_find_exception
This is a proposal to solve #14016, following a proposal by @nojb in https://discuss.ocaml.org/t/using-ocaml-5-3s-caml-callback-res-function/16601/4.
Gabriel Scherer (@gasche)runtime: add caml_result_format_exception
Is it intentional to have no accessor for the exception in caml_result_private? If so, could we at least describe it?
Romain Beauxis (@toots)runtime_events: ring buffer file size overflows a 32-bit int
current_ring_total_size in runtime/runtime_events.c is an int, but the size it holds is max_domains * ring_size_bytes plus headers, which passes 2 GiB at ordinary settings. The right hand side is computed in size_t and truncated on assignment, so the file is created at the wrong size and the ring is unusable.
Tim McGilchrist (@tmcgilchrist)testsuite: add a test that fragments the sizeclass pools
On OCaml 4.14.3, OCaml 5.5 (beta) and trunk this test passes. On OCaml 5.4.1 the test fails.
Török Edwin (@edwintorok)Code actions for "Unbound module ..." error
When we have Unbound module M-like diagnostic, we can offer user to fix the error by
Ulugbek Abdullaev (@ulugbekna)Create <file>.mli code action emits a resource operation without checking client support
The "open related source" code action attaches a CreateFile workspace edit
emre (@dayangac)Diagnotics are reported using UTF8-positions regardless of the agreement
During the initial capability exchange phase, the server picks a position encoding from the list offered by the client. To ensure communication is possible, both clients and server are expected to speak the "utf16 position encoding".
Paul-Elliot Anglès d'Auriac (@panglesd)Make odoc references in documentation comments navigable
Fixes #436.
opale (@N1ark)Unused-code quick fixes never match real diagnostic messages
Most of the unused-code quick fixes never appear, because the diagnostic matcher
emre (@dayangac)fix(code-actions): match the diagnostic messages ocamllsp emits
The unused-code quick fixes treated every diagnostic as though it used Dune’s bare descriptions. Merlin instead publishes messages such as Warning 33: unused open B., so most actions were unavailable; fatal unused-variable diagnostics were the main exception.
emre (@dayangac)fix(code-actions): only offer to create a counterpart when the client can
The open-related code action attaches a CreateFile workspace edit when the implementation or interface counterpart does not exist. Clients that do not advertise both workspace.workspaceEdit.documentChanges and the create resource operation cannot apply that edit; they then run the accompanying open command against a file that was never created.
emre (@dayangac)flake.lock: Update
Automated changes by the update-flake-lock GitHub Action.
github-actionstest(code-actions): cover the create-counterpart client capabilities
Nothing exercised a client that can apply a CreateFile resource operation: the
emre (@dayangac)test(code-actions): reject unused text in alert payloads
Prevent unused-code quick fixes from treating user-controlled alert payloads as compiler warnings.
Rudi Grinberg (@rgrinberg)test(definition): cover requests on non-Merlin documents
Rudi Grinberg (@rgrinberg)test(definition): cover requests on non-Merlin documents
Cover the non-Merlin document path of the definition request.
Rudi Grinberg (@rgrinberg)test(diagnostics): cover Dune merge/removal via the fake server
Drive the fake Dune RPC server (PR #2123) to cover two Dune/Merlin
Rudi Grinberg (@rgrinberg)test(dune): cover location-free diagnostics and unknown promotion removal
Two more fake-Dune diagnostic scenarios:
Rudi Grinberg (@rgrinberg)test(e2e): add fake Dune RPC server for blackbox tests
Add a fake Dune RPC server for the black-box e2e tests.
Rudi Grinberg (@rgrinberg)test(merlin-config): cover the show-merlin-config command
Cover the ocamllsp/show-merlin-config workspace command: it dumps the
Rudi Grinberg (@rgrinberg)