Commit Graph

3153 Commits

Author SHA1 Message Date
zealotchen df5c8356d8 feat(react): init types 2024-10-24 20:16:31 +08:00
wwwcg 26a9d93d56 refactor(ios): minor update of UIManager and ShadowView 2024-10-12 17:19:47 +08:00
wwwcg 09092a2b8c feat(ios): add HippyFontChangeTriggerNotification for font update 2 2024-10-11 18:23:14 +08:00
wwwcg 4d00b9d15e feat(ios): add showScrollIndicator prop for waterfall component (#4057) 2024-10-11 15:57:53 +08:00
wwwcg 8ac79d3cab feat(ios): add HippyFontChangeTriggerNotification for native font update (#4056) 2024-10-11 11:31:40 +08:00
wwwcg 112453df72 fix(ios): add nullptr exception protection in rare scenarios (#4055) 2024-10-10 16:33:04 +08:00
wwwcg 59fa871afe docs(react,vue): update docs of pointerEvents prop (#4053) 2024-10-08 15:28:34 +08:00
maxli a24b4f3224 fix(android): support set custom image pool size 2024-10-08 15:22:18 +08:00
maxli 2d9f119ff8 fix(android): recordNativeInitEndTime after initJSBridge 2024-10-08 14:39:30 +08:00
maxli bc9ff53834 fix(android): add padding left to waterfall item layout 2024-10-08 14:39:30 +08:00
wwwcg 578e5e4923 fix(ios): banner view of waterfall not working (#4050) 2024-10-08 13:58:43 +08:00
yokots 62102ab1e8 feat(vue-next): minify webpack bundle size (#3983)
* chore(drive/js): bump up ttypescript version

Current ttypescript version not support node v16.20.2, the latest v16 version.
It will cause this issue: https://github.com/cevek/ttypescript/issues/150

* fix(hipp-vue-next): correct patchProps types

align patchProps types with vue runtime core, but
there also have some spec tests to fix

* refactor(vue-next): minify generated style code

just like fromSsrAstNodes, optimize the output in hippy-vue-css-loader,
and make hippy-vue-next-style-parser to compatible with old and new format.

* build(example-scripts): remove webpack.NamedModulesPlugin

webpack.NamedModulesPlugin was deprecated in v4 and removed in v5.
these plugin are default in devlopment mode and should not be configured in production mode,
because it will expose file path and increase bundle sizes.

https://v4.webpack.js.org/migrate/4/#deprecatedremoved-plugins

* chore(examples): update vue3 assets

---------

Co-authored-by: zealotchen <92966734+zealotchen0@users.noreply.github.com>
2024-09-29 19:38:43 +08:00
maxli 213d26aa15 fix(android): support work reuse with group id 2024-09-29 15:35:54 +08:00
maxli 8474160ebb feat(android): compatible with custom event register 2024-09-26 16:05:29 +08:00
wwwcg 80c5b5d619 fix(ios): nullptr exception of engine resources in rare scenarios (#4046) 2024-09-24 11:33:20 +08:00
wwwcg be6ae6bcaf fix(ios): type error when conversion of bool value to ctx value (#4045) 2024-09-20 20:35:48 +08:00
zealotchen e425834374 feat(vue-next): fix vue next version on 3.4.32 2024-09-19 20:05:48 +08:00
zealotchen 3eed19d7fa feat(web): support web renderer for 3.0 (#4043)
* feat(web-renderer): init web-renderer

* feat(web-renderer): node operate & node event logic commit

* feat(web-renderer): compatible 3.x ui module change

* feat(web-renderer): compatible 3.x event system change

* feat(web-renderer): compatible 3.x event system change

* feat(web-renderer): compatible 3.x image & input component change

* feat(web-renderer): compatible 3.x swiper component change

* feat(web-renderer): compatible 3.x event & component change

* feat(web-renderer): remove unused type

* feat(web-renderer): fix getBoundingClientRect callback issue

* feat(web-renderer): support dynamicLoad & global variable

* feat(web-renderer): simple fix list-view scroll outside range issue

* feat(web-renderer): fix nested scroll demo issue

* feat(web-renderer): fix text-input default value issue

* feat(web-renderer): fix build type mismatch issue

* feat(web-renderer): fix react demo misspelling name

* feat(web-renderer): add animation support

* feat(web-render): fix e2e test issue & update docs

* feat(web-render): remove unused code

* fix(web-renderer): fix codeReview issue

* fix(vue-next): fix vue patchProp params type issue

* feat(web): fix dymamic load for web render

---------

Co-authored-by: birdguo <birdguo@tencent.com>
Co-authored-by: birdguo <gguoyu@users.noreply.github.com>
2024-09-19 17:27:18 +08:00
wwwcg de870a2f73 fix(ios): resolve boolean ctx value conversion issue 2024-09-19 15:28:52 +08:00
wwwcg aaebcc56eb fix(ios): resolve compatibility issue when using ResponseSenderBlock (#4040)
The problem occurs only in UI components,
Methods in modules are not affected.
2024-09-19 11:27:36 +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 c2927bb15b refactor(ios): rewrite bundle loading process (#4028) 2024-09-12 20:59:41 +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
birdguo 700cfdf06e fix(vue-next): fix vuejs ugrade issue (#4004)
* fix(vue-next): fix vuejs ugrade issue

1. fix vuejs 3.4.32 patchProps API change issue
2. compatible vuejs compiler-core API change issue
3. upgrade vue-next demo package version

* fix(vue-next): fix vue-next-ssr-demo issue

1. compatible vue upgrade issue
2. fix vue-next-ssr demo issue
2024-09-11 15:22:08 +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 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
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
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 99de753231 build(voltron): resolve voltron build error 2024-09-04 21:43:55 +08:00
wwwcg 95ee14f7b6 fix(ios): null pointer exception of bridge setup in rare scenarios 2024-09-04 19:15:39 +08:00
maxli 90fdf95501 fix(android): add try catch for vfs processor chain get 2024-09-03 19:34:38 +08:00
wwwcg 05b0ba18dd refactor(ios): remove unused code in scope and update demo (#4013) 2024-09-03 11:06:05 +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 4ce199fc1d fix(ios): resolve conversion error between NSString and CtxValue (#4007)
add unit test for data conversion
2024-08-28 16:51:22 +08:00
wwwcg d27e8abe00 fix(ios): resolve reload not working (#4006)
refactor hippy demo code
2024-08-28 15:39:56 +08:00
zealotchen ac3fd3dbce fix(vue-next): fix beforeLoadStyle not work 2024-08-26 14:32:23 +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
zealotchen b04da96119 feat(vue-next): fix onInterceptTouchEvent not work (#3995)
* feat(vue-next): fix onInterceptTouchEvent not work

* fix(vue-next): fix remove attr not update

* fix(vue-next): revert vue-next version
2024-08-19 16:55:38 +08:00
wwwcg b95df1bfea refactor(ios): remove all context wrapper classes (#3994) 2024-08-15 17:45:38 +08:00
maxli 9ba8426b22 fix(android): add buildTruncateAtEndStaticLayout impl 2024-08-14 14:21:49 +08:00