diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-01-11 23:41:51 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-01-11 23:41:51 +0100 |
commit | fe2a998bfe82513f5ab5a8dc9d373d57c9c68ec5 (patch) | |
tree | 7deaf2c4d2f65318cf0eabc3e78b3b24936140f9 /js | |
parent | ad8500948cd54bfae85b6d6613f610eff4fbbfe5 (diff) | |
download | bugzilla-fe2a998bfe82513f5ab5a8dc9d373d57c9c68ec5.tar.gz bugzilla-fe2a998bfe82513f5ab5a8dc9d373d57c9c68ec5.tar.xz |
Bug 680131: Replace the MPL 1.1 license by the MPL 2.0 one in all files, and add it to files which miss one
r=kiko r=mkanat r=mrbball a=LpSolit
Diffstat (limited to 'js')
-rw-r--r-- | js/TUI.js | 25 | ||||
-rw-r--r-- | js/attachment.js | 26 | ||||
-rw-r--r-- | js/bug.js | 21 | ||||
-rw-r--r-- | js/change-columns.js | 24 | ||||
-rw-r--r-- | js/comments.js | 25 | ||||
-rw-r--r-- | js/custom-search.js | 22 | ||||
-rw-r--r-- | js/expanding-tree.js | 27 | ||||
-rw-r--r-- | js/field.js | 23 | ||||
-rw-r--r-- | js/flag.js | 30 | ||||
-rw-r--r-- | js/global.js | 24 | ||||
-rw-r--r-- | js/params.js | 21 | ||||
-rw-r--r-- | js/productform.js | 24 | ||||
-rw-r--r-- | js/util.js | 30 |
13 files changed, 74 insertions, 248 deletions
@@ -1,22 +1,9 @@ -/* The contents of this file are subject to the Mozilla Public - * License Version 1.1 (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.mozilla.org/MPL/ - * - * 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 the Bugzilla Bug Tracking System. - * - * The Initial Developer of the Original Code is Netscape Communications - * Corporation. Portions created by Netscape are - * Copyright (C) 1998 Netscape Communications Corporation. All - * Rights Reserved. - * - * Contributor(s): Dennis Melentyev <dennis.melentyev@infopulse.com.ua> - * Max Kanat-Alexander <mkanat@bugzilla.org> +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. */ /* This file provides JavaScript functions to be included when one wishes diff --git a/js/attachment.js b/js/attachment.js index 7861164b1..0c1560de0 100644 --- a/js/attachment.js +++ b/js/attachment.js @@ -1,25 +1,9 @@ -/* The contents of this file are subject to the Mozilla Public - * License Version 1.1 (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.mozilla.org/MPL/ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. * - * 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 the Bugzilla Bug Tracking System. - * - * The Initial Developer of the Original Code is Netscape Communications - * Corporation. Portions created by Netscape are - * Copyright (C) 1998 Netscape Communications Corporation. All - * Rights Reserved. - * - * Contributor(s): Myk Melez <myk@mozilla.org> - * Joel Peshkin <bugreport@peshkin.net> - * Erik Stambaugh <erik@dasbistro.com> - * Marc Schumann <wurblzap@gmail.com> - * Guy Pyrzak <guy.pyrzak@gmail.com> + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. */ function validateAttachmentForm(theform) { @@ -1,20 +1,9 @@ -/* The contents of this file are subject to the Mozilla Public - * License Version 1.1 (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.mozilla.org/MPL/ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. * - * 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 the Bugzilla Bug Tracking System. - * - * The Initial Developer of the Original Code is Everything Solved, Inc. - * Portions created by Everything Solved are Copyright (C) 2010 Everything - * Solved, Inc. All Rights Reserved. - * - * Contributor(s): Max Kanat-Alexander <mkanat@bugzilla.org> + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. */ /* This library assumes that the needed YUI libraries have been loaded diff --git a/js/change-columns.js b/js/change-columns.js index e70cfd560..704905f37 100644 --- a/js/change-columns.js +++ b/js/change-columns.js @@ -1,20 +1,10 @@ -/*# The contents of this file are subject to the Mozilla Public - # License Version 1.1 (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.mozilla.org/MPL/ - # - # 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 the Bugzilla Bug Tracking System. - # - # The Initial Developer of the Original Code is Pascal Held. - # - # Contributor(s): Pascal Held <paheld@gmail.com> - # -*/ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. + */ function initChangeColumns() { window.onunload = unload; diff --git a/js/comments.js b/js/comments.js index 28ef54397..703c23e7b 100644 --- a/js/comments.js +++ b/js/comments.js @@ -1,24 +1,9 @@ -/* The contents of this file are subject to the Mozilla Public - * License Version 1.1 (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.mozilla.org/MPL/ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. * - * 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 the Bugzilla Bug Tracking System. - * - * The Initial Developer of the Original Code is Netscape Communications - * Corporation. Portions created by Netscape are - * Copyright (C) 1998 Netscape Communications Corporation. All - * Rights Reserved. - * - * Contributor(s): Frédéric Buclin <LpSolit@gmail.com> - * Max Kanat-Alexander <mkanat@bugzilla.org> - * Edmund Wong <ewong@pw-wspx.org> - * Anthony Pipkin <a.pipkin@yahoo.com> + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. */ function updateCommentPrivacy(checkbox, id) { diff --git a/js/custom-search.js b/js/custom-search.js index 0ee7d2488..f8332a0bf 100644 --- a/js/custom-search.js +++ b/js/custom-search.js @@ -1,21 +1,9 @@ -/* The contents of this file are subject to the Mozilla Public - * License Version 1.1 (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.mozilla.org/MPL/ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. * - * 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 the Bugzilla Bug Tracking System. - * - * The Initial Developer of the Original Code is BugzillaSource, Inc. - * Portions created by the Initial Developer are Copyright (C) 2011 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Max Kanat-Alexander <mkanat@bugzilla.org> + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. */ var PAREN_INDENT_EM = 2; diff --git a/js/expanding-tree.js b/js/expanding-tree.js index d210a629c..02b1ed739 100644 --- a/js/expanding-tree.js +++ b/js/expanding-tree.js @@ -1,23 +1,9 @@ -/* The contents of this file are subject to the Mozilla Public - * License Version 1.1 (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.mozilla.org/MPL/ - * - * 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 the Bugzilla Bug Tracking System. - * - * The Initial Developer of the Original Code is Netscape Communications - * Corporation. Portions created by Netscape are - * Copyright (C) 1998 Netscape Communications Corporation. All - * Rights Reserved. - * - * Contributor(s): Mike Shaver <shaver@mozilla.org> - * Christian Reis <kiko@async.com.br> - * André Batosti <batosti@async.com.br> +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. */ if (!Node) { @@ -154,4 +140,3 @@ function duplicatedout(element) { duplicated(element); } } - diff --git a/js/field.js b/js/field.js index 69f71e526..38b395e36 100644 --- a/js/field.js +++ b/js/field.js @@ -1,22 +1,9 @@ -/* The contents of this file are subject to the Mozilla Public - * License Version 1.1 (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.mozilla.org/MPL/ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. * - * 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 the Bugzilla Bug Tracking System. - * - * The Initial Developer of the Original Code is Everything Solved, Inc. - * Portions created by Everything Solved are Copyright (C) 2007 Everything - * Solved, Inc. All Rights Reserved. - * - * Contributor(s): Max Kanat-Alexander <mkanat@bugzilla.org> - * Guy Pyrzak <guy.pyrzak@gmail.com> - * Reed Loden <reed@reedloden.com> + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. */ /* This library assumes that the needed YUI libraries have been loaded diff --git a/js/flag.js b/js/flag.js index 64b4ad8a2..c80708972 100644 --- a/js/flag.js +++ b/js/flag.js @@ -1,28 +1,10 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1 +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (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.mozilla.org/MPL/ - * - * 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 the Bugzilla Bug Tracking System. - * - * The Initial Developer of the Original Code is Netscape Communications - * Corporation. - * Portions created by the Initial Developer are Copyright (C) 2009 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Myk Melez <myk@mozilla.org> - * Frédéric Buclin <LpSolit@gmail.com> - * - * ***** END LICENSE BLOCK ***** */ + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. + */ // Shows or hides a requestee field depending on whether or not // the user is requesting the corresponding flag. diff --git a/js/global.js b/js/global.js index b62d7b9a7..265ade46b 100644 --- a/js/global.js +++ b/js/global.js @@ -1,20 +1,10 @@ -/* The contents of this file are subject to the Mozilla Public -* License Version 1.1 (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.mozilla.org/MPL/ -* -* 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 the Bugzilla Bug Tracking System. -* -* Contributor(s): -* Guy Pyrzak <guy.pyrzak@gmail.com> -* Max Kanat-Alexander <mkanat@bugzilla.org> -* -*/ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. + */ var mini_login_constants; diff --git a/js/params.js b/js/params.js index 453740799..ac552a560 100644 --- a/js/params.js +++ b/js/params.js @@ -1,20 +1,9 @@ -/* The contents of this file are subject to the Mozilla Public - * License Version 1.1 (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.mozilla.org/MPL/ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. * - * 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 the Bugzilla Bug Tracking System. - * - * The Initial Developer of the Original Code is Marc Schumann. - * Portions created by Marc Schumann are Copyright (c) 2007 Marc Schumann. - * All rights reserved. - * - * Contributor(s): Marc Schumann <wurblzap@gmail.com> + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. */ function sortedList_moveItem(paramName, direction, separator) { diff --git a/js/productform.js b/js/productform.js index f9b420c31..12ad3ea4d 100644 --- a/js/productform.js +++ b/js/productform.js @@ -1,21 +1,9 @@ -/* The contents of this file are subject to the Mozilla Public - * License Version 1.1 (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.mozilla.org/MPL/ - * - * 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 the Bugzilla Bug Tracking System. - * - * The Initial Developer of the Original Code is Netscape Communications - * Corporation. Portions created by Netscape are - * Copyright (C) 1998 Netscape Communications Corporation. All - * Rights Reserved. - * - * Contributor(s): Christian Reis <kiko@async.com.br> +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. */ // Functions to update form select elements based on a diff --git a/js/util.js b/js/util.js index 56649ac66..7ecc2a3d8 100644 --- a/js/util.js +++ b/js/util.js @@ -1,28 +1,10 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1 +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (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.mozilla.org/MPL/ - * - * 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 the Cross Platform JavaScript Utility Library. - * - * The Initial Developer of the Original Code is - * Everything Solved. - * Portions created by the Initial Developer are Copyright (C) 2007 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Max Kanat-Alexander <mkanat@bugzilla.org> - * Christopher A. Aillon <christopher@aillon.com> - * - * ***** END LICENSE BLOCK ***** */ + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. + */ /** * Locate where an element is on the page, x-wise. |