Commit Graph

46035 Commits

Author SHA1 Message Date
Alex Villacís Lasso 829940458f richedit: Private movement of cursors in text insertion should not cause WM_NOTIFY to be sent.
As text is inserted, the cursor is moved to the end, and then back to
offset 0. A reordering of operations prevents a WM_NOTIFY from being
sent on cursor being moved to the end, and another by being moved
back to the beginning. If the cursor was not at offset 0, then
exactly one WM_NOTIFY must be sent, for the movement from previous
position to the beginning.  With tests to prove this change and the
previous one (modify flag should be off on WM_SETTEXT-caused
WM_NOTIFY).
2008-04-29 14:57:03 +02:00
Alex Villacís Lasso c52bc58816 richedit: WM_SETTEXT - Clear modify step flag before any notifications can be sent.
Otherwise the app-defined WM_NOTIFY callback might see the modify flag
set, even though WM_SETTEXT is supposed to clear it.
2008-04-29 14:56:46 +02:00
Alex Villacís Lasso 3cad256d54 richedit: Fix modify step setting in EM_SETCHARFORMAT.
EM_SETCHARFORMAT with wParam==0 sets default char format and does NOT set modify step flag.
EM_SETCHARFORMAT with wParam==SCF_SELECTION only sets modify step flag when selection is nonempty.
EM_GETMODIFY returns -1, not 1, when modify flag is set.
Tests for the above behavior.
2008-04-29 14:56:23 +02:00
Alex Villacís Lasso 1fa39b50c0 richedit: Only notify selection change when selection has actually changed from previous notification.
Otherwise, redundant and early notifications are sent to apps that do not expect them. Fixes crash #1 with Perfect! TextEdit.
2008-04-29 14:56:11 +02:00
Alex Villacís Lasso cac55008c9 richedit: Implement rule that in 1.0 emulation, a single CR that terminates the text is NOT a line break.
Fix riched32 test that now succeed.
2008-04-29 14:55:26 +02:00
Alex Villacís Lasso 4047df0f56 richedit: Flip the big switch and encode actual CR and LF into end-of-paragraph runs.
Document remaining uses of bEmulateVersion10 and other checks for CRLF in editor.c.
Make RTF reader emit a \r or a \r\n according to emulation, not a \n, which breaks streaming tests.
Remove todo_wine from a bunch of riched32 tests that now succeed.
2008-04-29 14:55:15 +02:00
Alex Villacís Lasso 3a271386ec richedit: Remove indication for bCRLF, now that ME_GetTextW() knows how to honor CR and LF counters.
EM_GETTEXTRANGE and EM_GETSELTEXT are affected by this, so include tests to ensure no behavior was broken.
2008-04-29 14:54:59 +02:00
Alex Villacís Lasso e8aa9dee56 richedit: Modify ME_GetTextW() to honor CR and LF encodings.
ME_GetTextLengthEx should ignore GTL_USECRLF in 1.0 emulation mode.
2008-04-29 14:54:46 +02:00
Alex Villacís Lasso d95cbeef67 richedit: EM_LINELENGTH: honor CR and LF counters.
Add fixup to ME_FindItemAtOffset(), fixes crash by null-pointer access.
Add tests for EM_LINELENGTH.
2008-04-29 14:54:29 +02:00
Alex Villacís Lasso 3968a67eb9 richedit: EM_GETLINE: honor CR and LF counters.
Add richedit 1.0 tests for EM_GETLINE.
2008-04-29 14:54:21 +02:00
Alex Villacís Lasso fd55773680 richedit: Remove reliance on bEmulateVersion10 for end-of-line handling in ME_InternalDeleteText. 2008-04-29 14:54:12 +02:00
Alex Villacís Lasso 8d37388fe7 richedit: Fixups to move over to reliance on CR and LF counters.
Text streamout now honors CR and LF counters.
Tests to pin down required EM_STREAMOUT behavior.
2008-04-29 14:54:05 +02:00
Alex Villacís Lasso d47f66191e richedit: Add support for encoding number of CR and LF contained within a line break. 2008-04-29 14:53:46 +02:00
Aric Stewart 09af64cb83 hlink: Implement IExtensionServices. 2008-04-29 14:53:26 +02:00
Jeremy White f4625d1ae1 gdi32: Shift default height used in EnumStructs to the standard em size of 2048.
As pointed out by Dmitry Timoshkov.
2008-04-29 14:37:53 +02:00
Kusanagi Kouichi bf05ded740 winex11: Allow XIM server to be started after Wine. 2008-04-29 13:49:16 +02:00
Tijl Coosemans efa040119b hhctrl: Fix NULL pointer dereference in some failure cases. 2008-04-29 13:48:30 +02:00
Nikolay Sivov 9cce789881 gdiplus: Implemented GdipGetPathGradientCenterPointI. 2008-04-29 13:48:17 +02:00
Nikolay Sivov d5769957b4 gdiplus: Implemented GdipGetDpiX/GdipGetDpiY. 2008-04-29 13:48:08 +02:00
Nikolay Sivov 7ce48b0346 gdiplus: Implemented GdipFillRectangles/GdipFillRectanglesI. 2008-04-29 13:47:59 +02:00
Nikolay Sivov fc2dc8bc2a gdiplus: Implemented GdipFillEllipse/GdipFillEllipseI. 2008-04-29 13:47:45 +02:00
Nikolay Sivov 79b49a8f19 gdiplus: Implemented GdipDrawImagePointsRectI. 2008-04-29 13:47:20 +02:00
Nikolay Sivov 492470493e gdiplus: Implemented GdipDrawImage. 2008-04-29 13:46:28 +02:00
Nikolay Sivov fe1782eeae gdiplus: Implemented GdipDrawCurve/GdipDrawCurveI. 2008-04-29 13:46:06 +02:00
Nikolay Sivov 00cfffbcb3 gdiplus: Implemented GdipDrawCurve2I. 2008-04-29 13:45:48 +02:00
Roderick Colenbrander 4428cc32de wined3d: Fix a few small bugs in WineD3D_ChoosePixelFormat. 2008-04-29 12:47:07 +02:00
Dmitry Timoshkov 80c1508bf1 gdi32: Make the bitmap test pass under Windows 2000. 2008-04-29 12:46:41 +02:00
Dmitry Timoshkov 5c15cf5f12 gdi32: info->state.next is always NULL, there is no need to save/restore it. 2008-04-29 12:46:35 +02:00
Alexandre Julliard 6ff4ba7e68 documentation: Remove PACKAGING, this is maintained on the wiki now. 2008-04-29 12:46:30 +02:00
Alexandre Julliard 2bbf00ed08 winex11: Don't put window manager decorations on shaped windows. 2008-04-29 12:46:16 +02:00
Maarten Lankhorst 4e761d2613 quartz: Some state changes fixes. 2008-04-29 12:45:53 +02:00
Maarten Lankhorst 1ba8ece76e quartz: Handle failures better in acmwrapper. 2008-04-29 12:45:38 +02:00
Maarten Lankhorst 37847b0d9b quartz: Keep track of the time in the video renderer. 2008-04-29 12:45:31 +02:00
Maarten Lankhorst 1fad872961 quartz: Fix bug in memallocator with test. 2008-04-29 12:45:17 +02:00
Jacek Caban 928914c81e mshtml: Added IDispatchEx support to HTMLOptionElement. 2008-04-29 12:38:38 +02:00
Jacek Caban 7582518e18 mshtml: Added IDispatchEx support to HTMLInputElement. 2008-04-29 12:38:35 +02:00
Jacek Caban 1597967417 mshtml: Added indexed access to HTMLElementCollection object support. 2008-04-29 12:38:31 +02:00
Jacek Caban ef4200fcf7 mshtml: Added support for custom DISPIDs. 2008-04-29 12:38:25 +02:00
Jacek Caban 96fdb0e742 mshtml: Added IHTMLCommentElement declaration. 2008-04-29 12:38:19 +02:00
Jacek Caban 3186aa7a65 mshtml.idl: Added DispHTMLOptionElement declaration. 2008-04-29 12:38:12 +02:00
Jacek Caban f885b33218 mshtml.idl: Added IHTMLDOMChildrenCollection and DispDOMChildrenCollection declaration. 2008-04-29 12:37:58 +02:00
Andrew Talbot af3055e2e1 shlwapi: Remove unused variables. 2008-04-29 12:37:54 +02:00
Tijl Coosemans af72d10014 hhctrl.ocx: Plug memory leak. 2008-04-29 12:37:48 +02:00
Eric Pouech 9b24f2a050 winhelp: Make richedit the default for rendering. 2008-04-29 12:37:20 +02:00
Eric Pouech f55da6db84 msvcrt: Fixed space in type with double indirection.
Spotted by James Hawkins.
2008-04-29 12:36:44 +02:00
Eric Pouech 2e1775620a msvcrt: undname: correctly handle multi-dimensional arrays.
Based on a patch from Ulrich Küttler.
2008-04-29 12:36:35 +02:00
Eric Pouech a940218c0b msvcrt: Fixed symbol unmangling for template-parameter-?? form, as well as test.
Spotted by James Hawkins.
2008-04-29 12:36:08 +02:00
Rob Shearman b9f8a81d8c rpcss: When registering a moniker that is already registered in the ROT another ROT entry should still be created and a distinct cookie returned. 2008-04-29 12:35:35 +02:00
Rob Shearman 8580198dc8 ole32: Keep track of the number of weak references to an object.
This is so that an object will only be released when a weak-reference is 
used after the last weak reference has been released (either by 
CoReleaseMarshalData or CoUnmarshalInterface + Release).
2008-04-29 12:35:26 +02:00
Rob Shearman 4cb5c3b7d6 ole32: Add a test for marshaling an object as table-weak and as normal and then unmarshaling and testing that the object is released on the final release. 2008-04-29 12:35:22 +02:00