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
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
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
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
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
05df0f1bc7
trying to speed up wxExecute(SYNC) -- by adding sleep to it (!) (patch 814478)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 15:37:47 +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
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
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
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
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
46446cc2aa
compilation fix for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 01:31:22 +00:00
Vadim Zeitlin
e2478fde62
wxBase/GUI separation: 1st step, wxMSW should build, all the rest is broken
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 00:56:19 +00:00
Stefan Csomor
8d4f85ce8d
two fixes for CW/Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 07:30:50 +00:00
David Elliott
edd2522079
Changed defined(__DARWIN__) to (defined(__DARWIN__) && defined(__WXMAC__))
...
wxGTK running on Darwin certainly can not use the CF process callback
and I don't plan for wxCocoa to use it either.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 17:16:59 +00:00
David Elliott
c8023fed76
- Added wxAddProcessCallbackForPid function
...
- Don't create pipeEndProcDetect on Darwin
- Initialize the wxEndProcessData before installing the callback
- Implement wxAddProcessCallbackForPid for Darwin, the code started life
as an example from ADC and certainly has its fair share of race
conditions, but with a few hacks it seems to be working okay.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 17:46:14 +00:00
Vadim Zeitlin
d264d7091c
show error message if exec() failed: not pretty but better than nothing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 18:20:38 +00:00
Vadim Zeitlin
647b8e379e
wxExecute may only be called from the main thread
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 12:18:07 +00:00
Vadim Zeitlin
85da04e95b
use WX_STATVFS_T instead of trying to guess statvfs() argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 21:55:24 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Robert Roebling
3be6aea994
Enable execute code for Unicode. This also makes
...
printing to the printer work in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 15:00:49 +00:00
Jouk Jansen
b2ddee86fe
Committing in .
...
Updates for OpenVMS
in utilsunx.cpp : OpenVMS does not have fork. So I use vfork there although
the source warns me that it may be broken on some systems.
Modified Files:
wxWindows/setup.h_vms wxWindows/src/unix/utilsunx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 06:10:53 +00:00
Vadim Zeitlin
ef5f8ab626
don't use vfork() in wxExecute()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:38:12 +00:00
Stefan Neis
e8e776aac3
Like VMS, EMX (OS/2) doesn't support setsid.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:07:28 +00:00
Vadim Zeitlin
6f3d3c68fd
polling child process IO seems to work now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 19:49:34 +00:00
Vadim Zeitlin
7906613173
fixes for wxExecute() with IO redirection: wxStreamTempInputBuffer is now used under MSW as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:32:40 +00:00
Robert Roebling
401eb3dec2
Lots of Unix/Unicode compile fixes, some of which
...
are just #ifdef 0 such as the wxExecute calls
in gdcps.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:04:08 +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
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
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
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
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
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
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
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
Vadim Zeitlin
903506828b
fixes for the compilation warnings with Sun CC:
...
1. some fixes for "String literal to char * conversion" warnings (many
more left in the *.xpm files)
2. fixes for "assignment of function to extern "C" function"
3. a few other miscellaneous ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 12:49:12 +00:00
Vadim Zeitlin
d90b2df89d
compilation fix for HAVE_SETENV
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 14:14:32 +00:00
Gilles Depeyrot
e7e1b01eb5
path/file corrections for Darwin/Mac OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 22:26:59 +00:00
Vadim Zeitlin
9952adac06
use statvfs() if statfs() is not available (Solaris)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 19:03:52 +00:00
Vadim Zeitlin
8f17876f2b
fix for BSD compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 17:31:04 +00:00