Commit Graph

657 Commits

Author SHA1 Message Date
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
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
Jare Guo c001b9db63 sync develop branch 2017-09-26 11:30:15 +08:00
CocosRobot 4523e9aee3 [ci skip][AUTO]: updating jsbinding automatically 2017-09-26 03:27:35 +00:00
Jare Guo 21011d38d9 Merge commit 'ee808929a67ee7ad3b38f135cb2a67b8e32c89eb' into develop 2017-09-26 11:04:56 +08:00
Jare Guo 1ea2fc1715 revert TextureCache, use ThreadPool instead 2017-09-26 10:18:01 +08:00
James Chen 11e0e21267 Adds Downloader binding comment. 2017-09-25 16:48:02 +08:00
James Chen 47c9e74346 fix console.log doesn't output in creator console. 2017-09-25 16:35:00 +08:00
James Chen 17a97d0aff fixed #839: Adds event.target for websocket callback. 2017-09-25 11:54:20 +08:00
James Chen cf935f484c fix XMLHttpRequest.open binding. 2017-09-25 10:04:10 +08:00
James Chen 8b1ba02f9f Implements seval_to_TTFConfig, don't ignore createWithTTF and setTTFConfig in auto bindings. 2017-09-23 17:53:24 +08:00
Jare Guo 769628d414 load image for existing texture 2017-09-23 09:18:51 +08:00
James Chen 235be1ec8a Updates bindings. 2017-09-22 17:47:38 +08:00