Commit Graph

23754 Commits

Author SHA1 Message Date
Alexandre Julliard 7df060fc43 ntdll: Rely on the server to queue the final APC for asynchronous read/write. 2007-04-06 20:17:08 +02:00
Alexandre Julliard 55f3605c37 ntdll: Reimplement NtWriteFile.
Always try a write() before queuing an async I/O.
Handle timeout waits for synchronous I/O entirely on the client side.
Queue the final APC as a proper user APC.
2007-04-06 16:06:16 +02:00
Alexandre Julliard 539d5863e6 ntdll: Reimplement NtReadFile.
Always try a read() before queuing an async I/O.
Handle timeout waits for synchronous I/O entirely on the client side.
Queue the final APC as a proper user APC.
2007-04-06 16:05:53 +02:00
Dmitry Timoshkov 56852a5eac user32: Windows uses ptMaxTrackSize to set an initial window size not ptMaxSize. 2007-04-06 12:37:53 +02:00
Alexandre Julliard aef2edb0cf kernel32: Add a bit of slack to the mailslot timeout test. 2007-04-06 12:35:21 +02:00
Andrew Talbot 2bd62004cf comdlg32: Remove inappropriate const qualifier. 2007-04-06 12:31:10 +02:00
Andrew Talbot 03fc0989a3 comdlg32: Constify some variables. 2007-04-06 12:31:10 +02:00
Andrew Talbot a855ba87da comdlg32: Constify some variables. 2007-04-06 12:31:10 +02:00
Andrew Talbot 80d80c66af comdlg32: Constify some variables. 2007-04-06 12:31:09 +02:00
Dmitry Timoshkov 1b2a2943b8 shlwapi: Fix a forward to user32.PrivateExtractIconExW. 2007-04-06 12:31:09 +02:00
Fabian Bieler dcd416edbe wined3d: Add GL_EXT_framebuffer_blit to extension handler. 2007-04-06 12:31:09 +02:00
Felix Nawothnig 7657913873 comctl32: Allow destruction of toolbar in BN_CLICKED handler. 2007-04-06 12:31:08 +02:00
Chris Robinson f352d9de98 quartz: Send a notification when the filter graph clock changes. 2007-04-06 12:31:07 +02:00
Chris Robinson d51098ef11 quartz: Avoid releasing NULL objects. 2007-04-06 12:31:07 +02:00
Felix Nawothnig b7f0901956 comctl32: Use appropriate font for header drag image. 2007-04-06 12:31:05 +02:00
Felix Nawothnig a4d3e46e65 comctl32: Fix item rect calculation. 2007-04-06 12:31:05 +02:00
Michael Stefaniuc 590bf1be88 msvcrt: Demangle a C++ mangled string that is only a name with it's template argument list. 2007-04-06 12:31:05 +02:00
Michael Stefaniuc 4718261e9b msvcrt: Move the code to demangle a name with its template argument list out of get_class() and into a separate function. 2007-04-06 12:31:04 +02:00
Rob Shearman 1360357f92 ole32: Fix a hack which depended on the IID of the interface being marshaled
to determine whether we were marshaling the remote unknown for the
apartment or not.
2007-04-06 12:31:04 +02:00
Hans Leidekker fbe37d1b68 wintrust: Improve a number of stubs. 2007-04-06 12:31:04 +02:00
Alexandre Julliard fd09846864 ntdll: Make test for heap boundaries more strict in HEAP_FindSubHeap. 2007-04-05 22:06:38 +02:00
Rob Shearman 74c04149be ole32: Move declaration for FileMonikerImpl_DecomposePath from compobj_private.h to moniker.h. 2007-04-05 13:26:29 +02:00
Rob Shearman 63ea015c65 ole32: Don't release the registered drop targets in OleUninitialize.
Do it in DLL_PROCESS_DETACH instead.
2007-04-05 13:25:18 +02:00
Rob Shearman 47432cba45 ole32: Check the input hwnd is valid in RevokeDragDrop. 2007-04-05 13:25:05 +02:00
Rob Shearman 2d8ae2cf83 ole32: Check for COM not being initialised and an invalid window handle being input to RegisterDragDrop. 2007-04-05 13:24:54 +02:00
Rob Shearman db4972f1fb ole32: Add tests for drag and drop functions. 2007-04-05 13:23:59 +02:00
Paul Vriens 9707a2de58 user32/tests: Don't run unicode tests if not supported. 2007-04-05 11:56:24 +02:00
Paul Vriens f5678a4d38 ntdll/tests: Use GetModuleHandle and skip. 2007-04-05 11:56:18 +02:00
Dmitry Timoshkov dddf348716 winspool: Add a test for DeviceCapabilities, fix some bugs found. 2007-04-05 11:56:08 +02:00
Alexandre Julliard 2a9dfe242b ws2_32: Don't access the IO_STATUS_BLOCK until the I/O operation is finished. 2007-04-05 11:29:30 +02:00
Alexandre Julliard 7165e19a24 ntdll: Avoid relying on the IO_STATUS_BLOCK for storing the current transfer count. 2007-04-05 11:03:38 +02:00
Alexandre Julliard e57749d5a8 ntdll: Avoid setting status in IO_STATUS_BLOCK until the I/O operation is done. 2007-04-05 10:55:40 +02:00
Fabian Bieler 0ce39d5869 wined3d: Fix GLSL cnd instruction.
According to MSDN the cnd instruction should translate:
dst = src0 > 0.5 ? src1 : src2;
2007-04-05 10:55:00 +02:00
Fabian Bieler fd6395f0c7 wined3d: Fix UpdateSurface for sourceRect != sourceWidth. 2007-04-05 10:54:24 +02:00
Andrew Talbot 65479a2424 comdlg32: Constify some variables. 2007-04-05 10:54:18 +02:00
Andrew Talbot 918c9d9ac1 comdlg32: Constify some variables. 2007-04-05 10:54:13 +02:00
Andrew Talbot fc5f6d4bdc comdlg32: Constify some variables. 2007-04-05 10:54:07 +02:00
Stefan Leichter 0dcf196001 advapi32: Add some tests for RegDeleteTreeA. 2007-04-05 10:53:59 +02:00
Aric Stewart 6230222aab ole32: Storage optimization.
We do not need to unmap and remap all the victim pages with every
resize as they are simply a cache. Provides significant speedup for
saving large storage files.
2007-04-05 10:53:47 +02:00
Peter Beutner 86cbbaf930 ntdll: Remove one exception test. 2007-04-05 10:53:36 +02:00
Maarten Lankhorst e97a5e7879 winearts.drv: Kill off winearts. 2007-04-04 22:09:16 +02:00
Rob Shearman 15a1723c1a ole32: In 16-bit OLE, LPOLESTR uses multibyte, not Unicode characters so make LoadTypeLib16 take an LPSTR instead of LPOLESTR. 2007-04-04 21:28:41 +02:00
Rob Shearman ab7f796fcb ole32: Keep a list of the loaded dlls for each apartment.
Use it to make CoFreeUnusedLibraries per-apartment.
2007-04-04 21:28:36 +02:00
Rob Shearman 30721a88e3 ole32: Cache the address for the library's DllGetClassObject and DllCanUnloadNow in the OpenDll list entry. 2007-04-04 21:28:01 +02:00
Rob Shearman 1d8879bccc ole32: Add a test that shows CoFreeUnusedLibraries only frees unused libraries from the current apartment. 2007-04-04 21:27:12 +02:00
Rob Shearman c40f1b6659 ole32: Move the handling of loading a dll and getting an in-process object from it to an apartment-specific function.
Use it to implement apartment_hostobject in a cleaner way so that it is 
guaranteed to not recurse.
2007-04-04 21:27:07 +02:00
Rob Shearman 679bfdab28 ole32: Move the in-process module loading to COMPOBJ_DllList_Add. 2007-04-04 21:26:53 +02:00
Rob Shearman 247255568c ole32: Convert the OpenDll list to a standard Wine list.
Store the library name and make it reference counted.
2007-04-04 21:26:47 +02:00
Fabian Bieler 7df5deab23 wined3d: Add support for float texture formats back in. 2007-04-04 21:26:36 +02:00
Fabian Bieler 91df230624 wined3d: Fix GLSL cnd instruction for INF and NAN arguments. 2007-04-04 21:26:30 +02:00
Fabian Bieler 2843b0f929 wined3d: Fix GLSL cmp instruction for INF and NAN arguments. 2007-04-04 21:26:23 +02:00
Chris Robinson 30abd4ed15 quartz: Tell filters to stop sending data when the chain is broken. 2007-04-04 21:26:16 +02:00
Chris Robinson 9d41c2e694 quartz: Don't call ReleaseSemaphore on NULL semaphore handles. 2007-04-04 21:26:09 +02:00
Chris Robinson f9527e9ce8 quartz: Implement Get/SetSyncSource for the FilterGraph's IMediaFilter interface. 2007-04-04 21:26:04 +02:00
Alexandre Julliard a867553146 server: Use the standard file descriptor signal mechanism for directory changes. 2007-04-04 19:54:33 +02:00
Alexandre Julliard 072698c953 winex11.drv: Store the display file descriptor directly in the server message queue.
Get rid of a few WaitForMultipleObjectsEx hacks.
2007-04-04 18:02:53 +02:00
Paul Vriens 60ff8d17dd odbccp32: Don't print *pcbPathOut as it can be NULL (Coverity). 2007-04-04 16:16:59 +02:00
Aric Stewart 5688ffb7ab comctl32: Propsheet exception fix.
Do not attempt to draw a page during WM_PAINT if there is no active page.
2007-04-04 16:16:53 +02:00
Felix Nawothnig e3d3d1823d wined3d: Only issue state_patchsegments FIXME once. 2007-04-04 12:45:57 +02:00
Felix Nawothnig 413b9b2ad2 wined3d: Downgrade some ERRs to FIXMEs. 2007-04-04 12:45:49 +02:00
Paul Vriens ec30f6de30 ole32/stg_bigblockfile: Check page before use (Coverity). 2007-04-04 12:45:05 +02:00
Chris Robinson b7a4405d0a quartz: Break loop on error in ACMWrapper. 2007-04-04 12:40:05 +02:00
Chris Robinson 243351d223 quartz: Add a QueryConnect method for transform filters. 2007-04-04 12:39:58 +02:00
Chris Robinson 71bcdc9044 quartz: Connect input when the pins connect, not when querying.
And clean up when disconnecting input.
2007-04-04 12:39:49 +02:00
Chris Robinson c28b534550 quartz: Hold a reference on the PullPin's filter while the processing thread is alive.
Also removes dead code caused by the change.
2007-04-04 12:39:30 +02:00
Rob Shearman 99c0335222 atl: AddRef the object being returned in AtlInternalQueryInterface, not "this". 2007-04-04 12:39:19 +02:00
Rob Shearman 3fbe9db433 msi: Don't wait on closed handles in ACTION_FinishCustomActions.
The handle will be closed by free_custom_action_data, so duplicate the 
handle before calling it.
2007-04-04 12:39:14 +02:00
Rob Shearman 20171ac200 ntdll: Pass the correct value to NtClose in the tests. 2007-04-04 12:39:09 +02:00
Alexandre Julliard 4e5c7038da server: Make timeout status for async I/O specifiable. Fix mailslots timeout handling. 2007-04-03 19:12:31 +02:00
Alessandro Pignotti 3040e09ae3 dplayx: Implement proper interface locking for DP_EnumSession. 2007-04-03 13:14:38 +02:00
Laurent Vromman 932c6f5bdd gdi32: Correct WidenPath behaviour when working on an open path. 2007-04-03 13:00:24 +02:00
Laurent Vromman 525fd82366 gdi32: Correction of WidenPath behaviour when pen width is 1. 2007-04-03 13:00:09 +02:00
Jason Edmeades 94b9b6146d oleaut32: Convert to VT_DECIMAL fails with overflow (with test). 2007-04-03 11:32:57 +02:00
Chris Robinson c76d5561a8 quartz: Use a second-long DSound buffer for playback. 2007-04-03 11:32:40 +02:00
Francois Gouget 996ced1981 shell32/tests: On NT4 FindExecutable() returns an extra backspace character in some tests. 2007-04-03 11:32:32 +02:00
Francois Gouget 1736e7eb76 shell32/tests: On Windows 98 FindExecutable() does not '\0' terminate the returned command which caused many tests to fail. 2007-04-03 11:32:27 +02:00
Francois Gouget 789fb4c994 shell32/tests: End the lines with CR+LF otherwise the profile APIs are unable to read them back on Win >= 2000. 2007-04-03 11:27:28 +02:00
Francois Gouget 95ddcc3bae shell32/tests: Fix some expected FindExecutable() error codes.
Add comments indicating which Windows version returns a given error code.
2007-04-03 11:27:24 +02:00
Francois Gouget 0081b430e1 Assorted spelling and English fixes. 2007-04-03 11:23:12 +02:00
Francois Gouget a8695bae88 ole32/tests: Spelling fix. 2007-04-03 11:22:57 +02:00
Francois Gouget f4f4eb24c8 ole32/tests: Spelling fix. 2007-04-03 11:22:52 +02:00
Andrew Talbot b01c2c8ae5 avifil32: Constify some variables. 2007-04-03 11:22:44 +02:00
Andrew Talbot 8e2bee8cb1 comcat: Constify some variables. 2007-04-03 11:22:34 +02:00
Andrew Talbot 970cfc7485 advpack: Constify some variables. 2007-04-03 11:22:29 +02:00
Andrew Talbot 51bb7d1522 atl: Constify some variables. 2007-04-03 11:22:25 +02:00
Andrew Talbot 3c75d9380a advapi32: Constify some variables. 2007-04-03 11:22:20 +02:00
Andrew Talbot b84348c4ce comctl32: Constify some variables. 2007-04-03 11:22:12 +02:00
Andrew Talbot 3c9f867f77 comctl32: Constify some variables. 2007-04-03 11:22:06 +02:00
Andrew Talbot 58ec988800 comctl32: Constify some variables. 2007-04-03 11:22:00 +02:00
Andrew Talbot 51ee497174 comctl32: Constify some variables. 2007-04-03 11:21:51 +02:00
Andrew Talbot 13cd63af43 comctl32: Constify some variables. 2007-04-03 11:21:45 +02:00
Andrew Talbot 8366dd1703 comctl32: Constify some variables. 2007-04-03 11:21:17 +02:00
Andrew Talbot af16b105a7 comctl32: Constify some variables. 2007-04-03 11:21:11 +02:00
Alexandre Julliard 2a86f347fa kernel32: Added some last error tests for mailslots. 2007-04-02 20:25:08 +02:00
Aric Stewart 2a8463b558 comctl32: Unset active page while setting a new active page for a propsheet.
Before calling the PSN_SETACTIVE in PROPSHEET_SetCurSel set the
active_page to -1. This prevents crashes and corruption of the
property sheet if the application makes any modifications during the
PSN_SETACTIVE.
2007-04-02 12:09:19 +02:00
Michael Ploujnikov 56391a3a85 wined3d: Remove DDBLT_WAIT fixme. 2007-04-02 12:05:24 +02:00
Andrew Talbot f44cb11a73 comctl32: Constify some variables. 2007-04-02 11:37:44 +02:00
Andrew Talbot bd51f1c98f comctl32: Constify some variables. 2007-04-02 11:37:18 +02:00
Andrew Talbot abf4d3b8cd comctl32: Constify some variables. 2007-04-02 11:37:03 +02:00
Andrew Talbot 9a76763c90 comctl32: Constify some variables. 2007-04-02 11:36:23 +02:00