| 
							
							
								 Vadim Zeitlin | b053bf9ef4 | don't use new string caching code without compiler TLS support (temporary fix to compilation problems) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-08-28 21:50:10 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | af912213b3 | compilation fix for non-UTF-8 build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-08-28 19:39:23 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 68482dc584 | add cache for last used position and string length to UTF-8 wxString, dramatically improving performance of the code using indices to iterate over strings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-08-28 19:19:11 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | 6bd4f2812d | fixed writing to wxUniCharRef after its 'parent' iterator was destroyed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-08-26 13:02:38 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | dd79ca2fd8 | undid changes accidentally committed as part of r55019 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-08-08 19:00:19 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 64a044d5a6 | added wxTLS_TYPE() macro git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-08-08 02:59:32 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 0c7db140c5 | add wxString::Capitalize() and MakeCapitalized() for consistency with Upper/Lower() we already have git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-08-01 23:39:11 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 96e93f5b83 | added FromUTF8Unchecked() for ANSI build too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-07-21 02:26:11 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | cc209a518f | check that string passed to FromUTF8() is valid even in release build, this is safer; add a separate FromUTF8Unchecked() which can be used for maximal efficiency git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-07-19 19:59:59 +00:00 |  | 
			
				
					| 
							
							
								 Robert Roebling | 6ad68ad8c8 | added wxString.t_str() and used it in filefn.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-07-04 07:56:32 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 39329d2edd | use memcpy() instead of wxTmemcpy() as the latter is defined in wx/wxcrt.h which includes wx/string.h and hence can't be used from here git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-06-07 15:12:23 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 062dc5fc22 | initialize wxStringBuffer with the original contents of wxString it was created from for better compatibility with the old, non-STL, build (this avoids problems such as ticket #4845); add wxString::tchar_buf() to help with the implementation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-06-06 21:19:23 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | 06e9cf134f | added wxString::Clone() and made wxString(wxCStrData) ctor make deep copy too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-04-24 07:16:48 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | f416695a1b | more wxString:[Aa]ppend() overloads for better compatibility git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-04-14 22:30:07 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 9ef1ad0d2c | fix crashes due to missing npos handling in several wxString methods in STL build (bug 1941352); add an assert to ensure this bug doesn't occur in the future git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-04-13 23:41:15 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 0367b92891 | document Alloc() vs returning bool (part of bug 1933693) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-04-05 17:50:16 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 9b4da62701 | PalmOS compilation fixes (wx-trunk-out.diff part of patch 1894861) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-03-02 00:43:06 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | 84d2877f32 | UTF-8 build fixes for appending, setting or searching for NUL characters git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-01-27 16:29:52 +00:00 |  | 
			
				
					| 
							
							
								 Paul Cornett | 162e998c2f | check for self-assignment in operator= git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-01-09 04:08:33 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | 2712e31795 | don't call wxString::Len() from operator==; use IsSameAs() instead of move the length check to there (for non-UTF8 builds) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-01-07 10:27:35 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | b5343e065a | only provide ptrdiff_t versions of verious operator+/- working with iterators instead of overloads for both int and size_t: this seems to be enough and the existing overloads were not enough for 64 bit builds where expressions such as iter+(ptr2-ptr1) didn't compile without extra casts git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-01-06 22:27:01 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | d9359369af | removed wxSTRING_TEXT() macro in favour of wxS() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2008-01-02 17:33:31 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | f172cb8200 | removed support for Salford compiler (which was almost certainly broken anyhow) (patch 1861133) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-12-31 10:05:00 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 9183da066e | no need to reenable VC warning 4251 now as it's globally disabled in wx/defs.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-12-20 00:55:03 +00:00 |  | 
			
				
					| 
							
							
								 Stefan Csomor | c47e732c7a | fn_str encoding symmetry fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-12-08 17:33:29 +00:00 |  | 
			
				
					| 
							
							
								 Stefan Csomor | 623633eea9 | cleanup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-11-16 20:52:54 +00:00 |  | 
			
				
					| 
							
							
								 Paul Cornett | 04848a06ca | revert calling static directly, its not always static git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-10-26 17:31:18 +00:00 |  | 
			
				
					| 
							
							
								 Paul Cornett | 326a863afc | use class keyword to match forward decl, call static members directly git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-10-26 06:19:27 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | 6a6ea041d9 | compilation fix for Mingw: it doesn't have std::wostream git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-10-10 09:48:00 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 6b61b594cf | define insertion operator in std::wostream in Unicode build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-10-09 00:09:01 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 7a906e1a21 | fixed operator<<(ostream&, wxString) to output string contents and not wchar_t pointer value in Unicode build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-10-09 00:01:59 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 7c77f33480 | added WXDLLIMPEXP_TEMPLATE_INSTANCE_BASE() macro and use it to work around VC6 warnings about non DLL-exported templates git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-09-14 21:02:09 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 4ec4d8610a | added WXDLLIMPEXP_BASE for a couple of template classes having only inline functions as VC7 still needs them in DLL build if these classes are used as base classes or members of other DLL-exported classes (replaces first two parts of the patch 1779004) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-09-14 17:04:27 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | fe1b98f5d5 | fix resize() when it's used for truncating a string in UTF-8 build; added test for this bug git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-08-30 18:13:29 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | 7d46f92bb0 | compilation fix for UTF8+STL git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-08-22 11:30:10 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | 628f87da56 | added wxUTF8StringBuffer for writing UTF8 data into wxString efficiently, similarly to existing wxStringBuffer classes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-08-20 15:19:15 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | 6798451bb2 | renamed wxImplStringBuffer to wxStringInternalBuffer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-08-19 21:24:50 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | 8105182945 | compilation fix for wxString::Format("no variadic arguments") and VC6 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-08-13 17:56:09 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 628f9e9596 | added FromAscii(unsigned char *) overloads git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-08-04 18:40:45 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | a0f63de941 | don't crash in wxGetEmptyString(): it's now a #define for wxString(), which is not any less efficient now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-07-30 10:51:35 +00:00 |  | 
			
				
					| 
							
							
								 Vadim Zeitlin | 4f167b46b4 | added wxUSE_TASKBARICON; corrected condition for generating the taskbar sample makefile in configure git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-07-19 01:02:28 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | b5dbe15d0b | added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-07-09 10:09:52 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | b052a864e9 | silenced Watcom warning when deleting const pointer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-07-01 12:42:31 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | 42fc0309be | don't assign m_next twice in wxStringIteratorNode ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-06-28 12:52:09 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | 39c20230ba | 1. added default constructors for wxString iterators 2. fixed assignment of iterator to iterator that points to a different string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-06-28 12:49:58 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | e6310bbc5a | added wxString::FromAscii(char*,size_t) for consistency with FromUTF8() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-06-28 12:36:54 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | 7978bc7293 | remove implicit conversion to C strings from wxString if wxUSE_STL=1; this fixes problems with converting between wxString and std::string in some situations at the cost of having to use c_str() explicitly just as you have to when using std::string git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-06-20 07:47:51 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | 300b44a933 | fixed wxString iterators linked list corruption git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-06-18 08:55:11 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | f966a73d40 | fixed FromUTF8() to accept NULL as well as len==npos; this fixes crashes when loading XML files in UTF-8 build with wxUSE_STL=1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-06-16 14:29:52 +00:00 |  | 
			
				
					| 
							
							
								 Václav Slavík | 541aa82180 | fixed VC6 warnings about non-dllexported members in dllexported classes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 | 2007-06-11 19:59:11 +00:00 |  |