Skip to content

Release Cocos2d-JS v3.5 #1639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 902 commits into from
Apr 1, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
902 commits
Select commit Hold shift + click to select a range
c23e391
Upgrade bindings code to SpiderMonkey v34
pandamicro Mar 17, 2015
4cf24b1
added samples solution for Windows 8.1 Universal Apps
stammen Mar 17, 2015
67f4787
updated release build properties
stammen Mar 17, 2015
f2473e0
added project files for Windows 8.1 Universal Apps
stammen Mar 17, 2015
d45d3e9
Ignore zip file created by download-deps.py if saved by user
stammen Mar 17, 2015
53d7ee2
added SpiderMonkey for Windows 8.1 Universal App
stammen Mar 17, 2015
a3cb96b
updated include paths
stammen Mar 17, 2015
8184f73
use wav file for WP8 and WINRT
stammen Mar 17, 2015
90c59e2
added Generated Files dir
stammen Mar 17, 2015
ede0934
added check for OS_WINRT
stammen Mar 17, 2015
d7e5dfe
Merge branch 'develop' into develop-winrt
stammen Mar 17, 2015
95118ef
added /Gy option for ARM error
stammen Mar 17, 2015
4cf34e1
added Windows 8.1 Universal App project files
stammen Mar 17, 2015
9f5fffc
added CC_PLATFORM_WINRT
stammen Mar 17, 2015
c043a71
added js-tests for Windows 8.1 Universal App
stammen Mar 17, 2015
f3e0c3f
Fix issue of enableDebugger
pandamicro Mar 18, 2015
bb11860
Closed #1554: added a testcase to test the blendFunc of Sprite
dingpinglv Mar 18, 2015
92995c5
Fixed a bug of template that it doesn't work when it doesn't add load…
dingpinglv Mar 18, 2015
b8ea3d6
Merge pull request #1557 from dingpinglv/develop
dingpinglv Mar 18, 2015
79547bb
Moved loading.js to res folder for Cocos console release mode.
dingpinglv Mar 18, 2015
7a570a5
Update the reference of cocos2d-html5
dingpinglv Mar 18, 2015
9392114
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
dingpinglv Mar 18, 2015
56e55c9
Merge pull request #1558 from dingpinglv/develop
dingpinglv Mar 18, 2015
d940196
Fixed a bug of Cocostudio parser that widget doesn't set layoutComponent
dingpinglv Mar 18, 2015
e584dbb
Merge pull request #1559 from dingpinglv/develop
dingpinglv Mar 18, 2015
45b0646
Refactor create_js_root_obj -> get_or_create_js_obj
pandamicro Mar 18, 2015
d3e98e0
Upgrade SpiderMonkey v34 and fix 32bit 64bit conflict
pandamicro Mar 18, 2015
afee3c1
Update submodules
pandamicro Mar 18, 2015
927f979
Ensure v33 v34 compatibility
pandamicro Mar 18, 2015
c4626e1
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
pandamicro Mar 18, 2015
0bc8245
Merge branch 'develop' into develop-winrt
stammen Mar 18, 2015
ed11807
Merge pull request #1560 from pandamicro/ImproveBindings
pandamicro Mar 18, 2015
ab334da
Update engine version
pandamicro Mar 18, 2015
61dc239
Fix armature setBlendFunc parameter inconsistency
pandamicro Mar 18, 2015
44da257
Update submodules
pandamicro Mar 18, 2015
ab3e4ce
[AUTO] : updating jsbinding automatically
CocosRobot Mar 18, 2015
a6c7d82
added Windows 8.1 Universal App project template
stammen Mar 18, 2015
6edbae4
added CC_PLATFORM_WINRT
stammen Mar 18, 2015
272375b
added Windows 8.1 Universal App project template files
stammen Mar 18, 2015
1a858fc
don't auto update version number for app certification tests
stammen Mar 18, 2015
4b0b85c
removed TerminateProcess to pass Windows App Certification tests
stammen Mar 18, 2015
3cb952f
ignore AppPackages
stammen Mar 18, 2015
503ba76
ignore vcxproj.user files
stammen Mar 18, 2015
680aa0c
Merge pull request #1562 from CocosRobot/update_js_bindings_1426698251
pandamicro Mar 19, 2015
345be07
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
dingpinglv Mar 19, 2015
6b5e8bc
Merge pull request #1561 from pandamicro/develop
pandamicro Mar 19, 2015
288c390
Merge pull request #1551 from thomas-jablonski/develop
dingpinglv Mar 19, 2015
24128bb
Update authors
pandamicro Mar 19, 2015
514e42a
Fix long path issue for windows phone compilation
pandamicro Mar 19, 2015
a536f8f
Update Changelog
pandamicro Mar 19, 2015
671e8b8
fix checkbox addeventlistener crash in jsb,
Mar 19, 2015
e545cb1
Merge pull request #1564 from pandamicro/develop
pandamicro Mar 19, 2015
0bd737e
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
pandamicro Mar 19, 2015
ca49888
Merge branch 'develop' into checkboxTest
Mar 19, 2015
cf97529
fix new test path
Mar 19, 2015
343d736
Add resource path for ccs.load. and modify path for ProjectNode.
VisualSJ Mar 20, 2015
a3d836a
Add resource path for ccs.load. and modify path for ProjectNode.
VisualSJ Mar 20, 2015
cf10ac6
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
VisualSJ Mar 20, 2015
f5efa36
Add release docs for v3.4 beta0
pandamicro Mar 20, 2015
af3d698
Merge pull request #1568 from pandamicro/develop
pandamicro Mar 20, 2015
ba2664c
Change logo
pandamicro Mar 20, 2015
8cfd5c6
Merge pull request #1569 from pandamicro/develop
pandamicro Mar 20, 2015
c9b2d0e
Fixed a bug that layoutComponent is undefined
VisualSJ Mar 20, 2015
3f7b314
Fixed a bug that layoutComponent is undefinedFixed a bug that layoutC…
VisualSJ Mar 20, 2015
621e014
Merge pull request #1572 from VisualSJ/develop-parser
dingpinglv Mar 20, 2015
dfe22c8
Reverse SpiderMonkey iOS build to v33
pandamicro Mar 20, 2015
01fabcb
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
pandamicro Mar 20, 2015
e8218ed
Merge branch 'develop' into develop-winrt
stammen Mar 22, 2015
545d8b5
Fixed #2753: Background color of panel from cocos studio 2 doesnt work
VisualSJ Mar 23, 2015
4d86c34
Merge pull request #1574 from VisualSJ/develop-parser
dingpinglv Mar 23, 2015
73e6cbc
Fixed punchbox #16651 Scale9sprite error(ccui parser)
VisualSJ Mar 23, 2015
b5af809
Merge pull request #1575 from VisualSJ/develop-parser
dingpinglv Mar 23, 2015
3c0965b
Merge pull request #1563 from dingpinglv/Iss1554_BlendFunc
pandamicro Mar 23, 2015
44afeed
Merge pull request #1566 from jianglong0156/checkboxTest
pandamicro Mar 23, 2015
a8f9590
Disable retina display by default
pandamicro Mar 23, 2015
772ec0a
Fix #1389 : Add enableStroke to cc.Label
pandamicro Mar 23, 2015
c73e2a0
Move 3D modules to jsb namespace
pandamicro Mar 23, 2015
66981b8
Fix issues of 3d module scripts (jsb namespace) and refactor test cases
pandamicro Mar 23, 2015
87f3b7f
Merge pull request #1577 from pandamicro/develop
pandamicro Mar 23, 2015
18265fe
Merge pull request #1578 from pandamicro/button
pandamicro Mar 23, 2015
32d03db
Merge branch 'develop' into develop-winrt
stammen Mar 23, 2015
3e2045e
Refactor cc.XXXLight to jsb.XXXLight
pandamicro Mar 23, 2015
146b0cb
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
pandamicro Mar 23, 2015
b282b57
Merge pull request #1541 from andot/develop
pandamicro Mar 23, 2015
0426345
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
pandamicro Mar 23, 2015
746de8a
Update cocos2d_specifics.cpp
zhaijialong Mar 23, 2015
0923f9f
Merge pull request #1555 from MSOpenTech/develop-winrt
pandamicro Mar 23, 2015
df6f7d9
Merge pull request #1580 from joshuastray/label_createWithTTF
pandamicro Mar 24, 2015
83d77ce
Merge pull request #1579 from pandamicro/develop
pandamicro Mar 24, 2015
88a3d5a
[AUTO] : updating jsbinding automatically
CocosRobot Mar 24, 2015
961f37d
Merge pull request #1581 from CocosRobot/update_js_bindings_1427166878
pandamicro Mar 24, 2015
9b75f34
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
pandamicro Mar 24, 2015
40dee67
Fixed #1217: make remote image loading fully asynchonous
pandamicro Mar 24, 2015
9b130dc
Merge pull request #1582 from pandamicro/develop
pandamicro Mar 24, 2015
fe30993
Fix Sprite3D issues
pandamicro Mar 24, 2015
89940e9
Sync Cocos2d-x 3.5
pandamicro Mar 24, 2015
0fa6120
Merge pull request #1583 from pandamicro/develop
pandamicro Mar 25, 2015
bdfbf1c
Add security.framework for mac build
pandamicro Mar 25, 2015
3f5737c
#1217: Improved jsb.loadRemoteImg implementation
pandamicro Mar 25, 2015
240f829
Merge pull request #1584 from pandamicro/develop
pandamicro Mar 25, 2015
2cbcec3
[AUTO] : updating jsbinding automatically
CocosRobot Mar 25, 2015
7802cc3
Merge pull request #1585 from pandamicro/develop
pandamicro Mar 25, 2015
a1d307b
Merge pull request #1587 from CocosRobot/update_js_bindings_1427250870
pandamicro Mar 25, 2015
b0e2d6b
Fix Node_init empty implementation issue
pandamicro Mar 25, 2015
05781a1
Merge pull request #1567 from VisualSJ/develop-loading
pandamicro Mar 25, 2015
044eb57
Merge pull request #1590 from pandamicro/develop
pandamicro Mar 25, 2015
0e6dd60
Support compile js projects on platform wp8-xaml & win8.1-universal.
Mar 25, 2015
6004d08
Merge pull request #1591 from natural-law/develop
pandamicro Mar 25, 2015
049d087
Closed #1570: Added Spine FFD testcases. It doesn't work on Web.
dingpinglv Mar 25, 2015
194c792
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
dingpinglv Mar 25, 2015
85c3cd0
Closed #1570: modified cc.log in SpineTest.js
dingpinglv Mar 25, 2015
2963433
Merge pull request #1592 from dingpinglv/Iss1570_SpineFFD
dingpinglv Mar 25, 2015
fbf6331
Move Facebook SDK to avoid long path issue
pandamicro Mar 25, 2015
6a05df3
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
pandamicro Mar 25, 2015
642ae82
particle can be created from a map
Mar 25, 2015
5b9cd8d
Merge pull request #1593 from pandamicro/develop
pandamicro Mar 25, 2015
af96314
Sync the latest OS info
pandamicro Mar 25, 2015
7db31af
Merge pull request #1595 from pandamicro/develop
pandamicro Mar 25, 2015
1ea620f
Fix ClippingNode init issue
pandamicro Mar 25, 2015
a2f68f0
Improved bindings register
pandamicro Mar 25, 2015
a05a3fd
Merge pull request #1596 from pandamicro/develop
pandamicro Mar 25, 2015
9787d9b
Support to set custom scheduler & actionmanager for node.
Mar 25, 2015
1102350
Adds retain & release for Scheduler & ActionManager
Mar 25, 2015
9edd508
Revert changes to jsb.loadRemoteImg and use multi thread for downloading
pandamicro Mar 25, 2015
f366d74
Merge pull request #1597 from pandamicro/develop
pandamicro Mar 25, 2015
fc20458
Fix #1589: Avoid rebinding js object with the same texture
pandamicro Mar 25, 2015
e46f448
Fix a small mistake
pandamicro Mar 25, 2015
c909230
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
pandamicro Mar 25, 2015
b9c7f86
Merge pull request #1598 from dumganhar/scheduler-fix
pandamicro Mar 25, 2015
342753c
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
pandamicro Mar 25, 2015
0461754
Add SchedulerTimeScale test into the test list
pandamicro Mar 25, 2015
67da9a1
[AUTO] : updating jsbinding automatically
CocosRobot Mar 25, 2015
b45a750
Fix #1332 ccui.TextBMFont's renderer API inconsistency
pandamicro Mar 26, 2015
b1acbe1
Merge pull request #1599 from pandamicro/develop
pandamicro Mar 26, 2015
a7abde2
Issue #1565: TTF font haven't been set when parser Label
VisualSJ Mar 26, 2015
a3bd795
Merge pull request #1602 from VisualSJ/develop-1565
pandamicro Mar 26, 2015
28e7280
Merge pull request #1601 from pandamicro/develop
pandamicro Mar 26, 2015
3475bde
Merge pull request #1600 from CocosRobot/update_js_bindings_1427304776
pandamicro Mar 26, 2015
8acf09f
disable "SDL Check"
Mar 26, 2015
eef10da
Merge remote-tracking branch 'upstream/develop' into develop
Mar 26, 2015
2817330
fix EGL_PLATFORM_ANGLE_USE_WARP_ANGLE undefine error after upgrade v3…
Mar 26, 2015
c476eea
fix incorrect path
Mar 26, 2015
4b58472
Sync Cocos2d-x
pandamicro Mar 26, 2015
dd6628e
Merge pull request #1606 from pandamicro/develop
pandamicro Mar 26, 2015
95edb69
Add 3d extension bindings for Particle3D
pandamicro Mar 26, 2015
347f94d
Add 3d extension bindings to projects (mac/ios/android/linux)
pandamicro Mar 26, 2015
838b527
Add 3d extension bindings to template projects
pandamicro Mar 26, 2015
c198de4
Merge pull request #1605 from joshuastray/develop
pandamicro Mar 26, 2015
0b8d6bb
[AUTO] : updating jsbinding automatically
CocosRobot Mar 26, 2015
670d18b
fix moonwarrior and jstests win32 project
Mar 26, 2015
10a1cac
Add security.framework for mac in templates
pandamicro Mar 26, 2015
88720b0
Merge pull request #1607 from pandamicro/develop
pandamicro Mar 26, 2015
fdc0d70
Merge pull request #1608 from CocosRobot/update_js_bindings_1427362374
pandamicro Mar 26, 2015
1be6ff5
fix win32 template
Mar 26, 2015
e50dc5f
fix template working directory
Mar 26, 2015
f02af74
ActionTimeData was converted to ObjectExtensionData
VisualSJ Mar 26, 2015
df7ff12
ActionTimeData was converted to ObjectExtensionData
VisualSJ Mar 26, 2015
6e7d53a
[AUTO] : updating jsbinding automatically
CocosRobot Mar 26, 2015
87bdf66
Merge pull request #1609 from joshuastray/fix-win-proj
pandamicro Mar 26, 2015
a9d2798
Merge pull request #1611 from CocosRobot/update_js_bindings_1427375421
pandamicro Mar 26, 2015
09cd153
Merge pull request #1610 from VisualSJ/develop-3.4final
pandamicro Mar 26, 2015
3e78664
[AUTO] : updating jsbinding automatically
CocosRobot Mar 26, 2015
cc96c6f
Merge pull request #1612 from CocosRobot/update_js_bindings_1427376779
pandamicro Mar 26, 2015
2c43586
Fix Cocos 2.2 animation parse issue
pandamicro Mar 26, 2015
39d01c6
Support new constructor for ccs.ObjectExtensionData
pandamicro Mar 26, 2015
cb8d377
Merge pull request #1613 from pandamicro/develop
pandamicro Mar 26, 2015
6e07d89
[AUTO] : updating jsbinding automatically
CocosRobot Mar 26, 2015
d20ef25
update cocos2d-html5
Mar 27, 2015
f8877ec
Merge remote-tracking branch 'upstream/develop' into particle
Mar 27, 2015
0497966
fix setBlendFunc
Mar 27, 2015
98b6cda
Merge pull request #1614 from CocosRobot/update_js_bindings_1427394602
pandamicro Mar 27, 2015
9387600
Merge pull request #1594 from joshuastray/particle
pandamicro Mar 27, 2015
f51c648
add files to windows projects
Mar 27, 2015
abac2be
Merge pull request #1617 from joshuastray/fixwin
pandamicro Mar 27, 2015
ea00f4b
Merge pull request #1616 from joshuastray/blendfunc
pandamicro Mar 27, 2015
1f9ee8c
add 3d parser
xiaofeng11 Mar 27, 2015
2efd068
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
xiaofeng11 Mar 27, 2015
99e3db5
Repair the problem that speed error of nested animation.
VisualSJ Mar 27, 2015
c074805
Fix 3d sprite parse errors
xiaofeng11 Mar 27, 2015
a2243b1
Repair the problem that speed error of nested animation.
VisualSJ Mar 27, 2015
ef01ec9
Fix compare logic
xiaofeng11 Mar 27, 2015
a6af1ff
updated to support cocos2d-x v3.5
stammen Mar 27, 2015
34deb44
Merge pull request #1618 from VisualSJ/develop-3.4final
pandamicro Mar 28, 2015
d72d308
Update submodules
pandamicro Mar 28, 2015
44f6038
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
pandamicro Mar 28, 2015
7589e31
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
xiaofeng11 Mar 28, 2015
fcc9be6
fix linux compilation
Mar 28, 2015
cc23d38
fix wp8/winrt judgement
Mar 28, 2015
e4f2d9c
cc to jsb
Mar 28, 2015
bcae6a8
setTrackStartListener not supported now
Mar 28, 2015
e8a9a86
update cocos2d-x
Mar 28, 2015
f495fa6
turn off SDL check
Mar 28, 2015
bbb4000
Merge pull request #1620 from joshuastray/fixlinux
pandamicro Mar 28, 2015
72a833b
fix copy failed
Mar 28, 2015
7d09d59
Merge pull request #1621 from joshuastray/develop-2
pandamicro Mar 28, 2015
38cbdb7
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
xiaofeng11 Mar 28, 2015
c245237
Fix uncertainty compare statements
xiaofeng11 Mar 28, 2015
695cb2b
Merge pull request #1619 from xiaofeng11/develop
pandamicro Mar 28, 2015
0d401c4
[AUTO] : updating jsbinding automatically
CocosRobot Mar 28, 2015
17a1d51
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
pandamicro Mar 29, 2015
af97c46
Merge pull request #1623 from CocosRobot/update_js_bindings_1427549672
pandamicro Mar 29, 2015
67a4cff
deleted old project files
stammen Mar 29, 2015
0148efa
updated to cocos2d-x v3.5
stammen Mar 29, 2015
93cdb3a
updated to cocos2d-x v3.5
stammen Mar 29, 2015
2e7d56f
Merge branch 'develop' into winrt
stammen Mar 29, 2015
4af6d73
removed solution files
stammen Mar 29, 2015
2ab06ac
updated projects to use cocos2d-x v3.5
stammen Mar 29, 2015
712feb5
Merge pull request #1624 from MSOpenTech/winrt
pandamicro Mar 30, 2015
3df2dad
add cc.sys.openURL
Mar 30, 2015
96f4c12
Merge pull request #1626 from joshuastray/url
pandamicro Mar 30, 2015
2b7813f
updated ignore warnings properties
stammen Mar 30, 2015
bd01672
diasbled LTCG for release builds
stammen Mar 30, 2015
63fb4c3
Remove 1.6 actionTimeLine tests
VisualSJ Mar 30, 2015
9042000
Merge pull request #1627 from VisualSJ/develop-3.4final
pandamicro Mar 30, 2015
ce8f1d2
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
pandamicro Mar 30, 2015
a8beb8f
Fix relocation overflow
pandamicro Mar 30, 2015
ffe7e00
Update engine version and submodule
pandamicro Mar 30, 2015
6383714
Merge branch 'wp8-fix' of github.com:MSOpenTech/cocos2d-js into wp8-fix
stammen Mar 30, 2015
9eb683b
updated WP8 SpiderMonkey DLLs to pass Windows App Certification tests
stammen Mar 30, 2015
9e7fa74
use SHOW_ALL resolution policy for WP8 and WINRT
stammen Mar 30, 2015
a161acd
deleted .user file
stammen Mar 31, 2015
a3a72c6
added new universal app files to fix home button crash
stammen Mar 31, 2015
d6d5d4d
added new universal app files to fix home button crash
stammen Mar 31, 2015
3f3d72c
added new universal app files to fix home button crash
stammen Mar 31, 2015
cc7ca26
Merge pull request #1630 from MSOpenTech/wp8-fix
pandamicro Mar 31, 2015
d8fb242
Merge branches 'develop' and 'develop' of https://github.com/cocos2d/…
pandamicro Mar 31, 2015
0b3f468
Add scheduler tests
VisualSJ Mar 31, 2015
42cea73
Add scheduler tests
VisualSJ Mar 31, 2015
f97e752
Merge pull request #1631 from VisualSJ/develop-3.4final
dingpinglv Mar 31, 2015
ca4fb40
Fix runtime bindings issue
pandamicro Mar 31, 2015
e2e1298
Merge branches 'develop' and 'develop' of https://github.com/cocos2d/…
pandamicro Mar 31, 2015
3e35188
make camera.unproject accept one argument
Mar 31, 2015
08d5b98
Merge pull request #1632 from pandamicro/develop
pandamicro Mar 31, 2015
5820cd1
fix winrt chinese label test
Mar 31, 2015
236f309
remove unwanted code
Mar 31, 2015
de4fb85
Update runtime
pandamicro Mar 31, 2015
7147391
Remove Framework search path in js-tests iOS proj to avoid potential …
pandamicro Mar 31, 2015
a95612b
Merge pull request #1633 from joshuastray/unproject
pandamicro Mar 31, 2015
06d3e26
Merge pull request #1634 from joshuastray/winrtfont
pandamicro Mar 31, 2015
d28f5fa
Update Engine version
pandamicro Mar 31, 2015
7252910
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
pandamicro Mar 31, 2015
a474d6a
Merge pull request #1635 from pandamicro/develop
pandamicro Mar 31, 2015
3732bc2
added back button support. Check if rendering thread has been cancelled
stammen Mar 31, 2015
cf54fde
Merge pull request #1636 from MSOpenTech/winrt-fix
pandamicro Apr 1, 2015
2fc54d0
change moveTo to moveBy
Apr 1, 2015
18e197b
Merge pull request #1637 from joshuastray/move
pandamicro Apr 1, 2015
4c195e5
[Cocos2d-JS v3.5] Added docs
pandamicro Apr 1, 2015
1dbc700
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-js into …
pandamicro Apr 1, 2015
21f6df6
Update h5 engine
pandamicro Apr 1, 2015
0300f81
Merge pull request #1638 from pandamicro/develop
pandamicro Apr 1, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Thumbs.db
*.pdb
*.aps
*.vcproj.*.user
*.vcxproj.user
*.vspscc
*_i.c
*.i
Expand All @@ -32,6 +33,11 @@ _ReSharper*/
[Tt]est[Rr]esult*
ipch/
*.opensdf
Generated Files
AppPackages

# Ignore zip file created by download-deps.py if saved by user
*-deps-*.zip

# Ignore files build by ndk and eclipse
libs/
Expand Down Expand Up @@ -104,3 +110,5 @@ frameworks/js-bindings/bindings/proj.ios_mac/build/

# Ignore files copied in compilation
samples/*/project/proj.android/src

*.jsc
18 changes: 18 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Name GithubID Main contribution
seobyeongky @seobyeongky XMLHTTPRequest bug fixes
GLProgram_setUniformLocationWith4f bug fixed
Corrent value of cc.REPEAT_FOREVER
Improved JavaScriptObjCBridge's import order
Added some useful callbacks to XMLHttpRequest

Liang Wu @akira-cn No default font Arial on android bug fix

Expand Down Expand Up @@ -59,17 +61,33 @@ Minh Quy @MQuy Fix url matching regex issue

Park Hyun Chen @sincntx Fix cc.ScrollView constructor issue in JSB
Added cc.rectOverlapsRect function in JSB
Fix issue that string value with line break character will cause cc.plistParser fail to parse

Vincent Chou @go3k Update README.md, add submodule update command suggestion
Fix bug: Runtime.cpp protobuf object parseFromString may result in an incomplete protobuf object
Fix bug: PrebuiltRuntime ios version can't support portrait orientation.

Igor Mats @IgorMats Added outline shader sample
Add SkeletonAnimation and GLProgram to the list of extendable classes

G17hao @G17hao Fixed an typo issue in jsb_boot.js

Simon de Lang @simondel Fixed use of deprecated cc, ccs and ccui create functions.

Craig P Jolicoeur @cpjolicoeur Fix typos in setup.py

Dale Stammen @Stammen Add Windows Phone 8 support
Add Windows Universal app support

Jeff Oh @redsim Fixed http response header parsing bug

Thomas Jablonski @thomas-jablonski
Add cocos attr to the script element in templates

James Chen @dumganhar Support to set custom scheduler & actionmanager for node

小马哥 @andot Patch xhr.send for ArrayBuffer & ArrayBufferView.

Cocos2d-JS can not grow so fast without the active community.
Thanks to all developers who report & trace bugs, discuss the engine usage in forum & QQ groups!
Special thanks to Ricardo Quesada for giving us lots of guidances & suggestions.
225 changes: 225 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,230 @@
ChangeLog:

Cocos2d-JS v3.5 @ April 1 2015

* Supported Windows Universal application publish which includes Windows, Windows RT, Windows Phone 8.1 platforms.
* Updated Cocos2d-x v3.5.
* Upgraded Cocos Studio parser to support Cocos Studio v2.2.
* Supported Cocos Studio 3D scene editing.
* Upgraded runtime tempalte to support Cocos Code IDE 1.2.0.
* Upgraded Spine support to v2.1, added spine test case with FFD. FFD is supported in native but not in web, both engine can parse the new version file correctly, but the web engine will ignore FFD informations.
* Replaced '==' with '===' for better performance.
* Added `path` parameter in `ccs.load` to support modifying cocostudio project resource path.
* Added animationList to Cocostudio ActionTimeline to support playing animation by name.
* Made ParticleSystem support creation from an map object.
* Added missing functions to `cc.Grid3D` and `cc.PageTurn3D`.
* Added tip message functions to `cc.TextFieldTTF` for mobile browser.
* Added a function `cc.sys.openURL`.
* Disabled retina display by default for better performance.
* Added Bower support.
* Updated `cc.sys.OS_XXX` informations for supported systems.
* [JSB] Moved 3D modules to `jsb` namespace.
* [JSB] Bound `ParticleSystem3D` and `PUParticleSystem3D` which support Particle Universe editor.
* [JSB] Improved bindings registration code.
* [JSB] Supported setting custom scheduler or action manager for node.
* [JSB] Added `enableStroke`, `setBoundingWidth`, `setBoundingHeight` to `cc.Label` to fit web engine API.
* [JSB] Supported ArrayBuffer and ArrayBufferView in `XMLHTTPRequest`'s `send` function.
* [JSB] Made remote image loading fully asynchonous.
* [JSB] Made `cc.Camera`'s `unproject` function support one argument.

* Bug fixes:
1. Fixed a bug of chipmunk.js that it doesn't work under closure compiler advanced mode.
2. Fixed a bug of Cocos Studio parser that widget didn't set its layout component.
3. Fixed grammatical mistakes in cocostudio parser logs.
4. Fixed memory leak issue in `cc.LabelBMFont`.
5. Fixed a bug of `cc.Scale9Sprite` that its `updateDisplayColor` doesn't take effect.
6. Fixed a bug of Cocos Studio parser that `cc.Scale9Sprite` doesn't display correctly if its texture isn't preloaded.
7. Fixed a bug of `cc.MenuItemSprite` that the construction will fail when parameter `selectedSprite` is a Scale9Sprite instance.
8. Fixed a bug of Cocos Studio parser that the background color of `ccui.Layout` can't be parsed correctly.
9. Fixed a bug of `cc.ClippingNode` that it doesn't work when set `inverted` to true in Canvas Mode.
10. Fixed a bug of `ccs.Armature` that its name was modified to animation name when loading from json files.
11. Fixed a bug of `ccui.PageView` that it cancel child touch during movment of page view.
12. Fixed a bug of `cc.Scheduler` that its parameter `repeat` is invalid in schedule function.
13. Fixed a bug of `cc.Scheduler` that `unschedule` function may fail.
14. [JSB] Fixed a crash issue that `ccui.Checkbox` will crash due to conflict usage of `setUserObject`.
15. [JSB] Fixed an issue that `cc.Node`'s `init` function is empty implemented and can't be overrided.
16. [JSB] Fixed `cc.ClippingNode`'s `init` function issue that it didn't support arguments.
17. [JSB] Fixed an issue that TTF Cocos Studio parser can not correctly set TTF font for widgets.
18. [JSB] Fixed relocation overflow compilation issue by adding `LOCAL_ARM_MODE := arm`.

Cocos2d-JS v3.4 Beta0 @ March 19 2015

* Added Windows Phone 8.0 platform support.
* Upgraded SpiderMonkey to v33, greatly improved JS object garbage collection and performance.
* Bound 3D modules including camera, light, sprite 3d, animation 3d, billboard, etc.
* Improved `cc.FontDefinition` & `ccui.RichText` in the web engine.
* Added gradient stops feature to `cc.LayerGradient` [Web exclusive].
* Upgraded `cc.Scheduler` in the web engine with Cocos2d-x v3.4 implementation.
* Added a loading screen when scripts are loading.
* Improved performance by replacing `Object.defineProperties` with `cc.defineGetterSetter`.
* Supported loading sprite frames from json object.
* Refactored math library to improve web engine performance.
* Removed some variables from `cc` namespace to improve web engine performance.
* Added the Firefox OS Web manifest to support Firefox OS apps.
* Added `cocos` attr to the script element in templates.
* Moved loading.js to res folder for Cocos Console release mode.
* [JSB] Defined properties for TextureData.
* [JSB] Upgrade auto and manual bindings to SpiderMonkey v33.
* [JSB] Added 3D object conversions.
* [JSB] Added full featured 3D test cases including: camera, light, sprite 3d, animation 3d, billboard, effect.
* [JSB] Improved auto and manual bindings rooting code for creating objects.
* [JSB] Added 3d transform getter functions to `cc.Node`.
* [JSB] Added some useful callbacks to XMLHttpRequest.

* Bug fixes:
1. Added `getSpriteFrame` to `cc.Sprite` to fix API inconsistency.
2. Added `getObejct` to `cc.TMXObjectGroup` to fix API inconsistency.
3. Added `addImageAsync` to `cc.textureCache` to fix API inconsistency.
4. Fixed a bug of `cc.text` that its default font name is incorrect.
5. Fixed a bug of `ccui.PageView` that its `getPage` doesn't work.
6. Fixed a bug of `ccui.ImageView` that its `loadTexture` doesn't work while it's invoked multiple times at the same frame.
7. Fixed a bug of `ccui` that its load event callbacks have some mistakes.
8. Fixed a bug of `cc.Layer` that its bake function doesn't work when the layer has a parent node.
9. Fixed typos in `cc.ClippingNode.WebGLRenderCmd` and `cc.ParticleSystem.WebGLRenderCmd` creation.
10. Fixed a bug of `cc.Sprite` in `setTextureRect`.
11. Fixed a bug of `cc.Screen`.
12. Fixed a bug of `cc.view` that it doesn't work on iOS 8.1.2.
13. Fixed a bug of cc.DrawNode that its lineWidth is always to default value when set linewidth to zero.
14. Fixed a bug in hack for particles performance on canvas.
15. Fixed a bug of `cc.audioEngine` that it doesn't work after minified/compiled.
16. Fixed a bug in `CCBoot.js` that WebGL is not activated in web view of iOS 8.
17. Fixed a bug of `cc.CheckBox` that its position is incorrect when its texture isn't preloaded.
18. Fixed a bug of `cc.TMXLayer` that it stops to work after `setTileGID` called.
19. Fixed a bug of Cocos parser 2.x that it doesn't set widget's LayoutComponent.
20. Fixed a bug of `cc.isObject` that it considered function as an object.
21. [JSB] Fixed runScript error on win32 platform.
22. [JSB] Fixed issues of generated binding codes for spine and ccs.
23. [JSB] Fixed char16_t redefinition issue for wp8.
24. [JSB] Fixed an issue that string value with line break characters will cause cc.plistParser fail to parse.
25. [JSB] Refactored `cc.textureCache.addImageAsync` to support fully asynchronoused remote image loading.
26. [JSB] Fixed an issue of `GLProgramState::setVertexAttribPointer` function binding.
27. [JSB] Fixed a bug in `GLProgram`'s constructor.
28. [JSB] Fixed http response header parsing issue.
29. [JSB] Fixed jsc file check issue on windows.
30. [JSB] Fixed `jsval_to_long_long` conversion issue.
31. [JSB] Fixed `strtoll` undefined error in visual studio.
32. [JSB] Fixed an issue that `cc.MenuItem`'s `setCallback` function invoked with wrong this object.
33. [JSB] Fixed parameter issue for constructor of `cc.MenuItemImage`.
34. [JSB] Fixed `ccs.Armature`'s `setBlendFunc` parameter inconsistency issue.
35. [JSB] Fixed `JSStringWrapper` issue on windows platform.
36. [JSB] Fixed a chinese character issue on WP8.
37. [JSB] Fixed new object failed issue on windows.
38. [JSB] Fixed an issue that `cc.Label.createWithTTF` is undefined.
39. [JSB] Fixed audio loader absent issue.
40. [JSB] Fixed a test case issue of native feature usage.


Cocos2d-JS v3.3 @ Feb.9, 2015

* Upgraded spine runtime to support the latest version and updated its test case.
* Added an option "noCache" for debugging on browsers.
* Set the default value of `cc.ParticleSystem`'s draw mode to texture mode.
* Added message to `ccs.load` when loading armature json file.
* Improved particle system test case.
* [JSB] Bound `cc.Image` and `cc.GLProgram`.
* [JSB] Supported extending `sp.SkeletonAnimation`.

* Bug fixes:
1. Fixed a bug of `cc.Sprite` that its `setSpriteFrame` doesn't work when sprite frame's `rotated` property is true.
2. Fixed a bug of `cc.ClippingNode` when its stencil is `cc.Node` object in canvas mode.
3. Fixed a ccui bug that the position of widgets is incorrect after loaded v2.x json file with `ccs.load`.
4. Fixed a bug of `cc.PhysicsSprite` that `setIgnoreBodyRotation` function doesn't work.
5. Fixed a bug of `ccui.Button` that setting pressed texture doesn't work when scale9 enabled.
6. Fixed a bug of `ccui.ScrollView` that its `dir` property is null when passing `DIR_NONE` as `direction` in `_endRecordSlidAction` function.
7. [JSB] Fixed spine animation listener binding issues.
8. [JSB] Fixed `cc.MenuItemToggle`'s `setCallback` issue.

Cocos2d-JS v3.3 RC0 @ Feb.1, 2015

* Added web exclusive functions: `_getFontStyle`, `_setFontStyle`, `_getFontWeight` and `_setFontWeight` APIs to `cc.LabelTTF`.
* Observed orientation change event on mobile for resolution policy adaptation.
* [JSB] Added bindings for `ccs.TextureData` and `ccs.ContourData`.

* Bug fixes:
1. Fixed Cocos Studio JSON parser's issues for parsing nested animation.
2. Fixed Cocos Studio JSON parser's parameters parsing issues.
3. Fixed Cocos Studio JSON parser's issue for parsing layer.
4. Fixed Cocos Studio JSON action parser's issues.
5. Fixed Cocos Studio JSON parser's issue for parsing Scale9Sprite.
6. Fixed Cocos Studio JSON parser's issues caused by parsing process order.
7. Fixed Cocos Studio JSON parser's issue for parsing loading bar's direction.
8. Fixed UI layout system issues.
9. Fixed `cc.EditBox`'s position issue under certain resolution policies.
10. Fixed `ccui.ListView`'s issue for setting direction.
11. Fixed an issue of `cc.Tween` that its `_currentPercent` is incorrect in `updateHandler` function.
12. Fixed an issue of `ccui.Button` that its state is incorrect in `_onPressStateChangedToNormal`.
13. Fixed an issue of `cc.ArmatureAnimation`'s `setMovementEventCallFunc`.
14. Fixed an issue of `cc.Sequence` action when it's repeated.
15. Fixed `_anchorPointInPoints` usage issue.
16. Fixed an issue of `cc.GLProgram` that it doesn't work on some devices which didn't support highp float precision.
17. Fixed an issue of fade actions that they don't work when duration is 0.
18. Fixed `onended` callback issue of audio engine on iOS.
19. Fixed Cocos Builder's parser issue for auto playing animations.
20. Added a message to `ccs.Armature` that it doesn't support adding widget as its child.
21. Improved test cases for stability.
22. [JSB]Fixed `setBackGroundColorVector` parameter issue.
23. [JSB]Fixed `animationInfo` manual conversion issue.
24. [JSB]Added `ccs.AnimationInfo` struct.
25. [JSB]Improved JavaScriptObjCBridge's import order.
26. [JSB]Fixed `cc.SpriteBatchNode.DEFAULT_CAPACITY` inconsistency issue.
27. [JSB]Fixed `cc.MenuItemImage`'s children class's callback issue.
28. [JSB]Enhanced `executeJSFunctionFromReservedSpot` function.
29. [JSB]Fixed `cc.LabelTTF`'s `setDimensions` API inconsistency issue.

Cocos2d-JS v3.3 Beta @ Jan.24, 2015

* Added Cocos Studio v2.x parser and refactored 1.x parser.
* Upgraded new flow layout UI system in web engine.
* Refactored `load` events of texture2d, sprite and so on to be more intuitive.
* Added JavaScript file loader.
* Allowed set texture to null in `cc.Sprite`.
* Added full test cases for Cocos Studio v2.x parser and the new flow layout UI system.
* Upgraded MoonWarriors sample's UI and graphic design.
* [JSB] Upgraded Cocos2d-x to v3.4 RC1.
* [JSB] Unified keycode between web engine and native engine to web standard values.
* [JSB] Added animation info's manual conversion for bindings.
* [JSB] Made local IP address url pass the url check of `cc.loader.loadImg` function.
* [JSB] Bound `ccs.AlphaFrame` for Cocos Studio animations.
* [JSB] Moved manual conversions of chipmunk to its own manual bindings file for better module support.

* Bug fixes:
1. Fixed a bug of Cocos2d UI, their focus event has been supported.
2. Fixed a buf of `ccui.Widget` that its percent position doesn't work.
3. Fixed a bug of `ccs.Armature` that its position doesn't update in visit on WebGL render mode.
4. Fixed a bug of `cc.Sprite` that its `setTextureRect` function doesn't work when `setColor` invoked.
5. Fixed a bug of `cc.PhysicsSprite` that its position is incorrect.
6. Fixed a bug of `ccs.Bone` that its `setOpacity` and `setColor` doesn't work.
7. Fixed a bug of `cc.LabelBMFont` that its word wrap doesn't work.
8. Fixed a bug of `cc.sys` that it gets the incorrect OS type when system is Linux.
9. Fixed a bug of `cc.audioEngine` that its loading path is incorrect.
10. Fixed a bug of `ccui.Widget` that it can't touch when it's reused.
11. Fixed a bug of UI system that the `setNormalizedPosition` doesn't work.
12. Fixed a bug of `cc.ActionInterval` that its `_times` conflict with `cc.Blink`.
13. Fixed release texture issue in canvas mode.
14. Fixed a bug of `ccs.actionManager` that its `getActionByName` doesn't work.
15. Fixed a bug of `cc.Sprite` that it can't draw without texture on WebGL mode.
16. Fixed a bug of `cc.audioEngine` that it doesn't work on baidu browser.
17. Fixed a bug of `cc.EditBox` that its position is incorrect on Canvas Mode and its string value is wrong when PlaceHolder is showing.
18. Fixed a bug of `cc.loader` that its `loadImg` function doesn't work when image is accessed cross origin.
19. Fixed a bug of `ccui.TextField` that its `contentSize` is incorrect in text field event.
20. [JSB] Fixed restart game feature issue that action manager is not rescheduled after restarting game.
21. [JSB] Fixed `jsb.AssetsManager`'s issue that manifest files progression is inversed.
22. [JSB] Fixed `jsb.AssetsManager`'s issue that asset id isn't dispatched with progression event.
23. [JSB] Fixed `Vec3` conversion issue.
24. [JSB] Added missed `cc.AnimationFrame`'s `_ctor` function.
25. [JSB] Added `cc.MenuItemToggle`'s `selectedItem` function to fix API inconsistence.
26. [JSB] Fixed `LayoutParameter`'s `setMargin` function's API inconsistence with web engine.
27. [JSB] Fixed `ccui.Button`'s constructor issue.
28. [JSB] Fixed `ccui.Button`'s `setNormalizedPosition` function's API inconsistence with web engine.
29. [JSB] Fixed `ccui.CheckBox`'s intialization issue.
30. [JSB] Fixed `ccui.ImageView`'s constructor issue.
31. [JSB] Fixed JSON parse issue in `XMLHTTPRequest`.
32. [JSB] Fixed a wired compilation issue which reports `JSVAL_TO_IMPL` is not a function on win32.
33. [JSB] Fixed image view test's implementation bug.
34. [JSB] Fixed an UI button test's implementation bug.
35. [JSB] Fixed list view test case's bug.
36. [JSB] Fixed issues of `ccui.TextField`'s test cases.

Cocos2d-JS v3.2 @ Dec.29, 2014

* Replaced `transform` function with `setTransform` function under canvas render mode for better performance.
Expand Down
30 changes: 9 additions & 21 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -233,28 +233,16 @@ cocos_find_package(TIFF TIFF REQUIRED)
cocos_find_package(WEBSOCKETS WEBSOCKETS REQUIRED)
cocos_find_package(CURL CURL REQUIRED)

# protobuf-lite (not prebuilded, exists as source)
# TODO: for now we can't use upstream protobuf because these files:
# cocos/editor-support/cocostudio/CSParseBinary.pb.h
# cocos/editor-support/cocostudio/CSParseBinary.pb.cc
# was generated by concrete version of protobuf compiler
# and source file not provided. So these files can be
# compiled only with our in-source version of protobuf-lite
## if(USE_PREBUILT_LIBS)
add_subdirectory(frameworks/js-bindings/cocos2d-x/external/protobuf-lite)
set(PROTOBUF_LITE_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/frameworks/js-bindings/cocos2d-x/external/protobuf-lite/src)
set(PROTOBUF_LITE_LIBRARIES protobuf)
## else()
## cocos_find_package(Protobuf REQUIRED PROTOBUF_LITE_LIBRARIES)
## set(PROTOBUF_LITE_INCLUDE_DIRS ${PROTOBUF_INCLUDE_DIRS})
## endif()
message(STATUS "Protobuf lite libs: ${PROTOBUF_LITE_LIBRARIES}")
message(STATUS "Protobuf include dirs: ${PROTOBUF_LITE_INCLUDE_DIRS}")

# build for 3rd party libraries
if(LINUX OR APPLE)

add_subdirectory(frameworks/js-bindings/cocos2d-x/external/flatbuffers)
set(FLATBUFFERS_INCLUDE_DIRS frameworks/js-bindings/cocos2d-x/external)
message(STATUS "Flatbuffers include dirs: ${FLATBUFFERS_INCLUDE_DIRS}")


# build xxhash
add_subdirectory(frameworks/js-bindings/cocos2d-x/external/xxhash)
endif()
include_directories(frameworks/js-bindings/cocos2d-x/external/xxhash)


# cocos2d library
add_subdirectory(frameworks/js-bindings/cocos2d-x/cocos)
Expand Down
Loading