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.
11 years ago
Adam Johnson
8f8bad63f0
Fix inappropriate UnRefing in VaultCreateNodeTrans
11 years ago
Michael Hansen
aee2f7f7ca
Make hsRefCnt atomic, and merge with hsAtomicRefCnt
11 years ago
Michael Hansen
403528a24b
Use hsRef for storage of the remaining vault nodes
11 years ago
Michael Hansen
34b2eb1836
More std::atomic and friends
11 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.
11 years ago
Michael Hansen
d713a13dbe
Merge pnUtRef with hsRefCnt, and remove the former
11 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.
13 years ago
Adam Johnson
95e1fe34b8
Remove unused dead weight CSR and SimpleNet code
13 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
Darryl Pogue
8a3f0cfd5b
Get rid of DEL() and FREE() macros.
...
Part of CoreLibExe must die.
13 years ago
Adam Johnson
5027b5a4ac
Convert custom HeadSpin integer types to standard types from stdint.h
13 years ago
CyanWorlds
eb2767a5f7
Open source re-licensing
13 years ago
diafero
9c28eca30f
remove pointless "BUILD_TYPE" option... external vs. internal client should really be enough
...
(this also removes some hard-coded Cyan URLs which depended on that option)
13 years ago
diafero
d5885dd677
if no auth server is set, ask the gate keeper about it (does NOT really add a new message, just enables it. DS already supports it in master)
...
this makes the setup even easier... just one server to be configured in the server.ini.
13 years ago
diafero
4563df7f20
fix UruLauncher crash when the Launcher manifest is empty
13 years ago
Michael Hansen
ca09c7ff60
Revert "Fix a memory leak" -- this will require more investigation
...
This reverts commit e36dbad38c9753fa6b47948577b6e69ff057cfda.
14 years ago
Michael Hansen
418d29fc34
Fix a memory leak
14 years ago
Michael Hansen
ef5446dc49
Remove old header-included keys
14 years ago