Commit Graph

132 Commits

Author SHA1 Message Date
Chris Penner
987cd61976 Swap branch-relative-paths back to relative 2024-07-11 09:49:55 -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
6fe6d673d2 Omit times from project reflogs 2024-07-09 14:51:18 -07:00
Chris Penner
8a405e02d2 Update reflog command WIP 2024-07-03 16:43:34 -07:00
Chris Penner
a7820feeac Deprecate root reflog behaviour in favour of project/branch reflogs 2024-07-03 11:52:52 -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
andrii
8b857b152c Adding a message for when ucm started reloading changes 2023-12-22 12:55:24 +01:00
Dan Doel
80c44ed5a1 Merge branch 'trunk' into captureAs 2023-11-30 13:40:57 -05:00
Dan Doel
b857281dc8 Update transcripts for new builtins 2023-10-23 13:54:28 -04:00
Dan Doel
8306ff82a3 Add a builtin for validating code hashes before loading. 2023-08-10 15:48:28 -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
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
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
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
3d553b3048 Transcript updates 2023-01-23 15:37:54 -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
482ba16523 Reformat reflog output 2022-09-01 15:49:17 -06:00
Chris Penner
401d3394b5 Merge remote-tracking branch 'origin/trunk' into cp/reflog-db 2022-08-26 11:02:00 -06:00
Chris Penner
7f309eef7b Refresh transcripts 2022-08-26 10:56:02 -06:00
Jesse Looney
47f7da418f
Add tip to reflog output showing example diff.namespace usage (#3302)
* Add diff.namespace tip to reflog output

* Add @jesselooney to CONTRIBUTORS.markdown

* Update transcripts to reflect change to reflog output

Co-authored-by: Impartiall <42242696+Impartiall@users.noreply.github.com>
2022-08-26 10:53:29 -06:00
Dan Doel
f92bdfb67e Transcript changes 2022-08-25 14:51:34 -04:00
Paul Chiusano
9394737ace refresh transcripts 2022-07-01 16:48:17 -04:00
Dan Doel
6ee5305e6d Transcript changes 2022-07-01 10:01:33 -04:00
Dan Doel
f0b63e782e Some array additions/fixes
- Add 24 and 40 bit primitive reads. These are directly supported by
  Chez, and are convenient for base32hex coding.
- Add size operations on builtin arrays.
- Fix order of operations in implementations multi-byte array reads.
  They were shifting before promoting to a larger word size, which would
  just zero the values out.
2022-06-22 11:37:34 -04:00
Dan Doel
aef728992b Merge branch 'trunk' into work/arrays 2022-06-20 15:20:36 -04:00
Dan Doel
bbb2e52e6a Transcript fixes 2022-06-17 15:47:19 -04:00
Dan Freeman
c5f429fc3f
Refresh transcripts 2022-06-16 13:54:25 -06:00
Dan Doel
09ba846102 Add more array builtins to flesh out the actual API 2022-06-15 18:28:30 -04:00
Dan Doel
88269997ec Missed builtin array types + transcript changes 2022-06-09 15:40:43 -04:00
Rúnar
d01e05ab63 update transcripts 2022-05-10 15:19:51 -04:00
iamevn
fdddfacc7c stack exec transcripts 2022-04-04 15:56:08 -07:00
Arya Irani
19daa28398 Merge branch 'trunk' into topic/merge-trunk-2022-02-07 2022-02-07 19:29:57 -07:00
Dan Doel
d62542fb60 Add tests for sandboxing check 2022-01-24 19:43:46 -05:00
Chris Penner
35e5453be3 update hashes in transcripts 2021-12-14 14:47:42 -06:00