]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agohandle exceptions thrown from overridden wxView::OnCreate() gracefully
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

15 years agohandle loss of connection explicitly in Read/Write() to fix socket IO under Unix...
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

15 years agocompilation fix for g++ which doesn't like using wxLogMessage in wxON_BLOCK_SCOPE_EXIT
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

15 years agotry reading/writing to/from the socket before blocking on it, this seems more efficie...
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

15 years agomore doc fixes, to wording and to return types ('&'s have been lost)
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

15 years agotry to explain socket flags better (although bad ideas don't become good even when...
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

15 years agoprettify and simplify the URL test; use a URL more likely to run a web server than...
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

15 years agofix memory leak in URL test
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

15 years agorun wxURL test both with and without the event loop too
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

15 years agoadded wxURL test
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

15 years agofix handling of errors due to the other end of the socket being closed
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

15 years agodon't assert if MsgWaitForMultipleObjects() returns WAIT_OBJECT_0 but there are no...
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

15 years agodon't assert if the socket has been closed since the async notification generation
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

15 years agofix MSVC warning about possibly uninitialized variable in Ellipsize() (which indicate...
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

15 years agodocument Initialize/Shutdown()
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

15 years agoadded wxSocket::ShutdownOutput() (closes #9229)
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

15 years agoensure that WIN32 is defined, winsock2.h relies on it being defined and fails in...
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

15 years agoremove wxSOCKET_MAX_EVENT, it is not really necessary and results in gcc warnings...
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

15 years agofix compilation due to the fact that wx/socket.h no longer includes system socket...
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

15 years agoremoved not doing anything and not compiling code from DoAssociation()
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

15 years agono real change; just reordered some implementations before real commit
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

15 years agomention wxEVT_GRID_CELL_CHANGED-related changes
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

15 years agoUpdate editor control font centrally, in wxPropertyGrid::RefreshEditor()
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

15 years agodocumented IsExtensionSupported
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

15 years agoadd the HTML string of the selected item to wxSimpleHtmlListBox events (closes #10159)
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

15 years agolist also wxSystemOptions next to wxSystemSettings
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

15 years agodocument the wince.dialog.real-ok-cancel option (closes #10242)
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

15 years agoadd errno.h to fix Mac compilation
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

15 years agofix memory leak while testing for correct Clone() implementation (closes #10304)
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

15 years agouse a common m_isInsideYield flag instead of static booleans in all ports; add a...
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

15 years agobuild fixes for wxUSE_IPV6==1 under Windows
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

15 years agoreplaced unweildy GAddress functions with wxSockAddressImpl class, similarly to GSock...
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

15 years agodone various @todo items
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

15 years agoadd the -headerpad_max_install_names option to the screenshotgen utility to fix the...
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

15 years agoPCH-less build fix
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

15 years agocall SetLabel() in Create() in order to run markup/ellipsization-support code
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

15 years agouse correct wxELLIPSIZE_* constants after r57625
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

15 years agomove Ellipsize() to wxControl so it can be easily used by other controls
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

15 years agofix miscellaneous doxygen warnings; IMPORTANT: never leave empty lines inside a ...
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

15 years agono real change: rename wxPendingEvents to wxHandlersWithPendingEvents since its curre...
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

15 years agorefactor wxStaticText::Ellipsize so it's a static public utility function; document...
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

15 years agoimplement DispatchTimeout() for wxOSX/Cocoa
Vadim Zeitlin [Sun, 28 Dec 2008 14:32:49 +0000 (14:32 +0000)] 
implement DispatchTimeout() for wxOSX/Cocoa

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

15 years agoimplement DispatchTimeout() for wxCocoa
Vadim Zeitlin [Sun, 28 Dec 2008 14:25:00 +0000 (14:25 +0000)] 
implement DispatchTimeout() for wxCocoa

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

15 years agono change, just add comment about wxTheColourDatabase deletion
Francesco Montorsi [Sun, 28 Dec 2008 11:34:30 +0000 (11:34 +0000)] 
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

15 years agorestore tabg.h and tabg.cpp for wxMotif
Francesco Montorsi [Sun, 28 Dec 2008 11:32:37 +0000 (11:32 +0000)] 
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

15 years agorestore tabg.cpp for wxMotif's wxNotebook implementation
Francesco Montorsi [Sun, 28 Dec 2008 11:06:31 +0000 (11:06 +0000)] 
restore tabg.cpp for wxMotif's wxNotebook implementation

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

15 years agofix wxPowerEvent, wxRichTextEvent and wxWizardEvent so that they pass the runtime...
Francesco Montorsi [Sun, 28 Dec 2008 01:29:37 +0000 (01:29 +0000)] 
fix wxPowerEvent, wxRichTextEvent and wxWizardEvent so that they pass the runtime check for correct implementation of the Clone() function

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

15 years agomove Read/Write() to common code, there was almost nothing platform-specific in it
Vadim Zeitlin [Sat, 27 Dec 2008 22:49:46 +0000 (22:49 +0000)] 
move Read/Write() to common code, there was almost nothing platform-specific in it

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

15 years agowxSocketImpl::Shutdown() doesn't need to be virtual, its implementation can the same...
Vadim Zeitlin [Sat, 27 Dec 2008 22:03:34 +0000 (22:03 +0000)] 
wxSocketImpl::Shutdown() doesn't need to be virtual, its implementation can the same in Unix and Win32 versions (events are already disabled by Close() so there is no need to do it again explicitly under Unix)

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

15 years agodon't remove/add back the socket to the list of inputs monitored by the event loop...
Vadim Zeitlin [Sat, 27 Dec 2008 21:56:05 +0000 (21:56 +0000)] 
don't remove/add back the socket to the list of inputs monitored by the event loop all the time but just leave it there until the socket is destroyed; this should be beneficial from performance point of view (although hard to measure) and also makes the code simpler

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

15 years agoremove the now unused Connect_Timeout()
Vadim Zeitlin [Sat, 27 Dec 2008 21:49:35 +0000 (21:49 +0000)] 
remove the now unused Connect_Timeout()

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

15 years agoremove the badle defined and apparently unnecessary wxSocketImpl::m_detected field
Vadim Zeitlin [Sat, 27 Dec 2008 21:48:42 +0000 (21:48 +0000)] 
remove the badle defined and apparently unnecessary wxSocketImpl::m_detected field

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

15 years agocompilation fix: use IsServer() instead of m_server directly
Vadim Zeitlin [Sat, 27 Dec 2008 21:30:02 +0000 (21:30 +0000)] 
compilation fix: use IsServer() instead of m_server directly

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

15 years ago(blind) fix for unneeded inclusions of headers
Francesco Montorsi [Sat, 27 Dec 2008 18:42:33 +0000 (18:42 +0000)] 
(blind) fix for unneeded inclusions of headers

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

15 years agoAdd Wonderful World of wxWidgets 3.0.
Robert Roebling [Sat, 27 Dec 2008 18:37:38 +0000 (18:37 +0000)] 
Add Wonderful World of wxWidgets 3.0.

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

15 years agoblind fix for wxMac (notebook headers shouldn't be needed by wxStaticText)
Francesco Montorsi [Sat, 27 Dec 2008 18:35:08 +0000 (18:35 +0000)] 
blind fix for wxMac (notebook headers shouldn't be needed by wxStaticText)

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

15 years agomap EAGAIN to wxSOCKET_WOULDBLOCK too as tit has this meaning for read() (even though...
Vadim Zeitlin [Sat, 27 Dec 2008 18:01:59 +0000 (18:01 +0000)] 
map EAGAIN to wxSOCKET_WOULDBLOCK too as tit has this meaning for read() (even though it doesn't have it for connect())

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

15 years agogot rid of wxSocketBase::m_error which could get out of sync with wxSocketImpl::m_err...
Vadim Zeitlin [Sat, 27 Dec 2008 17:56:03 +0000 (17:56 +0000)] 
got rid of wxSocketBase::m_error which could get out of sync with wxSocketImpl::m_error -- one error indicator is enough

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

15 years agodon't assert (and then crash) in wxEvent::Clone() checking code
Paul Cornett [Sat, 27 Dec 2008 17:47:55 +0000 (17:47 +0000)] 
don't assert (and then crash) in wxEvent::Clone() checking code

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

15 years agoour sockets are always non-blocking anyhow so throw away all the code dealing with...
Vadim Zeitlin [Sat, 27 Dec 2008 17:15:22 +0000 (17:15 +0000)] 
our sockets are always non-blocking anyhow so throw away all the code dealing with checking if they're blocking; also merge Unix/Win32 versions of connect() and accept() handling as they were almost identical except for the different checking of the return value which was factored out into a platform-specific GetLastError() function

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

15 years agoremove deprecated wxTabCtrl also from makefiles
Francesco Montorsi [Sat, 27 Dec 2008 15:26:22 +0000 (15:26 +0000)] 
remove deprecated wxTabCtrl also from makefiles

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

15 years agoremove the long deprecated wxTabCtrl class
Francesco Montorsi [Sat, 27 Dec 2008 14:58:12 +0000 (14:58 +0000)] 
remove the long deprecated wxTabCtrl class

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

15 years agofix wxSashEvent, wxFindDialogEvent, wxSplitterEvent to implement Clone() correctly
Francesco Montorsi [Sat, 27 Dec 2008 14:48:26 +0000 (14:48 +0000)] 
fix wxSashEvent, wxFindDialogEvent, wxSplitterEvent to implement Clone() correctly

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

15 years agouse accelerators for menu items and stock menu item labels for stock IDs
Francesco Montorsi [Sat, 27 Dec 2008 14:28:46 +0000 (14:28 +0000)] 
use accelerators for menu items and stock menu item labels for stock IDs

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

15 years agofix Purpose comment
Francesco Montorsi [Sat, 27 Dec 2008 14:24:37 +0000 (14:24 +0000)] 
fix Purpose comment

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

15 years agoFix wxCalendarEvent and wxTextUrlEvent event classes implementing Clone() correctly...
Francesco Montorsi [Sat, 27 Dec 2008 14:23:38 +0000 (14:23 +0000)] 
Fix wxCalendarEvent and wxTextUrlEvent event classes implementing Clone() correctly (as pointed out by the new runtime check)

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

15 years agodon't use backspace as accelerator; at least GTK+ doesn't like it
Francesco Montorsi [Sat, 27 Dec 2008 14:21:35 +0000 (14:21 +0000)] 
don't use backspace as accelerator; at least GTK+ doesn't like it

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

15 years agoname also QueueEvent
Francesco Montorsi [Sat, 27 Dec 2008 13:46:31 +0000 (13:46 +0000)] 
name also QueueEvent

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

15 years agodo not document Clone() overloads only for some classes; Clone() is reimplemented...
Francesco Montorsi [Sat, 27 Dec 2008 13:46:00 +0000 (13:46 +0000)] 
do not document Clone() overloads only for some classes; Clone() is reimplemented in all event classes

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

15 years agoremove wxClassInfo::InitializeClasses docs; that function does not exist anymore
Francesco Montorsi [Sat, 27 Dec 2008 13:42:14 +0000 (13:42 +0000)] 
remove wxClassInfo::InitializeClasses docs; that function does not exist anymore

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

15 years agofix wxTimerEvent and wxTreeCtrl to use IMPLEMENT_DYNAMIC_CLASS macro
Francesco Montorsi [Sat, 27 Dec 2008 13:40:49 +0000 (13:40 +0000)] 
fix wxTimerEvent and wxTreeCtrl to use IMPLEMENT_DYNAMIC_CLASS macro

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

15 years agoimplement a runtime check to test if wxEvent::Clone is implemented correctly for...
Francesco Montorsi [Sat, 27 Dec 2008 13:38:40 +0000 (13:38 +0000)] 
implement a runtime check to test if wxEvent::Clone is implemented correctly for all wxWidgets events

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

15 years agomake the test really use the different socket flags and disable the use of wxSOCKET_N...
Vadim Zeitlin [Sat, 27 Dec 2008 11:41:30 +0000 (11:41 +0000)] 
make the test really use the different socket flags and disable the use of wxSOCKET_NOWAIT as some tests fail in this case

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

15 years agoset m_closed to true when we get connection lost notification
Vadim Zeitlin [Sat, 27 Dec 2008 11:39:46 +0000 (11:39 +0000)] 
set m_closed to true when we get connection lost notification

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

15 years agomore CPPUNIT_ASSERT replacements with CPPUNIT_ASSERT_EQUAL
Vadim Zeitlin [Sat, 27 Dec 2008 11:22:59 +0000 (11:22 +0000)] 
more CPPUNIT_ASSERT replacements with CPPUNIT_ASSERT_EQUAL

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

15 years agoalso include wxSocket test in the GUI test as different event loop implementations...
Vadim Zeitlin [Sat, 27 Dec 2008 11:14:10 +0000 (11:14 +0000)] 
also include wxSocket test in the GUI test as different event loop implementations may be used for console and GUI apps resulting in different bugs

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

15 years agomake the test really use the event loop in its second half (this already was the...
Vadim Zeitlin [Sat, 27 Dec 2008 11:12:47 +0000 (11:12 +0000)] 
make the test really use the event loop in its second half (this already was the intention before but it didn't work correctly)

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

15 years agoimplement wxEventLoop::DispatchTimeout() for wxGTK (thanks Paul) and rewrote it to...
Vadim Zeitlin [Sat, 27 Dec 2008 11:01:39 +0000 (11:01 +0000)] 
implement wxEventLoop::DispatchTimeout() for wxGTK (thanks Paul) and rewrote it to not use wxEventLoopImpl which it doesn't need

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

15 years agodo not use @b when referencing to functions; use final () to enable doxygen autolink
Francesco Montorsi [Sat, 27 Dec 2008 10:20:33 +0000 (10:20 +0000)] 
do not use @b when referencing to functions; use final () to enable doxygen autolink

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

15 years agouse HasFlag(wxXX) instead of GetWindowStyle() & wxXX; it's more readable
Francesco Montorsi [Sat, 27 Dec 2008 10:15:28 +0000 (10:15 +0000)] 
use HasFlag(wxXX) instead of GetWindowStyle() & wxXX; it's more readable

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

15 years agoautolink CreateButtonSizer
Francesco Montorsi [Sat, 27 Dec 2008 10:14:18 +0000 (10:14 +0000)] 
autolink CreateButtonSizer

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

15 years agoalso initialize option value length before calling getsockopt()
Vadim Zeitlin [Sat, 27 Dec 2008 00:21:28 +0000 (00:21 +0000)] 
also initialize option value length before calling getsockopt()

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

15 years agoinitialize name length before calling getsockname()
Vadim Zeitlin [Sat, 27 Dec 2008 00:19:37 +0000 (00:19 +0000)] 
initialize name length before calling getsockname()

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

15 years agomove generic DispatchTimeout() implementation in the header as evtloopcmn.cpp is...
Vadim Zeitlin [Sat, 27 Dec 2008 00:04:57 +0000 (00:04 +0000)] 
move generic DispatchTimeout() implementation in the header as evtloopcmn.cpp is part of wxBase and so can't define a method of a wxCore class

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

15 years agotest sockets both with and without event loop
Vadim Zeitlin [Fri, 26 Dec 2008 22:58:20 +0000 (22:58 +0000)] 
test sockets both with and without event loop

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

15 years agoPCH-less compilation fix
Vadim Zeitlin [Fri, 26 Dec 2008 22:51:51 +0000 (22:51 +0000)] 
PCH-less compilation fix

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

15 years agouse DispatchTimeout() and/or select() with timeout instead of polling loop in wxSocke...
Vadim Zeitlin [Fri, 26 Dec 2008 22:50:50 +0000 (22:50 +0000)] 
use DispatchTimeout() and/or select() with timeout instead of polling loop in wxSocket::DoWait()

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

15 years agoadded wxEventLoop::DispatchTimeout()
Vadim Zeitlin [Fri, 26 Dec 2008 22:28:34 +0000 (22:28 +0000)] 
added wxEventLoop::DispatchTimeout()

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

15 years agoreturn true if we did anything in NotifyExpired()
Vadim Zeitlin [Fri, 26 Dec 2008 22:27:02 +0000 (22:27 +0000)] 
return true if we did anything in NotifyExpired()

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

15 years agoremove m_use_events from Unix wxSocket implementation, we always need asynchronous...
Vadim Zeitlin [Fri, 26 Dec 2008 20:20:46 +0000 (20:20 +0000)] 
remove m_use_events from Unix wxSocket implementation, we always need asynchronous socket notifications now (and this was always the case under Windows anyhow), even if we don't always generate wx events corresponding to them

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

15 years agoHave wxPGTextCtrlEditor::UpdateControl() update wxTextCtrl font boldness based on...
Jaakko Salli [Fri, 26 Dec 2008 18:46:08 +0000 (18:46 +0000)] 
Have wxPGTextCtrlEditor::UpdateControl() update wxTextCtrl font boldness based on property's modified-status

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

15 years agowe don't need to use select() in DoWait() if we're receiving notifications about...
Vadim Zeitlin [Fri, 26 Dec 2008 14:39:04 +0000 (14:39 +0000)] 
we don't need to use select() in DoWait() if we're receiving notifications about changes on our socket anyhow, this makes the code less efficient and, most importantly, much more confusing than necessary

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

15 years agoremember the events we were notified about in OnRequest() (not used yet but necessary...
Vadim Zeitlin [Fri, 26 Dec 2008 14:33:52 +0000 (14:33 +0000)] 
remember the events we were notified about in OnRequest() (not used yet but necessary for upcoming changes)

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

15 years agodon't use function syntax which /bin/sh doesn't grok
Vadim Zeitlin [Fri, 26 Dec 2008 13:42:30 +0000 (13:42 +0000)] 
don't use function syntax which /bin/sh doesn't grok

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

15 years agodon't use dot in brackets as doxygen renders dot with a line break
Francesco Montorsi [Fri, 26 Dec 2008 12:24:18 +0000 (12:24 +0000)] 
don't use dot in brackets as doxygen renders dot with a line break

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

15 years agocorrect typo in one of the last changes
Vadim Zeitlin [Fri, 26 Dec 2008 00:01:17 +0000 (00:01 +0000)] 
correct typo in one of the last changes

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

15 years agoOnly test for centre flag of minor direction and ignore the other in wxBoxSizer ...
Robert Roebling [Thu, 25 Dec 2008 22:05:29 +0000 (22:05 +0000)] 
Only test for centre flag of minor direction and ignore the other in wxBoxSizer (as before)

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

15 years agoAvoid redraw artifacts from the border after resizing
Robert Roebling [Thu, 25 Dec 2008 20:40:24 +0000 (20:40 +0000)] 
Avoid redraw artifacts from the border after resizing

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

15 years agouse INVALID_SOCKET instead of -1 to avoid signed/unsigned comparison warning
Vadim Zeitlin [Thu, 25 Dec 2008 20:28:14 +0000 (20:28 +0000)] 
use INVALID_SOCKET instead of -1 to avoid signed/unsigned comparison warning

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

15 years agorefactor Input/Output_Timeout: don't duplicate the same code in MSW/Unix code and...
Vadim Zeitlin [Thu, 25 Dec 2008 20:27:35 +0000 (20:27 +0000)] 
refactor Input/Output_Timeout: don't duplicate the same code in MSW/Unix code and also don't duplicate it for input and output, one function is enough for both

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