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

Commit

Permalink
[jsruntime] add runtime code (a/b) and build success (#2669)
Browse files Browse the repository at this point in the history
Cherry-pick release/0.26
  • Loading branch information
lucky-chen authored and YorkShen committed Jul 10, 2019
1 parent ccd09da commit f6f1127
Show file tree
Hide file tree
Showing 1,401 changed files with 38,609 additions and 19,329 deletions.
94 changes: 19 additions & 75 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,78 +1,22 @@
# 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
* Support arm64 & ndk18 on Android platform.
* Android JSC Runtime refactor.
* Android & iOS multi-size screen & rotation support.
* Background JS thread on iOS.
* Log module on iOS and Android to support redirection
* Synchronous call of component methods.
* Unified C++ log system of WeexCore.

## Main Bugfix
* Animation module crash on iOS.
* RTL layout crash on iOS.
* NSTimer not removed by WXTimerModule on iOS.
* Occasionally showing placeholder instead of main image on iOS.
* Animation end progress error on iOS.
* Some NPE issues on Android.
* Closing fd multiple times on Android IPC.
* box-shadow crash protection on Android.
* GPU texture size overflow protection on Android.
* Weexcore.so loading failure problem on Android.

* 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
6 changes: 3 additions & 3 deletions HOW-TO-BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This article was tested in MacOSX system.
This script will build Android and iOS SDKs:
> `$ 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.
The `$NDK18_dir` should be the directory of NDK 18, 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 Expand Up @@ -61,11 +61,11 @@ Move `min` version to Native SDK folder, which will be used by native SDK build.
check env

- you have gradle installed, see more details about 'how to install gradle' on the [gradle website](https://gradle.org/install).
- NDK r16 [link](https://developer.android.com/ndk/)
- [NDK r18](https://developer.android.com/ndk/downloads/older_releases.html)
- edit local.propteries (in `Android` dir)

```
ndk.dir=/Users/{user}/Library/Android/sdk/ndk-bundle-r16
ndk.dir=/Users/{user}/Library/Android/sdk/ndk-bundle-r18
sdk.dir=/Users/{user}/Library/Android/sdk
```

Expand Down
Loading

0 comments on commit f6f1127

Please sign in to comment.