]>
git.saurik.com Git - wxWidgets.git/log
Jaakko Salli [Sun, 4 Jan 2009 18:38:00 +0000 (18:38 +0000)]
Added bool property to the nested car sample (for testing purposes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57834
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 4 Jan 2009 16:04:22 +0000 (16:04 +0000)]
abstract VC6 workaround inside a WX_CPPUNIT_ALLOW_EQUALS_TO_INT() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57833
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 4 Jan 2009 15:53:09 +0000 (15:53 +0000)]
don't use \u in strings, VC6 doesn't support this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57832
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 4 Jan 2009 15:49:24 +0000 (15:49 +0000)]
use correct type for file offset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57831
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 4 Jan 2009 12:32:26 +0000 (12:32 +0000)]
need to overload assertEquals(int,short) too to resolve ambiguity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57829
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 4 Jan 2009 11:59:11 +0000 (11:59 +0000)]
more attempts to fix CppUnit::assertEquals for VC6 without breaking everything else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57828
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 4 Jan 2009 10:38:58 +0000 (10:38 +0000)]
Significant check box editor refactoring, including fix to UpdateControl() not doing its job correctly if property value was unspecified. Also, unspecified value is now drawn as a faint rectangle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57827
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 4 Jan 2009 10:37:22 +0000 (10:37 +0000)]
Added extra RefreshEditor() call for better testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57826
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sun, 4 Jan 2009 05:56:07 +0000 (05:56 +0000)]
build fix for GTK+ versions prior to 2.14
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57825
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sun, 4 Jan 2009 02:59:09 +0000 (02:59 +0000)]
properly handle DC origin and scale in wxDoFloodFill()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57824
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sun, 4 Jan 2009 02:58:52 +0000 (02:58 +0000)]
native implementation of DoGetPixel()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57823
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sun, 4 Jan 2009 02:42:03 +0000 (02:42 +0000)]
remove Rescale(), it is no longer used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57822
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sun, 4 Jan 2009 02:40:11 +0000 (02:40 +0000)]
Complete rewrite of DoDrawBitmap() and DoBlit().
Blit should now correctly handle all combinations of scaling, clipping, and mask.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57821
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 4 Jan 2009 00:47:10 +0000 (00:47 +0000)]
allow using CPPUNIT_ASSERT_EQUAL(int, wxFileOffset) too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57820
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 3 Jan 2009 19:29:46 +0000 (19:29 +0000)]
trying to fix buildbot VC6 build error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57819
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 3 Jan 2009 02:21:12 +0000 (02:21 +0000)]
don't use IPC from timer callback as this results in reentrancies in socket code, postpone it until the next idle handler call instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57808
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 3 Jan 2009 02:20:25 +0000 (02:20 +0000)]
restore code preventing the events being generated from inside our own DoRead/Write() mistakenly removed in r57796
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57807
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 3 Jan 2009 01:21:24 +0000 (01:21 +0000)]
added wxFDIODispatcher::HasPending() and implemented correctly wxConsoleEventLoop::Pending() using it to fix the pending events processing in console event loop based programs; also changed wxFDIODispatcher::Dispatch() return type/value to be able to indicate the errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57804
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Bryan Petty [Sat, 3 Jan 2009 01:17:36 +0000 (01:17 +0000)]
Updated translations manual page with latest status given by the website translations page (which should be completely up-to-date).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57803
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 3 Jan 2009 00:11:28 +0000 (00:11 +0000)]
properly restart epoll_wait() if it got interrupted by a signal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57800
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 2 Jan 2009 22:18:10 +0000 (22:18 +0000)]
call ProcessPendingEvents() from wxAppConsoleBase::ProcessIdle() too, not only from wxAppBase::ProcessIdle(); do not call it from wxConsoleEventLoop::Dispatch() as this results in unwanted reentrancies in the socket code when using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57799
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 2 Jan 2009 22:07:45 +0000 (22:07 +0000)]
streamline handling of wxSOCKET_LOST in DoWait()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57798
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 2 Jan 2009 21:58:09 +0000 (21:58 +0000)]
no changes, just reformat/indent consistently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57797
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 2 Jan 2009 21:53:30 +0000 (21:53 +0000)]
disable the events when we get a notification about socket being ready for IO and reenable them later after performing the IO in the Unix version to avoid continuous flood of ready notifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57796
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Fri, 2 Jan 2009 18:10:10 +0000 (18:10 +0000)]
fix GCC warning "suggest explicit braces..."
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57780
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 2 Jan 2009 17:34:16 +0000 (17:34 +0000)]
use guard classes automatically restoring the old state in their dtor instead of manually changing wxSocketBase::m_reading/writing/flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57778
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Fri, 2 Jan 2009 17:29:32 +0000 (17:29 +0000)]
fix header dependancy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57777
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 2 Jan 2009 16:59:23 +0000 (16:59 +0000)]
rename wxSocketSelectManager to wxSocketFDIOManager, the old name was confusing as it could be either select()- or epoll()-based
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57776
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 2 Jan 2009 01:00:40 +0000 (01:00 +0000)]
fix WaitForXXX() to work as before: if the socket is already ready for reading/writing they should return immediately
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57725
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 2 Jan 2009 00:59:20 +0000 (00:59 +0000)]
show the string received from client in test 2 correctly; use TestLogger just as in the client; use wxCharBuffer instead of manual new/delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57724
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 2 Jan 2009 00:44:32 +0000 (00:44 +0000)]
add accelerators for the other menu commands; plug memory leak in OnTest3(); use wxCharBuffer instead of manual new/delete to avoid leaks in the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57723
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 2 Jan 2009 00:04:55 +0000 (00:04 +0000)]
don't call DoWrite() if we have nothing to send (not nothing to receive)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57720
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 1 Jan 2009 23:56:52 +0000 (23:56 +0000)]
fix a bug in EventWorker::DoRead(): if both signature and the size of the incoming data were not received during the same read, the signature byte was lost and overwritten by size during the next read
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57718
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 1 Jan 2009 23:53:51 +0000 (23:53 +0000)]
LogWorker() was always called with m_peer as first argument so make it a member function to avoid having to pass it all the time to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57716
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 1 Jan 2009 23:49:07 +0000 (23:49 +0000)]
no changes, just reformat and avoid unnecessary uses of wxString::Format()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57715
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 1 Jan 2009 23:25:37 +0000 (23:25 +0000)]
also add wxSizer::IsEmpty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57712
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 1 Jan 2009 23:23:54 +0000 (23:23 +0000)]
make the new GetItemCount() const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57711
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 1 Jan 2009 22:05:29 +0000 (22:05 +0000)]
Added wxSizer::GetItemCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57708
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 1 Jan 2009 22:04:17 +0000 (22:04 +0000)]
Correct wx-config's output of base libs for OSX ports (don't include the _carbon/_cocoa)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57707
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 1 Jan 2009 17:08:41 +0000 (17:08 +0000)]
VC6 doesn't support using keyword (closes #10322)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57705
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 1 Jan 2009 15:18:40 +0000 (15:18 +0000)]
update copyright year to 2009 (closes #10319)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57704
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 1 Jan 2009 15:17:05 +0000 (15:17 +0000)]
VC6 compilation fix after r57689 (closes #10318)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57703
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 31 Dec 2008 18:52:32 +0000 (18:52 +0000)]
replace dynamic_cast<> with wxDynamicCast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57697
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 31 Dec 2008 17:31:32 +0000 (17:31 +0000)]
remove tabs added by error in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57695
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Wed, 31 Dec 2008 17:17:20 +0000 (17:17 +0000)]
Fix for OS X Cocoa build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57694
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 31 Dec 2008 17:07:30 +0000 (17:07 +0000)]
allow the user to pass NULL for the status widths; this was a feature supported by generic and MSW status bar but was not documented; document it; add menu item in the statbar sample for testing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57693
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 31 Dec 2008 15:27:00 +0000 (15:27 +0000)]
compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57692
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 31 Dec 2008 14:39:38 +0000 (14:39 +0000)]
customize the rearrange dialog even more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57691
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 31 Dec 2008 14:26:52 +0000 (14:26 +0000)]
make wxRearrangeDialog more customizable and add an example of customizing it to the dialogs sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57690
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 31 Dec 2008 14:14:07 +0000 (14:14 +0000)]
added SetLabelText() and EscapeMnemonics()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57689
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 31 Dec 2008 13:27:28 +0000 (13:27 +0000)]
added default ctor and Create() to wxRearrangeDialog for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57688
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 31 Dec 2008 13:08:12 +0000 (13:08 +0000)]
build fix for wxMSW statusbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57687
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 31 Dec 2008 12:28:05 +0000 (12:28 +0000)]
get rid of the wxListString class in wxStatusBar code; introduce a wxStatusBarPane class which enormously simplifies the code handling stacks/widths/styles of panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57686
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 31 Dec 2008 11:50:05 +0000 (11:50 +0000)]
compilation fix for LoadFile(name, type) calls which became ambiguous after the base class LoadFile() unhiding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57685
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 30 Dec 2008 23:56:04 +0000 (23:56 +0000)]
document wxEVT_NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57679
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 23:30:09 +0000 (23:30 +0000)]
include errno.h for ENOMEM (closes #10309)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57678
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 23:19:06 +0000 (23:19 +0000)]
extract AddColumnsItems() from ShowColumnsMenu() to make it possible to reuse it in custom menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57677
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 30 Dec 2008 18:22:24 +0000 (18:22 +0000)]
fix documentation for wxList and wxNode; doxygen see them as templates and the @class command confuses it; add link to C++ std::list docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57674
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 30 Dec 2008 18:19:49 +0000 (18:19 +0000)]
no real change; make more readable the Aliases section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57673
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 16:36:39 +0000 (16:36 +0000)]
handle exceptions thrown from overridden wxView::OnCreate() gracefully
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57671
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 15:07:04 +0000 (15:07 +0000)]
handle loss of connection explicitly in Read/Write() to fix socket IO under Unix after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57670
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 15:06:34 +0000 (15:06 +0000)]
compilation fix for g++ which doesn't like using wxLogMessage in wxON_BLOCK_SCOPE_EXIT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57669
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 14:50:23 +0000 (14:50 +0000)]
try reading/writing to/from the socket before blocking on it, this seems more efficient and is required to avoid blocking indefinitely under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57668
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 14:49:24 +0000 (14:49 +0000)]
more doc fixes, to wording and to return types ('&'s have been lost)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57667
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 14:36:07 +0000 (14:36 +0000)]
try to explain socket flags better (although bad ideas don't become good even when explained correctly...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57666
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 13:51:02 +0000 (13:51 +0000)]
prettify and simplify the URL test; use a URL more likely to run a web server than localhost by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57665
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 13:18:22 +0000 (13:18 +0000)]
fix memory leak in URL test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57664
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 12:53:44 +0000 (12:53 +0000)]
run wxURL test both with and without the event loop too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57663
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 12:53:04 +0000 (12:53 +0000)]
added wxURL test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57662
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 12:52:38 +0000 (12:52 +0000)]
fix handling of errors due to the other end of the socket being closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57661
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 12:09:06 +0000 (12:09 +0000)]
don't assert if MsgWaitForMultipleObjects() returns WAIT_OBJECT_0 but there are no messages in the queue -- this does happen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57660
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 12:08:00 +0000 (12:08 +0000)]
don't assert if the socket has been closed since the async notification generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57659
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 12:06:54 +0000 (12:06 +0000)]
fix MSVC warning about possibly uninitialized variable in Ellipsize() (which indicated possibly incorrect usage of this function)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57658
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 11:45:07 +0000 (11:45 +0000)]
document Initialize/Shutdown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57657
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 11:27:41 +0000 (11:27 +0000)]
added wxSocket::ShutdownOutput() (closes #9229)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57656
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 11:01:28 +0000 (11:01 +0000)]
ensure that WIN32 is defined, winsock2.h relies on it being defined and fails in interesting ways (by silently changing the struct alignment resulting in difficult to diagnose crashes later) if it isn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57654
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 00:11:04 +0000 (00:11 +0000)]
remove wxSOCKET_MAX_EVENT, it is not really necessary and results in gcc warnings about unhandled enum value in switch in existing code (including our own sample)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57653
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 00:07:48 +0000 (00:07 +0000)]
fix compilation due to the fact that wx/socket.h no longer includes system socket headers and so AF_INET (which we don't need here in the first place) is not defined any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57652
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 30 Dec 2008 00:01:54 +0000 (00:01 +0000)]
removed not doing anything and not compiling code from DoAssociation()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57651
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 23:21:13 +0000 (23:21 +0000)]
no real change; just reordered some implementations before real commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57650
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 29 Dec 2008 22:05:33 +0000 (22:05 +0000)]
mention wxEVT_GRID_CELL_CHANGED-related changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57649
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Mon, 29 Dec 2008 17:58:32 +0000 (17:58 +0000)]
Update editor control font centrally, in wxPropertyGrid::RefreshEditor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57647
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 16:38:41 +0000 (16:38 +0000)]
documented IsExtensionSupported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57644
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 16:06:53 +0000 (16:06 +0000)]
add the HTML string of the selected item to wxSimpleHtmlListBox events (closes #10159)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57643
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 15:50:46 +0000 (15:50 +0000)]
list also wxSystemOptions next to wxSystemSettings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57642
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 15:50:27 +0000 (15:50 +0000)]
document the wince.dialog.real-ok-cancel option (closes #10242)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57641
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 29 Dec 2008 15:20:51 +0000 (15:20 +0000)]
add errno.h to fix Mac compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57639
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 15:16:37 +0000 (15:16 +0000)]
fix memory leak while testing for correct Clone() implementation (closes #10304)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57638
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 15:03:39 +0000 (15:03 +0000)]
use a common m_isInsideYield flag instead of static booleans in all ports; add a IsYielding() test which can help to fix unwanted re-entrancies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57637
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 29 Dec 2008 14:51:49 +0000 (14:51 +0000)]
build fixes for wxUSE_IPV6==1 under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57636
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 29 Dec 2008 14:35:48 +0000 (14:35 +0000)]
replaced unweildy GAddress functions with wxSockAddressImpl class, similarly to GSocket -> wxSocketImpl transition; share more code between IPv4 and IPv6 branches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57635
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 14:14:39 +0000 (14:14 +0000)]
done various @todo items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57634
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 12:11:48 +0000 (12:11 +0000)]
add the -headerpad_max_install_names option to the screenshotgen utility to fix the buildbot builds on MacOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57633
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 10:41:39 +0000 (10:41 +0000)]
PCH-less build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57632
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 00:39:12 +0000 (00:39 +0000)]
call SetLabel() in Create() in order to run markup/ellipsization-support code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57627
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 29 Dec 2008 00:37:50 +0000 (00:37 +0000)]
use correct wxELLIPSIZE_* constants after r57625
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57626
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 28 Dec 2008 21:16:00 +0000 (21:16 +0000)]
move Ellipsize() to wxControl so it can be easily used by other controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57625
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 28 Dec 2008 19:50:21 +0000 (19:50 +0000)]
fix miscellaneous doxygen warnings; IMPORTANT: never leave empty lines inside a @beginEventTable/@endEventTable block (or similar blocks); it results in difficult-to-fix doxygen warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57624
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 28 Dec 2008 19:30:43 +0000 (19:30 +0000)]
no real change: rename wxPendingEvents to wxHandlersWithPendingEvents since its current name is misleading; that's not a list of events but a list of event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57623
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 28 Dec 2008 19:24:13 +0000 (19:24 +0000)]
refactor wxStaticText::Ellipsize so it's a static public utility function; document it and a couple of other useful functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57622
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775