Commit Graph

8939 Commits

Author SHA1 Message Date
zhangbin 514f7fe5d5 Add reflection in plugin on android. 2013-05-23 17:57:55 +08:00
minggo e7d9e09a44 Merge pull request #2586 from silverscania/master
Bug in previous modifications made to GL_UNPACK_ALIGNMENT
2013-05-20 18:59:03 -07:00
James Chen 63e4d9720e Update .travis.yml 2013-05-20 23:38:42 +08:00
James Chen 505e4bc8dd Updating .travis.yml, adding GEN_JSB env. 2013-05-20 23:29:14 +08:00
James Chen e57fdf87f0 Update generate-jsbindings.sh [ci skip] 2013-05-20 23:27:40 +08:00
James Chen 4d785fb28a Updating secure info in .travis.yml. 2013-05-20 22:55:46 +08:00
James Chen 07c62519c2 Update AUTHORS [ci skip] 2013-05-20 21:21:17 +08:00
James Chen d7dab9a1d3 Merge pull request #2589 from dumganhar/issue2092-XMLHttpRequest
Merge PR #2561: Adding XMLHttpRequest for JSB.
2013-05-20 06:19:21 -07:00
James Chen db4ee295ee fixed #2092: Adding macro to make sure header file to be included only once. 2013-05-20 21:13:55 +08:00
James Chen 8bdcda7ef2 issue #2092: Bug fix in MinXMLHTTPRequest::send 2013-05-20 21:13:11 +08:00
James Chen d402b349e2 issue #2092: Updating win32 project configuration. 2013-05-20 21:12:25 +08:00
James Chen 2306c515ae Merge branch 'issue2092-XMLHttpRequest' of https://github.com/dumganhar/cocos2d-x into issue2092-XMLHttpRequest 2013-05-20 21:08:33 +08:00
James Chen f6297aeb33 Updating iOS template. 2013-05-20 21:06:37 +08:00
James Chen 9e9b9ca831 Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into issue2092-XMLHttpRequest 2013-05-20 20:55:29 +08:00
James Chen ad340f0a32 fixed #2092: Make some function static. 2013-05-20 18:11:55 +08:00
James Chen 0e0744faed fixed #2092: Updating iOS project configuration. 2013-05-20 17:48:52 +08:00
James Chen af655ce965 fixed #2092: #define httpresponse_selector(_SELECTOR) (SEL_HttpResponse)(&_SELECTOR) --> #define httpresponse_selector(_SELECTOR) (cocos2d::extension::SEL_HttpResponse)(&_SELECTOR). 2013-05-20 17:48:21 +08:00
James Chen 5254d3a702 fixed #2092: GC issues fix in XMLHttpRequest. 2013-05-20 17:47:47 +08:00
James Chen c305581bcf Updating the submodule of JS-Test. 2013-05-20 17:46:59 +08:00
James Chen 55be2f004c issue #2092: Removing unused code in XMLHttpHelper.h 2013-05-20 17:46:32 +08:00
minggo ad45c24c9a Merge pull request #2574 from minggo/AssetsManager-asynchronization
Fix compiling error of AssetsManager project on windows
2013-05-20 01:36:35 -07:00
James Chen 9d385dbd71 Merge branch 'XMLHttpRequest_cchttpclient' of https://github.com/zynga/cocos2d-x into zynga-XMLHttpRequest_cchttpclient 2013-05-20 14:02:55 +08:00
James Chen 3b77ffe478 Merge pull request #2578 from ricardoquesada/grid_projection_fix
Grid setProjection2D fix
2013-05-19 22:42:51 -07:00
James Chen d7b97bea25 Update AUTHORS [ci skip] 2013-05-20 12:59:41 +09:00
James Chen e1a71fb8e1 Merge pull request #2584 from smshuja/master
fixed #2179: pointQueryFirst returns invalid Shape when a shape is not found.
2013-05-19 20:57:00 -07:00
silverscania 1d23f1a2b4 The real cause of the problem for the texture corruption was when using textures with no alpha.
The function bitsPerPixelForFormat returns the wrong number for RGB_888.
2013-05-19 18:53:59 +03:00
Shuja Shabandri 32498521b4 pointQuery first returns invalid instance of Shape
Signed-off-by: Shuja Shabandri <shuja@shabandri.com>
2013-05-19 18:39:54 +04:00
silverscania 5adb4bc895 For some non power of two textures, even if the row alignment was 8, 4 or 2, setting this resulted in corruption.
See ddafa42850 (commitcomment-3243089) for texture example.
Fix by setting alignment to 1 for ALL non-PO2 textures.
2013-05-19 15:17:48 +03:00
silverscania 1973a52fbe Revert "Try to fix bugs that came up but just keeping the old parameters for row alignment: 4 or 1"
This was not the correct fix.
This reverts commit 110ea5a501.
2013-05-19 15:12:39 +03:00
silverscania 110ea5a501 Try to fix bugs that came up but just keeping the old parameters for row alignment: 4 or 1 2013-05-19 13:55:20 +03:00
James Chen c84baf9e79 Merge pull request #2582 from dumganhar/ios_template_fix
[iOS] Template fix.
2013-05-19 03:17:29 -07:00
James Chen 78000c70fc [iOS] Template fix. 2013-05-19 18:12:14 +08:00
Ricardo Quesada ba12022134 Grid setProjection2D fix
It doesn't multiply it by the CC_CONTENT_SCALE_FACTOR().
Not needed since it is CCDirector::getWinSizeInPixels() already has it
calculated
2013-05-17 15:30:19 -07:00
minggo 2a0eb8b0f5 Update AUTHORS
[ci ignore]
2013-05-17 11:03:44 +08:00
minggo b118cf6d72 issue #1859:fix compiling error of ScriptingCore.cpp 2013-05-17 09:57:55 +08:00
minggo 59a6635c7b issue #1859:fix compiling error of AssetsManager.cpp 2013-05-17 09:47:31 +08:00
James Chen 3b40dce1c2 Merge pull request #2569 from flaming0/patch-2
Update CCTexture2D.cpp [ci skip]
2013-05-16 03:11:01 -07:00
flamingo 3686107313 Update CCTexture2D.cpp
Fixed compilation error on MSVC compiler
2013-05-16 12:58:35 +04:00
Carsten Sandtner 2b2d7cb665 Merge branch 'master' into XMLHttpRequest_Demo
# By carlo morgantini (28) and others
# Via minggo (6) and zhangbin (3)
* master: (40 commits)
  Update AUTHORS
  Update AUTHORS
  fixed #2155 : Resolve the bug of callback methods in plugin.
  Update AUTHORS
  fix a warning caused by member variables initialization order in constructor
  it now shares code between createTextBitmap and createTextBitmapShadowStroke (no more duplication)
  initWithStringShadowStroke() renamed to initWithString()
  comment fixed
  fix alignent problem when rendering text with shadow
  fix a problem with float stroke size
  Fix problem with CCLabelTTF + shadow and text alignment; also fontDefinition property names now are lowercase
  CCLabelTTF C++ test fixed
  new "manual" conversion for ccFontDefinition in JS and also updated LabelTest.js using this new way of passing parameters to CCLabelTTF through ccFontDefinition
  initWithStringAndTextDefinition() changed method's signature
  no more bingins for ccTextDefinition
  class renamed and moved to ccTypes.h
  CCTextDefinition is passed now by pointers
  bindings for CCTextDefinition
  ccTextDefinition becomes CCTextDefinition
  changed the label test (shadows + stroke) for using ccTextDefinition when creating CCLabelTTF
  ...
2013-05-16 10:12:19 +02:00
Carsten Sandtner 6e43618004 MinXMLHttpRequest extends from CCObject
Added MinXMLHttpRequest to Android.mk for Bindings
Added newline at header as compiler threw a warning.
2013-05-16 10:11:00 +02:00
minggo 245cf4b3d9 Update AUTHORS
[ci ignore]
2013-05-16 14:50:27 +08:00
minggo 5f57ec2d1b Merge pull request #2207 from csy1988525/master
fixed a bug when button's parent is hided, the button still can responce to clicked event
2013-05-15 23:44:25 -07:00
minggo e45e08547b Update AUTHORS
[ci ignore]
2013-05-16 14:37:40 +08:00
minggo 1412eeefd1 Merge pull request #1893 from martell/mingw
Added Mingw-crt Support without breaking VS SDK
2013-05-15 23:30:43 -07:00
minggo 52fdd8ab08 Merge pull request #2568 from natural-law/master
New plugin weibo & resolve bug in plugin
2013-05-15 23:04:56 -07:00
zhangbin bf483df2c0 Merge branch 'master' of https://github.com/cocos2d/cocos2d-x 2013-05-16 11:47:40 +08:00
zhangbin 79bd3c990e fixed #2155 : Resolve the bug of callback methods in plugin. 2013-05-16 11:45:46 +08:00
minggo 1a947ce1cd Merge pull request #2567 from minggo/AssetsManager-asynchronization
Make AssetsManager download resources in a new thread
2013-05-15 20:24:05 -07:00
minggo 1a577b13aa Update AUTHORS 2013-05-16 11:10:26 +08:00
minggo b2fc4d150e Merge pull request #2546 from carlomorgantinizynga/TTFLabelNewProps
CCLabelTTF supports for shadow and stroke
2013-05-15 20:05:05 -07:00