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
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
7682e22edb
blind compilation fix for cygwin Unicode build (bug 1296144)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-20 09:52:14 +00:00
Michael Wetherell
217e77c3c0
Let wxGetFileKind(FILE*) return wxFILE_KIND_UNKNOWN for NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-13 21:08:10 +00:00
Włodzimierz Skiba
c40158e40b
Corrections for future OW 1.4. Warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-26 09:05:27 +00:00
Włodzimierz Skiba
7448de8d8d
[1231183] 'cleanup: mismatched indentation' and other cleanings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 17:08:42 +00:00
Włodzimierz Skiba
7a893a3152
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@34900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 16:22:28 +00:00
Włodzimierz Skiba
7bea7b9148
Helpers in disabling warnings for unused params.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-30 15:31:20 +00:00
Vadim Zeitlin
41cc03ddff
reimplemented wxFileModificationTime() for CE without using wxDateTime (it also should be more efficient like this)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 23:50:11 +00:00
Włodzimierz Skiba
963ad140d0
Second part of '[ 1216148 ] cleanup: unused variables and declarations'.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 14:32:16 +00:00
Włodzimierz Skiba
b0c5cd0ff3
Reuse wxTempFile and wxFile in wxConcatFiles.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 18:46:10 +00:00
Julian Smart
3103e8a97e
Typo correction patch [ 1208110 ] Lots of typo corrections
...
Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Michael Wetherell
8df9a8a047
No wxGetOSFHandle for Wine
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-25 16:05:22 +00:00
Julian Smart
80b1db47a6
Wine fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-17 12:09:01 +00:00
Julian Smart
e55a0db6cd
Winelib fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-17 09:56:22 +00:00
Chris Elliott
aac71f4f44
get the path in windows format for cygwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-02 10:22:41 +00:00
David Webster
18ed8e0032
Unicode fixes for OS/2 (all inside #ifdef __WXPM__ blocks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-27 01:17:45 +00:00
Włodzimierz Skiba
9843873049
Build fix for wxUSE_FILE=0.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 16:49:36 +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
Michael Wetherell
9af00f5f79
OpenWatcom fixed the problem of fileno being missing, and so it should be
...
there in OW 1.4 when it comes out.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 20:39:44 +00:00
Włodzimierz Skiba
489f6cf713
Fix for ambiguities which happen in STL=1 mode under DigitalMars C++.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 20:01:55 +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
74fe675195
The DLL version of Watcom's C runtime doesn't have fileno, but the static
...
version does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 01:24:40 +00:00
Vadim Zeitlin
abf912c5a1
harmless warning fixes for WinCE (mostly unused parameters)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 19:26:51 +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
683510536f
Next step on bringing PalmOS build to the same filelist as in bakefiles: adjustements in file related wxAPI.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-24 18:01:42 +00:00
Julian Smart
2d5ba36548
Ignorant WinCE fixes for compile breakage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 22:52:27 +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
Włodzimierz Skiba
b494c48b31
.empty() string cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-01 19:37:36 +00:00
Ron Lee
9adf429992
Fix wxGTK compilation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 07:07:24 +00:00
Włodzimierz Skiba
a6f4dbbd86
wxString and wxChar* access for file functions. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-21 17:44:50 +00:00
Ryan Norton
2cbfa061b4
Correct mistakes in wxStripExtension - correct wxString::npos. Spurred by 1073642 filefn.cpp StripExtension(wxString &)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 23:55:42 +00:00
Stefan Csomor
f3660dcb2f
wxStat call preliminary fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 15:16:58 +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
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
Włodzimierz Skiba
254a21292b
Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 15:38:40 +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
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
Stefan Csomor
a2b772607a
FSRef transition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-24 19:39:50 +00:00
Włodzimierz Skiba
79e162f526
Code and warning cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 15:55:53 +00:00
Julian Smart
5c760b84fc
Don't return wxEmptyString for e.g. wxPathOnly("\file.txt")
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 20:55:59 +00:00
Vadim Zeitlin
fc447c7f43
fixed bug in FindAbsoluteValidPath() which returned cwd instead of empty string if the path was not found
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 07:52:38 +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
Włodzimierz Skiba
9c8cd1061f
Reordered condition to make diff of other port smaller.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 10:46:46 +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
Stefan Csomor
88e29a58f1
switched to wxLocale usage for string encoding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 05:28:53 +00:00
Julian Smart
2830108944
Compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-07 09:46:39 +00:00