LongYinan
|
f46aa1f67a
|
fix(napi): throw JavaScript error in tsfn rather than rust thread panic
|
2021-01-25 12:11:12 +08:00 |
|
LongYinan
|
501313789d
|
feat(napi): AsMut and DerefMut for JsBuffer
|
2020-12-25 00:21:37 +08:00 |
|
LongYinan
|
26a2c01cd6
|
feat(napi): From Serde JSON Error for Error
|
2020-12-24 12:20:23 +08:00 |
|
LongYinan
|
530359421c
|
refactor(napi): create_buffer_with_borrowed_data now accepted raw ptr
|
2020-12-24 11:53:23 +08:00 |
|
LongYinan
|
0239b9c012
|
Merge pull request #370 from napi-rs/task-reject
feat(napi): provide reject method in Task trait
|
2020-12-18 11:58:24 +08:00 |
|
LongYinan
|
9d38689426
|
feat(napi): provide reject method in Task trait
Do some cleanup logic if needed
|
2020-12-18 11:32:15 +08:00 |
|
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
|
5989a79f0d
|
feat(napi): unsafe cast JsUnknown to the other JsValue
|
2020-12-10 14:26:18 +08:00 |
|
LongYinan
|
5ffb14729d
|
refactor(napi): js error
|
2020-12-02 14:56:19 +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
|
6ba674e4bc
|
feat(napi): new JsFunction instance
|
2020-10-27 14:19:40 +08:00 |
|
LongYinan
|
4dcf50ef06
|
test(napi): add specs for array
|
2020-10-21 15:45:45 +08:00 |
|
LongYinan
|
1bd29e2761
|
test: add env#wrap tests
|
2020-10-15 11:10:17 +08:00 |
|
LongYinan
|
809ecfec49
|
feat(napi): implement create_buffer_copy
|
2020-10-11 21:54:23 +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
|
45411a59ea
|
feat(napi): implement env cleanup hook
|
2020-10-04 16:02:04 +08:00 |
|
LongYinan
|
e713d647f5
|
test(napi): add JsTimeout specs
|
2020-10-03 15:03:10 +08:00 |
|
LongYinan
|
43c01796eb
|
feat(napi): implement JsTimeout
|
2020-10-03 14:57:56 +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
|
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
|
feced6ed52
|
chore: upgrade deps and fix type-check error
|
2020-08-24 18:22:48 +08:00 |
|
LongYinan
|
100ad98407
|
refactor(test_module): migrate tests to TypeScript
|
2020-08-24 16:55:54 +08:00 |
|
LongYinan
|
98210cd771
|
feat(napi): implement more napi
|
2020-08-24 16:16:41 +08:00 |
|
Ouyang Yadong
|
1329409ca4
|
fixup! refactor(napi): use get_uv_event_loop instead of uv_default_loop
|
2020-08-18 14:11:19 +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
|
b69a183681
|
fix(napi): wrong string length
|
2020-08-03 14:34:58 +08:00 |
|
LongYinan
|
5a0b9919ea
|
test(napi): add class specs
|
2020-08-02 23:31:22 +08:00 |
|
messense
|
efa9ba5892
|
Throw exception when Rust code panics
|
2020-07-19 16:54:10 +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
|
f4a331cfe2
|
feat(napi): provide execute function to run Future on libuv
|
2020-07-07 11:57:32 +08:00 |
|
Ouyang Yadong
|
472d4f2ab5
|
chore: add into_unknown; refactor tsfn api; add tests for js function
|
2020-07-04 00:05:31 +08:00 |
|
LongYinan
|
0d5f03f845
|
feat: move napi version features setup to build package
|
2020-07-02 00:40:36 +08:00 |
|
LongYinan
|
0216c55e54
|
refactor(napi): redesign the JavaScript values API
|
2020-06-28 23:29:04 +08:00 |
|
Ouyang Yadong
|
f126a0581f
|
feat(napi): impl threadsafe function api
|
2020-06-28 22:47:08 +08:00 |
|
LongYinan
|
79401d693e
|
feat(napi): implement create_external and get_value_external
|
2020-06-19 16:16:28 +08:00 |
|
LongYinan
|
422682c8b8
|
test: setup test framework in test_module project
|
2020-06-17 20:53:41 +08:00 |
|