Commit Graph

4973 Commits

Author SHA1 Message Date
James Chen b5d02d8cca issue #2823: firefox debugger step ok. 2013-10-10 16:18:09 +08:00
Dhilan007 6b400dd4ec rename some variable 2013-10-10 11:30:42 +08:00
Dhilan007 d3a58fa5ad Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into di2899 2013-10-10 11:24:35 +08:00
Dhilan007 a17f141e7d issues #2914:removeSpriteFramesFromFile() crashes if file doesn't exist 2013-10-10 10:28:49 +08:00
Dhilan007 7756c77651 issues #2899:Fix application will crash when back to background on Android. 2013-10-09 18:09:24 +08:00
minggo d8d7d0b5a5 Merge pull request #3884 from samuele3hu/developPerformace
[ci skip]issue #2792:Performance Test: Sprite drawing
2013-10-08 19:08:48 -07:00
minggo b414caf499 Merge pull request #3889 from Dhilan007/di2895
[ci skip]issues #2895:Synchronize JSB from master to developer
2013-10-08 19:04:29 -07:00
Dhilan007 20971b0ad2 issues #2895:Synchronize JSB from master to developer 2013-10-08 15:57:34 +08:00
minggo a92db78c11 Merge pull request #3885 from Dhilan007/di2677
[ci skip]issues #2677:Use CoreMotion's API to replace UIAccelerometer.
2013-10-07 23:08:38 -07:00
LinWenhai 5a5dd2da14 Update CCDevice.mm 2013-10-08 13:44:35 +08:00
Huabing.Xu 44a63bb885 closed #2425: fix hole demo test error, we should use GLprogram before we set uniform to them 2013-10-08 11:48:57 +08:00
Dhilan007 5acac436f9 issues #2677:Use CoreMotion's API to replace UIAccelerometer. 2013-10-08 10:11:52 +08:00
samuelhu 01ee83364e Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developPerformace 2013-09-30 16:23:37 +08:00
samuelhu 6aa18423e6 issue #2792 : Performance Test: Sprite drawing 2013-09-30 16:22:55 +08:00
Dhilan007 4509a4746a issues #2861:fix memory leak when loading plist file using SpriteFrameCache. 2013-09-29 09:47:34 +08:00
James Chen 93436eea3c Merge pull request #3553 from DarraghCoy/ccset_leak_fix
Fix a memory leak in Set::removeAllObjects.
2013-09-25 20:00:08 -07:00
James Chen 610379de54 Merge pull request #3826 from michaelcontento/emscripten-fixes
Various small Emscripten fixes
2013-09-25 17:12:03 -07:00
Ricardo Quesada 341178cb91 Removes unneeded log
This log is already part of `CCConfiguration`
2013-09-25 13:03:47 -07:00
Michael Contento 5ca052446c various small fixes 2013-09-25 17:57:12 +02:00
Darragh Coy 8654df7b0e Remove Hungarian notation.
Remove Hungarian notation in fix made for memory leak in Set::removeAllObjects().
2013-09-24 21:01:30 +01:00
James Chen 1a5b8a7673 Merge pull request #3785 from yuye-liu/particle_designer_2
Particle designer 2[ci skip]
2013-09-24 02:57:49 -07:00
James Chen 3ffad35f0e Merge pull request #3741 from signmotion/develop
Fixed some compiling-warnings (MSVC2012).[ci skip]
2013-09-24 02:27:14 -07:00
yuye.liu 52559bc099 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop 2013-09-24 16:19:44 +08:00
yuye.liu 29332d0209 revising erro indent 2013-09-24 16:18:51 +08:00
minggo f91c29c45e Merge pull request #3689 from yuye-liu/particle_designer_2
[ci skip]particle designer2.0 support
2013-09-24 00:40:47 -07:00
minggo 9211d8f503 Merge pull request #3742 from mlepage/develop
Clean up some API documentation
2013-09-23 19:15:37 -07:00
minggo 2dd08a4945 Merge pull request #3769 from michaelcontento/android-fix-opengl-config
[ci skip]add EGL_RENDERABLE_TYPE to OpenGL attributes
2013-09-23 19:08:55 -07:00
minggo 5f2c94ee3c Merge pull request #3768 from michaelcontento/android-fix-null-access
[ci skip]wrong variable used which could crash the whole app
2013-09-23 19:07:22 -07:00
minggo 0c5e5cbf0c Merge pull request #3767 from michaelcontento/android-add-runOnGLThread-back-again
[ci skip]re-introduce Cocos2dxHelper.runOnGLThread(Runnable)
2013-09-23 19:00:36 -07:00
Ricardo Quesada 769a7ea1ed Logs when software decoder is being used
Logs when software decoder is being used in `Image`
2013-09-23 17:03:28 -07:00
Michael Contento 4211cc7fd1 re-introduce Cocos2dxHelper.runOnGLThread(Runnable)
It's crucial to execute various tasks synchonized with the rendering loop /
thread, but this ability (runOnGLThread) got removed with the NativeActivity
transitions a few days ago. This patch adds this method back again.

Why can't we just use runOnUiThread()? Because it seems not to be synchronized
properly and can cause broken OpenGL textures or even the whole app to crash.

Isn't there a better way to get into the mainloop? I hope so! But I'm not a
experienced Android developer and this solution is quite simple / the only one
that worked without any problems.
2013-09-23 11:53:12 +02:00
Michael Contento 09543a0aac wrong variable used which could crash the whole app 2013-09-23 11:50:34 +02:00
Michael Contento c9fe2c5107 add EGL_RENDERABLE_TYPE to OpenGL attributes
This patch adds EGL_RENDERABLE_TYPE=EGL_OPENGL_ES2_BIT to the OpenGL attributes.
The default value for this setting is EGL_OPENGL_ES_BIT and, as we require ES 2.0,
cause some problems on various Android devices (e.g. Amazon Kindle 2.Gen).
2013-09-23 11:44:14 +02:00
yuye.liu b7f1a980ab revising indent Erro 2013-09-23 16:24:33 +08:00
yuye.liu 56a058c74d modify particleSystem format erro 2013-09-23 10:12:54 +08:00
yuye.liu 276b770867 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop 2013-09-23 10:12:00 +08:00
Marc Lepage e6144e2c80 Clean up some API documentation 2013-09-22 20:05:49 -04:00
signmotion 7d139a3bc3 Fixed compiling-warnings (MSVC2012): C4996(* was declared deprecated), C4305 (* truncation from 'double' to 'float'), C4018 (* signed/unsigned mismatch), C4800(* forcing value to bool 'true' or 'false'). 2013-09-22 23:50:54 +03:00
James Chen 335c45664a Merge pull request #3736 from elwinarens/desc_scene_spelling
Minor spelling changes in description of CCScene.h[ci skip]
2013-09-22 07:05:38 -07:00
Elwin Arens 59c3efd53c Minor spelling changes description of CCScene.h 2013-09-22 11:07:21 +02:00
minggo f895183fbc add renamed files into vs.proj 2013-09-21 15:01:42 +08:00
minggo 261f0e4f05 rename some files 2013-09-21 14:40:54 +08:00
minggo bcb171e3c9 fix line end in windows 2013-09-20 22:23:13 +08:00
minggo be7d59b132 fix typo error 2013-09-20 21:29:12 +08:00
minggo 4c9771ba3c rename some class names to obey cocos2d-x coding style 2013-09-20 19:19:31 +08:00
James Chen c22315a19c Don't set listener type to "" when dissociateEventListener. 2013-09-20 14:36:15 +08:00
James Chen db2706553e Fixing dangerous pointer when removing event listener. 2013-09-20 14:13:20 +08:00
James Chen 213be32932 issue #2087: Fixing potential crash reported by Sam Gross. Thanks @Sam. 2013-09-20 10:23:58 +08:00
Dhilan007 2504b8e029 restore AccelerometerTest 2013-09-19 19:05:52 +08:00
James Chen 7797fad5a5 issue #2087: [EventDispatcher] Fixing crash on Win32. 2013-09-19 10:19:02 +08:00