Commit Graph

2707 Commits

Author SHA1 Message Date
Rob Shearman e28fe907fa wine.inf: Make UI effects default to on.
This makes SPI_GETUIEFFECTS return TRUE by default.
2008-02-04 13:03:53 +01:00
Rob Shearman 661b01f922 widl: Output code for initialising and freeing full pointer translation tables. 2008-02-04 11:49:13 +01:00
Rob Shearman 454e489c2f widl: Don't search for a import file name with a path in the include directories for compatibility with MIDL. 2008-02-04 11:49:07 +01:00
Jacek Caban 2118aeca16 widl: Ignore ATTR_LOCAL in create_msft_typeinfo. 2008-02-04 11:30:30 +01:00
Francois Gouget fa9950f93e winedump: Add support for dumping SZ_LINK and SPECIAL_FOLDER data blocks. 2008-02-04 11:13:07 +01:00
Francois Gouget 79a6f41935 winedump: Switch the block dumping code to be block-oriented, rather then flag oriented, so it is resilient to order changes. 2008-02-04 11:13:01 +01:00
Francois Gouget 9fc80d212f winedump: Dump the raw data when finding an unknown block in an lnk file. 2008-02-04 11:12:32 +01:00
Francois Gouget 74d8536414 winedump: Track unknown lnk flags and dump them. 2008-02-04 11:12:13 +01:00
Francois Gouget 85eac20afd winedump: Use the standard SLDF_XXX flag names instead of inventing new ones. Add the missing flags. 2008-02-04 11:12:03 +01:00
Francois Gouget d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Dmitry Timoshkov cf94095eb7 winebuild: Add a couple of missing indentations in the generated asm files. 2008-01-23 11:31:43 +01:00
Rob Shearman 5af6012fba widl: Write out code for initialising out-only client context handles. 2008-01-21 11:39:13 +01:00
Austin English 90f89fa74d tools: Spelling fixes. 2008-01-18 12:52:09 +01:00
Alexandre Julliard ba5336175c widl: Use the real argument names in the C method macros. 2008-01-18 12:03:22 +01:00
Alexandre Julliard aaf02c6f4a winebuild: Don't try to use the .init section on Mac OS. 2008-01-16 20:27:35 +01:00
Alexandre Julliard 538071ce7e winebuild: Reserve the space for the PE header in the .init section. 2008-01-16 17:51:59 +01:00
Francois Gouget f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +01:00
Michael Stefaniuc c3eda248a5 winedump: Use a switch in the generated DllMain(). 2008-01-14 15:51:04 +01:00
Michael Stefaniuc 8c6dbc7a3e winedump: Use the DEFINE_THISCALL_WRAPPER macro instead of the GET_THIS macro for functions with __thiscall calling convention.
Wine doesn't use GET_THIS but DEFINE_THISCALL_WRAPPER.
2008-01-14 15:50:58 +01:00
Michael Stefaniuc 6db84ae4c6 winedump: Do not create a header file when not generating skeleton code.
The header file generated with "winedump spec" without the "-c" option
just includes other headers.
2008-01-14 15:50:23 +01:00
Rob Shearman a3040cea58 widl: Use symbolic names for some of the context handle attributes. 2008-01-07 21:33:53 +01:00
Rob Shearman 06ed169bc5 widl: Fix context handle "cannot be null" detection.
The "cannot be null" attibute is applied to a parameter if and only if 
it is in-only.
2008-01-07 21:33:50 +01:00
Peter Oberndorfer 66960ba4bf dwmapi: Add stub implementation for DwmSetWindowAttribute and DwmUnregisterThumbnail. 2008-01-07 18:19:37 +01:00
Rob Shearman e998892a23 widl: Fix the conditions under which array freeing code is output.
It doesn't matter whether or not the array is declared as a pointer or 
is declared using array subscripts - the array is still allocated by the 
unmarshalling function and so needs to be freed.

Fix a typo that caused varying arrays never to be freed.

Fix another typo with the check for conformant arrays being performed 
twice, redundantly.
2008-01-07 12:37:08 +01:00
Rob Shearman 15af19c6ec widl: Add support for strict context handles. 2008-01-07 12:32:21 +01:00
Rob Shearman 807001441d widl: Output calls for the new versions of the marshalling and unmarshalling routines for server context handles.
This needs to be done to match the call to NdrContextHandleInitialize 
and because we default to using strict context handles.
2008-01-07 12:32:00 +01:00
Rob Shearman 13f9c71960 widl: Make the offset of conformant string types point to the start of the conformant string format chars, not the pointer type.
Otherwise, writing a type at top-level could cause the pointer format 
string to be used in non-top-level places which may cause memory 
corruption during freeing.
2008-01-07 12:02:57 +01:00
Hans Leidekker e6455c601b tools/wine.desktop: Add Dutch translation. 2008-01-07 12:02:33 +01:00
Rob Shearman 9aaff94fb7 widl: Check that the buffer has enough space before unmarshalling base types in generated code. 2007-12-31 17:13:46 +01:00
Aric Stewart a8e62526f7 fonts: Correct External leading for japanese small font and enable fontmetric test for the font. 2007-12-27 14:13:30 +01:00
Rob Shearman 6e7dcde26e widl: Add support for generating code for out-only context handles by calling NdrContextHandleInitialize. 2007-12-26 13:27:06 +01:00
Rob Shearman 3e5f7457f6 widl: Fix pointer detection in structures and arrays.
write_embedded_types doesn't descend into all types contained by the
array or structure, so create a new function, type_has_pointers, for the
purpose of descending into all types and returning whether or not
pointers are present.
2007-12-26 13:26:02 +01:00
Rob Shearman 7f3abe7757 widl: Fix the generation of temporary variables for declared arrays.
These need to include their array part so use var->type instead of 
var->ref->type.
2007-12-24 13:30:33 +01:00
Rob Shearman b57a322b02 widl: Tweak the rules for when to call pfnFree for arrays.
Varying arrays that aren't unmarshalled shouldn't be freed, but 
conformant arrays that aren't unmarshalled should.
2007-12-21 12:43:18 +01:00
Alexandre Julliard 0b85eee236 wine.inf: Mark the spool service as disabled, it's just a stub. 2007-12-20 16:40:41 +01:00
Rob Shearman 37c8d8ecac widl: Fix the length used when clearing alignment space in generated files.
Only do the clearing when marshalling a base type.
2007-12-19 19:34:47 +01:00
Rob Shearman 57947d9f9c widl: The detection of types is highly dependent on the ordering of the various type detection functions.
Therefore, needs_freeing would have to duplicate a lot of
write_remoting_arg in order to get the detection right. Because of
this, it is easier and will cause less problems in the future to
simply move the logic of needs_freeing into write_remoting_arg in the
appropriate handling code for the detected type.
2007-12-19 18:32:13 +01:00
Rob Shearman b81f4c24db widl: Only base types or reference pointers to base types don't need to be freed.
There are other cases where calls to Free functions can be omitted (such 
as types always unmarshalled using buffer memory with no embedded 
pointers), but these are easier dealt with inside the relevent case in 
write_remoting_arg.
2007-12-17 11:57:25 +01:00
Rob Shearman 45d6a959fb widl: Return types shouldn't be freed. 2007-12-17 11:57:16 +01:00
Rob Shearman 32cf944e9c widl: Clear padding in the buffer due to alignment. 2007-12-17 11:57:10 +01:00
Michael Stefaniuc e94bcee53f winebuild: Remove duplicate declaration of variable 'j'. 2007-12-14 12:26:14 +01:00
Rob Shearman 9896938fab widl: Don't write redundant FC_RP type format out for conformant strings, unless it is a top level variable. 2007-12-14 12:23:33 +01:00
Rob Shearman 00db711c6f widl: Swap the version packing order back to what typelibs expect. 2007-12-13 14:30:40 +01:00
Rob Shearman 9741751962 widl: Remove some confusion in how version numbers are packed into an attribute by defining some macros for this purpose.
Remove unneeded includes.
2007-12-12 16:03:35 +01:00
Alexandru Balut 5869703657 wine.inf: Fix the type of some values in HKLM, System\CurrentControlSet\Control\Session Manager\Environment. 2007-12-12 13:48:34 +01:00
Rob Shearman d458a599eb widl: Add support for non-basetype return types. 2007-12-11 18:07:05 +01:00
Alexandre Julliard b462c20876 winebuild: Don't set the IMAGE_FILE_DLL flag on native modules. 2007-12-11 14:59:54 +01:00
Rob Shearman 85e87ae829 widl: iid_is should take expressions, not just identifiers. 2007-12-10 14:40:37 +01:00
Rob Shearman 72d9569cc4 widl: Support the address-of operator in expressions. 2007-12-10 14:40:29 +01:00
Rob Shearman 8ead7fe797 widl: Make sure to generate freeing calls for all non-simple structures with pointers and pointers to user marshalled types. 2007-12-10 14:40:14 +01:00