15 Commits

Author SHA1 Message Date
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
Tomdy Qin 593a11dfe3 feat(hippy-react): fix declaration and export it (#3414)
* feat(hippy-react): fix declaration and export it;

refactor list-view for extends

* feat(hippy-react): fix style declaration

* feat(hippy-react): add StyleSheet.flatten && fix style declaration

* feat(hippy-react): fix style declaration

* feat(hippy-react-web): fix text-input setStyle error

* feat(scripts): update copyright

* feat(scripts): update copyright force
2023-08-07 16:41:10 +08:00
tomdyqin fed34a495e feat(@hippy/react-web): add build config for the declaration 2023-03-27 19:57:19 +08:00
PBA 421daf2269 feat(webrenderer): merge webrenderer repo to hippy repo (#2609)
* feat(webrenderer): re init hippy-web-renderer

* test(test): change test logic

* style(eslint): fix lint warn

* refactor(copyright): add copyright info

* refactor(copyright): add copyright info

* revert(lockfile): revert package-lock.json

* refactor(conflict): fix type conflict

* feat(vue): support to merge styles on root element of child component

* refactor(ios): make project build with library

* fix(ios): need to callback when url loading error

* fix(android): fix setTextColor not working

* ci(workflows): add github actions for project calc code of lines

* refactor(webrenderer): version 0.0.4 publish

* ci(workflows): android build tests will run all build types

* fix(workflows): fix CodeQL languages detection bug on PR request

* ci(workflows): replaced obsolete workflow command

replaced obsolete workflow output command `set-output`
with `GITHUB_OUTPUT` environment file.

* fix(vue-css-loader): update loader-utils to safe version

* ci(workflows): CodeQL analyses will check all Android projects

* feat(workflows): add project code line exclude files support

* fix(workflow): fix CodeQL exception when default run

* fix(iOS): refresh header not rebound automatically

xxx

* fix(iOS): delete tmp log

* ci(workflows): add ios artifact release

* ci(workflow): add minimum V8 version test into android build tests

* feat(ci): implement iOS project artifact compare

* feat(workflows): iOS build tests add different configurations

* refactor(ios): use work space to manager projects

* refactor(ios): use work space to manager projects

* feat(workflows): remove unnecessary `Cocoapods` installation step

* feat(workflows): `XCode` project adaptation

* feat(core): adapt to different v8 versions

* refactor(ios): modify project configurations

rename scheme from 'hippy' to 'HippyLibrary',rename target name from 'hippy' to 'HippyLibrary'

keep static library product name unchanged

* feat(workflows): change `XCode` project scheme name

* fix(android): waterfall banner not affected by parent honrizon padding;

* 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>

* fix(react,vue): fix getBoundingClientRect errMsg syntax

* fix(ios): correct hittest when view has animation

* fix(ios): subviews of animated view cannot be clicked

* fix(android): edit `getBoundingClientRect` callback format

* fix(ios): edit `getBoundingClientRect` callback format

* fix(react,vue): change measureInAppWindow error return value

* fix(ios): need to extern as C if cpp is defined

* fix(workflows): fix backtrace parsing incorrect problem in crash report

* chore(deps): bump loader-utils in /packages/hippy-vue-css-loader

Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat(vue): add whitespace handler config

* fix(android): horizontal scroll view smoothScrollToPage crash

* feat(v8): heap limit increases considering the old generation capacity

* feat(core): add performance api for new x5 v8

* fix(v8): fix `V8` OOM crash when inspector enable the js debugger

* 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>

* perf(vue): ignore to append existed node to improve router performance

* refactor(vue-next): remove Date.now in trace log

* chore(docs): add homepage and README some docs

* refactor(ios): set xcode project compatility vertion to xcode 10.0

* feat(vue): add beforeRenderToNative hook to support computed style

* fix(android): fix JSI cause JNI local reference table overflow

* fix(core): fix the problem of multi-threading at startup time

* ci(workflows): adjust the labeling rules

* chore(ios): set cpp version to c++17

* feat(workflows): add auto-merge labeler in PR

* feat(workflows): change stale label name

* feat(workflows): change license check configuration file path

* ci(workflows): add js release workflow

* feat(workflows): add PR review notification

* ci(codeowner): change demo path

* fix(core): fix reload bug for inspector

* ci(workflows): fix js release issue

* 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>

* Revert "feat(android): add `nestedScrollPriority` for `ListView` and `ScrollView` (#2744)"

This reverts commit 2644658376.

* 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

* ci(workflows): setup node to npm registry

* fix(ios): animated image is not released when the view is removed

* feat(workflows): workflow add `squash-merge` action

* feat(workflows): use `Hippy Action Bot` as action executor

* ci(labeler): add new labels (#2762)

* ci(codeowner): change codeowner classificatioin (#2761)

* Revert "fix(ios): animated image is not released when the view is removed"

This reverts commit 6af195837d.

* fix(devtools): fix try catch exception when update context

* feat(workflows): optimizing pull request greeting message (#2765)

Co-authored-by: Zoom Chan <zoom_chan@163.com>

* fix(workflows): change workflows bot app key and id (#2768)

* fix(workflows): fix triage outputs incorrect problem in crash report (#2767)

* feat(workflows): integrate `squash-merge` and `rebase-merge` action (#2772)

* fix(workflows): change `pull_request_help_needed` label name

* fix(ios): avoid animated image multi thread operation crash

* fix(devtools): callback fail when debug ws disconnect

* feat(workflows): add pull request merge guard and update it's action

* refactor(workflows): refactor pull requests checks approval process

* ci(codeowner): change CODEOWNERS classification (#2799)

* fix(workflows): change mentioned user in the PR review notification (#2801)

* chore(commitlint): adjust rules for length of commit message check (#2807)

* feat(workflows): users cannot perform merge action on their own PRs (#2809)

* fix(workflows): update Github bot app key and id configuration (#2810)

* refactor(ios): perfect copyright notice (#2821)

* feat(vue-next): add beforeRenderToNative hook (#2775)

* 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>

* fix(ios): fix ConsoleModule.log not working (#2812)

Co-authored-by: Zoom Chan <zoom_chan@163.com>

* feat(core): dynamic loading support custom protocols (#2827)

* feat(core): allow all schemas to dynamic load (#2829)

* chore(deps): bump json5 and loader-utils (#2830)

Removes [json5](https://github.com/json5/json5). It's no longer used after updating ancestor dependency [loader-utils](https://github.com/webpack/loader-utils). These dependencies need to be updated together.

Updates `loader-utils` from 1.4.2 to 3.2.1
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.2...v3.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(bump): update loader-utils to 1.4.2

* feat(workflows): add regular requested reviewers notification

* chore(bump): update loader-utils to 2.0.4 to fix json5 issue (#2833)

* feat(workflows): PR review notification add mention user (#2834)

* feat(core): support android dimensions to extend customized parameters

* chore(example): rebuild examples to update code

* feat(ios): add method to create custom scrollview (#2839)

* fix(android): remove web url judge in fetchResourceWithUri (#2840)

* chore(deps): bump json5 from 1.0.1 to 1.0.2

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(android): text with negative letterSpacing wraps at wrong position (#2843)

Co-authored-by: Zoom Chan <zoom_chan@163.com>

* chore(codeowner): change settings.gradle codeowner

* feat(workflows): PR review notification filter draft PR (#2854)

* feat(workflows): add pull requests auto updater (#2855)

* feat(android): enable Safe ICF to optimize binary size (#2857)

* fix(core): add handle_scope for v8 exception (#2860)

* feat(workflows): only uses non-merge commits as valid commits (#2862)

Co-authored-by: Zoom Chan <zoom_chan@163.com>

* feat(workflows): add pull requests auto merger

* fix(workflows): fix rebase-merge label name

* feat(workflows): change review notification schedule

* fix(workflows): change auto_merger comment message

* fix(devtools): remove regular expression injection (#2865)

Co-authored-by: Zoom Chan <zoom_chan@163.com>

* fix(webrenderer): fix animation valid logic error

* style(lint): fix lint errors

* feat(workflows): add self-hosted runners monitor

* chore(deps): bump ua-parser-js in /packages/hippy-react-web

Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.31 to 0.7.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.31...0.7.33)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat(workflows): skip privilege escalation when conditions are met

skip privilege escalation when
invoked by a user with admin role
or contains only one normal commit.

* chore(codeowner): add C++ codeowner

* refactor(workflows): refactor CodeQL analyses script to save resources

* feat(workflows): use variables that only exist in pull requests event

* fix(workflows): fix the workflow exception caused by cancel status

* perf(workflows): use ubuntu replace macos in order to improve efficiency

* feat(workflows): optimize self-hosted runner alarm strategy

* revert(lockfile): revert package-lock.json

* refactor(ios): make project build with library

* ci(workflows): add github actions for project calc code of lines

* refactor(webrenderer): version 0.0.4 publish

* ci(workflows): android build tests will run all build types

* fix(workflows): fix CodeQL languages detection bug on PR request

* ci(workflows): replaced obsolete workflow command

replaced obsolete workflow output command `set-output`
with `GITHUB_OUTPUT` environment file.

* fix(vue-css-loader): update loader-utils to safe version

* ci(workflows): CodeQL analyses will check all Android projects

* feat(workflows): add project code line exclude files support

* fix(workflow): fix CodeQL exception when default run

* fix(iOS): refresh header not rebound automatically

xxx

* fix(iOS): delete tmp log

* ci(workflows): add ios artifact release

* ci(workflow): add minimum V8 version test into android build tests

* feat(ci): implement iOS project artifact compare

* feat(workflows): iOS build tests add different configurations

* refactor(ios): use work space to manager projects

* refactor(ios): use work space to manager projects

* feat(workflows): remove unnecessary `Cocoapods` installation step

* feat(workflows): `XCode` project adaptation

* refactor(ios): modify project configurations

rename scheme from 'hippy' to 'HippyLibrary',rename target name from 'hippy' to 'HippyLibrary'

keep static library product name unchanged

* feat(workflows): change `XCode` project scheme name

* 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>

* fix(react,vue): fix getBoundingClientRect errMsg syntax

* fix(ios): correct hittest when view has animation

* fix(ios): subviews of animated view cannot be clicked

* fix(android): edit `getBoundingClientRect` callback format

* fix(ios): edit `getBoundingClientRect` callback format

* fix(react,vue): change measureInAppWindow error return value

* fix(workflows): fix backtrace parsing incorrect problem in crash report

* chore(deps): bump loader-utils in /packages/hippy-vue-css-loader

Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat(vue): add whitespace handler config

* feat(v8): heap limit increases considering the old generation capacity

* fix(v8): fix `V8` OOM crash when inspector enable the js debugger

* chore(docs): add homepage and README some docs

* refactor(ios): set xcode project compatility vertion to xcode 10.0

* feat(vue): add beforeRenderToNative hook to support computed style

* fix(core): fix the problem of multi-threading at startup time

* ci(workflows): adjust the labeling rules

* chore(ios): set cpp version to c++17

* feat(workflows): add auto-merge labeler in PR

* ci(workflows): add js release workflow

* feat(workflows): add PR review notification

* ci(codeowner): change demo path

* fix(core): fix reload bug for inspector

* ci(workflows): fix js release issue

* 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>

* Revert "feat(android): add `nestedScrollPriority` for `ListView` and `ScrollView` (#2744)"

This reverts commit 2644658376.

* 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

* ci(workflows): setup node to npm registry

* fix(ios): animated image is not released when the view is removed

* feat(workflows): workflow add `squash-merge` action

* feat(workflows): use `Hippy Action Bot` as action executor

* ci(labeler): add new labels (#2762)

* ci(codeowner): change codeowner classificatioin (#2761)

* Revert "fix(ios): animated image is not released when the view is removed"

This reverts commit 6af195837d.

* feat(workflows): optimizing pull request greeting message (#2765)

Co-authored-by: Zoom Chan <zoom_chan@163.com>

* fix(workflows): change workflows bot app key and id (#2768)

* fix(workflows): fix triage outputs incorrect problem in crash report (#2767)

* feat(workflows): integrate `squash-merge` and `rebase-merge` action (#2772)

* fix(workflows): change `pull_request_help_needed` label name

* fix(ios): avoid animated image multi thread operation crash

* feat(workflows): add pull request merge guard and update it's action

* refactor(workflows): refactor pull requests checks approval process

* ci(codeowner): change CODEOWNERS classification (#2799)

* fix(workflows): change mentioned user in the PR review notification (#2801)

* feat(workflows): users cannot perform merge action on their own PRs (#2809)

* fix(workflows): update Github bot app key and id configuration (#2810)

* refactor(ios): perfect copyright notice (#2821)

* feat(vue-next): add beforeRenderToNative hook (#2775)

* chore(deps): bump json5 and loader-utils (#2830)

Removes [json5](https://github.com/json5/json5). It's no longer used after updating ancestor dependency [loader-utils](https://github.com/webpack/loader-utils). These dependencies need to be updated together.

Updates `loader-utils` from 1.4.2 to 3.2.1
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.2...v3.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(bump): update loader-utils to 1.4.2

* feat(workflows): add regular requested reviewers notification

* chore(bump): update loader-utils to 2.0.4 to fix json5 issue (#2833)

* feat(workflows): PR review notification add mention user (#2834)

* chore(example): rebuild examples to update code

* chore(deps): bump json5 from 1.0.1 to 1.0.2

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(codeowner): change settings.gradle codeowner

* feat(workflows): PR review notification filter draft PR (#2854)

* fix(core): add handle_scope for v8 exception (#2860)

* feat(workflows): only uses non-merge commits as valid commits (#2862)

Co-authored-by: Zoom Chan <zoom_chan@163.com>

* feat(workflows): add pull requests auto merger

* fix(workflows): fix rebase-merge label name

* feat(workflows): change review notification schedule

* fix(workflows): change auto_merger comment message

* style(lint): fix lint errors

* feat(workflows): use classic PAT instead of Github App Token

* feat(workflows): add self-hosted runners monitor

* feat(workflows): skip privilege escalation when conditions are met

skip privilege escalation when
invoked by a user with admin role
or contains only one normal commit.

* chore(codeowner): add C++ codeowner

* refactor(workflows): refactor CodeQL analyses script to save resources

* feat(workflows): use variables that only exist in pull requests event

* fix(workflows): fix the workflow exception caused by cancel status

* perf(workflows): use ubuntu replace macos in order to improve efficiency

* feat(workflows): optimize self-hosted runner alarm strategy

* refactor(webrenderer): fix eslint warnings && add build

* chore(webrenderer): fix webrenderer build error

* chore(webrenderer): update build logic and pack.json

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: zoomchan-cxj <zoom_chan@163.com>
Co-authored-by: luomy <ozonelmy@163.com>
Co-authored-by: iPel <pel20121221@gmail.com>
Co-authored-by: superzheng <superzheng@tencent.com>
Co-authored-by: luoyibu <luoyibu@users.noreply.github.com>
Co-authored-by: pollyzhang <pollyzhang@tencent.com>
Co-authored-by: FE-xiaoJiang <3401384168@qq.com>
Co-authored-by: Ray <isarraypro@gmail.com>
Co-authored-by: siguangli <siguangli@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: maxli <maxli@tencent.com>
Co-authored-by: chestershen <chestershen@tencent.com>
Co-authored-by: Super Zheng <medns@126.com>
Co-authored-by: HOHOHOTangoDown <iystina7@gmail.com>
Co-authored-by: eltonqin <eltonqin@tencent.com>
Co-authored-by: xpyue <xpyue@tencent.com>
Co-authored-by: xpyue <1055978080@qq.com>
Co-authored-by: ivanfanwu <ivanfanwu@tencent.com>
Co-authored-by: DMX <34561818+crazyming9528@users.noreply.github.com>
Co-authored-by: questguo <questguo@tencent.com>
Co-authored-by: churchill-zhang <long.dragon.zhang@gmail.com>
2023-02-03 14:30:25 +08:00
Lxy 2346eb8d93 feat(hippy-vue-next): support vue3.x (#2357)
* feat(hippy-vue-next): initialize hippy-vue-next package

* feat(hippy-vue-next): rollup build config

* feat(example): add vue-next demo

* docs(hippy-vue-next): update vue version

* feat(hippy-vue-next): update branch up to date with Tencent:master

* feat(hippy-vue-next): update comment

* feat(example): use @vue/runtime-core with package

* docs(hippy-vue-next): update comment

* fix(hippy-vue-next): fix demo debug problem

* feat(hippy-vue-next): modify import type of runtime in demo

* feat(hippy-vue-next): generate d.ts file

* fix(hippy-vue-next): fix android horizontal problem in demo-list

* feat(hippy-vue-next): modify eslint options to check demo's code

* feat(hippy-vue-next): add vue-next unit test

* feat(hippy-vue-next): fix & commit unit tests

* feat(hippy-vue-next): ignore api-extractor warnings

* docs(hippy-vue-next): update docs

* docs(hippy-vue-next): update comment

* docs(hippy-vue-next): update docs

* docs(hippy-vue-next): update docs

* chore(license): add license header

* docs(hippy-vue-next): update docs

* feat(hippy-vue-next): add once event demo

* refactor(hippy-vue-next): rename tool package

* docs(hippy-vue-next): update docs

* docs(hippy-vue-next): update comment

* docs(hippy-vue-next): update docs

* feat(hippy-vue-next): modify regexp

* docs(hippy-vue-next): update docs

* feat(hippy-vue-next): modify regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): reset old package-lock

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

* feat(hippy-vue-next): add utils unit test case

* feat(hippy-vue-next): add utils & element unit test case

* feat(hippy-vue-next): add event & element unit test case

* feat(hippy-vue-next): add native unit test case

* feat(hippy-vue-next): add built-in & patch unit test case

* feat(hippy-vue-next): add patch unit test case

* feat(hippy-vue-next): add style unit test case

* feat(hippy-vue-next): add style unit test case

* feat(hippy-vue-next): add style & util unit test case

* fix(hippy-vue-next): fix swiper & animation warn in debug mode

* feat(hippy-vue-next): use shallowRef to up perf for component reactive

* fix(hippy-vue-next): fix animation warn in debug mode

* feat(hippy-vue-next): upgrade debug package

* feat(hippy-vue-next): fix CR problem

* feat(hippy-vue-next): fix CR problem

* feat(hippy-vue-next): app start support both callback & promise

* feat(hippy-vue-next): fix turbo proxy value problem

* feat(hippy-vue-next): update docs

* feat(hippy-vue-next): fix animation demo problem

* feat(hippy-vue-next): modify register hippy method to compatible vue2

* feat(hippy-vue-next): update docs

* feat(hippy-vue-next): update vue3 docs

* feat(hippy-vue-next): add waterfall lose props

* fix(vue-next): fix lint issues and logic robust issues

* feat(hippy-vue-next): add event bus & unit test case

* feat(hippy-vue-next): add webpack vendor options

* feat(hippy-vue-next): add webpack vendor options

* feat(hippy-vue-next): remove unused demo method

* feat(hippy-vue-next): modify event bus to compatible vue2

* feat(hippy-vue-next): modify event bus to compatible vue2

* feat(hippy-vue-next): add event-bus unit test cases

* feat(hippy-vue-next): add build vendor directive

* feat(hippy-vue-next): remove demo redundant method & add silent option

* feat(hippy-vue-next): update debug doc

* feat(hippy-vue-next): add console output style

* feat(hippy-vue-next): add custom nativeapis and components demo

* docs(text): extend custom nativeapis and components docs

* feat(hippy-vue-next): remove auto generated declaration files

* feat(hippy-vue-next): update demo list & compatible vue3.2.39+ event

* feat(hippy-vue-next): support scoped & attribute selector & merge update

* feat(hippy-vue-next): support scoped & add unit tests

* feat(hippy-vue-next): update vue-next-demo same to vue-demo

* feat(hippy-vue-next): add unit tests

* feat(hippy-vue-next): use named export instead universal export

* feat(hippy-vue-next): update css-loader name to compatible vue-loader

* feat(hippy-vue-next): fix style matched issue

* refactor(vue-next): update docs & lock

* fix(npm,eslint): update npm package & fix lint

* feat(hippy-vue-next): add style unit tests

* feat(hippy-vue-next): fix eslint issue

* feat(hippy-vue-next): add android router inject logic & doc

* feat(hippy-vue-next): use hippy history to solve router inject logic

* feat(hippy-vue-next): update router history doc

* feat(hippy-vue-next): update router history doc

* feat(vue): add getElemCss scoped judgement

* refactor(vue-demo): remove stop

Co-authored-by: anqinli <anqinli@tencent.com>
Co-authored-by: birdguo <birdguo@tencent.com>
Co-authored-by: Zoom Chan <zoom_chan@163.com>
Co-authored-by: birdguo <gguoyu@users.noreply.github.com>
2022-10-08 21:12:31 +08:00
zoomchan-cxj 2946e5d133 chore(license): add license header 2022-08-05 18:27:11 +08:00
zoomchan-cxj 362c980c9c refactor(debug-server): remove debug-server package from Hippy repo 2022-06-24 17:10:17 +08:00
LittleCo e63436f0a0 feat(hippy-react-web): support tree-sharking & fix issues (#2069)
* feat(hippy-react-web): support tree-sharking & fix issues

* feat(hippy-react-web): use en comment

Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-06-21 20:09:33 +08:00
zoomchan-cxj b8ab964d3c chore(dependency): update marked npm package to safe version 2022-01-15 13:52:42 +08:00
zoomchan-cxj 9d21e57860 fix(ci): add packages npm install 2022-01-14 18:55:02 +08:00
zoomchan-cxj e7ecb6d23a fix(js): update ts version and ts declaration issues 2022-01-13 23:36:06 +08:00
chestershen b74ae8faf9 feat(vue, react, debug-server, vue-loader, vue-css-loader): support HMR
- hippy-vue: ElementNode add repaintWithChildren API

- hippy-vue: support remove outdated style of HMR chunk

- hippy-vue-loader: support style hmr

- hippy-vue-css-loader: support remove outdated style of HMR chunk

- debug-server, vue-demo, react-demo, hippy-react: support hmr

- debug-server: add hippy-dev command
2021-12-27 15:31:08 +08:00
zoomchan-cxj d38eb47fc2 refactor(hippy-react,hippy-vue): reduce cyclomatic complexity 2021-03-12 14:53:52 +08:00
Zoom Chan b32ce76924 refactor(hippy-vue,hippy-react): change eslint to eslint-config-tencent (#614)
* refactor(hippy-vue,hippy-react): change eslint format

* refactor(hippy-vue,hippy-react): change eslint to eslint-config-tencent
2021-03-12 10:40:55 +08:00
xqkuang(旷旭卿) cd46465a1c refactor: make it public 2019-12-20 13:45:18 +08:00