143 Commits
Author SHA1 Message Date
iPel 3fe3339ee0 fix(android): guard resource load end against destroy race
Invalidate JsDriver after destroy and harden OnResourceLoadEnd/UriLoader
callbacks so late HTTP responses cannot touch a torn-down engine/context.
2026-09-09 17:20:24 +08:00
etkmao 6e73a0f3a2 fix(android): crash protect for some destroy engine conditions 2025-12-12 19:13:12 +08:00
wwwcg c0b3ebe29c refactor(ios): optimize text rendering performance and thread safety (#4490)
* refactor(ios): optimize text rendering performance and thread safety

* fix(ios): handle null exception in Hermes uncaught exception callback
2025-11-24 19:45:33 +08:00
etkmao 53d74d983b fix(ohos): fix jsvm code cache rejected condition 2025-11-03 15:17:29 +08:00
etkmao 691450ef61 fix(android): fix v8 code cache rejected condition 2025-11-03 15:17:29 +08:00
etkmao f4f86314d6 fix(core): android layout config avoid static for some overflowed scene 2025-10-20 20:47:24 +08:00
etkmao dce49bb3f7 fix(core): fix cancelAnimationFrame bug 2025-10-11 18:36:16 +08:00
etkmao 9deea7489f fix(core): vsync event used by frame is stopped by animation ending 2025-09-17 17:45:52 +08:00
wwwcg 4b806178db refactor(ios): improve exception handling process 2025-09-08 19:58:45 +08:00
etkmao 1ff82156af feat(ohos): support jsvm net debug 2025-08-07 12:12:12 +08:00
wwwcg 3dc8ae474e fix(ios): string with null character support in bridge (#4362) 2025-07-15 14:16:34 +08:00
etkmao ff442ffcea fix(core): fix scope GetTaskRunner assert crash for ohos 2025-06-17 18:26:25 +08:00
wwwcg 3a886db467 refactor(ios): open class feature switch for hermes (#4308) 2025-05-16 20:07:56 +08:00
wwwcg b8ef8ebc2a refactor(ios): exception optimization and remove redundant autorelease (#4307) 2025-05-16 17:27:30 +08:00
wwwcg dd9e23f615 chore(ios): optimize error output during setting props 2025-05-14 21:12:29 +08:00
wwwcg 82d2130ce6 refactor(ios): hermes ctx code update 2025-04-28 14:28:07 +08:00
etkmao 45ff0d80bd fix(ios): fix jsc ctx finalize crash 2025-04-27 13:32:27 +08:00
wwwcg 45b952e81e fix(ios): resolve native exception handling process issue of hermes (#4260) 2025-04-10 14:29:57 +08:00
etkmao 81a9bf4fb9 fix(android): fix github jobs error (#4245)
* fix(android):  fix github jobs error

* fix(android):  fix github jobs error

* fix(android):  fix github jobs error

* fix(android):  fix github jobs error
2025-04-02 14:35:07 +08:00
sohotz 35e1dfd86f fix(ohos): fix v8 debug chrome cmd crash 2025-03-26 17:26:24 +08:00
sohotz cae7808651 fix(ohos): fix jsh finalize crash 2025-03-14 16:19:22 +08:00
sohotz 28abc078f8 feat(ohos): jsvm performance api 2025-03-13 19:39:13 +08:00
sohotz d075dcc11a feat(ohos): v8 performance api 2025-03-13 19:39:13 +08:00
wwwcg c9ee0a92c2 feat(hermes): hermes engine support (phase I) (#4169)
* feat(hermes): support hermes engine first part

feat(hermes): support hermes engine second part

feat(hermes): close demo v8 serialization

feat(hermes): jsi mode support

feat(hermes): demo build script support hermes

feat(hermes): use std::any_cast in ios 11 when opening c++ exception

* fix(ios): resolve hermes build error

* feat(hermes): remove obsolete context wrapper

* feat(ios): support dynamic switching hermes and jsc

* feat(hermes): engine infrastructure improve

* feat(hermes): devtools support for ios

* feat(hermes): update engine version and

* feat(ios): drop v8 engine support

* refactor(ios): bridge setup process and update demo

chore(hermes): update hermes context imp

* chore(hermes): resolve build issue

* chore(ios): remove unnecessary assert

* fix(hermes): resolve context nullptr exception

* feat(hermes): using embeded hbc code for hermes

refactor native source code 's structure

* feat(hermes): resolve bugs and code clean

* feat(hermes): update ws url for devtools under hermes engine

use android as hermes's identity for now

* feat(hermes): resolve build issue

* feat(hermes): add ArrayBuffer type support

* fix(hermes): resolve rebase issues

code refactor for ios jeexecutor

* fix(hermes): dynamic load not support for hermes

Temporary solution

* chore(hermes): add warning ignore mark

* feat(hermes): engine ctx bugfix

* feat(hermes): resolve android build issues

* feat(hermes): resolve android build issue

* fix(hermes): add null pointer check during engine release

optimize call function imp

* feat(hermes): resolve context release issue

* feat(hermes): use toLocaleLowerCase since hermes support

* fix(hermes): resolve build issues

* feat(hermes): use toLowerCase in hippy js package

* chore(hermes): restore android demo params

* fix(core): adjust context destructor timing to avoid crash

* feat(hermes): resolve context bug and config update

* feat(hermes): update core build scripts for android and ohos

* feat(ios): update podspec and bump deployment version

* build(hermes): update build config for android and ohos

* feat(hermes): resolve ohos build issues

* fix(hermes): resolve ohos build issue

* fix(hermes): resolve test failure

* docs(hermes): add hermes usage guide

* chore(hermes): use jsc by default in demo

* feat(hermes): update docs and code optimize

* chore(ios): disable bitcode for iOS demo

* docs(hermes): update hermes usage guide

* chore(hermes): revert android config modify

* feat(hermes): context code optimization

* feat(hermes): context code optimization

* build(js): resolve some frontend build issues
2025-03-05 21:06:21 +08:00
sohotz 74765cd940 feat(ohos): support double layout engines for vl 2025-02-28 15:31:36 +08:00
etkmao 8a02eece8b fix(ohos): jsvm getInstanceData crash protect (#4195) 2025-02-20 10:56:39 +08:00
etkmaoandOpenHippy 743f6d0168 fix(ios): fix jsc call c crash (#4184)
Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2025-02-13 16:47:38 +08:00
sohotz 1aa96f16e2 feat(ohos): hippy support ohos (#4176) 2025-01-16 14:49:42 +08:00
etkmao 028873c758 fix(core): fix c++ stack overflow (#4173) 2025-01-14 17:10:26 +08:00
etkmao aa929a14cf fix(core): try fix ios hash throw overflow crash (#4166) 2025-01-06 16:46:47 +08:00
etkmao dca3105df5 fix(v8): v8 code cache file broken protect 2024-12-31 10:27:50 +08:00
wwwcg ea8f280c87 fix(ios): optimize variable array usage in convertToCtxValue and jscctx (#4159) 2024-12-30 16:15:06 +08:00
etkmao 214df1fb31 fix(jsc): fix jsc memery release (#4155) 2024-12-27 15:38:38 +08:00
etkmao 4ba13cc8be fix(jsc): fix jscctx finalize crash (#4154) 2024-12-25 11:44:30 +08:00
wwwcg 6bea97a1b7 build(ios): fix build error due to std::any_cast 2024-10-25 21:05:37 +08:00
siguangliandsiguangli 78aff6fea4 feat(android): add layout module for reset layout cache (#4089)
* feat(android): add layout module for reset layout cache

* fix(android): correct to YogaLayoutNode

---------

Co-authored-by: siguangli <maxli@tencent.com>
2024-10-23 17:06:58 +08:00
etkmao 5418b66b68 fix(core): static destruct crash in main thread for ios (#4085)
When app exits, child thread may access the destructed global static object, which causing a crash
2024-10-22 20:36:38 +08:00
etkmao 75c6f34f1f fix(core): LoadUntrustedContent crash protect 2024-10-17 19:23:17 +08:00
wwwcg 806786ba3a fix(ios): resolve hot reload issue (#4024)
Use the default network loading timeout
Delete some obsolete demo classes
2024-09-11 17:40:32 +08:00
wwwcg c9ddbc1e23 fix(ios): resolve jsc_try_catch invalid issue (#4021) 2024-09-10 16:44:05 +08:00
etkmao 592c010b24 refactor(ios): avoid mutex crash in special app environment (#4020)
* fix(ios): check static invalid mutex crash

* fix(ios): move static maps to heap for checking static overflow crash
2024-09-10 15:54:04 +08:00
etkmao bfbb6f9003 fix(ios): fix object_data_map crash (#4017)
when jsc_vm released before jsc_ctx
2024-09-04 21:45:29 +08:00
wwwcg 48f746dca8 chore(ios): update demo and eliminate some warnings 2024-08-28 19:39:13 +08:00
wwwcg 221358d48b chore(ios): eliminate code warnings 2024-08-05 17:24:51 +08:00
wwwcg 5e6823a0ba fix(ios): add exception handle process for jsc (#3976)
* fix(ios): add exception handle process for jsc

* chore(ios): remove unnecessary exception check log
2024-08-01 21:56:10 +08:00
wwwcg 390c338eb6 fix(ios, android): performance records inaccurate issues 2024-07-22 11:35:51 +08:00
wwwcg a7dcbdbb13 fix(ios): eliminate all warnings and open treat_warning_as_error 2024-07-08 14:37:45 +08:00
etkmao 06806d98bf fix(core): fix android scope crash (#3906) 2024-06-14 14:04:42 +08:00
wwwcg 2d9837bf7a fix(ios): resolve non-standard object type when creating js object 2024-06-07 18:22:58 +08:00
zealotchen 70c46264e5 feat(v8): add version log for v8 2024-05-21 15:59:45 +00:00