477 Commits

Author SHA1 Message Date
wwwcg 6bef2ea98f fix(ios): add a null exception protection to imageView blur process (#4531) 2026-01-19 15:23:36 +08:00
wwwcg 26fa8deb67 fix(ios): ensure thread-safe to animated image using os_unfair_lock (#4356) 2025-07-04 17:52:27 +08:00
wwwcg 3e40ccab49 fix(ios): potential thread race in uimanager registerRootView (#4332) 2025-06-11 14:07:04 +08:00
wwwcg ec8d1d9ce3 fix(ios): exception may occur while setting linearGradient prop (#4310) 2025-05-22 15:04:51 +08:00
wwwcg 36d4810ac1 refactor(ios): replace deprecated UIGraphics API with alternative (#4223) 2025-03-13 15:17:01 +08:00
wwwcg 9a2a070e54 fix(ios): animation thread race and add protection for running script (#4205) 2025-02-28 18:07:01 +08:00
wwwcg 053a116e62 feat(ios,js): refreshWrapper support viewPager (#3974)
* feat(ios): refreshWrapper support viewPager

* feat(react): refresh wrapper support horizontal and update demo

* feat(react): add refresh wrapper footer

* feat(react): modify refresh-wrapper refreshFooterCompleted

* feat(ios): add footer support to refreshWrapper

* docs(react): add footer to refresh wrapper component

---------

Co-authored-by: zealotchen <zealotchen@tencent.com>
2024-10-16 17:56:55 +08:00
wwwcg 7ef301c59b fix(ios): websocket module support extra headers (#4069) 2024-10-15 16:56:22 +08:00
wwwcg 2805232c66 chore(ios): add Invalid prop keyPath check 2024-10-12 14:50:27 +08:00
wwwcg 9f3724a927 feat(ios): add initialContentIndex prop for ListView (#4029) 2024-09-20 20:33:32 +08:00
wwwcg 2b374333a4 fix(ios): improve accuracy of ViewPager's onPageScroll parameters (#3992)
* fix(ios): accuracy of ViewPager's onPageScroll event parameters

* fix(ios): improve accuracy of ViewPager's onPageScroll parameters
2024-08-13 21:08:32 +08:00
wwwcg e51294a054 fix(ios): improved accuracy of ViewPager's ScrollStateChanged API 2024-08-13 19:43:47 +08:00
wwwcg ab4ddf7548 chore(ios): add debug property for shadowView 2024-08-01 16:48:44 +08:00
wwwcg e1207feff0 fix(ios): iOS18 adaptation of TextView component 2024-07-29 16:10:32 +08:00
wwwcg 6512de3c4a chore(ios): code quality improve 2024-07-19 17:14:22 +08:00
wwwcg fb55d096e3 fix(ios): turbo module type convert nullptr crash 2024-07-19 17:12:34 +08:00
wwwcg b07a29d42f feat(ios): add HippyFontChangeTriggerNotification for native font update 2024-07-18 11:06:57 +08:00
wwwcg 4cd995d510 fix(ios): add a null protection to animation target (new anim module) 2024-07-10 15:00:40 +08:00
wwwcg 07d39fefdb fix(ios): delay of animationSet not working under new sync mechanism 2024-07-03 11:22:09 +08:00
wwwcg de85871654 fix(ios): improve synchronization between animationSets 2024-07-02 22:28:14 +08:00
wwwcg 428e473e38 fix(ios): simultaneous animationSets desynchronize over time 2024-06-28 12:30:42 +08:00
wwwcg 9be2145fe8 fix(ios): resolve a multithreading issue in Animator 2024-06-27 15:03:14 +08:00
wwwcg 61ea1a1334 chore(ios): remove unused code in TextView 2024-06-17 20:40:45 +08:00
wwwcg 0c9d9de52d fix(ios): responsable region issue of Textinput 2024-06-17 20:35:26 +08:00
wwwcg 041db25b74 feat(ios): add paragraph styles support for TextInput
TextInput Current support:
1.lineHeight
2.lineSpacing
3.lineHeightMultiple
2024-06-17 18:36:25 +08:00
wwwcg 41805172d1 build(ios): resolve module build issue of Layout Module 2024-06-12 20:29:29 +08:00
wwwcg 817e8be78f fix(ios): add CSS name matching semantics to fontFamily of TextInput 2024-06-12 20:29:29 +08:00
wwwcg 67fadebf64 fix(ios): resolve exception where touchView may be nil 2024-06-06 17:23:04 +08:00
wwwcg 18bf885683 fix(ios): add protection for targetContentOffset outliers in ViewPager 2024-05-29 11:33:29 +08:00
wwwcg 7433ced60b fix(ios): potential deadlock in layout & unify all ScreenScale calls 2024-05-27 22:06:55 +08:00
wwwcg b84eedd42e fix(ios): make getTurboModule return null when module not exist 2024-05-27 11:49:39 +08:00
wwwcg a97ed667a3 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 16:16:14 +08:00
wwwcg 9545568e29 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).
2024-05-15 12:13:07 +00:00
wwwcg 78cf381f04 perf(ios): draw backgroundImage asynchronously for performance (#3844) 2024-05-14 15:45:08 +08:00
wwwcg 6e0903d0b1 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.
2024-05-14 15:43:33 +08:00
wwwcg 48573efbcf fix(ios): avoid zero size crash when using UIGraphics api in debug mode 2024-05-10 16:50:03 +08:00
wwwcg 7c13a42d41 fix(ios): turbo module not get called on destroyInstance event 2024-04-10 19:53:06 +08:00
wwwcg 48fd18b30c fix(ios): add a null protection to animator 2024-02-28 11:56:02 +00:00
wwwcg f4abb9b529 fix(ios): animation state of some scenes might be out of sync 2024-02-28 17:14:08 +08:00
XQ Kuang 0a0d88d091 fix(ios): remove the invalid log message 2024-02-21 14:33:40 +08:00
wwwcg 4cfdb8fc3d fix(ios): remove unused initialization param of HippyRootView
and update integration documents
2024-01-26 17:20:26 +08:00
wwwcg 6401875f1a fix(ios): a rare multithreaded race crash when getting imageProviders
only when user use a custom HippyImageViewCustomLoader and do completion callback in subthread
2024-01-25 17:40:45 +08:00
wwwcg 0826bf2274 fix(ios): images with non-encoded urls are not displayed 2024-01-25 07:01:35 +00:00
wwwcg 0a1bf8cf16 fix(ios): onChange event not triggered when typing Chinese Pinyin
this bug only affects single line input
2023-09-20 09:28:41 +00:00
wwwcg eee36871ca fix(ios): fix context leak when using shared engine (#3451)
* chore(ios): fix demo release build error

* fix(ios): js context leak when using shared engine

---------

Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2023-08-25 03:24:50 +00:00
wwwcg aa9b57e9be fix(ios): animation module multi-instance support 2 2023-08-21 10:18:47 +00:00
wwwcg ea095468d0 fix(ios): animation module multi-instance support 2023-08-21 04:01:32 +00:00
wwwcg 9899875658 feat(ios): rewrite animation module (#3436)
* feat(ios): rewrite animation module

BREAKING CHANGE: this commit is a breaking change! Animation related code needs to be checked!

* docs(ios): animation demo and doc update

* chore(ios): add license to all pop files, remove some animation support
2023-08-10 14:54:48 +08:00
wwwcg 5045885758 feat(ios): add NightMode change event 2023-07-27 06:19:57 +00:00
wwwcg b665228c86 feat(ios): add NightMode & improve method of getting UI state (#3411)
* chore(ios): eliminate some warnings

* feat(ios): add NightMode and improve method of getting UI state

Affect NightMode, statusBarHeight and Orientation

---------

Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2023-07-26 09:32:30 +00:00