]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Tue, 4 Apr 2006 14:25:59 +0000 (14:25 +0000)]
corrected mistake in the UTF-16 test on big endian machines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38548
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Tue, 4 Apr 2006 14:06:00 +0000 (14:06 +0000)]
And gdk_drawable_unref is in turn deprecated in favor of g_object_unref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38547
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Tue, 4 Apr 2006 13:54:02 +0000 (13:54 +0000)]
gdk_bitmap/pixmap_unref -> gdk_drawable_unref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38546
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Tue, 4 Apr 2006 13:46:34 +0000 (13:46 +0000)]
gdk_draw_pixmap -> gdk_draw_drawable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38545
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Tue, 4 Apr 2006 13:37:31 +0000 (13:37 +0000)]
gdk_window_copy_area(drawable,gc,x,y,source_drawable,source_x,source_y,width,height) ->
gdk_draw_pixmap(drawable,gc,source_drawable,source_x,source_y,x,y,width,height)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38544
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Tue, 4 Apr 2006 13:13:04 +0000 (13:13 +0000)]
gdk_window_get_visual -> gdk_drawable_get_visual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38543
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 4 Apr 2006 13:04:47 +0000 (13:04 +0000)]
MB2WC/WC2MB are not pure virtual any longer, implement them in terms of To/FromWChar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38542
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 4 Apr 2006 12:35:21 +0000 (12:35 +0000)]
added new To/FromWChar() API with more reasonable semantics than old MB2WC/WC2MB; for now both coexist and the change is/should be backwards compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38541
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 4 Apr 2006 07:49:08 +0000 (07:49 +0000)]
renamed GetMinMBCharWidth() to GetMBNulLen(), made it public and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38540
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Apr 2006 22:16:22 +0000 (22:16 +0000)]
fixed LaTeX markup to suit tex2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38536
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 3 Apr 2006 19:34:21 +0000 (19:34 +0000)]
added ParseInnerSource() to make <pre>-like parsing easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38535
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Mon, 3 Apr 2006 17:38:05 +0000 (17:38 +0000)]
Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38533
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Mon, 3 Apr 2006 05:53:39 +0000 (05:53 +0000)]
Sync wxGTK docs from WX_2_6_BRANCH to HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38532
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Surovell [Mon, 3 Apr 2006 00:21:00 +0000 (00:21 +0000)]
minor cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38531
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 20:18:33 +0000 (20:18 +0000)]
Apple gcc compilation fixes: for it size_t and unsigned are not the same type for some reason
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38530
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 20:03:42 +0000 (20:03 +0000)]
fixed wxMBConv_iconv to work with UTF-16/32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38529
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 20:02:33 +0000 (20:02 +0000)]
properly terminate UTF-32 test string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38528
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 15:59:57 +0000 (15:59 +0000)]
compilation fix for iconv call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38527
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sun, 2 Apr 2006 15:50:32 +0000 (15:50 +0000)]
Corrected index passed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38525
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 15:02:56 +0000 (15:02 +0000)]
added filename comparison test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38524
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 14:59:53 +0000 (14:59 +0000)]
replaced recently added wxMBConv::GetMBNul() with a less clever but better
working GetMinMBCharWidth(): the idea is that we can't deal with completely
arbitrary encodings anyhow using the current API as we get confused by NUL
runs in the middle of the string, so instead just deal correctly with normal
multibyte encodings, UTF-16/UCS-2 and UTF-32/UCS-4 which should cover 99.9% of
the cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38523
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 14:57:36 +0000 (14:57 +0000)]
added wxBuffer::reset()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38522
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 14:06:50 +0000 (14:06 +0000)]
added UTF-32 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38521
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 14:01:18 +0000 (14:01 +0000)]
added test UTF-16 string with embedded NUL NUL which makes the current code fail
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38520
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 13:45:58 +0000 (13:45 +0000)]
added test UTF-16 string with embedded NUL NUL not terminating the string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38519
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Hock [Sun, 2 Apr 2006 04:56:18 +0000 (04:56 +0000)]
Make the Connect that also takes a local bind port non-virtual. This silences some compiler warnings (Borland, Watcom). Plus, it's not likely that this method would need to be overridden anyway since it has rather limited and specific uses.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38517
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 01:29:17 +0000 (01:29 +0000)]
document missing default parameters in ctor (patch
1458151 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38514
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 01:27:36 +0000 (01:27 +0000)]
don't crash when loading images with verbose==false (patch
1449823 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38513
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 01:21:53 +0000 (01:21 +0000)]
report error for GIF images without CLEAR code in the stream instead of crashing (patch
1449734 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38512
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 01:10:41 +0000 (01:10 +0000)]
use proper dllexport declaration with _WX_LIST_HELPER_
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38511
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 00:58:44 +0000 (00:58 +0000)]
added wxTimeSpan::Millisecond[s]() for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38510
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Apr 2006 00:52:57 +0000 (00:52 +0000)]
seconds and milliseconds in wxTimeSpan ctor should be long long, not long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38507
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sat, 1 Apr 2006 18:16:17 +0000 (18:16 +0000)]
Reset the position when auto-sizing toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38506
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Surovell [Sat, 1 Apr 2006 16:40:08 +0000 (16:40 +0000)]
fix compilation problem in prior commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38505
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 1 Apr 2006 15:53:55 +0000 (15:53 +0000)]
let the UTF7 test fail but not crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38504
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 1 Apr 2006 15:34:42 +0000 (15:34 +0000)]
fixed wxMBConv_iconv::GetMBNul()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38503
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 1 Apr 2006 14:04:59 +0000 (14:04 +0000)]
regenerated to add textfiletest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38502
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 1 Apr 2006 13:38:28 +0000 (13:38 +0000)]
Unix compilation fixes after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38500
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 1 Apr 2006 12:43:52 +0000 (12:43 +0000)]
added NUL command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38499
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 1 Apr 2006 12:43:03 +0000 (12:43 +0000)]
Described in the comments and documented the semantics of the parameters and
return values of wxMBConv methods and tried to make them more consistent. The
only (intentional) backwards incompatible change is that cMB2WC/cWC2MB now
return the length of the converted string in outLen parameter and not length+1
Added wxMBConv::GetMBNul() and use it instead of supposing that all multibyte
strings are always terminated with a single NUL which is wrong for UTF-16/32.
Using GetMBNul(), completely rewrote cMB2WC/cWC2MB() to accept a string of the
specified length, whether it is NUL-terminated or not. This means that they
don't overwrite the provided buffer any more and convert the entire string in
all cases.
Fixed bug in wxMBConvUTF16::WC2MB() which didn't NUL-terminate the string
properlyv even if there was enough space.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38498
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 1 Apr 2006 03:24:23 +0000 (03:24 +0000)]
made DoTestConversion() work with strings containing NULs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38496
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 1 Apr 2006 02:58:56 +0000 (02:58 +0000)]
added extend() method which realloc()s the buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38495
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 23:33:38 +0000 (23:33 +0000)]
default ctor should create an empty/uninitialized buffer, not one with a single character string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38494
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 31 Mar 2006 23:29:39 +0000 (23:29 +0000)]
Fixed the equality and inequality operators for some of the basic
data types (wx.Point, wx.Size, wx.Colour, etc.) to no longer raise a
TypeError if the compared object is not compatible, but to just return
a boolean as expected. For example::
wx.Colour(64,0,64) == 123 ==> False
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38493
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 31 Mar 2006 23:19:34 +0000 (23:19 +0000)]
Fixed problem in wx.lib.splitter when used on 64-bit platforms. Used
the current length of the list for specifying an append instead of
sys.maxint.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38492
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 21:14:40 +0000 (21:14 +0000)]
added missing licence information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38490
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 20:28:37 +0000 (20:28 +0000)]
undid last (wrong) change to wxMBConvUTF16swap::MB2WC(); added comment to explain why
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38489
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 20:25:20 +0000 (20:25 +0000)]
added UTF16 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38488
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 20:23:33 +0000 (20:23 +0000)]
fixed fatal buffer overwrite in wxMBConvUTF16swap::MB2WC()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38487
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 20:04:07 +0000 (20:04 +0000)]
detect some invalid UTF7 strings when decoding them in wxMBConvUTF7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38486
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 19:30:34 +0000 (19:30 +0000)]
test predefined wxConvUTF[78] too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38485
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 19:24:23 +0000 (19:24 +0000)]
the expected test result was wrong, corrected; also define a manifest constant only once instead of using its value everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38483
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 19:15:46 +0000 (19:15 +0000)]
fixed if/idef wxHAVE_U_ESCAPE mixup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38482
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Surovell [Fri, 31 Mar 2006 19:04:25 +0000 (19:04 +0000)]
simplify KeywordSearch; cleanup and reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38481
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Fri, 31 Mar 2006 18:26:24 +0000 (18:26 +0000)]
Build fix for 2.6 compatibility off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38479
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Fri, 31 Mar 2006 18:07:22 +0000 (18:07 +0000)]
Removed every usage of obsolete wxTLW flags. 2.6 compatibility markup for them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38477
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 17:43:10 +0000 (17:43 +0000)]
use wxHAVE_U_ESCAPE to accomodate old compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38476
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 17:42:26 +0000 (17:42 +0000)]
enable tests using \u escapes for VC7; replaced compiler version checks for this with wxHAVE_U_ESCAPE defined once and for all in testprec.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38475
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 17:40:17 +0000 (17:40 +0000)]
really pass the proper output buffer size in wxMBConv_win32 round trip check, at least for the encodings without NULs such as UTF7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38474
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 17:34:48 +0000 (17:34 +0000)]
pass proper output buffer size in round trip conversion success check in wxMBConv_win32, otherwise conversions from UTF-7 always failed for example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38473
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 17:10:07 +0000 (17:10 +0000)]
moved wide char conversion tests to their own file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38472
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 17:07:25 +0000 (17:07 +0000)]
removed wxTextFile test case, what was it doing here?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38471
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Fri, 31 Mar 2006 16:39:07 +0000 (16:39 +0000)]
version 0.1.7-3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38470
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Fri, 31 Mar 2006 16:38:20 +0000 (16:38 +0000)]
ignore wrong colour spec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38469
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Fri, 31 Mar 2006 14:36:34 +0000 (14:36 +0000)]
fix for copy/paste to work with i18n
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38468
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 14:26:59 +0000 (14:26 +0000)]
added tests for UTF8 and UTF16 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38467
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 14:00:31 +0000 (14:00 +0000)]
don't give error when reading empty file in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38466
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 13:58:01 +0000 (13:58 +0000)]
Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38465
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 13:53:20 +0000 (13:53 +0000)]
rewrote Read() to slurp all the file at once to avoid problems in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38464
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 13:46:38 +0000 (13:46 +0000)]
added unit test for wxTextFile (reading only for now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38463
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Fri, 31 Mar 2006 11:13:03 +0000 (11:13 +0000)]
Better backward compatibility and deprecation markup for interface deprecated in comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38462
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 00:05:02 +0000 (00:05 +0000)]
also link in ODBC lib if wxUSE_ODBC (patch
1457800 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38460
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 00:03:15 +0000 (00:03 +0000)]
use wx/dynlib.h and not wx/dynload.h (patch
1448691 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38459
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Mar 2006 00:01:11 +0000 (00:01 +0000)]
added #if wxUSE_CONSTRAINTS around the whole file (patch
1448826 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38458
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 30 Mar 2006 23:49:34 +0000 (23:49 +0000)]
don't compile DirectDraw code when wxUSE_DIRECTDRAW==0 (patch
1461271 ); set wxUSE_DIRECTDRAW to 0 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38457
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jamie Gadd [Thu, 30 Mar 2006 23:01:55 +0000 (23:01 +0000)]
Include compatibility guard for int GetItemSpacing( bool isSmall ) in implementation file also.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38456
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 30 Mar 2006 15:35:44 +0000 (15:35 +0000)]
Fix previous crashes when scrolling generic version
of wxDataViewCtrl.
Added in-place editing of strings (no user vetoing
and such). The code uses the corrected version of
the respective code from wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38452
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Hock [Thu, 30 Mar 2006 15:29:22 +0000 (15:29 +0000)]
Fix GetTraits() check for event loop in wxSocketBase::_Wait() [ bug
1460607 ] [ patch by Angel / elkry ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38451
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 30 Mar 2006 15:25:59 +0000 (15:25 +0000)]
Fix wxListCtrl in-place editing (to not crash
when editin is finished by clicking somewhere
else and thus taking the focus away from the
wxTextCtrl). Also, "delete this" in the middle
of code isn't optimal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38450
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 30 Mar 2006 14:04:46 +0000 (14:04 +0000)]
don't process previously read characters twice in OnRead()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38449
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Thu, 30 Mar 2006 14:04:17 +0000 (14:04 +0000)]
Better backward compatibility and deprecation markup for interface deprecated in comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38448
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 30 Mar 2006 11:35:12 +0000 (11:35 +0000)]
Unicode correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38447
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 30 Mar 2006 11:32:39 +0000 (11:32 +0000)]
Generate Mac bundle for helpview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38446
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 30 Mar 2006 09:53:15 +0000 (09:53 +0000)]
Use memcpy instead of strcpy.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38444
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 30 Mar 2006 09:21:11 +0000 (09:21 +0000)]
Reverted wxChoice size fix due to problems in W2K and below
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38442
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 30 Mar 2006 01:41:47 +0000 (01:41 +0000)]
Need to tell which object to Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38441
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 30 Mar 2006 01:38:38 +0000 (01:38 +0000)]
Fixed reference leak in wx.gizmos.TreeListCtrl.GetSelections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38440
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Surovell [Wed, 29 Mar 2006 20:52:36 +0000 (20:52 +0000)]
simplify OnActivate menubar install code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38438
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 29 Mar 2006 19:19:06 +0000 (19:19 +0000)]
formatting and native HIView compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38437
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 29 Mar 2006 19:17:07 +0000 (19:17 +0000)]
clean-up and fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38436
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 29 Mar 2006 16:48:46 +0000 (16:48 +0000)]
made WX_CONFIG default configurable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38435
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 29 Mar 2006 16:30:29 +0000 (16:30 +0000)]
don't use -- inside XML comments, this is not allowed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38434
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 29 Mar 2006 14:33:53 +0000 (14:33 +0000)]
added func parameter to wxOnAssert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38433
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 29 Mar 2006 14:30:22 +0000 (14:30 +0000)]
don't return void values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38432
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 29 Mar 2006 14:22:03 +0000 (14:22 +0000)]
wxUSE_STL==1 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38431
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Wed, 29 Mar 2006 02:34:00 +0000 (02:34 +0000)]
Added GetResourcesDir and GetLocalizedResourcesDir to
wx.StandardPaths.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38429
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Surovell [Tue, 28 Mar 2006 19:55:24 +0000 (19:55 +0000)]
fix null-deref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38428
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 28 Mar 2006 19:25:30 +0000 (19:25 +0000)]
Some tweaks to build hosts and tasks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38427
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 28 Mar 2006 19:20:48 +0000 (19:20 +0000)]
avoid assert in wxMac port, only change the font point size when we
are going to be using it in objects that need to draw text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38426
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 28 Mar 2006 19:19:18 +0000 (19:19 +0000)]
Updated 2.6.3.0's CHANGES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38425
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775