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
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
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
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
Rob Shearman
9ebebc0ecc
ole32: Add tests for registering a moniker more than once in the ROT and then using it.
2008-04-29 12:35:19 +02:00
Lei Zhang
9fca0f27d0
advapi32: Replace UuidToStringW call with a sprintfW.
2008-04-29 12:34:29 +02:00
Vitaliy Margolen
97535fe243
dinput: Fix typo.
2008-04-29 12:29:18 +02:00
Alexandre Julliard
497714a01f
winex11: Merge the contents of clipping.c into graphics.c.
2008-04-28 23:17:10 +02:00
James Hawkins
17c907e6c3
user32: Fix a test that fails on platforms without IME.
2008-04-28 14:36:05 +02:00
Jens Albretsen
cf38e4c930
ddraw: Fixed device name.
2008-04-28 14:33:57 +02:00
Kai Blin
c0a3ac5006
ws2_32: Handle gethostbyname call failure, add tests.
2008-04-28 14:33:03 +02:00
Jacek Caban
4e913b9551
mshtml: Added IHTMLInputElement::get_disabled implementation.
2008-04-28 14:32:50 +02:00
Jacek Caban
deeaa5d20f
mshtml: Added put_backgroundImage implementation.
2008-04-28 14:32:47 +02:00
Vitaliy Margolen
736d03c8da
dinput: Fix default axes mapping generation.
2008-04-28 14:32:40 +02:00
Rob Shearman
67a7a8a8ef
ole32: Fix two comments about the running object table.
2008-04-28 14:32:33 +02:00
Andrew Talbot
2db311a843
comctl32: Dangling pointers fix.
2008-04-28 14:32:17 +02:00
Jeff Zaroyko
120cd69ddd
msacm32.drv: Increase the reported vDriverVersion.
2008-04-28 14:31:58 +02:00
David Adam
8c21ebc685
amstream: Register CLSID_AMDirectDrawStream.
2008-04-28 14:31:51 +02:00
David Adam
653c7e7dca
amstream: Fix the condition of existence of the IMediaStream interface.
2008-04-28 14:31:22 +02:00
Alistair Leslie-Hughes
340f34ddf6
msxml3: Added IObjectWithSite support in IXMLDOMDocument2.
2008-04-28 14:31:10 +02:00
Bryan DeGrendel
6ed80f1529
winex11: Rudimentary drawing support for display balloon tool tips in systray.
2008-04-28 14:31:06 +02:00
ByeongSik Jeon
4ce9b42c80
imm32: Updated implementation of the Imm{Get|Set}CompositionFont{A|W}.
2008-04-28 14:30:46 +02:00
ByeongSik Jeon
b322bc682e
imm32: Implementation of the Imm{Get|Set}StatusWindowPos.
2008-04-28 14:30:10 +02:00
ByeongSik Jeon
5d49b3db8d
imm32: Implementation of the Imm{Get|Set}CandidateWindow.
2008-04-28 14:30:02 +02:00
ByeongSik Jeon
936e8473db
user32: Set the vkey value to VK_PROCESSKEY when IME process key.
2008-04-28 14:29:51 +02:00
ByeongSik Jeon
63d81263e2
imm32: Add the updated ImmTranslateMessage declaration.
2008-04-28 14:29:43 +02:00
Dmitry Timoshkov
c814d17c76
gdi32: Add SetPixel to the EMF DC functions.
2008-04-28 14:29:36 +02:00
Guy Albertelli
7fb21244d9
listview: Correct return value from LVM_GETORIGIN including tests for this.
...
Tests to validate return value of the LVM_GETORIGIN message and fix our
implementation.
2008-04-28 14:22:39 +02:00
Guy Albertelli
e85fa81f3c
listview: Implement 2 pixel decoration at top of report style with grid lines.
...
The native control has a 2 pixel header. This implements that background pixel
line and the gridline below it.
2008-04-28 14:22:35 +02:00
Guy Albertelli
7326f091b0
listview: Implement LVS_EX_GRIDLINES functionality.
...
Implement basic LVS_EX_GRIDLINES functionality including support for no items.
2008-04-28 14:22:16 +02:00
Maarten Lankhorst
10708b405c
quartz: Fix acmwrapper time regression.
2008-04-28 14:21:56 +02:00
Maarten Lankhorst
512ee927cb
quartz: Add a function that can be called when stopping processing data.
2008-04-28 14:21:53 +02:00
Maarten Lankhorst
ec87de35af
quartz: Make dwSamplesProcessed a longlong.
2008-04-28 14:21:41 +02:00
Maarten Lankhorst
12a0fd3d8b
quartz: Optimize the file source to do its job better.
2008-04-28 14:21:35 +02:00
Maarten Lankhorst
7934951343
quartz: Make the EnumPins interface dynamic.
...
Take a reference to the ibasefilter and request it for the pins and a
cookie. This seems to be the easiest way to ensure correctness.
2008-04-28 14:21:23 +02:00
Maarten Lankhorst
b7e20bfdd1
quartz: Fix time discontinuities in the acm wrapper.
2008-04-28 14:21:00 +02:00
Maarten Lankhorst
9e143cdb63
quartz: NotifyAllocator does not like a null argument.
2008-04-28 14:20:53 +02:00
Maarten Lankhorst
1f136a57f7
quartz: Add a vtable argument to Parser_Create that individual filters can override.
2008-04-28 14:20:44 +02:00
Rob Shearman
8e08b1dd7f
rpcrt4: Use safe_copy_from_buffer instead of direct memory copy in NdrBaseTypeUnmarshall.
...
This makes the code check that the buffer is big enough to read from
before copying the data from it. The safe_buffer_increment call is still
needed for the case where we point the memory to the buffer, so move the
call there.
2008-04-28 13:28:16 +02:00
Dmitry Timoshkov
c871d9a81d
gdi32: Save/restore internal EMF playing state on EMR_SAVEDC/EMR_RESTOREDC, add a test for this.
2008-04-28 13:27:52 +02:00
Dmitry Timoshkov
d01438bd53
gdi32: Do not reselect objects while recording a metafile, that's done at the playing time.
2008-04-28 13:27:52 +02:00
Vitaliy Margolen
09c6bf415f
winex11: Fix MapVirtualKeyEx to properly map left-right modifier keys.
2008-04-28 13:27:51 +02:00
Vitaliy Margolen
56989b6ed0
winex11: Use constants instead of magic numbers in GetKeyNameText.
2008-04-28 13:27:51 +02:00
Vitaliy Margolen
964687d7c3
winex11: Fix GetKeyNameText for Right Shift.
2008-04-28 13:27:51 +02:00
Vitaliy Margolen
4a2f7497ab
dinput: Explicitly set extended key flag for Right Shift.
2008-04-28 13:27:51 +02:00
Lionel Debroux
27c2b56c5e
dinput: joystick test: Improve reporting when enumerated axes/buttons/POVs don't match capabilities.
2008-04-28 13:27:51 +02:00
Roderick Colenbrander
34d06a5e96
wined3d: Also use WineD3D_ChoosePixelFormat for pbuffers.
2008-04-28 13:27:51 +02:00
Roderick Colenbrander
a38e5a95ef
wined3d: Let WineD3D_ChoosePixelFormat operate on the pixel format database we store at WineD3D startup.
2008-04-28 13:27:51 +02:00
Roderick Colenbrander
31dc00a073
wined3d: Store more information about pixel formats. This is needed for some WineD3D_ChoosePixelFormat restructuring.
2008-04-28 13:27:51 +02:00
Roderick Colenbrander
ec5400b4f8
wined3d: Split WGL pixel format selection code off from CreateContext.
2008-04-28 13:27:51 +02:00
James Hawkins
31ba40fc92
schannel: Fix a test that fails in win2k3.
2008-04-28 13:27:51 +02:00
James Hawkins
404afbaa3c
ddraw: Remove a test that fails in VMs.
2008-04-28 13:27:51 +02:00
James Hawkins
7b385fb60c
d3d9: Fix a few test failures in win2k3.
2008-04-28 13:27:51 +02:00
James Hawkins
fe8c3f9059
cabinet: Revert "cabinet: Fix for FDICopy with an empty cabinet file.".
...
This reverts commit 33e561f53c
.
Fixed the test that fails on all platforms.
2008-04-28 13:27:51 +02:00
James Hawkins
f2189d17b0
msi: Remove a debugging call.
2008-04-28 12:27:09 +02:00
Kusanagi Kouichi
78cb36d607
winex11: Remove unnecessary #include.
2008-04-28 12:26:12 +02:00
Kusanagi Kouichi
9fa27034a0
winex11: hCompStr should never be NULL because Wine expects it is not NULL.
2008-04-28 12:26:07 +02:00
Nikolay Sivov
5873bac95d
gdiplus: Implemented GdipCreateLineBrushFromRect.
2008-04-28 12:21:51 +02:00
Nikolay Sivov
836b4183b9
gdiplus: Implemented GdipCreatePathGradientI.
2008-04-28 12:21:41 +02:00