platform/core/appfw/librua.git
7 years agoFix versioning 28/110528/1
Hwankyu Jhun [Tue, 17 Jan 2017 01:58:58 +0000 (10:58 +0900)]
Fix versioning

Change-Id: I857d7721a5f2b31c55dfdcf813ea99d2a3124cc9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoSupport multiple instance launch 06/109906/15
Hwankyu Jhun [Fri, 13 Jan 2017 09:59:07 +0000 (18:59 +0900)]
Support multiple instance launch

This patch adds the instance_id, instance_name, icon and uri column to
the rua_history table. The amd stores the information about apps
runs with multiple instance launch.

- Requires:
[aul] https://review.tizen.org/gerrit/#/c/108620/
[amd] https://review.tizen.org/gerrit/#/c/109746/

Change-Id: I510333b15a664ce36244722a4587c54495f8b7cc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd internal APIs for system daemon 60/102260/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.122233 accepted/tizen/3.0.m2/tv/20170104.122636 accepted/tizen/3.0.m2/wearable/20170104.123007 accepted/tizen/3.0/common/20161222.075008 accepted/tizen/3.0/ivi/20161221.103940 accepted/tizen/3.0/mobile/20161221.103635 accepted/tizen/3.0/tv/20161221.103811 accepted/tizen/3.0/wearable/20161221.103921 accepted/tizen/common/20170109.202213 accepted/tizen/ivi/20170105.223137 accepted/tizen/mobile/20170105.223019 accepted/tizen/tv/20170105.223057 accepted/tizen/wearable/20170105.223116 submit/tizen/20170105.005252 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161221.012134
Hwankyu Jhun [Mon, 5 Dec 2016 08:53:11 +0000 (17:53 +0900)]
Add internal APIs for system daemon

Change-Id: Ica3435c455bf09b173471a8b8386373d7ee7fbe2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoChange upgrade script numbering to 503 49/101849/3 accepted/tizen/3.0/common/20161205.091907 accepted/tizen/3.0/ivi/20161204.235839 accepted/tizen/3.0/mobile/20161204.235648 accepted/tizen/3.0/tv/20161204.235743 accepted/tizen/3.0/wearable/20161204.235810 submit/tizen_3.0/20161202.085638
Hyunho Kang [Fri, 2 Dec 2016 08:39:12 +0000 (17:39 +0900)]
Change upgrade script numbering to 503

Change-Id: I2c2d19cc434ae31e492ece5d1785a37107d82e1d
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen accepted/tizen/common/20161125.095436 accepted/tizen/ivi/20161125.004226 accepted/tizen/mobile/20161125.003757 accepted/tizen/tv/20161125.003942 accepted/tizen/wearable/20161125.004105 submit/tizen/20161124.000829
Hwankyu Jhun [Thu, 24 Nov 2016 00:32:40 +0000 (09:32 +0900)]
Merge branch 'tizen_3.0' into tizen

7 years agoMake file & spec file generalization 27/98427/1 accepted/tizen/3.0/common/20161118.193018 accepted/tizen/3.0/ivi/20161118.004158 accepted/tizen/3.0/mobile/20161118.004045 accepted/tizen/3.0/tv/20161118.004115 accepted/tizen/3.0/wearable/20161118.004137 submit/tizen_3.0/20161117.054138
seungha.son [Thu, 17 Nov 2016 08:37:30 +0000 (17:37 +0900)]
Make file & spec file generalization

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ic7e68eea993ea42405ce892fc6027b123b4e0743

8 years agoAdd rua stat db upgrade logic to upgrade script 98/91698/8
Hyunho Kang [Tue, 11 Oct 2016 01:56:56 +0000 (10:56 +0900)]
Add rua stat db upgrade logic to upgrade script

Change-Id: Ic221fbd6e4f478f4d517517c2a426a82f7f47d63
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoChange rua-stat db path 94/91694/1
Hyunho Kang [Tue, 11 Oct 2016 01:44:27 +0000 (10:44 +0900)]
Change rua-stat db path

rua stat should be remained after reboot

Change-Id: If1ab6aaa60185535b69f4491bba7ec86aca67783
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdd a script to upgrade rua db 12/86912/4 accepted/tizen/3.0/common/20161114.105415 accepted/tizen/3.0/ivi/20161011.050700 accepted/tizen/3.0/mobile/20161015.033821 accepted/tizen/3.0/tv/20161016.005057 accepted/tizen/3.0/wearable/20161015.083252 accepted/tizen/common/20160905.171435 accepted/tizen/ivi/20160905.235908 accepted/tizen/mobile/20160905.235739 accepted/tizen/tv/20160905.235817 accepted/tizen/wearable/20160905.235842 submit/tizen/20160905.010800 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000004 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000003 submit/tizen_3.0_wearable/20161015.000003
Hwankyu Jhun [Mon, 5 Sep 2016 11:28:42 +0000 (20:28 +0900)]
Add a script to upgrade rua db

Change-Id: If2bed2a7b5dbbd4c83a5fd89dd377cd9738c80eb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoSet db journal mode to OFF 36/86436/3 accepted/tizen/common/20160901.143543 accepted/tizen/ivi/20160901.104049 accepted/tizen/mobile/20160901.104000 accepted/tizen/tv/20160901.104017 accepted/tizen/wearable/20160901.104033 submit/tizen/20160901.074409
Hwankyu Jhun [Thu, 1 Sep 2016 07:12:42 +0000 (16:12 +0900)]
Set db journal mode to OFF

Change-Id: I09da7896b12484af5872845cc9d3131252a819b5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoChange db path 47/85647/1 accepted/tizen/common/20160829.135929 accepted/tizen/common/20160830.150146 accepted/tizen/ivi/20160830.061216 accepted/tizen/mobile/20160830.060940 accepted/tizen/tv/20160830.061045 accepted/tizen/wearable/20160830.061130 submit/tizen/20160829.010716 submit/tizen/20160830.010724
Hwankyu Jhun [Fri, 26 Aug 2016 08:43:33 +0000 (17:43 +0900)]
Change db path

The rua db path is changed to "/run/aul/dbspace/<uid/".

- Requires
https://review.tizen.org/gerrit/#/c/85645/

Change-Id: Ic59df37dbd432a649489bd5013fffa5c38b50097
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoSet db journal mode to WAL 63/65063/3
Sangyoon Jang [Thu, 7 Apr 2016 06:03:34 +0000 (15:03 +0900)]
Set db journal mode to WAL

Change-Id: Ibe2dba2da41dc74d28bf2229977dbf0bd27d9039
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove unused define 01/78401/1
Hyunho Kang [Tue, 5 Jul 2016 10:18:35 +0000 (19:18 +0900)]
Remove unused define

Change-Id: I8ff06359f000d848a6cb3e702b2fea975570037f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoRemove warnings 43/78343/1 accepted/tizen/common/20160706.141642 accepted/tizen/ivi/20160705.101529 accepted/tizen/mobile/20160705.101601 accepted/tizen/tv/20160705.101518 accepted/tizen/wearable/20160705.101541 submit/tizen/20160705.062243
Hyunho Kang [Tue, 5 Jul 2016 07:10:54 +0000 (16:10 +0900)]
Remove warnings

Change-Id: I4db40b9c2e36581386ab2799b3522fc3405a9f31
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoUse thread safe functions and fix return values 90/78090/5 accepted/tizen/ivi/20160705.044816 accepted/tizen/mobile/20160705.044829 accepted/tizen/tv/20160705.044818 accepted/tizen/wearable/20160705.044803 submit/tizen/20160704.121419
Hwankyu Jhun [Mon, 4 Jul 2016 08:32:33 +0000 (17:32 +0900)]
Use thread safe functions and fix return values

Change-Id: Icba6fa52baae1c7acf3b85ca54117db4f784cffe
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd multi-user feature 86/75886/7 accepted/tizen/common/20160703.130334 accepted/tizen/ivi/20160701.032805 accepted/tizen/mobile/20160701.032824 accepted/tizen/tv/20160701.032723 accepted/tizen/wearable/20160701.032745 submit/tizen/20160630.070457 submit/tizen_common/20160701.180000
Hyunho Kang [Thu, 30 Jun 2016 02:00:08 +0000 (11:00 +0900)]
Add multi-user feature

Add APIs:

- rua_stat_update_for_uid
- rua_add_history_for_uid
- rua_delete_history_with_pkgname_for_uid
- rua_delete_history_with_apppath_for_uid
- rua_clear_history_for_uid
- rua_history_load_db_for_uid
- rua_is_latest_app_for_uid
- rua_db_delete_history
- rua_db_add_history
- rua_stat_get_stat_tags_for_uid
- rua_stat_db_update

Change-Id: I50b203b41a7864ae0609eaaf9125bb383c8a5b6c
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix wrong rua_stat_init parameter 24/77324/1 accepted/tizen/common/20160629.223410 accepted/tizen/ivi/20160630.004002 accepted/tizen/mobile/20160630.004020 accepted/tizen/tv/20160630.003945 accepted/tizen/wearable/20160630.004015 submit/tizen/20160629.112854
Hyunho Kang [Wed, 29 Jun 2016 10:37:21 +0000 (19:37 +0900)]
Fix wrong rua_stat_init parameter

Change-Id: Ic08d5269ad978ec5b44e59bbcf4c401a93861d20
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoRefactoring rua api 76/74376/2 accepted/tizen/common/20160627.191233 accepted/tizen/ivi/20160623.121722 accepted/tizen/mobile/20160623.121622 accepted/tizen/tv/20160623.121634 accepted/tizen/wearable/20160623.121655 submit/tizen/20160622.081450
Hyunho Kang [Tue, 14 Jun 2016 05:32:24 +0000 (14:32 +0900)]
Refactoring rua api

- Make *_internal.h for amd APIs (DB direct write operation).

Change-Id: Ife8983639fa275aa429cd47eed115b9b1a35f7a4
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdjust coding rule and remove compile warning messages 07/57307/2 accepted/tizen/common/20160217.170703 accepted/tizen/ivi/20160218.023435 accepted/tizen/mobile/20160122.075727 accepted/tizen/tv/20160122.080143 accepted/tizen/wearable/20160122.080419 submit/tizen/20160122.030339 submit/tizen_common/20160217.131930 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
Hwankyu Jhun [Tue, 19 Jan 2016 01:56:51 +0000 (10:56 +0900)]
Adjust coding rule and remove compile warning messages

Change-Id: I8b11dfc90bd3927f22e170410a7faba6b02179f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix implicit declaration of function warning. 00/54700/3
Hyunho Kang [Thu, 17 Dec 2015 08:08:28 +0000 (17:08 +0900)]
Fix implicit declaration of function warning.

Change-Id: Icd6f05c060b4e808c02c56e0c14705af0511ee5e
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoResolve remove history APIs permission problem 73/54073/10 accepted/tizen/mobile/20160104.224128 accepted/tizen/tv/20160104.224146 accepted/tizen/wearable/20160104.224203 submit/tizen/20160104.043748
hyunho kang [Fri, 11 Dec 2015 07:13:15 +0000 (16:13 +0900)]
Resolve remove history APIs permission problem

- Access rua db indirectly using aul_svc_delete_rua_history.

Change-Id: I5f347ee01b477135d40304b64009e7d78436d6e1
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
8 years agoRemove rua db write logic from rua_init, rua_fini. 66/52266/3
hyunho kang [Fri, 20 Nov 2015 09:27:18 +0000 (18:27 +0900)]
Remove rua db write logic from rua_init, rua_fini.

Change-Id: I761e542ef8afe4e72e938cdddc417d6125be0104
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
8 years agoFix omitted rua_stat.h installation logic. 12/52112/1 accepted/tizen/mobile/20151119.232115 accepted/tizen/tv/20151119.232146 accepted/tizen/wearable/20151119.232153 submit/tizen/20151119.090110 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
hyunho kang [Thu, 19 Nov 2015 06:39:49 +0000 (15:39 +0900)]
Fix omitted rua_stat.h installation logic.

Change-Id: I81528089f4c6f9ee16a2b57fe7624d2820945aa6
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
8 years agoSync rua_stat feature with tizen 2.4 81/51881/1 accepted/tizen/mobile/20151117.232211 accepted/tizen/tv/20151117.232226 accepted/tizen/wearable/20151117.232239 submit/tizen/20151117.085819
hyunho kang [Tue, 17 Nov 2015 02:55:21 +0000 (11:55 +0900)]
Sync rua_stat feature with tizen 2.4

Change-Id: I1ae6825fb29e739b08e7dc54004b8e184a94bd93
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
9 years agoDB open with READONLY in rua_history_load_db, rua_is_latest_app api. 39/47939/5
hyunho kang [Thu, 10 Sep 2015 07:41:17 +0000 (16:41 +0900)]
DB open with READONLY in rua_history_load_db, rua_is_latest_app api.

Change-Id: Ie9a49c4940cf2aca24f3d8248fcba04cfdd00643
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
10 years agoAdd a test package 92/17992/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0_ivi submit/tizen_common/20140521.163740 submit/tizen_common/20140522.130648 submit/tizen_common/20140522.135644 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140619.000000 submit/tizen_ivi/20140622.000000 submit/tizen_ivi/20140623.000000 submit/tizen_ivi/20140624.064036 submit/tizen_ivi/20140626.125712 submit/tizen_ivi/20140626.130032 submit/tizen_ivi/20140626.144348 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release 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 tizen_3.0_ivi_release
Kévin THIERRY [Thu, 13 Mar 2014 12:51:22 +0000 (13:51 +0100)]
Add a test package

Change-Id: Id7c94d63a29e672881a524728928f33ae4c77889
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
10 years agoCreate a per user DB instead of a global DB 91/17991/1
Kévin THIERRY [Thu, 13 Mar 2014 12:28:48 +0000 (13:28 +0100)]
Create a per user DB instead of a global DB

To fully support the multi-user architecture every user needs to have
its own DB since, in the case of librua, a global (system) DB doesn't
make much sense.

Bug-Tizen: PTREL-339
Change-Id: Id7c5ab27748cfe60cb998a956f06d5280fe1fe50
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
10 years agoAdd multi-user support 61/16461/1 accepted/tizen/generic accepted/tizen_generic accepted/tizen_ivi_panda accepted/tizen_ivi_release tizen_ivi_release accepted/tizen/generic/20140221.200118 accepted/tizen/generic/20140312.094717 accepted/tizen/ivi/20140221.215651 accepted/tizen/ivi/panda/20140312.112400 accepted/tizen/ivi/release/20140312.044416 accepted/tizen/ivi/release/20140312.123836 accepted/tizen/mobile/20140227.071809 submit/tizen/20140221.195846 submit/tizen/20140312.070642 submit/tizen_ivi_release/20140312.044644 submit/tizen_ivi_release/20140312.071108
Kévin THIERRY [Mon, 27 Jan 2014 16:17:43 +0000 (17:17 +0100)]
Add multi-user support

Bug-Tizen: PTREL-339
Change-Id: I1f6145ffaee1ee2fa80b24bb160e6de9251aec18
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
11 years agoMerge "resetting manifest requested domain to floor" into tizen accepted/tizen/ivi/genivi accepted/tizen/ivi/stable tizen_ivi_genivi accepted/tizen/20130710.221525 accepted/tizen/20130912.101807 accepted/tizen/20130912.102115 accepted/tizen/20130912.141857 accepted/tizen/20130912.192223 accepted/tizen/20130912.200325 accepted/tizen/ivi/genivi/20140131.060151 accepted/tizen_ivi_stable/20131116.111002 ivi_oct_m2 submit/tizen/20130710.102921 submit/tizen/20130912.080021 submit/tizen/20130912.090328 submit/tizen_ivi_genivi/20140131.060230 submit/tizen_ivi_stable/20131116.100247
Ryan Ware [Mon, 8 Jul 2013 17:07:26 +0000 (10:07 -0700)]
Merge "resetting manifest requested domain to floor" into tizen

11 years agoresetting manifest requested domain to floor 29/5129/1
Alexandru Cornea [Mon, 1 Jul 2013 13:05:40 +0000 (16:05 +0300)]
resetting manifest requested domain to floor

11 years agoresetting manifest requested domain to floor 69/4469/1
Alexandru Cornea [Fri, 28 Jun 2013 13:04:28 +0000 (16:04 +0300)]
resetting manifest requested domain to floor

11 years agoCleanup package and %post section 40/4340/1 accepted/tizen/20130627.212351 submit/tizen/20130627.122810
Anas Nashif [Thu, 27 Jun 2013 12:28:08 +0000 (08:28 -0400)]
Cleanup package and %post section

11 years agoAdd Changelog 33/3833/2
Baptiste DURAND [Wed, 5 Jun 2013 14:16:46 +0000 (16:16 +0200)]
Add Changelog

11 years agoReplace manifest with default floor 32/3832/2
Baptiste DURAND [Mon, 10 Jun 2013 10:05:01 +0000 (12:05 +0200)]
Replace manifest with default floor

11 years agoFixe build on x86_64 and cleanup spec tizen_2.1 2.1b_release accepted/tizen/20130520.100920 accepted/tizen_2.1/20130425.035445 submit/tizen/20130517.044812 submit/tizen_2.1/20130424.230837
Anas Nashif [Tue, 5 Feb 2013 14:44:33 +0000 (06:44 -0800)]
Fixe build on x86_64 and cleanup spec

Change-Id: I5adffa0738a114bebc11f46a82833e0ca7b95270

11 years agoTizen 2.1 base
Jinkun Jang [Tue, 12 Mar 2013 16:46:35 +0000 (01:46 +0900)]
Tizen 2.1 base

12 years agoInitial empty repository
Eunkyoung Kim [Fri, 6 Jan 2012 12:59:58 +0000 (21:59 +0900)]
Initial empty repository