cutealien
|
29eee783c8
Change string::split once more
|
4 years ago |
cutealien
|
eb02bd0c56
Code cleanup.
|
5 years ago |
cutealien
|
32585c5ed0
Cleanup: Make some variables const.
|
5 years ago |
cutealien
|
31652f6577
Add function string::insert.
|
5 years ago |
cutealien
|
b5c99752aa
Fix compiling on MinGW/gcc.
|
5 years ago |
cutealien
|
9f7be6e42d
Fix compile warning.
|
5 years ago |
cutealien
|
9a04806c45
Add irr::string::eraseTrailingFloatZeros to kick out trailing 0's for strings generated from floats.
|
5 years ago |
cutealien
|
a1d75811f0
core::string::split now adds delimiter to token before delimiter when keepSeparators is true. That way we never end up with 2 tokens for an original string with a single character.
|
8 years ago |
cutealien
|
39c0393023
core::string::split now handles ignoreEmptyTokens=false correct (as documented)
|
8 years ago |
cutealien
|
d3ac819504
Fix several bugs in multibyteToWString. This also fixes pasting.
|
8 years ago |
cutealien
|
bff50c751d
Spelling fixes.
|
8 years ago |
cutealien
|
15fce47e24
Needed a little more work to disable a warning once in a way such that it doesn't produce other warnings on other compilers.
|
9 years ago |
cutealien
|
6fd8d82d4c
Add multibyteToWString wrapper functions around mbstowcs which work with Irrlicht string class.
|
9 years ago |
cutealien
|
ab330c1204
Replace the swprintf and snprintf defines by swprintf_irr and snprintf_irr to avoid conflicts with the standard libraries (and other libraries).
|
9 years ago |
cutealien
|
5238954d8a
Array index was used before limit check (found by cppcheck tool).
|
10 years ago |
nadro
|
3dc833cc80
Fixed issue with functions for convert from/to UTF8 and shared libs.
|
10 years ago |
nadro
|
3d21af203b
Added helper functions for converting between wchar and utf-8. Patch provided by Hendu.
|
10 years ago |
hybrid
|
0a2330890a
Bump copyright to 2012
|
12 years ago |
cutealien
|
a87bb3a063
- Fix a bunch of off-by one errors in irr::core::string in functions equals_substring_ignore_case, findFirst, findFirstChar, findNext, findLast, findLastChar, replace, remove and removeChars. This prevents some potential memory access errors, find functions no longer try to find the \0, replace no longer replaces the \0 and remove no longer tries to remove it (which did remove the last character instead).
|
12 years ago |
cutealien
|
238f3b7bd8
Fix string::replace which failed replacing substrings at the end when the replacement was longer (thx @ zerochen for reporting). Corresonding tests added.
|
12 years ago |
hybrid
|
9c7e5e02d4
Fix documentation
|
13 years ago |
hybrid
|
79147a2d10
Indentation.
|
13 years ago |
hybrid
|
8995160582
Add a helper typedef to make it easier to query for the underlying character type. Naming is conforming to stl
|
13 years ago |
hybrid
|
5e4d495dcc
Bump copyright dates to 2011.
|
14 years ago |
engineer_apple
|
816d5655fc
- added Halflife 1 Model Loader
|
14 years ago |
hybrid
|
8de33dd4a6
Merged from 1.7 branch, revisions 3270:3288. Several bug fixes in string class, GUI, mesh loaders. Docs and project file updates.
|
14 years ago |
cutealien
|
19dd5282a7
Fix bug in string::replace found and patched by Nalin.
|
14 years ago |
hybrid
|
9e9e55a903
Merged revisions 3218-3270 from branch 1.7. Many bugfixes, mainly in GUI and device, a few mesh loader fixes. Octree culling bug fix.
|
14 years ago |
hybrid
|
95680f93a8
Replace raw xml char implementation with template struct in order to decouple the type from POD types. May also help for 64bit problems or changes needed there.
|
14 years ago |
hybrid
|
5d154682b8
Bug fix for replace method from Nalin.
|
14 years ago |