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
e3163d2465
Add (u)int64_t formatters to plStringStream
9 years ago
Michael Hansen
c5f610e3b1
Fix extra character being reserved in plString::Fill
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
Michael Hansen
5ed3e3205c
Add move semantics to plString and plStringStream
10 years ago
Michael Hansen
f93b37e152
Switch plFormat's accumulator to a plStringStream for better performance
11 years ago
Michael Hansen
933ae6ec17
Provide some sample conversions to plFormat for testing and copying
11 years ago
Darryl Pogue
a1e3fa6faf
Various MinGW compile fixes.
11 years ago
Michael Hansen
3d1bcf1988
Whoops-a-birdy
11 years ago
Michael Hansen
05567a2881
Help Coverity figure out how auto string sizes work, and fix 64-bit
...
portability at the same time
11 years ago
Joseph Davies
c0d6556aa3
Use std::regex instead of PCRE.
11 years ago
Michael Hansen
c69d546c69
Fix a VC++2013 compile error
11 years ago
Michael Hansen
dde3be140c
Support negative substring indexes from the right side of the string
12 years ago
Adam Johnson
fc43c62174
CoreLib Precompiled Header
...
NOTE: I used a different header name this time because CoreLib headers are
visible top-level to the rest of the codebase.
12 years ago
Anne Marije van der Meer
58106995b4
infinite loop fix
12 years ago
Michael Hansen
970ad3e729
Add additional functionality to plFileSystem as needed
12 years ago
Michael Hansen
f86b549293
Re-define nil as nullptr, cleaning up some potential issues along the way
12 years ago
Michael Hansen
56e332a3c3
Add basic regex functionality to plString
12 years ago
Michael Hansen
219061c095
Add plFilesystem module, which replaces previous filesystem APIs with a plFileName-based one
12 years ago
Michael Hansen
f736d81cd8
Convert plFileName to "has-a" model for better semantics.
...
You're welcome, branan ;)
12 years ago
Michael Hansen
2b1e05fcc7
Add doxygen docs to plFileName
12 years ago
Michael Hansen
c52a1f1037
Add plFileName::Join static method to join paths together correctly
12 years ago
Michael Hansen
01e25e5d8d
Add plFileName string specialization for filename manipulation
12 years ago
Michael Hansen
b5e35fb314
Add Truncate() method to plStringStream, which truncates the buffer without reallocating memory
12 years ago
Michael Hansen
9903e274bb
Fix issues from review
12 years ago
Michael Hansen
0d949cc137
Add plString::Replace
12 years ago
Michael Hansen
11558b8301
Fix a major plStringStream bug, and add an SSO-like optimization to it
12 years ago
Michael Hansen
7ba8fdf86e
Fix issues from review, and pre-emptively fix a couple of potential plString::Format issues
12 years ago
Michael Hansen
60021923a2
Deprecate and remove xtl::format in favor of plString::Format
12 years ago
Michael Hansen
f510b529f8
Remove unused headers from hsStlUtils.h (and push them downstream where needed)
...
Also fix a couple of plString and header issues identified by Paradox on GCC/Clang
12 years ago
Michael Hansen
a7d4d42b85
Remove an unnecessary extra heap allocation in plString::Format
12 years ago
Michael Hansen
02eebfa9a1
Clean up some useless junk from plString
12 years ago
Michael Hansen
66fe6ed73e
Add UnicodeBuffer as first class data type and allow plStrings to be constructed with it
12 years ago
Darryl Pogue
d1dd98c17b
CoreLib fixes for Linux.
12 years ago
Michael Hansen
49dfb4e546
Convert SDL (mostly) to plStrings
12 years ago
Michael Hansen
188171235e
Add string split and tokenize functions
12 years ago
Michael Hansen
075c535e2c
Some cleanup and a vararg plString usage fix
12 years ago
Michael Hansen
9cc3f404af
Add Short-String Optimization to plString
12 years ago
Michael Hansen
03a1283c27
The licensing stuff was copied from an older code base...
12 years ago
Darryl Pogue
3a8911c1cd
Fix a rather crippling plString bug on Linux.
13 years ago
Bartek Bok
7481a1b5bb
Bad bits
13 years ago
Darryl Pogue
bdf52410e1
Make plString build on mingw.
13 years ago
Michael Hansen
8bf78c0e35
Fix plStringStream for the case of adding a '\0' char non-destructively
13 years ago
Michael Hansen
81465e621b
Add case conversion functionality
13 years ago
Michael Hansen
1511459ffd
Fix String concatenation dereference bug
13 years ago
Michael Hansen
be4b0732d5
Fix string usage that was broken from enabling the Max plugin build
13 years ago
Michael Hansen
bb0ed04a52
Fix some things which got missed from debug builds
13 years ago
Michael Hansen
77a31686da
Fix the plString stuff that didn't get caught in the merge
13 years ago
Michael Hansen
e34414889f
Convert plUoid's object name to a plString
13 years ago