# HG changeset patch # User phoku@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1251115294 0 # Node ID 48c99636453ed1ca5d9cf850c9ed54629a9c421d # Parent 33dd55160a9d5e0c4befcded42ba7ce6ffcd888a Added Licence header to all pypthon modules in extension/ Commit 3k, Yay :-) diff -r 33dd55160a9d -r 48c99636453e clients/pychan_demo/pychan_test.py --- a/clients/pychan_demo/pychan_test.py Mon Aug 24 11:45:28 2009 +0000 +++ b/clients/pychan_demo/pychan_test.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + # This is the pychan demo client for FIFE. import sys, os, re diff -r 33dd55160a9d -r 48c99636453e engine/extensions/basicapplication.py --- a/engine/extensions/basicapplication.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/basicapplication.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,4 +1,26 @@ -# coding: utf-8 +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### """ The basic application and main loop. diff -r 33dd55160a9d -r 48c99636453e engine/extensions/fife_compat.py --- a/engine/extensions/fife_compat.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/fife_compat.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,3 +1,26 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### """ FIFE Backwards Combatibility Layer diff -r 33dd55160a9d -r 48c99636453e engine/extensions/fife_timer.py --- a/engine/extensions/fife_timer.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/fife_timer.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,4 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + import fife """ diff -r 33dd55160a9d -r 48c99636453e engine/extensions/fife_utils.py --- a/engine/extensions/fife_utils.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/fife_utils.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,3 +1,26 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### import fife, re, sys, os __all__ = ['is_fife_exc', 'getUserDataDirectory'] diff -r 33dd55160a9d -r 48c99636453e engine/extensions/fifelog.py --- a/engine/extensions/fifelog.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/fifelog.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,3 +1,27 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + import fife class LogManager(object): diff -r 33dd55160a9d -r 48c99636453e engine/extensions/filebrowser.py --- a/engine/extensions/filebrowser.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/filebrowser.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,4 +1,26 @@ -# coding: utf-8 +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### import pychan import pychan.widgets as widgets diff -r 33dd55160a9d -r 48c99636453e engine/extensions/loaders.py --- a/engine/extensions/loaders.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/loaders.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,4 +1,27 @@ -# coding: utf-8 +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + # Loader interface for FIFE's native xml format. import fife diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/__init__.py --- a/engine/extensions/pychan/__init__.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/__init__.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + """\ Pythonic Guichan Wrapper - PyChan ================================= diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/attrs.py --- a/engine/extensions/pychan/attrs.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/attrs.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,26 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- -# coding: utf-8 + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### """ Simple error checking attributes. diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/autoposition.py --- a/engine/extensions/pychan/autoposition.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/autoposition.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,4 +1,26 @@ -# coding: utf-8 +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### """ Automatic widget positioning diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/compat.py --- a/engine/extensions/pychan/compat.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/compat.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + in_fife = None guichan = None diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/dialogs.py --- a/engine/extensions/pychan/dialogs.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/dialogs.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from pychan import loadXML import pychan.tools import widgets diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/events.py --- a/engine/extensions/pychan/events.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/events.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + """\ PyChan event handling (internal). ================================= diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/exceptions.py --- a/engine/extensions/pychan/exceptions.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/exceptions.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + class PyChanException(Exception): """ Base exception class for PyChan. diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/fonts.py --- a/engine/extensions/pychan/fonts.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/fonts.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,4 +1,26 @@ -# coding: utf-8 +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### # Font handling from exceptions import * diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/internal.py --- a/engine/extensions/pychan/internal.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/internal.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from compat import guichan, in_fife import widgets import fife_timer as timer diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/properties.py --- a/engine/extensions/pychan/properties.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/properties.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,4 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + import fife """ diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/tools.py --- a/engine/extensions/pychan/tools.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/tools.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + """ Functional utilities designed for pychan use cases. """ diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/__init__.py --- a/engine/extensions/pychan/widgets/__init__.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/__init__.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,4 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + ### Widget/Container Base Classes ### """ diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/basictextwidget.py --- a/engine/extensions/pychan/widgets/basictextwidget.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/basictextwidget.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,4 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from widget import Widget from common import * diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/buttons.py --- a/engine/extensions/pychan/widgets/buttons.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/buttons.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from common import * from basictextwidget import BasicTextWidget diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/checkbox.py --- a/engine/extensions/pychan/widgets/checkbox.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/checkbox.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from common import * from basictextwidget import BasicTextWidget diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/common.py --- a/engine/extensions/pychan/widgets/common.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/common.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + import fife import pychan.tools as tools import pychan.events as events diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/containers.py --- a/engine/extensions/pychan/widgets/containers.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/containers.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from common import * from widget import Widget from layout import VBoxLayoutMixin, HBoxLayoutMixin diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/dropdown.py --- a/engine/extensions/pychan/widgets/dropdown.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/dropdown.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from common import * from widget import Widget from listbox import GenericListmodel diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/ext/__init__.py --- a/engine/extensions/pychan/widgets/ext/__init__.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/ext/__init__.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + """ Pychan extension widgets. diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/icon.py --- a/engine/extensions/pychan/widgets/icon.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/icon.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from common import * from widget import Widget diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/label.py --- a/engine/extensions/pychan/widgets/label.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/label.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from common import * from basictextwidget import BasicTextWidget diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/layout.py --- a/engine/extensions/pychan/widgets/layout.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/layout.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from pychan.attrs import IntAttr AlignTop, AlignBottom, AlignLeft, AlignRight, AlignCenter = range(5) diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/listbox.py --- a/engine/extensions/pychan/widgets/listbox.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/listbox.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from common import * from widget import Widget diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/radiobutton.py --- a/engine/extensions/pychan/widgets/radiobutton.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/radiobutton.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from common import * from basictextwidget import BasicTextWidget diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/scrollarea.py --- a/engine/extensions/pychan/widgets/scrollarea.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/scrollarea.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from common import * from widget import Widget diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/slider.py --- a/engine/extensions/pychan/widgets/slider.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/slider.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from common import * from widget import Widget diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/textbox.py --- a/engine/extensions/pychan/widgets/textbox.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/textbox.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from common import * from widget import Widget diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/textfield.py --- a/engine/extensions/pychan/widgets/textfield.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/textfield.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from common import * from widget import Widget diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pychan/widgets/widget.py --- a/engine/extensions/pychan/widgets/widget.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pychan/widgets/widget.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,5 +1,27 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from pychan.widgets.common import * class Widget(object): diff -r 33dd55160a9d -r 48c99636453e engine/extensions/pythonize.py --- a/engine/extensions/pythonize.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/pythonize.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,4 +1,26 @@ -# coding: utf-8 +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### """\ Pythonize FIFE diff -r 33dd55160a9d -r 48c99636453e engine/extensions/savers.py --- a/engine/extensions/savers.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/savers.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,3 +1,27 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + import os from xml.sax.saxutils import XMLGenerator from xml.sax.xmlreader import AttributesNSImpl diff -r 33dd55160a9d -r 48c99636453e engine/extensions/serializers/__init__.py --- a/engine/extensions/serializers/__init__.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/serializers/__init__.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,3 +1,27 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + import fife, sys, os from traceback import print_exc diff -r 33dd55160a9d -r 48c99636453e engine/extensions/serializers/xmlanimation.py --- a/engine/extensions/serializers/xmlanimation.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/serializers/xmlanimation.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,3 +1,27 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + import fife from serializers import * diff -r 33dd55160a9d -r 48c99636453e engine/extensions/serializers/xmlmap.py --- a/engine/extensions/serializers/xmlmap.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/serializers/xmlmap.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,3 +1,27 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + import fife try: import xml.etree.cElementTree as ET diff -r 33dd55160a9d -r 48c99636453e engine/extensions/serializers/xmlobject.py --- a/engine/extensions/serializers/xmlobject.py Mon Aug 24 11:45:28 2009 +0000 +++ b/engine/extensions/serializers/xmlobject.py Mon Aug 24 12:01:34 2009 +0000 @@ -1,3 +1,27 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + import fife from serializers import * from fife_utils import *