Commit Graph

431 Commits

Author SHA1 Message Date
Alexandre Julliard aa5a1162a3 Patch flat cs of 16-bit entry points if current %cs is different from
compiled value, and retrieve flat ds from a global variable. This
should avoid problems with win4lin kernels.
2000-10-29 01:28:30 +00:00
Alexandre Julliard cbeb644a94 Added support for loading .res files for 16-bit resources. 2000-10-25 20:33:58 +00:00
Patrik Stridvall a9f6a9daec Explicitly initialize structures. 2000-10-24 02:22:16 +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
Lawson Whitney 471323665d Make findfunc look for .spec files, and put it with the other tools. 2000-10-13 23:06:40 +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 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
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +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 f37e3a471b Removed a coupld of unused functions in the Callout structure. 2000-09-16 20:58:06 +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
Alexandre Julliard 07f3844542 Avoid buffer overflows in builtin dll loading (with the help of Dmitry
Timoshkov).
2000-09-01 01:26:16 +00:00
Marcus Meissner 8c5df7b55d Fixed some warnings. 2000-08-22 20:40:47 +00:00
Alexandre Julliard 198746d812 Replaced global Callbacks structure by appropriate glue code
generation. Removed a few unused entries in the Callout structure.
2000-08-14 14:29:22 +00:00
Alexandre Julliard 4fef2f1917 Removed obsolete SHMDATA parameter in GLOBAL_CreateBlock. 2000-08-09 22:27:11 +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 6c9d83aa4c Added imports of user32/gdi32/kernel32 wherever necessary. 2000-08-03 00:04:24 +00:00
Alexandre Julliard 946a4448af Cleaned up a few USER dependencies. 2000-07-30 13:50:27 +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
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
Alexandre Julliard 8fe0551aa3 Removed a few unnecessary includes. 2000-06-08 04:57:58 +00:00
Uwe Bonnes e82e7d96e1 Use "CALL" and "RET" in capital letters for distinction. 2000-06-07 02:02:01 +00:00
Alexandre Julliard 4324b4778b Delay loading of interrupt table functions until they are needed. 2000-06-03 04:52:14 +00:00
Alexandre Julliard 7fe09bce86 Moved kernel initialization to kernel_main.c 2000-06-03 04:49:40 +00:00
Dimitrie O. Paun 36b5b6b9f4 Start to separate KERNEL out of libwine. 2000-06-03 00:07:44 +00:00
Dimitrie O. Paun 84bde6a4a4 Separate wineps out of Wine's core. 2000-05-30 20:27:23 +00:00
Dimitrie O. Paun 7f30083bbe Moved DISPDIB out of the kernel into GDI. 2000-05-30 17:49:47 +00:00
Alexandre Julliard 0ce13a4873 Do not load wineps on startup. 2000-05-30 15:29:15 +00:00
Dimitrie O. Paun 525e646814 Moved if1632/ole2{conv,prox,thk}.spec into dlls/ole32. 2000-05-19 03:35:58 +00:00
Dimitrie O. Paun 81eafedaf1 Moved DDEML into dlls/user. 2000-05-14 23:34:41 +00:00
Dimitrie O. Paun ecd921e551 Separate OLE2NLS out of KERNEL. 2000-05-07 18:30:44 +00:00
Patrik Stridvall e29dbc5814 Fixed some warnings. 2000-04-24 18:04:24 +00:00
Alexandre Julliard e1e75371d9 Implemented on-demand loading of builtin dlls using dlopen(). 2000-04-24 17:17:49 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Alexandre Julliard d6c0d8642c Moved gdi/user thunking functions into their respective dlls.
Moved keyboard.spec into user dll.
2000-03-24 21:38:30 +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 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
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
Andreas Mohr 28db50f060 Added/corrected ordinals of kernel, gdi, user. 2000-02-18 19:11:35 +00:00
Alexandre Julliard 90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +00:00
Alexandre Julliard b849d79104 Moved global atoms to the server (based on the work of Sergei
Turchanov <turchanov@otvprim.ru>).
2000-02-13 13:56:13 +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
Andreas Mohr 8cd93514f0 - add some documentation items
- fix some spelling
- fix some warnings
2000-01-29 21:12:58 +00:00
Alexandre Julliard 0dd3655fd0 Removed debugstr.h. 2000-01-29 19:49:58 +00:00
Alexandre Julliard 8bc1d837d2 Use a per-thread buffer and write(2) for debug traces.
Removed debug_dumpstr.
2000-01-29 19:46:50 +00:00
Alexandre Julliard de07869657 Moved winsock implementation to dlls/winsock. 2000-01-23 22:07:15 +00:00
Alexandre Julliard 112d30781f Added automatic registration of built-in DLLs. 2000-01-16 03:37:05 +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
Erez Volk 8f74d8e610 Added stubs for some BiDi API functions. 2000-01-09 02:39:15 +00:00
Eric Pouech 20fede7f38 Removed the obsoleted CallTimeFuncProc, CallDriverProc,
CallDriverCallback.
2000-01-04 01:01:22 +00:00
Peter Ganten 6619f5a71a Implemented WaitForInputIdle. 2000-01-01 22:38:20 +00:00
Dimitrie O. Paun dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Andreas Mohr a2da86898a Added .rc file support for Win16 NE modules.
Moved display.c and mouse.c to separate dll directories.
1999-12-06 01:20:00 +00:00
Ulrich Weigand 937f4d3ec3 Added USER.DllEntryPoint(). 1999-12-05 02:49:59 +00:00
Ulrich Weigand 979000e038 Call 16-bit instead of 32-bit UserSignalProc entry point.
Don't load USER32.DLL unless requested by the program.
Bugfix: Pass the correct thread ID to UserSignalProc.
1999-12-05 02:48:53 +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
Alexandre Julliard 2fab2ef11f Changed to use new server-side registry support. 1999-11-23 19:41:34 +00:00
Huw D M Davies cdf191a205 Stub for GetFontData16. 1999-11-21 02:01:41 +00:00
Andreas Mohr 399e41fc2e Added some ordinals and GetDriverResourceID(). 1999-11-21 02:01:07 +00:00
Ulrich Weigand 1ca11f51b3 Fixed some unresolved externals on non-Intel archs. 1999-11-14 19:45:05 +00:00
Ulrich Weigand eb94c7d2c4 Adapted to new register function handling. 1999-11-13 23:54:04 +00:00
Andreas Mohr 8ced881592 Implementation of RegisterNLSInfoChanged. 1999-11-07 19:24:47 +00:00
Huw D M Davies 0f2988565a Stub for EngineRealizeFontExt (used by the win98 pscript driver). 1999-10-31 01:46:21 +00:00
Patrik Stridvall 900290aa9f Added Win16 variants of existing Win32 functions. 1999-10-24 21:32:43 +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 142d94e5b0 WPROCS.ENTRYADDRPROC needs to return something in CX too (fixes
BLINKER selfextracting executables).
1999-10-13 15:46:10 +00:00
Uwe Bonnes 22d4b0afdd Use LoadString16 for FormatMessage16 and handle
FORMAT_MESSAGE_ALLOCATE_BUFFER flag.
1999-10-13 14:00:09 +00:00
Ulrich Weigand 79077f3253 Bugfix: Don't call GetVersionExA too early, to avoid breaking
automatic emulated Windows version detection.
1999-09-29 12:16:16 +00:00
Marcus Meissner 97a99e51ea Added stub for WMMMIDIRUNONCE called by midimap.drv. 1999-09-29 12:12:49 +00:00
Patrik Stridvall 8276f696fc Fixed some of the issues reported by winapi-check. 1999-09-23 11:48:02 +00:00
Eric Pouech fa5f006d51 All headers (wave and midi functions) are now seen as segptr.
Added stub for joyGetPosEx16().
1999-09-22 16:46:44 +00:00
Ulrich Weigand 24dd5d9e4f Keyboard/mouse event proc thunk creation moved out of if1632/thunk.c. 1999-09-20 18:49:02 +00:00
Ulrich Weigand c44ab1f0fd Don't create thunk for task signal proc, call it directly. 1999-09-20 18:48:29 +00:00
Ulrich Weigand f86aab84ba DC hook proc thunk management simplified. 1999-09-20 18:47:14 +00:00
Ulrich Weigand f4edf2378e Windows hook proc thunk management simplified. 1999-09-20 18:45:00 +00:00
Ulrich Weigand 2dec1ba403 Modified THUNK_Alloc so as to avoid 32->16->32 calling sequences.
Removed persistent thunk creation routines.
1999-09-20 18:43:52 +00:00
Ulrich Weigand f52e109dea Set 'expected_version' of built-in and dummy modules according to
emulated Windows version.
1999-09-20 15:37:25 +00:00
Ulrich Weigand 3967b0912e Make CallTo16 return stub segment owned by KERNEL. 1999-09-20 15:33:01 +00:00
Ulrich Weigand 2a722f498a Moved bulk of OLE implementation to dlls/ subdirectories. 1999-09-19 18:36:53 +00:00
Ulrich Weigand dc6f327a8d Bugfix: Declare CALL32_CBClient[Ex] without WINAPI. 1999-09-19 12:11:02 +00:00
Huw D M Davies 304d9a4737 Change interfaces to THUNK_Alloc/Free slightly and make them non-static.
Remove relays for win16drv from CallBack table, instead use build to
generate them directly in graphics/win16drv/prtdrv.c.
If Printer AbortProc is 16bit then allocate thunk and store that as a
32bit proc in DC.  Setting of abortprocs now done in the correct place
(i.e. not in the driver).
1999-09-13 15:15:45 +00:00
Huw D M Davies fd24362356 Winspool DocumentProperties and DeviceCapabilities should now work on
native 16 bit drivers.
1999-09-10 14:38:19 +00:00
Ulrich Weigand aa3f71148c Fixed bug in CBClient routines by storing the SEGPTR in the global
table and translating it on every use.
1999-09-10 14:02:28 +00:00
Ulrich Weigand c3d9f28172 Moved implementation of WOW routines to single file.
Added all missing WOW routines, fixed WOWCallback16Ex.
1999-08-18 18:31:26 +00:00
Ulrich Weigand 8336cc9e51 Adapted to glue code generation changes. 1999-08-15 12:45:53 +00:00
Ulrich Weigand c50a1d05de Adapted to new-style Wine thunks.
Removed some now unnecessary function pointers.
1999-08-15 12:45:01 +00:00
Alexandre Julliard 89f079bfd1 Replaced a few calls to lstr* functions by their CRTDLL or libc
equivalent.
1999-08-08 18:54:47 +00:00
Alexandre Julliard 15de615276 Got rid of dsprintf and related macros. 1999-08-04 12:22:42 +00:00
Ulrich Weigand 6c6da674ef Moved various DLLs to dlls/ 1999-08-04 09:49:49 +00:00
Alexandre Julliard 7d8cfeb95c Removed IP_reg, SP_reg and FL_reg definitions to avoid potential
aliasing optimization problems.
1999-08-01 14:58:01 +00:00
Alexandre Julliard a1089c59b9 Made stack manipulation macros into inline functions.
Changed a few accesses to context registers to avoid potential
aliasing optimization problems.
1999-08-01 12:51:55 +00:00
Patrik Stridvall b8684a266b Fixed some of the issues reported by winapi-check. 1999-07-31 17:32:05 +00:00
Ulrich Weigand 081daf7d21 Implemented KERNEL.447 (WIN32_OldYield16). 1999-07-31 17:27:38 +00:00
Andreas Mohr 95fd3cd43b Implemented CoRevokeClassObject stub needed by Acrobat 3 16 bit. 1999-07-30 17:56:38 +00:00
Ulrich Weigand 98c3053e6e Added FinalUserInit16/FinalGdiInit16 stubs.
Call out to FinalUserInit in MAIN_EmulatorRun.
1999-07-27 17:10:06 +00:00