Michael Hansen
6a46c98dea
Fix derp
9 years ago
Michael Hansen
0332ce0f5a
Mark the parts of plString which are noexcept-safe as such
9 years ago
Michael Hansen
a1d563c920
Remove HS_NO_EXCEPTIONS support. It wasn't true anyway.
9 years ago
Michael Hansen
847c64eeab
HSMemory::SoftNew is unused, and can be done with pure standard C++ anyway
9 years ago
Michael Hansen
a8250a1899
Derive hsException from std::exception and implement a reasonable what()
9 years ago
Michael Hansen
165ab66e87
Remove unused hsBadAlloc exception
9 years ago
Michael Hansen
45be91c0e3
Add two new compiler feature tests
9 years ago
Adam Johnson
38fc821aaa
Revert "Merge pull request #507 from Hoikas/smexy-init"
...
This reverts commit 39524f885b
, reversing
changes made to 3d09095df1
.
9 years ago
Adam Johnson
4d5c10f775
Move plClient init to a thread
...
This means that most users should see the game window pop up immediately
after pressing login instead of seeing "Starting URU... Please wait"
9 years ago
Michael Hansen
132f5cfd15
Reduce warning spam by un-marking va_list functions as deprecated,
...
and ensuring all callers of such are marked deprecated
9 years ago
Michael Hansen
cea5a37027
Add deprecated warning for all remaining callers of plString::IFormat
...
Remove deprecated warning for plString::IFormat, since it is a helper
9 years ago
Darryl Pogue
75dc93db2a
Add plFormat handler for hsMatrix44.
9 years ago
Michael Hansen
7a7293e8c6
Get rid of plString::Format
9 years ago
Michael Hansen
4b4de0e135
Remove a few unused vars
9 years ago
Michael Hansen
7cdf7f133a
Several "low-hanging fruit" Coverity fixes which shouldn't affect behavior
9 years ago
Michael Hansen
ce141a7f26
Some fixes for Visual C++
9 years ago
Michael Hansen
890454a30f
Support '+' format for floating-point types as well
9 years ago
Michael Hansen
db8d2b8044
Non-decimal int formatters
9 years ago
Michael Hansen
76372424cd
Test plFormat's decimal conversions, and fix several issues with signed
...
decimal formatting (especially with negative values)
9 years ago
Michael Hansen
19150c7e4a
Start adding plFormat tests, and remove assert to match plString
9 years ago
Michael Hansen
56553c8271
Use U+FFFD on Debug code too, and finish test cases for replacement
9 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
9 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.
9 years ago
Michael Hansen
6ad2f7ae24
Fix ErrorAssert handling to allow bypassing the assert if we're attached to a debugger
9 years ago
Michael Hansen
68e2dba439
Shuffle headers a bit
9 years ago
Michael Hansen
96bc3a1c7e
Also trigger the debugger from Unix if possible
9 years ago
Darryl Pogue
db7bf2b3b7
Added Linux check for debugger presence.
9 years ago
Michael Hansen
46761ee07d
Make hsAssert useful on Linux
9 years ago
Michael Hansen
e3163d2465
Add (u)int64_t formatters to plStringStream
9 years ago
Michael Hansen
7ae3ba9926
Clean up some incorrect uses of operator delete
9 years ago
Michael Hansen
fb0fc2fdb6
Fix plFormat bug preventing anything after an escape ("{{") from being processed
9 years ago
Darryl Pogue
6ba5822117
Move plCmdParser to CoreLib.
10 years ago
Michael Hansen
ff9fc45149
Add POSIX version of error message in plSecureStream::IRead
10 years ago
Michael Hansen
9b37590ca8
Set HS_DEBUGGING properly on non-MSVC compilers
10 years ago
Darryl Pogue
352172e41b
Fix HS_DEBUGGING for non-MSVC compilers.
10 years ago
Michael Hansen
8bbb560966
Require C++14 for std::make_unique
10 years ago
Michael Hansen
10a827ba52
Let CMake decide when to start using constexpr
10 years ago
Michael Hansen
5feefe8ea4
Fix/remove some incorrect uses of the arrsize macro
10 years ago
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
...
- Moved the CRT flag
- removed format tests as plString::format is deprecated.
10 years ago
Anne Marije v/d Meer
ed0c021803
Added gtest.
...
Added Unittest.
Small fix documentation plString.
10 years ago
Darryl Pogue
95c52c0912
Rename UniChar to plUniChar to avoid conflict on OSX.
...
OSX defines a UniChar type as part of the OS headers.
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
Vincent Munsch
7ce6dfceeb
make hsAssert variadic (to allow printf like error message)
10 years ago
Michael Hansen
658d5b6f71
This version of hsEvent more accurately matches the previous (Win32)
...
behavior, and also serves as a proper binary semaphore.
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