From 026b37169a555208a8ee7b25e3b9af997aef2538 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 4 Oct 2006 17:16:56 +0000 Subject: [PATCH] Closes #63, Add ECL license info to source code Added on all non-trivial files -- be sure to copy over XML or JS version as appropriate for new files --- chrome/content/zotero/about.xul | 5 -- chrome/content/zotero/addCitationDialog.js | 22 +++++++-- chrome/content/zotero/addCitationDialog.xul | 22 +++++++-- .../content/zotero/admin/itemTypeManager.js | 22 +++++++++ .../content/zotero/admin/itemTypeManager.xul | 21 ++++++++ chrome/content/zotero/bibliography.js | 22 +++++++++ chrome/content/zotero/bindings/noteeditor.xml | 22 +++++++-- chrome/content/zotero/bindings/relatedbox.xml | 23 +++++++-- .../content/zotero/bindings/searchtextbox.xml | 22 +++++++-- chrome/content/zotero/bindings/tagsbox.xml | 23 +++++++-- .../content/zotero/bindings/zoterosearch.xml | 23 +++++++-- chrome/content/zotero/exportOptions.js | 22 +++++++++ chrome/content/zotero/fileInterface.js | 22 +++++++++ chrome/content/zotero/ingester/browser.js | 34 +++++++++++-- chrome/content/zotero/ingester/browser.xul | 1 - chrome/content/zotero/ingester/selectitems.js | 22 +++++++++ .../content/zotero/ingester/selectitems.xul | 3 -- chrome/content/zotero/itemPane.js | 22 +++++++-- chrome/content/zotero/itemPane.xul | 22 +++++++-- chrome/content/zotero/note.js | 22 +++++++-- chrome/content/zotero/note.xul | 5 -- chrome/content/zotero/overlay.js | 22 +++++++-- chrome/content/zotero/overlay.xul | 22 +++++++-- chrome/content/zotero/preferences.js | 22 +++++++-- chrome/content/zotero/preferences.xul | 22 +++++++-- chrome/content/zotero/searchDialog.js | 6 --- chrome/content/zotero/searchDialog.xul | 5 -- chrome/content/zotero/selectItemsDialog.js | 22 +++++++-- chrome/content/zotero/selectItemsDialog.xul | 22 +++++++-- chrome/content/zotero/xpcom/attachments.js | 22 +++++++++ chrome/content/zotero/xpcom/cite.js | 22 +++++++++ .../zotero/xpcom/collectionTreeView.js | 22 +++++++-- chrome/content/zotero/xpcom/data_access.js | 22 +++++++++ chrome/content/zotero/xpcom/db.js | 23 ++++++++- chrome/content/zotero/xpcom/file.js | 22 +++++++++ chrome/content/zotero/xpcom/fulltext.js | 22 +++++++++ chrome/content/zotero/xpcom/history.js | 22 +++++++++ chrome/content/zotero/xpcom/ingester.js | 28 +++++++++-- chrome/content/zotero/xpcom/integration.js | 22 +++++++++ chrome/content/zotero/xpcom/itemTreeView.js | 22 +++++++-- chrome/content/zotero/xpcom/mime.js | 22 +++++++++ chrome/content/zotero/xpcom/notifier.js | 22 +++++++++ chrome/content/zotero/xpcom/progressWindow.js | 22 +++++++++ chrome/content/zotero/xpcom/schema.js | 22 +++++++++ chrome/content/zotero/xpcom/search.js | 22 +++++++++ chrome/content/zotero/xpcom/translate.js | 26 +++++++++- chrome/content/zotero/xpcom/utilities.js | 26 +++++++++- chrome/content/zotero/xpcom/zotero.js | 22 +++++++++ components/chnmIZoteroAutoComplete.js | 22 +++++++++ components/chnmIZoteroService.js | 22 +++++++++ license.txt | 48 +++++++++++++++++++ 51 files changed, 980 insertions(+), 90 deletions(-) create mode 100644 license.txt diff --git a/chrome/content/zotero/about.xul b/chrome/content/zotero/about.xul index 5b8219f53a..d6dd7671a3 100644 --- a/chrome/content/zotero/about.xul +++ b/chrome/content/zotero/about.xul @@ -1,9 +1,4 @@ - diff --git a/chrome/content/zotero/addCitationDialog.js b/chrome/content/zotero/addCitationDialog.js index f834b00acf..a5fbc20233 100644 --- a/chrome/content/zotero/addCitationDialog.js +++ b/chrome/content/zotero/addCitationDialog.js @@ -1,7 +1,23 @@ /* - Zotero - Copyright (C) 2006 Center for History and New Media, George Mason University, Fairfax, VA - http://chnm.gmu.edu/ + ***** BEGIN LICENSE BLOCK ***** + + Copyright (c) 2006 Center for History and New Media + George Mason University, Fairfax, Virginia, USA + http://chnm.gmu.edu + + Licensed under the Educational Community License, Version 1.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.opensource.org/licenses/ecl1.php + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + ***** END LICENSE BLOCK ***** */ var Zotero_Citation_Dialog = new function () { diff --git a/chrome/content/zotero/addCitationDialog.xul b/chrome/content/zotero/addCitationDialog.xul index 0dc8c0f691..910f303d7c 100644 --- a/chrome/content/zotero/addCitationDialog.xul +++ b/chrome/content/zotero/addCitationDialog.xul @@ -1,8 +1,24 @@ diff --git a/chrome/content/zotero/admin/itemTypeManager.js b/chrome/content/zotero/admin/itemTypeManager.js index fdb508aac2..1be2d56b68 100644 --- a/chrome/content/zotero/admin/itemTypeManager.js +++ b/chrome/content/zotero/admin/itemTypeManager.js @@ -1,3 +1,25 @@ +/* + ***** BEGIN LICENSE BLOCK ***** + + Copyright (c) 2006 Center for History and New Media + George Mason University, Fairfax, Virginia, USA + http://chnm.gmu.edu + + Licensed under the Educational Community License, Version 1.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.opensource.org/licenses/ecl1.php + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + ***** END LICENSE BLOCK ***** +*/ + var Zotero_ItemTypeManager = new function(){ this.init = init; this.handleTypeSelect = handleTypeSelect; diff --git a/chrome/content/zotero/admin/itemTypeManager.xul b/chrome/content/zotero/admin/itemTypeManager.xul index af65d67e90..a4765a5345 100644 --- a/chrome/content/zotero/admin/itemTypeManager.xul +++ b/chrome/content/zotero/admin/itemTypeManager.xul @@ -1,4 +1,25 @@ + diff --git a/chrome/content/zotero/bibliography.js b/chrome/content/zotero/bibliography.js index f0c39b2e91..d20a6429dd 100644 --- a/chrome/content/zotero/bibliography.js +++ b/chrome/content/zotero/bibliography.js @@ -1,3 +1,25 @@ +/* + ***** BEGIN LICENSE BLOCK ***** + + Copyright (c) 2006 Center for History and New Media + George Mason University, Fairfax, Virginia, USA + http://chnm.gmu.edu + + Licensed under the Educational Community License, Version 1.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.opensource.org/licenses/ecl1.php + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + ***** END LICENSE BLOCK ***** +*/ + ////////////////////////////////////////////////////////////////////////////// // // Zotero_File_Interface_Bibliography diff --git a/chrome/content/zotero/bindings/noteeditor.xml b/chrome/content/zotero/bindings/noteeditor.xml index a143315792..a63e3b13ff 100644 --- a/chrome/content/zotero/bindings/noteeditor.xml +++ b/chrome/content/zotero/bindings/noteeditor.xml @@ -1,8 +1,24 @@ + diff --git a/chrome/content/zotero/bindings/searchtextbox.xml b/chrome/content/zotero/bindings/searchtextbox.xml index a800fc5380..9cd55fead8 100644 --- a/chrome/content/zotero/bindings/searchtextbox.xml +++ b/chrome/content/zotero/bindings/searchtextbox.xml @@ -1,8 +1,24 @@ diff --git a/chrome/content/zotero/bindings/tagsbox.xml b/chrome/content/zotero/bindings/tagsbox.xml index dbca9d7979..200bbe5762 100644 --- a/chrome/content/zotero/bindings/tagsbox.xml +++ b/chrome/content/zotero/bindings/tagsbox.xml @@ -1,9 +1,26 @@ + diff --git a/chrome/content/zotero/bindings/zoterosearch.xml b/chrome/content/zotero/bindings/zoterosearch.xml index 812b7bc697..2479e9816c 100644 --- a/chrome/content/zotero/bindings/zoterosearch.xml +++ b/chrome/content/zotero/bindings/zoterosearch.xml @@ -1,9 +1,26 @@ + diff --git a/chrome/content/zotero/exportOptions.js b/chrome/content/zotero/exportOptions.js index e9357c6999..680314d56c 100644 --- a/chrome/content/zotero/exportOptions.js +++ b/chrome/content/zotero/exportOptions.js @@ -1,3 +1,25 @@ +/* + ***** BEGIN LICENSE BLOCK ***** + + Copyright (c) 2006 Center for History and New Media + George Mason University, Fairfax, Virginia, USA + http://chnm.gmu.edu + + Licensed under the Educational Community License, Version 1.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.opensource.org/licenses/ecl1.php + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + ***** END LICENSE BLOCK ***** +*/ + ////////////////////////////////////////////////////////////////////////////// // // Zotero_File_Interface_Export diff --git a/chrome/content/zotero/fileInterface.js b/chrome/content/zotero/fileInterface.js index 0ae6a543d8..e665c820c4 100644 --- a/chrome/content/zotero/fileInterface.js +++ b/chrome/content/zotero/fileInterface.js @@ -1,3 +1,25 @@ +/* + ***** BEGIN LICENSE BLOCK ***** + + Copyright (c) 2006 Center for History and New Media + George Mason University, Fairfax, Virginia, USA + http://chnm.gmu.edu + + Licensed under the Educational Community License, Version 1.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.opensource.org/licenses/ecl1.php + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + ***** END LICENSE BLOCK ***** +*/ + var Zotero_File_Interface = new function() { var _unresponsiveScriptPreference, _importCollection, _notifyItem, _notifyCollection; diff --git a/chrome/content/zotero/ingester/browser.js b/chrome/content/zotero/ingester/browser.js index 8f2213ccd2..f9de2b2f45 100644 --- a/chrome/content/zotero/ingester/browser.js +++ b/chrome/content/zotero/ingester/browser.js @@ -1,6 +1,32 @@ -// Zotero for Firefox Ingester Browser Functions -// Based on code taken from Greasemonkey and PiggyBank -// This code is licensed according to the GPL +/* + ***** BEGIN LICENSE BLOCK ***** + + Copyright (c) 2006 Center for History and New Media + George Mason University, Fairfax, Virginia, USA + http://chnm.gmu.edu + + Licensed under the Educational Community License, Version 1.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.opensource.org/licenses/ecl1.php + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + Based on code from Greasemonkey and PiggyBank + + + ***** END LICENSE BLOCK ***** +*/ + +// +// Zotero Ingester Browser Functions +// ////////////////////////////////////////////////////////////////////////////// // @@ -449,7 +475,7 @@ Zotero_Ingester_Interface.Progress = new function() { _windowLoaded = true; _move(); - // do things we delayed because the winodw was loading + // do things we delayed because the window was loading changeHeadline(_loadHeadline); addLines(_loadLines, _loadIcons); if(_loadDescription) { diff --git a/chrome/content/zotero/ingester/browser.xul b/chrome/content/zotero/ingester/browser.xul index 87ab4b70bd..fe2313af54 100755 --- a/chrome/content/zotero/ingester/browser.xul +++ b/chrome/content/zotero/ingester/browser.xul @@ -1,5 +1,4 @@ -