b3488242f8
Check if CMake is accessible before trying to invoke it.
...
The default option in CMake's installer is to not install itself into the path. Our directions on http://h-uru.github.io/Plasma/ remind the user to select the correct option, but they may overlook this, and be faced with an error running this script. Adding a specific message here during this case will help guide them to self-fixing the problem.
2014-10-12 16:56:43 -07:00
f3635a9871
Don't build tools for which the script won't prepare the system.
...
Our current simple instructions do not include any mention of, nor does the current devlibs.zip contain, Qt5 (required for building Tools) or PyGTK (required to build resource.dat). This removes those projects by default for people using this script.
2014-10-12 14:40:15 -07:00
75bf2965d3
Add path for PhysX default installation on 64-bit Windows systems.
2014-10-12 14:13:06 -07:00
4f5a941d41
Merge pull request #446 from zrax/clang_fixes
...
Fix some errors and warnings when compiling with Clang
2014-08-09 12:25:16 -07:00
9d67b96837
Fix some errors and warnings when compiling with Clang
2014-08-09 12:19:14 -07:00
a1303d6d23
Fix inconsistent line endings :(
2014-07-27 13:57:39 -07:00
b1e93f92f4
Merge pull request #443 from zrax/cxx11_synch
...
C++11 synchronization primitives
2014-07-26 20:22:40 -04:00
474b54396b
Reintroduce (and enforce use of) hsLockFor{Reading,Writing}
2014-07-26 13:05:43 -07:00
5836af7268
Clean up hsReaderWriterLock
2014-07-26 12:47:54 -07:00
f83ec34c67
Move the old IPC-based semaphore to hsGlobalSemaphore, and provide a
...
"normal" (inter-thread only) semaphore class.
2014-07-26 11:09:15 -07:00
b774548066
Simplify plDispatch mutexes a bit
2014-07-26 11:07:05 -07:00
a669abf10e
Use C++11 threading for hsEvent, and clean up the API a bit
2014-07-26 11:06:46 -07:00
2947acb2c8
Replace hsMutex with std::mutex
2014-07-25 23:39:53 -07:00
964256411e
Merge pull request #442 from zrax/plString-construction
...
plString constructor enhancements
2014-07-25 22:32:27 -04:00
5ed3e3205c
Add move semantics to plString and plStringStream
2014-07-25 18:20:25 -07:00
fa1bb779e5
Add explicit string literal overload to try to help Coverity (and
...
avoid a strlen call to boot).
2014-07-25 18:15:10 -07:00
a82c110a9a
Merge pull request #438 from zrax/plFormat_stream
...
Switch plFormat's accumulator to a plStringStream for better performance
2014-07-15 21:48:54 -04:00
d27f102166
Merge pull request #437 from zrax/hsRef
...
Clean up ref-counting
2014-07-15 21:33:18 -04:00
04cb57a2ad
Merge pull request #418 from dpogue/timer
...
std::chrono hsTimer
2014-07-05 14:16:26 -04:00
f5b2bddbb2
Always use hsTimer for profile stats.
...
This fixes the weird flickering and inaccurate numbers that were showing up on Windows.
2014-06-28 21:39:17 -07: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
a3ae4201a2
Template-ize hsTimer return values.
2014-06-28 18:14:26 -07:00
5b0652cb7e
std::chrono-ize hsTimer.
2014-06-28 18:14:24 -07:00
6fb7090eed
Remove unused pnUtTime functions.
2014-06-28 18:14:23 -07:00
f783af5eff
Merge pull request #440 from cwalther/textrendering-fade
...
Fix shadowed text fading
2014-06-12 14:08:02 -04:00
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.
2014-06-07 18:22:41 +02: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
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
f68556c04d
Merge pull request #439 from Hoikas/createplayer-crash
...
Fix inappropriate UnRefing in VaultCreateNodeTrans
2014-06-05 17:26:33 -04:00
c84aee11a6
Merge pull request #411 from Hoikas/plclient-cleaning
...
Some plClient Cleanups
2014-06-05 17:25:14 -04:00
f578a42ab1
Merge pull request #423 from Hoikas/agesdl
...
Fix Age.SetSDL commands
2014-06-05 17:25:11 -04:00
8f8bad63f0
Fix inappropriate UnRefing in VaultCreateNodeTrans
2014-06-05 17:13:41 -04:00
f93b37e152
Switch plFormat's accumulator to a plStringStream for better performance
2014-06-04 19:35:30 -07:00
d113642a61
Fix typo in non-Win32 logging code
2014-06-03 21:32:02 -07:00
dd23320f5e
Merge pull request #434 from Hoikas/dupe-callback
...
Fix dupe callbacks in VaultAddChildNode
2014-06-03 20:54:54 -07: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
ec2d5a5d42
Merge pull request #419 from Hoikas/physx_sleep
...
Fix long-standing physical sleep issue.
2014-06-02 09:39:24 -07:00
aee2f7f7ca
Make hsRefCnt atomic, and merge with hsAtomicRefCnt
2014-06-01 13:34:19 -07:00
d283872da6
Unify leak checkers
2014-06-01 13:34:18 -07:00
39867610a2
Fix leak check race condition, and remove an unintentional circular ref
2014-06-01 13:34:18 -07:00
7f4701cc1a
Add a RefCnt leak debug tracker
2014-06-01 13:34:17 -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
b49b9f384c
Merge pull request #436 from zrax/plStringBuffer_sizeof
...
Fix plStringBuffer constructor with explicit size to count chars, not bytes
2014-06-01 16:25:30 -04:00
9771baf7dd
Fix plStringBuffer constructor with explicit size to count chars, not bytes
2014-06-01 13:01:06 -07:00
7a3ac456a2
Merge pull request #433 from zrax/refcnt
...
Fix debug crash due to ref miscounting
2014-05-29 12:15:19 -04:00
92a0da34a8
Fix invalid format string
2014-05-29 11:51:19 -04:00
b666637a5d
Fix debug crash due to ref miscounting
2014-05-28 22:59:42 -07:00