beta 2
This commit is contained in:
parent
e0e80d17ee
commit
2be6ae08c3
10 changed files with 13 additions and 9 deletions
1
TODO
1
TODO
|
@ -1,5 +1,4 @@
|
||||||
Bugs:
|
Bugs:
|
||||||
* "it's only a few sele¢t letters" <-- unicode error!
|
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
* help menu -- about and forum
|
* help menu -- about and forum
|
||||||
|
|
5
irc.py
5
irc.py
|
@ -226,7 +226,10 @@ class PesterIRC(QtCore.QThread):
|
||||||
|
|
||||||
class PesterHandler(DefaultCommandHandler):
|
class PesterHandler(DefaultCommandHandler):
|
||||||
def privmsg(self, nick, chan, msg):
|
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
|
# display msg, do other stuff
|
||||||
if len(msg) == 0:
|
if len(msg) == 0:
|
||||||
return
|
return
|
||||||
|
|
2
menus.py
2
menus.py
|
@ -735,6 +735,6 @@ class LoadingScreen(QtGui.QDialog):
|
||||||
class AboutPesterchum(QtGui.QMessageBox):
|
class AboutPesterchum(QtGui.QMessageBox):
|
||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
QtGui.QMessageBox.__init__(self, parent)
|
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.setInformativeText("Programming by illuminatedwax (ghostDunk), art by Grimlive (aquaMarinist)")
|
||||||
self.mainwindow = parent
|
self.mainwindow = parent
|
||||||
|
|
|
@ -9,7 +9,7 @@ _ctag_begin = re.compile(r'(?i)<c=(.*?)>')
|
||||||
_gtag_begin = re.compile(r'(?i)<g[a-f]>')
|
_gtag_begin = re.compile(r'(?i)<g[a-f]>')
|
||||||
_ctag_end = re.compile(r'(?i)</c>')
|
_ctag_end = re.compile(r'(?i)</c>')
|
||||||
_ctag_rgb = re.compile(r'\d+,\d+,\d+')
|
_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_]+)")
|
_memore = re.compile(r"(\s|^)(#[A-Za-z0-9_]+)")
|
||||||
_imgre = re.compile(r"""(?i)<img src=['"](\S+)['"]\s*/>""")
|
_imgre = re.compile(r"""(?i)<img src=['"](\S+)['"]\s*/>""")
|
||||||
_mecmdre = re.compile(r"^(/me|PESTERCHUM:ME)(\S*)")
|
_mecmdre = re.compile(r"^(/me|PESTERCHUM:ME)(\S*)")
|
||||||
|
|
|
@ -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 ![]() (image error) Size: 57 KiB After ![]() (image error) Size: 57 KiB ![]() ![]() |
|
@ -231,7 +231,7 @@
|
||||||
"style": "background-color:#fdb302;border:0px"
|
"style": "background-color:#fdb302;border:0px"
|
||||||
},
|
},
|
||||||
"tabs": {
|
"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;",
|
"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",
|
"newmsgcolor": "#fdb302",
|
||||||
"tabstyle": 0
|
"tabstyle": 0
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
"windowtitle": "PESTERCHUM",
|
"windowtitle": "PESTERCHUM",
|
||||||
"menu" : { "style": "font-family: 'Courier'; font: bold; font-size: 14px; background-color: #fdb302;border:2px solid #ffff00",
|
"menu" : { "style": "font-family: 'Courier'; font: bold; font-size: 14px; background-color: #fdb302;border:2px solid #ffff00",
|
||||||
"menuitem": "font-size:14px;" },
|
"menuitem": "font-size:14px;" },
|
||||||
|
"menubar": { "style": "font-family: 'Courier'; font:bold; font-size: 14px;" },
|
||||||
"close": { "image": "$path/x.png",
|
"close": { "image": "$path/x.png",
|
||||||
"loc": [282, 4]},
|
"loc": [282, 4]},
|
||||||
"minimize": { "image": "$path/m.png",
|
"minimize": { "image": "$path/m.png",
|
||||||
|
|
|
@ -48,8 +48,8 @@
|
||||||
"uparrow": "",
|
"uparrow": "",
|
||||||
"uarrowstyle": ""
|
"uarrowstyle": ""
|
||||||
},
|
},
|
||||||
"loc": [475, 89],
|
"loc": [477, 91],
|
||||||
"size": [175, 361],
|
"size": [171, 357],
|
||||||
"userlistcolor": "black",
|
"userlistcolor": "black",
|
||||||
"moods": {
|
"moods": {
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
"newmsgicon": "$path/trayicon2.png",
|
"newmsgicon": "$path/trayicon2.png",
|
||||||
"windowtitle": "TROLLIAN",
|
"windowtitle": "TROLLIAN",
|
||||||
"menu" : { "style": "font-family: 'Arial'; font: bold; font-size: 14px; background-color: #e5000f;border:2px solid #c20f00" },
|
"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",
|
"close": { "image": "$path/x.png",
|
||||||
"loc": [280, 2]},
|
"loc": [280, 2]},
|
||||||
"minimize": { "image": "$path/m.png",
|
"minimize": { "image": "$path/m.png",
|
||||||
|
@ -64,7 +65,7 @@
|
||||||
"protective": { "icon": "$path/protective.png", "color": "#00ff00" },
|
"protective": { "icon": "$path/protective.png", "color": "#00ff00" },
|
||||||
|
|
||||||
"blocked": { "icon": "$path/blocked.png", "color": "black" }
|
"blocked": { "icon": "$path/blocked.png", "color": "black" }
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
"mychumhandle": { "label":
|
"mychumhandle": { "label":
|
||||||
{ "text": "TROLLTAG:",
|
{ "text": "TROLLTAG:",
|
||||||
|
|
Loading…
Reference in a new issue