Skip to content

Commit 4c0405f

Browse files
xklisospartan
authored andcommitted
V0.9.4 playground (alibaba#73)
* * [ios] fix border's "Overlapping Curves" not recomputed when relayout * * [ios] change header comment * * [ios] remove development_team in sdk configuration * * [ios] Add -1 support for callAddElement * + [ios] support targetExecuteQueue on module protocol * * [ios] simplify dispatch call. * - [ios] remove unused callback parameter in callNative * + [ios] bugfix:clipboard callback value not rgiht * + [ios] add default style backgroundcolor for all compnonet * + [ios] add feature that other component can modify default style * + [ios] update fetchResetStyles method * * [ios] add annotation for keepAlive callback * + [ios] update text default color * * [ios] fix crash on events' copy * + [ios] add textArea keyboard feature * + [ios] add textArea keyboard feature * * [ios] text storage lock seems unnecessary here. * * [ios] Guard against NaN values with WXPixelType * + [ios] feature default style * + [ios] add completeURL method. * + [ios] add default style * + [ios] add default style * + [ios] add default style * + [ios] fix textarea placeholder bug * + [ios] add feature default style * + [ios] add feature default style * + [ios] add feature default style * + [ios] add default style * + [ios] add default style * + [ios] add feature default style * * [ios] do not trigger display if frame has zero width or height, because CALayer's display method can only be triggered once in a drawing circle. * * [ios] update podfile source * Revert "* [ios] update podfile source" This reverts commit 4832776. * * [ios] Add URL rewrite support for relative/file/local path * + [ios] keep root view frame when keyboard up * + [ios] keyboard up bug fix * * [ios] adapter onclick coordinate * + [ios] delete no use code * * [ios] fix tests compile error * + [ios] set origin root frame to CGRectNull * + [ios] add feature: freeze root view frame when keyboard pick up and root view frame change * + [ios] add feature: freeze root view frame when keyboard pick up and root view frame change * * [ios] fix textinput component inputEvent fired repetitiously * + [ios] add feature picker * + [ios] define picker toolbar height * + [ios] add feature date picker * * [ios] cancel simulator scanner * * [ios] support components load relative path resource * * [ios] use urlRewrite maccro * * [ios] update pospec * + [ios] Add URL rewrite tests * * [ios] bugfix add register component type * * [ios] remove unused code * * [ios] bug fix 1664, add resetLoadmore on scroller & list. * 1.targetQueue;2.unitTests * * [ios] fix compiler complain about warning * * [ios] update sdk version to 0.9.4 * bugfix * * [ios] fix testComponentFactory * + [ios] fix feature datepicker. 1.Split datePick into pickDate and pickTime. 2. Format code style. * + [ios] fix feature datepicker. change Chinese annotation to English annotation. * + [ios] fix feature datepicker. format code style. * + [ios] combine code to wxutility * + [ios] WXUtility date function description friendly * * [ios] bugfix component load rewriteurl * + [ios] bugfix picker * * [ios] fix code style * * [ios] bug fix picker * * [ios] bug fix picker rescue * * [ios] bug fix picker :Improved code reuse logic * + [ios] chinese bug fix in texture * * [ios] fix bug height change to zero when style change * * [ios] fix bug height change to zero when style change * * [ios] fix bug height change to zero when style change * * [ios] fix bug height change to zero when style change * * [ios] fix bug default style * * [ios] fix single picker but * * [ios] bug fix picker * * [ios] text set default value * * [ios] text set default value * * [ios] change reset css not to private method * * [ios] fix bug:_updateAttributesOnComponentThread reset styles delete * * [iox] fix 1782. * * [ios] fix bug: text area cursor auto go to end .reason: if attributes[@"value"] is exist. _updateAttributesOnMainThread will change textview text.the cursor go to end. solution: save the textview selectedRange , when set textview.text ,correct it * * [ios] updateAttributes will execute in main thread , the _updateAttributesOnMainThread could be delete(by zifan) * * [ios] texture and input keyboard animation not with component. change UIKeyboardDidShowNotification to UIKeyboardWillShowNotification * * [ios] bugfix cancel url uft8-encode * * [ios] bug fix: when style change ,text not set height, text's heigh is same as font . like android * * [ios] bugfix iconfont load font , support woff * Revert "* [ios] bugfix cancel url uft8-encode" * Revert "Revert "* [ios] bugfix cancel url uft8-encode"" This reverts commit 0250453. * * [ios] use absoluteString as key * + [ios] when styles change ,height not set , text should show content and height is refer to fantasize . this function is same as android and h5 . I think all default should set next version * * [ios] bug fix update code style * * [ios] bug fix: change resetTextCSSNodes to resetTextCSSNode * * [ios] change resetTextCSSNodes to resetTextCSSNode * * [ios] change default height to wxcomponent * * [ios] bug fix setNeedsLayout in every elements. not in once. because elements not contain css node only * * [ios] image placeholder compatible * * [ios] change default Process * * [ios] update reset styles * + [ios] delete blank * * [ios] add reset styles * * [ios] delete not use code * * [ios] update reset cssnode * * [ios] change style to filterstyle * * [ios] change default value CSS_UNDEFINED to 0.0,because their value is 0.0(float) * * [ios] set fontsize to default * * [ios] update _fontsize default WX_TEXT_FONT_SIZE * add targetqueue to clipboard * * [ios] -1 will be converted wrong in 32bit devices, so we should convert it to Int 32 first. * * [ios] force convert * * [ios] fix bug that setFrame incorrectly when transform has been set From the UIView's frame documentation: https://developer.apple.com/reference/uikit/uiview#//apple_ref/occ/instp/UIView/frame Warning : If the transform property is not the identity transform, the value of this property is undefined and therefore should be ignored. So layer's transform must be reset to CATransform3DIdentity before setFrame, otherwise frame will be incorrect * + [example] fix 1:alibaba#1570, update navigator demo. substitute require(xx) for $call(x) and fix the push url error in Html5. * + [example] fix Update slider-neighbor demo. * + [ios] fix course bug and add focus for textarea * * [ios] update view to input view and textview * * [ios] format code * + [example] add picker demo for playground * * [ios] add getComponentRect Example * * [example] update the input demo * + [ios] fix bug http://velocity.alibaba-inc.com/issues/3232. the index of slider component is invalid in less than two entries. * * [example] update the input demo * * [example] set autofocus after 1000ms * * [ios] update podfile and add an interface for weex handler. * * [ios] update podfile * + [ios] add custom environment entry. * * [ios] update podfile * * [ios] update podfile * * [ios] update weex bundle js * * [example] merger example branche * *[example] update example * *[example] add component example slider and process-bar * *[android] recover main.js * * [android] update version * *[android] update inspection version 0.8.0.0 * *[android] update version code * *[android] update version code * Revert "*[android] update version code" This reverts commit 50da9a94666bcf8c39973c41d85a657fb3b13a5f. * * [ios] enable set neighbor-space for slider-neighbor * *[android] update WXOkhttpDispatcher.java remove OkHttpInterceptor * * [ios] allow native notification call JS callback * * [ios] fix : Compatible non-standard url ("//a.b.example.png") * * [ios] use weexInstanceId to fireGlobalEvent * * [ios] in case that userInstanceId exist but the real instance has been dealloced * * [ios] add annotation about fireglobalEvent * * [ios] update bundle js * * [ios] update bundle js * * [ios] update bundle js * * [ios] update playground version to 1.3 * * [ios] texture bug fix : when input change . the text content send to change * * [example] update assets example * * [example] update index.we * * [example] update web-demo.we * * [example] add new show case
1 parent 1c948d4 commit 4c0405f

File tree

579 files changed

+93084
-46230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

579 files changed

+93084
-46230
lines changed

.eslintrc

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"window": false,
1717
"location": false,
1818
"callNative": false,
19+
"callAddElement":false,
1920
"callJS": false
2021
},
2122

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ html5/runtime/config.js
2929
html5/test/e2e/reports
3030
html5/test/e2e/screenshots
3131
html5/test/e2e/logs
32+
33+
# Created by Weex Web Packer
34+
html5/browser/extend/packer.js
35+
3236
android/playground/app/gradlew
3337
android/playground/app/gradlew.bat
3438
android/playground/app/gradle/wrapper/gradle-wrapper.jar

.wwprc

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"components": [
3+
"image",
4+
"text",
5+
"scrollable",
6+
"slider",
7+
"indicator",
8+
"tabheader",
9+
"input",
10+
"textarea",
11+
"video",
12+
"switch",
13+
"a",
14+
"embed",
15+
"spinner",
16+
"web"
17+
],
18+
"apis": [
19+
"dom",
20+
"event",
21+
"pageInfo",
22+
"stream",
23+
"modal",
24+
"animation",
25+
"webview",
26+
"navigator",
27+
"storage",
28+
"clipboard",
29+
"geolocation"
30+
]
31+
}

README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# Weex
1+
# Weex
2+
Android[![Download](https://api.bintray.com/packages/alibabaweex/maven/weex_sdk/images/download.svg)](https://bintray.com/alibabaweex/maven/weex_sdk/_latestVersion)
3+
iOS[![Pod version](https://badge.fury.io/co/WeexSDK.svg)](https://cocoapods.org/pods/WeexSDK)
4+
HTML5[![npm version](https://badge.fury.io/js/weex-html5.svg)](https://www.npmjs.com/package/weex-html5)
25

36
> A framework for building Mobile cross-platform UI.
47
@@ -64,9 +67,11 @@ On Android Platform , Weex code is executed in [weex_v8core](https://github.com/
6467
See [SCRIPTS.md](./SCRIPTS.md) for more information.
6568

6669

67-
## IDE Plugin & Syntax Highlight
70+
## IDE Plugin & Syntax Highlight & DevTool
6871

69-
See [Weex Community](https://github.com/alibaba/weex/wiki/Weex-Community) Wiki page
72+
See [Weex Community](https://github.com/alibaba/weex/wiki/Weex-Community) Wiki page
73+
74+
Weex team have developed a [DevTool](https://github.com/weexteam/weex-devtool) to help you to improve `we file` debug efficiency.
7075

7176
## FAQ
7277

android/playground/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88
applicationId "com.alibaba.weex"
99
minSdkVersion 15
1010
targetSdkVersion 23
11-
versionCode 5
11+
versionCode 13
1212
versionName "0.5.2.5"
1313
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1414
ndk{
@@ -90,5 +90,5 @@ dependencies {
9090
compile 'com.android.support:support-annotations:23.2.1'
9191
compile 'com.jakewharton.scalpel:scalpel:1.1.2'
9292
//compile 'com.google.android.gms:play-services-appindexing:8.1.0'
93-
compile 'com.taobao.android:weex_inspector:0.0.8.1'
93+
compile 'com.taobao.android:weex_inspector:0.8.0.0@aar'
9494
}

0 commit comments

Comments
 (0)