Alexandre Julliard
4eb350b86b
libwine: Add support for relocating MS-style imports that use OriginalFirstThunk.
2008-09-04 21:52:36 +02:00
Ken Thomases
3674c77341
libwine: Cope with Leopard brokenness w.r.t. setrlimit(RLIMIT_NOFILE).
2008-03-22 11:14:23 +01:00
Alexandre Julliard
6475603985
libwine: Work around the Mac OS dynamic loader support for PE files.
2007-11-29 15:32:49 +01:00
Andrey Turkin
fa0524a414
libwine: Emulate MS linker stub for builtin dlls.
2007-10-10 11:18:35 +02:00
Alexandre Julliard
b9304bd64c
libwine: Initialize debug channels options on first use.
2007-09-11 11:57:11 +02:00
Alexandre Julliard
44639b326b
libwine: Fix lookup of 16-bit dll placeholders. Remove some old compatibility code.
2007-07-30 14:44:05 +02:00
Alexandre Julliard
5fe7589bb4
libwine: Get rid of the lookup in the top dlls/ dir, all dlls are named correctly now.
2007-07-26 11:57:14 +02:00
Alexandre Julliard
f3960b22b1
libwine: Hack to work around the Solaris dlopen() brain damage.
2007-03-30 12:17:01 +02:00
Andrew Talbot
4125821a99
winelib: Replace inline static with static inline.
2007-03-27 12:38:06 +02:00
Joris Huizer
eefea58d7d
libwine: sign-compare fixes.
2007-01-26 12:56:07 +01:00
Andrew Talbot
5e8f9c7aff
libwine: Cast-qual warning fix.
2006-08-23 12:00:27 +02:00
Paul Millar
df10b7d580
libwine: Add a configure check for setrlimit.
2006-07-17 14:35:32 +02:00
Alexandre Julliard
96d6724eaf
libwine: Attempt to increase some user limits that are set too low on some platforms.
2006-06-27 20:14:12 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Alexandre Julliard
4db364cb77
libwine: Added magic handling of dll path when running in build dir.
...
This should ensure that we do the right thing in the build dir even if
WINEDLLPATH isn't set.
2006-03-17 13:08:08 +01:00
Alexandre Julliard
1269f43c5a
libwine: Add the runtime library path to the front of the dll paths list.
2006-02-17 17:39:44 +01:00
Alexandre Julliard
aed49d439e
libwine: New naming scheme for 16-bit builtin dlls.
...
Stop using symlinks for 16-bit dlls to make sure they don't get loaded
by mistake when looking for a 32-bit dll.
2006-02-16 13:44:38 +01:00
Alexandre Julliard
0b34fb3656
libwine: Use dladdr if supported to get the run-time path of libwine.so
...
and define the default dll and bin directories relative to it.
2006-02-11 22:38:44 +01:00
Alexandre Julliard
65424dc3a8
libwine: Added wine_dll_enum_load_path function to allow querying the dll path.
2006-02-04 17:02:05 +01:00
Alexandre Julliard
cbc38965c0
New scheme for keeping track of debug channels that doesn't require
...
maintaining a list of all loaded dlls.
2005-09-28 15:21:48 +00:00
Alexandre Julliard
80083b18f8
Store RVAs instead of pointers wherever possible in the generated NT
...
header and directories.
2005-09-17 14:39:51 +00:00
Alexandre Julliard
0799e8403b
Use the NT descriptor address as start of the data section, since the
...
BaseOfData field isn't present in Win64.
2005-09-15 15:09:12 +00:00
Alexandre Julliard
6153b1f927
Only add the default dlldir to the search path if that's where ntdll
...
is found.
2005-09-12 11:20:31 +00:00
Alexandre Julliard
87b297ebc2
Use the correct ordinal flag for Win64 support.
2005-08-29 09:49:47 +00:00
Marcus Meissner
2d7e976eed
Fixed signedness warnings.
2005-07-10 17:45:53 +00:00
Robert Lunnon
d7272dedc7
Add RTLD_FIRST flag to dlopen calls.
2005-05-10 15:13:20 +00:00
Alexandre Julliard
240d4ee9e1
Remove a few more instances of strncpy.
2005-04-25 15:51:45 +00:00
Francois Gouget
93416cdaf7
Assorted spelling fixes.
2005-03-23 13:15:18 +00:00
Mike McCormack
d45e12a966
Fill in the MZ header in builtin PE DLLs.
2004-09-03 17:28:39 +00:00
Alexandre Julliard
9af2bd4803
Yet another fix for the MacOS X environ brain damage.
2004-06-14 17:07:30 +00:00
Alexandre Julliard
910234eafb
Pass the environ variable from main to try to avoid Darwin's
...
_NSGetEnviron() ugliness.
2004-05-29 00:26:03 +00:00
Alexandre Julliard
2dff1fe1e5
Moved environ definition to port.h.
2004-05-25 18:05:39 +00:00
Emmanuel Maillard
7ee8adfd39
Added environ support for Darwin.
2004-05-25 04:50:08 +00:00
Alexandre Julliard
94d74b5fed
Added support for managing reserved memory areas in libwine and ntdll.
...
Try to reserve everything above 0x80000000 on startup.
2004-05-25 01:29:24 +00:00
Alexandre Julliard
7984ded712
Added wine_dll_get_owner function that retrieves the 32-bit dll
...
containing a given 16-bit dll by reading the symlink, so that we don't
need to dlopen it.
2004-01-02 21:08:05 +00:00
Alexandre Julliard
bb4ddfec28
Added a WINEDEBUG environment variable that allows turning on debug
...
output as early as possible during startup.
2003-12-05 00:17:41 +00:00
Alexandre Julliard
daeccba704
Moved the exec_wine_binary function to the wine library, and use it to
...
exec the wineserver too.
2003-11-11 22:21:29 +00:00
Alexandre Julliard
18b4cbf12a
Put better values for code and data sizes in the NT header of builtin
...
dlls.
2003-11-03 22:19:44 +00:00
Alexandre Julliard
a6ed49ade3
Don't reference the environ global variable from kernel32, it may fail
...
to link (reported by Gerald Pfeifer).
2003-10-10 23:33:21 +00:00
Alexandre Julliard
410e6b7b39
Changed the init code to make libwine load only ntdll and transfer
...
control to it, and then have ntdll load kernel32 using the normal
loader mechanisms.
Get rid of BUILTIN32_LoadExeModule.
2003-10-10 00:12:17 +00:00
Alexandre Julliard
5986e3a724
Added wine_get_argv0_path() to retrieve the path of the wine binary.
2003-10-08 00:36:09 +00:00
Alexandre Julliard
aaf3503ea5
Moved almost all remaining process, thread, fiber and exception
...
functions to dlls/kernel.
2003-09-17 05:31:32 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
80e34dbb66
Moved the implementation of the pthread wrappers to dlls/kernel.
2003-09-03 00:26:08 +00:00
Alexandre Julliard
ca3bfd8318
Export SYSDEPS_SwitchToThreadStack() functionality from libwine as
...
wine_switch_to_stack().
2003-08-29 22:23:42 +00:00
Todd Vierling
8d5e732186
Use MAP_TRYFIXED on NetBSD if available.
2003-08-27 23:11:05 +00:00
Alexandre Julliard
8ca7e0af78
Added a file_exists argument to wine_dll_load to allow checking
...
whether a failed dll load is because the file didn't exist; more
robust than trying to guess the contents of the error string...
Get rid of BUILTIN32_dlopen.
2003-07-03 18:23:10 +00:00
Alexandre Julliard
fedc411743
Moved the functionality of starting Win16 and DOS programs from the
...
common process startup into a separate winevdm application.
2003-04-27 00:47:58 +00:00
Yorick Hardy
d56f063cb3
stdint.h should be included for compiling on NetBSD.
2003-03-28 00:30:09 +00:00
Alexandre Julliard
2d1c79066e
Moved libwine to libs/ directory.
...
Some makefile fixes and cleanups.
2003-03-22 20:40:48 +00:00