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

* [android] fix domobject NPE #3

Merged
merged 10 commits into from
Mar 2, 2017

Conversation

sospartan
Copy link
Contributor

Fix NPE in list's BaseBounceView.

sospartan and others added 10 commits February 28, 2017 15:34
* * [android] update list add attr keep-scroll-position

* * [android] update list add attr animation

* * [android] update list

* * [android] update modify judgment

* * [android] add commit

* * [android] update formate code
Fix the problem of mixing animation and border-radius together.
…k together if system version is 4.3 or 4.4. (apache#2759)

Without this fix, the border-radius of linear-gradient div in the following page will not work.
http://dotwe.org/weex/963c9ade129f86757cecdd85651cd30e

This is mostly likely due to OpenGL ES 3.1, which provided  "Separate shader objects" is not supported until android 5.0.
* * [test] run android&js ci in linux

* * [test] update travis
* load weex js with file scheme

* rename method name
…rtan/incubator-weex into 0.11-dev-bugfix-fix-bounceview-npe
@asfgit asfgit merged commit fc6f06d into apache:0.11-dev Mar 2, 2017
asfgit pushed a commit that referenced this pull request Mar 2, 2017
…rtan/incubator-weex into 0.11-dev

This closes #3
@sospartan sospartan deleted the 0.11-dev-bugfix-fix-bounceview-npe branch June 8, 2017 05:46
asfgit pushed a commit that referenced this pull request Apr 12, 2018
* [iOS] bugfix bridgeManger mutli instance

* [iOS] support multi-context

* [iOS] handle  common javaScript context exposed method

* [iOS] add miss environment information

* [iOS] fix dead lock about dealloc object

* [iOS] try to protect crash when set nil object in dictionary

* [iOS] release jsContext object

* [iOS] support multi-context

* [iOS] release jsContext object

* [iOS] pare bundleType dynamic

* [iOS] mark js vm garbage collect when instance destroyed

* [iOS] support multi-context

* [iOS] release jsContext object

* [iOS] pare bundleType dynamic

* [iOS] mark js vm garbage collect when instance destroyed

* [iOS] fix compier warnings

* [iOS] set the protoType of Vue to the protoType of globalObject

* [iOS] preserve nativeLog function

* [iOS] fix compiler complain

* [jsfm] update jsfm version

* [iOS] use boolValue about the config

* [iOS] bugfix bridgeManger mutli instance

* [iOS] support multi-context

* [iOS] fix dead lock about dealloc object

* [iOS] try to protect crash when set nil object in dictionary

* [iOS] release jsContext object

* [iOS] pare bundleType dynamic

* [iOS] mark js vm garbage collect when instance destroyed

* [iOS] bugfix bridgeManger mutli instance

* [iOS] support multi-context

* [iOS] handle  common javaScript context exposed method

* [iOS] add miss environment information

* [iOS] fix dead lock about dealloc object

* [iOS] try to protect crash when set nil object in dictionary

* [iOS] release jsContext object

* [iOS] bugfix bridgeManger mutli instance

* [iOS] support multi-context

* [iOS] handle  common javaScript context exposed method

* [iOS] fix dead lock about dealloc object

* [iOS] try to protect crash when set nil object in dictionary

* [iOS] release jsContext object

* [iOS] pare bundleType dynamic

* [iOS] mark js vm garbage collect when instance destroyed

* [iOS] fix compier warnings

* [iOS] set the protoType of Vue to the protoType of globalObject

* [iOS] set pageName is empty string if it is null

* [iOS] update config

* [iOS] callJS on instanceContext

* [iOS] update Rax logic

*[iOS] remove useless code

* [iOS] update jsfm about rax

* [iOS] update jsfm

* [iOS] bugfix

* [iOS] remove unused line

* [iOS] trim jsbundle string, so that we can parse the bundleType

* [iOS] downgrade while jsfm restart

* [iOS] add local storage for configuration

* [iOS] add resources for jsfm

* [iOS] downgrade to original process when iOS is less than 9.0

* [iOS] downgrade when iOS version less than 9.0

* [iOS] enable multicontext default

* [iOS] downgrade to single context when iOS lower than 10.0

* [iOS] add globalContext for bridge protocol

* [iOS] fix set env

* [iOS] bugfix about atob & btoa

* [iOS] compatible for rax framework

*[iOS] fix out of range

* [iOS] downgrade to share context as the promise of iOS 10.0

* [iOS] convert to BOOL value from id value

* [iOS] parse javaScript bundleType

+ [jsfm] add standalone Promise polyfill for iOS

* [iOS] add poly-fill for iOS so that it can apply to iOS 9 and iOS 8

* [iOS] update project setting for new resources

* [iOS] refactor multi-context logic for devtool adapter

* [iOS] add header

* [iOS] bugfix about evaluate javaScript with sourceURL

* [iOS] clean unused code

* [iOS] callJSBridgeMethod

* [iOS] fix devtool adapter

* [iOS] refactor multi-context logic for devtool adapter (#3)

* [iOS] refactor multi-context logic for devtool adapter

* [iOS] update project settings

* [iOS] fix compiler error

[WEEX-240][iOS] clean up useless code

[WEEX-240] add weexInstanceId for bridgeProtocol

[WEEX-240][iOS] trim newline and whiteSpace character

[WEEX-240][iOS] update instance id when jscore context updated

close #1101
jianhan-he pushed a commit that referenced this pull request Aug 16, 2019
The return value of `jString2StrFast(env, instanceId)` could be `std::string(nullptr)`` if instanceId is `nullptr`, in which case the return value would cause crash.

```
    #00 pc 0x4aaec libweexcore.so (_ZNSt6__ndk16__treeINS_12__value_typeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPN8WeexCore14RenderPageBaseEEENS_19__map_value_compareIS7_SB_NS_4lessIS7_EELb1EEENS5_ISB_EEE13__lower_boundIS7_EENS_15__tree_iteratorISB_PNS_11__tree_nodeISB_PvEEiEERKT_SN_PNS_15__tree_end_nodeIPNS_16__tree_node_baseISL_EEEE+23)
    #1 pc 0x4aa6b libweexcore.so (_ZNSt6__ndk16__treeINS_12__value_typeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPN8WeexCore14RenderPageBaseEEENS_19__map_value_compareIS7_SB_NS_4lessIS7_EELb1EEENS5_ISB_EEE4findIS7_EENS_15__tree_iteratorISB_PNS_11__tree_nodeISB_PvEEiEERKT_+18)
    #2 pc 0x4907b libweexcore.so (_ZN8WeexCore13RenderManager7GetPageERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE+6)
    #3 pc 0x5d2d5 libweexcore.so (_ZN8WeexCore18CoreSideInPlatform12NotifyLayoutERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE+12)
 ```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants