Commit Graph

19 Commits

Author SHA1 Message Date
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
5ca1eb3b8d Replace '.' references with scratch/main 2024-06-25 11:11:07 -07:00
Mitchell Rosen
6adb88f5b3 delete a bunch of patch manipulation commands 2024-05-24 11:01:45 -04:00
Mitchell Rosen
d9246002cc dont use NamesWithHistory 2024-01-03 17:27:14 -05:00
andrii
8b857b152c Adding a message for when ucm started reloading changes 2023-12-22 12:55:24 +01:00
Paul Chiusano
b8a688aac4 tweak output messages + refresh transcripts 2022-04-07 00:48:53 -05:00
Chris Penner
3e3b44d1d1 Merge branch 'trunk' into topic/rehash-codebase 2022-02-14 13:31:57 -06:00
Chris Penner
be57a82d4f
Add numbered output to view.patch (#2875)
* Number 'view.patch' output

* Add numbering to patches

* Change transcript to use numbers rather than hashes

* Update transcripts

* use short-hash as lhs of patch outputs in numberedArgs
2022-02-09 16:01:52 -06:00
Arya Irani
19daa28398 Merge branch 'trunk' into topic/merge-trunk-2022-02-07 2022-02-07 19:29:57 -07:00
Arya Irani
52b2c81783 never assume builtins are known to the db
fixes 107 failing transcripts
2021-12-06 11:55:21 -10:00
Tavish Pegram
fc9feef0e4 Fix some tests 2021-06-22 17:17:30 -05:00
Arya Irani
81b6679bf3 update transcripts 2020-04-08 14:25:19 -04:00
Arya Irani
bf59f60076
Merge pull request #1372 from pete-ts/fix/1339
Removes empty string at the end of Name.suffixes output and unittests
2020-03-22 17:32:58 -04:00
pete-ts
9838b7cbd1 removes Twoolean and == from transcript 2020-03-21 16:59:43 +00:00
Runar Bjarnason
f77e116579 Handle misses better 2020-03-19 13:04:25 -04:00
Runar Bjarnason
68021e80ff Transcripts changed 2020-03-18 22:51:49 -04:00
Arya Irani
6b5d60cb20 misc todos for #1334:
- simplify resolveHHQS'Referents
- add missing logic to TermReferentsByShortHash
- don't pass Codebase just to get deserializers
- improve transcript prose
2020-03-11 21:56:33 -04:00
Arya Irani
5d5f96bcaa add transcript 2020-03-11 16:44:09 -04:00