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

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