[mousetrap] Updated the license header on each source file



commit ab1a8f7721fee58ff1f3044adb7b35b1fb4ae0fd
Author: Flavio Percoco Premoli <flaper87 gmail com>
Date:   Sun May 10 20:33:24 2009 +0200

    Updated the license header on each source file
---
 src/mousetrap/__init__.py            |   24 ++++++++++++++++++++
 src/mousetrap/environment.py.in      |   26 ++++++++++------------
 src/mousetrap/lib/__init__.py        |   25 +++++++++++++++++++++
 src/mousetrap/lib/dbusd.py           |   17 +++++++-------
 src/mousetrap/lib/httpd.py           |   17 +++++++-------
 src/mousetrap/lib/mouse.py           |   19 +++++++--------
 src/mousetrap/lib/settings.py        |   15 ++++++-------
 src/mousetrap/mousetrap.in           |   17 +++++++-------
 src/mousetrap/mousetrap.py           |   23 +++++++++++++-------
 src/mousetrap/ui/__init__.py         |   24 ++++++++++++++++++++
 src/mousetrap/ui/dialogs.py          |   11 ++++-----
 src/mousetrap/ui/i18n.py.in          |   17 +++++++++-----
 src/mousetrap/ui/main.py             |   15 ++++++-------
 src/mousetrap/ui/scripts/__init__.py |   25 +++++++++++++++++++++
 src/mousetrap/ui/scripts/screen.py   |   17 +++++++-------
 src/mousetrap/ui/settings_gui.py     |   15 ++++++-------
 src/mousetrap/ui/widgets.py          |   15 ++++++-------
 src/ocvfw/__init__.py                |   25 +++++++++++++++++++++
 src/ocvfw/_ocv.py                    |   21 ++++++++---------
 src/ocvfw/commons.py                 |   21 ++++++++---------
 src/ocvfw/debug.py                   |   39 ++++++++++++++++-----------------
 src/ocvfw/dev/__init__.py            |   25 +++++++++++++++++++++
 src/ocvfw/dev/camera.py              |   21 ++++++++---------
 src/ocvfw/idm/__init__.py            |   21 ++++++++---------
 src/ocvfw/idm/forehead.py            |   21 ++++++++---------
 src/ocvfw/pocv.py                    |   21 ++++++++---------
 26 files changed, 339 insertions(+), 198 deletions(-)

diff --git a/src/mousetrap/__init__.py b/src/mousetrap/__init__.py
index 8b13789..7e8b8d7 100644
--- a/src/mousetrap/__init__.py
+++ b/src/mousetrap/__init__.py
@@ -1 +1,25 @@
+# -*- coding: utf-8 -*-
 
+# MouseTrap
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of mouseTrap.
+#
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
+#
+# mouseTrap is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__   = "GPLv2"
diff --git a/src/mousetrap/environment.py.in b/src/mousetrap/environment.py.in
index ac6237c..1cc7eb6 100644
--- a/src/mousetrap/environment.py.in
+++ b/src/mousetrap/environment.py.in
@@ -1,24 +1,22 @@
-
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# MouseTrap
+#
+# Copyright 2009 Flavio Percoco Premoli
 #
-# Copyright 2008 Flavio Percoco Premoli
+# This file is part of mouseTrap.
 #
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Library General Public
-# License as published by the Free Software Foundation; either
-# version 2 of the License, or (at your option) any later version.
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
-# This library is distributed in the hope that it will be useful,
+# mouseTrap is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Library General Public License for more details.
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
 #
-# You should have received a copy of the GNU Library General Public
-# License along with this library; if not, write to the
-# Free Software Foundation, Inc., Franklin Street, Fifth Floor,
-# Boston MA  02110-1301 USA.
+# You should have received a copy of the GNU General Public License
+# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
 
 """ Holds mouseTrap internal information. """
 
diff --git a/src/mousetrap/lib/__init__.py b/src/mousetrap/lib/__init__.py
index e69de29..7e8b8d7 100644
--- a/src/mousetrap/lib/__init__.py
+++ b/src/mousetrap/lib/__init__.py
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+
+# MouseTrap
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of mouseTrap.
+#
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
+#
+# mouseTrap is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__   = "GPLv2"
diff --git a/src/mousetrap/lib/dbusd.py b/src/mousetrap/lib/dbusd.py
index 1cc699a..ee548a5 100755
--- a/src/mousetrap/lib/dbusd.py
+++ b/src/mousetrap/lib/dbusd.py
@@ -1,15 +1,14 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# MouseTrap
 #
-# Copyright 2008 Flavio Percoco Premoli
+# Copyright 2009 Flavio Percoco Premoli
 #
 # This file is part of mouseTrap.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
 # mouseTrap is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -23,9 +22,9 @@
 
 """ Exposes mouseTrap as a DBus service for comunication purposes. """
 
-__id__        = "$Id: dbusd.py 29 2009-03-31 12:06:44Z flaper $"
-__version__   = "$Revision: 29 $"
-__date__      = "$Date: 2009-03-31 14:06:44 +0200 (mar 31 de mar de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
diff --git a/src/mousetrap/lib/httpd.py b/src/mousetrap/lib/httpd.py
index a2df198..0a07fc8 100644
--- a/src/mousetrap/lib/httpd.py
+++ b/src/mousetrap/lib/httpd.py
@@ -1,15 +1,14 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# MouseTrap
 #
-# Copyright 2008 Flavio Percoco Premoli
+# Copyright 2009 Flavio Percoco Premoli
 #
 # This file is part of mouseTrap.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
 # mouseTrap is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -23,9 +22,9 @@
 
 """The Server module of mouseTrap."""
 
-__id__        = "$Id: httpd.py 29 2009-03-31 12:06:44Z flaper $"
-__version__   = "$Revision: 29 $"
-__date__      = "$Date: 2009-03-31 14:06:44 +0200 (mar 31 de mar de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
diff --git a/src/mousetrap/lib/mouse.py b/src/mousetrap/lib/mouse.py
index 1a43f18..d819008 100644
--- a/src/mousetrap/lib/mouse.py
+++ b/src/mousetrap/lib/mouse.py
@@ -1,19 +1,18 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# MouseTrap
 #
-# Copyright 2008 Flavio Percoco Premoli
+# Copyright 2009 Flavio Percoco Premoli
 #
 # This file is part of mouseTrap.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
 # mouseTrap is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\  See the
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
@@ -21,9 +20,9 @@
 
 """The mouse events handler."""
 
-__id__        = "$Id: mouse.py 21 2009-02-22 18:24:52Z flaper $"
-__version__   = "$Revision: 21 $"
-__date__      = "$Date: 2009-02-22 19:24:52 +0100 (dom 22 de feb de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
diff --git a/src/mousetrap/lib/settings.py b/src/mousetrap/lib/settings.py
index f72feda..e9c5a38 100755
--- a/src/mousetrap/lib/settings.py
+++ b/src/mousetrap/lib/settings.py
@@ -1,15 +1,14 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# MouseTrap
 #
 # Copyright 2009 Flavio Percoco Premoli
 #
 # This file is part of mouseTrap.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
 # mouseTrap is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -22,9 +21,9 @@
 
 """MouseTrap's settings handler."""
 
-__id__        = "$Id: settings.py 30 2009-04-03 16:00:06Z flaper $"
-__version__   = "$Revision: 30 $"
-__date__      = "$Date: 2009-04-03 18:00:06 +0200 (vie 03 de abr de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
diff --git a/src/mousetrap/mousetrap.in b/src/mousetrap/mousetrap.in
index 3fbcbc3..2068ba3 100755
--- a/src/mousetrap/mousetrap.in
+++ b/src/mousetrap/mousetrap.in
@@ -1,23 +1,22 @@
 #!/bin/bash
 
-# mousetrap
+# MouseTrap
 #
-# Copyright 2008 Flavio Percoco Premoli
+# Copyright 2009 Flavio Percoco Premoli
 #
-# This file is part of mousetrap.
+# This file is part of mouseTrap.
 #
-# mousetrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
-# mousetrap is distributed in the hope that it will be useful,
+# mouseTrap is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with mousetrap.  If not, see <http://www.gnu.org/licenses/>.
+# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
 
 # This script performs some clean up and will run mousetrap.  It will also
 # rerun mousetrap if it detects that mousetrap died an unnatural death.
diff --git a/src/mousetrap/mousetrap.py b/src/mousetrap/mousetrap.py
index 869a7d7..1f3618f 100644
--- a/src/mousetrap/mousetrap.py
+++ b/src/mousetrap/mousetrap.py
@@ -1,15 +1,14 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# MouseTrap
 #
 # Copyright 2009 Flavio Percoco Premoli
 #
 # This file is part of mouseTrap.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
 # mouseTrap is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -22,12 +21,20 @@
 
 """MouseTrap's main script."""
 
-__id__        = "$Id: mousetrap.py 30 2009-04-03 16:00:06Z flaper $"
-__version__   = "$Revision: 30 $"
-__date__      = "$Date: 2009-04-03 18:00:06 +0200 (vie 03 de abr de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
+####################### TAKEN FROM ORCA'S CODE ###################
+# We're going to force the name of the app to "mousetrap" so pygtk
+# will end up showing us as "mousetrap" to the AT-SPI.  If we don't
+# do this, the name can end up being "-c".  See Orca's bug 364452 at
+# http://bugzilla.gnome.org/show_bug.cgi?id=364452 for more
+# information.
+import sys
+sys.argv[0] = "mousetrap"
 
 import gtk
 import gobject
diff --git a/src/mousetrap/ui/__init__.py b/src/mousetrap/ui/__init__.py
index 8b13789..7e8b8d7 100644
--- a/src/mousetrap/ui/__init__.py
+++ b/src/mousetrap/ui/__init__.py
@@ -1 +1,25 @@
+# -*- coding: utf-8 -*-
 
+# MouseTrap
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of mouseTrap.
+#
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
+#
+# mouseTrap is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__   = "GPLv2"
diff --git a/src/mousetrap/ui/dialogs.py b/src/mousetrap/ui/dialogs.py
index 54d7fde..58685e0 100755
--- a/src/mousetrap/ui/dialogs.py
+++ b/src/mousetrap/ui/dialogs.py
@@ -1,15 +1,14 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# MouseTrap
 #
-# Copyright 2008 Flavio Percoco Premoli
+# Copyright 2009 Flavio Percoco Premoli
 #
 # This file is part of mouseTrap.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
 # mouseTrap is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/src/mousetrap/ui/i18n.py.in b/src/mousetrap/ui/i18n.py.in
index a6e70f5..d9d2b14 100644
--- a/src/mousetrap/ui/i18n.py.in
+++ b/src/mousetrap/ui/i18n.py.in
@@ -1,15 +1,14 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# MouseTrap
 #
-# Copyright 2008 Flavio Percoco Premoli
+# Copyright 2009 Flavio Percoco Premoli
 #
 # This file is part of mouseTrap.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
 # mouseTrap is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -26,6 +25,12 @@ maps to the gettext.gettext function.  This function will accept a
 string and return a localized string for that string.
 """
 
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__   = "GPLv2"
+
 import os       # to get localdir path
 import gettext  # to get gettext (i18n) support
 
diff --git a/src/mousetrap/ui/main.py b/src/mousetrap/ui/main.py
index 53d9ed2..435af0c 100644
--- a/src/mousetrap/ui/main.py
+++ b/src/mousetrap/ui/main.py
@@ -1,15 +1,14 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# MouseTrap
 #
 # Copyright 2009 Flavio Percoco Premoli
 #
 # This file is part of mouseTrap.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
 # mouseTrap is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -22,9 +21,9 @@
 
 """The main GUI of mousetrap."""
 
-__id__        = "$Id: main.py 30 2009-04-03 16:00:06Z flaper $"
-__version__   = "$Revision: 30 $"
-__date__      = "$Date: 2009-04-03 18:00:06 +0200 (vie 03 de abr de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
diff --git a/src/mousetrap/ui/scripts/__init__.py b/src/mousetrap/ui/scripts/__init__.py
index e69de29..7e8b8d7 100644
--- a/src/mousetrap/ui/scripts/__init__.py
+++ b/src/mousetrap/ui/scripts/__init__.py
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+
+# MouseTrap
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of mouseTrap.
+#
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
+#
+# mouseTrap is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__   = "GPLv2"
diff --git a/src/mousetrap/ui/scripts/screen.py b/src/mousetrap/ui/scripts/screen.py
index 9cde881..7f391f8 100644
--- a/src/mousetrap/ui/scripts/screen.py
+++ b/src/mousetrap/ui/scripts/screen.py
@@ -1,15 +1,14 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# MouseTrap
 #
-# Copyright 2008 Flavio Percoco Premoli
+# Copyright 2009 Flavio Percoco Premoli
 #
 # This file is part of mouseTrap.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
 # mouseTrap is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -22,9 +21,9 @@
 
 """The Screen Mode script."""
 
-__id__        = "$Id: screen.py 21 2009-02-22 18:24:52Z flaper $"
-__version__   = "$Revision: 21 $"
-__date__      = "$Date: 2009-02-22 19:24:52 +0100 (dom 22 de feb de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
diff --git a/src/mousetrap/ui/settings_gui.py b/src/mousetrap/ui/settings_gui.py
index 83840da..e5a3b3f 100755
--- a/src/mousetrap/ui/settings_gui.py
+++ b/src/mousetrap/ui/settings_gui.py
@@ -1,15 +1,14 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# MouseTrap
 #
 # Copyright 2009 Flavio Percoco Premoli
 #
 # This file is part of mouseTrap.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
 # mouseTrap is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -22,9 +21,9 @@
 
 """Settings Handler Interface."""
 
-__id__        = "$Id: settings_gui.py 30 2009-04-03 16:00:06Z flaper $"
-__version__   = "$Revision: 30 $"
-__date__      = "$Date: 2009-04-03 18:00:06 +0200 (vie 03 de abr de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
diff --git a/src/mousetrap/ui/widgets.py b/src/mousetrap/ui/widgets.py
index d12d6df..f6955ec 100644
--- a/src/mousetrap/ui/widgets.py
+++ b/src/mousetrap/ui/widgets.py
@@ -1,15 +1,14 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# MouseTrap
 #
 # Copyright 2009 Flavio Percoco Premoli
 #
 # This file is part of mouseTrap.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
 # mouseTrap is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -22,9 +21,9 @@
 
 """Scripts Common Widgets Module."""
 
-__id__        = "$Id: widgets.py 27 2009-03-31 12:02:22Z flaper $"
-__version__   = "$Revision: 27 $"
-__date__      = "$Date: 2009-03-31 14:02:22 +0200 (mar 31 de mar de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
diff --git a/src/ocvfw/__init__.py b/src/ocvfw/__init__.py
index e69de29..3ed237c 100644
--- a/src/ocvfw/__init__.py
+++ b/src/ocvfw/__init__.py
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+
+# Ocvfw
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of Ocvfw.
+#
+# Ocvfw is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
+#
+# Ocvfw is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Ocvfw.  If not, see <http://www.gnu.org/licenses/>.
+
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__   = "GPLv2"
diff --git a/src/ocvfw/_ocv.py b/src/ocvfw/_ocv.py
index b232fda..c82e369 100644
--- a/src/ocvfw/_ocv.py
+++ b/src/ocvfw/_ocv.py
@@ -1,30 +1,29 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# Ocvfw
 #
 # Copyright 2009 Flavio Percoco Premoli
 #
-# This file is part of mouseTrap.
+# This file is part of Ocvfw.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# Ocvfw is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
-# mouseTrap is distributed in the hope that it will be useful,
+# Ocvfw is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+# along with Ocvfw.  If not, see <http://www.gnu.org/licenses/>>.
 
 
 """Little  Framework for OpenCV Library."""
 
-__id__        = "$Id: _ocv.py 20 2009-02-21 21:34:12Z flaper $"
-__version__   = "$Revision: 20 $"
-__date__      = "$Date: 2009-02-21 22:34:12 +0100 (sáb 21 de feb de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
diff --git a/src/ocvfw/commons.py b/src/ocvfw/commons.py
index 420d3fb..63876f0 100644
--- a/src/ocvfw/commons.py
+++ b/src/ocvfw/commons.py
@@ -1,29 +1,28 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# Ocvfw
 #
 # Copyright 2009 Flavio Percoco Premoli
 #
-# This file is part of mouseTrap.
+# This file is part of Ocvfw.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# Ocvfw is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
-# mouseTrap is distributed in the hope that it will be useful,
+# Ocvfw is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+# along with Ocvfw.  If not, see <http://www.gnu.org/licenses/>>.
 
 """Ocvfw Global Vars."""
 
-__id__        = "$Id: _ocv.py 20 2009-02-21 21:34:12Z flaper $"
-__version__   = "$Revision: 20 $"
-__date__      = "$Date: 2009-02-21 22:34:12 +0100 (sáb 21 de feb de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
diff --git a/src/ocvfw/debug.py b/src/ocvfw/debug.py
index d8a39c6..d00bac6 100644
--- a/src/ocvfw/debug.py
+++ b/src/ocvfw/debug.py
@@ -1,34 +1,33 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# Ocvfw
 #
-# Copyright 2008 Flavio Percoco Premoli
+# Copyright 2009 Flavio Percoco Premoli
 #
-# This file is part of mouseTrap.
+# This file is part of Ocvfw.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# Ocvfw is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
-# mouseTrap is distributed in the hope that it will be useful,
+# Ocvfw is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+# along with Ocvfw.  If not, see <http://www.gnu.org/licenses/>>.
 
 """The debug module of mouseTrap."""
 
-__id__        = "$Id: debug.py 18 2009-02-21 21:17:24Z flaper $"
-__version__   = "$Revision: 18 $"
-__date__      = "$Date: 2009-02-21 22:17:24 +0100 (sáb 21 de feb de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
 import sys
-import logging 
+import logging
 import traceback
 
 modules = {}
@@ -44,7 +43,7 @@ def checkModule( module ):
     global modules
 
     level = logging.DEBUG
-        
+
     formatter = logging.Formatter("%(levelname)s: %(name)s -> %(message)s")
 
     cli = logging.StreamHandler( )
@@ -145,7 +144,7 @@ def exception( module, message ):
     modules[module].exception(message)
 
 # The following code has been borrowed from the following URL:
-# 
+#
 # http://www.dalkescientific.com/writings/diary/archive/ \
 #                                     2005/04/20/tracing_python_code.html
 #
@@ -154,17 +153,17 @@ import linecache
 def traceit(frame, event, arg):
     """
     Line tracing utility to output all lines as they are executed by
-    the interpreter.  This is to be used by sys.settrace and is for 
+    the interpreter.  This is to be used by sys.settrace and is for
     debugging purposes.
-   
+
     Arguments:
     - frame: is the current stack frame
     - event: 'call', 'line', 'return', 'exception', 'c_call', 'c_return',
              or 'c_exception'
     - arg:   depends on the event type (see docs for sys.settrace)
-    
+
     Returns traceit
-    """ 
+    """
 
     if event == "line":
         lineno = frame.f_lineno
@@ -181,6 +180,6 @@ def traceit(frame, event, arg):
         line = linecache.getline(filename, lineno)
         log(ALL, "Trace", "TRACE %s:%s: %s" % (name, lineno, line.rstrip()))
     return traceit
-    
+
 #if debugLevel == EXTREME:
 #    sys.settrace(traceit)
diff --git a/src/ocvfw/dev/__init__.py b/src/ocvfw/dev/__init__.py
index e69de29..3ed237c 100644
--- a/src/ocvfw/dev/__init__.py
+++ b/src/ocvfw/dev/__init__.py
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+
+# Ocvfw
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of Ocvfw.
+#
+# Ocvfw is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
+#
+# Ocvfw is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Ocvfw.  If not, see <http://www.gnu.org/licenses/>.
+
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__   = "GPLv2"
diff --git a/src/ocvfw/dev/camera.py b/src/ocvfw/dev/camera.py
index 5719da4..9b22939 100644
--- a/src/ocvfw/dev/camera.py
+++ b/src/ocvfw/dev/camera.py
@@ -1,30 +1,29 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# Ocvfw
 #
 # Copyright 2009 Flavio Percoco Premoli
 #
-# This file is part of mouseTrap.
+# This file is part of Ocvfw.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# Ocvfw is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
-# mouseTrap is distributed in the hope that it will be useful,
+# Ocvfw is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+# along with Ocvfw.  If not, see <http://www.gnu.org/licenses/>>.
 
 
 """Camera Device Module."""
 
-__id__        = "$Id: camera.py 21 2009-02-22 18:24:52Z flaper $"
-__version__   = "$Revision: 21 $"
-__date__      = "$Date: 2009-02-22 19:24:52 +0100 (dom 22 de feb de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
diff --git a/src/ocvfw/idm/__init__.py b/src/ocvfw/idm/__init__.py
index e4452bb..fa6328c 100644
--- a/src/ocvfw/idm/__init__.py
+++ b/src/ocvfw/idm/__init__.py
@@ -1,29 +1,28 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# Ocvfw
 #
 # Copyright 2009 Flavio Percoco Premoli
 #
-# This file is part of mouseTrap.
+# This file is part of Ocvfw.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# Ocvfw is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
-# mouseTrap is distributed in the hope that it will be useful,
+# Ocvfw is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+# along with Ocvfw.  If not, see <http://www.gnu.org/licenses/>.
 
 """IDM Init Module"""
 
-__id__        = "$Id: __init__.py 18 2009-02-21 21:17:24Z flaper $"
-__version__   = "$Revision: 18 $"
-__date__      = "$Date: 2009-02-21 22:17:24 +0100 (sáb 21 de feb de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
diff --git a/src/ocvfw/idm/forehead.py b/src/ocvfw/idm/forehead.py
index 9dceb1a..2588f73 100644
--- a/src/ocvfw/idm/forehead.py
+++ b/src/ocvfw/idm/forehead.py
@@ -1,30 +1,29 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# Ocvfw
 #
 # Copyright 2009 Flavio Percoco Premoli
 #
-# This file is part of mouseTrap.
+# This file is part of Ocvfw.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# Ocvfw is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
-# mouseTrap is distributed in the hope that it will be useful,
+# Ocvfw is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+# along with Ocvfw.  If not, see <http://www.gnu.org/licenses/>>.
 
 
 """Forehead IDM"""
 
-__id__        = "$Id: forehead.py 21 2009-02-22 18:24:52Z flaper $"
-__version__   = "$Revision: 21 $"
-__date__      = "$Date: 2009-02-22 19:24:52 +0100 (dom 22 de feb de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
diff --git a/src/ocvfw/pocv.py b/src/ocvfw/pocv.py
index d3adb2c..69b8d92 100644
--- a/src/ocvfw/pocv.py
+++ b/src/ocvfw/pocv.py
@@ -1,30 +1,29 @@
 # -*- coding: utf-8 -*-
 
-# mouseTrap
+# Ocvfw
 #
 # Copyright 2009 Flavio Percoco Premoli
 #
-# This file is part of mouseTrap.
+# This file is part of Ocvfw.
 #
-# mouseTrap is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
+# Ocvfw is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
 #
-# mouseTrap is distributed in the hope that it will be useful,
+# Ocvfw is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+# along with Ocvfw.  If not, see <http://www.gnu.org/licenses/>>.
 
 
 """Python Opencv Handler."""
 
-__id__        = "$Id: mousetrap.py 29 2009-03-31 12:06:44Z flaper $"
-__version__   = "$Revision: 29 $"
-__date__      = "$Date: 2009-03-31 14:06:44 +0200 (mar 31 de mar de 2009) $"
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]