Commit Graph

118 Commits

Author SHA1 Message Date
Chris Penner
1b22343c24 branch.reflog -> reflog 2024-07-22 15:00:47 -07:00
Eduard Nicodei
4e44b94ad6 update transcripts 2024-07-15 19:10:27 +01: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
4c89423ef1 Rerun transcripts 2024-07-05 17:11:22 -07:00
Chris Penner
6152577dd4 Fix alias-many transcript 2024-06-25 11:32:19 -07:00
Chris Penner
5ca1eb3b8d Replace '.' references with scratch/main 2024-06-25 11:11:07 -07: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
Chris Penner
3f8c3251cd Update some transcripts to new global fallback 2024-01-08 11:35:37 -08: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
Paul Chiusano
46e28766d6 working 2023-08-17 16:55:28 -05:00
Dan Doel
c8e09f0a96 Ormolu and transcripts 2023-08-10 16:34:55 -04:00
Dan Doel
8306ff82a3 Add a builtin for validating code hashes before loading. 2023-08-10 15:48:28 -04:00
Paul Chiusano
5d2d56c78a refresh transcripts 2023-07-10 21:40:42 -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
cc0c6a2868 Regenerate transcripts after Promise signature change 2023-01-20 02:07:20 +00: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
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
Dan Doel
d62542fb60 Add tests for sandboxing check 2022-01-24 19:43:46 -05:00
Dan Doel
8583cba066 Transcript updates 2021-12-08 14:36:24 -05:00
Stew O'Connor
643bbf96bc update transcripts 2021-11-30 08:43:29 -08:00
iamevn
21539b337a stack exec transcripts 2021-10-23 10:10:57 -07:00
Paul Chiusano
507fc0957e refresh transcripts 2021-10-04 13:28:55 -05:00
Alvaro Carrasco
fc78cc1899 Fix type of ##IO.systemTimeMicroseconds 2021-09-25 14:01:21 -06:00
Alvaro Carrasco
1e5a509931 Renamed to systemTimeMicroseconds and updated transcripts 2021-09-25 11:29:57 -06:00
Cody Allen
1f0cf09c85
Merge branch 'trunk' into remote-support 2021-09-22 14:15:00 -07:00