platform/upstream/efl.git
3 months agoevas_gl_image: improved safety 03/314703/2 accepted/tizen/unified/20240725.155002 accepted/tizen/unified/dev/20240729.000908 accepted/tizen/unified/x/20240726.013219
Patryk Kaczmarek [Wed, 17 Jul 2024 14:43:27 +0000 (16:43 +0200)]
evas_gl_image: improved safety

Change-Id: I3b0e81b6d66036f1e500765fada4d8e81a3e3cb4

3 months agoelementary: Supports window always top function. 31/314731/5 accepted/tizen/unified/20240722.104241 accepted/tizen/unified/dev/20240724.110137 accepted/tizen/unified/x/20240723.043614
jykeon [Thu, 18 Jul 2024 07:04:19 +0000 (16:04 +0900)]
elementary: Supports window always top function.

Change-Id: I1023e4670b76408622b5588e11a31f66fd669f39
Signed-off-by: jykeon <jykeon@samsung.com>
4 months agoelm_win: remove deferred resize job first before calling rotation change callback 21/312821/2 accepted/tizen/unified/20240705.163304 accepted/tizen/unified/dev/20240708.053952 accepted/tizen/unified/x/20240708.014845
Patryk Kaczmarek [Fri, 14 Jun 2024 09:11:30 +0000 (11:11 +0200)]
elm_win: remove deferred resize job first before calling rotation change callback

  there should not be resize when rotation angle is not set yet with new
width and height

Change-Id: Ib96b83a297352f946a03575bf54ca81b8f8fe0f2

4 months agoecore_wl2: move keygrab list result init 06/314006/1 accepted/tizen/unified/20240704.173829 accepted/tizen/unified/dev/20240708.001641 accepted/tizen/unified/x/20240705.012418
Jihoon Kim [Thu, 4 Jul 2024 02:52:46 +0000 (11:52 +0900)]
ecore_wl2: move keygrab list result init

Change-Id: If35fc600a33d0345f10caa0cf697d9ad518e299e
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
4 months agoecore_wl2: wait for receiving result of keygrab_list_set/unset 15/313615/1
Jihoon Kim [Fri, 28 Jun 2024 07:50:58 +0000 (16:50 +0900)]
ecore_wl2: wait for receiving result of keygrab_list_set/unset

Change-Id: I39710c3d487acc25635956aab509196d674e47b5
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
4 months agoecore_wl2_window: add code to check tizen_policy and surface 11/313511/1 accepted/tizen/unified/20240701.191814 accepted/tizen/unified/dev/20240702.054052 accepted/tizen/unified/x/20240702.031220
Doyoun Kang [Thu, 27 Jun 2024 08:20:20 +0000 (17:20 +0900)]
ecore_wl2_window: add code to check tizen_policy and surface

@tizen_only

Change-Id: I0db2545cfdd250e1df661e1f4f0e1a77510c3a83

4 months agoecore_wl2_input: add input ttrace logs 85/312785/2 accepted/tizen/unified/20240626.155320 accepted/tizen/unified/dev/20240701.073048 accepted/tizen/unified/x/20240627.011909
jeon [Fri, 14 Jun 2024 06:54:05 +0000 (15:54 +0900)]
ecore_wl2_input: add input ttrace logs

Change-Id: I3b8ef96cab8eaf8ca82d9da76970f0cc123a050f

5 months agoecore_evas: fix null selection set 37/312537/1 accepted/tizen/unified/20240612.100000 accepted/tizen/unified/dev/20240620.010648 accepted/tizen/unified/toolchain/20240624.121558 accepted/tizen/unified/x/20240612.110433 accepted/tizen/unified/x/asan/20240625.092706
Bowon Ryu [Tue, 11 Jun 2024 10:06:42 +0000 (19:06 +0900)]
ecore_evas: fix null selection set

I think that the selection claim should fail when there is no available type.
But.. a null selection set is called from elm_object_cnp_selection_clear.
For compatibility, if a null selection set is invoked,
the selection data will be cleared and true will be returned.

Change-Id: I89d40578c051cf01847ca7b9994c90554b2939d5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
5 months agoecore_input: support ECORE_EVENT_MOUSE_FRAME event 40/312440/2
Doyoun Kang [Wed, 5 Jun 2024 05:14:21 +0000 (14:14 +0900)]
ecore_input: support ECORE_EVENT_MOUSE_FRAME event

We add a new event and structure as below.
- Event: ECORE_EVENT_MOUSE_FRAME
- Struncture: Ecore_Event_Mouse_Frame

This event is generaged when the ecore_wl2 receives the wl_touch.frame or wl_pointer.frame event.
Through this event, clients can group and process the touch or mouse events.

For example,
toolkit which uses Ecore library can accumulate all ECORE_EVENT_MOUSE_DOWN/MOVE/UP events as
they're received, then process pending inputs when the ECORE_EVENT_MOUSE_FRAME event is received.

@tizen_only

Change-Id: Ia4c7446a1f3a03a688e518b3a88afa84cc5696bd

5 months agoImplement multi-type copy and paste 88/311488/10
Bowon Ryu [Wed, 22 May 2024 01:26:07 +0000 (10:26 +0900)]
Implement multi-type copy and paste

Change-Id: I33081c5fa2b80eb9fc46b2c22b8a46086199e806
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
5 months agoFixed the build error for gcc-14 55/312255/1 accepted/tizen/unified/20240611.122927 accepted/tizen/unified/toolchain/20240610.172505 accepted/tizen/unified/x/20240610.223103
wchang kim [Wed, 5 Jun 2024 09:26:34 +0000 (18:26 +0900)]
Fixed the build error for gcc-14

Change-Id: I45f75e3dd1c1b9eb8cc6c76eab2fb2bdc5b8475b

5 months agoevas: do not limit image stride size 66/310966/4 accepted/tizen/unified/20240605.153150
Patryk Kaczmarek [Fri, 10 May 2024 08:48:39 +0000 (10:48 +0200)]
evas: do not limit image stride size

Change-Id: I77390930a8db2483ba25a108a5f63f2475b58e83

5 months agoecore_imf: Add API to set alignment of the input panel 58/310458/4 video_shell_devel accepted/tizen/unified/20240603.032252 accepted/tizen/unified/x/20240604.013015
Inhong Han [Mon, 29 Apr 2024 07:49:20 +0000 (16:49 +0900)]
ecore_imf: Add API to set alignment of the input panel

Change-Id: Id6eef10d12b94d73cef78d13f6180efbd0ed66a9

5 months agoefl_ui_win: resize window properly after rotation 63/311163/3
Patryk Kaczmarek [Wed, 15 May 2024 13:21:57 +0000 (15:21 +0200)]
efl_ui_win: resize window properly after rotation

Change-Id: I411827b68c4650ec55a219703677bcbd37c56de5

6 months agoevas gesture: improved safety 38/310738/2
Patryk Kaczmarek [Tue, 7 May 2024 11:03:46 +0000 (13:03 +0200)]
evas gesture: improved safety

Change-Id: Id6da7de8979ee224f3c2976f5662815a8eea5cab

6 months agoecore_wl2_input: check return value of wl_display_dispatch() 71/310771/1 accepted/tizen/unified/20240509.011213 accepted/tizen/unified/toolchain/20240513.061336 accepted/tizen/unified/x/20240510.061436
Jihoon Kim [Wed, 8 May 2024 04:27:02 +0000 (13:27 +0900)]
ecore_wl2_input: check return value of wl_display_dispatch()

Change-Id: I41e22e4f5a84d7ee2cec9db507f2c805cfdb7630
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 months agoecore_wl2: initialize x,y position to 0 00/310700/1
duna.oh [Tue, 7 May 2024 04:37:41 +0000 (13:37 +0900)]
ecore_wl2: initialize x,y position to 0

The testcase 'tc_ecore_evas_pointer_xy_get_p' failed because
'ecore_wl2_input_pointer_xy_get' retrieved values of -1 and -1,
which are not valid coordinate.

Change-Id: Ib0496da29881c39bb7541fc4d96a517b2a09a339

6 months agoecore_wl2: send mouse move event when client resized 22/310522/1
duna.oh [Tue, 30 Apr 2024 07:47:21 +0000 (16:47 +0900)]
ecore_wl2: send mouse move event when client resized

When the window size changes, the client needs to update the pointer
position information.
Ex)
before resizing, window geom: x:0, y:560, w:500, h:520
after resizing,  window geom: x:0, y:504, w:500, h:576
we need to add 56 (= 560 - 504) to the y position of pointer.

This patch fixes the bug in the following scenario.

1. window is resized
2. user clicks the mouse button without moving the mouse.
3. wrong button is clicked because wl_pointer.button does not contain
the position information.

@tizen_only

Change-Id: I078a490dea125722dbeec6eb66f0e306ac16b121

6 months agoelm_gengrid: added item check before highlight 78/310178/1
Michal Szczecinski [Mon, 4 Mar 2024 07:06:06 +0000 (08:06 +0100)]
elm_gengrid: added item check before highlight

Change-Id: I3fb96169e2e6cb591c7b95105539d74f96631740

6 months agoentry: fix html type paste issue 26/309626/2 accepted/tizen/unified/20240430.020609 accepted/tizen/unified/toolchain/20240507.011931 accepted/tizen/unified/x/20240430.094834
Bowon Ryu [Sat, 13 Apr 2024 16:53:03 +0000 (01:53 +0900)]
entry: fix html type paste issue

When pasting html type into an entry,
all tags are removed and only plain text is displayed in the entry.

Change-Id: I5b1c18a0718b61e1c2aa544c561ca667df7ba05e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
7 months agoFix wrong context initialization logic 76/309376/2
Changgyu Choi [Tue, 9 Apr 2024 07:52:03 +0000 (16:52 +0900)]
Fix wrong context initialization logic

When tcore_ready() returns false, ecore should initialize ctx.

Change-Id: I83891c5bd390872a222fba5d6157555c0be46abf
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
7 months agoecore_wl2: modify code to set the saved size in ecore_wl2_window_commit 89/309289/1 accepted/tizen/unified/20240409.135602 accepted/tizen/unified/20240409.155905 accepted/tizen/unified/x/20240411.011821
Doyoun Kang [Sat, 6 Apr 2024 01:43:47 +0000 (10:43 +0900)]
ecore_wl2: modify code to set the saved size in ecore_wl2_window_commit

We modified code to set the saved size only when the fullscreen and maximize states
of the def_config and set_config are both false.

@tizen_only

Change-Id: Id37dd65b00772f829fb7a2391800f11cace3ab55

7 months agoModified Specific profile API comments. 25/309025/2 accepted/tizen/unified/20240408.160603 accepted/tizen/unified/x/20240409.070704
jykeon [Thu, 4 Apr 2024 02:10:04 +0000 (11:10 +0900)]
Modified Specific profile API comments.

Change-Id: I54f48d75063e58e8cc465027a1963c132e345eff
Signed-off-by: jykeon <jykeon@samsung.com>
7 months agoevas: disable bytecode interpreter 16/307816/2
Bowon Ryu [Wed, 13 Mar 2024 09:33:48 +0000 (18:33 +0900)]
evas: disable bytecode interpreter

Change-Id: I09fb8c10fdeacc7c41e9d087407cf5f658978bbb
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
7 months agoecore_wl2: support the modal feature 99/308999/3
Doyoun Kang [Mon, 1 Apr 2024 10:31:36 +0000 (19:31 +0900)]
ecore_wl2: support the modal feature

Change-Id: I00f11f25ac29c95f6d7fd89d6168eb00c195bb76

7 months agoModified Specific profile API comments. 55/308955/2
jykeon [Wed, 3 Apr 2024 06:15:20 +0000 (15:15 +0900)]
Modified Specific profile API comments.

Change-Id: I906e86c81460c4691cb9e22349a16c6ba37dfac9
Signed-off-by: jykeon <jykeon@samsung.com>
7 months agoModified Specific profile API comments. 43/308943/1
jykeon [Wed, 3 Apr 2024 05:11:27 +0000 (14:11 +0900)]
Modified Specific profile API comments.

Change-Id: Iee5034029dc61036f02eb108d51714e823f13087
Signed-off-by: jykeon <jykeon@samsung.com>
7 months agotizen-core: Modify ecore_main_loop_begin implementation 74/306174/23 accepted/tizen/unified/20240401.165609 accepted/tizen/unified/x/20240402.012054
Hwankyu Jhun [Fri, 16 Feb 2024 11:14:15 +0000 (20:14 +0900)]
tizen-core: Modify ecore_main_loop_begin implementation

The ecore_main_loop_begin() uses the tizen_core_task_run() to run the main loop.

Change-Id: I7a418ed80511d35a72169a3a49ac6be32ad6c01f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 months agotizen-core: Modify ecore-wl2 implementation 83/307383/10
Hwankyu Jhun [Fri, 8 Mar 2024 00:24:36 +0000 (09:24 +0900)]
tizen-core: Modify ecore-wl2 implementation

Change-Id: Idc4f418196847b6d702a69b448b2bc6e4b92bf39
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 months agotizen-core: Modify fd handler implementation 94/305894/34
Hwankyu Jhun [Tue, 13 Feb 2024 02:30:34 +0000 (11:30 +0900)]
tizen-core: Modify fd handler implementation

The ecore_main_fd_handler implementation are changed using the tizen core.

Change-Id: I927b0010f38ac169c0295a82e798d3433f948cb7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 months agotizen-core: Apply tizen-core to ecore timer 29/306029/23
jusung son [Thu, 15 Feb 2024 08:27:20 +0000 (17:27 +0900)]
tizen-core: Apply tizen-core to ecore timer

Change-Id: Ib2d5a127f16cb7abfed941bdc7f869bf941b367a
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 months agotizen-core: Apply tizen-core to ecore idler 36/303736/49
Changgyu Choi [Tue, 16 Jan 2024 05:35:01 +0000 (14:35 +0900)]
tizen-core: Apply tizen-core to ecore idler

Change-Id: I6bc79967c6f8d18dce0c5a930f90cd2c912d09c7
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
7 months agotizen-core: Modify ecore events implementation 19/304219/21
Hwankyu Jhun [Fri, 12 Jan 2024 06:39:53 +0000 (15:39 +0900)]
tizen-core: Modify ecore events implementation

If the tcore is ready, the ecore events uses tizen core library instead of
ecore events.

Change-Id: Ia338bec28225030a4c06b3730b6989627f8495ef
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 months agotizen-core: Use tizen core 89/304189/20
Hwankyu Jhun [Thu, 11 Jan 2024 23:55:47 +0000 (08:55 +0900)]
tizen-core: Use tizen core

From Tizen 9.0, Tizen Core is supported.
Tizen Core is a ne main loop model that privdes improved functionality
over the existing GMainLoop. It allows for creation of multiple loops
in diffrent threads, enabling safe communication between them.

Change-Id: Idd39edd042652478775ff624e87383b1c1c590e6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 months agoedje_message_queue: Fixed possible crash in message processing 57/308557/1 accepted/tizen/unified/20240329.131752 accepted/tizen/unified/x/20240401.142608
Michal Szczecinski [Wed, 27 Mar 2024 10:28:47 +0000 (11:28 +0100)]
edje_message_queue: Fixed possible crash in message processing

Change-Id: I42de784514f7e9338801957c951627329015d015

7 months agoecore_wl2_display.c: Fix types of variable 99/308399/2 accepted/tizen/unified/20240327.064205
Hwankyu Jhun [Mon, 25 Mar 2024 01:18:18 +0000 (10:18 +0900)]
ecore_wl2_display.c: Fix types of variable

This patch is for fixing the 'TAINTED_INT_LOOP' problem.

Change-Id: Ibd67ee23737103dc8b294104f5bd13e7b157d377
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 months agoecore_wl2_display: Fix waiting for window server is ready 67/308167/1 accepted/tizen/unified/20240320.110708 accepted/tizen/unified/20240320.151920 accepted/tizen/unified/x/20240326.073632
Hwankyu Jhun [Tue, 19 Mar 2024 03:00:11 +0000 (12:00 +0900)]
ecore_wl2_display: Fix waiting for window server is ready

To prevent a race condition, the ecore-wl2 checks whether the file
exists or not using access() after calling inotify_add_watch().
The implementation related to inotify event is moved to the
_ecore_wl2_display_wait() function.

Change-Id: Ie51e6af644d01b962878df1e5d1d35f9539c16a3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 months agoevas: remove unnecessary rect drawing and buffer creation 99/307799/1
Hosang Kim [Wed, 13 Mar 2024 06:57:40 +0000 (15:57 +0900)]
evas: remove unnecessary rect drawing and buffer creation

Change-Id: I72d2394404270ac81f097a45bb641c492c77dcca

8 months agoevas: enable reusing filter buffer. 98/307798/1
Hosang Kim [Wed, 13 Mar 2024 06:56:15 +0000 (15:56 +0900)]
evas: enable reusing filter buffer.

Change-Id: Idb6378d4488d5472f5b39e84969d8f63d3fdb886

8 months agoecore_evas: fix dnd motion coordinates after rotation 75/307175/4 accepted/tizen/unified/20240311.170335 accepted/tizen/unified/x/20240313.092104
Patryk Kaczmarek [Tue, 5 Mar 2024 16:49:35 +0000 (17:49 +0100)]
ecore_evas: fix dnd motion coordinates after rotation

Change-Id: Ie6308635ab80f4d5114d84c4571838645113574f

8 months agovg_common_svg: check pointer dereference. 45/307045/2 accepted/tizen/unified/20240306.011952 accepted/tizen/unified/toolchain/20240311.065943 accepted/tizen/unified/x/20240307.010829
Michal Szczecinski [Mon, 4 Mar 2024 07:06:06 +0000 (08:06 +0100)]
vg_common_svg: check pointer dereference.

Change-Id: Iee49ae4bbc605926ad4bc068ce88a4406bb83d98

8 months agoecore_wl2_window: modify code to check pending.user_resize before sending configure... 13/307013/2
Doyoun Kang [Mon, 4 Mar 2024 02:01:46 +0000 (11:01 +0900)]
ecore_wl2_window: modify code to check pending.user_resize before sending configure event

Change-Id: I4acfe25b75cec3585b60c39a3e9000e49bfbffa2

8 months agoelc_popup: Prevent registering notifications as default labels 50/306350/5 accepted/tizen/unified/20240304.123050 accepted/tizen/unified/x/20240305.021727
Maria Bialota [Tue, 20 Feb 2024 13:36:38 +0000 (14:36 +0100)]
elc_popup: Prevent registering notifications as default labels

Change-Id: I5521bd8c62edf48d3ceb0ca87dbd3b485b2c0802

8 months agoevas_render: fix direct render bug when direct render is applied 30/306330/2
Hosang Kim [Tue, 20 Feb 2024 07:36:53 +0000 (16:36 +0900)]
evas_render: fix direct render bug when direct render is applied
repeatedly.

If a direct render is set up multiple times on an smart object,
only the top layer will be rendered directly.
To fix this issue, only the bottom layer will be rendered directly and other layers will be rendered normally.

Change-Id: I8dfaa415dcac3333cdeb3fd04a97de9c39cbf956
(cherry picked from commit f00e79d5f85e7611b040d7a89dfccb3a66a41a3e)

8 months agoRevert "Add dependency "uuid"" 12/306712/1 accepted/tizen/unified/20240227.120125 accepted/tizen/unified/x/20240228.011953
ANZ1217 [Mon, 26 Feb 2024 12:45:49 +0000 (21:45 +0900)]
Revert "Add dependency "uuid""

This reverts commit 97ba10cb6081f6de7701baffd1774c526e019528.

Change-Id: Ibd94954b9f726bd362e57c9644b8800ae92a867d

8 months agoAdd dependency "uuid" 78/306678/1
ANZ1217 [Mon, 26 Feb 2024 06:08:57 +0000 (15:08 +0900)]
Add dependency "uuid"

since efl has dependency in fontconfig and was using uuid library in fontconfig. now fontconfig is updated and doesn't use uuid library anymore.

Change-Id: I936fe1c88c180d009d26013c4b43c3ab7ae4e907

8 months agoecore_wl2: wait for receiving result of keygrab_set/unset 65/306465/2
Jihoon Kim [Thu, 22 Feb 2024 01:24:17 +0000 (10:24 +0900)]
ecore_wl2: wait for receiving result of keygrab_set/unset

Change-Id: I6b5e5f4d4d7913ca76abf3765fdc073d6b99d3ac
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
8 months agoevas_image_load_webp: load 9-patch files with non-black borders 33/306033/1 accepted/tizen/unified/20240216.054933 accepted/tizen/unified/x/20240219.013914
Patryk Kaczmarek [Thu, 15 Feb 2024 08:37:16 +0000 (09:37 +0100)]
evas_image_load_webp: load 9-patch files with non-black borders

Change-Id: Ie32743505e788e1bc6352531b8797fb96969c4e1

8 months agoRevert "genlist: unset FOCUSABLE, HIGHLIGHTABLE for DISPLAY_ONLY item" 75/305975/1
Seoyeon Kim [Wed, 14 Feb 2024 04:45:18 +0000 (13:45 +0900)]
Revert "genlist: unset FOCUSABLE, HIGHLIGHTABLE for DISPLAY_ONLY item"

This reverts commit 59ac085b9a81b8fe254259625fc189402ec978b2.

- When some list items previously not highlightable became highlightable.
 In such situation, particular list items would have to be made not highlightable
 by usage of api elm_atspi_accessible_can_highlight_set().

Change-Id: I8c5b1c9273e91e36f7f55ba519e3d7ae878c25a7
(cherry picked from commit 5e2800228bda9fbd9b6e9d3dc2aec8a7a58a44d9)

9 months agoelm_atspi_bridge: Prevent infinite loop in calculating navigable objects 36/305836/1
Maria Bialota [Thu, 8 Feb 2024 10:46:37 +0000 (11:46 +0100)]
elm_atspi_bridge: Prevent infinite loop in calculating navigable objects

Change-Id: I82b2e78d6875b56082b09004219f4a242b4e9e1d

9 months agoecore_device: add new device subclasses 59/305759/1 accepted/tizen/unified/20240208.163956 accepted/tizen/unified/x/20240214.051944
duna.oh [Wed, 7 Feb 2024 09:04:11 +0000 (18:04 +0900)]
ecore_device: add new device subclasses

- ECORE_DEVICE_SUBCLASS_VIRTUAL_REMOCON
- ECORE_DEVICE_SUBCLASS_VIRTUAL_MOUSE

Change-Id: I2d36073a1132eeb36046fa1600166d4a963c55ed

9 months agoFix negative x bearing issue 94/304094/6 accepted/tizen/unified/20240124.163221 accepted/tizen/unified/x/20240205.064044
Bowon Ryu [Wed, 10 Jan 2024 04:22:09 +0000 (13:22 +0900)]
Fix negative x bearing issue

This patch calculates the x offset of the line when the x bearing is negative
and applies it in the line position and size
to avoids unintentional truncation of glyphs based on the glyph properties.

Change-Id: Iafa7a18822de4bc6e952c2182b0c692907064ab0
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
10 months agoevas_device: fix evas pointer data to prevent dangling. 98/303798/2 accepted/tizen_unified_riscv accepted/tizen/unified/20240109.155400 accepted/tizen/unified/riscv/20240110.014516
Hosang Kim [Fri, 5 Jan 2024 04:50:00 +0000 (13:50 +0900)]
evas_device: fix evas pointer data to prevent dangling.

Evas_Pointer_Data is created when device is added.
Multiple Evas_Object can own Evas_Pointer_Data, so I added ref count to
manage pointer.
I fix default ref count to 1. so even if Evas_Object is deleted, ref
count does not become 0.

Change-Id: I8743eab91024c68339a79a4299761fd1a06be2ce

10 months agoecore_wl2: add null check for pointer when requesting lock_pointer 73/303473/1 accepted/tizen/unified/20240101.155343 accepted/tizen/unified/riscv/20240103.054635
duna.oh [Thu, 28 Dec 2023 06:54:44 +0000 (15:54 +0900)]
ecore_wl2: add null check for pointer when requesting lock_pointer

Change-Id: I3bd4816e5fef18777debe44dd581210bde6b72f0

10 months agoevas_main: do not remove ref for pointer in use 37/302937/1 accepted/tizen/unified/20231219.160408 accepted/tizen/unified/riscv/20231226.211707
Patryk Kaczmarek [Fri, 15 Dec 2023 22:31:25 +0000 (23:31 +0100)]
evas_main: do not remove ref for pointer in use

Change-Id: Id1d908b190f6e2c9ab8d000d4d16a6e57403eef8

11 months agoecore_wl2_window: add code to handle pending min/max size 77/302777/1 accepted/tizen/unified/20231214.164940
Doyoun Kang [Wed, 13 Dec 2023 09:33:51 +0000 (18:33 +0900)]
ecore_wl2_window: add code to handle pending min/max size

There was a bug that the minimum or maximum size didn't work when the user calls
ecore_wl2_window_minimum_size_set() before calling ecore_wl2_window_show().

So, we add a pending min/max size to resolve this issue.
If the xdg_toplevel or zxdg_toplevel is not created, then we save the min/max size.
And then, after creating zxdg_toplevel, we apply the pended min/max size to the window.

Change-Id: I2c9404db18f13afabd7c51e6d15935bd230e27a9

11 months agoelm_config: fix abort on eina magic fail 93/302693/1 accepted/tizen/unified/20231213.162118
Hosang Kim [Tue, 12 Dec 2023 06:17:45 +0000 (15:17 +0900)]
elm_config: fix abort on eina magic fail

Sometimes application calls elm_init/elm_shutdown twice.
_elm_gl_preference is not freed when elm_shutdown is called.
But eina is shutdowned, so eina magic is invalid.

Change-Id: I2f6b294256547b3112b3b793a913f1e28d0e83e6

11 months agoecore_wl2: change code not to destroy zxdg resource in ecore_wl2_window_hide 50/302250/1 accepted/tizen/unified/20231206.151827 accepted/tizen/unified/riscv/20231211.234143
Doyoun Kang [Tue, 5 Dec 2023 00:25:17 +0000 (09:25 +0900)]
ecore_wl2: change code not to destroy zxdg resource in ecore_wl2_window_hide

We changed code that the zxdg resource is not destroyed even if ecore_wl2_window_hide() is called.
The zxdg resource will be destroyed in _ecore_wl2_window_semi_free.

Change-Id: I61152fba98cd8784f264ed55a1f4635ba922caf3

11 months agoefl: remove unnecessary packed files. 61/302161/1 accepted/tizen/unified/20231205.024712
jykeon [Fri, 1 Dec 2023 03:28:59 +0000 (12:28 +0900)]
efl: remove unnecessary packed files.

This patch will remove unexpected install files such as

/usr/lib/debug/.build-id
usr/lib/debug/.build-id/0a
usr/lib/debug/.build-id/0b
..........

Change-Id: Id3654a97c68b67bb70728b3df27c3dea20f48a26
Signed-off-by: jykeon <jykeon@samsung.com>
(cherry picked from commit c653ed43e2f546475d3a8f54a84fb6342a99fe84)

11 months agoEvas: improved saftey _evas_ponter_data_ref. 79/301879/1 accepted/tizen/unified/20231130.180930
jykeon [Mon, 27 Nov 2023 02:06:08 +0000 (11:06 +0900)]
Evas: improved saftey _evas_ponter_data_ref.

Change-Id: I00e385feff8b9d0532c486b47148df5c4415be36
Signed-off-by: jykeon <jykeon@samsung.com>
11 months agoecore_wl2_dnd: Fix the comparison target of data source 46/301746/1 accepted/tizen/unified/20231123.124511
Junseok Kim [Wed, 22 Nov 2023 09:19:16 +0000 (18:19 +0900)]
ecore_wl2_dnd: Fix the comparison target of data source

There was a bug that Drag and drop failed after copy and paste.
It caused mismatch of serial on data ready callback,
and the serial failure dute to miscompare between source and serial.

For fix this issue, fix the comparison target of the data source.

Change-Id: I74577cfbb2d6c287114814b275c3e0955b92e794

11 months agoevas_main: add ref count for removing Evas Pointer Data 22/301722/3
Hosang Kim [Wed, 22 Nov 2023 05:48:01 +0000 (14:48 +0900)]
evas_main: add ref count for removing Evas Pointer Data

Change-Id: If7b4165e44a2adb6c04e95707a260e15648caabd

11 months agoevas_object_main: remove unnecessary condition and improve safety 21/301721/1
Hosang Kim [Wed, 22 Nov 2023 05:17:28 +0000 (14:17 +0900)]
evas_object_main: remove unnecessary condition and improve safety

Change-Id: I89bc5d1f74c27d2d98d3b1c9bb1247ff860473ba

11 months agoRevert "evas_device: remove pointer data when device is removed." 20/301720/1
Hosang Kim [Tue, 21 Nov 2023 06:44:41 +0000 (15:44 +0900)]
Revert "evas_device: remove pointer data when device is removed."

This reverts commit 63bb3f587f5cf705a3674b5a86955a01f731e448.

Change-Id: I7a396210fd76d50d4e14bb5941195805dff9d99e

11 months agoecore_wl2_input: apply cursor change from config if cursor.theme_name is NULL 84/301484/1 accepted/tizen/unified/20231120.023122
duna.oh [Thu, 16 Nov 2023 06:30:43 +0000 (15:30 +0900)]
ecore_wl2_input: apply cursor change from config if cursor.theme_name is NULL

Change-Id: I471c0bd8ebe1ab734d79ecaf542c7f2ff2082e0c

11 months agoecore_wl2_input: do not apply cursor change from config if client unsets cursor 83/301483/1
duna.oh [Thu, 16 Nov 2023 06:25:19 +0000 (15:25 +0900)]
ecore_wl2_input: do not apply cursor change from config if client unsets cursor

Change-Id: I2e0d46ed7d25d6b61f57f7427db5107184a0b2d2

11 months agoecore_wl2: fix unnecessary error log print. 63/301463/1
Hosang Kim [Thu, 16 Nov 2023 07:56:56 +0000 (16:56 +0900)]
ecore_wl2: fix unnecessary error log print.

Change-Id: I7fe8fdd97fe636f6b54165139e01f457fadddb96

12 months agoecore_wl2_window: check maximize/fullscreen state before setting saved geometry 54/301154/1 accepted/tizen/unified/20231114.041259 accepted/tizen/unified/riscv/20231116.045333
Doyoun Kang [Thu, 9 Nov 2023 23:00:20 +0000 (08:00 +0900)]
ecore_wl2_window: check maximize/fullscreen state before setting saved geometry

If the window is already maximized(or fullscreen), then we don't need to update the saved
geometry because it was set when the window was fullscreen(or maximized).

Change-Id: Ic918ae9baf5dffa57707cb3f5eb7b29c928b17ae

12 months agoevas: improved safety of evas_object_pointer_grab_del 03/301103/2 accepted/tizen/unified/20231110.172141
Patryk Kaczmarek [Wed, 8 Nov 2023 12:21:34 +0000 (13:21 +0100)]
evas: improved safety of evas_object_pointer_grab_del

Change-Id: Id587008fd2418b31749100d6ca65061530b45c53

12 months agoecore_evas_tbm/wayland: use a cloned eina_list when calling evas_device_del() 77/301077/1 accepted/tizen/unified/20231109.053307
duna.oh [Wed, 8 Nov 2023 04:46:32 +0000 (13:46 +0900)]
ecore_evas_tbm/wayland: use a cloned eina_list when calling evas_device_del()

Please refer to following two commits

commit 7e239a7e4ba0a2a5937df846aac13bbb5253bf34
Author: duna.oh <duna.oh@samsung.com>
Date:   Mon Feb 20 11:49:37 2023 +0900

    ecore_wl2_input: use a cloned eina_list when calling ecore_device_del()

commit 402abcaefca02973c384d7c37fe543837d566443
Author: Guilherme Iscaro <iscaro@profusion.mobi>
Date:   Tue Nov 1 16:03:52 2016 -0200

    Evas Device: Avoid invalid ptr indirection.
    ...

Change-Id: I2e46ec07caadb8fd79e2df61774be9bf2c44456a

12 months agoevas_object_textblock: Fix removing Devanagari characters 46/300846/2 accepted/tizen/unified/20231103.163815
Hubert Stachowiak [Thu, 2 Nov 2023 13:43:33 +0000 (14:43 +0100)]
evas_object_textblock: Fix removing Devanagari characters

Check for U+0941 and U+0942 vowels which should be treated
as separete characters when deleting.

Change-Id: I18cbc3a1b2d5c79c7dd17450156447a75e7350bc

12 months agoFixed error message handling. 20/300620/1 accepted/tizen/unified/20231031.163518
jykeon [Mon, 30 Oct 2023 05:29:53 +0000 (14:29 +0900)]
Fixed error message handling.

Change-Id: I4674470a84551ea966ebe3f352eb20f11da2cde7
Signed-off-by: jykeon <jykeon@samsung.com>
12 months agoefl_ui_win: modified to ensure enter and leave events 63/300563/2
Taehyub Kim [Fri, 27 Oct 2023 07:03:58 +0000 (16:03 +0900)]
efl_ui_win: modified to ensure enter and leave events

Change-Id: Iaaa0295b2531f95a7927d3be77dce38dbe788730

12 months agoecore_wl1: improved Wayland issues handling 24/300524/2
Michal Szczecinski [Thu, 26 Oct 2023 16:24:22 +0000 (18:24 +0200)]
ecore_wl1: improved Wayland issues handling

Added error message and null check in case of issues with invalid
compositor pointer.

Change-Id: I83603185ae6544d37a621f8c6062c0975fc77e96

12 months agoevas: improved safety of evas_object_pointer_grab_del 47/300247/1 accepted/tizen/unified/20231024.032149
Patryk Kaczmarek [Wed, 18 Oct 2023 00:49:30 +0000 (02:49 +0200)]
evas: improved safety of evas_object_pointer_grab_del

Change-Id: Ia02c217570351f111bf3210026b3e8f86df38a44

13 months agoecore_wl2: fix for each window to be able to lock its pointer 71/299971/2 accepted/tizen/unified/20231014.105741
duna.oh [Fri, 13 Oct 2023 03:57:24 +0000 (12:57 +0900)]
ecore_wl2: fix for each window to be able to lock its pointer

Change-Id: I51b75163249be9ccec966f4dd6161377583f825b

13 months agoefl_ui_widget: add safety check and prevent infinite loop 43/299943/1
Prateek Thakur [Thu, 12 Oct 2023 09:34:37 +0000 (15:04 +0530)]
efl_ui_widget: add safety check and prevent infinite loop

If sdp is null it will be stuck in infite loop as parent object is not
updated. Break from while loop if sdp is null.

ref: DF231003-00328

Change-Id: Ib49a1cef3f1282cab6b692edc737988a1e2e8775
Signed-off-by: Prateek Thakur <prateek.th@samsung.com>
13 months agoecore_main: fix typo 54/299554/2
Hwankyu Jhun [Thu, 5 Oct 2023 01:55:10 +0000 (10:55 +0900)]
ecore_main: fix typo

Change-Id: I05fe2a525db2d4dcccd00a7d6f679ffdeab136b1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
13 months agoevas_events: fix comparsion for evas_events. 66/299566/2
Hosang Kim [Thu, 5 Oct 2023 05:14:12 +0000 (14:14 +0900)]
evas_events: fix comparsion for evas_events.

Here comparision is logically wrong because it compares
the coordinates(cur, prev) of the different spaces.

@fix

Change-Id: I9368588ba40b8a8cc5875e88a3eab66bebbefff1

13 months agoecore_wl2_dnd: Add window id to Ecore_Wl2_Event_Offer_Data_Ready 70/299170/1 accepted/tizen/8.0/unified/20231005.094813 accepted/tizen/unified/20230925.091523 tizen_8.0_m2_release
Junseok Kim [Thu, 21 Sep 2023 05:52:06 +0000 (14:52 +0900)]
ecore_wl2_dnd: Add window id to Ecore_Wl2_Event_Offer_Data_Ready

@tizen_only

Change-Id: I397219d21784dae9768f7b8705cf94c8ac78787c

13 months agoPrevent copy calls from repeat events of ctrl + c 12/299012/1 accepted/tizen/unified/20230920.072009
Bowon Ryu [Mon, 18 Sep 2023 07:31:32 +0000 (16:31 +0900)]
Prevent copy calls from repeat events of ctrl + c

Change-Id: Ibefb32f8d4547bd60528a953abcc20a83fe2c0ee
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
14 months agoecore_wl2: Fix pipe fd management error 61/298761/1 accepted/tizen/unified/20230918.154735
Junkyeong Kim [Wed, 13 Sep 2023 07:50:43 +0000 (16:50 +0900)]
ecore_wl2: Fix pipe fd management error

Change-Id: I6940a23a0dd5c555a7df1e63ac616cd272ac22fd
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
14 months agoefl_ui_widget: Improved safety of the efl_ui_widget_sub_object_del. 74/298674/1 accepted/tizen/unified/20230913.091622
Michal Szczecinski [Tue, 12 Sep 2023 08:45:03 +0000 (10:45 +0200)]
efl_ui_widget: Improved safety of the efl_ui_widget_sub_object_del.

Set focusable flag only for valid objects in tree.

Change-Id: I869d0e78212c2dcf295b0259e5de977ae8bf3113

14 months agoefl_ui_widget: Add null checks in _efl_ui_widget_focus_steal 69/298269/3 accepted/tizen/unified/20230912.171632
Hubert Stachowiak [Mon, 4 Sep 2023 12:24:10 +0000 (14:24 +0200)]
efl_ui_widget: Add null checks in _efl_ui_widget_focus_steal

Change-Id: I5bd04962eda6f4161012ca70dbaeff73a467aa8a

14 months agoecore_wl2: add events for pointer_constraints 85/298385/2 accepted/tizen/unified/20230907.175326
duna.oh [Wed, 6 Sep 2023 08:32:04 +0000 (17:32 +0900)]
ecore_wl2: add events for pointer_constraints

Change-Id: If87c7d93e700c6f7ffeb3f90fcdb91e0696dd590

14 months agoevas_gl_shader: Fix shader lock mechanism 85/297785/3 accepted/tizen/unified/20230907.055343
Hubert Stachowiak [Thu, 24 Aug 2023 08:06:29 +0000 (10:06 +0200)]
evas_gl_shader: Fix shader lock mechanism

Change-Id: Iac54b071364921b58175814adcfde917579750a9

14 months agoecore_wl2_window: add code to check user size in configure_send 55/298355/2
Doyoun Kang [Wed, 6 Sep 2023 06:48:14 +0000 (15:48 +0900)]
ecore_wl2_window: add code to check user size in configure_send

When a window's state is changed to unmaximize or unfullscreen, we check whether the user is
trying to change its size or not.
If user is trying to change its size, then we makes the size of the configure event to user
requested size.
If not, we makes it to saved size.

@tizen_only

Change-Id: Id4a330041e3b08413831625542f9862a66015bb8

14 months agoecore_wl2: add keyboard_grab/ungrab API 19/297719/3 accepted/tizen/unified/20230828.102406
duna.oh [Wed, 23 Aug 2023 08:15:21 +0000 (17:15 +0900)]
ecore_wl2: add keyboard_grab/ungrab API

@tizen_only

Change-Id: Idf6f63a1d2986e3f59dfbd26dd577ed47810c7ef

14 months agoecore_wl2: add cursor_visible set API 07/297507/2 accepted/tizen/unified/20230822.162245
duna.oh [Mon, 21 Aug 2023 06:16:17 +0000 (15:16 +0900)]
ecore_wl2: add cursor_visible set API

@tizen_only

Change-Id: I4f766537beb4c85f44ef7ae9788a37c2e435971d

14 months agoecore_wl2: fix dereference before null check 13/297413/1
duna.oh [Fri, 18 Aug 2023 03:00:29 +0000 (12:00 +0900)]
ecore_wl2: fix dereference before null check

Fixes Coverity CID1705108

Change-Id: I857d29833ec20af031cf8f3796b5a71de5dcf324

15 months agoecore_con_proxy_helper.c: use snprintf to avoid a buffer overflow 70/296270/2 accepted/tizen/unified/20230814.121015
Hubert Stachowiak [Mon, 24 Jul 2023 14:13:34 +0000 (16:13 +0200)]
ecore_con_proxy_helper.c: use snprintf to avoid a buffer overflow

Change-Id: I3842fa3fcf95e9789720ca279f9b35af7850a84c

15 months agoevas_filter_parser.c: use snprintf to avoid a buffer overflow 69/296269/2
Hubert Stachowiak [Mon, 24 Jul 2023 11:05:31 +0000 (13:05 +0200)]
evas_filter_parser.c: use snprintf to avoid a buffer overflow

Change-Id: Id66f489d734379f6793b3c72de6173fb4d11f5bb

15 months agoecore_wl2_cursor: initalize cursor_config when cursor_config is NULL 13/296913/1
Hosang Kim [Mon, 7 Aug 2023 06:47:34 +0000 (15:47 +0900)]
ecore_wl2_cursor: initalize cursor_config when cursor_config is NULL

Change-Id: I6e9a261972d0a701124fa2104999e549247cdde2

15 months agoecore_input: add Ecore_Event_Mouse_Relative_Move struct 20/296620/4 accepted/tizen/unified/20230808.011414
duna.oh [Wed, 2 Aug 2023 08:06:21 +0000 (17:06 +0900)]
ecore_input: add Ecore_Event_Mouse_Relative_Move struct

Change-Id: I0b8ed04af6f05cf3692c8379a193dcae28dfb9be

15 months agoecore_wl2: support zwp_pointer_constraints protocol 19/296619/3
duna.oh [Tue, 1 Aug 2023 10:48:27 +0000 (19:48 +0900)]
ecore_wl2: support zwp_pointer_constraints protocol

Change-Id: I784190c80be321cfaad7fec7c892c4b500c18e2e

15 months agoecore_wl2: support zwp_relative_pointer protocol 18/296618/1
duna.oh [Sat, 29 Jul 2023 02:25:58 +0000 (11:25 +0900)]
ecore_wl2: support zwp_relative_pointer protocol

Change-Id: If9d472ec7c6bea9e980687341d550ca65b5bb26d

15 months agoFixed compile error. 45/296445/2 accepted/tizen/unified/20230728.155805
jykeon [Fri, 28 Jul 2023 01:23:09 +0000 (10:23 +0900)]
Fixed compile error.

Change-Id: Ie2c4b32a346a8f4257b15043c85fcae6ea009c77
Signed-off-by: jykeon <jykeon@samsung.com>
15 months agoecore_wl2_input: add setting horizontal/vertical repeat rate and delay. 15/296415/5
Hosang Kim [Thu, 27 Jul 2023 06:55:17 +0000 (15:55 +0900)]
ecore_wl2_input: add setting horizontal/vertical repeat rate and delay.

Change-Id: I1e24bc34e8faf07ebea654e070d87c1a5679648f

15 months agowindow: resize border window when border window is roated 13/296413/1
Hosang Kim [Thu, 27 Jul 2023 06:37:39 +0000 (15:37 +0900)]
window: resize border window when border window is roated

Change-Id: I97daac09f983effea74610fed078c4d799003eea

15 months agoecore_wl2_dnd: fix memory leak of wl_data_source 87/296287/1
Junseok Kim [Tue, 25 Jul 2023 02:08:43 +0000 (11:08 +0900)]
ecore_wl2_dnd: fix memory leak of wl_data_source

destroy wl_data_source before create new one

@tizen_only

Change-Id: I84cc4ce58e2208025355df93b6491c8c003808dd