Commit Graph

1417 Commits

Author SHA1 Message Date
J Henry Waugh
3ccc08b6e0 Convert args length check to debug assert 2020-08-15 14:25:19 -05:00
Stephen Chung
db9d8b81cf Move BasicStringsPackage to plugins. 2020-08-15 12:57:47 +08:00
Stephen Chung
73f35f9518 Merge branch 'master' into plugins 2020-08-15 12:10:07 +08:00
Stephen Chung
6b5741ecaa
Merge pull request #34 from jhwgh1968/plugins
Improve CI and Fix Warnings and Errors
2020-08-15 11:13:09 +08:00
J Henry Waugh
e4045256fe Fix type resolution issue with no_float enabled 2020-08-14 19:39:28 -05:00
J Henry Waugh
89de2fe6b2 Feature gate make_getter imports 2020-08-14 19:37:34 -05:00
J Henry Waugh
eabf9db263 Add missing num_traits import 2020-08-14 19:37:25 -05:00
J Henry Waugh
7fcbfcc7fd codegen: explicit import of format! macro 2020-08-14 19:37:25 -05:00
J Henry Waugh
1051a3f108 Add missing import of String and ToString 2020-08-14 19:37:25 -05:00
J Henry Waugh
e6a1b88b4c Fully feature gate array string functions 2020-08-14 19:37:25 -05:00
J Henry Waugh
4de02c2bd7 Remove extra import 2020-08-14 16:30:00 -05:00
J Henry Waugh
431c80b46b Run CI on every push to plugins branch 2020-08-14 16:27:47 -05:00
Stephen Chung
f9807a3c1e Remove content on avoiding &mut ImmutableString which is invalid. 2020-08-15 00:10:14 +08:00
Stephen Chung
489b1ca00e Add Module::combine. 2020-08-15 00:08:00 +08:00
Stephen Chung
209d1a174c Yet more packages into plugins. 2020-08-15 00:04:10 +08:00
Stephen Chung
ceb1a26733 Move more packages to plugins. 2020-08-14 18:58:34 +08:00
Stephen Chung
95208e46ba
Merge pull request #216 from PsychoLlama/master
Remove extra quote in strings example
2020-08-14 16:43:00 +08:00
Jesse Gibson
9c07f3dbb0 Remove extra quote in strings example
More like triple quote amirite
2020-08-14 00:10:16 -06:00
Stephen Chung
c0dc47c9db Convert some packages into plugins. 2020-08-14 13:43:26 +08:00
Stephen Chung
2495b367e5 Merge branch 'plugins' of https://github.com/schungx/rhai into plugins 2020-08-14 13:40:33 +08:00
Stephen Chung
26a622b201
Merge pull request #33 from jhwgh1968/fix
Fix lots of import and resolution issues
2020-08-14 13:39:15 +08:00
J Henry Waugh
b27ebb318d Rearrange imports to support no_std 2020-08-13 23:04:30 -05:00
Stephen Chung
d2ea981fac Merge branch 'master' into plugins 2020-08-14 11:45:52 +08:00
J Henry Waugh
e77dc4cc34 Fix missing import in test_functions 2020-08-13 22:07:37 -05:00
Stephen Chung
b956639c2a Move some math functions into plugins. 2020-08-13 14:57:46 +08:00
Stephen Chung
631c4be064 rhai::FnAccess -> FnAccess to enable use in internal code. 2020-08-13 14:57:23 +08:00
Stephen Chung
bb334eecc7
Merge pull request #32 from jhwgh1968/plugins
Split function register macro, add Engine register support
2020-08-13 13:07:02 +08:00
J Henry Waugh
fdcaa90cd9 Clean up plugin module for no_module macro support 2020-08-12 23:57:57 -05:00
J Henry Waugh
0fb61eab00 Fix plugin test 2020-08-12 23:47:57 -05:00
J Henry Waugh
a25f6b35a1 Add new macro_register test which runs in no_std 2020-08-12 23:46:12 -05:00
J Henry Waugh
1a2ef7b531 Fix macro_unroll test 2020-08-12 23:40:50 -05:00
J Henry Waugh
28572544d8 Split register export macro, add Engine support 2020-08-12 23:36:35 -05:00
Stephen Chung
36865593ec
Merge pull request #31 from jhwgh1968/plugins
codegen: replace downcast_clone with more efficient mem::take
2020-08-12 08:49:07 +08:00
J Henry Waugh
59e3ca0e79 Remove Dynamic::downcast_clone 2020-08-11 19:09:49 -05:00
J Henry Waugh
6d11fdcd18 codegen: replace downcast_clone with more efficient mem::take 2020-08-11 19:05:52 -05:00
Stephen Chung
a5b4d61dff Fix docs. 2020-08-11 13:46:09 +08:00
Stephen Chung
2d4b85f67d Add cusotm syntax. 2020-08-10 12:03:22 +08:00
Stephen Chung
7506aee5c6
Merge pull request #29 from jhwgh1968/macro_unroll
Create functional test for generated bulk exports
2020-08-10 12:02:58 +08:00
Stephen Chung
f98cea4f20
Merge pull request #30 from jhwgh1968/plugins
export_fn: add return_raw attribute
2020-08-10 09:27:12 +08:00
J Henry Waugh
07a4541949 export_fn: add return_raw attribute 2020-08-09 14:19:47 -05:00
J Henry Waugh
ce8fbe40c4 Fold into fully generic form 2020-08-09 12:13:02 -05:00
J Henry Waugh
3fa252e732 Fold generate_add once more 2020-08-09 12:04:50 -05:00
J Henry Waugh
a45b1d406f Add only_i32 feature support 2020-08-09 11:47:11 -05:00
J Henry Waugh
dc7b36fd11 Fix for stable 2020-08-09 11:42:37 -05:00
J Henry Waugh
a24d11324c Create functional test for generated bulk operations 2020-08-09 11:21:29 -05:00
Stephen Chung
564d3bc339 Add more closure tests. 2020-08-09 22:12:50 +08:00
Stephen Chung
dbf5cd13c8
Merge pull request #28 from Eliah-Lakhin/closure-bugs
False-positive capturing prevention bug fix
2020-08-09 22:05:40 +08:00
Ilya Lakhin
d84ef1a0d1 CLosures test fix 2020-08-09 18:55:01 +07:00
Ilya Lakhin
39ee74112c no-closure feature issue fixed 2020-08-09 18:42:33 +07:00
Ilya Lakhin
20cff87e14 False-positive capturing prevention bug fix 2020-08-09 18:35:29 +07:00