Commit Graph

47 Commits

Author SHA1 Message Date
Mattia Barbon
df5168c427 Added --use-stl to cnfigure, wxUSE_STL to setup0.h
Moved wx/datetime.inl contents to wx/datetime.h and removed
inline redefinition hack.
  Implemented STL-like interface on top of wxList/wxArray, when wxUSE_STL=0.
  Implemented wxList-like and wxArray interfaces on top of std::list and
std::vector, when wxUSE_STL=1.
  Added arrstr.h, moved wxArrayString declaration there; string.h
#includes arrstr.h only if WXWIN_COMPATIBILITY_2_4 is enabled.
  Added WX_CLEAR_HASH_MAP, WX_CLEAR_HASH_TABLE, WX_CLEAR_LIST macros,
to clear a wxHashMap, wxHashTable, wxList containing pointers: deletes
pointers and makes container zero-sized.
  When wxUSE_STL=1, wxStringList works like a std::list<wxString>.
  Made wxBase compile when wxUSE_STL=1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:52:35 +00:00
Vadim Zeitlin
e2b87f38d9 allow compilation with wxUSE_DATETIME == 0 (patch 679822)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 00:53:46 +00:00
Julian Smart
d0200d9eff Added Mac Classic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 21:56:53 +00:00
Václav Slavík
008a56c968 even more fixes to last-minute wxFileSystem mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:50:15 +00:00
Julian Smart
c8c29c490b Ignore DOS drive spec in GetRightLocation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 09:48:00 +00:00
Julian Smart
2a5d3f5738 Fixed the beggar good and proper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 21:45:36 +00:00
Julian Smart
8ad944dcbc Should only add // under MSW -- not on Unix, not on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 15:42:10 +00:00
Václav Slavík
9548c49a6a modifications to URL<->filename conversion: take wxFileName, rename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 20:28:12 +00:00
Julian Smart
7912e6332f Correction to path/URL code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 09:18:44 +00:00
Julian Smart
9b798c66c7 Removed apparently erroneous manipulation of filename/URL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 20:12:48 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Vadim Zeitlin
57e6713594 char -> wxChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:49:48 +00:00
Robert Roebling
d81152f480 Let wxFileSystem use wxFFileInputstream and not
wxFileInoutStrea as that is broken on Macs.m


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:56:17 +00:00
Václav Slavík
1aedb1dd8b gcc pragmas fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 18:26:51 +00:00
Robin Dunn
4683727281 added wx type info macros for wxFSFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 02:08:19 +00:00
Václav Slavík
45681cd72d ensure minimal mime support in wxHTML even without wxMimeTypesMananger
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 00:48:08 +00:00
Václav Slavík
659a606421 wxFileSystem w/o wxUSE_MIMETYPE fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 22:39:35 +00:00
Václav Slavík
19008b7bb8 made wxLocalFSHandler public and added Chroot to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:34:10 +00:00
Robert Roebling
6464f4cbe0 Patch (partially back) so that images work in wxHTML.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 20:12:18 +00:00
Stefan Csomor
b838cfc915 added conversion to mac native filenames from local filesystem handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 13:38:05 +00:00
David Webster
86b3203fb1 bad delete operator, should be delete [] for gs_FSMimeFallbacks and removing debug allocs and deallocs for OS/2 in memory.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-15 04:58:06 +00:00
Václav Slavík
dbb88122c9 workarounded false memory leak report
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-04 23:32:29 +00:00
Václav Slavík
2148cce296 fixed stupid loop in wxFileSystem::OpenFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-20 21:52: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
24528b0c14 added --enable-filesystem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:06:17 +00:00
Julian Smart
f6081a0462 Cured memory leak report in wxDateTime; wxGLCanvas corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 13:43:37 +00:00
Bart A.M. Jourquin
b2f60e03cc Using P.Getchar(i) instead of p[i]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 08:54:44 +00:00
Václav Slavík
5be0cf6503 implemented better paths handling: dir1/../dir2/file is replaced by dir2/file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:02:55 +00:00
Václav Slavík
737255678c rewritten to use wxTheMimeTypesManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:06:59 +00:00
Václav Slavík
6ee654e6bb added wxFSFile::GetModificationTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 01:00:47 +00:00
Václav Slavík
f22e0c3c3f wxFileSystem now compiles if wxUSE_HTML (required by wxHTML)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 16:43:54 +00:00
Václav Slavík
7dee4b2ba0 fixed minor bug in wxFileSystem's converting \ to /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:25:42 +00:00
Vadim Zeitlin
f76dbc4d52 unused param warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:31:35 +00:00
Václav Slavík
51f79d5c67 fixed memory leak in wxFilesystemHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 00:14:25 +00:00
Václav Slavík
aaa66113df added wxFileSystem::FindFirst and FindNext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 22:05:10 +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
Robin Dunn
269e82009d I got tired of some of the memory leak messages related to html and
filesystem classes, (even when I wasn't using them) so I added to the
cleanup code already there.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 20:15:31 +00:00
Václav Slavík
956418ab76 added MIME manager fallback support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-08 22:28:48 +00:00
Julian Smart
ea4f5235fc Changes for BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-06 16:17:40 +00:00
Robert Roebling
8a4df1595b Now its possible to run wxHTML without wxSockets
if wxUSE_FS_ZIP = 1, wxUSE_HTML = 1
  Fixed typo in filelist
  Compile fix for spinbutton,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-29 19:52:37 +00:00
Václav Slavík
a76015e6eb fixed static members
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-25 12:21:23 +00:00
Vadim Zeitlin
31528cd3ca 1. more wxMotif fixes
2. wxGetNumberFromUser added
3. more compilation fixes when compiling without sockets


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-23 21:03:02 +00:00
Robert Roebling
d30e0edda8 Compile fixes,
corrected cursors (it isn't as simple as you think)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-15 19:26:04 +00:00
Václav Slavík
d78b3d6414 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-10 13:23:22 +00:00
Vadim Zeitlin
e3e717ecc5 added wxUSE_FS_INET/ZIP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-09 14:32:50 +00:00
Václav Slavík
5526e819ec *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-07 22:04:58 +00:00