Commit Graph

276 Commits

Author SHA1 Message Date
Václav Slavík
6de5b59919 added workaround for Unicode functions not working under MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 00:45:29 +00:00
Václav Slavík
a204e0b5da Ehm... fixed my comment about DJGPP to say what I wanted it to say
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 12:31:03 +00:00
Václav Slavík
4b00a53837 fix for DJGPP returning unix/like/paths instead of what\you'd\expect\under\dos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 00:05:49 +00:00
Václav Slavík
e168b6acfd fixes to wxFindFirstFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-16 20:38:01 +00:00
Václav Slavík
c04857dd6a removed platform-specific code for wxFindFirst/NextFile and replaced it with a generic implementation that uses wxDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-16 11:20:16 +00:00
Václav Slavík
b916f80933 DJGPP compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:17:04 +00:00
Václav Slavík
8ff1234234 wxFindFirstFile and friends for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:25:16 +00:00
Václav Slavík
f48fa475c2 DOS+Watcom fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 17:03:33 +00:00
Vadim Zeitlin
ade35f11fe 1. added wxFileName::CreateTempFileName() and implemented it properly (using
mkstemp() when available)
2. wxTempFile::Open() and wxGetTempFileName() now use CreateTempFileName()
   avoiding code duplication
3. updated the docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 17:18:11 +00:00
Julian Smart
c67d6888d4 Fixing wxMicroWindows compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:22:16 +00:00
Gilles Depeyrot
a1c34a786a corrected Carbon to/from POSIX path conversions for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-12 20:32:23 +00:00
Stefan Csomor
eea0ecad6e corrected findfirst/next on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 22:00:54 +00:00
Gilles Depeyrot
e8e1d09e0e corrections for path handling under Mac OS X
Classic Mac paths (: separator) are used when compiled using CodeWarrior even
under Mac OS X; Unix like Mac paths (/ separator) are used when compiled using
the Apple Developer Tools


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 06:25:05 +00:00
Gilles Depeyrot
334d244877 corrected wxMacFSSpec2MacFilename and wxMacFilename2FSSpec to convert to/from
Unix style paths under Mac OS X (when compiled with the Apple DevTools)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 20:20:46 +00:00
Stefan Csomor
f056ea60f3 corrected wxGetWorkingDirectory for mac (stripping last char off)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 15:55:14 +00:00
Kendall Bennett
19193a2c85 Mutiple updates from SciTech for wxWindows including the following:
1. Updates to HTML applet classes in client side include syntax
2. Updates to wxUniversal for OS/2
3. Updates for better palette management on Windows
4. Misc other fixes and changes to fix build system for Watcom 11.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 22:25:56 +00:00
Gilles Depeyrot
da2b4b7a57 use MoreFiles under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 21:12:44 +00:00
Julian Smart
4c97e02448 Now uses GetFileAttributes for wxPathExists and wxFileExists under Windows,
so it copes with network paths.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 16:13:11 +00:00
Vadim Zeitlin
cc4a1ce1f5 fixed bug with wxPathExists('c:\') yet again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-23 18:17:28 +00:00
Robert Roebling
2985ad5dee wxIsAbsolutePath was correct.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 14:28:28 +00:00
Robert Roebling
678c48b37d wxIsAbsolutePath is strange under wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 11:28:26 +00:00
Julian Smart
8cb172b4f1 Various wxUniversal/wxMicroWindows fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 13:22:19 +00:00
Julian Smart
04ef50df3a First pass at adding MicroWindows support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 10:58:59 +00:00
Stefan Csomor
12d67f8ad0 removed duplicate definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-07 21:01:39 +00:00
Vadim Zeitlin
161f4f7380 applied Unicode fixes for mingw32 (patch 429654)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-03 02:58:56 +00:00
Stefan Csomor
cd378f94be corrected wxIsAbsolutePath for new Mac Path notation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 13:41:23 +00:00
Stefan Csomor
bedaf53eaf reverting to native mac pathnames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 21:22:04 +00:00
Václav Slavík
e987a489c8 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-19 17:59:51 +00:00
Julian Smart
22394d24f6 NULL -> 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 12:53:16 +00:00
Kendall Bennett
33ac7e6f01 Updates to fix Watcom C/C++ 11.0 compiler warning problems. Now compiles
clean with this compiler. Hopefully I did this without breaking other
compilers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-02 19:48:15 +00:00
Vadim Zeitlin
7a65650641 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-11 15:03:27 +00:00
Vadim Zeitlin
abb74e9763 check that file was closed successfully in wxCopyFile (bug 414987 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-10 14:31:44 +00:00
Vadim Zeitlin
4658c44ec2 applied patch 410892 (wxCopyFile uses ::CopyFile under Win32, has overwrite parameter)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 00:10:21 +00:00
Gilles Depeyrot
5fde6fcc9b corrections for final release of Mac OS X
applied patches proposed by Mark Newsam


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-01 20:42:05 +00:00
Ove Kaaven
c3396917e8 Some Unicode compilation fixes. This Unicode stuff in file functions is
always so hard to get right, it seems... I don't like that wxStat isn't
a Unicode wrapper for the real Linux libc stat(), so the caller needs to
convert it for wxStat, but not for e.g. wxRename... this is inconsistent,
so it's not surprising people don't get it right, I guess.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-29 14:06:43 +00:00
Gilles Depeyrot
03e11df547 modifications for compilation under Mac OS X
applied patches extracted from submission by Marc Newsam (tested under Mac OS 9)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-15 21:51:14 +00:00
Stefan Csomor
5b781a6729 updated mac sources (CW 5.3 working , CW6 still having code gen problems)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 21:13:12 +00:00
David Webster
937afade13 chmod is not available in VisualAge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-19 22:32:22 +00:00
Vadim Zeitlin
32f3104396 patch from Roland Scholz to fix the file permissions in wxCopyFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-16 15:28:21 +00:00
Vadim Zeitlin
9e8d860761 implemented wxFileName::SplitPath(), wxSplitPath() now just calls it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-31 01:15:33 +00:00
Vadim Zeitlin
844f90fba6 rewrote wxFileName::Normalize(), added a few methods, general clean up,
added some tests


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-31 00:23:09 +00:00
David Webster
eb53bce493 should use array delete on a wxString object (line 991) that is not an array of wxStrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-29 17:38:03 +00:00
Vadim Zeitlin
a339970ac4 1. wxCopyFile() uses buffer (huge copy speed up)
2. OS_FILENAME macro instead of #ifdef MAC everywhere
3. test for wxCopyFile in the console sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-26 15:19:43 +00:00
Vadim Zeitlin
c7386783a6 added some error checking to wxCopyFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-23 19:40:54 +00:00
Julian Smart
659d096cea Small fixes to defs.h; change "windows.h" to <windows.h> in filefn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-03 07:41:33 +00:00
Jouk Jansen
03c046d1d5 Committing in .
Modified Files:
 	wxWindows/descrip.mms wxWindows/src/common/filefn.cpp


 Filename problem on VMS fixed.
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-26 10:49:41 +00:00
David Webster
71c97a89fa fixes for S_IFMT for OS/2 from WX_2_2_BRANCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-21 20:44:39 +00:00
Ove Kaaven
66b3ec7f9a More Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:20:03 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
David Webster
32e768ae94 OS/2 patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 13:56:17 +00:00