Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
437 commits
Select commit Hold shift + click to select a range
ed19a28
Feature #4977: Remove writable path dependancy
pandamicro May 26, 2014
85207b3
Feature #4977: Remove writable path dependancy in Cpp AssetsManager test
pandamicro May 26, 2014
f3a22b5
Merge branch 'AssetManager' into v3_assets_manager
pandamicro May 26, 2014
fa4b686
Merge pull request #46 from pandamicro/AssetManager
May 26, 2014
5edd0d6
Merge pull request #41 from pandamicro/v3_assets_manager
pandamicro May 26, 2014
b1e5317
Feature #4977: Cache file path to avoid string join
pandamicro May 26, 2014
76e2c29
Feature #4977: Remove warning message of removeFile
pandamicro May 26, 2014
89976f0
Merge branch 'AssetManager' into v3_assets_manager
pandamicro May 26, 2014
eee2cee
Merge pull request #42 from pandamicro/v3_assets_manager
pandamicro May 26, 2014
fd6e0af
fix create directory bug on windows
May 26, 2014
791a997
Merge branch 'v3_assets_manager' of git://github.com/cocos2d-html5/co…
May 26, 2014
efc4b97
remove writeablepath
May 26, 2014
85d4124
Feature #4977: Use single thread download in 3.0beta
pandamicro May 26, 2014
f8e34d5
Merge pull request #44 from pandamicro/v3_assets_manager
pandamicro May 26, 2014
d93da5b
Feature #4977: Make AssetsManager::batchDownload protected
pandamicro May 26, 2014
41359d7
Merge pull request #45 from pandamicro/v3_assets_manager
pandamicro May 26, 2014
5894765
hide black window on windows
May 26, 2014
4e04e49
Merge branch 'v3_assets_manager' of git://github.com/cocos2d-html5/co…
May 26, 2014
9dc0bce
Merge pull request #43 from joshuastray/v3_assets_manager
pandamicro May 26, 2014
5fa726a
Feature #4977: Avoid compilation error in template project
pandamicro May 26, 2014
71efc40
Feature #4977: Improve for loop
pandamicro May 26, 2014
f2fc5e8
Merge pull request #46 from pandamicro/v3_assets_manager
pandamicro May 26, 2014
3a88dbd
rename file fix in AssetsManager
May 26, 2014
6958030
Update submodules
pandamicro May 26, 2014
85a7819
Merge branch 'lua-vm' of https://github.com/dumganhar/cocos2d-x into …
pandamicro May 26, 2014
12d121f
Merge pull request #47 from pandamicro/v3_assets_manager
pandamicro May 26, 2014
191b716
add widgetreader in local includes
May 26, 2014
5e5e904
Merge branch 'v3_assets_manager' of git://github.com/cocos2d-html5/co…
May 26, 2014
527f3cd
Merge pull request #48 from joshuastray/v3_assets_manager
pandamicro May 26, 2014
ab2c001
Feature #4977: Fix an issue of localManifest loading
pandamicro May 27, 2014
66099b4
Feature #4977: Support temporary file downloading and rename if succeed
pandamicro May 27, 2014
7219f28
Merge commit '12d121fd5fb6e3ac70c498e6c8264af99e1aab33' into lua-vm
pandamicro May 27, 2014
b6e37c3
Feature #4977: Fix compilation issue when USE_THREAD_POOL equals 1
pandamicro May 27, 2014
8a5e0fb
Feature #4977: Improve function definition
pandamicro May 28, 2014
3064cb2
Merge pull request #47 from pandamicro/lua-vm
May 28, 2014
6803e64
Feature #4977: Refactor API of AssetsManager
pandamicro May 29, 2014
de9bd9e
Feature #4977: Add UPDATE_FAILED event
pandamicro May 29, 2014
97a78df
Feature #4977: Add UPDATE_FAILED event in test case
pandamicro May 29, 2014
b08eff5
Feature #4977: Refactor Downloader::prepareDownload
pandamicro May 29, 2014
c2f4ba1
Feature #4977: Refactor Downloader::batchDownload with curl_multi_per…
pandamicro May 29, 2014
ab28379
Feature #4977: Make downloadProgressFunc friend of AssetsManager
pandamicro May 30, 2014
2723b58
Feature #4977: Use a new thread for batch download
pandamicro May 30, 2014
61500e8
Feature #4977: Improve batchDownload logic and walkthrough the new cu…
pandamicro May 30, 2014
5a9c20b
Feature #4977: Improve error handling with curl error code returned
pandamicro May 30, 2014
df6e310
Feature #4977: Add batchDownload finish notification
pandamicro May 30, 2014
06ffb48
Feature #4977: Improve and secure error handling
pandamicro May 30, 2014
bb4193b
Feature #4977: Add AssetsManager::getFailedAssets and updateAssets fu…
pandamicro May 30, 2014
bfb94ee
Feature #4977: Add path information to removeDirectory error message
pandamicro May 30, 2014
095fdd4
Feature #4977: Improve updateAssets function
pandamicro May 30, 2014
1d304ec
Merge branch 'lua-vm' of https://github.com/dumganhar/cocos2d-x into …
pandamicro May 30, 2014
b26b069
Feature #4977: Remove CURL dependency in headers
pandamicro May 30, 2014
ac7a900
Feature #4977: Improve AssetsManager updateAssets process and support…
pandamicro May 30, 2014
129e1ed
Feature #4977: Fix lua compilation issues
pandamicro May 30, 2014
c6873fb
Merge pull request #48 from pandamicro/lua-vm
May 30, 2014
1f36280
Merge branch 'v3_assets_manager' of https://github.com/joshuastray/co…
Jun 1, 2014
2705b6b
add new assets manager files in CMakeLists.txt
Jun 1, 2014
d1f52d8
Revert "KEYCODE_BACK: escape->backspace"
Jun 1, 2014
d033acc
Merge pull request #49 from joshuastray/v3_assets_manager
pandamicro Jun 3, 2014
bf95c0c
Feature #4977: Refactor success callback of Downloader, remove thread…
pandamicro Jun 3, 2014
b3f5297
Feature #4977: Add compressed key parsing for Asset in Manifest
pandamicro Jun 3, 2014
0e8d3b8
Feature #4977: Add decompress process in AssetsManager
pandamicro Jun 3, 2014
efa396d
Feature #4977: Add Error decompress in EventListener
pandamicro Jun 3, 2014
41253aa
Merge branch 'lua-vm' of https://github.com/dumganhar/cocos2d-x into …
pandamicro Jun 3, 2014
2d179ff
Merge branch 'lua-vm' into v3_assets_manager
pandamicro Jun 3, 2014
630c0c1
Merge branch 'v3_assets_manager' of git://github.com/cocos2d-html5/co…
pandamicro Jun 3, 2014
56301c8
Feature #4977: Add AssetsManager dependencies into CMakeList
pandamicro Jun 3, 2014
29645d5
Feature #4977: Improve decompress function
pandamicro Jun 3, 2014
9b21d51
Merge branch 'lua-vm' into v3_assets_manager
pandamicro Jun 3, 2014
afd5339
Feature #4977: Fix decompress path issue
pandamicro Jun 3, 2014
c399b2e
Merge branch 'lua-vm' into v3_assets_manager
pandamicro Jun 3, 2014
5093567
Make constructors public
pandamicro Jun 4, 2014
7d8adb5
Feature #4977: Add implementation of real progression
pandamicro Jun 5, 2014
ffa1872
Feature #4977: Improve implementation of real progression
pandamicro Jun 5, 2014
fd251c4
Feature #4977: Add AssetsManager::downloadFailedAssets API
pandamicro Jun 6, 2014
61dd189
Feature #4977: Take account of FOPEN_MAX
pandamicro Jun 6, 2014
68198b1
Feature #4977: Ignore file level progression
pandamicro Jun 6, 2014
5fbb9c2
Feature #4977: Improve decompress : create directory only when needed
pandamicro Jun 6, 2014
de324d5
Feature #4977: Improve AssetsManager test case
pandamicro Jun 6, 2014
4fa8067
Feature #4977: Add fopen fclose logs
pandamicro Jun 6, 2014
990f090
Feature #4977: add fclose for zip next file fail error
pandamicro Jun 6, 2014
b61b502
Merge branch 'lua-vm' into v3_assets_manager
pandamicro Jun 6, 2014
ab5cdb8
Merge pull request #51 from pandamicro/v3_assets_manager
pandamicro Jun 6, 2014
8fdc496
[cocoplay] Adds resources for new AssetsManager, get codes from lua-…
Jun 9, 2014
468ca54
[cocoplay] Updates project files.
Jun 9, 2014
c148a4f
[cocoplay] Updates cocos2dx_files.json
Jun 9, 2014
faebcfb
Feature #4977: add fclose for zip next file fail error
pandamicro Jun 6, 2014
8ac9a42
Feature #4977: Add fopen fclose logs
pandamicro Jun 6, 2014
b05e15b
Feature #4977: Improve AssetsManager test case
pandamicro Jun 6, 2014
b3f8ef3
Feature #4977: Improve decompress : create directory only when needed
pandamicro Jun 6, 2014
6b2c295
Feature #4977: Ignore file level progression
pandamicro Jun 6, 2014
9cfa264
Feature #4977: Take account of FOPEN_MAX
pandamicro Jun 6, 2014
a0735a0
Feature #4977: Add AssetsManager::downloadFailedAssets API
pandamicro Jun 6, 2014
3d75c23
[cocoplay] Updates lua auto bindings.
Jun 9, 2014
05ee9a7
[cocoplay] Removes unused log output.
Jun 9, 2014
fcf969e
[cocoplay] Fixed sync error
Jun 9, 2014
5195995
Feature #4977: Add AssetsManagerTest to test case's CMakeList
pandamicro Jun 9, 2014
e7c5100
Merge branch 'lua-vm-3.1.1' into AssetManager
pandamicro Jun 9, 2014
222fc93
Feature #4977: Update AssetsManagerTest
pandamicro Jun 9, 2014
fb3182b
Merge pull request #52 from pandamicro/lua-vm-3.1.1
Jun 9, 2014
a23c5bd
Updates COCOPLAY_UTILS_CLASS to point ot `com.chukong.cocoplay.utils.…
Jun 11, 2014
b4e3118
Feature #4977: Add DownloadState information to Manifest, add saveToF…
pandamicro Jun 11, 2014
e5bda07
Feature #4977: Secure Downloader shared_ptr usage
pandamicro Jun 11, 2014
d0bae81
Feature #4977: Support resume download in Downloader
pandamicro Jun 11, 2014
c82d0c0
Feature #4977: Support resume download with temporary Manifest file f…
pandamicro Jun 11, 2014
bcbeeef
Feature #4977: Removed unused lines
pandamicro Jun 11, 2014
5e6937b
Feature #4977: Removed unused lines
pandamicro Jun 11, 2014
78263bf
Update plugin ref
pandamicro Jun 11, 2014
787e811
Merge pull request #52 from pandamicro/v3_assets_manager
pandamicro Jun 11, 2014
a836945
Merge pull request #53 from pandamicro/lua-vm-3.1.1
Jun 11, 2014
56fe327
Add CocoPlayVM project
lmskater Jun 13, 2014
1ec34fb
Merge pull request #54 from lmskater/add-cocoplayvm
Jun 13, 2014
c23c72c
Merge pull request #53 from cocos2d/v3
pandamicro Jun 16, 2014
c3a28bd
Merge branch 'v3' into v3_assets_manager
pandamicro Jun 16, 2014
e83c7b4
Merge branch 'lua-vm-3.1.1' into AssetManager
pandamicro Jun 16, 2014
8835d69
Merge branch 'AssetManager' into v3_assets_manager
pandamicro Jun 16, 2014
ddbe02f
Merge pull request #54 from pandamicro/v3_assets_manager
pandamicro Jun 16, 2014
2923771
Issue #5570: Use new manifest url to resolve conflict
pandamicro Jun 17, 2014
07cd91c
Merge branch 'lua-vm-3.1.1' into v3_assets_manager
pandamicro Jun 17, 2014
a4eabac
Merge pull request #55 from pandamicro/v3_assets_manager
pandamicro Jun 17, 2014
cf697e2
Feature #4977: Implement two level of progression in AssetsManager
pandamicro Jun 18, 2014
e8baf14
Feature #4977: Bug fixes for download resuming
pandamicro Jun 18, 2014
7056a68
Feature #4977: Improve log informations and event messages
pandamicro Jun 18, 2014
a6ddc70
Feature #4977: [AssetsManager] Implement server resuming support check
pandamicro Jun 18, 2014
4e7683f
Issue #5579: Reverse changes to CCFileUtils
pandamicro Jun 20, 2014
9f82ec4
Issue #5579: Reverse commit 1ec34fbf8e0d73ddc3bfee451063eea47b69ee20
pandamicro Jun 20, 2014
fa31401
Issue #5580: Move file and directory manipulation functions into File…
pandamicro Jun 20, 2014
d56a5cb
Merge pull request #56 from pandamicro/v3_assets_manager
pandamicro Jun 20, 2014
ebbfb31
Refactor #5580: Fix Win32 compile issue
pandamicro Jun 23, 2014
d620d75
Merge pull request #58 from pandamicro/v3_assets_manager
pandamicro Jun 23, 2014
a7d94e0
Feature #5592: Update plugin-x
pandamicro Jun 23, 2014
1f67b2f
Merge pull request #59 from pandamicro/plugin_fb
pandamicro Jun 23, 2014
905d385
Refactor #5580: Fix some issues
pandamicro Jun 24, 2014
0017f61
Update plugin ref
pandamicro Jun 25, 2014
0f8f5ce
Update plugin ref
pandamicro Jun 25, 2014
cf121f2
Update plugin ref
pandamicro Jun 25, 2014
19442d8
Update plugin ref
pandamicro Jun 26, 2014
7d8681b
Update plugin ref
pandamicro Jun 26, 2014
57feed6
Update plugin ref
pandamicro Jun 26, 2014
10bdd29
Update plugin ref
pandamicro Jun 27, 2014
af14747
Merge pull request #4 from pandamicro/plugin_fb
pandamicro Jun 27, 2014
0a92c22
Merge pull request #60 from pandamicro/v3_assets_manager
pandamicro Jun 27, 2014
5b418ec
Merge branch 'v3_assets_manager' of git://github.com/cocos2d-html5/co…
pandamicro Jun 27, 2014
a29990e
Merge pull request #61 from pandamicro/v3_assets_manager
pandamicro Jun 27, 2014
6ee1031
Temporary use external reference for plugin-x
pandamicro Jun 27, 2014
d742216
Merge pull request #62 from pandamicro/v3_assets_manager
pandamicro Jun 27, 2014
2b92eb8
Update plugin ref
pandamicro Jun 27, 2014
e8c8b96
Merge pull request #63 from pandamicro/v3_assets_manager
pandamicro Jun 27, 2014
559fdc8
Update plugin ref
pandamicro Jun 27, 2014
e520526
Merge pull request #64 from pandamicro/v3_assets_manager
pandamicro Jun 27, 2014
163b318
Update plugin ref
pandamicro Jun 27, 2014
8bad757
Update plugin ref
pandamicro Jun 27, 2014
55c36fa
Update plugin ref
pandamicro Jun 28, 2014
42b8282
Update plugin ref
pandamicro Jun 28, 2014
b260495
Merge branch 'v3_assets_manager' of git://github.com/cocos2d-html5/co…
pandamicro Jun 28, 2014
2b89968
Merge pull request #65 from pandamicro/AMMerge
pandamicro Jun 28, 2014
ec75366
Merge branch 'v3' of git://github.com/cocos2d/cocos2d-x into v3-xMerge
pandamicro Jun 28, 2014
dcdcad3
Ignore 3D headers
pandamicro Jun 28, 2014
f686ccb
Merge pull request #67 from pandamicro/v3-xMerge
pandamicro Jun 28, 2014
be94fec
Fix Travis compile issue
pandamicro Jun 28, 2014
ecc8854
Try fixing Travis compile issue
pandamicro Jun 28, 2014
c161825
Succeed to fix Android Travis compile issue
pandamicro Jun 28, 2014
f262bce
Update plugin ref
pandamicro Jun 30, 2014
758577c
Update plugin ref
pandamicro Jun 30, 2014
4275926
Fixed #5632: Indicate the correct button in mouse move event
pandamicro Jul 1, 2014
6a58db4
Update plugin ref
pandamicro Jul 1, 2014
c6048dc
Fixed #5635: Correction of mouse event's cursor position
pandamicro Jul 1, 2014
c67a854
Update Plugin ref
pandamicro Jul 1, 2014
b36f0c5
Feature #4977: Fix issue of file rename on Windows
pandamicro Jul 2, 2014
6166829
Merge pull request #5 from pandamicro/lua-vm-3.1.1
pandamicro Jul 2, 2014
5ba7127
Merge pull request #68 from pandamicro/v3_assets_manager
pandamicro Jul 2, 2014
c38db87
feature #4977: fix namefile bugs on windows
Jul 2, 2014
6a7a502
Merge pull request #69 from joshuastray/v3_assets_manager
pandamicro Jul 2, 2014
6304022
update cocos2dx_files.json
wuzhiming Jul 2, 2014
f81e239
Merge pull request #70 from wuzhiming/v3_assets_manager
pandamicro Jul 2, 2014
da9563f
fix LabelAtlas constructor to CC_CONSTRUCTOR_ACCESS
Jul 15, 2014
1904600
use CC_CONSTRUCTOR_ACCESS in ParallaxNode
Jul 16, 2014
ae6828c
fix fontName error on win32
Jul 17, 2014
4d1a208
Merge pull request #71 from joshuastray/v3_assets_manager
pandamicro Jul 17, 2014
88da5d5
disabled custom shader tests for WP8
stammen Jul 17, 2014
b482a5e
Use relative path in the cocos2dxLuaLoader for showing useless msg wh…
samuele3hu Jul 17, 2014
3e6dd0b
1.3.1
Jul 17, 2014
24462e1
updated wp8 precompiled shaders
stammen Jul 17, 2014
a4b4eff
[FIX]: copied data should be const
Mazyod Jul 17, 2014
7ada094
fixed as follow error
chenguangqi Jul 18, 2014
f6b5f8e
Merge pull request #7509 from chuanweizhang2013/v3luaruntime
Jul 18, 2014
e44cd58
Merge pull request #7508 from samuele3hu/v3_hot_fix
Jul 18, 2014
0879d2b
update document
Jul 18, 2014
935bbdf
Merge pull request #7513 from minggo/v3
Jul 18, 2014
405ea3b
Merge pull request #7510 from MSOpenTech/wp8-v3-fix
Jul 18, 2014
2210d1f
Merge pull request #7512 from dulangci/v3
Jul 18, 2014
5d22bca
fixed warn and replace 'printf' with 'log';
WenhaiLin Jul 18, 2014
9409a73
Merge pull request #7511 from Mazyod/const-data-copy
Jul 18, 2014
c10e492
fixed compil
WenhaiLin Jul 18, 2014
2164783
Merge pull request #7515 from Dhilan007/v3-320final
Jul 18, 2014
b97f564
Merge branch 'v3' of git://github.com/cocos2d/cocos2d-x into v3_asset…
pandamicro Jul 18, 2014
f0b03d4
Refactor #5580: Fix merge issues in FileUtils
pandamicro Jul 18, 2014
907bc98
Refactor #5580: Fix merge issues in FileUtils
pandamicro Jul 18, 2014
51ab504
Merge pull request #72 from pandamicro/v3_assets_manager
pandamicro Jul 18, 2014
0a3ad90
Issue #4365: Add missed constructor access
pandamicro Jul 18, 2014
012f540
protected -> CC_CONSTRUCTOR_ACCESS
Jul 21, 2014
11f7756
Fix merge issue in Android.mk
pandamicro Jul 21, 2014
cf2ee01
Merge pull request #73 from pandamicro/v3_assets_manager
pandamicro Jul 21, 2014
ed1958d
Issue #5780: Remove CCControler.h to solve link issue with Controler
pandamicro Aug 1, 2014
e2e3cbb
Merge pull request #74 from pandamicro/v3_assets_manager
pandamicro Aug 1, 2014
fbbec33
Update Plugin-x ref
pandamicro Aug 1, 2014
51509ec
Merge pull request #75 from pandamicro/v3_assets_manager
pandamicro Aug 1, 2014
dc41667
Issue #5742: Download with stream buffer feature added to Downloader
pandamicro Aug 1, 2014
6da9eb4
Merge pull request #76 from pandamicro/v3_assets_manager
pandamicro Aug 1, 2014
0f2b4bb
Update plugin-x ref for FacebookAgent
pandamicro Aug 2, 2014
0eb30fb
Update Plugin-x ref
pandamicro Aug 2, 2014
3cb6015
[Downloader] Fix C++11 incompatible issue on Visual Studio
pandamicro Aug 4, 2014
2d5d907
Merge pull request #77 from pandamicro/v3_assets_manager
pandamicro Aug 4, 2014
eb48dfa
Merge pull request #78 from joshuastray/fix_constructor_access
pandamicro Aug 5, 2014
679baa6
Update submodules
pandamicro Aug 5, 2014
6d3e9f8
Issue #5781: Update cocos2dx_files.json
pandamicro Aug 6, 2014
ea45d79
Issue #5781: Fix -x compile issue on 32bit platform
pandamicro Aug 7, 2014
3b960dc
Merge pull request #79 from pandamicro/v3_assets_manager
pandamicro Aug 7, 2014
ae99808
Issue #5781: Fix plugin-x issue
pandamicro Aug 8, 2014
74127b4
Issue #5781: Fix downloader download stream issue
pandamicro Aug 12, 2014
b887d5a
Merge pull request #80 from pandamicro/v3_assets_manager
pandamicro Aug 12, 2014
4243da9
Fix plugin-x issue
pandamicro Aug 14, 2014
c3c5dea
Update plugin to origin/develop
pandamicro Aug 19, 2014
3c0cfec
Update plugin ref to original repo
pandamicro Aug 19, 2014
387c73c
Update Facebook plugin
pandamicro Aug 25, 2014
2d60655
Fixed #5864: Fixed crash issue when handleOnPause get invoked before …
pandamicro Aug 27, 2014
9e268fe
Merge pull request #81 from pandamicro/v3_assets_manager
pandamicro Aug 27, 2014
b25e42d
Issue #5824: Fixed skewBy effect reversed error
pandamicro Aug 27, 2014
9766a7c
Merge pull request #82 from pandamicro/v3_assets_manager
pandamicro Aug 27, 2014
3834be0
Fixed #5869: Fix ccui.Layout doesn't sort children nodes with their l…
pandamicro Aug 27, 2014
48e27ac
Merge pull request #83 from pandamicro/v3_assets_manager
pandamicro Aug 27, 2014
1b4522c
modify wirtable path
Sep 1, 2014
4550b16
Merge pull request #84 from chuanweizhang2013/v3_assets_manager
pandamicro Sep 1, 2014
0d5b3d5
Fixed #5903: Fixed stroke color issue of LabelTTF on iOS
pandamicro Sep 4, 2014
f91fc96
Issue #5892: Polish AssetsManager
pandamicro Sep 4, 2014
d4214ff
Merge pull request #85 from pandamicro/v3_assets_manager
pandamicro Sep 4, 2014
41ee83c
Issue #5892: Polish FileUtils's renameFile for AssetsManager
pandamicro Sep 4, 2014
ad14e71
Merge pull request #86 from pandamicro/v3_assets_manager
pandamicro Sep 4, 2014
520d5c5
Issue #5892: Polish AssetsManager for win32
pandamicro Sep 5, 2014
76d9dd8
Merge pull request #87 from pandamicro/v3_assets_manager
pandamicro Sep 5, 2014
4ac78aa
fix the bug that delete doesn't work on desktop
Sep 5, 2014
b30ea53
Update plugin-x
pandamicro Sep 6, 2014
4054636
Merge pull request #88 from joshuastray/fix_delete
pandamicro Sep 9, 2014
c2f3de2
Update plugin-x ref
pandamicro Sep 9, 2014
d298163
Update plugin-x
pandamicro Sep 10, 2014
c43c7d4
Update cocos2dx_files.json
pandamicro Sep 10, 2014
d11640f
Issue #5970: Catch up bug fixes in Cocos2d-x 3.3
pandamicro Oct 11, 2014
38acba6
Issue #5970: Fix EditBox bug on iOS8
pandamicro Oct 13, 2014
df58f05
Issue #5970: Update cocos2dx_files.json
pandamicro Oct 13, 2014
e49ccfd
Merge pull request #89 from pandamicro/v3_assets_manager
pandamicro Oct 13, 2014
e2f2bcb
Upgrade plugin-x
pandamicro Oct 14, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
url = git://github.com/cocos2d/cocos2d-console.git
[submodule "plugin"]
path = plugin
url = https://github.com/cocos2d-x/plugin-x.git
url=https://github.com/cocos2d-x/plugin-x.git
[submodule "tools/bindings-generator"]
path = tools/bindings-generator
url = git://github.com/cocos2d/bindings-generator.git
Expand Down
78 changes: 60 additions & 18 deletions build/cocos2d_libs.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions build/cocos2d_tests.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@
1A0EE57F18CDFBBE004CD58F /* StudioConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA37718CD9E180087CE3A /* StudioConstants.lua */; };
1A1645A6191B6281008C7C7F /* ccs-res in Resources */ = {isa = PBXBuildFile; fileRef = 1A221C9B191771E300FD2BE4 /* ccs-res */; };
1A1645A9191B6283008C7C7F /* ccs-res in Resources */ = {isa = PBXBuildFile; fileRef = 1A221C9B191771E300FD2BE4 /* ccs-res */; };
1A1AAACB192EE79200EFD411 /* Manifests in Resources */ = {isa = PBXBuildFile; fileRef = BA53B1B4192C4035002E0804 /* Manifests */; };
1A1AAACE192EE79500EFD411 /* Manifests in Resources */ = {isa = PBXBuildFile; fileRef = BA53B1B4192C4035002E0804 /* Manifests */; };
1A221C9C191771E300FD2BE4 /* ccs-res in Resources */ = {isa = PBXBuildFile; fileRef = 1A221C9B191771E300FD2BE4 /* ccs-res */; };
1A221C9D191771E400FD2BE4 /* ccs-res in Resources */ = {isa = PBXBuildFile; fileRef = 1A221C9B191771E300FD2BE4 /* ccs-res */; };
1A9F808D177E98A600D9A1CB /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 1A9F808C177E98A600D9A1CB /* libcurl.dylib */; };
Expand Down Expand Up @@ -917,6 +919,10 @@
A07A52C31783B02C0073F6A7 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A07A52C11783B01F0073F6A7 /* AVFoundation.framework */; };
B2507B6B192589AF00FA4972 /* Shaders3D in Resources */ = {isa = PBXBuildFile; fileRef = B2507B6A192589AF00FA4972 /* Shaders3D */; };
B2507B6C192589AF00FA4972 /* Shaders3D in Resources */ = {isa = PBXBuildFile; fileRef = B2507B6A192589AF00FA4972 /* Shaders3D */; };
BA53B19E192B556F002E0804 /* AssetsManagerTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BA53B19C192B556F002E0804 /* AssetsManagerTest.cpp */; };
BA53B19F192B556F002E0804 /* AssetsManagerTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BA53B19C192B556F002E0804 /* AssetsManagerTest.cpp */; };
BA53B1B5192C4035002E0804 /* Manifests in Resources */ = {isa = PBXBuildFile; fileRef = BA53B1B4192C4035002E0804 /* Manifests */; };
BA53B1B6192C4035002E0804 /* Manifests in Resources */ = {isa = PBXBuildFile; fileRef = BA53B1B4192C4035002E0804 /* Manifests */; };
C04F935A1941B05400E9FEAB /* TileMapTest2.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C04F93581941B05400E9FEAB /* TileMapTest2.cpp */; };
C04F935B1941B05400E9FEAB /* TileMapTest2.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C04F93581941B05400E9FEAB /* TileMapTest2.cpp */; };
C08689C118D370C90093E810 /* background.caf in Resources */ = {isa = PBXBuildFile; fileRef = C08689C018D370C90093E810 /* background.caf */; };
Expand Down Expand Up @@ -3175,6 +3181,9 @@
A07A52BB1783AEB80073F6A7 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/CoreGraphics.framework; sourceTree = DEVELOPER_DIR; };
A07A52C11783B01F0073F6A7 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/AVFoundation.framework; sourceTree = DEVELOPER_DIR; };
B2507B6A192589AF00FA4972 /* Shaders3D */ = {isa = PBXFileReference; lastKnownFileType = folder; name = Shaders3D; path = "../tests/cpp-tests/Resources/Shaders3D"; sourceTree = "<group>"; };
BA53B19C192B556F002E0804 /* AssetsManagerTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AssetsManagerTest.cpp; path = ExtensionsTest/AssetsManagerTest/AssetsManagerTest.cpp; sourceTree = "<group>"; };
BA53B19D192B556F002E0804 /* AssetsManagerTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AssetsManagerTest.h; path = ExtensionsTest/AssetsManagerTest/AssetsManagerTest.h; sourceTree = "<group>"; };
BA53B1B4192C4035002E0804 /* Manifests */ = {isa = PBXFileReference; lastKnownFileType = folder; name = Manifests; path = "../tests/cpp-tests/Resources/Manifests"; sourceTree = "<group>"; };
C04F93581941B05400E9FEAB /* TileMapTest2.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TileMapTest2.cpp; sourceTree = "<group>"; };
C04F93591941B05400E9FEAB /* TileMapTest2.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TileMapTest2.h; sourceTree = "<group>"; };
C08689C018D370C90093E810 /* background.caf */ = {isa = PBXFileReference; lastKnownFileType = file; name = background.caf; path = "../tests/cpp-tests/Resources/background.caf"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -6000,6 +6009,7 @@
1AC359B418CECF0B00F37B72 /* ExtensionsTest */ = {
isa = PBXGroup;
children = (
BA53B171192B07C1002E0804 /* AssetsManagerTest */,
38FA2E70194AEBE100FF2BE4 /* CocoStudioActionTimelineTest */,
1AC359B518CECF0B00F37B72 /* CocosBuilderTest */,
1AC359DC18CECF0B00F37B72 /* CocoStudioArmatureTest */,
Expand Down Expand Up @@ -6715,6 +6725,7 @@
1AC35CBA18CED84500F37B72 /* fonts */,
1AC35CBC18CED84500F37B72 /* hd */,
1AC35CBE18CED84500F37B72 /* Images */,
BA53B1B4192C4035002E0804 /* Manifests */,
1AC35CC118CED84500F37B72 /* Misc */,
1AC35CC318CED84500F37B72 /* Particles */,
1AC35CC618CED84500F37B72 /* Shaders */,
Expand Down Expand Up @@ -7361,6 +7372,16 @@
name = Products;
sourceTree = "<group>";
};
BA53B171192B07C1002E0804 /* AssetsManagerTest */ = {
isa = PBXGroup;
children = (
BA53B19C192B556F002E0804 /* AssetsManagerTest.cpp */,
BA53B19D192B556F002E0804 /* AssetsManagerTest.h */,
);
name = AssetsManagerTest;
path = ..;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -7889,6 +7910,7 @@
1AC35DC818CEE65100F37B72 /* TileMaps in Resources */,
1ABCA37C18CD9E180087CE3A /* Cocos2d.lua in Resources */,
1AC35DBE18CEE65100F37B72 /* fonts in Resources */,
1A1AAACB192EE79200EFD411 /* Manifests in Resources */,
1AC35DDE18CEE65900F37B72 /* CocosBuilderExample.ccbresourcelog in Resources */,
1AC35DBC18CEE65100F37B72 /* configs in Resources */,
1ABCA38818CD9E180087CE3A /* DeprecatedOpenglEnum.lua in Resources */,
Expand Down Expand Up @@ -8010,6 +8032,7 @@
1AC35D9C18CEE5D100F37B72 /* Icon-114.png in Resources */,
1ABCA38B18CD9E180087CE3A /* DrawPrimitives.lua in Resources */,
1ABCA39918CD9E180087CE3A /* OpenglConstants.lua in Resources */,
1A1AAACE192EE79500EFD411 /* Manifests in Resources */,
1ABCA37918CD9E180087CE3A /* AudioEngine.lua in Resources */,
1AC35D9F18CEE5D100F37B72 /* Icon-152.png in Resources */,
1AC35DEE18CEE65B00F37B72 /* background.mp3 in Resources */,
Expand Down Expand Up @@ -8040,6 +8063,7 @@
1AC35CEC18CED84500F37B72 /* fonts in Resources */,
1AC35CCA18CED84500F37B72 /* animations in Resources */,
1AC35CEA18CED84500F37B72 /* fileLookup.plist in Resources */,
BA53B1B5192C4035002E0804 /* Manifests in Resources */,
1A221C9C191771E300FD2BE4 /* ccs-res in Resources */,
1AC35CF018CED84500F37B72 /* hd in Resources */,
1AC35CFC18CED84500F37B72 /* music.mid in Resources */,
Expand Down Expand Up @@ -8105,6 +8129,7 @@
1AC35C9518CECF1400F37B72 /* Icon-72.png in Resources */,
1AC35D0B18CED84500F37B72 /* zwoptex in Resources */,
1AC35CF518CED84500F37B72 /* Images in Resources */,
BA53B1B6192C4035002E0804 /* Manifests in Resources */,
1AC35C9118CECF1400F37B72 /* Icon-40.png in Resources */,
1AC35C8B18CECF1400F37B72 /* Icon-100.png in Resources */,
1AC35D0118CED84500F37B72 /* pew-pew-lei.wav in Resources */,
Expand Down Expand Up @@ -8385,6 +8410,7 @@
29080DAB191B595E0066F8DF /* UIFocusTest.cpp in Sources */,
29080DD9191B595E0066F8DF /* UITextBMFontTest_Editor.cpp in Sources */,
1AC35B5918CECF0C00F37B72 /* controller.cpp in Sources */,
BA53B19E192B556F002E0804 /* AssetsManagerTest.cpp in Sources */,
1AC35C2918CECF0C00F37B72 /* PerformanceEventDispatcherTest.cpp in Sources */,
1AC35CA618CECF1E00F37B72 /* main.cpp in Sources */,
1AC35BE918CECF0C00F37B72 /* CCControlSceneManager.cpp in Sources */,
Expand Down Expand Up @@ -8468,6 +8494,7 @@
29080DBE191B595E0066F8DF /* UIPageViewTest.cpp in Sources */,
1AC35BDC18CECF0C00F37B72 /* SceneEditorTest.cpp in Sources */,
1AC35B4C18CECF0C00F37B72 /* BugsTest.cpp in Sources */,
BA53B19F192B556F002E0804 /* AssetsManagerTest.cpp in Sources */,
1AC35C5218CECF0C00F37B72 /* testBasic.cpp in Sources */,
1AC35B7A18CECF0C00F37B72 /* EnemyController.cpp in Sources */,
29080DE6191B595E0066F8DF /* UIWidgetAddNodeTest_Editor.cpp in Sources */,
Expand Down
6 changes: 4 additions & 2 deletions cocos/2d/CCAction.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,11 @@ class CC_DLL Action : public Ref, public Clonable
inline int getTag() const { return _tag; }
inline void setTag(int tag) { _tag = tag; }

protected:
CC_CONSTRUCTOR_ACCESS:
Action();
virtual ~Action();

protected:
Node *_originalTarget;
/** The "target".
The target will be set with the 'startWithTarget' method.
Expand Down Expand Up @@ -140,12 +141,13 @@ class CC_DLL FiniteTimeAction : public Action
virtual FiniteTimeAction* reverse() const override = 0;
virtual FiniteTimeAction* clone() const override = 0;

protected:
CC_CONSTRUCTOR_ACCESS:
FiniteTimeAction()
: _duration(0)
{}
virtual ~FiniteTimeAction(){}

protected:
//! duration in seconds
float _duration;

Expand Down
6 changes: 4 additions & 2 deletions cocos/2d/CCActionGrid.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ class CC_DLL GridAction : public ActionInterval
virtual GridAction* reverse() const override;
virtual void startWithTarget(Node *target) override;

protected:
CC_CONSTRUCTOR_ACCESS:
GridAction() {}
virtual ~GridAction() {}
/** initializes the action with size and duration */
bool initWithDuration(float duration, const Size& gridSize);

protected:
Size _gridSize;

NodeGrid* _gridNodeTarget;
Expand Down Expand Up @@ -273,10 +274,11 @@ class CC_DLL StopGrid : public ActionInstant
virtual StopGrid* clone() const override;
virtual StopGrid* reverse() const override;

protected:
CC_CONSTRUCTOR_ACCESS:
StopGrid() {}
virtual ~StopGrid() {}

protected:
NodeGrid* _gridNodeTarget;

void cacheTargetAsGridNode();
Expand Down
2 changes: 1 addition & 1 deletion cocos/2d/CCActionGrid3D.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class CC_DLL FlipY3D : public FlipX3D
virtual void update(float time) override;
virtual FlipY3D* clone() const override;

protected:
CC_CONSTRUCTOR_ACCESS:
FlipY3D() {}
virtual ~FlipY3D() {}
private:
Expand Down
13 changes: 7 additions & 6 deletions cocos/2d/CCActionInstant.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class CC_DLL Show : public ActionInstant
virtual ActionInstant* reverse() const override;
virtual Show* clone() const override;

protected:
CC_CONSTRUCTOR_ACCESS:
Show(){}
virtual ~Show(){}

Expand All @@ -98,7 +98,7 @@ class CC_DLL Hide : public ActionInstant
virtual ActionInstant* reverse() const override;
virtual Hide* clone() const override;

protected:
CC_CONSTRUCTOR_ACCESS:
Hide(){}
virtual ~Hide(){}

Expand All @@ -121,7 +121,7 @@ class CC_DLL ToggleVisibility : public ActionInstant
virtual ToggleVisibility* reverse() const override;
virtual ToggleVisibility* clone() const override;

protected:
CC_CONSTRUCTOR_ACCESS:
ToggleVisibility(){}
virtual ~ToggleVisibility(){}

Expand Down Expand Up @@ -402,13 +402,14 @@ class CC_DLL __CCCallFuncND : public CallFunc
virtual __CCCallFuncND* clone() const override;
virtual void execute() override;

protected:
CC_CONSTRUCTOR_ACCESS:
__CCCallFuncND() {}
virtual ~__CCCallFuncND() {}

/** initializes the action with the callback and the data to pass as an argument */
bool initWithTarget(Ref* target, SEL_CallFuncND selector, void* d);

protected:
SEL_CallFuncND _callFuncND;
void* _data;

Expand Down Expand Up @@ -441,7 +442,7 @@ class CC_DLL __CCCallFuncO : public CallFunc
Ref* getObject() const;
void setObject(Ref* obj);

protected:
CC_CONSTRUCTOR_ACCESS:
__CCCallFuncO();
virtual ~__CCCallFuncO();
/** initializes the action with the callback
Expand All @@ -450,7 +451,7 @@ class CC_DLL __CCCallFuncO : public CallFunc
*/
bool initWithTarget(Ref* target, SEL_CallFuncO selector, Ref* object);


protected:
/** object to be passed as argument */
Ref* _object;
SEL_CallFuncO _callFuncO;
Expand Down
8 changes: 4 additions & 4 deletions cocos/2d/CCActionTiledGrid.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class CC_DLL FadeOutTRTiles : public TiledGrid3DAction
virtual void update(float time) override;
virtual FadeOutTRTiles* clone() const override;

protected:
CC_CONSTRUCTOR_ACCESS:
FadeOutTRTiles() {}
virtual ~FadeOutTRTiles() {}

Expand All @@ -163,7 +163,7 @@ class CC_DLL FadeOutBLTiles : public FadeOutTRTiles
virtual float testFunc(const Size& pos, float time) override;
virtual FadeOutBLTiles* clone() const override;

protected:
CC_CONSTRUCTOR_ACCESS:
FadeOutBLTiles() {}
virtual ~FadeOutBLTiles() {}

Expand All @@ -186,7 +186,7 @@ class CC_DLL FadeOutUpTiles : public FadeOutTRTiles
virtual FadeOutUpTiles* clone() const override;
virtual float testFunc(const Size& pos, float time) override;

protected:
CC_CONSTRUCTOR_ACCESS:
FadeOutUpTiles() {}
virtual ~FadeOutUpTiles() {}

Expand All @@ -207,7 +207,7 @@ class CC_DLL FadeOutDownTiles : public FadeOutUpTiles
virtual FadeOutDownTiles* clone() const override;
virtual float testFunc(const Size& pos, float time) override;

protected:
CC_CONSTRUCTOR_ACCESS:
FadeOutDownTiles() {}
virtual ~FadeOutDownTiles() {}

Expand Down
4 changes: 0 additions & 4 deletions cocos/2d/CCLabel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1102,10 +1102,6 @@ void Label::visit(Renderer *renderer, const Mat4 &parentTransform, uint32_t pare
}

director->popMatrix(MATRIX_STACK_TYPE::MATRIX_STACK_MODELVIEW);

// FIX ME: Why need to set _orderOfArrival to 0??
// Please refer to https://github.com/cocos2d/cocos2d-x/pull/6920
// setOrderOfArrival(0);
}

void Label::setSystemFontName(const std::string& systemFont)
Expand Down
23 changes: 12 additions & 11 deletions cocos/2d/CCLabel.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,18 @@ class CC_DLL Label : public SpriteBatchNode, public LabelProtocol

CC_DEPRECATED_ATTRIBUTE int getCommonLineHeight() const { return getLineHeight();}

CC_CONSTRUCTOR_ACCESS:
/**
* @js NA
*/
Label(FontAtlas *atlas = nullptr, TextHAlignment hAlignment = TextHAlignment::LEFT,
TextVAlignment vAlignment = TextVAlignment::TOP,bool useDistanceField = false,bool useA8Shader = false);
/**
* @js NA
* @lua NA
*/
virtual ~Label();

protected:
void onDraw(const Mat4& transform, bool transformUpdated);

Expand All @@ -294,17 +306,6 @@ class CC_DLL Label : public SpriteBatchNode, public LabelProtocol
STRING_TEXTURE
};

/**
* @js NA
*/
Label(FontAtlas *atlas = nullptr, TextHAlignment hAlignment = TextHAlignment::LEFT,
TextVAlignment vAlignment = TextVAlignment::TOP,bool useDistanceField = false,bool useA8Shader = false);
/**
* @js NA
* @lua NA
*/
virtual ~Label();

virtual void setFontAtlas(FontAtlas* atlas,bool distanceFieldEnabled = false, bool useA8Shader = false);

bool recordLetterInfo(const cocos2d::Vec2& point,const FontLetterDefinition& letterDef, int spriteIndex);
Expand Down
4 changes: 3 additions & 1 deletion cocos/2d/CCLabelAtlas.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class CC_DLL LabelAtlas : public AtlasNode, public LabelProtocol
virtual void draw(Renderer *renderer, const Mat4 &transform, uint32_t flags) override;
#endif

protected:
CC_CONSTRUCTOR_ACCESS:
LabelAtlas()
:_string("")
{}
Expand All @@ -96,6 +96,8 @@ class CC_DLL LabelAtlas : public AtlasNode, public LabelProtocol
{
_string.clear();
}

protected:
virtual void updateColor() override;

#if CC_LABELATLAS_DEBUG_DRAW
Expand Down
2 changes: 1 addition & 1 deletion cocos/2d/CCLayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ class CC_DLL __LayerRGBA : public Layer, public __RGBAProtocol
virtual void setOpacityModifyRGB(bool bValue) override { return Layer::setOpacityModifyRGB(bValue); }
virtual bool isOpacityModifyRGB() const override { return Layer::isOpacityModifyRGB(); }

protected:
CC_CONSTRUCTOR_ACCESS:
__LayerRGBA();
virtual ~__LayerRGBA() {}

Expand Down
9 changes: 5 additions & 4 deletions cocos/2d/CCNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1664,10 +1664,11 @@ const Mat4& Node::getNodeToParentTransform() const
// If skew is needed, apply skew and then anchor point
if (needsSkewMatrix)
{
Mat4 skewMatrix(1, (float)tanf(CC_DEGREES_TO_RADIANS(_skewY)), 0, 0,
(float)tanf(CC_DEGREES_TO_RADIANS(_skewX)), 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1);
const float mat4[16] = {1, (float)tanf(CC_DEGREES_TO_RADIANS(_skewY)), 0, 0,
(float)tanf(CC_DEGREES_TO_RADIANS(_skewX)), 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1};
Mat4 skewMatrix(mat4);

_transform = _transform * skewMatrix;

Expand Down
3 changes: 0 additions & 3 deletions cocos/2d/CCNodeGrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,6 @@ void NodeGrid::visit(Renderer *renderer, const Mat4 &parentTransform, uint32_t p
this->draw(renderer, _modelViewTransform, dirty);
}

// reset for next frame
_orderOfArrival = 0;

if(_nodeGrid && _nodeGrid->isActive())
{
// restore projection
Expand Down
5 changes: 3 additions & 2 deletions cocos/2d/CCNodeGrid.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ class NodeGrid : public Node
// overrides
virtual void visit(Renderer *renderer, const Mat4 &parentTransform, uint32_t parentFlags) override;

protected:
CC_CONSTRUCTOR_ACCESS:
NodeGrid();
virtual ~NodeGrid();


protected:
void onGridBeginDraw();
void onGridEndDraw();

Expand Down
Loading