Commit Graph

1326 Commits

Author SHA1 Message Date
Stephen Chung
99b8228630 Use smallvec/union for nightly builds. 2020-09-05 17:55:35 +08:00
Stephen Chung
ae953315fe Refine plugins doc. 2020-09-04 15:42:31 +08:00
Stephen Chung
2737fe8aa3
Merge pull request #49 from jhwgh1968/export_prefix_fix
Fix for export_prefix attribute on module macros
2020-09-03 13:15:29 +08:00
J Henry Waugh
0b3fef6651 Add nested module export_prefix test 2020-09-02 20:31:22 -05:00
J Henry Waugh
5585405bdc Make export_prefix use fn name not export name 2020-09-02 20:10:52 -05:00
Stephen Chung
ce00ce77f0
Merge pull request #48 from jhwgh1968/export_visibility_attrs
Implement export_* attributes for macros
2020-09-02 16:05:34 +08:00
J Henry Waugh
3af49cec70 Implement export_* attributes for macros 2020-09-01 23:15:28 -05:00
Stephen Chung
6dac069c15
Merge pull request #47 from jhwgh1968/plugin_doc_updates
Book updates for Plugins
2020-09-01 14:26:32 +08:00
J Henry Waugh
c5b2debf4a Book updates for Plugins 2020-08-31 19:03:45 -05:00
Stephen Chung
91963d10dc
Merge pull request #229 from schungx/master
Plugins.
2020-08-31 12:30:55 +08:00
Stephen Chung
91b4f8a6bc Fix no-std build. 2020-08-31 12:09:52 +08:00
Stephen Chung
f4e4958973 Fix typos. 2020-08-31 12:03:30 +08:00
Stephen Chung
ee3781e86e Simplify error handling code. 2020-08-31 11:46:32 +08:00
Stephen Chung
ef9b90c3ef Add entry on plugins. 2020-08-31 11:23:11 +08:00
Stephen Chung
cd3270c44e
Merge pull request #46 from schungx/plugins_dev
Better formatting of plugin code blocks, add documentation.
2020-08-31 09:27:40 +08:00
Stephen Chung
32985c9480 Fix string package for no_std. 2020-08-30 23:18:47 +08:00
Stephen Chung
4d9aad816c Add writeup on plugins. 2020-08-30 23:13:47 +08:00
Stephen Chung
512951cceb Merge branch 'plugins_dev' of https://github.com/schungx/rhai into plugins_dev 2020-08-30 17:31:35 +08:00
Stephen Chung
75ca495199 Nicer formatting/less indentation of module plugin blocks. 2020-08-30 17:28:53 +08:00
Stephen Chung
b72a6355fd Fix docs on sign result. 2020-08-30 17:28:53 +08:00
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
3892ffe842
Merge pull request #227 from schungx/master
Minor refactoring.
2020-08-29 15:58:21 +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