Commit 822c0b9
authored
feat: full test coverage on macos & ios, v8 14 (#28)
- Adds full test coverage 100% success for iOS, and introduces macOS test support too
- Introduces some built-in Node.js APIs like node:path, etc. A process global is also added with minimal API surface
- Bunch of fixes in the FFI layer, related to correctness & performance
- Introduces Generated Signature Dispatch: compile time generated trampolines that boost performance of native calls by 20% on average through eliminating libffi layer
- Improved memory management, less leaks. Introduces tests for reliable memory management
- Removes types, build artifacts and metadata binaries from the repo
- Cleans up old runtime related stuff
- Fetches prebuilt V8 binaries now. To be added for Hermes soon.1 parent 99bc1d4 commit 822c0b9
File tree
1,519 files changed
+24767
-1622773
lines changed- .github/workflows
- NativeScriptRuntime.xcodeproj
- project.xcworkspace
- NativeScript
- cli
- ffi
- libffi
- iphoneos-arm64
- include
- iphonesimulator-universal
- include
- macosx-universal
- include
- napi
- common
- jsc
- quickjs
- v8
- include_old
- cppgc
- internal
- inspector
- libplatform
- include
- cppgc
- internal
- libplatform
- v8_inspector
- src
- base
- platform
- common
- debug
- inspector
- runtime
- modules
- module
- node
- performance
- timers
- url
- web
- worker
- TKLiveSync
- TestFixtures
- Api
- Marshalling
- TestRunner
- Source Files
- app/tests
- Marshalling
- Primitives
- Modules
- cli_tests
- benchmark
- memory
- node_api
- metadata-generator
- include
- metadata
- src
- IR
- MetadataWriter
- packages
- ios-sim/types
- ios
- build/RelWithDebInfo/NativeScript.apple.node
- ios-arm64-simulator
- NativeScript.framework
- Headers
- _CodeSignature
- dSYMs/NativeScript.framework.dSYM/Contents
- Resources
- DWARF
- Relocations/aarch64
- ios-arm64
- NativeScript.framework
- Headers
- _CodeSignature
- dSYMs/NativeScript.framework.dSYM/Contents
- Resources
- DWARF
- Relocations/aarch64
- types
- macos
- build/RelWithDebInfo/NativeScript.apple.node
- macos-arm64
- NativeScript.framework
- Versions/0.1.0
- Headers
- Resources
- _CodeSignature
- dSYMs/NativeScript.framework.dSYM/Contents
- Resources
- DWARF
- Relocations/aarch64
- types
- visionos-sim/types
- visionos/types
- project-template-macos
- __PROJECT_NAME__.xcodeproj
- internal
- scripts
- v8_patches
- v8ios.xcodeproj
- project.xcworkspace
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,519 files changed
+24767
-1622773
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| |||
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
155 | 158 | | |
| 159 | + | |
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
| 163 | + | |
159 | 164 | | |
160 | 165 | | |
161 | 166 | | |
| |||
166 | 171 | | |
167 | 172 | | |
168 | 173 | | |
169 | | - | |
170 | 174 | | |
171 | 175 | | |
172 | 176 | | |
| |||
292 | 296 | | |
293 | 297 | | |
294 | 298 | | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
295 | 310 | | |
296 | 311 | | |
297 | 312 | | |
| |||
392 | 407 | | |
393 | 408 | | |
394 | 409 | | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
401 | 435 | | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
| 436 | + | |
407 | 437 | | |
408 | 438 | | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
415 | 443 | | |
| 444 | + | |
| 445 | + | |
416 | 446 | | |
417 | 447 | | |
418 | 448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
64 | 71 | | |
65 | 72 | | |
66 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
| |||
0 commit comments