480 Commits

Author SHA1 Message Date
zealotchen 2f3d98428f chore(js): update react vue vue-next demo bundle 2024-11-06 21:51:27 +08:00
zealotchen bcf1907d08 feat(vue-next): fix websocket event not bind 2024-11-06 21:47:42 +08:00
zealotchen eb925f703b fix(js): add NamedModulesPlugin 2024-11-06 21:47:27 +08:00
zealotchen 0a8961464c chore(release): released 3.3.2 2024-11-05 21:05:52 +08:00
zealotchen 00e15afa36 fix(web): fix webrender not show when length is 1 2024-11-05 20:45:19 +08:00
zealotchen d48be7a383 fix(web): fix webrender listview item relayout 2024-11-05 20:44:57 +08:00
zealotchen 3dc2aa9fec feat(web): fix webrender scawX scawY animation 2024-11-05 20:44:47 +08:00
zealotchen 8ee86ffffb feat(web): fix webrender image not show 2024-11-05 20:44:36 +08:00
zealotchen cf6c1abcb0 feat(devtools): fix devtools element not show 2024-11-05 20:44:25 +08:00
zealotchen f4a5d22c07 feat(vue): support ul refresh scroll 2024-11-05 20:44:16 +08:00
zealotchen 3d78cfbc11 fix vue2 css match error 2024-11-05 20:42:44 +08:00
yokots 5aee7f754e 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-11-05 20:38:18 +08:00
zealotchen ed596b7032 feat(vue-next): fix vue next version on 3.4.32 2024-11-05 20:36:08 +08:00
birdguo 6a5026d66a 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-11-05 20:35:28 +08:00
maxli 6573f2124b fix(android): end reach check failed when set preloadItemNumber 2024-11-04 10:51:57 +08:00
siguangli 6a67d9cf07 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-11-04 10:51:28 +08:00
siguangli 0ce4d47eb0 fix(android): waterfall scroll offset after dispatch layout 2024-11-04 10:50:31 +08:00
maxli a84fda7b90 fix(android): add padding left to waterfall item layout 2024-11-04 10:47:54 +08:00
siguangli 12ffb0a130 fix(android): font weight compatible with version 2.x (#3948)
Co-authored-by: maxli <maxli@tencent.com>
2024-11-04 10:43:48 +08:00
siguangli a5f4220895 feat(android): text input support lineHeight (#3936)
Co-authored-by: maxli <maxli@tencent.com>
2024-11-04 10:43:18 +08:00
wwwcg 8e59529f72 feat(ios): waterfall component support footer view (#4098)
refactor waterfall component
2024-10-30 16:53:43 +08:00
etkmao fcaa1cbf56 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-24 11:15:27 +08:00
etkmao ad58331830 fix(core): LoadUntrustedContent crash protect 2024-10-17 19:27:16 +08:00
zealotchen d7e5643e6b Merge branch 'v3.3.x' of https://github.com/Tencent/Hippy into v3.3.x 2024-10-16 14:13:16 +08:00
wwwcg 02c82db565 chore(demo): update list demo in both react and vue 2024-10-16 12:09:38 +08:00
zealotchen 9442ed3a4c feat(react): remove unregisted event 2024-10-14 19:45:15 +08:00
wwwcg 0336c26eb3 docs(react,vue): update docs of pointerEvents prop 2024-10-08 16:55:43 +08:00
zealotchen c27b182078 chore(release): release web-render for 3.3.2-rc.0 2024-09-19 17:45:35 +08:00
zealotchen 6e3697f7a4 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:41:06 +08:00
wwwcg e9ce240bbd fix(ios): resolve hot reload issue (#4024)
Use the default network loading timeout
Delete some obsolete demo classes
2024-09-13 14:54:20 +08:00
wwwcg 4c37c16067 fix(ios): resolve jsc_try_catch invalid issue (#4021) 2024-09-13 14:54:20 +08:00
etkmao 18f753b623 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-13 14:54:20 +08:00
etkmao ac1e4b9906 fix(ios): fix object_data_map crash (#4017)
when jsc_vm released before jsc_ctx
2024-09-13 14:54:20 +08:00
wwwcg be8a66934d refactor(ios): remove unused code in scope and update demo (#4013) 2024-09-13 14:54:20 +08:00
wwwcg cc825e1490 fix(ios): onShow event of modal component not working (#4012)
remove obsolete onLayout property of shadowView
2024-09-13 14:54:20 +08:00
wwwcg dc2dc48a55 chore(ios): update demo and eliminate some warnings 2024-09-13 14:54:20 +08:00
wwwcg 8a7bc1a8f3 fix(ios): resolve conversion error between NSString and CtxValue (#4007)
add unit test for data conversion
2024-09-13 14:54:20 +08:00
wwwcg f77d766bbc chore(ios): eliminate code warnings 2024-09-13 14:54:20 +08:00
zealotchen 371b38b4ea chore(release): released 3.3.1 2024-08-26 14:53:48 +08:00
zealotchen 35c8d23513 fix(vue-next): fix beforeLoadStyle not work 2024-08-26 14:44:50 +08:00
zealotchen fa6deadaac 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-26 14:44:38 +08:00
zealotchen 33b3826ff9 fix(devtools): fix vue3 devtools element 2024-08-26 14:44:14 +08:00
zealotchen 8d51296ec9 feat(vue): fix default native style is empty 2024-08-26 14:41:55 +08:00
wwwcg 3fc7225b46 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-02 15:26:12 +08:00
wwwcg 1083ed3721 fix(ios, android): performance records inaccurate issues 2024-08-02 15:26:12 +08:00
wwwcg 1d9ed5a93b fix(ios): eliminate all warnings and open treat_warning_as_error 2024-08-02 15:26:12 +08:00
wwwcg 5aa12d9d98 feat(ios): add paragraph styles support for TextInput
TextInput Current support:
1.lineHeight
2.lineSpacing
3.lineHeightMultiple
2024-08-02 15:26:12 +08:00
zealotchen f717db5428 feat(react): add font style inherit 2024-06-20 21:52:17 +08:00
zealotchen 7ca089c03b chore(release): released 3.3.0 2024-06-20 15:26:49 +08:00
xiezheng-XD 403af1a149 docs(vue): typo in vue's README.md (#3444) 2024-06-14 14:53:00 +08:00