Mattia Barbon
99f7280659
Patch [ 588837 ] Fixes comment style in gsocket.*
...
C files should countain C-style commensts, not C++.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 20:44:31 +00:00
Ron Lee
007c77ab4d
The world should not end if a server has no peer. Let's return FALSE instead.
...
GAddress_copy should copy truthfully, not mangle the result if things are
going badly. An earlier incarnation of the above.
Disable events before closing the socket, though just disabling them at all
will do. This was the cause of the nasty 'crash on fail to bind' behaviour
that people have been seeing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 04:13:25 +00:00
Jouk Jansen
ef0ed19e9d
Committing in .
...
Updated OpenVMS compile support:
setip.h_vms : added definition of wxExplicit
descrip.mms : added msgout.cpp
utilsunx.cpp : supressed unreacheable code warning in one routine by
OpenVMS only #pragma's.
Modified Files:
wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
wxWindows/src/unix/utilsunx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 13:18:52 +00:00
Gilles Depeyrot
79656e30d2
added missing return to avoid 'control reaches end of non-void function'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-18 12:59:56 +00:00
Vadim Zeitlin
0c9c440190
don't close end process pipe descriptor too early (fixes bug introduced by the last check in)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 19:30:43 +00:00
Vadim Zeitlin
80d6dc0a95
use wxFileInput/OutputStreams instead of reproducing their functionality in wxProcessFileInput/OutputStream
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:16:20 +00:00
Vadim Zeitlin
b477f956e0
0. wxExecute() with IO redirection now works again (but the real fix is
...
in wxInputStream::Ungetch(), not here)
1. replaced multitude of pipe() calls &c with wxPipe class
2. fixed nasty bug in wxStreamTempBuffer::Update() which corrupted the data
3. increased buffer size to 4Kb from 1Kb
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 14:44:11 +00:00
Vadim Zeitlin
125cb99b36
compilation fix for 64 bit statvfs under Solaris
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 22:26:21 +00:00
Julian Smart
7bfe6a32e0
Applied patch from Mark Armstrong <marka@availsolutions.com>
...
Allows you to set a thread priority under Linux.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 09:04:17 +00:00
Vadim Zeitlin
c1cb41536a
added wxGetProcessId()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 20:26:24 +00:00
Vadim Zeitlin
678ebfcdae
attempts to fix wxMimeTypesManager mess: many bugs (entries priority, memory leaks, ...) fixed, but probably even more left
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-10 15:59:34 +00:00
Vadim Zeitlin
9e84b84742
wxMutex changes (explicitly specify the type), return values for all wxMutex/wxSemaphore/wxCondition methods and general cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 18:31:59 +00:00
Gilles Depeyrot
d84afea9d1
corrected warnings when compiling with -Wall -W
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 21:58:27 +00:00
Vadim Zeitlin
f6ba47d997
added wxShutdown (patch 547443)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 14:18:36 +00:00
Gilles Depeyrot
27af32803a
corrected conditional compilation for Darwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 20:24:06 +00:00
Vadim Zeitlin
f4d7250ef1
fixed a few minor bugs: handle the directory parameter to Create() correctly, better error checking
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 19:45:20 +00:00
Vadim Zeitlin
70914290a1
fixed bug with not NUL-terminating the string in GAddress_UNIX_SetPath
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 14:18:51 +00:00
Václav Slavík
142b3bc26a
added wxFontMapper::Get/Set
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 15:04:27 +00:00
Jouk Jansen
2e99f81532
Committing in .
...
Complile issues for OpenVMS
+
obvious typo in wxWindows/src/motif/dcclient.cpp
Modified Files:
wxWindows/src/common/descrip.mms
wxWindows/src/motif/dcclient.cpp
wxWindows/src/unix/utilsunx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 07:08:48 +00:00
Vadim Zeitlin
15b663b4c3
fixed error checking in wxKill
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 14:32:53 +00:00
Vadim Zeitlin
c112e10026
changed wxCondition API to take a reference, not pointer, to wxMutex
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 15:37:57 +00:00
Vadim Zeitlin
cd10339a23
compilation fixes for the recent commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 13:22:56 +00:00
Vadim Zeitlin
be80986891
added wxSemaphore (with docs), new version of wxCondition and bug fixes to wxThread (patch 538242 by K.S. Sreeram)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 13:15:16 +00:00
Vadim Zeitlin
0fc5dbf52a
compilation warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 09:59:22 +00:00
Julian Smart
8601b2e15b
Modifications to get wxNanoX compiling again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 14:09:44 +00:00
Mattia Barbon
7efaed4de4
Fixed problems with wxFrame::SetIcons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 20:51:55 +00:00
Vadim Zeitlin
e1082c9fa8
added wxEXEC_MAKE_GROUP_LEADER (patch 535422)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 18:36:37 +00:00
Jouk Jansen
130d96dcf6
Committing in .
...
OpenVMS complie support
Modified Files:
wxWindows/src/common/descrip.mms
wxWindows/src/unix/descrip.mms wxWindows/src/unix/utilsx11.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 14:46:33 +00:00
Mattia Barbon
f618020a15
wxIconBundle implementation.
...
wxTLW::SetIcons() properly implemented for wxMotif, wxGTK, wxMSW, wxX11, wxUniversal
Placeholders that just call SetIcon for wxOS2 and wxMac.
Regenerated makefiles.
Added hardwired wxSYS_ICON_X/Y = 32 for wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:54:23 +00:00
Vadim Zeitlin
fbf456aa89
added wxEXEC_NOHIDE flag, modified wxExecute() to take a combination of bit flags instead of a boolean parameter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-23 01:22:17 +00:00
Jouk Jansen
de5fadb415
Committing in .
...
First try to compile wxUNIV (gtk-themes) on OpenVMS.
Modified Files:
wxWindows/descrip.mms wxWindows/src/common/descrip.mms
wxWindows/src/generic/descrip.mms
wxWindows/src/gtk/descrip.mms wxWindows/src/html/descrip.mms
wxWindows/src/unix/descrip.mms
Added Files:
wxWindows/lib/vms_gtk_univ.opt wxWindows/src/univ/descrip.mms
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 09:02:01 +00:00
Vadim Zeitlin
73b0423d0f
fix for what the patch 529900 was trying to fix (loading fonts with size -1)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-14 21:38:33 +00:00
Julian Smart
15d5a9470b
Compiles for Nano-X again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-14 11:43:38 +00:00
Julian Smart
0a68bc6908
Corrected points to pixels calculation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 15:57:26 +00:00
Julian Smart
c2ff68d3fd
Got dialog sizing to work, downsized fonts a bit (though it always returns
...
the same standard font right now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 21:58:07 +00:00
Julian Smart
16d865f756
Attempt at creating appropriate fonts in Nano-X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 13:16:41 +00:00
Julian Smart
461e93f921
wxUSE_CONSTRAINTS now refers to constraints only, since sizers
...
are now crucial to wxWindows. Further Nano-X fixes; now
compiles and links in Nano-X mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 17:36:48 +00:00
Vadim Zeitlin
73deed44e6
1. made wxDebugMsg, wxError and wxFatalError deprecated (still available
...
with WXWIN_COMPATIBILITY_2_2)
2. moved wxInternalErrorStr and wxFatalErrorStr to a common file
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: include/wx/app.h include/wx/chkconf.h include/wx/utils.h
CVS: src/common/appcmn.cpp src/common/fontmap.cpp
CVS: src/common/utilscmn.cpp src/gtk/data.cpp src/mac/data.cpp
CVS: src/mac/utils.cpp src/msw/data.cpp src/msw/utils.cpp
CVS: src/os2/DATA.CPP src/os2/UTILS.CPP src/unix/utilsunx.cpp
CVS: ----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 18:18:36 +00:00
Vadim Zeitlin
fbfb3fb3c7
AIX compilation fixes from Paul Thiessen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 15:11:06 +00:00
Julian Smart
d353bd452e
Put ~/.mailcap to head of search list so local settings override
...
global ones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 16:11:09 +00:00
Jouk Jansen
df744f4d6d
Committing in .
...
Various patches to get the current CVS compile on OpenVMS
Modified Files:
wxWindows/setup.h_vms wxWindows/src/generic/descrip.mms
wxWindows/src/gtk/app.cpp wxWindows/src/unix/threadpsx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 14:41:48 +00:00
Vadim Zeitlin
60ce696e26
made wxCondition::Signal() queue the signals generated while there were no waiters and documented this behaviour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 15:43:37 +00:00
Vadim Zeitlin
8d5eff606a
attempts to make wxCondition::Broadcast() and Signal() work simultaneously - currently they do but something else doesn't
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 19:11:54 +00:00
Vadim Zeitlin
a2717c3d0c
ignore the icon option in Netscape mime.type file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 16:38:30 +00:00
Vadim Zeitlin
547b93ab04
attempts to make wxCondition::Broadcast() work - it still doesn't
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 22:49:13 +00:00
Václav Slavík
b79e32cce7
wxUSE_MIMETYPE in src/unix/mimetype.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:02:14 +00:00
Gilles Depeyrot
6e73695c59
use wxMac provided wxGetOsDescription with Apple DevTools
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 18:22:48 +00:00
Gilles Depeyrot
3fe34ed0ab
changed 'extern inline' to extern only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 15:10:30 +00:00
Vadim Zeitlin
409d5a5860
better native font support for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 20:01:49 +00:00
Jouk Jansen
a7aef4a92a
Committing in .
...
update OpenVMS compile support
Modified Files:
wxWindows/setup.h_vms wxWindows/include/wx/thread.h
wxWindows/src/common/descrip.mms
wxWindows/src/common/iffdecod.cpp
wxWindows/src/unix/threadpsx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 15:07:55 +00:00