Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(webrenderer): merge webrenderer repo to hippy repo #2609

Merged
merged 240 commits into from
Feb 3, 2023
Merged
Show file tree
Hide file tree
Changes from 239 commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
cb948fa
feat(webrenderer): re init hippy-web-renderer
pba-cra Nov 2, 2022
63b630a
test(test): change test logic
pba-cra Nov 2, 2022
b4a3830
style(eslint): fix lint warn
pba-cra Nov 2, 2022
47d877a
refactor(copyright): add copyright info
pba-cra Nov 2, 2022
7ba3b98
refactor(copyright): add copyright info
pba-cra Nov 2, 2022
39494f4
revert(lockfile): revert package-lock.json
pba-cra Nov 2, 2022
9ff71d0
refactor(conflict): fix type conflict
pba-cra Nov 2, 2022
9a87a98
feat(vue): support to merge styles on root element of child component
zoomchan-cxj Nov 3, 2022
6ce55e9
refactor(ios): make project build with library
ozonelmy Nov 3, 2022
433605c
fix(ios): need to callback when url loading error
ozonelmy Nov 3, 2022
d899f73
fix(android): fix setTextColor not working
iPel Nov 3, 2022
e925510
ci(workflows): add github actions for project calc code of lines
medns Nov 4, 2022
7ee3162
refactor(webrenderer): version 0.0.4 publish
pba-cra Nov 10, 2022
a54d019
ci(workflows): android build tests will run all build types
medns Nov 7, 2022
e4aac03
fix(workflows): fix CodeQL languages detection bug on PR request
medns Nov 7, 2022
c999166
ci(workflows): replaced obsolete workflow command
medns Nov 7, 2022
9bed2c3
fix(vue-css-loader): update loader-utils to safe version
zoomchan-cxj Nov 8, 2022
8f2fe11
ci(workflows): CodeQL analyses will check all Android projects
medns Nov 8, 2022
d4e8c17
feat(workflows): add project code line exclude files support
medns Nov 8, 2022
f1ee6df
fix(workflow): fix CodeQL exception when default run
medns Nov 8, 2022
61d981e
fix(iOS): refresh header not rebound automatically
luoyibu Nov 8, 2022
bbec963
fix(iOS): delete tmp log
luoyibu Nov 8, 2022
ff5c8a6
ci(workflows): add ios artifact release
zoomchan-cxj Nov 9, 2022
6fd3426
ci(workflow): add minimum V8 version test into android build tests
medns Nov 9, 2022
85ef73d
feat(ci): implement iOS project artifact compare
medns Nov 9, 2022
8f45132
feat(workflows): iOS build tests add different configurations
medns Nov 10, 2022
c258220
refactor(ios): use work space to manager projects
ozonelmy Nov 10, 2022
2d9c666
refactor(ios): use work space to manager projects
ozonelmy Nov 11, 2022
73dc13e
feat(workflows): remove unnecessary `Cocoapods` installation step
medns Nov 14, 2022
160db1a
feat(workflows): `XCode` project adaptation
medns Nov 14, 2022
e171bbf
feat(core): adapt to different v8 versions
churchill-zhang Nov 14, 2022
05a6706
refactor(ios): modify project configurations
ozonelmy Nov 14, 2022
b779d5f
feat(workflows): change `XCode` project scheme name
medns Nov 15, 2022
ad9ef93
fix(android): waterfall banner not affected by parent honrizon padding;
FE-xiaoJiang Nov 9, 2022
893a7c2
feat(android,ios,js): add getBoundingClientRect method (#2651)
wwwcg Nov 15, 2022
da2a719
fix(react,vue): fix getBoundingClientRect errMsg syntax
zoomchan-cxj Nov 15, 2022
f55d815
fix(ios): correct hittest when view has animation
wwwcg Nov 11, 2022
c10dbd4
fix(ios): subviews of animated view cannot be clicked
wwwcg Nov 15, 2022
3442c0b
fix(android): edit `getBoundingClientRect` callback format
iPel Nov 15, 2022
7a08d32
fix(ios): edit `getBoundingClientRect` callback format
wwwcg Nov 15, 2022
6982266
fix(react,vue): change measureInAppWindow error return value
zoomchan-cxj Nov 16, 2022
0208e9c
fix(ios): need to extern as C if cpp is defined
ozonelmy Nov 18, 2022
a60c02c
fix(workflows): fix backtrace parsing incorrect problem in crash report
medns Nov 18, 2022
4a9bcfe
chore(deps): bump loader-utils in /packages/hippy-vue-css-loader
dependabot[bot] Nov 21, 2022
179cf9d
feat(vue): add whitespace handler config
zoomchan-cxj Nov 21, 2022
616e3c5
fix(android): horizontal scroll view smoothScrollToPage crash
siguangli2018 Nov 22, 2022
3f848b7
feat(v8): heap limit increases considering the old generation capacity
medns Nov 22, 2022
2c616fa
feat(core): add performance api for new x5 v8
churchill-zhang Nov 23, 2022
10c8ff1
fix(v8): fix `V8` OOM crash when inspector enable the js debugger
medns Nov 23, 2022
daf04fa
feat(ios,android,vue): add load result param for webView's onLoadEnd …
iPel Nov 24, 2022
e38b467
perf(vue): ignore to append existed node to improve router performance
zoomchan-cxj Nov 24, 2022
ae8c759
refactor(vue-next): remove Date.now in trace log
zoomchan-cxj Nov 25, 2022
f158335
chore(docs): add homepage and README some docs
zoomchan-cxj Nov 25, 2022
76c26dd
refactor(ios): set xcode project compatility vertion to xcode 10.0
ozonelmy Nov 28, 2022
1ee0c46
feat(vue): add beforeRenderToNative hook to support computed style
shenchaoran Nov 25, 2022
32eade0
fix(android): fix JSI cause JNI local reference table overflow
medns Nov 28, 2022
67dd739
fix(core): fix the problem of multi-threading at startup time
churchill-zhang Nov 28, 2022
efacf39
ci(workflows): adjust the labeling rules
medns Dec 5, 2022
3d91e16
chore(ios): set cpp version to c++17
ozonelmy Dec 5, 2022
c267e81
feat(workflows): add auto-merge labeler in PR
medns Dec 6, 2022
e2bce98
feat(workflows): change stale label name
medns Dec 6, 2022
d14ffb6
feat(workflows): change license check configuration file path
medns Dec 6, 2022
df5e0db
ci(workflows): add js release workflow
zoomchan-cxj Dec 6, 2022
8fdc20d
feat(workflows): add PR review notification
medns Dec 7, 2022
dbf5005
ci(codeowner): change demo path
zoomchan-cxj Dec 7, 2022
00fd07c
fix(core): fix reload bug for inspector
churchill-zhang Dec 7, 2022
6909e87
ci(workflows): fix js release issue
zoomchan-cxj Dec 7, 2022
93a0482
feat(android): add `nestedScrollPriority` for `ListView` and `ScrollV…
iPel Dec 7, 2022
be75325
Revert "feat(android): add `nestedScrollPriority` for `ListView` and …
zoomchan-cxj Dec 7, 2022
f32d3e5
fix(android): nested scroll conflict
iPel Nov 25, 2022
c6f99ca
fix(android): nested scroll conflicts with pull refresh
iPel Dec 2, 2022
693b83d
feat(android): add `nestedScrollPriority` for ListView and ScrollView
iPel Dec 7, 2022
2f78010
fix(android): update scrollview consumed value
iPel Dec 7, 2022
76d4ef4
refactor(js): perf nestedScrollPriority demo & docs (#9)
zoomchan-cxj Dec 7, 2022
ddf8453
ci(workflows): setup node to npm registry
zoomchan-cxj Dec 7, 2022
6a3f591
fix(ios): animated image is not released when the view is removed
HumanSheep Dec 8, 2022
c7dbe34
feat(workflows): workflow add `squash-merge` action
medns Dec 8, 2022
bc179f3
feat(workflows): use `Hippy Action Bot` as action executor
medns Dec 8, 2022
1735f79
ci(labeler): add new labels (#2762)
zoomchan-cxj Dec 8, 2022
fdf42a1
ci(codeowner): change codeowner classificatioin (#2761)
zoomchan-cxj Dec 8, 2022
8c633d4
Revert "fix(ios): animated image is not released when the view is rem…
HumanSheep Dec 8, 2022
9072edf
fix(devtools): fix try catch exception when update context
lavnFan Dec 9, 2022
18ea254
feat(workflows): optimizing pull request greeting message (#2765)
medns Dec 9, 2022
38b6bdf
fix(workflows): change workflows bot app key and id (#2768)
medns Dec 9, 2022
cd44182
fix(workflows): fix triage outputs incorrect problem in crash report …
medns Dec 9, 2022
a28c20e
feat(workflows): integrate `squash-merge` and `rebase-merge` action (…
medns Dec 9, 2022
23f1eec
fix(workflows): change `pull_request_help_needed` label name
medns Dec 9, 2022
e212648
fix(ios): avoid animated image multi thread operation crash
wwwcg Dec 9, 2022
0c6f197
fix(devtools): callback fail when debug ws disconnect
lavnFan Dec 12, 2022
c6696ed
feat(workflows): add pull request merge guard and update it's action
medns Dec 13, 2022
c589066
refactor(workflows): refactor pull requests checks approval process
medns Dec 13, 2022
f1ffc00
ci(codeowner): change CODEOWNERS classification (#2799)
medns Dec 15, 2022
d9b3ec6
fix(workflows): change mentioned user in the PR review notification (…
medns Dec 15, 2022
ef1c200
chore(commitlint): adjust rules for length of commit message check (#…
zoomchan-cxj Dec 16, 2022
7ca1871
feat(workflows): users cannot perform merge action on their own PRs (…
medns Dec 16, 2022
1f510fa
fix(workflows): update Github bot app key and id configuration (#2810)
medns Dec 16, 2022
55ee723
refactor(ios): perfect copyright notice (#2821)
ozonelmy Dec 21, 2022
af66925
feat(vue-next): add beforeRenderToNative hook (#2775)
shenchaoran Dec 21, 2022
bebc955
chore(docs,demo): update WebRenderer docs & demo (#2566)
crazyming9528 Dec 26, 2022
a16fee3
fix(ios): fix ConsoleModule.log not working (#2812)
wwwcg Dec 29, 2022
c28e7e4
feat(core): dynamic loading support custom protocols (#2827)
churchill-zhang Dec 29, 2022
7416077
feat(core): allow all schemas to dynamic load (#2829)
zoomchan-cxj Dec 29, 2022
3367ff1
chore(deps): bump json5 and loader-utils (#2830)
dependabot[bot] Jan 3, 2023
84fd8f7
chore(bump): update loader-utils to 1.4.2
zoomchan-cxj Jan 3, 2023
8ad89c6
feat(workflows): add regular requested reviewers notification
medns Jan 3, 2023
f950c83
chore(bump): update loader-utils to 2.0.4 to fix json5 issue (#2833)
zoomchan-cxj Jan 3, 2023
3a00d1b
feat(workflows): PR review notification add mention user (#2834)
medns Jan 3, 2023
db35f70
feat(core): support android dimensions to extend customized parameters
zoomchan-cxj Jan 4, 2023
6b7bb5a
chore(example): rebuild examples to update code
zoomchan-cxj Jan 4, 2023
4101b6f
feat(ios): add method to create custom scrollview (#2839)
ozonelmy Jan 5, 2023
7c82c4a
fix(android): remove web url judge in fetchResourceWithUri (#2840)
siguangli Jan 5, 2023
7a4e812
chore(deps): bump json5 from 1.0.1 to 1.0.2
dependabot[bot] Jan 8, 2023
673a6ce
fix(android): text with negative letterSpacing wraps at wrong positio…
iPel Jan 8, 2023
4563156
chore(codeowner): change settings.gradle codeowner
zoomchan-cxj Jan 8, 2023
9077414
feat(workflows): PR review notification filter draft PR (#2854)
medns Jan 10, 2023
a972ffd
feat(workflows): add pull requests auto updater (#2855)
medns Jan 11, 2023
619d4b8
feat(android): enable Safe ICF to optimize binary size (#2857)
medns Jan 11, 2023
500d632
fix(core): add handle_scope for v8 exception (#2860)
churchill-zhang Jan 13, 2023
814b03a
feat(workflows): only uses non-merge commits as valid commits (#2862)
medns Jan 13, 2023
413dfde
feat(workflows): add pull requests auto merger
medns Jan 13, 2023
06e1f85
fix(workflows): fix rebase-merge label name
zoomchan-cxj Jan 13, 2023
0e21445
feat(workflows): change review notification schedule
zoomchan-cxj Jan 13, 2023
11eb6e1
fix(workflows): change auto_merger comment message
zoomchan-cxj Jan 13, 2023
53c22cb
fix(devtools): remove regular expression injection (#2865)
lavnFan Jan 14, 2023
820a797
fix(webrenderer): fix animation valid logic error
pba-cra Jan 16, 2023
3a817b0
style(lint): fix lint errors
pba-cra Jan 16, 2023
e9b67af
feat(workflows): add self-hosted runners monitor
medns Jan 16, 2023
851f895
chore(deps): bump ua-parser-js in /packages/hippy-react-web
dependabot[bot] Jan 27, 2023
5b07bac
feat(workflows): skip privilege escalation when conditions are met
medns Jan 30, 2023
a6c3557
chore(codeowner): add C++ codeowner
zoomchan-cxj Jan 30, 2023
8a73219
refactor(workflows): refactor CodeQL analyses script to save resources
medns Jan 31, 2023
391a0a8
feat(workflows): use variables that only exist in pull requests event
medns Jan 31, 2023
4112b7d
fix(workflows): fix the workflow exception caused by cancel status
medns Jan 31, 2023
69b002a
perf(workflows): use ubuntu replace macos in order to improve efficiency
medns Jan 31, 2023
ee66e2e
feat(workflows): optimize self-hosted runner alarm strategy
medns Jan 31, 2023
4543a7c
revert(lockfile): revert package-lock.json
pba-cra Nov 2, 2022
66e20db
refactor(ios): make project build with library
ozonelmy Nov 3, 2022
aee10c4
ci(workflows): add github actions for project calc code of lines
medns Nov 4, 2022
6091a90
refactor(webrenderer): version 0.0.4 publish
pba-cra Nov 10, 2022
7eab717
ci(workflows): android build tests will run all build types
medns Nov 7, 2022
05e805b
fix(workflows): fix CodeQL languages detection bug on PR request
medns Nov 7, 2022
281b24a
ci(workflows): replaced obsolete workflow command
medns Nov 7, 2022
5f18461
fix(vue-css-loader): update loader-utils to safe version
zoomchan-cxj Nov 8, 2022
e78d066
ci(workflows): CodeQL analyses will check all Android projects
medns Nov 8, 2022
d66e080
feat(workflows): add project code line exclude files support
medns Nov 8, 2022
1f6604b
fix(workflow): fix CodeQL exception when default run
medns Nov 8, 2022
3a7c8dd
fix(iOS): refresh header not rebound automatically
luoyibu Nov 8, 2022
0db7ca8
fix(iOS): delete tmp log
luoyibu Nov 8, 2022
e056e0d
ci(workflows): add ios artifact release
zoomchan-cxj Nov 9, 2022
5338b0c
ci(workflow): add minimum V8 version test into android build tests
medns Nov 9, 2022
6cf38ad
feat(ci): implement iOS project artifact compare
medns Nov 9, 2022
06d68c3
feat(workflows): iOS build tests add different configurations
medns Nov 10, 2022
97671b7
refactor(ios): use work space to manager projects
ozonelmy Nov 10, 2022
2ac9506
refactor(ios): use work space to manager projects
ozonelmy Nov 11, 2022
64216b7
feat(workflows): remove unnecessary `Cocoapods` installation step
medns Nov 14, 2022
342dcec
feat(workflows): `XCode` project adaptation
medns Nov 14, 2022
041ccd8
refactor(ios): modify project configurations
ozonelmy Nov 14, 2022
1c71440
feat(workflows): change `XCode` project scheme name
medns Nov 15, 2022
8dadbaf
feat(android,ios,js): add getBoundingClientRect method (#2651)
wwwcg Nov 15, 2022
a383407
fix(react,vue): fix getBoundingClientRect errMsg syntax
zoomchan-cxj Nov 15, 2022
d395225
fix(ios): correct hittest when view has animation
wwwcg Nov 11, 2022
63275b6
fix(ios): subviews of animated view cannot be clicked
wwwcg Nov 15, 2022
7306d02
fix(android): edit `getBoundingClientRect` callback format
iPel Nov 15, 2022
7310030
fix(ios): edit `getBoundingClientRect` callback format
wwwcg Nov 15, 2022
9a23bb2
fix(react,vue): change measureInAppWindow error return value
zoomchan-cxj Nov 16, 2022
da6037f
fix(workflows): fix backtrace parsing incorrect problem in crash report
medns Nov 18, 2022
102a5e1
chore(deps): bump loader-utils in /packages/hippy-vue-css-loader
dependabot[bot] Nov 21, 2022
f37e4e7
feat(vue): add whitespace handler config
zoomchan-cxj Nov 21, 2022
f7777ed
feat(v8): heap limit increases considering the old generation capacity
medns Nov 22, 2022
338334d
fix(v8): fix `V8` OOM crash when inspector enable the js debugger
medns Nov 23, 2022
ec4c391
chore(docs): add homepage and README some docs
zoomchan-cxj Nov 25, 2022
f12fade
refactor(ios): set xcode project compatility vertion to xcode 10.0
ozonelmy Nov 28, 2022
b6f51c2
feat(vue): add beforeRenderToNative hook to support computed style
shenchaoran Nov 25, 2022
ffad8f4
fix(core): fix the problem of multi-threading at startup time
churchill-zhang Nov 28, 2022
0bde51b
ci(workflows): adjust the labeling rules
medns Dec 5, 2022
3deea01
chore(ios): set cpp version to c++17
ozonelmy Dec 5, 2022
9f886ac
feat(workflows): add auto-merge labeler in PR
medns Dec 6, 2022
92d0204
ci(workflows): add js release workflow
zoomchan-cxj Dec 6, 2022
40220ee
feat(workflows): add PR review notification
medns Dec 7, 2022
f6c7021
ci(codeowner): change demo path
zoomchan-cxj Dec 7, 2022
fee25b2
fix(core): fix reload bug for inspector
churchill-zhang Dec 7, 2022
10c21a6
ci(workflows): fix js release issue
zoomchan-cxj Dec 7, 2022
4f4035c
feat(android): add `nestedScrollPriority` for `ListView` and `ScrollV…
iPel Dec 7, 2022
a3f6a65
Revert "feat(android): add `nestedScrollPriority` for `ListView` and …
zoomchan-cxj Dec 7, 2022
366bc92
fix(android): nested scroll conflict
iPel Nov 25, 2022
3cde9fa
fix(android): nested scroll conflicts with pull refresh
iPel Dec 2, 2022
6ecf50a
feat(android): add `nestedScrollPriority` for ListView and ScrollView
iPel Dec 7, 2022
520383e
fix(android): update scrollview consumed value
iPel Dec 7, 2022
d300dd3
refactor(js): perf nestedScrollPriority demo & docs (#9)
zoomchan-cxj Dec 7, 2022
272c7a6
ci(workflows): setup node to npm registry
zoomchan-cxj Dec 7, 2022
02b9d1c
fix(ios): animated image is not released when the view is removed
HumanSheep Dec 8, 2022
2138f51
feat(workflows): workflow add `squash-merge` action
medns Dec 8, 2022
65dcf94
feat(workflows): use `Hippy Action Bot` as action executor
medns Dec 8, 2022
dfde115
ci(labeler): add new labels (#2762)
zoomchan-cxj Dec 8, 2022
4af4819
ci(codeowner): change codeowner classificatioin (#2761)
zoomchan-cxj Dec 8, 2022
c9b45f1
Revert "fix(ios): animated image is not released when the view is rem…
HumanSheep Dec 8, 2022
bb14d8a
feat(workflows): optimizing pull request greeting message (#2765)
medns Dec 9, 2022
03b1954
fix(workflows): change workflows bot app key and id (#2768)
medns Dec 9, 2022
8462a97
fix(workflows): fix triage outputs incorrect problem in crash report …
medns Dec 9, 2022
2296264
feat(workflows): integrate `squash-merge` and `rebase-merge` action (…
medns Dec 9, 2022
0802222
fix(workflows): change `pull_request_help_needed` label name
medns Dec 9, 2022
08bb986
fix(ios): avoid animated image multi thread operation crash
wwwcg Dec 9, 2022
2e20455
feat(workflows): add pull request merge guard and update it's action
medns Dec 13, 2022
3a14308
refactor(workflows): refactor pull requests checks approval process
medns Dec 13, 2022
06ecb45
ci(codeowner): change CODEOWNERS classification (#2799)
medns Dec 15, 2022
f058831
fix(workflows): change mentioned user in the PR review notification (…
medns Dec 15, 2022
0197c40
feat(workflows): users cannot perform merge action on their own PRs (…
medns Dec 16, 2022
8d9eeb8
fix(workflows): update Github bot app key and id configuration (#2810)
medns Dec 16, 2022
2ccff55
refactor(ios): perfect copyright notice (#2821)
ozonelmy Dec 21, 2022
5d2abd5
feat(vue-next): add beforeRenderToNative hook (#2775)
shenchaoran Dec 21, 2022
f00a4c8
chore(deps): bump json5 and loader-utils (#2830)
dependabot[bot] Jan 3, 2023
bc01ec1
chore(bump): update loader-utils to 1.4.2
zoomchan-cxj Jan 3, 2023
17ce657
feat(workflows): add regular requested reviewers notification
medns Jan 3, 2023
7fc20c5
chore(bump): update loader-utils to 2.0.4 to fix json5 issue (#2833)
zoomchan-cxj Jan 3, 2023
e3ed30a
feat(workflows): PR review notification add mention user (#2834)
medns Jan 3, 2023
a248bea
chore(example): rebuild examples to update code
zoomchan-cxj Jan 4, 2023
c121ae6
chore(deps): bump json5 from 1.0.1 to 1.0.2
dependabot[bot] Jan 8, 2023
a4289a6
chore(codeowner): change settings.gradle codeowner
zoomchan-cxj Jan 8, 2023
fbe07cf
feat(workflows): PR review notification filter draft PR (#2854)
medns Jan 10, 2023
d3c4c12
fix(core): add handle_scope for v8 exception (#2860)
churchill-zhang Jan 13, 2023
2f7ee5e
feat(workflows): only uses non-merge commits as valid commits (#2862)
medns Jan 13, 2023
156f19a
feat(workflows): add pull requests auto merger
medns Jan 13, 2023
b83aa39
fix(workflows): fix rebase-merge label name
zoomchan-cxj Jan 13, 2023
efbc949
feat(workflows): change review notification schedule
zoomchan-cxj Jan 13, 2023
fc3fa02
fix(workflows): change auto_merger comment message
zoomchan-cxj Jan 13, 2023
5c14df2
style(lint): fix lint errors
pba-cra Jan 16, 2023
56b507d
feat(workflows): use classic PAT instead of Github App Token
medns Jan 16, 2023
1c2f4d3
feat(workflows): add self-hosted runners monitor
medns Jan 16, 2023
38a0056
feat(workflows): skip privilege escalation when conditions are met
medns Jan 30, 2023
f73dbb3
chore(codeowner): add C++ codeowner
zoomchan-cxj Jan 30, 2023
a26d192
refactor(workflows): refactor CodeQL analyses script to save resources
medns Jan 31, 2023
60f648f
feat(workflows): use variables that only exist in pull requests event
medns Jan 31, 2023
a671fde
fix(workflows): fix the workflow exception caused by cancel status
medns Jan 31, 2023
696c71a
perf(workflows): use ubuntu replace macos in order to improve efficiency
medns Jan 31, 2023
9b344b4
feat(workflows): optimize self-hosted runner alarm strategy
medns Jan 31, 2023
3894092
refactor(webrenderer): fix eslint warnings && add build
pba-cra Feb 1, 2023
7c792e9
Merge remote-tracking branch 'origin/feature/hippy-main' into backup/…
pba-cra Feb 1, 2023
0329165
Merge branch 'master' into main
zoomchan-cxj Feb 2, 2023
ea90fde
chore(webrenderer): fix webrenderer build error
pba-cra Feb 2, 2023
7fb7a2c
chore(webrenderer): update build logic and pack.json
pba-cra Feb 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/hippy-react-web/src/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ global.Hippy = {
}
},
};
// @ts-ignore
global.getTurboModule = () => {
warn('getTurboModule is unsupported');
return {};
Expand Down
3 changes: 3 additions & 0 deletions packages/hippy-vue-next/api-extractor.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
},
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-wrong-input-file-type": {
"logLevel": "none"
}
}
}
Expand Down
17 changes: 17 additions & 0 deletions packages/hippy-web-renderer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## 0.0.1

### Added
* initial commit, based on burtonsun's working.

## 0.0.4
### Added
* support gradient text color
* support animation bézier curve

### Fix
* refactor UIManagerModule, change style diff logic, improve performance
* fix stack context error
* fix tint color error
* fix line height error
* fix text numberOfLines no use error

54 changes: 54 additions & 0 deletions packages/hippy-web-renderer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Hippy Web Renderer

> make results based on the `hippy-react` and `hippy-vue` frameworks run to the browser
![Hippy Group](https://img.shields.io/badge/group-Hippy-blue.svg)

## Introduction
`@hippy/web-renderer`is equivalent to the native renderer,make results based on the `hippy-react` and `hippy-vue` frameworks run to the browser。

Keeps the same interface as `hippy-react` and `hippy-vue`

The project is working in progress

## Feature
* Use the same scheme as android and ios,use results based on the `hippy-react` and `hippy-vue` to render。Maintain a high degree of consistency with the native side in terms of mechanism and results
* Support `react` and `vue`
* Results based on the `hippy-react` and `hippy-vue` frameworks,run directly on web、android and ios。

## How to use

```javascript
import { Hippy } from '@hippy/react';
import App from './app';

new Hippy({
appName: 'Demo',
entryPage: App,
silent: false,
}).start();

```

## Limited

Due to differences in browser and native implementations,some feature not support (Javascript can't hack),at the moment developer need self-dispose。

example: change statue bar color。

Hippy is only a UI-Framework, you need to handle such as: url information parsing, and parameters passed to the application。
Supplement front-end components or modules that are equivalent to developer-defined terminal components or modules.

Due to `hippy-react` and `hippy-vue` have more coupling with `global OS parameters` in environment information,so the `OS` must be
`android` or `ios`.Web-Renderer set `OS` value `android`,and all callBack and event is same as android platform

## Wait to do

1. WaterfallView组件补充
2. AnimationSet模块的补充
3. Platform-Localization模块的补充
4. Dynamic-load能力的补充
5. List.rowShouldSticky\bounces\overScrollEnabled\showScrollIndicator\rowShouldSticky属性补充
6. ScrollView.scrollIndicatorInsets\showScrollIndicator\showsHorizontalScrollIndicator\showsVerticalScrollIndicator属性补充
7. Image.capInsets属性补充

51 changes: 51 additions & 0 deletions packages/hippy-web-renderer/README.zh_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Hippy Web Renderer

> 将基于 `hippy-react``hippy-vue`框架开发完成的结果运行到浏览器上
![Hippy Group](https://img.shields.io/badge/group-Hippy-blue.svg)

## 介绍
`@hippy/web-renderer`是与终端渲染层等价的方案,用以将 `hippy-react``hippy-vue`的构建产物运行到浏览器上。
`hippy-react``hippy-vue`保持了一样到接口。
该项目目前还在持续的建设中

## 特性
* 使用更android和ios一样的方案,对`hippy-react``hippy-vue`的产物进行解析并渲染成符合预期的效果。从机制和结果上与native侧保持高度一致性
* 可以同时支持前端的react和vue框架,甚至是未来的其它前端ui框架。
* 使用与android和ios一样的构建产物,无需为web场景单独构建产物。在一些场景下甚至可以替代android或ios的渲染方式,如:高频ui交互的场景。

## 使用方法

```javascript
import { Hippy } from '@hippy/react';
import App from './app';

new Hippy({
appName: 'Demo',
entryPage: App,
silent: false,
}).start();

```

## 限制

因为浏览器和终端的实现有所不同,部分特性无法实现(Javascript 也无法 hack),这就需要开发者进行额外的适配或者在web场景下丢弃某些特性。

如:状态栏的样式颜色修改,锁定屏幕方向以及一些android或ios系统独有的特性如:ios的list子节点滑动删除

hippy的方案是一个ui框架,所以在web场景下需要自己处理如:url信息的解析,参数传递给应用。补充与开发者自定义的终端组件或模块等价的前端组件或模块。

因为 `hippy-react``hippy-vue`有较多的与环境信息中的OS参数耦合的,必须要是android或者是ios。所以Web-Renderer为了让这两个框架能够统一的运行下去,
将环境信息中的OS参数设置成了android,并且所有的参数、事件分发的形式都是按照android的分发标准进行的。

## 待办事宜

1. WaterfallView组件补充
2. AnimationSet模块的补充
3. Platform-Localization模块的补充
4. Dynamic-load能力的补充
5. List.rowShouldSticky\bounces\overScrollEnabled\showScrollIndicator\rowShouldSticky属性补充
6. ScrollView.scrollIndicatorInsets\showScrollIndicator\showsHorizontalScrollIndicator\showsVerticalScrollIndicator属性补充
7. Image.capInsets属性补充

32 changes: 32 additions & 0 deletions packages/hippy-web-renderer/e2e/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Tencent is pleased to support the open source community by making
* Hippy available.
*
* Copyright (C) 2017-2022 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module.exports = {
globals: {
mocha: true,
it: true,
describe: true,
chai: true,
expect: true,
beforeEach: true,
globalThis: true,
snapshot: true,
e2e: true,
},
};
3 changes: 3 additions & 0 deletions packages/hippy-web-renderer/e2e/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
./react/src/spec/*/*.js
./react/src/spec/*.js
index.js
21 changes: 21 additions & 0 deletions packages/hippy-web-renderer/e2e/react/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
1 change: 1 addition & 0 deletions packages/hippy-web-renderer/e2e/react/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
70 changes: 70 additions & 0 deletions packages/hippy-web-renderer/e2e/react/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"name": "hippy-env",
"version": "2.0.0",
"private": true,
"main": "src/main.js",
"webMain": "src/main.web.js",
"author": "OpenHippy Team",
"license": "Apache-2.0",
"description": "Demo app for hippy-react",
"repository": "https://github.com/Tencent/Hippy/tree/master/examples/hippy-react-demo",
"scripts": {
"web:dev": "webpack serve --config ./scripts/hippy-webpack.web-renderer.dev.js"
},
"keywords": [
"Hippy",
"React"
],
"dependencies": {
"@hippy/react": "latest",
"@hippy/react-reconciler": "react17",
"@hippy/react-web": "latest",
"@hippy/rmc-list-view": "latest",
"@hippy/rmc-pull-to-refresh": "latest",
"@hippy/web-renderer": "latest",
"animated-scroll-to": "^2.2.0",
"ejs": "^3.1.8",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router": "~5.1.2",
"react-router-dom": "~5.1.2",
"regenerator-runtime": "^0.13.5",
"swiper": "^6.7.0"
},
"devDependencies": {
"mocha": "^10.1.0",
"parcel": "^2.4.0",
"@babel/core": "^7.12.0",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-proposal-optional-chaining": "^7.10.4",
"@babel/plugin-transform-async-to-generator": "^7.5.0",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/polyfill": "^7.12.0",
"@babel/preset-env": "^7.12.0",
"@babel/preset-react": "^7.9.4",
"@hippy/debug-server-next": "latest",
"@hippy/hippy-dynamic-import-plugin": "^2.0.0",
"@hippy/hippy-hmr-plugin": "^0.1.0",
"@hippy/hippy-react-refresh-webpack-plugin": "^0.5.5",
"@hippy/rejection-tracking-polyfill": "^1.0.0",
"babel-loader": "^8.1.0",
"bezier-easing": "^2.1.0",
"case-sensitive-paths-webpack-plugin": "^2.2.0",
"clean-webpack-plugin": "^4.0.0",
"cross-env-os": "^7.1.1",
"css-loader": "^3.5.2",
"file-loader": "^5.1.0",
"html-webpack-plugin": "^3.2.0",
"react-refresh": "^0.11.0",
"shelljs": "^0.8.5",
"style-loader": "^1.1.4",
"unicode-loader": "^1.0.7",
"url-loader": "^4.0.0",
"webpack": "^4.43.0",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^4.7.1"
}
}
24 changes: 24 additions & 0 deletions packages/hippy-web-renderer/e2e/react/public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title></title>
<style>
*{
margin: 0;
padding: 0;
}
#root {
position: absolute;
top:0;
left:0;
z-index: 1;
}
</style>
</head>
<body>
<div id="root"></div>
<div id="mocha"></div>
</body>
</html>
Loading