Commit graph

34431 commits

Author SHA1 Message Date
Dylan Smith
762e5818d1 richedit: Hide cursor when text is selected.
The cursor should only be shown when there is no selection, since this
is how it is done in Windows.  This patch avoids showing the cursor when
there is a selection, and destroys the cursor when a selection is made.
2008-07-08 10:44:45 +02:00
Dylan Smith
69cf4e9ac4 richedit: Implemented triple click selection. 2008-07-08 10:44:32 +02:00
Dylan Smith
7c352b9638 richedit: Implemented paragraph selection. 2008-07-08 10:44:12 +02:00
Dylan Smith
abefc28fe7 richedit: Fixed drag and shift selection for words and lines.
Previously word drag and shift selection was not implemented.  Line
drag selection was working, but shift selection wasn't.
2008-07-08 10:43:55 +02:00
Alexandre Julliard
2734fb44e0 user32: Properly update position after dragging an iconic window. 2008-07-07 15:51:30 +02:00
Alexandre Julliard
123f8d0f2c winealsa.drv: Don't trace deprecated parameters. 2008-07-07 14:53:49 +02:00
Alexandre Julliard
ed985acd9f gdiplus: Store the family name directly in the GpFontFamily structure. 2008-07-07 14:53:10 +02:00
Adam Petaccia
d17d566412 gdiplus: Implement GdipGetEmHeight. 2008-07-07 14:47:45 +02:00
Adam Petaccia
e96b07d73f gdiplus: Implement GdipGetCellDescent. 2008-07-07 14:47:39 +02:00
Adam Petaccia
6fabc90219 gdiplus: Implement GdipGetCellAscent. 2008-07-07 14:47:33 +02:00
Adam Petaccia
b5505f6326 gdiplus: Tests for FontFamily properties. 2008-07-07 14:47:02 +02:00
Adam Petaccia
c027f427ef gdiplus: Use a better framework for filling out FontFamilies. 2008-07-07 14:46:49 +02:00
Adam Petaccia
25e4fd7d3c gdiplus: Stub GdipGetFontHeightGivenDPI. 2008-07-07 14:45:54 +02:00
Adam Petaccia
f6da80297d gdiplus: Stub GdipGetCellDescent. 2008-07-07 14:45:35 +02:00
Adam Petaccia
15831e0a0a gdiplus: Stub GdipGetCellAscent. 2008-07-07 14:45:19 +02:00
Adam Petaccia
33cb831f24 gdiplus: Stub GdipGetEmHeight. 2008-07-07 14:45:11 +02:00
Adam Petaccia
45c3d74cad gdiplus: Stub GdipGetLineSpacing. 2008-07-07 14:45:03 +02:00
Adam Petaccia
638f63d13f gdiplus: Implement GdipCloneFontFamily. 2008-07-07 14:44:46 +02:00
Adam Petaccia
cbce618067 gdiplus: Stub GdipCloneFontFamily. 2008-07-07 14:41:04 +02:00
Adam Petaccia
148f184c23 gdiplus: test_getgenerics: Don't use a pointer-to-pointer construct. 2008-07-07 14:40:51 +02:00
Adam Petaccia
45ee7577c4 gdiplus: test_fontfamily: Don't use a pointer-to-pointer construct. 2008-07-07 14:40:37 +02:00
Adam Petaccia
7e245060ef gdiplus: Valgrind: fix warnings about using uninitialized memory, and leaking memory. 2008-07-07 14:40:04 +02:00
Jeff Smith
f3b14ac723 gdiplus: Fix spec definition of GdipCreateBitmapFromHBITMAP. 2008-07-07 14:33:13 +02:00
Jon Griffiths
6158db6055 oleaut32: Don't read past the digits array in VARIANT_FormatNumber. 2008-07-07 14:29:34 +02:00
Jon Griffiths
938ab8a633 Fix minor comment typos. 2008-07-07 14:26:08 +02:00
Jon Griffiths
6b9705600f msvcr71: Forward __pctype_func. 2008-07-07 14:25:59 +02:00
Jon Griffiths
9da5157c36 wsock32: Forward TransmitFile to the implementation in mswsock. 2008-07-07 14:25:07 +02:00
Jon Griffiths
8c16ae7a7f oleaut32: Fix memcpy overlapping ranges in SysReAllocStringLen. 2008-07-07 14:25:02 +02:00
Jon Griffiths
0cf087820e oleaut32/test: Fix valgrind leaks. 2008-07-07 14:16:07 +02:00
Alexander Morozov
4f51b6c1d8 wininet: Add port number to Host HTTP header. 2008-07-07 14:16:07 +02:00
Alexander Morozov
ad2f53db8f wininet: Add support of INTERNET_FLAG_NO_CACHE_WRITE. 2008-07-07 14:16:07 +02:00
Nikolay Sivov
142907c0d2 gdiplus: Check arguments in GdipPathIterNextSubpath. 2008-07-07 14:16:07 +02:00
Nikolay Sivov
20501e4ca8 gdiplus: Implementation of GdipPathIterGetSubpathCount with tests. 2008-07-07 14:16:07 +02:00
Nikolay Sivov
0a9937c534 gdiplus: GdipPathIterNextMarker implementation with tests. 2008-07-07 14:16:07 +02:00
Dylan Smith
ebded1636b richedit: Fixed Valgrind error related to undoing.
The error was a memory access of a freed object.  In ME_AddUndoItem I
checked the top of the undo stack to end a coalescing undo transaction,
assuming that this should be either a valid undo item, or NULL, instead
it was already freed.
2008-07-07 14:16:07 +02:00
Dylan Smith
5b2bdc06d0 richedit: Fixed double click issues by sharing code with single click. 2008-07-07 14:16:07 +02:00
Dylan Smith
379835b634 richedit: Made sure word selection selects only one word. 2008-07-07 14:16:07 +02:00
Stefan Dösinger
9be8f36c2e wined3d: Correct an off-by-one error in constant dirtification.
Constant numbers start at 0, and the loading loop has a for(i; i <
dirtyconsts; i++). This means that the highest dirty constant isn't
loaded correctly. Rather than replacing the < with <=, which would
make it impossible to have no dirty constant, add 1 to the dirty
constant counter.
2008-07-07 12:33:41 +02:00
Alexander Nicolaysen Sørnes
ade9a3d6ea shell32: Update Norwegian Bokmål translation. 2008-07-07 12:33:27 +02:00
Andrew Talbot
7e917a0f9d winedos: Remove unneeded address-of operator from function name. 2008-07-07 12:33:21 +02:00
Andrew Talbot
6ced8a3f55 wined3d: Remove unneeded address-of operators from function names. 2008-07-07 12:32:39 +02:00
Andrew Talbot
5806e4b504 user32: Remove unneeded address-of operators from function names. 2008-07-07 12:31:54 +02:00
Andrew Talbot
93f656bf85 shell32: Remove unneeded address-of operators from function names. 2008-07-07 12:31:50 +02:00
Andrew Talbot
f0d7a2910e quartz: Remove unneeded address-of operators from function names. 2008-07-07 12:31:47 +02:00
Andrew Talbot
82e23af814 ole32: Remove unneeded address-of operators from function name. 2008-07-07 12:31:43 +02:00
Andrew Talbot
fa07687034 infosoft: Remove unneeded address-of operator from function name. 2008-07-07 12:31:40 +02:00
Alexandre Julliard
6f8749b7bc rpcrt4: Use interlocked functions to increment/decrement ref counts. 2008-07-07 12:11:24 +02:00
Rob Shearman
b75828fc90 rpcrt4: Clear the memory of embedded complex types in ComplexUnmarshall when fMustAlloc is TRUE to avoid passing uninitialised memory to the unmarshaller.
Found by Valgrind.
2008-07-07 12:11:24 +02:00
Vitaliy Margolen
ba1a7ba62a dinput: Set force feedback actuator flag for X and Y axes.
Programs looking for this flag to verify if FF is present. And on which axes.
2008-07-07 12:11:24 +02:00
Vitaliy Margolen
a478c4fe25 dinput: Freed effect should remove itself from the parent's list of effects. Add tests. 2008-07-07 12:11:24 +02:00
Vitaliy Margolen
aa3694d8ac dinput: Use Wine list for effects list. 2008-07-07 12:11:24 +02:00
Vitaliy Margolen
91036a04a2 dinput: Stop and unload effect when freeing it. 2008-07-07 12:11:24 +02:00
Vitaliy Margolen
85e2aa1d8a dinput: Add more traces. Prevent some traces from dereferencing NULL pointer. 2008-07-07 12:11:24 +02:00
Maarten Lankhorst
53782ca47a quartz: Fix parser/pullpin to only care about the state transition stopped<->playing. 2008-07-07 12:11:23 +02:00
Maarten Lankhorst
e58855e0e9 quartz: Only call begin process functions in transform filter when stopped.
Fixes some graphical glitches that may occur otherwise.
2008-07-07 12:11:23 +02:00
Maarten Lankhorst
11e2b1ab2b quartz: Make sure transform filter commits allocator. 2008-07-07 12:11:23 +02:00
Maarten Lankhorst
6e4288ee70 quartz: Fix tiny bug in IGraphBuilder_Render. 2008-07-07 12:11:23 +02:00
Rob Shearman
666b57d62f include: Remove unused file wine/rpcss_shared.h. 2008-07-07 11:11:02 +02:00
Dylan Smith
2eec4f03ed richedit: Fixed the selection bar width. 2008-07-07 11:10:49 +02:00
Dylan Smith
db95d69f99 richedit: Made sure the caret position is stored when moving up/down.
The caret's x position is stored in ME_TextEditor.nUDArrowX so that when
the caret is moved up or down, it will stay along the same horizontal
position, or at the end of a line.  Unfortunately, the value stored in
nUDArrowX was being unconditionally discarded in ME_ArrowKey, preventing
it from serving its purpose.
2008-07-07 11:10:33 +02:00
Dylan Smith
2f1c7b1610 user32: Increased area for scrolling via mouse drag outside scrollbar.
When dragging the scrollbar thumb with the mouse, the mouse is able to
move away from the scrollbar and keep scrolling so long as it isn't too
far away from the scrollbar.  This makes it easier to quickly scroll
with the mouse.

All that this patch changes is the distance that the mouse can be moved
away from the scrollbar before it is consider outside of the scrollbar
and returns to its original position.  The distances are proportional to
the size of the scrollbar.
2008-07-04 20:25:48 +02:00
Vladimir Pankratov
35ac387041 shell32: Update Russian translation. 2008-07-04 20:18:54 +02:00
Nikolay Sivov
95ced6e1f5 gdiplus: Remove unnecessary cast from GdipAddPathRectangle. 2008-07-04 20:16:04 +02:00
Nikolay Sivov
c47b167657 gdiplus: Implemented GdipPathIterHasCurve with tests. 2008-07-04 20:15:54 +02:00
Alexander Morozov
70218092bb wininet: Remove unneeded variable. 2008-07-04 19:50:58 +02:00
Maarten Lankhorst
9985f2efc9 quartz: Implement state transitions in video renderer. 2008-07-04 19:50:52 +02:00
Maarten Lankhorst
b6b67f698a quartz: Implement state transitions in directsound renderer, and block on pause. 2008-07-04 19:50:04 +02:00
Rob Shearman
620d783680 rpcrt4: Don't reserve space in the buffer for reference pointers embedded in complex types.
Ref pointers don't need a pointer ID and reserving space would render
the code incompatible with other clients. Note that the pointer
marshalling/unmarshalling functions didn't actually read/write pointer
IDs to/from the reserved space in the buffer.
2008-07-04 19:49:00 +02:00
Rob Shearman
5887be5717 rpcrt4: Implement memory sizing for pointers in complex types. 2008-07-04 19:48:47 +02:00
Rob Shearman
81b4436add rpcrt4: The conformant array offset in complex structs should be signed. 2008-07-04 19:48:38 +02:00
Rob Shearman
44649e855a rpcrt4: Fix NdrComplexArrayUnmarshall and NdrComplexStructUnmarshall to reuse memory for embedded pointers. 2008-07-04 19:48:30 +02:00
Rob Shearman
517844e054 rpcrt4: Support calculating the size in memory of range types embedded in complex types. 2008-07-04 19:47:58 +02:00
Dylan Smith
798afcf902 comctl32: Fix for ComboBoxEx bug caused by focus change. 2008-07-04 19:43:14 +02:00
Dylan Smith
da0175ba71 comctl32: Added tests to show a ComboBoxEx bug caused by incorrect focus change.
Certain WM_LBUTTONDOWN & WM_LBUTTONUP events should change focus to the
ComboBox (a child of ComboBoxEx), but instead the focus was set to the
Edit control.
2008-07-04 19:43:03 +02:00
Zac Brown
f094b4332d winhttp: Add stub implementation for WinHttpSendRequest. 2008-07-04 19:42:42 +02:00
Zac Brown
ae1e79d43e winhttp: Add stub implementation for WinHttpOpenRequest and fix function declaration. 2008-07-04 19:38:15 +02:00
Zac Brown
ca627f5b7d winhttp: Add stub implementation for WinHttpConnect. 2008-07-04 19:37:52 +02:00
Kai Blin
1d77d2a826 ws2_32: Prevent segfault in trace for NULL AddressString. 2008-07-04 19:35:41 +02:00
Jacek Caban
047e5aaad5 mshtml: Don't mix nsresult with HRESULT. 2008-07-04 19:35:26 +02:00
Maarten Lankhorst
ee317b19b2 quartz: Set filesource initial state to stopped.
Fixes a bug valgrind found.
2008-07-04 19:35:07 +02:00
Maarten Lankhorst
8b65914cf9 quartz: Make CLSID_AudioRender an alias for CLSID_DSoundRender. 2008-07-04 19:35:00 +02:00
Massimo Del Fedele
d6a6b88f19 opengl32: glGetString() should return NULL on NULL context. 2008-07-04 19:34:45 +02:00
Alexandre Julliard
0f9484a124 server: Set the visible rect in the set_window_pos request again.
This essentially reverts 2f69329a37.
We really need the visible rect to be set atomically with the rest of
the window position info.
2008-07-03 20:33:12 +02:00
Alexandre Julliard
531ff0be26 ntdll: Split the signal setup into process-wide and thread-specific routines. 2008-07-03 20:18:23 +02:00
Alexandre Julliard
f3bf2a7045 kernel32: Use a proper structure for thunks instead of an array of WORDs. 2008-07-03 18:15:03 +02:00
Alexandre Julliard
94e217891c exception.h: Make the RtlUnwind wrapper available separately.
Also avoid dependency on winternl.h.
2008-07-03 13:08:19 +02:00
Alexandre Julliard
1894d708a4 oleaut32: Include the system jpeg and png headers before the Windows headers. 2008-07-03 13:08:19 +02:00
Zhangrong Huang
86a0643df8 msxml3/test: Fix a typo in test node_to_string(). 2008-07-03 13:08:19 +02:00
Zhangrong Huang
d42a601b52 secur32: Allow loading external schannel.dll. 2008-07-03 13:08:18 +02:00
Alistair Leslie-Hughes
746cdb4a6d msxml3: Added tests to check for invalid arguments. 2008-07-03 13:08:18 +02:00
Alistair Leslie-Hughes
01bd1c17c8 msxml3: Added checks for invalid arguments in nodelist. 2008-07-03 13:08:18 +02:00
Alistair Leslie-Hughes
212335e0b8 msxml3: Added checks for invalid arguments in queryresult. 2008-07-03 13:08:18 +02:00
Alexander Morozov
3ac3194527 wininet/tests: Add HTTP 1.1 test. 2008-07-03 13:08:18 +02:00
Alexander Morozov
9d23d8ecef wininet/tests: Additional HTTP header tests. 2008-07-03 13:08:18 +02:00
Sinitsin Ivan
2b4dcb2577 mshtml: Add HTMLWindow_scrollBy implementation. 2008-07-03 13:08:18 +02:00
Sinitsin Ivan
e731a42b90 mshtml: Add HTMLWindow_scrollTo implementation. 2008-07-03 13:08:18 +02:00
Alistair Leslie-Hughes
13f202a6e9 msxml3: Use libxml macros to get the length of a set. 2008-07-03 13:08:18 +02:00
Piotr Caban
0781daba7a msxml3/tests: Fix error messages. 2008-07-03 13:08:18 +02:00
Piotr Caban
66eca8b3d6 msxml3/tests: Better error messages formatting. 2008-07-03 13:08:18 +02:00
Vijay Kiran Kamuju
1be44ab2fc vdmdbg: Add stub for VDMEnumProcessWOW. 2008-07-03 13:08:18 +02:00
Nikolay Sivov
d93ad02216 gdiplus: Construction/desctruction tests for PathIterator. 2008-07-03 13:08:18 +02:00
Nikolay Sivov
91be02c085 gdiplus: Added file for PathIterator testing. 2008-07-03 13:08:18 +02:00
Nikolay Sivov
e6055f936e gdiplus: Implementation of GdipPathIterEnumerate. 2008-07-03 13:08:17 +02:00
Nikolay Sivov
d020474cb5 gdiplus: Implemented GdipDrawBeziers. 2008-07-03 13:08:17 +02:00
Nikolay Sivov
1ee3b0fac6 gdiplus: Implemented GdipCreateTextureIAI using float args version. 2008-07-03 13:08:17 +02:00
Dylan Smith
31a2d64fa4 richedit: Fixed simulated keyboard events on tests. 2008-07-03 13:07:45 +02:00
Maarten Lankhorst
28c7b230ed quartz: Fix return value for video renderer. 2008-07-03 11:50:52 +02:00
Maarten Lankhorst
e5767b1c02 quartz: Fix return values in directsound renderer. 2008-07-03 11:50:52 +02:00
Maarten Lankhorst
422d71f630 wined3d: Fix a deadlock that may occur during initialization. 2008-07-03 11:50:52 +02:00
Michael Stefaniuc
808c5dbece gdiplus: Remove redundant NULL check before GdipFree (Smatch). 2008-07-03 11:50:52 +02:00
H. Verbeet
4f77c29bcf wined3d: Track depth stencil location per-surface.
This gets rid of depth_copy_state in the device, and instead tracks
the most up to date location per-surface. This makes things a lot
easier to follow, and allows us to make a copy when switching depth
stencils in SetDepthStencilSurface().
2008-07-03 11:50:52 +02:00
H. Verbeet
e7d0ef72ba wined3d: Use dst_fbo to do the depth blit.
This makes the depth copy independent of the currently attached render
targets. This is important for the next patch because it might do a
depth copy when the render targets aren't in a valid configuration
(SetDepthStencilSurface()).
2008-07-03 11:50:51 +02:00
H. Verbeet
22421b8476 wined3d: Make sure the FBO doesn't have any depth attachments in color_fill_fbo() and stretch_rect_fbo().
Currently this is already true, but the next patch will break that assumption.
2008-07-03 11:50:51 +02:00
Michael Karcher
3d95f5e1c6 winex11: Made local constant static. 2008-07-03 11:50:51 +02:00
Owen Rudge
9e6a7661d8 shell32: Check registry entry for cpl files (in standard control panel). 2008-07-03 11:50:51 +02:00
Jacek Caban
f9e3f81de2 mshtml: Set doc to NULL in NSContainer_Release. 2008-07-03 11:50:51 +02:00
Juan Lang
52fcae9909 inetmib1: Fix test failures on some systems. 2008-07-03 11:50:51 +02:00
Alistair Leslie-Hughes
d659e63d73 msxml3: Added support to create an Attribute in createNode. 2008-07-03 11:50:51 +02:00
Paul Vriens
0435574aed quartz/tests: Make tests run on everything lower then Vista. 2008-07-03 11:50:51 +02:00
Huw Davies
9c3c516cc2 gdiplus: Add some more region stubs. 2008-07-03 11:50:51 +02:00
Kai Blin
20213e49f2 netapi32: Make sure NetUserGetInfo can find the current user. 2008-07-03 11:50:51 +02:00
Alexandre Julliard
bdf180d2a2 iphlpapi: Fix the return value of GetPerAdapterInfo, with tests. 2008-07-03 11:50:51 +02:00
Alexandre Julliard
89a3bd0c15 user32: Split the SetWindowPos driver backend in WindowPosChanging/Changed.
This is needed to allow updating the visible rect before invalidating
the DCEs.
2008-07-02 15:40:10 +02:00
Detlef Riekenberg
0848be6a60 winspool: Use the backend for EnumMonitors. 2008-07-02 12:36:16 +02:00
Detlef Riekenberg
2f08621d62 localspl: Implement fpEnumMonitors. 2008-07-02 12:36:10 +02:00
Stefan Dösinger
8d930f6009 wined3d: Restore the gamma when destroying the swapchain. 2008-07-02 12:27:05 +02:00
Stefan Dösinger
2d4d18b59d wined3d: Delay render target activation.
The ActivateContext in SetRenderTarget was an old regression prevention,
but now it is time to remove it.
2008-07-02 12:25:12 +02:00
Stefan Dösinger
1c7f39ed1e wined3d: Use CTXUSAGE_RESOURCELOAD for fb->texture reads.
There is no need for _BLIT usage. RESOURCELOAD should be faster.
2008-07-02 12:24:54 +02:00
Stefan Dösinger
74c5684f90 wined3d: Update the blit ortho on size changes.
SetupForBlit sets up the GL viewport and projection matrix for
screen-cordinate access to the framebuffer. These settings were not
updated if the other gl states were already set up for blitting. Guild
Wars reads back an offscreen rendered texture from the framebuffer,
which currently sets up CTXUSAGE_BLIT, then changes the render target,
and draws to the texture, which has to be reloaded from system memory
before it can be rendered to(since GW loaded some data into it). If the
two render targets had different size this failed.
2008-07-02 12:24:35 +02:00
Stefan Dösinger
c4eae160d7 wined3d: RENDERTARGET | AUTOGENMIPMAP are compatible.
The test used D3DPOOL_MANAGED which is mutually exclusive with
RENDERTARGET usage, thus the call failed.
2008-07-02 12:24:12 +02:00
Alexander Dorofeyev
b312d42059 quartz: Fix memory leak and behavior on errors in FilterMapper_EnumMatchingFilters. 2008-07-02 12:23:43 +02:00
Alexander Dorofeyev
bbd22ae06c quartz: Fix memory leak in FilterMapper_RegisterFilter. 2008-07-02 12:23:37 +02:00
Alexander Dorofeyev
c206f91030 quartz: Fix memleak in FilterMapper2_RegisterFilter. 2008-07-02 12:23:25 +02:00
Alexander Dorofeyev
d3e67c83a0 quartz: Fix memory leaks in FM2_DeleteRegFilter. 2008-07-02 12:23:19 +02:00
Alexander Dorofeyev
898152c024 quartz: Fix memory leaks in IEnumRegFiltersImpl_Release. 2008-07-02 12:23:14 +02:00
Alexander Dorofeyev
02943d96b4 quartz: Fix interface leak in EnumMonikerImpl_Release. 2008-07-02 12:23:04 +02:00
Adam Petaccia
de5b4d7c7f gdiplus: Test GdipCloneImage. 2008-07-02 12:21:31 +02:00
Adam Petaccia
af29f96939 gdiplus: Stub GdipCloneImage. 2008-07-02 12:21:21 +02:00
Adam Petaccia
9f65b9a0fc gdiplus: Correct spec entry for GdipFlush. 2008-07-02 12:20:46 +02:00
James Hawkins
3c969224ad ntdll: Skip the byte swap test in win2k. 2008-07-02 12:20:31 +02:00
James Hawkins
36e703b409 gdi32: Fix two tests that fail for all platforms. 2008-07-02 12:20:27 +02:00
James Hawkins
d0a8fd48a9 rpcrt4: Fix a failing test in win2k. 2008-07-02 12:17:01 +02:00
James Hawkins
74bb01f4a9 d3d9: Fix a test that fails with broken drivers. 2008-07-02 12:16:44 +02:00
James Hawkins
60b7f641b9 advapi32: Send in an empty string to RegSetValueEx to avoid a test failure in win95. 2008-07-02 12:16:34 +02:00
James Hawkins
c737542782 kernel32: Fix test failures because of a broken ReplaceFile in win2k. 2008-07-02 12:05:34 +02:00
James Hawkins
f4cbdc96de dsound: Fix a failing test for broken drivers. 2008-07-02 12:05:15 +02:00
James Hawkins
11e31e580c ddraw: Fix a failing test for broken drivers. 2008-07-02 12:05:08 +02:00
James Hawkins
8830dbcca8 ddraw: Fix a failing test for broken drivers. 2008-07-02 12:04:56 +02:00
James Hawkins
448cfaeb8f advapi32: Fix a failing test in win2k. 2008-07-02 12:04:42 +02:00
James Hawkins
e9acfbee57 fusion: pwzFilePath is an out parameter, so don't trace its contents. 2008-07-02 12:04:30 +02:00