platform/framework/web/download-provider.git
5 years ago[DF190403-00436] Allow shared directory as destination path 98/202998/1 accepted/tizen/unified/20190410.002145 submit/tizen/20190408.225946
Seonah Moon [Mon, 8 Apr 2019 12:34:28 +0000 (21:34 +0900)]
[DF190403-00436] Allow shared directory as destination path

Change-Id: Iade2ccfb783fe1475aae2d5b78b4443a9d2ddf2f

5 years agoFix memory leak 39/201639/2 accepted/tizen/unified/20190320.082310 submit/tizen/20190319.071352
Seonah Moon [Mon, 18 Mar 2019 09:09:13 +0000 (18:09 +0900)]
Fix memory leak

Change-Id: I4c16e3d4db431e0b24359bb21694c56403fd1c36

5 years agoDo not call pthread_cancel to terminate an event manager thread 15/201415/2 accepted/tizen/unified/20190315.061251 submit/tizen/20190314.070440
Seonah Moon [Tue, 12 Mar 2019 08:54:14 +0000 (17:54 +0900)]
Do not call pthread_cancel to terminate an event manager thread

Change-Id: I05d840b25ccd59f1bcc30408a86504bc28709f86

5 years ago[Security vulnerability] Prevent null pointer dereference 67/201167/1 accepted/tizen/unified/20190312.113009 submit/tizen/20190312.062500
Seonah Moon [Fri, 8 Mar 2019 07:04:39 +0000 (16:04 +0900)]
[Security vulnerability] Prevent null pointer dereference

Change-Id: I24e3eab7d754cd5c3794a5eff412270ada9b352d

5 years agoGet temp path from download daemon 66/201166/1
Seonah Moon [Fri, 8 Mar 2019 05:06:56 +0000 (14:06 +0900)]
Get temp path from download daemon

Even if app doesn't set temp path,
temp path is updated when download is started.

Change-Id: Ifd624581ca42dc1fac5c5aa6b96ea3874297e736

5 years agoConvert relative path to absolute path 65/201165/1
Seonah Moon [Wed, 6 Mar 2019 08:23:29 +0000 (17:23 +0900)]
Convert relative path to absolute path

Even if relative path is passed from user,
absolute path will be delivered to daemon.

Change-Id: I7616eb27f728bda81de4af6bc97aa5ec3b642f5b

5 years ago[Security vulnerability] Replace strncmp() with strcmp() 49/200849/2
Seonah Moon [Mon, 4 Mar 2019 08:39:05 +0000 (17:39 +0900)]
[Security vulnerability] Replace strncmp() with strcmp()

In case comparing whole string, use strcmp().

Change-Id: Iacb667cacece5eb8a964c8dc2219ff0d17908bf3

5 years ago[Security vulnerability] Access to a symbolic link 48/200848/4
Seonah Moon [Mon, 4 Mar 2019 09:05:02 +0000 (18:05 +0900)]
[Security vulnerability] Access to a symbolic link

Change-Id: I2207dbe4a72d87cd6665fd27dfc97a30b4617b49

5 years agofix build error on building gcov mode 74/199374/2 accepted/tizen/unified/20190213.071814 submit/tizen/20190211.081826
Youngjae Shin [Mon, 11 Feb 2019 04:32:21 +0000 (13:32 +0900)]
fix build error on building gcov mode

Change-Id: I66ab238d807d77cfde9877a62f479545dba6da6f

5 years agoUse new mutex_lock g_dp_event_mutex to access g_dp_event_thread_id 06/198506/2 accepted/tizen/unified/20190128.061818 submit/tizen/20190125.044355
Cheoleun Moon [Fri, 25 Jan 2019 04:39:53 +0000 (13:39 +0900)]
Use new mutex_lock g_dp_event_mutex to access g_dp_event_thread_id

Change-Id: I5c46017387388a8a734a6a5aafb10b86b9cb967e
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoRevert "Use mutex_lock to access g_dp_event_thread_id" 04/198504/1
cheoleun moon [Fri, 25 Jan 2019 04:36:37 +0000 (04:36 +0000)]
Revert "Use mutex_lock to access g_dp_event_thread_id"

This reverts commit 61cb40dc5fdc6cc22dd6a200ce2333f43d3a836a.

Change-Id: If09f0ab1f6b81b07a72824c2526f45fae84338a5

5 years agoUse mutex_lock to access g_dp_event_thread_id 38/198338/2 submit/tizen/20190124.035615
Cheoleun Moon [Thu, 24 Jan 2019 02:02:53 +0000 (11:02 +0900)]
Use mutex_lock to access g_dp_event_thread_id

Change-Id: I8c72f5ea5683e41192251ada63628c8fe1ff42b4
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years ago[WGID-370937] fix svace issue(MEMORY_LEAK) 96/197896/1 accepted/tizen/unified/20190128.061212 submit/tizen/20190117.231022
Seonah Moon [Thu, 17 Jan 2019 04:25:40 +0000 (13:25 +0900)]
[WGID-370937] fix svace issue(MEMORY_LEAK)

Change-Id: I7ba56013b6f8ab4dfb5d0666d3df040f222e3994

5 years agoFix dlog format error 15/195515/1 accepted/tizen/unified/20181217.142300 submit/tizen/20181214.062542
Seonah Moon [Fri, 14 Dec 2018 05:48:06 +0000 (14:48 +0900)]
Fix dlog format error

Change-Id: Ia27a245ba72c34316e2f06ce07f0d8ab0bdf3ffd

5 years ago[TNEXT-17554] Fix crash issue 09/193509/1 accepted/tizen/unified/20181126.143049 submit/tizen/20181121.093655
Seonah Moon [Wed, 21 Nov 2018 07:56:02 +0000 (16:56 +0900)]
[TNEXT-17554] Fix crash issue

Change-Id: I4ddc18c143592201651e6691ea84695dcbf68074

5 years ago[DF180926-00154] Add speed limit 48/191248/1
Seonah Moon [Mon, 15 Oct 2018 04:22:00 +0000 (13:22 +0900)]
[DF180926-00154] Add speed limit

downloading cannot be canceled in case of no packet.
It's because cancel request is depended on CURLOPT_WRITEFUNCTION.
Therefore, if there is no packet, downloading would be blocked without error.
This patch limits speed and time to prevent this issue.

Change-Id: I13d6538528254f88884d8573cd320608916a9561

5 years agoFixed typo 47/191047/1 accepted/tizen/5.0/unified/20181102.022928 accepted/tizen/unified/20181011.095036 submit/tizen/20181011.040225 submit/tizen_5.0/20181101.000005
Seonah Moon [Thu, 11 Oct 2018 02:52:10 +0000 (11:52 +0900)]
Fixed typo

Change-Id: Ic6fe04e7de87466a8cbad465326695ef6844ea8a

5 years ago[CID-1025872] Fix resource leak 05/188805/1 accepted/tizen/unified/20180911.055424 submit/tizen/20180910.131901
Seonah Moon [Mon, 10 Sep 2018 11:02:35 +0000 (20:02 +0900)]
[CID-1025872] Fix resource leak

Change-Id: I6f95c8d863731b9db1a5c10236eac4c155e2eaff

5 years agoCreate empty file when content-length is 0 28/188428/3 accepted/tizen/unified/20180906.054559 submit/tizen/20180905.095252
Seonah Moon [Wed, 5 Sep 2018 05:12:00 +0000 (14:12 +0900)]
Create empty file when content-length is 0

Change-Id: Idd68889083e2e545c0eb48a29af7f9c3bb7c65c3

5 years agoCheck if request is valid to avoid crash 59/186759/1 accepted/tizen/unified/20180816.062923 submit/tizen/20180814.072508
chleun.moon [Tue, 14 Aug 2018 06:41:56 +0000 (15:41 +0900)]
Check if request is valid to avoid crash

Change-Id: Ic9bb064bbab2bb1386c9aad10a9e7899caddd98f
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoMerge "Fix block issue of main thread" into tizen accepted/tizen/unified/20180809.074802 submit/tizen/20180808.125613
Jaehyun Kim [Mon, 6 Aug 2018 01:55:43 +0000 (01:55 +0000)]
Merge "Fix block issue of main thread" into tizen

5 years agoFix block issue of main thread 94/185894/3
Seonah Moon [Fri, 3 Aug 2018 08:50:20 +0000 (17:50 +0900)]
Fix block issue of main thread

Main thread often faces with bloking when pause and resume occur repeatedly.
It's becuase previous resume event causes data packet.
Although pause() is invoked, data packet can be recieved because of previous resume event.
However, download-provider considers this situaition as 'error' state.
This change makes main thread just wait for changing download state properly.

Change-Id: I1e22661fb909d449b94db26aad8bbe2cfb033d8c

5 years agoCheck request ID before updating download information 59/185859/2
Seonah Moon [Fri, 3 Aug 2018 05:13:20 +0000 (14:13 +0900)]
Check request ID before updating download information

downaload thread often accesses to memory which is freed by other thread.
To avoid refering invalid memory, this patch checks whether request ID is
valid or not.

Change-Id: I994bcf73714c2af3d896b07f27534ae8580c0545

5 years agoFix the variable in the critical sectionfor thread-safety 54/185654/1 submit/tizen/20180803.081836
Taesoo Jun [Wed, 1 Aug 2018 09:49:02 +0000 (18:49 +0900)]
Fix the variable in the critical sectionfor thread-safety

Change-Id: Ia1578e05cdd78b82d5f24d8821c21f9302932b7a
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
5 years agoRemove unnecessary dependency 73/185273/1 accepted/tizen/unified/20180730.141953 submit/tizen/20180727.073213
Seonah Moon [Fri, 27 Jul 2018 07:25:21 +0000 (16:25 +0900)]
Remove unnecessary dependency

Change-Id: Idfef8db8ff40226066b2da1508baa43075597d78

5 years agoFix Wformat build error 29/184929/1
yhji [Tue, 24 Jul 2018 09:44:00 +0000 (18:44 +0900)]
Fix Wformat build error

Change-Id: I33eae328d239242bd272cde275a0d3e79c1db930
Signed-off-by: yhji <yhji.lee@samsung.com>
5 years agoFix invalid path issue 13/184613/1 accepted/tizen/unified/20180723.101935 submit/tizen/20180720.003318
Seonah Moon [Thu, 19 Jul 2018 07:17:16 +0000 (16:17 +0900)]
Fix invalid path issue

Change-Id: I7aac5194565fefada16c919b48866a59fc0cdc94

5 years agoMerge "Add log for debugging" into tizen accepted/tizen/unified/20180718.071530 submit/tizen/20180717.094329
cheoleun moon [Tue, 17 Jul 2018 09:42:18 +0000 (09:42 +0000)]
Merge "Add log for debugging" into tizen

5 years agoAdd log for debugging 11/184311/2
Seonah Moon [Tue, 17 Jul 2018 06:55:31 +0000 (15:55 +0900)]
Add log for debugging

Change-Id: Id2f334ac4c8c1ca1952bd357f4e1735f365a9e09

5 years ago[DF180706-00348] Extract file extension from URL #3 65/184165/1
Seonah Moon [Mon, 16 Jul 2018 04:41:56 +0000 (13:41 +0900)]
[DF180706-00348] Extract file extension from URL #3

Change-Id: I832d4b45277f1788cb1b27f586726a28101a0a1e

5 years agoRemove a dependency of package which is not used at all 77/180677/1 accepted/tizen/unified/20180611.132141 submit/tizen/20180611.080446
Wonki Kim [Fri, 1 Jun 2018 05:59:36 +0000 (14:59 +0900)]
Remove a dependency of package which is not used at all

It looks there isn't any dependency with elementary.
this patch removes the dependency.

Change-Id: I9ca2ad6b6f9216278de0bc0a2ebb6b9ad7bba1b3
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
5 years ago[DF180510-00418] Allow file name with a leading dot 99/179999/3
Seonah Moon [Thu, 24 May 2018 04:41:12 +0000 (13:41 +0900)]
[DF180510-00418] Allow file name with a leading dot

Change-Id: I9e28be26ed4125a53f5ed8336314527cf7b7a11a

5 years agoFix crash in download-provider-interface.c 42/179842/2 accepted/tizen/unified/20180523.144505 submit/tizen/20180523.031333
Seonah Moon [Wed, 23 May 2018 02:02:46 +0000 (11:02 +0900)]
Fix crash in download-provider-interface.c

Change-Id: I31978127bbcb48c2cdd404e0b64ef919499d2124

5 years agoAdded initial code for Gtest 44/178544/6 submit/tizen/20180521.064432
Abhishek Sansanwal [Thu, 10 May 2018 09:48:38 +0000 (15:18 +0530)]
Added initial code for Gtest

Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: Id10409cd1c23c24d7b7d686d12d162d92d55a31f

5 years agoMerge "Fix null-terminated string issue after fread @download-provider-security.c... accepted/tizen/unified/20180508.071607 submit/tizen/20180508.012433
Taesoo Jun [Tue, 8 May 2018 01:21:56 +0000 (01:21 +0000)]
Merge "Fix null-terminated string issue after fread @download-provider-security.c" into tizen

5 years agoFix null-terminated string issue after fread @download-provider-security.c 38/178038/1
Taesoo Jun [Tue, 8 May 2018 00:49:17 +0000 (09:49 +0900)]
Fix null-terminated string issue after fread @download-provider-security.c

Change-Id: I3dfad89e3f62c91648d7042bc7d8922325bfb957

6 years agoAllow to save contents to /tmp/ directory 00/177900/1
Seonah Moon [Fri, 4 May 2018 08:10:41 +0000 (17:10 +0900)]
Allow to save contents to /tmp/ directory

Change-Id: I86ac02812a4b46149fd77f9449141fd319de2281

6 years agoCheck permission before setting destination path #2 71/176771/2 accepted/tizen/unified/20180503.080741 submit/tizen/20180503.003835
Seonah Moon [Mon, 23 Apr 2018 09:53:15 +0000 (18:53 +0900)]
Check permission before setting destination path #2

Add checking code a path whether default or not.

Change-Id: Ic1f5a4058e1b5d9de96bb36660f0f2256d309bbd

6 years agoCheck permission before setting destination path 37/175437/17
Seonah Moon [Mon, 9 Apr 2018 06:13:56 +0000 (15:13 +0900)]
Check permission before setting destination path

Change-Id: I0c32b22e5dbd3cc46f61bf98dd9953cf6a66eb5e

6 years ago[DF180411-00661] Fix wrong file name length 77/176077/1
Seonah Moon [Mon, 16 Apr 2018 10:25:35 +0000 (19:25 +0900)]
[DF180411-00661] Fix wrong file name length

Change-Id: I6b949ded53c6b7e132b07914e082b1e001a3af6d

6 years agoExtract file extension from URL #2 56/176056/1
Seonah Moon [Mon, 16 Apr 2018 08:06:06 +0000 (17:06 +0900)]
Extract file extension from URL #2

Change-Id: Icb4f003368492ac4566b8a30d46a160aad197cfe

6 years agoMerge "Extract file extension from URL" into tizen
cheoleun moon [Mon, 16 Apr 2018 07:54:51 +0000 (07:54 +0000)]
Merge "Extract file extension from URL" into tizen

6 years agoCheck a number of HTTP header fields 59/175759/6 accepted/tizen/unified/20180413.073633 submit/tizen/20180413.011058
Seonah Moon [Thu, 12 Apr 2018 06:46:50 +0000 (15:46 +0900)]
Check a number of HTTP header fields

The standard imposes no limits to the number of fields.
However, generally, most servers limit it.

Change-Id: I99388a2c3e534c4cc45c648fd54827a2fc826012

6 years agoExtract file extension from URL 65/175165/3
Seonah Moon [Mon, 9 Apr 2018 06:13:56 +0000 (15:13 +0900)]
Extract file extension from URL

Change-Id: I7b6819cb1ee3536546157b5b561f5c2246ff544f

6 years ago[DF180314-00616] Fix file extension issue #2 17/175017/1 accepted/tizen/unified/20180406.144321 submit/tizen/20180406.043604
Seonah Moon [Thu, 5 Apr 2018 12:26:10 +0000 (21:26 +0900)]
[DF180314-00616] Fix file extension issue #2

Change-Id: I7a1c9b52428758dc4e7a4e040b305698e5deb0a0

6 years agoMerge "[DF180327-00886] Add *.xml to the extension translation table" into tizen accepted/tizen/unified/20180403.182351 accepted/tizen/unified/20180406.062031 submit/tizen/20180402.115254 submit/tizen/20180403.231005 submit/tizen/20180404.081806
Jaehyun Kim [Mon, 2 Apr 2018 11:26:15 +0000 (11:26 +0000)]
Merge "[DF180327-00886] Add *.xml to the extension translation table" into tizen

6 years ago[DF180327-00886] Add *.xml to the extension translation table 97/174497/1
Seonah Moon [Mon, 2 Apr 2018 10:52:05 +0000 (19:52 +0900)]
[DF180327-00886] Add *.xml to the extension translation table

Change-Id: I99a46e91f176669155f85c09c1bf74085133f97b

6 years ago[DF180327-00881] Check length of file extension after deriving it 86/174486/1
Seonah Moon [Mon, 2 Apr 2018 10:05:15 +0000 (19:05 +0900)]
[DF180327-00881] Check length of file extension after deriving it

If URL is http://xxx.com/sample.txt?version=123, file extension is removed.
It's becuase txt?version=123 is considered as file extension and its lenth is maximum length or more.

Change-Id: I5b0e9436811f80fc050a2d1061b8015b88b3b0de

6 years agoMerge "Fix coverity issue(major)" into tizen submit/tizen/20180329.051825
cheoleun moon [Thu, 29 Mar 2018 05:16:17 +0000 (05:16 +0000)]
Merge "Fix coverity issue(major)" into tizen

6 years agoFix coverity issue(major) 64/174064/2
Seonah Moon [Wed, 28 Mar 2018 01:56:28 +0000 (10:56 +0900)]
Fix coverity issue(major)

Change-Id: If2730a9c08b449b46cf04734e38448c2bb20dbce

6 years agoFix Coverity issues 77/174077/1 accepted/tizen/unified/20180403.152116 submit/tizen/20180329.051456
chleun.moon [Wed, 28 Mar 2018 04:31:17 +0000 (13:31 +0900)]
Fix Coverity issues

CID-105414, 105656: Data race condition

Change-Id: I4563a022801986fcc7a5a8d1dcb63ede069439d7
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoMerge "[DF180314-00616] Fix file extension issue" into tizen accepted/tizen/unified/20180322.060201 submit/tizen/20180322.015713
cheoleun moon [Thu, 22 Mar 2018 01:52:27 +0000 (01:52 +0000)]
Merge "[DF180314-00616] Fix file extension issue" into tizen

6 years agoFix svace issue 26/173226/2
Seonah Moon [Tue, 20 Mar 2018 05:32:00 +0000 (14:32 +0900)]
Fix svace issue

WGID-328327

Change-Id: I797fad91a019e1ea666c57e55be5073f65ba9040

6 years ago[DF180314-00616] Fix file extension issue 55/172955/1
Seonah Moon [Mon, 19 Mar 2018 05:45:12 +0000 (14:45 +0900)]
[DF180314-00616] Fix file extension issue

.json extension is removed from filename when response header has
'Content-Disposition' header.

Change-Id: I436d7639547fb89cb79807a193720bb84219488e

6 years agoFix coverity issues(overflow, missing unlock) 28/172228/3 accepted/tizen/unified/20180322.060152 submit/tizen/20180318.231541 submit/tizen/20180320.044006
Seonah Moon [Tue, 13 Mar 2018 02:22:21 +0000 (11:22 +0900)]
Fix coverity issues(overflow, missing unlock)

CID-108574, 107120, 106975, 106736

Change-Id: I81b1f8d532e4048ec1edc48164a576563e41e923

6 years agoChange the receive timeout on daemon side 86/169286/2 accepted/tizen/unified/20180208.163632 submit/tizen/20180207.230906
Seonah Moon [Mon, 5 Feb 2018 11:41:04 +0000 (20:41 +0900)]
Change the receive timeout on daemon side

Sometimes, a timing issue occures when daemon is launched.
It makes IPC error between app and daemon.
To avoid timing issue, receive timeout value is changed to 5.5 sec

Change-Id: I29153649d28eefb12c2b9bb21721463b506fdc71

6 years agoAdd *.js to the extension translation table 66/167766/1 accepted/tizen/unified/20180123.061103 submit/tizen/20180122.051654
Seonah Moon [Mon, 22 Jan 2018 01:55:50 +0000 (10:55 +0900)]
Add *.js to the extension translation table

If MIME type is 'application/javascript', *.jsm and *.js can be used as file extension.
*.js is added to the extension translation table to avoid using *.jsm.

Change-Id: I0f6b12008f6fb2d23473b271d66bb22cce38e054

6 years agoRemove unused code for checking permission 47/161047/3 accepted/tizen/unified/20171206.063051 submit/tizen/20171205.053202
Seonah Moon [Tue, 21 Nov 2017 07:14:03 +0000 (16:14 +0900)]
Remove unused code for checking permission

Since tizen 3.0, cynara has been used instead of security-server and smack.

Change-Id: Ifab2af45c8b7def4f7cf85b73e459e59ca3fe52a

6 years agoRemove unused build macro 16/161016/1 accepted/tizen/unified/20171124.064537 submit/tizen/20171122.064234 submit/tizen/20171122.231829 submit/tizen/20171123.070710
Seonah Moon [Tue, 21 Nov 2017 05:40:54 +0000 (14:40 +0900)]
Remove unused build macro

- The build macro for profiles has been not used since tizen 3.0.
- There are no source code for 'SUPPORT_KNOX'. Therefore 'SUPPORT_KNOX'
can be removed.

Change-Id: I699eea15bdce0d519d2a155bf96febebc24db4bc

6 years agoApply tizen coding rule 42/160842/2
Seonah Moon [Mon, 20 Nov 2017 08:04:57 +0000 (17:04 +0900)]
Apply tizen coding rule

Change-Id: I0919bb31b4e61d3cfc07246b5126e19baa7bc99b

6 years agoCheck integrity of db file 53/160453/3
Seonah Moon [Thu, 16 Nov 2017 07:56:47 +0000 (16:56 +0900)]
Check integrity of db file

Change-Id: If81942d173abbb1440b72e0253a5a8185df64584
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoAdd new po file for Maori 68/155368/2 accepted/tizen/unified/20171016.064618 submit/tizen/20171015.230104
Seonah Moon [Fri, 13 Oct 2017 02:24:02 +0000 (11:24 +0900)]
Add new po file for Maori

Change-Id: I80ad4cbe83714ab5dee48179c47d8a162aca1bd3
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoDo not call pthread_cancel in notification manager 79/149979/1 accepted/tizen/unified/20170920.081248 submit/tizen/20170918.114609
Semun Lee [Thu, 14 Sep 2017 01:24:21 +0000 (10:24 +0900)]
Do not call pthread_cancel in notification manager

pthread_cancel may lead unpredictable thread synchronization problem
when it is not used properly.
pthread_cancel in notification manager may lead deadlock because
it terminates __dp_notification_manager thread asynchronously.

refer to https://www.securecoding.cert.org/confluence/display/c/POS47-C.+Do+not+use+threads+that+can+be+canceled+asynchronously

Change-Id: I39c00a882df5cfede647e0d456c03eeb57c8971e
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoRemove not supported update script 07/148007/1 accepted/tizen/unified/20170907.060359 submit/tizen/20170906.091754
Sunmin Lee [Wed, 6 Sep 2017 07:16:14 +0000 (16:16 +0900)]
Remove not supported update script

RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0.
(Tizen 4.0 does not support upgrade from Tizen 2.4)
Remove this file in terms of clearing the redundancy.

Change-Id: I2ae685c540853a0d83565f9d7c5445aebc6d4ff8

6 years agoremove old style code for installing a license file 02/146202/1 accepted/tizen/unified/20170901.025941 submit/tizen/20170830.065642
Youngjae Shin [Fri, 25 Aug 2017 08:29:26 +0000 (17:29 +0900)]
remove old style code for installing a license file

Change-Id: I2464b7b2f95f72bdb7304630bf75374f27e2226b

6 years ago[TNEXT-2301] Use the extension in the file name first 71/145271/2 accepted/tizen/4.0/unified/20170829.020504 accepted/tizen/unified/20170822.113119 submit/tizen/20170822.040721 submit/tizen_4.0/20170828.100004
Seonah Moon [Tue, 22 Aug 2017 02:23:40 +0000 (11:23 +0900)]
[TNEXT-2301] Use the extension in the file name first

The download-provider checks the extension from URL first.
So, it appends the extension to the file name although it includes the extension.
This issue makes the file name have the duplicated extension.

Change-Id: I81cc1aa344a7252693397706edfe58b23800dbc2
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoModified macro for tv profile 13/140713/1 accepted/tizen/4.0/unified/20170816.012914 accepted/tizen/4.0/unified/20170816.015620 accepted/tizen/unified/20170727.190836 submit/tizen/20170726.064343 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Seonah Moon [Wed, 26 Jul 2017 06:41:21 +0000 (15:41 +0900)]
Modified macro for tv profile

Change-Id: Ie4f51c485047843f37094a9460b123388bdbb518

6 years agoRemove the p option from capabilities 95/140095/5
Seonah Moon [Mon, 24 Jul 2017 01:32:28 +0000 (10:32 +0900)]
Remove the p option from capabilities

Change-Id: I2faa193bf8b7f8526efc02987c678b3b73e11c24
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years ago[RQ170614-00155] Fixed invalid format argument types #2 76/137676/2 accepted/tizen/unified/20170710.154653 submit/tizen/20170710.074033
Seonah Moon [Fri, 7 Jul 2017 04:56:06 +0000 (13:56 +0900)]
[RQ170614-00155] Fixed invalid format argument types #2

Change-Id: Id4fb50c41f7d152ff4f1fc28f33b7cfcaa514e6c
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years ago[RQ170614-00155] Fixed invalid format argument types 72/134672/1 accepted/tizen/unified/20170623.072741 submit/tizen/20170620.040405
Seonah Moon [Tue, 20 Jun 2017 02:16:57 +0000 (11:16 +0900)]
[RQ170614-00155] Fixed invalid format argument types

Change-Id: If558ab55b3ae16ee999630c6e9fd276a71c7f594
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoRename so file 52/132852/2 accepted/tizen/unified/20170609.203902 submit/tizen/20170608.073827 submit/tizen/20170609.022610
Seonah Moon [Thu, 8 Jun 2017 04:37:12 +0000 (13:37 +0900)]
Rename so file

Change-Id: Iceed5f21de00e1f59e1ce03f268fe22d2b6bd652
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoMoved *.so file to devel package 79/131279/1 accepted/tizen/unified/20170602.154223 submit/tizen/20170601.042236
Seonah Moon [Fri, 26 May 2017 06:16:56 +0000 (15:16 +0900)]
Moved *.so file to devel package

Change-Id: If1c4d9d50ad464343c9bc9c9e5a7f15631d29bda
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoFixed the crash issue 76/130976/2
Seonah Moon [Thu, 25 May 2017 01:04:59 +0000 (10:04 +0900)]
Fixed the crash issue

Change-Id: I9edd951f6429f4494c5f2350e4acbffec951c050
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years ago[RQ170516-00433] Fixed build warnings 80/130580/2 accepted/tizen/unified/20170531.082459 submit/tizen/20170524.112533
Seonah Moon [Tue, 23 May 2017 04:19:16 +0000 (13:19 +0900)]
[RQ170516-00433] Fixed build warnings

- Modify cmake flags to avoid -Wcpp
- Remove unused code and deprecated function

Change-Id: I9b2c7b685ab963e321b0fcdf14cea6556edef4b0
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoFix svace issues (WGID 212871, 212872) 08/130108/2 accepted/tizen/unified/20170522.182800 submit/tizen/20170522.013721 tizen_4.0.m1_release
chleun.moon [Fri, 19 May 2017 06:50:17 +0000 (15:50 +0900)]
Fix svace issues (WGID 212871, 212872)

Signed-off-by: cheoleun <chleun.moon@samsung.com>
Change-Id: Ia30e2d53601defd975871cac51118685da428d0c

6 years agoFix invalid extention 33/128233/1 accepted/tizen/unified/20170510.012935 submit/tizen/20170508.071240
min7.choi [Mon, 8 May 2017 06:48:34 +0000 (15:48 +0900)]
Fix invalid extention

Change-Id: I5fb84b2b3adf54ffaeb8342261e56c120c0253b7
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agoAdd explicit build dependency 40/127540/1 accepted/tizen/unified/20170428.033159 accepted/tizen/unified/20170429.023539 submit/tizen/20170427.133911 submit/tizen/20170428.001047
Hwankyu Jhun [Thu, 27 Apr 2017 22:52:33 +0000 (07:52 +0900)]
Add explicit build dependency

Requires:
 - libtzplatform-config

Change-Id: I3f6813f88fe5c89b49ff0c468c75faae959da594
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoUsed a macro of %license to add a license to spec file 72/124872/1 accepted/tizen/unified/20170413.164036 submit/tizen/20170413.033647
jaekuk, lee [Thu, 13 Apr 2017 01:24:08 +0000 (10:24 +0900)]
Used a macro of %license to add a license to spec file

Change-Id: Id337f9be6fdefb94d54289cca52381ad0d349966
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agorefactoring download-provider alloc/free accepted/tizen/unified/20170411.035337 submit/tizen/20170411.023557
min7.choi [Mon, 10 Apr 2017 17:39:45 +0000 (02:39 +0900)]
refactoring download-provider alloc/free

Change-Id: I413491d1f50ef28e4790d2123d3079b232aab469
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agoRefactoring for previous security issue accepted/tizen/unified/20170406.173615 submit/tizen/20170406.114851
min7.choi [Thu, 6 Apr 2017 05:03:09 +0000 (14:03 +0900)]
Refactoring for previous security issue

refer to : https://review.tizen.org/gerrit/#/c/122764/

Change-Id: Iec5bf4c878a66401b393fe8e42681f7db4dd7c15
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agoFix security issue. submit/tizen/20170406.044006
min7.choi [Mon, 3 Apr 2017 09:35:59 +0000 (18:35 +0900)]
Fix security issue.

Change-Id: I9c76f09bdb4a0fdb2cb471b2a3c8125ac65f2c86
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agoFix duplication packaging issue
min7.choi [Mon, 3 Apr 2017 04:35:12 +0000 (13:35 +0900)]
Fix duplication packaging issue

Change-Id: I8c9d6e02e7fb84adb269efeb49d3bc114ee5da1c
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agoFixed VD DUMA issue 66/119066/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/3.0/common/20170320.130116 accepted/tizen/3.0/ivi/20170320.074456 accepted/tizen/3.0/mobile/20170320.074410 accepted/tizen/3.0/tv/20170320.074424 accepted/tizen/3.0/wearable/20170320.074439 accepted/tizen/common/20170315.125157 accepted/tizen/ivi/20170315.105740 accepted/tizen/mobile/20170315.105652 accepted/tizen/tv/20170315.105708 accepted/tizen/unified/20170315.105758 accepted/tizen/wearable/20170315.105725 submit/tizen/20170315.100715 submit/tizen_3.0/20170315.100249
jaekuk, lee [Wed, 15 Mar 2017 09:54:42 +0000 (18:54 +0900)]
Fixed VD DUMA issue

Change-Id: I3f827ddf45cadf7a966801ed92a9c1b6e2548d7a
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agoFix the Svace issue : WGID 171559 15/115015/1 accepted/tizen/3.0/common/20170221.125020 accepted/tizen/3.0/ivi/20170221.004522 accepted/tizen/3.0/mobile/20170221.004326 accepted/tizen/3.0/tv/20170221.004516 accepted/tizen/3.0/wearable/20170221.004520 accepted/tizen/common/20170216.094208 accepted/tizen/ivi/20170216.095523 accepted/tizen/mobile/20170216.095428 accepted/tizen/tv/20170216.095448 accepted/tizen/unified/20170309.035059 accepted/tizen/wearable/20170216.095504 submit/tizen/20170216.060500 submit/tizen_3.0/20170216.060432 submit/tizen_unified/20170308.100411
min7.choi [Thu, 16 Feb 2017 05:40:40 +0000 (14:40 +0900)]
Fix the Svace issue : WGID 171559

Change-Id: Ib8e9c98e927484a22616ec3a4c6bd01d7e93a715
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agoInstall the notstrip file to avoid be stripped at vd product 77/114377/1 submit/tizen_3.0/20170213.071316
min7.choi [Mon, 13 Feb 2017 07:09:15 +0000 (16:09 +0900)]
Install the notstrip file to avoid be stripped at vd product

Change-Id: If3533be941a2eca5225d19f977ad122fc4b3834f
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agoAdd exception when getting extension name from url 60/111260/1 accepted/tizen/3.0/common/20170123.132141 accepted/tizen/3.0/ivi/20170123.095646 accepted/tizen/3.0/mobile/20170123.095556 accepted/tizen/3.0/tv/20170123.095612 accepted/tizen/3.0/wearable/20170123.095627 accepted/tizen/common/20170123.182133 accepted/tizen/ivi/20170123.113922 accepted/tizen/mobile/20170123.113828 accepted/tizen/tv/20170123.113848 accepted/tizen/wearable/20170123.113903 submit/tizen/20170123.023310 submit/tizen_3.0/20170123.023017
min7.choi [Fri, 20 Jan 2017 04:14:18 +0000 (13:14 +0900)]
Add exception when getting extension name from url

Change-Id: If5799ad108d7887752cd629bd5350494085be6af
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agoFix resource leak for pthread_cancel() 29/105329/2 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/20170105.023852 accepted/tizen/3.0.m2/tv/20170105.024217 accepted/tizen/3.0.m2/wearable/20170105.024519 accepted/tizen/3.0/common/20161219.113545 accepted/tizen/3.0/ivi/20161219.012808 accepted/tizen/3.0/mobile/20161219.012716 accepted/tizen/3.0/tv/20161219.012736 accepted/tizen/3.0/wearable/20161219.012751 accepted/tizen/common/20161216.124547 accepted/tizen/ivi/20161219.021447 accepted/tizen/mobile/20161219.021348 accepted/tizen/tv/20161219.021409 accepted/tizen/wearable/20161219.021433 submit/tizen/20161216.085540 submit/tizen_3.0.m2/20170104.093752 submit/tizen_3.0/20161216.085435
min7.choi [Fri, 16 Dec 2016 08:19:29 +0000 (17:19 +0900)]
Fix resource leak for pthread_cancel()

Change-Id: I6563d045f9ff64d16e3ffc4762f4379fa62a48fc
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agoFix x86_64-type of emulator issue 94/105194/1 accepted/tizen/3.0/common/20161216.124042 accepted/tizen/3.0/ivi/20161216.084757 accepted/tizen/3.0/mobile/20161216.084740 accepted/tizen/3.0/tv/20161216.084744 accepted/tizen/3.0/wearable/20161216.084747 accepted/tizen/ivi/20161216.082903 accepted/tizen/mobile/20161216.082808 accepted/tizen/tv/20161216.082824 accepted/tizen/wearable/20161216.082843 submit/tizen/20161216.030332 submit/tizen_3.0/20161216.025116
min7.choi [Fri, 16 Dec 2016 02:42:30 +0000 (11:42 +0900)]
Fix x86_64-type of emulator issue

Change-Id: I2aeb138a7643444e250d41408942949cc48f579b
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agoupgrade script numbering 89/104489/1 accepted/tizen/3.0/common/20161215.162738 accepted/tizen/3.0/ivi/20161215.043528 accepted/tizen/3.0/mobile/20161215.043441 accepted/tizen/3.0/tv/20161215.043450 accepted/tizen/3.0/wearable/20161215.043524 accepted/tizen/common/20161214.160921 accepted/tizen/ivi/20161214.090207 accepted/tizen/mobile/20161214.090028 accepted/tizen/tv/20161214.090036 accepted/tizen/wearable/20161214.090058 submit/tizen/20161214.073740 submit/tizen_3.0/20161214.071622
jaekuk, lee [Tue, 13 Dec 2016 10:52:57 +0000 (19:52 +0900)]
upgrade script numbering

Change-Id: I3024a31af93b16d58d5365ad2701eb1bb661fdb4
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agoFix svace issue. 07/103207/1 accepted/tizen/3.0/common/20161208.153754 accepted/tizen/3.0/ivi/20161208.063715 accepted/tizen/3.0/mobile/20161208.063705 accepted/tizen/3.0/tv/20161208.063426 accepted/tizen/3.0/wearable/20161208.063711 accepted/tizen/common/20161208.135418 accepted/tizen/ivi/20161209.005039 accepted/tizen/mobile/20161209.004943 accepted/tizen/tv/20161209.005000 accepted/tizen/wearable/20161209.005021 submit/tizen/20161208.011612 submit/tizen_3.0/20161208.010713
jaekuk, lee [Wed, 7 Dec 2016 14:38:52 +0000 (23:38 +0900)]
Fix svace issue.

Change-Id: Ib790cd177c18b2783618a60b52eb922af4c2af01
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agoChange CURLOPT_VERBOSE value to on/off 12/99512/2 accepted/tizen/3.0/common/20161124.182348 accepted/tizen/3.0/ivi/20161124.082953 accepted/tizen/3.0/mobile/20161124.082859 accepted/tizen/3.0/tv/20161124.082913 accepted/tizen/3.0/wearable/20161124.082933 accepted/tizen/common/20161124.170121 accepted/tizen/ivi/20161125.004349 accepted/tizen/mobile/20161125.004327 accepted/tizen/tv/20161125.004335 accepted/tizen/wearable/20161125.004346 submit/tizen/20161124.031519 submit/tizen_3.0/20161124.031003
min7.choi [Wed, 23 Nov 2016 06:44:26 +0000 (15:44 +0900)]
Change CURLOPT_VERBOSE value to on/off

Change-Id: I9fc95cb9f16df92af0d69fbc83a3895bdc0bc8e3
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agoFix the path convert issue 99/91099/1 accepted/tizen/3.0/common/20161114.110351 accepted/tizen/3.0/ivi/20161011.043836 accepted/tizen/3.0/mobile/20161015.033159 accepted/tizen/3.0/tv/20161016.004110 accepted/tizen/3.0/wearable/20161015.081941 accepted/tizen/common/20161006.153547 accepted/tizen/ivi/20161006.080046 accepted/tizen/mobile/20161006.080000 accepted/tizen/tv/20161006.080016 accepted/tizen/wearable/20161006.080027 submit/tizen/20161006.005831 submit/tizen_3.0/20161124.012252 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000002 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
jaekuk, lee [Thu, 6 Oct 2016 00:30:19 +0000 (09:30 +0900)]
Fix the path convert issue

Change-Id: Idff8dae8865968f56e53fffc941741c1f8abdd09
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agomodify download-provider_upgrade.sh 81/90181/1 accepted/tizen/common/20160929.163052 accepted/tizen/ivi/20160929.081452 accepted/tizen/mobile/20160929.081559 accepted/tizen/tv/20160929.081607 accepted/tizen/wearable/20160929.081545 submit/tizen/20160929.003516
jaekuk, lee [Wed, 28 Sep 2016 23:38:26 +0000 (08:38 +0900)]
modify download-provider_upgrade.sh

Change-Id: I4c63b7e32944493307467d172b7b4b709cfab626
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agoModify download-provider_upgrade.sh 17/89317/1 accepted/tizen/common/20160923.160749 accepted/tizen/ivi/20160925.234349 accepted/tizen/mobile/20160925.234423 accepted/tizen/tv/20160925.234352 accepted/tizen/wearable/20160925.234342 submit/tizen/20160923.055938
min7.choi [Fri, 23 Sep 2016 05:46:45 +0000 (14:46 +0900)]
Modify download-provider_upgrade.sh

Change-Id: I9c59508b4bc063ab0c8e216818e8149865a2b547
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agoMove variables definitions to .c file for address sanitizer 48/86248/1 accepted/tizen/common/20160831.162245 accepted/tizen/ivi/20160831.125332 accepted/tizen/mobile/20160831.125244 accepted/tizen/tv/20160831.125258 accepted/tizen/wearable/20160831.125313 submit/tizen/20160831.084300
min7.choi [Wed, 31 Aug 2016 08:35:20 +0000 (17:35 +0900)]
Move variables definitions to .c file for address sanitizer

Change-Id: I2becfe63526af778c1c73b5a8d6eb891b0bf5f6e
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agodownload-provider patch for upgrade 02/86202/1 accepted/tizen/ivi/20160831.080616 accepted/tizen/mobile/20160831.080456 accepted/tizen/tv/20160831.080522 accepted/tizen/wearable/20160831.080547 submit/tizen/20160831.052657
jaekuk, lee [Wed, 31 Aug 2016 05:20:53 +0000 (14:20 +0900)]
download-provider patch for upgrade

Change-Id: Id3f1cfb5dd48004444dcd3b0cd1726ff7c4f932c
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agodownload-provider patch for upgrade 33/86033/1 accepted/tizen/common/20160830.150341 accepted/tizen/ivi/20160830.235716 accepted/tizen/mobile/20160830.235706 accepted/tizen/tv/20160830.235709 accepted/tizen/wearable/20160830.235712 submit/tizen/20160830.080136
jaekuk, lee [Tue, 30 Aug 2016 07:57:17 +0000 (16:57 +0900)]
download-provider patch for upgrade

Change-Id: I7f9dd69ae088c955d33ffcce6b6b22233907ed1b
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agoMove variables definitions to .c file 19/85419/1 accepted/tizen/common/20160825.062902 accepted/tizen/ivi/20160825.084353 accepted/tizen/mobile/20160825.084306 accepted/tizen/tv/20160825.084318 accepted/tizen/wearable/20160825.084333 submit/tizen/20160825.053253
min7.choi [Thu, 25 Aug 2016 05:14:22 +0000 (14:14 +0900)]
Move variables definitions to .c file

Change-Id: If417a2fd2dabfa9076ae44cf29811d7b28da94d9
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agoRemove check-mount.service in download-provider.service 13/85413/1
min7.choi [Thu, 25 Aug 2016 04:40:01 +0000 (13:40 +0900)]
Remove check-mount.service in download-provider.service

Change-Id: Iebc8abb4f92efd48e5c1c40738f829d2465dc8f9
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years agomodify the user data path 14/84714/1 accepted/tizen/common/20160822.132808 accepted/tizen/mobile/20160824.021810 accepted/tizen/tv/20160824.021813 accepted/tizen/wearable/20160824.021805 submit/tizen/20160822.073828 submit/tizen_mobile/20160824.003954 submit/tizen_tv/20160824.003935 submit/tizen_wearable/20160824.004021
jaekuk, lee [Mon, 22 Aug 2016 06:08:28 +0000 (15:08 +0900)]
modify the user data path

Change-Id: Ied836a672cd9aeb7cb727ae320206fc9f90d0aa8
Signed-off-by: jaekuk, lee <juku1999@samsung.com>