Commit Graph

1718 Commits

Author SHA1 Message Date
J Henry Waugh
896761eaa9 Update CI to enforce clippy::perf 2020-09-20 13:11:15 -05:00
J Henry Waugh
c8dffff515 Fix clippy::perf lint errors 2020-09-20 13:07:46 -05:00
J Henry Waugh
788a22108b Hide clippy errors from exported modules 2020-09-20 13:03:35 -05:00
J Henry Waugh
795c3f870b New CI Job for Formatting 2020-09-20 12:47:33 -05:00
J Henry Waugh
c389014df7 Run cargo fmt for loose ends 2020-09-20 12:40:21 -05:00
Stephen Chung
e89cec2829 Revert "Delete benchmark.yml"
This reverts commit 44416ecb05.
2020-09-20 18:42:17 +08:00
Stephen Chung
1d77e3e174
Merge pull request #238 from schungx/master
Support &str and String parameters in modules.
2020-09-20 18:41:47 +08:00
Stephen Chung
44416ecb05
Delete benchmark.yml 2020-09-20 18:33:52 +08:00
Stephen Chung
a49b58002a Fix doc tests. 2020-09-20 15:55:11 +08:00
Stephen Chung
c7a675e18a Fix no_object builds. 2020-09-20 14:52:38 +08:00
Stephen Chung
1ae6af5289 Merge branch 'plugins_dev' of https://github.com/schungx/rhai into plugins 2020-09-20 14:32:44 +08:00
Stephen Chung
3a98567139 Use take_string. 2020-09-20 14:29:10 +08:00
Stephen Chung
d8d3b52d64 Merge branch 'plugins_dev' of https://github.com/schungx/rhai into plugins_dev 2020-09-20 14:25:31 +08:00
Stephen Chung
2ba875a177 Use take_string for &str and String parameters. 2020-09-20 14:23:14 +08:00
Stephen Chung
bf245a798b Enable String parameters. 2020-09-20 10:51:37 +08:00
Stephen Chung
5a7a0f11ae Fix doc test. 2020-09-20 10:51:37 +08:00
Stephen Chung
cfe28c9282 Remove Position parameter from plugin call function. 2020-09-20 10:51:37 +08:00
Stephen Chung
7c3498a4e1 Prevent errors when using alternative error printout style. 2020-09-20 10:51:37 +08:00
Stephen Chung
3341f40fd2 Refine docs. 2020-09-20 10:50:58 +08:00
Stephen Chung
20a453b3cc Enable String parameters. 2020-09-19 18:18:40 +08:00
Stephen Chung
39546b7053 Enable &str and String parameters in module functions. 2020-09-19 18:12:23 +08:00
Stephen Chung
2ff3a1fde5 Refine docs. 2020-09-19 12:14:02 +08:00
Stephen Chung
f5d132d1f4 Fix doc test. 2020-09-18 14:12:57 +08:00
Stephen Chung
fe718fea39 Remove Position parameter from plugin call function. 2020-09-18 13:59:38 +08:00
Stephen Chung
23b5bc4bd9 Prevent errors when using alternative error printout style. 2020-09-18 12:31:41 +08:00
Stephen Chung
b795ce9f45 Refine docs. 2020-09-18 11:52:23 +08:00
Stephen Chung
206f21c26f
Merge pull request #56 from schungx/plugins_dev
Add combine_with_exported_module and a type cast fix for constants.
2020-09-18 11:49:39 +08:00
Stephen Chung
92be487e80 Implement constants via calling the constant. 2020-09-17 20:27:45 -05:00
Stephen Chung
c07c4561eb Remove unused_variables. 2020-09-17 20:27:45 -05:00
Stephen Chung
5e4ba9c016 Swich back to assert_eq! for token stream tests. 2020-09-17 20:27:45 -05:00
Stephen Chung
c692cd7e35 Fix tests. 2020-09-16 21:53:22 -05:00
Stephen Chung
3dc599c936 Streamline rhai_generate. 2020-09-16 21:53:22 -05:00
Stephen Chung
1060ff35fd Fix tests. 2020-09-16 21:53:22 -05:00
Stephen Chung
d1d3aaf374 Add cast to type for constants to avoid mis-typing. 2020-09-16 21:53:22 -05:00
Stephen Chung
7ceb624ec1 Add combine_with_exported_module. 2020-09-16 21:53:22 -05:00
Stephen Chung
c63f30a6a2 Fix tests. 2020-09-16 21:53:22 -05:00
Stephen Chung
52298bd96c Streamline rhai_generate. 2020-09-16 21:53:22 -05:00
Stephen Chung
654da2db8a Fix tests. 2020-09-16 21:53:22 -05:00
Stephen Chung
d57ce9c050 Remove warning about unused constants in modules. 2020-09-16 21:53:22 -05:00
Stephen Chung
6126f0cb10 Add cast to type for constants to avoid mis-typing. 2020-09-16 21:53:22 -05:00
Stephen Chung
f1d85ae99c Add combine_with_exported_module. 2020-09-16 21:53:22 -05:00
Stephen Chung
6dc5a81d53 Add cast to type for constants to avoid mis-typing. 2020-09-16 21:50:49 -05:00
Stephen Chung
848bdf3f01 Add combine_with_exported_module. 2020-09-16 21:50:44 -05:00
Stephen Chung
aed70db303 Revert "Delete benchmark.yml"
This reverts commit d547562c14.
2020-09-15 12:30:40 +08:00
Stephen Chung
2c1b75e0bb
Merge pull request #234 from schungx/master
Fixes bug in Module::set_fn_4_mut
2020-09-15 12:29:41 +08:00
Stephen Chung
d547562c14
Delete benchmark.yml 2020-09-15 12:29:10 +08:00
Stephen Chung
b0d86d8bf2 Revert "Delete benchmark.yml"
This reverts commit 83a2b40107.
2020-09-15 12:23:57 +08:00
Stephen Chung
c2a6fd5796 Merge branch 'master' of https://github.com/schungx/rhai 2020-09-15 12:22:05 +08:00
Stephen Chung
7f8269c288 Add bug fixes. 2020-09-15 12:21:51 +08:00
Stephen Chung
83a2b40107
Delete benchmark.yml 2020-09-15 12:19:26 +08:00