]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Tue, 11 Apr 2006 01:05:18 +0000 (01:05 +0000)]
Unicode compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38667
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 11 Apr 2006 01:04:21 +0000 (01:04 +0000)]
some code simplifications, no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38666
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 11 Apr 2006 00:36:24 +0000 (00:36 +0000)]
added wxConvUI which determines the conversion used for the UI elements and can be changed from the user code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38665
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 11 Apr 2006 00:33:18 +0000 (00:33 +0000)]
documented all the other global conversion objects (wxConvLocal, wxConvISO8859_1, wxConvUTF8)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38664
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 10 Apr 2006 23:53:09 +0000 (23:53 +0000)]
use wxConvLocal for wxFONTENCODING_SYSTEM/DEFAULT in wxConvertToGTK()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38663
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 10 Apr 2006 22:26:36 +0000 (22:26 +0000)]
all encodings are available in GTK+ 2 (because we always convert to UTF-8 anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38662
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 10 Apr 2006 22:22:13 +0000 (22:22 +0000)]
use the encoding of the font which is used to draw the text when convering it to UTF-8 in wxGTK_CONV; the old wxGTK_CONV renamed to wxGTK_CONV_SYS (uses system encoding) and used in the contexts where no font is available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38661
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 10 Apr 2006 21:53:42 +0000 (21:53 +0000)]
no changes, just corrected the comment for wxConvLocal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38660
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 10 Apr 2006 19:42:56 +0000 (19:42 +0000)]
wxGetActiveWindow() exists in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38659
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Mon, 10 Apr 2006 19:10:43 +0000 (19:10 +0000)]
Bug #
1467905 : wxOS2 headers not included in wxBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38658
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 10 Apr 2006 16:22:42 +0000 (16:22 +0000)]
don't let the user modify the contents of read-only control (modified patch
1463707 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38657
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 10 Apr 2006 15:08:10 +0000 (15:08 +0000)]
added wxDCClipper ctor overload taking a wxRegion and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38656
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Surovell [Mon, 10 Apr 2006 14:58:15 +0000 (14:58 +0000)]
cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38655
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Mon, 10 Apr 2006 13:42:28 +0000 (13:42 +0000)]
Blind check for compatibility flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38654
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Mon, 10 Apr 2006 13:13:51 +0000 (13:13 +0000)]
added TreeCtrl.WindowIndex method for skipping items like MenuBar
when counting window children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38653
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 10 Apr 2006 13:04:25 +0000 (13:04 +0000)]
use #if WXWIN_COMPATIBILITY_2_6 guard around implementation of wxNotebookSizer ctor too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38652
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 10 Apr 2006 12:54:52 +0000 (12:54 +0000)]
use #if WXWIN_COMPATIBILITY_2_6 guard around implementation of wxBookCtrlSizer ctor too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38651
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 10 Apr 2006 11:45:54 +0000 (11:45 +0000)]
cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38650
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Surovell [Mon, 10 Apr 2006 08:04:13 +0000 (08:04 +0000)]
cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38649
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Surovell [Mon, 10 Apr 2006 04:45:25 +0000 (04:45 +0000)]
cleanup - reformatting, pt 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38648
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Surovell [Mon, 10 Apr 2006 03:54:42 +0000 (03:54 +0000)]
cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38647
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 10 Apr 2006 01:39:38 +0000 (01:39 +0000)]
use wxGTK_CONV instead of directly using wxConvLocal (simplifies code avoiding needless #ifdefs and prepares for further wxGTK_CONV changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38646
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 10 Apr 2006 01:35:21 +0000 (01:35 +0000)]
added wxWxCharBuffer which stands for buffer of wxChars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38645
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 10 Apr 2006 01:17:49 +0000 (01:17 +0000)]
don't generate wxEVT_CONTEXT_MENU messages for right clicks in the list control header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38644
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 10 Apr 2006 00:52:21 +0000 (00:52 +0000)]
fix for the previous commit: delete m_conv after calling Flush() which uses it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38643
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 9 Apr 2006 22:47:46 +0000 (22:47 +0000)]
really fix warning about implicitly converting 0 and 1 to size_t -- use explicit cast to size_type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38642
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 9 Apr 2006 20:42:40 +0000 (20:42 +0000)]
ISO8859-1 is also supported by GTK+ 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38641
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 9 Apr 2006 19:55:48 +0000 (19:55 +0000)]
added more files to parse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38640
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 9 Apr 2006 12:51:03 +0000 (12:51 +0000)]
make the string properly 0 terminated and allow for one char more on the output buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38639
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 9 Apr 2006 11:00:45 +0000 (11:00 +0000)]
very minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38638
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 9 Apr 2006 08:53:39 +0000 (08:53 +0000)]
in case of an faulty event this might not get initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38637
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 9 Apr 2006 08:48:36 +0000 (08:48 +0000)]
conversion fix by Ryan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38636
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 9 Apr 2006 08:37:56 +0000 (08:37 +0000)]
listbox cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38635
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 9 Apr 2006 06:50:54 +0000 (06:50 +0000)]
listbox cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38634
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 9 Apr 2006 06:42:32 +0000 (06:42 +0000)]
listbox cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38633
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sun, 9 Apr 2006 00:15:04 +0000 (00:15 +0000)]
Added CmdDown() to grid events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38632
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sun, 9 Apr 2006 00:09:35 +0000 (00:09 +0000)]
Use CmdDown in mouse events instead of ControlDown so Mac users can
multi-select with shift and cmd like they are used to. Other
platforms are not affected.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38631
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sat, 8 Apr 2006 23:09:46 +0000 (23:09 +0000)]
Added missing not operator that was preventing the drawing of the
gridlines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38630
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 8 Apr 2006 22:58:54 +0000 (22:58 +0000)]
don't redefine _CRT_SECURE_NO_DEPRECATE and _CRT_NON_CONFORMING_SWPRINTFS if already defined (patch
1463364 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38629
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 8 Apr 2006 22:51:42 +0000 (22:51 +0000)]
changed DoMessageFromThreadWait() to not block if there are no messages, this avoids the need for sending a dummy WM_NULL from the thread wait loop (replaces patch
1459812 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38628
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sat, 8 Apr 2006 21:49:20 +0000 (21:49 +0000)]
Give wx.GridTableBase a destructor, and clear the ownership when it is
passed to SetTable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38627
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 8 Apr 2006 15:32:18 +0000 (15:32 +0000)]
ellipsis support for static text (mac), applied patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38626
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 8 Apr 2006 15:26:05 +0000 (15:26 +0000)]
fixing Clipboard::IsSupported when asking for unicode text and only non-unicode text is available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38625
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sat, 8 Apr 2006 14:58:08 +0000 (14:58 +0000)]
Corrected FindString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38623
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 8 Apr 2006 14:33:00 +0000 (14:33 +0000)]
changing coordinates to client-area relative (patch
1378189 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38622
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 8 Apr 2006 13:00:13 +0000 (13:00 +0000)]
allowing the suppression of SetValue event-triggering (needed for composite controls)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38621
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 8 Apr 2006 11:43:13 +0000 (11:43 +0000)]
applying patch
1411230
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38620
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Surovell [Sat, 8 Apr 2006 09:14:06 +0000 (09:14 +0000)]
minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38619
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sat, 8 Apr 2006 06:17:11 +0000 (06:17 +0000)]
First pass at integrating a code generator in XRCed. Initial patch
from Eli Golovinsky, with lots of additional mods by me.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38618
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 8 Apr 2006 05:52:43 +0000 (05:52 +0000)]
ellipsis support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38617
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 7 Apr 2006 22:41:11 +0000 (22:41 +0000)]
fix recently introduced memory leak of m_conv (bug
1466559 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38616
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 7 Apr 2006 19:24:39 +0000 (19:24 +0000)]
wxNotebookSizer is gone now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38614
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 7 Apr 2006 19:21:50 +0000 (19:21 +0000)]
applied patch
1378261
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38613
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 7 Apr 2006 18:59:51 +0000 (18:59 +0000)]
applied patch
1466370
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38612
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 7 Apr 2006 18:56:13 +0000 (18:56 +0000)]
applied patch
1465549
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38611
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Surovell [Fri, 7 Apr 2006 16:51:36 +0000 (16:51 +0000)]
cleanup - added whitespace around operators, some blank lines, fixed comment typos, broke up one-line if-stmts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38610
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 7 Apr 2006 07:12:36 +0000 (07:12 +0000)]
Added minimal Info.plist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38609
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 7 Apr 2006 00:39:50 +0000 (00:39 +0000)]
added html headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38608
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 7 Apr 2006 00:38:49 +0000 (00:38 +0000)]
added wxTLW::ShouldPreventAppExit() which can be overridden to allow closing the application even if some windows are still opened; use it for wxHtmlHelpFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38607
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 6 Apr 2006 23:45:14 +0000 (23:45 +0000)]
some compilers warn about implicitly converting 0 and 1 to size_t -- use 0u and 1u instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38606
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 6 Apr 2006 17:11:25 +0000 (17:11 +0000)]
fixed gcc warnings about not initializing the base class in copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38605
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 6 Apr 2006 14:27:34 +0000 (14:27 +0000)]
GetBoundingRect() is supposed to return the logical coordinates, even in !textOnly case; also documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38604
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 6 Apr 2006 12:43:38 +0000 (12:43 +0000)]
leave enough space for the trailing NUL when converting UTF-16 to UTF-32 in Mac conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38603
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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