Граф коммитов

132 Коммитов

Автор SHA1 Сообщение Дата
tudorms e95059ae31
Bring in updated headers from microsoft/node-api-jsi (#185) 2023-10-13 17:58:53 -07:00
tudorms 199d287af2
Misc cleanup and improvements (#184)
* Remove Android and UWP support

* more cleanup

* Simplify output directory structure

* Do some fixup for POSIX

* A couple of fixes

* Bump version

* Updating version to @{version=0.71.10; v8ref=refs/branch-heads/11.8; buildNumber=172}.version (new uostream build number 172)

* Update script

* Fix export of n-api headers
2023-10-12 16:50:33 -07:00
tudorms 5e871091a7
Update to V8 11.8 (#183) 2023-10-04 13:55:39 -07:00
Vladimir Morozov ad8867566d
Fix prepared script creation (#182) 2023-08-17 19:01:06 -07:00
Vladimir Morozov 3c3c027e86
Update v8jsi version to 0.71.7 (#181) 2023-08-16 01:36:47 -07:00
Vladimir Morozov 2ba6bdff7e
Fix v8_api bugs after testing code in applications (#180) 2023-08-15 12:19:05 -07:00
microsoft-github-policy-service[bot] db1ca30d6e
Onboarding to GitOps.ResourceManagement (#177)
* Add prIssueManagement.yml to onboard repo to GitOps.ResourceManagement as FabricBot replacement

* Deleting fabricbot.json

---------

Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2023-06-29 13:21:42 -07:00
tudorms 75a1223280
Update to V8 11.5 (#178)
* Update to V8 11.5

* Fix ARM64 build
2023-06-28 13:00:34 -07:00
tudorms b5bcfed57e
Update windows-pr.yml 2023-06-28 10:13:19 -07:00
tudorms 34e32a91fd
Try using larger agents for PR 2023-06-22 12:14:18 -07:00
Vladimir Morozov 65d9b55f02
Fix config function names added in PR #175 (#176)
* Fix config function names

* Add test test_basics_BigIntWords

* Try fixing the PR build

* Another attempt to fix PR build

* Another attempt to fix PR build

* Disable test_basics_ExternalValue5Test that fails in x86

* Another attempt to fix PR build
2023-05-26 12:39:23 -07:00
Vladimir Morozov a5adcfeeb6
Implement new V8 ABI API (#175) 2023-05-24 07:24:48 -07:00
Vladimir Morozov bce24f1d3c
Fix CI pipelines (#171)
* Fix CI for VS 2022

* Change text of messages

* Increase job build timeout to 5 hours

---------

Co-authored-by: Vladimir Morozov <vmoroz@users.noreply.github.com>
2023-05-03 13:23:02 -07:00
Vladimir Morozov 8461b6f0b3
Fix task runner for Node-API (#153) (#168)
* Fix task runner for Node-API (#153)

* Remove NAPI_EXTERN from js_native_ext_api_v8.cpp

---------

Co-authored-by: Vladimir Morozov <vmoroz@users.noreply.github.com>
2023-04-26 15:07:15 -07:00
Yichen Yao cf52cdc077
Remove package.json and package-lock.json before build. (#167)
package.json and package-lock.json under build\v8build\v8\tools are not used during build. We remove them before build to prevent component governance issues.
2023-01-26 09:58:36 -08:00
rasaha91 af1cf368fe
Upgrade android jsi headers to 0.71-stable (#166)
* update jsi headers to 0.71-stable

* Update build.config

* Implement new runtime apis

* address PR comments
2023-01-04 13:27:20 -08:00
rasaha91 7877fb326c
Use 0.70 jsi headers (#165)
* Copy headers from 0.70-stable

* Add bigInt support

* Update build.config
2023-01-03 14:32:47 -08:00
rasaha91 3de270f15c
Hardcode python to version 2.x and use ubuntu 20.04 for pr (#164) 2022-12-30 16:08:43 -08:00
rasaha91 1906b7a9f5
update ci agent to valid agent (#162) 2022-12-29 18:34:21 -08:00
rasaha91 bf5e96b364
Bump android jsi to 0.69-stable headers (#161)
* copy over jsi headers from rn/0.69-stable

* fix unimplemented method
2022-12-29 16:32:19 -08:00
tudorms 0803800621
Update to V8 10.9 (#160) 2022-12-20 06:06:51 +00:00
tudorms 613cf39be2
Update to 0.71 JSI API (stubs only) (#151)
Update the JSI APIs to match version 0.71 of React Native;
The APIs aren't actually implemented in this PR, just stubbed (they're not used in RN yet);
2022-11-18 14:10:14 -08:00
Nikolai Aristov 1cac5d64e1
Update README.md (#150) 2022-11-07 15:06:41 -08:00
Yichen Yao b9e17b5443
Remove v8build\v8\third_party\depot_tools\external_bin\gsutil to avoid cg alerts. (#149) 2022-11-05 02:16:35 +00:00
tudorms 083acf7a53
Update to 0.70 JSI headers (#148)
* Update to 0.70 JSI headers

* Revert the 10.7 update (needs more follow-up for ARM64)
2022-10-17 23:52:51 +00:00
tudorms 2ea30bfb6b
Multi threaded support (#147)
* Multi threaded support

* Multithreading for napi

* Optional locker (no more dynamic allocs)
2022-10-12 22:20:41 +00:00
tudorms 5f4d718d77
Clear any unhandled promise rejection while the runtime is still alive (#145)
Co-authored-by: tudorm <tudorm@microsoft.com>
2022-09-16 04:25:30 +00:00
tudorms 8903e9fe2b
Update to V8 10.6 (#143) 2022-09-10 01:53:15 +00:00
Shiven Mian 4bb27980ae
patch: updated v8-jsi android with RN68 jsi headers (#141)
* patch: updated JSI headers to RN68

* fix: bumped RN version, picked update to jsi.h from RNM
2022-08-24 20:39:05 +00:00
msftbot[bot] 1fb525af2e
Add `.github/fabricbot.json` (#139)
Co-authored-by: msftbot[bot] <48340428+msftbot[bot]@users.noreply.github.com>
2022-07-29 08:52:51 -07:00
Yichen Yao f32dd7de91
Ignore android/build/v8/third_party/depot_tools for CG. (#140) 2022-07-23 07:28:13 +00:00
tudorms d57c3a8b6f
Remove the CETCompat flag (#137)
* Remove CETCompat

* The stack shouldn't include the message as well. Addresses #136
2022-06-17 23:55:07 +00:00
tudorms f0d8fd72ec
Update to V8 10.3 (#132)
* Update to V8 10.3

* dummy change to test PR trigger

* dummy change #2

* Update to V8 10.3

* bump again

* another bump

* 🧪

Co-authored-by: Danny van Velzen <dannyvv@microsoft.com>
2022-06-10 16:19:57 +00:00
dannyvv 9e7e4a7536 Update windows-pr.yml for Azure Pipelines 2022-06-09 15:11:18 -07:00
dannyvv 3bced3a753
Update path matches to not have wilcard inside filename (#133) 2022-06-09 14:42:00 -07:00
Vladimir Morozov 35cbee65ce
Implement PreparedScriptStore for V8 Node-API (#131) 2022-05-26 07:07:02 -07:00
Vladimir Morozov 895408dc33
Format code (#129) 2022-05-25 10:08:19 -07:00
tudorms 521326024a
Fix isAscii check; use hash in prepareJavaScript (#126) 2022-05-13 03:44:46 +00:00
tudorms 18eb2b5f09
Implement hash for script versioning (#124)
* Hash for script versioning

* Some cleanup

* Version bump

* Switch to using MurmurHash

Co-authored-by: tudorm <tudorm@microsoft.com>
2022-05-10 18:18:53 +00:00
Tatiana Kapos 97bcf4c5ee
Adds createPropNameIDFromSymbol (#121)
* adds createPropNameIDFromSymbol

* adds stub methods to runtime

* Update all JSI files to Hermes commit on 4/18/2022

* Update version to 0.69.1 to match RN version for JSI

Co-authored-by: Vladimir Morozov <vmorozov@microsoft.com>
2022-04-28 23:30:11 +00:00
tudorms 1875152450
Build improvements (#123)
* HACK: Android build with the same scripts and sources

* Fix Windows build

* fix

* Experimental Linux support

* Some cleanup

* More cleanup

* [experimental] mac support

* Don't bother producing NuGets for PRs

* Simplify build steps

* Update ASIO version

* Update to V8 10.1

* Undo bump to 10.1 (x86 doesn't build)

* Use flag for NAPI

* Address CR comments

* misc

Co-authored-by: tudorm <tudorm@microsoft.com>
2022-04-21 00:17:42 +00:00
Vladimir Morozov d514fe59a6
Fix Node-API calling conventions (#122)
* Add __cdecl to function pointers

* Fix NapiJsiRuntime implementationm to use __cdecl
2022-04-19 16:01:15 +00:00
tudorms 439a09ea1f
V8 v10 (#120)
Co-authored-by: tudorm <tudorm@microsoft.com>
2022-04-09 06:18:14 +00:00
Anandraj f7474ff50c
Patch V8 to not throw on attempt to freeze host objects (#119)
* React Native bridge tries to freeze all the object arguments when passed to the native side.
We have troubles with react native blobs because the blob object contains host objects in it (blob collector host object which cleans us the native blob object when javascript object is collected.)
This is because tryiing to freeze (Object.freeze) v8 host objects throws exception. This exception is not thrown when freezing Hermes host objects, very likely is silently failing.
It turns of V8 internally rightly fails the attemtp to freeze objects when it has interceptors, as V8 can't control external interceptors from mutating.
This patch suppresses the check. It is not correct to do it, but the effect will be similar to the current Hermes behaviour to silently fail the freeze attempt.

* fix: bumped package version, fixed build machine

Co-authored-by: shivenmian <shivenmian@microsoft.com>
2022-04-03 07:31:24 -07:00
Shiven Mian f73bdf8430
fix: added RN66 blobs fix (#118)
* Fixing RN Blobs with V8-Jsi on Android.
Our HostObject implementation had a bug when retrieving host object proxy while enumerating fields. It's already fixed in Windows implementation.

* fix: applied blobs fix to RN66

Co-authored-by: Anandraj <anandrag@microsoft.com>
2022-03-09 04:52:02 +05:30
tudorms 5037896aa1
More dependency cleanup (#116) 2022-03-01 09:45:38 +00:00
tudorms 117312623c
Remove unused code (#115) 2022-02-28 15:28:14 -08:00
dannyvv 9aa0bf94a5
Make publish pipeline compliant (#111) 2022-02-27 16:35:39 +04:00
tudorms ca2b63fb6a
Compliance fixes (#114)
* Update to V8 9.9

* Compliance fixes

* Don't disable any warnings

* Fix ARM64 build

* v8windbg: link against correct flavor of comsuppw
2022-02-26 03:42:35 +00:00
tudorms 69e9dedae1
Update to V8 9.9 (#113) 2022-02-25 19:36:36 +00:00