James Chen
13b1c91785
Merge pull request #9208 from CocosRobot/update_lua_bindings_1416813762
...
[AUTO]: updating luabinding automatically
2014-11-24 15:27:11 +08:00
CocosRobot
7dc623fcab
[AUTO]: updating luabinding automatically
2014-11-24 07:24:39 +00:00
minggo
74e7aa6db9
Merge pull request #9205 from Dhilan007/v3-scriptfix
...
replace tab with four spaces
2014-11-24 15:22:00 +08:00
minggo
b8bb61c7c6
Merge pull request #9028 from andyque/fixWidgetFlipIssue
...
Fix widget flip issue
2014-11-24 15:19:50 +08:00
minggo
88c3cc2ad9
Merge pull request #9105 from Dhilan007/v3-video-web-fix
...
Fix WebView and VideoPlayer in wrong place on Android 2.3.x
2014-11-24 15:15:18 +08:00
Dhilan007
4e769d40b1
replace tab with four spaces
2014-11-24 11:26:34 +08:00
minggo
87f70cfaec
Merge pull request #9113 from Dhilan007/v3-scriptfix
...
fix compiling error caused by disable CC_ENABLE_SCRIPT_BINDING
2014-11-24 10:09:19 +08:00
minggo
c46f1182f6
Merge pull request #9089 from wangqm0513/v3
...
Update MathUtilNeon64.inl
2014-11-22 09:21:04 +08:00
Ricardo Quesada
9fedb14354
Fixes for FileUtils
...
compiles after previous patch
2014-11-21 14:52:13 -08:00
Ricardo Quesada
0f268e7aaa
Merge pull request #9176 from MSOpenTech/v3-winrt-accelerometer-fix
...
Fixed accelerometer for windows store apps device orientation
2014-11-21 11:50:08 -08:00
Bartosz Duszel
fbd27dff9c
changed few loops for C++11 range-based for loop
2014-11-21 20:12:55 +01:00
Vladimir Timofeev
9dfa26e0ec
Quick and dirty fix after my error. This defines fix build on linux with fresh gcc, but broke on mac
2014-11-20 23:20:02 +03:00
Dale Stammen
ff172e0057
fixed accelerometer for windows store apps device orientation
2014-11-20 09:00:22 -08:00
Vladimir Timofeev
012a152406
Fix build of luasocket on linux
2014-11-20 13:49:59 +03:00
Vladimir Timofeev
a689fc4c7e
sync with upstream
...
Conflicts:
CMakeLists.txt
2014-11-20 12:19:00 +03:00
Vladimir Timofeev
499c670a9b
Move prebuilt libraries config to distinct file.
...
Now build system looks more maintanable.
I test with mac, going to test with other platforms.
* All prebuilt libs config moved to
cmake/Modules/CocosUsePrebuiltLibs.cmake
* Wrap plain find_package to our cocos_find_package. It will not try to
call find_package if USE_PREBUILT_LIBS and <pkg>_FOUND set to true.
* Other small fixes.
2014-11-20 12:05:15 +03:00
CocosRobot
e52ee603ac
[AUTO]: updating luabinding automatically
2014-11-20 03:41:28 +00:00
minggo
02ba67e17f
Merge pull request #9082 from Teivaz/v3
...
- Optimization in CCClippingNode.
2014-11-20 11:35:42 +08:00
minggo
9fdd85a1be
Merge pull request #9133 from pyrosphere/fix-wp8-back-key
...
Fix Back Key behaviour and Director::getInstance()->end() on WP8
2014-11-20 11:11:31 +08:00
minggo
2b107be24c
Merge pull request #9158 from zhongfq/v3
...
set default priority to avoid warning
2014-11-20 11:07:01 +08:00
minggo
340e21d57e
Merge pull request #9050 from joewan/fix-armature-spriteframe
...
fix sprite frame cache, and remove unnecessary headers dependencies.
2014-11-20 10:54:30 +08:00
Dale Stammen
5d2857b3c4
updated angle to commit 4a980d2612
2014-11-19 15:55:18 -08:00
Vladimir Timofeev
98db27e929
cmake linux fixes: FindFontconfig, find appropriate threads libs
2014-11-19 10:57:18 +03:00
joewanchen
7c4355c60d
rename functions.
2014-11-19 15:27:55 +08:00
andyque
caf9107a72
fix linux linker error
2014-11-19 15:18:15 +08:00
Vladimir Timofeev
2bf77c10e8
Fix build on mingw again, disable USE_PREBUILT_LIBS with mingw (mingw can not link this libs). Eliminate some Find* modules, we can tune prebuilts without modify their code.
2014-11-19 03:28:41 +03:00
Vladimir Timofeev
fe25c860cb
Fixes for freetype, protobuf and more unifications. Also it case of static library in some find* modules we try to use pkg-config first, it is chance to get dependency info
2014-11-19 00:27:25 +03:00
Vladimir Timofeev
b0a6cf1182
Use standard cmake control variable to control static or dynamic build BUILD_SHARED_LIBS
2014-11-18 17:48:54 +03:00
Vladimir Timofeev
ba2f74e76c
Fix OpenAL include paths, cmake search include paths for case, when openal includes as "#include <al.h>"
2014-11-18 17:27:43 +03:00
Eric Zhong
36e44dbaf9
set default priority to avoid warning
...
when call 'scheduleUpdate' and 'unscheuleUpdate' several times in one frame, it will get warning "warning: you CANNOT change update priority in scheduled function"
2014-11-18 22:05:56 +08:00
Vladimir Timofeev
d200bdcca0
fix Winmm linking
2014-11-18 10:07:11 +03:00
Vladimir Timofeev
28d7279cb0
remove unnneded includes and declarations
2014-11-18 10:06:45 +03:00
Ricardo Quesada
71fec06a11
fixes indentation
2014-11-17 18:11:17 -08:00
Vladimir Timofeev
95e005d785
Find vorbis, mpg123 and OpenAL libs in unified way.
...
Test another way to customize our prebuilt paths...
Cleanups.
2014-11-18 01:46:41 +03:00
Vladimir Timofeev
731e982b2e
Find OpenGL, GLEW and winmm library, improve finding of curl (use pkg-config first, this teoretically can find also dependant libs).
2014-11-17 23:44:16 +03:00
Vladimir Timofeev
b5266e95bf
mingw fixes, now project builds with mingw64 and -DUSE_PREBUILT_LIBS=NO (some additional libs hardcoded still)
2014-11-17 01:42:04 +03:00
Vladimir Timofeev
1e8aeb7fd2
Minizip
...
1. Add cmake module for finding minizip in system
2. Check that system installed minizip recent enough for us
3. As right minizip exists only for MSYS2 (mingw), use our embedded version on all other platforms
4. Correctly include minizip as <minizip/unzip.h> if it is found from system (make it compatible to current build system, so by default all should stay same)
5. Remove one unused include of unzip.h
2014-11-16 22:41:37 +03:00
Ricardo Quesada
dcc4c46d5b
Using std::swap instead of CC_SWAP
...
CC_SWAP is deprecated. Use `std::swap` instead.
2014-11-16 09:29:05 -08:00
Vladimir Timofeev
e3a0e089ba
Add FindFMODEX.cmake and use it on linux to find FMOD Ex library
2014-11-16 19:10:45 +03:00
Vladimir Timofeev
039005ef13
Unify protobuf finding and usage.
...
But disable finding until bug with protobuf versions will be resolved.
2014-11-16 15:29:24 +03:00
Vladimir Timofeev
33786678eb
Add finding curl. Fix some leftovers from websockets.
2014-11-16 13:55:42 +03:00
Vladimir Timofeev
c7bff5ea9e
Find libwebsockets in unified way
2014-11-16 13:22:54 +03:00
Filipe Lemos
0898af21ab
Fix Back Key behaviour and Director::getInstance()->end() on WP8
2014-11-16 10:16:16 +00:00
Vladimir Timofeev
1d629dfe7d
Find libtiff
2014-11-16 12:47:59 +03:00
Vladimir Timofeev
d9337cdbd3
Find libpng and zlib unified way.
2014-11-16 00:21:11 +03:00
Vladimir Timofeev
9334f0b569
Add custom FindJPEG.cmake module.
2014-11-15 21:16:39 +03:00
Vladimir Timofeev
673fdc461d
Unify Box2D usage and finding (not compilable, may be fix that later...)
2014-11-15 17:46:13 +03:00
Vladimir Timofeev
27ef26270c
Unify TinyXML2 usage.
...
* should be included as simple "tinyxml2.h", but on some files was "tinyxml2/tinyxml2.h", replace this.
* Add cmake/Modules/FindTinyXML2.cmake
* As tinyxml2 for now has not prebuilt, instead sources included, add their as subdirectory if USE_PREBUILT_LIBS
2014-11-15 14:43:50 +03:00
Vladimir Timofeev
eb0159b2b7
Unify usage of chipmunk library
...
* cmake/Modules/FindChipmunk.cmake now can find prebuilt chipmunk libs
* follow USE_CHIPMUNK variable (although at the moment cocos can't build without chipmunk)
* come cleanups and formatting
2014-11-15 13:17:23 +03:00
Vladimir Timofeev
aaff42d6a9
Fix WebP usage.
...
* Introduce config variable USE_WEBP (ON by default, but disabled for unsupported archs WINRT and WP8)
* Set CC_USE_WEBP define according to USE_WEBP variable
* add WebP include directories to search patch only for libcocos compilation (it not used in public headers)
2014-11-15 11:31:10 +03:00