Commit Graph

105 Commits

Author SHA1 Message Date
Patrik Stridvall 9aab47ed24 MSVC compatibility fixes. 2002-08-28 23:42:34 +00:00
Alexandre Julliard a5dea216cc Implemented the RtlImage* functions, and use them to replace the
PE_HEADER macro.
2002-08-09 19:57:38 +00:00
Alexandre Julliard 7f6ecdc2ef Return ERROR_BAD_EXE_FORMAT when builtin dll still not found, since we
most likely loaded a 16-bit builtin.
2002-07-05 01:26:41 +00:00
Alexandre Julliard 9c6ba05436 Make builtins pretend to be loaded from the system directory. 2002-06-13 21:54:56 +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
Andreas Mohr f16b401e28 Various cosmetic changes. 2002-02-27 21:34:54 +00:00
François Gouget 85a663f3ae Recognize the FreeBSD dlopen equivalent of "cannot open". 2001-11-09 19:17:35 +00:00
Francois Gouget 2905e0fb36 Recognize the Solaris dlopen equivalent of "cannot open". 2001-10-14 16:06:54 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Alexandre Julliard 37e9503ae8 Moved server.h to include/wine. 2001-07-19 00:39:09 +00:00
Alexandre Julliard 8081e5a1e5 Added handle_t type to server interface so that we can make handles
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
Andreas Mohr 4022ae07da Print all problems as ERR() except for "could not open" library, which
is WARN().
2000-12-22 01:55:50 +00:00
James Abbatiello e675887129 Work around glibc 2.1.x dlopen bug (again). 2000-12-13 21:32:55 +00:00
Alexandre Julliard db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard 751625e089 Got rid of main.h. 2000-12-12 00:50:19 +00:00
Alexandre Julliard 886604c715 Always pass lower-case filenames to wine_dll_load().
Clear dlerror() before and after calls to dlopen/dlsym to work around
a glibc bug (thanks to James Abbatiello for tracking the bug).
2000-12-05 21:17:59 +00:00
Andreas Mohr 5f48ff3cf8 Fixed dlerror() check to use strstr(). 2000-12-05 04:00:54 +00:00
Alexandre Julliard ef57e18f99 Removed some unnecessary includes. 2000-12-01 21:32:55 +00:00
Alexandre Julliard 32fcfc24ae Removed "elfdll" load order option and updated documentation. 2000-11-30 01:15:30 +00:00
Alexandre Julliard 99b25c50c5 Repaired relay debugging. 2000-11-10 20:49:07 +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 e087508f57 Moved builtin dll registration to libwine.
Changed process initialization to not load imported dlls too early.
2000-11-08 04:33:20 +00:00
Alexandre Julliard 94613ab03e New debug channel mechanism allowing decentralized channel
declarations.
2000-11-05 04:51:34 +00:00
Alexandre Julliard 634824be58 Raise an exception when a stub entry point is called. 2000-10-26 22:03:34 +00:00
Alexandre Julliard cae289cbe4 Removed no longer used structure definition. 2000-10-25 20:32:25 +00:00
Alexandre Julliard 21ec006fc1 Build Win32 resources as .res files and dump them into the .spec.c file. 2000-10-23 21:39:39 +00:00
Alexandre Julliard c585a501d9 Changed the Win32 dll descriptor to be in IMAGE_NT_HEADERS format.
Generate the import table directly in PE format.
Added gui/cuiexe_no_main modes in EXE spec files, and use this for the
main wine binary.
2000-09-27 23:40:43 +00:00
Andreas Mohr c23bf4336c Display an ERR() in case of undefined symbols. 2000-09-26 23:08:34 +00:00
Francois Gouget a99ce7ef3d Raised MAX_DLLS to 100. 2000-09-22 20:47:01 +00:00
Alexandre Julliard 6dbf67e566 Moved FILE_dommap() to memory/virtual.c (and renamed it VIRTUAL_mmap). 2000-09-18 01:44:08 +00:00
Alexandre Julliard 07f3844542 Avoid buffer overflows in builtin dll loading (with the help of Dmitry
Timoshkov).
2000-09-01 01:26:16 +00:00
Peter Ganten c7c4246a99 - Always store the full path name of 32bit modules in WINE_MODREF
- Add the possibility to use path names with the --dll command line
  option
- Add the possibility to use the --dll command line option several
  times.
- Note: The colon-sign is now exchanged with the plus-sign, as it is
  part of dos path names.
2000-08-28 21:33:28 +00:00
Alexandre Julliard 5acb979f03 Make sure builtin dlls are never freed since we don't support dlclose
properly yet.
2000-08-08 20:49:48 +00:00
Alexandre Julliard 081ee94117 - Fixed resource functions to work directly from the HMODULE instead of
requiring a modref.
- Attempted to get LOAD_LIBRARY_AS_DATAFILE right (based on patches by
  Eric Pouech and Dusan Lacko).
- Simplified modref structure and handling.
2000-08-07 04:12:41 +00:00
Alexandre Julliard 58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Ove Kaaven 70668d1a69 Say that "No handler" messages as fatal. 2000-07-23 13:37:53 +00:00
Andreas Mohr c007a003c8 Replaced the BUILTIN32_dlopen() ERR() by a WARN(). 2000-06-23 15:36:27 +00:00
Alexandre Julliard 291fa66f9d Removed the .xcnlnk section hack, and replaced it by another hack in
the debugger CREATE_PROCESS event handling.
2000-06-08 05:02:19 +00:00
Alexandre Julliard a37dec0c7e Pass the main exe name in the CREATE_PROCESS debug event. 2000-06-08 00:57:24 +00:00
Gerald Pfeifer 76b772e613 #include <sys/types.h> before <sys/mman.h>. 2000-05-14 23:40:56 +00:00
Alexandre Julliard 246c360631 Reserve space for the PE header at the start of the .so file.
Store the export table inside the data section so that sections can be
properly aligned.
Build the relay function table directly in the .spec.c file.
Moved relay debugging functions to relay386.c.
2000-05-10 03:48:00 +00:00
Alexandre Julliard 680919c2e6 Moved Load/FreeLibrary16 definition to winbase16.h. 2000-05-07 18:39:28 +00:00
Alexandre Julliard e1e75371d9 Implemented on-demand loading of builtin dlls using dlopen(). 2000-04-24 17:17:49 +00:00
Alexandre Julliard 180a088beb Moved PE header definitions to winnt.h where they belong. 2000-04-18 11:58:24 +00:00
Alexandre Julliard b44595283f Improved Winelib apps initialisation code. No longer need to link
winestub.o with Winelib apps.
2000-04-15 21:00:55 +00:00
Eric Pouech 87031a4c4c Added a .xcnlnk section to builtin KERNEL32 PE header. 2000-04-13 19:27:52 +00:00
Alexandre Julliard aabef02912 Include space for resources in the module header instead of doing a
separate allocation.
2000-03-17 15:12:06 +00:00
Alexandre Julliard 05f0b71bb3 Store the list of loaded dlls in the server, and generate debug events
internally.
2000-03-09 18:18:41 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Ulrich Weigand 9ffd403001 Added .spec keyword 'mode' to allow creating built-in EXE modules.
Use built-in EXE modules for WineLib apps (instead of ELF modules).
Removed dummy ELF module creation.
Removed LIBRES handling.
2000-02-03 01:33:48 +00:00