Commit Graph

3286 Commits

Author SHA1 Message Date
Stephen Chung
3c40c302d1
Merge pull request #458 from schungx/master
Version 1.1.0
2021-10-11 17:43:34 +08:00
Stephen Chung
782f6a3e12 Revert change. 2021-10-11 16:46:34 +08:00
Stephen Chung
90b6b15f15 Use into(). 2021-10-11 15:49:51 +08:00
Stephen Chung
4908b58473 Lazy calculate indexer call hashes. 2021-09-29 12:16:59 +08:00
Stephen Chung
504e695956 Turn on smartstring/serde with metadata. 2021-09-28 19:19:17 +08:00
Stephen Chung
c977140ecb
Merge pull request #456 from schungx/master
Bug fixes.
2021-09-28 17:22:03 +08:00
Stephen Chung
87d48948f9 Merge branch 'bug-fixes' 2021-09-28 16:55:33 +08:00
Stephen Chung
0cde18d3b5 Bump version. 2021-09-28 16:51:23 +08:00
Stephen Chung
7ce8887343 Fix no_index build. 2021-09-28 16:36:31 +08:00
Stephen Chung
b90776911d Fix tests output. 2021-09-28 16:32:31 +08:00
Stephen Chung
07acc6e125 Fix test output. 2021-09-28 16:24:08 +08:00
Stephen Chung
85dcd6e754 Fix bug with changing property of value obtained via index getter. 2021-09-28 15:59:46 +08:00
Stephen Chung
0b72a31d07 Fix test output. 2021-09-27 11:24:48 +08:00
Stephen Chung
0d651f74ce Extract expected result. 2021-09-27 11:13:48 +08:00
Stephen Chung
e963a7251c Check if empty string came from global instance. 2021-09-27 11:09:19 +08:00
Stephen Chung
c4a00f5269 Change consume to run. 2021-09-27 10:59:38 +08:00
Stephen Chung
fe47058add Merge branch 'bug-fixes' 2021-09-27 10:34:46 +08:00
Stephen Chung
6df2178460 Assume property getters are pure. 2021-09-27 10:34:24 +08:00
Stephen Chung
70828209fe Fix builds. 2021-09-26 21:50:07 +08:00
Stephen Chung
42d3fde0af Fix no_closure build. 2021-09-26 21:30:33 +08:00
Stephen Chung
a130960627 Fix empty strings. 2021-09-26 21:25:29 +08:00
Stephen Chung
3557db88e8 Merge empty strings. 2021-09-26 21:18:52 +08:00
Stephen Chung
65a1c24d7b Add signatures to callback function docs. 2021-09-25 15:57:38 +08:00
Stephen Chung
0715262c44 Enhance signature of on_parse_token callback. 2021-09-24 22:44:39 +08:00
Stephen Chung
7a346edcaa
Merge pull request #453 from schungx/master
New features and bug fixes.
2021-09-24 19:34:31 +08:00
Stephen Chung
65326d87f4 Fix test output. 2021-09-24 18:42:57 +08:00
Stephen Chung
d791052d5c Add Engine::on_parse_token. 2021-09-24 18:00:48 +08:00
Stephen Chung
cd8af67842 Merge branch 'bug-fixes' 2021-09-24 09:27:45 +08:00
Stephen Chung
d9dca6ef98 Expore more internal data structures. 2021-09-24 09:26:35 +08:00
Stephen Chung
562731c154 Fix fibonacci example. 2021-09-21 10:41:09 +08:00
Stephen Chung
a6b78944c9 Add example to README. 2021-09-21 00:14:50 +08:00
Stephen Chung
8f94a60020 Optimize interpolated strings. 2021-09-20 22:36:10 +08:00
Stephen Chung
adbe9a292e Short circuit functions if empty: array, map, string. 2021-09-20 18:35:23 +08:00
Stephen Chung
6e7fbfa66f Add pop to string. 2021-09-20 16:25:23 +08:00
Stephen Chung
71e8cf727d Use LazyCompact for SmartString. 2021-09-20 11:34:01 +08:00
Stephen Chung
2d46bf37c8 Fix build. 2021-09-19 22:44:27 +08:00
Stephen Chung
e191f9d91e Merge branch 'bug-fixes' 2021-09-19 22:34:47 +08:00
Stephen Chung
caf3c7e698 Bump version. 2021-09-19 22:31:50 +08:00
Stephen Chung
661d00bc94 Fix test output. 2021-09-19 22:08:29 +08:00
Stephen Chung
5d47ebf57a Add test for constants to Scope::get_mut. 2021-09-18 10:14:54 +08:00
Stephen Chung
5163fb0a33 Upgrade to rust-decimal 1.16 and add sin/cos/tan. 2021-09-15 10:41:35 +08:00
Stephen Chung
c231646197 Add sign function fixes. 2021-09-15 10:31:46 +08:00
Stephen Chung
08155c0978 Fix sign function for NaN. 2021-09-14 22:33:10 +08:00
Stephen Chung
bdbfa8ef5f Catch mutually exclusive features. 2021-09-12 21:06:13 +08:00
Stephen Chung
50ad42bd7f Fix metadata build. 2021-09-12 14:46:31 +08:00
Stephen Chung
48d40b2ea7 Merge branch 'master' of https://github.com/schungx/rhai 2021-09-12 14:34:26 +08:00
Stephen Chung
c84f80d433 Use StaticVec for parsing. 2021-09-12 14:34:00 +08:00
Stephen Chung
b961a10d27 Refine code. 2021-09-12 14:33:48 +08:00
Stephen Chung
96dbbc76e4 Use StaticVec for function resolution caches for the common case where no modules are used. 2021-09-12 13:33:55 +08:00
Stephen Chung
6061439ede Use StaticVec for function resolution caches for the common case where no modules are used. 2021-09-12 13:31:37 +08:00