Darryl Pogue
70d037353f
Fix for timeval on OSX.
10 years ago
Darryl Pogue
ba1d7c3ae1
Merge pull request #441 from zrax/headspin_cleanup
...
HeadSpin.h cleanup
10 years ago
Darryl Pogue
4f43be3eb2
Merge pull request #452 from zrax/osx_fix
...
Some fixes for OSX compilation. Closes #450
10 years ago
Michael Hansen
30410dbdd8
Some fixes for OSX compilation. Closes #450
10 years ago
Michael Hansen
085c00706c
Some fixes for Clang
10 years ago
Michael Hansen
094b0fe557
Move <algorithm> header out of HeadSpin.h
10 years ago
Michael Hansen
827ea85af0
Remove some additional usless / unused junk
10 years ago
Michael Hansen
751d760772
Use standard (f)abs functions
10 years ago
Michael Hansen
fced942020
Safer type-punning
10 years ago
Michael Hansen
ce53a71990
There is no benefit to the hsFopen macro
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
e36220cca5
Use std::min and std::max
10 years ago
Darryl Pogue
4f5a941d41
Merge pull request #446 from zrax/clang_fixes
...
Fix some errors and warnings when compiling with Clang
10 years ago
Michael Hansen
9d67b96837
Fix some errors and warnings when compiling with Clang
10 years ago
Michael Hansen
a1303d6d23
Fix inconsistent line endings :(
10 years ago
Adam Johnson
b1e93f92f4
Merge pull request #443 from zrax/cxx11_synch
...
C++11 synchronization primitives
10 years ago
Michael Hansen
474b54396b
Reintroduce (and enforce use of) hsLockFor{Reading,Writing}
10 years ago
Michael Hansen
5836af7268
Clean up hsReaderWriterLock
10 years ago
Michael Hansen
f83ec34c67
Move the old IPC-based semaphore to hsGlobalSemaphore, and provide a
...
"normal" (inter-thread only) semaphore class.
10 years ago
Michael Hansen
b774548066
Simplify plDispatch mutexes a bit
10 years ago
Michael Hansen
a669abf10e
Use C++11 threading for hsEvent, and clean up the API a bit
10 years ago
Michael Hansen
2947acb2c8
Replace hsMutex with std::mutex
10 years ago
Adam Johnson
964256411e
Merge pull request #442 from zrax/plString-construction
...
plString constructor enhancements
10 years ago
Michael Hansen
5ed3e3205c
Add move semantics to plString and plStringStream
10 years ago
Michael Hansen
fa1bb779e5
Add explicit string literal overload to try to help Coverity (and
...
avoid a strlen call to boot).
10 years ago
Adam Johnson
a82c110a9a
Merge pull request #438 from zrax/plFormat_stream
...
Switch plFormat's accumulator to a plStringStream for better performance
10 years ago
Adam Johnson
d27f102166
Merge pull request #437 from zrax/hsRef
...
Clean up ref-counting
10 years ago
Adam Johnson
04cb57a2ad
Merge pull request #418 from dpogue/timer
...
std::chrono hsTimer
10 years ago
Darryl Pogue
f5b2bddbb2
Always use hsTimer for profile stats.
...
This fixes the weird flickering and inaccurate numbers that were showing up on Windows.
11 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.
11 years ago
Darryl Pogue
a3ae4201a2
Template-ize hsTimer return values.
11 years ago
Darryl Pogue
5b0652cb7e
std::chrono-ize hsTimer.
11 years ago
Darryl Pogue
6fb7090eed
Remove unused pnUtTime functions.
11 years ago
Adam Johnson
f783af5eff
Merge pull request #440 from cwalther/textrendering-fade
...
Fix shadowed text fading
11 years ago
Christian Walther
689941ba64
Modulate text shadow opacity by the alpha of the text color to make the player lists fade properly.
...
Also, the text of the faded-out player list is re-rendered with alpha == 0 every time the mouse enters its area, do a little less needless work in that case.
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
f187d98a76
Revert "Fix inappropriate UnRefing in VaultCreateNodeTrans"
...
This reverts commit 8f8bad63f0
. It didn't do
what it claimed to.
11 years ago
Adam Johnson
f68556c04d
Merge pull request #439 from Hoikas/createplayer-crash
...
Fix inappropriate UnRefing in VaultCreateNodeTrans
11 years ago
Adam Johnson
c84aee11a6
Merge pull request #411 from Hoikas/plclient-cleaning
...
Some plClient Cleanups
11 years ago
Adam Johnson
f578a42ab1
Merge pull request #423 from Hoikas/agesdl
...
Fix Age.SetSDL commands
11 years ago
Adam Johnson
8f8bad63f0
Fix inappropriate UnRefing in VaultCreateNodeTrans
11 years ago
Michael Hansen
f93b37e152
Switch plFormat's accumulator to a plStringStream for better performance
11 years ago
Michael Hansen
d113642a61
Fix typo in non-Win32 logging code
11 years ago
Michael Hansen
dd23320f5e
Merge pull request #434 from Hoikas/dupe-callback
...
Fix dupe callbacks in VaultAddChildNode
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
Joseph Davies
ec2d5a5d42
Merge pull request #419 from Hoikas/physx_sleep
...
Fix long-standing physical sleep issue.
11 years ago
Michael Hansen
aee2f7f7ca
Make hsRefCnt atomic, and merge with hsAtomicRefCnt
11 years ago
Michael Hansen
d283872da6
Unify leak checkers
11 years ago
Michael Hansen
39867610a2
Fix leak check race condition, and remove an unintentional circular ref
11 years ago