Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-api: use c-based api for libnode embedding #54660

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
19e8206
node-api: use c-based api for libnode embedding
vmoroz Aug 30, 2024
a4dd991
remove node_api_delete_env_options
vmoroz Aug 30, 2024
d70e2d9
change node_api_get_strings_callback signature
vmoroz Aug 30, 2024
6bb82b8
rename functions and callbacks
vmoroz Aug 31, 2024
d174f2d
platform flags to match process init flags
vmoroz Aug 31, 2024
6e4da25
add environment flags
vmoroz Sep 1, 2024
ee97722
add environment preload callback
vmoroz Sep 3, 2024
9387c56
Update test/embedding/embedtest_concurrent_node_api.cc
vmoroz Sep 3, 2024
9a770b3
Update doc/api/embedding.md
vmoroz Sep 3, 2024
d236f28
update API based on the PR feedback
vmoroz Sep 7, 2024
593c373
add support for linked modules
vmoroz Sep 10, 2024
d0604d8
add run Node.js main and address some TODOs
vmoroz Sep 11, 2024
21efab9
add node_embedding_exit_code enum
vmoroz Sep 11, 2024
cbbe06a
simplify the Node-API code invocation
vmoroz Sep 12, 2024
59ca2a8
reduce number of args functions
vmoroz Sep 13, 2024
da6d540
Merge branch 'main' into pr/node-api-libnode
vmoroz Sep 13, 2024
0f5f9fc
run event loop from UI loop and remove snapshots
vmoroz Sep 17, 2024
e53e166
update API
vmoroz Sep 20, 2024
d261495
add config types
vmoroz Sep 21, 2024
1ce08a1
add status codes and structs
vmoroz Sep 23, 2024
f4b7406
Merge branch 'main' into pr/node-api-libnode
vmoroz Sep 24, 2024
ceaeb11
Merge branch 'main' into pr/node-api-libnode
vmoroz Nov 8, 2024
42e76c8
update API
vmoroz Nov 8, 2024
abfa555
Merge remote-tracking branch 'upstream/main' into pr/node-api-libnode
vmoroz Jan 31, 2025
d895ce1
update embedding API and add C tests
vmoroz Jan 31, 2025
59faec3
update embedding docs
vmoroz Jan 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
Macros:
- "NODE_ENUM(a,b) = enum class b"
- "NODE_ENUM_FLAGS(a,b) = enum class b"
- "NODE_ENUM_ITEM (a,b) = b"
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBlockIndentWidth: 2
Expand Down
Loading