Michael Hansen
93eb41b1fe
Fix some legitimate bugs found by Coverity which MAY IMPACT BEHAVIOR!
10 years ago
Michael Hansen
4b4de0e135
Remove a few unused vars
10 years ago
Michael Hansen
7cdf7f133a
Several "low-hanging fruit" Coverity fixes which shouldn't affect behavior
10 years ago
Michael Hansen
b9b02d757c
Merge pull request #491 from Hoikas/stlize
...
GBufferGroup hsTArray -> std::vector
10 years ago
Adam Johnson
5b9f915e8e
Merge pull request #492 from zrax/string_tests
...
String tests
10 years ago
Adam Johnson
a12ca240f9
Merge pull request #493 from zrax/gtest-1.7
...
Update to GTest 1.7.0, which has better Clang/libc++ support
10 years ago
Adam Johnson
f48a80ab60
Nuke totally unnesecary vector pointer
10 years ago
Adam Johnson
4c68c6e5f8
Reserve GBufferGroup vector memory
10 years ago
Michael Hansen
913797dba5
Merge pull request #435 from v1nc3ntm/macro
...
make hsAssert variadic (to allow printf-like message)
10 years ago
Michael Hansen
e53a35652f
Update to GTest 1.7.0, which has better Clang/libc++ support
10 years ago
Michael Hansen
ce141a7f26
Some fixes for Visual C++
10 years ago
Michael Hansen
043b8b3b95
Add floating point and boolean formatting tests
10 years ago
Michael Hansen
a6cbdc2f13
Add test for recently discovered bug in stack-buffer-constructed plStrings
10 years ago
Michael Hansen
890454a30f
Support '+' format for floating-point types as well
10 years ago
Michael Hansen
db8d2b8044
Non-decimal int formatters
10 years ago
Michael Hansen
76372424cd
Test plFormat's decimal conversions, and fix several issues with signed
...
decimal formatting (especially with negative values)
10 years ago
Michael Hansen
19150c7e4a
Start adding plFormat tests, and remove assert to match plString
10 years ago
Michael Hansen
e208a00db5
Extend Tokenize, Split and Fill
10 years ago
Michael Hansen
76ec2e93da
Add utility test block, and extend Replace/ToUpper/ToLower
10 years ago
Michael Hansen
e65b53956f
More extensive Left/Right/Substr, and use 'plString' for the test group
10 years ago
Michael Hansen
f626b9ef3d
More trim test cases
10 years ago
Michael Hansen
185066ac52
Add comparison tests
10 years ago
Michael Hansen
d7dec159cf
Also extend FindString, and get rid of unnecessary temporary
10 years ago
Michael Hansen
d5e6abdc5b
Also test conversion length and empty string conversions
10 years ago
Michael Hansen
bde485109c
More extensive FindChar
10 years ago
Michael Hansen
56553c8271
Use U+FFFD on Debug code too, and finish test cases for replacement
10 years ago
Michael Hansen
5e39c31345
Add test for conversion of invalid characters to a replacement
10 years ago
Michael Hansen
d8e6d79fbd
More fully test encoding conversions. Also fixes some existing bugs:
...
- UTF-16 surrogate pairs were getting encoded incorrectly
- Signed shift converting from ISO-8859-1 got too many bits
- Edge case incorrect for converting to ISO-8859-1
10 years ago
Michael Hansen
09d4e5666f
Fix plString constructors from getting the wrong size when using a char
...
array on the stack. They were incorrectly using the string literal
constructor.
10 years ago
Adam Johnson
a2842b5d86
Fix some debug stragglers
10 years ago
Adam Johnson
7721eebcc1
WTF constructor...
10 years ago
Adam Johnson
662552e6e8
plGBufferGroup device refs to std::vector
10 years ago
Adam Johnson
6fd7ba5b8d
plGBufferGroup index storage to std::vector
10 years ago
Adam Johnson
a94fc1bf0b
plGBufferGroup vertex storage to std::vector
10 years ago
Adam Johnson
e7a0f4a4d1
GBufferGroup colors to std::vector
10 years ago
Adam Johnson
eae9088911
Convert plGBufferCell hsTArrays to std::vector
10 years ago
Joseph Davies
435965f44f
Merge pull request #490 from Hoikas/startup_anywhere
...
Allow internal clients to start in any age
10 years ago
Adam Johnson
9264224123
Allow internal clients to start in any age.
...
Usage: plClient.exe /PlayerId=[kinum] /Age=[agefilename]
10 years ago
Adam Johnson
28758b9469
Merge pull request #486 from zrax/hsAssert_linux
...
Make hsAssert useful on Linux / Mac
10 years ago
Adam Johnson
89893745d3
Merge pull request #484 from zrax/delete_fixes
...
Clean up some incorrect uses of operator delete
10 years ago
Michael Hansen
f11cde086d
Merge pull request #485 from dpogue/cleanups
...
Fixes and small cleanups
10 years ago
Michael Hansen
6ad2f7ae24
Fix ErrorAssert handling to allow bypassing the assert if we're attached to a debugger
10 years ago
Michael Hansen
68e2dba439
Shuffle headers a bit
10 years ago
Michael Hansen
96bc3a1c7e
Also trigger the debugger from Unix if possible
10 years ago
Darryl Pogue
db7bf2b3b7
Added Linux check for debugger presence.
10 years ago
Michael Hansen
46761ee07d
Make hsAssert useful on Linux
10 years ago
Darryl Pogue
d36b7801bc
Remove deprecated `register` keyword.
10 years ago
Darryl Pogue
608afb4270
Fix plKeyImp warning about comparison of this and nullptr.
10 years ago
Darryl Pogue
00ad401191
Various small cleanups.
10 years ago
Darryl Pogue
e179a1e206
Delete a bunch of unused plMath classes.
10 years ago