Commit Graph

1325 Commits

Author SHA1 Message Date
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
Stephen Chung
fed65676a2 cargo fmt. 2020-09-10 17:42:34 +08:00
Stephen Chung
939f4413de Add multiple registrations of plugin function names. 2020-09-10 12:10:49 +08:00
Stephen Chung
ecce9c5477
Merge pull request #230 from schungx/master
Refine plugins.
2020-09-09 22:28:10 +08:00
Stephen Chung
d527ef7dbf Remove SC from codegen authors, add jhwgh1968 to Rhai authors. 2020-09-09 09:12:28 +08:00
Stephen Chung
d127698da9
Merge pull request #54 from jhwgh1968/plugins
Add workspace, for both publishing and codegen tests
2020-09-09 09:08:23 +08:00
J Henry Waugh
e6e1362a61 Do not run all workspace tests 2020-09-08 16:24:08 -05:00
J Henry Waugh
60ecb87c5d Put no_std_test into its own empty workspace 2020-09-08 16:17:58 -05:00
J Henry Waugh
229475caef Add tests fixed by workspace 2020-09-08 16:04:04 -05:00
J Henry Waugh
192979ebfd Crate workspace to include codegen 2020-09-08 16:03:38 -05:00
Stephen Chung
d41fde9c31 Use multiple renames to simplify plugins. 2020-09-08 18:01:34 +08:00
Stephen Chung
38ccb9e8f6
Merge pull request #52 from jhwgh1968/rhai_fn_multi_names
Support multiple names in rhai_fn
2020-09-08 08:57:59 +08:00
Stephen Chung
bd30edb877 Fix test output. 2020-09-07 17:08:47 -05:00
Stephen Chung
397acb4fce Add tests for multiple renames. 2020-09-07 17:08:41 -05:00
Stephen Chung
dbfd3df810 Support multiple names in rhai_fn. 2020-09-07 17:08:37 -05:00
Stephen Chung
92ce5481ad Merge branch 'plugins' of https://github.com/schungx/rhai into plugins 2020-09-06 15:25:20 +08:00
J Henry Waugh
384152004e Split internal tests into their own files 2020-09-06 15:25:01 +08:00
J Henry Waugh
9882b97fca Fix trybuild tests for latest nightly 2020-09-06 15:25:01 +08:00
Stephen Chung
44b581c61c
Merge pull request #51 from jhwgh1968/plugins
Fix CI and reorganize tests
2020-09-06 10:39:10 +08:00
J Henry Waugh
2ee2ca52c9 Split internal tests into their own files 2020-09-05 14:10:48 -05:00
J Henry Waugh
900c54bc1f Fix trybuild tests for latest nightly 2020-09-05 12:30:12 -05:00
Stephen Chung
99b8228630 Use smallvec/union for nightly builds. 2020-09-05 17:55:35 +08:00