Merge lp:~mandel/ubuntuone-windows-installer/fix_xml_warnings_2 into lp:ubuntuone-windows-installer/beta

Proposed by Manuel de la Peña
Status: Merged
Approved by: Rodrigo Moya
Approved revision: 30
Merged at revision: 55
Proposed branch: lp:~mandel/ubuntuone-windows-installer/fix_xml_warnings_2
Merge into: lp:ubuntuone-windows-installer/beta
Prerequisite: lp:~mandel/ubuntuone-windows-installer/fix_xml_warnings_1
Diff against target: 1269 lines (+471/-311)
30 files modified
src/Canonical.UbuntuOne.Client.Test/Notification/NotificationEventArgsFixture.cs (+17/-19)
src/Canonical.UbuntuOne.Client.Test/Notification/NotificationPresenterFixture.cs (+17/-19)
src/Canonical.UbuntuOne.Client.Test/Notification/OperationCompletenessEventArgsFixture.cs (+17/-19)
src/Canonical.UbuntuOne.Client.Test/Notification/RecentlyModifiedEventArgsFixture.cs (+17/-19)
src/Canonical.UbuntuOne.Client.Test/Notification/StateEventArgsFixture.cs (+17/-19)
src/Canonical.UbuntuOne.Client.Views/NotifyIcon.xaml.cs (+16/-0)
src/Canonical.UbuntuOne.Client.Views/PreferencesDialog.xaml.cs (+3/-0)
src/Canonical.UbuntuOne.Client.Views/Update/DownloadingView.xaml.cs (+21/-0)
src/Canonical.UbuntuOne.Client.Views/Update/UpdatingView.xaml.cs (+12/-0)
src/Canonical.UbuntuOne.Client/Notification/INotificationIconPresenter.cs (+17/-19)
src/Canonical.UbuntuOne.Client/Notification/INotificationIconView.cs (+33/-19)
src/Canonical.UbuntuOne.Client/Notification/IStateMapper.cs (+17/-19)
src/Canonical.UbuntuOne.Client/Notification/ISyncDaemonClientNotifier.cs (+17/-19)
src/Canonical.UbuntuOne.Client/Notification/NotificationEventArgs.cs (+17/-19)
src/Canonical.UbuntuOne.Client/Notification/NotificationIconPresenter.cs (+47/-19)
src/Canonical.UbuntuOne.Client/Notification/OperationCompletenessEventArgs.cs (+26/-20)
src/Canonical.UbuntuOne.Client/Notification/RecentlyModifiedEventArgs.cs (+17/-20)
src/Canonical.UbuntuOne.Client/Notification/StateEventArgs.cs (+29/-19)
src/Canonical.UbuntuOne.Client/Preferences/IPreferencesDialogPresenter.cs (+20/-20)
src/Canonical.UbuntuOne.Client/SyncDaemonClient.cs (+17/-19)
src/Canonical.UbuntuOne.Common/Aop/DebugLogAfterThrowInterceptor.cs (+8/-0)
src/Canonical.UbuntuOne.Common/Container/UnsatisfiedDependencyException.cs (+8/-0)
src/Canonical.UbuntuOne.Common/DataContracts/AccountData.cs (+5/-0)
src/Canonical.UbuntuOne.Common/DataContracts/Enumerators.cs (+9/-0)
src/Canonical.UbuntuOne.Common/IProcessManagerFactory.cs (+8/-0)
src/Canonical.UbuntuOne.Common/OperationContracts/ISyncFolders.cs (+4/-0)
src/Canonical.UbuntuOne.Common/Update/DownloadingPresenter.cs (+28/-0)
src/Canonical.UbuntuOne.Common/Utils/Explorer.cs (+4/-1)
src/Canonical.UbuntuOne.Common/Validation/MultiException.cs (+2/-2)
src/Canonical.UbuntuOne.ProcessDispatcher/SyncDaemonService.cs (+1/-1)
To merge this branch: bzr merge lp:~mandel/ubuntuone-windows-installer/fix_xml_warnings_2
Reviewer Review Type Date Requested Status
Rodrigo Moya (community) Approve
Vincenzo Di Somma (community) Approve
Review via email: mp+31822@code.launchpad.net

Description of the change

Removes an other 100 warnings related with the xml documentation.

To post a comment you must log in.
30. By Manuel de la Peña

Merge with parent.

Revision history for this message
Vincenzo Di Somma (vds) wrote :

Again, good job with the comments!

review: Approve
Revision history for this message
Rodrigo Moya (rodrigo-moya) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Canonical.UbuntuOne.Client.Test/Notification/NotificationEventArgsFixture.cs'
2--- src/Canonical.UbuntuOne.Client.Test/Notification/NotificationEventArgsFixture.cs 2010-07-27 11:57:29 +0000
3+++ src/Canonical.UbuntuOne.Client.Test/Notification/NotificationEventArgsFixture.cs 2010-08-09 16:40:24 +0000
4@@ -1,22 +1,20 @@
5-/**
6- * Copyright 2010 Canonical Ltd.
7- *
8- * This file is part of UbuntuOne on Windows.
9- *
10- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
11- * it under the terms of the GNU Lesser General Public License version
12- * as published by the Free Software Foundation.
13- *
14- * Ubuntu One on Windows is distributed in the hope that it will be useful,
15- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17- * GNU Lesser General Public License for more details.
18- *
19- * You should have received a copy of the GNU Lesser General Public License
20- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
21- *
22- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
23- */
24+// Copyright 2010 Canonical Ltd.
25+//
26+// This file is part of UbuntuOne on Windows.
27+//
28+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
29+// it under the terms of the GNU Lesser General Public License version
30+// as published by the Free Software Foundation.
31+//
32+// Ubuntu One on Windows is distributed in the hope that it will be useful,
33+// but WITHOUT ANY WARRANTY; without even the implied warranty of
34+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35+// GNU Lesser General Public License for more details.
36+//
37+// You should have received a copy of the GNU Lesser General Public License
38+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
39+//
40+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
41 using Canonical.UbuntuOne.Client.Notification;
42 using NUnit.Framework;
43
44
45=== modified file 'src/Canonical.UbuntuOne.Client.Test/Notification/NotificationPresenterFixture.cs'
46--- src/Canonical.UbuntuOne.Client.Test/Notification/NotificationPresenterFixture.cs 2010-08-09 16:40:23 +0000
47+++ src/Canonical.UbuntuOne.Client.Test/Notification/NotificationPresenterFixture.cs 2010-08-09 16:40:24 +0000
48@@ -1,22 +1,20 @@
49-/**
50- * Copyright 2010 Canonical Ltd.
51- *
52- * This file is part of UbuntuOne on Windows.
53- *
54- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
55- * it under the terms of the GNU Lesser General Public License version
56- * as published by the Free Software Foundation.
57- *
58- * Ubuntu One on Windows is distributed in the hope that it will be useful,
59- * but WITHOUT ANY WARRANTY; without even the implied warranty of
60- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
61- * GNU Lesser General Public License for more details.
62- *
63- * You should have received a copy of the GNU Lesser General Public License
64- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
65- *
66- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
67- */
68+// Copyright 2010 Canonical Ltd.
69+//
70+// This file is part of UbuntuOne on Windows.
71+//
72+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
73+// it under the terms of the GNU Lesser General Public License version
74+// as published by the Free Software Foundation.
75+//
76+// Ubuntu One on Windows is distributed in the hope that it will be useful,
77+// but WITHOUT ANY WARRANTY; without even the implied warranty of
78+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
79+// GNU Lesser General Public License for more details.
80+//
81+// You should have received a copy of the GNU Lesser General Public License
82+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
83+//
84+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
85 using System;
86 using System.Collections.Generic;
87 using Canonical.UbuntuOne.Client.Notification;
88
89=== modified file 'src/Canonical.UbuntuOne.Client.Test/Notification/OperationCompletenessEventArgsFixture.cs'
90--- src/Canonical.UbuntuOne.Client.Test/Notification/OperationCompletenessEventArgsFixture.cs 2010-08-09 16:40:23 +0000
91+++ src/Canonical.UbuntuOne.Client.Test/Notification/OperationCompletenessEventArgsFixture.cs 2010-08-09 16:40:24 +0000
92@@ -1,22 +1,20 @@
93-/**
94- * Copyright 2010 Canonical Ltd.
95- *
96- * This file is part of UbuntuOne on Windows.
97- *
98- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
99- * it under the terms of the GNU Lesser General Public License version
100- * as published by the Free Software Foundation.
101- *
102- * Ubuntu One on Windows is distributed in the hope that it will be useful,
103- * but WITHOUT ANY WARRANTY; without even the implied warranty of
104- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
105- * GNU Lesser General Public License for more details.
106- *
107- * You should have received a copy of the GNU Lesser General Public License
108- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
109- *
110- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
111- */
112+// Copyright 2010 Canonical Ltd.
113+//
114+// This file is part of UbuntuOne on Windows.
115+//
116+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
117+// it under the terms of the GNU Lesser General Public License version
118+// as published by the Free Software Foundation.
119+//
120+// Ubuntu One on Windows is distributed in the hope that it will be useful,
121+// but WITHOUT ANY WARRANTY; without even the implied warranty of
122+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
123+// GNU Lesser General Public License for more details.
124+//
125+// You should have received a copy of the GNU Lesser General Public License
126+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
127+//
128+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
129 using Canonical.UbuntuOne.Client.Notification;
130 using NUnit.Framework;
131
132
133=== modified file 'src/Canonical.UbuntuOne.Client.Test/Notification/RecentlyModifiedEventArgsFixture.cs'
134--- src/Canonical.UbuntuOne.Client.Test/Notification/RecentlyModifiedEventArgsFixture.cs 2010-07-27 11:57:29 +0000
135+++ src/Canonical.UbuntuOne.Client.Test/Notification/RecentlyModifiedEventArgsFixture.cs 2010-08-09 16:40:24 +0000
136@@ -1,22 +1,20 @@
137-/**
138- * Copyright 2010 Canonical Ltd.
139- *
140- * This file is part of UbuntuOne on Windows.
141- *
142- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
143- * it under the terms of the GNU Lesser General Public License version
144- * as published by the Free Software Foundation.
145- *
146- * Ubuntu One on Windows is distributed in the hope that it will be useful,
147- * but WITHOUT ANY WARRANTY; without even the implied warranty of
148- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
149- * GNU Lesser General Public License for more details.
150- *
151- * You should have received a copy of the GNU Lesser General Public License
152- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
153- *
154- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
155- */
156+// Copyright 2010 Canonical Ltd.
157+//
158+// This file is part of UbuntuOne on Windows.
159+//
160+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
161+// it under the terms of the GNU Lesser General Public License version
162+// as published by the Free Software Foundation.
163+//
164+// Ubuntu One on Windows is distributed in the hope that it will be useful,
165+// but WITHOUT ANY WARRANTY; without even the implied warranty of
166+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
167+// GNU Lesser General Public License for more details.
168+//
169+// You should have received a copy of the GNU Lesser General Public License
170+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
171+//
172+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
173 using System.Collections.Generic;
174 using Canonical.UbuntuOne.Client.Notification;
175 using NUnit.Framework;
176
177=== modified file 'src/Canonical.UbuntuOne.Client.Test/Notification/StateEventArgsFixture.cs'
178--- src/Canonical.UbuntuOne.Client.Test/Notification/StateEventArgsFixture.cs 2010-07-27 11:57:29 +0000
179+++ src/Canonical.UbuntuOne.Client.Test/Notification/StateEventArgsFixture.cs 2010-08-09 16:40:24 +0000
180@@ -1,22 +1,20 @@
181-/**
182- * Copyright 2010 Canonical Ltd.
183- *
184- * This file is part of UbuntuOne on Windows.
185- *
186- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
187- * it under the terms of the GNU Lesser General Public License version
188- * as published by the Free Software Foundation.
189- *
190- * Ubuntu One on Windows is distributed in the hope that it will be useful,
191- * but WITHOUT ANY WARRANTY; without even the implied warranty of
192- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
193- * GNU Lesser General Public License for more details.
194- *
195- * You should have received a copy of the GNU Lesser General Public License
196- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
197- *
198- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
199- */
200+// Copyright 2010 Canonical Ltd.
201+//
202+// This file is part of UbuntuOne on Windows.
203+//
204+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
205+// it under the terms of the GNU Lesser General Public License version
206+// as published by the Free Software Foundation.
207+//
208+// Ubuntu One on Windows is distributed in the hope that it will be useful,
209+// but WITHOUT ANY WARRANTY; without even the implied warranty of
210+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
211+// GNU Lesser General Public License for more details.
212+//
213+// You should have received a copy of the GNU Lesser General Public License
214+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
215+//
216+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
217 using Canonical.UbuntuOne.Client.Notification;
218 using NUnit.Framework;
219
220
221=== modified file 'src/Canonical.UbuntuOne.Client.Views/NotifyIcon.xaml.cs'
222--- src/Canonical.UbuntuOne.Client.Views/NotifyIcon.xaml.cs 2010-08-09 16:40:23 +0000
223+++ src/Canonical.UbuntuOne.Client.Views/NotifyIcon.xaml.cs 2010-08-09 16:40:24 +0000
224@@ -28,6 +28,9 @@
225 /// </summary>
226 public partial class UbuntuOneNotifyIcon : INotificationIconView
227 {
228+ /// <summary>
229+ /// Initializes a new instance of the UbuntuOneNotifyIcon class.
230+ /// </summary>
231 public UbuntuOneNotifyIcon()
232 {
233 InitializeComponent();
234@@ -35,24 +38,37 @@
235
236 #region Implementation of INotificationIconView
237
238+ /// <summary>
239+ /// Gets and sets a notification to be shown to the user.
240+ /// </summary>
241 public string Notification
242 {
243 get { throw new NotImplementedException(); }
244 set { throw new NotImplementedException(); }
245 }
246
247+ /// <summary>
248+ /// Gets and sets the list of recently modified files.
249+ /// </summary>
250 public IList<string> RecentlyModifiedFiles
251 {
252 get { throw new NotImplementedException(); }
253 set { throw new NotImplementedException(); }
254 }
255
256+ /// <summary>
257+ /// Gets and sets the state od the sync daemon to be displayed.
258+ /// </summary>
259 public string State
260 {
261 get { throw new NotImplementedException(); }
262 set { throw new NotImplementedException(); }
263 }
264
265+ /// <summary>
266+ /// Gets and sets the string with the information of the current operation being
267+ /// performed.
268+ /// </summary>
269 public string CurrentOperation
270 {
271 get { throw new NotImplementedException(); }
272
273=== modified file 'src/Canonical.UbuntuOne.Client.Views/PreferencesDialog.xaml.cs'
274--- src/Canonical.UbuntuOne.Client.Views/PreferencesDialog.xaml.cs 2010-07-27 15:36:33 +0000
275+++ src/Canonical.UbuntuOne.Client.Views/PreferencesDialog.xaml.cs 2010-08-09 16:40:24 +0000
276@@ -18,6 +18,9 @@
277 /// </summary>
278 public partial class PreferencesDialog : Window
279 {
280+ /// <summary>
281+ /// Initializes a new instance of the PreferencesDialog class.
282+ /// </summary>
283 public PreferencesDialog()
284 {
285 InitializeComponent();
286
287=== modified file 'src/Canonical.UbuntuOne.Client.Views/Update/DownloadingView.xaml.cs'
288--- src/Canonical.UbuntuOne.Client.Views/Update/DownloadingView.xaml.cs 2010-07-30 07:38:58 +0000
289+++ src/Canonical.UbuntuOne.Client.Views/Update/DownloadingView.xaml.cs 2010-08-09 16:40:24 +0000
290@@ -27,41 +27,62 @@
291 /// </summary>
292 public partial class DownloadingView : IDownloadingView
293 {
294+ /// <summary>
295+ /// Initializes a new instance of the DownloadingView class.
296+ /// </summary>
297 public DownloadingView()
298 {
299 InitializeComponent();
300 Title = StaticResources.DownloadingDialogTitle;
301 }
302
303+ /// <summary>
304+ /// Gets and sets if the close button is enabled.
305+ /// </summary>
306 public bool CloseButtonIsEnabled
307 {
308 get { return CloseButton.IsEnabled; }
309 set { CloseButton.IsEnabled = value; }
310 }
311
312+ /// <summary>
313+ /// Gets if the view is visible.
314+ /// </summary>
315 public bool IsShown
316 {
317 get { return IsVisible; }
318 }
319
320+ /// <summary>
321+ /// Gets and sets the downloading message to be displayed.
322+ /// </summary>
323 public string DownloadingMessage
324 {
325 get { return (String)MessageLabel.Content; }
326 set { MessageLabel.Content = value; }
327 }
328
329+ /// <summary>
330+ /// Gets and sets the min value of the progress.
331+ /// </summary>
332 public double MinimumValue
333 {
334 get { return Progressbar.Minimum; }
335 set { Progressbar.Minimum = value; }
336 }
337
338+ /// <summary>
339+ /// Get and sets the max value of the progress.
340+ /// </summary>
341 public double MaximumValue
342 {
343 get { return Progressbar.Maximum; }
344 set { Progressbar.Maximum = value; }
345 }
346
347+ /// <summary>
348+ /// Gets and sets the current progress.
349+ /// </summary>
350 public double Progress
351 {
352 get { return Progressbar.Value; }
353
354=== modified file 'src/Canonical.UbuntuOne.Client.Views/Update/UpdatingView.xaml.cs'
355--- src/Canonical.UbuntuOne.Client.Views/Update/UpdatingView.xaml.cs 2010-07-30 07:38:58 +0000
356+++ src/Canonical.UbuntuOne.Client.Views/Update/UpdatingView.xaml.cs 2010-08-09 16:40:24 +0000
357@@ -27,18 +27,30 @@
358 /// </summary>
359 public partial class UpdatingView : IUpdatingView
360 {
361+ /// <summary>
362+ /// Initializes a new instance of the UpdatingView class.
363+ /// </summary>
364 public UpdatingView()
365 {
366 InitializeComponent();
367 }
368
369+ /// <summary>
370+ /// Gets and sets if the view is visible
371+ /// </summary>
372 public bool IsShown
373 {
374 get { return IsVisible; }
375 }
376
377+ /// <summary>
378+ /// Gets and sets if the application is being updated.
379+ /// </summary>
380 public bool IsUpdating { get; set; }
381
382+ /// <summary>
383+ /// Gets and sets the text tht tell the user the app is being updated.
384+ /// </summary>
385 public string UpdatingText
386 {
387 get { return (String) MessageLabel.Content; }
388
389=== modified file 'src/Canonical.UbuntuOne.Client/Notification/INotificationIconPresenter.cs'
390--- src/Canonical.UbuntuOne.Client/Notification/INotificationIconPresenter.cs 2010-08-09 16:40:23 +0000
391+++ src/Canonical.UbuntuOne.Client/Notification/INotificationIconPresenter.cs 2010-08-09 16:40:24 +0000
392@@ -1,22 +1,20 @@
393-/**
394- * Copyright 2010 Canonical Ltd.
395- *
396- * This file is part of UbuntuOne on Windows.
397- *
398- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
399- * it under the terms of the GNU Lesser General Public License version
400- * as published by the Free Software Foundation.
401- *
402- * Ubuntu One on Windows is distributed in the hope that it will be useful,
403- * but WITHOUT ANY WARRANTY; without even the implied warranty of
404- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
405- * GNU Lesser General Public License for more details.
406- *
407- * You should have received a copy of the GNU Lesser General Public License
408- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
409- *
410- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
411- */
412+// Copyright 2010 Canonical Ltd.
413+//
414+// This file is part of UbuntuOne on Windows.
415+//
416+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
417+// it under the terms of the GNU Lesser General Public License version
418+// as published by the Free Software Foundation.
419+//
420+// Ubuntu One on Windows is distributed in the hope that it will be useful,
421+// but WITHOUT ANY WARRANTY; without even the implied warranty of
422+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
423+// GNU Lesser General Public License for more details.
424+//
425+// You should have received a copy of the GNU Lesser General Public License
426+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
427+//
428+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
429 namespace Canonical.UbuntuOne.Client.Notification
430 {
431 /// <summary>
432
433=== modified file 'src/Canonical.UbuntuOne.Client/Notification/INotificationIconView.cs'
434--- src/Canonical.UbuntuOne.Client/Notification/INotificationIconView.cs 2010-08-09 16:40:23 +0000
435+++ src/Canonical.UbuntuOne.Client/Notification/INotificationIconView.cs 2010-08-09 16:40:24 +0000
436@@ -1,34 +1,48 @@
437-/**
438- * Copyright 2010 Canonical Ltd.
439- *
440- * This file is part of UbuntuOne on Windows.
441- *
442- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
443- * it under the terms of the GNU Lesser General Public License version
444- * as published by the Free Software Foundation.
445- *
446- * Ubuntu One on Windows is distributed in the hope that it will be useful,
447- * but WITHOUT ANY WARRANTY; without even the implied warranty of
448- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
449- * GNU Lesser General Public License for more details.
450- *
451- * You should have received a copy of the GNU Lesser General Public License
452- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
453- *
454- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
455- */
456+// Copyright 2010 Canonical Ltd.
457+//
458+// This file is part of UbuntuOne on Windows.
459+//
460+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
461+// it under the terms of the GNU Lesser General Public License version
462+// as published by the Free Software Foundation.
463+//
464+// Ubuntu One on Windows is distributed in the hope that it will be useful,
465+// but WITHOUT ANY WARRANTY; without even the implied warranty of
466+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
467+// GNU Lesser General Public License for more details.
468+//
469+// You should have received a copy of the GNU Lesser General Public License
470+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
471+//
472+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
473 using System.Collections.Generic;
474
475 namespace Canonical.UbuntuOne.Client.Notification
476 {
477+ /// <summary>
478+ /// View that represents a notification interface that will be shown in the systray of the desktop.
479+ /// </summary>
480 public interface INotificationIconView
481 {
482+ /// <summary>
483+ /// Gets and sets a notification to be shown to the user.
484+ /// </summary>
485 string Notification { get; set; }
486
487+ /// <summary>
488+ /// Gets and sets the list of recently modified files.
489+ /// </summary>
490 IList<string> RecentlyModifiedFiles { get; set; }
491
492+ /// <summary>
493+ /// Gets and sets the state od the sync daemon to be displayed.
494+ /// </summary>
495 string State { get; set; }
496
497+ /// <summary>
498+ /// Gets and sets the string with the information of the current operation being
499+ /// performed.
500+ /// </summary>
501 string CurrentOperation { get; set; }
502 }
503 }
504
505=== modified file 'src/Canonical.UbuntuOne.Client/Notification/IStateMapper.cs'
506--- src/Canonical.UbuntuOne.Client/Notification/IStateMapper.cs 2010-08-09 16:40:23 +0000
507+++ src/Canonical.UbuntuOne.Client/Notification/IStateMapper.cs 2010-08-09 16:40:24 +0000
508@@ -1,22 +1,20 @@
509-/**
510- * Copyright 2010 Canonical Ltd.
511- *
512- * This file is part of UbuntuOne on Windows.
513- *
514- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
515- * it under the terms of the GNU Lesser General Public License version
516- * as published by the Free Software Foundation.
517- *
518- * Ubuntu One on Windows is distributed in the hope that it will be useful,
519- * but WITHOUT ANY WARRANTY; without even the implied warranty of
520- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
521- * GNU Lesser General Public License for more details.
522- *
523- * You should have received a copy of the GNU Lesser General Public License
524- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
525- *
526- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
527- */
528+// Copyright 2010 Canonical Ltd.
529+//
530+// This file is part of UbuntuOne on Windows.
531+//
532+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
533+// it under the terms of the GNU Lesser General Public License version
534+// as published by the Free Software Foundation.
535+//
536+// Ubuntu One on Windows is distributed in the hope that it will be useful,
537+// but WITHOUT ANY WARRANTY; without even the implied warranty of
538+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
539+// GNU Lesser General Public License for more details.
540+//
541+// You should have received a copy of the GNU Lesser General Public License
542+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
543+//
544+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
545 namespace Canonical.UbuntuOne.Client.Notification
546 {
547 /// <summary>
548
549=== modified file 'src/Canonical.UbuntuOne.Client/Notification/ISyncDaemonClientNotifier.cs'
550--- src/Canonical.UbuntuOne.Client/Notification/ISyncDaemonClientNotifier.cs 2010-08-09 16:40:23 +0000
551+++ src/Canonical.UbuntuOne.Client/Notification/ISyncDaemonClientNotifier.cs 2010-08-09 16:40:24 +0000
552@@ -1,22 +1,20 @@
553-/**
554- * Copyright 2010 Canonical Ltd.
555- *
556- * This file is part of UbuntuOne on Windows.
557- *
558- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
559- * it under the terms of the GNU Lesser General Public License version
560- * as published by the Free Software Foundation.
561- *
562- * Ubuntu One on Windows is distributed in the hope that it will be useful,
563- * but WITHOUT ANY WARRANTY; without even the implied warranty of
564- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
565- * GNU Lesser General Public License for more details.
566- *
567- * You should have received a copy of the GNU Lesser General Public License
568- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
569- *
570- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
571- */
572+// Copyright 2010 Canonical Ltd.
573+//
574+// This file is part of UbuntuOne on Windows.
575+//
576+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
577+// it under the terms of the GNU Lesser General Public License version
578+// as published by the Free Software Foundation.
579+//
580+// Ubuntu One on Windows is distributed in the hope that it will be useful,
581+// but WITHOUT ANY WARRANTY; without even the implied warranty of
582+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
583+// GNU Lesser General Public License for more details.
584+//
585+// You should have received a copy of the GNU Lesser General Public License
586+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
587+//
588+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
589 using System;
590
591 namespace Canonical.UbuntuOne.Client.Notification
592
593=== modified file 'src/Canonical.UbuntuOne.Client/Notification/NotificationEventArgs.cs'
594--- src/Canonical.UbuntuOne.Client/Notification/NotificationEventArgs.cs 2010-07-27 11:58:32 +0000
595+++ src/Canonical.UbuntuOne.Client/Notification/NotificationEventArgs.cs 2010-08-09 16:40:24 +0000
596@@ -1,22 +1,20 @@
597-/**
598- * Copyright 2010 Canonical Ltd.
599- *
600- * This file is part of UbuntuOne on Windows.
601- *
602- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
603- * it under the terms of the GNU Lesser General Public License version
604- * as published by the Free Software Foundation.
605- *
606- * Ubuntu One on Windows is distributed in the hope that it will be useful,
607- * but WITHOUT ANY WARRANTY; without even the implied warranty of
608- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
609- * GNU Lesser General Public License for more details.
610- *
611- * You should have received a copy of the GNU Lesser General Public License
612- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
613- *
614- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
615- */
616+// Copyright 2010 Canonical Ltd.
617+//
618+// This file is part of UbuntuOne on Windows.
619+//
620+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
621+// it under the terms of the GNU Lesser General Public License version
622+// as published by the Free Software Foundation.
623+//
624+// Ubuntu One on Windows is distributed in the hope that it will be useful,
625+// but WITHOUT ANY WARRANTY; without even the implied warranty of
626+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
627+// GNU Lesser General Public License for more details.
628+//
629+// You should have received a copy of the GNU Lesser General Public License
630+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
631+//
632+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
633 using System;
634
635 namespace Canonical.UbuntuOne.Client.Notification
636
637=== modified file 'src/Canonical.UbuntuOne.Client/Notification/NotificationIconPresenter.cs'
638--- src/Canonical.UbuntuOne.Client/Notification/NotificationIconPresenter.cs 2010-08-09 16:40:23 +0000
639+++ src/Canonical.UbuntuOne.Client/Notification/NotificationIconPresenter.cs 2010-08-09 16:40:24 +0000
640@@ -1,22 +1,20 @@
641-/**
642- * Copyright 2010 Canonical Ltd.
643- *
644- * This file is part of UbuntuOne on Windows.
645- *
646- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
647- * it under the terms of the GNU Lesser General Public License version
648- * as published by the Free Software Foundation.
649- *
650- * Ubuntu One on Windows is distributed in the hope that it will be useful,
651- * but WITHOUT ANY WARRANTY; without even the implied warranty of
652- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
653- * GNU Lesser General Public License for more details.
654- *
655- * You should have received a copy of the GNU Lesser General Public License
656- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
657- *
658- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
659- */
660+// Copyright 2010 Canonical Ltd.
661+//
662+// This file is part of UbuntuOne on Windows.
663+//
664+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
665+// it under the terms of the GNU Lesser General Public License version
666+// as published by the Free Software Foundation.
667+//
668+// Ubuntu One on Windows is distributed in the hope that it will be useful,
669+// but WITHOUT ANY WARRANTY; without even the implied warranty of
670+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
671+// GNU Lesser General Public License for more details.
672+//
673+// You should have received a copy of the GNU Lesser General Public License
674+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
675+//
676+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
677 using System;
678 using Canonical.UbuntuOne.Client.Preferences;
679 using Canonical.UbuntuOne.Common.Aop;
680@@ -25,12 +23,24 @@
681
682 namespace Canonical.UbuntuOne.Client.Notification
683 {
684+ /// <summary>
685+ /// Implementation of the INotificationIconPresenter interface that manages a view that is used
686+ /// to display notifications to the user.
687+ /// </summary>
688 public class NotificationIconPresenter : INotificationIconPresenter
689 {
690 #region Variables
691
692+ /// <summary>
693+ /// The url to ebe openened when the user wants to upgrade.
694+ /// </summary>
695 public const string UpgradeUrl = "https://one.ubuntu.com/upgrade";
696+
697+ /// <summary>
698+ /// The user to be openened when the user requires help.
699+ /// </summary>
700 public const string HelpUrl = "https://one.ubuntu.com/support/";
701+
702 private static readonly string SharesLocation = "";
703 private static readonly string SyncsLocation = "";
704 private ISyncDaemonClientNotifier _clientNotifier;
705@@ -180,11 +190,17 @@
706
707 #region Implementation of INotificationIconPresenter
708
709+ /// <summary>
710+ /// Opens the Preferences window of Ubuntu One.
711+ /// </summary>
712 public void OpenUbuntuOnePreferences()
713 {
714 PreferencesDialogPresenter.Show();
715 }
716
717+ /// <summary>
718+ /// Opens the explorer with the location of the shares of Ubuntu One.
719+ /// </summary>
720 public void OpenSharesLocation()
721 {
722 try
723@@ -201,6 +217,9 @@
724 }
725 }
726
727+ /// <summary>
728+ /// Opens the explorer with the location of the sync folders.
729+ /// </summary>
730 public void OpenSyncsLocation()
731 {
732 try
733@@ -217,16 +236,25 @@
734 }
735 }
736
737+ /// <summary>
738+ /// Opens the location used to provide help to the user.
739+ /// </summary>
740 public void OpenHelp()
741 {
742 Webbrowser.LauncWebpage(HelpUrl);
743 }
744
745+ /// <summary>
746+ /// Opens the location used to upgrade the account of the user.
747+ /// </summary>
748 public void OpenUpgradeOption()
749 {
750 Webbrowser.LauncWebpage(UpgradeUrl);
751 }
752
753+ /// <summary>
754+ /// Close the client and the daemon.
755+ /// </summary>
756 public void Exit()
757 {
758 Application.Exit();
759
760=== modified file 'src/Canonical.UbuntuOne.Client/Notification/OperationCompletenessEventArgs.cs'
761--- src/Canonical.UbuntuOne.Client/Notification/OperationCompletenessEventArgs.cs 2010-08-09 16:40:23 +0000
762+++ src/Canonical.UbuntuOne.Client/Notification/OperationCompletenessEventArgs.cs 2010-08-09 16:40:24 +0000
763@@ -1,22 +1,20 @@
764-/**
765- * Copyright 2010 Canonical Ltd.
766- *
767- * This file is part of UbuntuOne on Windows.
768- *
769- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
770- * it under the terms of the GNU Lesser General Public License version
771- * as published by the Free Software Foundation.
772- *
773- * Ubuntu One on Windows is distributed in the hope that it will be useful,
774- * but WITHOUT ANY WARRANTY; without even the implied warranty of
775- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
776- * GNU Lesser General Public License for more details.
777- *
778- * You should have received a copy of the GNU Lesser General Public License
779- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
780- *
781- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
782- */
783+// Copyright 2010 Canonical Ltd.
784+//
785+// This file is part of UbuntuOne on Windows.
786+//
787+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
788+// it under the terms of the GNU Lesser General Public License version
789+// as published by the Free Software Foundation.
790+//
791+// Ubuntu One on Windows is distributed in the hope that it will be useful,
792+// but WITHOUT ANY WARRANTY; without even the implied warranty of
793+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
794+// GNU Lesser General Public License for more details.
795+//
796+// You should have received a copy of the GNU Lesser General Public License
797+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
798+//
799+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
800 using System;
801
802 namespace Canonical.UbuntuOne.Client.Notification
803@@ -26,10 +24,18 @@
804 /// </summary>
805 public class OperationCompletenessEventArgs : EventArgs
806 {
807-
808+ /// <summary>
809+ /// Enumerator that contains the different units used for the downloads.
810+ /// </summary>
811 public enum SpeedUnitsEnum
812 {
813+ /// <summary>
814+ /// MB per second.
815+ /// </summary>
816 MB,
817+ /// <summary>
818+ /// KB per second.
819+ /// </summary>
820 KB,
821 }
822
823
824=== modified file 'src/Canonical.UbuntuOne.Client/Notification/RecentlyModifiedEventArgs.cs'
825--- src/Canonical.UbuntuOne.Client/Notification/RecentlyModifiedEventArgs.cs 2010-07-27 11:58:32 +0000
826+++ src/Canonical.UbuntuOne.Client/Notification/RecentlyModifiedEventArgs.cs 2010-08-09 16:40:24 +0000
827@@ -1,23 +1,20 @@
828-/**
829- * Copyright 2010 Canonical Ltd.
830- *
831- * This file is part of UbuntuOne on Windows.
832- *
833- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
834- * it under the terms of the GNU Lesser General Public License version
835- * as published by the Free Software Foundation.
836- *
837- * Ubuntu One on Windows is distributed in the hope that it will be useful,
838- * but WITHOUT ANY WARRANTY; without even the implied warranty of
839- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
840- * GNU Lesser General Public License for more details.
841- *
842- * You should have received a copy of the GNU Lesser General Public License
843- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
844- *
845- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
846- */
847-
848+// Copyright 2010 Canonical Ltd.
849+//
850+// This file is part of UbuntuOne on Windows.
851+//
852+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
853+// it under the terms of the GNU Lesser General Public License version
854+// as published by the Free Software Foundation.
855+//
856+// Ubuntu One on Windows is distributed in the hope that it will be useful,
857+// but WITHOUT ANY WARRANTY; without even the implied warranty of
858+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
859+// GNU Lesser General Public License for more details.
860+//
861+// You should have received a copy of the GNU Lesser General Public License
862+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
863+//
864+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
865 using System;
866 using System.Collections.Generic;
867
868
869=== modified file 'src/Canonical.UbuntuOne.Client/Notification/StateEventArgs.cs'
870--- src/Canonical.UbuntuOne.Client/Notification/StateEventArgs.cs 2010-07-27 11:58:32 +0000
871+++ src/Canonical.UbuntuOne.Client/Notification/StateEventArgs.cs 2010-08-09 16:40:24 +0000
872@@ -1,22 +1,20 @@
873-/**
874- * Copyright 2010 Canonical Ltd.
875- *
876- * This file is part of UbuntuOne on Windows.
877- *
878- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
879- * it under the terms of the GNU Lesser General Public License version
880- * as published by the Free Software Foundation.
881- *
882- * Ubuntu One on Windows is distributed in the hope that it will be useful,
883- * but WITHOUT ANY WARRANTY; without even the implied warranty of
884- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
885- * GNU Lesser General Public License for more details.
886- *
887- * You should have received a copy of the GNU Lesser General Public License
888- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
889- *
890- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
891- */
892+// Copyright 2010 Canonical Ltd.
893+//
894+// This file is part of UbuntuOne on Windows.
895+//
896+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
897+// it under the terms of the GNU Lesser General Public License version
898+// as published by the Free Software Foundation.
899+//
900+// Ubuntu One on Windows is distributed in the hope that it will be useful,
901+// but WITHOUT ANY WARRANTY; without even the implied warranty of
902+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
903+// GNU Lesser General Public License for more details.
904+//
905+// You should have received a copy of the GNU Lesser General Public License
906+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
907+//
908+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
909 using System;
910
911 namespace Canonical.UbuntuOne.Client.Notification
912@@ -31,9 +29,21 @@
913 /// </summary>
914 public enum StateEnum
915 {
916+ /// <summary>
917+ /// The sync daemon is out of sync.
918+ /// </summary>
919 OUT_OF_SYNC,
920+ /// <summary>
921+ /// The synd daemong is syncing.
922+ /// </summary>
923 SYNC_IN_PROGRESS,
924+ /// <summary>
925+ /// All the files are up to date.
926+ /// </summary>
927 UP_TO_DATE,
928+ /// <summary>
929+ /// The sync daemong is in an error state.
930+ /// </summary>
931 ERROR
932 }
933
934
935=== modified file 'src/Canonical.UbuntuOne.Client/Preferences/IPreferencesDialogPresenter.cs'
936--- src/Canonical.UbuntuOne.Client/Preferences/IPreferencesDialogPresenter.cs 2010-08-09 16:40:23 +0000
937+++ src/Canonical.UbuntuOne.Client/Preferences/IPreferencesDialogPresenter.cs 2010-08-09 16:40:24 +0000
938@@ -1,23 +1,20 @@
939-/**
940- * Copyright 2010 Canonical Ltd.
941- *
942- * This file is part of UbuntuOne on Windows.
943- *
944- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
945- * it under the terms of the GNU Lesser General Public License version
946- * as published by the Free Software Foundation.
947- *
948- * Ubuntu One on Windows is distributed in the hope that it will be useful,
949- * but WITHOUT ANY WARRANTY; without even the implied warranty of
950- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
951- * GNU Lesser General Public License for more details.
952- *
953- * You should have received a copy of the GNU Lesser General Public License
954- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
955- *
956- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
957- */
958-
959+// Copyright 2010 Canonical Ltd.
960+//
961+// This file is part of UbuntuOne on Windows.
962+//
963+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
964+// it under the terms of the GNU Lesser General Public License version
965+// as published by the Free Software Foundation.
966+//
967+// Ubuntu One on Windows is distributed in the hope that it will be useful,
968+// but WITHOUT ANY WARRANTY; without even the implied warranty of
969+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
970+// GNU Lesser General Public License for more details.
971+//
972+// You should have received a copy of the GNU Lesser General Public License
973+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
974+//
975+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
976 namespace Canonical.UbuntuOne.Client.Preferences
977 {
978 /// <summary>
979@@ -25,6 +22,9 @@
980 /// </summary>
981 public interface IPreferencesDialogPresenter
982 {
983+ /// <summary>
984+ /// Shows the dialog to the user.
985+ /// </summary>
986 void Show();
987 }
988 }
989
990=== modified file 'src/Canonical.UbuntuOne.Client/SyncDaemonClient.cs'
991--- src/Canonical.UbuntuOne.Client/SyncDaemonClient.cs 2010-08-09 16:40:23 +0000
992+++ src/Canonical.UbuntuOne.Client/SyncDaemonClient.cs 2010-08-09 16:40:24 +0000
993@@ -1,22 +1,20 @@
994-/**
995- * Copyright 2010 Canonical Ltd.
996- *
997- * This file is part of UbuntuOne on Windows.
998- *
999- * UbuntuOne on Windows is free software: you can redistribute it and/or modify
1000- * it under the terms of the GNU Lesser General Public License version
1001- * as published by the Free Software Foundation.
1002- *
1003- * Ubuntu One on Windows is distributed in the hope that it will be useful,
1004- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1005- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1006- * GNU Lesser General Public License for more details.
1007- *
1008- * You should have received a copy of the GNU Lesser General Public License
1009- * along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
1010- *
1011- * Authors: Manuel de la Peña <manuel.delapena@canonical.com>
1012- */
1013+// Copyright 2010 Canonical Ltd.
1014+//
1015+// This file is part of UbuntuOne on Windows.
1016+//
1017+// UbuntuOne on Windows is free software: you can redistribute it and/or modify
1018+// it under the terms of the GNU Lesser General Public License version
1019+// as published by the Free Software Foundation.
1020+//
1021+// Ubuntu One on Windows is distributed in the hope that it will be useful,
1022+// but WITHOUT ANY WARRANTY; without even the implied warranty of
1023+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1024+// GNU Lesser General Public License for more details.
1025+//
1026+// You should have received a copy of the GNU Lesser General Public License
1027+// along with UbuntuOne for Windows. If not, see <http://www.gnu.org/licenses/>.
1028+//
1029+// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
1030 using System;
1031 using Canonical.UbuntuOne.Client.Notification;
1032 using Canonical.UbuntuOne.Common;
1033
1034=== modified file 'src/Canonical.UbuntuOne.Common/Aop/DebugLogAfterThrowInterceptor.cs'
1035--- src/Canonical.UbuntuOne.Common/Aop/DebugLogAfterThrowInterceptor.cs 2010-07-26 11:09:17 +0000
1036+++ src/Canonical.UbuntuOne.Common/Aop/DebugLogAfterThrowInterceptor.cs 2010-08-09 16:40:24 +0000
1037@@ -33,6 +33,14 @@
1038 {
1039 private readonly ILog _logger = LogManager.GetLogger(typeof (DebugLogAfterThrowInterceptor));
1040
1041+ /// <summary>
1042+ /// Method that will be executed after an exception has been thrown by the method to which
1043+ /// the advice was added.
1044+ /// </summary>
1045+ /// <param name="method">The method that threw the exception.</param>
1046+ /// <param name="args">The arguments which were used to call the method.</param>
1047+ /// <param name="target">The object that is target of the method.</param>
1048+ /// <param name="ex">The exception thrown by the method execution.</param>
1049 public void AfterThrowing(MethodInfo method, object[] args, object target, Exception ex)
1050 {
1051 if(Logger == null)
1052
1053=== modified file 'src/Canonical.UbuntuOne.Common/Container/UnsatisfiedDependencyException.cs'
1054--- src/Canonical.UbuntuOne.Common/Container/UnsatisfiedDependencyException.cs 2010-07-23 15:47:32 +0000
1055+++ src/Canonical.UbuntuOne.Common/Container/UnsatisfiedDependencyException.cs 2010-08-09 16:40:24 +0000
1056@@ -22,6 +22,9 @@
1057
1058 namespace Canonical.UbuntuOne.Common.Container
1059 {
1060+ /// <summary>
1061+ /// Exception to be thrown when the IContainer is missing a type implementation.
1062+ /// </summary>
1063 [Serializable]
1064 public class UnsatisfiedDependencyException : Exception
1065 {
1066@@ -43,6 +46,11 @@
1067 /// <param name="innerException">The inner exception.</param>
1068 public UnsatisfiedDependencyException(string message, Exception innerException) : base(message, innerException) { }
1069
1070+ /// <summary>
1071+ /// Initializes a new instance of the UnsatisfiedDependencyException class with serialized data.
1072+ /// </summary>
1073+ /// <param name="info">The SerializationInfo that holds the serialized object data about the exception being thrown.</param>
1074+ /// <param name="context">The StreamingContext that contains contextual information about the source or destination.</param>
1075 protected UnsatisfiedDependencyException(SerializationInfo info, StreamingContext context)
1076 : base(info, context)
1077 {
1078
1079=== modified file 'src/Canonical.UbuntuOne.Common/DataContracts/AccountData.cs'
1080--- src/Canonical.UbuntuOne.Common/DataContracts/AccountData.cs 2010-07-07 10:41:49 +0000
1081+++ src/Canonical.UbuntuOne.Common/DataContracts/AccountData.cs 2010-08-09 16:40:24 +0000
1082@@ -19,7 +19,12 @@
1083 */
1084 namespace Canonical.UbuntuOne.Common
1085 {
1086+ /// <summary>
1087+ /// Class that provides the information of the Ubuntu One account currently running the
1088+ /// sync daemon.
1089+ /// </summary>
1090 public class AccountData
1091 {
1092+ // TODO: Implement, talk with verterok
1093 }
1094 }
1095
1096=== modified file 'src/Canonical.UbuntuOne.Common/DataContracts/Enumerators.cs'
1097--- src/Canonical.UbuntuOne.Common/DataContracts/Enumerators.cs 2010-07-07 10:41:49 +0000
1098+++ src/Canonical.UbuntuOne.Common/DataContracts/Enumerators.cs 2010-08-09 16:40:24 +0000
1099@@ -19,9 +19,18 @@
1100 */
1101 namespace Canonical.UbuntuOne.Common
1102 {
1103+ /// <summary>
1104+ /// Enumerator that contains the different access levels that a user has to a share.
1105+ /// </summary>
1106 public enum AccessLevel
1107 {
1108+ /// <summary>
1109+ /// The user just has read rights.
1110+ /// </summary>
1111 VIEW,
1112+ /// <summary>
1113+ /// The user has read and write rights.
1114+ /// </summary>
1115 MODIFY
1116 }
1117 }
1118
1119=== modified file 'src/Canonical.UbuntuOne.Common/IProcessManagerFactory.cs'
1120--- src/Canonical.UbuntuOne.Common/IProcessManagerFactory.cs 2010-07-07 10:41:49 +0000
1121+++ src/Canonical.UbuntuOne.Common/IProcessManagerFactory.cs 2010-08-09 16:40:24 +0000
1122@@ -19,8 +19,16 @@
1123 */
1124 namespace Canonical.UbuntuOne.Common
1125 {
1126+ /// <summary>
1127+ /// Interface to be implemented by a factory that can generate process managers
1128+ /// to be used to manage a process in the system.
1129+ /// </summary>
1130 public interface IProcessManagerFactory
1131 {
1132+ /// <summary>
1133+ /// Returns a new manager that can be used to manage a process.
1134+ /// </summary>
1135+ /// <returns>A IProcessManager that can be used to interact with a process.</returns>
1136 IProcessManager GetManager();
1137 }
1138 }
1139
1140=== modified file 'src/Canonical.UbuntuOne.Common/OperationContracts/ISyncFolders.cs'
1141--- src/Canonical.UbuntuOne.Common/OperationContracts/ISyncFolders.cs 2010-08-09 16:40:23 +0000
1142+++ src/Canonical.UbuntuOne.Common/OperationContracts/ISyncFolders.cs 2010-08-09 16:40:24 +0000
1143@@ -22,6 +22,10 @@
1144
1145 namespace Canonical.UbuntuOne.Common
1146 {
1147+ /// <summary>
1148+ /// Interface to be implemented by those objects that allow to interact with the data related to
1149+ /// the sync folders by the Ubuntu One sync daemon.
1150+ /// </summary>
1151 [ServiceContract(
1152 Name = "SyncFolders",
1153 Namespace = "http://one.ubuntu.com/syncfolders",
1154
1155=== modified file 'src/Canonical.UbuntuOne.Common/Update/DownloadingPresenter.cs'
1156--- src/Canonical.UbuntuOne.Common/Update/DownloadingPresenter.cs 2010-07-29 16:35:27 +0000
1157+++ src/Canonical.UbuntuOne.Common/Update/DownloadingPresenter.cs 2010-08-09 16:40:24 +0000
1158@@ -30,11 +30,23 @@
1159 #region Variables
1160
1161 private IDownloadingView _view;
1162+ /// <summary>
1163+ /// The maximum value to be used in the view related to the percentage of
1164+ /// update that has been downloaded.
1165+ /// </summary>
1166 public const double MaximumValue = 100;
1167+
1168+ /// <summary>
1169+ /// The minimum value to be used in the view related to the percentage of
1170+ /// update that has been downloaded.
1171+ /// </summary>
1172 public const double MinimumValue = 0;
1173
1174 #endregion
1175
1176+ /// <summary>
1177+ /// Gets and sets the view to be used to interact with the user.
1178+ /// </summary>
1179 public IDownloadingView View
1180 {
1181 get { return _view; }
1182@@ -55,6 +67,12 @@
1183 }
1184 }
1185
1186+ /// <summary>
1187+ /// Handler to be called when there has been an updated related to the progess of the download
1188+ /// of the update.
1189+ /// </summary>
1190+ /// <param name="sender">The object that sent the event.</param>
1191+ /// <param name="args">The arguments that provide information regarding the changes in the download.</param>
1192 public void DownloadProgressHandler(object sender, DownloadTaskProgressEventArgs args)
1193 {
1194 if(!View.IsShown)
1195@@ -63,6 +81,11 @@
1196 View.Progress = (args.BytesTransferred * MaximumValue) / args.BytesTotal;
1197 }
1198
1199+ /// <summary>
1200+ /// Handler to be called when there has been an error when downloading an update.
1201+ /// </summary>
1202+ /// <param name="sender">The object that sent the event.</param>
1203+ /// <param name="args">The arguments that provide information regarding the error.</param>
1204 public void DownloadErrorHandler(object sender, DownloadTaskErrorEventArgs args)
1205 {
1206 View.DownloadingMessage = UpdateResources.DownloadError;
1207@@ -70,6 +93,11 @@
1208 View.CloseButtonIsEnabled = true;
1209 }
1210
1211+ /// <summary>
1212+ /// Handler to be called when the update has been completed.
1213+ /// </summary>
1214+ /// <param name="sender">The object that sent the event.</param>
1215+ /// <param name="e">The arguments that provide more information about the comleted task.</param>
1216 public void DownloadUpdateCompleted(object sender, TaskEventArgs e)
1217 {
1218 View.DownloadingMessage = UpdateResources.DownloadCompleted;
1219
1220=== modified file 'src/Canonical.UbuntuOne.Common/Utils/Explorer.cs'
1221--- src/Canonical.UbuntuOne.Common/Utils/Explorer.cs 2010-08-09 16:40:23 +0000
1222+++ src/Canonical.UbuntuOne.Common/Utils/Explorer.cs 2010-08-09 16:40:24 +0000
1223@@ -22,7 +22,10 @@
1224
1225 namespace Canonical.UbuntuOne.Common.Utils
1226 {
1227-
1228+ /// <summary>
1229+ /// Implementation of the IExplorer that allows to interact with the file explorer in
1230+ /// the system.
1231+ /// </summary>
1232 public class Explorer : IExplorer
1233 {
1234 private const string ExplorerProcess = "explorer.exe";
1235
1236=== modified file 'src/Canonical.UbuntuOne.Common/Validation/MultiException.cs'
1237--- src/Canonical.UbuntuOne.Common/Validation/MultiException.cs 2010-07-07 10:41:49 +0000
1238+++ src/Canonical.UbuntuOne.Common/Validation/MultiException.cs 2010-08-09 16:40:24 +0000
1239@@ -88,7 +88,7 @@
1240 /// Creates an exception with a collection of inner exceptions.
1241 /// </summary>
1242 /// <param name="innerExceptions">
1243- /// A <see cref="IEnumerable" /> with the inner exceptions.
1244+ /// A enumerable with the inner exceptions.
1245 /// </param>
1246 public MultiException(IEnumerable<Exception> innerExceptions)
1247 : this(null, innerExceptions)
1248@@ -127,7 +127,7 @@
1249 /// A <see cref="System.String"/> with the message of the exception.
1250 /// </param>
1251 /// <param name="innerExceptions">
1252- /// A <see cref="IEnumerable"/> with the inner exceptions.
1253+ /// An enumerable with the inner exceptions.
1254 /// </param>
1255 public MultiException(string message, IEnumerable<Exception> innerExceptions)
1256 : base(message, innerExceptions.FirstOrDefault())
1257
1258=== modified file 'src/Canonical.UbuntuOne.ProcessDispatcher/SyncDaemonService.cs'
1259--- src/Canonical.UbuntuOne.ProcessDispatcher/SyncDaemonService.cs 2010-08-09 16:40:23 +0000
1260+++ src/Canonical.UbuntuOne.ProcessDispatcher/SyncDaemonService.cs 2010-08-09 16:40:24 +0000
1261@@ -235,7 +235,7 @@
1262
1263 /// <summary>
1264 /// Allows the client to schedule the share and node be next in the
1265- // queue of waiting commands.
1266+ /// queue of waiting commands.
1267 /// </summary>
1268 /// <param name="shareId">The unique id that describes the share.</param>
1269 /// <param name="nodeId">The unique id that describes the node.</param>

Subscribers

People subscribed via source and target branches

to all changes: