Vadim Zeitlin
05718a98f9
avoid needless Unicode<->MB conversions in Unix wxExecute(); simplify the code; provide both versions taking char** and wchar_t** for compatibility; also use wxMacExecute() (renamed to wxMacLaunch() to avoid confusion) from all wxExecute() overloads but don't use it if wxEXEC_SYNC was requested as it doesn't support it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 02:27:23 +00:00
Vadim Zeitlin
b827d64707
refactored common code from XXX_EndProcessDetect in wxGTK[12] and wxMac/wxCocoa into wxHandleProcessTermination itself; also removed code dealing with negative pids as we don't use them any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 14:50:44 +00:00
Vadim Zeitlin
1d043598b7
replace wxAddProcessCallback() with wxAppTraits::AddProcessCallback() to fix linking problems in Unix ports; also reduce code duplication between GUI and base versions making src/unix/baseunix.cpp unnecessary any longer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 00:07:13 +00:00
Stefan Csomor
eb0751b147
applying 1890924
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 14:21:34 +00:00
Vadim Zeitlin
2804f77d88
more socket cleanup to allow using wxSocket from both wxBase and wxCore (replaces patch 1756260)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-19 16:45:08 +00:00
Stefan Csomor
d39a744d76
fixing unicode compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-09 08:32:58 +00:00
Stefan Csomor
504f8052fd
unifying CFTypes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 17:41:07 +00:00
Stefan Csomor
18d52fedab
adding assign
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 09:39:31 +00:00
Stefan Csomor
f50c925e80
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 16:08:12 +00:00
Stefan Csomor
0aa6452b9d
switch to cf implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 16:07:43 +00:00
David Elliott
afc605b2be
Document the cfstring.h/cfstring.cpp as being used by all Darwin ports (it's
...
now part of the common base library).
Use the CFLocale-based code on all Darwin systems instead of testing
__WXOSX__ in base-library code which is NEVER appropriate.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 19:23:29 +00:00
Vadim Zeitlin
2b147f2e19
allow to optionally use vendor name component in standard paths (slightly modified patch 1831308)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 14:59:13 +00:00
Stefan Csomor
d447f7531d
cleanup mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 21:01:30 +00:00
Stefan Csomor
8b71ebada4
forward port from 2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 20:57:38 +00:00
Vadim Zeitlin
899544330f
fix a few hundreds of harmless unused parameters warnings and a couple of real bugs discovered thanks to them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:29:16 +00:00
Vadim Zeitlin
0a81a01a46
fix unused parameters warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 22:07:26 +00:00
Stefan Csomor
cdfc78b892
fixing compile problem, but is it the best way to fix it ?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 14:14:05 +00:00
David Elliott
2263f62d9b
Add missing wxT().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 04:42:23 +00:00
David Elliott
5a9d14c1b5
Fix crasher caused by wxProcessTerminationEventHandler::OnTerminate killing
...
itself inside the context of wxEvtHandler::ProcessPendingEvents which
still needs itself to be valid because it accesses it's m_eventsLocker.
NOTE: This code is no longer used on trunk and hopefully soon won't be
used in 2.8 either, but at least it doesn't crash now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 09:31:21 +00:00
David Elliott
dd6c8be6e9
Apply modified patch 1785299 to trunk and 2.8.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 21:52:02 +00:00
David Elliott
a3261ffb75
Fix wxExecute process end detect behavior for wxCocoa and wxMac. I have no
...
idea why the current code used for Intel Macs doesn't work but it's not
working for me at all. This should probably be backported to 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-14 08:51:45 +00:00
David Elliott
ec0114abef
Add factory functions for use with future unit tests.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 18:09:11 +00:00
David Elliott
e4dd1e19a2
Move wxMBConv_cf out of strconv.cpp and into strconv_cf.(cpp|h) by forking the files (svn copy) and removing the appropriate portions from each fork.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 02:56:40 +00:00
Václav Slavík
531814a7fb
added missing #if wxUSE_STDPATHS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 19:58:56 +00:00
Václav Slavík
e0b3b9d044
take wxString, not wxChar* in wxStandardPaths::GetLocalizedResourcesDir
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 19:10:36 +00:00
Stefan Csomor
653a54d049
adding reference to technote
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 04:53:23 +00:00
Stefan Csomor
eff41cb91e
if it's a separate thread, it's allowed to hang (perf issue reported by BOINC)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 04:52:26 +00:00
Stefan Csomor
3dccf96eab
cleaning up problems after string changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:33:10 +00:00
Stefan Csomor
4afa6df339
needs threads...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 12:35:29 +00:00
Vadim Zeitlin
ac371a8793
wxStandardPathsCF::GetExecutablePath() implementation doesn't use CF API but Carbon one and so doesn't compile in wxCocoa, don't use it there
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 22:37:33 +00:00
Vadim Zeitlin
90412a12f4
gcc warning fix: don't use NULL where integer is required
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:18:52 +00:00
Robert Roebling
ac7ad70d4c
[ 1590221 ] wxStandardPaths::GetExecutablePath
...
Required for optimised stackwalker patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 12:58:10 +00:00
Paul Cornett
4fa167e669
allow building with wxUSE_THREADS==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 04:42:09 +00:00
Robin Dunn
61ecd22547
some GTK1 bulkd fixes from Sander Niemeijer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:47:15 +00:00
Vadim Zeitlin
d3c7fc996a
mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:47:48 +00:00
Włodzimierz Skiba
02761f6cd4
Include wx/module.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 19:31:43 +00:00
Vadim Zeitlin
f523d7ce03
Intel compilation fix (patch 1540790)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-15 18:02:35 +00:00
Vadim Zeitlin
a8d69700fc
add default value for the encoding parameter of wxMacCFStringHolder() instead of passing wxLocale::GetSystemEncoding() which doesn't work when wxUSE_INTL == 0 to it in many places (replaces 2nd part of patch 1501724)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:01:39 +00:00
Vadim Zeitlin
9e34f56be8
wxUSE_GUI == 0 compilation fix (patch 1501724)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 17:13:38 +00:00
Stefan Csomor
747592e7cb
making cocoa build again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 13:10:46 +00:00
Stefan Csomor
dfd468aafd
moving UniChar code to one place
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 17:23:37 +00:00
Włodzimierz Skiba
48a1108eb8
Include wx/font.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 19:51:14 +00:00
Stefan Csomor
3a2a17cd5d
functions may return a CFStringRef that is null, so we make this conversion always return an empty string (crashes otherwise)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 06:32:45 +00:00
Julian Smart
110ffa1637
Alternative implementation for process termination detection on Intel, since task_for_pid
...
doesn't work on Intel Macs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 13:07:17 +00:00
Włodzimierz Skiba
cdccdfabb2
Include wx/window.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 07:57:04 +00:00
Włodzimierz Skiba
de6185e212
Include wx/utils.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-02 10:39:23 +00:00
Włodzimierz Skiba
d5da0ce7cb
Include wx/event.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 12:47:14 +00:00
Włodzimierz Skiba
e4db172a3b
Include wx/log.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 08:21:31 +00:00
Włodzimierz Skiba
df91131cb0
Include wx/string.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 08:46:59 +00:00
Stefan Csomor
f309770945
mb2wc fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 14:37:08 +00:00