summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-09-07Add to search download id from history dbJungki Kwak2-6/+19
[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
2012-09-05start to download again even if already finishedBang Kwang min1-1/+15
[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
2012-09-05arrange the request priorityBang Kwang min2-140/+145
[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
2012-09-05change data typeBang Kwang min1-3/+2
[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
2012-09-05wait till getting the response from clientBang Kwang min1-0/+1
[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
2012-09-05change thread styleBang Kwang min1-9/+10
[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
2012-09-03fix timeout errorBang Kwang min1-2/+2
[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
2012-09-03free slot after getting event from url-downloadBang Kwang min1-11/+21
[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
2012-09-03fix INTEGER OVERFLOWBang Kwang min2-6/+11
[Title] INTEGER OVERFLOW [Issue#] N/A [Problem] N/A [Cause] N/A [Solution] N/A [SCMRequest] N/A Change-Id: Ife83905c713a04a9a741afa940fde527122ab07a
2012-08-30support Pause/Resume with new connectionBang Kwang min1-1/+35
[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
2012-08-30fix the memory leakBang Kwang min1-0/+1
[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
2012-08-30initialize mutex for auto-redownloadingBang Kwang min1-0/+2
[Title] initialize mutex for auto-redownloading [Issue#] N/A [Problem] N/A [Cause] N/A [Solution] N/A [SCMRequest] N/A Change-Id: Ib6ecc3cc0e571769b620c6d0b51dbe3bc36e6d89
2012-08-27Code Sync with Private GITBang Kwang min11-113/+124
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
2012-08-24Code Sync with Private GITBang Kwang min5-155/+568
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
2012-08-23Remove DRM dependencyJungki Kwak14-490/+33
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
2012-08-21The download provider daemon is added newly.Jungki Kwak77-5797/+15877
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
2012-06-08apply FSL(Flora Software License)Kim Kibum25-0/+5797