Commit Graph

1775 Commits

Author SHA1 Message Date
James Chen 03057774cd Updates docs for Ref class binding. 2017-10-13 14:55:51 +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 b2409b424e fixed #897: Node::setGLProgramState needs to retain / release js script object. 2017-10-13 09:51:46 +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 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 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 f7bd0dd738 Updates version to 1.7.0 2017-10-11 22:09:52 +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 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
CocosRobot 0f74e77a53 [AUTO][ci skip]: updating cocos2dx_files.json 2017-10-11 01:59:14 +00: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 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
CocosRobot 2d01d405dd [AUTO][ci skip]: updating cocos2dx_files.json 2017-10-10 08:55:16 +00:00
James Chen 3ad08f9591 Updates submodules. 2017-10-10 16:47:55 +08:00
James Chen 0548edd7f4 Adds Simulator.entilements for mac simulator project. 2017-10-10 16:44:14 +08:00
James Chen 7cc33615c3 Fix source url is too long. 2017-10-10 16:15:16 +08:00
James Chen f3ea953638 compilation error fix for simulator. 2017-10-10 15:14:19 +08:00
James Chen b4d7eda372 Updates simulator. 2017-10-10 14:55:20 +08:00
James Chen 412574c670 Merge branch 'develop' of git://github.com/cocos-creator/cocos2d-x-lite into jsb2.0
# Conflicts:
#	cocos/scripting/js-bindings/auto/jsb_cocos2dx_extension_auto.cpp
2017-10-10 14:48:04 +08:00
James Chen 1fe5cee080 Updates win32 simlator project to link libuv. 2017-10-10 14:37:55 +08:00
James Chen d0992f2b2c Updates win32 templates to link libuv. 2017-10-10 14:35:24 +08:00
James Chen 0dd7dc9ea9 Updates docs 2017-10-10 14:29:59 +08:00
James Chen 2e3e474c3e [android] Adds APP_CFLAGS for template projects. 2017-10-10 14:28:51 +08:00
James Chen 3c9d86a262 link libuv for android 2017-10-10 14:27:43 +08:00
James Chen fe12ba2fc2 macro fix. 2017-10-10 14:27:27 +08:00
James Chen e46581a4bc macro fix. 2017-10-10 14:27:12 +08:00