Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
Merge Release/0.24 into master (#2478)
Browse files Browse the repository at this point in the history
* [jsfm] Fix the lint error in Document (#2368)

Remove the useless temporary variable `result` in the `fireEvent` method.

* [iOS] Fix mtl target build script. (#2369)

* Update version for 0.24 release

* Update release script

* Add release_candiate.sh

* Chmod publish_release_candiate.sh to 755

* Update publish.sh

* Update push tag

* Update publish srcript

* Update license header and build script for apache release.

* Update file header for source file from Webkit and chromium

* Update webkit version.

* update publish script.

* Update push tag

* update publish script

* Update rule for release_files.

* Add Ninja build dep (#2459)

* Update publish_release_official script.

* Update license

* Update release script

* Update comment doc release script.

* Update readme

* Update Readme.md

* [Android] Check weexVersion (#2451)

* [Android] Check weexVersion

1. The version must have 4 sections.
2. The leading three section must be number, and the last section is odd number with or without suffix string.

* [Android] Add ignoreVersionCheck

(cherry picked from commit 151c469)

* [Android] Copy so. (#2454)

Use a dedicated way to copy unstripped .so file without the importable file path.

(cherry picked from commit 4da0cea)

* Remove ios/sdk/WeexTests/dependency from Apache release.

* Update build.gradle
  • Loading branch information
YorkShen authored and lucky-chen committed May 24, 2019
1 parent c146abe commit e31e956
Show file tree
Hide file tree
Showing 124 changed files with 14,176 additions and 1,606 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ android/sdk/.externalNativeBuild/ndkBuild/

# release
apache_release_temp
RELEASE_NOTE.md
RELEASE_AUDIT.LOG

android/commons/bin/
android/playground/app/bin/
83 changes: 77 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,78 @@
## [Unreleased]
# Abstract
## Feature
* Support direction:rtl
* For international useage, support [direction:rtl](https://developer.mozilla.org/en-US/docs/Web/CSS/direction)
* Pull Request: https://github.com/apache/incubator-weex/pull/1664

### Changed
- [android]Move DOM and render to separate Action Object
- [android]Move Animation(animation module and css style) to seperate Action Object
- [android]Reserve `transformOrigin`'s last time state.
- [android]Refactor list-component sticky, use `List` instead of `Stack` to store sticky information.
* Support richtext component
* Support richtext component [richtext](http://weex-project.io/cn/references/components/richtext.html)
* Pull Request: https://github.com/apache/incubator-weex/pull/1796

* Performance optimization(init)
* rm useless log && reduce reflection
* Pull Request: https://github.com/apache/incubator-weex/pull/1844

* **Major change** refine weex code:(integration code from weex_core and weex_v8core)
* pr : https://github.com/apache/incubator-weex/pull/1999
* change log:
* Modify file naming from capitalized hump to lowercase
* Modify the header file inclusion method, mainly based on google style
* Change the file directory and move the basic function files to the base directory
* Merge jssengine code into WeexCore repository, integrate compilation
* Add libWTF.so to adapt to compile
* send interaction time with event(after 8s)
* Pull Request :
* https://github.com/apache/incubator-weex/pull/2000
* https://github.com/apache/incubator-weex/pull/2002

* JsEngine multi-threaded
* The jss sub-process adds I/O Thread, which is specially used to handle IPC message forwarding. Move the IPC operation originally attached to jsThread to I/O Thread.
* The jss sub-process adds a JSThread to execute the tag. The page instance for use_back_thread=true holds a VM for each thread, independent of each other. The two threads do not interfere with each other, so that they can run in parallel.

* ***Major change** Remove AutoConfigScan
* Pull Request: https://github.com/apache/incubator-weex/pull/2142

* Throws the exception in the componentHooks callback and hands it over to the client.
* Pull Request: https://github.com/apache/incubator-weex/pull/2285

* Add completion callback for registerService.
* Pull Request: https://github.com/apache/incubator-weex/pull/1776

* Supprot devtool show the new performance info
* Pull Request : <https://github.com/apache/incubator-weex/pull/1751>

* Support change device width and height by external interface
* Pull Request: <https://github.com/apache/incubator-weex/pull/2263>

## Bugfix
* Emoji not show on Android 9.0(init)
* Emoji not show on Android 9.0(init)
* Pull Request: https://github.com/apache/incubator-weex/pull/1804/files

* Support ontouch event on scroller component
* Pull Request: https://github.com/apache/incubator-weex/pull/1896

* Fix NPE && No such Element Exception
* Pull Request: https://github.com/apache/incubator-weex/pull/1896

* Bugfix java.lang.NullPointerException: println needs a message
* Pull Request: https://github.com/apache/incubator-weex/pull/1925

* ignore fixed element for interactionTime
* Pull Request:https://github.com/apache/incubator-weex/pull/1900

* Use JSON to find bundleType
* Pull Request:https://github.com/apache/incubator-weex/pull/1927

* Upload attribute information if list's column count equals or smaller than 0
* Pull Request: https://github.com/apache/incubator-weex/pull/1957/files

* try to fix threadpool rejectexception cause shutdown
* Pull Request:https://github.com/apache/incubator-weex/pull/2001

* try to fix js exception: scroll event.xxx undefined
* Pull Request: https://github.com/apache/incubator-weex/pull/2034

* fix multithread crash : task excute after instance destroy
* Pull Request: https://github.com/apache/incubator-weex/pull/2029
7 changes: 5 additions & 2 deletions HOW-TO-BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ The environment required to build weex is:
* JDK 1.6+
* Android SDK(`$ANDROID_HOME` must be set properly)
* Gradle 2.0+
* NDK r16
* NDK 16 and ndk 13 (**Both of them are needed**)
* [Ninja 1.8.2+](https://ninja-build.org/)
* CMake 3.9.0+
* iOS SDK:
* NodeJS 4.0+
Expand All @@ -29,7 +30,9 @@ This article was tested in MacOSX system.
# Build All by Script

This script will build Android and iOS SDKs:
> `$ bash scripts/build_from_source.sh`
> `$ bash scripts/build_from_source.sh $NDK13_dir $NDK_16dir`
The `$NDK13_dir` and `$NDK16_dir` should be the directory of NDK 13 and NDK 16, otherwise the Android build would failed.

This may take a while. After that, you can look in `dist/`, `android/sdk/build/output/` and `ios/sdk/Products` for Web/Android/iOS SDK artifacts.

Expand Down
227 changes: 214 additions & 13 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ conditions of the following licenses.

This product bundles vuejs v1.0.12, which is available under a
"MIT" license. For details, see https://github.com/vuejs/vue/blob/v1.0.12/LICENSE and following files:
src/js-framework/dist/index.js
runtime/frameworks/legacy/core/array.js
runtime/frameworks/legacy/core/dep.js
runtime/frameworks/legacy/core/object.js
Expand Down Expand Up @@ -245,21 +246,221 @@ This product bundles vuejs v1.0.12, which is available under a
This product bundles Guava v20.0, which is available under a "Apache" license. For details, see https://github.com/google/guava/blob/v20.0/COPYING and following files:
android_sdk/src/main/java/org/apache/taobao/weex/utils/WXDataStructureUtil.java

This product bundles json11 v1.0.0, which is available under a "MIT" license.For details, see https://github.com/dropbox/json11/tree/v1.0.0 and following files:
weex_core/Source/third_party/json11/CMakeLists.txt
weex_core/Source/third_party/json11/json11.cc
weex_core/Source/third_party/json11/json11.hpp

/* Copyright (c) 2013 Dropbox, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/

This product bundles chromium v66.0.3344.2, which is available under a "BSD-style" license. For details, see https://github.com/chromium/chromium/blob/66.0.3344.2/third_party/modp_b64/LICENSE and following files:
weex_core/Source/android/base/base64/base64.cpp
weex_core/Source/android/base/base64/base64.h
weex_core/Source/android/base/base64/modp_base64/modp_b64_data.h
weex_core/Source/android/base/base64/modp_base64/modp_b64.cc
weex_core/Source/android/base/base64/modp_base64/modp_b64.h
weex_core/Source/android/jniprebuild/jniheader/ContentBoxMeasurement_jni.h
weex_core/Source/android/jniprebuild/jniheader/MeasureMode_jni.h
weex_core/Source/android/jniprebuild/jniheader/NativeRenderObjectUtils_jni.h
weex_core/Source/android/jniprebuild/jniheader/SystemMessageHandler_jni.h
weex_core/Source/android/jniprebuild/jniheader/WXBridge_jni.h
weex_core/Source/android/jniprebuild/jniheader/WXDebugJsBridge_jni.h
weex_core/Source/android/jniprebuild/jniheader/WXParams_jni.h
weex_core/Source/android/jniprebuild/jni_generator.py
weex_core/Source/base/base64/base64.cpp
weex_core/Source/base/base64/base64.h
weex_core/Source/base/base64/modp_base64/modp_b64_data.h
weex_core/Source/base/base64/modp_base64/modp_b64.cc
weex_core/Source/base/base64/modp_base64/modp_b64.h
weex_core/Source/base/android/jniprebuild/jni_generator.py

# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

This product bundles Android Open Source Project vandroid-4.2.2_r1, which is available under a "BSD" license. For details, see https://android.googlesource.com/platform/bionic/+/android-4.2.2_r1/libc/README and following files:
weex_core/Source/IPC/futex.h

This product bundles Webkit 2.17.4, which is available under a "BSD 2-clause" license. For details, reference https://webkit.org/licensing-webkit/ for license(Weex only uses the files under BSD license) and see https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-2.17.4 for following files:
Files under: weex_core/Source/android/jsengine/dependence/
OptionsCommon.cmake
OptionsJSCOnly.cmake
WeexCommon.cmake
WeexFS.cmake
WeexFeatures.cmake
WeexHelpers.cmake
WeexMacros.cmake

Files under: weex_core/Source/android/jsengine/dependence/bmalloc
CMakeLists.txt
ChangeLog
Makefile

Files under: weex_core/Source/android/jsengine/dependence/bmalloc/Configurations
Base.xcconfig
DebugRelease.xcconfig
bmalloc.xcconfig
mbmalloc.xcconfig

Files under: weex_core/Source/android/jsengine/dependence/bmalloc/bmalloc
Algorithm.h
Allocator.cpp
Allocator.h
AsyncTask.h
AvailableMemory.cpp
AvailableMemory.h
BAssert.h
BPlatform.h
BumpAllocator.h
BumpRange.h
Cache.cpp
Cache.h
Chunk.h
Deallocator.cpp
Deallocator.h
DebugHeap.cpp
DebugHeap.h
Environment.cpp
Environment.h
FixedVector.h
Heap.cpp
Heap.h
Inline.h
LargeMap.cpp
LargeMap.h
LargeRange.h
LineMetadata.h
List.h
Logging.cpp
Logging.h
Map.h
Mutex.h
Object.h
ObjectType.cpp
ObjectType.h
PerProcess.h
PerThread.h
Range.h
ScopeExit.h
Sizes.h
SmallLine.h
SmallPage.h
StaticMutex.cpp
StaticMutex.h
Syscall.h
VMAllocate.h
VMHeap.cpp
VMHeap.h
Vector.h
Zone.cpp
Zone.h
bmalloc.h
mbmalloc.cpp

Files under: weex_core/Source/android/jsengine/dependence/bmalloc/bmalloc/darwin
BSoftLinking.h

Files under: weex_core/Source/android/jsengine/dependence/bmalloc/bmalloc.xcodeproj
project.pbxproj

Files under: weex_core/Source/android/jsengine/dependence/icu
LICENSE
README

Files under: weex_core/Source/android/jsengine/dependence/icu/unicode
localpointer.h
parseerr.h
platform.h
ptypes.h
putil.h
ucal.h
uchar.h
ucnv.h
ucnv_err.h
ucol.h
uconfig.h
ucurr.h
udat.h
udatpg.h
udisplaycontext.h
uenum.h
uformattable.h
uiter.h
uloc.h
umachine.h
umisc.h
unorm.h
unorm2.h
unum.h
unumsys.h
urename.h
uscript.h
uset.h
ustring.h
utf.h
utf16.h
utf8.h
utf_old.h
utypes.h
uvernum.h
uversion.h

The copyright for files above is listed below:

COPYRIGHT AND PERMISSION NOTICE

Copyright (c) 1995-2006 International Business Machines Corporation and others

All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, and/or sell copies of the Software, and to permit persons
to whom the Software is furnished to do so, provided that the above copyright notice(s)
and this permission notice appear in all copies of the Software and that both the above
copyright notice(s) and this permission notice appear in supporting documentation.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER
OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Except as contained in this notice, the name of a copyright holder shall not be used in
advertising or otherwise to promote the sale, use or other dealings in this Software
without prior written authorization of the copyright holder.


/*
* Copyright (C) 2016 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache Weex
Copyright 2018 The Apache Software Foundation
Copyright 2019 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
6 changes: 6 additions & 0 deletions POSSIBLE-NOTICES-FOR-BIN-DIST
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ by alibaba inc. , licensed under the Apache 2.0 License.
This product contains software dexposed(https://github.com/alibaba/dexposed) developed
by alibaba inc. , licensed under the Apache 2.0 License.

This product contains software js_engine(https://github.com/alibaba/weex_js_engine/) developed
by alibaba inc. , licensed under the Apache 2.0 License.

This product contains software bindingX(https://github.com/alibaba/bindingx) developed
by alibaba inc. , licensed under the Apache 2.0 License.

This product contains software loopj(https://github.com/loopj/android-async-http) developed
by loopj , licensed under the Apache 2.0 License.

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ A framework for building Mobile cross-platform UI.

Support Android 4.1 (API 16), iOS 8.0+ and WebKit 534.30+.

**Note: Please note the above download distribution is only for users' users' convenience. Weex Release is always in the format of [source code](https://weex.apache.org/download/download.html).**

## For Windows

Please ***INSTALL [Git for Windows](https://git-scm.com/download/win)*** and run all the following commands in git-bash.
Expand Down
Loading

0 comments on commit e31e956

Please sign in to comment.