Stephen Chung
|
40a12b2b7d
|
Remove key type from StraightHashMap.
|
2022-09-12 23:08:38 +08:00 |
|
Stephen Chung
|
32825d2ca8
|
Fix feature build.
|
2022-09-10 13:49:21 +08:00 |
|
Stephen Chung
|
1bfedf516d
|
Use a bloom filter.
|
2022-09-08 17:49:37 +08:00 |
|
Stephen Chung
|
1476b14831
|
Fix metadata build.
|
2022-09-08 10:58:43 +08:00 |
|
Stephen Chung
|
2f7d6298e0
|
Move format_type into api.
|
2022-09-08 10:52:58 +08:00 |
|
Stephen Chung
|
a6ce459b32
|
Merge branch 'main' of https://github.com/rhaiscript/rhai
|
2022-09-06 17:41:47 +08:00 |
|
quake
|
8ee501e4d9
|
pref: remove Rc/Arc::from_box
|
2022-09-06 14:51:32 +09:00 |
|
quake
|
563f18a04b
|
pref: use ExactSizeIterator
|
2022-09-06 14:16:15 +09:00 |
|
Stephen Chung
|
158b4ce7bc
|
Change TypeId to use BTreeMap.
|
2022-09-05 21:17:07 +08:00 |
|
quake
|
239438754c
|
perf: change BTreeMap to StraightHashMap
|
2022-09-05 13:13:06 +09:00 |
|
Stephen Chung
|
80772df4f4
|
Shut up clippy.
|
2022-08-29 14:27:05 +08:00 |
|
Stephen Chung
|
204284f4f7
|
Add test to recreate NativeCallContext.
|
2022-08-26 16:20:23 +08:00 |
|
Stephen Chung
|
1c335e24dc
|
Fix formatting.
|
2022-08-25 08:41:09 +08:00 |
|
Stephen Chung
|
69bb5534ef
|
Share encapsulated environment.
|
2022-08-24 20:59:11 +08:00 |
|
Stephen Chung
|
b40ca9e40d
|
Improve docs.
|
2022-08-24 18:27:58 +08:00 |
|
Stephen Chung
|
010a96dde3
|
Fix feature builds.
|
2022-08-22 22:28:27 +08:00 |
|
Stephen Chung
|
4ce8d4609d
|
Refactor CustomType to struct CustomTypeInfo.
|
2022-08-22 20:52:52 +08:00 |
|
Stephen Chung
|
db865d7538
|
Fix sync.
|
2022-08-22 14:02:24 +08:00 |
|
Stephen Chung
|
799dd9d9d1
|
Add fallible type iterators.
|
2022-08-22 13:10:32 +08:00 |
|
Stephen Chung
|
1deed8cd55
|
Fix generic parameters.
|
2022-08-22 00:15:00 +08:00 |
|
Stephen Chung
|
80a23ddaa2
|
Allow registration of getters/setters/indexers with NativeCallContext.
|
2022-08-21 22:59:49 +08:00 |
|
Stephen Chung
|
2f02b30b6e
|
Use String::new() for empty strings.
|
2022-08-21 17:35:44 +08:00 |
|
Stephen Chung
|
855ddd28a6
|
Update is_empty docs.
|
2022-08-14 14:39:30 +08:00 |
|
Stephen Chung
|
f7d910fa55
|
Use references for JSON metadata.
|
2022-08-14 14:20:37 +08:00 |
|
Stephen Chung
|
28743594d0
|
Use interned strings for AST nodes.
|
2022-08-13 18:07:42 +08:00 |
|
Stephen Chung
|
be448dfe4d
|
Use identifiers in format!
|
2022-08-11 19:01:23 +08:00 |
|
Stephen Chung
|
255af006ee
|
Fix doc comments.
|
2022-08-10 12:48:37 +08:00 |
|
Stephen Chung
|
2f948a784c
|
Clean up more clippy.
|
2022-07-27 18:04:59 +08:00 |
|
Stephen Chung
|
39dee556c4
|
Clean up clippy.
|
2022-07-27 16:04:24 +08:00 |
|
Stephen Chung
|
772087513a
|
Fix doc test.
|
2022-07-26 17:19:41 +08:00 |
|
Stephen Chung
|
f188f96974
|
Fix missing feature gate.
|
2022-07-26 16:49:05 +08:00 |
|
Stephen Chung
|
492d79d8a2
|
Add documentation to Module.
|
2022-07-25 17:42:15 +08:00 |
|
Stephen Chung
|
f85ad28e93
|
Add FnNamespace methods.
|
2022-07-21 14:01:28 +08:00 |
|
quake
|
8d91e7eb63
|
chore: clippy fix useless_conversion
|
2022-07-20 21:28:40 +09:00 |
|
quake
|
299777f1c9
|
chore: clippy fix needless_borrow
|
2022-07-20 21:16:35 +09:00 |
|
Stephen Chung
|
b6528bd51d
|
Reduce usage of as_ref and as_mut.
|
2022-07-05 16:26:38 +08:00 |
|
Stephen Chung
|
6753566b03
|
Merge set of dynamic functions when merging modules.
|
2022-06-28 13:57:18 +08:00 |
|
Stephen Chung
|
84b8e1ed87
|
Detect whether dynamic functions exist to save checking.
|
2022-06-24 11:30:54 +08:00 |
|
Stephen Chung
|
b9cbeb65d6
|
Use Option instead of once/empty.
|
2022-06-11 16:01:15 +08:00 |
|
Stephen Chung
|
4194e2c048
|
Refine data structures.
|
2022-05-07 15:54:44 +08:00 |
|
Stephen Chung
|
2a57bd9d25
|
Mark some types as non_exhaustive.
|
2022-05-03 21:55:08 +08:00 |
|
Stephen Chung
|
40c4906336
|
Make Module::eval_ast_as_new_raw public.
|
2022-04-19 08:28:59 +08:00 |
|
Stephen Chung
|
89ed531363
|
Fix doc tests.
|
2022-04-06 17:25:04 +08:00 |
|
Stephen Chung
|
6f4240ed5a
|
Add examples to Module custom type API.
|
2022-03-30 10:33:43 +08:00 |
|
Stephen Chung
|
1b6de25007
|
Remove Engine::custom_types.
|
2022-03-29 08:18:20 +08:00 |
|
Stephen Chung
|
fefa633cf0
|
Add type alias support for plugin modules.
|
2022-03-19 09:43:18 +08:00 |
|
Stephen Chung
|
b35d965e55
|
Reverse Box<[...]> to Vec.
|
2022-03-06 16:37:27 +08:00 |
|
Stephen Chung
|
8bda8c64df
|
Refine data structures
|
2022-03-05 17:57:23 +08:00 |
|
Stephen Chung
|
0e9a16e437
|
Add checks for is_empty.
|
2022-03-03 13:02:57 +08:00 |
|
Stephen Chung
|
f47b911681
|
Remove warning.
|
2022-02-25 10:03:34 +08:00 |
|