Commit graph

103 commits

Author SHA1 Message Date
LongYinan
13216f523a
feat(napi): napi_get_all_property_names 2020-10-12 22:38:52 +08:00
LongYinan
1dc9974c19
feat(napi): implement detach arraybuffer 2020-10-11 22:26:09 +08:00
LongYinan
ae8de8a631
feat(napi): implement dataview related apis 2020-10-11 22:15:58 +08:00
LongYinan
809ecfec49
feat(napi): implement create_buffer_copy 2020-10-11 21:54:23 +08:00
LongYinan
276fc45603
style: format toml files 2020-10-11 21:36:14 +08:00
LongYinan
d151318131
fix(napi): TypedArray napi < 6 compatible issue 2020-10-10 19:00:21 +08:00
LongYinan
0deb9f7755
feat(napi): implement TypedArray related APIs 2020-10-10 18:54:05 +08:00
LongYinan
3da8daf192
feat(napi): implement napi_reference_ref 2020-10-10 18:21:11 +08:00
LongYinan
e0d75d1453
feat(napi): implement napi_is_promise 2020-10-10 18:17:32 +08:00
LongYinan
6c95d86d2f
feat(napi): implement date related API 2020-10-10 15:02:11 +08:00
LongYinan
c5f2b6699d
refactor(napi): thread safe function redesign 2020-10-04 17:16:35 +08:00
LongYinan
45411a59ea
feat(napi): implement env cleanup hook 2020-10-04 16:02:04 +08:00
LongYinan
43c01796eb
feat(napi): implement JsTimeout 2020-10-03 14:57:56 +08:00
LongYinan
a532451fc0
feat(napi): refactor Env::get_global 2020-10-03 14:57:31 +08:00
LongYinan
3eecf1fc5f
fix(napi): arraybuffer implement
close https://github.com/napi-rs/napi-rs/issues/68
2020-09-30 18:23:31 +08:00
LongYinan
9c921ffaa3
refactor(napi): scope and Ref 2020-09-30 15:54:54 +08:00
LongYinan
fb4d07edd4
feat: add benchmark crate and frameworks 2020-09-30 15:31:17 +08:00
LongYinan
aadca83d2e
refactor(napi): implement async task cancel 2020-09-26 18:12:52 +08:00
LongYinan
f1281af260
feat(napi): add lifetime span to JsBuffer 2020-09-26 17:59:58 +08:00
LongYinan
c0277542a2
refactor(napi): from_raw_unchecked and this_unchecked 2020-09-26 17:49:30 +08:00
LongYinan
d3fdfd48d0
refactor(napi): remove useless handle_scope operation in async_work 2020-09-26 17:14:44 +08:00
LongYinan
8440c6893a
chore(release): publish 2020-09-07 17:44:31 +08:00
LongYinan
df5b082141
perf(napi): remove typecheck in CallContext for better performance 2020-09-07 17:26:28 +08:00
LongYinan
1219f3b172
chore(release): publish
- napi@0.5.0
- napi-derive@0.5.0
2020-09-03 20:39:29 +08:00
LongYinan
9aec0ec38e
docs: upgrade docs 2020-09-03 20:38:28 +08:00
LongYinan
371cc5eab0
feat(napi): string latin1 support 2020-09-03 19:11:30 +08:00
LongYinan
1c3d9b4e9a
test(napi): add more object functions tests 2020-09-03 15:34:27 +08:00
LongYinan
76d1258592
feat(napi): implement all object functions 2020-09-03 00:02:41 +08:00
LongYinan
a022fe01d9
chore(napi): cleanup codes 2020-09-02 10:59:11 +08:00
LongYinan
ea3fff25ae
feat(napi): serde-json feature 2020-09-01 23:48:02 +08:00
LongYinan
98ca6a3339
chore(release): publish
- napi@0.4.13
2020-08-24 20:10:32 +08:00
LongYinan
be8e0f09e6
build(napi): fix docsrs build 2020-08-24 20:10:11 +08:00
LongYinan
1a23ab4606
chore(release): publish
- napi@0.4.12
- napi-sys@0.4.7
2020-08-24 19:48:02 +08:00
LongYinan
e1476cb219
chore(release): publish
- napi@0.4.11
- napi-sys@0.4.6
2020-08-24 19:08:09 +08:00
LongYinan
98210cd771
feat(napi): implement more napi 2020-08-24 16:16:41 +08:00
Ouyang Yadong
00454eb577 refactor(napi): use get_uv_event_loop instead of uv_default_loop
Using the uv_loop_s from napi_env is safer as it's possible that
there are multiple Workers, and therefore multiple uv_loop_s.
2020-08-18 13:55:35 +08:00
LongYinan
b19bfcf651
chore(release): publish
- napi-sys@0.4.5
- napi@0.4.10
2020-08-16 17:41:44 +08:00
LongYinan
6e734030a8
chore(release): publish
- napi@0.4.9
- napi-sys@0.4.4
2020-08-16 16:21:13 +08:00
LongYinan
9b56f7a04a
build: try fix docs-rs build 2020-08-15 18:32:41 +08:00
LongYinan
f8711f33d9
chore(release): publish
- napi-sys@0.4.3
- napi@0.4.8
2020-08-14 00:21:48 +08:00
Ouyang Yadong
14dd8b83e6
feat(napi): add BigInt related apis 2020-08-12 22:40:52 +08:00
LongYinan
4babd2694a
chore(release): napi@0.4.7 2020-08-10 14:16:17 +08:00
LongYinan
64df7205e9
refactor(napi): change data to &'static [u8] in JsBuffer 2020-08-10 13:52:05 +08:00
LongYinan
5b10965f9c
chore(release): napi@0.4.6 2020-08-06 14:53:59 +08:00
LongYinan
e866278654
fix(napi): need Send with Task trait 2020-08-06 14:53:59 +08:00
LongYinan
2e9e86a841
build: fix features in docs.rs 2020-08-03 16:17:14 +08:00
LongYinan
712eb82c40
chore(release): napi@0.4.4 2020-08-03 14:35:22 +08:00
LongYinan
b69a183681
fix(napi): wrong string length 2020-08-03 14:34:58 +08:00
LongYinan
be51252e18
chore(release): napi@0.4.3, napi-sys@0.4.1 2020-08-03 13:56:52 +08:00
Michael Orenstein
6b8bd01bcc
Updated threadsafe documentation to mention the first argument error convention 2020-07-26 18:26:42 +09:30