Commit Graph

171 Commits

Author SHA1 Message Date
zhangcheng bc254cab25 Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_CocosStudioSurpport 2014-07-21 20:46:55 +08:00
Huabing.Xu 3403182f3e change define macros to avoid run error on mac 32 bit 2014-07-21 18:12:46 +08:00
zhangcheng 6cfc5b72dc 1. CocosStudio adapt to cocos2d-x v3.2. 2014-07-21 17:45:56 +08:00
pandamicro d2c6602dea Refactor #5580: Merge createDirectories to createDirectory 2014-07-21 16:51:48 +08:00
minggo 45fa2363e8 Merge pull request #7517 from dabingnn/v3_dll
V3 dll
2014-07-21 11:53:36 +08:00
minggo e128a432c1 Merge pull request #7521 from andyque/fixTextFieldDeleteBug
fix TextField backspace delete bug
2014-07-18 18:37:07 +08:00
andyque 73b38fbc6b fix TextField backspace delete bug 2014-07-18 18:13:17 +08:00
minggo aef1e01ce5 Merge pull request #7518 from natural-law/android-dependencies
Android dependencies
2014-07-18 17:57:42 +08:00
Huabing.Xu 0be2210724 rename CGSize to NSSize 2014-07-18 16:51:29 +08:00
pandamicro b614854cf9 Refactor #5580: Improve createDirectories 2014-07-18 15:09:00 +08:00
Huabing.Xu 8afd7614d1 Merge branch 'v3' into v3_dll 2014-07-18 14:01:17 +08:00
Dale Stammen 24462e1ded updated wp8 precompiled shaders 2014-07-17 09:41:07 -07:00
minggo 867fb18c5d Merge pull request #7503 from CaiCQ/v3
修正Linux下中文显示问题
2014-07-17 22:05:15 +08:00
Dhilan007 51aba5dae4 fixed magic number. 2014-07-17 21:19:09 +08:00
Dhilan007 229b30ed8b Fixed VideoPlayer can't quitting the full screen mode by press the back key. 2014-07-17 21:10:26 +08:00
Huabing.Xu 21b3e55339 Mac dylib version works now 2014-07-17 20:58:50 +08:00
CCQ 2bda9f62a1 Merge branch 'v3' of github.com:CaiCQ/cocos2d-x into v3 2014-07-17 18:58:55 +08:00
CCQ cb3b9b8405 修正Linux下中文显示不全问题 2014-07-17 18:42:23 +08:00
Huabing.Xu 3c6e87d34e Merge branch 'v3' into v3_dll
Conflicts:
	cocos/base/ccUtils.h
2014-07-17 14:12:10 +08:00
minggo e58626c11c Merge pull request #7476 from Dhilan007/v3-gc0717
Fixed bugs[Ouya controller]
2014-07-17 11:12:31 +08:00
Dhilan007 1ff937aa48 Fixed bugs[Ouya controller]:
1.fix joysticks are reporting the same keycode
2.fix lose disconnected event
2014-07-17 11:09:08 +08:00
minggo 43fe305cc9 Merge pull request #7283 from taug/v3
could add seach path and resolution order path in front.
2014-07-17 10:34:45 +08:00
minggo 4c7d777f25 Merge pull request #7471 from visiblelight/wp8_shader_update
Wp8 shader update
2014-07-17 10:14:54 +08:00
vision c47d844d20 update the buildin shaders on WP8. Disable the effect 3d test. 2014-07-17 10:08:49 +08:00
minggo a653d0eb28 Merge pull request #7440 from boyu0/add_utils_atof
Add utils::atof(), fix bug: particle not shown on android.
2014-07-17 09:59:15 +08:00
Dhilan007 7e76b7b9a1 Remove prompt box of connect controller[Nibiru]. 2014-07-16 14:48:22 +08:00
zhangbin 7e7c3a1e55 Merge branch 'v3' into android-dependencies 2014-07-16 13:49:20 +08:00
Huabing.Xu 0350186589 Merge branch 'v3' into v3_dll 2014-07-16 11:15:16 +08:00
boyu0 c7fec217ba Change atof() to utils::atof() 2014-07-14 20:45:24 +08:00
Huabing.Xu 469dbea7da window dll version work now 2014-07-14 14:40:47 +08:00
Dhilan007 b3017fb773 fixed crash cause by incorrect font name. 2014-07-14 10:01:29 +08:00
zhangbin b0c465d96b Adjust the dependencies between modules on android. 2014-07-14 09:48:16 +08:00
minggo bf4b376ae5 return correct language type 2014-07-12 20:40:15 +08:00
minggo ecb915fabf fix warnings 2014-07-11 17:39:56 +08:00
minggo f205c0b704 Merge pull request #7392 from xhcnb/fix_CC_ENABLE_SCRIPT_BINDING_build
Fix build with -DCC_ENABLE_SCRIPT_BINDING=0 , it causes failed
2014-07-11 13:41:33 +08:00
minggo 6c37541657 Merge pull request #7363 from Dhilan007/v3-event-clear
Dispatch EVENT_RENDERER_RECREATED event when renderer was recreated on android/wp8.
2014-07-11 13:36:52 +08:00
Jason Xu d94941243a Fix build with -DCC_ENABLE_SCRIPT_BINDING=0 , it causes failed 2014-07-11 10:27:00 +08:00
Dhilan007 dfbeb0fb63 Update Nibiru SDK and remove prompt box of install driver . 2014-07-10 22:33:58 +08:00
Dhilan007 6cff8cb564 fixed warn and replace NULL with nullptr. 2014-07-10 00:45:27 +08:00
Dhilan007 dbcb20b886 Dispatch EVENT_RENDERER_RECREATED event when renderer was recreated on android/wp8.
Make clear EVENT_COME_TO_FOREGROUND event.
2014-07-09 23:03:04 +08:00
minggo eba1735d04 Merge pull request #7347 from Dhilan007/v3-memory-leak
fixed memory leak cause by singleton.
2014-07-08 21:13:56 +08:00
minggo c2474ea7c0 Merge pull request #7262 from pandamicro/origin_v3
Indicate correct button and cursor position infomation in mouse move event
2014-07-08 21:07:09 +08:00
pandamicro d597a535c1 Refactor #5580: Make isDirectoryExist support relative path 2014-07-08 18:26:11 +08:00
Dhilan007 10defddc2e fixed memory leak cause by singleton. 2014-07-08 18:22:48 +08:00
minggo b0d260d293 Merge pull request #7027 from zhouxiaoxiaoxujian/improvement/COC-9
Fix UITextField IME can't auto detach
2014-07-08 10:56:16 +08:00
Dhilan007 6e2caf1c78 fixed can's set color for LabelTTF correctly on IOS. 2014-07-08 10:31:14 +08:00
Dhilan007 d1034fdaae 1.fixed lose disconnected event.
2.fixed incorrect device name and device id;
2014-07-07 17:47:07 +08:00
Dhilan007 68bd717ea7 issue #4689: support external key. 2014-07-07 12:06:24 +08:00
LinWenhai 992245e744 Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3-gc-refactor 2014-07-04 15:29:40 +08:00
Dhilan007 552a9251c4 issue #4689: Refactor controller API. 2014-07-04 15:22:53 +08:00
minggo 1a089f4a18 Merge pull request #7286 from Dhilan007/v3-gc0702
fixed can't get valid value from trigger button.
2014-07-02 16:24:24 +08:00
Dhilan007 097f782c38 remove ControllerAutoAdapter project. 2014-07-02 15:17:29 +08:00
Dhilan007 adfc010555 fixed can't get valid value from trigger button[Moga] 2014-07-02 15:09:24 +08:00
Dhilan007 c5dc7b9cd0 fixed can't get valid value from trigger button. 2014-07-02 14:19:10 +08:00
tangnan dd81e009f8 could add seach path and resolution order path in front. 2014-07-02 10:29:09 +08:00
Dhilan007 0fbcbec9de Add missing file for game controller support.
Fix using incorrect library project.
2014-07-01 16:44:10 +08:00
minggo 6654bf1129 Merge pull request #7265 from visiblelight/beta_test
Fix the crash when capturing screen on WP8
2014-07-01 16:19:45 +08:00
pandamicro 81df54b82e Fixed #5635: Correction of mouse event's cursor position 2014-07-01 15:14:41 +08:00
Dhilan007 66673d88fa split controller adapter[android] 2014-07-01 15:08:51 +08:00
Dhilan007 abeeb9a0c7 fixing incorrect optimization 2014-07-01 14:57:10 +08:00
Dhilan007 584e90c097 Rotate the frame buffer for WP8 during the snapshot 2014-07-01 14:48:43 +08:00
pandamicro abfbc4bffb Fixed #5632: Indicate the correct button in mouse move event 2014-07-01 13:01:04 +08:00
Dhilan007 afac6b86ff move controller support to 'libcontrollerdeleate' project. 2014-06-30 18:41:47 +08:00
Dhilan007 74579f19f5 issue #4895:Get events from controller to engine[android] 2014-06-30 03:23:51 +08:00
Dhilan007 5ed581758e issue #4895:Get events from controller to engine[android] 2014-06-30 03:20:22 +08:00
Dale Stammen 33e39b5786 added source files for component to be consistent with other platforms templates 2014-06-25 09:51:32 -07:00
minggo 8db7caff2a Merge pull request #7050 from gin0606/videoPlayerIssue
Fix crash when try to remove videoView(STATE_PLAYBACK_COMPLETED) in android
2014-06-25 17:56:03 +08:00
pandamicro 9d450d6513 Merge branch 'v3' of git://github.com/cocos2d/cocos2d-x into FileUtils_FILE_API 2014-06-24 14:57:12 +08:00
pandamicro d5bed908d3 Refactor #5580: Fix some issues 2014-06-24 14:51:01 +08:00
pandamicro ee82e9aaba Refactor #5580: Fix Win32 compile issue 2014-06-23 11:13:33 +08:00
Dale Stammen 83c5b7bdb0 updated wp8 precompiled shaders 2014-06-20 09:07:29 -07:00
pandamicro d90116a8da Refactor #5580: Add new file&directory apis into FileUtils 2014-06-20 18:01:34 +08:00
Mazyad Alabduljaleel 433dc140cd CCLOGINFO compilation fix 2014-06-19 20:59:08 +04:00
minggo e374bd67c7 Merge pull request #6946 from hanjukim/skip-utf8-bom
Skip UTF8 BOM if it exists and bug fix for unterminated string
2014-06-19 22:02:38 +08:00
gin0606 79f82b00bc Add new line at the end of a file to *.mm 2014-06-19 20:48:50 +09:00
gin0606 3ae8e29ce5 Add new line at the end of a file to *.h 2014-06-19 20:45:49 +09:00
gin0606 bf4f30d14b Add new line at the end of a file to *.cpp 2014-06-19 20:45:24 +09:00
Dale Stammen 753167b5f2 updated xaml resources 2014-06-16 09:25:35 -07:00
Dale Stammen b66269d85d Merge branch 'v3' into wp8-v3-template 2014-06-16 09:11:27 -07:00
Reck Hou bc5f4d9d59 Optimize FPS control algorithm under Android. 2014-06-16 16:05:40 +08:00
vision 0b8e6a6a83 The filename should be converted to lower case before comparing. 2014-06-13 15:32:49 +08:00
Dale Stammen 2d913470a0 updated fast resume code for app 2014-06-12 16:36:53 -07:00
Dale Stammen 29b9da34ea updated to latest version of Angle to fix memory leak when switching apps 2014-06-12 16:35:24 -07:00
Dale Stammen b0bc971523 fixed reloading of cocos2d-x after app switch 2014-06-12 16:34:21 -07:00
Dale Stammen 2c5b449c9c updated app name to App 2014-06-12 16:27:09 -07:00
gin0606 80c5349d75 Fix crash when videoView to remove in android 2014-06-12 16:47:08 +09:00
LinWenhai b268536385 fixed typo. 2014-06-12 09:46:18 +08:00
Dhilan007 63a68632a5 fixed calculating height of multi-line string was incorrect on IOS. 2014-06-11 21:49:08 +08:00
Frank.Xu 11919413c8 Fix UITextField IME can't auto detach 2014-06-10 14:53:27 +08:00
minggo 66c7b85134 fix issue on Xcode 6 2014-06-09 17:06:40 +08:00
minggo bbff18c96f add some comment 2014-06-06 12:09:39 +08:00
Anton Sokolchenko 770d5e91b7 Update CCImage.cpp 2014-06-05 18:02:45 +03:00
Anton Sokolchenko 5f74b8568d Fix CCImage to be compatible with UNIX2003
Without this wrapper I get errors below.
Mac Os X 10.9.3 Xcode 6 beta(the same problem also exists in Xcode 5)
I found a solution at http://stackoverflow.com/questions/8732393/code-coverage-with-xcode-4-2-missing-files and added one more wrapping function.

Undefined symbols for architecture i386:
  "_fwrite$UNIX2003", referenced from:
      _unixErrorHandler in libcocos2dx iOS.a(tif_unix.o)
      _unixWarningHandler in libcocos2dx iOS.a(tif_unix.o)
      _empty_output_buffer in libcocos2dx iOS.a(jdatadst.o)
      _term_destination in libcocos2dx iOS.a(jdatadst.o)
      _Fax3PrintDir in libcocos2dx iOS.a(tif_fax3.o)
      _PredictorPrintDir in libcocos2dx iOS.a(tif_predict.o)
  "_strerror$UNIX2003", referenced from:
      _TIFFOpen in libcocos2dx iOS.a(tif_unix.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
2014-06-05 16:54:00 +03:00
minggo 2c9c94c4a9 Merge pull request #6954 from visiblelight/AlphaIssues
Make PNG files premultiplied alpha when loading
2014-06-04 10:04:20 +08:00
Dhilan007 9e6304d84c fixed EVENT_COME_TO_BACKGROUND has not been sent on android. 2014-06-03 18:10:22 +08:00
vision 1c4838e7f0 we are only udpating PNG now. 2014-06-03 16:22:50 +08:00
vision 0149fd81b5 no need for handling RAW_DATA 2014-06-03 15:19:01 +08:00
vision 8af737739b premultiplied alpha for PNG,TGA,WEBP,RAW_DATA 2014-06-03 15:06:15 +08:00
Hanju Kim 05b992c628 Bug fix 2014-05-31 00:13:08 +02:00
Hanju Kim 28b95bd54a * Skip UTF8 BOM if it exists
* Fix when string isn't terminated if fread() reads less size than paramter at FileUtils getData
2014-05-31 00:06:56 +02:00