* Convert doctest over to using script.
Prim tests not working
* Add no-source flag to doctest so we can still run stdlib
* Fix damlDocTestntegration
* Add various comments, fix up flags
* Remove Scenarios from Incremental builds
* Remove scenarios from Data deps
* Fix IncrementalBuilds for different release version
* Drop warning flag
* Small fixes
* Small refactor
* Extract cmdUseDamlYamlArgs
* Use cliArgsFromDamlYaml only for cmdUseDamlYamlArgs
* Add Init to cmdUseDamlYamlArgs
* Add DocTest and Lint to cmdUseDamlYamlArgs
* Drop unused CommandName constructors
* cmdUseDamlYamlArgs is now a function
* WIP Implement integration script test support
* Add ghc_pkg
* Get scripts to run in integration tests!
Add expected error to new test
* Slight refactor
* First batch of test changes
* Update a few more tests
* Automated: Add imports, rename script and party
* Add Cmd postfixes
* Further changes including archiveCmd, error/warning locations, test specific behaviour
* Convert next batch of tests over
* More test updates
* All integration tests passing
* Update desugar files
* Handle some TODOs
* Bring back script integration, this time tested for different SDK versions
* Small fixes
* Revert broken test to scenario
* Create failing test that covers behaviour
* Add Daml.Script to daml-docs tests
* Shift dependency installation to start of suite for performance
* Only pipe scriptPackageData to golden tests
* Update daml doc expected files
* Update ContractKeyNotEffective to do fetch in contract
* Minor fixes
* Fix 1.15 test
* Test modifications from comments
* Update desugar files
* Fix Examples file for determinism and memory-examples tests
* Final test tweaks
* Drop old TODO
* Fix list test not running
* Update desugar
* Add errors for self, this, and arg. Add many tests
* All WarnUnsupportDamlNames flag, warn for non breaking names, update tests
* Rename flag, update test
* Update to merged ghc version, changelog
* Add `daml ide` flag --studio-auto-run-all-scenarios to automatically run scenarios in studio
* Control via dedicated Daml extension settings attribute, `Autorun All Tests`
* Point to updated revision
* Fix test failures due to expectations for unformatted errors
* Fix pretty printer for EForbiddenNameCollision, amend test
* Bring back script integration, this time tested for different SDK versions
* Create failing test that covers behaviour
* Add Daml.Script to daml-docs tests
* Shift dependency installation to start of suite for performance
* Only pipe scriptPackageData to golden tests
* PoC: Add live script runner with intermediate live messages
* Unify live and non-live scenario service script runners
* Add live scenarios
* Clean up runLiveScenario
* dedupe runLiveScenario/runLiveScript
* return to onComplete mode
* Send status update every second
* Send progress events with milliseconds passed instead
* Fix runLiveScript -> runLiveScenario
* Show milliseconds passed in scenarios
* Sleep a random amount 300;600 ms
* Try to prevent older status updates from overwriting newer ones
* lint
* wrap errors appropriately
* Remove wrong secondary webview update
* Define variants inside companion object
* use abstract class instead of trait
* lint
This PR make several (small) changes on how the disclosed contract are
handle by the speedy machine.
(1) disclosed contract at not anymore pass a builtin time. They were
any pass latter using `SBCacheDisclosedContract`.
(2) disclosed contracts are first keep in their own cache,
disclosedContracts: Map[V.ContractId, CachedContract]. They are moved
to the cached for used contract only if used. In fact we need to be
sure the used disclosed contracts pass through the
Speedy#addGlobalContract to verify the transaction limits are not
overpassed.
* WIP Implement integration script test support
* Add ghc_pkg
* Get scripts to run in integration tests!
Add expected error to new test
* Slight refactor
* Add signatory labels to create and fetch in tree view
* Switch node printing in scala and expected ledger files
* Update docs/images
* Update party formatting to use `x, y and z` and correct verb tense
* Update scala to match haskell, update tests and docs (except images)
* Cleanup code from suggestions
* Fix misformatting, refactor
* Update protobuf to include sourceloc for implements and coimplements
Relevant haskell changes
* Update error ranges in tests
* Extract source locations from various template/interface parts
* Improve ExprSource extraction
* Move location from instance head to template/interface parts
Add location to instance print