Skip to content
Browse files

Switch licenses to MPL / public domain

  • Loading branch information...
1 parent 1336d3f commit ba770e1be974f2a7a2ce9a3f054450bc15a2e233 @jjwhitney committed Jan 18, 2013
Showing with 35 additions and 99 deletions.
  1. +3 −14 src/bdelta.cpp
  2. +3 −14 src/bdelta.h
  3. +4 −0 src/bdelta.pyx
  4. +3 −14 src/bpatch.cpp
  5. +3 −15 src/checksum.h
  6. +3 −14 src/compatibility.h
  7. +3 −14 src/file.h
  8. +4 −14 src/libbdelta.cpp
  9. +3 −0 test/library.cpp
  10. +3 −0 test/py_bindings.py
  11. +3 −0 test/suite.py
View
17 src/bdelta.cpp
@@ -1,17 +1,6 @@
-/* Copyright (C) 2003-2010 John Whitney
- *
- * This program is free software; you can 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.
- *
- * This program 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.
- *
- * Author: John Whitney <jjw@deltup.org>
- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <stdio.h>
#include <stdlib.h>
View
17 src/bdelta.h
@@ -1,17 +1,6 @@
-/* Copyright (C) 2003-2010 John Whitney
- *
- * This program is free software; you can 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.
- *
- * This program 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.
- *
- * Author: John Whitney <jjw@deltup.org>
- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifdef __cplusplus
extern "C" {
View
4 src/bdelta.pyx
@@ -1,3 +1,7 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
cdef extern from "bdelta.h":
ctypedef struct BDelta_Instance:
pass
View
17 src/bpatch.cpp
@@ -1,17 +1,6 @@
-/* Copyright (C) 2003-2010 John Whitney
- *
- * This program is free software; you can 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.
- *
- * This program 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.
- *
- * Author: John Whitney <jjw@deltup.org>
- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <stdio.h>
#include <string.h>
View
18 src/checksum.h
@@ -1,18 +1,6 @@
-/* Copyright (C) 2003-2010 John Whitney
- *
- * This program is free software; you can 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.
- *
- * This program 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.
- *
- * Author: John Whitney <jjw@deltup.org>
- */
-
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
struct Hash {
public:
View
17 src/compatibility.h
@@ -1,17 +1,6 @@
-/* Copyright (C) 2003-2010 John Whitney
- *
- * This program is free software; you can 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.
- *
- * This program 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.
- *
- * Author: John Whitney <jjw@deltup.org>
- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// Fix for MSVC++, which doesn't support Variable Length Arrays.
#ifdef _MSC_VER
View
17 src/file.h
@@ -1,17 +1,6 @@
-/* Copyright (C) 2003-2010 John Whitney
- *
- * This program is free software; you can 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.
- *
- * This program 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.
- *
- * Author: John Whitney <jjw@deltup.org>
- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <stdio.h>
View
18 src/libbdelta.cpp
@@ -1,17 +1,7 @@
-/* Copyright (C) 2003-2010 John Whitney
- *
- * This program is free software; you can 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.
- *
- * This program 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.
- *
- * Author: John Whitney <jjw@deltup.org>
- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
#include "compatibility.h"
#if !defined(TOKEN_SIZE) || TOKEN_SIZE == 1
View
3 test/library.cpp
@@ -1,3 +1,6 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
// "Hello BDelta!"
#include "bdelta.h"
View
3 test/py_bindings.py
@@ -1,3 +1,6 @@
+# Any copyright is dedicated to the Public Domain.
+# http://creativecommons.org/publicdomain/zero/1.0/
+
from bdelta import BDelta
a = u"The quick brown fox jumped over the lazy dog"
View
3 test/suite.py
@@ -1,3 +1,6 @@
+# Any copyright is dedicated to the Public Domain.
+# http://creativecommons.org/publicdomain/zero/1.0/
+
# First argument should be a test suite folder
# Such folders contain subfolders with files 1 (old
# version), and 2 (new version) of data that you

0 comments on commit ba770e1

Please sign in to comment.
Something went wrong with that request. Please try again.