Commit Graph

27501 Commits

Author SHA1 Message Date
Robert Shearman 90decb631c widl: Properly size the return value procformat. 2006-06-02 10:52:23 +02:00
Robert Shearman 6f85f989f5 widl: Only write one procformat string and one typeformat string per file. 2006-06-02 10:52:10 +02:00
Huw Davies bae6d23c5c gdi32: FreeType's idea of metrics has changed for bitmap fonts. 2006-06-02 10:52:03 +02:00
Alexandre Julliard ea50196447 winecoreaudio: Fixed the FSF address. 2006-06-01 13:15:54 +02:00
Ken Thomases 1612ce8659 winecoreaudio: Don't CFAllocate buffer for port message. 2006-06-01 13:09:44 +02:00
Ken Thomases fb5a073e46 winecoreaudio: Use unique name for message port.
Use a unique port name for the message port to the message thread.
Port names are system-global, so using a non-unique constant name
prevents the CoreAudio driver from being used in multiple processes
simultaneously.
2006-06-01 13:08:21 +02:00
Ken Thomases a1e6989a9b winecoreaudio: 8-bit Linear PCM data is unsigned. 2006-06-01 13:05:59 +02:00
Ken Thomases 178f9fecd9 winecoreaudio: Keep processing wavehdrs to satisfy AudioUnit data request.
When fulfilling the output AudioUnit's request for audio data, don't
stop when the current wavehdr is exhausted; advance to the next.  This
addresses the buzzy quality of the sound.
2006-06-01 13:03:22 +02:00
Ken Thomases 6a6aec72d3 winecoreaudio: Improve state tracking.
Improved tracking of device state (stopped, playing, or paused).
Also, tied starting and stopping the AudioUnit more directly to the
state.  No need to change the state when preparing or unpreparing
wavehdrs.  Pausing overrides both playing and stopped states; if
stopped, pausing prevents output from starting when the program
writes.  When, restarting from the paused state, the device starts
playing if there are queued wavehdrs.  Otherwise, it goes to stopped
state.
2006-06-01 12:59:50 +02:00
Ken Thomases fb9f878849 winecoreaudio: Miscellaneous cleanup.
Miscellaneous cleanup: release resources when done with them; protect
against null pointers; reduce redundant code; avoid potential integer
underflow; clarify a do-nothing loop.
2006-06-01 12:59:38 +02:00
Ken Thomases 00e9996339 winecoreaudio: Fix race to open.
Fixes a race condition (noted in a comment for wodOpen) when multiple
threads try to open the same wave-out device simultaneously.
Addressed by creating the device mutexes when the driver is
initialized, instead of as each device is opened.  Then use the mutex
to protect the open operation against races.  At the same time, made
the mutexes recursive to avoid self-deadlocks the driver was
encountering when reentered from the callback.
2006-06-01 12:50:46 +02:00
Mike McCormack 7f98594f75 rpcrt4: Implement NDRCContext(Un)marshall and NDRCContextBinding. 2006-06-01 11:48:33 +02:00
Stefan Dösinger 5de8cd3bd6 wined3d: Adjust the video mem when dropping the pow2 size in GDISurface. 2006-06-01 11:44:38 +02:00
Jacek Caban 349b93ae57 urlmon: Remove no longer needed binding value in task_t. 2006-06-01 11:10:48 +02:00
Jacek Caban e6fc0c5dc2 urlmon: Use task queue for cross thread calls in on_progress. 2006-06-01 11:09:23 +02:00
Jacek Caban 08685417ab urlmon: Use task queue in Switch implementation. 2006-06-01 11:09:07 +02:00
Jacek Caban 99cb95394a urlmon: Added task queue architecture and use it for OnProgress calls from Continue call. 2006-06-01 11:08:51 +02:00
Jacek Caban 89d9287af6 urlmon: Make suse that every OnProgress call is in an apartment thread. 2006-06-01 11:08:29 +02:00
Andrew Talbot 9a1e6aae55 crypt32/tests: Write-strings warning fix. 2006-06-01 11:08:21 +02:00
Mikołaj Zalewski baea6498dd comctl32: header: Update the rects in HEADER_Refresh if needed. 2006-06-01 11:08:09 +02:00
Hans Leidekker 02ca30e8f9 dnsapi: Fall back to a netbios query when a dns query fails. 2006-06-01 11:08:01 +02:00
Andrew Ziem 0b6dbde473 wsock32: Added GetService{A,W} stubs. 2006-06-01 11:07:51 +02:00
Jacek Caban db24fff13e urlmon: Use FindMimeFromData to determine MIME type. 2006-05-31 15:48:16 +02:00
Huw Davies bb835ae438 rpcrt4: Add ENUM32 support to ComplexStructMemorySize. 2006-05-31 15:48:11 +02:00
Robert Shearman 9c738061e0 oleaut32: Make sure to read the memid and the name offset from the
correct offsets, after the function data, so add cFuncs to the offsets
in MSFT_DoVars.

Resolve referenced types for variables.
Fixes initialisation of the dbgrid32 OCX.
2006-05-31 15:48:07 +02:00
Robert Shearman 983ad4accd oleaut32: Resolve referenced types for return values as well as parameters in MSFT typelibs. 2006-05-31 15:47:55 +02:00
Robert Shearman fa4f94bdd5 widl: Allow some more "reserved words" to be used as identifiers. 2006-05-31 15:47:50 +02:00
Robert Shearman caa94a03a4 include: Add some defines used by MIDL-generated code. 2006-05-31 15:47:35 +02:00
Alexandre Julliard 11fe657466 winecoreaudio: Fixed a bunch of compiler warnings. 2006-05-31 14:52:58 +02:00
Alexandre Julliard 788e30f139 dnsapi: Added check for _msg_ptr vs. _ptr member in ns_msg struct. 2006-05-31 14:43:21 +02:00
Alexandre Julliard d1a3383d53 dnsapi: Remove a bunch of unused functions that cause naming conflicts. 2006-05-31 14:25:49 +02:00
Alexandre Julliard 826cc602d5 dnsapi: Portability fixes. 2006-05-31 14:17:04 +02:00
Juan Lang 23791c2510 crypt32: Implement CryptBinaryToStringA and CryptStringToBinaryA.
Implement CryptBinaryToStringA and CryptStringToBinaryA based on Kai
Blin's base64 encoder/decoder.
2006-05-31 11:58:40 +02:00
Mike McCormack 61a0799b88 wineconsole: Store the font as a DWORD_PTR. 2006-05-31 11:58:25 +02:00
Mike McCormack 899840c964 wineconsole: Use a Get/SetWindowLongPtr to store a pointer. 2006-05-31 11:58:15 +02:00
Mike McCormack 74a03d2541 wordpad: Use GetWindowLongPtr to get the HINSTANCE. 2006-05-31 11:58:10 +02:00
Jacek Caban 796cf1713d urlmon: Added text/html filter. 2006-05-31 11:46:31 +02:00
Jacek Caban c73c3362c6 urlmon: Use filters mechanism in FindMimeFromData. 2006-05-31 11:45:37 +02:00
Troy Rollo bdbc482651 ole32: Use STGM_WRITE when opening child storage to delete its children. 2006-05-31 11:45:29 +02:00
Robert Reif 2b3247a424 winmm: Always check for open and close enents in wave test.
Always check for open and close events.
Send WM_APP message to thread to terminate it rather than TerminateThread.
Fix CreateThread/waveOutOpen race by waiting for background thread to
run before waveOutOpen is called.
Add more non-hardware supported formats.  There is a bug in wave
mapper GetPosition when multiple headers are used and this helps
trigger it.
2006-05-31 11:45:22 +02:00
Michael Stefaniuc 15c0db3623 dnsapi: Fixed missing lock release on error path. 2006-05-31 11:44:59 +02:00
Stefan Dösinger 6311d44488 d3d8: Backport of the d3d9 swapchain test to d3d8. 2006-05-31 11:44:47 +02:00
Stefan Dösinger 1c46c693c7 d3d8: Back buffer count fix. 2006-05-31 11:44:32 +02:00
Andrew Talbot 1523b8f19e crypt32: Write-strings warning fix. 2006-05-31 11:44:20 +02:00
Andrew Talbot 9480d3e50a winmm/joystick: joystick.c requires Unicode library. 2006-05-31 11:42:40 +02:00
Alexandre Julliard 1d40bf0141 comctl32: propsheet: Fixed buffer sizes for LoadStringW. 2006-05-30 20:01:19 +02:00
Emmanuel Maillard 144a5353ef winecoreaudio: Initial Audio Driver for Mac OS X. 2006-05-30 19:34:20 +02:00
Hans Leidekker 5931739cde dnsapi: Implement DnsQuery_{A,UTF8,W}. 2006-05-30 19:33:38 +02:00
Hans Leidekker 4cbbce8ea6 dnsapi: Add DNS message parsing routines from BIND. 2006-05-30 19:33:04 +02:00
Mikołaj Zalewski 414128eb94 comctl32: header: Ignore out-of-range iOrder in SetItemT. 2006-05-30 19:30:51 +02:00