Commit Graph

505 Commits

Author SHA1 Message Date
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
Niels Kristian Bech Jensen 1d5bc469cc Removed extra #include statements. 1999-11-21 02:14:36 +00:00
Patrik Stridvall b9010214d2 Added better missing function emulation. 1999-11-13 22:23:35 +00:00
Jeremy White 321a197209 Add debugstr_hex_dump to allow display hex dumps of data in any
debugging message.
1999-11-12 01:38:12 +00:00
Huw D M Davies f49cb52c69 Fix save_check_tainted to properly scan the tree so that all tainted
branches get saved.
1999-11-12 00:58:15 +00:00
Rein Klazes 077ec0cffd Send WM_CTLCOLOREDIT not WM_CTLCOLORSTATIC messages to parent of a
disabled edit control if the application expects a windows version
before WIN95 and NT40.
1999-11-10 19:55:29 +00:00
Eric Pouech c0bcf26d05 Enable safe reading of registry file, even if file is broken. 1999-11-04 01:38:11 +00:00
Juergen Schmied a72a398ff4 Better version autodetection. 1999-10-31 21:38:31 +00:00
Huw D M Davies 13d00c8dd1 Fixed a few problems with RegEnumKey*. 1999-10-31 17:40:21 +00:00
Patrik Stridvall 2c92835f7b Added missing configuration #if:s and #includes:s. 1999-10-31 02:07:54 +00:00
Huw D M Davies 71c0b94db2 Better handling of newlines in FormatMessage*. 1999-10-31 01:54:17 +00:00
Huw D M Davies c0da44e459 It appears that StartDoc sends the STARTDOC escape with the DOCINFO
structure pointed to with the output data parameter.
1999-10-31 01:49:30 +00:00
Marcus Meissner 31b9dab10b Made LoadHomeRegistryFiles default to TRUE. 1999-10-24 22:08:33 +00:00
Nathaniel 7bf36ad35d Improved registry isolation possibilities. 1999-10-24 19:35:47 +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
Uwe Bonnes 22d4b0afdd Use LoadString16 for FormatMessage16 and handle
FORMAT_MESSAGE_ALLOCATE_BUFFER flag.
1999-10-13 14:00:09 +00:00
Ulrich Weigand 9f14ca6360 Bugfix: DdeNameService was broken. 1999-10-13 12:21:52 +00:00
Andreas Mohr 8670b6f227 Added warning for future VERSION_GetVersion() (mis-)users and made
OSVERSIONINFO warning more detailed.
1999-10-13 12:19:51 +00:00
Marcus Meissner 229a28fc34 Also escape characters >=0x80 within the wineregistry savefile. 1999-10-13 12:15:19 +00:00
Marcus Meissner 17d455b71d Set refcounter to 1 on initial init or WSAStartup/WSAStartup with
following WSACleanup will already free the structures.
1999-09-29 12:10:44 +00:00
Patrik Stridvall 8276f696fc Fixed some of the issues reported by winapi-check. 1999-09-23 11:48:02 +00:00
Patrik Stridvall fe28f25fcb Modification due to problems with winapi-check. 1999-09-23 11:44:52 +00:00
David Luyer 63682fd9c2 getpeername() and getsockname() return errors in errno not h_errno. 1999-09-22 15:09:22 +00:00
Patrik Stridvall e92331ffd0 Fixed ANSI C violations. 1999-09-20 18:52:06 +00:00
Ulrich Weigand 974fd10c69 System timer proc thunk creation moved out of if1632/thunk.c. 1999-09-20 18:45:53 +00:00
Huw D M Davies 103f3b0548 Fix FormatMessage16 at least enough to get win95 16bit printdlg working. 1999-09-19 12:13:46 +00:00
Patrik Stridvall 32b4325d6b Add support for anonymous struct/unions on compilers that implement it. 1999-09-14 07:52:16 +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
Richard Cohen c397a84115 Consequential changes to default system font sizes 1999-09-05 12:24:30 +00:00
Alexandre Julliard 3b96efc0f7 Added configure check for str[n]casecmp. 1999-09-04 14:36:02 +00:00
Marcus Meissner 1c40562bc1 subkey_found did not search for _all_ sub keys. 1999-09-03 12:19:34 +00:00
Juergen Schmied d50f64244d Added resolution of LVM messages. 1999-08-15 16:54:58 +00:00
Juergen Schmied f7a3fc105d Fixed ascii/unicode issue for naming of the mutexes.
Made mutex handles global.
Fixed incorrect interpretation of return values of WaitForSingleObject.
1999-08-15 14:23:41 +00:00
Uwe Bonnes 684ee2ce21 - implemented GetCommModemStatus
- fixed the DTR, CTS and COMMBREAK related subfunctions of EscapeCommFunction
- added more verbose TRACEing
1999-08-14 15:53:50 +00:00
Morten Eriksen 594af0de05 Made GetVersionEx() behave in accordance with the specification with
regard to error handling.
1999-08-14 15:53:07 +00:00
Ulrich Weigand bb1984e6bd Separated Win16 (USER) and Win32 (MPR) network routines.
Moved implementation of MPR to dlls/mpr/.
Added proper headers and stubs for missing MPR routines.
1999-08-07 14:32:33 +00:00
Andreas Mohr d4b13da309 Improved (sort of) RegFlushKey. 1999-08-07 14:17:10 +00:00
Uwe Bonnes f57ef1d4a9 - added some more Baudrates
- fixed a hang in tcsetattr when the input buffer isn't empty
- added more verbosity for debugging
1999-08-07 12:28:09 +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 c9c2a59c62 Use the service thread for comm notifications. 1999-08-01 14:46:51 +00:00
Patrik Stridvall 2c684081c1 Fixed some of the issues reported by Solaris Lint. 1999-07-31 17:36:48 +00:00
Patrik Stridvall b8684a266b Fixed some of the issues reported by winapi-check. 1999-07-31 17:32:05 +00:00
Eric Kohl 539b7b416b Added stub for _except_handler2(). 1999-07-31 13:05:53 +00:00
Ove Kaaven 1c08ac604e Bugfixes and a fake GETBASEIRQ. 1999-07-31 13:00:24 +00:00
Huw D M Davies 815615025e {Start|End}{Doc|Page} go through DCfuncs.
Implement these in the PostScript driver.
Change PSDRV_Escape to use them.
1999-07-25 11:25:59 +00:00
Ulrich Weigand 2f4bd6617f Unify startup sequence for Wine and WineLib. 1999-07-24 12:20:24 +00:00
Huw D M Davies d016b0a02d Implement handling of 32 bit AbortProc. 1999-07-24 12:09:34 +00:00
Alexandre Julliard e02a540bf6 Fixed GetW32SysVersion16 return type. 1999-07-24 10:28:37 +00:00
Ulrich Weigand 22d2c527b8 Bugfix: Reverted CallTo16 routines to STDCALL convention. 1999-07-23 19:27:36 +00:00
Lionel Ulmer 2bce6fea7e - Added a new option 'noxshm'
- Added a 16bpp -> 32 bpp conversion function
1999-07-23 19:19:56 +00:00
Albert den Haan 3dc0421938 Remove string.c because all of its functions were moved to crtdll.c
where they belonged.
1999-07-18 18:42:29 +00:00
Ian Schmidt d736ef4b1d Added version information for Win98. 1999-07-18 15:33:25 +00:00
Eric Pouech ffbaf243cd debug_(snoop|relay)_(exclude|include)list => fixed allocation, modules
are now stored uppercase.
1999-07-18 15:30:29 +00:00
Ove Kaaven 832565dc68 Added missing include netinet/tcp.h, for TCP_NODELAY. 1999-07-18 13:26:57 +00:00
Keith Matthews f73b72b557 Minor bug fixes in DdeNameService, also changes to move towards
process-safe code.
1999-07-15 16:08:32 +00:00
Marcus Meissner fe9bdf9543 ERROR_MORE_DATA requires to write the needed number of bytes into the
lpcchX value (verified against NT3.51 advapi32.dll).
1999-07-15 14:33:17 +00:00
Eric Pouech 5d04f652f6 Compiler warnings fix. 1999-07-12 13:41:20 +00:00
Eric Pouech f216310866 Dumb fixes. 1999-07-12 13:39:58 +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
Marcus Meissner e32a317b76 Removed the old, historical and no longer working IPC support. 1999-07-11 14:13:56 +00:00
Ulrich Weigand 3dff7bb842 Modularized CallFrom/To16 routines. Adapted dependent routines,
16-bit snoop/relay debugging, and make rules.
1999-07-11 13:58:31 +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
Ulrich Weigand ee1e4ce4b9 Bugfix: exit() replaced by ExitProcess(). 1999-07-10 11:45:51 +00:00
Huw D M Davies df088c6949 Added `const's to some registry API functions. 1999-07-10 11:41:24 +00:00
Juergen Schmied 8d79990591 Added stub for WNetGetUniversalName[A|W]. 1999-07-10 10:11:40 +00:00
Patrik Stridvall a4b80d4495 Fixes for compile on non-Intel platforms. 1999-07-04 11:05:57 +00:00
Marcus Meissner 623c0d6f94 some small include fixes, some checks for NULL ptrs,
loader/elf.c: fixed the "lib" insertion
crtdll: added fsopen()
dinput: return that we are attached.
1999-07-03 16:01:42 +00:00
Alexandre Julliard 61fece0590 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-06-26 19:09:08 +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
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Eric Kohl dd5bf84c0d Added WNetRemoveCachedPassword() stub. 1999-06-26 11:52:52 +00:00
Marcus Meissner f2ef1455a4 Fixed the stringcompare in _find_or_add_*() (was missing tolower()s). 1999-06-26 11:41:33 +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
Andreas Mohr d1fc9e80ac Bug fix. 1999-06-18 17:00:58 +00:00
Patrik Stridvall 857eb39206 Mad the include files idempotent using a consistent macro naming
scheme.
1999-06-12 18:36:54 +00:00
Patrik Stridvall 4bf335497d Removed direct references to CLASS internals. 1999-06-12 14:52:15 +00:00
Andreas Mohr cd3278be3f Rearrange winver detection code and cache the winver value we
determined in the PDB to speed up.
1999-06-12 14:46:54 +00:00
Marcus Meissner adf8a0cbe6 Use @sysconfdir@ for the default registries in misc/registry.c too. 1999-06-12 08:18:38 +00:00
Ove Kaaven a88444e1b3 Implementation of EV_RXFLAG. 1999-06-12 06:43:48 +00:00
Keith Matthews edc3faede3 1st cut implementation of DdeNameService (omits monitor callback)
1st cut implementation of DdeKeepStringHandle (probably complete)
DdeInitializeW - minor changes to initialise service names structure
DdeGetLastError - start of proper last error retrieval
DdeCreateStringHandle16 - added code for default codepage where not
supplied.
Various documentary/comment corrections.
1999-06-12 06:33:14 +00:00
Ulrich Weigand 5cec819d11 Removed Callback.CallTaskRescheduleProc(). 1999-06-06 14:52:05 +00:00
Robert W Hall 1c9b13e9d6 Added 2 stubs. 1999-06-05 11:51:40 +00:00
Marcus Meissner 230599aadf Fixed some warnings. 1999-05-29 11:08:36 +00:00
Ove Kaaven a811ea5d82 Fixed a couple of missing event notifications. Some more debugging
messages.
1999-05-29 11:05:38 +00:00
Alexandre Julliard c2bc2ef162 Release the Win16Lock before calling WinExec. 1999-05-24 15:02:18 +00:00
Ulrich Weigand 89fc6fda97 Moved WINSOCK network IO event handling to special thread.
Removed EVENT_WaitNetEvent, introduced a global scheduler event.
1999-05-24 08:13:02 +00:00
Alexandre Julliard 4cc1b339cf Implemented the Win32 debug API functions. 1999-05-23 19:57:42 +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
Marcus Meissner ddca315388 Replaced all occurences of SYSMETRICS_xx and sysMetrics[SM_xx] by
GetSystemMetrics(SM_xx), removed no longer needed includes of
sysmetrics.h.
1999-05-22 11:33:23 +00:00
Marcus Meissner 090e2d873e Added init function for CRTDLL, allocate stdio/stderr/stdout on
DLL_PROCESS_ATTACH, increase buffer for vfprintf() (Win95 arp.exe
needs 1.3KB).
1999-05-22 10:37:57 +00:00
James Juran 407f6ba571 Print a more effective (and visible) error message when an application
can't create a socket with type == SOCK_RAW.
1999-05-22 10:35:19 +00:00
Juergen Schmied 155168eb6d Implemented printing out of some structures. 1999-05-22 10:32:09 +00:00
Huw D M Davies e39b676ae9 Implement DocumentProperties, DeviceCapabilities, beginnings of
Open/Get/ClosePrinter.  Additions to PSDRV_DeviceCapabilities.
Split off WINSPOOL into its own directory.
Several functions added to DC_Funcs.
Based largely on a patch by Pascal Lessard <pascal@macadamian.com>
1999-05-17 16:20:51 +00:00
Ulrich Weigand 73cf91e00a Some stubs added. 1999-05-17 14:56:23 +00:00
Alexandre Julliard 89fae7eb30 Moved some exception definitions to winnt.h and ntddk.h. 1999-05-12 12:47:01 +00:00
Marcus Meissner 01f3dc3eba WSOCK32/WINSOCK uses SetLastError() to keep its own WSALastErrors,
replaced all pwsi->err references.
1999-05-12 10:34:03 +00:00
Marcus Meissner 450bc798c2 More debug output for RegQueryInfoKey. 1999-05-09 15:59:27 +00:00