Commit Graph

9423 Commits

Author SHA1 Message Date
minggo 25a0927bf7 Merge pull request #2419 from natural-law/master
Add protocol Ads & plugin Admob
2013-04-22 01:51:35 -07:00
minggo ec43617469 Merge pull request #2420 from minggo/2073-userdefault_memory_leak_
fixed #2073: fix memory leak in CCUserDefault
2013-04-22 01:46:00 -07:00
minggo d89792fdc6 fixed #2073: fix memory leak in CCUserDefault 2013-04-22 16:43:05 +08:00
zhangbin 155064edfa Merge branch 'master' of https://github.com/cocos2d/cocos2d-x 2013-04-22 11:19:22 +08:00
zhangbin abd6f3c906 Add sample code HelloAds for android platform 2013-04-22 11:17:31 +08:00
zhangbin 6a48e8145d Add plugin admob for android platform. 2013-04-22 10:40:29 +08:00
zhangbin 79870ded6a Add ads protocol. 2013-04-22 10:38:14 +08:00
Sergey Shambir 8507f7a386 network: Added PUT and DELETE request types 2013-04-21 20:54:52 +04:00
Sergey Shambir 270eeb4d9a Refactored and fixed almost impossible memory leak.
Previously curl_slist_free_all(cHeaders) called in loop after
many break statements, so there was no garantue that it will be called
in all cases.

This change also simplifies code to make implementing PUT/DELETE methods
easier.
2013-04-21 18:58:35 +04:00
Sergey Shambir 41f5538ff4 Added CC_DISABLE_COPY macro 2013-04-20 15:13:19 +04:00
James Gregory 7d499ce32a Correct the resolution in main.cpp for TestCpp for Emscripten 2013-04-19 18:17:53 -07:00
James Gregory c5baaa215a Remove -DLINUX from Emscripten chipmunk makefile 2013-04-19 18:17:28 -07:00
James Gregory 46542f96b0 Add note on origin of libxml binary. 2013-04-19 18:16:20 -07:00
James Gregory 4d6173af34 Don't set animation interval on emscripten builds since that is driven by the request frame API. 2013-04-19 18:15:54 -07:00
Sergey Shambir 3ae98978d4 Added CC_FORMAT_PRINTF to CCString
Added for CCString::initWithFormat() and CCString::createWithFormat().
Fixed warnings.
2013-04-19 14:00:16 +04:00
James Chen dc0e89e839 Merge pull request #2411 from CocosRobot/updategeneratedsubmodule_1366363642
cocos2dxmatoMac-mini : updating submodule reference to latest autogenerated bindings
2013-04-19 02:29:15 -07:00
CocosRobot 8d8a2293a1 cocos2dxmatoMac-mini : updating submodule reference to latest autogenerated bindings 2013-04-19 17:27:38 +08:00
James Chen bbdb09dc68 Merge pull request #2410 from dumganhar/iss2071-jsb-getTiles
fixed #2017: Binding cc.TMXLayer.getTiles() manually.
2013-04-19 02:26:30 -07:00
James Chen 20b0e41b78 fixed #2017: Binding cc.TMXLayer.getTiles manually. 2013-04-19 17:25:24 +08:00
James Chen dee0f37983 issue #2071: Updating cocos2dx.ini, skipping auto-generating cc.TMXLayer.getTiles(), it needs be bound manually . 2013-04-19 17:23:39 +08:00
James Chen 985b3a100e Merge pull request #2408 from sergey-shambir/gcc_warning
Fixed GCC warning on narrowing conversion
2013-04-19 02:14:00 -07:00
zhangbin 46b9090241 Solve the bug in ant build. 2013-04-19 16:20:40 +08:00
zhangbin 78c1cb809e Add the base sample code for ads 2013-04-19 16:19:04 +08:00
Sergey Shambir 5541816ef6 Fixed GCC warning on narrowing conversion 2013-04-19 12:09:26 +04:00
Sergey Shambir e5b2f300f9 Added CC_FORMAT_PRINTF(x,y) macro to warn on CCLog() format errors
Uses printf format. Enabled for GCC and clang.
2013-04-19 11:54:08 +04:00
James Chen fd0e4a80df Merge pull request #2405 from dumganhar/master
Removing unused file(uthash.h) in JSB projects.
2013-04-18 20:10:38 -07:00
James Chen f129b94e2d Removing unused file(uthash.h) in JSB projects. 2013-04-19 11:09:02 +08:00
James Chen 827f3d6482 Update AUTHORS 2013-04-19 10:46:56 +08:00
James Chen d37a43e100 Merge pull request #2398 from lgb/float_comparison_issue
fixed #1935: Float comparison must not use "==" in the equal function of CCPoint and CCSize, we should compare float number by using epsilon and absolute difference.
2013-04-18 19:44:17 -07:00
minggo 37dc03b7d6 Merge pull request #2404 from minggo/assetmanager
fix a compiling error
2013-04-18 19:36:03 -07:00
minggo f9aa710c36 fix a compiling error 2013-04-19 10:34:40 +08:00
James Chen 69d73d476e Update AUTHORS 2013-04-19 10:25:48 +08:00
James Chen 7bf9b3858e Merge pull request #2402 from brawsome/master
fixed #2069: Adding new macro CCB_MEMBERVARIABLEASSIGNER_GLUE_WEAK to CCBMemberVariableAssigner.h
2013-04-18 19:24:53 -07:00
James Chen e1e6f7acb9 Update AUTHORS 2013-04-19 10:03:45 +08:00
James Chen f100ad632e Merge pull request #2403 from dumganhar/iss2068-cctextfield-secure
fixed #2068: Adding a secureTextEntry property. Enabling this property causes the TextField to display the entered text as bullets.
2013-04-18 19:00:26 -07:00
James Chen ec50d34622 fixed #2068: Tab ~> 4 spaces. 2013-04-19 09:59:08 +08:00
James Chen 9ecaacf59b fixed #2068: Updating source format. 2013-04-19 09:55:29 +08:00
James Chen b91c5f099c fixed #2068: Fixing a compilation error on win32 since "•" couldn't be recognized by vs compiler. 2013-04-19 09:49:55 +08:00
Andrew Goulding 98a7b9636d Added CCB_MEMBERVARIABLEASSIGNER_GLUE_WEAK
We've found it useful to use CCB_MEMBERVARIABLEASSIGNER_GLUE_WEAK in
situations where we don't want CCObject derived pointers retained. It's
also useful if you want to assign a pointer dynamically cast to an
abstract base class such as CCLabelProtocol.
2013-04-19 08:06:25 +10:00
Dawid Drozd a153fa1f94 Fixing linking errors for TestCPP with libcurl 2013-04-18 12:14:18 +02:00
James Chen 861e8e42f7 Merge branch 'master' of https://github.com/MarcelBloemendaal/cocos2d-x into MarcelBloemendaal-master 2013-04-18 16:21:17 +08:00
James Chen 0ea0ad6382 Update AUTHORS 2013-04-18 15:32:18 +08:00
James Chen 612a8a309f Merge pull request #2193 from Weeds/feature-screen-dimensions
fixed #2065: Adding kResolutionFixedHeight and kResolutionFixedWidth resolution policy.
2013-04-18 00:31:13 -07:00
James Chen 69549de17b Merge pull request #2397 from dumganhar/master
Removing an unused comment in ccaffinetransform_to_jsval.
2013-04-17 23:14:28 -07:00
James Chen 556d95d922 Removing an unused comment in ccaffinetransform_to_jsval. 2013-04-18 14:13:26 +08:00
James Chen 5c67372615 Merge pull request #2396 from CocosRobot/updategeneratedsubmodule_1366264667
cocos2dxmatoMac-mini : updating submodule reference to latest autogenerated bindings
2013-04-17 23:00:27 -07:00
CocosRobot 5ead6d7322 cocos2dxmatoMac-mini : updating submodule reference to latest autogenerated bindings 2013-04-18 13:58:01 +08:00
James Chen 7e7de97706 Merge pull request #2395 from dumganhar/iss2064-js-node-tranf
fixed #2064: Exposing cc.Node.nodeTo***Transform to JS since it's used in CocoFrameworkJS.
2013-04-17 22:57:00 -07:00
James Chen 4d9d9a6cdd fixed #2064: Updating the submodule reference of bindings-generator. 2013-04-18 13:55:11 +08:00
James Chen 5f478e1e0a issue #2064: Updating tools/tojs/cocos2dx.ini. 2013-04-18 13:53:43 +08:00