Merge lp:~mandel/ubuntu-download-manager/reorg-project into lp:ubuntu-download-manager

Proposed by Manuel de la Peña
Status: Merged
Merged at revision: 265
Proposed branch: lp:~mandel/ubuntu-download-manager/reorg-project
Merge into: lp:ubuntu-download-manager
Prerequisite: lp:~mandel/ubuntu-download-manager/upload-interface
Diff against target: 1200 lines (+195/-205)
70 files modified
ubuntu-download-manager-priv/ubuntu-download-manager-priv.pro (+64/-75)
ubuntu-download-manager-priv/ubuntu/downloads/download.cpp (+2/-2)
ubuntu-download-manager-priv/ubuntu/downloads/download.h (+3/-3)
ubuntu-download-manager-priv/ubuntu/downloads/download_adaptor.cpp (+1/-1)
ubuntu-download-manager-priv/ubuntu/downloads/downloads_db.cpp (+2/-2)
ubuntu-download-manager-priv/ubuntu/downloads/downloads_db.h (+2/-2)
ubuntu-download-manager-priv/ubuntu/downloads/factory.cpp (+8/-7)
ubuntu-download-manager-priv/ubuntu/downloads/factory.h (+4/-4)
ubuntu-download-manager-priv/ubuntu/downloads/file_download.cpp (+4/-4)
ubuntu-download-manager-priv/ubuntu/downloads/file_download.h (+3/-3)
ubuntu-download-manager-priv/ubuntu/downloads/group_download.cpp (+5/-5)
ubuntu-download-manager-priv/ubuntu/downloads/group_download.h (+4/-4)
ubuntu-download-manager-priv/ubuntu/downloads/group_download_adaptor.cpp (+2/-2)
ubuntu-download-manager-priv/ubuntu/downloads/manager.cpp (+4/-4)
ubuntu-download-manager-priv/ubuntu/downloads/manager.h (+5/-5)
ubuntu-download-manager-priv/ubuntu/downloads/mms_file_download.cpp (+1/-1)
ubuntu-download-manager-priv/ubuntu/downloads/queue.cpp (+3/-3)
ubuntu-download-manager-priv/ubuntu/downloads/queue.h (+2/-2)
ubuntu-download-manager-priv/ubuntu/downloads/state_machines/download_sm.cpp (+1/-1)
ubuntu-download-manager-priv/ubuntu/downloads/state_machines/download_sm.h (+1/-1)
ubuntu-download-manager-priv/ubuntu/downloads/state_machines/final_state.cpp (+1/-1)
ubuntu-download-manager-priv/ubuntu/udm/daemon.cpp (+6/-6)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_daemon.cpp (+2/-2)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_daemon.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_file_download.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_manager.cpp (+4/-4)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_manager.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/apn_request_factory.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/apparmor.cpp (+1/-1)
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.h (+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.h (+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/filename_mutex.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/group_download.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/manager.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/network_reply.h (+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.h (+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.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/sm_file_download.h (+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.h (+1/-1)
ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/uuid_factory.h (+1/-1)
ubuntu-download-manager-tests/downloads/state_machines/test_cancel_download_transition.h (+1/-1)
ubuntu-download-manager-tests/downloads/state_machines/test_file_download_sm.h (+1/-1)
ubuntu-download-manager-tests/downloads/state_machines/test_final_state.h (+1/-1)
ubuntu-download-manager-tests/downloads/state_machines/test_network_error_transition.h (+1/-1)
ubuntu-download-manager-tests/downloads/state_machines/test_resume_download_transition.h (+2/-2)
ubuntu-download-manager-tests/downloads/state_machines/test_ssl_error_transition.h (+1/-1)
ubuntu-download-manager-tests/downloads/state_machines/test_start_download_transition.h (+1/-1)
ubuntu-download-manager-tests/downloads/state_machines/test_stop_request_transition.h (+2/-2)
ubuntu-download-manager-tests/downloads/test_daemon.h (+1/-1)
ubuntu-download-manager-tests/downloads/test_download.cpp (+1/-1)
ubuntu-download-manager-tests/downloads/test_download.h (+1/-1)
ubuntu-download-manager-tests/downloads/test_download_factory.cpp (+4/-4)
ubuntu-download-manager-tests/downloads/test_download_factory.h (+1/-1)
ubuntu-download-manager-tests/downloads/test_download_manager.cpp (+2/-2)
ubuntu-download-manager-tests/downloads/test_download_manager.h (+2/-2)
ubuntu-download-manager-tests/downloads/test_download_queue.cpp (+1/-1)
ubuntu-download-manager-tests/downloads/test_download_queue.h (+2/-2)
ubuntu-download-manager-tests/downloads/test_downloads_db.cpp (+1/-1)
ubuntu-download-manager-tests/downloads/test_downloads_db.h (+1/-1)
ubuntu-download-manager-tests/downloads/test_group_download.cpp (+2/-2)
ubuntu-download-manager-tests/downloads/test_group_download.h (+2/-2)
ubuntu-download-manager-tests/downloads/test_mms_download.h (+3/-3)
ubuntu-download-manager-tests/system/test_filename_mutex.cpp (+1/-1)
ubuntu-download-manager/main.cpp (+1/-1)
To merge this branch: bzr merge lp:~mandel/ubuntu-download-manager/reorg-project
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Diego Sarmentero (community) Approve
Review via email: mp+213460@code.launchpad.net

Commit message

Reorg the code so that it is simpler to share code between the uploader and the downloader. Cmake has been added as the new build system.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Diego Sarmentero (diegosarmentero) wrote :

+1

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'ubuntu-download-manager-priv/ubuntu'
2=== modified file 'ubuntu-download-manager-priv/ubuntu-download-manager-priv.pro'
3--- ubuntu-download-manager-priv/ubuntu-download-manager-priv.pro 2014-03-05 09:11:46 +0000
4+++ ubuntu-download-manager-priv/ubuntu-download-manager-priv.pro 2014-03-31 13:44:39 +0000
5@@ -11,83 +11,72 @@
6 DEFINES += APPDOWNLOADERLIB_LIBRARY
7
8 SOURCES += \
9- downloads/daemon.cpp \
10- downloads/download.cpp \
11- downloads/download_adaptor.cpp \
12- downloads/downloads_db.cpp \
13- downloads/factory.cpp \
14- downloads/manager.cpp \
15- downloads/download_manager_adaptor.cpp \
16- downloads/queue.cpp \
17- downloads/group_download.cpp \
18- downloads/group_download_adaptor.cpp \
19- downloads/file_download.cpp \
20- downloads/sm_file_download.cpp \
21- downloads/state_machines/download_sm.cpp \
22- system/uuid_utils.cpp \
23- system/uuid_factory.cpp \
24- system/timer.cpp \
25- system/system_network_info.cpp \
26- system/request_factory.cpp \
27- system/process_factory.cpp \
28- system/process.cpp \
29- system/logger.cpp \
30- system/file_manager.cpp \
31- system/application.cpp \
32- system/apparmor.cpp \
33- system/network_reply.cpp \
34- system/dbus_proxy.cpp \
35- downloads/state_machines/state.cpp \
36- downloads/state_machines/final_state.cpp \
37- system/apn_request_factory.cpp \
38- downloads/mms_file_download.cpp \
39- system/apn_proxy.cpp \
40- system/filename_mutex.cpp
41+ ubuntu/udm/daemon.cpp \
42+ ubuntu/downloads/download.cpp \
43+ ubuntu/downloads/download_adaptor.cpp \
44+ ubuntu/downloads/downloads_db.cpp \
45+ ubuntu/downloads/factory.cpp \
46+ ubuntu/downloads/manager.cpp \
47+ ubuntu/downloads/download_manager_adaptor.cpp \
48+ ubuntu/downloads/queue.cpp \
49+ ubuntu/downloads/group_download.cpp \
50+ ubuntu/downloads/group_download_adaptor.cpp \
51+ ubuntu/downloads/file_download.cpp \
52+ ubuntu/downloads/sm_file_download.cpp \
53+ ubuntu/downloads/state_machines/download_sm.cpp \
54+ ubuntu/downloads/state_machines/state.cpp \
55+ ubuntu/downloads/state_machines/final_state.cpp \
56+ ubuntu/downloads/mms_file_download.cpp \
57+ ubuntu/system/uuid_utils.cpp \
58+ ubuntu/system/uuid_factory.cpp \
59+ ubuntu/system/timer.cpp \
60+ ubuntu/system/system_network_info.cpp \
61+ ubuntu/system/request_factory.cpp \
62+ ubuntu/system/process_factory.cpp \
63+ ubuntu/system/process.cpp \
64+ ubuntu/system/logger.cpp \
65+ ubuntu/system/file_manager.cpp \
66+ ubuntu/system/application.cpp \
67+ ubuntu/system/apparmor.cpp \
68+ ubuntu/system/network_reply.cpp \
69+ ubuntu/system/dbus_proxy.cpp \
70+ ubuntu/system/apn_request_factory.cpp \
71+ ubuntu/system/apn_proxy.cpp \
72+ ubuntu/system/filename_mutex.cpp
73
74 HEADERS +=\
75- downloads/daemon.h \
76- downloads/download.h \
77- downloads/download_adaptor.h \
78- downloads/downloads_db.h \
79- downloads/factory.h \
80- downloads/manager.h \
81- downloads/download_manager_adaptor.h \
82- downloads/queue.h \
83- downloads/group_download.h \
84- downloads/group_download_adaptor.h \
85- downloads/file_download.h \
86- downloads/sm_file_download.h \
87- downloads/state_machines/download_sm.h \
88- system/uuid_utils.h \
89- system/uuid_factory.h \
90- system/timer.h \
91- system/system_network_info.h \
92- system/request_factory.h \
93- system/process_factory.h \
94- system/process.h \
95- system/logger.h \
96- system/file_manager.h \
97- system/application.h \
98- system/apparmor.h \
99- system/network_reply.h \
100- system/dbus_proxy.h \
101- downloads/state_machines/state.h \
102- downloads/state_machines/final_state.h \
103- system/apn_request_factory.h \
104- downloads/mms_file_download.h \
105- system/apn_proxy.h \
106- system/filename_mutex.h
107-
108-OTHER_FILES += \
109- generate_adaptors.sh \
110- com.canonical.applications.download.xml \
111- com.canonical.applications.download_manager.xml \
112- com.canonical.applications.group_download.xml \
113- org.freedesktop.DBus.xml \
114- downloads/com.canonical.applications.group_download.xml \
115- downloads/com.canonical.applications.download_manager.xml \
116- downloads/com.canonical.applications.download.xml \
117- downloads/generate_adaptors.sh
118+ ubuntu/udm/daemon.h \
119+ ubuntu/downloads/download.h \
120+ ubuntu/downloads/download_adaptor.h \
121+ ubuntu/downloads/downloads_db.h \
122+ ubuntu/downloads/factory.h \
123+ ubuntu/downloads/manager.h \
124+ ubuntu/downloads/download_manager_adaptor.h \
125+ ubuntu/downloads/queue.h \
126+ ubuntu/downloads/group_download.h \
127+ ubuntu/downloads/group_download_adaptor.h \
128+ ubuntu/downloads/file_download.h \
129+ ubuntu/downloads/sm_file_download.h \
130+ ubuntu/downloads/state_machines/download_sm.h \
131+ ubuntu/downloads/state_machines/state.h \
132+ ubuntu/downloads/state_machines/final_state.h \
133+ ubuntu/downloads/mms_file_download.h \
134+ ubuntu/system/uuid_utils.h \
135+ ubuntu/system/uuid_factory.h \
136+ ubuntu/system/timer.h \
137+ ubuntu/system/system_network_info.h \
138+ ubuntu/system/request_factory.h \
139+ ubuntu/system/process_factory.h \
140+ ubuntu/system/process.h \
141+ ubuntu/system/logger.h \
142+ ubuntu/system/file_manager.h \
143+ ubuntu/system/application.h \
144+ ubuntu/system/apparmor.h \
145+ ubuntu/system/network_reply.h \
146+ ubuntu/system/dbus_proxy.h \
147+ ubuntu/system/apn_request_factory.h \
148+ ubuntu/system/apn_proxy.h \
149+ ubuntu/system/filename_mutex.h
150
151 include(../common-installs-config.pri)
152
153
154=== renamed directory 'ubuntu-download-manager-priv/downloads' => 'ubuntu-download-manager-priv/ubuntu/downloads'
155=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/download.cpp'
156--- ubuntu-download-manager-priv/downloads/download.cpp 2014-02-13 17:07:12 +0000
157+++ ubuntu-download-manager-priv/ubuntu/downloads/download.cpp 2014-03-31 13:44:39 +0000
158@@ -17,8 +17,8 @@
159 */
160
161 #include <QStringList>
162-#include "system/logger.h"
163-#include "downloads/download.h"
164+#include "ubuntu/system/logger.h"
165+#include "download.h"
166
167 namespace Ubuntu {
168
169
170=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/download.h'
171--- ubuntu-download-manager-priv/downloads/download.h 2014-02-10 21:26:57 +0000
172+++ ubuntu-download-manager-priv/ubuntu/downloads/download.h 2014-03-31 13:44:39 +0000
173@@ -23,9 +23,9 @@
174 #include <QObject>
175 #include <QProcess>
176 #include <QSharedPointer>
177-#include "system/process_factory.h"
178-#include "system/request_factory.h"
179-#include "system/system_network_info.h"
180+#include "ubuntu/system/process_factory.h"
181+#include "ubuntu/system/request_factory.h"
182+#include "ubuntu/system/system_network_info.h"
183
184
185 namespace Ubuntu {
186
187=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/download_adaptor.cpp'
188--- ubuntu-download-manager-priv/downloads/download_adaptor.cpp 2014-01-27 16:36:44 +0000
189+++ ubuntu-download-manager-priv/ubuntu/downloads/download_adaptor.cpp 2014-03-31 13:44:39 +0000
190@@ -8,7 +8,7 @@
191 * Do not edit! All changes made to it will be lost.
192 */
193
194-#include "downloads/download_adaptor.h"
195+#include "download_adaptor.h"
196 #include <QtCore/QMetaObject>
197 #include <QtCore/QByteArray>
198 #include <QtCore/QList>
199
200=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/downloads_db.cpp'
201--- ubuntu-download-manager-priv/downloads/downloads_db.cpp 2014-02-10 09:51:58 +0000
202+++ ubuntu-download-manager-priv/ubuntu/downloads/downloads_db.cpp 2014-03-31 13:44:39 +0000
203@@ -26,8 +26,8 @@
204 #include <QSqlError>
205 #include <ubuntu/download_manager/system/hash_algorithm.h>
206 #include <unistd.h>
207-#include "downloads/downloads_db.h"
208-#include "system/logger.h"
209+#include "ubuntu/system/logger.h"
210+#include "downloads_db.h"
211
212 namespace {
213 const QString SINGLE_DOWNLOAD_TABLE = "CREATE TABLE IF NOT EXISTS SingleDownload("\
214
215=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/downloads_db.h'
216--- ubuntu-download-manager-priv/downloads/downloads_db.h 2014-02-10 09:51:58 +0000
217+++ ubuntu-download-manager-priv/ubuntu/downloads/downloads_db.h 2014-03-31 13:44:39 +0000
218@@ -21,8 +21,8 @@
219
220 #include <QSqlDatabase>
221 #include <QObject>
222-#include "downloads/file_download.h"
223-#include "system/file_manager.h"
224+#include "ubuntu/system/file_manager.h"
225+#include "file_download.h"
226
227 namespace Ubuntu {
228
229
230=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/factory.cpp'
231--- ubuntu-download-manager-priv/downloads/factory.cpp 2014-03-18 12:07:06 +0000
232+++ ubuntu-download-manager-priv/ubuntu/downloads/factory.cpp 2014-03-31 13:44:39 +0000
233@@ -19,13 +19,14 @@
234 #include <QNetworkProxy>
235 #include <QPair>
236 #include <ubuntu/download_manager/metadata.h>
237-#include "downloads/download_adaptor.h"
238-#include "downloads/group_download.h"
239-#include "downloads/group_download_adaptor.h"
240-#include "downloads/file_download.h"
241-#include "downloads/mms_file_download.h"
242-#include "downloads/factory.h"
243-#include "system/logger.h"
244+#include "ubuntu/system/logger.h"
245+#include "download_adaptor.h"
246+#include "group_download.h"
247+#include "group_download_adaptor.h"
248+#include "file_download.h"
249+#include "mms_file_download.h"
250+#include "factory.h"
251+
252
253 namespace Ubuntu {
254
255
256=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/factory.h'
257--- ubuntu-download-manager-priv/downloads/factory.h 2014-03-18 12:07:06 +0000
258+++ ubuntu-download-manager-priv/ubuntu/downloads/factory.h 2014-03-31 13:44:39 +0000
259@@ -21,10 +21,10 @@
260
261 #include <QObject>
262 #include <ubuntu/download_manager/metatypes.h>
263-#include "downloads/download.h"
264-#include "system/apparmor.h"
265-#include "system/system_network_info.h"
266-#include "system/uuid_factory.h"
267+#include "ubuntu/system/apparmor.h"
268+#include "ubuntu/system/system_network_info.h"
269+#include "ubuntu/system/uuid_factory.h"
270+#include "download.h"
271
272 namespace Ubuntu {
273
274
275=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/file_download.cpp'
276--- ubuntu-download-manager-priv/downloads/file_download.cpp 2014-03-17 17:24:45 +0000
277+++ ubuntu-download-manager-priv/ubuntu/downloads/file_download.cpp 2014-03-31 13:44:39 +0000
278@@ -25,10 +25,10 @@
279 #include <QSslError>
280 #include <ubuntu/download_manager/metadata.h>
281 #include <ubuntu/download_manager/system/hash_algorithm.h>
282-#include "downloads/file_download.h"
283-#include "system/filename_mutex.h"
284-#include "system/logger.h"
285-#include "system/network_reply.h"
286+#include "ubuntu/system/logger.h"
287+#include "ubuntu/system/network_reply.h"
288+#include "ubuntu/system/filename_mutex.h"
289+#include "file_download.h"
290
291 #define DOWN_LOG(LEVEL) LOG(LEVEL) << ((parent() != nullptr)?"GroupDownload {" + parent()->objectName() + " } ":"") << "Download ID{" << objectName() << " } "
292
293
294=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/file_download.h'
295--- ubuntu-download-manager-priv/downloads/file_download.h 2014-03-03 17:07:20 +0000
296+++ ubuntu-download-manager-priv/ubuntu/downloads/file_download.h 2014-03-31 13:44:39 +0000
297@@ -28,9 +28,9 @@
298 #include <ubuntu/download_manager/http_error_struct.h>
299 #include <ubuntu/download_manager/network_error_struct.h>
300 #include <ubuntu/download_manager/process_error_struct.h>
301-#include "downloads/download.h"
302-#include "system/file_manager.h"
303-#include "system/filename_mutex.h"
304+#include "ubuntu/system/filename_mutex.h"
305+#include "ubuntu/system/file_manager.h"
306+#include "download.h"
307
308 namespace Ubuntu {
309
310
311=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/group_download.cpp'
312--- ubuntu-download-manager-priv/downloads/group_download.cpp 2014-03-05 09:11:46 +0000
313+++ ubuntu-download-manager-priv/ubuntu/downloads/group_download.cpp 2014-03-31 13:44:39 +0000
314@@ -20,11 +20,11 @@
315 #include <QFileInfo>
316 #include <ubuntu/download_manager/metadata.h>
317 #include <ubuntu/download_manager/system/hash_algorithm.h>
318-#include "downloads/download_adaptor.h"
319-#include "downloads/file_download.h"
320-#include "downloads/group_download.h"
321-#include "system/logger.h"
322-#include "system/uuid_factory.h"
323+#include "ubuntu/system/logger.h"
324+#include "ubuntu/system/uuid_factory.h"
325+#include "download_adaptor.h"
326+#include "file_download.h"
327+#include "group_download.h"
328
329 #define GROUP_LOG(LEVEL) LOG(LEVEL) << "Group Download {" << objectName() << " } "
330
331
332=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/group_download.h'
333--- ubuntu-download-manager-priv/downloads/group_download.h 2014-02-20 20:13:28 +0000
334+++ ubuntu-download-manager-priv/ubuntu/downloads/group_download.h 2014-03-31 13:44:39 +0000
335@@ -24,10 +24,10 @@
336 #include <QObject>
337 #include <QSharedPointer>
338 #include <ubuntu/download_manager/group_download_struct.h>
339-#include "downloads/download.h"
340-#include "downloads/factory.h"
341-#include "downloads/file_download.h"
342-#include "system/file_manager.h"
343+#include "ubuntu/system/file_manager.h"
344+#include "download.h"
345+#include "factory.h"
346+#include "file_download.h"
347
348 namespace Ubuntu {
349
350
351=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/group_download_adaptor.cpp'
352--- ubuntu-download-manager-priv/downloads/group_download_adaptor.cpp 2014-02-11 20:39:21 +0000
353+++ ubuntu-download-manager-priv/ubuntu/downloads/group_download_adaptor.cpp 2014-03-31 13:44:39 +0000
354@@ -8,8 +8,6 @@
355 * Do not edit! All changes made to it will be lost.
356 */
357
358-#include "downloads/group_download.h"
359-#include "downloads/group_download_adaptor.h"
360 #include <QtCore/QMetaObject>
361 #include <QtCore/QByteArray>
362 #include <QtCore/QList>
363@@ -17,6 +15,8 @@
364 #include <QtCore/QString>
365 #include <QtCore/QStringList>
366 #include <QtCore/QVariant>
367+#include "group_download.h"
368+#include "group_download_adaptor.h"
369
370 namespace Ubuntu {
371
372
373=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/manager.cpp'
374--- ubuntu-download-manager-priv/downloads/manager.cpp 2014-03-18 12:07:06 +0000
375+++ ubuntu-download-manager-priv/ubuntu/downloads/manager.cpp 2014-03-31 13:44:39 +0000
376@@ -18,10 +18,10 @@
377
378 #include <functional>
379 #include <QRegExp>
380-#include "downloads/manager.h"
381-#include "system/apparmor.h"
382-#include "system/logger.h"
383-#include "system/request_factory.h"
384+#include "ubuntu/system/apparmor.h"
385+#include "ubuntu/system/logger.h"
386+#include "ubuntu/system/request_factory.h"
387+#include "manager.h"
388
389 namespace Ubuntu {
390
391
392=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/manager.h'
393--- ubuntu-download-manager-priv/downloads/manager.h 2014-03-18 12:07:06 +0000
394+++ ubuntu-download-manager-priv/ubuntu/downloads/manager.h 2014-03-31 13:44:39 +0000
395@@ -26,11 +26,11 @@
396 #include <QSslCertificate>
397 #include <ubuntu/download_manager/metatypes.h>
398 #include <ubuntu/download_manager/system/dbus_connection.h>
399-#include "downloads/download.h"
400-#include "downloads/downloads_db.h"
401-#include "downloads/queue.h"
402-#include "downloads/factory.h"
403-#include "system/application.h"
404+#include "ubuntu/system/application.h"
405+#include "download.h"
406+#include "downloads_db.h"
407+#include "queue.h"
408+#include "factory.h"
409
410 namespace Ubuntu {
411
412
413=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/mms_file_download.cpp'
414--- ubuntu-download-manager-priv/downloads/mms_file_download.cpp 2014-03-18 11:22:26 +0000
415+++ ubuntu-download-manager-priv/ubuntu/downloads/mms_file_download.cpp 2014-03-31 13:44:39 +0000
416@@ -16,7 +16,7 @@
417 * Boston, MA 02110-1301, USA.
418 */
419
420-#include "system/apn_request_factory.h"
421+#include "ubuntu/system/apn_request_factory.h"
422 #include "mms_file_download.h"
423
424 namespace Ubuntu {
425
426=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/queue.cpp'
427--- ubuntu-download-manager-priv/downloads/queue.cpp 2014-02-03 17:52:16 +0000
428+++ ubuntu-download-manager-priv/ubuntu/downloads/queue.cpp 2014-03-31 13:44:39 +0000
429@@ -17,9 +17,9 @@
430 */
431
432 #include <QSignalMapper>
433-#include "downloads/queue.h"
434-#include "system/logger.h"
435-#include "system/system_network_info.h"
436+#include "ubuntu/system/logger.h"
437+#include "ubuntu/system/system_network_info.h"
438+#include "queue.h"
439
440 namespace Ubuntu {
441
442
443=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/queue.h'
444--- ubuntu-download-manager-priv/downloads/queue.h 2014-01-29 10:47:13 +0000
445+++ ubuntu-download-manager-priv/ubuntu/downloads/queue.h 2014-03-31 13:44:39 +0000
446@@ -22,8 +22,8 @@
447 #include <QList>
448 #include <QPair>
449 #include <QSharedPointer>
450-#include "downloads/download.h"
451-#include "downloads/download_adaptor.h"
452+#include "download.h"
453+#include "download_adaptor.h"
454
455 namespace Ubuntu {
456
457
458=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/state_machines/download_sm.cpp'
459--- ubuntu-download-manager-priv/downloads/state_machines/download_sm.cpp 2014-01-28 16:03:24 +0000
460+++ ubuntu-download-manager-priv/ubuntu/downloads/state_machines/download_sm.cpp 2014-03-31 13:44:39 +0000
461@@ -20,7 +20,7 @@
462 #include <QState>
463 #include <QStateMachine>
464 #include <QSslError>
465-#include "system/logger.h"
466+#include "ubuntu/system/logger.h"
467 #include "download_sm.h"
468 #include "final_state.h"
469 #include "state.h"
470
471=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/state_machines/download_sm.h'
472--- ubuntu-download-manager-priv/downloads/state_machines/download_sm.h 2014-01-10 16:38:56 +0000
473+++ ubuntu-download-manager-priv/ubuntu/downloads/state_machines/download_sm.h 2014-03-31 13:44:39 +0000
474@@ -24,7 +24,7 @@
475 #include <QState>
476 #include <QObject>
477 #include <QVariant>
478-#include "downloads/sm_file_download.h"
479+#include "ubuntu/downloads/sm_file_download.h"
480
481 namespace Ubuntu {
482
483
484=== modified file 'ubuntu-download-manager-priv/ubuntu/downloads/state_machines/final_state.cpp'
485--- ubuntu-download-manager-priv/downloads/state_machines/final_state.cpp 2014-01-24 11:54:24 +0000
486+++ ubuntu-download-manager-priv/ubuntu/downloads/state_machines/final_state.cpp 2014-03-31 13:44:39 +0000
487@@ -16,7 +16,7 @@
488 * Boston, MA 02110-1301, USA.
489 */
490
491-#include "system/logger.h"
492+#include "ubuntu/system/logger.h"
493 #include "final_state.h"
494
495 namespace Ubuntu {
496
497=== renamed directory 'ubuntu-download-manager-priv/system' => 'ubuntu-download-manager-priv/ubuntu/system'
498=== added directory 'ubuntu-download-manager-priv/ubuntu/udm'
499=== renamed file 'ubuntu-download-manager-priv/downloads/daemon.cpp' => 'ubuntu-download-manager-priv/ubuntu/udm/daemon.cpp'
500--- ubuntu-download-manager-priv/downloads/daemon.cpp 2014-02-21 11:52:42 +0000
501+++ ubuntu-download-manager-priv/ubuntu/udm/daemon.cpp 2014-03-31 13:44:39 +0000
502@@ -19,12 +19,12 @@
503 #include <QtDBus/QDBusConnection>
504 #include <QSharedPointer>
505 #include <QSslCertificate>
506-#include "downloads/daemon.h"
507-#include "downloads/manager.h"
508-#include "downloads/download_manager_adaptor.h"
509-#include "system/application.h"
510-#include "system/logger.h"
511-#include "system/timer.h"
512+#include "ubuntu/downloads/manager.h"
513+#include "ubuntu/downloads/download_manager_adaptor.h"
514+#include "ubuntu/system/application.h"
515+#include "ubuntu/system/logger.h"
516+#include "ubuntu/system/timer.h"
517+#include "daemon.h"
518
519
520 namespace {
521
522=== renamed file 'ubuntu-download-manager-priv/downloads/daemon.h' => 'ubuntu-download-manager-priv/ubuntu/udm/daemon.h'
523=== renamed directory 'ubuntu-download-manager-priv/uploads' => 'ubuntu-download-manager-priv/ubuntu/uploads'
524=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_daemon.cpp'
525--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_daemon.cpp 2014-02-11 19:57:39 +0000
526+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_daemon.cpp 2014-03-31 13:44:39 +0000
527@@ -19,8 +19,8 @@
528 #include <QDebug>
529 #include <QDBusError>
530 #include <ubuntu/download_manager/system/dbus_connection.h>
531-#include <system/application.h>
532-#include <system/timer.h>
533+#include <ubuntu/system/application.h>
534+#include <ubuntu/system/timer.h>
535 #include "testing_manager.h"
536 #include "testing_manager_adaptor.h"
537 #include "testing_daemon.h"
538
539=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_daemon.h'
540--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_daemon.h 2014-02-11 19:57:39 +0000
541+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_daemon.h 2014-03-31 13:44:39 +0000
542@@ -21,7 +21,7 @@
543
544 #include <QObject>
545 #include <ubuntu/download_manager/metatypes.h>
546-#include <downloads/daemon.h> // comes from the priv lib, just for testing!!!!
547+#include <ubuntu/udm/daemon.h> // comes from the priv lib, just for testing!!!!
548
549 class TestingManagerAdaptor;
550 class TestingDaemon : public Ubuntu::DownloadManager::Daemon::Daemon {
551
552=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_file_download.h'
553--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_file_download.h 2014-02-11 19:57:39 +0000
554+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_file_download.h 2014-03-31 13:44:39 +0000
555@@ -21,7 +21,7 @@
556
557 #include <QDBusContext>
558 #include <QObject>
559-#include <downloads/file_download.h>
560+#include <ubuntu/downloads/file_download.h>
561 #include <ubuntu/download_manager/metatypes.h>
562
563 using namespace Ubuntu::DownloadManager::Daemon;
564
565=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_manager.cpp'
566--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_manager.cpp 2014-02-11 19:57:39 +0000
567+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_manager.cpp 2014-03-31 13:44:39 +0000
568@@ -17,10 +17,10 @@
569 */
570
571 #include <QDebug>
572-#include <downloads/queue.h>
573-#include <downloads/download.h>
574-#include <downloads/download_adaptor.h>
575-#include <downloads/file_download.h>
576+#include <ubuntu/downloads/queue.h>
577+#include <ubuntu/downloads/download.h>
578+#include <ubuntu/downloads/download_adaptor.h>
579+#include <ubuntu/downloads/file_download.h>
580 #include "testing_file_download.h"
581 #include "testing_manager.h"
582
583
584=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_manager.h'
585--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_manager.h 2014-02-11 19:57:39 +0000
586+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/client/testing_manager.h 2014-03-31 13:44:39 +0000
587@@ -21,7 +21,7 @@
588
589 #include <QObject>
590 #include <ubuntu/download_manager/metatypes.h>
591-#include <downloads/manager.h> // comes from the priv lib, just for testing!!!!
592+#include <ubuntu/downloads/manager.h> // comes from the priv lib, just for testing!!!!
593
594 using namespace Ubuntu::DownloadManager::Daemon;
595
596
597=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/apn_request_factory.h'
598--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/apn_request_factory.h 2014-01-28 18:51:12 +0000
599+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/apn_request_factory.h 2014-03-31 13:44:39 +0000
600@@ -20,7 +20,7 @@
601 #define FAKE_APN_REQUEST_FACTORY_H
602
603 #include <QObject>
604-#include <system/apn_request_factory.h>
605+#include <ubuntu/system/apn_request_factory.h>
606 #include "ubuntu/download_manager/tests/fake.h"
607
608 using namespace Ubuntu::DownloadManager::System;
609
610=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/apparmor.cpp'
611--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/apparmor.cpp 2014-01-10 16:38:56 +0000
612+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/apparmor.cpp 2014-03-31 13:44:39 +0000
613@@ -16,7 +16,7 @@
614 * Boston, MA 02110-1301, USA.
615 */
616
617-#include <system/uuid_utils.h>
618+#include <ubuntu/system/uuid_utils.h>
619 #include "apparmor.h"
620
621 FakeAppArmor::FakeAppArmor(QSharedPointer<UuidFactory> uuidFactory,
622
623=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/apparmor.h'
624--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/apparmor.h 2014-01-10 16:38:56 +0000
625+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/apparmor.h 2014-03-31 13:44:39 +0000
626@@ -21,8 +21,8 @@
627
628 #include <QObject>
629 #include <QSharedPointer>
630-#include <system/apparmor.h>
631-#include <system/uuid_factory.h>
632+#include <ubuntu/system/apparmor.h>
633+#include <ubuntu/system/uuid_factory.h>
634 #include "ubuntu/download_manager/tests/fake.h"
635
636 using namespace Ubuntu::DownloadManager::System;
637
638=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/application.h'
639--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/application.h 2014-01-22 16:53:05 +0000
640+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/application.h 2014-03-31 13:44:39 +0000
641@@ -20,7 +20,7 @@
642 #define FAKE_APPLICATION_H
643
644 #include <QObject>
645-#include <system/application.h>
646+#include <ubuntu/system/application.h>
647 #include "ubuntu/download_manager/tests/fake.h"
648
649 using namespace Ubuntu::DownloadManager::System;
650
651=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/download.h'
652--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/download.h 2014-02-13 13:21:14 +0000
653+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/download.h 2014-03-31 13:44:39 +0000
654@@ -20,8 +20,8 @@
655 #define FAKE_DOWNLOAD_H
656
657 #include <QSharedPointer>
658-#include <downloads/file_download.h>
659-#include <system/system_network_info.h>
660+#include <ubuntu/downloads/file_download.h>
661+#include <ubuntu/system/system_network_info.h>
662 #include <ubuntu/download_manager/metatypes.h>
663 #include "ubuntu/download_manager/tests/fake.h"
664
665
666=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/factory.h'
667--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/factory.h 2014-01-22 16:53:05 +0000
668+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/factory.h 2014-03-31 13:44:39 +0000
669@@ -21,7 +21,7 @@
670
671 #include <QObject>
672 #include <QSharedPointer>
673-#include <downloads/factory.h>
674+#include <ubuntu/downloads/factory.h>
675 #include "ubuntu/download_manager/tests/fake.h"
676
677 using namespace Ubuntu::DownloadManager::System;
678
679=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/file_manager.h'
680--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/file_manager.h 2014-02-01 09:01:47 +0000
681+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/file_manager.h 2014-03-31 13:44:39 +0000
682@@ -20,7 +20,7 @@
683 #define FAKE_FILE_MANAGER_H
684
685 #include <QObject>
686-#include <system/file_manager.h>
687+#include <ubuntu/system/file_manager.h>
688 #include "ubuntu/download_manager/tests/fake.h"
689
690 using namespace Ubuntu::DownloadManager::System;
691
692=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/filename_mutex.h'
693--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/filename_mutex.h 2014-02-18 16:39:22 +0000
694+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/filename_mutex.h 2014-03-31 13:44:39 +0000
695@@ -20,7 +20,7 @@
696 #define FILENAME_MUTEXT_H
697
698 #include <QObject>
699-#include <system/filename_mutex.h>
700+#include <ubuntu/system/filename_mutex.h>
701 #include "ubuntu/download_manager/tests/fake.h"
702
703 using namespace Ubuntu::DownloadManager::System;
704
705=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/group_download.h'
706--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/group_download.h 2014-02-13 13:21:14 +0000
707+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/group_download.h 2014-03-31 13:44:39 +0000
708@@ -19,7 +19,7 @@
709 #ifndef FAKE_GROUP_DOWNLOAD_H
710 #define FAKE_GROUP_DOWNLOAD_H
711
712-#include <downloads/group_download.h>
713+#include <ubuntu/downloads/group_download.h>
714 #include "download.h"
715
716 class FakeGroupDownload : public GroupDownload {
717
718=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/manager.h'
719--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/manager.h 2014-01-10 16:38:56 +0000
720+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/manager.h 2014-03-31 13:44:39 +0000
721@@ -20,7 +20,7 @@
722 #define FAKE_DOWNLOAD_MANAGER_H
723
724 #include <QObject>
725-#include <downloads/manager.h>
726+#include <ubuntu/downloads/manager.h>
727 #include "ubuntu/download_manager/tests/fake.h"
728
729 using namespace Ubuntu::DownloadManager::System;
730
731=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/network_reply.h'
732--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/network_reply.h 2014-02-04 12:13:02 +0000
733+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/network_reply.h 2014-03-31 13:44:39 +0000
734@@ -21,7 +21,7 @@
735
736 #include <QMap>
737 #include <QObject>
738-#include <system/network_reply.h>
739+#include <ubuntu/system/network_reply.h>
740 #include "ubuntu/download_manager/tests/fake.h"
741
742 using namespace Ubuntu::DownloadManager::System;
743
744=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/process.h'
745--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/process.h 2014-01-29 13:47:00 +0000
746+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/process.h 2014-03-31 13:44:39 +0000
747@@ -20,7 +20,7 @@
748 #define FAKE_PROCESS_H
749
750 #include <QObject>
751-#include <system/process.h>
752+#include <ubuntu/system/process.h>
753 #include "ubuntu/download_manager/tests/fake.h"
754
755 using namespace Ubuntu::DownloadManager::System;
756
757=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/process_factory.h'
758--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/process_factory.h 2014-01-22 16:53:05 +0000
759+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/process_factory.h 2014-03-31 13:44:39 +0000
760@@ -20,7 +20,7 @@
761 #define FAKE_PROCESS_FACTORY_H
762
763 #include <QObject>
764-#include <system/process_factory.h>
765+#include <ubuntu/system/process_factory.h>
766 #include "ubuntu/download_manager/tests/fake.h"
767
768 using namespace Ubuntu::DownloadManager::System;
769
770=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/queue.h'
771--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/queue.h 2014-01-22 16:53:05 +0000
772+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/queue.h 2014-03-31 13:44:39 +0000
773@@ -19,8 +19,8 @@
774 #ifndef FAKE_DOWNLOAD_QUEUE_H
775 #define FAKE_DOWNLOAD_QUEUE_H
776 #include <QSharedPointer>
777-#include <downloads/queue.h>
778-#include <system/system_network_info.h>
779+#include <ubuntu/downloads/queue.h>
780+#include <ubuntu/system/system_network_info.h>
781 #include "ubuntu/download_manager/tests/fake.h"
782
783 using namespace Ubuntu::DownloadManager::Daemon;
784
785=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/request_factory.h'
786--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/request_factory.h 2014-02-04 12:13:02 +0000
787+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/request_factory.h 2014-03-31 13:44:39 +0000
788@@ -23,7 +23,7 @@
789 #include <QNetworkRequest>
790 #include <QNetworkReply>
791 #include <QPair>
792-#include <system/request_factory.h>
793+#include <ubuntu/system/request_factory.h>
794 #include "ubuntu/download_manager/tests/fake.h"
795
796 using namespace Ubuntu::DownloadManager::System;
797
798=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/sm_file_download.h'
799--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/sm_file_download.h 2014-01-10 16:38:56 +0000
800+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/sm_file_download.h 2014-03-31 13:44:39 +0000
801@@ -21,7 +21,7 @@
802
803 #include <QObject>
804 #include <QSslError>
805-#include <downloads/sm_file_download.h>
806+#include <ubuntu/downloads/sm_file_download.h>
807 #include "ubuntu/download_manager/tests/fake.h"
808
809 using namespace Ubuntu::DownloadManager::Daemon;
810
811=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/system_network_info.h'
812--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/system_network_info.h 2014-01-22 16:53:05 +0000
813+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/system_network_info.h 2014-03-31 13:44:39 +0000
814@@ -20,7 +20,7 @@
815 #define FAKE_SYSTEM_NETWORK_INFO_H
816
817 #include <QObject>
818-#include <system/system_network_info.h>
819+#include <ubuntu/system/system_network_info.h>
820 #include "ubuntu/download_manager/tests/fake.h"
821
822 using namespace Ubuntu::DownloadManager::System;
823
824=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/timer.h'
825--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/timer.h 2014-01-22 16:53:05 +0000
826+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/timer.h 2014-03-31 13:44:39 +0000
827@@ -20,7 +20,7 @@
828 #define FAKE_TIMER_H
829
830 #include <QObject>
831-#include <system/timer.h>
832+#include <ubuntu/system/timer.h>
833 #include "ubuntu/download_manager/tests/fake.h"
834
835 using namespace Ubuntu::DownloadManager::System;
836
837=== modified file 'ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/uuid_factory.h'
838--- ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/uuid_factory.h 2014-01-22 16:53:05 +0000
839+++ ubuntu-download-manager-test-lib/ubuntu/download_manager/tests/server/uuid_factory.h 2014-03-31 13:44:39 +0000
840@@ -20,7 +20,7 @@
841 #define FAKE_UUID_FACTORY_H
842
843 #include <QObject>
844-#include <system/uuid_factory.h>
845+#include <ubuntu/system/uuid_factory.h>
846 #include "ubuntu/download_manager/tests/fake.h"
847
848 using namespace Ubuntu::DownloadManager::System;
849
850=== modified file 'ubuntu-download-manager-tests/downloads/state_machines/test_cancel_download_transition.h'
851--- ubuntu-download-manager-tests/downloads/state_machines/test_cancel_download_transition.h 2014-01-10 16:38:56 +0000
852+++ ubuntu-download-manager-tests/downloads/state_machines/test_cancel_download_transition.h 2014-03-31 13:44:39 +0000
853@@ -23,7 +23,7 @@
854 #include <QObject>
855 #include <QState>
856 #include <QStateMachine>
857-#include <downloads/state_machines/download_sm.h>
858+#include <ubuntu/downloads/state_machines/download_sm.h>
859 #include <ubuntu/download_manager/tests/base_testcase.h>
860 #include <ubuntu/download_manager/tests/test_runner.h>
861 #include <ubuntu/download_manager/tests/server/sm_file_download.h>
862
863=== modified file 'ubuntu-download-manager-tests/downloads/state_machines/test_file_download_sm.h'
864--- ubuntu-download-manager-tests/downloads/state_machines/test_file_download_sm.h 2014-01-10 16:38:56 +0000
865+++ ubuntu-download-manager-tests/downloads/state_machines/test_file_download_sm.h 2014-03-31 13:44:39 +0000
866@@ -23,7 +23,7 @@
867 #include <QState>
868 #include <QStateMachine>
869 #include <QSignalTransition>
870-#include <downloads/state_machines/download_sm.h>
871+#include <ubuntu/downloads/state_machines/download_sm.h>
872 #include <ubuntu/download_manager/tests/base_testcase.h>
873 #include <ubuntu/download_manager/tests/test_runner.h>
874 #include <ubuntu/download_manager/tests/server/sm_file_download.h>
875
876=== modified file 'ubuntu-download-manager-tests/downloads/state_machines/test_final_state.h'
877--- ubuntu-download-manager-tests/downloads/state_machines/test_final_state.h 2014-01-10 16:38:56 +0000
878+++ ubuntu-download-manager-tests/downloads/state_machines/test_final_state.h 2014-03-31 13:44:39 +0000
879@@ -23,7 +23,7 @@
880 #include <QState>
881 #include <QStateMachine>
882 #include <QSignalTransition>
883-#include <downloads/state_machines/final_state.h>
884+#include <ubuntu/downloads/state_machines/final_state.h>
885 #include <ubuntu/download_manager/tests/base_testcase.h>
886 #include <ubuntu/download_manager/tests/test_runner.h>
887
888
889=== modified file 'ubuntu-download-manager-tests/downloads/state_machines/test_network_error_transition.h'
890--- ubuntu-download-manager-tests/downloads/state_machines/test_network_error_transition.h 2014-01-10 16:38:56 +0000
891+++ ubuntu-download-manager-tests/downloads/state_machines/test_network_error_transition.h 2014-03-31 13:44:39 +0000
892@@ -23,7 +23,7 @@
893 #include <QState>
894 #include <QStateMachine>
895 #include <QObject>
896-#include <downloads/state_machines/download_sm.h>
897+#include <ubuntu/downloads/state_machines/download_sm.h>
898 #include <ubuntu/download_manager/tests/base_testcase.h>
899 #include <ubuntu/download_manager/tests/test_runner.h>
900 #include <ubuntu/download_manager/tests/server/sm_file_download.h>
901
902=== modified file 'ubuntu-download-manager-tests/downloads/state_machines/test_resume_download_transition.h'
903--- ubuntu-download-manager-tests/downloads/state_machines/test_resume_download_transition.h 2014-01-10 16:38:56 +0000
904+++ ubuntu-download-manager-tests/downloads/state_machines/test_resume_download_transition.h 2014-03-31 13:44:39 +0000
905@@ -23,7 +23,7 @@
906 #include <QObject>
907 #include <QState>
908 #include <QStateMachine>
909-#include <downloads/state_machines/download_sm.h>
910+#include <ubuntu/downloads/state_machines/download_sm.h>
911 #include <ubuntu/download_manager/tests/base_testcase.h>
912 #include <ubuntu/download_manager/tests/test_runner.h>
913 #include <ubuntu/download_manager/tests/server/sm_file_download.h>
914@@ -34,7 +34,7 @@
915 Q_OBJECT
916 public:
917 explicit TestResumeDownloadTransition(QObject *parent = 0);
918-
919+
920 private slots: // NOLINT(whitespace/indent)
921
922 void init() override;
923
924=== modified file 'ubuntu-download-manager-tests/downloads/state_machines/test_ssl_error_transition.h'
925--- ubuntu-download-manager-tests/downloads/state_machines/test_ssl_error_transition.h 2014-01-10 16:38:56 +0000
926+++ ubuntu-download-manager-tests/downloads/state_machines/test_ssl_error_transition.h 2014-03-31 13:44:39 +0000
927@@ -23,7 +23,7 @@
928 #include <QObject>
929 #include <QState>
930 #include <QStateMachine>
931-#include <downloads/state_machines/download_sm.h>
932+#include <ubuntu/downloads/state_machines/download_sm.h>
933 #include <ubuntu/download_manager/tests/base_testcase.h>
934 #include <ubuntu/download_manager/tests/test_runner.h>
935 #include <ubuntu/download_manager/tests/server/sm_file_download.h>
936
937=== modified file 'ubuntu-download-manager-tests/downloads/state_machines/test_start_download_transition.h'
938--- ubuntu-download-manager-tests/downloads/state_machines/test_start_download_transition.h 2014-01-10 16:38:56 +0000
939+++ ubuntu-download-manager-tests/downloads/state_machines/test_start_download_transition.h 2014-03-31 13:44:39 +0000
940@@ -23,7 +23,7 @@
941 #include <QObject>
942 #include <QState>
943 #include <QStateMachine>
944-#include <downloads/state_machines/download_sm.h>
945+#include <ubuntu/downloads/state_machines/download_sm.h>
946 #include <ubuntu/download_manager/tests/base_testcase.h>
947 #include <ubuntu/download_manager/tests/test_runner.h>
948 #include <ubuntu/download_manager/tests/server/sm_file_download.h>
949
950=== modified file 'ubuntu-download-manager-tests/downloads/state_machines/test_stop_request_transition.h'
951--- ubuntu-download-manager-tests/downloads/state_machines/test_stop_request_transition.h 2014-01-10 16:38:56 +0000
952+++ ubuntu-download-manager-tests/downloads/state_machines/test_stop_request_transition.h 2014-03-31 13:44:39 +0000
953@@ -23,7 +23,7 @@
954 #include <QObject>
955 #include <QState>
956 #include <QStateMachine>
957-#include <downloads/state_machines/download_sm.h>
958+#include <ubuntu/downloads/state_machines/download_sm.h>
959 #include <ubuntu/download_manager/tests/base_testcase.h>
960 #include <ubuntu/download_manager/tests/test_runner.h>
961 #include <ubuntu/download_manager/tests/server/sm_file_download.h>
962@@ -35,7 +35,7 @@
963
964 public:
965 explicit TestStopRequestTransition(QObject *parent = 0);
966-
967+
968 private slots: // NOLINT(whitespace/indent)
969
970 void init() override;
971
972=== modified file 'ubuntu-download-manager-tests/downloads/test_daemon.h'
973--- ubuntu-download-manager-tests/downloads/test_daemon.h 2014-01-10 16:38:56 +0000
974+++ ubuntu-download-manager-tests/downloads/test_daemon.h 2014-03-31 13:44:39 +0000
975@@ -20,7 +20,7 @@
976 #define TEST_DOWNLOAD_DAEMON_H
977
978 #include <QObject>
979-#include <downloads/daemon.h>
980+#include <ubuntu/udm/daemon.h>
981 #include <ubuntu/download_manager/tests/server/application.h>
982 #include <ubuntu/download_manager/tests/server/dbus_connection.h>
983 #include <ubuntu/download_manager/tests/server/manager.h>
984
985=== modified file 'ubuntu-download-manager-tests/downloads/test_download.cpp'
986--- ubuntu-download-manager-tests/downloads/test_download.cpp 2014-03-17 17:24:45 +0000
987+++ ubuntu-download-manager-tests/downloads/test_download.cpp 2014-03-31 13:44:39 +0000
988@@ -20,7 +20,7 @@
989 #include <QSignalSpy>
990 #include <QSslError>
991 #include <ubuntu/download_manager/system/hash_algorithm.h>
992-#include <system/uuid_utils.h>
993+#include <ubuntu/system/uuid_utils.h>
994 #include <ubuntu/download_manager/tests/server/network_reply.h>
995 #include <ubuntu/download_manager/tests/server/process.h>
996 #include "test_download.h"
997
998=== modified file 'ubuntu-download-manager-tests/downloads/test_download.h'
999--- ubuntu-download-manager-tests/downloads/test_download.h 2014-03-03 17:07:20 +0000
1000+++ ubuntu-download-manager-tests/downloads/test_download.h 2014-03-31 13:44:39 +0000
1001@@ -21,7 +21,7 @@
1002
1003 #include <QDir>
1004 #include <QObject>
1005-#include <downloads/file_download.h>
1006+#include <ubuntu/downloads/file_download.h>
1007 #include <ubuntu/download_manager/metatypes.h>
1008 #include <ubuntu/download_manager/tests/server/file_manager.h>
1009 #include <ubuntu/download_manager/tests/server/filename_mutex.h>
1010
1011=== modified file 'ubuntu-download-manager-tests/downloads/test_download_factory.cpp'
1012--- ubuntu-download-manager-tests/downloads/test_download_factory.cpp 2014-03-18 12:07:06 +0000
1013+++ ubuntu-download-manager-tests/downloads/test_download_factory.cpp 2014-03-31 13:44:39 +0000
1014@@ -16,11 +16,11 @@
1015 * Boston, MA 02110-1301, USA.
1016 */
1017
1018-#include <downloads/file_download.h>
1019-#include <downloads/mms_file_download.h>
1020+#include <ubuntu/downloads/file_download.h>
1021+#include <ubuntu/downloads/mms_file_download.h>
1022 #include <ubuntu/download_manager/system/hash_algorithm.h>
1023-#include <system/file_manager.h>
1024-#include <system/uuid_utils.h>
1025+#include <ubuntu/system/file_manager.h>
1026+#include <ubuntu/system/uuid_utils.h>
1027 #include "test_download_factory.h"
1028
1029 TestDownloadFactory::TestDownloadFactory(QObject *parent)
1030
1031=== modified file 'ubuntu-download-manager-tests/downloads/test_download_factory.h'
1032--- ubuntu-download-manager-tests/downloads/test_download_factory.h 2014-01-28 18:51:12 +0000
1033+++ ubuntu-download-manager-tests/downloads/test_download_factory.h 2014-03-31 13:44:39 +0000
1034@@ -20,7 +20,7 @@
1035 #define TEST_DOWNLOAD_FACTORY_H
1036
1037 #include <QObject>
1038-#include <downloads/factory.h>
1039+#include <ubuntu/downloads/factory.h>
1040 #include <ubuntu/download_manager/tests/server/apparmor.h>
1041 #include <ubuntu/download_manager/tests/server/system_network_info.h>
1042 #include <ubuntu/download_manager/tests/server/request_factory.h>
1043
1044=== modified file 'ubuntu-download-manager-tests/downloads/test_download_manager.cpp'
1045--- ubuntu-download-manager-tests/downloads/test_download_manager.cpp 2014-01-10 16:38:56 +0000
1046+++ ubuntu-download-manager-tests/downloads/test_download_manager.cpp 2014-03-31 13:44:39 +0000
1047@@ -17,9 +17,9 @@
1048 */
1049
1050 #include <QSignalSpy>
1051-#include <downloads/factory.h>
1052+#include <ubuntu/downloads/factory.h>
1053 #include <ubuntu/download_manager/download_struct.h>
1054-#include <system/uuid_utils.h>
1055+#include <ubuntu/system/uuid_utils.h>
1056 #include <ubuntu/download_manager/tests/server/process_factory.h>
1057 #include <ubuntu/download_manager/tests/server/system_network_info.h>
1058 #include "test_download_manager.h"
1059
1060=== modified file 'ubuntu-download-manager-tests/downloads/test_download_manager.h'
1061--- ubuntu-download-manager-tests/downloads/test_download_manager.h 2014-01-10 16:38:56 +0000
1062+++ ubuntu-download-manager-tests/downloads/test_download_manager.h 2014-03-31 13:44:39 +0000
1063@@ -21,8 +21,8 @@
1064
1065 #include <QObject>
1066 #include <QSharedPointer>
1067-#include <downloads/manager.h>
1068-#include <downloads/file_download.h>
1069+#include <ubuntu/downloads/manager.h>
1070+#include <ubuntu/downloads/file_download.h>
1071 #include <ubuntu/download_manager/tests/server/application.h>
1072 #include <ubuntu/download_manager/tests/server/apparmor.h>
1073 #include <ubuntu/download_manager/tests/server/dbus_connection.h>
1074
1075=== modified file 'ubuntu-download-manager-tests/downloads/test_download_queue.cpp'
1076--- ubuntu-download-manager-tests/downloads/test_download_queue.cpp 2014-01-29 10:56:24 +0000
1077+++ ubuntu-download-manager-tests/downloads/test_download_queue.cpp 2014-03-31 13:44:39 +0000
1078@@ -17,7 +17,7 @@
1079 */
1080
1081 #include <QSignalSpy>
1082-#include <system/uuid_utils.h>
1083+#include <ubuntu/system/uuid_utils.h>
1084 #include "test_download_queue.h"
1085
1086 TestDownloadQueue::TestDownloadQueue(QObject *parent)
1087
1088=== modified file 'ubuntu-download-manager-tests/downloads/test_download_queue.h'
1089--- ubuntu-download-manager-tests/downloads/test_download_queue.h 2014-01-29 10:47:13 +0000
1090+++ ubuntu-download-manager-tests/downloads/test_download_queue.h 2014-03-31 13:44:39 +0000
1091@@ -20,8 +20,8 @@
1092 #define TEST_DOWNLOAD_QUEUE_H
1093
1094 #include <QObject>
1095-#include <downloads/download_adaptor.h>
1096-#include <downloads/queue.h>
1097+#include <ubuntu/downloads/download_adaptor.h>
1098+#include <ubuntu/downloads/queue.h>
1099 #include <ubuntu/download_manager/tests/server/download.h>
1100 #include <ubuntu/download_manager/tests/server/request_factory.h>
1101 #include <ubuntu/download_manager/tests/server/process_factory.h>
1102
1103=== modified file 'ubuntu-download-manager-tests/downloads/test_downloads_db.cpp'
1104--- ubuntu-download-manager-tests/downloads/test_downloads_db.cpp 2014-02-18 16:39:22 +0000
1105+++ ubuntu-download-manager-tests/downloads/test_downloads_db.cpp 2014-03-31 13:44:39 +0000
1106@@ -24,7 +24,7 @@
1107 #include <QSignalSpy>
1108 #include <ubuntu/download_manager/metatypes.h>
1109 #include <ubuntu/download_manager/system/hash_algorithm.h>
1110-#include <system/uuid_utils.h>
1111+#include <ubuntu/system/uuid_utils.h>
1112 #include <ubuntu/download_manager/tests/server/download.h>
1113 #include <ubuntu/download_manager/tests/server/system_network_info.h>
1114 #include <ubuntu/download_manager/tests/server/request_factory.h>
1115
1116=== modified file 'ubuntu-download-manager-tests/downloads/test_downloads_db.h'
1117--- ubuntu-download-manager-tests/downloads/test_downloads_db.h 2014-02-18 16:39:22 +0000
1118+++ ubuntu-download-manager-tests/downloads/test_downloads_db.h 2014-03-31 13:44:39 +0000
1119@@ -21,7 +21,7 @@
1120 #include <QDir>
1121 #include <QObject>
1122 #include <QSqlDatabase>
1123-#include <downloads/downloads_db.h>
1124+#include <ubuntu/downloads/downloads_db.h>
1125 #include <ubuntu/download_manager/tests/base_testcase.h>
1126 #include <ubuntu/download_manager/tests/test_runner.h>
1127 #include <ubuntu/download_manager/tests/server/filename_mutex.h>
1128
1129=== modified file 'ubuntu-download-manager-tests/downloads/test_group_download.cpp'
1130--- ubuntu-download-manager-tests/downloads/test_group_download.cpp 2014-02-19 19:01:37 +0000
1131+++ ubuntu-download-manager-tests/downloads/test_group_download.cpp 2014-03-31 13:44:39 +0000
1132@@ -18,9 +18,9 @@
1133
1134 #include <QScopedPointer>
1135 #include <QSignalSpy>
1136-#include <downloads/group_download.h>
1137-#include <system/uuid_utils.h>
1138 #include <ubuntu/download_manager/metadata.h>
1139+#include <ubuntu/downloads/group_download.h>
1140+#include <ubuntu/system/uuid_utils.h>
1141 #include <ubuntu/download_manager/tests/server/download.h>
1142 #include <ubuntu/download_manager/tests/server/group_download.h>
1143 #include "test_group_download.h"
1144
1145=== modified file 'ubuntu-download-manager-tests/downloads/test_group_download.h'
1146--- ubuntu-download-manager-tests/downloads/test_group_download.h 2014-02-13 13:21:14 +0000
1147+++ ubuntu-download-manager-tests/downloads/test_group_download.h 2014-03-31 13:44:39 +0000
1148@@ -20,8 +20,8 @@
1149 #define TEST_GROUP_DOWNLOAD_H
1150
1151 #include <QObject>
1152-#include <system/uuid_factory.h>
1153-#include <downloads/group_download.h>
1154+#include <ubuntu/system/uuid_factory.h>
1155+#include <ubuntu/downloads/group_download.h>
1156 #include <ubuntu/download_manager/tests/server/apparmor.h>
1157 #include <ubuntu/download_manager/tests/server/file_manager.h>
1158 #include <ubuntu/download_manager/tests/server/system_network_info.h>
1159
1160=== modified file 'ubuntu-download-manager-tests/downloads/test_mms_download.h'
1161--- ubuntu-download-manager-tests/downloads/test_mms_download.h 2014-01-29 12:11:35 +0000
1162+++ ubuntu-download-manager-tests/downloads/test_mms_download.h 2014-03-31 13:44:39 +0000
1163@@ -20,9 +20,9 @@
1164 #define TEST_MMS_DOWNLOAD_H
1165
1166 #include <QObject>
1167-#include <system/request_factory.h>
1168-#include <system/apn_request_factory.h>
1169-#include <downloads/mms_file_download.h>
1170+#include <ubuntu/system/request_factory.h>
1171+#include <ubuntu/system/apn_request_factory.h>
1172+#include <ubuntu/downloads/mms_file_download.h>
1173 #include <ubuntu/download_manager/tests/base_testcase.h>
1174 #include <ubuntu/download_manager/tests/test_runner.h>
1175
1176
1177=== modified file 'ubuntu-download-manager-tests/system/test_filename_mutex.cpp'
1178--- ubuntu-download-manager-tests/system/test_filename_mutex.cpp 2014-02-18 16:39:22 +0000
1179+++ ubuntu-download-manager-tests/system/test_filename_mutex.cpp 2014-03-31 13:44:39 +0000
1180@@ -20,7 +20,7 @@
1181 #include <QDir>
1182 #include <QFile>
1183 #include <QScopedPointer>
1184-#include <system/filename_mutex.h>
1185+#include <ubuntu/system/filename_mutex.h>
1186 #include "test_filename_mutex.h"
1187
1188 using namespace Ubuntu::DownloadManager::System;
1189
1190=== modified file 'ubuntu-download-manager/main.cpp'
1191--- ubuntu-download-manager/main.cpp 2014-01-10 16:38:56 +0000
1192+++ ubuntu-download-manager/main.cpp 2014-03-31 13:44:39 +0000
1193@@ -18,7 +18,7 @@
1194
1195 #include <QTimer>
1196 #include <QCoreApplication>
1197-#include <downloads/daemon.h>
1198+#include <ubuntu/udm/daemon.h>
1199
1200 using namespace Ubuntu::DownloadManager::Daemon;
1201

Subscribers

People subscribed via source and target branches