[GitHub] incubator-weex issue #1115: +[Android] add gzip encoding for loading js bund...
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 ...
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-yeDate: 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 ...
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 ...
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: YanjiieDate: 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
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: acton393Authored: 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
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: axuebinAuthored: 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)