Commit Graph

1188 Commits

Author SHA1 Message Date
David Elliott
e219748f2c Removed unneeded GSocket files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 20:05:17 +00:00
David Elliott
d2d9c80325 Accidently left in an extra {} and also had wrong license name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 19:22:09 +00:00
David Elliott
ba2a81d747 Revert original UNIX C->C++ conversion and instead make it work exactly
like the new MSW C++ GSocket.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 19:18:39 +00:00
David Elliott
b082b52407 Incorporated src/unix/gsocket.c 1.86 to 1.92 changes (except 1.90 to 1.91
which was applied by Vadim as 1.9 to 1.10 of src/unix/gsocket.cpp)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 02:15:32 +00:00
Vadim Zeitlin
17d3ce7eff removed GSocket_[Un]Streamed(), GSocket_SetNonOriented() must be used instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 21:35:32 +00:00
Vadim Zeitlin
f7aa747716 removed _GSocket::m_oriented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 21:33:54 +00:00
Vadim Zeitlin
bb0926cc00 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:26:13 +00:00
Vadim Zeitlin
74c481d117 replaced my recent GSocket_SetReuseAddr() addition with GSocket_SetReusable() from the patch 992473; it also adds and documents wxSOCKET_REUSEADDR flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:06:01 +00:00
Vadim Zeitlin
7df69621d9 don't set SO_REUSEADDR by default; added GSocket_SetReuseAddr()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:40:10 +00:00
Vadim Zeitlin
bfa7bf7d6b basic UDP support (patch 835128)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:16:31 +00:00
Vadim Zeitlin
a90bf70914 tided up the code a little (replaces part of patch 966312)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:00:14 +00:00
David Elliott
9d71596027 Incorporated gsocket.c 1.80 to 1.86 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-24 04:00:17 +00:00
Vadim Zeitlin
f8b2997476 pretend that we support all encodings instead of not supporting any of them under GTK2 (this at least prevents wxFontMapper from aborting the program with 'can't create any font' message)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 21:54:54 +00:00
Vadim Zeitlin
826800550b compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 17:07:44 +00:00
Vadim Zeitlin
23afe648ce implemented wxNativeFontInfo::operator=() when wxUSE_PANGO, this fixes crashes when wxFont::SetNativeFontInfo() is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 17:00:13 +00:00
Václav Slavík
7648370f54 don't use deprecated function wxUslepp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 17:27:25 +00:00
Vadim Zeitlin
cf25117b67 fixed warning about deprecated wxUsleep
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-08 19:02:01 +00:00
Dimitri Schoolwerth
1012c2ceb6 fixed typo (no code changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-05 12:46:20 +00:00
Václav Slavík
39ef7151f5 don't use deprecated wxUsleep
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 10:06:23 +00:00
Václav Slavík
fdf7514a00 fixed memory leak in wxNativeFontInfo when using Pango
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-02 20:54:12 +00:00
Vadim Zeitlin
66cd9d7f55 added wxMilli/MicroSleep(), deprecated wxUsleep()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 22:54:48 +00:00
Václav Slavík
304205f142 use pango_font_family_is_monospace() to enumerate fixed-width fonts if available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-06 15:32:07 +00:00
Mattia Barbon
78c67f19b3 wxMotif compilation fix and unused variable warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 20:46:05 +00:00
Václav Slavík
85f6b408df split wxRegion(wxBitmap) ctor into two ctors with clearer semantics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 21:13:52 +00:00
Václav Slavík
67479dbd13 fixed wxSetEnv to correctly set variable in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 19:39:57 +00:00
Václav Slavík
971562cb51 use current mouse position as default position in wxWindow::PopupMenu (works better in wxGTK and is what you need in majority of cases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:05:30 +00:00
Robin Dunn
fe3d568d3d Don't force a smaller icon size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 19:39:11 +00:00
Robin Dunn
eb03e0e714 Handle the (probably rare) case where the icon has no mask.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:42:57 +00:00
Václav Slavík
9c4fc03fa3 calling a variable 'stat' was exceptionally stupid idea...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 12:55:51 +00:00
Václav Slavík
33d4eef0b9 implemented freedesktop.org spec support for GTK version of wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:17:09 +00:00
Václav Slavík
3c5487b144 security fix to wxSingleInstanceChecker: check if the lock file was really created by us
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:07:49 +00:00
Václav Slavík
ac258944bc use shaped window for taskbar icon, so that background shows correctly behind icons with mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 17:01:57 +00:00
Julian Smart
b3a1545d5f Added missing cast for Display*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 10:23:28 +00:00
Julian Smart
6655c15632 Fixes for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 10:20:51 +00:00
Julian Smart
06c093e8b0 Fixed compilo for GTK+1 (GDK_DISPLAY undeclared)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 08:07:21 +00:00
Julian Smart
655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Robin Dunn
97698dc4fe Implemented wxGetKeyState for wxGTK (and wxX11 too, but I havn't
tested it there.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 23:37:20 +00:00
Włodzimierz Skiba
97cb61af98 Part of patch #957440: Solaris fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 18:47:23 +00:00
Robin Dunn
5b65f1364d If the threads module hasn't been initialized yet then we can assume
the IsMain == true.  This allows wxASSERTs that happen before the
wxApp is created (as can easily happen in wxPython unfortunatly) to
behave normally instead of just calling wxTrap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 19:59:18 +00:00
Robin Dunn
a800dc50d4 Fixes so joystick not only compiles on Linux, but it actually works too!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 02:52:05 +00:00
Vadim Zeitlin
35ef537b2f warning fix for BSD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 07:02:01 +00:00
Václav Slavík
320c341a10 don't use wxFileConfig to parse kdeglobals, it's not meant for such use. Fixes bug 939195
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 13:33:31 +00:00
Robert Roebling
4056c8fe0c Applied the two patches from Kevin for gsocket
and wxGetTUCTime.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 18:54:39 +00:00
Stefan Csomor
f925e7b4f3 byte ordering changed to network ordering
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 16:30:50 +00:00
Stefan Csomor
121e1ac8b2 metrowerks uname support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 16:28:31 +00:00
Vadim Zeitlin
f6a9c02577 fixed WaitOnConnect() in non GUI mode (patch 905185)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:56:26 +00:00
Vadim Zeitlin
a9a76b2fb8 fixed priority of the mailcap entries (patch 935954)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:07:47 +00:00
Robin Dunn
71a0c62f2f If the icon is smaller than the allotted space then center it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:59:30 +00:00
Vadim Zeitlin
15ad38c34f added support for koi8-u
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 23:43:49 +00:00