Commit Graph

431 Commits

Author SHA1 Message Date
Ophir LOJKINE
bce31e24ae new function: random()
random() returns a random number between 0 and 1
2022-03-30 14:39:26 +02:00
Sebastian Schmidt
c514410323 Release 7.2.0
evalexpr@7.2.0

Generated by cargo-workspaces
2022-03-16 16:30:12 +02:00
Sebastian Schmidt
ddd088a1ee Try fixing sync-readme in CI. 2022-03-16 16:26:11 +02:00
Sebastian Schmidt
e9ebb211e0 Add sync-readme check to CI. 2022-03-16 16:22:14 +02:00
Sebastian Schmidt
d321fa9363 Prepare changelog for 7.2.0 release. 2022-03-16 16:18:32 +02:00
Sebastian Schmidt
32a88b1e07 Sync README. 2022-03-16 16:13:37 +02:00
ISibboI
642289588d
Merge pull request #100 from lovasoa/main
Add an "if" function
2022-03-16 16:10:53 +02:00
Ophir LOJKINE
d96ab3abf4 fix typo 2022-03-14 16:09:41 +01:00
Ophir LOJKINE
65bf8adc9c remove duplicated code 2022-03-14 16:08:08 +01:00
Ophir LOJKINE
af77f1703e remove unnecessary clone 2022-03-14 15:58:42 +01:00
Ophir LOJKINE
7522df14b7 remove dead code 2022-03-14 15:50:08 +01:00
Ophir LOJKINE
004c2c9f03 more tests 2022-03-14 15:30:52 +01:00
Ophir LOJKINE
9eedc8e93b cargo fmt 2022-03-14 15:07:38 +01:00
Ophir LOJKINE
a219f0b66f Add an "if" function
If the first argument is true, returns the second argument, otherwise, return the third
2022-03-14 14:59:48 +01:00
Sebastian Schmidt
a1bfe7c0b6 Release 7.1.1
evalexpr@7.1.1

Generated by cargo-workspaces
2022-03-14 13:25:57 +02:00
Sebastian Schmidt
6ded87ff10 Prepare changelog for 7.1.1 release. 2022-03-14 13:25:37 +02:00
Sebastian Schmidt
19b4ac2e83 Update regex crate to 1.5.5 to fix security vulnerability.
See https://groups.google.com/g/rustlang-security-announcements/c/NcNNL1Jq7Yw?pli=1
2022-03-14 13:19:35 +02:00
Sebastian Schmidt
9d58d16a9b Release 7.1.0
evalexpr@7.1.0

Generated by cargo-workspaces
2022-03-13 12:38:29 +02:00
Sebastian Schmidt
2b5ed30428 Update changelog for 7.1.0 release. 2022-03-13 12:30:08 +02:00
ISibboI
6de3a0a925
Merge pull request #98 from FractalDiane/main
Implement bitwise shift functions
2022-03-13 12:23:31 +02:00
Diane Sparks
680ff4ca98
Sync readme 2022-03-06 10:28:44 -08:00
Diane Sparks
284ddfd567
Add comment separator for bitwise tests 2022-03-06 10:20:40 -08:00
Diane Sparks
d6fafc171d
Add bitwise shift functions 2022-03-06 10:17:37 -08:00
Sebastian Schmidt
85d28063ca Release 7.0.1
evalexpr@7.0.1

Generated by cargo-workspaces
2022-02-20 09:58:44 +02:00
Sebastian Schmidt
4e91a63a6f Update changelog for 7.0.1 release. 2022-02-20 09:57:39 +02:00
Sebastian Schmidt
da5036b5ea Fix dependency version numbers and update dev dependencies. 2022-02-20 09:54:24 +02:00
Sebastian Schmidt
44875d5860 Add MSRV to Cargo.toml. 2022-02-20 09:43:47 +02:00
Sebastian Schmidt
00a00ada55 Merge branch 'sebschmi/i94_parenthese_parsing_bug' into main 2022-02-20 09:33:11 +02:00
Sebastian Schmidt
8bb00c3919 Sync README. 2022-02-20 09:31:17 +02:00
ISibboI
53f2b6979b
Update README.md
Add information about untrusted input.
2022-01-18 13:41:21 +01:00
ISibboI
b5c85b367f
Merge pull request #95 from ISibboI/sebschmi/i94_parenthese_parsing_bug
Sebschmi/i94 parenthese parsing bug
2022-01-13 18:09:24 +02:00
Sebastian Schmidt
98a7ba23c3 Exclude benches from coverage. 2022-01-13 16:38:36 +02:00
Sebastian Schmidt
79cb25bc9d Increase test coverage. 2022-01-13 15:18:06 +02:00
Sebastian Schmidt
fcbf284d18 Release 7.0.0
evalexpr@7.0.0

Generated by cargo-workspaces
2022-01-13 15:02:02 +02:00
Sebastian Schmidt
7af8da5cdb Prepare 7.0.0 release. 2022-01-13 14:54:34 +02:00
Sebastian Schmidt
4e5e218d3e Fix #94.
Introduce a new error type for illegal parenthese expressions such as `4(5)`.
2022-01-13 14:50:38 +02:00
Sebastian Schmidt
2ffc88a22e Add failing examples from issue.
Relates to #94
2022-01-13 13:52:51 +02:00
Sebastian Schmidt
0e6e3daa4c Release 6.6.0
evalexpr@6.6.0

Generated by cargo-workspaces
2021-10-13 14:43:17 +03:00
Sebastian Schmidt
ea278893ac Prepare for 6.6.0 release. 2021-10-13 14:31:02 +03:00
Sebastian Schmidt
55092ce793 Merge branch '88_bitwise_operators' into main
# Conflicts:
#	CHANGELOG.md
2021-10-12 15:11:56 +03:00
Sebastian Schmidt
d2f3d415df Make functions to access operator and children of a Node public. 2021-10-12 15:10:54 +03:00
Sebastian Schmidt
b3be7f600c Implement bitwise operators as builtin functions.
Relates to #88
2021-10-12 14:59:10 +03:00
Sebastian Schmidt
e0d4ef24e5 Increase test coverage. 2021-08-16 14:23:02 +03:00
Sebastian Schmidt
7550cfe18b Change code coverage link branch to main. 2021-08-16 13:51:36 +03:00
Sebastian Schmidt
53166c7091 (cargo-release) start next development iteration 6.5.1-alpha.0 2021-08-16 13:40:19 +03:00
Sebastian Schmidt
e56e5e8033 (cargo-release) version 6.5.0 2021-08-16 13:39:26 +03:00
Sebastian Schmidt
fee65ebc03 Prepare changelog for 6.5.0. 2021-08-16 13:37:34 +03:00
Sebastian Schmidt
efd7ef5dcf Format code. 2021-08-16 13:33:56 +03:00
ISibboI
3aef19e71b
Merge pull request #91 from jakubdabek/90_function_fn_clone
Make `Function` able to hold capturing closures.

Closes #90.
2021-08-16 13:30:22 +03:00
Jakub Dąbek
6be3b7d80e Make Function able to hold capturing closures.
This commit "reverts" a change introduced in bee98999,
by making `Function` be simultaneously `Fn` and `Clone`.
2021-08-15 20:11:00 +02:00