You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by gu...@apache.org on 2017/10/02 02:53:48 UTC

[01/20] incubator-weex git commit: * [ios] support attributes to set scrollVertical when the scrollView content size is smaller than the scrollview frame size [Forced Update!]

Repository: incubator-weex
Updated Branches:
  refs/heads/master 5aa19e1d0 -> 587be0dd6 (forced update)


* [ios] support attributes to set scrollVertical when the scrollView content size is smaller than the scrollview frame size


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

Branch: refs/heads/master
Commit: f40f25f0928cb4053ae86d8c81bd6f47463471f4
Parents: 7179133
Author: acton393 <zh...@gmail.com>
Authored: Thu Sep 28 12:00:34 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Thu Sep 28 12:00:34 2017 +0800

----------------------------------------------------------------------
 .../Sources/Component/WXScrollerComponent.m       | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f40f25f0/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m
index 1add98f..6bcfd9a 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m
@@ -59,6 +59,8 @@
     CGPoint _lastContentOffset;
     CGPoint _lastScrollEventFiredOffset;
     BOOL _scrollable;
+    BOOL _alwaysScrollableVertical;
+    BOOL _alwaysScrollableHorizontal;
 
     // vertical & horizontal
     WXScrollDirection _scrollDirection;
@@ -107,6 +109,10 @@ WX_EXPORT_METHOD(@selector(resetLoadmore))
         _lastScrollEventFiredOffset = CGPointMake(0, 0);
         _scrollDirection = attributes[@"scrollDirection"] ? [WXConvert WXScrollDirection:attributes[@"scrollDirection"]] : WXScrollDirectionVertical;
         _showScrollBar = attributes[@"showScrollbar"] ? [WXConvert BOOL:attributes[@"showScrollbar"]] : YES;
+        // default value is NO;
+        _alwaysScrollableVertical = attributes[@"alwaysScrollableVertical"]?[WXConvert BOOL:attributes[@"alwaysScrollableVertical"]] : NO;
+        // default value is NO;
+        _alwaysScrollableHorizontal = attributes[@"alwaysScrollableHorizontal"]?[WXConvert BOOL:attributes[@"alwaysScrollableHorizontal"]] : NO;
         _pagingEnabled = attributes[@"pagingEnabled"] ? [WXConvert BOOL:attributes[@"pagingEnabled"]] : NO;
         _loadMoreOffset = attributes[@"loadmoreoffset"] ? [WXConvert WXPixelType:attributes[@"loadmoreoffset"] scaleFactor:self.weexInstance.pixelScaleFactor] : 0;
         _loadmoreretry = attributes[@"loadmoreretry"] ? [WXConvert NSUInteger:attributes[@"loadmoreretry"]] : 0;
@@ -146,6 +152,9 @@ WX_EXPORT_METHOD(@selector(resetLoadmore))
     scrollView.showsHorizontalScrollIndicator = _showScrollBar;
     scrollView.scrollEnabled = _scrollable;
     scrollView.pagingEnabled = _pagingEnabled;
+    scrollView.alwaysBounceHorizontal = _alwaysScrollableHorizontal;
+    scrollView.alwaysBounceVertical = _alwaysScrollableVertical;
+    
 #ifdef __IPHONE_11_0
     if (@available(iOS 11.0, *)) {
         scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
@@ -213,6 +222,15 @@ WX_EXPORT_METHOD(@selector(resetLoadmore))
         _scrollable = attributes[@"scrollable"] ? [WXConvert BOOL:attributes[@"scrollable"]] : YES;
         ((UIScrollView *)self.view).scrollEnabled = _scrollable;
     }
+    if (attributes[@"alwaysScrollableHorizontal"]) {
+        _alwaysScrollableHorizontal = attributes[@"alwaysScrollableHorizontal"]?[WXConvert BOOL:attributes[@"alwaysScrollableHorizontal"]]:NO;
+        ((UIScrollView*)self.view).alwaysBounceHorizontal = _alwaysScrollableHorizontal;
+    }
+    
+    if (attributes[@"alwaysScrollableVertical"]) {
+        _alwaysScrollableVertical = attributes[@"alwaysScrollableVertical"]?[WXConvert BOOL:attributes[@"alwaysScrollableVertical"]]:NO;
+        ((UIScrollView*)self.view).alwaysBounceVertical = _alwaysScrollableVertical;
+    }
     if (attributes[@"offsetAccuracy"]) {
         _offsetAccuracy = [WXConvert WXPixelType:attributes[@"offsetAccuracy"] scaleFactor:self.weexInstance.pixelScaleFactor];
     }


[07/20] incubator-weex git commit: * [ios] cancel useless logic

Posted by gu...@apache.org.
* [ios] cancel useless logic


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

Branch: refs/heads/master
Commit: 2165b85ec47eb540068ec5b2566f36d238ad88be
Parents: cfdaa67
Author: acton393 <zh...@gmail.com>
Authored: Fri Sep 29 18:27:08 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Fri Sep 29 18:27:08 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2165b85e/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m
index 6bcfd9a..d592a8c 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m
@@ -223,12 +223,12 @@ WX_EXPORT_METHOD(@selector(resetLoadmore))
         ((UIScrollView *)self.view).scrollEnabled = _scrollable;
     }
     if (attributes[@"alwaysScrollableHorizontal"]) {
-        _alwaysScrollableHorizontal = attributes[@"alwaysScrollableHorizontal"]?[WXConvert BOOL:attributes[@"alwaysScrollableHorizontal"]]:NO;
+        _alwaysScrollableHorizontal = [WXConvert BOOL:attributes[@"alwaysScrollableHorizontal"]];
         ((UIScrollView*)self.view).alwaysBounceHorizontal = _alwaysScrollableHorizontal;
     }
     
     if (attributes[@"alwaysScrollableVertical"]) {
-        _alwaysScrollableVertical = attributes[@"alwaysScrollableVertical"]?[WXConvert BOOL:attributes[@"alwaysScrollableVertical"]]:NO;
+        _alwaysScrollableVertical = [WXConvert BOOL:attributes[@"alwaysScrollableVertical"]];
         ((UIScrollView*)self.view).alwaysBounceVertical = _alwaysScrollableVertical;
     }
     if (attributes[@"offsetAccuracy"]) {


[19/20] incubator-weex git commit: Add Telegram Russian Community Group link

Posted by gu...@apache.org.
Add Telegram Russian Community Group link

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

Branch: refs/heads/master
Commit: 7791538dbfd14bc2357756a7f766a80dac0f4449
Parents: 383fe58
Author: Ivan Boldyrev <ib...@gmail.com>
Authored: Thu Sep 28 22:08:00 2017 +0300
Committer: gurisxie <27...@qq.com>
Committed: Mon Oct 2 10:52:49 2017 +0800

----------------------------------------------------------------------
 README.md | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/7791538d/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 6f82038..ded537a 100644
--- a/README.md
+++ b/README.md
@@ -97,6 +97,7 @@ See more stuff on [this wiki page](https://github.com/alibaba/weex/wiki/Weex-Com
 * [SegmentFault (cn)](https://segmentfault.com/t/weex): 中文交流与讨论
 * [FAQ](https://weex.apache.org/faq.html)
 * [Articles (cn)](https://github.com/weexteam/article/issues): Weex 相关文章集合
+* [Telegram Russian Community Group](https://telegram.me/weex_ru)
 
 ## Contributing
 


[06/20] incubator-weex git commit: * [ios] fix perspective bug

Posted by gu...@apache.org.
* [ios] fix perspective bug


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

Branch: refs/heads/master
Commit: cfdaa679a4123858325ad25a0efa473903aff134
Parents: 05053f0
Author: acton393 <zh...@gmail.com>
Authored: Fri Sep 29 16:18:38 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Fri Sep 29 16:18:38 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Component/WXTransform.m | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/cfdaa679/ios/sdk/WeexSDK/Sources/Component/WXTransform.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXTransform.m b/ios/sdk/WeexSDK/Sources/Component/WXTransform.m
index 4bf202f..9e5c362 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXTransform.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXTransform.m
@@ -22,6 +22,7 @@
 #import "WXLength.h"
 #import "WXUtility.h"
 #import "WXSDKInstance.h"
+#import "WXConvert.h"
 
 @interface WXTransform()
 
@@ -174,7 +175,7 @@
     CATransform3D nativeTansform3D = CATransform3DIdentity;
     
     if (_perspective && !isinf(_perspective)) {
-        nativeTansform3D.m34 = -1.0/_perspective*[UIScreen mainScreen].scale;
+        nativeTansform3D.m34 = -1.0/_perspective;
     }
     if (!view || view.bounds.size.width <= 0 || view.bounds.size.height <= 0) {
         return nativeTansform3D;
@@ -339,7 +340,7 @@
 
 - (void)parsePerspective:(NSArray *)value
 {
-    _perspective = [value[0] doubleValue];
+    _perspective = [WXConvert WXPixelType:value[0] scaleFactor:self.weexInstance.pixelScaleFactor];
     if (_perspective <= 0 ) {
         _perspective = CGFLOAT_MAX;
     }


[12/20] incubator-weex git commit: delete debug condition

Posted by gu...@apache.org.
delete debug condition


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

Branch: refs/heads/master
Commit: 707605e1f6f95656eda77106a7361095f31802b9
Parents: b3d96fe
Author: 御魂 <we...@alibaba-inc.com>
Authored: Thu Sep 28 16:57:08 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Sun Oct 1 11:09:19 2017 +0800

----------------------------------------------------------------------
 android/sdk/src/main/java/com/taobao/weex/utils/WXLogUtils.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/707605e1/android/sdk/src/main/java/com/taobao/weex/utils/WXLogUtils.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/utils/WXLogUtils.java b/android/sdk/src/main/java/com/taobao/weex/utils/WXLogUtils.java
index c4e4b96..1f2b4b1 100644
--- a/android/sdk/src/main/java/com/taobao/weex/utils/WXLogUtils.java
+++ b/android/sdk/src/main/java/com/taobao/weex/utils/WXLogUtils.java
@@ -114,6 +114,10 @@ public class WXLogUtils {
   }
 
   public static void d(String tag, String msg) {
+    if (!TextUtils.isEmpty(msg) && !TextUtils.isEmpty(tag)) {
+      log(tag, msg, LogLevel.DEBUG);
+    }
+
     if (WXEnvironment.isApkDebugable() && !TextUtils.isEmpty(msg) && WXEnvironment.sLogLevel.compare(LogLevel.DEBUG) >= 0) {
       Log.d(tag, msg);
 


[11/20] incubator-weex git commit: * [android] fix android new Date() cannot get accuracy time [ISSUE ID] https://aone.alibaba-inc.com/issue/12636699?from=ak&

Posted by gu...@apache.org.
  * [android] fix android new Date() cannot get accuracy time
  [ISSUE ID] https://aone.alibaba-inc.com/issue/12636699?from=ak&


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

Branch: refs/heads/master
Commit: e8c1230b8068a54e30cb39d0e043af1fc0decf87
Parents: 70098ce
Author: yuhun-alibaba <to...@gmail.com>
Authored: Wed Sep 27 15:45:26 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Sun Oct 1 11:09:18 2017 +0800

----------------------------------------------------------------------
 android/sdk/libs/armeabi/libweexjsc.so | Bin 325660 -> 325664 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e8c1230b/android/sdk/libs/armeabi/libweexjsc.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexjsc.so b/android/sdk/libs/armeabi/libweexjsc.so
index b08a455..2cde143 100755
Binary files a/android/sdk/libs/armeabi/libweexjsc.so and b/android/sdk/libs/armeabi/libweexjsc.so differ


[17/20] incubator-weex git commit: * [doc] release note update for tag

Posted by gu...@apache.org.
* [doc]  release note update for tag


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

Branch: refs/heads/master
Commit: 587be0dd6e13fbb4dec696d95c132774aeda4e34
Parents: ec4a4ca
Author: gurisxie <27...@qq.com>
Authored: Sat Sep 30 18:33:31 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Mon Oct 2 10:52:49 2017 +0800

----------------------------------------------------------------------
 doc/source/cn/releasenote.md | 4 ++--
 doc/source/releasenote.md    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/587be0dd/doc/source/cn/releasenote.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/releasenote.md b/doc/source/cn/releasenote.md
index 971089e..d237fec 100644
--- a/doc/source/cn/releasenote.md
+++ b/doc/source/cn/releasenote.md
@@ -7,7 +7,7 @@ layout: post
 # Release Note
 
 
-## 0.16
+## v0.16
 -----
 * + support 3d rotate ([#532](https://github.com/apache/incubator-weex/pull/532) [#418](https://github.com/apache/incubator-weex/pull/418))
 * + new feature support perspective function in transform ([#551](https://github.com/apache/incubator-weex/pull/551)[#532](https://github.com/apache/incubator-weex/pull/532))
@@ -34,7 +34,7 @@ layout: post
 * * Fix the problem of 'text-overflow:clip' [#718](https://github.com/apache/incubator-weex/pull/718)
 * * Fix android new Date() cannot get accuracy time [#753](https://github.com/apache/incubator-weex/pull/753)
 
-## 0.15
+## v0.15
 ------
 * + support fast click and hairlines border [#507](https://github.com/apache/incubator-weex/pull/507).
 * + Add `weex.supports` api for feature detections. [#6053](https://github.com/vuejs/vue/pull/6053)

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/587be0dd/doc/source/releasenote.md
----------------------------------------------------------------------
diff --git a/doc/source/releasenote.md b/doc/source/releasenote.md
index 78736f0..fbfe14d 100644
--- a/doc/source/releasenote.md
+++ b/doc/source/releasenote.md
@@ -6,7 +6,7 @@ layout: post
 
 # Release Note
 
-## 0.16
+## v0.16
 -----
 * + support 3d rotate ([#532](https://github.com/apache/incubator-weex/pull/532) [#418](https://github.com/apache/incubator-weex/pull/418))
 * + new feature support perspective function in transform ([#551](https://github.com/apache/incubator-weex/pull/551)[#532](https://github.com/apache/incubator-weex/pull/532))
@@ -33,7 +33,7 @@ layout: post
 * * Fix the problem of 'text-overflow:clip' [#718](https://github.com/apache/incubator-weex/pull/718)
 * * Fix android new Date() cannot get accuracy time [#753](https://github.com/apache/incubator-weex/pull/753)
 
-## 0.15
+## v0.15
 ------
 * + support fast click and hairlines border [#507](https://github.com/apache/incubator-weex/pull/507).
 * + Add `weex.supports` api for feature detections. [#6053](https://github.com/vuejs/vue/pull/6053)


[18/20] incubator-weex git commit: * [doc] update branch flow

Posted by gu...@apache.org.
* [doc] update branch flow


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

Branch: refs/heads/master
Commit: ec4a4ca1532931c2043dd02961ebf12273879f7a
Parents: 5a65cc7
Author: gurisxie <27...@qq.com>
Authored: Sat Sep 30 19:33:32 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Mon Oct 2 10:52:49 2017 +0800

----------------------------------------------------------------------
 CONTRIBUTING.md | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/ec4a4ca1/CONTRIBUTING.md
----------------------------------------------------------------------
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a688622..e30a65c 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -17,20 +17,20 @@ Besides Weex dev mailing list, we also have some other mailing lists for you. Yo
 ## Branch Management
 
 ```
-master
+release
  ↑
-dev         <--- PR(hotfix/typo/3rd-PR)
+master         <--- PR(hotfix/typo/3rd-PR)
  ↑ PR
-{domain}-feature-{date}
+{domain}-feature-{point}
 ```
 
-0. `master` branch
-    0. `master` is the latest (pre-)release branch.
-0. `dev` branch
-    0. `dev` is the stable developing branch.
-    0. ***It's RECOMMENDED to commit hotfix (like typo) or feature PR to `dev`***.
-0. `{domain}-feature-{date}` branch
-    0. The branch for a developing iteration, e.g. `android-feature-20160607` is an android developing iteration which is done at 2016.06.07. `{domain}` consists of `android`, `ios`, `jsfm` and `html5`. 
+0. `release` branch
+    0. `release ` is the latest release branch.
+0. `master ` branch
+    0. `master ` is the stable developing branch.
+    0. ***It's RECOMMENDED to commit hotfix (like typo) or feature PR to `master `***.
+0. `{domain}-feature-{point}` branch
+    0. The branch for a developing iteration, e.g. `android-feature-list-update` is an android developing iteration which is for list update. `{domain}` consists of `android`, `ios`, `jsfm` and `html5`. 
     0. **DO NOT commit any PR to such a branch**.
 
 ### Branch Name 


[14/20] incubator-weex git commit: open debug log for exception

Posted by gu...@apache.org.
 open debug log for exception


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

Branch: refs/heads/master
Commit: b3d96fe09d371af73939bd388cad266481616ef1
Parents: 3baa9e0
Author: 御魂 <we...@alibaba-inc.com>
Authored: Thu Sep 28 15:58:18 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Sun Oct 1 11:09:19 2017 +0800

----------------------------------------------------------------------
 .../java/com/taobao/weex/WXSDKInstance.java     | 11 +++--
 .../java/com/taobao/weex/bridge/WXBridge.java   | 26 ++++++------
 .../com/taobao/weex/bridge/WXBridgeManager.java | 42 ++++++++++----------
 3 files changed, 40 insertions(+), 39 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b3d96fe0/android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java b/android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java
index 427c9af..9b9e165 100644
--- a/android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java
+++ b/android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java
@@ -1043,9 +1043,8 @@ public class WXSDKInstance implements IWXActivityStateListener,DomContext, View.
       mWXPerformance.screenRenderTime =  time;
     }
     mWXPerformance.componentCount = WXComponent.mComponentNum;
-    if(WXEnvironment.isApkDebugable()) {
-      WXLogUtils.d(WXLogUtils.WEEX_PERF_TAG, "mComponentNum:" + WXComponent.mComponentNum);
-    }
+    WXLogUtils.d(WXLogUtils.WEEX_PERF_TAG, "mComponentNum:" + WXComponent.mComponentNum);
+
     WXComponent.mComponentNum = 0;
     if (mRenderListener != null && mContext != null) {
       runOnUiThread(new Runnable() {
@@ -1060,9 +1059,9 @@ public class WXSDKInstance implements IWXActivityStateListener,DomContext, View.
               performance.args=getBundleUrl();
               mUserTrackAdapter.commit(mContext,null,IWXUserTrackAdapter.JS_BRIDGE,performance,getUserTrackParams());
             }
-            if (WXEnvironment.isApkDebugable()) {
-              WXLogUtils.d(WXLogUtils.WEEX_PERF_TAG, mWXPerformance.toString());
-            }
+
+            WXLogUtils.d(WXLogUtils.WEEX_PERF_TAG, mWXPerformance.toString());
+
           }
         }
       });

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b3d96fe0/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridge.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridge.java b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridge.java
index 8d5bf6f..9d88fc2 100644
--- a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridge.java
+++ b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridge.java
@@ -91,9 +91,9 @@ class WXBridge implements IWXBridge {
       errorCode = WXBridgeManager.getInstance().callNative(instanceId, tasks, callback);
     }catch (Throwable e){
       //catch everything during call native.
-      if(WXEnvironment.isApkDebugable()){
+      // if(WXEnvironment.isApkDebugable()){
         WXLogUtils.e(TAG,"callNative throw exception:"+e.getMessage());
-      }
+      // }
     }
 
     if(instance != null) {
@@ -133,9 +133,9 @@ class WXBridge implements IWXBridge {
       errorCode = WXBridgeManager.getInstance().callCreateBody(instanceId, tasks, callback);
     }catch (Throwable e){
       //catch everything during call native.
-      if(WXEnvironment.isApkDebugable()){
+      // if(WXEnvironment.isApkDebugable()){
         WXLogUtils.e(TAG,"callCreateBody throw exception:"+e.getMessage());
-      }
+      // }
     }
     if(instance != null) {
       instance.callNativeTime(System.currentTimeMillis() - start);
@@ -160,20 +160,20 @@ class WXBridge implements IWXBridge {
       errorCode = WXBridgeManager.getInstance().callAddElement(instanceId, ref,dom,index, callback);
     }catch (Throwable e){
       //catch everything during call native.
-      if(WXEnvironment.isApkDebugable()){
+      // if(WXEnvironment.isApkDebugable()){
         e.printStackTrace();
         WXLogUtils.e(TAG,"callNative throw error:"+e.getMessage());
-      }
+      // }
     }
 
     if(instance != null) {
       instance.callNativeTime(System.currentTimeMillis() - start);
     }
-    if(WXEnvironment.isApkDebugable()){
+    // if(WXEnvironment.isApkDebugable()){
       if(errorCode == IWXBridge.DESTROY_INSTANCE){
         WXLogUtils.w("destroyInstance :"+instanceId+" JSF must stop callNative");
       }
-    }
+    // }
     return errorCode;
   }
 
@@ -273,6 +273,7 @@ class WXBridge implements IWXBridge {
    */
 
   public int callCreateFinish(String instanceId, byte [] tasks, String callback) {
+
     long start = System.currentTimeMillis();
     WXSDKInstance instance = WXSDKManager.getInstance().getSDKInstance(instanceId);
     if(instance != null) {
@@ -283,9 +284,9 @@ class WXBridge implements IWXBridge {
       errorCode = WXBridgeManager.getInstance().callCreateFinish(instanceId, callback);
     } catch (Throwable e) {
       //catch everything during call native.
-      if(WXEnvironment.isApkDebugable()){
+      // if(WXEnvironment.isApkDebugable()){
         WXLogUtils.e(TAG,"callCreateFinish throw exception:" + e.getMessage());
-      }
+      // }
     }
     if(instance != null) {
       instance.callNativeTime(System.currentTimeMillis() - start);
@@ -459,9 +460,9 @@ class WXBridge implements IWXBridge {
       errorCode = WXBridgeManager.getInstance().callAddEvent(instanceId, ref, event, callback);
     } catch (Throwable e) {
       //catch everything during call native.
-      if(WXEnvironment.isApkDebugable()){
+      // if(WXEnvironment.isApkDebugable()){
         WXLogUtils.e(TAG,"callAddEvent throw exception:" + e.getMessage());
-      }
+      // }
     }
     if(instance != null) {
       instance.callNativeTime(System.currentTimeMillis() - start);
@@ -499,6 +500,7 @@ class WXBridge implements IWXBridge {
   }
 
   public void reportServerCrash(String instanceId, String crashFile) {
+    WXLogUtils.e(TAG,"reportServerCrash instanceId:" + instanceId);
     int errorCode = IWXBridge.INSTANCE_RENDERING;
     try {
       errorCode = WXBridgeManager.getInstance().callReportCrashReloadPage(instanceId, crashFile);

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b3d96fe0/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
index 0d830b6..ba13bed 100644
--- a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
+++ b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
@@ -430,12 +430,12 @@ public class WXBridgeManager implements Callback,BactchExecutor {
       return IWXBridge.INSTANCE_RENDERING_ERROR;
     }
 
-    if (WXEnvironment.isApkDebugable()) {
+    // if (WXEnvironment.isApkDebugable()) {
       mLodBuilder.append("[WXBridgeManager] callNative >>>> instanceId:").append(instanceId)
           .append(", tasks:").append(tasks).append(", callback:").append(callback);
-      WXLogUtils.d(mLodBuilder.substring(0));
+      WXLogUtils.e(mLodBuilder.substring(0));
       mLodBuilder.setLength(0);
-    }
+    // }
 
     if(mDestroyedInstanceId!=null &&mDestroyedInstanceId.contains(instanceId)){
       return IWXBridge.DESTROY_INSTANCE;
@@ -494,19 +494,19 @@ public class WXBridgeManager implements Callback,BactchExecutor {
   // callCreateBody
   public int callCreateBody(String instanceId, String tasks, String callback) {
     if (TextUtils.isEmpty(tasks)) {
-      if (WXEnvironment.isApkDebugable()) {
+      // if (WXEnvironment.isApkDebugable()) {
         WXLogUtils.e("[WXBridgeManager] callCreateBody: call CreateBody tasks is null");
-      }
+      // }
       commitJSBridgeAlarmMonitor(instanceId, WXErrorCode.WX_ERR_DOM_CREATEBODY,"[WXBridgeManager] callCreateBody: call CreateBody tasks is null");
       return IWXBridge.INSTANCE_RENDERING_ERROR;
     }
 
-    if (WXEnvironment.isApkDebugable()) {
+    // if (WXEnvironment.isApkDebugable()) {
       mLodBuilder.append("[WXBridgeManager] callCreateBody >>>> instanceId:").append(instanceId)
               .append(", tasks:").append(tasks).append(", callback:").append(callback);
       WXLogUtils.d(mLodBuilder.substring(0));
       mLodBuilder.setLength(0);
-    }
+    // }
 
 
     if(mDestroyedInstanceId != null && mDestroyedInstanceId.contains(instanceId)){
@@ -578,12 +578,12 @@ public class WXBridgeManager implements Callback,BactchExecutor {
 
   // callCreateFinish
   public int callCreateFinish(String instanceId, String callback) {
-    if (WXEnvironment.isApkDebugable()) {
+    // if (WXEnvironment.isApkDebugable()) {
       mLodBuilder.append("[WXBridgeManager] callCreateFinish >>>> instanceId:").append(instanceId)
               .append(", callback:").append(callback);
       WXLogUtils.d(mLodBuilder.substring(0));
       mLodBuilder.setLength(0);
-    }
+    // }
 
     if(mDestroyedInstanceId != null && mDestroyedInstanceId.contains(instanceId)) {
       return IWXBridge.DESTROY_INSTANCE;
@@ -704,14 +704,14 @@ public class WXBridgeManager implements Callback,BactchExecutor {
       commitJSBridgeAlarmMonitor(instanceId, WXErrorCode.WX_ERR_DOM_UPDATESTYLE,"[WXBridgeManager] callUpdateStyle: call UpdateStyle tasks is null");
       return IWXBridge.INSTANCE_RENDERING_ERROR;
     }
-    if (WXEnvironment.isApkDebugable()) {
+//    if (WXEnvironment.isApkDebugable()) {
       mLodBuilder.append("[WXBridgeManager] callUpdateStyle >>>> instanceId:").append(instanceId)
               .append(", ref:").append(ref)
               .append(", task:").append(task)
               .append(", callback:").append(callback);
       WXLogUtils.d(mLodBuilder.substring(0));
       mLodBuilder.setLength(0);
-    }
+//    }
 
     if(mDestroyedInstanceId != null && mDestroyedInstanceId.contains(instanceId)) {
       return IWXBridge.DESTROY_INSTANCE;
@@ -821,13 +821,13 @@ public class WXBridgeManager implements Callback,BactchExecutor {
 
   public int callAddEvent(String instanceId, String ref, String event, String callback) {
 
-    if (WXEnvironment.isApkDebugable()) {
+//    if (WXEnvironment.isApkDebugable()) {
       mLodBuilder.append("[WXBridgeManager] callAddEvent >>>> instanceId:").append(instanceId)
               .append(", ref:").append(ref)
               .append(", event:").append(event);
       WXLogUtils.d(mLodBuilder.substring(0));
       mLodBuilder.setLength(0);
-    }
+//    }
 
     if(mDestroyedInstanceId != null && mDestroyedInstanceId.contains(instanceId)) {
       return IWXBridge.DESTROY_INSTANCE;
@@ -895,12 +895,12 @@ public class WXBridgeManager implements Callback,BactchExecutor {
 
   public int callAddElement(String instanceId, String ref,String dom,String index, String callback){
 
-    if (WXEnvironment.isApkDebugable()) {
+    // if (WXEnvironment.isApkDebugable()) {
       mLodBuilder.append("[WXBridgeManager] callNative::callAddElement >>>> instanceId:").append(instanceId)
               .append(", ref:").append(ref).append(", dom:").append(dom).append(", callback:").append(callback);
       WXLogUtils.d(mLodBuilder.substring(0));
       mLodBuilder.setLength(0);
-    }
+    // }
 
     if(mDestroyedInstanceId!=null && mDestroyedInstanceId.contains(instanceId)){
       return IWXBridge.DESTROY_INSTANCE;
@@ -1351,9 +1351,9 @@ public class WXBridgeManager implements Callback,BactchExecutor {
     if (adapter != null) {
         WXJSExceptionInfo jsException = new WXJSExceptionInfo(instanceId, url, errorCode.getErrorCode(), method, exception, extParams);
         adapter.onJSException(jsException);
-        if (WXEnvironment.isApkDebugable()) {
+        // if (WXEnvironment.isApkDebugable()) {
           WXLogUtils.e(jsException.toString());
-        }
+        // }
     }
   }
 
@@ -1519,14 +1519,14 @@ public class WXBridgeManager implements Callback,BactchExecutor {
 
   public void invokeExecJS(String instanceId, String namespace, String function,
                             WXJSObject[] args,boolean logTaskDetail){
-    if (WXEnvironment.isApkDebugable()) {
+    // if (WXEnvironment.isApkDebugable()) {
       mLodBuilder.append("callJS >>>> instanceId:").append(instanceId)
               .append("function:").append(function);
       if(logTaskDetail)
         mLodBuilder.append(" tasks:").append(WXJsonUtils.fromObjectToJSONString(args));
       WXLogUtils.d(mLodBuilder.substring(0));
       mLodBuilder.setLength(0);
-    }
+    // }
     mWXBridge.execJS(instanceId, namespace, function, args);
   }
 
@@ -1544,9 +1544,9 @@ public class WXBridgeManager implements Callback,BactchExecutor {
   private void initFramework(String framework){
     if (!isJSFrameworkInit()) {
       if (TextUtils.isEmpty(framework)) {
-        if (WXEnvironment.isApkDebugable()) {
+        // if (WXEnvironment.isApkDebugable()) {
           WXLogUtils.d("weex JS framework from assets");
-        }
+        // }
         framework = WXFileUtils.loadAsset("main.js", WXEnvironment.getApplication());
       }
       if (TextUtils.isEmpty(framework)) {


[08/20] incubator-weex git commit: * [ios] add delegate for WXBaseViewController

Posted by gu...@apache.org.
* [ios] add delegate for WXBaseViewController


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

Branch: refs/heads/master
Commit: bf3ab44e9f88b4e9896a3e8f343ef376afa28d8c
Parents: 2165b85
Author: acton393 <zh...@gmail.com>
Authored: Fri Sep 29 18:27:42 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Fri Sep 29 18:27:42 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Controller/WXBaseViewController.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/bf3ab44e/ios/sdk/WeexSDK/Sources/Controller/WXBaseViewController.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Controller/WXBaseViewController.h b/ios/sdk/WeexSDK/Sources/Controller/WXBaseViewController.h
index 34f710a..221c6c8 100644
--- a/ios/sdk/WeexSDK/Sources/Controller/WXBaseViewController.h
+++ b/ios/sdk/WeexSDK/Sources/Controller/WXBaseViewController.h
@@ -26,7 +26,7 @@
  * special bundle URL.
  */
 
-@interface WXBaseViewController : UIViewController
+@interface WXBaseViewController : UIViewController<UIGestureRecognizerDelegate>
 
 /**
  * @abstract initializes the viewcontroller with bundle url.


[10/20] incubator-weex git commit: + [android] add LogWatcher interface

Posted by gu...@apache.org.
+ [android] add LogWatcher interface


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

Branch: refs/heads/master
Commit: 3baa9e048928b8ada9ea9f2e88ab363a93e9b36e
Parents: e8c1230
Author: misakuo <mi...@apache.org>
Authored: Thu Sep 28 13:50:43 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Sun Oct 1 11:09:18 2017 +0800

----------------------------------------------------------------------
 .../main/java/com/taobao/weex/utils/WXLogUtils.java    | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3baa9e04/android/sdk/src/main/java/com/taobao/weex/utils/WXLogUtils.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/utils/WXLogUtils.java b/android/sdk/src/main/java/com/taobao/weex/utils/WXLogUtils.java
index 4f1b818..c4e4b96 100644
--- a/android/sdk/src/main/java/com/taobao/weex/utils/WXLogUtils.java
+++ b/android/sdk/src/main/java/com/taobao/weex/utils/WXLogUtils.java
@@ -41,6 +41,7 @@ public class WXLogUtils {
   private static StringBuilder builder = new StringBuilder(50);
   private static HashMap<String, Class> clazzMaps = new HashMap<>(2);
   private static JsLogWatcher jsLogWatcher;
+  private static LogWatcher sLogWatcher;
 
   static {
     clazzMaps.put(CLAZZ_NAME_DEBUG_TOOL, loadClass(CLAZZ_NAME_DEBUG_TOOL));
@@ -75,6 +76,9 @@ public class WXLogUtils {
       writeConsoleLog(level.getName(), msg);
       sendLog(level, msg);
     }
+    if (sLogWatcher != null) {
+      sLogWatcher.onLog(level.getName(), tag, msg);
+    }
   }
 
   public static void d(String msg) {
@@ -139,6 +143,7 @@ public class WXLogUtils {
         }
       }
       sendLog(LogLevel.DEBUG, tag + ":" + msg);
+      log(tag, msg, LogLevel.DEBUG);
     }
   }
 
@@ -298,7 +303,15 @@ public class WXLogUtils {
     jsLogWatcher = watcher;
   }
 
+  public static void setLogWatcher(LogWatcher watcher) {
+    sLogWatcher = watcher;
+  }
+
   public interface JsLogWatcher {
     void onJsLog(int level, String log);
   }
+
+  public interface LogWatcher {
+    void onLog(String level, String tag, String msg);
+  }
 }


[16/20] incubator-weex git commit: [WEEX-74] Added Jira issue number as commit log title

Posted by gu...@apache.org.
[WEEX-74] Added Jira issue number as commit log title

As Apache Jira provides the function that can automatically connect
commit and Jira issue according to the issue number with specific
format, so added a new way in commit message title check regex to
allow this.

Removed the Merge title because we are not going to allow merge
and start to follow the rebase way.

Also updated error message to point to the correct URL.


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

Branch: refs/heads/master
Commit: 383fe587b176c2c5c87411ab9459ea2f1cdb1c12
Parents: 122aae1
Author: Jonathan Dong <do...@aliyun.com>
Authored: Wed Sep 27 23:18:51 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Mon Oct 2 10:52:49 2017 +0800

----------------------------------------------------------------------
 scripts/commit-msg.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/383fe587/scripts/commit-msg.sh
----------------------------------------------------------------------
diff --git a/scripts/commit-msg.sh b/scripts/commit-msg.sh
index ff1a967..3a767cb 100755
--- a/scripts/commit-msg.sh
+++ b/scripts/commit-msg.sh
@@ -17,11 +17,11 @@
 # under the License.
 
 # Validate commit log
-commit_regex='^Merge.+|[+*-] \[(android|ios|jsfm|html5|component|doc|build|website|example|test|all)\] .{1,50}'
+commit_regex='[+*-] \[(android|ios|jsfm|html5|component|doc|build|website|example|test|all)\] .{1,50}|\[WEEX-[0-9]*\] .{1,50}'
 
 if ! grep -iqE "$commit_regex" "$1"; then
-    echo "ERROR: commit log format is not correct!"
-    echo "See https://github.com/alibaba/weex/blob/dev/CONTRIBUTING.md#commit-log"
+    echo "ERROR: Incorrect commit log format, please refer to:"
+    echo "https://github.com/apache/incubator-weex/blob/master/CONTRIBUTING.md#commit-log"
     exit 1
 fi
 # FIXME no effect after editor (like vim) exits


[20/20] incubator-weex git commit: * [doc] update release note

Posted by gu...@apache.org.
* [doc] update release note


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

Branch: refs/heads/master
Commit: 5b7516b94a677a2727ee88986e0f5c8cbe534236
Parents: 7791538
Author: gurisxie <27...@qq.com>
Authored: Sat Sep 30 14:23:44 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Mon Oct 2 10:52:49 2017 +0800

----------------------------------------------------------------------
 doc/source/cn/releasenote.md | 51 +++++++++++++++++++++++++++++++++++++++
 doc/source/releasenote.md    | 51 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5b7516b9/doc/source/cn/releasenote.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/releasenote.md b/doc/source/cn/releasenote.md
index bc69bba..971089e 100644
--- a/doc/source/cn/releasenote.md
+++ b/doc/source/cn/releasenote.md
@@ -6,6 +6,57 @@ layout: post
 
 # Release Note
 
+
+## 0.16
+-----
+* + support 3d rotate ([#532](https://github.com/apache/incubator-weex/pull/532) [#418](https://github.com/apache/incubator-weex/pull/418))
+* + new feature support perspective function in transform ([#551](https://github.com/apache/incubator-weex/pull/551)[#532](https://github.com/apache/incubator-weex/pull/532))
+* + new feature support save image to photo album ([547](https://github.com/apache/incubator-weex/pull/547) [575](https://github.com/apache/incubator-weex/pull/575) [544](https://github.com/apache/incubator-weex/pull/544))
+* + support `image.save` ([#575](https://github.com/apache/incubator-weex/pull/575)).
+* + optimize event binding and support mobile firefox, and also fix a lot of other things ([#606](https://github.com/apache/incubator-weex/pull/606)).
+* + Support js service in Rax DSL.
+* + Partial support of sending `ArrayBuffer` between js and native.
+* + Add basic support of `<recycle-list>`, both in Vue and Rax DSL.
+* + Support saving image to photo alubm in `image` [#547](https://github.com/apache/incubator-weex/pull/547)
+* + Support perspective features [#551](https://github.com/apache/incubator-weex/pull/551)
+* + New interface to performance tracing [#586](https://github.com/apache/incubator-weex/pull/586)
+* + Add the ability of FlatGUI, it can reduce the view hierarchy in `cell` [#643](https://github.com/apache/incubator-weex/pull/643)
+* + Support the `box-shadow` style for Android 4.3 and higher [#685](https://github.com/apache/incubator-weex/pull/685)
+* + Support float interval/delay in timer [#699](https://github.com/apache/incubator-weex/pull/699)
+* + New `recycle-list` compoent with hight performance and low memory cost [#726](https://github.com/apache/incubator-weex/pull/726)
+* * remove dependency about socketRocket dependency in iOS.
+* * fix coretext crash in iOS.
+* * fix toast view still pop while the page was destroyed in iOS.
+* * separate weex-vue-render into two parts: render core and plugins ([#533](https://github.com/apache/incubator-weex/pull/533)).
+* * Fix Jni crash due to emoji [#574](https://github.com/apache/incubator-weex/pull/574)
+* * Fix the lost refresh header of `list` in viewpager [#601](https://github.com/apache/incubator-weex/pull/601)
+* * Fix draw iconfont fail when first download iconfont [#625](https://github.com/apache/incubator-weex/pull/625)
+* * Fix the problem of 'text-overflow:clip' [#718](https://github.com/apache/incubator-weex/pull/718)
+* * Fix android new Date() cannot get accuracy time [#753](https://github.com/apache/incubator-weex/pull/753)
+
+## 0.15
+------
+* + support fast click and hairlines border [#507](https://github.com/apache/incubator-weex/pull/507).
+* + Add `weex.supports` api for feature detections. [#6053](https://github.com/vuejs/vue/pull/6053)
+* + Change default image quality to `WXImageQuality.AUTO` [#478](https://github.com/apache/incubator-weex/pull/478)
+* + Support the `scroll` event on horizontal scroller[#494](https://github.com/apache/incubator-weex/pull/494)
+* * Fix the console API to adapt JSC on Android. [#470](https://github.com/apache/incubator-weex/pull/470)
+* * Fix invalid call scrollToElement when has not option param [#491](https://github.com/apache/incubator-weex/pull/491)
+* * Fix the lines of `text` cannot be reset [#493](https://github.com/apache/incubator-weex/pull/493)
+* * Fix invalid init index on `slider` [#510](https://github.com/apache/incubator-weex/pull/510)
+* * Fix Memory optimization for `list` [#512](https://github.com/apache/incubator-weex/pull/512)
+
+## v0.14
+------
+* + support `waterfall` component ([#438](https://github.com/apache/incubator-weex/pull/438)).
+* + support pseudo-class ([#474](https://github.com/apache/incubator-weex/pull/474)).
+* + Support component method in Vue DSL. ([proposal](https://github.com/alibaba/weex/issues/969))
+* + Support returning value synchronously for module methods. ([proposal](https://github.com/alibaba/weex/issues/1677))
+* + Support drag-drop on `list` [#416](https://github.com/apache/incubator-weex/pull/416)
+* + Support rotateX and rotateY, optimize animation as well [#418](https://github.com/apache/incubator-weex/pull/418)
+* * Fix wrong vertical offset in scroll event on `waterfall` [#424](https://github.com/apache/incubator-weex/pull/424)
+* * Fix `clearTimeout` and `clearInterval` doesn't work when funId is greater than 127 [#439](https://github.com/apache/incubator-weex/pull/439)
+
 ## v0.13.0
 ------
 ### Notable Changes

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5b7516b9/doc/source/releasenote.md
----------------------------------------------------------------------
diff --git a/doc/source/releasenote.md b/doc/source/releasenote.md
index bc69bba..78736f0 100644
--- a/doc/source/releasenote.md
+++ b/doc/source/releasenote.md
@@ -6,6 +6,57 @@ layout: post
 
 # Release Note
 
+## 0.16
+-----
+* + support 3d rotate ([#532](https://github.com/apache/incubator-weex/pull/532) [#418](https://github.com/apache/incubator-weex/pull/418))
+* + new feature support perspective function in transform ([#551](https://github.com/apache/incubator-weex/pull/551)[#532](https://github.com/apache/incubator-weex/pull/532))
+* + new feature support save image to photo album ([547](https://github.com/apache/incubator-weex/pull/547) [575](https://github.com/apache/incubator-weex/pull/575) [544](https://github.com/apache/incubator-weex/pull/544))
+* + support `image.save` ([#575](https://github.com/apache/incubator-weex/pull/575)).
+* + optimize event binding and support mobile firefox, and also fix a lot of other things ([#606](https://github.com/apache/incubator-weex/pull/606)).
+* + Support js service in Rax DSL.
+* + Partial support of sending `ArrayBuffer` between js and native.
+* + Add basic support of `<recycle-list>`, both in Vue and Rax DSL.
+* + Support saving image to photo alubm in `image` [#547](https://github.com/apache/incubator-weex/pull/547)
+* + Support perspective features [#551](https://github.com/apache/incubator-weex/pull/551)
+* + New interface to performance tracing [#586](https://github.com/apache/incubator-weex/pull/586)
+* + Add the ability of FlatGUI, it can reduce the view hierarchy in `cell` [#643](https://github.com/apache/incubator-weex/pull/643)
+* + Support the `box-shadow` style for Android 4.3 and higher [#685](https://github.com/apache/incubator-weex/pull/685)
+* + Support float interval/delay in timer [#699](https://github.com/apache/incubator-weex/pull/699)
+* + New `recycle-list` compoent with hight performance and low memory cost [#726](https://github.com/apache/incubator-weex/pull/726)
+* * remove dependency about socketRocket dependency in iOS.
+* * fix coretext crash in iOS.
+* * fix toast view still pop while the page was destroyed in iOS.
+* * separate weex-vue-render into two parts: render core and plugins ([#533](https://github.com/apache/incubator-weex/pull/533)).
+* * Fix Jni crash due to emoji [#574](https://github.com/apache/incubator-weex/pull/574)
+* * Fix the lost refresh header of `list` in viewpager [#601](https://github.com/apache/incubator-weex/pull/601)
+* * Fix draw iconfont fail when first download iconfont [#625](https://github.com/apache/incubator-weex/pull/625)
+* * Fix the problem of 'text-overflow:clip' [#718](https://github.com/apache/incubator-weex/pull/718)
+* * Fix android new Date() cannot get accuracy time [#753](https://github.com/apache/incubator-weex/pull/753)
+
+## 0.15
+------
+* + support fast click and hairlines border [#507](https://github.com/apache/incubator-weex/pull/507).
+* + Add `weex.supports` api for feature detections. [#6053](https://github.com/vuejs/vue/pull/6053)
+* + Change default image quality to `WXImageQuality.AUTO` [#478](https://github.com/apache/incubator-weex/pull/478)
+* + Support the `scroll` event on horizontal scroller[#494](https://github.com/apache/incubator-weex/pull/494)
+* * Fix the console API to adapt JSC on Android. [#470](https://github.com/apache/incubator-weex/pull/470)
+* * Fix invalid call scrollToElement when has not option param [#491](https://github.com/apache/incubator-weex/pull/491)
+* * Fix the lines of `text` cannot be reset [#493](https://github.com/apache/incubator-weex/pull/493)
+* * Fix invalid init index on `slider` [#510](https://github.com/apache/incubator-weex/pull/510)
+* * Fix Memory optimization for `list` [#512](https://github.com/apache/incubator-weex/pull/512)
+
+## v0.14
+------
+* + support `waterfall` component ([#438](https://github.com/apache/incubator-weex/pull/438)).
+* + support pseudo-class ([#474](https://github.com/apache/incubator-weex/pull/474)).
+* + Support component method in Vue DSL. ([proposal](https://github.com/alibaba/weex/issues/969))
+* + Support returning value synchronously for module methods. ([proposal](https://github.com/alibaba/weex/issues/1677))
+* + Support drag-drop on `list` [#416](https://github.com/apache/incubator-weex/pull/416)
+* + Support rotateX and rotateY, optimize animation as well [#418](https://github.com/apache/incubator-weex/pull/418)
+* * Fix wrong vertical offset in scroll event on `waterfall` [#424](https://github.com/apache/incubator-weex/pull/424)
+* * Fix `clearTimeout` and `clearInterval` doesn't work when funId is greater than 127 [#439](https://github.com/apache/incubator-weex/pull/439)
+
+
 ## v0.13.0
 ------
 ### Notable Changes


[03/20] incubator-weex git commit: * [ios] fix websocket crash while close

Posted by gu...@apache.org.
* [ios] fix websocket crash while close


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

Branch: refs/heads/master
Commit: e2f9f0cc98f7ac668a6fd5420c3df74a80d34a96
Parents: 5eb1cf0
Author: acton393 <zh...@gmail.com>
Authored: Thu Sep 28 17:30:24 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Thu Sep 28 17:30:24 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Module/WXWebSocketModule.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e2f9f0cc/ios/sdk/WeexSDK/Sources/Module/WXWebSocketModule.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Module/WXWebSocketModule.m b/ios/sdk/WeexSDK/Sources/Module/WXWebSocketModule.m
index c1c7e57..2e653b6 100644
--- a/ios/sdk/WeexSDK/Sources/Module/WXWebSocketModule.m
+++ b/ios/sdk/WeexSDK/Sources/Module/WXWebSocketModule.m
@@ -126,7 +126,7 @@ WX_EXPORT_METHOD(@selector(onclose:))
 
 - (void)close:(NSString *)code reason:(NSString *)reason
 {
-    if(!code)
+    if([WXUtility isBlankString:code])
     {
         [loader close];
         return;


[04/20] incubator-weex git commit: * [ios] treat nil value as empty string

Posted by gu...@apache.org.
* [ios] treat nil value as empty string


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

Branch: refs/heads/master
Commit: 8eef91fbf7530b8b24c37e491c7054138dfdf5e3
Parents: e2f9f0c
Author: acton393 <zh...@gmail.com>
Authored: Fri Sep 29 14:52:56 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Fri Sep 29 14:52:56 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Utility/WXUtility.m | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8eef91fb/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
index 81b2ecd..621cf68 100644
--- a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
+++ b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
@@ -326,11 +326,12 @@ CGFloat WXFloorPixelValue(CGFloat value)
 }
 
 + (BOOL)isBlankString:(NSString *)string {
-    if (![string isKindOfClass:[NSString class]]) {
-        WXLogError(@"%@ is not a string", string);
+    
+    if (string == nil || string == NULL || [string isKindOfClass:[NSNull class]]) {
         return true;
     }
-    if (string == nil || string == NULL || [string isKindOfClass:[NSNull class]]) {
+    if (![string isKindOfClass:[NSString class]]) {
+        WXLogError(@"%@ is not a string", string);
         return true;
     }
     if ([[string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] length] == 0) {


[15/20] incubator-weex git commit: * [doc] Fixed grammar glitches in set-up-env.

Posted by gu...@apache.org.
* [doc] Fixed grammar glitches in set-up-env.

Updated grammar and expression glitches in "Setup Development
Environment", also added dotWe link to the corresponding Chinese
version of this document.

Bug: WEEX-76


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

Branch: refs/heads/master
Commit: 5a65cc7edcc710d5102ba8f0f330cf7e872e0876
Parents: 5b7516b
Author: Jonathan Dong <do...@aliyun.com>
Authored: Wed Sep 27 23:05:46 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Mon Oct 2 10:52:49 2017 +0800

----------------------------------------------------------------------
 doc/source/cn/guide/set-up-env.md |  4 ++--
 doc/source/guide/set-up-env.md    | 34 +++++++++++++++++-----------------
 2 files changed, 19 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5a65cc7e/doc/source/cn/guide/set-up-env.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/guide/set-up-env.md b/doc/source/cn/guide/set-up-env.md
index 48ae606..222495a 100644
--- a/doc/source/cn/guide/set-up-env.md
+++ b/doc/source/cn/guide/set-up-env.md
@@ -8,7 +8,7 @@ has_chapter_content: true
 
 # 搭建开发环境
 
-使用 dotWe 对 Weex 尝鲜是一个不错的选择,但如果你想更专业的开发 Weex, dotWe 就不怎么够用了。本节会教你如何搭建本地开发环境进行 Weex 开发。
+使用 [dotWe](http://dotwe.org/vue) 对 Weex 尝鲜是一个不错的选择,但如果你想更专业的开发 Weex, dotWe 就不怎么够用了。本节会教你如何搭建本地开发环境进行 Weex 开发。
 
 ## 第一步:安装依赖
 
@@ -129,4 +129,4 @@ $ weex create awesome-project
 </script>
 ```
 
-关于 Weex 语法部分,你可以直接参考 [Vue Guide](https://vuejs.org/v2/guide/),这里不再重复介绍。如果您想了解有关技术详情的更多信息,请继续阅读下一节。并且不要忘记在 dotWe 写代码并随时预览。
+关于 Weex 语法部分,你可以直接参考 [Vue Guide](https://vuejs.org/v2/guide/),这里不再重复介绍。如果您想了解有关技术详情的更多信息,请继续阅读下一节。并且不要忘记在 [dotWe](http://dotwe.org/vue) 写代码并随时预览。

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5a65cc7e/doc/source/guide/set-up-env.md
----------------------------------------------------------------------
diff --git a/doc/source/guide/set-up-env.md b/doc/source/guide/set-up-env.md
index af52bb3..ac52367 100644
--- a/doc/source/guide/set-up-env.md
+++ b/doc/source/guide/set-up-env.md
@@ -1,68 +1,68 @@
 ---
-title: Set Up Development Environment 
+title: Setup Development Environment
 type: guide
 order: 1.1
 version: 2.1
 has_chapter_content: true
 ---
 
-# Set up development environment 
+# Setup Development Environment
 
 Using [dotWe](http://dotwe.org/vue) is a good choice, but if you want to develop locally on your own machine, you will need to set up your development environment.
 
 You will need Node.js and the [Weex CLI](https://github.com/weexteam/weex-toolkit).
 
-You can install Node using [nvm](https://github.com/creationix/nvm) (Simple bash script to manage multiple active node.js versions). Run the following commands in a Terminal after installing nvm:
+Install Node.js using [nvm](https://github.com/creationix/nvm) (Simple bash script to manage multiple active Node.js versions). Run the following commands in a terminal after installing nvm:
 
 ```bash
 $ nvm install 6.10.0
 $ nvm use 6.10.0
 ```
 
-Node.js comes with npm, which lets you install the Weex CLI.
+And `npm` comes with Node.js, with witch you can install the Weex command line tools.
 
-**NOTE: ** After the `weex-toolkit`1.0.8 version, the npm-shrinkwrap.json` npm5 specification has been added to lock the package dependencies, so the npm version <5 needs to be updated by` npm i npm @latest -g` npm version, please confirm whether the version is correct before use.
+**NOTE: ** After upgrading the `weex-toolkit` to v1.0.8, the `npm-shrinkwrap.json` npm 5 specification has been added to lock the package dependencies, it is needed to upgrade your npm version to 5 above by command: `npm install npm @latest -g` if your version is lower than this, please check your npm version before using it.
 
-Run the following command in a Terminal:
+Run the following commands in a terminal:
 
 ```bash
 $ npm install -g weex-toolkit
 $ weex -v
 ```
-You can use 'update@x.x.x' command to update specify version of weex-devtool,weex-previewer,weex-builder and weexpack
+You can use 'weex update <component>@x.x.x' to update weex-devtool, weex-previewer, weex-builder and weexpack to a specific version.
 ```
-weex update weex-devtool@latest //latest sign means install latest version
+weex update weex-devtool@latest // Here latest means to install the latest version
 ```
-**NOTE: ** If you get an error like "permission error", try installing with `sudo`.
 
+**NOTE: ** If you receive an error like "permission error", try another time with `sudo`.
 
-Then you can use the Weex command to verify that the installation is successful:
+Then you can use the Weex command to verify if the installation is successful:
 
 ![](https://img.alicdn.com/tfs/TB1NBhdQXXXXXXzXFXXXXXXXXXX-712-343.png)
 
 ### Generate a new Weex project
 
-You can use the CLI to generate a Weex project called "awesome-project". Run the following command in a Terminal:
+Use the command line tool to generate a Weex project called "awesome-project". Run the following command in a terminal:
 
 ```bash
 $ weex create awesome-project
 ```
 
-Then enter the awesome-project folder, the CLI has been for us to generate a standard project structure.
+Then enter the awesome-project folder, you will see a standard project skeleton has been generated.
 
 ### Usage
 
-We enter the awesome-project folder and install dependencies with the following commands:
+In the awesome-project folder, install dependencies with the following command:
 
 ```bash
 npm install
 ```
 
-Then we run `npm run serve` in root directory to start watch mode and static server.
+Then run `npm run serve` in root directory to start watching mode and static server.
 
-Finally, we can see the Weex page in `http://localhost:8080/index.html`.
+Finally, you can access the Weex page in `http://localhost:8080/index.html`.
 
-You can modify this page in `src/index.vue`. The code is shown below:
+This page can be modified in `src/index.vue`. The codes are shown below:
 
 ```html
 <template>
@@ -96,4 +96,4 @@ You can modify this page in `src/index.vue`. The code is shown below:
 </script>
 ```
 
-If you're curious to learn more about technical details, continue on to the next section. And don't forget to write code at [dotWe](http://dotwe.org) and preview at anytime.
+For more technical details, please continue to read the next section. And don't forget to write and preview your codes at [dotWe](http://dotwe.org/vue).


[09/20] incubator-weex git commit: * [ios] add config to clear data when did receive response

Posted by gu...@apache.org.
* [ios] add config to clear data when did receive response


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

Branch: refs/heads/master
Commit: 70098ce3a1871a40d8fca64ccddddcbb1be549b7
Parents: bf3ab44
Author: acton393 <zh...@gmail.com>
Authored: Sat Sep 30 17:38:18 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Sat Sep 30 17:38:18 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.m | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/70098ce3/ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.m b/ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.m
index e3b58fd..9015625 100644
--- a/ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.m
+++ b/ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.m
@@ -22,6 +22,8 @@
 #import "WXLog.h"
 #import "WXHandlerFactory.h"
 #import "WXSDKError.h"
+#import "WXConfigCenterProtocol.h"
+#import "WXSDKEngine.h"
 
 //deprecated
 #import "WXNetworkProtocol.h"
@@ -138,6 +140,14 @@
     WXLogDebug(@"request:%@ didReceiveResponse:%@ ", request, response);
     
     _response = response;
+    id<WXConfigCenterProtocol> configCenter = [WXSDKEngine handlerForProtocol:@protocol(WXConfigCenterProtocol)];
+    if ([configCenter respondsToSelector:@selector(configForKey:defaultValue:isDefault:)]) {
+        BOOL isDefault;
+        BOOL clearResponseData = [[configCenter configForKey:@"iOS_weex_ext_config.clearResponseDataWhenDidReceiveResponse" defaultValue:@(NO) isDefault:&isDefault] boolValue];
+        if(clearResponseData) {
+            _data = nil;
+        }
+    }
     
     if (self.onResponseReceived) {
         self.onResponseReceived(response);


[13/20] incubator-weex git commit: * [android] add init fail case

Posted by gu...@apache.org.
 * [android] add init fail case


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

Branch: refs/heads/master
Commit: 122aae12d85f9008f9b775f50df7deae90b250be
Parents: 707605e
Author: zshshr <zh...@gmail.com>
Authored: Thu Sep 28 17:52:38 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Sun Oct 1 11:09:19 2017 +0800

----------------------------------------------------------------------
 android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java       | 3 ++-
 .../src/main/java/com/taobao/weex/bridge/WXBridgeManager.java    | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/122aae12/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java b/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java
index 175e96e..3a287cc 100644
--- a/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java
+++ b/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java
@@ -141,7 +141,8 @@ public class WXSDKEngine {
 
   public static boolean isInitialized(){
     synchronized(mLock) {
-      return mIsInit;
+
+      return mIsInit && WXEnvironment.JsFrameworkInit;
     }
   }
 

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/122aae12/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
index ba13bed..16ac34b 100644
--- a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
+++ b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
@@ -895,12 +895,12 @@ public class WXBridgeManager implements Callback,BactchExecutor {
 
   public int callAddElement(String instanceId, String ref,String dom,String index, String callback){
 
-    // if (WXEnvironment.isApkDebugable()) {
+    if (WXEnvironment.isApkDebugable()) {
       mLodBuilder.append("[WXBridgeManager] callNative::callAddElement >>>> instanceId:").append(instanceId)
               .append(", ref:").append(ref).append(", dom:").append(dom).append(", callback:").append(callback);
       WXLogUtils.d(mLodBuilder.substring(0));
       mLodBuilder.setLength(0);
-    // }
+    }
 
     if(mDestroyedInstanceId!=null && mDestroyedInstanceId.contains(instanceId)){
       return IWXBridge.DESTROY_INSTANCE;


[05/20] incubator-weex git commit: * [ios] revert nil placeholder value

Posted by gu...@apache.org.
* [ios] revert nil placeholder value


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

Branch: refs/heads/master
Commit: 05053f02559f9c6cabbfed8858ac4cb1fbb70eb1
Parents: 8eef91f
Author: acton393 <zh...@gmail.com>
Authored: Fri Sep 29 14:54:20 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Fri Sep 29 14:54:20 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/05053f02/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
index 1183e38..90c29a1 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
@@ -376,7 +376,7 @@ WX_EXPORT_METHOD(@selector(save:))
 {
     NSString *placeholderSrc = self.placeholdSrc;
     
-    if (!placeholderSrc || [WXUtility isBlankString:placeholderSrc]) {
+    if ([WXUtility isBlankString:placeholderSrc]) {
         return;
     }
     


[02/20] incubator-weex git commit: * [ios] cancel useless error log

Posted by gu...@apache.org.
* [ios] cancel useless error log


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

Branch: refs/heads/master
Commit: 5eb1cf06d1681d2d58b9d7b664c817ed2bd0a7c4
Parents: f40f25f
Author: acton393 <zh...@gmail.com>
Authored: Thu Sep 28 12:01:05 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Thu Sep 28 12:01:05 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5eb1cf06/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
index 90c29a1..1183e38 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
@@ -376,7 +376,7 @@ WX_EXPORT_METHOD(@selector(save:))
 {
     NSString *placeholderSrc = self.placeholdSrc;
     
-    if ([WXUtility isBlankString:placeholderSrc]) {
+    if (!placeholderSrc || [WXUtility isBlankString:placeholderSrc]) {
         return;
     }