Fix bug when we try to load two image s.t. premultyOnLoad difference Let we seperate cache between "Could-be-premultiplied, but not loaded yet" VS "Do not premultiplied" Currently, we check both of them as same item. Change-Id: Idfb68580e5a321745ee3accf9bb61d3845a39067 Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Make method to get VisualUrl shorter. Let we allow to get only the last 20 character of URL name when we don't need to print full URL. Change-Id: Id7203bff84fdf61a7950cec1c79ebce48b1a9a43 Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Clear font cache when locale changed Fix the problem that the font does not change because the font cache of the multi-language-support and text-controller does not disappear when the language is changed. Change-Id: Ib6afee3101d87cd09a1a0c9af5c9f33b16bf84cb
Add AnchorColor Property AnchorColor(or AnchorClickedColor) property is used as the default color of the markup anchor tag. If there is a color attribute in the markup anchor tag, the markup attribute takes precedence. Change-Id: Idc938495036319f74764b9ddadc2441d46eed159 Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
(A11y) Connect PropertySet signal only if highlighed Notify when ACCESSIBILITY_NAME or ACCESSIBILITY_DESCRIPTION changed cases are only need for highlighted control. So let we ensure to connect property set signal only if control has ben grabed at least one time. It will be useful when never be highlighted Actor's Accessible creation / destruct time. Change-Id: I0c719a4576d02db9914a0e7b53a266ba4845cee2 Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
(A11y) Let we make some way to do not create new Accessible Add some API that we will not create new Accessible() object anymore. It will be useful when we ignore some Disposed view's accessible action. Change-Id: I6186f95eacf3c7d3cdb9c4ff9543edc019096552 Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Implement AsyncTaskManager for toolkit UTC Let we ignore Process() doesn't registered when we check AsyncTask completed. There was a lots of UTCs that randomly failed due to the task completed and excuted at Process() timing. Now we make async-task-manager triggered by event thread callback, not include Process(). It will make sure that UTC who need to wait async tasks completed is ensured. Change-Id: I5ec2eca6e579be4459c957db3f52c90bc219602e Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Remove Atlas parameter for TextureManager cache system If some visual attempt to atlas, they will use AtlasManager. So there is no reason to keep atlas relative informations for TextureInfo struct, what we are caching now. + This patch touch a lots of codes in texture-manager. So, I also change something useless lvalue usages Something like, const bool& Change-Id: I6a83b75c8311377e2ab6d62d29c19864a21d7e79 Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
(Vector) Support EncodedImageBuffer can use for vector image Support to append extension when we use imagetype For example, if EncodedImageBuffer has VECTOR_IMAGE type, we will generate url "enbuf://3.svg" So we can use it directly by ImageView -> SvgVisual And also, let we support Remote animated vector image. (Since we can load animated vector image by raw buffer.) Change-Id: I09fd214021507cd8d29bbd3c3720d4427f5eedd7 Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
ImageVisualShaderFactory refactoring ImageVisualShaderFactory::GetShader method is too long and complex. The method uses same logic for two different purpose in a method that makes difficult to understand. And the method also has too many braces depth. This patch moves some features that to create shaderType and to retrive shaderPreFix to ImageVisualShaderFeatureBuilder. Now ImageVisualShaderFeatureBuilder manages all responsibility to define shader codes following its options. And slides some codes for readability and it make possible remove unnecessary comments. Change-Id: I09a725d4e101cb65badffe3a897572971e2c336b Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Update expected value of UtcDaliGetMirroredText The text direction determination logic has been changed, https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/298855/ so the result of GetMirroredText() may different from the previous one, especially when dealing with mixed LTR + RTL text. (and particulary when brackets are involved) Update the TC with the coreect values. Change-Id: I678211880250035caea4d6142e69fd427268b1ff Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Fix randomly failed UTC Since application.SendNotification() might complete the loading before our hard-coding process, It randomly failed. To fix it, we remove the possible way to complete async loading complete Change-Id: I010f3c286638e7a961dff02cb15f55fec79ad538 Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Apply new clipboard to text component and remove legacy text clipboard https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/294862/ Change-Id: I13f25936c230afe97185796c3b366ef8fca229d6 Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Remove external resources lazy. Since we don't increase & decrease the reference count of ExternalResources during LoadTexture() API, It can be happened that some TextureId validation failed. For example of dali://2, ImageUrl::New() // refcount : 1 ImageVisual::Initialize() // refcount : 2 ~ImageVisual - RemoveExternalTexture("dali://2"); // refcount : 1 - RequestRemove(2) // still refcount : 1 ~ImageUrl // now, refcount : 0 ImageVisual() LoadTexture() //< New generated texture will use TextureId as 2, with refcount 1 == Process() == Remove(2) // Now, TextureId 2's refcount is 0! load cancel. This patch make we only remove normal texture cache, instead of ExternalResource Change-Id: Ia735770a02c231fa79af40a1e5926aab11358b71 Signed-off-by: jmm <j0064423.lee@samsung.com>
Update approval test for text Due to the patch below, there are some changes to the text placement position. https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/294254/ Change-Id: Ia1c79209405beedd6c26a63ebcbfee9928b31725 Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Move Clipboard to TextClipboard We plan to create a new Clipboard class and remove the dependency on Text and the legacy clipboard. Change-Id: I87eeb622e4ea524d5c2d9b38c5a16e958b89c52c Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Clear cached font data if appended too much Until found the reason of cache size appending, just keep this removal logic. Change-Id: I9a1e6c2db486af9c711c80ab65bb03435719c3f9 Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>