Commit Graph

25718 Commits

Author SHA1 Message Date
Ryan Norton
03ff8fda8d Add wxString::WorstEncodingCase, other various cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 21:06:28 +00:00
David Elliott
83bd1fd925 Build src/mac/corefoundation/cfstring.cpp and src/common/uri.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 20:22:36 +00:00
Ryan Norton
6cc280ca91 somewhat modded [ 1056879 ] use wxURI::Unescape vs wxURL::ConvertFromURI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 20:19:49 +00:00
David Elliott
e313e308c0 Build the new cfstring stuff for both wxMac (as part of Mac's base) and wxCocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 18:37:41 +00:00
David Elliott
5185263fc5 Moved wxCFStringHolder and some other string functions to their own files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 18:29:35 +00:00
Robin Dunn
9004ba6af3 version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 18:12:00 +00:00
Robin Dunn
59d8365073 Set "rc1" in version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 17:15:16 +00:00
Robin Dunn
38d45b1014 Use $ on variables!!!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 17:14:19 +00:00
Robin Dunn
156fa22b80 Don't just assume that the metadata files will be found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 17:12:59 +00:00
Robin Dunn
75a937411c Save a reference to the async sound object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 16:50:07 +00:00
Julian Smart
89f0d32f7e Use Courier New instead of Courier, to avoid bad characters
appearing in PDF.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 15:24:41 +00:00
Ryan Norton
854451e2f8 have wxbuiltin wxmbconvutf7 return -1 (error) not 0. Some cleanups in string.cpp. Add some unit tests for utf7 and cleanups.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 11:13:41 +00:00
Ryan Norton
bdd8f35a58 Handle bad conversions correctly. Add Bad UTF8 test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 10:13:59 +00:00
Václav Slavík
c20d8682bd check if conversion to UTF7 works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 09:29:52 +00:00
Ryan Norton
930357bd25 Handle invalid conversion slightly better, ecapsulate literal chars with wxT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 08:55:58 +00:00
Ryan Norton
6632a38a9b Remove erronues file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 07:16:53 +00:00
Ryan Norton
494b978fc1 add some asserts for wxStringBufferLength
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 05:52:16 +00:00
Ryan Norton
72606b430e increase worst case for UTF8 to *4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 23:05:47 +00:00
Ryan Norton
44d271da3e increase worst case to *4 for UTF8, switch a memcpy for wxMemcpy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 23:01:46 +00:00
Vadim Zeitlin
9266e0ecde undid last change to wxBitmapButton::GetBestSize(), in fact it doesn't make sense to support wxBU_EXACTFIT for it at all, so just removed the code doing it and mentioned it in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 22:43:14 +00:00
Ryan Norton
ce321570b0 wxURL - doc cleanups, depreciated more methods, more source comments. wxURI - enclosed literal characters with wxT, more source comments, doc cleanups, changed StartsWith(x) to [ou] == x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 22:22:40 +00:00
Robin Dunn
5bb05e6dc6 I think that going to the home page woudl be more user friendly than
to the SF download page, but make it a module attr so the app can
change it if it's really needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 20:34:52 +00:00
Robin Dunn
7dc107d60c add skipupload flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 20:32:14 +00:00
Robin Dunn
05871e13a0 Use the wx.App.SetMac* static methods instead of the global functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 20:31:34 +00:00
Vadim Zeitlin
97786ab70f fixed wxBU_EXACTFIT handling in wxBitmapButton (closes 1056234)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 16:47:39 +00:00
Włodzimierz Skiba
fc1f28995d Missed CanRead and correct type for Eof (bug #983978).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 14:24:43 +00:00
Włodzimierz Skiba
4b4fae9b06 Single section for variants of the same function so it is less confusing for referencing from other parts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 14:22:58 +00:00
Włodzimierz Skiba
aed3141867 Lack of label causes 'topicN' anchors in url and reports warning during tex2rtf execution.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 14:20:10 +00:00
Włodzimierz Skiba
1ccc19ce9d Borland warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 11:48:32 +00:00
Włodzimierz Skiba
ce403057df Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 11:43:53 +00:00
Włodzimierz Skiba
bee671476e Warning fix due to unsigned nature of wParam.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 11:41:35 +00:00
Václav Slavík
c25b742aec FL's floating windows render borders themselves, don't use small titlebars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 11:20:44 +00:00
Václav Slavík
c4d25c01ae fixed wxTextCtrl::EmulateKeyPress to work in Unicode build of wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 11:19:39 +00:00
Vadim Zeitlin
adb61e4d0d temp compilation fix for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 10:54:50 +00:00
Ryan Norton
174f2229cd Use proper wxURI unescape instead of old way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 10:00:05 +00:00
Ryan Norton
86470d432f final wxURI API changes. Changed Get to BuildURI to better reflect what its doing. Added wxURI::Unescape to unescape characters in a url or uri. Added wxURI::BuildUnescapedURI. Changed the wxURL convertXXXuri methods to use uri methods instead, and depreciated these methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 09:57:43 +00:00
Václav Slavík
cedea72ffa wxKeyEvent::m_uniChar must be copied by operator= too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 08:18:52 +00:00
Ryan Norton
b60b2ec8ac Inherit wxURL from wxURI, providing assignment, copy construction, comparison, and less duplication of code. Change wxURI a bit to meet some of Vadim's reccommendations - move accessors into header, and finish some of his other reccom. Change assignment to use const wxString& instead of const wxChar*. Change wxURI docs to reflect that it inherits from wxObject. Made preliminary docs for the wxURL transition. Add some unit tests for the transition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 06:49:46 +00:00
Ron Lee
68ca6f5252 Applied patch 1055774 from Paul Cornett for platforms
without a posix /bin/sh.  Among those reported as not yet
expired are Solaris 9, IRIX 6.5, and Tru64 5.1b.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 02:00:23 +00:00
Vadim Zeitlin
e6a156f9c8 use \true/\false and \arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 01:05:20 +00:00
Vadim Zeitlin
8404931e0d minor cleanup: don't use bool parameters, don't typedef the enums, don't abuse references
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 01:03:38 +00:00
Robin Dunn
c7ea279bf6 just a little tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 00:43:09 +00:00
Robin Dunn
6be3fd57c6 Changed selectNewest to ensureMinimal. If the default version is >=
the minimum then use it, otherwise find an installed version that is
>= minimum, or will display a message and bail out.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 23:59:43 +00:00
Ryan Norton
153fe6e7dd final sweep over docs - replace & with \&
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 23:30:59 +00:00
Ryan Norton
0d8fc895d4 update docs, add to class list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 23:21:07 +00:00
Vadim Zeitlin
fd35980623 we don't have to call png_set_error_fn() any more after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 23:07:11 +00:00
Vadim Zeitlin
d10c19d6e0 use wx_png_error/warning when calling png_create_read/write_struct(), don't return from wx_png_error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 22:58:29 +00:00
Robert Roebling
01b5396fce Removed Pango homemade implementation and
reinstated old code that uses /Times and
    /Helv etc for printing PostScript.
  Various smaller fixes related to printing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 22:55:30 +00:00
Ryan Norton
dd65d8c830 wxURI. Move Convert/to/fromURI into uri.cpp so that it is compiled in base. Regenerate Bakefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 22:47:26 +00:00
Vadim Zeitlin
c0b0635cf6 removed src/gtk/eggtrayicon.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 20:35:27 +00:00