platform/framework/web/download-provider.git
8 years agoFix memory leak issue 21/70221/1
jaekuk, lee [Thu, 19 May 2016 00:58:42 +0000 (09:58 +0900)]
Fix memory leak issue

Change-Id: Ic10461bd43188bbc08d53e1280dada3e04ff203e
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
8 years agoFix SVACE issue : WGID 81541 31/69731/1 accepted/tizen/mobile/20160518.004538 accepted/tizen/tv/20160518.004512 accepted/tizen/wearable/20160518.004458 submit/tizen_mobile/20160517.081740 submit/tizen_tv/20160517.081748 submit/tizen_wearable/20160517.081757
min7.choi [Mon, 16 May 2016 11:21:43 +0000 (20:21 +0900)]
Fix SVACE issue : WGID 81541

Change-Id: I582b45c484b654ee6943cfb02b7a10fc2a9cc419
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoSync with tizen_2.4, latest 42/69642/1 accepted/tizen/mobile/20160516.091818 accepted/tizen/tv/20160516.091727 accepted/tizen/wearable/20160516.091821 submit/tizen_mobile/20160516.083439 submit/tizen_tv/20160516.083444 submit/tizen_wearable/20160516.083449
min7.choi [Mon, 16 May 2016 08:17:16 +0000 (17:17 +0900)]
Sync with tizen_2.4, latest

- Fix memory leak bug
- Fix repeated deallocate bug
- Fix Security issue
- Fix Large file download issue

Change-Id: I80e5df5a116f939a2ede51d2f5327bd69ea2f295
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoSync with tizen_2.4, 201601 34/69634/1 submit/tizen_mobile/20160516.075625 submit/tizen_tv/20160516.075629 submit/tizen_wearable/20160516.075636
min7.choi [Mon, 16 May 2016 07:53:15 +0000 (16:53 +0900)]
Sync with tizen_2.4, 201601

- Fix bug of file name contain 2 more '.'
- Fix mime type and extension bug
- Fix smack issue for usb drive

Change-Id: I3fe862a6d5dde42f55ee2b9eda3c59e6f9295d6b
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoRevert "Sync with tizen_2.4, 201601" 29/69629/2 submit/tizen_mobile/20160516.074922 submit/tizen_tv/20160516.074927 submit/tizen_wearable/20160516.074931
Minseok Choi [Mon, 16 May 2016 07:43:26 +0000 (00:43 -0700)]
Revert "Sync with tizen_2.4, 201601"

    - Fix bug of file name contain 2 more '.'
    - Fix mime type and extension bug
    - Fix smack issue for usb drive

This reverts commit d190ef2fd09507881dbc45f9875774138ad85d9f.

Change-Id: I6d309f791b4c67218eb2f8b6958f2461be85787a

8 years agoSync with tizen_2.4, 201601 26/69626/1
min7.choi [Mon, 16 May 2016 07:38:16 +0000 (16:38 +0900)]
Sync with tizen_2.4, 201601

Change-Id: Idbbcaef7a597a000f9a367af2c505920220bcc9e
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoFix hard-coded path 24/69624/1 submit/tizen_mobile/20160516.072737 submit/tizen_tv/20160516.072744 submit/tizen_wearable/20160516.072748
min7.choi [Mon, 16 May 2016 07:22:23 +0000 (16:22 +0900)]
Fix hard-coded path

Change-Id: Ia5d07507a7f5b14940c9e3efccb7d5210b4d0c2a
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoSync with tizen_2.4 201512 69/69569/1 submit/tizen_mobile/20160516.030006 submit/tizen_tv/20160516.030012 submit/tizen_wearable/20160516.030019
min7.choi [Mon, 16 May 2016 02:17:07 +0000 (11:17 +0900)]
Sync with tizen_2.4 201512

- Modify log level
- Saving of Image with space in it resolved
- Possible fix for the different existing file extesions,
  choose file extension over mime type if both exists.
- Fix SVACE 622008
- Fix file name length problem
- Fix prevent defects in download-agent-file.c
- Fix prevent defects regarding memory leakage
- Fix file name bug
- Fix file name memory problem

Change-Id: I30a39de864308b83eb9b375432445ddb0d17bc33
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoSync with tizen_2.4, 201511 22/69422/1 accepted/tizen/mobile/20160513.082551 accepted/tizen/tv/20160513.082542 accepted/tizen/wearable/20160513.082545 submit/tizen_mobile/20160513.064904 submit/tizen_tv/20160513.064919 submit/tizen_wearable/20160513.064938
min7.choi [Fri, 13 May 2016 06:42:06 +0000 (15:42 +0900)]
Sync with tizen_2.4, 201511

- Add define to separate emul and target
- Remove () in candidate file name
- Fix max value problems of download id
- Debugging the log macro
- Add null check,remove secure error code
- Remove vconf for user agent
- Fix Prevent in tizen 2.4

Change-Id: Id1e5d2ed6dcc15633c3dc09521404e7291a59a78
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoRelease 2.1.26 24/68624/1 accepted/tizen/mobile/20160509.062527 accepted/tizen/tv/20160509.062644 accepted/tizen/wearable/20160509.062701 submit/tizen_mobile/20160509.025040 submit/tizen_tv/20160509.025029 submit/tizen_wearable/20160509.025050
HyeKyoung Hwang [Mon, 9 May 2016 02:49:00 +0000 (11:49 +0900)]
Release 2.1.26

Change-Id: Ifc26ccfbce8f507d100cd8c8e01fbcc44adbc51c
Signed-off-by: HyeKyoung Hwang <cookie@samsung.com>
8 years agoFix SVACE issue : WGID 25417 87/68187/2 submit/tizen_mobile/20160509.011005 submit/tizen_tv/20160509.011015 submit/tizen_wearable/20160509.011021
min7.choi [Tue, 3 May 2016 02:15:53 +0000 (11:15 +0900)]
Fix SVACE issue : WGID 25417

[issue] WGID 25417
[Problem] DEREF_AFTER_NULL.EX
[Solution] Add null check before pointer value dereference
[Verify] Latest SVACE result

Change-Id: I8bf6031243034ac8598a51c1edd7e491f8f67776
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoFix arch-type of emulator issue 02/68102/2
min7.choi [Mon, 2 May 2016 08:27:12 +0000 (17:27 +0900)]
Fix arch-type of emulator issue

[Issue]    http://suprem.sec.samsung.net/jira/browse/TSAM-2677
           http://suprem.sec.samsung.net/jira/browse/TSAM-2675
[Problem]  there is not /usr/lib64 directory
[Solution] Changed the arch-type in download-provider.spec file
[Verify]   gbs build success

Change-Id: I726cd469cff0423b8b78c95eb30ec06d816019f3
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoModify license-name in spec file 14/63814/1 accepted/tizen/common/20160406.145345 accepted/tizen/mobile/20160405.013334 accepted/tizen/tv/20160405.013552 accepted/tizen/wearable/20160405.013722 submit/tizen_common/20160505.135200 submit/tizen_common/20160506.103415 submit/tizen_mobile/20160328.073502 submit/tizen_tv/20160328.073452 submit/tizen_wearable/20160328.073512
min7.choi [Mon, 28 Mar 2016 02:39:51 +0000 (11:39 +0900)]
Modify license-name in spec file

Change-Id: I64e91905968de52c3fa9e374eaa149d8f6da7efc
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoFix SVACE issue WGID : 56518 24/63624/1 accepted/tizen/mobile/20160325.073630 accepted/tizen/tv/20160325.073656 accepted/tizen/wearable/20160325.073734 submit/tizen_mobile/20160325.041617 submit/tizen_tv/20160325.041605 submit/tizen_wearable/20160325.044527 submit/tizen_wearable/20160325.065534
min7.choi [Fri, 25 Mar 2016 04:05:01 +0000 (13:05 +0900)]
Fix SVACE issue WGID : 56518

Change-Id: Ic905c7144141c3c91be993bf89a0a51e42bd5f0b
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoFix diretory path issue 61/63361/1 accepted/tizen/mobile/20160324.132453 accepted/tizen/tv/20160324.132332 submit/tizen_mobile/20160324.005509 submit/tizen_tv/20160324.005457
min7.choi [Wed, 23 Mar 2016 10:03:51 +0000 (19:03 +0900)]
Fix diretory path issue

Change-Id: I24c2284020d5db8c5d465a4e208acbbf9121f4d6
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoFix SVACE issue : WGID 34575 54/63254/1 accepted/tizen/mobile/20160323.074712 accepted/tizen/mobile/20160323.140205 accepted/tizen/tv/20160323.074906 accepted/tizen/tv/20160323.140316 submit/tizen_mobile/20160323.025929 submit/tizen_mobile/20160323.104006 submit/tizen_tv/20160323.025919 submit/tizen_tv/20160323.103954
min7.choi [Wed, 23 Mar 2016 02:45:02 +0000 (11:45 +0900)]
Fix SVACE issue : WGID 34575

Change-Id: Id6c1963e49002320138df09f648509d8d7abacd0
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoFix SVACE issue : WGID 56518 30/62930/1 accepted/tizen/mobile/20160323.013930 accepted/tizen/tv/20160323.014023 submit/tizen_mobile/20160322.102141 submit/tizen_tv/20160322.102129
min7.choi [Mon, 21 Mar 2016 06:28:34 +0000 (15:28 +0900)]
Fix SVACE issue : WGID 56518

Change-Id: If11a5ed1fe523ce3febac95b5a1d9c0ca26dc94d
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoFix SVace issue localtimer - WGID 46818, 47048 65/62765/1 accepted/tizen/mobile/20160318.114153 accepted/tizen/tv/20160318.114234 submit/tizen_mobile/20160318.053247 submit/tizen_tv/20160318.053231
cookie [Fri, 18 Mar 2016 05:11:16 +0000 (14:11 +0900)]
Fix SVace issue localtimer -  WGID 46818, 47048

Change-Id: I701f463fbc043fbf52a0ef018627c5435072a5f6
Signed-off-by: cookie <cookie@samsung.com>
8 years agofix the Svace issue for TRACE_STRERROR 63/62763/1
cookie [Fri, 18 Mar 2016 04:50:37 +0000 (13:50 +0900)]
fix the Svace issue for TRACE_STRERROR

Change-Id: Ifcad1050d42c8ca1f818241e6891976e94019a78
Signed-off-by: cookie <cookie@samsung.com>
8 years agoFix the Svace Issue for strerror 59/62759/1
cookie [Fri, 18 Mar 2016 04:16:48 +0000 (13:16 +0900)]
Fix the Svace Issue for strerror

Change-Id: Ie661af1854fa9f86423d6f0afe9df5f9d55e32d8
Signed-off-by: cookie <cookie@samsung.com>
8 years agoMerge "Use aul_app_get_appid_bypid_for_uid() to get appid" into tizen
Hye Kyoung Hwang [Fri, 18 Mar 2016 04:03:29 +0000 (21:03 -0700)]
Merge "Use aul_app_get_appid_bypid_for_uid() to get appid" into tizen

8 years agoUse aul_app_get_appid_bypid_for_uid() to get appid 46/62746/1
sungwon2.han [Fri, 18 Mar 2016 03:01:32 +0000 (12:01 +0900)]
Use aul_app_get_appid_bypid_for_uid() to get appid

Change-Id: I4d830f9d54fa8f1d2320cc2027901fe254b122cd

8 years agoFix Svace issue 35/62635/1
min7.choi [Thu, 17 Mar 2016 07:01:48 +0000 (16:01 +0900)]
Fix Svace issue

Change-Id: I38f9d7d12b189e1cc06bae3cb25b7b433a1eb5d7
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoFix get_available_memory() 80/62580/1
min7.choi [Thu, 17 Mar 2016 00:37:17 +0000 (09:37 +0900)]
Fix get_available_memory()

Change-Id: I9ebe876a55ef40dfc1e78973fed68a2c272e257e
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoFix download-provider.spec file for emulator initialize 76/62576/1 accepted/tizen/common/20160317.160142 accepted/tizen/ivi/20160318.112520 accepted/tizen/mobile/20160318.111655 accepted/tizen/tv/20160318.112043 submit/tizen/20160317.002122
min7.choi [Thu, 17 Mar 2016 00:15:21 +0000 (09:15 +0900)]
Fix download-provider.spec file for emulator initialize

Change-Id: I8d8a214d3ff8f2d3cca2149c0e82065dc5e1cf70
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoReplace hard-coded paths with Tizen config variables 94/61094/7 accepted/tizen/common/20160310.074223 accepted/tizen/ivi/20160310.053629 accepted/tizen/mobile/20160310.053528 accepted/tizen/tv/20160310.053552 accepted/tizen/wearable/20160310.053612 submit/tizen/20160309.042246
min7.choi [Fri, 4 Mar 2016 02:35:19 +0000 (11:35 +0900)]
Replace hard-coded paths with Tizen config variables

Change-Id: Ifeffaa43e06b1183e1f72fe7bb25355a879f2353
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoremove sys-assert dependency 44/55844/1 accepted/tizen/ivi/20160218.024446 accepted/tizen/mobile/20151231.073141 accepted/tizen/tv/20151231.073159 accepted/tizen/wearable/20151231.073214 submit/tizen/20151231.023411 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000004
min7.choi [Wed, 30 Dec 2015 01:33:41 +0000 (10:33 +0900)]
remove sys-assert dependency

Change-Id: Ib3e068c86405b574a01e22b2c0a628dcd09667cb
Signed-off-by: min7.choi <min7.choi@samsung.com>
8 years agoAdd free() 34/55134/1 accepted/tizen/mobile/20151222.090655 accepted/tizen/tv/20151222.090712 accepted/tizen/wearable/20151222.090732 submit/tizen/20151222.065729 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
gloryj.kim [Tue, 22 Dec 2015 06:54:39 +0000 (15:54 +0900)]
Add free()

Change-Id: Idab735b08debaba49ee1728928d54007fdf2a9f1

8 years agoAdd libcurl certificate pinning 80/54780/2 accepted/tizen/mobile/20151218.044401 accepted/tizen/tv/20151218.044346 accepted/tizen/wearable/20151218.044343 submit/tizen/20151218.023250
gloryj.kim [Fri, 18 Dec 2015 01:51:46 +0000 (10:51 +0900)]
Add libcurl certificate pinning

Change-Id: I0479f44b7675b08307f1c4285ec251381c060832

8 years agoMerge "Include bundle_internal.h for internal bundle apis" into tizen
Youngjae Kim [Thu, 17 Dec 2015 08:18:12 +0000 (00:18 -0800)]
Merge "Include bundle_internal.h for internal bundle apis" into tizen

8 years agoInclude bundle_internal.h for internal bundle apis 31/54331/1
SukHyung, Kang [Tue, 15 Dec 2015 02:31:02 +0000 (11:31 +0900)]
Include bundle_internal.h for internal bundle apis

Change-Id: I7d6e16aec5e379ce51a907c2e4dbb463f3a7b361
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
8 years agoRemove meaningless condition check on curl_multi 17/53317/1
Kyungwook Tak [Fri, 4 Dec 2015 01:35:46 +0000 (10:35 +0900)]
Remove meaningless condition check on curl_multi

Change-Id: Id4a449001942a07bf90595b48e51899c10b2e214
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoAdd openssl lock and protect pthread_cancel crash 55/48955/1 accepted/tizen/mobile/20151006.224850 accepted/tizen/tv/20151006.224857 accepted/tizen/wearable/20151006.224908 submit/tizen/20151006.085933 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
min7.choi [Fri, 2 Oct 2015 06:03:29 +0000 (15:03 +0900)]
Add openssl lock and protect pthread_cancel crash

Change-Id: I40f642eb5a5fe9c703240d2f1c5b45b028cf662e
Signed-off-by: min7.choi <min7.choi@samsung.com>
9 years agoImplement cynara check for CTC 80/47880/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150909.140916 accepted/tizen/tv/20150909.140239 accepted/tizen/wearable/20150909.135252 submit/tizen/20150909.131918 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
gloryj.kim [Wed, 9 Sep 2015 12:57:07 +0000 (21:57 +0900)]
Implement cynara check for CTC

Change-Id: I5688a220d9cd0f0b4f76b2fad3cdbb4aa3d6e6a8

9 years agoFix ITC fail issue 75/47475/1 accepted/tizen/mobile/20150903.233712 accepted/tizen/tv/20150903.233721 accepted/tizen/wearable/20150903.233733 submit/tizen/20150903.144228
min7.choi [Thu, 3 Sep 2015 14:35:25 +0000 (23:35 +0900)]
Fix ITC fail issue
- DOWNLOAD_ERROR_IO_ERROR

Change-Id: I4b7e4cd23925380ed4225ad2d8a2169f62cd55d7
Signed-off-by: min7.choi <min7.choi@samsung.com>
9 years agoFix notify dir's SMACK issuse 81/46781/1 accepted/tizen/mobile/20150826.070046 accepted/tizen/tv/20150826.070145 accepted/tizen/wearable/20150826.070240 submit/tizen/20150826.061841
gloryj.kim [Wed, 26 Aug 2015 06:17:13 +0000 (15:17 +0900)]
Fix notify dir's SMACK issuse

Change-Id: Ie2197e616ddae53c3ee1e36b903455fd51ff6612

9 years agoResolve TCT fail issue 67/46667/1 accepted/tizen/mobile/20150825.060942 accepted/tizen/tv/20150825.060955 accepted/tizen/wearable/20150825.061013 submit/tizen/20150824.142341
gloryj.kim [Mon, 24 Aug 2015 14:22:31 +0000 (23:22 +0900)]
Resolve TCT fail issue

Change-Id: I94fb900349460a027a81eb6492484747c53ccdf2

9 years agoFix SMACK deny for notify dir 89/46189/1
gloryj.kim [Tue, 18 Aug 2015 01:42:18 +0000 (10:42 +0900)]
Fix SMACK deny for notify dir

Change-Id: I9e1abcc5d7708a5d6344262387ad36d6af439515

9 years agoMerge "Change systemd files location from lib64 to lib" into tizen
gloryj.kim [Thu, 30 Jul 2015 08:35:43 +0000 (01:35 -0700)]
Merge "Change systemd files location from lib64 to lib" into tizen

9 years agoChange systemd files location from lib64 to lib 89/44989/1 accepted/tizen/mobile/20150730.121920 accepted/tizen/tv/20150730.122040 accepted/tizen/wearable/20150730.122200 submit/tizen/20150730.083608
gloryj.kim [Thu, 30 Jul 2015 08:34:13 +0000 (17:34 +0900)]
Change systemd files location from lib64 to lib

Change-Id: Ie2999f078f7a324f065ebca53929596334a87c0c

9 years agoRemove chsmack for new security rule of 3.0 49/44149/2
gloryj.kim [Fri, 17 Jul 2015 08:03:14 +0000 (17:03 +0900)]
Remove chsmack for new security rule of 3.0

Change-Id: I5f51aa87187fa163baae9e11980171808cd60dbf

9 years agoRmove chsmack for new security rule of 3.0 49/44149/1 accepted/tizen/mobile/20150717.103205 accepted/tizen/tv/20150717.103332 accepted/tizen/wearable/20150717.103453 submit/tizen/20150717.080533
gloryj.kim [Fri, 17 Jul 2015 08:03:14 +0000 (17:03 +0900)]
Rmove chsmack for new security rule of 3.0

Change-Id: I5f51aa87187fa163baae9e11980171808cd60dbf

9 years agoModify SMACK manifest, service, socket requested by Security Lab. 46/42746/1 accepted/tizen/mobile/20150702.083009 accepted/tizen/tv/20150702.083030 accepted/tizen/wearable/20150702.083051 submit/tizen/20150702.051551
gloryj.kim [Thu, 2 Jul 2015 05:11:30 +0000 (14:11 +0900)]
Modify SMACK manifest, service, socket requested by Security Lab.

Change-Id: I966f8ef4b994e11877e12b10bfbd02c8efd46b59

9 years agoAdd notification headers 68/40768/1 accepted/tizen/3.0.2015.q2/common/20150619.134355 accepted/tizen/common/20150612.065900 accepted/tizen/mobile/20150615.071217 accepted/tizen/tv/20150615.071242 accepted/tizen/wearable/20150617.012831 submit/tizen/20150609.020831 submit/tizen/20150609.074149 submit/tizen/20150611.063059 submit/tizen_3.0.2015.q2_common/20150615.075539 submit/tizen_3.0.2015.q2_common/20150618.074521 submit/tizen_mobile/20150609.015041 submit/tizen_mobile/20150612.084020 submit/tizen_tv/20150612.084103 submit/tizen_wearable/20150616.000000 submit/tizen_wearble/20150612.084038
gloryj.kim [Tue, 9 Jun 2015 02:05:49 +0000 (11:05 +0900)]
Add notification headers

Change-Id: I3c4ad3c7bbe6c89e92ccbc711342daa219edd3b6

9 years agoFix errors of LIB INSTALL DIR 24/40724/1 accepted/tizen/3.0.2015.q2/common/20150609.181941 accepted/tizen/common/20150608.151249 accepted/tizen/mobile/20150609.011901 accepted/tizen/tv/20150609.011821 accepted/tizen/wearable/20150609.011840 submit/tizen/20150608.102459 submit/tizen_3.0.2015.q2_common/20150609.170642
gloryj.kim [Mon, 8 Jun 2015 10:23:55 +0000 (19:23 +0900)]
Fix errors of LIB INSTALL DIR

Change-Id: Ieee876fb63be6b7d80258d8631ce7cde78e933e7

9 years agoFix build errors by notification headers 18/40718/1 submit/tizen/20150608.094656
gloryj.kim [Mon, 8 Jun 2015 09:45:29 +0000 (18:45 +0900)]
Fix build errors by notification headers

Change-Id: I34ddf1b29d7a56844f650a0ab7e773109e33d708

9 years agoNew Download Provider for Tizen 3.0 13/40713/1
gloryj.kim [Mon, 8 Jun 2015 09:33:11 +0000 (18:33 +0900)]
New Download Provider for Tizen 3.0

Change-Id: Id947c37a33ba01889bc41b7f6cab56704bdb6eab

9 years agoRemove old version 12/40712/1
gloryj.kim [Mon, 8 Jun 2015 09:30:55 +0000 (18:30 +0900)]
Remove old version

Change-Id: Ib68046ba96a4f8666af52780ca7b676c433e2b90

9 years agoAdd notification's modification 25/40525/1 submit/tizen_common/20150608.081142 submit/tizen_mobile/20150604.105928
gloryj.kim [Fri, 5 Jun 2015 02:00:42 +0000 (11:00 +0900)]
Add notification's modification

Change-Id: Ie4c104d0a6f68621be3e6ba271b5d703ec7c8da5

9 years agoReplace app_manager_get_package() with app_manager_get_app_id() 21/35921/1 accepted/tizen/common/20150527.135051 accepted/tizen/mobile/20150528.004203 accepted/tizen/tv/20150528.004126 accepted/tizen/wearable/20150528.004138 submit/tizen/20150527.115426
Suchang Woo [Thu, 26 Feb 2015 06:17:45 +0000 (15:17 +0900)]
Replace app_manager_get_package() with app_manager_get_app_id()

app_manager_get_package() is deprecated.

Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
Change-Id: Icd8b587ccc7ce9f0c1dcde3ced40397f676ccf79

9 years agoMerge "packaging: improvement of dependencies" into tizen tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/common/20150122.101954 accepted/tizen/common/20150320.155018 accepted/tizen/mobile/20150304.131057 accepted/tizen/wearable/20150128.040601 submit/tizen_common/20150121.102138 submit/tizen_common/20150121.102513 submit/tizen_common/20150320.125801 submit/tizen_mobile/20150129.000000 submit/tizen_mobile/20150213.000000 submit/tizen_mobile/20150223.000000 submit/tizen_mobile/20150302.000000 submit/tizen_tv/20150130.000000 submit/tizen_tv/20150130.050505 submit/tizen_wearable/20150127.000000
Dominig ar Foll [Mon, 12 Jan 2015 15:52:20 +0000 (07:52 -0800)]
Merge "packaging: improvement of dependencies" into tizen

9 years agoFix packaging for multi-seat 98/32498/1 tizen_3.0_ivi accepted/tizen/ivi/20150108.010318 submit/tizen_ivi/20150107.121639 tizen_3.0_ivi_release
Jussi Laako [Mon, 3 Nov 2014 15:09:33 +0000 (17:09 +0200)]
Fix packaging for multi-seat

Change-Id: I815fa8dc1e42fd758b68751ec2be907129d85c2b
Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
9 years agopackaging: improvement of dependencies 46/31646/1
José Bollo [Mon, 8 Dec 2014 11:06:19 +0000 (12:06 +0100)]
packaging: improvement of dependencies

Change-Id: Ib1c1dd108e112a9a795c6becc0248a2e0db783bd
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
10 years agoMake dowload provider run properly with multi-user and on 64 bit architecture 23/24123/3 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi accepted/tizen/common/20140813.164908 submit/tizen_common/20140813.163208 submit/tizen_ivi/20140818.000000 submit/tizen_ivi/20140818.000001 submit/tizen_ivi/20140818.000002 submit/tizen_ivi/20140820.000000 submit/tizen_ivi/20140822.000000 submit/tizen_ivi/20140825.000000 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
Romuald Texier-Marcadé [Mon, 7 Jul 2014 13:01:02 +0000 (15:01 +0200)]
Make dowload provider run properly with multi-user and on 64 bit architecture

bug fixes:
 - get smack fs path from smack API
 - use int type with ioctl FIONREAD to get correct values on both 64 and 32 bits arches
 - fixed wrong usage of smack_new_label_from_socket
 - moved management of default destination to CAPI in order to run the code
with user privileges
 - removed code trying to guess remaining disk space because it only checked an
unreachable, hard coded folder instead of real destination. The case when the disk
is full is already handled at writing time.
 - added dependency on net-config (in specfile) because DP can't work properly
without it.

Bug-Tizen: TC-1409
Bug-Tizen: TC-1415
Change-Id: Ib98cabfd074313e2ac37300ce1af5e318de6327f
Signed-off-by: Romuald Texier-Marcadé <romuald.texier-marcade@open.eurogiciel.org>
10 years agoMerge "Move download provider database" into tizen tizen_3.0.m14.2_ivi submit/tizen_common/20140527.073840 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140618.000004 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 tizen_3.0.m14.2_ivi_release
Baptiste DURAND [Tue, 27 May 2014 07:36:09 +0000 (00:36 -0700)]
Merge "Move download provider database" into tizen

10 years agoMove download provider database 11/21711/1
Jean-Benoit MARTIN [Mon, 26 May 2014 14:52:00 +0000 (16:52 +0200)]
Move download provider database

Database user to system

Change-Id: I8146e9e0afc63a91fc1886d8395578b8ad96951b
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
10 years ago[FIX] buffer overflow in download-provider. 18/21618/1
Romuald Texier-Marcadé [Fri, 23 May 2014 13:45:41 +0000 (15:45 +0200)]
[FIX] buffer overflow in download-provider.

when building SQL queries, allocate one more byte to account for the
separator char *and* the termination nul byte.

Bug-Tizen: TC-10
Change-Id: Ic98ad19b13245c5d594e1c5de5b80671c67b25bb
Signed-off-by: Romuald Texier-Marcadé <romuald.texier-marcade@open.eurogiciel.org>
10 years agofix build error 68/20168/1 accepted/tizen/common/20140429.084933 accepted/tizen/common/20140507.065713 accepted/tizen/ivi/20140430.185957 accepted/tizen/ivi/20140519.094422 accepted/tizen/mobile/20140429.053936 accepted/tizen/mobile/20140702.101549 submit/tizen/20140429.045947 submit/tizen/20140507.045033
Bang Kwang-Min [Tue, 29 Apr 2014 04:57:42 +0000 (13:57 +0900)]
fix build error

Change-Id: Ic23ad9c4b026b1f490aebb043f95fbb6aeeba1aa

10 years agofix build on x64 arch and add so library to main package 11/19811/2 accepted/tizen/mobile/20140429.022734 submit/tizen/20140422.114737
Corentin Lecouvey [Fri, 18 Apr 2014 17:25:37 +0000 (19:25 +0200)]
fix build on x64 arch and add so library to main package

Change-Id: Ie57bedb155c5e53fa2b8f7dd7c953dd7281a303f
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoclean up spec file 07/19807/2 submit/tizen/20140418.142124
Corentin Lecouvey [Fri, 18 Apr 2014 13:13:19 +0000 (15:13 +0200)]
clean up spec file

- properly use ldconfig for the shared libraries
- remove rm -rf %buildroot in %install section
- add smack manifest file in devel package
- change group tag
- remove useless post requires
- use systemd macros on post/preun/postun sections
- use %license macro
- remove '_smackruledir' and '_licensedir' macros definitions
- use fdupes to reduce few rpmlint warnings on locale files

Change-Id: Ie85734f410c8c245d5feac1474ad8f66fa4a0e5e
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agopost install db/setting/default_memory/wap vconf key 06/19806/1
Corentin Lecouvey [Fri, 18 Apr 2014 09:54:51 +0000 (11:54 +0200)]
post install db/setting/default_memory/wap vconf key

This is required to use Tizen download feature

Bug-Tizen: related to TIVI-1629

Change-Id: Iafd5304a8301f13ba16c87cc080ab38ee0f8915a
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoRemove SMACK rule file(.rule) according three domain model 77/19377/2
seong.chung [Fri, 11 Apr 2014 08:03:48 +0000 (17:03 +0900)]
Remove SMACK rule file(.rule) according three domain model

Since SMACK only allows three labels, "_"(floor), "User", "System"
The labels of current rule file are not appropriate

Solution:
- Remove rule file (download-provider.rule)
- Remove install statement about installing rule file described in CMakeLists.txt
- Remove file path and name declaration of spec file (packaging/download-provider.spec)

Reference site
https://wiki.tizen.org/wiki/Security:SmackThreeDomainModel

Change-Id: I7116f08b2869cdb361baf72871ff6e555e70bbbb
Signed-off-by: seong.chung <seong.chung@samsung.com>
10 years agoSet manifest file to default floor domain 66/18766/1
Kévin THIERRY [Mon, 31 Mar 2014 13:55:44 +0000 (15:55 +0200)]
Set manifest file to default floor domain

Setting the manifest file to default floor domain allows
download-provider to be installed without segfault.

Bug-Tizen: PTREL-772
Change-Id: I1dad5c6b7f844b8fdbb9d278053dff463a557a0f
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
10 years agoRemove unused dependencies 65/18765/1
Kévin THIERRY [Mon, 31 Mar 2014 13:02:34 +0000 (15:02 +0200)]
Remove unused dependencies

Those dependencies doesn't seem to be useful and prevent the build of a
Tizen Common image.

Also set a valid license tag.

Bug-Tizen: PTREL-771
Change-Id: Id88b6c0eb7e8bcc165b44f69179a9c7f74caf8bb
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
10 years agoremove hardcoded path for multiuser support 43/16443/2 accepted/tizen_ivi_panda tizen_ivi_panda accepted/tizen/ivi/panda/20140403.014831 submit/tizen_ivi_panda/20140403.011921
Jean-Benoit MARTIN [Thu, 23 Jan 2014 16:30:28 +0000 (17:30 +0100)]
remove hardcoded path for multiuser support

Bug-Tizen: PTREL-338

Change-Id: Iac0b1f033b8ad12324eacd68a58c693051d7c986
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
10 years agoFix build for x64 74/17074/1
Jean-Benoit MARTIN [Wed, 26 Feb 2014 14:12:58 +0000 (15:12 +0100)]
Fix build for x64

Change-Id: I3bc3ad669edadf1c5fcd5581d3433d780f1b79d9
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
10 years agoUpdated source code for download-provider from tizen 2.2.1 git branch 64/16564/3
amit.dhiman [Wed, 19 Feb 2014 07:45:58 +0000 (13:15 +0530)]
Updated source code for download-provider from tizen 2.2.1 git branch

[customer] OPEN
[issue#] N/A
[problem] Updated the source code by using base of tizen 2.2.1 git branch
[cause] N/A
[solution] N/A

Change-Id: Ic9b95e7994c947f4b73420569a4b8a946ab81638
Signed-off-by: amit.dhiman <amit.dhiman@samsung.com>
10 years agoUpdate Changelog 36/12936/1 accepted/tizen/ivi/stable accepted/tizen/mobile accepted/tizen_generic accepted/tizen/20131126.192449 accepted/tizen/20131206.003709 submit/tizen/20131126.084434
Baptiste DURAND [Tue, 26 Nov 2013 08:42:01 +0000 (09:42 +0100)]
Update Changelog

Change-Id: I96fd2e717838561c799c2c839f354de9c0f23cc9

10 years agoFix TIVI-2045 : move systemd service from user directory to system directory 87/12787/1
Baptiste DURAND [Fri, 22 Nov 2013 14:51:10 +0000 (15:51 +0100)]
Fix TIVI-2045 : move systemd service from user directory to system directory

Change-Id: I20cfd56517d4f8d3b98c6a91ef910ee145738738
Signed-off-by: Baptiste DURAND <baptiste.durand@eurogiciel.fr>
10 years agoadd dbus policy conf file 42/12642/2
Corentin Lecouvey [Wed, 20 Nov 2013 14:04:43 +0000 (15:04 +0100)]
add dbus policy conf file

This patch permits root user to own 'org.download-provider' bus name.
In addition it adds a "send_destination" rule to allow traffic to this service.

Bug-Tizen: TIVI-2045 and TIVI-1629

Change-Id: I625f9dfd9626edbafb0832aa39c6879186d7ba4c
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@eurogiciel.fr>
11 years agokeep only one %manifest entry in spec file 41/12641/1
Corentin Lecouvey [Wed, 20 Nov 2013 12:57:46 +0000 (13:57 +0100)]
keep only one %manifest entry in spec file

Many %manifest listed in a package bring about smack error
at RPM installation.

Change-Id: I16e4855569d2899e35a5a5620668dc8b0767c410
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@eurogiciel.fr>
11 years agoFix and install .service files into dbus system service directory 65/11065/1
Chengwei Yang [Thu, 17 Oct 2013 08:22:21 +0000 (16:22 +0800)]
Fix and install .service files into dbus system service directory

All these three services are system-wide dbus services, which should be
installed into dbus system services directory.

Bug: https://bugs.tizen.org/jira/browse/PTREL-124
Change-Id: I8d3b9aeb8d7457d2cb6a6ad874bcb84920039d97
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agoFix: coredump if invoke pthread_* with NULL thread handler 72/5972/3 accepted/tizen/ivi/genivi tizen_ivi_genivi accepted/tizen/20130729.233814 accepted/tizen/20130912.083416 accepted/tizen/20130912.085958 accepted/tizen/20130912.093250 accepted/tizen/ivi/genivi/20140131.062120 accepted/tizen_ivi_stable/20131116.111526 ivi_oct_m2 submit/tizen/20130729.235751 submit/tizen/20130912.075714 submit/tizen_ivi_genivi/20140131.061719 submit/tizen_ivi_stable/20131116.101025
Chengwei Yang [Tue, 23 Jul 2013 08:09:47 +0000 (16:09 +0800)]
Fix: coredump if invoke pthread_* with NULL thread handler

This coredump can be triggered if download-provider request the
well-known dbus name failed, for example, currently, there is no dbus
policy conf for download-provider, so dbus daemon will reject its
request.

Bug: https://bugs.tizen.org/jira/browse/TDIST-276
Change-Id: Id341aa7da19bc89085bd5909391a37dde19b0173
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agoMerge "resetting manifest requested domain to floor" into tizen accepted/tizen/20130710.221148 submit/tizen/20130710.125222
Ryan Ware [Mon, 8 Jul 2013 17:07:24 +0000 (10:07 -0700)]
Merge "resetting manifest requested domain to floor" into tizen

11 years agoresetting manifest requested domain to floor 76/5176/1
Alexandru Cornea [Mon, 1 Jul 2013 16:19:12 +0000 (19:19 +0300)]
resetting manifest requested domain to floor

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

11 years agoChanges : Replace manifest with default floor 37/3837/2
Xavier Roche [Wed, 5 Jun 2013 15:18:34 +0000 (17:18 +0200)]
Changes : Replace manifest with default floor

11 years agoReplace manifest with default floor 36/3836/2
Xavier Roche [Mon, 10 Jun 2013 10:12:16 +0000 (12:12 +0200)]
Replace manifest with default floor

11 years agoChanges : Fix rpmlint issues 31/3831/1
Xavier Roche [Wed, 5 Jun 2013 14:13:47 +0000 (16:13 +0200)]
Changes : Fix rpmlint issues

11 years agoFix rpmlint issues 30/3830/1
Xavier Roche [Wed, 5 Jun 2013 14:12:38 +0000 (16:12 +0200)]
Fix rpmlint issues

  - use %unitdir_user macro instead of hardcoded path

11 years agoMerge "Add changelog" into tizen
Anas Nashif [Thu, 23 May 2013 16:55:58 +0000 (09:55 -0700)]
Merge "Add changelog" into tizen

11 years agomove library from devel to main package 45/3645/1 submit/tizen/20130523.172942
Anas Nashif [Thu, 23 May 2013 17:05:28 +0000 (10:05 -0700)]
move library from devel to main package

11 years agoAdd changelog 20/3620/1 accepted/tizen/20130523.165904 submit/tizen/20130521.172746
Rusty Lynch [Tue, 21 May 2013 17:27:07 +0000 (10:27 -0700)]
Add changelog

11 years agoFix spec file according to RPMLINT rules 19/3619/1
Baptiste DURAND [Tue, 30 Apr 2013 15:25:17 +0000 (17:25 +0200)]
Fix spec file according to RPMLINT rules

11 years agoFix build for 64 bits arch 18/3618/1
Baptiste DURAND [Tue, 30 Apr 2013 15:24:14 +0000 (17:24 +0200)]
Fix build for 64 bits arch

systemd services should be installed in /usr/lib

11 years agoRelease the package tizen_2.1 accepted/tizen/20130520.101559 submit/tizen/20130517.045627 submit/tizen_2.1/20130516.133710
Jungki Kwak [Wed, 15 May 2013 11:06:11 +0000 (20:06 +0900)]
Release the package

Release the package : downl:Q:qoad-provider_1.0.5-9
Changes)
- Create default download directory with app ownership
modified:   packaging/download-provider.spec

11 years agoCreate default download directory with app ownership
Jungki Kwak [Wed, 15 May 2013 10:57:56 +0000 (19:57 +0900)]
Create default download directory with app ownership

[Issue#] N_SE-38644
[Cause] The default download directory is re-created with root permision
[Solution] The default download directoy is re-created with app ownership

modified:   agent/download-agent-file.c
modified:   agent/download-agent-interface.c

11 years agoRelease the package : download-provider_1.0.5-8 submit/tizen_2.1/20130514.052227
Bang Kwang-Min [Fri, 10 May 2013 02:21:17 +0000 (11:21 +0900)]
Release the package : download-provider_1.0.5-8

change)
 1. raise the limitaion regarding the number of downloads which a process can make : 5 => 32

Change-Id: I85b2b11cbead1bfbbe9fa4578494fc051667cad5

11 years agoraise the limitaion regarding the number of downloads which a process can make
Bang Kwang-Min [Wed, 17 Apr 2013 09:47:10 +0000 (18:47 +0900)]
raise the limitaion regarding the number of downloads which a process can make
: 5 => 32

Change-Id: Ie7e4d468caf3b23818c829085c0614b328a3a8f2

11 years agoRelease the package
Jungki Kwak [Thu, 9 May 2013 13:19:20 +0000 (22:19 +0900)]
Release the package

Release the package : download-provider_1.0.5-7
Changes)
- pthread_join for ending of queue-manager thread
- fix the segmentation fault if call download_get_url() without calling download_create()
- download_get_url() return wrong error with invalid id
- use dp_request_slots as user_data of da_agent
- remove warning message in build time
- Resolve a prevent issue
- PRAGMA synchronous=FULL
- Change to check mandatory value in started callback
- Resolve a bug about checking agent id
- Fix for 64 bit compatibility

modified:   packaging/download-provider.spec

11 years agopthread_join for ending of queue-manager thread
Bang Kwang-Min [Thu, 9 May 2013 06:30:35 +0000 (15:30 +0900)]
pthread_join for ending of queue-manager thread

[issue#] N_SE-37946
[cause] queue manager thread still work even if main thread free all resources
[solution] wait the ending of queue manager thread before free resources

Change-Id: Ib7007b3466b9eb0392946390d52150bbd96d29bb

11 years agofix the segmentation fault if call download_get_url() without calling download_create()
Bang Kwang-Min [Thu, 9 May 2013 04:27:33 +0000 (13:27 +0900)]
fix the segmentation fault if call download_get_url() without calling download_create()

[issue#] failure in Tizen Compliance Tests
[cause] refer uninitialized variable
[solution] use it after connecting to provider

Change-Id: I3c51dbf5dd6cc0654bf5861bc0b0c2c8d74dd6dd

11 years agodownload_get_url() return wrong error with invalid id
Bang Kwang-Min [Thu, 9 May 2013 04:44:55 +0000 (13:44 +0900)]
download_get_url() return wrong error with invalid id

[issue#] failure in Tizen Compliance Tests
[cause] if sql return empty string, client will meet socket timeout error
[solution] add the checking the length of string

Change-Id: I16e840326e4ba7ac7e6cd5451b5ae77b9a55e348

11 years agouse dp_request_slots as user_data of da_agent
Bang Kwang-Min [Mon, 29 Apr 2013 07:40:07 +0000 (16:40 +0900)]
use dp_request_slots as user_data of da_agent

Issue : P130423-8649

cause : can not null-checking in da agent callbacks
resolution : 1. set dp_request_slots instead of dp_request pointer to user_data of callbacks
             2. apply mutex in da_download_start API

Change-Id: I66576583f3f55073fd8a8119af303b4c62755036

11 years agoremove warning message in build time
Bang Kwang-Min [Mon, 29 Apr 2013 07:02:00 +0000 (16:02 +0900)]
remove warning message in build time

Change-Id: I2c4e9b7f8219175f83fc75510384d629867a5d08

11 years agoResolve a prevent issue.
Jungki Kwak [Mon, 8 Apr 2013 02:10:38 +0000 (11:10 +0900)]
Resolve a prevent issue.

Changes)
It is added to check null check after allocation memory.
modified:   provider/download-provider-db.c

Change-Id: I9b18ad1244ffaccacfd0af66b2e7c7645d3859fd

11 years agoPRAGMA synchronous=FULL
Bang Kwang-Min [Mon, 8 Apr 2013 04:48:44 +0000 (13:48 +0900)]
PRAGMA synchronous=FULL

error : database disk image is malformed

Change-Id: Id36e0e6acede10f29a00c099590d7be667b5fe81

11 years agoChange to check mandatory value in started callback
Jungki Kwak [Wed, 3 Apr 2013 08:04:55 +0000 (17:04 +0900)]
Change to check mandatory value in started callback

Changes)
It change mime type to temporary path for mandatory value in started callback.
No mime type is allowed at agent library.
modified:   provider/download-provider-da-interface.c

Change-Id: I5e82e5b4817614aedab99f76bcebd5ac7d6c46a4

11 years agoResolve a bug about checking agent id
Jungki Kwak [Wed, 3 Apr 2013 08:00:45 +0000 (17:00 +0900)]
Resolve a bug about checking agent id

Changes)
It is modified to check agent id.
The agenet id can have zero.
modified:   provider/download-provider-thread-request.c

Change-Id: I1d0e43c6dc50ced99bb8ede509f7e63bec101590

11 years agoFix for 64 bit compatibility. 2.1b_release accepted/tizen_2.1/20130425.023939 submit/tizen_2.1/20130424.235235
Junfeng Dong [Thu, 28 Mar 2013 10:43:07 +0000 (18:43 +0800)]
Fix for 64 bit compatibility.

- Fix hardcoding path.

Change-Id: I7ade21f42c808983fb8ecc42a34a474136c2aa87