Woopsi 1.1 is now available:
http://woopsi.org
The majority of fixes and enhancements this time around centre on the WoopsiString class. It now has a few more operator overloads and additional functions such as format(), split() and indexOf(). The full changelog is as follows:
Fixes:
- Slider arrow buttons work correctly.
- WoopsiString::compareTo() returns s8 instead of s32.
- WoopsiString::compareTo() sorts Chinese text correctly (carpfish).
- ProgressBar at 100% completion no longer overflows the printout char array (carpfish).
- FileListBox handles paths with unicode names correctly (carpfish).
- Removed Debug::wvsnprintf().
- Debug:
utput() receives a WoopsiString reference instead of a char pointer.
- Debug:
rintf() uses WoopsiString::format() instead of vsnprintf().
- WoopsiString::subString() returns a WoopsiString instead of a pointer to a WoopsiString.
- Install batch file works correctly with latest directory structure.
New Features:
- Added StringIterator::getInteger() (carpfish).
- WoopsiString::compareTo() implements a simplistic natural sort (carpfish).
- Added WoopsiString::indexOf(const char* text) (carpfish).
- Added WoopsiString::indexOf(const char* text, s32 startIndex) (carpfish).
- Added WoopsiString::indexOf(const WoopsiString& string, s32 startIndex, s32 count) (carpfish).
- Added WoopsiString::lastIndexOf(const char* text) (carpfish).
- Added WoopsiString::lastIndexOf(const char* text, s32 startIndex) (carpfish).
- Added WoopsiString::lastIndexOf(const WoopsiString& string, s32 startIndex, s32 count) (carpfish).
- Added WoopsiString + operator overload (carpfish).
- Added WoopsiString += operator overload (carpfish).
- Added WoopsiString == operator overload (carpfish).
- Added WoopsiString != operator overload (carpfish).
- Added WoopsiString::format() (carpfish).
- Added WoopsiString::init() and moved repeated code out of constructors.
- Added case sensitive switch to WoopsiString::compareTo() (carpfish).
- Added WoopsiString::replace() (carpfish).
- Added WoopsiString constructor to create a new string from a substring of another.
- Added WoopsiString::split() (carpfish).
- Added WoopsiString::setText() overload to set to a copy of a substring.