platform/core/uifw/libpui.git
3 years agodefault_backend : remove unused variable and change variables as static 71/248671/2 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_unified tizen tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/6.5/unified/20211028.120854 accepted/tizen/7.0/unified/20221110.063402 accepted/tizen/7.0/unified/hotfix/20221116.110131 accepted/tizen/8.0/unified/20231005.094210 accepted/tizen/unified/20201202.124922 submit/tizen/20201201.103637 submit/tizen/20201202.012347 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
Sung-Jin Park [Tue, 1 Dec 2020 08:57:49 +0000 (17:57 +0900)]
default_backend : remove unused variable and change variables as static

Change-Id: I7d527a59613cc34f61df8d440abb69b905e4d78c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoPUI: modify to use pui_log_level_get() instead of _pui_log_level inside log macros 70/248670/1
Sung-Jin Park [Tue, 1 Dec 2020 05:42:15 +0000 (14:42 +0900)]
PUI: modify to use pui_log_level_get() instead of _pui_log_level inside log macros

Change-Id: Iacc78298bb9e047a5444bb215405f06fcb11186c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agodefault_backend: remove unnecessary code surrounded by '#if 0' macro 20/248620/1 accepted/tizen/unified/20201201.124754 submit/tizen/20201201.050515
Sung-Jin Park [Tue, 1 Dec 2020 03:32:41 +0000 (12:32 +0900)]
default_backend: remove unnecessary code surrounded by '#if 0' macro

Change-Id: I0879ce6f3fa40ccf42508c096da21a640a02babd
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agodefault_backend: remove unnecessary module circular dependencies 94/248594/1 submit/tizen/20201201.020507
Sung-Jin Park [Mon, 30 Nov 2020 11:18:21 +0000 (20:18 +0900)]
default_backend: remove unnecessary module circular dependencies

Change-Id: I1f8da156cb2826f9caa82f7293b0f5f76f31a23c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agodefault_backend: remove duplicate code 84/248584/1 accepted/tizen/unified/20201201.124801 submit/tizen/20201130.081206 submit/tizen/20201130.110015
Sung-Jin Park [Mon, 30 Nov 2020 07:36:33 +0000 (16:36 +0900)]
default_backend: remove duplicate code

Change-Id: I10b92711133660c200e01b30c303b5f25a3e8ad2
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoPUI: fix to use ecore_wl2_window_native_surface_get() instead of ecore_wl2_window_sur... 77/228177/1
Sung-Jin Park [Thu, 19 Mar 2020 09:57:23 +0000 (18:57 +0900)]
PUI: fix to use ecore_wl2_window_native_surface_get() instead of ecore_wl2_window_surface_get()

Change-Id: Icbf50de9411f49fb7e3d879b80a04b3f7b47aebb
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agopui: fix multiple definition of _pui_log_level 29/225529/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.113802 accepted/tizen/6.0/unified/hotfix/20201103.001845 accepted/tizen/unified/20200221.093346 submit/tizen/20200221.015657 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 tizen_6.0.m2_release
Sung-Jin Park [Thu, 20 Feb 2020 11:47:28 +0000 (20:47 +0900)]
pui: fix multiple definition of _pui_log_level

Change-Id: Iedbf1276bbe9f085ef77bb8069ec71ba46303fed
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agopui: declare ecore_wl2 internal APIs as extern APIs 75/221375/1 accepted/tizen/unified/20200102.220800 submit/tizen/20200102.024021
Sung-Jin Park [Thu, 2 Jan 2020 02:25:57 +0000 (11:25 +0900)]
pui: declare ecore_wl2 internal APIs as extern APIs

Change-Id: I90fe55214fcb9e08f126b3d529d0a66a9301669b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agopui_ani: renew a timer instead of re-make a timer 22/220722/1 accepted/tizen/5.5/unified/20200102.014046 accepted/tizen/unified/20191223.143853 submit/tizen/20191223.081711 submit/tizen_5.5/20191224.053629
jeon [Mon, 28 Oct 2019 06:55:50 +0000 (15:55 +0900)]
pui_ani: renew a timer instead of re-make a timer

Change-Id: I7c6e7d81fef8a8b0a773544425a1438fe32e4ad9

4 years agobackend: clear leds when a clear_fadeout animation is stopped 21/220721/1
jeon [Thu, 24 Oct 2019 08:54:15 +0000 (17:54 +0900)]
backend: clear leds when a clear_fadeout animation is stopped

Change-Id: If2eebf2a1c59cdc9843f69ac7b50a14580c5af34

4 years agopui: store a last updated buffer and return 20/220720/1
jeon [Wed, 23 Oct 2019 12:11:04 +0000 (21:11 +0900)]
pui: store a last updated buffer and return

Change-Id: I67ff595beffe5edebb87bc9a0447181040923185

4 years agobackend: add default clear animations 19/220719/1
jeon [Mon, 21 Oct 2019 11:53:37 +0000 (20:53 +0900)]
backend: add default clear animations

  - support fadeout / immediate clear animations

Change-Id: I605bc8a094a48a59a111b78462715b975c727bbb

4 years agodoc: add a image file to represent frame time 18/220718/1
jeon [Wed, 2 Oct 2019 08:12:04 +0000 (17:12 +0900)]
doc: add a image file to represent frame time

Change-Id: Ia98c0709012f79a45b777694d9a859f189ec79f0

4 years agoPUI: fix comment about abort() in magic failure function 17/220717/1
Sung-Jin Park [Fri, 18 Oct 2019 01:57:21 +0000 (10:57 +0900)]
PUI: fix comment about abort() in magic failure function

Change-Id: I8c0f7eb8b8304be0b33f5a96ad33bf159c5c5982
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agopui*: define PUI_MAGICs and add check logic of them 15/220715/1
Sung-Jin Park [Wed, 16 Oct 2019 10:43:01 +0000 (19:43 +0900)]
pui*: define PUI_MAGICs and add check logic of them

Change-Id: Ia74fc9e6756fa9929632351505b574989386e21e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agodefault_backend: do not allocate frame whenever each frames 13/220713/1
jeon [Thu, 19 Sep 2019 11:46:35 +0000 (20:46 +0900)]
default_backend: do not allocate frame whenever each frames

Change-Id: I089ad4b075fbb68214fea0baeaa6948374776210

4 years agodefault_backend: remove unneccessary logs 12/220712/1
jeon [Wed, 18 Sep 2019 07:43:58 +0000 (16:43 +0900)]
default_backend: remove unneccessary logs

Change-Id: I577a7027790ea774c3cdd42c738930e09049a0db

4 years agoPUI_ani: free alloacted memory for event which is not added 11/220711/1
jeon [Wed, 18 Sep 2019 07:22:11 +0000 (16:22 +0900)]
PUI_ani: free alloacted memory for event which is not added

Change-Id: I788070dffba48065c2ed213a62d40ad8ca3dcc5f

4 years agodefault_backend: check return value of fseek 10/220710/1
jeon [Wed, 18 Sep 2019 03:33:51 +0000 (12:33 +0900)]
default_backend: check return value of fseek

Change-Id: I63a27ffa7c75d22c4a1381bb8cb7f114a2469230

4 years agodefault_backend: fix some svace issues 09/220709/1
jeon [Tue, 17 Sep 2019 12:51:17 +0000 (21:51 +0900)]
default_backend: fix some svace issues

Change-Id: I78fe3f4efc5723e93baf6227f9accb5a43d56f1a

4 years agofix some svase issues 08/220708/1
jeon [Tue, 17 Sep 2019 11:35:01 +0000 (20:35 +0900)]
fix some svase issues

Change-Id: Ib0f336698622a407f32539b27584526e6e602284

4 years agoPUI: set log level from env variable, update some log messages 07/220707/1
Sung-Jin Park [Mon, 16 Sep 2019 11:47:22 +0000 (20:47 +0900)]
PUI: set log level from env variable, update some log messages

Change-Id: I3d9c10bd213839c25499f0f654157ad25d1d491d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoPUI: fix frame_cb and pui_ani_control not to make irregular timer callback call 06/220706/1
Sung-Jin Park [Mon, 16 Sep 2019 06:48:57 +0000 (15:48 +0900)]
PUI: fix frame_cb and pui_ani_control not to make irregular timer callback call

Change-Id: Ib398989b9bd5e6ef287d940824cf5243f631f64a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoPUI: add manual render set/get APIs and move ani get/set/update APIs to PUI from... 05/220705/1
Sung-Jin Park [Tue, 10 Sep 2019 07:15:40 +0000 (16:15 +0900)]
PUI: add manual render set/get APIs and move ani get/set/update APIs to PUI from PUI ani

Change-Id: Iba9993f6bd35327ebb853b2b0d47d23710fa6f35
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agodefault_backend: implements frame_duration to proceed each frame at a different speed 86/220686/1
jeon [Fri, 6 Sep 2019 06:49:40 +0000 (15:49 +0900)]
default_backend: implements frame_duration to proceed each frame at a different speed

Change-Id: Ie2f2edac3cb0357569b76506fe9c52050f49fb63

4 years agopui-samples: remove from package 85/220685/1
Sung-Jin Park [Fri, 6 Sep 2019 01:55:41 +0000 (10:55 +0900)]
pui-samples: remove from package

pui-samples has been moved to another repository.

Change-Id: I41e1845ed83c5689e3aadecb7f31cfd313365dd4
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agopackaging: fix to install headers properly 84/220684/1
Sung-Jin Park [Thu, 5 Sep 2019 01:45:30 +0000 (10:45 +0900)]
packaging: fix to install headers properly

Change-Id: I7334d69010c71fa09da80ec7d99004c882635216
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoPUI_sample: play a manual animation with stdin 83/220683/1
jeon [Tue, 3 Sep 2019 08:31:38 +0000 (17:31 +0900)]
PUI_sample: play a manual animation with stdin

Change-Id: I9a356bf24f2121a45d981820d1bfb2eb84bea7e2

4 years agobackends: implements animation's repeat 82/220682/1
jeon [Tue, 3 Sep 2019 04:11:01 +0000 (13:11 +0900)]
backends: implements animation's repeat

Change-Id: I455457fa0bf1b46e76d25347b93c6df7689cf4cf

4 years agoPUI: increase tbm_surface_queue size (2->3) 81/220681/1
Sung-Jin Park [Tue, 3 Sep 2019 02:37:09 +0000 (11:37 +0900)]
PUI: increase tbm_surface_queue size (2->3)

Change-Id: I25c0868a4f71ac3b7f6e5bb52d3a930b7136e069
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agopui_sample : modify to resume the paused animation 80/220680/1
Sung-Jin Park [Tue, 3 Sep 2019 02:34:36 +0000 (11:34 +0900)]
pui_sample : modify to resume the paused animation

Change-Id: Id8e859037ed38a19330ec402550a8038b59adb4b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoPUI & default-backend: add force argument to the control function of animation 79/220679/1
Sung-Jin Park [Tue, 3 Sep 2019 02:20:55 +0000 (11:20 +0900)]
PUI & default-backend: add force argument to the control function of animation

As we use pui_ani_control() to stop/pause an animation, it's impossible to check
whether the animation has been stopped from the user request or from the window
stack changes. Thus we add _pui_ani_control_with_force() to pass force value
when the animation must be paused from window stack changes.

Change-Id: Ied104d13cd463c37191d20515383501d4f8333a8
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agobackends: change default animation names following default naming rule 78/220678/1
jeon [Mon, 2 Sep 2019 11:00:59 +0000 (20:00 +0900)]
backends: change default animation names following default naming rule

Change-Id: I1f6e8a1f72341cc4f7897551d84f05b352dfb577

4 years agodefault_backend: add some animations - alarm, connected, error, network_error, paring... 77/220677/1
jeon [Thu, 29 Aug 2019 10:23:05 +0000 (19:23 +0900)]
default_backend: add some animations - alarm, connected, error, network_error, paring, system_processing - default animations are added all

Change-Id: Ic98e1fbd2a72aeb88fac91d9dfb1e395dae1a6eb

4 years agodefault_backend: add some animations - easy_setup, emergency, mic_off, normal, sw_upd... 76/220676/1
jeon [Thu, 29 Aug 2019 03:18:20 +0000 (12:18 +0900)]
default_backend: add some animations - easy_setup, emergency, mic_off, normal, sw_update_done, time_out

Change-Id: I8b4e7862d0776e3820466a52a845bcfc20bf60e7

4 years agopui_sample : add PUI event handlers, creates pui ani handlers @ intial time 75/220675/1
Sung-Jin Park [Wed, 28 Aug 2019 07:11:38 +0000 (16:11 +0900)]
pui_sample : add PUI event handlers, creates pui ani handlers @ intial time

Change-Id: I5816552dd45acb1b745b728799ead358149229c3
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoPUI: remove unnecessary event callbacks and refine logs 73/220673/1
Sung-Jin Park [Wed, 28 Aug 2019 05:45:29 +0000 (14:45 +0900)]
PUI: remove unnecessary event callbacks and refine logs

Change-Id: I73921dd10a37ec7a3f94e0c15aeced710ea86603
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agodefaul_backend: implement some animations - listening, processing, speaking, streaming 69/220669/1
jeon [Wed, 28 Aug 2019 05:32:33 +0000 (14:32 +0900)]
defaul_backend: implement some animations - listening, processing, speaking, streaming

Change-Id: Ia2ae64ae1a7a1da8b82b02e8bdcfd04119fbd0be

4 years agodefault_backend: leave timestamp inside frame callback and make use of ani_info for... 68/220668/1
Sung-Jin Park [Wed, 28 Aug 2019 01:14:36 +0000 (10:14 +0900)]
default_backend: leave timestamp inside frame callback and make use of ani_info for tests

Change-Id: I4e4aab6e885c5680ceb3c26e8a4e8fbc959f89d2
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoPUI: fix pui_ani_control, pui_ani_status_update and so on 67/220667/1
Sung-Jin Park [Tue, 27 Aug 2019 11:40:13 +0000 (20:40 +0900)]
PUI: fix pui_ani_control, pui_ani_status_update and so on

- pui_ani_control
  stop the animation being played before start playing a new animation
- pui_ani_status_update
  when the status of a animation has been changed, create/send PUI_EVENT_ANI_XXX
  event to notify it to the application
- events removal
  remove events regarding buffer release, frame done
- handle visibility changes
  when the window is fully-obscured and an animation is being played,
  the animation must be stopped
  when the window is unobscured, we must notify application to have
  the opportunity to start again

Change-Id: Icb2b54abaaf4d33a4b337ac477553608e5275aa1
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agodefault_backend: add test example for getting/updating buffer 66/220666/1
Sung-Jin Park [Wed, 21 Aug 2019 08:28:39 +0000 (17:28 +0900)]
default_backend: add test example for getting/updating buffer

Change-Id: Ife473647c4ae8f33b18a4992b73d717180fe9bf8
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agofix pui_ani_control_buffer location 65/220665/1
Sung-Jin Park [Wed, 21 Aug 2019 08:27:14 +0000 (17:27 +0900)]
fix pui_ani_control_buffer location

Change-Id: I7ed20304a71b66a9e4c4dac239a8f0c9293d6ef9
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agodefault_backend/res: modify json files 64/220664/1
Sung-Jin Park [Wed, 21 Aug 2019 08:26:31 +0000 (17:26 +0900)]
default_backend/res: modify json files

Change-Id: I3172de3f51126cb4e9915ccbd61e9c74f61fc37e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoUpdate AUTHORS and boiler plates 63/220663/1
Sung-Jin Park [Wed, 21 Aug 2019 07:45:00 +0000 (16:45 +0900)]
Update AUTHORS and boiler plates

Change-Id: I97c53c906f27402d0c5531a0f98174fa3f87b892
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agopui_sample: modify animation id(s) and fix log position 62/220662/1
Sung-Jin Park [Wed, 21 Aug 2019 07:15:45 +0000 (16:15 +0900)]
pui_sample: modify animation id(s) and fix log position

Change-Id: I8127c8f138c2fe15409d7aab8edd69343458492c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agodefault_backend: modify animation id in json files 61/220661/1
Sung-Jin Park [Wed, 21 Aug 2019 07:14:43 +0000 (16:14 +0900)]
default_backend: modify animation id in json files

Change-Id: I367bf74553a7a4166280d0d4a384b166f6e0a3ce
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoPUI: fill out missing variables when an ani is created, fix timer stuff 60/220660/1
Sung-Jin Park [Wed, 21 Aug 2019 07:12:01 +0000 (16:12 +0900)]
PUI: fill out missing variables when an ani is created, fix timer stuff

Change-Id: I4a4fae5bcfd55c9ff6abe6812067b8aee14bbb9a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agodefault_backend: modify return type of get_ani_info_from_ani_collection, fix the... 59/220659/1
Sung-Jin Park [Wed, 21 Aug 2019 07:07:17 +0000 (16:07 +0900)]
default_backend: modify return type of get_ani_info_from_ani_collection, fix the free logic of _animation_hash

Change-Id: I75ecec5305d33465cd1eb3a3ff7ee182f5ad97ab
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoPUI: fix memory corruption 58/220658/1
Sung-Jin Park [Wed, 21 Aug 2019 04:15:34 +0000 (13:15 +0900)]
PUI: fix memory corruption

Change-Id: If4f0ab5e84283da4dfac610c09bd1f25383830ae
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agopui_sample: stop/destroy current animation before we start a new animation 57/220657/1
Sung-Jin Park [Tue, 20 Aug 2019 08:55:08 +0000 (17:55 +0900)]
pui_sample: stop/destroy current animation before we start a new animation

Change-Id: I960113c991297c07455504c2a997b67d9567c4fc
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agodefault_backend: remove memset() as snprintf writes null to the given buffer 56/220656/1
Sung-Jin Park [Mon, 19 Aug 2019 10:29:53 +0000 (19:29 +0900)]
default_backend: remove memset() as snprintf writes null to the given buffer

Change-Id: I36d01e6e470a9633cfb1b4e386a190b880243de7
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoPUI: collect animations when pui is loaded 55/220655/1
jeon [Fri, 16 Aug 2019 12:05:00 +0000 (21:05 +0900)]
PUI: collect animations when pui is loaded

Change-Id: I764b9368d36f1719d7e3dbbf8510dd67c8aa411a

4 years agopui: change default backend's path 54/220654/1
jeon [Fri, 16 Aug 2019 07:45:08 +0000 (16:45 +0900)]
pui: change default backend's path

Change-Id: I7581e585c7b69e22d8775cfcea8d731e7d01f293

4 years agodefault_backend: install animation data files 51/220651/1
jeon [Fri, 16 Aug 2019 07:40:42 +0000 (16:40 +0900)]
default_backend: install animation data files

Change-Id: I4b624b9507f37393b5b7f05c3c3d9e14cf1c9965

4 years agobackend: add default_backend initial codes 50/220650/1
jeon [Wed, 14 Aug 2019 09:53:03 +0000 (18:53 +0900)]
backend: add default_backend initial codes

Change-Id: Ie01ec8bb3f9b61ffd791497307cb15b56ebdd100

4 years agorenew pui prototype again 49/220649/1
Sung-Jin Park [Wed, 7 Aug 2019 11:54:07 +0000 (20:54 +0900)]
renew pui prototype again

Change-Id: I0240934656a3e275ce702f4b3aa9c4b7f745137e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agorenew pui prototype 48/220648/1
Sung-Jin Park [Thu, 11 Jul 2019 06:27:47 +0000 (15:27 +0900)]
renew pui prototype

Change-Id: Iaeb10104cd31f5245393eff9d0069fdf85d827f1
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoIntial commit 43/220343/1 master
Sung-Jin Park [Tue, 17 Dec 2019 10:50:13 +0000 (19:50 +0900)]
Intial commit

Change-Id: Iaa09437bab2e1def1cbd37d7aeb42f1e56bbbf0b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoInitial empty repository
Tizen Infrastructure [Mon, 16 Dec 2019 05:00:48 +0000 (05:00 +0000)]
Initial empty repository