Travis Staton
1568dfc926
fix #4280
2024-01-30 15:23:28 -05:00
Travis Staton
a87f379500
Add transcript demonstrating #4280
2024-01-30 15:22:41 -05:00
Chris Penner
68c78f8d8f
Update transcripts
2024-01-30 11:58:55 -08:00
Chris Penner
8a099ce233
Add debug-definition transcripts
2024-01-30 11:55:36 -08:00
Mitchell Rosen
acce2ea1df
⅄ trunk → 22-10-18-backticky-parser
2024-01-30 08:02:55 -05:00
dolio
d2bb44f6a6
Merge pull request #4642 from unisonweb/fix/local-defs
...
Local definition generalization and possible TDNR improvement
2024-01-29 14:13:42 -05:00
Arya Irani
04376665e8
Merge pull request #4641 from unisonweb/runarorama/improve-tdnr-message
...
Make errors nicer when TDNR fails
2024-01-26 14:06:19 -05:00
Arya Irani
aec8aecf26
Merge pull request #4643 from unisonweb/travis/4592/roundtrip-bug-in-docs
...
Don't implicitly close transclude blocks
2024-01-26 14:04:15 -05:00
Rúnar
9ad4583e66
Merge branch 'runarorama/improve-tdnr-message' of https://github.com/unisonweb/unison into runarorama/improve-tdnr-message
2024-01-26 12:54:05 -05:00
Rúnar
3b7e2586a2
Fix type rendering for existentials, other tweaks
2024-01-26 12:53:29 -05:00
Travis Staton
a939251ebd
don't implicitly close transclude blocks
...
fixes #4592
2024-01-26 12:53:26 -05:00
Travis Staton
9404e207aa
add transcript demonstrating 4592
2024-01-26 12:45:15 -05:00
Rúnar
ed3c84a7b3
Discard changes to unison-src/transcripts-manual/benchmarks/output/2024-01-25T15:48:31.296974000Z-bench.txt
2024-01-25 23:16:20 -05:00
Rúnar
887d9acca5
I GUESS RUNNING IT AGAIN DID THE TRICK
2024-01-25 22:41:55 -05:00
Rúnar
5d85b81ca6
Incorporating latest formatter changes
2024-01-25 22:06:18 -05:00
Rúnar
16ac4071db
Merge branch 'trunk' of https://github.com/unisonweb/unison into runarorama/improve-tdnr-message
2024-01-25 21:56:09 -05:00
Rúnar
13cc8cfcf4
Minor tweaks to output
2024-01-25 20:46:31 -05:00
Chris Penner
a0a2491a6c
Transcript update
2024-01-25 10:29:41 -08:00
Chris Penner
e8b8fedbce
Formatter rewrite
2024-01-25 10:23:46 -08:00
Dan Doel
583df95f93
Add a transcript for #3752
2024-01-25 11:59:25 -05:00
Dan Doel
108915253b
Transcript changes
2024-01-25 11:50:27 -05:00
Rúnar
cb226e1446
Rewrites output changed
2024-01-25 10:59:53 -05:00
Rúnar
3457a4b9c8
Transcript output
2024-01-25 10:12:10 -05:00
Chris Penner
4ac9cd42b0
Fix bad annotations on trailing constructor args
2024-01-24 19:12:16 -08:00
Chris Penner
0b08963203
Much closer to working
2024-01-24 18:47:39 -08:00
Chris Penner
8b7a03df0e
Commit broken transcript
2024-01-24 15:35:15 -08:00
Chris Penner
b790b9ac97
Maybe working
2024-01-24 15:05:00 -08:00
Chris Penner
a118324f7f
Slight improvement
2024-01-24 14:44:00 -08:00
Chris Penner
a97da0377f
Update transcripts
2024-01-24 14:18:06 -08:00
Chris Penner
28a79d911b
Merge remote-tracking branch 'origin/trunk' into cp/doc-formatter-fix
2024-01-24 11:45:30 -08:00
Chris Penner
d6a2a8ae5e
It's working don't touch it.
2024-01-24 11:44:00 -08:00
Chris Penner
047ef594a6
Fix special case for type doc in lexer
2024-01-24 10:18:00 -08:00
Mitchell Rosen
8871927c6e
more path, name, and name segment work (doesn't build yet)
2024-01-24 11:01:22 -05:00
Chris Penner
287dae5ce9
Merge remote-tracking branch 'origin/trunk' into cp/edit-namespace
2024-01-23 11:35:23 -08:00
Chris Penner
5679768c8c
Add format command alongside a transcript
2024-01-16 15:33:16 -08:00
Chris Penner
b208778385
Update transcripts
2024-01-16 12:02:00 -08:00
Chris Penner
ff47ec7813
Merge remote-tracking branch 'origin/trunk' into cp/remove-global-names-again
2024-01-16 11:49:07 -08:00
Arya Irani
f746fb7927
Merge pull request #4615 from unisonweb/travis/4423/branch-relative-path
...
Allow forking between projects/branches
2024-01-16 11:02:28 -05:00
Travis Staton
3d3dd58f59
fork accepts branch relative paths
2024-01-12 14:33:09 -05:00
Chris Penner
5520a5b881
Update transcripts
2024-01-12 10:19:02 -08:00
Mitchell Rosen
3d0f9bd34e
make upgrade use update's complicated ppe creation logic, which finishes
...
off suffixifying definitions by hash when we can in upgrade
2024-01-12 12:25:58 -05:00
Chris Penner
6896232b05
Transcript update
2024-01-11 15:42:48 -08:00
Chris Penner
a6cc182272
Merge remote-tracking branch 'origin/trunk' into cp/remove-global-names-again
2024-01-11 15:35:36 -08:00
Mitchell Rosen
a7fca26bba
⅄ 24-01-10-fix-upgrade-suffixifier → 24-01-09-better-suffixification
2024-01-10 14:55:02 -05:00
Mitchell Rosen
661ce6a78e
make upgrade suffixify by name
2024-01-10 14:51:29 -05:00
Mitchell Rosen
f5bfa60b59
add transcript that demonstrates bug in upgrade suffixification
2024-01-10 14:44:12 -05:00
Mitchell Rosen
ca0b09adf4
remove irrelevant transcript that no longer demonstrates a bug in update.old
2024-01-10 14:33:07 -05:00
Mitchell Rosen
4ffb2f8dd7
update update-suffixifies-properly transcript output
2024-01-10 14:08:22 -05:00
Mitchell Rosen
509aa0c805
add transcript demonstrating current update suffixification behavior
2024-01-10 14:06:46 -05:00
Arya Irani
00cd55edeb
Merge pull request #4577 from unisonweb/cp/update2-writeSource
...
Don't do file IO in `OutputMessages` for upgrade/update
2024-01-09 15:41:23 -10:00
Arya Irani
5741d0448c
Merge pull request #4576 from unisonweb/cp/scratch-file-transcript-block
...
Don't display definitions in console output for `edit` (and new transcript outputs to replace it)
2024-01-09 15:39:35 -10:00
Arya Irani
da20682818
update transcript outputs again
2024-01-09 13:33:28 -10:00
Arya Irani
9833ef08b3
don't have to use /private/tmp/rewrites-tmp.u now
2024-01-09 13:27:05 -10:00
Chris Penner
662bb9f35d
Update transcripts
2024-01-09 14:38:04 -08:00
Chris Penner
09123fe8f4
Merge branch 'cp/scratch-file-transcript-block' into cp/update2-writeSource
2024-01-09 14:32:11 -08:00
Chris Penner
b5e3e1efc5
unique types are the default
2024-01-09 14:19:18 -08:00
Chris Penner
7b7c07d9a1
Merge remote-tracking branch 'origin/trunk' into cp/scratch-file-transcript-block
2024-01-09 13:55:12 -08:00
Arya Irani
fb1db18613
Merge pull request #4589 from unisonweb/24-01-05-better-suffixify
...
bugtweak: make suffixification a little worse when rendering unison files via update/upgrade
2024-01-09 11:54:14 -10:00
Chris Penner
e242968325
Merge branch 'cp/scratch-file-transcript-block' into cp/update2-writeSource
2024-01-09 13:29:32 -08:00
Chris Penner
4f062d2db6
Remove superfluous folds from transcript output
2024-01-09 13:23:35 -08:00
Chris Penner
83b5a09636
Rerun rewrites transcripts
2024-01-09 13:15:55 -08:00
Chris Penner
6669243e13
Resolve transcripts
2024-01-08 14:51:01 -08:00
Chris Penner
b1e10df0fb
Fix release draft transcripts
2024-01-08 14:46:09 -08:00
Chris Penner
8e4845298c
Slight improvement to propagate transcript
2024-01-08 14:42:09 -08:00
Chris Penner
0cce11c0d7
Update transcripts
2024-01-08 14:33:37 -08:00
Chris Penner
90d89accc8
Remove globbing
2024-01-08 14:25:57 -08:00
Chris Penner
cb0aebae9c
Update merges transcripts
2024-01-08 14:24:04 -08:00
Chris Penner
86f04f5585
update merge transcripts
2024-01-08 14:12:01 -08:00
Chris Penner
d7553c38e1
Update transcripts
2024-01-08 14:01:49 -08:00
Chris Penner
6f3bdb3ba7
Update transcripts
2024-01-08 13:58:50 -08:00
Chris Penner
f2244f612e
Fix create author transcript
2024-01-08 13:51:13 -08:00
Chris Penner
e50f57f542
Merge remote-tracking branch 'origin/trunk' into cp/remove-global-names-again
2024-01-08 13:42:00 -08:00
Chris Penner
ddd580d840
Update find transcripts
2024-01-08 12:17:35 -08:00
Chris Penner
fb6940c1c4
remove mergeio
2024-01-08 12:07:00 -08:00
Chris Penner
52c96556eb
Update transcript outputs
2024-01-08 12:03:00 -08:00
Chris Penner
22ac9fc82a
Update delete transcripts
2024-01-08 12:02:10 -08:00
Chris Penner
9416755973
Fix more transcripts
2024-01-08 11:56:31 -08:00
Chris Penner
b126844b8e
Fix which ppe we use in find
2024-01-08 11:53:31 -08:00
Chris Penner
3f8c3251cd
Update some transcripts to new global fallback
2024-01-08 11:35:37 -08:00
Chris Penner
4923abaf22
Update rewrite transcript
2024-01-08 10:51:37 -08:00
Arya Irani
3b9b813f8d
Merge pull request #4571 from unisonweb/mention-upgrade-scratch-file-name
...
feat: mention the name of the file we put failed upgrades in
2024-01-08 06:41:33 -10:00
Mitchell Rosen
89ede08e67
Revert "manual edit of mac only golden output"
...
This reverts commit b28158cf02
.
2024-01-08 11:16:09 -05:00
Mitchell Rosen
b2737a6415
update wording and transcripts
2024-01-08 10:45:18 -05:00
Arya Irani
70eee30e4a
whitespace changes in transcripts??
2024-01-05 15:34:37 -10:00
Arya Irani
951b6ae76b
fix fix2297
...
this had broken in the past when we made discarding non-Unit values explicit
and nobody noticed until now
2024-01-05 15:08:52 -10:00
Arya Irani
40ec9404b5
fix fix1696 and fix2297 transcripts
...
these had broken in the past when we made the modifier mandatory
and nobody noticed until now
2024-01-05 14:58:47 -10:00
Arya Irani
8bf585a857
update type-modifier-are-optional transcript
2024-01-05 14:56:38 -10: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
Mitchell Rosen
eb9bac5e78
run transcripts
2024-01-05 16:57:03 -05:00
Mitchell Rosen
f08c6a4758
⅄ trunk → 24-01-05-better-suffixify
2024-01-05 16:37:09 -05:00
Chris Penner
5b03808aa5
Merge branch 'cp/scratch-file-transcript-block' into cp/update2-writeSource
2024-01-05 11:14:20 -08:00
Chris Penner
785d6d0ea8
Fix ordering of captured file update commands
2024-01-05 11:11:51 -08:00
Mitchell Rosen
5fa44447d6
⅄ trunk → 24-01-05-better-suffixify
2024-01-05 12:29:54 -05:00
Travis Staton
b28158cf02
manual edit of mac only golden output
2024-01-05 12:14:27 -05:00
Mitchell Rosen
f1b0d05954
Merge commit '014b3fceb44f2a5330045f8d0da63c0385d2afdc' into 24-01-04-delete-default-metadata
...
# Conflicts:
# unison-cli/src/Unison/CommandLine/InputPatterns.hs
2024-01-05 12:08:06 -05:00
Travis Staton
639a6cece5
update transcripts
2024-01-05 11:46:39 -05:00
Travis Staton
b333a93e94
change suffixify termination condition
2024-01-05 11:33:28 -05:00
Travis Staton
3c7101c105
Add transcript demonstrating #4556
2024-01-05 11:30:14 -05:00
Chris Penner
0739178554
Rerun manual rewrite transcript
2024-01-04 15:40:35 -08:00
Chris Penner
4eafb6741a
Merge remote-tracking branch 'origin/trunk' into cp/edit-namespace
2024-01-04 15:35:58 -08:00
Chris Penner
96c9368115
Merge branch 'cp/scratch-file-transcript-block' into cp/update2-writeSource
2024-01-04 15:25:49 -08:00
Chris Penner
f930583994
Rerun round-trip transcripts
2024-01-04 15:24:13 -08:00
Chris Penner
72ebafa057
Update transcripts
2024-01-04 15:04:28 -08:00
Chris Penner
19f58795f5
Transcripts now output changes to the scratchfile
2024-01-04 14:12:15 -08:00
Chris Penner
603859f51d
Use correct articles in Selection message
2024-01-04 13:36:25 -08:00
Chris Penner
ce052742de
One last transcript re-run
2024-01-04 13:23:05 -08:00
Chris Penner
acf4598cf7
Update transcripts
2024-01-04 11:41:01 -08:00
Chris Penner
5ab4b69508
Use arg names in fuzzy selections
2024-01-04 10:58:56 -08:00
Chris Penner
fd58bf59f6
Merge branch 'cp/arg-names' into cp/fzf-better-errs-2
2024-01-04 10:35:10 -08:00
andrii
59505cc491
Merge remote-tracking branch 'origin/trunk' into unorsk/unique-as-default-type-modifier
2024-01-04 10:17:41 +01: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
Arya Irani
5b8ce7a25e
Merge pull request #4519 from unisonweb/cp/fzf-args
...
FZF on argument types
2024-01-03 15:14:41 -10:00
Chris Penner
b7df4c4534
Update transcript
2024-01-03 16:42:19 -08:00
Chris Penner
d4c8715b9b
Update transcripts from trunk
2024-01-03 16:29:06 -08:00
Chris Penner
a093d5be41
Improve error messages on un-resolvable fuzzy command invocations
2024-01-03 16:28:10 -08:00
Mitchell Rosen
d95184dd4d
update fix4482 transcript
2024-01-03 19:20:19 -05:00
Arya Irani
3f98844277
merged trunk
2024-01-03 14:18:24 -10:00
Mitchell Rosen
d3f69389d5
mention the name of the file we put failed upgrades in
2024-01-03 18:52:12 -05:00
Chris Penner
83a1698164
Merge remote-tracking branch 'origin/trunk' into cp/fzf-args
2024-01-03 15:08:17 -08:00
Mitchell Rosen
d9246002cc
dont use NamesWithHistory
2024-01-03 17:27:14 -05:00
Mitchell Rosen
5493cb05c4
fix transcript
2024-01-03 15:36:39 -05:00
Mitchell Rosen
7e49e8296f
Fix bug in addDefinitionsToUnisonFile that erroneously stripped decl names from constructors
2024-01-03 14:00:48 -05:00
Chris Penner
32c57c6b2e
Re-update transcripts from trunk
2024-01-02 12:19:09 -08:00
Chris Penner
253d690da1
Merge remote-tracking branch 'origin/trunk' into cp/writeSource
2024-01-02 12:04:53 -08:00
Chris Penner
dfbd39bf76
Don't pull base in transcripts
2024-01-02 11:35:02 -08:00
Chris Penner
d8b7277dc4
Add transcripts for edit command
2023-12-22 13:19:44 -06:00
andrii
493dd6874f
fix transcript + rename ReloadingFile to LoadingFile
2023-12-22 14:08:37 +01:00
andrii
8b857b152c
Adding a message for when ucm started reloading changes
2023-12-22 12:55:24 +01:00
Arya Irani
5e98e805af
Merge pull request #4505 from unisonweb/tweak-branch-exists-error-message
...
fix "branch already exists" error message to show project, too
2023-12-20 14:03:20 -10:00
Mitchell Rosen
3e86091901
bugfix: make run
able to run things that don't return builtins
2023-12-20 12:37:17 -05:00
Chris Penner
0686eb864a
Add debug.fuzzy-options for debugging fuzzy completions
2023-12-19 12:57:27 -06:00
Mitchell Rosen
b7da721144
update transcript
2023-12-15 13:02:49 -05:00
Chris Penner
961de6ed8b
Add project tab-completion transcripts
2023-12-14 15:06:35 -08:00
dolio
251a2f0f4b
Merge pull request #4511 from unisonweb/topic/scheme-standalone
...
Partial implementation for native execution/compilation via a standalone executable
2023-12-14 16:39:46 -05:00
Arya Irani
3d57a2dbde
Merge pull request #4509 from unisonweb/23-12-13-namespace-dependencies-is-slow
2023-12-14 10:41:32 -10:00
Dan Doel
d1494a160d
Tweak the sandbox test for jit/interpreter comparison
...
For some reason, the new implementation doesn't think the existing code
should have been sandboxed for the derivations of `open`. After
considerable debugging, this seems to be due to the line:
_ = FilePath.open
being completely floated out of the combinator before the code is sent
to the native evaluator. So in fact the sandboxing code there is
correct, the function does _not_ need to be sandboxed. However, I'm
uncertain why this discrepancy exists between the native and interpreted
paths. It is completely dead code, though, so I've modified the example
to not be dead.
2023-12-14 14:32:49 -05:00
Chris Penner
9a7dafc7a6
Remove '{Exception} from io tests.
2023-12-14 10:20:34 -08:00
Mitchell Rosen
5e677a3e6a
make namespace.dependencies
ignore external dependencies of things in lib
2023-12-14 11:55:07 -05:00
Chris Penner
44ee3d604f
Merge remote-tracking branch 'origin/trunk' into cp/io-test
2023-12-13 13:09:40 -08:00
Chris Penner
74fe3aa441
Add cache test to test transcript
2023-12-13 12:36:34 -08:00
Chris Penner
a8e6ac3e63
Update test-command transcripts
2023-12-13 12:35:04 -08:00
Chris Penner
fc89e1498a
Add io-test transcript
2023-12-13 12:30:29 -08:00
Chris Penner
fde4cb91f6
Update transcripts
2023-12-13 12:22:11 -08:00
Arya Irani
309517c5f0
Merge pull request #4503 from unisonweb/fix/4491
2023-12-13 05:11:47 -10:00
Arya Irani
a62aece026
update message again
2023-12-12 22:47:17 -10:00
Arya Irani
84ace9d57e
update message again
2023-12-12 20:39:46 -10:00
Arya Irani
5b5d2c666f
update UpdateIncompleteConstructorSet message
...
closes #4491
2023-12-12 20:04:54 -10:00
Arya Irani
37ca00c65e
Merge pull request #4502 from unisonweb/travis/tdnr-bug
2023-12-12 19:41:19 -10:00
Travis Staton
6f21d2a9be
prefer shallow lib dep in tdnr
2023-12-12 20:42:53 -05:00
Travis Staton
512b935913
demonstrate bug
2023-12-12 20:36:02 -05:00
Arya Irani
063bade6c1
Merge pull request #4485 from unisonweb/cp/exact-term-search
...
Unison Local - Search for docs by exact name, not suffix
2023-12-12 05:30:20 -10:00
Travis Staton
a9e3fc84f6
expect error
2023-12-08 15:19:57 -05:00
Travis Staton
7dbb7c9b6c
include dependents of refs in old dep's closure that aren't in the codebase without old dep
2023-12-08 14:56:03 -05:00
Chris Penner
e9e75328b3
Update transcripts
2023-12-07 15:18:55 -08:00
mergify[bot]
5eadbc6a40
Merge pull request #4481 from unisonweb/cp/minimal-local-name-disambiguation
...
Use minimal suffix that's distinct from local var names
2023-12-06 21:16:17 +00:00
Arya Irani
2554712a78
Merge pull request #4477 from unisonweb/travis/move-all
2023-12-06 11:03:39 -10:00
Chris Penner
0327727002
Update transcripts
2023-12-06 12:48:20 -08:00
Mitchell Rosen
aa0ef5eee2
tweak transcript
2023-12-06 12:20:01 -05:00
Travis Staton
9bcca3506a
transcript update
2023-12-06 10:33:39 -05:00
Travis Staton
cbc9d9a6e2
functional moveAll
2023-12-06 09:09:18 -05:00
Mitchell Rosen
2d082f87ed
add a transcript and some comments
2023-12-05 17:11:26 -05:00
mergify[bot]
95eabced39
Merge pull request #4458 from unisonweb/fix/4384
...
Allow layout blocks within Doc transclusion
2023-12-01 17:00:50 +00:00
Paul Chiusano
42976e83c8
fix #4384 and add regression tests
2023-12-01 10:17:07 -06:00
Arya Irani
d611f8f525
Merge pull request #4452 from unisonweb/captureAs
2023-12-01 08:58:43 -05:00
Arya Irani
3345055d0b
Merge pull request #4454 from unisonweb/23-11-30-fix-watch-update-bug
2023-11-30 17:27:19 -05:00
Mitchell Rosen
97fe419b65
fix bug in update that tried to put non-test watches into the namespace
2023-11-30 16:18:07 -05:00
Dan Doel
cc7367a84a
Implement captureAs for racket
2023-11-30 15:36:25 -05:00
Dan Doel
80c44ed5a1
Merge branch 'trunk' into captureAs
2023-11-30 13:40:57 -05:00
Arya Irani
1bd0d0f292
update transcripts due to out-of-order merges
2023-11-30 10:55:52 -05:00
Arya Irani
77c642c735
Merge pull request #4447 from ceedubs/sticky-unique
2023-11-29 16:59:16 -05:00
Cody Allen
599200ab44
Unique type churn transcript: add case of revert
...
The unique type churn transcript now captures that if you revert a type
back to its original form (while keeping the same name), you'll end up
with the original hash again.
This behavior surprised me, but I can't see a reason it's bad, and it
might occasionally be useful. If nothing else we should capture the
current behavior so it doesn't change unintentionally.
2023-11-29 15:29:32 -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
4ffbc7ee69
Merge pull request #4437 from unisonweb/travis/4424
2023-11-28 16:18:40 -05:00
Travis Staton
f38523b367
Don't use addFallback in update
...
fixes #4424
2023-11-28 14:22:56 -05:00
Travis Staton
1956322a9f
add transcript demonstrating 4424
2023-11-28 13:53:18 -05:00
Arya Irani
ccdcb8b26c
Merge pull request #4428 from unisonweb/topic/test2
2023-11-28 09:25:07 -05:00
Arya Irani
5c5f8f5ce8
fixed signed int issue
...
and tweaked output message
2023-11-27 22:12:03 -05:00
Arya Irani
b14ec99838
transcript showing test without metadata
2023-11-25 13:43:17 -05:00
Arya Irani
5bc33247ee
initial failing transcript
2023-11-22 16:33:31 -05:00
Travis Staton
1facd86d04
remove load command from transcript
2023-11-22 12:11:44 -05:00
Travis Staton
b07fbab903
fixes #4415
2023-11-22 11:49:52 -05:00
Travis Staton
8c92aa4f7a
add transcript demonstrating 4415
2023-11-22 11:46:28 -05:00
Arya Irani
fabba1bef6
why do the transcripts' white space change?
2023-11-21 21:52:57 -05:00
Arya Irani
c4db4bd176
more transcripts
2023-11-21 21:35:59 -05:00
Arya Irani
2cdbf5a895
revert changes to rewrites.md
2023-11-21 21:19:20 -05:00
Arya Irani
061716067f
update transcript outputs
2023-11-21 21:17:08 -05:00
Arya Irani
dde858e264
add test rewrites, and skip the cleanup of rewrites-tmp.u, to help debugging.
...
we could alternatively move the creation and cleanup back into the Unison code,
conditional on an environment variable we set to suppress cleanup.
2023-11-21 12:19:23 -05:00
Arya Irani
5604a48cea
Add two transcripts
...
a failing transcript `add-test-watch-roundtrip`
and an ok-looking transcript for `update-test-watch-roundtrip`; though noting that the test gains a type signature.
2023-11-21 09:44:33 -05:00
Travis Staton
545fb19261
Modify kind inference constraint generation order
...
add all decl constraints in component before any constructor constraints
2023-11-17 16:37:13 -05:00
Travis Staton
30384f1468
add transcript demonstrating issue #4397
2023-11-17 16:32:40 -05:00
Arya Irani
a5a9c0a469
Merge remote-tracking branch 'origin/trunk' into fix/no-crash-findCtorNames
...
# Conflicts:
# unison-cli/src/Unison/Codebase/Editor/HandleInput/Update2.hs
# unison-cli/src/Unison/Codebase/Editor/Output.hs
# unison-cli/src/Unison/CommandLine/OutputMessages.hs
2023-11-14 12:45:54 -05:00
Arya Irani
354a893977
make findCtorNames return an Output instead of error
...
and thread that through everywhere
2023-11-14 12:21:40 -05:00
Arya Irani
a0c72ca352
Merge branch 'trunk' into fix/update-messages
...
# Conflicts:
# unison-cli/src/Unison/Codebase/Editor/HandleInput/Update2.hs
# unison-cli/src/Unison/CommandLine/OutputMessages.hs
2023-11-14 10:52:38 -05:00
Arya Irani
b39ad780a5
print better update info messages
2023-11-13 22:36:03 -05:00
Mitchell Rosen
3a93985ca4
add some upgrade docs, transcripts, and better output messages
2023-11-13 15:23:57 -05:00
Paul Chiusano
def23e0c2f
Merge pull request #4374 from unisonweb/topic/update
2023-11-09 08:33:01 -06:00
Arya Irani
1005659f8a
fix add field to record
2023-11-08 23:54:01 -05:00
Arya Irani
8722aa86b6
printing the record correctly causes a failure due to duplicate accessors, until the duplicates can be suppressed
2023-11-08 16:40:42 -05:00
Arya Irani
01f0be572a
two compilation fixes and some whitespaces
2023-11-08 13:18:14 -05:00
Arya Irani
661aefb267
Merge branch 'topic/update' of github.com:unisonweb/unison into topic/update
2023-11-08 12:25:45 -05:00
Arya Irani
95998e9041
failing transcript for delete record field
2023-11-08 12:25:36 -05:00
Travis Staton
fcf98da49d
don't indicate that we will update aliases
2023-11-08 12:11:16 -05:00
Travis Staton
ab072c7960
fix transcripts
2023-11-08 11:54:50 -05:00
Mitchell Rosen
fbfe159e08
add a couple more update type transcripts that show bugs
2023-11-08 10:15:05 -05:00
Mitchell Rosen
4648df3c94
more type update transcripts
2023-11-08 09:33:42 -05:00
Mitchell Rosen
a2103be252
add some update type transcripts
2023-11-08 09:16:19 -05:00
Mitchell Rosen
17e4e5f584
tweak update
behavior when run from a transcript: now it will output
...
the text of the unison file normally (to be captured in the transcript
output), rather than prepended to scratch.u
2023-11-07 17:55:38 -05:00
Mitchell Rosen
3677c00aa4
add some update term transcripts
2023-11-07 13:46:14 -05:00
Paul Chiusano
22c0d97ffe
Merge pull request #4371 from unisonweb/topic/scheme-optimization
...
Scheme builtin optimization and associated tweaks
2023-11-07 10:33:08 -06:00
Dan Doel
8b3ca4f57d
Add some basic murmur hash tests
2023-11-06 15:47:49 -05:00
Paul Chiusano
4a434580d9
add another regression test
2023-11-04 21:31:49 -05:00
Paul Chiusano
70855968a3
fix parser issue reported by @stew
2023-11-04 21:27:40 -05:00
Paul Chiusano
5648a1c99d
tweaks to fix weirdness where foo x () y
would render as (foo x ()) y
2023-11-04 12:58:13 -05:00
Paul Chiusano
20bcebf093
Move !
treatment to specialCases
2023-11-04 12:53:21 -05:00
Paul Chiusano
a428b41f52
fix #4340
2023-11-04 11:17:39 -05:00
Paul Chiusano
6559d2fafd
failing regression test for #4340
2023-11-04 11:08:01 -05:00
Paul Chiusano
d5e29e61b8
fix issue with use
clause insertion
2023-11-04 10:09:49 -05:00
Paul Chiusano
6d704104a5
fix #4352 and add regression test
2023-11-04 09:27:25 -05:00
Arya Irani
ddf15e39b3
Merge pull request #4359 from unisonweb/travis/delay-kind-defaulting
2023-11-01 05:53:38 -07:00
Travis Staton
d54f360348
add output
2023-10-31 20:37:01 -04:00
Travis Staton
48fe69102f
fix kind inference context bug
...
fixes #4354 , #4362
2023-10-31 16:09:41 -04:00
Travis Staton
7dd7f72df7
add comment
2023-10-30 09:56:05 -04:00
Travis Staton
ad92a7593b
mark delayed kind defaulting example as not an error
2023-10-30 09:51:55 -04:00
Travis Staton
cd37539156
Default unconstrained kind vars after processing all components
2023-10-27 10:38:22 -04:00
Travis Staton
2c10336c18
demonstrate kind defaulting
2023-10-27 10:37:08 -04:00
Dan Doel
a9e06d42cc
Tweak sandbox tests
...
Add some cases that actually fail if statically generated sandboxing
information isn't produced.
2023-10-25 17:06:03 -04:00
Dan Doel
05bd1f928a
Fix unsafe deserial test case check
...
Was wrapping in value too many times, which makes things safe.
2023-10-25 11:23:48 -04:00
Dan Doel
3d5e688466
Add a new serialized test case
...
Contains a serialized, mutually recursive function that won't be
recognized as unsafe unless the sandboxing information is expanded
correctly.
2023-10-25 11:19:10 -04:00
Dan Doel
ed45bc87b6
Add alias for Value.validateSandboxed to jit tests
2023-10-24 10:52:36 -04:00
Dan Doel
66c19bc307
Fix interpreter tests
...
- Value.validateSandboxed wasn't being aliased there
- The sandbox check in the interpreter wasn't handling builtin
dependencies correctly
2023-10-24 10:48:40 -04:00
Dan Doel
976764f082
Fix some type mismatches in primops
...
Lists vs. chunked lists, byte strings vs. typelinks, etc.
2023-10-24 10:26:29 -04:00
Dan Doel
b857281dc8
Update transcripts for new builtins
2023-10-23 13:54:28 -04:00
Dan Doel
72841d1264
Implement sandboxing functions in scheme
...
- Creates a map storing associations of termlinks with sensitive ops
- Procedures for dynamically expanding the map, and declaring
associations statically
- Structural termlink equality and hashing has been added to the struct,
because otherwise looking up associated links was failing.
- Declarations for all the sensitive builtins have been included
statically in the sandbox implementation file
* Generated code will use a direct declaration of all builtins
transitively used, since we can look that up at code generation time
- Both sandbox validation functions have been provided, but the one for
arbitrary values is incomplete.
- Sandboxing has been added to the jit test suite.
2023-10-23 13:49:13 -04:00
Dan Doel
37b3489c0f
Add some new builtins for accessing sandbox information
...
- `Value.validateSandboxed` checks an interchange value for sandboxing
before it is decoded. It either returns a list of dependencies the
runtime doesn't know about yet, or a list of disallowed builtins, both
as lists of termlinks
- `sandboxLinks` returns the list of sandboxed builtins transitively
referenced by the code associated to a given termlink
2023-10-23 12:45:02 -04:00
sixfourtwelve
ab1a39e613
update query args and push up transcript output
2023-10-10 07:19:09 +01:00
sixfourtwelve
f4f9670fbc
change subcommand
2023-10-09 21:04:55 +01:00
sixfourtwelve
54e9056d3e
quick fix for delete.type #4315 for next steps
2023-10-09 20:59:01 +01:00
Paul Chiusano
f15816cb34
Merge pull request #4339 from unisonweb/topic/scheme-code-lookup
...
Various changes related to code lookup
2023-10-05 16:22:16 -05:00
Dan Doel
87692f5264
Forgot code-lookup in interpreter-tests.md
2023-10-05 16:28:42 -04:00
Dan Doel
0fa3045371
Add tests for static code lookup
...
Includes an implementation of Link.Term.toText
2023-10-05 15:35:33 -04:00
Dan Doel
7c694ca5f3
Add a code lookup check to the serial tests
...
- Makes sure the code that is added to the cache as part of the test can
be looked back up, and is equal to what was added to the cache.
2023-10-04 23:24:23 -04:00
Travis Staton
4c096fb067
Merge pull request #4331 from unisonweb/travis/kind-inference
...
Add kind inference
2023-10-04 14:07:38 -04:00
Travis Staton
21942371f0
Rename kinds: Star -> Type, Effect -> Ability
2023-10-04 12:47:42 -04:00
Dan Doel
202de6ce1e
Add emoji to decompile messages
2023-09-29 14:38:56 -04:00
Dan Doel
5d8a5aa60f
Add a test case for failed decompiling
2023-09-29 14:29:48 -04:00
Travis Staton
1b7865a3fa
error message improvements
2023-09-21 13:49:30 -04:00
Travis Staton
eb45478c8d
add kind-inference transcript
2023-09-20 15:43:17 -04:00
Travis Staton
591d210bdd
make keyword-identifiers pass with kind inference
...
Lower-cased abilities generate broken constructors. For example:
```
unique ability foo where bar : ()
```
generates the following type for bar:
```
forall foo. {foo} ()
```
where
```
{foo} ()
```
is expected.
This breaks kind inference which expects ability constructors to
return the declared effect.
Once this lower-cased abilities are fixed then this commit can be
reverted.
2023-09-20 15:37:10 -04:00
Travis Staton
03062e5e48
fix higher-rank test
...
Add t to constructor to avoid kind defaulting
2023-09-20 15:37:10 -04:00