Commit Graph

4122 Commits

Author SHA1 Message Date
Brian Healey
abede0923b
Apache2 badge (#272) 2019-04-05 20:48:32 -04:00
Brian Healey
559b5304cf
apache2 license github detects (#273)
apache2 license
2019-04-05 19:20:51 -04:00
Robin Krom
39083bf04a language: fix: redundant glob in BAZEL rule (#263) 2019-04-05 17:37:26 -04:00
Brian Healey
550dde579c
Azure badges for daml (#267)
* Azure badges for daml

* Azure badges for damli correct linkwqs
2019-04-05 16:43:18 -04:00
Shayne Fletcher
a95b386b5b
check Foldable.concat doesn't clash with Prelude.concat (#265)
* check Foldable.concat doesn't clash with Prelude.concat

* it is not neccessary to use the NoImplicitPrelude ext

* protect against a reasonable (future) optimization from giving a false positive
2019-04-05 16:09:37 -04:00
moritzkiefer-da
473cb6c11d
Enforce MacOS compatibility with 10.13 (#260)
* Enforce MacOS compatibility with 10.13
2019-04-05 21:45:08 +02:00
moritzkiefer-da
fd156c33df
Add daml start (#254)
* Add daml start
2019-04-05 19:34:23 +02:00
Shayne Fletcher
d5243008b9
Desugaring now is in terms of DA.Internal.Desugar (#236)
* desugaring now is in terms of `DA.Internal.Desugar`

* update haddock parse to account for `DA.Internal.Desugar`

* update ghc-lib release
2019-04-05 13:22:50 -04:00
Robin Krom
a8b2d30b3d
Stdlib package (#229)
language: ship daml-stdlib as a package
2019-04-05 18:11:13 +02:00
Martin Huschenbett
b14bf471f0
Remove empty scaffolding for potential static authorization checker (#251)
* Remove empty scaffolding for potential static authorization checker

* Make hlint happy
2019-04-05 17:48:17 +02:00
Martin Huschenbett
7c3cd8840b
Remove DefValueInfo data type (#252)
This was used by the old DAML-LF based record constructor/projection
inliner. We'bve recently replaced by an inlining mechanism which is part
of the conversion from GHC Core to DAML-LF.
2019-04-05 16:47:08 +02:00
Beth Aitman
be177b39d9
Make it clearer which are end user and contrib sections (#253) 2019-04-05 16:35:22 +02:00
Michał Majcherski
c3e33df9f9 windows: build script with dev-env init; windows dev-env readme cleanup (#250) 2019-04-05 14:37:42 +01:00
Beth Aitman
8ab830a93d
Add mention of cd to setup instructions (#245)
* Add mention of cd to setup instructions

* Making instructions unambiguous

* Even clearer instructions

Co-Authored-By: bethaitman-da <42940582+bethaitman-da@users.noreply.github.com>
2019-04-05 14:40:15 +02:00
Neil Mitchell
caae2b0aa3
Merge pull request #248 from tweag/nm-drop-shorten-dir
Drop rules_haskell patch shortening source-dirs
2019-04-05 13:37:57 +01:00
moritzkiefer-da
eaa4a1ab47
Fix IS_FORK variable (#246)
Without this PR, this variable ends up being set to the string
"variables['System.PullRequest.IsFork']" which meant that we never
uploaded to the Bazel cache.
2019-04-05 14:24:23 +02:00
Beth Aitman
52ce976792
Update Java example instructions to use new repository (#216)
* Update instructions to use new repository

* Update instructions on second page as well
2019-04-05 13:12:42 +02:00
Nick Smith
3183973ab9
Fixes #226 java-codegen: Exapnd List integration tests (#244) 2019-04-05 12:50:31 +02:00
Nikola Knežević
79f8bf0a58 Simplify profile_zsh.sh (#212)
Rely on zsh features to simplify profile_zsh.sh file.

- Remove `DADE_REPO_ROOT` as it is not needed anywhere, `dade-assist` redefines
  it already.
- `${0:A:h}` gives the absolute path of the folder *this* file resides in, no
  need for `cd`, `dirname`, and `pwd` combo.
- Use simple process redirection (`<`), as it is more robust than the one in
  bash, and works better than `<<<`
2019-04-05 12:45:34 +02:00
Nicolas Mattia
e63fbce7fa Drop rules_haskell patch shortening source-dirs
We used to have a workaround for the command line length limit on
Windows, which exceeded when building ghc-lib. The ghc-lib package was
recently split into two smaller packages and this workaround is not
needed anymore.
2019-04-05 12:42:29 +02:00
Nicolas Mattia
117f043698 Fix daml-lf-ast build on Windows (#237)
* Update rules_haskell

This updates to the latest rules_haskell, which fixes a few issues on
Windows. Most importantly it flags a few Windows libraries as "system"
libraries, preventing Hazel to fail because they are not provided
through Bazel.

* Fix the streaming-commons build on Windows

This modifies our custom streaming-commons BUILD file to make it work on
Windows. In particular it swaps some system libraries, passes the
`-DWINDOWS` flag and enables the build of an extra module.

* Clean up bazel_tools BUILD file

This wraps a very long line for legibility.

* Fix shared object issues on Windows

* This fixes rules_haskell to use the correct Windows path separator on Windows.
    GHC expects the LD_LIBRARY_PATH variable to be a list of semi-colon separated
    paths, as opposed to a list of colon separated paths:
    51fd357119/compiler/ghci/Linker.hs (L1646-L1650)

* This fixes the name of Haskell shared objects on Windows. By default
    Bazel's cc_library generates '.so' files, whereas GHC expects a `.dll`
    (or a few other extensions, non of which are `.so`):
    51fd357119/rts/linker/PEi386.c (L684)

* Build daml-lf-ast on Windows CI
2019-04-05 12:39:23 +02:00
Robert Autenrieth
fcc8a43394 Navigator: Remove unused Makefile targets
... and fix the "start-frontend" target
2019-04-05 12:10:55 +02:00
Robert Autenrieth
b98fe6312f Navigator: Update readme files
The files contained outdated information on
building and publishing Navigator.
2019-04-05 12:10:55 +02:00
Neil Mitchell
5c2680afbe
Merge pull request #234 from digital-asset/HOTFIX-remove-changelogs
Issue #233 remove changelogs
2019-04-05 10:21:13 +01:00
Stefano Baghino
f275b0c471 Add verbosity option for Java codegen (#218)
Allows users to supply the argument -V or --verbosity with a number from 0 to 4 for additional logging.

Also, the first and last log message is logged as a warning, when it really
should just be on INFO level.
2019-04-05 10:54:42 +02:00
Stefano Baghino
fa575978cd
Merge pull request #241 from digital-asset/document-js-install
Document IDE support for language-support/js
2019-04-05 18:28:51 +11:00
Remy
7a5dc1ba18
minor README.md improvment (#228)
* add a more visible link to www.daml.com
* add a short description about what is daml.
2019-04-05 08:55:39 +02:00
Stefano Baghino
da93a86104 Document IDE support for language-support/js
Closes #67
2019-04-05 14:00:33 +11:00
Shayne Fletcher
02bcaf2cb1
Merge pull request #208 from digital-asset/disjunction-choice-test
Add test for disjunction choices
2019-04-04 17:07:17 -04:00
Brian Healey
55fb9a9baf #233 remove changelogs from bazel files 2019-04-04 16:51:56 -04:00
moritzkiefer-da
f4a9e94f0d Dev env fixes (#232)
* Fix curl in dev-env

Curl ends up in the bin output so we need to symlink to
dade-exec-nix-bin-tool.

* Add cc to dev-env
2019-04-04 16:46:06 -04:00
Beth Aitman
35a84c362d
Correct details about what bazel is doing (#227) 2019-04-04 22:18:06 +02:00
Brian Healey
0205a1a932 #233 remove changelogs 2019-04-04 16:08:52 -04:00
Anup Kalburgi
fef6720eac
migrate command (#217) 2019-04-04 14:55:54 -04:00
Leonid Shlyapnikov
2517fdcb2f
Merge pull request #220 from digital-asset/leo-1123-dar-reader
DarReader fat dar support
2019-04-04 14:19:17 -04:00
moritzkiefer-da
1f821953e8
Bump timeout of daml-ref-daml-test (#225)
This tests seems to timeout on CI sometimes so let’s increase the timeout.
2019-04-04 19:58:56 +02:00
Robin Krom
b1ff51cbd7
Merge pull request #194 from digital-asset/fix_ghc_test_package_db
language: fix: package db was always set to daml-lf 1.2 in tests
2019-04-04 19:55:28 +02:00
Fran
dcc8e51085
Fix issues with daml-assistant CLI. (#223)
* Make daml-asisstant forward --help as intended.

* Refactor command-line parser in daml-assistant.

* Fix issues with daml-assistant CLI.

* Misalign things for Martin.
2019-04-04 19:40:38 +02:00
Leonid Shlyapnikov
e655aae9e3 add fat dar support to DarReader, #109 2019-04-04 12:29:28 -04:00
Moritz Kiefer
a7b282b32d Release 0.12.1
0.12.0 didn’t pass on CI due to unrelated changes so here’s another attempt.
2019-04-04 17:14:35 +01:00
Robin Krom
fcdd0d5ea6 language: fix: package db was always set to daml-lf 1.2 in tests
The way the options were constructed in the ghc tests set the package
database always to the daml-lf 1.2 version.
2019-04-04 18:13:26 +02:00
Gary Verhaegen
98a22e95d2
Merge pull request #222 from digital-asset/fix-dev-env-push
Fix dev env push
2019-04-04 17:09:30 +01:00
Martin Huschenbett
1b20693911 Add test for disjunction choices
We add a new test for disjunction choices which uses our custom surface
syntax. It follows the example in the blog post announcing disjunction
choices, which is still under review.

We also remove the old tests for flexible controllers. The test for
DAML-LF 1.1 is not run anymore anyway and the test for DAML-LF 1.2 does not
use our custom surface syntax but the type class implementation underlying
it.
2019-04-04 18:08:31 +02:00
Beth Aitman
40ad0026ba
Tidying up the README (#196)
* Tidying up the README

* Tidying contributing page as well

* Apply review suggestion

Co-Authored-By: bethaitman-da <42940582+bethaitman-da@users.noreply.github.com>

* Address more review comments

* Address review comment
2019-04-04 18:04:12 +02:00
Florian Klink
1301a004a8 ci/dev-env-push: use "".format() instead of % 2019-04-04 17:47:40 +02:00
Florian Klink
b3fc3d3cb6 ci/dev-env-push: revert f-string usage
This might be run with a python3 different from the one provided by
dev-env, and not support f-strings yet.
2019-04-04 17:47:40 +02:00
Moritz Kiefer
d299b23852 Release 0.12.0
This should hopefully fix navigator in the quickstart example.
2019-04-04 15:49:05 +01:00
Gary Verhaegen
1d508d89d5
Merge pull request #205 from digital-asset/changelog-fontend-config
Update release notes and instructions for updating release notes
2019-04-04 15:43:28 +01:00
Bernhard Elsner
1efedd8a76 Change all list numbers to 1s in Readme.md 2019-04-04 16:40:37 +02:00
Bernhard Elsner
e2524806ac Incorporate Robert's suggestion 2019-04-04 16:40:36 +02:00