framework/api/url-download.git
12 years agocalling stopped callback in error case
Bang Kwang min [Fri, 31 Aug 2012 05:01:50 +0000 (14:01 +0900)]
calling stopped callback in error case

[Title] call stopped callback in all error case in event thread
[Issue#] N/A
[Problem] sometimes one thread does not get event anymore. lockup.
[Cause] client can't know error case when broken socket with download-provider
[Solution] alert error by callback in all error case
[SCMRequest] N/A

fix the crash in clear_socket
 - gallery call url_download_destory in callback function.
fix lockup issue by read block
 - if failed to send the packet in url_download_stop,
   add exception handling to not call ipc_read if failed ipc_send()

Change-Id: I534f6d5c41868fdc77f795c445fe79677541fcec

12 years agopause/resume the download even if no socket or callback
Bang Kwang min [Tue, 28 Aug 2012 07:27:57 +0000 (16:27 +0900)]
pause/resume the download even if no socket or callback

[Title] pause/resume the download even if no socket or callback
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A
[SCMRequest] N/A

Change-Id: Ie51f17a144cd8c7bdd77506197383ea5d31f75c8

12 years agostop the download even if no socket or callback
Bang Kwang min [Tue, 28 Aug 2012 06:33:13 +0000 (15:33 +0900)]
stop the download even if no socket or callback

[Title] stop the download even if no socket or callback
[Issue#] N/A
[Problem] if no socket, stop API does not work.
[Cause] N/A
[Solution] after checking socket, create the socket if need
[SCMRequest] N/A

functionalize for sending the structure

Change-Id: I09be5b5a830e8c7e618b9adbc5767f830b46ab51

12 years agorelease the pacakge
Bang Kwang min [Thu, 30 Aug 2012 07:01:52 +0000 (16:01 +0900)]
release the pacakge

changeset)
maxfd should be updated before created event thread

Upload Version : capi-web-url-download_0.0.8-4

12 years agomaxfd should be updated before created event thread
Bang Kwang min [Thu, 30 Aug 2012 06:52:24 +0000 (15:52 +0900)]
maxfd should be updated before created event thread

[Title] maxfd should be updated before created event thread
[Issue#] N/A
[Problem] client can not receive any event if thread is created fastly before updating maxfd
[Cause] N/A
[Solution] update maxfd and add to fd_set before creating thread
[SCMRequest] N/A

Change-Id: I9a283a53e82e86961fbde19db0ce85615768247a

12 years agorelease the pacakge
Bang Kwang min [Thu, 30 Aug 2012 06:23:27 +0000 (15:23 +0900)]
release the pacakge

    changeset)
    allow to call url_download_stop in case of PAUSED state
    remove duplicated call for creating socket
    fix the crash regarding pthread_kill

12 years agofix the crash regarding pthread_kill
Bang Kwang min [Thu, 30 Aug 2012 05:13:22 +0000 (14:13 +0900)]
fix the crash regarding pthread_kill

[Title] fix the crash regarding pthread_kill
[Issue#] N/A
[Problem] calling pthread_kill with wrong pid
[Cause] wrong checking whether thread is alive
[Solution] check by maxfd variable.
[SCMRequest] N/A

Change-Id: Ic0935aa012866b3d79c3143eac0e93316d5e0341

12 years agoremove duplicated call for creating socket
Bang Kwang min [Wed, 29 Aug 2012 01:19:01 +0000 (10:19 +0900)]
remove duplicated call for creating socket

[Title] remove duplicated call for creating socket
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A
[SCMRequest] N/A

Change-Id: Ib92cb9d71dbedb96642b1957971cbf0f5ff792ee

12 years agoallow to call url_download_stop in case of PAUSED state
Bang Kwang min [Thu, 30 Aug 2012 03:16:36 +0000 (12:16 +0900)]
allow to call url_download_stop in case of PAUSED state

[Title] allow to call url_download_stop in case of PAUSED state
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A
[SCMRequest] N/A

Change-Id: I865fd34771a8cde87f005148a3cc5c79b41511c3

12 years agorelease package
Bang Kwang min [Tue, 28 Aug 2012 00:31:36 +0000 (09:31 +0900)]
release package

Upload Version : capi-web-url-download_0.0.8-2

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

changes)
fix the bug take a long time to receive first event
get state info from download-provider even if no connection.
one thread model for event
Add to pass service handle data to download daemonResolve a bug about state
enhance the exception handling in event thread

12 years agoThe base model is changed
Jungki Kwak [Tue, 21 Aug 2012 10:10:00 +0000 (19:10 +0900)]
The base model is changed

The base model change the libdownload-agent package to the download-provider daemon package
modified:   CMakeLists.txt
modified:   debian/changelog
modified:   include/url_download.h
modified:   include/url_download_private.h
modified:   packaging/capi-web-url-download.spec
new file:   sample/ipc_test.c
modified:   src/url_download.c
new file:   src/url_download_provider.c

12 years agoupload tizen1.0 source
Kim Kibum [Sun, 29 Apr 2012 07:58:34 +0000 (16:58 +0900)]
upload tizen1.0 source

12 years agoInitial empty repository
eunmee moon [Fri, 27 Apr 2012 12:35:37 +0000 (21:35 +0900)]
Initial empty repository