Vadim Zeitlin
664e13143e
renamed wx/ptr_shrd.h to wx/sharedptr.h; split wx/ptr_scpd.h in wx/scopedptr.h and wx/scopedarray.h; extracted common parts into new wx/checkeddelete.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 12:01:46 +00:00
Vadim Zeitlin
b161b1549c
test ok in the record reading loop as otherwise we never exit from it if there is an invalid character in the record
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-15 17:31:40 +00:00
Michael Wetherell
d7a4c4bd39
Work around another buggy getgrgid_r.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-17 14:39:31 +00:00
Julian Smart
2eb37f730d
Fixed bug for chars with ASCII value > 127, explicitly casting to an unsigned char (Sebastian Gottschalk)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 14:16:39 +00:00
Michael Wetherell
dd0af4bb63
Always write end record unless one has already been written.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 17:09:10 +00:00
Michael Wetherell
f2e582dda8
Cache user and group name as these can be expensive to get on some systems.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 15:59:09 +00:00
Václav Slavík
8650108199
don't use implicit wxString->char*/wchar_t* conversion, it will not be available in wxUSE_STL build in the future
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 17:42:41 +00:00
Václav Slavík
163d9efc6b
avoid conversion to wchar_t* when getting UTF-8 value in UTF-8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 20:05:37 +00:00
Václav Slavík
c9f7896861
first phase of transition to unified Unicode build:
...
1. changed c_str() to return wxCStrData (implicitly convertible to wxChar*)
2. added template type-safe wrappers for vararg functions
3. added wxUniChar class representing single Unicode character
4. changed wxString::operator[] and wxString::iterator to return wxUniChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 10:26:10 +00:00
Paul Cornett
ca2261d33f
restore declaration inline specifier, and make definition match
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-01 22:27:42 +00:00
Paul Cornett
ffdbfc4a76
remove inline from declaration of functions which are not inline
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-01 19:49:10 +00:00
Michael Wetherell
e3a10e0c62
Revert last commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 22:28:11 +00:00
Paul Cornett
61d8dec77f
static functions don't need an instance
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 09:00:52 +00:00
Vadim Zeitlin
0a704d3973
call base class ctor in copy ctors explicitly (fixes gcc warnings with -Wextra)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:16:03 +00:00
Michael Wetherell
7bb82a7415
Fix setting the large file flag.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 00:49:50 +00:00
Michael Wetherell
ea92316229
Some watcom warnings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 17:03:56 +00:00
Michael Wetherell
5f77e766a3
Make m_typeflag an int.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:31:26 +00:00
Michael Wetherell
489a164c1c
Rename wxSTREAM_FILEEXTENSION to wxSTREAM_FILEEXT.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 16:47:20 +00:00
Michael Wetherell
6df6e35a3e
Fixes for semicolons, commas and wxSTRING_MAXLEN from Wlodek Szafran.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 07:37:09 +00:00
Michael Wetherell
1cc42ce322
Comment out compile time check.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 15:02:22 +00:00
Michael Wetherell
a793401243
Remove header now not needed here.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:32:26 +00:00
Michael Wetherell
45c64b28ba
Compile fix for --enable-stl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:14:54 +00:00
Michael Wetherell
dd1462c3f9
Add tar streams.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:28:54 +00:00