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.
11 years ago
Adam Johnson
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.
11 years ago
Adam Johnson
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.
11 years ago
Michael Hansen
39867610a2
Fix leak check race condition, and remove an unintentional circular ref
11 years ago
Michael Hansen
403528a24b
Use hsRef for storage of the remaining vault nodes
11 years ago
Michael Hansen
8fa9171415
Also use hsRef for the vault functions which "return" lists
11 years ago
Michael Hansen
d2a05929f8
Replace most vault *IncRef() API functions with hsRef versions
11 years ago
Michael Hansen
aa2a1de5d0
Provide an easier/safer way to manage hsRefCnt subclasses
11 years ago
Michael Hansen
b666637a5d
Fix debug crash due to ref miscounting
11 years ago
Michael Hansen
1debf8180b
Convert many of the now-deprecated plString::Format calls to plFormat
11 years ago
Michael Hansen
34b2eb1836
More std::atomic and friends
11 years ago
Michael Hansen
d713a13dbe
Merge pnUtRef with hsRefCnt, and remove the former
11 years ago
Vincent Munsch
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
11 years ago
Michael Hansen
ef04cfcf84
Age Link info names => plString
11 years ago
Darryl Pogue
c06cfd1449
Fix some warnings and some errors.
12 years ago
Adam Johnson
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.
12 years ago
Michael Hansen
5fa72a086f
Clean up some miscellaneous non-optimal string uses
12 years ago
Darryl Pogue
c77cb10c20
Move plJPEG into plGImage.
...
This matches what was done for plPNG.
12 years ago
Michael Hansen
58a8034eb7
Fixes from review by @Hoikas
12 years ago
Michael Hansen
ca916fee49
Add proper member access control to NetVaultNode
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
274812c057
Remove all uses of GuidToString.
12 years ago
Michael Hansen
8158a43dfe
Fully remove hsStlUtils, as it is now completely unused
12 years ago
Michael Hansen
60021923a2
Deprecate and remove xtl::format in favor of plString::Format
12 years ago
Adam Johnson
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.
12 years ago
Michael Hansen
49dfb4e546
Convert SDL (mostly) to plStrings
12 years ago
Michael Hansen
3c2a8c66e7
Remove more empty source files
12 years ago
Adam Johnson
a709e17069
Obliterate hsBool
13 years ago
Joseph Davies
cb697523f9
Add PNG support to the VaultImageNode functions.
13 years ago
Darryl Pogue
704a49fe73
Fix plVault.
...
This means that everything that doesn't depend on non-portable code is
able to compile.
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
6cdcf6a95e
Get rid of most _alloca use and remove ALLOCA().
13 years ago
Darryl Pogue
8a3f0cfd5b
Get rid of DEL() and FREE() macros.
...
Part of CoreLibExe must die.
13 years ago
Adam Johnson
2f53a10fb6
Convert hsConfig defines to cmake -- fixes #93
13 years ago
Adam Johnson
5027b5a4ac
Convert custom HeadSpin integer types to standard types from stdint.h
13 years ago
Adam Johnson
f45679a54f
Make pyVault::AddChronicleEntry a blocking operation to avoid a race
...
condition
13 years ago
Joseph Davies
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.
13 years ago
CyanWorlds
eb2767a5f7
Open source re-licensing
13 years ago
Bartek Bok
e616874a07
Fix for linking to child age
13 years ago
diafero
adc3653296
fix relative includes in PubUtilLib, move them up to where they belong, remvoe some unused files
13 years ago
Darryl Pogue
46c4a457e0
Syntax fixes for PubUtilLib.
13 years ago
Adam Johnson
799a3d13b4
Remove UInts from the heap in the callback code
14 years ago
Adam Johnson
6fefaa11d9
Last minute fixes
14 years ago
Adam Johnson
a921f766d1
Async creation of child ages
14 years ago
Adam Johnson
28e8e0c544
Fix some potential memory leaks
14 years ago
Adam Johnson
7a1c977ded
Async creation of subages (thanks to all the people whose Delins/Tsogals I randomly popped in on)
14 years ago
Adam Johnson
a8b31c8bdb
Some code style fixes
14 years ago
Adam Johnson
9c5be5b5d3
Add async vist age registration
14 years ago