Stephen Chung
|
3116a39331
|
Minor code refactor.
|
2021-05-18 12:24:11 +08:00 |
|
Stephen Chung
|
d1fc362eec
|
Handle constants propagation.
|
2021-05-16 21:21:13 +08:00 |
|
Stephen Chung
|
5c00b89568
|
Merge pull request #413 from schungx/master
Enhancements and bug fixes.
|
2021-05-15 18:17:30 +08:00 |
|
Stephen Chung
|
cce2e02428
|
Fix feature builds.
|
2021-05-15 11:56:19 +08:00 |
|
Stephen Chung
|
27420dd9b4
|
Merge branch 'master' of https://github.com/schungx/rhai
|
2021-05-15 11:43:24 +08:00 |
|
Stephen Chung
|
941e09d29d
|
Guard against setters mutating constants, and allow pure setters.
|
2021-05-15 11:41:42 +08:00 |
|
Stephen Chung
|
565134c4da
|
Fix bug in constants propagation.
|
2021-05-15 11:00:25 +08:00 |
|
Stephen Chung
|
60dc41bfac
|
Allow pure setters by making constant Dynamic internally constant as well.
|
2021-05-15 09:45:40 +08:00 |
|
Stephen Chung
|
4f14fd55f5
|
Small code refinements.
|
2021-05-14 19:21:28 +08:00 |
|
Stephen Chung
|
202285f9ab
|
Disallow pure setters.
|
2021-05-13 10:34:24 +08:00 |
|
Stephen Chung
|
9585de4ae4
|
Add Dynamic from shared.
|
2021-05-11 21:38:07 +08:00 |
|
Stephen Chung
|
be052b2b26
|
Bump version of rust_decimal and add more functions.
|
2021-05-11 20:31:31 +08:00 |
|
Stephen Chung
|
97c8194d17
|
No need to specify number of variables added/removed for custom syntax.
|
2021-05-11 10:58:28 +08:00 |
|
Stephen Chung
|
3a47ed7c46
|
Use rhaiscript/smartstring to patch no-std.
|
2021-05-10 11:22:47 +08:00 |
|
Stephen Chung
|
fd19d625b0
|
Refine doc comments.
|
2021-05-10 11:07:19 +08:00 |
|
Stephen Chung
|
2cf59e9954
|
Expose DynamicReadLock and DynamicWriteLoc under internals.
|
2021-05-10 09:43:45 +08:00 |
|
Stephen Chung
|
d230f448c0
|
Add no_smartstring to disable using SmartString.
|
2021-05-08 22:59:33 +08:00 |
|
Stephen Chung
|
2c0215ea3f
|
Shrink arrays and use boxed slices.
|
2021-05-05 18:38:52 +08:00 |
|
Stephen Chung
|
13c620de4b
|
Implement Eq and PartialEq for ScriptFnMetadata that sorts on function signature.
|
2021-05-04 10:19:08 +08:00 |
|
Stephen Chung
|
c61b118037
|
Fix decimal build.
|
2021-05-03 13:57:47 +08:00 |
|
Stephen Chung
|
c749bbb653
|
Reduce BTree sizes by boxing values.
|
2021-05-03 13:45:41 +08:00 |
|
Stephen Chung
|
aad842fe50
|
Remove Engine::enable_doc_comments.
|
2021-05-03 13:07:51 +08:00 |
|
Stephen Chung
|
bb5dc7b637
|
Add tag to Dynamic.
|
2021-05-02 23:57:35 +08:00 |
|
Stephen Chung
|
13d5092c4d
|
Allow setters returning values when return_raw.
|
2021-05-02 23:51:37 +08:00 |
|
Stephen Chung
|
9fabca5937
|
Bump version.
|
2021-05-02 20:36:59 +08:00 |
|
Stephen Chung
|
ee6c11e63d
|
Merge pull request #411 from schungx/master
Prepare for 0.20.1.
|
2021-05-02 20:31:26 +08:00 |
|
Stephen Chung
|
b091113334
|
Eliminate unnecessary data structures.
|
2021-04-27 22:28:01 +08:00 |
|
Stephen Chung
|
a5d4a0abb9
|
Disable on_progress with unchecked.
|
2021-04-25 15:27:58 +08:00 |
|
Stephen Chung
|
ed18b3f32a
|
Fix unchecked test.
|
2021-04-25 15:27:43 +08:00 |
|
Stephen Chung
|
24c01f6f9f
|
Fix badge url.
|
2021-04-25 14:39:02 +08:00 |
|
Stephen Chung
|
510c28c557
|
Refine badges.
|
2021-04-24 22:19:41 +08:00 |
|
Stephen Chung
|
f81e3d6ff8
|
Fix unchecked builds.
|
2021-04-24 18:14:48 +08:00 |
|
Stephen Chung
|
41d3709db1
|
Fix decimal build.
|
2021-04-24 15:53:02 +08:00 |
|
Stephen Chung
|
c82a47ac26
|
Unchecked index access.
|
2021-04-24 14:47:20 +08:00 |
|
Stephen Chung
|
ce35f7fa72
|
Fix off by one error in optimizer.
|
2021-04-24 13:42:45 +08:00 |
|
Stephen Chung
|
b5a2937336
|
Do not treat Expr::Index with pure index as pure.
|
2021-04-24 13:42:30 +08:00 |
|
Stephen Chung
|
61b559a58f
|
Refine op-assignment.
|
2021-04-24 11:55:40 +08:00 |
|
Stephen Chung
|
e58b57b6e7
|
Change string building benchmarks.
|
2021-04-23 23:37:44 +08:00 |
|
Stephen Chung
|
dc3a217b2f
|
ImmutableString += String optimized.
|
2021-04-23 23:37:33 +08:00 |
|
Stephen Chung
|
cc1f941875
|
Optimize op-assignment.
|
2021-04-23 23:37:10 +08:00 |
|
Stephen Chung
|
335ab64a2c
|
Use SmartString inside ImmutableString.
|
2021-04-23 19:10:10 +08:00 |
|
Stephen Chung
|
fc782c5563
|
Refine posistion display.
|
2021-04-23 14:24:53 +08:00 |
|
Stephen Chung
|
d579c1b208
|
Merge pull request #407 from schungx/master
Add no_position feature.
|
2021-04-22 23:21:51 +08:00 |
|
Stephen Chung
|
1fbbb2a40d
|
Fix doc test.
|
2021-04-22 23:09:10 +08:00 |
|
Stephen Chung
|
a54fbb32ff
|
Add no_position feature.
|
2021-04-22 23:02:25 +08:00 |
|
Stephen Chung
|
fe37edd123
|
Add Stmt::FnCall.
|
2021-04-21 18:16:24 +08:00 |
|
Stephen Chung
|
cc546fcaab
|
Add version to repl.
|
2021-04-21 17:39:45 +08:00 |
|
Stephen Chung
|
956c57e9d6
|
Fix no-std build.
|
2021-04-21 10:05:28 +08:00 |
|
Stephen Chung
|
815f7ba09e
|
Remove Expr::FnPointer.
|
2021-04-20 23:40:52 +08:00 |
|
Stephen Chung
|
ce384d8bb0
|
Change FnPtr to SmartString.
|
2021-04-20 23:28:04 +08:00 |
|