Commit Graph

29933 Commits

Author SHA1 Message Date
Aric Stewart 1b997a9986 imm32: When updating a NULL HIMCC with NULL just return NULL. Handle the NULL HIMCC for the compstr when doing a ImmNotifyIME for a reset. 2008-01-03 12:09:52 +01:00
Gerald Pfeifer bb8471beac msi: Remove an extraneous safety check and simplify generate_error_string(). 2008-01-03 11:53:45 +01:00
Gerald Pfeifer 257f519eb5 ws2_32: Remove two noop checks. 2008-01-03 11:53:38 +01:00
Gerald Pfeifer 21a9c2d2f9 wined3d: Removed dead FIXME checks. 2008-01-03 11:53:29 +01:00
H. Verbeet 3f6c3d2db0 wined3d: Properly handle the surface location in stretch_rect_fbo(). 2008-01-03 11:40:31 +01:00
H. Verbeet bf50e07f34 wined3d: SFLAG_INTEXTURE is the same as SFLAG_INDRAWABLE for offscreen render targets when ORM_FBO is used. 2008-01-03 11:40:31 +01:00
H. Verbeet 4863daf06a wined3d: Bind the surface texture in LoadLocation(). 2008-01-03 11:40:31 +01:00
H. Verbeet 6cab4c8005 wined3d: Move binding the texture and dirtifying the sampler to its own function from surface_download_data(). 2008-01-03 11:40:31 +01:00
H. Verbeet 2820ecc5fe wined3d: Call SetGlTextureDesc() from BindTexture() rather than from PreLoad(). 2008-01-03 11:40:31 +01:00
H. Verbeet c46c53a12c wined3d: Call ActivateContext regardless of WINED3DCREATE_MULTITHREADED. 2008-01-03 11:40:31 +01:00
Rob Shearman 910cf61723 kernel32: Add tests for RegisterWaitForSingleObject and UnregisterWait. 2008-01-02 14:30:14 +01:00
Rob Shearman 1822a722d9 kernel32: Implement RegisterWaitForSingleObject and UnregisterWait. 2008-01-02 14:30:11 +01:00
Rob Shearman 25bc7023ba ntdll: Implement RtlRegisterWait, RtlDeregisterWait and RtlDeregisterWaitEx. 2008-01-02 14:30:08 +01:00
Eric Pouech 39aa3beaf2 richedit: Simplify first para style handling by creating a context. 2008-01-02 13:58:09 +01:00
Eric Pouech d5478118a1 richedit: Don't force repaint while the redraw flag is off. 2008-01-02 13:57:53 +01:00
Eric Pouech f43570cbf0 richedit: Optimizations for the style selection.
Use a ME_Context for style selection/unselection.
Store the (x,y) dpi information for a given DC in the corresponding ME_Context structure.
2008-01-02 13:57:37 +01:00
Eric Pouech 475b45d8ab richedit: Don't recreate the DC all the time, but use uniformely a ME_Context structure where needed. 2008-01-02 13:56:02 +01:00
Eric Pouech 4cecb5dc70 richedit: Move init code after some sanity checks to avoid unneeded computations. 2008-01-02 13:55:53 +01:00
Eric Pouech d48905cf21 richedit: Small optimisation in ME_GetSelectionInsertStyle. 2008-01-02 13:55:24 +01:00
Eric Pouech e9be142d78 richedit: Rewrote FindPixelPos so that it always return something.
Made the function static as well.
2008-01-02 13:55:14 +01:00
Eric Pouech d319033a97 richedit: Added support for intra-paragraph line space. 2008-01-02 13:54:49 +01:00
Eric Pouech f1b029ef6a richedit: Added support for spaces above & below paragraphs. 2008-01-02 13:54:25 +01:00
Eric Pouech caa37c749a richedit: Now drawing the paragraph borders (if any) from paraformat2. 2008-01-02 13:54:01 +01:00
Eric Pouech 28cc0f9e69 richedit: Fix the para computation when zoom is used. 2008-01-02 13:52:52 +01:00
Eric Pouech f4fd063101 richedit: Enforce usage of paraformat2 fields instead of homegrown ones for paragraphs. 2008-01-02 13:52:10 +01:00
Eric Pouech 0e8c087561 richedit: Properly copying the paraformat2 structure for paragraphs. 2008-01-02 13:51:49 +01:00
Eric Pouech 8f60c8c46e richedit: Now dumping all fields from the paraformat2 structure. 2008-01-02 13:50:38 +01:00
Eric Pouech 566912dc3b richedit: Correctly initialize the paraformat structure. 2008-01-02 13:50:04 +01:00
Eric Pouech 0549b9009a richedit: Simplified handling of background brush while painting. 2008-01-02 13:49:57 +01:00
Eric Pouech 2602a39bd9 richedit: Now painting the newly supported underline types. 2008-01-02 13:48:53 +01:00
Eric Pouech 6b591ef23a richedit: Extend the usage of underlinetype from charformat2 in richedit. 2008-01-02 13:48:11 +01:00
Eric Pouech 13f86afe1f richedit: Don't allow recursive EN_REQUESTRESIZE notifications. 2008-01-02 13:47:41 +01:00
Eric Pouech c2631d8537 richedit: Correctly copy the pitch and family field. 2008-01-02 13:47:06 +01:00
Eric Pouech 8d0799a741 richedit: Fully initialize the first style. 2008-01-02 13:46:53 +01:00
Eric Pouech be785a295f richedit: Correctly set the CFM_WEIGHT in charformat2. 2008-01-02 13:46:42 +01:00
Eric Pouech a607ad316e richedit: Fixed a couple of charformatXXm structure conversions because of alignment issues. 2008-01-02 13:46:22 +01:00
Eric Pouech 71f52d54bd richedit: Added support for some message (key, mouse) filtering events. 2008-01-02 13:45:08 +01:00
Hans Leidekker 428cff6e0b msvcrt: Fix spec file entries for the execv functions. 2008-01-02 13:43:03 +01:00
Hans Leidekker 864741c1b4 gdi32: Add a stub implementation for RemoveFontMemResourceEx. 2008-01-02 13:29:52 +01:00
Gerald Pfeifer 739152ce3e msi: Remove an extraneous safety check and simplify deformat_string(). 2008-01-02 13:29:41 +01:00
Rob Shearman 91971561c1 user32: Add a stub implementation of RegisterServicesProcess. 2008-01-02 13:20:12 +01:00
Austin English 92e7fed80c msi: Fix several typos. 2008-01-02 13:20:06 +01:00
Austin English 74399eec94 dplayx: Fix a typo. 2008-01-02 13:19:58 +01:00
Lionel Debroux efc81cb233 dinput: Improve TRACEs and WARNs. 2008-01-02 13:19:48 +01:00
Lionel Debroux 99ad76c3c1 msi: Correctly handle return value of msi_realloc. 2008-01-02 13:17:52 +01:00
Alexandre Julliard 8926dce077 crypt32: Avoid casting away const from the context pointer. 2008-01-02 12:38:42 +01:00
Michael Stefaniuc a4ec3ff61b netapi32: Remove two unused global variables. 2008-01-02 12:38:42 +01:00
Gerald Pfeifer f36602d5cb qcap: Complete initializers for g_cTemplates[]. 2008-01-02 12:38:42 +01:00
Gerald Pfeifer 520832451f wined3d: Simplify three checks based on the unsignedness of variables. 2008-01-02 12:38:42 +01:00
Gerald Pfeifer 76e7cc9423 ole32: Remove one noop check in CoWaitForMultipleHandles(). 2008-01-02 12:38:42 +01:00
Gerald Pfeifer 216a1b3767 winspool: Adjust the typo of a loop variable in test_EnumForms().
Simplify a test in test_GetPrinterDriver().
2008-01-02 12:38:42 +01:00
Gerald Pfeifer 02afd70fbb wined3d: Remove four noop checks. 2008-01-02 12:38:42 +01:00
Gerald Pfeifer a77249ad14 d3d9/tests: Simplify condition in test_vshader_input(). 2008-01-02 12:38:42 +01:00
Gerald Pfeifer f7fea9e9f0 msi: Simplify condition in TABLE_fetch_stream(). 2008-01-02 12:38:42 +01:00
Andrew Talbot 70d82dfbd9 d3d8: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Andrew Talbot 863ffb719b comctl32: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Andrew Talbot 2cf2807052 dsound: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Andrew Talbot a5195512c9 dplayx: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Andrew Talbot f074c0e162 ddraw: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Andrew Talbot 159672d01c dbghelp: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Jacek Caban 7514283d73 mshtml: Added PutProperty implementation. 2008-01-02 11:46:08 +01:00
Michael Stefaniuc 1f26b146d1 janitorial: Remove superfluous backslashes at end of lines. 2007-12-31 19:23:45 +01:00
Gerald Pfeifer fcdca0e809 winex11.drv: Simplify condition in create_xcursor_cursor() based on the unsignedness of types. 2007-12-31 19:23:28 +01:00
Gerald Pfeifer f41d0cb530 kernel32/tests: Remove extraneous check. 2007-12-31 19:21:25 +01:00
Alexander Dorofeyev 7165d7268b wined3d: Fix regression of colorfill and texture to swapchain codepaths in BltOverride. 2007-12-31 17:49:00 +01:00
Alexander Dorofeyev 18143f693b ddraw: Remove redundant iface<->impl casts in IDirect3DTextureImpl_Load.
The implementation pointer retrieved from interface ptr wasn't being used for
anything except retrieving same interface ptr back.
2007-12-31 17:48:39 +01:00
Alexander Dorofeyev 9dbdacbd82 ddraw: Release palette interfaces. 2007-12-31 17:48:16 +01:00
Alexander Dorofeyev 83fe4e77f5 wined3d: Free palette handle when destroying IWineD3DPaletteImpl. 2007-12-31 17:48:08 +01:00
Jeremy White 659494660e wintab32: If we could not find a stylus sort of device, we haven't found a tablet. 2007-12-31 17:47:16 +01:00
Jeremy White 51aecf8056 wintab32: Add logic to detect specific tablet cursor types, use it to discard non tablet X devices. 2007-12-31 17:47:12 +01:00
Jeremy White 6c1d38649a wintab32: Remove the unused and clearly broken FindOpenContext function.
It's clear that someone left it in by accident; the TABLET_FindOpenContext
is its clear successor.
2007-12-31 17:45:19 +01:00
Jeremy White ca89d7e809 wintab32: Add modest trace information for tablets. 2007-12-31 17:45:10 +01:00
Andrew Talbot 5d886557df crypt32: Remove unneeded casts. 2007-12-31 17:44:51 +01:00
Andrew Talbot 46b6f43fa0 cryptnet: Remove unneeded cast. 2007-12-31 17:44:06 +01:00
Andrew Talbot 8752c6d1a5 user32: Fix a spelling typo. 2007-12-31 17:41:37 +01:00
Andrew Talbot ff92404dec avifil32: Remove unneeded casts. 2007-12-31 17:41:29 +01:00
Andrew Talbot 69599675a7 cabinet: Remove unneeded cast. 2007-12-31 17:41:09 +01:00
Andrew Talbot 867f254bec comctl32: Remove unneeded casts. 2007-12-31 17:40:45 +01:00
Andrew Talbot 05f38321c4 advapi32: Remove unneeded casts. 2007-12-31 17:39:39 +01:00
Peter Dons Tychsen 1e1b29f842 oleaut32: Add missing types to serialize/deserialize. 2007-12-31 17:30:21 +01:00
Rob Shearman ec3448ff8c ntdll: Set the DataLength field of the information field in NtQueryValueKey to how much data should be returned, not what was actually returned. 2007-12-31 17:29:47 +01:00
Rob Shearman 05fbee5e2d ntdll: Add some tests for NtQueryValueKey. 2007-12-31 17:29:44 +01:00
Gerald Pfeifer 2ea16a49e8 user32: Fix type of loop variable. 2007-12-31 17:29:39 +01:00
Gerald Pfeifer d3840f0bb7 wined3d: Remove noop check in IWineD3DBaseTextureImpl_Appl(). 2007-12-31 17:29:33 +01:00
Gerald Pfeifer 63655bc1a1 msi: Add missing initializer for delete_ops. 2007-12-31 17:29:24 +01:00
Alexandre Julliard f9e27d37b9 shell32: Fix messed up indentation. 2007-12-31 17:25:08 +01:00
Alexandre Julliard 4d53055f62 winedos: Don't emulate in 32-bit mode interrupts that don't have a specific handler. 2007-12-31 17:25:05 +01:00
Rob Shearman 56da854c21 rpcrt4: Fix NdrGetBuffer to set the correct fields in the MIDL_STUB_MESSAGE structure.
Fix NdrFreeBuffer to use the fBufferValid flag to determine whether or 
not I_RpcFreeBuffer needs to be called.
2007-12-31 17:14:34 +01:00
Rob Shearman 4aff0cdac4 rpcrt4: Make some variables in the tests static. 2007-12-31 17:14:29 +01:00
Rob Shearman 07622b0f05 rpcrt4: Add tests for NdrServerInitializeNew. 2007-12-31 17:14:22 +01:00
Rob Shearman e745f93c79 rpcrt4: Fix the MIDL_STUB_MESSAGE fields set by NdrServerInitializeNew. 2007-12-31 17:14:16 +01:00
Rob Shearman f6a29a1e73 rpcrt4: Fix a case of destroying a context handle without first releasing the lock.
Reverse the order of the release statements in NDRSContextMarshall2 for 
the case where the context handle doesn't have valid data so that the 
release that releases the lock comes first and then the optional second 
release doesn't need to release the lock.
2007-12-31 17:14:04 +01:00
Rob Shearman 51c051c0c4 rpcrt4: Keep a track of server context handles allocated during processing of a request.
Release them after processing of a request has finished to avoid a slow 
memory leak if the association isn't released for ages.
2007-12-31 17:13:55 +01:00
Jacek Caban 2c6cbea080 ole32: Fixed parameter checking and improved debug traces in IBindCtx::QueryInterface. 2007-12-31 16:49:44 +01:00
Jacek Caban bc35dda746 urlmon: Added more tests. 2007-12-31 16:49:38 +01:00
Jacek Caban 85f472b37d urlmon: Added BindToObject implementation. 2007-12-31 16:49:32 +01:00
Jacek Caban a16ae2e8f2 urlmon: Call AddRef in EnumFORMATETC::QueryInterface. 2007-12-31 16:49:16 +01:00
Jacek Caban 91087d6229 urlmon: Added "CBinding Context" bind option support. 2007-12-31 16:49:11 +01:00
Jacek Caban e3c47c88fd urlmon: Binding_Create clean up. 2007-12-31 16:49:06 +01:00
Jacek Caban 91938977e9 urlmon: Better error handling. 2007-12-31 16:49:00 +01:00
Jacek Caban 2f34d0093c urlmon: Better implementation of bind stopping. 2007-12-31 16:48:56 +01:00
Jacek Caban ed1c7f8135 urlmon: Make start_binding more generic. 2007-12-31 16:48:48 +01:00
Jacek Caban 785e98173f urlmon: Added ibind argument handling in CreateAsyncBindCtx. 2007-12-31 16:48:45 +01:00
Jacek Caban 1ca205525c urlmon: Use BindProtocol in Binding object. 2007-12-31 16:48:31 +01:00
Rob Shearman 86a0b1d24e rpcrt4: Implement NdrConformantStringMemorySize. 2007-12-31 16:47:55 +01:00
Rob Shearman 274dc73ba1 rpcrt4: Add some tests for non-conformant strings. 2007-12-31 16:46:16 +01:00
Rob Shearman eeeed91d92 rpcrt4: Implement non-conformant string functions. 2007-12-31 16:46:10 +01:00
Michael Stefaniuc 872188c1d8 user32: Remove unneeded casts. 2007-12-31 16:45:53 +01:00
Michael Stefaniuc d152d5ceeb wininet: Fix typo in comparison with NULL. Found by Smatch. 2007-12-31 16:45:49 +01:00
Lei Zhang 003b5de4f2 gdiplus: Add GdipCreatePen2 and test cases. 2007-12-31 16:45:34 +01:00
Lei Zhang b810430f1f gdiplus: Initialize a variable in a test. 2007-12-31 16:45:29 +01:00
Andrew Talbot 1ebe82af65 ntdll: Remove unneeded casts. 2007-12-31 16:45:22 +01:00
Andrew Talbot 8402f7a437 msvfw32: Remove unneeded casts. 2007-12-31 16:44:46 +01:00
Jacek Caban 48017908ad urlmon: Added more binding tests. 2007-12-31 16:21:24 +01:00
Jacek Caban da6dbedbe9 urlmon: Release protocol sink in Terminate. 2007-12-31 16:21:15 +01:00
Jacek Caban 2afdc8f591 urlmon: More ReportProgress implementation. 2007-12-31 16:21:11 +01:00
Jacek Caban 2e62330c67 urlmon: Move setting protocol_sink to separated function. 2007-12-31 16:21:08 +01:00
Roderick Colenbrander f3df6cf42b wined3d: Only store the palette index in the alpha component when the primary render target uses P8.
This was already done in other places but I missed this spot.
2007-12-28 11:45:03 +01:00
Roderick Colenbrander 756cb66e78 wined3d: In case of GL_EXT_paletted_textures we use GL_COLOR_INDEX and don't need a GL_RED fixup. 2007-12-28 11:44:49 +01:00
Dmitry Timoshkov e735e199ad user32: Reimplement IsHungAppWindow. 2007-12-28 11:43:57 +01:00
Jacek Caban 3c985a442a urlmon: Rename BindProtocol's IInternetProtocolSink methods.
Binding's implementation uses the same names, what makes reading logs
harder.
2007-12-28 11:29:57 +01:00
Jacek Caban 8f09522357 urlmon: Use heap_alloc_zero to allocate BindProtocol. 2007-12-28 11:29:48 +01:00
Jacek Caban f4ded1c2a5 urlmon: Added mime filters tests. 2007-12-28 11:29:44 +01:00
Jacek Caban 8a669c9a19 urlmon: Added [Un]RegisterMimeFilter implementation. 2007-12-28 11:29:39 +01:00
Jacek Caban 96be709c2e urlmon: RegisterNameSpace clean up. 2007-12-28 11:29:33 +01:00
Jacek Caban 6b6eb8c436 urlmon: Added CoInternetQueryInfo tests. 2007-12-28 11:29:27 +01:00
Jacek Caban 7d223172c5 urlmon: Added CoInternetQueryInfo implementation. 2007-12-28 11:29:22 +01:00
Jacek Caban c19fb7f011 mshtml: Added QueryInfo tests. 2007-12-28 11:29:17 +01:00
Jacek Caban e93353b2b5 mshtml: Added ResProtocolInfo::QueryInfo implementation. 2007-12-28 11:29:08 +01:00
Jacek Caban 8a87ea5b6a mshtml: Added AboutProtocolInfo::QueryInfo implementation. 2007-12-28 11:29:04 +01:00
Stefan Dösinger ea093f4a38 wined3d: Multiply the half pixel correction with .w. 2007-12-28 11:28:59 +01:00
Mike McCormack cc405b1522 shell32: Implement "My Network Places" shell folder. 2007-12-27 14:13:30 +01:00
Marcus Meissner 2cb3f982a6 d3d9: Initialize pVertexBuffer. 2007-12-27 14:13:30 +01:00
Aric Stewart a8e62526f7 fonts: Correct External leading for japanese small font and enable fontmetric test for the font. 2007-12-27 14:13:30 +01:00
Stefan Dösinger fd711c57df wined3d: Combine two glScalef calls into one. 2007-12-27 13:44:18 +01:00
Stefan Dösinger 44b8915371 wined3d: Get rid of the invymat.
glScalef(1.0, -1.0, 1.0) does the same as the glMultMatrix with the
invymat matrix, and it is more optimal.
2007-12-27 13:44:13 +01:00
Stefan Dösinger 2bec23fd7c wined3d: Fix a problem in BltOverride. 2007-12-27 13:44:05 +01:00
Gerald Pfeifer 05cf0bdf81 msi: Fix error handling in encode_streamname(). 2007-12-27 13:43:56 +01:00
Alexander Dorofeyev 27c98fd628 wined3d: Also update alpha test when stage texture is NULL. 2007-12-27 13:43:49 +01:00
Alexander Nicolaysen Sørnes 5624948c71 comdlg32: PageSetupDlgW: Load paper orientation in ChangePrinterW. 2007-12-26 14:03:57 +01:00
Alexander Dorofeyev 1e23602d4b wined3d: Add zero/near zero vertex rhw special case. 2007-12-26 14:03:48 +01:00
Alexander Dorofeyev d5a09fdda7 ws2_32: Fix timeout check. 2007-12-26 14:03:41 +01:00
Rob Shearman 3e8a032e8b rpcrt4: Re-use existing memory for embedded pointers in NdrVaryingArrayUnmarshall. 2007-12-26 14:02:58 +01:00
Rob Shearman 273766ee6f rpcrt4: Re-use existing memory for embedded pointers in NdrConformantVaryingArrayUnmarshall. 2007-12-26 14:02:55 +01:00
Rob Shearman a05923e1d3 rpcrt4: Add tests for varying and conformant varying arrays. 2007-12-26 14:02:53 +01:00
Andrey Turkin a38cd7ac01 dbghelp: Treat const addresses as const unsigned.
This will prevent winedbg from spamming about __wine_dbch__default.
2007-12-26 14:02:22 +01:00
Rob Shearman da93bc702f quartz: Fix memory leak in FilterGraphInner_Release. 2007-12-26 14:02:10 +01:00
Rob Shearman 0efbce5112 oleaut32: Fix copy and paste error in VARIANT_UserUnmarshall with VT_UNKNOWN test.
The variant type is VT_UNKNOWN so we should be using V_UNKNOWN, not 
V_VARIANTREF(V_R8) to check the type unmarshalled properly.
2007-12-26 14:02:04 +01:00
Rob Shearman 5b072fbbec msi: Fix several memory leaks after using IEnumSTATSTG_Next.
The pwcsName field of STATSTG must be freed, otherwise the memory will 
be leaked.
2007-12-26 14:02:01 +01:00
Rob Shearman 1f56359261 hlink: Fix memory leak by freeing extension services This->headers in the release function. 2007-12-26 14:01:58 +01:00