platform/core/appfw/pkgmgr-info.git
6 years agoUse list of string for datacontrol privilege 28/137528/1
Sangyoon Jang [Thu, 6 Jul 2017 06:40:46 +0000 (15:40 +0900)]
Use list of string for datacontrol privilege

Use list of string instead of privilege_x structure.
The privilege of datacontrol does not use privilege type.

Change-Id: Ia85d7b397ea13a193fc47d2cda32acf29925152d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.7.1 78/137378/1 submit/tizen/20170705.114632
jongmyeongko [Wed, 5 Jul 2017 11:26:03 +0000 (20:26 +0900)]
Release version 0.7.1

Changes :
 - Print dbpath at error log when failed to open db
 - Fix pkgmgrinfo_appinfo_get_label

Change-Id: I44433d9393fb1114df9fd2401de757ca282b5398
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoPrint dbpath at error log when failed to open db 95/137095/2
Sangyoon Jang [Tue, 4 Jul 2017 10:11:25 +0000 (19:11 +0900)]
Print dbpath at error log when failed to open db

Change-Id: Idb56b6c4081eee9a7c0db8f3ffbc25efbd8256d5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix pkgmgrinfo_appinfo_get_label 90/137090/3
Sangyoon Jang [Tue, 4 Jul 2017 09:59:44 +0000 (18:59 +0900)]
Fix pkgmgrinfo_appinfo_get_label

- Search same localed label text.
- Return empty string if not found.

Change-Id: Ib039d30c4ce605cccd4581645cafc98945a59aed
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.7.0 75/132575/2 accepted/tizen/unified/20170609.204208 submit/tizen/20170609.050739
Inkyun Kil [Wed, 7 Jun 2017 03:51:04 +0000 (12:51 +0900)]
Release version 0.7.0

Changes :
- Add apis for datacontrol privileges info
- Change the default value of app_splash_screen_display

Change-Id: I29b84682607f6be096c4c4fa74bd547f85a5689d
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoChange the default value of app_splash_screen_display 51/132351/1
jongmyeongko [Fri, 2 Jun 2017 10:52:38 +0000 (19:52 +0900)]
Change the default value of app_splash_screen_display

Currenty, in case of webapps, they can't use the waiting screen feature.
And, for this feature, app_slash_screen_display should be 'true'.
Original design intent is default 'true' if there is no definitions in manifest.

Change-Id: I9ded13d68c87a20d2290eed56bb61b7dc5699d37
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoAdd apis for datacontrol privileges info 10/129210/19
Inkyun Kil [Mon, 15 May 2017 11:27:13 +0000 (20:27 +0900)]
Add apis for datacontrol privileges info

- pkgmgrinfo_appinfo_usr_foreach_datacontrol_privileges
- pkgmgrinfo_appinfo_foreach_datacontrol_privileges

- Related patches
  [tpk-manifest-handler] https://review.tizen.org/gerrit/#/c/129211/
  [app-installers] https://review.tizen.org/gerrit/#/c/129212/
  [data-control] https://review.tizen.org/gerrit/#/c/129882/
  [amd] https://review.tizen.org/gerrit/#/c/129881/
  [aul-1] https://review.tizen.org/gerrit/#/c/129880/

Change-Id: I34765868c4ad43d9c6aa94827fdb2396de8cf48e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 0.6.3 21/132021/1 accepted/tizen/unified/20170607.063236 submit/tizen/20170531.235759
Junghyun Yeon [Thu, 1 Jun 2017 00:23:34 +0000 (09:23 +0900)]
Release version 0.6.3

Changes:
 - Fix to check invalid parameter properly
 - Change codes for performance
 - Fix to work app info for uid properly
 - Change the timing of adding sqlite busy handler

Change-Id: Ie165639a0fbd7bcb202e2d15739908fdd95596ac
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoChange the timing of adding sqlite busy handler 30/129930/3
jongmyeongko [Thu, 18 May 2017 10:56:16 +0000 (19:56 +0900)]
Change the timing of adding sqlite busy handler

Earlier execution of sqlite_exec can be failed becase of
db lock when two different type packages are installed at the same time.

Change-Id: I8c53f68f7b1ee984b70573bdd441e66edcecc9d6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoFix to work app info for uid properly 94/130894/3
Junghyun Yeon [Wed, 24 May 2017 09:05:21 +0000 (18:05 +0900)]
Fix to work app info for uid properly

- Change uid to global user's to set appinfo for uid properly
- Change trigger to work on insert event only

Change-Id: Id713b52fa4797c0d0b3bd4e56fd80c8d4cf08192
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoChange codes for performance 39/129139/14
Junghyun Yeon [Mon, 15 May 2017 06:55:11 +0000 (15:55 +0900)]
Change codes for performance

- Make frequently called function as inline
- Store global uid internally
- Don't get unnecessary columns
- Remove unnecessary duplication checking routine

Change-Id: I763852d1131465efe3fdc558ae257d4429ba3ba5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix to check invalid parameter properly 12/130312/1
Sangyoon Jang [Mon, 22 May 2017 01:32:44 +0000 (10:32 +0900)]
Fix to check invalid parameter properly

Change-Id: I8343876c9c10487b980ec15a68767e10f8a9e87a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoRelease version 0.6.2 50/129050/1 accepted/tizen/unified/20170512.170329 submit/tizen/20170512.125223 tizen_4.0.m1_release
jongmyeongko [Fri, 12 May 2017 12:48:51 +0000 (21:48 +0900)]
Release version 0.6.2

Changes:
 - Add missing codes for pkg update info
 - Fix wrong logic comparing mainapp

Change-Id: I04faa48cfb5505584ce89330ef270d549bec7554
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoFix wrong logic comparing mainapp 41/129041/1
jongmyeongko [Fri, 12 May 2017 12:23:48 +0000 (21:23 +0900)]
Fix wrong logic comparing mainapp

Change-Id: I9675c2df495d2ac73ff9cfdf811cef6a49a8a917
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoAdd missing codes for pkg update info 83/128183/5
Junghyun Yeon [Mon, 8 May 2017 03:50:28 +0000 (12:50 +0900)]
Add missing codes for pkg update info

- Add query for package_update_info table into query list to
create it automatically
- Add functions to insert update info while install pkg

Change-Id: I5fc247999a75f9aa3dcd41e79981efe230b3d3c5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.6.1 20/128820/1 accepted/tizen/unified/20170512.023730 submit/tizen/20170511.114728
Sangyoon Jang [Thu, 11 May 2017 12:02:16 +0000 (21:02 +0900)]
Release version 0.6.1

Changes:
 - Fix a vulnerable query from sql injection
 - Set default value for launch_mode

Change-Id: I608b5fb5c6836620adda3d3fde6f0afe8cbfba16
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoSet default value for launch_mode 14/128814/1
Sangyoon Jang [Thu, 11 May 2017 11:38:08 +0000 (20:38 +0900)]
Set default value for launch_mode

Change-Id: Ia2b47d98c5ad79767ddeb5d592a22c4cf78da495
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoFix a vulnerable query from sql injection 76/128776/1
Sangyoon Jang [Thu, 11 May 2017 09:55:29 +0000 (18:55 +0900)]
Fix a vulnerable query from sql injection

Change-Id: Iae26050885188d4335f0500d118363e9bb68a9c9
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoRelease version 0.6.0 94/128494/2 accepted/tizen/unified/20170510.183503 submit/tizen/20170510.080314
Sangyoon Jang [Wed, 10 May 2017 07:59:22 +0000 (16:59 +0900)]
Release version 0.6.0

Changes:
 - Implement pkgmgrinfo_archiveinfo features
 - Add missing code of insertion package privileges info into db

Change-Id: I8eaf306566fad4aaa93ab968552cb96df02c057f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoFix build warnings 89/128489/1
Sangyoon Jang [Wed, 10 May 2017 07:52:45 +0000 (16:52 +0900)]
Fix build warnings

Change-Id: Ia73bbd58f8b4e88d974bc483f898e8da4bfd25f9
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoInsertion package privileges info to db 51/128351/2
Bartlomiej Kunikowski [Tue, 9 May 2017 10:11:42 +0000 (12:11 +0200)]
Insertion package privileges info to db

After refactoring there was any code responsible for
adding package privileges info to database. This patch
add required code.

Change-Id: I874fca516ca85fe5945da56295db30f188f4aaa6
Signed-off-by: Bartlomiej Kunikowski <b.kunikowski@partner.samsung.com>
7 years agoFix wrong condition checking 26/127626/1
Sangyoon Jang [Fri, 28 Apr 2017 06:00:29 +0000 (15:00 +0900)]
Fix wrong condition checking

Change-Id: I7032b82c9ca82efca7362ca77cbf153db55075ed
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoImplement pkgmgrinfo_archiveinfo features 58/125158/14
Sangyoon Jang [Tue, 11 Apr 2017 05:05:57 +0000 (14:05 +0900)]
Implement pkgmgrinfo_archiveinfo features

These features are came from slp-pkgmgr repository.

Change-Id: Ibcfc2f7188ae0e662c8988f58910c8d5fec1aed7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease version 0.5.0 13/126913/2 accepted/tizen/unified/20170429.023559 submit/tizen/20170425.040634 submit/tizen/20170427.133942
Junghyun Yeon [Tue, 25 Apr 2017 08:52:41 +0000 (17:52 +0900)]
Release version 0.5.0

Changes:
 - Rework db insertion code
 - Fix static analysis issue

Change-Id: Ia8a6c7b217b54e79171e58af5459c44b927857fc
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix static analysis issue 09/126709/2
Junghyun Yeon [Tue, 25 Apr 2017 01:45:31 +0000 (10:45 +0900)]
Fix static analysis issue

Change-Id: I880b10644b72d6cf8890d60f0c338406a49d2c3f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRework db insertion code 46/113946/29
Sangyoon Jang [Thu, 9 Feb 2017 06:40:57 +0000 (15:40 +0900)]
Rework db insertion code

- Use prepared statement instead of using sqlite3_exec
- Use local db handle
- Turn on foreign key feature always
- Fix code style
- Remove unused code

Inserting app icon section, app image, app permission,
app share allowed, app share request are removed.

Change-Id: I4eedca163fca140c3f03d1a93356790a28ebe941
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease version 0.4.0 13/126313/1 accepted/tizen/unified/20170421.114037 submit/tizen/20170421.005321
Junghyun Yeon [Fri, 21 Apr 2017 02:11:14 +0000 (11:11 +0900)]
Release version 0.4.0

Changes:
- Fix static analysis issue
- Add API for datacontrol trusted info
- Fix build warnings
- Add pkg update info features

Change-Id: Ie6ee070145a3f19c72ad8e6208b5d91ace7e9e2e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdd include for update info handle 99/126299/1
Junghyun Yeon [Fri, 21 Apr 2017 01:49:15 +0000 (10:49 +0900)]
Add include for update info handle

Change-Id: Ie842e9109566822a80fa45f63fb8e522017dd533
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdd pkg update info features 64/121964/23
Junghyun Yeon [Wed, 29 Mar 2017 12:52:35 +0000 (21:52 +0900)]
Add pkg update info features

- Provides methods to register, unregister, get update info of certain pkg
- Provides methods to clear update infos of all pkgs including global pkgs
  whether caller is admin user or not.

Related changes:
[pkgmgr-server] : https://review.tizen.org/gerrit/122067
[slp-pkgmgr] : https://review.tizen.org/gerrit/122068

Change-Id: I70c55bf1ed8878a2ec254e79752d9863daef5511
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix build warnings 40/125840/1
Sangyoon Jang [Wed, 19 Apr 2017 05:39:09 +0000 (14:39 +0900)]
Fix build warnings

- Use readdir instead of readdir_r
  (readdir_r is now deprecated at gcc6)
- Fix wrong indentation

Change-Id: I7716823c5ecfdf001dd70bd77131ba05c1439ae6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoAdd api for datacontrol trusted info 00/124100/6
Jiwoong Im [Mon, 10 Apr 2017 06:50:58 +0000 (15:50 +0900)]
Add api for datacontrol trusted info

- pkgmgrinfo_appinfo_get_datacontrol_trusted_info
  pkgmgrinfo_appinfo_usr_get_datacontrol_trusted_info

- Related patches
  [data-control] https://review.tizen.org/gerrit/#/c/124099/
  [tpk-manifest-handler] https://review.tizen.org/gerrit/#/c/124101/
  [app-installer] https://review.tizen.org/gerrit/#/c/124102/

Change-Id: I4c3aea46fbead87e4db357b5958b56c3a1fc7106
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix a issue of static analysis 64/125564/3
Sangyoon Jang [Tue, 18 Apr 2017 04:51:02 +0000 (13:51 +0900)]
Fix a issue of static analysis

Change-Id: I386ddff7fd06752e43191c96b6931d55157c9fd7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease version 0.3.5 03/125703/1 accepted/tizen/unified/20170419.164243 submit/tizen/20170419.014756
Junghyun Yeon [Tue, 18 Apr 2017 11:55:25 +0000 (20:55 +0900)]
Release version 0.3.5

Changes:
- Fix wrong size calculation of using strncat
- Fix bug regarding category data

Change-Id: Ic7ba4df51edaec908eb483909225faec41dcecb3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix a bug regarding category data 06/125506/1
jongmyeongko [Mon, 17 Apr 2017 11:13:59 +0000 (20:13 +0900)]
Fix a bug regarding category data

Because strtok() modifies the original data,
the second query for global db is affected.
this causes unexpected result of multiple categroy filtering.

Change-Id: I72595fe9d254c36bbb433ff035aa07d10fd34177
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit 56992a61025d8c50ec59e57b550d6f3215857164)

7 years agoFix wrong size calculation of using strncat 81/124281/1
Sangyoon Jang [Tue, 11 Apr 2017 05:08:09 +0000 (14:08 +0900)]
Fix wrong size calculation of using strncat

Change-Id: I28edc4f1d1011d4ff89448998917a099b671deb6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease version 0.3.4 98/123798/1 accepted/tizen/unified/20170407.190443 submit/tizen/20170407.042402
Sangyoon Jang [Fri, 7 Apr 2017 04:56:36 +0000 (13:56 +0900)]
Release version 0.3.4

Changes:
 - Fix static analyzer issues

Change-Id: Ib13333d116b42267f0bb7ed1cf5ed7f7d4da2ee7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix static analyzer issues 78/122478/2
Sangyoon Jang [Fri, 31 Mar 2017 12:47:05 +0000 (21:47 +0900)]
Fix static analyzer issues

Change-Id: I532b5678c96004fc16be2770dae2bf35f1336a4e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease version 0.3.3 37/122137/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170330.151942 accepted/tizen/ivi/20170330.224252 accepted/tizen/mobile/20170330.223935 accepted/tizen/tv/20170330.224123 accepted/tizen/unified/20170330.224334 accepted/tizen/wearable/20170330.224213 submit/tizen/20170330.090650
Hyunho Kang [Thu, 30 Mar 2017 08:39:16 +0000 (17:39 +0900)]
Release version 0.3.3

Changes:
 - Add api for watch setup-appid

Change-Id: I9716ee567413faeee03ad2550888049050091032
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd api for watch setup-appid 26/121426/2
Hyunho Kang [Tue, 28 Mar 2017 04:19:31 +0000 (13:19 +0900)]
Add api for watch setup-appid

- pkgmgrinfo_appinfo_get_setup_appid

Change-Id: I8b6f913fee88a4bfe01279230ef491b574fa1312
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 0.3.2 00/120900/1 accepted/tizen/common/20170324.170112 accepted/tizen/ivi/20170327.051933 accepted/tizen/mobile/20170327.051847 accepted/tizen/tv/20170327.051859 accepted/tizen/unified/20170327.051952 accepted/tizen/wearable/20170327.051916 submit/tizen/20170324.134900
Junghyun Yeon [Fri, 24 Mar 2017 13:38:43 +0000 (22:38 +0900)]
Release version 0.3.2

Changes:
 - Add db recovery tool
 - Add new api to get external image path
 - Use %license macro to copy license file

Change-Id: I3f2aaa42846caf2db1541d2a64e5af007e233423
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoUse %license macro to copy license file 33/120433/2
Sangyoon Jang [Thu, 23 Mar 2017 02:02:39 +0000 (11:02 +0900)]
Use %license macro to copy license file

Change-Id: I5ab62598e4b969f874c544e708c3ad91dab6ff42
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoAdd new api to get external image path 41/120441/1
jongmyeongko [Wed, 22 Mar 2017 06:21:43 +0000 (15:21 +0900)]
Add new api to get external image path

Change-Id: I198cfdd2d4b489ce314a8ce0dcbd273511967b05
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit a3c37400077cabe6cdc6dd83326cf34d99888d6a)

7 years agoAdd pkg db recovery tool 90/119590/6
Junghyun Yeon [Fri, 17 Mar 2017 12:03:58 +0000 (21:03 +0900)]
Add pkg db recovery tool

- In case of db corruption due to unknown reason,
restoration of db is needed.
- This service will be executed after boot-up and
check integrity check of pkg parser and cert db

Change-Id: I30a56b8a2464f07608d534572c77656ce1029f38
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease version 0.3.1 95/119495/1 accepted/tizen/common/20170322.154002 accepted/tizen/ivi/20170323.000737 accepted/tizen/mobile/20170323.000221 accepted/tizen/tv/20170323.000513 accepted/tizen/unified/20170323.000812 accepted/tizen/wearable/20170323.000642 submit/tizen/20170317.070714 submit/tizen/20170320.224022 submit/tizen/20170322.050206 submit/tizen/20170322.091134
Junghyun Yeon [Fri, 17 Mar 2017 06:38:03 +0000 (15:38 +0900)]
Release version 0.3.1

- Fix app metadata filter foreach function
- Remove unused enum values

Change-Id: I123882477ed9ab1bf37bfcb64f7317b5958a9b81
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRemove unused enum variables 34/118734/1
Sangyoon Jang [Tue, 14 Mar 2017 01:36:42 +0000 (10:36 +0900)]
Remove unused enum variables

Change-Id: I0037b839d8adde494e9556002f6986ede37d4637
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix app meatadata filter foreach 57/117857/6
Sangyoon Jang [Wed, 8 Mar 2017 00:37:27 +0000 (09:37 +0900)]
Fix app meatadata filter foreach

Get app list filtered by OR-ed metadata key-value set.

Change-Id: Iabfaca493904778926acbc043e9acaa127138906
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease version 0.3.0 33/117333/2 accepted/tizen/common/20170306.165138 accepted/tizen/ivi/20170307.050436 accepted/tizen/mobile/20170307.050203 accepted/tizen/tv/20170307.050341 accepted/tizen/unified/20170309.032707 accepted/tizen/wearable/20170307.050409 submit/tizen/20170306.070018 submit/tizen_unified/20170308.100406
jongmyeongko [Sat, 4 Mar 2017 07:46:33 +0000 (16:46 +0900)]
Release version 0.3.0

Changes:
 - Remove unused code
 - Change permission of pkgmgr db files
 - Allow the api for amd to get all info without storage checking
 - Fix the bug of version comparison logic
 - Fix static analysis issue
 - Add db busy handler

Change-Id: I02a4d81ebf26726df07a8078478274e5ab30ac2a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRemove unused code 09/117209/2
Sangyoon Jang [Fri, 3 Mar 2017 07:57:24 +0000 (16:57 +0900)]
Remove unused code

Change-Id: I153c821bb0173a314e01b53f2eb39fa75f326d48
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoChange permission of pkgmgr db files 05/116805/1
Junghyun Yeon [Tue, 28 Feb 2017 09:22:25 +0000 (18:22 +0900)]
Change permission of pkgmgr db files

- Change permission of pkgmgr db files to app_fw:app_fw

Change-Id: Ie41683c8b153d9c1f5f87eab9da5092d56604dd8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAllow the api for amd to get all info without storage checking 89/116589/2 submit/tizen/20170302.124027
jongmyeongko [Mon, 27 Feb 2017 06:28:56 +0000 (15:28 +0900)]
Allow the api for amd to get all info without storage checking

Because, the mount timing of sdcard might be late than amd init.
And, the real existence of a certain app in external stroage
is not significant for amd.

Change-Id: If1200968956c98003bb6780b3caf3b4c07a24126
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix the bug of version comparison logic 78/116078/1
jongmyeongko [Thu, 23 Feb 2017 01:06:04 +0000 (10:06 +0900)]
Fix the bug of version comparison logic

The minor is changed as zero.

Change-Id: I27b0930fcab5f539695656939ca3889451e0a857
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit bdbf6623405885c98bcc8feb4223be3bac8f01e1)

7 years agoFix static analysis issue 43/115943/1
Junghyun Yeon [Tue, 21 Feb 2017 04:44:10 +0000 (13:44 +0900)]
Fix static analysis issue

Change-Id: Ibc965dd33ee141bf3e2a8ea35356228a1b68a5d2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix static analysis issue 11/115111/1
Junghyun Yeon [Thu, 16 Feb 2017 08:18:19 +0000 (17:18 +0900)]
Fix static analysis issue

Change-Id: Id0894b1f2bb0ee9bf33c6c8737a5c0fa614c83a7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix build break 63/114863/1
Sangyoon Jang [Wed, 15 Feb 2017 10:00:29 +0000 (19:00 +0900)]
Fix build break

Change-Id: I8a6674bcafaa813ece4ba19c9325872718deb81f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoAdd db busy handler 75/114775/1
Sangyoon Jang [Wed, 15 Feb 2017 04:56:01 +0000 (13:56 +0900)]
Add db busy handler

When some process is writing on db, pkgmgr-info api fails query with
SQLITE_BUSY error. To fix this issue, the busy handler will be registered
and wait for lock released max 1 sec.

Change-Id: I04992e27f549908bd778a870114e2bd7c4d4a8de
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease version 0.2.1 60/113860/1 accepted/tizen/common/20170209.122504 accepted/tizen/ivi/20170210.004212 accepted/tizen/mobile/20170210.003840 accepted/tizen/tv/20170210.004016 accepted/tizen/wearable/20170210.004110 submit/tizen/20170209.083108
Sangyoon Jang [Thu, 9 Feb 2017 06:41:26 +0000 (15:41 +0900)]
Release version 0.2.1

Changes:
 - Fix memory leaks

Change-Id: I7a7a3cd3ef7b1939fa5bdeb52ec7088eb3429d48
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix memory leaks 97/112897/1
Jaganmohan K [Fri, 20 Jan 2017 06:23:19 +0000 (11:53 +0530)]
Fix memory leaks

Signed-off-by: Jaganmohan K <j.kanakala@samsung.com>
Change-Id: I59143434670f6c3213a9a843184c8facd3b35f42
(cherry picked from commit 029aa118c207c1c1163dcb04f24d14f83c65ccd6)

7 years agoFix memory leaks 39/111939/1
Sangyoon Jang [Wed, 25 Jan 2017 05:07:34 +0000 (14:07 +0900)]
Fix memory leaks

Change-Id: I2f51cca965293143557b590fb40b29f523e0152c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease Version 0.2.0 88/110988/2 accepted/tizen/common/20170125.112938 accepted/tizen/ivi/20170119.222143 accepted/tizen/mobile/20170119.221659 accepted/tizen/tv/20170119.221919 accepted/tizen/wearable/20170119.222036 submit/tizen/20170119.070147
jongmyeongko [Thu, 19 Jan 2017 06:18:57 +0000 (15:18 +0900)]
Release Version 0.2.0

Changes:
- Fix appinfo to check additional db

the changes are not signicant but let's start new minor version
as the first relase version.

Change-Id: I20580bbaea96f48f91a3075a7516253dedf41066
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoMake the library version to be same as the pakcage version 87/110987/2
jongmyeongko [Thu, 19 Jan 2017 06:18:07 +0000 (15:18 +0900)]
Make the library version to be same as the pakcage version

Change-Id: Ic35cbe94f9150cdc97c194ecd1d36ab64adbba0a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix appinfo to check additional db 50/108850/4 accepted/tizen/3.0/common/20170131.161800 accepted/tizen/3.0/ivi/20170131.090416 accepted/tizen/3.0/mobile/20170131.090326 accepted/tizen/3.0/tv/20170131.090348 accepted/tizen/3.0/wearable/20170131.090402 submit/tizen_3.0/20170131.015755
Junghyun Yeon [Fri, 6 Jan 2017 04:59:35 +0000 (13:59 +0900)]
Fix appinfo to check additional db

- Add codes to check package_app_info_for_uid table to check
certain global app is disabled for this user or not.

Change-Id: Id0f0fb80872cb6443795e860f4a7e07f033d3b04
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix the row deletion failure of pkgmgr db 62/108762/2 accepted/tizen/3.0/common/20170109.083925 accepted/tizen/3.0/ivi/20170106.095000 accepted/tizen/3.0/mobile/20170106.094805 accepted/tizen/3.0/tv/20170106.094904 accepted/tizen/3.0/wearable/20170106.094931 accepted/tizen/common/20170112.174436 accepted/tizen/ivi/20170112.222531 accepted/tizen/mobile/20170112.222420 accepted/tizen/tv/20170112.222447 accepted/tizen/wearable/20170112.222510 submit/tizen/20170112.013301 submit/tizen_3.0/20170105.051635
jongmyeongko [Thu, 5 Jan 2017 13:12:31 +0000 (22:12 +0900)]
Fix the row deletion failure of pkgmgr db

Now, Trying to delete the empty row is always failed.

Change-Id: I979b32d85f2beb594677a3be4ae17a62d12b86cd
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoChange behavior of appinfo 69/107069/7 accepted/tizen/common/20170110.085156 accepted/tizen/ivi/20170106.103633 accepted/tizen/mobile/20170106.103416 accepted/tizen/tv/20170106.103520 accepted/tizen/wearable/20170106.103557 submit/tizen/20170105.051706
Junghyun Yeon [Mon, 26 Dec 2016 10:06:58 +0000 (19:06 +0900)]
Change behavior of appinfo

- When app disable filter has applied, code will check
app is disabled for certain user or not.
- Remove disable_for_user app filter and related values

Related changes:
[pkgmgr-tool] : https://review.tizen.org/gerrit/107098
[slp-pkgmgr] : https://review.tizen.org/gerrit/107263
[pkgmgr-server] : https://review.tizen.org/gerrit/107264

Change-Id: I887a92dbde508075a31732610502d4d401ca75e3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoChange checking status of pkg installed storage 20/108020/2
Junghyun Yeon [Mon, 2 Jan 2017 10:29:52 +0000 (19:29 +0900)]
Change checking status of pkg installed storage

- function will return ok only if given external storage path is readable
- It was changed to check existance of file due to permission issue but
now it is fixed so revert previous change

Change-Id: I629070e16bce1ba8b1ef4765b7721db9e18f1d8c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoUpdate will fail when there are no such record 82/106882/6
Junghyun Yeon [Fri, 23 Dec 2016 09:50:01 +0000 (18:50 +0900)]
Update will fail when there are no such record

- existance of record which mathes some conditions
will be checked when update transaction has happened in pkg db
- remove some useless db operation about mainappid.

Change-Id: Ifb04d9261e2067c5ecbe19505fc51c018bd12d15
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRemove unused codes 81/107981/3
Sangyoon Jang [Mon, 2 Jan 2017 06:33:08 +0000 (15:33 +0900)]
Remove unused codes

Change-Id: I40115a5b51acec3c9bd458081e127e0ef44702a5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoSeparate deprecated parser codes into another source file 63/107963/5
Sangyoon Jang [Mon, 2 Jan 2017 06:01:13 +0000 (15:01 +0900)]
Separate deprecated parser codes into another source file

Change-Id: I0145e271c8817afe8486c8516cd54acbbe705ee6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRevert "Temporary fix for hybrid pkg installation" 36/107236/3
Sangyoon Jang [Tue, 27 Dec 2016 07:54:13 +0000 (16:54 +0900)]
Revert "Temporary fix for hybrid pkg installation"

This reverts commit 7e8901a3d5cf426a17222c3c6be87f41ef9855cc.

Conflicts:
include/pkgmgrinfo_basic.h
src/pkgmgrinfo_basic.c

Now hybrid installer can merge manifest completely.

Submit with:
 - https://review.tizen.org/gerrit/107236
 - https://review.tizen.org/gerrit/107237
 - https://review.tizen.org/gerrit/107238
 - https://review.tizen.org/gerrit/107239

Change-Id: Id6262ca978129c028ed09a4102252a03b7658c2b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix setting global flag for appinfo 55/107155/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.122029 accepted/tizen/3.0.m2/tv/20170104.122501 accepted/tizen/3.0.m2/wearable/20170104.122850 accepted/tizen/3.0/common/20161228.071608 accepted/tizen/3.0/ivi/20161228.021722 accepted/tizen/3.0/mobile/20161228.021535 accepted/tizen/3.0/tv/20161228.021633 accepted/tizen/3.0/wearable/20161228.021701 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161227.023045
Sangyoon Jang [Tue, 27 Dec 2016 03:47:17 +0000 (12:47 +0900)]
Fix setting global flag for appinfo

Change-Id: I8245d3cdc4962b6b0be8a037fe53cb273f38b089
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix wrong insert query 44/107044/2 accepted/tizen/3.0/common/20161227.181339 accepted/tizen/3.0/ivi/20161227.141651 accepted/tizen/3.0/mobile/20161227.141503 accepted/tizen/3.0/tv/20161227.141530 accepted/tizen/3.0/wearable/20161227.141629 submit/tizen_3.0/20161226.101740
Junghyun Yeon [Mon, 26 Dec 2016 08:05:05 +0000 (17:05 +0900)]
Fix wrong insert query

- fix query to work properly for package_app_info_for_uid table

Change-Id: Iaeafb8fd476c4be57bdb05b8df2c97f691bf3e67
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRemove unnecessary column in package_app_info 32/107032/2
Junghyun Yeon [Mon, 26 Dec 2016 07:29:00 +0000 (16:29 +0900)]
Remove unnecessary column in package_app_info

- Remove app_enabled column in package_app_info and related codes
- Change implementation of internal APIs to refer app_disable column

Related changes:
[app-installers] : https://review.tizen.org/gerrit/107033
[tpk-backend] : https://review.tizen.org/gerrit/107034
[wgt-backend] : https://review.tizen.org/gerrit/107035

Change-Id: I64e62a117bdbdd4451ee1979bc766a02fdeac148
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoPass empty filter when the input filter is null 57/105757/3 accepted/tizen/3.0/common/20161227.101228 accepted/tizen/3.0/ivi/20161222.024817 accepted/tizen/3.0/mobile/20161222.024650 accepted/tizen/3.0/tv/20161222.024726 accepted/tizen/3.0/wearable/20161222.024747 submit/tizen_3.0/20161221.130430
Sangyoon Jang [Mon, 19 Dec 2016 10:31:22 +0000 (19:31 +0900)]
Pass empty filter when the input filter is null

Now filtered_foreach functions do something with input filter, so the filter
should not be null.
For making more simple and imporving readabilty, create and pass filter before
calling filtered_foreach.

Change-Id: I4cc3d138900d671f80521de70faf3fab835d5d73
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix double free 85/105685/1
Hwankyu Jhun [Mon, 19 Dec 2016 08:28:29 +0000 (17:28 +0900)]
Fix double free

Change-Id: I5f6e7698482750aeb523e93d48dca02cc0b61a8b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix abnormal behavior of appinfo 70/104670/2 accepted/tizen/3.0/common/20161216.122442 accepted/tizen/3.0/ivi/20161216.013342 accepted/tizen/3.0/mobile/20161216.013201 accepted/tizen/3.0/tv/20161216.013249 accepted/tizen/3.0/wearable/20161216.013310 submit/tizen_3.0/20161214.072903
Junghyun Yeon [Wed, 14 Dec 2016 05:11:38 +0000 (14:11 +0900)]
Fix abnormal behavior of appinfo

- When app_disable filter is not exists in app filter,
app_disable filter will be added with 'false'
- Fix to use tmp_filter at pkginfo filter to work properly
(It was missed at previous change)

Change-Id: I847d98a24794604097dc99a83840468532f7eb9f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix a bug at pkgmgrinfo_appinfo_is_support_ambient 24/104724/1
Sangyoon Jang [Wed, 14 Dec 2016 07:19:23 +0000 (16:19 +0900)]
Fix a bug at pkgmgrinfo_appinfo_is_support_ambient

Change-Id: I4afb326b0d9ae3fbf49d72904f59f38b411ee110
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix possible double-free issue 18/103018/2 accepted/tizen/3.0/common/20161208.153348 accepted/tizen/3.0/ivi/20161208.062725 accepted/tizen/3.0/mobile/20161208.062406 accepted/tizen/3.0/tv/20161208.062550 accepted/tizen/3.0/wearable/20161208.062635 submit/tizen_3.0/20161207.072901
Junghyun Yeon [Wed, 7 Dec 2016 04:56:21 +0000 (13:56 +0900)]
Fix possible double-free issue

Change-Id: I34831c8038e1e63d75ee46e4033930fab663cb26
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoImplement support ambient feature 74/102774/5
Sangyoon Jang [Tue, 6 Dec 2016 12:16:07 +0000 (21:16 +0900)]
Implement support ambient feature

- Add inserting support ambient value into db.
- Add api getting support ambient.
- Change naming: ambient_support -> support_ambient

Change-Id: I7a7e1c7bdfdab71852ab954bf2868917a9634f79
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRemove parsing legacy splash screens 17/102617/1
Sangyoon Jang [Tue, 6 Dec 2016 07:57:09 +0000 (16:57 +0900)]
Remove parsing legacy splash screens

This is moved to app-installers.

Submit with:
 - https://review.tizen.org/gerrit/102612

Change-Id: I690eb46db37a1059ba24d87d0e8f7e6131166180
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoAdd an exception handling 69/101569/1 accepted/tizen/3.0/common/20161203.012520 accepted/tizen/3.0/ivi/20161201.134736 accepted/tizen/3.0/mobile/20161201.134646 accepted/tizen/3.0/tv/20161201.134703 accepted/tizen/3.0/wearable/20161201.134721 submit/tizen_3.0/20161201.123639
Hwankyu Jhun [Thu, 1 Dec 2016 12:21:40 +0000 (21:21 +0900)]
Add an exception handling

- Check whether the variable is null pointer or not

Change-Id: I70a8ffeac2003e0b5e5bc0fef758688e00faa642
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoadd internal api for version comparison. 04/100304/4 accepted/tizen/3.0/common/20161203.012114 accepted/tizen/3.0/ivi/20161201.075319 accepted/tizen/3.0/mobile/20161201.075035 accepted/tizen/3.0/tv/20161201.075201 accepted/tizen/3.0/wearable/20161201.075238 submit/tizen_3.0/20161130.132739 submit/tizen_3.0/20161201.023740 submit/tizen_3.0/20161201.024602
jongmyeongko [Sat, 26 Nov 2016 00:29:28 +0000 (09:29 +0900)]
add internal api for version comparison.

Change-Id: I10cbc25ce0517856352558ba5a5de45da481c3b2
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoAdd filter property to retrieve external-installed app 15/100515/6
Junghyun Yeon [Mon, 28 Nov 2016 09:58:53 +0000 (18:58 +0900)]
Add filter property to retrieve external-installed app

- Functions could use new filters to retrieve app's info
which is installed externally but external storage has removed

Change-Id: I23a6e8cfc9fd5b4265f1bb28e21d08ea56590a32
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix add metadata filter value string 27/100827/1 accepted/tizen/3.0/common/20161130.065304 accepted/tizen/3.0/ivi/20161130.012622 accepted/tizen/3.0/mobile/20161130.012509 accepted/tizen/3.0/tv/20161130.012548 accepted/tizen/3.0/wearable/20161130.012605 submit/tizen_3.0/20161129.101050
Sangyoon Jang [Tue, 29 Nov 2016 10:03:00 +0000 (19:03 +0900)]
Fix add metadata filter value string

Set if valid value passed.

Change-Id: I50d0937f0500f88d477d3ab9ee49e5fe5727832e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoAdd new functions to retrieve information of disabled package 63/99263/3 accepted/tizen/3.0/common/20161125.101758 accepted/tizen/3.0/ivi/20161125.081933 accepted/tizen/3.0/mobile/20161125.081604 accepted/tizen/3.0/tv/20161125.081748 accepted/tizen/3.0/wearable/20161125.081859 submit/tizen_3.0/20161124.130849
Junghyun Yeon [Tue, 22 Nov 2016 08:44:41 +0000 (17:44 +0900)]
Add new functions to retrieve information of disabled package

- add function pkgmgrinfo_pkginfo_get_usr_all_pkginfo function
to retrieve information of disabled packages

Change-Id: Ie4d20981ea84dcc82e61638b464689511e9e703e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRemove unused type 55/99955/2
Sangyoon Jang [Fri, 4 Nov 2016 01:12:49 +0000 (10:12 +0900)]
Remove unused type

Change-Id: Ie164948a1d85b71af8fe5e2b2fa6b092c1da371e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoCheck if privilege is NULL before free it 62/99262/3
Bartlomiej Kunikowski [Tue, 22 Nov 2016 08:37:20 +0000 (09:37 +0100)]
Check if privilege is NULL before free it

Change-Id: Ia100e9e46d76bf261f22a057644e640ad5e632f8

7 years agoFix to merge of 'Reworking handling priviliges' commit 97/97497/4
Bartlomiej Kunikowski [Thu, 10 Nov 2016 09:53:38 +0000 (10:53 +0100)]
Fix to merge of 'Reworking handling priviliges' commit

Change-Id: Iefffd85c515ede263d0cde716da3f30ef73af990

7 years agoImplement apis getting disabled pkginfo 44/99944/2
Sangyoon Jang [Thu, 24 Nov 2016 12:21:40 +0000 (21:21 +0900)]
Implement apis getting disabled pkginfo

Added:
 - pkgmgrinfo_pkginfo_get_disabled_pkginfo
 - pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo
 - pkgmgrinfo_pkginfo_get_disabled_list
 - pkgmgrinfo_pkginfo_get_usr_disabled_list

Submit with:
 - https://review.tizen.org/gerrit/99922
 - https://review.tizen.org/gerrit/99923

Change-Id: I9808cf126eb99e7043de30477043ce4bbc84facd
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoMerge "Revert "Revert "Remove pkgmgrinfo_client_xxx""" into tizen_3.0 sandbox/vbarinov/ubsan accepted/tizen/3.0/common/20161124.181946 accepted/tizen/3.0/ivi/20161124.030513 accepted/tizen/3.0/mobile/20161124.030356 accepted/tizen/3.0/tv/20161124.030427 accepted/tizen/3.0/wearable/20161124.030450 accepted/tizen/common/20161125.095255 accepted/tizen/ivi/20161125.004208 accepted/tizen/mobile/20161125.003700 accepted/tizen/tv/20161125.003927 accepted/tizen/wearable/20161125.004049 submit/tizen/20161124.000829 submit/tizen_3.0/20161123.114701
jongmyeong ko [Wed, 23 Nov 2016 11:44:18 +0000 (03:44 -0800)]
Merge "Revert "Revert "Remove pkgmgrinfo_client_xxx""" into tizen_3.0

7 years agoRevert "Revert "Remove pkgmgrinfo_client_xxx"" 34/99434/1
Sangyoon Jang [Wed, 23 Nov 2016 01:51:49 +0000 (10:51 +0900)]
Revert "Revert "Remove pkgmgrinfo_client_xxx""

This reverts commit d07f19b2c43fdd099dd028b5dfdc83e4469927af.

Conflicts:
CMakeLists.txt

Change-Id: I19a43692af29c8e7249c4615b5fd9e526c47788b

7 years agoFix abnormal behavior of pkginfo functions 56/98656/3
Junghyun Yeon [Fri, 18 Nov 2016 06:28:09 +0000 (15:28 +0900)]
Fix abnormal behavior of pkginfo functions

- If package_disable filter has applied
  hen retrieving pkg info, it will be used.
- Otherwise, package_disable='false' filter will
  be applied automatically

Change-Id: Ia4a76bf34109ec8470d58b29ce038d9d92677622
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdd types for pkg/app support mode 45/98045/5
Junghyun Yeon [Wed, 16 Nov 2016 04:41:46 +0000 (13:41 +0900)]
Add types for pkg/app support mode

- Add string types for pkg/app support mode
- Add comment about OR-ing of support mode.
  db column which is for pkg/app support mode should
  store support mode of itself.

Change-Id: I2d6b20f3ca67ed26e0ec9971f8a9e751f7b445b8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoadd considering global app to get label info 16/98116/2 accepted/tizen/3.0/common/20161118.193023 accepted/tizen/3.0/ivi/20161118.004201 accepted/tizen/3.0/mobile/20161118.004049 accepted/tizen/3.0/tv/20161118.004117 accepted/tizen/3.0/wearable/20161118.004140 submit/tizen_3.0/20161117.054138
jongmyeongko [Wed, 16 Nov 2016 07:25:05 +0000 (16:25 +0900)]
add considering global app to get label info

Change-Id: Ic981a1f4aca462c4c99b912aff68ec28e4d98188
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix static analysis problem 08/98308/2
Junghyun Yeon [Thu, 17 Nov 2016 04:31:40 +0000 (13:31 +0900)]
Fix static analysis problem

Change-Id: I97500ba53de09e83905e0fbc385e631cdcac28c4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoMove internal headers to src directory 37/98037/5
Sangyoon Jang [Wed, 16 Nov 2016 02:40:53 +0000 (11:40 +0900)]
Move internal headers to src directory

Change-Id: I68181ae1eba05f0c1463c6367c949d9d01d3faa7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoChange column name defined in query 32/98132/1 accepted/tizen/3.0/common/20161117.090614 accepted/tizen/3.0/ivi/20161117.083423 accepted/tizen/3.0/mobile/20161117.083328 accepted/tizen/3.0/tv/20161117.083341 accepted/tizen/3.0/wearable/20161117.083405 submit/tizen_3.0/20161116.081158
Junghyun Yeon [Wed, 16 Nov 2016 07:56:39 +0000 (16:56 +0900)]
Change column name defined in query

- Change wrong column name

Change-Id: Ib45510caa14d17664358e84a3adf6e1fddbe94d3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoImplement support_mode related feature 08/97508/3 accepted/tizen/3.0/common/20161116.143515 accepted/tizen/3.0/ivi/20161116.022242 accepted/tizen/3.0/mobile/20161116.022021 accepted/tizen/3.0/tv/20161116.022125 accepted/tizen/3.0/wearable/20161116.022204 submit/tizen_3.0/20161115.024443
Junghyun Yeon [Mon, 14 Nov 2016 10:14:41 +0000 (19:14 +0900)]
Implement support_mode related feature

Related changes:
[app-installers] : https://review.tizen.org/gerrit/97702
[tpk-manifest-handlers] : https://review.tizen.org/gerrit/97699

Change-Id: Iff9193028a773161c3a09a63dd8508c3ca5fdaff
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix coding rules 01/97901/1
Junghyun Yeon [Tue, 15 Nov 2016 08:53:39 +0000 (17:53 +0900)]
Fix coding rules

Change-Id: Ie777703854533a13c216cdf0087aa4169c054050
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoImplement pkgmgr_parser_update_app_label_info_in_db for app label change 48/97348/2
Junghyun Yeon [Mon, 14 Nov 2016 02:42:03 +0000 (11:42 +0900)]
Implement pkgmgr_parser_update_app_label_info_in_db for app label change

Change-Id: I33e506cd698189812c59783cf9cd25acc5ffb8ec
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix checking installed storage 98/97298/2 accepted/tizen/3.0/common/20161115.184604 accepted/tizen/3.0/ivi/20161114.070005 accepted/tizen/3.0/mobile/20161114.065857 accepted/tizen/3.0/tv/20161114.065920 accepted/tizen/3.0/wearable/20161114.065945 submit/tizen_3.0/20161113.234301
Hwankyu Jhun [Sun, 13 Nov 2016 22:50:40 +0000 (07:50 +0900)]
Fix checking installed storage

- Use F_OK option instead of R_OK option

Change-Id: Ic2960c710348657c017d84e2e5a721a383e2208e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agomake it to extendible structure for adding sources and headers 90/97090/3 accepted/tizen/3.0/common/20161114.143107 accepted/tizen/3.0/ivi/20161114.002550 accepted/tizen/3.0/mobile/20161114.002420 accepted/tizen/3.0/tv/20161114.002459 accepted/tizen/3.0/wearable/20161114.002523 submit/tizen_3.0/20161111.080112 submit/tizen_3.0_common/20161114.081136
jongmyeongko [Fri, 11 Nov 2016 06:33:10 +0000 (15:33 +0900)]
make it to extendible structure for adding sources and headers

Change-Id: I0366020a10cc84676a36177dd2eea5ccbcc9535c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>