Commit Graph

8833 Commits

Author SHA1 Message Date
James Chen 685fe16e10 fixed #2076: Adding a method CCBReader::setResolutionScale for setting resolution scale manually 2013-04-23 10:39:59 +08:00
minggo f99ffcd6df Merge pull request #2424 from minggo/master
don't include unneeded header file
2013-04-22 19:23:01 -07:00
minggo d4efbcfcef don't include unneeded header file 2013-04-23 10:10:14 +08:00
James Gregory 3e85683ace Implement primitive drawing methods for Emscripten 2013-04-22 18:08:25 -07:00
James Gregory 172a96746d Move emscripten build to a separate Make target, remove Lua targets which I haven't tried to build. 2013-04-22 13:47:09 -07:00
James Gregory bb8dc433fc Enable -O2 optimization now that Emscripten seems to succeed. 2013-04-22 13:46:23 -07:00
James Gregory e92e70a450 Delete tmp directory after generating data file. 2013-04-22 13:46:03 -07:00
Andrew Goulding 3c6bb725e7 Added additional CCLOG to CCFileUtils::fullPathForFilename
There's currently no way to be sure, from a calling function, that
fullPathForFilename has returned an invalid file path, which makes it
difficult to quickly track down missing, or incorrect file paths. Added
a CCLOG before the original string is returned to make debugging
missing or incorrect file paths easier.
2013-04-23 06:24:12 +10:00
James Gregory 796152ad52 Bump Emscripten version 2013-04-22 13:01:45 -07:00
James Gregory 239f857b19 Rebuild libfreetype without references to my home dir in it. 2013-04-22 13:01:10 -07:00
minggo 15f55ef5cd Merge pull request #2421 from natural-law/master
issue #1723 : Update the iOS projects in plugin, and remove the win32 projects.
2013-04-22 02:27:40 -07:00
zhangbin 42ca70937f Update the iOS projects in plugin, and remove the win32 projects. 2013-04-22 17:11:45 +08:00
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