platform/core/uifw/dali-toolkit.git
13 months agoAdd Text Preedit Style 08/216108/6
Seoyeon Kim [Mon, 21 Oct 2019 06:05:08 +0000 (15:05 +0900)]
Add Text Preedit Style

- Currently, only Underline is supported for Preedit style.
  But, Highlight and Reverse style should be added later.
- Added PreeditStyle::NONE as default preedit style.

Change-Id: I7fe9e3258eba425e8ad408c6c6222d96f54e162d
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
13 months agoAdd logs for UtcDaliGetLogicalCursorIndex. 54/216254/1
Victor Cebollada [Tue, 22 Oct 2019 15:27:20 +0000 (16:27 +0100)]
Add logs for UtcDaliGetLogicalCursorIndex.

* It fails from time to time. Adding few logs
  to get more info.

Change-Id: If74388f29367d37913c4b20b113b5343b48413d0
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
13 months agoDALi Version 1.4.42 23/216023/1 dali_1.4.42
Cheng-Shiun Tsai [Fri, 18 Oct 2019 10:13:14 +0000 (11:13 +0100)]
DALi Version 1.4.42

Change-Id: I9c4db20c20fb1c8364eec7f6e95e444b6327a776

13 months ago(Vector) Add CONTENT_INFO property 02/215602/2
Heeyong Song [Fri, 11 Oct 2019 08:37:52 +0000 (17:37 +0900)]
(Vector) Add CONTENT_INFO property

Change-Id: I6eeb4b1a92add77f38e116a4e11b58c7acb5713a

13 months ago(Vector) Pause animation when the actor is invisible 10/215410/3
Heeyong Song [Tue, 8 Oct 2019 02:22:33 +0000 (11:22 +0900)]
(Vector) Pause animation when the actor is invisible

Change-Id: Ie9b5cd221e099f711cc63cafa5b1a12f42f7ea82

13 months ago(Vector) Refactor vector to use thread pool 32/214332/8
Heeyong Song [Fri, 20 Sep 2019 09:23:48 +0000 (18:23 +0900)]
(Vector) Refactor vector to use thread pool

Change-Id: If9701ae9b938f4a21cf30f7536d441aedd7d9f08

13 months ago(Automated Tests) Updates after addition of rotation gesture 64/215564/1
Adeel Kazmi [Thu, 10 Oct 2019 17:07:57 +0000 (18:07 +0100)]
(Automated Tests) Updates after addition of rotation gesture

Change-Id: I9b108136c3f03598d8aed8ac461ea2f298432873

13 months agoDALi Version 1.4.41 54/215554/1 dali_1.4.41
Anton Obzhirov [Thu, 10 Oct 2019 14:57:29 +0000 (15:57 +0100)]
DALi Version 1.4.41

Change-Id: I417aec69fe9749110b1722d1c8239175f6c0fdab

13 months agoFix wrong cursor position issues in difference horizontal alignment 51/215251/5
Jiyun Yang [Fri, 4 Oct 2019 06:50:41 +0000 (15:50 +0900)]
Fix wrong cursor position issues in difference horizontal alignment

Previously, it does not align the last line with no character.
So the cursor position in the last empty line is not aligned.

Now it tests whether the alignment target indices includes end of the text
and the last line is generated but empty.

Change-Id: Icc525a94cdaca7e926c06a6615d6e319d7c55ae1
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
13 months agoMerge "Fixed issue where only the last line was aligned in the case of a multiline...
joogab yun [Mon, 7 Oct 2019 00:43:22 +0000 (00:43 +0000)]
Merge "Fixed issue where only the last line was aligned in the case of a multiline input text editor" into devel/master

13 months agoMerge "DALi Version 1.4.40" into devel/master
Adeel Kazmi [Fri, 4 Oct 2019 12:58:51 +0000 (12:58 +0000)]
Merge "DALi Version 1.4.40" into devel/master

13 months agoDALi Version 1.4.40 80/215280/1 dali_1.4.40
Adeel Kazmi [Fri, 4 Oct 2019 12:40:23 +0000 (13:40 +0100)]
DALi Version 1.4.40

Change-Id: If1b9a9a444abc9fba6af5e65632090f25c46a129

13 months agoFixed issue where only the last line was aligned in the case of a multiline input... 38/215238/6
Joogab Yun [Fri, 4 Oct 2019 02:04:11 +0000 (11:04 +0900)]
Fixed issue where only the last line was aligned in the case of a multiline input text editor

If you try to ALIGNMENT after entering multilines, only the last line is aligned.
So when the _ALIGNMENT property is entered, we modify it to be a full aligned.

ex)
    textEditor2 = TextEditor::New();
    textEditor2.SetBackgroundColor( Color::CYAN );
    textEditor2.SetProperty( TextEditor::Property::TEXT_COLOR, Color::YELLOW );
    textEditor2.SetSize( 500.f, 500.f );
    textEditor2.SetPosition( 900.f, 150.f );
    textEditor2.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    textEditor2.SetProperty( TextEditor::Property::TEXT, "test test " );
    stage.Add( textEditor2 );

    Control control2 = Control::New();
    control2.SetSize(80,80);
    control2.SetBackgroundColor(Color::YELLOW);
    control2.SetPosition(750,200);
    control2.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    control2.TouchSignal().Connect(this, &HelloWorldController::OnTouch3);
    stage.Add( control2 );

  bool OnTouch3( Actor actor, const TouchData& touch )
  {
    textEditor2.SetProperty( TextEditor::Property::TEXT_COLOR, Color::RED );
    textEditor2.SetColor(Color::BLUE );
    textEditor2.SetProperty( TextEditor::Property::HORIZONTAL_ALIGNMENT, "END" );
    return true;
  }

Change-Id: Icc98d04d7c556a4d33b5de8640c2fc29587c1b35

13 months agoFix TextEditor setting color issues by clearing color runs 93/215193/1
Jiyun Yang [Wed, 2 Oct 2019 09:41:44 +0000 (18:41 +0900)]
Fix TextEditor setting color issues by clearing color runs

Change-Id: If7f04cc080a319745603eef87f72423006f45ec9
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
13 months agofixed Crash when entering backspace in texteditor 84/215184/1
Joogab Yun [Wed, 2 Oct 2019 08:17:03 +0000 (17:17 +0900)]
fixed Crash when entering backspace in texteditor

If you type text as multiline and then delete the backspace, crash will occur.

    textEditor = TextEditor::New();
    textEditor.SetBackgroundColor( Color::CYAN );
    textEditor.SetSize( 500.f, 500.f );
    textEditor.SetPosition( 100.f, 150.f );
    textEditor.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    stage.Add( textEditor );

Change-Id: I83a6cd986dd646b2c45efffc048e3d36b479ad5f

13 months ago(Build) Ensure default style is installed & remove autoconf file lists 94/215094/2
Adeel Kazmi [Tue, 1 Oct 2019 10:32:32 +0000 (11:32 +0100)]
(Build) Ensure default style is installed & remove autoconf file lists

Change-Id: I4e2532221e0dd99019d2ff92cb59917184204a04

14 months agoUsing CMAKE_CURRENT_[SOURCE|BINARY]_DIR 17/214817/7
adam.b [Thu, 26 Sep 2019 14:42:05 +0000 (15:42 +0100)]
Using CMAKE_CURRENT_[SOURCE|BINARY]_DIR

Using CMAKE_CURRENT_[SOURCE|BINARY]_DIR to keep all paths relative.

Change-Id: I5b4f380fcc6d3cd7579530afe2660ce450e2e9ea

14 months agoUse Cmake by default 21/214921/2
Adeel Kazmi [Thu, 26 Sep 2019 17:20:11 +0000 (18:20 +0100)]
Use Cmake by default

Change-Id: I52212f677745c93ca6365cad015ec6b69b6468cb

14 months agoDALi Version 1.4.39 87/214887/1 dali_1.4.39
adam.b [Fri, 27 Sep 2019 09:15:54 +0000 (10:15 +0100)]
DALi Version 1.4.39

Change-Id: I2d870f84ee9b4fb97f582a465a1ab3f84a36bde1

14 months agoFix text's logical model utc. 74/214674/1
Victor Cebollada [Wed, 25 Sep 2019 05:48:53 +0000 (06:48 +0100)]
Fix text's logical model utc.

* Sets a known font to avoid the font client to choose
  one that might cause a fail.

Change-Id: Ida6ebeddafd26e4b029d23e811ebfc35fb8f6c03
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
14 months agoLinking Toolkit against Core and Adaptor 18/214518/1
adam.b [Mon, 23 Sep 2019 15:13:01 +0000 (16:13 +0100)]
Linking Toolkit against Core and Adaptor

Fixed automated tests compilation by linking Toolkit against Core and Adaptor.

Change-Id: I28cd1977ef3aab2183a7920ebc547603194fb1d5

14 months agoFix styling bug in CMake build 78/214378/2
Adeel Kazmi [Fri, 20 Sep 2019 16:51:26 +0000 (17:51 +0100)]
Fix styling bug in CMake build

Change-Id: Idc8c9b97988293f4a0aff04dfef6165d0522e0d6

14 months agoCMake build scripts 49/213049/13
adam.b [Thu, 29 Aug 2019 18:14:08 +0000 (19:14 +0100)]
CMake build scripts

Change-Id: Ife81f050d3e31022484d2fb9180114fa07097343

14 months agoDALi Version 1.4.38 08/214308/1 dali_1.4.38
Victor Cebollada [Fri, 20 Sep 2019 06:24:20 +0000 (07:24 +0100)]
DALi Version 1.4.38

Change-Id: Icd76ffa0839cc843fc961f1d2570d3b9f0c72746

14 months agoMerge "Use original PixelBufferLoadedSignalType signal parameter." into devel/master
Seungho BAEK [Thu, 19 Sep 2019 01:07:15 +0000 (01:07 +0000)]
Merge "Use original PixelBufferLoadedSignalType signal parameter." into devel/master

14 months agoMerge "Update test-application after Core::Render API is changed" into devel/master
Adeel Kazmi [Wed, 18 Sep 2019 10:01:08 +0000 (10:01 +0000)]
Merge "Update test-application after Core::Render API is changed" into devel/master

14 months agoUpdate test-application after Core::Render API is changed 05/213805/3
Richard Huang [Wed, 11 Sep 2019 09:32:21 +0000 (10:32 +0100)]
Update test-application after Core::Render API is changed

Change-Id: I883df6fb1aab4e17aecff4f1a112034804f3b338

14 months agoDALi Version 1.4.37 36/213836/1 dali_1.4.37
Richard Huang [Fri, 13 Sep 2019 12:19:30 +0000 (13:19 +0100)]
DALi Version 1.4.37

Change-Id: I41f904aaeaaec0bde56f39316e81c788507bab43

14 months agoMerge "Set focus for each window" into devel/master
Adeel Kazmi [Mon, 9 Sep 2019 16:03:15 +0000 (16:03 +0000)]
Merge "Set focus for each window" into devel/master

14 months ago(Vector) Fix some issues 53/213253/3
Heeyong Song [Tue, 3 Sep 2019 08:44:46 +0000 (17:44 +0900)]
(Vector) Fix some issues

- Reset the current loop count when the loop count sets.
- Do not trigger the animation finished callback if StopAnimation is called.
- Fix Coverity issue

Change-Id: I1db350c6d9daae37429f2c3573902f0d68a19f94

14 months agoUse original PixelBufferLoadedSignalType signal parameter. 09/213509/3
Seungho, Baek [Fri, 6 Sep 2019 05:28:48 +0000 (14:28 +0900)]
Use original PixelBufferLoadedSignalType signal parameter.

 - Delete isMaskTask
 - Add new information property to check whether the mask is applied or not.

Change-Id: I5496f78f6df385d37b3282a8fcef2c807389622b
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
14 months agoSet focus for each window 81/208581/26
Sunghyun kim [Wed, 26 Jun 2019 06:54:03 +0000 (15:54 +0900)]
Set focus for each window

In multi-window, focus manager must remember the focus currently set for each window.
For this reason, i added the patch that can get focus actor per Window.

Change-Id: Iffa35f30e3f994ed919673a79c6909a978ff7148

14 months agoMerge "DALi Version 1.4.36" into devel/master
Adeel Kazmi [Thu, 5 Sep 2019 14:30:55 +0000 (14:30 +0000)]
Merge "DALi Version 1.4.36" into devel/master

14 months agoDALi Version 1.4.36 76/213476/1 dali_1.4.36
Anton Obzhirov [Thu, 5 Sep 2019 14:27:18 +0000 (15:27 +0100)]
DALi Version 1.4.36

Change-Id: I65744570a626c6ff8b1692f55410c879c3768495

14 months agoFix Svace+Coverity issue 12/213412/2
Jiyun Yang [Thu, 5 Sep 2019 05:16:12 +0000 (14:16 +0900)]
Fix Svace+Coverity issue

Change-Id: I5451bbb477ec778276791d6c28901dfff82a877b
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
14 months agoUpdate toolkit-window to add/remove actors in the correct Scene 59/212959/11
Richard Huang [Wed, 28 Aug 2019 13:32:43 +0000 (14:32 +0100)]
Update toolkit-window to add/remove actors in the correct Scene

Change-Id: Ib6392f85f493405b520850c6f3e98e2cba600213

14 months agoSupport scene holder instead of window in keyinput/keyboard focus 12/212512/6
Jiyun Yang [Thu, 22 Aug 2019 08:15:44 +0000 (17:15 +0900)]
Support scene holder instead of window in keyinput/keyboard focus

Change-Id: I22682ef91158a9f2f8850379b04a9dc601057883
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
14 months agoMerge "Fix VideoView to work in multi-window" into devel/master
JIYUN YANG [Mon, 2 Sep 2019 01:12:55 +0000 (01:12 +0000)]
Merge "Fix VideoView to work in multi-window" into devel/master

14 months agoMerge "Fix InputMethodContext to work well in multi-window env" into devel/master
JIYUN YANG [Mon, 2 Sep 2019 01:12:32 +0000 (01:12 +0000)]
Merge "Fix InputMethodContext to work well in multi-window env" into devel/master

15 months agoDALi Version 1.4.35 96/213096/1 dali_1.4.35
György Straub [Fri, 30 Aug 2019 08:00:01 +0000 (09:00 +0100)]
DALi Version 1.4.35

Change-Id: I52d12e4009636029d5d14207785cad65a5e7dfe1

15 months agoFix VideoView to work in multi-window 90/209790/6
Jiyun Yang [Thu, 11 Jul 2019 05:34:50 +0000 (14:34 +0900)]
Fix VideoView to work in multi-window

Change-Id: Iee8738a904e8c835c291ff8d465488e6a7d4ea62
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
15 months agoFix InputMethodContext to work well in multi-window env 08/208608/10
Jiyun Yang [Wed, 26 Jun 2019 10:22:35 +0000 (19:22 +0900)]
Fix InputMethodContext to work well in multi-window env

Change-Id: Idf8a33d2ef30c7297a8c81931983671651b99184
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
15 months ago(Vector) Use scaling factor for rasterization 03/212203/3
Heeyong Song [Mon, 19 Aug 2019 01:42:53 +0000 (10:42 +0900)]
(Vector) Use scaling factor for rasterization

Change-Id: Ie0e6e318691077f020b4f17b03e3d648abc0dda7

15 months ago(Vector) Fix some issues 24/212024/3
Heeyong Song [Tue, 13 Aug 2019 09:43:40 +0000 (18:43 +0900)]
(Vector) Fix some issues

- Remove unused function
- Not update the current frame if the value is same

Change-Id: I262b5bea4a7e035b7d478f5c777e27f4adc8e7cb

15 months agoDALi Version 1.4.34 16/212616/1 dali_1.4.34
greynaga [Fri, 23 Aug 2019 10:02:12 +0000 (11:02 +0100)]
DALi Version 1.4.34

Change-Id: I83cca25817ec2a59b109a17ee7c89938c473db62

15 months agoMerge "DALi Version 1.4.33" into devel/master
Adeel Kazmi [Fri, 16 Aug 2019 09:53:46 +0000 (09:53 +0000)]
Merge "DALi Version 1.4.33" into devel/master

15 months agoDALi Version 1.4.33 75/212175/1 dali_1.4.33
Cheng-Shiun Tsai [Fri, 16 Aug 2019 09:40:43 +0000 (10:40 +0100)]
DALi Version 1.4.33

Change-Id: I0cee9259e77845646d9514200aeafe89f726fef1

15 months agoMerge "Move ApplyMask to Image-Load-Thread" into devel/master
Seungho BAEK [Fri, 16 Aug 2019 06:16:27 +0000 (06:16 +0000)]
Merge "Move ApplyMask to Image-Load-Thread" into devel/master

15 months agoMove ApplyMask to Image-Load-Thread 30/210730/13
Seungho, Baek [Wed, 24 Jul 2019 06:27:14 +0000 (15:27 +0900)]
Move ApplyMask to Image-Load-Thread

Change-Id: I27f9dfae7d6df26ba63721803720fe851a80baf4
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
15 months agoKhmer language text is cutted in TextLabel. 10/211610/12
Joogab Yun [Wed, 7 Aug 2019 05:47:23 +0000 (14:47 +0900)]
Khmer language text is cutted in TextLabel.

* Fixed an issue while retrieving the 'width' metric from complex glyphs.
  i.e the complex glyph 'ត់' is formed by two glyphs ( 'ត' and '់')
  The width of the group is calculated as the accumulated advance + the
  x bearing and width of the last glyph. In that case for the last glyph
  the accumulated advance plus the width is smaller than the width of the
  previous glyph.

* The solution is to calculate the initial width edge and the max width edge.

if HORIZONTAL_ALIGNMENT is END, this is a problem.
example)
    TextLabel labe21 = TextLabel::New();
    labe21.SetSize( 600, 100 );
    labe21.SetParentOrigin(ParentOrigin::TOP_LEFT);
    labe21.SetAnchorPoint(AnchorPoint::TOP_LEFT);
    labe21.SetPosition( 100.f, 100.f);
    labe21.SetProperty( TextLabel::Property::HORIZONTAL_ALIGNMENT, "END" );
    labe21.SetProperty(Dali::Toolkit::TextLabel::Property::TEXT, "ការកំណត់" );
    stage.Add( labe21 );

Change-Id: I0a59ddc0c2c01493ea381f50310882ca9dcfc2e9

15 months agoMerge "Connect KeyEventGeneratedSignal for Get KeyEvent" into devel/master
Heeyong Song [Mon, 12 Aug 2019 04:25:15 +0000 (04:25 +0000)]
Merge "Connect KeyEventGeneratedSignal for Get KeyEvent" into devel/master

15 months ago(Vector) Check failure of vector rendering 85/211185/2
Heeyong Song [Wed, 31 Jul 2019 02:19:23 +0000 (11:19 +0900)]
(Vector) Check failure of vector rendering

Change-Id: Ie5423ae341e207168d46ca8e90c4c68c4fbf0e14

15 months agoDALi Version 1.4.32 49/211849/1 dali_1.4.32
Agnelo Vaz [Fri, 9 Aug 2019 10:30:57 +0000 (11:30 +0100)]
DALi Version 1.4.32

Change-Id: Ibcaea2bc4e4eb5eafd76a3cde7d4624255990eb5

15 months agoMerge "Remove APIs deprecated in Tizen 3.0" into devel/master
Adeel Kazmi [Thu, 8 Aug 2019 17:00:38 +0000 (17:00 +0000)]
Merge "Remove APIs deprecated in Tizen 3.0" into devel/master

15 months agoConnect KeyEventGeneratedSignal for Get KeyEvent 69/207869/16
Sunghyun kim [Thu, 13 Jun 2019 10:14:13 +0000 (19:14 +0900)]
Connect KeyEventGeneratedSignal for Get KeyEvent

KeyInputFocusManager need to get KeyEvent first.
so this need to uses KeyEventGeneratedSignal to first receive the KeyEvent.

Change-Id: I737a120f060c91b289e5f2e8a7b1ca80be9aac20

15 months agoRemove APIs deprecated in Tizen 3.0 99/210399/9
Adeel Kazmi [Thu, 18 Jul 2019 18:00:55 +0000 (19:00 +0100)]
Remove APIs deprecated in Tizen 3.0

Change-Id: Ie43875fcd50ed543853a23afea0023642f6d1785

15 months agoDALi Version 1.4.31 99/211399/1 dali_1.4.31
Adeel Kazmi [Fri, 2 Aug 2019 10:26:30 +0000 (11:26 +0100)]
DALi Version 1.4.31

Change-Id: I7d844374838b9446ce85d0cc718ce91992b492d9

16 months agoFixed viewport issue when changing window size 73/211073/2
Paul Wisbey [Mon, 29 Jul 2019 16:55:29 +0000 (17:55 +0100)]
Fixed viewport issue when changing window size

Change-Id: Ifdd2b2b7270260b157f826b49e959b8f7fd5d1e7

16 months agoDALi Version 1.4.30 66/210966/1 dali_1.4.30
adam.b [Fri, 26 Jul 2019 10:47:27 +0000 (11:47 +0100)]
DALi Version 1.4.30

Change-Id: I668a470b461f635edf883261ea6d39241902e478

16 months agoApplying changes to Scene::New() 82/210682/4
Adeel Kazmi [Tue, 23 Jul 2019 16:14:09 +0000 (17:14 +0100)]
Applying changes to Scene::New()

Change-Id: Ifb45d1e05d161387dba09574e63cb832e8c21d28

16 months ago(Vector) Add StopBehavior and LoopingMode 32/210132/4
Heeyong Song [Tue, 16 Jul 2019 05:41:54 +0000 (14:41 +0900)]
(Vector) Add StopBehavior and LoopingMode

Change-Id: I7aab7733d8e01f5423575f9bb6d45161912d7b20

16 months agoChanges after removal of Core::SurfaceResized() 82/210582/1
Adeel Kazmi [Mon, 22 Jul 2019 15:51:30 +0000 (16:51 +0100)]
Changes after removal of Core::SurfaceResized()

Change-Id: Ic9619980742f8054031566cbbe1f039846bb937b

16 months agoDALi Version 1.4.29 70/210470/1 dali_1.4.29
Victor Cebollada [Fri, 19 Jul 2019 08:51:40 +0000 (09:51 +0100)]
DALi Version 1.4.29

Change-Id: I75349950bc7504261572f4559c146ffb14a0008e

16 months agoMerge "Remove FrameBufferImage" into devel/master
Adeel Kazmi [Thu, 18 Jul 2019 14:04:01 +0000 (14:04 +0000)]
Merge "Remove FrameBufferImage" into devel/master

16 months agoRemove FrameBufferImage 71/209971/20
Paul Wisbey [Fri, 12 Jul 2019 16:02:58 +0000 (17:02 +0100)]
Remove FrameBufferImage

Change-Id: Ib3b33834977c2f754dcef47983a87ba5da9b916b

16 months agoFBO/Texture access synchronization for multiple contexts 98/210198/2
Richard Huang [Tue, 16 Jul 2019 14:15:58 +0000 (15:15 +0100)]
FBO/Texture access synchronization for multiple contexts

Change-Id: I959546eb2b987f257329dae514aa23c0f92f5dd3

16 months ago(Automated Tests) Clean up linking 61/210261/4
Adeel Kazmi [Wed, 17 Jul 2019 10:17:26 +0000 (11:17 +0100)]
(Automated Tests) Clean up linking

- Styling tests SHOULD NOT link with the real adaptor at all.
- InputMethodOptions & some additiona Window stubs required to
  ensure it all links properly when not using the real Adaptor.
- Third Party tests do not require any of the toolkit test
  functionality.

Change-Id: Ia05973bf400f201d3f9a1bc51d3cc1c34b3509c8

16 months agoMerge "(Automated Tests) Use Default Scene signals in Window stub" into devel/master
Adeel Kazmi [Wed, 17 Jul 2019 09:31:18 +0000 (09:31 +0000)]
Merge "(Automated Tests) Use Default Scene signals in Window stub" into devel/master

16 months ago(Automated Tests) Use Default Scene signals in Window stub 47/209847/5
Adeel Kazmi [Thu, 11 Jul 2019 17:24:37 +0000 (18:24 +0100)]
(Automated Tests) Use Default Scene signals in Window stub

Change-Id: Ibe82743607e78027c75e32ff1974c3433c69bbbd

16 months agoRename PAGE_SIZE property to VIEW_PAGE_SIZE to avoid clash with PAGE_SIZE macro. 84/210084/1
Anton Obzhirov [Mon, 15 Jul 2019 14:03:58 +0000 (15:03 +0100)]
Rename PAGE_SIZE property to VIEW_PAGE_SIZE to avoid clash with PAGE_SIZE macro.

Change-Id: I847369004332b3aac03060da39d84b1f9b284293

16 months agoDisable libintl code for non glibc builds. 83/210083/1
Anton Obzhirov [Mon, 15 Jul 2019 14:10:28 +0000 (15:10 +0100)]
Disable libintl code for non glibc builds.

Change-Id: I96747cb0bae3a899863d8d0ee6f8595db04adbf3

16 months agoAdd extra std headers and use fabs, fround where needed. 82/210082/1
Anton Obzhirov [Mon, 15 Jul 2019 14:07:53 +0000 (15:07 +0100)]
Add extra std headers and use fabs, fround where needed.

Change-Id: I3192ac905e99de922c47955c32d748c727b26f0f

16 months agoRemove ExpandPath, ExePath from builder filesystem (not used). 81/210081/1
Anton Obzhirov [Mon, 15 Jul 2019 14:08:48 +0000 (15:08 +0100)]
Remove ExpandPath, ExePath from builder filesystem (not used).

Change-Id: Idc06b0874dc75b0533349f978c0911674afc7e74

16 months agoRemove whitespace ending in dali-toolkit/third-party/file.list. 80/210080/1
Anton Obzhirov [Mon, 15 Jul 2019 14:09:31 +0000 (15:09 +0100)]
Remove whitespace ending in dali-toolkit/third-party/file.list.

Change-Id: I8dc62fe7754e0e79d0af95f1ea296dffe698f9bc

16 months agoDALi Version 1.4.28 32/209932/1 dali_1.4.28
Richard Huang [Fri, 12 Jul 2019 10:17:37 +0000 (11:17 +0100)]
DALi Version 1.4.28

Change-Id: I23927430fb59d2c418b9c678e96dbf909c959903

16 months agoMerge "Use FileStream API in gltf-loader." into devel/master
Adeel Kazmi [Thu, 11 Jul 2019 17:39:05 +0000 (17:39 +0000)]
Merge "Use FileStream API in gltf-loader." into devel/master

16 months agoFixed EffectView background color to match Visual defaults 45/209845/1
Paul Wisbey [Thu, 11 Jul 2019 15:07:30 +0000 (16:07 +0100)]
Fixed EffectView background color to match Visual defaults

Since by default the renderers are expecting images with pre-multiplied alpha,
the default background color has been changed to match.

Change-Id: I47cb16dd551f058b6514ecc3afebfa704d7e444a

16 months agoMerge "TextFit : modified it to work even if you change the text or multi-line attrib...
joogab yun [Thu, 11 Jul 2019 06:06:32 +0000 (06:06 +0000)]
Merge "TextFit : modified it to work even if you change the text or multi-line attributes." into devel/master

16 months agoUse FileStream API in gltf-loader. 33/209733/2
Anton Obzhirov [Tue, 9 Jul 2019 22:53:41 +0000 (23:53 +0100)]
Use FileStream API in gltf-loader.

Change-Id: Ib0658fde4e0d48968631e8e5fa45ef96e568c742

16 months agoMerge "Remove deprecated APIs from GaussianBlurView" into devel/master
Adeel Kazmi [Wed, 10 Jul 2019 12:22:45 +0000 (12:22 +0000)]
Merge "Remove deprecated APIs from GaussianBlurView" into devel/master

16 months agoRemove deprecated APIs from GaussianBlurView 31/208131/11
Paul Wisbey [Tue, 18 Jun 2019 15:10:31 +0000 (16:10 +0100)]
Remove deprecated APIs from GaussianBlurView

Change-Id: I1bb84da3681b77b901a47e3a6c7c215e469dc269

16 months agoprevent out of bounds 85/209485/4
Joogab Yun [Mon, 8 Jul 2019 08:14:04 +0000 (17:14 +0900)]
prevent out of bounds

If bytesPerPixel is 0, the alphaIndex value is 4294967295.
  const unsigned int bytesPerPixel = Dali::Pixel::GetBytesPerPixel(pixelFormat);
  const unsigned int alphaIndex = bytesPerPixel - 1u;

Change-Id: Ia7c1dc67d913141bd8d2c2fad062d7d861843fd1

16 months agoTextFit : modified it to work even if you change the text or multi-line attributes. 26/209326/5
Joogab Yun [Fri, 5 Jul 2019 01:51:23 +0000 (10:51 +0900)]
TextFit : modified it to work even if you change the text or multi-line attributes.

    // 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"] = 100.f;
    textFitMap["stepSize"] = 1.f;
    textFitMap["fontSizeType"] = "pointSize";

    textFit = TextLabel::New(  "This is a Text Fit sample text " );
    textFit.SetSize( 750, 100 );
    textFit.SetParentOrigin(ParentOrigin::TOP_LEFT);
    textFit.SetAnchorPoint(AnchorPoint::TOP_LEFT);
    textFit.SetPosition( 100.f, 100.f);
    textFit.SetProperty( Toolkit::DevelTextLabel::Property::TEXT_FIT, textFitMap );
    textFit.SetProperty( Toolkit::DevelTextLabel::Property::BACKGROUND, backgroundMap );
    stage.Add( textFit );

    stage.GetRootLayer().TouchSignal().Connect( this, &HelloWorldController::OnTextFitTouch );

  bool OnTextFitTouch( Actor actor, const TouchData& touch )
  {

    textFit.SetProperty( TextLabel::Property::TEXT, "Long enough message for TextLabel!! ");
    textFit.SetProperty( TextLabel::Property::MULTI_LINE, true );

    return true;
  }

Change-Id: I81927d70db58211892fc98592eadfccf5a69d374

16 months agoAll file read operations should be done through FileLoader. 28/209228/3
Anton Obzhirov [Tue, 2 Jul 2019 16:07:37 +0000 (17:07 +0100)]
All file read operations should be done through FileLoader.

Change-Id: I3c5cd1a538efb1863aaf6e6f6b349e8619452169

16 months agoMerge "DALi Version 1.4.27" into devel/master
Adeel Kazmi [Fri, 5 Jul 2019 09:45:36 +0000 (09:45 +0000)]
Merge "DALi Version 1.4.27" into devel/master

16 months agoDALi Version 1.4.27 74/209374/1 dali_1.4.27
György Straub [Fri, 5 Jul 2019 07:55:57 +0000 (08:55 +0100)]
DALi Version 1.4.27

Change-Id: I78c430d0e2d7132e08f2e31ae7bf46d466f6e0a2

16 months agoSet size of a new visual in visual replacement case 94/208494/3
Heeyong Song [Tue, 25 Jun 2019 07:05:48 +0000 (16:05 +0900)]
Set size of a new visual in visual replacement case

mVisual is not updated util the resource is ready in the case of visual replacement.
So apply the transform and size to the new visual.

Change-Id: Ied60fd820978d1dcd03fee53b1b105cce750645d

16 months agoRemove V8 plugin 67/208967/2
Adeel Kazmi [Mon, 1 Jul 2019 17:05:15 +0000 (18:05 +0100)]
Remove V8 plugin

Change-Id: If2c1980e49692a99e181fc7e468ef1421bd9fbb2

17 months agoDALi Version 1.4.26 91/208791/1 dali_1.4.26
greynaga [Fri, 28 Jun 2019 10:42:39 +0000 (11:42 +0100)]
DALi Version 1.4.26

Change-Id: I19a311a7e3ad33e5302322bba502584ca16602ce

17 months agoMerge "Fix SVACE issue" into devel/master
Adeel Kazmi [Wed, 26 Jun 2019 09:14:37 +0000 (09:14 +0000)]
Merge "Fix SVACE issue" into devel/master

17 months agoFix SVACE issue 12/208512/1
Adeel Kazmi [Tue, 25 Jun 2019 10:20:16 +0000 (11:20 +0100)]
Fix SVACE issue

No need to check that an unsigned int is greater than 0

Change-Id: I8d898e87578d8aeec61e828af4a798189392741f

17 months agoRemove vsync-monitor. 62/208462/1
Anton Obzhirov [Mon, 24 Jun 2019 15:25:06 +0000 (16:25 +0100)]
Remove vsync-monitor.

Change-Id: I60d01620700cc0bb8ad49058d12e1e91fc5619cd

17 months agoChange to output in priority order. 65/208265/2
Joogab Yun [Fri, 21 Jun 2019 02:19:14 +0000 (11:19 +0900)]
Change to output in priority order.

ex)
The current character(0x2665) is emoji script.
'UIFont' and 'EMOJI' font have '0x2665' unicode.
The priority of font is 'UIFont' -> 'EMOJI'.
The now behavior is that we find and output glyphs in EMOJI fonts. because the current character is an emoji script.
However, we want to be output from a high priority 'UIFont'.
so modified it.

and If you want to print emoji fonts, you can add variation unicode.
0x2665+variation unicode = at 'EMOJI' font file
The logic to check variation unicode will be added later.

Change-Id: Id5b54a75280d1678874665a42291facdbce72042

17 months ago(Vector) Change properties to get frame numbers 07/207707/3
Heeyong Song [Tue, 11 Jun 2019 05:04:24 +0000 (14:04 +0900)]
(Vector) Change properties to get frame numbers

- Get frame numbers instead of normalized progress

Change-Id: I6a85b31ca1715e891c4302ddb5988d8052641446

17 months agoDALi Version 1.4.25 50/208250/1 dali_1.4.25
Anton Obzhirov [Thu, 20 Jun 2019 10:20:22 +0000 (11:20 +0100)]
DALi Version 1.4.25

Change-Id: I61c1b13bf467d08a3e2311dfffeabc6066064842

17 months agofix AnimatedImageVisual SetTextures after renderer was Reset 31/208031/1
junqing.ma [Mon, 17 Jun 2019 09:55:57 +0000 (17:55 +0800)]
fix AnimatedImageVisual SetTextures after renderer was Reset

Change-Id: I961ca73040f80ad00253915bafeb1b6662db37f4

17 months agoMerge "Text Fit - Adjust the text point size to match the size of the TextLabel....
joogab yun [Mon, 17 Jun 2019 02:11:07 +0000 (02:11 +0000)]
Merge "Text Fit - Adjust the text point size to match the size of the TextLabel." into devel/master

17 months agoDALi Version 1.4.24 73/207973/1
Agnelo Vaz [Fri, 14 Jun 2019 10:36:46 +0000 (11:36 +0100)]
DALi Version 1.4.24

Change-Id: I2ae9949f32a7f4010447aaf2c8825c9799abf099

17 months agoText Fit 58/206458/19
Joogab Yun [Mon, 20 May 2019 05:59:13 +0000 (14:59 +0900)]
Text Fit
- Adjust the text point size to match the size of the TextLabel.

sample) If TEXT_FIT is set to true,
        the size of the text will increase to match the size of SetSize()

    Property::Map backgroundMap;
    backgroundMap["color"] = Color::RED;
    backgroundMap["enable"] = true;

    Property::Map textFitMap;
    textFitMap["enable"] = true;
    textFitMap["minSize"] = 10.f;
    textFitMap["maxSize"] = 100.f;
    textFitMap["stepSize"] = 1.f;
    textFitMap["fontSizeType"] = "pointSize";

    TextLabel textFit = TextLabel::New(  "This is a sample text " );
    textFit.SetSize( 450, 100 );
    textFit.SetParentOrigin(ParentOrigin::TOP_LEFT);
    textFit.SetAnchorPoint(AnchorPoint::TOP_LEFT);
    textFit.SetPosition( 100.f, 100.f);
    textFit.SetProperty( Toolkit::DevelTextLabel::Property::TEXT_FIT, textFitMap );
    textFit.SetProperty( Toolkit::DevelTextLabel::Property::BACKGROUND, backgroundMap );
    stage.Add( textFit );

Change-Id: I50fea94547bc8147dd211f597520b27a35c8eb85

17 months agoMerge "Move MultiplyColorByAlpha() from main thread to resource thread" into devel...
sunghyun kim [Mon, 10 Jun 2019 04:30:11 +0000 (04:30 +0000)]
Merge "Move MultiplyColorByAlpha() from  main thread to resource thread" into devel/master