Alexandre Julliard
9dffd134dd
libwine: Try the current load path in priority before the
...
WINELOADER/WINESERVER environment variables in wine_exec_wine_binary.
2006-02-16 20:26:55 +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
Christian Costa
a52a4daa9b
Remove no longer used wine_dbg_parse_options and wine_dbg_add_options
...
prototypes.
2005-10-30 19:05:27 +00:00
Alexandre Julliard
75c27e17b6
Defined a proper structure for debug channels.
...
Also put all the function pointers inside a structure and added
__wine_dbg_set_functions to change them instead of exporting the
pointers directly.
2005-09-23 10:52:07 +00:00
Alexandre Julliard
7e4c88c6d9
Avoid some warnings on 64-bit platforms.
2005-09-13 11:07:14 +00:00
Alexandre Julliard
ce20722109
Moved the spec file init function and constructor to winecrt0.
2005-09-02 14:43:03 +00:00
Alexandre Julliard
240d4ee9e1
Remove a few more instances of strncpy.
2005-04-25 15:51:45 +00:00
Rémi Assailly
88d049d102
Added missing declarations in some headers.
2005-01-11 10:46:58 +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
b1abca8a5d
Initial version of the Wine preloader, used to reserve memory
...
areas at startup. Based on the work of Mike McCormack.
2004-05-28 20:59:22 +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
c6d44be3e5
Create a huge array in bss to reserve the memory area we need for PE
...
binaries, to prevent exec shield from mapping system libraries there.
2003-11-22 00:08:26 +00:00
Alexandre Julliard
8fb98a41e0
Added wine_ldt_is_system() to replace the IS_SELECTOR_SYSTEM macro,
...
and stop exporting the WINE_LDT_FIRST_ENTRY constant.
2003-11-17 20:12:56 +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
f0831227d0
Increase WINE_LDT_FIRST_ENTRY to leave room for glibc thread
...
selectors.
2003-10-28 21:48:41 +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
5986e3a724
Added wine_get_argv0_path() to retrieve the path of the wine binary.
2003-10-08 00:36:09 +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
ca3bfd8318
Export SYSDEPS_SwitchToThreadStack() functionality from libwine as
...
wine_switch_to_stack().
2003-08-29 22:23:42 +00:00
Dimitrie O. Paun
53f9c21fb7
Use angle brackets (<>) rather than quotes ("") for the include
...
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +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
ce13153821
Moved LDT selector allocation routines to libwine.
...
Added support for correct locking of all LDT operations.
Added separate functions to manipulate the %fs selector, which allows
using a global GDT selector on recent Linux kernels.
2003-02-26 20:34:45 +00:00
Jeroen Janssen
95209b3937
Fixed wine_ldt_copy importing on cygwin.
2003-01-15 00:44:00 +00:00
Alexandre Julliard
78ff6763ed
Added wine_dbg_sprintf function that allocates a temporary buffer in
...
the per-thread strings area.
Added inline functions to format POINT, SIZE and RECT structures.
2003-01-03 03:12:58 +00:00
Alexandre Julliard
dba83c8bfc
Added wine_get_user_name function and got rid of some of the getpwuid
...
portability stuff.
More portable printf formats for 64-bit types.
2002-08-27 18:30:53 +00:00
Alexandre Julliard
4144b5b8fc
Create the server directory and socket file in /tmp.
...
Use fcntl file locking to ensure exclusion on the server socket and to
better recover from crashes.
Flush the registry before closing the socket to avoid timeouts on the
client side.
Moved get_config_dir functionality to libwine.
2002-06-20 23:21:27 +00:00
Alexandre Julliard
a061b84ee1
Moved specification of relay and snoop include/exclude functions to
...
the config file.
Changed spy config a bit to follow the same scheme.
Moved debug option parsing routine into libwine.
2002-06-04 17:48:41 +00:00
Alexandre Julliard
3536316a31
New loading scheme for Winelib apps, makes them behave like builtin
...
dlls and takes load order into account. Install them in dlldir.
Improved MODULE_GetBinaryType to recognize ELF binaries.
Added a wrapper script to setup the environment when running directly
from inside the source tree.
2002-05-22 21:32:49 +00:00
Alexandre Julliard
35389149de
Export the debug API as functions instead of pointers.
...
A few other import fixes for Mingw.
2002-05-19 22:29:01 +00:00
Alexandre Julliard
702b158e70
Export global argc/argv variables from libwine and remove the
...
__wine_get_main_args functions from ntdll.
2002-05-16 23:16:01 +00:00
Alexandre Julliard
59008670be
Moved the selector access functions out of winnt.h into libwine.
2002-05-16 20:32:16 +00:00
Alexandre Julliard
5769d1de00
Better support for configure detection of missing types, added check
...
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Josh DuBois
169adf5c64
More verbose error messages when application load fails.
2001-02-13 20:23:45 +00:00
Alexandre Julliard
598412ed6a
Cleaned up the various errno location tests in configure.
...
Added (h_)errno_location pointers in the library that allow remapping
the calls in higher level dlls.
Moved X11DRV_CritSection out of sysdeps.c and into x11drv.dll.
2001-01-17 20:22:22 +00:00
James Abbatiello
e675887129
Work around glibc 2.1.x dlopen bug (again).
2000-12-13 21:32:55 +00:00
Alexandre Julliard
914406f854
Moved LDT handling to libwine.so. Changed the interface to use the
...
exported LDT_ENTRY structure.
2000-11-14 01:54:49 +00:00
Alexandre Julliard
591832ec2e
Added support for loading a Winelib app linked as a .so from the wine
...
launcher, based on the value of argv[0].
2000-11-10 01:38:28 +00:00
Alexandre Julliard
db4c45671f
Do builtin modules fixups in library/loader.c before calling the
...
load_dll callback.
2000-11-08 23:02:48 +00:00
Alexandre Julliard
85423c6a6b
Added new library.h header for libwine definitions.
...
Added getpagesize() and wine_anon_mmap() portability functions.
2000-11-08 04:28:54 +00:00