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
63af63574c
Revert "Fix dupe callbacks in VaultAddChildNode"
...
This reverts commit b393947cd5
.
The commit was seemingly harmless, but it created or otherwise uncovered
stack corruption deep inside the vault voodoo. While I would like to know
what was up, I'm tired of dealing with it. The crash addressed here was
fixed in a subsequent moul-scripts commit, so let's just toss this one.
2014-06-06 14:20:55 -04:00
b393947cd5
Fix dupe callbacks in VaultAddChildNode
...
This code called back into the python vault operation thingy, which
deletes itself. So, anytime we got dupe CBs, there was a use-after-free
error. Nasty crashes. I tightened up the CB management, threw away some
weird faux-management mess, and squashed some potential silent bugs.
2014-06-03 15:13:38 -04:00
39867610a2
Fix leak check race condition, and remove an unintentional circular ref
2014-06-01 13:34:18 -07:00
403528a24b
Use hsRef for storage of the remaining vault nodes
2014-06-01 13:34:17 -07:00
8fa9171415
Also use hsRef for the vault functions which "return" lists
2014-06-01 13:34:16 -07:00
d2a05929f8
Replace most vault *IncRef() API functions with hsRef versions
2014-06-01 13:34:16 -07:00
aa2a1de5d0
Provide an easier/safer way to manage hsRefCnt subclasses
2014-06-01 13:31:56 -07:00
b666637a5d
Fix debug crash due to ref miscounting
2014-05-28 22:59:42 -07:00
1debf8180b
Convert many of the now-deprecated plString::Format calls to plFormat
2014-05-28 18:10:24 -07:00
34b2eb1836
More std::atomic and friends
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
a1edba6267
fix for g++:
...
fix plVault LogMsg calls + remove useless wide char usage
fix usage of plAvatarMgr::FindAvatar() and plLinkEffectsTriggerMsg::SetLinkKey() with temporary variables
plNetServerSessionInfo.h need std::string
fix plProgressMgr.h: NumLoadingFrames() have an useless class context information
fix plSocket usage of non-standard NULL
2014-04-24 14:22:03 +02:00
ef04cfcf84
Age Link info names => plString
2014-01-21 15:21:22 -08:00
c06cfd1449
Fix some warnings and some errors.
2013-02-10 00:14:10 -08:00
5a80de79fd
Don't memset EAP's Crazy Crap
...
Using memset there caused a crash. It works on all the other params, so I
assume that eap's ARRAY thing is incapable of handling a memset.
2013-01-30 13:32:12 -05:00
5fa72a086f
Clean up some miscellaneous non-optimal string uses
2013-01-13 15:53:53 -08:00
ad6b0bf3c8
Merge pull request #252 from dpogue/pljpeg
...
Move plJPEG into plGImage.
2013-01-05 21:10:57 -08:00
c77cb10c20
Move plJPEG into plGImage.
...
This matches what was done for plPNG.
2013-01-05 20:34:01 -08:00
58a8034eb7
Fixes from review by @Hoikas
2013-01-05 20:04:55 -08:00
ca916fee49
Add proper member access control to NetVaultNode
2013-01-05 19:00:58 -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
274812c057
Remove all uses of GuidToString.
2013-01-04 21:01:15 -08:00
8158a43dfe
Fully remove hsStlUtils, as it is now completely unused
2013-01-01 21:35:11 -08:00
60021923a2
Deprecate and remove xtl::format in favor of plString::Format
2013-01-01 21:35:10 -08:00
8117aa8bcc
Fix Cloth Links
...
A typo introduced in 49dfb4e5
caused camera stacks in AgeLink nodes to
overwrite spawn point names. This broke shell and journey cloth links in
the Relto bookshelf.
2012-12-26 16:56:04 -05:00
49dfb4e546
Convert SDL (mostly) to plStrings
2012-12-13 02:06:41 -08:00
3c2a8c66e7
Remove more empty source files
2012-11-11 23:00:24 -08:00
a709e17069
Obliterate hsBool
2012-07-14 18:46:27 -04:00
cb697523f9
Add PNG support to the VaultImageNode functions.
2012-02-09 23:50:55 -08:00
704a49fe73
Fix plVault.
...
This means that everything that doesn't depend on non-portable code is
able to compile.
2012-01-29 17:21:37 -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
6cdcf6a95e
Get rid of most _alloca use and remove ALLOCA().
2012-01-25 16:58:29 -05:00
8a3f0cfd5b
Get rid of DEL() and FREE() macros.
...
Part of CoreLibExe must die.
2012-01-25 16:58:28 -05:00
2f53a10fb6
Convert hsConfig defines to cmake -- fixes #93
2012-01-25 16:58:24 -05:00
5027b5a4ac
Convert custom HeadSpin integer types to standard types from stdint.h
2012-01-25 16:58:18 -05:00
f45679a54f
Make pyVault::AddChronicleEntry a blocking operation to avoid a race
...
condition
2012-01-15 18:36:29 -05:00
e462ef04b3
Fix Endian functions names in hsTypes and hsStream.
...
Function and macro names for endianness were previously vague,
and on big-endian systems entirely misleading. The names are
now properly descriptive of what they actually do.
2011-10-25 20:23:25 -07:00
eb2767a5f7
Open source re-licensing
2011-10-22 17:03:49 -07:00
e616874a07
Fix for linking to child age
2011-09-22 22:32:52 +02:00
adc3653296
fix relative includes in PubUtilLib, move them up to where they belong, remvoe some unused files
2011-09-01 13:21:23 +02:00
46c4a457e0
Syntax fixes for PubUtilLib.
2011-07-24 15:29:45 -07:00
799a3d13b4
Remove UInts from the heap in the callback code
2011-04-28 23:06:24 -04:00
6fefaa11d9
Last minute fixes
2011-04-23 22:37:34 -04:00
a921f766d1
Async creation of child ages
2011-04-23 22:19:35 -04:00
28e8e0c544
Fix some potential memory leaks
2011-04-23 20:38:44 -04:00
7a1c977ded
Async creation of subages (thanks to all the people whose Delins/Tsogals I randomly popped in on)
2011-04-23 20:12:16 -04:00