Added GSocket for Unix (only GTK for the moment)

Updated wxSocket to use GSocket API
Added a progress bar to client.cpp
Added CopyTo to wxMemoryOutputStream to copy the internal buffer to a specified buffer.
Various changes/fixes to the high-level protocols FTP/HTTP
Various Unicode fixes
Removed sckint.*


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1999-07-22 17:51:54 +00:00
parent e4d18e7f60
commit a324a7bccf
30 changed files with 2082 additions and 1905 deletions

View File

@@ -99,5 +99,16 @@ off_t wxMemoryOutputStream::OnSysTell() const
return m_o_streambuf->Tell();
}
size_t wxMemoryOutputStream::CopyTo(char *buffer, size_t len) const
{
if (!buffer)
return 0;
if (len > StreamSize())
len = StreamSize();
memcpy(buffer, m_o_streambuf->GetBufferStart(), len);
return len;
}
#endif