LongYinan
bb5e1f4286
feat(napi): implement create_reference/get_reference_value
2020-12-18 00:07:24 +08:00
LongYinan
c4734e23a1
feat(napi): set and get instance data
2020-12-17 00:27:33 +08:00
LongYinan
932ebcbee5
feat(napi): create_buffer_with_manually_drop_data
2020-12-10 14:26:19 +08:00
LongYinan
f90640d7aa
docs: update documents
2020-12-03 17:17:40 +08:00
LongYinan
ba9744e89c
refactor(napi): reduce useless type cast
2020-12-02 18:39:20 +08:00
LongYinan
5ffb14729d
refactor(napi): js error
2020-12-02 14:56:19 +08:00
LongYinan
c184ab3926
ci: add cargo clippy
2020-12-01 14:58:00 +08:00
LongYinan
1a3621b727
feat(napi): major upgrades for napi@1
...
1. inline everything
2. change `check_status` and `type_of` to macro
3. provide #[module_exports] macro
4. remove debug and repr[transparent] for ffi struct
2020-11-26 11:31:49 +08:00
LongYinan
c370b8374b
fix(napi): CString memory leak
2020-11-20 10:53:33 +08:00
LongYinan
781ff8dc14
refactor(napi): make NapiTrait to be unsafe
...
close https://github.com/napi-rs/napi-rs/issues/299
2020-11-20 00:07:20 +08:00
LongYinan
2d47969d08
fix(napi): CString issues
2020-11-19 23:41:29 +08:00
LongYinan
e4f005c735
fix(napi): memory leak with CString
2020-11-15 23:22:29 +08:00
LongYinan
68017ce246
fix(napi): memory leak in create_named_property
2020-11-14 11:45:10 +08:00
LongYinan
1669b3a8f1
fix(napi): windows-i686 release build problem
2020-11-14 00:22:10 +08:00
LongYinan
eb5f4931bd
feat(napi): impl Clone and Drop for ThreadSafeFunction, return Status from ThreadSafeFunction::call
2020-11-11 16:51:11 +08:00
LongYinan
fc0ec0b378
refactor(napi-sys): remove bindgen
2020-11-10 17:52:59 +08:00
LongYinan
47f5011a8f
feat(napi): support build on i686-pc-windows-msvc
2020-11-04 23:08:54 +08:00
LongYinan
e559908b76
feat(napi): implement create_array
2020-10-21 15:17:06 +08:00
LongYinan
64d66a2261
chore: tokio@0.3
2020-10-16 20:58:56 +08:00
LongYinan
5a49efe25e
feat: support linux aarch64
2020-10-15 09:12:43 +08:00
LongYinan
809ecfec49
feat(napi): implement create_buffer_copy
2020-10-11 21:54:23 +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
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
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
d3fdfd48d0
refactor(napi): remove useless handle_scope operation in async_work
2020-09-26 17:14:44 +08:00
LongYinan
df5b082141
perf(napi): remove typecheck in CallContext for better performance
2020-09-07 17:26:28 +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
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
Ouyang Yadong
14dd8b83e6
feat(napi): add BigInt related apis
2020-08-12 22:40:52 +08:00
LongYinan
64df7205e9
refactor(napi): change data to &'static [u8] in JsBuffer
2020-08-10 13:52:05 +08:00
LongYinan
3508956d16
feat(napi): implement either type
2020-07-18 02:11:49 +08:00
LongYinan
62482ab2e6
doc: add some documents
2020-07-14 23:05:08 +08:00
LongYinan
9118e9e62d
feat(napi): implment tokio_rt feature
2020-07-14 22:58:05 +08:00
LongYinan
04238c38ab
style(napi): typo adjust
2020-07-07 11:57:33 +08:00
LongYinan
f4a331cfe2
feat(napi): provide execute function to run Future on libuv
2020-07-07 11:57:32 +08:00
LongYinan
0216c55e54
refactor(napi): redesign the JavaScript values API
2020-06-28 23:29:04 +08:00