Commit Graph

327 Commits

Author SHA1 Message Date
Mathieu Lala
9bdf3c290d
pull main & udpate lint 2023-02-05 17:59:02 +01:00
Mathieu Lala
097fa1f4e3
Merge branch 'main' of github.com:Mathieu-Lala/rhai into fix/lint 2023-02-05 17:18:45 +01:00
Stephen Chung
541951ec3f Remove macro_use in types. 2023-01-06 15:43:53 +08:00
Mathieu Lala
af2e331b0f
fix: not #cfg 2022-12-30 20:45:26 +01:00
Mathieu Lala
c5002801c8
ci: add feature powerset & style: used #[cfg(all(..))] 2022-12-30 19:29:27 +01:00
Mathieu Lala
9af5b1c78e
fix: default clippy lints 2022-12-30 18:07:39 +01:00
Stephen Chung
cb09393dba Encapsulate into FlowControl type. 2022-12-23 14:26:06 +08:00
Stephen Chung
80ccd75514 Satisfy clippy. 2022-12-22 17:34:58 +08:00
Stephen Chung
bbd94dbffb Use document-features. 2022-12-22 09:33:12 +08:00
Stephen Chung
67a7ab4069 Move encapsulated environment out of ScriptFnDef. 2022-12-12 16:06:24 +08:00
Stephen Chung
397b5eb39d Move restore up one level. 2022-12-11 21:50:47 +08:00
Stephen Chung
de0707f64f Use macro auto_restore!. 2022-12-04 14:06:54 +08:00
Stephen Chung
0c85f0c796 Code cleanup and refactor. 2022-11-28 23:24:22 +08:00
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