Commit Graph

39816 Commits

Author SHA1 Message Date
Dylan Smith f885d40d67 richedit: Store mouse captured state rather than calling GetCapture.
Windowless richedit control will not be able to call GetCapture without
a handle to the host window (and there is no ITextHost_TxGetCapture
method), but there is a ITextHost_TxSetCapture method available for
setting and releasing the capture on the mouse.  This means that the
richedit control will need to keep track of whether it has captured the
mouse or not to implement windowless richedit controls.
2009-01-12 14:42:02 +01:00
Dylan Smith ee19ec056a richedit: Prevent an unsigned integer underflow. 2009-01-12 14:40:30 +01:00
Dylan Smith 8089d980d1 richedit: Set bEmulateVersion10 initially to avoid retroactive changes.
Previously the WM_NCCREATE was handled by the as if it was always for
later versions, then the window proc for version 1.0 would make
appropriate changes afterwards.  Instead both versions should call the
same function (e.g. ME_MakeEditor) and provide the value for
bEmulateVersion10 to make the code clearer.
2009-01-12 14:40:11 +01:00
Dylan Smith 603be645d2 richedit: Pressing enter adds newline on WM_KEYDOWN rather than WM_CHAR. 2009-01-12 14:39:42 +01:00
Dylan Smith 576ff4b104 richedit: Tested EM_CHARFROMPOS with position outside of control. 2009-01-12 14:38:57 +01:00
Dylan Smith 55d9e95892 richedit: Added tests for autoscrolling options based on WS_V/HSCROLL. 2009-01-12 14:38:36 +01:00
Dylan Smith a1aaf97c11 richedit: Added tests to show that options are stored internally. 2009-01-12 14:38:17 +01:00
Andrey Turkin d2685e7bd7 ntdll: Add RtlCaptureStackBackTrace stub. 2009-01-12 14:37:57 +01:00
Andrey Turkin a0f681ad4c ntoskrnl: Add version resource. 2009-01-12 14:37:40 +01:00
Andrey Turkin 86635b3c48 loadperf: Add LoadPerfCounterTextStrings stubs. 2009-01-12 14:37:18 +01:00
Christian Costa 2322a06dd6 mciavi: In MCI, RECT structure is used differently: rc.right = width & rc.bottom = height so do the conversion when needed. 2009-01-12 14:37:12 +01:00
Chris Wulff 10637b4f0d gdiplus: Implement hatch brush accessor functions. 2009-01-12 14:36:41 +01:00
Chris Wulff a2a94a49bc gdiplus: Partial implementation of GdipCreateHatchBrush. 2009-01-12 14:36:37 +01:00
Ge van Geldorp f9f2e91198 msi/tests: Opening package with relative filename sometimes succeeds on Windows. 2009-01-12 14:34:51 +01:00
Henri Verbeet 07f9991062 dsound: Const correctness fixes. 2009-01-12 13:22:14 +01:00
Henri Verbeet b069321650 wined3d: Fix and unify shader creation error handling. 2009-01-12 13:22:07 +01:00
Henri Verbeet 894edc49cc wined3d: Get rid of D3DCREATESHADEROBJECTINSTANCE. 2009-01-12 13:22:02 +01:00
Henri Verbeet 87627c811e wined3d: Get rid of D3DINITIALIZEBASETEXTURE. 2009-01-12 13:21:56 +01:00
Henri Verbeet 00a4b85fa9 wined3d: Update the pixelshader when the texture type changes. 2009-01-12 13:21:51 +01:00
Stefan Leichter 2ca9f2c536 shell32: Rename ordinal 525 to SHFlushSFCache. 2009-01-12 13:21:09 +01:00
Christian Costa 75ac489ea4 d3dxof: Avoid accessing template/object buffer directly. 2009-01-12 13:19:03 +01:00
Rico Schüller 619a74ec5f setupapi: Fix if condition in SetupEnumInfSectionsA/W. 2009-01-12 13:18:28 +01:00
Jacek Caban 954e55b55b urlmon: Added https pluggable protocol handler. 2009-01-12 13:11:21 +01:00
Andrew Talbot 1e06fcdc8c qcap: Declare a function static. 2009-01-12 13:11:05 +01:00
Andrew Talbot 9e537ae06c ole32: Declare a function static. 2009-01-12 13:11:01 +01:00
Andrew Talbot 668197a898 msi: Declare some functions static. 2009-01-12 13:10:53 +01:00
David Adam e1fefd57e7 d3dx9_36/test: Remove an unconsistent test. 2009-01-12 13:10:43 +01:00
Rob Shearman 59158fb25c rpcrt4: Unmarshalling functions should always set fMustAlloc when allocating memory.
The memory is uninitialised and so further unmarshalling shouldn't try
to reuse any memory. fMustAlloc is always set to TRUE when allocating
memory so that it is clear that the unmarshalling is safe and to avoid
future problems with change or the code being copied.
2009-01-12 13:07:31 +01:00
Rob Shearman 17a30ff2e8 oleaut32: Test the return value of the remote IWidget_StructArgs call. 2009-01-12 13:07:10 +01:00
Rob Shearman ea00dc4b49 user32: Free allocated memory in USER_unload_driver. 2009-01-12 13:07:07 +01:00
Rob Shearman 07090c2485 ntoskrnl: Free allocated buffers on exit from wine_ntoskrnl_main_loop.
Avoids a warning of a memory leak in Valgrind.
2009-01-12 13:07:05 +01:00
Rob Shearman b3c8124a15 oleaut32: Dump MSFT format typeinfos upon loading. 2009-01-12 13:07:01 +01:00
Michael Stefaniuc f93b29b04d dxgi: Remove superfluous pointer casts. 2009-01-12 13:06:50 +01:00
Michael Stefaniuc c171379f47 include: Use ULONG in rpcdcep.h for Win64 compatibility. 2009-01-12 13:06:44 +01:00
Michael Stefaniuc ca8d5a7922 msvfw32: Remove superfluous pointer casts. 2009-01-12 13:06:42 +01:00
Michael Stefaniuc f927cfd26b mpr: Remove superfluous pointer casts. 2009-01-12 13:06:39 +01:00
Michael Stefaniuc c91aa7a96d dsound: Remove superfluous pointer casts. 2009-01-12 13:06:36 +01:00
Michael Stefaniuc e1797a7367 crypt32/tests: Remove some superfluous pointer casts.
There is no need to cast the pointers passed to the penultimate
argument of the CryptDecodeObjectEx and CryptEncodeObjectEx functions
as those expect void pointers.
2009-01-12 13:05:09 +01:00
Stefan Dösinger 365e1f3b07 wined3d: Avoid hooking non-fog glEnable/glDisable calls.
This prevents fallout from the GL_EXT_fog_coord emulation. glEnable
and glDisable calls other than those that change GL_FOG are not
hooked. The glEnableWINE and glDisableWINE functions can be used to
add other hooks too if ever needed.
2009-01-12 13:03:47 +01:00
Stefan Dösinger 1deafcb5a7 wined3d: Split the remains of state_fog. 2009-01-12 13:02:49 +01:00
Stefan Dösinger 061087811f wined3d: Remove the apply_pshader_fog state handler.
The fog doesn't depend on pixel shaders any longer(but still vice
versa), so we don't need this state any more.
2009-01-12 13:02:39 +01:00
Stefan Dösinger 2dd18635c9 wined3d: Move fogdensity and fogcolor to the fragment pipeline. 2009-01-12 13:02:29 +01:00
Stefan Dösinger e61aa24aa3 wined3d: Use the ARB fog option in ARB_fragment_program shaders.
This is the "replacement" for the fog coord optimization removed in
the previous patch.
2009-01-12 13:02:19 +01:00
Stefan Dösinger 7c21147dcd wined3d: Remove the pixelshader fogstart/fogend optimization. 2009-01-12 13:01:49 +01:00
Jacek Caban 4a43c308b5 wininet: Use SSL_pending in NETCON_query_data_available. 2009-01-12 13:01:25 +01:00
Jacek Caban 5bf719690a wininet: Improve NETCON_recv over SSL implementation.
Current implementation uses only peek buffer if there is any data,
which causes reads one byte per call in common
InternetQueryDataAvailable/InternetReadFile scenario.
2009-01-12 13:01:20 +01:00
Alexandre Julliard 9c6494a417 user32: The PackDDElParam return value is sign-extended on 64-bit. 2009-01-10 21:06:49 +01:00
Alexandre Julliard 9cc75a5b50 user32: Winproc handles do not get sign-extended on 64-bit. 2009-01-10 21:06:32 +01:00
Alexandre Julliard 8377b2464b ole32/tests: Fix marshalling data layout for Win64. 2009-01-10 21:06:09 +01:00
Alexandre Julliard ac543e5bc7 gdi32/tests: Fix an uninitialized value check and a structure size for Win64. 2009-01-10 21:05:52 +01:00