Commit Graph
462 Commits
Author SHA1 Message Date
translatenixandGitHub 1c29287344 Fix usage of wrong lock object (#163)
This changes the lock object to `lock`, which every other method is locking on.
2024-02-15 13:25:43 -08:00
Kushal PisavadiaandGitHub 699cdc623e Update GraalVM to 22.3.3 (from 22.3.1) (#156)
This bumps GraalVM's version.

References:
- https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-22.3.3
- https://github.com/oracle/graal/compare/vm-22.3.1...vm-22.3.3
- https://www.graalvm.org/release-notes/22_3/
2024-02-15 09:48:15 -08:00
translatenixandGitHub 810a755702 Fix typo in constructor parameter name (#162)
Breaking change: changes param name `noTranstive` to `noTransitive`.
2024-02-15 09:35:21 -08:00
translatenixandPhilip K.F. Hölzenspies c3473cc626 Add Gradle task "testNative"
Support running native tests with "gw testNative" for consistency with "gw test".
2024-02-14 19:53:40 +00:00
Philip K.F. Hölzenspies a49526649d Update docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc 2024-02-13 21:30:18 +00:00
GrantAandPhilip K.F. Hölzenspies 1b208f852c Update docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc
Co-authored-by: Philip K.F. Hölzenspies <holzensp@gmail.com>
2024-02-13 21:30:18 +00:00
GrantAandPhilip K.F. Hölzenspies 1a1d2f9908 Update docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc
Co-authored-by: Philip K.F. Hölzenspies <holzensp@gmail.com>
2024-02-13 21:30:18 +00:00
grant-abbottandPhilip K.F. Hölzenspies 0b680be32b Addressing documentation discrepancies from pkl examples. 2024-02-13 21:30:18 +00:00
HoxellandPhilip K.F. Hölzenspies f2470f3e85 Apply suggested update to note on amending types 2024-02-13 21:16:06 +00:00
FreddyandPhilip K.F. Hölzenspies 7d9603afd7 Update docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc
Co-authored-by: Philip K.F. Hölzenspies <holzensp@gmail.com>
2024-02-13 21:16:06 +00:00
HoxellandPhilip K.F. Hölzenspies 8c254a9976 Introduce Typed objects before referring to them
Currently, typed objects are only briefly mentioned in the sentence
stating that (typed) objects cannot be amended with new properties, only
existing ones. This is unnecessarily confusing since all examples up
until that point have been concerned with dynamic objects. Since the
tutorial goes on to amend a dynamic object with a new property in the
next section, a reader who isn't yet aware there are two types of
objects might be confused by what seems to be a contradiction.
2024-02-13 21:16:06 +00:00
Les HillandPhilip K.F. Hölzenspies 14dec716cf Add details to show amending working when using modules
Running through the tutorial, the amending was stated in the tutorial text but not visible in the tutorial output since `parrot.pkl` was replacing all the members of `pigeon.pkl`.
2024-02-13 20:56:17 +00:00
Philip K.F. Hölzenspies aa98123c93 Update pkl-core/src/test/kotlin/org/pkl/core/LanguageSnippetTestsEngine.kt 2024-02-13 20:53:29 +00:00
translatenixandPhilip K.F. Hölzenspies da597d838d Don't run JUnit tests for non-existing native executables
This allows to "Run all Tests" in IntelliJ without getting lots of test errors because "pkl-alpine-linux-amd64" etc. doesn't exist.
2024-02-13 20:53:29 +00:00
Philip K.F. Hölzenspies b3fb5dced6 Apply suggestions from code review 2024-02-13 16:57:12 +00:00
HoxellandPhilip K.F. Hölzenspies 4bf6d3069d Fix mislabeled object name 2024-02-13 16:57:12 +00:00
HoxellandPhilip K.F. Hölzenspies 28d98b461b Use object name instead of 'name' property 2024-02-13 16:57:12 +00:00
HoxellandPhilip K.F. Hölzenspies 99717c61af Pigeon -> dodo 2024-02-13 16:57:12 +00:00
translatenixandPhilip K.F. Hölzenspies a28ef85698 Update development instructions
- remove "Setup Gradle on your system" (too vague and doesn't seem necessary)
- remove "gw pkldoc" (obsolete)
- improve docs for common build commands
2024-02-13 10:43:34 +00:00
Daniel ChaoandGitHub 6f915e5b90 Fix docs pointing to wrong maven repo (#106) 2024-02-12 08:24:22 -08:00
shubham guptaandGitHub db55c527c6 logical and fix in mathUtils (#102) 2024-02-08 21:21:49 -08:00
Dan Chao 0a3a618091 Remove line from changelog
This change got reverted prior to the release.
2024-02-08 17:33:26 -08:00
Dan Chao 5ce205c2c0 Update changelog for release 0.25.2 2024-02-08 17:33:19 -08:00
Dan Chao 4f1189c163 Revert "remove duplicate publishing of pkl-cli-java (#98)"
This reverts commit 8e6ddfb9b7.
2024-02-08 15:52:10 -08:00
Daniel ChaoandGitHub 97f4193c15 Fix more links (#104)
This fixes more documentation links that are producing 404's.
2024-02-08 15:20:02 -08:00
Daniel ChaoandGitHub dddae1190f Fixes for pkldoc (#96)
* Add URI encoding to paths and fragments
* Render quotes around identifiers when appropriate
2024-02-08 11:28:34 -08:00
Daniel ChaoandGitHub 9dc7eb2938 Use packages for CircleCI definition (#95) 2024-02-08 09:58:29 -08:00
Islon SchererandGitHub 8e6ddfb9b7 remove duplicate publishing of pkl-cli-java (#98) 2024-02-08 18:56:27 +01:00
Miroslav ShakhmaykinandPhilip K.F. Hölzenspies 71fd8591ae Fix doc navigation 2024-02-08 13:22:21 +00:00
Ricardo PinheiroandGitHub 20adac9919 Update Hidden Properties documentation (#91) 2024-02-07 21:15:53 -08:00
translatenixandGitHub 77d0f5b8ca Only build static executable if musl toolchain is installed (#83)
This improves the development experience for (WSL) Linux users.
They can now run "./gradlew buildNative" without having a musl toolchain installed.
In this case, only the dynamically linked executable will be built.
2024-02-07 20:57:53 -08:00
Dan Chao a6e59c07ff Revert "Update to Gradle 7.6.4 (latest 7.x release) (#58)"
This reverts commit 6eb3d20b47.

Reverting this because it might be the cause of some test flakiness.
2024-02-07 20:02:19 -08:00
Daniel ChaoandGitHub 52bc9612ea Reword verbage to "pantry" (#64)
* Reword verbage to "pantry"

* Fix verbage
2024-02-07 19:40:43 -08:00
5a311d3b86 update 'Loading Modules' example to match config contents (#84)
Co-authored-by: Daniel Chao <dan.chao@apple.com>
2024-02-07 17:58:57 -08:00
Adrian LanzafameandPhilip K.F. Hölzenspies e9df244485 fix concat operator and string typo 2024-02-07 20:23:51 +00:00
James WardandPhilip K.F. Hölzenspies 604bb83acb Fix artifact name 2024-02-07 20:23:17 +00:00
Shubham GuptaandPhilip K.F. Hölzenspies 5a8d8680c4 fix mangled url
Crash help text has mangled URL #61
2024-02-07 20:12:23 +00:00
kelvineandPhilip K.F. Hölzenspies 9bc7ada4ae fixed typo on transiti[ti]on 2024-02-07 20:09:57 +00:00
Lily BallardandPhilip K.F. Hölzenspies 0538044fee Fix CLI docs examples for -x
The examples were using the wrong key.
2024-02-07 20:04:41 +00:00
Lily BallardandPhilip K.F. Hölzenspies bb3e3929ac Fix missing pkl eval subcommand in documentation examples 2024-02-07 20:04:41 +00:00
Daniel ChaoandGitHub 9f4fd58577 Fix documentation homepage (#81)
This adds a trailing slash that was missing from the documentation
homepage.
2024-02-07 07:33:19 -08:00
Ryosuke HayashiandPhilip K.F. Hölzenspies 5c541aa168 Minor fix in the code of the docs 2024-02-06 16:13:10 +00:00
Islon SchererandGitHub 3f8fae4873 fix wrong stdlib doc links (#74) 2024-02-06 13:01:45 +01:00
Dan ChaoandPhilip K.F. Hölzenspies f0ae1be76a Fix broken search on pkldoc 2024-02-06 11:23:23 +00:00
Edward KnightandGitHub 90c60c700d Fix minor discrepancy in workshop example (#60)
Map values of `agenda` should have a `name` instead of a `title` to be
consistent with the `TutorialPart` module.

Fixes #11.
2024-02-05 18:08:16 -08:00
translatenixandGitHub 6eb3d20b47 Update to Gradle 7.6.4 (latest 7.x release) (#58) 2024-02-05 10:44:28 -08:00
Scott HensonandGitHub b3ccdda222 Merge pull request #57 from shenson/merge-back-to-main
`taxonomy` nesting fix
2024-02-05 15:24:16 +00:00
Philip HölzenspiesandPhilip K.F. Hölzenspies eeb9f0b86e Remove lingering, outdated build target pkldoc 2024-02-05 14:49:08 +00:00
Brian PfeilandScott Henson 58e7cc188a taxonomy nesting fix 2024-02-05 14:13:31 +00:00
Scott HensonandGitHub ba52ac73da Merge pull request #44 from rex4539/typos
Fix typos
2024-02-05 13:50:32 +00:00