gnome-games r8277 - in trunk/glchess/src: . lib lib/chess lib/chess/fics lib/ggz lib/gtkui lib/scene lib/scene/cairo lib/scene/opengl lib/ui
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8277 - in trunk/glchess/src: . lib lib/chess lib/chess/fics lib/ggz lib/gtkui lib/scene lib/scene/cairo lib/scene/opengl lib/ui
- Date: Sat, 8 Nov 2008 02:48:10 +0000 (UTC)
Author: rancell
Date: Sat Nov 8 02:48:10 2008
New Revision: 8277
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8277&view=rev
Log:
Marked all Python files as being UTF-8 encoded (Bug #556803)
Modified:
trunk/glchess/src/glchess.in.in
trunk/glchess/src/lib/__init__.py
trunk/glchess/src/lib/ai.py
trunk/glchess/src/lib/cecp.py
trunk/glchess/src/lib/chess/__init__.py
trunk/glchess/src/lib/chess/bitboard.py
trunk/glchess/src/lib/chess/board.py
trunk/glchess/src/lib/chess/fics/__init__.py
trunk/glchess/src/lib/chess/fics/client.py
trunk/glchess/src/lib/chess/fics/server.py
trunk/glchess/src/lib/chess/fics/style12.py
trunk/glchess/src/lib/chess/fics/telnet.py
trunk/glchess/src/lib/chess/lan.py
trunk/glchess/src/lib/chess/pgn.py
trunk/glchess/src/lib/chess/san.py
trunk/glchess/src/lib/config.py
trunk/glchess/src/lib/display.py
trunk/glchess/src/lib/game.py
trunk/glchess/src/lib/ggz/__init__.py
trunk/glchess/src/lib/ggz/chess.py
trunk/glchess/src/lib/ggz/client.py
trunk/glchess/src/lib/ggz/protocol.py
trunk/glchess/src/lib/glchess.py
trunk/glchess/src/lib/gtkui/__init__.py
trunk/glchess/src/lib/gtkui/chessview.py
trunk/glchess/src/lib/gtkui/dialogs.py
trunk/glchess/src/lib/gtkui/gtkui.py
trunk/glchess/src/lib/gtkui/log.py
trunk/glchess/src/lib/gtkui/network.py
trunk/glchess/src/lib/history.py
trunk/glchess/src/lib/main.py
trunk/glchess/src/lib/network.py
trunk/glchess/src/lib/player.py
trunk/glchess/src/lib/scene/__init__.py
trunk/glchess/src/lib/scene/cairo/__init__.py
trunk/glchess/src/lib/scene/cairo/pieces.py
trunk/glchess/src/lib/scene/human.py
trunk/glchess/src/lib/scene/opengl/__init__.py
trunk/glchess/src/lib/scene/opengl/builtin_models.py
trunk/glchess/src/lib/scene/opengl/new_models.py
trunk/glchess/src/lib/scene/opengl/opengl.py
trunk/glchess/src/lib/scene/opengl/png.py
trunk/glchess/src/lib/scene/opengl/texture.py
trunk/glchess/src/lib/uci.py
trunk/glchess/src/lib/ui/__init__.py
trunk/glchess/src/lib/ui/ui.py
Modified: trunk/glchess/src/glchess.in.in
==============================================================================
--- trunk/glchess/src/glchess.in.in (original)
+++ trunk/glchess/src/glchess.in.in Sat Nov 8 02:48:10 2008
@@ -1,4 +1,5 @@
#! /usr/bin/env python
+# -*- coding: utf-8 -*-
# glChess is a 2D/3D chess game for GNOME. This is the startup
# script which imports the relevant modules. Please keep the startup
Modified: trunk/glchess/src/lib/__init__.py
==============================================================================
--- trunk/glchess/src/lib/__init__.py (original)
+++ trunk/glchess/src/lib/__init__.py Sat Nov 8 02:48:10 2008
@@ -1 +1,2 @@
+# -*- coding: utf-8 -*-
Modified: trunk/glchess/src/lib/ai.py
==============================================================================
--- trunk/glchess/src/lib/ai.py (original)
+++ trunk/glchess/src/lib/ai.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
__author__ = 'Robert Ancell <bob27 users sourceforge net>'
__license__ = 'GNU General Public License Version 2'
__copyright__ = 'Copyright 2005-2006 Robert Ancell'
Modified: trunk/glchess/src/lib/cecp.py
==============================================================================
--- trunk/glchess/src/lib/cecp.py (original)
+++ trunk/glchess/src/lib/cecp.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
__author__ = 'Robert Ancell <bob27 users sourceforge net>'
__license__ = 'GNU General Public License Version 2'
__copyright__ = 'Copyright 2005-2006 Robert Ancell'
Modified: trunk/glchess/src/lib/chess/__init__.py
==============================================================================
--- trunk/glchess/src/lib/chess/__init__.py (original)
+++ trunk/glchess/src/lib/chess/__init__.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import board
import pgn
import lan
Modified: trunk/glchess/src/lib/chess/bitboard.py
==============================================================================
--- trunk/glchess/src/lib/chess/bitboard.py (original)
+++ trunk/glchess/src/lib/chess/bitboard.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
#
#
Modified: trunk/glchess/src/lib/chess/board.py
==============================================================================
--- trunk/glchess/src/lib/chess/board.py (original)
+++ trunk/glchess/src/lib/chess/board.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
"""Module implementing the chess rules.
To use create an instance of the chess board:
Modified: trunk/glchess/src/lib/chess/fics/__init__.py
==============================================================================
--- trunk/glchess/src/lib/chess/fics/__init__.py (original)
+++ trunk/glchess/src/lib/chess/fics/__init__.py Sat Nov 8 02:48:10 2008
@@ -1,2 +1,3 @@
+# -*- coding: utf-8 -*-
from client import *
from server import *
Modified: trunk/glchess/src/lib/chess/fics/client.py
==============================================================================
--- trunk/glchess/src/lib/chess/fics/client.py (original)
+++ trunk/glchess/src/lib/chess/fics/client.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import re
import socket
import select
Modified: trunk/glchess/src/lib/chess/fics/server.py
==============================================================================
--- trunk/glchess/src/lib/chess/fics/server.py (original)
+++ trunk/glchess/src/lib/chess/fics/server.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import socket
import select
import random
Modified: trunk/glchess/src/lib/chess/fics/style12.py
==============================================================================
--- trunk/glchess/src/lib/chess/fics/style12.py (original)
+++ trunk/glchess/src/lib/chess/fics/style12.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import re
"""See: http://www.unix-ag.uni-kl.de/~chess/gicshelp/node197.html"""
Modified: trunk/glchess/src/lib/chess/fics/telnet.py
==============================================================================
--- trunk/glchess/src/lib/chess/fics/telnet.py (original)
+++ trunk/glchess/src/lib/chess/fics/telnet.py Sat Nov 8 02:48:10 2008
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# -*- coding: utf-8 -*-
class Decoder:
"""
Modified: trunk/glchess/src/lib/chess/lan.py
==============================================================================
--- trunk/glchess/src/lib/chess/lan.py (original)
+++ trunk/glchess/src/lib/chess/lan.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
"""
"""
Modified: trunk/glchess/src/lib/chess/pgn.py
==============================================================================
--- trunk/glchess/src/lib/chess/pgn.py (original)
+++ trunk/glchess/src/lib/chess/pgn.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
"""
Implement a PGN reader/writer.
Modified: trunk/glchess/src/lib/chess/san.py
==============================================================================
--- trunk/glchess/src/lib/chess/san.py (original)
+++ trunk/glchess/src/lib/chess/san.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
"""
"""
Modified: trunk/glchess/src/lib/config.py
==============================================================================
--- trunk/glchess/src/lib/config.py (original)
+++ trunk/glchess/src/lib/config.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from defaults import *
try:
Modified: trunk/glchess/src/lib/display.py
==============================================================================
--- trunk/glchess/src/lib/display.py (original)
+++ trunk/glchess/src/lib/display.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
__author__ = 'Robert Ancell <bob27 users sourceforge net>'
__license__ = 'GNU General Public License Version 2'
__copyright__ = 'Copyright 2005-2006 Robert Ancell'
Modified: trunk/glchess/src/lib/game.py
==============================================================================
--- trunk/glchess/src/lib/game.py (original)
+++ trunk/glchess/src/lib/game.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
"""
"""
Modified: trunk/glchess/src/lib/ggz/__init__.py
==============================================================================
--- trunk/glchess/src/lib/ggz/__init__.py (original)
+++ trunk/glchess/src/lib/ggz/__init__.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from chess import Chess
from client import Client
from client import ClientFeedback
Modified: trunk/glchess/src/lib/ggz/chess.py
==============================================================================
--- trunk/glchess/src/lib/ggz/chess.py (original)
+++ trunk/glchess/src/lib/ggz/chess.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import struct
class GGZChessFeedback:
Modified: trunk/glchess/src/lib/ggz/client.py
==============================================================================
--- trunk/glchess/src/lib/ggz/client.py (original)
+++ trunk/glchess/src/lib/ggz/client.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import protocol
import xml.sax.saxutils
Modified: trunk/glchess/src/lib/ggz/protocol.py
==============================================================================
--- trunk/glchess/src/lib/ggz/protocol.py (original)
+++ trunk/glchess/src/lib/ggz/protocol.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import xml.sax.handler
"<UPDATE TYPE='player' ACTION='delete' ROOM='40' TOROOM='-1'>"
Modified: trunk/glchess/src/lib/glchess.py
==============================================================================
--- trunk/glchess/src/lib/glchess.py (original)
+++ trunk/glchess/src/lib/glchess.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import main
def start_game ():
app = main.Application()
Modified: trunk/glchess/src/lib/gtkui/__init__.py
==============================================================================
--- trunk/glchess/src/lib/gtkui/__init__.py (original)
+++ trunk/glchess/src/lib/gtkui/__init__.py Sat Nov 8 02:48:10 2008
@@ -1,2 +1,3 @@
+# -*- coding: utf-8 -*-
from gtkui import GtkUI
from chessview import GtkView
Modified: trunk/glchess/src/lib/gtkui/chessview.py
==============================================================================
--- trunk/glchess/src/lib/gtkui/chessview.py (original)
+++ trunk/glchess/src/lib/gtkui/chessview.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import sys
from gettext import gettext as _
import traceback
Modified: trunk/glchess/src/lib/gtkui/dialogs.py
==============================================================================
--- trunk/glchess/src/lib/gtkui/dialogs.py (original)
+++ trunk/glchess/src/lib/gtkui/dialogs.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
__author__ = 'Robert Ancell <bob27 users sourceforge net>'
__license__ = 'GNU General Public License Version 2'
__copyright__ = 'Copyright 2005-2006 Robert Ancell'
Modified: trunk/glchess/src/lib/gtkui/gtkui.py
==============================================================================
--- trunk/glchess/src/lib/gtkui/gtkui.py (original)
+++ trunk/glchess/src/lib/gtkui/gtkui.py Sat Nov 8 02:48:10 2008
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# -*- coding: utf-8 -*-
__author__ = 'Robert Ancell <bob27 users sourceforge net>'
__license__ = 'GNU General Public License Version 2'
Modified: trunk/glchess/src/lib/gtkui/log.py
==============================================================================
--- trunk/glchess/src/lib/gtkui/log.py (original)
+++ trunk/glchess/src/lib/gtkui/log.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
__author__ = 'Robert Ancell <bob27 users sourceforge net>'
__license__ = 'GNU General Public License Version 2'
__copyright__ = 'Copyright 2005-2006 Robert Ancell'
Modified: trunk/glchess/src/lib/gtkui/network.py
==============================================================================
--- trunk/glchess/src/lib/gtkui/network.py (original)
+++ trunk/glchess/src/lib/gtkui/network.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import gettext
import gobject
Modified: trunk/glchess/src/lib/history.py
==============================================================================
--- trunk/glchess/src/lib/history.py (original)
+++ trunk/glchess/src/lib/history.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
__author__ = 'Robert Ancell <bob27 users sourceforge net>'
__license__ = 'GNU General Public License Version 2'
__copyright__ = 'Copyright 2005-2006 Robert Ancell'
Modified: trunk/glchess/src/lib/main.py
==============================================================================
--- trunk/glchess/src/lib/main.py (original)
+++ trunk/glchess/src/lib/main.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
"""
"""
Modified: trunk/glchess/src/lib/network.py
==============================================================================
--- trunk/glchess/src/lib/network.py (original)
+++ trunk/glchess/src/lib/network.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import os
import socket
import errno
Modified: trunk/glchess/src/lib/player.py
==============================================================================
--- trunk/glchess/src/lib/player.py (original)
+++ trunk/glchess/src/lib/player.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
__author__ = 'Robert Ancell <bob27 users sourceforge net>'
__license__ = 'GNU General Public License Version 2'
__copyright__ = 'Copyright 2005-2006 Robert Ancell'
Modified: trunk/glchess/src/lib/scene/__init__.py
==============================================================================
--- trunk/glchess/src/lib/scene/__init__.py (original)
+++ trunk/glchess/src/lib/scene/__init__.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
__author__ = 'Robert Ancell <bob27 users sourceforge net>'
__license__ = 'GNU General Public License Version 2'
__copyright__ = 'Copyright 2005-2006 Robert Ancell'
Modified: trunk/glchess/src/lib/scene/cairo/__init__.py
==============================================================================
--- trunk/glchess/src/lib/scene/cairo/__init__.py (original)
+++ trunk/glchess/src/lib/scene/cairo/__init__.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import math
import cairo
Modified: trunk/glchess/src/lib/scene/cairo/pieces.py
==============================================================================
--- trunk/glchess/src/lib/scene/cairo/pieces.py (original)
+++ trunk/glchess/src/lib/scene/cairo/pieces.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
__author__ = 'Thomas Dybdahl Ahle <thomas ahle dk>'
__license__ = 'GNU General Public License Version 2'
__copyright__ = ''
Modified: trunk/glchess/src/lib/scene/human.py
==============================================================================
--- trunk/glchess/src/lib/scene/human.py (original)
+++ trunk/glchess/src/lib/scene/human.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
"""
"""
Modified: trunk/glchess/src/lib/scene/opengl/__init__.py
==============================================================================
--- trunk/glchess/src/lib/scene/opengl/__init__.py (original)
+++ trunk/glchess/src/lib/scene/opengl/__init__.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
try:
import OpenGL.GL
import OpenGL.GLU
Modified: trunk/glchess/src/lib/scene/opengl/builtin_models.py
==============================================================================
--- trunk/glchess/src/lib/scene/opengl/builtin_models.py (original)
+++ trunk/glchess/src/lib/scene/opengl/builtin_models.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
__author__ = 'Robert Ancell <bob27 users sourceforge net>'
__license__ = 'GNU General Public License Version 2'
__copyright__ = 'Copyright 2005-2006 Robert Ancell'
Modified: trunk/glchess/src/lib/scene/opengl/new_models.py
==============================================================================
--- trunk/glchess/src/lib/scene/opengl/new_models.py (original)
+++ trunk/glchess/src/lib/scene/opengl/new_models.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
__author__ = 'Robert Ancell <bob27 users sourceforge net>, John-Paul Gignac <jjgignac users sf net>'
__license__ = 'GNU General Public License Version 2+'
__copyright__ = 'Copyright 2005-2006 Robert Ancell, Copyright 2006 John-Paul Gignac'
Modified: trunk/glchess/src/lib/scene/opengl/opengl.py
==============================================================================
--- trunk/glchess/src/lib/scene/opengl/opengl.py (original)
+++ trunk/glchess/src/lib/scene/opengl/opengl.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import math
import os.path
from gettext import gettext as _
Modified: trunk/glchess/src/lib/scene/opengl/png.py
==============================================================================
--- trunk/glchess/src/lib/scene/opengl/png.py (original)
+++ trunk/glchess/src/lib/scene/opengl/png.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
#!/usr/bin/env python
# png.py - PNG encoder in pure Python
# Copyright (C) 2006 Johann C. Rocholl <johann browsershots org>
Modified: trunk/glchess/src/lib/scene/opengl/texture.py
==============================================================================
--- trunk/glchess/src/lib/scene/opengl/texture.py (original)
+++ trunk/glchess/src/lib/scene/opengl/texture.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from OpenGL.GL import *
from OpenGL.GLU import *
import png
Modified: trunk/glchess/src/lib/uci.py
==============================================================================
--- trunk/glchess/src/lib/uci.py (original)
+++ trunk/glchess/src/lib/uci.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
class StateMachine:
"""
Modified: trunk/glchess/src/lib/ui/__init__.py
==============================================================================
--- trunk/glchess/src/lib/ui/__init__.py (original)
+++ trunk/glchess/src/lib/ui/__init__.py Sat Nov 8 02:48:10 2008
@@ -1 +1,2 @@
+# -*- coding: utf-8 -*-
from ui import *
Modified: trunk/glchess/src/lib/ui/ui.py
==============================================================================
--- trunk/glchess/src/lib/ui/ui.py (original)
+++ trunk/glchess/src/lib/ui/ui.py Sat Nov 8 02:48:10 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
"""
"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]