Commit Graph

794 Commits

Author SHA1 Message Date
maxli 49b8a59b9a fix(android): add padding left to waterfall item layout 2024-10-07 17:41:45 +08:00
maxli 8474160ebb feat(android): compatible with custom event register 2024-09-26 16:05:29 +08:00
wwwcg 13163c67c0 feat(ios): modular header import support 2024-09-18 15:50:17 +08:00
wwwcg 8902f7676e fix(ios): potential thread race while accessing bridge
Refactoring: remove some debug code
2024-09-18 15:50:17 +08:00
wwwcg 753946d624 fix(ios): avoid startup crash when script load error 2024-09-18 15:50:17 +08:00
wwwcg c9dd227651 fix(ios): accuracy of ViewPager's onPageScroll event parameters
fix(ios): improve accuracy of ViewPager's onPageScroll parameters
2024-09-13 14:51:57 +08:00
wwwcg 3ca9c99ec8 fix(ios): improved accuracy of ViewPager's ScrollStateChanged API 2024-09-13 14:51:57 +08:00
wwwcg 2bc99d931e fix(ios): onAttachedToWindow event not triggered (#4027) 2024-09-12 20:09:38 +08:00
wwwcg 24e5439529 fix(ios): keyboard related events not working for TextView (#4026)
add missing onKeyboardHeightChanged property
2024-09-12 20:02:52 +08:00
wwwcg 7ec9c240d5 fix(ios): resolve sandbox dir issue in debug mode (#4025) 2024-09-11 19:12:30 +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 e5fcf2f82c refactor(ios): add a uiManager getter for UIView (#4022)
For compatibility,
some third-party components want to get UIManager
or HippyBridge directly through UIView,
although there is a slight performance penalty doing this.
2024-09-10 18:26:51 +08:00
wwwcg 09072062d3 fix(ios): resolve engine reuse issue (#4019)
refactor UIManager and HippyBridge,
remove some redundant UIView's category
2024-09-05 19:41:19 +08:00
wwwcg 0bd662309c fix(ios): onShow event of modal component not working (#4012)
remove obsolete onLayout property of shadowView
2024-09-02 21:43:43 +08:00
wwwcg 48f746dca8 chore(ios): update demo and eliminate some warnings 2024-08-28 19:39:13 +08:00
wwwcg d27e8abe00 fix(ios): resolve reload not working (#4006)
refactor hippy demo code
2024-08-28 15:39:56 +08:00
maxli 49fdb34a5c fix(android): use Spanned to getSpans 2024-08-22 14:46:03 +08:00
maxli 269c33dad0 fix(android): append init props for image load 2024-08-22 12:27:02 +08:00
maxli 9ba8426b22 fix(android): add buildTruncateAtEndStaticLayout impl 2024-08-14 14:21:49 +08:00
wwwcg 9eec723a6f fix(ios): resolve floating point size comparison issues (#3989) 2024-08-13 21:29:24 +08:00
maxli 482e258f0e fix(android): add ControllerRegistry destroy 2024-08-12 17:04:33 +08:00
maxli a8f4bdf7c6 fix(android): delete virtual child node when parent deleted 2024-08-12 17:04:33 +08:00
wwwcg 22c99ec71d fix(ios): remove invalid if statement at cell reuse 2024-08-07 17:41:50 +08:00
wwwcg 4b2506e59b refactor(ios): subcomponents to hippySubviews prop for compatibility
Earlier Hippy3 versions used subcomponents to represent children,
For better compatibility with Hippy2, change back to hippySubviews
2024-08-07 16:49:00 +08:00
wwwcg 73e814eff1 refactor(ios): remove unused data structure in waterfall item 2024-08-07 16:05:55 +08:00
siguangli e390c33a87 fix(android): onGlobalLayout use root view size (#3982)
Co-authored-by: maxli <maxli@tencent.com>
2024-08-06 12:10:49 +08:00
wwwcg cfb061b388 fix(ios): iOS18 adaptation of TextView component 2024-07-29 22:09:52 +08:00
maxli 2ff8a1911d fix(android): sticky item type calculate using node id 2024-07-22 22:17:00 +08:00
maxli da291e55f1 fix(android): change to using global image cache 2024-07-22 22:17:00 +08:00
maxli b2daa753eb fix(android): to use WeakReference as much as possible 2024-07-22 22:17:00 +08:00
maxli 8372c4a3ee fix(android): erase NativeRenderManager when destroy 2024-07-22 22:17:00 +08:00
siguangli d967cba0a4 fix(android): font weight compatible with version 2.x (#3948)
Co-authored-by: maxli <maxli@tencent.com>
2024-07-10 14:12:37 +08:00
siguangli 5f40f8f05e feat(android): vfs support custom image loader (#3947)
Co-authored-by: maxli <maxli@tencent.com>
Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2024-07-09 17:54:04 +08:00
wwwcg a7dcbdbb13 fix(ios): eliminate all warnings and open treat_warning_as_error 2024-07-08 14:37:45 +08:00
wwwcg 3d9737836f fix(ios): header and footer refresh bugs (#3940)
* fix(ios): header and footer refresh bugs

* chore(ios): refactor some code in HippyRefresh
2024-07-04 11:44:19 +08:00
siguangli ed73c09102 feat(android): text input support lineHeight (#3936)
Co-authored-by: maxli <maxli@tencent.com>
2024-07-01 19:35:17 +08:00
wwwcg 34e1f5ae02 fix(ios): responsable region issue of Textinput (#3932)
* fix(ios): responsable region issue of Textinput

* chore(ios): remove unused code in TextView
2024-06-26 19:40:44 +08:00
siguangli 7f5767a187 fix(android): different sticky item position crash (#3930)
Co-authored-by: maxli <maxli@tencent.com>
Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2024-06-26 16:42:37 +08:00
wwwcg ebbfaafba1 feat(ios): add paragraph styles support for TextInput
TextInput Current support:
1.lineHeight
2.lineSpacing
3.lineHeightMultiple
2024-06-26 14:49:24 +08:00
wwwcg a63ddf3f3a fix(ios): performance api of FP not working 2024-06-19 11:35:33 +08:00
wwwcg d8d3a6f9a9 chore(ios): add addFrameCallback method for devtools to avoid warning
Note that the implementation of this method is empty
2024-06-18 20:41:53 +08:00
wwwcg 22df117146 refactor(ios): add gesture event delegate for hippyBridge
useful for external data reporting of hippy gesture events
2024-06-18 16:35:48 +08:00
siguangli fc6d506408 fix(android): remove onSystemUiVisibilityChange listener (#3913)
Co-authored-by: siguangli <maxli@tencent.com>
2024-06-17 21:20:10 +08:00
wwwcg b6697c53d9 fix(ios): add CSS name matching semantics to fontFamily of TextInput 2024-06-14 15:22:37 +08:00
wwwcg 7e6908dfb6 chore(ios): eliminate unnecessary null warning 2024-06-13 20:51:03 +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
siguangli 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
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
siguangli 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