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.
2015-01-02 22:50:25 -05:00
e8d317bd92
Replace port constants with a single port variable
...
- Remove really old deprecated constants
- Remove some Cyanic server code as well
2014-12-26 15:46:46 -05:00
1a987173d6
Use std::swap
2014-08-09 12:28:19 -07:00
72f18e8ebb
Complete the previous commit by also removing the inline min and max
...
functions defined in HeadSpin.h without breaking (3ds)Max compilation
2014-08-09 12:28:19 -07:00
474b54396b
Reintroduce (and enforce use of) hsLockFor{Reading,Writing}
2014-07-26 13:05:43 -07:00
d27f102166
Merge pull request #437 from zrax/hsRef
...
Clean up ref-counting
2014-07-15 21:33:18 -04:00
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.
2014-06-28 18:14:27 -07:00
f187d98a76
Revert "Fix inappropriate UnRefing in VaultCreateNodeTrans"
...
This reverts commit 8f8bad63f0
. It didn't do
what it claimed to.
2014-06-06 14:20:25 -04:00
8f8bad63f0
Fix inappropriate UnRefing in VaultCreateNodeTrans
2014-06-05 17:13:41 -04:00
aee2f7f7ca
Make hsRefCnt atomic, and merge with hsAtomicRefCnt
2014-06-01 13:34:19 -07:00
403528a24b
Use hsRef for storage of the remaining vault nodes
2014-06-01 13:34:17 -07:00
34b2eb1836
More std::atomic and friends
2014-05-18 11:19:55 -07:00
23a071860e
pnUtRef started at zero refs instead of one, and this is simpler
...
than finding and removing all the extra Ref() calls.
2014-05-18 11:19:55 -07:00
d713a13dbe
Merge pnUtRef with hsRefCnt, and remove the former
2014-05-18 11:19:52 -07:00
efec679e1f
Fix NetCliAuthFileRequest Regression introduced by 6e56447
...
Our data fields have to be the same as their size on the wire. Ugh.
2013-11-25 20:13:38 -05:00
0343e997da
ARRAY(T) uses malloc, and therefore breaks classes which need constructors
2013-01-22 21:00:01 -08:00
8f67596686
Merge pull request #275 from zrax/file-utils
...
Unify filesystem utilities
2013-01-22 16:27:26 -08:00
cc54fb07be
Finish deprecation of pnUtPath
2013-01-21 14:48:31 -08:00
6e564476b7
Deprecate plFileUtils and parts of pnUtPath
2013-01-21 14:48:28 -08:00
f86b549293
Re-define nil as nullptr, cleaning up some potential issues along the way
2013-01-20 21:12:13 -08:00
6f6ade2636
Replace hsStream::Open duplicated methods everywhere with a single plFileName interface
2013-01-19 14:21:49 -08:00
f980f022dd
Replace pnProduct with a (very) thin CoreLib plProduct wrapper around CMake-defined product ID values
2013-01-17 01:14:45 -08:00
ca916fee49
Add proper member access control to NetVaultNode
2013-01-05 19:00:58 -08:00
abbbfc12d7
Plug some simple leaks detected during startup
2013-01-05 19:00:56 -08:00
bc0d04da48
Deprecate and remove NEWZERO macro
2013-01-05 18:33:47 -08:00
bcf6e97d23
Replace Uuid with plUUID EVERYWHERE.
2013-01-04 21:06:14 -08:00
fd8541e18d
Get rid of GuidGenerate calls.
2013-01-04 21:01:14 -08:00
9f276e2c57
Add support for Visual Leak Detector, since valgrind doesn't support MSVC
2012-12-13 02:07:53 -08:00
b219c3c3cc
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
2012-11-13 18:40:13 -08:00
3667fb62e2
Replace COMPILER_ASSERT with C++0B static_assert
2012-07-11 09:46:17 -04:00
1ae3979753
Get rid of pnUtSync and CLock.
2012-06-13 23:28:53 -07:00
95e1fe34b8
Remove unused dead weight CSR and SimpleNet code
2012-06-09 18:45:34 -04:00
60aa7e421e
Swap the IP address returned by AuthSrv.
2012-04-07 16:01:30 -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
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
72d92bc66e
Start killing off NetAddress.
2012-03-11 23:12:03 -07:00
9479aadb3a
Move pnUtBigNum to pnEncryption/plBigNum.
2012-03-11 20:04:10 -07:00
bd6300d6c7
Remove some eap stupid
2012-02-25 22:56:30 -05:00
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)
2012-02-25 22:33:55 -05:00
4a1b36b284
Move half of the Challenge Hash stuff.
2012-02-12 01:19:22 -08:00
1b22f044f0
Fix conflicting ShaDigest types.
2012-02-11 23:15:06 -08:00
a14a171774
Replace MemMove, MemCopy, and MemCmp.
2012-01-25 16:58:42 -05:00
5013a978eb
Get rid of NEW(), TRACKED_NEW, and ZERO().
2012-01-25 16:58:35 -05:00
8a3f0cfd5b
Get rid of DEL() and FREE() macros.
...
Part of CoreLibExe must die.
2012-01-25 16:58:28 -05:00
5027b5a4ac
Convert custom HeadSpin integer types to standard types from stdint.h
2012-01-25 16:58:18 -05:00
eb2767a5f7
Open source re-licensing
2011-10-22 17:03:49 -07:00
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)
2011-08-20 10:52:46 +02:00
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.
2011-08-04 13:38:22 +02:00
4563df7f20
fix UruLauncher crash when the Launcher manifest is empty
2011-08-02 23:56:37 +02:00