Justin Luong
c89df2f243
Merge remote-tracking branch 'upstream/v3'
2016-01-26 20:52:55 +10:00
zilongshanren
83a6fd36ce
Merge pull request #14971 from mogemimi/use-string-instead-of-chars
...
Replace char* with std::string in HttpRequest
2016-01-26 09:59:23 +08:00
zilongshanren
f853a43e04
Merge pull request #14970 from mxenabled/steerlink/cleanup_obsolete_win32
...
Remove obsolete Win32 references.
2016-01-26 09:58:32 +08:00
zilongshanren
74e7bd2083
fix win32 compile error
2016-01-26 09:52:53 +08:00
mogemimi
7dd7dfede7
Replace char* with std::string in HttpRequest
2016-01-26 05:13:18 +09:00
sheldon.teerlink
60d640442f
Remove obsolete Win32 references.
2016-01-25 12:23:53 -07:00
zilongshanren
bc44769b8b
add more deprecated functions
2016-01-25 18:14:48 +08:00
zilongshanren
00ad5bd620
fix jsb deprecated constants
2016-01-25 15:40:51 +08:00
zilongshanren
b43764fc92
fix lua deprecated function bindings
2016-01-25 14:48:17 +08:00
elloop
341575aa4c
1. We should define `std::string ret` in where we really need it. According to my test on android platform the function returns at `return "";`, which makes the `ret` unnecessary.
...
2. `charsWritten` is not used, we should either delete it or use it. Because we don't check the bytes written, I think we can just delete it.
3. We don't need (logLength+1) space for `logBytes`, because `logBytes` returned by calling glGetShaderInfoLog(shader, logLength, nullptr, logBytes) takes `logLength` bytes at most, including the ending null character, i.e. `(strlen(logBytes) + 1 == logLength)` always yield true. According to the offical opengles sdk docs: https://www.khronos.org/opengles/sdk/docs/man/xhtml/glGetShaderInfoLog.xml .
and
https://www.khronos.org/opengles/sdk/docs/man/xhtml/glGetShaderiv.xml
4. We don't need `logBytes[logLength] = '\0';`, because `logBytes` returned is already null-terminated.
2016-01-25 12:22:30 +08:00
zilongshanren
dbf5b2c4a5
fix pageview page turning event issue
2016-01-25 11:53:40 +08:00
zilongshanren
b85ccbbb4e
Merge pull request #14934 from CocosRobot/update_lua_bindings_1453361909
...
[ci skip][AUTO]: updating luabinding & jsbinding automatically
2016-01-25 11:09:47 +08:00
zilongshanren
e05b977746
Merge pull request #14952 from CocosRobot/update_lua_bindings_1453472618
...
[ci skip][AUTO]: updating luabinding & jsbinding automatically
2016-01-24 20:47:52 +08:00
pandamicro
d6cedb88ec
Remove JS::Persistent and move js object reference into JS scope
2016-01-24 19:47:26 +08:00
pandamicro
0daa846020
Improve gc test case and add cycle reference tests
...
t
Improve gc test case and add action cycle reference test
2016-01-24 19:47:24 +08:00
Justin Luong
6644781698
Merge remote-tracking branch 'upstream/v3'
2016-01-23 21:06:33 +10:00
CocosRobot
039286f814
[ci skip][AUTO]: updating luabinding & jsbinding automatically
2016-01-22 14:25:59 +00:00
Ricardo Quesada
fccbcdef69
Merge pull request #14947 from ricardoquesada/rich_text_word_wrap
...
RichText with word wrapping working as expected
2016-01-22 06:20:25 -08:00
Ricardo Quesada
7582518424
default is word-wrap
2016-01-22 06:20:01 -08:00
James Chen
28a3f78c65
Adds missing <mutex>, <memory> include files in WebSocket.h
2016-01-22 18:10:24 +08:00
James Chen
b73b16d425
Adds isDestroy std::share_ptr variable to dectect whether websocket instance was destroyed.
2016-01-22 17:43:30 +08:00
James Chen
c3e0edde06
'closed' state has to be set before quit websocket thread.
2016-01-22 16:10:49 +08:00
James Chen
a64a789308
_readyState must be set to State::CLOSED and _delegate->onClose(this) must be invoked at the end of WebSocket::close.
2016-01-22 15:20:43 +08:00
James Chen
ed9ed6c92f
Don't change the behavior of WebSocket::close method. WebSocket::close is an synchronous method before, adds a WebSocket::closeAsync method for asynchronous closing.
2016-01-22 14:22:33 +08:00
Justin Luong
57d218421e
Merge remote-tracking branch 'upstream/v3'
2016-01-22 16:02:07 +10:00
Ricardo Quesada
25f78e490d
RichText with word wrapping working as expected
2016-01-21 21:44:45 -08:00
zilongshanren
bce913c46b
Merge pull request #14941 from mogemimi/add-const-to-equals
...
Mark equals() functions as const
2016-01-22 09:32:41 +08:00
Justin Luong
c4df3ccd10
please ignore just a test
2016-01-22 11:05:43 +10:00
Josh Bodily
c75cfcbbfa
Export WICImageLoader form DLL
2016-01-21 15:35:51 -07:00
mogemimi
37b0d7c217
Mark equals() functions as const
2016-01-22 06:09:27 +09:00
Shane Smit
ace1e9d563
Fixed variable rename to _autoScrollTotalTime
2016-01-21 11:18:52 -07:00
Shane Smit
8be86577ff
Add stopAnimatedContentOffset() to extension::ScrollView
...
Immediately stops the animated scroll initiated by setContentOffsetInDuration()
2016-01-21 10:33:47 -07:00
CocosRobot
4b214fd528
[ci skip][AUTO]: updating luabinding & jsbinding automatically
2016-01-21 07:40:58 +00:00
zilongshanren
be7c8c7553
Merge pull request #14888 from xiaofeng11/v3_actiontimeline
...
Fix when add two ActionTimeLine object in one node, play state is wrong
2016-01-21 15:35:30 +08:00
Ricardo Quesada
ec2d29ed16
Merge pull request #14930 from ricardoquesada/rich_text_fixes
...
adds JS tests for RichText
2016-01-20 22:47:35 -08:00
xiaofeng11
015994da37
Merge pull request #14926 from geron-cn/scroll_bar
...
add scrollview bar parse for cocostudio in reader
2016-01-21 13:09:34 +08:00
geron-cn
7b405b29bc
fix code indent
2016-01-21 11:33:13 +08:00
Ricardo Quesada
4c11432781
fixed bold
2016-01-20 19:08:31 -08:00
zilongshanren
841ad8ae99
Merge pull request #14716 from newnon/v3.10_editbox_ios_mac_fix
...
fix font for EditBox in iOS & Mac
2016-01-21 11:05:12 +08:00
zilongshanren
d9af70f913
Merge pull request #14600 from enhhh/enh_v3
...
We should not intercept touch event if scrollview's _direction is NONE
2016-01-21 10:58:20 +08:00
zilongshanren
790c7b4b79
Merge pull request #14891 from mogemimi/fix-extra-tokens-warning
...
Fix warning: extra tokens at end of #ifdef directive
2016-01-21 10:51:01 +08:00
zilongshanren
4d128a83f4
Merge pull request #14659 from elvman/resizable_window
...
Resizable window
2016-01-21 10:49:33 +08:00
zilongshanren
8fda08abcd
Merge pull request #14755 from mogemimi/fix-redefinition-warning
...
Fix OpenGL macro redefinition warning in JS bindings/Mac
2016-01-21 10:46:58 +08:00
zilongshanren
2ed4965b6d
Merge pull request #14751 from newnon/v3_get_version_windows
...
getVersion win32 implementation
2016-01-21 10:42:19 +08:00
Ricardo Quesada
60d273e31b
underline and strikethrough working ok on system fonts
2016-01-20 18:41:59 -08:00
zilongshanren
2fbf4c1539
Merge pull request #14932 from CocosRobot/update_lua_bindings_1453343722
...
[ci skip][AUTO]: updating luabinding & jsbinding automatically
2016-01-21 10:41:00 +08:00
CocosRobot
4dab20b715
[ci skip][AUTO]: updating luabinding & jsbinding automatically
2016-01-21 02:37:23 +00:00
zilongshanren
fd0ed05f18
Merge pull request #14902 from mogemimi/update-docs-to-v3
...
Update docs to reflect latest API changes
2016-01-21 10:35:27 +08:00
zilongshanren
c824b6e74a
Merge pull request #14931 from CocosRobot/update_cocosfiles_1453343619
...
[AUTO][ci skip]: updating cocos2dx_files.json
2016-01-21 10:34:49 +08:00
zilongshanren
e1e87c0205
Merge pull request #14914 from steerlink/font_family
...
Add ability to get the font family
2016-01-21 10:34:13 +08:00