Commit Graph

668 Commits

Author SHA1 Message Date
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 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 c146c9c0c7 Adds seval_to_Map_string_key convertion function. 2017-10-11 14:45:39 +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 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
James Chen 320812ce69 SAXParser is a singleton, root it. 2017-10-11 10:45:51 +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 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 9fb3358463 Reverts ...args 2017-10-10 18:02:43 +08:00
James Chen 7cc33615c3 Fix source url is too long. 2017-10-10 16:15:16 +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 0dd7dc9ea9 Updates docs 2017-10-10 14:29:59 +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
James Chen 342fcdd694 macro fix. 2017-10-10 14:26:52 +08:00
James Chen 039f531bbf Prints JS engine version. 2017-10-10 14:26:12 +08:00
2youyouo2 2405d0c917 remove unused extensions 2017-10-10 10:30:55 +08:00
James Chen 6591f17706 Updates docs. 2017-10-09 18:35:22 +08:00
James Chen 3c74a04612 Fix compilation error while enabling libuv. Updates win32 template to remove include path of spidermonkey. 2017-10-09 17:29:13 +08:00
James Chen b4578572dc Updates config.hpp, uses COCOS2D_DEBUG for controlling debugger. 2017-10-09 15:25:57 +08:00
James Chen c625158e74 Moves cocos2d-x node:onEnter/onExit binding code from se::ScriptEngine to ScriptingCore. 2017-10-09 15:25:10 +08:00
James Chen 9bbc052444 se::ScriptEngine::enableDebugger takes serverAddr and port arguments. 2017-10-09 15:00:04 +08:00
James Chen 76981db2ac se::Object::setProperty should return boolean. 2017-10-09 14:59:05 +08:00
James Chen 3ea685f4dc Safe check in dragonbones cleanup. 2017-10-09 14:57:40 +08:00
James Chen f0d2eeb2b3 Adds jsb_set_extend_property for easily setting extend property.
Adds jsb_init_file_operation_delegate and jsb_enable_debugger for easily use in AppDelegate.cpp.
2017-10-09 14:57:14 +08:00
James Chen 1e436f79b4 se::HandleObject is stricter. 2017-10-09 10:14:29 +08:00
James Chen 812af7dc67 Renames JSB2.0-learning.md to JSB2.0-learning-zh.md 2017-10-09 10:13:24 +08:00
James Chen 1732a448d7 Updates JSB2.0 docs. 2017-10-09 10:13:24 +08:00
James Chen 37e0865cbf Adds docs for JSB2.0 2017-09-30 15:53:35 +08:00
James Chen 7c0b328dd3 typo fix in sm/ScriptEngine.cpp 2017-09-29 10:30:40 +08:00
James Chen d6a177ea65 Include file tweak. 2017-09-29 10:19:57 +08:00
2youyouo2 5cfc3ec097 change onGetDataFromFile param to callback function 2017-09-28 17:06:55 +08:00
2youyouo2 f4fcf75547 Adds static keyword for removeFileExt function. 2017-09-28 15:32:00 +08:00
2youyouo2 bc8c5c1bee add xxtea support 2017-09-27 16:03:07 +08:00
James Chen 28d9ad258b Removes unused \n string ending since LOGD and LOGE in jswrapper need \n at the end of string. 2017-09-26 15:09:16 +08:00
James Chen 24efeae53d Merge pull request #846 from jareguo/develop
load image for existing texture
2017-09-26 01:59:32 -05:00
Jare Guo 2cca661439 tweaks 2017-09-26 14:57:51 +08:00
Jare Guo 7ffb0d40db avoid multi-thread issue 2017-09-26 14:24:04 +08:00