Commit Graph

1295 Commits

Author SHA1 Message Date
Stephen Chung
9ba7a1245d Restructure book chapters. 2020-08-30 17:27:42 +08:00
Stephen Chung
cd867b180f Restructure book chapters. 2020-08-30 17:25:36 +08:00
Stephen Chung
8736919cea Nicer formatting/less indentation of module plugin blocks. 2020-08-28 23:13:38 +08:00
Stephen Chung
b4406f2302 Fix docs on sign result. 2020-08-28 16:46:06 +08:00
Stephen Chung
0a3b5e2bc2
Merge pull request #45 from jhwgh1968/diagnostic_improvements
Diagnostic improvements for Codegen Macros
2020-08-28 16:41:52 +08:00
J Henry Waugh
e66adaa60f Revert diagnostic tests which trigger trybuild path bug 2020-08-27 23:33:46 -05:00
J Henry Waugh
d8e85df9dc Add return_raw tests for rhai_fn in module 2020-08-27 23:13:44 -05:00
J Henry Waugh
62dc142c58 Avoid bypassing setter checks by making fn.params.skip private 2020-08-27 23:13:44 -05:00
J Henry Waugh
fedc4c5338 Add exported_fn tests for rhai_fn in module 2020-08-27 23:13:44 -05:00
J Henry Waugh
8de095fa36 Improve diagnostics for non-clonable return types 2020-08-27 23:13:44 -05:00
J Henry Waugh
525ffe6f5a Improve diagnostics for duplicated names 2020-08-27 23:13:44 -05:00
Stephen Chung
a50da4bb8c
Merge pull request #44 from schungx/plugins_dev
Add missing pub's and refactor packages.
2020-08-26 09:48:07 +08:00
Stephen Chung
402c85ca65 Fix no_std build. 2020-08-25 09:41:52 +08:00
Stephen Chung
790878f209 Add missing operators for f32. 2020-08-25 09:27:47 +08:00
Stephen Chung
9ab3d87cfc Refactor. 2020-08-24 22:37:44 +08:00
Stephen Chung
2fbc1b7910 Add missing pub to functions. 2020-08-24 10:38:15 +08:00
Stephen Chung
db1bb6e7e2
Merge pull request #41 from schungx/plugins_dev
New PR
2020-08-24 09:12:39 +08:00
Stephen Chung
03237c9852 Merge branch 'plugins' into plugins_dev 2020-08-24 08:36:15 +08:00
Stephen Chung
b3d995fea7
Merge pull request #43 from jhwgh1968/macro_refactor
Major refactor of attribute handling, test and diagnostic improvements
2020-08-24 08:29:30 +08:00
J Henry Waugh
5498443517 Major refactor of attribute handling 2020-08-23 17:53:37 -05:00
J Henry Waugh
9fe3672514 string_more: add missing pub from crop_string 2020-08-23 17:49:50 -05:00
J Henry Waugh
bb6a044182 Add test case for overloading rename 2020-08-23 17:49:50 -05:00
J Henry Waugh
3fd3da6bfc Improve diagonstics on return_raw return mismatches 2020-08-23 17:24:18 -05:00
J Henry Waugh
7c273e0aac Add missing skip submodule test 2020-08-23 17:24:18 -05:00
Stephen Chung
1dacf21a84 Fix no_std builds by pulling in num-traits. 2020-08-23 18:28:55 +08:00
Stephen Chung
3902e49a7d Fix bug in right-shifts. 2020-08-23 18:04:19 +08:00
Stephen Chung
a72f797da1 Merge branch 'plugins' into plugins_dev 2020-08-23 17:54:37 +08:00
Stephen Chung
4fff90d19b Merge branch 'master' into plugins 2020-08-23 17:54:02 +08:00
Stephen Chung
7cd345b128 Fix bug in closure capture for no_object. 2020-08-23 17:46:39 +08:00
Stephen Chung
57acd618de Merge branch 'master' into plugins 2020-08-23 17:24:27 +08:00
Stephen Chung
e2f271644a Expand packages and raw Engine write-up. 2020-08-23 17:22:39 +08:00
Stephen Chung
196e145c96 Derive standard traits for Limits. 2020-08-23 16:29:32 +08:00
Stephen Chung
f4c74cc03b Add external closure test. 2020-08-23 16:29:15 +08:00
Stephen Chung
d134b72473 Add link from parse_json to serde. 2020-08-23 14:50:53 +08:00
Stephen Chung
e52f8c3aca Merge branch 'plugins' into plugins_dev 2020-08-23 12:16:07 +08:00
Stephen Chung
c6a3397b29 Remove dependency on num-traits. 2020-08-23 11:16:08 +08:00
Stephen Chung
c62914b91a Merge branch 'master' into plugins_dev 2020-08-22 23:04:34 +08:00
Stephen Chung
86c7862ac4 Merge branch 'master' into plugins 2020-08-22 23:03:32 +08:00
Stephen Chung
177a0de23c Fix closure test. 2020-08-22 23:01:25 +08:00
Stephen Chung
3042e3d9db Merge branch 'master' into plugins_dev 2020-08-22 22:51:41 +08:00
Stephen Chung
0ece75aba3 Allow module access in closures. 2020-08-22 22:44:24 +08:00
Stephen Chung
211ce54973 Move most packages to modules. 2020-08-22 22:26:49 +08:00
Stephen Chung
5d6fdba24d Merge branch 'plugins' into plugins_dev 2020-08-22 16:20:53 +08:00
Stephen Chung
812a1e690b
Merge pull request #42 from jhwgh1968/submodules_cfg
Add #[cfg] support in submodules
2020-08-22 15:54:01 +08:00
J Henry Waugh
65009dd193 Block #[cfg] attributes on inner constants 2020-08-21 23:26:25 -05:00
J Henry Waugh
55870e7b37 Add #[cfg] support in submodules 2020-08-21 23:26:25 -05:00
J Henry Waugh
382e60e91a Move UI tests to separate tests file 2020-08-21 23:26:25 -05:00
J Henry Waugh
708c0f385e Block #[cfg] attributes on exported or inner functions 2020-08-21 23:26:25 -05:00
J Henry Waugh
15a8f528ae Avoid export_fn+cfg attributes in Rhai packages 2020-08-21 23:26:24 -05:00
Stephen Chung
0b04d05afe Do not parse closures when allow_anonymous_fn is false. 2020-08-22 11:08:27 +08:00