3048 Commits
Author SHA1 Message Date
wwwcg e8047bbe09 refactor(ios): clean and refactor the HippyBridge's code 3.2.0 2024-06-13 20:51:03 +08:00
wwwcg 76ca98f3dc fix(ios): dangling pointer in HippyBridge when unload after invalidate 2024-06-13 20:51:03 +08:00
wwwcg 7e6908dfb6 chore(ios): eliminate unnecessary null warning 2024-06-13 20:51:03 +08:00
wwwcg 2055bd229f refactor(ios): add method call parameter matching protection 2 2024-06-13 20:51:03 +08:00
wwwcg 7dbd2a3e0a refactor(ios): add method call parameter matching protection
To prevent wild pointer problem caused by the number of parameters
passed by the front end being smaller than the actual parameters
2024-06-13 20:51:03 +08:00
徐浩哲 8ef98824ad fix(android): resolve local ref overflow 2024-06-13 11:41:14 +00:00
etkmao 1537ba887e fix(perf): fix OnResourceLoadEnd crash (#3895) 2024-06-12 12:16:44 +08:00
siguangliandsiguangli e2682c60ee refactor(docs): update 3.0 upgrade guidelines md (#3894)
Co-authored-by: siguangli <maxli@tencent.com>
2024-06-11 21:15:22 +08:00
wwwcg 5562c0058d fix(ios): add protection for targetContentOffset outliers in ViewPager 2024-06-11 17:57:58 +08:00
wwwcg 7ab2ec170f fix(ios): loss of touch end or cancel event in multi-finger scenarios (#3892)
* fix(ios): loss of touch end or cancel event in multi-finger scenarios

In a multi-finger scenario,
the _touchBeganView local variable only records the last touch view
since touch began is entered multiple times,
causing the began and cancel/end events to be unmatched.

To fix this, we use a simple approach -
that record all touch began Views and send events to all recorded views at the end.

Please note that we have not fully adapted the multi-fingered scenario.

* fix(ios): resolve exception where touchView may be nil
2024-06-11 17:42:47 +08:00
etkmao a6d3da3321 Bugfix/anim state crash (#3891)
* fix(perf): animation state not crash on release version

* fix(core): crash protect when onInstanceDestroy is invoked 2 timers

* fix(core): animation state not crash on release version
2024-06-11 16:21:57 +08:00
siguangliandsiguangli f1f6b82746 Feat/screen snapshot (#3884)
* fix(android): use screen density for dp to px

* feat(android): support get screenshot bitmap from hippy engine

---------

Co-authored-by: siguangli <maxli@tencent.com>
2024-06-11 15:10:27 +08:00
etkmao 948927c098 fix(perf): fix OnResourceLoadEnd crash (#3888) 2024-06-11 14:51:28 +08:00
wwwcg 2d9837bf7a fix(ios): resolve non-standard object type when creating js object 2024-06-07 18:22:58 +08:00
wwwcg 1735774bdd fix(ios): resolve null pointer crash when loadBundleURL 2024-06-07 17:30:54 +08:00
siguangliandmaxli e5e6291159 refactor(docs): update screenshot and 3.0 upgrade guidelines md (#3883)
Co-authored-by: maxli <maxli@tencent.com>
2024-06-06 22:24:19 +08:00
wwwcg eb54a0550c refactor(ios): revert hippyShadowView to shadowView for compatibility
Important changes:
Since Hippy3 changed the name of the method used to get shadowView early on,
To maintain compatibility with hippy2, modify it here back to shadowView
2024-06-06 21:43:37 +08:00
wwwcg 124cf3b168 docs(privacy): add privacy guide for developer 2024-06-04 15:16:21 +08:00
siguangliandsiguangli dadf81a8ed fix(android): should updateExtra after create host view (#3879)
Co-authored-by: siguangli <maxli@tencent.com>
2024-06-03 16:05:56 +08:00
etkmao 64294cd2d2 fix(ios): animation nullptr crash 2024-05-29 17:28:37 +08:00
wwwcg 240f6640f6 docs(privacy): update privacy guide 2024-05-27 08:55:58 +00:00
wwwcg dad8fb0fa4 fix(ios): error in move node operation of ViewPager 2024-05-22 20:45:05 +08:00
zealotchen 70c46264e5 feat(v8): add version log for v8 2024-05-21 15:59:45 +00:00
zealotchen a413febe5f feat(vue-next): modify comment 2024-05-21 21:10:49 +08:00
zealotchen 413e401842 feat(vue): fix attribute inheritance style not empty (#3868) 2024-05-21 21:03:33 +08:00
wwwcg 1966a3e515 build(ios): fix workflow build script 2024-05-20 11:42:14 +08:00
wwwcg a21c4dcb75 fix(ios): multi-threading issue in createView
and resolve minor issue of duplicate assignment
2024-05-20 11:42:14 +08:00
zealotchen 00cd292175 feat(action): install ninja-build before v8 build (#3864)
* feat(action): fix v8 build error

* feat(action): fix v8 compiler action

* feat(action): fix v8 compiler action

* feat(action): fix v8 compiler action
2024-05-20 11:04:23 +08:00
zealotchen 60fd4eb13e fix(devtool): fix muli devtool instance crash on android (#3862)
* fix(devtool): fix muli devtool instance crash on android

* fix(devtool): modify some comment
2024-05-20 10:52:27 +08:00
siguangliandsiguangli 3a3364c384 feat(android): add orientationChange event for Modal (#3861)
Co-authored-by: siguangli <maxli@tencent.com>
2024-05-17 19:38:50 +08:00
wwwcg a1d5220b94 refactor(ios): non-standard url support of bundle loading 2024-05-17 17:16:35 +08:00
wwwcg b95869e084 build(ios): remove xcodegen usage due to test support issues 2024-05-17 11:12:29 +08:00
wwwcg 0c4bfef6fe test(ios): add xctestplan file 2024-05-17 11:12:29 +08:00
wwwcg 4769911d34 feat(ios): update ViewPager's pageIndex automatically after data changes (#3857)
* feat(ios): pageIndex of ViewPager auto update after data changes

Also fixed the issue of missing onPageSelected callbacks upon first entry;

The logic for automatic updates keep same with Android, as follows
1. If the previous item only changes its location,
update the current location and keep the current item displayed.
2. If the previous item does not exist, do not adjust the position,
but keep the current position in the valid range (that is, 0 ~ count-1).

* fix(ios): auto-update of page index may lag by one frame in view pager

this is a minor fix for feat 'pageIndex of ViewPager auto update after data changes'
2024-05-16 21:41:45 +08:00
wwwcg 4249f3ab61 fix(ios): null exception when converting JSI object to dictionary 2024-05-16 15:32:24 +08:00
wwwcg f38ae3c4e5 chore(build): update husky commit hook command 2024-05-16 14:43:09 +08:00
wwwcg a0ea9a041c fix(ios): add protection against null value exceptions 2024-05-14 17:36:07 +08:00
wwwcg bb11f1d09b fix(ios): lineHeight attribute was incorrectly inherited 2024-05-14 17:36:07 +08:00
wwwcg fdce688d46 fix(ios): add null protection before invalid move operation 2024-05-14 17:36:07 +08:00
wwwcg bd66bac67b fix(ios): image capInsets and getSize's bug
Stay compatible with hippy2
2024-05-14 17:36:07 +08:00
wwwcg 6a7abc8731 fix(ios): eliminate Devtools connection warning 2024-05-14 17:36:07 +08:00
wwwcg 772729cbaf chore(ios): eliminate some warnings 2024-05-14 17:13:55 +08:00
wwwcg 7910930318 fix(ios): debug reload module not working 2024-05-14 17:13:55 +08:00
wwwcg c63f221eb8 fix(ios): fix move node index bug 2024-05-14 17:13:55 +08:00
wwwcg 2fdf1b2126 fix(ios): move nodes op non same parent support 2024-05-14 17:13:55 +08:00
wwwcg b1dea84027 chore(ios): optimize parameter check tips 2024-05-14 16:47:23 +08:00
wwwcg e4d2df827d chore(ios): add SecondaryBundleDidLoadNotification for compatibility 2024-05-14 16:47:23 +08:00
wwwcg f6458d1455 feat(ios): unify HippyBridge's notifications and improve compatibility 2024-05-14 16:47:23 +08:00
wwwcg 4bd40e8114 refactor(ios): increase robustness of HippyUrl process 2024-05-14 16:47:23 +08:00
wwwcg 672fb57ef6 fix(ios): add ResponseSenderBlock type support for component parameter 2024-05-14 16:47:23 +08:00