Commit Graph

351 Commits

Author SHA1 Message Date
Stefan Csomor
0ad76eea22 cleanup mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 14:21:36 +00:00
Paul Cornett
8fd7108e7c fix for HP and IBM compilers, calls to static template functions must be qualified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 02:39:08 +00:00
Julian Smart
0d4ba4ef64 Corrected wxAccess arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 14:55:32 +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
5a1e0e91a1 blind OS/2 compilation fix in wxSetWorkingDirectory()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 10:25:56 +00:00
Vadim Zeitlin
7bcc9eb973 include wx/dynarray.h to fix compilation with minimal set of wxUSE options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 20:41:24 +00:00
Václav Slavík
e0a050e347 more changes to make wx compile without implicit wxString->char* conversion (for STL build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 07:44:45 +00:00
Václav Slavík
0bf751e7e9 compilation fixes for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 06:10:37 +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
Vadim Zeitlin
0597e7f977 add support for resources forks in wxCopyFile() (modified patch 1620336)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 18:23:57 +00:00
Stefan Neis
1f3d991197 OS/2 specific compilation fix for wxCStrData handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 17:10:03 +00:00
Vadim Zeitlin
853c39d78b fix error handling in the generic branch of wxCopyFile()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:27:52 +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
Stefan Neis
43c974071f Fixed switching to a different drive/volume on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 18:22:57 +00:00
Robert Roebling
4d21409ebc I blindly believe that WinCE doesn't delete a
directory with CreateDirectory.
  [ 1610415 ] wxWinCE remove directory


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 21:40:00 +00:00
Julian Smart
bade0251e3 Wine fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 13:35:23 +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
Vadim Zeitlin
968956aa6e don't compile in wxCheckWin32Permission() when it's not used (as in cygwin builds where both __UNIX__ and __WINDOWS__ are defined)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 03:14:48 +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
Włodzimierz Skiba
94268cae21 Verify wx/filefn.h can be placed as first header in !PCH builds. Build fix for Watcom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 11:21:37 +00:00
Michael Wetherell
693b31be84 Warning fix for vc8, and move wxGetFileKind out of the wrong section in the
source file (was in with the globbing functions).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 12:57:23 +00:00
Stefan Neis
2203a18560 Extended #1560785 (wxFileName::IsReadable/Writable/Executable) for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:17:15 +00:00
Vadim Zeitlin
f2346d3fd6 don't use GetFileAttributesEx() which doesn't exist in Win95 and so prevented any wx program from even starting up there; besides it was unneeded anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 15:18:38 +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
Vadim Zeitlin
522d32e508 fixed the problem in 2 last commits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:12:40 +00:00
Robert Roebling
03b5e90b0e Fix mem leak.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:08:29 +00:00
Vadim Zeitlin
e44d5a5892 fix memory leak in wxGetTempFileName(const wxString&, wxString&) overload; also define wxGetTempFileName(const wxString&, wxChar *) overload in terms of the other one and not vice versa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 11:58:48 +00:00
Stefan Csomor
fb743cab53 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 15:15:00 +00:00
Włodzimierz Skiba
a8b6a1b1cd Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 08:11:10 +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
Robert Roebling
31a8bf3fbf [ 1521481 ] wxPathList modernization
Applied part II.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:58:12 +00:00
Paul Cornett
406d283a64 build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-17 03:02:15 +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
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
a8d69700fc add default value for the encoding parameter of wxMacCFStringHolder() instead of passing wxLocale::GetSystemEncoding() which doesn't work when wxUSE_INTL == 0 to it in many places (replaces 2nd part of patch 1501724)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:01:39 +00:00
Stefan Csomor
739cb14a31 making sure mac filenames are always decomposed D Unicode UTF8 and the internal wxStrings are using composed D Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 14:24:14 +00:00
Michael Wetherell
27d98837f3 Use the posix S_ISREG instead of S_IFREG if it is defined. Fixes wxFileExists
on DJGPP where S_IFREG is defined as 0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 18:58:12 +00:00
Włodzimierz Skiba
de6185e212 Include wx/utils.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-02 10:39:23 +00:00
Włodzimierz Skiba
e4db172a3b Include wx/log.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 08:21:31 +00:00
Włodzimierz Skiba
8898456df4 wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 07:24:35 +00:00
Vadim Zeitlin
2936a6b18c implement wxFileModificationTime() in terms of wxFileName::GetTimes() (replaces broken patch 1468592)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:24:22 +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
Vadim Zeitlin
b931e275f5 remove dead code from wxMatchWild (patch 1445809)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:39:41 +00:00
Vadim Zeitlin
e2fb71bc85 fix for wxPathList::FindValidPath() for wxUSE_STL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 15:14:27 +00:00
Vadim Zeitlin
3cf545c76c don't always find the file if it's in the current directory (even if it's not in the search path) (patch 1411994 closing bug 1214987)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 22:24:29 +00:00
Włodzimierz Skiba
13ff248506 Watcom fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-16 20:10:17 +00:00
Stefan Neis
bf58daba38 Some OS/2 specific improvements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-15 22:16:02 +00:00
Stefan Neis
fe1f34f82e Fixed wxDirExists implementation for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-11 15:25:02 +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
cdc059191b Fixed #1338966.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 13:47:44 +00:00