Commit Graph

28 Commits

Author SHA1 Message Date
Arya Irani
0cd3cd1cff 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
2024-07-10 23:49:04 -04:00
Greg Pfeil
0031542faf
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.
2024-07-10 13:56:07 -06:00
Greg Pfeil
1dc181b99a
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).
2024-07-10 13:37:51 -06:00
Chris Penner
c0950036f0 Fix up tab-completion transcripts for project roots 2024-07-02 09:49:05 -07:00
Chris Penner
bb41e55e07 Port tab-completion mostly to projects 2024-06-26 12:00:40 -07:00
Chris Penner
5ca1eb3b8d Replace '.' references with scratch/main 2024-06-25 11:11:07 -07:00
Chris Penner
815c1b1f1c
Auto-create project-branches referenced in transcript prompts (#5077) 2024-06-12 09:28:12 -04:00
Mitchell Rosen
6adb88f5b3 delete a bunch of patch manipulation commands 2024-05-24 11:01:45 -04:00
Mitchell Rosen
09ee97b149 update tab completion transcript 2024-05-13 11:34:01 -04:00
Mitchell Rosen
831005eaf3 ⅄ trunk → topic/merge4 2024-05-01 13:26:43 -04:00
Mitchell Rosen
0babe4df90 update transcripts 2024-05-01 13:18:46 -04:00
Arya Irani
2cf96a36ae
deprecate cd, up; add find-in (#4883)
* deprecate `cd`, `up`, hide `reset-root`, add `find-in`, hides unimplemented `update.builtins`
Co-authored-by: Chris Penner <christopher.penner@gmail.com>
2024-04-28 21:30:02 -04:00
Mitchell Rosen
d37bce3e7e rename and hide old merge commands 2024-04-24 12:29:15 -04:00
Arya Irani
3b5ce64bcf Merge branch 'trunk' into unorsk/unique-as-default-type-modifier
# Conflicts:
#	unison-src/transcripts/diff-namespace.output.md
#	unison-src/transcripts/docs.output.md
2024-01-05 14:15:22 -10:00
andrii
4456c95c7a Fixing test for type modifiers, updating trnscripts 2024-01-04 09:42:12 +01:00
Mitchell Rosen
b7d43cf40f remove a bunch of metadata-related code 2024-01-03 20:44:55 -05:00
andrii
8b857b152c Adding a message for when ucm started reloading changes 2023-12-22 12:55:24 +01:00
Chris Penner
961de6ed8b Add project tab-completion transcripts 2023-12-14 15:06:35 -08:00
Travis Staton
ab072c7960
fix transcripts 2023-11-08 11:54:50 -05:00
sixfourtwelve
ab1a39e613 update query args and push up transcript output 2023-10-10 07:19:09 +01:00
sixfourtwelve
54e9056d3e quick fix for delete.type #4315 for next steps 2023-10-09 20:59:01 +01:00
Travis Staton
d7c2cd4048
update tab-completion transcript 2023-05-16 12:58:38 -04:00
Mitchell Rosen
683866d95f add delete.branch to tab-completion transcript output 2023-04-05 10:47:35 -04:00
Travis Staton
eb4403f8f4 Remove diff from delete{.term,.type} output
fixes #3395

add delete{.term,.type}.verbose variants with the old behavior
2022-12-06 12:28:21 -05:00
Cody Allen
71944beefd
Transcripts for io.test tab completion 2022-09-15 10:56:14 -04:00
Chris Penner
ccdd3d2b7f
More intuitive tab completion behaviour (#3406) 2022-09-10 09:53:05 -06:00
Chris Penner
701d543892 Update tab completion output 2022-08-17 12:23:46 -06:00
Chris Penner
8696fef129
Tab completion speedup (#3312)
* Working and fast prefix-based tab complete

* Re-arrange completion modules

* Hash completion for conflicted terms

* Sort Completions

* Remove fuzzy matcher for now

* Remove 'Branch' from suggestion signature

* Add ability to test completions in transcripts

* Use explicit lax-path query parser
2022-08-16 15:01:46 -06:00