forked from cocos2d/cocos2d-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
482 lines (454 loc) · 31.7 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
ChangeLog:
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: