wine
15 years agocabinet: Don't cast the return value of PF[CD]I_ALLOC; those are void pointers.
Michael Stefaniuc [Thu, 1 Jan 2009 22:26:50 +0000 (23:26 +0100)] 
cabinet: Don't cast the return value of PF[CD]I_ALLOC; those are void pointers.

15 years agodplayx/tests: Fix typo.
Michael Stefaniuc [Thu, 1 Jan 2009 13:31:02 +0000 (14:31 +0100)] 
dplayx/tests: Fix typo.

15 years agodplayx/tests: Do not explicitly cast LPVOID function arguments.
Michael Stefaniuc [Thu, 1 Jan 2009 13:30:53 +0000 (14:30 +0100)] 
dplayx/tests: Do not explicitly cast LPVOID function arguments.

15 years agowined3d: Add mapping for MOV instructions in shader_hw_map2gl.
Allan Tong [Thu, 1 Jan 2009 02:44:33 +0000 (21:44 -0500)] 
wined3d: Add mapping for MOV instructions in shader_hw_map2gl.

15 years agocomdlg32: Unreachable code fix.
Andrew Talbot [Wed, 31 Dec 2008 18:50:13 +0000 (18:50 +0000)] 
comdlg32: Unreachable code fix.

15 years agowinmm: Check param in joyConfigChanged.
Christian Costa [Wed, 31 Dec 2008 16:29:17 +0000 (17:29 +0100)] 
winmm: Check param in joyConfigChanged.

15 years agowined3d: Convert clipplane to a bitmap in struct SAVEDSTATES.
Henri Verbeet [Wed, 31 Dec 2008 15:57:11 +0000 (16:57 +0100)] 
wined3d: Convert clipplane to a bitmap in struct SAVEDSTATES.

15 years agowined3d: Convert streamSource and streamFreq to bitmaps in struct SAVEDSTATES.
Henri Verbeet [Wed, 31 Dec 2008 15:57:11 +0000 (16:57 +0100)] 
wined3d: Convert streamSource and streamFreq to bitmaps in struct SAVEDSTATES.

15 years agowined3d: Fix the value of HIGHEST_TRANSFORMSTATE.
Henri Verbeet [Wed, 31 Dec 2008 15:57:10 +0000 (16:57 +0100)] 
wined3d: Fix the value of HIGHEST_TRANSFORMSTATE.

The highest transform state should be 511.

15 years agowined3d: Fix a few format specifiers in IWineD3DStateBlockImpl_Capture().
Henri Verbeet [Wed, 31 Dec 2008 15:57:10 +0000 (16:57 +0100)] 
wined3d: Fix a few format specifiers in IWineD3DStateBlockImpl_Capture().

15 years agowined3d: Use slightly nicer loops in device_map_fixed_function_samplers().
Henri Verbeet [Wed, 31 Dec 2008 15:57:10 +0000 (16:57 +0100)] 
wined3d: Use slightly nicer loops in device_map_fixed_function_samplers().

15 years agokernel32/tests: Fix compile on powerpc.
Austin English [Wed, 31 Dec 2008 15:20:06 +0000 (09:20 -0600)] 
kernel32/tests: Fix compile on powerpc.

15 years agoadvapi32: Remove unused function.
Andrew Talbot [Wed, 31 Dec 2008 12:17:01 +0000 (12:17 +0000)] 
advapi32: Remove unused function.

15 years agoddraw: Display fixme only once in IDirectDrawImpl_WaitForVerticalBlank.
Christian Costa [Wed, 31 Dec 2008 12:15:05 +0000 (13:15 +0100)] 
ddraw: Display fixme only once in IDirectDrawImpl_WaitForVerticalBlank.

15 years agontdll: Use INT_MAX for the semaphore count since LONG_MAX won't work on 64-bit.
Alexandre Julliard [Wed, 31 Dec 2008 20:55:11 +0000 (21:55 +0100)] 
ntdll: Use INT_MAX for the semaphore count since LONG_MAX won't work on 64-bit.

15 years agokernel32: Convert FormatMessageA/W to use an MS ABI vararg list for x86_64.
Alexandre Julliard [Wed, 31 Dec 2008 19:52:42 +0000 (20:52 +0100)] 
kernel32: Convert FormatMessageA/W to use an MS ABI vararg list for x86_64.

15 years agowldap32: Convert ber_printf to use an MS ABI vararg list for x86_64.
Alexandre Julliard [Wed, 31 Dec 2008 19:49:07 +0000 (20:49 +0100)] 
wldap32: Convert ber_printf to use an MS ABI vararg list for x86_64.

15 years agoshlwapi: Convert SHPackDispParams to use an MS ABI vararg list for x86_64.
Alexandre Julliard [Wed, 31 Dec 2008 19:48:33 +0000 (20:48 +0100)] 
shlwapi: Convert SHPackDispParams to use an MS ABI vararg list for x86_64.

15 years agoshlwapi: Convert wvnsprintfA/W to use an MS ABI vararg list for x86_64.
Alexandre Julliard [Wed, 31 Dec 2008 19:46:44 +0000 (20:46 +0100)] 
shlwapi: Convert wvnsprintfA/W to use an MS ABI vararg list for x86_64.

15 years agouser32: Convert wvsprintfA/W to use an MS ABI vararg list for x86_64.
Alexandre Julliard [Wed, 31 Dec 2008 19:46:08 +0000 (20:46 +0100)] 
user32: Convert wvsprintfA/W to use an MS ABI vararg list for x86_64.

15 years agocmd: Don't include time.h before winsock.h to avoid conflicts.
Alexandre Julliard [Wed, 31 Dec 2008 19:05:33 +0000 (20:05 +0100)] 
cmd: Don't include time.h before winsock.h to avoid conflicts.

15 years agoserver: Reorganize some requests to avoid padding, and make remaining padding explicit.
Alexandre Julliard [Wed, 31 Dec 2008 14:14:29 +0000 (15:14 +0100)] 
server: Reorganize some requests to avoid padding, and make remaining padding explicit.

15 years agoserver: Make atom_t an unsigned int to avoid padding issues.
Alexandre Julliard [Tue, 30 Dec 2008 22:17:52 +0000 (23:17 +0100)] 
server: Make atom_t an unsigned int to avoid padding issues.

15 years agoserver: Make TEB and PEB client_ptr_t instead of void pointers.
Alexandre Julliard [Tue, 30 Dec 2008 22:02:33 +0000 (23:02 +0100)] 
server: Make TEB and PEB client_ptr_t instead of void pointers.

15 years agoserver: Make thread entry points client_ptr_t instead of void pointers.
Alexandre Julliard [Tue, 30 Dec 2008 21:56:15 +0000 (22:56 +0100)] 
server: Make thread entry points client_ptr_t instead of void pointers.

15 years agoserver: Move ldt_copy to the init_process_done request and make it a client_ptr_t.
Alexandre Julliard [Tue, 30 Dec 2008 21:47:48 +0000 (22:47 +0100)] 
server: Move ldt_copy to the init_process_done request and make it a client_ptr_t.

15 years agoserver: Send the version with the initial fd so that it can be checked before sending...
Alexandre Julliard [Tue, 30 Dec 2008 21:37:25 +0000 (22:37 +0100)] 
server: Send the version with the initial fd so that it can be checked before sending the first request.

15 years agod3dxof: Move X files parsing into a separate file.
Christian Costa [Wed, 31 Dec 2008 11:27:24 +0000 (12:27 +0100)] 
d3dxof: Move X files parsing into a separate file.

15 years agowinex11.drv: Add the basic antialias type decision code.
Byeongsik Jeon [Wed, 31 Dec 2008 02:43:42 +0000 (11:43 +0900)] 
winex11.drv: Add the basic antialias type decision code.

15 years agowinhttp: Don't try and call a null callback.
Paul TBBle Hampson [Wed, 31 Dec 2008 07:59:02 +0000 (18:59 +1100)] 
winhttp: Don't try and call a null callback.

15 years agowinhttp: Correctly parse specified ports in WinHttpCrackUrl.
Paul TBBle Hampson [Wed, 31 Dec 2008 06:35:53 +0000 (17:35 +1100)] 
winhttp: Correctly parse specified ports in WinHttpCrackUrl.

15 years agowinhttp/tests: Add tests for WinHttpCrackUrl port number handling.
Paul TBBle Hampson [Wed, 31 Dec 2008 06:24:25 +0000 (17:24 +1100)] 
winhttp/tests: Add tests for WinHttpCrackUrl port number handling.

15 years agowinhttp: Fix resolution-failure TRACE in netconn_resolve to use input WCHAR* rather...
Paul TBBle Hampson [Tue, 30 Dec 2008 15:37:47 +0000 (02:37 +1100)] 
winhttp: Fix resolution-failure TRACE in netconn_resolve to use input WCHAR* rather than already-freed CHAR*.

15 years agoiphlpapi/tests: Fix a failing test.
Jeff Zaroyko [Tue, 30 Dec 2008 13:09:03 +0000 (00:09 +1100)] 
iphlpapi/tests: Fix a failing test.

15 years agowidl: Remove duplicate pointer handling code in get_struct_type.
Rob Shearman [Tue, 30 Dec 2008 18:49:48 +0000 (18:49 +0000)] 
widl: Remove duplicate pointer handling code in get_struct_type.

Only make the structure complex if there is an interface pointer, not
if there is a pointer to a union or complex struct since these are
handled perfectly well by the pointer marshalling code.

Fix the detection of structures with ref-pointers or pointers in 64-bit code.

15 years agowidl: Don't add NULL pointer checks in generated code for user types.
Rob Shearman [Tue, 30 Dec 2008 18:48:43 +0000 (18:48 +0000)] 
widl: Don't add NULL pointer checks in generated code for user types.

15 years agowinex11.drv: Calculate the cursor bitmap offsets in a way consistent with user32.
Andrew Riedi [Wed, 24 Dec 2008 22:35:39 +0000 (14:35 -0800)] 
winex11.drv: Calculate the cursor bitmap offsets in a way consistent with user32.

15 years agoitircl: Fix documentation typo.
Andrew Riedi [Wed, 24 Dec 2008 20:02:56 +0000 (12:02 -0800)] 
itircl: Fix documentation typo.

15 years agowinemine: Reorder some functions to avoid forward declarations.
Francois Gouget [Tue, 30 Dec 2008 23:59:51 +0000 (00:59 +0100)] 
winemine: Reorder some functions to avoid forward declarations.

15 years agowinemine: Remove AboutDlgProc() as it is unused.
Francois Gouget [Tue, 30 Dec 2008 23:59:05 +0000 (00:59 +0100)] 
winemine: Remove AboutDlgProc() as it is unused.

15 years agocmd: Reorder some functions to avoid forward declarations.
Francois Gouget [Tue, 30 Dec 2008 23:56:53 +0000 (00:56 +0100)] 
cmd: Reorder some functions to avoid forward declarations.

15 years agocmd: Reorder some functions to avoid forward declarations.
Francois Gouget [Tue, 30 Dec 2008 23:56:21 +0000 (00:56 +0100)] 
cmd: Reorder some functions to avoid forward declarations.

15 years agomshtml.idl: Added HTMLStyle coclass declaration.
Jacek Caban [Tue, 30 Dec 2008 20:23:56 +0000 (21:23 +0100)] 
mshtml.idl: Added HTMLStyle coclass declaration.

15 years agomshtml: Added gecko debug channel to control Gecko logging.
Jacek Caban [Tue, 30 Dec 2008 20:21:33 +0000 (21:21 +0100)] 
mshtml: Added gecko debug channel to control Gecko logging.

15 years agomshtml: Set XPCOM_DEBUG_BREAK to 'warn' before loading Gecko.
Jacek Caban [Tue, 30 Dec 2008 20:21:18 +0000 (21:21 +0100)] 
mshtml: Set XPCOM_DEBUG_BREAK to 'warn' before loading Gecko.

15 years agomshtml: Move handle_insert_comment to mutation.c.
Jacek Caban [Tue, 30 Dec 2008 20:20:57 +0000 (21:20 +0100)] 
mshtml: Move handle_insert_comment to mutation.c.

15 years agomshtml: Remove no longer used node_insert_listener.
Jacek Caban [Tue, 30 Dec 2008 20:20:37 +0000 (21:20 +0100)] 
mshtml: Remove no longer used node_insert_listener.

15 years agomshtml: Remove no longer needed set_profile.
Jacek Caban [Tue, 30 Dec 2008 20:20:25 +0000 (21:20 +0100)] 
mshtml: Remove no longer needed set_profile.

15 years agowined3d: Convert some BOOLs to bitfields in struct SAVEDSTATES.
Henri Verbeet [Tue, 30 Dec 2008 13:56:49 +0000 (14:56 +0100)] 
wined3d: Convert some BOOLs to bitfields in struct SAVEDSTATES.

15 years agowined3d: Convert some BOOLs to bitfields in struct IWineD3DDeviceImpl.
Henri Verbeet [Tue, 30 Dec 2008 13:56:49 +0000 (14:56 +0100)] 
wined3d: Convert some BOOLs to bitfields in struct IWineD3DDeviceImpl.

Also fills a 3 byte hole.

15 years agowined3d: Convert some BOOLs to bitfields in struct WineD3DContext.
Henri Verbeet [Tue, 30 Dec 2008 13:56:49 +0000 (14:56 +0100)] 
wined3d: Convert some BOOLs to bitfields in struct WineD3DContext.

Also happens to fill two 3 byte holes.

15 years agowined3d: Remove an unused field from the device.
Henri Verbeet [Tue, 30 Dec 2008 13:56:49 +0000 (14:56 +0100)] 
wined3d: Remove an unused field from the device.

15 years agowined3d: Make use_vs() and use_ps() work on a stateblock instead of a device.
Henri Verbeet [Tue, 30 Dec 2008 13:56:49 +0000 (14:56 +0100)] 
wined3d: Make use_vs() and use_ps() work on a stateblock instead of a device.

Most callers work on a stateblock rather than a device, and the main fields
we check (vertexShader and pixelShader) are part of the stateblock as well.

15 years agoserver: Make the various async I/O parameters client_ptr_t instead of void pointers.
Alexandre Julliard [Tue, 30 Dec 2008 20:09:41 +0000 (21:09 +0100)] 
server: Make the various async I/O parameters client_ptr_t instead of void pointers.

15 years agoserver: Specify the user APC to call only once the system APC has executed.
Alexandre Julliard [Tue, 30 Dec 2008 19:51:55 +0000 (20:51 +0100)] 
server: Specify the user APC to call only once the system APC has executed.

15 years agoserver: Explicitly specify when an ioctl call needs to be blocking.
Alexandre Julliard [Tue, 30 Dec 2008 19:37:20 +0000 (20:37 +0100)] 
server: Explicitly specify when an ioctl call needs to be blocking.

15 years agoserver: Make the arguments for CreateRemoteThread client_ptr_t instead of void pointers.
Alexandre Julliard [Tue, 30 Dec 2008 14:30:11 +0000 (15:30 +0100)] 
server: Make the arguments for CreateRemoteThread client_ptr_t instead of void pointers.

15 years agoserver: Make a couple of fields smaller in the apc_call_t/apc_result_t structures.
Alexandre Julliard [Tue, 30 Dec 2008 14:22:45 +0000 (15:22 +0100)] 
server: Make a couple of fields smaller in the apc_call_t/apc_result_t structures.

15 years agoserver: Make padding explicit in the wake_up_reply structure.
Alexandre Julliard [Tue, 30 Dec 2008 14:15:06 +0000 (15:15 +0100)] 
server: Make padding explicit in the wake_up_reply structure.

15 years agoserver: Make the address parameters in inter-process virtual memory calls client_ptr_t.
Alexandre Julliard [Tue, 30 Dec 2008 14:05:38 +0000 (15:05 +0100)] 
server: Make the address parameters in inter-process virtual memory calls client_ptr_t.

Add explicit padding fields in the corresponding structures.

15 years agoserver: Make the mapping base address a client_ptr_t instead of a void pointer.
Alexandre Julliard [Tue, 30 Dec 2008 13:18:21 +0000 (14:18 +0100)] 
server: Make the mapping base address a client_ptr_t instead of a void pointer.

15 years agoserver: Make the address argument for read/write_process_memory a client_ptr_t.
Alexandre Julliard [Tue, 30 Dec 2008 13:11:58 +0000 (14:11 +0100)] 
server: Make the address argument for read/write_process_memory a client_ptr_t.

15 years agoserver: Make the message callback function a client_ptr_t instead of a void pointer.
Alexandre Julliard [Tue, 30 Dec 2008 13:02:07 +0000 (14:02 +0100)] 
server: Make the message callback function a client_ptr_t instead of a void pointer.

15 years agocmd.exe: Use WCMD_CURRENTTIME resource to show the time.
Christian Costa [Tue, 30 Dec 2008 12:26:53 +0000 (13:26 +0100)] 
cmd.exe: Use WCMD_CURRENTTIME resource to show the time.

15 years agoquartz: Remove unused IMemInputPin vtables.
Christian Costa [Tue, 30 Dec 2008 12:25:32 +0000 (13:25 +0100)] 
quartz: Remove unused IMemInputPin vtables.

15 years agowinedos: Increase extended memory from 7MB to 15MB.
Christian Costa [Tue, 30 Dec 2008 11:20:29 +0000 (12:20 +0100)] 
winedos: Increase extended memory from 7MB to 15MB.

15 years agowinedos: Compute CMOS image checksum automatically.
Christian Costa [Tue, 30 Dec 2008 11:19:52 +0000 (12:19 +0100)] 
winedos: Compute CMOS image checksum automatically.

15 years agowinedos: Document CMOS image bytes.
Christian Costa [Tue, 30 Dec 2008 11:19:14 +0000 (12:19 +0100)] 
winedos: Document CMOS image bytes.

15 years agomshtml: Wine Gecko 0.9.0 release.
Jacek Caban [Tue, 30 Dec 2008 05:48:59 +0000 (06:48 +0100)] 
mshtml: Wine Gecko 0.9.0 release.

15 years agoopengl32: Define an enum for extensions to make diffs smaller when adding new extensions.
Alexandre Julliard [Tue, 30 Dec 2008 11:20:47 +0000 (12:20 +0100)] 
opengl32: Define an enum for extensions to make diffs smaller when adding new extensions.

15 years agoopengl32: make_opengl: Do not add explicit casts of function pointers to void pointers.
Michael Stefaniuc [Tue, 30 Dec 2008 00:07:27 +0000 (01:07 +0100)] 
opengl32: make_opengl: Do not add explicit casts of function pointers to void pointers.

15 years agoconfigure: Check for gnutls_mac_get_key_size() instead of gnutls_transport_set_errno().
Henri Verbeet [Tue, 30 Dec 2008 08:45:20 +0000 (09:45 +0100)] 
configure: Check for gnutls_mac_get_key_size() instead of gnutls_transport_set_errno().

15 years agocfgmgr32: Forward and stub CM_Create_DevNodeA/W.
Andrew Nguyen [Mon, 29 Dec 2008 17:43:12 +0000 (11:43 -0600)] 
cfgmgr32: Forward and stub CM_Create_DevNodeA/W.

15 years agosetupapi: Stub the SetupDiDestroyClassImageList function.
Andrew Nguyen [Mon, 29 Dec 2008 17:43:08 +0000 (11:43 -0600)] 
setupapi: Stub the SetupDiDestroyClassImageList function.

15 years agocfgmgr32: Forward and stub CM_Connect_MachineA.
Andrew Nguyen [Mon, 29 Dec 2008 17:43:00 +0000 (11:43 -0600)] 
cfgmgr32: Forward and stub CM_Connect_MachineA.

15 years agowined3d: Handle D3DFVF_XYZW in ConvertFvfToDeclaration().
Henri Verbeet [Mon, 29 Dec 2008 15:31:22 +0000 (16:31 +0100)] 
wined3d: Handle D3DFVF_XYZW in ConvertFvfToDeclaration().

This is similar to 0bdab5f80cdf9807f659699ff62e813d1b0ebb61.

15 years agod3d: Correct some debug levels.
Henri Verbeet [Mon, 29 Dec 2008 15:31:22 +0000 (16:31 +0100)] 
d3d: Correct some debug levels.

15 years agod3d9: Use separate codepaths for failure and NULL return values in GetVertexShader...
Henri Verbeet [Mon, 29 Dec 2008 15:31:22 +0000 (16:31 +0100)] 
d3d9: Use separate codepaths for failure and NULL return values in GetVertexShader() / GetPixelShader().

15 years agowined3d: Get rid of the glname field in struct SHADER_OPCODE.
Henri Verbeet [Mon, 29 Dec 2008 15:31:21 +0000 (16:31 +0100)] 
wined3d: Get rid of the glname field in struct SHADER_OPCODE.

It's only used for shader_hw_map2gl() and vshader_hw_rsq_rcp(), and we
can handle those the same way we handle the GLSL equivalents.

15 years agod3d8: Port the d3d9 stateblock tests to d3d8.
Henri Verbeet [Mon, 29 Dec 2008 15:31:21 +0000 (16:31 +0100)] 
d3d8: Port the d3d9 stateblock tests to d3d8.

15 years agoserver: Make timer callback function and argument client_ptr_t instead of void pointers.
Alexandre Julliard [Mon, 29 Dec 2008 16:43:01 +0000 (17:43 +0100)] 
server: Make timer callback function and argument client_ptr_t instead of void pointers.

15 years agoserver: Make hook procedures client_ptr_t instead of void pointers.
Alexandre Julliard [Mon, 29 Dec 2008 16:35:35 +0000 (17:35 +0100)] 
server: Make hook procedures client_ptr_t instead of void pointers.

15 years agoserver: Make the device opaque data a client_ptr_t instead of a void pointer.
Alexandre Julliard [Mon, 29 Dec 2008 16:28:40 +0000 (17:28 +0100)] 
server: Make the device opaque data a client_ptr_t instead of a void pointer.

15 years agoserver: Make the class opaque data a client_ptr_t instead of a void pointer.
Alexandre Julliard [Mon, 29 Dec 2008 16:24:33 +0000 (17:24 +0100)] 
server: Make the class opaque data a client_ptr_t instead of a void pointer.

15 years agoserver: Make the select cookie a client_ptr_t instead of a void pointer.
Alexandre Julliard [Mon, 29 Dec 2008 16:19:26 +0000 (17:19 +0100)] 
server: Make the select cookie a client_ptr_t instead of a void pointer.

15 years agoserver: Store debugging output strings as client_ptr_t instead of void pointers.
Alexandre Julliard [Mon, 29 Dec 2008 16:12:20 +0000 (17:12 +0100)] 
server: Store debugging output strings as client_ptr_t instead of void pointers.

15 years agoserver: Store module names as client_ptr_t instead of void pointers.
Alexandre Julliard [Mon, 29 Dec 2008 16:10:11 +0000 (17:10 +0100)] 
server: Store module names as client_ptr_t instead of void pointers.

15 years agoserver: Make module handles always 64-bit.
Alexandre Julliard [Mon, 29 Dec 2008 15:47:51 +0000 (16:47 +0100)] 
server: Make module handles always 64-bit.

15 years agoserver: Add a module_handle_t type to represent client-side module handles.
Alexandre Julliard [Mon, 29 Dec 2008 15:41:44 +0000 (16:41 +0100)] 
server: Add a module_handle_t type to represent client-side module handles.

15 years agocabinet: Make sure that parent directories exist when creating a new directory.
Jacek Caban [Mon, 29 Dec 2008 13:50:26 +0000 (14:50 +0100)] 
cabinet: Make sure that parent directories exist when creating a new directory.

15 years agowidl: Generate header files from the parse tree instead of using hooks in the parser.
Rob Shearman [Mon, 29 Dec 2008 12:06:35 +0000 (12:06 +0000)] 
widl: Generate header files from the parse tree instead of using hooks in the parser.

15 years agowidl: Write the local stubs file based on the parsed list of statements, rather than...
Rob Shearman [Mon, 29 Dec 2008 12:06:24 +0000 (12:06 +0000)] 
widl: Write the local stubs file based on the parsed list of statements, rather than using hooks in the parser code.

15 years agowidl: Write the generated file containing IID, DIID, CLSID and LIBID data based on...
Rob Shearman [Mon, 29 Dec 2008 12:06:12 +0000 (12:06 +0000)] 
widl: Write the generated file containing IID, DIID, CLSID and LIBID data based on the parsed list of statements instead of using hooks in the parser code.

15 years agowidl: Write the typelib based on the statement list generated in the typelib_t object...
Rob Shearman [Mon, 29 Dec 2008 12:06:06 +0000 (12:06 +0000)] 
widl: Write the typelib based on the statement list generated in the typelib_t object instead of using hooks in the parser code.

15 years agowidl: Create a separate type_t object for each structure declaration or defintion.
Rob Shearman [Mon, 29 Dec 2008 12:05:53 +0000 (12:05 +0000)] 
widl: Create a separate type_t object for each structure declaration or defintion.

Set the details of the structure to the previously defined version if
available, or add it to a list of incomplete types otherwise. Only set
the defined flag when the structure is actually defined in the IDL
file so that the type is written out in the exact order that it is
mentioned in the file.

15 years agowidl: Don't create a temporary variable in the t_ident rule.
Rob Shearman [Mon, 29 Dec 2008 12:05:41 +0000 (12:05 +0000)] 
widl: Don't create a temporary variable in the t_ident rule.

The identifier doesn't have any properties of a variable and we only
use it for holding the name before it is freed.

Use get_type instead of get_typev in the type_new_* functions and get
rid of get_typev.

15 years agowidl: Store the type-specific information in a union in the type_t structure.
Rob Shearman [Mon, 29 Dec 2008 12:05:35 +0000 (12:05 +0000)] 
widl: Store the type-specific information in a union in the type_t structure.

Use pointers for the information for structures, enumerations,
functions and interfaces so that we can determine whether or not the
type has been defined yet and to enable more information to be stored.

15 years agowidl: Hide the details of where arguments, fields, values and cases are stored in...
Rob Shearman [Mon, 29 Dec 2008 12:05:27 +0000 (12:05 +0000)] 
widl: Hide the details of where arguments, fields, values and cases are stored in the type_t structure for functions, structures, enums and unions.

15 years agowidl: Follow aliases in check_remoting_fields so that the fields for the type are...
Rob Shearman [Mon, 29 Dec 2008 12:05:19 +0000 (12:05 +0000)] 
widl: Follow aliases in check_remoting_fields so that the fields for the type are correctly enumerated.

15 years agoinclude: Include winuser.h from generated oleidl.h header.
Rob Shearman [Mon, 29 Dec 2008 12:05:12 +0000 (12:05 +0000)] 
include: Include winuser.h from generated oleidl.h header.

oleidl.h isn't usable without winuser.h being included first due to
using the LPMSG type, so explicitly include it by adding a cpp_quote
statement to oleidl.idl. In the PSDK it is implicitly included as
IDL-generated header includes windows.h, which in turn includes
winuser.h.