David Surovell
1c4cd9e047
minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-07 06:09:50 +00:00
Stefan Neis
71b4a9b878
Added thread-safe wrappers for get{host,serv}by{name,addr} to replace the
...
currently still used unsafe versions once possible compilation
problems are sorted out.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-03 16:36:20 +00:00
Julian Smart
789e2d57b8
Use ~/Application Support folder on Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-08 21:49:52 +00:00
Vadim Zeitlin
d5437b854c
fixed broken code using readlink(): please don't just cast wxChar * to char *, this doesn't risk to ever work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-04 13:01:50 +00:00
David Surovell
ca7d651d5d
fixed compilation bug in prior checkin (Pt. 2)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-04 05:00:26 +00:00
David Surovell
9238471679
fixed compilation bug in prior checkin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-04 01:04:02 +00:00
David Surovell
74ebd40690
fix for bug 1371386, with some minor mods and cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 21:17:17 +00:00
David Surovell
1aa7b427f2
minor cleanup: corrected typos, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 14:28:30 +00:00
Mart Raudsepp
da9e956384
Make wxJoystick::GetNumberJoystick a static method, as the number of
...
joysticks attached to the computer is a global property, not one of the
specific instance. Patch from Lauri Nurmi.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 12:50:13 +00:00
Vadim Zeitlin
9ad34f611f
implemented wxGetFreeMemory() under IRIX (patch 1360356); made wxMemorySize always 64 bit as it can overflow even in 32 bit builds otherwise
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 22:09:22 +00:00
Dimitri Schoolwerth
412e0d47c0
applied patch #1356901 "Yet another removal of extra semicolons", also fixed remaining similar cases of extra semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 21:55:35 +00:00
Vadim Zeitlin
84ac8772b7
return correct error message if NSLinkModule() fails; fixed flagrant buffer overflow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 21:26:34 +00:00
Włodzimierz Skiba
7ec698211d
Various source cleanings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 20:14:39 +00:00
Vadim Zeitlin
d2dfef5f3f
corrected code to really skip stack frames in the beginning and to number the remaining frames correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 20:11:29 +00:00
Mattia Barbon
dee1a63ff5
Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by it.
...
Changed default for WXWIN_COMPATIBILITY_2_4 to 0.
Added WXWIN_COMPATIBILITY_2_6 (defaults to 1).
Ran build/update-setup-h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 15:48:42 +00:00
Vadim Zeitlin
3f9ee1cd85
fixed unused parameter warnings in non-debug build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 21:24:32 +00:00
Vadim Zeitlin
68aef3dc22
added support for OSF1 (Tru64)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 16:57:07 +00:00
Vadim Zeitlin
741d91c5e4
harmless DEC cc warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 16:56:42 +00:00
Michael Wetherell
888407a108
Unicode compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 22:52:03 +00:00
Włodzimierz Skiba
7fc65a0384
wxMotif for OS/2 adjustements. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 11:14:42 +00:00
Kevin Hock
9b67181b39
When recv returns 0, the connection has been remotely closed or dropped. Changes are to Read [ modified patch 1303565 ] and Select [ patch 1283936 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-05 23:20:10 +00:00
Kevin Hock
c3b501e187
Do not allow events to fire after socket is closed (fixes crash on GTK with GDK_Input events) [Patch 1281054]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-05 15:38:44 +00:00
Włodzimierz Skiba
550343399a
Source cleaning. wxMotif/OS2 adjustements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 16:39:45 +00:00
Vadim Zeitlin
123dca7d25
don't declare pthread_mutexattr_settype() ourselves if the system already does it, we might have a slightly different declaration and this causes problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:48:06 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Stefan Neis
8a077f2872
Applied [ 1186782 ] Setting thread stack size on Unix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 16:12:18 +00:00
Vadim Zeitlin
976abb72fc
set error to GSOCK_TIMEOUT if the socket timed out (modified and extended patch 1303554)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 22:31:55 +00:00
Vadim Zeitlin
fbfb8bcc3f
added missing consts and pass objects by const reference instead of by value (patch 1205869)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Michael Wetherell
34a35823ea
Fix wxGTK crash on startup on 64-bit solaris 10
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-20 12:01:54 +00:00
Julian Smart
a36876368a
Missing end of comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-19 15:18:27 +00:00
Kevin Hock
0d34c30e55
Make sure Enable_Events is called when a connection is immediately established (such as when using domain sockets for IPC). Fixes bug 1195700
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-19 14:56:50 +00:00
Vadim Zeitlin
3f68727513
added ifconfig and ping locations for AIX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 23:00:00 +00:00
Vadim Zeitlin
0586024f65
signed/unsigned comparison warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 14:23:05 +00:00
Vadim Zeitlin
c781c31638
added wx_truncate_cast and use it (sometimes instead of wx_static_cast) to explicitely show int truncation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-17 21:03:45 +00:00
Vadim Zeitlin
17d8a88795
added ping location for IRIX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-17 21:02:41 +00:00
Vadim Zeitlin
f64cd1e6b0
avoid assigning 64 bit ints to a 16 bit one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-17 21:02:29 +00:00
Vadim Zeitlin
fc9b078cc5
X error handler should be extern C (SunCC warning fix)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-13 16:23:46 +00:00
Vadim Zeitlin
0d2c74c6ef
use WX_DEFINE_ARRAY_PTR for anarray of pointers (fixes Sun CC warning)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-13 15:58:50 +00:00
Vadim Zeitlin
defbeca1b8
use extern C around signal handler declaration (fixes Sun CC warning)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-13 15:57:02 +00:00
Julian Smart
f50de1504e
Applied patch [ 1281902 ] fix for wxJoystick under Linux
...
From John Ratliff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-09 14:50:27 +00:00
Julian Smart
60b0bd1dd1
Applied patch [ 1283943 ] Fix crash in GSocket::Select
...
From Paul Rupe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-09 14:44:15 +00:00
Vadim Zeitlin
0beb873533
include wx/defs.h (and hence wx/platform.h and so really fix the bug 1105676)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-03 23:16:50 +00:00
Stefan Neis
9e03e02d0c
Replaced SOCKLEN_T by WX_SOCKLEN_T to resolve conflict with AIX system headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-31 15:48:41 +00:00
Mart Raudsepp
3c542a4de0
Remove assert from wxNativeFontInfo::GetFamily() due to, in case of some gtk+ setup/themes, querying for an
...
nonexistent facenames family through wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT) on startup.
Document wxFont work in changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-29 21:14:18 +00:00
Mart Raudsepp
2696b11cd5
[wxGTK2] Runtime check for pango_font_family_is_monospace in wxFontEnumerator (gtk2.4 runtime check) to allow wxGTK2
...
applications compiled against gtk2.4 or newer to work with gtk2.2 or older runtime.
Removed HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE configure check in case of wxGTK2, as __WXGTK24__ is now used for that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-29 04:33:15 +00:00
Mart Raudsepp
c42f011ed6
[wxGTK2] Runtime check for pango_font_family_is_monospace in wxFont::GetFamily (gtk2.4 runtime check) to allow wxGTK2
...
applications compiled against gtk2.4 or newer to work with gtk2.2 or older runtime. wxFontEnumerator TODO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-29 01:18:07 +00:00
Mart Raudsepp
b20cb04588
[wxGTK2] Check if a family wasn't found for the description in GetFamily()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-25 12:46:57 +00:00
Vadim Zeitlin
4f66d445e1
fixed -Wundef warning for HAVE_SCHED_H
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 12:11:14 +00:00
Vadim Zeitlin
84ae7ca4f6
check for missing statfs() prototype (happens at least under AIX 4)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 23:12:37 +00:00