--- a/legal/Licensing.txt Thu May 12 17:14:39 2016 +0200
+++ b/legal/Licensing.txt Fri May 13 07:18:46 2016 +0200
@@ -302,6 +302,9 @@
Beautiful documentation, dynamically generated from source code in the browser.
From the code-illuminated project at: http://code.google.com/p/code-illuminated/, under the MPL 1.1
+# jsbeautifier.py
+Under the MIT license (available at https://github.com/beautify-web/js-beautify/blob/master/LICENSE)
+
The license files for this third party software are available in the legal
folder of this distribution.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/legal/MIT_license.txt Fri May 13 07:18:46 2016 +0200
@@ -0,0 +1,9 @@
+The MIT License (MIT)
+
+Copyright (c) 2007-2013 Einar Lielmanis and contributors.
+
+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.
--- a/modules/org.openbravo.client.kernel/jsbeautify/jsbeautify Thu May 12 17:14:39 2016 +0200
+++ b/modules/org.openbravo.client.kernel/jsbeautify/jsbeautify Fri May 13 07:18:46 2016 +0200
@@ -1,3 +1,19 @@
+# *************************************************************************
+# * The contents of this file are subject to the Openbravo Public License
+# * Version 1.1 (the "License"), being the Mozilla Public License
+# * Version 1.1 with a permitted attribution clause; you may not use this
+# * file except in compliance with the License. You may obtain a copy of
+# * the License at http://www.openbravo.com/legal/license.html
+# * Software distributed under the License is distributed on an "AS IS"
+# * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+# * License for the specific language governing rights and limitations
+# * under the License.
+# * The Original Code is Openbravo ERP.
+# * The Initial Developer of the Original Code is Openbravo SLU
+# * All portions are Copyright (C) 2016 Openbravo SLU
+# * All Rights Reserved.
+# * Contributor(s): ______________________________________.
+# ************************************************************************
#!/bin/bash
set -e
# Mercurial pre-commit hook for jsbeautify
--- a/modules/org.openbravo.client.kernel/jsbeautify/jsbeautify-module Thu May 12 17:14:39 2016 +0200
+++ b/modules/org.openbravo.client.kernel/jsbeautify/jsbeautify-module Fri May 13 07:18:46 2016 +0200
@@ -1,3 +1,19 @@
+# *************************************************************************
+# * The contents of this file are subject to the Openbravo Public License
+# * Version 1.1 (the "License"), being the Mozilla Public License
+# * Version 1.1 with a permitted attribution clause; you may not use this
+# * file except in compliance with the License. You may obtain a copy of
+# * the License at http://www.openbravo.com/legal/license.html
+# * Software distributed under the License is distributed on an "AS IS"
+# * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+# * License for the specific language governing rights and limitations
+# * under the License.
+# * The Original Code is Openbravo ERP.
+# * The Initial Developer of the Original Code is Openbravo SLU
+# * All portions are Copyright (C) 2016 Openbravo SLU
+# * All Rights Reserved.
+# * Contributor(s): ______________________________________.
+# ************************************************************************
#!/bin/bash
set -e
# Mercurial pre-commit hook for jsbeautify
--- a/modules/org.openbravo.client.kernel/jsbeautify/jscheck-btfy Thu May 12 17:14:39 2016 +0200
+++ b/modules/org.openbravo.client.kernel/jsbeautify/jscheck-btfy Fri May 13 07:18:46 2016 +0200
@@ -1,3 +1,19 @@
+# *************************************************************************
+# * The contents of this file are subject to the Openbravo Public License
+# * Version 1.1 (the "License"), being the Mozilla Public License
+# * Version 1.1 with a permitted attribution clause; you may not use this
+# * file except in compliance with the License. You may obtain a copy of
+# * the License at http://www.openbravo.com/legal/license.html
+# * Software distributed under the License is distributed on an "AS IS"
+# * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+# * License for the specific language governing rights and limitations
+# * under the License.
+# * The Original Code is Openbravo ERP.
+# * The Initial Developer of the Original Code is Openbravo SLU
+# * All portions are Copyright (C) 2016 Openbravo SLU
+# * All Rights Reserved.
+# * Contributor(s): ______________________________________.
+# ************************************************************************
#!/bin/bash
set -e
replaceparam=$1
--- a/modules/org.openbravo.client.kernel/jsbeautify/jscheck-btfy-hg Thu May 12 17:14:39 2016 +0200
+++ b/modules/org.openbravo.client.kernel/jsbeautify/jscheck-btfy-hg Fri May 13 07:18:46 2016 +0200
@@ -1,3 +1,19 @@
+# *************************************************************************
+# * The contents of this file are subject to the Openbravo Public License
+# * Version 1.1 (the "License"), being the Mozilla Public License
+# * Version 1.1 with a permitted attribution clause; you may not use this
+# * file except in compliance with the License. You may obtain a copy of
+# * the License at http://www.openbravo.com/legal/license.html
+# * Software distributed under the License is distributed on an "AS IS"
+# * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+# * License for the specific language governing rights and limitations
+# * under the License.
+# * The Original Code is Openbravo ERP.
+# * The Initial Developer of the Original Code is Openbravo SLU
+# * All portions are Copyright (C) 2016 Openbravo SLU
+# * All Rights Reserved.
+# * Contributor(s): ______________________________________.
+# ************************************************************************
#!/bin/bash
set -e
# Mercurial pre-commit hook for jsbeautify
--- a/modules/org.openbravo.client.kernel/jsbeautify/jscheck-btfy-module Thu May 12 17:14:39 2016 +0200
+++ b/modules/org.openbravo.client.kernel/jsbeautify/jscheck-btfy-module Fri May 13 07:18:46 2016 +0200
@@ -1,3 +1,19 @@
+# *************************************************************************
+# * The contents of this file are subject to the Openbravo Public License
+# * Version 1.1 (the "License"), being the Mozilla Public License
+# * Version 1.1 with a permitted attribution clause; you may not use this
+# * file except in compliance with the License. You may obtain a copy of
+# * the License at http://www.openbravo.com/legal/license.html
+# * Software distributed under the License is distributed on an "AS IS"
+# * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+# * License for the specific language governing rights and limitations
+# * under the License.
+# * The Original Code is Openbravo ERP.
+# * The Initial Developer of the Original Code is Openbravo SLU
+# * All portions are Copyright (C) 2016 Openbravo SLU
+# * All Rights Reserved.
+# * Contributor(s): ______________________________________.
+# ************************************************************************
#!/bin/bash
set -e
replaceparam=$1
--- a/modules/org.openbravo.client.kernel/jsbeautify/jscheck-btfy-module-hg Thu May 12 17:14:39 2016 +0200
+++ b/modules/org.openbravo.client.kernel/jsbeautify/jscheck-btfy-module-hg Fri May 13 07:18:46 2016 +0200
@@ -1,3 +1,19 @@
+# *************************************************************************
+# * The contents of this file are subject to the Openbravo Public License
+# * Version 1.1 (the "License"), being the Mozilla Public License
+# * Version 1.1 with a permitted attribution clause; you may not use this
+# * file except in compliance with the License. You may obtain a copy of
+# * the License at http://www.openbravo.com/legal/license.html
+# * Software distributed under the License is distributed on an "AS IS"
+# * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+# * License for the specific language governing rights and limitations
+# * under the License.
+# * The Original Code is Openbravo ERP.
+# * The Initial Developer of the Original Code is Openbravo SLU
+# * All portions are Copyright (C) 2016 Openbravo SLU
+# * All Rights Reserved.
+# * Contributor(s): ______________________________________.
+# ************************************************************************
#!/bin/bash
set -e
# Mercurial pre-commit hook for jsbeautify
--- a/modules/org.openbravo.client.kernel/jscheck/jsfiles Thu May 12 17:14:39 2016 +0200
+++ b/modules/org.openbravo.client.kernel/jscheck/jsfiles Fri May 13 07:18:46 2016 +0200
@@ -1,4 +1,20 @@
-#!/bin/sh
+# *************************************************************************
+# * The contents of this file are subject to the Openbravo Public License
+# * Version 1.1 (the "License"), being the Mozilla Public License
+# * Version 1.1 with a permitted attribution clause; you may not use this
+# * file except in compliance with the License. You may obtain a copy of
+# * the License at http://www.openbravo.com/legal/license.html
+# * Software distributed under the License is distributed on an "AS IS"
+# * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+# * License for the specific language governing rights and limitations
+# * under the License.
+# * The Original Code is Openbravo ERP.
+# * The Initial Developer of the Original Code is Openbravo SLU
+# * All portions are Copyright (C) 2016 Openbravo SLU
+# * All Rights Reserved.
+# * Contributor(s): ______________________________________.
+# ************************************************************************
+#!/bin/bash
# Find js files