Commit Graph

368 Commits

Author SHA1 Message Date
Vadim Zeitlin
098a10bd43 oops, fix the test broken by the last compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 23:21:03 +00:00
Vadim Zeitlin
73efb97d11 ugly VC6 compilation fix (non-ugly doesn't want to work for some reason as VC6 flat out refuses to use our overloaded operator<<)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 22:50:15 +00:00
Vadim Zeitlin
0b08b5e216 fix Normalize() test: can't use temporary wxStrings to initialize wxChar* pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-23 11:19:48 +00:00
Vadim Zeitlin
753874333a reverted the change of r56246 and keep the old behaviour of MB2WC/WC2MB; document it even more clearly and correct code using these functions incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 11:31:22 +00:00
Vadim Zeitlin
27895e2f37 fix off by one bug in the buffer size (fixes #10039)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 14:51:45 +00:00
Vadim Zeitlin
d1de94e062 another attempt at fixing VC6 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 09:42:28 +00:00
Vadim Zeitlin
22fd83c027 reverted the last commit and do not define operator<<(wxFileOffset) for VC > 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 08:52:29 +00:00
Vadim Zeitlin
5a9f031e29 apparently operator<<(wxFileOffset) is needed for all VC versions, not just VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 21:32:04 +00:00
Vadim Zeitlin
9fdc17f534 define operator<<(wxFileOffset) for VC6 only, it breaks compilation for at least wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 16:52:30 +00:00
Vadim Zeitlin
3fddc3a0bc VC6 compilation fixes (#10059)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 16:06:36 +00:00
Michael Wetherell
cd937026b3 VC++ 6 compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 09:29:45 +00:00
Vadim Zeitlin
2c19a02305 fix VC9 compilation: FileNameInfo identifier conflicts with an enum name in the SDK it uses, so rename it to TestFileNameInfo [backport of r55906 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 10:26:44 +00:00
Vadim Zeitlin
6169b1f960 disable the test declarations and not just the definitions if we don't have strtoll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 03:02:19 +00:00
Vadim Zeitlin
f5482726ac disable test which doesn't work without setenv()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 02:59:37 +00:00
Vadim Zeitlin
64ec9666a6 disable the test if we have no strtoll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 02:30:40 +00:00
Vadim Zeitlin
79c723cb5e fix signed/unsigned comparison warning by using CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 02:19:03 +00:00
Vadim Zeitlin
bc26d147ac removed a test which doesn't really work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 02:18:01 +00:00
Václav Slavík
223f9891fd regenerated all 2.8 makefiles with bakefile-0.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 10:59:26 +00:00
Vadim Zeitlin
0c2cc3c833 correct DateTimeTestCase::TestTimeTicks() [backport of r53902 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:32:26 +00:00
Vadim Zeitlin
35a19b88d9 define TEST_NET as 0 instead of leaving it undefined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 19:16:15 +00:00
Vadim Zeitlin
0a1863bca2 disable tests which fail in build bot builds on test drive machines, as nobody is going to fix them anyhow it's better to at least be able to notice any new breakage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 18:49:55 +00:00
Kevin Ollivier
e2e6bba44d Rebake with 0.2.3.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 00:52:22 +00:00
Michael Wetherell
e2cd68454a Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-20 22:20:17 +00:00
Vadim Zeitlin
980abc9e64 don't write wide string to std::ostream which outputs them as pointer values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 22:15:18 +00:00
Vadim Zeitlin
ee635d523a fix bug with parsing negative time zones in ParseRfc822Date()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 23:35:40 +00:00
Robin Dunn
c4ce3de05c rebaked with new version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 18:42:32 +00:00
Vadim Zeitlin
0f6089b1b7 backport WX_ASSERT_SIZET_EQUAL from trunk, use it to fix compilation of the test on 64 bit platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 22:15:08 +00:00
Robin Dunn
4c604e3e77 rebake with new version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:18:34 +00:00
Robin Dunn
aec20c9c0f bake with bakefile 0.2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 23:39:10 +00:00
David Elliott
5b89dd4a73 Regenerate all of the Makefile.in files with Bakefile 0.2.2.
* Minor whitespace changes in WINDRES commands
* Updates version to 2.8.4 from 2.8.2.
* Other minor generation differences.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 16:24:17 +00:00
Michael Wetherell
eb03e7fe93 Register the test under the name displayed by "./test -l"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 15:59:12 +00:00
Václav Slavík
89b6915f14 added wxString::[w]char_str() to 2.8 for forward compatibility with wx3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 12:25:40 +00:00
Robin Dunn
01ffc0fba2 rebaked makefiles with new version numbers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 16:52:00 +00:00
Vadim Zeitlin
b901ac2c3b disabled wxMBConv(wxFONTENCODING_UTF7) test -- it doesn't work under Unix with iconv()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 00:19:57 +00:00
Vadim Zeitlin
0f0298b10c added wxCSConv::IsOk() (patch 1637944)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 20:39:10 +00:00
Vadim Zeitlin
fb96cf856e added wxDateTime::GetDateOnly()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 14:06:37 +00:00
Vadim Zeitlin
b726328b48 added support and enable long long support when wxLongLong_t is available even if SIZEOF_LONG_LONG is not under wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:58:17 +00:00
Vadim Zeitlin
35c4b4da0a fix wxConfig::DeleteGroup() for arguments with trailing slash (replaces patch 1624589)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:36:54 +00:00
Vadim Zeitlin
f2bbe5b675 fixes and workarounds to return value of our own wxVsnprintf_() implementation: handle -1 as error and not an indication that there is not enough space (patch 1623077)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:17:28 +00:00
Vadim Zeitlin
9b9596de5e corrected tests to deal with multiple consecutive (back)slashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-17 14:49:50 +00:00
Vadim Zeitlin
34841b216c added test for parsing c:\\aaa\bbb\ccc paths (aaa shouldn't be interpreted as network share)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-17 14:13:23 +00:00
Vadim Zeitlin
698581160d for for initializing wxFileName with empty string returning true from IsOk() and tests for the correct behaviour (patch 1617156)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-16 23:11:48 +00:00
Vadim Zeitlin
0646b21922 test both wxMBConvUTFxx and wxCSConv(wxFONTENCODING_UTFxx), they should behave the same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-16 15:09:32 +00:00
Vadim Zeitlin
b51abd7380 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 15:58:32 +00:00
Vadim Zeitlin
6f3e46c204 added test cases for wxTextInputStream and UTF-xx encoded text (based on patch 1611286)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 15:57:33 +00:00
Vadim Zeitlin
db419f1f32 added test for Get/UngetWriteBuf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:03:24 +00:00
Vadim Zeitlin
126bd656a7 also check for RenameGroup() calls which don't/shouldn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 22:12:34 +00:00
Vadim Zeitlin
3ca1046155 extend RenameGroup() test to demonstrate the bug 705022
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 22:00:59 +00:00
Vadim Zeitlin
e1a2c7a527 use CPPUNIT_ASSERT_EQUAL() to be able to see the error in wxFileConfig tests easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 21:59:17 +00:00
Michael Wetherell
cc4a79c0f0 A couple more tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 22:49:45 +00:00