Commit Graph

1926 Commits

Author SHA1 Message Date
Marcus Meissner ad37850024 Implement PrintDlg16 better (adding PrintDlgProc16 and several other
16bit dependent functions)
If we are using a template we might not have the default combobox for
printers, use the default printer in those cases.
More error messages and checks.
Added GlobalFlags16 and GlobalReAlloc16 to kernel32.spec.
2001-01-02 22:26:09 +00:00
François Gouget 84d72a9a14 Removed an '#ifdef STRICT'. 2001-01-02 22:16:14 +00:00
Ove Kaaven 865cf3752c Bugfix for sound dropping out, and workaround for Half-Life's
braindead secondary sound buffer management.
2001-01-02 21:02:32 +00:00
François Gouget dea3d786e4 Moved HDROP to shellapi.h. 2001-01-02 21:00:46 +00:00
Andreas Mohr fb976acdd2 Return 8.3 file names.
Fixed sizeof(WCHAR) bugs.
2001-01-02 20:50:34 +00:00
Marcus Meissner 23e271488c A socket becomes readable after connect in Linux 2.4 (even for
connection refused).
2001-01-02 20:35:41 +00:00
Marcus Meissner 7a01b38321 Read 4 bytes to wake up GETISPACE. 2001-01-02 20:32:33 +00:00
Marcus Meissner a983a719ec Added one safety check to AFM parsing. 2001-01-02 20:30:16 +00:00
Marcus Meissner 0fb5457516 16bit user GetProp/SetProp get strings or atoms, so we can use 'str'. 2001-01-02 20:28:25 +00:00
François Gouget 97ad5a7e02 Fixed some 0 vs. FALSE mismatches.
Fixed a '%x' vs. '%lx' mismatch.
Fixed some DWORD vs. SC_HANDLE mismatches.
2001-01-02 20:20:34 +00:00
Andreas Mohr 0bc1d2729b Added Reserved5 -> lstrcmp16. 2001-01-02 20:00:37 +00:00
Andreas Mohr 50ea1101c8 Code was checking for 0 or HFILE_ERROR instead of negative error
values.
2001-01-02 19:56:21 +00:00
Mike McCormack 1c80bc927e Improve async i/o compatability. lpOverlapped->Internal should hold
the overlapped transfer status.
2000-12-29 19:35:25 +00:00
Ian Pilcher 8ed43e6b47 Use a case-insensitive comparison to match PostScript font names. 2000-12-29 05:27:24 +00:00
Andreas Mohr f5682a0f8e - implemented passive FTP transfers (PASV, needed for firewalls)
- fixed lstnSocket closing
2000-12-29 05:19:57 +00:00
Ove Kaaven 0b6c6e7605 Fixed small race condition between vm86_enter() and signal handling.
Made separate save_vm86_context and restore_vm86_context functions.
2000-12-29 03:29:31 +00:00
Rein Klazes 65dc8e47c6 Test pointer before it is dereferenced in CreateEventW(). 2000-12-29 03:18:08 +00:00
Ulrich Weigand 2e8e2334c6 Don't link with libw if libc already contains w* routines.
Link every library with libnsl if required.
Include ieeefp.h where necessary.
2000-12-27 18:49:08 +00:00
Ulrich Weigand d34bc744f8 Compile fix if HAVE_OSS is not defined. 2000-12-27 18:43:30 +00:00
Ulrich Weigand 5a8eef38ed Import kernel32 (for SetLastError()). 2000-12-27 18:35:52 +00:00
Ulrich Weigand cc195924a6 Added check whether unaligned memory access is allowed.
Added macros to access unaligned WORDs / DWORDs.
2000-12-27 04:18:26 +00:00
Andreas Mohr a6d83ebae1 - clarify many error messages
- add data corruption warning to README file
2000-12-27 04:02:46 +00:00
Ove Kaaven 5c0f1e10a6 Release the Win16 lock before starting the DOS process, since it's not
really a Win16 app.
2000-12-27 03:24:20 +00:00
Ove Kaaven 287638fd4c Since DOSVM_Wait() blocks the normal event processing, it should
dispatch pending events itself.
2000-12-27 02:35:57 +00:00
Eric Pouech 099f4c3786 No longer using function pointers to winmm and msvfw32, but delay
loading instead.
2000-12-26 01:26:12 +00:00
Ove Kaaven e5557b357a Separated the MZ loader and core DOS VM into dlls/winedos. 2000-12-26 00:22:45 +00:00
Francois Gouget b065697ad8 Added GetDCBrushColor and GetDCPenColor. 2000-12-26 00:00:46 +00:00
François Gouget ce03ac889c Moved HRASCONN from windef.h.
Added missing Unicode type and function definitions.
Added a few missing macro definitions.
Enclose in an extern "C" for C++ Winelib applications.
Added the structure packing specification.
2000-12-24 20:44:08 +00:00
Eric Pouech 4d24e0f5a6 Replaced calls to KERNEL.Yield16 by calls to KERNEL32.K32WOWYield from
outside libkernel.so.
2000-12-22 23:25:47 +00:00
Hidenori Takeshima d48ca948cb Use dllwrap for building shared libraries in cygwin. 2000-12-22 22:28:00 +00:00
Ove Kaaven 0c7c94b956 More intelligent DirectSound prebuffering. By tracking the
last-written position of streaming buffers, it attempts to avoid
prebuffering past this position unless necessary; this may avoid a
number of sound problems in various situations. Merged HEL and HAL
mixing code, which should reduce the HEL mode's CPU usage slightly.
2000-12-22 20:31:06 +00:00
Joerg Mayer 6178459f50 Add %fs info to the critical section timeout message. 2000-12-22 20:28:46 +00:00
Alexandre Julliard d549f6909e Use a separate FIFO pair for server requests that don't need to pass a
file descriptor.
Associate file descriptors with handles on the server side so that we
don't need to pass the fd every time the client wants to use it.
2000-12-22 02:04:15 +00:00
Marcus Meissner a337437706 IDirectDrawSurface::Blt::SRCCOPY is the default ROP operation, do not
throw error.
2000-12-22 01:39:22 +00:00
Eric Pouech 66267d067e Added some 16 bit entry points needed by multimedia DLLs. 2000-12-22 01:30:36 +00:00
Alexandre Julliard 5801723b50 Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16. 2000-12-22 01:09:26 +00:00
Patrik Stridvall 188002fe71 Fixed some issues found by winapi_check. 2000-12-21 21:08:58 +00:00
Marcus Meissner eba8cee584 Handle errors for IDsDriver_GetPosition.
Report DSERR_UNINITIALIZED on non-opened WineOSS audio device.
2000-12-21 20:49:26 +00:00
Eric Pouech 247a94f688 Cleaned up the code a bit. 2000-12-21 20:21:53 +00:00
Ove Kaaven 96f9a8d609 Enable the DirectSound HAL for sound drivers that do not report
DSP_CAP_REALTIME. Set precision of these to 256 bytes (about 3ms).
2000-12-21 20:20:34 +00:00
Francois Jacques 11ed84009e - TLB_DoFuncs: code cleanup and elemdescFunc read correctly from TLB.
- TLB_LoadTypeLib: ref count problem.
- ITypeLib::GetTypeInfoOfGuid: safer implementation (pointer testing).
- ITypeInfo::GetRefTypeOfImplType: safer implementation (pointer testing).
- ITypeInfo2::GetDocumentationL return errors if SysAllocString failed.
- TLB loader functions now trace in "typelib" channel.
- Improved traces in AddRef/Release and improved dump_* functions for
  debugging.
2000-12-21 20:20:12 +00:00
Dmitry Timoshkov 81cb2387e0 Do not free the not owned error string. 2000-12-21 20:18:40 +00:00
Francois Jacques de3486dd1c Updated SafeArrayGetUBound and SafeArrayGetLBound with more sanity
checks: an array has at least one dimension.
Updated validCoordinates, where SafeArrayGetLBound was called on
dimension 0.
2000-12-21 20:18:18 +00:00
Eric Pouech e93588b7a4 Rewrote the allocation of MM driver descriptors. 2000-12-21 20:17:23 +00:00
Alexandre Julliard 58c58c5445 Fixed debug routines to work before the process heap is created. 2000-12-20 18:43:42 +00:00
Andrew Johnston 03131aae91 Documentation update. 2000-12-19 23:33:03 +00:00
François Gouget 5e5c52d477 DUMMYSTRUCTNAME2 creates a conflict when using anonymous union names. 2000-12-19 23:31:52 +00:00
Francois Jacques 31c6ac2aac Implementation of Dispatch API. 2000-12-19 23:29:58 +00:00
Jon Griffiths 5d4cf0679a - Add several mbcs and CP 932 functions, fix some existing calls
- Bug fixes, -W warnings and winapi_check updates.
- Don't be so strict setting default locale, store codepage
2000-12-19 23:29:15 +00:00
Marcus Meissner a09ece9627 shlwapi forwarders for SetWindowLongW and CallWindowProcW. 2000-12-19 19:37:43 +00:00