minggo
313c58fe33
Improve utils api doc ( #13922 )
2022-12-28 15:04:56 +08:00
pandamicro
afd22296b4
MIT license update and to new year 2023 ( #13927 )
...
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
James Chen
c7e60d2bcb
Use swig to generate js bindings ( #12410 )
2022-08-16 10:48:12 +08:00
minggo
d40b8739bc
Merge branch 'v3.6.0' into develop_merge_v3.6
2022-07-18 10:38:14 +08:00
mmyduckx
4fdf948d24
refactor downloaderTask API style ( #11697 )
2022-06-29 11:34:15 +08:00
James Chen
04a3732d8e
[v3.6] Fix initial ref count for assets-manager. ( #11325 )
...
The default value is 0 in v3.6, so need to addRef after new.
2022-06-01 17:44:07 +08:00
minggo
271cc5cf23
Remove some format rule ( #10919 )
...
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
minggo
aca0a1bccb
Remove memory management ( #10125 )
...
* remove NedPooling
* remove Jealloc
* remove some macros
* move memory related macros into Memory.h
* delete MemTrack
2022-02-22 18:12:48 +08:00
minggo
5410a48a58
Implement more logic in native ( #4131 )
...
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com >
Co-authored-by: dumganhar <dumganhar@gmail.com >
Co-authored-by: mmyduckx <308303735@qq.com >
Co-authored-by: Patrice Jiang <397136899@qq.com >
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com >
2022-01-07 18:39:40 +08:00
oahcy
5379e6ef35
引擎适配linux平台 ( #4035 )
2021-11-29 17:17:15 +08:00
qiuguohua
eeb9d5c689
Merge the code of v3.3.1 platform adaptation layer into the development branch ( #3958 )
...
* 1、Merge platform adaptation layer code into the development branch
2、It passed the test in windows and ohos system
* 1、Merge platform adaptation layer code into the development branch
2、It passed the test in windows and ohos system
* 1、Fix github compile windows error
* 1、Fix github compile windows error
* 1. Adjust the code format;
2. Fix js automatic generation binding
3. Adjust github CI compilation
* 1. Adjust the code format;
2. Fix js automatic generation binding
3. Adjust github CI compilation
* Solve mac and ios compilation failure
* Fix the problem of compilation of Windows-side simulator
* 1. Adapt the simulator to a new adaptation layer;
2. Fix the compilation warning of ios, and the implicit conversion failed;
3. Fix the mac compilation error, due to the problem of adding the link identification -all_load;
* 1.Add the isDisplayStats and setDisplayStats method to the screen interface
* Fix clang-tidy compilation warning
* Fix clang-tidy compilation warning
* Repair the emulator, compatible with mac and win
* 1、Repair detailed errors, including name modification and calling method modification
2、Delete redundant files in the template directory
3、Change the vibrate interface to vibrator
4、Fix word spelling errors
* Rename interfaces to modules
* Replace CC_ASSERT with CCASSERT
* Replace CC_ASSERT with CCASSERT
Co-authored-by: qiuguohua <>
2021-10-27 10:51:02 +08:00
wangyuzhi233
760109ab79
fix VS2019 warning ( #3531 )
2021-05-19 16:36:16 +08:00
minggo
d8824f8a11
fix coding style ( #3371 )
2021-04-02 09:55:12 +08:00
minggo
826babfa64
Format code ( #3217 )
2021-01-13 14:49:32 +08:00
kenshin
2ad036ba09
3d gfx 2 4 3 patch ( #2984 )
...
* free AudioMix partial wake locks, and android device can enter power save
* fix audio engine crash, avoid update function reentrancy.
* fix hot update issue.
* avoid a NULL point crash when ScriptEngine::cleanup
2020-11-06 18:03:49 +08:00
minggo
a7d7cc8b1f
fix warnings ( #2819 )
2020-09-22 14:27:25 +08:00
minggo
b08407c501
remove CC/cc prefix for file names ( #2728 )
2020-08-28 15:23:29 +08:00
minggo
7efee066fd
Remove duplicate ( #2597 )
2020-06-19 11:07:21 +08:00
minggo
d381a16142
change namespace from cocos2d to cc ( #2572 )
2020-06-16 14:34:46 +08:00
minggo
ac08833b56
remove CCPlatformDefine.h ( #2565 )
2020-06-15 16:00:27 +08:00
minggo
743f91a3a8
remove some unneed codes ( #2182 )
2020-02-25 18:33:41 +08:00
leda
ccb40bdeda
move CCAsyncTaskPool from cocos/base into extensions folder ( #1422 )
...
* move CCAsyncTaskPool path
* move CCAsyncTaskPool path for ios & mac project
* change header path
* adapt CCAsyncTaskPool path for win32
* divide win32 build object files into Debug and Release folder
2018-07-26 10:11:55 +08:00
leda
b3b37cf457
Add AssetsManager to iOS & Mac & Android & win32 ( #1405 )
...
* Add incomplete AssetsManager to iOS & Mac
* remove Android.mk refer on Xcode project config
* re-add assetmanager for android
* re-add assetmanager for win32 project config
* remove unused macro define for win32
* remove unused marco define COCOS2D_JAVASCRIPT
* added header include for assetsManager
* Add CCAsyncTaskPool
* Fix AssetsManager event trigger issue
* update win32 project config, added CCAsyncTaskPool
* add CCAsyncTaskPool to extensions Android.mk
2018-07-23 17:50:04 +08:00
minggo
802e48080e
New renderer ( #1097 )
...
* build work on mac
* build ok on iOS
* fix compiling error on android
* fix android link error
2018-02-08 10:40:29 +08:00
Jare Guo
d9bd3d763c
update license ( #1089 )
...
* updating license
* update license
2018-02-01 15:20:01 +08:00
pandamicro
e9913fbf5a
Delete old version files during hot update ( #1006 )
2017-11-30 11:08:25 +08:00
James Chen
a301199621
EventAssetsManagerEx needs to be allocated on heap since it's the subclass of cocos2d::Ref.
2017-10-13 13:39:18 +08:00
hej
198b5dfd50
fixed chinese path bug
2017-09-06 14:01:47 +08:00
pandamicro
a5334ed22a
Fix can not restart update after failed issue
2017-05-16 15:27:30 +08:00
pandamicro
fa5fe36f2e
Fix version compare handle setting
2017-05-16 15:07:10 +08:00
pandamicro
714ca23e47
Check previous updating state to resume
2017-05-16 15:06:03 +08:00
pandamicro
e37196f41d
Fix issues with AssetsManager new features
2017-05-04 23:32:08 +08:00
pandamicro
50839c4be1
Supports create manifest and manually load local and remote manifest
2017-04-26 00:00:02 +08:00
pandamicro
505845813c
Support setting version compare handle in AssetsManager’s constructor
2017-04-25 23:59:13 +08:00
pandamicro
cea2e9a012
Add more progression info to EventAssetsManager
2017-04-25 14:45:03 +08:00
pandamicro
341aed32a9
Improve AssetsManagerEx searchpath handle
2017-03-15 17:16:23 +08:00
pandamicro
63b71c536a
Fix AssetsManager issue after failed on manifest downloading
2017-03-15 17:11:53 +08:00
pandamicro
e40c4ba878
Revert connection timeout
2017-02-10 14:37:07 +08:00
pandamicro
988c840945
Fix size parsing issue
2017-02-07 18:20:20 +08:00
pandamicro
47b5556a63
Fix update immediately in checkUpdate callback issue
2017-02-07 18:20:12 +08:00
pandamicro
e37816eab3
Fix AssetsManager issues on x86 platform
2017-01-24 13:29:27 +08:00
pandamicro
292fd4a941
Fix nextSavePoint issue (it should be float)
2017-01-23 18:38:22 +08:00
pandamicro
fca36add5d
Fix updateSucceed issue
2017-01-22 18:59:18 +08:00
pandamicro
e420c238b9
Avoid register too much succeed asset in manifest initialization
2017-01-18 10:11:25 +08:00
pandamicro
1bf1f805ca
Ensure zip file deletion
2017-01-16 13:56:04 +08:00
pandamicro
32223609c2
Avoid manifest failure being treated as succeed
2017-01-16 13:55:34 +08:00
pandamicro
57c7f0f687
Reduce frequency of writing temp manifest file
2017-01-16 13:55:01 +08:00
pandamicro
28ea176e4d
Refactor AssetsManager update logic
...
- Separate temporary version and local cached version
- Create folder when needed
- Fix search path pollution when local cached version exists
2017-01-13 10:32:14 +08:00
pandamicro
1294fa9ee8
Ensure loading manifest in app package correctly
2017-01-12 12:48:51 +08:00
pandamicro
16b406ac58
Manifest basic version compare support string versions
2017-01-12 09:50:59 +08:00