[incubator-weex] branch master updated: Refactor: Remove Maven mirror in Aliyun for speed. (#3168)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/master by this push: new 9ba8676 Refactor: Remove Maven mirror in Aliyun for speed. (#3168) 9ba8676 is described below commit 9ba8676aef80706e9eaa1833ed2f53d95782148b Author: YorkShen AuthorDate: Sun Mar 15 12:12:09 2020 +0800 Refactor: Remove Maven mirror in Aliyun for speed. (#3168) 1. Remove Maven mirror in Aliyun for TravisCI speed purpose 2. Update weex-playground to latest. 3. Ugrade support library to 28 --- .travis.yml | 10 +- android/build.gradle | 27 --- weex-playground | 2 +- 3 files changed, 10 insertions(+), 29 deletions(-) diff --git a/.travis.yml b/.travis.yml index cf07b92..ebeb24e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ matrix: jdk: oraclejdk8 android: components: -- android-26 +- android-28 - extra-android-m2repository - env: TEST_SUITE=android ABI=arm64-v8a language: android @@ -24,7 +24,7 @@ matrix: jdk: oraclejdk8 android: components: -- android-26 +- android-28 - extra-android-m2repository - env: TEST_SUITE=android ABI=x86 language: android @@ -32,7 +32,7 @@ matrix: jdk: oraclejdk8 android: components: -- android-26 +- android-28 - extra-android-m2repository - env: TEST_SUITE=android ABI=x86_64 language: android @@ -40,7 +40,7 @@ matrix: jdk: oraclejdk8 android: components: -- android-26 +- android-28 - extra-android-m2repository # static check - env: TEST_SUITE=static_code_analysis OCLINT=true @@ -53,7 +53,7 @@ matrix: jdk: oraclejdk8 android: components: -- android-26 +- android-28 - extra-android-m2repository cache: diff --git a/android/build.gradle b/android/build.gradle index 8898559..8dea6a0 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -19,12 +19,7 @@ buildscript { repositories { google() -maven(){ -url 'https://maven.aliyun.com/repository/google' -} -jcenter(){ -url 'https://maven.aliyun.com/repository/jcenter' -} +jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.3.2' @@ -44,12 +39,7 @@ subprojects { } } google() -maven(){ -url 'https://maven.aliyun.com/repository/google' -} -jcenter(){ -url 'https://maven.aliyun.com/repository/jcenter' -} +jcenter() } buildscript { dependencies { @@ -58,12 +48,7 @@ subprojects { } repositories { google() -maven(){ -url 'https://maven.aliyun.com/repository/google' -} -jcenter(){ -url 'https://maven.aliyun.com/repository/jcenter' -} +jcenter() } } } @@ -71,7 +56,7 @@ ext { compileSdkVersion=28 minSdkVersion=14 targetSdkVersion=28 -supportLibVersion="26.0.2" +supportLibVersion="28.0.0" fastjsonLibVersion="1.1.70.android" //Default value for disableCov is false disableCov = project.hasProperty("disableCov") && disableCov.equals("true") @@ -82,7 +67,3 @@ ext { weexVersion = project.hasProperty('weexVersion') ? project.getProperty('weexVersion') : '0.28.0.1' implementFromWeex = true } - -//task clean(type: Delete) { -//delete rootProject.buildDir -//} diff --git a/weex-playground b/weex-playground index 7fe693d..52756cb 16 --- a/weex-playground +++ b/weex-playground @@ -1 +1 @@ -Subproject commit 7fe693dde0f6710553f08840be785392209c611d +Subproject commit 52756cb4b90f9706b4c5af3e45bacf4bc3821c5f
[incubator-weex-playground] branch master updated: Feature(Android): Upgrade Version of dependency. (#25)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-playground.git The following commit(s) were added to refs/heads/master by this push: new 52756cb Feature(Android): Upgrade Version of dependency. (#25) 52756cb is described below commit 52756cb4b90f9706b4c5af3e45bacf4bc3821c5f Author: YorkShen AuthorDate: Sat Mar 14 22:39:34 2020 +0800 Feature(Android): Upgrade Version of dependency. (#25) * Feature(Android): Upgrade Android Gradle Plugin to 3.6.1, support library to 28.0.0 1. Upgrade Android Gradle Plugin to 3.6.1 2. Upgrade support library to 28.0.0 3. Add x86_64 as ABI 4. Remove maven mirror in aliyun. --- .travis.yml| 4 +- android/.gitignore | 1 + android/build.gradle | 27 ++- android/gradle/wrapper/gradle-wrapper.properties | 3 +- android/gradlew.bat| 84 ++ android/playground/build.gradle| 4 +- .../java/org/apache/weex/update/UpdateService.java | 2 +- 7 files changed, 97 insertions(+), 28 deletions(-) diff --git a/.travis.yml b/.travis.yml index fdc1e26..34205ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ matrix: jdk: oraclejdk8 android: components: -- android-26 +- android-28 - extra-android-m2repository - env: TEST_SUITE=ios language: objective-c @@ -58,7 +58,7 @@ script: echo "The value of hasAndroidFile is ${hasAndroidFile}" if [[ "$hasAndroidFile" =~ "hasAndroidFile" ]]; then cd android - ./gradlew clean assembleRelease --info + ./gradlew clean assembleRelease --quiet || exit 1 fi ;; "ios") diff --git a/android/.gitignore b/android/.gitignore index ffd0c2d..2f99c9f 100644 --- a/android/.gitignore +++ b/android/.gitignore @@ -1,6 +1,7 @@ .gradle .idea local.properties +.classpath *iml playground/src/main/jniLibs build diff --git a/android/build.gradle b/android/build.gradle index 0607938..a46be15 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,39 +2,24 @@ buildscript { repositories { google() -maven(){ -url 'https://maven.aliyun.com/repository/google' -} -jcenter(){ -url 'https://maven.aliyun.com/repository/jcenter' -} +jcenter() } dependencies { -classpath 'com.android.tools.build:gradle:3.5.3' +classpath 'com.android.tools.build:gradle:3.6.1' } } subprojects { repositories { google() -maven(){ -url 'https://maven.aliyun.com/repository/google' -} maven() { url 'http://oss.jfrog.org/oss-snapshot-local/' } -jcenter(){ -url 'https://maven.aliyun.com/repository/jcenter' -} +jcenter() } buildscript { repositories { google() -maven(){ -url 'https://maven.aliyun.com/repository/google' -} -jcenter(){ -url 'https://maven.aliyun.com/repository/jcenter' -} +jcenter() } } } @@ -42,8 +27,8 @@ ext { compileSdkVersion=28 minSdkVersion=14 targetSdkVersion=28 -supportLibVersion="26.0.2" +supportLibVersion="28.0.0" fastjsonLibVersion="1.1.46.android" -weexSdkVersion="0.28.0" +weexSdkVersion="0.29.0.1-SNAPSHOT" implementFromWeex = false } diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 2d4044f..0ebb310 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,5 @@ -#Sat Dec 21 22:48:15 CST 2019 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip diff --git a/android/gradlew.bat b/android/gradlew.bat new file mode 100644 index 000..e95643d --- /dev/null +++ b/android/gradlew.bat @@ -0,0 +1,84 @@ +@if "%DEBUG%" == "" @echo off +@rem ## +@rem +@rem Gradle startup script for Windows +@rem +@rem ## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME
[incubator-weex] branch master updated: Feature(Android): Support x86_64 (#3167)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/master by this push: new a675c3e Feature(Android): Support x86_64 (#3167) a675c3e is described below commit a675c3e151f3fa9339157882c4f44d7452206952 Author: YorkShen AuthorDate: Sat Mar 14 20:55:33 2020 +0800 Feature(Android): Support x86_64 (#3167) --- .travis.yml | 23 +++--- android/README.md| 5 +-- android/sdk/build.gradle | 4 +++ android/sdk/buildSrc/asan.gradle | 2 ++ android/sdk/buildSrc/download_jsc.gradle | 3 +- android/sdk/build_jss_r.sh | 40 weex-playground | 2 +- weex_core/Source/CMakeLists.txt | 2 +- weex_core/Source/android/jsengine/CMakeLists.txt | 5 ++- weex_core/Source/base/CMakeLists.txt | 2 +- weex_core/Source/js_runtime/CMakeLists.txt | 5 ++- weex_core/debug.sh | 13 weex_core/release.sh | 28 - 13 files changed, 39 insertions(+), 95 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6ecd0eb..cf07b92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,6 +34,14 @@ matrix: components: - android-26 - extra-android-m2repository + - env: TEST_SUITE=android ABI=x86_64 +language: android +dist: trusty +jdk: oraclejdk8 +android: + components: +- android-26 +- extra-android-m2repository # static check - env: TEST_SUITE=static_code_analysis OCLINT=true os: osx @@ -126,13 +134,16 @@ script: "android") case $ABI in "armeabi-v7a" ) -GRADLE_ABI="-PsupportArmeabi-v7a=true -PsupportArm64-v8a=false -PsupportX86=false" +GRADLE_ABI="-PsupportArmeabi-v7a=true -PsupportArm64-v8a=false -PsupportX86=false -PsupportX86_64=false" ;; "arm64-v8a" ) -GRADLE_ABI="-PsupportArmeabi-v7a=false -PsupportArm64-v8a=true -PsupportX86=false" +GRADLE_ABI="-PsupportArmeabi-v7a=false -PsupportArm64-v8a=true -PsupportX86=false -PsupportX86_64=false" ;; "x86" ) -GRADLE_ABI="-PsupportArmeabi-v7a=false -PsupportArm64-v8a=false -PsupportX86=true" +GRADLE_ABI="-PsupportArmeabi-v7a=false -PsupportArm64-v8a=false -PsupportX86=true -PsupportX86_64=false" +;; + "x86_64" ) +GRADLE_ABI="-PsupportArmeabi-v7a=false -PsupportArm64-v8a=false -PsupportX86=false -PsupportX86_64=true" ;; "*" ) GRADLE_ABI="" @@ -141,9 +152,11 @@ script: if npm run danger -- ci --dangerfile ./dangerfile-android.js | grep -q "hasAndroidFile" ; then cd android ./gradlew clean assembleRelease --quiet -PbuildRuntimeApi=true ${GRADLE_ABI} -PapachePackageName="false" || exit 1 - ./gradlew assembleRelease --quiet ${GRADLE_ABI} -PbuildRuntimeApi=false -Pjsc_url="https://raw.githubusercontent.com/apache/incubator-weex/release/0.26/android/sdk/weex_sdk-0.26.0.aar; -Paar_name="weex_sdk" -PJSInterpolatorName="JavaScriptCore" -PapachePackageName="false" || exit 1 ./gradlew :weex_sdk:assembleRelease --quiet -PbuildRuntimeApi=true ${GRADLE_ABI} -PapachePackageName="true" || exit 1 - ./gradlew :weex_sdk:assembleRelease --quiet ${GRADLE_ABI} -PbuildRuntimeApi=false -Pjsc_url="https://raw.githubusercontent.com/apache/incubator-weex/release/0.26/android/sdk/weex_sdk-0.26.0.aar; -Paar_name="weex_sdk" -PJSInterpolatorName="JavaScriptCore" -PapachePackageName="true" || exit 1 + if [[ "$ABI" != "x86_64" ]]; then +./gradlew assembleRelease --quiet ${GRADLE_ABI} -PbuildRuntimeApi=false -Pjsc_url="https://raw.githubusercontent.com/apache/incubator-weex/release/0.26/android/sdk/weex_sdk-0.26.0.aar; -Paar_name="weex_sdk" -PJSInterpolatorName="JavaScriptCore" -PapachePackageName="false" || exit 1 +./gradlew :weex_sdk:assembleRelease --quiet ${GRADLE_ABI} -PbuildRuntimeApi=false -Pjsc_url="https://raw.githubusercontent.com/apache/incubator-weex/release/0.26/android/sdk/weex_sdk-0.26.0.aar; -Paar_name="weex_sdk" -PJSInterpolatorName="JavaScriptCore" -PapachePackageName="true" || exit 1 + fi fi
[incubator-weex] branch master updated: T: delete unused code (#3117)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/master by this push: new a9689bd T: delete unused code (#3117) a9689bd is described below commit a9689bd93a6d9f39ab26ae40467ab40dae7e0190 Author: tn AuthorDate: Thu Jan 16 14:20:14 2020 +0800 T: delete unused code (#3117) --- android/sdk/src/main/java/org/apache/weex/performance/WXInstanceApm.java | 1 - 1 file changed, 1 deletion(-) diff --git a/android/sdk/src/main/java/org/apache/weex/performance/WXInstanceApm.java b/android/sdk/src/main/java/org/apache/weex/performance/WXInstanceApm.java index 39d9019..42de1ea 100644 --- a/android/sdk/src/main/java/org/apache/weex/performance/WXInstanceApm.java +++ b/android/sdk/src/main/java/org/apache/weex/performance/WXInstanceApm.java @@ -335,7 +335,6 @@ public class WXInstanceApm { addProperty(KEY_PROPERTIES_ERROR_CODE, VALUE_ERROR_CODE_DEFAULT); addProperty(KEY_PAGE_PROPERTIES_JSLIB_VERSION, WXEnvironment.JS_LIB_SDK_VERSION); addProperty(KEY_PAGE_PROPERTIES_WEEX_VERSION, WXEnvironment.WXSDK_VERSION); -addProperty(KEY_PAGE_PROPERTIES_WEEX_VERSION, WXEnvironment.WXSDK_VERSION); addStats("wxReInitCount", WXBridgeManager.reInitCount); if (null != instance){ addProperty(KEY_PAGE_PROPERTIES_UIKIT_TYPE, instance.getRenderType());
[incubator-weex-loader] branch master updated (d0634d7 -> 83ac55d)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-loader.git. from d0634d7 Merge pull request #82 from cnryb/patch-1 add 83ac55d upload examples (#78) No new revisions were added by this update. Summary of changes: examples/single-vue-to-js-example/README.md| 38 + .../single-vue-to-js-example/build/build-weex.js | 21 ++ .../build/webpack.weex.prod.conf.js| 31 ++ .../single-vue-to-js-example/config/dev.env.js | 6 +++ examples/single-vue-to-js-example/config/index.js | 47 ++ .../single-vue-to-js-example/config/prod.env.js| 3 ++ examples/single-vue-to-js-example/package.json | 20 + .../single-vue-to-js-example/webpack.config.js | 32 +++ 8 files changed, 198 insertions(+) create mode 100644 examples/single-vue-to-js-example/README.md create mode 100644 examples/single-vue-to-js-example/build/build-weex.js create mode 100644 examples/single-vue-to-js-example/build/webpack.weex.prod.conf.js create mode 100644 examples/single-vue-to-js-example/config/dev.env.js create mode 100644 examples/single-vue-to-js-example/config/index.js create mode 100644 examples/single-vue-to-js-example/config/prod.env.js create mode 100644 examples/single-vue-to-js-example/package.json create mode 100644 examples/single-vue-to-js-example/webpack.config.js
[incubator-weex-site] branch master updated: fix 309 (#566)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new a2debf5 fix 309 (#566) a2debf5 is described below commit a2debf5e3788451aa1c3dc567f2b2f40cc6dad34 Author: 任跃兵 AuthorDate: Thu Dec 12 03:15:00 2019 -0600 fix 309 (#566) --- docs/docs/api/js-service.md| 3 ++- docs/zh/docs/api/js-service.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/docs/api/js-service.md b/docs/docs/api/js-service.md index e8d30a6..818bbf7 100644 --- a/docs/docs/api/js-service.md +++ b/docs/docs/api/js-service.md @@ -11,7 +11,8 @@ version: 2.1 v0.9.5+ -JSService and Weex instance are parallel in js runtime. Weex instance's lifecycle will invoke JSService's lifecycle. Currently provide create, refresh, destroy of lifecycle. +JSService and Weex instance are parallel in js runtime. Weex instance's lifecycle will invoke JSService's lifecycle. Currently provide create, refresh, destroy of lifecycle. +JSService is the same as vendor.js in front-end engineer world, it is usually used to move duplicated js function in each page to a global environment. **!!!Important: Improper use of JSService may lead to increased memory usage or global pollution !** diff --git a/docs/zh/docs/api/js-service.md b/docs/zh/docs/api/js-service.md index 4be6958..59e4ff6 100644 --- a/docs/zh/docs/api/js-service.md +++ b/docs/zh/docs/api/js-service.md @@ -11,7 +11,8 @@ version: 2.1 v0.9.5+ -JSService 和 Weex 实例在 JS Runtime 中并行运行。Weex 实例的生命周期可调用 JSService 生命周期。目前提供创建、刷新、销毁生命周期。 +JSService 和 Weex 实例在 JS Runtime 中并行运行。Weex 实例的生命周期可调用 JSService 生命周期。目前提供创建、刷新、销毁生命周期。 +JSService 和前端世界里的 vendor.js 一样,它通常用于将每个页面中的重复js函数移至全局环境。 **重要提醒: JSService 使用不当会导致内存增高或全局污染!**
[incubator-weex-site] branch master updated: Feat update rax docs (#563)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 347348e Feat update rax docs (#563) 347348e is described below commit 347348e5a091e265401ab825edc2014f1c930f74 Author: 亚城 AuthorDate: Fri Dec 6 10:59:39 2019 +0800 Feat update rax docs (#563) * feat: add demos * docs: add menu * feat: add rax logo * feat: add img * feat: remove empty date * docs: 增加 rax 介绍文档与组件文档 * docs: 增加英文文档 * doc: 文档修复 --- docs/.vuepress/components/IndexPage.vue | 2 +- docs/.vuepress/public/vue-rax.png | Bin 120960 -> 163126 bytes docs/docs/components/a.md | 22 +++- docs/docs/components/cell.md| 15 ++- docs/docs/components/div.md | 25 docs/docs/components/image.md | 33 - docs/docs/components/indicator.md | 2 +- docs/docs/components/input.md | 23 +++- docs/docs/components/list.md| 80 docs/docs/components/loading.md | 2 +- docs/docs/components/recycle-list.md| 2 +- docs/docs/components/refresh.md | 63 - docs/docs/components/richtext.md| 2 +- docs/docs/components/scroller.md| 63 - docs/docs/components/slider.md | 48 ++- docs/docs/components/text.md| 24 +++- docs/docs/components/textarea.md| 35 - docs/docs/components/video.md | 25 +++- docs/docs/components/waterfall.md | 92 - docs/docs/components/web.md | 26 +++- docs/guide/front-end-frameworks.md | 6 +- docs/guide/images/vue-rax.png | Bin 120960 -> 162056 bytes docs/zh/docs/components/a.md| 23 +++- docs/zh/docs/components/cell.md | 18 ++- docs/zh/docs/components/div.md | 25 docs/zh/docs/components/image.md| 33 - docs/zh/docs/components/indicator.md| 2 +- docs/zh/docs/components/input.md| 23 +++- docs/zh/docs/components/list.md | 82 +++- docs/zh/docs/components/loading.md | 2 +- docs/zh/docs/components/refresh.md | 65 +- docs/zh/docs/components/richtext.md | 2 +- docs/zh/docs/components/scroller.md | 63 - docs/zh/docs/components/slider.md | 47 ++- docs/zh/docs/components/text.md | 23 +++- docs/zh/docs/components/textarea.md | 35 - docs/zh/docs/components/video.md| 27 +++- docs/zh/docs/components/waterfall.md| 93 +- docs/zh/docs/components/web.md | 26 +++- docs/zh/guide/front-end-frameworks.md | 4 + docs/zh/guide/images/vue-rax.png| Bin 120960 -> 162056 bytes docs/zh/guide/introduction.md | 2 +- docs/zh/guide/use-rax-in-weex.md| 221 43 files changed, 1365 insertions(+), 41 deletions(-) diff --git a/docs/.vuepress/components/IndexPage.vue b/docs/.vuepress/components/IndexPage.vue index 08b4428..224d789 100644 --- a/docs/.vuepress/components/IndexPage.vue +++ b/docs/.vuepress/components/IndexPage.vue @@ -30,7 +30,7 @@ {{weex.charc3Title}} {{weex.charc3Content}} -https://img.alicdn.com/tfs/TB1UrQ4qAvoK1RjSZFNXXcxMVXa-808-1180.png; width="50%" height="100%" /> +https://gw.alicdn.com/tfs/TB1WFkDjkT2gK0jSZFkXXcIQFXa-808-1180.png; width="50%" height="100%" /> diff --git a/docs/.vuepress/public/vue-rax.png b/docs/.vuepress/public/vue-rax.png index 1e6e57e..c10f02e 100644 Binary files a/docs/.vuepress/public/vue-rax.png and b/docs/.vuepress/public/vue-rax.png differ diff --git a/docs/docs/components/a.md b/docs/docs/components/a.md index 87f2dfb..990acd6 100644 --- a/docs/docs/components/a.md +++ b/docs/docs/components/a.md @@ -30,7 +30,7 @@ It's forbidden to add text directly to ``, use [``](./text.html) to wra The execution order of callback function of click and href is **undefined**. Do **not** use click event to do the preprocessing of `href`. ::: -## Examples +## Vue Example ```Html http://emas-ha-remote-log-poc.oss-cn-beijing.aliyuncs.com/eweex/app/biz-docs-com-mod/upload/271ccdca-db41-423d-981c-c7c6751ba479/show_1.js;> @@ -39,3 +39,23 @@ The execution order of callback function of click and href is **undefined**. Do ``` [Demo](http://dotwe.org/vue/3b789771e48be92a70bd682f084b84b5) + +## Rax Example + +`rax-link` is the component `` of rax, which can run in web and weex. + +```jsx +import { createElement, render } from 'rax'; +import Driver from "driver-universal"; +import Link from 'rax-link'; +import Text from 'rax-text'; + +function App() { + return {console.log(e)}}> +
[incubator-weex-site] branch master updated: change qr code (#562)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new f02a8a5 change qr code (#562) f02a8a5 is described below commit f02a8a530f1520a6a22a304b25c136e9a3ac9359 Author: 任跃兵 AuthorDate: Thu Dec 5 16:41:20 2019 +0800 change qr code (#562) --- docs/.vuepress/public/tool-playground-qrcode.png | Bin 20076 -> 1902 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/docs/.vuepress/public/tool-playground-qrcode.png b/docs/.vuepress/public/tool-playground-qrcode.png index bdfd4b2..83540eb 100644 Binary files a/docs/.vuepress/public/tool-playground-qrcode.png and b/docs/.vuepress/public/tool-playground-qrcode.png differ
[incubator-weex-site] branch master updated: 把博客中使用cdn的图转存到GitHub (#560)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 0143a9f 把博客中使用cdn的图转存到GitHub (#560) 0143a9f is described below commit 0143a9faedc352636d59cf04fd092d4fb0bd1b6c Author: 任跃兵 AuthorDate: Mon Dec 2 11:22:15 2019 +0800 把博客中使用cdn的图转存到GitHub (#560) --- ...779052-391a0eb5-2902-4a76-bb7d-ecb79fad40d5.png | Bin 0 -> 3950169 bytes ...850732-b0d52294-a6c6-4fbb-bd08-ee7e2a4b84b8.png | Bin 0 -> 598125 bytes ...896764-72b52689-f4b2-4442-9f0f-9a2e4edb007f.png | Bin 0 -> 500176 bytes ...927448-6af8006c-efa9-4a83-a33e-31ac264e2320.png | Bin 0 -> 165377 bytes ...955583-a020c31d-9e1e-4d5f-8754-ba9b42e04eb6.png | Bin 0 -> 3809104 bytes ...968812-86ca8419-7b4f-4ac1-987a-1cc32049e385.png | Bin 0 -> 4556109 bytes ...815712-c17b4df4-e072-42b7-8c77-560deabf7696.png | Bin 0 -> 129402 bytes ...050649-50116f85-0101-4389-99f5-35f3ef4813d9.png | Bin 0 -> 165241 bytes .../45e36879f4baed04dfbad0382c23dd8a.png | Bin 0 -> 382857 bytes .../ac84ce579b28867aac2e8ba18e40e954.png | Bin 0 -> 325606 bytes .../e5aae2e2c2da360fb6204f64b1e3cd31.png | Bin 0 -> 97954 bytes ...663181-91fc0fd3-8568-42f7-b026-83e56e5f2c7f.png | Bin 0 -> 204364 bytes ...699138-b1bd32d9-8cea-4375-aec2-e23f81d7edd6.png | Bin 0 -> 261853 bytes ...726358-df1c5c8e-8f4a-4c79-9ddd-a9dd2e791132.png | Bin 0 -> 134777 bytes ...745140-2d132467-dc6d-4fd9-ac8a-8acdd6de1a24.png | Bin 0 -> 84438 bytes ...778053-070004cb-8157-466c-846b-5e403c9364e3.png | Bin 0 -> 451500 bytes ...875576-24be9339-cb25-41fc-8b4c-26d74aaf1ddd.png | Bin 0 -> 268101 bytes ...945217-fe2a8501-dfd8-4372-a3e5-b5007e5bced2.png | Bin 0 -> 77832 bytes .../1b94848aaa731b146228090093b5cc92.png | Bin 0 -> 67416 bytes .../22195f7e61b2267f50dc78226d98aff3.png | Bin 0 -> 46590 bytes .../4545bcabcdac57acfe0be1692a8b9cc5.png | Bin 0 -> 191284 bytes .../7d0c65a3a4b79ac3d990dfaa8f203be1.png | Bin 0 -> 205709 bytes .../872298694d6e7f1a311ade626da0f0f8.png | Bin 0 -> 130871 bytes .../937def357b6528b0d78f0e948560e5dc.png | Bin 0 -> 65396 bytes .../950b476fb53468ba2f309b73435a9e15.png | Bin 0 -> 169816 bytes .../965358b8880bc1e1547654ca3f26b79a.png | Bin 0 -> 190839 bytes .../cc6710bafd8edd87a577c72d89a764fb.png | Bin 0 -> 335427 bytes .../f31103153fd160ae4723069f88c61e34.png | Bin 0 -> 213670 bytes docs/blog/ios-weexcore.md | 8 ++-- docs/zh/blog/interaction-optimization.md | 18 - docs/zh/blog/ios-weexcore.md | 10 ++--- docs/zh/blog/weex-auto-test-locating.md| 4 +- docs/zh/blog/weexcore-multiprocess-evolution.md| 20 +- package-lock.json | 41 +++-- 34 files changed, 60 insertions(+), 41 deletions(-) diff --git a/docs/.vuepress/public/blog/interaction-optimization/1532953779052-391a0eb5-2902-4a76-bb7d-ecb79fad40d5.png b/docs/.vuepress/public/blog/interaction-optimization/1532953779052-391a0eb5-2902-4a76-bb7d-ecb79fad40d5.png new file mode 100644 index 000..454184a Binary files /dev/null and b/docs/.vuepress/public/blog/interaction-optimization/1532953779052-391a0eb5-2902-4a76-bb7d-ecb79fad40d5.png differ diff --git a/docs/.vuepress/public/blog/interaction-optimization/1532953850732-b0d52294-a6c6-4fbb-bd08-ee7e2a4b84b8.png b/docs/.vuepress/public/blog/interaction-optimization/1532953850732-b0d52294-a6c6-4fbb-bd08-ee7e2a4b84b8.png new file mode 100644 index 000..8c6d79c Binary files /dev/null and b/docs/.vuepress/public/blog/interaction-optimization/1532953850732-b0d52294-a6c6-4fbb-bd08-ee7e2a4b84b8.png differ diff --git a/docs/.vuepress/public/blog/interaction-optimization/1532953896764-72b52689-f4b2-4442-9f0f-9a2e4edb007f.png b/docs/.vuepress/public/blog/interaction-optimization/1532953896764-72b52689-f4b2-4442-9f0f-9a2e4edb007f.png new file mode 100644 index 000..33dd5fa Binary files /dev/null and b/docs/.vuepress/public/blog/interaction-optimization/1532953896764-72b52689-f4b2-4442-9f0f-9a2e4edb007f.png differ diff --git a/docs/.vuepress/public/blog/interaction-optimization/1532953927448-6af8006c-efa9-4a83-a33e-31ac264e2320.png b/docs/.vuepress/public/blog/interaction-optimization/1532953927448-6af8006c-efa9-4a83-a33e-31ac264e2320.png new file mode 100644 index 000..d5f615c Binary files /dev/null and b/docs/.vuepress/public/blog/interaction-optimization/1532953927448-6af8006c-efa9-4a83-a33e-31ac264e2320.png differ diff --git a/docs/.vuepress/public/blog/interaction-optimization/1532953955583-a020c31d-9e1e-4d5f-8754-ba9b42e04eb6.png b/docs/.vuepress/public/blog/interaction-optimizati
[incubator-weex-site] branch master updated: Add tips about the new jsc (#559)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new a36c208 Add tips about the new jsc (#559) a36c208 is described below commit a36c208f11f31dce0bcc375e858fc74194b9e82d Author: YorkShen AuthorDate: Mon Nov 25 16:28:26 2019 +0800 Add tips about the new jsc (#559) --- docs/download/major_change.md| 9 - docs/zh/download/major_change.md | 9 - 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/download/major_change.md b/docs/download/major_change.md index 7dfc23c..61ac18d 100644 --- a/docs/download/major_change.md +++ b/docs/download/major_change.md @@ -32,4 +32,11 @@ This means users have to bundle a JavaScript Interpreter in their APP to run Wee apply from: 'https://raw.githubusercontent.com/apache/incubator-weex/release/0.28/android/sdk/buildSrc/download_jsc.gradle' -The above code snippet will download and bundle [jsc-android](https://www.npmjs.com/package/jsc-android/v/241213.1.0) of version `241213.1.0`. This is only for demonstration purpose, users always have the freedom of choosing JavaScript Interpreter in their APP. \ No newline at end of file +The above code snippet will download and bundle [jsc-android](https://www.npmjs.com/package/jsc-android/v/241213.1.0) of version `241213.1.0`. This is only for demonstration purpose, users always have the freedom of choosing JavaScript Interpreter in their APP. + +::: tip +1. The **JavaScriptCore Interpreter** included above only supports armeabi-v7a, arm64-v8a, x86. +2. The above script will copy **JavaScriptCore Interpreter** into `project.android.sourceSets.main.jniLibs`. + +If there is any problems in your project when applying the script, please adjust it based on your condition. +::: \ No newline at end of file diff --git a/docs/zh/download/major_change.md b/docs/zh/download/major_change.md index c87f92d..3df7609 100644 --- a/docs/zh/download/major_change.md +++ b/docs/zh/download/major_change.md @@ -32,4 +32,11 @@ apply from: 'https://raw.githubusercontent.com/apache/incubator-weex/release/0.28/android/sdk/buildSrc/download_jsc.gradle' -这个脚本将会下载并内置[jsc-android](https://www.npmjs.com/package/jsc-android/v/241213.1.0)到你的 App 中。上述脚本仅为演示时使用,用户依然有权利在 App 中选择其符合其诉求的 JavaScript 引擎。 \ No newline at end of file +这个脚本将会下载并内置[jsc-android](https://www.npmjs.com/package/jsc-android/v/241213.1.0)到你的 App 中。上述脚本仅为演示时使用,用户依然有权利在 App 中选择其符合其诉求的 JavaScript 引擎。 + +::: tip +1. 上述脚本中引入的 JavaScriptCore Interpreter 只支持 armeabi-v7a, arm64-v8a, x86 三种架构。 +2. 上述脚本将尝试把 JavaScriptCore Interpreter 拷贝至 `project.android.sourceSets.main.jniLibs` 文件夹。 + +若你的工程无法在上述条件下运行起来,请自行调整脚本。 +::: \ No newline at end of file
[incubator-weex-site] branch master updated: row to rows (#555)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new a389605 row to rows (#555) a389605 is described below commit a38960575e79a90713dd938c776d4174c063b72a Author: 任跃兵 AuthorDate: Thu Nov 21 16:10:49 2019 +0800 row to rows (#555) --- docs/docs/components/textarea.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/components/textarea.md b/docs/docs/components/textarea.md index cdd1d21..9843800 100644 --- a/docs/docs/components/textarea.md +++ b/docs/docs/components/textarea.md @@ -10,9 +10,9 @@ No child should be added to a `textarea`. ## Attributes -The `textarea` component supports all the properties of the `input` component. Besides, it support the `row` attributes. +The `textarea` component supports all the properties of the `input` component. Besides, it support the `rows` attributes. -* **row**, number, default is 2. Specify the rows of a textarea. +* **rows**, number, default is 2. Specify the rows of a textarea. ## Styles
[incubator-weex-site] branch master updated (15cebd8 -> 32e4684)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git. from 15cebd8 improve (#554) add 32e4684 fix 332 533 (#551) No new revisions were added by this update. Summary of changes: docs/zh/docs/components/textarea.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
[incubator-weex-site] branch master updated (8745638 -> 15cebd8)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git. from 8745638 fix 375 (#552) add 15cebd8 improve (#554) No new revisions were added by this update. Summary of changes: docs/docs/api/android-apis.md | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-)
[incubator-weex-site] branch master updated (a7a2774 -> 191f991)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git. from a7a2774 Fix spelling issue (#550) add 191f991 remove weex-project.io (#553) No new revisions were added by this update. Summary of changes: README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
[incubator-weex-site] branch master updated (191f991 -> 8745638)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git. from 191f991 remove weex-project.io (#553) add 8745638 fix 375 (#552) No new revisions were added by this update. Summary of changes: docs/zh/docs/api/android-apis.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[incubator-weex-site] branch master updated: Fix spelling issue (#550)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git View the commit online: https://github.com/apache/incubator-weex-site/commit/a7a27746f97ec656a5ae163c24743b7036aa5cab The following commit(s) were added to refs/heads/master by this push: new a7a2774 Fix spelling issue (#550) a7a2774 is described below commit a7a27746f97ec656a5ae163c24743b7036aa5cab Author: YorkShen AuthorDate: Thu Nov 21 10:41:45 2019 +0800 Fix spelling issue (#550) --- docs/zh/download/major_change.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh/download/major_change.md b/docs/zh/download/major_change.md index b65ac82..c87f92d 100644 --- a/docs/zh/download/major_change.md +++ b/docs/zh/download/major_change.md @@ -11,7 +11,7 @@ Java 包名 由于 Weex 在捐献给 ASF(Apache Software Foundation) 前隶属于阿里巴巴集团(淘宝的母公司),因此在 `0.28.0` 之前,Android 代码中的 Java 包名是 `com.taobao.weex` -从 `0.28.0` 之后,Android 代码中的 Java 包名被修改为 `org.apache.weex`。考虑到这个升级会给现有用户来不兼容,weex 提供了 `org.apache.weex:sdk_legacy` 作为[兼容性方案]((#groupid-and-artifactid-in-jcenter)。这个兼容性方案后续可能不再维护,请尽可能的依 `org.apache.weex:sdk` 并将现有代码的包名升级为 `org.apache.weex`。 +从 `0.28.0` 之后,Android 代码中的 Java 包名被修改为 `org.apache.weex`。考虑到这个升级会给现有用户来不兼容,weex 提供了 `org.apache.weex:sdk_legacy` 作为[兼容性方案](#groupid-and-artifactid-in-jcenter)。这个兼容性方案后续可能不再维护,请尽可能的依 `org.apache.weex:sdk` 并将现有代码的包名升级为 `org.apache.weex`。 GroupId and artifactId in JCenter 由于 Weex 在捐献给 ASF(Apache Software Foundation) 前隶属于阿里巴巴集团(淘宝的母公司),因此在 `0.28.0` 之前,Android 代码中的 Java 包名是 `com.taobao.weex`,因此在 `0.28.0` 之前,Weex 在JCenter 上的发布产物为 `com.taobao.android:weex_sdk`
[incubator-weex-site] branch master updated: update version (#549)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git View the commit online: https://github.com/apache/incubator-weex-site/commit/f107cc53d9b994bfdea4cca0ff9e998617e5a61f The following commit(s) were added to refs/heads/master by this push: new f107cc5 update version (#549) f107cc5 is described below commit f107cc53d9b994bfdea4cca0ff9e998617e5a61f Author: 任跃兵 AuthorDate: Thu Nov 21 10:35:28 2019 +0800 update version (#549) --- docs/zh/guide/debug/integrate-devtool-to-android.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/zh/guide/debug/integrate-devtool-to-android.md b/docs/zh/guide/debug/integrate-devtool-to-android.md index 739acd3..f6d05f3 100644 --- a/docs/zh/guide/debug/integrate-devtool-to-android.md +++ b/docs/zh/guide/debug/integrate-devtool-to-android.md @@ -26,7 +26,7 @@ Android Devtools for Apache Weex 能够方便调试 Weex 页面,但此功能 * *Gradle依赖*. ``` dependencies { - compile 'com.taobao.android:weex_inspector:0.18.10' + implementation 'com.taobao.android:weex_inspector:0.24.2.11' } ``` @@ -36,7 +36,7 @@ Android Devtools for Apache Weex 能够方便调试 Weex 页面,但此功能 com.taobao.android weex_inspector -0.18.10 +0.24.2.11 pom ```
[incubator-weex] branch master updated: [Android] support loadMore for horizontalScrollView (#3025)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/master by this push: new 2fa03e5 [Android] support loadMore for horizontalScrollView (#3025) 2fa03e5 is described below commit 2fa03e58d313144772d9e8bee44f64b039c45e20 Author: chen AuthorDate: Wed Nov 20 18:50:29 2019 +0800 [Android] support loadMore for horizontalScrollView (#3025) demo:http://editor.weex.io/p/lucky-chen/scroler-appear/commit/0b489fe4c8e095ed908577ff1f1f62d8 --- .../org/apache/weex/ui/component/WXScroller.java | 32 +++--- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/android/sdk/src/main/java/org/apache/weex/ui/component/WXScroller.java b/android/sdk/src/main/java/org/apache/weex/ui/component/WXScroller.java index d814eb3..52d5c36 100644 --- a/android/sdk/src/main/java/org/apache/weex/ui/component/WXScroller.java +++ b/android/sdk/src/main/java/org/apache/weex/ui/component/WXScroller.java @@ -124,6 +124,7 @@ public class WXScroller extends WXVContainer implements WXScrollViewL private FrameLayout mScrollerView; private int mContentHeight = 0; + private int mContentWidth = 0; private WXStickyHelper stickyHelper; private Handler handler=new Handler(Looper.getMainLooper()); @@ -478,6 +479,7 @@ public class WXScroller extends WXVContainer implements WXScrollViewL @Override public void onScrollChanged(WXHorizontalScrollView scrollView, int x, int y, int oldx, int oldy) { procAppear(x,y,oldx,oldy); + onLoadMore(scrollView,x,y); } }); FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams( @@ -970,7 +972,7 @@ public class WXScroller extends WXVContainer implements WXScrollViewL * @param x the X direction * @param y the Y direction */ - protected void onLoadMore(WXScrollView scrollView, int x, int y) { + protected void onLoadMore(FrameLayout scrollView, int x, int y) { try { String offset = getAttrs().getLoadMoreOffset(); if (TextUtils.isEmpty(offset)) { @@ -978,18 +980,28 @@ public class WXScroller extends WXVContainer implements WXScrollViewL } int offsetInt = (int)WXViewUtils.getRealPxByWidth(Float.parseFloat(offset), getInstance().getInstanceViewPortWidth()); - int contentH = scrollView.getChildAt(0).getHeight(); - int scrollerH = scrollView.getHeight(); - int offScreenY = contentH - y - scrollerH; - if (offScreenY < offsetInt) { -if (WXEnvironment.isApkDebugable()) { - WXLogUtils.d("[WXScroller-onScroll] offScreenY :" + offScreenY); -} -if (mContentHeight != contentH || mForceLoadmoreNextTime) { + if (scrollView instanceof WXHorizontalScrollView){ +int contentWidth = scrollView.getChildAt(0).getWidth(); +int offScreenX = contentWidth-x-scrollView.getWidth(); +if (offScreenX < offsetInt && (mContentWidth != contentWidth || mForceLoadmoreNextTime)){ fireEvent(Constants.Event.LOADMORE); - mContentHeight = contentH; + mContentWidth=contentWidth; mForceLoadmoreNextTime = false; } + }else { +int contentH = scrollView.getChildAt(0).getHeight(); +int scrollerH = scrollView.getHeight(); +int offScreenY = contentH - y - scrollerH; +if (offScreenY < offsetInt) { + if (WXEnvironment.isApkDebugable()) { +WXLogUtils.d("[WXScroller-onScroll] offScreenY :" + offScreenY); + } + if (mContentHeight != contentH || mForceLoadmoreNextTime) { +fireEvent(Constants.Event.LOADMORE); +mContentHeight = contentH; +mForceLoadmoreNextTime = false; + } +} } } catch (Exception e) { WXLogUtils.d("[WXScroller-onScroll] ", e);
[incubator-weex] branch master updated: Update WXDefine.h (#3012)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/master by this push: new 0d993b8 Update WXDefine.h (#3012) 0d993b8 is described below commit 0d993b883c500ec0a33d527cb929454ae500747e Author: kyle <282696...@qq.com> AuthorDate: Mon Nov 11 15:46:34 2019 +0800 Update WXDefine.h (#3012) --- ios/sdk/WeexSDK/Sources/Utility/WXDefine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/sdk/WeexSDK/Sources/Utility/WXDefine.h b/ios/sdk/WeexSDK/Sources/Utility/WXDefine.h index a9b9dcf..c687ab0 100644 --- a/ios/sdk/WeexSDK/Sources/Utility/WXDefine.h +++ b/ios/sdk/WeexSDK/Sources/Utility/WXDefine.h @@ -20,7 +20,7 @@ #ifndef __WX_DEFINE_H__ #define __WX_DEFINE_H__ -#define WX_SDK_VERSION @"0.24.0" +#define WX_SDK_VERSION @"0.28.0" #if defined(__cplusplus) #define WX_EXTERN extern "C" __attribute__((visibility("default")))
[incubator-weex-site] branch master updated: #392 fix information about horizontal view (#546)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new f9abfea #392 fix information about horizontal view (#546) f9abfea is described below commit f9abfea3f7deacd2246afeca4243056313a8a7cc Author: D See Ker AuthorDate: Sun Nov 10 10:05:30 2019 +0100 #392 fix information about horizontal view (#546) --- docs/docs/components/list.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/components/list.md b/docs/docs/components/list.md index 621f60c..2ed3a09 100644 --- a/docs/docs/components/list.md +++ b/docs/docs/components/list.md @@ -2,7 +2,7 @@ ## Summary -The List component, which inspired by Android RecyclerView, is a core component, and it provides the most popular features for using a list of items. which support vertical and horizontal list. +The List component, which inspired by Android RecyclerView, is a core component, and it provides the most popular features for using a list of items. The list component only supports vertical orientation, for horizontal orientation list check [recycle-list](https://weex.apache.org/docs/components/recycle-list.html) component It can provide excellent experience and performance while still maintaining smooth scroll and low memory usage.
[incubator-weex-site] branch master updated: 智联招聘 (#542)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 42dd06e 智联招聘 (#542) 42dd06e is described below commit 42dd06e92839302834f2c6f19756cc573f662822 Author: 任跃兵 AuthorDate: Tue Nov 5 19:52:22 2019 +0800 智联招聘 (#542) --- docs/.vuepress/data/who-is-using-weex.js | 14 ++ 1 file changed, 14 insertions(+) diff --git a/docs/.vuepress/data/who-is-using-weex.js b/docs/.vuepress/data/who-is-using-weex.js index 4afc5a0..416cb29 100644 --- a/docs/.vuepress/data/who-is-using-weex.js +++ b/docs/.vuepress/data/who-is-using-weex.js @@ -297,5 +297,19 @@ export default [ iOS: 'https://itunes.apple.com/cn/app/%E4%BF%A1%E5%A5%BD%E6%9C%89%E7%94%B0/id1439791996?mt=8', android: 'https://a.app.qq.com/o/simple.jsp?pkgname=com.tonysfarm.wx' + }, + { +name_CN: '智联招聘', +name_EN: 'zhilian zhoapin', +icon: 'https://is1-ssl.mzstatic.com/image/thumb/Purple113/v4/6b/4c/26/6b4c267e-8360-16c9-d019-c0b2fe013cad/AppIcon-0-0-1x_U007emarketing-0-0-0-9-0-85-220.png/246x0w.png', +iOS:'https://apps.apple.com/cn/app/id488033535', +android: 'https://sj.qq.com/myapp/detail.htm?apkName=com.zhaopin.social' + }, + { +name_CN: '智联招聘企业版', +name_EN: 'zhilian zhoapin qiye', +icon: 'https://is1-ssl.mzstatic.com/image/thumb/Purple113/v4/0b/14/e3/0b14e352-008d-dcbe-61fd-69f3d4ca3bca/AppIcon-0-0-1x_U007emarketing-0-0-0-5-0-85-220.png/246x0w.png', +iOS:'https://apps.apple.com/cn/app/id1268483731', +android: 'https://sj.qq.com/myapp/detail.htm?apkName=com.zhaopin.ihr' } ];
[incubator-weex-site] branch master updated: Add Blog (#540)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 5e764e4 Add Blog (#540) 5e764e4 is described below commit 5e764e423151eabc44094fa51b455207be7182bf Author: YorkShen AuthorDate: Tue Nov 5 16:10:22 2019 +0800 Add Blog (#540) --- docs/.vuepress/config.js | 1 + docs/.vuepress/public/brand_trademark.png | Bin 0 -> 331962 bytes ...st_important_assest_to_an_open_souce_project.md | 90 + 3 files changed, 91 insertions(+) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index a063d44..bb5a43b 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -434,6 +434,7 @@ module.exports = { ['ios-weexcore.md', 'iOS WeexSDK 接入 WeexCore'], ['weexcore-multiprocess-evolution', 'WeexCore 多进程多线程架构演进'], ['interaction-optimization', '可交互时间的探索和首屏时间的改进之路'], +['what_is_the_most_important_assest_to_an_open_souce_project', '什么是一个开源项目最重要的资产?'], ['weex-third-party-extensions','Weex 三方插件'] ], '/zh/download/':[ diff --git a/docs/.vuepress/public/brand_trademark.png b/docs/.vuepress/public/brand_trademark.png new file mode 100644 index 000..343ab44 Binary files /dev/null and b/docs/.vuepress/public/brand_trademark.png differ diff --git a/docs/zh/blog/what_is_the_most_important_assest_to_an_open_souce_project.md b/docs/zh/blog/what_is_the_most_important_assest_to_an_open_souce_project.md new file mode 100644 index 000..d9514d3 --- /dev/null +++ b/docs/zh/blog/what_is_the_most_important_assest_to_an_open_souce_project.md @@ -0,0 +1,90 @@ +# 引言 +先回答文章标题的问题,我的观点是 **Brand 是开源项目最重要的资产。** + +最近 Weex 在 Apache Incubator 中受到了一些挑战,这些挑战触发了我的一些思考,故写下这篇文章。这篇文章不涉及具体的技术或项目,而是从更高的抽象维度,阐述开源这件事情。 + +# 开源的三重境界 +## 当我们在谈论开源时,我们在谈论什么? +一个开源项目,在概念上可以认为由以下三个部分组成: +* Code +* Community +* Brand + +在大多数情况下,我们在谈论开源项目时,我们是在谈论它的 Code 。然而 Code 实际上是一个开源项目中,最不重要的部分,或者至少可以说,Code 远没有 Community 与 Brand 重要。每个人都可以下载并修改 Code,并且基于其修改进行二次分发与构建。因此,开源项目的 Code 具有 **forkable** 的属性。 + +Community 驱动着一个开源项目的发展,是一个项目的发动机。Community 是一群人,因为各自的原因,聚集在一起,做一个项目。Community 是人的集合,而人会来也会走。如果人走光了,那么就剩下了一个 Dead Community,项目也自然变成了 Dead Project (*当然,一些公司可能在继续维护某些 Dead Project 的内部版本,不在本文讨论范围内*)。因此,社区具有 **changeable** 的属性。 + +Brand 包含项目名称、Logo 和其他一些内容。开源在某种程度上是一门眼球生意,而 Brand 则是做这门生意的手段。因此,Brand 具有**不可 fork, unchangeable** 的属性,这是 Code 与 Community 并不具备的。 + +## 三重境界 +根据开源项目的三个层级,可以列出下面的开源的三种境界: +1. Open Source Code +2. Open Governance Model +3. Open brand (Trademark) + +如果一个项目的代码处于 [OSI Approved License](https://opensource.org/licenses)(如 MIT, Apache, BSD等) 授权下,就可以认为它是开源项目,也就是**第一重境界**。这是 GitHub 上大部分开源项目所处的境界。 + +如果一个项目的 Governance Model 也是开放的(哪怕是 BDFL),那么就可以认为达到了开源的**第二重境界**。Apache Software Foundation, Node.js Foundation, Linux Foundation, Cloud Native Computing Foundation 等开源基金会下的项目,及 Python 等知名项目都可以认为达到了这个境界。(*下文将详细阐述 Governance Model 的概念*)。 + +如果一个项目的 Trademark 是属于某个非营利组织(*如开源基金会*)的话,那么可以认为它达到了第三重境界。Apache Software Foundation 通过将旗下所有顶级项目在美国注册 Trademark 的方式,使其管理的顶级项目均达到了**第三重境界**。相反,一些知名开源项目的 Trademark 属于个人或一家商业公司,*如三星通过控制 Joyent 而持有 Node.js 的 Trademark,Linus 个人则持有 LINUX 的 Tradmark*。 + +# Open Governance Model (开源治理) +Governance Model 是一个开源社区的组织方式,其内容包括项目的管理委员(*PMC*)的权利边界,新成员如何加入项目管理委员会,如何做决策(*是否采取投票机制,是否有否决票*)。常见的 Governance Model 有以下几种: +* [BDFL](https://en.wikipedia.org/wiki/Benevolent_dictator_for_life) +* [Meritocracy](http://oss-watch.ac.uk/resources/meritocraticgovernancemodel) +* [Liberal contribution](https://medium.com/the-node-js-collection/healthy-open-source-967fa8be7951) + +上述这些 Governance Model 是开源项目常采用的模型,这些模型适用不同场景,彼此之间并没有优劣之分。一个项目只要对外公开了其采用的 Governance Model,并践行了这些规则,按照规则选出新的 Committer 并赋予其权利,那么就可以认为这个项目实现了 Open Governance Model,*即使其采用了 BDFL*。 + +除了上述的几种 Governance Model,由某家公司发起的开源项目还可能采用 Cooperate Centric Model,即公司主导。对于这种采取这种模式的项目,如果你不是这家公司的雇员,你对其开源项目的贡献很可能不被重视,你也无法获得 committer 权利并决定项目的发展。通常来说,这不是一种好的 Governance Model,然而很多由公司主导的开源项目会选择这种模式。 + +# Brand & Trademark +## Brand 与 Trademark 的关系 +开源是一门**眼球**生意,开源项目通过 Brand 吸引新用户,并将用户转化为贡献者与 Committer。项目 Brand 越知名,意味着项目的参与者越多,活跃度也越高,演进的速度也越快。 + +![Brand](../../.vuepress/public/brand_trademark.png) + +Trademark 可以看作是 Brand 的实例化。Trademark 一般和某种特定的符号相关联,常见表现形式为名字或 Logo。 + +## Why it matters? +对于开源软件的消费者而言,Trademark 确保了他们可以从期望的软件生产者那里下载到期望的源代码(或二进产物),而不是一些冒名顶替的产物。Trademark 是开源软件的生产者与消费者之间的纽带,确保了开源软件的消费者能下载并他们所期待的产品(源代码或二进制),而不是山寨产品。 + +**谁拥有了 Trademark,谁就能控制开源软件消费者与生产者之间的关系。** + +一般而言,Trademark 受到国家法律保护,而 Brand 并不受法律保护。因此,Trademark 的所有者可以通过法律手段禁止其他人/组织使用其 Trademark. + +**Trademarks are not forkable.** + +开源的代码可以fork,开源的社区经常改变,而 Trademark 是**不可fork**,**不可改变的**。因此,Trademark 是变化中的不变,是一个开源项目最重要的资产。 + +## Open brand +一般来说,一个 Trademark 的拥有者可能有如下形式: +* 个人 +* 一家商业公司 +* 非营利组织 +* 中国慈善法中的民办非企业 +* 美国 501C6,501C
[incubator-weex-site] branch master updated: Update adding blogs (#539)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 0635cb3 Update adding blogs (#539) 0635cb3 is described below commit 0635cb39c03f962a4d94970f305bbe1c18da6f99 Author: YorkShen AuthorDate: Tue Nov 5 16:03:03 2019 +0800 Update adding blogs (#539) --- docs/blog/write-a-blog.md| 4 +++- docs/zh/blog/write-a-blog.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/blog/write-a-blog.md b/docs/blog/write-a-blog.md index 7369c5a..1e67f27 100644 --- a/docs/blog/write-a-blog.md +++ b/docs/blog/write-a-blog.md @@ -1,3 +1,5 @@ This is a platform for Weex developers and users to share. We Weex developers will post blogs about principles of Weex, architecture, best practice, optimization, etc. -Also, it is welcomed for Weex users to share their articles about Weex. Your articles will be read by many other developers. If you want to share, please click "Suggest" button below and contact us. \ No newline at end of file +Also, it is welcomed for Weex users to share their articles about Weex. Your articles will be read by many other developers. + +You can add your own blog by adding markdown files. \ No newline at end of file diff --git a/docs/zh/blog/write-a-blog.md b/docs/zh/blog/write-a-blog.md index 3679c5f..9d58448 100644 --- a/docs/zh/blog/write-a-blog.md +++ b/docs/zh/blog/write-a-blog.md @@ -1,3 +1,5 @@ 这里是 Weex 技术交流与分享的平台,我们会不定期分享一些关于 Weex 原理、架构设计、最佳实践、经典案例、性能优化等方方面面的技术文章。 -同时也非常欢迎 Weex 的使用者们分享自己的心得,将自己的文章挂在这里,可以让众多其它使用者们看到哟。如果你想分享自己的文章,可以点击下面的“提交建议”联系我们。 \ No newline at end of file +同时也非常欢迎 Weex 的使用者们分享自己的心得,将自己的文章挂在这里,可以让众多其它使用者们看到哟。 + +你可以通过编写markdown的方式,来提交自己的博客。 \ No newline at end of file
[incubator-weex-site] branch master updated: Feat add weex demo (#537)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new c70aac7 Feat add weex demo (#537) c70aac7 is described below commit c70aac72263df8f19bd50b7dac933aa5b8137a9b Author: 亚城 AuthorDate: Tue Nov 5 15:51:32 2019 +0800 Feat add weex demo (#537) * feat: add demos * docs: add menu * feat: remove empty date --- docs/.vuepress/components/Code-Demos.vue | 102 docs/.vuepress/config.js | 11 +- docs/.vuepress/data/code-demos.js| 393 +++ docs/community/code-demos.md | 5 + docs/zh/community/code-demos.md | 5 + 5 files changed, 510 insertions(+), 6 deletions(-) diff --git a/docs/.vuepress/components/Code-Demos.vue b/docs/.vuepress/components/Code-Demos.vue new file mode 100644 index 000..4780fbd --- /dev/null +++ b/docs/.vuepress/components/Code-Demos.vue @@ -0,0 +1,102 @@ + + +{{lang === 'en-US' ? 'Code Demos' : '代码示例'}} + + + + + + + {{item.title}} + + + + + + + +import list from '../data/code-demos.js' + +export default { + props: ['lang'], + data() { +return { + list, +} + } +} + + + +.title { + width: 910px; + line-height: 33px; + font-family: PingFangSC-Medium; + font-size: 24px; + color: #373D41; + text-align: center; + margin-top: 78px; + margin-bottom: 20px; +} +.wrap { + width: 970px; + display: flex; + flex-wrap: wrap; +} +.demo { + padding: 20px; + padding-bottom: 0; + margin-bottom: 30px; +} +.demo a:hover{ + text-decoration: none; +} +.demo-pic { + display: block; +} +.demo-name { + text-align: center; + line-height: 17px; + font-size: 12px; + color: #373D41; + margin-top: 12px; +} +.pic-wrap { + position: relative; + box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16); +} +.icons { + opacity: 0; + position: absolute; + left: 0; + right: 0; + bottom: 0; + height: 28px; + border-bottom-left-radius: 15px; + border-bottom-right-radius: 15px; + background-color: rgba(0, 0, 0, 0.5); + display: flex; + transition: all .2s ease,transform .2s ease; +} +.icons > a { + flex: 1; + font-size: 0; + height: 100%; + display: flex; + align-items: center; + justify-content: center; + box-sizing: border-box; +} + +.pic-wrap img { + transition: box-shadow .2s ease,transform .2s ease; +} + +.pic-wrap:hover .icons { + opacity: 1; +} + +.pic-wrap:hover img { + box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16); +} + diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 867c0bb..a063d44 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -236,10 +236,8 @@ module.exports = { ['eeui', 'EEUI Framework'] ], '/community/': [ -[ - "who-is-using-weex", - "Who is using Weex" -], +['code-demos', 'Code Demos'], +['who-is-using-weex', 'Who is using Weex'], ['weex-third-party-extensions', 'Plugins Market'] ], '/blog/': [ @@ -426,8 +424,9 @@ module.exports = { ["eeui", "EEUI 框架"] ], '/zh/community/': [ -['weex-third-party-extensions', '插件市场'], -["who-is-using-weex","谁在使用Weex"], +['code-demos', '代码示例'], +['who-is-using-weex', '谁在使用Weex'], +['weex-third-party-extensions', '插件市场'] ], '/zh/blog/': [ ['write-a-blog', '写一篇博客'], diff --git a/docs/.vuepress/data/code-demos.js b/docs/.vuepress/data/code-demos.js new file mode 100644 index 000..68aca88 --- /dev/null +++ b/docs/.vuepress/data/code-demos.js @@ -0,0 +1,393 @@ +export +default[ + { +"title": "CSS Watermelon", +"imgoss": "https://emas-fase-server.oss-cn-beijing.aliyuncs.com/images/f369e040-3a8e-11e9-9d7b-9fda7038a309TB1RIzDdx6I8KJjy0FgzVXa-540-844.png;, +"labels": "css,style,watermelon", +"prefix": "http://editor.weex.io/p/Hanks10100/css-watermelon;, + }, + { +"title": "Transparent Background", +"imgoss": "https://emas-fase-server.oss-cn-beijing.aliyuncs.com/images/d528d1e0-3a8e-11e9-97dc-7d9ed4675c56TB1CL3nbMDD8KJjy0FdXXcjvXXa-540-844.png;, +"labels": "css,style,transparent", +"prefix": "http://editor.weex.io/p/Hanks10100/transparent-backgrou;, + }, + { +"title": "Design Board", +"imgoss": "https://emas-fase-server.oss-cn-beijing.aliyuncs.com/images/b7a3e790-3a8e-11e9-9d7b-9fda7038a309TB1kU3abRTH8KJjy0FiXXcRsXXa-540-844.png;, +
[incubator-weex-site] branch master updated: fix 489 (#538)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new adf1e77 fix 489 (#538) adf1e77 is described below commit adf1e77635e5ec1e81fa6436b9ac50d8349f77d0 Author: 任跃兵 AuthorDate: Tue Nov 5 14:55:39 2019 +0800 fix 489 (#538) --- docs/zh/guide/use-vue-in-weex.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh/guide/use-vue-in-weex.md b/docs/zh/guide/use-vue-in-weex.md index 8d46239..5de4d38 100644 --- a/docs/zh/guide/use-vue-in-weex.md +++ b/docs/zh/guide/use-vue-in-weex.md @@ -44,7 +44,7 @@ Weex 主要用于编写多页的应用程序,每个页面都对应了原生开 样式表和 CSS 规则是由 Weex js 框架和原生渲染引擎管理的。要实现完整的 CSS 对象模型(CSSOM:CSS Object Model)并支持所有的 CSS 规则是非常困难的,而且没有这个必要。 -出现性能考虑,**Weex 目前只支持单个类选择器,并且只支持 CSS 规则的子集**。详情请参阅 *[通用样式](../docs/styles/common-styles.html)* 与 *[文本样式](../docs/styles/text-styles.html)*。 +出于性能考虑,**Weex 目前只支持单个类选择器,并且只支持 CSS 规则的子集**。详情请参阅 *[通用样式](../docs/styles/common-styles.html)* 与 *[文本样式](../docs/styles/text-styles.html)*。 在 Weex 里, 每一个 Vue 组件的样式都是 *[scoped](https://vue-loader.vuejs.org/zh-cn/features/scoped-css.html)*。
[incubator-weex] branch master updated: Bump serve from 1.4.0 to 7.1.3 (#3000)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/master by this push: new c9c5545 Bump serve from 1.4.0 to 7.1.3 (#3000) c9c5545 is described below commit c9c55458f1793c818a8b874d23670bab0bebe1f7 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Sat Nov 2 11:57:16 2019 +0800 Bump serve from 1.4.0 to 7.1.3 (#3000) Bumps [serve](https://github.com/zeit/serve) from 1.4.0 to 7.1.3. - [Release notes](https://github.com/zeit/serve/releases) - [Commits](https://github.com/zeit/serve/commits/7.1.3) Signed-off-by: dependabot[bot] --- package-lock.json | 430 -- package.json | 2 +- 2 files changed, 222 insertions(+), 210 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4686ebc..3d9777a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -113,6 +113,12 @@ "resolved": "https://registry.npmjs.org/@weex-project/downgrade/-/downgrade-1.1.0.tgz;, "integrity": "sha512-hMWmH/k4xL8f4BPWPi+Bi4p+ufn2xR4cgqGQcjof/CMZHWFATjSPeQmNzjVFz3zUTSt3iXlE482KDrIKaGpjsw==" }, +"@zeit/schemas": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@zeit/schemas/-/schemas-1.1.2.tgz;, + "integrity": "sha512-1KCchM412X/6h1b5XAU3CUe2Teu7duHa6ECkQVa27PmD4UWzciB3oAlElDv4uqAKJFfwprG1eeqwjtmGIQcJcg==", + "dev": true +}, "JSONStream": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.3.tgz;, @@ -401,6 +407,12 @@ } } }, +"arg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/arg/-/arg-2.0.0.tgz;, + "integrity": "sha512-XxNTUzKnz1ctK3ZIcI2XUPlD96wbHP2nGqkPKpvk/HNRlPveYrXIVSTk9m3LcqOgDPg3B1nMvdV/K8wZd7PG4w==", + "dev": true +}, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz;, @@ -1752,9 +1764,9 @@ "dev": true }, "bytes": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-0.1.0.tgz;, - "integrity": "sha1-xXSBIigSbWNp0VdpJahXnbP45aI=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz;, + "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", "dev": true }, "cache-base": { @@ -2226,30 +2238,6 @@ "proto-list": "~1.2.1" } }, -"connect": { - "version": "2.3.9", - "resolved": "https://registry.npmjs.org/connect/-/connect-2.3.9.tgz;, - "integrity": "sha1-TSbdxIXDLloc8bNYVII7RyDSWlI=", - "dev": true, - "requires": { -"bytes": "0.1.0", -"cookie": "0.0.4", -"crc": "0.2.0", -"debug": "*", -"formidable": "1.0.11", -"fresh": "0.1.0", -"qs": "0.4.2", -"send": "0.0.3" - }, - "dependencies": { -"qs": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-0.4.2.tgz;, - "integrity": "sha1-PKxMhh43GoycR3CsI82o3mObjl8=", - "dev": true -} - } -}, "console-browserify": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz;, @@ -2280,12 +2268,6 @@ "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=", "dev": true }, -"cookie": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.0.4.tgz;, - "integrity": "sha1-VFa9R67iZm6sl26oCmEFlASD/pg=", - "dev": true -}, "copy-descriptor": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz;, @@ -2341,12 +2323,6 @@ }
[incubator-weex] branch master updated: Bump cached-path-relative from 1.0.1 to 1.0.2 (#3002)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/master by this push: new 90ed4ce Bump cached-path-relative from 1.0.1 to 1.0.2 (#3002) 90ed4ce is described below commit 90ed4ce7768abcbec478d43bd368c15e9a7f59bc Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Fri Nov 1 17:05:50 2019 +0800 Bump cached-path-relative from 1.0.1 to 1.0.2 (#3002) Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/ashaffer/cached-path-relative/releases) - [Commits](https://github.com/ashaffer/cached-path-relative/commits) Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2f65528..4686ebc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1783,9 +1783,9 @@ } }, "cached-path-relative": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cached-path-relative/-/cached-path-relative-1.0.1.tgz;, - "integrity": "sha1-0JxLUoAKpMB44t2BqGmqyQ0uVOc=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cached-path-relative/-/cached-path-relative-1.0.2.tgz;, + "integrity": "sha512-5r2GqsoEb4qMTTN9J+WzXfjov+hjxT+j3u5K+kIVNIwAd99DLCJE9pBIMP1qVeybV6JiijL385Oz0DcYxfbOIg==", "dev": true }, "caller-path": {
[incubator-weex] branch master updated (947a105 -> e932e0d)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from 947a105 Bump handlebars from 4.0.11 to 4.0.14 (#2998) add e932e0d Bump node.extend from 2.0.0 to 2.0.2 (#3001) No new revisions were added by this update. Summary of changes: package-lock.json | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-)
[incubator-weex] branch master updated: Bump handlebars from 4.0.11 to 4.0.14 (#2998)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/master by this push: new 947a105 Bump handlebars from 4.0.11 to 4.0.14 (#2998) 947a105 is described below commit 947a105b31779f8118108531a5c246b66d936899 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Fri Nov 1 14:14:59 2019 +0800 Bump handlebars from 4.0.11 to 4.0.14 (#2998) Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.11 to 4.0.14. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.0.14/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.11...v4.0.14) Signed-off-by: dependabot[bot] --- package-lock.json | 50 -- 1 file changed, 40 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 48e1b51..d44d0b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5034,24 +5034,54 @@ "dev": true }, "handlebars": { - "version": "4.0.11", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.11.tgz;, - "integrity": "sha1-Ywo13+ApS8KB7a5v/F0yn8eYLcw=", + "version": "4.0.14", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.14.tgz;, + "integrity": "sha512-E7tDoyAA8ilZIV3xDJgl18sX3M8xB9/fMw8+mfW4msLW8jlX97bAnWgT3pmaNXuvzIEgSBMnAHfuXsB2hdzfow==", "dev": true, "requires": { -"async": "^1.4.0", +"async": "^2.5.0", "optimist": "^0.6.1", -"source-map": "^0.4.4", -"uglify-js": "^2.6" +"source-map": "^0.6.1", +"uglify-js": "^3.1.4" }, "dependencies": { +"async": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz;, + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "dev": true, + "requires": { +"lodash": "^4.17.14" + } +}, +"commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz;, + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true, + "optional": true +}, +"lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz;, + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "dev": true +}, "source-map": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz;, - "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz;, + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true +}, +"uglify-js": { + "version": "3.6.5", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.5.tgz;, + "integrity": "sha512-7L3W+Npia1OCr5Blp4/Vw83tK1mu5gnoIURtT1fUVfQ3Kf8WStWV6NJz0fdoBJZls0KlweruRTLVe6XLafmy5g==", "dev": true, + "optional": true, "requires": { -"amdefine": ">=0.0.4" +"commander": "~2.20.3", +"source-map": "~0.6.1" } } }
[incubator-weex] branch master updated (42cb930 -> 3772faa)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from 42cb930 update weex-vue-render badge (#2995) add 3772faa build: change getDeviceHost servePort (#1456) No new revisions were added by this update. Summary of changes: test/scripts/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[incubator-weex] branch master updated: update weex-vue-render badge (#2995)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/master by this push: new 42cb930 update weex-vue-render badge (#2995) 42cb930 is described below commit 42cb930d05fa4e1cc5249de0b9f31db727507650 Author: 任跃兵 AuthorDate: Thu Oct 31 19:53:22 2019 +0800 update weex-vue-render badge (#2995) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 00d92b9..7770d94 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ A framework for building Mobile cross-platform UI. | | -- | | Android | [sdk ![Download](https://api.bintray.com/packages/weex/Android/sdk/images/download.svg)](https://bintray.com/weex/Android/sdk/_latestVersion) Or [sdk_legacy ![Download](https://api.bintray.com/packages/weex/Android/sdk_legacy/images/download.svg)](https://bintray.com/weex/Android/sdk_legacy/_latestVersion) | | iOS | [![Pod version](https://badge.fury.io/co/WeexSDK.svg)](https://cocoapods.org/pods/WeexSDK) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) | -| [Mobile Web](https://github.com/weexteam/vue-render-for-apache-weex) | [![npm version](https://badge.fury.io/js/weex-html5.svg)](https://www.npmjs.com/package/weex-vue-render) | +| [Mobile Web](https://github.com/weexteam/vue-render-for-apache-weex) | [![npm version](https://badge.fury.io/js/weex-vue-render.svg)](https://www.npmjs.com/package/weex-vue-render) | Support Android 4.1 (API 16), iOS 8.0+ and WebKit 534.30+.
[incubator-weex-site] branch master updated: Update URL in websocket. (#534)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 5f8db13 Update URL in websocket. (#534) 5f8db13 is described below commit 5f8db13368aa7ff07e7a5b8c396d254461ab6c6a Author: YorkShen AuthorDate: Thu Oct 31 15:32:09 2019 +0800 Update URL in websocket. (#534) --- docs/docs/modules/websockets.md| 6 +++--- docs/zh/docs/modules/websockets.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/docs/modules/websockets.md b/docs/docs/modules/websockets.md index 7a2d590..d4d7ebc 100644 --- a/docs/docs/modules/websockets.md +++ b/docs/docs/modules/websockets.md @@ -4,9 +4,9 @@ WebSockets is an advanced technology that makes it possible to open an interacti ::: warning iOS and h5 provide webSocket default handle. if you use webSocket in android environment. You should provide custom adapter implementation, source: -- [DefaultWebSocketAdapter.java](https://github.com/apache/incubator-weex/blob/master/android/commons/src/main/java/com/alibaba/weex/commons/adapter/DefaultWebSocketAdapter.java); -- [DefaultWebSocketAdapterFactory.java](https://github.com/apache/incubator-weex/blob/master/android/commons/src/main/java/com/alibaba/weex/commons/adapter/DefaultWebSocketAdapterFactory.java); -- refer: [weex playground](https://github.com/apache/incubator-weex/tree/master/android/playground) +- [DefaultWebSocketAdapter.java](https://github.com/apache/incubator-weex-playground/blob/master/android/commons/src/main/java/org/apache/weex/commons/adapter/DefaultWebSocketAdapter.java); +- [DefaultWebSocketAdapterFactory.java](https://github.com/apache/incubator-weex-playground/blob/master/android/commons/src/main/java/org/apache/weex/commons/adapter/DefaultWebSocketAdapterFactory.java); +- refer: [weex playground](https://github.com/apache/incubator-weex-playground) ::: # API diff --git a/docs/zh/docs/modules/websockets.md b/docs/zh/docs/modules/websockets.md index e4c6141..9b5420a 100644 --- a/docs/zh/docs/modules/websockets.md +++ b/docs/zh/docs/modules/websockets.md @@ -4,9 +4,9 @@ ::: warning 注意 h5 提供 WebSockets 的 protocol 默认实现,iOS 和 Android 需要自定义实现,Android 可参考: -- [DefaultWebSocketAdapter.java](https://github.com/apache/incubator-weex/blob/master/android/commons/src/main/java/com/alibaba/weex/commons/adapter/DefaultWebSocketAdapter.java) -- [DefaultWebSocketAdapterFactory.java](https://github.com/apache/incubator-weex/blob/master/android/commons/src/main/java/com/alibaba/weex/commons/adapter/DefaultWebSocketAdapterFactory.java) -- 集成例子参考 [weex playground](https://github.com/apache/incubator-weex/tree/master/android/playground) +- [DefaultWebSocketAdapter.java](https://github.com/apache/incubator-weex-playground/blob/master/android/commons/src/main/java/org/apache/weex/commons/adapter/DefaultWebSocketAdapter.java) +- [DefaultWebSocketAdapterFactory.java](https://github.com/apache/incubator-weex-playground/blob/master/android/commons/src/main/java/org/apache/weex/commons/adapter/DefaultWebSocketAdapterFactory.java) +- 集成例子参考 [weex playground](https://github.com/apache/incubator-weex-playground) ::: # API
[incubator-weex-site] branch master updated: Reword content about mailing list. (#532)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new ecdbb43 Reword content about mailing list. (#532) ecdbb43 is described below commit ecdbb432923df6d330c1a103c69c820c32397601 Author: YorkShen AuthorDate: Wed Oct 30 20:38:55 2019 +0800 Reword content about mailing list. (#532) --- docs/guide/contribute/how-to-contribute.md| 9 - docs/zh/guide/contribute/how-to-contribute.md | 9 - 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/guide/contribute/how-to-contribute.md b/docs/guide/contribute/how-to-contribute.md index abd86fc..7a6df72 100644 --- a/docs/guide/contribute/how-to-contribute.md +++ b/docs/guide/contribute/how-to-contribute.md @@ -15,10 +15,17 @@ To make an open and friendly community, Weex community adopt [Contributor Covena In Weex community, feature requests, discussions and decisions happen on the mailing list, which is open to the whole world. -`d...@weex.incubator.apache.org` is the mailing list's address. Developers can subscribe this list to know what is happening in weex community and express his/her idea.If you want to subscribe the mailing list, please send an email to [dev-subscr...@weex.incubator.apache.org](mailto:dev-subscr...@weex.incubator.apache.org?subject=%28send%20this%20email%20to%20subscribe%29), shortly afterwards you will receive a confirmation email. Once you reply the confirmation email, the subscription is done. +`d...@weex.incubator.apache.org` is the mailing list's address. Developers can subscribe this list to know what is happening in weex community and express his/her idea. +### Subscribe +If you want to subscribe the mailing list, please send an email to [dev-subscr...@weex.incubator.apache.org](mailto:dev-subscr...@weex.incubator.apache.org?subject=%28send%20this%20email%20to%20subscribe%29), shortly afterwards you will receive a confirmation email. Once you reply the confirmation email, the subscription is done. + +### Unsubscribe If you want to unsubscribe, please send an email to [dev-unsubscr...@weex.incubator.apache.org](mailto:dev-unsubscr...@weex.incubator.apache.org?subject=%28send%20this%20email%20to%20unsubscribe%29) +### View mails. +You can visit [https://mail-archives.apache.org/mod_mbox/weex-dev/](https://mail-archives.apache.org/mod_mbox/weex-dev/) to view all mails in our mailing list, but you still need to subscribe our mailing list if you want to post a new mail or get updated about existing threads. + Read [Apache mailing list](https://apache.org/foundation/mailinglists.html) to have a deeper view of mailing list. ## Members and Governance Model diff --git a/docs/zh/guide/contribute/how-to-contribute.md b/docs/zh/guide/contribute/how-to-contribute.md index 58c5d5b..705d549 100644 --- a/docs/zh/guide/contribute/how-to-contribute.md +++ b/docs/zh/guide/contribute/how-to-contribute.md @@ -13,10 +13,17 @@ Weex 是一个属于 Apache 基金会的开源社区。Weex 社区推崇并遵 在 Apache 社区中,邮件列表是项目内部的主要沟通方式。Weex 作为 Apache 的一个项目,其新特性的讨论、开发流程、未来演进方等事宜会在邮件列表上进行讨论与决策。 -Weex 开发者邮件列表是 "d...@weex.incubator.apache.org",开发者可以通过订阅邮件列表的方式了解到 Weex 最近所发生的事情并表达自己的观点。如果你想订阅 Weex 邮件列表,请发送邮件至[dev-subscr...@weex.incubator.apache.org](mailto:dev-subscr...@weex.incubator.apache.org?subject=%28send%20this%20email%20to%20subscribe%29),之后你会收到一封确认邮件,回复此确认邮件,即完成了 Weex 邮件组的订阅。 +Weex 开发者邮件列表是 "d...@weex.incubator.apache.org",开发者可以通过订阅邮件列表的方式了解到 Weex 最近所发生的事情并表达自己的观点。 +### 订阅 +如果你想订阅 Weex 邮件列表,请发送邮件至[dev-subscr...@weex.incubator.apache.org](mailto:dev-subscr...@weex.incubator.apache.org?subject=%28send%20this%20email%20to%20subscribe%29),之后你会收到一封确认邮件,回复此确认邮件,即完成了 Weex 邮件组的订阅。 + +### 退订 若想退订,可发送邮件到退订[dev-unsubscr...@weex.incubator.apache.org](mailto:dev-unsubscr...@weex.incubator.apache.org?subject=%28send%20this%20email%20to%20unsubscribe%29)。 +### 浏览 +如果你不想订阅,那么通过浏览 [https://mail-archives.apache.org/mod_mbox/weex-dev/](https://mail-archives.apache.org/mod_mbox/weex-dev/),你可以看到邮件列表中的所有内容。但如果你想向邮件列表中发送邮件,你仍需订阅。 + 更多邮件相关事宜,可参考 [Apache Mailing List指南](https://apache.org/foundation/mailinglists.html)。 :::tip
[weex-cli] 01/01: Merge pull request #593 from apache/feature/readme
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/weex-cli.git commit bd6b4c91bda6fd01e06a61d34ca1193e9ce59bd3 Merge: 64bd282 2526b23 Author: YorkShen AuthorDate: Wed Oct 30 14:33:06 2019 +0800 Merge pull request #593 from apache/feature/readme Update readme README.md | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-)
[weex-cli] branch master updated (64bd282 -> bd6b4c9)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/weex-cli.git. from 64bd282 Merge pull request #592 from apache/feature/notice add 2526b23 Update readme new bd6b4c9 Merge pull request #593 from apache/feature/readme The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: README.md | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-)
[weex-cli] branch feature/readme created (now 2526b23)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch feature/readme in repository https://gitbox.apache.org/repos/asf/weex-cli.git. at 2526b23 Update readme This branch includes the following new commits: new 2526b23 Update readme The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[weex-cli] 01/01: Update readme
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch feature/readme in repository https://gitbox.apache.org/repos/asf/weex-cli.git commit 2526b236f23c6ac6cef138151478cf0e19aca773 Author: york.sy AuthorDate: Wed Oct 30 14:31:47 2019 +0800 Update readme --- README.md | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index e3a3592..e3b738f 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,4 @@ To know more detail about the command, you can run: $ weex --help ``` -Also you can see the document [here](https://weex.io/tools/toolkit.html). - -## License - -[MIT](https://github.com/weexteam/weex-toolkit/blob/dev/LICENSE) +Also you can see the document [here](https://weex.io/tools/toolkit.html). \ No newline at end of file
[weex-cli] 01/01: Merge pull request #592 from apache/feature/notice
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/weex-cli.git commit 64bd282e2795c033a141d8f928345e0e32b36cf4 Merge: 7eadde0 3e5252a Author: YorkShen AuthorDate: Wed Oct 30 14:27:51 2019 +0800 Merge pull request #592 from apache/feature/notice Add code_of_conduct, disclamier, notice. CODE_OF_CONDUCT.md | 76 ++ DISCLAIMER | 1 + NOTICE | 5 3 files changed, 82 insertions(+)
[weex-cli] branch master updated (7eadde0 -> 64bd282)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/weex-cli.git. from 7eadde0 feat: replace licenses to Apache License add 3e5252a Add code_of_conduct, disclamier, notice. new 64bd282 Merge pull request #592 from apache/feature/notice The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: CODE_OF_CONDUCT.md | 76 ++ DISCLAIMER | 1 + NOTICE | 5 3 files changed, 82 insertions(+) create mode 100644 CODE_OF_CONDUCT.md create mode 100644 DISCLAIMER create mode 100644 NOTICE
[weex-cli] branch feature/notice created (now 3e5252a)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch feature/notice in repository https://gitbox.apache.org/repos/asf/weex-cli.git. at 3e5252a Add code_of_conduct, disclamier, notice. This branch includes the following new commits: new 3e5252a Add code_of_conduct, disclamier, notice. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[weex-cli] 01/01: Add code_of_conduct, disclamier, notice.
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch feature/notice in repository https://gitbox.apache.org/repos/asf/weex-cli.git commit 3e5252a0cc0a2cc216f39c1df71ac05b887b1347 Author: york.sy AuthorDate: Wed Oct 30 14:21:48 2019 +0800 Add code_of_conduct, disclamier, notice. --- CODE_OF_CONDUCT.md | 76 ++ DISCLAIMER | 1 + NOTICE | 5 3 files changed, 82 insertions(+) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 000..0ce85eb --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,76 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at priv...@weex.incubator.apache.org. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq diff --git a/DISCLAIMER b/DISCLAIMER new file mode 100644 index 000..f688a3b --- /dev/null +++ b/DISCLAIMER @@ -0,0 +1 @@ +Apache Weex is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project ha [...] \ No newline at end of file diff --git a/NOTICE b/NOTICE new file mode 100644 index 000..ea6b3ac --- /dev/null +++ b/NOTICE @@ -0,0 +1,5 @@ +Apache Weex (Incubating) +Copyright 2019 The Apache Software Foundation + +This product includes software
[incubator-weex-site] branch master updated: fix 348 (#531)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new cebb1bd fix 348 (#531) cebb1bd is described below commit cebb1bdb96a56018674130bec8be720ab02e47bb Author: 任跃兵 AuthorDate: Wed Oct 30 14:16:34 2019 +0800 fix 348 (#531) --- docs/zh/guide/extend/extend-ios.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh/guide/extend/extend-ios.md b/docs/zh/guide/extend/extend-ios.md index c2c71a6..81f4e75 100644 --- a/docs/zh/guide/extend/extend-ios.md +++ b/docs/zh/guide/extend/extend-ios.md @@ -36,7 +36,7 @@ console.log(value); 到此,我们已经完成了一个简单的 module 方法的封装,在 JS 里使用方法如下: ```Javascript -weex.requireModule("event").showParams("hello Weex) +weex.requireModule("event").showParams("hello Weex") ``` Module 进阶
[weex-loader] branch master updated (83d3767 -> 060c47d)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/weex-loader.git. from 83d3767 change the license to Apache-2.0 (#80) add c341e6a Add disclaimer, code_of_conduct and notice new 060c47d Merge pull request #81 from apache/feature/license The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: CODE_OF_CONDUCT.md | 76 ++ DISCLAIMER | 1 + LICENSE| 2 +- NOTICE | 5 4 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 CODE_OF_CONDUCT.md create mode 100644 DISCLAIMER create mode 100644 NOTICE
[weex-loader] 01/01: Merge pull request #81 from apache/feature/license
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/weex-loader.git commit 060c47ddb5fa1c1620b886555e630be60cbc890b Merge: 83d3767 c341e6a Author: YorkShen AuthorDate: Wed Oct 30 14:14:07 2019 +0800 Merge pull request #81 from apache/feature/license Add disclaimer, code_of_conduct and notice CODE_OF_CONDUCT.md | 76 ++ DISCLAIMER | 1 + LICENSE| 2 +- NOTICE | 5 4 files changed, 83 insertions(+), 1 deletion(-)
[weex-loader] branch feature/license created (now c341e6a)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch feature/license in repository https://gitbox.apache.org/repos/asf/weex-loader.git. at c341e6a Add disclaimer, code_of_conduct and notice This branch includes the following new commits: new c341e6a Add disclaimer, code_of_conduct and notice The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[weex-loader] 01/01: Add disclaimer, code_of_conduct and notice
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch feature/license in repository https://gitbox.apache.org/repos/asf/weex-loader.git commit c341e6a6f45163d41ab25c9fefbbd56c1356c5de Author: york.sy AuthorDate: Wed Oct 30 14:09:29 2019 +0800 Add disclaimer, code_of_conduct and notice --- CODE_OF_CONDUCT.md | 76 ++ DISCLAIMER | 1 + LICENSE| 2 +- NOTICE | 5 4 files changed, 83 insertions(+), 1 deletion(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 000..0ce85eb --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,76 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at priv...@weex.incubator.apache.org. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq diff --git a/DISCLAIMER b/DISCLAIMER new file mode 100644 index 000..f688a3b --- /dev/null +++ b/DISCLAIMER @@ -0,0 +1 @@ +Apache Weex is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project ha [...] \ No newline at end of file diff --git a/LICENSE b/LICENSE index cd76146..95c5a1c 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice
[incubator-weex-playground] 01/01: Add disclaimer and other things
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch feature/disclaimer in repository https://gitbox.apache.org/repos/asf/incubator-weex-playground.git commit e478d855bc33b7d2159d2093d51eac47cbb00123 Author: york.sy AuthorDate: Wed Oct 30 11:00:07 2019 +0800 Add disclaimer and other things --- CODE_OF_CONDUCT.md | 76 ++ DISCLAIMER | 1 + NOTICE | 5 3 files changed, 82 insertions(+) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 000..0ce85eb --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,76 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at priv...@weex.incubator.apache.org. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq diff --git a/DISCLAIMER b/DISCLAIMER new file mode 100644 index 000..f688a3b --- /dev/null +++ b/DISCLAIMER @@ -0,0 +1 @@ +Apache Weex is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project ha [...] \ No newline at end of file diff --git a/NOTICE b/NOTICE new file mode 100644 index 000..ea6b3ac --- /dev/null +++ b/NOTICE @@ -0,0 +1,5 @@ +Apache Weex (Incubating) +Copyright 2019 The Apache Software Foundation + +This product includes
[incubator-weex-playground] branch feature/disclaimer created (now e478d85)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch feature/disclaimer in repository https://gitbox.apache.org/repos/asf/incubator-weex-playground.git. at e478d85 Add disclaimer and other things This branch includes the following new commits: new e478d85 Add disclaimer and other things The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[incubator-weex-playground] branch master updated: Add disclaimer and other things (#19)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-playground.git The following commit(s) were added to refs/heads/master by this push: new 75d1051 Add disclaimer and other things (#19) 75d1051 is described below commit 75d10519cf4d05a2d133b07930aee3612f0cba3f Author: YorkShen AuthorDate: Wed Oct 30 11:02:21 2019 +0800 Add disclaimer and other things (#19) --- CODE_OF_CONDUCT.md | 76 ++ DISCLAIMER | 1 + NOTICE | 5 3 files changed, 82 insertions(+) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 000..0ce85eb --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,76 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at priv...@weex.incubator.apache.org. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq diff --git a/DISCLAIMER b/DISCLAIMER new file mode 100644 index 000..f688a3b --- /dev/null +++ b/DISCLAIMER @@ -0,0 +1 @@ +Apache Weex is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project ha [...] \ No newline at end of file diff --git a/NOTICE b/NOTICE new file mode 100644 index 000
[incubator-weex-site] branch master updated: Update package-lock.json (#530)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 9cd4ecc Update package-lock.json (#530) 9cd4ecc is described below commit 9cd4ecc02da1be9e2f5b1b0a1bad82466fec8bb5 Author: YorkShen AuthorDate: Wed Oct 30 10:38:02 2019 +0800 Update package-lock.json (#530) --- package-lock.json | 41 +++-- 1 file changed, 11 insertions(+), 30 deletions(-) diff --git a/package-lock.json b/package-lock.json index d7f6aa8..21402db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4878,8 +4878,7 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "aproba": { "version": "1.2.0", @@ -4900,14 +4899,12 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, - "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -4922,20 +4919,17 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "core-util-is": { "version": "1.0.2", @@ -5052,8 +5046,7 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "ini": { "version": "1.3.5", @@ -5065,7 +5058,6 @@ "version": "1.0.0", "bundled": true, "dev": true, - "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -5080,7 +5072,6 @@ "version": "3.0.4", "bundled": true, "dev": true, - "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -5088,14 +5079,12 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "minipass": { "version": "2.3.5", "bundled": true, "dev": true, - "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -5114,7 +5103,6 @@ "version": "0.5.1", "bundled": true, "dev": true, - "optional": true, "requires": { "minimist": "0.0.8" } @@ -5195,8 +5183,7 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "object-assign": { "version": "4.1.1", @@ -5208,7 +5195,6 @@ "version": "1.4.0", "bundled": true, "dev": true, - "optional": true, "requires": { "wrappy": "1" } @@ -5294,8 +5280,7 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "safer-buffer": { "version": "2.1.2", @@ -5331,7 +5316,6 @@ "version": "1.0.2", "bundled": true, "dev": true, - "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -5351,7 +5335,6 @@ "version": "3.0.1", "bundled": true, "dev": true, - "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -5395,14 +5378,12 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "yallist": { "version": "3.0.3", "bundled": true, - "dev": true, - "optional": true + "dev": true } } },
[incubator-weex-site] branch master updated: Bump axios from 0.18.1 to 0.19.0 (#526)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new dc7bc7c Bump axios from 0.18.1 to 0.19.0 (#526) dc7bc7c is described below commit dc7bc7c987f9c6e1096dff9c2328f3cb82ac3302 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Wed Oct 30 10:27:48 2019 +0800 Bump axios from 0.18.1 to 0.19.0 (#526) Bumps [axios](https://github.com/axios/axios) from 0.18.1 to 0.19.0. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v0.18.1...v0.19.0) Signed-off-by: dependabot[bot] --- package-lock.json | 47 +-- package.json | 2 +- 2 files changed, 34 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3209aac..eb656cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1976,9 +1976,9 @@ "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" }, "axios": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.1.tgz;, - "integrity": "sha512-0BfJq4NSfQXd+SkFdrvFbG7addhYSBA2mQwISr46pD6E5iqkWg02RAs8vyTT/j0RTnoYmeXauBuSv1qKwR179g==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.19.0.tgz;, + "integrity": "sha512-1uvKqKQta3KBxIz14F2v06AEHZ/dIoeKfbTRkK1E5oqjDnuEerLmYTgJB5AiQZHJcljpg1TuRzdjDR06qNk0DQ==", "requires": { "follow-redirects": "1.5.10", "is-buffer": "^2.0.2" @@ -4886,7 +4886,8 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -4907,12 +4908,14 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -4927,17 +4930,20 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -5054,7 +5060,8 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -5066,6 +5073,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -5080,6 +5088,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -5087,12 +5096,14 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true +
[incubator-weex-site] branch master updated: Bump lodash from 4.17.11 to 4.17.15 (#519)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 2507a84 Bump lodash from 4.17.11 to 4.17.15 (#519) 2507a84 is described below commit 2507a849fe381dac1865b2fe4313d22f79047486 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Wed Oct 30 10:28:12 2019 +0800 Bump lodash from 4.17.11 to 4.17.15 (#519) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15) Signed-off-by: dependabot[bot] --- package-lock.json | 22 +++--- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3f115d5..32a1688 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1910,14 +1910,6 @@ "dev": true, "requires": { "lodash": "^4.17.14" - }, - "dependencies": { -"lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz;, - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", - "dev": true -} } }, "async-each": { @@ -6796,9 +6788,9 @@ } }, "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz;, - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz;, + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" }, "lodash._reinterpolate": { "version": "3.0.0", @@ -13023,14 +13015,6 @@ "dev": true, "requires": { "lodash": "^4.17.15" - }, - "dependencies": { -"lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz;, - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", - "dev": true -} } }, "webpack-serve": {
[incubator-weex-site] branch master updated (dc7bc7c -> d7213fc)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git. from dc7bc7c Bump axios from 0.18.1 to 0.19.0 (#526) add d7213fc Bump marked from 0.6.3 to 0.7.0 (#525) No new revisions were added by this update. Summary of changes: package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
[incubator-weex-site] branch master updated: Bump lodash.template from 4.4.0 to 4.5.0 (#520)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 79dac0b Bump lodash.template from 4.4.0 to 4.5.0 (#520) 79dac0b is described below commit 79dac0bb68ca66ce28b8a7f8df91114dc9db8b19 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Wed Oct 30 10:28:17 2019 +0800 Bump lodash.template from 4.4.0 to 4.5.0 (#520) Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0) Signed-off-by: dependabot[bot] --- package-lock.json | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 32a1688..d7f6aa8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6822,12 +6822,12 @@ "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=" }, "lodash.template": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.4.0.tgz;, - "integrity": "sha1-5zoDhcg1VZF0bgILmWecaQ5o+6A=", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz;, + "integrity": "sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==", "dev": true, "requires": { -"lodash._reinterpolate": "~3.0.0", +"lodash._reinterpolate": "^3.0.0", "lodash.templatesettings": "^4.0.0" } },
[incubator-weex-site] branch master updated: Add license and other files. (#529)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 84f0ca1 Add license and other files. (#529) 84f0ca1 is described below commit 84f0ca1436df83619ed6c56148d5be1acc8fcf1d Author: YorkShen AuthorDate: Wed Oct 30 10:26:40 2019 +0800 Add license and other files. (#529) --- CODE_OF_CONDUCT.md | 76 DISCLAIMER | 1 + LICENSE| 202 + NOTICE | 5 ++ 4 files changed, 284 insertions(+) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 000..0ce85eb --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,76 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at priv...@weex.incubator.apache.org. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq diff --git a/DISCLAIMER b/DISCLAIMER new file mode 100644 index 000..f688a3b --- /dev/null +++ b/DISCLAIMER @@ -0,0 +1 @@ +Apache Weex is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project ha [...] \ No newline at end of file diff --git a/LICENSE b
[incubator-weex-site] branch master updated (9b3a32e -> 6ce1a64)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git. from 9b3a32e Remove unused files. (#527) add 6ce1a64 修复text-align (#528) No new revisions were added by this update. Summary of changes: docs/zh/docs/styles/text-styles.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
[incubator-weex-site] branch master updated (124a025 -> e7ea297)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git. from 124a025 Add publishing scripts. (#522) add e7ea297 Update version in package.json (#524) No new revisions were added by this update. Summary of changes: README.md | 2 +- package-lock.json | 50 -- package.json | 4 ++-- 3 files changed, 35 insertions(+), 21 deletions(-)
[incubator-weex-site] branch master updated: Add publishing scripts. (#522)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 124a025 Add publishing scripts. (#522) 124a025 is described below commit 124a025ec8032be43f7f770da41f43ebfcaea8f2 Author: YorkShen AuthorDate: Tue Oct 29 18:10:21 2019 +0800 Add publishing scripts. (#522) Committers can deploy the website by executing `scripts/publish.sh`. --- README.md | 25 +- docs/.vuepress/config.js | 122 ++- docs/.vuepress/data/lang-en.js| 19 + docs/.vuepress/data/lang-zh.js| 19 + docs/.vuepress/enhanceApp.js | 22 + package-lock.json | 1601 ++--- package.json | 21 +- scripts/generate-htaccess-file.js | 76 ++ scripts/generate-redirect-html.js | 40 + scripts/publish.sh| 25 + 10 files changed, 1305 insertions(+), 665 deletions(-) diff --git a/README.md b/README.md index c6564ac..a187b66 100644 --- a/README.md +++ b/README.md @@ -7,20 +7,41 @@ This is the source code of Weex official website. ## Develop +### Install First you should install the [Node.js](https://nodejs.org/), and install dependencies: ```bash npm install ``` -After that, you can start a web server to preview the website on your local machine. +### Develop ```bash -npm run dev +npm start ``` It will start a web server at `http://localhost:8080`. The pages will be updated automatically once you save the corresponding source file. +### Package + +``` +npm run build +``` + +This will generate static files for publishing. The files are located in `docs/.vuepress/dist/` + +### Deploy + +``` +scripts/publish.sh +``` + +Run the above script to deploy the website. This script will add all files in `docs/.vuepress/dist/` to `asf-site` branch, make a git commit and publish to the remote. + +After executing, `https://weex.apache.org/` will be updated automatically. If you're in China, you will need to wait several hours or one day before the CDN cache refreshing. + +**The above scripts only works for committers, if you are not a committer, then you don't have the privilege to do the `git push`*. + ## Contribute The documents are written in Markdown format located in the `docs` folder. Feel free to send pull requests! diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 3ac2b1d..867c0bb 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -1,6 +1,57 @@ module.exports = { title: 'WEEX', description: 'Weex', + "head": [ +[ + "link", + { +"rel": "icon", +"href": "//gw.alicdn.com/tps/TB1XNqxPXcSXVXX-64-63.png" + } +], +[ + "script", + { +"src": "//g.alicdn.com/alilog/mlog/aplus_v2.js" + } +], +[ + "meta", + { +"name": "data-spm", +"dataSpmProtocol": "i", +"content": "a2c7j" + } +], +[ + "meta", + { +"name": "aplus-ajax", +"content": "chksum" + } +], +[ + "meta", + { +"name": "aplus-waiting", +"content": "MAN" + } +], +[ + "meta", + { +"name": "google-site-verification", +"content": "FbH8DPHpxdDJlfkKLKXuXWOu69DI8ZRRP8O2Phg8UKw" + } +], +[ + "meta", + { +"name": "baidu-site-verification", +"content": "WRr1iWvsYK" + } +] + ], locales: { '/': { lang: 'en-US' @@ -10,21 +61,26 @@ module.exports = { } }, themeConfig: { -repo: 'apache/incubator-weex-site', -docsRepo: 'apache/incubator-weex-site', -docsBranch: 'master', -version: 'v0.24', -versionLink: '/download/download.html', -logo: 'https://img.alicdn.com/tfs/TB1WtVjogHqK1RjSZFgXXa7JXXa-78-39.svg', +"spm": "a2c7j", +"repo": "apache/incubator-weex", +"docsRepo": "apache/incubator-weex-site", +"docsDir": "docs", +"docsBranch": "master", +"editLinks": true, +"version": "v0.28", +"versionLink": "/download/download.html", +"logo": "/l...@2x.svg", +"search": false, locales: { '/': { -selectText: 'Languages', -label: 'English', -lastUpdated: 'L
[incubator-weex-site] branch master updated: Update invalid URLs (#521)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 7ed8a36 Update invalid URLs (#521) 7ed8a36 is described below commit 7ed8a36d81bf0557c1ec07b0dc85a4eb2f1e29bb Author: YorkShen AuthorDate: Tue Oct 29 17:52:28 2019 +0800 Update invalid URLs (#521) --- .gitignore| 1 + _config.yml | 4 ++-- docs/.vuepress/data/redirect.json | 8 docs/docs/modules/console-log.md | 2 +- docs/guide/develop/create-a-new-app.md| 2 +- docs/guide/introduction.md| 2 +- docs/zh/docs/modules/console-log.md | 2 +- docs/zh/guide/contribute/how-to-contribute.md | 4 ++-- docs/zh/guide/debug/debug.md | 2 +- docs/zh/guide/develop/create-a-new-app.md | 2 +- docs/zh/guide/introduction.md | 2 +- 11 files changed, 16 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 05cb898..4218649 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ bin/ # Vue Press docs/.vuepress/dist/ +.deploy_git \ No newline at end of file diff --git a/_config.yml b/_config.yml index c79cf66..e66a843 100644 --- a/_config.yml +++ b/_config.yml @@ -435,7 +435,7 @@ alias: cn/references/advanced/extend-to-jsfm.html: cn/guide/extend-js-framework.html cn/references/advanced/integrate-devtool-to-android.html: cn/guide/integrate-devtool-to-android.html cn/references/advanced/integrate-devtool-to-ios.html: cn/guide/integrate-devtool-to-ios.html - cn/playground.html: cn/tools/playground.html - cn/faq.html: cn/wiki/faq.html + cn/playground.html: cn/guide/playground.html + cn/faq.html: cn/guide/contribute/how-to-contribute.html diff --git a/docs/.vuepress/data/redirect.json b/docs/.vuepress/data/redirect.json index 6af3eb5..544f336 100644 --- a/docs/.vuepress/data/redirect.json +++ b/docs/.vuepress/data/redirect.json @@ -4,8 +4,8 @@ "/wiki/": "/guide/introduction.html", "/cn/wiki/": "/zh/guide/introduction.html", "/cn": "/zh/", - "/faq.html": "/guide/contribute/bug-report-guidelines.html", - "/cn/faq.html": "/zh/guide/contribute/bug-report-guidelines.html", + "/faq.html": "/guide/contribute/how-to-contribute.html", + "/cn/faq.html": "/zh/guide/contribute/how-to-contribute.html", "/releasenote.html": "/download/download.html", "/cn/releasenote.html": "/zh/download/download.html", "/contributing.html": "/guide/contribute/contribute-code.html", @@ -107,8 +107,8 @@ "/cn/references/ios-apis.html": "/zh/docs/api/ios-apis.html", "/references/android-apis.html": "/docs/api/android-apis.html", "/cn/references/android-apis.html": "/zh/docs/api/android-apis.html", - "/bug-report-guidelines.html": "/guide/contribute/bug-report-guidelines.html", - "/cn/bug-report-guidelines.html": "/zh/guide/contribute/bug-report-guidelines.html", + "/bug-report-guidelines.html": "/guide/contribute/how-to-contribute.html", + "/cn/bug-report-guidelines.html": "/zh/guide/contribute/how-to-contribute.html", "/wiki/css-units.html": "/docs/styles/css-units.html", "/cn/wiki/css-units.html": "/zh/docs/styles/css-units.html", "/wiki/color-name.html": "/docs/styles/color-name.html", diff --git a/docs/docs/modules/console-log.md b/docs/docs/modules/console-log.md index af43402..dcd268a 100644 --- a/docs/docs/modules/console-log.md +++ b/docs/docs/modules/console-log.md @@ -16,4 +16,4 @@ Console-log module is used to force redirect all Weex logs to console. Scan to open page [Log Switch](http://editor.weex.io/vue/eb6d6b27563608112a655b63ade638f0) and select log level. -On iOS, connect your device to Mac, open XCode->Window->Devices and Simulators,Open Console. Filter using "". \ No newline at end of file +On iOS, connect your device to Mac, open XCode->Window->Devices and Simulators,Open Console. Filter using `Weex`. \ No newline at end of file diff --git a/docs/guide/develop/create-a-new-app.md b/docs/guide/develop/create-a-new-app.md index a009d8e..7b6b117 100644 --- a/docs/guide/develop/create-a-new-app.md +++ b/docs/guide/develop/create-a-new-app.md @@ -41,7 +41,7 @@ npm start ![Preview](../../guide/images/toolkit-preview.png) -Additionally, you can open `http://localhost:8081/web/preview.html` to preview the rendered result on the web in an iframe. You can also scan the QR code gene
[incubator-weex-site] branch master updated: Add theme (#516)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 679bc59 Add theme (#516) 679bc59 is described below commit 679bc5968ab444c103c223c723360e2549ed50ac Author: YorkShen AuthorDate: Tue Oct 29 16:12:17 2019 +0800 Add theme (#516) --- docs/.vuepress/config.js | 1 - docs/.vuepress/theme/Layout.vue| 217 docs/.vuepress/theme/src/AlgoliaSearchBox.vue | 140 docs/.vuepress/theme/src/DropdownLink.vue | 181 ++ docs/.vuepress/theme/src/DropdownTransition.vue| 33 ++ docs/.vuepress/theme/src/Home.vue | 161 + docs/.vuepress/theme/src/License.vue | 170 ++ docs/.vuepress/theme/src/NavLink.vue | 49 +++ docs/.vuepress/theme/src/NavLinks.vue | 115 +++ docs/.vuepress/theme/src/Navbar.vue| 130 docs/.vuepress/theme/src/NotFound.vue | 26 ++ docs/.vuepress/theme/src/Page.vue | 365 + docs/.vuepress/theme/src/SWUpdatePopup.vue | 85 + docs/.vuepress/theme/src/SearchBox.vue | 235 + docs/.vuepress/theme/src/Sidebar.vue | 152 + docs/.vuepress/theme/src/SidebarButton.vue | 28 ++ docs/.vuepress/theme/src/SidebarGroup.vue | 77 + docs/.vuepress/theme/src/SidebarLink.vue | 91 + docs/.vuepress/theme/src/github.svg| 18 + docs/.vuepress/theme/src/search.svg| 1 + docs/.vuepress/theme/src/styles/arrow.styl | 22 ++ docs/.vuepress/theme/src/styles/code.styl | 137 docs/.vuepress/theme/src/styles/config.styl| 22 ++ docs/.vuepress/theme/src/styles/custom-blocks.styl | 28 ++ docs/.vuepress/theme/src/styles/mobile.styl| 41 +++ docs/.vuepress/theme/src/styles/nprogress.styl | 48 +++ docs/.vuepress/theme/src/styles/theme.styl | 199 +++ docs/.vuepress/theme/src/styles/toc.styl | 3 + docs/.vuepress/theme/src/styles/wrapper.styl | 11 + docs/.vuepress/theme/src/util.js | 243 ++ docs/.vuepress/theme/src/version-bg.svg| 18 + package.json | 3 +- 32 files changed, 3048 insertions(+), 2 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 2f01a83..3ac2b1d 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -9,7 +9,6 @@ module.exports = { lang: 'zh-CN' } }, - theme: 'fast', themeConfig: { repo: 'apache/incubator-weex-site', docsRepo: 'apache/incubator-weex-site', diff --git a/docs/.vuepress/theme/Layout.vue b/docs/.vuepress/theme/Layout.vue new file mode 100755 index 000..e2412f6 --- /dev/null +++ b/docs/.vuepress/theme/Layout.vue @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +import Vue from 'vue' +import nprogress from 'nprogress' +import Home from './src/Home.vue' +import Navbar from './src/Navbar.vue' +import Page from './src/Page.vue' +import Sidebar from './src/Sidebar.vue' +import SWUpdatePopup from './src/SWUpdatePopup.vue' +import { resolveSidebarItems, setSpm } from './src/util' + +export default { + components: { Home, Page, Sidebar, Navbar, SWUpdatePopup }, + + data () { +return { + isSidebarOpen: false, + swUpdateEvent: null +} + }, + + computed: { +shouldShowNavbar () { + const { themeConfig } = this.$site + const { frontmatter } = this.$page + if ( +frontmatter.navbar === false || +themeConfig.navbar === false) { +return false + } + return ( +this.$title || +themeConfig.logo || +themeConfig.repo || +themeConfig.nav || +this.$themeLocaleConfig.nav + ) +}, + +shouldShowSidebar () { + const { frontmatter } = this.$page + return ( +!frontmatter.layout && +!frontmatter.home && +frontmatter.sidebar !== false && +this.sidebarItems.length + ) +}, + +sidebarItems () { + return resolveSidebarItems( +this.$page, +this.$route, +this.$site, +this.$localePath + ) +}, + +pageClasses () { + const userPageClass = this.$page.frontmatter.pageClass + return [ +{ + 'no-navbar': !this.shouldShowNavbar, + 'sidebar-open': this.isSidebarOpen, + 'no-sidebar': !this.shouldShowSidebar +}, +userPageClass + ] +} + }, + + mounted () { +window.addEventListener('scroll', this.onScr
[incubator-weex-site] branch master updated: compile is deprecated (#515)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 76a01f9 compile is deprecated (#515) 76a01f9 is described below commit 76a01f992c4983b88310205c53506ab7927984f0 Author: 任跃兵 AuthorDate: Tue Oct 29 14:45:20 2019 +0800 compile is deprecated (#515) --- docs/zh/guide/develop/integrate-to-android-app.md | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/zh/guide/develop/integrate-to-android-app.md b/docs/zh/guide/develop/integrate-to-android-app.md index 48d9439..13de86a 100644 --- a/docs/zh/guide/develop/integrate-to-android-app.md +++ b/docs/zh/guide/develop/integrate-to-android-app.md @@ -22,16 +22,16 @@ dependencies { ... // 以下两个 weex_sdk 版本二选一 -//compile 'org.apache.weex:sdk:0.28.0' -//compile 'org.apache.weex:sdk_legacy:0.28.0' +//implementation 'org.apache.weex:sdk:0.28.0' +//implementation 'org.apache.weex:sdk_legacy:0.28.0' // fastjson -compile 'com.alibaba:fastjson:1.1.46.android' +implementation 'com.alibaba:fastjson:1.1.46.android' //support library dependencies -compile 'com.android.support:recyclerview-v7:23.1.1' -compile 'com.android.support:support-v4:23.1.1' -compile 'com.android.support:appcompat-v7:23.1.1' +implementation 'com.android.support:recyclerview-v7:23.1.1' +implementation 'com.android.support:support-v4:23.1.1' +implementation 'com.android.support:appcompat-v7:23.1.1' } ```
[incubator-weex] branch release/0.28 updated: [iOS] update WeexSDK.podspec (#2990)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/release/0.28 by this push: new 25117b6 [iOS] update WeexSDK.podspec (#2990) 25117b6 is described below commit 25117b668ec4ef9323a97dd59ae27a2270a11c3a Author: jianhan-he <41508406+jianhan...@users.noreply.github.com> AuthorDate: Mon Oct 28 17:56:24 2019 +0800 [iOS] update WeexSDK.podspec (#2990) --- WeexSDK.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WeexSDK.podspec b/WeexSDK.podspec index bdb1615..050e37f 100644 --- a/WeexSDK.podspec +++ b/WeexSDK.podspec @@ -17,7 +17,7 @@ Pod::Spec.new do |s| :type => 'Apache-2.0' } s.authors = { -d...@weex.apache.org +"dev" => "d...@weex.apache.org" } s.platform = :ios s.ios.deployment_target = '9.0' @@ -123,4 +123,4 @@ Pod::Spec.new do |s| s.libraries = 'c++' -end \ No newline at end of file +end
[incubator-weex] branch release/0.28 updated: Update website and license
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/release/0.28 by this push: new 69f2484 Update website and license 69f2484 is described below commit 69f2484d92b86fd2145c0bce4147b7059082047d Author: YorkShen AuthorDate: Mon Oct 28 16:12:24 2019 +0800 Update website and license --- WeexSDK.podspec | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/WeexSDK.podspec b/WeexSDK.podspec index af264dd..bdb1615 100644 --- a/WeexSDK.podspec +++ b/WeexSDK.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.name = "WeexSDK" - s.version = "0.26.0" + s.version = "0.28.0" s.summary = "WeexSDK Source." @@ -12,21 +12,12 @@ Pod::Spec.new do |s| A framework for building Mobile cross-platform UI DESC - s.homepage = "https://github.com/alibaba/weex; + s.homepage = "https://github.com/apache/incubator-weex; s.license = { -:type => 'Copyright', -:text => <<-LICENSE - Alibaba-INC copyright -LICENSE +:type => 'Apache-2.0' } s.authors = { -"cxfeng1" => "cxfe...@gmail.com", -"boboning" => "ningli...@163.com", -"yangshengtao" => "yangshengtao1...@163.com", -"kfeagle" => "sunjjb...@163.com", -"acton393" => "zhangxing610...@gmail.com", -"wqyfavor" => "wqyfavo...@gmail.com", -"doumafang " => "doumaf...@gmail.com" +d...@weex.apache.org } s.platform = :ios s.ios.deployment_target = '9.0'
[incubator-weex-site] branch master updated: Update globalEvent.md (#512)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 28e121e Update globalEvent.md (#512) 28e121e is described below commit 28e121edafc7fda2f0acf44653a67e55d0d08883 Author: alpha AuthorDate: Fri Oct 25 18:12:59 2019 +0800 Update globalEvent.md (#512) 中文翻译:“获得应用被前后后这后台”,改为“获取应用当前是前台或后台”,便于理解 --- docs/zh/docs/modules/globalEvent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh/docs/modules/globalEvent.md b/docs/zh/docs/modules/globalEvent.md index 3695e4d..10093e7 100644 --- a/docs/zh/docs/modules/globalEvent.md +++ b/docs/zh/docs/modules/globalEvent.md @@ -4,7 +4,7 @@ 内置的全局事件 -WeexSDK 对获取应用前后台事件做了支持,开发者可以在页面内监听对应的事件,获得应用被前后后这后台,以方便暂停音乐,视频等,只需要指定需要监听的事件名称和回调函数就可以,例如: +WeexSDK 对获取应用前后台事件做了支持,开发者可以在页面内监听对应的事件,获取应用当前是前台或后台,以方便暂停音乐,视频等,只需要指定需要监听的事件名称和回调函数就可以,例如: ```javascript var globalEvent = weex.requireModule('globalEvent');
[incubator-weex-site] branch master updated: Update the documentation considering the fact that weex-cli, weex-loader are part of Apache Weex now. (#511)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new b0d8a9b Update the documentation considering the fact that weex-cli, weex-loader are part of Apache Weex now. (#511) b0d8a9b is described below commit b0d8a9b9b23b74fd8058303395bd6631c798cb85 Author: YorkShen AuthorDate: Fri Oct 25 11:55:06 2019 +0800 Update the documentation considering the fact that weex-cli, weex-loader are part of Apache Weex now. (#511) --- _config.yml | 12 ++-- _config_cn.yml | 12 ++-- docs/.vuepress/config.js| 4 ++-- docs/.vuepress/data/redirect.json | 4 ++-- docs/download/download.md | 11 --- docs/download/major_change.md | 13 - docs/guide/debug/integrate-devtool-to-android.md| 6 +++--- docs/guide/debug/integrate-devtool-to-ios.md| 4 ++-- docs/guide/develop/create-a-new-app.md | 12 docs/guide/develop/integrate-to-android-app.md | 2 +- docs/guide/develop/setup-develop-environment.md | 4 ++-- docs/{tools/toolkit.md => guide/develop/weex_cli.md}| 13 - docs/guide/extend/extend-web.md | 6 +- docs/guide/introduction.md | 15 ++- docs/guide/use-vue-in-weex.md | 16 ++-- docs/tools/README.md| 2 +- docs/zh/download/download.md| 5 + docs/zh/download/major_change.md| 5 - docs/zh/guide/debug/integrate-devtool-to-android.md | 9 ++--- docs/zh/guide/debug/integrate-devtool-to-ios.md | 4 ++-- docs/zh/guide/develop/create-a-new-app.md | 12 docs/zh/guide/develop/setup-develop-environment.md | 10 -- docs/zh/{tools/toolkit.md => guide/develop/weex_cli.md} | 11 --- docs/zh/guide/extend/extend-web.md | 6 +- docs/zh/guide/introduction.md | 16 ++-- docs/zh/guide/use-vue-in-weex.md| 14 +- docs/zh/tools/README.md | 2 +- 27 files changed, 136 insertions(+), 94 deletions(-) diff --git a/_config.yml b/_config.yml index 4861c31..c79cf66 100644 --- a/_config.yml +++ b/_config.yml @@ -359,9 +359,9 @@ alias: cn/doc/references/events/blur.html: cn/references/index.html cn/doc/references/events/input.html: cn/references/index.html cn/doc/references/events/focus.html: cn/references/index.html - guide/tools/toolkit.html: tools/toolkit.html - guide/tools/devtools.html: tools/toolkit.html - guide/tools/weexpack.html: tools/toolkit.html + guide/tools/toolkit.html: develop/weex_cli.html + guide/tools/devtools.html: develop/weex_cli.html + guide/tools/weexpack.html: develop/weex_cli.html guide/tools/plugin.html: tools/helpers.html guide/contributing.html: contributing.html guide/intro/how-it-works.html: wiki/index.html @@ -398,9 +398,9 @@ alias: references/advanced/integrate-devtool-to-ios.html: guide/integrate-devtool-to-ios.html playground.html: tools/playground.html faq.html: wiki/faq.html - cn/guide/tools/toolkit.html: cn/tools/toolkit.html - cn/guide/tools/devtools.html: cn/tools/toolkit.html - cn/guide/tools/weexpack.html: cn/tools/toolkit.html + cn/guide/tools/toolkit.html: cn/develop/weex_cli.html + cn/guide/tools/devtools.html: cn/develop/weex_cli.html + cn/guide/tools/weexpack.html: cn/develop/weex_cli.html cn/guide/tools/plugin.html: cn/tools/helpers.html cn/guide/contributing.html: cn/contributing.html cn/guide/intro/how-it-works.html: cn/wiki/index.html diff --git a/_config_cn.yml b/_config_cn.yml index 82c8f13..9302f1f 100644 --- a/_config_cn.yml +++ b/_config_cn.yml @@ -357,9 +357,9 @@ alias: cn/doc/references/events/blur.html: cn/references/index.html cn/doc/references/events/input.html: cn/references/index.html cn/doc/references/events/focus.html: cn/references/index.html - guide/tools/toolkit.html: tools/toolkit.html - guide/tools/devtools.html: tools/toolkit.html - guide/tools/weexpack.html: tools/toolkit.html + guide/tools/toolkit.html: develop/weex_cli.html + guide/tools/devtools.html: develop/weex_cli.html + guide/tools/weexpack.html: develop/weex_cli.html guide/tools/plugin.html: tools/helpers.html guide/contributing.html: contributing.html guide/intro/how-it-works.html: wiki/index.html @@ -396,9 +396,9 @@ alias: references/advanced/integrate-devtool-to-ios.html: guide/integrate-devtool-to-ios.html playgroun
[incubator-weex] branch release/0.28 updated (fcf7ae0 -> cce4063)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from fcf7ae0 Update playground add cce4063 Update documentation No new revisions were added by this update. Summary of changes: README.md | 10 -- scripts/publish_release_official.sh | 5 +++-- 2 files changed, 7 insertions(+), 8 deletions(-)
[incubator-weex-site] branch master updated: Update for release 0.28 (#509)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new c54f689 Update for release 0.28 (#509) c54f689 is described below commit c54f6895b1890f0f9a24bbac4ed80b23d3642de5 Author: YorkShen AuthorDate: Thu Oct 24 15:29:36 2019 +0800 Update for release 0.28 (#509) --- docs/.vuepress/config.js | 6 +- docs/download/download.md | 19 +- docs/download/major_change.md | 32 +++ docs/guide/develop/integrate-to-android-app.md| 30 +-- docs/guide/develop/integrate-to-your-app.md | 254 -- docs/zh/download/download.md | 19 +- docs/zh/download/major_change.md | 32 +++ docs/zh/guide/develop/integrate-to-android-app.md | 28 +- docs/zh/guide/develop/integrate-to-your-app.md| 305 -- 9 files changed, 121 insertions(+), 604 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index f3cb22b..d777191 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -188,7 +188,8 @@ module.exports = { ['weex-third-party-extensions','List of Third Party Plugin'] ], '/download/':[ - ['download', "Source Download"] + ['download', "Source Download"], + ['major_change', 'Major Change'] ] } }, @@ -365,7 +366,8 @@ module.exports = { ['weex-third-party-extensions','Weex 三方插件'] ], '/zh/download/':[ -['download', "源代码下载"] +['download', "源代码下载"], +['major_change', '重大变更'] ] } } diff --git a/docs/download/download.md b/docs/download/download.md index d453bfb..8f0bd7c 100644 --- a/docs/download/download.md +++ b/docs/download/download.md @@ -12,17 +12,24 @@ Weex provides binary files in every release only for users' convenience. Binary ::: # Latest Release -## 0.26.0 -* Released in July 11, 2019 -* [ChangeLog](https://github.com/apache/incubator-weex/releases/tag/0.26.0) -* [Source](https://www.apache.org/dyn/closer.cgi?filename=incubator/weex/0.26.0/apache-weex-incubating-0.26.0-src.tar.gz=download) | [Signature](https://www.apache.org/dist/incubator/weex/0.26.0/apache-weex-incubating-0.26.0-src.tar.gz.asc) | [Checksum](https://dist.apache.org/repos/dist/release/incubator/weex/0.26.0/apache-weex-incubating-0.26.0-src.tar.gz.sha512) +## 0.28.0 +* Released in Oct 23, 2019 +* [ChangeLog](https://github.com/apache/incubator-weex/releases/tag/0.28.0) +* [Source](https://www.apache.org/dyn/closer.cgi?filename=incubator/weex/0.28.0/apache-weex-incubating-0.28.0-src.tar.gz=download) | [Signature](https://www.apache.org/dist/incubator/weex/0.28.0/apache-weex-incubating-0.28.0-src.tar.gz.asc) | [Checksum](https://dist.apache.org/repos/dist/release/incubator/weex/0.28.0/apache-weex-incubating-0.28.0-src.tar.gz.sha512) * Binary * Android -`compile 'com.taobao.android:weex_sdk:0.26.0'` +* **Since 0.28.0, Weex would publish two convince binary in each release, please [read the documentation about the detail](major_change.html).** +* `compile 'org.apache.weex:sdk:0.28.0'` +* `compile 'org.apache.weex:sdk_legacy:0.28.0'` * iOS -`pod "WeexSDK","0.26.0"` +`pod "WeexSDK","0.28.0"` # Archived Release +## 0.26.0 +* Released in July 11, 2019 +* [ChangeLog](https://github.com/apache/incubator-weex/releases/tag/0.26.0) +* [Source](https://archive.apache.org/dist/incubator/weex/0.26.0/apache-weex-incubating-0.26.0-src.tar.gz) | [Signature](ttps://archive.apache.org/dist/incubator/weex/0.26.0/apache-weex-incubating-0.26.0-src.tar.gz.asc) | [Checksum](https://archive.apache.org/dist/incubator/weex/0.26.0/apache-weex-incubating-0.26.0-src.tar.gz.sha512) + ## 0.24.0 * Released in May 23, 2019 * [ChangeLog](https://github.com/apache/incubator-weex/releases/tag/0.24.0) diff --git a/docs/download/major_change.md b/docs/download/major_change.md new file mode 100644 index 000..ce311dd --- /dev/null +++ b/docs/download/major_change.md @@ -0,0 +1,32 @@ +# Introduction +This page introduces the break change of Weex, you can visit [GitHub page](https://github.com/apache/incubator-weex/releases) for detail changelog. + +# Version +## 0.28 +**The following three major change in 0.28 only affects Android developers** +### Android + Package name +Due to the fact that Weex was a software of Alibaba Group (the mother company of Taobao Software Cooperation, ltd.) before donated to ASF (Apache Software Foundation),the Android package name of Weex was `com.taobao.weex` before Weex 0.28.0 released.
svn commit: r36450 - /release/incubator/weex/0.26.0/
Author: kyork Date: Wed Oct 23 11:57:51 2019 New Revision: 36450 Log: remove 0.26.0 Removed: release/incubator/weex/0.26.0/
[incubator-weex-site] branch master updated: 新增支持竖向或横向描述以及属性
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new ea7efad 新增支持竖向或横向描述以及属性 new 00857c9 Merge pull request #449 from nika-mahu/patch-1 ea7efad is described below commit ea7efad091df68383fa1cd628c0804eb141d4ea2 Author: nika-mahu <52807773+nika-m...@users.noreply.github.com> AuthorDate: Fri Jul 12 10:27:32 2019 +0800 新增支持竖向或横向描述以及属性 新增支持竖向或横向描述以及属性 --- docs/zh/docs/components/recycle-list.md | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/zh/docs/components/recycle-list.md b/docs/zh/docs/components/recycle-list.md index 8a5a26e..1c72782 100644 --- a/docs/zh/docs/components/recycle-list.md +++ b/docs/zh/docs/components/recycle-list.md @@ -2,7 +2,7 @@ ## 简介 -`` 是一个新的列表容器,具有回收和复用的能力,可以大幅优化内存占用和渲染性能。 +`` 是一个新的支持竖向或横向的列表容器,具有回收和复用的能力,可以大幅优化内存占用和渲染性能。 > * 设计思路请参考 > [Design.md](https://github.com/Hanks10100/weex-native-directive/blob/master/Design.md),具体的实现细节请参考 > > [Implementation.md](https://github.com/Hanks10100/weex-native-directive/blob/master/Implementation.md) > * 该功能部分依赖于编译工具,请确保 weex-loader 的版本升级到最新(v0.7.2+) > * 使用最新版的 playground app(SDK 版本 0.18.0 及以上)才可以扫码查看原生效果,也可以直接使用dotwe查看Web预览效果 @@ -44,6 +44,8 @@ ``` +* `scrollDirection` + 取值vertical或horizontal ## 可复用的组件 在 `` 中使用的子组件也将被视为模板,在开发组件时给 `` 标签添加 recyclable 属性,才可以用在 `` 中。 @@ -178,4 +180,4 @@ const longList = [ * [props 更新](http://dotwe.org/vue/37056065a0a2c104e73dd550f252fabc)([普通list](http://dotwe.org/vue/778e93001e573ea0bbe9fc332a6a1e6c)) * [有内部状态](http://dotwe.org/vue/baeda092d257d91d8c9c216e91ba350a)([普通list](http://dotwe.org/vue/a6e19f26653c890544c1036a7e9d2722)) * [computed & watch](http://dotwe.org/vue/c9ab8a26fb10fb163891ac58b2322671)([普通list](http://dotwe.org/vue/5e13c37f136fde456da311e5ddf17324)) -* [移除组件](http://dotwe.org/vue/c63e11f62c8f50d6120d56f97253a1b6)([普通list](http://dotwe.org/vue/a9d299cbf2870c99b32df047ed0c4265)) \ No newline at end of file +* [移除组件](http://dotwe.org/vue/c63e11f62c8f50d6120d56f97253a1b6)([普通list](http://dotwe.org/vue/a9d299cbf2870c99b32df047ed0c4265))
[incubator-weex] branch release/0.28 updated (936b2e9 -> fcf7ae0)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from 936b2e9 Update build.gradle add fcf7ae0 Update playground No new revisions were added by this update. Summary of changes: weex-playground | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[incubator-weex-playground] branch master updated: Update playground
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-playground.git The following commit(s) were added to refs/heads/master by this push: new c872038 Update playground c872038 is described below commit c872038397c4b68319a4e6c55c75db561ea1c2c5 Author: york.sy AuthorDate: Wed Oct 23 16:31:53 2019 +0800 Update playground --- android/build.gradle| 2 +- android/commons/build.gradle| 2 +- android/playground/build.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 90b9cc8..1e5b68b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -44,6 +44,6 @@ ext { targetSdkVersion=28 supportLibVersion="26.0.2" fastjsonLibVersion="1.1.46.android" -weexSdkVersion="0.28.0.1-SNAPSHOT" +weexSdkVersion="0.28.0" implementFromWeex = false } diff --git a/android/commons/build.gradle b/android/commons/build.gradle index 2422c6d..dab89cb 100644 --- a/android/commons/build.gradle +++ b/android/commons/build.gradle @@ -70,7 +70,7 @@ dependencies { implementation project(':weex_sdk') } else { -implementation "com.taobao.android:weex_sdk:${project.weexSdkVersion}@aar" +implementation "org.apache.weex:sdk_legacy:${project.weexSdkVersion}" } } diff --git a/android/playground/build.gradle b/android/playground/build.gradle index fa746a1..5f16c34 100755 --- a/android/playground/build.gradle +++ b/android/playground/build.gradle @@ -124,7 +124,7 @@ dependencies { implementation project(':weex_sdk') } else { -implementation "com.taobao.android:weex_sdk:${project.weexSdkVersion}@aar" +implementation "org.apache.weex:sdk_legacy:${project.weexSdkVersion}" } }
[incubator-weex] branch release/0.28 updated (fc907aa -> 936b2e9)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from fc907aa Update build.gradle add 936b2e9 Update build.gradle No new revisions were added by this update. Summary of changes: android/README.md | 2 +- android/sdk/buildSrc/jcenter.gradle | 2 ++ scripts/publish_release_official.sh | 9 + 3 files changed, 8 insertions(+), 5 deletions(-)
[incubator-weex] annotated tag 0.28.0 updated (d17bd0b -> febf5da)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to annotated tag 0.28.0 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. *** WARNING: tag 0.28.0 was modified! *** from d17bd0b (commit) to febf5da (tag) tagging d17bd0b10a564b3fd21300af62202b1931b5183f (commit) replaces 0.19.0.2 by YorkShen on Wed Oct 23 14:53:38 2019 +0800 - Log - Apache Weex is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has [...] * Unified C++ log system of WeexCore. * Upgrade targetsdk & compilesdk to 28 * Change Android package name from `com.taobao.weex` to `org.apache.weex`, ref [link](https://github.com/apache/incubator-weex/tree/master/android#build-types) * Switch to BSD-Licensed [android-jsc](https://www.npmjs.com/package/jsc-android) as the default JavaScript Interpreter. * Update build.gradle fc907aa83 * Update build.gradle 5b5addee3 * Update version for jCenter publication. ba827a56d * Update playground version 003e31ca3 * Update build.gradle for Jcenter publication. 1d1aee746 * Update build script 1a4c9da89 * Update apache release. d8e1ed904 * update HOW-TO-BUILD.md (#2969) cadd403fc * Update Readme 1020a98ad * Update playground 4f891d989 * Update readme 06cb9dd61 * Update readme. a70ba5c08 * Update playground 82bc2ce8b * Add the ability of unbundling JSC from weex_sdk.aar. 5edef9554 * [fix] fix npe in core_side_platform refresh an eagle instance 70b2e9cd0 * Update build.gradle ae3c0e83d * Update HOW-TO-BUILD.md b33c4ea0e * Update publish_release_candiate. d17bd0b10 * Remove .iml fiie e317671d6 * Update setting.gradle ac460b44e * Update changelog 25e95f176 * Remove possible-notices-for-bin-dist 03235ce64 * [Android] Fix task order problem. (#2964) 0688a2419 * Add ASF license header to a bunch of files. (#2963) ce518bcdb * [Android] Download JSC header files from remote during compiling (#2960) 685ec8acd * [Android] Remove shared library from binary of Weex (#2940) 739e07f3e * Update scripts for apache release. 01adab8c1 * Add clearBFCs method and clear BFCs after self-layout of scroller node. 43f5edb6f * [iOS] Fix slider crash on iOS9 7bb97fc60 * [iOS] Rename the backgroundColor property name. (#2951) 51c8d1258 * Fix eagle refresh instance Npe be912769d * [iOS Use property to access 'backgroundColor'. (#2948) c778ff372 * [iOS] Remove useless switch. 97840a1f2 * [iOS] Remove useless switch. 3919fdbc4 * [iOS] Use lock to add mutex for _backgroundColor property usage. ce42fd610 * Revert "[iOS] Fix problem that _backgroundColor causing multithread crashing. (#2934)" e2ca90622 * Revert "[iOS] Fix the problem that background color should use [UIColor clearColor] instance when transparent. (#2942)" 3a8a7ffd8 * Revert "[iOS] Fix the problem that background color should use [UIColor clearColor] instance when transparent. (#2943)" 65e7acbe1 * [iOS] Protect endless iteration when setting index for slider view. cb7fe0323 * [iOS] Fix the problem that background color should use [UIColor clearColor] instance when transparent. (#2943) f2786a184 * [Android] add log for reload and fm init count b107915a3 * Update Travis 41351337c * [Android] open enableAlarmSignal config 555ae8226 * [iOS] Fix the problem that background color should use [UIColor clearColor] instance when transparent. (#2942) 2c169da9b * [Android] public method readStreamToString 55c1da46d * Double11 fix2 (#2937) 69cfe53cd * Fix CTFont changed under xcode11 build. (#2936) 344bb3f7a * [Android] Rename packageName from `com.taobao.weex` to `org.apache.weex` (#2885) 7548ba621 * [Android] Remove android test files as they are not runnable anyway and could lead confusion by the package name `com.taobao.weex (#2932) 601fcb261 * [Android] Split whitescreen code which reboot count>50 c8ab8f17b * [iOS] Fix problem that _backgroundColor causing multithread crashing. (#2934) 87454ac33 * [iOS] Protect for invalid JSON object on iOS13 which will crash. 146169900 * [Android] Avoid ArrayIndexOutOfBounds in RenderPage::MoveRenderObject (#2919) ec1ec238c * [iOS] Remove 'Too many timers' report. (#2930) e8f323a00 * [Android] Change JNI string in cpp/h file (#2928) 724d8878f * [Android] Split build.gradle file into 5 files. (#2927) c54282302 * [Android] Add the ability of renaming package by -PapachePackageName=false (#2925) 9b07a12a4 * [Android] Make Travis quiet. (#2926) 334ca88a6 * Bugfx/revert 2783 2883 (#2924) bc32968cf * Revert "[Android]s
svn commit: r36449 - in /release/incubator/weex/0.28.0: ./ apache-weex-incubating-0.28.0-src.tar.gz apache-weex-incubating-0.28.0-src.tar.gz.asc apache-weex-incubating-0.28.0-src.tar.gz.sha512
Author: kyork Date: Wed Oct 23 06:51:13 2019 New Revision: 36449 Log: Release 0.28.0 Added: release/incubator/weex/0.28.0/ release/incubator/weex/0.28.0/apache-weex-incubating-0.28.0-src.tar.gz (with props) release/incubator/weex/0.28.0/apache-weex-incubating-0.28.0-src.tar.gz.asc release/incubator/weex/0.28.0/apache-weex-incubating-0.28.0-src.tar.gz.sha512 Added: release/incubator/weex/0.28.0/apache-weex-incubating-0.28.0-src.tar.gz == Binary file - no diff available. Propchange: release/incubator/weex/0.28.0/apache-weex-incubating-0.28.0-src.tar.gz -- svn:mime-type = application/octet-stream Added: release/incubator/weex/0.28.0/apache-weex-incubating-0.28.0-src.tar.gz.asc == --- release/incubator/weex/0.28.0/apache-weex-incubating-0.28.0-src.tar.gz.asc (added) +++ release/incubator/weex/0.28.0/apache-weex-incubating-0.28.0-src.tar.gz.asc Wed Oct 23 06:51:13 2019 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCAAdFiEEo5j3vh3VD37zW3ni7AsoVmiD82QFAl2kHRUACgkQ7AsoVmiD +82Q6Jw/9FUIPRkSIsNN/aSmwSHoO3tK7tt+8niBAtgSNXZLLiJAsYKICsL6gVD6j +MJLQoqFeKpR6f7GnaXy/ZuWYkG6SCTkePTOq25uUdhLGLUOAHgHKuA9BnaDgYzAe +uCL/jQ8a3FRaOt0oRf4JzEN6hlpgVp1mehF/utiJkAMXWd4+S9YgN/2aYjqFkHSD +l/rH4rJ9xlE9lUgUl6HwN6nXF6+VQCN9CuaYWy1G/1cJlDOQtV8fZ475n0W66gg/ +ZVq/K4xh97pqMLncM1HwOi4IeC6+14/U4Rif0jaB2sfeBblFvFYdctygZjJyXauy +pBO1sKBfjkIipaDzHPjTMh2ATB09DqHPjko7X7DlJjqjbYqULbj50xWXrhPokNED +VEOCzunQAhhTBcDhXeaTRPq0NerQUKFsY1ZPSJvsleXn0LT7VFj8vb/Qu1eqRwkC +WQaSlbZvAEqdbT9P5oEjIgHzTHfuBG9BMQHQU5J3qUmRHANQwkEUrMuEGwa5BDva +r1hsQ/InrBK55S+lcXZHr6AnX+D/1Ep+jzut/DT/YkZ7i62I/xUpbjpvKbm+ofGr +13hzzuoVeeTu1yFXoiXERZayTw1lVgI+bYco/hWnMrW16R+lTQCzkwq+f9VRurJV +ikwzzc76aOP6IZBGg88yuK6OEm4oE/ejkhElpg2fiSVTSDpacpM= +=SGhe +-END PGP SIGNATURE- Added: release/incubator/weex/0.28.0/apache-weex-incubating-0.28.0-src.tar.gz.sha512 == --- release/incubator/weex/0.28.0/apache-weex-incubating-0.28.0-src.tar.gz.sha512 (added) +++ release/incubator/weex/0.28.0/apache-weex-incubating-0.28.0-src.tar.gz.sha512 Wed Oct 23 06:51:13 2019 @@ -0,0 +1,3 @@ +apache-weex-incubating-0.28.0-RC1-src.tar.gz: +724E6D5A 33C9BAA1 DDBA082C 3D8615C7 73D2CB1C 15595A33 E6378CB3 0DC9EED4 95022E4D + B931D343 2960988A F94A66AF CDDAFBF0 79FE5A31 C64AB23D 760C6084
[incubator-weex] branch release/0.28 updated (5b5adde -> fc907aa)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from 5b5adde Update build.gradle add fc907aa Update build.gradle No new revisions were added by this update. Summary of changes: .rat-excludes | 29 ++--- LICENSE | 2 +- NOTICE | 2 +- android/sdk/buildSrc/jcenter.gradle | 35 ++- scripts/release_files.rules | 1 + 5 files changed, 39 insertions(+), 30 deletions(-)
[incubator-weex] branch release/0.28 updated (ba827a5 -> 5b5adde)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from ba827a5 Update version for jCenter publication. add 5b5adde Update build.gradle No new revisions were added by this update. Summary of changes: android/sdk/build.gradle| 2 -- android/sdk/buildSrc/jcenter.gradle | 24 ++-- 2 files changed, 22 insertions(+), 4 deletions(-)
[incubator-weex] branch release/0.28 updated (003e31c -> ba827a5)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from 003e31c Update playground version add ba827a5 Update version for jCenter publication. No new revisions were added by this update. Summary of changes: README.md | 4 +++- android/sdk/buildSrc/jcenter.gradle | 6 +++--- android/settings.gradle | 6 +++--- 3 files changed, 9 insertions(+), 7 deletions(-)
[incubator-weex] branch release/0.28 updated (1d1aee7 -> 003e31c)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from 1d1aee7 Update build.gradle for Jcenter publication. add 003e31c Update playground version No new revisions were added by this update. Summary of changes: weex-playground | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[incubator-weex-playground] branch master updated: Rename library of common from `com.alibaba.weex.commons` to `org.apache.weex.commons`
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-playground.git The following commit(s) were added to refs/heads/master by this push: new 01d03ed Rename library of common from `com.alibaba.weex.commons` to `org.apache.weex.commons` 01d03ed is described below commit 01d03edec26f8b5c2528c85c352b110573acff9a Author: york.sy AuthorDate: Tue Oct 22 10:32:32 2019 +0800 Rename library of common from `com.alibaba.weex.commons` to `org.apache.weex.commons` --- android/commons/src/main/AndroidManifest.xml | 5 + .../apache}/weex/commons/AbstractWeexActivity.java | 5 ++--- .../alibaba => org/apache}/weex/commons/SimpleWeexActivity.java | 2 +- .../alibaba => org/apache}/weex/commons/WXAnalyzerDelegate.java | 2 +- .../alibaba => org/apache}/weex/commons/adapter/BlurTool.java| 2 +- .../apache}/weex/commons/adapter/BlurTransformation.java | 2 +- .../apache}/weex/commons/adapter/DefaultWebSocketAdapter.java| 4 ++-- .../weex/commons/adapter/DefaultWebSocketAdapterFactory.java | 2 +- .../apache}/weex/commons/adapter/FrescoImageAdapter.java | 2 +- .../apache}/weex/commons/adapter/FrescoImageComponent.java | 2 +- .../apache}/weex/commons/adapter/FrescoImageView.java| 9 + .../apache}/weex/commons/adapter/ImageAdapter.java | 3 +-- .../apache}/weex/commons/adapter/JSExceptionAdapter.java | 2 +- .../apache}/weex/commons/adapter/PicassoBasedDrawableLoader.java | 2 +- .../alibaba => org/apache}/weex/commons/util/AssertUtil.java | 2 +- .../apache}/weex/commons/util/RequestIdGenerator.java| 2 +- .../alibaba => org/apache}/weex/commons/util/ScreenUtil.java | 2 +- .../apache}/weex/commons/util/WSEventReporter.java | 2 +- .../src/main/java/com/alibaba/weex/BenchmarkActivity.java| 3 +-- .../playground/src/main/java/com/alibaba/weex/IndexActivity.java | 2 +- .../playground/src/main/java/com/alibaba/weex/WXApplication.java | 8 .../src/main/java/com/alibaba/weex/WXPageActivity.java | 2 +- 22 files changed, 27 insertions(+), 40 deletions(-) diff --git a/android/commons/src/main/AndroidManifest.xml b/android/commons/src/main/AndroidManifest.xml index af18743..c7d247f 100644 --- a/android/commons/src/main/AndroidManifest.xml +++ b/android/commons/src/main/AndroidManifest.xml @@ -17,8 +17,5 @@ specific language governing permissions and limitations under the License. --> http://schemas.android.com/apk/res/android; - package="com.alibaba.weex.commons"> - - - + package="org.apache.weex.commons"> diff --git a/android/commons/src/main/java/com/alibaba/weex/commons/AbstractWeexActivity.java b/android/commons/src/main/java/org/apache/weex/commons/AbstractWeexActivity.java similarity index 98% rename from android/commons/src/main/java/com/alibaba/weex/commons/AbstractWeexActivity.java rename to android/commons/src/main/java/org/apache/weex/commons/AbstractWeexActivity.java index 8854ce2..07b9c78 100644 --- a/android/commons/src/main/java/com/alibaba/weex/commons/AbstractWeexActivity.java +++ b/android/commons/src/main/java/org/apache/weex/commons/AbstractWeexActivity.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package com.alibaba.weex.commons; +package org.apache.weex.commons; import android.graphics.PixelFormat; import android.graphics.Rect; @@ -30,8 +30,7 @@ import android.view.View; import android.view.ViewGroup; import com.alibaba.fastjson.JSONObject; -import com.alibaba.weex.commons.util.AssertUtil; -import com.alibaba.weex.commons.util.ScreenUtil; +import org.apache.weex.commons.util.AssertUtil; import com.taobao.weex.IWXRenderListener; import com.taobao.weex.WXEnvironment; import com.taobao.weex.WXSDKInstance; diff --git a/android/commons/src/main/java/com/alibaba/weex/commons/SimpleWeexActivity.java b/android/commons/src/main/java/org/apache/weex/commons/SimpleWeexActivity.java similarity index 97% rename from android/commons/src/main/java/com/alibaba/weex/commons/SimpleWeexActivity.java rename to android/commons/src/main/java/org/apache/weex/commons/SimpleWeexActivity.java index 91e0d1a..dfabd50 100644 --- a/android/commons/src/main/java/com/alibaba/weex/commons/SimpleWeexActivity.java +++ b/android/commons/src/main/java/org/apache/weex/commons/SimpleWeexActivity.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package com.alibaba.weex.commons; +package org.apache.weex.commons; import android.os.Bundle; import android.support.annotation.Nullable; diff --git a/android/commons/src/main/java/com/alibaba/weex/commons/WXAnalyzerDelegate.java b/android/commons/src/main/java/org/apache/wee
[incubator-weex-playground] branch master updated: Delete unused code.
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-playground.git The following commit(s) were added to refs/heads/master by this push: new 550832c Delete unused code. 550832c is described below commit 550832cc8c946da79b57ca4abb43b44ca32da953 Author: york.sy AuthorDate: Tue Oct 22 10:27:45 2019 +0800 Delete unused code. --- .../com/alibaba/weex/commons/ApplicationTest.java | 31 -- 1 file changed, 31 deletions(-) diff --git a/android/commons/src/androidTest/java/com/alibaba/weex/commons/ApplicationTest.java b/android/commons/src/androidTest/java/com/alibaba/weex/commons/ApplicationTest.java deleted file mode 100644 index d8cab6d..000 --- a/android/commons/src/androidTest/java/com/alibaba/weex/commons/ApplicationTest.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ -package com.alibaba.weex.commons; - -import android.app.Application; -import android.test.ApplicationTestCase; - -/** - * http://d.android.com/tools/testing/testing_android.html;>Testing Fundamentals - */ -public class ApplicationTest extends ApplicationTestCase { - public ApplicationTest() { -super(Application.class); - } -}
[incubator-weex] branch release/0.28 updated (3851c62 -> 1d1aee7)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from 3851c62 Merge branch 'master' into release/0.28 add 1d1aee7 Update build.gradle for Jcenter publication. No new revisions were added by this update. Summary of changes: android/README.md | 2 +- android/build.gradle| 6 -- android/sdk/build.gradle| 6 +++--- android/sdk/buildSrc/jcenter.gradle | 11 ++- scripts/publish_release_official.sh | 4 ++-- 5 files changed, 16 insertions(+), 13 deletions(-)
[incubator-weex-site] branch master updated (10e9b1c -> a2f6fcb)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git. from 10e9b1c Update how-to-contribute.md (#508) add e6ad421 Additional Descriptions and Attributes new a2f6fcb Additional Descriptions and Attributes (#503) The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: docs/docs/components/recycle-list.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
[incubator-weex-site] 01/01: Additional Descriptions and Attributes (#503)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git commit a2f6fcb62a21db9978313f14561fc8272fcf22e8 Merge: 10e9b1c e6ad421 Author: YorkShen AuthorDate: Fri Oct 18 19:05:39 2019 +0800 Additional Descriptions and Attributes (#503) Added support for vertical or horizontal descriptions and attributes docs/docs/components/recycle-list.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
[incubator-weex-site] branch master updated: Update how-to-contribute.md (#508)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git The following commit(s) were added to refs/heads/master by this push: new 10e9b1c Update how-to-contribute.md (#508) 10e9b1c is described below commit 10e9b1cd3a2742f17fef8fd4664b4b9431427687 Author: yjouyang AuthorDate: Fri Oct 18 19:05:05 2019 +0800 Update how-to-contribute.md (#508) 漏了“代码”俩字 --- docs/zh/guide/contribute/how-to-contribute.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/zh/guide/contribute/how-to-contribute.md b/docs/zh/guide/contribute/how-to-contribute.md index 79537ce..1461350 100644 --- a/docs/zh/guide/contribute/how-to-contribute.md +++ b/docs/zh/guide/contribute/how-to-contribute.md @@ -48,7 +48,7 @@ Weex 研发流程的文档被放置于 [Confluence](https://cwiki.apache.org/con * [Road Map](https://cwiki.apache.org/confluence/x/fJBTBw) ## 贡献文档或代码 -提交代码 *Pull Request* 并不是参与 Weex 贡献的唯一方式,在Weex社区中,**文档和一样重要**,并尊重所有开发者对 Weex 文档或代码的贡献。 +提交代码 *Pull Request* 并不是参与 Weex 贡献的唯一方式,在Weex社区中,**文档和代码一样重要**,并尊重所有开发者对 Weex 文档或代码的贡献。 :::tip Weex 采用了 Apache License 2.0,请确保你的贡献符合Apache License 2.0的约束。 @@ -66,4 +66,4 @@ Weex 采用了 Apache License 2.0,请确保你的贡献符合Apache License ::: ### 贡献代码 -贡献的代码可以是修复已知的 bug 或者 开发新 feature,参考[代码提交指南](./contribute-code.html)了解更多细节。 \ No newline at end of file +贡献的代码可以是修复已知的 bug 或者 开发新 feature,参考[代码提交指南](./contribute-code.html)了解更多细节。
[incubator-weex] branch release/0.28 updated (1a4c9da -> 3851c62)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from 1a4c9da Update build script add 70b2e9c [fix] fix npe in core_side_platform refresh an eagle instance add 6466d70 Merge pull request #2965 from hpop1994/feature/fix_refresh_instance_npe_in_coresideplatform add cadd403 update HOW-TO-BUILD.md (#2969) add 3851c62 Merge branch 'master' into release/0.28 No new revisions were added by this update. Summary of changes: HOW-TO-BUILD.md | 2 +- weex_core/Source/core/bridge/platform/core_side_in_platform.cpp | 7 +-- 2 files changed, 6 insertions(+), 3 deletions(-)
[incubator-weex] branch release/0.28 updated (d8e1ed9 -> 1a4c9da)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from d8e1ed9 Update apache release. add 1a4c9da Update build script No new revisions were added by this update. Summary of changes: android/README.md| 7 +-- android/sdk/buildSrc/download_jsc.gradle | 1 - android/sdk/buildSrc/jcenter.gradle | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-)
[incubator-weex] branch release/0.28 updated (1020a98 -> d8e1ed9)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from 1020a98 Update Readme add d8e1ed9 Update apache release. No new revisions were added by this update. Summary of changes: LICENSE | 2 +- android/build.gradle| 1 + android/sdk/build.gradle| 3 ++- android/sdk/buildSrc/jcenter.gradle | 33 ++--- scripts/publish_release_official.sh | 8 +--- 5 files changed, 31 insertions(+), 16 deletions(-)
[incubator-weex] branch master updated: update HOW-TO-BUILD.md (#2969)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/master by this push: new cadd403 update HOW-TO-BUILD.md (#2969) cadd403 is described below commit cadd403fc884d81ec4688a691dff90986871ed09 Author: tomato4832 AuthorDate: Wed Oct 16 23:44:51 2019 +0800 update HOW-TO-BUILD.md (#2969) Correct Android SDK path. --- HOW-TO-BUILD.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HOW-TO-BUILD.md b/HOW-TO-BUILD.md index 2e80002..26e36e9 100644 --- a/HOW-TO-BUILD.md +++ b/HOW-TO-BUILD.md @@ -15,7 +15,7 @@ The environment required to build weex is categorized by platforms. ## Android * JDK `1.8+` * Android SDK Platform 28 - * `$ANDROID_HOME` must be configured by using `export ANDROID_HOME=/path_to_ndk` + * `$ANDROID_HOME` must be configured by using `export ANDROID_HOME=/path_to_sdk` * Normally, you should install [Android Studio](https://developer.android.com/studio) to get Android SDK Platform 28 installed. * Gradle 4.10+ * NDK `r18`
[incubator-weex] branch release/0.28 updated (4f891d9 -> 1020a98)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from 4f891d9 Update playground add 1020a98 Update Readme No new revisions were added by this update. Summary of changes: README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[incubator-weex] branch release/0.28 updated (06cb9dd -> 4f891d9)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from 06cb9dd Update readme add 4f891d9 Update playground No new revisions were added by this update. Summary of changes: weex-playground | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[incubator-weex-playground] branch master updated: Remove unused code in build.gradle
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-playground.git The following commit(s) were added to refs/heads/master by this push: new 2cb8f27 Remove unused code in build.gradle 2cb8f27 is described below commit 2cb8f2740fe51917f945c4423b6720c77beb95af Author: york.sy AuthorDate: Tue Oct 15 20:50:35 2019 +0800 Remove unused code in build.gradle --- android/playground/build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/android/playground/build.gradle b/android/playground/build.gradle index ac8e021..ad5a6c7 100755 --- a/android/playground/build.gradle +++ b/android/playground/build.gradle @@ -67,7 +67,6 @@ android { dependencies { -implementation fileTree(include: ['*.jar'], dir: 'libs') androidTestImplementation "com.android.support:support-annotations:${project.supportLibVersion}" androidTestImplementation 'junit:junit:4.12' androidTestImplementation 'org.awaitility:awaitility:3.0.0'
[incubator-weex] branch release/0.28 updated (a70ba5c -> 06cb9dd)
This is an automated email from the ASF dual-hosted git repository. kyork pushed a change to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git. from a70ba5c Update readme. add 06cb9dd Update readme No new revisions were added by this update. Summary of changes: README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
[incubator-weex] branch release/0.28 updated: Update readme.
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/release/0.28 by this push: new a70ba5c Update readme. a70ba5c is described below commit a70ba5c08836c4f41c0c8d904ad7248652a4f82d Author: YorkShen AuthorDate: Tue Oct 15 20:08:43 2019 +0800 Update readme. --- README.md | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fa2f398..e1851ed 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,13 @@ A framework for building Mobile cross-platform UI. [![Build Status](https://travis-ci.org/apache/incubator-weex.svg?branch=master)](https://travis-ci.org/apache/incubator-weex/) +## Important Notice +* The convenience distribution below is only for users' users' **convenience**. Weex Release is always in the form of [source code](https://weex.apache.org/download/download.html). +* From Weex `0.28` or higher, the JavaScript interpreter is not bundled with Weex anymore. Developers could choose whatever JavaScript interpreter they like in their app as long as it implements the [cpp headers](https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-2.9.92/Source/JavaScriptCore/API/). + * Optional JavaScript interpreter choice: If you have no idea about how to choose proper JavaScript interpreter, you could add `apply from: 'https://raw.githubusercontent.com/apache/incubator-weex/release/0.28/android/sdk/buildSrc/download_jsc.gradle'` in your build.gradle, everything else should work as expected. See [weex-playground](https://github.com/apache/incubator-weex-playground/blob/master/android/playground/build.gradle#L7) to learn more. + +## Convenience Distribution + | platform | status | | | -- | | Android | [![Download](https://api.bintray.com/packages/alibabaweex/maven/weex_sdk/images/download.svg)](https://bintray.com/alibabaweex/maven/weex_sdk/_latestVersion) | @@ -12,11 +19,10 @@ A framework for building Mobile cross-platform UI. Support Android 4.1 (API 16), iOS 8.0+ and WebKit 534.30+. -**Note: Please note the above download distribution is only for users' users' convenience. Weex Release is always in the format of [source code](https://weex.apache.org/download/download.html).** - ## For Windows +First of all, compiling or building Weex from Windows is not support officially. -Please ***INSTALL [Git for Windows](https://git-scm.com/download/win)*** and run all the following commands in git-bash. +You could [Git for Windows](https://git-scm.com/download/win)*** and run all the following commands in git-bash and give it a try. ## Meet Weex
[incubator-weex] branch master updated: [fix] fix npe in core_side_platform refresh an eagle instance
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/master by this push: new 70b2e9c [fix] fix npe in core_side_platform refresh an eagle instance new 6466d70 Merge pull request #2965 from hpop1994/feature/fix_refresh_instance_npe_in_coresideplatform 70b2e9c is described below commit 70b2e9cd080a9d24cca95df34bd01e26ff8b2524 Author: xujc AuthorDate: Tue Oct 15 16:47:26 2019 +0800 [fix] fix npe in core_side_platform refresh an eagle instance --- weex_core/Source/core/bridge/platform/core_side_in_platform.cpp | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/weex_core/Source/core/bridge/platform/core_side_in_platform.cpp b/weex_core/Source/core/bridge/platform/core_side_in_platform.cpp index 34d1e49..d3e2736 100644 --- a/weex_core/Source/core/bridge/platform/core_side_in_platform.cpp +++ b/weex_core/Source/core/bridge/platform/core_side_in_platform.cpp @@ -395,8 +395,11 @@ int CoreSideInPlatform::RefreshInstance( args->value.string = genWeexString( reinterpret_cast(utf16_key.c_str()), utf16_key.size()); msg.push_back(args); - - WeexCore::WeexCoreManager::Instance()->script_bridge()->script_side()->ExecJS( +ScriptBridge* bridge = WeexCore::WeexCoreManager::Instance()->script_bridge(); +if (!bridge){ + return false; +} +bridge->script_side()->ExecJS( instanceId, "", "callJS", msg); freeParams(msg); return true;
[incubator-weex] branch release/0.28 updated: Update playground
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/release/0.28 by this push: new 82bc2ce Update playground 82bc2ce is described below commit 82bc2ce8bbdd97eb9ef6bfbb02f4b0422da51712 Author: YorkShen AuthorDate: Tue Oct 15 17:34:43 2019 +0800 Update playground --- weex-playground | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weex-playground b/weex-playground index 1f536fa..ba8d5a2 16 --- a/weex-playground +++ b/weex-playground @@ -1 +1 @@ -Subproject commit 1f536fa83893520568bccdefffdeb469c7e957cf +Subproject commit ba8d5a2ed106abbf8a349f7eb74a2ff8718e44fe
[incubator-weex-playground] branch master updated: Update build.gradle to support unbundling JSC.
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-playground.git The following commit(s) were added to refs/heads/master by this push: new ba8d5a2 Update build.gradle to support unbundling JSC. ba8d5a2 is described below commit ba8d5a2ed106abbf8a349f7eb74a2ff8718e44fe Author: york.sy AuthorDate: Tue Oct 15 17:33:49 2019 +0800 Update build.gradle to support unbundling JSC. --- android/.gitignore | 1 + android/build.gradle| 8 +++- android/commons/build.gradle| 1 - android/playground/build.gradle | 11 +++ 4 files changed, 7 insertions(+), 14 deletions(-) diff --git a/android/.gitignore b/android/.gitignore index 71b6719..ffd0c2d 100644 --- a/android/.gitignore +++ b/android/.gitignore @@ -2,6 +2,7 @@ .idea local.properties *iml +playground/src/main/jniLibs build captures .settings diff --git a/android/build.gradle b/android/build.gradle index a91e060..90b9cc8 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -39,13 +39,11 @@ subprojects { } } ext { -compileSdkVersion=26 -buildToolsVersion="26.0.3" +compileSdkVersion=28 minSdkVersion=14 -targetSdkVersion=26 +targetSdkVersion=28 supportLibVersion="26.0.2" fastjsonLibVersion="1.1.46.android" -weexSdkVersion="0.26.1.7-SNAPSHOT" +weexSdkVersion="0.28.0.1-SNAPSHOT" implementFromWeex = false - } diff --git a/android/commons/build.gradle b/android/commons/build.gradle index 37783ec..2422c6d 100644 --- a/android/commons/build.gradle +++ b/android/commons/build.gradle @@ -7,7 +7,6 @@ apply plugin: 'com.android.library' android { compileSdkVersion project.compileSdkVersion -//buildToolsVersion project.buildToolsVersion resourcePrefix "weexcomm" defaultConfig { diff --git a/android/playground/build.gradle b/android/playground/build.gradle index 09d315b..ac8e021 100755 --- a/android/playground/build.gradle +++ b/android/playground/build.gradle @@ -3,6 +3,9 @@ plugins { } apply plugin: 'com.android.application' +if(!project.implementFromWeex){ +apply from: 'https://raw.githubusercontent.com/apache/incubator-weex/release/0.28/android/sdk/buildSrc/download_jsc.gradle' +} android { compileSdkVersion project.compileSdkVersion @@ -44,14 +47,6 @@ android { debuggable true } } -sourceSets { -main { -jniLibs.srcDir(['libs']) -java { -srcDirs = ["src/main/java"]; -} -} -} lintOptions { abortOnError false }
[incubator-weex] branch release/0.28 updated: Add the ability of unbundling JSC from weex_sdk.aar.
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/release/0.28 by this push: new 5edef95 Add the ability of unbundling JSC from weex_sdk.aar. 5edef95 is described below commit 5edef955478710a34cdee0b98c612cab0df1e024 Author: YorkShen AuthorDate: Tue Oct 15 16:52:20 2019 +0800 Add the ability of unbundling JSC from weex_sdk.aar. --- android/build.gradle | 1 + android/sdk/build.gradle | 4 2 files changed, 5 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 9b70e08..f3de368 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -76,6 +76,7 @@ ext { //Default value for disableCov is false disableCov = project.hasProperty("disableCov") && disableCov.equals("true") useApachePackageName = project.hasProperty('apachePackageName') ? project.property('apachePackageName').toBoolean() : false +unbundlingJSC = project.hasProperty('unbundlingJSC') ? project.property('unbundlingJSC').toBoolean() : false implementFromWeex = true } diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle index 5e73b35..e9574bc 100755 --- a/android/sdk/build.gradle +++ b/android/sdk/build.gradle @@ -209,6 +209,10 @@ android { main.java.srcDirs = ['src/legacyRelease/java'] main.manifest.srcFile(new File('src/legacyRelease/AndroidManifest.xml')) } + +if(project.unbundlingJSC){ +main.jniLibs.srcDirs = [] +} } compileOptions.encoding = "UTF-8"
[incubator-weex] branch release/0.28 updated: Update build.gradle
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/release/0.28 by this push: new ae3c0e8 Update build.gradle ae3c0e8 is described below commit ae3c0e83d4614b54536ed4d1f0fe8b139d8232ba Author: YorkShen AuthorDate: Tue Oct 15 11:49:28 2019 +0800 Update build.gradle --- android/sdk/build.gradle | 3 ++- android/sdk/buildSrc/download_jsc.gradle | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle index ecd1182..5e73b35 100755 --- a/android/sdk/build.gradle +++ b/android/sdk/build.gradle @@ -283,4 +283,5 @@ task weex_core_license(type: com.hierynomus.gradle.license.tasks.LicenseFormat) 'Source/include/JavaScriptCore/**/*.cpp']) } -preBuild.dependsOn licenseFormat \ No newline at end of file +preBuild.dependsOn licenseFormat, copyJSCHeaderToWeexCore +clean.dependsOn cleanCopyJSCHeaderToWeexCore \ No newline at end of file diff --git a/android/sdk/buildSrc/download_jsc.gradle b/android/sdk/buildSrc/download_jsc.gradle index a83fafe..29d6486 100644 --- a/android/sdk/buildSrc/download_jsc.gradle +++ b/android/sdk/buildSrc/download_jsc.gradle @@ -84,5 +84,5 @@ task copyJSCHeaderToWeexCore(type: Copy, dependsOn: unzipJSC) { outputs.upToDateWhen {false} } -preBuild.dependsOn copyJscToJniDir, copyJSCHeaderToWeexCore -clean.dependsOn cleanCopyJscToJniDir, cleanCopyJSCHeaderToWeexCore \ No newline at end of file +preBuild.dependsOn copyJscToJniDir +clean.dependsOn cleanCopyJscToJniDir \ No newline at end of file
[incubator-weex] branch release/0.28 updated: Update HOW-TO-BUILD.md
This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git The following commit(s) were added to refs/heads/release/0.28 by this push: new b33c4ea Update HOW-TO-BUILD.md b33c4ea is described below commit b33c4ea0ea2d3975d20d06ae2f0e04266fba1cbb Author: YorkShen AuthorDate: Mon Oct 14 19:20:40 2019 +0800 Update HOW-TO-BUILD.md --- HOW-TO-BUILD.md | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/HOW-TO-BUILD.md b/HOW-TO-BUILD.md index 2e80002..579712a 100644 --- a/HOW-TO-BUILD.md +++ b/HOW-TO-BUILD.md @@ -15,7 +15,7 @@ The environment required to build weex is categorized by platforms. ## Android * JDK `1.8+` * Android SDK Platform 28 - * `$ANDROID_HOME` must be configured by using `export ANDROID_HOME=/path_to_ndk` + * `ANDROID_HOME` must be configured by using `export ANDROID_HOME=/path_to_ndk` * Normally, you should install [Android Studio](https://developer.android.com/studio) to get Android SDK Platform 28 installed. * Gradle 4.10+ * NDK `r18` @@ -57,8 +57,11 @@ Build the javascript libraries: ### Before build Native SDK Move `min` version to Native SDK folder, which will be used by native SDK build. -> `cp packages/weex-js-framework/index.min.js ios/sdk/WeexSDK/Resources/main.js` -> `cp packages/weex-js-framework/index.min.js android/sdk/assets/main.js` + +``` +cp packages/weex-js-framework/index.min.js ios/sdk/WeexSDK/Resources/main.js +cp packages/weex-js-framework/index.min.js android/sdk/assets/main.js +``` ## Build Android SDK 1. Install the [Android environment](#android).
svn commit: r36319 - in /dev/incubator/weex/0.28.0: ./ RC1/ RC1/apache-weex-incubating-0.28.0-RC1-src.tar.gz RC1/apache-weex-incubating-0.28.0-RC1-src.tar.gz.asc RC1/apache-weex-incubating-0.28.0-RC1-
Author: kyork Date: Mon Oct 14 07:52:18 2019 New Revision: 36319 Log: Update for 0.28.0-RC1 Added: dev/incubator/weex/0.28.0/ dev/incubator/weex/0.28.0/RC1/ dev/incubator/weex/0.28.0/RC1/apache-weex-incubating-0.28.0-RC1-src.tar.gz (with props) dev/incubator/weex/0.28.0/RC1/apache-weex-incubating-0.28.0-RC1-src.tar.gz.asc dev/incubator/weex/0.28.0/RC1/apache-weex-incubating-0.28.0-RC1-src.tar.gz.sha512 Added: dev/incubator/weex/0.28.0/RC1/apache-weex-incubating-0.28.0-RC1-src.tar.gz == Binary file - no diff available. Propchange: dev/incubator/weex/0.28.0/RC1/apache-weex-incubating-0.28.0-RC1-src.tar.gz -- svn:mime-type = application/octet-stream Added: dev/incubator/weex/0.28.0/RC1/apache-weex-incubating-0.28.0-RC1-src.tar.gz.asc == --- dev/incubator/weex/0.28.0/RC1/apache-weex-incubating-0.28.0-RC1-src.tar.gz.asc (added) +++ dev/incubator/weex/0.28.0/RC1/apache-weex-incubating-0.28.0-RC1-src.tar.gz.asc Mon Oct 14 07:52:18 2019 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCAAdFiEEo5j3vh3VD37zW3ni7AsoVmiD82QFAl2kHRUACgkQ7AsoVmiD +82Q6Jw/9FUIPRkSIsNN/aSmwSHoO3tK7tt+8niBAtgSNXZLLiJAsYKICsL6gVD6j +MJLQoqFeKpR6f7GnaXy/ZuWYkG6SCTkePTOq25uUdhLGLUOAHgHKuA9BnaDgYzAe +uCL/jQ8a3FRaOt0oRf4JzEN6hlpgVp1mehF/utiJkAMXWd4+S9YgN/2aYjqFkHSD +l/rH4rJ9xlE9lUgUl6HwN6nXF6+VQCN9CuaYWy1G/1cJlDOQtV8fZ475n0W66gg/ +ZVq/K4xh97pqMLncM1HwOi4IeC6+14/U4Rif0jaB2sfeBblFvFYdctygZjJyXauy +pBO1sKBfjkIipaDzHPjTMh2ATB09DqHPjko7X7DlJjqjbYqULbj50xWXrhPokNED +VEOCzunQAhhTBcDhXeaTRPq0NerQUKFsY1ZPSJvsleXn0LT7VFj8vb/Qu1eqRwkC +WQaSlbZvAEqdbT9P5oEjIgHzTHfuBG9BMQHQU5J3qUmRHANQwkEUrMuEGwa5BDva +r1hsQ/InrBK55S+lcXZHr6AnX+D/1Ep+jzut/DT/YkZ7i62I/xUpbjpvKbm+ofGr +13hzzuoVeeTu1yFXoiXERZayTw1lVgI+bYco/hWnMrW16R+lTQCzkwq+f9VRurJV +ikwzzc76aOP6IZBGg88yuK6OEm4oE/ejkhElpg2fiSVTSDpacpM= +=SGhe +-END PGP SIGNATURE- Added: dev/incubator/weex/0.28.0/RC1/apache-weex-incubating-0.28.0-RC1-src.tar.gz.sha512 == --- dev/incubator/weex/0.28.0/RC1/apache-weex-incubating-0.28.0-RC1-src.tar.gz.sha512 (added) +++ dev/incubator/weex/0.28.0/RC1/apache-weex-incubating-0.28.0-RC1-src.tar.gz.sha512 Mon Oct 14 07:52:18 2019 @@ -0,0 +1,3 @@ +apache-weex-incubating-0.28.0-RC1-src.tar.gz: +724E6D5A 33C9BAA1 DDBA082C 3D8615C7 73D2CB1C 15595A33 E6378CB3 0DC9EED4 95022E4D + B931D343 2960988A F94A66AF CDDAFBF0 79FE5A31 C64AB23D 760C6084