[GitHub] incubator-weex pull request #1373: [jsfm] add try catch for callback functio...

2018-07-24 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] add try catch for callback function and event handler

In practice, most js error happens in the js bundle code, which could be a 
callback function or event handler of js framework. Add try catch on them could 
make js framework more stable and reduce js crashes.

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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-safe-event

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

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


commit 421991e9151df9ece864dcebe067e567f7ff5f53
Author: Hanks 
Date:   2018-07-25T02:40:29Z

[jsfm] add try catch for callback function and event handler




---


[GitHub] incubator-weex pull request #1358: [WEEX-461][jsfm] Remove useless trace fun...

2018-07-23 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[WEEX-461][jsfm] Remove useless trace function in js framework

Stop tracking the DSL type in js framework.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-notrace

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

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


commit 0b2657c1061b8751b66ac2105a9685edc18eefb3
Author: Hanks 
Date:   2018-07-23T08:06:38Z

[WEEX-461][jsfm] remove useless trace function in js framework




---


[GitHub] incubator-weex pull request #1351: [jsfm] Upgrade js framework to v0.27.1

2018-07-19 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Upgrade js framework to v0.27.1

**Support register modules from the native container at runtime.**

+ Listening on the "registerModules" event from native container, and 
register the received white list.
+ Sync available modules between worker and renderers when white list 
change.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-release-0.27

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

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


commit 2bb14e7ace7a20edfb2f42f520fe7639a4545039
Author: Hanks 
Date:   2018-07-20T03:51:51Z

[jsfm] upgrade js framework to v0.27.1




---


[GitHub] incubator-weex pull request #1342: [WEEX-397][jsfm] update build script of j...

2018-07-18 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[WEEX-397][jsfm] update build script of js framework

+ Change the build target of js framework files to the `dist` path instead 
of `pre-build`.
+ Modify the `build_from_source.sh` to copy the correct js framework files 
to the `pre-build` folder.

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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-release-build-script

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

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


commit 31f842f9ac68c78b10da0d3ab89a95d97ee55210
Author: Hanks 
Date:   2018-07-18T08:19:42Z

[WEEX-397][jsfm] update build script of js framework




---


[GitHub] incubator-weex pull request #1321: [jsfm] Upgrade js framework to v0.27.0

2018-07-11 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Upgrade js framework to v0.27.0

+ Fix package format issue.
+ Update module whitelist.
+ Support register modules dynamically.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-upgrade-rax

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

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


commit 0ed59e27a31927312435d61ae98e43197d1c06e2
Author: Hanks 
Date:   2018-07-12T02:59:11Z

[jsfm] upgrade js framework to v0.27.0




---


[GitHub] incubator-weex pull request #1315: [jsfm] Upgrade js framework to v0.26.20

2018-07-10 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Upgrade js framework to v0.26.20

+ Update the module whitelist in rax framework. (Add `getSessionKey` and 
`getSessionKey` method to `wopc` module)

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-upgrade-rax

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

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


commit b4816026c61d4fbbe5f7ad8b9dc4de2b5436e2bd
Author: Hanks 
Date:   2018-07-10T07:17:03Z

[jsfm] upgrade js framework to v0.26.20




---


[GitHub] incubator-weex pull request #1304: [jsfm] Upgrade js framework to v0.26.18

2018-06-29 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Upgrade js framework to v0.26.18

+ Update the module whitelist in Rax.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-upgrade-rax

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

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


commit 21edd99db5e8563592f3e11cfb81fa4d5f4caa69
Author: Hanks 
Date:   2018-06-29T07:42:55Z

[jsfm] upgrade js framework to v0.26.18




---


[GitHub] incubator-weex pull request #1255: * [test] upgrade webpack from 1 to 3

2018-06-26 Thread Hanks10100
Github user Hanks10100 commented on a diff in the pull request:

https://github.com/apache/incubator-weex/pull/1255#discussion_r198371313
  
--- Diff: package.json ---
@@ -134,7 +134,7 @@
 "vue": "2.4.3",
 "vue-loader": "^12.2.1",
 "vue-template-compiler": "2.4.3",
-"webpack": "^1.13.1",
+"webpack": "^3.12.0",
--- End diff --

Yeah, using Webpack 4 is better, but I am not sure if there are some 
compatibility issues.


---


[GitHub] incubator-weex issue #1291: [WEEX-479] Update jsbundle of weex playground ap...

2018-06-26 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/1291
  
The new files are not compressed. Every thing else looks fine for me.


---


[GitHub] incubator-weex pull request #1254: [WEEX-445][jsfm] export requireModule to ...

2018-06-26 Thread Hanks10100
Github user Hanks10100 commented on a diff in the pull request:

https://github.com/apache/incubator-weex/pull/1254#discussion_r198207371
  
--- Diff: runtime/api/init.js ---
@@ -117,6 +117,7 @@ function createInstanceContext (id, options = {}, data) 
{
   Object.assign(runtimeContext, services, {
 weex,
 getJSFMVersion,
+requireModule: weex.requireModule,
--- End diff --

I think using `(..args) => weex.requireModule(...args)` is more reliable. 
We should not assume that the context of `requireModule` has bind to `weex` 
even if it actually does.


---


[GitHub] incubator-weex pull request #1288: Improved README.md

2018-06-26 Thread Hanks10100
Github user Hanks10100 commented on a diff in the pull request:

https://github.com/apache/incubator-weex/pull/1288#discussion_r198059444
  
--- Diff: README.md ---
@@ -10,80 +10,78 @@ A framework for building Mobile cross-platform UI.
 | iOS | [![Pod 
version](https://badge.fury.io/co/WeexSDK.svg)](https://cocoapods.org/pods/WeexSDK)
 [![Carthage 
compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
 |
 | [Mobile Web](https://github.com/weexteam/weex-vue-render) | [![npm 
version](https://badge.fury.io/js/weex-html5.svg)](https://www.npmjs.com/package/weex-vue-render)
 |
 
-Support Android 4.1 (API 16), iOS 8.0+ and WebKit 534.30+.
+Supports Android 4.1 (API 16), iOS 8.0+ and WebKit 534.30+.
 
 ## For Windows
 
 Please ***INSTALL [Git for Windows](https://git-scm.com/download/win)*** 
and run all the following commands in git-bash.
 
 ## Meet Weex
 
-* Install [Weex Playground 
App](https://weex.apache.org/tools/playground.html) to see examples we already 
written.
-* If you want to write a demo, install 
[weex-toolkit](https://www.npmjs.com/package/weex-toolkit) in 
[Node.js](http://nodejs.org/) 4.0+ and
-* Run `weex init` to generate & start a simple project in an empty folder.
-* Follow the instructions in the project README.
+* Install [Weex Playground 
App](https://weex.apache.org/tools/playground.html) to see existing examples.
+* Create your own examples by install 
[weex-toolkit](https://www.npmjs.com/package/weex-toolkit) with 
[Node.js](http://nodejs.org/) 6.0+.
--- End diff --

Since the `engine` property in the 
[`package.json`](https://github.com/apache/incubator-weex/blob/0.18.0/package.json#L34-L36)
 is `>=8`, we can declare the version of node as `8.0+`.


---


[GitHub] incubator-weex pull request #1283: [doc] update license statement about the ...

2018-06-21 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[doc] update license statement about the vuejs codes

Fix the file path in the license statement. Some codes under the 
`runtime/frameworks/legacy/core` path are from the Vue.js 1.0. 

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

$ git pull https://github.com/Hanks10100/incubator-weex doc-license

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

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


commit f1b5a4065c4a423a0bb8054acdd8360830898cea
Author: Hanks 
Date:   2018-06-21T08:46:10Z

* [doc] update license statement about the vuejs codes




---


[GitHub] incubator-weex pull request #1279: [build] update dependent version of node....

2018-06-20 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[build] update dependent version of node.js

Update the dependent version of Node.js to keep consistent with 
[package.json](https://github.com/apache/incubator-weex/blob/939be31e6f37340f81fa396df7bbec27e50c7c15/package.json#L34-L36).
 (To build js framework correctly, the version of Node.js should be higher than 
`v7.6.0`.)

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

$ git pull https://github.com/Hanks10100/incubator-weex update-node-version

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

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


commit 98eff7a30fdbb044d479659b4679ab14b9fd1e9b
Author: Hanks 
Date:   2018-06-20T08:31:33Z

[build] update dependent version of node.js




---


[GitHub] incubator-weex pull request #1277: [jsfm] Upgrade js framework to v0.26.16

2018-06-20 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Upgrade js framework to v0.26.16

Add modules to the whitelist (support `navigatorBar.getHeight`).

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-release-0.26

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

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


commit 189c4e5396bd530afadd1c3bc128fd0d991ed579
Author: Hanks 
Date:   2018-06-20T07:05:04Z

* [jsfm] upgrade js framework to v0.26.16




---


[GitHub] incubator-weex pull request #1274: [jsfm] Upgrade js framework to v0.26.14

2018-06-15 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Upgrade js framework to v0.26.14

+ Add modules to the whitelist.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-release-0.26

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

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


commit e31bd2f66563670079a3b4030c97f3f2c1102410
Author: Hanks 
Date:   2018-06-15T07:20:55Z

* [jsfm] upgrade js framework to v0.26.14




---


[GitHub] incubator-weex pull request #1267: [jsfm] Upgrade js framework to v0.26.12

2018-06-13 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Upgrade js framework to v0.26.12

Make the data sync logic in *windmill* more robust:

+ Add debounce function for data sync.
+ Consider that the timer APIs does not exist.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-release-0.26

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

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


commit 2f27f0d9e74492df9f26b9b942675345be3b5f0b
Author: 门柳 
Date:   2018-06-13T09:21:14Z

* [jsfm] upgrade js framework to v0.26.12

+ add debounce function for data sync
+ consider that the timer does not exist




---


[GitHub] incubator-weex pull request #1249: [jsfm] Upgrade js framework to v0.26.11

2018-06-07 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Upgrade js framework to v0.26.11

+ Fix the validation regex of recycle-list.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-release-0.26

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

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


commit 185d3932d09b1279476c7067abb2245b37f565a5
Author: 门柳 
Date:   2018-06-07T09:24:23Z

* [jsfm] upgrade js framework to v0.26.11




---


[GitHub] incubator-weex pull request #1244: [jsfm] Upgrade js framework to v0.26.10

2018-06-07 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex pull request #1244: [jsfm] Upgrade js framework to v0.26.9

2018-06-05 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Upgrade js framework to v0.26.9

Upgrade weex-rax-framework to fix the downgrade issue on Android P.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-release-0.26

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

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


commit 4b7336cde24f44aa13a946c536d32dd3820489be
Author: 门柳 
Date:   2018-06-05T14:44:18Z

* [jsfm] release v0.26.9




---


[GitHub] incubator-weex pull request #1219: [jsfm] Upgrade js framework to v0.26.8

2018-05-28 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Upgrade js framework to v0.26.8

Upgrade weex js framework to v0.26.8.

+ Support using vue dsl for *windmill*.
+ Fix some features of rax dsl for *windmill*.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-release-0.26

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

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


commit a5cfcbcc11548801f579d6ebf5468e0754a49dc0
Author: Hanks <zhanghan.me@...>
Date:   2018-05-28T08:02:01Z

* [jsfm] upgrade js framework to v0.26.8




---


[GitHub] incubator-weex pull request #1207: [jsfm] Upgrade weex js framework to v0.26...

2018-05-24 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Upgrade weex js framework to v0.26.7

Upgrade weex js framework to v0.26.7. (Support windmill)

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-release-0.26

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

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


commit 0b2c568f1f5efa42e325d18c63bfb46ff2193fc4
Author: Hanks <zhanghan.me@...>
Date:   2018-05-24T07:50:41Z

* [jsfm] upgrade js framework to v0.26.7




---


[GitHub] incubator-weex pull request #1198: [jsfm] Upgrade js framework to v0.26.6

2018-05-24 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex pull request #1199: [WEEX-397][jsfm] Support building js fram...

2018-05-23 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[WEEX-397][jsfm] Support building js framework files in build_from_source.sh

Notable changes:

+ Build js framework files to the `dist` path, not `pre-build`.
+ Modify the `build_from_source.sh` to copy the correct js framework files 
to the `pre-build` folder.

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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-build-script

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

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


commit f8e7fe8fea9582b815893b7ff361bae4f1bbc4f1
Author: Hanks <zhanghan.me@...>
Date:   2018-05-23T08:47:44Z

* [jsfm] update build script of js framework




---


[GitHub] incubator-weex pull request #1185: [jsfm] Upgrade js framework to v0.26.5

2018-05-17 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Upgrade js framework to v0.26.5

Notable changes:

+ Upgrade rax framework to the latest rc version (v0.2.28).

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-upgrade-rax

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

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


commit 8ee6afcb6e372c5eee3d9d4f865b461a67fd33ee
Author: Hanks <zhanghan.me@...>
Date:   2018-05-17T06:45:50Z

* [jsfm] upgrade js framework to v0.26.5




---


[GitHub] incubator-weex issue #1158: [jsfm] Support sending stylesheets and class nam...

2018-05-14 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/1158
  
@MountainHill 这是一个内部改造,对提供的 API 无影响。


---


[GitHub] incubator-weex pull request #1158: [jsfm] Support sending stylesheets and cl...

2018-05-08 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Support sending stylesheets and class names to native

This a partial implementation to support managing style sheets in native 
(https://github.com/Hanks10100/weex-native-directive/issues/14).

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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-register-stylesheets

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

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


commit e3b88b39c70ab064b8b029ecaeed511ff2cb47b2
Author: Hanks <zhanghan.me@...>
Date:   2018-05-09T03:18:11Z

* [jsfm] support sending stylesheets and class names to native




---


[GitHub] incubator-weex pull request #1126: [jsfm] Deep normalize the options when ca...

2018-04-23 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Deep normalize the options when calling native module

In some cases, the `options` argument of a module call may contain 
functions and complex structures, such as the `weex.imporsScript` api. The 
value of the `options` should be deep normalized.

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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-deep-normalize

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

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


commit 793c3e4d7d5dc2c1fa4ef272eeead11e89c51367
Author: Hanks <zhanghan.me@...>
Date:   2018-04-23T08:28:21Z

* [jsfm] deep normalize the options when calling native module




---


[GitHub] incubator-weex pull request #1125: [jsfm] Support to build a standalone poly...

2018-04-23 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Support to build a standalone polyfill package

Build a standalone polyfill package which can be used in some outdated 
versions of iOS.

The `weex-polyfill` package contains:

+ `Array.from`
+ `Object.assign`
+ `Object.setPrototypeOf`
+ `Promise`

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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-polyfill-package

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

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


commit be8a84e4f69b13c105ff0a1b1735428b2fd604be
Author: Hanks <zhanghan.me@...>
Date:   2018-04-23T08:19:09Z

* [jsfm] support to build a standalnoe polyfill package




---


[GitHub] incubator-weex pull request #1124: [jsfm] Support import script dynamically ...

2018-04-23 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Support import script dynamically at runtime

The code here partially supports the feature of import script dynamically 
at runtime. It needs native render engines to implement the corresponding 
features to fully support it.

## API

```typescript
weex.importScript(url: string): Promise
```

Import javascript code from remote and run it in the current context. It 
takes a url string as the only argument and return a Promise, which will be 
fullfilled once the code is successfully executed.

## Usage

```js
weex.importScript('https://whatever.com/shared.js')
.then(() => {
console.log('Import and run script success!')
})
.catch(() => {
console.log('Failed to import script dynamically')
})
```

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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-import-script

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

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


commit e2395567f85d21dbb03916dedafd41554e0ff4cd
Author: Hanks <zhanghan.me@...>
Date:   2018-04-23T08:01:20Z

+ [jsfm] support import script dynamically at runtime




---


[GitHub] incubator-weex pull request #1022: * [example] update playground app

2018-02-08 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

* [example] update playground app

Support refresh and load more news.

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

$ git pull https://github.com/Hanks10100/incubator-weex update-playground

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

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


commit bf4ac945b8f5b80627b48f3e7a078f9866af30cd
Author: Hanks <zhanghan.me@...>
Date:   2018-02-09T06:09:07Z

* [example] update palyground app

support refresh and load more news




---


[GitHub] incubator-weex pull request #1021: * [jsfm] upgrade js framework to v0.24.4

2018-02-08 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

* [jsfm] upgrade js framework to v0.24.4

Implement ``.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-release-0.24.4

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

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


commit 2b40de0edebc0b4579399875b36bb4c373c38f08
Author: Hanks <zhanghan.me@...>
Date:   2018-02-08T10:57:32Z

* [jsfm] upgrade js framework to v0.24.4




---


[GitHub] incubator-weex issue #908: * [doc] doc example: delete props “lines...

2018-02-07 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/908
  
Just remind you that, the website and documents have been moved to the 
[incubator-weex-site](https://github.com/apache/incubator-weex-site) repo. The 
`doc` folder here has already been removed. Please refer to #993 .


---


[GitHub] incubator-weex pull request #1017: [jsfm] Stop using ES6 Proxy to require a ...

2018-02-06 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Stop using ES6 Proxy to require a module

Using native `Proxy` will cause strange behavior in some old mobile 
devices. They offered the `Proxy` object but the behavior is not exactly same 
as the spec.

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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-remove-proxy

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

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


commit 8897646cc9b415cce37aca287b850d9bf5152359
Author: Hanks <zhanghan.me@...>
Date:   2018-02-06T13:22:59Z

* [jsfm] stop using ES6 Proxy to require a module




---


[GitHub] incubator-weex pull request #1010: [jsfm] Refactor the build script and entr...

2018-02-01 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Refactor the build script and entry files of js framework

+ Add `weex-env` package, move all polyfills and environment hacks here.
+ Rename `weex-legacy-framework` to `weex-legacy`.
+ Ignore global in common js packages.

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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-refactor

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

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


commit b4194ac4e3b6e264b3cdf42c64d7b41bd11098a8
Author: Hanks <zhanghan.me@...>
Date:   2018-02-01T12:06:10Z

* [jsfm] refactor the build script and entry files of js framework




---


[GitHub] incubator-weex issue #969: Fixes for iOS dev tool docs

2018-01-29 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/969
  
Thanks for your contribution, but all documents of Weex are moved to 
https://github.com/apache/incubator-weex-site now.


---


[GitHub] incubator-weex issue #1002: android sdk 0.17.0 使用 weex �� 置组件navig...

2018-01-29 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/1002
  
There are so many changes in this PR. Merge `master` into `v0.17` is 
meaningless and make the ci failed. I'll close it later.


---


[GitHub] incubator-weex issue #970: Fixed link to weex-hackernews

2018-01-17 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/970
  
Thanks for your contribution, but all documents of Weex are moved to 
https://github.com/apache/incubator-weex-site now, and this link is [removed in 
the new 
documents](https://github.com/apache/incubator-weex-site/blob/f42e30d80cfb4b29d88cece64c63f148660faf26/source/guide/advanced/use-vuex-and-vue-router.md).


---


[GitHub] incubator-weex pull request #991: * [example] update weex playground app

2018-01-17 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

* [example] update weex playground app

The new playground app looks like this:


![image](https://user-images.githubusercontent.com/8401776/35037834-a2d25b3c-fbb3-11e7-8c95-c35fd66b422a.png)


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

$ git pull https://github.com/Hanks10100/incubator-weex update-examples

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

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


commit 43564f3b2ec1202fa561713d3488b3dd53f200ca
Author: Hanks <zhanghan.me@...>
Date:   2018-01-17T10:13:06Z

* [example] update examples in weex playground app




---


[GitHub] incubator-weex pull request #978: [jsfm] release weex-js-framework@0.23.9

2018-01-11 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] release weex-js-framework@0.23.9

## Change Log

+ **[sandbox]** Support call js directly in the instance context.
+ **[js service]** Wrap a try catch when creating service, and adjust the 
passing arguments.
+ **[require module]** Stop using ES6 Proxy to require a Weex module. 

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-release-0.23.9

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

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


commit bb778a7bc21a1b2bcb1b421442497f28e8d10088
Author: Hanks <zhanghan.me@...>
Date:   2018-01-02T08:00:31Z

* [jsfm] support call js directly in instance context

commit ce9282d46aa922be0e87af3aa2f1ff39e1343643
Author: Hanks <zhanghan.me@...>
Date:   2018-01-02T08:20:07Z

* [jsfm] release v0.23.7

commit f4d6eaf029c508a85ad2b70d1e30edf7b662b389
Author: Hanks <zhanghan.me@...>
Date:   2018-01-03T06:27:17Z

* [jsfm] fix the arguments of createServices

commit e2bcfceec7feec0d3dd656f65e043e4b4b150d83
Author: Hanks <zhanghan.me@...>
Date:   2018-01-03T06:27:29Z

* [jsfm] release v0.23.8

commit aeb92911cf6452d8a4d63acfbe977a4f94db255b
Author: Hanks <zhanghan.me@...>
Date:   2018-01-11T08:19:24Z

* [jsfm] stop using ES6 Proxy to require a module

commit 097c37d102f4660550164f73b233050febcae69f
Author: Hanks <zhanghan.me@...>
Date:   2018-01-11T08:20:11Z

* [jsfm] release v0.23.9




---


[GitHub] incubator-weex pull request #971: [jsfm] update js framework to v0.23.8 in p...

2018-01-08 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] update js framework to v0.23.8 in pre-build



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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-v0.23.8

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

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


commit 3677c4ca66705657bd5ff6ad476f8f3ea4f097aa
Author: Hanks <zhanghan.me@...>
Date:   2018-01-08T09:23:33Z

* [jsfm] update js framework to v0.23.8 in pre-build




---


[GitHub] incubator-weex pull request #964: [jsfm] Adjust the file structure and build...

2017-12-29 Thread Hanks10100
GitHub user Hanks10100 reopened a pull request:

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

[jsfm] Adjust the file structure and build scripts of js framework

According to the discussion on the mailing list ([Separate the 
weex-vue-render from the incubator-weex 
repo](https://lists.apache.org/thread.html/2c3c994c14a7521ff3ea97925107921ad08a30db58c261b95f079fdd@%3Cdev.weex.apache.org%3E)),
 the last step is to adjust the file structure in `html5/` and rename it to 
`runtime/`.

This PR contains:

1. Rename `html5/` to `runtime/` and move `api`, `bridge`, `vdom` out:

```
  rename: html5/frameworks   -> runtime/frameworks
  rename: html5/runtime/api  -> runtime/api
  rename: html5/runtime/bridge   -> runtime/bridge
  rename: html5/runtime/vdom -> runtime/vdom
  rename: html5/runtime/utils.js -> runtime/shared/utils.js
  rename: html5/services -> runtime/services
  rename: html5/shared   -> runtime/shared
```

2. Delete `html5/render/`, move it to `entries`:

```
  delete: html5/render/
  rename: html5/runtime/index.js   -> runtime/api/index.js
  rename: html5/render/native/index.js -> runtime/entries/index.js
  rename: html5/render/native/setup.js -> runtime/entries/setup.js
  add: runtime/entries/vue.js
  add: runtime/entries/rax.js
```

3. Move `html5/test` into `test/` folder:

```
  rename: html5/test -> test/js-framework
```

4. Update the build scripts of js framework.

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

    $ git pull https://github.com/Hanks10100/incubator-weex jsfm-refactor

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

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


commit 51dd277e5cd579c7fda524a0a0972e2972d04ab8
Author: Hanks <zhanghan.me@...>
Date:   2017-12-29T12:37:26Z

* [jsfm] Adjust the file structure of js framework

1. Rename `html5/` to `runtime/` and move api, bridge, vdom out:

  rename: html5/frameworks   -> runtime/frameworks
  rename: html5/runtime/api  -> runtime/api
  rename: html5/runtime/bridge   -> runtime/bridge
  rename: html5/runtime/vdom -> runtime/vdom
  rename: html5/runtime/utils.js -> runtime/shared/utils.js
  rename: html5/services -> runtime/services
  rename: html5/shared   -> runtime/shared

2. Delete `html5/render/`, move it to `entries`:

  delete: html5/render/
  rename: html5/runtime/index.js   -> runtime/entries/runtime.js
  rename: html5/render/native/index.js -> runtime/entries/index.js
  rename: html5/render/native/setup.js -> runtime/entries/setup.js

3. Move `html5/test` into `test/` folder:

  rename: html5/test -> test/js-framework

commit b855108d59befc4af0ad808513dde1bc9f06ce4b
Author: Hanks <zhanghan.me@...>
Date:   2017-12-29T12:58:43Z

* [build] update build scripts of js framework




---


[GitHub] incubator-weex pull request #964: [jsfm] Adjust the file structure and build...

2017-12-29 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex pull request #964: [jsfm] Adjust the file structure and build...

2017-12-29 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Adjust the file structure and build scripts of js framework

According to the discussion on the mailing list ([Separate the 
weex-vue-render from the incubator-weex 
repo](https://lists.apache.org/thread.html/2c3c994c14a7521ff3ea97925107921ad08a30db58c261b95f079fdd@%3Cdev.weex.apache.org%3E)),
 the last step is to adjust the file structure in `html5/` and rename it to 
`runtime/`.

This PR contains:

1. Rename `html5/` to `runtime/` and move `api`, `bridge`, `vdom` out:

```
  rename: html5/frameworks   -> runtime/frameworks
  rename: html5/runtime/api  -> runtime/api
  rename: html5/runtime/bridge   -> runtime/bridge
  rename: html5/runtime/vdom -> runtime/vdom
  rename: html5/runtime/utils.js -> runtime/shared/utils.js
  rename: html5/services -> runtime/services
  rename: html5/shared   -> runtime/shared
```

2. Delete `html5/render/`, move it to `entries`:

```
  delete: html5/render/
  rename: html5/runtime/index.js   -> runtime/api/index.js
  rename: html5/render/native/index.js -> runtime/entries/index.js
  rename: html5/render/native/setup.js -> runtime/entries/setup.js
  add: runtime/entries/vue.js
  add: runtime/entries/rax.js
```

3. Move `html5/test` into `test/` folder:

```
  rename: html5/test -> test/js-framework
```

4. Update the build scripts of js framework.

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

    $ git pull https://github.com/Hanks10100/incubator-weex jsfm-refactor

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

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


commit 51dd277e5cd579c7fda524a0a0972e2972d04ab8
Author: Hanks <zhanghan.me@...>
Date:   2017-12-29T12:37:26Z

* [jsfm] Adjust the file structure of js framework

1. Rename `html5/` to `runtime/` and move api, bridge, vdom out:

  rename: html5/frameworks   -> runtime/frameworks
  rename: html5/runtime/api  -> runtime/api
  rename: html5/runtime/bridge   -> runtime/bridge
  rename: html5/runtime/vdom -> runtime/vdom
  rename: html5/runtime/utils.js -> runtime/shared/utils.js
  rename: html5/services -> runtime/services
  rename: html5/shared   -> runtime/shared

2. Delete `html5/render/`, move it to `entries`:

  delete: html5/render/
  rename: html5/runtime/index.js   -> runtime/entries/runtime.js
  rename: html5/render/native/index.js -> runtime/entries/index.js
  rename: html5/render/native/setup.js -> runtime/entries/setup.js

3. Move `html5/test` into `test/` folder:

  rename: html5/test -> test/js-framework

commit b855108d59befc4af0ad808513dde1bc9f06ce4b
Author: Hanks <zhanghan.me@...>
Date:   2017-12-29T12:58:43Z

* [build] update build scripts of js framework




---


[GitHub] incubator-weex issue #947: Fix bad link

2017-12-29 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/947
  
@W4anD0eR96 I can't close it, only you can close it on GitHub.


---


[GitHub] incubator-weex issue #947: Fix bad link

2017-12-29 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/947
  
Thanks for your contribution, but the source code of Weex's website has 
moved to https://github.com/apache/incubator-weex-site . The `doc/` here will 
be removed when the new website is ready.


---


[GitHub] incubator-weex issue #960: [jsfm] Enhance the multi-instance isolation (sand...

2017-12-27 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/960
  
@yacheng @acton393 @yangshengtao Please take a review.


---


[GitHub] incubator-weex pull request #960: [jsfm] Enhance the multi-instance isolatio...

2017-12-27 Thread Hanks10100
GitHub user Hanks10100 reopened a pull request:

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

[jsfm] Enhance the multi-instance isolation (sandbox)

According to the discussion in the mailing list ([Use multi-context for 
Weex 
page](https://lists.apache.org/thread.html/87bf83253ed7ee318a8cf98d693bc534b3e08b4d28655a1290f2e0c7@%3Cdev.weex.apache.org%3E)),
 the current isolation strategy is vulnerable, distinguish the **"Global 
Context"** and the **"Instance Context"** is a more reasonable solution.

In practice, **the logic of instance management and code execution will be 
moved from js framework to native render engines.**

This PR implement a new `createInstanceContext` API instead of the former 
`createInstance` to create the instance context for each page. Refer to [this 
PR](https://github.com/vuejs/vue/pull/7272) to see the modification in the 
Vue.js framework. Rax doesn't support it yet.

As for native render engines, they should also call `createInstanceContext` 
instead of `createInstance`, and parse the bundle type of the code (Vue or Rax) 
and then send it to js framework.


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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-sandbox

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

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


commit 7c40162445403df8f4f25e35dfa377cba24da217
Author: Hanks <zhanghan.me@...>
Date:   2017-12-28T04:15:29Z

* [jsfm] upgrade vue and rax

upgrade weex-vue-framework to 2.5.11-weex.1
upgrade weex-rax-framework to 0.4.20

commit f8f8a15061e11710fe225b3376e5c584748f
Author: Hanks <zhanghan.me@...>
Date:   2017-12-28T04:18:12Z

* [jsfm] enhance the multi-instance isolation (sandbox)

Use "createInstanceContext" instead of "createInstance".
JS Framework only needs to prepare the instance context and no longer
execute the js code. The js code will be executed by native.
This *sandbox* feature requires native to cooperate to achieve.




---


[GitHub] incubator-weex pull request #960: [jsfm] Enhance the multi-instance isolatio...

2017-12-27 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex pull request #960: [jsfm] Enhance the multi-instance isolatio...

2017-12-27 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Enhance the multi-instance isolation (sandbox)

According to the discussion in the mailing list ([Use multi-context for 
Weex 
page](https://lists.apache.org/thread.html/87bf83253ed7ee318a8cf98d693bc534b3e08b4d28655a1290f2e0c7@%3Cdev.weex.apache.org%3E)),
 the current isolation strategy is vulnerable, distinguish the **"Global 
Context"** and the **"Instance Context"** is a more reasonable solution.

In practice, **the logic of instance management and code execution will be 
moved from js framework to native render engines.**

This PR implement a new `createInstanceContext` API instead of the former 
`createInstance` to create the instance context for each page. Refer to [this 
PR](https://github.com/vuejs/vue/pull/7272) to see the modification in the 
Vue.js framework. Rax doesn't support it yet.

As for native render engines, they should also call `createInstanceContext` 
instead of `createInstance`, and parse the bundle type of the code (Vue or Rax) 
and then send it to js framework.


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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-sandbox

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

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


commit 7c40162445403df8f4f25e35dfa377cba24da217
Author: Hanks <zhanghan.me@...>
Date:   2017-12-28T04:15:29Z

* [jsfm] upgrade vue and rax

upgrade weex-vue-framework to 2.5.11-weex.1
upgrade weex-rax-framework to 0.4.20

commit f8f8a15061e11710fe225b3376e5c584748f
Author: Hanks <zhanghan.me@...>
Date:   2017-12-28T04:18:12Z

* [jsfm] enhance the multi-instance isolation (sandbox)

Use "createInstanceContext" instead of "createInstance".
JS Framework only needs to prepare the instance context and no longer
execute the js code. The js code will be executed by native.
This *sandbox* feature requires native to cooperate to achieve.




---


[GitHub] incubator-weex issue #955: [WEEX-90][example] remove legacy .we examples

2017-12-22 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/955
  
@MrRaindrop @gubaojian @acton393 Please take a review.


---


[GitHub] incubator-weex pull request #955: [WEEX-90][example] remove legacy .we examp...

2017-12-21 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[WEEX-90][example] remove legacy .we examples

Remove source codes of .we examples, then rebuild the examples, replace the 
generated bundles in ios and android.

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

$ git pull https://github.com/Hanks10100/incubator-weex WEEX-90

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

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


commit 8668b0f9ee4c42407c69240542b80dda4729848f
Author: Hanks <zhanghan.me@...>
Date:   2017-12-22T07:40:06Z

- [example] remove legacy .we examples

Remove source codes of .we examples, then rebuild the examples, replace the 
generated bundles in ios and android.




---


[GitHub] incubator-weex pull request #953: [WEEX-182][jsfm] only update batched and m...

2017-12-21 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex pull request #953: [WEEX-182][jsfm] only update batched and m...

2017-12-21 Thread Hanks10100
GitHub user Hanks10100 reopened a pull request:

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

[WEEX-182][jsfm] only update batched and mutated attributes and styles

Check if the batched styles and attributes are empty, and then, only send 
the mutations to native.

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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-attr-diff

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

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


commit 94368e362b8bcc0b5ee72b33266bf10ceacbb944
Author: Hanks <zhanghan.me@...>
Date:   2017-12-22T06:48:40Z

* [jsfm] only update batched and mutated attributes and styles

Check if the batched styles and attributes are empty, and then, only send 
the mutations to native.




---


[GitHub] incubator-weex pull request #954: [WEEX-183][jsfm] support append tree on ro...

2017-12-21 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[WEEX-183][jsfm] support append tree on root element

See this example: http://dotwe.org/vue/c479b4f8b2e7243efe1cfed2f442e35a

Even there is an append="tree" on the root element, js framework will send 
two render directives to native. JS Framework does it on purpose to ensure the 
performance of sending the first render directive (`createBody`). I think this 
feature is no longer needed.

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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-root-append-tree

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

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


commit 7b2111270c1b193c3bd394b177723fbbb8a08a66
Author: Hanks <zhanghan.me@...>
Date:   2017-12-22T06:57:48Z

* [jsfm] support append tree on root element




---


[GitHub] incubator-weex pull request #953: [WEEX-182][jsfm] only update batched and m...

2017-12-21 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[WEEX-182][jsfm] only update batched and mutated attributes and styles

Check if the batched styles and attributes are empty, and then, only send 
the mutations to native.

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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-attr-diff

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

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


commit 94368e362b8bcc0b5ee72b33266bf10ceacbb944
Author: Hanks <zhanghan.me@...>
Date:   2017-12-22T06:48:40Z

* [jsfm] only update batched and mutated attributes and styles

Check if the batched styles and attributes are empty, and then, only send 
the mutations to native.




---


[GitHub] incubator-weex issue #926: * [jsfm] fix the invalid cache in weex.requireMod...

2017-12-17 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/926
  
This has already been merged in 
https://github.com/apache/incubator-weex/commit/ec2d234e578652160cf967867946ba82b2bae5be



---


[GitHub] incubator-weex pull request #926: * [jsfm] fix the invalid cache in weex.req...

2017-12-17 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex pull request #927: * [jsfm] support fireEventSync and send co...

2017-12-17 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex issue #927: * [jsfm] support fireEventSync and send component...

2017-12-17 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/927
  
This has already been merged in 
https://github.com/apache/incubator-weex/commit/1cec1a1f9e789973c7b852c7521ccf1fc582b7e7


---


[GitHub] incubator-weex pull request #928: * [jsfm] add debug utils

2017-12-17 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex issue #928: * [jsfm] add debug utils

2017-12-17 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/928
  
This has already been merged in 
https://github.com/apache/incubator-weex/commit/4c89ea93deefe993b1120bd17e95bf49e5eabf06


---


[GitHub] incubator-weex pull request #928: * [jsfm] add debug utils

2017-12-02 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex pull request #928: * [jsfm] add debug utils

2017-12-02 Thread Hanks10100
GitHub user Hanks10100 reopened a pull request:

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

* [jsfm] add debug utils

Move tracker to a separate file and add more debug utils.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-debug

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

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


commit 1c0a0d46886285e097521ae9abb7be8d77fa1b33
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-12-02T07:57:47Z

* [jsfm] add debug utils




---


[GitHub] incubator-weex pull request #928: * [jsfm] add debug utils

2017-12-02 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

* [jsfm] add debug utils

Move tracker to a separate file and add more debug utils.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-debug

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

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


commit 1c0a0d46886285e097521ae9abb7be8d77fa1b33
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-12-02T07:57:47Z

* [jsfm] add debug utils




---


[GitHub] incubator-weex pull request #927: * [jsfm] support fireEventSync and send co...

2017-12-01 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex pull request #927: * [jsfm] support fireEventSync and send co...

2017-12-01 Thread Hanks10100
GitHub user Hanks10100 reopened a pull request:

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

* [jsfm] support fireEventSync and send component hooks

Support `fireEventSync` and send `updateComponentData` signal to native 
render engines.

These features can be used to achieve gesture events and ``.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-task

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

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


commit 84a16b7211f8b8eedc24c9560ea7a719d11d7174
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-12-02T07:13:10Z

* [jsfm] support fireEventSync and send component hooks




---


[GitHub] incubator-weex pull request #926: * [jsfm] fix the invalid cache in weex.req...

2017-12-01 Thread Hanks10100
GitHub user Hanks10100 reopened a pull request:

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

* [jsfm] fix the invalid cache in weex.requireModule

There is an invalid cache in `weex.requireModule` when refreshing the same 
instance. This PR fix it.

For example, refresh this 
http://dotwe.org/vue/229cd943053747a2d483b2530df12d2d page, the 
`dom.scrollToElement` won't work.

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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-require-module

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

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


commit 8ba4113c62bd36848c211508c42b16b943267712
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-12-02T06:54:33Z

* [jsfm] fix the invalid cache in weex.requireModule




---


[GitHub] incubator-weex pull request #926: * [jsfm] fix the invalid cache in weex.req...

2017-12-01 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex pull request #927: * [jsfm] support fireEventSync and send co...

2017-12-01 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

* [jsfm] support fireEventSync and send component hooks

Support `fireEventSync` and send `updateComponentData` signal to native 
render engines.

These features can be used to achieve gesture events and ``.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-task

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

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


commit 84a16b7211f8b8eedc24c9560ea7a719d11d7174
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-12-02T07:13:10Z

* [jsfm] support fireEventSync and send component hooks




---


[GitHub] incubator-weex pull request #926: * [jsfm] fix the invalid cache in weex.req...

2017-12-01 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

* [jsfm] fix the invalid cache in weex.requireModule

There is an invalid cache in `weex.requireModule` when refreshing the same 
instance. This PR fix it.

For example, refresh this 
http://dotwe.org/vue/229cd943053747a2d483b2530df12d2d page, the 
`dom.scrollToElement` won't work.

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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-require-module

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

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


commit 8ba4113c62bd36848c211508c42b16b943267712
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-12-02T06:54:33Z

* [jsfm] fix the invalid cache in weex.requireModule




---


[GitHub] incubator-weex pull request #899: - [jsfm] remove directive filter in attrib...

2017-11-22 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

- [jsfm] remove directive filter in attributes

Remove directive filter of element attributes. This feature is used to 
achieve weex native directives. Now, these features are being implemented in 
``.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-binding

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

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


commit 3ffcc45dc1481ca5e61c6a20025e49d3b223d968
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-11-22T11:06:02Z

- [jsfm] remove directive filter in attributes




---


[GitHub] incubator-weex issue #715: Update common-event.md

2017-11-10 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/715
  
The CI is broken and the PR have no response for a long time. I'll close it 
shortly. If there still need further discussions about it, you could open a new 
pull request.

Thanks for your cooperation.


---


[GitHub] incubator-weex issue #609: *[android]fix the bug of extra data not add to pa...

2017-11-10 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/609
  
The CI is broken and the PR have no response for a long time. I'll close it 
shortly. If there still need further discussions about it, you could open a new 
pull request.

Thanks for your cooperation.


---


[GitHub] incubator-weex issue #583: 0.13 dev

2017-11-10 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/583
  
This PR is meaningless and have no response for a long time. I'll close it 
shortly. If there still need further discussions about it, you could open a new 
pull request.

Thanks for your cooperation.


---


[GitHub] incubator-weex issue #260: Wrong a word in the documentation

2017-11-10 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/260
  
The CI is broken and the PR have no response for a long time. I'll close it 
shortly. If there still need further discussions about it, you could open a new 
pull request.

Thanks for your cooperation.


---


[GitHub] incubator-weex issue #759: fix: circular dependency in java classes(WXSDKM...

2017-11-10 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/759
  
This PR is outdated and have no response for a long time. I'll close it 
shortly. If there still need further discussions about it, you could open a new 
pull request.

Thanks for your cooperation.


---


[GitHub] incubator-weex issue #644: merge from master

2017-11-10 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/644
  
This PR is meaningless and have no response for a long time. I'll close it 
shortly. If there still need further discussions about it, you could open a new 
pull request.

Thanks for your cooperation.


---


[GitHub] incubator-weex pull request #847: [jsfm] Add a tracker for legacy ".we" fram...

2017-11-09 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Add a tracker for legacy ".we" framework

Add a tracker to collect the bundle type usage message. If the developer is 
still using the legacy ".we" framework, it'll print an error in console and 
record the bundle messages.

References: [WEEX-90: Remove The Legacy Weex DSL 1.0 (.we) Front-End 
Framework](https://issues.apache.org/jira/browse/WEEX-90)

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-trace

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

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






---


[GitHub] incubator-weex issue #832: How to use playground

2017-11-08 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/832
  
@wei63w Why you want to merge `master` branch into `release-0.16`? My 
commits are auto adds to here. I think it's unreasonable. If you found a bug of 
Weex you can file an issue on 
[JIRA](https://issues.apache.org/jira/projects/WEEX/issues). Questions can be 
asked in StackOverflow, SegmentFault, Gitter and so on, send a PR here is 
meaningless.

Thanks for your cooperation.


---


[GitHub] incubator-weex pull request #846: [jsfm] Support register and trigger compon...

2017-11-08 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Support register and trigger component hooks

Support to receive the `componentHook` task via `callJS`, and expose the 
`registerHook` and `triggerHook` APIs in the task center.

This feature can be used to achieve the lifecycle hook within 
``. The design proposal can be found in 
https://github.com/Hanks10100/weex-native-directive/tree/master/component .

The front-end frameworks (Vue.js, Rax) rely on this feature to implement 
the virtual component.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-hook

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

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


commit b9f8b876746cfa2d8661fd141bda24f2e1086f72
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-11-09T07:14:35Z

+ [jsfm] support register and trigger component hooks




---


[GitHub] incubator-weex pull request #830: [jsfm] Support receive tasks in weex-js-ru...

2017-10-31 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Support receive tasks in weex-js-runtime

Move the `callJS` and `receiveTasks` into a separate file. This feature has 
no breaking change.

By support the `receiveTasks` in `weex-js-runtime`, this method can be 
removed from `weex-vue-framework` and `weex-rax-framework`. It can keep the 
js-native communication have the same behavior.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-calljs

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

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


commit b9c49fd6e52282d1937814506e43b33189189f56
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-10-31T07:04:41Z

+ [jsfm] support receive tasks in js runtime




---


[GitHub] incubator-weex issue #785: [WEEX-17] Abstract "weex" variable for each js fr...

2017-10-24 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/785
  
Got, this PR can be closed.


---


[GitHub] incubator-weex pull request #785: [WEEX-17] Abstract "weex" variable for eac...

2017-10-24 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex pull request #819: [jsfm] Support batch update styles and att...

2017-10-24 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Support batch update styles and attributes

Add `setAttrs` and `setStyles` method on `Element.prototype` to support 
batch update styles and attributes.

This feature can be used in the DSL framework (Vue.js or Rax) to optimize 
performance.


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

$ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-batch-update

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

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


commit 30716b672b7ba951796b1b17385e484aaa68f9d9
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-10-24T08:18:35Z

+ [jsfm] Support batch update styles and attributes

Add `setAttrs` and `setStyles` method on `Element.prototype` to support
batch update styles and attributes. This feature can be used in the DSL
framework to optimize performance.




---


[GitHub] incubator-weex pull request #770: [WEEX-78] Replace "includes" with "indexOf...

2017-10-12 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex issue #770: [WEEX-78] Replace "includes" with "indexOf" to im...

2017-10-12 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/770
  
Already merged. 
https://github.com/apache/incubator-weex/commit/d10be0bcf9624ca0f56fe8f60d646f71ed2f1aa0


---


[GitHub] incubator-weex pull request #785: [WEEX-17] Abstract "weex" variable for eac...

2017-10-11 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[WEEX-17] Abstract "weex" variable for each js framework

Fix [WEEX-17](https://issues.apache.org/jira/browse/WEEX-17).

Pass the `weex` variable to each front-end framework in the last argument 
of `createInstance`. Its API is defined 
[here](http://weex.apache.org/references/weex-variable.html).

Both Vue and Rax can use the `weex` variable with the same implementation. 
Currently, Vue passed `weex` variable to the js bundle, but Rax doesn't pass it 
yet.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-weex

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

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


commit 48ccea1c4edc02b7af80e81f5639243776bef077
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-10-11T09:19:48Z

+ [jsfm] add weex variable api in runtime




---


[GitHub] incubator-weex issue #771: [WEEX-79] Modify document website style of weex.

2017-10-09 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/771
  
+1


---


[GitHub] incubator-weex issue #770: [WEEX-78] Replace "includes" with "indexOf" to im...

2017-10-09 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/770
  
Fix [WEEX-78](https://issues.apache.org/jira/projects/WEEX/issues/WEEX-78).


---


[GitHub] incubator-weex issue #732: [jsfm] Sync the source code of weex-js-framework@...

2017-09-25 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/732
  
The error in the CI is caused by `danger-jsfm.js` 
https://travis-ci.org/apache/incubator-weex/jobs/279396420#L1395 , all tests of 
jsfm and sdk are passed.


---


[GitHub] incubator-weex issue #738: * [jsfm] upgrade weex-js-framework to 0.22.4

2017-09-25 Thread Hanks10100
Github user Hanks10100 commented on the issue:

https://github.com/apache/incubator-weex/pull/738
  
The file change is 
https://github.com/Hanks10100/vue/commit/dbebd36fa18809d744bb27242ac8741dbdb2cbe7


---


[GitHub] incubator-weex pull request #732: [jsfm] Sync the source code of weex-js-fra...

2017-09-25 Thread Hanks10100
GitHub user Hanks10100 reopened a pull request:

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

[jsfm] Sync the source code of weex-js-framework@0.22.3

The minified source code is merged in #728.

No breaking change. The internal structure is adjusted to make the code 
more maintainable.

Notable Change:

+ Support the first version of ``.
+ [vue] upgrade `weex-vue-framework` to 2.4.2-weex.5.
+ [rax] upgrade `weex-rax-framework` to 0.4.14.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-

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

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


commit 3fd956be7e6e53e8aed70b603fc598383995de6c
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-09-20T11:12:27Z

* [jsfm] remove framework banner in weex-js-runtime

commit e0307db1617d5c2ecc11d65f1e2f92256316dcbf
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-09-20T11:38:58Z

* [jsfm] support to pass event params to native

commit 98246c7814f2c53e2f815c36b201739b6b2ef9b3
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-09-20T11:40:35Z

* [jsfm] upgrade weex-rax-framework to 0.4.13

commit c86ea5d28041b0a4d0567285a8072ac907451ea2
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-09-20T11:43:53Z

* [jsfm] release 0.22.0

commit eb110562e8779dfa0e0c899b03b9c9ca18a5b472
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-09-20T14:47:37Z

* [jsfm] stop freeze Element and Element.prototype

commit 90a18763b97d3a74f8abad93748b9feb456c1de6
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-09-21T03:30:43Z

* [jsfm] pass component type to WeexElement

commit 13f262a37da46ee93365e185031ae112552a7c02
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-09-21T07:20:02Z

* [jsfm] upgrade weex-vue-framework to 2.4.2-weex.5

commit 3d37c3f2f181b760191ed4fb6dc9abc0d6b739da
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-09-21T10:56:35Z

* [jsfm] upgrade weex-rax-framework to 0.4.14

commit c82ab8c2d7eac297e95cf65b60bca8e1c5c8a087
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-09-21T11:02:29Z

* [jsfm] release 0.22.3

commit 12d5a3b183ac196098d2db415953202b7d903177
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-09-22T02:44:53Z

* [test] modify the test case to suit the new event handler

commit 7cb5c774a9a520b8c156bf372254a1970bac3388
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-09-25T03:13:09Z

* [jsfm] upgrade weex-vue-framework to 2.4.2-weex.6

commit 7ae75e3cc56d9ef72fd5e8ebfa4fc35e9b8cad91
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-09-25T03:15:58Z

* [jsfm] release 0.22.4




---


[GitHub] incubator-weex pull request #732: [jsfm] Sync the source code of weex-js-fra...

2017-09-25 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex pull request #471: [example] Modify the countdown example

2017-09-22 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---


[GitHub] incubator-weex pull request #728: * [jsfm] upgrade weex-js-framework to 0.22...

2017-09-21 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

* [jsfm] upgrade weex-js-framework to 0.22.3

Notable Change:

+ Support the first version of ``.
+ [vue] upgrade `weex-vue-framework` to 2.4.2-weex.5.
+ [rax] upgrade `weex-rax-framework` to 0.4.14.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-release-0.22

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

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


commit b7ff22e12605209c5ffb376dfa0d16a45ba45843
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-09-21T11:17:23Z

* [jsfm] upgrade weex-js-framework to 0.22.3




---


[GitHub] incubator-weex pull request #638: [jsfm] release weex-js-framework@0.21.11

2017-08-24 Thread Hanks10100
GitHub user Hanks10100 reopened a pull request:

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

[jsfm] release weex-js-framework@0.21.11

## Change log

+ [rax] Upgrade `weex-rax-framework` to *0.4.11*.
+ [rax] Support to use js service in Rax DSL.
+ [legacy] Fix the unknown differ depth bug in legacy .we framework.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-0.21

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

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


commit 4accea5ed865a6accb4ffcf297cb20724892e201
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-16T14:51:07Z

* [jsfm] upgrade weex-rax-framework to v0.4.10

commit faca5562b8f595e0f95693f35757b6d04ae71b9f
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-17T04:37:13Z

* [jsfm] release v0.21.10

commit 296ac477922814c800ad42aa208ed895e1b12d4b
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-23T07:33:15Z

+ [test] add test case for using append tree in child components

commit f7a1805ce0c889a221cb43fd42b530da09ccd67f
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-23T07:35:48Z

* [jsfm] fix the unknown depth in the differ of legacy framework

commit a1136da36d4947523b1ac7f29ad43baaf374a051
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-23T07:37:48Z

* [jsfm] upgrade weex-rax-framework to v0.4.11

commit 90fac505195151f19e2afc4e5f283a4391ddd3de
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-23T07:59:04Z

* [jsfm] release v0.21.11

commit d3541aef3c049fd1d6856f98e4b20b8f5e65885b
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-23T09:22:01Z

* [build] fix conflicts

commit 9631808331e52f8c78106bac089d9e417698b671
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-23T09:23:01Z

Merge branch '0.16-dev' into jsfm-feature-0.21

commit abdfac96da3c798cd3a801a17cb5d4c6c7269401
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-24T06:46:02Z

+ [jsfm] add copyright header on test cases




---
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 #638: [jsfm] release weex-js-framework@0.21.11

2017-08-24 Thread Hanks10100
Github user Hanks10100 closed the pull request at:

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


---
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 #638: [jsfm] release weex-js-framework@0.21.11

2017-08-23 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] release weex-js-framework@0.21.11

## Change log

+ [rax] Upgrade `weex-rax-framework` to *0.4.11*.
+ [rax] Support to use js service in Rax DSL.
+ [legacy] Fix the unknown differ depth bug in legacy .we framework.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-0.21

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

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


commit 4accea5ed865a6accb4ffcf297cb20724892e201
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-16T14:51:07Z

* [jsfm] upgrade weex-rax-framework to v0.4.10

commit faca5562b8f595e0f95693f35757b6d04ae71b9f
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-17T04:37:13Z

* [jsfm] release v0.21.10

commit 296ac477922814c800ad42aa208ed895e1b12d4b
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-23T07:33:15Z

+ [test] add test case for using append tree in child components

commit f7a1805ce0c889a221cb43fd42b530da09ccd67f
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-23T07:35:48Z

* [jsfm] fix the unknown depth in the differ of legacy framework

commit a1136da36d4947523b1ac7f29ad43baaf374a051
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-23T07:37:48Z

* [jsfm] upgrade weex-rax-framework to v0.4.11

commit 90fac505195151f19e2afc4e5f283a4391ddd3de
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-23T07:59:04Z

* [jsfm] release v0.21.11




---
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 #596: [jsfm] Refactor the file structure of weex...

2017-08-14 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] Refactor the file structure of weex runtime

+ [x] Add type check in the method of `TaskCenter`.
+ [x] Add directive filter for Element attributes.
+ [x] Convert `Element`, `Document`, `Node`, `Comment` into ES6 class.
+ [x] Use `WeexElement` instead of `element-types` to create new type of 
Weex component.
+ [x] Fix the wrong build path in `build_from_source.sh` to make the CI 
pass.


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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-0.22

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

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


commit 6ecd723f053b1885a2afaaea3ad918fff71807ce
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-07-29T16:12:07Z

* [jsfm] update vanilla framework

commit 2ecf8565f8da844caea3069f551aba6c5a79a54b
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-03T03:28:42Z

+ [jsfm] add directive filter in runtime

commit d8bcbf242693c93757322533ec1612b03c680a18
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-03T03:45:27Z

* [jsfm] filter directives in attrs

commit 6fed87d488e5eaa7718b0cda5ddead6aa09a8238
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-03T03:47:36Z

Merge branch 'jsfm-feature-buffer' into jsfm-feature-beta

commit 66804f2eae0ba411f68e5086d8621eb91e293419
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-03T03:50:48Z

* [build] build weex-js-framework and weex-js-runtime

commit 25b0101dff7635932718d8d5feee2ad9e9a2f1dc
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-07T07:27:33Z

* [jsfm] use ES6 class in vdom

commit 0729ac590a7e69aa279de973273fa228507f77f1
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-07T07:49:36Z

* [jsfm] refactor the file structure in runtime

commit 2f7921ece78bdf60ff419b7c0973b359599f16cb
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-07T07:58:39Z

* [jsfm] modify the file path in test

commit e9ad371a3ce8eb5c7c4175b9d4fe117b2bdfecdc
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-07T08:37:30Z

* [jsfm] refactor element-types

commit 9510e8b896cac47fd84016b43ff171c82a1ee072
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-08T03:08:36Z

Merge branch 'jsfm-feature-vanilla' into jsfm-feature-es6

commit f3ebd620b93d2af1528018cd3567e201d3c90a6f
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-08T03:31:13Z

+ [build] add build script for vanilla framework

commit 479d770121f39be80e49e50974fd04e3c1e2a0a7
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-08T03:47:58Z

- [jsfm] remove useless apis in vanilla framework

commit 41c787747aeedae52a08e761172b280bc814f67d
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-08T04:11:38Z

* [jsfm] publish js runtime / legacy / vanilla frameworks

commit 229740a583b540e01e50fccfc3273bfc9415921f
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-08T09:01:41Z

Merge branch '0.16-dev' into jsfm-feature-0.22

commit 8294acfc2c5a5268edf1bd048981a578e5a9c253
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-08T09:11:20Z

* [jsfm] change the file name case in vdom

commit bade95514eb57eaf0dec7a4bf42f07b33f9c9aa6
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-08T16:26:17Z

* [jsfm] refactor the logic in runtime init

commit 9e13c86051e4e8e615ea0be0ae86e7237b546494
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-10T08:27:05Z

* [test] refactor the unit test cases of runtime

commit 500cfe8fd151c5a7cf0abeaa0552c55b65d14cbf
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-10T12:02:39Z

+ [test] add test cases for render real instance

commit 65c1af51e7ce144119220ca04ee719e99059baf6
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-10T12:06:15Z

* [jsfm] add type check in the  method of TaskCenter

commit 8d6c0d2803c83866398832763d935a5e412c76ba
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-14T03:44:37Z

Merge branch '0.16-dev' into jsfm-feature-0.22

commit c8e9cdb6c2fd6c904b0fa99ef6d6be5a4f0b1e3e
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-14T06:04:01Z

* [build] update build scripts to copy the right path

commit e9f9df58ad899aecd339614d97c465d392ac097a
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-14T06:11:16Z

* [build] build weex-js-framework@0.21.9




---
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 #594: [jsfm] release v0.21.9

2017-08-11 Thread Hanks10100
GitHub user Hanks10100 opened a pull request:

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

[jsfm] release v0.21.9

Don't normalize object and array in deep.

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

$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-0.21

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

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


commit b296793ed1086744027b1800e42beee64d4f45c1
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-09T09:32:30Z

Merge branch 'jsfm-feature-0.21.7' into jsfm-feature-0.21

commit a68cc07080396fce29a35048d7aeec9cfc55c948
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-09T09:34:13Z

* [jsfm] release v0.21.8

commit 45781624d88bf8e57ab3d6b1a01f84d37aff9fea
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-11T08:24:38Z

* [jsfm] donot normalize object add array in deep

commit 22031bc8fab6f7ce1d56b1908a5a2c3390a8a719
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-11T09:11:05Z

* [build] merge from 0.16-dev

commit e903fe80daa9ad1d8262b4eaf647dbe81643fdd8
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-11T09:11:44Z

* [jsfm] release v0.21.9

commit 42285f337afe98f3876504ad29fc913e422e79a6
Author: Hanks <zhanghan...@gmail.com>
Date:   2017-08-11T09:13:14Z

* [build] fix conflect




---
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   2   >