Commit Graph

12074 Commits

Author SHA1 Message Date
azure-pipelines[bot]
587d2f5509
update NOTICES file (#17331)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-28 11:39:35 +02:00
azure-pipelines[bot]
88c09379f7
bump canton to 2.8.0-snapshot.20230825.11064.0.va1489b9c (#17326)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-28 08:47:41 +02:00
Samuel Williams
1a771dcb13
Refactor daml-script cli interface to be unified (#17215)
* Refactor daml-script cli interface to be unified

* Add --upload-dar flag.

* Fix tests with new uploadDar flag

* Initial daml-script binary testing

* Tests for argument passing and failure behaviour

* add participant config and ide tests

* Add windows support to tests

* Fix missing tls error assertion

* Update changelogs
2023-08-24 15:58:32 +01:00
azure-pipelines[bot]
269a328fd8
update NOTICES file (#17320)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-24 13:51:59 +00:00
Carl Pulley
13e20da136
Update daml with Canton snapshot and merge (#17300)
* Update daml with Canton snapshot and merge

* Sadly, not the release I'm after! Still waiting for 2.8.0-snapshot.20230822.12060.0.v9179b2e7

* Canton version bump
2023-08-24 11:52:21 +02:00
Samuel Williams
6146149a22
Expose daml3-script to sdk (#17291)
* Expose daml3-script to sdk

* Add warning to daml3-script
2023-08-24 10:42:47 +01:00
Gary Verhaegen
4b8e9367bb
release 2.7.1, daml side (#17314) 2023-08-23 23:58:17 +02:00
Moisés Ackerman
3e893a0d9f
Remove daml-ghcide submodule accidentally checked-in by #17299 (#17316) 2023-08-23 16:22:24 +00:00
Moisés Ackerman
9e4a986ce7
template-let deprecation changelog entry (#17305)
* add version sections in UNRELEASED.md

* Add changelog entry for template-let deprecation
2023-08-23 18:08:09 +02:00
azure-pipelines[bot]
02a0f626bc
update NOTICES file (#17311)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-23 16:28:00 +02:00
azure-pipelines[bot]
1b14fa70c5
bump canton to 2.8.0-snapshot.20230822.11043.0.v664f3341 (#17310)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-23 15:31:08 +02:00
azure-pipelines[bot]
810e0c6e74
rotate release duty after 2023-08-23 (#17309) 2023-08-23 11:54:48 +01:00
Remy
0a1777c491
Revert bouncy castle fix, included in #17236. (#17295)
This partially reverts commit 2f4b494fa5.
2023-08-23 10:54:29 +02:00
Gary Verhaegen
2190f37882
2.7.1-rc2 (#17308) 2023-08-23 10:37:03 +02:00
Samuel Williams
9179b2e7d0
Jar licensing (#17299)
* Add _distribute.jar target with correct license
Use it everywhere

* Fixes from review

* Change NOTICES to NOTICES.txt for consistency
2023-08-22 15:56:29 +01:00
azure-pipelines[bot]
73c4f71d8c
update NOTICES file (#17304)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-22 14:51:02 +00:00
Gary Verhaegen
e5aefbd2cc
rotation adjustment (#17302) 2023-08-22 14:15:49 +00:00
azure-pipelines[bot]
c91175a255
bump canton to 2.8.0-snapshot.20230821.11037.0.v82502670 (#17294)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-22 15:27:05 +02:00
Remy
755ea16def
[ScenarioService] log errors more nicely (#17292) 2023-08-22 09:59:24 +00:00
Carl Pulley
195795537d
interpretation Error ValueNesting should not be in Dev (#17241) 2023-08-22 09:01:30 +01:00
Carl Pulley
9f9ecb2094
Trigger simulation use case: Contention (#17024) 2023-08-21 16:32:14 +00:00
Paul Brauner
e1fef18e56
Limit right-to-left integration tests to script v2 (#17286) 2023-08-21 15:52:49 +00:00
Carl Pulley
0ee7aca07c
Trigger simulation use case: ACS growth (#17023) 2023-08-21 14:27:09 +00:00
azure-pipelines[bot]
912338029c
update NOTICES file (#17290)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-21 11:27:10 +02:00
azure-pipelines[bot]
bdf264bea4
bump canton to 2.8.0-snapshot.20230818.11028.0.ve8bd7201 (#17288)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-21 11:26:32 +02:00
Moisés Ackerman
ab038ab078
Add warning for uses of 'template-let' syntax (#17266)
* Update GHC_REV

* Add daml-test-files for template-let warning and its toggle

* Adapt daml-test-files to template-let warning

* update *.desugared-daml golden files

* Adapt //daml-lf/tests to template-let warning

* Adapt //test-common to template-let warning

* Update //compiler/damlc/tests:daml-doc golden output

* Adapt //docs to template-let warning

* Update GHC_REV
2023-08-18 15:14:46 +00:00
Gary Verhaegen
ff96bbd52e
2.7.1-rc1 (#17259) 2023-08-18 13:32:35 +02:00
azure-pipelines[bot]
8049671a36
bump canton to 2.8.0-snapshot.20230817.11017.0.v3aad1768 (#17284)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-18 13:29:08 +02:00
Gary Verhaegen
444266edb2
release.sh: add rc, remove new (#17280)
The goal of this change is to make it possible to do explicit "rc"
releases from the daml repo. We've had a good run at the old way of
working, where RCs were supposed to be "whatever the latest snapshot is
at the time of release", but since we've moved away from time-based
releases that attitude has become less and less in line with reality.

And if we're deliberately creating RCs now, why not call them that?
2023-08-17 11:43:06 +00:00
azure-pipelines[bot]
7cda609370
bump canton to 2.8.0-snapshot.20230816.11007.0.ve601b096 (#17279)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-17 11:09:48 +00:00
azure-pipelines[bot]
16728b65c4
rotate release duty after 2023-08-16 (#17272)
@paulbrauner-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-16 11:55:30 +02:00
azure-pipelines[bot]
7bdcba4a22
bump canton to 2.8.0-snapshot.20230815.10998.0.v6fb7b89a (#17273)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-16 08:24:30 +00:00
azure-pipelines[bot]
9c3040082c
update compat versions (2023-08-15) (#17269)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-16 09:49:32 +02:00
Paul Brauner
923bd500e4
Test both evaluation orders in daml script tests. (#17271)
PR #17253 introduces a right-to-left evaluation order behind an interpreter feature flag. It also modifies every scala test that uses the interpreter to test both evaluation orders and documents any divergence as a new test case.

In this commit we do the same for Daml script tests (compiler/damlc/tests/daml-test-files/...). We introduce a new file annotation for Daml script tests: @EVALUATION-ORDER (LeftToRight|RightToLeft). A test that uses this annotation will be ignored when run with an evaluation order that differs from the specified one. The BUILD file is modified to run every test twice: once in left-to-right order, and once in right-to-left order.

The only test for which the evaluation orders disagree is SemanticsEvalOrder.daml. So we mark it as left-to-right only, and we introduce SemanticsEvalOrderRightToLeft.daml, which is right-to-left only and documents the new behavior. All the other existing tests are run using both modes and do not diverge.
2023-08-15 20:55:33 +02:00
azure-pipelines[bot]
5296a6704f
bump canton to 2.8.0-snapshot.20230814.10992.0.vabf6b321 (#17268)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-15 18:19:56 +02:00
Paul Brauner
7585f72d7a
Add flag-protected right-to-left evaluation (#17253)
Right-to-left evaluation allows for a faster and simpler interpreter, but is incompatible with the semantics of Daml 2.x. Adding it behind a flag so we can switch to it in Daml 3.0.

See PR #17253 for ample details.
2023-08-15 13:10:44 +00:00
tudor-da
6a1d60d1ba
Bounded SoX hash generation in UpdateVersions.hs (#17264) 2023-08-15 06:05:10 +02:00
mziolekda
aaaf60af67
Add ability to ask stream consumer for N messages (#17265) 2023-08-14 17:22:27 +02:00
Paul Brauner
9abdb8922f
Add Paul to release rotation (#17252) 2023-08-14 11:32:02 +00:00
azure-pipelines[bot]
80c844c313
rotate release duty after 2023-08-09 (#17249)
@remyhaemmerle-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-14 09:32:16 +02:00
azure-pipelines[bot]
3bbcd9a8ad
bump canton to 2.8.0-snapshot.20230811.10987.0.v906b3f48 (#17261)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-14 09:31:47 +02:00
azure-pipelines[bot]
2aad9b4e7e
bump canton to 2.8.0-snapshot.20230810.10986.0.v4acdc92f (#17260)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-11 13:39:08 +02:00
Gary Verhaegen
59793ce59d
2.7.0 stable (#17256) 2023-08-10 16:08:21 +02:00
azure-pipelines[bot]
44eff5ec26
update NOTICES file (#17258)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-10 13:08:00 +02:00
Carl Pulley
38085a8787
Improve SubmitError show instance (#17216) 2023-08-10 11:05:07 +00:00
azure-pipelines[bot]
d8a409f816
bump canton to 2.8.0-snapshot.20230809.10981.0.ve2f706c1 (#17257)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-08-10 10:59:00 +00:00
nickchapman-da
4b60e35a5d
[engine] Restructure contract caching (#17171) 2023-08-09 16:09:13 +00:00
Remy
0918843090
[Script] Runner does not return the machine is using anymore (#17255) 2023-08-09 13:02:36 +00:00
Paul Brauner
21e8a5408e
Update slack_user_ids (#17251)
Add myself to daml/ci/slack_user_ids
2023-08-09 13:59:06 +02:00
Paul Brauner
4e54c69c9d
Simplify Anf.scala by removing the continuations. (#17242)
The core functions of the ANF transformation in Anf.scala handle 3 different types of continuations:

1. The "transformations" (called tx), that are an inherent aspect of any ANF transformation expressed in pseudo-CPS style for convenience.
2. The "continuations" (called k) that had been introduced to avoid stack oveflows.
3. The trampolines, that have also been introduced to avoid stack overflows.

This commit recognizes that types 2 and 3 are redundant and merges them into only type 3. It relies on the fact that trampolines are monadic, and so we switch from the hand-rolled trampolines to that of scala's std library since they already implement flatMap.
2023-08-09 10:19:01 +00:00