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
|
e3163d2465
|
Add (u)int64_t formatters to plStringStream
|
9 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 |
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
avoid a strlen call to boot).
|
10 years ago |
Michael Hansen
|
f93b37e152
|
Switch plFormat's accumulator to a plStringStream for better performance
|
11 years ago |
Michael Hansen
|
9771baf7dd
|
Fix plStringBuffer constructor with explicit size to count chars, not bytes
|
11 years ago |
Michael Hansen
|
15728bbfb5
|
Add an hsDeprecated macro for declaring APIs deprecated
|
11 years ago |
Michael Hansen
|
a58e9c643c
|
Clean up some warnings, and make the CRT ones more relevant
|
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 |
Michael Hansen
|
387e23061a
|
Minor changes to hash and hash_i to avoid making a copy of the string data
|
11 years ago |
Adam Johnson
|
249f26c53f
|
plString Hash for unordered containers
|
11 years ago |
Darryl Pogue
|
786f06eafc
|
Fix plString ssize_t undefined errors.
|
11 years ago |
Michael Hansen
|
dde3be140c
|
Support negative substring indexes from the right side of the string
|
12 years ago |
Darryl Pogue
|
43ca24e167
|
Fix some plString/plFileSystem issues for *nix.
|
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
|
6f6ade2636
|
Replace hsStream::Open duplicated methods everywhere with a single plFileName interface
|
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
|
5fa72a086f
|
Clean up some miscellaneous non-optimal string uses
|
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
|
dbb3b1a5b6
|
Add a Doxyfile and some plString documentation
|
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
|
8158a43dfe
|
Fully remove hsStlUtils, as it is now completely unused
|
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
|
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 |
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
|
c68724765b
|
Some minor cleanup for readability
|
12 years ago |
Michael Hansen
|
b219c3c3cc
|
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
|
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
|
92c5070736
|
Remove dependency on <functional>
|
12 years ago |
Michael Hansen
|
03a1283c27
|
The licensing stuff was copied from an older code base...
|
12 years ago |
Darryl Pogue
|
ab8d7619d3
|
Remove the pragma stuff since there's no warning.
|
13 years ago |
Darryl Pogue
|
b5d9c3ffec
|
Use a correct value that doesn't cause warnings.
|
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 |