Commit Graph

250 Commits

Author SHA1 Message Date
Stephen Chung
4c658bc932 Bump version to 1.1.0. 2021-08-17 15:51:13 +08:00
Stephen Chung
288d575046 Add log10 for Decimal. 2021-08-17 15:50:56 +08:00
Stephen Chung
0481073ed9 Bump version. 2021-08-17 15:43:02 +08:00
Stephen Chung
d0f6a2283f Bump version. 2021-08-17 15:41:46 +08:00
Stephen Chung
805163912d Bump version. 2021-08-06 15:30:47 +08:00
Stephen Chung
39f4baf769 Bump Instant version to 0.1.10 to avoid erros when compiling with emscripten. 2021-07-30 17:36:32 +08:00
Stephen Chung
fe6691752b Use smartstring 0.2.7 for no-std. 2021-07-12 12:11:53 +08:00
Stephen Chung
75a8a4d4e3 Enable json command in REPL. 2021-07-08 14:09:31 +08:00
Stephen Chung
ae1f859225 Bump codegen version requirement. 2021-07-08 12:07:30 +08:00
Stephen Chung
68270e9b61 Revert no-std profile changes and fix README. 2021-07-04 17:09:50 +08:00
Stephen Chung
f3541bae19 Update SmartString to work for no-std. 2021-07-01 18:44:01 +08:00
Stephen Chung
83297ffa00 Bump version to 1.0. 2021-06-24 11:50:03 +08:00
Stephen Chung
ba0cf80314 Prepare for 0.20.3 release. 2021-06-22 22:32:50 +08:00
Stephen Chung
07d25b4fb6 Update rust_decimal. 2021-06-11 15:12:01 +08:00
Stephen Chung
2a0ab4739f Rename default_features to default-features. 2021-06-11 12:29:03 +08:00
Stephen Chung
a1950a9562 Bump versions. 2021-06-10 19:09:27 +08:00
Stephen Chung
5f36f1a28c Remove PluginFunction::is_variadic. 2021-05-29 18:32:34 +08:00
Stephen Chung
b5ed841ee7 Bump version. 2021-05-27 13:39:48 +08:00
Stephen Chung
58d6a88bc4 Use checked exp for decimal. 2021-05-24 12:12:29 +08:00
Stephen Chung
be052b2b26 Bump version of rust_decimal and add more functions. 2021-05-11 20:31:31 +08:00
Stephen Chung
d230f448c0 Add no_smartstring to disable using SmartString. 2021-05-08 22:59:33 +08:00
Stephen Chung
9fabca5937 Bump version. 2021-05-02 20:36:59 +08:00
Stephen Chung
1fbbb2a40d Fix doc test. 2021-04-22 23:09:10 +08:00
Stephen Chung
a54fbb32ff Add no_position feature. 2021-04-22 23:02:25 +08:00
Stephen Chung
1145c5a4c0 Update rust_decimal. 2021-04-18 21:35:55 +08:00
Stephen Chung
01f0cc028b Use no-std-compat to build no-std. 2021-04-17 15:15:54 +08:00
Stephen Chung
6eaee57578 Bump version. 2021-04-16 22:07:18 +08:00
Stephen Chung
e31506fe51 Bump version. 2021-04-16 21:59:11 +08:00
Stephen Chung
294d233c02 Bump version. 2021-03-31 17:01:08 +08:00
Stephen Chung
6eb6e07d57 Remove metadata from codegen dependency. 2021-03-30 22:30:02 +08:00
Stephen Chung
ec7b906f71 Patah smartstring for no-std. 2021-03-30 18:06:58 +08:00
Stephen Chung
41b48d591f Change to no_smartstring feature. 2021-03-29 17:13:54 +08:00
Stephen Chung
07efdddba3 Add smartstring default feature. 2021-03-29 13:40:33 +08:00
Stephen Chung
e5249cc1ae Extract Identifier type. 2021-03-29 11:36:02 +08:00
Stephen Chung
c443c3bb48 Gate codegen metadata output under metadata feature. 2021-03-26 10:59:34 +08:00
Stephen Chung
ac7f35cacb Move all functions metadata into metadata feature. 2021-03-24 19:27:38 +08:00
Stephen Chung
f70225ca1d Change HashMap to BTreeMap. 2021-03-23 12:13:53 +08:00
Stephen Chung
75b8bf73df Update dependencies. 2021-03-21 23:51:24 +08:00
Stephen Chung
aa0594210c Use RhaiResult for plugin return. 2021-03-19 10:30:30 +08:00
Stephen Chung
2f8a3c24c0 Bump version. 2021-03-14 22:56:06 +08:00
Stephen Chung
4e5d009386 Inline scope entries. 2021-03-12 13:26:47 +08:00
Stephen Chung
01664ef7ee Fix range overflow panics. 2021-03-04 23:47:52 +08:00
Stephen Chung
bca4344d72 Bump version. 2021-02-27 12:52:20 +08:00
Stephen Chung
4120e3c88e Include decimal in generated docs. 2021-02-21 14:26:31 +08:00
Stephen Chung
182fc2c3d1 Check for constant values passed to methods. 2021-02-19 23:13:53 +08:00
Stephen Chung
724ad05916 Add wasm64 as potential target. 2021-02-19 15:50:48 +08:00
Stephen Chung
c7b556b741 Bump version. 2021-02-17 16:53:35 +08:00
Stephen Chung
3650b04c38 Add Decimal number type. 2021-02-13 20:57:56 +08:00
Stephen Chung
24ed5ef99a Bump version. 2021-02-03 19:23:50 +08:00
Stephen Chung
f1c2562873 Fix keyword typo. 2021-02-03 19:22:35 +08:00
Stephen Chung
7fc38d4cd2 Change rhaiscript.github.io to rhai.rs 2021-01-30 07:19:54 +08:00
Stephen Chung
c245fe88fd Allow stacking ! operators. 2021-01-24 21:21:15 +08:00
Stephen Chung
9acf7b4774 Bump ahash to 0.6. 2021-01-19 14:23:05 +08:00
Stephen Chung
aef18b5473 Add wasm-bindgen and stdweb features. 2021-01-18 11:35:55 +08:00
Stephen Chung
ec272cf9b9 Add Serialize/Deserialize for Dynamic and ImmutableString. 2021-01-18 10:30:58 +08:00
Stephen Chung
def1e7fe14 Use smallvec/union and update ahash. 2021-01-16 11:26:44 +08:00
Stephen Chung
c4b6c31bf0 Use ahash as default hasher. 2021-01-15 23:52:56 +08:00
Stephen Chung
1c7884f0d8 Switch to fxhash for fast hashing. 2021-01-15 23:30:45 +08:00
Stephen Chung
75bb5ef650 Bump version. 2021-01-15 17:13:24 +08:00
Stephen Chung
3f44e2893c Wrap up 0.19.10. 2021-01-14 19:07:03 +08:00
Stephen Chung
96b1e7777b Update URL links. 2021-01-07 17:30:06 +08:00
Stephen Chung
8bb8df08ac Bump version. 2020-12-30 21:13:31 +08:00
Stephen Chung
fd07a4b4e0 Bump version. 2020-12-22 16:27:51 +08:00
Stephen Chung
22039b24b3 Add export to JSON. 2020-12-20 12:27:47 +08:00
Stephen Chung
c6a3ce2cd5 Add metadata export to JSON. 2020-12-19 19:42:18 +08:00
Stephen Chung
aff207d4f4 Bump version. 2020-12-07 22:21:02 +08:00
Stephen Chung
05d51ef510 Bump version. 2020-11-24 09:40:08 +08:00
Stephen Chung
038e3c2554 Add FnNamespace for module functions. 2020-11-17 12:23:53 +08:00
Stephen Chung
ecfdfa8a97 Bump version. 2020-11-10 11:44:36 +08:00
Stephen Chung
6bc5ba6668 Enable functions to use global imports. 2020-11-06 19:17:07 +08:00
Stephen Chung
99669b5909 Bump version. 2020-11-04 17:17:21 +08:00
Stephen Chung
a2e2b5e2ef Add f32_float feature. 2020-11-01 15:48:48 +08:00
Stephen Chung
f2b6d58122 Bump version. 2020-10-20 09:21:36 +08:00
Stephen Chung
46b92c9d1f Allow NativeCallContext in function arguments. 2020-10-18 21:47:34 +08:00
Stephen Chung
6f134368c3 Bump version. 2020-10-16 21:19:24 +08:00
Stephen Chung
849aec0621 Set version to 0.19.1. 2020-10-16 17:32:26 +08:00
Stephen Chung
d802829156 Bump version. 2020-10-03 23:29:34 +08:00
Stephen Chung
a04ed02b54 Simplify macro system and update doc comments. 2020-09-30 22:55:40 +08:00
Stephen Chung
4719a4ccee Update dependencies. 2020-09-22 17:58:04 +08:00
Stephen Chung
d527ef7dbf Remove SC from codegen authors, add jhwgh1968 to Rhai authors. 2020-09-09 09:12:28 +08:00
J Henry Waugh
192979ebfd Crate workspace to include codegen 2020-09-08 16:03:38 -05:00
Stephen Chung
99b8228630 Use smallvec/union for nightly builds. 2020-09-05 17:55:35 +08:00
Stephen Chung
1dacf21a84 Fix no_std builds by pulling in num-traits. 2020-08-23 18:28:55 +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
c55435ce81 no_closure when no_function. 2020-08-06 10:38:31 +08:00
Stephen Chung
4465a44673 Fix typos. 2020-08-06 10:31:32 +08:00
Stephen Chung
26c5b10ef7 Merge branch 'master' into plugins 2020-08-06 10:31:15 +08:00
Stephen Chung
316918c741 no_closure when no_function. 2020-08-06 10:17:40 +08:00
Stephen Chung
bb2c9f7c59 Bump version. 2020-08-05 23:11:54 +08:00
Stephen Chung
ae11dbbefe Fix feature flags. 2020-08-05 22:53:01 +08:00
Stephen Chung
5ea08d2b50 Bump version. 2020-08-05 17:55:36 +08:00
Stephen Chung
24346b9728 Merge branch 'master' into plugins 2020-08-04 16:51:22 +08:00
Stephen Chung
4878a69503 Add docs for closures. 2020-08-04 16:27:55 +08:00
Stephen Chung
4079164bfd Implement closures. 2020-08-03 12:10:20 +08:00
Stephen Chung
73cda2d4f9 rustfmt. 2020-08-02 15:39:08 +08:00
J Henry Waugh
d01203cb5d New Procedural Macros Crate v0.1 2020-08-01 11:52:32 -05:00
Stephen Chung
e70e0ff4e2 Fixup. 2020-07-31 16:39:38 +08:00
Stephen Chung
871fcb38be Minor style changes and make sure no_shared works on all. 2020-07-31 16:03:08 +08:00