Commit Graph

51 Commits

Author SHA1 Message Date
Chris Penner
1b22343c24 branch.reflog -> reflog 2024-07-22 15:00:47 -07:00
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
1cd3f3cff8 Fix move-namespace transcript 2024-07-10 10:52:39 -07:00
Chris Penner
4c89423ef1 Rerun transcripts 2024-07-05 17:11:22 -07:00
Chris Penner
983fb054bd Port move-namespace to projects 2024-07-01 23:48:22 -07:00
Chris Penner
bed7af2ab2 Half-convert move-namespace.md to projects 2024-06-26 11:41:07 -07:00
Chris Penner
5ca1eb3b8d Replace '.' references with scratch/main 2024-06-25 11:11:07 -07:00
etorreborre
01bb42bbd3
feature: add RSA builtin functions for signing 2024-05-11 00:05:38 +02:00
Arya Irani
4c9deb169c update transcript outputs 2024-05-10 11:22:57 -04:00
Arya Irani
1be5cf2d1d Merge branch 'trunk' into kylegoetz-udp
# Conflicts:
#	unison-src/transcripts-using-base/all-base-hashes.output.md
#	unison-src/transcripts/builtins-merge.output.md
#	unison-src/transcripts/emptyCodebase.output.md
#	unison-src/transcripts/merges.output.md
#	unison-src/transcripts/move-all.output.md
#	unison-src/transcripts/move-namespace.output.md
#	unison-src/transcripts/reflog.output.md
#	unison-src/transcripts/reset.output.md
#	unison-src/transcripts/squash.output.md
#	unison-src/transcripts/upgrade-happy-path.output.md
2024-04-02 00:19:42 -06:00
Arya Irani
96a5be9b07 update transcript output 2024-04-02 00:12:34 -06:00
Dan Doel
eaee313440 Split corrected many pattern into two patterns 2024-03-29 12:39:30 -04:00
Dan Doel
a320820bc3 Transcript updates 2024-02-23 18:03:04 -05:00
Chris Penner
5520a5b881 Update transcripts 2024-01-12 10:19:02 -08:00
andrii
4456c95c7a Fixing test for type modifiers, updating trnscripts 2024-01-04 09:42:12 +01:00
andrii
8b857b152c Adding a message for when ucm started reloading changes 2023-12-22 12:55:24 +01:00
Travis Staton
cbc9d9a6e2
functional moveAll 2023-12-06 09:09:18 -05:00
Dan Doel
80c44ed5a1 Merge branch 'trunk' into captureAs 2023-11-30 13:40:57 -05:00
Mitchell Rosen
011718fb8e in update, don't bother typechecking again if we haven't changed the unison file 2023-11-29 15:09:06 -05:00
Arya Irani
b39ad780a5 print better update info messages 2023-11-13 22:36:03 -05:00
Travis Staton
ab072c7960
fix transcripts 2023-11-08 11:54:50 -05:00
Dan Doel
b857281dc8 Update transcripts for new builtins 2023-10-23 13:54:28 -04:00
Paul Chiusano
46e28766d6 working 2023-08-17 16:55:28 -05:00
Dan Doel
8306ff82a3 Add a builtin for validating code hashes before loading. 2023-08-10 15:48:28 -04:00
Mitchell Rosen
86cff07122 regenerate a couple transcripts that use unique types 2023-07-19 13:45:05 -04:00
Paul Chiusano
d33b3f9b53 refresh transcripts 2023-07-10 21:43:15 -04:00
Rúnar
0f58263ac5 Added IO.randomBytes builtin 2023-07-02 00:31:11 -04:00
Rúnar
646dddbdad Fixed up transcripts 2023-06-22 00:46:40 -04:00
Stew O'Connor
054cdd87de add Bytes.indexOf and Text.indexOf builtins
fixes #4060
2023-06-01 19:24:07 -07:00
Stew O'Connor
e231f80211 Add a new Pattern.captureAs builtin
Adding a Pattern.captureAs which will act just like capture, but
additionally takes an `a` which will be used as a replacement for the
capture.

My motivation for adding it is that I want to match on escape
sequence, but actually capture the unescaped character instead.

For example:

```
Pattern.captureAs "\n" (Pattern.literal "\\n")
```
2023-05-08 16:31:59 -07:00
Travis Staton
08fe6d4095
fix ls pretty print scope bug 2023-05-08 15:23:42 -04:00
Chris Krycho
81290d8eb4
Add Md5 builtin to crypto.HashAlgorithm
Expose Haskell's implementation like the existing crypto built-ins, and
add it to the test transcripts.
2023-03-13 15:36:55 -06:00
Travis Staton
bfe8364bb0
make patterns complete in base.u 2023-02-27 11:11:46 -05:00
Fabio Labella
a8f1fb6fe1 Generate transcripts 2023-02-22 16:06:30 +00:00
Rúnar
9873a6b32c Fix transcript output 2023-02-10 22:51:45 -05:00
Chris Penner
ff166e1a29 Update transcripts 2023-01-30 11:08:34 -06:00
Dan Doel
9e0e93135f Merge remote-tracking branch 'origin/trunk' into topic/builtins-misc 2023-01-26 10:30:05 -05:00
Dan Doel
6192796344 Transcript updates 2023-01-25 19:35:16 -05:00
Fabio Labella
b09743a622 Generate transcripts 2023-01-25 02:35:18 +00:00
Dan Doel
831b81afc3 Merge branch 'trunk' into topic/debug-show 2023-01-23 16:03:46 -05:00
Dan Doel
3d553b3048 Transcript updates 2023-01-23 15:37:54 -05:00
Simon Højberg
e7ec58c696 update transcripts 2023-01-23 10:44:01 -05:00
Fabio Labella
e2f9c4b3b9 Regenerate transcripts 2023-01-19 16:16:04 +00:00
Fabio Labella
743d2018e2 Regenerate transcripts 2023-01-18 02:09:46 +00:00
andrii
bf748a8d3a Running stack exec transcripts 2022-10-01 20:40:55 +02:00
Chris Penner
c8b71081d9 PR cleanup 2022-09-01 11:34:36 -06:00
Dan Doel
7f24194842 Transcript fix after merge 2022-08-26 11:04:43 -04:00
Chris Penner
194ea3df37 Collaps entire move into a single step at the root 2022-08-24 10:49:02 -06:00