Commit Graph

3938 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
9bd80f607f Merge branch 'main' of https://github.com/rhaiscript/rhai 2023-02-05 21:42:17 +08:00
Stephen Chung
234bf76d0c
Merge pull request #691 from Mathieu-Lala/feat/more-ci
CI: add `cargo hack check --feature-powerset`
2023-02-05 21:41:53 +08:00
Mathieu Lala
da2d3adaef
fix: exclude feature 2023-02-05 13:22:44 +01:00
Mathieu Lala
933ffbc3fc
feat<ci>: for a manual job for 2023-02-05 13:16:55 +01:00
Stephen Chung
9608e58ded Use remove for flags. 2023-02-03 15:58:07 +08:00
Stephen Chung
675a45fac7 Fix bug. 2023-02-03 15:11:40 +08:00
Stephen Chung
ca02d46a49 Use iterators. 2023-01-31 19:44:46 +08:00
Stephen Chung
faa48f78c3 Refine hashing. 2023-01-31 16:37:50 +08:00
Stephen Chung
6980096a09
Merge pull request #699 from schungx/master
Bug fixes.
2023-01-30 14:12:04 +08:00
Stephen Chung
08f428def2 Fix diagnostic messages. 2023-01-30 13:03:47 +08:00
Stephen Chung
6400b33b1b Use bitflag options for chains parsing. 2023-01-30 12:31:33 +08:00
Stephen Chung
9f966f6473 Fix test output. 2023-01-29 16:01:34 +08:00
Stephen Chung
62696853b4 Fix bug with parsing improper module separator. 2023-01-29 15:23:33 +08:00
Stephen Chung
2c631daa07 Add test for auto global constants for global namespace. 2023-01-28 12:40:42 +08:00
Stephen Chung
f4949a2beb Always search scope after scope is modified. 2023-01-27 22:31:14 +08:00
Stephen Chung
663125a66d
Merge pull request #697 from schungx/master
Fix bug in chain parsing.
2023-01-25 08:03:03 +08:00
Stephen Chung
733bb07d2d Fix bug in chain parsing. 2023-01-25 07:37:44 +08:00
Mathieu Lala
c7355395c9
feat<ci>: add a feature powerset check 2023-01-14 13:58:51 +01:00
Stephen Chung
ea3efe654c Avoid unnecessarily creating Scope. 2023-01-11 11:42:46 +08:00
Stephen Chung
6d64a75bd2 Avoid creating new Scope. 2023-01-11 09:34:54 +08:00
Stephen Chung
dd2a0a64aa Remove Token::NONE. 2023-01-08 21:15:16 +08:00
Stephen Chung
541951ec3f Remove macro_use in types. 2023-01-06 15:43:53 +08:00
Stephen Chung
ae02668d08 Mark pure. 2023-01-03 14:00:18 +08:00
Stephen Chung
9f5783f1a4 Bump version. 2022-12-31 12:17:36 +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
4c2630b71f
Merge pull request #687 from schungx/master
Prepare for release.
2022-12-30 22:47:49 +08:00
Stephen Chung
a478d57e01 Fix builds. 2022-12-30 22:21:22 +08:00
Stephen Chung
ee8e745429 Change fold to for. 2022-12-29 17:51:27 +08:00
Stephen Chung
1a00ca0905 Change try_for_each to for. 2022-12-29 13:35:42 +08:00
Stephen Chung
858a6ad588 Make parse call arguments uniform. 2022-12-29 12:18:41 +08:00
Stephen Chung
8805f02a8f
Merge pull request #686 from schungx/master
Small refinements.
2022-12-27 23:10:35 +08:00
Stephen Chung
00c434eb71 Use Option<Token> instead of Token::NONE. 2022-12-27 22:51:38 +08:00
Stephen Chung
bb1136e8ad Refine what can be called in method style. 2022-12-27 22:06:51 +08:00
Stephen Chung
7c00b74916 Allow string interpolation to work with no packages. 2022-12-27 10:09:40 +08:00
Stephen Chung
07f522e6d7 Fix array bug. 2022-12-26 22:05:29 +08:00
Stephen Chung
c5cb2d5e0f Simplify Array::pad. 2022-12-26 17:32:46 +08:00
Stephen Chung
d47bfa431a Revise built-in macros. 2022-12-26 11:46:11 +08:00
Stephen Chung
dac4846742
Merge pull request #685 from schungx/master
New array APIs.
2022-12-26 09:04:55 +08:00
Stephen Chung
52d23522e6 Add for_each for arrays. 2022-12-25 12:44:49 +08:00
Stephen Chung
fd401f3048 Add array API with closure variation that binds to this. 2022-12-24 19:37:06 +08:00
Stephen Chung
ffa1f5fb4a Fix builds. 2022-12-23 18:54:55 +08: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
b87243bfe2
Merge pull request #682 from schungx/master
New optimizations and features.
2022-12-21 16:42:36 +08:00
Stephen Chung
481546124a Fix builds. 2022-12-21 13:58:47 +08:00