platform/core/uifw/dali-adaptor.git
2 years ago[Tizen] Remove to call key consumed event in ATSPI bridge
Bowon Ryu [Tue, 2 Aug 2022 05:14:59 +0000 (14:14 +0900)]
[Tizen] Remove to call key consumed event in ATSPI bridge

This reverts commit 4969cfc7307eb0c862cb35884599e2394d9ab8b9.

2 years agoMerge branch 'devel/master' into tizen
Bowon Ryu [Tue, 2 Aug 2022 05:13:27 +0000 (14:13 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Do not call gl functions during shutdown"
Bowon Ryu [Tue, 2 Aug 2022 05:13:20 +0000 (14:13 +0900)]
Revert "[Tizen] Do not call gl functions during shutdown"

This reverts commit 14f972e4b746035ec839f4d5f28eef02f8266894.

2 years agoRevert "[Tizen] Remove to call key consumed event in ATSPI bridge"
Bowon Ryu [Tue, 2 Aug 2022 05:13:12 +0000 (14:13 +0900)]
Revert "[Tizen] Remove to call key consumed event in ATSPI bridge"

This reverts commit fb3955b797c2135b05cfd2a7d5dfa3f2ed30ed67.

2 years ago(automated-tests) Remove verbose output when building 69/279069/1
Adeel Kazmi [Mon, 1 Aug 2022 14:51:06 +0000 (15:51 +0100)]
(automated-tests) Remove verbose output when building

Change-Id: I8183ccf4230763f6caed0ec6a4f3fd6afe6a725c

2 years agoMerge "Fix coveriy issue (Assert when fd = 0)" into devel/master
Adeel Kazmi [Fri, 29 Jul 2022 17:43:11 +0000 (17:43 +0000)]
Merge "Fix coveriy issue (Assert when fd = 0)" into devel/master

2 years agoDALi Version 2.1.33 18/279018/1 dali_2.1.33
Richard Huang [Fri, 29 Jul 2022 11:12:12 +0000 (12:12 +0100)]
DALi Version 2.1.33

Change-Id: Ic7a31ea9cb487f98854a855fd4dec2b04bfb7898

2 years agoFix coveriy issue (Assert when fd = 0) 14/279014/1
Eunki, Hong [Fri, 29 Jul 2022 09:46:07 +0000 (18:46 +0900)]
Fix coveriy issue (Assert when fd = 0)

Change-Id: I1a089fbf689796f8b13bd680be3558baa48e7a97
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Fix svace issue in GetFontId" into devel/master
Bowon Ryu [Mon, 25 Jul 2022 10:16:56 +0000 (10:16 +0000)]
Merge "Fix svace issue in GetFontId" into devel/master

2 years agoFix svace issue in GetFontId 07/278707/1
Bowon Ryu [Mon, 25 Jul 2022 07:52:26 +0000 (16:52 +0900)]
Fix svace issue in GetFontId

added condition to prevent integer overflow

Change-Id: I4aa3896f834d6b145236b0ad1bf61553b90e2ed9
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago(Vector) Fix typo 99/278699/1
Heeyong Song [Mon, 25 Jul 2022 07:05:59 +0000 (16:05 +0900)]
(Vector) Fix typo

Change-Id: I9039101ef024d5c018dff1400270fc62e5f6721c

2 years agoFix Coverity issue 82/278682/2
Heeyong Song [Mon, 25 Jul 2022 05:32:57 +0000 (14:32 +0900)]
Fix Coverity issue

Remove unused variable

Change-Id: I0e58d67f3fb13afe34d8fe3d44cdd51aa1b93114

2 years ago[Tizen] Remove to call key consumed event in ATSPI bridge accepted/tizen/unified/20220726.132143 accepted/tizen/unified/20220728.044831 submit/tizen/20220725.092221 submit/tizen/20220727.051150
Hosang Kim [Mon, 25 Jul 2022 05:36:55 +0000 (14:36 +0900)]
[Tizen] Remove to call key consumed event in ATSPI bridge

This reverts commit 1fd1ff6bf876d1aa1825f2d9af77f6e538b80dce.

2 years ago[Tizen] Do not call gl functions during shutdown
Hosang Kim [Mon, 25 Jul 2022 05:36:41 +0000 (14:36 +0900)]
[Tizen] Do not call gl functions during shutdown

This reverts commit 5e95678d8a6dce307ad30c94fa75e02b35079234.

2 years agoMerge branch 'devel/master' into tizen
Hosang Kim [Mon, 25 Jul 2022 05:36:24 +0000 (14:36 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Do not call gl functions during shutdown"
Hosang Kim [Mon, 25 Jul 2022 05:36:15 +0000 (14:36 +0900)]
Revert "[Tizen] Do not call gl functions during shutdown"

This reverts commit 1d9348dc0adc74dd66cfa78ab7500eef09f78756.

2 years agoRevert "[Tizen] Remove to call key consumed event in ATSPI bridge"
Hosang Kim [Mon, 25 Jul 2022 05:36:04 +0000 (14:36 +0900)]
Revert "[Tizen] Remove to call key consumed event in ATSPI bridge"

This reverts commit 8288af5dbbf3cdedea9c632b07e039c16efd3990.

2 years agoMerge "DALi Version 2.1.32" into devel/master
Adeel Kazmi [Fri, 22 Jul 2022 13:30:35 +0000 (13:30 +0000)]
Merge "DALi Version 2.1.32" into devel/master

2 years agoFix Texture upload offset + stride error 36/277736/10
Eunki, Hong [Tue, 12 Jul 2022 13:58:53 +0000 (22:58 +0900)]
Fix Texture upload offset + stride error

Previous code only consider that info.srcOffset is 0.
Fix some minor logical error.
+
Make the format convertor consider pixel stride.

Change-Id: I439f14f3350ff1360b853680ba73c93fac4a2def
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.1.32 11/278611/1 dali_2.1.32
Adam Bialogonski [Fri, 22 Jul 2022 09:27:20 +0000 (10:27 +0100)]
DALi Version 2.1.32

Change-Id: I4071e6515d28f3645bcbf6ac97ea7209042b7e24

2 years ago[Tizen] Remove to call key consumed event in ATSPI bridge 28/278528/1
Seoyeon Kim [Thu, 21 Jul 2022 11:54:08 +0000 (20:54 +0900)]
[Tizen] Remove to call key consumed event in ATSPI bridge

- Remove the code related to `methodObject.call()` temporarily.
 The patch should be reverted after the solution is applied.

Change-Id: I7165fed4015bdcfaa7d0caf61431f97a4cad9775
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago(Vector) Add AddPropertyValueCallback method 49/278249/4
Heeyong Song [Mon, 18 Jul 2022 06:10:59 +0000 (15:10 +0900)]
(Vector) Add AddPropertyValueCallback method

Change-Id: I1d57f6d144416dd60b80d5db0edc40f73d229514

2 years agoMake web engine context be a singleton. 03/277703/2
huayong.xu [Tue, 12 Jul 2022 07:57:27 +0000 (15:57 +0800)]
Make web engine context be a singleton.

Change-Id: I5654c772860afd474c564f90795b1dfa3bbc9ac4

2 years ago[Tizen] Do not call gl functions during shutdown accepted/tizen/unified/20220720.064152 submit/tizen/20220719.063122
Woochanlee [Tue, 19 Jul 2022 04:14:12 +0000 (13:14 +0900)]
[Tizen] Do not call gl functions during shutdown

This reverts commit 67a0555a808f1ccd23e3a87a492203b3d4059ca4.

2 years agoMerge branch 'devel/master' into tizen
Woochanlee [Tue, 19 Jul 2022 04:13:36 +0000 (13:13 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Do not call gl functions during shutdown"
Woochanlee [Tue, 19 Jul 2022 04:13:31 +0000 (13:13 +0900)]
Revert "[Tizen] Do not call gl functions during shutdown"

This reverts commit 983a2b662548e97e9f5df9de499974e21ea414f6.

2 years agoMerge "Add mutex to NativeImageSourceImpl" into devel/master
Heeyong Song [Tue, 19 Jul 2022 02:08:35 +0000 (02:08 +0000)]
Merge "Add mutex to NativeImageSourceImpl" into devel/master

2 years agoMerge "Add some logs to check performance" into devel/master
Heeyong Song [Tue, 19 Jul 2022 02:08:22 +0000 (02:08 +0000)]
Merge "Add some logs to check performance" into devel/master

2 years agoFix: VS15 hides non-Emoji Negative Squared Latin Capital Letter 21/277821/6
ssabah [Wed, 13 Jul 2022 12:01:44 +0000 (15:01 +0300)]
Fix: VS15 hides non-Emoji Negative Squared Latin Capital Letter

The non-emoji letters form Negative-Squared-Latin-Capital-Letter become invisible
when use VS16 or Emoji Color Font.

Examples:
   "1F170 ~ 1F174 with variation selector, text vs emoji: &#x1f170;&#xfe0f;&#x1f171;&#xfe0f;&#x1f172;&#xfe0e;&#x1f173;&#xfe0e;&#x1f174;&#xfe0e;\n"
   "1F170 ~ 1F174 with VS15: &#x1f170;&#xfe0e;&#x1f171;&#xfe0e;&#x1f172;&#xfe0e;&#x1f173;&#xfe0e;&#x1f174;&#xfe0e;\n"
   "1F170 ~ 1F174 with VS16: &#x1f170;&#xfe0f;&#x1f171;&#xfe0f;&#x1f172;&#xfe0f;&#x1f173;&#xfe0f;&#x1f174;&#xfe0f;\n";

In Negative-Squared-Latin-Capital-Letter from enclosed-alphanumeric-supplement,
The Letters A,B,O,P are Emoji Variation Sequences.
https://unicode-table.com/en/blocks/enclosed-alphanumeric-supplement/

This patch should be preceded by the patch below:
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-adaptor/+/277666

Change-Id: Ie61ef6744ebfee1b58a07ab302d9151ce765677d

2 years agoStop using hb_buffer_set_invisible_glyph when Shape 66/277666/5
ssabah [Tue, 12 Jul 2022 01:27:14 +0000 (04:27 +0300)]
Stop using hb_buffer_set_invisible_glyph when Shape

Fix: Emoji character with VS15 at the end of line produces noise

hb_buffer_set_invisible_glyph has been used to solve the invisible unicodes like U+FE0F and U+FE0E.
They should be replaced by zero width glyph.
i.e: This text "&#x262a;&#xfe0f;&#xfe0f;&#xfe0f;&#x262a;&#xfe0f;" should be rendered as two adjacent glyphs.

But, using this function with ZWS produce a noise (un-wanted glyph) when compine "Negative Squared Latin Capital Letter" with U+FE0E at the end of line.
i.e: Like this text "&#x1f170;&#xfe0e;"

Using hb_buffer_set_invisible_glyph has been stopped because the original issue was resolved by other modifications.
Maybe the optimization code has resolved the original issue.

Sample code:

std::string textAtoE = "&#x1f170;&#xfe0e;";

TextLabel textLabel01 = TextLabel::New(textAtoE);
textLabel01.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_LEFT);
textLabel01.SetProperty(Dali::Actor::Property::POSITION, Vector2(10, 40));
textLabel01.SetProperty(Dali::Toolkit::TextLabel::Property::ENABLE_MARKUP, true);
textLabel01.SetProperty(Dali::Toolkit::TextLabel::Property::MULTI_LINE, true);
textLabel01.SetProperty(Dali::Toolkit::TextLabel::Property::ELLIPSIS, false);

Also try, to make sure there is not extra spaces
std::string textAtoE    = "&#x1f170;&#xfe0f;&#xfe0f;&#xfe0f;&#x1f170;&#xfe0e;";

Change-Id: I6750ff0f3f80f329e5ca3c3d921903809a97748e

2 years agoMerge "[AT-SPI] De-duplicate serialization code for Accessible" into devel/master
Lukasz Oleksak [Mon, 18 Jul 2022 11:36:31 +0000 (11:36 +0000)]
Merge "[AT-SPI] De-duplicate serialization code for Accessible" into devel/master

2 years agoMerge "Change dali-scene-loader to dali-scene3d" into devel/master
Seungho BAEK [Mon, 18 Jul 2022 11:09:11 +0000 (11:09 +0000)]
Merge "Change dali-scene-loader to dali-scene3d" into devel/master

2 years agoAdd some logs to check performance 54/278254/2
Heeyong Song [Mon, 18 Jul 2022 06:24:04 +0000 (15:24 +0900)]
Add some logs to check performance

Change-Id: Icc2e5847a3309438dccd216c9cc7b23c5b7edc1b

2 years agoMerge "[AT-SPI] Reorder signature definitions in accessibility-common.h" into devel...
Seoyeon Kim [Mon, 18 Jul 2022 06:59:45 +0000 (06:59 +0000)]
Merge "[AT-SPI] Reorder signature definitions in accessibility-common.h" into devel/master

2 years agoChange dali-scene-loader to dali-scene3d 53/277853/2
seungho [Thu, 14 Jul 2022 06:10:38 +0000 (15:10 +0900)]
Change dali-scene-loader to dali-scene3d

Change-Id: I061dc2af25dca3a817addedf888bcec2cc4451cf
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoDALi Version 2.1.31 69/277969/1 dali_2.1.31
Richard Huang [Fri, 15 Jul 2022 12:16:37 +0000 (13:16 +0100)]
DALi Version 2.1.31

Change-Id: Ic6aebf46ac631514810982aa0e84405944e81b28

2 years ago[AT-SPI] De-duplicate serialization code for Accessible 81/277881/2
Artur Świgoń [Thu, 14 Jul 2022 12:11:46 +0000 (14:11 +0200)]
[AT-SPI] De-duplicate serialization code for Accessible

(De)serializing an Accessible is almost entirely equivalent to
(de)serializing an Address, so most code can be reused. This patch also
fixes a crash that would occur in libdbus when Accessible* was non-null,
but its address was empty (could be the case for ProxyAccessible),
yielding an invalid object path that would trigger an assertion.

Change-Id: I595c42d5257edc2052d18927f5e08650efef8417

2 years ago[AT-SPI] Reorder signature definitions in accessibility-common.h 89/277889/1
Artur Świgoń [Thu, 14 Jul 2022 12:07:19 +0000 (14:07 +0200)]
[AT-SPI] Reorder signature definitions in accessibility-common.h

The next patch will refactor the signature implementation for
Accessible* so that it reuses the code from the one for Address.

Change-Id: I46d3a64b8554124fc2f691c30fb9f66359a8994d

2 years ago(Web Engine) Moved Devel Headers into sub-folder to improve SAM score 16/277816/1
Adeel Kazmi [Wed, 13 Jul 2022 17:14:28 +0000 (18:14 +0100)]
(Web Engine) Moved Devel Headers into sub-folder to improve SAM score

Change-Id: I3650e7e060585904fe4b65aefb59b3e18bf755f2

2 years ago(Canvas Renderer) Moved Devel Headers into sub-folder to improve SAM score 10/277810/1
Adeel Kazmi [Wed, 13 Jul 2022 16:05:18 +0000 (17:05 +0100)]
(Canvas Renderer) Moved Devel Headers into sub-folder to improve SAM score

Change-Id: I28eb19ff8f75f5a7249bc9504e8e48bf7822e8ea

2 years agoReduce LOC of gles-graphics-types.h 04/277804/1
Adeel Kazmi [Wed, 13 Jul 2022 13:28:59 +0000 (14:28 +0100)]
Reduce LOC of gles-graphics-types.h

Change-Id: Iee659210e43723d5716d2871e5a0ce9e284d0502

2 years ago(AT-SPI) Created sub-folders for some of the Bridge code (for SAM score) 98/277798/2
Adeel Kazmi [Wed, 13 Jul 2022 11:32:23 +0000 (12:32 +0100)]
(AT-SPI) Created sub-folders for some of the Bridge code (for SAM score)

Change-Id: Ib492379432f068a41825d4dbd8a717385fee9198

2 years agoRemove custom comparision on UTC 76/277576/5
Eunki, Hong [Fri, 8 Jul 2022 09:59:35 +0000 (18:59 +0900)]
Remove custom comparision on UTC

sync with dali-core

Change-Id: I048090d14b20a003137ddce496d24c3533c46c9b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoFix compile error under gcc 9.2 76/277776/1
Eunki, Hong [Wed, 13 Jul 2022 07:03:51 +0000 (16:03 +0900)]
Fix compile error under gcc 9.2

Change-Id: I2b977e1c12036930f84c73728200268c2fe25386
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "fix the bug when window is resized by display server" into devel/master
Wonsik Jung [Wed, 13 Jul 2022 01:17:44 +0000 (01:17 +0000)]
Merge "fix the bug when window is resized by display server" into devel/master

2 years agoSeperate font client plugin file. 50/276250/15
Eunki, Hong [Mon, 13 Jun 2022 11:26:00 +0000 (20:26 +0900)]
Seperate font client plugin file.

Seperate the logical implementation of font client plugin.
Now we make one big container s.t. control only for
plugin cache system.

Change-Id: I784f32cc61c949e0361f0fc605a0bd826f2945a6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge changes I92018a57,I672b2605,I428abd47,I4e563c8b,I0873751f into devel/master
Artur Świgoń [Tue, 12 Jul 2022 08:03:45 +0000 (08:03 +0000)]
Merge changes I92018a57,I672b2605,I428abd47,I4e563c8b,I0873751f into devel/master

* changes:
  [AT-SPI] Allow return proxy parent of ApplicationAccessible
  [AT-SPI] Fixing reseting of delay for CoalescableMessages
  [AT-SPI] Rename FilteredEvents to CoalescableMessages
  [AT-SPI] Add Socket::SetOffset() and related APIs
  [AT-SPI] Suppress some events in Widget windows

2 years agoMerge changes I6dddcf2d,Idaec55df,I98400cd8,Id7eaae3c,I1141749d into devel/master
Artur Świgoń [Tue, 12 Jul 2022 07:53:50 +0000 (07:53 +0000)]
Merge changes I6dddcf2d,Idaec55df,I98400cd8,Id7eaae3c,I1141749d into devel/master

* changes:
  [AT-SPI] SetPreferredBusName in WidgetImplTizen
  [AT-SPI] Add Bridge::SetPreferredBusName()
  [AT-SPI] Make ApplicationAccessible::GetStates() result non-empty
  [AT-SPI] Implement Component in ApplicationAccessible
  [AT-SPI] Implement Socket in ApplicationAccessible

2 years agoAdd mutex to NativeImageSourceImpl 92/277692/1
Heeyong Song [Tue, 12 Jul 2022 07:07:19 +0000 (16:07 +0900)]
Add mutex to NativeImageSourceImpl

Change-Id: I86c6c5906832f314622d79071c40741553034130

2 years agoMerge "Support various yuv formats in jpeg decoder" into devel/master
Heeyong Song [Tue, 12 Jul 2022 06:56:43 +0000 (06:56 +0000)]
Merge "Support various yuv formats in jpeg decoder" into devel/master

2 years agofix the bug when window is resized by display server 87/277687/1
Wonsik Jung [Tue, 12 Jul 2022 06:56:34 +0000 (15:56 +0900)]
fix the bug when window is resized by display server

This patch is to fix the bug when window is resized by display server.
If window is resized, the internal window's size should be updated.
The internal window size is used to calcurate the touch coordiantes.

Change-Id: I9bf06615be9436c2854d9e16eb1721114ba28529

2 years agoMerge "Fixing SVACE error" into devel/master
Adeel Kazmi [Mon, 11 Jul 2022 09:55:04 +0000 (09:55 +0000)]
Merge "Fixing SVACE error" into devel/master

2 years agoSupport various yuv formats in jpeg decoder 90/277590/3
Heeyong Song [Mon, 11 Jul 2022 00:50:30 +0000 (09:50 +0900)]
Support various yuv formats in jpeg decoder

Change-Id: Ibe013f17fd41e8f501ebcf679593773b074d3948

2 years ago[Tizen] Do not call gl functions during shutdown accepted/tizen/unified/20220712.133049 submit/tizen/20220712.024533
Wonsik Jung [Mon, 11 Jul 2022 06:11:48 +0000 (15:11 +0900)]
[Tizen] Do not call gl functions during shutdown

This reverts commit a2c89b4c9e49955532c9075697926cf738f2242a.

Change-Id: I30df5293297cbe7c9829dd19efdfb1f25e6e52cb

2 years agoMerge branch 'devel/master' into tizen
Wonsik Jung [Mon, 11 Jul 2022 06:11:29 +0000 (15:11 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I4d716267820d69eba344a02ca1ac77323e738454

2 years agoRevert "[Tizen] Do not call gl functions during shutdown"
Wonsik Jung [Mon, 11 Jul 2022 06:11:07 +0000 (15:11 +0900)]
Revert "[Tizen] Do not call gl functions during shutdown"

This reverts commit 7358c31e63298cb931f99a8856d1c6ef2c7c7a18.

Change-Id: I7a45ff9f9a3fca41125bd6fc1125d77d04428d8a

2 years ago(SVG) Add mutex to make thread safe 92/277592/1
Heeyong Song [Mon, 11 Jul 2022 01:57:31 +0000 (10:57 +0900)]
(SVG) Add mutex to make thread safe

Change-Id: I194d4d45810c3d5bcdb0e7c881630914ee7204a5

2 years agoMerge "(Vector) Add InvalidateBuffer method" into devel/master
Heeyong Song [Mon, 11 Jul 2022 00:51:05 +0000 (00:51 +0000)]
Merge "(Vector) Add InvalidateBuffer method" into devel/master

2 years agoFixing SVACE error 74/277574/1
David Steele [Fri, 8 Jul 2022 09:40:50 +0000 (10:40 +0100)]
Fixing SVACE error

Change-Id: Idd73fdbc59aa0b4fdfccd6e16af5dd7adb3d3584

2 years agoDALi Version 2.1.30 48/277548/1 dali_2.1.30
Adeel Kazmi [Fri, 8 Jul 2022 05:47:55 +0000 (06:47 +0100)]
DALi Version 2.1.30

Change-Id: I357e6c9183e9b3a983c278f8d7b76cfdb6c5276a

2 years ago(Vector) Add InvalidateBuffer method 79/276979/4
Heeyong Song [Wed, 29 Jun 2022 00:45:39 +0000 (09:45 +0900)]
(Vector) Add InvalidateBuffer method

And remove unused method

Change-Id: I3dd4d3799479e414f7b87b1c4d4e0fa6eb7627d4

2 years ago[AT-SPI] Allow return proxy parent of ApplicationAccessible 03/277203/4
Lukasz Oleksak [Fri, 1 Jul 2022 17:19:28 +0000 (19:19 +0200)]
[AT-SPI] Allow return proxy parent of ApplicationAccessible

Change-Id: I92018a577f4f312d5aec76ae70bf78261e2dc1a0

2 years ago[AT-SPI] Fixing reseting of delay for CoalescableMessages 34/276734/9
Lukasz Oleksak [Thu, 23 Jun 2022 14:38:38 +0000 (16:38 +0200)]
[AT-SPI] Fixing reseting of delay for CoalescableMessages

Change-Id: I672b26051c84b69d5a56bcb2e4a8dd5782213578

2 years ago[AT-SPI] Rename FilteredEvents to CoalescableMessages 81/276381/8
Artur Świgoń [Tue, 21 Jun 2022 08:24:41 +0000 (10:24 +0200)]
[AT-SPI] Rename FilteredEvents to CoalescableMessages

With the addition of accumulating (coalescing) SetOffset messages (which
are D-Bus messages, not D-Bus events/signals), the name FilteredEvents
becomes misleading.

Change-Id: I428abd47a3a3621c843d9d3d6e5c24c57d31c302

2 years ago[AT-SPI] Add Socket::SetOffset() and related APIs 87/275887/9
Artur Świgoń [Fri, 3 Jun 2022 15:19:39 +0000 (17:19 +0200)]
[AT-SPI] Add Socket::SetOffset() and related APIs

These APIs allow to set an offset that is added to every GetExtents()
result. The parent process calls Bridge::SetSocketOffset() which makes a
D-Bus call resulting in Bridge::SetExtentsOffset() being called in the
child process (widget). The widget needs this information to report its
screen coordinates correctly to AT-SPI clients, and for navigation to
work.

BridgeComponent::GetExtents adds the value of mExtentsOffset to
Component::GetExtents when reporting back to AT clients. So, in the
reverse operation of GetNavigableAtPoint, the value of mExtentsOffset
has to be subtracted.

Change-Id: I4e563c8be1267101c355e27f6e2782f62655347f

2 years ago[AT-SPI] SetPreferredBusName in WidgetImplTizen 18/261418/24
Artur Świgoń [Fri, 20 May 2022 11:58:49 +0000 (13:58 +0200)]
[AT-SPI] SetPreferredBusName in WidgetImplTizen

Reserving a well-known bus name allows the widget to be discovered and
embedded by the parent application without any prior information
exchange (which would be impossible before establishing a connection
anyway).

Change-Id: I6dddcf2dda4651f3592a73bb293418512286e311

2 years ago[AT-SPI] Suppress some events in Widget windows 86/277486/2
Artur Świgoń [Thu, 7 Jul 2022 10:54:38 +0000 (12:54 +0200)]
[AT-SPI] Suppress some events in Widget windows

While the Widget is technically a window in DALi, it should not be seen
as a window by AT clients such as the Screen Reader, i.e. it should not
grab and narrow down the navigation context. Suppressing window events
and some state events (notably, State::SHOWING, however the API offers
an all-or-nothing granularity only) is necessary to achieve this goal.

Change-Id: I0873751f025bbdd321aa26444c070bf064c0ce3f

2 years ago[AT-SPI] Add Bridge::SetPreferredBusName() 23/275323/11
Artur Świgoń [Fri, 20 May 2022 09:07:51 +0000 (11:07 +0200)]
[AT-SPI] Add Bridge::SetPreferredBusName()

This API allows an application to register a string identifier as a bus
name alias on the AT-SPI bus (e.g. "org.tizen.AppName") that remains
constant across a series of activations and deactivations of AT-SPI, in
contrast to the numeric bus name, which changes every time (e.g.
":1.23", ":1.27", ":1.31" etc.).

Change-Id: Idaec55df4bcd73bc26befa5c03c3c1c9e3972781

2 years ago[AT-SPI] Make ApplicationAccessible::GetStates() result non-empty 87/277087/4
Artur Świgoń [Thu, 30 Jun 2022 11:35:01 +0000 (13:35 +0200)]
[AT-SPI] Make ApplicationAccessible::GetStates() result non-empty

This patch makes ApplicationAccessible::GetStates() return a bitwise OR
of its children's states instead of an empty set (bitmask).

Change-Id: I98400cd86e4a46fa108d18c8b8c54f340a6b9726

2 years ago[AT-SPI] Implement Component in ApplicationAccessible 56/275656/9
Artur Świgoń [Fri, 27 May 2022 18:34:17 +0000 (20:34 +0200)]
[AT-SPI] Implement Component in ApplicationAccessible

When ApplicationAccessible is embedded in another process (i.e. it is a
widget), then it needs to have the Component interface for its subtree
to be considered during navigation (e.g. moving the highlight frame
between the parent process and the embedded process).

Change-Id: Id7eaae3c76061ca16448f115d99206b142cc429b

2 years ago[AT-SPI] Implement Socket in ApplicationAccessible 06/263206/20
Artur Świgoń [Thu, 21 Apr 2022 15:12:57 +0000 (17:12 +0200)]
[AT-SPI] Implement Socket in ApplicationAccessible

The ApplicationAccessible needs to expose the Socket interface in order
to be embeddable in a remote process (the WidgetView).

Change-Id: I1141749d8cb64038157c46a3e295abdc09c2c299

2 years agoMerge "Direct Rendering" into devel/master
Adeel Kazmi [Thu, 7 Jul 2022 09:22:42 +0000 (09:22 +0000)]
Merge "Direct Rendering" into devel/master

2 years agoMerge "Add UI thread feature on Tizen" into devel/master
Daekwang Ryu [Thu, 7 Jul 2022 06:49:18 +0000 (06:49 +0000)]
Merge "Add UI thread feature on Tizen" into devel/master

2 years agoAdd UI thread feature on Tizen 09/274609/21
Daekwang Ryu [Wed, 6 Jul 2022 06:51:22 +0000 (15:51 +0900)]
Add UI thread feature on Tizen

The UiThread means that the application creates a thread for the UI events.
So the Dali::Adaptor is created on the UiThread, not the main thread.
When you enable UiThread,
the signals (Init, Terminate, Pause, Resume, Reset, AppControl, LanguageChanged, RegionChanged, LowBattery, LowMemory)
are emitted on the UiThread.
If you want to get the events on the main thread, you must connect the task signals(TaskInit, TaskTerminate, etc.).
When you don't enable the UiThread, the task signals aren't emitted.

Change-Id: I2cc57e85fa50f9b854531efa6048796aadbe6da9

2 years agoReorder NativeImageQueue's ColorFormat 22/277322/1
Eunki, Hong [Tue, 5 Jul 2022 06:08:57 +0000 (15:08 +0900)]
Reorder NativeImageQueue's ColorFormat

Due to the NUI use ColorFormat as int,
and BGR types are legacy works,
let we keep previous behavior (==BGR) number as 0,1,2.
And make new things as bigger than 2.

Change-Id: I8d18c08aa79166f047e7f2b3844df7ca2847c546
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDirect Rendering 34/276534/7
Adam Bialogonski [Fri, 17 Jun 2022 09:31:04 +0000 (10:31 +0100)]
Direct Rendering

- Added passing the shared context to the callback
- The context created by the draw call now can share the GL resources

Change-Id: I20933ec4fbc7812b6589124bcd452ee7a7e317a6

2 years ago[Tizen] Do not call gl functions during shutdown accepted/tizen/unified/20220705.211242 submit/tizen/20220704.072728 submit/tizen/20220705.020902
joogab.yun [Mon, 4 Jul 2022 05:10:26 +0000 (14:10 +0900)]
[Tizen] Do not call gl functions during shutdown

This reverts commit f004a32eef54b62b082d947237a9864672a12bcc.

Change-Id: I56b3d84e9916ca3de6ef6fe380fd859c2903347d

2 years agoMerge branch 'devel/master' into tizen
joogab.yun [Mon, 4 Jul 2022 05:10:11 +0000 (14:10 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: Ia0eeef1cb84097b34da46631af6ff71fc6cded58

2 years agoRevert "[Tizen] Do not call gl functions during shutdown"
joogab.yun [Mon, 4 Jul 2022 05:10:05 +0000 (14:10 +0900)]
Revert "[Tizen] Do not call gl functions during shutdown"

This reverts commit a7034ffeeb8208e3e2587eec44a3a1fa2ecc4cc6.

2 years agoMerge branch 'devel/master' of ssh://review.tizen.org:29418/platform/core/uifw/dali...
joogab.yun [Mon, 4 Jul 2022 04:59:25 +0000 (13:59 +0900)]
Merge branch 'devel/master' of ssh://review.tizen.org:29418/platform/core/uifw/dali-adaptor into devel/master

Change-Id: Ib72cf0219230a43c92d7990df9d72184fbe22e7d

2 years agoMerge "DALi Version 2.1.29" into devel/master
David Steele [Fri, 1 Jul 2022 11:12:16 +0000 (11:12 +0000)]
Merge "DALi Version 2.1.29" into devel/master

2 years agoDALi Version 2.1.29 90/277190/1 dali_2.1.29
David Steele [Fri, 1 Jul 2022 11:06:59 +0000 (12:06 +0100)]
DALi Version 2.1.29

Change-Id: Ic0461367c7033955746fe7923acc192eabb200d2

2 years agoFix name of glyph compression name 73/277173/2
Eunki, Hong [Fri, 1 Jul 2022 07:57:59 +0000 (16:57 +0900)]
Fix name of glyph compression name

Change-Id: I656a7f172e21badbe6390d94150ec7fb90fcf68a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Add InterceptKeyEvent" into devel/master
joogab yun [Fri, 1 Jul 2022 08:14:24 +0000 (08:14 +0000)]
Merge "Add InterceptKeyEvent" into devel/master

2 years agoMerge "Cache rendered glyph if required. + Copyless glyph creation" into devel/master
Heeyong Song [Fri, 1 Jul 2022 07:06:10 +0000 (07:06 +0000)]
Merge "Cache rendered glyph if required. + Copyless glyph creation" into devel/master

2 years agoAdd InterceptKeyEvent 68/276868/4
joogab.yun [Fri, 1 Jul 2022 06:18:46 +0000 (15:18 +0900)]
Add InterceptKeyEvent

dependency : https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/276883/

Change-Id: I57c8858d5f2492e7c18135624cb3e44f6149e3a7

2 years agoMerge "Fix a bug when using tbm_dummy_display_create" into devel/master
Daekwang Ryu [Fri, 1 Jul 2022 02:12:33 +0000 (02:12 +0000)]
Merge "Fix a bug when using tbm_dummy_display_create" into devel/master

2 years agoCache rendered glyph if required. + Copyless glyph creation 99/276599/26
Eunki, Hong [Tue, 21 Jun 2022 10:42:31 +0000 (19:42 +0900)]
Cache rendered glyph if required. + Copyless glyph creation

Call FT_Glyph_To_Bitmap might be overhead for some system.
But cache the rendered bitmap information could be another overhead.

So, we try to ask environment and store the bitmap result.

Follow as EFL system, we will store it as 8bit -> 4bit reduced
and RLE4 compression.

+

Now we can know the buffer's ownership for FontClient::GlyphBufferData.
We can use the buffer without copy if need.

Change-Id: I82a76961c84679c04750f0de904096130cb69df2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoAdd ColorFormat::BGR~~ on NativeImageSourceQueue 81/277081/3
Eunki, Hong [Thu, 30 Jun 2022 08:18:13 +0000 (17:18 +0900)]
Add ColorFormat::BGR~~ on NativeImageSourceQueue

Sync the enum name's order with pixel byte order.
TODO : After other codes (NUI, dali-extension-tv) fixed done,
We should make RGB~~ works well

Change-Id: Ie8409dbc6c7c5179173cd5547279defcbb6f645e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoFix a bug when using tbm_dummy_display_create 20/261920/4
Daekwang Ryu [Thu, 30 Jun 2022 06:12:43 +0000 (15:12 +0900)]
Fix a bug when using tbm_dummy_display_create

We have to init tbm_bugmgr.

Change-Id: If476e1122f8e9739723fa08a20ccd60a7ed346cf

2 years ago[Tizen] Do not call gl functions during shutdown accepted/tizen/unified/20220629.152927 submit/tizen/20220628.101822
Eunki, Hong [Tue, 28 Jun 2022 04:41:19 +0000 (13:41 +0900)]
[Tizen] Do not call gl functions during shutdown

This reverts commit fe28edc1c6cfb87764e411c0f65a1be8c7b39b75.

2 years agoMerge branch 'devel/master' into tizen
Eunki, Hong [Tue, 28 Jun 2022 04:41:02 +0000 (13:41 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: Ifb666e686ae74b610a0210d1461ed712b83a9140

2 years agoRevert "[Tizen] Do not call gl functions during shutdown"
Eunki, Hong [Tue, 28 Jun 2022 04:40:55 +0000 (13:40 +0900)]
Revert "[Tizen] Do not call gl functions during shutdown"

This reverts commit 6d2cc6a2804c35b79daa76608a0904ddfe1a31b7.

2 years agoMerge "Add function to set maximum/minimum size" into devel/master
Wonsik Jung [Mon, 27 Jun 2022 02:02:59 +0000 (02:02 +0000)]
Merge "Add function to set maximum/minimum size" into devel/master

2 years agoMerge "DALi Version 2.1.28" into devel/master
David Steele [Fri, 24 Jun 2022 13:25:51 +0000 (13:25 +0000)]
Merge "DALi Version 2.1.28" into devel/master

2 years agoDALi Version 2.1.28 89/276789/1 dali_2.1.28
Adeel Kazmi [Fri, 24 Jun 2022 13:08:38 +0000 (14:08 +0100)]
DALi Version 2.1.28

Change-Id: If3e3c9efb3707ab082bf93220383496baa6538b9

2 years agoAdd function to set maximum/minimum size 54/275754/13
Wonsik Jung [Tue, 31 May 2022 11:57:39 +0000 (20:57 +0900)]
Add function to set maximum/minimum size

It is to set the maximized size when window is maximized or the size is increased by RequestResizeToServer.
Although the limitation is set by this function, window's size can be over the limitation by SetPositionSize() or SetSize().
The Set minimum size is similar to set maximum size.
Also it is only useful for tizen world.

Change-Id: Ife4e7709cc7e082ae866a187a681c0e70a488ead

2 years ago(Network) Add a custom_command option 77/275477/11
Adeel Kazmi [Wed, 25 May 2022 19:43:00 +0000 (20:43 +0100)]
(Network) Add a custom_command option

Add -DENABLE_NETWORK_LOGGING=ON to cmake build to enable this and when
running, DALI_NETWORK_CONTROL=1 must also be set.

The default port is 3031, every new DALi app uses the next available port
after this.

Change-Id: Ia20a25f5ca3faa0d17f3fee0b3bb9e64d09af31c

2 years agoApply app-core-ui-cpp 05/275805/6
Daekwang Ryu [Wed, 22 Jun 2022 02:46:46 +0000 (11:46 +0900)]
Apply app-core-ui-cpp

This is a prerequisite to applying the Ui Thread app model.

Change-Id: I194b283f8503fdc9cb48abfa86ae1cdbb20e3284

2 years ago[Tizen] Do not call gl functions during shutdown accepted/tizen/unified/20220622.134127 submit/tizen/20220621.103041 submit/tizen/20220621.114826
tscholb [Tue, 21 Jun 2022 06:36:32 +0000 (15:36 +0900)]
[Tizen] Do not call gl functions during shutdown

This reverts commit ed2a1c4704813c0d96ff9d11552ac5644f14fbba.

Change-Id: I7d653c636b9bee7c5b0ad5c091c7d479e18cf1f4