[gimp-web: 49/50] Add license to tipue files
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web: 49/50] Add license to tipue files
- Date: Sun, 13 Sep 2020 16:32:06 +0000 (UTC)
commit 5620cde1f552d28aaf93f23eb0b5001eb7b7c55a
Author: Pat David <patdavid gmail com>
Date: Sun Sep 13 11:31:37 2020 -0500
Add license to tipue files
content/js/search-ready.js | 32 ++++++++++++++++++++++++++++++++
content/js/tipuesearch.min.js | 32 ++++++++++++++++++++++++++++++++
content/js/tipuesearch_set.js | 33 ++++++++++++++++++++++++++++++++-
plugins/tipue_search/tipue_search.py | 1 +
4 files changed, 97 insertions(+), 1 deletion(-)
---
diff --git a/content/js/search-ready.js b/content/js/search-ready.js
index 34ded844..0c9dc07e 100644
--- a/content/js/search-ready.js
+++ b/content/js/search-ready.js
@@ -1,3 +1,35 @@
+/**
+ *
+ * @source: http://www.gimp.org/js/search-ready.js
+ *
+ * @licstart The following is the entire license notice for the
+ * JavaScript code in this page.
+ *
+ * Tipue Search Copyright (c) 2015 Tipue
+
+ * 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.
+ *
+ * @licend The above is the entire license notice
+ * for the JavaScript code in this page.
+ *
+ */
/*
* search-ready.js
*
diff --git a/content/js/tipuesearch.min.js b/content/js/tipuesearch.min.js
index 6b69c72a..fccfc300 100644
--- a/content/js/tipuesearch.min.js
+++ b/content/js/tipuesearch.min.js
@@ -1,3 +1,35 @@
+/**
+ *
+ * @source: http://www.gimp.org/js/tipuesearch.min.js
+ *
+ * @licstart The following is the entire license notice for the
+ * JavaScript code in this page.
+ *
+ * Tipue Search Copyright (c) 2015 Tipue
+
+ * 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.
+ *
+ * @licend The above is the entire license notice
+ * for the JavaScript code in this page.
+ *
+ */
(function($){$.fn.tipuesearch=function(options){var
set=$.extend({'show':7,'newWindow':false,'showURL':true,'showTitleCount':true,'minimumLength':3,'descriptiveWords':25,'highlightTerms':true,'highlightEveryTerm':false,'mode':'static','liveDescription':'*','liveContent':'*','contentLocation':'tipuesearch/tipuesearch_content.json','debug':false},options);return
this.each(function(){var tipuesearch_in={pages:[]};$.ajaxSetup({async:false});var
tipuesearch_t_c=0;if(set.mode=='live')
{for(var i=0;i<tipuesearch_pages.length;i++)
{$.get(tipuesearch_pages[i]).done(function(html)
diff --git a/content/js/tipuesearch_set.js b/content/js/tipuesearch_set.js
index eab3f6e9..ed31365b 100644
--- a/content/js/tipuesearch_set.js
+++ b/content/js/tipuesearch_set.js
@@ -1,4 +1,35 @@
-
+/**
+ *
+ * @source: http://www.gimp.org/tipuesearch_content.js
+ *
+ * @licstart The following is the entire license notice for the
+ * JavaScript code in this page.
+ *
+ * Tipue Search Copyright (c) 2015 Tipue
+
+ * 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.
+ *
+ * @licend The above is the entire license notice
+ * for the JavaScript code in this page.
+ *
+ */
/*
Tipue Search 5.0
Copyright (c) 2015 Tipue
diff --git a/plugins/tipue_search/tipue_search.py b/plugins/tipue_search/tipue_search.py
index 3649ed6b..6f6ce0d1 100644
--- a/plugins/tipue_search/tipue_search.py
+++ b/plugins/tipue_search/tipue_search.py
@@ -104,6 +104,7 @@ class Tipue_Search_JSON_Generator(object):
with open(path, 'w', encoding='utf-8') as fd:
# Added below line so you can use tipuesearch static (vs. json)
+ fd.write("/**\n *\n * @source: http://www.gimp.org/tipuesearch_content.js\n *\n * @licstart The
following is the entire license notice for the \n * JavaScript code in this page.\n *\n * Tipue Search
Copyright (c) 2015 Tipue\n\n * Permission is hereby granted, free of charge, to any person obtaining\n * a
copy of this software and associated documentation files (the\n * 'Software'), to deal in the Software
without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n *
distribute, sublicense, and/or sell copies of the Software, and to\n * permit persons to whom the Software is
furnished to do so, subject to\n * the following conditions:\n * \n * The above copyright notice and this
permission notice shall be\n * included in all copies or substantial portions of the Software.\n * \n * THE
SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF\n * MERCHANT
ABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE\n * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\n * OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\n * WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.\n *\n * @licend The above is the entire license notice\n * for the JavaScript code
in this page.\n *\n */\n")
fd.write("var tipuesearch = ")
json.dump(root_node, fd, separators=(',', ':'), ensure_ascii=False)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]