[GitHub] incubator-weex issue #1115: +[Android] add gzip encoding for loading js bund...

2018-04-16 Thread weex-bot
Github user weex-bot commented on the issue:

https://github.com/apache/incubator-weex/pull/1115
  






  

  
  Messages

  
  
  :book:
  has no jsfm file changed.

  

  :book:
  jsfm test finished.

  




  Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS




---


[GitHub] incubator-weex pull request #1115: +[Android] add gzip encoding for loading ...

2018-04-16 Thread fred-ye
GitHub user fred-ye opened a pull request:

https://github.com/apache/incubator-weex/pull/1115

+[Android] add gzip encoding for loading js bundle



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/fred-ye/incubator-weex master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1115.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1115


commit e8377615f5cb01d098bd665b65cac6624886ba6d
Author: fred-ye 
Date:   2018-04-17T03:12:28Z

+[Android] add gzip encoding for loading js bundle




---


[GitHub] incubator-weex issue #1114: *[Android] box-shadow size should cover padding ...

2018-04-16 Thread weex-bot
Github user weex-bot commented on the issue:

https://github.com/apache/incubator-weex/pull/1114
  





  

  
  Warnings

  
  
  :warning:
  No Changelog changes!

  




  

  
  Messages

  
  
  :book:
  danger test finished.

  




  Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS




---


[GitHub] incubator-weex pull request #1114: box-shadow size should cover padding and ...

2018-04-16 Thread Yanjiie
GitHub user Yanjiie opened a pull request:

https://github.com/apache/incubator-weex/pull/1114

box-shadow size should cover padding and border

Hi ~ I found some problem in Android side when i use box-shadow. Look that:

**In H5 side:**
https://user-images.githubusercontent.com/29728294/38844686-3be92bca-4227-11e8-938e-6396175760bd.png;
 width="350px" />

**In iOS side:**
https://user-images.githubusercontent.com/29728294/38844783-9bc3e1c0-4227-11e8-8120-15e9849d59ac.jpeg;
 width="350px" />

**In Android side:**
https://user-images.githubusercontent.com/29728294/38844867-d6980cc2-4227-11e8-8a72-c2add9527b7f.png;
 width="350px" />

Now, you see the bug.
The box-shadow style should cover box's padding and border when render the 
shadow. But Android side is different from the iOS and H5 side.
These change fix this Bug.

This is a test case. 
[android-bugfix-boxshadow-testcase](http://dotwe.org/vue/4ab90f1cae7c5313c31ab4316b306a6e)


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/Yanjiie/incubator-weex 
android-bugfix-boxshadow

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1114.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1114


commit 46cdd0e0265368cd6b4eb13e6954c5e03c207736
Author: Yanjiie 
Date:   2018-04-17T01:37:58Z

* [android] fix box-shadow size should cover padding and border

commit ee167224ff06e80a85141a305b80550d251a7481
Author: Yanjiie 
Date:   2018-04-17T02:04:12Z

* [test] add box-shadow test case




---


incubator-weex git commit: * [iOS] add missing md5 value and content-length for jsbundle

2018-04-16 Thread acton393
Repository: incubator-weex
Updated Branches:
  refs/heads/master de14e0d2c -> ea2e12f94


* [iOS] add missing md5 value and content-length for jsbundle


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/ea2e12f9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/ea2e12f9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/ea2e12f9

Branch: refs/heads/master
Commit: ea2e12f943a4c167f6d5b9659e8b90515ec63aa5
Parents: de14e0d
Author: acton393 
Authored: Mon Apr 16 18:11:03 2018 +0800
Committer: acton393 
Committed: Mon Apr 16 18:11:03 2018 +0800

--
 ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m | 9 +
 1 file changed, 9 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/ea2e12f9/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
--
diff --git a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m 
b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
index 102b408..5c4063e 100644
--- a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
+++ b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
@@ -242,6 +242,15 @@ typedef enum : NSUInteger {
 [jsExceptionHandler onRuntimeCheckException:runtimeCheckException];
 }
 }
+if (!self.userInfo) {
+self.userInfo = [NSMutableDictionary new];
+}
+if (!self.userInfo[@"jsMainBundleStringContentLength"]) {
+self.userInfo[@"jsMainBundleStringContentLength"] = 
@([mainBundleString length]);
+}
+if (!self.userInfo[@"jsMainBundleStringContentLength"]) {
+self.userInfo[@"jsMainBundleStringContentMd5"] = [WXUtility 
md5:mainBundleString];
+}
 
 WX_MONITOR_INSTANCE_PERF_START(WXPTFirstScreenRender, self);
 WX_MONITOR_INSTANCE_PERF_START(WXPTAllRender, self);



incubator-weex-site git commit: Corrected some URLs

2018-04-16 Thread hanks
Repository: incubator-weex-site
Updated Branches:
  refs/heads/master d4e75f85e -> 41195cace


Corrected some URLs

Project: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/commit/41195cac
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/tree/41195cac
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/diff/41195cac

Branch: refs/heads/master
Commit: 41195cacefd045b1d0cbe3423f85e27a0c7086d9
Parents: d4e75f8
Author: axuebin 
Authored: Mon Apr 16 15:33:07 2018 +0800
Committer: GitHub 
Committed: Mon Apr 16 15:33:07 2018 +0800

--
 source/cn/wiki/index.md | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/41195cac/source/cn/wiki/index.md
--
diff --git a/source/cn/wiki/index.md b/source/cn/wiki/index.md
index 2597bfc..e683120 100644
--- a/source/cn/wiki/index.md
+++ b/source/cn/wiki/index.md
@@ -25,10 +25,10 @@ Weex 的本地开发环境基于 web 
开发体验而设计,web 开发者可以
 
 **相关阅读**
 
-* [Weex 和 web 平台的差异](/cn/wiki/platform-difference.html)
-* [Vue 2.x 在 Weex 和 web 中的差异](/cn/wiki/platform-difference.html)
-* [快速上手](../index.html)
-* [使用 Devtools](./devtools.html)
+* [Weex 和 Web 平台的差异](/cn/wiki/platform-difference.html)
+* [Vue 2.x 在 Weex 和 Web 中的差异](/cn/guide/use-vue.html)
+* [快速上手](/cn/guide/index.html)
+* [使用 Devtools](/cn/guide/integrate-devtool-to-android.html)
 
 ## 云端部署和分发
 
@@ -47,8 +47,8 @@ Weex 目前提供了 iOS 和 Android 两个客户端的 
native 渲染层。每
 **相关链接**
 
 * [Weex 的组件和模块跟 web æ 
‡å‡†çš„区别](../../references/web-standards.html)
-* [如何使用 iOS](../../references/ios-apis.html)
-* [如何使用 Android](../../references/android-apis.html)
+* [如何使用 iOS](/cn/references/ios-apis.html)
+* [如何使用 Android](/cn/references/android-apis.html)
 * [如何扩展 iOS](/cn/guide/extend-ios.html)
 * [如何扩展 Android](/cn/guide/extend-android.html)
 
@@ -58,5 +58,5 @@ Weex 除了提供 iOS 和 Android 
的客户端渲染层之外,还基于 Vue 2.
 
 **相关链接**
 
-* [如何使用 HTML5](../../references/html5-apis.html)
-* [如何扩展 HTML5](../../references/advanced/extend-to-html5.html)
+* [如何使用 HTML5](/cn/references/js-service.html)
+* [如何扩展 HTML5](/cn/guide/extend-web-render.html)