]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Sun, 8 Jun 2008 01:45:56 +0000 (01:45 +0000)]
deprecate wxDC::SetClippingRegion(wxRegion) overload and replace it with SetDeviceClippingRegion() to avoid confusion due to use of different kind of coordinates in this and other overloads of the same function; also rename wxDCImpl::DoSetClippingRegionAsRegion() to DoSetDeviceClippingRegion(); finally use bounding box of the region passed to wxDCClipper ctor to avoid interpreting coordinates differently for different ctors of the same class (see #8970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54024
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 8 Jun 2008 00:12:12 +0000 (00:12 +0000)]
added multisampling (anti-aliasing) support to wxGLCanvas (#9145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54022
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 16:54:29 +0000 (16:54 +0000)]
set a global flag on shut down instead calling Delete() on all threads sequentially which could take an eternity if there were many of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54021
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 16:39:08 +0000 (16:39 +0000)]
do what we advise, not what we say is unsupported: don't log directly from worker threads to wxTextCtrl but do it from the idle handler of the main thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54020
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 16:20:23 +0000 (16:20 +0000)]
make wxLogWindow thread-safe (#8783)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54019
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 15:24:49 +0000 (15:24 +0000)]
present information about key presses better; some code simplification (#9541)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54018
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 15:12:23 +0000 (15:12 +0000)]
use memcpy() instead of wxTmemcpy() as the latter is defined in wx/wxcrt.h which includes wx/string.h and hence can't be used from here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54017
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 15:06:32 +0000 (15:06 +0000)]
more compilation fixes for VC6 (#9492)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54016
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 7 Jun 2008 14:26:49 +0000 (14:26 +0000)]
Compilation fix for GTK1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54015
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 7 Jun 2008 14:07:18 +0000 (14:07 +0000)]
Use spaces in configuration names, so they need less space in the table.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54014
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 02:32:12 +0000 (02:32 +0000)]
compilation fix for PCH-less compilation after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54012
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 02:30:25 +0000 (02:30 +0000)]
don't show the normal context menu while editing an item (#9543)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54011
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 02:09:03 +0000 (02:09 +0000)]
don't refresh the current cell in SetCellHighlightROPenWidth() if it's invalid (#9523)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54010
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 02:04:16 +0000 (02:04 +0000)]
ensure that dialog gripper is always positioned below the other children, even if they're created after it (#9519)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54009
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 01:54:44 +0000 (01:54 +0000)]
support multiline labels in wxCheckBox (#9495)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54008
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 01:24:56 +0000 (01:24 +0000)]
correct phrase broken by the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54007
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 01:22:34 +0000 (01:22 +0000)]
call wxSizerFlags::Top/Bottom() or Left/Right() shouldn't change horizontal or vertical alignment (#9534)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54006
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 00:53:10 +0000 (00:53 +0000)]
change another long type to wxBitmapType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54005
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 00:04:53 +0000 (00:04 +0000)]
specify the name of the control (#9515)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54004
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Jun 2008 00:01:39 +0000 (00:01 +0000)]
replace another SF link with wxTrac one (#9501)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54003
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Jun 2008 23:58:11 +0000 (23:58 +0000)]
replace SF links with wxTrac ones (#9500)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54002
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Jun 2008 23:50:21 +0000 (23:50 +0000)]
use report mode for the wxListbook list control if there are no images (#9484)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54001
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Jun 2008 23:40:00 +0000 (23:40 +0000)]
fixed another pointer-to-int-of-lesser-size conversion warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54000
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Jun 2008 23:33:58 +0000 (23:33 +0000)]
change longs used for bitmap types to wxBitmapType (#9126)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53999
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Jun 2008 22:55:23 +0000 (22:55 +0000)]
don't leave current item index invalid after SetItemCount() (ticket #3720)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53998
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Jun 2008 21:24:35 +0000 (21:24 +0000)]
remove another unnecessary memcpy() of string contents to wxStringBufferLength
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53997
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Jun 2008 21:20:22 +0000 (21:20 +0000)]
remove unnecessary memcpy() of string contents to wxStringBufferLength
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53996
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Jun 2008 21:19:23 +0000 (21:19 +0000)]
initialize wxStringBuffer with the original contents of wxString it was created from for better compatibility with the old, non-STL, build (this avoids problems such as ticket #4845); add wxString::tchar_buf() to help with the implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53995
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Jun 2008 21:06:16 +0000 (21:06 +0000)]
compilation fix for VC6 (and maybe not only): enums defined in containing class are not accessible from the nested classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53994
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Jun 2008 20:56:16 +0000 (20:56 +0000)]
compilation fixes for ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53993
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Jun 2008 20:55:39 +0000 (20:55 +0000)]
removed the test which never works: Lower/Upper() don't work with Unicode strings currently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53992
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 6 Jun 2008 15:21:54 +0000 (15:21 +0000)]
Fixed reading of image type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53991
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 5 Jun 2008 23:51:04 +0000 (23:51 +0000)]
corrected bug in wxTimeSpan::IsShorterThan() for equal time spans (ticket #9539)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53988
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 5 Jun 2008 15:05:52 +0000 (15:05 +0000)]
PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53986
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 5 Jun 2008 13:47:32 +0000 (13:47 +0000)]
compilation fix for --disable-filesystem --enable-xrc build (wxArrayString is needed here and was only included indirectly via wx/filesys.h) (ticket #9537)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53985
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 5 Jun 2008 09:38:37 +0000 (09:38 +0000)]
added wxHtmlWindow::SetRelatedStatusBar(wxStatusBar*) (patch #9235 by troelsk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53984
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 4 Jun 2008 22:34:09 +0000 (22:34 +0000)]
Changed wxHTML default font size for printing to be 12pt regardless
of the platform; this font shouldn't depend on toolkit's default
GUI font (introduced in 2.8, now reverting to pre-2.8 correct
behaviour).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53980
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 4 Jun 2008 21:50:06 +0000 (21:50 +0000)]
wxDFB: implemented Raise() and Lower() for TLWs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53979
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Jun 2008 18:46:15 +0000 (18:46 +0000)]
compilation fix for wxUSE_STL==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53978
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 4 Jun 2008 14:19:18 +0000 (14:19 +0000)]
glcmn.cpp doesn't belong in OPENGL_SRC_PLATFORM (it is incorrect syntax that was previously silently ignored)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53977
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Wed, 4 Jun 2008 10:53:02 +0000 (10:53 +0000)]
More compilation fixes for mingw-w64.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53976
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 4 Jun 2008 06:14:59 +0000 (06:14 +0000)]
Out by one correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53971
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 3 Jun 2008 19:49:06 +0000 (19:49 +0000)]
Remove old GTK 1.2 code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53966
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Benjamin Williams [Tue, 3 Jun 2008 16:52:59 +0000 (16:52 +0000)]
prevent memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53965
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 3 Jun 2008 16:14:03 +0000 (16:14 +0000)]
removed deleted wx/gtk/treectrl.h from bakefiles as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53963
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 3 Jun 2008 12:45:43 +0000 (12:45 +0000)]
fix crash when repositioning tools without labels in DoDeleteTool() (ticket #9530)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53962
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Mon, 2 Jun 2008 21:46:29 +0000 (21:46 +0000)]
Separate label with wx mnemonics (&) and with gtk mnemonics (_) into m_text and m_gtkText, fixes #4409
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53958
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jun 2008 20:45:50 +0000 (20:45 +0000)]
suppress warning about casting int to a pointer of greater size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53956
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Mon, 2 Jun 2008 20:45:41 +0000 (20:45 +0000)]
Make wxMenuItem::GetLabelText readable again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53955
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jun 2008 20:42:23 +0000 (20:42 +0000)]
define wxHAS_ATOMIC_OPS only if native implementation is available; use fewer loop iterations in the test if it isn't as otherwise the test takes way too long to run
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53954
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 2 Jun 2008 18:30:13 +0000 (18:30 +0000)]
Add a SetDoubleBuffered method for wxMSW (XP+)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53930
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Mon, 2 Jun 2008 18:07:06 +0000 (18:07 +0000)]
Disable disabling wxWeakRef<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53927
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 2 Jun 2008 14:48:50 +0000 (14:48 +0000)]
regenerated all trunk makefiles with bakefile-0.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53925
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 2 Jun 2008 10:39:10 +0000 (10:39 +0000)]
fixed OSX bundles bkl code to handle conditional targets correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53923
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 2 Jun 2008 08:04:17 +0000 (08:04 +0000)]
added a note about wxrc to Xcode section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53920
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 22:39:57 +0000 (22:39 +0000)]
remove mentions of contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53919
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 22:34:57 +0000 (22:34 +0000)]
fix the test for vsscanf() declaration which never passed because it was trying to use char* instead of va_list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53918
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 20:19:43 +0000 (20:19 +0000)]
use wxHAS_RAW_BITMAP instead of wxHAVE_RAW_BITMAP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53916
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 20:17:04 +0000 (20:17 +0000)]
correct error in wxHAVE_RAW_BITMAP definition: it shouldn't be defined at all if there is no raw bitmap support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53914
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sun, 1 Jun 2008 20:02:49 +0000 (20:02 +0000)]
fix tool referencing, remove dropdown element in DoDeleteTool, ticket #4102
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53913
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 18:52:22 +0000 (18:52 +0000)]
use IMPLEMENT_APP_CONSOLE and not IMPLEMENT_APP for console apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53909
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 18:42:33 +0000 (18:42 +0000)]
define wxHAS_RAW_BITMAP (instead of inconsistenly named wxHAVE_RAW_BITMAP) and use it to avoid test build error under ports not supporting raw bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53907
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 18:33:36 +0000 (18:33 +0000)]
don't run GUI tests under Unix if the DISPLAY is not set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53906
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 16:59:10 +0000 (16:59 +0000)]
ReadBig() should be defined in ANSI build too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53905
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 16:58:17 +0000 (16:58 +0000)]
include wx/crt.h to get wxUSE_WXVSNPRINTF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53904
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 16:56:46 +0000 (16:56 +0000)]
compilation fix for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53903
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 15:44:16 +0000 (15:44 +0000)]
really fix the test to work in any time zone and with or without DST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53902
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 15:32:41 +0000 (15:32 +0000)]
added missing wx/wrapsizer.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53901
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 14:37:26 +0000 (14:37 +0000)]
fix wxDateTime::ParseRfc822Date() to handle missing seconds (ticket #1341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53900
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 14:13:33 +0000 (14:13 +0000)]
another compilation fix, now for Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53899
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sun, 1 Jun 2008 13:24:53 +0000 (13:24 +0000)]
Added mingw-w64 builds (cross compile on i686-linux).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53898
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 13:07:44 +0000 (13:07 +0000)]
fix compilation with wxUSE_DRAG_AND_DROP==0 (as in wxX11 build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53896
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 13:04:26 +0000 (13:04 +0000)]
compilation fix for ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53895
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 13:01:59 +0000 (13:01 +0000)]
add a special macro for comparing time_t values to fix unit test compilation on platforms with 64 bit time_t (such as FreeBSD 6.2 apparently)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53894
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 12:58:43 +0000 (12:58 +0000)]
fix time zone conversion test to work in any time zone, not just GMT+1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53893
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 03:11:32 +0000 (03:11 +0000)]
corrected bug in wxMBConvStrictUTF8::FromWChar(): it wrote one extra NUL when used with explicit source length
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53891
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 03:09:25 +0000 (03:09 +0000)]
added wxTextOutputStream::Flush(): this is necessary with the stateful encodings, such as UTF-7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53890
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 Jun 2008 03:08:45 +0000 (03:08 +0000)]
rewrote UTF-7 to work on streams of data to be comaptible with the way wxTextStream uses the converters; also converted a couple off by 1 bugs and unit test finally pass now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53889
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 31 May 2008 23:41:27 +0000 (23:41 +0000)]
disable visibility for powerpc-apple-darwin8 build, otherwise we get errors when linking the test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53886
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 31 May 2008 23:08:57 +0000 (23:08 +0000)]
use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT to have more details when the test fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53885
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 31 May 2008 23:01:25 +0000 (23:01 +0000)]
reviewed and completed wxMBConv and friends documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53884
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 31 May 2008 22:35:24 +0000 (22:35 +0000)]
create a separate category for the conversion classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53883
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 31 May 2008 13:31:15 +0000 (13:31 +0000)]
include configure/makefiles necessary for building libtiff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53880
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 31 May 2008 13:25:50 +0000 (13:25 +0000)]
no real changes, just simplify LoadPage() to make it more readable and less redundant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53879
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 31 May 2008 12:44:40 +0000 (12:44 +0000)]
Compilation fixes for mingw-w64.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53878
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 31 May 2008 09:44:03 +0000 (09:44 +0000)]
allow periods in wxFileSystem URL anchors (patch #2265)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53876
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 31 May 2008 02:46:22 +0000 (02:46 +0000)]
make test failure in TestStreamDecoder more informative
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53874
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 31 May 2008 01:57:25 +0000 (01:57 +0000)]
use more informative CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53873
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 31 May 2008 01:55:45 +0000 (01:55 +0000)]
don't write extraneous NUL bytes in wxMBConv_iconv::FromWChar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53872
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 31 May 2008 01:54:21 +0000 (01:54 +0000)]
correct similar off by 1 bug to the one fixed by r53869 in wxMBConv_iconv::ToWChar() in FromWChar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53871
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 31 May 2008 01:53:10 +0000 (01:53 +0000)]
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
Vadim Zeitlin [Sat, 31 May 2008 01:39:32 +0000 (01:39 +0000)]
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
Vadim Zeitlin [Sat, 31 May 2008 01:23:36 +0000 (01:23 +0000)]
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
Vadim Zeitlin [Sat, 31 May 2008 01:22:16 +0000 (01:22 +0000)]
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
Vadim Zeitlin [Fri, 30 May 2008 23:38:56 +0000 (23:38 +0000)]
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
Vadim Zeitlin [Fri, 30 May 2008 23:38:13 +0000 (23:38 +0000)]
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
Vadim Zeitlin [Fri, 30 May 2008 23:12:39 +0000 (23:12 +0000)]
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
Vadim Zeitlin [Fri, 30 May 2008 22:57:32 +0000 (22:57 +0000)]
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
Vadim Zeitlin [Fri, 30 May 2008 22:49:48 +0000 (22:49 +0000)]
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
Vadim Zeitlin [Fri, 30 May 2008 22:11:51 +0000 (22:11 +0000)]
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