Commit Graph

1885 Commits

Author SHA1 Message Date
minggo ba4e0d8d39 closed #2438:re-add libwebp.a 2013-07-30 18:06:01 +08:00
minggo 1d2b1c79c2 closed #2438:remove mac 32-bit support 2013-07-30 18:02:35 +08:00
Timothy Qiu b3da051807 Remove colon after @param @warning @deprecated
Added a missing @param.
2013-07-30 10:56:14 +08:00
James Chen 2566f74cd7 closed #2440: Files with Non-ascii path can't be found on Windows. 2013-07-29 18:27:26 +08:00
James Chen a76f556fb2 [emscripten] Fixing compilation errors. 2013-07-29 16:33:34 +08:00
James Chen 4c32303b2e Merge pull request #3317 from dumganhar/member-var-init
Fixing warnings of the order of member variables and fixing errors for tizen projects. Updating JS-test.
2013-07-29 00:29:08 -07:00
James Chen 5aab0cab7b [Android] Fixing build errors for ndk-r9. 2013-07-29 14:54:00 +08:00
James Chen 343c98af13 Fixing warnings of the order of member variables and fixing errors for tizen projects. 2013-07-29 14:07:57 +08:00
minggo 9780b75da8 Merge pull request #3273 from thp/develop-qt5
Port Cocos2D-X to Qt 5 (develop branch)
2013-07-28 16:51:55 -07:00
James Chen b7afc9db43 issue #2430: [Win32] Undefine the macro RELATIVE since it was conflicted with CCBReader::SizeType::RELATIVE and CCBReader::ScaleType::RELATIVE. 2013-07-27 23:20:00 +08:00
minggo 295a23e535 Fix build with -Werror=format-security (default in Android NDK r9) 2013-07-27 07:57:28 +08:00
Sergii Rudchenko 3ea77ec933 Fix build with -Werror=format-security (default in Android NDK r9) 2013-07-27 01:17:13 +03:00
James Chen 825dd5927f issue #2430: Fixing conflicts. 2013-07-27 01:11:21 +08:00
James Chen dc7fcce0fe Merge branch 'iss2430-modify_enum' of https://github.com/minggo/cocos2d-x into minggo-iss2430-modify_enum
Conflicts:
	scripting/javascript/bindings/generated
	scripting/lua/cocos2dx_support/LuaCocos2d.cpp
2013-07-26 21:22:16 +08:00
James Chen a73a4b9837 Merge pull request #3276 from dumganhar/constants-refactor
Enumeration refactoring
2013-07-26 05:36:16 -07:00
James Chen c9def73930 Application::Platform::OS_MACOS --> Application::Platform::OS_MAC. 2013-07-26 20:24:33 +08:00
Éloi Rivard 95b826d82a Fixed a bug in emscripten file utils. 2013-07-26 14:19:47 +02:00
Éloi Rivard 3ffc026c6c Added some guards in file utils. 2013-07-26 14:19:20 +02:00
James Chen 9b6d3e6090 ResolutionPolicy::EXACTFIT --> ResolutionPolicy::EXACT_FIT 2013-07-26 20:07:41 +08:00
James Chen 7d9d799194 issue #2430: Fixing a typo. 2013-07-26 19:54:44 +08:00
James Chen e16a5f469b issue #2430: Refactoring enum 'ResolutionPolicy'. 2013-07-26 18:18:58 +08:00
James Chen 2f8d3587bd Platform::LINUX --> Platform::OS_LINUX, Platform::ANDROID --> Platform::OS_ANDROID. ANDROID is defined by ndk. 2013-07-26 18:17:30 +08:00
minggo 3cb40b36e4 issue #2430:fix some errors 2013-07-26 18:07:40 +08:00
James Chen ad1d8b667d enum class for LanguageType, Application::Platform 2013-07-26 17:29:06 +08:00
Thomas Perl 2f35353020 Qt 5 port: Fixes to build against "develop" branch
The Qt 5 port was based on the "master" branch. This patch
updates all Qt 5 changes to build correctly with the "develop"
branch. Tested with GCC 4.6 and Qt 5.1.0 on Linux.
2013-07-26 08:55:46 +00:00
minggo bafc01c2aa issue 2430:fix a compiling error and add missing cpp 2013-07-26 15:55:12 +08:00
minggo 0870581623 fix warnings 2013-07-26 15:22:45 +08:00
James Chen 6c00a51517 RELATIVE was defined on windows, un-define it. 2013-07-26 14:16:12 +08:00
James Chen 5dca03c061 Fixing compilation errors in CCImageCommon_cpp.h. 2013-07-26 13:59:27 +08:00
Ricardo Quesada 058935aa8d Removes Hungarian notation
Removes Hungarian notation from the code.
2013-07-25 15:53:24 -07:00
Ricardo Quesada d683e10808 More constant fixes
Transition::ORIENTATION_XXX -> Transition::Orientation::XXX
Image::FORMAT_XXX -> Image::Format::XXX
Image::_function() -> Image::function() // private methods should not start with '_'
DrawPrimitives::drawColor() -> DrawPrimitives::setDrawColor()

And fixes Premultiplied Alpha in PVR v3 images
And tests are updated with the new functions
2013-07-25 14:49:43 -07:00
Ricardo Quesada 16d0b43181 Constant fixes
Director::PROJECTION_2D, 3D,... -> Director::Projection::_2D, _3D, ...
Label::TEXT_ALIGNMENT_... -> Label::HAlignment::...
Label::TEXT_VERTICAL_ALIGNMENT_... -> Label::VAlignment::...
Texture2D::PIXEL_FORMAT_... -> Texture2D::PixelFormat::...
BlendFunc::BLEND_FUNC_DISABLE -> BlendFunc::DISABLE

Also adds more constant for BlendFunc
2013-07-25 13:36:19 -07:00
minggo 4caea01021 Merge branch 'iss2430-modify_enum' of https://github.com/minggo/cocos2d-x into iss2430-modify_enum 2013-07-25 23:09:56 +08:00
minggo b36a4f1df0 issue #2430:use upper letters for enum item in Image 2013-07-25 23:09:18 +08:00
minggo 323af3c889 issue #2430:use upper letters for enum item in AssetsManager and WebSocket 2013-07-25 22:29:12 +08:00
minggo 4ef197b579 Merge pull request #13 from dumganhar/iss2430-modify_enum
issue #2430: Fixing compilation errors for Mac and JSB projects.
2013-07-25 07:02:57 -07:00
James Chen 3f36e8300e issue #2430: Fixing compilation errors for Mac and JSB projects. 2013-07-25 21:59:47 +08:00
minggo 17946c084a issue #2430:fix android compiling error 2013-07-25 21:59:37 +08:00
minggo 2bb577be8b issue #2430:change Image enum item to upper letter 2013-07-25 20:29:53 +08:00
minggo 77afae124b issue #2430:move Texture2D enum into class 2013-07-25 19:52:44 +08:00
Thomas Perl 6e1c9b24f3 Qt 5: Add support for changing animation interval at runtime 2013-07-24 20:23:10 +02:00
Thomas Perl 97c4e4898a Qt 5: Fix language mapping in CCApplication
Reorder language mappings as listed in the enum
definition and remove comment after checking all
available languages are added to the mapping.
2013-07-24 20:23:09 +02:00
Thomas Perl 539f71c814 Qt 5: Implement input method showing/hiding
[nemo] Integration of QInputMethod
2013-07-24 20:23:09 +02:00
Thomas Perl bcee05d471 Qt 5: Add CCAccelerometer implementation
[nemo] Add QtSensors-based Accelerometer implementation
2013-07-24 20:23:08 +02:00
Thomas Perl db230a3d2b Do not include Qt headers in CCApplication.h
This avoids name collisions with the extensions sub-project
where "slots" is used as attribute of a class ("slots" is
redefined in Qt headers).
2013-07-24 20:23:07 +02:00
Thomas Perl b64c0a0e87 Platform abstraction implementation with Qt 5
Based partially on the Linux platform abstraction, therefore
this right now works only with Qt 5 on Linux.
2013-07-24 20:18:43 +02:00
Thomas Perl 4860e3551c Add new platform: CC_PLATFORM_QT5 2013-07-24 20:18:43 +02:00
James Chen 35dec5d71e More CCLog --> log. 2013-07-24 10:46:13 +08:00
James Chen e5b0bc1fc7 Put the deprecated method 'CCLog' to 'CCDeprecated.h'. 2013-07-24 10:26:36 +08:00
James Chen 7bc6abfac7 Compilation error fixes, since CCLog has been renamed to 'log', all platforms should implement it. 2013-07-24 10:14:42 +08:00