Stefan Neis
1044b90c1b
Applied patch #1821711 (workaround for Watcom inconsistency wrt Posix functions)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-28 18:52:46 +00:00
Julian Smart
2b2883a5eb
Applied [ 1767537 ] [wxOS2]Watcom build - filefn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 10:41:32 +00:00
Vadim Zeitlin
d6f2a8911e
many compilation fixes for WinCE using VC8 (it now build, although still doesn't work)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 16:34:24 +00:00
Václav Slavík
52de37c78f
1. made CRT wrappers definitions indepenent of wxUSE_UNICODE: both ANSI and Unicode variants are now defined
...
2. split wxcrt.h into wxcrtbase.h with lowlevel compiler-specific definitions and wxcrt.h with ANSI- and Unicode-compatible wx wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 17:14:14 +00:00
Václav Slavík
aec1621e4f
marked WinCE implementations of wxOpen etc. functions as dllexported
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 15:56:44 +00:00
Václav Slavík
e960c20e38
changes wxDirExists() to accept wxString instead of wxChar*, so that it can be used with any string literals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 12:44:52 +00:00
Michael Wetherell
62f04b576f
Change wxMkDir/wxRmDir to _wmkdir/_wrmdir for Borland unicode builds to match
...
recent change of wxMBFILES.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 12:32:08 +00:00
Vadim Zeitlin
e8f33d9e11
better fix for scope resolution operator and Borland (bug 1592939): don't use it for struct stat but do use it for functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 22:04:41 +00:00
Vadim Zeitlin
d28e0b069f
don't use scope resolution operator for Borland in wxPOSIX_IDENT() (part of the fix for bug 1592939)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 21:38:31 +00:00
Michael Wetherell
311b04034e
Workaround for BCC 5.5/5.5.1 _wopen bug.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 22:45:19 +00:00
Chris Elliott
f9e5b1c786
fix borland header difference
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:44:32 +00:00
Julian Smart
5c746f384e
Borland fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 16:48:41 +00:00
Vadim Zeitlin
f49ad976f4
use wxPOSIX_IDENT() for consistent handling of underscores in POSIX functions names in Windows compilers standard headers; this should hopefully fix the compilation for older Borland versions without breaking it for anything else; also define wxFsync() for Borland and DMC as they seem to have _commit() too (subject to version checks...), only Watcom seems to lack it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 13:55:52 +00:00
Vadim Zeitlin
c26d982b4b
removed hard TAB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 00:20:47 +00:00
Robert Roebling
34e2d9439b
[ 1585270 ] Further fixes to wxPathList
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 17:59:32 +00:00
Michael Wetherell
a9002825f2
Yes VC5 support large files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 11:33:10 +00:00
Vadim Zeitlin
76c3651293
don't use _INTEGRAL_MAX_BITS to decide whether a (Windows) compiler supports huge files, this fails with Borland, so test for all compilers explicitly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 11:27:38 +00:00
Vadim Zeitlin
6dad7fff04
move wxMSLU_xxx redefinitions of xxx() Windows functions to wx/msw/wrapwin.h as we have to define them after including <windows.h> and not before; also moved the rest of the wxMSLU redefinitions to wx/filefn.h where they're used as it doesn't make sense to keep only them in wx/msw/mslu.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 19:06:51 +00:00
Vadim Zeitlin
4876ba0b23
declare wxMSLU_xxx functions in the headers which define macros expanding to them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 11:27:24 +00:00
Vadim Zeitlin
1ad688c96f
test that _INTEGRAL_MAX_BITS is defined before comparing with it; changed wxHAS_HUGE_FILES to be either defined or undef'd for consistency with the other wxHAS_XXXs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 12:08:05 +00:00
Michael Wetherell
82b99cf952
Rename WX[F]FILE_LARGEFILE to wxHAS_LARGE_[F]FILES.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 21:46:13 +00:00
Vadim Zeitlin
dedcebb9df
try to simplify the web of ifdefs; add Borland to the list of Windows compilers (partially addresses bug 1173702)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 20:39:09 +00:00
Michael Wetherell
3d3c6c4518
Add WXFILE_LARGEFILE/wxFFILE_LARGEFILE to indicate whether large files are
...
supported by wxFile and wxFFile. Add wxO_BINARY.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 12:51:00 +00:00
Vadim Zeitlin
194b226768
also define wxLstat for non-Unix platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:45:40 +00:00
Vadim Zeitlin
ee8d76ec2e
also define wxLstat in ANSI build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:42:17 +00:00
Vadim Zeitlin
56614e51f9
added wxLstat() (one of patches from bug 1052385)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:41:20 +00:00
Robert Roebling
3ff07edb0b
[ 1560785 ] wxFileName::IsReadable/Writable/Executable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 17:28:31 +00:00
Václav Slavík
2c5e5cbdb4
wxFileModificationTime() needs wxDateTime, put it inside wxUSE_DATETIME
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 12:03:22 +00:00
Vadim Zeitlin
6885562629
don't make wxPathList dtor virtual, this is unneeded and results in gcc warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 18:48:52 +00:00
Vadim Zeitlin
8daf3c3664
wxPathList cleanup by Francesco (patch 1521481)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:16:55 +00:00
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