Commit Graph

32 Commits

Author SHA1 Message Date
Gilles Depeyrot
af49c4b8a2 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Vadim Zeitlin
fb96947585 fixed m_relative initialization in wxFileName default ctor and Clear() (patch 597736)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:28:51 +00:00
Vadim Zeitlin
1527281edb fixed several bugs in Mkdir() and also modified its API to be more user friendly (based on the patch 541033 from Chris Elliott)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 16:28:50 +00:00
Vadim Zeitlin
33b97389e5 added GetPath(flags) version to allow retrieving the volume as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 16:15:43 +00:00
Vadim Zeitlin
2db991f457 minor fix to wxFileName::MakeRelativeTo(), removed broken and misleading IsWild() method, added IsDir() one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 11:14:09 +00:00
Vadim Zeitlin
6d3d1c2e04 committing the file which I forgot to commit yesterday (sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 11:44:30 +00:00
Robert Roebling
a315cec968 Compile fix for wxFileName.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 09:08:08 +00:00
Vadim Zeitlin
6dbb903bb9 wxFileName::Get/SetTimes() finally seem to work under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 23:17:41 +00:00
Václav Slavík
32a0d013e9 changed wxFileName::Normalize signature to allow or-combination of flags and reverted Julian's hack-fix to wxTextFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 23:14:45 +00:00
Stefan Csomor
4dfbcdd53d added type and creator routines for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 17:38:55 +00:00
Robert Roebling
a7b51bc869 Removed warning for Darwin compilation from datetime.inl
Added wxFileName::SetPath() and set m_relative if no dir is given
  Corrected wxFrame::Enable() in wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 15:52:29 +00:00
Vadim Zeitlin
df22f86063 1. fixed file descriptors leak in wxFileName::CreateTempFileName()
2. really made it race-safe (provided we have mkstemp())


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 17:47:27 +00:00
Robert Roebling
353f41cb3b Reimplemented wxFileName with m_relative field.
Adapted wxFileDialog to trailing slashes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-16 12:07:44 +00:00
Vadim Zeitlin
f7d886af3a added wxFileName::MakeRelativeTo() and the tests/docs for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 15:13:56 +00:00
Vadim Zeitlin
81f256328c fixed Assign(fullpath, fullname)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 01:14:09 +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
Vadim Zeitlin
6f91bc3333 1. GetCwd() now has the volume argument, Normalize() works correctly for the
paths without full path but with the volume
2. fixed old SplitPath() version without volume to behave in a backwards
   compatible way
3. added more docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:16:19 +00:00
Vadim Zeitlin
52dbd056d2 more fixes for volume names handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 02:28:51 +00:00
Vadim Zeitlin
04c943b139 added volume support and support for UNC paths under Windows, improved Mac and VMS support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 21:55:13 +00:00
Jouk Jansen
3c62105945 Committing in .
Modified Files:
 	wxWindows/setup.h_vms wxWindows/include/wx/filefn.h
 	wxWindows/include/wx/filename.h
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/common/filename.cpp

 Updates for OpenVMS,
    -Updated copmpile support for new files/features
    -First version of OpenVMS file support (wxPATH_VMS).
       (will need a lot of testing on OpenVMS systems)

----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 13:45:25 +00:00
Vadim Zeitlin
951cd18031 added and partly implemented the time functions for wxFileName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 02:41:30 +00:00
Julian Smart
788722ac5c Fixes for 16-bit compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-14 16:13:12 +00:00
Robert Roebling
ce16e5d78f Added wxFileName::GetModificationTime()
for Unix.
  Don't send events when constructing a text ctrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 17:16:09 +00:00
Julian Smart
f0ce340942 Added 'full' param to wxFileName::Mkdir to make all directories in a path,
not just the last one


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-26 13:31:12 +00:00
Julian Smart
9e9b65c1db Added long-filename functions & normalisation; patch to Watcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-21 12:34:56 +00:00
Vadim Zeitlin
7124df9b59 readded back SetFullName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-31 15:23:43 +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
Vadim Zeitlin
097ead306c just added some _T()s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-30 19:36:10 +00:00
Robert Roebling
a35b27b14d wxFileName II. It actually works.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-30 00:28:00 +00:00
David Webster
ee66f09217 include "wx/filefn.h" instead of just "filefn.h".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-29 17:39:00 +00:00
Robert Roebling
df5ddbca48 Added wxFileName.
Small fix for log error messages on startup.
  Added missing accessor to wxSizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-28 00:00:32 +00:00