Commit Graph

45263 Commits

Author SHA1 Message Date
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
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
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
Juan Lang 0ddc6d5287 iphlpapi: Set adapter name in GetAdaptersAddresses. 2009-08-12 12:51:17 +02:00
Kai Blin e6ac20e814 secur32: Revert "secur32: Work around ntlm_auth in Samba 3.0.28a being broken for cached credentials".
This reverts commit 7788c8ed0d, as well
as commit ec443be738. Due to erroneous
user input, these commits actually broke more than they fixed.
2009-08-12 12:51:02 +02:00
Kai Blin dfb2b429a0 secur32: Load Negotiate provider again. 2009-08-12 12:50:03 +02:00
Jacek Caban fbe9845890 mshtml: Added IHTMLElement::get_outerHTML implementation. 2009-08-12 12:49:46 +02:00
Jacek Caban 60db5edaf5 mshtml: Ignore DOCUMENT_TYPE_NODE nodes in nsnode_to_nsstring. 2009-08-12 12:49:39 +02:00
Jacek Caban 7a2e3a7b02 mshtml: Call IDocHostUIHandler::TranslateUrl from OnURIOpen. 2009-08-12 12:49:34 +02:00
Jacek Caban 520f41b259 mshtml: Don't write null byte in IPersist*::Save functions. 2009-08-12 12:49:29 +02:00
Jacek Caban 0d5899548f mshtml: Use correct macro in HTMLInputTextElement::get_value. 2009-08-12 12:49:23 +02:00
Jacek Caban 3768ae7336 mshtml: Added IBindStatusCallback::OnResponse implementation. 2009-08-12 12:49:18 +02:00
Jacek Caban 902829ea70 mshtml: Added support for partial reads in read_stream_data. 2009-08-12 12:49:02 +02:00
Jacek Caban dbe0de7337 mshtml: Moved TASK_PARSECOMPLETE to nsIMutationObserver::EndLoad. 2009-08-12 12:48:53 +02:00
Paul Vriens 862bd3c61e jscript: Add some Dutch translations. 2009-08-11 17:30:12 +02:00
Vincent Povirk d76d00ea7e gdiplus: Remove an unnecessary picture reference in GdipSaveImageToFile. 2009-08-11 17:29:58 +02:00
Piotr Caban 59cf9c449e jscript: Added $ handling to String.replace. 2009-08-11 17:29:37 +02:00
Vladimir Pankratov 01128fa35b hhctrl.ocx: Handle NULL param. 2009-08-11 17:29:30 +02:00
Henri Verbeet 6fa9fa15da wined3d: Make the "temporary" shader_reg_maps member a bitmap. 2009-08-11 12:36:20 +02:00
Henri Verbeet 50853e295b wined3d: Make the "texcoord" shader_reg_maps member a bitmap. 2009-08-11 12:36:16 +02:00
Henri Verbeet a282380f08 wined3d: Fix the type of the shader_reg_maps bitfields. 2009-08-11 12:36:12 +02:00
Henri Verbeet b2ace3b1ab wined3d: Correctly check for luminance bumpmap parameters in shader_generate_glsl_declarations(). 2009-08-11 12:35:49 +02:00
Henri Verbeet 76fdf2c1a5 wined3d: Handle GetData() on event queries that aren't started yet.
This fixes a regression introduced by fb77678e9f.
2009-08-11 12:35:43 +02:00
Francois Gouget e74efb5487 Assorted spelling fixes. 2009-08-11 12:35:38 +02:00
Francois Gouget b4aede60b0 setupapi: Remove a space before an ellipsis. 2009-08-11 12:35:28 +02:00
Juan Lang 6ae6ea99b4 wininet: Partially implement InternetQueryOption for INTERNET_OPTION_DIAGNOSTIC_SOCKET_INFO. 2009-08-11 12:32:24 +02:00
Juan Lang 6ec60e26bc wininet: Implement proxy-related per-connection option queries. 2009-08-11 12:31:33 +02:00
Juan Lang 3ed82127c6 wininet: Fix memory leak querying proxy settings. 2009-08-11 12:31:23 +02:00
Dylan Smith 314bd5ca85 richedit: Update paragraph on saved cursor when inserting table start.
Since the table row start is inserted after the rest of the table is
inserted, the cursor is saved, and temporarily moved to the start of the
row to insert the table row start paragraph.  Unfortunately the
paragraph in saved cursor becomes invalid during this insertion and
needs to be updated, so this code introduced a regression once
paragraphs started to be stored in cursors.
2009-08-11 12:31:18 +02:00
Juan Lang ef79507d88 crypt32: Don't free a certificate that hasn't been removed from its store. 2009-08-11 12:31:12 +02:00
Mike Kaplinskiy b9c3e9310a ntdll/tests: Fix NtWriteFile checks. 2009-08-11 12:31:06 +02:00
Jacek Caban 780aff0bea mshtml: Call stop_binding before releasing binding object. 2009-08-11 12:30:39 +02:00
Dylan Smith 114a64ce5d richedit: Added missing style releases.
Style objects are referenced counted in richedit controls, so I tried to
make sure styles were released properly.  This can be checked using with
the all_refs global reference count to see if everything is cleaned up.
2009-08-10 17:10:34 +02:00
Dylan Smith fc618ab041 richedit: Add closing actions for IRichEditOle_fnInsertObject.
Previously inserting the object didn't result in the text being wrapped,
which would cause an assertion error when this is checked for during
repainting the text.  It is also important to invalidate the affected
areas of text, update the scrollbar, and end the creation of undo
transactions for this insertion.
2009-08-10 17:10:24 +02:00
Dylan Smith 71cb069246 richedit: Use richedit class string macros from public headers. 2009-08-10 17:10:14 +02:00
Dylan Smith 832ffe108c richedit: Remove header function declarations with no definition. 2009-08-10 17:09:53 +02:00
Dylan Smith 6782627624 richedit: Implement ME_DITypesEqual using a switch statment. 2009-08-10 17:09:46 +02:00
Jeff Latimer 694b6955a3 ws2_32/tests: Tests for invalid conditions in InetNtop. 2009-08-10 17:09:26 +02:00
Austin English eb8f95b5b6 ntdll: Quiet a noisy fixme. 2009-08-10 17:04:19 +02:00
Piotr Caban 561437ad98 jscript: Fixed var handling. 2009-08-10 15:02:22 +02:00
Piotr Caban 6afd53547e jscript: Lookup global members after script_disp. 2009-08-10 15:02:18 +02:00
Henri Verbeet cbd555bbc9 wined3d: Get rid of the unused vbo_mode setting. 2009-08-10 13:53:11 +02:00
Henri Verbeet 6794a57073 wined3d: Return ~0U for wined3d_log2i(0). 2009-08-10 13:53:05 +02:00
Henri Verbeet 3b06fc92f4 wined3d: Use EXT_provoking_vertex to match Direct3D's provoking vertex convention. 2009-08-10 13:52:50 +02:00
Henri Verbeet ac64bf6406 wined3d: Detect EXT_provoking_vertex. 2009-08-10 13:52:43 +02:00
Henri Verbeet 8d746c31ba wined3d: Properly handle negative loop step in shader_glsl_loop(). 2009-08-10 13:52:37 +02:00
Vladimir Pankratov 3bc4e67f9e shdocvw: Fix format parameter type. 2009-08-10 13:19:42 +02:00
Jacek Caban 2ca7683dfb mshtml: Added IHTMLLocation::get_pathname implementation. 2009-08-10 13:19:26 +02:00
Vincent Povirk 3d1bb79983 windowscodecs: Fix copy_pixels when Y != 0. 2009-08-10 13:19:17 +02:00
Jacek Caban 52bade97f4 shdocvw: Check GetContainer result before setting new container. 2009-08-10 13:11:34 +02:00
Aric Stewart e9aaea044b winemp3: A fix for security alert CVE-2006-1655. 2009-08-10 13:11:30 +02:00
Rein Klazes b7a852b1df comdlg32/tests: Fix some test failures on Win95 and NT4.
Reported by Paul Vriens.
2009-08-10 13:11:21 +02:00
Andrew Nguyen e903872fd2 user32/tests: Fix some test failures on Windows. 2009-08-10 13:11:13 +02:00
Andrew Nguyen 15b0087d6e msvcrt: Remove dead code in wcscpy_s. 2009-08-10 13:11:02 +02:00
Roderick Colenbrander 5a00c8053e wined3d: Get rid of two dead render target lock mode options. 2009-08-10 13:10:49 +02:00
Mike Kaplinskiy 5b1992b466 ws2_32/tests: Fix the last failures on NT4/2000. 2009-08-10 13:10:42 +02:00
Mike Kaplinskiy ebc7c138e7 ntdll/tests: Test NtCancelIoFileEx, if present. 2009-08-10 13:10:37 +02:00
Akihiro Sagawa c6a947d2ec shell32: Use IDS_DESKTOPDIRECTORY for CSIDL_COMMON_DESKTOPDIRECTORY. 2009-08-10 13:10:30 +02:00
Rein Klazes 1b740dd14a comdlg32: In the file dialog change the position of the file browser when the application changes that of the invisible listbox control. 2009-08-10 13:10:22 +02:00
Vincent Povirk b364bc005d windowscodecs: Add support for BI_BITFIELDS compressed BMP files. 2009-08-10 13:09:27 +02:00
Juan Lang d2827be07f rsaenh: Implement exporting PLAINTEXTKEYBLOBs. 2009-08-10 13:09:13 +02:00
Juan Lang ff6328efcc rsaenh: Implement importing PLAINTEXTKEYBLOBs. 2009-08-10 13:09:06 +02:00
Juan Lang 64b320b7d9 wintrust: Correct alignment for 64-bit. 2009-08-10 13:09:00 +02:00
Juan Lang 15512454fb secur32: Implement QueryContextAttributes for SECPKG_ATTR_CONNECTION_INFO. 2009-08-10 13:08:54 +02:00
Juan Lang 570c57ac95 secur32: Trace values of SCHANNEL_CRED structure. 2009-08-07 15:27:24 +02:00
Vincent Povirk c689451cd1 hhctrl.ocx: Ensure that the topic within MSITStore url's begins with /. 2009-08-07 15:27:18 +02:00
André Hentschel 8309788b55 jscript: Update German translation. 2009-08-07 14:57:34 +02:00
Andrew Nguyen 20276d0b38 kernel32: Revise SetThreadIdealProcessor to return success. 2009-08-07 14:57:31 +02:00
Dylan Smith e306b91392 richedit: Avoid comparing padding in cursor structures on memcmp. 2009-08-07 14:57:24 +02:00
Mike Kaplinskiy da1e7a7208 ws2_32/tests: Test closing (and CancelIo'ing) accepting socket with pending AcceptEx call. 2009-08-07 14:57:18 +02:00
Stefan Dösinger 4f9f8fef0b wined3d: Dirtify the correct state. 2009-08-07 14:57:09 +02:00
Stefan Dösinger 6f5a1d9a15 wined3d: Filter WINED3DSTENCILCAPS_TWOSIDED in d3d8. 2009-08-07 14:56:48 +02:00
Stefan Dösinger 296573caae d3d: Filter R8G8B8 in d3d8 and d3d9. 2009-08-07 14:56:40 +02:00
Stefan Dösinger 14eedc5be7 wined3d: Watch out about higher constants when clamping ps 1.x consts.
ps 1.x supports only 8 constants, so the shader load code dirtifies the
first 8 on a shader switch. However, the constant load code reloaded all dirty
consts with clamping. That potentially left constants > 8 clamped.
2009-08-07 14:56:33 +02:00
Henri Verbeet 85fe381daf winex11.drv: Fallback to X11DRV_SHM_NONE in X11DRV_DIB_DoCopyDIBSection() if dest doesn't match the pixmap.
Falling back to X11DRV_SHM_IMAGE doesn't work, the image's data isn't in
shared memory if the pixmap was created as Shm pixmap.
2009-08-07 12:11:55 +02:00
Stefan Leichter a4c1c66c87 shdocvw: Add stub for SHRestricted2W. 2009-08-07 12:11:50 +02:00
Andrew Nguyen 797ec7a58e user32/tests: Test the behavior of DialogBoxParamA with dialog procedure window destruction. 2009-08-07 12:11:42 +02:00
Henri Verbeet 35826e9761 wined3d: Fix a condition in record_lights(). 2009-08-07 12:11:35 +02:00
Henri Verbeet 41729ca919 wined3d: Check the return value of wglDeleteContext() in context_destroy_gl_resources(). 2009-08-07 12:11:27 +02:00
Henri Verbeet 7ed116da2e wined3d: Merge the context->current_rt check for rendertarget readback with the code above.
Also update the comments.
2009-08-07 12:11:17 +02:00
Henri Verbeet 0479fb13b5 wined3d: Explicitly pass the context to drawStridedSlow(). 2009-08-07 12:11:10 +02:00
Henri Verbeet 3bf0ad4528 wined3d: Explicitly pass the context to the shader_select() handler. 2009-08-07 12:11:06 +02:00
Hans Leidekker 9cec6e64ec advapi32: Add tests for LsaLookupNames2. 2009-08-07 11:39:50 +02:00
Hans Leidekker bf021af0ee advapi32: Add a basic implementation of LsaLookupNames2. 2009-08-07 11:39:43 +02:00
Juan Lang 598e0a8fcf wintrust: Implement WVTAsn1SpcSpOpusInfoDecode. 2009-08-07 11:39:35 +02:00
Nikolay Sivov 6bcdc69ec0 comctl32/treeview: Check passed handle value in WM_COMMAND handler. 2009-08-07 11:39:28 +02:00
Nikolay Sivov 83c9cdb797 comctl32/treeview: Use separate pointer for currently edited item. 2009-08-07 11:39:20 +02:00
Frédéric Delanoy 99ec95e474 jscript: Update French translation. 2009-08-07 11:39:10 +02:00
Ricardo Filipe 57675f801c wininet: Fix Portuguese translation and convert to UTF8. 2009-08-06 17:28:14 +02:00
Ricardo Filipe 63aec3f325 jscript: Add Portuguese translation. 2009-08-06 17:28:13 +02:00
Vladimir Pankratov d1de34a58b kernel32: Convert the Russian resources to UTF-8. 2009-08-06 17:26:34 +02:00
Nikolay Sivov 861fb2eddd comctl32/treeview: Handle EN_KILLFOCUS in WM_COMMAND handler. 2009-08-06 17:26:34 +02:00
Nikolay Sivov 578e872b31 comctl32/treeview: Some tests to show edit item label problems. 2009-08-06 17:26:34 +02:00
Nikolay Sivov 0adb4ef423 comctl32/treeview: Make tests not depend from each other, replace some magics with macros. 2009-08-06 17:26:33 +02:00
Nikolay Sivov b32bccb4da comctl32/treeview: Use a common structure for tests (as we use already for others). 2009-08-06 17:26:33 +02:00
Nikolay Sivov a6694761fa comctl32/listview: Fix comment typo. 2009-08-06 17:26:33 +02:00