]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
18 years agodon't crash if conversion of a command line argument to Unicode fails
Vadim Zeitlin [Thu, 6 Apr 2006 12:38:31 +0000 (12:38 +0000)] 
don't crash if conversion of a command line argument to Unicode fails

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agowxGTK2: No need to check for __WXGTK20__ here either (and test cia script again)
Mart Raudsepp [Thu, 6 Apr 2006 12:06:37 +0000 (12:06 +0000)] 
wxGTK2: No need to check for __WXGTK20__ here either (and test cia script again)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agowxGTK2: No need to check for __WXGTK20__ here
Mart Raudsepp [Thu, 6 Apr 2006 12:01:04 +0000 (12:01 +0000)] 
wxGTK2: No need to check for __WXGTK20__ here

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agowxGTK2: We don't need to check for __WXGTK20__ here
Mart Raudsepp [Thu, 6 Apr 2006 11:59:07 +0000 (11:59 +0000)] 
wxGTK2: We don't need to check for __WXGTK20__ here

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoadded missing const to fix last commit
Vadim Zeitlin [Thu, 6 Apr 2006 11:51:41 +0000 (11:51 +0000)] 
added missing const to fix last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agochanged the version and the date
Vadim Zeitlin [Thu, 6 Apr 2006 11:29:22 +0000 (11:29 +0000)] 
changed the version and the date

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoadded a cast to wxDecodeSurrogate() to fix wxMSW cross-compilation
Vadim Zeitlin [Thu, 6 Apr 2006 11:27:40 +0000 (11:27 +0000)] 
added a cast to wxDecodeSurrogate() to fix wxMSW cross-compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoMinor tweaks to bring up to date with CVS changes
Robin Dunn [Thu, 6 Apr 2006 02:35:05 +0000 (02:35 +0000)] 
Minor tweaks to bring up to date with CVS changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoUpdate with 2.6.3.2 info
Robin Dunn [Thu, 6 Apr 2006 02:34:10 +0000 (02:34 +0000)] 
Update with 2.6.3.2 info

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agocleanup (repeat of v197) - added whitespace around operators, some blank lines, fixed...
David Surovell [Thu, 6 Apr 2006 02:30:52 +0000 (02:30 +0000)] 
cleanup (repeat of v197) - added whitespace around operators, some blank lines, fixed comment typos, renamed out-in vars to outBuff-inBuff

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agowx.lib.pubsub updates from Oliver Schoenborn:
Robin Dunn [Thu, 6 Apr 2006 01:15:20 +0000 (01:15 +0000)] 
wx.lib.pubsub updates from Oliver Schoenborn:
    - the hash problem re non-hashable objects
    - now supports listeners that use *args as an argument
      (listener(*args) was not passing the validity test)
    - corrected some mistakes in documentation
    - added some clarifications (hopefully useful for first time
      users)
    - changed the way singleton is implemented since old way prevented
      pydoc etc from extracting docs for Publisher

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoForce a full refresh when the focus changes so the bitmap button will
Robin Dunn [Thu, 6 Apr 2006 00:12:11 +0000 (00:12 +0000)] 
Force a full refresh when the focus changes so the bitmap button will
redraw its label if needed.  Also give defaults to more of the ctor parameters.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoreally fixed number of bytes written in WriteString() in Unicode mode
Vadim Zeitlin [Wed, 5 Apr 2006 23:19:09 +0000 (23:19 +0000)] 
really fixed number of bytes written in WriteString() in Unicode mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoimplemented UTF-16/32 using To/FromWChar() instead of MB2WC/WC2MB for sizeof(wchar_t...
Vadim Zeitlin [Wed, 5 Apr 2006 23:04:10 +0000 (23:04 +0000)] 
implemented UTF-16/32 using To/FromWChar() instead of MB2WC/WC2MB for sizeof(wchar_t)==4 platforms too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago1. use a manifest constant wxNO_LEN instead of -1 for lengths everywhere
Vadim Zeitlin [Wed, 5 Apr 2006 22:12:45 +0000 (22:12 +0000)] 
1. use a manifest constant wxNO_LEN instead of -1 for lengths everywhere
2. reimplemented UTF-16/32 conversions using To/FromWChar() API instead
   of MB2WC/WC2MB for Windows (or rather SIZEOF_WCHAR_T == 2 platforms),
   the first tangible result is that reading UTF-32BE text streams now
   works too
3. more off by 1 fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoname the test just MBConv instead of MBConvTestCase
Vadim Zeitlin [Wed, 5 Apr 2006 21:03:25 +0000 (21:03 +0000)] 
name the test just MBConv instead of MBConvTestCase

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoname the test just Unicode instead of UnicodeTestCase
Vadim Zeitlin [Wed, 5 Apr 2006 19:59:27 +0000 (19:59 +0000)] 
name the test just Unicode instead of UnicodeTestCase

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agocleanup - added whitespace around operators, some blank lines, fixed comment typos...
David Surovell [Wed, 5 Apr 2006 18:02:26 +0000 (18:02 +0000)] 
cleanup - added whitespace around operators, some blank lines, fixed comment typos, renamed out-in vars to outBuff-inBuff

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoimplemented locating objects in gridbag sizer,
Roman Rolinsky [Wed, 5 Apr 2006 17:36:21 +0000 (17:36 +0000)] 
implemented locating objects in gridbag sizer,
expanding tree to show selected object

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoMac compilation fix after last commit
Vadim Zeitlin [Wed, 5 Apr 2006 17:10:01 +0000 (17:10 +0000)] 
Mac compilation fix after last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoadded wxMBConv::Clone() to be able to copy conversion objects polymorphically
Vadim Zeitlin [Wed, 5 Apr 2006 16:54:02 +0000 (16:54 +0000)] 
added wxMBConv::Clone() to be able to copy conversion objects polymorphically

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoalso fixed WriteString() to work correctly when outputting UTF-16/32: can't use strle...
Vadim Zeitlin [Wed, 5 Apr 2006 16:28:29 +0000 (16:28 +0000)] 
also fixed WriteString() to work correctly when outputting UTF-16/32: can't use strlen() with these encodings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agofixed NextChar() to read the entire character at once as before it stopped on the...
Vadim Zeitlin [Wed, 5 Apr 2006 16:17:58 +0000 (16:17 +0000)] 
fixed NextChar() to read the entire character at once as before it stopped on the first byte for ASCII input encoded as UTF-32LE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoadded wxMBConv::Clone() to be able to copy conversion objects polymorphically
Vadim Zeitlin [Wed, 5 Apr 2006 16:10:08 +0000 (16:10 +0000)] 
added wxMBConv::Clone() to be able to copy conversion objects polymorphically

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoproperly NUL-terminate the output in wxMBConvUTF16swap::WC2MB()
Vadim Zeitlin [Wed, 5 Apr 2006 15:18:05 +0000 (15:18 +0000)] 
properly NUL-terminate the output in wxMBConvUTF16swap::WC2MB()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agorebaked after adding convautotest.cpp
Vadim Zeitlin [Wed, 5 Apr 2006 15:07:06 +0000 (15:07 +0000)] 
rebaked after adding convautotest.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agorebaked after adding convauto.cpp/.h
Vadim Zeitlin [Wed, 5 Apr 2006 15:06:15 +0000 (15:06 +0000)] 
rebaked after adding convauto.cpp/.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoSecond fix for Copy/Paste (using expat.native_encoding property).
Roman Rolinsky [Wed, 5 Apr 2006 14:55:17 +0000 (14:55 +0000)] 
Second fix for Copy/Paste (using expat.native_encoding property).
Added cellpos,cellspan properties for Spacer in GridBag sizer.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agotests for wxConvAuto
Vadim Zeitlin [Wed, 5 Apr 2006 14:38:42 +0000 (14:38 +0000)] 
tests for wxConvAuto

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago1. changed all "wxMBConv& conv" parameters to "const wxMBConv&"
Vadim Zeitlin [Wed, 5 Apr 2006 14:37:47 +0000 (14:37 +0000)] 
1. changed all "wxMBConv& conv" parameters to "const wxMBConv&"
2. this allows to use wxConvAuto() instead of wxConvUTF8 as default value
   for this parameter in the classes which read text from the file: wxConvAuto
   automatically recognizes the BOM at the start of file and uses the correct
   conversion
3. don't use Windows for UTF-7 conversions as there is no way to make it
   fail on invalid UTF-7 strings; use our own wxMBConvUtf7 instead

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoencconv.cpp: Remove comment about 5 being big enough value for ENC_PER_PLATFORM ...
Mart Raudsepp [Wed, 5 Apr 2006 10:02:28 +0000 (10:02 +0000)] 
encconv.cpp: Remove comment about 5 being big enough value for ENC_PER_PLATFORM - it should be the minimum
necessary instead.
fmapbase.cpp: Slightly reduce the size of an array - it should be reduced further (we only have one item with the
size of 9, rest are not over 6)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoUpdate unictabl.inc manually, keeping KOI8-U, while doing it as close as possible...
Mart Raudsepp [Wed, 5 Apr 2006 00:37:45 +0000 (00:37 +0000)] 
Update unictabl.inc manually, keeping KOI8-U, while doing it as close as possible for as how the regenerator would
have done if it had a matching KOI8-U.TXT file at hand.
This moves 5.9KB from .data to .rodata (guaranteed to be shared among wx apps).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoSupport having const encoding tables. Modify generator code to regenerate as such.
Mart Raudsepp [Wed, 5 Apr 2006 00:30:18 +0000 (00:30 +0000)] 
Support having const encoding tables. Modify generator code to regenerate as such.
Can't simply regenerate src/common/unictabl.inc, because KOI8-U.TXT is missing, and mk_fallbacks has issues
(sort +2 isn't valid on my system)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoMake the unicode table scripts generate file with whitespacing done as has been manua...
Mart Raudsepp [Wed, 5 Apr 2006 00:18:31 +0000 (00:18 +0000)] 
Make the unicode table scripts generate file with whitespacing done as has been manually edited despite the
warning on top.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoDocstring fix
Robin Dunn [Tue, 4 Apr 2006 23:33:01 +0000 (23:33 +0000)] 
Docstring fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoEVT_TEXT_ENTER handler on a combobox needs evt.Skip() otherwise the
Robin Dunn [Tue, 4 Apr 2006 23:29:14 +0000 (23:29 +0000)] 
EVT_TEXT_ENTER handler on a combobox needs evt.Skip() otherwise the
dropdown may not close

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoMake EquivalentEncodings 3-dimensional array const, moving 864 bytes from data segmen...
Mart Raudsepp [Tue, 4 Apr 2006 23:01:57 +0000 (23:01 +0000)] 
Make EquivalentEncodings 3-dimensional array const, moving 864 bytes from data segment (copy-on-write) to
.rodata segment (always guaranteed to be shared among processes) in wxBase.
Make said array as big as necessary, not bigger than necessary (as before) - shaving 122 bytes off of that 864
bytes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agowxGTK2: No need to warn about threads being unsupported if gtk+ is lower than 1.2...
Mart Raudsepp [Tue, 4 Apr 2006 19:44:27 +0000 (19:44 +0000)] 
wxGTK2: No need to warn about threads being unsupported if gtk+ is lower than 1.2.4 - this is source code for gtk2
only.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoAdd GDK_PIXBUF_DISABLE_DEPRECATED, it should build with it now. Will keep an eye...
Mart Raudsepp [Tue, 4 Apr 2006 19:34:38 +0000 (19:34 +0000)] 
Add GDK_PIXBUF_DISABLE_DEPRECATED, it should build with it now. Will keep an eye on the tinderbox at a reasonable
interval.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agogdk_window_get_colormap -> gdk_drawable_get_colormap
Mart Raudsepp [Tue, 4 Apr 2006 18:56:39 +0000 (18:56 +0000)] 
gdk_window_get_colormap -> gdk_drawable_get_colormap

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agogdk_cursor_destroy -> gdk_cursor_unref
Mart Raudsepp [Tue, 4 Apr 2006 18:19:55 +0000 (18:19 +0000)] 
gdk_cursor_destroy -> gdk_cursor_unref

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoGDK_ROOT_PARENT -> gdk_get_default_root_window
Mart Raudsepp [Tue, 4 Apr 2006 17:50:58 +0000 (17:50 +0000)] 
GDK_ROOT_PARENT -> gdk_get_default_root_window

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agogdk_window_get_size -> gdk_drawable_get_size
Mart Raudsepp [Tue, 4 Apr 2006 17:19:42 +0000 (17:19 +0000)] 
gdk_window_get_size -> gdk_drawable_get_size

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoadded missing paren
David Surovell [Tue, 4 Apr 2006 16:40:38 +0000 (16:40 +0000)] 
added missing paren

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agogdk_gc_destroy -> gdk_gc_unref -> g_object_unref
Mart Raudsepp [Tue, 4 Apr 2006 15:06:55 +0000 (15:06 +0000)] 
gdk_gc_destroy -> gdk_gc_unref -> g_object_unref

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agogdk_image_destroy -> g_object_unref (gdk_image_destroy is deprecated in favor of...
Mart Raudsepp [Tue, 4 Apr 2006 14:57:45 +0000 (14:57 +0000)] 
gdk_image_destroy -> g_object_unref (gdk_image_destroy is deprecated in favor of gdk_image_unref, and is just a
#define to it; gdk_image_unref deprecated in favor of g_object_unref)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agogdk_pixbuf_unref -> g_object_unref
Mart Raudsepp [Tue, 4 Apr 2006 14:44:06 +0000 (14:44 +0000)] 
gdk_pixbuf_unref -> g_object_unref

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agogdk_gc_unref -> g_object_unref
Mart Raudsepp [Tue, 4 Apr 2006 14:26:57 +0000 (14:26 +0000)] 
gdk_gc_unref -> g_object_unref

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agocorrected mistake in the UTF-16 test on big endian machines
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

18 years agoAnd gdk_drawable_unref is in turn deprecated in favor of g_object_unref
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

18 years agogdk_bitmap/pixmap_unref -> gdk_drawable_unref
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

18 years agogdk_draw_pixmap -> gdk_draw_drawable
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

18 years agogdk_window_copy_area(drawable,gc,x,y,source_drawable,source_x,source_y,width,height) ->
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

18 years agogdk_window_get_visual -> gdk_drawable_get_visual
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

18 years agoMB2WC/WC2MB are not pure virtual any longer, implement them in terms of To/FromWChar()
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

18 years agoadded new To/FromWChar() API with more reasonable semantics than old MB2WC/WC2MB...
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

18 years agorenamed GetMinMBCharWidth() to GetMBNulLen(), made it public and documented it
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

18 years agofixed LaTeX markup to suit tex2rtf
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

18 years agoadded ParseInnerSource() to make <pre>-like parsing easier
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

18 years agoWarning fix.
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

18 years agoSync wxGTK docs from WX_2_6_BRANCH to HEAD
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

18 years agominor cleanup - reformatting
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

18 years agoApple gcc compilation fixes: for it size_t and unsigned are not the same type for...
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

18 years agofixed wxMBConv_iconv to work with UTF-16/32
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

18 years agoproperly terminate UTF-32 test string
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

18 years agocompilation fix for iconv call
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

18 years agoCorrected index passed
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

18 years agoadded filename comparison test
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

18 years agoreplaced recently added wxMBConv::GetMBNul() with a less clever but better
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

18 years agoadded wxBuffer::reset()
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

18 years agoadded UTF-32 test
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

18 years agoadded test UTF-16 string with embedded NUL NUL which makes the current code fail
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

18 years agoadded test UTF-16 string with embedded NUL NUL not terminating the string
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

18 years agoMake the Connect that also takes a local bind port non-virtual. This silences some...
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

18 years agodocument missing default parameters in ctor (patch 1458151)
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

18 years agodon't crash when loading images with verbose==false (patch 1449823)
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

18 years agoreport error for GIF images without CLEAR code in the stream instead of crashing...
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

18 years agouse proper dllexport declaration with _WX_LIST_HELPER_
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

18 years agoadded wxTimeSpan::Millisecond[s]() for consistency
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

18 years agoseconds and milliseconds in wxTimeSpan ctor should be long long, not long
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

18 years agoReset the position when auto-sizing toolbar
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

18 years agofix compilation problem in prior commit
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

18 years agolet the UTF7 test fail but not crash
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

18 years agofixed wxMBConv_iconv::GetMBNul()
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

18 years agoregenerated to add textfiletest
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

18 years agoUnix compilation fixes after last commit
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

18 years agoadded NUL command
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

18 years agoDescribed in the comments and documented the semantics of the parameters and
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

18 years agomade DoTestConversion() work with strings containing NULs
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

18 years agoadded extend() method which realloc()s the buffer
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

18 years agodefault ctor should create an empty/uninitialized buffer, not one with a single chara...
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

18 years agoFixed the equality and inequality operators for some of the basic
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

18 years agoFixed problem in wx.lib.splitter when used on 64-bit platforms. Used
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

18 years agoadded missing licence information
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

18 years agoundid last (wrong) change to wxMBConvUTF16swap::MB2WC(); added comment to explain why
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

18 years agoadded UTF16 test
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

18 years agofixed fatal buffer overwrite in wxMBConvUTF16swap::MB2WC()
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

18 years agodetect some invalid UTF7 strings when decoding them in wxMBConvUTF7
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

18 years agotest predefined wxConvUTF[78] too
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

18 years agothe expected test result was wrong, corrected; also define a manifest constant only...
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