You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2020/07/15 14:05:58 UTC

[myfaces-tobago] 02/03: TOBAGO-2014: Remove jQuery dependency

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit d32d4e9462f5fb3235bcc7e16d231a3f03c330b7
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Wed Jul 15 13:14:58 2020 +0200

    TOBAGO-2014: Remove jQuery dependency
---
 tobago-assembly/src/main/resources/LICENSE.txt     | 67 ----------------------
 tobago-assembly/src/main/resources/NOTICE.txt      |  5 +-
 .../myfaces/tobago/internal/util/JQueryUtils.java  | 32 -----------
 .../src/main/resources/LICENSE.txt                 | 23 --------
 .../src/main/resources/NOTICE.txt                  |  5 +-
 .../src/main/appended-resouces/META-INF/NOTICE     |  3 -
 6 files changed, 2 insertions(+), 133 deletions(-)

diff --git a/tobago-assembly/src/main/resources/LICENSE.txt b/tobago-assembly/src/main/resources/LICENSE.txt
index 6a3fd71..5d3121d 100644
--- a/tobago-assembly/src/main/resources/LICENSE.txt
+++ b/tobago-assembly/src/main/resources/LICENSE.txt
@@ -202,73 +202,6 @@
 
 
 ------------------------------------------------------------------------------
-For jQuery:
-------------------------------------------------------------------------------
-
-Copyright 2012, 2014 jQuery Foundation and other contributors,
-https://jquery.org/
-
-This software consists of voluntary contributions made by many
-individuals. For exact contribution history, see the revision history
-available at https://github.com/jquery/jquery.org
-
-The following license applies to all parts of this software except as
-documented below:
-
-====
-
-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.
-
-====
-
-All files located in the node_modules directory are externally
-maintained libraries used by this software which have their own
-licenses; we recommend you read them, as their terms may differ from the
-terms above.
-
-------------------------------------------------------------------------------
-For jQuery Timepicker Addon:
-------------------------------------------------------------------------------
-
-Copyright (c) 2009 Trent Richardson, http://trentrichardson.com/Impromptu/
-
-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.
-
-------------------------------------------------------------------------------
  For SLF4J:
 ------------------------------------------------------------------------------
 
diff --git a/tobago-assembly/src/main/resources/NOTICE.txt b/tobago-assembly/src/main/resources/NOTICE.txt
index fc13fc4..588a473 100644
--- a/tobago-assembly/src/main/resources/NOTICE.txt
+++ b/tobago-assembly/src/main/resources/NOTICE.txt
@@ -1,15 +1,12 @@
 Apache Tobago
 Copyright 2005-2020 The Apache Software Foundation
 
-This product includes software developed by
-The Apache Software Foundation (http://www.apache.org/).
-
 Based on source code originally developed by
 Atanion GmbH (http://www.atanion.com/)
 Copyright 2002-2005 Atanion GmbH.
 
 This product includes software developed by
-The jQuery Foundation (http://jquery.org/)
+The Apache Software Foundation (http://www.apache.org/).
 
 This product includes software developed by
 QOS.ch (slf4j) (http://QOS.ch/)
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/JQueryUtils.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/JQueryUtils.java
deleted file mode 100644
index b0390af..0000000
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/JQueryUtils.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
- *
- * 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.
- */
-
-package org.apache.myfaces.tobago.internal.util;
-
-public class JQueryUtils {
-
-  public static String escapeIdForHtml(final String id) {
-    return "#" + id.replaceAll("([:\\.\\[\\],])", "\\\\$1");
-  }
-
-  public static String escapeIdForJavaScript(final String id) {
-    return "#" + id.replaceAll("([:\\.\\[\\],])", "\\\\\\\\$1");
-  }
-
-}
diff --git a/tobago-example/tobago-example-assembly/src/main/resources/LICENSE.txt b/tobago-example/tobago-example-assembly/src/main/resources/LICENSE.txt
index 306307e..e0aa6e7 100644
--- a/tobago-example/tobago-example-assembly/src/main/resources/LICENSE.txt
+++ b/tobago-example/tobago-example-assembly/src/main/resources/LICENSE.txt
@@ -200,29 +200,6 @@
    See the License for the specific language governing permissions and
    limitations under the License.
 
- For jQuery:
-
- Copyright (c) 2010 John Resig, http://jquery.com/
-
- 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.
-
 
  For SLF4J:
 
diff --git a/tobago-example/tobago-example-assembly/src/main/resources/NOTICE.txt b/tobago-example/tobago-example-assembly/src/main/resources/NOTICE.txt
index fc13fc4..588a473 100644
--- a/tobago-example/tobago-example-assembly/src/main/resources/NOTICE.txt
+++ b/tobago-example/tobago-example-assembly/src/main/resources/NOTICE.txt
@@ -1,15 +1,12 @@
 Apache Tobago
 Copyright 2005-2020 The Apache Software Foundation
 
-This product includes software developed by
-The Apache Software Foundation (http://www.apache.org/).
-
 Based on source code originally developed by
 Atanion GmbH (http://www.atanion.com/)
 Copyright 2002-2005 Atanion GmbH.
 
 This product includes software developed by
-The jQuery Foundation (http://jquery.org/)
+The Apache Software Foundation (http://www.apache.org/).
 
 This product includes software developed by
 QOS.ch (slf4j) (http://QOS.ch/)
diff --git a/tobago-example/tobago-example-demo/src/main/appended-resouces/META-INF/NOTICE b/tobago-example/tobago-example-demo/src/main/appended-resouces/META-INF/NOTICE
index d4e5571..8843be9 100644
--- a/tobago-example/tobago-example-demo/src/main/appended-resouces/META-INF/NOTICE
+++ b/tobago-example/tobago-example-demo/src/main/appended-resouces/META-INF/NOTICE
@@ -4,6 +4,3 @@ Copyright 2002-2005 Atanion GmbH.
 
 This product includes software developed by
 Lea Verou http://lea.verou.me et al. (http://prismjs.com/)
-
-This product includes software developed by
-jQuery Foundation and other contributors (https://qunitjs.com/)