platform/core/uifw/dali-adaptor.git
2 years agoMerge "Fix static analysis bug in GLES::Context" into devel/master
David Steele [Fri, 28 Oct 2022 10:37:41 +0000 (10:37 +0000)]
Merge "Fix static analysis bug in GLES::Context" into devel/master

2 years agoMerge "DALi Version 2.1.46" into devel/master
David Steele [Fri, 28 Oct 2022 10:27:28 +0000 (10:27 +0000)]
Merge "DALi Version 2.1.46" into devel/master

2 years agoDALi Version 2.1.46 48/283548/1 dali_2.1.46
Richard Huang [Fri, 28 Oct 2022 10:25:23 +0000 (11:25 +0100)]
DALi Version 2.1.46

Change-Id: Ic46bf8ae849004e0ee9e14e8d9f9a633eae087e2

2 years agoFix static analysis bug in GLES::Context 44/283544/1
David Steele [Fri, 28 Oct 2022 09:09:44 +0000 (10:09 +0100)]
Fix static analysis bug in GLES::Context

Change-Id: I1fcfedbde1531650bf0916e88be9f79f0836ee09

2 years agoMerge "Fix native rendering context" into devel/master
Heeyong Song [Fri, 28 Oct 2022 02:48:51 +0000 (02:48 +0000)]
Merge "Fix native rendering context" into devel/master

2 years agoMerge "Fix svace issues" into devel/master
Bowon Ryu [Fri, 28 Oct 2022 01:36:28 +0000 (01:36 +0000)]
Merge "Fix svace issues" into devel/master

2 years agoFix native rendering context 74/283374/2
Heeyong Song [Tue, 25 Oct 2022 09:14:24 +0000 (18:14 +0900)]
Fix native rendering context

Change-Id: I729f0f7d8edac23978f0816c8a10a7cafa6d4bc2

2 years agoMerge "Fix race-condition when window is resized or rotated." into devel/master
Wonsik Jung [Fri, 28 Oct 2022 01:00:13 +0000 (01:00 +0000)]
Merge "Fix race-condition when window is resized or rotated." into devel/master

2 years agoFix svace issues 66/283466/1
Bowon Ryu [Thu, 27 Oct 2022 09:34:22 +0000 (18:34 +0900)]
Fix svace issues

Added some castings.

Change-Id: I97589cdb15e2f70844111cef3b02e73e09547496
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoSynchronize framebuffer textures on different contexts 40/283240/6
David Steele [Thu, 20 Oct 2022 18:29:56 +0000 (19:29 +0100)]
Synchronize framebuffer textures on different contexts

If a framebuffer's texture is read on a different context to
the one it was written on, then it needs synchronizing first.

This patch introduces a glFenceSync at the end of every render pass,
and calls GlWaitSync just before the texture is bound for a draw call.

The fenceSync is removed after 2 frames, as it cannot be re-used.
Unused fences are deleted at the end of the frame they are created.

Change-Id: I8ca2e7583836132f879d939377ed46c0b8a56556

2 years agoFix race-condition when window is resized or rotated. 71/281871/17
Wonsik Jung [Thu, 22 Sep 2022 21:49:01 +0000 (06:49 +0900)]
Fix race-condition when window is resized or rotated.

Internal dali window module has some variables and flags.
They are set by both main thread and render thread.
It has the effect of race condition when window is resized or rotated serval times.
This patch is to fix them.

Change-Id: I785fca0ba1cfaa90f418f1fe79ac000dd67e48ec

2 years ago(Window) Moved DownCast from devel-api to public-api 87/283387/1
Adeel Kazmi [Tue, 25 Oct 2022 15:06:43 +0000 (16:06 +0100)]
(Window) Moved DownCast from devel-api to public-api

This should now allow window to be used in WeakHandle

Change-Id: Ib9fe53ee65ff0e5508a6f37bc68c9ccc626d8bc7

2 years agoFix EGL initialization issue 17/283317/1
Heeyong Song [Mon, 24 Oct 2022 06:12:19 +0000 (15:12 +0900)]
Fix EGL initialization issue

Sometimes EGL image extensions are initialized after NativeImageSource is created.

Change-Id: I424c451a336ca4b9b7e85fae0785c8bf4f20a553

2 years agoMerge "DALi Version 2.1.45" into devel/master
Adeel Kazmi [Fri, 21 Oct 2022 10:57:11 +0000 (10:57 +0000)]
Merge "DALi Version 2.1.45" into devel/master

2 years agoDALi Version 2.1.45 83/283283/1 dali_2.1.45
David Steele [Fri, 21 Oct 2022 10:47:22 +0000 (11:47 +0100)]
DALi Version 2.1.45

Change-Id: I0a238d6c94457f3dd43a6c1657a0a27d19d5971f

2 years agoFix the buffer overflow issue when reading socket data 37/283237/2
Richard [Thu, 20 Oct 2022 15:43:28 +0000 (16:43 +0100)]
Fix the buffer overflow issue when reading socket data

Change-Id: I026d7ec67f16451d6bf43ca5062d59cbe2ea5150

2 years agoAdd trace logs to check performance 26/283126/2
Heeyong Song [Tue, 18 Oct 2022 10:09:30 +0000 (19:09 +0900)]
Add trace logs to check performance

Change-Id: I72023f9d7d1d4c70c760df40162162fe48258807

2 years agoMinor coverity issue fixes 12/282612/7
Eunki, Hong [Thu, 6 Oct 2022 11:10:50 +0000 (20:10 +0900)]
Minor coverity issue fixes

Fix some minor coverity issues that might has meanful

1. Implement missing move operation.
2. Remove float equal checks by ==, != operator.
3. unsigned int / unsigned char to uint32_t / uint8_t
4. Change missed value type (a.k.a float v = true;)

Change-Id: Ib6eb901919918488f2ff7085301e73a466b98019
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "DALi Version 2.1.44" into devel/master
David Steele [Fri, 14 Oct 2022 12:03:10 +0000 (12:03 +0000)]
Merge "DALi Version 2.1.44" into devel/master

2 years agoDALi Version 2.1.44 97/282997/1 dali_2.1.44
Adam Bialogonski [Fri, 14 Oct 2022 09:25:33 +0000 (10:25 +0100)]
DALi Version 2.1.44

Change-Id: I8c038406992ae513bb7b483196b7c33f4223d134

2 years agoModify window position data type 78/281978/14
Wonsik Jung [Sun, 25 Sep 2022 21:35:11 +0000 (06:35 +0900)]
Modify window position data type

Current WindowPosition has the unsigned int data type.
It means that current data type can not support the negative coordinate.
This patch is to support it.

Change-Id: I2e025d1adef71853dc07b45bb03102f8ba8614c2

2 years agoDALi Version 2.1.43 56/282656/1 dali_2.1.43
Adeel Kazmi [Fri, 7 Oct 2022 11:23:21 +0000 (12:23 +0100)]
DALi Version 2.1.43

Change-Id: I194404d19a392eb24ea2cac3b3279e93e4e48865

2 years agoDo not exit when making a cache directory fails 75/282575/1
Heeyong Song [Thu, 6 Oct 2022 06:14:10 +0000 (15:14 +0900)]
Do not exit when making a cache directory fails

We don't need to exit in the case. DALi can work even though it fails.

Change-Id: I25a428b2c43e71aa2a132a89b57479e405ace9b0

2 years agoFix a gif crash 74/282574/1
Heeyong Song [Thu, 6 Oct 2022 06:10:59 +0000 (15:10 +0900)]
Fix a gif crash

A crash ocurred when we load a gif file which exists but is not a gif

Change-Id: I5f3b2484b0cf8cd825e48922d2d3ba5a2af8b025

2 years agoMerge "DALi Version 2.1.42" into devel/master
David Steele [Fri, 30 Sep 2022 10:34:20 +0000 (10:34 +0000)]
Merge "DALi Version 2.1.42" into devel/master

2 years agoDALi Version 2.1.42 79/282379/1 dali_2.1.42
Richard Huang [Fri, 30 Sep 2022 10:28:24 +0000 (11:28 +0100)]
DALi Version 2.1.42

Change-Id: I336cf62825fb6c692aa5e4429c39d1ee8e90f2b6

2 years agoSet CURLOPT_NOSIGNAL as 1L default 75/282275/1
Eunki, Hong [Thu, 29 Sep 2022 09:08:31 +0000 (18:08 +0900)]
Set CURLOPT_NOSIGNAL as 1L default

To guard multi-thread case more safely,
disconnect some non-thread safely signal for curl lib.

Change-Id: I091795df822df532ffb675d146ce6eeb25f85c77
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "DALi Version 2.1.41" into devel/master
David Steele [Fri, 23 Sep 2022 11:03:59 +0000 (11:03 +0000)]
Merge "DALi Version 2.1.41" into devel/master

2 years agoDALi Version 2.1.41 55/281955/1 dali_2.1.41
David Steele [Fri, 23 Sep 2022 10:56:30 +0000 (11:56 +0100)]
DALi Version 2.1.41

Change-Id: Ice0cca57919c6fc56377f7e134369a8e03a575fc

2 years ago[AT-SPI] Remove useless third-party include 36/281936/1
Eunki, Hong [Fri, 23 Sep 2022 08:41:25 +0000 (17:41 +0900)]
[AT-SPI] Remove useless third-party include

Change-Id: I050ba4ad7e1e3e57aa5a5add2cefe6ef8678d230
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Move a final flush to Shutdown" into devel/master
Heeyong Song [Thu, 22 Sep 2022 01:09:23 +0000 (01:09 +0000)]
Merge "Move a final flush to Shutdown" into devel/master

2 years agoMove a final flush to Shutdown 49/281449/1
Heeyong Song [Mon, 19 Sep 2022 06:27:56 +0000 (15:27 +0900)]
Move a final flush to Shutdown

It makes the finalization is called from the update thread.

Change-Id: Iae1f3c26594f0ef7d38e1eaeffaf1eac753f54e4

2 years ago(Capture) Don't scene-off camera when we use inputed camera 49/280749/7
Eunki, Hong [Fri, 2 Sep 2022 14:06:17 +0000 (23:06 +0900)]
(Capture) Don't scene-off camera when we use inputed camera

If we create capture with our own camera, App can add/remove this
camera actor.

But current capture API automatically dettach the camera.

If we use DALi's default camera, than this default camera dettached
from the window, and the rendering broken.

This patch protect some kind of this scenario.
We will dettach the camera from window only if we use
capture-impl generated camera, and don't dettach if we use
inputed camera.

Change-Id: I902fbe3a4d933165de87cff7d420438e66c2fdd2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "DALi Version 2.1.40" into devel/master
Adeel Kazmi [Fri, 16 Sep 2022 11:23:16 +0000 (11:23 +0000)]
Merge "DALi Version 2.1.40" into devel/master

2 years agoDALi Version 2.1.40 03/281403/1 dali_2.1.40
Adeel Kazmi [Fri, 16 Sep 2022 11:04:55 +0000 (12:04 +0100)]
DALi Version 2.1.40

Change-Id: I4b07a0ffcf1421d0753e5828551fad53c0db879c

2 years ago(Partial Update) partiall update after window rotation works well. 22/281022/5
Eunki, Hong [Thu, 8 Sep 2022 02:23:26 +0000 (11:23 +0900)]
(Partial Update) partiall update after window rotation works well.

Currently, mDamagedRects should be "rotated" rects,
and others (clippingRect, mDamagedBufferRects) are not be rotated.

But current clippingRect merged by rotated rects.

This patch make clippingRect calculate well.

And also, if clippingRect become empty, mDamagedRects should be cleared.

Change-Id: Ia8f35d32411e4ab3786f3a10c97d818a967a0afc
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.1.39 85/281085/1 dali_2.1.39
Adam Bialogonski [Fri, 9 Sep 2022 09:05:36 +0000 (10:05 +0100)]
DALi Version 2.1.39

Change-Id: I6e8c9170beb30e828b871031453c547b0bd523e1

2 years agoUpdate doxygen of RegisterRequestInterceptedCallback. 65/280865/1
huayong.xu [Tue, 6 Sep 2022 05:48:33 +0000 (13:48 +0800)]
Update doxygen of RegisterRequestInterceptedCallback.

Change-Id: I7dcceeef8f2b6964206b5a1c34e500cd6281f78e

2 years agoMake framebuffer DEPTH_STENCIL works well + StencilTexture higher priority. 25/280625/4
Eunki, Hong [Thu, 1 Sep 2022 09:30:14 +0000 (18:30 +0900)]
Make framebuffer DEPTH_STENCIL works well + StencilTexture higher priority.

Framebuffer cannot attach both Depth and Stencil
at indivisual Renderbuffer.

So, If FrameBuffer::Attachment::Mask::DEPTH_STENCIL used, result is broken.

This patch make if framebuffer try to use both Depth and Stencil,
let Framebuffer use GL_DEPTH_STENCIL_ATTACHMENT.

---

Make stencilTexture has higher proirity than depthTexture in gles case.

Current dali API only have AttachDepthTexture and
AttachDepthStencilTexture.
And, AttachDepthStencilTexture input texture stored in createInfor's
stencilTexture level.

Current device didn't support to seperate each depth/stencil result in gles.
So we need to assume that stencilTexture is depth_stencil texture.

Change-Id: I2a6f46b66c1ef64a6f54e6cc4fc934f0ad276406
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.1.38 30/280730/1 dali_2.1.38
Richard Huang [Fri, 2 Sep 2022 12:00:20 +0000 (13:00 +0100)]
DALi Version 2.1.38

Change-Id: Ic9b5dfea17f05b40db5eca0477e895a4754103f9

2 years agoRemove unnecessary Ecore Virtual Keyboard dependency from Ubuntu X11 profile 52/280652/3
Adeel Kazmi [Thu, 1 Sep 2022 13:44:46 +0000 (14:44 +0100)]
Remove unnecessary Ecore Virtual Keyboard dependency from Ubuntu X11 profile

Change-Id: I43962c1767cd274fdfcfdc55566a362f85433e4d

2 years agoMerge "Do not call SetBufferDamagedRects if the damaged rect is empty" into devel...
Heeyong Song [Wed, 31 Aug 2022 00:58:39 +0000 (00:58 +0000)]
Merge "Do not call SetBufferDamagedRects if the damaged rect is empty" into devel/master

2 years agoMerge "Wait gles initialize when we try to get MaxTextureSize" into devel/master
Eunki Hong [Tue, 30 Aug 2022 03:55:04 +0000 (03:55 +0000)]
Merge "Wait gles initialize when we try to get MaxTextureSize" into devel/master

2 years agoDo not call SetBufferDamagedRects if the damaged rect is empty 78/280378/1
Heeyong Song [Mon, 29 Aug 2022 07:53:28 +0000 (16:53 +0900)]
Do not call SetBufferDamagedRects if the damaged rect is empty

An empty damaged rect means we will not render the scene and not swap buffers.
A call to eglSetDamageRegion without out eglSwapBuffers may cause EGL_BAD_ACCESS error.

Change-Id: I949498c39d9a558b42b7e2edbbe1162f432e87b8

2 years agoMerge "Fix build error on windows platform" into devel/master
dongsug song [Mon, 29 Aug 2022 06:58:22 +0000 (06:58 +0000)]
Merge "Fix build error on windows platform" into devel/master

2 years agoWait gles initialize when we try to get MaxTextureSize 24/280324/1
Eunki, Hong [Fri, 26 Aug 2022 12:40:58 +0000 (21:40 +0900)]
Wait gles initialize when we try to get MaxTextureSize

All other API in configureation-manager wait until
GLES initialized.
Let GetMaxTextureSize() API also follow this role

Change-Id: Ieea15bdb5d807d344a9c1f6c153b2e29b69e7279
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.1.37 08/280308/1 dali_2.1.37
David Steele [Fri, 26 Aug 2022 11:15:21 +0000 (12:15 +0100)]
DALi Version 2.1.37

Change-Id: I88f4f3dd8e90fdb6d28505d975920354e2472d73

2 years agoMerge "GLIB implementation" into devel/master
David Steele [Thu, 25 Aug 2022 16:16:22 +0000 (16:16 +0000)]
Merge "GLIB implementation" into devel/master

2 years agoGLIB implementation 37/280037/3
David Steele [Mon, 22 Aug 2022 17:39:03 +0000 (18:39 +0100)]
GLIB implementation

Got timers working
FD polling works (and doesn't need X11 to use POLLOUT)
Idle functions working

Change-Id: I8cfa5302eb6e3fa4a8818a4fa645a9d2d6daf4a1
Signed-off-by: David Steele <david.steele@samsung.com>
2 years agoRemove build warning 23/280123/1
Eunki, Hong [Wed, 24 Aug 2022 07:05:16 +0000 (16:05 +0900)]
Remove build warning

Change-Id: Iced02cea8d81b1e193e3b15c90a52087391a06f3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoFix build error on windows platform 90/280090/1
Xianbing Teng [Tue, 23 Aug 2022 12:08:31 +0000 (20:08 +0800)]
Fix build error on windows platform

Change-Id: I3c0ae43672488ec2c5461624181082bf071cb778

2 years ago(Partial Update) Change damaged rect calcutation 03/280003/1
Heeyong Song [Mon, 22 Aug 2022 06:43:25 +0000 (15:43 +0900)]
(Partial Update) Change damaged rect calcutation

Store the merged rect instead of the list of damaged rects

Change-Id: I6811d2df8b00d5337192a365a5473515f4959988

2 years agoDALi Version 2.1.36 51/279951/1 dali_2.1.36
Adam Bialogonski [Fri, 19 Aug 2022 10:07:55 +0000 (11:07 +0100)]
DALi Version 2.1.36

Change-Id: I16616b5e4a4231fa6de30e4a8367c025b3d7e8e2

2 years agoFix SVACE issue 00/279800/1
Heeyong Song [Thu, 18 Aug 2022 04:55:48 +0000 (13:55 +0900)]
Fix SVACE issue

Change-Id: I93f2ebce03df9d7e6e36dbb06806e0faa32265e4

2 years agoMerge "Don't build unnecessary third-party codes" into devel/master
Eunki Hong [Thu, 18 Aug 2022 03:03:27 +0000 (03:03 +0000)]
Merge "Don't build unnecessary third-party codes" into devel/master

2 years ago[AT-SPI][Text] Remove libunibreak dependency on accessible 06/279706/2
Eunki, Hong [Tue, 16 Aug 2022 12:02:31 +0000 (21:02 +0900)]
[AT-SPI][Text] Remove libunibreak dependency on accessible

libunibreak in AT-SPI only used some special case.
I think we don't make it as Accessible's own API.

Change-Id: Id7661320ba6d8a23ae61775642b275ef1e3a2666
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "[AT-SPI] Do not store the window in mDefaultLabels" into devel/master
Artur Świgoń [Wed, 17 Aug 2022 08:25:08 +0000 (08:25 +0000)]
Merge "[AT-SPI] Do not store the window in mDefaultLabels" into devel/master

2 years agoDon't build unnecessary third-party codes 31/279731/1
Eunki, Hong [Wed, 17 Aug 2022 04:51:55 +0000 (13:51 +0900)]
Don't build unnecessary third-party codes

If we use ThorVG, we don't need to build nanovg codes.
This patch remove some unnecessary static library build dependency.

Change-Id: Iaaa2ca6b90c9d18848e4ec92619b0f0a3eef0a4a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.1.35 39/279639/1 dali_2.1.35
Adeel Kazmi [Fri, 12 Aug 2022 11:23:01 +0000 (12:23 +0100)]
DALi Version 2.1.35

Change-Id: Ib7f36cce3cb5ed15ad5550b10f75778d1ac88300

2 years agoMerge "Add an API for getting web view when request is intercepted." into devel/master
dongsug song [Thu, 11 Aug 2022 09:07:57 +0000 (09:07 +0000)]
Merge "Add an API for getting web view when request is intercepted." into devel/master

2 years ago[AT-SPI] Do not store the window in mDefaultLabels 39/278839/3
Artur Świgoń [Tue, 26 Jul 2022 15:45:56 +0000 (17:45 +0200)]
[AT-SPI] Do not store the window in mDefaultLabels

The default label stack was often incorrect when Screen Reader was
turned on dynamically, due to how window registration was handled. There
is no need to store the window on the default label stack explicitly at
all, because the navigation context root is also the target of the
incoming D-Bus call. The broadest possible context is the window, which
is the case if the navigation context stack is empty.

Change-Id: I61d4f279c1c0f82c75516359db73cd941f5d0b53

2 years agoMerge "Add Window Moved event" into devel/master
Wonsik Jung [Wed, 10 Aug 2022 06:02:56 +0000 (06:02 +0000)]
Merge "Add Window Moved event" into devel/master

2 years agoFix svace issue : initialize AppHandlers as nullptr 62/279462/1
Eunki, Hong [Wed, 10 Aug 2022 03:51:41 +0000 (12:51 +0900)]
Fix svace issue : initialize AppHandlers as nullptr

Change-Id: I029bd4baeb005e9b07e8afba8c1388499cef5845
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Create LibUV / X11 profile" into devel/master
Adeel Kazmi [Tue, 9 Aug 2022 15:13:20 +0000 (15:13 +0000)]
Merge "Create LibUV / X11 profile" into devel/master

2 years agoCreate LibUV / X11 profile 38/279338/5
David Steele [Thu, 16 Jun 2022 11:46:40 +0000 (12:46 +0100)]
Create LibUV / X11 profile

Added a profile called libuv_x11

2 separate subsystems: libuv (adaptor/system) X11 (imaging/graphics/window-system)

X11 system is heavily influenced by ecore_x, and is independant from
the libuv system.

Removed all ecore/efl dependencies in this profile.

TODO: change to use glib instead of libuv

This does not handle clipboard or selection.

Change-Id: I1de87b8068f25564d35f3c1f8d163fd4681f5818

2 years agoAdd Window Moved event 62/278562/9
Wonsik Jung [Fri, 22 Jul 2022 04:16:12 +0000 (13:16 +0900)]
Add Window Moved event

If window is moved by server, sever will notify that to the client.
This event is for that.

Change-Id: I30149ca315517ac8efed394f1fee4c1dfa1b2e62

2 years agoDALi Version 2.1.34 25/279325/1 dali_2.1.34
David Steele [Fri, 5 Aug 2022 11:51:04 +0000 (12:51 +0100)]
DALi Version 2.1.34

Change-Id: Ib5bdb077aa3d3490c026397e4bf3e7e98c336497

2 years agoFix crash issue when mArgc / mArgv is null at Tizen 09/279209/1
Eunki, Hong [Wed, 3 Aug 2022 10:58:34 +0000 (19:58 +0900)]
Fix crash issue when mArgc / mArgv is null at Tizen

Only for tizen case, we should use at least one argments.
But if application created by dotnet launcher, It could be nullptr.

Other platform (like ubuntu / windows / etc..) don't need to add
dummy Arguments. So here, we try to attach some dummy arguments
only for tizen platform case.

Change-Id: Ib02a181e8579966ae2e9600bb27eecd040032c1d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
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 agoAdd an API for getting web view when request is intercepted. 97/278797/1
huayong.xu [Tue, 26 Jul 2022 07:30:20 +0000 (15:30 +0800)]
Add an API for getting web view when request is intercepted.

Change-Id: I03aad2d08cc6df178056006392a05876a7841c13

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 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(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 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>