platform/framework/web/download-provider.git
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

11 years agoRelease Version download-provider_1.0.5-6
Bang Kwang-Min [Mon, 1 Apr 2013 08:00:04 +0000 (17:00 +0900)]
Release Version download-provider_1.0.5-6

[model] REDWOOD
[binary_type] PDA
[customer] OPEN
[issue#] N/A
[problem] failed in WebAPI TC
[cause] API deny NULL parameter
[solution] allow NULL parameter
[team] browserui
[request] N/A
[horizontal_expansion] N/A

Change-Id: I73dcaf1a792d765dde6cc7c5e0aac92990c8968f

11 years agoallow null param
Bang Kwang-Min [Mon, 1 Apr 2013 07:08:57 +0000 (16:08 +0900)]
allow null param

Change-Id: I1e8cd9ca6889393748a040edb1d9a38055432fc5

11 years agoRelease Version download-provider_1.0.5-5
Bang Kwang-Min [Wed, 27 Mar 2013 06:39:09 +0000 (15:39 +0900)]
Release Version download-provider_1.0.5-5

[problem] missing smack label for dbus service

Change-Id: Iec00c71b6afa91fdd2679e2cfcdee8c7c3a566c1

11 years agoprevent defect : Explicit null dereferenced
Bang Kwang-Min [Wed, 27 Mar 2013 01:23:35 +0000 (10:23 +0900)]
prevent defect : Explicit null dereferenced

Change-Id: I90d49e57bdadeb4319aa3e1ffdb028a4998d2a33

11 years agoAdd missed code in previous merge.
Jungki Kwak [Fri, 22 Mar 2013 02:24:07 +0000 (11:24 +0900)]
Add missed code in previous merge.

Changes)
The missed code about credential URL is added at plugin libsoup source.
The dependency option about smack is modifed at spec file. This is request from Smack team.
modified:   agent/download-agent-plugin-libsoup.c
modified:   packaging/download-provider.spec
modified:   provider-interface/download-provider-interface.c

Change-Id: I627c09fe1d7f2dd309a07969b575c71923162346

11 years agosecurity coding
Bang Kwang-Min [Thu, 21 Mar 2013 06:04:54 +0000 (15:04 +0900)]
security coding
: check all of parameters

Change-Id: I67f517d4edd6ed0b0b1b0e66a0eefd599d37c6bd

11 years agosecurity & privacy
Bang Kwang-Min [Thu, 21 Mar 2013 05:40:02 +0000 (14:40 +0900)]
security & privacy
: remove private info from log message

Change-Id: I2bbb2a8a0c6b56d32ddd90f99327b9d8154a2c90

11 years agomissing errorcode
Bang Kwang-Min [Wed, 20 Mar 2013 11:57:17 +0000 (20:57 +0900)]
missing errorcode

Change-Id: Ie1a76a157796f29f58144b8d3be7d00ab117fd19

11 years agosmack for dbus service
Bang Kwang-Min [Wed, 27 Mar 2013 05:34:56 +0000 (14:34 +0900)]
smack for dbus service

Change-Id: Ic8e7b82108012daa7af54a1e3bb776557265315a

11 years agoRelease Version download-provider_1.0.5-2
Bang Kwang-Min [Wed, 20 Mar 2013 08:37:24 +0000 (17:37 +0900)]
Release Version download-provider_1.0.5-2

[model] REDWOOD
[binary_type] PDA
[customer] OPEN
[issue#] N/A
[problem] failed to get string longger than 256 bytes from provider
[cause] N/A
[solution] Released
[team] browserui
[request] N/A
[horizontal_expansion] N/A

Change-Id: I443749ce664163a194e65100480e20ca1a069e24

11 years agoRelease Version download-provider_1.0.5-1
Bang Kwang-Min [Tue, 19 Mar 2013 09:28:48 +0000 (18:28 +0900)]
Release Version download-provider_1.0.5-1

[model] REDWOOD
[binary_type] PDA
[customer] OPEN
[issue#] N/A
[problem] Web API need new API to can get http header field list
[cause] N/A
[solution] Released
[team] browserui
[request] N/A
[horizontal_expansion] N/A

change )
new API : dp_interface_get_http_header_field_list()

Change-Id: I1fd85b0dab74ee83340d4ebd73eed41ffe6c3f15

11 years agosetting the property of sqlite3
Bang Kwang-Min [Mon, 18 Mar 2013 12:13:06 +0000 (21:13 +0900)]
setting the property of sqlite3

: synchronous=OFF - do not ready to write to filesystem
  VACUUM - clear empty page

Change-Id: I38c53c4b8043b66418eb90c36bacdd90aa085afd

11 years agonew API : dp_interface_get_http_header_field_list()
Bang Kwang-Min [Mon, 18 Mar 2013 10:16:00 +0000 (19:16 +0900)]
new API : dp_interface_get_http_header_field_list()

Change-Id: I8d6523ee1cfb2e0d1f3453dac06066016d1f98de

11 years agoprevent defect : memory leak
Bang Kwang-Min [Mon, 18 Mar 2013 06:39:27 +0000 (15:39 +0900)]
prevent defect : memory leak

Change-Id: I8a8aed35082ac73ff90c9ef952f17b23d382e983

11 years agomerge new features
Bang Kwang-Min [Tue, 19 Mar 2013 10:16:24 +0000 (19:16 +0900)]
merge new features

Change-Id: I973c27a3706454eb0965921854bcc233f73a8c44

11 years agomerge with master
Jinkun Jang [Fri, 15 Mar 2013 16:21:31 +0000 (01:21 +0900)]
merge with master

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

12 years agoInitial empty repository
Hyesook Choi [Thu, 7 Jun 2012 23:56:11 +0000 (08:56 +0900)]
Initial empty repository