summaryrefslogtreecommitdiff
path: root/tests/typ/compute
AgeCommit message (Collapse)Author
2024-04-13Better test runner (#3922)Laurenz
2024-02-28Externalize assets (#3515)Laurenz
2024-02-27Improve color negation (#3500)frozolotl
2024-02-25Fix cast order for `ToInt` (#3485)Laurenz
2024-02-21Wider callsite span (#3466)Laurenz
2024-02-21Destructuring improvements (#3463)Laurenz
2024-01-25Implement bitwise operations on integers (#3130)PgBiel
2024-01-12Added `int.signum`, `float.signum`, `float.is-nan`, and `float.is-infinite` ↵Sébastien d'Herbais de Thun
(#3118)
2023-12-18Implement CSV file header rows support. (#2619)Niklas Ausborn
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-12-13Adjust color mixing for hue-based spaces (#2931)Eric Biedert
2023-12-06Add calc.root function (#2736)Emanuel
Fixes #2522
2023-11-26Rework `Vt` into `Engine`Laurenz
- Moves as much data out of the `Vm` - Removes duplication with call_vm and call_vt flavours - Uses tracked chain instead of fixed int for determining max nesting depth - This means that nesting checks now generalizes to layout and realization, to detect crashing show rules and overly nested layouts
2023-11-17Implement euclidean division and remainder (#2678)frozolotl
2023-11-10Implement Oklch support (#2611)frozolotl
2023-10-27Fix argument parsing bugLaurenz
Things like `luma(1, key: "val")` didn't produce an error before because `args.finish()?` wasn't called. This changes `args: Args` to `args: &mut Args` to make it impossible for that to happen.
2023-10-09Use/allow U+2212 MINUS SIGN instead of U+002D HYPHEN MINUS everywhere (#2318)MALO
2023-10-02Add capability to get current compiler version (#2016)T0mstone
2023-09-19Gradient Part 1 - Color rework (#2171)Sébastien d'Herbais de Thun
2023-09-13Bump dependenciesLaurenz
2023-09-11Update tests for type system changesLaurenz
2023-09-11Forward third-party errorsLaurenz
Better to know something even if it isn't always formatted in the prettiest way
2023-08-30Fix data loading display namesLaurenz
2023-08-25separate decode from string/bytes for all data functions; and encode for ↵Beiri22
json, toml, yaml via serde (#1935)
2023-08-06Fix incomplete line endings (#1866)Matt Fellenz
2023-08-04Bytes typeLaurenz
- Moves `Bytes` from `util` to `eval` module - Accepts bytes in `str` function for bytes -> str conversion - Adds `bytes` function for str | array -> bytes conversion - Adds `array` function for bytes -> array conversion - Adds `len`, `at`, and `slice` methods for bytes - Adds `encoding` parameter to `read` function
2023-07-18Support `scope` argument for `eval`Laurenz
2023-07-05Color mixing function (#1332)Lynn
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-06-28Reintroduce `--root`Laurenz
2023-06-09Translate TOML datetime properlyLaurenz
2023-06-07add calc.exp, calc.ln (#1299)Jett Chen
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-05-30Unicode code point conversion (#1068) (#1132)Erik Bünnig
2023-05-30Add a base parameter to str() (#1362)Lynn
2023-05-23Add support for date & time handling (#435)Laurenz Stampfl
2023-05-22Clearer error messages for failed comparisonsLaurenz
Fixes #1231
2023-05-19Print the string that is not castable to number (#1207)Leedehai
2023-05-03Function scopes (#1032)Pg Biel
2023-04-26Touch up docsLaurenz
2023-04-26Add toml support (#807)HarmoGlace
2023-04-20Add `quo`, `trunc` and `fract` calculation methods and rename `mod` to `rem` ↵HarmoGlace
(#890)
2023-04-19Add `gcd` and `lcm` calculation methods (#789)HarmoGlace
2023-04-13Fix `pow` overflow (#784)HarmoGlace
2023-04-13Better error spans in `calc`Laurenz
2023-04-13Add factorial, permutation and binomial to calculation functions (#639)HarmoGlace
2023-04-11Allow treating ratios as floats (#681)Eric Biedert
2023-04-04Make error messages a bit more consistentLaurenz
2023-04-04Make behavior of calculation functions consistent (#515)HarmoGlace
2023-04-01Simplify `pow` functionLaurenz
2023-04-01add support for loading data from yaml files (#447)P-Andersson
2023-03-29bail! when #symbol is called without parameters (#440)Naim A
2023-03-19Renaming and refactoringLaurenz