Adam Johnson
389d3c1802
Fix deadlock if plCrashHandler is not running
...
Only wait for the crash server to do its job if it's attached. Silent
failures are evil, but it's better than hanging forever.
13 years ago
Adam Johnson
151657a9f2
Fix zombie plCrashHandler issues
...
Win32 HACK: We wait on both the pfCrashCli handle and the crashed semaphore.
This way, we can proceed to exit pfCrashSrv when the client process exits
insanely.
13 years ago
Adam Johnson
ae28963572
Python glue for the new pfGameScore
...
Remove useless pyScoreMgr and use static methods on pyGameScore that call us
back via OnGameScore()
13 years ago
Adam Johnson
8e79583717
Add some Python Helpers
...
We can now convert plString to PyUnicode objects and have static methods
with variable arguments and variable keyword arguments
13 years ago
Adam Johnson
bbdc5cd0bb
Implement new pfGameScore class and friends
...
pfGameScore will call you back on actions that require server ops. Also, we
ref count the score instead of using some weird hashtable manager class
because the server never actually tells us if someone else changes the
score.
13 years ago
Adam Johnson
e0cd86bfc1
Convert PyString_*Ex functions over to plString
13 years ago
Adam Johnson
d2a1350e8b
Real camera fixes
...
Corrects popping issues in Kemo but doesn't screw up Teledahn at the same
time... Magical special casing :(
13 years ago
Adam Johnson
cba9f459e8
Revert "Disallow duplicate camera pushes"
...
This reverts commit e32fb9b9e248b03b8715904b9a4c0c70b1309cc1, which
introduced camera region bugs
13 years ago
Christian Walther
89ec0aa33b
Also handle Python long integers in addVarNumber.
13 years ago
Bartek Bok
82e4c81303
Differentiate between float and int types in plNotify
13 years ago
Adam Johnson
5fa14466c8
Eradicate pfStackTrace
13 years ago
Adam Johnson
14279794f7
Implement pfCrashHandler
...
pfCrashHandler includes a client that watches plClient for crashes. When
it detects a crash, it lets the plCrashSrv (plCrashHandler.exe) know about
it. We then produce a mninidump, then signal the client that it's OK to
show a crash dialog. See http://www.nynaeve.net/?p=128 for a good
explanation of why I split the crash logic into another process.
13 years ago
Christian Walther
3c73b9f694
Fix KI daylight saving time calculation.
...
The previous implementation had the following bugs:
- DST was truncated to end of October
- DST start was off by one week in years where March 1st is a Monday
- DST start was off by one second (1:59:59 -> 2:00:00 -> 3:00:01 instead of the correct 1:59:59 -> 3:00:00 -> 3:00:01)
Tested against tzdata 2009g.
13 years ago
Darryl Pogue
3ba721711e
Completely kill pnUtAddr and NetAddress.
13 years ago
Darryl Pogue
3ea3473d13
Get rid of pnUtW32Addr and make IP strings char*s.
...
IP addresses don't need to be unicode.
pnUtAddr is still around until we replace all NetAddress uses with
plNetAddress (they are typedef'ed to each other right now).
13 years ago
Adam Johnson
5beda0ab87
Implement client window flashing
...
This will be used in python to grab the player's attention on PMs or other
interesting events.
13 years ago
Adam Johnson
6039d62bc2
Implement progress failures
...
I took the liberty to improve the obvious failure cases where a red progress
bar would be useful.
13 years ago
Darryl Pogue
4737e791cb
Remove almost all uses of NetAddress.
...
This probably has a bunch of bugs because of Network Order/Host Order
issues. If we intend to actually support BE architectures, these
problems are going to get much much worse :(
13 years ago
Darryl Pogue
87f050b55e
Get rid of one hashtable in pfGameMgr.
13 years ago
Adam Johnson
69970aba43
Fix the George W. Bush bug
...
Fix the DST hack to use the correct dates in post-2006 US and Canada. I
unfortunately could not find a decent cross-platform way to do this.
13 years ago
Bartek Bok
1a59bcd1a0
Engine part of chat name completion
13 years ago
Bartek Bok
860bba92fb
Tiny fix, marginally related to rest of stuff
13 years ago
Bartek Bok
7295a38386
We now filter WM_CHARs containing control codes, so ignoring them in gui code is useless (even harmful)
13 years ago
Bartek Bok
d8dd19e093
Basic clipboard functionality
13 years ago
Bartek Bok
5bd22e1912
Filter WM_CHAR messages with control characters. Fix multiline edit input for keyboard layouts using alt key
13 years ago
Adam Johnson
8c345dac3d
Take this opportunity to vector-ize plVirtualCam1
13 years ago
Adam Johnson
8deeb6831a
Disallow duplicate camera pushes
13 years ago
Adam Johnson
0f68e5ae13
These got missed...
13 years ago
NadnerbD
3e15b5d318
Fixed memory leak, plString is nice
13 years ago
Darryl Pogue
7a5d61f7c8
Move plRandom into pnEncryption.
...
--HG--
rename : Sources/Plasma/PubUtilLib/plMath/plRandom.h => Sources/Plasma/NucleusLib/pnEncryption/plRandom.h
13 years ago
NadnerbD
c9b4c0a92d
NewKey can take a plString, so no need to convert to const char*
13 years ago
Darryl Pogue
404cd09f1c
Move plEncryption to pnEncryption.
...
--HG--
rename : Sources/Plasma/PubUtilLib/plEncryption/plChecksum.cpp => Sources/Plasma/NucleusLib/pnEncryption/plChecksum.cpp
rename : Sources/Plasma/PubUtilLib/plEncryption/plChecksum.h => Sources/Plasma/NucleusLib/pnEncryption/plChecksum.h
13 years ago
Darryl Pogue
f4878166d5
Don't use pnUtils for MD5 checksumming.
...
On the other hand, have we ever figured out exactly what this code is
supposed to do? Mark added it for something, but it's not really clear
what the purpose is.
13 years ago
Joseph Davies
036a1d38fc
Clean up python binding for image-loading functions.
13 years ago
Joseph Davies
3b22256085
Add python function glue to allow loading PNG images from disk.
13 years ago
Joseph Davies
08fa25a737
Fix a potential crash in pyVaultImageNode.
...
Fixes a crash which can occur when attempting to fetch
an unsupported image type.
13 years ago
Michael Hansen
ad66286a17
Fix several errors and warnings from GCC compilation
13 years ago
Michael Hansen
be4b0732d5
Fix string usage that was broken from enabling the Max plugin build
13 years ago
Darryl Pogue
c815fd8a14
More minGW fixes.
13 years ago
Darryl Pogue
f3b3b2a354
Fix the Py_ssize_t issues.
13 years ago
Adam Johnson
e2b9bba70c
ptStatusLog now supports unicode objects and string objects
13 years ago
NadnerbD
02118488bd
prevent pfConsole from crashing when inserting text into a max length line
13 years ago
NadnerbD
be9dca97e8
Separated line histories for python and normal console modes
13 years ago
Darryl Pogue
b5ff772f47
Fix pfPython to compile on Linux.
13 years ago
Darryl Pogue
2493cf8f73
Some fixes for pfConsole.
13 years ago
NadnerbD
84849b2238
Lined up the input line with the output buffer
13 years ago
NadnerbD
6750a033d2
Fixed python multi-line entry by preventing double enter events
13 years ago
Michael Hansen
bb0ed04a52
Fix some things which got missed from debug builds
13 years ago
Adam Johnson
eeaae57cc3
Be less anal--use PyNumber instead of PyLong
13 years ago
Darryl Pogue
75a3701f3e
Fix pfJournalBook.
13 years ago