Commit Graph

314 Commits

Author SHA1 Message Date
Stephen Chung
6600862c22 Satisfy clippy. 2022-11-25 09:46:13 +08:00
Stephen Chung
b1e8b48471 Remove extra clippy. 2022-11-23 18:51:11 +08:00
Stephen Chung
31292e683d Satisfy Clippy. 2022-11-23 13:24:14 +08:00
Stephen Chung
4e27039521 Use bitflags. 2022-11-23 11:36:30 +08:00
Stephen Chung
d151c87687 Change call_fn_raw to call_fn_with_options. 2022-11-21 23:42:29 +08:00
Stephen Chung
bf845fbd7a Export CallableFunction. 2022-11-17 18:05:52 +08:00
Stephen Chung
9e5e18af61 Export locked_read and locked_write under internals. 2022-11-15 11:22:00 +08:00
ltabis
c41db6dde5 chore: only export locked_read & locked_write. 2022-11-14 15:17:37 +01:00
ltabis
379dc11b3d Merge branch 'main' of github.com:ltabis/rhai 2022-11-11 12:10:34 +01:00
ltabis
0790e5bc96 chore: gate func::native export under the internals flag. 2022-11-11 12:10:19 +01:00
Lucas Tabis
68083792f0
Merge branch 'rhaiscript:main' into main 2022-11-11 09:26:06 +01:00
ltabis
a381a485ec chore: sync fork. 2022-11-10 21:10:33 +01:00
ltabis
ae860ab4fb chore: change visibility to pub for native module. 2022-11-10 21:08:53 +01:00
Stephen Chung
ce046422f0 Add Dynamic::is_XXX API. 2022-11-09 12:44:57 +08:00
Stephen Chung
ad018aaae3 Move FloatWrapper into types. 2022-11-08 23:17:31 +08:00
Stephen Chung
6053aa1641 Clean up types. 2022-11-08 15:01:40 +08:00
Stephen Chung
470af6af71 Using hashing for full hash instead of xor. 2022-11-04 21:59:49 +08:00
l1npengtul
876fd63dd3 remove unneeded feature 2022-11-01 01:01:04 +09:00
l1npengtul
bb01f914e0 Address concerns 2022-11-01 00:59:07 +09:00
l1npengtul
3e6a3a2759 Stable Hash: Add feature, adjust CI, modify build.rs, add new API for accessing and setting the ahash seed in config.rs, make config.rs public 2022-10-31 22:14:09 +09:00
Stephen Chung
45f0fdcbe0 no_std = no_time. 2022-10-15 15:11:51 +08:00
Stephen Chung
a6a570131a Add no_time. 2022-10-15 12:37:42 +08:00
Stephen Chung
38e47c909d Streamline code. 2022-10-14 14:04:54 +08:00
Stephen Chung
2ecf44a48e Remove stable_hash feature and use environment variable. 2022-09-27 13:23:47 +08:00
Stephen Chung
5d275b5307 Simplify to calc_fn_hash. 2022-09-21 11:46:23 +08:00
Stephen Chung
6bc98bd252 Remove extra clippy lints. 2022-08-27 16:29:39 +08:00
Stephen Chung
bf5d6ab35a Shut up clippy. 2022-08-27 16:26:41 +08:00
Stephen Chung
f323644e20 Fix tests. 2022-08-09 17:24:24 +08:00
Stephen Chung
68c11060d9 Merge branch 'main' of https://github.com/rhaiscript/rhai 2022-08-09 16:31:25 +08:00
Stephen Chung
47f02b96d7 Add top-level wrappers. 2022-08-08 09:10:15 +08:00
Stephen Chung
6fab9f5b63 Fix build. 2022-07-28 18:08:21 +08:00
Stephen Chung
87687ebf25 Gate definitions with internals feature. 2022-07-28 17:58:22 +08:00
Stephen Chung
39dee556c4 Clean up clippy. 2022-07-27 16:04:24 +08:00
Stephen Chung
0bf7baa502
Merge branch 'main' into feat-definitions 2022-07-26 21:18:01 +08:00
tamasfe
d350462cf8
chore: formatting 2022-07-26 14:18:43 +02:00
tamasfe
b00bf8535d
fix(defs): conditional compilation and refactors 2022-07-26 13:55:10 +02:00
tamasfe
b7b9ff29e4
feat: basic definitions 2022-07-25 19:01:06 +02:00
Stephen Chung
61056dfb24 Export is_valid_identifier and is_valid_function_name under internals. 2022-07-25 22:05:52 +08:00
Stephen Chung
5149c56256 Streamline switch case AST structure. 2022-07-19 13:33:53 +08:00
Stephen Chung
7dca916c45 Allow duplicated switch cases. 2022-07-18 13:40:41 +08:00
Stephen Chung
b4dbc7619a Add no_custom_syntax. 2022-07-05 22:59:03 +08:00
Stephen Chung
dee66a409f Add case alternatives for switch. 2022-07-04 17:42:24 +08:00
Stephen Chung
6ea5ed17f4 Use rhai for ignore. 2022-06-12 15:04:06 +08:00
Stephen Chung
e5f6b28abd Fix warnings. 2022-06-08 17:06:49 +08:00
Stephen Chung
6ebe002b18 Check for missing docs. 2022-06-05 18:17:44 +08:00
Stephen Chung
4194e2c048 Refine data structures. 2022-05-07 15:54:44 +08:00
Stephen Chung
c3d013bddc Add to_json for maps. 2022-04-21 12:15:21 +08:00
Stephen Chung
855cb76246 Rename EvalState to Caches. 2022-04-16 16:36:53 +08:00
Stephen Chung
1e4abd012c Minor refactor. 2022-03-09 09:25:55 +08:00
Stephen Chung
8bda8c64df Refine data structures 2022-03-05 17:57:23 +08:00