Vadim Zeitlin
|
0ed00ab5be
|
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
|
2009-01-03 02:20:25 +00:00 |
|
Vadim Zeitlin
|
a12698abb7
|
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
|
2009-01-03 01:21:24 +00:00 |
|
Vadim Zeitlin
|
e169ac8108
|
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
|
2009-01-03 00:11:28 +00:00 |
|
Vadim Zeitlin
|
14eb37a05e
|
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
|
2009-01-02 22:18:10 +00:00 |
|
Vadim Zeitlin
|
ebbf740764
|
streamline handling of wxSOCKET_LOST in DoWait()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-02 22:07:45 +00:00 |
|
Vadim Zeitlin
|
f26d81383f
|
no changes, just reformat/indent consistently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-02 21:58:09 +00:00 |
|
Vadim Zeitlin
|
df21920b80
|
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
|
2009-01-02 21:53:30 +00:00 |
|
Vadim Zeitlin
|
365b8793d3
|
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
|
2009-01-02 17:34:16 +00:00 |
|
Paul Cornett
|
9d77a075c0
|
fix header dependancy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-02 17:29:32 +00:00 |
|
Vadim Zeitlin
|
39b61b0581
|
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
|
2009-01-02 16:59:23 +00:00 |
|
Vadim Zeitlin
|
6f405b31b2
|
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
|
2009-01-02 01:00:40 +00:00 |
|
Vadim Zeitlin
|
6edd82502e
|
update copyright year to 2009 (closes #10319)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-01 15:18:40 +00:00 |
|
Francesco Montorsi
|
67f30682ce
|
replace dynamic_cast<> with wxDynamicCast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-31 18:52:32 +00:00 |
|
Francesco Montorsi
|
fd3ece5784
|
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
|
2008-12-31 17:31:32 +00:00 |
|
Kevin Ollivier
|
953e84ddd1
|
Fix for OS X Cocoa build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-31 17:17:20 +00:00 |
|
Francesco Montorsi
|
54e18afcca
|
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
|
2008-12-31 17:07:30 +00:00 |
|
Vadim Zeitlin
|
5a5f305a0f
|
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
|
2008-12-31 14:26:52 +00:00 |
|
Vadim Zeitlin
|
5b8b2c84f7
|
added SetLabelText() and EscapeMnemonics()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-31 14:14:07 +00:00 |
|
Francesco Montorsi
|
a37d94d3e1
|
build fix for wxMSW statusbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-31 13:08:12 +00:00 |
|
Francesco Montorsi
|
7b6fefbed1
|
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
|
2008-12-31 12:28:05 +00:00 |
|
Vadim Zeitlin
|
169f96cdf7
|
include errno.h for ENOMEM (closes #10309)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-30 23:30:09 +00:00 |
|
Vadim Zeitlin
|
ddd0db9619
|
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
|
2008-12-30 23:19:06 +00:00 |
|
Vadim Zeitlin
|
7047d7981f
|
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
|
2008-12-30 16:36:39 +00:00 |
|
Vadim Zeitlin
|
f17632706e
|
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
|
2008-12-30 15:07:04 +00:00 |
|
Vadim Zeitlin
|
f539560019
|
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
|
2008-12-30 14:50:23 +00:00 |
|
Vadim Zeitlin
|
9588640d19
|
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
|
2008-12-30 12:52:38 +00:00 |
|
Vadim Zeitlin
|
ac16633fdc
|
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
|
2008-12-30 12:09:06 +00:00 |
|
Vadim Zeitlin
|
7869000977
|
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
|
2008-12-30 12:08:00 +00:00 |
|
Vadim Zeitlin
|
41ce5eff75
|
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
|
2008-12-30 12:06:54 +00:00 |
|
Vadim Zeitlin
|
b67397a779
|
added wxSocket::ShutdownOutput() (closes #9229)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-30 11:27:41 +00:00 |
|
Vadim Zeitlin
|
c363ead1e2
|
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
|
2008-12-30 00:11:04 +00:00 |
|
Vadim Zeitlin
|
07a9d3f946
|
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
|
2008-12-30 00:01:54 +00:00 |
|
Francesco Montorsi
|
fad92e2f36
|
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
|
2008-12-29 23:21:13 +00:00 |
|
Jaakko Salli
|
a6353fe8f6
|
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
|
2008-12-29 17:58:32 +00:00 |
|
Francesco Montorsi
|
538483d8d0
|
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
|
2008-12-29 16:06:53 +00:00 |
|
Vadim Zeitlin
|
1f14508f73
|
add errno.h to fix Mac compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-29 15:20:51 +00:00 |
|
Francesco Montorsi
|
f7ae43f080
|
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
|
2008-12-29 15:16:37 +00:00 |
|
Francesco Montorsi
|
d181e877b0
|
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
|
2008-12-29 15:03:39 +00:00 |
|
Vadim Zeitlin
|
67badd5753
|
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
|
2008-12-29 14:51:49 +00:00 |
|
Vadim Zeitlin
|
c9bccf239c
|
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
|
2008-12-29 14:35:48 +00:00 |
|
Francesco Montorsi
|
02b4f9fd2a
|
PCH-less build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-29 10:41:39 +00:00 |
|
Francesco Montorsi
|
8f23c28713
|
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
|
2008-12-29 00:39:12 +00:00 |
|
Francesco Montorsi
|
7d27b6263c
|
use correct wxELLIPSIZE_* constants after r57625
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-29 00:37:50 +00:00 |
|
Francesco Montorsi
|
5c87527c5a
|
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
|
2008-12-28 21:16:00 +00:00 |
|
Francesco Montorsi
|
079f4130b8
|
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
|
2008-12-28 19:30:43 +00:00 |
|
Francesco Montorsi
|
4520d5836a
|
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
|
2008-12-28 19:24:13 +00:00 |
|
Vadim Zeitlin
|
9140731891
|
implement DispatchTimeout() for wxOSX/Cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-28 14:32:49 +00:00 |
|
Vadim Zeitlin
|
1df4b19481
|
implement DispatchTimeout() for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-28 14:25:00 +00:00 |
|
Francesco Montorsi
|
41d0b41d68
|
no change, just add comment about wxTheColourDatabase deletion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-28 11:34:30 +00:00 |
|
Francesco Montorsi
|
eed80e5efe
|
restore tabg.h and tabg.cpp for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-28 11:32:37 +00:00 |
|