Arnold
2952eb2dbe
[travis] curl add retry options ( #19111 )
2018-10-19 18:10:54 +08:00
pyrosphere
411bd0934e
Fix project warnings ( #19126 )
...
- Update cocos2d_libs Xcode project and turn on recommended warnings
- Fix `int` string formatting using "%zd" instead of "%d"
- Fix loop over reference to avoid object copy
2018-10-19 18:09:31 +08:00
Arnold
d63f554bf2
CCLabel: fix fontName attribute ( #19095 )
...
* add method for FontAtlas
* break empty font
* reduce string constrution
2018-10-18 09:00:23 +08:00
Arnold
7770234367
SpriteFrameCache: keep plist filenames when trying to remove sprite ( #19083 )
2018-10-16 17:06:21 +08:00
CocosRobot
d1e6b8ace9
[ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically ( #19123 )
2018-10-16 17:01:07 +08:00
Arnold
19c9e922eb
cocos2d::JniHelper::* long type convert error ( #19101 )
...
* fix type
* remove redundant
2018-10-16 17:00:33 +08:00
Tai-Yuan Kuo
05ae5f7e83
Replace binary_funciton for C++17 Support ( #19117 )
2018-10-16 16:51:54 +08:00
Arnold
b70a6a6def
[physics] add pre/post callback in `update()` ( #19118 )
...
* add physics update pre/post callback
* update space
* run before simulation
2018-10-16 16:37:51 +08:00
CHP
f3ef6b80de
Update gradle 4.6, sdk28, android gradle plugin 3.1.0 ( #19113 )
...
* Update gradle 4.6, sdk28, android gradle plugin 3.2.0
* Trigger build
* PROP_MIN_SDK_VERSION=16
* rollback to com.android.tools.build:gradle:3.1.0
2018-10-16 09:29:41 +08:00
leda
48cce75be4
remove un-elegant prebuilt feature in cmake ( #19109 )
...
* remove unclearly cmake prebuilt feature
* reduce useless code
* add project info print
2018-10-12 12:36:17 +08:00
CocosRobot
57cdad95b2
[ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically ( #19094 )
2018-10-09 18:04:08 +08:00
Arnold
1ceb222c7f
concat path error ( #19075 )
...
when trying to remove dir `test0`, the function will build a pattern
like `"test0*.*"` rather than `test0/*.*`
2018-10-08 11:51:36 +08:00
Arnold
11339c4545
CCConsole: remove fd from _read_set when it is closed by client. ( #19066 )
...
* CCConsole: remove fd from _read_set when it is closed by client.
* simplify code
* remove comment
2018-10-08 11:50:28 +08:00
Arnold
c61e45103c
LUA: cc.downloader binding ( #19078 )
2018-10-08 10:42:24 +08:00
Arnold
6c0db64f3d
fix build target path, set to publish/ folder ( #19081 )
2018-10-08 10:40:33 +08:00
CocosRobot
a59519a4ef
[ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically ( #19082 )
2018-09-28 23:38:04 -07:00
gestern
085ae2603f
Fix several bugs with button's title ( #19073 )
...
* Fix several bugs with button's title:
(a)when using setTitleLabel() the button didn't resolve the corresponded parameters;
(b)bug with measurement accuracy (ignores the fractional part) of the system font and ttf-fonts sizes;
(c)bug with the size of the button title (by default) did not match the value size of the label's typeface;
(d)removes high coupling the typeface parameters of button because it already contains the used label
* Hotfix to call parent `Widget::init()`
2018-09-28 23:26:58 -07:00
dingdekai
ebc32043ea
[android] fix crash when point JNIEnv is a nullptr in getStringUTFCharsJNI func. ( #19079 )
2018-09-28 22:58:06 -07:00
CocosRobot
aca3016bee
[ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically ( #19074 )
2018-09-24 23:47:28 -07:00
leda
98120fb9d8
refactor cmake on use libs ( #19054 )
...
* link external build by modern cmake
* use "--whole-archive" for part android spec
* update travis
* update CI, add cmake tests on win32
2018-09-24 20:16:04 -07:00
CocosRobot
a504c54a05
[ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically ( #19068 )
2018-09-21 10:03:47 +08:00
Arnold
6ea37d4c9d
[linux] CCFileUtils::isFileExistInternal should reject a folder ( #19062 )
...
* accept regular file only
* simplify code
2018-09-21 10:02:19 +08:00
AIGRIND
a6530a5aca
Correct last delta time ( #18898 )
...
If next delta time was zeroed (via setNextDeltaTimeZero) the last update time was not corrected.
2018-09-20 18:03:30 +08:00
Billy O'Neal
6a52b3ff4a
Add missing <functional> header which the standard requires and will be necessary to use std::function in VS2019. ( #18989 )
2018-09-20 17:49:15 +08:00
Arnold
b170daf9d8
fix wrong parameter ( #19060 )
2018-09-20 15:19:10 +08:00
Arnold
53bed4fda3
DrawNode add isolate flag ( #19056 )
...
* add isolate flag
* add comment for DrawNode::visit
* add modifier: const/virtual
* update comment & change initializer
2018-09-20 15:18:03 +08:00
Arnold
f8ed20e4b3
Android: CCFileUtils listFiles impl ( #19044 )
2018-09-19 18:05:16 +08:00
ggggamer
7d840ac6e1
CameraBackgroundDepthBrush should handle opengl recreate event. ( #19037 )
2018-09-18 09:14:27 +08:00
CocosRobot
16126f2571
[ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically ( #19052 )
2018-09-17 12:33:20 +08:00
leda
e0210bd870
shorten the android build path, reduce long path error ( #19045 )
...
* remove import-add-path
* add module path into gradle
* modify PROP_BUILD_TYPE to ndk-build for tmp test
* import-module uv into ndk-build scripts
* part lib rename in Android.mk
* fix build path error on Lua&JS test project
* shorten all libs name, except external libs related
* "_static" suffix isn't necessary, since all internal build is static
* little catch
* re-change to cmake as default build type
* add both build type into Travis for android
* update external libs name
* fix gradlew cmd error
* update external config
2018-09-17 11:54:39 +08:00
Arnold
f352225f14
CCFileUtils: improve thread safety (use single recursive_mutex) ( #19046 )
...
* CCFileUtils: add const modifier
* mac: add const
* android: add const
* use recursive_mutex
* win: add const modifier
* mac: revert
* android: add const
* rename __guard__ to mutexGuard
2018-09-17 10:47:41 +08:00
Arnold
3cad2a85d4
remove assert ( #19047 )
2018-09-17 10:21:43 +08:00
CocosRobot
2c37cc5ac6
[ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically ( #19048 )
2018-09-15 19:46:48 +08:00
gestern
368684d13d
Android: Adds supporting edge screens ( #19043 )
...
* Android: Adds supporting edge screens
* Update CCGLViewImpl-android.h
* getSafeAreaRect(): Specifying indentation
Specifying indentation if the scale factor is different for grid
2018-09-15 16:45:22 +08:00
Arnold
d9b2e0519d
cocos2d::Data: prevent use after free. ( #19034 )
2018-09-14 14:36:47 +08:00
leda
5c170877e0
delete ANT check on setup.py ( #19042 )
...
* update submodule
* delete ANT check on setup.py
2018-09-14 14:24:07 +08:00
Arnold
e1d34fac0e
linux: libfmod soft link use relative path ( #19040 )
2018-09-14 10:22:58 +08:00
leda
1e780cb1fe
rename CMake project name when "cocos new" ( #19038 )
2018-09-13 18:03:44 +08:00
Arnold
3d880f9bfb
rebuild soft link after file copied to external/ ( #19036 )
2018-09-13 10:08:22 +08:00
minggo
7dcee2bcf9
Remove ccglstatecache ( #19013 )
2018-09-11 14:39:30 +08:00
verketh
482c9eb8ca
add image format check for Image::saveToFile in CCImage-ios.mm ( #18986 )
...
IOS保存灰度图崩溃
2018-09-10 16:35:31 +08:00
WangHe
3c8c5139c1
add error check for AVAudioSession setActive. ( #19000 )
2018-09-10 16:23:40 +08:00
Guilherme Gibertoni
6fb631e68e
fix background music may resumes even though the application is on the background ( #19005 )
...
If the device is locked or sleeps
Then the application that was running on foreground will be dismissed and trigger a onWindowsFocusChanged(true) event while the game is already on background
2018-09-10 16:06:43 +08:00
ggggamer
cf56f96a14
ClassLoader.loadClass use 'Binary names'. ( #19011 )
2018-09-10 15:06:19 +08:00
ggggamer
f91ef9deee
Fix some EVENT_RENDERER_RECREATED problem. ( #19023 )
...
* fix EVENT_RENDERER_RECREATED problem
* macro
* Event listener should add only once.
2018-09-10 15:04:35 +08:00
CHP
6a442192d4
Fix uninitialized variables problems found by drmemory ( #19028 )
2018-09-10 11:23:14 +08:00
CHP
548f50b92b
Fix auto test ( #19029 )
...
* Fix auto test
* Add atomic include
2018-09-10 10:21:11 +08:00
TankorSmash
768ba5b6af
add another xbox 360 configuration ( #19032 )
...
This is more a standard wired 360 controller.
2018-09-10 09:52:41 +08:00
CocosRobot
c99611589c
[ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically ( #19020 )
2018-09-07 09:25:07 +08:00
Arnold
eb920949a2
Add websocket latency test ( #19018 )
...
* compile on windows
* update android.mk, add WebSocketDelayTest.cpp
* update xcode project
* mac: fix printf format argument %llf
* update cmake
2018-09-07 09:11:04 +08:00