capuchin r85 - in trunk: . src/libcapuchin src/libcapuchin/Downloaders src/libcapuchin/Installation src/libcapuchin/Installation/Compression src/libcapuchin/Verification src/libcapuchin/Xml
- From: sebp svn gnome org
- To: svn-commits-list gnome org
- Subject: capuchin r85 - in trunk: . src/libcapuchin src/libcapuchin/Downloaders src/libcapuchin/Installation src/libcapuchin/Installation/Compression src/libcapuchin/Verification src/libcapuchin/Xml
- Date: Wed, 2 Apr 2008 21:50:40 +0100 (BST)
Author: sebp
Date: Wed Apr 2 21:50:37 2008
New Revision: 85
URL: http://svn.gnome.org/viewvc/capuchin?rev=85&view=rev
Log:
Added GPLv2 header to each file and converted tabs to spaces
Modified:
trunk/ChangeLog
trunk/src/libcapuchin/AppObject.cs
trunk/src/libcapuchin/AppObjectManager.cs
trunk/src/libcapuchin/Download.cs
trunk/src/libcapuchin/DownloadManager.cs
trunk/src/libcapuchin/Downloaders/AbstractDownloader.cs
trunk/src/libcapuchin/Downloaders/HttpDownloader.cs
trunk/src/libcapuchin/IAppObject.cs
trunk/src/libcapuchin/IAppObjectManager.cs
trunk/src/libcapuchin/IDownloadManager.cs
trunk/src/libcapuchin/Installation/Compression/Decompresser.cs
trunk/src/libcapuchin/Installation/Compression/IExtracter.cs
trunk/src/libcapuchin/Installation/Compression/TarBz2Extracter.cs
trunk/src/libcapuchin/Installation/Compression/TarExtracter.cs
trunk/src/libcapuchin/Installation/Compression/TarGzExtracter.cs
trunk/src/libcapuchin/Installation/Compression/ZipExtracter.cs
trunk/src/libcapuchin/Installation/IInstaller.cs
trunk/src/libcapuchin/NoSuchPluginException.cs
trunk/src/libcapuchin/RepositoryConnectionException.cs
trunk/src/libcapuchin/RepositoryNotInitializedException.cs
trunk/src/libcapuchin/Verification/ChecksumVerifier.cs
trunk/src/libcapuchin/Verification/GnuPGVerifier.cs
trunk/src/libcapuchin/Verification/IVerifier.cs
trunk/src/libcapuchin/Xml/ItemsDict.cs
trunk/src/libcapuchin/Xml/Repository.cs
trunk/src/libcapuchin/Xml/author.cs
trunk/src/libcapuchin/Xml/changelog.cs
trunk/src/libcapuchin/Xml/checksum.cs
trunk/src/libcapuchin/Xml/item.cs
Modified: trunk/src/libcapuchin/AppObject.cs
==============================================================================
--- trunk/src/libcapuchin/AppObject.cs (original)
+++ trunk/src/libcapuchin/AppObject.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,27 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
using System;
using System.Collections.Generic;
using System.IO;
Modified: trunk/src/libcapuchin/AppObjectManager.cs
==============================================================================
--- trunk/src/libcapuchin/AppObjectManager.cs (original)
+++ trunk/src/libcapuchin/AppObjectManager.cs Wed Apr 2 21:50:37 2008
@@ -1,4 +1,27 @@
-// project created on 17.12.2006 at 13:08
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
Modified: trunk/src/libcapuchin/Download.cs
==============================================================================
--- trunk/src/libcapuchin/Download.cs (original)
+++ trunk/src/libcapuchin/Download.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,26 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
using System;
using System.IO;
Modified: trunk/src/libcapuchin/DownloadManager.cs
==============================================================================
--- trunk/src/libcapuchin/DownloadManager.cs (original)
+++ trunk/src/libcapuchin/DownloadManager.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,26 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
using System;
using System.Collections.Generic;
Modified: trunk/src/libcapuchin/Downloaders/AbstractDownloader.cs
==============================================================================
--- trunk/src/libcapuchin/Downloaders/AbstractDownloader.cs (original)
+++ trunk/src/libcapuchin/Downloaders/AbstractDownloader.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,26 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
using System;
using System.Net;
Modified: trunk/src/libcapuchin/Downloaders/HttpDownloader.cs
==============================================================================
--- trunk/src/libcapuchin/Downloaders/HttpDownloader.cs (original)
+++ trunk/src/libcapuchin/Downloaders/HttpDownloader.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,26 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
using System;
using System.IO;
@@ -32,17 +55,17 @@
long fileSize = webResponse.ContentLength;
// Open the URL for download
strResponse = webResponse.GetResponseStream();
-
- string disposition = webResponse.Headers.Get ("Content-Disposition");
- string localFile;
- if (disposition != null && disposition.ToLower().StartsWith ("attachment"))
- {
- // Looks like: Content-Disposition: attachment; filename=genome.jpeg;
- string filename = disposition.Split (';')[1].Split('=')[1].Replace("\"", "");
- localFile = Path.Combine( base.dl.Destination, filename);
- } else {
- localFile = Path.Combine( base.dl.Destination, Path.GetFileName(base.dl.Url) );
- }
+
+ string disposition = webResponse.Headers.Get ("Content-Disposition");
+ string localFile;
+ if (disposition != null && disposition.ToLower().StartsWith ("attachment"))
+ {
+ // Looks like: Content-Disposition: attachment; filename=genome.jpeg;
+ string filename = disposition.Split (';')[1].Split('=')[1].Replace("\"", "");
+ localFile = Path.Combine( base.dl.Destination, filename);
+ } else {
+ localFile = Path.Combine( base.dl.Destination, Path.GetFileName(base.dl.Url) );
+ }
// Create a new file stream where we will be saving the data (local drive)
if (startPointInt == 0)
Modified: trunk/src/libcapuchin/IAppObject.cs
==============================================================================
--- trunk/src/libcapuchin/IAppObject.cs (original)
+++ trunk/src/libcapuchin/IAppObject.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,27 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
using System;
using NDesk.DBus;
Modified: trunk/src/libcapuchin/IAppObjectManager.cs
==============================================================================
--- trunk/src/libcapuchin/IAppObjectManager.cs (original)
+++ trunk/src/libcapuchin/IAppObjectManager.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,27 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
using System;
using NDesk.DBus;
Modified: trunk/src/libcapuchin/IDownloadManager.cs
==============================================================================
--- trunk/src/libcapuchin/IDownloadManager.cs (original)
+++ trunk/src/libcapuchin/IDownloadManager.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,27 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
using System;
using NDesk.DBus;
Modified: trunk/src/libcapuchin/Installation/Compression/Decompresser.cs
==============================================================================
--- trunk/src/libcapuchin/Installation/Compression/Decompresser.cs (original)
+++ trunk/src/libcapuchin/Installation/Compression/Decompresser.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,26 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
using System;
using ICSharpCode.SharpZipLib.BZip2;
@@ -28,25 +51,25 @@
}
public void Run() {
- Log.Info("Decompressing {0} to {1}", this.path, this.dest_dir);
-
- string mime_type = Gnome.Vfs.MimeType.GetMimeTypeForUri(path);
+ Log.Info("Decompressing {0} to {1}", this.path, this.dest_dir);
+
+ string mime_type = Gnome.Vfs.MimeType.GetMimeTypeForUri(path);
- IExtracter extracter = null;
- if (mime_type == "application/x-bzip-compressed-tar"){
- extracter = new TarBz2Extracter();
- this.deleteField = true;
- } else if (mime_type == "application/x-compressed-tar") {
- extracter = new TarGzExtracter();
- this.deleteField = true;
- } else if (mime_type == "application/zip") {
- extracter = new ZipExtracter();
- this.deleteField = true;
- }
- // Do nothing for "text/x-python"
- if (extracter != null)
- extracter.Extract(this.path, this.dest_dir);
- }
+ IExtracter extracter = null;
+ if (mime_type == "application/x-bzip-compressed-tar"){
+ extracter = new TarBz2Extracter();
+ this.deleteField = true;
+ } else if (mime_type == "application/x-compressed-tar") {
+ extracter = new TarGzExtracter();
+ this.deleteField = true;
+ } else if (mime_type == "application/zip") {
+ extracter = new ZipExtracter();
+ this.deleteField = true;
+ }
+ // Do nothing for "text/x-python"
+ if (extracter != null)
+ extracter.Extract(this.path, this.dest_dir);
+ }
}
}
Modified: trunk/src/libcapuchin/Installation/Compression/IExtracter.cs
==============================================================================
--- trunk/src/libcapuchin/Installation/Compression/IExtracter.cs (original)
+++ trunk/src/libcapuchin/Installation/Compression/IExtracter.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,26 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
using System;
Modified: trunk/src/libcapuchin/Installation/Compression/TarBz2Extracter.cs
==============================================================================
--- trunk/src/libcapuchin/Installation/Compression/TarBz2Extracter.cs (original)
+++ trunk/src/libcapuchin/Installation/Compression/TarBz2Extracter.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,26 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
using System;
using System.IO;
Modified: trunk/src/libcapuchin/Installation/Compression/TarExtracter.cs
==============================================================================
--- trunk/src/libcapuchin/Installation/Compression/TarExtracter.cs (original)
+++ trunk/src/libcapuchin/Installation/Compression/TarExtracter.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,26 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
using System;
using System.IO;
Modified: trunk/src/libcapuchin/Installation/Compression/TarGzExtracter.cs
==============================================================================
--- trunk/src/libcapuchin/Installation/Compression/TarGzExtracter.cs (original)
+++ trunk/src/libcapuchin/Installation/Compression/TarGzExtracter.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,26 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
using System;
using System.IO;
Modified: trunk/src/libcapuchin/Installation/Compression/ZipExtracter.cs
==============================================================================
--- trunk/src/libcapuchin/Installation/Compression/ZipExtracter.cs (original)
+++ trunk/src/libcapuchin/Installation/Compression/ZipExtracter.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,26 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
using System;
using System.IO;
Modified: trunk/src/libcapuchin/Installation/IInstaller.cs
==============================================================================
--- trunk/src/libcapuchin/Installation/IInstaller.cs (original)
+++ trunk/src/libcapuchin/Installation/IInstaller.cs Wed Apr 2 21:50:37 2008
@@ -1,11 +1,34 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
using System;
namespace Capuchin.Installation
{
-
- public interface IInstaller
- {
- bool CanInstallFile (string location);
- void InstallFile (string location);
- }
+ public interface IInstaller
+ {
+ bool CanInstallFile (string location);
+ void InstallFile (string location);
+ }
}
Modified: trunk/src/libcapuchin/NoSuchPluginException.cs
==============================================================================
--- trunk/src/libcapuchin/NoSuchPluginException.cs (original)
+++ trunk/src/libcapuchin/NoSuchPluginException.cs Wed Apr 2 21:50:37 2008
@@ -1,9 +1,33 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
using System;
namespace Capuchin
{
-
- public class NoSuchPluginException : ApplicationException
+
+ public class NoSuchPluginException : ApplicationException
{
public NoSuchPluginException() { }
public NoSuchPluginException(string message) : base(message) { }
Modified: trunk/src/libcapuchin/RepositoryConnectionException.cs
==============================================================================
--- trunk/src/libcapuchin/RepositoryConnectionException.cs (original)
+++ trunk/src/libcapuchin/RepositoryConnectionException.cs Wed Apr 2 21:50:37 2008
@@ -1,13 +1,35 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
using System;
namespace Capuchin
{
-
public class RepositoryConnectionException : ApplicationException
{
public RepositoryConnectionException() { }
public RepositoryConnectionException(string message) : base(message) { }
public RepositoryConnectionException(string message, Exception inner) : base(message, inner) { }
}
-
}
Modified: trunk/src/libcapuchin/RepositoryNotInitializedException.cs
==============================================================================
--- trunk/src/libcapuchin/RepositoryNotInitializedException.cs (original)
+++ trunk/src/libcapuchin/RepositoryNotInitializedException.cs Wed Apr 2 21:50:37 2008
@@ -1,13 +1,36 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
+
using System;
namespace Capuchin
{
-
public class RepositoryNotInitializedException : ApplicationException
{
public RepositoryNotInitializedException() { }
public RepositoryNotInitializedException(string message) : base(message) { }
public RepositoryNotInitializedException(string message, Exception inner) : base(message, inner) { }
}
-
}
\ No newline at end of file
Modified: trunk/src/libcapuchin/Verification/ChecksumVerifier.cs
==============================================================================
--- trunk/src/libcapuchin/Verification/ChecksumVerifier.cs (original)
+++ trunk/src/libcapuchin/Verification/ChecksumVerifier.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,26 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
using System;
using System.Security.Cryptography;
Modified: trunk/src/libcapuchin/Verification/GnuPGVerifier.cs
==============================================================================
--- trunk/src/libcapuchin/Verification/GnuPGVerifier.cs (original)
+++ trunk/src/libcapuchin/Verification/GnuPGVerifier.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,26 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
using System;
using System.IO;
Modified: trunk/src/libcapuchin/Verification/IVerifier.cs
==============================================================================
--- trunk/src/libcapuchin/Verification/IVerifier.cs (original)
+++ trunk/src/libcapuchin/Verification/IVerifier.cs Wed Apr 2 21:50:37 2008
@@ -1,10 +1,31 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
using System;
namespace Capuchin.Verification
{
-
-
internal interface IVerifier
{
/// <value>Whether verification succeded or not</value>
Modified: trunk/src/libcapuchin/Xml/ItemsDict.cs
==============================================================================
--- trunk/src/libcapuchin/Xml/ItemsDict.cs (original)
+++ trunk/src/libcapuchin/Xml/ItemsDict.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,27 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
using System;
using System.Collections.Generic;
using System.Xml;
Modified: trunk/src/libcapuchin/Xml/Repository.cs
==============================================================================
--- trunk/src/libcapuchin/Xml/Repository.cs (original)
+++ trunk/src/libcapuchin/Xml/Repository.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,27 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
using System;
using System.Xml;
using System.Xml.Serialization;
Modified: trunk/src/libcapuchin/Xml/author.cs
==============================================================================
--- trunk/src/libcapuchin/Xml/author.cs (original)
+++ trunk/src/libcapuchin/Xml/author.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,27 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
using System;
using System.Xml;
using System.Xml.Serialization;
Modified: trunk/src/libcapuchin/Xml/changelog.cs
==============================================================================
--- trunk/src/libcapuchin/Xml/changelog.cs (original)
+++ trunk/src/libcapuchin/Xml/changelog.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,27 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
using System;
using System.Collections.Generic;
using System.Xml;
Modified: trunk/src/libcapuchin/Xml/checksum.cs
==============================================================================
--- trunk/src/libcapuchin/Xml/checksum.cs (original)
+++ trunk/src/libcapuchin/Xml/checksum.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,27 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
using System;
using System.Xml;
using System.Xml.Serialization;
Modified: trunk/src/libcapuchin/Xml/item.cs
==============================================================================
--- trunk/src/libcapuchin/Xml/item.cs (original)
+++ trunk/src/libcapuchin/Xml/item.cs Wed Apr 2 21:50:37 2008
@@ -1,3 +1,27 @@
+/*
+ * This file is part of Capuchin
+ *
+ * Copyright (C) Sebastian PÃlsterl 2008 <marduk k-d-w org>
+ *
+ * Capuchin is free software.
+ *
+ * You may redistribute it and/or modify it under the terms of the
+ * GNU General Public License, as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Capuchin is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Capuchin. If not, write to:
+ * The Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
+ */
+
using System;
using System.Xml;
using System.Xml.Serialization;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]