platform/core/appfw/event-system.git
7 years agoGet launch-on-event items for default user 39/133639/1
Jiwoong Im [Fri, 9 Jun 2017 00:58:52 +0000 (09:58 +0900)]
Get launch-on-event items for default user

- At first, get the launch-on-event items for default user.
- Listen UserSessionStartupFinished signal and update launch-on-event items
  if another user is activated.

Change-Id: I70336e21bdf4123429ef478dc0b94bb1999c10b8
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix invalid log format 37/133537/1
Hwankyu Jhun [Mon, 12 Jun 2017 22:29:41 +0000 (07:29 +0900)]
Fix invalid log format

Change-Id: Ida2b3acbce74df3f33be271251a9a69a240cc6bd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove unnecessarily strictt dependency on dbus.service 28/129228/1
Łukasz Stelmach [Thu, 29 Dec 2016 08:39:56 +0000 (09:39 +0100)]
Remove unnecessarily strictt dependency on dbus.service

Change-Id: Ie1b11f7005ce2377912fabbd94e7186f866bbf75
(cherry picked from commit b1b0df6afedde9e0cd404fb082dbab7667e1a49c)

7 years agoRelease version 0.1.2 92/123092/1 accepted/tizen/unified/20170406.054045 submit/tizen/20170404.104822 tizen_4.0.m1_release
Inkyun Kil [Tue, 4 Apr 2017 10:49:16 +0000 (19:49 +0900)]
Release version 0.1.2

 - Fix memory leak

Change-Id: I70061351325cef62344dc60b48c5055497e6b519
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoFix memory leak 01/122601/1 submit/tizen/20170404.075729
Inkyun Kil [Mon, 3 Apr 2017 04:30:31 +0000 (13:30 +0900)]
Fix memory leak

Change-Id: If280dd2155b75cabc42f7a2d4a8544b8707dfb65
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoRelease version 0.1.1 61/121261/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170328.140638 accepted/tizen/ivi/20170328.060625 accepted/tizen/mobile/20170328.060551 accepted/tizen/tv/20170328.060606 accepted/tizen/unified/20170328.060642 accepted/tizen/wearable/20170328.060616 submit/tizen/20170328.002639
Jiwoong Im [Mon, 27 Mar 2017 09:30:53 +0000 (18:30 +0900)]
Release version 0.1.1

Changes:
 - Set license using %license macro

Change-Id: Ic01195830811d3ffcff76555fc3a3d319dc24e3d
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoSet license using %license macro 87/120687/1
Jiwoong Im [Thu, 23 Mar 2017 23:37:06 +0000 (08:37 +0900)]
Set license using %license macro

Change-Id: Ie5eebd7d0af610b63c333481c4597f44edcd9115
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoRelease version 0.1.0 73/115973/1 accepted/tizen/common/20170222.124608 accepted/tizen/ivi/20170222.222236 accepted/tizen/mobile/20170222.222100 accepted/tizen/tv/20170222.222201 accepted/tizen/unified/20170309.031944 accepted/tizen/wearable/20170222.222216 submit/tizen/20170222.090515 submit/tizen_unified/20170308.100405
Jiwoong Im [Wed, 22 Feb 2017 01:32:37 +0000 (10:32 +0900)]
Release version 0.1.0

 - Fix restart option

Change-Id: I2bc1a3ed7aa53107b8af1fff5c300fd776babb68
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix Restart option 99/115499/1
Jiwoong Im [Mon, 20 Feb 2017 07:36:20 +0000 (16:36 +0900)]
Fix Restart option

- Use "on-failure" option instead of "always" option

Change-Id: If5b5229b516d00a514e5a407c7bf707e4fe83a66
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoMake esd broadcast boot_complete once. 95/106695/2 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170104.121650 accepted/tizen/3.0.m2/tv/20170104.122351 accepted/tizen/3.0.m2/wearable/20170104.122731 accepted/tizen/3.0/common/20161227.101316 accepted/tizen/3.0/ivi/20161226.024800 accepted/tizen/3.0/mobile/20161226.024720 accepted/tizen/3.0/tv/20161226.024733 accepted/tizen/3.0/wearable/20161226.024746 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161222.014602
jongmyeongko [Thu, 22 Dec 2016 11:47:25 +0000 (20:47 +0900)]
Make esd broadcast boot_complete once.

boot_complete system-event will be emitted after system-session finished.

Change-Id: Ifb604a813d5f4c2339c17252ddabf14c079308c6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix resource leak 57/104657/2 accepted/tizen/3.0/common/20161216.122750 accepted/tizen/3.0/ivi/20161216.013911 accepted/tizen/3.0/mobile/20161216.013815 accepted/tizen/3.0/tv/20161216.013839 accepted/tizen/3.0/wearable/20161216.013854 submit/tizen_3.0/20161215.010253
Hwankyu Jhun [Wed, 14 Dec 2016 04:36:43 +0000 (13:36 +0900)]
Fix resource leak

Change-Id: Ia27ac19283e2b4ffaaba990c7bb8b19a0e1495dd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agosend SYS_EVENT_BOOT_COMPLETED event 09/97509/7 accepted/tizen/3.0/common/20161125.101803 accepted/tizen/3.0/ivi/20161125.081942 accepted/tizen/3.0/mobile/20161125.081646 accepted/tizen/3.0/tv/20161125.081752 accepted/tizen/3.0/wearable/20161125.081902 submit/tizen_3.0/20161124.130849
Jiwoong Im [Mon, 14 Nov 2016 10:13:51 +0000 (19:13 +0900)]
send SYS_EVENT_BOOT_COMPLETED event

- Listen system & user finished signal which is sent by systemd and send
  SYS_EVENT_BOOT_COMPLETED event to system session.

Change-Id: I8b6768f4abb4526a81f02ac1950f2fff62265d0d
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix CMakeLists.txt 94/98594/1 accepted/tizen/3.0/common/20161123.140618 accepted/tizen/3.0/ivi/20161123.083224 accepted/tizen/3.0/mobile/20161123.083133 accepted/tizen/3.0/tv/20161123.083152 accepted/tizen/3.0/wearable/20161123.083208 accepted/tizen/common/20161125.095140 accepted/tizen/ivi/20161125.004142 accepted/tizen/mobile/20161125.003602 accepted/tizen/tv/20161125.003907 accepted/tizen/wearable/20161125.004028 submit/tizen/20161124.000829 submit/tizen_3.0/20161122.021326
Jiwoong Im [Fri, 18 Nov 2016 01:44:10 +0000 (10:44 +0900)]
Fix CMakeLists.txt

To make extendible for adding source & header files.

Change-Id: I15f058e2c81aed42b86947bd9a873b69da9b908c
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoreplace ecore_main_loop to g_main_loop 61/96861/7 accepted/tizen/3.0/common/20161116.143511 accepted/tizen/3.0/ivi/20161116.022241 accepted/tizen/3.0/mobile/20161116.022018 accepted/tizen/3.0/tv/20161116.022124 accepted/tizen/3.0/wearable/20161116.022202 submit/tizen_3.0/20161115.024443
Jiwoong Im [Thu, 10 Nov 2016 11:27:03 +0000 (20:27 +0900)]
replace ecore_main_loop to g_main_loop

Change-Id: I3b232d30a681beeacb45a213b1a084c6121af014
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix memory leak 95/97195/1 submit/tizen_3.0/20161111.111420
Hwankyu Jhun [Fri, 11 Nov 2016 11:12:20 +0000 (20:12 +0900)]
Fix memory leak

Change-Id: I9043d191af121746400d74780dc6a31d1aa1f2d5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agosupport eventsystem_keep_last_event_data api 20/77420/8 accepted/tizen/3.0/common/20161114.105411 accepted/tizen/3.0/ivi/20161011.044016 accepted/tizen/3.0/mobile/20161015.033021 accepted/tizen/3.0/tv/20161016.004446 accepted/tizen/3.0/wearable/20161015.082649 accepted/tizen/common/20160809.184022 accepted/tizen/ivi/20160809.232625 accepted/tizen/mobile/20160809.232404 accepted/tizen/tv/20160809.232515 accepted/tizen/wearable/20160809.232720 submit/tizen/20160809.011327 submit/tizen/20160809.051427 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000002 submit/tizen_3.0_mobile/20161015.000002 submit/tizen_3.0_tv/20161015.000002 submit/tizen_3.0_wearable/20161015.000002
Jiwoong Im [Wed, 29 Jun 2016 13:49:55 +0000 (22:49 +0900)]
support eventsystem_keep_last_event_data api

Change-Id: I3cdad951b79f69ae08d25859a53f4ef4659dfecb
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoSet the SMACK security label to run given executable file in systemd services 49/80849/1 accepted/tizen/common/20160721.175557 accepted/tizen/ivi/20160721.090713 accepted/tizen/mobile/20160721.090345 accepted/tizen/tv/20160721.091230 accepted/tizen/wearable/20160721.090856 submit/tizen/20160721.003054
jooseong lee [Wed, 20 Jul 2016 11:23:43 +0000 (20:23 +0900)]
Set the SMACK security label to run given executable file in systemd services

Change-Id: Iff87dff3c7ce6732d49dc7fb71de22257cc149f6
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
8 years agoadd user which sends system event in dbus conf file 45/78545/2 submit/tizen/20160706.043533
Jiwoong Im [Wed, 6 Jul 2016 04:47:09 +0000 (13:47 +0900)]
add user which sends system event in dbus conf file

Change-Id: I3a8c17139f27f3762cc0c01fc194c7895a100afe
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agochange uid from 'root' to 'app_fw' 23/59823/4 accepted/tizen/common/20160428.144910 accepted/tizen/ivi/20160429.011353 accepted/tizen/mobile/20160429.011328 accepted/tizen/tv/20160429.011347 accepted/tizen/wearable/20160429.011335 submit/tizen/20160428.065355
jongmyeongko [Fri, 19 Feb 2016 02:16:54 +0000 (11:16 +0900)]
change uid from 'root' to 'app_fw'

Change-Id: I48ccf659800a64af893b084cf8bb089cfcb5272e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agomove esd.service to graphical.taget.wants 03/65203/1 accepted/tizen/common/20160412.130735 accepted/tizen/ivi/20160412.063706 accepted/tizen/mobile/20160412.063524 accepted/tizen/tv/20160412.063724 accepted/tizen/wearable/20160412.063628 submit/tizen/20160411.223138
Jiwoong Im [Fri, 8 Apr 2016 01:40:31 +0000 (10:40 +0900)]
move esd.service to graphical.taget.wants

Change-Id: I70676579edef6c9d22553145ccdde6310d6758d3
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoreduce memroy usage 07/61307/8 accepted/tizen/common/20160406.143515 accepted/tizen/ivi/20160406.012804 accepted/tizen/mobile/20160406.012650 accepted/tizen/tv/20160406.012708 accepted/tizen/wearable/20160406.012736 submit/tizen/20160405.052614
Jiwoong Im [Mon, 7 Mar 2016 08:23:38 +0000 (17:23 +0900)]
reduce memroy usage

- getting svcapp list by using pkgmgr_info_filter api
- fix g_varient_get related leak

Change-Id: Iddabaade6efbd16fc8228b083ef5fc9a98e40be1
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agocheck return value of bundle_get_val 22/62122/2 accepted/tizen/common/20160321.145920 accepted/tizen/ivi/20160321.004617 accepted/tizen/ivi/20160322.023149 accepted/tizen/mobile/20160321.004517 accepted/tizen/tv/20160321.004539 accepted/tizen/wearable/20160321.004558 submit/tizen/20160318.074817 submit/tizen_ivi/20160322.020156
Jiwoong Im [Mon, 14 Mar 2016 11:11:46 +0000 (20:11 +0900)]
check return value of bundle_get_val

Change-Id: I4791f876766867ecf6cedf29c899a93fa114ae26
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agosupport new system-event (outgoing msg) 46/62546/1 accepted/tizen/common/20160317.160303 accepted/tizen/ivi/20160318.112624 accepted/tizen/mobile/20160318.111900 accepted/tizen/tv/20160318.112218 accepted/tizen/wearable/20160318.112232 submit/tizen/20160316.124916 submit/tizen/20160317.005826
jongmyeongko [Wed, 16 Mar 2016 12:25:10 +0000 (21:25 +0900)]
support new system-event (outgoing msg)

Change-Id: Ic423795ff9a39b5eb34bb97662cdb7d30841c103
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix launch_on_event failure. 21/61921/2 accepted/tizen/common/20160316.160019 accepted/tizen/ivi/20160312.015400 accepted/tizen/mobile/20160312.015310 accepted/tizen/tv/20160312.015327 accepted/tizen/wearable/20160312.015345 submit/tizen/20160311.221215
jongmyeongko [Fri, 11 Mar 2016 07:39:47 +0000 (16:39 +0900)]
fix launch_on_event failure.

And, remove gathering appinfo for globalappuser (it's not needed)

Change-Id: I9752e8b8b47ea3dc28258b96b7e64f443b74321c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix return of __get_sender_uid and __get_sender_unixinfo 42/61242/2
Jiwoong Im [Mon, 7 Mar 2016 02:59:40 +0000 (11:59 +0900)]
fix return of __get_sender_uid and __get_sender_unixinfo

- uid_t(unsigned int) can't be less than zero

Change-Id: Ibb66bc32d24221f238dda1d0c6110f1b31d80164
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agofix TODO items 38/59838/3 accepted/tizen/common/20160304.194846 accepted/tizen/ivi/20160305.091107 accepted/tizen/mobile/20160305.091018 accepted/tizen/tv/20160305.091037 accepted/tizen/wearable/20160305.091054 submit/tizen/20160303.080402
jongmyeongko [Fri, 19 Feb 2016 02:56:13 +0000 (11:56 +0900)]
fix TODO items

checking privilege by appid.
checking app runnig status by uid.
checking certficate for trusted event peers.

Change-Id: I3b7a9d1fbbf211c95778ba7df8e399c2390c1af8
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoremove assert code. 75/58575/1
jongmyeongko [Tue, 2 Feb 2016 04:06:56 +0000 (13:06 +0900)]
remove assert code.

Change-Id: I70e5285b9492b203127a0b80ee34fcf6f9a76364
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix wrong declaration of the earlier_item pointer type 11/56811/1 accepted/tizen/ivi/20160218.023230 accepted/tizen/mobile/20160113.050410 accepted/tizen/tv/20160113.050427 accepted/tizen/wearable/20160113.050452 submit/tizen/20160113.003818 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
Hwankyu Jhun [Tue, 12 Jan 2016 22:34:25 +0000 (07:34 +0900)]
Fix wrong declaration of the earlier_item pointer type

Change-Id: I8dac8d69b3d968b46fc3bfe74e8101a8defc5b80
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdjust coding rule 26/56726/3 submit/tizen/20160112.095745
Hwankyu Jhun [Tue, 12 Jan 2016 09:33:22 +0000 (18:33 +0900)]
Adjust coding rule

Change-Id: I716525bce2ad5c74df6f044819de522cf8246925
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agobugfix of getting appid and checking privilege via gdbus helper of cynara 26/53726/3 accepted/tizen/mobile/20151209.132728 accepted/tizen/tv/20151209.132756 accepted/tizen/wearable/20151209.132820 submit/tizen/20151209.082345 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.154718
jongmyeongko [Wed, 9 Dec 2015 02:59:49 +0000 (11:59 +0900)]
bugfix of getting appid and checking privilege via gdbus helper of cynara

Change-Id: Ia967bc04751492fb57a067fb9169c6e0369f8ae4
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix memory leak 22/53622/1 accepted/tizen/mobile/20151209.024819 accepted/tizen/tv/20151209.024845 accepted/tizen/wearable/20151209.024909 submit/tizen/20151209.003413
Oskar Świtalski [Tue, 8 Dec 2015 08:15:25 +0000 (09:15 +0100)]
Fix memory leak

Strings from Cynara gdbus helper lib should be freed with g_free()

Change-Id: I1131bb38026961c7abe27f46b6eafa2c025744c2
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
8 years agoesd 3.0 migration (multi-user feature, dbus-policy) 54/52854/10 accepted/tizen/mobile/20151207.122101 accepted/tizen/tv/20151207.122118 accepted/tizen/wearable/20151207.122141 submit/tizen/20151206.235943
jongmyeongko [Thu, 26 Nov 2015 15:46:58 +0000 (00:46 +0900)]
esd 3.0 migration (multi-user feature, dbus-policy)

Temporarily, I will keep esd as root-daemon and check full behaviors.

Change-Id: I674091b45187be46872bd74a1f4591ec2c166b06
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agomove esd to user session. 97/52397/1
Jiwoong Im [Mon, 23 Nov 2015 07:31:53 +0000 (16:31 +0900)]
move esd to user session.

Change-Id: I244238196b87c1d2b8b7920838913207f6cab37c
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agomerge tizen 2.4 16/51516/1 accepted/tizen/mobile/20151111.231746 accepted/tizen/tv/20151111.231758 accepted/tizen/wearable/20151111.231810 submit/tizen/20151111.052304 submit/tizen/20151111.052342
jongmyeongko [Tue, 10 Nov 2015 08:58:28 +0000 (17:58 +0900)]
merge tizen 2.4

Change-Id: I6808f3fe20e489ffb848a2feedba4803394857a1
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
9 years agomodify dbus configuration file 17/48017/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150911.091730 accepted/tizen/tv/20150911.091743 accepted/tizen/wearable/20150911.091800 submit/tizen/20150911.072727 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Jiwoong Im [Fri, 11 Sep 2015 06:14:50 +0000 (15:14 +0900)]
modify dbus configuration file

allow applciation to send method call to tizen.system.event.app2esd

Change-Id: Icfaa6aae676a51eb51e2b90026f2792529128b00
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoSync with 2.4 esd source. 12/43712/1 accepted/tizen/mobile/20150717.003011 accepted/tizen/tv/20150717.003021 accepted/tizen/wearable/20150717.003035 submit/tizen/20150716.064254
Jiwoong Im [Fri, 10 Jul 2015 10:13:18 +0000 (19:13 +0900)]
Sync with 2.4 esd source.

Change-Id: Id51c91cf9bc61904d2ca65ad73191797a2dfe4cf
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoFix to use 'usr' prefixed pkgmgr-info api 39/40539/1 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150609.181927 accepted/tizen/common/20150609.084318 accepted/tizen/mobile/20150609.085837 accepted/tizen/tv/20150612.003520 accepted/tizen/wearable/20150609.085858 submit/tizen/20150605.044443 submit/tizen/20150605.114228 submit/tizen_3.0.2015.q2_common/20150609.170642 submit/tizen_tv/20150611.000000
Sangyoon Jang [Fri, 5 Jun 2015 04:36:18 +0000 (13:36 +0900)]
Fix to use 'usr' prefixed pkgmgr-info api

Change-Id: I9972d17a6a1c577a12e6b3e4fffb449ed0e567b7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoUse pkgmgrinfo_appinfo_foreach_appcontrol 12/40512/3 submit/tizen/20150605.041856
Sangyoon Jang [Thu, 4 Jun 2015 12:18:42 +0000 (21:18 +0900)]
Use pkgmgrinfo_appinfo_foreach_appcontrol

fix to pass right parameter when use some apis

Change-Id: I6849aad24340b43a18037043dea43c98503ab947
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoEvent Systemd Daemon : initail commit 28/40028/1 submit/tizen/20150601.084214 submit/tizen/20150602.063407 submit/tizen/20150602.110936
Jiwoong Im [Thu, 28 May 2015 01:26:34 +0000 (10:26 +0900)]
Event Systemd Daemon : initail commit

Event System Daemon (ESD)
- ESD manages the event list for “Launch On Event”.
- ESD launch the requested applications when the interested event occurs.

JIRA ticket : TC-2473

Change-Id: Ife79b71837bb2bb48039f7bde4cfa85ac95f7345
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoInitial empty repository master
KyungMi Lee [Mon, 23 Mar 2015 06:14:45 +0000 (23:14 -0700)]
Initial empty repository