Commit Graph

25683 Commits

Author SHA1 Message Date
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
Włodzimierz Skiba
458d26a0cb Correct defaults for basic options (bug #1048680)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 19:27:14 +00:00
Vadim Zeitlin
b2d739ba55 don't preselect the first item if the array with the initial selections is empty in wxMultiChoiceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 19:23:59 +00:00
Julian Smart
34e0d9f874 Now possible to compile with wxURL disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 17:33:32 +00:00
Julian Smart
cf49c9551b GTK+1 doesn't have gtk_window_set_type_hint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 16:44:31 +00:00
Vadim Zeitlin
48a611cf00 don't abort if a shared library can't be loaded under OS X, just return an error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 13:53:37 +00:00
Stefan Csomor
0f4c414099 setting the invoking window added to two other wxMenuBar manipulating methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 12:59:19 +00:00
Włodzimierz Skiba
eb9f2b7086 Replace license.txt with licence.txt as it is really named.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 11:33:48 +00:00
Robert Roebling
ff910433fc Added initial support for GNOME printing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 11:19:30 +00:00
Robert Roebling
9f1316dc97 Moved "enablePrint" setting around.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 11:16:22 +00:00
Ryan Norton
c298ea48e4 Add preliminary wxStringBufferLength docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 08:18:36 +00:00
Ryan Norton
c81fc3344d Use wxStringBufferLength instead of wxXCharBuffer in constructors with conversion. Avoids both an allocation and a memory copy in normal (non-stl) wx mode with wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 07:48:28 +00:00
Stefan Csomor
a99915c224 fixes angle calculation (on mac ALWAYS clockwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 07:45:32 +00:00
Ron Lee
ffa0583fbf Update for rpath with uninstalled builds and utility search.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 06:25:12 +00:00
Robin Dunn
14b0f0d506 fixed copy/paste error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 01:15:34 +00:00
Robin Dunn
0dece789bc Version number bump
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 01:11:19 +00:00
Robin Dunn
3d78a53231 The old workaround for the 1-Jan-1970 bug still failed in some
timezones.  This new workaround seems to work better.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 01:06:45 +00:00
Robin Dunn
410bb8c16b Return from DoDrawSpline without doing anything (like segfaulting
<wink!>) if the list is empty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 01:00:09 +00:00
Robin Dunn
1b10056f63 avoid crash if active_child_frame is not set yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 00:58:00 +00:00
Robin Dunn
1b135c93ed Ensire that m_value is updated when SetSelection is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 00:56:50 +00:00
Václav Slavík
37780c641b fixed wxFRAME_TOOL_WINDOW to use 'utility' type hint instead of not rendering any frame at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-26 22:45:32 +00:00
Robin Dunn
54c733833a * Added selectNewest(minVersion)
* Use the options in the sort ordering in addition to the version,
  this will put the gtk2 and unicode versions ahead of the others of
  the same version.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-26 21:55:25 +00:00
Robert Roebling
6038ec8eaf Next phase of Print Factory code.
Created a mini interface so that the generic
    wxPrintDialog can show a "printer" and a
    "status" line if the print factory wants
    this to be the case.
    Moved some code (print mode) back from the
    PostScript only print data to the general
    print data since it is sort of general.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-26 19:49:59 +00:00
Václav Slavík
63de666d9d at least partially implemented vswscanf() -- otherwise wx apps compiled against glibc 2.1 wouldn't run at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-26 17:42:39 +00:00
Włodzimierz Skiba
ae6c0ccf26 Avoid anchor for label which determined creation of the new file and is already included in filename.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-26 17:10:49 +00:00
Václav Slavík
6848729f2b prefix symbols with wx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-26 10:32:38 +00:00
Robin Dunn
0148e4348e Doc and comment updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-25 22:53:36 +00:00
David Elliott
3dd4386160 Convert back to UNIX line endings (again)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-25 16:10:15 +00:00
Kevin Hock
19722331f8 MutexGui calls in WakeUpIdle are not needed under GTK2, fixing the long-standing "random" lockups experienced when using wxPostEvent from a thread. Collaboration with RR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-25 03:24:42 +00:00
Vadim Zeitlin
7de8eddef5 use GetBestSize() and not GetSize() for AsIs() size constraints -- this makes much more sense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 14:49:38 +00:00
Stefan Neis
a66dece0c5 Removed list of modeless windows (apparently no longer needed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 13:46:06 +00:00
Stefan Csomor
fc58c6be4e corrected textbackground for theme text output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 12:48:00 +00:00
Stefan Neis
86dc230162 Fixed handling of modal dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 12:08:25 +00:00
Stefan Csomor
c871c71b9b adding Offset to wxRegion / carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 11:43:07 +00:00
David Elliott
f7ef06022c Fix wxExecute for ports other than wxMac and wxCocoa on Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 07:36:16 +00:00
Robin Dunn
db93f8f85b typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 01:04:11 +00:00