Shinwoo Kim [Tue, 1 Jun 2021 02:09:21 +0000 (11:09 +0900)]
Revert "[Tizen] Fix webview rendering issue in TV"
This reverts commit
2159a622030595fe54fd63c34756483e62821c57.
Shinwoo Kim [Tue, 1 Jun 2021 02:09:10 +0000 (11:09 +0900)]
Revert "[Tizen] Support Underline to Markup using underlined-character-run"
This reverts commit
22eac3ef0861b270474850ab9376b19581208af4.
Shinwoo Kim [Tue, 1 Jun 2021 02:09:02 +0000 (11:09 +0900)]
Revert "[Tizen] Fixing issue: On Text, reducing font-point-size when the Glyph-block-size be larger than Atlas-block-size to fit into it."
This reverts commit
e6b8da56953a1a9ee3db04178b6d121ea9aa24a4.
Shinwoo Kim [Tue, 1 Jun 2021 02:08:53 +0000 (11:08 +0900)]
Revert "[Tizen] Fix build error UTC UtcDaliTextEditorMarkupUnderline"
This reverts commit
a6d61c7a28017b470de313c5776de0dcf6affe7b.
Shinwoo Kim [Tue, 1 Jun 2021 02:08:35 +0000 (11:08 +0900)]
Revert "[Tizen] Add text wrapping hyphen mode support"
This reverts commit
789eeee3b25f9fef05ec67722204ea51bc4fd23c.
Shinwoo Kim [Tue, 1 Jun 2021 02:08:26 +0000 (11:08 +0900)]
Revert "[Tizen] Add property ENABLE_GRAB_HANDLE_POPUP to TextEditor"
This reverts commit
fe30a4e3cf67c5a302a89dad0e12fea79ed5ae42.
Shinwoo Kim [Tue, 1 Jun 2021 02:08:17 +0000 (11:08 +0900)]
Revert "[Tizen] Fix TextChanged signal."
This reverts commit
5511b058e12120555b4b3c3b35b1cf37c52a2990.
Shinwoo Kim [Tue, 1 Jun 2021 02:08:06 +0000 (11:08 +0900)]
Revert "[Tizen][AT-SPI] Set default value of ReadingInfoTypes"
This reverts commit
21ca0977fc96c16cf990be1f096b205800e385ca.
Bartlomiej Grzelewski [Wed, 14 Apr 2021 12:45:31 +0000 (14:45 +0200)]
[Tizen][AT-SPI] Set default value of ReadingInfoTypes
Change-Id: I0fc2234a089534859ea2ad31b9ea4b221f331f29
Bowon Ryu [Thu, 20 May 2021 07:17:13 +0000 (16:17 +0900)]
[Tizen] Fix TextChanged signal.
Due to the previous patches (below patches),
3d28744e61ba8b68daa957827a55224f11bbf2f0
33ccee79d16a90d5f7ab427de1503ccc5bee4324
the sequence of Signal emit and Render has been different.
This caused a compatibility issue.
This patch fixes a compatibility issue by change the timing of the signal emit.
Change-Id: I76633936fb32e91d685f4bc6042c69ebd663c08d
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Fri, 14 May 2021 10:04:30 +0000 (19:04 +0900)]
[Tizen] Add property ENABLE_GRAB_HANDLE_POPUP to TextEditor
This is already provided in TextField.
And this should also be provided in TextEditor.
Change-Id: If4bdaeb86b11400b44ee50cd7484ff10b5405dc7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
abdullah [Thu, 25 Feb 2021 12:00:05 +0000 (14:00 +0200)]
[Tizen] Add text wrapping hyphen mode support
related to
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-adaptor/+/254278
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 = mApplication.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(150, 300.0f));
window.SetBackgroundColor(Vector4(0.04f, 0.345f, 0.392f, 1.0f));
mEditor.SetProperty(TextEditor::Property::POINT_SIZE, 26.f);
mEditor.SetProperty(TextEditor::Property::TEXT, "Experimental!!!!");
mEditor.SetProperty(TextEditor::Property::LINE_WRAP_MODE, Text::LineWrap::HYPHENATION);
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;
}
Change-Id: I736a8d251d1f7fb364b7bfb26520767dfd019ccb
Shrouq Sabah [Tue, 27 Apr 2021 11:46:14 +0000 (14:46 +0300)]
[Tizen] Fix build error UTC UtcDaliTextEditorMarkupUnderline
Change-Id: I9cd9a9518d6549fb302225b4b48a65df667562c6
Shrouq Sabah [Wed, 10 Mar 2021 13:03:20 +0000 (15:03 +0200)]
[Tizen] Fixing issue: On Text, reducing font-point-size when the Glyph-block-size be larger than Atlas-block-size to fit into it.
Issue: On TextEditor or TextField when use font size (Point-Size) which creating Glyphs its size larger than Atlas-block size then logging error says that can’t create block and nothing appear in Text-Controller.
Solution: At Adaptor level, checking block size according to point-size if the block will be larger than Atlas size then keep decreasing point-size until achieve block that fit into Atlas size.
Toolkit calls API named “EnableAtlasLimitation” on Font-Client object to activate this validation on Adaptor level. Since the Atlas size information added as constants in Font-Client class.
Log warning that the point-size is reduced.
Automated test-cases added to Adaptor and Toolkit
Added APIs into font-client/Adaptor for Point-size & Atlas information instead of constants/literal values in toolkit.
Reproduce by:
Creating TextEditor or TextFiled then set properties:
mEditor.SetProperty( TextEditor::Property::POINT_SIZE, 330) ;
mEditor.SetProperty( TextEditor::Property::FONT_FAMILY, " DejaVu Sans ") ;
Logged error appears:
Logged ERROR: “ERROR: DALI: CreateAtlas Atlas 512 x 512 too small. Dimensions need to be at least 517x517”
Logged ERROR: “ERROR: DALI: Add Failed to create an atlas of 512 x 512 blocksize: 514 x 514.”
Change-Id: Ib4c57e80c21ca5efe905681fe050d3a65873c6f5
Shrouq Sabah [Mon, 12 Apr 2021 13:01:32 +0000 (16:01 +0300)]
[Tizen] Support Underline to Markup using underlined-character-run
Change-Id: I21e5639a75a815204060e5d56c342794e23941ff
Jiyun Yang [Tue, 18 May 2021 04:05:11 +0000 (13:05 +0900)]
[Tizen] Fix webview rendering issue in TV
Change-Id: I7c2cb780862ec9bb27ad35cabfc6238e0b02ee17
huayong.xu [Fri, 30 Apr 2021 07:43:01 +0000 (15:43 +0800)]
[Tizen] Rename policy decision and fix favicon issue.
Change-Id: I485138a5e467515811008e89a9194bc58d1d9a34
Jiyun Yang [Thu, 13 May 2021 03:14:47 +0000 (12:14 +0900)]
[Tizen] Set custom fragment shader to the visual used in WebView
Change-Id: I87be6fe6356783ed25c55d6cee53f673ecb93e32
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Taehyub Kim [Fri, 7 May 2021 04:25:51 +0000 (13:25 +0900)]
[Tizen] Replace rive animation resource for automated utc
Change-Id: I62126dd4d1ad4e3d60e60a5ae8ed364a05314540
Taehyub Kim [Fri, 2 Apr 2021 12:36:42 +0000 (21:36 +0900)]
[Tizen] visual: Implements rive animation
Change-Id: I6c6db8ff53493ad164142805d2655cb34b9ce10e
Sunghyun Kim [Mon, 26 Apr 2021 07:11:37 +0000 (16:11 +0900)]
[Tizen] Adds transition effect
This reverts commit
2d7f1c8d98c5f0e36009b27a74b8caaddfbdf16e.
Change-Id: Ieb3aee3d5e133cc0eb13e60c9b13270db5d97020
Sunghyun Kim [Mon, 26 Apr 2021 06:50:38 +0000 (15:50 +0900)]
[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4 corner radius
This reverts commit
26b38c4688cb516b82f81efc26dec936642db846.
Change-Id: Ib9ec8f2d9f59f90d1808409ac576abed9aebad91
Sunghyun Kim [Mon, 26 Apr 2021 06:50:07 +0000 (15:50 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation
This reverts commit
63befc6c39700bcb25a6819d97ec0d045645e0a5.
Change-Id: I3acff87bf3c1e7dafcb3639040838182c60c066c
Sunghyun Kim [Mon, 26 Apr 2021 06:49:46 +0000 (15:49 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: Ib43f22fa596c7fbd7184783c26dd25d38394ca4e
Sunghyun Kim [Mon, 26 Apr 2021 06:49:29 +0000 (15:49 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
64e2cd729c059995606137d4f13c9957cc424cba.
Change-Id: Ifdfb46c3b06589a2ca1466c49705a02ac6bbcbb0
Sunghyun Kim [Mon, 26 Apr 2021 06:49:26 +0000 (15:49 +0900)]
Revert "[Tizen] svg-visual: Add info log message for debug"
This reverts commit
78b35411ac901a6e8ed1066dfd4485364682345b.
Sunghyun Kim [Mon, 26 Apr 2021 06:49:23 +0000 (15:49 +0900)]
Revert "[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4 corner radius"
This reverts commit
f501cb0d77191ccaaa0603c955a905c2ad0f1798.
Sunghyun Kim [Mon, 26 Apr 2021 06:49:19 +0000 (15:49 +0900)]
Revert "[Tizen] Adds transition effect"
This reverts commit
68864af60b18a5473a5f49328738facb1b5827e9.
Sunghyun Kim [Mon, 26 Apr 2021 06:49:15 +0000 (15:49 +0900)]
Revert "[Tizen] fix visual artifact of Transition"
This reverts commit
7dd7f6cce36039c904d335267680edbbecb2eb89.
Sunghyun Kim [Mon, 26 Apr 2021 06:48:57 +0000 (15:48 +0900)]
Revert "[Tizen] Fix svace issue"
This reverts commit
5c0c36764fbf14c38a4d740ec3d20ba5fc4c11dd.
Change-Id: I77b29b1856f80aa585ed699e1bb739c0d97b783e
Seungho BAEK [Mon, 26 Apr 2021 05:22:04 +0000 (05:22 +0000)]
Merge "Add post processor" into devel/master
Bowon Ryu [Mon, 26 Apr 2021 05:18:15 +0000 (05:18 +0000)]
Merge "This is a hotfix for side effect on Scrolling, LineWrap and Invalid position of cursor in TextEditor after calling GetNaturalSize or GetHeightForWidth." into devel/master
Adeel Kazmi [Thu, 22 Apr 2021 13:24:30 +0000 (14:24 +0100)]
Replaced Shader Generator script with an executable for cross-platform support
Change-Id: I203b30afb74ad69b8b7faed5271478c20d4445cc
Adeel Kazmi [Fri, 23 Apr 2021 08:29:15 +0000 (09:29 +0100)]
DALi Version 2.0.23
Change-Id: Ib83517c85e89e0b819b7eadcc6e5a318dd40beac
Shrouq Sabah [Wed, 17 Mar 2021 13:59:03 +0000 (15:59 +0200)]
This is a hotfix for side effect on Scrolling, LineWrap and Invalid position of cursor in TextEditor after calling GetNaturalSize or GetHeightForWidth.
The number of lines and glyph-positions in visualModel have been changed by calling DoRelayout with size does not equal actualControlSize.
Solution: Store the mLines and mGlyphPositions from visualModel so that they can be restored later on with no modifications made on them.
Change-Id: Ic14995e1c178b094107f4317e9d3835d6bec7470
seungho [Thu, 22 Apr 2021 01:52:59 +0000 (10:52 +0900)]
Add post processor
Change-Id: I557a9b372d758dbef8412db5cfab800ebb8f713e
Signed-off-by: seungho <sbsh.baek@samsung.com>
Joogab Yun [Mon, 19 Apr 2021 08:16:58 +0000 (17:16 +0900)]
[Tizen] Fix svace issue
This reverts commit
30bf5d4d4121b42c7b1109c413b4d7bab8201b73.
Change-Id: I514c4ca95b0000fd388981e186243bd4f6d5371c
Joogab Yun [Mon, 19 Apr 2021 08:16:15 +0000 (17:16 +0900)]
[Tizen] fix visual artifact of Transition
This reverts commit
750d2f457e14f3801e424efcc8cc84f36e90a207.
Change-Id: Ie89c794f173dfe12dceb1d1d079f364b076043e7
Joogab Yun [Mon, 19 Apr 2021 08:15:56 +0000 (17:15 +0900)]
[Tizen] Adds transition effect
This reverts commit
91cd4466a56688faab3aa003b428a35f0ece7e74.
Change-Id: I0322537efff6b9473faee4cf5a9553ac02925f01
Joogab Yun [Mon, 19 Apr 2021 08:15:38 +0000 (17:15 +0900)]
[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4 corner radius
This reverts commit
f1dc72437e34dcfdbb591a10078648c8aa9521ec.
Change-Id: I9fad56c3ad9484487219fafcc22b0d2aee98da85
Joogab Yun [Mon, 19 Apr 2021 08:15:16 +0000 (17:15 +0900)]
[Tizen] svg-visual: Add info log message for debug
This reverts commit
89c1887014e4c90ec6565af555f18e3bb2866831.
Change-Id: I47425dbc854c039627c76bab1e346905f717e7f9
Joogab Yun [Mon, 19 Apr 2021 08:14:50 +0000 (17:14 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation
This reverts commit
6dfd8aa9378d7d96ab5e16527c49c58a5518bf7a.
Change-Id: I15b1d67b362a4ddd913fdc671b274becf8293aae
Joogab Yun [Mon, 19 Apr 2021 08:14:21 +0000 (17:14 +0900)]
Merge branch 'devel/master' into tizen
Joogab Yun [Mon, 19 Apr 2021 08:14:05 +0000 (17:14 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
5df2820260e273ded503f498337d357c2b6e1bbc.
Joogab Yun [Mon, 19 Apr 2021 08:14:01 +0000 (17:14 +0900)]
Revert "[Tizen] Implements CanvasView control"
This reverts commit
aa98a4ef5ee2f876efa25c8f6a02bee1f603b2bb.
Joogab Yun [Mon, 19 Apr 2021 08:13:57 +0000 (17:13 +0900)]
Revert "[Tizen] svg-visual: Add info log message for debug"
This reverts commit
22f51d5ea824b7f4117626fc36377ca001b5f3d3.
Joogab Yun [Mon, 19 Apr 2021 08:13:55 +0000 (17:13 +0900)]
Revert "[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4 corner radius"
This reverts commit
7f9a5f3f2307298eab93fec5f0d9afdd3c7810cc.
Joogab Yun [Mon, 19 Apr 2021 08:13:52 +0000 (17:13 +0900)]
Revert "[Tizen] Adds transition effect"
This reverts commit
40b7ceb6791ca9ebc4c413ac7ee02a2439d348ed.
Joogab Yun [Mon, 19 Apr 2021 08:13:49 +0000 (17:13 +0900)]
Revert "[Tizen] fix visual artifact of Transition"
This reverts commit
725ae799107c650268ec086003fa96e14bdbf206.
Joogab Yun [Mon, 19 Apr 2021 08:13:47 +0000 (17:13 +0900)]
Revert "[Tizen] Fix svace issue"
This reverts commit
ba69d61187a82d338967b196c389ab28091567b9.
zhouleonlei [Fri, 9 Apr 2021 06:18:08 +0000 (14:18 +0800)]
Add APIs of webview context
ewk_context_cache_disabled_get
ewk_context_certificate_file_get
ewk_context_tizen_app_id_set
ewk_context_tizen_app_version_set
ewk_context_application_type_set
ewk_context_time_offset_set
ewk_context_timezone_offset_set
ewk_context_register_url_schemes_as_cors_enabled
ewk_context_register_jsplugin_mime_types
ewk_context_default_zoom_factor_set
ewk_context_default_zoom_factor_get
ewk_context_application_cache_delete_all
ewk_context_web_indexed_database_delete_all
ewk_context_form_password_data_list_free
ewk_context_form_password_data_delete_all
ewk_context_form_candidate_data_delete_all
ewk_context_proxy_uri_get
ewk_context_proxy_set
ewk_context_proxy_bypass_rule_get
ewk_context_notify_low_memory
Change-Id: I8644022e5f68eb0d15cb8aca97d55236c9f791c2
Adeel Kazmi [Fri, 16 Apr 2021 13:20:17 +0000 (13:20 +0000)]
Merge "DALi Version 2.0.22" into devel/master
David Steele [Fri, 16 Apr 2021 13:03:00 +0000 (14:03 +0100)]
DALi Version 2.0.22
Change-Id: Idf58802bc4495999febc3d24425787f84aa08d3b
zhouleonlei [Wed, 17 Mar 2021 08:08:19 +0000 (16:08 +0800)]
Add changesWatch for webview cookie
Change-Id: Ice11a906d847d8abf4fcfe5317e2d1b0935825d1
Seungho Baek [Thu, 15 Apr 2021 05:26:41 +0000 (14:26 +0900)]
[Tizen] Fix svace issue
- initialize a member variable in transitionbase
Change-Id: I909644e8dcf1835979bb6ab8f290f446ccc9eab6
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
joogab yun [Thu, 15 Apr 2021 05:09:23 +0000 (05:09 +0000)]
Merge "[dali-toolkit] fix set max character length when text already set" into devel/master
seungho [Wed, 14 Apr 2021 11:50:49 +0000 (20:50 +0900)]
[Tizen] fix visual artifact of Transition
Change-Id: Iaa2ee2950dcfd434f2b2f70b8f9ec817c0543a21
Signed-off-by: seungho <sbsh.baek@samsung.com>
Seoyeon Kim [Wed, 14 Apr 2021 06:32:40 +0000 (06:32 +0000)]
Merge "atspi: remove property notification" into devel/master
Seungho Baek [Wed, 13 Jan 2021 05:58:54 +0000 (14:58 +0900)]
[Tizen] Adds transition effect
Change-Id: Ie32632d0d8d0b91fe840de56f7bab4a4fed1557f
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
Eunki, Hong [Fri, 22 Jan 2021 09:20:05 +0000 (18:20 +0900)]
[Tizen] ColorVisual can use both BLUR_RADIUS and CORNER_RADIUS and vector4 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>
Eunki, Hong [Tue, 16 Mar 2021 07:16:57 +0000 (16:16 +0900)]
Corner Radius become Vector4
Now we can set corner radius to each corners
When radius is Vector4(x, y, z, w)
x y
+--+
| |
+--+
w z
NOTE) radius order reference : https://drafts.csswg.org/css-backgrounds-3/#border-radius
Change-Id: If0ee9427095d4aaad07d565256aa512ccd13f274
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Shinwoo Kim [Thu, 8 Apr 2021 11:36:48 +0000 (20:36 +0900)]
atspi: remove property notification
If a control registers and deregisters accessiblity repeatedly,
the number of notification becomes larger and larger. And it
makes system slower and slower.
This patch is removeing property notification, when a control
unregisters accessibility.
Change-Id: I99d4831c70aebe148031eba552756fb08f603bc6
JIYUN YANG [Fri, 9 Apr 2021 10:24:43 +0000 (10:24 +0000)]
Merge "Add the APIs of webview settings" into devel/master
Adeel Kazmi [Fri, 9 Apr 2021 09:19:15 +0000 (09:19 +0000)]
Merge "DALi Version 2.0.21" into devel/master
zhouleonlei [Mon, 15 Mar 2021 09:19:32 +0000 (17:19 +0800)]
Add the APIs of webview settings
Change-Id: Id76de24b2c5a26f7f57f0e8d111c578b3b32fe2d
Adam Bialogonski [Fri, 9 Apr 2021 08:43:36 +0000 (09:43 +0100)]
DALi Version 2.0.21
Change-Id: Icf4ca84f7bd2d40d76cb471bbdc261eb7c3d0743
huayong.xu [Mon, 1 Mar 2021 10:20:45 +0000 (18:20 +0800)]
Add APIs for hit test in web view.
This patch is to add some APIs for hit test into web view.
Meanwhile WebFormRepostDecision is removed.
Change-Id: I54fbb798f36ea6eaab197d993b2691ddfdc20a32
JIYUN YANG [Fri, 9 Apr 2021 05:59:01 +0000 (05:59 +0000)]
Merge "Add APIs of webview back forward list" into devel/master
Adeel Kazmi [Thu, 8 Apr 2021 18:51:41 +0000 (18:51 +0000)]
Merge "Allow Large font size in dali" into devel/master
Adam Bialogonski [Thu, 8 Apr 2021 16:34:20 +0000 (17:34 +0100)]
Fixed memory leaks
Change-Id: I3aa89c8621ce651adf2a3577237e674da7bac4df
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
ali198724 [Sun, 14 Mar 2021 13:01:35 +0000 (15:01 +0200)]
Allow Large font size in dali
- This is done by allowing larger Atlas size, but make restriction for max 1024 size
- Padding will be handled when calculating the new atlas size
- If Max Atlas is not enough, we will fall back to default old behavior.
- This will service rendering font size even larger 500pt which services almost all users needs
Change-Id: Ib05abbc0eced6f440451b4ecf8cc8cc4640c09c8
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
a.ghujeh [Mon, 2 Nov 2020 14:05:47 +0000 (16:05 +0200)]
[dali-toolkit] fix set max character length when text already set
class SimpleApp : public ConnectionTracker
{
Window window;
TextField mTextField;
public:
SimpleApp(Application& application)
: mApplication(application)
{
mApplication.InitSignal().Connect(this, &SimpleApp::Create);
}
void Create(Application& application)
{
window = application.GetWindow();
window.SetBackgroundColor(Vector4(0.04f, 0.345f, 0.392f, 1.0f));
mTextField = TextField::New();
mTextField.SetBackgroundColor(Color::WHITE);
mTextField.SetProperty(TextField::Property::TEXT_COLOR, Color::BLACK);
mTextField.SetProperty(TextField::Property::TEXT, "
123456789");
mTextField.SetProperty(TextField::Property::MAX_LENGTH, 3);
mTextField.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER);
mTextField.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER);
mTextField.SetProperty(Actor::Property::SIZE, Vector2(140.f, 50.f));
mTextField.SetProperty(Actor::Property::POSITION, Vector2(0.f, 0.f));
window.Add(mTextField);
}
private:
Application& mApplication;
};
int DALI_EXPORT_API main(int argc, char** argv)
{
Application application = Application::New(&argc, &argv);
SimpleApp test(application);
application.MainLoop();
return 0;
}
Change-Id: I03ddf782eadb0d816e613aea6ef09a1133d7230e
zhouleonlei [Mon, 1 Mar 2021 07:19:43 +0000 (15:19 +0800)]
Add APIs of webview back forward list
API added list:
ewk_back_forward_list_previous_item_get
ewk_back_forward_list_next_item_get
Change-Id: Ia1f686d50d5805eca0ec179633c14c47d537f633
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
JunsuChoi [Wed, 31 Mar 2021 04:23:53 +0000 (13:23 +0900)]
[Tizen] svg-visual: Add info log message for debug
In Svg-Visual, When loading a file, add a log message to check which file was loaded.
Change-Id: Ib45f5efcf848f9c12d12119a9488f485003c29ab
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>