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
|
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
|
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 |
|
Stephen Chung
|
29124a8543
|
Restore benchmark.yml.
|
2020-09-15 12:14:57 +08:00 |
|
Stephen Chung
|
f69cd44f1a
|
Merge branch 'master' of https://github.com/schungx/rhai
|
2020-09-15 11:26:03 +08:00 |
|
Stephen Chung
|
88e788208b
|
Merge pull request #57 from Eliah-Lakhin/set-fn-4-mut-bug
Fixes bug in Module::set_fn_4_mut
|
2020-09-15 11:24:16 +08:00 |
|
Ilya Lakhin
|
4bb1a34abb
|
Fixes bug in Module::set_fn_4_mut
|
2020-09-15 10:14:34 +07:00 |
|
Stephen Chung
|
2221d523f0
|
Merge pull request #232 from schungx/master
Refine plugins.
|
2020-09-14 22:34:13 +08:00 |
|
Stephen Chung
|
db59aed14e
|
Fix bug in optimizer for if statements with empty true blocks.
|
2020-09-14 22:24:55 +08:00 |
|
Stephen Chung
|
5879f467d8
|
Merge pull request #55 from jhwgh1968/getters_setters
Reorganize get/set/index code into FnSpecialAccess
|
2020-09-13 17:37:28 +08:00 |
|
J Henry Waugh
|
381e80179e
|
Re-bless ui tests
|
2020-09-12 22:57:17 -05:00 |
|
J Henry Waugh
|
b1f23ac3ed
|
Enforce signatures on user get/set/index functions
|
2020-09-12 22:48:40 -05:00 |
|
J Henry Waugh
|
0a2f93439e
|
Reorganize get/set/index code into FnSpecialAccess
|
2020-09-12 22:48:34 -05:00 |
|
J Henry Waugh
|
335d853060
|
Unit tests for rename + getter/setter/indexer
|
2020-09-12 22:46:45 -05:00 |
|
J Henry Waugh
|
18032ab8a0
|
Unit test for multiple renames
|
2020-09-12 22:46:45 -05:00 |
|
J Henry Waugh
|
cecf3dd585
|
Unit tests for index getters and setters
|
2020-09-12 22:46:45 -05:00 |
|
J Henry Waugh
|
b74923a63c
|
Unit tests for property getters and setters
|
2020-09-12 22:46:45 -05:00 |
|
J Henry Waugh
|
43969a7bee
|
Forbid $ in renames
|
2020-09-12 22:46:45 -05:00 |
|
J Henry Waugh
|
6e701bfe83
|
Catch getter, setter, indexer errors
|
2020-09-12 22:46:45 -05:00 |
|
Stephen Chung
|
b311688fee
|
Fix test.
|
2020-09-11 22:56:19 +08:00 |
|
Stephen Chung
|
36fe02558e
|
Fix tests output.
|
2020-09-11 22:45:15 +08:00 |
|
Stephen Chung
|
6c69a40083
|
Allow scripted functions in packages.
|
2020-09-11 22:32:59 +08:00 |
|
Stephen Chung
|
a75aba8a85
|
Rename calc_fn_spec to calc_fn_hash.
|
2020-09-11 22:24:44 +08:00 |
|
Stephen Chung
|
d1ab9a2848
|
Fix bug on unary function hashes.
|
2020-09-11 22:09:09 +08:00 |
|
Stephen Chung
|
c7de72aba2
|
Clarify private module functions/variables.
|
2020-09-10 17:42:53 +08:00 |
|