Commit Graph

2679 Commits

Author SHA1 Message Date
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
Rob Shearman e6f2329676 widl: Arrays should have freeing code generated on the server side, even if they are [in] parameters. 2007-12-10 14:40:10 +01:00
Rob Shearman 701a25c4b2 widl: Always write a freeing function for arrays in generated code.
Fix the conditions under which pfnFree is called to only include arrays 
that will have been allocated, instead of being pointed to the buffer.
2007-12-10 14:40:07 +01:00
Rob Shearman 121048a6ee wine.inf: Register actxprxy.dll and create a fake DLL for it. 2007-12-10 14:27:16 +01:00
Alexandre Julliard b9966054cf makedep: Added support for dlldata.c dependencies. 2007-12-10 14:26:25 +01:00
Alexandre Julliard b0585bf10f Make.rules: Added rules for building the dlldata.c file. 2007-12-10 14:26:13 +01:00
Aric Stewart 8be27f68c7 sfnt2fnt: Use code from gdi32/freetype to do a better job finding the TTAG_EBLC to deal with older version of freetype without having to fall back on unreliable hacks. 2007-12-10 12:11:17 +01:00
Rob Shearman a513ff4926 widl: Don't override the pointer type in top-level arrays. 2007-12-08 19:57:25 +01:00
Alexandre Julliard 195356c098 winebuild: Also optimize out imports that are only used for forwards. 2007-12-06 21:44:45 +01:00
Alexandre Julliard e6fe7341f5 winebuild: Improved checks for missing forward entry point targets. 2007-12-06 21:43:41 +01:00
Alexandre Julliard 32fc1acb1c winebuild: Print a warning when failing to import a data export. 2007-12-06 21:43:41 +01:00
Detlef Riekenberg 14ac9c915d wine.inf: Add more fake dlls. 2007-12-03 14:43:45 +01:00
Divan Burger 1aff3528cf user32, wine.inf: Enable title bar gradients and match colours with win2k. 2007-11-28 13:41:06 +01:00
Michael Stefaniuc 7f5757f683 tools: Remove duplicate includes. 2007-11-19 13:54:52 +01:00
Alexandre Julliard a97d6556a4 wine.inf: Register inetcomm.dll. 2007-11-15 11:36:05 +01:00
Alexandre Julliard 75b7ddaa3c wine.inf: Some dlls need to be registered before the others. 2007-11-15 11:36:05 +01:00
Jonathan Ernst f94b82026a wine.desktop: Updated French translation. 2007-11-13 23:28:05 +01:00
Francois Gouget 81a5701ca9 Assorted spelling fixes. 2007-11-09 13:07:12 +01:00
Alexandre Julliard c32e02e48d winebuild: Add a few nops to stub entry points to make Safedisc happy. 2007-11-07 20:36:04 +01:00
Alexandre Julliard 28b32972d9 wine.inf: Add APPDATA and LOCALAPPDATA environment variables. 2007-11-07 13:32:57 +01:00
Dan Hipschman a0ac63961d widl: Don't rely on type_memsize to return 0 for all conformant arrays. 2007-11-06 13:02:56 +01:00
Dan Hipschman b0bc8e58de widl: Don't output a void conformance for NdrClearOutParameters. 2007-11-05 13:24:37 +01:00
Dan Hipschman 8d15820f79 widl: Handle pointers to conformant arrays (e.g., "[size_is(, n)] int **p; "). 2007-11-05 13:24:37 +01:00
Jacek Caban e15b6096c6 iexplore: Added self-registration code. 2007-11-05 13:24:36 +01:00
Dan Hipschman ea7ab4da66 widl: Add a --local-stubs option. 2007-10-31 12:39:54 +01:00
Paul Millar 17e934669e widl: Add support for overriding recorded time, allowing binary-identical compilation. 2007-10-29 12:08:10 +01:00
Francois Gouget 80911c12f4 crypt32: Better match the PSDK types and update win32.api to fix the winapi_check warnings. 2007-10-29 12:04:48 +01:00
Dan Hipschman 70e12b31b8 widl: Fix ExprEvalRoutines output. 2007-10-29 12:03:26 +01:00
Alexandre Julliard 3243311214 winebuild: Add a -ordinal flag for entry points that must be imported by ordinal but exported by name. 2007-10-26 12:47:40 +02:00