Dylan Smith
c92bb271b7
richedit: Use ME_Cursor instead of offsets for ME_GetTextRange.
2009-08-12 17:35:55 +02:00
Dylan Smith
2da0d8e933
richedit: Use ME_Cursor instead of offsets for ME_SetCharFormat.
...
The test that succeeded from this change was as a result of allowing the
end of the character format change be specified using NULL as the rest
of the text. Before, the end paragraph run at the end of the text was
not being set for this case, when all the text was supposed to have its
character format changed.
2009-08-12 17:35:50 +02:00
Dylan Smith
ade37203a5
richedit: Use ME_Cursor instead of offsets for ME_GetCharFormat.
...
Prevent extra conversions from character offset to ME_Cursor.
2009-08-12 17:35:42 +02:00
Dylan Smith
2bc726930f
richedit: Add helpers for setting cursor to start/end of text.
2009-08-12 17:35:30 +02:00
Dylan Smith
32dcd3bbe1
richedit: Created functions to move between runs and track paragraphs.
...
Plenty of places in the code find following or preceding runs, then
afterwards find the paragraph from the run. This is inefficient because
the same linked list is used for both runs and paragraphs, so changes in
paragraphs can be detected while returning the next or previous run.
2009-08-12 17:35:24 +02:00
Dylan Smith
0362b1b087
richedit: Improve efficiency of ME_IsCandidateAnURL.
...
The code was previously getting the same text in the loop from the
editor, and it was converting each of the prefixes to compare against
for each URL candidate.
2009-08-12 17:34:44 +02:00
Dylan Smith
82e102107c
richedit: ME_GetTextW must use source and destination lengths.
...
Before a single length was used for the number of characters to retrieve
from the text, and to keep track of the size of the buffer. These are
not equivalent, since there is a possible end of line conversion.
2009-08-12 17:32:16 +02:00
Dylan Smith
46b84aed4a
richedit: Added function to get selection cursors in order.
...
Previously the only convenient way to get the start and end of the
selection was through offsets, which eventually need to get converted
back into items in the linked list storing the text. The new function
will help with eliminating these inefficiencies.
2009-08-12 17:29:30 +02:00
Dylan Smith
be0fb1ef5d
richedit: Make the ME_GetCursorOfs function more flexible.
...
This function will make it easier to work with ME_Cursor objects, which
should be used in a lot of places instead of character offsets (which
often require seeking through the linked lists to perform operations
with).
2009-08-12 17:29:20 +02:00
André Hentschel
e726a5cca1
winhlp32: Update German translation.
2009-08-12 17:29:14 +02:00
André Hentschel
7a8495fa75
shlwapi: Update German translation.
2009-08-12 17:29:09 +02:00
André Hentschel
b55825ab22
oledlg: Update German translation.
2009-08-12 17:29:04 +02:00
André Hentschel
73bb3c8789
hhctrl.ocx: Update German translation.
2009-08-12 17:29:00 +02:00
André Hentschel
882de655cc
gphoto2.ds: Update German translation.
2009-08-12 17:28:55 +02:00
André Hentschel
aea7ecca95
crypt32: Update German translation.
2009-08-12 17:28:50 +02:00
André Hentschel
b2272fb768
avifil32: Update German translation.
2009-08-12 17:28:45 +02:00
Alexandre Julliard
a9feb3d271
kernel32: Check the 64-bit flag when starting a process.
2009-08-12 17:25:59 +02:00
Alexandre Julliard
8c11d71f0f
kernel32: Add a 64-bit flag to the MODULE_GetBinaryType return value.
2009-08-12 17:04:38 +02:00
Alexandre Julliard
4a59ac76f1
kernel32: Check for a 32-bit NT header before getting module address range in MODULE_GetBinaryType.
2009-08-12 17:04:38 +02:00
Alexandre Julliard
5e4f0cf5ca
kernel32: Return the dll flag in MODULE_GetBinaryType for 16-bit modules too.
2009-08-12 17:04:38 +02:00
Alexandre Julliard
f274d1d03f
kernel32: Change MODULE_GetBinaryType return value to make dll a flag instead of a type.
2009-08-12 17:04:38 +02:00
Piotr Caban
5323a454c8
jscript: Fixed Object.toLocaleString implementation.
2009-08-12 17:04:38 +02:00
Piotr Caban
9f0969fbcb
jscript: Inherit some Number functions from Object.
2009-08-12 17:04:38 +02:00
Piotr Caban
5d41205654
jscript: Inherit some RegExp functions from Object.
2009-08-12 17:04:38 +02:00
Piotr Caban
79f45c5374
jscript: Inherit some String functions from Object.
2009-08-12 17:04:37 +02:00
Nikolay Sivov
1dfd55ff9a
comctl32/treeview: Fix test failure on Vista.
2009-08-12 17:04:37 +02:00
Nikolay Sivov
4a9a432841
comctl32/treeview: Fix some test failures on XP and higher.
2009-08-12 17:04:37 +02:00
Alexandre Julliard
b46cf438f8
ntdll: Add a ret to DEFINE_REGS_ENTRYPOINT to make copy protections happy.
2009-08-12 17:04:20 +02:00
Vincent Povirk
2df20cb921
windowscodecs: Implement WriteSource for BMP frame encoder.
2009-08-12 13:47:31 +02:00
Vincent Povirk
22bfe27fb0
windowscodecs: Implement Commit for BMP encoder.
2009-08-12 13:47:15 +02:00
Vincent Povirk
7cc0fd4fde
windowscodecs: Implement Commit for BMP frame encoder.
2009-08-12 13:47:07 +02:00
Vincent Povirk
4d1d92f87f
windowscodecs: Implement WritePixels for BMP frame encoder.
2009-08-12 13:46:56 +02:00
Vincent Povirk
fcb69378a1
windowscodecs: Implement SetResolution for BMP frame encoder.
2009-08-12 13:46:08 +02:00
Vincent Povirk
db040535f5
windowscodecs: Implement SetPixelFormat for BMP frame encoder.
2009-08-12 13:46:00 +02:00
Vincent Povirk
07fd33d1fa
windowscodecs: Implement SetSize for the BMP frame encoder.
2009-08-12 13:45:08 +02:00
Vincent Povirk
4664116a42
windowscodecs: Implement Initialize for the BMP frame encoder.
2009-08-12 13:44:49 +02:00
Vincent Povirk
8cfc5befc9
windowscodecs: Implement CreateNewFrame for BMP encoder.
2009-08-12 13:44:29 +02:00
Vincent Povirk
941f2d3a3b
windowscodecs: Implement Initialize for BMP encoder.
2009-08-12 13:42:59 +02:00
Vincent Povirk
fbadf7c0ed
windowscodecs: Add stub BMP encoder.
2009-08-12 13:42:42 +02:00
Vincent Povirk
b33a8da49d
include: Add definitions needed for WIC bitmap encoding.
2009-08-12 13:42:35 +02:00
Stefan Leichter
5ffba2da97
advapi32: Add stub for SaferGetPolicyInformation.
2009-08-12 13:28:09 +02:00
Nikolay Sivov
e41d0dd7de
comctl32/listview: Some tests to show we don't handle WM_SETREDRAW right.
2009-08-12 13:23:14 +02:00
Henri Verbeet
f7918b978f
wined3d: Make the "luminanceparams" shader_reg_maps member a bitmap.
2009-08-12 13:22:50 +02:00
Henri Verbeet
95bb4c0486
wined3d: Make the "bumpmat" shader_reg_maps member a bitmap.
2009-08-12 13:22:44 +02:00
Henri Verbeet
3d718d6414
wined3d: Make the "labels" shader_reg_maps member a bitmap.
2009-08-12 13:22:37 +02:00
Henri Verbeet
270f57e755
wined3d: Make the "address" shader_reg_maps member a bitmap.
2009-08-12 13:22:30 +02:00
Henri Verbeet
3ec639e38c
wined3d: Fix swapchain draw buffer cleanup.
...
Destroying the first back buffer before the other ones might cause an already
freed surface to be used as target in FindContext().
2009-08-12 13:22:25 +02:00
Rein Klazes
06b99c62c2
user32: Fix a bug in computing the maximum depth of a branch in a menu hierarchy.
...
It was computing the number of submenus in the branch, rather then the
maximum depth.
2009-08-12 12:53:42 +02:00
Dmitry Timoshkov
32e3539413
winex11.drv: Handle failure of XcursorImageCreate.
2009-08-12 12:53:32 +02:00
Dmitry Timoshkov
96e44ddb78
user32: Return 0 from DefDlgProc and dialog loop for invalid dialog handles.
2009-08-12 12:53:25 +02:00