From 8d2f296cfdbc7e457973c21c5e92ebc93e5c4cc3 Mon Sep 17 00:00:00 2001 From: "markh%activestate.com" Date: Mon, 19 Feb 2001 08:31:46 +0000 Subject: [PATCH] Update the way the license is expressed and minor makefile mods. Still not building pending a decision on bug 66610. git-svn-id: svn://10.0.0.236/trunk@87343 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/python/xpcom/__init__.py | 18 ++++++++++-- .../python/xpcom/client/__init__.py | 18 ++++++++++-- mozilla/extensions/python/xpcom/components.py | 18 ++++++++++-- mozilla/extensions/python/xpcom/file.py | 18 ++++++++++-- .../python/xpcom/makefile.stupid.linux | 24 ++++++++++++---- .../python/xpcom/makefile.stupid.win | 28 ++++++++++++++----- mozilla/extensions/python/xpcom/nsError.py | 18 ++++++++++-- mozilla/extensions/python/xpcom/register.py | 18 ++++++++++-- .../python/xpcom/server/__init__.py | 18 ++++++++++-- .../python/xpcom/server/enumerator.py | 18 ++++++++++-- .../extensions/python/xpcom/server/factory.py | 18 ++++++++++-- .../extensions/python/xpcom/server/loader.py | 18 ++++++++++-- .../extensions/python/xpcom/server/module.py | 18 ++++++++++-- .../extensions/python/xpcom/server/policy.py | 18 ++++++++++-- .../python/xpcom/src/ErrorUtils.cpp | 20 +++++++++++-- .../extensions/python/xpcom/src/PyGBase.cpp | 20 +++++++++++-- .../python/xpcom/src/PyGInputStream.cpp | 20 +++++++++++-- .../extensions/python/xpcom/src/PyGModule.cpp | 20 +++++++++++-- .../extensions/python/xpcom/src/PyGStub.cpp | 20 +++++++++++-- .../python/xpcom/src/PyGWeakReference.cpp | 20 +++++++++++-- .../python/xpcom/src/PyIComponentManager.cpp | 20 +++++++++++-- .../python/xpcom/src/PyIEnumerator.cpp | 20 +++++++++++-- mozilla/extensions/python/xpcom/src/PyIID.cpp | 20 +++++++++++-- .../python/xpcom/src/PyIInputStream.cpp | 20 +++++++++++-- .../python/xpcom/src/PyIInterfaceInfo.cpp | 20 +++++++++++-- .../xpcom/src/PyIInterfaceInfoManager.cpp | 21 ++++++++++++-- .../python/xpcom/src/PyIServiceManager.cpp | 20 +++++++++++-- .../python/xpcom/src/PyISimpleEnumerator.cpp | 20 +++++++++++-- .../python/xpcom/src/PyISupports.cpp | 20 +++++++++++-- mozilla/extensions/python/xpcom/src/PyXPCOM.h | 20 +++++++++++-- .../extensions/python/xpcom/src/PyXPCOM_std.h | 20 +++++++++++-- .../python/xpcom/src/Pyxpt_info.cpp | 20 +++++++++++-- .../python/xpcom/src/TypeObject.cpp | 20 +++++++++++-- .../python/xpcom/src/VariantUtils.cpp | 20 +++++++++++-- .../extensions/python/xpcom/src/dllmain.cpp | 20 +++++++++++-- .../python/xpcom/src/loader/pyloader.cpp | 20 +++++++++++-- mozilla/extensions/python/xpcom/src/xpcom.cpp | 20 +++++++++++-- .../extensions/python/xpcom/test/regrtest.py | 18 ++++++++++-- .../python/xpcom/test/test_com_exceptions.py | 18 ++++++++++-- .../python/xpcom/test/test_comfile.py | 18 ++++++++++-- .../test/test_component/py_test_component.idl | 20 +++++++++++-- .../test/test_component/py_test_component.py | 18 ++++++++++-- .../python/xpcom/test/test_components.py | 18 ++++++++++-- .../xpcom/test/test_isupports_primitives.py | 18 ++++++++++-- .../extensions/python/xpcom/test/test_misc.py | 18 ++++++++++-- .../python/xpcom/test/test_streams.py | 18 ++++++++++-- .../python/xpcom/test/test_test_component.js | 19 +++++++++++++ .../python/xpcom/test/test_test_component.py | 18 ++++++++++-- .../python/xpcom/test/test_weakreferences.py | 18 ++++++++++-- .../extensions/python/xpcom/tools/regxpcom.py | 18 ++++++++++-- .../python/xpcom/tools/tracer_demo.py | 18 ++++++++++-- .../extensions/python/xpcom/xpcom_consts.py | 18 ++++++++++-- mozilla/extensions/python/xpcom/xpt.py | 19 +++++++++++-- 53 files changed, 909 insertions(+), 112 deletions(-) diff --git a/mozilla/extensions/python/xpcom/__init__.py b/mozilla/extensions/python/xpcom/__init__.py index a418c8e40f9..c3b39a7efa8 100644 --- a/mozilla/extensions/python/xpcom/__init__.py +++ b/mozilla/extensions/python/xpcom/__init__.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# # The XPCOM (Cross Platform COM) package. import exceptions diff --git a/mozilla/extensions/python/xpcom/client/__init__.py b/mozilla/extensions/python/xpcom/client/__init__.py index 98ca1c1350a..b54d5c7eb7b 100644 --- a/mozilla/extensions/python/xpcom/client/__init__.py +++ b/mozilla/extensions/python/xpcom/client/__init__.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# import os import new diff --git a/mozilla/extensions/python/xpcom/components.py b/mozilla/extensions/python/xpcom/components.py index 8f95e6f24c4..1144305316a 100644 --- a/mozilla/extensions/python/xpcom/components.py +++ b/mozilla/extensions/python/xpcom/components.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# # This module provides the JavaScript "components" interface import xpt diff --git a/mozilla/extensions/python/xpcom/file.py b/mozilla/extensions/python/xpcom/file.py index c45e3f8f45b..984f882ce40 100644 --- a/mozilla/extensions/python/xpcom/file.py +++ b/mozilla/extensions/python/xpcom/file.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# """Implementation of Python file objects for Mozilla/xpcom. diff --git a/mozilla/extensions/python/xpcom/makefile.stupid.linux b/mozilla/extensions/python/xpcom/makefile.stupid.linux index ca9f1ce29e8..824a6372f71 100644 --- a/mozilla/extensions/python/xpcom/makefile.stupid.linux +++ b/mozilla/extensions/python/xpcom/makefile.stupid.linux @@ -1,5 +1,20 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Trent Mick (original author) +# Mark Hammond +# # Dumb makefile to build PyXPCOM on linux # @@ -23,15 +38,14 @@ # MOZ_SRC, INSTALLDIR, and PYTHON_SRC # =========== START OF SECTION FOR COMMON EDITS ===================== -# We expect a "mozilla" directory under this -MOZ_SRC=/home/skip/src - # this will have an "xpcom" subdir on install INSTALLDIR=/usr/local/ActivePython-2.0/lib/python2.0/site-packages PYTHON_SRC=/usr/local/ActivePython-2.0 # =========== START OF SECTION FOR COMMON EDITS ===================== +# We expect a "mozilla" directory under this +MOZ_SRC=../../../../.. MOZCOMPONENTSDIR=$(MOZ_SRC)/mozilla/dist/bin/components MOZINCLUDES=-I$(MOZ_SRC)/mozilla/dist/include diff --git a/mozilla/extensions/python/xpcom/makefile.stupid.win b/mozilla/extensions/python/xpcom/makefile.stupid.win index e791b59cea8..10194ea06b2 100644 --- a/mozilla/extensions/python/xpcom/makefile.stupid.win +++ b/mozilla/extensions/python/xpcom/makefile.stupid.win @@ -1,5 +1,20 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Trent Mick (original author) +# Mark Hammond +# # Dumb makefile to build PyXPCOM on Windows # @@ -16,12 +31,9 @@ #---------------------------------------------------------------------------- # You must edit the variables in this section as appropriate for your machine # The most common edits will just be: -# MOZ_SRC, INSTALLDIR, and PYTHON_SRC +# INSTALLDIR, and PYTHON_SRC # ========= START OF SECTION FOR COMMON EDITS ============== -# We expect a "mozilla" directory under this -MOZ_SRC=c:\src - # this will have an "xpcom" subdir on install INSTALLDIR=C:\Python20 @@ -30,6 +42,8 @@ PYTHON_SRC=C:\Python20 # ========= END OF SECTION FOR COMMON EDITS ============== +# We expect a "mozilla" directory under this +MOZ_SRC=..\..\..\..\.. !IF DEFINED(DEBUG) MOZ_BUILD_DIR=$(MOZ_SRC)\mozilla\dist\WIN32_D.OBJ @@ -47,7 +61,7 @@ MOZLIBS=/LIBPATH:$(MOZ_BUILD_DIR)\lib # - To use the development Python dir structure some changes are # necessary here *and* below (below, because there two lib dir # to include in LDFLAGS for the dev dir structure) -PYTHONINCLUDES=/I$(PYTHON_SRC)\include +PYTHONINCLUDES=/I$(PYTHON_SRC)\include /I$(PYTHON_SRC)\PC PYTHONLIBS=/LIBPATH:$(PYTHON_SRC)\libs MOZ_BIN=$(MOZ_BUILD_DIR)\bin diff --git a/mozilla/extensions/python/xpcom/nsError.py b/mozilla/extensions/python/xpcom/nsError.py index 02f5e088bcf..936f93f4a5f 100644 --- a/mozilla/extensions/python/xpcom/nsError.py +++ b/mozilla/extensions/python/xpcom/nsError.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# # Generated by h2py from nsError.h # CMD line: h2py.py -i (nsresult) nsError.h diff --git a/mozilla/extensions/python/xpcom/register.py b/mozilla/extensions/python/xpcom/register.py index 53f1e411b69..97c6987624d 100644 --- a/mozilla/extensions/python/xpcom/register.py +++ b/mozilla/extensions/python/xpcom/register.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# import os, sys diff --git a/mozilla/extensions/python/xpcom/server/__init__.py b/mozilla/extensions/python/xpcom/server/__init__.py index 475ad0687e1..c075675726f 100644 --- a/mozilla/extensions/python/xpcom/server/__init__.py +++ b/mozilla/extensions/python/xpcom/server/__init__.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# # The xpcom.server package. diff --git a/mozilla/extensions/python/xpcom/server/enumerator.py b/mozilla/extensions/python/xpcom/server/enumerator.py index 97baed26d05..68442e34374 100644 --- a/mozilla/extensions/python/xpcom/server/enumerator.py +++ b/mozilla/extensions/python/xpcom/server/enumerator.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# from xpcom import components diff --git a/mozilla/extensions/python/xpcom/server/factory.py b/mozilla/extensions/python/xpcom/server/factory.py index f48d60696a5..b732b18a8e6 100644 --- a/mozilla/extensions/python/xpcom/server/factory.py +++ b/mozilla/extensions/python/xpcom/server/factory.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# # Class factory # diff --git a/mozilla/extensions/python/xpcom/server/loader.py b/mozilla/extensions/python/xpcom/server/loader.py index a6f109587ba..eab1bd1a108 100644 --- a/mozilla/extensions/python/xpcom/server/loader.py +++ b/mozilla/extensions/python/xpcom/server/loader.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# import xpcom from xpcom import components diff --git a/mozilla/extensions/python/xpcom/server/module.py b/mozilla/extensions/python/xpcom/server/module.py index ee3f24d57bc..01ad7496912 100644 --- a/mozilla/extensions/python/xpcom/server/module.py +++ b/mozilla/extensions/python/xpcom/server/module.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# from xpcom import components from xpcom import ServerException, Exception diff --git a/mozilla/extensions/python/xpcom/server/policy.py b/mozilla/extensions/python/xpcom/server/policy.py index 3986fd37d78..9478a9c0ff4 100644 --- a/mozilla/extensions/python/xpcom/server/policy.py +++ b/mozilla/extensions/python/xpcom/server/policy.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# from xpcom import xpcom_consts, _xpcom, client, nsError, ServerException, COMException import xpcom diff --git a/mozilla/extensions/python/xpcom/src/ErrorUtils.cpp b/mozilla/extensions/python/xpcom/src/ErrorUtils.cpp index d2135b61f1a..705b60feecd 100644 --- a/mozilla/extensions/python/xpcom/src/ErrorUtils.cpp +++ b/mozilla/extensions/python/xpcom/src/ErrorUtils.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // // This code is part of the XPCOM extensions for Python. diff --git a/mozilla/extensions/python/xpcom/src/PyGBase.cpp b/mozilla/extensions/python/xpcom/src/PyGBase.cpp index cf47e00faa9..cfea27907a3 100644 --- a/mozilla/extensions/python/xpcom/src/PyGBase.cpp +++ b/mozilla/extensions/python/xpcom/src/PyGBase.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // PyGBase.cpp - implementation of the PyG_Base class // diff --git a/mozilla/extensions/python/xpcom/src/PyGInputStream.cpp b/mozilla/extensions/python/xpcom/src/PyGInputStream.cpp index b366464974c..ecf8fd6455b 100644 --- a/mozilla/extensions/python/xpcom/src/PyGInputStream.cpp +++ b/mozilla/extensions/python/xpcom/src/PyGInputStream.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // PyGInputStream.cpp // diff --git a/mozilla/extensions/python/xpcom/src/PyGModule.cpp b/mozilla/extensions/python/xpcom/src/PyGModule.cpp index be6d7d06e60..04688ac436a 100644 --- a/mozilla/extensions/python/xpcom/src/PyGModule.cpp +++ b/mozilla/extensions/python/xpcom/src/PyGModule.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // // This code is part of the XPCOM extensions for Python. diff --git a/mozilla/extensions/python/xpcom/src/PyGStub.cpp b/mozilla/extensions/python/xpcom/src/PyGStub.cpp index 65dae702a42..b04d6dd34d5 100644 --- a/mozilla/extensions/python/xpcom/src/PyGStub.cpp +++ b/mozilla/extensions/python/xpcom/src/PyGStub.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // PyXPTStub - the stub for implementing interfaces. // diff --git a/mozilla/extensions/python/xpcom/src/PyGWeakReference.cpp b/mozilla/extensions/python/xpcom/src/PyGWeakReference.cpp index 78227c78578..aebcc0ecb9c 100644 --- a/mozilla/extensions/python/xpcom/src/PyGWeakReference.cpp +++ b/mozilla/extensions/python/xpcom/src/PyGWeakReference.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // PyGWeakReference - implements weak references for gateways. // diff --git a/mozilla/extensions/python/xpcom/src/PyIComponentManager.cpp b/mozilla/extensions/python/xpcom/src/PyIComponentManager.cpp index 14246aa3eed..022ca8605fb 100644 --- a/mozilla/extensions/python/xpcom/src/PyIComponentManager.cpp +++ b/mozilla/extensions/python/xpcom/src/PyIComponentManager.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // // This code is part of the XPCOM extensions for Python. diff --git a/mozilla/extensions/python/xpcom/src/PyIEnumerator.cpp b/mozilla/extensions/python/xpcom/src/PyIEnumerator.cpp index e2f428c394e..ca8ba222b9e 100644 --- a/mozilla/extensions/python/xpcom/src/PyIEnumerator.cpp +++ b/mozilla/extensions/python/xpcom/src/PyIEnumerator.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // // This code is part of the XPCOM extensions for Python. diff --git a/mozilla/extensions/python/xpcom/src/PyIID.cpp b/mozilla/extensions/python/xpcom/src/PyIID.cpp index 5cc443e4461..8ef8a85df64 100644 --- a/mozilla/extensions/python/xpcom/src/PyIID.cpp +++ b/mozilla/extensions/python/xpcom/src/PyIID.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // Py_nsIID.cpp -- IID type for Python/XPCOM // diff --git a/mozilla/extensions/python/xpcom/src/PyIInputStream.cpp b/mozilla/extensions/python/xpcom/src/PyIInputStream.cpp index 323ebcaa87b..bbc9024c453 100644 --- a/mozilla/extensions/python/xpcom/src/PyIInputStream.cpp +++ b/mozilla/extensions/python/xpcom/src/PyIInputStream.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // // This code is part of the XPCOM extensions for Python. diff --git a/mozilla/extensions/python/xpcom/src/PyIInterfaceInfo.cpp b/mozilla/extensions/python/xpcom/src/PyIInterfaceInfo.cpp index a82df7754a1..c204d884cb1 100644 --- a/mozilla/extensions/python/xpcom/src/PyIInterfaceInfo.cpp +++ b/mozilla/extensions/python/xpcom/src/PyIInterfaceInfo.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // // This code is part of the XPCOM extensions for Python. diff --git a/mozilla/extensions/python/xpcom/src/PyIInterfaceInfoManager.cpp b/mozilla/extensions/python/xpcom/src/PyIInterfaceInfoManager.cpp index 3ffc4c03a98..f9c462c3f0d 100644 --- a/mozilla/extensions/python/xpcom/src/PyIInterfaceInfoManager.cpp +++ b/mozilla/extensions/python/xpcom/src/PyIInterfaceInfoManager.cpp @@ -1,5 +1,22 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ + // // This code is part of the XPCOM extensions for Python. diff --git a/mozilla/extensions/python/xpcom/src/PyIServiceManager.cpp b/mozilla/extensions/python/xpcom/src/PyIServiceManager.cpp index 0fbe2746d2c..3cbcf92b996 100644 --- a/mozilla/extensions/python/xpcom/src/PyIServiceManager.cpp +++ b/mozilla/extensions/python/xpcom/src/PyIServiceManager.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // // This code is part of the XPCOM extensions for Python. diff --git a/mozilla/extensions/python/xpcom/src/PyISimpleEnumerator.cpp b/mozilla/extensions/python/xpcom/src/PyISimpleEnumerator.cpp index 00446a32359..3894507802b 100644 --- a/mozilla/extensions/python/xpcom/src/PyISimpleEnumerator.cpp +++ b/mozilla/extensions/python/xpcom/src/PyISimpleEnumerator.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // // This code is part of the XPCOM extensions for Python. diff --git a/mozilla/extensions/python/xpcom/src/PyISupports.cpp b/mozilla/extensions/python/xpcom/src/PyISupports.cpp index 75da99c8831..9029d12712f 100644 --- a/mozilla/extensions/python/xpcom/src/PyISupports.cpp +++ b/mozilla/extensions/python/xpcom/src/PyISupports.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // // This code is part of the XPCOM extensions for Python. diff --git a/mozilla/extensions/python/xpcom/src/PyXPCOM.h b/mozilla/extensions/python/xpcom/src/PyXPCOM.h index 026cbc516f8..dc2786c55e8 100644 --- a/mozilla/extensions/python/xpcom/src/PyXPCOM.h +++ b/mozilla/extensions/python/xpcom/src/PyXPCOM.h @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // PyXPCOM.h - the main header file for the Python XPCOM support. // diff --git a/mozilla/extensions/python/xpcom/src/PyXPCOM_std.h b/mozilla/extensions/python/xpcom/src/PyXPCOM_std.h index dc063eb10d8..651ee4bed8d 100644 --- a/mozilla/extensions/python/xpcom/src/PyXPCOM_std.h +++ b/mozilla/extensions/python/xpcom/src/PyXPCOM_std.h @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // standard include - sets up all the defines used by // the mozilla make process - too lazy to work out how to integrate diff --git a/mozilla/extensions/python/xpcom/src/Pyxpt_info.cpp b/mozilla/extensions/python/xpcom/src/Pyxpt_info.cpp index bf6509c0a58..769eab51817 100644 --- a/mozilla/extensions/python/xpcom/src/Pyxpt_info.cpp +++ b/mozilla/extensions/python/xpcom/src/Pyxpt_info.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // Pyxpt_info.cpp - wrappers for the xpt_info objects. // diff --git a/mozilla/extensions/python/xpcom/src/TypeObject.cpp b/mozilla/extensions/python/xpcom/src/TypeObject.cpp index bf8ced9bcdf..da8e1419492 100644 --- a/mozilla/extensions/python/xpcom/src/TypeObject.cpp +++ b/mozilla/extensions/python/xpcom/src/TypeObject.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // // This code is part of the XPCOM extensions for Python. diff --git a/mozilla/extensions/python/xpcom/src/VariantUtils.cpp b/mozilla/extensions/python/xpcom/src/VariantUtils.cpp index 8e6f34df541..59f56d82073 100644 --- a/mozilla/extensions/python/xpcom/src/VariantUtils.cpp +++ b/mozilla/extensions/python/xpcom/src/VariantUtils.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // // This code is part of the XPCOM extensions for Python. diff --git a/mozilla/extensions/python/xpcom/src/dllmain.cpp b/mozilla/extensions/python/xpcom/src/dllmain.cpp index 147b01b0e93..44def06654e 100644 --- a/mozilla/extensions/python/xpcom/src/dllmain.cpp +++ b/mozilla/extensions/python/xpcom/src/dllmain.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // // This code is part of the XPCOM extensions for Python. diff --git a/mozilla/extensions/python/xpcom/src/loader/pyloader.cpp b/mozilla/extensions/python/xpcom/src/loader/pyloader.cpp index e8477f2cd15..679773c0d6d 100644 --- a/mozilla/extensions/python/xpcom/src/loader/pyloader.cpp +++ b/mozilla/extensions/python/xpcom/src/loader/pyloader.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // pyloader // diff --git a/mozilla/extensions/python/xpcom/src/xpcom.cpp b/mozilla/extensions/python/xpcom/src/xpcom.cpp index 70629e4a510..2097bba7562 100644 --- a/mozilla/extensions/python/xpcom/src/xpcom.cpp +++ b/mozilla/extensions/python/xpcom/src/xpcom.cpp @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // // This code is part of the XPCOM extensions for Python. diff --git a/mozilla/extensions/python/xpcom/test/regrtest.py b/mozilla/extensions/python/xpcom/test/regrtest.py index a16a900ebfe..6cddafcf7db 100644 --- a/mozilla/extensions/python/xpcom/test/regrtest.py +++ b/mozilla/extensions/python/xpcom/test/regrtest.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# # regrtest.py # diff --git a/mozilla/extensions/python/xpcom/test/test_com_exceptions.py b/mozilla/extensions/python/xpcom/test/test_com_exceptions.py index dc0d2c52a96..650d92bbf3b 100644 --- a/mozilla/extensions/python/xpcom/test/test_com_exceptions.py +++ b/mozilla/extensions/python/xpcom/test/test_com_exceptions.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# # Test pyxpcom exception. diff --git a/mozilla/extensions/python/xpcom/test/test_comfile.py b/mozilla/extensions/python/xpcom/test/test_comfile.py index e78c33d6bbd..9e5fa0542be 100644 --- a/mozilla/extensions/python/xpcom/test/test_comfile.py +++ b/mozilla/extensions/python/xpcom/test/test_comfile.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# """Test the xpcom.file module.""" # Called "test_comfile" as Python has a standard test called test_file :-( diff --git a/mozilla/extensions/python/xpcom/test/test_component/py_test_component.idl b/mozilla/extensions/python/xpcom/test/test_component/py_test_component.idl index 9597b730044..0196d8ef302 100644 --- a/mozilla/extensions/python/xpcom/test/test_component/py_test_component.idl +++ b/mozilla/extensions/python/xpcom/test/test_component/py_test_component.idl @@ -1,5 +1,21 @@ -/* Copyright (c) 2000-2001 ActiveState Tool Corporation. - See the file LICENSE.txt for licensing information. */ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ // NOTE: This is a TEST interface, not a DEMO interface :-) // We try to get as many data-types etc exposed, meaning this diff --git a/mozilla/extensions/python/xpcom/test/test_component/py_test_component.py b/mozilla/extensions/python/xpcom/test/test_component/py_test_component.py index 288fdcdca38..ba49702cb8a 100644 --- a/mozilla/extensions/python/xpcom/test/test_component/py_test_component.py +++ b/mozilla/extensions/python/xpcom/test/test_component/py_test_component.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# # NOTE: This is a TEST interface, not a DEMO interface :-) # We try to get as many data-types etc exposed, meaning this diff --git a/mozilla/extensions/python/xpcom/test/test_components.py b/mozilla/extensions/python/xpcom/test/test_components.py index af95b5e451b..5e6e7935b6e 100644 --- a/mozilla/extensions/python/xpcom/test/test_components.py +++ b/mozilla/extensions/python/xpcom/test/test_components.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# """Tests the "xpcom.components" object. """ diff --git a/mozilla/extensions/python/xpcom/test/test_isupports_primitives.py b/mozilla/extensions/python/xpcom/test/test_isupports_primitives.py index 92a005346b1..4fa15c92f48 100644 --- a/mozilla/extensions/python/xpcom/test/test_isupports_primitives.py +++ b/mozilla/extensions/python/xpcom/test/test_isupports_primitives.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# # Test our support for the interfaces defined in nsISupportsPrimitives.idl # diff --git a/mozilla/extensions/python/xpcom/test/test_misc.py b/mozilla/extensions/python/xpcom/test/test_misc.py index 89e812e255d..0952e8c418d 100644 --- a/mozilla/extensions/python/xpcom/test/test_misc.py +++ b/mozilla/extensions/python/xpcom/test/test_misc.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# import xpcom import xpcom.client diff --git a/mozilla/extensions/python/xpcom/test/test_streams.py b/mozilla/extensions/python/xpcom/test/test_streams.py index 65700516a74..76e02ca1ef7 100644 --- a/mozilla/extensions/python/xpcom/test/test_streams.py +++ b/mozilla/extensions/python/xpcom/test/test_streams.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# import xpcom from xpcom import _xpcom, components, COMException, ServerException, nsError diff --git a/mozilla/extensions/python/xpcom/test/test_test_component.js b/mozilla/extensions/python/xpcom/test/test_test_component.js index e8c3a016295..3018f90a457 100644 --- a/mozilla/extensions/python/xpcom/test/test_test_component.js +++ b/mozilla/extensions/python/xpcom/test/test_test_component.js @@ -1,3 +1,22 @@ +/* + * 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 Python XPCOM language bindings. + * + * The Initial Developer of the Original Code is ActiveState Tool Corp. + * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 + * ActiveState Tool Corp. All Rights Reserved. + * + * Contributor(s): Mark Hammond (original author) + * + */ + /* Javascript code calling the Python test interface. */ function MakeTestInterface() diff --git a/mozilla/extensions/python/xpcom/test/test_test_component.py b/mozilla/extensions/python/xpcom/test/test_test_component.py index 02824866f8c..9e7767a9885 100644 --- a/mozilla/extensions/python/xpcom/test/test_test_component.py +++ b/mozilla/extensions/python/xpcom/test/test_test_component.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# import sys, os import xpcom.components diff --git a/mozilla/extensions/python/xpcom/test/test_weakreferences.py b/mozilla/extensions/python/xpcom/test/test_weakreferences.py index 9a65034e618..db0523ef695 100644 --- a/mozilla/extensions/python/xpcom/test/test_weakreferences.py +++ b/mozilla/extensions/python/xpcom/test/test_weakreferences.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# # test_weakreferences.py - Test our weak reference implementation. from xpcom import components, _xpcom diff --git a/mozilla/extensions/python/xpcom/tools/regxpcom.py b/mozilla/extensions/python/xpcom/tools/regxpcom.py index e27bd07400c..d8289385c96 100644 --- a/mozilla/extensions/python/xpcom/tools/regxpcom.py +++ b/mozilla/extensions/python/xpcom/tools/regxpcom.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# # regxpcom.py - basically the standard regxpcom.cpp ported to Python. diff --git a/mozilla/extensions/python/xpcom/tools/tracer_demo.py b/mozilla/extensions/python/xpcom/tools/tracer_demo.py index 9e1eb574404..9a0552d00a9 100644 --- a/mozilla/extensions/python/xpcom/tools/tracer_demo.py +++ b/mozilla/extensions/python/xpcom/tools/tracer_demo.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# # This is a demo is how to use the xpcom.server "tracer" facility. # diff --git a/mozilla/extensions/python/xpcom/xpcom_consts.py b/mozilla/extensions/python/xpcom/xpcom_consts.py index 75a075ed652..c45534aadad 100644 --- a/mozilla/extensions/python/xpcom/xpcom_consts.py +++ b/mozilla/extensions/python/xpcom/xpcom_consts.py @@ -1,5 +1,19 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): Mark Hammond (original author) +# # Could maybe later have a process that extracted these enums should they change. # from nsFileLocations.h diff --git a/mozilla/extensions/python/xpcom/xpt.py b/mozilla/extensions/python/xpcom/xpt.py index bc5f0bbc68c..e33d1809cad 100644 --- a/mozilla/extensions/python/xpcom/xpt.py +++ b/mozilla/extensions/python/xpcom/xpt.py @@ -1,5 +1,20 @@ -# Copyright (c) 2000-2001 ActiveState Tool Corporation. -# See the file LICENSE.txt for licensing information. +# 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 Python XPCOM language bindings. +# +# The Initial Developer of the Original Code is ActiveState Tool Corp. +# Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 +# ActiveState Tool Corp. All Rights Reserved. +# +# Contributor(s): David Ascher (original author) +# Mark Hammond +# """ Program: xpt.py