Adeel Kazmi [Thu, 8 Apr 2021 09:55:22 +0000 (10:55 +0100)]
Merge branch 'devel/master' into devel/graphics
Change-Id: I8ba1b31b2b1b0af4c5ad38fdfada31d63fcec8a8
Bowon Ryu [Thu, 8 Apr 2021 07:56:12 +0000 (07:56 +0000)]
Merge "Fixing the issue where characters were being drawn at the same location whenever GetNaturalSize was called." into devel/master
huayong.xu [Tue, 2 Mar 2021 12:04:46 +0000 (20:04 +0800)]
Add APIs for context menu into web view.
This patch is to add some APIs for context menu in web view.
Items of context menu is a short-cut to do something, e.g. back,
forward, etc.
Change-Id: If7820f5e1ea169a9a6645581e018e08d3c18bd70
JIYUN YANG [Thu, 8 Apr 2021 06:03:11 +0000 (06:03 +0000)]
Merge "Add some APIs into web context." into devel/master
Seoyeon Kim [Wed, 7 Apr 2021 10:27:01 +0000 (10:27 +0000)]
Merge "[AT-SPI] Use WeakHandle<Actor> in Accessible objects" into devel/master
Bowon Ryu [Wed, 7 Apr 2021 10:23:49 +0000 (10:23 +0000)]
Merge "Support anchor to TextLabel, TextField, TextEditor" into devel/master
Bowon Ryu [Fri, 5 Feb 2021 10:42:37 +0000 (19:42 +0900)]
Support anchor to TextLabel, TextField, TextEditor
example: <a href='https://wwww.tizen.org'>TIZEN</a>
using AnchorClickedSignal(),
users can get the anchor's href when clicking on the anchor.
Change-Id: I1c61c285c95295aea3c27de2bedd586211a0f036
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Artur Świgoń [Tue, 6 Apr 2021 09:03:39 +0000 (11:03 +0200)]
[AT-SPI] Use WeakHandle<Actor> in Accessible objects
This breaks a strong reference cycle between Control::Impl, Actor, and
AccessibleImpl. AccessibleImpl objects are stored as a std::unique_ptr
in Control::Impl, so they do not need a strong actor handle.
Change-Id: Iadf366dde0fe9cf1ca41128b027bc8add0717b39
huayong.xu [Fri, 2 Apr 2021 11:18:33 +0000 (19:18 +0800)]
Add some APIs into web context.
This patch is to add some APIs with callbacks into web context.
Change-Id: I234c433a169569b944162edf5f8d4ac34733dacb
huayong.xu [Thu, 25 Feb 2021 11:59:54 +0000 (19:59 +0800)]
Add APIs for ssl certificate and http authentication.
This patch is to add some APIs for ssl certificate and http
authentication in web view.
Change-Id: Ic1e3790d2ec5e9754f613cdcc969132440c48241
huayong.xu [Wed, 3 Feb 2021 08:45:16 +0000 (16:45 +0800)]
Support policy decision in web view.
This patch is to add policy decision feature in web view.
Change-Id: Iddf70088cd663a3362a995b317edda04cdf05817
JIYUN YANG [Tue, 6 Apr 2021 05:15:02 +0000 (05:15 +0000)]
Merge "Add APIs for console message & loading error in web view." into devel/master
Bowon Ryu [Mon, 5 Apr 2021 10:14:21 +0000 (10:14 +0000)]
Merge "add theme to TextSelectionPopup/Button/Toolbar according to 6.5 IoT UX" into devel/master
huayong.xu [Mon, 22 Feb 2021 11:55:47 +0000 (19:55 +0800)]
Add APIs for console message & loading error in web view.
This patch is to add some APIs into web view for console message
and loading error.
Change-Id: I122871ca03ca164c8778f0d4af07100dd945c284
Bowon Ryu [Fri, 2 Apr 2021 08:25:45 +0000 (17:25 +0900)]
Fix misplaced arguments in text-selection-popup
Change-Id: Id153c1d8bb836cc8728f74cd76d6d1102d1e91b1
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
JIYUN YANG [Fri, 2 Apr 2021 05:10:59 +0000 (05:10 +0000)]
Merge "Add APIs for intercepting http request in web view." into devel/master
Adeel Kazmi [Thu, 1 Apr 2021 17:06:50 +0000 (17:06 +0000)]
Merge "Implements CanvasView control" into devel/master
Sara Samara [Mon, 8 Feb 2021 09:48:08 +0000 (11:48 +0200)]
Fixing the issue where characters were being drawn at the same location whenever GetNaturalSize was called.
*********************************************************************************
Description:
GetNaturalSize method was updating a copy by reference of the pending operations mask.
The value of the mask was being updated to Layout and Render.
After calling GetNaturalSize and giving focus to the editor by tapping it, the UpdateModel was attempting to perform an update based on the mask but had no update details stored in the the object and this caused all the characters to be pushed to the same paragraph.
The change stored a back-up of the mask as soon as it entered the GetNaturalSize so that its value can be restored before exiting GetNaturalSize. This ensured that no modifications made on the mask copy while getting the natural size were reflected on the original mask.
The utc checks on the line count before calling GetNaturalSize and tapping the text-editor and after doing so. The line count is expected to not change.
*********************************************************************************
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();
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, 0.0f, 0.f));
mEditor.SetProperty(Actor::Property::SIZE, Vector2(200.f, 100.0f));
mEditor.SetBackgroundColor(Vector4(0.04f, 0.345f, 0.392f, 1.0f));
mEditor.SetProperty(TextEditor::Property::TEXT, "A\na\n");
mButton = PushButton::New();
mButton.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER);
mButton.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER);
mButton.SetProperty(Actor::Property::SIZE, Vector2(100.f, 50.0f));
mButton.SetProperty(Actor::Property::POSITION, Vector3(0.f, 0.0f, 0.f));
mButton.SetProperty(Button::Property::LABEL, "click");
mButton.SetBackgroundColor(Vector4(0.5f, 0.5f, 0.5f, 1.0f));
mButton.ClickedSignal().Connect(this, &SimpleApp::OnButtonClicked);
window.Add(mButton);
window.Add(mEditor);
}
std::string str1,str2;
bool OnButtonClicked(Button button)
{
if(button == mButton)
{
Vector3 originalSize = mEditor.GetNaturalSize();
}
return true;
}
private:
Application& mApplication;
TextEditor mEditor;
PushButton mButton;
};
int DALI_EXPORT_API main(int argc, char** argv)
{
Application application = Application::New(&argc, &argv);
SimpleApp test(application);
application.MainLoop();
return 0;
}
Change-Id: I287f2f195d861a2cebbb256195d25cb653702dc7
David Steele [Thu, 1 Apr 2021 13:44:43 +0000 (13:44 +0000)]
Merge "(Automated Tests) Remove unused TestGraphicsProgram Constructor" into devel/master
Adeel Kazmi [Thu, 1 Apr 2021 09:59:36 +0000 (10:59 +0100)]
(Automated Tests) Remove unused TestGraphicsProgram Constructor
Change-Id: Iec9a7dac30e93147985edcf40bf0d3ee97cea20a
David Steele [Thu, 1 Apr 2021 11:27:44 +0000 (11:27 +0000)]
Merge "DALi Version 2.0.20" into devel/master
Richard Huang [Thu, 1 Apr 2021 11:15:42 +0000 (12:15 +0100)]
DALi Version 2.0.20
Change-Id: I0276539ce7d51fd79674eefcef118e1da17f7f3f
Bowon Ryu [Mon, 29 Mar 2021 06:37:37 +0000 (15:37 +0900)]
add theme to TextSelectionPopup/Button/Toolbar according to 6.5 IoT UX
Change-Id: I3ee1fc5003743fa647418d73a83f54e53b498681
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Adeel Kazmi [Thu, 1 Apr 2021 09:21:33 +0000 (09:21 +0000)]
Merge "(Coverage) Remove system & third-party files, fix path shown in html" into devel/master
Adeel Kazmi [Wed, 31 Mar 2021 18:53:22 +0000 (19:53 +0100)]
(Coverage) Remove system & third-party files, fix path shown in html
- Removed files in /usr/local/*
- Removed files in third-party directories
- Specified the prefix to strip from genhtml rather than it working it
out on its own, now we don't see the full path of the files in
dali-scene-loader anymore
Change-Id: Ie6c548a0b641e078ef07c2e7502119372c01ba85
huayong.xu [Fri, 26 Feb 2021 03:45:08 +0000 (11:45 +0800)]
Add APIs for intercepting http request in web view.
This patch is to add APIs for intercepting http request in web
view.
Change-Id: I214b9d03eaa69f67b80a62bf9dff923941570aff
Eunki, Hong [Fri, 22 Jan 2021 09:20:05 +0000 (18:20 +0900)]
ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS
modify shader to use blur_radius and corner_radius both of them
Change-Id: I65315709a7dff4e574f645b370c950e03d00fcfe
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
JIYUN YANG [Tue, 30 Mar 2021 05:06:28 +0000 (05:06 +0000)]
Merge "Add some APIs into web view." into devel/master
Adeel Kazmi [Mon, 29 Mar 2021 16:39:49 +0000 (17:39 +0100)]
(Automated Tests) Sync
Change-Id: Ia6db5a3375117c53050ec07d156e4d574b307a79
huayong.xu [Thu, 4 Mar 2021 09:42:24 +0000 (17:42 +0800)]
Add some APIs into web view.
This patch is to add some APIs into web view, such as
GetScreenshot, GetScreenshotAsynchronously, FindText, etc.
Change-Id: I6bf4e68c11a408ec5f191b69a4a47d5c72657e29
Heeyong Song [Wed, 24 Mar 2021 04:41:36 +0000 (13:41 +0900)]
Fix Coverity issues
Change-Id: I5a1bad11baf88116810fdd976fb882047f01f0da
JIYUN YANG [Mon, 29 Mar 2021 07:14:51 +0000 (07:14 +0000)]
Merge "Add callbacks for form repost decision and frame rendering." into devel/master
Bowon Ryu [Mon, 29 Mar 2021 04:05:52 +0000 (04:05 +0000)]
Merge "Add OPTION_DIVIDER_PADDING property to TextSelectionPopup" into devel/master
huayong.xu [Wed, 24 Feb 2021 09:43:46 +0000 (17:43 +0800)]
Add callbacks for form repost decision and frame rendering.
This patch is to add callbacks for form repost decision and frame
rendering in web view.
Change-Id: I801b5dddcceae2e68f43c5883f576ef988adb112
JIYUN YANG [Mon, 29 Mar 2021 02:32:26 +0000 (02:32 +0000)]
Merge "Add some properties into web view" into devel/master
joogab yun [Mon, 29 Mar 2021 00:57:30 +0000 (00:57 +0000)]
Merge "Add parameter (bool immediate) to TextChanged signal in interface" into devel/master
Adeel Kazmi [Fri, 26 Mar 2021 20:19:16 +0000 (20:19 +0000)]
Merge branch 'devel/graphics' into devel/master
Change-Id: Idbe114ce2fd0960111679c58730f34a15f8b4b32
Adeel Kazmi [Fri, 26 Mar 2021 19:41:52 +0000 (19:41 +0000)]
(Automated Tests) Sync Tests
Change-Id: Ibf4b75ba259dee161fef22fb45477e2753c527b7
Adeel Kazmi [Fri, 26 Mar 2021 16:22:52 +0000 (16:22 +0000)]
Merge branch 'devel/master' into devel/graphics
Change-Id: I1c4d2148118bf84173c014185deb423f0df2916e
Adeel Kazmi [Fri, 26 Mar 2021 12:56:16 +0000 (12:56 +0000)]
Merge "DALi Version 2.0.19" into devel/master
Adeel Kazmi [Fri, 26 Mar 2021 11:00:46 +0000 (11:00 +0000)]
DALi Version 2.0.19
Change-Id: I2ef220ec75e8aa520f9c7229f8686debfd3a6215
Fang Xiaohui [Wed, 3 Mar 2021 06:57:33 +0000 (14:57 +0800)]
Add some properties into web view
ewk_view_bg_color_set
ewk_view_clear_tiles_on_hide_enabled_set
ewk_view_tile_cover_area_multiplier_set
ewk_view_set_cursor_by_client
ewk_view_text_selection_text_get
Change-Id: I353c858caf82034c4f95c283057bdb8fbc8f2132
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>
JIYUN YANG [Fri, 26 Mar 2021 06:48:14 +0000 (06:48 +0000)]
Merge "Support mouse & wheel events in web view." into devel/master
huayong.xu [Tue, 29 Dec 2020 06:20:19 +0000 (14:20 +0800)]
Support mouse & wheel events in web view.
Mouse and wheel events support are added in web view.
Change-Id: I89bf564cf49a1448fccfd9df90bc95076448b4e8
Wonsik Jung [Thu, 25 Mar 2021 05:00:11 +0000 (05:00 +0000)]
Merge "Add automated-test for grabHandleColor property" into devel/master
Bowon Ryu [Wed, 24 Mar 2021 12:51:32 +0000 (21:51 +0900)]
Add OPTION_DIVIDER_PADDING property to TextSelectionPopup
Change-Id: I684cc8192d1bddaa162ea41870e1f162c8ff2832
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
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
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>
Bowon Ryu [Wed, 24 Mar 2021 04:24:32 +0000 (04:24 +0000)]
Merge "support grabHandleColor property to TextField/TextEditor" into devel/master
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
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
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
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
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
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>
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
joogab yun [Mon, 22 Mar 2021 05:09:27 +0000 (05:09 +0000)]
Merge "Implement CameraView." 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
Seoyeon Kim [Mon, 22 Mar 2021 00:54:03 +0000 (00:54 +0000)]
Merge "Make AccessibilityManager::SetCurrentFocusActor more usable" 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
David Steele [Fri, 19 Mar 2021 10:34:09 +0000 (10:34 +0000)]
DALi Version 2.0.18
Change-Id: I4e3f30379ed8b49dfb3b59b124d236c4554d8183
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
David Steele [Fri, 19 Mar 2021 09:12:36 +0000 (09:12 +0000)]
Merge "Change BuildRequires of dali2-toolkit to Requires" into devel/master
JunsuChoi [Thu, 24 Dec 2020 06:59:30 +0000 (15:59 +0900)]
Implements CanvasView control
Control for drawing Vector Primitives.
CanvasView can draw a shape in its internal buffer
by adding a Dali::CanvasRenderer::Shape object and calling Commit().
Dali::CanvasRenderer::Shape is a command list based on Path.
Fill and Stroke properties can be set using setters and getters.
Dali::CanvasRenderer::Drawable is a parent class of Dali::CanvasRenderer::Shape and
it has common class of classes to be added later (Scene, etc.).
Note:
Currently, the CanvasView's buffer is using PixelData.
This buffer strategy will be changed to tbmBuffer in the future.
[API List]
class CanvasView : public control
New
AddDrawable
Change-Id: I50ade6fb981e72f3e4ccc1ec34cd82de784a7bd4
Joogab Yun [Tue, 9 Mar 2021 07:38:09 +0000 (16:38 +0900)]
Implement CameraView.
Change-Id: I94e99034374c224238d66a05579e733a5c3b8209
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
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
David Steele [Mon, 15 Mar 2021 17:52:18 +0000 (17:52 +0000)]
Syncing Test harness for Scissor/Viewport
Change-Id: I66ef88eef4db358e319f8907c133252b73854e15
David Steele [Fri, 12 Mar 2021 13:06:45 +0000 (13:06 +0000)]
Merge branch 'devel/master' into devel/graphics
Change-Id: I66582959adf92cfba582bc9fc660779a0ac37a54
Adam Bialogonski [Fri, 12 Mar 2021 10:51:10 +0000 (10:51 +0000)]
DALi Version 2.0.17
Change-Id: I9226d4ac45f7b062915bcad4201b70f6eb20a1f0
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
David Steele [Tue, 9 Mar 2021 15:52:25 +0000 (15:52 +0000)]
Protecting test cases from memory scribbling
Modified 3 tcs which have scribbling on shutdown (VisualFactory
Singleton destroyed before visuals, due to scene still owning
actors with visuals).
Change-Id: I02c200d0094d6eb9803e617effc125ddb78faf46
JIYUN YANG [Thu, 11 Mar 2021 05:25:43 +0000 (05:25 +0000)]
Merge "Add APIs of webview settings." into devel/master
Richard Huang [Mon, 8 Mar 2021 14:18:09 +0000 (14:18 +0000)]
Test harness for UBO
Change-Id: Iff3b9687f8389015aefc24e9b64007a8a3f29252
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
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>
David Steele [Fri, 5 Mar 2021 13:51:27 +0000 (13:51 +0000)]
Syncing Test harness update for Sampler
Change-Id: I8b3e9b4d8a8642fe145bc5639a547f12ae26abf6
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
Richard Huang [Fri, 5 Mar 2021 11:52:05 +0000 (11:52 +0000)]
DALi Version 2.0.16
Change-Id: Ida2550e9db4dfb62aacf9dae5335bdbdecb22a5a
joogab yun [Thu, 4 Mar 2021 06:53:55 +0000 (06:53 +0000)]
Merge "Prevent height adjustment of TextLabel" into devel/master
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>
David Steele [Wed, 3 Mar 2021 17:21:23 +0000 (17:21 +0000)]
Syncing Test harness updates for Native Image
Change-Id: I7103c24f187f1b18fc37ad2f3595446d9ef53134
Artur Świgoń [Fri, 5 Feb 2021 16:07:34 +0000 (17:07 +0100)]
Promote Control::Impl::AccessibleImpl to DevelControl
Change-Id: I171cf49ea494791435a4849970ea0ec0c3952ec3
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
joogab yun [Wed, 3 Mar 2021 01:04:40 +0000 (01:04 +0000)]
Merge "fix wrong cursor position in TextField" into devel/master
David Steele [Tue, 2 Mar 2021 12:26:40 +0000 (12:26 +0000)]
Syncing Test harness updates
Change-Id: If7f9dc0a05eb8c7cafd4aff594ad336097bb7a5e
Adeel Kazmi [Mon, 1 Mar 2021 19:11:32 +0000 (19:11 +0000)]
Merge branch 'devel/master' into devel/graphics
Change-Id: Ie75ba5871fbfe21c539f14167d20518ef12b7921
David Steele [Fri, 26 Feb 2021 17:27:49 +0000 (17:27 +0000)]
Test harness updates
Change-Id: I512d0933dacdfbd4f21085e7495d3bc0dd906c68
Adam Bialogonski [Fri, 26 Feb 2021 16:29:57 +0000 (16:29 +0000)]
Shaders, Pipeline, Program test harness update
Change-Id: Id5fadf14b543fe09d9e175e8660c7b2192a1f597
David Steele [Fri, 26 Feb 2021 12:43:34 +0000 (12:43 +0000)]
DALi Version 2.0.15
Change-Id: I55fe7a105f367f566779479ef4d03e572a645942
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>
Bowon Ryu [Thu, 25 Feb 2021 05:21:03 +0000 (05:21 +0000)]
Merge "dali-toolkit: fix wrong TextChanged() signal" into devel/master
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
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>
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>
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>
Adeel Kazmi [Fri, 19 Feb 2021 16:50:07 +0000 (16:50 +0000)]
Merge "Remove unused internal API at SVG (DeleteImage)" into devel/master
Richard Huang [Fri, 19 Feb 2021 15:28:44 +0000 (15:28 +0000)]
Update common test harness files for shader reflection
Change-Id: Ib0d76e99d41df1f09377b35fd4a34a0430e5bf96
Adam Bialogonski [Fri, 19 Feb 2021 08:46:11 +0000 (08:46 +0000)]
DALi Version 2.0.14
Change-Id: Ifa889778ee08a7a731c8fce699fc74fd3c01a60a