Vadim Zeitlin
44b62d54c6
always make the name of the file to replace absolute before using it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 13:06:28 +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
Václav Slavík
d3b4d71020
DOS compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:18:08 +00:00
Václav Slavík
dccaf28056
Oops, Watcom doesn't have _mktemp in DOS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:24:32 +00:00
Václav Slavík
b7f411dd9b
compilation fixes for Watcom+MGL+MS-DOS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 17:03:05 +00:00
Vadim Zeitlin
3f2474754a
fixed bug introduced earlier today in wxTempFile::Open()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 00:46:48 +00:00
Robin Dunn
44d568b6a8
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 20:49:12 +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
Ron Lee
681641370c
Added wxFile::write_excl and use it from wxTempFile to securely open the
...
temporary file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 13:51:24 +00:00
Vadim Zeitlin
de85a884d7
applied patch 473558: fixes for CW compilation under MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 20:43:23 +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
Julian Smart
fac3b4232c
More wxMicroWindows fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 14:20:32 +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
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
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
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
Václav Slavík
8e3f126189
one of error messages had way too much spaces in it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 20:09:04 +00:00
Vadim Zeitlin
312cd9e93d
O_BINARY added to wxFile::Create
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 10:32:19 +00:00
Vadim Zeitlin
b12915c104
1. wxBase compiles under BeOS
...
2. several bugs corrected in wxTextCtrl::Load/SaveFile (wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 21:09:32 +00:00
Stefan Csomor
7c74e7fe1d
wxMac completed so far, generic listctrl extension
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 16:11:14 +00:00
Vadim Zeitlin
3096bd2fa7
include <wx/...> => include "wx/..."
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 15:50:22 +00:00
Karsten Ballüder
223d09f6b5
replaced T() makro with wxT() due to namespace probs, _T() exists, too
...
fixed compilation problems, mainly in html code
compiles and links fine on Solaris, runs with samples and Mahogany
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 14:35:56 +00:00
Vadim Zeitlin
e90c1d2a19
many changes; major ones:
...
1. start of !wxUSE_GUI support
2. _T() macro renamed to T()
3. wxConvertWX2MB and MB2WX macro added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 20:15:38 +00:00
Patrick Albert
48c12cb129
Removing some level 3 warning
...
Updating samples\makefile.vc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-27 11:46:55 +00:00
David Webster
c2ff79b17b
*** empty log message ***
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-29 04:56:34 +00:00
Vadim Zeitlin
a1b82138ef
1. new wxFFile class - as wxFile but uses fopen/fread/fseek... instead of
...
open/read/seek...
2. wxTextCtrlBase appears, several bug fixes in MSW wxTextCtrl and made
LoadFile() behave in the same way under GTK and MSW (fixed it for MSW
too)
3. Corrected the sash position calculation in sashwin.cpp - seems to work
now but I wonder how it could ever work before?
4. new, tmake generated, MSW makefiles. They probably don't work - will fix
them as soon as people start complaining.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-14 22:55:57 +00:00
Patrick Albert
cc985face5
Some minors changes, like adding empty lines at end of files, to be able to compile with VC++1.52c.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-09 15:30:31 +00:00
Robert Roebling
2df7be7f2c
Some #include and #if wxUSE_XX things
...
Shut up notification in wxTextCtrl
Made things compile again...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-22 08:36:29 +00:00
Robert Roebling
ce4169a4d1
Added a few #if wxUSE_XXX
...
Regrouped image format handlers
Updated the rest accordingly
Added changes.txt for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-15 20:21:59 +00:00
Robert Roebling
dcf924a345
Added zillions of #if wxUSE_XXX
...
Removed cmndlgs usage of wxSizer and constraints
Changed occurences of wxConv_xxx to wxConvXxxx and
changed some wxConvLibc to wxConvCurrent
Added Unicode tests to typetests (not finished)
Compile fix for wxString in Unicode mode - we have
to use the "experimental" printf then, I guess.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-14 23:04:05 +00:00
Robert Roebling
5ea105e0ba
WINE is so fine.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-09 00:32:07 +00:00
Karsten Ballüder
f46f1bc60a
suppressed compiler warning about unitialised umask value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 10:30:19 +00:00
Vadim Zeitlin
cedda7e689
fix for the fix for the umask fix in wxTempFile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-18 21:22:40 +00:00
Vadim Zeitlin
fe99e2858a
wxTempFile now respects umask when creating new files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 09:01:10 +00:00
Ove Kaaven
509201463d
It now compiles all these files without warnings in Unicode mode.
...
(at least It Works For Me(tm))
I will respond to any complaints when I wake up for another workday
(any complaints will prove whether Vadim was right in that it's bound
to break things)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:31:12 +00:00
Vadim Zeitlin
49d5d881d4
wxTempFile now respects the access rights under Unix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 16:28:21 +00:00
Vadim Zeitlin
3f4a0c5be3
_MSC_VER => __VISUALC__ change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 16:48:12 +00:00
Stefan Csomor
169935ad4e
latest CW additions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 15:00:12 +00:00
Julian Smart
0a240683ed
Various small fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 13:58:17 +00:00
Julian Smart
a3ef5bf504
Various changes for Salford C++, and commited fileconf.h/fileconf.cpp changes
...
to take out nested classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-16 00:13:58 +00:00
Vadim Zeitlin
09914df7b8
some really minor changes (the most important one: small memory hole in
...
wxList plugged)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-12 23:44:03 +00:00
Julian Smart
ad5c34f309
Changes to allow Cygwin to compile in non-PCH mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-08 21:09:46 +00:00
Stefan Csomor
17dff81c71
mac support as stubs added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-01 16:22:21 +00:00
Stefan Csomor
469e1e5c35
CW Win32 support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-21 08:44:48 +00:00
Vadim Zeitlin
5fc5e442f3
1. log::save works with wxGTK
...
2. wxFile::Create() doesn't create files open for reading any more...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-15 18:59:30 +00:00
Robert Roebling
8fdca65cf2
Removed warnings
...
Added GetCount() to wxList and wxDaynArray
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-12 22:11:40 +00:00
Julian Smart
341287bf49
Added variant.h/cpp; changed variable names in object.h; added some
...
functions to wxStringList; some bugs fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-12 17:29:57 +00:00
Vadim Zeitlin
c86f1403c3
globally renamed uint to size_t. This has _not_ been checked under Windows,
...
although I changed msw files also, so please wait until this evening if you
want to be sure that it compiles. This change should fix 64 bit compilation
problems, but it would be nice to test it...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-18 15:36:12 +00:00
Julian Smart
34138703c3
Changes mostly as a result of __WXSTUBS__ compilation. The stubs code now
...
compiles under Windows with VC++. Also OGL enhancements espec. wxDrawnShape.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-15 00:23:28 +00:00
Vadim Zeitlin
d1427b7053
static wxFile::Access() added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-11 21:04:48 +00:00