pandamicro
7712da14f5
Merge remote-tracking branch 'fireball/master' into next
2018-01-15 17:51:33 +08:00
pandamicro
8cc054c833
Fix super calls to old sg components
2017-10-26 11:09:58 +02:00
pandamicro
48faf3ca49
Removed SGComponent, ComponentInSG, ComponentUnderSG
2017-10-06 17:54:34 +08:00
Jare Guo
6561b380ff
Merge commit 'c0a1b5e369829cd2fd63b52b4cb588690e3ddeea' into asset
2017-09-23 09:02:21 +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
knoxHuang
a057191a98
add handleTouchEvent to CCRichText for fireball/issues/6369
2017-09-15 14:27:09 +08:00
Jare Guo
65146cc302
can not set content size of RichText by using public function…
2017-09-14 16:13:25 +08:00
Jare Guo
4220d4b142
should not emit ‘size-changed’ directly
2017-09-02 21:45:56 +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
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
Jare Guo
c25563be14
Merge pull request #1843 from pandamicro/master
...
Remove ...args in engine
2017-07-26 18:04:46 +08:00
pandamicro
6533180e9d
Remove ...args in engine
2017-07-26 18:03:58 +08:00
zilongshanren
c70c7a2989
improve ttf font creation performance
2017-07-25 14:39:53 +08:00
Wang Nan
76a8bcd0bd
Merge pull request #1794 from cocos-creator/v1.5
...
merge V1.5
2017-07-10 15:39:26 +08:00
knoxHuang
5f3d9e8381
fix CCRichText event for fireball/issues/5226
2017-07-10 15:06:58 +08:00
Jare Guo
bf79d94fe6
remove extname used in require
2017-07-05 16:32:41 +08:00
zilongshanren
e1405aa869
improve label api, fix jsb label issue
2017-06-30 09:53:55 +08:00
zilongshanren
945b6ae8cf
fix richtext prefab editing mode bug
2017-06-28 17:54:09 +08:00
zilongshanren
35ab075f4d
Merge remote-tracking branch 'fireball/master' into optimize-bmfont-load-speed
2017-06-28 17:16:55 +08:00
pandamicro
a6d10e7804
Add pool for recycling _ccsg.Label objects
2017-06-27 21:42:55 +08:00
zilongshanren
728e264e98
minor performance improvement
2017-05-22 18:09:44 +08:00
Wang Nan
925b6b269e
Merge pull request #1664 from zilongshanren/fix-richtext-size-notification
...
fix richtext content size change notification
2017-05-19 11:47:32 +08:00
zilongshanren
f796158239
fix richtext content size change notification
2017-05-19 11:42:49 +08:00
Jare Guo
3fcd0c8b46
no need to copy arguments for apply, see petkaantonov/bluebird#1389
2017-05-17 17:46:51 +08:00
pandamicro
34cd3c30b7
Remove arguments usage in jsb
2017-03-12 15:25:36 +08:00
zilongshanren
9c436f0bcc
add label outline to richtext
2017-01-05 16:59:49 +08:00
knoxHuang
bd8127aff7
optimization shader and tooltip for #fireball/issues/4771
2016-12-19 18:19:18 +08:00
Nan Wang
4dea8e7a8a
move all error logs to DebugInfos.js and only show error id in release build
2016-12-15 17:07:01 +08:00
zilongshanren
d18bc93283
fix richtext custom chinese font rendering issue
2016-12-07 15:25:04 +08:00
zilongshanren
baf4fbb3f3
simplify code
2016-11-23 11:22:33 +08:00
zilongshanren
7dde8471d9
don't trigger loadTTF when ttf is not exists
2016-11-23 11:20:12 +08:00
zilongshanren
fc9429a04f
remove unused code
2016-11-10 20:54:05 +08:00
zilongshanren
3aee3a4e4b
remove duplicated code
2016-11-10 16:29:04 +08:00
zilongshanren
086f092227
add custom font loader
...
add richtext font load
improve custom ttf font cache
fix almost the cases
fix for android mobile device
add custom font loader
fix font load issue
remove unneeded logs
2016-11-10 16:18:45 +08:00
zilongshanren
cc543d98cc
add custom font support
2016-11-10 16:18:39 +08:00
Nan Wang
032d2d2abd
fix api doc reference
2016-10-20 18:36:01 +08:00
zilongshanren
bc1ec7cb1c
add missing property docs
2016-09-26 11:57:25 +08:00
zilongshanren
68884c4e70
add richtext image click event support
2016-09-26 11:19:25 +08:00
zilongshanren
a26aedd8eb
make web works
2016-09-23 18:29:21 +08:00
zilongshanren
c11e29f212
renaming functions
2016-09-22 13:38:54 +08:00
zilongshanren
20038b8fb9
unify CJK and space unicode in engine
2016-09-22 10:41:45 +08:00
zilongshanren
23fbed9cc9
replace sglabel fragment text
2016-09-22 10:37:18 +08:00
zilongshanren
31eeb4e61c
make fragment text more generic
2016-09-22 10:03:07 +08:00
zilongshanren
bb8a941e4f
move richtext common logic to CCTextUtils
2016-09-21 18:05:41 +08:00
zilongshanren
66eb9c6db9
make html text parser modular
2016-09-21 16:10:37 +08:00
zilongshanren
5670ff7524
optimize richtext status update
2016-09-13 10:13:46 +08:00
zilongshanren
17b8a74c8a
cache measureText label segment
2016-09-12 17:40:36 +08:00
zilongshanren
5466367f42
fix italic re-layout
2016-09-12 17:02:59 +08:00
zilongshanren
cf25027c87
sync rich text italics implementation with native
2016-09-12 14:19:34 +08:00
zilongshanren
58f1d4ac9b
fix wrap edge cases
2016-09-06 11:19:55 +08:00