Commit Graph

184 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
Václav Slavík
ee5749a6c1 updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 23:08:57 +00:00
Václav Slavík
6c974d0b05 don't link wxBase against GUI libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 22:53:01 +00:00
Václav Slavík
21a94f3018 don't link wxBase against GUI libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 17:23:14 +00:00
Vadim Zeitlin
c66cca2af0 added wxScopeGuard; test it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 23:56:08 +00:00
Václav Slavík
b1169abb83 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 22:39:53 +00:00
Václav Slavík
3fe8bc147c regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 18:46:46 +00:00
Václav Slavík
96b9e9b39c removed redundant app-type tag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 14:05:09 +00:00
Václav Slavík
3b20263dbd added Mingw makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:36:51 +00:00
Václav Slavík
0706fb236c regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:40:50 +00:00
Václav Slavík
3af038c0dc regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 14:03:07 +00:00
Václav Slavík
6f6280738e regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 23:52:47 +00:00
Václav Slavík
7dbc8e4f9c console sample is not GUI app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 21:49:47 +00:00
Václav Slavík
fcf61db4d1 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 00:43:30 +00:00
Václav Slavík
baa6e1d6a8 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 16:08:36 +00:00
Václav Slavík
bbc1cf3fd4 missing libbase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 16:07:49 +00:00
Václav Slavík
c656b78389 new dependencies tracking code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 19:27:50 +00:00
Václav Slavík
49b0a3aad9 new dependency tracking from bakefile cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 18:14:32 +00:00
Václav Slavík
9747f85dad regenerated makefiles, with support for multilib build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 15:13:17 +00:00
Václav Slavík
481290e226 moved to autoconf-2.5x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 22:05:29 +00:00
Václav Slavík
cbd63f42f6 generated new makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:42:25 +00:00
Václav Slavík
fe0895cf82 new build system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:31:50 +00:00
Chris Elliott
0e4c7ab4f2 makefiles for samples for digital mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 16:51:46 +00:00
Chris Elliott
ddea7eb614 changes to watcom makefiles for OpenWatcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:14:07 +00:00
Vadim Zeitlin
7e0777dabb added test for wxFileConfig::DeleteEntry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 15:28:57 +00:00
Julian Smart
2ab25aca26 Removed obsolete wxDate and wxTime classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 20:14:19 +00:00
Vadim Zeitlin
cab8f76eb8 fixed a crash in socket server test and added quit command to the server
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 00:18:44 +00:00
Václav Slavík
e046e5f1e7 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 12:36:48 +00:00
Vadim Zeitlin
2f0c19d0a8 minor changes to wxDir test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 00:07:42 +00:00
Vadim Zeitlin
a0499e2f21 new (for wxBase) or updated and (hopefully() improved Watcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 17:13:52 +00:00
Václav Slavík
e7266247d5 added wxFileName::MakeRelative test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:03:30 +00:00
Vadim Zeitlin
3993765614 added trivial test for wxTextInputStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 00:31:56 +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
59a944cb63 added test for env var expansion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 13:34:28 +00:00
Vadim Zeitlin
4c51b68810 compilation fix in !WXWIN_COMPATIBILITY_2_2 mode; set TEST_ALL to 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 13:29:22 +00:00
Vadim Zeitlin
f1389d464a Windows and Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 23:27:24 +00:00
Vadim Zeitlin
7aeebdcd3d added printf() test suite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:36:40 +00:00
Vadim Zeitlin
ee3ef2817f variosu fixes to the tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 23:11:18 +00:00
Vadim Zeitlin
50ded68d38 corrected wxExecute() tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:46:38 +00:00
Vadim Zeitlin
456ae26d78 the sample now builds in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:27:40 +00:00
Vadim Zeitlin
e7d41190e0 added tests for wxString::To/FromAscii
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:07:51 +00:00
Vadim Zeitlin
99a5af7f72 added wxMemoryOutputStream test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 22:07:13 +00:00
Vadim Zeitlin
9475670f13 typo in dir enum test code fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-08 18:30:27 +00:00
Vadim Zeitlin
f06ef5f4a3 more MIME tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 19:56:57 +00:00
Vadim Zeitlin
6307da56b8 added \\server\dir\filename.exe test case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 22:48:15 +00:00
Vadim Zeitlin
149147e1b7 added wxDir::Exists() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 22:28:34 +00:00
Vadim Zeitlin
2104ba3194 fixed zlib compression test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 15:09:10 +00:00
Vadim Zeitlin
ba6ea19e4f some warnings fixed, checks for various wxUSE_XXX added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 19:21:42 +00:00
Vadim Zeitlin
9cb47ea276 added build options check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 15:59:07 +00:00
Stefan Neis
f74a90b35c Minor changes to test/show expanded array functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 15:34:22 +00:00