Commit Graph

3141 Commits

Author SHA1 Message Date
Stephen Chung
182870c9ed Add main branch to CI. 2022-01-27 16:57:47 +08:00
Stephen Chung
c859dbc67c Fix no-std builds. 2022-01-27 15:03:50 +08:00
Stephen Chung
96b046d20c Remove deleted branch. 2022-01-27 13:59:02 +08:00
Stephen Chung
74003603ce Revert "Delete benchmark.yml"
This reverts commit d18bb041a0.
2022-01-27 13:58:29 +08:00
Stephen Chung
cdb1bbf0d7 Merge branch 'master' of https://github.com/schungx/rhai 2022-01-27 12:52:12 +08:00
Stephen Chung
444f1f1546
Merge pull request #63 from Friz64/fix-unix-nostd
Fix Unix CI for no-std
2022-01-27 12:51:23 +08:00
Stephen Chung
69dab31617 Remove need for default features in dependencies. 2022-01-27 08:22:20 +08:00
Friz64
8b7e56a908 Fix Unix CI for no-std
Took a bit of digging until i found the issue i was looking for.

https://github.com/rust-lang/rust/issues/79609
2022-01-26 19:56:42 +01:00
Stephen Chung
c79f1e44e4 Refine position display of indexing. 2022-01-25 10:56:22 +08:00
Stephen Chung
d8a6b93f43 Fix off-by-one position error after comment line. 2022-01-24 16:06:41 +08:00
Stephen Chung
2b2685e387 Add optimize command to REPL. 2022-01-24 15:50:25 +08:00
Stephen Chung
ed7ccb21c5
Merge pull request #513 from schungx/master
Fix bug in try block.
2022-01-24 08:57:35 +08:00
Stephen Chung
b76a2be7c3 Fix unchecked build. 2022-01-24 08:49:41 +08:00
Stephen Chung
8d34ffb9f5 Fix bug in try block. 2022-01-24 08:34:21 +08:00
Stephen Chung
922931f51d Bump version. 2022-01-23 21:49:46 +08:00
Stephen Chung
05f8ce167d
Merge pull request #512 from schungx/master
Reset version to 1.4.1.
2022-01-23 21:42:48 +08:00
Stephen Chung
4d3055fbcd Reset version. 2022-01-23 21:39:56 +08:00
Stephen Chung
817d9aef34
Merge pull request #511 from schungx/master
Fix bugs.
2022-01-23 21:37:17 +08:00
Stephen Chung
97be256a1a Fix bug with optimizing op-assignment operators. 2022-01-23 21:09:37 +08:00
Stephen Chung
5c0cf70f70 Fix benchmark. 2022-01-22 23:02:32 +08:00
Stephen Chung
fb0b071fe0 Add lifetimes to GlobalRuntimeState and EvalState for future needs. 2022-01-22 17:48:07 +08:00
Stephen Chung
c32ace40a4 Fix builds. 2022-01-22 17:27:18 +08:00
Stephen Chung
b63b4cb3af Format example scripts better. 2022-01-20 12:06:36 +08:00
Stephen Chung
6b06019265 Do not remove doc-comments on pluging functions. 2022-01-20 09:06:09 +08:00
Stephen Chung
f92894e337 Rename GlobalRuntimeStatemodules -> imports. 2022-01-20 08:17:34 +08:00
Stephen Chung
3d4abeed0e New metadata functions. 2022-01-20 08:16:38 +08:00
Stephen Chung
0b3250a262 Add strict command to rhai-repl. 2022-01-19 14:02:55 +08:00
Stephen Chung
bb34e316e8 Add custom collection test. 2022-01-18 17:46:24 +08:00
Stephen Chung
f0781c9736 Properly handle \r\n pairs in doc-comments. 2022-01-17 23:15:51 +08:00
Stephen Chung
d58df1fb34 Engine::gen_fn_signatures enumerates non-standard external packages. 2022-01-17 23:15:22 +08:00
Stephen Chung
86fc2f7bf1 Refine types display. 2022-01-17 21:51:04 +08:00
Stephen Chung
58e1094b79 Register test functions in repl. 2022-01-17 21:50:36 +08:00
Stephen Chung
16c03cc864 Add comments to standard library functions. 2022-01-17 21:49:06 +08:00
Stephen Chung
5232bbbff8 Add get/set methods to arrays, blobs, maps and strings. 2022-01-17 10:21:03 +08:00
Stephen Chung
149197856d
Merge pull request #508 from schungx/master
Fix formatting.
2022-01-17 08:19:58 +08:00
Stephen Chung
573bfe46dd Fix formatting. 2022-01-17 07:50:29 +08:00
Stephen Chung
2805690b11
Merge pull request #507 from schungx/master
Revise library and fix bugs.
2022-01-16 23:30:40 +08:00
Stephen Chung
57cfd6a354 Fix builds. 2022-01-16 23:15:37 +08:00
Stephen Chung
e366bd2106 Pass metadata feature to rhai. 2022-01-16 23:15:19 +08:00
Stephen Chung
24b68971a8 Fix offset calc. 2022-01-16 22:54:28 +08:00
Stephen Chung
5935a88958 Revert "Refine examples."
This reverts commit 146129279c.
2022-01-16 22:50:39 +08:00
Stephen Chung
146129279c Refine examples. 2022-01-16 22:45:49 +08:00
Stephen Chung
d843baca12 Add event handler examples. 2022-01-16 22:45:25 +08:00
Stephen Chung
3667761340 Fix bugs and add comments to standard library. 2022-01-15 23:34:38 +08:00
Stephen Chung
e24848668a Fix build. 2022-01-15 11:35:44 +08:00
Stephen Chung
00b189d0c6 Replace Cow<str> in Scope with SmartString. 2022-01-15 11:26:43 +08:00
Stephen Chung
2a8a8c00f5 Refine calc_index API. 2022-01-15 10:24:08 +08:00
Stephen Chung
a8ec984b0f Fix unsafe violation in for loop. 2022-01-15 10:18:16 +08:00
Stephen Chung
2677e7dc8a Fix test for only_i32. 2022-01-14 23:19:27 +08:00
Stephen Chung
ae77582028 Minor refactor. 2022-01-14 21:49:38 +08:00