Commit Graph

66461 Commits

Author SHA1 Message Date
Jörg Höhle 63d0aeeafa winmm: Do not access MIDIHDR past MOM_DONE DriverCallback. 2010-02-22 13:17:04 +01:00
Jörg Höhle e1cf94d9da midimap: Have GetDevCaps error out when no MIDI device is present. 2010-02-22 13:16:57 +01:00
Jörg Höhle bdea146639 winealsa: Do not access WAVEHDR past DriverCallback. 2010-02-22 13:16:32 +01:00
Jörg Höhle 4cff4c82a1 wineoss: Do not access WAVEHDR past DriverCallback. 2010-02-22 13:16:28 +01:00
Jörg Höhle d25b9cebff user32: Sync vkey codes with winuser.h. 2010-02-22 13:16:14 +01:00
Hans Leidekker 2ed570ecc6 wininet: Fix handling of a response without headers. 2010-02-22 13:16:02 +01:00
Hans Leidekker b467efb5c8 winhttp: Add support for resolve timeouts. 2010-02-22 13:15:56 +01:00
Hans Leidekker b7696db161 kernel32/tests: Fix a thread handle leak. 2010-02-22 13:15:43 +01:00
Hans Leidekker 68ab799924 fusion: Add a stub implementation of CreateApplicationContext. 2010-02-22 13:15:33 +01:00
Hans Leidekker 587e107398 msi: Allocate sufficient memory in ITERATE_InstallODBCDriver and ITERATE_InstallODBCTranslator.
Found by Valgrind.
2010-02-22 13:15:22 +01:00
Hans Leidekker a620a84f4c msi/tests: Free exception information.
Found by Valgrind.
2010-02-22 13:15:16 +01:00
Hans Leidekker ba090ede7b msi: All stream names starting with 0x0005 are unencoded.
Fixes a regression caused by 1ff9923148.
2010-02-22 13:15:09 +01:00
Hans Leidekker ec5ae81c8d msi: Make msi_reset_folders static. 2010-02-22 13:14:35 +01:00
Christian Costa 3138ba0d5c d3dx9_36: Fix AddRef and Release macros and add IID for ID3DXConstantTable. 2010-02-22 12:37:22 +01:00
Christian Costa 88b2892a59 d3dx9_36: Add stub for D3DXGetShaderConstantTableEx. Implement D3DXGetShaderConstantTable. 2010-02-22 12:37:17 +01:00
Vincent Povirk a19536587b comdlg32: Always use screen dpi in the font dialog, even with a printer dc. 2010-02-22 12:36:15 +01:00
Vincent Povirk 9bb6932e4b comdlg32: Add a test showing the font dialog ignores printer dpi. 2010-02-22 12:36:10 +01:00
Christian Costa 11a015070c d3d8: Display FIXME only once in ValidatePixelShader and ValidateVertexShader. 2010-02-22 12:36:05 +01:00
Dmitry Timoshkov 27e9b5bdb4 comctl32: Initialize item.mask before sending HDM_GETITEM message. 2010-02-22 12:08:33 +01:00
Dylan Smith 3264450c35 wordpad: Avoid forward declarations in print.c. 2010-02-22 12:08:28 +01:00
Dylan Smith 20dea9a890 wordpad: Don't waste time getting the number of preview pages.
For print preview it will take more time to wait for the whole text to be
wrapped for EM_FORMATRANGE than to wait for just the first page.  Trying to
get the total number of pages will cause the whole test to be wrapped.
Instead all that is needed is to just determine if a page is the last page,
which can be determined by it's page end offset compared to the text length.
2010-02-22 12:08:20 +01:00
Dylan Smith f235c48cae wordpad: Avoid unnecessary deletion of hdcSized. 2010-02-22 12:08:11 +01:00
Dylan Smith 8f19111325 wordpad: Cache text length. 2010-02-22 12:08:06 +01:00
Dylan Smith 7a9f72863d wordpad: Update bitmaps outside of WM_PAINT.
This avoids having to delete the device context and the bitmap selected
into it just to update the bitmap, since it was setting preview.hdc to
NULL to indicate that these bitmaps needed to be updated. This patch
also helps make WM_PAINT messages get processed faster by moving this out
of the code for handling WM_PAINT.
2010-02-22 12:07:59 +01:00
Dylan Smith a75bf390d7 wordpad: Use pages_shown variables to indicate pages shown.
Previously hdc2 needed to be deleted and set to NULL to indicate that only
one page should be shown. I have avoided this using a new variable for
the preview structure.

The device context were also being deleted without deleting the bitmaps
created for them and selected into them, so this patch also gets these
bitmaps and deletes them with their device context.
2010-02-22 12:07:49 +01:00
Dylan Smith b278101580 wordpad: Get preview page character boundaries with number of pages.
Rather than making seperate calls to EM_FORMATRANGE to get the number of
pages and the character boundaries, it would be easiest to get both
together.  The time to process EM_FORMATRANGE seems like it would take a
lot longer than the time needed to cache the character page boundaries.
2010-02-22 12:07:33 +01:00
Dylan Smith 7451facf2f wordpad: Added missing calls to DeleteDC and ReleaseDC. 2010-02-22 12:07:22 +01:00
Dylan Smith fe9933ae4d richedit: Added some extra tests for EM_FORMATRANGE.
The existing tests were not properly testing the return value for the case
where all the text fits in the page rect, so this patch adds a couple of
simple tests for this case.
2010-02-22 12:03:09 +01:00
Piotr Caban bf0815424b oleaut32: Added MEMBERID_NIL handling to ICreateTypeInfo_LayOut. 2010-02-22 12:02:22 +01:00
Piotr Caban 1765229158 oleaut32: Added TypeInfo validation in ICreateTypeInfo_LayOut. 2010-02-22 12:02:17 +01:00
Piotr Caban 1dda40deb2 oleaut32: Improved ICreateTypeInfo2_fnAddFuncDesc implementation. 2010-02-22 12:02:08 +01:00
Piotr Caban 99992630bd oleaut32: Added partial ICreateTypeInfo2_LayOut implementation. 2010-02-22 12:01:54 +01:00
Roderick Colenbrander d11b99b3aa winex11: Also take into account source offsets when a mask is around. 2010-02-22 12:01:49 +01:00
Roderick Colenbrander c6a290fa94 winex11: When a mask picture is active, the source offsets should be relative to mask_pict instead of src_pict. 2010-02-22 12:01:39 +01:00
Vincent Povirk 0c319b07d7 gdiplus: Add a test for GdipImageRotateFlip. 2010-02-22 12:01:27 +01:00
Jacek Caban 6b46c9e5ad mshtml: Get rid of nsIWineURI interface. 2010-02-22 12:01:07 +01:00
Jacek Caban 0f6f96ea63 mshtml: Get rid of nsIWineURI::[GS]etNSContainer. 2010-02-22 12:00:58 +01:00
Jacek Caban a42bc25d55 mshtml: Get rid of nsIWineURI::[GS]etWindow. 2010-02-22 12:00:53 +01:00
Jacek Caban 043af028b9 mshtml: Get rid of most nsIWineURI methods. 2010-02-22 12:00:46 +01:00
Jacek Caban ba1db4c199 mshtml: Use nsWineURL structure directly in load_nsuri. 2010-02-22 12:00:40 +01:00
Jacek Caban 61121cefcb mshtml: Moved OnStartURIOpen implementation to nsio.c. 2010-02-22 12:00:25 +01:00
Jacek Caban d95a54aa57 mshtml: Store nsWineURI object instead of interface in nsChannel. 2010-02-22 11:59:53 +01:00
Jacek Caban 4ab63f3ad8 mshtml: Rename nsURI to nsWineURI. 2010-02-22 11:59:39 +01:00
André Hentschel 77acdcc016 oleaut32: Fix rounding. 2010-02-22 11:59:32 +01:00
Mikołaj Zalewski bc07b48b38 include: Add a strcmpW-equivalent function usable in tests. 2010-02-22 11:57:23 +01:00
Erich Hoover 2902d8090a kernel32/tests: Add test for 'all processors' flag on Vista and newer. 2010-02-22 11:57:12 +01:00
Erich Hoover fda39b207c ntdll: Allow 'all processors' flag used in Vista and newer. 2010-02-22 11:57:08 +01:00
Kusanagi Kouichi 10789142fc winex11.drv: Check XDND version. 2010-02-22 11:55:42 +01:00
Kusanagi Kouichi f7b18148d4 winex11.drv: Keep the state of XIM and IME consistent. 2010-02-22 11:55:25 +01:00
Eric Pouech 10642e76db ntdll: Fix wrong marking for valgrind on 64bit systems. 2010-02-22 11:50:08 +01:00