framework/web/download-provider.git
11 years agoRevert manifest to default one 54/2254/1 2.0alpha master
Elena Reshetova [Tue, 23 Oct 2012 08:03:43 +0000 (11:03 +0300)]
Revert manifest to default one

11 years agoRelease a package 2.0_alpha submit/master/20120920.151153
Bang Kwang min [Fri, 7 Sep 2012 02:29:40 +0000 (11:29 +0900)]
Release a package

[Title] N/A
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A

changes)
- add LICENSE
- Add to search download id from history db
 Upload Version : download-provider_0.0.5-9

Change-Id: I6ac8160382455c1e8962cebc2ee06ed6a0a0f7fe

11 years agoAdd to search download id from history db
Jungki Kwak [Wed, 5 Sep 2012 09:50:44 +0000 (18:50 +0900)]
Add to search download id from history db

[Title] Add to search download id from history db
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] If client restart the download after stoping it, the download id is exised at history db.

modified:   src/download-provider-db.c
modified:   src/download-provider-receiver.c

Change-Id: I7ce0c30b6cf0ea3c3ccf5f3ad629f364b8585601

11 years agofix the error and warning of spec file
Bang Kwang min [Fri, 7 Sep 2012 00:50:46 +0000 (09:50 +0900)]
fix the error and warning of spec file

Change-Id: I1ff14f8eee416792508b72470f9f646363541abf

11 years agoRelease a package
Bang Kwang min [Wed, 5 Sep 2012 23:02:28 +0000 (08:02 +0900)]
Release a package

[Title] N/A
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A

changes)
 start to download again even if already finished
 change thread style
 arrange the request priority
 change data type
 wait till getting the response from client

 Upload Version : download-provider_0.0.5-8

11 years agostart to download again even if already finished
Bang Kwang min [Wed, 5 Sep 2012 00:18:58 +0000 (09:18 +0900)]
start to download again even if already finished

[Title] start to download again when job having same requestid was already finished
[Issue#] N/A
[Problem] no operation if already finished
[Cause] N/A
[Solution] N/A
[SCMRequest] N/A

Change-Id: I6f528cb595a9398ffc7f2e2d0169cd7d9769eb4a

11 years agoarrange the request priority
Bang Kwang min [Tue, 4 Sep 2012 05:28:22 +0000 (14:28 +0900)]
arrange the request priority

[Title] arrage the request priority
[Issue#] N/A
[Problem] when there are some pended job and new connection, sometimes new job will be started.
[Cause] N/A
[Solution] if pended job, start it, change new job to pended job.
[SCMRequest] N/A

additional)
finctionalize duplicated codes
use unsigned type for counting variable
improve the performance of pending start.

Change-Id: I4abb9b88192652b2c6a8d707e20a1a891eb62d24

11 years agochange data type
Bang Kwang min [Tue, 4 Sep 2012 05:03:15 +0000 (14:03 +0900)]
change data type

[Title] change data type
[Issue#] N/A
[Problem] some api can return -1, but the variable is unsigned type
[Cause] N/A
[Solution] change to int type
[SCMRequest] N/A

remove sleep after pending

Change-Id: I59d4544a3a17a877c8b0bdef8fe5b247d720fee0

11 years agowait till getting the response from client
Bang Kwang min [Tue, 4 Sep 2012 03:16:54 +0000 (12:16 +0900)]
wait till getting the response from client

[Title] wait till getting the response from client
[Issue#] N/A
[Problem] client can't get the state because provider close socket too early
[Cause] N/A
[Solution] wait a control command
[SCMRequest] N/A

Dependancy) * below url-download should be merged beforehand
http://slp-info.sec.samsung.net/gerrit/#change,87793

Change-Id: I63fe495e2c153c6e48ad9ab8b0d945549a4fc650

11 years agochange thread style
Bang Kwang min [Tue, 4 Sep 2012 08:02:55 +0000 (17:02 +0900)]
change thread style

[Title] change thread style as detached
[Issue#] S1-8296
[Problem] tkill SIGABRT when turn off phone
[Cause] pthread_cancel bug
[Solution] detach the thread to free by itself.
[SCMRequest] N/A

Change-Id: I139b5a770fde2ffa01f5622a1755604635a709fa

11 years agorelease the pacakge
Bang Kwang min [Mon, 3 Sep 2012 08:32:10 +0000 (17:32 +0900)]
release the pacakge

changes)
fix timeout error

11 years agofix timeout error
Bang Kwang min [Mon, 3 Sep 2012 08:25:45 +0000 (17:25 +0900)]
fix timeout error

[Title] can not enter to timeout job statement except first timeout.
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] flag move
[SCMRequest] N/A

Change-Id: Id75af7dcad9751975d7a493458191a01caa63462

11 years agorelease the pacakge
Bang Kwang min [Mon, 3 Sep 2012 05:12:36 +0000 (14:12 +0900)]
release the pacakge

changes)
fix INTEGER OVERFLOW
free slot after getting event from url-download

11 years agofree slot after getting event from url-download
Bang Kwang min [Mon, 3 Sep 2012 00:58:57 +0000 (09:58 +0900)]
free slot after getting event from url-download

[Title] free slot(memory) after getting event (STOP) or broken socket
[Issue#] N/A
[Problem] client can't receive any event if downloading is too fast.
[Cause] free slot before client accepting event
[Solution] maintain socket and slot(memory) including the info till client accept all event.
[SCMRequest] N/A

[Title] apply the flag for timeout
[Issue#] N/A
[Problem] so many called
[Cause] after finished download, main loop should ignore it.
[Solution] change the flag only when deal events really.
[SCMRequest] N/A

Change-Id: I55e843eca9770d099fcbeb176c53735002adb407

11 years agofix INTEGER OVERFLOW
Bang Kwang min [Wed, 29 Aug 2012 01:35:16 +0000 (10:35 +0900)]
fix INTEGER OVERFLOW

[Title] INTEGER OVERFLOW
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A
[SCMRequest] N/A

Change-Id: Ife83905c713a04a9a741afa940fde527122ab07a

11 years agorelease the pacakge
Bang Kwang min [Thu, 30 Aug 2012 06:19:04 +0000 (15:19 +0900)]
release the pacakge

    changeset)
    initialize mutex for auto-redownloading
    fix the memory leak
    support Pause/Resume with new connection

11 years agosupport Pause/Resume with new connection
Bang Kwang min [Tue, 28 Aug 2012 06:20:24 +0000 (15:20 +0900)]
support Pause/Resume with new connection

[Title] support Pause/Resume with new connection
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A
[SCMRequest] N/A

Change-Id: I0acad9c35d3119e9f69fba174657ec1aa580f2c6

11 years agofix the memory leak
Bang Kwang min [Tue, 28 Aug 2012 06:17:36 +0000 (15:17 +0900)]
fix the memory leak

[Title] fix the memory leak
[Issue#] N/A
[Problem] it need to free after clear the structure
[Cause] N/A
[Solution] add free call
[SCMRequest] N/A

modified:   src/download-provider-receiver.c

Change-Id: I20d5cdf4cdfd01eabf278873da9fcdfa399076cc

11 years agoinitialize mutex for auto-redownloading
Bang Kwang min [Tue, 28 Aug 2012 06:21:28 +0000 (15:21 +0900)]
initialize mutex for auto-redownloading

[Title] initialize mutex for auto-redownloading
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A
[SCMRequest] N/A

Change-Id: Ib6ecc3cc0e571769b620c6d0b51dbe3bc36e6d89

11 years agorelease the pacakge
Bang Kwang min [Tue, 28 Aug 2012 00:27:25 +0000 (09:27 +0900)]
release the pacakge

Upload Version : download-provider_0.0.5-3

11 years agoCode Sync with Private GIT
Bang Kwang min [Mon, 27 Aug 2012 08:49:37 +0000 (17:49 +0900)]
Code Sync with Private GIT

changes )
Change the ownership of downloaded file
Add detached option when pthread is created
fix the failure getting history info from database
Resolve prevent defects for agent module
divide log level
fix the crash by double free
fix wrong checking of network status
fix first timeout takes a long time

11 years agoCode Sync with Private GIT
Bang Kwang min [Fri, 24 Aug 2012 02:07:28 +0000 (11:07 +0900)]
Code Sync with Private GIT

changes)
fix the defects found by prevent tool
remove mutex lock/unlock in case of invalid id
support the status of download in case of getting new connection with requestid
clear db, register notification when stopped the download
Update notification function
Enable to set the defined file name by user
event thread does not deal in some state
fix the lockup by mutex and the crash by invaild socket event
Resolve a bug of return type

modified:   CMakeLists.txt
modified:   include/download-provider-db.h
modified:   include/download-provider-notification.h
modified:   include/download-provider.h
modified:   packaging/download-provider.spec
modified:   src/download-provider-db.c
modified:   src/download-provider-ipc.c
modified:   src/download-provider-notification.c
modified:   src/download-provider-receiver.c
modified:   src/download-provider-utils.c

11 years agoRemove DRM dependency
Jungki Kwak [Thu, 23 Aug 2012 07:29:47 +0000 (16:29 +0900)]
Remove DRM dependency

The drm download is removed.

modified:   packaging/download-provider.spec
modified:   src/agent/CMakeLists.txt
modified:   src/agent/download-agent-debug.c
modified:   src/agent/download-agent-dl-mgr.c
modified:   src/agent/download-agent-file.c
modified:   src/agent/download-agent-http-mgr.c
modified:   src/agent/download-agent-http-queue.c
deleted:    src/agent/download-agent-plugin-drm.c
modified:   src/agent/download-agent-utils.c
modified:   src/agent/include/download-agent-debug.h
modified:   src/agent/include/download-agent-defs.h
modified:   src/agent/include/download-agent-dl-mgr.h
modified:   src/agent/include/download-agent-http-queue.h
deleted:    src/agent/include/download-agent-plugin-drm.h
modified:   src/agent/include/download-agent-utils.h

11 years agoThe download provider daemon is added newly.
Jungki Kwak [Tue, 21 Aug 2012 10:50:29 +0000 (19:50 +0900)]
The download provider daemon is added newly.

The old download-provider package was UI application.
The new download-provider package is download daemon process.
new file:   AUTHORS
modified:   CMakeLists.txt
deleted:    INSTALL
deleted:    LICENSE
deleted:    NOTICE
modified:   debian/changelog
deleted:    debian/compat
deleted:    debian/control
deleted:    debian/dirs
deleted:    debian/org.tizen.download-provider.install.in
deleted:    debian/org.tizen.download-provider.postinst
deleted:    debian/rules
new file:   download-provider-service
new file:   download-provider.manifest
new file:   download-provider.pc.in
new file:   include/download-provider-config.h
new file:   include/download-provider-db.h
new file:   include/download-provider-ipc.h
new file:   include/download-provider-log.h
new file:   include/download-provider-notification.h
new file:   include/download-provider-pthread.h
new file:   include/download-provider-utils.h
new file:   include/download-provider.h
new file:   packaging/download-provider.spec
deleted:    packaging/org.tizen.download-provider.spec
deleted:    po/CMakeLists.txt
deleted:    po/POTFILES.in.in
deleted:    po/csv2po
deleted:    po/de_DE.po
deleted:    po/el_GR.po
deleted:    po/en.po
deleted:    po/es_ES.po
deleted:    po/fr_FR.po
deleted:    po/it_IT.po
deleted:    po/ja_JP.po
deleted:    po/ko_KR.po
deleted:    po/nl_NL.po
deleted:    po/pt_PT.po
deleted:    po/ru_RU.po
deleted:    po/tr_TR.po
deleted:    po/update-po.sh.in
deleted:    po/zh_CN.po
deleted:    po/zh_HK.po
deleted:    po/zh_TW.po
renamed:    res/images/U06_icon_DRM.png -> res/images/Q02_Notification_Download_failed.png
deleted:    res/images/U06_icon_Java.png
deleted:    res/images/U06_icon_Unknown.png
deleted:    res/images/U06_icon_excel.png
deleted:    res/images/U06_icon_html.png
deleted:    res/images/U06_icon_image.png
deleted:    res/images/U06_icon_music.png
deleted:    res/images/U06_icon_pdf.png
deleted:    res/images/U06_icon_ppt.png
deleted:    res/images/U06_icon_ringtone.png
deleted:    res/images/U06_icon_text.png
deleted:    res/images/U06_icon_video.png
deleted:    res/images/U06_icon_word.png
deleted:    res/org.tizen.download-provider.desktop.in
deleted:    res/org.tizen.download-provider.png
new file:   script/commit-template
new file:   src/agent/CMakeLists.txt
new file:   src/agent/download-agent-basic.c
new file:   src/agent/download-agent-client-mgr.c
new file:   src/agent/download-agent-debug.c
new file:   src/agent/download-agent-dl-info-util.c
new file:   src/agent/download-agent-dl-mgr.c
new file:   src/agent/download-agent-encoding.c
new file:   src/agent/download-agent-file.c
new file:   src/agent/download-agent-http-mgr.c
new file:   src/agent/download-agent-http-misc.c
new file:   src/agent/download-agent-http-msg-handler.c
new file:   src/agent/download-agent-http-queue.c
new file:   src/agent/download-agent-installation.c
new file:   src/agent/download-agent-interface.c
new file:   src/agent/download-agent-mime-util.c
new file:   src/agent/download-agent-plugin-conf.c
new file:   src/agent/download-agent-plugin-drm.c
new file:   src/agent/download-agent-plugin-install.c
new file:   src/agent/download-agent-plugin-libsoup.c
new file:   src/agent/download-agent-utils-dl-req-id-history.c
new file:   src/agent/download-agent-utils.c
new file:   src/agent/include/download-agent-basic.h
new file:   src/agent/include/download-agent-client-mgr.h
new file:   src/agent/include/download-agent-debug.h
new file:   src/agent/include/download-agent-defs.h
new file:   src/agent/include/download-agent-dl-info-util.h
new file:   src/agent/include/download-agent-dl-mgr.h
new file:   src/agent/include/download-agent-encoding.h
new file:   src/agent/include/download-agent-file.h
new file:   src/agent/include/download-agent-http-mgr.h
new file:   src/agent/include/download-agent-http-misc.h
new file:   src/agent/include/download-agent-http-msg-handler.h
new file:   src/agent/include/download-agent-http-queue.h
new file:   src/agent/include/download-agent-installation.h
new file:   src/agent/include/download-agent-interface.h
new file:   src/agent/include/download-agent-mime-util.h
new file:   src/agent/include/download-agent-plugin-conf.h
new file:   src/agent/include/download-agent-plugin-drm.h
new file:   src/agent/include/download-agent-plugin-http-interface.h
new file:   src/agent/include/download-agent-plugin-install.h
new file:   src/agent/include/download-agent-plugin-libsoup.h
new file:   src/agent/include/download-agent-pthread.h
new file:   src/agent/include/download-agent-type.h
new file:   src/agent/include/download-agent-utils-dl-req-id-history.h
new file:   src/agent/include/download-agent-utils.h
deleted:    src/download-provider-dateTime.cpp
new file:   src/download-provider-db.c
deleted:    src/download-provider-downloadItem.cpp
deleted:    src/download-provider-downloadRequest.cpp
deleted:    src/download-provider-event.cpp
deleted:    src/download-provider-history-db.cpp
new file:   src/download-provider-ipc.c
deleted:    src/download-provider-item.cpp
deleted:    src/download-provider-items.cpp
new file:   src/download-provider-main.c
deleted:    src/download-provider-network.cpp
new file:   src/download-provider-notification.c
new file:   src/download-provider-pid.c
new file:   src/download-provider-receiver.c
deleted:    src/download-provider-util.cpp
new file:   src/download-provider-utils.c
deleted:    src/download-provider-view.cpp
deleted:    src/download-provider-viewItem.cpp
deleted:    src/include/download-provider-common.h
deleted:    src/include/download-provider-dateTime.h
deleted:    src/include/download-provider-debug.h
deleted:    src/include/download-provider-downloadItem.h
deleted:    src/include/download-provider-downloadRequest.h
deleted:    src/include/download-provider-event.h
deleted:    src/include/download-provider-history-db.h
deleted:    src/include/download-provider-item.h
deleted:    src/include/download-provider-items.h
deleted:    src/include/download-provider-network.h
deleted:    src/include/download-provider-util.h
deleted:    src/include/download-provider-view.h
deleted:    src/include/download-provider-viewItem.h
deleted:    src/main.cpp

11 years agoapply FSL(Flora Software License)
Kim Kibum [Fri, 8 Jun 2012 05:53:59 +0000 (14:53 +0900)]
apply FSL(Flora Software License)

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