-
Notifications
You must be signed in to change notification settings - Fork 487
/
CHANGELOG
912 lines (850 loc) · 61.3 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
ChangeLog:
Cocos2d-JS v3.6.1 (hotfix) @ May 13 2015
* Bug fixes:
1. [JSB] Fixed an issue of jsc compiler that the generated jsc file contains sources code.
2. [JSB] Fixed jsb remote debugger issue that it doesn't support runtime template on windows platform.
3. [JSB] Added `cc.sys.localStorage.clear` function.
4. [JSB] Fixed crash issues of `sp.BoneData` and `sp.Bone`'s conversion function.
5. [JSB] Fixed an issue of `cc.Scale9Sprite` that its `init` function can't be overloaded.
6. [JSB] Fixed mistakes in `cc.EventMouse`'s constant values.
Cocos2d-JS v3.6 @ April 29 2015
* Added GAF web runtime to the web engine, the native support will be merged in future version.
* Synchronised Cocos2d-x v3.6.
* [JSB] Added `ccs.FrameEaseType` in JSB.
* [JSB] Added SpiderMonkey remote debugger support in default template.
* Bug fixes:
1. Fixed a bug of Cocos Studio parser that it doesn't parse correctly the outline of text widget and button widget.
2. Fixed a bug of Cocos Studio parser that it doesn't support inner action correctly.
3. Fixed a bug of Cocos Studio parser that `ccui.Text`'s content size is set incorrectly.
4. Fixed a bug of Cocos Studio parser that `ccui.Layout`'s background color is set incorrectly.
5. Fixed a bug of `cc.Node`'s `removeAllChildren` that it doesn't notify the renderer to update.
6. Fixed a bug of audio system that the resume of music may start from the beginning.
7. Fixed a bug that sprite's `setTexture` fails to update its content size.
8. Fixed a bug that Scale9Sprite's children doesn't get transformed recursively.
9. Fixed constant naming issue of `ccs.FrameEaseType`.
10. Fixed `cc.LoaderScene.preload` API inconsistency between web engine and native engine.
11. Fixed a bug that `ccui.Slider` doesn't act correctly when it's scaled.
12. Fixed a bug that `ccui.Button` renders incorrectly when scale9sprite option enabled.
13. Fixed circular invocation issue in `cc.Sprite`'s canvas render command.
14. [JSB] Fixed naming issue of `ccs.ActionTimeline.isAnimationInfoExists`.
15. [JSB] Fixed `clearInterval` issue by fixing scheduler APIs.
16. [JSB] Fixed `cc.DrawNode`'s `drawSegment` parameter issue by adding default value for line width.
Cocos2d-JS v3.6 Beta @ April 22 2015
* Upgraded Action Timeline and parser for the latest version of Cocos editor.
* Added `cc.sys.isObjectValid` to detect whether an object is still valid (in web and native engine).
* Added `enumerateChildren` function for `cc.Node`.
* Improved TMX transform to support RotationX and RotationY.
* Refactored Spine skeleton render command.
* Added checks to prevent issues when `cc.Node.WebGLRenderCmd` is not exist.
* Improved iOS browsers detection.
* Added getter setter function for `cc.MotionStreak`'s stroke property.
* Improved the detection of render mode.
* Make `cc.Scale9Sprite` support unpreloaded texture.
* [JSB] Added Skybox and its test case.
* [JSB] Added Terrain and its test case.
* [JSB] Reactivated Firefox remote debug functionality with SpiderMonkey v33.
* [JSB] Made `cc.Node`'s `setNormalizedPosition` function accept two parameter.
* [JSB] Synced `cc.Texture2D`'s pixel format constants with Cocos2d-x.
* [JSB] Added `cc.BlendFunc` and some predefined blend functions alias.
* [JSB] Upgraded `cc.Scheduler`'s API.
* [JSB] Added g/setEasingParams for `ccs.Frame`.
* [JSB] Added ccs.TweenType in JSB.
* [JSB] Removed Windows Phone 8 platform because it's deprecated in Angle support. (After discussed with Microsoft on the market share, we think it's reasonable to remove WP8 support. Developers can still deploy their games on Windows Phone 8.1 and universal platforms)
* Bug fixes:
1. Fixed a bug that `cc.Scheduler`'s `scheduleOnce` runs multiply times.
2. Fixed a bug of `cc.Scheduler`'s `pauseAllTargetsWithMinPriority`.
3. Fixed a bug of `cc.eventManager` that its event listeners' order is incorrect when some nodes haven't been added to the scene graph or have been removed from parent without cleanup.
4. Fixed a bug of `cc.LabelTTF` that `enableShadow` doesn't work.
5. Fixed a bug of `cc.LabelTTF` that `setColor` doesn't set shadow color under Canvas render mode.
6. Fixed a bug that stopped audios can be resume after invoking pause on them.
7. Fixed a bug that `ccui.LoadingBar`'s texture renders incorrectly without preload.
8. Fixed a bug that cocos builder's callback doesn't get invoked.
9. Fixed a bug that TMX objects' position is incorrect when content scale factor is modified.
10. Fixed a mistaken usage of `cc.isObject` in `cc.Sprite` implementation.
11. Fixed a bug that position type haven't been copied in `cc.ParticleSystem`'s `clone` function.
12. Fixed some undefined parameter check issues in `cc.Node`.
13. Fixed a bug that setter for `scaleY` of `cc.EditBox` is incorrect.
14. Fixed a bug of `cc.SkeletonAnimation` that its canvas render command doesn't work correctly.
15. Fixed a parsing issue for the width of `cc.LabelBMFont`.
16. Fixed `ccs.TweenType`'s constants naming issue.
17. Fixed a bug that the spine skeleton may be rendered under the unsupported mode.
18. Fixed a bug when setting `cc.ParticleSystem`'s blend function in the ActionTimeline parser.
19. Added check to prevent issues that functions may not exist in the ActionTimeline parser.
20. Fixed a typo of `ccs.displayFactory`.
21. Fixed a bug of `cc.Node.setPosition` that parameter check is incorrect.
22. [JSB] Fixed converToWorldSpace(AR) API inconsistency.
23. [JSB] Fixed warning of redefining macro.
24. [JSB] Fixed an issue of focus event dispatching that the widget dispatched will get deleted after the event.
25. [JSB] Fixed a bug that `cc.sys.localStorage` get empty string from null item.
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.
* Added a timer in `cc.audioEngine` to check audio element loading event, prevent the loading process being stucked when load audio file failed.
* Added some new browser types to `cc.sys`.
* Added some audio resource loading codes to ensure compatibility with Wechat browser.
* Added check for WebAudio support to ensure compatibility.
* [JSB]Upgraded Cocos2d-x to v3.3 Final.
* [JSB]Added `getSearchPaths` API to `jsb.Manifest` to support better script hot update.
* [JSB]Polished restart game feature.
* [JSB]Added a sample usage case for `jsb.AssetsManager`'s script hot update ability.
* [JSB]Skipped FlatBuffer related bindings.
* [JSB]Canceled modifications in Spine due to License restriction and removed new constructor for `sp.SkeletonAnimation`.
* Bug fixes:
1. Fixed an issue that `cc.InputManager` doesn't trigger touch event on chrome mobile emulator.
2. Fixed an issue that `cc.game.setFrameRate` doesn't work.
3. Fixed an issue that `cc.view` can't remove resize event listener.
4. Fixed an issue that `cc.EventManager` didn't set register flag to false when a listener is removed.
5. Fixed an issue that `cc.audioEngine` doesn't play some audios on some iOS devices.
6. Fixed an issue of ccui controls that their `setColor` doesn't work when cascade color is enabled.
7. Fixed an issue that `ccs.Armature`'s `setColor` doesn't work in canvas render mode.
8. Fixed an issue that `ccs.Armature` crashes when adding a child to it.
9. Fixed an issue that `cc.SpriteBatchNode`'s status is incorrect in WebGL render mode.
10. Fixed an issue of `cc.Layer` that its position is incorrect under bake mode.
11. Fixed an issue of `ccui.RichText` that its `setContentSize` doesn't work.
12. Fixed an issue of `cc.LabelTTF` that its `setColor` doesn't work when cascade color is enabled.
13. Fixed an issue of spine that its skeletons position is incorrect when scaleX equals to -1 and scaleY equals to 1.
14. Fixed `sp.Skeleton`'s API inconsistence by renaming `boundingBox` to `getBoundingBox`.
15. Removed all usages of deprecated create functions in the test cases.
16. [JSB]Fixed an issue of `ccui.ScrollView`'s `innerWidth` and `innerHeight` properties.
17. [JSB]Fixed an issue that setting `cc.Node`'s userData property will crash.
18. [JSB]Fixed API inconsistence by renaming `jsb.fileUtils`'s `getByteArrayFromFile` to `getDataFromFile`.
19. [JSB]Fixed a script file cache check issue in ScriptingCore.cpp.
20. [JSB]Fixed an issue of `ccs.Armature`'s constructore.
Cocos2d-JS v3.2 RC0 @ Dec.11, 2014
* Refactoration of web engine by separating the render logic, the arthictecture level refactoration is now completed and brounght great performance improvement.
* Refactoration of web engine's resolution adaptation and audio engine with polyfilled adaptation logics for different devices and browsers. This ensures better compatibility and better extensibility for future needs.
* Added `setRotation` method to `ccui.ImageView`.
* Added a function that fill sprite with repeated texture in Canvas mode.
* Added `setLineHeight` method to `cc.LabelTTF`.
* Added `dumpAudioInfo` to `cc.audioEngine` for debugging purpose on mobile browser.
* Removed Cocos Studio's Protobuffer support from the framework.
* Added an outline shader sample.
* [JSB] Supported modulization for JSB.
* [JSB] Added restart game feature.
* [JSB] Bound all missed chipmunk API in JSB and added test cases for new features, fix some potential memory leak issues.
* [JSB] Added `cc.sys.cleanScript` API to remove a script's cache.
* [JSB] Upgrade Cocos2d-x to v3.3 RC1.
* [JSB] Change default Android compiler to gcc.
* [JSB] Added manual bindings for `cc.Node#pause`.
* [JSB] Added missing constants and functions.
* Bug fixes:
1. Fixed an issue of `cc.Sprite` that its rendering is incorrect without texture.
2. Fixed an issue of `cc.ClippingNode` that its stencil drawing is incorrect on Canvas Mode.
3. Fixed an issue of `TextFieldReader` that it will throw an error when 'areaWidth' and 'areaHeight' equal to zero.
4. Fixed an issue of `ccui.CheckBox` that its getSelectedState doesn't return its state.
5. Fixed an issue of `cc.LabelTTF` that it doesn't update the string when its string become to empty string.
6. Fixed an issue of `cc.ParticleSystem` that it can't change its texture mode and shape type in Canvas mode.
7. Fixed an issue of `cc.Layer`'s bake function that its position is incorrect when cc.view's scale isn't 1.
8. Fixed an issue of `ccs.ArmatureAnimation`'s `setMovementEventCallFunc` and `setFrameEventCallFunc`.
9. Fixed an issue of `console.log` that it isn't a funtion on IE9.
10. Fixed an issue of `CSLoader` that it will add duplicate resources to sprite frame cache.
11. Fixed an issue of `cc.ProgressTimer` that its setColor is not taking effect.
12. Fixed an issue of `cc.loader` that it will throw an error when loading a remote texture.
13. Upgrade html5 version chipmunk to the latest release.
14. [JSB] Fixed an issue that the string return value can not be accessed in JavaScript to Objective-C reflection.
15. [JSB] Fixed potential memory leaks in JavaScriptJavaBridge.
16. [JSB] Fixed libcurl's relocation overflow linker issue in Android release mode.
17. [JSB] Fixed an issue of `ccui.CheckBox`'s _ctor function.
18. [JSB] Made `cc.MenuSpriteImage`'s set functions support sprite frame name as parameter.
19. [JSB] Made ccui's `addEventListener` functions support one argument.
20. [JSB] Made `ccs.ArmatureAnimation`'s `setFrameEventCallFunc` and `setMovementEventCallFunc` accepts one parameter.
21. [JSB] Made project.json's configs - `frameRate` and `debugMode` take effect in JSB.
Cocos2d-JS v3.1 @ Oct.22, 2014
* Released Facebook Integration for Cocos2d-JS v1.0, all APIs have been significantly polished and stabilized. Improved test cases for Facebook with more features demonstrated.
* Upgraded Cocos2d-x to v3.3 rc0
* Supported Cocos Studio v2.0 including Timeline animation support and proto buffers format support for both web engine and JSB engine.
* Refactored load event of texture, sprite frame and sprite for better maintainability.
* Refactored `cc.rendererCanvas` for improving performance.
* Moved the `CC_Texture0` definition of fragment shader to cc.GLProgram to ensure compatibility with JSB.
* Added normalized position functions to cc.Node.
* Refactored the constructor of Cocos Studio's classes and deprecated all create functions.
* Refactored Cocos Studio reader for better maintainability.
* Improved Facebook SDK.
* Modified `cc.ProgressTo`'s behavior, its progression didn't reset to zero when the progression is 100.
* Changed `ccui.Widget`'s default anchor point to (0, 0) in widget reader.
* Removed all deprecated create function usage in engine and in the test cases.
* [JSB] Refactor `cc.GLNode` for new renderer and re-enable OpenGL test case.
* Bug fixes:
1. Fixed an issue of `cc.UILayout` that its scissor mode didn't work.
2. Fixed an issue of `ccui.TextBMFont` that its 'string' property setting was incorrect.
3. Fixed an issue of `cc.DrawNode` that its element's position was incorrect in Canvas mode.
4. Fixed an issue of `cc.Layer` that its bake function didn't work in new renderer.
5. Fixed an issue of `cc.Scale9Sprite` that its cached canvas size was incorrect.
6. Fixed an issue of `cc.Director` that its position was incorrect when calling `setProjection` in new renderer.
7. Fixed an issue of `cc.view` that the reinitialization logic of frame size was incorrect.
8. Fixed incorrect usage of `cc.progressTo` in progress action test.
9. Fixed an issue of CocosNodeTest for the new renderer.
10. Fixed minor issues in test cases.
11. [JSB] Fixed an issue of `cc.EditBox`'s constructor.
12. [JSB] Refactored an issue that `ccui.CheckBox`'s deprecated function `setSelectedState` is used instead of `setSelected`.
13. [JSB] Fixed an issue of `cc.ScrollView`'s constructor.
14. [JSB] Fixed an issue in Moon Warriors sample that a label's height was too small so it was cutting off its content.
15. [JSB] Fixed user object conflict in `ccui.Widget`'s `addTouchEventListener` function binding.
16. [JSB] Fixed an issue that null parameter was not correctly processed in `ccs.ArmatureAnimations`'s `setFrameEventCallFunc` and `setMovementEventCallFunc` functions.
17. [JSB] Fixed an issue that `cc.Scale9Sprite`'s `updateWithBatchNode` had been deprecated in JSB.
18. [JSB] Fixed an issue that `cc.SpriteBatchNode` could not be extended in JSB.
19. [JSB] Fixed an issue that Cocos Studio extension classes could not be extended in JSB.
20. [JSB] Fixed API inconsistency issues by renaming `cc.Node`'s `getRotationSkewX/Y` and `setRotationSkewX/Y` to `getRotationX/Y` and `setRotationX/Y`.
* Known Issues:
1. `jsb.AssetsManager` doesn't work on windows due to a bug in libcurl
Cocos2d-JS v3.1 beta @ Oct.13, 2014
* Refactoration of the web engine with new renderer on the architecture level, optimization is under going.
* Released Facebook SDK for Cocos2d-JS beta2, its API have been significantly improved and stablized.
* Upgraded MoonWarriors sample with new set of graphical assets.
* Automatically enabled WebGL on iOS 8 safari.
* Upgraded chipmunk.js to the newest version.
* Supported setting color of shadow for `cc.LabelTTF`.
* Added `getTitleRenderer` function to ccui.Button.
* Supported Coco Studio timeline animation.
* Set the default value of LabelAtlas's `cascadeOpacityEnabled` and `cascadeColorEnabled` to true.
* Added a listener of texture to `cc.Sprite#setTexture` when the texture hasn't loaded.
* Activated `cc.pool` for all kind of objects.
* Added query test for chipmunk and added necessary JavaScript bindings.
* [JSB] Added properties for `cp.Shape`, added missed methods for `cp.Vect` and `cp.v`.
* [JSB] Added missed constant for `ccui.ListView`.
* [JSB] Ignored alpha value in `cc.Node#setColor`.
* [JSB] Used Object.create for creating prototype during inheritance to avoid potential memory leak.
* [JSB] Made regular expression for URL check more reliable using third party code.
* Bugs fix:
1. Fixed a bug of `cc.ComponentContainer` that a 'if' statement behavior is incorrect.
2. Fixed a bug of `cc.Scale9Sprite` that the behavior of Canvas and WebGL is different.
3. Fixed a bug of `cc.EventListener` that its pause state should set to true.
4. Fixed a bug of `cc.ParticleSystem` that it should apply canvas scaling on canvas rendering mode.
5. Fixed a bug of CCBoot.js that `cc.loader` should add a condition to check whether `crossOrign` property is undefined on IE9 and IE10.
6. Fixed a bug of `ccui.Widget` that its `setPosition` function's behavior is incorrect.
7. Fixed a bug of `ccui.LoadingBar` that its `barRenderer` should add to protected children array.
8. Fixed a bug of `cc.Texture2D` that its `TEXTURE_MAG_FILTER` should set to LINEAR.
9. Fixed a bug of `cc.TMXMapInfo` that its doesn't parse `rotation` property.
10. Fixed a bug of `cc.TMXLayer` that it should apply canvas scaling on Canvas rendering mode.
11. [JSB] Fixed an issue of incorrect return value in `cc.textureCache.addImage`.
12. [JSB] Fixed an issue of `cc.loader.getRes` for supporting cached resources.
13. [JSB] Fixed an issue of `cc.loader.loadImg` for supporting local image loading.
14. [JSB] Fixed `cocos run -p ios` command issue with Xcode 6.
15. [JSB] Fixed `cc.EditBox` behavior issue on iOS8.
16. [JSB] Fixed an issue of `cc.Scale9Sprite` that it may mask its child node content.
17. [JSB] Fixed an issue that `arrivalOrder` get reset after being visited and cause children order chaos.
18. [JSB] Fixed an issue of `_ctor` function check in construction.
19. [JSB] Fixed a bug of `cpGroup` type definition inconsistence between iOS 8 and other platforms.
20. [JSB] Fixed API inconsistence between web and JSB engine for `cc.Touch#getID`.
21. [JSB] Fixed memory leak issue of cc.pool in JSB.
22. [JSB] Fixed a bug that `cc.ScrollView`'s construction haven't been implemented in JSB.
23. [JSB] Fixed arguments processing error in chipmunk bindings by adding safe guard.
24. [JSB] Fixed a bug in particle system test case.
25. [JSB] Fixed a potential crash issue for `cc.CallFunc`.
* Known Issues:
1. AssetsManager doesn't work on windows due to a bug in libcurl
2. Timeline animation haven't been bound to JSB
Cocos2d-JS-v3.0 Final @ Sep.10, 2014
* Facebook SDK Beta2: Added `appRequest` API.
* Facebook SDK Beta2: Added permission request in `login` API, removed `requestPermission` API.
* Facebook SDK Beta2: Renamed `request` API to `api`.
* Facebook SDK Beta2: Renamed `publishInstall` API to `activateApp`.
* Added getter and setter function for browser's density dpi: `cc.view.setTargetDensityDPI`, `cc.view.getTargetDensityDPI`.
* Added some type check functions.
* Added audio support for wechat browser.
* Added setPlaceHolderColor and setTextColor to ccui.TextField.
* Added API reference for Cocos Studio extension.
* [JSB] Polished AssetsManager for better iOS simulator support.
* [JSB] Move `EventAssetsManager` and `EventListenerAssetsManager` to jsb namespace.
* [JSB] Supported formatted string in `cc.log`/`cc.warn`/`cc.error`/`cc.assert`.
* [JSB] Added `retain`/`release` function for cc.Touch
* Bugs fix:
1. Fixed an issue of `cc.Menu` that its item's touch priority is different than cc.eventManager.
2. Fixed an issue of `cc.view` that its NO_BORDER mode doesn't work correctly.
3. Fixed an issue of `cc.LabelBMFont` that its content size is different than JSB.
4. Fixed an issue of `cc.LabelBMFont` that its `setColor` is invalid on some mobile devices.
5. Fixed an issue of `cc.PageView` that it can't receive TOUCH_CANCEL event.
6. Fixed an issue of `cc.loader` that it can't load cross origin textures.
7. Fixed an issue that Facebook SDK Web's `appRequest` wraps info parameter incorrectly.
8. Fixed an issue of ccui widgets' `addEventListener` that it doesn't accept function's target as parameter.
9. [JSB] Fixed a crash issue of Facebook SDK when session is closed.
10. [JSB] Fixed constant inconsistence in ccui.TextField.
11. [JSB] Fixed return value inconsistence of `cc.Node#getNodeToWorldTransform` function.
12. [JSB] Fixed an issue that `cc.MenuItemImage`'s `setColor` doesn't work.
13. [JSB] Fixed API inconsistence that `cc.Layer`'s `bake`/`unbake`/`isBaked` functions are absent in JSB.
14. [JSB] Refactored ccui's `addEventListenerXXX` to `addEventListener` to fit Web engine API.
15. [JSB] Fix an issue that delete doesn't work for `ccui.TextField`'s on desktop.
16. [JSB] Fixed stroke color issue of LabelTTF on iOS.
17. [JSB] Fixed an issue of `jsb.fileUtils.renameFile` on windows.
18. [JSB] Fixed an issue of bindings generator script on windows.
19. [JSB] Fixed `cc.REPEAT_FOREVER` value error.
Cocos2d-JS-v3.0 RC3 @ Aug.29, 2014
* Facebook SDK Beta: Unified the callback parameters for different platform.
* Facebook SDK Beta: Added payment API on Web platform.
* Facebook SDK Beta: Added `publishInstall` and `logEvent` APIS on iOS and Android.
* Facebook SDK Beta: Supported app request and share open graph API on Web platform.
* Facebook SDK Beta: Remove plugin configuration for Facebook SDK to simplify the usage.
* Facebook SDK Beta: Added test case for new features and improve all test cases.
* Cocos Console: Improved web compile with `--advanced` tag.
* Improved Cocos2d-JS inline docs to provide a better API reference document.
* Refactored cc.game for maintainability.
* Refactored cc.async to simplify and improve the usage.
* Added `cc.formatStr` for string formatting, for example: `cc.formatStr("a: %d, b: %b", a, b)`.
* Refactored cc.log to support formatted string.
* Refactored cc.pool's `hasObj` to `hasObject` and `removeObj` to `removeObject`.
* Added some state check to cc.audioEngine.
* Refactored sprite's blend function to support more features on Canvas.
* Refactored `cc.textureCache.textureForKey` to `cc.textureCache.getTextureForKey`, `cc.TMXTilemap#propertiesForGID` to `cc.TMXTilemap#getPropertiesForGID` to follow the standard API naming style.
* Detected mouse event on touch screen tablets.
* Support new construction for cc.PhysicsDebugNode and deprecated `cc.PhysicsDebugNode.create`
* Made cc.Texture2D's setTexParameters supports two types of parameters.
* Added test case for remote image loading.
* [JSB] Combine SpiderMonkey's arm64&32 lib to support Xcode 6.0
* [JSB] Added abort function for XMLHttpRequest.
* [JSB] Used clang as the default compiler for Android compilation.
* [JSB] Made cc.place, cc.moveTo, cc.moveBy, cc.jumpTo, cc.jumpBy support x, y seperated position parameters.
* [JSB] Added setSpeed/getSpeed functions for cc.ActionInterval.
* [JSB] Made cc.easeBezierAction accept multiple parameters.
* [JSB] Refactored ccui.TextField's `setText` to `setString`, `getStringValue` to `getString`.
* [JSB] Refactored cc.Node and cc.Texture2D's `getGLProgram` to `getShaderProgram`, `setGLProgram` to `setShaderProgram` for compatibility with web engine.
* [JSB] Added missed shader program constants.
* [JSB] Added missed array util functions.
* [JSB] Bound constructor for cc.EventTouch and cc.Touch.
* Bugs fix:
1. Fixed an issue of tilemap that it can't runAction in canvas render mode.
2. Fixed an issue of cc.eventManager that its removeListeners' codes are unreachable.
3. Fixed an issue of cc.EditBox that its position is incorrect.
4. Fixed an issue of cc.WebAudio that its stopped state is incorrect.
5. Fixed an issue of cc.audioEngine that it doesn't work on firefox after it compiled with advanced mode.
6. Fixed an issue of ccs.Bone that it doesn't update color and opacity correctly.
7. Fixed an issue of ccs.Armature that its setShaderProgram doesn't work.
8. Fixed cc.Sprite and cc.Scale9Sprite's issue so that their texture loads incorrectly.
9. Fixed an issue of ccui.LoadingBar that its setPercent is invalid.
10. Fixed an issue of Armature reader that it can't parse isTween property.
11. Fixed an issue of ccui.PageView that its getTouchBeganPosition returns incorrect value.
12. Fixed an issue of ccui.ImageView that its setColor doesn't work.
13. Fixed an issue of cc.RenderTexture that it doesn't support parameter depthStencilFormat.
14. Fixed an issue of ccs.ArmatureAnimation.setSpeedScale.
15. Fixed an issue of cc.Scale9Sprite that it has a line on iOS device.
16. Fixed CCProgressTimer draw on canvas with colorized sprite
17. Fixed an issue of cc.game that its frameRate setter is invalid.
18. Fixed an issue of cc.loader that its callback state is incorrect.
19. [JSB] Fixed memory leark issue of XMLHttpRequest.
20. [JSB] Fixed bugs of Android Facebook SDK's dialog callback.
21. [JSB] Fixed bugs of android-build.py.
22. [JSB] Fixed bugs of cc.Texture2D's width and height property was not working.
23. [JSB] Fixed a crash issue that `cc.textureCache.addImage` create duplicated jsb proxy for the same url.
24. [JSB] Fixed incompatible issue in cc.async and cc.loader
25. [JSB] Fixed cc.skewBy's inversed behavior.
26. [JSB] Fixed an issue of Javascript to Objective-C reflection.
27. [JSB] Fixed `anchorX` and `anchorY` property setter issue.
28. [JSB] Fixed an issue about cc.BezierBy's construction.
29. [JSB] Fixed an issue that cc.LabelBMFont doesn't initialize when passing empty string as its content.
30. [JSB] Fixed an issue that ccui.Layout doesn't sort children nodes with their local z order.
31. [JSB] Fixed an Android platform crash issue when handleOnPause get invoked before onSurfaceCreated
32. [JSB] Fixed an issue that cc.Menu.create doesn't accept array as parameter.
33. [JSB] Fixed an "Invalid Native Object" issue in RenderTextureTest.
34. [JSB] Fixed an crash issue in assets manager test.
* Known issues:
1. [JSB] jsb.AssetsManager have issues on Windows platform and iOS simulator.
Cocos2d-JS-v3.0 RC2 @ Aug.11, 2014
* Refactored Cocos UI for more stable and friendly user experience.
* Upgraded Cocostudio reader to support version 1.2 - 1.5.x.
* Upgraded Cocostudio Armature animation from Cocos2d-x v3.2.
* Added back 2.x createWithXXX functions and deprecate all create/createWithXXX functions.
* Merged cc.NodeRGBA and cc.LayerRGBA to cc.Node.
* Fixed ctor functions bugs to support new construction.
* Refactored cc.Sprite's setColor to improve its performance.
* Renamed CCAffineTransform.js's functions to lowercase started functions.
* Upgraded cc.Scale9Sprite from Cocos2d-x 3.2.
* Improved cc.LabelTTF's line break algorithms to support multi-languages.
* Made cc.RenderTexture's beginWithClear accept color value from 0-255.
* Improved implementation of all Actions lower case alias creation functions.
* Added lower case creation functions for 3d actions and progress actions.
* Added cc.sys.platform API for detecting platform.
* Upgraded HelloWorld project with v3.0 APIs.
* [JSB] Included Facebook SDK for Cocos2d-JS alpha release.
* [JSB] Supported Javascript to Objective-C reflection.
* [JSB] Supported remote image loading with cc.loader and cc.textureCache.
* [JSB] Supported inheritance of gui extension and spine extension.
* [JSB] Bound console.log function.
* Bugs fix:
1. Fixed a transform error in ccs.TransformHelp.
2. Fixed a bug of cc.MenuItemToggle that callback is not correctly initialized when using new construction.
3. Fixed a bug in cc.layer's bake function that its position is incorrect when cc.view is scaled.
4. Fixed a bug of cc.LayerMultiplex.
5. Fixed a bug of cc.TMXLayer that it can't display all map image when its type is hexagonal.
6. Fixed a bug of cc.ControlSwitch.
7. Fixed image format constant inconsistence.
8. Fixed a bug of ccui.Widget that it is invisible after popScene.
9. Correct behavior of cc.TransitionSlideInB and cc.TransitionSlideInT.
10. Fixed a bug of requestAnimFrame that it doesn't work after re-focus WeChat browser on Samsung mobile.
11. Fixed bugs of ccui.Widget and ccui.Text's clone functions.
12. Fixed a bug of ccui.Layout that its clipping area is incorrect.
13. Fixed a bug of CCBoot.js that bind function is undefined in Safari for iOS 5.1.
14. Fixed a bug of cc.WebAudio that sourceNode's playbackState is invalid on some browsers.
15. [JSB] Fixed cocos studio scene test crash issues.
16. [JSB] Bound BaseData/AnimationData/MovementData's properties.
17. [JSB] Bound cc.ReverseTime.
18. [JSB] Fixed template crash issue on iOS < 6.0.
19. [JSB] Fixed bindings generator's issue for generating lambda function.
20. [JSB] Review _ctor functions and fix bugs.
21. [JSB] Review classes inheritance ability in Javascript.
22. [JSB] Improved code style in auto bindings
23. [JSB] Fixed a bug of type conversion that empty string is converted to NULL.
24. [JSB] Fixed bugs of UILayout relative and RenderTexture test cases.
25. [JSB] Fixed a bug that cc.visibleRect isn't updated after modification of resolution policy.
26. [JSB] Fixed a bug that cc.loader.load function's callback can't retrieve the result.
27. [JSB] Fixed value inconsistence for image format constants.
28. [JSB] Renamed cc.TextFieldTTF's textFieldWithPlaceHolder to create.
29. [JSB] Fixed API inconsistence of cc.TMXTiledMap.
30. [JSB] Fixed stencil buffer disabled issue on some Android devices.
31. [JSB] Added defaultPixelFormat property definition.
32. [JSB] Fixed typo of cc.radiansToDegrees.
* Known issues:
1. [JSB] cc.ActionInterval's setSpeed and getSpeed function doesn't exist in JSB.
2. [JSB] cc.bezierAt function is not supported in JSB.
3. [JSB] jsb.AssetsManager have issues on Windows platform and iOS simulator.
Cocos2d-JS-v3.0 RC1 @ July.18, 2014
This version include some crutial bug fixes.
* Bugs fix:
1. Fix a bug that cocos console doesn't support long path on windows.
2. Fix a bug that Code IDE can't compile release mode for Android.
3. Fix a bug that usage of system font will crash on windowns.
4. Fix a bug that textures doesn't load for cocostudio projects.
5. Fix a bug that stencil buffer haven't been activated on certain android devices.
Cocos2d-JS-v3.0 RC0 @ July.3, 2014
* Added Facebook SDK plugin into Pluginx extension.
* Refactoration of gui system `ccui` for better performance, usage and maintainbility.
* Added `bake` function to `cc.Layer` to support layer baking.
* Added object pool extension: `cc.pool`.
* Added new easing functions: bezier action, quadratic actions, quartic actions, quintic actions, circle actions, cubic actions.
* Made `cc.loader` continue the counter process even if a resource failed to be loaded.
* Supported multiple property objects in `cc.Class.extend` function.
* Refactored `ccui.Widget`'s `getLeftInParent`, `getBottomInParent`, `getRightInParent`, `getTopInParent` to `getLeftBoundary`, `getBottomBoundary`, `getRightBoundary`, `getTopBoundary`.
* Refactored `cc.FadeIn.create(duration, toOpacity)` to `cc.FadeIn.create(duration)`.
* Refactroed all string access functions in `ccui` extension to `setString` and `getString`.
* Added `getContentSize` and `setContentSize` in `ccui` extension.
* Changed the default alpha value of `cc.Color` from `undefined` to 255.
* Made `cc.log` support formatted string.
* [JSB] Improved `cc.AssetsManager` with multi-thread downloading, download resuming support, compressed file support, better progression informations, possibility to retry failed assets.
* [JSB] Supported linux compilation with CMake.
* [JSB] Moved JSB only APIs: cc.fileUtils, cc.Reflection, cc.AssetsManager to `jsb` namespace for avoiding mistaken usage.
* [JSB] Made cocos console support jsc compilation in release mode.
* [JSB] Made android apps possible to be installed into sd card.
* [JSB] Made `ccui` extension's widget classes extendable.
* [JSB] Bound a complete version of `jsb.fileUtils` including search path control functions.
* [JSB] Correctly recoginze Mac OS X as a desktop platform and activate keyboard and mouse capabilities.
* [JSB] Supported mouse event in JSB.
* [JSB] Made `cc.MenuItemImage` support sprite frame name as construction parameter.
* [JSB] Made `cc.NodeRGBA` extendable in JSB.
* [JSB] Bound `ccs.AnimationData` and `ccs.MovementData`.
* [JSB] Added `getUserData` and `setUserData` for `cc.Node`.
* Bugs fix:
1. Fix bugs on creating sequence objcet or spawn object using new method.
2. Fix a bug that `ccui.LoadingBar`'s `setPercent` function will crash when its texture is in a plist file and scale9Enabled is true.
3. Fixed a bug of `cc.audioEngine` that it crashs when audio isn't correctly loaded and its duration is infinity.
4. Correction of the calculation of `cc.visibleRect`.
5. Fix `cc.Skin`'s bounding box calculation for canvas rendering.
6. Fix an issue that `cc.TextureCache` doesn't handle loaded texture in some case.
7. Fix an issue that texture rect could be zero sized in `initWithFile` function of `cc.Sprite`.
8. Fix a bug on inverted ClippingNode with DrawNode as stencil in Canvas render mode.
9. Fix a bug that `cc.SpriteFrame` didn't support initialization with texture name parameter.
10. Fix a bug on `ccs.ArmatureAnimation`'s loop parameter.
11. Fix a bug that `cc.JumpTo`'s `_delta` position calculation is incorrect.
12. Fix a bug of `cc._audioLoader` that it doesn't work when it failed to load an audio file.
13. [JSB] Fix a bug that mouse button always equals left button during mouse move event.
14. [JSB] Fix a bug that `showFPS` configuration is ignored.
15. [JSB] Fix a bug that key correspondances are incorrect for keyboard event on Android.
16. [JSB] Fix a bug that `ccui.Widget`'s `onEnter` function can't be overrided in JSB.
17. [JSB] Fix a bug that some `init` function may be invoked twice during initialization.
18. [JSB] Fix a bug that `cc.Layer`'s `init` function is not invoked during initialization.
19. [JSB] Bound `SpriteFrame`'s constructor to support `new` construction in JSB.
20. [JSB] Fix cc.REPEAT_FOREVER constant value conflit between html5 engine and JSB.
21. [JSB] Fix some property inheritance issues in JSB.
22. [JSB] Fix a bug that `ccui.Button`'s `getTitleColor` function doesn't return the correct value.
23. [JSB] Fix ChipmunkTest/buoyancy test case crash issue with unreleased collision handler.
24. [JSB] Fix a bug that `cc.audioEngine.end()` release the singleton audio engine object.
25. [JSB] Support all method for XMLHttpRequest including GET, POST, PUT, DELETE.
* Known issues:
1. [JSB] `cc.ActionInterval`'s `setSpeed` function is not supported yet.
2. [JSB] `cc.ActionInterval`'s `easing` function doesn't support `EaseBezierAction` yet.
3. [JSB] `cc.AssetsManager` may fail to create and download files on windows and iOS simulator (please test on real devices).
4. [JSB]CocoStudio's scene reloading may cause memory release issues and crash.
5. [JSB]ccui.TextField's is not responding to keyboard backspace button.
Cocos2d-JS-v3.0 beta @ May.23, 2014
* Refactored actions to make it more friendly and easy-to-use.
* Integrated Spine skeleton animation feature.
* Renamed constants of ProgressTimer, Scale9Sprite, TMXLayerInfo, Node, ParticleSystem for maintainability.
* Modified mouseMove event behavior of cc.inputManager to compatible with Cocos2d-x
* Modified cc.game.run to receive a canvas id as parameter.
* Added local audio file playing from 'file://' origin.
* Added local images file displaying from 'file://' origin.
* Refactored cc.TMXLayer's setTileAt etc functions to support point or x,y as their parameters.
* Added a check to cc.Sprite and cc.SpriteFrame to avoid its texture rect out of bounds.
* Added a check to cc.SpriteFrame to avoid cc.loader release invalid sprite frame file.
* Made cc.Touch return copies of point.
* Made the default of cc.Color alpha value is 255 to avoid cc.Sprite's setColor is invalid.
* Optimized cc.Node.sortAllChildren for better performance.
* Added warning of cc.Texture2D if it has an invalid texture.
* [JSB]Enabled baseline compiler of SpiderMonkey to boost the performance of JSB on Android, mostly it is really faster than Lua.
* [JSB]Upgraded SpiderMonkey to v28.
* [JSB]Re-enabled Plugin-X in JSB
* [JSB]Added `cc.AssetsManager` for resources hot updating and bound all necessary classes in JSB.
* [JSB]Upgraded jsc file compiler tool with SpiderMonkey v28.
* [JSB]Android back button support.
* [JSB]Added `setDebugBones` and `setDebugSolots` functions to `sp.Skeleton`
* [JSB]Added `repeat`, `repeatForever`, `easing` functions to `cc.ActionInterval`
* [JSB]Bound `ccui.RichText` in JSB.
* [JSB]Added `getBlendFunc` and `setBlendFunc` bindings in JSB
* [JSB]Added Spine, Cocosbuilder, websocket, socketio in templates by default.
* [JSB]Added cc.Node's getBoudingBoxToWorld function.
* [JSB]Support inheritance for gui components.
* [JSB]Implemented reflexion from Javascript to JAVA static class functions.
* [JSB]Support x, y parameter in position setting functions of cc.TMXLayer.
* [JSB]Added `game_on_hide` and `game_on_show` events.
* Bugs fix:
1. Fixed a bug of cc.winSize that it returns incorrect value when using setDesignResolution.
2. Added a check to cc._setup to avoid double invocation.
3. Fixed a bug of cc.TMXMapInfo that its tile's property id is incorrect.
4. Fixed a bug of cc.Scale9Sprite that its CascadeColor and CascadeOpacity are invalid.
5. Fixed a bug of ccs.UILoadingBar which its barRendererScaleChangedWithSize is incorrect.
6. Added some forgotten files to build.xml for minimize core.
7. Corrected a mistake of renderMode default value in CCBoot.js.
8. Fixed a bug of ccui.Layout's draw function that its scaleX, scaleY value is incorrect.
9. Fixed a bug of cc.Audio's stopMusic function.
10. Fixed a bug of TextureCache that it can't remove image's event handler.
11. Fixed ClippingNode's DrawNode stencil bug on Canvas.
12. Fixed a typo 'cc.radiansToDegress' function to 'cc.radiansToDegrees'.
13. Fixed a bug of ccui.ImageView that its setSize is invalid when the picture without pre-load.
14. Fixed a bug of cc.ParticleSystem that it throws a error when create from CocosBuilder.
15. Fixed a bug of cc.LabelAtlas that it can't display its children.
16. Fixed a bug of cc.fontLoader that it can't load custom font.
17. Fixed a bug of ccui.Widget that its setOpacity is invalid.
18. Fixed a bug of cc.Node that it transform value is incorrect when a node skew to a special value.
19. [JSB]Fixed an issue of jsb boot process that `cc._setup` get called twice.
20. [JSB]Fixed `cc.TextureCache`'s null check issue.
21. [JSB]Fixed an issue of `ccui.Widget`'s `getChildByTag` function.
22. [JSB]Fixed TileMapTests's graphic issue of Z vertex test.
23. [JSB]Fixed a bug of `cc.Animation.create`.
24. [JSB]Fixed behavior inconsistence of `cc.plistLoader`.
25. [JSB]Fixed a bug of `cc.view.setDesignResolutionSize`.
26. [JSB]Fixed API inconsistence for cc.view.
27. [JSB]Fixed API inconsistence for constants.
28. [JSB]Fixed API inconsistence of EventMouse and EventTouch.
Cocos2d-JS-v3.0 alpha2 @ April.14, 2014
* Minimize the size of core from 254k to 113k after google closure advanced compiling.
* Make engine classes can be constructed via `new` with the same parameters as create functions.
* Make engine classes extendable directly via ctor.
* Made cc.DrawNode support some DrawingPrimitive's drawing function on WebGL mode.
* cc.Sprite supports creating a sprite through external URL.
* Add SocketIO to framework's external.
* Add the warning information to notice developers that their project.json cannot be loaded or parsed.
* Add retina display support to cc.Editbox.
* cc.Node's pauseSchedulerAndActions and resumeSchedulerAndActions are deprecated, please use pause and resume instead.
* Add render mode checking to 3D action classes.
* Use undefined check in cc.loader for better performance.
* Sync cc.eventManager to the latest version of Cocos2d-x v3.0 final.
* ccui.Layout's doLayout function has been set to private function "_doLayout".
* Rename all Uppercase functions to lowercase in CCMacro.js.
* Add more necessary GL constants in engine.
* Rename ccs.comAttribute's `getCString` function to `getString`.
* [JSB]Make engine classes extendable via ctor in JSB.
* [JSB]Fix cc.DrawNode API inconsistence between Cocos2d-html5 and JSB.
* [JSB]Rebind cc.fileUtils for JSB only APIs.
* [JSB]Make JS level subclass of cc.Component support override of onEnter/onExit/update functions.
* [JSB]Update precompiled SpiderMonkey to support iOS 64 bit devices.
* [JSB]Fix constants inconsistence between Cocos2d-html5 and JSB.
* [JSB]Add macro functions in CCMacro.js into JSB.
* [JSB]Add `tag` property to cc.Action.
* [JSB]Add `boundingBox` function to ccs.Armature.
* [JSB]Add `textureLoaded` function to cc.Sprite.
* [JSB]Add `allLayers` function to cc.TMXTiledMap.
* [JSB]Refactor `cc.EventMouse`'s `getCursorX`, `getCursorY`, `setCursorPosition` to `getLocationX`, `getLocationY`, `setLocation`, and add `getLocation` function.
* [JSB]Add `getLocationX`, `getLocationY` to `cc.Touch`.
* Bugs fix:
1. Fixed ccs.comAttribute API incompatible issue
2. Fixed a bug of CocoStudio's data reader that getting isTween value is incorrect when the attribute value is false.
3. Fixed a bug of Sprite that it stops to work when its texture doesn't preload and its parent is a SpriteBatchNode
4. Fixed a bug in CCBoot.js that console.error is invalid on firefox.
5. Fixed a bug of cc.LabelBMFont that it's multiline works incorrectly.
6. Fixed a bug that Touches event doesn't work in release mode on IE browser.
7. Fixed a bug that cc.winSize has not been reset after cc.view.setDesignResolutionSize.
8. Fixed typo error in ccui.Widget.TOUCH_BEGAN
9. Fixed a bug of cc.MenuItemSprite.create that its can't create item when the length of arguments equals 4.
10. Fixed a bug of cc.loader that it need to set value before calling the callback.
11. Fixed a bug of cc.log that it doesn't work in IE9
12. Fixed IE incompatible issue with __lookupGetter__
13. Fixed a bug of cc.Node that it returns a reference of _position in getPosition
14. Fixed a bug of cc.ClippingNode that its _super is undefined
15. Fixed a bug of inputManager's touch event in IE browser
16. Add callback null check to avoid bugs in cc.textureCache.addImage.
17. [JSB]Fix ccui.Widget's addNode function no longer exists bug in JSB.
18. [JSB]Fix a bug that main loop get stated twice.
19. [JSB]API inconsistence of ccs.ArmatureAnimation.play fixed.
20. [JSB]Fix JSB compiling issues by removing `DEBUG` preprocessor macro.
21. Fixed some comment errors of framework.
* Known Issues:
1. [JSB]Property's getter/setter functions can not be overrided automatically in custom subclasses.
2. [JSB]CocoStudio's scene reloading may cause memory release issues and crash.
3. [JSB]OpenGL test is not functionnable in JSB.
4. EventListener is not extendable.
5. [JSB]PhysicsSprite is not updating with physics node.
6. [JSB]ccui.TextField's is not responding to keyboard backspace button.
Cocos2d-JS-v3.0 alpha @ March.15, 2014
* Refactor some properties of all rendering classes with getter setter for providing javascript user friendly APIs.
* Provide `attr` function for cc.Node and its descendants to permit modify multiple properties at the same time with a key-value object.
* Refactor foundational data structures for better maintainability.
* Add event manager to cocos2d-html5, all events are dispatched via cc.eventManager to event listener.
* Refactor cc.Application to cc.game.
* Refactor singleton Classes to javascript object.
* Refactor all createWithXXX functions into unified create function with different parameters.
* Use `moduleConfig.json` to config the paths of engine scripts.
* `cocos2d.js` is replaced with `project.json`.
* Refactoring cc.loader.
* CocoStudio GUI updated to 3.0, and ccs prefix of UI widgets have been changed to ccui.
* CocoStudio v1.3.0 has been supported in v3.0.
* richText has been supported in v3.0.
* Use `cc.BuilderReader.registerController` to register controller of ccb.
* Add `cc.path` to handle operations of file path.
* Add `cc.async` to handle async operations.
* Add cc.NodeGrid in v3.0.
* Replace `replaceWithScene` and `runWithScene` with `runScene`.
* move sys.xxx to cc.sys.xxx.
* Refactor CCEGLView.js for better maintainability.
* Refactor CCScheduler.js for better maintainability.
* Remove arguments.callee which is forbidden in ECMAScript strict mode.
* Refactor Array clean function for better performance.
* Refactor some functions about array operation.
* Refactor FadeIn/FadeOut to fix a bug that it always start from/to 255.
* Rewrite functions in CCNS.js with regex.
* Move CCFormatHelper and CCNS content into CCCommon.js.
* Refactor cc.Screen to support all browsers.
* Add retina display support for Apple devices to cc.view.
* Add "allLayers" function to cc.TMXTiledMap.
* Make cc.p and cc.size support two types of parameters.
* cc.DrawNode supports all functions of cc.DrawingPrimitive on Canvas mode.
* WebAudioEngine is supported on iOS now.
* Use event on cc.canvas to make full screen.
* Add a browser white list that support multiple audio playback at the same time.
* Removed in/hasOwnProperty usage in engine for better performance.
* Refactoring CCCommon.js, delete some unused functions, rename some functions for better maintainability.
* Add analytics plugin protocol ,Flurry plugin and ProtocolAds.js plugin protocol.
* Arguments length check replaced by undefined check for better performance.
* Fix legacy Function.prototype.bind support.
* Bugs fix:
1. Avoid CCLabelTTF enter in infinite loop while character's width larger than the dimension width
2. Add jsDoc Flags to cc.NodeRGBA and cc.LayerRGBA
3. Fixed a bug that Schedule doesn't restart when widget is re-added after being removed
4. Correction of split logic in CCLabelTTF
5. Fixed a bug that armature animation does not display correctly on canvas mode
6. Correct gui widget clone functions
7. Fixed a bug of cc.SpriteFrameCache that filePath is needed in `loadedFileNames`
8. Add a condition check to avoid texture out of range bug
9. Fixed a bug of cc.Editbox that its position is incorrect when its parent node isn't root node.
10. Fixed a SimpleAudioEngine's state error.
11. Fixed a bug of cc.TMXTileMap that its `_tileProperties` should be a dictionary object
12. Fixed a bug of cc.DrawNode that it need to deep-copy verts in `drawPoly`
13. Fixed a bug of UILabelBMFont that variable `_strStringValue` should be `_stringValue`
14. Fixed a bug in SceneReader's `setPropertyFromJsonDict` function
15. Fixed a bug when margin not set in ccs.Margin
16. Fixed a bug of cc.TMXLayer that its `removeChild` works incorrectly.
* Known Issues: