platform/core/uifw/dali-toolkit.git
3 years agoAdd parameter (bool immediate) to TextChanged signal in interface 75/255875/3
Bowon Ryu [Wed, 24 Mar 2021 10:17:05 +0000 (19:17 +0900)]
Add parameter (bool immediate) to TextChanged signal in interface

virtual void TextChanged(bool immediate) = 0;
using immediate, can decide whether we only emit the signal when OnRelayout() is called next time,
otherwise emits it immediately.

* there is a issue that the timing of callback calls has been delayed
due to a recent patch that limits unnecessary callbacks.
(33ccee79d16a90d5f7ab427de1503ccc5bee4324)

Because of this, there is a problem that the TC like example below fails.
This patch can prevents the following issues.

/* example */

bool textChanged;

...

static void OnTextChanged(TextField control)
{
  textChanged = true;
}

...

field.TextChangedSignal().Connect(&OnTextChanged);
textChanged = false;
field.SetProperty(TextField::Property::TEXT, "hello");
DALI_TEST_CHECK(textChanged); // At this point, textChanged is false, so TC Fail occurs.

/* example */

Change-Id: If0a331c56f35eae931b34d128b4fe4282fc686b6
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoMerge "Add automated-test for grabHandleColor property" into devel/master
Wonsik Jung [Thu, 25 Mar 2021 05:00:11 +0000 (05:00 +0000)]
Merge "Add automated-test for grabHandleColor property" into devel/master

3 years agoMerge "[AT-SPI] EmitStateChanged is called only when the button is highlighted" into...
Seoyeon Kim [Thu, 25 Mar 2021 01:30:52 +0000 (01:30 +0000)]
Merge "[AT-SPI] EmitStateChanged is called only when the button is highlighted" into devel/master

3 years agoAdd automated-test for grabHandleColor property 48/255848/1
Bowon Ryu [Wed, 24 Mar 2021 07:51:22 +0000 (16:51 +0900)]
Add automated-test for grabHandleColor property

Change-Id: I86258dc73353e99a52872eaeca1de678139ac5e8
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoMerge "support grabHandleColor property to TextField/TextEditor" into devel/master
Bowon Ryu [Wed, 24 Mar 2021 04:24:32 +0000 (04:24 +0000)]
Merge "support grabHandleColor property to TextField/TextEditor" into devel/master

3 years agoSupport the synchronization of changing the video player's z-order 20/254420/17
Wonsik Jung [Sat, 27 Feb 2021 13:25:11 +0000 (22:25 +0900)]
Support the synchronization of changing the video player's z-order

If one video view moves the other above or below,
video player's z-order should be changed.
This patch is for supporting that.

Change-Id: I38009d93616d2ef225366d88864e9742b5846e6f

3 years agoMerge "Support the synchronization of window/screen rotation in Video Player." into...
Wonsik Jung [Wed, 24 Mar 2021 01:44:56 +0000 (01:44 +0000)]
Merge "Support the synchronization of window/screen rotation in Video Player." into devel/master

3 years ago(NPatchVisual) Ensure we're still running when removing in the destructor 90/255790/1
Adeel Kazmi [Tue, 23 Mar 2021 17:11:51 +0000 (17:11 +0000)]
(NPatchVisual) Ensure we're still running when removing in the destructor

Change-Id: I039bcd2e7630a2b3782ad88693b24176aeedbf0b

3 years agoSupport the synchronization of window/screen rotation in Video Player. 57/254657/8
Wonsik Jung [Sun, 7 Mar 2021 21:55:22 +0000 (06:55 +0900)]
Support the synchronization of window/screen rotation in Video Player.

If video player works with underlay mode and window rotation occurs,
video player should be rotated with same window rotation angle.
Screen rotation is same case, too.
This patch is to support that.

Change-Id: I6aec7625e3663a5ebdfb6273df3b92cfb60560ed

3 years agosupport grabHandleColor property to TextField/TextEditor 26/255726/1
Bowon Ryu [Tue, 23 Mar 2021 04:52:56 +0000 (13:52 +0900)]
support grabHandleColor property to TextField/TextEditor

Change-Id: I4ae47e2abd2cb1200eaed7fb404aaa58e48ecc55
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years ago[Dali-toolkit] Restrict text ui handles to prevent going outside Text Controls 37/246137/13
Sara Samara [Sun, 25 Oct 2020 11:27:27 +0000 (14:27 +0300)]
[Dali-toolkit] Restrict text ui handles to prevent going outside Text Controls

Steps to generate the issue:
1- Highlight the text in the TextEditor and grab the selection handle. Or you can drag the single handle without selecting the text.
2- Drag it to the right, left, up or down.
3- Notice how it goes outside of the TextEditor bounds.

//Demo Code:
***********

using namespace Dali;
using namespace Dali::Toolkit;

class SimpleApp : public ConnectionTracker
{
public:
  SimpleApp(Application& application)
  : mApplication(application)
  {
    mApplication.InitSignal().Connect(this, &SimpleApp::Create);
  }

  void Create(Application& application)
  {
    Window window = application.GetWindow();
    const float       TOOLBAR_HEIGHT_PERCENTAGE = 0.05f;
    window.SetBackgroundColor(Vector4(0.04f, 0.345f, 0.392f, 1.0f));
    const Vector2 windowSize = window.GetSize();
    const float                 toolBarHeight = TOOLBAR_HEIGHT_PERCENTAGE * windowSize.height;
    const Vector3     TEXT_EDITOR_RELATIVE_SIZE(0.9f, 0.5f, 1.0f);
    const Vector4     TEXT_EDITOR_BACKGROUND_COLOR(1.f, 1.f, 1.f, 0.15f);

    mEditor = TextEditor::New();
    mEditor.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::TOP_CENTER);
    mEditor.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_CENTER);
    mEditor.SetProperty(Actor::Property::POSITION, Vector3(0.f, toolBarHeight * 2.0f, 0.f));
    mEditor.SetResizePolicy(ResizePolicy::SIZE_RELATIVE_TO_PARENT, Dimension::ALL_DIMENSIONS);
    mEditor.SetProperty(Actor::Property::SIZE_MODE_FACTOR, TEXT_EDITOR_RELATIVE_SIZE);

    mEditor.SetBackgroundColor(TEXT_EDITOR_BACKGROUND_COLOR);

    const Size boundingBoxSize(windowSize * TEXT_EDITOR_RELATIVE_SIZE.GetVectorXY());
    Rect<int>  boundingBox(0,
                          static_cast<int>(toolBarHeight),
                          static_cast<int>(boundingBoxSize.width),
                          static_cast<int>(boundingBoxSize.height - toolBarHeight));

    mEditor.SetProperty(TextEditor::Property::DECORATION_BOUNDING_BOX, boundingBox);
    mEditor.SetProperty(TextEditor::Property::TEXT_COLOR, Color::BLACK);
    mEditor.SetProperty(TextEditor::Property::TEXT,
                        "Lorem ipsum dolor sit amet, aeque definiebas ea mei, posse iracundia ne cum.\n"
                        "Usu ne nisl maiorum iudicabit, veniam epicurei oporteat eos an.\n"
                        "Ne nec nulla regione albucius, mea doctus delenit ad!\n"
                        "Et everti blandit adversarium mei, eam porro neglegentur suscipiantur an.\n"
                        "Quidam corpora at duo. An eos possim scripserit?\n\n"
                        "Aťqui dicant sěnťenťíae aň vel!\n"
                        "Vis viris médiocrem elaboraret ét, verear civibus moderatius ex duo!\n"
                        "Án veri laborě iňtěgré quó, mei aď poššit lobortis, mei prompťa čonsťitůťó eů.\n"
                        "Aliquip sanctůs delicáta quí ěá, et natum aliquam est?\n"
                        "Asšúm sapěret usu ůť.\n"
                        "Síť ut apeirián laboramúš percipitur, sůas hařum ín éos?\n");

    window.Add(mEditor);
  }

private:
  Application& mApplication;
  TextEditor mEditor;
};

int DALI_EXPORT_API main(int argc, char** argv)
{
  Application application = Application::New(&argc, &argv);
  SimpleApp test(application);
  application.MainLoop();

  return 0;
}

***********

[Dali-toolkit] Restrict text ui handles to prevent going outside Text Controls

Change-Id: Iaf4d7daed106a2404e6d4ea5953e7a132dd1905f

3 years agoMerge "Implement CameraView." into devel/master
joogab yun [Mon, 22 Mar 2021 05:09:27 +0000 (05:09 +0000)]
Merge "Implement CameraView." into devel/master

3 years agoMerge "Fix ClearHighlight() for custom highlight frames" into devel/master
Seoyeon Kim [Mon, 22 Mar 2021 00:54:23 +0000 (00:54 +0000)]
Merge "Fix ClearHighlight() for custom highlight frames" into devel/master

3 years agoMerge "Make AccessibilityManager::SetCurrentFocusActor more usable" into devel/master
Seoyeon Kim [Mon, 22 Mar 2021 00:54:03 +0000 (00:54 +0000)]
Merge "Make AccessibilityManager::SetCurrentFocusActor more usable" into devel/master

3 years agoMerge "DALi Version 2.0.18" into devel/master
David Steele [Fri, 19 Mar 2021 10:45:40 +0000 (10:45 +0000)]
Merge "DALi Version 2.0.18" into devel/master

3 years agoDALi Version 2.0.18 02/255602/1 dali_2.0.18
David Steele [Fri, 19 Mar 2021 10:34:09 +0000 (10:34 +0000)]
DALi Version 2.0.18

Change-Id: I4e3f30379ed8b49dfb3b59b124d236c4554d8183

3 years agoMerge "Use broken image when animated image loading is failed." into devel/master
David Steele [Fri, 19 Mar 2021 09:57:16 +0000 (09:57 +0000)]
Merge "Use broken image when animated image loading is failed." into devel/master

3 years agoMerge "Change BuildRequires of dali2-toolkit to Requires" into devel/master
David Steele [Fri, 19 Mar 2021 09:12:36 +0000 (09:12 +0000)]
Merge "Change BuildRequires of dali2-toolkit to Requires" into devel/master

3 years agoImplement CameraView. 39/254239/35
Joogab Yun [Tue, 9 Mar 2021 07:38:09 +0000 (16:38 +0900)]
Implement CameraView.

Change-Id: I94e99034374c224238d66a05579e733a5c3b8209

3 years agoFix ClearHighlight() for custom highlight frames 07/255307/2
Artur Świgoń [Tue, 16 Mar 2021 13:52:48 +0000 (14:52 +0100)]
Fix ClearHighlight() for custom highlight frames

ClearHighlight() used GetHighlightActor() to retrieve the currently
displayed highlight frame in order to determine which actor to remove
from the scene graph. However, it is perfectly legal to
SetHighlightActor() while a highlight frame is displayed (takes effect
on the next GrabHighlight()), so the currently visible highlight frame
handle needs to be saved separately in order to be properly cleared.

Change-Id: Ibf41574bac66f9375b72b31d061195d0235621aa

3 years agoUnnecessary TextChanged callbacks are being called. 33/255233/10
Joogab Yun [Mon, 15 Mar 2021 10:17:04 +0000 (19:17 +0900)]
Unnecessary TextChanged callbacks are being called.
Change it to be called only once at the end.

example)

Typing "호두" on the keyboard
Whenever COMMIT/PREEDIT in OnInputMethodContextEvent(), TextChanged callback is called

 OnTextFieldTextChanged(159) >  [ㅎ]   // PRE_EDIT
 OnTextFieldTextChanged(159) >  [호]   // PRE_EDIT
 OnTextFieldTextChanged(159) >  [혿]   // PRE_EDIT
 OnTextFieldTextChanged(159) >  []     // PRE_EDIT
 OnTextFieldTextChanged(159) >  [호]   // COMMIT
 OnTextFieldTextChanged(159) >  [호두] // PRE_EDIT

If you change the text to call the TextChanged callback only once at the end of the change,
 OnTextFieldTextChanged(159) >  [ㅎ]
 OnTextFieldTextChanged(159) >  [호]
 OnTextFieldTextChanged(159) >  [혿]
 OnTextFieldTextChanged(159) >  [호두]

Change-Id: I039263bc156f0be161f37eeb1d0e6ecf39f9536c

3 years agoDALi Version 2.0.17 37/255137/1 dali_2.0.17
Adam Bialogonski [Fri, 12 Mar 2021 10:51:10 +0000 (10:51 +0000)]
DALi Version 2.0.17

Change-Id: I9226d4ac45f7b062915bcad4201b70f6eb20a1f0

3 years ago[AT-SPI] EmitStateChanged is called only when the button is highlighted 67/255067/2
Maria Bialota [Thu, 11 Mar 2021 18:29:21 +0000 (19:29 +0100)]
[AT-SPI] EmitStateChanged is called only when the button is highlighted

Change-Id: I56de010792dc32cf011d27cd5a179fda680b62ba

3 years agoMerge "Add APIs of webview settings." into devel/master
JIYUN YANG [Thu, 11 Mar 2021 05:25:43 +0000 (05:25 +0000)]
Merge "Add APIs of webview settings." into devel/master

3 years agoMake AccessibilityManager::SetCurrentFocusActor more usable 09/254709/1
Artur Świgoń [Mon, 8 Mar 2021 13:00:14 +0000 (14:00 +0100)]
Make AccessibilityManager::SetCurrentFocusActor more usable

Dali::Accessibility::Accessible::SetCurrentlyHighlightedActor() only
sets a private field in the AT-SPI bridge in dali-adaptor, whereas
Dali::Toolkit::DevelControl::GrabAccessibilityHighlight() calls
Dali::Accessibility::Component::GrabHighlight() which actually attaches
a highlight frame to an actor.

Change-Id: I8898ff96fdd97898c2bd476e4faa75cbc0574986

3 years agoUse broken image when animated image loading is failed. 40/253540/10
seungho [Mon, 15 Feb 2021 06:47:14 +0000 (15:47 +0900)]
Use broken image when animated image loading is failed.

Change-Id: I7b2e10ec89e4eeff2eacf5823691ff11874dc43e
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoAdd APIs of webview settings. 47/254347/9
guowei.wang [Mon, 1 Mar 2021 03:01:39 +0000 (11:01 +0800)]
Add APIs of webview settings.

    API added list:

    ewk_settings_cache_builder_enabled_set
    ewk_settings_uses_scrollbar_thumb_focus_notifications_set
    ewk_settings_do_not_track_set
    ewk_settings_auto_fitting_get
    ewk_settings_auto_fitting_set
    ewk_settings_plugins_enabled_get
    ewk_settings_plugins_enabled_set
    ewk_settings_private_browsing_enabled_get
    ewk_settings_private_browsing_enabled_set
    ewk_settings_link_magnifier_enabled_get
    ewk_settings_link_magnifier_enabled_set
    ewk_settings_uses_keypad_without_user_action_get
    ewk_settings_uses_keypad_without_user_action_set
    ewk_settings_autofill_password_form_enabled_get
    ewk_settings_autofill_password_form_enabled_set
    ewk_settings_form_candidate_data_enabled_get
    ewk_settings_form_candidate_data_enabled_set
    ewk_settings_text_selection_enabled_get
    ewk_settings_text_selection_enabled_set
    ewk_settings_text_autosizing_enabled_get
    ewk_settings_text_autosizing_enabled_set
    ewk_settings_uses_arrow_scroll_get
    ewk_settings_uses_arrow_scroll_set
    ewk_settings_clipboard_enabled_get
    ewk_settings_clipboard_enabled_set
    ewk_settings_ime_panel_enabled_get
    ewk_settings_ime_panel_enabled_set

Change-Id: I12b0dc4e362e7605e709941175a83397096c6ca6

3 years agoDALi Version 2.0.16 37/254637/1 dali_2.0.16
Richard Huang [Fri, 5 Mar 2021 11:52:05 +0000 (11:52 +0000)]
DALi Version 2.0.16

Change-Id: Ida2550e9db4dfb62aacf9dae5335bdbdecb22a5a

3 years agoMerge "Prevent height adjustment of TextLabel" into devel/master
joogab yun [Thu, 4 Mar 2021 06:53:55 +0000 (06:53 +0000)]
Merge "Prevent height adjustment of TextLabel" into devel/master

3 years agoPrevent height adjustment of TextLabel 16/254516/1
Bowon Ryu [Thu, 4 Mar 2021 05:40:00 +0000 (14:40 +0900)]
Prevent height adjustment of TextLabel

Cursor position issue occurs when the text control is editable.
isEditable flag prevents wrong resizing in TextLabel.

Change-Id: I15eb8ec37bead595caaf600f9a1f7163c3c98bcd
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoPromote Control::Impl::AccessibleImpl to DevelControl 25/253225/8
Artur Świgoń [Fri, 5 Feb 2021 16:07:34 +0000 (17:07 +0100)]
Promote Control::Impl::AccessibleImpl to DevelControl

Change-Id: I171cf49ea494791435a4849970ea0ec0c3952ec3

3 years agoMerge "Fixed scroll issue when use padding of TextField/TextEditor" into devel/master
joogab yun [Wed, 3 Mar 2021 01:05:13 +0000 (01:05 +0000)]
Merge "Fixed scroll issue when use padding of TextField/TextEditor" into devel/master

3 years agoMerge "fix wrong cursor position in TextField" into devel/master
joogab yun [Wed, 3 Mar 2021 01:04:40 +0000 (01:04 +0000)]
Merge "fix wrong cursor position in TextField" into devel/master

3 years agoDALi Version 2.0.15 30/254330/1 dali_2.0.15
David Steele [Fri, 26 Feb 2021 12:43:34 +0000 (12:43 +0000)]
DALi Version 2.0.15

Change-Id: I55fe7a105f367f566779479ef4d03e572a645942

3 years agoChanged build dependency order 90/254290/2
David Steele [Thu, 25 Feb 2021 13:36:54 +0000 (13:36 +0000)]
Changed build dependency order

Previously, doc_doxygen was building in parallel with
dali2-scene-loader and occasionally picking up a temporary file from
the latter.

Made doc_doxygen dependent on dali2-scene-loader so that it no longer
builds in parallel, and instead, builds afterwards.

Removed obsolete tags from doxygen config files.

Change-Id: If429a202c6611dd287c0cbc45e1720444b80eee0
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoMerge "dali-toolkit: fix wrong TextChanged() signal" into devel/master
Bowon Ryu [Thu, 25 Feb 2021 05:21:03 +0000 (05:21 +0000)]
Merge "dali-toolkit: fix wrong TextChanged() signal" into devel/master

3 years agoAdd APIs to show javascript popup in web view. 28/250628/10
huayong.xu [Wed, 30 Dec 2020 09:47:04 +0000 (17:47 +0800)]
Add APIs to show javascript popup in web view.

Add callbacks for 'url,changed', 'load,progress', and javascript
alert/confirm/prompt.

Change-Id: Ib59b6d3046c1ae370b736d7f099661a42bc2605f

3 years agofix wrong cursor position in TextField 25/254125/1
Bowon Ryu [Tue, 23 Feb 2021 07:01:06 +0000 (16:01 +0900)]
fix wrong cursor position in TextField

When the placeholder font size is bigger/smaller than default font size,
the cursor is positioned incorrectly.

this is because mScrollPosition.y is calculated based on layoutSize.height at CalculateVerticalOffset().
(this is not based on cursor height.
in issue situation, layoutSize.height is bigger/smaller than defaultFontLineHeight.)

This patch prevents the wrong positioning of cursor when the layoutSize.height is bigger/smaller than defaultFontLineHeight.
And update the glyphPositions using recalculated offset.

This issue only occurs with placeholder + single line text control. (vertical alignment)

I hope this modification does not affect the calculation of other texts.
So, update the glyphPositions in CalculateVerticalOffset().

Change-Id: I031635bb8c5ed790700d89de4b046515bff5bf73
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoFixed scroll issue when use padding of TextField/TextEditor 01/252201/6
Bowon Ryu [Mon, 25 Jan 2021 11:10:57 +0000 (20:10 +0900)]
Fixed scroll issue when use padding of TextField/TextEditor

In OnRelayout, the size of mStencil, mActiveLayer should be calculated including padding.
And the elements of text-decorator should also be positioned based on the size including padding.

Change-Id: Iafc745a464b39560bb9707675878d3b47944653b
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agodali-toolkit: fix wrong TextChanged() signal 20/252220/3
Bowon Ryu [Tue, 26 Jan 2021 01:29:45 +0000 (10:29 +0900)]
dali-toolkit: fix wrong TextChanged() signal

limit the range of DALI_KEY_DELETE to text's length.
in case of no limit,
TextChanged() signal is emitted even if nothing is deleted.

Change-Id: Ie09bc718a88e2aed5b0c7cf9ebeef6042b63de5b
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoMerge "Remove unused internal API at SVG (DeleteImage)" into devel/master
Adeel Kazmi [Fri, 19 Feb 2021 16:50:07 +0000 (16:50 +0000)]
Merge "Remove unused internal API at SVG (DeleteImage)" into devel/master

3 years agoDALi Version 2.0.14 07/253907/1 dali_2.0.14
Adam Bialogonski [Fri, 19 Feb 2021 08:46:11 +0000 (08:46 +0000)]
DALi Version 2.0.14

Change-Id: Ifa889778ee08a7a731c8fce699fc74fd3c01a60a

3 years agoRemove unused internal API at SVG (DeleteImage) 34/253834/1
Eunki, Hong [Thu, 18 Feb 2021 09:59:22 +0000 (01:59 -0800)]
Remove unused internal API at SVG (DeleteImage)

DeleteImage(VectorImageRenderer) API not be used for any codes.

Change-Id: I66abdf10bc52ebda717a8974b20fa3741028c12b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoDALi Version 2.0.13 98/253498/1 dali_2.0.13
Adeel Kazmi [Fri, 12 Feb 2021 09:54:44 +0000 (09:54 +0000)]
DALi Version 2.0.13

Change-Id: Ic5e943212de02cbd7c79ba8d7b9591f90e0b880f

3 years agoMerge "(Vector) Show the broken image when loading is failed" into devel/master
Heeyong Song [Wed, 10 Feb 2021 00:49:16 +0000 (00:49 +0000)]
Merge "(Vector) Show the broken image when loading is failed" into devel/master

3 years agoFixed memory scribbler in text vector blob 88/253388/1
David Steele [Tue, 9 Feb 2021 11:05:46 +0000 (11:05 +0000)]
Fixed memory scribbler in text vector blob

In the case where mTextureWidth was greater than the width passed in,
the texture copy was scribbling outside the pixbuf array. Changed
it to use the width passed in, so the pixbuf array should contain
only the required blob data.

Change-Id: I6e7dcbf9bd9a12df06319c81448ae9641751b85a
Signed-off-by: David Steele <david.steele@samsung.com>
3 years ago(Vector) Show the broken image when loading is failed 97/253097/5
Heeyong Song [Thu, 4 Feb 2021 10:36:06 +0000 (19:36 +0900)]
(Vector) Show the broken image when loading is failed

Change-Id: I3910b78c72fb4a81b0f33a7e211bb1dd717ca8f8

3 years agoDALi Version 2.0.12 05/253205/1 dali_2.0.12
Richard Huang [Fri, 5 Feb 2021 11:58:29 +0000 (11:58 +0000)]
DALi Version 2.0.12

Change-Id: Idb90d58742e4136c8626d5452d0843be33f62fa0

3 years agoUpdated all header files to new format 11/253111/2
Adeel Kazmi [Thu, 4 Feb 2021 14:12:27 +0000 (14:12 +0000)]
Updated all header files to new format

Change-Id: I68b3cf032fa1758fff92509f463101bdfd36cce1

3 years agoUpdated all cpp files to new format 30/252830/5
Adeel Kazmi [Wed, 3 Feb 2021 16:49:03 +0000 (16:49 +0000)]
Updated all cpp files to new format

Change-Id: If92183926ff6584c5d05efda672b422b9dd9a322

3 years agoShow the broken image in case of invalid svg files 88/252388/3
Heeyong Song [Wed, 27 Jan 2021 09:34:22 +0000 (18:34 +0900)]
Show the broken image in case of invalid svg files

Change-Id: I10d140336eb94f2a22db53e2a1f04b5dfe2a0a77

3 years agoCreate Renderer when the Visual is created 88/252188/5
Heeyong Song [Mon, 25 Jan 2021 08:43:44 +0000 (17:43 +0900)]
Create Renderer when the Visual is created

Change-Id: I08ad0e53774094acf39dda4daaa98f5b899f0d2d

3 years agoMerge "Update position & size of web view." into devel/master
JIYUN YANG [Mon, 1 Feb 2021 08:47:18 +0000 (08:47 +0000)]
Merge "Update position & size of web view." into devel/master

3 years agoMerge "fix ellipsis not working issue when the given width is too narrow" into devel...
Adeel Kazmi [Fri, 29 Jan 2021 17:04:16 +0000 (17:04 +0000)]
Merge "fix ellipsis not working issue when the given width is too narrow" into devel/master

3 years agoDALi Version 2.0.11 85/252585/1 dali_2.0.11
David Steele [Fri, 29 Jan 2021 12:53:39 +0000 (12:53 +0000)]
DALi Version 2.0.11

Change-Id: I458b3e7b20bd87320acbb2017f51e41141370b4e

3 years agoUpdate position & size of web view. 72/247972/13
huayong.xu [Mon, 9 Nov 2020 10:20:07 +0000 (18:20 +0800)]
Update position & size of web view.

Originally position of web engine is not updated when position of
web view is changed.
This patch is to update position & size of web view.

Change-Id: I84ff062363ff0d20c8e60c26d57a9f00d47c7305

3 years agoMerge "(Builder) Added Constants that can be used by Custom shaders" into devel/master
Adeel Kazmi [Thu, 28 Jan 2021 21:07:37 +0000 (21:07 +0000)]
Merge "(Builder) Added Constants that can be used by Custom shaders" into devel/master

3 years ago(Builder) Added Constants that can be used by Custom shaders 81/252481/2
Adeel Kazmi [Thu, 28 Jan 2021 16:22:19 +0000 (16:22 +0000)]
(Builder) Added Constants that can be used by Custom shaders

Change-Id: I4654fb649a8bd8113219019a501b05fd7a965256

3 years agoSyncing test harness files 80/252480/1
David Steele [Thu, 28 Jan 2021 14:33:26 +0000 (14:33 +0000)]
Syncing test harness files

Change-Id: I1e1b7d0d3835ab2817913337dc495ab3445c3a76

3 years agoMerge "Change resize policy of favicon." into devel/master
Adeel Kazmi [Thu, 28 Jan 2021 14:24:50 +0000 (14:24 +0000)]
Merge "Change resize policy of favicon." into devel/master

3 years agoChange resize policy of favicon. 32/252332/1
huayong.xu [Wed, 27 Jan 2021 02:04:55 +0000 (10:04 +0800)]
Change resize policy of favicon.

Resize policy of favicon is changed from FILL_TO_PARENT
to USE_NATURAL_SIZE.

Change-Id: I5d1a1851a7e88b3cab1ce95f3ce3760021755afc

3 years agoImprove code related to scroll APIs in web view. 27/252027/4
huayong.xu [Thu, 21 Jan 2021 10:55:45 +0000 (18:55 +0800)]
Improve code related to scroll APIs in web view.

This improvement is suggested by Mr. Richard Huang.

Change-Id: I6f26ada7119e535594217cbb379676730331b5c2

3 years agoMerge "Add some APIs into web view." into devel/master
JIYUN YANG [Tue, 26 Jan 2021 06:04:58 +0000 (06:04 +0000)]
Merge "Add some APIs into web view." into devel/master

3 years agoChange BuildRequires of dali2-toolkit to Requires 24/252024/2
seungho [Fri, 22 Jan 2021 01:59:13 +0000 (10:59 +0900)]
Change BuildRequires of dali2-toolkit to Requires

Change-Id: I8f5ec8f28d12a7e343038038ca1ae474f7246c1a
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoMerge "DALi Version 2.0.10" into devel/master
David Steele [Fri, 22 Jan 2021 17:28:04 +0000 (17:28 +0000)]
Merge "DALi Version 2.0.10" into devel/master

3 years agoDALi Version 2.0.10 16/252116/1 dali_2.0.10
Adeel Kazmi [Fri, 22 Jan 2021 17:16:10 +0000 (17:16 +0000)]
DALi Version 2.0.10

Change-Id: I80653c3bd53e990ca798aaaa1997d1c8fc4a776a

3 years agoAdd some APIs into web view. 33/250133/5
huayong.xu [Mon, 21 Dec 2020 02:58:30 +0000 (10:58 +0800)]
Add some APIs into web view.

Create, GetTitle, GetFavicon, etc are added.

Change-Id: Ifc6b20704d416b19055b8d242d2aea9863783f29

3 years agoMerge "Implement some new ewk apis in web view." into devel/master
JIYUN YANG [Fri, 22 Jan 2021 10:14:36 +0000 (10:14 +0000)]
Merge "Implement some new ewk apis in web view." into devel/master

3 years agoMerge "Fix opacity issue when we use corner radius" into devel/master
Heeyong Song [Fri, 22 Jan 2021 08:37:09 +0000 (08:37 +0000)]
Merge "Fix opacity issue when we use corner radius" into devel/master

3 years agoMerge "Rounded corner for SVG / Animated Vector Image visual" into devel/master
Heeyong Song [Fri, 22 Jan 2021 08:37:03 +0000 (08:37 +0000)]
Merge "Rounded corner for SVG / Animated Vector Image visual" into devel/master

3 years agoFix opacity issue when we use corner radius 93/251293/9
Heeyong Song [Tue, 12 Jan 2021 08:03:59 +0000 (17:03 +0900)]
Fix opacity issue when we use corner radius

NOTE : As you know, GPU doesn't like if-else statement.
But if we can skip operations for most adjacent pixels,
if-else statemnet is somtimes more efficient.

Change-Id: Ibb09a84e383e4769c3e7ead39f48073455d6e650
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoImplement some new ewk apis in web view. 58/249358/11
huayong.xu [Thu, 10 Dec 2020 10:33:27 +0000 (18:33 +0800)]
Implement some new ewk apis in web view.

Support some new APIs, e.g. BackForwardList, Context, CookieManager,
Settings.

Change-Id: I84a9a60ed80c6da0c3c063af5ddfec8a19c3da2b

3 years agoRounded corner for SVG / Animated Vector Image visual 18/251818/2
Eunki, Hong [Tue, 19 Jan 2021 11:23:55 +0000 (20:23 +0900)]
Rounded corner for SVG / Animated Vector Image visual

Change-Id: I798b46c3cd5cbaedfc717395e4255111f95aef25
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoAll tests now output results to xml files 92/250092/6
David Steele [Fri, 18 Dec 2020 17:24:20 +0000 (17:24 +0000)]
All tests now output results to xml files

Change-Id: I7cbf0540d6f32bdb516f75b42384ed3f44685de2

3 years agoConvert more shaders in dali-toolkit and dali-scene-loader to use shader compilation... 03/251703/2
Richard Huang [Mon, 18 Jan 2021 17:13:40 +0000 (17:13 +0000)]
Convert more shaders in dali-toolkit and dali-scene-loader to use shader compilation tool

Change-Id: I0389814f16c3bb33d697fac6d1c73fec5aec87f4

3 years agoMerge "Ensuring test files match dali-core/adaptor" into devel/master
Adeel Kazmi [Mon, 18 Jan 2021 16:30:22 +0000 (16:30 +0000)]
Merge "Ensuring test files match dali-core/adaptor" into devel/master

3 years agoMerge "Support scroll in web view." into devel/master
JIYUN YANG [Mon, 18 Jan 2021 07:18:14 +0000 (07:18 +0000)]
Merge "Support scroll in web view." into devel/master

3 years agoMerge "Fix resource ready state" into devel/master
Heeyong Song [Mon, 18 Jan 2021 01:32:30 +0000 (01:32 +0000)]
Merge "Fix resource ready state" into devel/master

3 years agoEnsuring test files match dali-core/adaptor 23/251623/3
David Steele [Fri, 15 Jan 2021 18:21:39 +0000 (18:21 +0000)]
Ensuring test files match dali-core/adaptor

Change-Id: I8810c5d6f07a22cdecc7235916287f6be0ddf406

3 years agoConvert shaders in devel-api header files to use shader compilation tool 22/251622/1
Richard Huang [Fri, 15 Jan 2021 16:35:44 +0000 (16:35 +0000)]
Convert shaders in devel-api header files to use shader compilation tool

Change-Id: Id63f2e1835b9dbab93a2d2b885bb3bf6156032a5

3 years agoMerge "Shader compilation tool for dali-toolkit" into devel/master
Adeel Kazmi [Fri, 15 Jan 2021 12:44:24 +0000 (12:44 +0000)]
Merge "Shader compilation tool for dali-toolkit" into devel/master

3 years agoDALi Version 2.0.9 01/251601/1 dali_2.0.9
adam.b [Fri, 15 Jan 2021 11:16:41 +0000 (11:16 +0000)]
DALi Version 2.0.9

Change-Id: Iecaea8c30eeadd22839ec0efc03b1460e799d83a

3 years agoFix resource ready state 54/251554/2
Heeyong Song [Fri, 15 Jan 2021 00:33:43 +0000 (09:33 +0900)]
Fix resource ready state

In case of synchronous loading, ResourceStatus::FAILED was not set.

Change-Id: I8a59da45a506941939d69de0f009ff7e75137a5b

3 years agoShader compilation tool for dali-toolkit 34/251434/8
Richard Huang [Wed, 13 Jan 2021 14:47:31 +0000 (14:47 +0000)]
Shader compilation tool for dali-toolkit

Change-Id: I3c3e193e45cc3cc61840e68f64285f0627873da8

3 years agoSupport scroll in web view. 48/250848/4
huayong.xu [Tue, 5 Jan 2021 07:02:50 +0000 (15:02 +0800)]
Support scroll in web view.

Some APIs related to scroll are supported.

Change-Id: I6f4f4430ea236f437196398b4c14a29375a91495

3 years agoDALi Version 2.0.8 47/251147/1 dali_2.0.8
Richard Huang [Fri, 8 Jan 2021 14:35:44 +0000 (14:35 +0000)]
DALi Version 2.0.8

Change-Id: I3618792e3d0a1ecd053dc8893605aed20f1f4657

3 years agoUpdated macOS instructions 78/251078/1
Adeel Kazmi [Thu, 7 Jan 2021 18:24:54 +0000 (18:24 +0000)]
Updated macOS instructions

Change-Id: I9498d84be12c125fc202ae4edc29e9f6d785c470

3 years agoAdd installation instructions for MacOS 19/245919/3
Lucas Cavalcante de Sousa [Tue, 13 Oct 2020 19:39:57 +0000 (16:39 -0300)]
Add installation instructions for MacOS

Change-Id: Idbc11448601d7cd5fa5bf0d80f7a77ed1dfa4cbd

3 years agoMerge "(Max OSX Build) Use vcpkg cairo & enable scene-loader" into devel/master
Adeel Kazmi [Wed, 6 Jan 2021 15:24:02 +0000 (15:24 +0000)]
Merge "(Max OSX Build) Use vcpkg cairo & enable scene-loader" into devel/master

3 years agoMerge "Add support to build on the macOS platform" into devel/master
Adeel Kazmi [Wed, 6 Jan 2021 15:04:48 +0000 (15:04 +0000)]
Merge "Add support to build on the macOS platform" into devel/master

3 years ago(Max OSX Build) Use vcpkg cairo & enable scene-loader 25/250925/3
Adeel Kazmi [Mon, 28 Dec 2020 19:40:33 +0000 (19:40 +0000)]
(Max OSX Build) Use vcpkg cairo & enable scene-loader

Change-Id: I65e706765203bcaa3e824afdd56becd60b0ac37c

3 years agoMerge "Set focus to web engine." into devel/master
JIYUN YANG [Wed, 6 Jan 2021 03:42:32 +0000 (03:42 +0000)]
Merge "Set focus to web engine." into devel/master

3 years agoAdd support to build on the macOS platform 67/244067/7
Wander Lairson Costa [Tue, 8 Sep 2020 15:51:31 +0000 (12:51 -0300)]
Add support to build on the macOS platform

macOS is built mostly like Windows.

Change-Id: Idf817f2e51d2f2b16dc99cd1f8bf90397049e3ba

3 years agoMerge "Support animation of ArcVisual properties" into devel/master
Heeyong Song [Mon, 4 Jan 2021 14:41:56 +0000 (14:41 +0000)]
Merge "Support animation of ArcVisual properties" into devel/master

3 years agoSupport animation of ArcVisual properties 06/250606/2
Heeyong Song [Wed, 30 Dec 2020 06:45:01 +0000 (15:45 +0900)]
Support animation of ArcVisual properties

Change-Id: I9bafe1960c633655847138b91d96528c04b76e6e

3 years agoSet multiline input hint before IME activates 83/250583/1
Seoyeon Kim [Tue, 29 Dec 2020 10:16:13 +0000 (19:16 +0900)]
Set multiline input hint before IME activates

 - All input panel properties, such as layout, return key type, and input hint,
 should be set before input panel activates (or shows).

Change-Id: I72738eee2e772dd3f6358fa52c61ec7100e8a953
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years agodali-scene-loader documentation fixes. 36/250436/2
György Straub [Thu, 24 Dec 2020 14:48:18 +0000 (14:48 +0000)]
dali-scene-loader documentation fixes.

Change-Id: Ie08526df65b4eb83a88a1c1c69c1a69801ef664a
Signed-off-by: György Straub <g.straub@partner.samsung.com>
3 years agoMerge "Add CURRENT_FRAME_NUMBER and TOTAL_FRAME_NUMBER properties to the AnimatedImag...
Adeel Kazmi [Thu, 24 Dec 2020 16:23:38 +0000 (16:23 +0000)]
Merge "Add CURRENT_FRAME_NUMBER and TOTAL_FRAME_NUMBER properties to the AnimatedImageVisual" into devel/master

3 years agoDALi Version 2.0.7 03/250403/1 dali_2.0.7
György Straub [Thu, 24 Dec 2020 07:49:03 +0000 (07:49 +0000)]
DALi Version 2.0.7

Change-Id: I804b83413508da576226fc9e1abdd5601c7c00fd

3 years agoMerge "Support animation of Visual transform properties" into devel/master
Heeyong Song [Wed, 23 Dec 2020 23:19:27 +0000 (23:19 +0000)]
Merge "Support animation of Visual transform properties" into devel/master