407 Commits

Author SHA1 Message Date
wwwcg 14857908df chore(ios): update hippy demo, adapt to hippy3 2024-11-28 15:39:16 +08:00
zealotchen 59cc3dc2db feat(web): fix image local path (#4095)
* feat(react): add animation stop

* feat(web): fix image local path

* feat(web): remove unused code
2024-10-29 17:44:47 +08:00
zealotchen 2d60d3504a fix(web): fix webrender not show when length is 1 (#4087)
* feat(vue-next): fix beforeLoadStyle not work

* fix(web): fix webrender listview item relayout

* fix(web): fix webrender not show when length is 1

* feat(web): add web render demo build script
2024-10-23 11:32:27 +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
zealotchen 611006cfb2 feat(vue-next): fix beforeLoadStyle not work 2024-08-26 14:35:12 +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 7c13a42d41 fix(ios): turbo module not get called on destroyInstance event 2024-04-10 19:53:06 +08:00
wwwcg 4cfdb8fc3d fix(ios): remove unused initialization param of HippyRootView
and update integration documents
2024-01-26 17:20:26 +08:00
birdguo 952f2f7cc2 feature(vue-next): hippy vue next ssr (#3526)
* feat(hippy-vue-next): add ssr style parser

* feat(hippy-vue-next): add ssr runtime support

* feat(vue-next): add server renderer package

* feat(vue-next): server-renderer normal version commit

* feat(vue-next): optimize text render function

* feat(vue-next): add ssr render & compiler package

* feat(vue-next): init vue-next-ssr-demo

* feat(vue-next): ssr support scoped style & ssr bug fix

* feat(vue-next): fix ssr style issue

* feat(vue-next): fix ssr demo problem

* feat(vue-next): add webpack ssr build config

* feat(vue-next): webpack ssr demo commit

* feat(vue-next): fix build problem

* feat(vue-next): fix build problem

* feat(vue-next): fix ssr build problem

* docs(vue-next): add ssr description doc

* docs(vue-next): add how to use ssr doc& update demo readme

* docs(vue-next): add ssr how to use and description

* docs(vue-next): add ssr architecture image

* feat(vue-next): add ssr store usage & update docs

* feat(vue-next): add ssr unit-test and style parser unit-test

* feat(vue-next): add server-render unit test case

* feat(vue-next): add server-render vnode unit test case

* feat(vue-next): add server-render unit test case

* feat(vue-next): add compiler-ssr unit test case

* feat(vue-next): add ssr related unit test case & commit

* feat(vue-next): commit totally native component ssr support

* feat(vue-next): complete ssr render event map

* feat(vue-next): complete ssr render event map & add unit test case

* feat(vue-next): complete ssr render event map & add unit test case

* Revert "feat(vue-next): complete ssr render event map & add unit test case"

This reverts commit 72ac570f4e.

* feat(vue-next): add unit test setup file

* feat(vue-next): resolve fragment render problem

* feat(vue-next): fix native component render problem

* feat(vue-next): modify native component render unit test case

* fix(vue-next): fix websocket demo field name issue

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

* fix(vue-next): fix ssr text node render issue

* feat(vue-next): add ssr text node render unit test case

* feat(vue-next-demo): optimize ssr build

* feat(vue-next): compatible node props and style props

* feat(vue-next): compatible fontWeight && placeholder

* feat(vue-next): specify ssr package types & update demo pinia version

* feat(vue-next): compatible iframe ssr load issue

* feat(vue-next): compatible ssr style & store issue

* feat(vue-next): fix iframe ssr props issue

* feat(vue-next): fix textInput ssr props & style issue

* feat(vue-next): fix waterfall ssr issue

* feat(vue-next): fix pull-header-footer ssr issue

* feat(vue-next): fix nested scroll ssr issue

* feat(vue-next): fix loop animation ssr issue

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

* feat(vue-next): fix div demo & css comment property issue

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

* feat(vue-next): commit ssr dev mode all logic

* feat(vue-next): dev & build tools complete

* feat(vue-next): optimize dev experience

* docs(vue-next): update ssr usage doc

* feat(vue-next): add ssr render & style unit test case

* feat(vue-next): add ssr style-parse & ssr node parse unit test case

* docs(vue-next): optimize ssr doc

* feat(vue-next): update ssr demo node engines min version

* feat(vue-next): optimize ssr render string transform performance

* feat(vue-next): add new dir for ssr demo

* feat(vue-next): fix ssr demo issue & optimize comment

* feat(vue-next): fix div demo issue & native background android issue

* docs(vue-next): update ssr docs

* docs(vue-next): update vue-next ssr docs
2024-01-19 21:08:42 +08:00
maxli 94c6bbe0e4 feat(android): add bugly app id register 2024-01-08 12:00:51 +00:00
birdguo 152c907f45 fix(vue-next): remove vue prod devtools global sign for ios&android 2024-01-05 18:32:16 +08:00
ruifanyuan f67461d7bf chore(ios): demo log format 2023-12-29 09:45:15 +00:00
zealotchen c76ac574b2 chore(demo): change demo latest version 2023-09-12 15:39:11 +08: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 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 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
wwwcg 4c79151929 fix(ios): key commands for dev menu not working 2023-05-26 03:38:13 +00:00
pollyzhang acf8a87bb4 fix(Android): Demo uses NoSnapshot by default 2023-05-11 07:09:39 +00:00
pollyzhang b5aee08244 fix(core): fix snapshot bug when using dynamicLoad 2023-05-10 10:31:18 +00:00
luomy 67123c9f34 feat(ios, js): remove clipboard module 2023-05-05 09:46:20 +00:00
zoomchan-cxj 27b14f233b fix(vue): remove redundant props & perf cache logic 2023-04-28 08:15:28 +00:00
wwwcg 978849010f docs(ios): update integration guide for iOS 2023-04-08 04:42:30 +00:00
wwwcg aec8996456 build(ios): Upgrade to using local podspec to manage project files (#3093)
* build(ios): using local podspec to manage project files

* chore(ios): remove some file from vcs

---------

Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2023-04-03 15:57:02 +00:00
zoomchan-cxj fb8b2a7c3a fix(vue): fix vue style diff error 2023-04-03 14:27:50 +00:00
wwwcg e30abf9adf chore(ios): eliminate some warnings 2023-03-23 14:28:37 +00:00
zoomchan-cxj a364104e10 refactor(demo): change vue-loader dependency judgement 2023-03-21 13:38:18 +08:00
zoomchan-cxj 1e685575ad fix(demo): fix cross-env script error 2023-03-21 11:30:34 +08:00
zoomchan-cxj 2de3740f3d fix(examples): compatible with legacy openssl when running webpack 2023-03-15 16:28:23 +08:00
Xuanquan Zhuang 26598713c4 feat(android): make animator work on both enter and exit (#2987)
* feat(android): make animator work on both enter and exit

* feat: update modal demo

* feat(vue-next): update vue-next demo

* feat(vue): update vue demo

---------

Co-authored-by: andrezhuang <andrezhuang@tencent.com>
2023-03-15 11:19:40 +08:00
zoomchan-cxj 1984a9e15f fix(vue): perf style diff 2023-03-13 13:57:08 +00:00
Xuanquan Zhuang a0976aae0e fix(android): return size after loading gif (#3001)
* fix(android): return size after loading gif

* fix(vue, vue-next): handle onLoadEnd params

* Revert "fix(vue, vue-next): handle onLoadEnd params"

This reverts commit 52aae10130.

* fix(android): return image size using onLoad

* fix(img): update demo about onLoad usage

* docs(img): update doc about onLoad usage

* fix(demo): modify attribute name

* fix(android): change if condition order

* fix(vue, vue-next): handle onLoadEnd params

* fix(vue, vue-next): remove unexpected events

* fix(vue, vue-next): modify code expression

* feat(react): update gif onLoad

* feat(vue, vue-next): update demo expression

---------

Co-authored-by: andrezhuang <andrezhuang@tencent.com>
2023-03-08 06:37:31 +00:00
pollyzhang 4e5d31cce1 feat(core): add snapshot for hippy 2023-03-06 08:03:53 +00:00
andrezhuang 8046642e97 fix(android): custom font style support 2023-03-02 06:44:05 +00:00
pollyzhang b63b843e11 feat(core): refactor napi and jsi 2023-02-28 07:52:35 +00:00
zoomchan-cxj 43ff7d9d6d chore(example,doc): add dialog attention for vue3.0 2023-02-27 16:56:55 +08:00
wwwcg c56de50e05 feat(android, ios): nested rich text support vertical alignment setting (#2521)
* feat(ios): rich text images support vertical alignment setting

* feat(ios): add rich text's vertical align offset support

* feat(ios): margin support for nested component in richText

* feat(android): add `verticalAlign` for `Image` in rich text

* fix(android): backgroundColor not working in nested text

* feat(android): add properties for `Image` in rich text

`tintColor`, `backgroundColor`, `margin` and `padding`

* feat(ios): text in rich text support verticalAlign setting

* feat(android): verticalAlign for textnode

* feat(android): add backgroundColor in legacy mode

* fix(android): baseline align offset wrong

* feat(ios): support nested text verticalAlign style setting

* fix(android): verticalAlign for boringLayout

* chore(docs): add verticalAlign docs

* chore(ios): make verticalAlign default value baseline

* feat(vue): update text demo

* chore(ios): add verticalAlign and update demo

* chore(docs): update verticalAlign minimum supported version

---------

Co-authored-by: iPel <pel20121221@gmail.com>
Co-authored-by: luomy <ozonelmy@163.com>
Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2023-02-22 03:33:04 +00:00
FE-xiaoJiang 3ca8dddede feat(andr): add prod remotedebug, local bundle instead of remote server(#2849)
refactor(andr): prod remotedebug feature optimized

fix(andr): prod remotedebug createDebugUrl fixed

fix(andr): prod remotedebug optimize

(cherry picked from commit 25cce417d76c8cc729e0be1c6909076e7cad79db)

fix(andr): vue add tagName for debug in prod

fix(andr): change variable mProdRemoteDebugMode to mPureDebugMode

refactor(andr): add enum DebugMode to manage different mode

fix(andr): optimize debugMode code

fix(andr): logical judgment instead of instance variables to optimize

fix(andr): fix No correct copyright header;

fix(hippy-vue): fix unit test tagName fail
2023-02-21 06:17:33 +00:00
zoomchan-cxj 9a9914ced2 chore(lint): perf some js lint issues 2023-02-09 15:31:18 +08:00
zoomchan-cxj b4d7eea8b8 chore(example): rebuild examples to update code 2023-01-04 03:24:56 +00:00
wwwcg 71b94377ca fix(ios): fix ConsoleModule.log not working (#2812)
Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-12-29 11:09:30 +08:00
DMX c810377069 chore(docs,demo): update WebRenderer docs & demo (#2566)
* chore(hippy-react-demo): remove hippy:dev from web:dev

* chore(hippy-react-demo): fix image path error in web-renderer dev mode

* docs(web): Update integration.md and package.json

Co-authored-by: questguo <questguo@tencent.com>
Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-12-26 02:35:10 +00:00
Zoom Chan 257d8135ae refactor(js): perf nestedScrollPriority demo & docs (#9)
* refactor(js): perf nestedScrollPriority demo & docs

* refactor(js): add nested scroll more pager item
2022-12-07 21:33:12 +08:00
iPel 6ec49593d8 feat(android): add nestedScrollPriority for ListView and ScrollView
* feat(android): squash branch scroll_conflict (#6)

* fix(android): nested scroll feature

  - edit priority api
  - scrollview prevent nested scroll when enabled paging
  - fix viewpager vertical issue
  - viewpager nested scroll
  - translate comments

* fix(android): Eltonqin/netscroll bugfix (#3)

* fix(android):HorizonScrollView may throw exception when handle onInterceptTouchEvent

* fix(android):post task still run after remove

* fix(android):post task still run after remove,modify format

Co-authored-by: eltonqin <eltonqin@tencent.com>

* fix(android): nested scroll feature

  - viewpager nested scroll issue

* feat(docs): update docs

Co-authored-by: HOHOHOTangoDown <iystina7@gmail.com>
Co-authored-by: eltonqin <eltonqin@tencent.com>

* fix(android): nested scroll conflicts with pull refresh

* feat(docs, demo): update docs and demos

Co-authored-by: HOHOHOTangoDown <iystina7@gmail.com>
Co-authored-by: eltonqin <eltonqin@tencent.com>
2022-12-07 21:33:12 +08:00
zoomchan-cxj 8958a17054 Revert "feat(android): add nestedScrollPriority for ListView and ScrollView (#2744)"
This reverts commit 2644658376.
2022-12-07 21:33:12 +08:00
iPel 2644658376 feat(android): add nestedScrollPriority for ListView and ScrollView (#2744)
* fix(android): nested scroll conflict

* fix(android): nested scroll conflicts with pull refresh

* feat(android): add `nestedScrollPriority` for ListView and ScrollView

* feat(android): squash branch scroll_conflict (#6)

* fix(android): nested scroll feature

  - edit priority api
  - scrollview prevent nested scroll when enabled paging
  - fix viewpager vertical issue
  - viewpager nested scroll
  - translate comments

* fix(android): Eltonqin/netscroll bugfix (#3)

* fix(android):HorizonScrollView may throw exception when handle onInterceptTouchEvent

* fix(android):post task still run after remove

* fix(android):post task still run after remove,modify format

Co-authored-by: eltonqin <eltonqin@tencent.com>

* fix(android): nested scroll feature

  - viewpager nested scroll issue

* feat(docs): update docs

Co-authored-by: HOHOHOTangoDown <iystina7@gmail.com>
Co-authored-by: eltonqin <eltonqin@tencent.com>

* fix(android): nested scroll conflicts with pull refresh

* feat(docs, demo): update docs and demos

Co-authored-by: HOHOHOTangoDown <iystina7@gmail.com>
Co-authored-by: eltonqin <eltonqin@tencent.com>

* fix(android): update scrollview consumed value

* refactor(js): perf nestedScrollPriority demo & docs (#9)

* refactor(js): perf nestedScrollPriority demo & docs

* refactor(js): add nested scroll more pager item

Co-authored-by: HOHOHOTangoDown <iystina7@gmail.com>
Co-authored-by: eltonqin <eltonqin@tencent.com>
Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-12-07 13:13:53 +00:00
luomy 169a55ff72 chore(ios): set cpp version to c++17 2022-12-05 15:56:48 +08:00
iPel 77abb9d93d feat(ios,android,vue): add load result param for webView's onLoadEnd api (#2667)
* feat(ios,vue): add load result param for webView's onLoadEnd api

* feat(android): add load result param for webView's onLoadEnd api

* feat(vue, doc): fix onLoadEnd params and update docs

* feat(vue, doc): resolve pr problem

* feat(vue, doc): resolve pr problem

Co-authored-by: wwwcg <isarraypro@gmail.com>
2022-11-24 15:27:23 +08:00
zoomchan-cxj c0a933389f feat(vue): add whitespace handler config 2022-11-21 22:47:11 +08:00
zoomchan-cxj 16288f44f8 fix(react,vue): fix getBoundingClientRect errMsg syntax 2022-11-15 18:14:29 +08:00
Ray edc10205ff feat(android,ios,js): add getBoundingClientRect method (#2651)
* feat(android): add `getBoundingClientRect` api [WIP]

* feat(vue,react): add getBoundingClientRect api

* feat(android): add `getBoundingClientRect` api

* feat(ios): add getBoundingClientRect method

* docs(homepage): add getBoundingClientRect doc

* fix(demo): rm redundant file (#4)

* docs(homepage): add getBoundingClientRect doc

* fix(demo): rm redundant file

* fix(demo): rm redundant file

* refactor(vue-next-demo): rm unused code

* feat(android): add `getBoundingClientRect` api

Co-authored-by: iPel <pel20121221@gmail.com>
Co-authored-by: zoomchan-cxj <zoom_chan@163.com>
Co-authored-by: siguangli <siguangli@qq.com>
2022-11-15 08:34:44 +00:00