Commit Graph

1036 Commits

Author SHA1 Message Date
Stephen Chung
9d900a6722 Remove _Private. 2020-07-25 16:09:13 +08:00
Stephen Chung
94c2f64473 Merge branch 'master' of https://github.com/jonathandturner/rhai 2020-07-25 16:05:11 +08:00
Stephen Chung
c825de6f77 Mark internal data structures with [INTERNALS]. 2020-07-25 16:05:08 +08:00
Stephen Chung
22169582bb
Merge pull request #196 from udoprog/tokenize-numeric-literal
Avoid scanning over slices to validate numerical literals
2020-07-25 16:03:17 +08:00
Stephen Chung
6a96be3382 Merge branch 'master' of https://github.com/jonathandturner/rhai 2020-07-25 15:58:37 +08:00
John-John Tedro
1aab77df1c Avoid scanning over slices to validate numerical literals 2020-07-25 09:52:54 +02:00
Stephen Chung
284e58e8a1 Improve documentation on internal types. 2020-07-25 15:52:27 +08:00
Stephen Chung
252b6cb8f3
Merge pull request #197 from udoprog/seal-variant
Seal Variant trait to prevent downstream implementations
2020-07-25 15:50:51 +08:00
Stephen Chung
8109e26538
Merge pull request #198 from udoprog/unbreak-no-std
Unbreak no std
2020-07-25 15:39:25 +08:00
John-John Tedro
be86927bc5 Use bash syntax to check value of TRAVIS_RUST_VERSION 2020-07-25 09:26:22 +02:00
John-John Tedro
261273bac3 Unbreak no_std 2020-07-25 09:21:30 +02:00
John-John Tedro
e7aaec8e3a Seal Variant trait to prevent downstream implementations 2020-07-25 09:20:19 +02:00
Stephen Chung
7f7c3b44f9
Merge pull request #191 from udoprog/error-shadowing
Avoid shadowing call errors in get_indexed_mut
2020-07-25 15:15:49 +08:00
John-John Tedro
d920613d57 Avoid shadowing call errors in get_indexed_mut 2020-07-25 08:13:11 +02:00
Stephen Chung
a58207aaa9 Change ScriptFnDef to use ImmutableString. 2020-07-25 14:06:13 +08:00
Stephen Chung
b4b7abdcb0 Add license to README. 2020-07-25 14:06:04 +08:00
Stephen Chung
ac218e23c6 Merge branch 'master' of https://github.com/jonathandturner/rhai 2020-07-25 14:02:04 +08:00
Stephen Chung
333c4e3a2e
Merge pull request #194 from felixrabe/issue-193-license-clarification
License clarification
2020-07-25 14:01:16 +08:00
Felix Rabe
c14f36e2d5 README.md: Add License section (based on Syn) 2020-07-25 07:08:16 +02:00
Felix Rabe
ec0aa891d7 Add LICENSE-MIT.txt (based on Syn) 2020-07-25 07:08:16 +02:00
Felix Rabe
11cef56f89 Remove appendix from LICENSE-APACHE.txt 2020-07-25 07:08:13 +02:00
Felix Rabe
1bd7a9d079 Rename LICENSE.txt -> LICENSE-APACHE.txt 2020-07-25 06:54:28 +02:00
Stephen Chung
463d669ab5 Avoid shadowing indexer errors. 2020-07-25 09:55:33 +08:00
Stephen Chung
554ee07e01 Restore benchmark.yml. 2020-07-25 09:47:50 +08:00
Stephen Chung
af41850da0 Merge branch 'master' of https://github.com/jonathandturner/rhai 2020-07-25 09:39:31 +08:00
Stephen Chung
5eed70c5c8
Merge pull request #192 from udoprog/serde-patch
Support u128/i128 types during serialization
2020-07-25 09:36:37 +08:00
John-John Tedro
ea22591e36 Support u128/i128 types during serialization 2020-07-24 19:08:59 +02:00
Stephen Chung
2b0aacde23 Fix Module::set_indexer_set_fn. 2020-07-24 23:16:54 +08:00
Stephen Chung
136068ba43
Merge pull request #190 from udoprog/master
set_indexer_set_fn to support setting generic value
2020-07-24 23:08:24 +08:00
John-John Tedro
96aa5ed39e set_indexer_set_fn to support setting generic value 2020-07-24 16:20:47 +02:00
Stephen Chung
f7378f7feb
Merge pull request #189 from schungx/master
Function pointers currying.
2020-07-24 16:56:45 +08:00
Stephen Chung
bff266d4e1 Move function calling to separate source file. 2020-07-23 18:40:42 +08:00
Stephen Chung
1a48a2d8ba Refine currying docs. 2020-07-23 15:49:09 +08:00
Stephen Chung
dc7f847a8e Merge branch 'master' of https://github.com/schungx/rhai 2020-07-23 10:13:10 +08:00
Stephen Chung
b913b521dc Improve currying. 2020-07-23 10:12:51 +08:00
Stephen Chung
7b22276ea8
Merge pull request #17 from Eliah-Lakhin/master
FnPtr::call_dynamic that fixes issues with curry-ed lambdas when they are called dynamically
2020-07-23 10:01:16 +08:00
Ilya Lakhin
82685b7df2 FnPtr::call_dynamic shortcut function that enriches call arguments with curry-ed data automatically 2020-07-23 04:53:40 +07:00
Stephen Chung
6d551f1596 Add currying support. 2020-07-22 23:12:09 +08:00
Stephen Chung
e103c8e66c Refine string docs. 2020-07-22 21:32:56 +08:00
Stephen Chung
abf66850f6 Enable custom syntax without internals. 2020-07-22 17:05:13 +08:00
Stephen Chung
9231dbf7b1
Merge pull request #188 from schungx/master
Anonymous functions, no-std fix, simplify custom syntax, minor speed improvements.
2020-07-22 13:40:33 +08:00
Stephen Chung
35374f5b3b Simplify custom syntax. 2020-07-22 13:08:51 +08:00
Stephen Chung
187824e684 Improve inlining of Dynamic methods. 2020-07-22 13:05:24 +08:00
Stephen Chung
839738b97e Change no_std sample to bare-bones. 2020-07-22 11:43:58 +08:00
Stephen Chung
16e8ef454f Refine no-std sample. 2020-07-21 23:08:46 +08:00
Stephen Chung
61a1355c59 Add no-std example. 2020-07-21 22:32:24 +08:00
Stephen Chung
e6c3f8134d Avoid copying property name for map property access. 2020-07-21 20:59:12 +08:00
Stephen Chung
ec3074106e Display type name when printing Dynamic values that have no built-in format. 2020-07-21 20:58:53 +08:00
Stephen Chung
e8b6d0143d Small fixups. 2020-07-20 23:23:12 +08:00
Stephen Chung
a5fa8322e9 Avoid pulling in std for no-std. 2020-07-20 20:23:35 +08:00