Skip to content

Commit f7136ed

Browse files
Merge pull request cocos2d#12 from cocos2d/develop
update coco2d-x
2 parents 21d4324 + dc0b38c commit f7136ed

File tree

4,733 files changed

+111738
-464696
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,733 files changed

+111738
-464696
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ build_*_vc10/
6060
*.mode*v*
6161
*.pbxuser
6262
*.xcbkptlist
63-
*.xcscheme
6463
*.xcworkspacedata
6564
*.xcuserstate
6665
*.xccheckout
@@ -105,3 +104,8 @@ tags
105104
/lib
106105
/build/linux-build
107106

107+
# Cmake files
108+
CMakeCache.txt
109+
CMakeFiles
110+
Makefile
111+
cmake_install.cmake

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
[submodule "cocos/scripting/auto-generated"]
55
path = cocos/scripting/auto-generated
66
url = git://github.com/cocos2d-x/bindings-auto-generated.git
7-
[submodule "samples/Javascript/Shared"]
8-
path = samples/Javascript/Shared
9-
url = git://github.com/cocos2d/cocos2d-js-tests.git
107
[submodule "tools/cocos2d-console"]
118
path = tools/cocos2d-console
129
url = git://github.com/cocos2d/cocos2d-console.git
1310
[submodule "plugin"]
1411
path = plugin
1512
url = https://github.com/cocos2d-x/plugin-x.git
13+
[submodule "tests/test-javascript/tests"]
14+
path = tests/test-javascript/tests
15+
url = git://github.com/cocos2d/cocos2d-js-tests.git

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
language: cpp
22
env:
33
matrix:
4-
- GEN_JSB=YES
5-
- PLATFORM=linux DEBUG=1
4+
- GEN_COCOS_FILES=YES
5+
- PLATFORM=linux DEBUG=1 CC_COMPILER=gcc CXX_COMPILER=g++
6+
- PLATFORM=linux DEBUG=1 CC_COMPILER=clang CXX_COMPILER=clang++
67
# Since switching to C++11 only the ARM version of the nactive client
78
# port currently builds. TODO(sbc): Re-enable all architectures.
89
# Disabled travis-ci build for native client port since it doesn't support std::thread, std::mutex.
@@ -23,6 +24,8 @@ env:
2324
9lV+vgJQDRcFe7dKwtC86vk10EU7Ym2bhVmhMxi/AlmJXgavjmPVdizRT7rh
2425
X2Ry/Nb6hGRkH3WS0T3D/KG1+e7lP/TMB9bvo6/locLJ2A6Z1YI=
2526
script:
27+
- export CC=$CC_COMPILER
28+
- export CXX=$CXX_COMPILER
2629
- tools/travis-scripts/run-script.sh
2730
before_install:
2831
- tools/travis-scripts/before-install.sh

AUTHORS

Lines changed: 79 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ Developers:
9494
use tinyxml2 to replace libxml2
9595
Added Mingw-crt Support without breaking VS SDK
9696
CMake support for windows.
97+
Added support for x64 target of windows.
98+
Added Dutch Language support.
99+
Added clang support for Windows.
97100

98101
mchinen
99102
fix emulator issue for OpenGL ES 2.0 on Android
@@ -356,6 +359,7 @@ Developers:
356359

357360
ThePickleMan
358361
Adding 'rotationIsDir' property to ParticleSystem.
362+
DrawNode supports to draw triangle, quad bezier, cubic bezier.
359363

360364
Jianghua (jxhgzs)
361365
Adding an additional transform for CCNode.
@@ -402,6 +406,7 @@ Developers:
402406
Zecken (gelldur)
403407
Fixing a profiling compilation error in CCParticleBatchNode.
404408
Fixing linking errors for TestCPP with libcurl on linux.
409+
Fixing a bug that crash was triggered if there is not `textureFileName`section in particle plist file.
405410

406411
flamingo (flaming0)
407412
Null pointer check in order to prevent crashes.
@@ -428,9 +433,12 @@ Developers:
428433
Use of a single emscripten HTML template file.
429434
Added some guards in fileutils. Fixed a bug in emscripten file utils.
430435
Added emscripten keyboard support
431-
Clang support for Linux
436+
Clang support for Linux.
432437
Multiple emscripten template support. Emscripten multiple resolutions support.
433-
Toplevel Makefile refactoring
438+
Toplevel Makefile refactoring.
439+
Ignored files generated by cmake.
440+
Added GLFW include path for Fedora.
441+
Linux javascript bindings support.
434442

435443
elmiro
436444
Correction of passed buffer size to readlink and verification of result return by readlink.
@@ -507,6 +515,8 @@ Developers:
507515

508516
Lee, Jae-Hong (pyrasis)
509517
Maintainer of tizen port.
518+
localStorageGetItem crashes when column text is NULL.
519+
fix image bug on Android
510520

511521
lumendes
512522
Updating spine-runtime to EsotericSoftware/spine-runtimes@5f90386.
@@ -518,6 +528,7 @@ Developers:
518528
Correcting the type detecting order for Lua CCBProxy::getNodeTypeName.
519529
Casting variables to their own type, and print warning info if no corresponding lua callback function instead of crash.
520530
fix of WebSocket url parse error for 'ws://domain.com/websocket' pattern.
531+
Fixed a bug that Websocket doesn't support send/receive data which larger than 4096 bytes.
521532

522533
musikov
523534
Fixing a bug that missing precision when getting strokeColor and fontFillColor
@@ -599,9 +610,11 @@ Developers:
599610
Makes Colors are now comparable and explicit convertible
600611

601612
bmanGH
602-
Use gl caching functions in TexturePVR::createGLTexture()
613+
Used gl caching functions in TexturePVR::createGLTexture()
603614
Configuration of VAO in runtime
604-
Add setUniformLocationWithMatrix2fv, setUniformLocationWithMatrix3fv mothed into GLProgram class
615+
Added setUniformLocationWithMatrix2fv, setUniformLocationWithMatrix3fv mothed into GLProgram class
616+
Fixed a bug that object which isn't in Vector would also be released when invoking Vector::eraseObject.
617+
Fixed a bug that Timer::cancel always call Director::getInstance()->getScheduler() even in another Scheduler.
605618

606619
metadao
607620
make create_project.py more pythonic and fix some typoes
@@ -635,7 +648,8 @@ Developers:
635648
Fixed a bug that CCBReader can't play sequence automatically in JSB.
636649
Could not set next animation in CCBAnimationCompleted callback.
637650
Fixed missing to add JSAutoCompartment when invoking JS functions from C++.
638-
CCBReader: To set anchor point to 0,0 when created by loader
651+
CCBReader: To set anchor point to 0,0 when created by loader.
652+
Potential crash when websocket connection closes.
639653

640654
lite3
641655
Fixed a bug that Node's anchor point was changed after being added to ScrollView.
@@ -656,6 +670,7 @@ Developers:
656670

657671
xhcnb
658672
Device::setAccelerometerEnabled needs to be invoked before adding ACC listener.
673+
Fixed a bug that it will get wrong custom properties when use different count custom properties in CocosBuilder.
659674

660675
bopohaa
661676
Fixed a bug that Webp test crashes.
@@ -669,6 +684,8 @@ Developers:
669684
zhiqiangxu
670685
Fixed a logic error in ControlUtils::RectUnion.
671686
Fixed an issue that there is an useless conversion in ScrollView::onTouchBegan.
687+
Deleted several lines of useless code in ScrollView::deaccelerateScrolling.
688+
Fixed that ScrollView should implement ActionTweenDelegate.
672689

673690
yinkaile (2youyouo2)
674691
Maintainer of Armature Bone Animation.
@@ -703,6 +720,63 @@ Developers:
703720
daltomi
704721
Fixed a typo in Director class.
705722
Removed an unnecessary boolean flag in CCFontAtlasCache.cpp.
723+
Used 'cbegin/cend', 'const std::string' where it's reasonable.
724+
725+
v1ctor
726+
ControlSlider supports to set selected thumb sprite.
727+
ControlButton supports to set scale ratio of touchdown state
728+
729+
akof1314
730+
TestCpp works by using CMake and mingw on Windows.
731+
732+
Pisces000221
733+
Corrected a few mistakes in the README file of project-creator.
734+
Corrected a mistake in README.
735+
Fixed a bug that a string which only contains CJK characters can't make a line-break when it's needed.
736+
737+
hbbalfred
738+
Fixed a bug that crash if file doesn't exist when using FileUtils::getStringFromFile.
739+
Fixed a bug that cc.BuilderReader.load( path, null, parentSize ); was not allowed.
740+
741+
liang8305
742+
Use multiple processes according the number of cores to build android project
743+
744+
pandamicro
745+
Exposed SAXParser to JS, it is used for parsing XML in JS.
746+
747+
hanjukim
748+
Fixed a bug that color and opacity settings were not applied when invoking Label::alignText.
749+
750+
bagobor
751+
Fixed a memory leak in AssetsManager::uncompress.
752+
Code format fix and small optimizations in cocostudio/CCActionNode.cpp.
753+
754+
ucchen
755+
Exposed the missing data structures of Spine to JS.
756+
757+
justmao945
758+
Corrected the definition of CMake variables.
759+
760+
maksqwe
761+
Fixed string size check in BitmapDC::utf8ToUtf16 on win32 and assert condition in TriggerMng.
762+
763+
wefiends
764+
s3tc compressed textures with no mipmaps fail to be loaded.
765+
766+
floatinghotpot
767+
Fixed a bug that no callback is invoked when websocket connection fails
768+
769+
Linghui
770+
Updated README of template: fix wrong platform java path.
771+
772+
seemk
773+
Fixed crash if invoking Director::end() on WINDOWS.
774+
775+
odedsh
776+
Fixed a bug that loading custom fonts from ttf file fails on windows.
777+
778+
Wilhansen
779+
Fixed a bug that spine::Skeleton would not be updated after re-adding to scene.
706780

707781
Retired Core Developers:
708782
WenSheng Yang

0 commit comments

Comments
 (0)