translatenix
3b2feb45cf
Replace some if-statements with if-expressions ( #168 )
2024-02-16 14:41:41 +01:00
Josh B
0405db8d80
[pkl-doc] Sort stdlib first on the main page ( #165 )
2024-02-16 14:25:49 +01:00
Kushal Pisavadia
3d1db25864
Fix name resolution in typealias with constraint ( #144 )
...
The body of a typealias gets inlined into wherever the typealias
is used. This fixes a bug where the references in the typealias body can
resolve to the wrong value.
2024-02-15 13:28:10 -08:00
translatenix
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 Pisavadia
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
translatenix
810a755702
Fix typo in constructor parameter name ( #162 )
...
Breaking change: changes param name `noTranstive` to `noTransitive`.
2024-02-15 09:35:21 -08:00
translatenix
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
GrantA
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
GrantA
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-abbott
0b680be32b
Addressing documentation discrepancies from pkl examples.
2024-02-13 21:30:18 +00:00
Hoxell
f2470f3e85
Apply suggested update to note on amending types
2024-02-13 21:16:06 +00:00
Freddy
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
Hoxell
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 Hill
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
translatenix
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
Hoxell
4bf6d3069d
Fix mislabeled object name
2024-02-13 16:57:12 +00:00
Hoxell
28d98b461b
Use object name instead of 'name' property
2024-02-13 16:57:12 +00:00
Hoxell
99717c61af
Pigeon -> dodo
2024-02-13 16:57:12 +00:00
translatenix
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 Chao
6f915e5b90
Fix docs pointing to wrong maven repo ( #106 )
2024-02-12 08:24:22 -08:00
shubham gupta
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 Chao
97f4193c15
Fix more links ( #104 )
...
This fixes more documentation links that are producing 404's.
2024-02-08 15:20:02 -08:00
Daniel Chao
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 Chao
9dc7eb2938
Use packages for CircleCI definition ( #95 )
2024-02-08 09:58:29 -08:00
Islon Scherer
8e6ddfb9b7
remove duplicate publishing of pkl-cli-java ( #98 )
2024-02-08 18:56:27 +01:00
Miroslav Shakhmaykin
71fd8591ae
Fix doc navigation
2024-02-08 13:22:21 +00:00
Ricardo Pinheiro
20adac9919
Update Hidden Properties documentation ( #91 )
2024-02-07 21:15:53 -08:00
translatenix
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 Chao
52bc9612ea
Reword verbage to "pantry" ( #64 )
...
* Reword verbage to "pantry"
* Fix verbage
2024-02-07 19:40:43 -08:00
The L D O
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 Lanzafame
e9df244485
fix concat operator and string typo
2024-02-07 20:23:51 +00:00
James Ward
604bb83acb
Fix artifact name
2024-02-07 20:23:17 +00:00
Shubham Gupta
5a8d8680c4
fix mangled url
...
Crash help text has mangled URL #61
2024-02-07 20:12:23 +00:00
kelvine
9bc7ada4ae
fixed typo on transiti[ti]on
2024-02-07 20:09:57 +00:00
Lily Ballard
0538044fee
Fix CLI docs examples for -x
...
The examples were using the wrong key.
2024-02-07 20:04:41 +00:00
Lily Ballard
bb3e3929ac
Fix missing pkl eval subcommand in documentation examples
2024-02-07 20:04:41 +00:00
Daniel Chao
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 Hayashi
5c541aa168
Minor fix in the code of the docs
2024-02-06 16:13:10 +00:00
Islon Scherer
3f8fae4873
fix wrong stdlib doc links ( #74 )
2024-02-06 13:01:45 +01:00
Dan Chao
f0ae1be76a
Fix broken search on pkldoc
2024-02-06 11:23:23 +00:00
Edward Knight
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
translatenix
6eb3d20b47
Update to Gradle 7.6.4 (latest 7.x release) ( #58 )
2024-02-05 10:44:28 -08:00
Scott Henson
b3ccdda222
Merge pull request #57 from shenson/merge-back-to-main
...
`taxonomy` nesting fix
2024-02-05 15:24:16 +00:00