Commit Graph

458 Commits

Author SHA1 Message Date
maxli 49b8a59b9a fix(android): add padding left to waterfall item layout 2024-10-07 17:41:45 +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
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 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 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
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 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
zealotchen ac3fd3dbce fix(vue-next): fix beforeLoadStyle not work 2024-08-26 14:32:23 +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 221358d48b chore(ios): eliminate code warnings 2024-08-05 17:24:51 +08:00
wwwcg 5e6823a0ba 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-01 21:56:10 +08:00
zealotchen f16de8b315 feat(demo): update demo dependency 2024-07-24 12:19:41 +08:00
zealotchen 585f461713 fix(devtools): fix vue3 devtools element 2024-07-24 12:10:57 +08:00
wwwcg 390c338eb6 fix(ios, android): performance records inaccurate issues 2024-07-22 11:35:51 +08:00
zealotchen ee29b3e765 feat(js): fix waterfall for iOS and ohos 2024-07-12 16:36:36 +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
wwwcg a7dcbdbb13 fix(ios): eliminate all warnings and open treat_warning_as_error 2024-07-08 14:37:45 +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 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
zealotchen b26754392c feat(vue): fix default native style is empty 2024-06-21 20:28:20 +08:00
zealotchen eb89254b8b feat(react): add font style inherit 2024-06-20 21:50:49 +08:00
xiezheng-XD 403af1a149 docs(vue): typo in vue's README.md (#3444) 2024-06-14 14:53:00 +08:00
etkmao 06806d98bf fix(core): fix android scope crash (#3906) 2024-06-14 14:04:42 +08:00
wwwcg 2d9837bf7a fix(ios): resolve non-standard object type when creating js object 2024-06-07 18:22:58 +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
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
siguangli 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 4bd40e8114 refactor(ios): increase robustness of HippyUrl process 2024-05-14 16:47:23 +08:00
zealotchen c950b00120 feat(vue-next): add update event operation (#3837)
* feat(vue-next): add update event operation

* feat(vue-next): update event comments
2024-05-07 21:25:28 +08:00
zealotchen f24440b3f0 feat(vue-next): update comments 2024-05-07 21:24:59 +08:00
zealotchen 3041367a5a feat(vue-next): add vue3 css cache 2024-05-07 21:24:59 +08:00
birdguo 3aa1ca4b05 fix(vue-next): fix vue-next package dependencies issue
* fix(vue-next): fix vue package dependencies issue

* fix(vue-next): fix vue-next package dependencies issue
2024-04-21 00:28:35 +08:00
zealotchen b858402a8c feat(vue): fix vue replace &nbsp 2024-04-16 09:55:49 +00:00
zealotchen c7236883db feat(dom): fix vue3 list item position (#3826)
* feat(dom): fix vue3 list sort

* feat(dom): fix vue3 list item position

* feat(dom): perf code && adjust needSortByIndex

* feat(dom): fix dom manager unit test

* feat(dom): avoid get self depth when skip sortByIndex
2024-04-12 18:00:07 +08:00
siguangli 14dc634461 fix(android): update react demo bundle (#3825)
Co-authored-by: maxli <maxli@tencent.com>
2024-04-12 15:12:50 +08:00
zealotchen f0459e2345 chore(release): modify npm publish config (#3815)
* chore(release): modify npm publish config

* chore(doc): update 3.0 vue doc
2024-04-09 16:59:03 +08:00
zealotchen f141cc0776 feat(js): remove demo clipboard 2024-04-09 03:13:59 +00:00
siguangli 8dad9f2463 feat(android): refactoring WaterfallView (#3809)
* feat(android): refactoring WaterfallView

* fix(vue3): fix vue3 refreshing && vue2 style

* fix(android): fix PullRefreshContainer size for recycler view

* fix(android): add copyright header for ItemLayoutParams

---------

Co-authored-by: maxli <maxli@tencent.com>
Co-authored-by: zealotchen <zealotchen@tencent.com>
2024-04-08 13:03:23 +08:00
wwwcg 7d29a3cfb7 feat(ios): add fcp monitor support (#3803)
* feat(ios): add fcp monitor support

* chore(ios): performance related code optimize

* test(ios): add some test code
2024-04-02 21:01:09 +08:00
wwwcg 11ebce75c8 fix(ios): fix conversion crash from oc object to CtxValue 2024-03-29 17:10:09 +08:00
siguangli b38e990d13 feat(android): support fcp monitor (#3796)
* feat(android): support fcp monitor

* fix(android): rename to PAINT_TYPE_KEY

---------

Co-authored-by: maxli <maxli@tencent.com>
2024-03-27 14:09:34 +08:00
zealotchen e82fe27275 feat(vue-next): fix image url style parse (#3791)
Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2024-03-26 15:16:06 +08:00