Commit Graph

245 Commits

Author SHA1 Message Date
Ulrich Weigand ae8342df48 Bugfix: Exception handlers are *not* WINAPI. 1999-11-10 19:42:13 +00:00
Ian Schmidt 66695dddd5 Changed OpenDesktop stub to Win9x behavior for QuickTime 4. 1999-11-04 01:36:24 +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 311e456a64 Added support for anonymous structs/unions on compilers that implement it. 1999-09-19 14:20:33 +00:00
Ulrich Weigand 526d8e9d22 Fixed last error code when trying to load unknown VxD with CreateFile. 1999-09-13 15:12:45 +00:00
Guy Albertelli 749a2c6c86 Fixed WriteConsoleOutput and GetNumberOfConsoleInputEvents. 1999-09-04 11:11:02 +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
Alexandre Julliard bada25d5da Fixed SetLocalTime prototype. 1999-08-08 18:56:04 +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
Andreas Mohr 5910c68101 Implemented SetLocalTime. 1999-08-04 14:32:03 +00:00
Alexandre Julliard 15de615276 Got rid of dsprintf and related macros. 1999-08-04 12:22:42 +00:00
Alexandre Julliard beb8fabf22 Removed async I/O support. 1999-08-01 14:51:26 +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 2c684081c1 Fixed some of the issues reported by Solaris Lint. 1999-07-31 17:36:48 +00:00
Ulrich Weigand 40b083f0e4 Create VxD handle only for known VxDs. 1999-07-31 17:25:36 +00:00
Ulrich Weigand db3aba29b6 Work-around for compiler bug. 1999-07-18 18:32:23 +00:00
Ulrich Weigand 0fa6dad074 Fixed some CONTEXT86 vs. CONTEXT mismatches. 1999-07-15 14:32:20 +00:00
Alexandre Julliard 4220b29be9 Take advantage of the new registers saved in the STACK16FRAME to turn
some 'register' functions into normal functions.
Removed the few remaining 'return' functions to simplify relay
handling.
1999-07-11 17:20:01 +00:00
Howard Abrams 132774804e Added checks for sys/errno.h, sys/signal.h and sys/mman.h. 1999-07-10 13:16:29 +00:00
Marcus Meissner cd37906fce ReadConsoleA: use ir as pointer to (req+1). 1999-06-27 15:40:18 +00:00
Alexandre Julliard 617955db88 Changed CONTEXT into CONTEXT86 everywhere we really want an i386
context.
Added #ifdef __i386__ around accesses to 386 registers in the generic
CONTEXT structure.
1999-06-26 18:40:24 +00:00
Alexandre Julliard ebe29ef376 Further server optimizations:
- merged request and reply structures
- build requests directly into the buffer to avoid a copy
1999-06-26 08:43:26 +00:00
Alexandre Julliard 5bc78089db Made server communication faster by using a shared memory block.
A few other optimizations in request processing in the server.
Moved automatically generated request definitions to server.h and
removed include/server/request.h.
1999-06-22 17:26:53 +00:00
Alexandre Julliard 0a860a01f9 Merged THDB and TEB structures.
Made SetLastError(), GetCurrentThreadId() and PROCESS_Current() inline.
1999-06-22 11:43:42 +00:00
Alexandre Julliard 58371aa361 A few optimizations. 1999-06-18 18:26:35 +00:00
Patrik Stridvall fdcfdb9a6d Added missing/wrong includes. 1999-06-12 14:55:11 +00:00
Rein Klazes 874b8a3e19 Corrected a problem in GetTimeZoneInformation() due a change to
mktime() in glibc-2.1.1 when daylight saving time is in effect.
1999-06-12 06:39:22 +00:00
Alexandre Julliard 039aa42373 Return console handles in alloc_console request.
Fixed read_console_input parameters to conform to the reply structure
declaration.
1999-06-11 18:31:22 +00:00
Marcus Meissner c868cd3470 Fix <return> key (somehow we get a control keystate). 1999-05-29 10:55:08 +00:00
Ulrich Weigand 6d389b8df2 Use register functions with arguments for LogApiThk... 1999-05-24 08:09:34 +00:00
Alexandre Julliard d131a17ee0 Use the new debug functions to send debug events at appropriate places.
Pass the process creation flags to PROCESS_Create.
1999-05-23 20:02:04 +00:00
Alexandre Julliard 4cc1b339cf Implemented the Win32 debug API functions. 1999-05-23 19:57:42 +00:00
Alexandre Julliard 156570906f Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-05-23 10:25:25 +00:00
Ulrich Weigand d30821a0ff Added _DebugOutput (KERNEL.328), LogApiThk (KERNEL.423), LogApiThkLSF
(KERNEL32.42), LogApiThkSL (KERNEL32.44), LogCBThkSL (KERNEL32.47),
and SSConfirmSmallStack (KERNEL.704).
1999-05-23 09:19:52 +00:00
Ulrich Weigand eec4c25468 Set %ebx to point to real 16-bit stack in CBClientThunkSL.
Pass %esi back-and-forth in CBClientThunkSL(Ex).
Copy modified buffers back after return from FT_Thunk.
Fix broken recognition of LS thunklets.
1999-05-22 11:24:46 +00:00
Juergen Schmied f08b81961b Some stubs for pccard vxd to debug the native shell32. 1999-05-22 10:33:50 +00:00
Ulrich Weigand cd819fefc8 Bugfix: FT_PrologPrime was broken due to relay changes. 1999-05-17 14:57:06 +00:00
Alexandre Julliard 0691998e45 Fixed a few bugs, and improved the exception macros (based on
suggestions by Sergei Turchanov).
1999-05-14 18:21:55 +00:00
Alexandre Julliard 0a277b638c Adapted for new register functions support (ESP_reg in register
functions now points after the arguments).
1999-05-13 16:21:37 +00:00
Alexandre Julliard fd45627724 VxDCall functions do not need to be 'register'. 1999-05-13 14:42:14 +00:00
Alexandre Julliard 3b3ff2bb06 Added macros and definitions for using exception inside Wine or
Winelib code.
1999-05-12 13:10:39 +00:00
Alexandre Julliard 89fae7eb30 Moved some exception definitions to winnt.h and ntddk.h. 1999-05-12 12:47:01 +00:00
Alexandre Julliard df8ae8942e Fixed request size for alloc_console and free_console. 1999-05-09 16:15:28 +00:00
Alexandre Julliard dd93d25577 Improved exception handling.
Based on the work of Sergey Turchanov <turchanov@usa.net>.
1999-05-09 16:12:19 +00:00
Marcus Meissner 62de4b9867 Ignore ESC[%dc reports generated by 8bit control codes.
Open console even if we already have one in the process.
1999-05-08 18:32:56 +00:00
Andreas Mohr 99920819a5 GetMailslotInfo is supposed to check for pointer validity. 1999-05-04 16:54:39 +00:00
Alexandre Julliard 06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Juergen Schmied 96ed828d92 Fixed typo. 1999-05-01 10:21:06 +00:00
Marcus Meissner 91aaca8686 Added MMDEVLDR DeviceIoctl(5) stub (msacm32 is a bit happier now). 1999-04-19 16:21:29 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Eric Pouech c53def75cf Added (empty) stub for OpenVxDHandle. 1999-04-03 11:18:06 +00:00
Ulrich Weigand 8139c30125 Implemented PROCESS_CallUserSignalProc().
Send USER signals at various appropriate places.
Moved [GS]etProcessDword() to scheduler/process.c.
1999-04-01 11:43:05 +00:00
Steffen Moeller 8bf29f1708 SetFileAttributesA: "implemented" setting of directory flag as test of
compatibility.
1999-03-28 13:40:52 +00:00
Andreas Mohr 702aec677f Added CreateIoCompletionPort stub. 1999-03-28 13:11:46 +00:00
David Luyer cb40df2749 Changed "strings.h" to "string.h". 1999-03-25 15:52:09 +00:00
Marcus Meissner ac593bbd41 Fixed some warnings. removed some unneccessary includes, removed one
direct WND* access in controls/menu.c.
1999-03-17 15:18:28 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Peter Ganten aa546ef661 Change GetStartupInfoA/W to return the real StartupInfo. 1999-03-13 17:04:52 +00:00
Ulrich Weigand 48241e999a Implemented UTRegister and UTUnRegister. 1999-03-13 12:54:55 +00:00
Alexandre Julliard 3f09ec5263 CLIENT_WaitReply: don't clear last error on success; fixed callers
accordingly (based on a patch by Juergen Schmied).
1999-02-28 19:25:51 +00:00
Alexandre Julliard 96c08d817c Use server handles directly for Win32 handles. Removed use of K32OBJ. 1999-02-28 13:27:56 +00:00
Ulrich Weigand 8da55cef2e GetBinaryType[AW] moved to loader/module.c, modified to recognize .COM
and .PIF files.
1999-02-28 11:22:02 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Huw D M Davies 34acebc14b Fixed a few broken includes. 1999-02-19 16:03:19 +00:00
Ian Schmidt 9ba500cac2 Partial stub implementation of undocumented KERNEL routine PK16FNF,
needed by Win98 EXPLORER. Thanks to Ulrich Weigand for information.
1999-02-19 14:04:35 +00:00
Marcus Meissner 04c3e1d456 Removed a lot of occurences of windows.h (and added necessary other
includes).
1999-02-19 10:37:02 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Alexandre Julliard c521db616a Removed CONSOLE_Ops. 1999-02-14 18:04:20 +00:00
Andreas Mohr cabc5a1561 Adds a warning message if permissions not sufficient. 1999-02-13 12:38:51 +00:00
Juergen Schmied 1ed51af346 Small fixes to compile with the headers (mostly nt-security). 1999-02-12 17:47:07 +00:00
Zygo Blaxell edc858c2ca wine_openpty is not properly declared (either missing or mismatched
declarations) in both places where it is used.
1999-02-09 14:14:16 +00:00
Marcus Meissner a2ca7b9852 Continued hack to win32/console.c, so that the IDA Pro Disassembler
works again. Needs much more work however.
1999-02-05 09:32:39 +00:00
Alexandre Julliard 4b461128d6 Added input queue to server-side console object,
read/write_console_input requests, and use them for
Read/WriteConsoleInput.
1999-01-31 19:04:30 +00:00
Alexandre Julliard e1d19f36f8 Berend Reitsma <berend at asset-control.com>
SetFileAttributes32A changed to make file writeable when
FILE_ATTRIBUTE_READONLY is not set.
1999-01-30 12:51:57 +00:00
Marcus Meissner 03f10f44af Do not endlessly loop in CONSOLE_get_input after EOF.
Create xterm even if stdin is not a terminalhandle.
SetConsoleCursorPosition: Only make complex console on row change,
ignore interline positioning (so the cygwin cmdline tools do not
create xterms unnecessary)
1999-01-26 10:08:36 +00:00
Marcus Meissner fbc56256c6 Win32 console needs SYNCHRONIZE access. 1999-01-20 14:46:49 +00:00
Alexandre Julliard 62a8b43301 Hacked server-side device support
Added user APCs support.
Many changes to the xterm console to make use of the server (not
finished yet).
Moved some other small stuff to the server.
1999-01-19 17:48:23 +00:00
Alexandre Julliard 8da12c43a9 Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Marcus Meissner ba8e2a3f9d 0 means success, all else failure for WaitForSingleObject. 1999-01-03 16:18:33 +00:00
Juergen Schmied f7b0de3f26 Moved ADVAPI32 files to dlls/advapi32.
Added stubs for eventlog functions.
1999-01-03 12:48:29 +00:00
Alexandre Julliard 0562539d18 Implemented file sharing checks in the server.
Added set file time server request.
Overall clean up of the file handling (DOS device handling is now
broken, should be redone).
1999-01-03 11:55:56 +00:00
Alexandre Julliard 6ebbe3c949 Cleaned up and removed some no longer used code. 1999-01-01 17:04:00 +00:00
Alexandre Julliard 55443878fc Removed client-side wait functions; all waiting is now done through
the server.
1998-12-31 15:52:06 +00:00
Alexandre Julliard b2340eaa91 Hacks to support server-side console. Should be redone properly
some day.
1998-12-30 12:10:49 +00:00
Alexandre Julliard fbe63adcc7 Reimplemented Read/WriteFile to use server file descriptors.
Removed file position hack as it is wrong for Win32 (should be redone
for Win16 only).
1998-12-30 12:10:06 +00:00
Peter Hunnisett 1d26274c97 CreateFile32A was only allowing console opens on CONIN$/OUT$. This
has been changed to have a case insensitive compare.
1998-12-24 16:26:45 +00:00
Jean-Claude Cote 72bf0868a2 Implemented the GetBinaryType API function. 1998-12-24 16:24:43 +00:00
Rein Klazes 8f1b5e6322 Fix small problem in GetTimeZoneInformation(). 1998-12-24 14:39:25 +00:00
Juergen Schmied 45459a55d4 Stubs for WaitNamedPipe[A|W]. 1998-12-18 13:46:39 +00:00
Marcus Meissner ad7538bfc5 Made async IO (SIGIO) stuff from WINSOCK generic useable.
Added async IO support to FILE and CONSOLE objects.
1998-12-14 18:15:10 +00:00
Marcus Meissner 8bc54b6c93 (ReadConsole32A): small and stupid bug fixed
(WriteConsoleOutput): bug fixed (attributes may change within lines)
and enhanced speedwise by using buffering.
(CONSOLE_string_2_IR): enhanced, now gets scancodes and virtualkeycodes
1998-12-14 14:48:09 +00:00
Marcus Meissner 720cab6696 Two debug messages clarified, one useless prototype removed. 1998-12-11 10:50:44 +00:00
Andreas Mohr 7a6228d1e1 Fixed a bunch of compiler warnings. 1998-12-11 09:16:48 +00:00
Alexandre Julliard 0c0e3bebb8 Authors: Francis Beaudet <francis@macadamian.com>, Sylvain St-Germain <sylvain@macadamian.com>, Thuy Nguyen <thuy@macadamian.com>
Lots of new stubs.
1998-12-10 15:49:22 +00:00
Marcus Meissner 537772a6bb Enhanced Win32 Console (XTERM)
- inputhandling enhanced (keys and mouseclicks)
- win32 synchronization (partial)
- lots of enhancements to drawing functions
- simple/complex console (simple-stdin/stdout -> complex-xterm).
1998-12-09 16:37:04 +00:00
Juergen Schmied 54b33cfbeb Stubs for EnumServiceStatus32, small changes. 1998-11-30 17:41:17 +00:00
Ulrich Weigand 1298062519 Implemented (most) VWin32.VxD DeviceIoControl routines. 1998-11-25 10:20:03 +00:00
Ulrich Weigand a2fe8ebe3c Bugfix: [QF]T_Thunk should clear HIWORD(EAX) on return.
Bugfix: hack for stupid USER32 CallbackGlueLS routine in Common32ThkLS.
1998-11-24 20:44:46 +00:00
Rein Klazes 6df25e8004 Added implementations for InterlockedExchangeAdd() and
InterlockedCompareExchange().
1998-11-14 18:21:32 +00:00