Commit Graph

2331 Commits

Author SHA1 Message Date
James Chen 60286944f1 Merge pull request #900 from dumganhar/jsb2.0
Updates docs for Ref class binding.
2017-10-13 14:57:07 +08:00
James Chen 03057774cd Updates docs for Ref class binding. 2017-10-13 14:55:51 +08:00
James Chen 2c1ec9373f Merge pull request #899 from dumganhar/jsb2.0
EventAssetsManagerEx needs to be allocated on heap since it's the subclass of `cocos2d::Ref`.
2017-10-13 13:42:54 +08:00
James Chen a301199621 EventAssetsManagerEx needs to be allocated on heap since it's the subclass of cocos2d::Ref. 2017-10-13 13:39:18 +08:00
James Chen a0888c4564 Merge pull request #898 from dumganhar/jsb2.0
fixed #897: Node::setGLProgramState needs to retain / release js script object.
2017-10-13 10:06:34 +08:00
James Chen b2409b424e fixed #897: Node::setGLProgramState needs to retain / release js script object. 2017-10-13 09:51:46 +08:00
James Chen 85d3ec0fa7 Merge pull request #896 from dumganhar/jsb2.0
Don't crash if jsb.reflection.callStaticMethod invokes a nonexistent Java Class.
2017-10-12 15:33:44 +08:00
James Chen b9b9a88354 Don't crash if jsb.reflection.callStaticMethod invokes a nonexistent Java Class. 2017-10-12 15:31:24 +08:00
James Chen c2c493d941 Merge pull request #895 from dumganhar/jsb2.0
Safer code in Cocos2dxHttpURLConnection.java and in jsb_xmlhttprequest.cpp
2017-10-12 15:08:56 +08:00
James Chen ae8dc9ce35 Safer code in Cocos2dxHttpURLConnection.java 2017-10-12 15:05:52 +08:00
James Chen 2a9f8441fb Less asserts and more precondtions in jsb_xmlhttprequest.cpp. 2017-10-12 13:59:26 +08:00
James Chen e60a5faccd Merge pull request #894 from dumganhar/jsb2.0
Updates docs for conversion functions.
And

Same behavior of cc.sys.localStorage.getItem(null) as bowser, it should return null instead of undefined.

Safer checks in jsb_websockets.cpp
2017-10-12 11:45:56 +08:00
James Chen 26375fcddc Updates docs for conversion functions. 2017-10-12 11:42:01 +08:00
James Chen c821a5cc90 More safe checks in jsb_websockets.cpp 2017-10-12 11:17:48 +08:00
James Chen 50c36d32f5 Same behavior of cc.sys.localStorage.getItem(null) as bowser, it should return null instead of undefined. 2017-10-12 11:16:53 +08:00
James Chen d7c0982463 Merge pull request #884 from jareguo/develop
support load spine atlas from preloaded texture on JSB
2017-10-12 11:15:55 +08:00
Jare Guo 377881d4d3 update atlas getter 2017-10-12 10:05:46 +08:00
James Chen 99f2e442ab Merge pull request #893 from dumganhar/develop
Updates version to 1.7.0
2017-10-11 22:11:26 +08:00
James Chen f7bd0dd738 Updates version to 1.7.0 2017-10-11 22:09:52 +08:00
James Chen 00950f258a Merge pull request #892 from dumganhar/jsb2.0
CCLOG -> CCLOGINFO in finalize callback for less log output.
2017-10-11 17:04:27 +08:00
James Chen ee9713e007 CCLOG -> CCLOGINFO in finalize callback for less log output. 2017-10-11 17:02:46 +08:00
James Chen f91a758fb8 Merge pull request #891 from dumganhar/jsb2.0
Comments code of listening EVENT_RESET in WebSocket-libwebsockets.cpp since it isn't needed for JSB.
2017-10-11 16:36:07 +08:00
James Chen 08b38745a0 . -> , 2017-10-11 16:35:18 +08:00
James Chen 1764e440cd Comments code of listening EVENT_RESET in WebSocket-libwebsockets.cpp since it isn't needed for JSB.
Minior fix: CCLOG -> LOGD in jsb_xmlhttprequest.cpp.
2017-10-11 16:33:02 +08:00
Jare Guo 6914b57c22 Merge commit 'aade73a2f487510ff2f6138e8336d1f76b264ab7' into develop 2017-10-11 14:48:16 +08:00
James Chen aade73a2f4 Merge pull request #890 from dumganhar/jsb2.0
Adds seval_to_Map_string_key convertion function.
2017-10-11 14:46:48 +08:00
James Chen c146c9c0c7 Adds seval_to_Map_string_key convertion function. 2017-10-11 14:45:39 +08:00
James Chen 9714f1c412 Merge pull request #889 from dumganhar/jsb2.0
Removes COCOS2D_DEBUG definition in release mode. Adds APP_CFLAGS.
2017-10-11 14:13:49 +08:00
James Chen 632448d64b Removes COCOS2D_DEBUG definition in release mode. Adds APP_CFLAGS.
RuntimeJsImpl doesn't depend on COCOS_DEBUG macro.
Warning fix in bzero.
2017-10-11 14:11:41 +08:00
Wang Nan 7babdd652b add comment 2017-10-11 13:53:42 +08:00
James Chen 54f7e65477 Merge pull request #888 from dumganhar/jsb2.0
Updates config.json and adds error check for no script engine selected.
2017-10-11 12:47:09 +08:00
James Chen 331eb55a18 Updates config.json and adds error check for no script engine selected. 2017-10-11 12:44:42 +08:00
James Chen dbe0db18a3 Merge pull request #887 from dumganhar/jsb2.0
jsb_enable_debugger() uses local IP "0, 0, 0, 0", then Android debugging doesn't need to change IP.
2017-10-11 12:33:18 +08:00
James Chen e1ac3249a2 jsb_enable_debugger() uses local IP "0, 0, 0, 0", then Android debugging doesn't need to change IP. 2017-10-11 12:30:08 +08:00
Wang Nan ba2cad02a0 add copy and reset simulator xcode project task 2017-10-11 11:41:41 +08:00
James Chen 320812ce69 SAXParser is a singleton, root it. 2017-10-11 10:45:51 +08:00
pandamicro 9244187051 Merge pull request #886 from CocosRobot/update_cocosfiles_1507687154
[AUTO][ci skip]: updating cocos2dx_files.json
2017-10-10 21:35:56 -05:00
CocosRobot 0f74e77a53 [AUTO][ci skip]: updating cocos2dx_files.json 2017-10-11 01:59:14 +00:00
James Chen 9f6a3e5c55 Merge pull request #885 from dumganhar/jsb2.0
Updates docs for debugging & profiling JS code.
2017-10-11 09:53:27 +08:00
James Chen de52ad0d97 Updates docs for debugging & profiling JS code. 2017-10-11 09:52:41 +08:00
James Chen 8fe8b9a250 Updates docs for debugging & profiling JS code. 2017-10-11 09:50:03 +08:00
James Chen 13a331fae3 Merge pull request #883 from dumganhar/jsb2.0
Reverts ...args
2017-10-11 09:39:14 +08:00
James Chen 2dd124ac9e Condition fix for gl.texImage2D & gl.texSubImage2D. 2017-10-11 09:25:54 +08:00
James Chen 01b4553cee Reverts switch case in Class constructor. 2017-10-11 09:22:10 +08:00
Jare Guo 63236f2cf9 support load spine atlas from preloaded texture on JSB 2017-10-11 01:10:03 +08:00
James Chen a73bb35b2b Uses push instead of concat. 2017-10-10 18:31:49 +08:00
James Chen 7c670c3782 Updates version to 1.7.0 2017-10-10 18:03:30 +08:00
James Chen 9fb3358463 Reverts ...args 2017-10-10 18:02:43 +08:00
James Chen 863dd64dd3 Merge pull request #882 from CocosRobot/update_cocosfiles_1507625716
[AUTO][ci skip]: updating cocos2dx_files.json
2017-10-10 17:05:55 +08:00
CocosRobot 2d01d405dd [AUTO][ci skip]: updating cocos2dx_files.json 2017-10-10 08:55:16 +00:00