Commit Graph

8446 Commits

Author SHA1 Message Date
zilongshanren 5c95065551 update i18n and fix some minor issues 2016-08-26 11:50:56 +08:00
zilongshanren 2f4da7092e add RichText to modules.json 2016-08-26 10:07:08 +08:00
Wang Nan 700f492e25 Merge pull request #1066 from jareguo/v1.2
improve api doc
2016-08-25 21:26:54 +08:00
zilongshanren 71aa9aaea1 fix jsb effect 2016-08-25 18:28:18 +08:00
Jare Guo 69231a8543 improve api doc 2016-08-25 17:51:13 +08:00
zilongshanren e2de6a3f2a fix layout issue 2016-08-25 17:40:00 +08:00
zilongshanren 9f83695250 improve performance 2016-08-25 16:48:02 +08:00
zilongshanren 57e17c73b9 add RichText component
A minimal working prototype

try and fix

fix richtext color

make richtext properties tweakable

temp

refine

add measure text

fix fragment text

finish non \n case

make non maxWidth working

adjust calling order

fix wired bugs

get first word

still one bug remained

fix wrap error

refactoring

update lineOffsetX

refactoring

refactoring

fix a return issue

don't display vertical alignment

improve performance

refactoring almost done

refactoring

refactoring

improve setColor

use shared htmlTextParser

fix contentSize change issue

add click event handler

add hoverin and hoverout event handler

fix a issue

remove mousein and mouseover

done
2016-08-25 16:47:59 +08:00
pandamicro 25264e87de Merge pull request #1065 from pandamicro/v1.2
Fix event handler not activated if register before active
2016-08-25 14:52:59 +08:00
pandamicro a96507d040 Fix event handler not activated if register before active 2016-08-25 14:23:56 +08:00
Wang Nan a1c3494946 Merge pull request #1063 from knoxHuang/v1.2
fix anti-alias error
2016-08-24 11:45:44 +08:00
knoxHuang 91ef43405c fix anti-alias error 2016-08-24 11:42:44 +08:00
Nan Wang 47c31b2346 fix ccview api comment 2016-08-24 11:36:15 +08:00
Wang Nan c13b21b8f9 Merge pull request #1062 from nantas/v1.2
fix videoplayer api typo
2016-08-23 17:20:43 +08:00
Nan Wang 9b720438ac Merge branch 'v1.2' of github.com:nantas/engine into v1.2 2016-08-23 17:17:48 +08:00
Nan Wang f4da3e3b28 update engine version 2016-08-23 17:17:38 +08:00
Nan Wang 2de63d951a update videoplayer api typo 2016-08-23 17:06:14 +08:00
Jare Guo e64911e104 Merge pull request #1061 from knoxHuang/v1.2
fix _previousIn error for fireball/issues/3919
2016-08-23 11:22:11 +08:00
knoxHuang ebe5dccdac fix _previousIn error for fireball/issues/3919 2016-08-23 11:08:05 +08:00
Wang Nan 49510954b6 Merge pull request #1058 from pandamicro/v1.2
Delay pause inactive target when adding touch/mouse listener to Node
2016-08-23 10:57:47 +08:00
Wang Nan 8fa773a7df Merge pull request #1060 from dabingnn/v1.2_disable_dirtyRegion_IE
disable dirty region in IE to prevent some bugs
2016-08-23 10:55:48 +08:00
Huabing.Xu 0537b46da9 disable dirty region UC 2016-08-23 10:22:23 +08:00
Huabing.Xu 859ba5c75e disable dirty region in IE to prevent some bugs 2016-08-23 10:12:14 +08:00
pandamicro 0ffcf53a7f Delay pause inactive target when adding touch/mouse listener to Node 2016-08-23 09:40:22 +08:00
Wang Nan f5fec77ae6 Merge pull request #1059 from nantas/v1.2
merge enableAntiAlias, revert pause and resume event in CCGame
2016-08-23 09:31:48 +08:00
Nan Wang 362616d6dc revert pause and resume event in CCGame.js 2016-08-22 18:48:10 +08:00
Nan Wang 112c91861d merged enableAntiAlias to v1.2 2016-08-22 18:31:46 +08:00
VisualSJ 1a076f15b3 Merge remote:master 2016-08-22 18:06:08 +08:00
VisualSJ 7a3b562804 remove test code 2016-08-22 17:28:09 +08:00
VisualSJ c295826dac add cc.audioEngine.play 2016-08-22 17:15:28 +08:00
Wang Nan 149374ab7d Merge pull request #1055 from pandamicro/v1.2
Fix currentHovered state and orientation changing during resize
2016-08-22 16:52:40 +08:00
Wang Nan 42950644f4 Merge pull request #1054 from jareguo/v1.2
fix scene list
2016-08-22 16:51:58 +08:00
VisualSJ 7e5bea497a setFinishCallback (audio) 2016-08-22 16:51:18 +08:00
Jare Guo 572b9a7bea fix scene list 2016-08-22 16:42:47 +08:00
pandamicro c7e0e6919c Fix hovered node haven't been reset during scene transition 2016-08-22 15:06:29 +08:00
pandamicro cd6a4ba41b Only rotate the canvas when orientation changing 2016-08-22 11:33:39 +08:00
pandamicro 05a97158e1 Improve RepeatForever doc 2016-08-22 11:32:50 +08:00
zilongshanren feca3e5780 add more tests 2016-08-19 17:36:21 +08:00
zilongshanren e2fbf3de2c add bbcode parser
commit 98767c294a5b5ac1272d320358a65821b8adbbe4
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 18:41:16 2016 +0800

    fix tag

commit 4f6bde4e147b69d8c4c91f149140be6e81a41bbd
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 18:11:40 2016 +0800

    add bold/italic/underline

commit 69a498c44b38f302c448f23e6e544a13e419c2ea
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 17:31:07 2016 +0800

    finish nested tag test

commit 0a7328a8cf9752612de4f8a4cababf00c8e74427
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 15:44:08 2016 +0800

    finish tag parsing

commit d375700850ea52e18710d44d39626f8f22d677ba
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 11:53:16 2016 +0800

    refactoring done

commit 38b567c3439a8b0858b59645ff81cd458ce235a9
Merge: a30fa24 c6cab77
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 11:49:44 2016 +0800

    Merge branch 'master' into add-rich-text-support

commit a30fa24f7127a3cae3945ad994458744766894dc
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 11:48:30 2016 +0800

    refactor tag parsing

commit f123f52c24b3c994769f8c17de1b3a4099af72cd
Merge: ad6e15b f8f9f72
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 09:56:44 2016 +0800

    Merge branch 'master' into add-rich-text-support

commit ad6e15b0124c93fa51c551a9d25d71e2d08c85da
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 09:50:42 2016 +0800

    parse event tag

commit 88cf8a900318408da6f1efba9660efebb2f7469f
Author: zilongshanren <guanghui8827@126.com>
Date:   Wed Aug 10 15:11:03 2016 +0800

    add event handler

commit a409e294b8b39c0bfc79c1e9872bca7339d06e93
Author: zilongshanren <guanghui8827@126.com>
Date:   Wed Aug 10 11:30:53 2016 +0800

    add size parser

commit 15406e1884da24f1d9aade74664f18ce055c91cd
Author: zilongshanren <guanghui8827@126.com>
Date:   Wed Aug 10 10:22:58 2016 +0800

    make color parsing works

commit 6a5e1966e33ed6bf7aa253c1c4d8df52c5906d4c
Author: zilongshanren <guanghui8827@126.com>
Date:   Tue Aug 9 18:31:20 2016 +0800

    support color value

commit 5ee73d1fbbaac7b2e2183182dd095ec3ffa76c20
Author: zilongshanren <guanghui8827@126.com>
Date:   Tue Aug 9 18:21:38 2016 +0800

    add basic tag parser

commit 05a4de6da69a7101376432e19b4a28c098db22ac
Author: zilongshanren <guanghui8827@126.com>
Date:   Thu Jul 14 14:37:09 2016 +0800

    add escape symbol test
2016-08-19 17:36:21 +08:00
Nan Wang e12e468bfe Merge branch 'v1.2' of github.com:cocos-creator/engine into v1.2 2016-08-19 17:18:55 +08:00
Wang Nan 5772238296 Merge pull request #1052 from zilongshanren/fix-memory-leaks-ios
fix possible memory leaks
2016-08-19 17:15:18 +08:00
zilongshanren b107896350 rename member variables 2016-08-19 17:09:51 +08:00
zilongshanren 18632258a0 fix possible memory leaks 2016-08-19 16:55:08 +08:00
Wang Nan 46d4104e36 Merge pull request #1051 from pandamicro/v1.2
Fix Orientation not supported in Fit height & Fit width mode
2016-08-19 16:28:36 +08:00
pandamicro 42b00ebcb9 Force update all scene after set design resolution policy 2016-08-19 16:25:06 +08:00
pandamicro 8e9016f362 Fix Orientation not supported in Fit height & Fit width mode 2016-08-19 16:06:55 +08:00
Nan Wang 03f2fb09ef Merge branch 'v1.2' of github.com:cocos-creator/engine into v1.2 2016-08-19 15:56:22 +08:00
Nan Wang 4edadb381c update engine version 2016-08-19 15:55:56 +08:00
Wang Nan b588dc20b8 Merge pull request #1050 from cocos-creator/v1.2
merge V1.2
2016-08-19 15:41:03 +08:00
Wang Nan 0dd1eabdb8 Merge pull request #1049 from zilongshanren/fix-issue-4026
fix outOfBoundary when scrollview size changed
2016-08-19 11:59:17 +08:00