e0cd86bfc1
Convert PyString_*Ex functions over to plString
2012-04-14 22:25:48 -04:00
8d36a0d028
Closes #182 -- dpogue/kill_utils
...
Conflicts:
Sources/Plasma/Apps/plClient/winmain.cpp
2012-04-14 19:34:07 -04:00
b1d65a194a
Fix memory corruption with DNS lookups.
...
Thanks @Mystler for finding and reporting this, and thanks @Hoikas for
investigating and confirming the fix.
2012-04-14 16:26:24 -07:00
f6d65dd396
Remove old, unused network stats
2012-04-08 19:03:34 -04:00
cb209c853f
Move these inline to be faster.
2012-04-08 12:48:24 -07:00
5ad311dd97
Use a std::map for faster page lookups.
2012-04-08 00:18:21 -07:00
3a8911c1cd
Fix a rather crippling plString bug on Linux.
2012-04-07 22:37:28 -07:00
60aa7e421e
Swap the IP address returned by AuthSrv.
2012-04-07 16:01:30 -07:00
863247f0dd
Another attempt to fix the std::list in NLM.
2012-04-07 14:54:36 -07:00
c70bb776ba
Merge pull request #181 from Hoikas/taskbar
...
Taskbar Stuff
2012-04-05 23:18:34 -07:00
86de0d4e51
Merge pull request #188 from Hoikas/patcher
...
Fix Patcher Progress
2012-04-05 23:17:01 -07:00
d0412b2f38
Move the combo box into an own line
2012-04-04 11:57:47 +02:00
f4665a0caf
Use the correct file sizes in plResPatcher
2012-04-03 14:50:28 -04:00
90dd0f433d
Use Localization list of available languages for login dialog.
2012-04-03 14:11:34 +02:00
8fd6e5eb1b
Add language changer to Login form
2012-04-03 14:11:23 +02:00
1fa981d09e
plUUID operator< should return a bool.
2012-03-30 22:03:55 -07:00
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.
2012-03-30 21:53:15 +02:00
595d2659ca
Fix plUnifiedTime::SetGMTime
...
The default value of the "dst" argument must be 0, because -1 leads to incorrect results when the given time falls into local DST. However, a "dst" argument makes no sense on a method that deals with GMT anyway, so remove it entirely.
2012-03-30 21:48:37 +02:00
bb200c5b30
Make sure plNetAddress is included correctly.
2012-03-27 23:10:54 -07:00
883ce6fcbf
Doxygen plNetAddress to make it less confusing.
2012-03-27 21:32:02 -07:00
3ba721711e
Completely kill pnUtAddr and NetAddress.
2012-03-26 21:49:10 -07:00
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).
2012-03-26 21:27:55 -07:00
06a561fc85
Fix bugs with plNetAddress.
...
This allows the patcher to successfully connect to both GateKeeper and
FileSrv.
2012-03-26 19:03:43 -07:00
fbc6e33f7d
Rename these to make more sense.
2012-03-26 16:14:17 -07:00
5beda0ab87
Implement client window flashing
...
This will be used in python to grab the player's attention on PMs or other
interesting events.
2012-03-20 21:00:59 -04:00
6039d62bc2
Implement progress failures
...
I took the liberty to improve the obvious failure cases where a red progress
bar would be useful.
2012-03-20 01:14:06 -04:00
dcba1fb60a
Windows 7 taskbar goodies
...
Update the Windows 7 taskbarlist progress bar on plOperationProgress
callbacks. It's not totally nesecary, but it adds a nice bit of polish to
the experience.
2012-03-19 22:26:30 -04:00
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 :(
2012-03-12 21:59:10 -07:00
4b3d4a0d83
Add an operator== to plNetAddress.
2012-03-12 21:04:27 -07:00
e770beb73d
Kill pnNetDiag.
2012-03-12 21:03:58 -07:00
72d92bc66e
Start killing off NetAddress.
2012-03-11 23:12:03 -07:00
7bd51c923f
Merge branch 'plNetAddress' into kill_utils
2012-03-11 22:19:32 -07:00
cf802fcba0
Remove a bunch of unused custom STL code.
2012-03-11 21:33:54 -07:00
e70cb420f3
Update plNetAddress to use plString.
2012-03-11 20:54:03 -07:00
9479aadb3a
Move pnUtBigNum to pnEncryption/plBigNum.
2012-03-11 20:04:10 -07:00
b8e4f00ad6
Remove more unused pnUtils code.
2012-03-11 00:02:40 -08:00
87f050b55e
Get rid of one hashtable in pfGameMgr.
2012-03-11 00:02:20 -08:00
270e05738f
Clean up pnSimpleNet.
...
Removes Pch.h.
Removes a pnUtList.
Removes a PnUtHash (and all the weird warnings from it).
2012-03-10 22:19:34 -08:00
ec4190e807
Merge pull request #176 from Hoikas/afk-clickables
...
Allow clickables to function while sitting or AFK.
2012-03-10 21:54:23 -08:00
364ac73050
Replace NetLinkingMgr LIST with std::list.
2012-03-10 20:35:09 -08:00
f6f063a9dd
Fix pnNetCli for *nix.
...
Thanks to @zrax for breaking it originally :P
Also switch another CCritSect over to hsMutex, and replace LIST with
std::list.
2012-03-10 20:34:03 -08:00
833124c297
Get rid of CCritSect in the patcher stuff.
2012-03-10 20:33:26 -08:00
a28213806f
Fix compiling.
2012-03-10 19:16:52 -08:00
b7035a631e
Try to replace a pnUtList with a std::queue.
2012-03-10 18:16:37 -08:00
3bf303885a
PnUtCrypt compiles on *nix now.
2012-03-10 18:16:18 -08:00
251cf02bd7
Move AtomicAdd/AtomicSet to hsUtils.
2012-03-10 17:49:22 -08:00
26dc1fa120
Get rid of the PnUtils TLS stuff.
2012-03-10 17:47:25 -08:00
590eea770f
Remove CEvent entirely.
2012-03-10 16:09:03 -08:00
9e92b77438
Get rid of CEvent in plUruLauncher.
2012-03-10 16:07:59 -08:00
44a43b298b
Try replacing CEvent with hsSemaphore.
...
This should work because we only ever call Wait() once. It doesn't fully
behave like Win32's manual reset events though, so if we had a more
complex usage that depended on the event remaining signalled, we'd have
a problem.
2012-03-10 14:16:01 -08:00