Commit Graph

44333 Commits

Author SHA1 Message Date
Vadim Zeitlin
1752fda65b fix bug with wrong return value in wxMBConv_iconv::ToWChar() introduced by a recent check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 01:53:10 +00:00
Vadim Zeitlin
d50c083157 fix wxMBConv_iconv to respect the base class conventions: when the input is NUL-terminated, the output should be NUL-terminated and the return value should account for the terminating NUL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 01:39:32 +00:00
Vadim Zeitlin
467a2982d2 swap all characters instead of just the last one in a loop in wxMBConv_iconv::ToWChar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 01:23:36 +00:00
Vadim Zeitlin
95f82f4ce3 don't return success when converting incomplete UTF-7 sequences
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 01:22:16 +00:00
Vadim Zeitlin
9fc7a1d276 disable test using network by default as it's not available on some of buildbot machines and so makes the test fail
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 23:38:56 +00:00
Vadim Zeitlin
093315a121 fix test failures: the expected results were incorrect, UTF-8 build uses %lc for characters and not %s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 23:38:13 +00:00
Vadim Zeitlin
893bf46069 undid change of r44565: not taking hyphens into account entirely is a bad idea as we then recognize some junk as valid encodings and it even made our own unit test fail
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 23:12:39 +00:00
Vadim Zeitlin
788257c0a4 make assertion failure messages more useful by using WX_ASSERT_STR_EQUAL instead of just CPPUNIT_ASSERT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 22:57:32 +00:00
Vadim Zeitlin
8f4b0f43f0 implement wxMBConv_iconv::To/FromWChar() instead of MB2WC/WC2MB: this allows to use wxMBConv conversions with wxTextInputStream and fixes TextStreamTestCase unit test failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 22:49:48 +00:00
Vadim Zeitlin
05b5a45f96 don't run vsnprintf() test if we're using the system version, there is nothing we can do about its failures then anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 22:11:51 +00:00
Vadim Zeitlin
fc215b4140 don't compile the test in the build configurations where it's not supported (trying to fix buildbot OS X build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 21:59:24 +00:00
Vadim Zeitlin
2bdba43f02 at least mingw32 3.4.5 needs wxBitmap declaration to compile wxPixelData<wxBitmap> (thanks buildbot)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 20:04:09 +00:00
Vadim Zeitlin
179a30e2f8 check that the argument is not empty in wxHtmlWindow::LoadPage() to avoid crashing if it is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 19:49:53 +00:00
Vadim Zeitlin
3e50a139b4 fixed wxImagePixelData compilation (ticket #3003); added a unit test for it (to be extended to cover more wxImage methods...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 19:30:23 +00:00
Vadim Zeitlin
8aa6162938 blind fix for Borland ANSI build: define wxStructStat specially for this compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 18:59:55 +00:00
Julian Smart
e1ac8c99e4 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 17:50:45 +00:00
Julian Smart
7b32a8b736 Don't update UI if hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 17:44:52 +00:00
Vadim Zeitlin
500b128d0e mention the problem with writing enums to wxConfig (see #8656)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 13:49:12 +00:00
Vadim Zeitlin
5cfbef2a69 always define wxUSE_RICHEDIT[2] -- this is better than never defining them (closes #9514)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 13:35:30 +00:00
Vadim Zeitlin
73ba5ab90c mention the ambiguities which arise when passing wxString[.c_str()] to functions overloaded to take both char* and wchar_t* (see #9507)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 13:31:28 +00:00
Václav Slavík
e0e7a34117 re-added accidentally omitted 'ANSI'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 10:47:13 +00:00
Václav Slavík
3dac8f8a99 fixed confusingly complicated sentence to make sense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 10:33:40 +00:00
Vadim Zeitlin
558a6e065e document that SetItemCount() doesn't have to refresh the control (to avoid problems of ticket #4570)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 01:07:29 +00:00
Vadim Zeitlin
17483f70a5 use 'i' and 'd' instead of WXK_DELETE/INSERT as wxMSW list control doesn't get the latter keys in its OnListKeyDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 01:05:43 +00:00
Vadim Zeitlin
508b652335 ensure that GetEditControl() returns something even if label editing was started by the user and not the program (closes #1325)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 00:26:07 +00:00
Vadim Zeitlin
5cd4cb75ee no changes, just refactor the code to avoid having the same code for m_textCtrl destruction in 4 places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 00:03:03 +00:00
Vadim Zeitlin
3877c17eeb remove misleading documentation of minPage in GetPageInfo() (see ticket #9502)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 23:36:26 +00:00
Robert Roebling
13d843f1c1 More work on getting wxLisBox events right
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 23:13:47 +00:00
Vadim Zeitlin
4081eb6fe2 include wx/crt.h needed for wxFprintf() (closes #9509)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 16:58:59 +00:00
Stefan Csomor
cbb4085001 adding lowlevel hook to listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 14:13:45 +00:00
Stefan Csomor
9f728f8dba adding lowlevel hook to listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 14:11:45 +00:00
Robert Roebling
671600d808 Create own entry for default constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 14:10:52 +00:00
Vadim Zeitlin
b0fa01cca2 don't give an error if VT_DATE variant is being released, there is nothing to do for it anyhow (closes #4527)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 13:35:52 +00:00
Vadim Zeitlin
fe267c2fad take wxString in wxCrashReport::SetFileName() to allow passing either ASCII or wide strings as well as wxStrings to this method (closes 9505)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 13:28:05 +00:00
Michael Wetherell
838bfb19e0 New devs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 08:42:43 +00:00
Paul Cornett
aac7dbf3aa remove unused/unneeded menuitem cruft
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 04:41:37 +00:00
Paul Cornett
9a2183c900 remove obsolete file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 04:27:00 +00:00
Paul Cornett
efebabb7ff mark long-deprecated ctor as such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 04:26:29 +00:00
Vadim Zeitlin
cd431efcdf fix MSVC /Wp64 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 23:58:15 +00:00
Vadim Zeitlin
1033a7cc58 fix assert in ANSI build in wxConsoleStderr::GetCommandHistory() (ticket 9146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 12:47:27 +00:00
Vadim Zeitlin
b6db2d145a remove unused onsolete response files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 12:30:54 +00:00
Robin Dunn
fa34bc5331 Add wxWebKitNewWindowEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 06:33:46 +00:00
Paul Cornett
e828d3fc80 fix leak introduced by r53753
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 06:15:35 +00:00
Vadim Zeitlin
7ead384579 get rid of MSVC warning about possibly uninitialized variable in CalcAndSendEvent() and also make its code somewhat more structured
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 23:21:29 +00:00
Vadim Zeitlin
575cabba69 fix some harmless compilation in (release) MSVC build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 22:48:54 +00:00
Vadim Zeitlin
0411a5f92a change VERSION to 2.9.0 (not sure if this is really used though)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 18:07:13 +00:00
Vadim Zeitlin
1224c6ee60 remove mentions of demos/dbbrowse which doesn't exist any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 18:02:51 +00:00
Vadim Zeitlin
fd8a001266 add build/msw/wx_stc.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 18:00:26 +00:00
Vadim Zeitlin
65d990fb21 there is no std::wostream under Palm (part of ticket 4700)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 16:38:12 +00:00
Vadim Zeitlin
ae1675944b ifdef fixes for PalmOS6 (part of ticket 4700)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 16:35:13 +00:00