Commit Graph

3924 Commits

Author SHA1 Message Date
Stephen Chung
b56a9c22f3 Refactor. 2022-09-25 12:24:03 +08:00
Stephen Chung
def1a683ef Distinguish string literals from identifiers in custom syntax parser. 2022-09-24 16:59:01 +08:00
Stephen Chung
f2b1184805 Remove need for smartstring/std. 2022-09-22 23:11:38 +08:00
Stephen Chung
a5c3c111b3
Merge pull request #647 from schungx/master
Bump version to 1.10.1.
2022-09-22 21:15:56 +08:00
Stephen Chung
ea5ff2ac5f Bump version to 1.10.1. 2022-09-22 18:23:08 +08:00
Stephen Chung
1b273cd15f
Merge pull request #646 from schungx/master
Fix test on 32-bit architectures.
2022-09-22 18:17:59 +08:00
Stephen Chung
7a6ce2a35a Fix test on 32-bit architectures. 2022-09-22 17:20:57 +08:00
Stephen Chung
9faab46356
Merge pull request #645 from schungx/master
Bug fixes.
2022-09-22 00:26:21 +08:00
Stephen Chung
2b8578d3cb Fix bug. 2022-09-21 19:06:18 +08:00
Stephen Chung
6fe0bfd259 Temp disable beta CI. 2022-09-21 18:30:22 +08:00
Stephen Chung
6eef11123a Do not search for global functions if scripted. 2022-09-21 18:30:12 +08:00
Stephen Chung
5d275b5307 Simplify to calc_fn_hash. 2022-09-21 11:46:23 +08:00
Stephen Chung
d7ae65c425 Add types to scope variable definitions. 2022-09-17 22:31:38 +08:00
Stephen Chung
a51f741546 Restore global state upon errors. 2022-09-16 18:11:28 +08:00
Stephen Chung
93f43790af Fix bloom filter on 32-bit arch. 2022-09-15 21:06:04 +08:00
Stephen Chung
3a5757d3e1
Merge pull request #642 from schungx/master
Improve speed.
2022-09-15 18:32:58 +08:00
Stephen Chung
c727b529f5 Minor refactors. 2022-09-15 08:55:07 +08:00
Stephen Chung
82317f0dbf Add API docs. 2022-09-14 21:38:02 +08:00
Stephen Chung
640471f865 Revert "Enable capacity on packages."
This reverts commit 85ca6ec4a1.
2022-09-14 15:17:36 +08:00
Stephen Chung
72244b74cd Remove redirection in functions hash map. 2022-09-14 15:11:37 +08:00
Stephen Chung
0280aa82ba Fix no-std. 2022-09-14 13:45:20 +08:00
Stephen Chung
b256b3ecc7 Use Entry API. 2022-09-14 12:11:27 +08:00
Stephen Chung
b9478e601c Use SmartString. 2022-09-14 12:11:18 +08:00
Stephen Chung
396ec7df8a Add #[cold] tags. 2022-09-13 22:54:13 +08:00
Stephen Chung
2458e05dcb Fix doc test. 2022-09-13 21:56:36 +08:00
Stephen Chung
85ca6ec4a1 Enable capacity on packages. 2022-09-13 21:47:11 +08:00
Stephen Chung
257991ca31 Fix no_function. 2022-09-13 21:12:44 +08:00
Stephen Chung
4be8062924 Optimize Module. 2022-09-13 18:23:34 +08:00
Stephen Chung
40a12b2b7d Remove key type from StraightHashMap. 2022-09-12 23:08:38 +08:00
Stephen Chung
08f6682d09 Use is_absent_and_set. 2022-09-12 22:40:52 +08:00
Stephen Chung
44219c732c Do not cache "one-hit wonders" 2022-09-12 19:47:29 +08:00
Stephen Chung
c1ae9e0405 Add state to custom syntax. 2022-09-12 12:03:32 +08:00
Stephen Chung
a2f679bb07
Merge pull request #641 from schungx/master
Fix tests.
2022-09-10 14:24:33 +08:00
Stephen Chung
ea828262ba Remove nightly from CI. 2022-09-10 14:09:55 +08:00
Stephen Chung
32825d2ca8 Fix feature build. 2022-09-10 13:49:21 +08:00
Stephen Chung
ec45224120 Fix sync feature. 2022-09-10 13:46:14 +08:00
Stephen Chung
b1afc9eac2
Merge pull request #640 from schungx/master
Ready 1.10.0.
2022-09-10 13:39:22 +08:00
Stephen Chung
75fbb609dd Bump version. 2022-09-10 13:38:52 +08:00
Stephen Chung
3e4da98703 Add closure test. 2022-09-10 13:37:33 +08:00
Stephen Chung
1bfedf516d Use a bloom filter. 2022-09-08 17:49:37 +08:00
Stephen Chung
250604d5e6
Merge pull request #638 from schungx/master
Include types in definitions.
2022-09-08 11:48:48 +08:00
Stephen Chung
1476b14831 Fix metadata build. 2022-09-08 10:58:43 +08:00
Stephen Chung
040f28f5cd Types in constants and variables for definitions. 2022-09-08 10:53:55 +08:00
Stephen Chung
2f7d6298e0 Move format_type into api. 2022-09-08 10:52:58 +08:00
Stephen Chung
faa81ac3fc Fix no-std build. 2022-09-07 14:37:33 +08:00
Stephen Chung
b0ce3ee445 Use Entry API. 2022-09-07 13:30:31 +08:00
Stephen Chung
a6ce459b32 Merge branch 'main' of https://github.com/rhaiscript/rhai 2022-09-06 17:41:47 +08:00
Stephen Chung
8b543fb634
Merge pull request #637 from quake/quake/perf
pref: tweak code to improve performance
2022-09-06 17:41:25 +08:00
quake
a3ce137500 chore: auto deref 2022-09-06 15:32:37 +09:00
quake
8ee501e4d9 pref: remove Rc/Arc::from_box 2022-09-06 14:51:32 +09:00