Václav Slavík
|
4e5b3a4eb5
|
added long int operators to wxUniChar (fixes wxMac compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-06-11 12:16:14 +00:00 |
|
Václav Slavík
|
1fc10687bf
|
added wxUniChar::AsUTF8() for easy conversion in UTF8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-06-08 20:17:34 +00:00 |
|
Václav Slavík
|
2c6725e622
|
restored accidentally commented-out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-05-16 13:42:23 +00:00 |
|
Václav Slavík
|
db18be5792
|
added missing operators for int and unsigned char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-05-15 15:02:31 +00:00 |
|
Václav Slavík
|
b0c4d5d792
|
fixed non-const wxString iterators to work when a character is changed to another with different UTF-8 sequence length
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-05-15 13:16:01 +00:00 |
|
Vadim Zeitlin
|
fddca1dce4
|
djgpp doesn't have wint_t as separate type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-05-14 23:21:40 +00:00 |
|
Václav Slavík
|
467175ab3f
|
moved primitive string and string iterators operations to stringops.h/cpp files to make wxString code easier to read
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-04-19 10:05:55 +00:00 |
|
Václav Slavík
|
bc5443ba07
|
fixed wxUniCharRef::IsAscii() definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-04-14 10:45:58 +00:00 |
|
Václav Slavík
|
47b378bd88
|
removed extra semicolons (patch #1700459; fixes compilation with gcc's -pedantic flag)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-04-14 09:58:37 +00:00 |
|
Václav Slavík
|
817270659e
|
initial version of UTF-8 strings representation (still converting to wchar_t* a lot); it has to be explicitly enabled with --enable-utf8 for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-04-12 21:15:07 +00:00 |
|
Vadim Zeitlin
|
153bc803a8
|
add conversion of wxUniChar[Ref] to unsigned int if it's not already covered by conversion to wint_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-04-06 23:16:00 +00:00 |
|
Václav Slavík
|
9cea4218b1
|
wint_t is wchar_t on OS/2 too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-04-01 08:04:32 +00:00 |
|
Václav Slavík
|
171d613212
|
added creation of wxUniChar from int and conversion to int, for backward compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-03-29 18:35:16 +00:00 |
|
Vadim Zeitlin
|
436bb9f539
|
added overloads of operators for wint_t for VC when the code is compiled with /Zc:wchar_t option (default in VC8)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-03-29 15:05:34 +00:00 |
|
Václav Slavík
|
a7ea63e21f
|
split string.{h,cpp} into {string,stringimpl,arrstr}.{h,cpp} to make the files more managable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-03-28 11:35:07 +00:00 |
|
Václav Slavík
|
a962cdf410
|
re-enabled using std::string for wxStringImpl if wxUSE_STL again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-03-28 09:37:34 +00:00 |
|
Vadim Zeitlin
|
c961c0cfca
|
fixed compilation for Windows compilers now after last change: replaced conversions to ushort and uint with a conversion to wint_t but do it for (non-Apple) gcc only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-03-23 15:16:08 +00:00 |
|
Vadim Zeitlin
|
2a686bd333
|
added conversions to unsigned short: this fixes compilation for some platforms where wint_t is ushort (mingw32)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-03-23 15:00:12 +00:00 |
|
Vadim Zeitlin
|
98c4eb3910
|
remove wxWINT_T_IS_TYPEDEF as it seems wint_t is always a typedef (although it can be either unsigned short or unsigned int or possibly something else)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-03-22 19:13:50 +00:00 |
|
Vadim Zeitlin
|
fb52c2b671
|
added macros to avoid code repetition when defining comparison operators; use them to replace existing operators in wxUniChar and wxUniCharRef (fixing bug in the operator== and != of the latter) and added comparison operators for const wxChar * and wxCStrData which are needed to compile existing code comparing pointers with s.c_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-03-22 18:03:02 +00:00 |
|
Vadim Zeitlin
|
bd72306dc8
|
added conversion to unsigned int too: this is needed to be able to pass s[n] to standard toxxx/isyyy() functions under Windows when _MBCS is defined as they're mapped to _mbzzz(unsigned int) in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-03-22 15:24:28 +00:00 |
|
Václav Slavík
|
9f1b1b78e1
|
added wxUniChar <-> unsigned char conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-03-20 15:49:45 +00:00 |
|
Václav Slavík
|
dbecee02ed
|
use wxUin32 for wxUniChar::value_type: we need 32bit for it regardless of the platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-03-19 16:22:11 +00:00 |
|
Václav Slavík
|
d1b7ed6792
|
wxUniChar::unicode_type -> value_type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-03-19 16:17:37 +00:00 |
|
Václav Slavík
|
e3f6cbd99c
|
split wxchar.h into several smaller headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-03-19 14:45:38 +00:00 |
|