Commit Graph

409 Commits

Author SHA1 Message Date
David Elliott
1c7edd1d3c In GSocket_Destroy reorder GUI_Destroy and Shutdown when compiling for Darwin.
This is necessary to comply with the Apple documentation for CFSocket which
states quite explcitly that the CFSocket must be invalidated prior to close.

Likewise in GSocket_Read don't enable input events until we have finished
reading the data.  This is necessary because an input event will be
immediately generated but all the data will have been read by the current
callback which leads to the GSocket code thinking the connection has been
lost and when wxYield recursion is involved will lead to crashes or an assert.

Because we are doing a compile time test only for Darwin this will also
affect wxGTK running on Darwin. It appears possible for the new order to work
on all platforms but more testing would be required.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 02:49:07 +00:00
Ryan Norton
816e36172a Reversed,...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 13:52:02 +00:00
Ryan Norton
6f070389aa Comment....
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 13:47:25 +00:00
Ryan Norton
5294e30a38 Added an assert...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 13:39:40 +00:00
Ryan Norton
7b70a3257f reversed some parts of wxGetKeyState for linkage reasons...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-15 17:16:04 +00:00
Ryan Norton
35713466d0 fix broken compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-15 02:21:53 +00:00
Ryan Norton
e5804ce70a Uncommented Brian Vitors stuff...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-15 00:05:04 +00:00
Ryan Norton
6ed892f3f2 wxGetKeyState as per feature request :).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-14 23:35:21 +00:00
Václav Slavík
505c8ccdb3 added checks for Xxf86vmode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-14 22:46:22 +00:00
Václav Slavík
428b6942f2 fixed compilation errors, made messages more human-oriented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-14 11:53:15 +00:00
Ryan Norton
f2ebd959e6 Brian Victor's Patch & Cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 09:25:29 +00:00
Ryan Norton
2980fc88d3 Display correct refresh rate & fixed reset mode with display sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 08:48:54 +00:00
Ryan Norton
73b89f7007 Implemented resolution changing using X11 video extentions\nBe sure to link with the appropriate libs (-lXxf86vm -lXinerama)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 07:29:57 +00:00
Ryan Norton
e07d33e724 Added some placeholders...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 03:53:08 +00:00
Stefan Neis
7d354cd1df Unified OS/2 and Unix code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 18:45:21 +00:00
Vadim Zeitlin
5031200a24 added missing _T()s in wxLogTraces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-30 22:15:57 +00:00
Vadim Zeitlin
2a36ad637f generate trace messages with dialup mask so that they're not shown by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-21 21:34:56 +00:00
Vadim Zeitlin
70247ce395 instead of ignoring all unknown MIME keywords, ignore only those not starting with x- (this was always the intended effect but it didn't work like this)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-05 19:27:26 +00:00
Vadim Zeitlin
32e2c7613d Unicode fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 15:14:44 +00:00
Vadim Zeitlin
3cb98121f2 fixed bug in wxDisplay::GetFromPoint() when Xinerama is not used (patch 813543)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 13:58:10 +00:00
Vadim Zeitlin
3398cf2cf6 added stabs for missing wxNativeFontInfo methods when using Pango
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 16:07:07 +00:00
Mattia Barbon
e4ffab299a Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 13:34:49 +00:00
Vadim Zeitlin
ef4f69ec32 cleaned up VMS #ifdef mess
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 00:29:31 +00:00
Robin Dunn
2dbc444a19 Move more stuff into base for wxMac so that two level namespace dylibs
can be used on OS X.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 00:03:18 +00:00
Robert Roebling
23c98a6eb0 64-bit patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 22:22:38 +00:00
Václav Slavík
c80217d107 wxMutexGuiEnter/Leave didn't work because this file is compiled with wxUSE_GUI=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:59:13 +00:00
Václav Slavík
b7c702867a removed unneeded #ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 22:30:54 +00:00
Václav Slavík
2be028e23c reverted previous commit; include wx/timer.h in wxBase instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 18:30:16 +00:00
Václav Slavík
d5b12ad9a7 wxBase compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 18:20:51 +00:00
Václav Slavík
14f355c2b5 added support for gcc precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Václav Slavík
38bb138f09 fixed wxBase and GUI separation for sockets code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 12:26:17 +00:00
Václav Slavík
324899f6c5 return wxToolkitInfo by reference and not by pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 15:39:26 +00:00
Václav Slavík
a8eaaeb237 replaced wxAppTraits::GetOSVersion with GetToolkitInfo with richer information that is needed by wxDynamicLibrary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 15:14:17 +00:00
Václav Slavík
25c0717a43 moved wxWave, wxJoystick and wxTaskBarIcon to wxAdvanced
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 14:34:42 +00:00
Robert Roebling
3479189669 Applied pop menu patch.
Applied font util patch for better font matching under GTK 1.2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 09:01:49 +00:00
Vadim Zeitlin
8fa3a431af reverted gdk_fontset_load() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 11:53:37 +00:00
Julian Smart
b8d6102177 Fixed out by one error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 10:10:37 +00:00
Vadim Zeitlin
b4e4abb51c font is only non default if it has non default field values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 12:39:33 +00:00
Vadim Zeitlin
341baa4c71 use gdk_fontset_load() instead of gdk_font_load() for better Japanese support (patch 698558)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 10:02:46 +00:00
Vadim Zeitlin
2b6d8c00fc (blind) fix for valgrind error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:23:47 +00:00
Vadim Zeitlin
29c99ad359 fixed build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 00:27:26 +00:00
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
7764f97370 fixed crash in wxExecute() introduced during base/GUI split
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 20:08:56 +00:00
Mattia Barbon
b3dfbbc910 MinGW compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 20:02:59 +00:00
Jouk Jansen
04272d5883 Committing in .
Updated OpenVMS compile support

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
 	wxWindows/src/motif/descrip.mms wxWindows/src/unix/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 10:35:08 +00:00
Vadim Zeitlin
a905235eb0 fixed sscanf() format string typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 11:59:02 +00:00
Vadim Zeitlin
2739d4f052 moved GetOSVersion() to the base traits class; implement it in platform-specific files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 00:16:04 +00:00
Vadim Zeitlin
ec67cff1f6 __WXBASE__ -> wxUSE_BASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 23:46:00 +00:00
Vadim Zeitlin
2887179b1f compilation fixes for separate build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 01:14:22 +00:00
Vadim Zeitlin
c41dbc2085 missing wx/iconloc.h added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 00:10:07 +00:00