Commit Graph

464 Commits

Author SHA1 Message Date
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
Patrik Stridvall 1bb9403938 ANSI C fixes. 1999-05-08 15:47:44 +00:00
Patrik Stridvall 896889f317 ANSI C fixes. 1999-05-08 12:50:36 +00:00
Huw D M Davies a9f55c46c1 Split off wingdi16.h from wingdi.h. Add many more #defines/typedefs
to bring wingdi.h almost upto a complete NT4.0 interface.
Fix return value of SetRectRgn().
1999-05-08 12:45:18 +00:00
Noomen Hamza c4cd0bf6c8 Bug fixes. 1999-05-08 10:50:34 +00:00
Eric Pouech 739c318fff Inverted class/channel in __(SET|GET)_DEBUGGING macros. 1999-05-04 16:23:03 +00:00
Ulrich Weigand 208dd97c1b Fixed off-by-one ordinals in MPR.
Added MPR_Alloc/ReAlloc/Free (MPR.22-24).
1999-05-03 09:24:00 +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
Alexandre Julliard 50b3d7b3e3 Misc fixes and improvements. 1999-05-02 14:24:15 +00:00
Michael Veksler 92ae219e04 Removed redundant include of winbase.h from winuser16.h.
Moved types from winbase.h to winuser16.h .
1999-05-02 11:39:09 +00:00
Klaas van Gend 89faa56700 Bugfix for EnumPrinters level 2. 1999-05-02 09:14:00 +00:00
Juergen Schmied 96ed828d92 Fixed typo. 1999-05-01 10:21:06 +00:00
Ove Kaaven e85220dd0b Fixed off-by-one bug in async output buffers. 1999-05-01 10:18:21 +00:00
Alexandre Julliard 154c99b8c2 Use $HOME instead of getpwuid for user's home directory.
Fixed messed up indentation.
1999-04-25 12:41:36 +00:00
Patrik Stridvall c7a8dde118 #pragma pack(?) changed to #include "*pack*.h" 1999-04-25 12:36:53 +00:00
Andreas Mohr c264f2e020 Improved VERSION_GetVersion. 1999-04-25 10:54:16 +00:00
Uwe Bonnes 2df1afdfa9 Add a stub for GlobalMasterHandle. 1999-04-25 09:22:13 +00:00
Noomen Hamza 9adef53dee Set (when registry loaded) data to "\0" and length to 2 in empty
string value case, in place of setting data to NULL and length to 0,
and this is without initializing output buffer parameter of
RegQueryValue*.
1999-04-24 11:49:26 +00:00
Patrik Stridvall 0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Michael Veksler ff5ae3dd65 Removed some includes of 16 bit API. 1999-04-22 15:26:11 +00:00
Noomen Hamza 7a0c2e6294 Initialize the output buffer parameters to 0 in RegQueryValue*
functions. This is important specially when there's no data to return.
1999-04-22 09:05:19 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Eric Pouech b3c7f84563 Bug fix in GetLen. 1999-04-18 12:16:22 +00:00
Bertho Stultiens c1d1cfe976 Reorganization of the loader to correctly load and free libraries and
implementation of load order to load different types of libraries.
1999-04-18 12:14:06 +00:00
Keith Matthews 364c12413d DdeNameService: expansion of stub to trap unused instanceids at start of run.
DdeGetLastError: catch 'not initialized' situation and return correct response.
DdeFreeStringHandle: complete test for error set by previous call of
something and ignore it, also release handle table mutex on normal exit.
DdeQueryStringA, DdeQueryStringW, DdeCreateStringHandleW: Release
handle table mutex on normal exit.
1999-04-18 09:29:00 +00:00
Uwe Bonnes 67183eb9e1 Don't announce the WNetDirectoryNotify capability WNetGetConnection.
Change the return value for local files.
1999-04-18 09:27:07 +00:00
Juergen Schmied 459e0b829e SystemParametersInfo SPI_GETNONCLIENTMETRICS: implemented menu part. 1999-04-18 09:21:38 +00:00
Michael Veksler 58abac376f Fixed warnings. 1999-04-16 09:41:22 +00:00
Pablo Saratxaga 002106ac22 Added walon language support (I also moved Cz -> Cs, Sw -> Sv, and Po
-> Pt; to conform to standard names for those languages).
1999-04-16 09:06:58 +00:00
Ove Kaaven 9c1a05ab4e _CIpow argument order was confirmed with Starcraft v1.05. 1999-04-15 16:45:17 +00:00
Keith Matthews 8065188d74 More of DdeCreateStringHandleA, DdeFreeStringHAndle, DdeQueryStringA
and DdeCreateStringHandleW and tidy up of RemoveHSZNodes, and
DdeCreateStringHandleA.
1999-04-15 15:55:44 +00:00
Andreas Mohr eed049426f Fixed a crash due to invalid OpenComm return value for busy comm port.
Cleaned up/fixed several things.
1999-04-11 18:47:07 +00:00
Ulrich Weigand 06bcab8a50 Use services thread instead of timer signals. 1999-04-11 15:04:00 +00:00
Klaas van Gend f66bf56609 Added stub for PrinterProperties. 1999-04-11 14:56:45 +00:00
Ove Kaaven f8de23e32e Made _ftol take argument from FPU stack. Starcraft v1.04 (*not* Brood
Wars) now works perfectly with Wine's crtdll. Wrote a test
implementation of _CIpow too, which those who do have Brood Wars can
report on, so it can be implemented correctly.
1999-04-11 14:50:34 +00:00
Michael Veksler 6c30886daf - Fix comments after the big renaming (xxxx32y --> xxxxy).
- Declare the WPRINTF_DATA union, and use it instead of LPCVOID and WORD.
  Avoid ugly type casting, and fix compilation warnings of wsprintf.c
1999-04-11 14:44:54 +00:00
David Gay 6f0056d0bd Fixed crash due to a value of name length 0, value length 0 at the end
of the registry.
1999-04-11 12:00:15 +00:00
Juergen Schmied a9e93b35cf Fixed buffer overrun. 1999-04-11 11:49:46 +00:00
Marcus Meissner bdb6bec83a Reimplemented winsock asynchronous DNS services. No longer use a
fork()ed process, but either a service thread or inline blocking calls
for non-threading architectures. (Makes Free Agent16 work again.)
1999-04-10 16:58:55 +00:00
Sylvain St.Germain e533222a6c Implementation of HKU key saving and loading. Add new supported data
type in debug_print_value.
1999-04-10 16:46:15 +00:00
James Juran fcf353f2b9 Check for drivers==NULL before trying to delete them at exit. This
could happen if the emulator initialization failed for some reason and
the drivers hadn't been initialized yet.
1999-04-10 16:33:56 +00:00
Ulrich Weigand 73663071c6 Call InitApp16 (using Callout) for initial process. 1999-04-10 16:32:45 +00:00