Commit Graph

609 Commits

Author SHA1 Message Date
Alexandre Julliard 256ac22dee Display the name of the function when import failed. 2000-11-27 22:03:46 +00:00
Alexandre Julliard 5ce902b0b9 Implemented DosFileHandleToWin32Handle, Win32HandleToDosFileHandle and
DisposeLZ32Handle and use them to replace file.c internal functions.
Renamed WOW* functions into K32WOW*.
2000-11-27 21:59:08 +00:00
Alexandre Julliard ac7efef3b5 Changed GetProcAddress16 and 16-bit resource functions to take normal
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Andreas Mohr fc2c5dfb3d Implemented TerminateApp needed for DBase 5.0.
Made FatalAppExit16 honor the SEM_NOGPFAULTERRORBOX error_mode flag.
2000-11-27 01:36:24 +00:00
Hidenori Takeshima 5b21807946 Replaced u_char/u_short/u_long by BYTE/WORD/DWORD for increased portability. 2000-11-26 22:35:53 +00:00
Alexandre Julliard ab687979fd Moved standard syslevel APIs declaration to winbase.h.
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +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 0a8114c152 Raise an exception for unimplemented 16-bit entry points too.
Added check for duplicate names in 16-bit spec files.
2000-11-12 03:45:55 +00:00
Francois Gouget da0acca7d8 Use DUMMYxxxNAME for anonymous struct/unions. 2000-11-10 22:34:39 +00:00
Alexandre Julliard 3e38431ef5 Don't strip the library extension if it's not ".dll". 2000-11-09 20:28:44 +00:00
Alexandre Julliard 4e951ea25b Check all Callouts function pointers for NULL before using them.
Don't load USER dll if not needed by the application.
2000-11-08 22:47:53 +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
Andreas Mohr 786c9a68f6 Get ELF_LoadLibraryExA back into a working state. 2000-11-06 05:26:27 +00:00
Alexandre Julliard 908464d448 Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
Various warning fixes.
2000-11-01 03:11:12 +00:00
Dimitrie O. Paun 334a42f521 Fixed a few compilation warnings 2000-10-29 18:07:04 +00:00
Andreas Mohr cabee39f3c Free the Win16 dummy module and wm->deps. 2000-10-25 21:22:27 +00:00
Alexandre Julliard 0e236a1f37 Removed GetResDirEntryA/W. 2000-10-24 21:35:14 +00:00
Patrik Stridvall a9f6a9daec Explicitly initialize structures. 2000-10-24 02:22:16 +00:00
Uwe Bonnes 38012a5604 Pass the correct hFile to PE_CreateModule. 2000-10-19 22:27:23 +00:00
Alexandre Julliard 81800b1f6d Use a binary search to find entries in resource directories.
Fixed GetResDirEntryA/W prototypes.
2000-10-19 20:29:53 +00:00
Andreas Mohr 49851f88e3 Back out my ELFDLL_dlopen patch and add a warning for future misguided
hackers.
2000-10-19 20:25:02 +00:00
Ove Kaaven 7c4bee569c Implemented DOS INT21 AH=4B (EXEC). 2000-10-17 00:33:02 +00:00
Ove Kaaven d94b631947 Fixed a couple of recent bugs, and added some more safeguards (could
be handy for portability anyway) and trace statements.
2000-10-15 00:41:08 +00:00
Andreas Mohr 1563abe8ec - stupid spelling fixes
- some more loadorder array work
2000-10-13 20:26:52 +00:00
Ove Kaaven dfa4130804 Merged DOSVM_Int with DOSVM_SimulateInt, and made it handle apps that
purposefully shuffle the interrupt vectors around.
2000-10-13 20:14:49 +00:00
Andreas Mohr 6a2a2ebc71 Make sure that we skip tasks with missing hInstance. 2000-10-02 22:16:34 +00:00
Andreas Mohr 6d52787f73 Beautified the loadorder array (group DLLs according to functionality,
add group header comments, ...), added builtin x11drv and winaspi.
2000-10-02 03:33:51 +00:00
Alexandre Julliard afb49ead82 Moved a bunch of routines to kernel32.dll (with the help of
Dimitrie O. Paun).
2000-09-29 20:48:04 +00:00
Alexandre Julliard 15bfcd0398 Moved $(MODULE).o rule out of Make.rules into the individual
Makefiles.
2000-09-29 00:28:25 +00:00
Dmitry Timoshkov 4ca7e6343f Avoid crashes if 16-bit module handle was passed to the 32-bit
resource enumerator.
2000-09-26 00:39:06 +00:00
Alexandre Julliard 74af67ef42 Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h. 2000-09-26 00:00:55 +00:00
Alexandre Julliard d8fab2e67c Removed some of the XXX_reg macros now that we are using the standard
CONTEXT86 structure everywhere.
2000-09-25 23:53:07 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Alexandre Julliard 770eb51ed5 Moved most global data out of the LPDOSTASK structure.
Allocate DPMI real-mode segments globally at startup.
Try to allocate DOS memory at address 0.
2000-09-24 20:47:50 +00:00
Andreas Mohr 7096384d14 Fixed WinExec16 to handle quoted filenames correctly. 2000-09-22 22:08:28 +00:00
Ulrich Weigand a761e3dad0 Modified CallTo16Register routines to update register context after
call returns. Callers adapted.
2000-09-13 20:29:44 +00:00
Andreas Mohr c4a264428b Fixed NE_LoadExeHeader error handling. 2000-09-10 03:14:36 +00:00
Eric Pouech 208955cada Fixed loader - broken search for already loaded modules. 2000-09-10 03:14:00 +00:00
Patrik Stridvall 6e740b5b46 Fixed some issues found by winapi_check. 2000-09-04 20:21:06 +00:00
Alexandre Julliard 92643003cf Converted a lot of server requests to the new exception handling
mechanism.
2000-08-31 01:59:51 +00:00
Alexandre Julliard 9c2370bd75 Added exception handling wrapper to a number of server requests.
Changed a few requests to use the new vararg mechanism.
2000-08-30 00:00:48 +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 7bbba4f9ce Removed calls to ConvertToGlobalHandle and MakeCriticalSectionGlobal. 2000-08-26 21:18:36 +00:00
Andreas Mohr 349655636b - made the MIDI sequencer error message much better for confused users
to be found on #WineHQ
- use strerror instead of errno at important places
- got rid of HAVE_STRERROR macro
- removed some #include:s (hopefully I didn't break anything)
2000-08-26 20:31:48 +00:00
Andreas Mohr 62f3eaa782 Transform every ERR() to WARN() in MakeProcInstance. 2000-08-21 20:16:26 +00:00
Dusan Lacko 9f6d4bc0be Pass the type/name as a C string instead of an
IMAGE_RESOURCE_DIR_STRING_U structure to the callback function.
2000-08-20 03:32:57 +00:00
Niclas Karlsson MATE 1918601e4c WATCOM compiled programs leave VirtualSize to zero which triggers the
virus check. Use SizeOfRawData instead.
2000-08-16 12:54:03 +00:00
Alexandre Julliard a257ba245a Avoid going past the end of the relocation section. Skip sanity checks
for empty relocation blocks.
2000-08-16 12:46:09 +00:00
Alexandre Julliard c19e1a7e19 Implemented SEC_IMAGE mappings and shared PE sections (with the help
of Peter Ganten).
2000-08-14 20:20:01 +00:00
Alexandre Julliard dcd247e55f Moved CharUpper* and CharLower* functions to dlls/user. 2000-08-14 17:39:15 +00:00