Commit Graph

35335 Commits

Author SHA1 Message Date
Rob Shearman fc269433ce oleaut32: Fix invalid free of import library entry name with SLTG typelibs.
Use TLB_MultiByteToBSTR to allocate import library entry name in
ITypeLib2_Constructor_MSFT as BSTR instead of a normal block of memory
to make the allocator the same as for SLTG typelibs. Free the name
with SysFreeString instead of TLB_Free.
2008-08-18 14:36:58 +02:00
Rob Shearman 2fab79955f oleaut32: Avoid unnecessary allocations in TLB_MultiByteToBSTR and SLTG_ReadString. 2008-08-18 14:36:51 +02:00
Rob Shearman ef5a5a4490 rpcrt4: Fix RpcStringBindingComposeA/W and RpcStringBindingParseA/W to escape and unescape delimiters in the string binding.
This behaviour is stated by the DCE/RPC specification and is also
shown in the rpcrt4 conformance tests.
2008-08-18 14:36:45 +02:00
Rob Shearman 0a5e5a6e5b rpcrt4: Print a warning if connecting to a named pipe failed in rpcrt4_conn_open_pipe in the !wait case. 2008-08-18 14:36:33 +02:00
Rob Shearman d2d513db74 rpcrt4: Fix RpcBindingToStringBinding to not generate a UUID string if the object UUID is nil. 2008-08-18 14:36:28 +02:00
Rob Shearman 90bd74081a rpcrt4: Add test for RpcBindingToStringBindingA. 2008-08-18 14:36:23 +02:00
Rob Shearman ce085ed8ec rpcrt4: Check that strings in SMB, NB and pipe floors are nul-terminated before copying the data. 2008-08-18 14:35:43 +02:00
Rob Shearman 1e46fc672a rpcrt4: Fix the protid used in ncalrpc tower functions.
The epm tower for the ncalrpc protseq should have a floor with a
protid of EPM_PROTOCOL_PIPE instead of EPM_PROTOCOL_SMB.
2008-08-18 14:35:26 +02:00
Rob Shearman 498216fc11 rpcrt4: Fix crash in rpcrt4_ncalrpc_parse_top_of_tower due to unconditionally dereferencing networkaddr and endpoint variables.
These can be NULL when parts of the tower are not required.
2008-08-18 14:35:21 +02:00
Rob Shearman 54e904e780 rpcrt4: Fix crash calculation of tower size in rpcrt4_ncalrpc_get_top_of_tower.
The size depends on the length of the endpoint string, not the network
address string.
2008-08-18 14:35:15 +02:00
Rob Shearman cdb9625dbd rpcrt4: Fix a typo in the ncalrpc protseq in the epm_endpoints structure. 2008-08-18 14:35:10 +02:00
Francois Gouget 4f597af285 dplayx/tests: Fix compilation on systems that don't support nameless unions. 2008-08-18 14:34:41 +02:00
Rob Shearman 2652ddfeba rpcrt4: Re-implement part of the conformant varying structure processing routines using array_* functions. 2008-08-18 14:34:41 +02:00
Rob Shearman b2305adc3c rpcrt4: Factorise conformant string functions into array_* functions.
This allows conformant string array types to be
marshalled/unmarshalled when embedded in a complex type.
2008-08-18 14:34:40 +02:00
Rob Shearman 9e3260847a rpcrt4: Factorise conformant varying array functions into array_* functions.
This allows conformant varying array types to be
marshalled/unmarshalled when embedded in a complex type.
2008-08-18 14:34:40 +02:00
Rob Shearman 518242ef33 rpcrt4: Add tests for a complex struct with conformant array. 2008-08-18 14:34:40 +02:00
Rob Shearman 9116d73c63 rpcrt4: Factorise conformant array NDR functions and use them to fix the wire-representation of complex structures with conformant arrays.
Factorise each conformant array function into the part that deals with
reading, writing or sizing the conformance and another part that deals
with reading, writing or sizing the variance and the element data.

This allows complex structures to use the right wire format where the
conformance appears before the structure data starts.
2008-08-18 14:34:40 +02:00
Dylan Smith 59195ed2ec richedit: Added in support for streaming in and out nested tables. 2008-08-18 14:34:35 +02:00
Dylan Smith 300db3765f richedit: Each cell can contain multiple paragraphs in msftedit. 2008-08-18 14:34:11 +02:00
Dylan Smith bc61a637b9 richedit: Reversed deletion direction so tables are inserted forwards. 2008-08-18 14:34:10 +02:00
Dylan Smith d29f671d1a richedit: Protect deletion of cell boundaries when not deleting row. 2008-08-18 14:34:10 +02:00
Dylan Smith bf5ccefc4c richedit: Handle tab key properly within table cells.
Within table cells the tab key moves to the next cell in the table, or creates
a new table row when at the end of the table.
2008-08-18 14:34:10 +02:00
Dylan Smith 608c54ee69 richedit: Word/Line/Paragraph selection had selection anchor on wrong side.
After selection a word, line, or paragraph with multi click selection or using
the selection bar, then shift can be held and the arrows can be used to move
one of the ends of the selection.
2008-08-18 14:34:10 +02:00
Dylan Smith e568e15142 richedit: Removed assumption about the order of rtf indent control words.
Previously the calculations of dxStartIdent and dxOffset depended on
their order.
2008-08-18 14:34:10 +02:00
Maarten Lankhorst 2cd620802a winealsa.drv: Add ability to recover from underruns to directsound driver.
Fixes handling of buffer underruns that might still occur.
2008-08-18 14:34:10 +02:00
Dan Hipschman 80c6099b2c advapi32/tests: Add tests for GetSecurityInfo with a NULL security descriptor pointer. 2008-08-18 14:34:10 +02:00
Dan Hipschman 62e5b6270b advapi32: Implement GetSecurityInfo. 2008-08-18 14:34:10 +02:00
Ken Thomases 59bf036c80 kernel32: Strip modifiers from the Mac locale so setlocale can parse it.
The CFLocale API can produce locale identifiers with modifiers, such as
"pl_PL@currency=EUR".  However, the Mac setlocale() can't understand such
locale strings.
2008-08-18 14:34:10 +02:00
Dylan Smith 6a65f3b38e richedit: Fixed rtf reader bug that caused large start indents.
The problem was that the paragraph format was being retrieved,
slightly modified and then used to set the paragraph format, without
limiting the mask to what was being set.  The PFM_OFFSETINDENT mask flag
being valid meant that dxStartIndent specifies a relative offset, thus
dxStartIndent was doubled.
2008-08-18 14:34:10 +02:00
Huw Davies d5f6d841c1 kernel32: GetCalendarInfo shouldn't return HRESULT codes. Change a MESSAGE to a FIXME. 2008-08-18 13:37:31 +02:00
Rico Schüller c62529a7ae inetmib1: Fix wrong arguments. 2008-08-05 14:09:37 +02:00
Paul Vriens 0d88bf89dc kernel32/tests: Show the setting of the debugger registry value. 2008-08-05 14:09:37 +02:00
Alexandre Julliard 73423c1a40 gdi32/tests: Fix some test failures on Win9x. 2008-08-05 14:09:37 +02:00
Adam Petaccia e4cc0bc422 gdiplus: Skip the generic font tests if we don't have the required fonts. 2008-08-05 14:09:37 +02:00
Roy Shea 2f366935d5 mstask: Implemented NewWorkItem. 2008-08-05 14:09:37 +02:00
Roy Shea 777c2f1d46 mstask: Task stub with AddRef, QueryInterface, and Release. 2008-08-05 14:09:37 +02:00
Dylan Smith 4e56a3cda9 richedit: Joined paragraph format depends on number of characters deleted. 2008-08-05 14:09:37 +02:00
Dylan Smith 11c8039699 richedit: Use tabstops to store cell positions. 2008-08-05 14:09:37 +02:00
Stefan Dösinger dff3a42233 wined3d: Track overlay surfaces in the overlayed surface. 2008-08-05 14:09:37 +02:00
Stefan Dösinger b0c4673779 wined3d: Update the surface locations in Present. 2008-08-05 14:09:37 +02:00
Stefan Dösinger 851dd7339e wined3d: Implement overlay flipping. 2008-08-05 14:09:36 +02:00
Stefan Dösinger fad3f9ba98 wined3d: Basic overlay emulation with opengl. 2008-08-05 14:09:36 +02:00
Stefan Dösinger e795d842ec wined3d: Implement overlay position tracking. 2008-08-05 14:09:36 +02:00
Stefan Dösinger a7d5b1e9a5 wined3d: Move the pshader fog update to the vertex pipeline. 2008-08-05 14:09:36 +02:00
Stefan Dösinger eb0264e2b3 wined3d: Remove a glFlush. 2008-08-05 14:09:36 +02:00
Stefan Dösinger 44d419ad8e wined3d: Call glFlush outside the GL lock. 2008-08-05 14:09:36 +02:00
Andrew Talbot da335a6c91 hhctrl.ocx: Sign-compare warning fix. 2008-08-05 14:09:36 +02:00
Andrew Talbot 2e9353246b gphoto2.ds: Sign-compare warning fix. 2008-08-05 14:09:36 +02:00
Luis C. Busquets Pérez d9d8288508 d3dx9: Avoid assignment in D3DXGetVertexShaderProfile. 2008-08-05 14:09:36 +02:00
James Hawkins 35e16a2b42 advpack: Fix a failing test in win98. 2008-08-05 14:09:36 +02:00
Juan Lang 8c44e25693 ws2_32: Delay import iphlpapi. 2008-08-05 14:09:36 +02:00
Adam Petaccia 08b0493b9e gdiplus: Add another test to getregiondata. 2008-08-05 14:09:36 +02:00
Adam Petaccia 93eae5e83f gdiplus: Implement GdipCombineRegionPath. 2008-08-05 14:09:36 +02:00
Adam Petaccia 2a445d0ebd gdiplus: Implement GdipCombineRegionRegion. 2008-08-05 14:09:35 +02:00
Adam Petaccia 5bc8ddd86c gdiplus: Implement GdipCombineRegionRectI. 2008-08-05 14:09:35 +02:00
Adam Petaccia 4090aa43b5 gdiplus: Implement GdipCombineRegionRect. 2008-08-05 14:09:35 +02:00
Adam Petaccia 40456271d3 gdiplus: Implement GdipCloneRegion. 2008-08-05 14:09:35 +02:00
Adam Petaccia cf3d4928bd gdiplus: Implement GdipCreateRegionRectI. 2008-08-05 14:09:35 +02:00
Adam Petaccia d215b4744b gdiplus: Implement GdipCreateRegionRect. 2008-08-05 14:09:35 +02:00
Adam Petaccia af74f4d042 gdiplus: Implement GdipCreateRegionPath. 2008-08-05 14:09:35 +02:00
Adam Petaccia f52c211ac3 gdiplus: Implement GdipGetRegionData. 2008-08-05 14:09:35 +02:00
Nikolay Sivov aa0df2300e gdiplus: Implemented GdipAddPathPie/GdipAddPathPieI with test. 2008-08-05 14:09:35 +02:00
Nikolay Sivov 5887e661b7 gdiplus: Implemented GdipReversePath with tests. 2008-08-05 14:09:35 +02:00
Juan Lang 10f23fa7f5 crypt32: Use CryptSIPRetrieveSubjectGuid to determine how to read a message object from a file, rather than assuming the source file is always a PE executable. 2008-08-05 14:09:34 +02:00
James Hawkins 0dcdbcd3cc advpack: Skip the TranslateInfEx tests in win9x. 2008-08-05 14:09:34 +02:00
Reece Dunn aa584f146a shlwapi: Fixed the string tests on Vista. 2008-08-05 14:09:34 +02:00
Dan Kegel f0864c55eb shell32/tests: Test whether SHGetFileInfo should clear hIcon. 2008-08-05 14:09:34 +02:00
Huw Davies 29637c1441 gdi32: Keep track of the number of unique fonts that are created and return this in the second DWORD of the GdiRealizationInfo structure. 2008-08-05 14:09:34 +02:00
H. Verbeet 2d6d879562 wined3d: Handle CTXUSAGE_BLIT with offscreen targets and FBO ORM.
This is mostly for correctness, in practice we should always be able
to avoid using CTXUSAGE_BLIT for offscreen targets when FBO ORM is
used.
2008-08-05 14:09:34 +02:00
H. Verbeet b685b84e66 wined3d: Apply FBO state in ActivateContext().
Fixes some GL errors due to calling glDrawBuffer(GL_BACK) when an FBO
is still active.
2008-08-05 14:09:34 +02:00
H. Verbeet 9a9414dfe2 wined3d: Mark STATE_SCISSORRECT dirty in color_fill_fbo().
As pointed out by Alexander Dorofeyev.
2008-08-05 14:09:34 +02:00
James Hawkins 30b6954c3d winex11: Reduce console spam for AlphaBlend deficiencies. 2008-08-05 14:09:34 +02:00
James Hawkins 92ed390b28 msi: Change an ERR that was supposed to be a TRACE. 2008-08-05 14:09:34 +02:00
Paul Vriens 04c40f2f5f quartz/tests: Skip some tests on NT4. 2008-08-05 14:09:34 +02:00
Paul Vriens 7661c6989d kernel32/tests: Fix a test failure on Win9x. 2008-08-05 14:09:34 +02:00
Paul Vriens 220bb6d188 iphlpapi/tests: Skip some tests for unsupported functions. 2008-08-05 14:09:33 +02:00
Alexandre Julliard f59540ddad user32/tests: Fix a number of message sequence tests that could sometimes fail. 2008-08-05 14:09:33 +02:00
Alexandre Julliard 2b1c4ba138 user32/tests: Fix some test failures on win9x. 2008-08-05 14:09:33 +02:00
Alexandre Julliard 13645a7b30 user32/tests: Don't check last error on success in the broadcast tests. 2008-08-05 14:09:20 +02:00
Alexandre Julliard 4fce63eb74 user32/tests: Fix the listbox LB_DIR tests when directories are present. 2008-08-04 23:04:53 +02:00
Luis C. Busquets Pérez 9b572170da d3dx9: Implementation of D3DXGetVertexShaderProfile. 2008-08-04 15:41:15 +02:00
Luis C. Busquets Pérez 457efd55d0 d3dx9: Implementation of D3DXGetPixelShaderProfile. 2008-08-04 15:40:52 +02:00
Ismael Barros 42fd319923 dplayx: Tests for GetPlayerFlags. 2008-08-04 15:34:29 +02:00
Ismael Barros bbbe26bb5d dplayx: Tests for GetPlayerAddress. 2008-08-04 15:34:19 +02:00
Ismael Barros 858d889288 dplayx: Tests for GetPlayerAccount. 2008-08-04 15:34:05 +02:00
Ismael Barros aacefb7e17 dplayx: Tests for Get/SetPlayerName. 2008-08-04 15:33:50 +02:00
Ismael Barros 0755a77e0e dplayx: Tests for Get/SetPlayerData. 2008-08-04 15:33:25 +02:00
Ismael Barros c50a626aa1 dplayx: Tests for GetPlayerCaps. 2008-08-04 15:33:08 +02:00
Ismael Barros 724f0ea4d6 dplayx: Tests for CreatePlayer. 2008-08-04 15:32:56 +02:00
Ismael Barros bd22a57cd1 dplayx: Tests for Get/SetSessionDesc. 2008-08-04 15:32:42 +02:00
Ismael Barros fbc5512ee0 dplayx: Tests for EnumSessions. 2008-08-04 15:32:23 +02:00
Ismael Barros fa4b3e4d53 dplayx: Tests for Open. 2008-08-04 15:31:18 +02:00
Damjan Jovanovic ad886d6698 shdocvw: Rudimentary implementation of CLSID_InternetShortcut. 2008-08-04 15:02:36 +02:00
Detlef Riekenberg da0604bebd shell32/tests: Fix shelllink test on win9x (GetTempPathW). 2008-08-04 14:22:05 +02:00
Detlef Riekenberg 139c214661 shlwapi/tests: Fix istream tests on win9x (GetTempPathW). 2008-08-04 14:21:54 +02:00
Andrew Talbot 5f6d8da932 fusion: Sign-compare warnings fix. 2008-08-04 14:20:55 +02:00
Nikolay Sivov a36c2e7533 gdiplus: Implemented GdipAddPathClosedCurve/GdipAddPathClosedCurveI. 2008-08-04 14:18:14 +02:00
Nikolay Sivov 831729ada1 gdiplus: Implemented GdipAddPathClosedCurve2I using GdipAddPathClosedCurve2. 2008-08-04 14:18:07 +02:00
Nikolay Sivov 8be642c4c0 gdiplus: Implemented GdipAddPathClosedCurve2 with tests. 2008-08-04 14:17:59 +02:00
Nikolay Sivov 6492f07f8d gdiplus: Implemented GdipAddPathCurve/GdipAddPathCurveI. 2008-08-04 14:17:49 +02:00
Nikolay Sivov edfc1968ce gdiplus: Implemented GdipAddPathCurve2I using GdipAddPathCurve2. 2008-08-04 14:17:41 +02:00
Nikolay Sivov 169140cc83 gdiplus: Implemented GdipAddPathCurve2 with tests. 2008-08-04 14:17:31 +02:00
Nikolay Sivov 2fb0c7e639 gdiplus: Move some Beziers helpers to gdiplus.c to use them for graphicspath. 2008-08-04 14:17:20 +02:00
Tobias Jakobi 2583975ec7 wined3d: Remove arb_tex_npot for NV FX series in fixup_extensions. 2008-08-04 14:05:01 +02:00
H. Verbeet d28a310f92 wined3d: Use CTXUSAGE_RESOURCELOAD for ActivateContext() in color_fill_fbo().
CTXUSAGE_CLEAR will apply the FBO state in a later patch.
2008-08-04 13:52:16 +02:00
H. Verbeet f037eb8696 wined3d: Move setting the draw buffer to a separate function. 2008-08-04 13:52:09 +02:00
Piotr Caban a94e4c196c msxml3: Add namespaces to attributes. 2008-08-04 13:51:57 +02:00
Piotr Caban e9d34b7f5a msxml3: Add ISAXContentHandler_startPrefixMapping event. 2008-08-04 13:51:53 +02:00
Piotr Caban 7be136bcd5 msxml3: Add implementation of ISAXAttributes_getURI. 2008-08-04 13:51:17 +02:00
Piotr Caban 7a5a7819f8 msxml3: Add NULL pointers check in getLocalName, getQName and getValue. 2008-08-04 13:51:11 +02:00
Piotr Caban 319d86c733 msxml3: Return QNames properly. 2008-08-04 13:50:55 +02:00
Stefan Dösinger ef647c9ad9 d3d9: Skip gracefully if A16R16G16B16 is not supported. 2008-08-04 13:12:20 +02:00
Stefan Dösinger e9827cc916 wined3d: Always load glFinish and glFlush from opengl32.dll. 2008-08-04 13:12:10 +02:00
Stefan Dösinger 399825cd8e wined3d: Report the pitch alignment to ddraw. 2008-08-04 13:10:37 +02:00
Stefan Dösinger 8ee4159e4f wined3d: Only set D3D caps when GL was loaded successfully. 2008-08-04 13:10:20 +02:00
Stefan Dösinger a47e7badb9 ddraw: Set ddraw caps in wined3d.
Currently the ddraw capabilities were almost static, except of D3D
support. When overlay support is added, the caps depend on certain
settings in WineD3D or capabilities available from OpenGL and Xv. So
set those caps in wined3d as well.
2008-08-04 13:10:11 +02:00
Stefan Dösinger 474e7ed98c wined3d: Beware of the frontbuffer coordinate system difference. 2008-08-04 13:09:43 +02:00
Stefan Dösinger 016efe7d94 wined3d: Clamp results in the arbfp pipeline replacement.
Fixed function processing can only deal with values between 0 and 1
generally. Clamp the results of instructions that could produce bigger
or smaller values.
2008-08-04 13:07:53 +02:00
Stefan Dösinger 228f2cf3c2 wined3d: Initialize the texture op function properly. 2008-08-04 13:07:26 +02:00
Dmitry Timoshkov 59e2155432 mlang: Remove debugging stuff. 2008-08-04 13:06:56 +02:00
Dmitry Timoshkov 0786923e32 mlang: Do not use MAX_PATH for not path related things. 2008-08-04 13:06:44 +02:00
Dmitry Timoshkov 253a6971a3 mlang: Remove noise from mlang test output. 2008-08-04 13:06:25 +02:00
Dmitry Timoshkov cfe0f97067 mlang: Add a test for a CodePageToCodePages failure, make it pass under Wine. 2008-08-04 13:06:14 +02:00
Paul Vriens 1542bbd81c crypt32/tests: Don't crash on some win9x boxes. 2008-08-04 13:05:04 +02:00
Francois Gouget a793888a28 Assorted spelling fixes. 2008-08-04 13:04:48 +02:00
Francois Gouget 2592687321 d3d9: Add an API documentation stub to make winapi_check happy. 2008-08-04 13:04:39 +02:00
James Hawkins 8782fdba1b msi: Add a stub implementation of MsiEnumPatchesEx. 2008-08-04 13:04:30 +02:00
Nikolay Sivov e04a662036 gdiplus: Implemented GdipFillPolygon2/GdipFillPolygon2I. 2008-08-04 13:04:23 +02:00
Hans Leidekker 3c43a6568f wininet: Properly initialize access type when no proxy is configured. 2008-08-04 13:04:16 +02:00
Hans Leidekker daa2fdfccb wininet: Use getaddrinfo for thread-safe resolving if available. 2008-08-04 13:04:12 +02:00
Roy Shea 41da56a05f mstask/test: NewWorkItem conformance test. 2008-08-04 13:03:56 +02:00
Michael Stefaniuc 0f5d6827db msxml3: Remove redundant NULL checks before HeapFree and fix a memleak (Smatch). 2008-08-04 13:03:42 +02:00
Juan Lang 5d4d5b16fd crypt32: More fully implement CryptSIPRetrieveSubjectGuid. 2008-08-04 13:03:38 +02:00
Juan Lang 7d78d394ae crypt32: Create a helper to load a SIP function from an open key. 2008-08-04 13:02:14 +02:00
Juan Lang 3f563c3d9b crypt32: Use ReadFile rather than a memory-mapped file to check the type of a file. 2008-08-04 13:02:00 +02:00
Paul Vriens c03dfb8f50 mlang/tests: Skip tests for unsupported code page identifiers. 2008-08-04 13:01:27 +02:00
Paul Vriens b2093dc86a kernel32/tests: Skip tests when codepage is not available. 2008-08-04 13:01:24 +02:00
Reece Dunn 786a2bd542 crypt32: Removed the failing base64 test in Vista. 2008-08-04 13:01:19 +02:00
Reece Dunn 428fd07e73 shell32: Fix shlexec crashing on Vista. 2008-08-01 12:22:54 +02:00
Reece Dunn 922414b60a secur32: Fix the schannel tests crashing on Vista. 2008-08-01 12:22:43 +02:00
Reece Dunn e413bbeea2 secur32: Fix the ntlm tests crashing on Vista. 2008-08-01 12:22:36 +02:00
Zac Brown 8ead556648 winhttp/tests: Add test for sending request. 2008-08-01 12:22:06 +02:00
Paul Vriens dc6fc6ad8c crypt32/tests: Use CryptAcquireContextA instead of CryptAcquireContextW. 2008-08-01 12:21:53 +02:00
Nikolay Sivov e9bcce6e1d gdiplus: Implemented GdipGetPenCustom[Start/End]Cap. 2008-08-01 12:12:29 +02:00
Ismael Barros 4ff6ba0a4a dplayx: Tests for GetCaps. 2008-08-01 12:10:19 +02:00
Ismael Barros d142447c26 dplayx: Tests for InitializeConnection. 2008-08-01 12:10:19 +02:00
Ismael Barros 4ab75e1214 dplayx: Tests for EnumConnections. 2008-08-01 12:10:19 +02:00
Ismael Barros 42165af840 dplayx: Tests for DirectPlayCreate. 2008-08-01 12:10:13 +02:00
Ismael Barros a1b76460a1 dplayx: Changed debug channel from dplayx to dplay. 2008-08-01 12:03:27 +02:00
Ismael Barros 5dc0d4d1ed dplayx: Fix the definition of DirectPlayCreate. 2008-08-01 12:02:26 +02:00