Don't completely require pygame. Changelog update

This commit is contained in:
Kiooeht 2011-12-04 22:30:16 -08:00
parent acc998ed0d
commit 85207715ab
3 changed files with 23 additions and 9 deletions

View file

@ -13,7 +13,12 @@ Visit http://nova.xzibition.com/~illuminatedwax/help.html for tutorial.
CHANGELOG CHANGELOG
--------- ---------
### 3.41.2 ## 3.41.4
* Makefile for Linux installing - Kiooeht [evacipatedBox]
* Bug fixes
* Don't require pygame (it's kind of optional, you just don't get sound) - Kiooeht [evacipatedBox]
### 3.41.3
* Add group option when adding chum - ghostDunk * Add group option when adding chum - ghostDunk
* OOC Mode - ghostDunk * OOC Mode - ghostDunk
* Improve animated gifs - ghostDunk * Improve animated gifs - ghostDunk
@ -40,6 +45,8 @@ CHANGELOG
* Refresh theme in options - Kiooeht [evacipatedBox] * Refresh theme in options - Kiooeht [evacipatedBox]
* Separate tabbed/untabbed windows for conversaions and memos - Kiooeht [evacipatedBox] * Separate tabbed/untabbed windows for conversaions and memos - Kiooeht [evacipatedBox]
* Manually rearrange chumroll - Kiooeht [evacipatedBox] (Idea: [turntableAbbess (aka. TA of SGRILL)]) * Manually rearrange chumroll - Kiooeht [evacipatedBox] (Idea: [turntableAbbess (aka. TA of SGRILL)])
* Using user data directory for all OSs - Kiooeht [evacipatedBox]
* Lots more user created themes - ghostDunk
* Bug fixes * Bug fixes
* Don't delete random chum when blocking someone not on chumroll - Kiooeht [evacipatedBox] * Don't delete random chum when blocking someone not on chumroll - Kiooeht [evacipatedBox]
* Openning global userlist doesn't reset OP status of memo users - Kiooeht [evacipatedBox] * Openning global userlist doesn't reset OP status of memo users - Kiooeht [evacipatedBox]

View file

@ -26,6 +26,7 @@ Features
* Make toast notifications only on certain chums * Make toast notifications only on certain chums
* Local alisas for chums * Local alisas for chums
* Italics/uderline - needed for canon * Italics/uderline - needed for canon
* Don't make new windows be all in your face and shit
Bugs Bugs
---- ----
@ -36,6 +37,8 @@ Bugs
* Closing a timeclone doesn't actually cease for everyone else * Closing a timeclone doesn't actually cease for everyone else
* Kill Zalgo * Kill Zalgo
* Random invisible, tiny links to last link at end of every message * Random invisible, tiny links to last link at end of every message
* if you change the capitals on a memo name when entering. Userlist goes blank.
* Clicking link to invite-only memo crashes
Windows Bugs Windows Bugs
------------ ------------

View file

@ -8,26 +8,29 @@ import logging
from datetime import * from datetime import *
import random import random
import re import re
import ostools
from time import time from time import time
import threading, Queue import threading, Queue
missing = [] reqmissing = []
optmissing = []
try: try:
from PyQt4 import QtGui, QtCore from PyQt4 import QtGui, QtCore
except ImportError, e: except ImportError, e:
module = str(e) module = str(e)
if module[:16] == "No module named ": missing.append(module[16:]) if module.startswith("No module named ") or \
module.startswith("cannot import name "):
reqmissing.append(module[module.rfind(" ")+1:])
else: print e else: print e
try: try:
import pygame import pygame
except ImportError, e: except ImportError, e:
pygame = None
module = str(e) module = str(e)
if module[:16] == "No module named ": missing.append(module[16:]) if module[:16] == "No module named ": optmissing.append(module[16:])
else: print e else: print e
if missing: if reqmissing:
print "ERROR: The following modules are required for Pesterchum to run and are missing on your system:" print "ERROR: The following modules are required for Pesterchum to run and are missing on your system:"
for m in missing: print "* "+m for m in reqmissing: print "* "+m
exit() exit()
vnum = QtCore.qVersion() vnum = QtCore.qVersion()
major = int(vnum[:vnum.find(".")]) major = int(vnum[:vnum.find(".")])
@ -40,6 +43,7 @@ if not ((major > 4) or (major == 4 and minor >= 6)):
print "You currently have version " + vnum + ". Please ungrade Qt" print "You currently have version " + vnum + ". Please ungrade Qt"
exit() exit()
import ostools
# Placed here before importing the rest of pesterchum, since bits of it need # Placed here before importing the rest of pesterchum, since bits of it need
# OSX's data directory and it doesn't hurt to have everything set up before # OSX's data directory and it doesn't hurt to have everything set up before
# plowing on. :o) # plowing on. :o)
@ -1588,7 +1592,7 @@ class PesterWindow(MovingWindow):
self.mychumcolor.setText("") self.mychumcolor.setText("")
# sounds # sounds
if not pygame.mixer: if not pygame or not pygame.mixer:
self.alarm = NoneSound() self.alarm = NoneSound()
self.memosound = NoneSound() self.memosound = NoneSound()
self.namesound = NoneSound() self.namesound = NoneSound()
@ -2641,7 +2645,7 @@ class MainProgram(QtCore.QObject):
options = self.oppts(sys.argv[1:]) options = self.oppts(sys.argv[1:])
if pygame.mixer: if pygame and pygame.mixer:
# we could set the frequency higher but i love how cheesy it sounds # we could set the frequency higher but i love how cheesy it sounds
try: try:
pygame.mixer.init() pygame.mixer.init()