Commit Graph

3996 Commits

Author SHA1 Message Date
0feec859fb Update all dependencies 2024-02-11 06:18:26 +00:00
013075bc82 Merge pull request 'Configure Renovate' (#1) from renovate/configure into main
Reviewed-on: #1
2023-08-08 12:13:13 +00:00
9f0bb3e693 Add renovate.json 2023-07-03 10:44:17 +00:00
Stephen Chung
ca18cdd7f4
Merge pull request #733 from schungx/master
Fix bug.
2023-06-27 22:49:00 +08:00
Stephen Chung
2474c1fec1 Fix bug. 2023-06-27 17:14:18 +08:00
Stephen Chung
541844e1e1 Remove unnecessary gates. 2023-06-27 16:53:21 +08:00
Stephen Chung
172bc14996 Bump version. 2023-06-26 08:48:22 +08:00
Stephen Chung
4627fb22a5
Merge pull request #731 from schungx/master
Bug fix.
2023-06-25 21:37:18 +08:00
Stephen Chung
1326ab933c Change version to 1.15.1. 2023-06-25 21:36:56 +08:00
Stephen Chung
03b1a1cea2 Fix bug in Dynamic::deep_scan. 2023-06-24 19:14:18 +08:00
Stephen Chung
ee64fd90aa Bump version. 2023-06-18 20:53:49 +08:00
Stephen Chung
fd162ab99f
Merge pull request #728 from schungx/master
Fix tests output.
2023-06-15 21:41:35 +08:00
Stephen Chung
1728de7dcd Fix tests output. 2023-06-15 11:06:14 +08:00
Stephen Chung
d12b124f67
Merge pull request #726 from schungx/master
Fix static hashing key bug.
2023-06-15 11:01:41 +08:00
Stephen Chung
982b972d3b Fix formatting. 2023-06-15 10:34:54 +08:00
Stephen Chung
4c9c9840c8 Merge branch 'main' of https://github.com/rhaiscript/rhai 2023-06-15 10:31:01 +08:00
Stephen Chung
55a1daee98
Merge pull request #725 from garypen/main
change HokmaLock::write() to use atomic compare_exchange
2023-06-15 08:30:07 +08:00
Gary Pennington
ee6b6d69dd persist in using SeqCst
We probably don't need to, but let's keep the change minimal...
2023-06-14 17:03:56 +01:00
Gary Pennington
f7cc4c93d6 remove redunant compare of previous and 1
since that's what the compare_exchange does...
2023-06-14 15:29:51 +01:00
Gary Pennington
785be453f6 remove a race from the hashing write()
Calling load() and store() separately leaves a lot of opportunity for a
race to occur.

This changes the logic to use compare_exchange() and will only return if
the previous value is absolutely not 1 at the point of comparison.

I also don't think this needs to be SeqCst, so relaxing that requirement
a little.
2023-06-14 15:23:12 +01:00
Stephen Chung
f96c99bbe9 Use try_cast_raw. 2023-05-19 13:29:51 +08:00
Stephen Chung
2a309def54 Revert "Enable macos for no-std tests."
This reverts commit 850587e437.
2023-05-13 14:59:30 +08:00
Stephen Chung
850587e437 Enable macos for no-std tests. 2023-05-13 14:47:32 +08:00
Stephen Chung
db9980ce3a Improve type display in error messages. 2023-05-13 10:47:39 +08:00
Stephen Chung
b1fbfcbc07 Add take function. 2023-05-13 09:31:57 +08:00
Stephen Chung
d84008dda0 Fix builds. 2023-05-11 00:23:42 +08:00
Stephen Chung
2fcb1e510c Refine this processing. 2023-05-10 23:07:37 +08:00
Stephen Chung
d30c0c2242 Refine example scripts. 2023-05-10 08:55:38 +08:00
Stephen Chung
bfe39a9c7c Faster processing of this pointer. 2023-05-07 22:25:01 +08:00
Stephen Chung
0a7cca9910 Add Dynamic::try_cast_raw 2023-05-06 02:08:32 +08:00
Stephen Chung
dbe85bf33e Bump version. 2023-05-03 01:18:26 +08:00
Stephen Chung
3d0d3748a3 Add version to no-std-compat. 2023-05-03 01:14:34 +08:00
Stephen Chung
517f219066
Merge pull request #719 from schungx/master
Fixed thumbv6m-none-eabi
2023-05-03 00:58:58 +08:00
Stephen Chung
7df3e76ea2 Fixed thumbv6m-none-eabi 2023-05-03 00:58:18 +08:00
Stephen Chung
988a35dd30
Merge pull request #717 from LinuxHeki/main
Fix compilation for thumbv6m-none-eabi
2023-05-02 21:17:56 +08:00
LinuxHeki
4c0a1e9459 fix compilation for thumbv6m-none-eabi 2023-05-02 14:41:53 +02:00
LinuxHeki
14b924e83a update no-std-compat dependency 2023-05-02 14:39:29 +02:00
Stephen Chung
c1d1072c74
Merge pull request #716 from schungx/master
Dynamic deserialization.
2023-04-29 09:41:38 +08:00
Stephen Chung
ae59a3321b Add support for deserialization of custom type/shared value from into another Dynamic. 2023-04-28 23:16:00 +08:00
Stephen Chung
72cfd42ab7 Code refactor. 2023-04-28 15:05:31 +08:00
Stephen Chung
ceb5b3718d Merge branch 'main' of https://github.com/rhaiscript/rhai 2023-04-28 10:54:45 +08:00
Stephen Chung
3dbfc1e99f Cleanup code. 2023-04-27 15:24:55 +08:00
Stephen Chung
aa47dd2407
Merge pull request #715 from schungx/master
Fix bugs.
2023-04-27 13:40:37 +08:00
Stephen Chung
76e6c1b9e4 Fix bug on OOP-style calling of exported map object. 2023-04-27 13:19:28 +08:00
Stephen Chung
ff2a23189a Improve FnPtr debug print. 2023-04-27 12:11:41 +08:00
Stephen Chung
4ec16d14e0 Fix custom syntax bug. 2023-04-25 23:14:08 +08:00
Stephen Chung
6be29cae54 Fix reverse lookup table for keywords 2023-04-25 22:33:29 +08:00
Stephen Chung
1a61ed167c Fix optimizer constants propagation bug. 2023-04-24 12:17:23 +08:00
Stephen Chung
e28bdd5b17 Rewrite combo chains in parser. 2023-04-23 00:00:55 +08:00
Stephen Chung
a0869004a3 Optimize chain structure. 2023-04-22 12:42:50 +08:00