From be206458768069ba13bb7aa879179672266ad525 Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Wed, 1 May 2013 00:46:16 -0400
Subject: [PATCH 01/15] Add BSD license block and CodePlex copyright to each
source file
See discussion in #10.
---
src/button.js | 33 +++++++++++++++++++++++++++++++++
src/buttongroup.js | 33 +++++++++++++++++++++++++++++++++
src/control.js | 33 +++++++++++++++++++++++++++++++++
src/controldock.js | 35 ++++++++++++++++++++++++++++++++++-
src/displayrectangle.js | 33 +++++++++++++++++++++++++++++++++
src/drawer.js | 33 +++++++++++++++++++++++++++++++++
src/dzitilesource.js | 32 ++++++++++++++++++++++++++++++++
src/eventhandler.js | 33 +++++++++++++++++++++++++++++++++
src/fullscreen.js | 36 +++++++++++++++++++++++++++++++++++-
src/iiiftilesource.js | 35 ++++++++++++++++++++++++++++++++++-
src/legacytilesource.js | 33 +++++++++++++++++++++++++++++++++
src/mousetracker.js | 33 +++++++++++++++++++++++++++++++++
src/navigator.js | 33 +++++++++++++++++++++++++++++++++
src/openseadragon.js | 33 +++++++++++++++++++++++++++++++++
src/osmtilesource.js | 33 +++++++++++++++++++++++++++++++++
src/overlay.js | 33 +++++++++++++++++++++++++++++++++
src/point.js | 33 +++++++++++++++++++++++++++++++++
src/profiler.js | 33 +++++++++++++++++++++++++++++++++
src/rectangle.js | 33 +++++++++++++++++++++++++++++++++
src/referencestrip.js | 34 +++++++++++++++++++++++++++++++++-
src/spring.js | 33 +++++++++++++++++++++++++++++++++
src/strings.js | 32 ++++++++++++++++++++++++++++++++
src/tile.js | 33 +++++++++++++++++++++++++++++++++
src/tilesource.js | 33 +++++++++++++++++++++++++++++++++
src/tilesourcecollection.js | 33 +++++++++++++++++++++++++++++++++
src/tmstilesource.js | 35 ++++++++++++++++++++++++++++++++++-
src/viewer.js | 33 +++++++++++++++++++++++++++++++++
src/viewport.js | 33 +++++++++++++++++++++++++++++++++
28 files changed, 927 insertions(+), 5 deletions(-)
diff --git a/src/button.js b/src/button.js
index 4b98faf3..b61426b5 100644
--- a/src/button.js
+++ b/src/button.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
diff --git a/src/buttongroup.js b/src/buttongroup.js
index 2d77d11b..1a9d0425 100644
--- a/src/buttongroup.js
+++ b/src/buttongroup.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
* Manages events on groups of buttons.
diff --git a/src/control.js b/src/control.js
index cdb10cd1..3c6b147e 100644
--- a/src/control.js
+++ b/src/control.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
diff --git a/src/controldock.js b/src/controldock.js
index 5360463b..aeab7614 100644
--- a/src/controldock.js
+++ b/src/controldock.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
//id hash for private properties;
@@ -181,4 +214,4 @@
return -1;
}
-}( OpenSeadragon ));
\ No newline at end of file
+}( OpenSeadragon ));
diff --git a/src/displayrectangle.js b/src/displayrectangle.js
index fe5604be..eaee8c73 100644
--- a/src/displayrectangle.js
+++ b/src/displayrectangle.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
diff --git a/src/drawer.js b/src/drawer.js
index 85bab42a..a5f406d9 100644
--- a/src/drawer.js
+++ b/src/drawer.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
var DEVICE_SCREEN = $.getWindowSize(),
diff --git a/src/dzitilesource.js b/src/dzitilesource.js
index 6f148380..eef348b7 100644
--- a/src/dzitilesource.js
+++ b/src/dzitilesource.js
@@ -1,3 +1,35 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
(function( $ ){
diff --git a/src/eventhandler.js b/src/eventhandler.js
index 2635e86a..edc88435 100644
--- a/src/eventhandler.js
+++ b/src/eventhandler.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function($){
/**
diff --git a/src/fullscreen.js b/src/fullscreen.js
index 16c3a4d0..4f198a24 100644
--- a/src/fullscreen.js
+++ b/src/fullscreen.js
@@ -1,3 +1,37 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
/**
* Determines the appropriate level of native full screen support we can get
* from the browser.
@@ -75,4 +109,4 @@
// export api
$.extend( $, fullScreenApi );
-})( OpenSeadragon );
\ No newline at end of file
+})( OpenSeadragon );
diff --git a/src/iiiftilesource.js b/src/iiiftilesource.js
index 8cf3fc5b..a8391833 100644
--- a/src/iiiftilesource.js
+++ b/src/iiiftilesource.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
@@ -284,4 +317,4 @@ function configureFromObject( tileSource, configuration ){
return configuration;
}
-}( OpenSeadragon ));
\ No newline at end of file
+}( OpenSeadragon ));
diff --git a/src/legacytilesource.js b/src/legacytilesource.js
index 7ba4e952..92cd34a7 100644
--- a/src/legacytilesource.js
+++ b/src/legacytilesource.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
diff --git a/src/mousetracker.js b/src/mousetracker.js
index 397fd19f..0cab3bb5 100644
--- a/src/mousetracker.js
+++ b/src/mousetracker.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
// is any button currently being pressed while mouse events occur
diff --git a/src/navigator.js b/src/navigator.js
index d63acef2..9effbf12 100644
--- a/src/navigator.js
+++ b/src/navigator.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
diff --git a/src/openseadragon.js b/src/openseadragon.js
index 186f48c1..3083fa29 100644
--- a/src/openseadragon.js
+++ b/src/openseadragon.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
/**
* @version <%= pkg.name %> <%= pkg.version %>
*
diff --git a/src/osmtilesource.js b/src/osmtilesource.js
index b8c43dea..a3967c84 100644
--- a/src/osmtilesource.js
+++ b/src/osmtilesource.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
diff --git a/src/overlay.js b/src/overlay.js
index c39884b7..4bf49f17 100644
--- a/src/overlay.js
+++ b/src/overlay.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
diff --git a/src/point.js b/src/point.js
index e1da1bcc..d9129441 100644
--- a/src/point.js
+++ b/src/point.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
diff --git a/src/profiler.js b/src/profiler.js
index dda7d15c..865b01ff 100644
--- a/src/profiler.js
+++ b/src/profiler.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
diff --git a/src/rectangle.js b/src/rectangle.js
index 6e255610..498e713c 100644
--- a/src/rectangle.js
+++ b/src/rectangle.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
diff --git a/src/referencestrip.js b/src/referencestrip.js
index 80bf10d1..d022ec29 100644
--- a/src/referencestrip.js
+++ b/src/referencestrip.js
@@ -1,3 +1,35 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
(function( $ ){
@@ -517,4 +549,4 @@ function onKeyPress( tracker, keyCode, shiftKey ){
-}( OpenSeadragon ));
\ No newline at end of file
+}( OpenSeadragon ));
diff --git a/src/spring.js b/src/spring.js
index cdf96fa4..7eac0f5b 100644
--- a/src/spring.js
+++ b/src/spring.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
diff --git a/src/strings.js b/src/strings.js
index 4d98c1e2..82a6a7c0 100644
--- a/src/strings.js
+++ b/src/strings.js
@@ -1,3 +1,35 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
(function( $ ){
diff --git a/src/tile.js b/src/tile.js
index d6ba9f87..6f86ae6f 100644
--- a/src/tile.js
+++ b/src/tile.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
var TILE_CACHE = {};
/**
diff --git a/src/tilesource.js b/src/tilesource.js
index 650a9477..5e215769 100644
--- a/src/tilesource.js
+++ b/src/tilesource.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
diff --git a/src/tilesourcecollection.js b/src/tilesourcecollection.js
index a64d6d0c..f58e36d5 100644
--- a/src/tilesourcecollection.js
+++ b/src/tilesourcecollection.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
diff --git a/src/tmstilesource.js b/src/tmstilesource.js
index 1ab550fc..308ccdad 100644
--- a/src/tmstilesource.js
+++ b/src/tmstilesource.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
/**
@@ -95,4 +128,4 @@ $.extend( $.TmsTileSource.prototype, $.TileSource.prototype, {
});
-}( OpenSeadragon ));
\ No newline at end of file
+}( OpenSeadragon ));
diff --git a/src/viewer.js b/src/viewer.js
index df8dce87..5acffc36 100644
--- a/src/viewer.js
+++ b/src/viewer.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
// dictionary from hash to private properties
diff --git a/src/viewport.js b/src/viewport.js
index d5800cf1..c861a21e 100644
--- a/src/viewport.js
+++ b/src/viewport.js
@@ -1,3 +1,36 @@
+/*
+ * OpenSeadragon
+ *
+ * Copyright (C) 2009 CodePlex Foundation
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of CodePlex Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
(function( $ ){
From a7c96c56efde6713db2aa71b60c83d983a20b14c Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Wed, 1 May 2013 01:06:42 -0400
Subject: [PATCH 02/15] Drop MIT license; move BSD license to root directory
All OpenSeadragon contributors have granted their permission for this
relicensing in #58.
Drop copyright statements for Ian Gilman and Christopher Thatcher as
they requested in #10.
Revert CodePlex Foundation copyright date to 2009 pursuant to discussion
in #10.
---
Gruntfile.js | 3 +-
licenses/new-bsd.txt => LICENSE.txt | 11 ---
README.md | 46 +-----------
licenses/mit.txt | 21 ------
src/openseadragon.js | 105 +++++-----------------------
5 files changed, 19 insertions(+), 167 deletions(-)
rename licenses/new-bsd.txt => LICENSE.txt (83%)
delete mode 100644 licenses/mit.txt
diff --git a/Gruntfile.js b/Gruntfile.js
index 40af664e..fb9471b0 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -167,8 +167,7 @@ module.exports = function(grunt) {
grunt.file.copy(abspath, dest);
});
grunt.file.copy("changelog.txt", packageDir + "changelog.txt");
- grunt.file.copy("licenses/mit.txt", packageDir + "licenses/mit.txt");
- grunt.file.copy("licenses/new-bsd.txt", packageDir + "licenses/new-bsd.txt");
+ grunt.file.copy("LICENSE.txt", packageDir + "LICENSE.txt");
});
// ----------
diff --git a/licenses/new-bsd.txt b/LICENSE.txt
similarity index 83%
rename from licenses/new-bsd.txt
rename to LICENSE.txt
index 0d24a9f9..81672085 100644
--- a/licenses/new-bsd.txt
+++ b/LICENSE.txt
@@ -1,12 +1,3 @@
-This license is preserved from the OpenSeadragon project at
-http://openseadragon.codeplex.com/ as per the text below.
-
--------------------------------------
-
-License: New BSD License (BSD)
-Copyright (c) 2010, OpenSeadragon
-All rights reserved.
-
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -32,5 +23,3 @@ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
-
--------------------------------------
diff --git a/README.md b/README.md
index 0fdad825..aff68612 100644
--- a/README.md
+++ b/README.md
@@ -70,50 +70,8 @@ When fixing bugs and adding features, when appropriate please also:
If you're new to the project, check out our [good first bug](https://github.com/openseadragon/openseadragon/issues?labels=good+first+bug&page=1&state=open) issues for some places to dip your toe in the water.
-## Licenses
+## License
-OpenSeadragon was initially released with a New BSD License ( preserved below ), while work done by Chris Thatcher is additionally licensed under the MIT License.
-
-### Original license preserved below
-
--------------------------------------
-License: New BSD License (BSD)
-Copyright (c) 2010, OpenSeadragon
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
-* Neither the name of OpenSeadragon nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-### MIT License
-
---------------------------------------
-(c) Christopher Thatcher 2011, 2012. All rights reserved.
-
-Licensed with the MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
+OpenSeadragon is released under the New BSD license. For details, see the file LICENSE.txt.
[](http://travis-ci.org/openseadragon/openseadragon)
diff --git a/licenses/mit.txt b/licenses/mit.txt
deleted file mode 100644
index 24ad8aa6..00000000
--- a/licenses/mit.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-(c) Christopher Thatcher 2011, 2012. All rights reserved.
-
-Licensed with the MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
\ No newline at end of file
diff --git a/src/openseadragon.js b/src/openseadragon.js
index 3083fa29..fefd4383 100644
--- a/src/openseadragon.js
+++ b/src/openseadragon.js
@@ -31,95 +31,22 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/**
- * @version <%= pkg.name %> <%= pkg.version %>
- *
- * @fileOverview
- *
- *
- * OpenSeadragon - Javascript Deep Zooming
- *
- *
- *
- * OpenSeadragon is provides an html interface for creating
- * deep zoom user interfaces. The simplest examples include deep
- * zoom for large resolution images, and complex examples include
- * zoomable map interfaces driven by SVG files.
- *
- *
- * @author
(c) 2011, 2012 Christopher Thatcher
- * @author
(c) 2010 OpenSeadragon Team
- * @author
(c) 2010 CodePlex Foundation
- *
- *
- * Original license preserved below:
- *
- * ----------------------------------------------------------------------------
- *
- * License: New BSD License (BSD)
- * Copyright (c) 2010, OpenSeadragon
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * * Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * * Neither the name of OpenSeadragon nor the names of its contributors may be
- * used to endorse or promote products derived from this software without
- * specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- *
- * ---------------------------------------------------------------------------
- *
- *
- *
- * Work done by Chris Thatcher adds an MIT license
- *
- * ----------------------------------------------------------------------------
- * (c) Christopher Thatcher 2011, 2012. All rights reserved.
- *
- * Licensed with the MIT License
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- * ---------------------------------------------------------------------------
- *
- *
- **/
-
- /**
+ /**
+ * @version <%= pkg.name %> <%= pkg.version %>
+ *
+ * @fileOverview
+ *
+ *
+ * OpenSeadragon - Javascript Deep Zooming
+ *
+ *
+ *
+ * OpenSeadragon is provides an html interface for creating
+ * deep zoom user interfaces. The simplest examples include deep
+ * zoom for large resolution images, and complex examples include
+ * zoomable map interfaces driven by SVG files.
+ *
+ *
* The root namespace for OpenSeadragon, this function also serves as a single
* point of instantiation for an {@link OpenSeadragon.Viewer}, including all
* combinations of out-of-the-box configurable features. All utility methods
From f72aaeb90397717e8f5bb1d62329f5b139731648 Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Wed, 1 May 2013 01:07:16 -0400
Subject: [PATCH 03/15] Clean up LICENSE.txt formatting
---
LICENSE.txt | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/LICENSE.txt b/LICENSE.txt
index 81672085..01dea7f5 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,25 +1,25 @@
-Redistribution and use in source and binary forms, with or without
+Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
-* Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
+- Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright notice,
-this list of conditions and the following disclaimer in the documentation
-and/or other materials provided with the distribution.
+- Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
-* Neither the name of OpenSeadragon nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
+- Neither the name of OpenSeadragon nor the names of its contributors may be
+ used to endorse or promote products derived from this software without
+ specific prior written permission.
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
From 52badbef36f3343e2cf9573face7f5a2b7cf952c Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Fri, 10 May 2013 00:57:49 -0400
Subject: [PATCH 04/15] Add MIT license blocks to src/openseadragon.js
for code taken from jQuery and from mattsnider.com.
Ideally we'd keep the MIT-licensed helper code in a separate file,
but it proved difficult to extricate from the rest of openseadragon.js.
Also remove comment about plagiarism. It's not plagiarism if it's
attributed and properly licensed.
---
src/openseadragon.js | 57 +++++++++++++++++++++++++++++++++++++++++---
1 file changed, 54 insertions(+), 3 deletions(-)
diff --git a/src/openseadragon.js b/src/openseadragon.js
index fefd4383..f43b4e39 100644
--- a/src/openseadragon.js
+++ b/src/openseadragon.js
@@ -31,6 +31,57 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+/*
+ * Portions of this source file taken from jQuery:
+ *
+ * Copyright 2011 John Resig
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/*
+ * Portions of this source file taken from mattsnider.com:
+ *
+ * Copyright (c) 2006-2013 Matt Snider
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
+ * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
+ * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+
+
/**
* @version <%= pkg.name %> <%= pkg.version %>
*
@@ -331,9 +382,9 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){
* namespace. Many, if not most, are taked directly from jQuery for use
* to simplify and reduce common programming patterns. More static methods
* from jQuery may eventually make their way into this though we are
- * attempting to avoid substaintial plagarism or the more explicit dependency
- * on jQuery only because OpenSeadragon is a broadly useful code base and
- * would be made less broad by requiring jQuery fully.
+ * attempting to avoid an explicit dependency on jQuery only because
+ * OpenSeadragon is a broadly useful code base and would be made less broad
+ * by requiring jQuery fully.
*
* Some static methods have also been refactored from the original OpenSeadragon
* project.
From ad9b66f3fb7a9b0c81b5708f4df80872d63e4d91 Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Sun, 12 May 2013 16:46:24 -0400
Subject: [PATCH 05/15] Add copyright statement to LICENSE.txt
The license speaks of "the above copyright notice", so it would behoove
us to have one.
---
LICENSE.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/LICENSE.txt b/LICENSE.txt
index 01dea7f5..e8b6ffa5 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,3 +1,5 @@
+Copyright (C) 2009 CodePlex Foundation
+
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
From 2f2eba8df2cc50868a1d99a638b399dc1f194c9f Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Sun, 12 May 2013 17:12:26 -0400
Subject: [PATCH 06/15] Add "OpenSeadragon contributors" copyright statement
The license text will be provided on the website, etc., and it seems
strange to list no copyright date newer than the original CodePlex
copyright from the AJAX Control Toolkit. Add a blanket copyright
statement for contributions to the OpenSeadragon project, stating that
copyright is held by the authors of each contribution. This blanket
statement is not intended to preclude individual contributors from
attaching their own copyright statements to their modifications.
---
LICENSE.txt | 1 +
src/button.js | 1 +
src/buttongroup.js | 1 +
src/control.js | 1 +
src/controldock.js | 1 +
src/displayrectangle.js | 1 +
src/drawer.js | 1 +
src/dzitilesource.js | 1 +
src/eventhandler.js | 1 +
src/fullscreen.js | 1 +
src/iiiftilesource.js | 1 +
src/legacytilesource.js | 1 +
src/mousetracker.js | 1 +
src/navigator.js | 1 +
src/openseadragon.js | 1 +
src/osmtilesource.js | 1 +
src/overlay.js | 1 +
src/point.js | 1 +
src/profiler.js | 1 +
src/rectangle.js | 1 +
src/referencestrip.js | 1 +
src/spring.js | 1 +
src/strings.js | 1 +
src/tile.js | 1 +
src/tilesource.js | 1 +
src/tilesourcecollection.js | 1 +
src/tmstilesource.js | 1 +
src/viewer.js | 1 +
src/viewport.js | 1 +
29 files changed, 29 insertions(+)
diff --git a/LICENSE.txt b/LICENSE.txt
index e8b6ffa5..e2316f3a 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,4 +1,5 @@
Copyright (C) 2009 CodePlex Foundation
+Copyright (C) 2011-2013 OpenSeadragon contributors
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
diff --git a/src/button.js b/src/button.js
index b61426b5..88b73df2 100644
--- a/src/button.js
+++ b/src/button.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/buttongroup.js b/src/buttongroup.js
index 1a9d0425..d0554d98 100644
--- a/src/buttongroup.js
+++ b/src/buttongroup.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/control.js b/src/control.js
index 3c6b147e..69507f5c 100644
--- a/src/control.js
+++ b/src/control.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/controldock.js b/src/controldock.js
index aeab7614..41e2d43a 100644
--- a/src/controldock.js
+++ b/src/controldock.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/displayrectangle.js b/src/displayrectangle.js
index eaee8c73..0e9623df 100644
--- a/src/displayrectangle.js
+++ b/src/displayrectangle.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/drawer.js b/src/drawer.js
index a5f406d9..c5520558 100644
--- a/src/drawer.js
+++ b/src/drawer.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/dzitilesource.js b/src/dzitilesource.js
index eef348b7..1b2b2515 100644
--- a/src/dzitilesource.js
+++ b/src/dzitilesource.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/eventhandler.js b/src/eventhandler.js
index edc88435..dcbf60de 100644
--- a/src/eventhandler.js
+++ b/src/eventhandler.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/fullscreen.js b/src/fullscreen.js
index 4f198a24..99a5ec1f 100644
--- a/src/fullscreen.js
+++ b/src/fullscreen.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/iiiftilesource.js b/src/iiiftilesource.js
index a8391833..adf9dab7 100644
--- a/src/iiiftilesource.js
+++ b/src/iiiftilesource.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/legacytilesource.js b/src/legacytilesource.js
index 92cd34a7..a6533cff 100644
--- a/src/legacytilesource.js
+++ b/src/legacytilesource.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/mousetracker.js b/src/mousetracker.js
index 0cab3bb5..d8416ad8 100644
--- a/src/mousetracker.js
+++ b/src/mousetracker.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/navigator.js b/src/navigator.js
index 9effbf12..bbeab98a 100644
--- a/src/navigator.js
+++ b/src/navigator.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/openseadragon.js b/src/openseadragon.js
index f43b4e39..cc5b567d 100644
--- a/src/openseadragon.js
+++ b/src/openseadragon.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/osmtilesource.js b/src/osmtilesource.js
index a3967c84..3ace9b6c 100644
--- a/src/osmtilesource.js
+++ b/src/osmtilesource.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/overlay.js b/src/overlay.js
index 4bf49f17..49c862a3 100644
--- a/src/overlay.js
+++ b/src/overlay.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/point.js b/src/point.js
index d9129441..2f77bed8 100644
--- a/src/point.js
+++ b/src/point.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/profiler.js b/src/profiler.js
index 865b01ff..ae993840 100644
--- a/src/profiler.js
+++ b/src/profiler.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/rectangle.js b/src/rectangle.js
index 498e713c..cfb249fb 100644
--- a/src/rectangle.js
+++ b/src/rectangle.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/referencestrip.js b/src/referencestrip.js
index d022ec29..8e471922 100644
--- a/src/referencestrip.js
+++ b/src/referencestrip.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/spring.js b/src/spring.js
index 7eac0f5b..328f2804 100644
--- a/src/spring.js
+++ b/src/spring.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/strings.js b/src/strings.js
index 82a6a7c0..c5168ac4 100644
--- a/src/strings.js
+++ b/src/strings.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/tile.js b/src/tile.js
index 6f86ae6f..32586377 100644
--- a/src/tile.js
+++ b/src/tile.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/tilesource.js b/src/tilesource.js
index 5e215769..1a2efe53 100644
--- a/src/tilesource.js
+++ b/src/tilesource.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/tilesourcecollection.js b/src/tilesourcecollection.js
index f58e36d5..1cd62e9a 100644
--- a/src/tilesourcecollection.js
+++ b/src/tilesourcecollection.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/tmstilesource.js b/src/tmstilesource.js
index 308ccdad..4d98d23a 100644
--- a/src/tmstilesource.js
+++ b/src/tmstilesource.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/viewer.js b/src/viewer.js
index 5acffc36..975790a3 100644
--- a/src/viewer.js
+++ b/src/viewer.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/viewport.js b/src/viewport.js
index c861a21e..5f5799d2 100644
--- a/src/viewport.js
+++ b/src/viewport.js
@@ -2,6 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
+ * Copyright (C) 2011-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
From bbffa7a1824c886815f704f2b81e561d03788853 Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Sun, 12 May 2013 17:17:35 -0400
Subject: [PATCH 07/15] Fix inherited error in clause 3 of LICENSE file
The original AJAX Control Toolkit license prohibited the name of the
CodePlex Foundation from being used to endorse/promote derived products.
We need to preserve this requirement. This was already done in the .js
header blocks, and should have been done in LICENSE.txt in a7c96c56 but
was missed.
Original discussion in #10. Permission for the license change was given
by all existing contributors in #58.
---
LICENSE.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/LICENSE.txt b/LICENSE.txt
index e2316f3a..6b29093f 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -11,9 +11,9 @@ modification, are permitted provided that the following conditions are met:
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
-- Neither the name of OpenSeadragon nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
+- Neither the name of CodePlex Foundation nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
From c49de73692a44695c1d87fdcb85796f8779f4bb9 Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Sun, 12 May 2013 17:21:32 -0400
Subject: [PATCH 08/15] Add license link to header of minified JS
---
Gruntfile.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/Gruntfile.js b/Gruntfile.js
index fb9471b0..ee063729 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -68,6 +68,7 @@ module.exports = function(grunt) {
banner: "//! <%= pkg.name %> <%= pkg.version %>\n"
+ "//! Built on <%= grunt.template.today('yyyy-mm-dd') %>\n"
+ "//! Git commit: <%= gitInfo %>\n"
+ + "//! License: http://openseadragon.github.io/license/\n"
+ "//! http://openseadragon.github.io\n\n",
process: true
},
From d80d928d80b9f605a93b75afb3a9d0e0ca926bcb Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Sun, 12 May 2013 18:07:20 -0400
Subject: [PATCH 09/15] Document New BSD license on seajax-utils OSM/TMS code
@rsimon has given permission in #58 for the OSM/TMS code that originated
in seajax-utils to be released under the New BSD license.
---
src/osmtilesource.js | 11 +++++++++--
src/tmstilesource.js | 15 +++++++++++----
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/src/osmtilesource.js b/src/osmtilesource.js
index 3ace9b6c..ca70d857 100644
--- a/src/osmtilesource.js
+++ b/src/osmtilesource.js
@@ -32,11 +32,18 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+/*
+ * Derived from the OSM tile source in Rainer Simon's seajax-utils project
+ * . Rainer Simon has contributed
+ * the included code to the OpenSeadragon project under the New BSD license;
+ * see #58.
+ */
+
+
(function( $ ){
/**
- * A tilesource implementation for OpenStreetMap. Adopted from Rainer Simon
- * project http://github.com/rsimon/seajax-utils.
+ * A tilesource implementation for OpenStreetMap.
*
* Note 1. Zoomlevels. Deep Zoom and OSM define zoom levels differently. In Deep
* Zoom, level 0 equals an image of 1x1 pixels. In OSM, level 0 equals an image of
diff --git a/src/tmstilesource.js b/src/tmstilesource.js
index 4d98d23a..d945c790 100644
--- a/src/tmstilesource.js
+++ b/src/tmstilesource.js
@@ -32,13 +32,20 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+/*
+ * Derived from the TMS tile source in Rainer Simon's seajax-utils project
+ * . Rainer Simon has contributed
+ * the included code to the OpenSeadragon project under the New BSD license;
+ * see #58.
+ */
+
+
(function( $ ){
/**
- * A tilesource implementation for Tiled Map Services (TMS). Adopted from Rainer Simon
- * project http://github.com/rsimon/seajax-utils. TMS tile
- * scheme ( [ as supported by OpenLayers ] is described here
- * ( http://openlayers.org/dev/examples/tms.html ) )
+ * A tilesource implementation for Tiled Map Services (TMS).
+ * TMS tile scheme ( [ as supported by OpenLayers ] is described here
+ * ( http://openlayers.org/dev/examples/tms.html ).
*
* @class
* @extends OpenSeadragon.TileSource
From 56f5000d90312948a82d617010bce9907be5b86a Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Sun, 12 May 2013 21:33:55 -0400
Subject: [PATCH 10/15] Document MIT license on John Dyer's fullscreen code
See #81.
---
src/fullscreen.js | 33 ++++++++++++++++++++++++++++-----
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/src/fullscreen.js b/src/fullscreen.js
index 99a5ec1f..c8715457 100644
--- a/src/fullscreen.js
+++ b/src/fullscreen.js
@@ -32,14 +32,36 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+/*
+ * Implementation and research by John Dyer in:
+ * http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugin/
+ * John Dyer has released this fullscreen code under the MIT license; see #81.
+ *
+ * Copyright (C) 2011 John Dyer
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
+ * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
+ * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
/**
* Determines the appropriate level of native full screen support we can get
* from the browser.
- * Thanks to John Dyer for the implementation and research
- * http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugin/
- * Also includes older IE support based on
- * http://stackoverflow.com/questions/1125084/how-to-make-in-javascript-full-screen-windows-stretching-all-over-the-screen/7525760
* @name $.supportsFullScreen
*/
(function( $ ) {
@@ -95,7 +117,8 @@
document[this.prefix + 'CancelFullScreen']();
};
} else if ( typeof window.ActiveXObject !== "undefined" ){
- // Older IE.
+ // Older IE. Support based on:
+ // http://stackoverflow.com/questions/1125084/how-to-make-in-javascript-full-screen-windows-stretching-all-over-the-screen/7525760
fullScreenApi.requestFullScreen = function(){
var wscript = new ActiveXObject("WScript.Shell");
if ( wscript !== null ) {
From 17a6ee15b1f0b0a97f173eb1aec02825d52312dd Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Mon, 13 May 2013 23:32:09 -0400
Subject: [PATCH 11/15] Include 2010 in "OpenSeadragon contributors" copyright
dates
This Git repository starts in 2011, but the CodePlex Mercurial repository
has commits from 2010.
---
LICENSE.txt | 2 +-
src/button.js | 2 +-
src/buttongroup.js | 2 +-
src/control.js | 2 +-
src/controldock.js | 2 +-
src/displayrectangle.js | 2 +-
src/drawer.js | 2 +-
src/dzitilesource.js | 2 +-
src/eventhandler.js | 2 +-
src/fullscreen.js | 2 +-
src/iiiftilesource.js | 2 +-
src/legacytilesource.js | 2 +-
src/mousetracker.js | 2 +-
src/navigator.js | 2 +-
src/openseadragon.js | 2 +-
src/osmtilesource.js | 2 +-
src/overlay.js | 2 +-
src/point.js | 2 +-
src/profiler.js | 2 +-
src/rectangle.js | 2 +-
src/referencestrip.js | 2 +-
src/spring.js | 2 +-
src/strings.js | 2 +-
src/tile.js | 2 +-
src/tilesource.js | 2 +-
src/tilesourcecollection.js | 2 +-
src/tmstilesource.js | 2 +-
src/viewer.js | 2 +-
src/viewport.js | 2 +-
29 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/LICENSE.txt b/LICENSE.txt
index 6b29093f..d4e25608 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,5 +1,5 @@
Copyright (C) 2009 CodePlex Foundation
-Copyright (C) 2011-2013 OpenSeadragon contributors
+Copyright (C) 2010-2013 OpenSeadragon contributors
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
diff --git a/src/button.js b/src/button.js
index 88b73df2..b6770788 100644
--- a/src/button.js
+++ b/src/button.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/buttongroup.js b/src/buttongroup.js
index d0554d98..dddc6463 100644
--- a/src/buttongroup.js
+++ b/src/buttongroup.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/control.js b/src/control.js
index 69507f5c..867081a9 100644
--- a/src/control.js
+++ b/src/control.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/controldock.js b/src/controldock.js
index 41e2d43a..57741c45 100644
--- a/src/controldock.js
+++ b/src/controldock.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/displayrectangle.js b/src/displayrectangle.js
index 0e9623df..a4ea265d 100644
--- a/src/displayrectangle.js
+++ b/src/displayrectangle.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/drawer.js b/src/drawer.js
index c5520558..464a5693 100644
--- a/src/drawer.js
+++ b/src/drawer.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/dzitilesource.js b/src/dzitilesource.js
index 1b2b2515..97d87526 100644
--- a/src/dzitilesource.js
+++ b/src/dzitilesource.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/eventhandler.js b/src/eventhandler.js
index dcbf60de..ebb6e1b5 100644
--- a/src/eventhandler.js
+++ b/src/eventhandler.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/fullscreen.js b/src/fullscreen.js
index c8715457..f868d7f2 100644
--- a/src/fullscreen.js
+++ b/src/fullscreen.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/iiiftilesource.js b/src/iiiftilesource.js
index adf9dab7..0380b1de 100644
--- a/src/iiiftilesource.js
+++ b/src/iiiftilesource.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/legacytilesource.js b/src/legacytilesource.js
index a6533cff..c4b88fb8 100644
--- a/src/legacytilesource.js
+++ b/src/legacytilesource.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/mousetracker.js b/src/mousetracker.js
index d8416ad8..5aae7fc5 100644
--- a/src/mousetracker.js
+++ b/src/mousetracker.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/navigator.js b/src/navigator.js
index bbeab98a..5628bd36 100644
--- a/src/navigator.js
+++ b/src/navigator.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/openseadragon.js b/src/openseadragon.js
index cc5b567d..3d4d2b3f 100644
--- a/src/openseadragon.js
+++ b/src/openseadragon.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/osmtilesource.js b/src/osmtilesource.js
index ca70d857..24ccff5b 100644
--- a/src/osmtilesource.js
+++ b/src/osmtilesource.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/overlay.js b/src/overlay.js
index 49c862a3..f414674c 100644
--- a/src/overlay.js
+++ b/src/overlay.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/point.js b/src/point.js
index 2f77bed8..a4017a44 100644
--- a/src/point.js
+++ b/src/point.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/profiler.js b/src/profiler.js
index ae993840..a404e724 100644
--- a/src/profiler.js
+++ b/src/profiler.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/rectangle.js b/src/rectangle.js
index cfb249fb..d559a8cf 100644
--- a/src/rectangle.js
+++ b/src/rectangle.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/referencestrip.js b/src/referencestrip.js
index 8e471922..3eb31ffa 100644
--- a/src/referencestrip.js
+++ b/src/referencestrip.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/spring.js b/src/spring.js
index 328f2804..179e6797 100644
--- a/src/spring.js
+++ b/src/spring.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/strings.js b/src/strings.js
index c5168ac4..8b1be14c 100644
--- a/src/strings.js
+++ b/src/strings.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/tile.js b/src/tile.js
index 32586377..26115e91 100644
--- a/src/tile.js
+++ b/src/tile.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/tilesource.js b/src/tilesource.js
index 1a2efe53..d9eea113 100644
--- a/src/tilesource.js
+++ b/src/tilesource.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/tilesourcecollection.js b/src/tilesourcecollection.js
index 1cd62e9a..de6b6933 100644
--- a/src/tilesourcecollection.js
+++ b/src/tilesourcecollection.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/tmstilesource.js b/src/tmstilesource.js
index d945c790..c782f2e9 100644
--- a/src/tmstilesource.js
+++ b/src/tmstilesource.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/viewer.js b/src/viewer.js
index 975790a3..8ac282c5 100644
--- a/src/viewer.js
+++ b/src/viewer.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
diff --git a/src/viewport.js b/src/viewport.js
index 5f5799d2..0bc80fae 100644
--- a/src/viewport.js
+++ b/src/viewport.js
@@ -2,7 +2,7 @@
* OpenSeadragon
*
* Copyright (C) 2009 CodePlex Foundation
- * Copyright (C) 2011-2013 OpenSeadragon contributors
+ * Copyright (C) 2010-2013 OpenSeadragon contributors
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
From e50b9007b92ac4029fc9a43090be404a6558fac3 Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Mon, 13 May 2013 23:37:23 -0400
Subject: [PATCH 12/15] Move project URL above license URL in minified header
---
Gruntfile.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Gruntfile.js b/Gruntfile.js
index ee063729..649b5abd 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -68,8 +68,8 @@ module.exports = function(grunt) {
banner: "//! <%= pkg.name %> <%= pkg.version %>\n"
+ "//! Built on <%= grunt.template.today('yyyy-mm-dd') %>\n"
+ "//! Git commit: <%= gitInfo %>\n"
- + "//! License: http://openseadragon.github.io/license/\n"
- + "//! http://openseadragon.github.io\n\n",
+ + "//! http://openseadragon.github.io\n"
+ + "//! License: http://openseadragon.github.io/license/\n\n",
process: true
},
dist: {
From 7939fa7c4d9c631ef0b648f19237f75369b48310 Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Mon, 13 May 2013 23:39:27 -0400
Subject: [PATCH 13/15] Replace GitHub issue numbers with full URLs
---
src/fullscreen.js | 3 ++-
src/osmtilesource.js | 2 +-
src/tmstilesource.js | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/fullscreen.js b/src/fullscreen.js
index f868d7f2..e2920049 100644
--- a/src/fullscreen.js
+++ b/src/fullscreen.js
@@ -35,7 +35,8 @@
/*
* Implementation and research by John Dyer in:
* http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugin/
- * John Dyer has released this fullscreen code under the MIT license; see #81.
+ * John Dyer has released this fullscreen code under the MIT license; see
+ * .
*
* Copyright (C) 2011 John Dyer
*
diff --git a/src/osmtilesource.js b/src/osmtilesource.js
index 24ccff5b..5036e7a9 100644
--- a/src/osmtilesource.js
+++ b/src/osmtilesource.js
@@ -36,7 +36,7 @@
* Derived from the OSM tile source in Rainer Simon's seajax-utils project
* . Rainer Simon has contributed
* the included code to the OpenSeadragon project under the New BSD license;
- * see #58.
+ * see .
*/
diff --git a/src/tmstilesource.js b/src/tmstilesource.js
index c782f2e9..42bc7591 100644
--- a/src/tmstilesource.js
+++ b/src/tmstilesource.js
@@ -36,7 +36,7 @@
* Derived from the TMS tile source in Rainer Simon's seajax-utils project
* . Rainer Simon has contributed
* the included code to the OpenSeadragon project under the New BSD license;
- * see #58.
+ * see .
*/
From fcc119bb8400d72cdc674f6ffd3dca420de653eb Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Tue, 14 May 2013 00:00:24 -0400
Subject: [PATCH 14/15] Add file-specific descriptions to file headers
---
src/button.js | 2 +-
src/buttongroup.js | 2 +-
src/control.js | 2 +-
src/controldock.js | 2 +-
src/displayrectangle.js | 2 +-
src/drawer.js | 2 +-
src/dzitilesource.js | 2 +-
src/eventhandler.js | 2 +-
src/fullscreen.js | 2 +-
src/iiiftilesource.js | 2 +-
src/legacytilesource.js | 2 +-
src/mousetracker.js | 2 +-
src/navigator.js | 2 +-
src/osmtilesource.js | 2 +-
src/overlay.js | 2 +-
src/point.js | 2 +-
src/profiler.js | 2 +-
src/rectangle.js | 2 +-
src/referencestrip.js | 2 +-
src/spring.js | 2 +-
src/strings.js | 2 +-
src/tile.js | 2 +-
src/tilesource.js | 2 +-
src/tilesourcecollection.js | 2 +-
src/tmstilesource.js | 2 +-
src/viewer.js | 2 +-
src/viewport.js | 2 +-
27 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/src/button.js b/src/button.js
index b6770788..88c73274 100644
--- a/src/button.js
+++ b/src/button.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - Button
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/buttongroup.js b/src/buttongroup.js
index dddc6463..aa0c1bbc 100644
--- a/src/buttongroup.js
+++ b/src/buttongroup.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - ButtonGroup
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/control.js b/src/control.js
index 867081a9..76d04dd4 100644
--- a/src/control.js
+++ b/src/control.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - Control
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/controldock.js b/src/controldock.js
index 57741c45..3cde67bf 100644
--- a/src/controldock.js
+++ b/src/controldock.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - ControlDock
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/displayrectangle.js b/src/displayrectangle.js
index a4ea265d..389e9bbd 100644
--- a/src/displayrectangle.js
+++ b/src/displayrectangle.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - DisplayRect
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/drawer.js b/src/drawer.js
index 464a5693..f6766c4e 100644
--- a/src/drawer.js
+++ b/src/drawer.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - Drawer
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/dzitilesource.js b/src/dzitilesource.js
index 97d87526..b846e441 100644
--- a/src/dzitilesource.js
+++ b/src/dzitilesource.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - DziTileSource
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/eventhandler.js b/src/eventhandler.js
index ebb6e1b5..a5b2cafc 100644
--- a/src/eventhandler.js
+++ b/src/eventhandler.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - EventHandler
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/fullscreen.js b/src/fullscreen.js
index e2920049..8419c525 100644
--- a/src/fullscreen.js
+++ b/src/fullscreen.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - full-screen support functions
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/iiiftilesource.js b/src/iiiftilesource.js
index 0380b1de..fc711738 100644
--- a/src/iiiftilesource.js
+++ b/src/iiiftilesource.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - IIIFTileSource
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/legacytilesource.js b/src/legacytilesource.js
index c4b88fb8..b1492cfa 100644
--- a/src/legacytilesource.js
+++ b/src/legacytilesource.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - LegacyTileSource
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/mousetracker.js b/src/mousetracker.js
index 5aae7fc5..1593839f 100644
--- a/src/mousetracker.js
+++ b/src/mousetracker.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - MouseTracker
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/navigator.js b/src/navigator.js
index 5628bd36..fd30adbc 100644
--- a/src/navigator.js
+++ b/src/navigator.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - Navigator
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/osmtilesource.js b/src/osmtilesource.js
index 5036e7a9..2dd44c9e 100644
--- a/src/osmtilesource.js
+++ b/src/osmtilesource.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - OsmTileSource
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/overlay.js b/src/overlay.js
index f414674c..75dba31e 100644
--- a/src/overlay.js
+++ b/src/overlay.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - Overlay
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/point.js b/src/point.js
index a4017a44..a4046bec 100644
--- a/src/point.js
+++ b/src/point.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - Point
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/profiler.js b/src/profiler.js
index a404e724..3525bf15 100644
--- a/src/profiler.js
+++ b/src/profiler.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - Profiler
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/rectangle.js b/src/rectangle.js
index d559a8cf..8e508da9 100644
--- a/src/rectangle.js
+++ b/src/rectangle.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - Rect
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/referencestrip.js b/src/referencestrip.js
index 3eb31ffa..c5c1b688 100644
--- a/src/referencestrip.js
+++ b/src/referencestrip.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - ReferenceStrip
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/spring.js b/src/spring.js
index 179e6797..fe61fd7a 100644
--- a/src/spring.js
+++ b/src/spring.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - Spring
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/strings.js b/src/strings.js
index 8b1be14c..90c1fe7c 100644
--- a/src/strings.js
+++ b/src/strings.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - getString/setString
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/tile.js b/src/tile.js
index 26115e91..5b380087 100644
--- a/src/tile.js
+++ b/src/tile.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - Tile
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/tilesource.js b/src/tilesource.js
index d9eea113..1e6a26a4 100644
--- a/src/tilesource.js
+++ b/src/tilesource.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - TileSource
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/tilesourcecollection.js b/src/tilesourcecollection.js
index de6b6933..1edd38b9 100644
--- a/src/tilesourcecollection.js
+++ b/src/tilesourcecollection.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - TileSourceCollection
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/tmstilesource.js b/src/tmstilesource.js
index 42bc7591..e4bf0d30 100644
--- a/src/tmstilesource.js
+++ b/src/tmstilesource.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - TmsTileSource
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/viewer.js b/src/viewer.js
index 8ac282c5..7d2f1576 100644
--- a/src/viewer.js
+++ b/src/viewer.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - Viewer
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
diff --git a/src/viewport.js b/src/viewport.js
index 0bc80fae..954ebab3 100644
--- a/src/viewport.js
+++ b/src/viewport.js
@@ -1,5 +1,5 @@
/*
- * OpenSeadragon
+ * OpenSeadragon - Viewport
*
* Copyright (C) 2009 CodePlex Foundation
* Copyright (C) 2010-2013 OpenSeadragon contributors
From 665ecd6655dc40906aa95a94a9bd697688f3c539 Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Tue, 14 May 2013 00:20:35 -0400
Subject: [PATCH 15/15] Document New BSD license on @jpstroop's IIIF code
---
src/iiiftilesource.js | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/iiiftilesource.js b/src/iiiftilesource.js
index fc711738..cb64abe9 100644
--- a/src/iiiftilesource.js
+++ b/src/iiiftilesource.js
@@ -32,6 +32,13 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+/*
+ * The getTileUrl implementation is based on Jon Stroop's Python version,
+ * which is released under the New BSD license:
+ * https://gist.github.com/jpstroop/4624253
+ */
+
+
(function( $ ){
/**
@@ -39,9 +46,6 @@
* Format: Image API Draft 0.2 - Please read more about the specification
* at
*
- * The getTileUrl implementation is based on the gist from:
- * https://gist.github.com/jpstroop/4624253
- *
* @class
* @extends OpenSeadragon.TileSource
* @see http://library.stanford.edu/iiif/image-api/