1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +00:00
Commit Graph

263 Commits

Author SHA1 Message Date
ed0c021803 Added gtest.
Added Unittest.
Small fix documentation plString.
2014-10-18 13:15:29 +02:00
95c52c0912 Rename UniChar to plUniChar to avoid conflict on OSX.
OSX defines a UniChar type as part of the OS headers.
2014-10-13 17:32:50 -07:00
55ea5a03fa Fix missing header on OSX. 2014-10-13 17:32:50 -07:00
ba1d7c3ae1 Merge pull request #441 from zrax/headspin_cleanup
HeadSpin.h cleanup
2014-10-13 17:31:47 -07:00
30410dbdd8 Some fixes for OSX compilation. Closes #450 2014-10-12 16:22:16 -07:00
085c00706c Some fixes for Clang 2014-08-10 20:42:09 -07:00
094b0fe557 Move <algorithm> header out of HeadSpin.h 2014-08-09 12:28:20 -07:00
827ea85af0 Remove some additional usless / unused junk 2014-08-09 12:28:20 -07:00
751d760772 Use standard (f)abs functions 2014-08-09 12:28:20 -07:00
fced942020 Safer type-punning 2014-08-09 12:28:19 -07:00
ce53a71990 There is no benefit to the hsFopen macro 2014-08-09 12:28:19 -07: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
e36220cca5 Use std::min and std::max 2014-08-09 12:28:19 -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
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
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
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
f93b37e152 Switch plFormat's accumulator to a plStringStream for better performance 2014-06-04 19:35:30 -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
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
9771baf7dd Fix plStringBuffer constructor with explicit size to count chars, not bytes 2014-06-01 13:01:06 -07:00
8ca4af9a78 Merge pull request #430 from zrax/plFormat_stuff
Start taking over the world with plFormat
2014-05-28 22:25:39 -04:00
bf5623224c Add plPrintf - a cstdio-directed version of plFormat 2014-05-28 18:10:26 -07:00
1debf8180b Convert many of the now-deprecated plString::Format calls to plFormat 2014-05-28 18:10:24 -07:00
2c82cdf996 Fix for {.0f} precision in plFormat() 2014-05-28 18:03:07 -07:00
1a0420127c Provide some plFormat samples with floats/doubles 2014-05-27 18:31:06 -07:00
d15f1557b6 Implement plFormat for floating-point types 2014-05-27 18:31:04 -07:00
e331cbd4f7 ASSume that MSVC is the only compiler who uses the __declspec() syntax 2014-05-24 19:25:43 -07:00
688852e658 Put compiler checks in their own cmake module 2014-05-24 18:56:25 -07:00
15728bbfb5 Add an hsDeprecated macro for declaring APIs deprecated 2014-05-24 18:56:25 -07:00
83b8f6c10b Fix invalid sizeof expressions in HeadSpin.cpp 2014-05-24 20:27:39 -04:00
d8c3769143 Fix it for standards-complient compilers (GCC/Clang).
Unfortunately, this means that all formatters must be declared in the
same place now, as they must be declared BEFORE the template which uses
them is declared (not just before it was instantiated, which MSVC allows).
2014-05-22 19:49:07 -07:00
7d76cae10f Make life simpler. Make life less stupid. Make life work. 2014-05-21 18:26:16 -07:00
a53f425e38 Fixes for plFormat on GCC/Clang:
- int64_t is a typedef of long on Linux/x86_64 -- don't redefine its specialization
- Properly forward-declare the unspecialized variadic template form of _IFormat
2014-05-20 22:27:20 -07:00
c9c7350d36 Merge pull request #420 from zrax/plFormat
plFormat: a type-safe string formatter
2014-05-20 20:49:29 -04:00
69f1e2c511 Merge pull request #413 from zrax/qt_tools
Port GUI Tools to Qt5
2014-05-19 23:23:39 -04:00
933ae6ec17 Provide some sample conversions to plFormat for testing and copying 2014-05-19 18:12:50 -07:00
2cb19d3308 Oops - bits parameter isn't actually used any more 2014-05-19 18:12:50 -07:00