Commit Graph

599 Commits

Author SHA1 Message Date
James Chen 5a393994cd [Best C++ practice] ResponseType is enum class now. Renaming properties in MinXmlHttpRequest class. 2013-08-20 18:35:15 +08:00
James Chen 5407719f44 closed #2586: The utf8 response in XmlHttpRequest are mess codes. 2013-08-20 17:50:43 +08:00
CocosRobot 1107974892 [AUTO] : updating submodule reference to latest autogenerated bindings 2013-08-15 14:23:52 +00:00
CocosRobot 79ced6ba3a [AUTO] : updating submodule reference to latest autogenerated bindings 2013-08-15 11:25:15 +00:00
James Chen 9dbd74d2a8 Merge pull request #3413 from dumganhar/iss2521-js-ccb-owner
Adding more ExtensionTest like CocosBuilderTest and ControlButtonTest and bug fix in CCBReader.
2013-08-15 04:19:17 -07:00
James Chen 05534e87f4 closed #2521: Updating jsb_cocosbuilder.js, it supports CCControl now. 2013-08-12 11:27:09 +08:00
James Chen 1af0db12f6 issue #2521: Reporting an error when the callback function is undefined in 'js_cocos2dx_setCallback'. 2013-08-12 11:24:08 +08:00
James Chen f0e0b7600b issue #2521: Adding 'cc.convertColor3BtoHexString' in jsb_cocos2d.js. 2013-08-12 11:22:15 +08:00
minggo fd7d892847 Merge pull request #3403 from dumganhar/iss1690-bind-cccontrol
closed #1690: Exposing 'cc.Control. addTargetWithActionForControlEvents' and 'cc.Control.removeTargetWithActionForControlEvents' to JS.
2013-08-09 00:31:52 -07:00
James Chen 28789d674d issue #1690: [C++ Best Practice] Adding space in for loop. 2013-08-09 15:31:20 +08:00
James Chen 299562e3be issue #1690: Initializing member variables for JSB_ControlButtonTarget. 2013-08-09 15:08:12 +08:00
James Chen 10948fcef0 issue #1690: [C++ Best Practice] '{' in new line. 2013-08-09 15:00:06 +08:00
James Chen fd3843c4e0 issue #1690: [C++ Best Practice]Adding a space after 'if'. 2013-08-09 14:49:39 +08:00
James Chen f527387b1e closed #1690: Exposing 'cc.Control. addTargetWithActionForControlEvents' and 'cc.Control.removeTargetWithActionForControlEvents' to JS. 2013-08-09 10:58:25 +08:00
James Chen 9ce4388214 Merge branch 'iss1690-cccontorl-js' into iss1690-bind-cccontrol 2013-08-08 14:27:24 +08:00
CocosRobot 6f84509261 [AUTO] : updating submodule reference to latest autogenerated bindings 2013-08-08 03:02:27 +00:00
CocosRobot 89b3e7e193 [AUTO] : updating submodule reference to latest autogenerated bindings 2013-08-08 01:44:58 +00:00
James Chen 7910581654 Merge pull request #3388 from dumganhar/iss2483-sp-v23
closed 2483: Upgrading spidermonkey library to v23.
2013-08-07 18:39:40 -07:00
CocosRobot 98aae97de3 [AUTO] : updating submodule reference to latest autogenerated bindings 2013-08-07 06:33:44 +00:00
boyu0 ffd821ee13 issue #2345: update generated index 2013-08-07 13:48:12 +08:00
boyu0 ec6343a9b8 fix js and linux compile error 2013-08-07 10:34:30 +08:00
James Chen 6fdd95e3aa issue #2483: The callback type of 'delete' property has been changed from 'JS_PropertyStub' to 'JS_DeletePropertyStub' in v23. 2013-08-07 10:29:12 +08:00
CocosRobot a53a388005 [AUTO] : updating submodule reference to latest autogenerated bindings 2013-08-05 05:44:27 +00:00
James Chen 5ee6e7d79a Merge branch 'develop' into carlomorgantinizynga-new_develop_merge
Conflicts:
	cocos2dx/Android.mk
2013-08-05 10:09:15 +08:00
James Chen 78ad7bcb48 ControlEvent --> Control::EventType. 2013-08-05 10:03:02 +08:00
James Chen 8626455d69 Adding CCControl js binding. 2013-08-05 09:51:46 +08:00
CocosRobot a6279367d5 [AUTO] : updating submodule reference to latest autogenerated bindings 2013-08-02 02:46:30 +00:00
carlo morgantini b2579987e5 Merge remote-tracking branch 'cocos2d/develop' into new_develop_merge
Conflicts:
	cocos2d_libs.xcodeproj/project.pbxproj
	cocos2dx/include/ccTypes.h
	samples/samples.xcodeproj/project.pbxproj
2013-07-31 13:58:25 -07:00
CocosRobot e1d572fce5 [AUTO] : updating submodule reference to latest autogenerated bindings 2013-07-31 08:26:40 +00:00
Huabing.Xu b68339ef4e replace indent by using space instead of tab 2013-07-31 10:58:15 +08:00
Huabing.Xu c1023b5cb5 closed #2448: Fix some indent syntax! 2013-07-31 10:46:10 +08:00
Huabing.Xu 832fcf2adb closed #2448 : Fix crash when call glGetAttachedShaders with a NULL parameter on Windows 2013-07-31 10:37:42 +08:00
James Chen b9e29cd07e [JSB] Mark cc.TMXTiledMap.propertiesForGID to deprecated method. 2013-07-29 10:06:39 +08:00
James Chen 324607c32c More warning fixes. 2013-07-27 15:15:54 +08:00
CocosRobot 0e50b7663e [AUTO] : updating submodule reference to latest autogenerated bindings 2013-07-27 04:37:54 +00:00
carlo morgantini 23575f0a68 New Label stuff merged and Label::Alignment replaced with TextVAlignment and TextHAlignment 2013-07-26 16:04:21 -07:00
CocosRobot 7a0e765a39 [AUTO] : updating submodule reference to latest autogenerated bindings 2013-07-26 15:22:06 +00:00
James Chen 19d9c08c79 issue #2430: Fixing compilation errors for lua and js bindings. 2013-07-26 22:15:30 +08:00
James Chen dc7fcce0fe Merge branch 'iss2430-modify_enum' of https://github.com/minggo/cocos2d-x into minggo-iss2430-modify_enum
Conflicts:
	scripting/javascript/bindings/generated
	scripting/lua/cocos2dx_support/LuaCocos2d.cpp
2013-07-26 21:22:16 +08:00
CocosRobot e9b32f1f0c [AUTO] : updating submodule reference to latest autogenerated bindings 2013-07-26 12:47:22 +00:00
CocosRobot 9fb6d032ca [AUTO] : updating submodule reference to latest autogenerated bindings 2013-07-26 10:34:03 +00:00
minggo a7c1904eb8 issue #2430:move EditBox enum into class 2013-07-26 17:45:01 +08:00
minggo 0870581623 fix warnings 2013-07-26 15:22:45 +08:00
minggo f55d73194e issue 2430:use enum class for Control enum values 2013-07-26 14:37:26 +08:00
CocosRobot 97f17913a6 [AUTO] : updating submodule reference to latest autogenerated bindings 2013-07-26 06:27:41 +00:00
Ricardo Quesada d683e10808 More constant fixes
Transition::ORIENTATION_XXX -> Transition::Orientation::XXX
Image::FORMAT_XXX -> Image::Format::XXX
Image::_function() -> Image::function() // private methods should not start with '_'
DrawPrimitives::drawColor() -> DrawPrimitives::setDrawColor()

And fixes Premultiplied Alpha in PVR v3 images
And tests are updated with the new functions
2013-07-25 14:49:43 -07:00
Ricardo Quesada 16d0b43181 Constant fixes
Director::PROJECTION_2D, 3D,... -> Director::Projection::_2D, _3D, ...
Label::TEXT_ALIGNMENT_... -> Label::HAlignment::...
Label::TEXT_VERTICAL_ALIGNMENT_... -> Label::VAlignment::...
Texture2D::PIXEL_FORMAT_... -> Texture2D::PixelFormat::...
BlendFunc::BLEND_FUNC_DISABLE -> BlendFunc::DISABLE

Also adds more constant for BlendFunc
2013-07-25 13:36:19 -07:00
CocosRobot 53d2e8ac30 [AUTO] : updating submodule reference to latest autogenerated bindings 2013-07-25 14:36:24 +00:00
James Chen 8958f28257 Reset submodule of scripting/javascript/bindings/generated 2013-07-25 22:01:11 +08:00
minggo 4d7ac6c800 issue #2430:fix conflict 2013-07-25 21:37:12 +08:00