Commit Graph

57 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 4fe7b63f17 fix(@hippy/react-web): remove unused val 2023-04-04 07:34:21 +00:00
tomdyqin fed34a495e feat(@hippy/react-web): add build config for the declaration 2023-03-27 19:57:19 +08:00
zoomchan-cxj 3a9e3a4276 chore(react-web): perf build script 2023-03-16 16:53:27 +08:00
corinli 6ac9887e57 feat(hippy-react-web): add cjs formatted output 2023-03-14 03:03:36 +00:00
pollyzhang b63b843e11 feat(core): refactor napi and jsi 2023-02-28 07:52:35 +00:00
zoomchan-cxj 64ddef3928 build(ts): add customized ts include path 2023-02-21 13:28:10 +00: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
zoomchan-cxj d8d60a3af8 ci(workflows): add js release workflow 2022-12-06 17:42:19 +08:00
zoomchan-cxj cbe9e4d61b fix(script): fix build script error 2022-10-13 16:50:49 +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 509a08bc20 feat(vue-css-loader): change dist file name to be parsed by vue-loader 2022-09-22 15:10:20 +08:00
zoomchan-cxj c68a78ddc5 chore(script): perf build script error report 2022-09-22 15:10:20 +08:00
little 8f2750932c chore(hippy-react-web): output es5 code 2022-09-07 19:49:21 +08:00
zoomchan-cxj 2946e5d133 chore(license): add license header 2022-08-05 18:27:11 +08:00
zoomchan-cxj 570bfdc6ed fix(buildcore): fix buildcore script 2022-07-29 18:26:55 +08:00
LittleCo 54c03f35bd fix(hippy-react-web): support react-web ListView renderPullFooter (#2166)
* feat(hippy-react-web): support onFooterPulling

* feat(hippy-react-web): reset cookie & support collapse option

* feat(hippy-react-web): doc update & rm unused code

* feat(hippy-react-demo): use latest @hippy/rmc dep

* feat(hippy-react-demo): use latest @hippy/rmc dep

* feat(hippy-react-web): fix pulling footer offset

* feat(hippy-react-web): update cookieModule

Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-07-05 21:24:25 +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 31db7bbff7 ci(js): add node_modules cache 2022-06-16 12:01:58 +08:00
zoomchan-cxj 754d78b601 fix(hippy-react-web): change rmc-list-view to hippy domain
some npm dependencies of rmc-list-view have vulnerable risk
2022-05-24 05:26:12 -05:00
LittleCo a41d671365 feat(hippy-react-web): perfect hippy-react-web components (#1427)
* feat(hippy-react-web): supports hippy-react components

* feat(hippy-react-web): fix cr issues

* feat(hippy-react-web): add boxShadow

* feat(hippy-react-web): add textShadow

* feat(hippy-react-web): update ScrollView & demo Slider

* feat(hippy-react-web): fix tabHost scroll

* feat(hippy-react-web): add Localization

* feat(hippy-react-web): NetInfo & websocket

* feat(hippy-react-web): networkModule

* feat(hippy-react-web): fix pullHeader

* feat(hippy-react-web): add refreshWrapper

* feat(hippy-react-web): fix useLayout

* feat(hippy-react-web): add AsyncStorage

* feat(hippy-react-web): color transform

* feat(hippy-react-web): fix device.screen in safari

* feat(hippy-react-web): rm pullHeader getPullHeaderHeight prop

* feat(hippy-react-web): rm pullHeader getPullHeaderHeight prop

* feat(hippy-react-web): local image

* feat(hippy-react-web): code improve & add Modal animation

* feat(hippy-react-web): support modal animated

* feat(hippy-react-web): refactor viewpager

* feat(hippy-react-web): add warn when use unsupported prop

* feat(hippy-react-web): add asyncStorage methods

* feat(hippy-react-web): add ImageLoaderModule

* feat(hippy-react-web): add Image getSize prefetch

* feat(hippy-react-web): PixelRatio & docs

* feat(hippy-react-web): callNative add init function

* docs(video): change to gif

* docs(debug): perf debug steps introduction

* fix(core): fix log delegate crash

* refactor(core): refactor log delegate and remove lock for log

* feat(hippy-react-web): rm demo code & add RippleViewAndroid export

* feat(hippy-react-web): update components docs

* feat(hippy-react-web): add license header

* feat(hippy-react-web): update hippy-react docs

* feat(hippy-react-web): rm list-view prop

* feat(hippy-react-web): tranform linear-gradient

* feat(hippy-react-web): add view unsupported method  warning

* feat(ios): localstorage can handle error

* fix(ios): fix value fetch error

* fix(hippy-react-web): fix cr issues

* chore(hippy-react-web): rm unused console

* docs(hippy-vue-web): update react-web components

* chore(hippy-react-web): fix listview & modal issues

* chore(hippy-react-web): rm unused console

* refactor(hippy-react-web): refactor Image

* fix(hippy-react-web): fix image resizeMode

* fix(hippy-react-web): fix rippleViewAndroid error

* docs(hippy-react-web): add hippy-react-web module info

* refactor(hippy-react-web): rename prop to props

* fix(hippy-react-web): onAppear observeer

* feat(hippy-react-web): publish react-web@14.0-beta.1

* feat(hippy-react-web): fix uiM issues & fix typo

* chore(hippy-react-demo): support web dev hot reload

* chore(hippy-react-web): add source-map

* chore(hippy-react-web): rm ts hotreload

* chore(ios): recover ios localStorage

Co-authored-by: corinli <corinli@tencent.com>
Co-authored-by: zoomchan-cxj <zoom_chan@163.com>
Co-authored-by: pollyzhang <pollyzhang@tencent.com>
Co-authored-by: mengyanluo <mengyanluo@tencent.com>
2022-04-17 21:33:54 +08:00
chestershen d48cb23309 feat(devtools): support vue-devtools 2022-04-13 14:22:28 +08:00
zoomchan-cxj 59c5e6b123 chore(README): update init script 2022-04-02 18:18:21 +08:00
zoomchan-cxj 31e494beb7 chore(debug): change debug script 2022-03-14 22:47:26 +08:00
zoomchan-cxj 1cfe89e32d build(debug): add debug example compact script 2022-01-23 17:58:34 +08:00
zoomchan-cxj a9c077e57b build(log): remove circular warnings 2022-01-15 20:22:12 +08:00
zoomchan-cxj b8ab964d3c chore(dependency): update marked npm package to safe version 2022-01-15 13:52:42 +08:00
zoomchan-cxj 9e7fb7019b build(js): change ts syntax & rollup babel config 2022-01-14 18:55:02 +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 eeb90977bc fix(build script): fix debug-server build script 2021-12-27 20:23:23 +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 7c1ab0898d feat(react): add commitEffects hook to change batch update synchronously 2021-12-19 09:17:25 -06:00
zoomchan-cxj 770330cfca chore(lint): fixed js lint problem 2021-11-30 05:35:13 -06:00
zoomchan-cxj 3d95e83d84 refactor(eslint): fix eslint issue 2021-11-02 15:00:20 +08:00
derekazhang f721994fd2 feat(vue): jsi 2021-11-01 11:25:40 +08:00
zoomchan-cxj 0744032a92 chore(lint): add commitlint & eslint check before commit 2021-07-28 00:54:11 +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
pollyzhang 953cd6975a fix(feat): change build-core script 2021-02-24 17:56:31 +08:00
zoomchan-cxj 37346f16aa fix(hippy-vue): fix vue webpack dll problem 2021-02-05 10:33:01 +08:00
pollyzhang 20e2ed983d feat(core): add dynamic load 2020-12-25 16:40:02 +08:00
kiddxu 1fb9eefdaf refactor(react-web): refined the ListView component with rmc-list-view 2020-05-12 15:32:47 +08:00
XQ Kuang 62cbdb0cb7 feat(hippy-react-web): added default export for hippy-react web
1. added defualt export for hippy-react-web
2. added version demo for hippy-react-web
3. fixed some typo mistake
2020-04-23 16:32:41 +08:00
XQ Kuang 7aa5b49689 refactor(core): moved bootstrap.js to core/js 2020-04-16 22:43:58 +08:00
XQ Kuang 4f5e6a81b8 chore(build): fixed js2cpp eslint issues 2020-04-13 23:01:37 +08:00
XQ Kuang a3aa0b8514 fix(core): drop Object.entries() for lower iOS compatible 2020-04-10 18:08:01 +08:00
XQ Kuang 069c35710b chore: make packages to have @hippy prefix 2020-01-22 15:20:27 +08:00