[GitHub] incubator-weex issue #518: + [ios] update input number type; change nsassert...

2017-07-19 Thread mlcldh
Github user mlcldh commented on the issue:

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

WXAnimationDelegate里面_animationInfo.target如果为空时,调用_animationInfo.target->_transform会导致崩溃!不知道为什么访问_transform非要写成这种形式,这种形式很容易导致崩溃……最近我们å
…¬å¸web前端写的weex只要使用动画,就非常容易崩溃!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #465: * [ios] fix: crash while deleting header in secti...

2017-07-19 Thread mlcldh
Github user mlcldh commented on the issue:

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

WXAnimationDelegate里面_animationInfo.target如果为空时,调用_animationInfo.target->_transform会导致崩溃!不知道为什么访问_transform非要写成这种形式,这种形式很容易导致崩溃……最近我们å
…¬å¸web前端写的weex只要使用动画,就非常容易崩溃!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #519: * [jsfm] js framework version update to 0....

2017-07-19 Thread atomtong
GitHub user atomtong opened a pull request:

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

* [jsfm] js framework version update to 0.21.1

 js framework version update to 0.21.1 including Vue features

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

$ git pull https://github.com/atomtong/incubator-weex 0.15-dev-feature-jsfm

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

https://github.com/apache/incubator-weex/pull/519.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 #519


commit 161f897f926bba386b1e6a01d4873815cefd6508
Author: atomtong 
Date:   2017-07-19T07:00:26Z

* [jsfm] js framework version update to 0.21.1




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #518: + [ios] update input number type; change nsassert...

2017-07-19 Thread weex-bot
Github user weex-bot commented on the issue:

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





  

  
  Warnings

  
  
  :warning:
  No Changelog changes!

  

  :warning:
  This PR modify SDK code without add/modify testcases.

  

  :warning:
  This PR should update related documents as well. 

  




  

  
  Messages

  
  
  :book:
  According to the blame info, we recommended @Jinjiang to be the 
reviewers.

  




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




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #466: * [ios] make framework dynamic load

2017-07-19 Thread weex-bot
Github user weex-bot commented on the issue:

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




  

  
  Fails

  
  
  :no_entry_sign:
  This PR modify SDK code. Please add/modify corresponding 
testcases. If it is ok, please comment about it. Or put '@notdanger' in you 
commit message.

  




  

  
  Warnings

  
  
  :warning:
  No Changelog changes!

  

  :warning:
  This PR should update related documents as well. 

  




  

  
  Messages

  
  
  :book:
  According to the blame info, we recommended @boboning , @kfeagle 
to be the reviewers.

  




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




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


incubator-weex git commit: * [doc] update input components document & bubble document

2017-07-19 Thread tancy
Repository: incubator-weex
Updated Branches:
  refs/heads/dev 3b9b5a542 -> bf874113e


* [doc] update input components document & bubble document


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

Branch: refs/heads/dev
Commit: bf874113e47186bf11903db829d1a77765ad18c3
Parents: 3b9b5a5
Author: tancy 
Authored: Wed Jul 19 15:12:22 2017 +0800
Committer: tancy 
Committed: Wed Jul 19 15:12:22 2017 +0800

--
 doc/source/_posts/coreml.md  | 79 +++
 doc/source/_posts/hello_world.md |  3 +-
 doc/source/_posts/test.md| 14 
 doc/source/cn/references/bubble.md   |  4 +-
 doc/source/cn/references/components/input.md | 34 +-
 doc/source/cn/v-0.10/references/bubble.md|  6 +-
 doc/source/references/bubble.md  |  4 +-
 doc/source/references/components/input.md| 34 +-
 doc/source/v-0.10/references/bubble.md   |  8 +--
 9 files changed, 142 insertions(+), 44 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/bf874113/doc/source/_posts/coreml.md
--
diff --git a/doc/source/_posts/coreml.md b/doc/source/_posts/coreml.md
new file mode 100644
index 000..c628fb3
--- /dev/null
+++ b/doc/source/_posts/coreml.md
@@ -0,0 +1,79 @@
+title: Weex ❤️ iOS 11 系列之一:Core ML 初探
+type: blog
+date: 2017-06-21 15:46:44
+
+---
+
+## 背景
+
+WWDC 2017 有一个非常明确的信号:**端上机器学习
将会是未来苹果的一个重要发力点,同时开发者
的使用门槛在不断降低**。
+
+Core ML 是今年 WWDC 上苹果发布的机器学习框架。它å…
è®¸å¼€å‘者在自己开发的 app 上使用机器学习
,同时不需要收集用户数据。 有了 Core ML,你
可以将自己训练得到的模型,借助苹果提供的转换工å…
·ï¼Œè½¬åŒ–成 Core ML 类型的模型文件,你
可以非常轻松地直接实现模型和 app 数据的互通。
+
+WWDC 上展示了一张简单的架构图:
+
+![屏幕快照 2017-06-20 
下午8.50.21](https://gw.alicdn.com/tfs/TB1YT5dRVc1XFXX-498-392.png)
+
+最底层的 Accelerate 和 MPS,其实是苹果去年推出的接口,前者
可以直接调用 CPU,后者则直接调用 GPU。 Core ML 
会自行决定到底使用 CPU 还是 GPU 
来进行运算,可以最大程度地利用硬件资源来处理模型数据。
+
+而 Core ML 往上一层则是应用层。Vision 主要负责图像相å…
³çš„人工智能处理,如人脸识别、面部追踪、文字识别等等;NLP
 则提供语义分析相关 API。这部分内容在以前版本的 SDK 
中也存在,这次被集成到了新框架当中。好处在于,开发者
拥有了更大的自由度。在以前,开发者的 app 
调用这些高级接口,对底层的实现细节的掌控力度非常小。现在,ä½
 å¯ä»¥é€šè¿‡è‡ªå®šä¹‰åº•å±‚所使用的机器学习
模型,从而实现更个性化的需求。
+
+## Weex-ML
+
+Weex 交互视觉能力小结中提到,**Weex 最大的特别之处在于其 
native 的能力, 我们要最大化利用 native 的特性, 
而不是去模仿它**。
+
+作为本次 iOS 11 的一个重要 native 
能力,我也第一时间尝试将 Core ML 透传到了 Weex 上。所有代ç 
å’Œ Demo 都已开源到 
[Github](https://github.com/cxfeng1/Weex-ML),后续也会将机器学习相å…
³çš„Weex 模块统一放到 Weex Market 上。
+
+得益于 Core ML API 的简洁,在 Weex 上使用 Core ML 相å…
³èƒ½åŠ›å˜å¾—非常简单:
+
+```javascript
+let imageRecognition = weex.requireModule('imageRecognition')
+imageRecognition.predictWithImage(this.$refs.image.ref, (results)=>{
+  this.results = results.slice(0,5);
+})
+```
+
+通过调用透传的 module `imageRecognition` , 并传入 image 组件的 
ref 
作为参数,就可以实现图片识别的功能,最后提取出识别结果中
 confidence 最高的 5 个结果。
+
+## Demo
+
+### imageRecognition
+
+![](https://gw.alicdn.com/tfs/TB1AmqgRVcmXFXX-240-427.gif)
+
+使用 
[Inceptionv3](https://github.com/fchollet/keras/blob/0bb4e0fad5b4bb3743c8a7d03c260b62a35e7045/keras/applications/inception_v3.py)
 作为模型,能够高效识别, 该模型已经在 
[keras](https://github.com/fchollet/keras) 
中被训练好并通过苹果提供的工具转换成 **mlmodel** 文件, 
只需拖拽的方式就可以集成到 iOS 开发环境中, 上述 demo 
输出了对一张图片分类最大可能的5个预测结果, 对于 Weex 
来说,几行代码就能搞定。
+
+
+
+### digitDetect
+
+![](ht

[GitHub] incubator-weex issue #518: + [ios] update input number type; change nsassert...

2017-07-19 Thread mlcldh
Github user mlcldh commented on the issue:

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

WXAnimationDelegate里面_animationInfo.target如果为空时,调用_animationInfo.target->_transform会导致崩溃!不知道为什么访问_transform非要写成这种形式,这种形式很容易导致崩溃……最近我们å
…¬å¸web前端写的weex只要使用动画,就非常容易崩溃!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #518: + [ios] update input number type; change nsassert...

2017-07-19 Thread kfeagle
Github user kfeagle commented on the issue:

https://github.com/apache/incubator-weex/pull/518
  
@mlcldh can you provide your demo and weexsdk version?
I find weexsdk judge _animationInfo.target in the code

https://github.com/apache/incubator-weex/blob/0.15-dev/ios/sdk/WeexSDK/Sources/Module/WXAnimationModule.m#L88
  weex sdk 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


incubator-weex git commit: * [doc] Change the doc of timer.

2017-07-19 Thread kyork
Repository: incubator-weex
Updated Branches:
  refs/heads/0.15-dev 10a074fd5 -> fb2ca3298


* [doc] Change the doc of timer.


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

Branch: refs/heads/0.15-dev
Commit: fb2ca329800a7d11d692f1f024ddb3caee4abd6f
Parents: 10a074f
Author: YorkShen 
Authored: Wed Jul 19 16:17:20 2017 +0800
Committer: YorkShen 
Committed: Wed Jul 19 16:17:20 2017 +0800

--
 doc/source/cn/references/modules/timer.md | 2 +-
 doc/source/references/modules/timer.md| 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/fb2ca329/doc/source/cn/references/modules/timer.md
--
diff --git a/doc/source/cn/references/modules/timer.md 
b/doc/source/cn/references/modules/timer.md
index 7bc87bb..3ac0c71 100644
--- a/doc/source/cn/references/modules/timer.md
+++ b/doc/source/cn/references/modules/timer.md
@@ -8,7 +8,7 @@ version: 0.10
 Weex Timer可以用来延时启动一个一次性任务或者
重复任务。Timer会尽最大努力提供精确的延时,但是延时可能并不精确,延时时间很可能会è¶
…过用户期望的时间。实际上,timer仅仅
是为了支持HTML5中的polyfill,*不建议*开发者直接使用timer.
 
 ## API
-Timer中延时的单位是毫秒,且延时时间应该为一个非负的int值(int值最大为0x7F).如果延时时间为负数或è€
…零,timer会将延时时间重置为0,即将该任务马上插å…
¥ä»»åŠ¡é˜Ÿåˆ—的尾部。
+Timer中延时的单位是毫秒,且延时时间应该为一个非负的**int**值(int值最大为0x7F).如果延时时间为零,会将该任务马上插å
…¥ä»»åŠ¡é˜Ÿåˆ—的尾部。对于其他非法值,timer的行为未定义。
 
 ### setTimeout(fn, timeout)
 `setTimeout()`会等待指定的时间,然后执行给出的函数。

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/fb2ca329/doc/source/references/modules/timer.md
--
diff --git a/doc/source/references/modules/timer.md 
b/doc/source/references/modules/timer.md
index 6813d28..9e7da63 100644
--- a/doc/source/references/modules/timer.md
+++ b/doc/source/references/modules/timer.md
@@ -11,8 +11,7 @@ Actually, this module is made for the polyfill of HTML5 timer 
APIs, developers *
 
 ## API
 
-All timeout or interval in this module are measured in milliseconds.
-Also, timeout and interval should be a non-negative integer(the max of integer 
is 0x7FFF). If timeout or interval is negative, then it will be reset to 
zero, e.g. the task will be put in the task queue immediately. 
+All timeout or interval in this module are measured in milliseconds. Also, 
timeout and interval should be a non-negative **integer**(the max of integer is 
0x7FFF). The behavior of invalid value for timeout or interval is undefined.
 
 ### setTimeout(fn, timeout)
 



[GitHub] incubator-weex issue #518: + [ios] update input number type; change nsassert...

2017-07-19 Thread mlcldh
Github user mlcldh commented on the issue:

https://github.com/apache/incubator-weex/pull/518
  
iOS weex版本是0.12.0,你们封装
使用的使用的是多线程,针对_animationInfo.target的保护可能无
效,不一定啥时候_animationInfo.target为空了。反正我们每次这里崩溃都是å›
 ä¸º_animationInfo.target为空,并且->_transform。


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #518: + [ios] update input number type; change nsassert...

2017-07-19 Thread kfeagle
Github user kfeagle commented on the issue:

https://github.com/apache/incubator-weex/pull/518
  
@mlcldh please provide one simple demo:-)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #518: + [ios] update input number type; change nsassert...

2017-07-19 Thread mlcldh
Github user mlcldh commented on the issue:

https://github.com/apache/incubator-weex/pull/518
  
我们使用的iOS weex版本是0.12.0。
还有一个问题,打开weex页面,然后返回在打开,内
存会越来越大,最后收到内
存警告,然后再是一两次就崩溃了。估计是因为内存占
用太大,被系统杀死了。iOS weex SDK里应该是有内存泄漏。

我们里面dealloc方法走了,我们在dealloc里调用了WXSDKInstance的destroyInstance方法。


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #520: 0.15 dev feature page name not setting

2017-07-19 Thread atomtong
GitHub user atomtong opened a pull request:

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

0.15 dev feature page name not setting

 + if render pageName setting Incorrect .in debug mode sdkinstance will 
render a default error page instead. 

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

$ git pull https://github.com/atomtong/incubator-weex 
0.15-dev-feature-pageName-not-setting

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

https://github.com/apache/incubator-weex/pull/520.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 #520


commit 0f2748ce686ec9f8ec2ea131cd903fb51643f18a
Author: 栗子 <2470642...@qq.com>
Date:   2017-06-08T12:24:40Z

Merge branch '0.14-dev' into feature-drag-list

commit 45cb5f0a42a82e1baec75a3b8d7d9b7608416cae
Author: Rowandjj 
Date:   2017-06-08T12:59:09Z

* [android] fix import

commit 4513ef340098e2fb573bed7c5c4234b246992327
Author: MrRaindrop 
Date:   2017-06-09T03:09:54Z

* [html5] fix watching appear on composing component.

commit d7a0a3a6f7594b5b1dbba9dabe3afabe0a7ac31b
Author: MrRaindrop 
Date:   2017-06-09T03:24:11Z

* [html5] adjust lazyload detecting frequency.

commit 23c815ee435fcfdafea08d0f28b8aeb75467729a
Author: MrRaindrop 
Date:   2017-06-09T03:26:51Z

* [html5] hide scrollbar.

commit d35a927f0a85e6be64ba6880944090c8ca51cc1b
Author: moxun 
Date:   2017-06-09T05:04:09Z

Merge branch '0.14-dev' into android-bugfix-list-onscroll

commit 660efaac05c4d68e413da84700fb7a4fbc081b99
Author: acton393 
Date:   2017-06-09T06:21:48Z

Merge branch '0.14-dev-rotate3D' of 
https://github.com/acton393/incubator-weex into wip-us-0.14-dev

commit 0d61f2b07ddf8a6b83eef6ea1d25abe6a791f521
Author: acton393 
Date:   2017-06-09T07:09:49Z

* [ios] cancel fire app background and foreground event when view disappear 
and appear

commit 8da1964d660bcb9b95df145c04454800e51d4c7e
Author: 齐山 
Date:   2017-06-09T07:10:09Z

+ [ios] update dom to call native

commit 149d3ea429ab867ae54aacd30b31725f30fbee26
Author: 御魂 
Date:   2017-06-09T10:14:46Z

 fix dingding crash
 Fix 32bit put by value operation array mode selection bug.
 This is caused by value profile data is changed during fast case and slow 
case.

commit 8628cdd7f6da790c36fdaae684fbea88d17be833
Author: 御魂 
Date:   2017-06-09T10:49:27Z

 jsc X86 platform support

commit e377bc395f99299b0e98b7a0e579351bf04627a7
Author: MrRaindrop 
Date:   2017-06-10T03:51:05Z

Merge branch '0.14-dev' into 0.14-dev-web

commit cedf279f7e36d057f67681209c4b0ac51f855730
Author: MrRaindrop 
Date:   2017-06-10T03:55:56Z

Merge branch '0.14-dev' into 0.14-dev-web

commit 2f748ac8d7e0e4d73dc9c2561cc0f6cfee45a0fb
Author: sospartan 
Date:   2017-06-12T03:13:22Z

* [test] add image#onload to border test

commit 202c180bb79b31bf8ead8378f60967d048c868a0
Author: sospartan 
Date:   2017-06-12T04:28:36Z

* [test] parameter test serve port

commit fefe2e8a8787b126c22c227dbac39bb979300579
Author: YorkShen 
Date:   2017-06-12T04:06:43Z

* [android] Fix the problem of clearTimeout and clearInterval.

Due the implementation of [int 
auto-boxing](https://stackoverflow.com/questions/3130311/weird-integer-boxing-in-java)
 and 
[messageQueue](https://stackoverflow.com/questions/36190851/android-os-handler-removemessages-doesnt-work-when-poxing-value-type-as-msg-obj),
 clearTimeout and clearTimeout won't work when funId is greater than 127. It 
works fine when funId is smaller than 127.

Ref this [demo](http://dotwe.org/vue/1c7b541231eb86db98afe3c1b48bcdcc)

commit 8c705e9aa602be0316939d0ff1f658126d30abf2
Author: hao.haoh 
Date:   2017-06-12T06:58:18Z

modify activity event

commit 6397f4ab1fd3a67b392ec95bf6db2e9facce2013
Author: sospartan 
Date:   2017-06-12T06:42:49Z

* [all] add mail notifiy to travis

commit 8e1cc1f62b6f5689bb91bedb4f20786f2b3e03b6
Author: sospartan 
Date:   2017-06-12T06:42:49Z

* [all] add mail notifiy to travis

commit 4d2a91fa639533960332c1566f98252b1a8b
Author: moxun.ljf 
Date:   2017-06-12T08:10:06Z

* [android] remove some reference of DomObject on input

commit d2715ffe211c144d0a1d248d31920a5ed843bd08
Author: acton393 
Date:   2017-06-12T09:43:46Z

* [ios] cache attributedString for improve performance while draw Text

commit 39a7625cc76b2e6c1fcc10992b61392201addde8
Author: 齐山 
Date:   2017-06-12T11:32:09Z

+ [ios] update slider for maraca case

commit e8a575fd2c227f5b8736ac92a9f06518627a8908
Author: 齐山 
Date:   2017-06-12T11:34:13Z

+ [ios] delete no use log

commit 2242b736a259657b3dfb30369f597e0d25a4e490
Author: acton393 
Date:   2017-06-12T11:40:00Z

* [ios] add system frameworks for WeexSDK.podspec

commit 0f963d5103db1de40929590bd9d0edb3f8e54850
Author: sospartan 
Date:   2017-06-12T11:44:11Z

* [test] fix npm script argument

co

[GitHub] incubator-weex pull request #520: 0.15 dev feature page name not setting

2017-07-19 Thread atomtong
Github user atomtong closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #521: if render pageName setting Incorrect .in d...

2017-07-19 Thread atomtong
GitHub user atomtong opened a pull request:

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

 if render pageName setting Incorrect .in debug mode sdkinstance will 
render a default error page instead

+ if render pageName setting Incorrect .in debug mode sdkinstance will 
render a default error page instead

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

$ git pull https://github.com/atomtong/incubator-weex 
0.15-dev-feature-pageName-not-setting

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

https://github.com/apache/incubator-weex/pull/521.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 #521


commit 6f840d926a69dd8c85216cb6ad08b8b8c6c5e958
Author: atomtong 
Date:   2017-07-19T08:46:37Z

* [android] pageName if not set page will nav to a default weex page in 
debug mode

commit d395102c1bee7f037d912a1a0c688567d36a028d
Author: atomtong 
Date:   2017-07-19T09:10:05Z

Merge branch '0.15-hub-dev' into 0.15-dev-feature-pageName-not-setting

* 0.15-hub-dev:
  * [doc] Change the doc of timer.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #518: + [ios] update input number type; change nsassert...

2017-07-19 Thread mlcldh
Github user mlcldh commented on the issue:

https://github.com/apache/incubator-weex/pull/518
  
@kfeagle 我建议你们在weex 
sdk里集成崩溃日志统计,统计后台用你们的。


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #521: if render pageName setting Incorrect .in debug mo...

2017-07-19 Thread weex-bot
Github user weex-bot commented on the issue:

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




  

  
  Fails

  
  
  :no_entry_sign:
  This PR modify SDK code. Please add/modify corresponding 
testcases. If it is ok, please comment about it. Or put '@notdanger' in you 
commit message.

  




  

  
  Warnings

  
  
  :warning:
  No Changelog changes!

  

  :warning:
  This PR should update related documents as well. 

  





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




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


incubator-weex git commit: *[doc] add color-name file color block

2017-07-19 Thread tancy
Repository: incubator-weex
Updated Branches:
  refs/heads/dev bf874113e -> 8a5e0ee78


*[doc] add color-name file color block


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

Branch: refs/heads/dev
Commit: 8a5e0ee7819e2c085b17fafc9b2ff6b86a3b4b46
Parents: bf87411
Author: tancy 
Authored: Wed Jul 19 17:15:49 2017 +0800
Committer: tancy 
Committed: Wed Jul 19 17:15:49 2017 +0800

--
 doc/themes/weex/source/js/common.js | 22 ++
 1 file changed, 22 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8a5e0ee7/doc/themes/weex/source/js/common.js
--
diff --git a/doc/themes/weex/source/js/common.js 
b/doc/themes/weex/source/js/common.js
index 3e92ba4..c3f6631 100644
--- a/doc/themes/weex/source/js/common.js
+++ b/doc/themes/weex/source/js/common.js
@@ -105,6 +105,28 @@
 
   initPickLang()
 
+ /**
+   * color name
+   */
+
+  function colorname(){
+if(location.pathname.indexOf('references/color-names.html')>0){
+  var t = document.querySelectorAll("table");
+  Array.prototype.forEach.call(t, function (table) {
+  var d = 
table.getElementsByTagName("tbody")[0].getElementsByTagName("tr");
+  Array.prototype.forEach.call(d, function (tr) {
+var r = tr.getElementsByTagName("td")[1];
+r.innerHTML =' yy   ' + r.innerHTML
+  });
+
+  });
+}
+  }
+
+  colorname();
+
+
+
   /**
*  Search
*/



[2/3] incubator-weex git commit: * [jsfm] js framework version update to 0.21.1

2017-07-19 Thread sospartan
* [jsfm] js framework version update to 0.21.1


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

Branch: refs/heads/0.15-dev
Commit: 161f897f926bba386b1e6a01d4873815cefd6508
Parents: 10a074f
Author: atomtong 
Authored: Wed Jul 19 15:00:26 2017 +0800
Committer: atomtong 
Committed: Wed Jul 19 15:00:26 2017 +0800

--
 pre-build/native-bundle-main.js | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)
--




[GitHub] incubator-weex pull request #519: * [jsfm] js framework version update to 0....

2017-07-19 Thread asfgit
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[1/3] incubator-weex git commit: * [jsfm] js framework version update to 0.21.1

2017-07-19 Thread sospartan
Repository: incubator-weex
Updated Branches:
  refs/heads/0.15-dev fb2ca3298 -> a679aab2d


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/161f897f/pre-build/native-bundle-main.js
--
diff --git a/pre-build/native-bundle-main.js b/pre-build/native-bundle-main.js
index 791f79d..6479a10 100644
--- a/pre-build/native-bundle-main.js
+++ b/pre-build/native-bundle-main.js
@@ -1,8 +1,8 @@
-(this.nativeLog||function(e){console.log(e)})("START JS FRAMEWORK 0.20.9, 
Build 2017-05-23 15:00."),this.getJSFMVersion=function(){return"0.20.9"};var 
global=this,process={env:{}},setTimeout=global.setTimeout;!function(e,t){"object"==typeof
 exports&&"undefined"!=typeof module?t():"function"==typeof 
define&&define.amd?define(t):t()}(0,function(){"use strict";function 
e(e){return e&&e.__esModule?e.default:e}function t(e,t){return 
t={exports:{}},e(t,t.exports),t.exports}function n(){if(o(),void 
0===global.console||global.WXEnvironment&&"iOS"===global.WXEnvironment.platform)global.console={debug:function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&global.nativeLog.apply(global,a(e).concat(["__DEBUG"]))},log:function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&global.nativeLog.apply(global,a(e).concat(["__LOG"]))},info:function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&global.nativeLog.apply(global,a(e).concat(["__
 INFO"]))},warn:function(){for(var 
e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&global.nativeLog.apply(global,a(e).concat(["__WARN"]))},error:function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];i("error")&&global.nativeLog.apply(global,a(e).concat(["__ERROR"]))}};else{var
 
e=console.debug,t=console.log,n=console.info,r=console.warn,s=console.error;console.__ori__={debug:e,log:t,info:n,warn:r,error:s},console.debug=function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var
 e=[],t=arguments.le
 
ngth;t--;)e[t]=arguments[t];i("error")&&console.__ori__.error.apply(console,e)}}}function
 r(){Ss={},global.console=xs}function o(){Es.forEach(function(e){var 
t=Es.indexOf(e);Ss[e]={},Es.forEach(function(n){Es.indexOf(n)<=t&&(Ss[e][n]=!0)})})}function
 i(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return 
Ss[t]&&Ss[t][e]}function a(e){return e.map(function(e){return e="[object 
object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}function
 s(){if(void 0===setTimeout&&"function"==typeof Cs){var 
e={},t=0;global.setTimeout=function(n,r){e[++t]=n,Cs(t.toString(),r)},global.setTimeoutCallback=function(t){"function"==typeof
 e[t]&&(e[t](),delete e[t])}}}function 
u(){global.setTimeout=ks,global.setTimeoutCallback=null}function 
c(){Object.freeze(Object),Object.freeze(Array),l(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),f(),Object.freeze(Date.prototype),
 Object.freeze(RegExp.prototype)}function l(){var 
e=Object.prototype,t="Object.prototype";d(e,"__defineGetter__",t),d(e,"__defineSetter__",t),d(e,"__lookupGetter__",t),d(e,"__lookupSetter__",t),d(e,"constructor",t),d(e,"hasOwnProperty",t),d(e,"isPrototypeOf",t),d(e,"propertyIsEnumerable",t),d(e,"toLocaleString",t),d(e,"toString",t),d(e,"valueOf",t),Object.seal(e)}function
 f(){var 
e=Error.prototype,t="Error.prototype";d(e,"name",t),d(e,"message",t),d(e,"toString",t),d(e,"constructor",t),Object.seal(e)}function
 d(e,t,n){if(e.hasOwnProperty(t)){var 
r=e[t];Object.defineProperty(e,t,{get:function(){return 
r},set:function(r){if(this===e)throw Error("Cannot assign to read only property 
"+t+" of "+n);return 
Object.defineProperty(this,t,{value:r,writable:!0}),r}})}}function 
p(e,t){e&&(As[e]=t)}function h(e){return As[e]}function v(e){delete 
As[e]}function m(e){var t=As[e];return 
t&&t.taskCenter?t.taskCenter:null}function y(){return(Is++).toString()}function 
_(e,t,n){var r=e.documentElement;if
 (!(r.pureChildren.length>0||t.parentNode)){var 
o=r.children,i=o.indexOf(n);i<0?o.push(t):o.splice(i,0,t),1===t.nodeType?("body"===t.role?(t.docId=e.id,t.ownerDocument=e,t.parentNode=r,w(t,r)):(t.children.forEach(function(e){e.parentNode=t}),b(e,t),t.docId=e.id,t.ownerDocument=e,w(t,r),delete
 
e.nodeMap[t.nodeId]),r.pureChildren.push(t),g(e,t)):(t.parentNode=r,e.nodeMap[t.ref]=t)}}function
 g(e,t){var n=t.toJSON(),r=n.children;delete n.children;var 
o=e.taskCenter.send("dom",{action

[3/3] incubator-weex git commit: Merge branch '0.15-dev-feature-jsfm' of http://github.com/atomtong/incubator-weex into 0.15-dev

2017-07-19 Thread sospartan
Merge branch '0.15-dev-feature-jsfm' of 
http://github.com/atomtong/incubator-weex into 0.15-dev


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

Branch: refs/heads/0.15-dev
Commit: a679aab2dc60f06ee613b10250a30ffe3e39a1e0
Parents: fb2ca32 161f897
Author: sospartan 
Authored: Thu Jul 20 11:10:17 2017 +0800
Committer: sospartan 
Committed: Thu Jul 20 11:10:17 2017 +0800

--
 pre-build/native-bundle-main.js | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)
--




[1/3] incubator-weex git commit: remove debug log

2017-07-19 Thread sospartan
Repository: incubator-weex
Updated Branches:
  refs/heads/0.15-dev a679aab2d -> da562689a


 remove debug 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/a9c7aaf2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/a9c7aaf2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/a9c7aaf2

Branch: refs/heads/0.15-dev
Commit: a9c7aaf20f0655459181275564fa0533c0fff3b9
Parents: 4f48356
Author: 御魂 
Authored: Fri Jul 14 14:05:22 2017 +0800
Committer: 御魂 
Committed: Fri Jul 14 14:05:22 2017 +0800

--
 android/sdk/src/main/java/com/taobao/weex/dom/WXDomModule.java | 1 -
 1 file changed, 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a9c7aaf2/android/sdk/src/main/java/com/taobao/weex/dom/WXDomModule.java
--
diff --git a/android/sdk/src/main/java/com/taobao/weex/dom/WXDomModule.java 
b/android/sdk/src/main/java/com/taobao/weex/dom/WXDomModule.java
index cd9180e..ab80ff2 100644
--- a/android/sdk/src/main/java/com/taobao/weex/dom/WXDomModule.java
+++ b/android/sdk/src/main/java/com/taobao/weex/dom/WXDomModule.java
@@ -92,7 +92,6 @@ public final class WXDomModule extends WXModule {
 if (method == null) {
   return null;
 }
-WXLogUtils.e("shiwentao  callDomMethod:" + method);
 //TODO:add pooling
 try {
   Action action = Actions.get(method,args);



[2/3] incubator-weex git commit: Merge branch '0.15-dev-feature-jsfm' into 0.15-dev

2017-07-19 Thread sospartan
Merge branch '0.15-dev-feature-jsfm' into 0.15-dev

* 0.15-dev-feature-jsfm:
  * [jsfm] js framework version update to 0.21.1
  * [android] fix invalid init index
  + [ios] delete ;
  + [ios] update default to cycslider
  * [ios] add more note about get component method @nodanger
  * [ios] get component rectangle when component view is not ready
  + [ios] update default to cycslider
  * [ios] fix text compatible  problem
  * [doc] Update doc of timer.
  * [html5] bind click listener to event tap.
  * [ios] add some change note.
  *[ios] fix bug in linear-gradient color update
  * [android] fix invalid init index
  * [android] fix invalid init index
  * [android] fix invalid init index
  * [android] fix bug that WXText lines cannot be reset


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

Branch: refs/heads/0.15-dev
Commit: e1df3db3ef12a3459ee1f0a4935d773509db35ad
Parents: a9c7aaf 161f897
Author: atomtong 
Authored: Wed Jul 19 15:32:15 2017 +0800
Committer: atomtong 
Committed: Wed Jul 19 15:32:15 2017 +0800

--
 .../com/taobao/weex/dom/WXTextDomObject.java|   4 +-
 .../com/taobao/weex/ui/component/WXSlider.java  |  10 +-
 doc/source/cn/references/modules/timer.md   |  47 +
 doc/source/references/modules/timer.md  |  59 +++
 .../vue/components/scrollable/list/index.js |   3 +-
 .../vue/components/scrollable/scroller.js   |   3 +-
 .../vue/components/scrollable/waterfall.js  |   3 +-
 .../render/vue/components/slider/slideMixin.js  |  17 +-
 html5/render/vue/core/node.js   | 172 ++-
 html5/render/vue/env/wx-env.js  |   2 +-
 html5/render/vue/mixins/base.js |  16 +-
 html5/render/vue/mixins/scrollable.js   |  18 +-
 html5/render/vue/utils/style.js |  30 +++-
 html5/test/render/vue/core/node.js  |  22 ++-
 .../WeexSDK/Sources/Component/WXTextComponent.m |   7 +-
 .../WeexSDK/Sources/Layout/WXComponent+Layout.m |   2 +-
 ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m   |   2 +-
 ios/sdk/WeexSDK/Sources/Module/WXDomModule.m|   8 +-
 .../Sources/View/WXComponent+ViewManagement.m   |   4 +
 package.json|   2 +-
 packages/weex-vue-render/package.json   |   8 +-
 pre-build/native-bundle-main.js |  16 +-
 22 files changed, 355 insertions(+), 100 deletions(-)
--




[3/3] incubator-weex git commit: Merge branch '0.15-dev' of gitlab.alibaba-inc.com:weex/weex into 0.15-dev

2017-07-19 Thread sospartan
Merge branch '0.15-dev' of gitlab.alibaba-inc.com:weex/weex into 0.15-dev


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

Branch: refs/heads/0.15-dev
Commit: da562689aec6678bb8c7217b859d54e363c8e0ff
Parents: a679aab e1df3db
Author: sospartan 
Authored: Thu Jul 20 11:16:54 2017 +0800
Committer: sospartan 
Committed: Thu Jul 20 11:16:54 2017 +0800

--
 android/sdk/src/main/java/com/taobao/weex/dom/WXDomModule.java | 1 -
 1 file changed, 1 deletion(-)
--




[GitHub] incubator-weex pull request #522: 0.13 dev why download ios SDK not find Wee...

2017-07-19 Thread MrDragonn
GitHub user MrDragonn opened a pull request:

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

0.13 dev why download  ios SDK not find WeexSDK.podspec

为什么现在下载的ios SDK文件夹里没有了WeexSDK.podspec文件

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

$ git pull https://github.com/apache/incubator-weex 0.13-dev

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

https://github.com/apache/incubator-weex/pull/522.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 #522


commit 087660929cf4c89f6ae42258a22150767a934ce5
Author: zshshr 
Date:   2017-06-06T02:23:51Z

* [android] parallax multiple scroller binding

commit 53cf474a2944d1ecbd2bdc4158557d1665b9aabb
Author: zshshr 
Date:   2017-06-06T02:24:42Z

+ [android] add parallax component as demo

commit b24f1ab7e89002bc0268884a8c306e1a4b7091fe
Author: zshshr 
Date:   2017-06-06T02:25:34Z

* [android] enlarge LOW_MEM_VALUE to avoid crash

commit 149d3ea429ab867ae54aacd30b31725f30fbee26
Author: 御魂 
Date:   2017-06-09T10:14:46Z

 fix dingding crash
 Fix 32bit put by value operation array mode selection bug.
 This is caused by value profile data is changed during fast case and slow 
case.

commit 8628cdd7f6da790c36fdaae684fbea88d17be833
Author: 御魂 
Date:   2017-06-09T10:49:27Z

 jsc X86 platform support

commit 4d2a91fa639533960332c1566f98252b1a8b
Author: moxun.ljf 
Date:   2017-06-12T08:10:06Z

* [android] remove some reference of DomObject on input

commit 005b74a2c7a6496edf27bf0418147fa0c8576861
Author: sospartan 
Date:   2017-06-15T05:49:33Z

Merge branch '0.13-dev' of gitlab.alibaba-inc.com:weex/weex into 0.13-dev

commit 24de80e5d8481b6b6be9e28dbbc65e72f21ac485
Author: acton393 
Date:   2017-06-12T09:43:46Z

* [ios] cache attributedString for improve performance while draw Text

commit bf30d5f6133f22a05a5e2b9854d1cbf7d752b037
Author: zshshr 
Date:   2017-06-15T07:21:24Z

* [android] native crash fix

commit 833b0da5b36367807b214b16716b029f21c118f9
Author: zshshr 
Date:   2017-06-15T07:23:23Z

Merge branch '0.13-dev' of https://github.com/apache/incubator-weex into 
0.13-dev

* '0.13-dev' of https://github.com/apache/incubator-weex:
  * [ios] cache attributedString for improve performance while draw Text




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #522: 0.13 dev why download ios SDK not find WeexSDK.po...

2017-07-19 Thread weex-bot
Github user weex-bot commented on the issue:

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




  

  
  Fails

  
  
  :no_entry_sign:
  Running your Dangerfile has Failed

  





## Danger has errored

Error: TypeError

```sh
TypeError: diff.match is not a function
at Object. (dangerfile.js:109:24)
at Runtime._execModule 
(/home/travis/build/apache/incubator-weex/node_modules/jest-runtime/build/index.js:446:13)
at Runtime.requireModule 
(/home/travis/build/apache/incubator-weex/node_modules/jest-runtime/build/index.js:294:14)
at 
/home/travis/build/apache/incubator-weex/node_modules/danger/distribution/runner/DangerfileRunner.js:136:33
at ensureCleanDangerfile 
(/home/travis/build/apache/incubator-weex/node_modules/danger/distribution/runner/DangerfileRunner.js:176:5)
at Object. 
(/home/travis/build/apache/incubator-weex/node_modules/danger/distribution/runner/DangerfileRunner.js:135:21)
at step 
(/home/travis/build/apache/incubator-weex/node_modules/danger/distribution/runner/DangerfileRunner.js:32:23)
at Object.next 
(/home/travis/build/apache/incubator-weex/node_modules/danger/distribution/runner/DangerfileRunner.js:13:53)
at 
/home/travis/build/apache/incubator-weex/node_modules/danger/distribution/runner/DangerfileRunner.js:7:71
at __awaiter 
(/home/travis/build/apache/incubator-weex/node_modules/danger/distribution/runner/DangerfileRunner.js:3:12)
```



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




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---