Commit Graph

177 Commits

Author SHA1 Message Date
Arya Irani
0432f39b7f add builtins.mergeio example to the emptyCodebase.md transcript test 2020-04-09 17:52:04 -04:00
Arya Irani
6b2e2c376d Merge branch 'master' into topic/merge-builtins-on-merge-builtins
# Conflicts:
#	parser-typechecker/src/Unison/Codebase/FileCodebase.hs
2020-04-09 17:42:56 -04:00
mergify[bot]
b876c9e788
Merge pull request #1407 from pete-ts/transcript-for-metadata-ambiguous
Add a transcript testing the ambiguous metadata error
2020-04-09 00:11:02 +00:00
Arya Irani
ca76d3686b delay serializing IOSource definitions to codebase until builtins.merge
and actually not until `builtins.mergeio`.

I would have liked to delay typechecking in IOSource.hs altogether, but
it being forced somewhere that was not immediately obvious to me.

This shouldn't impact anyone who already has `.base` or some other copy
of the io primitives, and the upshot is saving some time on transcripts.

`builtins.merge` will give you everything that's in `Unison.Builtin` and
`Unison.Builtin.Decls`, `builtins.mergeio` will give you those plus the
stuff in `Unison.Runtime.IOSource`.
2020-04-08 19:34:43 -04:00
mergify[bot]
ddadb6c0c4
Merge pull request #1405 from noahhaasis/issue-1402
Fix #1402: Only display watch message if there're watch expressions
2020-04-08 18:31:56 +00:00
Arya Irani
81b6679bf3 update transcripts 2020-04-08 14:25:19 -04:00
mergify[bot]
f496288c93
Merge pull request #1345 from pete-ts/fix-1295-c
Failing transcripts should always show the failing stanza
2020-04-08 17:03:33 +00:00
mergify[bot]
e7fd115eeb
Merge pull request #1401 from unisonweb/topic/dependents-dependencies-debug.file
implement `dependents <x>`, `dependencies <x>`, and `debug.file`
2020-04-08 00:27:30 +00:00
Arya Irani
8438c3a7d8 add column headings and transcript for dependents/dependencies 2020-04-07 20:21:33 -04:00
pete-ts
0daeea86d4 Adds a transcript testing the ambiguous metadata error 2020-04-07 22:03:09 +01:00
Arya Irani
5bfe950850 hide some transcript output 2020-04-03 20:57:10 -04:00
Arya Irani
b73b2c8fa2 implemented create.author command
closes #1392
2020-04-03 20:49:07 -04:00
pete-ts
b537682842 updates unexpected error ucm blocks, to select a command that is not a failure 2020-03-24 18:17:48 +00:00
Arya Irani
8863c6a0ef add failing transcript 2020-03-23 19:09:01 -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
mergify[bot]
ac9b5dcd10
Merge pull request #1368 from unisonweb/fix/1356
Make `link`, `unlink`, and `diff.namespace` work with unnamed metadata (fix for #1356)
2020-03-20 22:53:01 +00:00
Paul Chiusano
6c0dc0d188 Merge remote-tracking branch 'origin/master' into fix/view-suffixified
# Conflicts:
#	parser-typechecker/src/Unison/Codebase/Editor/HandleInput.hs
#	parser-typechecker/src/Unison/CommandLine/InputPatterns.hs
2020-03-20 18:16:25 -04:00
Paul Chiusano
95b8517bb1 display gets same treatment 2020-03-19 14:30:30 -04:00
Paul Chiusano
781b2ad5d7 Fix #1241 2020-03-19 14:18:56 -04: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
Paul Chiusano
083ed75f3e Metadata display in BranchDiff now uses HashQualified rather than HashQualified'. 2020-03-18 21:56:02 -04:00
Paul Chiusano
ec1a60b83c Transcript refresh 2020-03-18 14:39:24 -04:00
Paul Chiusano
e7c89749b9 Fixed issue with Metadata.delete, transcript now passes!
Issue was that it was unilaterally deleting the D2 dimension for whatever type was being unlinked (this is the dimension that supports efficient lookup by metadata type - "find me all the docs"). Correct behavior is to only delete from this dimension when there are no more metadata values for a metadata type - for instance, if you delete the last `Doc`, you can delete the index that lets you find all the docs.
2020-03-18 14:23:38 -04:00
Runar Bjarnason
4601e293a7 Added transcript 2020-03-13 22:54:31 -04:00
Paul Chiusano
57e14ee3f7 Removed all but one calls to fromJust and added failing transcript 2020-03-13 17:05:48 -04:00
pete-ts
414f4c0128 updates the error not found message 2020-03-12 21:24:58 +00:00
Paul Chiusano
c91a9a7d7f
Merge pull request #1334 from unisonweb/topic/alias-hashonly
supporting hashes in `alias`; and names and builtins in `replace`
2020-03-12 09:38:56 -04:00
pete-ts
4d2d044892 adds the outputs of the failing transcripts 2020-03-12 10:13:47 +00:00
pete-ts
94cf0bd591 adds ucm and unison transcripts that fail with unexpected error or unexpected success 2020-03-12 10:10:20 +00: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
Paul Chiusano
59e55f0337 Fix #1225
Uses a post-order traversal of the branch, rebuilding from the bottom up and visiting each node exactly once.
2020-03-09 22:27:01 -04:00
Runar Bjarnason
64848d5d4e Don't show the name of the term 2020-03-06 10:59:13 -05:00
Rúnar
b5cae909fc
Fix #1276 hang on push (#1279)
* Fix a bug that causes loops in Causal.
* Ignore loops in Causal when calling sync.
* Fix warnings in Causal test.
* Added a regression test transcript.
2020-03-02 17:32:07 -05:00
Arya Irani
a252a6eafc add transcripts 2020-03-02 20:12:12 +01:00
Arya Irani
0af4df95b8 add transcripts 2020-03-02 18:50:49 +01:00
Arya Irani
f708f29e33
allow add/update to create aliases (#1254) 2020-02-25 16:15:36 -05:00
Paul Chiusano
5b55275701
Merge pull request #1270 from anovstrup/topic/more-match-handle-strays
fix more stray instances of `case .. of` and `handle .. in` in unison-src
2020-02-25 13:45:31 -05:00
Aaron Novstrup
3504d2b091 fix whitespace (?!?) 2020-02-24 15:40:54 -08:00
Dan Doel
d18509dc2a Explain purpose of error cases in merge.md 2020-02-24 16:19:29 -05:00
Aaron Novstrup
5a841f30f5 fix stray case .. of instances and opportunities for cases in unison-src 2020-02-21 17:05:18 -08:00
Paul Chiusano
4d276bb6fc refresh transcript output 2020-02-20 09:17:10 -05:00
Dan Doel
2b16e376a4 Renamed merge test case transcript to merge.md 2020-02-19 17:18:26 -05:00
Dan Doel
c35ff8f33d Made the fix1250 transcript into a test case
- Tests the cases of the merge behavior we have thought of as
  specific cases that need to be covered.
2020-02-19 17:01:45 -05:00
Paul Chiusano
cc57513fd1 added failing transcript 2020-02-18 14:05:55 -05:00
Arya Irani
396a20a243
Merge pull request #1236 from unisonweb/topic/alias.many
implement `alias.many`
2020-02-18 10:43:21 -05:00
Arya Irani
2e887276b9 remove custom unique type guids from transcripts 2020-02-16 23:56:29 -05:00
Arya Irani
dc09964f7f fix case/of syntax in transcript to match/with per master 2020-02-14 10:18:57 -05:00