minggo
38b3ab6853
Merge pull request #16114 from mogemimi/use-fstat-instead
...
Use fstat instead of fseek and ftell for performance and portability
2016-07-15 15:39:22 +08:00
Ricardo Quesada
9166c28e75
Merge pull request #16101 from mtak-/glprogram_buffer_overflow_fix
...
fix buffer over-read in CCGLProgram.cpp in memcmp call (Address Sanitizer...
2016-07-14 17:12:17 -07:00
Ricardo Quesada
1563d14447
Squashed commit of the following:
...
commit c8349caeca6ff5ebacf497eaa986e71d5f1c2c0d
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Thu Jul 14 11:19:50 2016 -0700
fix: works with odd sized maps
commit da4cf8bc19c9cdab148d60e03a25ee9cc4292b66
Author: zhangbin <zhangbin@cocos2d-x.org>
Date: Wed Jul 13 13:45:57 2016 +0800
Add test case.
2016-07-14 11:21:24 -07:00
halx99
9e80526251
#Use std::string reference instead of char* for utils::findChild ( #16117 )
...
* #Optimize, Use std::string reference instead of char* for utils::findChild
* Check Node::INVALID_TAG
* revert submodules
2016-07-14 13:52:30 +08:00
minggo
125b0601c3
Merge pull request #16091 from mtak-/data_clear_on_move
...
fix leak in Data on move assignment
2016-07-14 11:40:19 +08:00
mogemimi
8b05476d45
Use fstat instead of fseek and ftell for performance and portability
2016-07-14 01:18:44 +09:00
minggo
261f1ef780
Merge pull request #16094 from stevetranby/patch-1
...
Match parent's camera mask when adding child.
2016-07-13 16:33:17 +08:00
minggo
c5c846f6e1
Merge pull request #16107 from cezheng/fix/EaseExponentialOut_clone_crash
...
fix crash in EaseExponentialOut::clone()
2016-07-13 16:32:48 +08:00
mogemimi
98cc48bc62
Add missing override keyword
2016-07-13 15:03:53 +09:00
Ce Zheng
cf18857206
fix crash in EaseExponentialOut::clone()
2016-07-13 14:28:04 +09:00
Ricardo Quesada
1824b21cb7
Merge pull request #16090 from ricardoquesada/issue_15566
...
fixes issue #15566
2016-07-12 21:36:52 -07:00
minggo
8561e5f868
Merge pull request #16089 from mogemimi/avoid-double-promotion
...
Use std::abs to avoid overhead of casting float to double
2016-07-13 12:01:20 +08:00
Ricardo Quesada
05a772115e
fixes issue #15566
...
lua and javascript for arm64 is not compiled
version 103
uses JPEG 9b for android
using armeabi
uses Lua, and not LuaJIT for Android ARM64
2016-07-12 19:03:53 -07:00
Tyler Kopf
15c6788783
fix buffer overflow in CCGLProgram.cpp in memcmp call (Address Sanitizer spots it easily)
...
- previously the flow went memcmp, if that != 0, do a bounds check, etc
- now do a bounds check, if destSize >= srcSize, do memcmp, etc
2016-07-12 11:10:16 -07:00
mogemimi
b9c78ac41c
Use std::abs to avoid overhead of casting float to double
2016-07-13 00:55:11 +09:00
coderwj
c9ad76e56a
Fix a bug, in lua can't get the "backClicked" but a nil
...
in lua, I registerScriptKeypadHandler,when debug on Andriod, after clicking back button, I didn't get "backClicked",but a nil
I see that in CHANGELOG:
cocos2d-x-3.1 May.24 2014
[FIX] EventKeyboard::KeyCode: key code for back button changed from KEY_BACKSPACE to KEY_ESCAPE
so,I fix it , and get the right "backClicked"
2016-07-12 17:37:33 +08:00
halx99
c0e0931838
fix, replace std::sort by std::stable_sort ( #16092 )
...
* fix, replace std::sort by std::stable_sort
2016-07-12 13:46:38 +08:00
Steve Tranby
f162ffe2ae
Match parent's camera mask when adding child.
2016-07-12 00:07:41 -05:00
Tyler Kopf
5ecd016a9e
fix leak in Data on move assignment
2016-07-11 15:33:51 -07:00
CocosRobot
3aeefd911e
[ci skip][AUTO]: updating luabinding & jsbinding automatically
2016-07-11 07:54:54 +00:00
minggo
3d5789ee77
Merge pull request #16077 from mogemimi/fix-documentation-comments
...
Fix documentation when compile with -Wdocumentation and Clang
2016-07-11 15:49:28 +08:00
minggo
9c7d44ccd7
Merge pull request #16080 from minggo/use-std_abs
...
use std::abs instead
2016-07-11 12:02:10 +08:00
minggo
2ca1760b78
Merge pull request #16079 from minggo/use-std_srand
...
use std::srand() instead
2016-07-11 12:01:38 +08:00
minggo
3dc167a9f9
use std::abs instead
2016-07-11 12:01:09 +08:00
minggo
a146f3eec7
use std::srand() instead
2016-07-11 11:17:28 +08:00
mogemimi
7531c5156b
Fix documentation when compile with -Wdocumentation and Clang
2016-07-10 17:38:32 +09:00
Ricardo Quesada
995868c62e
fix: Text::create() does not crash on mac/ios
...
...on invalid unicode.
fixes issue #16073
2016-07-08 16:59:44 -07:00
minggo
c267167d07
Merge pull request #16069 from minggo/ndkr12b-issue
...
fix compiling and linking error with ndk r12b
2016-07-08 17:01:09 +08:00
minggo
4e125d84a4
fix compiling and linking error with ndk r12b
2016-07-08 15:29:35 +08:00
minggo
8d8c295ff0
Merge pull request #16062 from minggo/fileutils-issue
...
fix bug that FileUtils::removeDirectory() can not work on all platforms except iOS and Mac
2016-07-08 14:54:25 +08:00
CocosRobot
8fe92fbd4b
[ci skip][AUTO]: updating luabinding & jsbinding automatically
2016-07-07 19:04:04 +00:00
Ricardo Quesada
891fe706da
Merge pull request #16057 from ricardoquesada/issue_12226
...
test: add test case for Github issue #12226
2016-07-07 08:34:30 -07:00
minggo
836acff6d0
Merge pull request #16060 from minggo/merge-v312
...
Merge v312
2016-07-07 18:29:28 +08:00
minggo
4511b35b51
fix bug that FileUitls::removeDirectory() can not work on all platforms except iOS and Mac
2016-07-07 17:43:19 +08:00
minggo
734d857ced
Merge branch 'v3.12' into merge-v312
2016-07-07 15:13:21 +08:00
Ricardo Quesada
6d5a94e569
test: add test case for Github issue #12226
...
Adds test case for Github issue #12226
2016-07-06 16:37:15 -07:00
mogemimi
6ce7f3c0e9
Avoid overhead of casting float to double
2016-07-07 01:38:27 +09:00
minggo
8d6acd9ffe
Merge pull request #16050 from pandamicro/v3.12
...
[ci skip]Update JS versions
2016-07-06 17:04:42 +08:00
pandamicro
ccb30cefc7
Update JS versions
2016-07-06 17:02:53 +08:00
minggo
6248480b3a
Merge pull request #16047 from minggo/issue-14071
...
[ci skip]convert aplpha channel correctly
2016-07-06 15:59:50 +08:00
minggo
d0db838b71
convert aplpha channel correctly
2016-07-06 15:49:05 +08:00
minggo
418907d972
Merge pull request #16044 from pandamicro/v3.12
...
Improve web template and update web ref
2016-07-06 14:47:23 +08:00
pandamicro
305bd95dc2
More secure release in JSB_closeWindow
2016-07-06 13:55:18 +08:00
CocosRobot
cf2646b7a2
[ci skip][AUTO]: updating luabinding & jsbinding automatically
2016-07-06 02:16:03 +00:00
mogemimi
bed4e048b6
Fix various typos
2016-07-06 08:27:39 +09:00
minggo
2f1e14dcde
fix compiling error
2016-07-05 14:28:30 +08:00
minggo
4c2efb1319
don't read file content if it is empty
2016-07-05 14:27:28 +08:00
minggo
33d1eb4455
don't invoke front() if container is empty
2016-07-05 14:27:11 +08:00
minggo
e4aa6d1ef7
Merge pull request #16035 from minggo/issue-16032
...
remove extra '\'
2016-07-05 14:22:19 +08:00
minggo
0cc8b9fc09
Merge pull request #16031 from MrCapone/fix_GLView
...
GLView::setFrameSize fixed
2016-07-05 09:54:59 +08:00