-
Notifications
You must be signed in to change notification settings - Fork 266
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
LSP Selection Ranges #4256
base: trunk
Are you sure you want to change the base?
LSP Selection Ranges #4256
Commits on Jul 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6ae9f8b - Browse repository at this point
Copy the full SHA 6ae9f8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for eaf233c - Browse repository at this point
Copy the full SHA eaf233cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fdf91bb - Browse repository at this point
Copy the full SHA fdf91bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9f2aa3 - Browse repository at this point
Copy the full SHA e9f2aa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2331c16 - Browse repository at this point
Copy the full SHA 2331c16View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc07b63 - Browse repository at this point
Copy the full SHA cc07b63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d5ae81 - Browse repository at this point
Copy the full SHA 1d5ae81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92a74df - Browse repository at this point
Copy the full SHA 92a74dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54e17f2 - Browse repository at this point
Copy the full SHA 54e17f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a74d4e8 - Browse repository at this point
Copy the full SHA a74d4e8View commit details
Commits on Jul 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 06b731b - Browse repository at this point
Copy the full SHA 06b731bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 052fd51 - Browse repository at this point
Copy the full SHA 052fd51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1857640 - Browse repository at this point
Copy the full SHA 1857640View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05d3402 - Browse repository at this point
Copy the full SHA 05d3402View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ff7e6d - Browse repository at this point
Copy the full SHA 8ff7e6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dab376 - Browse repository at this point
Copy the full SHA 1dab376View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7820fe - Browse repository at this point
Copy the full SHA a7820feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7148685 - Browse repository at this point
Copy the full SHA 7148685View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f57612 - Browse repository at this point
Copy the full SHA 7f57612View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2db50ad - Browse repository at this point
Copy the full SHA 2db50adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31874bd - Browse repository at this point
Copy the full SHA 31874bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a405e0 - Browse repository at this point
Copy the full SHA 8a405e0View commit details
Commits on Jul 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 38a73da - Browse repository at this point
Copy the full SHA 38a73daView commit details -
switch
Left
toRight
on help outputs; add draft transcripts (#1)Maybe some duplication/conflicts here unintentionally. The big transcript is just a WIP, we could make it prettier.
Configuration menu - View commit details
-
Copy full SHA for 39179a3 - Browse repository at this point
Copy the full SHA 39179a3View commit details -
move pretty-print helpers out of CommandLine.hs
to avoid a potential cycle between CommandLine.hs and InputPatterns.hs that otherwise came up on another branch. InputPatterns.hs also has formatting helpers that could be used in CommandLine.hs. Maybe they should be moved too, but I haven't thought about it.
Configuration menu - View commit details
-
Copy full SHA for 4bbbc8c - Browse repository at this point
Copy the full SHA 4bbbc8cView commit details -
- don’t add an extra indent level to the entire output - do add a `warnCallout` to the message - don’t re-wrap formatted error output - remove the accidentally-included entire `help <command>` output
Configuration menu - View commit details
-
Copy full SHA for 111fc5e - Browse repository at this point
Copy the full SHA 111fc5eView commit details -
Make CLI error messages more consistent
- remove `warnCallout` and `warn` from individual messages - make sure no error messages return their `help` content - add some documentation about how to write failure messages
Configuration menu - View commit details
-
Copy full SHA for 67399e9 - Browse repository at this point
Copy the full SHA 67399e9View commit details -
Fix formatting of an error message
It was leaving out spaces between literal text and generated text.
Configuration menu - View commit details
-
Copy full SHA for 41a0da8 - Browse repository at this point
Copy the full SHA 41a0da8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7f1c24 - Browse repository at this point
Copy the full SHA a7f1c24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e76597 - Browse repository at this point
Copy the full SHA 0e76597View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81f9458 - Browse repository at this point
Copy the full SHA 81f9458View commit details -
Remove another warning flag from a message
Another one missed in the merge.
Configuration menu - View commit details
-
Copy full SHA for ddbfb35 - Browse repository at this point
Copy the full SHA ddbfb35View commit details -
Configuration menu - View commit details
-
Copy full SHA for deaf355 - Browse repository at this point
Copy the full SHA deaf355View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8be432b - Browse repository at this point
Copy the full SHA 8be432bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b60344 - Browse repository at this point
Copy the full SHA 2b60344View commit details -
Configuration menu - View commit details
-
Copy full SHA for c773017 - Browse repository at this point
Copy the full SHA c773017View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9f4bfe - Browse repository at this point
Copy the full SHA b9f4bfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 293b4a2 - Browse repository at this point
Copy the full SHA 293b4a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a6c4d6 - Browse repository at this point
Copy the full SHA 6a6c4d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25db6fb - Browse repository at this point
Copy the full SHA 25db6fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e102b0d - Browse repository at this point
Copy the full SHA e102b0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61287bd - Browse repository at this point
Copy the full SHA 61287bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6b8af1 - Browse repository at this point
Copy the full SHA a6b8af1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 222bd48 - Browse repository at this point
Copy the full SHA 222bd48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0331d22 - Browse repository at this point
Copy the full SHA 0331d22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0587dde - Browse repository at this point
Copy the full SHA 0587ddeView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd17539 - Browse repository at this point
Copy the full SHA dd17539View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49258bc - Browse repository at this point
Copy the full SHA 49258bcView commit details
Commits on Jul 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dd81f0a - Browse repository at this point
Copy the full SHA dd81f0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c89423 - Browse repository at this point
Copy the full SHA 4c89423View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0002b4 - Browse repository at this point
Copy the full SHA d0002b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 424b43b - Browse repository at this point
Copy the full SHA 424b43bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6021a3a - Browse repository at this point
Copy the full SHA 6021a3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 927b76b - Browse repository at this point
Copy the full SHA 927b76bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c431d35 - Browse repository at this point
Copy the full SHA c431d35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69edcef - Browse repository at this point
Copy the full SHA 69edcefView commit details -
Merge pull request #5188 from unisonweb/lsp/unused-binding-detection
Unused binding detection cleanup
Configuration menu - View commit details
-
Copy full SHA for 60bb91a - Browse repository at this point
Copy the full SHA 60bb91aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecf5fe1 - Browse repository at this point
Copy the full SHA ecf5fe1View commit details -
avoid numeric vs textual clash in args length error
`numerals` doesn't seem to be maintained anymore, however
Configuration menu - View commit details
-
Copy full SHA for b14931f - Browse repository at this point
Copy the full SHA b14931fView commit details
Commits on Jul 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0cea9d6 - Browse repository at this point
Copy the full SHA 0cea9d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e775cc - Browse repository at this point
Copy the full SHA 5e775ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for c625e47 - Browse repository at this point
Copy the full SHA c625e47View commit details
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for da449fb - Browse repository at this point
Copy the full SHA da449fbView commit details -
synhash var bugfix: hash debruijn indexes, not var names
also adds a debug.synhash.term command for debugging
Configuration menu - View commit details
-
Copy full SHA for 9cc6c2b - Browse repository at this point
Copy the full SHA 9cc6c2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d70b219 - Browse repository at this point
Copy the full SHA d70b219View commit details -
Configuration menu - View commit details
-
Copy full SHA for 701f308 - Browse repository at this point
Copy the full SHA 701f308View commit details -
Update unison-cli/src/Unison/CommandLine/InputPatterns.hs
Co-authored-by: Greg Pfeil <greg@technomadic.org>
Configuration menu - View commit details
-
Copy full SHA for 22d4b26 - Browse repository at this point
Copy the full SHA 22d4b26View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee6793b - Browse repository at this point
Copy the full SHA ee6793bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94c6bfc - Browse repository at this point
Copy the full SHA 94c6bfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 223df40 - Browse repository at this point
Copy the full SHA 223df40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 615887f - Browse repository at this point
Copy the full SHA 615887fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c1a048 - Browse repository at this point
Copy the full SHA 2c1a048View commit details -
Pin Haskell tool versions for VS Code
This also has the flake get its version pins (when possible) from the VS Code settings. And we pin Cabal now, too.
Configuration menu - View commit details
-
Copy full SHA for c3405c2 - Browse repository at this point
Copy the full SHA c3405c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66d9b76 - Browse repository at this point
Copy the full SHA 66d9b76View commit details -
Configuration menu - View commit details
-
Copy full SHA for e506b00 - Browse repository at this point
Copy the full SHA e506b00View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8e34c2 - Browse repository at this point
Copy the full SHA d8e34c2View commit details -
Merge pull request #5195 from unisonweb/force-highlighting
Use `SyntaxText.Unit` as style for `foo()`
Configuration menu - View commit details
-
Copy full SHA for 2591ade - Browse repository at this point
Copy the full SHA 2591adeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4254a51 - Browse repository at this point
Copy the full SHA 4254a51View commit details -
Configuration menu - View commit details
-
Copy full SHA for c156ba7 - Browse repository at this point
Copy the full SHA c156ba7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fe6d67 - Browse repository at this point
Copy the full SHA 6fe6d67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e5b925 - Browse repository at this point
Copy the full SHA 1e5b925View commit details -
Configuration menu - View commit details
-
Copy full SHA for 736ccf1 - Browse repository at this point
Copy the full SHA 736ccf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 951f318 - Browse repository at this point
Copy the full SHA 951f318View commit details -
Configuration menu - View commit details
-
Copy full SHA for d78154d - Browse repository at this point
Copy the full SHA d78154dView commit details
Commits on Jul 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 09ecc74 - Browse repository at this point
Copy the full SHA 09ecc74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1543160 - Browse repository at this point
Copy the full SHA 1543160View commit details -
Merge pull request #5177 from unisonweb/24-07-01-todo-merge-precondit…
…ion-violations
Configuration menu - View commit details
-
Copy full SHA for 9b11d96 - Browse repository at this point
Copy the full SHA 9b11d96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67a41cd - Browse repository at this point
Copy the full SHA 67a41cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cd3f3c - Browse repository at this point
Copy the full SHA 1cd3f3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa6c59e - Browse repository at this point
Copy the full SHA fa6c59eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f725bf2 - Browse repository at this point
Copy the full SHA f725bf2View commit details -
Replace transcript parser with
cmark
We don’t need a very rich parser for transcripts, but we _do_ need to reliably identify fenced code blocks, and that implies a number of subtle cases. Using a polished CommonMark parser/printer handles those subtleties for us. I chose `cmark` for a few reasons: - it’s a wrapper around `libcmark`, which is the reference implementation of CommonMark, so it should be correct; - it provides both a parser and a printer (unlike MMark); and - it is extremely fast (about 20x faster than MMark), so the fact that our home-rolled parser got to skip over everything that’s not a block isn’t an issue.). This only _partially_ uses the `cmark` printer. I think it should use it entirely, but for the cases where we do streaming output (processing UCM commands, etc.) it’s a more involved change. So I think it should be handled separately.
Configuration menu - View commit details
-
Copy full SHA for 9e2fa2b - Browse repository at this point
Copy the full SHA 9e2fa2bView commit details -
Update the transcripts with
cmark
`cmark`’s pretty-printer matches our output pretty well, with a few differences: - it puts a space between the fence and the info string for in code blocks; - it prefers `-` over `*` for bulleted lists (as do I) and it indents them; - it `\`-escapes certain chars very conservatively; - it prefers indented/unfenced code blocks if there is no info string; and - it prefers `*` over `_` (unlike any sane person). This also shows how the change fixes a number of issues: - fix2158-1.output.md also illustrates how this change fixes #1809; - alias-many.output.md and input-parse-errors.output.md show how fenced code blocks without an info string would use the beginning of the content as the info string; - transcripts-round-trip/main.output.md shows how output blocks for generated `unison` stanzas (which could contain nested fenced blocks) might not have long-enough fences; and - error-messages.output.md and generic-parse-errors.output.md show how Unison errors were reported on the wrong line number (and thus the printed error lines were also incorrect).
Configuration menu - View commit details
-
Copy full SHA for 1dc181b - Browse repository at this point
Copy the full SHA 1dc181bView commit details -
Add a space before code block info strings
This is for consistency with the `cmark` style. Now the blocks we still pretty-print ourselves will match the bulk of them that `cmark` produces.
Configuration menu - View commit details
-
Copy full SHA for 0031542 - Browse repository at this point
Copy the full SHA 0031542View commit details -
Fix a few transcripts with incorrect Markdown
These weren’t errors in any way, but the `cmark`-produced outputs made it clear that some of our transcripts weren’t formatted the way we intended.
Configuration menu - View commit details
-
Copy full SHA for b657d0d - Browse repository at this point
Copy the full SHA b657d0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8416708 - Browse repository at this point
Copy the full SHA 8416708View commit details -
Terminate API code blocks correctly
They were missing trailing newlines, so as you can see in the diff, some transcripts had invalid output.
Configuration menu - View commit details
-
Copy full SHA for 179b8d1 - Browse repository at this point
Copy the full SHA 179b8d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf20459 - Browse repository at this point
Copy the full SHA bf20459View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f4e57d - Browse repository at this point
Copy the full SHA 2f4e57dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf44246 - Browse repository at this point
Copy the full SHA bf44246View commit details -
Update a couple transcripts to the new formatting
These aren‘t run as part of ./scripts/check.sh, so they got missed in the initial pass.
Configuration menu - View commit details
-
Copy full SHA for cbd533e - Browse repository at this point
Copy the full SHA cbd533eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f382ef1 - Browse repository at this point
Copy the full SHA f382ef1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a455180 - Browse repository at this point
Copy the full SHA a455180View commit details
Commits on Jul 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a4b67cd - Browse repository at this point
Copy the full SHA a4b67cdView commit details -
Merge branch 'trunk' into cp/project-root
# Conflicts: # unison-cli-integration/integration-tests/IntegrationTests/transcript.output.md # unison-src/transcripts-round-trip/main.output.md # unison-src/transcripts/add-run.output.md # unison-src/transcripts/bug-strange-closure.output.md # unison-src/transcripts/cycle-update-5.output.md # unison-src/transcripts/delete.output.md # unison-src/transcripts/diff-namespace.output.md # unison-src/transcripts/move-namespace.output.md # unison-src/transcripts/name-selection.output.md # unison-src/transcripts/names.output.md # unison-src/transcripts/namespace-dependencies.output.md # unison-src/transcripts/propagate.output.md # unison-src/transcripts/reflog.output.md # unison-src/transcripts/reset.output.md # unison-src/transcripts/tab-completion.output.md # unison-src/transcripts/transcript-parser-commands.output.md
Configuration menu - View commit details
-
Copy full SHA for 0cd3cd1 - Browse repository at this point
Copy the full SHA 0cd3cd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7113005 - Browse repository at this point
Copy the full SHA 7113005View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4045805 - Browse repository at this point
Copy the full SHA 4045805View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2958cc - Browse repository at this point
Copy the full SHA c2958ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 987cd61 - Browse repository at this point
Copy the full SHA 987cd61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 474fddb - Browse repository at this point
Copy the full SHA 474fddbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e4f1ab - Browse repository at this point
Copy the full SHA 1e4f1abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 670b086 - Browse repository at this point
Copy the full SHA 670b086View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60596a2 - Browse repository at this point
Copy the full SHA 60596a2View commit details -
Merge pull request #5041 from unisonweb/cp/project-root
Project Roots
Configuration menu - View commit details
-
Copy full SHA for be7e6cb - Browse repository at this point
Copy the full SHA be7e6cbView commit details
Commits on Jul 12, 2024
-
Use builtin reference names in foreign decompiling
E.G. print <Promise> instead of <Foreign>
Configuration menu - View commit details
-
Copy full SHA for a010a8a - Browse repository at this point
Copy the full SHA a010a8aView commit details -
Merge pull request #5216 from unisonweb/topic/decomp-foreign
Use builtin reference names in foreign decompiling
Configuration menu - View commit details
-
Copy full SHA for 212a232 - Browse repository at this point
Copy the full SHA 212a232View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5652c17 - Browse repository at this point
Copy the full SHA 5652c17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c52443 - Browse repository at this point
Copy the full SHA 7c52443View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11208f5 - Browse repository at this point
Copy the full SHA 11208f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for df0261c - Browse repository at this point
Copy the full SHA df0261cView commit details
Commits on Jul 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0dc7b6d - Browse repository at this point
Copy the full SHA 0dc7b6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 264a31a - Browse repository at this point
Copy the full SHA 264a31aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce5c9fe - Browse repository at this point
Copy the full SHA ce5c9feView commit details
Commits on Jul 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0c7851d - Browse repository at this point
Copy the full SHA 0c7851dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ed06f3 - Browse repository at this point
Copy the full SHA 6ed06f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 456b8e6 - Browse repository at this point
Copy the full SHA 456b8e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9516c59 - Browse repository at this point
Copy the full SHA 9516c59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e44b94 - Browse repository at this point
Copy the full SHA 4e44b94View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba78b69 - Browse repository at this point
Copy the full SHA ba78b69View commit details -
Configuration menu - View commit details
-
Copy full SHA for b65836b - Browse repository at this point
Copy the full SHA b65836bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7019595 - Browse repository at this point
Copy the full SHA 7019595View commit details -
Avoid duplicating YAML info in Markdown
Reviewing the last merge into #5142, I noticed some duplicated and out- of-date information. This brings things up-to-date and slightly reduces the duplication. - bumped Ormolu used by ci.yaml from 0.5.2.0 to 0.7.2.0, to match flake.nix - removed Markdown that claimed ci.yaml was using Ormolu 0.5.0.1 - moved description from `base-codebase` in Markdown to comment on `runtime_tests_codebase` in ci.yaml (and updated it to refer to builtin-tests/interpreter-tests.md instead of builtin-tests/base.md) - removed `unison_src_test_results` as it’s no longer managed as a single variable - moved other comments from Markdown to ci.yaml - added Markdown recommending to look in ci.yaml for specifics - rearranges the order of vars in ci.yaml to match the order they were presented in Markdown One thing I wasn’t sure how to map over: Markdown claims Racket 8.7 is used in CI, but ci.yaml doesn’t mention any Racket version.
Configuration menu - View commit details
-
Copy full SHA for 960f7d1 - Browse repository at this point
Copy the full SHA 960f7d1View commit details -
Don’t let Stack tell contributors to upgrade
We use a specific version of Stack, we don’t want Stack complaining to contributors that it doesn’t happen to be the latest.
Configuration menu - View commit details
-
Copy full SHA for f919c9b - Browse repository at this point
Copy the full SHA f919c9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 605e062 - Browse repository at this point
Copy the full SHA 605e062View commit details -
Don’t let Stack complain about Nix
We intentionally disable Stack’s Nix integration when it’s run from a Nix shell. We don’t want Stack complaining that we should enable it since it found `nix` on the path.
Configuration menu - View commit details
-
Copy full SHA for e108014 - Browse repository at this point
Copy the full SHA e108014View commit details
Commits on Jul 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4538189 - Browse repository at this point
Copy the full SHA 4538189View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1337ac2 - Browse repository at this point
Copy the full SHA 1337ac2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 525e923 - Browse repository at this point
Copy the full SHA 525e923View commit details -
Configuration menu - View commit details
-
Copy full SHA for a406431 - Browse repository at this point
Copy the full SHA a406431View commit details -
Configuration menu - View commit details
-
Copy full SHA for f17af1f - Browse repository at this point
Copy the full SHA f17af1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce9b1d8 - Browse repository at this point
Copy the full SHA ce9b1d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 734b6c4 - Browse repository at this point
Copy the full SHA 734b6c4View commit details
Commits on Jul 17, 2024
-
A bunch of small changes in TranscriptParser - remove dead code - don’t use `Show` for formatted output - put processed blocks in a separate sum type from unprocessed blocks - remove `Transcript` from identifiers (changed importers to use `qualified as Transcript`) - deduplicated some error reporting And one happy fix, IMO – got rid of the `Text.init` that plagued me in
Configuration menu - View commit details
-
Copy full SHA for 00f6c8c - Browse repository at this point
Copy the full SHA 00f6c8cView commit details -
Split
TranscriptParser
into three modules- `Transcript` – the data model - `Transcript.Parser` – the parser and printer - `Transcript.Runner` – the runner There is unfortunately still some printing tightly coupled to the runner, but this makes it more obvious. Also, the runner is the only component tied to the CLI.
Configuration menu - View commit details
-
Copy full SHA for b1cf123 - Browse repository at this point
Copy the full SHA b1cf123View commit details -
Mostly formatting, but also - removes Apple’s Cocoa from the dependencies, - moves some dependencies from `buildInputs` to `nativeBuildInputs`.
Configuration menu - View commit details
-
Copy full SHA for bf080a5 - Browse repository at this point
Copy the full SHA bf080a5View commit details -
This tool manages the Unison cache, so it’s useful to provide in dev environments. Actually pushing to the cache requires a secret key.
Configuration menu - View commit details
-
Copy full SHA for f189432 - Browse repository at this point
Copy the full SHA f189432View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0be480 - Browse repository at this point
Copy the full SHA b0be480View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdab05d - Browse repository at this point
Copy the full SHA cdab05dView commit details -
use libb2 for all blake functions
required if compiling on systems that use eg libressl
Configuration menu - View commit details
-
Copy full SHA for e3b2e4b - Browse repository at this point
Copy the full SHA e3b2e4bView commit details -
use /usr/bin/env sh for jit-tests.sh
this is more portable and ensures we can compile on systems without bash (eg *BSD)
Configuration menu - View commit details
-
Copy full SHA for f18cb2f - Browse repository at this point
Copy the full SHA f18cb2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d66c5c7 - Browse repository at this point
Copy the full SHA d66c5c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6b3137 - Browse repository at this point
Copy the full SHA b6b3137View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cd2a76 - Browse repository at this point
Copy the full SHA 3cd2a76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05362b8 - Browse repository at this point
Copy the full SHA 05362b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55560e5 - Browse repository at this point
Copy the full SHA 55560e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ed45f6 - Browse repository at this point
Copy the full SHA 7ed45f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c657e58 - Browse repository at this point
Copy the full SHA c657e58View commit details
Commits on Jul 18, 2024
-
Merge pull request #5237 from neduard/jit-support-non-gnu-unix-systems
Support native compilation on non-GNU Unix systems
Configuration menu - View commit details
-
Copy full SHA for 42ebc76 - Browse repository at this point
Copy the full SHA 42ebc76View commit details -
Run Ormolu over the entire codebase
With #5142, Ormolu was upgraded from 0.5.2.0 to 0.7.2.0. This formats the codebase to avoid spurious formatting comingled in other commits. Almost all of the changes are simply wrapping single constraints in parens, like ```diff -hashBranch :: forall m. Monad m => Branch m -> m BranchHash +hashBranch :: forall m. (Monad m) => Branch m -> m BranchHash ``` There is also some reordering of language pragmas and imports, indentation correction (some of which gets precedence wrong), and switching some Haddock from `-- ^` to `-- |` .
Configuration menu - View commit details
-
Copy full SHA for b8f1ed9 - Browse repository at this point
Copy the full SHA b8f1ed9View commit details
Commits on Jul 19, 2024
-
Manually reformat chains of single constraints
Changing `(A x) => (B y) => x -> y` to `(A x, B y) => x -> y`.
Configuration menu - View commit details
-
Copy full SHA for f7633ce - Browse repository at this point
Copy the full SHA f7633ceView commit details -
Inform Ormolu of some operator precedences
This adds a .ormolu file to tell Ormolu what some operator precedences are, to improve indentation of multi-line operator sequences.
Configuration menu - View commit details
-
Copy full SHA for 9ac6a04 - Browse repository at this point
Copy the full SHA 9ac6a04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01b475c - Browse repository at this point
Copy the full SHA 01b475cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cf03fe - Browse repository at this point
Copy the full SHA 2cf03feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e469ad - Browse repository at this point
Copy the full SHA 8e469adView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef62cd9 - Browse repository at this point
Copy the full SHA ef62cd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 677266d - Browse repository at this point
Copy the full SHA 677266dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ede3fc - Browse repository at this point
Copy the full SHA 6ede3fcView commit details
Commits on Jul 22, 2024
-
Don't limit max line length on .u scratch files
The recently added `.editorconfig` sets a max line length of 120 characters for all file types. I found this to be pretty frustrating when writing Unison scratch files. While writing Unison code my editor would seemingly randomly create a new line, generating invalid Unison code. This came up more often when writing `Doc` values, since I tend to write longer lines in prose than in code. The formatting in scratch files is ephemeral, so I don't think that there is any good reason to force a max line length on it.
Configuration menu - View commit details
-
Copy full SHA for 4584e1f - Browse repository at this point
Copy the full SHA 4584e1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0582617 - Browse repository at this point
Copy the full SHA 0582617View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e6c0ab - Browse repository at this point
Copy the full SHA 6e6c0abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bedaf3 - Browse repository at this point
Copy the full SHA 5bedaf3View commit details -
Merge pull request #5243 from unisonweb/cp/remove-reset-root
Remove reset-root, fix docs for reset
Configuration menu - View commit details
-
Copy full SHA for c4fc8d4 - Browse repository at this point
Copy the full SHA c4fc8d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b22343 - Browse repository at this point
Copy the full SHA 1b22343View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ff07ff - Browse repository at this point
Copy the full SHA 6ff07ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7a55f0 - Browse repository at this point
Copy the full SHA c7a55f0View commit details -
Merge pull request #5244 from unisonweb/cp/reflog-name
branch.reflog -> reflog
Configuration menu - View commit details
-
Copy full SHA for 7301b69 - Browse repository at this point
Copy the full SHA 7301b69View commit details
Commits on Jul 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4b68359 - Browse repository at this point
Copy the full SHA 4b68359View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7506ae2 - Browse repository at this point
Copy the full SHA 7506ae2View commit details
Commits on Jul 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7c307e6 - Browse repository at this point
Copy the full SHA 7c307e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e64ffb6 - Browse repository at this point
Copy the full SHA e64ffb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for aea1660 - Browse repository at this point
Copy the full SHA aea1660View commit details -
Merge pull request #5242 from unisonweb/editor-config-u
Don't limit max line length on .u scratch files
Configuration menu - View commit details
-
Copy full SHA for caf58fa - Browse repository at this point
Copy the full SHA caf58faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 032e360 - Browse repository at this point
Copy the full SHA 032e360View commit details -
Ensure transcript parser consumes entire stanzas
With the switch to `cmark`, the “second phase” parsing of individual stanzas omitted an EOF check to ensure that the entire stanza had been parsed. This resulted in parses where we end up with truncated sets of UCM commands or API requests, which could either result in premature success or failures occurring later in the transcript, where they’d complain about the wrong thing.
Configuration menu - View commit details
-
Copy full SHA for bd4c204 - Browse repository at this point
Copy the full SHA bd4c204View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80143eb - Browse repository at this point
Copy the full SHA 80143ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4c2327 - Browse repository at this point
Copy the full SHA c4c2327View commit details
Commits on Jul 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 59f41c6 - Browse repository at this point
Copy the full SHA 59f41c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04c659d - Browse repository at this point
Copy the full SHA 04c659dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f59c428 - Browse repository at this point
Copy the full SHA f59c428View commit details -
Configuration menu - View commit details
-
Copy full SHA for b12baa4 - Browse repository at this point
Copy the full SHA b12baa4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0079f2a - Browse repository at this point
Copy the full SHA 0079f2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for daa97fd - Browse repository at this point
Copy the full SHA daa97fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17c6c8e - Browse repository at this point
Copy the full SHA 17c6c8eView commit details
Commits on Jul 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a49146f - Browse repository at this point
Copy the full SHA a49146fView commit details -
Merge pull request #5254 from unisonweb/cp/defn-search-sync
Add FromJSON for Display Object for definition search
Configuration menu - View commit details
-
Copy full SHA for f559576 - Browse repository at this point
Copy the full SHA f559576View commit details
Commits on Jul 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 21209e2 - Browse repository at this point
Copy the full SHA 21209e2View commit details -
Separate the
Doc
lexer from the Unison lexer`doc2` is a Unison lexer that traverses a `Doc`. `docBody` is the actual `Doc` lexer that is ignorant of the fact that Unison wraps `Doc` blocks in `{{`/`}}`.
Configuration menu - View commit details
-
Copy full SHA for d1fe6d9 - Browse repository at this point
Copy the full SHA d1fe6d9View commit details -
Move the
Annotated
class to theAnn
moduleThis is in preparation for using `Ann` in the `Lexer` module, as that module actually does some parsing.
Configuration menu - View commit details
-
Copy full SHA for 543daa3 - Browse repository at this point
Copy the full SHA 543daa3View commit details -
`doc2` was a parser in lexer’s clothing. It would parse recursively, but then return the result as a flat list of tokens. This separates the parsing from the “unparsing” (which returns the tokens), so now we have a parser to a recursive `Doc` structure. This currently immediately applies the unparser, and should result in an identical stream of tokens as the previous version. Eventually, we should be able to avoid unparsing the `Doc` structure.
Configuration menu - View commit details
-
Copy full SHA for 5f87b41 - Browse repository at this point
Copy the full SHA 5f87b41View commit details -
This removes the layer that makes the `Doc` parser look like a lexer and replaces it with a function that converts the Doc structure directly Unison Terms.
Configuration menu - View commit details
-
Copy full SHA for 227ff27 - Browse repository at this point
Copy the full SHA 227ff27View commit details -
After running the core of the lexer, the `lexer` function then does some work to turn the stream into a tree, and reorder some lexemes. It then throws away the tree structure. This is the first step of preserving the tree structure for the parser. It extracts the “pre-parser” from `lexer` so that it can eventually be used _after_ the lexer, rather than internally. This also moves `fixup` to be applied on each block as we reorder it, rather than across the entire stream at the end (since the goal is to not _have_ an entire stream any more).
Configuration menu - View commit details
-
Copy full SHA for 159ea3a - Browse repository at this point
Copy the full SHA 159ea3aView commit details -
Allow EOF to close layout blocks
This removes the need to pad the lexer stream with trailing `Close` lexemes. If EOF is reached, the parser will automatically close any layout blocks (but not context-free blocks).
Configuration menu - View commit details
-
Copy full SHA for 32472bd - Browse repository at this point
Copy the full SHA 32472bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94065e0 - Browse repository at this point
Copy the full SHA 94065e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 567238f - Browse repository at this point
Copy the full SHA 567238fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c561f3 - Browse repository at this point
Copy the full SHA 6c561f3View commit details -
We now build the stanzas at the same time as the tree, and don’t discard them after reordering. This also changes the closing element of `Block` to be `Maybe` instead of `[]`.
Configuration menu - View commit details
-
Copy full SHA for 3158e66 - Browse repository at this point
Copy the full SHA 3158e66View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6f6d9c - Browse repository at this point
Copy the full SHA a6f6d9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c53cb08 - Browse repository at this point
Copy the full SHA c53cb08View commit details -
Add
Data.Functor.Classes
instancesThese are needed for the new Doc types, but had been stubbed out. Moving the Doc types to their own module forced the changes that got in the way of generating these with Template Haskell.
Configuration menu - View commit details
-
Copy full SHA for 70fe615 - Browse repository at this point
Copy the full SHA 70fe615View commit details -
It’s only used inside `local`, so its attempts to restore the layout are for naught.
Configuration menu - View commit details
-
Copy full SHA for 31f9522 - Browse repository at this point
Copy the full SHA 31f9522View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f2d188 - Browse repository at this point
Copy the full SHA 6f2d188View commit details -
Split the Doc parser into multiple functions
In general, they map to the constructors of the Doc types, with some wiggle room for now. It’s probably beneficial to review this commit by ignoring whitespace.
Configuration menu - View commit details
-
Copy full SHA for e9512a6 - Browse repository at this point
Copy the full SHA e9512a6View commit details -
It is now completely[^1] independent of the Unison language. The parser takes a few parsers as arguments: one for identifiers, one for code, and one to indicate the end of the Doc block. [^1]: There is one last bit to be removed in the next commit – Doc still looks for `type` or `ability` to identify type links.
Configuration menu - View commit details
-
Copy full SHA for a6528ac - Browse repository at this point
Copy the full SHA a6528acView commit details -
Caught a hardcoded
}}
in the Doc parserThe Doc parser shouldn’t know how Unison terminates Doc blocks.
Configuration menu - View commit details
-
Copy full SHA for 9a941a3 - Browse repository at this point
Copy the full SHA 9a941a3View commit details -
Make Doc parser ignorant of type/term distinctions
This was the last thing tying Doc to Unison.
Configuration menu - View commit details
-
Copy full SHA for beecaa9 - Browse repository at this point
Copy the full SHA beecaa9View commit details
Commits on Jul 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3df6418 - Browse repository at this point
Copy the full SHA 3df6418View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43bfa09 - Browse repository at this point
Copy the full SHA 43bfa09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94209ea - Browse repository at this point
Copy the full SHA 94209eaView commit details
Commits on Jul 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 72da81f - Browse repository at this point
Copy the full SHA 72da81fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4acebf0 - Browse repository at this point
Copy the full SHA 4acebf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e4719e - Browse repository at this point
Copy the full SHA 9e4719eView commit details
Commits on Jul 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 03b225c - Browse repository at this point
Copy the full SHA 03b225cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4a04b7 - Browse repository at this point
Copy the full SHA d4a04b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e545e0b - Browse repository at this point
Copy the full SHA e545e0bView commit details
Commits on Aug 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f9db384 - Browse repository at this point
Copy the full SHA f9db384View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c9c3ba - Browse repository at this point
Copy the full SHA 8c9c3baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4803d44 - Browse repository at this point
Copy the full SHA 4803d44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9100b97 - Browse repository at this point
Copy the full SHA 9100b97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a3e2ef - Browse repository at this point
Copy the full SHA 8a3e2efView commit details
Commits on Aug 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c5a66d5 - Browse repository at this point
Copy the full SHA c5a66d5View commit details -
Add a transcript showing that #5076 was fixed
Some handling of blocks without final newlines was improved in the course of this PR. Fixes #5076.
Configuration menu - View commit details
-
Copy full SHA for 96f865b - Browse repository at this point
Copy the full SHA 96f865bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ee188d - Browse repository at this point
Copy the full SHA 1ee188dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d184ac1 - Browse repository at this point
Copy the full SHA d184ac1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac75905 - Browse repository at this point
Copy the full SHA ac75905View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e87dc3 - Browse repository at this point
Copy the full SHA 3e87dc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a26a31a - Browse repository at this point
Copy the full SHA a26a31aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d12176f - Browse repository at this point
Copy the full SHA d12176fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d903fd2 - Browse repository at this point
Copy the full SHA d903fd2View commit details -
Update .github/workflows/nix-dev-cache.yaml
Co-authored-by: Greg Pfeil <greg@technomadic.org>
Configuration menu - View commit details
-
Copy full SHA for 02f9eb7 - Browse repository at this point
Copy the full SHA 02f9eb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7ac7c6 - Browse repository at this point
Copy the full SHA d7ac7c6View commit details -
Merge pull request #5265 from unisonweb/lsp/fix-unused-bindings-in-cases
Fix unused-binding-detection in case patterns
Configuration menu - View commit details
-
Copy full SHA for c32bb93 - Browse repository at this point
Copy the full SHA c32bb93View commit details -
Update .github/workflows/nix-dev-cache.yaml
Co-authored-by: Greg Pfeil <greg@technomadic.org>
Configuration menu - View commit details
-
Copy full SHA for 6cb39c8 - Browse repository at this point
Copy the full SHA 6cb39c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69886f4 - Browse repository at this point
Copy the full SHA 69886f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97c9109 - Browse repository at this point
Copy the full SHA 97c9109View commit details
Commits on Aug 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c049c65 - Browse repository at this point
Copy the full SHA c049c65View commit details -
Configuration menu - View commit details
-
Copy full SHA for f63cfbe - Browse repository at this point
Copy the full SHA f63cfbeView commit details
Commits on Aug 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7909114 - Browse repository at this point
Copy the full SHA 7909114View commit details
Commits on Aug 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4c3eb03 - Browse repository at this point
Copy the full SHA 4c3eb03View commit details
Commits on Aug 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 82e9516 - Browse repository at this point
Copy the full SHA 82e9516View commit details -
Configuration menu - View commit details
-
Copy full SHA for bab6e99 - Browse repository at this point
Copy the full SHA bab6e99View commit details