272 Commits (df19c3be0bf84dce21adcb7d28f5f449225cfd39)

Author SHA1 Message Date
Michael Hansen c5f610e3b1 Fix extra character being reserved in plString::Fill 10 years ago
Michael Hansen 3f39a19d4a No need to duplicate this code. 10 years ago
Michael Hansen 196e10bbea Don't store the '\0' as part of the string when constructing literals 10 years ago
Anne Marije v/d Meer eeec4bac56 - Fixed spaces in plstring docs 10 years ago
Anne Marije v/d Meer ed0c021803 Added gtest. 10 years ago
Darryl Pogue 95c52c0912 Rename UniChar to plUniChar to avoid conflict on OSX. 10 years ago
Darryl Pogue 55ea5a03fa Fix missing header on OSX. 10 years ago
Michael Hansen 30410dbdd8 Some fixes for OSX compilation. Closes #450 10 years ago
Michael Hansen 658d5b6f71 This version of hsEvent more accurately matches the previous (Win32) 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 10 years ago
Michael Hansen e36220cca5 Use std::min and std::max 10 years ago
Michael Hansen 9d67b96837 Fix some errors and warnings when compiling with Clang 10 years ago
Michael Hansen 2bbfa9399d Fixup example 10 years ago
Michael Hansen 19bda88893 Add AVX2 support to hsCpuID, and cleanup some misc related junk 10 years ago
Michael Hansen a1303d6d23 Fix inconsistent line endings :( 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 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
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 10 years ago
Michael Hansen f93b37e152 Switch plFormat's accumulator to a plStringStream for better performance 10 years ago
Michael Hansen aee2f7f7ca Make hsRefCnt atomic, and merge with hsAtomicRefCnt 10 years ago
Michael Hansen d283872da6 Unify leak checkers 10 years ago
Michael Hansen 39867610a2 Fix leak check race condition, and remove an unintentional circular ref 10 years ago
Michael Hansen 7f4701cc1a Add a RefCnt leak debug tracker 10 years ago
Michael Hansen d2a05929f8 Replace most vault *IncRef() API functions with hsRef versions 10 years ago
Michael Hansen aa2a1de5d0 Provide an easier/safer way to manage hsRefCnt subclasses 10 years ago
Michael Hansen 9771baf7dd Fix plStringBuffer constructor with explicit size to count chars, not bytes 10 years ago
Michael Hansen bf5623224c Add plPrintf - a cstdio-directed version of plFormat 10 years ago
Michael Hansen 1debf8180b Convert many of the now-deprecated plString::Format calls to plFormat 10 years ago
Michael Hansen 2c82cdf996 Fix for {.0f} precision in plFormat() 10 years ago
Michael Hansen 1a0420127c Provide some plFormat samples with floats/doubles 10 years ago
Michael Hansen d15f1557b6 Implement plFormat for floating-point types 10 years ago
Michael Hansen e331cbd4f7 ASSume that MSVC is the only compiler who uses the __declspec() syntax 10 years ago
Michael Hansen 688852e658 Put compiler checks in their own cmake module 10 years ago
Michael Hansen 15728bbfb5 Add an hsDeprecated macro for declaring APIs deprecated 10 years ago
Adam Johnson 83b8f6c10b Fix invalid sizeof expressions in HeadSpin.cpp 10 years ago
Michael Hansen d8c3769143 Fix it for standards-complient compilers (GCC/Clang). 10 years ago
Michael Hansen 7d76cae10f Make life simpler. Make life less stupid. Make life work. 10 years ago
Michael Hansen a53f425e38 Fixes for plFormat on GCC/Clang: 10 years ago
Michael Hansen 933ae6ec17 Provide some sample conversions to plFormat for testing and copying 10 years ago