Commit Graph

78294 Commits

Author SHA1 Message Date
Marcus Meissner 54dc91547d ws2_32: handle error return from get_sock_fd (Coverity). 2014-01-06 20:47:00 +01:00
Marcus Meissner eddc91f6e7 msvcp90: Return on error (Coverity). 2014-01-06 20:46:59 +01:00
Stefan Dösinger b054fe94ee d3dx9_36: Cast UINTs to FLOATs in d3dx9_line_Begin. 2014-01-06 20:46:56 +01:00
Stefan Dösinger b87e167fa3 d3dx9_36: Make the order parameter of weightedcapintegrale an UINT. 2014-01-06 20:46:50 +01:00
Stefan Dösinger 86e88f51b8 d3dx9_36: Improve error handling in remap_faces_for_attrsort. 2014-01-06 20:46:48 +01:00
Stefan Dösinger 303a5f05f7 d3dx9_36: Don't make the input parameter to remap_faces_for_attrsort const. 2014-01-06 20:46:47 +01:00
Stefan Dösinger e1a845c213 d3dx9_36: Cast D3DPARAMETER_TYPE * to DWORD *. 2014-01-06 20:46:45 +01:00
André Hentschel 87c7c961f2 Assorted spelling fixes. 2014-01-06 17:33:24 +01:00
André Hentschel 2d6685f4ec msi: Check return value from MSIREG_OpenInstallProps (Coverity). 2014-01-06 17:19:43 +01:00
André Hentschel 57d2e8f3c3 ws2_32: Don't leak hostname (Coverity). 2014-01-06 17:16:55 +01:00
André Hentschel 6db63a1867 kernel32/tests: Allow more last errors from win8. 2014-01-06 17:16:33 +01:00
Frédéric Delanoy 4ec00cb2c2 setupapi/tests: Use BOOL type where appropriate. 2014-01-06 17:15:45 +01:00
Frédéric Delanoy a06363669f msi/tests: Use BOOL type where appropriate. 2014-01-06 17:15:14 +01:00
Frédéric Delanoy 949f1a0161 msxml3/tests: Use BOOL type where appropriate. 2014-01-06 17:14:40 +01:00
Frédéric Delanoy e7594272fe gdi32: Use BOOL type where appropriate. 2014-01-06 17:14:32 +01:00
André Hentschel 5865fe78de ntdll: Add signal definitions for GNU/Hurd.
Partially based on a patch by Andrew Nguyen.
2014-01-06 17:10:05 +01:00
Michael Stefaniuc 84df351b1e dmusic: Don't hardcode the guidClass in IDirectMusicObject::ParseDescriptor. 2014-01-06 17:10:04 +01:00
Michael Stefaniuc dc9208a0c5 dmusic/tests: Add some DirectMusicCollection tests. 2014-01-06 17:10:03 +01:00
Michael Stefaniuc fe0d2a2ba7 dmusic: Don't crash on NULL in IDirectMusicObject::GetDescriptor. 2014-01-06 17:10:02 +01:00
Michael Stefaniuc fda99c0fcc dmusic: The object class is immutable in a DirectMusicObject. 2014-01-06 17:10:01 +01:00
Michael Stefaniuc 5771ff8912 dmusic: Don't leak mem if DirectMusicCollection creation fails. 2014-01-06 17:08:52 +01:00
Michael Stefaniuc d3c550d0ba dmusic: Always AddRef the returned iface in QueryInterface. 2014-01-06 17:06:52 +01:00
Nikolay Sivov 5e4d5ebde7 dwrite: Implement ConvertFontFaceToLOGFONT(). 2014-01-06 17:05:31 +01:00
Nikolay Sivov 07ded6bb36 scrrun: Added IFileCollection stub. 2014-01-06 17:03:06 +01:00
Nikolay Sivov 42d2b51992 scrrun: Implement Name() property for Folder. 2014-01-06 17:01:17 +01:00
Nikolay Sivov b99b69aac2 scrrun: Implement Next() for folder collection. 2014-01-06 17:00:24 +01:00
Bruno Jesus 281f69bccf ws2_32: Fix FreeBSD compiling issue on ipx address structure. 2014-01-06 16:59:15 +01:00
Bruno Jesus b461fa4468 ws2_32/tests: Add some WSALookupService[Begin|Next|End] tests. 2014-01-06 16:59:06 +01:00
Vincent Povirk 51b873b3ca gdiplus: Mark the Graphics object as busy before freeing it. 2014-01-06 16:02:40 +01:00
Alexandre Julliard ce25c89585 makedep: Don't expand variable references that use ${}. 2014-01-04 20:33:57 +01:00
Frédéric Delanoy 29b2db009c comctl32/tests: Use BOOL type where appropriate. 2014-01-03 18:08:51 +01:00
Frédéric Delanoy 6151371de3 ddraw/tests: Use BOOL type where appropriate. 2014-01-03 18:08:51 +01:00
Alexandre Julliard 2a7cdcf3c5 version: Load the resource that corresponds to the current language first. 2014-01-03 17:25:18 +01:00
Hans Leidekker 190878d92d mscms: Print a fixme when compiled without support for liblcms2. 2014-01-03 17:01:22 +01:00
Hans Leidekker 48908c130c msi: Remove the unused CurrentlyScripting field from MSISCRIPT. 2014-01-03 17:00:12 +01:00
Hans Leidekker fcb924c144 msi: Fall back to the global temporary directory when the TempFolder property resolves to a non-existing directory. 2014-01-03 17:00:08 +01:00
Hans Leidekker 41d2b53c5b msi: Always derive the SourceDir property from the database path. 2014-01-03 17:00:02 +01:00
Piotr Caban 2a8a1452ac msvcp80: Fix ostreambuf_iterator<char> structure definition. 2014-01-03 14:40:47 +01:00
Nikolay Sivov 3cc34a5bf8 scrrun: Implement Reset() for folder collection. 2014-01-03 14:27:35 +01:00
Nikolay Sivov 47e1ac9f98 scrrun: Implement IEnumVARIANT stub for folder collection. 2014-01-03 14:27:33 +01:00
Nikolay Sivov 51f5ab1999 scrrun: Implement Count() property for folder collection. 2014-01-03 14:05:21 +01:00
Nikolay Sivov 0802e301ff scrrun: Fix IFolder::QueryInterface() to respond to IDispatch query. 2014-01-03 14:05:19 +01:00
Nikolay Sivov 2a3f1560bb scrrun: Added IFolderCollection stub. 2014-01-03 14:05:16 +01:00
Nikolay Sivov c84189609d scrrun: Use DISPID_VALUE instead of 0 in private idl. 2014-01-03 14:05:14 +01:00
Francois Gouget 1f26451964 ddraw/tests: Fix compilation on systems that don't support nameless unions. 2014-01-03 11:28:16 +01:00
Martin Storsjo 48ae8f3070 ntdll: Improve handling of THUMB_MOV32 relocations. 2014-01-03 11:27:29 +01:00
Nikolay Sivov f76f34ca23 scrrun: Implement GetFolder(). 2014-01-02 19:35:49 +01:00
Nikolay Sivov 2ca39611e1 scrrun: Store folder path. 2014-01-02 19:35:49 +01:00
Zhenbo Li c3bb460d68 wineps.drv: Constify a few pointers. 2014-01-02 17:49:19 +01:00
Zhenbo Li 767c09f16f kernel32/tests: Add one more test for FindFirstFileA. 2014-01-02 17:46:00 +01:00
Michael Müller 6e373aa695 quartz: Return increasing monitor GUID on VMR7 monitor enumeration. 2014-01-02 17:43:29 +01:00
Stefan Dösinger 95317c33a9 d3dx9_36/tests: Use NAN. 2014-01-02 17:29:38 +01:00
Stefan Dösinger 9e3ef4abc6 d3dx9_36/tests: Fix calling convention specification.
Msvc wants __stdcall after the type, otherwise it generates an error.
2014-01-02 17:29:16 +01:00
Stefan Dösinger aa2baf8c58 d3dx9_36: Add explicit casts in type conversion functions. 2014-01-02 17:29:06 +01:00
Stefan Dösinger 6bc4ebd516 d3dx9_36: Floatify some constants. 2014-01-02 17:28:47 +01:00
Stefan Dösinger f06fc7f858 d3dx9_36: Use float math functions. 2014-01-02 17:28:24 +01:00
Piotr Caban 0f3c31b1ea msvcrt: Try to convert C to C++ exception in __CxxFrameHandler. 2014-01-02 15:50:13 +01:00
Jacek Caban 9372274533 qcap: Added AVICompressorIn_Receive implementation. 2014-01-02 15:50:11 +01:00
Jacek Caban d190b0c61e msrle32: Properly set compression output flags. 2014-01-02 15:49:00 +01:00
Jacek Caban 331cb13b2f msrle32: Get rid of no longer needed lDist argument in MSRLE32_CompressRLE8Line. 2014-01-02 15:48:57 +01:00
Jacek Caban cb767f738d msrle32: Append EOI instead of replacing EOL. 2014-01-02 15:48:53 +01:00
Jacek Caban f9be296be4 msrle32: Get rid of ICM_GETQUALITY and ICM_SET_QUALITY that should not be supported. 2014-01-02 15:48:47 +01:00
Jacek Caban 1ed45a7416 msrle32: Use the same default quality as native. 2014-01-02 15:48:36 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard af6db67d6f makefiles: Get rid of the MAKE_IMPLIB_RULES variable. 2014-01-02 12:12:59 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard e330a128d5 shell32: Use Shell_GetImageLists to retrieve image lists instead of using a global variable. 2014-01-02 11:56:11 +01:00
Michael Stefaniuc 393135c3c7 dmusic/tests: Change the way of detecting a workable dmusic. 2014-01-02 11:52:44 +01:00
Frédéric Delanoy bf1a43e620 wintrust/tests: Constify some character strings. 2014-01-02 11:52:39 +01:00
Frédéric Delanoy 86f3f62289 winspool.drv/tests: Constify some character strings. 2014-01-02 11:52:32 +01:00
André Hentschel 4573aecf5b gdi32: Fix a comment. 2014-01-02 11:52:11 +01:00
Alexandre Julliard b192879597 makefiles: Automatically output appropriate target flags. 2014-01-01 21:44:38 +01:00
Alexandre Julliard 1cd2786f92 makefiles: Generate cross-compile rules automatically when supported. 2014-01-01 21:28:28 +01:00
Sebastian Lackner 3caa4e035d kernel32: Prevent endless loop if NtQuerySystemInformation fails. 2014-01-01 20:45:31 +01:00
Stefan Dösinger 4734771f28 d3dx9_36: Make NUM_ELEM a define. 2014-01-01 20:45:29 +01:00
Stefan Dösinger dcb101666b d3dx9_36: Use SIZE_T for some iterators. 2014-01-01 20:45:28 +01:00
Stefan Dösinger ebfdcc9c9a d3dx9_36/tests: Use D3DX_PI instead of M_PI. 2014-01-01 20:45:27 +01:00
Stefan Dösinger f6c90ec59f d3dx9_36: Use D3DX_PI instead of M_PI. 2014-01-01 20:45:26 +01:00
Stefan Dösinger 1e9fe22f4c wined3d: Fix an msvc warning. 2014-01-01 20:45:25 +01:00
Marcus Meissner 88923cd6f3 msxml3: Avoid double free of str (Coverity). 2014-01-01 20:45:21 +01:00
Marcus Meissner 84a51f64ca setupapi: Do not free stack pointers (Coverity). 2014-01-01 20:45:20 +01:00
Marcus Meissner a21c489f0f mmsystem.dll16: Free the correct pointer (Coverity). 2014-01-01 20:45:19 +01:00
Marcus Meissner ba8cacebf3 gdiplus: Free the correct pointer (Coverity). 2014-01-01 19:59:30 +01:00
Nikolay Sivov 1e1084232d ntdll: Fix manifest attribute parsing. 2014-01-01 19:32:56 +01:00
Francois Gouget b6ba53e572 gdi32/tests: Fix a flood of failures on Windows XP SP1 and 2003 pre-SP1. 2014-01-01 11:45:00 +01:00
Dmitry Timoshkov 07e7f40dc9 xmllite: Constify pointers in arrays that hold const data. 2014-01-01 11:44:25 +01:00
Dmitry Timoshkov 1be348ea51 xmllite: Use wine_dbg_sprintf instead of a static buffer. 2014-01-01 11:44:21 +01:00
Alexandre Julliard 1adaad4c89 makefiles: Remove no longer needed dlldata.o and testlist.o extra objects. 2013-12-31 19:05:12 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Dmitry Timoshkov 3b8f4a280c cabinet: Remove a no longer valid comment about seeking and restoring CAB position. 2013-12-31 16:18:48 +01:00
Dmitry Timoshkov 4ddb9f6915 cabinet: Read CAB size from the file header instead of calling FDI seek callback with SEEK_END.
SEEK_END is not supported by some callback implementations.
2013-12-31 16:18:28 +01:00
Dmitry Timoshkov 3cb5b93db9 cabinet/tests: Add an FDICopy test which emulates extracting from a memory block. 2013-12-31 16:18:08 +01:00
Ken Thomases 4f9de6bcdf winemac: More thoroughly discard events which have been obsoleted by subsequent Wine- or program-driven changes.
Among other things, this fixes Syberia 2.  That game shows, hides, and then
shows its window.  Hiding it caused a WINDOW_LOST_FOCUS event to be queued.
By the time it was processed, the window was the foreground window again.
In response to being told it had lost focus, the game minimized its window.

Hiding the window should have prevented or discarded the WINDOW_LOST_FOCUS
event since the change was driven from Wine and the Win32 foreground/active
window state would already be correct.  In addition, when the program
re-showed its window and made it foreground, that should have discarded the
event as being out of date.  Now they do.
2013-12-31 12:31:39 +01:00
Ken Thomases 94cfa7799b winemac: For WINDOW_DID_UNMINIMIZE events, don't attempt to restore windows which aren't minimized and visible.
The Win32 window state might have changed while the event was in the queue,
making it obsolete.  Sending WM_SYSCOMMAND/SC_RESTORE might re-show a hidden
window, for example.
2013-12-31 12:31:33 +01:00
Ken Thomases bcde44fb8a winemac: Explicitly unhide the app early when showing windows.
Cocoa would implictly unhide it when we order a window, anyway.  Doing it
early avoids problems from querying -[NSWindow isVisible] while the app is
hidden.  That method returns FALSE even for windows which would be visible
if the app weren't hidden.
2013-12-31 12:31:29 +01:00
Ken Thomases ae47323604 winemac: Track whether our windows would be visible if the process weren't hidden.
The -[NSWindow isVisible] method returns FALSE when the process is hidden,
but that's not what we need to know in some cases.

This fixes full-screen games which minimize their window when they lose
focus.  Command-Tabbing away hides the process.  Because the window was not
visible, the code didn't actually minimize it.  When switching back to the
process, no event was sent to the Wine back-end telling it the window had
been restored, so it never resumed drawing to it.
2013-12-31 12:31:21 +01:00
Ken Thomases 6447e8e75c winemac: Defer adjusting window levels while the process is hidden.
While the process is hidden, it can't get a list of its windows which would
be visible were it not hidden.
2013-12-31 12:31:15 +01:00
Nikolay Sivov 3cd677958c shell32: Implement SHCreateQueryCancelAutoPlayMoniker() with some tests. 2013-12-31 12:27:23 +01:00
Nikolay Sivov f041c2c554 ole32: Call moniker methods with proper wrappers. 2013-12-31 12:27:05 +01:00
Frédéric Delanoy 0e7e87875c wininet/tests: Constify some character strings. 2013-12-31 12:25:04 +01:00