Commit Graph

206 Commits

Author SHA1 Message Date
pandamicro 7712da14f5 Merge remote-tracking branch 'fireball/master' into next 2018-01-15 17:51:33 +08:00
Jare Guo bd22095ea5 Merge pull request #2221 from cocos-creator/v1.7
sync branch
2017-12-28 10:24:50 +08:00
knoxHuang 0e93e98c28 fix label warp bug, The first line should not remove the space 2017-12-22 09:57:09 +08:00
yinkaile 14f04ac23b add label assembler 2017-12-17 12:33:24 +08:00
yinkaile 0e3dead9f1 fixed TextUtils 2017-12-17 12:32:59 +08:00
Jare Guo 7834448133 Merge branch 'v1.7'
# Conflicts:
#	cocos2d/core/load-pipeline/loader.js
2017-12-13 14:44:33 +08:00
knoxHuang 6607f4de94 fix label warp bug for cocos-creator/engine/issues/2151 2017-12-05 14:29:39 +08:00
knoxHuang 1d6bdc5c36 fix label warp bug for cocos-creator/engine/issues/2151 2017-12-04 16:19:21 +08:00
pandamicro 553e62c5bc Fix Texture width / height API usage 2017-10-11 13:49:28 +08:00
Jare Guo f6cc4032c3 Merge commit '870f900f6ca6a455bedc4e12f9c4febcf54aefe0' into asset
# Conflicts:
#	cocos2d/core/sprites/CCSGSpriteWebGLRenderCmd.js
#	cocos2d/core/sprites/CCSpriteFrame.js
#	cocos2d/core/textures/CCTexture2D.js
#	cocos2d/core/textures/CCTextureCache.js
#	jsb/jsb-tex-sprite-frame.js
2017-09-18 23:08:03 +08:00
Jare Guo 301f4e709a refactoring API of cc.Asset: rawUrl -> nativeUrl, _rawFile -> _native, _setRawFile(s) -> _setRawAsset, rawType -> _nativeObject 2017-09-18 18:13:23 +08:00
pandamicro 51d67d80bb Update Texture2D API usages 2017-09-14 16:19:37 +08:00
Jare Guo 702353d312 remove deprecated atlas index 2017-09-11 10:29:48 +08:00
2youyouo2 68c8f9c4ac separate culling and transform step 2017-08-31 15:35:03 +08:00
knoxHuang 17597bfa96 fix repeatedly creating a Label will cause the Label to be incorrect for fireball/issues/6282 2017-08-18 09:59:37 +08:00
RazgrizHsu cdc564a536 according to the discussion
- correct wrong word of Width
- include case when image height less then lineHeight
- promote image attribute regex to global cache in file
2017-08-17 12:23:55 +08:00
RazgrizHsu 601aa09741 fix unit test cases, follow original rule 2017-08-17 06:04:44 +08:00
RazgrizHsu 6fd37c87d2 Extend the RichText <img> tag's attributes to support height and width
follow the original principle: the image line height must not exceed the RichText line height
2017-08-16 10:14:29 +08:00
knoxHuang c6f81f4866 fix Bmfont click useSystemFont, showing two label bug 2017-07-28 23:53:59 +08:00
zilongshanren d1e19b9c37 fix fontFace load api 2017-07-21 14:18:26 +08:00
zilongshanren d9ec5dae6c fix custom ttf md5 cache 2017-07-21 13:56:01 +08:00
Jare Guo bf79d94fe6 remove extname used in require 2017-07-05 16:32:41 +08:00
zilongshanren 9a898d19c5 improve font API 2017-06-30 10:19:57 +08:00
zilongshanren e1405aa869 improve label api, fix jsb label issue 2017-06-30 09:53:55 +08:00
zilongshanren 31abe4a7b2 fix Editor sgLabel pool issue 2017-06-28 18:24:12 +08:00
zilongshanren 0dd063e663 improve label 2017-06-28 17:49:05 +08:00
zilongshanren 35ab075f4d Merge remote-tracking branch 'fireball/master' into optimize-bmfont-load-speed 2017-06-28 17:16:55 +08:00
pandamicro 788589564c Fix Label reset issues with RichText 2017-06-27 21:42:55 +08:00
zilongshanren a77a23b9b8 fix sglabel pool cache issue 2017-06-27 21:42:55 +08:00
pandamicro a6d10e7804 Add pool for recycling _ccsg.Label objects 2017-06-27 21:42:55 +08:00
zilongshanren b6d4e91421 use pre-parsed bmfont assets data 2017-06-27 10:20:38 +08:00
Jare Guo fe02e2d664 Merge pull request #1721 from jrosich/patch-3
Added Czech and Polish
2017-06-13 10:17:20 +08:00
Wang Nan 41553a3e27 Merge pull request #1720 from 2youyou2/culling
support camera culling
2017-06-12 10:12:27 +08:00
jrosich 04dfda1e03 Added Czech and Polish
I have added 2 more languages:
Czech: ěščřžýáíéóúůťďňĚŠČŘŽÁÍÉÓÚŤ?
Polish: żźśóńłęćąŻŹŚÓŃŁĘĆĄ
2017-06-09 12:19:39 +02:00
2youyouo2 1643955b5c support camera culling 2017-06-09 17:47:15 +08:00
Wang Nan 1b1454ca9d Merge pull request #1715 from cocos-creator/v1.5
merge V1.5
2017-06-08 16:18:31 +08:00
Jare Guo ba0e740511 Merge pull request #1692 from zilongshanren/improve-modular-web
improve web modular system
2017-06-05 16:09:22 +08:00
zilongshanren af07d514ed finish engine modular
modular particle system

modular tiledmap

finish modular
2017-06-05 14:17:56 +08:00
zilongshanren d2ef66f330 use setInterval instead of setTimeout 2017-06-05 10:17:58 +08:00
zilongshanren 137232683d fix setTimeout timing 2017-06-05 09:45:53 +08:00
zilongshanren 084bffa271 remove scheduler call for custom font loader 2017-06-02 17:52:23 +08:00
Wang Nan 766bfba9dc Merge pull request #1688 from cocos-creator/v1.5
merge V1.5
2017-06-01 16:46:32 +08:00
jrosich 3ca0c934ce Update CCTextUtils.js to fix word wrap
This update fixes issue #1671:Label word wrap not working with some Spanish words 
https://github.com/cocos-creator/engine/issues/1671

This fix includes Spanish, Catalan, Hungarian,French and Portuguese. This should be good for most of Romance Languages.
2017-05-24 17:54:58 +02:00
zilongshanren 728e264e98 minor performance improvement 2017-05-22 18:09:44 +08:00
zilongshanren 2db44085f9 bug fix 2017-05-16 11:03:44 +08:00
zilongshanren 462714b70d remove modular engine code 2017-04-24 13:44:10 +08:00
zilongshanren 17298a4471 optimize bmfont error log info 2017-04-17 17:55:35 +08:00
pandamicro 2323c742f1 Remove dom image immediately after texture init 2017-04-11 14:29:13 +08:00
Jare Guo 4d3a29fe9e Merge pull request #1562 from zilongshanren/fix-bmfont-error-v1-4
fix bmfont error
2017-03-22 16:57:07 +08:00
zilongshanren 59f826536b fix bmfont error 2017-03-22 16:52:48 +08:00