Vadim Zeitlin
57e988b8ef
added overwrite parameter to wxRenameFile (patch 1467041)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:14:00 +00:00
Włodzimierz Skiba
ca3e85cfa8
Better backward compatibility and deprecation markup for interface deprecated in comments.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 14:04:17 +00:00
Włodzimierz Skiba
6d3d756a6a
Macros for simplified testing Open Watcom version and required tweaks.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 16:16:05 +00:00
Włodzimierz Skiba
6dabe332cb
OW 1.4 preparation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 21:04:54 +00:00
Włodzimierz Skiba
ce045aed58
wxGetWorkingDirectory() deprecated. Fixed #1338966 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 13:27:09 +00:00
Włodzimierz Skiba
550343399a
Source cleaning. wxMotif/OS2 adjustements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 16:39:45 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Vadim Zeitlin
52ca5b5941
define wxFsync() as fsync() under Unix not as (not existing) commit()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 01:05:26 +00:00
Włodzimierz Skiba
0872eaf957
wxOS2 with Open Watcom: correct PCH usage, missing headers, warning fixes, source cleaning and other Watcom adjustements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 17:08:28 +00:00
Michael Wetherell
8490b71bf0
Warning fixes for Cygwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-19 17:03:10 +00:00
Włodzimierz Skiba
da865fdd32
Deprecate wxPathExists, make wxDirExists used everywhere, minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 16:10:48 +00:00
Włodzimierz Skiba
1c04f04b46
Do not break checking whether dir exists for given path.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 14:46:16 +00:00
Włodzimierz Skiba
27b2dd53f6
Fixed strange situation when we had wxPathExists and wxDirExists with the same finctionality. Using wxPathExists instead wxFileExists (fixes bug #865628 ). Minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 17:46:32 +00:00
Michael Wetherell
9802983f15
Fix for problem with wxGetFileKind on WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 23:24:17 +00:00
Michael Wetherell
18a1516c4b
Move wxGetOSFHandle to include/wx/msw/private.h since it needs HANDLE anyway
...
and make it a macro. Make the 'default' return value for wxGetFileKind
wxFILE_KIND_DISK and add a comment explaining what it's for.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 15:31:42 +00:00
Włodzimierz Skiba
5c7022599b
Provide to Borland the same fix as for Cygwin due to historic placement of Borland between Unix compilers. Needs further fix with move of Borland into MSW section in filefn.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-24 15:18:36 +00:00
Włodzimierz Skiba
b444ce1161
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 18:08:24 +00:00
Dimitri Schoolwerth
7722d490f2
fixed Cygwin compilation (there's no _get_osfhandle)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 14:48:35 +00:00
Michael Wetherell
0912690b65
Rename wxGetFileType to wxGetFileKind
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 21:53:51 +00:00
Michael Wetherell
3c70014d96
Add wxGetFileType and IsSeekable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 12:39:03 +00:00
Robert Roebling
c34db1bee3
Removed useless defines for WinCE which is
...
always Unicode and never MSLU.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 18:47:29 +00:00
Włodzimierz Skiba
4055ed8281
Use __WXPALMOS__ for PalmOS port which fits __WX$(TOOLKIT)__ of bakefiles. Do not depend on MSW macros in PalmOS port. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 12:44:22 +00:00
Vadim Zeitlin
30984deafc
new set of fixes for problems due to huge files support: drop wxFileSize_t, use wxFileOffset only, make wxInvalidOffset an int (main part of the patch 1063498)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 21:02:58 +00:00
Włodzimierz Skiba
ceb3b0d8e2
Warning fix to avoid typecasting with OW elsewhere.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 21:10:42 +00:00
Julian Smart
ffecfa5aeb
Committed William Osborne's wxPalmOS port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 13:40:30 +00:00
Vadim Zeitlin
94009d33c1
unsigned off_t doesn't exist
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 22:17:07 +00:00
Włodzimierz Skiba
414dfb5804
DMC fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 15:05:52 +00:00
Vadim Zeitlin
bd3cea7d2c
fixed wxFileSize_t definition under Unix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:23:32 +00:00
Vadim Zeitlin
93e0db9a80
added wxFileSize_t, changed types of wxFile methods/parameters once again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:01:00 +00:00
Vadim Zeitlin
eb84314b79
(blind) fix for Metrowerks/Win32 compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 00:26:20 +00:00
Vadim Zeitlin
4ae9be50fd
renamed __HUGEFILES_SUPPORTED to wxHAS_HUGE_FILES
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 00:20:07 +00:00
Vadim Zeitlin
835fab506e
blind warning fix in wxUmaskChanger
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:26:55 +00:00
Vadim Zeitlin
8482e4bdb9
added wxUmaskChanger class and wxCHANGE_UMASK macro and use them instead of duplicating the same umask-setting code in several places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 22:12:58 +00:00
Vadim Zeitlin
6d067eb66a
Metrowerks fixes after huge file patch (patch 1037951)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 13:36:46 +00:00
Julian Smart
08c6324095
__WINCE__ -> __WXWINCE__
...
Added missing O_... symbols
Incremented the version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 07:45:37 +00:00
Julian Smart
65df77ec74
Don't try to typedef off_t twice (eVC++)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 21:08:54 +00:00
Włodzimierz Skiba
1239ac2e28
Watcom fixes after recent wxFile changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 17:27:41 +00:00
Vadim Zeitlin
06e66bd0ca
define wxInvalidOffset properly (as wxFileOffset, not off_t)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 14:33:51 +00:00
Vadim Zeitlin
115148f733
fix for __HUGEFILES_SUPPORTED definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 20:28:58 +00:00
Vadim Zeitlin
e302e0c167
compilation fix for Unicode mode after huge file patch: Watcom is the only compiler to have a wide char version of struct stat as well as of the stat function itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 13:55:29 +00:00
Ron Lee
4004775e5a
Enable the huge files patch to build with mingw-cross.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 13:18:46 +00:00
Vadim Zeitlin
6294ac2e91
support for huge files (patch 1002226)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 22:44:19 +00:00
Włodzimierz Skiba
a62848fdba
Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false, !!/!IsEmpty().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-14 12:08:28 +00:00
Vadim Zeitlin
77a806722a
use Unix path separators under Cygwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:33:34 +00:00
Włodzimierz Skiba
daf3246330
wxParseWildcard renamed to wxParseCommonDialogsFilter. Its usage is extended from generic dialogs to MSW, Motif and other incoming ports.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 16:58:27 +00:00
Mattia Barbon
b76069e27f
Compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 09:14:18 +00:00
Włodzimierz Skiba
9e152a5578
wxParseWildcard added instead of methods hidden under wxUSE_FILEDLG and wxUSE_DIRDLG.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 15:25:33 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Vadim Zeitlin
3a5bcc4db0
removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 13:10:14 +00:00