Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use new style license boilerplate

  • Loading branch information...
commit 9456933670fb4590af3060f4ff40d11271859b8d 1 parent 242c7f1
William Lachance authored
39  bin/analyze.py
... ...
@@ -1,41 +1,8 @@
1 1
 #!/usr/bin/env python
2 2
 
3  
-# ***** BEGIN LICENSE BLOCK *****
4  
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
5  
-#
6  
-# The contents of this file are subject to the Mozilla Public License Version
7  
-# 1.1 (the "License"); you may not use this file except in compliance with
8  
-# the License. You may obtain a copy of the License at
9  
-# http://www.mozilla.org/MPL/
10  
-#
11  
-# Software distributed under the License is distributed on an "AS IS" basis,
12  
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13  
-# for the specific language governing rights and limitations under the
14  
-# License.
15  
-#
16  
-# The Original Code is Mozilla Eideticker.
17  
-#
18  
-# The Initial Developer of the Original Code is
19  
-# Mozilla foundation
20  
-# Portions created by the Initial Developer are Copyright (C) 2011
21  
-# the Initial Developer. All Rights Reserved.
22  
-#
23  
-# Contributor(s):
24  
-#   William Lachance <wlachance@mozilla.com>
25  
-#
26  
-# Alternatively, the contents of this file may be used under the terms of
27  
-# either the GNU General Public License Version 2 or later (the "GPL"), or
28  
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29  
-# in which case the provisions of the GPL or the LGPL are applicable instead
30  
-# of those above. If you wish to allow use of your version of this file only
31  
-# under the terms of either the GPL or the LGPL, and not to allow others to
32  
-# use your version of this file under the terms of the MPL, indicate your
33  
-# decision by deleting the provisions above and replace them with the notice
34  
-# and other provisions required by the GPL or the LGPL. If you do not delete
35  
-# the provisions above, a recipient may use your version of this file under
36  
-# the terms of any one of the MPL, the GPL or the LGPL.
37  
-#
38  
-# ***** END LICENSE BLOCK *****
  3
+# This Source Code Form is subject to the terms of the Mozilla Public
  4
+# License, v. 2.0. If a copy of the MPL was not distributed with this file,
  5
+# You can obtain one at http://mozilla.org/MPL/2.0/.
39 6
 
40 7
 import optparse
41 8
 import os
39  bin/capture-test.py
... ...
@@ -1,41 +1,8 @@
1 1
 #!/usr/bin/env python
2 2
 
3  
-# ***** BEGIN LICENSE BLOCK *****
4  
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
5  
-#
6  
-# The contents of this file are subject to the Mozilla Public License Version
7  
-# 1.1 (the "License"); you may not use this file except in compliance with
8  
-# the License. You may obtain a copy of the License at
9  
-# http://www.mozilla.org/MPL/
10  
-#
11  
-# Software distributed under the License is distributed on an "AS IS" basis,
12  
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13  
-# for the specific language governing rights and limitations under the
14  
-# License.
15  
-#
16  
-# The Original Code is Mozilla Eideticker.
17  
-#
18  
-# The Initial Developer of the Original Code is
19  
-# Mozilla foundation
20  
-# Portions created by the Initial Developer are Copyright (C) 2011
21  
-# the Initial Developer. All Rights Reserved.
22  
-#
23  
-# Contributor(s):
24  
-#   William Lachance <wlachance@mozilla.com>
25  
-#
26  
-# Alternatively, the contents of this file may be used under the terms of
27  
-# either the GNU General Public License Version 2 or later (the "GPL"), or
28  
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29  
-# in which case the provisions of the GPL or the LGPL are applicable instead
30  
-# of those above. If you wish to allow use of your version of this file only
31  
-# under the terms of either the GPL or the LGPL, and not to allow others to
32  
-# use your version of this file under the terms of the MPL, indicate your
33  
-# decision by deleting the provisions above and replace them with the notice
34  
-# and other provisions required by the GPL or the LGPL. If you do not delete
35  
-# the provisions above, a recipient may use your version of this file under
36  
-# the terms of any one of the MPL, the GPL or the LGPL.
37  
-#
38  
-# ***** END LICENSE BLOCK *****
  3
+# This Source Code Form is subject to the terms of the Mozilla Public
  4
+# License, v. 2.0. If a copy of the MPL was not distributed with this file,
  5
+# You can obtain one at http://mozilla.org/MPL/2.0/.
39 6
 
40 7
 import optparse
41 8
 import os
39  bin/runtest.py
... ...
@@ -1,41 +1,8 @@
1 1
 #!/usr/bin/env python
2 2
 
3  
-# ***** BEGIN LICENSE BLOCK *****
4  
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
5  
-#
6  
-# The contents of this file are subject to the Mozilla Public License Version
7  
-# 1.1 (the "License"); you may not use this file except in compliance with
8  
-# the License. You may obtain a copy of the License at
9  
-# http://www.mozilla.org/MPL/
10  
-#
11  
-# Software distributed under the License is distributed on an "AS IS" basis,
12  
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13  
-# for the specific language governing rights and limitations under the
14  
-# License.
15  
-#
16  
-# The Original Code is Mozilla Eideticker.
17  
-#
18  
-# The Initial Developer of the Original Code is
19  
-# Mozilla foundation
20  
-# Portions created by the Initial Developer are Copyright (C) 2011
21  
-# the Initial Developer. All Rights Reserved.
22  
-#
23  
-# Contributor(s):
24  
-#   William Lachance <wlachance@mozilla.com>
25  
-#
26  
-# Alternatively, the contents of this file may be used under the terms of
27  
-# either the GNU General Public License Version 2 or later (the "GPL"), or
28  
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29  
-# in which case the provisions of the GPL or the LGPL are applicable instead
30  
-# of those above. If you wish to allow use of your version of this file only
31  
-# under the terms of either the GPL or the LGPL, and not to allow others to
32  
-# use your version of this file under the terms of the MPL, indicate your
33  
-# decision by deleting the provisions above and replace them with the notice
34  
-# and other provisions required by the GPL or the LGPL. If you do not delete
35  
-# the provisions above, a recipient may use your version of this file under
36  
-# the terms of any one of the MPL, the GPL or the LGPL.
37  
-#
38  
-# ***** END LICENSE BLOCK *****
  3
+# This Source Code Form is subject to the terms of the Mozilla Public
  4
+# License, v. 2.0. If a copy of the MPL was not distributed with this file,
  5
+# You can obtain one at http://mozilla.org/MPL/2.0/.
39 6
 
40 7
 import datetime
41 8
 import json
39  bin/setup.py
... ...
@@ -1,41 +1,8 @@
1 1
 #!/usr/bin/env python
2 2
 
3  
-# ***** BEGIN LICENSE BLOCK *****
4  
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
5  
-#
6  
-# The contents of this file are subject to the Mozilla Public License Version
7  
-# 1.1 (the "License"); you may not use this file except in compliance with
8  
-# the License. You may obtain a copy of the License at
9  
-# http://www.mozilla.org/MPL/
10  
-#
11  
-# Software distributed under the License is distributed on an "AS IS" basis,
12  
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13  
-# for the specific language governing rights and limitations under the
14  
-# License.
15  
-#
16  
-# The Original Code is Mozilla Eideticker.
17  
-#
18  
-# The Initial Developer of the Original Code is
19  
-# Mozilla foundation
20  
-# Portions created by the Initial Developer are Copyright (C) 2011
21  
-# the Initial Developer. All Rights Reserved.
22  
-#
23  
-# Contributor(s):
24  
-#   William Lachance <wlachance@mozilla.com>
25  
-#
26  
-# Alternatively, the contents of this file may be used under the terms of
27  
-# either the GNU General Public License Version 2 or later (the "GPL"), or
28  
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29  
-# in which case the provisions of the GPL or the LGPL are applicable instead
30  
-# of those above. If you wish to allow use of your version of this file only
31  
-# under the terms of either the GPL or the LGPL, and not to allow others to
32  
-# use your version of this file under the terms of the MPL, indicate your
33  
-# decision by deleting the provisions above and replace them with the notice
34  
-# and other provisions required by the GPL or the LGPL. If you do not delete
35  
-# the provisions above, a recipient may use your version of this file under
36  
-# the terms of any one of the MPL, the GPL or the LGPL.
37  
-#
38  
-# ***** END LICENSE BLOCK *****
  3
+# This Source Code Form is subject to the terms of the Mozilla Public
  4
+# License, v. 2.0. If a copy of the MPL was not distributed with this file,
  5
+# You can obtain one at http://mozilla.org/MPL/2.0/.
39 6
 
40 7
 import optparse
41 8
 import os
39  src/videocapture/videocapture/capture.py
... ...
@@ -1,39 +1,6 @@
1  
-# ***** BEGIN LICENSE BLOCK *****
2  
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
3  
-#
4  
-# The contents of this file are subject to the Mozilla Public License Version
5  
-# 1.1 (the "License"); you may not use this file except in compliance with
6  
-# the License. You may obtain a copy of the License at
7  
-# http://www.mozilla.org/MPL/
8  
-#
9  
-# Software distributed under the License is distributed on an "AS IS" basis,
10  
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11  
-# for the specific language governing rights and limitations under the
12  
-# License.
13  
-#
14  
-# The Original Code is Mozilla Eideticker.
15  
-#
16  
-# The Initial Developer of the Original Code is
17  
-# Mozilla foundation
18  
-# Portions created by the Initial Developer are Copyright (C) 2011
19  
-# the Initial Developer. All Rights Reserved.
20  
-#
21  
-# Contributor(s):
22  
-#   William Lachance <wlachance@mozilla.com>
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
+# This Source Code Form is subject to the terms of the Mozilla Public
  2
+# License, v. 2.0. If a copy of the MPL was not distributed with this file,
  3
+# You can obtain one at http://mozilla.org/MPL/2.0/.
37 4
 
38 5
 from PIL import Image
39 6
 import StringIO
39  src/videocapture/videocapture/checkerboard.py
... ...
@@ -1,39 +1,6 @@
1  
-# ***** BEGIN LICENSE BLOCK *****
2  
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
3  
-#
4  
-# The contents of this file are subject to the Mozilla Public License Version
5  
-# 1.1 (the "License"); you may not use this file except in compliance with
6  
-# the License. You may obtain a copy of the License at
7  
-# http://www.mozilla.org/MPL/
8  
-#
9  
-# Software distributed under the License is distributed on an "AS IS" basis,
10  
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11  
-# for the specific language governing rights and limitations under the
12  
-# License.
13  
-#
14  
-# The Original Code is Mozilla Eideticker.
15  
-#
16  
-# The Initial Developer of the Original Code is
17  
-# Mozilla foundation
18  
-# Portions created by the Initial Developer are Copyright (C) 2011
19  
-# the Initial Developer. All Rights Reserved.
20  
-#
21  
-# Contributor(s):
22  
-#   William Lachance <wlachance@mozilla.com>
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
+# This Source Code Form is subject to the terms of the Mozilla Public
  2
+# License, v. 2.0. If a copy of the MPL was not distributed with this file,
  3
+# You can obtain one at http://mozilla.org/MPL/2.0/.
37 4
 
38 5
 from capture import *
39 6
 import numpy
40  src/videocapture/videocapture/controller.py
... ...
@@ -1,42 +1,8 @@
1 1
 #!/usr/bin/python
2 2
 
3  
-# ***** BEGIN LICENSE BLOCK *****
4  
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
5  
-#
6  
-# The contents of this file are subject to the Mozilla Public License Version
7  
-# 1.1 (the "License"); you may not use this file except in compliance with
8  
-# the License. You may obtain a copy of the License at
9  
-# http://www.mozilla.org/MPL/
10  
-#
11  
-# Software distributed under the License is distributed on an "AS IS" basis,
12  
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13  
-# for the specific language governing rights and limitations under the
14  
-# License.
15  
-#
16  
-# The Original Code is Eideticker.
17  
-#
18  
-# The Initial Developer of the Original Code is
19  
-# Mozilla Foundation.
20  
-# Portions created by the Initial Developer are Copyright (C) 2011
21  
-# the Initial Developer. All Rights Reserved.
22  
-#
23  
-# Contributor(s):
24  
-#   Mark Cote <mcote@mozilla.com>
25  
-#   William Lachance <wlachance@mozilla.com>
26  
-#
27  
-# Alternatively, the contents of this file may be used under the terms of
28  
-# either the GNU General Public License Version 2 or later (the "GPL"), or
29  
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
30  
-# in which case the provisions of the GPL or the LGPL are applicable instead
31  
-# of those above. If you wish to allow use of your version of this file only
32  
-# under the terms of either the GPL or the LGPL, and not to allow others to
33  
-# use your version of this file under the terms of the MPL, indicate your
34  
-# decision by deleting the provisions above and replace them with the notice
35  
-# and other provisions required by the GPL or the LGPL. If you do not delete
36  
-# the provisions above, a recipient may use your version of this file under
37  
-# the terms of any one of the MPL, the GPL or the LGPL.
38  
-#
39  
-# ***** END LICENSE BLOCK *****
  3
+# This Source Code Form is subject to the terms of the Mozilla Public
  4
+# License, v. 2.0. If a copy of the MPL was not distributed with this file,
  5
+# You can obtain one at http://mozilla.org/MPL/2.0/.
40 6
 
41 7
 import json
42 8
 import subprocess
39  src/videocapture/videocapture/framediff.py
... ...
@@ -1,39 +1,6 @@
1  
-# ***** BEGIN LICENSE BLOCK *****
2  
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
3  
-#
4  
-# The contents of this file are subject to the Mozilla Public License Version
5  
-# 1.1 (the "License"); you may not use this file except in compliance with
6  
-# the License. You may obtain a copy of the License at
7  
-# http://www.mozilla.org/MPL/
8  
-#
9  
-# Software distributed under the License is distributed on an "AS IS" basis,
10  
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11  
-# for the specific language governing rights and limitations under the
12  
-# License.
13  
-#
14  
-# The Original Code is Mozilla Eideticker.
15  
-#
16  
-# The Initial Developer of the Original Code is
17  
-# Mozilla foundation
18  
-# Portions created by the Initial Developer are Copyright (C) 2011
19  
-# the Initial Developer. All Rights Reserved.
20  
-#
21  
-# Contributor(s):
22  
-#   William Lachance <wlachance@mozilla.com>
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
+# This Source Code Form is subject to the terms of the Mozilla Public
  2
+# License, v. 2.0. If a copy of the MPL was not distributed with this file,
  3
+# You can obtain one at http://mozilla.org/MPL/2.0/.
37 4
 
38 5
 from capture import *
39 6
 import numpy
39  src/videocapture/videocapture/square.py
... ...
@@ -1,39 +1,6 @@
1  
-# ***** BEGIN LICENSE BLOCK *****
2  
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
3  
-#
4  
-# The contents of this file are subject to the Mozilla Public License Version
5  
-# 1.1 (the "License"); you may not use this file except in compliance with
6  
-# the License. You may obtain a copy of the License at
7  
-# http://www.mozilla.org/MPL/
8  
-#
9  
-# Software distributed under the License is distributed on an "AS IS" basis,
10  
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11  
-# for the specific language governing rights and limitations under the
12  
-# License.
13  
-#
14  
-# The Original Code is Mozilla Eideticker.
15  
-#
16  
-# The Initial Developer of the Original Code is
17  
-# Mozilla foundation
18  
-# Portions created by the Initial Developer are Copyright (C) 2012
19  
-# the Initial Developer. All Rights Reserved.
20  
-#
21  
-# Contributor(s):
22  
-#   William Lachance <wlachance@mozilla.com>
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
+# This Source Code Form is subject to the terms of the Mozilla Public
  2
+# License, v. 2.0. If a copy of the MPL was not distributed with this file,
  3
+# You can obtain one at http://mozilla.org/MPL/2.0/.
37 4
 
38 5
 import numpy
39 6
 

0 notes on commit 9456933

Please sign in to comment.
Something went wrong with that request. Please try again.