Commit Graph

64373 Commits

Author SHA1 Message Date
Henri Verbeet 73723911aa wined3d: Make the device parameter to wined3d_device_get_creation_parameters() const. 2011-10-19 12:24:43 +02:00
Henri Verbeet d607586d62 wined3d: Make the present_parameters parameter to wined3d_device_reset() const. 2011-10-19 12:24:36 +02:00
Henri Verbeet 3042860478 wined3d: Detach any attached overlays on surface cleanup.
Spotted by Dan Kegel / Valgrind.
2011-10-19 12:23:47 +02:00
Henri Verbeet 4408c5abc6 ddraw: Clear attached_iface before releasing it in ddraw_surface_delete_attached_surface().
Spotted by Dan Kegel / Valgrind.
2011-10-19 12:23:23 +02:00
Henri Verbeet 10b54a7860 ddraw: Initialize the surface desc's dwFlags field to 0 before surface locks.
Otherwise DDSD2_to_DDSD() would try to convert uninitialized data on failure.
Spotted by Dan Kegel / Valgrind.
2011-10-19 12:23:15 +02:00
Dmitry Timoshkov 0e44bda72a ntdll: Take into account timezone bias changes when detecting daylight saving rules. 2011-10-18 19:16:34 +02:00
Francois Gouget c8ecf2c721 shlwapi: Don't use a long where an int is more than big enough. 2011-10-18 18:58:50 +02:00
Piotr Caban 0655a6e563 shell32/tests: Fix uninitialized memory access (Valgrind). 2011-10-18 18:29:58 +02:00
Piotr Caban bfad4fa967 shell32: Don't convert output parameter in SHBrowseForFolderA (Valgrind). 2011-10-18 18:29:50 +02:00
Piotr Caban 0bb641ad59 msvcrt: Initialize all ctype fields. 2011-10-18 18:29:19 +02:00
Jacek Caban ca293d442b urlmon: Skip tests that fail on too old IEs. 2011-10-18 18:29:10 +02:00
Jacek Caban 3c4b2a0b43 mshtml: Added IHTMLDocument2::elementFromPoint implementation. 2011-10-18 18:29:04 +02:00
Austin English c3f6f96df4 d3d9/tests: Only skip the visual tests if d3d cannot be initialized on Windows. 2011-10-18 16:24:45 +02:00
Dan Kegel f91c8578bb mlang/tests: Don't call lstrcpyW on a null string. 2011-10-18 16:24:29 +02:00
Aric Stewart acaa0dc2da user32: Use Uniscribe in the single line edit control. 2011-10-18 16:07:55 +02:00
Marcus Meissner c9b6994648 shlwapi: Fixed bad pointer arithmentic by removing sizeof() (Coverity). 2011-10-18 15:18:04 +02:00
Marcus Meissner b08d4f597a ddraw: Lowercase variable names to fix a incorrect sizeof() (Coverity). 2011-10-18 15:17:49 +02:00
Marcus Meissner 2a55b09bed directshow: Removed bad sizeof in copy/pasted code (Coverity). 2011-10-18 15:17:42 +02:00
Marcus Meissner 230f63c3d2 explorerframe: Fixed incorrect sizeof (Coverity). 2011-10-18 15:17:15 +02:00
Marcus Meissner 06935e9323 gdi32: Remove a incorrect sizeof from pointer arithmetic (Coverity). 2011-10-18 15:17:07 +02:00
Marcus Meissner 59fc063a34 mshtml: Adjusted some incorrect sizeofs (Coverity). 2011-10-18 15:16:28 +02:00
Marcus Meissner cd51c797f3 msvcrt: Use correct sizeof to realloc (Coverity). 2011-10-18 15:16:17 +02:00
Jacek Caban 76eeca2255 vbscript: Added support for hex literals not ending with '&'. 2011-10-18 15:16:04 +02:00
Jacek Caban b5a031d804 mshtml: Better error handling in NSContainer initialization. 2011-10-18 15:15:29 +02:00
Piotr Caban 32b24db041 msvcp: Sync spec files. 2011-10-18 15:15:20 +02:00
Piotr Caban f735226988 msvcp90: Use debugstr_a to avoid overflow in traces. 2011-10-18 15:15:08 +02:00
Piotr Caban 59514c463a msvcp90: Fix buffer size in basic_string_char_grow. 2011-10-18 15:14:59 +02:00
Piotr Caban b0211b5b18 msvcp90: Added basic_string::get_allocator implementation. 2011-10-18 15:14:49 +02:00
Piotr Caban 0b802bb747 msvcp90: Added basic_string::erase iterator based functions. 2011-10-18 15:14:41 +02:00
Piotr Caban bc2567f974 msvcp90: Added basic_string::replace iterator based functions. 2011-10-18 15:14:33 +02:00
Piotr Caban a6897e888e msvcp90: Added basic_string::find_last_not_of implementation. 2011-10-18 15:13:50 +02:00
Piotr Caban ed6c1ff8d5 msvcp90: Added basic_string::rfind implementation. 2011-10-18 15:13:34 +02:00
Huw Davies ffe5e20b78 gdi32/tests: Remove unused legacy values. 2011-10-18 15:13:04 +02:00
Nikolay Sivov 482d80cf16 comctl32/tests: Make state data accessible to caller (Valgrind). 2011-10-18 15:12:47 +02:00
Nikolay Sivov ea96417f83 comctl32/monthcal: Update pointer after reallocation (Valgrind). 2011-10-18 15:12:37 +02:00
Aric Stewart 61e82e2c8c usp10: Properly adjust LogClust when decomposing indic vowels. 2011-10-18 15:11:58 +02:00
Aric Stewart db03d6452d usp10: Properly adjust LogClust when composing indic consonants. 2011-10-18 15:11:52 +02:00
Andrew Eikum 6a7c2f66e0 dsound: Don't make the capture buffer object address public until it is prepared. 2011-10-18 15:11:40 +02:00
Andrew Eikum c60583ab8b dsound: Fix type conversion problems. 2011-10-18 15:11:32 +02:00
Andrew Talbot 53a8746dcd winex11.drv: Mark some fall-throughs in switch statements. 2011-10-18 15:11:12 +02:00
Henri Verbeet 6cc9a89c8a wined3d: Make the device parameter to is_display_mode_supported() const. 2011-10-18 15:10:33 +02:00
Henri Verbeet 71640e00f9 wined3d: Make the device parameter to invalidate_active_texture() const. 2011-10-18 15:10:27 +02:00
Henri Verbeet 14ca56ed97 ddraw: Destroy the swapchain in ddraw_destroy() if it still exists. 2011-10-18 15:10:21 +02:00
Henri Verbeet 68e1484bec wined3d: Mark default pool surfaces lost when they're unloaded. 2011-10-18 15:10:13 +02:00
Henri Verbeet ca43c49968 wined3d: Keep surfaces in sysmem if they're both already there in wined3d_surface_blt().
The idea is to avoid bouncing surfaces between the CPU and GPU when doing both
locks and blits on a surface. This is mostly an issue for ddraw applications.
2011-10-18 15:10:06 +02:00
Aric Stewart 42db0c0593 usp10: Handle advance for multi-glyph clusters correctly. 2011-10-18 15:09:53 +02:00
Aric Stewart 6fb71f5354 usp10: Break out get_cluster_size and use it to correct ScriptStringGetLogicalWidths for clusters. 2011-10-18 15:09:44 +02:00
Alexandre Julliard 013f5a9b23 gdi32: Return the correct error code when selecting objects in a metafile. 2011-10-18 15:03:29 +02:00
Alexandre Julliard 5267c1316b gdi32: Get rid of the DC_FUNCTIONS typedef. 2011-10-17 20:39:54 +02:00
Alexandre Julliard 2dfa00230d wineps: Get rid of the StretchDIBits entry point. 2011-10-17 20:12:59 +02:00
Ričardas Barkauskas 472a8f7a67 ddraw: COM cleanup for IDirect3DDevice7 interface. 2011-10-17 18:24:58 +02:00
Ričardas Barkauskas 7dc08745d1 ddraw: Use impl_from_IDirect3DDevice7 for application provided interfaces. 2011-10-17 18:24:42 +02:00
Ričardas Barkauskas 31cf68dd95 ddraw: Use unsafe_impl_from_IDirect3DDevice7 for application provided interfaces. 2011-10-17 18:24:30 +02:00
Ričardas Barkauskas 6b7e3e77d0 ddraw: COM cleanup for IDirect3DDevice3 interface. 2011-10-17 18:24:21 +02:00
Ričardas Barkauskas bd530d3aba ddraw: Rename device_from_device3 to impl_from_IDirect3DDevice3. 2011-10-17 18:24:10 +02:00
Ričardas Barkauskas a90b2ad002 ddraw: Use unsafe_impl_from_IDirect3DDevice3 for application provided interfaces. 2011-10-17 18:23:51 +02:00
Ričardas Barkauskas d32df839ac ddraw: COM cleanup for IDirect3DDevice2 interface. 2011-10-17 18:23:42 +02:00
Ričardas Barkauskas 1c045cbb28 ddraw: Rename device_from_device2 to impl_from_IDirect3DDevice2. 2011-10-17 18:23:33 +02:00
Ričardas Barkauskas a870753dba ddraw: Use unsafe_impl_from_IDirect3DDevice2 for application provided interfaces. 2011-10-17 18:23:18 +02:00
Ričardas Barkauskas d5912c533f ddraw: COM cleanup for IDirect3DDevice interface. 2011-10-17 18:23:09 +02:00
Ričardas Barkauskas a0c9ab7894 ddraw: Rename device_from_device1 to impl_from_IDirect3DDevice. 2011-10-17 18:22:56 +02:00
Ričardas Barkauskas d19e416dee ddraw: Use unsafe_impl_from_IDirect3DDevice for application provided interfaces. 2011-10-17 18:22:44 +02:00
Huw Davies 4dbc0690ef gdi32/tests: Add some StretchDIBits tests. 2011-10-17 17:45:09 +02:00
Huw Davies c9a7bb715d gdi32: Implement nulldrv_StretchDIBits using the PutImage gdi driver function. 2011-10-17 17:45:08 +02:00
Huw Davies a01844b013 gdi32: Make the convert_bits and stretch_bits helpers external. 2011-10-17 17:45:08 +02:00
Huw Davies 64f6e9bc58 gdi32: Move the intersection of vis rects into a separate function. 2011-10-17 17:45:08 +02:00
Huw Davies 2127e9444d gdi32: Allow a caller to build_rle_bitmap to not request the clip region. 2011-10-17 17:45:08 +02:00
Aric Stewart 8f4fab2483 usp10: Handle the fNeedsCaretInfo flag in XtoCP and CPtoX. 2011-10-17 17:45:08 +02:00
Jacek Caban 64fd6fa787 vbscript: Added lexer support for '_'. 2011-10-17 17:45:07 +02:00
Dmitry Timoshkov 16eac43c8e ntdll: Move adding VPROT_READ for Solaris to the same place where it's done for FreeBSD. 2011-10-17 17:45:07 +02:00
Dmitry Timoshkov f7e466455d ntdll: FreeBSD needs page read access when execute access is requested. 2011-10-17 17:45:07 +02:00
Juan Lang 0aad594d5f shell32: Use existing buffer rather than copying, and potentially truncating, a filename prior to executing it. 2011-10-17 17:45:07 +02:00
Juan Lang 726acf0f4a shell32: Check size of input parameters before copying to fixed length buffers. 2011-10-17 17:45:06 +02:00
Alistair Leslie-Hughes dbefe8cbb0 mmcndmgr: Add mmcndmgr dll. 2011-10-17 17:45:06 +02:00
Ken Sharp e8d9483da9 ntdll: Update Win2k8 to SP2. 2011-10-17 17:45:05 +02:00
Alexandre Julliard bfdac3e885 gdi32: Add a fall back implementation of BlendImage using client-side blending. 2011-10-17 17:45:05 +02:00
Marcus Meissner 6ca6464cf3 msvcrt: Replaced bad memcpy by strcpy (Coverity). 2011-10-17 17:45:05 +02:00
Marcus Meissner 68f8eff5e0 setupx.dll16: Fixed bad sizeof() (Coverity). 2011-10-17 17:45:05 +02:00
Dan Kegel 4a38b10a56 comdlg32/tests: Initialize find & replace strings before testing FindTextA, etc. 2011-10-17 17:45:05 +02:00
Marcus Meissner 587cd82013 dsound: Remove dead code from mixer (Coverity). 2011-10-17 17:45:05 +02:00
Marcus Meissner 76702f3391 usp10: Fixed some oom handling (Coverity). 2011-10-17 17:45:05 +02:00
Marcus Meissner 118dc1998f user32: Load PaddedBorderWidth from registry too (Coverity). 2011-10-17 17:45:04 +02:00
Luca Bennati 6da39c228d comdlg32: Update Italian translation. 2011-10-17 17:45:04 +02:00
Luca Bennati 32706d952e inetcpl: Update Italian translation. 2011-10-17 17:45:04 +02:00
Luca Bennati 9d487fd2c3 dinput: Add Italian translation. 2011-10-17 17:45:04 +02:00
Frédéric Delanoy 61c6212672 cryptui: Avoid idempotent operation (Clang). 2011-10-17 17:45:04 +02:00
André Hentschel 85051917fe dbghelp: Rewrite stabs parsing to not need PATH_MAX. 2011-10-17 17:45:03 +02:00
Thomas Faber 385b8c3988 ntdll/tests: Fix build with MSVC. 2011-10-17 17:45:03 +02:00
Marcus Meissner 07d72eb570 dsound: Added missing LeaveCriticalSection (Coverity). 2011-10-17 17:45:03 +02:00
Marcus Meissner f90d402610 wined3d: Fixed sizeof (Coverity). 2011-10-17 17:45:03 +02:00
Marcus Meissner 8648c13140 winhttp: Fixed sizeof calls (Coverity). 2011-10-17 17:45:02 +02:00
Henri Verbeet fcd1de2b09 wined3d: Make the device parameter to wined3d_device_get_depth_stencil() const. 2011-10-17 17:45:02 +02:00
Henri Verbeet ebbd5ecf7c wined3d: Make the device parameter to wined3d_device_get_render_target() const. 2011-10-17 17:45:02 +02:00
Henri Verbeet 25b1130b44 wined3d: Also restore the pixel format in context_restore_gl_context(). 2011-10-17 17:45:02 +02:00
Henri Verbeet cdc9aadf5c wined3d: Don't try to access the swapchain of a destroyed context in context_set_gl_context(). 2011-10-17 17:45:02 +02:00
Henri Verbeet dfea2ab6f4 wined3d: Don't bother updating the context's window in context_destroy_gl_resources().
context_update_window() accesses the swapchain, which may not exist if this is
a destroyed context, and we don't do anything that needs displaying here
anyway.
2011-10-17 17:45:02 +02:00
Vitaliy Margolen aba1ed78da dinput: Put some checks back into GetDeviceData for DirectInput 8. 2011-10-17 17:45:02 +02:00
Vitaliy Margolen d7db5d5399 dinput: Don't mask buffer overflow error. 2011-10-17 17:45:01 +02:00
Vitaliy Margolen db6780806e dinput: Add buffer overflow check. 2011-10-17 17:45:01 +02:00
Vitaliy Margolen e939980027 dinput: Fix buffer size in test. 2011-10-17 17:45:01 +02:00
Alexandre Julliard 78d50cafb2 gdi32/tests: Add test cases for DIB blending. 2011-10-17 17:44:25 +02:00
Alexandre Julliard a3a574fae0 gdi32: Implement a BlendImage entry point in the DIB driver. 2011-10-14 21:32:40 +02:00
Daniel Santos 7a4349bb99 gdi32: Remove PS_USERSTYLE FIXME and workarounds. 2011-10-14 20:26:44 +02:00
Daniel Santos f2ad9df45d winex11.drv: Add on-screen PS_USERSTYLE support to pens. 2011-10-14 20:26:44 +02:00
Uwe Bonnes 89c2a4c596 ntdll: Generate a single EV_TXEMPTY when the TX buffer turns empty. 2011-10-14 20:26:44 +02:00
Dan Kegel 876d551911 shlwapi/tests: Initialize size parameter in test_SHGetShellKey. 2011-10-14 20:26:44 +02:00
Jacek Caban 4a39433eae shlwapi: Make sure we don't write anything to output buffer if its size is too small to store the whole result. 2011-10-14 20:26:44 +02:00
Jacek Caban 01c4fed7b4 vbscript: Added more releasing tests. 2011-10-14 20:26:44 +02:00
Jacek Caban 6f0e215fb5 vbscript: Properly release global variables. 2011-10-14 20:26:43 +02:00
Jacek Caban 84d5a39659 vbscript: Added more script state tests. 2011-10-14 20:26:43 +02:00
Jacek Caban b1c7f544ed vbscript: Keep script context alive after Close call, but make it reusable. 2011-10-14 20:26:43 +02:00
Alexandre Julliard b7a15ae7fa gdi32: Overlapping rectangles are not allowed in GdiAlphaBlend. 2011-10-14 20:26:43 +02:00
Frédéric Delanoy 699fb02d10 inetmib1: Avoid idempotent operation in findSupportedQuery function (Clang). 2011-10-14 20:26:42 +02:00
Aric Stewart 29b52fa575 usp10: Add fallback font for Armenian and Georgian. 2011-10-14 20:26:42 +02:00
Aric Stewart 85d33f4139 usp10: Correct buffer reading overrun.
Found by Dan Kegel using valgrind.
2011-10-14 20:26:42 +02:00
Piotr Caban b9b24bdf51 msvcp: Sync spec files. 2011-10-14 20:26:42 +02:00
Piotr Caban 8cca58251b msvcp90: Added _String_val class implementation. 2011-10-14 20:26:27 +02:00
Piotr Caban 105ffa40fd msvcp90: Remove code that is never executed. 2011-10-14 15:46:28 +02:00
Piotr Caban 72fb8e2c65 msvcp90: Added basic_string::max_size implementation. 2011-10-14 15:46:15 +02:00
Piotr Caban 796a13c80d msvcp90: Added more basic_string constructor implementations. 2011-10-14 15:45:22 +02:00
Piotr Caban 044e07d1f8 msvcp90: Added more basic_string::assing functions. 2011-10-14 15:45:12 +02:00
Piotr Caban fd0fcb2a2f msvcp90: Added basic_string::operator>= implementation. 2011-10-14 15:45:02 +02:00
Piotr Caban 94a379a520 msvcp90: Added basic_string::operator> implementation. 2011-10-14 15:44:57 +02:00
Piotr Caban c373306cfa msvcp90: Added basic_string::operator<= implementation. 2011-10-14 15:44:45 +02:00
Jacek Caban c90c39304f vbscript: Make sure to remove an object from object list in collect_objects. 2011-10-14 15:44:28 +02:00
Vitaliy Margolen 1a56be85be dinput: Acquire should not reset buffer position. 2011-10-14 13:12:28 +02:00
Vitaliy Margolen 157528eb0f dinput: GetDeviceData always succeeds regardless if buffering is enabled or device is acquired. 2011-10-14 13:12:28 +02:00
Piotr Caban 922ae2e268 msvcrt: Fix handling of locales without region in MSVCRT_locale_to_LCID. 2011-10-14 13:12:28 +02:00
Piotr Caban 95f3be6573 msvcrt: Added missing calling convention specification. 2011-10-14 13:12:28 +02:00
Andrew Talbot 819225d98b wined3d: Mark some fall-throughs in switch statements. 2011-10-14 13:12:28 +02:00
Andrew Talbot 654f280947 winealsa.drv: Add some return statements to mark semantic separations. 2011-10-14 13:12:28 +02:00
Dan Kegel fa4cafd80e gdiplus/tests: Must define biClrUsed when calling CreateDIBSection. 2011-10-14 13:12:28 +02:00
Henri Verbeet a9fcaed610 wined3d: Make the device parameter to wined3d_device_get_npatch_mode() const. 2011-10-14 13:12:27 +02:00
Henri Verbeet 39f898b26a wined3d: Make the device parameter to wined3d_device_get_raster_status() const. 2011-10-14 13:12:27 +02:00
Henri Verbeet 7ffa768e71 wined3d: Cleanup context_create() error handling a bit. 2011-10-14 13:12:27 +02:00
Henri Verbeet 67b097cd6e wined3d: Get rid of the mostly unused "pfd" variable in context_create(). 2011-10-14 13:12:27 +02:00
Henri Verbeet a4ee6226ae gameux: Don't shadow hr in GAMEUX_RegisterGame(). 2011-10-14 13:12:27 +02:00
Alexandre Julliard deb195869c gdi32/tests: Add more tests for various palette formats as destination. 2011-10-14 13:12:27 +02:00
Alexandre Julliard 5500e97d19 gdi32/tests: Add more tests for arbitrary 32-bpp bitfields as destination. 2011-10-14 13:12:27 +02:00
Alexandre Julliard 1af12ff9b5 gdi32/tests: Add tests for DIB conversions from various source formats. 2011-10-14 13:12:21 +02:00
Alexandre Julliard a9be526a9c gdi32: Use a reduced precision for RGB to palette mapping in DIB conversions. 2011-10-14 00:47:05 +02:00
Dylan Smith 8f8e86eaa3 d3dx9: Removed a duplicate NULL check. 2011-10-13 21:06:47 +02:00
Vincent Povirk 2556173f20 msi: Use MsgWaitForMultipleObjectsEx to do waits. 2011-10-13 20:43:20 +02:00
Vincent Povirk 219b987fa1 windowscodecs: Use a smaller magic number to detect JPEG files. 2011-10-13 20:43:18 +02:00
Dan Kegel 78e6287f71 winealsa.drv: When allocating opaque blobs for alsa, initialize them to zero. 2011-10-13 20:43:15 +02:00
Dan Kegel c77395dc08 msi: Initialize variable to placate static analyzers. 2011-10-13 20:06:46 +02:00
Alexandre Julliard e79033e6fa gdi32: Add a helper for RGB to color index mapping to avoid redundant shifts. 2011-10-13 20:03:07 +02:00
Alexandre Julliard 34310d4479 gdi32: Add a check for null bitfields in SetDIBits. 2011-10-13 20:02:01 +02:00
Alexandre Julliard a413916802 gdi32: Get rid of the return value in DIB conversion functions, they never fail now. 2011-10-13 20:01:50 +02:00
Alexandre Julliard 587f492fdf gdi32: Add support for arbitrary DIB bitfields for 16-bpp conversions. 2011-10-13 20:01:34 +02:00