Yang Hau
0dc1776202
refactor: Replace once_cell to std lib ( #1402 )
2023-06-07 14:42:58 +02:00
Laurenz
6ea98dd940
Small refactorings
2023-06-06 22:25:55 +02:00
Laurenz
fd417da04f
Improve value casting infrastructure
2023-06-06 22:06:16 +02:00
Laurenz
25e94cef03
Fix doc links
2023-05-30 14:50:43 +02:00
MALO
644bbf9914
Add `fields` method to content ( #1340 )
2023-05-30 10:13:27 +02:00
Pg Biel
e4557f6639
Fix `.at(default: ...)` for strings and content ( #1339 )
2023-05-29 20:15:32 +02:00
Laurenz Stampfl
752817ae74
Add support for date & time handling ( #435 )
2023-05-23 10:41:20 +02:00
Laurenz
3d83960322
Fix removal order for dictionary
...
Switches to `shift_remove` for now. In the future, we should look into a more efficient implementation. Fixes #1258 .
2023-05-22 13:10:48 +02:00
Laurenz
08870d4a4c
Clearer error messages for failed comparisons
...
Fixes #1231
2023-05-22 13:06:33 +02:00
Laurenz
e32c6f8e8a
Do not crash on invalid pattern
...
Fixes #1213
Fixes #1232
2023-05-19 14:48:48 +02:00
Laurenz
551ea99d05
Show default values in documentation
...
Fixes #169
Fixes #1102
2023-05-17 14:41:46 +02:00
Laurenz
46aace78ac
Search keywords
2023-05-17 14:39:47 +02:00
Laurenz
2f0b5eeae0
More efficient introspection
...
Switches from a mutable locator to one based on tracked chains and optimizes query performance.
2023-05-11 11:27:00 +02:00
Laurenz
47dff3765d
Remove 'static bound on `World`
...
Thanks to improvements in comemo, tracked types don't need to be 'static anymore. This means that the 'static bound on the `World` is now lifted and that the `Route` doesn't need to use unsafe code anymore to manage its lifetime.
2023-05-11 10:50:30 +02:00
Pg Biel
f88ef45ee6
Function scopes ( #1032 )
2023-05-03 14:20:53 +02:00
Michael Lohr
ffad8516af
Implement default values for at() ( #995 )
2023-05-03 12:34:35 +02:00
Laurenz
519e8a7b4c
Refactor string replacement
2023-05-03 11:44:08 +02:00
dvdvgt
be3c4d7876
[Feature] Allow function as argument for string.replace ( #944 )
2023-05-03 11:41:50 +02:00
Marmare314
edc0632d8c
Add shorthand for root operation ( #929 )
2023-05-03 11:16:38 +02:00
Marmare314
8fa1af8ac8
check index on placeholder ( #1005 )
2023-04-28 18:49:21 +02:00
Laurenz
3680c854a2
Touch up docs
2023-04-26 15:37:21 +02:00
Marmare314
59957746e9
Pattern as parameter ( #854 )
2023-04-26 11:32:11 +02:00
HarmoGlace
7cb63d1aae
Fix overflows with operators ( #904 )
2023-04-26 11:30:16 +02:00
Leedehai
62361b4127
Support indices preceding the base symbol, revamping #699 ( #825 )
...
Breaking change: abbreviate attach() attachment params, top -> t, bottom -> b
2023-04-25 11:24:07 +02:00
Laurenz Stampfl
f38989358e
Add a zip method to arrays ( #947 )
2023-04-25 11:22:20 +02:00
Marmare314
d5d98b67a8
Destructuring assign ( #703 )
2023-04-25 11:22:12 +02:00
SekoiaTree
efad1e71fa
Add sum and product to arrays ( #966 )
2023-04-25 11:18:27 +02:00
Marmare314
12129f0170
hint for unknown variable containing dash ( #924 )
2023-04-24 19:08:07 +02:00
Laurenz
3cc0f1ef0d
Disable stacker on WASM
2023-04-24 15:20:42 +02:00
Sébastien d'Herbais de Thun
561ff979d5
Add instrumentation (Part 1) ( #761 )
2023-04-23 14:33:56 +02:00
Marmare314
4524539c2b
forbid underscore as identifier closes #513 ( #837 )
2023-04-20 11:05:11 +02:00
Laurenz
f08ae95b9d
Fix argument sinks
...
Fixes #886 .
2023-04-19 17:51:33 +02:00
Leedehai
dc3017955a
Give more specific error messages ( #881 )
2023-04-19 13:26:55 +02:00
Daniel Csillag
d0afba959d
Change SipHash2-4 -> SipHash1-3 ( #780 )
...
This seems to significantly improves performance. Inspired by https://github.com/rust-lang/rust/pull/107925
2023-04-19 13:16:03 +02:00
Laurenz
d10b53df0b
Clippy
2023-04-18 19:16:13 +02:00
Marek Barvíř
56673bcdf5
Clippy fixes ( #856 )
2023-04-18 11:19:09 +02:00
Laurenz
9bdc4a7de0
Write PDF outline
2023-04-17 13:26:49 +02:00
Marmare314
428c55b6ee
refactor SyntaxKind::Pattern ( #831 )
2023-04-16 14:34:57 +02:00
Marek Barvíř
ee32e7ad1c
Clippy fixes ( #581 )
2023-04-16 11:10:35 +02:00
Marmare314
0105eb7382
Fix function sinks ( #638 )
2023-04-13 16:07:58 +02:00
Birk Tjelmeland
d1cd814ef8
Add support for more complex strokes ( #505 )
2023-04-13 16:05:56 +02:00
Laurenz
9025ecb2ee
Better error spans in `calc`
2023-04-13 15:13:31 +02:00
HarmoGlace
e11bd2a193
Add factorial, permutation and binomial to calculation functions ( #639 )
2023-04-13 14:38:51 +02:00
Sébastien d'Herbais de Thun
1198e0cd38
Selector rework ( #640 )
2023-04-12 12:47:51 +02:00
Laurenz
12be8fe070
Let dictionaries respect insertion order
2023-04-11 21:59:02 +02:00
Laurenz
db24996161
Add support for more ratio multiplications
2023-04-11 21:40:39 +02:00
Laurenz
42be51609b
Remove support for number / ratio
...
If `1 * 40%` and `1 / 40%` both work, then I would expect `1cm * 40%` and `1cm / 40%` to work, too.
So the result of both multiplication and division is always the left type. Same with `100% * 40%`. But `100% / 40%` does not return a ratio, it returns a float. This breaks the consistency. For this reason, I am removing support for just the new divisions for now, but we can revisit this.
2023-04-11 21:39:46 +02:00
Laurenz
9720424884
Fix duplicate error message for destructuring
2023-04-11 16:50:26 +02:00
Laurenz
58e4bdb1b9
Remove enumeration support from `map`
2023-04-11 16:41:04 +02:00
Eric Biedert
c7db709da5
Allow treating ratios as floats ( #681 )
2023-04-11 14:13:01 +02:00