Commit Graph

648 Commits

Author SHA1 Message Date
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
James Chen 8230176ccb Fixes crash while click restart button in network test. (#829)
* Sync PR(https://github.com/cocos2d/cocos2d-x/pull/17921): remove "system" usage which is removed from iOS11.

* Fixes crash while click `restart` button in network test.

* printf -> LOGD

* Memory leak fix in XMLHttpRequest binding code.
2017-09-20 01:48:15 -05:00
James Chen 7f4088eb4a Win32 template fix, LOGD could output log in vs in se module. (#826)
* Win32 template fix, LOGD could output log in vs in se module.

* Updates config.json
2017-09-19 05:09:07 -05:00
2youyouo2 6a5012df16 remove cocostudio files 2017-09-19 15:29:32 +08:00
2youyouo2 e642e4a7bb remove unused code 2017-09-19 15:19:26 +08:00
2youyouo2 6771164c5d remove unused ccui 2017-09-18 18:16:51 +08:00
James Chen 9dafab9c49 macOS and iOS use JavaScriptCore, windows and android use V8. 2017-09-18 16:11:50 +08:00
James Chen 7539ccdad5 Merge pull request #819 from dumganhar/jsb2.0
[android] Fixes AppAcitivity (Sub class of Cocos2dxActivity) is re-created which causes crash if launching app first time and re-opening from icon.
2017-09-15 03:50:43 -05:00
James Chen 7bb53e3b13 update binding js. 2017-09-15 10:41:55 +08:00
James Chen ddc802d9f0 CCLOG in finalize method rather than cocos2d::log. 2017-09-15 10:40:43 +08:00