Commit Graph

54090 Commits

Author SHA1 Message Date
Hans Leidekker b4dcc6b42a setupapi: Add tests for StringTableAddStringEx and StringTableLookupStringEx. 2009-01-06 14:37:44 +01:00
Hans Leidekker f820392fbf setupapi: Have each test create and destroy its own string table. 2009-01-06 14:37:33 +01:00
Hans Leidekker 18b5366c35 setupapi: Implement StringTableLookUpStringEx. 2009-01-06 14:37:06 +01:00
Rob Shearman 8a976a7d78 widl: Replace uses of get_func_return_type with type_function_get_rettype.
Also replace direct accesses into the type structure to get the return
type of a function with the same function.
2009-01-06 14:36:25 +01:00
Rob Shearman 9b139018cf widl: Add new function, type_iface_get_stmts.
Use it to retrieve statements contained in interface types.
2009-01-06 12:58:41 +01:00
Rob Shearman 8fc59d0ead widl: Add a new function, type_iface_get_inherit.
Use it for retrieving the parent interface for interfaces.
2009-01-06 12:58:33 +01:00
Rob Shearman 67ac03ae4e widl: Add a new function, type_pointer_get_ref.
Use it for retrieving the type that a pointer refers to.
2009-01-06 12:58:25 +01:00
Rob Shearman 2b87d269e1 widl: Add a new function, type_array_get_element.
Use it whenever retrieving the element type of an array.
2009-01-06 12:58:13 +01:00
Rob Shearman 8a42bc1f7b widl: Move the ifaces field of the type_t structure to coclass details. 2009-01-06 12:58:01 +01:00
Rob Shearman 83b1f08117 widl: Add function for getting the interfaces defined by a coclass type.
Split out the defining of coclass types in the parser into a function.
2009-01-06 12:57:56 +01:00
Rob Shearman 1f519e17cc widl: Don't store typelib kind information in the type structure.
It can trivially be derived from the type field now.
2009-01-06 12:57:31 +01:00
Rob Shearman 64520ecdc7 widl: Move creation of module type into a separate function, type_new_module and give it a special FC type. 2009-01-06 12:57:15 +01:00
Rob Shearman 8b326c4ff8 widl: Move duptype and alias to parser.y.
Make duptype static and rename alias to type_new_alias.
2009-01-06 12:57:02 +01:00
Rob Shearman cb8d3322be widl: Add new type_is_alias and type_get_real_type helper functions.
Use type_is_alias to replace cumbersome "type->kind == TKIND_ALIAS" expressions.
Use type_get_real_type to simplify some code.
2009-01-06 12:56:51 +01:00
Rob Shearman 200ec53835 widl: Access array type properties through accessors instead of getting them directly.
Store array type properties in the details union to save a bit of
memory and to make the general properties more obvious.
2009-01-06 12:56:33 +01:00
Rob Shearman 901a42b7f9 widl: Move funcs and stmts fields from type_t structure to module_details and function_details. 2009-01-06 12:56:15 +01:00
Rob Shearman b1f8560ae0 widl: Do the consistency checks on interfaces after parsing is complete. 2009-01-06 12:53:49 +01:00
Andrew Talbot 8aeaa423ad inkobj: Declare a variable static. 2009-01-06 12:52:21 +01:00
Dylan Smith 28645c64d5 richedit: Avoid rewrapping all text for isolated format changes.
When the character or paragraph format is changed the paragraph that
is changed is already marked to be rewrapped, so ME_MarkAllForWrapping
shouldn't be called.  Since ME_RewrapRepaint uses this function, it
shouldn't be called in these circumstances, since rewrapping all the
text can cause noticable delays when working with a lot of text.
2009-01-06 12:52:09 +01:00
Dylan Smith 6df4148b04 richedit: Prevent redundant rewraps when scrollbar is shown.
A common case for richedit controls are that a large amount of text is
set initially with word wrap enabled.  This causes the initially
wrapping of the text, which also calculates the text length.  After
this the vertical scrollbar will be shown, which causes the text to be
rewrapped again.  After this there are two redundant rewraps that are
done which this patch eliminates.
2009-01-06 12:51:55 +01:00
Dylan Smith a16db0afc6 richedit: Scroll up with less than page of text with ES_DISABLENOSCROLL. 2009-01-06 12:51:41 +01:00
Alexandre Julliard e31188d9da winebuild: Improve the calling sequence for register functions.
Pass parameters on the stack instead of retrieving them from the code
stream; this ensures that the code contains only valid instructions.
2009-01-06 12:51:18 +01:00
Alexandre Julliard 9f6ff3d5af kernel32: Change the DEFINE_REGS_ENTRYPOINT macro to use a number of args instead of a size.
Also assume that all register functions are stdcall.
2009-01-06 12:49:38 +01:00
Alexandre Julliard 4986f42b9f ntdll: Change the DEFINE_REGS_ENTRYPOINT macro to use a number of args instead of a size.
Also assume that all register functions are stdcall.
2009-01-06 12:49:18 +01:00
Henri Verbeet bddf5e76ea wined3d: Convert textureState to a bitmap in struct SAVEDSTATES. 2009-01-06 12:45:52 +01:00
Henri Verbeet a8697d90e4 wined3d: Renumber WINED3DTEXTURESTAGESTATETYPE enum elements.
Saves some space by not having unused entries is the arrays tracking these
states.
2009-01-06 12:45:43 +01:00
Henri Verbeet 352e60e6ed d3d: Explicitly translate texture stage states.
Ddraw and d3d8 already translate half of them, it turns out the lookup
table actually saves lines there.
2009-01-06 12:45:32 +01:00
Henri Verbeet c51bc826e8 ddraw: Properly handle sampler states. 2009-01-06 12:45:20 +01:00
Henri Verbeet 04808cc5aa d3d9: Don't test invalid texture stages. 2009-01-06 12:45:14 +01:00
Hans Leidekker d5d2a27aa4 sfc: Add a stub implementation for ordinal 3. 2009-01-06 12:45:03 +01:00
Hans Leidekker c8513986f2 sfc: Add missing exports. 2009-01-06 12:44:32 +01:00
Dylan Smith f361910514 richedit: Use 32-bit rather than 16-bit trackbar value for scrolling. 2009-01-06 12:44:24 +01:00
Michael Stefaniuc ba01d15b1f include: Change mapi.h to use ULONG for Win64 compatibility. 2009-01-06 12:44:17 +01:00
Michael Stefaniuc 54b6a42a0a include: Change twain.h to use LONG/ULONG for Win64 compatibility.
Also fix the compiler warnings introduced by this change.
2009-01-06 12:44:12 +01:00
Michael Stefaniuc 9896cb4ea6 include: Change mapix.h to use ULONG for Win64 compatibility. 2009-01-06 12:44:08 +01:00
Michael Stefaniuc 230fb06d2e include: Change the rest of sspi.h to use LONG/ULONG for Win64 compatibility. 2009-01-06 12:44:04 +01:00
Michael Stefaniuc 57ab0cd9a6 include: sspi.h: Use the Win types as per MSDN.
This improves the Win64 compatibility.
2009-01-06 12:43:46 +01:00
Michael Stefaniuc 92892873be include: Use ULONG instead of unsigned long in ipexport.h.
Fix also the compiler warnings introduced by this change.
2009-01-06 12:43:28 +01:00
Juan Lang f2df415ac1 crypt32: Use specified inner content type for signed messages when it's given. 2009-01-06 12:43:22 +01:00
Juan Lang 3eb3033deb crypt32: Implement CryptMsgSignCTL. 2009-01-06 12:43:15 +01:00
Juan Lang 80a24edb55 crypt32: Implement CryptMsgEncodeAndSignCTL on top of CryptMsgSignCTL. 2009-01-06 12:43:10 +01:00
Juan Lang 1efe0bc39b crypt32: Add stub for CryptMsgSignCTL. 2009-01-06 12:43:05 +01:00
Juan Lang 30de92df3a crypt32: Add stub for CryptMsgEncodeAndSignCTL. 2009-01-06 12:42:55 +01:00
Nikolay Sivov 76925b06c2 oleaut32: Check pointer in IPicture_get_Attributes. 2009-01-06 12:42:49 +01:00
Nikolay Sivov 5b88f0d916 oleaut32: Add PICTYPE_NONE and PICTYPE_UNINITIALIZED to IPicture_get_Attributes. 2009-01-06 12:42:43 +01:00
Francois Gouget e46d25a661 cmd: Make some functions static. 2009-01-06 10:09:37 +01:00
Francois Gouget 6b16d0229d cmd: WCMD_strtrim_trailing_spaces() is unused so remove it. 2009-01-06 10:09:37 +01:00
Francois Gouget e7b125702f cmd: Make WCMD_ask_confirm() static. 2009-01-06 10:09:37 +01:00
Francois Gouget b82caec718 winemine: Make some functions static. 2009-01-06 10:09:36 +01:00
Vincent Povirk 78dcb140c5 explorer: Quiet a few fixmes. 2009-01-06 10:09:36 +01:00