Commit Graph

48569 Commits

Author SHA1 Message Date
Vadim Zeitlin
a2bbedf07d added test for wxDC-based image scaling; updated copyright
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 14:53:17 +00:00
Vadim Zeitlin
437950ced1 paint background by default to avoid unexpected sample appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 14:34:18 +00:00
Vadim Zeitlin
727539d8bb improve wxTreeItemData documentation (closes #10662)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 13:07:24 +00:00
Vadim Zeitlin
85fcb94fc9 implement GetImageCount() for GIF handler (closes #10663); added test for it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 12:52:22 +00:00
Vadim Zeitlin
3b8ec767b9 allow reading GIFs with incorrectly specified animation size (closes #9465)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 12:31:54 +00:00
Vadim Zeitlin
24a5629aed define HAVE_SSIZE_T if we define ssize_t ourselves to prevent redefinitions in other libraries headers (closes #10674)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 12:16:58 +00:00
Vadim Zeitlin
390b8241d3 revert r60023 and really fixed compilation problems caused by r60017 by providing assertEquals(const char *, const char *) overload as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 23:55:05 +00:00
Vadim Zeitlin
0eb83a1a72 compilation fix after r60017
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 22:33:20 +00:00
Michael Wetherell
cc90c1cc3e Fixes for archive tests on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 22:12:04 +00:00
Vadim Zeitlin
245ff47f7c fix the test for !wxUSE_UNICODE_UTF8 builds: don't suppose that strings are UTF-8 encoded in VsnprintfTestCase::S() but use FromUTF8() explicitly (how did it manage to work with VC9 before?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 16:45:23 +00:00
Vadim Zeitlin
599d12919c allow symmetric comparisons to work too in CPPUNIT_ASSERT_EQUAL (e.g. wxString==char*, size_t==int and not only char*==wxString, int==size_t)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 16:43:36 +00:00
Vadim Zeitlin
3879212eee fix VsnprintfTestCase::P() for mingw32 which may use MSVC CRT (closes #10679)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 16:02:23 +00:00
Stefan Csomor
17db93e969 adding API note
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 13:34:08 +00:00
Vadim Zeitlin
df6de630f5 fix test failure on glibc systems which do not use %T; also replace CompareTimeFormats() with a macro to get failure messages on the right line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 12:09:54 +00:00
Vadim Zeitlin
0c51a971fb no changes, just removed unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 12:08:50 +00:00
Vadim Zeitlin
79c4aa385f fix parsing of %p for locales which use periods in AM/PM strings (see #10677)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 11:53:08 +00:00
Vadim Zeitlin
84d8eabd81 no changes, just fixed typo in an error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 11:49:30 +00:00
Vadim Zeitlin
ba7e7253c6 fix PCH-less build after last change (closes #10678)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 11:38:45 +00:00
Stefan Csomor
a4fec5b41e fixing unused param warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 09:05:59 +00:00
Stefan Csomor
1f45087210 fixing 64 bit value transfer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 09:05:21 +00:00
Stefan Csomor
db227bf893 adjusting DATE_TIME_FMT on OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 18:05:57 +00:00
Vadim Zeitlin
727e8d842f fix the test case which wrongly relied on wxString using UTF-8 representation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 17:03:16 +00:00
Vadim Zeitlin
27dd021da3 fix the test case which wrongly relied on wxString using UTF-8 representation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 17:02:12 +00:00
Vadim Zeitlin
609483b81a compilation fix: WXWIN_COMPATIBILITY_2_8 must be tested with #if, not #ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 16:57:30 +00:00
Vadim Zeitlin
825d69c1ef handle embedded NULs correctly in wxString::CmpNoCase() in all builds and not just UTF-8 one; incidentally improve its performance under Windows (see #10375)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 16:56:11 +00:00
Vadim Zeitlin
e992b97f1b avoid the ugly hack with adding an empty string to m_registries to indicate that we need to run all tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 16:38:20 +00:00
Vadim Zeitlin
f253c22f29 really fix handling of trailing periods in abbreviated month names in French locale (without breaking everything else like last commit did)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 16:37:52 +00:00
Vadim Zeitlin
6b26ab96f7 allow for trailing periods in week day/month names (as used in e.g. French locale)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 15:42:06 +00:00
Vadim Zeitlin
ad16130f66 add possibility to choose the locale (useful for Windows which doesn't honour LC_ALL &c)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 15:31:57 +00:00
Vadim Zeitlin
fac0939500 use correct expected values for Windows and OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 15:23:26 +00:00
Julian Smart
d2bb72ffd5 Fixed wxRTC AltGr+key input on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-02 09:51:13 +00:00
Stefan Csomor
9fbcc67955 make long format equal to full on mac (including dayname)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-02 04:43:24 +00:00
Vadim Zeitlin
525711d7a3 don't run wxPATH_NORM_LONG test on systems where the short file names are disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-01 21:49:47 +00:00
Vadim Zeitlin
27aec6b6fc expect 4 digit year in French locale under all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-01 21:17:35 +00:00
Francesco Montorsi
797a270678 fix a problem with setlocale() under Windows: with MSVC7 it sometimes returns garbage when passing "": use NULL instead (may need a fix also in wxLocale::IsAvailable)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-01 15:20:42 +00:00
Francesco Montorsi
34e8a158e5 add IT locale to the makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-01 15:00:12 +00:00
Francesco Montorsi
5036c26475 include the locale name in the error message when the catalog can't be loaded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-01 14:59:38 +00:00
Stefan Csomor
2daa5d2c99 bringing back utf32 encoding for wchar, fixes #10666
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-01 08:57:56 +00:00
Vadim Zeitlin
7ff1542d27 fix g++ warnings for float->int conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-31 09:18:42 +00:00
Benjamin Williams
c7928d82c2 undock/float toolbar if it's dragged right or south of client area
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-31 08:32:16 +00:00
Vadim Zeitlin
d8a696fb5f correct French short date format for glibc; added more detailed messages for failing tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 22:23:05 +00:00
Vadim Zeitlin
d73a520945 allow running tests whose names don't end with TestCase again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 22:18:24 +00:00
Vadim Zeitlin
f3d261e7ac minor improvements to Bind() description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:55:03 +00:00
Benjamin Williams
05bd0f4400 missing header fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:27:55 +00:00
Vadim Zeitlin
b9d2203419 only Linux/glibc seem to use periods as date separator in French locale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:14:09 +00:00
Vadim Zeitlin
d19fe998c8 compilation fix after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:08:58 +00:00
Francesco Montorsi
8d2d37d268 fix doxygen warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 19:57:34 +00:00
Francesco Montorsi
6a9994cf2b fix wxLogNull base class (closes #10654)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 19:57:09 +00:00
Václav Slavík
197380a09f always return (owned or non-owned, depending on build) wxScopedCharBuffer from utf8_str() and ToUTF8()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 18:28:42 +00:00
Stefan Csomor
911907f4ad adding OSX specific fixes to bsd level formatting problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 18:26:23 +00:00