]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agos/wxSplitPath/wxFileName::SplitPath
Francesco Montorsi [Wed, 7 Jan 2009 01:47:47 +0000 (01:47 +0000)] 
s/wxSplitPath/wxFileName::SplitPath

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

15 years agodeprecate wxDos2UnixFilename, wxUnix2DosFilename, wxStripExtension, wxGetTempFileName...
Francesco Montorsi [Wed, 7 Jan 2009 01:29:54 +0000 (01:29 +0000)] 
deprecate wxDos2UnixFilename, wxUnix2DosFilename, wxStripExtension, wxGetTempFileName, wxExpandPath, wxContractPath, wxRealPath, wxCopyAbsolutePath, wxSplitPath and provide deprecation description in the docs (for the documented functions) or directly in the header (for undocumented functions)

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

15 years agos/wxGetTempFileName/wxFileName::CreateTempFileName
Francesco Montorsi [Wed, 7 Jan 2009 01:08:02 +0000 (01:08 +0000)] 
s/wxGetTempFileName/wxFileName::CreateTempFileName

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

15 years agouse wxFileName instead of ::wxStripExtension
Francesco Montorsi [Wed, 7 Jan 2009 01:04:01 +0000 (01:04 +0000)] 
use wxFileName instead of ::wxStripExtension

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

15 years agos/wxGetTempFileName/wxFileName::CreateTempFileName
Francesco Montorsi [Wed, 7 Jan 2009 01:01:35 +0000 (01:01 +0000)] 
s/wxGetTempFileName/wxFileName::CreateTempFileName

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

15 years agofix doxygen warning about XHTML syntax
Francesco Montorsi [Wed, 7 Jan 2009 00:41:31 +0000 (00:41 +0000)] 
fix doxygen warning about XHTML syntax

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

15 years agorewrite wxContractPath as wxFileName::ReplaceEnvVariable and wxFileName::ReplaceHomeD...
Francesco Montorsi [Wed, 7 Jan 2009 00:38:46 +0000 (00:38 +0000)] 
rewrite wxContractPath as wxFileName::ReplaceEnvVariable and wxFileName::ReplaceHomeDir; add test units and docs for them

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

15 years agobetter docs for wxPathNormalize
Francesco Montorsi [Wed, 7 Jan 2009 00:17:10 +0000 (00:17 +0000)] 
better docs for wxPathNormalize

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

15 years agowx is not a compiler, it doesn't need AC_CANONICAL_TARGET
Václav Slavík [Tue, 6 Jan 2009 22:28:16 +0000 (22:28 +0000)] 
wx is not a compiler, it doesn't need AC_CANONICAL_TARGET

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

15 years agoFixed wxTreeCtrl docs link.
Bryan Petty [Tue, 6 Jan 2009 21:58:39 +0000 (21:58 +0000)] 
Fixed wxTreeCtrl docs link.

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

15 years agouse WXWIN_COMPATIBILITY_2_8 instead of WXWIN_COMPATIBILITY_2_6 for wxUsleep even...
Francesco Montorsi [Tue, 6 Jan 2009 20:25:31 +0000 (20:25 +0000)] 
use WXWIN_COMPATIBILITY_2_8 instead of WXWIN_COMPATIBILITY_2_6 for wxUsleep even if it was deprecated since wx2.6

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

15 years agoSwitched @NULL back to (the appropriate) @NUL and added NUL command to Doxygen.
Bryan Petty [Tue, 6 Jan 2009 16:17:50 +0000 (16:17 +0000)] 
Switched @NULL back to (the appropriate) @NUL and added NUL command to Doxygen.

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

15 years agoremove link to the old HTML manual
Francesco Montorsi [Tue, 6 Jan 2009 16:07:25 +0000 (16:07 +0000)] 
remove link to the old HTML manual

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

15 years agoremove f.html and fft.html; they're old and unlinked from other test HTML pages
Francesco Montorsi [Tue, 6 Jan 2009 16:04:22 +0000 (16:04 +0000)] 
remove f.html and fft.html; they're old and unlinked from other test HTML pages

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

15 years agoadd #if WXWIN_COMPATIBILITY_2_6 around wxUsleep
Francesco Montorsi [Tue, 6 Jan 2009 13:59:47 +0000 (13:59 +0000)] 
add #if WXWIN_COMPATIBILITY_2_6 around wxUsleep

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

15 years agoadd the @appearance tag to wxFileCtrl
Francesco Montorsi [Tue, 6 Jan 2009 13:52:15 +0000 (13:52 +0000)] 
add the @appearance tag to wxFileCtrl

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

15 years agoadd WXWIN_COMPATIBILITY_2_6 block around wxUsleep deprecation; put wxPlatform declara...
Francesco Montorsi [Tue, 6 Jan 2009 12:56:07 +0000 (12:56 +0000)] 
add WXWIN_COMPATIBILITY_2_6 block around wxUsleep deprecation; put wxPlatform declaration out of the 'Miscellaneous functions' block

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

15 years agoFixed a couple Doxygen warnings, patch from Tim Stahlhut.
Bryan Petty [Tue, 6 Jan 2009 08:11:05 +0000 (08:11 +0000)] 
Fixed a couple Doxygen warnings, patch from Tim Stahlhut.

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

15 years agoReplaced @ingroup with @addtogroup for all global func/macros for use with Doxygen...
Bryan Petty [Mon, 5 Jan 2009 20:48:06 +0000 (20:48 +0000)] 
Replaced @ingroup with @addtogroup for all global func/macros for use with Doxygen 1.5.7+.

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

15 years agoCommitting Doxygen 1.5.7+ configuration changes as Francesco has found a fix for...
Bryan Petty [Mon, 5 Jan 2009 19:34:59 +0000 (19:34 +0000)] 
Committing Doxygen 1.5.7+ configuration changes as Francesco has found a fix for our show-stopper for this. Said fix will be done in next commit.

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

15 years agoonly formatting changes. s/FALSE/false and s/TRUE/true; remove excessive empty lines...
Francesco Montorsi [Mon, 5 Jan 2009 19:12:41 +0000 (19:12 +0000)] 
only formatting changes. s/FALSE/false and s/TRUE/true; remove excessive empty lines; remove TABs; s/ ;/;

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

15 years agouse doxygen autolink for global enumerations
Francesco Montorsi [Mon, 5 Jan 2009 18:24:05 +0000 (18:24 +0000)] 
use doxygen autolink for global enumerations

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

15 years agofix crash because of a missing wxOK constant
Francesco Montorsi [Mon, 5 Jan 2009 16:15:09 +0000 (16:15 +0000)] 
fix crash because of a missing wxOK constant

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

15 years agouse GetCopyrightToDisplay instead of GetCopyright; part of commit 57245
Francesco Montorsi [Mon, 5 Jan 2009 15:20:44 +0000 (15:20 +0000)] 
use GetCopyrightToDisplay instead of GetCopyright; part of commit 57245

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

15 years agoadd a custom printer for wxString to use with Python-enabled gdb
Vadim Zeitlin [Sun, 4 Jan 2009 21:15:19 +0000 (21:15 +0000)] 
add a custom printer for wxString to use with Python-enabled gdb

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

15 years agoFixes in wxPGProperty::StringToValue(): Prevent it-- from iterating into negative...
Jaakko Salli [Sun, 4 Jan 2009 19:05:44 +0000 (19:05 +0000)] 
Fixes in wxPGProperty::StringToValue(): Prevent it-- from iterating into negative index; only really mark/add nested children as changed if child's StringToValue() returned true

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

15 years agoIn wxPGProperty::StringToValue(), variant.SetName() really has to be called after...
Jaakko Salli [Sun, 4 Jan 2009 18:39:23 +0000 (18:39 +0000)] 
In wxPGProperty::StringToValue(), variant.SetName() really has to be called after child->StringToValue() has been called

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

15 years agoAdded bool property to the nested car sample (for testing purposes)
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

15 years agoabstract VC6 workaround inside a WX_CPPUNIT_ALLOW_EQUALS_TO_INT() macro
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

15 years agodon't use \u in strings, VC6 doesn't support this
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

15 years agouse correct type for file offset
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

15 years agoneed to overload assertEquals(int,short) too to resolve ambiguity
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

15 years agomore attempts to fix CppUnit::assertEquals for VC6 without breaking everything else
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

15 years agoSignificant check box editor refactoring, including fix to UpdateControl() not doing...
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

15 years agoAdded extra RefreshEditor() call for better testing
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

15 years agobuild fix for GTK+ versions prior to 2.14
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

15 years agoproperly handle DC origin and scale in wxDoFloodFill()
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

15 years agonative implementation of DoGetPixel()
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

15 years agoremove Rescale(), it is no longer used
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

15 years agoComplete rewrite of DoDrawBitmap() and DoBlit().
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

15 years agoallow using CPPUNIT_ASSERT_EQUAL(int, wxFileOffset) too
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

15 years agotrying to fix buildbot VC6 build error
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

15 years agodon't use IPC from timer callback as this results in reentrancies in socket code...
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

15 years agorestore code preventing the events being generated from inside our own DoRead/Write...
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

15 years agoadded wxFDIODispatcher::HasPending() and implemented correctly wxConsoleEventLoop...
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

15 years agoUpdated translations manual page with latest status given by the website translations...
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

15 years agoproperly restart epoll_wait() if it got interrupted by a signal
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

15 years agocall ProcessPendingEvents() from wxAppConsoleBase::ProcessIdle() too, not only from...
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

15 years agostreamline handling of wxSOCKET_LOST in DoWait()
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

15 years agono changes, just reformat/indent consistently
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

15 years agodisable the events when we get a notification about socket being ready for IO and...
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

15 years agofix GCC warning "suggest explicit braces..."
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

15 years agouse guard classes automatically restoring the old state in their dtor instead of...
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

15 years agofix header dependancy
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

15 years agorename wxSocketSelectManager to wxSocketFDIOManager, the old name was confusing as...
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

15 years agofix WaitForXXX() to work as before: if the socket is already ready for reading/writin...
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

15 years agoshow the string received from client in test 2 correctly; use TestLogger just as...
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

15 years agoadd accelerators for the other menu commands; plug memory leak in OnTest3(); use...
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

15 years agodon't call DoWrite() if we have nothing to send (not nothing to receive)
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

15 years agofix a bug in EventWorker::DoRead(): if both signature and the size of the incoming...
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

15 years agoLogWorker() was always called with m_peer as first argument so make it a member funct...
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

15 years agono changes, just reformat and avoid unnecessary uses of wxString::Format()
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

15 years agoalso add wxSizer::IsEmpty()
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

15 years agomake the new GetItemCount() const
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

15 years agoAdded wxSizer::GetItemCount()
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

15 years agoCorrect wx-config's output of base libs for OSX ports (don't include the _carbon...
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

15 years agoVC6 doesn't support using keyword (closes #10322)
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

15 years agoupdate copyright year to 2009 (closes #10319)
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

15 years agoVC6 compilation fix after r57689 (closes #10318)
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

15 years agoreplace dynamic_cast<> with wxDynamicCast
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

15 years agoremove tabs added by error in previous commit
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

15 years agoFix for OS X Cocoa build.
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

15 years agoallow the user to pass NULL for the status widths; this was a feature supported by...
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

15 years agocompilation fix after last change
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

15 years agocustomize the rearrange dialog even more
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

15 years agomake wxRearrangeDialog more customizable and add an example of customizing it to...
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

15 years agoadded SetLabelText() and EscapeMnemonics()
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

15 years agoadded default ctor and Create() to wxRearrangeDialog for consistency
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

15 years agobuild fix for wxMSW statusbar
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

15 years agoget rid of the wxListString class in wxStatusBar code; introduce a wxStatusBarPane...
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

15 years agocompilation fix for LoadFile(name, type) calls which became ambiguous after the base...
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

15 years agodocument wxEVT_NULL
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

15 years agoinclude errno.h for ENOMEM (closes #10309)
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

15 years agoextract AddColumnsItems() from ShowColumnsMenu() to make it possible to reuse it...
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

15 years agofix documentation for wxList and wxNode; doxygen see them as templates and the @class...
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

15 years agono real change; make more readable the Aliases section
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

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