Commit Graph

3305 Commits

Author SHA1 Message Date
tamasfe
4bc2079bd6
fix(defs): builtin operator fixes 2022-07-26 15:10:39 +02:00
tamasfe
3805830bfa
chore(defs): regenerate example definitions 2022-07-26 15:08:12 +02:00
tamasfe
7dcf6a5d7a
chore(defs): no stdio on wasm 2022-07-26 14:51:22 +02:00
tamasfe
6d4b5095d2 feat(defs): deterministic function ordering 2022-07-26 14:46:18 +02:00
tamasfe
ade818b043
fix(defs): compile errors 2022-07-26 14:28:54 +02:00
tamasfe
d350462cf8
chore: formatting 2022-07-26 14:18:43 +02:00
tamasfe
fdbe837a5d
feat(defs): iter_files and small fixes 2022-07-26 14:16:54 +02:00
tamasfe
b00bf8535d
fix(defs): conditional compilation and refactors 2022-07-26 13:55:10 +02:00
tamasfe
8ebc50bea8
feat(defs): builtin definitions 2022-07-26 13:39:50 +02:00
tamasfe
c0785f7004
fix(definitions): no_std and type names 2022-07-26 10:26:23 +02:00
tamasfe
b7b9ff29e4
feat: basic definitions 2022-07-25 19:01:06 +02:00
Stephen Chung
602efc7042
Merge pull request #589 from schungx/master
Add module documentation feature.
2022-07-25 16:43:21 +08:00
Stephen Chung
96bfd93610 Keep module docs as one string. 2022-07-25 14:11:54 +08:00
Stephen Chung
148bbcb860 Fix missing field. 2022-07-25 13:53:28 +08:00
Stephen Chung
5d799fd325 Add module documentation. 2022-07-25 13:40:23 +08:00
Stephen Chung
45acb65f4f Use //! for script docs. 2022-07-24 23:03:35 +08:00
Stephen Chung
e8d6e3f57d Add unreachable comments. 2022-07-23 21:00:58 +08:00
Stephen Chung
f85ad28e93 Add FnNamespace methods. 2022-07-21 14:01:28 +08:00
Stephen Chung
6bc0118074 Add FnAccess methods. 2022-07-21 14:01:28 +08:00
Stephen Chung
747cd903b4 Update resolver version. 2022-07-21 14:01:28 +08:00
Stephen Chung
55dd55322b BLOB + string -> string. 2022-07-21 14:01:10 +08:00
Stephen Chung
753e527cbb Fix BLOB and string operations. 2022-07-20 21:17:21 +08:00
Stephen Chung
8215c75a17 Merge branch 'main' of https://github.com/rhaiscript/rhai 2022-07-20 21:09:03 +08:00
Stephen Chung
57e2cad0df
Merge pull request #586 from quake/quake/clippy-fix
apply some clippy lint fix
2022-07-20 21:07:57 +08:00
Stephen Chung
ff6a448b77 Merge branch 'main' of https://github.com/rhaiscript/rhai 2022-07-20 21:06:36 +08:00
quake
a0c07631e2 chore: clippy fix rust style 2022-07-20 21:38:50 +09:00
quake
8d91e7eb63 chore: clippy fix useless_conversion 2022-07-20 21:28:40 +09:00
quake
e707b66639 chore: clippy fix unnecessary_mut_passed 2022-07-20 21:22:51 +09:00
quake
299777f1c9 chore: clippy fix needless_borrow 2022-07-20 21:16:35 +09:00
Stephen Chung
87af0db074
Merge pull request #584 from quake/quake/optimize-stmt-switch
fix: optimize_stmt should use fn `position`
2022-07-20 18:08:37 +08:00
Stephen Chung
adf374deed
Merge pull request #585 from quake/quake/clippy
chore: remove clippy redundant_allocation since it has been resolved in clippy#7592
2022-07-20 18:06:46 +08:00
quake
e21f7c4f5d fix: optimize_stmt should use fn position 2022-07-20 18:48:54 +09:00
quake
4033543309 chore: remove clippy redundant_allocation since it has been resolved in clippy#7592 2022-07-20 17:05:05 +09:00
Stephen Chung
2ac6336173 Optimize wrapped stmt/expr. 2022-07-19 21:59:49 +08:00
Stephen Chung
5149c56256 Streamline switch case AST structure. 2022-07-19 13:33:53 +08:00
Stephen Chung
281e94fc62 Switch case condition that is constant () no longer optimizes to false. 2022-07-18 23:28:12 +08:00
Stephen Chung
ff6954d9d5 Fix doc comment links. 2022-07-18 23:01:03 +08:00
Stephen Chung
f2724444bb Make default switch case Optional. 2022-07-18 22:30:09 +08:00
Stephen Chung
4f26c1465c
Merge pull request #582 from schungx/master
Allow duplicated switch cases.
2022-07-18 13:55:49 +08:00
Stephen Chung
7dca916c45 Allow duplicated switch cases. 2022-07-18 13:40:41 +08:00
Stephen Chung
4b760d1d0f Unroll switch ranges if possible. 2022-07-18 08:54:10 +08:00
Stephen Chung
107193e35f Update rustyline to 10. 2022-07-17 18:49:12 +08:00
Stephen Chung
a12401a1fe New range variant. 2022-07-17 12:09:19 +08:00
Stephen Chung
0555069de0 Bump minimum Rust version. 2022-07-13 19:21:13 +08:00
Stephen Chung
15e802146a Merge branch 'main' of https://github.com/rhaiscript/rhai 2022-07-13 19:20:31 +08:00
Stephen Chung
5227c209a9
Merge pull request #581 from Mathieu-Lala/ci/msrv-job
Add msrv check in ci and set it to 1.60
2022-07-13 19:19:12 +08:00
Mathieu-Lala
f1e7f3d01b ci: add msrv check & update cargo.toml/readme rust-version to 1.60 2022-07-13 13:12:53 +02:00
Stephen Chung
08254c100f Remove forum. 2022-07-12 16:19:55 +08:00
Stephen Chung
cd8a93acd4
Merge pull request #580 from schungx/master
New enhancements.
2022-07-10 13:06:47 +08:00
Stephen Chung
c7820391b7 Remove examples from package. 2022-07-08 00:48:29 +08:00