Commit Graph

45171 Commits

Author SHA1 Message Date
Owen Rudge 1556fbf86c comctl32/tests: Add basic test for IImageList using SHGetImageList. 2009-08-13 15:51:07 +02:00
Owen Rudge cfd1703e47 uuid: Add IImageList (commoncontrols.h). 2009-08-13 15:47:56 +02:00
Owen Rudge ce638952af comctl32/tests: Move v6 test initialisation routines into separate file. 2009-08-13 15:44:37 +02:00
Dylan Smith 989bdd1579 richedit: Use ME_MoveCursorChars in ME_FindText to find relative offset.
When a previous character needed to be found, it is simpler to move
existing cursor rather than retravese the linked list to find the offset
again.
2009-08-13 15:35:37 +02:00
Dylan Smith 54b53b6018 richedit: Use ME_Cursor instead of offsets for stream out functions. 2009-08-13 15:35:28 +02:00
Dylan Smith bd4704280d richedit: Replace offsets arg with ME_Cursor for ME_InternalDeleteText.
Offsets are still used within the function, but this patch reduces the
use of it at the entry to the function.
2009-08-13 15:35:17 +02:00
Dylan Smith 8f0dfaba30 richedit: Removed ME_InsertRun since it uses character offsets.
The function was used in one place, and was simply a wrapper around a
call to ME_InsertRunAtCursor, so I removed it to avoids it use in other
parts of the code.
2009-08-13 15:35:07 +02:00
Dylan Smith 02228ee176 richedit: Use ME_Cursor instead of offsets for ME_CharFromPos. 2009-08-13 15:35:01 +02:00
Dylan Smith a69ef26599 richedit: Use ME_Cursor instead of offsets for copying text. 2009-08-13 15:34:54 +02:00
Dylan Smith 60a72583f4 richedit: Use ME_Cursor instead of offsets for ME_UpdateLinkAttribute. 2009-08-13 15:34:47 +02:00
Dylan Smith 27c28ab292 richedit: Modified ME_MoveCursorsChars to move multiple chars.
Previously the function was only used to move a single character in
either direction, so I made the function more general so that it could
be used in more places.
2009-08-13 15:34:39 +02:00
Henri Verbeet 914a21740c wined3d: Recognize GL_VENDOR "Tungsten Graphics, Inc." as VENDOR_MESA. 2009-08-13 11:45:42 +02:00
Henri Verbeet e205973915 wined3d: Remove the redundant vs_nv_version and ps_nv_version fields from struct wined3d_gl_info. 2009-08-13 11:45:36 +02:00
Henri Verbeet fbc3cf89e2 wined3d: Remove some unused fields from struct wined3d_gl_info. 2009-08-13 11:45:24 +02:00
Henri Verbeet 42c2d06bc0 wined3d: Don't make wgl calls from under the GL lock. 2009-08-13 11:45:17 +02:00
Dylan Smith 326f9b3f3f richedit: Fixed regression in ME_SetCharFormat.
Missed an assignment for end_run when the end cursor is provided and the
end position doesn't cause a split.
2009-08-13 11:45:13 +02:00
Nikolay Sivov e8846b7c78 comctl32/listview: Block redrawing entirely after WM_SETREDRAW wParam=FALSE. 2009-08-13 11:44:43 +02:00
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 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