Commit Graph

17312 Commits

Author SHA1 Message Date
Jacek Caban ee8c855f77 mshtml: Added begining binding code in IPersistMoniker::Load. 2006-06-03 11:50:59 +02:00
Jacek Caban f1d2e37655 mshtml: Set binding channel, listener and context in AsyncOpen. 2006-06-03 11:50:45 +02:00
Jacek Caban e0157ba201 mshtml: Store BSCallback in NSContainer and use it instead of load_call. 2006-06-03 11:48:59 +02:00
Jacek Caban 813e82f253 mshtml: Add create_nscallback function to allow using BSCallback out of navigate.c. 2006-06-03 11:48:40 +02:00
Jacek Caban beb5366e6f mshtml: Move some code from before_async_open to AsyncOpen. 2006-06-03 11:47:14 +02:00
Jacek Caban 08ae32e43a mshtml: Get rid of (currently disabled anyway) nsIWebBrowserStream.
We have to handle it in another way.
2006-06-03 11:46:35 +02:00
Kai Blin be4d1fea4d secur32: Don't fail on SECURITY_NETWORK_DREP, ntlm_auth handles this just fine. 2006-06-03 11:45:41 +02:00
Jacek Caban e4211f4358 urlmon: Use task queue to handle OnDataAvailable call. 2006-06-03 11:43:26 +02:00
Jacek Caban 67b51130f5 urlmon: Added OnResponse implementation. 2006-06-03 11:43:18 +02:00
Marcus Meissner 312fa564db sane.ds: Replace FIXME() by TRACE() on sane_exit. 2006-06-03 11:43:08 +02:00
Robert Shearman 0fad0895d7 rpcrt4: Don't try to resolve the name when constructing a protocol tower.
Instead just fill it in with all zeros.
2006-06-03 11:42:54 +02:00
Robert Shearman ebcd6b6a24 rpcrt4: Change ComputeConformance and ComputeVariance from macros to
inline functions. Clear pStubMsg->Offset in ComputeVariance since it
isn't set by ComputeConformanceOrVariance and so could be left filled
with garbage.
2006-06-03 11:42:36 +02:00
Robert Shearman a48433453b rpcrt4: The lifetime of the binding handle stored in the context
handle is independent of the binding handle used in the call that
unmarshaled it, so we should use RpcBindingCopy to make a copy of it
and then call RpcBindingFree later to free it.
2006-06-03 11:42:25 +02:00
Robert Shearman a4fff73ba3 rpcrt4: Fix an incorrect format string pointer being passed in to
ComputeVariance in NdrConformantVaryingStructBufferSize.
2006-06-03 11:42:13 +02:00
Robert Shearman 6a11aba526 rpcrt4: Skip over the right-hand-side data for the protocol floor so
that we can parse the towers received from native rpcrt4.
2006-06-03 11:42:03 +02:00
Robert Shearman da44126395 rpcrt4: Align the buffer correctly when marshaling and unmarshaling context handles. 2006-06-03 11:41:51 +02:00
Robert Shearman ec5b3c3ea6 rpcrt4: Freeing a NULL context handle is allowed. 2006-06-03 11:41:42 +02:00
Robert Shearman 1a346a4a13 rpcrt4: NdrClientContextMarshall/Unmarshall should both increment the buffer pointer. 2006-06-03 11:41:33 +02:00
Robert Shearman dc6c640cd2 rpcrt4: Fix the unmarshaling of pointers in conformant varying arrays,
by passing the correct type format string to ReadConformance.
2006-06-03 11:41:22 +02:00
Robert Shearman 972ce2f635 rpcrt4: CContext can be NULL in NDRCContextMarshall, in which case we should marshall all-zeros. 2006-06-03 11:41:07 +02:00
Robert Shearman 678ad6286c rpcrt4: Fix the pointer count used when handling embedded pointers in varying arrays. 2006-06-03 11:40:45 +02:00
Robert Shearman 423e7e3089 rpcrt4: Print some more informative error messages when getaddrinfo fails. 2006-06-03 11:40:42 +02:00
Mike McCormack 24b886d916 wininet: Simple tests for InternetGetCookie's parameters. 2006-06-02 20:44:11 +02:00
Mike McCormack 68d18612a0 wininet: Fix up and test InternetSetCookie parameter checking. 2006-06-02 20:44:04 +02:00
Mike McCormack 7b3cf21dc1 wininet: Remove some dead code (Coverity). 2006-06-02 20:43:58 +02:00
Saulius Krasuckas 67e6040c2d advapi32: Enable some tests and extend them to succeed on XP and 2003 SP1. 2006-06-02 20:43:50 +02:00
Saulius Krasuckas 9b2fe9e193 rasenh: Fix a copy&paste bug at passing only one string to RegSetValueExW() at a time. 2006-06-02 20:43:47 +02:00
Mikołaj Zalewski 276bbb9f97 shell32: Remove the now unused SHELL_DeleteFileA and SHELL_DeleteDirectoryA. 2006-06-02 20:43:27 +02:00
Mikołaj Zalewski b84f3093d5 shell32: Avoid Unicode->ANSI conversion when deleting a file. 2006-06-02 20:43:08 +02:00
Juan Lang 9879a47f9d crypt32: Add name value tests.
Add tests for name values, and move tests for different string
encodings to there.
2006-06-02 20:42:48 +02:00
Juan Lang a7f6a0128c crypt32: Remove exception handling from internal decoding functions. 2006-06-02 11:46:44 +02:00
Juan Lang 6d668d9d38 crypt32: Add a couple CRL encoding tests, one that shows a problem. 2006-06-02 11:46:23 +02:00
qingdoa daoo 7c34bfab20 user32: Fix selection handling for listboxes with LBS_EXTENDEDSEL style. 2006-06-02 11:45:43 +02:00
Juris Smotrovs b8d9f3955a user32: Send WM_SIZE when window changes state between restored/min/maximized. 2006-06-02 11:42:11 +02:00
Wino Rojo 7b6fbd2898 x11drv: Fix for a BadMatch error. 2006-06-02 11:36:31 +02:00
Detlef Riekenberg 38eb9a71ae winspool/tests: Remove the check for unimplemented functions. 2006-06-02 11:28:53 +02:00
Detlef Riekenberg f0a62dd633 winspool.drv: Add GetPrintProcessorDirectoryW. 2006-06-02 11:26:24 +02:00
Robert Shearman efc974d1f5 rpcrt4: All of the parameters to TowerExplode are optional. 2006-06-02 11:24:29 +02:00
Robert Shearman e15e60b9f9 rpcrt4: Implement TowerConstruct and TowerExplode.
Add some tests for these undocumented functions.
2006-06-02 11:24:20 +02:00
Robert Shearman 37364b836f rpcrt4: Add functions for generating and parsing the upper floors in endpoint-mapper towers for different transports. 2006-06-02 11:24:03 +02:00
Robert Shearman 84ab2e78a4 rpcrt4: Implement I_RpcAllocate and I_RpcFree. 2006-06-02 11:22:56 +02:00
Robert Shearman cc9baf364e rpcrt4: Don't send the unused part of the allocated buffer. 2006-06-02 11:22:44 +02:00
Robert Shearman 11da87d098 rpcrt4: NdrClientInitializeNew shouldn't clear all of the stub message, only selected fields. 2006-06-02 11:22:38 +02:00
Paul Vriens ddf0049e9c comctl32/header: Check Null before accessing struct member. 2006-06-02 11:22:26 +02:00
Kai Blin f21983cf11 secur32: Add EncryptMessage and DecryptMessage stubs. 2006-06-02 11:22:12 +02:00
Michael Kaufmann 6a74137d70 user32: Popup menu position fixes.
- Open large popup menus on the other side only if there's enough space
- Open popup menus such that the y position of the first item in the
  popup menu is the same as the y position of the focused menu item.
2006-06-02 11:22:04 +02:00
Dmitry Timoshkov 2827e7bbb6 user32: Replace PeekMessage loops in the PeekMessage test by explicit calls.
Replace all 'while (PeekMessage()) DispatchMessage();' loops in the
PeekMessage test by explicit calls to PeekMessage(), check queue
status and processed messages after each call to see what is going on
behind the scene.
2006-06-02 11:21:26 +02:00
Juan Lang 3174806f86 crypt32: Make base64 tests loadable on win9x. 2006-06-02 11:20:41 +02:00
Vitaliy Margolen a3aa7cf033 shell32: Add Fonts to user's shell folders list. 2006-06-02 10:52:33 +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
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
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
Mikołaj Zalewski 2c86775d91 kernel32: Prevent truncating characters to 8 bits in FormatMessageW. 2006-05-30 19:30:44 +02:00
Andrew Ziem f1b449942f msi: Increase verbosity in some failing tests. 2006-05-30 19:30:30 +02:00
Mike McCormack 739cd1ea32 wininet: Don't crash when querying NULL values. 2006-05-30 19:29:52 +02:00
Mike McCormack 8af1faec24 wininet: Add a test for basic authentication. 2006-05-30 19:29:48 +02:00
Mike McCormack 2e1d2b30f8 user32: Stub implementations for Win64's Get/Set LongPtr functions. 2006-05-30 19:29:36 +02:00
Troy Rollo f1bd9ae2da comdlg32: Prevent SEGV in FILEOPEN95_OnOpen when a malformed filter is passed.
FILEOPEN95_OnOpen assumes that each item in the filter list returns a
non-NULL pointer for CB_GETITEMDATA.
2006-05-30 12:34:30 +02:00
Vitaliy Margolen 93fd4c12f8 wined3d: Properly destroy texture object if we failed to create its surfaces. 2006-05-30 12:34:26 +02:00
Vitaliy Margolen 19d19b2b79 d3d9: Add reference to the parent device for surfaces.
Allow some objects to have no parent device.
Tighten refcount tests and test refound decrement on Release.
2006-05-30 12:34:22 +02:00