The Manager class in the client lib does not allow to create downloads
Bug #1268911 reported by
Manuel de la Peña
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-download-manager |
Fix Released
|
High
|
Manuel de la Peña | ||
ubuntu-download-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The manager class in the client library does not allow to create Downloads or GroupDownloads in the UDM.
Related branches
lp://staging/~mandel/ubuntu-download-manager/add-manager-implementation
- PS Jenkins bot: Approve (continuous-integration)
- Diego Sarmentero (community): Approve
-
Diff: 4183 lines (+1871/-320)124 files modifiedcommon-project-config.pri (+10/-1)
debian/control (+23/-1)
debian/ubuntu-download-manager-client-dev.install (+3/-1)
debian/ubuntu-download-manager-client1.install (+1/-1)
debian/ubuntu-download-manager-common-dev.install (+0/-1)
debian/ubuntu-download-manager-common1.install (+1/-1)
debian/ubuntu-download-manager-priv1.install (+1/-1)
download-manager.pro (+10/-2)
ubuntu-download-manager-client-tests/main.cpp (+25/-0)
ubuntu-download-manager-client-tests/test_download_watch.cpp (+90/-0)
ubuntu-download-manager-client-tests/test_download_watch.h (+58/-0)
ubuntu-download-manager-client-tests/test_group_watch.cpp (+99/-0)
ubuntu-download-manager-client-tests/test_group_watch.h (+60/-0)
ubuntu-download-manager-client-tests/ubuntu-download-manager-client-tests.pro (+44/-0)
ubuntu-download-manager-client/ubuntu-download-manager-client.pro (+13/-3)
ubuntu-download-manager-client/ubuntu/download_manager/download.cpp (+57/-0)
ubuntu-download-manager-client/ubuntu/download_manager/download.h (+62/-0)
ubuntu-download-manager-client/ubuntu/download_manager/error.cpp (+33/-0)
ubuntu-download-manager-client/ubuntu/download_manager/error.h (+43/-0)
ubuntu-download-manager-client/ubuntu/download_manager/group_download.cpp (+57/-0)
ubuntu-download-manager-client/ubuntu/download_manager/group_download.h (+63/-0)
ubuntu-download-manager-client/ubuntu/download_manager/manager.cpp (+146/-27)
ubuntu-download-manager-client/ubuntu/download_manager/manager.h (+39/-8)
ubuntu-download-manager-client/ubuntu/download_manager/manager_interface.cpp (+33/-0)
ubuntu-download-manager-client/ubuntu/download_manager/manager_interface.h (+111/-0)
ubuntu-download-manager-client/ubuntu/download_manager/manager_pendingcall_watcher.cpp (+102/-0)
ubuntu-download-manager-client/ubuntu/download_manager/manager_pendingcall_watcher.h (+81/-0)
ubuntu-download-manager-common/ubuntu-download-manager-common.pro (+2/-0)
ubuntu-download-manager-common/ubuntu/download_manager/system/dbus_connection.cpp (+10/-0)
ubuntu-download-manager-common/ubuntu/download_manager/system/dbus_connection.h (+3/-1)
ubuntu-download-manager-priv/downloads/daemon.cpp (+32/-9)
ubuntu-download-manager-priv/downloads/daemon.h (+19/-8)
ubuntu-download-manager-priv/downloads/download.cpp (+5/-1)
ubuntu-download-manager-priv/downloads/download.h (+5/-1)
ubuntu-download-manager-priv/downloads/download_manager_adaptor.cpp (+4/-0)
ubuntu-download-manager-priv/downloads/download_manager_adaptor.h (+4/-0)
ubuntu-download-manager-priv/downloads/downloads_db.cpp (+3/-0)
ubuntu-download-manager-priv/downloads/downloads_db.h (+4/-0)
ubuntu-download-manager-priv/downloads/factory.cpp (+4/-5)
ubuntu-download-manager-priv/downloads/factory.h (+5/-1)
ubuntu-download-manager-priv/downloads/file_download.cpp (+5/-1)
ubuntu-download-manager-priv/downloads/file_download.h (+5/-1)
ubuntu-download-manager-priv/downloads/group_download.cpp (+5/-1)
ubuntu-download-manager-priv/downloads/group_download.h (+5/-1)
ubuntu-download-manager-priv/downloads/group_download_adaptor.cpp (+4/-0)
ubuntu-download-manager-priv/downloads/group_download_adaptor.h (+4/-0)
ubuntu-download-manager-priv/downloads/manager.cpp (+4/-1)
ubuntu-download-manager-priv/downloads/manager.h (+6/-2)
ubuntu-download-manager-priv/downloads/queue.cpp (+3/-0)
ubuntu-download-manager-priv/downloads/queue.h (+4/-0)
ubuntu-download-manager-priv/downloads/sm_file_download.cpp (+5/-1)
ubuntu-download-manager-priv/downloads/sm_file_download.h (+5/-1)
ubuntu-download-manager-priv/downloads/state_machines/download_sm.cpp (+5/-1)
ubuntu-download-manager-priv/downloads/state_machines/download_sm.h (+5/-1)
ubuntu-download-manager-priv/downloads/state_machines/final_state.cpp (+5/-1)
ubuntu-download-manager-priv/downloads/state_machines/final_state.h (+5/-1)
ubuntu-download-manager-priv/downloads/state_machines/state.cpp (+17/-1)
ubuntu-download-manager-priv/downloads/state_machines/state.h (+17/-1)
ubuntu-download-manager-priv/system/apparmor.h (+2/-2)
ubuntu-download-manager-priv/ubuntu-download-manager-priv.pro (+0/-2)
ubuntu-download-manager-test-lib/ubuntu-download-manager-test-lib.pro (+63/-0)
ubuntu-download-manager-test-lib/ubuntu-download-manager-test-lib_global.h (+12/-0)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/base_testcase.h (+3/-3)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/daemon_testcase.cpp (+50/-0)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/daemon_testcase.h (+46/-0)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/apparmor.cpp (+2/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/apparmor.h (+2/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/application.cpp (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/application.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/dbus_connection.cpp (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/dbus_connection.h (+2/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/download.cpp (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/download.h (+2/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/factory.cpp (+2/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/factory.h (+3/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/file_manager.cpp (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/file_manager.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/manager.cpp (+2/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/manager.h (+4/-3)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/network_reply.cpp (+3/-3)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/network_reply.h (+2/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/process.cpp (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/process.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/process_factory.cpp (+2/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/process_factory.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/qnetwork_reply.cpp (+2/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/qnetwork_reply.h (+2/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/queue.cpp (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/queue.h (+2/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/request_factory.cpp (+3/-3)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/request_factory.h (+2/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/sm_file_download.cpp (+2/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/sm_file_download.h (+3/-3)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/system_network_info.cpp (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/system_network_info.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/timer.cpp (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/timer.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/uuid_factory.cpp (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/uuid_factory.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntudownloadmanagertestlib.cpp (+6/-0)
ubuntu-download-manager-test-lib/ubuntudownloadmanagertestlib.h (+13/-0)
ubuntu-download-manager-tests/downloads/state_machines/test_cancel_download_transition.h (+7/-7)
ubuntu-download-manager-tests/downloads/state_machines/test_file_download_sm.h (+5/-5)
ubuntu-download-manager-tests/downloads/state_machines/test_final_state.h (+6/-6)
ubuntu-download-manager-tests/downloads/state_machines/test_network_error_transition.h (+5/-5)
ubuntu-download-manager-tests/downloads/state_machines/test_resume_download_transition.h (+5/-5)
ubuntu-download-manager-tests/downloads/state_machines/test_ssl_error_transition.h (+5/-5)
ubuntu-download-manager-tests/downloads/state_machines/test_start_download_transition.h (+5/-5)
ubuntu-download-manager-tests/downloads/state_machines/test_stop_request_transition.h (+6/-7)
ubuntu-download-manager-tests/downloads/test_daemon.cpp (+16/-14)
ubuntu-download-manager-tests/downloads/test_daemon.h (+7/-7)
ubuntu-download-manager-tests/downloads/test_download.cpp (+4/-4)
ubuntu-download-manager-tests/downloads/test_download.h (+7/-7)
ubuntu-download-manager-tests/downloads/test_download_factory.h (+9/-8)
ubuntu-download-manager-tests/downloads/test_download_manager.cpp (+3/-3)
ubuntu-download-manager-tests/downloads/test_download_manager.h (+14/-11)
ubuntu-download-manager-tests/downloads/test_download_queue.h (+6/-6)
ubuntu-download-manager-tests/downloads/test_downloads_db.cpp (+4/-4)
ubuntu-download-manager-tests/downloads/test_downloads_db.h (+4/-4)
ubuntu-download-manager-tests/downloads/test_group_download.cpp (+2/-2)
ubuntu-download-manager-tests/downloads/test_group_download.h (+12/-9)
ubuntu-download-manager-tests/main.cpp (+2/-2)
ubuntu-download-manager-tests/ubuntu-download-manager-tests.pro (+6/-40)
ubuntu-download-manager/main.cpp (+4/-3)
Changed in ubuntu-download-manager: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-download-manager at revision 216, scheduled for release in ubuntu- download- manager, milestone 0.4