Commit Graph

  • fed65676a2 cargo fmt. Stephen Chung 2020-09-10 17:42:34 +08:00
  • 939f4413de Add multiple registrations of plugin function names. Stephen Chung 2020-09-10 12:10:49 +08:00
  • ecce9c5477
    Merge pull request #230 from schungx/master Stephen Chung 2020-09-09 22:28:10 +08:00
  • d527ef7dbf Remove SC from codegen authors, add jhwgh1968 to Rhai authors. Stephen Chung 2020-09-09 09:12:28 +08:00
  • d127698da9
    Merge pull request #54 from jhwgh1968/plugins Stephen Chung 2020-09-09 09:08:23 +08:00
  • e6e1362a61 Do not run all workspace tests J Henry Waugh 2020-09-08 16:24:08 -05:00
  • 60ecb87c5d Put no_std_test into its own empty workspace J Henry Waugh 2020-09-08 16:17:58 -05:00
  • 229475caef Add tests fixed by workspace J Henry Waugh 2020-09-08 16:04:04 -05:00
  • 192979ebfd Crate workspace to include codegen J Henry Waugh 2020-09-08 16:03:38 -05:00
  • d41fde9c31 Use multiple renames to simplify plugins. Stephen Chung 2020-09-08 18:01:34 +08:00
  • 38ccb9e8f6
    Merge pull request #52 from jhwgh1968/rhai_fn_multi_names Stephen Chung 2020-09-08 08:57:59 +08:00
  • bd30edb877 Fix test output. Stephen Chung 2020-09-06 11:23:12 +08:00
  • 397acb4fce Add tests for multiple renames. Stephen Chung 2020-09-05 10:46:24 +08:00
  • dbfd3df810 Support multiple names in rhai_fn. Stephen Chung 2020-09-04 11:57:40 +08:00
  • 92ce5481ad Merge branch 'plugins' of https://github.com/schungx/rhai into plugins Stephen Chung 2020-09-06 15:25:20 +08:00
  • 384152004e Split internal tests into their own files J Henry Waugh 2020-09-05 14:10:46 -05:00
  • 9882b97fca Fix trybuild tests for latest nightly J Henry Waugh 2020-09-05 12:30:12 -05:00
  • 44b581c61c
    Merge pull request #51 from jhwgh1968/plugins Stephen Chung 2020-09-06 10:39:10 +08:00
  • 2ee2ca52c9 Split internal tests into their own files J Henry Waugh 2020-09-05 14:10:46 -05:00
  • 900c54bc1f Fix trybuild tests for latest nightly J Henry Waugh 2020-09-05 12:30:12 -05:00
  • 99b8228630 Use smallvec/union for nightly builds. Stephen Chung 2020-09-05 17:55:35 +08:00
  • ae953315fe Refine plugins doc. Stephen Chung 2020-09-04 15:42:31 +08:00
  • 2737fe8aa3
    Merge pull request #49 from jhwgh1968/export_prefix_fix Stephen Chung 2020-09-03 13:15:29 +08:00
  • 0b3fef6651 Add nested module export_prefix test J Henry Waugh 2020-09-02 20:31:16 -05:00
  • 5585405bdc Make export_prefix use fn name not export name J Henry Waugh 2020-09-02 20:10:52 -05:00
  • ce00ce77f0
    Merge pull request #48 from jhwgh1968/export_visibility_attrs Stephen Chung 2020-09-02 16:05:34 +08:00
  • 3af49cec70 Implement export_* attributes for macros J Henry Waugh 2020-09-01 23:15:22 -05:00
  • 6dac069c15
    Merge pull request #47 from jhwgh1968/plugin_doc_updates Stephen Chung 2020-09-01 14:26:32 +08:00
  • c5b2debf4a Book updates for Plugins J Henry Waugh 2020-08-31 19:03:45 -05:00
  • 91963d10dc
    Merge pull request #229 from schungx/master Stephen Chung 2020-08-31 12:30:55 +08:00
  • 91b4f8a6bc Fix no-std build. Stephen Chung 2020-08-31 12:09:52 +08:00
  • f4e4958973 Fix typos. Stephen Chung 2020-08-31 12:03:30 +08:00
  • ee3781e86e Simplify error handling code. Stephen Chung 2020-08-31 11:46:32 +08:00
  • ef9b90c3ef Add entry on plugins. Stephen Chung 2020-08-31 11:23:11 +08:00
  • cd3270c44e
    Merge pull request #46 from schungx/plugins_dev Stephen Chung 2020-08-31 09:27:40 +08:00
  • 32985c9480 Fix string package for no_std. Stephen Chung 2020-08-30 23:18:47 +08:00
  • 4d9aad816c Add writeup on plugins. Stephen Chung 2020-08-30 23:13:47 +08:00
  • 512951cceb Merge branch 'plugins_dev' of https://github.com/schungx/rhai into plugins_dev Stephen Chung 2020-08-30 17:31:35 +08:00
  • 75ca495199 Nicer formatting/less indentation of module plugin blocks. Stephen Chung 2020-08-28 23:13:38 +08:00
  • b72a6355fd Fix docs on sign result. Stephen Chung 2020-08-28 16:46:06 +08:00
  • 9ba7a1245d Restructure book chapters. Stephen Chung 2020-08-30 17:27:42 +08:00
  • cd867b180f Restructure book chapters. Stephen Chung 2020-08-30 17:25:36 +08:00
  • 3892ffe842
    Merge pull request #227 from schungx/master Stephen Chung 2020-08-29 15:58:21 +08:00
  • 8736919cea Nicer formatting/less indentation of module plugin blocks. Stephen Chung 2020-08-28 23:13:38 +08:00
  • b4406f2302 Fix docs on sign result. Stephen Chung 2020-08-28 16:46:06 +08:00
  • 0a3b5e2bc2
    Merge pull request #45 from jhwgh1968/diagnostic_improvements Stephen Chung 2020-08-28 16:41:52 +08:00
  • e66adaa60f Revert diagnostic tests which trigger trybuild path bug J Henry Waugh 2020-08-27 23:33:42 -05:00
  • d8e85df9dc Add return_raw tests for rhai_fn in module J Henry Waugh 2020-08-27 23:11:22 -05:00
  • 62dc142c58 Avoid bypassing setter checks by making fn.params.skip private J Henry Waugh 2020-08-27 23:08:34 -05:00
  • fedc4c5338 Add exported_fn tests for rhai_fn in module J Henry Waugh 2020-08-27 22:59:25 -05:00
  • 8de095fa36 Improve diagnostics for non-clonable return types J Henry Waugh 2020-08-27 22:49:56 -05:00
  • 525ffe6f5a Improve diagnostics for duplicated names J Henry Waugh 2020-08-27 22:26:05 -05:00
  • a50da4bb8c
    Merge pull request #44 from schungx/plugins_dev Stephen Chung 2020-08-26 09:48:07 +08:00
  • 402c85ca65 Fix no_std build. Stephen Chung 2020-08-25 09:41:52 +08:00
  • 790878f209 Add missing operators for f32. Stephen Chung 2020-08-25 09:27:47 +08:00
  • 9ab3d87cfc Refactor. Stephen Chung 2020-08-24 22:37:44 +08:00
  • 2fbc1b7910 Add missing pub to functions. Stephen Chung 2020-08-24 10:38:15 +08:00
  • db1bb6e7e2
    Merge pull request #41 from schungx/plugins_dev Stephen Chung 2020-08-24 09:12:39 +08:00
  • 03237c9852 Merge branch 'plugins' into plugins_dev Stephen Chung 2020-08-24 08:36:15 +08:00
  • b3d995fea7
    Merge pull request #43 from jhwgh1968/macro_refactor Stephen Chung 2020-08-24 08:29:30 +08:00
  • 5498443517 Major refactor of attribute handling J Henry Waugh 2020-08-23 17:53:30 -05:00
  • 9fe3672514 string_more: add missing pub from crop_string J Henry Waugh 2020-08-23 17:47:43 -05:00
  • bb6a044182 Add test case for overloading rename J Henry Waugh 2020-08-23 17:44:29 -05:00
  • 3fd3da6bfc Improve diagonstics on return_raw return mismatches J Henry Waugh 2020-08-23 17:22:29 -05:00
  • 7c273e0aac Add missing skip submodule test J Henry Waugh 2020-08-23 14:22:49 -05:00
  • 1dacf21a84 Fix no_std builds by pulling in num-traits. Stephen Chung 2020-08-23 18:28:55 +08:00
  • 3902e49a7d Fix bug in right-shifts. Stephen Chung 2020-08-23 18:04:19 +08:00
  • a72f797da1 Merge branch 'plugins' into plugins_dev Stephen Chung 2020-08-23 17:54:37 +08:00
  • 4fff90d19b Merge branch 'master' into plugins Stephen Chung 2020-08-23 17:54:02 +08:00
  • 7cd345b128 Fix bug in closure capture for no_object. Stephen Chung 2020-08-23 17:46:39 +08:00
  • 57acd618de Merge branch 'master' into plugins Stephen Chung 2020-08-23 17:24:27 +08:00
  • e2f271644a Expand packages and raw Engine write-up. Stephen Chung 2020-08-23 17:22:39 +08:00
  • 196e145c96 Derive standard traits for Limits. Stephen Chung 2020-08-23 16:29:32 +08:00
  • f4c74cc03b Add external closure test. Stephen Chung 2020-08-23 16:29:15 +08:00
  • d134b72473 Add link from parse_json to serde. Stephen Chung 2020-08-23 14:50:53 +08:00
  • e52f8c3aca Merge branch 'plugins' into plugins_dev Stephen Chung 2020-08-23 12:16:07 +08:00
  • c6a3397b29 Remove dependency on num-traits. Stephen Chung 2020-08-23 11:16:08 +08:00
  • 99aaf8fb46
    Merge pull request #224 from schungx/master Stephen Chung 2020-08-22 23:09:26 +08:00
  • c62914b91a Merge branch 'master' into plugins_dev Stephen Chung 2020-08-22 23:04:34 +08:00
  • 86c7862ac4 Merge branch 'master' into plugins Stephen Chung 2020-08-22 23:03:32 +08:00
  • 177a0de23c Fix closure test. Stephen Chung 2020-08-22 23:01:25 +08:00
  • 3042e3d9db Merge branch 'master' into plugins_dev Stephen Chung 2020-08-22 22:51:41 +08:00
  • 0ece75aba3 Allow module access in closures. Stephen Chung 2020-08-22 22:44:24 +08:00
  • 211ce54973 Move most packages to modules. Stephen Chung 2020-08-22 22:26:49 +08:00
  • 5d6fdba24d Merge branch 'plugins' into plugins_dev Stephen Chung 2020-08-22 16:20:53 +08:00
  • 812a1e690b
    Merge pull request #42 from jhwgh1968/submodules_cfg Stephen Chung 2020-08-22 15:54:01 +08:00
  • 65009dd193 Block #[cfg] attributes on inner constants J Henry Waugh 2020-08-21 23:21:56 -05:00
  • 55870e7b37 Add #[cfg] support in submodules J Henry Waugh 2020-08-21 23:05:18 -05:00
  • 382e60e91a Move UI tests to separate tests file J Henry Waugh 2020-08-21 22:49:15 -05:00
  • 708c0f385e Block #[cfg] attributes on exported or inner functions J Henry Waugh 2020-08-21 22:30:10 -05:00
  • 15a8f528ae Avoid export_fn+cfg attributes in Rhai packages J Henry Waugh 2020-08-21 22:29:04 -05:00
  • 0b04d05afe Do not parse closures when allow_anonymous_fn is false. Stephen Chung 2020-08-22 11:08:27 +08:00
  • 5b3467631f No need for rhai_mod if not renaming. Stephen Chung 2020-08-22 10:44:51 +08:00
  • 08977e2a62 Use combine_flatten for plugin modules. Stephen Chung 2020-08-21 21:48:45 +08:00
  • 40f71320f3 Merge branch 'plugins' into plugins_dev Stephen Chung 2020-08-21 14:40:14 +08:00
  • 5b507f9c60
    Merge pull request #40 from jhwgh1968/submodule_nesting Stephen Chung 2020-08-21 14:21:01 +08:00
  • 7962c6dc52 codegen: add rhai_mod and submodule support J Henry Waugh 2020-08-20 22:20:12 -05:00
  • 3c0d431fd2 Merge branch 'plugins' into plugins_dev Stephen Chung 2020-08-20 22:14:56 +08:00
  • 729ab99ec3 Refine packages. Stephen Chung 2020-08-20 22:11:41 +08:00
  • 87685f653b
    Merge pull request #223 from schungx/master Stephen Chung 2020-08-20 17:28:37 +08:00