Anton Obzhirov [Mon, 24 Dec 2018 14:47:16 +0000 (14:47 +0000)]
[5.0] Add animation workaround in LayoutGroup.
Change-Id: I2a6d10e662174cdbe334b482357adb04c369b419
huiyu.eun [Wed, 19 Dec 2018 01:50:29 +0000 (10:50 +0900)]
[5.0] DALi version 1.3.50.2
Change-Id: I4ef8e6a27557c13a68caf1ba47a668543aef3373
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Joogab Yun [Fri, 7 Dec 2018 09:03:59 +0000 (18:03 +0900)]
bug fixed about the rtl markup behavior.
ex)
TextLabel label = TextLabel::New("‏20‏/‏11‏/‏2018‏" );
or
TextLabel label = TextLabel::New("‏20&‏/‏11‏/‏2018‏");
should be displayed not "20/11/2018" but "2018/11/20"
refer)
https://www.w3schools.com/cssref/tryit.asp?filename=trycss_text_direction
Change-Id: Iab595aedc691afbfd53f4b75c5eab4d58b26b59f
Seoyeon Kim [Fri, 14 Dec 2018 02:50:15 +0000 (02:50 +0000)]
Merge "[Tizen] Store LayoutItem target size when set explictly" into tizen_5.0
Seoyeon Kim [Fri, 14 Dec 2018 02:50:03 +0000 (02:50 +0000)]
Merge "[Tizen] Add RemoveAll to LayoutGroup destructor" into tizen_5.0
agnelo vaz [Wed, 5 Dec 2018 17:35:52 +0000 (17:35 +0000)]
[Tizen] Store LayoutItem target size when set explictly
MinimumWidth and height were used to store the set size of LayoutItems,
this was a problem if the ResizePolicy changed and the size set was no longer
needed as it was still stored.
If the resize policy size was less than the minimum size stored then it would
not be updated. Hence Actor would not re-draw it after SetFrame called.
TargetSize has been added to the LayoutItem now. It can be set to zero when no
longer needed and we can still have Minimum size working.
Change-Id: Id3f0cec1d4b1e991f2dd7034c2895ed7d8decd6c
Anton Obzhirov [Thu, 6 Dec 2018 15:18:23 +0000 (15:18 +0000)]
[Tizen] Workaround in AbsoluteLayout for animation bug in legacy application.
Change-Id: Ifcbdd5e374b65974b6e7160e47a0457240903f9e
Seoyeon Kim [Fri, 14 Dec 2018 02:37:39 +0000 (11:37 +0900)]
Revert "[5.0] Workaround in AbsoluteLayout for animation bug in legacy application."
This reverts commit
79ea2753a3d60c8d1ca9f2adbdc0aff005109252.
Change-Id: If557687404cadc6fb59e4131d583eea437cb60ef
Joogab Yun [Fri, 14 Dec 2018 00:46:49 +0000 (09:46 +0900)]
[Tizen] If ellipsis is true. then we should used index first position.
This reverts commit
da3960ca0bf5107e555170fedb223cf890200529.
Change-Id: I1c128b452e9dcd1367695a7339eb7b09d5000495
Joogab Yun [Fri, 14 Dec 2018 00:44:51 +0000 (09:44 +0900)]
Revert "[Tizen] If ellipsis is true. then we should used index first position."
This reverts commit
4108286b6b76faed826d2df1106c03b2249a681a.
huiyu.eun [Thu, 13 Dec 2018 09:24:54 +0000 (18:24 +0900)]
[Tizen] Add RemoveAll to LayoutGroup destructor
Change-Id: Ic8d0aa8a6fe3681ed50bf77d97824aa8c1e6887a
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Joogab Yun [Thu, 13 Dec 2018 02:38:05 +0000 (11:38 +0900)]
[Tizen] If ellipsis is true. then we should used index first position.
If ellipsis is true, the characterIndex value is changed.
bool EllipsisLine ()
{
...
lineRun-> characterRun.characterIndex = ellipsisLayout.characterIndex;
}
In GetLineOfCharacter (), the line index we want is 0, but another value
is returned. ex) index = 1;
The lineRun.alignmentOffset value obtained through the wrong line index
may be wrong. Ex) lineRun.alignmentOffset:
16312432575010308096
So if ellipsis is true. then we should used index first position.
Change-Id: I7912e1ea6f94cc53c272ba7bf424f07a1174af20
Anton Obzhirov [Thu, 6 Dec 2018 15:18:23 +0000 (15:18 +0000)]
[5.0] Workaround in AbsoluteLayout for animation bug in legacy application.
Change-Id: I0c1deadbc2cd1a53191ed7c1f7516170b8059cb4
Heeyong Song [Mon, 3 Dec 2018 07:25:33 +0000 (16:25 +0900)]
[5.0] DALi version 1.3.50.1
Change-Id: Ib40f333152133bdb5701b50635d5898d52f6bbca
Seoyeon Kim [Fri, 23 Nov 2018 05:40:43 +0000 (05:40 +0000)]
Merge "[Tizen] Remove connecting Layout Child order with Actor child order" into tizen_5.0
joogab yun [Thu, 22 Nov 2018 10:01:41 +0000 (10:01 +0000)]
Merge "[Tizen] code clean up : Relayout again for LTR / RTL order when layout direction is changed." into tizen_5.0
Joogab Yun [Wed, 21 Nov 2018 05:10:41 +0000 (14:10 +0900)]
[Tizen] code clean up : Relayout again for LTR / RTL order when layout direction is
changed.
Change-Id: Iaf226f4128b6b0a2572eb5af5ae1e9bfcb5e8f96
Seoyeon Kim [Thu, 22 Nov 2018 08:33:56 +0000 (17:33 +0900)]
[Tizen] Remove connecting Layout Child order with Actor child order
- Layout Child Ordering should be individual as Actor Child ordering.
Change-Id: Id9eff89fb13b5d37e601f07bfc4d079b069b1c0b
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Adeel Kazmi [Wed, 21 Nov 2018 11:25:31 +0000 (11:25 +0000)]
[Tizen] Fix SVACE errors
Change-Id: Ic78fba8fbfc4deb0ca4609bfd59912caad32b726
Jiyun Yang [Thu, 22 Nov 2018 05:48:21 +0000 (14:48 +0900)]
[Tizen] Add the logical key to Integration::KeyEvent
This reverts commit
10dbcbce1b654cc21a6d15063041760dc72639a0.
Change-Id: Ib84bbaecf92ce355fa652f39fdc8f8f4ad92f657
Jiyun Yang [Thu, 22 Nov 2018 05:48:11 +0000 (14:48 +0900)]
[Tizen] Fix z value issue
This reverts commit
19032ffc1ae7945a7d39454434bf9dbeb3d73c15.
Change-Id: If75963503adc5e094e129a0f82db2bf920d3d5df
Jiyun Yang [Thu, 22 Nov 2018 05:48:08 +0000 (14:48 +0900)]
[Tizen] Relayout again for LTR / RTL order when layout direction is changed.
This reverts commit
4f7683d0c955776f84277e92842b3cedbda9da21.
Change-Id: I714d9722455cc8277b17a7341053823389a67595
Jiyun Yang [Thu, 22 Nov 2018 05:47:45 +0000 (14:47 +0900)]
Merge branch 'devel/master' into tizen_5.0
Jiyun Yang [Thu, 22 Nov 2018 05:46:46 +0000 (14:46 +0900)]
Revert "[Tizen] Relayout again for LTR / RTL order when layout direction is changed."
This reverts commit
7a468f3e7d88baee85125d11e8f02e1f24b273d3.
Jiyun Yang [Thu, 22 Nov 2018 05:46:40 +0000 (14:46 +0900)]
Revert "[Tizen] Fix z value issue"
This reverts commit
aad85014393d4a9a5a398f9714aa272b1898a2b7.
Jiyun Yang [Thu, 22 Nov 2018 05:46:35 +0000 (14:46 +0900)]
Revert "[Tizen] Add the logical key to Integration::KeyEvent"
This reverts commit
c05f63fa68a9cf77ba21b4b00f6eb5b6406deab8.
Seoyeon Kim [Tue, 20 Nov 2018 09:23:49 +0000 (09:23 +0000)]
Merge "[Tizen] Add the logical key to Integration::KeyEvent" into tizen_5.0
Seoyeon Kim [Tue, 20 Nov 2018 07:10:47 +0000 (16:10 +0900)]
[Tizen] Add the logical key to Integration::KeyEvent
Change-Id: Ibc2b04297c6c05a647c00fdb381d11ce8e13fa8e
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
huiyu.eun [Tue, 20 Nov 2018 02:49:30 +0000 (11:49 +0900)]
[Tizen] Fix z value issue
Change-Id: I9d3f72e5001cdf9ef81a8d30d0e9ee9733790e0a
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
joogab yun [Mon, 19 Nov 2018 06:06:56 +0000 (06:06 +0000)]
Merge "[Tizen] Relayout again for LTR / RTL order when layout direction is changed." into tizen_5.0
Joogab Yun [Fri, 16 Nov 2018 23:39:06 +0000 (08:39 +0900)]
[Tizen] Relayout again for LTR / RTL order when layout direction is changed.
Change-Id: Idf8e74af65e29bbc6d5ade7860ac7795ce31c446
adam.b [Fri, 16 Nov 2018 12:21:20 +0000 (12:21 +0000)]
DALi Version 1.3.50
Change-Id: If331ab0b2ed007293c30e5c3617d6539a361d5e2
Paul Wisbey [Thu, 15 Nov 2018 14:04:59 +0000 (14:04 +0000)]
Advice about compiler versions in README requirements section
Change-Id: I21d7f8c4fd562e74d3ab649780456a59716d18d4
Sunghyun kim [Tue, 13 Nov 2018 08:40:55 +0000 (17:40 +0900)]
Merge branch 'tizen' into tizen_5.0
Sunghyun kim [Tue, 13 Nov 2018 06:31:08 +0000 (15:31 +0900)]
[Tizen] Fix to avoid empty texture rendering issue
This reverts commit
beb477fd925ffbb5acb5d74d0fedaf6fd1c7d1c5.
Change-Id: Iae581e6bfcf05aa21e2fd6d1b469e2010a6da1dc
Sunghyun kim [Tue, 13 Nov 2018 06:30:49 +0000 (15:30 +0900)]
[Tizen] Disable pixel alignment in TextVisual
This reverts commit
83a3c5a3096f47ecbdc45d0be735bf6e4eb449cd.
Change-Id: I4ebf501a4b86eb9ae8805dd0498747e65929e6a4
Sunghyun kim [Tue, 13 Nov 2018 06:30:17 +0000 (15:30 +0900)]
[Tizen] Prevent using an empty textureset
This reverts commit
fa6b6fd95e2916fd7f6ed2f016da51a0994440b5.
Change-Id: Ie485e6893582af111f29693ea8a1b0e70994daed
Sunghyun kim [Tue, 13 Nov 2018 06:29:53 +0000 (15:29 +0900)]
[Tizen] Add codes for Dali Windows Backend
This reverts commit
dee702a0007d6f796b3cee9ae936eb55e4a6d22c.
Change-Id: Ia584177005230583884ae9f077d3ad6bf5d655ed
Sunghyun kim [Tue, 13 Nov 2018 06:29:15 +0000 (15:29 +0900)]
[Tizen] Modify codes for Dali Windows backend
This reverts commit
57799ea49b103cb7e23873341d280394e3dc31e4.
Change-Id: I797442c347da581ae68c37f7d4eddaaed7125319
Sunghyun kim [Tue, 13 Nov 2018 06:28:44 +0000 (15:28 +0900)]
[Tizen] Restore behavior of Uploaded and LoadingFinished signal
This reverts commit
e62c2d885a46a20abab95e20aabe55f97dbe2c01.
Change-Id: I23848ec5f7b8296c14175a3b7d8fe623b7129613
Sunghyun kim [Tue, 13 Nov 2018 06:28:17 +0000 (15:28 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: I8b5ff9bca31fdfa65417a8d7ffcd54eb6fc1798d
Sunghyun kim [Tue, 13 Nov 2018 06:26:01 +0000 (15:26 +0900)]
Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
This reverts commit
cf384b14be672af5f0038bb588a73aa64156d3aa.
Sunghyun kim [Tue, 13 Nov 2018 06:25:53 +0000 (15:25 +0900)]
Revert "[Tizen] Modify codes for Dali Windows backend"
This reverts commit
5251ac4c4caefa4188772eaf2f0e00bc786aeaf7.
Sunghyun kim [Tue, 13 Nov 2018 06:25:49 +0000 (15:25 +0900)]
Revert "[Tizen] Add codes for Dali Windows Backend"
This reverts commit
7d7cd38af9f8b2281548958691a5ccd605824bb6.
Sunghyun kim [Tue, 13 Nov 2018 06:25:43 +0000 (15:25 +0900)]
Revert "[Tizen] Prevent using an empty textureset"
This reverts commit
455c520785fc5ff36f2f623ecef434f98a4858f7.
Sunghyun kim [Tue, 13 Nov 2018 06:25:39 +0000 (15:25 +0900)]
Revert "[Tizen] Disable pixel alignment in TextVisual"
This reverts commit
57963e09b2f24d62361db5a340287eb3f80959ca.
Sunghyun kim [Tue, 13 Nov 2018 06:25:35 +0000 (15:25 +0900)]
Revert "[Tizen] Fix to avoid empty texture rendering issue"
This reverts commit
f14eb61cc4e68fefebd1ba386f8c5d63212b4a01.
Sunghyun kim [Tue, 13 Nov 2018 06:25:33 +0000 (15:25 +0900)]
Revert "[Tizen] bug fixed : Characters are truncated when HorizontalAlignment.End in"
This reverts commit
625f0a13d1ca8942a4c98de531afec3856ead95a.
Sunghyun kim [Tue, 13 Nov 2018 06:25:31 +0000 (15:25 +0900)]
Revert "[Tizen] support match align for system language direciton on text Field and"
This reverts commit
d8c9662115e4a003e2c3d1b88d7c8f0685bdcc18.
Adeel Kazmi [Fri, 9 Nov 2018 10:29:40 +0000 (10:29 +0000)]
Merge "Parent of TextLabel does not resize when text changes" into devel/master
Victor Cebollada [Fri, 9 Nov 2018 09:36:26 +0000 (09:36 +0000)]
DALi Version 1.3.49
Change-Id: Iba84a99e6e81f394035791b037068cb4ebc233ae
Agnelo Vaz [Thu, 1 Nov 2018 17:17:13 +0000 (17:17 +0000)]
Parent of TextLabel does not resize when text changes
Change-Id: I1fb688299dde9296eae0a93308d54e783089ccc1
Anton Obzhirov [Wed, 24 Oct 2018 15:48:28 +0000 (16:48 +0100)]
Add focus transition and other fixes.
Change-Id: I8b45e7f16ed2212aa7b3f6a1eba2bf678ee4fa40
Joogab Yun [Wed, 7 Nov 2018 04:18:30 +0000 (13:18 +0900)]
[Tizen] Set mScrollAfterUpdatePosition to true when you get the keyboard forcus.
- The cursor position is not correctly displayed when The text field is
focus out and then focus in.
[sample]
Stage stage = Dali::Stage::GetCurrent();
stage.SetBackgroundColor(Color::WHITE);
stage.KeyEventSignal().Connect(this, &HelloWorldController::OnKeyEvent);
test1 = TextField::New( );
test1.SetProperty( TextField::Property::TEXT,"Abcdefghijklmnopqrstuvw Abcdefghijklmnopqrstuvw Abcdefghijklmnopqrstuvw" );
test1.SetSize( 400, 50 );
test1.SetPosition(50, 80);
test1.SetParentOrigin(ParentOrigin::TOP_LEFT);
test1.SetAnchorPoint(AnchorPoint::TOP_LEFT);
test1.SetProperty(TextField::Property::ELLIPSIS, true);
test1.SetProperty( TextField::Property::TEXT_COLOR, Color::RED );
stage.Add( test1 );
test1.SetKeyboardFocusable(true);
void OnKeyEvent(const KeyEvent& event)
{
if(event.state == KeyEvent::Down)
{
if(event.keyPressedName == "1") {
KeyboardFocusManager::Get().SetCurrentFocusActor( test1 );
}
}
}
Change-Id: I3e83998523107f8b64cdce891fbcd17850724df8
Joogab Yun [Wed, 7 Nov 2018 04:18:30 +0000 (13:18 +0900)]
Set mScrollAfterUpdatePosition to true when you get the keyboard forcus.
- The cursor position is not correctly displayed when The text field is
focus out and then focus in.
[sample]
Stage stage = Dali::Stage::GetCurrent();
stage.SetBackgroundColor(Color::WHITE);
stage.KeyEventSignal().Connect(this, &HelloWorldController::OnKeyEvent);
test1 = TextField::New( );
test1.SetProperty( TextField::Property::TEXT,"Abcdefghijklmnopqrstuvw Abcdefghijklmnopqrstuvw Abcdefghijklmnopqrstuvw" );
test1.SetSize( 400, 50 );
test1.SetPosition(50, 80);
test1.SetParentOrigin(ParentOrigin::TOP_LEFT);
test1.SetAnchorPoint(AnchorPoint::TOP_LEFT);
test1.SetProperty(TextField::Property::ELLIPSIS, true);
test1.SetProperty( TextField::Property::TEXT_COLOR, Color::RED );
stage.Add( test1 );
test1.SetKeyboardFocusable(true);
void OnKeyEvent(const KeyEvent& event)
{
if(event.state == KeyEvent::Down)
{
if(event.keyPressedName == "1") {
KeyboardFocusManager::Get().SetCurrentFocusActor( test1 );
}
}
}
Change-Id: I3e83998523107f8b64cdce891fbcd17850724df8
Joogab Yun [Tue, 6 Nov 2018 22:43:25 +0000 (22:43 +0000)]
Merge "bug fixed : Characters are truncated when HorizontalAlignment.End in Multi line text on RTL environment." into devel/master
Joogab Yun [Tue, 30 Oct 2018 05:18:14 +0000 (14:18 +0900)]
bug fixed : Characters are truncated when HorizontalAlignment.End in
Multi line text on RTL environment.
Recalculate the alignmentOffset only if the line is RTL.
We need to distinguish the RTL variable for alignment and the RTL variable for the text line for position offset.
So the RTL check of the text line is called isLineRTL.
ex)
When running the sample app below, the characters are truncated.
Stage stage = Stage::GetCurrent();
stage.SetBackgroundColor( Color::WHITE );
TextLabel label = TextLabel::New( "Music, Film & TV, Funny, News,
Sports... Access millions of user generaed content and professional
videos from DAILYMOTION website on your SAMSUNG TV.Search, browse and
watch, get a direct access to your own or favorite accounts, watch a
selection of best" );
label.SetSize( 1250, 600 );
label.SetParentOrigin(ParentOrigin::TOP_LEFT);
label.SetAnchorPoint(AnchorPoint::TOP_LEFT);
label.SetPosition( 100.f, 700.f);
label.SetProperty( TextLabel::Property::MULTI_LINE, true );
label.SetProperty(TextLabel::Property::POINT_SIZE, 30);
label.SetProperty(TextLabel::Property::HORIZONTAL_ALIGNMENT,
"END");
label.SetProperty(Toolkit::DevelTextLabel::Property::MATCH_SYSTEM_LANGUAGE_DIRECTION,
true );
label.SetProperty( Actor::Property::LAYOUT_DIRECTION,
LayoutDirection::RIGHT_TO_LEFT );
stage.Add( label );
Change-Id: I0c1161330de073cef466d8e7119a56a9be606034
Seoyeon Kim [Mon, 5 Nov 2018 08:30:48 +0000 (17:30 +0900)]
[Tizen] support match align for system language direciton on text Field and
This reverts commit
9af50c418a59d3ab207f41c0eb41c510e9ee45f9.
Change-Id: I1f47d55689840dbde1301291f36d2c3eb7ece783
Seoyeon Kim [Mon, 5 Nov 2018 08:30:18 +0000 (17:30 +0900)]
[Tizen] bug fixed : Characters are truncated when HorizontalAlignment.End in
This reverts commit
578d08126a5aa647baa4b4f3c1226ea390280c69.
Change-Id: I6f8bbccd6fe0706c26a31c28dee6cd0ba6a72b86
Seoyeon Kim [Mon, 5 Nov 2018 08:29:00 +0000 (17:29 +0900)]
[Tizen] Fix to avoid empty texture rendering issue
This reverts commit
b743d733efb17bc9fcb6eee4a3c48feaa3c212b2.
Change-Id: I3bdcd0533d26934870f6146ebd978a79c91874fc
Seoyeon Kim [Mon, 5 Nov 2018 08:28:32 +0000 (17:28 +0900)]
[Tizen] Disable pixel alignment in TextVisual
This reverts commit
a72053cf45659644158188575da67cc1dffc32b6.
Change-Id: Ic7db0afffc2adf7d1cb0fb85dcc213c29a35782f
Seoyeon Kim [Mon, 5 Nov 2018 08:27:48 +0000 (17:27 +0900)]
[Tizen] Prevent using an empty textureset
This reverts commit
be63b5f23fb1c1a58a45cb2e88374dca1094d297.
Change-Id: Icc3a5671d1ecf7dad8cc64c3a8c4491e9885db11
Seoyeon Kim [Mon, 5 Nov 2018 08:25:03 +0000 (17:25 +0900)]
[Tizen] Add codes for Dali Windows Backend
This reverts commit
53f42637e85c83d82a4dec7fdc5a0c4032c80455.
Change-Id: Idbc50108a5e0a1da42e99aa7ea87505bec45285d
Seoyeon Kim [Mon, 5 Nov 2018 08:22:22 +0000 (17:22 +0900)]
[Tizen] Modify codes for Dali Windows backend
This reverts commit
719f20e857c4384504fc64650c58955ec96d2d25.
Change-Id: If32219077d463b58793b9864baea1bd7aaf8b77a
Seoyeon Kim [Mon, 5 Nov 2018 08:21:30 +0000 (17:21 +0900)]
[Tizen] Restore behavior of Uploaded and LoadingFinished signal
This reverts commit
180046503c5ebfccfad7e9897d6368ac33ce9f61.
Change-Id: Ibd13732f338fff8ed768f419eb23bb63fd029b03
Seoyeon Kim [Mon, 5 Nov 2018 08:21:16 +0000 (17:21 +0900)]
Merge branch 'devel/master' into tizen
Seoyeon Kim [Mon, 5 Nov 2018 08:20:42 +0000 (17:20 +0900)]
Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
This reverts commit
588f920a958e0aa22cf094c72acf8b9b5513b556.
Change-Id: I1a299d13d190c32e5747b8be1c0b53d6cf388aa6
Seoyeon Kim [Mon, 5 Nov 2018 08:20:35 +0000 (17:20 +0900)]
Revert "[Tizen] Scene, Scene Loader, and glTF Loader"
This reverts commit
f8d44a8c86ab1f473dc434d9f4ae41be8c109d22.
Seoyeon Kim [Mon, 5 Nov 2018 08:20:29 +0000 (17:20 +0900)]
Revert "[Tizen] Modify codes for Dali Windows backend"
This reverts commit
10c047844e08cc227212f2bcba645843ab5a3bcf.
Seoyeon Kim [Mon, 5 Nov 2018 08:20:21 +0000 (17:20 +0900)]
Revert "[Tizen] Add codes for Dali Windows Backend"
This reverts commit
119cf4d703c09284c71212040f1bf33287dd727a.
Seoyeon Kim [Mon, 5 Nov 2018 08:20:14 +0000 (17:20 +0900)]
Revert "[Tizen] Path length check and coverity issue fix in Scene"
This reverts commit
e1b150cd007e6eda314895d153af41e9a27abc85.
Seoyeon Kim [Mon, 5 Nov 2018 08:20:11 +0000 (17:20 +0900)]
Revert "[Tizen] Fix SVACE issue"
This reverts commit
904622ff2041870d9167235ccdafc4a991e2abe6.
Seoyeon Kim [Mon, 5 Nov 2018 08:20:05 +0000 (17:20 +0900)]
Revert "[Tizen] support match align for system language direciton"
This reverts commit
1223956ada996a7663f727343f86267c184a57db.
Seoyeon Kim [Mon, 5 Nov 2018 08:20:01 +0000 (17:20 +0900)]
Revert "[Tizen] Prevent using an empty textureset"
This reverts commit
d7f86f89bee616ddd77e5fa2f5e88278686a44b2.
Seoyeon Kim [Mon, 5 Nov 2018 08:19:56 +0000 (17:19 +0900)]
Revert "[Tizen] Fix KeyboardFocusManager ClearFocus bug"
This reverts commit
5075fd991d2dfaeebbb0f830423544ab193a53ca.
Seoyeon Kim [Mon, 5 Nov 2018 08:19:52 +0000 (17:19 +0900)]
Revert "[Tizen] Disable pixel alignment in TextVisual"
This reverts commit
223ff1c6db2d10355520aedb718f212419b6ba4c.
Seoyeon Kim [Mon, 5 Nov 2018 08:19:49 +0000 (17:19 +0900)]
Revert "[Tizen] Fix to avoid empty texture rendering issue."
This reverts commit
216b55dbae414e8305b8123b9bb36542c7c521be.
Seoyeon Kim [Mon, 5 Nov 2018 08:19:31 +0000 (17:19 +0900)]
Revert "[Tizen] security check : null termination check"
This reverts commit
6e1367259e0fa4511fe198946629d43189fe9b19.
Seoyeon Kim [Mon, 5 Nov 2018 08:19:29 +0000 (17:19 +0900)]
Revert "[Tizen] fixed crash issue"
This reverts commit
eebd664fddb321efbdec62f28600af33633ae94e.
Seoyeon Kim [Mon, 5 Nov 2018 08:19:26 +0000 (17:19 +0900)]
Revert "[Tizen] Check supported by font and find fallback font for common script."
This reverts commit
517f682b687f203edc00c698806f898c150323f5.
Seoyeon Kim [Mon, 5 Nov 2018 08:19:23 +0000 (17:19 +0900)]
Revert "[Tizen] Sorts text sequences in LTR and RTL by system language direction."
This reverts commit
f77a142d5fe5bd5972e5d940b3077634f3b9408a.
Seoyeon Kim [Mon, 5 Nov 2018 08:19:18 +0000 (17:19 +0900)]
Revert "[Tizen] bug fixed : Characters are truncated when HorizontalAlignment.End in"
This reverts commit
f7c5362ccc3535a6a59b44213813af7807fd7075.
Seoyeon Kim [Mon, 5 Nov 2018 08:19:14 +0000 (17:19 +0900)]
Revert "[Tizen] support match align for system language direciton on text Field and"
This reverts commit
08279d3c6b3090539143b065eb1c1fee04e2e16c.
Joogab Yun [Tue, 30 Oct 2018 07:02:04 +0000 (16:02 +0900)]
support match align for system language direciton on text Field and
text Editor also.
refer see) commit id :
35bc4b3cfcdfb094a15cd8089ad1c19830287018
support match align for system language direciton
if matchSystemLanguageDirection property set true,
text align direction follow system language direction.
Change-Id: I2716284e2e5deb565c18d33e6866d77fee87062a
David Steele [Fri, 2 Nov 2018 12:10:07 +0000 (12:10 +0000)]
Merge "DALi Version 1.3.48" into devel/master
Richard Huang [Fri, 2 Nov 2018 11:42:05 +0000 (11:42 +0000)]
DALi Version 1.3.48
Change-Id: I2686c264f7987aaa8322a85e3dddfe5e84a0bc83
Joogab Yun [Fri, 26 Oct 2018 06:42:14 +0000 (15:42 +0900)]
Sorts text sequences in LTR and RTL by system language direction.
if matchSystemLanguageDirection property set true,
The text order follows the system language direction.
Change-Id: I4164975b98a2068718a4cc7c0b90afe8839b0acf
Kimmo Hoikka [Thu, 1 Nov 2018 12:29:59 +0000 (12:29 +0000)]
Changes needed for https://review.tizen.org/gerrit/#/c/192211/
Change-Id: Ia1a8ac841de66f28ef07768c217f4f37f56f621f
Joogab Yun [Tue, 30 Oct 2018 07:02:04 +0000 (16:02 +0900)]
[Tizen] support match align for system language direciton on text Field and
text Editor also.
refer see) commit id :
35bc4b3cfcdfb094a15cd8089ad1c19830287018
support match align for system language direciton
if matchSystemLanguageDirection property set true,
text align direction follow system language direction.
Change-Id: I2716284e2e5deb565c18d33e6866d77fee87062a
Joogab Yun [Tue, 30 Oct 2018 05:18:14 +0000 (14:18 +0900)]
[Tizen] bug fixed : Characters are truncated when HorizontalAlignment.End in
Multi line text on RTL environment.
Recalculate the alignmentOffset only if the line is RTL.
We need to distinguish the RTL variable for alignment and the RTL variable for the text line for position offset. So the RTL check of the text line is called isLineRTL.
ex)
When running the sample app below, the characters are truncated.
Stage stage = Stage::GetCurrent();
stage.SetBackgroundColor( Color::WHITE );
TextLabel label = TextLabel::New( "Music, Film & TV, Funny, News,
Sports... Access millions of user generaed content and professional
videos from DAILYMOTION website on your SAMSUNG TV.Search, browse and
watch, get a direct access to your own or favorite accounts, watch a
selection of best" );
label.SetSize( 1250, 600 );
label.SetParentOrigin(ParentOrigin::TOP_LEFT);
label.SetAnchorPoint(AnchorPoint::TOP_LEFT);
label.SetPosition( 100.f, 700.f);
label.SetProperty( TextLabel::Property::MULTI_LINE, true );
label.SetProperty(TextLabel::Property::POINT_SIZE, 30);
label.SetProperty(TextLabel::Property::HORIZONTAL_ALIGNMENT,
"END");
label.SetProperty(Toolkit::DevelTextLabel::Property::MATCH_SYSTEM_LANGUAGE_DIRECTION,
true );
label.SetProperty( Actor::Property::LAYOUT_DIRECTION,
LayoutDirection::RIGHT_TO_LEFT );
stage.Add( label );
Change-Id: I0c1161330de073cef466d8e7119a56a9be606034
HyunJu Shin [Thu, 1 Nov 2018 01:40:28 +0000 (01:40 +0000)]
Merge "[Tizen] Sorts text sequences in LTR and RTL by system language direction." into tizen
HyunJu Shin [Thu, 1 Nov 2018 01:12:58 +0000 (01:12 +0000)]
Merge "[Tizen] Check supported by font and find fallback font for common script." into tizen
Joogab Yun [Fri, 26 Oct 2018 06:42:14 +0000 (15:42 +0900)]
[Tizen] Sorts text sequences in LTR and RTL by system language direction.
if matchSystemLanguageDirection property set true,
The text order follows the system language direction.
Change-Id: I4164975b98a2068718a4cc7c0b90afe8839b0acf
Joogab Yun [Tue, 23 Oct 2018 08:09:09 +0000 (17:09 +0900)]
[Tizen] fixed crash issue
If colorsBuffer and colorIndexBuffer are null, then crash occurs.
so if useDefaultColor is true, colorIndex must be 0u.
(gdb)bt full
#5 Dali::Toolkit::Text::Typesetter::CreateImageBuffer
(this=this@entry=0x9b9f78, bufferWidth=bufferWidth@entry=166,
bufferHeight=bufferHeight@entry=38,
style=style@entry=Dali::Toolkit::Text::Typesetter::STYLE_NONE,
ignoreHorizontalAlignment=ignoreHorizontalAlignment@entry=true,
pixelFormat=pixelFormat@entry=Dali::Pixel::RGBA8888,
horizontalOffset=<optimized out>, horizontalOffset@entry=0,
verticalOffset=<optimized out>, verticalOffset@entry=0,
fromGlyphIndex=<optimized out>, fromGlyphIndex@entry=0,
toGlyphIndex=<optimized out>, toGlyphIndex@entry=5) at
/usr/src/debug/dali-toolkit-1.3.41/build/tizen/dali-toolkit/../../../dali-toolkit/internal/text/rendering/text-typesetter.cpp:640
color = <optimized out>
glyphInfo = 0x90ab28
position = 0x964330
glyphIndex = 0
line = @0x83d4f0: {glyphRun = {glyphIndex = 0, numberOfGlyphs =
6}, characterRun = {characterIndex = 0, numberOfCharacters = 6}, width =
115, ascender = 28, descender = -9, extraLength = 0, alignmentOffset =
0, lineSpacing = 0, direction = false, ellipsis = false}
outlineWidth = 0
currentUnderlinePosition = <optimized out>
currentUnderlineThickness = 0
lastUnderlinedFontId = 0
underlineEnabled = false
lineExtentLeft = 2
lineExtentRight = 21
baseline = 0
underlineHeight = 0
underlineColor = @0x8e0358: {static ONE = {static ONE = <same
as static member of an already seen type>, static XAXIS = {static ONE =
<same as static member of an already seen type>, static XAXIS = <same as
static member of an already seen type>, static YAXIS = {static ONE =
<same as static member of an already seen type>, static XAXIS = <same as
static member of an already seen type>, static YAXIS = <same as static
member of an already seen type>, static ZAXIS = {static ONE = <same as
static member of an already seen type>, static XAXIS = <same as static
member of an already seen type>, static YAXIS = <same as static member
of an already seen type>, static ZAXIS = <same as static member of an
already seen type>, static ZERO = {static ONE = <same as static member
of an already seen type>, static XAXIS = <same as static member of an
already seen type>, static YAXIS = <same as static member of an already
seen type>, static ZAXIS = <same as static member of an already seen
type>, static ZERO = <same as static member of an already seen type>, {x
= 0, r = 0, s = 0}, {y = 0, g = 0, t = 0}, {z = 0, b = 0, p = 0}, {w =
0, a = 0, q = 0}}, {x = 0, r = 0, s = 0}, {y = 0, g = 0, t = 0}, {z = 1,
b = 1, p = 1}, {w = 0, a = 0, q = 0}}, static ZERO = <same as static
member of an already seen type>, {x = 0, r = 0, s = 0}, {y = 1, g = 1, t
= 1}, {z = 0, b = 0, p = 0}, {w = 0, a = 0, q = 0}}, static ZAXIS =
<same as static member of an already seen type>, static ZERO = <same as
static member of an already seen type>, {x = 1, r = 1, s = 1}, {y = 0, g
= 0, t = 0}, {z = 0, b = 0, p = 0}, {w = 0, a = 0, q = 0}}, static YAXIS
= <same as static member of an already seen type>, static ZAXIS = <same
as static member of an already seen type>, static ZERO = <same as static
member of an already seen type>, {x = 1, r = 1, s = 1}, {y = 1, g = 1, t
= 1}, {z = 1, b = 1, p = 1}, {w = 1, a = 1, q = 1}}, static XAXIS =
<same as static member of an already seen type>, static YAXIS = <same as
static member of an already seen type>, static ZAXIS = <same as static
member of an already seen type>, static ZERO = <same as static member of
an already seen type>, {x = 1, r = 1, s = 1}, {y = 1, g = 1, t = 1}, {z
= 1, b = 1, p = 1}, {w = 1, a = 1, q = 1}}
numberOfUnderlineRuns = <optimized out>
underlineRuns = {<Dali::VectorAlgorithms<true>> =
{<Dali::VectorBase> = {mData = 0x0}, <No data fields>}, <No data
fields>}
thereAreUnderlinedGlyphs = <optimized out>
maxUnderlineThickness = 0
lineIndex = 0
modelNumberOfLines = 1
modelLinesBuffer = <optimized out>
numberOfGlyphs = 6
glyphsBuffer = 0x90ab28
positionBuffer = 0x964330
colorsBuffer = 0x0
colorIndexBuffer = 0x0
useDefaultColor = true
defaultColor = @0x8e0338: {static ONE = {static ONE = <same as
static member of an already seen type>, static XAXIS = {static ONE =
<same as static member of an already seen type>, static XAXIS = <same as
static member of an already seen type>, static YAXIS = {static ONE =
<same as static member of an already seen type>, static XAXIS = <same as
static member of an already seen type>, static YAXIS = <same as static
member of an already seen type>, static ZAXIS = {static ONE = <same as
static member of an already seen type>, static XAXIS = <same as static
member of an already seen type>, static YAXIS = <same as static member
of an already seen type>, static ZAXIS = <same as static member of an
already seen type>, static ZERO = {static ONE = <same as static member
of an already seen type>, static XAXIS = <same as static member of an
already seen type>, static YAXIS = <same as static member of an already
seen type>, static ZAXIS = <same as static member of an already seen
type>, static ZERO = <same as static member of an already seen type>, {x
= 0, r = 0, s = 0}, {y = 0, g = 0, t = 0}, {z = 0, b = 0, p = 0}, {w =
0, a = 0, q = 0}}, {x = 0, r = 0, s = 0}, {y = 0, g = 0, t = 0}, {z = 1,
b = 1, p = 1}, {w = 0, a = 0, q = 0}}, static ZERO = <same as static
member of an already seen type>, {x = 0, r = 0, s = 0}, {y = 1, g = 1, t
= 1}, {z = 0, b = 0, p = 0}, {w = 0, a = 0, q = 0}}, static ZAXIS =
<same as static member of an already seen type>, static ZERO = <same as
static member of an already seen type>, {x = 1, r = 1, s = 1}, {y = 0, g
= 0, t = 0}, {z = 0, b = 0, p = 0}, {w = 0, a = 0, q = 0}}, static YAXIS
= <same as static member of an already seen type>, static ZAXIS = <same
as static member of an already seen type>, static ZERO = <same as static
member of an already seen type>, {x = 1, r = 1, s = 1}, {y = 1, g = 1, t
= 1}, {z = 1, b = 1, p = 1}, {w = 1, a = 1, q = 1}}, static XAXIS =
<same as static member of an already seen type>, static YAXIS = <same as
static member of an already seen type>, static ZAXIS = <same as static
member of an already seen type>, static ZERO = <same as static member of
an already seen type>, {x = 1, r = 1, s = 1}, {y = 1, g = 1, t = 1}, {z
= 1, b = 1, p = 1}, {w = 1, a = 1, q = 1}}
glyphData = {bitmapBuffer = {<Dali::BaseHandle> =
{mObjectHandle = {mPtr = 0x9b9f48}}, <No data fields>}, position = 0x6,
glyphBitmap = {buffer = 0x0, width = 0, height = 0, format =
Dali::Pixel::A8}, width = 166, height = 38, horizontalOffset = 0,
verticalOffset = 28}
fontClient = {<Dali::BaseHandle> = {mObjectHandle = {mPtr =
0x72bfd0}}, static DEFAULT_POINT_SIZE =
1767076981}
Change-Id: Ia68a0409afecb8c008ccade6e1ce75334bb92ab2
Joogab Yun [Fri, 12 Oct 2018 05:32:30 +0000 (14:32 +0900)]
[Tizen] Check supported by font and find fallback font for common script.
There is an issue where '□' is displayed when you input Hangul after
inputting Tab Key.
so we need to check if it supports fonts and find fallback font.
Change-Id: Icf01d5055da7b85cc464905dde04e971f0c1f7dc
Agnelo Vaz [Fri, 26 Oct 2018 16:30:14 +0000 (17:30 +0100)]
Setting layout already in use
If a control is using a layout and that layout is then
set to another control the original control gets a BinLayout.
Change-Id: I482d00239eaec765126b3554b982c8e86ab135f6
greynaga [Fri, 26 Oct 2018 11:24:00 +0000 (12:24 +0100)]
DALi Version 1.3.47
Change-Id: Ib9fb158be2404863e0e03fed2daa5cff9957f0c9
agnelo vaz [Wed, 17 Oct 2018 14:58:10 +0000 (15:58 +0100)]
Layout removal support
Change-Id: I1d840c366696d003b6aa32550d55e1a18a4daf00
Joogab Yun [Tue, 23 Oct 2018 08:09:09 +0000 (17:09 +0900)]
fixed crash issue
If colorsBuffer and colorIndexBuffer are null, then crash occurs.
so if useDefaultColor is true, colorIndex must be 0u.
(gdb)bt full
#5 Dali::Toolkit::Text::Typesetter::CreateImageBuffer
(this=this@entry=0x9b9f78, bufferWidth=bufferWidth@entry=166,
bufferHeight=bufferHeight@entry=38,
style=style@entry=Dali::Toolkit::Text::Typesetter::STYLE_NONE,
ignoreHorizontalAlignment=ignoreHorizontalAlignment@entry=true,
pixelFormat=pixelFormat@entry=Dali::Pixel::RGBA8888,
horizontalOffset=<optimized out>, horizontalOffset@entry=0,
verticalOffset=<optimized out>, verticalOffset@entry=0,
fromGlyphIndex=<optimized out>, fromGlyphIndex@entry=0,
toGlyphIndex=<optimized out>, toGlyphIndex@entry=5) at
/usr/src/debug/dali-toolkit-1.3.41/build/tizen/dali-toolkit/../../../dali-toolkit/internal/text/rendering/text-typesetter.cpp:640
color = <optimized out>
glyphInfo = 0x90ab28
position = 0x964330
glyphIndex = 0
line = @0x83d4f0: {glyphRun = {glyphIndex = 0, numberOfGlyphs =
6}, characterRun = {characterIndex = 0, numberOfCharacters = 6}, width =
115, ascender = 28, descender = -9, extraLength = 0, alignmentOffset =
0, lineSpacing = 0, direction = false, ellipsis = false}
outlineWidth = 0
currentUnderlinePosition = <optimized out>
currentUnderlineThickness = 0
lastUnderlinedFontId = 0
underlineEnabled = false
lineExtentLeft = 2
lineExtentRight = 21
baseline = 0
underlineHeight = 0
underlineColor = @0x8e0358: {static ONE = {static ONE = <same
as static member of an already seen type>, static XAXIS = {static ONE =
<same as static member of an already seen type>, static XAXIS = <same as
static member of an already seen type>, static YAXIS = {static ONE =
<same as static member of an already seen type>, static XAXIS = <same as
static member of an already seen type>, static YAXIS = <same as static
member of an already seen type>, static ZAXIS = {static ONE = <same as
static member of an already seen type>, static XAXIS = <same as static
member of an already seen type>, static YAXIS = <same as static member
of an already seen type>, static ZAXIS = <same as static member of an
already seen type>, static ZERO = {static ONE = <same as static member
of an already seen type>, static XAXIS = <same as static member of an
already seen type>, static YAXIS = <same as static member of an already
seen type>, static ZAXIS = <same as static member of an already seen
type>, static ZERO = <same as static member of an already seen type>, {x
= 0, r = 0, s = 0}, {y = 0, g = 0, t = 0}, {z = 0, b = 0, p = 0}, {w =
0, a = 0, q = 0}}, {x = 0, r = 0, s = 0}, {y = 0, g = 0, t = 0}, {z = 1,
b = 1, p = 1}, {w = 0, a = 0, q = 0}}, static ZERO = <same as static
member of an already seen type>, {x = 0, r = 0, s = 0}, {y = 1, g = 1, t
= 1}, {z = 0, b = 0, p = 0}, {w = 0, a = 0, q = 0}}, static ZAXIS =
<same as static member of an already seen type>, static ZERO = <same as
static member of an already seen type>, {x = 1, r = 1, s = 1}, {y = 0, g
= 0, t = 0}, {z = 0, b = 0, p = 0}, {w = 0, a = 0, q = 0}}, static YAXIS
= <same as static member of an already seen type>, static ZAXIS = <same
as static member of an already seen type>, static ZERO = <same as static
member of an already seen type>, {x = 1, r = 1, s = 1}, {y = 1, g = 1, t
= 1}, {z = 1, b = 1, p = 1}, {w = 1, a = 1, q = 1}}, static XAXIS =
<same as static member of an already seen type>, static YAXIS = <same as
static member of an already seen type>, static ZAXIS = <same as static
member of an already seen type>, static ZERO = <same as static member of
an already seen type>, {x = 1, r = 1, s = 1}, {y = 1, g = 1, t = 1}, {z
= 1, b = 1, p = 1}, {w = 1, a = 1, q = 1}}
numberOfUnderlineRuns = <optimized out>
underlineRuns = {<Dali::VectorAlgorithms<true>> =
{<Dali::VectorBase> = {mData = 0x0}, <No data fields>}, <No data
fields>}
thereAreUnderlinedGlyphs = <optimized out>
maxUnderlineThickness = 0
lineIndex = 0
modelNumberOfLines = 1
modelLinesBuffer = <optimized out>
numberOfGlyphs = 6
glyphsBuffer = 0x90ab28
positionBuffer = 0x964330
colorsBuffer = 0x0
colorIndexBuffer = 0x0
useDefaultColor = true
defaultColor = @0x8e0338: {static ONE = {static ONE = <same as
static member of an already seen type>, static XAXIS = {static ONE =
<same as static member of an already seen type>, static XAXIS = <same as
static member of an already seen type>, static YAXIS = {static ONE =
<same as static member of an already seen type>, static XAXIS = <same as
static member of an already seen type>, static YAXIS = <same as static
member of an already seen type>, static ZAXIS = {static ONE = <same as
static member of an already seen type>, static XAXIS = <same as static
member of an already seen type>, static YAXIS = <same as static member
of an already seen type>, static ZAXIS = <same as static member of an
already seen type>, static ZERO = {static ONE = <same as static member
of an already seen type>, static XAXIS = <same as static member of an
already seen type>, static YAXIS = <same as static member of an already
seen type>, static ZAXIS = <same as static member of an already seen
type>, static ZERO = <same as static member of an already seen type>, {x
= 0, r = 0, s = 0}, {y = 0, g = 0, t = 0}, {z = 0, b = 0, p = 0}, {w =
0, a = 0, q = 0}}, {x = 0, r = 0, s = 0}, {y = 0, g = 0, t = 0}, {z = 1,
b = 1, p = 1}, {w = 0, a = 0, q = 0}}, static ZERO = <same as static
member of an already seen type>, {x = 0, r = 0, s = 0}, {y = 1, g = 1, t
= 1}, {z = 0, b = 0, p = 0}, {w = 0, a = 0, q = 0}}, static ZAXIS =
<same as static member of an already seen type>, static ZERO = <same as
static member of an already seen type>, {x = 1, r = 1, s = 1}, {y = 0, g
= 0, t = 0}, {z = 0, b = 0, p = 0}, {w = 0, a = 0, q = 0}}, static YAXIS
= <same as static member of an already seen type>, static ZAXIS = <same
as static member of an already seen type>, static ZERO = <same as static
member of an already seen type>, {x = 1, r = 1, s = 1}, {y = 1, g = 1, t
= 1}, {z = 1, b = 1, p = 1}, {w = 1, a = 1, q = 1}}, static XAXIS =
<same as static member of an already seen type>, static YAXIS = <same as
static member of an already seen type>, static ZAXIS = <same as static
member of an already seen type>, static ZERO = <same as static member of
an already seen type>, {x = 1, r = 1, s = 1}, {y = 1, g = 1, t = 1}, {z
= 1, b = 1, p = 1}, {w = 1, a = 1, q = 1}}
glyphData = {bitmapBuffer = {<Dali::BaseHandle> =
{mObjectHandle = {mPtr = 0x9b9f48}}, <No data fields>}, position = 0x6,
glyphBitmap = {buffer = 0x0, width = 0, height = 0, format =
Dali::Pixel::A8}, width = 166, height = 38, horizontalOffset = 0,
verticalOffset = 28}
fontClient = {<Dali::BaseHandle> = {mObjectHandle = {mPtr =
0x72bfd0}}, static DEFAULT_POINT_SIZE =
1767076981}
Change-Id: Ia68a0409afecb8c008ccade6e1ce75334bb92ab2
Heeyong Song [Wed, 24 Oct 2018 00:54:23 +0000 (00:54 +0000)]
Merge "Check supported by font and find fallback font for common script." into devel/master