Dylan Smith
e082dd3042
richedit: Add paragraph field to wrap context to avoid searching for it.
...
More case of searching for the paragraph through the linked list when
is was already previously available. Since each wrap context is used
for wrapping each paragraph, I decided to add the reference to the
paragarph in the structure.
2009-02-06 14:50:27 +01:00
Dylan Smith
d20e057d8e
richedit: Accept paragraph as parameter for ME_CharOfsFromRunOfs.
...
Rather than get the paragraph from the run, the function allows the
caller to provide the paragraph, since it is already available. This
reduces unnecessary traversals of lists that take longer as more runs
and rows are in the paragraph.
2009-02-06 14:50:27 +01:00
Dylan Smith
12ca50db7a
richedit: Get the paragraph with ME_RunOfsFromCharOfs.
...
The ME_RunOfsFromCharOfs function finds the paragraph before finding the
run and offset within the run, so the function may as well be able to
return this paragraph to the caller. Many callers to the function
instead find the paragraph from the run, which ends up unnecessarily
traversing a linked list of runs within the paragraph.
2009-02-06 14:50:27 +01:00
Dylan Smith
a5bfa1a2ab
richedit: Properly destroy context in two places.
...
Whenever ME_InitContext is called, ME_DestroyContext should be used to
clean it up. This way the context can be extended easily by modifying
those two functions. Instead, these two places of code just released
the DC, without using ME_DestroyContext, so the created brush for the
margin was not deleted.
2009-02-06 14:50:27 +01:00
Dylan Smith
ea9e062b6c
richedit: Removed unnecessary calls to ME_WrapMarkedParagraphs.
...
These calls to ME_WrapMarkedParagraphs never do anything, and don't make
sense to be called in these places. These places are for ME_MoveCaret,
and ME_ArrowHome, which both don't involve any text being modified, and
all (direct and indirect) calls to these functions are done after the
text has already been wrapped.
2009-02-06 14:50:27 +01:00
Dylan Smith
a490e155dc
richedit: Simplified the character length delete protection.
...
The value for nMaxChars can be found easier by using ME_GetTextLength.
2009-02-06 14:50:27 +01:00
Juan Lang
1f3fd357db
crypt32: Fix some test failures on older versions of Windows.
2009-02-06 14:50:27 +01:00
Aric Stewart
1adb1d8aea
msctf: Define ITfContextOwnerCompositionSink. This is implemented by a tsf aware application.
2009-02-06 14:50:26 +01:00
Aric Stewart
67d00e3ee6
msctf: When a Context is created connect to the ITextStoreACP if provided and create and advise our ITextStoreACPSink.
2009-02-06 14:50:26 +01:00
Aric Stewart
5e7493d51c
msctf: Define ITextStoreACP.
2009-02-06 14:50:26 +01:00
Aric Stewart
44148fe99a
msctf: Add stub ITextStoreACPSink.
2009-02-06 14:50:26 +01:00
Jacek Caban
21e1b15795
mshtml: Remove document observer before releasing nsdoc.
2009-02-06 14:50:26 +01:00
Jacek Caban
d0c6939663
mshtml: Wine Gecko 0.9.1 release.
2009-02-06 14:50:26 +01:00
Paul Vriens
f42e507037
fusion/tests: Fix some tests failures on .NET 1.1 (and Win98).
2009-02-06 13:05:31 +01:00
Paul Vriens
09fc4e8063
fusion/tests: Fix a test failure on Win64.
2009-02-06 13:05:26 +01:00
Paul Vriens
a89bd3f562
fusion/tests: Fix some test failures on systems with .NET 1.1.
2009-02-06 13:05:22 +01:00
Paul Vriens
cf9f4dfa2a
fusion/tests: Run tests correctly on Win98.
2009-02-06 13:05:06 +01:00
Michael Stefaniuc
2c11f3a5a5
winejack.drv: The dwParam1/dwParam2 function arguments are DWORD_PTR.
2009-02-06 13:04:57 +01:00
Michael Stefaniuc
b8a5ab2924
winmm: SendDriverMessage takes LPARAM as 3rd and 4th argument.
2009-02-06 13:04:50 +01:00
Andre Wisplinghoff
6c96347121
comdlg32: Update German and French translation.
2009-02-06 13:04:44 +01:00
Ken Thomases
4cfa5b875c
winecoreaudio.drv: Add support for waveOutBreakLoop/WODM_BREAKLOOP.
2009-02-06 13:04:37 +01:00
Marcus Meissner
ad0a5f1bd2
mshtml: Fixed size passed to MultiByteToWideChar.
2009-02-06 13:04:32 +01:00
Marcus Meissner
fb3d3d020d
advapi32: Fixed size of userName.
2009-02-06 13:04:22 +01:00
Andrew Talbot
e2eaface45
netapi32: Remove unused functions.
2009-02-06 13:04:06 +01:00
Andrew Talbot
c0ad988e67
msi: Remove unused functions.
2009-02-06 13:04:03 +01:00
Aric Stewart
096643dfa6
msctf: Stub implementation of SetInputScopes.
2009-02-06 13:03:57 +01:00
Aric Stewart
b7a47e7223
msctf: Stub for SetInputScope.
2009-02-06 13:03:52 +01:00
David Hedberg
2254a549a6
msvcrt: Implement _mbcjistojms.
2009-02-06 13:03:34 +01:00
André Hentschel
8052c1a230
winemaker: Add odbccp32 to default link list.
2009-02-06 13:03:27 +01:00
Rob Shearman
7fe67b159d
rpcrt4: Change the test of CStdStubBuffer->pPSFactory to only test for the field not being NULL.
...
The address varies on older versions of Windows and isn't really important.
2009-02-06 13:03:19 +01:00
Rob Shearman
40660894c8
ole32: Fix an ole2 test failure on Win9x and NT4.
...
The combination of CF_BITMAP and TYMED_GLOBAL isn't accepted on newer
versions of Windows, so mark it as broken.
2009-02-06 13:03:16 +01:00
Juan Lang
029c3fbb8d
shell32: Fix a few tests on Windows 98 and Vista.
2009-02-06 13:03:11 +01:00
Christoph von Wittich
4192d34dd9
kernel32: DeviceIoControl: lpBytesReturned must not be NULL if lpOverlapped is NULL.
2009-02-06 13:03:06 +01:00
Alexandre Julliard
e01452bf45
fonts: Copy the TrueType fonts to the build directory for out-of-tree builds.
2009-02-05 21:13:34 +01:00
Aric Stewart
17666004c8
msctf: Add sink framework and implement ITfTextEditSink in Context.
2009-02-05 14:35:43 +01:00
Marcus Meissner
6af99937b6
mshtml: Call install_cab_file() with name directly on non-Wine.
2009-02-05 14:32:47 +01:00
Gerald Pfeifer
1420ef9c4b
wnaspi32: Invoke ASPI_SendASPICommand() on non-Linux platforms, too.
2009-02-05 14:27:25 +01:00
Juan Lang
dd52e52df8
mapi32: Fix failing tests on some Win9x versions.
2009-02-05 14:24:23 +01:00
Juan Lang
fc5ea773e5
advapi32: Support the computer name as an account name in LookupAccountNameW.
2009-02-05 14:24:19 +01:00
Juan Lang
0b32bdc4b4
advapi32: Test LookupAccountName with the computer name as the account name.
2009-02-05 14:22:39 +01:00
Paul Vriens
c07b5fc5d9
fusion/tests: Do the conversion before testing.
2009-02-05 13:15:46 +01:00
Michael Stefaniuc
7dbba8c335
winhttp: Remove superfluous pointer casts.
2009-02-05 13:15:37 +01:00
Michael Stefaniuc
e89386a59e
user32/tests: Remove superfluous pointer casts.
...
The (MENUITEMINFO)->dwTypeData is really a string ... the joys of the
Hungarian notation.
2009-02-05 13:15:32 +01:00
Michael Stefaniuc
15229de500
include: Change some DWORD to DWORD_PTR in msacmdrv.h.
...
The changes are for Win64 compatibility and match the DDK.
2009-02-05 13:15:28 +01:00
Michael Stefaniuc
01af587568
include: Remove struct PORTALLOC from mmddk.h.
...
It doesn't exist in the DDK nor is it used in Wine.
2009-02-05 13:15:24 +01:00
Michael Stefaniuc
8aeacc5fb5
include: Change some DWORD to DWORD_PTR in msacm.h.
...
The change is for Win64 compatibility and it matches the DDK.
2009-02-05 13:15:21 +01:00
Dmitry Timoshkov
5804470f26
gdi32: Make sure that World2Vport DC transformation is valid before using it.
2009-02-05 13:15:17 +01:00
Marcus Meissner
540f11f6d6
cryptui: Check NULL ptr differently (Coverity).
2009-02-05 13:15:13 +01:00
Jacek Caban
af835d654f
mshtml: Return nsIDocumentObserver as nsISupport of nsDocumentObserver object.
2009-02-05 13:15:03 +01:00
Francois Gouget
b4c47eabd4
winedos: Remove spaces before '\n's.
2009-02-05 13:14:58 +01:00