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

src: add initial support for single executable applications #45038

Merged
Changes from 1 commit
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
6559b90
src: add initial support for single executable applications
RaisinTen Oct 21, 2022
444ca79
test: fix `'node': No such file or directory` error on CI
RaisinTen Dec 23, 2022
a30e3fc
test: fix `Cannot find module '../common'` error on Jenkins CI
RaisinTen Dec 23, 2022
5caad76
test: skip test on failing platforms
RaisinTen Dec 23, 2022
1c5968d
test: make sure that double backslashes in Windows paths aren't removed
RaisinTen Dec 23, 2022
290d69f
src: move argv replacement to another function
RaisinTen Jan 3, 2023
da1b134
doc: fix info about using notes on ELF
RaisinTen Jan 3, 2023
f08ca63
test: test code signing on Windows
RaisinTen Jan 3, 2023
afc5d75
lib,test: emit experimental warning
RaisinTen Jan 3, 2023
da74406
fixup! src: move argv replacement to another function
RaisinTen Jan 3, 2023
412d592
test: skip on debug builds on Linux
RaisinTen Jan 4, 2023
10b0fcd
test: skip on shared builds
RaisinTen Jan 4, 2023
3addc19
test: skip on --without-ssl and --shared-openssl
RaisinTen Jan 4, 2023
232ece5
test: skip on test-ibm-rhel8-s390x-1
RaisinTen Jan 4, 2023
f24e37c
test: skip on smartos
RaisinTen Jan 4, 2023
8126bb3
test: skip when cross-compiling
RaisinTen Jan 4, 2023
3c5c2cd
src: speed up case where no resource is present
RaisinTen Jan 5, 2023
b47b68d
src: use custom fuse string
RaisinTen Jan 5, 2023
2fe91c6
test: do not skip on asan builds
RaisinTen Jan 5, 2023
e0a9af3
src,doc,test: remove :0 from sentinel fuse string
RaisinTen Jan 9, 2023
665e5f8
test: skip on asan builds
RaisinTen Jan 9, 2023
fe6d488
src: change segment name from `__POSTJECT` to `NODE_JS` on macOS
RaisinTen Jan 19, 2023
8c5ba96
test: only run test on Ubuntu for Linux
RaisinTen Jan 30, 2023
2855679
test: skip on non-x64 Linux archictectures
RaisinTen Jan 31, 2023
9daeaf0
test: add back ubuntu check for linux
RaisinTen Jan 31, 2023
bf4e519
src: call IsSingleExecutable() before FindSingleExecutableCode()
RaisinTen Feb 2, 2023
a4ac355
lib: expose require without fs access
RaisinTen Feb 2, 2023
13dd503
src: wrap macho_segment_name assignment into a pre-processor for macOS
RaisinTen Feb 3, 2023
ea4a139
test: detect Ubuntu by parsing '/etc/os-release'
RaisinTen Feb 3, 2023
5664222
test: set utf8 encoding while reading
RaisinTen Feb 3, 2023
3a42a29
fixup! test: detect Ubuntu by parsing '/etc/os-release'
RaisinTen Feb 6, 2023
0eb3dee
Apply suggestions from code review
RaisinTen Feb 6, 2023
925775c
test: fix lint error
RaisinTen Feb 6, 2023
e841b26
doc: use "`node` binary" instead of just "binary"
RaisinTen Feb 8, 2023
aca1db7
doc: add note about linux support
RaisinTen Feb 8, 2023
e51708d
src: use external string
RaisinTen Feb 8, 2023
2ad8e30
src: move all SEA code to per_process::sea in node_sea.cc
RaisinTen Feb 8, 2023
2c6bb38
src: add TODO for non-ASCII character inputs
RaisinTen Feb 8, 2023
eceb1f7
src: create sea binding
RaisinTen Feb 8, 2023
732b4e0
src: add a TODO to reuse LoadEnvironment
RaisinTen Feb 8, 2023
a1b2643
src: use UnionBytes insteda of extending from ExternalOneByteStringSi…
RaisinTen Feb 9, 2023
b62393b
src: avoid storing sea statics globally
RaisinTen Feb 9, 2023
4d118cf
doc: move the second para above the first one
RaisinTen Feb 9, 2023
b040491
doc: https://github.com/nodejs/node/pull/45038#discussion_r1100745618
RaisinTen Feb 9, 2023
b4ab7f0
doc: https://github.com/nodejs/node/pull/45038#discussion_r1100746143
RaisinTen Feb 9, 2023
17a019d
build: add TODO comment to node.gyp
RaisinTen Feb 9, 2023
ec052a1
doc: https://github.com/nodejs/node/pull/45038#discussion_r1101352130
RaisinTen Feb 9, 2023
c3c1ace
test: skip asan build only on linux
RaisinTen Feb 9, 2023
2aee17f
test: move sea script to test/fixtures
RaisinTen Feb 9, 2023
d711de1
test: use execFileSync instead of execSync
RaisinTen Feb 9, 2023
e8819fb
Update test/parallel/test-single-executable-application.js
RaisinTen Feb 9, 2023
5c7bdfd
Apply suggestions from code review
RaisinTen Feb 10, 2023
44930d7
src: remove per_process nesting for the sea namespace
RaisinTen Feb 10, 2023
1747349
fixup! Apply suggestions from code review
RaisinTen Feb 10, 2023
308418e
doc: move technical details below
RaisinTen Feb 10, 2023
daa8f4d
src: fix bug from UnionBytes going out of scope
RaisinTen Feb 10, 2023
132bfcd
src: add TODO for using 1 byte strings for ASCII-only sources
RaisinTen Feb 10, 2023
a0117da
Update doc/api/single-executable-applications.md
RaisinTen Feb 10, 2023
dfa4272
Update doc/api/single-executable-applications.md
RaisinTen Feb 10, 2023
aef7e26
Update doc/api/single-executable-applications.md
RaisinTen Feb 10, 2023
d63ebf1
Update doc/api/single-executable-applications.md
RaisinTen Feb 10, 2023
6f6b7c0
Update doc/api/single-executable-applications.md
RaisinTen Feb 10, 2023
04842d0
Update doc/api/single-executable-applications.md
RaisinTen Feb 10, 2023
aaa4b1b
fixup! Update doc/api/single-executable-applications.md
RaisinTen Feb 10, 2023
0ad4016
Update doc/api/single-executable-applications.md
RaisinTen Feb 10, 2023
7ebf905
doc: add explanation to clarify the steps
RaisinTen Feb 10, 2023
eecf141
build: use postect-api.h from deps
RaisinTen Feb 11, 2023
8201ef9
Apply suggestions from code review
RaisinTen Feb 12, 2023
c276f2e
fixup! Apply suggestions from code review
RaisinTen Feb 12, 2023
7fff038
doc: clarify platform support
RaisinTen Feb 12, 2023
824945b
test: use fixtures helper for postject CLI path
RaisinTen Feb 12, 2023
b4a22ba
src: explain POSTJECT_SENTINEL_FUSE macro
RaisinTen Feb 12, 2023
e454d1b
test: skip on --with-intl=system-icu
RaisinTen Feb 17, 2023
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
Prev Previous commit
Next Next commit
fixup! Update doc/api/single-executable-applications.md
Signed-off-by: Darshan Sen <raisinten@gmail.com>
RaisinTen committed Feb 17, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit aaa4b1bfb8ce858f0d863c65e59daf7fea6796a7
4 changes: 2 additions & 2 deletions doc/api/single-executable-applications.md
Original file line number Diff line number Diff line change
@@ -35,8 +35,8 @@ $ ./hello world
Hello, world!
```

The single executable application feature only supports running a single embedded
[CommonJS][] file.
The single executable application feature only supports running a single
embedded [CommonJS][] file.

## Notes