This commit is contained in:
Stephen Dranger 2011-03-03 02:00:38 -06:00
parent e0e80d17ee
commit 2be6ae08c3
10 changed files with 13 additions and 9 deletions

1
TODO
View file

@ -1,5 +1,4 @@
Bugs:
* "it's only a few sele¢t letters" <-- unicode error!
Features:
* help menu -- about and forum

5
irc.py
View file

@ -226,7 +226,10 @@ class PesterIRC(QtCore.QThread):
class PesterHandler(DefaultCommandHandler):
def privmsg(self, nick, chan, msg):
msg = msg.decode("utf-8")
try:
msg = msg.decode('utf-8')
except UnicodeDecodeError:
msg = msg.decode('iso-8859-1', 'ignore')
# display msg, do other stuff
if len(msg) == 0:
return

View file

@ -735,6 +735,6 @@ class LoadingScreen(QtGui.QDialog):
class AboutPesterchum(QtGui.QMessageBox):
def __init__(self, parent=None):
QtGui.QMessageBox.__init__(self, parent)
self.setText("P8STERCHUM V. 3.14 8eta ::::)")
self.setText("P8STERCHUM V. 3.14 8eta 2 ::::)")
self.setInformativeText("Programming by illuminatedwax (ghostDunk), art by Grimlive (aquaMarinist)")
self.mainwindow = parent

View file

@ -9,7 +9,7 @@ _ctag_begin = re.compile(r'(?i)<c=(.*?)>')
_gtag_begin = re.compile(r'(?i)<g[a-f]>')
_ctag_end = re.compile(r'(?i)</c>')
_ctag_rgb = re.compile(r'\d+,\d+,\d+')
_urlre = re.compile(r"(?i)http://[^\s]+")
_urlre = re.compile(r"(?i)https?://[^\s]+")
_memore = re.compile(r"(\s|^)(#[A-Za-z0-9_]+)")
_imgre = re.compile(r"""(?i)<img src=['"](\S+)['"]\s*/>""")
_mecmdre = re.compile(r"^(/me|PESTERCHUM:ME)(\S*)")

View file

@ -1 +1 @@
{"color": "#ff00ff", "lastmood": 21, "theme": "gold xl", "quirks": [], "handle": "ghostDunk"}
{"color": "#ff00ff", "lastmood": 0, "theme": "pesterchum", "quirks": [], "handle": "ghostDunk"}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View file

@ -231,7 +231,7 @@
"style": "background-color:#fdb302;border:0px"
},
"tabs": {
"style": "background-color: #7f7f7f; font-family: 'Courier'; font:bold;min-height:25px;",
"style": "background-color: #7f7f7f; font-family: 'Courier';font:bold;font-size:12px;min-height:25px;",
"selectedstyle": "border:0px;background-color:#fdb302;border-top:2px solid yellow; border-left:2px solid yellow;border-right:2px solid yellow; border-top-left-radius: 4px; border-top-right-radius: 4px;",
"newmsgcolor": "#fdb302",
"tabstyle": 0

View file

@ -8,6 +8,7 @@
"windowtitle": "PESTERCHUM",
"menu" : { "style": "font-family: 'Courier'; font: bold; font-size: 14px; background-color: #fdb302;border:2px solid #ffff00",
"menuitem": "font-size:14px;" },
"menubar": { "style": "font-family: 'Courier'; font:bold; font-size: 14px;" },
"close": { "image": "$path/x.png",
"loc": [282, 4]},
"minimize": { "image": "$path/m.png",

View file

@ -48,8 +48,8 @@
"uparrow": "",
"uarrowstyle": ""
},
"loc": [475, 89],
"size": [175, 361],
"loc": [477, 91],
"size": [171, 357],
"userlistcolor": "black",
"moods": {

View file

@ -6,6 +6,7 @@
"newmsgicon": "$path/trayicon2.png",
"windowtitle": "TROLLIAN",
"menu" : { "style": "font-family: 'Arial'; font: bold; font-size: 14px; background-color: #e5000f;border:2px solid #c20f00" },
"menubar": { "style": "font-family: 'Arial'; font:bold; font-size: 14px;" },
"close": { "image": "$path/x.png",
"loc": [280, 2]},
"minimize": { "image": "$path/m.png",
@ -64,7 +65,7 @@
"protective": { "icon": "$path/protective.png", "color": "#00ff00" },
"blocked": { "icon": "$path/blocked.png", "color": "black" }
},
}
},
"mychumhandle": { "label":
{ "text": "TROLLTAG:",