Commit Graph

48830 Commits

Author SHA1 Message Date
Huw Davies d84ea74ec8 wineps.drv: Make sure we call CreateFontIndirect with zero width, otherwise we'll get a scaled-width font. 2008-08-18 17:04:41 +02:00
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 f5af8f614f include: Fix the WINELIB_NAME_AW macro for RpcBindingToStringBinding. 2008-08-18 14:36:17 +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 257bf68f3d rpcss: Register the endpoint for the ncalrpc protseq for the endpoint mapper. 2008-08-18 14:35:38 +02:00
Rob Shearman a80a6353d7 rpcss: Warn in ept_insert if TowerExplode fails. 2008-08-18 14:35:34 +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
Paul Vriens 5136b3a10b include/wine/svcctl.idl: Remove duplicate define. 2008-08-18 14:34:41 +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
Dan Hipschman 790e6dcd29 widl: Honor typedef pointer attributes. 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
Eric Pouech 687a00c0af winedbg: Don't force integral values while displaying a stack value, it doesn't work for float/double values. 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
Kirill K. Smirnov 520ab5c261 winhlp32: Clear richedit area before setting text. 2008-08-05 14:09:38 +02:00
Kirill K. Smirnov 52081393bc winhlp32: Fix off-by-one error. 2008-08-05 14:09:38 +02:00
Kirill K. Smirnov 7377856352 winhlp32: Fix parsing system header of win3.0 help file. 2008-08-05 14:09:37 +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
Vladimir Pankratov 2a4429bfa3 winecfg: Update Russian translation. 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