Wonsik Jung [Tue, 10 Mar 2020 03:56:51 +0000 (12:56 +0900)]
Merge branch 'devel/tizen' into tizen
Wonsik Jung [Tue, 10 Mar 2020 03:56:36 +0000 (12:56 +0900)]
Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
This reverts commit
d395cec18b4aaf512d3cd8280ed999711623caa9.
Change-Id: Ic18f6bb68f209179b50dc926a062db56fd448d82
Wonsik Jung [Tue, 10 Mar 2020 03:56:33 +0000 (12:56 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
ad3e775677d84da3d81df775dcfefefb162bda18.
Wonsik Jung [Tue, 10 Mar 2020 03:16:49 +0000 (12:16 +0900)]
DALi Version 1.5.2
Change-Id: I57fc21906502740b107d0d6dbc3d97144bb7c568
Victor Cebollada [Fri, 6 Mar 2020 08:40:51 +0000 (08:40 +0000)]
Fix for UtcDaliImageViewLoadRemoteSVG utc.
* The url https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/check.svg is down
and makes the UTC to fail.
Change-Id: I18c2cc5d3fa0634003f81b0f556bfdac9abcb9c5
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Joogab Yun [Wed, 26 Feb 2020 06:24:32 +0000 (15:24 +0900)]
When calculating the layout size, the problem occurs.
because it is calculated smaller when ReorderBiDiLayout() in RTL language.
For example, if layout.length is calculated as 487 in GetLineLayoutForBox()
but length is calculated as 482 in ReorderBiDiLayout()
(SetResizePolicy is USE_NATURAL_SIZE and Set MULTI_LINE)
sample)
TextLabel labe21 = TextLabel::New();
labe21.SetResizePolicy( ResizePolicy::USE_NATURAL_SIZE, Dimension::WIDTH );
labe21.SetResizePolicy( ResizePolicy::USE_NATURAL_SIZE, Dimension::HEIGHT );
labe21.SetProperty(Toolkit::DevelTextLabel::Property::BACKGROUND, backgroundMap);
labe21.SetParentOrigin(ParentOrigin::TOP_LEFT);
labe21.SetAnchorPoint(AnchorPoint::TOP_LEFT);
labe21.SetProperty(TextLabel::Property::POINT_SIZE, 34.f);
labe21.SetPosition( 145.f, 100.f);
labe21.SetProperty( TextLabel::Property::HORIZONTAL_ALIGNMENT, "END" );
labe21.SetProperty(Dali::Toolkit::TextLabel::Property::TEXT, "مرحبا بالعالم Hello world" );
Change-Id: I1c56ec9a7e54521e55e72fbf28ad8438ea9e718d
Seoyeon Kim [Mon, 2 Mar 2020 06:28:50 +0000 (15:28 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation
This reverts commit
523175323b5cd870fbcc2a06865c79f3fa54f457.
Change-Id: I8b7db9f407aff84867aaef16e74791c03f0469e7
Heeyong Song [Mon, 2 Mar 2020 05:31:15 +0000 (14:31 +0900)]
[Tizen] Restore behavior of Uploaded and LoadingFinished signal
Change-Id: Ie57018c95c5d926da6332a8d2b7e572609126c8f
Heeyong Song [Mon, 2 Mar 2020 05:30:58 +0000 (14:30 +0900)]
Merge branch 'devel/tizen' into tizen
Change-Id: I58c71811c34793ce383d2d5f857fc44e59114d46
Heeyong Song [Mon, 2 Mar 2020 05:30:37 +0000 (14:30 +0900)]
Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
This reverts commit
649343f01ab8906e3ab11450c489703a372d2893.
Change-Id: Ib267a7c435800e02416c3c2928309bd62d9c031d
Heeyong Song [Mon, 2 Mar 2020 05:30:09 +0000 (14:30 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
8584e3d7db06338a29856428d09d63e3d94020ae.
Change-Id: I0683449e9b194741c71ebda2d9eeb731515eee96
Heeyong Song [Mon, 24 Feb 2020 09:06:12 +0000 (18:06 +0900)]
Fix Coverity issue
Change-Id: Ibf087565f72071ce5e76219a22ee206784739b78
Heeyong Song [Fri, 28 Feb 2020 05:57:02 +0000 (14:57 +0900)]
DALi Version 1.5.1
Change-Id: I2e82e513f54a5499b8799adabea5aff655edd545
Paul Wisbey [Tue, 18 Feb 2020 09:56:36 +0000 (09:56 +0000)]
Moved SingletonService into dali-core
Change-Id: Ibf16e4228e5ad319b9abedafcd16fe066f191110
Seoyeon Kim [Fri, 7 Feb 2020 05:03:46 +0000 (14:03 +0900)]
Update UTF8 text array for 5 and 6 bytes
- Update start and end offsets encoded in UTF8
- Add U5 and U6 cases to UTF8 array
Change-Id: Ic51ee3cc0878c3d09df8d7caeaeff09d7e48cbf7
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Victor Cebollada [Mon, 24 Feb 2020 14:36:35 +0000 (14:36 +0000)]
UTC Text Shaping Fix.
* The test case was written in the old style that relies
on the fonts installed on the platform.
The fix adds the specific fonts to be used.
* In order to pass the test cases locally it might be needed
to install the following fonts:
dali-toolkit/automated-tests/resources/fonts/noto/NotoSansMalayalam-Regular.ttf
dali-toolkit/automated-tests/resources/fonts/roboto/Roboto-Bold.ttf
dali-toolkit/automated-tests/resources/fonts/roboto/Roboto-BoldItalic.ttf
dali-toolkit/automated-tests/resources/fonts/roboto/Roboto-Italic.ttf
dali-toolkit/automated-tests/resources/fonts/roboto/Roboto-Regular.ttf
* To install the fonts copy the font files to a relevant folder
i.e ~/.local/share/fonts
and execute the command fc-cache.
Alternatively the Font Viewer application or similar can be used in Ubuntu
to install fonts.
Change-Id: I82271ddb304bd041180dfa6fb3c3f81a5e2c553c
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Joogab Yun [Mon, 24 Feb 2020 09:16:37 +0000 (18:16 +0900)]
Fixes a layout bug with the COMBINING GRAVE ACCENT ' ̀'
* The layout engine failed to calculate correctly the length
of the line if that character is used in the last position.
if HORIZONTAL_ALIGNMENT is END, this is a problem.
example)
Property::Map backgroundMap;
backgroundMap["color"] = Color::RED;
backgroundMap["enable"] = true;
TextLabel testLabel = TextLabel::New( "Àwọn àgbétẹ́lẹ̀");
testLabel.SetAnchorPoint( AnchorPoint::TOP_LEFT );
testLabel.SetProperty(TextLabel::Property::POINT_SIZE, 34.f);
testLabel.SetPosition(100.f, 100.f);
testLabel.SetSize( 544.f, 100.f);
testLabel.SetProperty(TextLabel::Property::HORIZONTAL_ALIGNMENT, "END");
testLabel.SetProperty(Toolkit::DevelTextLabel::Property::BACKGROUND, backgroundMap);
stage.Add( testLabel );
Change-Id: Ic66fd96cc010eada7187502b9b65e2b408eff2cd
huiyu.eun [Wed, 19 Feb 2020 04:45:43 +0000 (13:45 +0900)]
Move constants string to visual-string-constants file
Change-Id: I3ec0ca86f1d44ed8efaee7fc97374fcea531c5c4
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
huiyu.eun [Mon, 10 Feb 2020 05:20:49 +0000 (14:20 +0900)]
Add synchronous loading of svg-visual
Change-Id: I56f3c25bcef325fa9299526b783072fef06aaed2
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Jiyun Yang [Tue, 18 Feb 2020 07:34:18 +0000 (16:34 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation
This reverts commit
f93aefc799e26a0c3269c711e12b31a1ba932da8.
Change-Id: I1e9b639504f60d31aa166909707174acc2e46299
Jiyun Yang [Tue, 18 Feb 2020 07:34:16 +0000 (16:34 +0900)]
[Tizen] Restore behavior of Uploaded and LoadingFinished signal
This reverts commit
56b077b44cb5345ba7cdde308e758615d8f86d28.
Change-Id: I0fbd93c1dbb1c382e87d8af2680aff2625a5d06c
Jiyun Yang [Tue, 18 Feb 2020 07:34:01 +0000 (16:34 +0900)]
Merge branch 'devel/master' into tizen
Jiyun Yang [Tue, 18 Feb 2020 07:33:57 +0000 (16:33 +0900)]
Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
This reverts commit
6abcace10c1436052b708db7f73ae7a7cf365ad2.
Jiyun Yang [Tue, 18 Feb 2020 07:33:54 +0000 (16:33 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
5b67e25da04a07ec5d7bd3f316a69fbb401966a7.
Heeyong Song [Thu, 13 Feb 2020 07:02:29 +0000 (16:02 +0900)]
Support rounded corners for Visual
Change-Id: I22f9511af2f8a860e43f4e7c0c8ecc1ef4493eaf
Seungho BAEK [Tue, 18 Feb 2020 01:41:14 +0000 (01:41 +0000)]
Merge "Asynchronous Load N-patch resource" into devel/master
Seungho, Baek [Mon, 30 Dec 2019 12:36:37 +0000 (21:36 +0900)]
Asynchronous Load N-patch resource
Change-Id: I1e0a25ca7599198ca5793a585af80e2b7d2e8f48
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
Adeel Kazmi [Fri, 14 Feb 2020 17:10:11 +0000 (17:10 +0000)]
Merge "Add child flex node with its margin" into devel/master
Adeel Kazmi [Fri, 14 Feb 2020 07:30:25 +0000 (07:30 +0000)]
DALi Version 1.5.0
Change-Id: Id9e2ec9a084f8dcc7ef5de693f03bcba9e1cbb9b
Adeel Kazmi [Thu, 13 Feb 2020 16:06:04 +0000 (16:06 +0000)]
Merge "(patch-coverage.pl) Ignore header files that yield no coverage" into devel/master
Adeel Kazmi [Thu, 13 Feb 2020 09:55:58 +0000 (09:55 +0000)]
(patch-coverage.pl) Ignore header files that yield no coverage
Change-Id: I8e1fe875d300fa028bd2f6844422a4fd38f6d3ad
Heeyong Song [Wed, 12 Feb 2020 06:56:20 +0000 (15:56 +0900)]
Add log for image file loading failure
Change-Id: If5bffc5563be5aefd9c6177fb2feaf1985aaece4
neostom432 [Tue, 11 Feb 2020 03:33:17 +0000 (12:33 +0900)]
Add child flex node with its margin
To set margin to FlexLayout child, we should know its margin.
Unfortunately, Margin is set to view's layout object when using layout so we cannot know it in DALi side.
So, make new api which can pass child's margin.
Change-Id: I7f9708eef332a6d9d4d541ddce439e9bc723066f
Seoyeon Kim [Wed, 12 Feb 2020 04:44:23 +0000 (13:44 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation
This reverts commit
88826fc42cb83c9ab775b1604442e6b69d980d6a.
Change-Id: I325b21aff0cd4c171319f51deda60056a683da1d
Seoyeon Kim [Wed, 12 Feb 2020 04:44:04 +0000 (13:44 +0900)]
[Tizen] Restore behavior of Uploaded and LoadingFinished signal
This reverts commit
c79702856123ad3a981acdefc31ed9310305a0c6.
Change-Id: Idccf2523b7b49f7d50e54f63cd97eb0ba636f681
Seoyeon Kim [Wed, 12 Feb 2020 04:43:22 +0000 (13:43 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: Id5d6aa131b375d045bd99297444f38a41fc18ccb
Seoyeon Kim [Wed, 12 Feb 2020 04:42:35 +0000 (13:42 +0900)]
Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
This reverts commit
35ea74128bf4ab20d41ddc4531c8ebe739507898.
Change-Id: I445fe47dde341b5107884521a72e96754d3c2f8a
Seoyeon Kim [Wed, 12 Feb 2020 04:42:32 +0000 (13:42 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
badba8bed9c897f61ebe822b61fb1cad2e0e38f0.
Adeel Kazmi [Tue, 11 Feb 2020 12:45:09 +0000 (12:45 +0000)]
Remove unused Retention policy
Change-Id: Ia053d91a4043be116108e52b6590e0c5b0d1d6bf
Anton Obzhirov [Thu, 6 Feb 2020 14:30:36 +0000 (14:30 +0000)]
DALi Version 1.4.57
Change-Id: I2196449a911d2e2399b882a7b1b0fea10389d121
Joogab Yun [Wed, 5 Feb 2020 11:05:01 +0000 (20:05 +0900)]
Modify UtcDaliTextControllerMaxLengthSetText()
It takes too long to create a string of maxLength. Improve this.
Change-Id: Ic2bb10cc37d5b58c4c246307de336829a32a9bb4
Sunghyun Kim [Wed, 5 Feb 2020 08:18:08 +0000 (17:18 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation
This reverts commit
c1370bd1ce7d2982987115c7fe36eb87041c0a5a.
Change-Id: I6812cb53e3ba57bf2b0129486e05ed812c4ae9ce
Sunghyun Kim [Wed, 5 Feb 2020 08:17:49 +0000 (17:17 +0900)]
[Tizen] Restore behavior of Uploaded and LoadingFinished signal
This reverts commit
76cc1b6284c23b46bed9c534503c547e4427b3d4.
Change-Id: I85ad14d57833e2c4dc30ac31fe44ac6939c7e2c4
Sunghyun Kim [Wed, 5 Feb 2020 08:17:29 +0000 (17:17 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: I87d3ac49b1c0b1f31ecb15073cd36f5ec2028744
Sunghyun Kim [Wed, 5 Feb 2020 08:17:09 +0000 (17:17 +0900)]
Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
This reverts commit
ee7ec7dffc229d9b9b7afd754255e4fea6ddcbb2.
Change-Id: I72652521c35a87f930242e03f7b929ece1532467
Sunghyun Kim [Wed, 5 Feb 2020 08:16:49 +0000 (17:16 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
8336fef274336d90e7e5af74f071218db0154b8e.
Change-Id: I84457fc95676c9fe274a497e777ae5b221a0c4ca
Heeyong Song [Thu, 16 Jan 2020 05:55:02 +0000 (14:55 +0900)]
Remove the texture element from the load queue
The observer can be deleted before the load queue is processed.
Remove the load element from the queue when the texture is removed.
Change-Id: I290d82b1f6b77db915f400af4cd2c05e0bd9558b
Heeyong Song [Fri, 31 Jan 2020 07:52:07 +0000 (16:52 +0900)]
Emit ResourceReady signal in SvgVisual in case of loading failure
Change-Id: I0f52fb5f298b5cfe1b5e13eb78c330b044d55149
adam.b [Fri, 31 Jan 2020 11:13:03 +0000 (11:13 +0000)]
DALi Version 1.4.56
Change-Id: Icdc415f3a0d5881649580fffb0d6d4a68fad53fb
huiyu.eun [Thu, 30 Jan 2020 03:13:50 +0000 (12:13 +0900)]
Set mParsedImage of svg-visual
Change-Id: I76eb44ee5862968ddb6cb4049c62b8cb78a0bedd
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
huiyu.eun [Mon, 30 Dec 2019 04:23:27 +0000 (13:23 +0900)]
Download remote svg file
Change-Id: I115ba51843a448015b3c136de0570a3078a92ab6
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Seoyeon Kim [Tue, 28 Jan 2020 00:59:53 +0000 (00:59 +0000)]
Merge "Fix Coverity issue" into devel/master
Victor Cebollada [Fri, 24 Jan 2020 13:49:37 +0000 (13:49 +0000)]
DALi Version 1.4.55
Change-Id: Iaadea46217c2618b72571cb7840a520fbda8498a
Adeel Kazmi [Fri, 24 Jan 2020 08:44:12 +0000 (08:44 +0000)]
Automated Tests Sync
Change-Id: Id67435bb5de6e169efbfbe4650c6d5a4b7a06647
Adeel Kazmi [Thu, 23 Jan 2020 17:00:10 +0000 (17:00 +0000)]
Merge "Syncing common test files." into devel/master
Adeel Kazmi [Thu, 23 Jan 2020 16:52:32 +0000 (16:52 +0000)]
Merge "VCPKG - CMakeLists.txt updated to build for vcpkg." into devel/master
Victor Cebollada [Mon, 13 Jan 2020 15:20:41 +0000 (15:20 +0000)]
VCPKG - CMakeLists.txt updated to build for vcpkg.
Change-Id: Idf08d9283e4a054bbbfb5b9b07fdc168adbba973
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
György Straub [Thu, 16 Jan 2020 13:18:40 +0000 (13:18 +0000)]
Syncing common test files.
As required by change I0b4cc593ab5e40b17dc427956cd78950ab49e5ae on dali-core.
Change-Id: Ib5f72aef86fe7e9f5d98cf8d7546f1888c030725
Signed-off-by: György Straub <g.straub@partner.samsung.com>
Adeel Kazmi [Thu, 23 Jan 2020 14:30:30 +0000 (14:30 +0000)]
Merge "Add last clear color API in test gl abstraction." into devel/master
Seoyeon Kim [Wed, 22 Jan 2020 06:37:52 +0000 (15:37 +0900)]
Fix Coverity issue
- If the variable 'pixelFormat' is deliberately set to RGB16F or RGB32F,
then Pixel::GetBytesPerPixel() returns 12u or 24u.
- Then, 'Out-of-bound' error may occur because the return value exceeds
the scope of 'outputColor' array.
Change-Id: I5674b20d8976b925e12444eb9fc611e0d5633f49
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Adeel Kazmi [Wed, 22 Jan 2020 09:18:31 +0000 (09:18 +0000)]
Merge "Add TextField BACKGROUND property and more Preedit style options" into devel/master
Seoyeon Kim [Wed, 27 Nov 2019 05:47:25 +0000 (14:47 +0900)]
Add TextField BACKGROUND property and more Preedit style options
Change-Id: Ia4ce089bbee50bac45542268ef9ddaada8c9a657
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Adeel Kazmi [Tue, 21 Jan 2020 14:17:57 +0000 (14:17 +0000)]
Merge "MS Windows - Fix compile error when debug is enabled." into devel/master
Seungho, Baek [Tue, 21 Jan 2020 08:35:40 +0000 (17:35 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation
This reverts commit
d87863acd8ec8d810375db86e5942ab70af5f2ba.
Seungho, Baek [Tue, 21 Jan 2020 08:35:22 +0000 (17:35 +0900)]
[Tizen] Restore behavior of Uploaded and LoadingFinished signal
This reverts commit
d3faeb85681bd6f8f0b8fc9a310b5214cad13cbb.
Seungho, Baek [Tue, 21 Jan 2020 08:35:07 +0000 (17:35 +0900)]
Merge branch 'devel/master' into tizen
Seungho, Baek [Tue, 21 Jan 2020 08:34:50 +0000 (17:34 +0900)]
Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
This reverts commit
c723d3e5d0aef0fc59fdf872d44123d2d0055fc6.
Seungho, Baek [Tue, 21 Jan 2020 08:34:48 +0000 (17:34 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
92769d0c4963a53846f0cfa555955063b48f8269.
Seungho, Baek [Tue, 21 Jan 2020 08:34:46 +0000 (17:34 +0900)]
Revert "[Tizen] GCC 9.2 Support"
This reverts commit
675e476383c8c584e3c9f7b8c55279d4d4105fd1.
Heeyong Song [Tue, 24 Dec 2019 07:32:54 +0000 (16:32 +0900)]
(Vector) Stop the animation when the actor is off-stage or invisible
Change-Id: I3b29c64943cc4a52898725ce2e983dd386069867
Anton Obzhirov [Mon, 20 Jan 2020 10:44:03 +0000 (10:44 +0000)]
Add last clear color API in test gl abstraction.
Change-Id: Iba05e95e975bef915b3d440df94bd80f1c420053
Heeyong Song [Mon, 20 Jan 2020 04:09:49 +0000 (13:09 +0900)]
Fix an issue not to unload alpha mask texture
ImageVisual needs the alpha mask texture id to unload the texture
Change-Id: I6fe7a1b362cfbba27cdc9eba7e9ec3b3bcee087d
Victor Cebollada [Fri, 17 Jan 2020 08:55:41 +0000 (08:55 +0000)]
MS Windows - Fix compile error when debug is enabled.
* Builds with VCPKG
Change-Id: Idbe5a597fcdfb309e29a729ffba381ffd56b6f27
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Adeel Kazmi [Fri, 17 Jan 2020 11:14:13 +0000 (11:14 +0000)]
Merge "DALi Version 1.4.54" into devel/master
György Straub [Fri, 17 Jan 2020 08:48:40 +0000 (08:48 +0000)]
DALi Version 1.4.54
Change-Id: I9ebc4c389c63ad1c53532b63d6cab0dbd7951850
joogab yun [Fri, 17 Jan 2020 01:19:54 +0000 (01:19 +0000)]
Merge "Add api for get the internal media player handle of the VideoView" into devel/master
György Straub [Thu, 16 Jan 2020 11:21:22 +0000 (11:21 +0000)]
Updated automated-tests' README.md with more specific instructions / caveats.
Change-Id: Ia1f6863a516cbb4e8325fd1bb61af60b1bfd629e
Signed-off-by: György Straub <g.straub@partner.samsung.com>
Joogab Yun [Wed, 15 Jan 2020 06:11:27 +0000 (15:11 +0900)]
Ellipsis sometimes appears incorrect when mixed with RTL + LTR
sample)
textRTL = TextLabel::New("فصل 3 قسط 6 - Line of Duty");
textRTL.SetAnchorPoint( AnchorPoint::TOP_LEFT );
textRTL.SetSize( 320, 200.f);
textRTL.SetProperty( TextLabel::Property::POINT_SIZE, 20.f);
textRTL.SetPosition( 50.f, 300.f);
stage.Add( textRTL );
Change-Id: Ice8186431b6914286a99366a8c3347529dbb0c1c
Joogab Yun [Mon, 13 Jan 2020 08:17:54 +0000 (17:17 +0900)]
Add api for get the internal media player handle of the VideoView
Change-Id: I1671caaa688038c6ee15622c72317b4c90487b98
Seungho, Baek [Mon, 28 Oct 2019 01:41:52 +0000 (10:41 +0900)]
Add AlphaMask to synchronousLoading
Change-Id: I23d5021f31aeb928a899f0c2caaa680ea3a165d9
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
Joogab Yun [Sat, 11 Jan 2020 22:37:02 +0000 (07:37 +0900)]
TextFit : modified it work even if you change the size
// text fit test
Property::Map backgroundMap;
backgroundMap["color"] = Color::RED;
backgroundMap["enable"] = true;
Property::Map textFitMap;
textFitMap["enable"] = true;
textFitMap["minSize"] = 10.f;
textFitMap["maxSize"] = 60.f;
textFitMap["stepSize"] = 4.f;
textFitMap["fontSizeType"] = "pointSize";
width = 700;
height = 100;
textFit = TextLabel::New( "Long enough message for TextLabel!! This is a Text Fit sample text " );
textFit.SetSize( width, height );
textFit.SetParentOrigin(ParentOrigin::TOP_LEFT);
textFit.SetAnchorPoint(AnchorPoint::TOP_LEFT);
textFit.SetPosition( 100.f, 300.f);
textFit.SetProperty( Toolkit::DevelTextLabel::Property::TEXT_FIT, textFitMap );
textFit.SetProperty( Toolkit::DevelTextLabel::Property::BACKGROUND, backgroundMap );
stage.Add( textFit );
stage.KeyEventSignal().Connect( this, &HelloWorldController::OnKeyEvent );
}
void OnKeyEvent( const KeyEvent& event )
{
if( event.state == KeyEvent::Down )
{
width -= 40;
textFit.SetSize( width, height );
}
}
Change-Id: Ie7f3cd5cc5e0fa581f8e4912ccb5e88049499f31
Adeel Kazmi [Fri, 10 Jan 2020 15:58:46 +0000 (15:58 +0000)]
Merge "Updated NanoSVG to latest version (22 April 2019)" into devel/master
Richard Huang [Fri, 10 Jan 2020 15:09:23 +0000 (15:09 +0000)]
Fix svg memory issue
- fix heap-buffer-overflow issue
- nsvgParse : Parses SVG file from a null terminated string
Change-Id: Ie462dd63b03ba212b5e67c89406fb477f83f0692
Richard Huang [Fri, 10 Jan 2020 14:10:23 +0000 (14:10 +0000)]
Updated NanoSVG to latest version (22 April 2019)
Change-Id: I3a4082a0afe6411ac197d87bf5a706d8b97e5ab6
greynaga [Fri, 10 Jan 2020 11:50:17 +0000 (11:50 +0000)]
DALi Version 1.4.53
Change-Id: I04835b40e38831129fcc281a35b2d1ae0e731b7b
Adeel Kazmi [Thu, 9 Jan 2020 17:23:57 +0000 (17:23 +0000)]
Merge "Fix random crash in TCT when stderr is closed but we try to write to it" into devel/master
Richard Huang [Wed, 8 Jan 2020 10:30:42 +0000 (10:30 +0000)]
Fix random crash in TCT when stderr is closed but we try to write to it
Change-Id: If854285fa64582f81625b78a814dcfa61c3a5a2c
Adeel Kazmi [Tue, 7 Jan 2020 16:16:15 +0000 (16:16 +0000)]
[Tizen] GCC 9.2 Support
Change-Id: I40fd353eac0a66d4000d4c94e254b4cd02670140
Adeel Kazmi [Tue, 7 Jan 2020 16:16:15 +0000 (16:16 +0000)]
GCC 9.2 Support
Change-Id: I40fd353eac0a66d4000d4c94e254b4cd02670140
Agnelo Vaz [Fri, 3 Jan 2020 11:47:05 +0000 (11:47 +0000)]
Fixing 4 SVACE errors
Dereference of null pointer
Asserts if unsigned ints not greater or equal to zero
Change-Id: Ief535cdd8fe70e2e0deed3f721e612bb2a7facb0
Adeel Kazmi [Fri, 3 Jan 2020 11:35:45 +0000 (11:35 +0000)]
Merge "DALi Version 1.4.52" into devel/master
Richard Huang [Fri, 3 Jan 2020 11:06:49 +0000 (11:06 +0000)]
DALi Version 1.4.52
Change-Id: I21e81fd9ef5106f01f75e49b5c10786b50f48c60
Seoyeon Kim [Thu, 2 Jan 2020 10:00:02 +0000 (19:00 +0900)]
Change the state of EventData to EDITING in RemoveText
- Currently, in certain cases, even if Backspace key is pressed
after cursor blink is stopped, cursor blink does not restart and
the cursor is also not shown.
- It means, after EventData is changed to INACTIVE state due to
KeyboardFocusLostEvent(), StopCursorBlink() is called.
After that, in RemoveText(), which is called in Backspace key,
EventData cannot be changed to EDITING state and StartCursorBlink() is not called.
On the other hand, when the character commits or the arrow keys are pressed,
EventData is changed to EDITING state and the cursor is displayed on screen.
- So, added 'ChangeState( EventData::EDITING )' when the state is INACTIVE.
Change-Id: Ib79dfdc6f7308d084772f62dc49918a694cfc438
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Joogab Yun [Fri, 27 Dec 2019 08:39:11 +0000 (17:39 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation
This reverts commit
5303de26225ef0e3d29db4eca131e23cf090698d.
Change-Id: I0298e1e3e1dcb891b6b835ecbc12549a385c94f7
Joogab Yun [Fri, 27 Dec 2019 08:34:51 +0000 (17:34 +0900)]
[Tizen] Restore behavior of Uploaded and LoadingFinished signal
This reverts commit
c0fb62347e9f675e503216ac5abef63e2863ba36.
Change-Id: I1a45303d3694c138e3cd84d314e5e0fd8f439d10
Joogab Yun [Fri, 27 Dec 2019 08:34:37 +0000 (17:34 +0900)]
Merge branch 'devel/master' into tizen
Joogab Yun [Fri, 27 Dec 2019 08:34:31 +0000 (17:34 +0900)]
Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
This reverts commit
43510983625f3fcf5bd98300a19e7868b962453f.
Joogab Yun [Fri, 27 Dec 2019 08:34:28 +0000 (17:34 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
4c7c89cda74df4f2775ce706a3afbb187b9321a0.
Joogab Yun [Fri, 27 Dec 2019 06:10:55 +0000 (15:10 +0900)]
sscanf() returns incorrect results depending on the locale.
So, to use nsvg__atof () to get the correct value.
*this patch is taken from the latest nanosvg source.
Change-Id: I157e26edc1e4a3aedec5fb86043a9beba7e71489
Jiyun Yang [Tue, 24 Dec 2019 05:43:36 +0000 (14:43 +0900)]
Move shadow APIs to Internal::Control::Impl from Internal::Control
Change-Id: I86bef469e54996bb83fddfa3b36d07970549d227
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>