Commit Graph

48458 Commits

Author SHA1 Message Date
Stefan Csomor
8fa2cfe258 failed conversion shouldn't trigger an assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 07:04:41 +00:00
Václav Slavík
fb5ae4f6d9 (blind) fix for VC6s' warning about non-dll base template class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 07:02:59 +00:00
Stefan Csomor
531ebc0f8e no test_gui present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 05:30:18 +00:00
Francesco Montorsi
6aafb94526 even more detailed info to debug buildslaves failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-13 18:34:27 +00:00
Vadim Zeitlin
a6ed278608 better check for conversion failure in OutputString(); use wxScopedCharBuffer::length() instead of strlen()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-13 17:49:56 +00:00
Vadim Zeitlin
582886dde5 return empty string instead of NULL from mb_str()/wc_str() when conversion fails to avoid crashing badly written code which doesn't check for conversion failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-13 17:48:11 +00:00
Vadim Zeitlin
561ff470ca suppress output from the test commands; use CPPUNIT_ASSERT_EQUAL() whenever possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-13 17:33:33 +00:00
Francesco Montorsi
9b5e0a6dea provide more info when a check for native font [user] info fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-13 09:03:45 +00:00
Vadim Zeitlin
f20e268907 fix g++ warnings about initialization order mismatch after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 23:43:04 +00:00
Vadim Zeitlin
75ac34cefc fix support for using asterisks in the format string and some code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 23:37:28 +00:00
Francesco Montorsi
6aea1e4a70 implement wxNativeFontInfo::SetFamily for wxGTK with the same logic used by wxMSW; remove the now useless m_family from wxGTK's wxFont implementation; better docs for many wxFont functions (don't use typeface term; use the 'face name' one instead) and wxFontFamily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 22:53:26 +00:00
Francesco Montorsi
40531a9fda more PCH-less build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 22:10:21 +00:00
Francesco Montorsi
a82a59f519 allow testing more font properties: light weight, slant style and font families
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 22:02:00 +00:00
Vadim Zeitlin
f54cb154d5 return persistent buffers from mb_str()/wc_str() to allow assigning the returned value to simple pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 19:49:45 +00:00
Vadim Zeitlin
dbe31039f7 blind PCH-less build fixes: add missing headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 18:42:58 +00:00
Vadim Zeitlin
3814912fca MSVC compilation fixes: don't use std{out,err} as variable names; don't reuse loop variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 18:41:51 +00:00
Francesco Montorsi
32c122fe28 build fix (wx doesn't use bakefile 0.2.6 yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 16:30:47 +00:00
Francesco Montorsi
34be948fdb no real change; just fix the argument name of the wxFont(const wxString&) ctor under wxGTK since it was misleading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 16:06:43 +00:00
Francesco Montorsi
375330ac40 do not call setlocale() twice in wxLocale::IsAvailable() and in IMPLEMENT_STRTOX_L_START
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 15:51:43 +00:00
Francesco Montorsi
4b37c1bf05 now wxGTK is always compiled against GTK+ >= 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 12:43:38 +00:00
Francesco Montorsi
aa113d87d7 adding the first raw version of the execution monitor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 11:44:00 +00:00
Václav Slavík
ed5e656088 fixed wxString::utf8_str() in UTF8 build to return buffer with length
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 10:12:44 +00:00
Vadim Zeitlin
bdaddbec6e add missing tests (closes #10692)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-10 22:55:08 +00:00
Kevin Ollivier
0ed9af4ed9 Catch the return type when it's inside a <ref> tag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-10 22:40:24 +00:00
Kevin Ollivier
f613f81ac9 Commit script which parses the Doxygen XML output into a list of class and method objects, which later can be passed for post-processing to autogenerate bindings, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-09 17:31:39 +00:00
Vadim Zeitlin
475be9ce00 fix row/column deselection in row-or-column selection mode (it wasn't doing anything)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-09 09:01:02 +00:00
Robert Roebling
1c9588456e Add test for wxDataViewColumn::GetWidth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 19:33:35 +00:00
Vadim Zeitlin
ff9b9665a2 added names of WM_XXXUISTATE messages to wxGetMessageName() (closes #10691)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 15:00:09 +00:00
Vadim Zeitlin
14263426cf added assert checking the column index validity (see #10687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 11:11:41 +00:00
Vadim Zeitlin
3b241537ef remove "item.cchTextMax=0" line from SetItem() as it doesn't seem to make any sense (see #10687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 11:10:40 +00:00
Vadim Zeitlin
dcc3f1a5e3 no real changes, just remove unnecessary semicolons (part of #10687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 11:09:14 +00:00
Vadim Zeitlin
a1e92028b3 document that a valid image list is required for item dragging under MSW (see #4390)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 11:04:52 +00:00
Vadim Zeitlin
20cc4e199e document wxFont(wxString) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 10:41:30 +00:00
Vadim Zeitlin
916533c0dc return better fitting size from DoGetBestSize() for grids with few rows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-06 22:11:48 +00:00
Vadim Zeitlin
4f64fde785 no changes, just got rid of many __WXWINCE__ ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-06 22:07:03 +00:00
Stefan Csomor
b66533d348 adding buildbot for 2.9.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-06 17:39:22 +00:00
Vadim Zeitlin
910413e753 compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-06 10:21:02 +00:00
Vadim Zeitlin
a5df9b00b4 update from Micha³ Trzebiatowski
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-06 09:09:30 +00:00
Vadim Zeitlin
eb72e9aa28 use COLORONCOLOR stretching mode in DrawBitmap() too (see #3400)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 14:58:11 +00:00
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