Skip to content

Commit 39dd51a

Browse files
committed
Relicensing from Mozilla's Tri-license to BSD
1 parent c2ffd0d commit 39dd51a

File tree

11 files changed

+77
-373
lines changed

11 files changed

+77
-373
lines changed

LICENSE

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
1-
This software is available under your choice of the following licenses:
21

3-
* MPL 1.1 or later: http://www.mozilla.org/MPL/
4-
* GPL 2.0 or later: http://www.gnu.org/licenses/gpl.html
5-
* LGPL 2.1 or later: http://www.gnu.org/licenses/lgpl.html
2+
Copyright (c) 2009-2011, Mozilla Foundation and contributors
3+
All rights reserved.
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are met:
7+
8+
* Redistributions of source code must retain the above copyright notice, this
9+
list of conditions and the following disclaimer.
10+
11+
* Redistributions in binary form must reproduce the above copyright notice,
12+
this list of conditions and the following disclaimer in the documentation
13+
and/or other materials provided with the distribution.
14+
15+
* Neither the names of the Mozilla Foundation nor the names of project
16+
contributors may be used to endorse or promote products derived from this
17+
software without specific prior written permission.
18+
19+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
20+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Makefile.dryice.js

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,9 @@
11
/* -*- Mode: js; js-indent-level: 2; -*- */
2-
/* ***** BEGIN LICENSE BLOCK *****
3-
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
4-
*
5-
* The contents of this file are subject to the Mozilla Public License Version
6-
* 1.1 (the "License"); you may not use this file except in compliance with
7-
* the License. You may obtain a copy of the License at
8-
* http://www.mozilla.org/MPL/
9-
*
10-
* Software distributed under the License is distributed on an "AS IS" basis,
11-
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12-
* for the specific language governing rights and limitations under the
13-
* License.
14-
*
15-
* The Original Code is Mozilla Source Map.
16-
*
17-
* The Initial Developer of the Original Code is Mozilla.
18-
* Portions created by the Initial Developer are Copyright (C) 2011
19-
* the Initial Developer. All Rights Reserved.
20-
*
21-
* Contributor(s):
22-
* Nick Fitzgerald <[email protected]> (original author)
23-
*
24-
* Alternatively, the contents of this file may be used under the terms of
25-
* either the GNU General Public License Version 2 or later (the "GPL"), or
26-
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27-
* in which case the provisions of the GPL or the LGPL are applicable instead
28-
* of those above. If you wish to allow use of your version of this file only
29-
* under the terms of either the GPL or the LGPL, and not to allow others to
30-
* use your version of this file under the terms of the MPL, indicate your
31-
* decision by deleting the provisions above and replace them with the notice
32-
* and other provisions required by the GPL or the LGPL. If you do not delete
33-
* the provisions above, a recipient may use your version of this file under
34-
* the terms of any one of the MPL, the GPL or the LGPL.
35-
*
36-
* ***** END LICENSE BLOCK ***** */
2+
/*
3+
* Copyright 2011 Mozilla Foundation and contributors
4+
* Licensed under the New BSD license. See LICENSE or:
5+
* http://opensource.org/licenses/BSD-3-Clause
6+
*/
377
var path = require('path');
388
var fs = require('fs');
399
var copy = require('dryice').copy;

lib/source-map.js

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,8 @@
1-
/* -*- Mode: js; js-indent-level: 2; -*- */
2-
/* ***** BEGIN LICENSE BLOCK *****
3-
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
4-
*
5-
* The contents of this file are subject to the Mozilla Public License Version
6-
* 1.1 (the "License"); you may not use this file except in compliance with
7-
* the License. You may obtain a copy of the License at
8-
* http://www.mozilla.org/MPL/
9-
*
10-
* Software distributed under the License is distributed on an "AS IS" basis,
11-
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12-
* for the specific language governing rights and limitations under the
13-
* License.
14-
*
15-
* The Original Code is Mozilla Source Map.
16-
*
17-
* The Initial Developer of the Original Code is Mozilla.
18-
* Portions created by the Initial Developer are Copyright (C) 2011
19-
* the Initial Developer. All Rights Reserved.
20-
*
21-
* Contributor(s):
22-
* Nick Fitzgerald <[email protected]> (original author)
23-
*
24-
* Alternatively, the contents of this file may be used under the terms of
25-
* either the GNU General Public License Version 2 or later (the "GPL"), or
26-
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27-
* in which case the provisions of the GPL or the LGPL are applicable instead
28-
* of those above. If you wish to allow use of your version of this file only
29-
* under the terms of either the GPL or the LGPL, and not to allow others to
30-
* use your version of this file under the terms of the MPL, indicate your
31-
* decision by deleting the provisions above and replace them with the notice
32-
* and other provisions required by the GPL or the LGPL. If you do not delete
33-
* the provisions above, a recipient may use your version of this file under
34-
* the terms of any one of the MPL, the GPL or the LGPL.
35-
*
36-
* ***** END LICENSE BLOCK ***** */
1+
/*
2+
* Copyright 2009-2011 Mozilla Foundation and contributors
3+
* Licensed under the New BSD license. See LICENSE.txt or:
4+
* http://opensource.org/licenses/BSD-3-Clause
5+
*/
376
var requirejs = require('requirejs');
387
var path = require('path');
398

lib/source-map/array-set.js

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,9 @@
11
/* -*- Mode: js; js-indent-level: 2; -*- */
2-
/* ***** BEGIN LICENSE BLOCK *****
3-
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
4-
*
5-
* The contents of this file are subject to the Mozilla Public License Version
6-
* 1.1 (the "License"); you may not use this file except in compliance with
7-
* the License. You may obtain a copy of the License at
8-
* http://www.mozilla.org/MPL/
9-
*
10-
* Software distributed under the License is distributed on an "AS IS" basis,
11-
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12-
* for the specific language governing rights and limitations under the
13-
* License.
14-
*
15-
* The Original Code is Mozilla Source Map.
16-
*
17-
* The Initial Developer of the Original Code is Mozilla.
18-
* Portions created by the Initial Developer are Copyright (C) 2011
19-
* the Initial Developer. All Rights Reserved.
20-
*
21-
* Contributor(s):
22-
* Nick Fitzgerald <[email protected]> (original author)
23-
*
24-
* Alternatively, the contents of this file may be used under the terms of
25-
* either the GNU General Public License Version 2 or later (the "GPL"), or
26-
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27-
* in which case the provisions of the GPL or the LGPL are applicable instead
28-
* of those above. If you wish to allow use of your version of this file only
29-
* under the terms of either the GPL or the LGPL, and not to allow others to
30-
* use your version of this file under the terms of the MPL, indicate your
31-
* decision by deleting the provisions above and replace them with the notice
32-
* and other provisions required by the GPL or the LGPL. If you do not delete
33-
* the provisions above, a recipient may use your version of this file under
34-
* the terms of any one of the MPL, the GPL or the LGPL.
35-
*
36-
* ***** END LICENSE BLOCK ***** */
2+
/*
3+
* Copyright 2011 Mozilla Foundation and contributors
4+
* Licensed under the New BSD license. See LICENSE or:
5+
* http://opensource.org/licenses/BSD-3-Clause
6+
*/
377
define(function (require, exports, module) {
388

399
/**

lib/source-map/base64-vlq.js

Lines changed: 5 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,9 @@
11
/* -*- Mode: js; js-indent-level: 2; -*- */
2-
/* ***** BEGIN LICENSE BLOCK *****
3-
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
4-
*
5-
* The contents of this file are subject to the Mozilla Public License Version
6-
* 1.1 (the "License"); you may not use this file except in compliance with
7-
* the License. You may obtain a copy of the License at
8-
* http://www.mozilla.org/MPL/
9-
*
10-
* Software distributed under the License is distributed on an "AS IS" basis,
11-
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12-
* for the specific language governing rights and limitations under the
13-
* License.
14-
*
15-
* The Original Code is Mozilla Source Map.
16-
*
17-
* The Initial Developer of the Original Code is Mozilla.
18-
* Portions created by the Initial Developer are Copyright (C) 2011
19-
* the Initial Developer. All Rights Reserved.
20-
*
21-
* Contributor(s):
22-
* Nick Fitzgerald <[email protected]> (original author)
23-
*
24-
* Alternatively, the contents of this file may be used under the terms of
25-
* either the GNU General Public License Version 2 or later (the "GPL"), or
26-
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27-
* in which case the provisions of the GPL or the LGPL are applicable instead
28-
* of those above. If you wish to allow use of your version of this file only
29-
* under the terms of either the GPL or the LGPL, and not to allow others to
30-
* use your version of this file under the terms of the MPL, indicate your
31-
* decision by deleting the provisions above and replace them with the notice
32-
* and other provisions required by the GPL or the LGPL. If you do not delete
33-
* the provisions above, a recipient may use your version of this file under
34-
* the terms of any one of the MPL, the GPL or the LGPL.
35-
*
36-
* The contents of this file is a derivative work of
37-
* http://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java,
38-
* its license follows:
39-
*
40-
* Copyright 2011 The Closure Compiler Authors.
41-
*
42-
* Licensed under the Apache License, Version 2.0 (the "License");
43-
* you may not use this file except in compliance with the License.
44-
* You may obtain a copy of the License at
45-
*
46-
* http://www.apache.org/licenses/LICENSE-2.0
47-
*
48-
* Unless required by applicable law or agreed to in writing, software
49-
* distributed under the License is distributed on an "AS IS" BASIS,
50-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
51-
* See the License for the specific language governing permissions and
52-
* limitations under the License.
53-
*
54-
* ***** END LICENSE BLOCK ***** */
2+
/*
3+
* Copyright 2011 Mozilla Foundation and contributors
4+
* Licensed under the New BSD license. See LICENSE or:
5+
* http://opensource.org/licenses/BSD-3-Clause
6+
*/
557
define(function (require, exports, module) {
568

579
var base64 = require('./base64');

lib/source-map/base64.js

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,9 @@
11
/* -*- Mode: js; js-indent-level: 2; -*- */
2-
/* ***** BEGIN LICENSE BLOCK *****
3-
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
4-
*
5-
* The contents of this file are subject to the Mozilla Public License Version
6-
* 1.1 (the "License"); you may not use this file except in compliance with
7-
* the License. You may obtain a copy of the License at
8-
* http://www.mozilla.org/MPL/
9-
*
10-
* Software distributed under the License is distributed on an "AS IS" basis,
11-
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12-
* for the specific language governing rights and limitations under the
13-
* License.
14-
*
15-
* The Original Code is Mozilla Source Map.
16-
*
17-
* The Initial Developer of the Original Code is Mozilla.
18-
* Portions created by the Initial Developer are Copyright (C) 2011
19-
* the Initial Developer. All Rights Reserved.
20-
*
21-
* Contributor(s):
22-
* Nick Fitzgerald <[email protected]> (original author)
23-
*
24-
* Alternatively, the contents of this file may be used under the terms of
25-
* either the GNU General Public License Version 2 or later (the "GPL"), or
26-
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27-
* in which case the provisions of the GPL or the LGPL are applicable instead
28-
* of those above. If you wish to allow use of your version of this file only
29-
* under the terms of either the GPL or the LGPL, and not to allow others to
30-
* use your version of this file under the terms of the MPL, indicate your
31-
* decision by deleting the provisions above and replace them with the notice
32-
* and other provisions required by the GPL or the LGPL. If you do not delete
33-
* the provisions above, a recipient may use your version of this file under
34-
* the terms of any one of the MPL, the GPL or the LGPL.
35-
*
36-
* ***** END LICENSE BLOCK ***** */
2+
/*
3+
* Copyright 2011 Mozilla Foundation and contributors
4+
* Licensed under the New BSD license. See LICENSE or:
5+
* http://opensource.org/licenses/BSD-3-Clause
6+
*/
377
define(function (require, exports, module) {
388

399
var charToIntMap = {};

lib/source-map/binary-search.js

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,9 @@
11
/* -*- Mode: js; js-indent-level: 2; -*- */
2-
/* ***** BEGIN LICENSE BLOCK *****
3-
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
4-
*
5-
* The contents of this file are subject to the Mozilla Public License Version
6-
* 1.1 (the "License"); you may not use this file except in compliance with
7-
* the License. You may obtain a copy of the License at
8-
* http://www.mozilla.org/MPL/
9-
*
10-
* Software distributed under the License is distributed on an "AS IS" basis,
11-
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12-
* for the specific language governing rights and limitations under the
13-
* License.
14-
*
15-
* The Original Code is Mozilla Source Map.
16-
*
17-
* The Initial Developer of the Original Code is Mozilla.
18-
* Portions created by the Initial Developer are Copyright (C) 2011
19-
* the Initial Developer. All Rights Reserved.
20-
*
21-
* Contributor(s):
22-
* Nick Fitzgerald <[email protected]> (original author)
23-
*
24-
* Alternatively, the contents of this file may be used under the terms of
25-
* either the GNU General Public License Version 2 or later (the "GPL"), or
26-
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27-
* in which case the provisions of the GPL or the LGPL are applicable instead
28-
* of those above. If you wish to allow use of your version of this file only
29-
* under the terms of either the GPL or the LGPL, and not to allow others to
30-
* use your version of this file under the terms of the MPL, indicate your
31-
* decision by deleting the provisions above and replace them with the notice
32-
* and other provisions required by the GPL or the LGPL. If you do not delete
33-
* the provisions above, a recipient may use your version of this file under
34-
* the terms of any one of the MPL, the GPL or the LGPL.
35-
*
36-
* ***** END LICENSE BLOCK ***** */
2+
/*
3+
* Copyright 2011 Mozilla Foundation and contributors
4+
* Licensed under the New BSD license. See LICENSE or:
5+
* http://opensource.org/licenses/BSD-3-Clause
6+
*/
377
define(function (require, exports, module) {
388

399
/**

lib/source-map/source-map-consumer.js

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,9 @@
11
/* -*- Mode: js; js-indent-level: 2; -*- */
2-
/* ***** BEGIN LICENSE BLOCK *****
3-
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
4-
*
5-
* The contents of this file are subject to the Mozilla Public License Version
6-
* 1.1 (the "License"); you may not use this file except in compliance with
7-
* the License. You may obtain a copy of the License at
8-
* http://www.mozilla.org/MPL/
9-
*
10-
* Software distributed under the License is distributed on an "AS IS" basis,
11-
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12-
* for the specific language governing rights and limitations under the
13-
* License.
14-
*
15-
* The Original Code is Mozilla Source Map.
16-
*
17-
* The Initial Developer of the Original Code is Mozilla.
18-
* Portions created by the Initial Developer are Copyright (C) 2011
19-
* the Initial Developer. All Rights Reserved.
20-
*
21-
* Contributor(s):
22-
* Nick Fitzgerald <[email protected]> (original author)
23-
*
24-
* Alternatively, the contents of this file may be used under the terms of
25-
* either the GNU General Public License Version 2 or later (the "GPL"), or
26-
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27-
* in which case the provisions of the GPL or the LGPL are applicable instead
28-
* of those above. If you wish to allow use of your version of this file only
29-
* under the terms of either the GPL or the LGPL, and not to allow others to
30-
* use your version of this file under the terms of the MPL, indicate your
31-
* decision by deleting the provisions above and replace them with the notice
32-
* and other provisions required by the GPL or the LGPL. If you do not delete
33-
* the provisions above, a recipient may use your version of this file under
34-
* the terms of any one of the MPL, the GPL or the LGPL.
35-
*
36-
* ***** END LICENSE BLOCK ***** */
2+
/*
3+
* Copyright 2011 Mozilla Foundation and contributors
4+
* Licensed under the New BSD license. See LICENSE or:
5+
* http://opensource.org/licenses/BSD-3-Clause
6+
*/
377
define(function (require, exports, module) {
388

399
var util = require('./util');

0 commit comments

Comments
 (0)