wine
19 years agoStore the handle to the stock bitmap when the first DC is created to
Alexandre Julliard [Sun, 27 Mar 2005 18:19:59 +0000 (18:19 +0000)] 
Store the handle to the stock bitmap when the first DC is created to
avoid exporting the DEFAULT_BITMAP define.

19 years agoFormat VT_UI1, VT_I1, VT_UI2, VT_I2 correctly.
Marcus Meissner [Sun, 27 Mar 2005 18:17:19 +0000 (18:17 +0000)] 
Format VT_UI1, VT_I1, VT_UI2, VT_I2 correctly.

19 years agoRemove unnecessary function prototypes.
Mike McCormack [Sun, 27 Mar 2005 18:16:49 +0000 (18:16 +0000)] 
Remove unnecessary function prototypes.

19 years agoRemove function prototypes, make functions static.
Mike McCormack [Sun, 27 Mar 2005 18:16:25 +0000 (18:16 +0000)] 
Remove function prototypes, make functions static.

19 years agoStore the DCE pointer in the DC physDev structure using an x11drv GDI
Alexandre Julliard [Sun, 27 Mar 2005 17:58:41 +0000 (17:58 +0000)] 
Store the DCE pointer in the DC physDev structure using an x11drv GDI
escape.

19 years agoUse api definitions, remove duplicate code.
Mike McCormack [Sun, 27 Mar 2005 17:54:48 +0000 (17:54 +0000)] 
Use api definitions, remove duplicate code.

19 years agoRemove stray 8bit character.
Hans Leidekker [Sun, 27 Mar 2005 17:54:17 +0000 (17:54 +0000)] 
Remove stray 8bit character.

19 years agoDon't mistake frames for bytes.
Jerry Jenkins [Sun, 27 Mar 2005 17:52:32 +0000 (17:52 +0000)] 
Don't mistake frames for bytes.

19 years agoFix size passed to SPI_NONCLIENTMETRICS.
Robert Shearman [Sun, 27 Mar 2005 17:52:16 +0000 (17:52 +0000)] 
Fix size passed to SPI_NONCLIENTMETRICS.

19 years agoAdded IDispatch::GetIDsOfNames() special case serializing.
Marcus Meissner [Sun, 27 Mar 2005 17:51:59 +0000 (17:51 +0000)] 
Added IDispatch::GetIDsOfNames() special case serializing.
Handle VT_PTR / NULL marshalling correctly.

19 years agoWhen computing nonclient area take into consideration that a child
Ulrich Czekalla [Sun, 27 Mar 2005 17:51:30 +0000 (17:51 +0000)] 
When computing nonclient area take into consideration that a child
windows with the WS_POPUP style can have a menu bar.

19 years agoExplicitly store the stack of saved DCs in the DC structure instead of
Alexandre Julliard [Fri, 25 Mar 2005 20:58:29 +0000 (20:58 +0000)] 
Explicitly store the stack of saved DCs in the DC structure instead of
using the 16-bit hNext field in the object header.

19 years agoMaintain the stack of saved vis regions in the DC structure instead of
Alexandre Julliard [Fri, 25 Mar 2005 20:52:53 +0000 (20:52 +0000)] 
Maintain the stack of saved vis regions in the DC structure instead of
storing it directly in the region objects.

19 years agoUse {Alloc,ReAlloc,Free}() instead of Heap{Alloc,ReAlloc,Free}().
Dimitrie O. Paun [Fri, 25 Mar 2005 20:49:00 +0000 (20:49 +0000)] 
Use {Alloc,ReAlloc,Free}() instead of Heap{Alloc,ReAlloc,Free}().

19 years agoPrint retval in decimal to avoid confusion.
Paul Vriens [Fri, 25 Mar 2005 20:47:50 +0000 (20:47 +0000)] 
Print retval in decimal to avoid confusion.
NT4 fails with ERROR_INVALID_TARGET_HANDLE instead of
ERROR_REDIR_PAUSED.
Use some correct messages on error.
Extra tracing.

19 years agoChild windows with the WS_POPUP style are allowed to have a menu.
Ulrich Czekalla [Fri, 25 Mar 2005 20:47:32 +0000 (20:47 +0000)] 
Child windows with the WS_POPUP style are allowed to have a menu.

19 years agoAdded mshtmhst.idl.
Jacek Caban [Fri, 25 Mar 2005 20:46:48 +0000 (20:46 +0000)] 
Added mshtmhst.idl.

19 years agoCheck desktop visibility after processing command line arguments.
Ferenc Wagner [Fri, 25 Mar 2005 17:11:52 +0000 (17:11 +0000)] 
Check desktop visibility after processing command line arguments.

19 years agoScrollDC and X11DRV_SCROLLDC should scroll only pixels coming from
Rein Klazes [Fri, 25 Mar 2005 17:11:04 +0000 (17:11 +0000)] 
ScrollDC and X11DRV_SCROLLDC should scroll only pixels coming from
within the visible region, clipped to the clipping region if that
exists. Add the destination of pixels coming from the outside of this
region to the update region. With tests that depend on this.

19 years agoMoved DCE support to the X11 driver.
Alexandre Julliard [Fri, 25 Mar 2005 16:47:04 +0000 (16:47 +0000)] 
Moved DCE support to the X11 driver.

19 years agoDon't fault on NULL pointers in Is*Ptr functions.
Mike Hearn [Fri, 25 Mar 2005 16:38:50 +0000 (16:38 +0000)] 
Don't fault on NULL pointers in Is*Ptr functions.

19 years agoFix PARAMFLAG_FOUT typo in the tmarshaller.
Mike Hearn [Fri, 25 Mar 2005 16:38:37 +0000 (16:38 +0000)] 
Fix PARAMFLAG_FOUT typo in the tmarshaller.

19 years agoUse strdup, implement MsiDatabaseImportA.
Mike McCormack [Fri, 25 Mar 2005 16:38:26 +0000 (16:38 +0000)] 
Use strdup, implement MsiDatabaseImportA.

19 years agoDon't map point to parent's client window because the rest of the code
Ulrich Czekalla [Fri, 25 Mar 2005 16:38:15 +0000 (16:38 +0000)] 
Don't map point to parent's client window because the rest of the code
assumes screen coordinates.

19 years agoReplace the link_window request by a set_parent request since that is
Alexandre Julliard [Fri, 25 Mar 2005 10:38:56 +0000 (10:38 +0000)] 
Replace the link_window request by a set_parent request since that is
all link_window is used for at this point.
Get rid of the WIN_LinkWindow/UnlinkWindow functions.

19 years agoProper handling for GWL_STYLE.
Dimitrie O. Paun [Fri, 25 Mar 2005 10:27:11 +0000 (10:27 +0000)] 
Proper handling for GWL_STYLE.
Minor cleanups.

19 years agoFix a memory leak in toolbar. Avoid casts.
Dimitrie O. Paun [Fri, 25 Mar 2005 10:27:00 +0000 (10:27 +0000)] 
Fix a memory leak in toolbar. Avoid casts.

19 years agoReplace a trace with a previously removed test.
James Hawkins [Fri, 25 Mar 2005 10:26:18 +0000 (10:26 +0000)] 
Replace a trace with a previously removed test.

19 years agoHandle wParam in WM_PAINT properly: if non-null, it is the hdc we are
Dimitrie O. Paun [Fri, 25 Mar 2005 10:26:10 +0000 (10:26 +0000)] 
Handle wParam in WM_PAINT properly: if non-null, it is the hdc we are
supposed to use to draw into.

19 years agoAdd Robert Shearman's explanation about WM_NCPAINT.
Dimitrie O. Paun [Fri, 25 Mar 2005 10:25:45 +0000 (10:25 +0000)] 
Add Robert Shearman's explanation about WM_NCPAINT.
Move testing comments in a more appropriate place.

19 years agoDon't run FilterGraph tests if FilterGraph functionality is not
Jakob Eriksson [Fri, 25 Mar 2005 10:25:24 +0000 (10:25 +0000)] 
Don't run FilterGraph tests if FilterGraph functionality is not
available.

19 years agoFix thread affinity test for SMP machines.
Jakob Eriksson [Fri, 25 Mar 2005 10:25:11 +0000 (10:25 +0000)] 
Fix thread affinity test for SMP machines.

19 years agoNo need continuing tests if no NetUserGetInfo.
Jakob Eriksson [Fri, 25 Mar 2005 10:24:45 +0000 (10:24 +0000)] 
No need continuing tests if no NetUserGetInfo.

19 years agoTry a TrueColor visual if Xrender fails with a DirectColor one.
Alexandre Julliard [Thu, 24 Mar 2005 21:04:10 +0000 (21:04 +0000)] 
Try a TrueColor visual if Xrender fails with a DirectColor one.

19 years agoGet rid of HeapAlloc casts.
Jakob Eriksson [Thu, 24 Mar 2005 21:01:35 +0000 (21:01 +0000)] 
Get rid of HeapAlloc casts.

19 years agoAvoid calling WIN_ListChildren from the graphics drivers.
Alexandre Julliard [Thu, 24 Mar 2005 20:41:27 +0000 (20:41 +0000)] 
Avoid calling WIN_ListChildren from the graphics drivers.

19 years agoAdded support for xbuttons.
Alexandre Julliard [Thu, 24 Mar 2005 19:16:54 +0000 (19:16 +0000)] 
Added support for xbuttons.

19 years agoAdded full support for xbuttons (side mouse buttons).
Kevin Koltzau [Thu, 24 Mar 2005 19:15:41 +0000 (19:15 +0000)] 
Added full support for xbuttons (side mouse buttons).

19 years agoTake into account the more correct behavior of recent Linux kernels.
Alexandre Julliard [Thu, 24 Mar 2005 19:05:02 +0000 (19:05 +0000)] 
Take into account the more correct behavior of recent Linux kernels.

19 years agoReplace instances of HeapAlloc/MultiByteToWideChar with the internally
Mike McCormack [Thu, 24 Mar 2005 19:04:06 +0000 (19:04 +0000)] 
Replace instances of HeapAlloc/MultiByteToWideChar with the internally
defined strdupAtoW.

19 years agoIf running in UI mode, then display the UI mode dialogs at the end of
Aric Stewart [Thu, 24 Mar 2005 19:03:45 +0000 (19:03 +0000)] 
If running in UI mode, then display the UI mode dialogs at the end of
the installs.

19 years agoAfter Float->string conversion via sprintfW(), VarDecFromR[4|8] is
Alex Villacís Lasso [Thu, 24 Mar 2005 19:03:14 +0000 (19:03 +0000)] 
After Float->string conversion via sprintfW(), VarDecFromR[4|8] is
forced to use US locale for string->Decimal conversion, to agree with
sprintfW().

19 years agoFix some Windows 95 issues.
Jakob Eriksson [Thu, 24 Mar 2005 19:02:38 +0000 (19:02 +0000)] 
Fix some Windows 95 issues.

19 years agoDon't maintain a client-side WND structure for the desktop window.
Alexandre Julliard [Thu, 24 Mar 2005 15:18:50 +0000 (15:18 +0000)] 
Don't maintain a client-side WND structure for the desktop window.
Made WIN_GetPtr return WND_DESKTOP in that case.

19 years agoMake sure there's only one place we allocate dialog controls.
Mike McCormack [Thu, 24 Mar 2005 15:09:31 +0000 (15:09 +0000)] 
Make sure there's only one place we allocate dialog controls.

19 years agoClean up registry functions.
Mike McCormack [Thu, 24 Mar 2005 15:09:18 +0000 (15:09 +0000)] 
Clean up registry functions.

19 years agoFixed \u keyword to output signed 16-bit values. Also fixed CP_SYMBOL
Phil Krylov [Thu, 24 Mar 2005 15:09:05 +0000 (15:09 +0000)] 
Fixed \u keyword to output signed 16-bit values. Also fixed CP_SYMBOL
conversion and the detection of the default font's codepage.

19 years agoPretend there are 0 terminal server sessions and processes.
Hans Leidekker [Thu, 24 Mar 2005 15:08:48 +0000 (15:08 +0000)] 
Pretend there are 0 terminal server sessions and processes.

19 years agoSupport relay tracing of functions with 18 arguments.
Rein Klazes [Thu, 24 Mar 2005 15:08:37 +0000 (15:08 +0000)] 
Support relay tracing of functions with 18 arguments.

19 years ago- use WINE_DINPUT_KEYBOARD_MAX_KEYS instead hard-coded 256 value
Raphael Junqueira [Thu, 24 Mar 2005 15:08:27 +0000 (15:08 +0000)] 
- use WINE_DINPUT_KEYBOARD_MAX_KEYS instead hard-coded 256 value
- better use of critical section
- some cleanup to better understand code paths
- logic correction on SetWindowsHookExA/UnhookWindowsHookEx on
  keyboard.

19 years agoAdded handling of unsigned type.
Jacek Caban [Thu, 24 Mar 2005 15:07:57 +0000 (15:07 +0000)] 
Added handling of unsigned type.

19 years agoThe depth of the colour bitmap needs to match that of the screen.
Huw Davies [Thu, 24 Mar 2005 15:07:40 +0000 (15:07 +0000)] 
The depth of the colour bitmap needs to match that of the screen.

19 years agoComplete the unicodification of comctl32undoc.
Dimitrie O. Paun [Thu, 24 Mar 2005 15:07:23 +0000 (15:07 +0000)] 
Complete the unicodification of comctl32undoc.

19 years agoGet rid of the window lock suspend mechanism.
Alexandre Julliard [Wed, 23 Mar 2005 13:18:51 +0000 (13:18 +0000)] 
Get rid of the window lock suspend mechanism.

19 years agoAssorted spelling fixes.
Francois Gouget [Wed, 23 Mar 2005 13:15:18 +0000 (13:15 +0000)] 
Assorted spelling fixes.

19 years agoPretend there are 0 log records.
Hans Leidekker [Wed, 23 Mar 2005 13:09:27 +0000 (13:09 +0000)] 
Pretend there are 0 log records.
Improve traces.

19 years agoAvoid bad visual errors in thread_selection_wnd().
Ron Jensen [Wed, 23 Mar 2005 13:08:35 +0000 (13:08 +0000)] 
Avoid bad visual errors in thread_selection_wnd().

19 years agoGet rid of the remaining WIN_FindWndPtr calls.
Alexandre Julliard [Wed, 23 Mar 2005 12:00:51 +0000 (12:00 +0000)] 
Get rid of the remaining WIN_FindWndPtr calls.

19 years agoAdd RegSaveKey, RegLoadKey tests.
James Hawkins [Wed, 23 Mar 2005 11:59:06 +0000 (11:59 +0000)] 
Add RegSaveKey, RegLoadKey tests.

19 years agoMake the treeview correctly search when the top index is selected.
Jason Edmeades [Wed, 23 Mar 2005 11:58:58 +0000 (11:58 +0000)] 
Make the treeview correctly search when the top index is selected.

19 years agoTest for PeekNamedPipe with zero-length buffer.
Alex Villacís Lasso [Wed, 23 Mar 2005 11:58:32 +0000 (11:58 +0000)] 
Test for PeekNamedPipe with zero-length buffer.

19 years agoDon't fail when opening a device in direct sound mode. Rather, try
Robert Reif [Wed, 23 Mar 2005 11:58:05 +0000 (11:58 +0000)] 
Don't fail when opening a device in direct sound mode. Rather, try
alternate formats first before failing.

19 years agoTeach VERSION_GetLinkedDLLVersion about Mingw32 applications.
C. Scott Ananian [Wed, 23 Mar 2005 11:57:39 +0000 (11:57 +0000)] 
Teach VERSION_GetLinkedDLLVersion about Mingw32 applications.

19 years agoCreate a new server request for accepting hardware messages instead of
Alexandre Julliard [Wed, 23 Mar 2005 10:33:17 +0000 (10:33 +0000)] 
Create a new server request for accepting hardware messages instead of
abusing reply_message.
Allow passing the determined window for a hardware message back to the
server to have it redispatch the message to the correct thread.

19 years ago- Window styles passed to CreateWindowEx must the same as passed in
Robert Shearman [Wed, 23 Mar 2005 10:26:15 +0000 (10:26 +0000)] 
- Window styles passed to CreateWindowEx must the same as passed in
  CREATESTRUCT for WM_CREATE/WM_NCCREATE.
- Fix cases where WS_EX_WINDOWEDGE style is applied.
- Tests for the above.

19 years agoFixed MsiDatabaseImportA, MsiDatabaseImportW, and
Marcus Meissner [Wed, 23 Mar 2005 10:24:53 +0000 (10:24 +0000)] 
Fixed MsiDatabaseImportA, MsiDatabaseImportW, and
MsiCreateAndVerifyInstallerDirectory stub parameter counts.

19 years agoComplete unicodification of the treeview common control.
Dimitrie O. Paun [Wed, 23 Mar 2005 10:24:42 +0000 (10:24 +0000)] 
Complete unicodification of the treeview common control.

19 years agoComplete unicodification of the tooltips common control.
Dimitrie O. Paun [Wed, 23 Mar 2005 10:24:20 +0000 (10:24 +0000)] 
Complete unicodification of the tooltips common control.

19 years agoComplete unicodification of the toolbar common control.
Dimitrie O. Paun [Wed, 23 Mar 2005 10:24:06 +0000 (10:24 +0000)] 
Complete unicodification of the toolbar common control.
Move a header comment for consistency with the other controls.
Very small alignment fixes.

19 years agoComplete unicodification of the rebar common control.
Dimitrie O. Paun [Wed, 23 Mar 2005 10:23:41 +0000 (10:23 +0000)] 
Complete unicodification of the rebar common control.

19 years agoComplete unicodification of the propsheet common control.
Dimitrie O. Paun [Wed, 23 Mar 2005 10:23:23 +0000 (10:23 +0000)] 
Complete unicodification of the propsheet common control.

19 years agoComplete unicodification of the header common control.
Dimitrie O. Paun [Wed, 23 Mar 2005 10:23:06 +0000 (10:23 +0000)] 
Complete unicodification of the header common control.

19 years agoComplete unicodification of the flatsb common control.
Dimitrie O. Paun [Wed, 23 Mar 2005 10:22:52 +0000 (10:22 +0000)] 
Complete unicodification of the flatsb common control.

19 years agoComplete unicodification.
Dimitrie O. Paun [Wed, 23 Mar 2005 10:22:37 +0000 (10:22 +0000)] 
Complete unicodification.

19 years agoRevamp the volume logic to be more self contained, fix a few bugs so
Jeremy White [Wed, 23 Mar 2005 10:22:16 +0000 (10:22 +0000)] 
Revamp the volume logic to be more self contained, fix a few bugs so
that the volume is correctly read, and is correctly converted to
windows style volume numbers.

19 years agoSimplify hardware message processing by merging the "raw" and "cooked"
Alexandre Julliard [Tue, 22 Mar 2005 21:48:40 +0000 (21:48 +0000)] 
Simplify hardware message processing by merging the "raw" and "cooked"
processing into a single function.

19 years agoFix some -Wsign-compare and -Wuninitialized warnings.
Hans Leidekker [Tue, 22 Mar 2005 21:17:34 +0000 (21:17 +0000)] 
Fix some -Wsign-compare and -Wuninitialized warnings.

19 years agoLog to +seh when an IsBad* function faults.
Mike Hearn [Tue, 22 Mar 2005 21:16:39 +0000 (21:16 +0000)] 
Log to +seh when an IsBad* function faults.

19 years agoIf the device gets interrupted, we just give up.
Jakob Eriksson [Tue, 22 Mar 2005 21:16:24 +0000 (21:16 +0000)] 
If the device gets interrupted, we just give up.

19 years agoTest fix.
Jakob Eriksson [Tue, 22 Mar 2005 21:16:04 +0000 (21:16 +0000)] 
Test fix.

19 years agoEliminate useless HeapAlloc() casts.
Dimitrie O. Paun [Tue, 22 Mar 2005 21:15:18 +0000 (21:15 +0000)] 
Eliminate useless HeapAlloc() casts.

19 years agoFetch again the file time to compare against to avoid rounding errors.
Alexandre Julliard [Tue, 22 Mar 2005 21:14:51 +0000 (21:14 +0000)] 
Fetch again the file time to compare against to avoid rounding errors.

19 years agoAbort if we can't create a named pipe at all.
Jakob Eriksson [Tue, 22 Mar 2005 21:14:00 +0000 (21:14 +0000)] 
Abort if we can't create a named pipe at all.

19 years agoEliminate HeapAlloc casts.
Jakob Eriksson [Tue, 22 Mar 2005 18:26:06 +0000 (18:26 +0000)] 
Eliminate HeapAlloc casts.

19 years agoPeekNamedPipe now checks both for a NULL buffer and a zero-length
Alex Villacís Lasso [Tue, 22 Mar 2005 18:23:44 +0000 (18:23 +0000)] 
PeekNamedPipe now checks both for a NULL buffer and a zero-length
buffer before trying to recv() from the pipe.

19 years agoStrRetToStrNAW returns ok on NT4, though it should return FALSE.
Jakob Eriksson [Tue, 22 Mar 2005 18:19:13 +0000 (18:19 +0000)] 
StrRetToStrNAW returns ok on NT4, though it should return FALSE.

19 years agoMore trace info from storage32 test.
Jakob Eriksson [Tue, 22 Mar 2005 18:18:43 +0000 (18:18 +0000)] 
More trace info from storage32 test.

19 years agoMore trace info.
Jakob Eriksson [Tue, 22 Mar 2005 18:18:14 +0000 (18:18 +0000)] 
More trace info.

19 years agoUse GetAncestor instead of GetParent.
Ulrich Czekalla [Tue, 22 Mar 2005 18:17:56 +0000 (18:17 +0000)] 
Use GetAncestor instead of GetParent.

19 years agoAdded support for ANAT (Anadyr Standard Time) to TZ_INFO.
Rustam Chernotkach [Tue, 22 Mar 2005 18:17:31 +0000 (18:17 +0000)] 
Added support for ANAT (Anadyr Standard Time) to TZ_INFO.

19 years agoIf the variable does not exist, just return.
Jakob Eriksson [Tue, 22 Mar 2005 18:17:07 +0000 (18:17 +0000)] 
If the variable does not exist, just return.

19 years agoWindows 98 doesn't like it when we delete the tempfile.
Jakob Eriksson [Tue, 22 Mar 2005 18:16:53 +0000 (18:16 +0000)] 
Windows 98 doesn't like it when we delete the tempfile.

19 years agoTest package creation.
Aric Stewart [Tue, 22 Mar 2005 16:45:55 +0000 (16:45 +0000)] 
Test package creation.

19 years agoIf an MDI child becomes active restore previously maximized MDI
Dmitry Timoshkov [Tue, 22 Mar 2005 16:45:31 +0000 (16:45 +0000)] 
If an MDI child becomes active restore previously maximized MDI
child.

19 years agoFix patching error in file time test.
Jakob Eriksson [Tue, 22 Mar 2005 16:44:57 +0000 (16:44 +0000)] 
Fix patching error in file time test.

19 years agoAdd support for Serbian cyrillic X11 keyboard layout.
Dmitry Timoshkov [Tue, 22 Mar 2005 16:42:47 +0000 (16:42 +0000)] 
Add support for Serbian cyrillic X11 keyboard layout.

19 years agoIncrease PE reserve area size to 512Mb.
Mike Hearn [Tue, 22 Mar 2005 16:42:25 +0000 (16:42 +0000)] 
Increase PE reserve area size to 512Mb.

19 years agoMade RTF reader and writer handle codepages mostly similar to the
Phil Krylov [Tue, 22 Mar 2005 16:41:36 +0000 (16:41 +0000)] 
Made RTF reader and writer handle codepages mostly similar to the
original riched20.dll.

19 years agoEDIT_EM_SetSel: Old/new selection range ordering code would break when
C. Scott Ananian [Tue, 22 Mar 2005 16:40:36 +0000 (16:40 +0000)] 
EDIT_EM_SetSel: Old/new selection range ordering code would break when
old_end < start < end < old_start.
Reset EF_UPDATE flag after we've sent the update.

19 years agoDutch resource translation.
Hans Leidekker [Tue, 22 Mar 2005 16:39:25 +0000 (16:39 +0000)] 
Dutch resource translation.