David Elliott
96b35b2505
Rework the dl* Darwin compatibility code so it uses the real functions when
...
available. If compiled to allow for pre-10.3 systems it will do the check
at runtime and the compatibility functions will be compiled but likely
not used. If compiled with 10.3 or higher as the minimum version, the
compatibility functions will not be compiled and the library will work
identically as it does on all other UNIX.
Even if the compatibility code is compiled in, the function names are now
prefixed with wx_darwin_ and are marked static so they don't make it into
the exported symbols, even in their C++-mangled form.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 23:44:46 +00:00
Václav Slavík
00711afdd6
return wxString from wxDynamicLibrary::GetDllExt()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 19:29:07 +00:00
Václav Slavík
c9f7896861
first phase of transition to unified Unicode build:
...
1. changed c_str() to return wxCStrData (implicitly convertible to wxChar*)
2. added template type-safe wrappers for vararg functions
3. added wxUniChar class representing single Unicode character
4. changed wxString::operator[] and wxString::iterator to return wxUniChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 10:26:10 +00:00
Vadim Zeitlin
ad41e20907
ListLoaded() fixes for 64 bit archs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 22:32:08 +00:00
Vadim Zeitlin
53bd3a54cb
device numbers in /proc/pid/maps are in hexadecimal, not decimal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 22:17:40 +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
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 Csomor
18441bb1d8
CW fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-19 12:39:36 +00:00
Vadim Zeitlin
cf72919c84
ensure that either RTLD_LAZY or RTLD_NOW is always used as calling dlopen() with flags == 0 fails withrecent glibc versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 20:43:58 +00:00
Mattia Barbon
80f7ea17cb
Avoid uninitialized variable warnings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 16:13:55 +00:00
Stefan Csomor
5b74902d6d
type fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 16:26:13 +00:00
Vadim Zeitlin
bcd1ec333a
fixed typo in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 15:01:32 +00:00
Vadim Zeitlin
bc5f4d9899
(blind) compilation fixes for OS X 10.2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 21:19:52 +00:00
Vadim Zeitlin
5e4f63c810
Unicode compilation fix (patch 1104406)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 13:00:57 +00:00
David Elliott
d8e342b79e
Make this compile on Darwin. Vadim, could you please check this is correct?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 02:45:32 +00:00
Vadim Zeitlin
ac6b7b3c91
compilation fixes for !USE_PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 01:14:21 +00:00
Vadim Zeitlin
297ebe6b97
implemented wxDynamicLibrary::ListLoaded() for Linux; added test for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 23:32:37 +00:00
Vadim Zeitlin
da55d0644f
extracted Unix code in a separate new file (src/unix/dlunix.cpp), it remains only to refactor Mac/OS2 versions to finally fix the mess in common/dnylib.cpp...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 22:21:44 +00:00