Commit Graph

443 Commits

Author SHA1 Message Date
Alexandre Julliard 3f2b2d5ef4 Work-around for gcc bug. 2000-10-12 20:55:26 +00:00
Alexandre Julliard a83784944b Added stdcall64 entry point type to allow correct relay debugging
support for functions that return 64-bit values.
2000-10-01 01:33:50 +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
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
Alexandre Julliard a80d8c6cf0 Generate Win32 dll descriptor structure in the .spec.c file so that we
don't need to depend on builtin32.h.
2000-09-27 01:20:01 +00:00
Andreas Mohr c23bf4336c Display an ERR() in case of undefined symbols. 2000-09-26 23:08:34 +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
Francois Gouget a99ce7ef3d Raised MAX_DLLS to 100. 2000-09-22 20:47:01 +00:00
Rein Klazes 2826f575ae Catch EXCEPTION_PRIV_INSTRUCTION exception too. 2000-09-19 02:39:59 +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
Peter Ganten 331f80e442 The user driver functions might be called with the window lock held. 2000-08-11 12:52:56 +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 3850c1ae16 Moved most USER string functions to dlls/user.
Cleaned up a few more inter-dll dependencies.
2000-08-06 02:42:46 +00:00
Alexandre Julliard cb10fdab99 Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard 58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Alexandre Julliard d5041fc45a Moved thunking functions off to kernel32.dll. 2000-07-25 16:42:25 +00:00
Ove Kaaven 70668d1a69 Say that "No handler" messages as fatal. 2000-07-23 13:37:53 +00:00
Juergen Schmied 2352cf79ce Avoid calling the exception handler in some cases. 2000-06-24 13:33:26 +00:00
Alexandre Julliard e482eebf2f Split the build program in several files.
Renamed it 'winebuild' to avoid possible conflicts.
Cleaned up command-line parsing.
Make it understand -fPIC instead of -pic.
Merged call16.s and call32.s generated files.
2000-06-23 20:15:35 +00:00
Andreas Mohr c007a003c8 Replaced the BUILTIN32_dlopen() ERR() by a WARN(). 2000-06-23 15:36:27 +00:00
James Abbatiello d1297c4493 Fix for compiler warning (due to setjmp/longjmp being used for
exception handling).
2000-06-11 20:33:07 +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
Uwe Bonnes e82e7d96e1 Use "CALL" and "RET" in capital letters for distinction. 2000-06-07 02:02:01 +00:00
Dimitrie O. Paun 36b5b6b9f4 Start to separate KERNEL out of libwine. 2000-06-03 00:07:44 +00:00
Juergen Schmied 2250f12c48 Implemented FindFirstFileEx, cleaned old implementation up. 2000-06-01 23:17:42 +00:00
Turchanov Sergei 43a27e3696 Implemented local atoms in the server. 2000-05-30 20:32:06 +00:00
Ulrich Czekalla 637e2000cf Add stub for SetConsoleOutputCP. 2000-05-30 20:06:08 +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 f818d42fae Fixed COORD structure definition.
Fixed GetLargestConsoleWindowSize to not return a structure when
called from the Window binary.
2000-05-03 17:48:21 +00:00
Uwe Bonnes 99f3a924dc Use Thread pseudo handle and not Thread Id as argument for the call to
GetThreadSelectorEntry.
2000-04-30 12:11:12 +00:00
Alexandre Julliard e1e75371d9 Implemented on-demand loading of builtin dlls using dlopen(). 2000-04-24 17:17:49 +00:00
Uwe Bonnes 69277bba89 SNOOP_PrintArg: replaced IsBad* functions by exception handler. 2000-04-23 20:38: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
Patrik Stridvall f0deb8a17e Fixed some issues reported by winapi_check. 2000-04-15 20:44:21 +00:00
Eric Pouech 87031a4c4c Added a .xcnlnk section to builtin KERNEL32 PE header. 2000-04-13 19:27:52 +00:00
Andreas Mohr 920d9c6fe2 Added PeekNamedPipe stub. 2000-04-08 20:21:36 +00:00
Owen Wang 3c30bba357 Implemented API EnumTimeFormatsA(). It supports now all different
English locales, as well as German(standard), French(standard) and
French(Canadian).  All time formats follow conventions in Windows NT 4.0

Haithem Hmida (of Macadamian for Corel)
Implemented GetCurrencyFormatA() API:
- GetCurrencyFormatA() calls GetNumberFormatA() to format the number
  (as a positive one), then formats the number depending on
  NegativeOrder/PositiveOrder fields.
- GetNumberFormatA() has been slightly modified.
2000-04-06 20:13:32 +00:00
Patrik Stridvall 98fde73f14 Fixed some issues reported by winapi_check. 2000-03-24 20:43:33 +00:00
Alexandre Julliard 1dac57f05f Created separate dlls for user,gdi,ttydrv,x11drv.
Fixed Winelib argc handling (thanks to Eric Pouech).
2000-03-19 12:08:09 +00:00
Alexandre Julliard ddce652cae Made ddraw and dinput separate dlls. 2000-03-17 16:58:10 +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
Alexandre Julliard 916f975624 Improved the selector get/set functions.
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
2000-02-26 16:51:13 +00:00
James Abbatiello 1758f2d81a Misc. fixes for compiler warnings. 2000-02-25 21:01:50 +00:00
Alexandre Julliard 90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +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
Alexandre Julliard 0dd3655fd0 Removed debugstr.h. 2000-01-29 19:49:58 +00:00
Alexandre Julliard de07869657 Moved winsock implementation to dlls/winsock. 2000-01-23 22:07:15 +00:00
Uwe Bonnes 9c55e6dc9d Export GetLongPathName[A|W]. 2000-01-23 02:26:03 +00:00
Alexandre Julliard 112d30781f Added automatic registration of built-in DLLs. 2000-01-16 03:37:05 +00:00
Peter Hunnisett f2b8492285 - Added some missing EMR record types and updated and fixed others
- Added stubs and headers for CreateColorSpace,DeleteColorSpace and SetColorSpace
- Added header for SetICMMode
- Added ability to play more enhanced metafile records
2000-01-15 22:17:49 +00:00
Alexandre Julliard 74e4a28a34 Built-in DLLs resources are now specified in spec file.
Removed unnecessary flags in built-in DLLs tables.
2000-01-09 04:20:31 +00:00
Patrik Stridvall 6afc68aabd Fixed some issues found by winapi_check. 2000-01-04 00:32:38 +00:00
Juergen Schmied a4d7ca0f22 Corrected parameter count for DialogBoxIndirectParamAorW. 2000-01-04 00:29:44 +00:00
Alexandre Julliard 6f715732e7 Make use of automatic ordinal allocation. 2000-01-01 22:06:18 +00:00
Francois Gouget baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Alexandre Julliard 5919ae42cb Added support for automatic ordinal allocation.
Output list of function names in sorted order.
Added support for nameless (ordinal-only) entry points.
Cleaned up error handling.
1999-12-26 23:11:58 +00:00
Francois Gouget e73b8b84ba Wrapped some strings in a debugstr_* call.
Replaced some calls to debugstr_{a,w} by debugstr_{a,w}n.
Removed redundant 'L's for Unicode strings.
Tried to harmonize the traces a little bit.
1999-12-26 00:40:37 +00:00
Alexandre Julliard 8551f8ca98 Xiang Li
Implementation of a proxy ODBC32 dll.
1999-12-11 23:56:46 +00:00
Peter Hunnisett 0cdc4d9307 - Implemented GetEnhMetaFilePaletteEntries
- Added fixme stubs for SetMetaRgn and GetMetaRgn
- Added support for playing several enhanced metafile records
- Added beginnings of implementation for playing the rest of the
  enhanced metafile records
1999-12-11 23:18:10 +00:00
Alexandre Julliard 7b7e2d434a Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Added stubs for the WinNT tape backup functions.
1999-12-10 03:46:20 +00:00
Andreas Mohr f4077e6623 Added Thread32First/Next stubs. 1999-12-05 23:11:10 +00:00
Erez Volk fdf71277e5 Stubs for Get/SetProcessDefaultLayout. 1999-12-04 04:21:20 +00:00
Marcus Meissner 9b4fcf721d Stub for CloseProfileUserMapping. 1999-12-04 04:19:55 +00:00
Ulrich Weigand 237e8e95b0 Fixed 32-bit module name handling to conform better to Win9x.
Removed OFSTRUCT passing during process creation sequence.
Bugfix: don't set exe_modref when LOAD_LIBRARY_AS_DATAFILE is set.
1999-12-04 04:04:58 +00:00
Alexandre Julliard ad47a30f5e Implemented waitable timers. 1999-11-29 01:58:35 +00:00
Moses DeJong e0a3ba54c6 Added implementation for WSARecvEx function. This is a Microsoft
specific extension to the winsock API.
1999-11-23 22:29:00 +00:00
Huw D M Davies f64e0d7e37 Add stubs for Get/SetLayout(). 1999-11-21 00:49:50 +00:00
Ulrich Weigand 6ca85a5e80 Bugfix: relay/snoop debugging was broken by last patch ... 1999-11-14 21:28:57 +00:00
Rein Klazes 43a98a6b4d Added missing WINAPI attribute to two forward declarations. 1999-11-14 19:44:43 +00:00
Ulrich Weigand eb94c7d2c4 Adapted to new register function handling. 1999-11-13 23:54:04 +00:00
Ulrich Weigand f0052479b0 Allow for buggy apps that call the wrong VxDCall routine. 1999-11-12 01:39:18 +00:00
Moshe Vainer 0ea089b6a8 Stub for GetOverlappedResult. 1999-11-10 19:51:01 +00:00
Ulrich Weigand e7957d6b48 Determine expected_version of PE buddies from the SubsystemVersion. 1999-11-10 19:45:56 +00:00
Marcus Meissner 5e2f50f8c0 Added ChangeDisplaySettingsExA stub and some flag defines. 1999-11-07 22:26:20 +00:00
Francois Gouget edf3e434b0 Added ICMP DLL implementation. 1999-11-07 21:22:17 +00:00
Eric Pouech abe722778f Added built-in msacm.drv and midimap.drv drivers. 1999-10-31 02:23:49 +00:00
Patrik Stridvall 96336324cf - Added missing configuration #if:s and #includes:s.
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Patrik Stridvall d7da486c96 Added spec file declarations for already implemented functions. 1999-10-24 21:35:16 +00:00
Eric Pouech 68944c205c Split the multimedia/ directory into dlls/ subdirectories. 1999-10-24 18:42:42 +00:00
Ove Kaaven f45608f639 Winsock rewrite. Sockets are now proper win32 handles.
Internal structures are now really internal.
1999-10-23 16:53:34 +00:00
Eric Pouech d2344fbbcd Fix loading of modules: now search key is module's filename, not
module's name.
1999-10-13 15:59:26 +00:00
Marcus Meissner b816680872 Replaced double ChangeDisplaySettingsA by (Ex)[AW]. 1999-10-13 12:12:03 +00:00
Patrik Stridvall e216de9794 Fixed some of the issues reported by winapi-check, by adding arguments
to varargs.
1999-09-29 10:27:00 +00:00
Peter Hunnisett 22b861c1be - Moved dplay and dplayx to a proper home in the dlls directory.
- Implemented new DirectPlay4 and DirectPlayLobby3 interfaces.
- Implemented a class factory for dplay and dplobby. COM interfaces
  now work for dp and dpl.
- Added a few more entries to dplayx.spec files. How do you find the
  ordinals? I just guessed :(
- Seperated DirectPlay and DirectPlayLobby implementation into separate files.
- Included some missing header file definitions.
- Implemented the dplay dll in terms of the dplayx dll. I haven't
  tested it so it may not work...
- A few bug fixes and a little new implementatioe.n
- Updated document with a more detailed implementation plan.
1999-09-28 16:35:32 +00:00
Eric Pouech 2b4102e459 Added WINEOSS descriptor. 1999-09-22 16:53:54 +00:00
Eric Pouech 526b3c920d Added missing DriverCallBack function. 1999-09-22 16:47:25 +00:00
Ian Schmidt 31b47218c8 Added partial implementation of GetICMProfileA, required by Paint Shop
Pro 5.
1999-09-22 15:12:41 +00:00
Ulrich Weigand 2a722f498a Moved bulk of OLE implementation to dlls/ subdirectories. 1999-09-19 18:36:53 +00:00
Peter Ganten 87d95b7bc5 Stubs for PolyTextOutA/W. 1999-09-19 14:17:14 +00:00
Marcus Meissner 8388f67523 Added stub implementation for EnumDisplayDevices*. 1999-09-19 12:09:23 +00:00