Adam Johnson
31076d65f9
Convert score creation to plString
10 years ago
Adam Johnson
374b8b0531
Convert age names over to plString
10 years ago
Adam Johnson
0aa5a52a33
Clean ansi<->unicode from account name code
10 years ago
Adam Johnson
0bcf45c6d5
Fix PtSendFriendInvite
10 years ago
Adam Johnson
ee0848ce30
Clean up string spin-washing in the Vault API
10 years ago
Adam Johnson
2039d88025
Convert server name stuff to plString
10 years ago
Adam Johnson
5b0a8f62e6
Convert NetComm player name to plString
10 years ago
Adam Johnson
b9f747f046
Refactor NetVault Node
...
NetVaultNode now uses plStrings. I also took the liberty of removing code
that was really only useful in server contexts. Note that there is
absolutely no way this will compile at the moment. Future commits will fix
the other code to play nicely with this rewrite.
10 years ago
Adam Johnson
e8d317bd92
Replace port constants with a single port variable
...
- Remove really old deprecated constants
- Remove some Cyanic server code as well
10 years ago
Michael Hansen
1a987173d6
Use std::swap
10 years ago
Michael Hansen
72f18e8ebb
Complete the previous commit by also removing the inline min and max
...
functions defined in HeadSpin.h without breaking (3ds)Max compilation
10 years ago
Michael Hansen
474b54396b
Reintroduce (and enforce use of) hsLockFor{Reading,Writing}
10 years ago
Darryl Pogue
a0da984cdc
Work towards killing TimeGetMs.
...
Only remaining uses are in pnAsyncCore stuff, and I'm not touching that
until the std::thread merge is figured out.
10 years ago
Adam Johnson
f187d98a76
Revert "Fix inappropriate UnRefing in VaultCreateNodeTrans"
...
This reverts commit 8f8bad63f0
. It didn't do
what it claimed to.
10 years ago
Adam Johnson
8f8bad63f0
Fix inappropriate UnRefing in VaultCreateNodeTrans
10 years ago
Michael Hansen
aee2f7f7ca
Make hsRefCnt atomic, and merge with hsAtomicRefCnt
10 years ago
Michael Hansen
403528a24b
Use hsRef for storage of the remaining vault nodes
10 years ago
Michael Hansen
34b2eb1836
More std::atomic and friends
10 years ago
Michael Hansen
23a071860e
pnUtRef started at zero refs instead of one, and this is simpler
...
than finding and removing all the extra Ref() calls.
10 years ago
Michael Hansen
d713a13dbe
Merge pnUtRef with hsRefCnt, and remove the former
10 years ago
Adam Johnson
efec679e1f
Fix NetCliAuthFileRequest Regression introduced by 6e56447
...
Our data fields have to be the same as their size on the wire. Ugh.
11 years ago
Michael Hansen
0343e997da
ARRAY(T) uses malloc, and therefore breaks classes which need constructors
12 years ago
Michael Hansen
cc54fb07be
Finish deprecation of pnUtPath
12 years ago
Michael Hansen
6e564476b7
Deprecate plFileUtils and parts of pnUtPath
12 years ago
Michael Hansen
f86b549293
Re-define nil as nullptr, cleaning up some potential issues along the way
12 years ago
Michael Hansen
6f6ade2636
Replace hsStream::Open duplicated methods everywhere with a single plFileName interface
12 years ago
Michael Hansen
f980f022dd
Replace pnProduct with a (very) thin CoreLib plProduct wrapper around CMake-defined product ID values
12 years ago
Michael Hansen
ca916fee49
Add proper member access control to NetVaultNode
12 years ago
Michael Hansen
abbbfc12d7
Plug some simple leaks detected during startup
12 years ago
Michael Hansen
bc0d04da48
Deprecate and remove NEWZERO macro
12 years ago
Darryl Pogue
bcf6e97d23
Replace Uuid with plUUID EVERYWHERE.
12 years ago
Darryl Pogue
fd8541e18d
Get rid of GuidGenerate calls.
12 years ago
Michael Hansen
9f276e2c57
Add support for Visual Leak Detector, since valgrind doesn't support MSVC
12 years ago
Michael Hansen
b219c3c3cc
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
12 years ago
Adam Johnson
3667fb62e2
Replace COMPILER_ASSERT with C++0B static_assert
12 years ago
Darryl Pogue
1ae3979753
Get rid of pnUtSync and CLock.
12 years ago
Adam Johnson
95e1fe34b8
Remove unused dead weight CSR and SimpleNet code
12 years ago
Darryl Pogue
60aa7e421e
Swap the IP address returned by AuthSrv.
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
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
72d92bc66e
Start killing off NetAddress.
13 years ago
Darryl Pogue
9479aadb3a
Move pnUtBigNum to pnEncryption/plBigNum.
13 years ago
Adam Johnson
bd6300d6c7
Remove some eap stupid
13 years ago
Adam Johnson
dc85bd6f86
Implement Game auto pinger
...
Evidently, the game connection never actually pinged. Instead, it relied
on the propagation of a redundant game message. This is evil because we
can sometimes hang out in the loading process for quite some time (eg
beyond the socket timeout on either end)
13 years ago
Darryl Pogue
4a1b36b284
Move half of the Challenge Hash stuff.
13 years ago
Darryl Pogue
1b22f044f0
Fix conflicting ShaDigest types.
13 years ago
Darryl Pogue
c815fd8a14
More minGW fixes.
13 years ago
Darryl Pogue
a14a171774
Replace MemMove, MemCopy, and MemCmp.
13 years ago
Darryl Pogue
5013a978eb
Get rid of NEW(), TRACKED_NEW, and ZERO().
13 years ago