Commit Graph

25 Commits

Author SHA1 Message Date
Ryan Norton
2df0258e2b fix wxString::Replace when new strings are longer than old string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 09:05:40 +00:00
Ryan Norton
7634e443c0 yet more wxString tests for null chars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 23:44:59 +00:00
Mattia Barbon
fb52f6cf85 Allow building with GCC 2.95.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 23:11:03 +00:00
Vadim Zeitlin
00b34ed7ed added a few more UTF-[78] tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 01:14:53 +00:00
Vadim Zeitlin
ec54fe9e18 added small UTF 8 conversion test case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 00:31:47 +00:00
Mattia Barbon
fcbeab2fd8 Additional sanity check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 07:28:42 +00:00
Ryan Norton
8899b155a1 [ 1068188 ] Precompiled header for the test program [Modified a bit]
Regen bakefiles for unit tests


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 05:00:19 +00:00
Ryan Norton
2c09fb3b8b wxMemxxx --> wxTmemxxx, get rid of wxdocmpxxx impossible case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 17:44:40 +00:00
Ryan Norton
15f2ee3270 [ 1054664 ] Implementation of wxMBConvUTF7 (Heavily modified in places), utf7 unit tests change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 22:10:26 +00:00
Ryan Norton
854451e2f8 have wxbuiltin wxmbconvutf7 return -1 (error) not 0. Some cleanups in string.cpp. Add some unit tests for utf7 and cleanups.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 11:13:41 +00:00
Ryan Norton
bdd8f35a58 Handle bad conversions correctly. Add Bad UTF8 test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 10:13:59 +00:00
Václav Slavík
c20d8682bd check if conversion to UTF7 works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 09:29:52 +00:00
Vadim Zeitlin
15e2adbd3b compilation fix for Borland
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 20:17:00 +00:00
Vadim Zeitlin
5b952139e8 fixed the just added wxStringTokenizer::GetPosition() test overwritten by the previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 00:27:02 +00:00
Vadim Zeitlin
296d315635 use unsigned chars for UTF8 data (avoids warnings)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 00:16:27 +00:00
Vadim Zeitlin
76c6fcbc31 added wxStringTokenizer::GetPosition() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 00:14:07 +00:00
Włodzimierz Skiba
0c92403494 Whitespaces, tabs and fix to the lack of empty line at end.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 17:12:26 +00:00
Ryan Norton
f7e98dee7e cocoa doesn't need system framework - string conversion for cocoa - focus for cocoa - a bit of change for string unit tests for new functionality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 02:02:30 +00:00
Ryan Norton
265d5cce05 1.10.2 and less mbtowc and wctomb HAVE THE COOTIEScd .. (they are just stubs and return 0 - we need our own, even in ANSIcd ..!)\n2.Finalize the null character changes in wxString - change mb_str and wc_str to not stop at null characters\n3.Add unit tests for the above
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 22:28:57 +00:00
Ryan Norton
dcb6810279 2.5.3 - cleanups, fixes, etc. etc. -
1. Various stubs for wxCocoa (and the bakefile entries for them)
2. Definitions for some wxCocoa cocoa types in defs.h
3. Hack to attempt to fix SYNC sound for mac carbon
4. Fix for wxCocoa and 10.2 (Dave - I'm already around doing some stuff anyway - I'll go ahead and save you the trouble).
5. 10.2 unicode layer
6. Strings null-char fixes (stems from chartraits patch - essentially the patch minus the chartraits part - HAHA :)) [note to self - swap the 2nd and 3rd params of wxMemchr if you use chartraits and vice versa]
	* If you have time please run the strings and stdstrings cppunit test suite
	* Also add more test suites if you want - more is always better :)
	* This does not include any fixes for mbtowc etc functions as outlined on the ml

7. An attempt to update wxArray docs a little
8. wx/process.h build fix for wxCocoa
9. Unicode fixes in app.mm for wxCocoa
10. Remove newer font panel after Stefan's suggestion


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 08:53:48 +00:00
Vadim Zeitlin
329b43f61b added test for Lower()/Upper() with 8bit chars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 10:46:07 +00:00
Václav Slavík
ad3fca675f test wxString's char<->wchar_t ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 20:11:31 +00:00
Václav Slavík
bd7f096d0e added test for wxString::MakeLower,MakeUpper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:06:52 +00:00
Włodzimierz Skiba
0a19929958 Patch #949276: Less agresive strings test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-21 07:55:13 +00:00
Václav Slavík
1cd53e884b added wxString tests (patch 938082)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 18:55:09 +00:00