summaryrefslogtreecommitdiff
path: root/src/node_api.cc
Commit message (Expand)AuthorAgeFilesLines
* src: allow N-API addon in `AddLinkedBinding()`Anna Henningsen2020-09-291-5/+12
* n-api: re-implement async env cleanup hooksGabriel Schulhof2020-09-011-18/+45
* n-api: fix use-after-free with napi_remove_async_cleanup_hookAnna Henningsen2020-08-101-0/+6
* n-api,src: provide asynchronous cleanup hooksAnna Henningsen2020-08-101-0/+32
* n-api: run all finalizers via SetImmediate()Gabriel Schulhof2020-07-271-0/+11
* worker: add public method for marking objects as untransferableAnna Henningsen2020-06-301-1/+1
* n-api: remove `napi_env::CallIntoModuleThrow`Gabriel Schulhof2020-06-301-4/+4
* Revert "n-api: detect deadlocks in thread-safe function"Anna Henningsen2020-06-301-23/+0
* n-api: simplify uv_idle wranglingBen Noordhuis2020-05-041-33/+13
* n-api: detect deadlocks in thread-safe functionGabriel Schulhof2020-04-271-0/+23
* Revert "n-api: detect deadlocks in thread-safe function"Gabriel Schulhof2020-04-171-5/+0
* n-api: detect deadlocks in thread-safe functionGabriel Schulhof2020-04-141-0/+5
* doc,src: clarify that one napi_env is per-modulelegendecas2020-01-071-2/+1
* n-api: keep napi_env alive while it has finalizersAnna Henningsen2020-01-041-1/+2
* src: fix -Winconsistent-missing-override warningcjihrig2019-11-201-1/+1
* src: mark ArrayBuffers with free callbacks as untransferableAnna Henningsen2019-11-191-0/+8
* src: allow generic C++ callables in SetImmediate()Anna Henningsen2019-08-011-18/+24
* n-api: add APIs for per-instance state managementGabriel Schulhof2019-07-251-51/+23
* n-api: make thread-safe-function calls properlyGabriel Schulhof2019-07-111-5/+6
* n-api: make func argument of napi_create_threadsafe_function optionallegendecas2019-06-211-4/+11
* src: refactor uncaught exception handlingJoyee Cheung2019-06-191-1/+1
* n-api: defer Buffer finalizer with SetImmediateAnna Henningsen2019-06-141-10/+19
* src: move DiagnosticFilename inlines into a -inl.hSam Roberts2019-05-261-1/+1
* src: remove env-inl.h from header filesSam Roberts2019-05-231-1/+1
* src: move ThreadPoolWork inlines into a -inl.hSam Roberts2019-05-231-0/+1
* src: remove util-inl.h from header filesSam Roberts2019-05-131-0/+1
* n-api: do not require JS Context for `napi_async_destroy()`Anna Henningsen2019-04-241-2/+3
* src: apply clang-tidy rule modernize-use-equals-defaultgengjiawen2019-04-241-1/+1
* src: apply clang-tidy various improvementgengjiawen2019-03-091-10/+12
* worker: improve integration with native addonsAnna Henningsen2019-02-221-1/+1
* src: apply clang-tidy rule modernize-use-overridegengjiawen2019-02-181-2/+2
* n-api: turn NAPI_CALL_INTO_MODULE into a functionAnna Henningsen2019-02-171-12/+14
* n-api: do not call into JS when that is not allowedAnna Henningsen2019-02-171-0/+5
* src: use NULL check macros to check nullptrZYSzys2019-02-071-7/+7
* src: move C++ binding/addon related code into node_binding{.h, .cc}Joyee Cheung2018-11-301-1/+2
* src: factor out Node.js-agnostic N-APIsGabriel Schulhof2018-11-171-3146/+50
* src: bundle persistent-to-local methods as classGabriel Schulhof2018-11-131-1/+1
* src: move error handling code into node_errors.ccJoyee Cheung2018-11-061-1/+2
* n-api: add missing handle scopesDaniel Bevenius2018-11-031-0/+2
* n-api: make per-`Context`-ness of `napi_env` explicitAnna Henningsen2018-10-241-98/+86
* src: replace deprecated uses of FunctionTemplate::GetFunctionAndreas Haas2018-09-241-1/+3
* src: refactor `Environment::GetCurrent()` usageAnna Henningsen2018-09-171-4/+9
* n-api: add generic finalizer callbackGabriel Schulhof2018-09-121-35/+77
* src: make `FIXED_ONE_BYTE_STRING` an inline fnAnna Henningsen2018-09-101-2/+2
* n-api: clean up thread-safe functionGabriel Schulhof2018-08-311-350/+355
* src: use String::Utf8Length with isolateMichaël Zasso2018-08-291-1/+1
* src: use String::Write{OneByte,Utf8} with isolateMichaël Zasso2018-08-291-8/+16
* src,deps: add isolate parameter to String::ConcatMichaël Zasso2018-08-281-6/+8
* n-api: remove idle_running from TsFnLars-Magnus Skog2018-08-281-12/+6
* src: fix may be uninitialized warning in n-apiMichael Dawson2018-07-271-1/+1