CHANGELOG 157 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182
  1. cocos2d-x-3.16 Oct.9 2017
  2. [NEW] Add RadialGradientLayer
  3. [NEW] Web: Add GLProgramState and upgrade web shader usage APIs
  4. [REFINE] 3rd: use prebuilt bullet
  5. [REFINE] CameraBackgroundBrush: use VAO/VBO to improve performance
  6. [REFINE] Color4F: add arithmentic operators
  7. [REFINE] LayerMultiplex: add `LayerMultiplex::switch(int, bool)` to not clean up previous layer after switching to a new layer
  8. [REFINE] ListView: add padding options
  9. [REFINE] FileUtils: add more async functions
  10. [REFINE] ImageView: add `ImageView::setBlendFunc()` to change blend function
  11. [REFINE] PageView: allow customizing opacity of indicator nodes
  12. [REFINE] ParticleSystem: add `ParticleSystem::setSourcePositionCompatible(bool)` to set source position instead of position
  13. [REFINE] RichText: image tag supports sprite frame
  14. [REFINE] RichText: support horizontal alignment
  15. [REFINE] ScrollView: add `ScrollView::setSwallowTouches(bool)`
  16. [REFINE] ScrollView: dispatch more useful events and add more getters
  17. [REFINE] Spine: support ETC1
  18. [REFINE] WebView: can set opacity
  19. [REFINE] Android: update to support Android Studio 2.3.3
  20. [REFINE] Android: add `Cocos2dxActivity.setEnableVirtualButton(boolean)` to control whether the hide virtual button or not
  21. [REFINE] iOS: more stable delta time between frames
  22. [REFINE] Engine: fix many warning issues
  23. [REFINE] Engine: exclude fps image in release mode
  24. [REFINE] Engine: add function for calculating md5 hash from Data
  25. [REFINE] Windows 10 metro mode, Windows Phone and Tizen are not supported
  26. [REFINE] Web: Text wrapping supports more languages
  27. [REFINE] Web: upgrade Spine to v3.5.35 and support Spine skeleton batching
  28. [REFINE] Web: improve Editbox user experience
  29. [REFINE] Web: improve screen adaptation for games inside iframe
  30. [REFINE] Web: use imagePool to reduce image cache memory usage in WebGL mode
  31. [REFINE] Web: ParticleSystem: Mark changeColor only if needed
  32. [REFINE] Web: use default scheduler to control action manager
  33. [REFINE] Web: remove accelerometer event listener by default
  34. [REFINE] Web: use arraybuffer responseType in BinaryLoader
  35. [FIX] Application: openURL() can not open URLs that have `&` character on linux
  36. [FIX] Audio: may crash if play, stop frequently on Mac/Android
  37. [FIX] Audio: may crash if switch to background with effect playing and switch to foreground again on Android
  38. [FIX] Audio: may freeze app on iOS/Mac
  39. [FIX] Audio: may crash if have multiple audio tracks running at the same time and frequently call `_play2d(AudioCache *cache, int audioID)` on iOS/Mac
  40. [FIX] Audio: can not mute audio while a ring or a call is comming on Android
  41. [FIX] Audio: audio loops get evently cut
  42. [FIX] Button: scale9 effect may wrong
  43. [FIX] Director: will dispatch `EVENT_BEFORE_DRAW` before drawing a frame
  44. [FIX] Downloader: task may be suspend and not been executed on Android
  45. [FIX] Downloader: may crash if downloading large file on iOS/Mac
  46. [FIX] EditBox: may not show cursor and input text on Android
  47. [FIX] EditBox: may not show any character when type on keyboard on Android
  48. [FIX] EditBox: fix spacing and alignment on Windows
  49. [FIX] EditBox: text is larger and mis-aligned on Android
  50. [FIX] EventDispatcher: `pauseEventListenersForTarget()` can not work correctly if invoked in event callback
  51. [FIX] FileUtils: `listFiles` and `listFilesRecursively` can not work correctly if the path include unicode charater on Windows
  52. [FIX] FileUtils: getFileSize() always return -1 on Android
  53. [FIX] FontAtlas: may cause crash when back from background on Android
  54. [FIX] FontAtlas: memory leak in `FontAtlas::prepareLetterDefinitions()`
  55. [FIX] HttpClient: may cause crash if used in non network environment on Android
  56. [FIX] ImageView: scale9 effect may wrong
  57. [FIX] Label: line height is reset when call `FontAtlasCache::purgeCachedData()`
  58. [FIX] Label: memory leak in `Label::setFontAtlas()`
  59. [FIX] Label: wrong effect of shrink overflow clamp on iOS
  60. [FIX] Physics: crash if calling `PhysicsWorld::setDebugDrawMask(false)` right after `Scene::initWithPhysics()`
  61. [FIX] Scheduler: can not work correctly if reschedule with same key in callback
  62. [FIX] Sprite: `Sprite::setTexture()` will reset program state
  63. [FIX] Studio: revert Studio reader and flatbuffer
  64. [FIX] TextField: crash when text exceeds content with enabled cursor
  65. [FIX] Transition: TransitionCrossFade is darker than it should
  66. [FIX] Widget: wrong layout in scaled widget
  67. [FIX] Android: app will crash at the first time launching by clicking app icon
  68. [FIX] Android: compiling error built with Android Studio for x86
  69. [FIX] Android: can not creat EGL context if the device doesn't support 24bit depth buffer
  70. [FIX] Android: may stop response to touch event
  71. [FIX] Android: can not use previous OBB file when APK version changed
  72. [FIX] iOS: can not use cocos console compile and run in release mode on iOS with Xcode 8.3+
  73. [FIX] iOS: FileUtils will cause compiling error on iOS 11
  74. [FIX] Desktop: `GLViewImpl::getMonitorSize()` may return zero
  75. [FIX] Apple: may crash if there are more than 10 touches
  76. [FIX] JSB: add chipmunk binding for `cpSpace::segmentQuery()`
  77. [FIX] JSB: XMLHTTPRequest memory leak if CC_ENABLE_GC_FOR_NATIVE_OBJECTS is enabled
  78. [FIX] JSB: WebView doesn't support https
  79. [FIX] Lua: export `cocos2d::utils::findChild()`
  80. [FIX] Lua: LuaObjcBridge return wrong type when return type is bool
  81. [FIX] Lua: will crash if lua file is encrypted and it has BOM header
  82. [FIX] Lua: iskindof() return wrong result
  83. [FIX] Lua: crash if run on iOS simulator with Xcode 8.0+
  84. [FIX] Web: memory leak in action manager
  85. [FIX] Web: local resources loading failed
  86. [FIX] Web: infinite call stack in ArmatureWebGLRenderCmd
  87. [FIX] Web: label stroke effect
  88. [FIX] Web: ProgressTimer vertex is not updated when changing transform
  89. [FIX] Web: DrawNode canvas displayedOpacity rendering
  90. cocos2d-x-3.15.1 May.27 2017
  91. [REFINE] Add optimization codes for huawei devices
  92. cocos2d-x-3.15 Apr.21 2017
  93. [NEW] Full support of Android Studio, can use Android Studio to edit, compile and debug C++ codes
  94. [NEW] Audio Engine: use `tremolo` to decode audio files to be more adaptable to Android devices and improve performance on Android
  95. [NEW] WebSockets and SocketIO supports SSL
  96. [NEW] WebSockets: add methods to get url and server selected protocol
  97. [NEW] Add `utils::getFileMD5Hash()`
  98. [REFINE] EventDispatcher: use `std::stable_sort()` to sort nodes and listeners
  99. [REFINE] FileUtils: add async version of common methods
  100. [REFINE] Label: full unicode support
  101. [REFINE] Renderer: enable VAO by default on Android
  102. [REFINE] Renderer: use std::stable_sort() to sort commands
  103. [REFINE] Scheduler: `unscheduleAll()` will unschedule selectors that scheduled with `performFunctionInCocosThread()`
  104. [REFINE] SpriteFrameCache: avoid load frames if they are already loaded
  105. [REFENE] Texfield: not use auto correction on iOS now
  106. [REFINE] TextureCache: allow to unbind asynchronous texture loading callback with a custom key
  107. [REFINE] WebSockets: each connection will create a virtual host
  108. [REFINE] WebView: can clean cached data
  109. [REFINE] WebSockets: allow self-assign certification
  110. [REFINE] 3rd: update OpenSSL to v1.1.0
  111. [REFINE] 3rd: update flatbuffer to v1.5
  112. [REFINE] 3rd: Update Spine runtime to v3.5.35
  113. [REFINE] Remove support for Windows 8.1 store and phone
  114. [REFINE] Remove 32-bit linux support
  115. [FIX] Action: spawn action may be invoked more times than specified
  116. [FIX] Audio engine: can not play audios in the callback set in `AudioEngine::setFinishedCallback()` on iOS, Mac and win32
  117. [FIX] Audio engine: crash if uncache audios in finish callback on Android
  118. [FIX] Audio engine: crash if playing very small mp3 audios on Android
  119. [FIX] Audio engine: may crash if repeat doing `play -> stop` on iOS and Mac
  120. [FIX] Audio engine: play2d may still wait 2 seconds if preload is too fast
  121. [FIX] Audio engine: preload many audios may cause crash on devices that use Samsung Exynos CPU
  122. [FIX] Application: `openURL()` return wrong valueo on Linux
  123. [FIX] Core: out scene's `onEnterTransitionDidFinish` is not triggered if using transition scene with `Director::runWithScene()`
  124. [FIX] CheckBox: can receive touch up event that is released far from it
  125. [FIX] Downloader: is not thread safe and may cause rondom crash on Android
  126. [FIX] DrawNode: can't change opacity
  127. [FIX] GLProgram: memory leak
  128. [FIX] HttpClient: may crash on Android 4.2
  129. [FIX] Label: ttf font line wrap
  130. [FIX] Label: wrong effect if ttf font line gap is not 0
  131. [FIX] Label: memory leak with ttf font
  132. [FIX] Label: call `disableEffect()` many times will compress the label to one character
  133. [FIX] Mesh: enable depth write by default
  134. [FIX] Node: calling `reorderChild()` does not update touch lister with scene graph priority
  135. [FIX] PageView: `getCurrentPageIndex()` returns -1 when created and haven't scrolled
  136. [FIX] Physics2d: can not apply velocity to kinematic bodies
  137. [FIX] Scheduler: an unscheduled selector may be invoked many times
  138. [FIX] Scheduler: selector is not moved in time
  139. [FIX] Simple Audio Engine: `unloadEffect()` doesn't work on Android 5.0.1 devices
  140. [FIX] Simple Audio Engine: `ConcurrentModificationException`
  141. [FIX] SokcetIO: use wrong default port for connection
  142. [FIX] Sprite: texture and shader lost after restore from background on Android if using ETC1
  143. [FIX] WebSockets: memory leak
  144. [FIX] WebSockets: doesn't parse url correctly
  145. [FIX] WebSockets: may crash in random
  146. [FIX] Vec4: error logic of operator '<'
  147. [FIX] Android: accelerometer uses wrong time accuracy
  148. [FIX] iOS: may crashed if multiple OpenGL ES contexts coexist
  149. [FIX] Windows: bad performance
  150. [FIX] Windows: link error when compiling in release mode
  151. [FIX] Lua: content after '\0' of a string is cut off when passing a string to C++ or vice versa
  152. [FIX] Lua: lua_cocos2dx_Widget_addTouchEventListener crashed
  153. [FIX] Lua: can not get binary data from file
  154. [FIX] JSB: XMLHttpRequest supports notifying progression
  155. [FIX] JSB: invoke `jsb.reflection.callStaticMethod` many times will cause `JNI max table=512` exception on Android
  156. [FIX] Others: `download_deps.py` depends on git command
  157. cocos2d-x-3.14.1 Jan.19 2017
  158. [FIX] May crash if using `Scene::createWithPhysics()` to create a scene and physics3d camera is not set
  159. [FIX] May have link error because of glfw conflict on Linux
  160. [FIX] Sprite: created from sprite frame with polygon information can not work correctly
  161. [FIX] Lua: link error with VS2015
  162. [FIX] Lua: compiling error if using `cocos compile/run -p android --android-studio` on Android
  163. coocs2d-x-3.14 Dec 22 2016
  164. [NEW] Add Spine binary file format support
  165. [NEW] Action: add a method to get the number of actions running in a given node with specific tag
  166. [NEW] Action: new actions: ResizeBy and ResizeTo
  167. [NEW] Button: can set title label
  168. [NEW] Can disable multi touch on Android
  169. [NEW] EventDispatcher: Add hasEventListener to check listener existance
  170. [NEW] EditBox: add horizontal text alignment
  171. [NEW] EventDispatcher: added `hasEvent()` to check if an event is added
  172. [NEW] Sprite: support slice9 feature
  173. [NEW] Slider: add methods to get _slidBallNormalRenderer
  174. [NEW] Desktop: add a method to toggle between fullscreen and windowed
  175. [NEW] Desktop: add events for window resize, focus and unfocus
  176. [NEW] Mac: supports game controller
  177. [NEW] JSB: add cc.sys.now() and perfromance.now(), the last one is more accurate
  178. [NEW] Lua: add cc.vec3 functions: add, sub and dot
  179. [NEW] Lua: use luajit 2.1.0-beta2
  180. [NEW] Web: Add cc.CONCURRENCY_HTTP_REQUEST_COUNT to control max concurrent task count for XMLHttpRequest
  181. [REFINE] Add NDEBUG for cpp template Xcode project
  182. [REFINE] DrawNode: support float line width
  183. [REFINE] EditBoxDelegate: add reason for edit end
  184. [REFINE] Improve XML parse performance
  185. [REFINE] Make batch capacity resizing more efficiently
  186. [REFINE] PageView: support custom scrollToPage time
  187. [REFINE] Lua: cc.Ray:intersects addtionally returns the distance
  188. [REFINE] Mac: system font enhancement
  189. [REFINE] Linux: build shared lib with -fPIC
  190. [REFINE] Android: use SharedPreferences.apply() to store data
  191. [REFINE] JSB: Increase default JS heap to 32 mb
  192. [REFINE] JSB: Support more system languages
  193. [REFINE] JSB: Direct log/error for better understantding problems
  194. [REFINE] JSB: Separate FinalizeHook for ref objects and non ref objects
  195. [REFINE] Web: Improve overall node construction performance
  196. [REFINE] Web: Improve overall loading process performance
  197. [REFINE] Web: Reduce overall memory usage
  198. [REFINE] Web: Made cc.LabelBMFont and cc.LabelAtlas support texture packing and auto batching
  199. [REFINE] Web: Reimplement a much faster ccui.Scale9Sprite
  200. [REFINE] Web: Reimplement a much faster cc.DrawNode WebGL renderer
  201. [REFINE] Web: Use stack to avoid recursive call in transform, onEnter, onExit etc, reduce call stack depth
  202. [FIX] AsstsManagerEx: project.manifest may be downloaded twice
  203. [FIX] AudioEngine: can not play large ogg file
  204. [FIX] AudioEngine: may have noise if playing mp3 files on iOS/Mac OS X
  205. [FIX] AudioEngine: can not play effect/music entirely on iOS and Mac
  206. [FIX] ClippingNode: effect is wrong if threshold is set to a value not equal to 1 first then set to 1
  207. [FIX] Compiling error if `USE_STD_UNORDERED_MAP == 0`
  208. [FIX] ControlSwitch::create() may cause crash
  209. [FIX] Downloader: may crash if it is released before finishing downloading task
  210. [FIX] EditBox: fix single line and multiline text alighment, now single line will be center and multiline will be top align vertically by default
  211. [FIX] EditBox: placeholder font not being set corretly for multiline text field on iOS
  212. [FIX] EditBox: doesn't show text on Mac OS 10.12
  213. [FIX] EditBox: multiline overflow bounds of box
  214. [FIX] FastTilemap: wrong effect when content scale factor is not 1
  215. [FIX] FontFreeType: crash in destructor
  216. [FIX] ImageView: wrong effect of using loadtexture() to load a ETC1 texture with alpha support
  217. [FIX] Label: wrong blending effect of outline
  218. [FIX] Label: some labels may not been shown
  219. [FIX] Label: may crash when label string is empty an the overflow is shrink
  220. [FIX] Label: possible memory leak when font size is 0
  221. [FIX] MenuItemSprite: MenuItemSprite::unselected() on a disabled item show wrong image
  222. [FIX] Node: the effect of setRotation+setSkewX is wrong
  223. [FIX] Physics3d: effect of debug draw is wrong
  224. [FIX] Renderer: indices count may overflow when drawing batching triangle commands which causes unexpected effect
  225. [FIX] RenderTexture: Sprite3D is not shown
  226. [FIX] TileMap: hexagonal map fails on TMXTiledMap::getTileAt()
  227. [FIX] TMXMapInfo: tileGid may overflow when using horizontal flip
  228. [FIX] TriangleCommand: triangle commands can't do batching when the glprogram using custom shader with custom uniforms
  229. [FIX] UI: label atlas and BMFont rendering issue with ETC1 texture format
  230. [FIX] 3D: small .mtl files are not loaded
  231. [FIX] 3D: Sprite3D::getMesh() may cause crash if it doesn't have any mesh
  232. [FIX] 3D: wrong Skybox fov
  233. [FIX] 3D: Sprite3D can't release its texture
  234. [FIX] AssetsManagerEx: Fail to decompress when sub directory is not created
  235. [FIX] ScrollView: crash of scroll to top or left
  236. [FIX] SoketIO: memory leak
  237. [FIX] iOS: Vibrate effect can not work in not silent mode
  238. [FIX] iOS: view size got with landscape orientation if run on iOS 7 and ealier
  239. [FIX] iOS: iOS 9 OpengGL error
  240. [FIX] iOS: if a scene includes 3d model with light and ListView may cause crash
  241. [FIX] Android: cause compiling error with android-19 or lower
  242. [FIX] Android: RapidJason crashes in release mode
  243. [FIX] Android: may not pause background music after game enters background
  244. [FIX] Android: adapt to Android pixel
  245. [FIX] Android: MessageBox inverted parames
  246. [FIX] Android: cause deadlock if preload the same file more than 3 times in preload callback
  247. [FIX] Android: WebView: base url can not work
  248. [FIX] Android: may crash if `AudioEngineManager.getProperty(PROPERTY_OUTPUT_FRAMES_PER_BUFFER)` returns null
  249. [FIX] Mac: Downloader can not access https website
  250. [FIX] Win32: fix crash caused by `Helper::getSubStringOfUTF8String()` in debug mode
  251. [FIX] Linux: FMOD issue
  252. [FIX] Linux: Application::openURL can not work
  253. [FIX] Desktop: crash upon exit when NotificationNode exists
  254. [FIX] Spine: color bug
  255. [FIX] Console: doesn't support `--ap` parameter
  256. [FIX] Lua: result of radian2angle is wrong
  257. [FIX] Lua: iskindof_ doesn't work correctly
  258. [FIX] Lua: new lua project crashes compiling with VS2015 release mode
  259. [FIX] Lua: ComponentLua doesn't support binary code
  260. [FIX] JSB: `jsb.addRoot is not a function` error caused by cc.GLProgramState.setUniformCallback
  261. [FIX] JSB: Fix spine TrackEntry conversion crash issue
  262. [FIX] JSB: Fix CallbackWrapper and FunctionWrapper crash during deallocation in new memory model
  263. [FIX] JSB: Fix event object memory issue by manually bind EventDispatcher::addCustomEventListener
  264. [FIX] JSB: Fix chipmunk crash issues when using setDefaultCollisionHandler
  265. [FIX] JSB: Fix compilation issues when COCOS_DEBUG = 2
  266. [FIX] JSB: Unify function name of Texture2D::releaseTexture
  267. [FIX] Web: Fix spine blend function inconsistency between web and jsb
  268. [FIX] Web: Fix particle system load from plist generated by x-studio365
  269. [FIX] Web: Fix doEnumerateRecursive(node, name, callback) always return undefined issue
  270. [FIX] Web: Change bright style on 'setEnabled' call of ccui.Widget
  271. [FIX] Web: Fix Editbox can't input in full screen mode
  272. [FIX] Web: Fix texture issue on some Android devices by always set vertexAttribPointer
  273. [FIX] Web: Make xhr ontimeout callback work on all browsers
  274. [FIX] Web: Fix clear color not normalized issue
  275. [FIX] Web: Fix clipping node rendering issue when alphaThreshold = 1
  276. [FIX] Web: Fix nested scroll view rendering issue
  277. [FIX] Web: Make orderDirty flag properly set for node
  278. [FIX] Web: Fix ccui.Slider gray state not available issue
  279. cocos2d-x-3.13.1 Sep 13 2016
  280. [FIX] Label color broken
  281. [FIX] application will crash in debug mode if don't specify a design resolution
  282. [FIX] application may crash if coming from background by clicking application icon on Android
  283. [FIX] AudioEngine can not play audio if the audio lies outside APK on Android
  284. [FIX] AudioEngine::stop() will trigger `finish` callback on Android
  285. [FIX] application will crash if using SimpleAudioEngine or new AudioEngine to play audio on Android 2.3.x
  286. [FIX] object.setString() has not effect if passing a number on JSB
  287. cocos2d-x-3.13 Aug 22 2016
  288. [HIGHLIGHT] add VR plugin
  289. [HIGHLIGHT] support ETC1 alpha channel
  290. [HIGHLIGHT] fix AudioEngine performance for Android 4.2+
  291. [HIGHLIGHT] improve canvas renderer performance with dirty region
  292. [HIGHLIGHT] add Andorid arm-64 support
  293. [HIGHLIGHT] use luajit for Android arm-64
  294. [HIGHLIGHT] switch to use gcc 4.9
  295. [HIGHLIGHT] upgrade CURL to 7.50.0
  296. [HIGHLIGHT] upgrade Spine to 3.4
  297. [HIGHLIGHT] upgrade glfw to 3.2
  298. [NEW] add `Configuration::supportsMapBuffer()`
  299. [NEW] support hexagonal tile maps
  300. [NEW] add `ListView::setScrollDuration()`
  301. [NEW] implement `SimpleAudioEngine::willPlayBackgroundMusic()` on Android
  302. [NEW] implement `AudioEngine::preload()` on Android
  303. [NEW] add `cc.Node['.classname']` to get class name for tolua C++ class in lua
  304. [NEW] support direct load in web engine to show scene without loading all resources, resources will be loaded asynchronously
  305. [NEW] add `cc.view.setOrientation` API to force orientation in web browser
  306. [REFINE] move back to use gcc 4.9 on Android to fix some crash bugs
  307. [REFINE] optimize Node sorting speed for 64-bit
  308. [REFINE] using `chrono::steady_clock()` instread of gettimeofday for FPS calculation
  309. [REFINE] use `fstat` instead of `fseek` and `ftell` for performance to read file content
  310. [REFINE] use std::string reference instead of char* for `utils::findChild()`
  311. [REFINE] make `MotionStreak` _maxPoints framerate independent
  312. [REFINE] support utf-8 bom lua script
  313. [REFINE] can show utf-8 characters in MessageBox and lua log on win32
  314. [REFINE] improve stability of new WebGL renderer provided in v3.12
  315. [REFINE] update js auto binding settings with new ndk version
  316. [REFINE] improve evalString implementation which was rely on deprecated API
  317. [REFINE] improve js bindings code quality by merging part of cocos2d-x-lite repo
  318. [REFINE] sources path in sourcemap of web engine are now relative
  319. [FIX] `GLProgram::link()` only check result in debug mode or WinRT
  320. [FIX] PageView::clone() misses cloing some member variables
  321. [FIX] potential crash of `AudioEngine::uncache()`
  322. [FIX] websocket receives package size > 1023 error
  323. [FIX] the color of underline is different from the text color
  324. [FIX] memory leak in `MenuItemToggle::create()`
  325. [FIX] crash after removing a physics body right after adding it
  326. [FIX] SpriteBatchNode crash if CC_SPRITE_DEBUG_DRAW is enabled
  327. [FIX] memory leak in `Data::move()`
  328. [FIX] crash in `EaseExpoentialOut::clone()`
  329. [FIX] buffer over-read in `GLProgram::updateUniformLocation()`
  330. [FIX] `dirty` variable incorrectly reset with a multiple camera setup causing drawing issues on Sprite
  331. [FIX] fix label text formatter right alignment
  332. [FIX] `bsd_signal` link error on Android
  333. [FIX] crash while decoding small MP3 file on Android
  334. [FIX] `AppDelegate::applicationWillEnterForeground()` is invoked at launch on Android
  335. [FIX] fix `relocation overflow in R_ARM_THM_CALL` on Android
  336. [FIX] navigation bar doesn't hide if show and dismiss keyboard on Android
  337. [FIX] `utils::getTimeInMilliseconds()` may return wrong value on Android
  338. [FiX] link error that `bsd_sinal` is not defined if building with API level 21+ and uses libwebsockets on Android
  339. [FIX] compiling error with Android 6.0(API 23)
  340. [FIX] music is not resumed when app is reactived on iOS
  341. [FIX] random crash in `alGenBuffers` at startup on iOS
  342. [FIX] can not play audio if uncache and play audio many times on iOS
  343. [FIX] `Text::create()` crash if it contains invalid string on iOS
  344. [FIX] `FileUtils::removeDirectory()` can not work on all platforms except iOS and Mac
  345. [FIX] can not compile cocos2d-x on Mac OS X 10.10 and lower
  346. [FIX] new js project link error on linux
  347. [FIX] AudioEngine can not play large ogg file on Windows
  348. [FIX] design resolution broken after minimize on desk platforms
  349. [FIX] can not get the `backClicked` in lua
  350. [FIX] `cc.convertColor` issue in lua
  351. [FIX] browser version detection
  352. [FIX] compiling error with `cocos gen-libs`
  353. [FIX] spine track entry can circle reference each other
  354. [FIX] global object can leak during restart in JSB
  355. [FIX] progress timer nested sprite can't change color in Canvas
  356. [FIX] layout refresh issue in web engine
  357. [FIX] dom element position synchronization issue in web engine
  358. [FIX] armature position shake when parent node move in web engine
  359. [FIX] rendering issue for Armature using sprite as display in bone in web engine
  360. [FIX] Scale9Sprite GRAY state isn't correct in WebGL
  361. [FIX] touch startPoint can be overwrote in web engine
  362. [FIX] syncStatus transform dirty flag isn't resetting in web engine
  363. cocos2d-x-3.12 Jul 06 2016
  364. [HIGHLIGHT] add VR support
  365. [HIGHLIGHT] add Tizen support
  366. [HIGHLIGHT] fix Android performance issue
  367. [HIGHLIGHT] Web engine performance improved in WebGL mode
  368. [HIGHLIGHT] support obb extension on Android
  369. [NEW] Core: add `utils::findChild()`
  370. [NEW] Core: add CSV format support to tile maps
  371. [NEW] Core: add `FileUtils::getContents()`
  372. [NEW] Core: cocos2d::Value supports unsigned
  373. [NEW] Particle: add feature to pause/resume particle emitter
  374. [NEW] Platform: support Windows 10 UWP x64
  375. [NEW] UI: add clamp and shrunk feature for system fonts, currently only support iOS, Android and Mac
  376. [NEW] UI: make ListView select item programmatically
  377. [NEW] UI: add `EditBox::InputFlag::LOWERCASE_ALL_CHARACTERS` to lowercase characters
  378. [NEW] UI: add `setBounce()` to WebView
  379. [NEW] Web: refactor TMXLayer renderers
  380. [NEW] Web: can force orientation in mobile browser
  381. [NEW] Web: support high resolution TTF Label on retina display
  382. [REFINE] Android: use clang instead of gcc to compile codes
  383. [REFINE] Android: hide virtual button by default
  384. [REFINE] Android: set music volume control as default
  385. [REFINE] Android: usage clang insteand of gcc to compile codes
  386. [REFINE] Audio: catch `IllegalStateException` exception to avoid crash when playing background music with SimpleAudioEngine on Android
  387. [REFINE] Core: fix many warnings
  388. [REFINE] Core: move StringUtils functions from deprecated header file to ccUTF8.h
  389. [REFINE] Core: FontFNT will ignore chars that exceeds 65535 and print a warning information
  390. [REFINE] Core: `Node::ignoreAnchorPointForPosition()` is deprecated and add `Node::setIgnoreAnchorPointForPosition()`
  391. [REFINE] Core: allow inherit from platform FileUitils
  392. [REFINE] Core: add optional alpha parameter to Color4B and Color4F
  393. [REFINE] Core: Follow action can accept horizontal and vertical offset
  394. [REFINE] Core: TMXXMLParse parse `id` element
  395. [REFINE] Lua: rename all member functions named `end()` to `endLua()`
  396. [REFINE] JSB: make selectedSprite opitional in MenuItemSprite
  397. [REFINE] JSB: return null if read failed in `js_cocos2dx_CCFileUtils_getDataFromFile()`
  398. [REFINE] Template: iOS tempalte is refined to make cocos2d-x game scene work better with other UIView
  399. [REFINE] Template: remove `build_native.sh`
  400. [REFINE] Template: ARC support on iOS and Mac OS
  401. [REFINE] UI: TTF and BMFont label wrap mode will automanytically changed to char wrap mode when label's width is less than word's boundary
  402. [REFINE] UI: UIWidget adds missing properties for clone
  403. [REFINE] UI: UIScrollBar caches the texture created with base64 encoded images
  404. [REFINE] UI: EditBox now prints lowercase letters by default
  405. [REFINE] UI: enable WebView's local storage on Android
  406. [REFINE] UI: improve EditBox implementation on WinRT
  407. [REFINE] UI: make PageView indicator more tunable
  408. [REFINE] UI: make PageView page turning event time tweak configurable
  409. [REFINE] UI: RichText is improved: add effect of outline, shadow and glow; catch the event of open url; ability to extend tags; add anchor of image tag
  410. [REFINE] 3D: skeleton animation is more efficient when two animations switch frequently
  411. [REFINE] 3rd party: update webp to 0.5.0
  412. [REFINE] Web: improve basic types to reduce memory usage
  413. [REFINE] Web: Show line number in console statements
  414. [REFINE] Web: Cache base64 image of PageViewIndicator and ScrollViewBar
  415. [REFINE] Web: Pass error in cc.AsyncPool in onEnd callback
  416. [REFINE] Web: Separate ccui.ListView event callback from ccui.ScrollView for its own events
  417. [FIX] Android: fix compiling error if using NDK r11+
  418. [FIX] Android: package name is `libcocos2dx` instead of application name if building with Android Studio
  419. [FIX] Audio: AudioEngine can not work if the file path contains not ascii code on iOS
  420. [FIX] Audio: SimpleAudioEngine::playEffect() doesn't work correctly on Linux
  421. [FIX] AssetsManager: can not work
  422. [FIX] AssetsManagerEx: use manifestUrl from remote version
  423. [FIX] Core: `FileUtils::writeValueMap()` will crash on iOS if it contains `Value::Type::None` type element
  424. [FIX] Core: `ClippgNode::setStencil()` may cause assert error if it is invoked before
  425. [FIX] Core: `TextureCache::addImageAsync()` doesn't set pixel format corretly
  426. [FIX] Core: `GL::SetBlending()` doesn't set dst correctly
  427. [FIX] Core: vertex z can not work correctly if window size changed on desktop platforms
  428. [FIX] Core: use `std::isnan()` instead of `isnan()` to fix compiling errors on some Linux platforms
  429. [FIX] Core: crash on windows when using PolygonInfo
  430. [FIX] Core: fix `libpng error: CgBI: unhandled critical chunk` error with Xcode 7.3
  431. [FIX] Core: EXC_BAD_ACCESS random crash caused by reallocation of shared indices memory
  432. [FIX] Core: memory leak of `utils::captureScreen()` on iOS and Mac OS
  433. [FIX] Core: assert error if remove an event listener twice at the same time
  434. [FIX] Core: FileUtils::getValueMapFromFile() returns wrong value if it is a number with scientific notation on Android
  435. [FIX] Core: UIGrayScale shader is not reloaded when reloading shaders
  436. [FIX] Core: `SpriteFrame::clone()` doesn't clone polygonInfo
  437. [FIX] Core: `FileUtils::createDirectory()` fails on Mac OS with sandbox
  438. [FIX] Core: `cocos2d::Value` operator overloading of comparison `==` returns wrong value in case Type::VECTOR
  439. [FIX] Core: wrong content size if minisize
  440. [FIX] Core: can not have a class named `Game` on Windows
  441. [FIX] Core: crash if load bad image on Windows
  442. [FIX] Core: custom shader uniforms and attributes do not have effect in DrawNode
  443. [FIX] Core: blend mode doesn't work with animated sprite
  444. [FIX] Core: `FileUtils::removeDirectory()` can not work correctly when the path is not end of `/` on iOS and Mac
  445. [FIX] JSB: fix some bugs related with JSB debegger
  446. [FIX] JSB: scheduler callback target lost
  447. [FIX] JSB: missing scroll widgets constants
  448. [FIX] JSB: if obj is undefined or null then attempt to access obj.__nativeObj leads to incorrect behavior
  449. [FIX] JSB: use `require()` to require the same script twice may crash
  450. [FIX] Lua: lua function is not invoked when error happens in websocket
  451. [FIX] Network: HttpClient Content-type limitation on iOS
  452. [FIX] Network: downloader crash when storage path contains spaces
  453. [FIX] Network: SocketIO crash on reconnect
  454. [FIX] Physics: PhysicsBody damping doesn't wrok
  455. [FIX] UI: EditBox may cause `java.lang.IndexOutOfBoundsException` exception on Android
  456. [FIX] UI: TextFieldTTF doesn't show password correctly
  457. [FIX] UI: RichText crash on Windows
  458. [FIX] UI: EditBox can not use custom font on Android
  459. [FIX] UI: can not use TTF font on Android
  460. [FIX] RenderTexture: `setOpacity()` has not effect
  461. [FIX] 3D: `Sprite3D::createNode()` may not work correctly with particular model data
  462. [FIX] Web: `getParentToNodeTransform` doesn't return result
  463. [FIX] Web: remote image without extension in url can't be loaded as image
  464. [FIX] Web: nested clipping nodes rendering issue in WebGL render mode
  465. [FIX] Web: IMEDispatcher can't work in mobile Chrome
  466. cocos2d-x-3.11.1 May 27 2016
  467. [HIGHLIGHT] Supports IPv6-only network
  468. [FIX] Fix `cocos gen-libs` compiling issue
  469. cocos2d-x-3.11 May 11 2016
  470. [HIGHLIGHT] Physics: upgrade chipmunk to v7.0.1
  471. [HIGHLIGHT] JS: new memory model, don't have to use retain/release in JS
  472. [HIGHLIGHT] Curl: upgrade to v7.48
  473. [HIGHLIGHT] OpenSSL: upgrade to 1.0.2g
  474. [HIGHLIGHT] JS: can use Firefox 30+ and VSCode to debug cocos2d-x JSB programs
  475. [NEW] JS: web console is enabled debugging JSB projects via firefox
  476. [NEW] UI: add a setter for touch total time threshold in ScrollView
  477. [NEW] UI: add ability to get font family
  478. [NEW] UI: add xml support in RichText
  479. [NEW] UI: add ability to stop auto scrolling in ScrollView
  480. [NEW] UI: EditBox supports multiline on Mac
  481. [NEW] UI: Scale9Sprite allows to set custom shaders
  482. [NEW] UI: ImageView allows to set custom shaders
  483. [NEW] UI: TextFiled supports cursor
  484. [NEW] FileUtils: add missing getFileSize() for winrt
  485. [NEW] Network: close websocket connection by dispatching a resetDirector event
  486. [NEW] Tool: cmake supports on Android
  487. [REFINE] Network: upgrated to latest libwebsockets, add more callbacks and bugs fixed
  488. [REFINE] Network: replace char* with std::string in HttpRequest
  489. [REFINE] Renderer: TriangleCommand and QuadCommand are merged
  490. [REFINE] 2D: SpriteFrameCache takes pixelFormat into account if specified
  491. [REFINE] UI: let ScrollView swallow touch events by default
  492. [REFINE] JSB: make selectedSprite optional
  493. [FIX] JS: firefox v30+ can not debug cocos2d-x JSB projects
  494. [FIX] UI: can not get event when PageView was turning
  495. [FIX] UI: bitmap font sizes are not loaded from binary .fnt files
  496. [FIX] UI: some fonts were rendered incorreclty
  497. [FIX] Action: TargetedAction::isDone() always return false
  498. [FIX] Action: Repeat: will run actions more than speicific times, instant action will run one frame later
  499. [FIX] 2D: drawing in incorrect app state on iOS
  500. [FIX] Platform: FileUtils::getValueVectorFromFile() returns wrong value on iOS and Mac
  501. [FIX] Network: downloader crashed when storage path contains spaces on iOS
  502. [FIX] Network: downloader may crash on Android
  503. [FIX] HTTPAsyncConnection: crash when custom SSL certification is set on iOS
  504. [FIX] AssetsManagerEX: will stuck at UPDATING forever if last task fails
  505. [FIX] AssetsManagerEX: may repeatly update some assets and cause file write conflict
  506. [FIX] Lua: fix display.wrapScene()
  507. cocos2d-x-3.10 Jan 11 2016
  508. [HIGHLIGHT] UI: Rewrite Scale9Sprite and improve the scale9sprite performance and reduce memory consumption.
  509. [HIGHLIGHT] UI: Change PageView to derive from ListView.
  510. [NEW] Core: Added Application::getVersion() to get the app version.
  511. [NEW] UI: Add PageView indicator.
  512. [NEW] UI: Label add three Overflow type to new label, see release note for more information.
  513. [NEW] UI: UIText::clone supports clone the text effect.
  514. [NEW] Label: Add methods to query label effect state.
  515. [NEW] UI: UIRichText support the new line element.
  516. [REFINE] 3rd party: WebP loading improvements WebP loaded as premultiplied alpha if it has.
  517. [REFINE] UI: Slider `setCapInsetProgressBarRebderer` change to `setCapInsetProgressBarRenderer`.
  518. [REFINE] UI: RichText support new line element.
  519. [REFINE] UI: Set focus to Widget when touched.
  520. [REFINE] 3D: Change char* to string in Terrain.
  521. [REFINE] Studio: Merge Studio ActionTimeLine change back into engine.
  522. [REFINE] Studio: Merge Studio changes for compatible withe 32bit Mac System.
  523. [REFINE] Studio: Merge Studio changes for lua-binding, js-binding and simulator.
  524. [REFINE] Mac: Make engine compatible for 32bit Mac.
  525. [REFINE] 3rd party: WebP loading improvements WebP loaded as premultiplied alpha if it has.
  526. [REFINE] Audio: AudioEngine on Linux replace the original SimpleAudioEngine with a new version of FMOD, now AudioEngine support all platforms!
  527. [REFINE] IOS: Add virtual keyword for some render related function.
  528. [REFINE] UI: Fixes boring deprecated warning in HttpRequest.
  529. [REFINE] Network: Fix Downloader bug on iOS & Android platform.
  530. [REFINE] Studio: Fix deprecation warning in SkeletonRenderer.
  531. [REFINE] JS: Add js test case for fix, improve template.
  532. [REFINE] Network: Permit http access to cocos2d-x.org in test projects on iOS.
  533. [REFINE] Network: Crash when removing a remotely downloaded image from texture cache in js-binding.
  534. [REFINE] Win10: WinRT project update version to v3.10.
  535. [REFINE] Console: Add quiet option for Cocos Toolkit.
  536. [REFINE] JS: New GC model for js-binding.
  537. [REFINE] Doc: Fix typos in documentation and comments.
  538. [REFINE] UI: update controlButton size calculate with new Scale9Sprite logic.
  539. [REFINE] Win10: Added missing _USRJSSTATIC preprocessor define for ARM builds.
  540. [REFINE] JS: Added ccvector_to / ccmap_to converted to new js-binding API.
  541. [REFINE] UI: Slider misprint fix.
  542. [FIX] Network: fix possible websocket crash in its destructor.
  543. [FIX] Core: Fix premultiplyAlpha for mipmaps and compressed textures.
  544. [FIX] UI: Fix Scale9sprite rendering error when content size smaller than the sum of leftInset and rightInset.
  545. [FIX] Win32: Fix EditBox crash when removing an EditBox in a scheduler.
  546. [FIX] Android: Fix cannot add view to mFrameLayout when extends Cocos2dxActivity.
  547. [FIX] 2D: Fixed actionNode set at wrong position bug.
  548. [FIX] 3D: Fix the movement of PUParticle lags one frame.
  549. [FIX] UI: Fix the wront argument of setPlaceholderFontName in EditBox.
  550. [FIX] UI: Fix EditBox editBoxEditingDidEnd may use the original text after change the text of EditBox in user script.
  551. [FIX] Audio: Fix `FinishCallback` never be called in Windows.
  552. [FIX] UI: Fix Layout stencil clipping nested with Clipping Node rendering issue.
  553. [FIX] UI: Keyboard doesn't hide when click the screen outside of EditBox on iOS platform.
  554. [FIX] UI: Fix a fatal bug in EditBox implement on Windows platform.
  555. [FIX] UI: Fix edit box setPlaceholderFontName and scale font size issue.
  556. [FIX] Core: Fix memory leak when initWithImage() failed.
  557. [FIX] Network: CCDownloader on iOS is broken in v3.9 js-binding.
  558. [FIX] JS: Bindings fixes for Menu, Sprite and Label.
  559. [FIX] Studio: Remove weak reference in ActionNode.
  560. [FIX] UI: shouldStartLoading method should return value to js in js-binding.
  561. [FIX] UI: Fix scrollview render error.
  562. [FIX] JS: Fix win32 js project crash issue.
  563. [FIX] UI: Button touch doesn't work with scale9 enabled.
  564. [FIX] JS: Fix evalString doesn't return result issue.
  565. [FIX] JS: Fix ComponentJS proxy management issue in JSB.
  566. [FIX] Android: Fix include in cocos network module.
  567. [FIX] Network: Fix web socket crash.
  568. [FIX] UI: Fix TextField missing default password style text setting.
  569. [TEST] S9SpriteTest: Scale9Sprite fade actions with cascade opacity.
  570. [TEST] Web: Remove default focus block from UIFocusTestVertical.
  571. [TEST] Lua: Fix pageViewTest Horizontal scroll won't work in Lua-test.
  572. cocos2d-x-3.9 November.09 2015
  573. [NEW] Label: Added line spacing/leading feature to Label.
  574. [NEW] ListView: Added APIs to scroll to specific item in list.
  575. [NEW] ListView: Added APIs to get an item in specific position like center, leftmost, rightmost, topmost and bottommost.
  576. [NEW] ListView: Added a feature for magnetic scrolling.
  577. [NEW] Animate: Added ActionTimeline::setAnimationEndCallBack and ActionTimeline::addFrameEndCallFunc.
  578. [NEW] Animate: Added CSLoader::createNodeWithVisibleSize, CSLoader::createNodeWithVisibleSize and moved "ui::Helper::DoLayout" into them.
  579. [NEW] Studio: Added Light3D support for Cocos Studio.
  580. [NEW] Platform: Added the missing CURL support to the Windows 10 UWP version.
  581. [NEW] Platform: Added UIEditBox support on linux platform.
  582. [REFINE] 3D: Added non-null checks in PUScriptCompiler::visit before dereferencing.
  583. [REFINE] 3D: Refined SkyboxBrush by making the shader parameter take effect at once.
  584. [REFINE] Label: Changed label font size type to float to support high precision when font size is small.
  585. [REFINE] ListView: Fixed an issue that list view's Magnetic::CENTER is not working well when non-bounceable.
  586. [REFINE] ListView: Added feature of jumping to a specific item in list view.
  587. [REFINE] Sprite: Added "a unsupport image format!" log when creating a sprite in CCImage.cpp.
  588. [REFINE] ScrollView: Merge logics of Scroll View for scroll by inertia and auto scroll into one.
  589. [REFINE] Animate: Moved initialization of image to an appropriate location, because it always called twice in SpriteFrameCache::addSpriteFramesWithFile().
  590. [REFINE] Simulator: Changed the size of startFlag to 13.
  591. [REFINE] Simulator: Show Node and Skeleton in the middle of the simulator.
  592. [REFINE] Simulator: Removed screen direction check in simulator to avoid render error.
  593. [REFINE] Pysics: Refined components to improve physics performance.
  594. [REFINE] UI: Refined ComponentContainer to improve performance.
  595. [REFINE] UI: EventListenerMouse will dispatch EventMouse events.
  596. [REFINE] OpenGL: Added check for glfwCreateWindow.
  597. [REFINE] Platform: Fixed a crash on xiaomi2 if Cocos2d-x is built as a dynamic library.
  598. [REFINE] Platform: Updated libcococs2d name to v3.9 on WinRT platforms.
  599. [REFINE] Platform: Added some support for mouse on WinRT. Include: Show/Hide mouse cursor; Mouse event implemented similar Desktop version; Left button send mouse event and touch; Support other mouse button and scroll wheel.
  600. [REFINE] Platform: Correct the convertion between unicode and utf8 on WinRT.
  601. [REFINE] Platform: Improved EditBox implement on Win32 platform.
  602. [REFINE] JS: Add jsb.fileUtils.writeDataToFile().
  603. [REFINE] JS: Set js templates Mac target platform from null to 10.7.
  604. [REFINE] JS: Removed the static define of variable in headfile of ScriptingCore.
  605. [REFINE] Lua: Added AssetsManagerEx constants UPDATE_FAILED and ERROR_DECOMPRESS in Lua.
  606. [REFINE] Lua / JS: Refined lua/js binding tool.
  607. [REFINE] I/O: Refined AssetsManagerEx unzipping by using async.
  608. [REFINE] Web: Improved logic of jsb_boot.js to sync with the web engine behavior.
  609. [REFINE] Web: Sync with CCBoot for web.
  610. [REFINE] Build: Fixed various compiler warnings on Xcode 7.
  611. [REFINE] Build: Fixed Wformat-security warning on Xcode.
  612. [REFINE] Build: Fixed a compile error in __LayerRGBA.
  613. [REFINE] Tool: Added tools for generating documents automatically.
  614. [REFINE] Doc: Clean up the code of setRect() function.
  615. [REFINE] Doc: Fixed a minor typo and renamed INTIAL_CAPS_ALL_CHARACTERS to INITIAL_CAPS_ALL_CHARACTERS in UIEditBox.
  616. [FIX] 3D: Fixed a bug that obb did not rotate with Sprite3d.
  617. [FIX] 3D: Corrected spot light init value.
  618. [FIX] 3D: Added the missing CCMotionStreak3D files.
  619. [FIX] 3D: Fixed a bug in CCPhysics3DComponent.cpp that oldBool is set with a wrong value.
  620. [FIX] 3D: Fixed shader light parameter bug that caused for that all the mesh share light parameter.
  621. [FIX] Sprite: Fixed a bug that CC_SPRITE_DEBUG_DRAW did nothing in Cocos2d-x.
  622. [FIX] Button: Fixed an issue that when image size of variable button status texture are different, Helper::restrictCapInsetRect result may stop the pressed & disabled status picture from loading.
  623. [FIX] Font: Fixed a crash bug in destructor of FontFreeType.
  624. [FIX] Label: Removed scale factor for label shadow.
  625. [FIX] Label: Added missing override keyword.
  626. [FIX] LoadingBar: Fixed a crash bug in LoadingBar.
  627. [FIX] ScrollView: Removed ScrollView::_innerContainer pointer copy.
  628. [FIX] Particle: Fixed a bug of nomalize_point which caused particle rendering error.
  629. [FIX] Tilemap: Fixed a TMXLayer bug: When using float values (for example the actual position of the character) to get the current tile, the wrong tile is sometimes/usually returned.
  630. [FIX] Animate: Fixed a crash bug when csb file is broken.
  631. [FIX] Animate: Fixed a bug that a same frame index is inserted after animation speed is scaled.
  632. [FIX] Animate: Fixed bug in v1.6 that bone animation crashed when performing getBoneAtPoint(0,0).
  633. [FIX] Animate: Fixed crash when recall a cached timeline after scene exited.
  634. [FIX] Animate: Fixed debug-config crash if a FrameBuffer has no RenderTargetDepthStencil.
  635. [FIX] UI: Fixed an image bug caused by the _hasPremultipliedAlpha field.
  636. [FIX] UI: Added missing getChildByTag<>() API.
  637. [FIX] UI: Fixed a bug in Widget::isClippingParentContainsPoint: _hittedByCamera may be null.
  638. [FIX] UI: Fixed a bug that cocos2d::Map may cause Dangling Pointers when inserting Ref Object which already exist in the Map.
  639. [FIX] UI: Fixed a bug in Scheduler which may case Force Close.
  640. [FIX] OpenGL: Fixed a bug of ui::WebView callback operate in OpenGL.
  641. [FIX] Performance: Fixed a bug that NotificationNode was not entered and exited.
  642. [FIX] Renderer: Fixed a bug that Material::clone failed to set the parent correctly.
  643. [FIX] Simulator: Fixed a bug that when scene was set to a very large size(eg. 2048x1536), the simulator window was out of screen.
  644. [FIX] Simulator: Fixed a compilation issue about simulator on Android x86.
  645. [FIX] Skeleton: Removed redundant interface in CCSkeletonNode.
  646. [FIX] Studio: Fixed a bug about Cocos Studio GUItest that MoveBy vertical direction under lua test project cannot scroll back to page 1 from page 2.
  647. [FIX] Studio: Hide menu "cocostudio 2.1" for JSON exported from Cocos Studio 2.x is not supported in CocoStudio 1.6.
  648. [FIX] Studio: Fixed bug that when create project from template, the app name of android-studio project is not changed.
  649. [FIX] Platform: Fixed a bug that Android activity destroyed after reopening the app.
  650. [FIX] Platform: Fixed a crash bug of AudioPlayer in Win32.
  651. [FIX] Platform: Fixed an error about Chinese input in textfield with specific IME on Android.
  652. [FIX] Platform: Fixed missing image asset in Win10 UWP manifest.
  653. [FIX] Platform: Fixed Windows 10 UWP app manifest by correcting image asset paths.
  654. [FIX] Platform: Fixed a bug that FileUtils::GetFileSize can't treat multi-char path.
  655. [FIX] Platform: Fixed a bug of loading pluginx lib when compile Android with --compile-script flag.
  656. [FIX] Platform: Fixed a crash bug caused by integer overflow in Device::getTextureDataForText on iOS.
  657. [FIX] Platform: Fixed the broken v3 Win10 UWP build by removing CCComponentPhysics2d files from the libcocos2d project.
  658. [FIX] Platform: Fixed travis-scripts/before-install.sh.
  659. [FIX] Platform: Fixed a bug in FileUtilsWin32::removeDirectory when the file begins with ".".
  660. [FIX] Platform: Corrected the keyboard codes for Desktop and WinRT.
  661. [FIX] JS: Fixed a freeze bug of playing animation in JS projects.
  662. [FIX] JS: Fixed build_native for JS default template.
  663. [FIX] JS: Fixed wrong number of param in Place and RotateTo.
  664. [FIX] Lua: Fixed a bug of luabinding enumerateChildren.
  665. [FIX] Web: Fixed wrong callback setting for webview:setOnDidFailLoading in Lua.
  666. [FIX] Web: Fixed life control for XMLHttpRequest.
  667. [FIX] Web: Fixed WebView lua-bind method name.
  668. [FIX] Build: Fixed msbuild by removing incorrect AppxBundle properties from project.
  669. [FIX] Build: Fixed the Enable_Bitcode compile error on Xcode 7.
  670. [FIX] Build: Fixed compile error for new project created by template.
  671. [FIX] Changed some delete operations to be deletions of arrays where applicable.
  672. [FIX] Changed some "free" operations to "delete" where memory was allocated with "new"."
  673. [FIX] Revert "remove CCClippingRectangleNode transform error support.".
  674. [TEST] 3D: Fixed a bug that lua Scene3DTest "back" button did not work.
  675. [TEST] Button: Added a testcase of Button opacity settings.
  676. [TEST] PageView: Fixed a bug that UIPageViewVerticalTest in cpp-test failed to scroll back to page 1.
  677. [TEST] Particle: Fixed a bug that particle test under lua has different display effects in different platforms.
  678. [TEST] Scale9Sprite: Added a test case of opacity/color cascade for Scale9Sprite.
  679. [TEST] Scale9Sprite: Added testcase for s9sprite action.
  680. [TEST] ScrollView: Added testcase for multiple items in ScrollView.
  681. [TEST] SliderBar: Fixed bug of slider bar that it doesn't refresh percentage value under project cpp-test.
  682. [TEST] SliderBar: Fixed a crash bug in "Scheduler->Scheduler ttimeScale Test" when drag slider to left then click the middle of slider bar.
  683. [TEST] Animate: Added custom spine skeletonAnimation testcase.
  684. [TEST] UI: Added DrawLabel Mode testcase.
  685. [TEST] UI: Fixed a bug that Node:Text Input test in cpp-tests touch detection is wrong.
  686. [TEST] UI: Improved UItestcase modification to make it user friendly.
  687. [TEST] Physics: Fixed a bug that quickly click mouse in "41:Node:Physics -> 6:joints" in cpp-test may cause program crash.
  688. [TEST] Studio: Fixed a crash bug of Cocos Studio 3d test under lua test project.
  689. [TEST] Platform: Solved the crash of performance-tests on Windows.
  690. [TEST] Debug: Fixed a bug that RefPtr test wasn't executed even in debug build.
  691. [TEST] JS: Fixed crash bug when click "remove ui" in "native test-JSBExtendTest" under project js-test.
  692. [TEST] JS: Updated testcase in js-test to show notificationNode to runAction.
  693. cocos2d-x-3.8.1 September.17 2015
  694. [HIGHLIGHT] platform: Supported Xcode 7 for iOS 9 deployment
  695. cocos2d-x-3.8 final September.6 2015
  696. cocos2d-x-3.8 rc0 August.26 2015
  697. cocos2d-x-3.8 beta0 August.14 2015
  698. [HIGHLIGHT] 3D: Added 3d physics collider
  699. [HIGHLIGHT] 3D: Supported setting camera background brushes with color/depth/skybox
  700. [HIGHLIGHT] 3D: Added key frame event Callback in Animate3D
  701. [HIGHLIGHT] FileUtils: Added a set of file writing APIs: writeStringToFile, writeDataToFile, writeValueMapToFile, writeValueVectorToFile
  702. [HIGHLIGHT] UI: Refined UI system
  703. [HIGHLIGHT] UI: Added RadioButton widget (JSB/Lua ready)
  704. [HIGHLIGHT] UI: Reimplemented and enhanced EditBox on Android: display cursor; support copy, cut, paste and select actions; support multi-line input; pretty adjustment when virtual keyboard shown
  705. [HIGHLIGHT] JS: Bound new AudioEngine in JSB
  706. [HIGHLIGHT] JS: Merged JSB test project into cocos2d test project
  707. [HIGHLIGHT] network: Upgrade SocketIO support to v1.x
  708. [HIGHLIGHT] tools: Optimize Bindings Generator
  709. [HIGHLIGHT] Label: Added HANYI FullType font support
  710. [NEW] 3D: Added light map support in Terrain
  711. [NEW] UI: Added ScrollViewBar for displaying a scroll bar at the side of ScrollView (JSB/Lua ready)
  712. [NEW] UI: Enhanced ScrollView with easing out scrolling
  713. [NEW] UI: Added PageView vertical scroll support
  714. [NEW] UI: Added PageView::JumpToPage API
  715. [NEW] UI: Added a setter for line width in DrawNode
  716. [NEW] Action: Permitted setting bitwise flags to action
  717. [NEW] Animate: Added Animate's getCurrentFrameIndex function
  718. [NEW] FileUtils: Added FileUtils::getFileExtension for getting file's extension name
  719. [NEW] Device: Added vibrate support to enable vibration for a duration
  720. [NEW] audio: AudioEngine supported audio preloading
  721. [NEW] UserDefault: Supported removing key pairs from UserDefault
  722. [NEW] spine: Supported Spine runtime 2.3 (Both native and web engine)
  723. [NEW] JS: Added auto binding for BlendFuncFrame
  724. [NEW] console: Supported new portrait projects from templates
  725. [NEW] console: Moved the framework-compile tools into cocos2d-console
  726. [NEW] framework: Support generate prebuilt libs of engine with debug mode
  727. [NEW] Supported Xcode 7
  728. [REFINE] 3D: Supported composite 2D/3D scene by moving UI and camera far away
  729. [REFINE] 3D: Improved Particle3D performance
  730. [REFINE] 3D: Made SkyBox not transparent
  731. [REFINE] 3D: Enable depth write for SkyBox
  732. [REFINE] 3D: Enable depth write for transparent object
  733. [REFINE] 3D: Set depth test function of Skybox brush to always
  734. [REFINE] renderer: Enabled blending all the time for 2D render queue
  735. [REFINE] Director: Made types to handle time consistent by modifing setAnimationInterval argument from double to float
  736. [REFINE] Sprite: Made Sprite::setTexture accept nullptr as parameter
  737. [REFINE] TextureCache: Made addImageAsync function thread safe
  738. [REFINE] Label: Improved code readability
  739. [REFINE] Label: Supported adding child nodes in Label
  740. [REFINE] Label: Refine the implementation about text layout and support debug draw
  741. [REFINE] Label: Supported auto batch with bitmap font or char map
  742. [REFINE] UI: Improved Slider's precision
  743. [REFINE] UI: Made Label and Text share the same fontSize type
  744. [REFINE] UI: Reduced memory usage in Text
  745. [REFINE] UI: Refined scroll event dispatching for ScrollView
  746. [REFINE] UI: Made EditBox::setFontSize not rely on font name property
  747. [REFINE] UI: Made viewport constructor more compile friendly
  748. [REFINE] UI: Improved event handling in TextField
  749. [REFINE] studio: Avoid CSLoader from openning csb file multiple times with fopen
  750. [REFINE] studio: Added BlendFrame support to Skeleton Animation
  751. [REFINE] studio: Enabled blendfunc cascade to the skin of BoneNode
  752. [REFINE] studio: Update reader with parse logic for valid attribute of SkyBox
  753. [REFINE] FileUtils: Remove old path while adding existing search path
  754. [REFINE] Device: Implemented Device::getDPI for Mac
  755. [REFINE] network: Refine NSLog in HttpAsynConnection in release mode
  756. [REFINE] network: Fixed a problem where WebSocket messages may pile up
  757. [REFINE] utils: Made utils::captureScreen saving file in another thread to improve the performance
  758. [REFINE] 3rd party: Update Nibiru SDK to 2.6
  759. [REFINE] platform: Correct all usage of unicode version winapi in FileUtils for win32
  760. [REFINE] JS: Supported new construction for 3d classes in JS
  761. [REFINE] JS: Automatically add extend to need to extend classes in bindings generator
  762. [REFINE] JS: Made UI classes safely extendable in JSB
  763. [REFINE] JS: Improved NodeGrid binding
  764. [REFINE] JS: Refine performance for Cocos Studio JSON parser for 2.x
  765. [REFINE] JS: Made binding functions accept null in JS and convert to nullptr
  766. [REFINE] web: Avoid re-bake the content when the parent node's position get changed
  767. [REFINE] web: Solved repeat loading same resource issue when parsing cocos studio project
  768. [REFINE] web: Added GameNodeObjectData and GameLayerObjectData in JSON parser
  769. [REFINE] web: Updated skeleton animation to the latest version
  770. [REFINE] web: Optimized resources automatic loading in JSON parser
  771. [REFINE] web: Avoid cc.loader resource loading being terminated while encounter errors
  772. [REFINE] web: Throw new Error object instead of error message string
  773. [REFINE] web: Move setDepthTest to renderer
  774. [REFINE] web: Added BlendFuncFrame parser
  775. [REFINE] web: Permitted webp image loading on Chrome
  776. [REFINE] web: Suspended the video player when the browser is minimized
  777. [REFINE] framework: Optimized the lua & js templates
  778. [REFINE] simulator: Made Node, Skeleton needs shown in the middle of the simulator window
  779. [REFINE] Removed EMSCRIPTEN support
  780. [REFINE] Added template project daily build in Jenkins-ci
  781. [REFINE] Removed unused tool gen-prebuilt
  782. [REFINE] Removed deprecated API in templates
  783. [FIX] 3D: Fixed Effect3DOutline issue when the Sprite3D is mirrored
  784. [FIX] 3D: Fixed issue that Sprite3D::getAABBRecursively does not get AABB of Nodes with Sprite3d children
  785. [FIX] 3D: Fixed Menu unusable in 3D scene
  786. [FIX] renderer: UI component can't click correctly by moving UI and camera far away of origin
  787. [FIX] renderer: ListView in Camera with custom mask isn't visible
  788. [FIX] renderer: Temporary fix for Sprite/Label/FastTMX auto-culling failure
  789. [FIX] renderer: Fixed shader issue by reloading shader when light number changed
  790. [FIX] Scheduler: Fixed timer's delta time is error when interval equals to zero
  791. [FIX] Scheduler: Fixed Pause/Resume act incorrectly
  792. [FIX] Scheduler: Fixed the callback will be executed multiple times if the value of delay parameter equal zero
  793. [FIX] Node: Fixed issue that euler angle is NaN when update Euler angle from quaternion and asin value is not between -1 and 1 by accident
  794. [FIX] Scene: Fixed bug that can't add custom member to Scene subclass
  795. [FIX] Sprite: Fixed some warnings and a related bug in CCSprite
  796. [FIX] AutoPolygon: Fixed copy construct & assignment operator memory leakage
  797. [FIX] SpriteBatchNode: Touch screen might cause rendering order disorder when the screen have numerous sprites
  798. [FIX] SpriteBatchNode: Fixed SpriteBatchNode doesn't support setFlipped
  799. [FIX] event: Fixed EventDispatcher wrong dispatch order bug
  800. [FIX] event: Fixed EventListenerKeyboard.onKeyPressed not firing for back button on Android
  801. [FIX] FileUtils: Fixed bug that FileUtils::isDirectoryExist result is not correct on Android while using relative path in 'assets'
  802. [FIX] Action: Fixed bug that CCTargetedAction executes callback twice
  803. [FIX] audio: Fixed playing new audio after stopping an incessant(loop) audio may fail on MAC/iOS
  804. [FIX] audio: Fixed bug that playing audio may fail(error code:-1) on iOS
  805. [FIX] audio: Fixed AudioEngine possible crash on iOS/Mac while playing multiply audio
  806. [FIX] Label: Fixed rendering LabelTTF characters as black boxes on Android by ensuring atlases are purged before resetting
  807. [FIX] Label: Fixed bug that characters are displayed incorrectly with "dark roast.ttf" font
  808. [FIX] Label: Fixed opacity setting is invalid with bitmap font
  809. [FIX] Label: Fixed the color of letter will be overridden by fade action
  810. [FIX] Label: Fixed Label with some specific font is cropped
  811. [FIX] Label: Fixed the content size of Label is incorrect with GLOW effect
  812. [FIX] Label: Fixed spaces is lost if label created with Fingerpop.ttf
  813. [FIX] Label: Fixed Label::getLetter(index)->setVisible(true) cause rendering duplicate letters
  814. [FIX] Label: Fixed Label::setGlobalZOrder invalid issue if label create with system font
  815. [FIX] UI: Fixed issue that Slider::addEventListener doesn't respect the button pressed and button release event
  816. [FIX] UI: Fixed bug that UI component can't be clicked correctly by moving UI and camera far away of origin
  817. [FIX] UI: Fixed inertial scrolling for CCScrollView
  818. [FIX] UI: Fixed bug that ListView::getCurSelectedIndex may cause out of range issue
  819. [FIX] UI: Fixed PageView scrollToPage bug and the curPageIndex bug
  820. [FIX] UI: Fixed game scene displays wrongly while clicking EditBox
  821. [FIX] UI: Fixed RichText layout cause infinite loop issue
  822. [FIX] UI: Fixed formarRenderers in RichText doesn’t update container size
  823. [FIX] UI: Fixed TextField hitTest not working as expected issue
  824. [FIX] UI: Fixed Widget::setHighlighted does not work after setBright
  825. [FIX] UI: Fixed Button touch doesn't work with setScale9Enabled
  826. [FIX] UI: Fixed calculation error of Layout viewing area's clipping position in SCISSOR mode
  827. [FIX] UI: Fixed logic error in isMaxLengthEnabled handling invoked by TextField::setString
  828. [FIX] UI: Fixed improper touch intercept event propagation in UI system
  829. [FIX] UI: Fixed EditBox input maxLength for Chinese character issue on iOS
  830. [FIX] UI: Fixed EditBox turning black when soft keyboard hiding
  831. [FIX] UI: Fixed scrollview innerContainer initial position error
  832. [FIX] UI: Fixed issue that Slider create function is not taking account of res type (TextureResType)
  833. [FIX] Scale9Sprite: Fixed Scale9Sprite default capInset bug
  834. [FIX] Scale9Sprite: Fixed issue that Scale9Sprite draw extra 1 pixel when creating from spritesheet
  835. [FIX] studio: Removed "using namespace cocos2d" from CCFrame.h
  836. [FIX] studio: Fixed the SkyBox display error while parsed from editor files
  837. [FIX] studio: Fixed userCamera flag error while parsing old version exported files
  838. [FIX] studio: Fixed GameNode3DReader parse failed error
  839. [FIX] studio: Fixed crash when loading cocostudio json files with null or empty fontName
  840. [FIX] studio: Fixed bug that setColor works on a whole armature, but not on an individual bone
  841. [FIX] studio: Fixed object size error while data is error
  842. [FIX] studio: Fixed issue that bone's color and opacity cannot cascade to bone
  843. [FIX] studio: Fixed issue that bone can be see by other cameras
  844. [FIX] ClippingNode: Removed CCClippingRectangleNode transform error support
  845. [FIX] spine: Fixed the position of debug draw of bones is incorrect
  846. [FIX] spine: Fixed memory leak caused by SkeletonRenderer::initialize
  847. [FIX] network: Fixed Downloader::getHeader failure on win32
  848. [FIX] AssetsManagerEx: Fix AssetsManager crash by protecting Downloader with shared_ptr
  849. [FIX] RenderTexture: Fixed RenderTexture switch foreground to background issue
  850. [FIX] Physics: Fixed circle shape debug draw incorrect issue
  851. [FIX] Physics: Fix transform issue of PhysicsSprite itself and its children
  852. [FIX] tilemap: Fixed small errors in the function TMXXMLParser::getRectForGID
  853. [FIX] tilemap: Fixed crash caused by creating TMX object when related image file is missing or broken
  854. [FIX] effect: Fixed PageTurn3D effect abnormal
  855. [FIX] ProgressTimer: Fixed SpriteProgressToRadialMidpointChanged bug
  856. [FIX] log: Fixed crash on Windows if passing string more than 16kb to cocos2d::log
  857. [FIX] utils: Fixed utils::captureScreen bug while using multiple camera
  858. [FIX] JS: Fixed issue of iOS/JS reflection `callStaticMethod` with bool arg
  859. [FIX] JS: Fixed Objective-C JS reflection bug while using callStaticMethod() with bool argument
  860. [FIX] JS: Fixed issue that subclass of ccui.Widget which overwrote onEnter will cause infinite recursion
  861. [FIX] JS: Fixed Node color property can not be used issue
  862. [FIX] JS: Fixed issue that SocketIO events don’t get fired when compile mode set to release
  863. [FIX] JS: Added the conversion for tmxTileFlags to fix TMXLayer::tileFlagsAt binding issue
  864. [FIX] JS: Fixed jsval_to_int and jsval_to_uint issue on 64 bit system
  865. [FIX] Lua: Fixed onTouch begin don't return value
  866. [FIX] Lua: Fixed memory leak in LuaMinXmlHttpRequest
  867. [FIX] Lua: Fixed checkbox Lua bindings issue
  868. [FIX] Lua: Fixed logic issue in cc.pIsSegmentIntersect
  869. [FIX] platform: Fixed issue that getStringUTFChars can not passing emotion from java to c++ on Android
  870. [FIX] platform: Fixed bug that paused game will be awaked by the Clock on Android
  871. [FIX] platform: Fixed bug that Cocos2dxHelper won't be initialized after activity recreate
  872. [FIX] platform: Fixed clipping node doesn't work on Android 5.0
  873. [FIX] platform: Fixed blur shader compliant on win8 universal
  874. [FIX] platform: Fixed the error when compiling android project with release mode on Windows
  875. [FIX] platform: Fixed issue that depth/stencil buffers attributes are ignored on iOS
  876. [FIX] platform: Fixed engine crash because of wrong initialisation on some android device
  877. [FIX] platform: Removed unneeded protocol for AppController on iOS
  878. [FIX] platform: Fixed link errors in release mode on win32
  879. [FIX] platform: Fixed Windows 10 UWP and WP8.1 app certification issue
  880. [FIX] platform: Fixed Android app occasionally freeze issue caused by Cocos2dxRenderer.nativeOnResume() is not called when the activity is resumed
  881. [FIX] web: Fixed a bug that VideoPlayer remove event throw error
  882. [FIX] web: Fixed Armature position error in studio JSON parser
  883. [FIX] web: Fixed default clearColor error in director
  884. [FIX] web: Fixed rotation value parsing error in the timeline parser
  885. [FIX] web: Fixed a bug that nested animation may be affected by outer animation
  886. [FIX] web: Made LabelAtlas ignoring invalid characters and updating correctly the content size
  887. [FIX] web: Fixed a bug that VideoPlayer remove event throw error
  888. [FIX] web: Fixed a bug that cc.director.setNotificationNode(null) doesn't take effect
  889. [FIX] web: Fixed texture rect update issue while changing sprite frame
  890. [FIX] web: Fixed effect issue in ActionGrid and NodeGrid
  891. [FIX] web: Fixed logic issue in Menu's _onTouchCancelled function
  892. [FIX] web: Fixed MenuItem crash when normal image is null
  893. [FIX] web: Fixed CCTouch's startPoint unset issue
  894. [FIX] web: Fixed incomplete fadeout effects
  895. [FIX] web: Fixed issue that return value of cc.screen.fullScreen is not boolean
  896. [FIX] web: Fixed a bug that SkeletonNode is not drawing children
  897. [TEST] 3D: Avoid to trigger touch event multiple times in Physics3D Test and Physics3D Constraint Test
  898. [TEST] 3D: Fixed Sprite3D test background to foreground bug
  899. [TEST] renderer: Added auto culling test case
  900. [TEST] renderer: Fixed material parsing test on wp8.1
  901. [TEST] OpenGL: Fixed shader-basic and OpenGL testcase 'center' uniform error
  902. [TEST] OpenGL: Fixed ShaderRetroEffect random crash issue
  903. [TEST] OpenGL: Fixed offset on retina screen in shaderTest
  904. [TEST] OpenGL: Fixed shader test crash on android device
  905. [TEST] OpenGL: Fixed retro effect pos bug in ShaderTest
  906. [TEST] UI: Improved UIScene testcase
  907. [TEST] studio: Fixed cocostudio 3d test crash on mobile platform
  908. [TEST] studio: Added blendfunc Frame test case for skeleton animation
  909. [TEST] spine: Fixed bug that spine animition can't be rendered in Scene3DTest
  910. [TEST] tilemap: Fixed the problem that white frame didn't move as map did in JSB TMXOrthoObjectsTest
  911. [TEST] JS: Fixed Button position error in UIPageViewTest
  912. [TEST] web: Rewrote testcase for stencil depth mask in RenderTextureTest
  913. [TEST] web: Improved renderTexture stencilDepth test
  914. [TEST] web: Fixed abnormal effects in effectsTest
  915. [TEST] web: Fixed invisiable testcase of effects
  916. cocos2d-x-3.7.1 August.12 2015
  917. [HIGHLIGHT] studio: Added new skeleton animation support and csb parser for cocos v2.3.2 beta
  918. [HIGHLIGHT] studio: Added new skeleton animation support and JSON parser in the web engine
  919. [HIGHLIGHT] studio: Added Skybox csb/JSON parser for cocos v2.3.2 beta
  920. [NEW] Node: Added getNodeToParentTransform with selected ancestor
  921. [NEW] studio: Parsed Touch/Click/Event callback in JSON parser
  922. [NEW] web: Added cc.director.setClearColor and support transparent background
  923. [REFINE] Widget: Synchronize enable state and bright state for Widget
  924. [REFINE] studio: Optimized JSON parser's performance by removing audio play
  925. [REFINE] studio: Optimized editor related extension data to a component instead of hosting in _userObject
  926. [REFINE] studio: Updated Game3DNodeReader & UserCameraReader
  927. [REFINE] Label: Remove file error notice label from TextBMFontReader
  928. [REFINE] JSB: Add firefox remote debugger support in JS templates
  929. [REFINE] web: Improved color/opacity manipulations in MenuItems
  930. [FIX] Scene: Fixed Scene can't be inherited with std::vector members
  931. [FIX] Sprite: Fixed a compile error when CC_SPRITE_DEBUG_DRAW is on
  932. [FIX] Label: Fixed creation fail if the font(TTF) contains a non-unicode charmap
  933. [FIX] Label: Fixed LabelAtlas rendering error for invalid characters and characters out of boundaries
  934. [FIX] Label: Fixed Mac system font crash issue
  935. [FIX] platform: Fixed building with system prebuilt libs on Linux
  936. [FIX] studio: Fixed ccs.Skin construction issue in JSON parser
  937. [FIX] studio: Fixed Particle3d crash while reading file with error
  938. [FIX] studio: Fixed parser crash when sprite 3d resource isn't correct
  939. [FIX] UI: Fixed CheckBox issue that _isSelected state is updated after event processing callbacks
  940. [FIX] JSB: Fixed JSON parser issue that 3d particle can not be displayed
  941. [FIX] web: Fixed an issue that loading process won't trigger callback problem
  942. [FIX] web: Fixed a bug where not resetting cc.Audio._ignoreEnded when replaying a sound caused it to stay in a "playing" state
  943. [FIX] web: cc.ScrollView and cc.TableView: added check for parent visibility in onTouchBegan method
  944. [FIX] web: Fixed TurnPageDown effect
  945. [FIX] web: Fixed Cocos Studio parser issue that all elements are missing while the timeline action contains rotation
  946. cocos2d-x-3.7final July.21 2015
  947. [REFINE] JS: Improve manual binding code for `retain`, `release`, `onEnter`, `onExit`, `onEnterTransitionDidFinish` and `onExitTransitionDidStart`
  948. [REFINE] web: Add compatible Uint16Array defintion
  949. [FIX] Scale9Sprite: Fixed Scale9Sprite gray state issue while `setCapInsets` called
  950. [FIX] studio: Fixed parser issue by checking texture existance
  951. [FIX] studio: Fixed Armature parser issue
  952. [FIX] JS: Fixed cleanup overriding issue in JS that it will cause `too much recursion` error
  953. [FIX] web: Fixed url check regular expression not supporting localhost issue
  954. [FIX] web: Fixed issue that sprite doesn't update texture rect correctly in some condition
  955. cocos2d-x-3.7rc1 July.14 2015
  956. [REFINE] framework: Used msbuild to generating engine prebuilt libs on win32.
  957. [REFINE] 3d: Used shader with normal while creating mesh with normals
  958. [REFINE] 3d: Set default 3d animation quality to low
  959. [REFINE] web: Improved localStorage warning when disabled
  960. [FIX] studio: Fixed percentage setting won't take effect when UISlider's background resource set to null
  961. [FIX] studio: Fixed a bug that SingleNode's color isn't set
  962. [FIX] studio: Fixed child nodes can't be rendered when particle and TiledMap as parent and their resource have been removed from disk
  963. [FIX] studio: Fixed a bug of JSON parser that texture address is wrong
  964. [FIX] studio: Fixed a bug that drawLine & drawPoints don't apply blend function in parser
  965. [FIX] studio: Fixed a bug that check box front cross texture will expand to normal size when change status between normal and disable frequently
  966. [FIX] studio: Fixed a bug that normal texture won't show when slider set to disable mode then clean slider ball disable texture
  967. [FIX] 3d: Fixed obj loading failed on windows
  968. [FIX] 3d: Fixed clipping node does not work for Sprite3D
  969. [FIX] platform: Fixed js template run error on linux
  970. [FIX] Tilemap: Fixed CCTMXXMLParser code negligence
  971. [FIX] JS: Fixed constant value error for ccui.Layout.BACKGROUND_IMAGE_ZORDER
  972. [FIX] JS: Fixed XMLHttpRequest can't be retain in JSB
  973. [FIX] JS: Added cc.path.mainFileName
  974. [FIX] JS: Fixed issue that override cleanup function in JS can't get invoked during node detaching
  975. [FIX] JS: Fixed cc.loader notification issue with image asynchonous loading
  976. [FIX] web: Fixed MenuItems' color/opacity setter issue with child nodes
  977. [FIX] web: Fixed page view's layout issue for JSON parser
  978. [FIX] web: Add ttc loader and prevent the pure digital fonts is invalid
  979. [FIX] web: Fixed Float32Array initialization
  980. [FIX] web: Fixed a bug that layout background is missing
  981. [FIX] web: Fixed a bug that ObjectExtensionData miss setCustomProperty and getCustomProperty function
  982. cocos2d-x-3.7rc0 July.1 2015
  983. [HIGHLIGHT] core: Added Material system (JS/Lua ready)
  984. [HIGHLIGHT] 3d: Added Physics3d support (JS/Lua ready)
  985. [HIGHLIGHT] 3d: Added NavMesh support (JS/Lua ready)
  986. [HIGHLIGHT] Scale9Sprite: Added Android 9-patch image support (JS/Lua ready)
  987. [HIGHLIGHT] sprite: Supported polygon sprite with AutoPolygon generator (JS/Lua ready)
  988. [HIGHLIGHT] platform: Added Windows 10.0 Universal App(UWP) support
  989. [HIGHLIGHT] platform: Add Samsung Enhanced API on Android for cocos, please refer to the release note for more details
  990. [HIGHLIGHT] C++: Added Android Studio support
  991. [HIGHLIGHT] JS: Merged JSB and web engine into Cocos2d-x for a All-in-one engine
  992. [HIGHLIGHT] JS: Added `ccui.VideoPlayer` and `ccui.WebView` for iOS/Android/Web
  993. [HIGHLIGHT] console: Supported build & run Android Studio project with cocos console
  994. [NEW] C++: Added ActionFloat
  995. [NEW] C++: Supported physical keyboard on WinRT
  996. [NEW] FileUtils: checked filename case characters on windows
  997. [NEW] FileUitls: added supporting loading files that which file path include utf-8 characters
  998. [NEW] PhysicsShape: added sensor property
  999. [NEW] Sprite: used triangle command
  1000. [NEW] 3d: Added `getFarPlane` and `getNearPlane` in `Camera` class
  1001. [NEW] 3d: Added opengl version project/unproject function in camera
  1002. [NEW] ui: button add BMFont title support
  1003. [NEW] ui: TextField add `getTextColor`, `getTextHorizontalAlignment` and `getTextVerticalAlignment` API
  1004. [NEW] ui: Reduce memory consumption of a few UI widgets.
  1005. [NEW] audio: added support on WP8.1, now it supports wav format
  1006. [NEW] audio: Added MP3 support to winrt audio
  1007. [NEW] audio: Added OGG support to winrt audio
  1008. [NEW] 3rd: updated rapidjson to v1.0.2
  1009. [NEW] web: SIMD.js optimization for kazmath functions (from Intel)
  1010. [NEW] web: The json loader of Cocos Studio will automatically load dependencies resources
  1011. [NEW] Framework: Added Cocos Framework compilation script tool (used by Cocos)
  1012. [NEW] Simulator: Added Cocos Simulator project (used by Cocos)
  1013. [REFINE] core: Use quaternion instead of euler angle in `Camera::lookAt`
  1014. [REFINE] platform: Differentiated Windows Phone Application and Windows Store Application with `Application::getTargetPlatform`
  1015. [REFINE] platform: Improved UserDefault's robustness on Android, now the converting behavior is the same as iOS platform
  1016. [REFINE] platform: Added debug flag -Wextra to linux CMakeFile
  1017. [REFINE] audio: Permitted to play large ogg files on windows
  1018. [REFINE] ui: Use inch for childFocusCancelOffset in UIScrollView
  1019. [REFINE] 3d: Improved `Terrain::getIntersectionPoint` by calculating the intersection with triangles
  1020. [REFINE] Label: Improve rendering of letter's inner shapes when outline is used
  1021. [REFINE] console: Built engine with `LOCAL_ARM_MODE=arm` when building JS projects for android
  1022. [REFINE] web: Deleted the redundant variables defined and log informations in ccui.RichText
  1023. [REFINE] web: Allowed timeline animations with only one frame
  1024. [REFINE] web: Improved property declaration of cc.Texture2D
  1025. [FIX] core: Fixed `Director::setClearColor` has no effect bug
  1026. [FIX] platform: Fixed VideoPlayer on Android ignore search paths
  1027. [FIX] platform: Fixed crash while using s3tc on Nexus 9 (Android 5.0.1)
  1028. [FIX] platform: Fixed Application may be created more than once on Android
  1029. [FIX] platform: Fixed the Windows 8.1 Universal Apps crash when there is no audio device
  1030. [FIX] platform: Fixed android background and foreground switching bug with VertexAttributeBinding
  1031. [FIX] platform: Fixed warning "Service Intent must be explicit" on Android
  1032. [FIX] studio: Fixed ActionNode memory leaks
  1033. [FIX] studio: Fixed CocoLoader destructor memory release bug
  1034. [FIX] studio: Fixed cocos studio json reader's bug in percentage mode
  1035. [FIX] studio: Fixed rapidjson assert error in cocos studio module
  1036. [FIX] network: Win32 CURL doesn't support zlib
  1037. [FIX] network: Fixed memory leak of HttpClient on iOS and Mac platform
  1038. [FIX] audio: Fixed program may freeze if `AudioEngine::stop` or `AudioEngine::stopAll()` is invoked frequently on Android
  1039. [FIX] audio: Fixed a freezing crash in Windows 10 with the new audio engine when pressing stop after play
  1040. [FIX] audio: Fixed audio can't resume if it is interrupted by an incoming phone call
  1041. [FIX] audio: Fixed `SimpleAudioEngine::playEffect` lagged on Android 5.0.x
  1042. [FIX] audio: Fixed `SimpleAudioEngine` may cause application to crash on Android 5.0.x
  1043. [FIX] audio: Fixed thread safety problem on Android
  1044. [FIX] audio: Added guard to audio engine pointer in `SimpleAudioEngine::end`
  1045. [FIX] ui: Text scale factor is wrong with multiline text
  1046. [FIX] 3d: skybox can't move to other position except origin point in world space
  1047. [FIX] 3d: terrain can't move to other position except origin point in world space
  1048. [FIX] 3d: Fixed Terrain lod computing bugs
  1049. [FIX] 3d: Fixed clipping node not working for Sprite3D
  1050. [FIX] 3rd: Fixed PIE link error on iOS caused by libpng and libtiff
  1051. [FIX] 3rd: Fixed iOS libtiff 32bit header file error
  1052. [FIX] AssetsManager: crashed issue
  1053. [FIX] EaseRateAction: no way to create an `EaseRateAction` instance
  1054. [FIX] Label: Fixed compile error when enabling CC_ENABLE_BOX2D_INTEGRATION
  1055. [FIX] Label: crashed if invoking `setString(text` after `getLetter(letterIndex)` and `letterIndex` is greater than the length of text
  1056. [FIX] Label: position is wrong if label content is changed after invoking `getLetter(letterIndex)`
  1057. [FIX] Label: shadow effect cause OpenGL error on iOS
  1058. [FIX] Label: outline effect doesn't match characters well
  1059. [FIX] Label: Fixed system font label line height calculation is wrong on Android.
  1060. [FIX] Label: Fixed IllegalArgumentException on Android 2.3.x
  1061. [FIX] Label: Fixed line wrap error without space.
  1062. [FIX] Label: The texture of character have not cropped if character cross the axis-aligned bounding-box
  1063. [FIX] Label: Fixed the top of character's texture may be tailored if enable outline effect
  1064. [FIX] ProgressTimer: `setSprite()` doesn't take effect
  1065. [FIX] Sprite3D: setGLProgram() does not work
  1066. [FIX] Sprite3D: transition breaks when there is a Sprite3D in the scene
  1067. [FIX] Terrain: terrain is on top of particles, particles can not be seen
  1068. [FIX] TextureCache: unbindImageAsync failed to unbind all asynchronous callback for a specified bound image
  1069. [FIX] TileMap: crashed if a layer contains nothing
  1070. [FIX] WebView: memory leak on iOS
  1071. [FIX] WebView: Fixed crash on Android
  1072. [FIX] WebView: crashed if url contains illegal characters on Android
  1073. [FIX] Lua: luaLoadChunksFromZip should just remove .lua or .luac extension
  1074. [FIX] Lua: Added some skipped create functions for Sprite
  1075. [FIX] Lua: Fixed some lua test case bugs
  1076. [FIX] JS: Enabled touches support for Windows 8.1 platform
  1077. [FIX] JS: Fixed keyboard support for Windows Phone 8.1 platform
  1078. [FIX] web: Fixed positionType error of particle system in timeline parser
  1079. [FIX] web: Fixed setAnimationName issue while the property is undefined in timeline parser
  1080. [FIX] web: Fixed `cc.TMXObjectGroup#objectNamed` not returning the result bug
  1081. [FIX] web: Fixed TransitionSlideX callback sequence issue
  1082. [FIX] web: Fixed issue in music end event
  1083. [FIX] web: Fixed bug that LayerColor's color will disappear when update transform after being baked
  1084. [FIX] web: Fixed `inverse` function bug of `cc.math.Matrix4`
  1085. [FIX] web: Fixed the webaudio's invalid loop attribute bug for chrome 42
  1086. [FIX] web: Fixed crash when character not found into BMP font
  1087. [FIX] web: Fixed spine's js parser issue by avoid NaN duration
  1088. [FIX] web: Fixed LabelTTF multiline detection
  1089. [FIX] web: Fixed issue in ccui.Widget#getScale
  1090. [FIX] web: Fixed texture is not updated in some cases
  1091. [FIX] web: PlayMusic should not use the search path (timeline 2.x)
  1092. [FIX] web: Fixed bug of loading path of resources
  1093. [FIX] web: Premultiply texture's alpha for png by default to fix Cocos Studio render issues
  1094. [FIX] web: Fixed cache update issue of Layout after bake
  1095. [FIX] web: Fixed isBaked returning undefined issue
  1096. [FIX] web: Made CCProgressTimerCanvasRenderCmd to properly show colorized sprites
  1097. [FIX] web: Fixed attributes being reset issue while baked cache canvas' size changed
  1098. [FIX] web: Fixed texture does not rotate bug of ccui.LoadingBar
  1099. [FIX] web: Fixed color not being set issue in timeline parser
  1100. [FIX] web: Fixed custom easing animation bug
  1101. [FIX] web: Fixed return empty texture2d bug when adding image with same url multiple times
  1102. [FIX] web: Fixed actiontimeline can not step to last frame issue when loop play
  1103. [FIX] web: Fixed the prompt can not be used in iOS wechat 6.2
  1104. [FIX] web: Fixed restoring of sprite's color issue
  1105. [FIX] web: Fixed Uint8Array initialize issue
  1106. [FIX] web: Fixed cc.TextFieldTTF Delegate memory leaks
  1107. [FIX] web: Fixed sorted result is wrong in cc.eventManager (_sortEventListenersOfSceneGraphPriorityDes)
  1108. [FIX] web: Fixed BinaryLoader issue on IE11
  1109. [FIX] web: Fixed the sprite's texture bug when frequently change the color
  1110. [FIX] web: Fixed an issue that action will result in automatic termination
  1111. [FIX] web: Fixed ScrollView initWithViewSize issue
  1112. cocos2d-x-3.6 Apr.30 2015
  1113. [NEW] 3rd: update chipmunk to v 6.2.2 on Windows 8.1 Universal App
  1114. [NEW] 3rd: update freetype to v 2.5.5 on Windows 8.1 Universal App
  1115. [NEW] C++: Added SpritePolygon
  1116. [NEW] Label: added LabelEffect::ALL which can be used in disableEffect(LabelEffect) to disable all effects
  1117. [NEW] Lua-binding: binded ui:WebView and added corresponidng test case
  1118. [NEW] MathUtil: added `MathUtil::lerp()`
  1119. [NEW] UserDefault: added `UserDefault::setDelegate()`
  1120. [NEW] Vec2: added `Vec2::setZero()`
  1121. [NEW] Vec3: added `Vec3::lerp()`
  1122. [NEW] WP8: remove WP8 support because Angle don't support WP8 any more
  1123. [NEW] WP8.1: added back button support
  1124. [FIX] Animate3D: modify `Animate3D::setHighQuality()` Animate3D::setQuality(), add a new animation quality type none which means that will not update animation to the bone, it is useful when the Sprite3D is out of the screen, it can safe a lot of cpu time.
  1125. [FIX] AnimationCurve: memory leak
  1126. [FIX] Bundle3D: memory leak when failed to load file
  1127. [FIX] HttpClient: memory leak on iOS
  1128. [FIX] JNI: JNI illegal start byte error which causes crashing error on Android 5.0
  1129. [FIX] PUParticleSystem3D: refactoring create function using initWithXXX
  1130. [FIX] UI:VideoPlayer: crashed when playing streamed MP4 file on iOS
  1131. [FIX] VideoPlayer: can not play videos on Android v2.3.x
  1132. cocos2d-x-3.6beta0 Apr.14 2015
  1133. [NEW] 3rd: update Spine runtime to v2.1.25
  1134. [NEW] MotionStreak: add `MotionStreak::getStroke()` and `MotionStreak::setStroke()`
  1135. [NEW] Rect: added `Rect::intersectsCircle()`
  1136. [NEW] UI:Text: add `Text::disableEffect(LabelEffect)` to disable a specific effect
  1137. [FIX] 3rd: link error on VS2012 caused by libpng
  1138. [FIX] Label: position is wrong if it is visited by a new camera
  1139. [FIX] Particle3D: crash on clone
  1140. [FIX] Particle3D: "make local" now working correctly. "Make local" is a properties that toggles particle coordination between local and global.
  1141. [FIX] Particle3D: particle rotation now no longer stacks up on each other
  1142. [FIX] Particle3D: Ribbon Trail now positions correctly
  1143. [FIX] Physics: rigid body's rotation is wrong if it is attatched to a node which rotation is not 0
  1144. [FIX] Renderer: RenderQueue command buffer optimizing
  1145. [FIX] UI:Button: use too much memory
  1146. [FIX] UI:Text: content size is wrong after setting outline effect
  1147. cocos2d-x-3.6alpha0 Apr.8 2015
  1148. [NEW] 3D: added texturecube support
  1149. [NEW] 3D: added skybox support
  1150. [NEW] 3D: added node animation support
  1151. [NEW] 3D: added terrian support
  1152. [NEW] 3rd: updated libcurl to v7.4 on all supported platforms except WP8/WP8.1 universal
  1153. [NEW] 3rd: updated chipmunk to v6.2.2
  1154. [NEW] 3rd: updated openssl to v1.0.11
  1155. [NEW] 3rd: updated freetype to v2.5.5
  1156. [NEW] 3rd: updated png to v1.6.16 on all supported platforms except WP8/WP8.1 universal because it is not needed on these two platforms
  1157. [NEW] Animate3D: added `Animate3D::setHighQuality()` to set animation quality
  1158. [NEW] Label: added disableEffect()
  1159. [NEW] Lua-binding: used luajit arm64 version on iOS 64-bit devices
  1160. [NEW] Sprite3D: getAABBRecursively return own aabb combining childeren's
  1161. [NEW] Vec3: added `Vec3::add(float, float, float)` and `Vec3::setZero()`
  1162. [FIX] Audio: memory leak
  1163. [FIX] Audio: crashed on iOS 5.1.1
  1164. [FIX] C++: lag issue if `Director::setContentScaleFactor` is called frequently
  1165. [FIX] C++: CDT builder is enabled by default in cpp template on Android
  1166. [FIX] Label: shadow color is incorrect
  1167. [FIX] MenuItem: crash if `MenuItem::onExit` is called multiple times
  1168. [FIX] Particle3D: particles' rotation affect particle system's rotation
  1169. [FIX] Sprite3D: memory leak
  1170. [FIX] Vec3: use inline function to improve performance
  1171. [FIX] WebView: loadHTMLString() can not work if it is invoked in the same frame of creating a webview on iOS
  1172. cocos2d-x-3.5 Mar.23 2015
  1173. [NEW] EditBox: support Color4B
  1174. [FIX] AutoRelasePool: memory leak if adding an element into pool when releasing auto release pool
  1175. [FIX] EditBox: have a 100 bytes input limit on windows
  1176. [FIX] FileUtils: getWritablePath() does not return correct writable path on Mac & Windows
  1177. [FIX] HttpAsynConnection: can not get error content if response code less than 200 or response code greater or equal than 300
  1178. [FIX] HttpResponse: reference count error causes assert error
  1179. [FIX] Label: stroke color of system font is incorrect on iOS
  1180. cocos2d-x-3.5rc0 Mar.13 2015
  1181. [NEW] CocosStudio: add callback when loading a CSB file
  1182. [NEW] Particle3D: more Particle Universe features are supported, add observers and event handlers
  1183. [FIX] Billboard: fix bug on transparent Billboard because of transparent queue
  1184. [FIX] Bundle: bug that create bundle with empty path
  1185. [FIX] Camera: camera is detroyed unexpectedly when call removeAllChildren
  1186. [FIX] C++: use console in `build/build_native.sh`
  1187. [FIX] Label: position is wrong if it is visited by a new camera
  1188. [FIX] MotionStreak: can not work with MoveTo and MoveBy
  1189. [FIX] MoveTo: disable reverse() because it is meaningless
  1190. [FIX] Particle3D: to make path shorter, rename Particle Universe folder to PU, and files CCPUParticle3DXXX to CCPUXXX to fix compiling error on WP8
  1191. [FIX] Particle3D: `loadMaterialsFromSearchPaths` bug on linux platform
  1192. [FIX] Sprite3D: fix bug on transparent 3D Sprite because of transparent queue
  1193. cocos2d-x-3.5beta0 Feb.27 2015
  1194. [NEW] Added Particle3D
  1195. [NEW] C++: add Romanian language support
  1196. [FIX] Audio: audio can not resume if it is interrupted, and back from background
  1197. [FIX] Cocos Studio UI: setCameraMask does not work for the Cocos Studio UI
  1198. [FIX] C++: compiling error when using CC_USE_CULLING
  1199. [FIX] Label: texture size of string has unexpected padding on iOS 7 and upper version
  1200. [FIX] HttpClient: if the request data is started by a null character, it does not fill http body
  1201. [FIX] HttpClient: memory leak on iOS
  1202. [FIX] Sprite3D: `getAttachNode()` will fail when there is no bone with name
  1203. cocos2d-x-3.4 Jan.30 2015
  1204. [FIX] Animate3D: `setSpeed` has not effect if `Animate3D` is used in Sequence
  1205. [FIX] C++: will crash if built with armeabi-v7a enabled on Android devices that with armeabi-v7a architecture but doesn't support NEON instructions
  1206. [FIX] C++: may crash if VAO is not supported
  1207. [FIX] EditBox: content is not clipped correctly on windows
  1208. [FIX] GLProgram: will cause crash on some devices that don't support more than 8 atrributes
  1209. [FIX] HttpClient: not set response code when connecting failed on Android
  1210. [FIX] Label: alpha channel of text color of system font has not effect
  1211. [FIX] Label: use int for dimensions that will lose the precision
  1212. [FIX] Label: labels will become white block after resume from background on some Android devices, such as xiaomi3
  1213. [FIX] Label: improved parsing performance of bitmap font
  1214. [FIX] Label: can not display `&` if using system font on windows
  1215. [FIX] Lua-binding:studio-support: AnimationInfo is not binded
  1216. [FIX] New audio: not close file descriptor leads to that may causes game freeze if playing two many times(may be more than 1000) on Android
  1217. [FIX] Node: anchor point has not effect to rotation, it always rotate along (0, 0)
  1218. [FIX] Physics integration: Scale9Sprite can't run `Move` action and `Scale` action if used physical scene
  1219. [FIX] SpriteFrameCache: `addSpriteFramesWithFil`e may crash if plist file doesn't exist
  1220. [FIX] Sprite3D: material files (.mtl) are not loaded for any object when creating from an .obj file
  1221. [FIX] UI::ImageView: rendered content size is wrong if `ignoreSize` is true and `Scale9` is not enabled
  1222. [FIX] UI::Slider: when scale9 is enabled, the progress bar's rendering height is wrong
  1223. [FIX] UI:Scale9Sprite: some position information will be lost when toggling `Scale9` state
  1224. [FIX] UI::TextField: will get wrong event message if clicking `TextField` twice
  1225. [FIX] UI::TextField: result of `getContentSize` is wrong if it is invoked in insert or delete event callback
  1226. [FIX] UI::WebView: base URL can not work
  1227. cocos2d-x-3.4rc1 Jan.15 2015
  1228. [NEW] C++: added CC_USE_CULLING macro to control if enable auto culling or not
  1229. [NEW] FileUtils::fullPathForFilename will return empty string when file can not be found
  1230. [NEW] VertexBuffer&IndexBuffer: allow setting usage(GL_STATIC_DRAW or GL_DYNAMIC_DRAW) in create method
  1231. [NEW] Renderer: 3D rendering support for 2d objects
  1232. [FIX] DrawNode: fix random crash because of init opengl buffer wrongly
  1233. [FIX] DrawNode: drawPoints() can not set ponit size
  1234. [FIX] EventDispatcher: crash if adding/removing event listeners and dispatching event in event callback function
  1235. [FIX] GLProgramState: may cause GL_INVALID_VALUE error at start up on Android
  1236. [FIX] LUA: 0x80000000 can not be converted by lua_tonumber correctly on some devices
  1237. [FIX] PhysicsBody: can't get correct position in the same frame of adding PhysicsBody to PhysicsWorld
  1238. [FIX] UI: fix crash when navigation controller is null
  1239. cocos2d-x-3.4rc0 Jan.9 2015
  1240. [NEW] 3rd: update libcurl to v7.39
  1241. [NEW] 3rd: update luajit to v2.0.3
  1242. [FIX] C++: crash when run clang static analyzer in Xcode
  1243. [FIX] DrawNode: can not set color when DrawPoints, wrong behavior of drawRect
  1244. [FIX] FileUtils: getData() can't get data from file when file was using by other application on windows
  1245. [FIX] FileUtils: getData() will cause memory leak if file size is 0 on windows
  1246. [FIX] GLProgram: when there is a shader compile error in shader, it will crash on windows
  1247. [FIX] GLProgramState: Assert error because uniforms and attribute is not refreshed when come to foreground on android
  1248. [FIX] HttpClient: http requests will be lost in immediately mode on iOS
  1249. [FIX] JumpTo: can not be applied more than once
  1250. [FIX] Label: may cause infinite loop if using system font on Android
  1251. [FIX] Particle: GL_INVALID_OPERATION error because VAO and VBOs is not reset when come to foreground on android
  1252. [FIX] Physics integration: physics body is not still after disabling gravitational force by PhysicsBody::setGravityEnable()
  1253. [FIX] Sprite3DTest: Sprite3DUVAnimationTest, Sprite3DFakeShadowTest, Sprite3DLightMapTest, Sprite3DBasicToonShaderTest will crash on android when switch to foreground from background
  1254. [FIX] Template: multiple dex files define error on Android if using Eclipse to build new generated application
  1255. [FIX] VideoPlayer: can not play video if passing path returned from FileUtils::fullPathForFilename() on Android
  1256. [FIX] WP8: compiling error on ARM architecture
  1257. cocos2d-x-3.4beta0 Dec.31 2014
  1258. [NEW] 3D: support frustum culling
  1259. [NEW] Action: MoveTo and MoveBy support Vec3
  1260. [NEW] Allocator: add custom allocator support, global, default, fixed block, object pool
  1261. [NEW] Application: added Turkish and Ukrainian language support
  1262. [NEW] UI:LoadingBar: add TextureResType to LoadingBar's create method
  1263. [NEW] Director: add setClearColor() to set clear values for the color buffers
  1264. [NEW] Node: rotation representation using quaternion
  1265. [NEW] UI: Added new layout functionality for Cocos Studio, keeps widget margins a fixed set and adjusts the widget size according to the margins.
  1266. [NEW] UI: Add gray shader to ui::Button, ui::CheckBox and ui::Slider when the disable state resources are not provided
  1267. [NEW] UI: Modify the default behavior when ui::Button, ui::CheckBox and ui::Slider's selected state resources are not provided, the new behavior is scale the normal state texture when the selected state texture are missing.
  1268. [NEW] 3rd party libraries: Add prebuilt version of libcurl to Mac and upgrade iOS,Android,Mac and Win32 libcurl to 7.39.0.
  1269. [NEW] Replace network module implementation from libcurl to system network API on IOS and Android
  1270. [FIX] ui::Button: fix setTitleColor calls method setColor instead of setTextColor of title label.
  1271. [FIX] AssetsManagerEx: Fix assetManager can't download file on Win32
  1272. [FIX] FileUtils: WebP format with alpha channel displayed wrong
  1273. [FIX] Label: content size of Label is incorrect if the string is set to empty string
  1274. [FIX] GLProgramState: fix assert error caused by outdated uniform and attribute cache
  1275. cocos2d-x-3.3 Dec.12 2014
  1276. [FIX] Billboard: allow billboard rotate along z axis
  1277. [FIX] Bundle3D: create aabb for mesh whose aabb does not exist (user custom mesh)
  1278. [FIX] EditBox: text position and move animation error on iPhone6 Plus
  1279. [FIX] FileUtils: createDirectory(): doesn't invoke closedir() after opendir on platforms other than WP8/WinRT/Windows
  1280. cocos2d-x-3.3-rc2 Dec.5 2014
  1281. [FIX] C++: use 100% of one core on Windows
  1282. [FIX] Label: when a label is added to a invisible parent node, app will crash if switching from background
  1283. [FIX] Label: label will not be shown when using system font on Mac
  1284. [FIX] Studio reader: replace protocol buffer with flatbuffer
  1285. cocos2d-x-3.3-rc1 Nov.29 2014
  1286. [NEW] Vec2: added greater than operator
  1287. [NEW] Tools: Updated cocos console to v1.4 (from 1.2)
  1288. [NEW] WP8: Win8.1 universal app support
  1289. [FIX] Audio: `SimpleAudioEngine::sharedEngine()->playBackgroundMusic()` crashed freezen on Lollipop(Android5.0)
  1290. [FIX] Button: when the dimension of button title is larger than the button, button will scale to fit the dimension of the button title
  1291. [FIX] Button: when the dimension of button title is larger than the button, button will scale to fit the dimension of the button title
  1292. [FIX] Camera: does not work correctly when the up is not (0, 1, 0)
  1293. [FIX] Director: Uses a low-pass filter to diplay the FPS
  1294. [FIX] DrawNode: drawPoint() may cause crash
  1295. [FIX] EventKeyboard: can not check right Shift, right Ctrl and right ALT
  1296. [FIX] GLProgramCache: doesn't release old program with the same key before adding a new one
  1297. [FIX] GLProgramState: enabled GLProgramState restoring on render recreated on WP8
  1298. [FIX] Label: label shifting when outline feature enabled
  1299. [FIX] Label: when applying additionalKerning to a Label that displays a string with only 1 character, the character is shifted
  1300. [FIX] Label: display incompletely with multiline text with outline feature enabled
  1301. [FIX] Label: crash if using BMFont but missing corresponding png file
  1302. [FIX] Lua: logical error in luaval_to_quaternion
  1303. [FIX] New audio: can not loop on Android 2.3.x
  1304. [FIX] Random: CCRANDOM_0_1() and CCRANDOM_MINUS_1_1() can be seeded using std::srand(seed)
  1305. [FIX] Scale9Sprite: will be flipped if both flipX and flipY are false
  1306. [FIX] Scale9Sprite: if scale and flip property are set at the same time, the result would be wrong
  1307. [FIX] Scene: setScale() doesn't work as expected
  1308. [FIX] Sprite3D: did not create attached sprite from cache
  1309. [FIX] Tests: Sprite Performance Test automation works as expected
  1310. [FIX] UI: Text: invoke ignoreContentAdatpSize(false) will cause wrong effect
  1311. [FIX] VideoPlayer: showed in wrong place on Android v2.3.x
  1312. [FIX] WebView: showed in wrong place on Android v2.3.x
  1313. [FIX] WP: back key behaviour and Director::getInstance()->end() works not correctly
  1314. [FIX] Lua-binding: XmlHttpRequest would truncate binary data
  1315. cocos2d-x-3.3-rc0 Oct.21 2014
  1316. [NEW] 3d: added light support: direction light, point light, spot light and ambient light
  1317. [NEW] Added ClippingRectangleNode
  1318. [NEW] Added AssetsManagerEx, which is more powerful than AssetsManager
  1319. [NEW] Added a test case of sprite lamp effect
  1320. [NEW] Animate3D: can create with start frame and end frame
  1321. [NEW] Audio: new audio supports Mac OS X and Windows
  1322. [NEW] Application: added openUrl()
  1323. [NEW] Armature: added getOffsetPoints()
  1324. [NEW] Lua-binding: added Camera3DTest ,BillBoradTest
  1325. [NEW] Node: schedule/unschedule lambda functions
  1326. [NEW] Rect: added merge()
  1327. [NEW] Spine: update to 2.0.18
  1328. [NEW] TileMap: added staggered tile map support
  1329. [NEW] Utils: added getCascadeBoundingBox()
  1330. [NEW] WP8: enabled screen orientation change handling
  1331. [FIX] Accelerometer: using Accelerometer will freeze app and then crash on WP8
  1332. [FIX] Application: getCurrentLanguageCode() always return empty string
  1333. [FIX] Action: kRepeatForever macro superseded by CC_REPEAT_FOREVER macro
  1334. [FIX] C++: remove armv7s in VALID_ARCHS for Xcode projects
  1335. [FIX] Cocos Studio reader: UI animation playing crash if GUI JSON file is loaded again
  1336. [FIX] Cocos Studio reader: improvement ImageViewReader don't necessary loadTexture when imageFilePath is empty
  1337. [FIX] EditBox: view rendered in wrong position if click EditBox on iOS 8
  1338. [FIX] FileUtils: can not remove files/directory on iOS devices
  1339. [FIX] GLProgram: crashed on some Android devices that do not support more than 8 attributes
  1340. [FIX] Label: getStringNumLines() may returns wrong result if label is dirty
  1341. [FIX] Label: can not change opacity if using FNT font
  1342. [FIX] Label: endless loop if not using system font, and constrained length is less than one character width
  1343. [FIX] LabelAtlas: opacity do not change when setting parent's opacity
  1344. [FIX] Lua-bindings: may crash if passing two-dimensional table from lua to c++
  1345. [FIX] New audio: can not play audio after playing some times on Android
  1346. [FIX] Node: macro scheduler_selector() superseded by CC_SCHEDULER_SELECTOR(). The same is true for the other schedule_ macros
  1347. [FIX] Node: unscheduleAllSelectors() deprecated in favor of unscheudleAllCallbacks()
  1348. [FIX] Node: crashed if remove/add child too quickly when using integrated physics
  1349. [FIX] TextFieldTTF: will get wrong characters if using Chinese input method on WP8
  1350. [FIX] TextureCache: memory leak in reloadTexture()
  1351. [FIX] UI: Button: button remains gray when releasing it, this issue only happened if enable scale9 and only has one texture
  1352. [FIX] UI: Button: when creating a button with a title only, button content size is not immediately updated
  1353. [FIX] UI: EditBox: setMaxLength is invalid on mac
  1354. cocos2d-x-3.3-beta0 Sep.20 2014
  1355. [NEW] 3d: added `BillBoard`
  1356. [NEW] ActionManager: added removeAllActionsByTag()
  1357. [NEW] Audio: added new audio system for iOS and Android
  1358. [FIX] DrawNode: has as many functions as `DrawPrimitive`
  1359. [NEW] GLViewProtocol: added getAllTouches()
  1360. [NEW] Node: added stopAllActionsByTag()
  1361. [NEW] PhysicsWorld: add setSubsteps() and getSubsteps()
  1362. [NEW] Renderer: added TriangleCommand
  1363. [NEW] UI: added `WebView` on iOS and Android
  1364. [FIX] C++: CMake works for Mac builds
  1365. [FIX] C++: Reorganized cocos2d/platform folder. Easier to add new platforms
  1366. [FIX] EditBox: moved to ui:EditBox
  1367. [FIX] External: ScrollView: scroll view hidden picks up the touch events
  1368. [FIX] FastTileMap: change indices to short because not all devices support int indices which will prevent drawing tilemap
  1369. [FIX] FileUtils: can not create and delete directory on wp8
  1370. [FIX] HttpClient: condition variable sleep on unrelated mutex
  1371. [FIX] Image: optimize decompress jpg data
  1372. [FIX] Label: outline effect may be wrong if outline width is big and font size is big too
  1373. [FIX] MenuItem: memory leak if using menu_selector
  1374. [FIX] MeshCommand: generate wrong meterial id which will cause problem that only first mesh is drawn
  1375. [FIX] Node: create unneeded temple `Vec2` object in `setPosition(int, int)`, `setPositionX()` and `setPositionY()`
  1376. [FIX] Node: skew effect is wrong
  1377. [FIX] Node: setNormalizedPosition can not take effect if parent position is not changed
  1378. [FIX] TextureAtlas: may crash if only drawing part of it
  1379. [FIX] UI: Button: a button can not be touched if it only contains title
  1380. [FIX] UI: Button: title can not be scaled if a button is scaled
  1381. cocos2d-x-3.3alpha0 Aug.28 2014
  1382. [NEW] 3D: Added Camera, AABB, OBB and Ray
  1383. [NEW] 3D: Added better reskin model support
  1384. [NEW] Core: c++11 random support
  1385. [NEW] Core: Using `(std::notrow)` for all the `new` statements
  1386. [NEW] Desktop: Added support for applicationDidEnterBackground / applicationWillEnterForeground on desktop
  1387. [NEW] Device: added setKeepScreenOn() for iOS and Android
  1388. [NEW] EventMouse: support getDelta, getDeltaX, getDeltaY functions
  1389. [NEW] FileUtils: add isDirectoryExist(), createDirectory(), removeDirectory(), removeFile(), renameFile(), getFileSize()
  1390. [NEW] FileUtilsApple: allow setting bundle to use in file utils on iOS and Mac OS X
  1391. [NEW] Image: support of software PVRTC v1 decompression
  1392. [NEW] Lua-binding: added release_print that can print log even in release mode
  1393. [NEW] Physics Integration: can invoke update in demand
  1394. [NEW] Renderer: Added primitive and render primitive command, support passing point, line and triangle data
  1395. [NEW] Renderer: Added method for custom precompiled shader program loading on WP8
  1396. [NEW] Renderer: Added consistent way to set GL context attributes
  1397. [NEW] RenderTexture: add a call back function for saveToFile()
  1398. [NEW] RotateTo: added 3D rotation support
  1399. [NEW] ScrollView: added `setMinScale()` and `setMaxScale()`
  1400. [NEW] Sprite3D: added setCullFace() and setCullFaceEnabled()
  1401. [NEW] Sprite3D: added getBoundingBox() and getAABB()
  1402. [NEW] SpriteFrameCache: load from plist file content data
  1403. [NEW] utils: added gettime()
  1404. [NEW] UI: Added UIScale9Sprite
  1405. [NEW] UI: ui::Button: support customize how much zoom scale is when pressing a button
  1406. [NEW] UI: ui::PageView: added `customScrollThreshold`, could determine the swipe distance to trigger a PageView scroll event
  1407. [NEW] UI: ui::TextField: support utf8
  1408. [NEW] UI: ui::TextField: support set color and placeholder color
  1409. [NEW] UI: ui::Widget: support swallowing touch events
  1410. [NEW] Text: added getter and setter for TextColor
  1411. [FIX] EditBox: font size is not scaled when GLview is scaled on Mac OS X
  1412. [FIX] EditBox: began/end events not work
  1413. [FIX] Label: can not set charmap after it is created
  1414. [FIX] Label: setTextColor does not have any effect on Mac OS X
  1415. [FIX] Label: result of LabelTTF::getBoundingBox() is wrong
  1416. [FIX] Label: can not set outline color correctly if using system font on iOS
  1417. [FIX] Label: character edge will be cut a little if character size is small
  1418. [FIX] LabelBMFont: result of LabelBMFont::getBoundingBox() is wrong
  1419. [FIX] ListView: can not insert an item in specific position, it is added at bottom
  1420. [FIX] LoadingBar: position is changed if changing direction
  1421. [FIX] ParticleSystem: effect is wrong if scene scaled
  1422. [FIX] ParticleSystemQuad: setTotalParticles() can't set a value larger than initialized value
  1423. [FIX] PhysicsBody: return wrong bitmask
  1424. [FIX] Scale9Sprite: new added sprite will be hidden
  1425. [FIX] Slider: if the UISlider is faded, the slide ball won't fade together
  1426. [FIX] Sprite: will turn black if opacity is set other than 255 and be added into SpriteBatchNode
  1427. [FIX] TableView: can handle touch event though its parents are invisible
  1428. [FIX] TextField: can not use backspace to delete a character
  1429. [FIX] Widget: may crash if remove itself in touch call back function
  1430. [FIX] Widget: not support cascaded opacity and cascaded color by default
  1431. [FIX] VideoPlayer: memory leak on iOS
  1432. [FIX] VideoPlayer: video frame size is not calculated correctly on iOS
  1433. [FIX] VideoPlayer: video player not showing on iOS if it's not in FullScreen mode
  1434. [FIX] Others: can not import java library shift by engine correctly when using Eclispe on Android
  1435. [FIX] Others: optimize FPS control algorithm on Android
  1436. [FIX] Lua-binding: replace dynamic_cast to std::is_base_of in object_to_luaval
  1437. [3rd] fbx-conv: complex FBX model support which is useful for reskin, multiple meshes and multiple materials support
  1438. cocos2d-x-3.2 Jul.17 2014
  1439. [NEW] Node: added getChildByName method for get a node that can be cast to Type T
  1440. [NEW] FileUtils: could add search path and resolution order path in front
  1441. [FIX] Animation3D: getOrCreate is deprecated and replaced with Animation3D::create
  1442. [FIX] Animate3D: setSpeed() accept negative value, which means play reverse, getPlayback and setPlayBack are deprecated
  1443. [FIX] EditBox: can not set/get text in password mode on Mac OS X
  1444. [FIX] Game Controller: joystick y value inversed on iOS
  1445. [FIX] GLView: cursor position is not correct if design resolution is different from device resolution
  1446. [FIX] Label: color can not be set correctly if using system font on iOS
  1447. [FIX] LabelTTF: may lost chinese characters on linux
  1448. [FIX] Lua-binding: support UIVideoPlayer
  1449. [FIX] Node: setRotation3D not work based on anchor point
  1450. [FIX] Node: modify regular of enumerateChildren, now it just searchs its children
  1451. [FIX] Physics integration: body shape will be wrong when using negative value to scale
  1452. [FIX] ScrollViewDelegate: make the scrollView delegate methods optional
  1453. [FIX] Setup.py: will crash on windows because of checking `zsh`
  1454. [FIX] SpriteBatchNode: opacity can not work
  1455. [FIX] Sprite3D: may crash on Android if playing animation and replace Scene after come from background
  1456. [FIX] UIwidget: opacity is wrong when replace texture
  1457. [FIX] UIRichText: will crash when using utf8 string and the length exceed specified length
  1458. [FIX] UIText: can not wrap words automatically
  1459. [FIX] UITextField: keyboard can not hide if touching space outside of keyboard
  1460. [FIX] UITextField: can not wrap words automatically
  1461. [FIX] UIVideoPlayer: can not exit full screen mode on Android
  1462. [FIX] Others: don't release singleton objects correctly that are needed in the whole game, which will be treated
  1463. as memory leak when using VLD.
  1464. [FIX] Others: compiling error when building for iOS 64-bit devices with Xcode6 beta3
  1465. cocos2d-x-3.2rc0 Jul.7 2014
  1466. [NEW] FastTMXTiledMap: added fast tmx, which is much more faster for static tiled map
  1467. [NEW] GLProgramState: can use uniform location to get/set uniform values
  1468. [NEW] HttpClient: added sendImmediate()
  1469. [NEW] Label: support setting line height and additional kerning of label that not using system font
  1470. [NEW] Lua-binding: Animation3D supported
  1471. [NEW] Lua-binding: UIEditor test cases added
  1472. [NEW] Lua-binding: UI focus test cases added
  1473. [NEW] Node: added getName(), setName(), getChildByName(), enumerateChildren()
  1474. and addChild(Node* node, int localZOrder, const std::string &name)
  1475. [NEW] Node: physical body supports rotation
  1476. [NEW] Sprite3D: support c3b binary format
  1477. [NEW] utils: added findChildren() to find all children by name
  1478. [NEW] Value: added operator == !=
  1479. [FIX] Armature: blend func has no effect
  1480. [FIX] Armature: crashed when remove armature in frame event
  1481. [FIX] Animation3D: doesn't load original pose, which leads to wrong effect if not playing animation
  1482. [FIX] Animation3D: animation for unskined bones lost
  1483. [FIX] FileUtils: getStringFromFile may return a unterminated string
  1484. [FIX] Lua-binding: Sequence:create will cause drop-dead issue
  1485. [FIX] Lua-binding: lua-tests can’t be loaded on 64 bits iOS devices and Linux
  1486. [FIX] Node: Node::setScale(float) may not work properly
  1487. [FIX] Physics integration: child node can move with its father
  1488. [FIX] Physics integration: support scale
  1489. [FIX] Sprite3D: 20% performance improved, simplify shader, use VAO and batch draw
  1490. [FIX] Studio support: NodeReader may cause crash
  1491. [FIX] UIButton: doesn't support TTF font
  1492. [FIX] UIButton: `getTitleColor()` doesn't equal to the value set by `setTitleColor()`
  1493. [FIX] UIListView: addEventListener can not work
  1494. [FIX] UIListView: element position is changed a little when you click and up a list view without move
  1495. [FIX] UIListView: element will respond to item_end event when end of scrolling a list view
  1496. [FIX] UIVideo: crash when try to remove videoView(STATE_PLAYBACK_COMPLETED) on android
  1497. [FIX] WP8: crash of utils::captureScreen()
  1498. cocos2d-x-3.2-alpha0 Jun.17 2014
  1499. [NEW] Console: add a command to show engine version
  1500. [NEW] Node: added setter/getter for NormalizedPosition(). Allows to set positions in normalized values (between 0 and 1)
  1501. [NEW] Scene: Added createWithSize() method
  1502. [NEW] TextField: added getStringLength()
  1503. [NEW] TextureCache: added unbindImageAsync() and unbindAllImageAsync()
  1504. [NEW] utils: added captureScreen()
  1505. [NEW] UIText: added shadow, outline, glow filter support
  1506. [NEW] Sprite3D: support 3d animation
  1507. [NEW] Animation3D: 3d animation
  1508. [FIX] Application.mk: not output debug message in release mode on Android
  1509. [FIX] Android: 3d model will be black when coming from background
  1510. [FIX] Android: don't trigger EVENT_COME_TO_BACKGROUND event when go to background
  1511. [FIX] Cocos2dxGLSurfaceView.java: prevent flickering when opening another activity
  1512. [FIX] Director: Director->convertToUI() returns wrong value.
  1513. [FIX] GLProgram: not abort if shader compilation fails, just return false.
  1514. [FIX] GLProgramState: sampler can not be changed
  1515. [FIX] Image: Set jpeg save quality to 90
  1516. [FIX] Image: premultiply alpha when loading png file to resolve black border issue
  1517. [FIX] Label: label is unsharp if it's created by smaller font
  1518. [FIX] Label: Label's display may go bonkers if invoking Label::setString() with outline feature enabled
  1519. [FIX] Label: don't release cached texture in time
  1520. [FIX] Label: calculated height of multi-line string was incorrect on iOS
  1521. [FIX] Lua-binding: compiling error on release mode
  1522. [FIX] Lua-binding: Add xxtea encrypt support
  1523. [FIX] Node: setPhysicsBody() can not work correctly if it is added to a Node
  1524. [FIX] Node: state of _transformUpdated, _transformDirty and _inverseDirty are wrong in setParent()
  1525. [FIX] Node: _orderOfArrival is set to 0 after visit
  1526. [FIX] Other: link error with Xcode 6 when building with 32-bit architecture
  1527. [FIX] RenderTexture: saveToFile() lost alpha channel
  1528. [FIX] Repeat: will run one more over in rare situations
  1529. [FIX] Scale9Sprite: support culling
  1530. [FIX] Schedule: schedulePerFrame() can not be called twice
  1531. [FIX] ShaderTest: 7 times performance improved of blur effect
  1532. [FIX] SpriteFrameCache: fix memory leak
  1533. [FIX] Texture2D: use image's pixel format to create texture
  1534. [FIX] TextureCache: addImageAsync() may repeatedly generate Image for the same image file
  1535. [FIX] WP8: will restart if app goes to background, then touches icon to go to foreground
  1536. [FIX] WP8: will be black if: 1. 3rd pops up a view; 2. go to background; 3. come to foreground
  1537. [FIX] WP8: project name of new project created by console is wrong
  1538. [FIX] WP8: missing texture after app switch
  1539. [3RD] curl: will crash if use https request on iOS simulator
  1540. [3RD] curl: update OpenSSL to v1.0.1h
  1541. cocos2d-x-3.1.1 May.31 2014
  1542. [FIX] GLProgramState: restores states after coming from background
  1543. cocos2d-x-3.1 May.24 2014
  1544. [FIX] EventKeyboard::KeyCode: key code for back button changed from KEY_BACKSPACE to KEY_ESCAPE
  1545. [FIX] Label: may crash when using outline effect
  1546. [FIX] Label: using outline and invoking 'Director::setContentScaleFactor' cause label show nothing
  1547. [FIX] ProgressTo: will start from 0 when it reaches 100
  1548. [FIX] Physics integration: may crashes if remove bodies at physics contact callback
  1549. [FIX] UIWidget: copyProperties() lost copy some properties
  1550. [FIX] WP8: orientation is not correct when it is set to portrait
  1551. [FIX] WP8: fix for precompiled shaders and precompiled headers
  1552. [FIX] WP8: template supports orientation
  1553. cocos2d-x-3.1-rc0 May.18 2014
  1554. [NEW] Cocos2dxActivity: Adds a virtual method to load native libraries.
  1555. [NEW] Directory Structure: reorder some files within the cocos/ folder
  1556. [NEW] Sprite3D: a node that renders 3d models
  1557. [NEW] EditBox: support secure input on Mac
  1558. [FIX] ControlButton: cascade opacity and color error
  1559. [FIX] Director: twice calling of onExit
  1560. [FIX] Math: Vector2->Vec2, Vector3->Vec3, Vector4->Vec4, Matrix->Mat4
  1561. [FIX] GLProgram: uniform CC_Texture0 is pre-defined by cocos2d. MUST NOT be defined in shaders
  1562. [FIX] GLProgramState: Supports multitexturing
  1563. [FIX] Studio:ActionObject: correct TotalTime of ActionObject
  1564. [FIX] Studio: FrameData::copy doesn't copy `isTween` property
  1565. cocos2d-x-3.1-alpha1 May.9 2014
  1566. [NEW] Animate: Dispatch a custom event after an animation frame is displayed
  1567. [NEW] GLProgram: Easy to customize uniforms and attributes by using the new class GLProgramState
  1568. [NEW] Template: cpp project support Eclipse c++ project
  1569. [NEW] UI: add navigation support
  1570. [NEW] UI: add a widget to play video
  1571. [NEW] VS: support VS 2013
  1572. [FIX] Audio: pause sound automatically when go to background on Android
  1573. [FIX] Director: remove keepData and releaseData
  1574. [FIX] Label: label is unsharp if it's created by system font with small size on iOS & Mac OS X
  1575. [FIX] Label: Label created with system font is still visible when its opacity is 0
  1576. [FIX] Label: Label created with system font havs black border on WP8/WINRT
  1577. [FIX] Lua: A potential crash in the bindings of sp.SkeletonAnimation.setAnimation
  1578. [FIX] Lua: Lua template should fail to launch on lua error
  1579. [FIX] ParticleSystem: Particles can be created without a texture
  1580. [FIX] ParticleSystem: yFlippedCoord behavior fixed.
  1581. Added cocos2d/tools/particle to fix particles that were based on the old (broken) behaviour
  1582. [FIX] Setup.py: Added SDK / NDK detection based on PATH
  1583. [FIX] UIText: support TTF
  1584. [FIX] Value: all types share the same union to reduce memory usage
  1585. cocos2d-x-3.1-alpha0 May.1 2014
  1586. [NEW] Android: Adds support for get response when Activity's onActivityResult is triggered
  1587. [NEW] Core: Adds RefPtr<T> smart pointer support
  1588. [NEW] Label: supports auto-culling
  1589. [NEW] Math: New unified math library that supersedes Kazmath, CCGeometry and CCAffine*
  1590. [NEW] Test: Adds a sample for making a outline sprite by using a custom shader
  1591. [FIX] Application: Application::run returns wrong value on Mac platform
  1592. [FIX] Build scripts: Improved cmake files for Linux, and Android.mk for Android
  1593. [FIX] Image: saveToImage may cause memory leak
  1594. [FIX] Lua: cc.pGetAngle may return wrong value
  1595. [FIX] Network: HttpRequest uses std::function as callback
  1596. [FIX] Particle: The effect of particle loaded from CocosBuilder is incorrectly
  1597. [FIX] ParticleSystem: particle direction in verticality is opposite when "configName" has value and "yCoordFlipped" is -1
  1598. [FIX] Physics: PhysicsSprite's transform couldn't be updated
  1599. [FIX] Value: default value changed to false
  1600. [FIX] WP8: Some bug fixes
  1601. cocos2d-x-3.0 Apr.23 2014
  1602. [NEW] Lua: add `RichText` test cases
  1603. [NEW] EditBox: Added missing Text Font and Placeholder feature for Mac platform
  1604. [FIX] cocos console: Zipalign the apk generated with release mode
  1605. [FIX] Director: Application crashes on closing if CC_ENABLE_CACHE_TEXTURE_DATA is enabled
  1606. [FIX] Image: memoery leak
  1607. [FIX] Image: crashes when save a jpg file
  1608. [FIX] Lua: 'EditBox' can't response 'changed','ended' and 'return' event on Windows
  1609. [FIX] Lua: new project will crash on iOS 5.1 devices
  1610. [FIX] Others: compiling error when CC_LABELBMFONT_DEBUG_DRAW or CC_LABELATLAS_DEBUG_DRAW is enabled
  1611. [3rd] libcurl: support ssl again on iOS
  1612. cocos2d-x-3.0rc2 Apr.15 2014
  1613. [NEW] Event: Adds `EventListener::setEnabled/isEnabled` to support enable/disable event listeners
  1614. [NEW] GLView: Added createWithFullscreen overloaded method for selecting monitor and setting video mode
  1615. [FIX] Android: Cocos2dxHelper.runOnGLThread() can't work
  1616. [FIX] Animation: Added 'loops' parameter to Animation::createWithSpriteFrames
  1617. [FIX] Audio: can not resume after pausing on windows
  1618. [FIX] Audio: stopalleffect lead to stop background music on WP8
  1619. [FIX] Audio: play effect may lead to memory leak on WP8
  1620. [FIX] CocoStudio: Potential crash in SceneReader::createNodeWithSceneFile
  1621. [FIX] Control: ControlButton can't swallow touch event
  1622. [FIX] Event: Removing and re-adding an event listener will trigger an assert
  1623. [FIX] Event: A potential crash when unregistering listener right after its registration
  1624. [FIX] Event: EventDispatcher::setDirtyForNode doesn't consider node's children
  1625. [FIX] FileUtils: 'isFileExist' doesn't consider SearchPaths and ResolutionOrders
  1626. [FIX] Image: The result of 'malloc' is incompatible with type 'unsigned char *' in Image::saveImageToPNG
  1627. [FIX] JNI: doesn't cache classloader which may cause crash on Android devices with 4.2 or upper version
  1628. [FIX] Network: HTTPClient reports 2xx status codes as errors
  1629. [FIX] Lua: Added ScriptHandlerMgr::destroyInstance to avoid memory leak
  1630. [FIX] Physics: Skips one frame when delta time is equal to zero
  1631. [FIX] Physics: PhysicsShapeEdgeChain::init() always return false
  1632. [FIX] Setup: Force updating environment variables in setup.py
  1633. [FIX] Value: A potential memory leak in value's default constructor
  1634. cocos2d-x-3.0rc1 April.2 2014
  1635. [NEW] Application: Adds getCurrentLanguageCode() which returns iso 639-1 language code
  1636. [NEW] cocos2d::extension::ScrollView: Elastic bounce back effect support
  1637. [NEW] Constructor: Added CC_CONSTRUCTOR_ACCESS macro to re-define constructor/initXXX methods to 'public' access.
  1638. [NEW] Label: Added new methods 'set(Anti)AliasTexParameters' for enabling/disabling antialias
  1639. [FIX] Android: Reloaded texture is not shown if it has the mipmap
  1640. [FIX] Android: Application may become black at first time entering on some devices
  1641. [FIX] Audio: Stopped music could also be resumed on iOS
  1642. [FIX] CCBReader: Wrong logic in CCBAnimationManager::moveAnimationsFromNode
  1643. [FIX] CocoStudio: ActionObject memory leak in ActionManagerEx::initWithDictionary
  1644. [FIX] Console: initialize some variables that are not initilized in destructor
  1645. [FIX] Console: refactor 'upload' command, encode file with base64, detach 'upload' from main loop
  1646. [FIX] EventDispatcher: Potential crashes in EventDispatcher while using SceneGraphPriroity listeners
  1647. [FIX] FileUtils: addSearchResolutionsOrder doesn't check whether there is a 'slash' at the end of path
  1648. [FIX] FileUtils: Boolean value could not be written to specified plist file
  1649. [FIX] GLView: Can't receive touchEnded event when mouse up outside of window on desktop platforms
  1650. [FIX] Image: Some functions and variables in Image class is private, it should be protected
  1651. [FIX] Label: Crash if label's type is STRING_TEXTURE and label->sortAllChildren is called
  1652. [FIX] Label: Display incorrect of multi-line label if invoking 'getLetter'
  1653. [FIX] Label: Default Anchor point isn't in middle and shadow offset doesn't consider contentScaleFactor
  1654. [FIX] Label: Label's color is incorrect if it's created by font name
  1655. [FIX] Label: Missing letters if using old LabelTTF and running on iPhone 64bit simulator(device)
  1656. [FIX] Label: Refactor implementation of label's shadow
  1657. [FIX] Label: Stroke was not 'outside stroke' for Label which is generated by 'Font name'
  1658. [FIX] Label: Wrong logic in Label::setFontAtlas
  1659. [FIX] Label: Read file more than once for label created by different font size
  1660. [FIX] Label: Getting wrong rectangle by LabelTTF(LabelBMFont)::getBoundingBox.
  1661. [FIX] Label: Possible crash if invoking FontAtlasCache::purgeCachedData
  1662. [FIX] LuaBinding: Adds `addCustomHandler` in the ScriptHandlerMgr
  1663. [FIX] LuaBinding: Upgrading LuaSocket to the latest version
  1664. [FIX] Menu: Added missed scaleZ feature in ScaleTo and ScaleBy.
  1665. [FIX] Network: Implements 'SIODelegate::fireEventToScript' method to integrate JSB event handling with the original native code.
  1666. [FIX] Network: WebsocketTest crashes on win32, mutex varible may be deleted while it's still locked
  1667. [FIX] ParticleSystem: Particle will stop animating if it was removed and re-added to another node
  1668. [FIX] ParticleSystem: Set particle visible to false then set to true cause crashes
  1669. [FIX] Physics: Incorrect function invocation in PhysicsBody::setAngularVelocityLimit
  1670. [FIX] Physics: PhysicsBody::setGravityEnable doesn't work correctly sometimes
  1671. [FIX] Physics: PhysicsBody moves randomly when switch foreground/background
  1672. [FIX] Physics: Refactors PhysicsDebugDraw
  1673. [FIX] Tests: Memory leak in CocosDenshionTest
  1674. [FIX] Texture2D: Support to update partial texture
  1675. [FIX] Tools: The apk generated with release mode in cocos-console can't be installed
  1676. [FIX] UI: Widget::addNode is confused, need to add ProtectedNode to remove addNode API.
  1677. [FIX] UI: Adding HBox, VBox layouts, refactoring 'doLayout' function
  1678. [3RD] Chipmunk: Upgraded to v6.2.1
  1679. [3RD] libwebsockets: Upgraded to v1.23
  1680. cocos2d-x-3.0rc0 March.14 2014
  1681. [All]
  1682. [NEW] Action: RotateBy supports 3D rotations
  1683. [NEW] Bindings: Using python to automatically generate script bindings
  1684. [NEW] ccConfig.h: removed support for CC_TEXTURE_ATLAS_USE_TRIANGLE_STRIP
  1685. [NEW] Console: Added command: 'autotest run|main|next|back|restart'.
  1686. [NEW] Console: Added 'resolution', 'projection' commands. Improved API
  1687. [NEW] Console: Added more commands: director resume|pause|stopanimation|startanimation.
  1688. [NEW] Console: Added command: 'touch tap|swipe' to simulating touch events.
  1689. [NEW] Console: Added command: 'upload filename filesize' to upload a file to writable path.
  1690. [NEW] Director: Displays 'Vertices drawn' in the stats. Useful to measure performance.
  1691. [NEW] GLProgram: initWithVertexShaderByteArray() -> initWithByteArrays()
  1692. [NEW] GLProgram: initWithVertexShaderFilename()a -> initWithFilenames()
  1693. [NEW] GLProgram: addAttribute() -> bindAttributeLocation()
  1694. [NEW] Label: can custom shadow and outline size
  1695. [NEW] Label: LabelTTF was re-implemented as a wrapper of Label
  1696. [NEW] Node: Added set/get Position3D() and set/get Rotation3D()
  1697. [NEW] Node: Calculates rotation X and Y correctly.
  1698. [NEW] Node: set/get VertexZ() -> set/get PositionZ()
  1699. [NEW] Node: setRotationX() -> setRotationSkewX()
  1700. [NEW] Node: setRotationY() -> setRotationSkewY()
  1701. [NEW] Node: visit() and draw() new arguments: Renderer, parentTransform, and whether or not the parentTransform has changed since the last frame
  1702. [NEW] Language: Added Dutch support
  1703. [NEW] Sprite: Added auto-culling support. Performance increased in about 100% when many sprites are outside the screen
  1704. [NEW] Setup.sh: added script to set up environment needed for cocos2d-x
  1705. [NEW] Scheduler: Added new API [ schedule(std::function, ...), schedule(member_func, ...) ], deprecated the old API [ scheduleSelector(member_func, ...) ]
  1706. [FIX] Action: FadeIn and FadeOut behaviours is incorrect if it doesn't start from an edge value( 0 or 255)
  1707. [FIX] Array: crash when invoking initWithObjects()
  1708. [FIX] Action: Merge cocostudio/CCActionXxx to CCAction
  1709. [FIX] Bindings: Adds a macro to disable inserting script binding relevant codes
  1710. [FIX] Bindings: Supports 'setTimeout' and 'setInterval' in JSB
  1711. [FIX] Bindngs: Exposes the missing data structures of Spine to JS
  1712. [FIX] Bindings: cc.BuilderReader.load( path, null, parentSize ); was not allowed
  1713. [FIX] Console: crashes on Windows
  1714. [FIX] ControlButton: Crash if it was removed from parent in its callback
  1715. [FIX] CocoStudio: Logical error in 'TriggerObj::detect()'
  1716. [FIX] Director: Crash if invoking Director::end() on WINDOWS
  1717. [FIX] Director: setAnimationInterval has not effect on Mac
  1718. [FIX] EditBox: position would not be updated if its parent's position changed
  1719. [FIX] EditBox: Voice recognition input would cause crash on ios7
  1720. [FIX] EGLView: renamed to GLView, no longer a singleton, easier to customize
  1721. [FIX] EventDispatcher: removeAllEventListeners() remove event listeners used internally, make textures not reload on Android when come from background
  1722. [FIX] EventDispatcher: dispatchEventToListeners() causes "out of range" exception
  1723. [FIX] Image: s3tc compressed textures with no mipmaps fail to be loaded
  1724. [FIX] Label: A string which only contains CJK characters can't make a line-break when it's needed
  1725. [FIX] Label: Character would not be aligned on the baseline when label using distance field
  1726. [FIX] Label: Color and opacity can't take effect
  1727. [FIX] Label: Font size passed to new Label didn't consider 'contentScaleFactor'
  1728. [FIX] Label: loading custom fonts from ttf file fails on windows
  1729. [FIX] Label: LabelAtlas::setColor takes no effect
  1730. [FIX] MotionStreak: Added unimplemented position getter/setter
  1731. [FIX] Node: setAdditionalTransform receives a pointer and not a const reference
  1732. [FIX] Node: setRotation() moves opposite when node has a physics body
  1733. [FIX] Node: Can not use Node::setPhysicsBody to reset a physics body
  1734. [FIX] Object: Object -> Ref, and remove unneeded functions
  1735. [FIX] Other: Removes samples except testcpp|testjavascript|testlua. Moves sample games to `cocos2d/samples` repo
  1736. [FIX] Physics integration: Improves physical performance
  1737. [FIX] Physics integration: PhysicsContact::_contactData may be double freed.
  1738. [FIX] Physics integration: PhysicsShapeBox::getSize returns wrong value.
  1739. [FIX] ParticleSystemQuad: setTotalParticles() can not set a value larger than initialized value
  1740. [FIX] Renderer: Expand textureID bit from 18bits to 32bits. Resolves probably crash on Linux / Android
  1741. [FIX] RenderTexture: save screen with RenderTexture got unexpected result
  1742. [FIX] RenderTexture: saveToFile() can't write png file correctly
  1743. [FIX] Spine: spine::Skeleton would not be updated after being re-added to scene
  1744. [FIX] Sprite: not work as expected when CC_SPRITE_DEBUG_DRAW is 1
  1745. [FIX] Scheduler: Thread deadlock if new functions are added in callback of Scheduler:: performFunctionInCocosThread
  1746. [FIX] Tests: EditBoxText crashes on Win32 when being clicked many times
  1747. [FIX] Tests: ChipmunkTest bounding box for debugging couldn't be shown
  1748. [FIX] Tests: CocoStudioGuiTest/LabelBMFontTest crashes
  1749. [FIX] Tests: Particle test/AddAndRemove test crashes
  1750. [FIX] Tests: RenderTextureTest not drawn when coming from background
  1751. [FIX] Tests: LabelTTFMultiline show nothing on mac
  1752. [FIX] Timer::cancel always call Director::getInstance()->getScheduler() even in another Scheduler
  1753. [FIX] Tests: Potential crash by switching repeatly between HttpClientTest, WebSocketTest, SocketIOTest
  1754. [FIX] Tests: State is changed to RESUME when game comes back to foreground if pause button was clicked in Interval Test
  1755. [FIX] TMXLayer: Removing child from TMXLayer may cause crash
  1756. [FIX] TMXObjectGroup: Object values (x, y, width and height) from TMXObjectGroup are incorrect
  1757. [FIX] TMXXMLParser: Refactored the codes of parsing pure xml layer format for tilemap
  1758. [FIX] TMXXMLParser: 'y' value is parsed incorrectly
  1759. [FIX] UI: Changes namespace from 'cocos2d::gui' to 'cocos2d::ui'.
  1760. [FIX] UI: Supports RichText
  1761. [FIX] Vector: Object which isn't in Vector would also be released when invoking Vector::eraseObject.
  1762. [FIX] Websocket: Potential crash when websocket connection closes.
  1763. [FIX] Websocket: No callback is invoked when websocket connection fails
  1764. [FIX] Xcode 5.1: Added Xcode 5.1 to build arm64 version, but can not require socket module in lua, will fix it soon
  1765. [3RD] Kazmath: Upgraded to latest version of Kazmath
  1766. cocos2d-x-3.0beta2 Jan.24 2014
  1767. [All]
  1768. [NEW] Full screen support for desktop platforms.
  1769. [NEW] Adds performance test for EventDispatcher.
  1770. [NEW] Adds performance test for Containers(Vector<>, Array, Map<K,V>, Dictionary).
  1771. [NEW] DrawNode supports to draw triangle, quad bezier, cubic bezier.
  1772. [NEW] Console: added the 'textures', 'fileutils dump' and 'config' commands
  1773. [NEW] GLCache: glActiveTexture() is cached with GL::activeTexture(). All code MUST call the cached version in order to work correctly
  1774. [NEW] Label: Uses a struct of TTF configuration for Label::createWithTTF to reduce parameters and make this interface more easily to use.
  1775. [NEW] Label: Integrates LabelAtlas into new Label.
  1776. [NEW] Node: Added `setGlobalZOrder()`. Useful to change the Node's render order. Node::setZOrder() -> Node::setLocalZOrder()
  1777. [NEW] Renderer: Added BatchCommand. This command is not "batchable" with other commands, but improves performance in about 10%
  1778. [FIX] event->stopPropagation can't work for EventListenerTouchAllAtOnce.
  1779. [FIX] Uses unified `desktop/CCEGLView.h/cpp` for desktop platforms (windows, mac, linux).
  1780. [FIX] Bindings-generator supports Windows again and remove dependency of LLVM since we only need binary(libclang.so/dll).
  1781. [FIX] Removes unused files for MAC platform after using glfw3 to create opengl context.
  1782. [FIX] Wrong arithmetic of child's position in ParallaxNode::addChild()
  1783. [FIX] CocoStudio: TestColliderDetector in ArmatureTest can't work.
  1784. [FIX] CocoStudio: The order of transform calculation in Skin::getNodeToWorldTransform() is incorrect.
  1785. [FIX] Crash if file doesn't exist when using FileUtils::getStringFromFile.
  1786. [FIX] If setting a shorter string than before while using LabelAtlas, the effect will be wrong.
  1787. [FIX] Label: Memory leak in FontFreeType::createFontAtlas().
  1788. [FIX] Label: Crash when using unknown characters.
  1789. [FIX] Label: Missing line breaks and wrong alignment.
  1790. [FIX] Label: Corrupt looking characters and incorrect spacing between characters
  1791. [FIX] Label: Label:color and opacity settings are invalid afeter these these properties changed: 1)text content changed 2)align style changed 3)max line width limited
  1792. [FIX] Label: Crash when using unknown characters
  1793. [FIX] Console: log(format, va_args) is private to prevent possible resolution errors
  1794. [FIX] Configuration: dumpInfo() -> getInfo()
  1795. [FIX] ControlSlider doesn't support to set selected thumb sprite.
  1796. [FIX] ControlButton doesn't support to set scale ratio of touchdown state.
  1797. [FIX] Particles: Crash was triggered if there is not `textureFileName`section in particle plist file.
  1798. [FIX] Renderer: Uses a float as key with only the depth. Viewport, opaque are not needed now
  1799. [FIX] Renderer Performance Fix: QuadCommand::init() does not copy the Quads, it only store a reference making the code faster
  1800. [FIX] Renderer Performance Fix: Sprite and SpriteBatchNode (and subclasses) has much better performance
  1801. [FIX] Renderer Performance Fix: When note using VAO, call glBufferData() instead of glBufferSubData().
  1802. [FIX] Renderer Performance Fix: Doesn't sort z=0 elements. It also uses sort() instead of stable_sort() for z!=0.
  1803. [FIX] Sprite: removed _hasChildren optimization. It uses !_children.empty() now which is super fast as well
  1804. [FIX] Tests: Sprites Performance Test has 4 new tests
  1805. [FIX] TextureCache: getTextureForKey and removeTextureForKey work as expected
  1806. [FIX] TextureCache: dumpCachedTextureInfo() -> getCachedTextureInfo()
  1807. [FIX] Websocket doesn't support send/receive data which larger than 4096 bytes.
  1808. [FIX] Object: Remove _retainCount
  1809. [FIX] ParallaxNode: Coordinate of Sprite may be wrong after being added into ParallaxNode
  1810. [FIX] Crash if there is not `textureFileName`section in particle plist file
  1811. [FIX] Websocket cannot send/receive more than 4096 bytes data
  1812. [FIX] TextureCache::addImageAsync can't load first image
  1813. [FIX] ControlSlider: Can not set "selected thumb sprite"
  1814. [FIX] ControlSlider: Can not set "scale ratio"
  1815. [FIX] Crash when loading tga format image
  1816. [FIX] Keyboard pressed events are being repeatedly fired before keyboard is released
  1817. [Android]
  1818. [FIX] Background music can't be resumed when back from foreground
  1819. [FIX] ANR (Application Not Responding) appears on android 2.3 when pressing hardware button.
  1820. [lua binding]
  1821. [NEW] Can bind classes that have the same class names but different namesapces
  1822. [FIX] Use EventDispatcher to update some test cases
  1823. [FIX] sp.SkeletonAnimation:registerScriptHandler should not override cc.Node:registerScriptHandler
  1824. [javascript binding]
  1825. [NEW] Bind SAXParser
  1826. [FIX] Pure JS class that wants to inherite from cc.Class will trigger an irrelevant log
  1827. [FIX] Mac and iOS Simulator should also use SpiderMonkey which was built in RELEASE mode
  1828. [FIX] Crash when running JSB projects on iOS device in DEBUG mode
  1829. [FIX] Crash when Firefox connects to JSB application on Mac platform.
  1830. [Desktop]
  1831. [NEW] Support fullscreen
  1832. [Linux]
  1833. [FIX] "Testing empty labels" in LabelTest crashes.
  1834. [Mac]
  1835. [FIX] Removes unused files after using glfw3 to create opengl context
  1836. [Win32]
  1837. [FIX] Compiling error when using x64 target
  1838. [FIX] Tests: TestCpp works with CMake
  1839. [FIX] Bindings-generator supports Windows again and remove dependency of LLVM since it only needs binary of libclang
  1840. cocos2d-x-3.0beta Jan.7 2014
  1841. [All]
  1842. [NEW] New label: shadow, outline, glow support
  1843. [NEW] AngelCode binary file format support for LabelBMFont
  1844. [NEW] New spine runtime support
  1845. [NEW] Add templated containers, such as `cocos2d::Map<>` and `cocos2d::Vector<>`
  1846. [NEW] TextureCache::addImageAsync() uses std::function<> as call back
  1847. [NEW] Namespace changed: network -> cocos2d::network, gui -> cocos2d::gui
  1848. [NEW] Added more CocoStudioSceneTest samples.
  1849. [NEW] Added UnitTest for Vector<T>, Map<K, V>, Value.
  1850. [NEW] AngelCode binary file format support for LabelBMFont.
  1851. [NEW] New renderer: Scene graph and Renderer are decoupled now.
  1852. [NEW] Upgrated Box2D to 2.3.0
  1853. [NEW] SChedule::performFunctionInCocosThread()
  1854. [NEW] Added tga format support again.
  1855. [NEW] Adds UnitTest for Template container and Value class
  1856. [FIX] A Logic error in ControlUtils::RectUnion.
  1857. [FIX] Bug fixes for Armature, use Vector<T>, Map<K, V> instead of Array, Dictionary.
  1858. [FIX] Used c++11 range loop(highest performance) instead of other types of loop.
  1859. [FIX] Removed most hungarian notations.
  1860. [FIX] Merged NodeRGBA to Node.
  1861. [FIX] Potential hash collision fix.
  1862. [FIX] Updates spine runtime to the latest version.
  1863. [FIX] Uses `const std::string&` instead of `const char*`.
  1864. [FIX] LabelBMFont string can't be shown integrally.
  1865. [FIX] Deprecates FileUtils::getFileData, adds FileUtils::getStringFromFile/getDataFromFile.
  1866. [FIX] GUI refactoring: Removes UI prefix, Widget is inherited from Node, uses new containers(Vector<T>, Map<K,V>).
  1867. [FIX] String itself is also modified in `String::componentsSeparatedByString`.
  1868. [FIX] Sprites with PhysicsBody move to a wrong position when game resume from background.
  1869. [FIX] Crash if connection breaks during download using AssetManager.
  1870. [FIX] OpenAL context isn't destroyed correctly on mac and ios.
  1871. [FIX] Useless conversion in ScrollView::onTouchBegan.
  1872. [FIX] Two memory leak fixes in EventDispatcher::removeEventListener(s).
  1873. [FIX] CCTMXMap doesn't support TMX files reference external TSX files
  1874. [FIX] Logical error in `CallFuncN::clone()`
  1875. [FIX] Child's opacity will not be changed when its parent's cascadeOpacityEnabled was set to true and opacity was changed
  1876. [FIX] Disallow copy and assign for Scene Graph + Actions objects
  1877. [FIX] XMLHttpRequest receives wrong binary array
  1878. [FIX] XMLHttpRequest.status needs to be assigned even when connection fails
  1879. [FIX] TextureCache::addImageAsync may load a image even it is loaded in GL thread
  1880. [FIX] EventCustom shouldn't use std::hash to generate unique ID, because the result is not unique
  1881. [FIX] CC_USE_PHYSICS is actually impossible to turn it off
  1882. [FIX] Crash if connection breaks during download using AssetManager
  1883. [FIX] Project_creator supports creating project at any folder and supports UI
  1884. [Android]
  1885. [NEW] build/android-build.sh: add supporting to generate .apk file
  1886. [NEW] Bindings-generator supports to bind 'unsigned long'.
  1887. [FIX] XMLHttpRequest receives wrong binary array.
  1888. [FIX] 'Test Frame Event' of TestJavascript/CocoStudioArmatureTest Crashes.
  1889. [FIX] UserDefault::getDoubleForKey() doesn't pass default value to Java.
  1890. [iOS]
  1891. [FIX] Infinite loop in UserDefault's destructor
  1892. [Windows]
  1893. [NEW] CMake support for windows.
  1894. [Bindings]
  1895. [NEW] Support CocoStudio v1.2
  1896. [NEW] Adds spine JS binding support.
  1897. [FIX] Don't bind override functions for JSB and LuaBining since they aren't needed at all.
  1898. [FIX] The order of onEnter and onExit is wrong.
  1899. [FIX] The setBlendFunc method of some classes wasn't exposed to LUA.
  1900. [FIX] Bindings-generator doesn't support 'unsigned long'
  1901. [FIX] Potential hash collision by using typeid(T).hash_code() in JSB and LuaBinding
  1902. [Lua binding]
  1903. [NEW] New label support
  1904. [NEW] Physcis integrated support
  1905. [NEW] EventDispatcher support
  1906. [FIX] CallFuncND + auto remove lua test case have no effect
  1907. [FIX] Lua gc will cause correcsponding c++ object been released
  1908. [FIX] Some lua manual binding functions don't remove unneeded element in the lua stack
  1909. [FIX] The setBlendFunc method of some classes wasn't exposed to LUA
  1910. [Javascript binding]
  1911. [FIX] `onEnter` event is triggered after children's `onEnter` event
  1912. cocos2d-x-3.0alpha1 Nov.19 2013
  1913. [all platforms]
  1914. [DOC] Added RELEASE_NOTES and CODING_STYLE.md files
  1915. [FIX] Texture: use CCLOG to log when a texture is being decoded in software
  1916. [FIX] Spine: fix memory leaks
  1917. [FIX] fixed a memory leak in XMLHTTPRequest.cpp
  1918. [FIX] removeSpriteFramesFromFile() crashes if file doesn't exist.
  1919. [FIX] Avoid unnecessary object duplication for Scale9Sprite.
  1920. [FIX] create_project.py does not rename/replace template projects completely.
  1921. [FIX] Could not set next animation in CCBAnimationCompleted callback.
  1922. [FIX] The Node's anchor point was changed after being added to ScrollView.
  1923. [FIX] Refactored and improved EventDispatcher.
  1924. [FIX] EventListeners can't be removed sometimes.
  1925. [FIX] When parsing XML using TinyXML, the data size has to be specified.
  1926. [FIX] Parameter type: const char* -> const string&
  1927. [FIX] Armature: many bug fixed, add more samples, add function to skip some frames when playing animation
  1928. [FIX] Configuration of VAO in runtime
  1929. [FIX] Webp Test Crashes.
  1930. [FIX] TransitionScenePageTurn: z fighting
  1931. [FIX] AssetsManager: Adding test whether the file directory exists when uncompressing file entry,if does not exist then create directory
  1932. [FIX] CCBReader: To set anchor point to 0,0 when loading Scale9Sprite
  1933. [FIX] OpenGL Error 502 in Hole Demo
  1934. [FIX] AssetsManager: downloading progress is not synchronized with actual download
  1935. [FIX] SpriteFrameCache: memory leak when loading a plist file
  1936. [FIX] removeSpriteFramesFromFile() crashes if file doesn't exist
  1937. [FIX] EditBox: can't click the area that outside of keyboard to close keyboard
  1938. [FIX] CCBReader: can not set next animation in AnimationCompleted callback
  1939. [FIX] Node's anchor point was changed after being added to ScrollView
  1940. [FIX] EventDispather: refactor method and fix some bugs
  1941. [FIX] EventListner: cann't be removed sometimes
  1942. [FIX] UserDefault: didn't set data size when parsing XML using TinyXML
  1943. [FIX] Webp test crashed
  1944. [FIX] CCHttpClient: The subthread of CCHttpClient interrupts main thread if timeout signal comes.
  1945. [NEW] Arm64 support.
  1946. [NEW] Added Mouse Support For Desktop Platforms.
  1947. [NEW] Point: Adds ANCHOR_XXX constants like ANCHOR_MIDDLE, ANCHOR_TOP_RIGHT, etc.
  1948. [NEW] Sprite: Override setScale(float scaleX, float scaleY)
  1949. [NEW] External: added | operator for Control::EventType
  1950. [NEW] Android & iOS screen size change support
  1951. [NEW] GLProgram: setUniformLocationWithMatrix2fv, setUniformLocationWithMatrix3fv
  1952. [NEW] Color[3|4][B|F]: comparable and explicit convertible
  1953. [NEW] Contorl::EventType add | operation
  1954. [NEW] Performance Test: Sprite drawing
  1955. [NEW] Adjusted folder structure
  1956. [NEW] Added tools to simplify upgrading game codes from v2.x to v3.x
  1957. [FIX] Added virtual destructors on Interfaces
  1958. [Android]
  1959. [FIX] Added EGL_RENDERABLE_TYPE to OpenGL attributes
  1960. [FIX] Fixed application will crash when pause and resume.
  1961. [FIX] Clear NoSuchMethodError Exception when JniHelper fails to find method id
  1962. [FIX] Fixed crash when backging from background
  1963. [FIX] LabelTTF: crashed when setting dimension input height value less than the height of the font and the input width value is 0
  1964. [FIX] Changed data type of 'char' to signed as default
  1965. [NEW] Added xlargeScreens="true" to supports-screens
  1966. [NEW] Added build/android-build.py to build all Android samples, and remove all build_native.sh/cmd
  1967. [NEW] Added build_native.py to build template projects, and remove build_native.sh/cmd
  1968. [NEW] Added Cocos2dxHelper.runOnGLThread(Runnable) again
  1969. [NEW] Added support for orientation changed
  1970. [NEW] Disabled CDT Builder on Eclipse
  1971. [Mac]
  1972. [FIX] Removed unused CCLOG() from GL initialization
  1973. [FIX] HttpClientTest: crash
  1974. [iOS]
  1975. [FIX] Can't click the area that outside of keyboard to close keyboard when using EditBox.
  1976. [NEW] Added support for orientation changed
  1977. [Linux]
  1978. [NEW] Used CMake to build linux projects.
  1979. [FIX] Closed X display after getting DPI on Linux.
  1980. [Win32]
  1981. [FIX] Last test case of OpenglTest crashed
  1982. [Desktop]
  1983. [FIX] Trigger onKeyReleased only after the key has been released.
  1984. [NEW] Added mouse support
  1985. [Javascript binding]
  1986. [FIX] Fixed a memory leak in ScriptingCore::runScript()
  1987. [FIX] sys.localStorage.getItem() does not support non-ascii string.
  1988. [FIX] cc.Scheduler.schedule(target, func) without repeat argument couldn't repeat schedule forever on device.
  1989. [FIX] CCBReader can't play sequence automatically in JSB.
  1990. [FIX] Wrong convention to jsval in cccolor4f_to_jsval and cccolor3b_to_jsval
  1991. [FIX] sys.localStorage: doesn't support non-ascii string
  1992. [FIX] BuilderReader: can't play sequence automatically
  1993. [FIX] Wrong conversion to javal in cccolor4f_to_jsval and cccolor3b_to_jsval
  1994. [NEW] main.js -> cocos2d-jsb.js
  1995. [NEW] Remote debugging using Firefox, "step into" can not work
  1996. [NEW] Added binding for Node::setScale(float, float)
  1997. [NEW] Impvoved armature binding
  1998. [NEW] Added CocoStudio releated binding codes: gui, scene parser, and add corresponding samples
  1999. [Lua Binding]
  2000. [NEW] Added Armature lua binding and added test samples.
  2001. [NEW] Added LuaObjectBridge & LuaJavaBridge to simplify invoking objective-c codes and java codes from lua
  2002. [NEW] Added CocoStudio releated binding codes: gui, scene parser, and add corresponding samples
  2003. [NEW] Added AssetsManager binding and corresponding sample
  2004. [NEW] Added XMLHttpRequest lua binding and corresponding sample
  2005. cocos2d-x-3.0alpha0 @Sep.19 2013
  2006. [all platforms]
  2007. [FIX] TargetAction::reverse() works as expected
  2008. [FIX] Fixed crash in OpenGLTest
  2009. [FIX] Fixed logic when passing an empty std::vector to WebSocket::init()
  2010. [FIX] Fixed crash in ParticleSystemQuad due to improper deletion of VBO and VAO
  2011. [FIX] Point::isSegmentIntersect() returns correct value
  2012. [FIX] Improved UTF8 response code in XmlHttpRequest
  2013. [FIX] Observers with the same target and name but different sender are the same observer in NotificationCenter
  2014. [NEW] Added ATITC format support
  2015. [NEW] Better integration with physics engine
  2016. [NEW] New Event Dispatcher: supports Keybaord, Touches, Accelerometer, Custom events. Added Tests as well
  2017. [NEW] New Label code: Faster and more efficient than previous code
  2018. [NEW] Added S3TC support
  2019. [NEW] Added a method to get duration of timeline for CCBAnimationManager class
  2020. [NEW] Array is compatible with STL containers.
  2021. [3RD] Upgraded SpiderMonkey to Firefox v23
  2022. [Android]
  2023. [FIX] Fixed When lock screen or entering background and resume the application textures from pvr.ccz file become black
  2024. [FIX] Fixed Stroke font color
  2025. [NEW] Uses Native Activity
  2026. [iOS]
  2027. [FIX] Status bar can be hidden on iOS 7
  2028. [FIX] Added iOS7 icons to templates and tests
  2029. [Mac OS X]
  2030. [NEW] iOS and Mac tempaltes were merged into one single Xcode project file.
  2031. [NEW] Added Lua template
  2032. [JavaScript bindings]
  2033. [FIX] CCBReader is able to set properties to owner if 'owner var' is setted
  2034. [FIX] Fixed crash when extending cc.ScrollView in JS
  2035. [FIX] cc.registerTargettedDelegate supports pure js object as its target
  2036. [FIX] Fixed memory leak in the binding glue code of cc.FileUtils.getStringFromFile(getByteArrayFromFile)
  2037. [NEW] Added bindigns for Sprite::getDisplayFrame(), ControlButton callback and RemoveSelf
  2038. [Lua bindings]
  2039. [NEW] Bind Sprite::getDisplayFrame()
  2040. cocos2d-x-3.0alpha0-pre @Jul.30 2013
  2041. [all platforms]
  2042. [FIX] #2124: Image::initWithImageFileThreadSafe is not thread safe
  2043. [FIX] #2230: Node::onEnterTransitionDidFinish was called twice when a node is added in Node::onEnter
  2044. [FIX] #2237: calculation offset in font rendering
  2045. [FIX] #2303: missing precision when getting strokeColor and fontFillColor
  2046. [FIX] #2312: WebSocket can not parse url like "ws://domain.com/websocket