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
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
Dan Hipschman
9825ac7a1a
widl: Fix a crash in compare_expr.
2007-10-25 12:54:57 +02:00
Dan Hipschman
f974facf5a
widl: Allow void pointers with iid_is attributes.
2007-10-25 12:54:52 +02:00
Dan Kegel
374db6371c
wine.inf: Add fake DLL for mshtml.dll.
2007-10-25 12:48:43 +02:00
Dan Hipschman
1aab1072c1
widl: Use error_loc instead of yyerror.
2007-10-24 13:51:58 +02:00
Dan Hipschman
9051918976
widl: parser_error must append a newline, so write a new function, error_loc.
2007-10-24 13:51:48 +02:00
Juan Lang
6974ab554e
wine.inf: Register cryptnet.dll.
2007-10-24 12:33:04 +02:00
Francois Gouget
c4b1195c0c
Assorted spelling fixes.
2007-10-23 18:20:27 +02:00
Francois Gouget
b1335db353
Better match the PSDK types and update win32.api to fix the winapi_check warnings.
2007-10-23 18:19:42 +02:00
Dan Hipschman
fd6a276f4c
widl: Update the manpage.
2007-10-22 13:48:03 +02:00
Dan Hipschman
ff8930f2bf
widl: Fix problems with variable-size user types.
2007-10-22 13:47:56 +02:00
Michael Stefaniuc
e01e8a0192
wrc: Remove redundant NULL check before free(). Found by Smatch.
2007-10-22 12:36:08 +02:00
Francois Gouget
eb9c53a1cb
tools/fnt2fon: Remove error() as it is almost unused. Transform errno into a meaningful string for the error message.
2007-10-19 12:23:56 +02:00
Jacek Caban
4565b4f4bc
wine.inf: Self-register msimtf.dll.
2007-10-19 12:15:37 +02:00
Francois Gouget
7e92283678
wrc: Modify the error, warning and tracing functions to behave like all the other Wine tracing methods, that is to not append a '\n' to the message.
2007-10-19 11:46:11 +02:00
Francois Gouget
22076e09ca
wmc: Modify the error and warning functions to behave like all the other Wine tracing methods, that is to not append a '\n' to the message.
2007-10-19 11:46:08 +02:00
Francois Gouget
dc3feef055
winegcc: Modify error() to behave like all the other Wine tracing methods, that is to not append a '\n' to the message.
2007-10-19 11:46:05 +02:00
Francois Gouget
4152085af1
widl: Modify generic_msg() to behave like all the other Wine tracing methods, that is to not append a '\n' to the message.
2007-10-19 11:46:01 +02:00
Francois Gouget
599c74296c
widl: Add the trailing '\n' to an error message.
2007-10-19 11:45:52 +02:00
Francois Gouget
490841ee06
widl: Remove internal_error() as it is unused.
2007-10-19 11:45:47 +02:00
Dan Hipschman
1d0f9378bc
widl: Detect conformant arrays of user types correctly.
2007-10-18 12:09:23 +02:00
Dan Hipschman
4fb7a0e40e
widl: Remove printf format strings that aren't really format strings.
2007-10-18 12:09:14 +02:00
Dan Hipschman
40e90aae25
widl: Generate dlldata files.
2007-10-18 12:09:02 +02:00
Dan Hipschman
67c634c203
widl: Improve file cleanup when errors occur.
2007-10-18 12:07:30 +02:00
Dan Hipschman
ebfbec6e5c
widl: Output the correct value for TableSize in ProxyFileInfo.
2007-10-16 12:48:17 +02:00
Daniel Nylander
492ee4e39c
tools: Add Swedish name to .desktop file.
2007-10-16 12:42:21 +02:00
Dan Hipschman
f173addbef
widl: Use new functions need_proxy and need_stub to clean up code and avoid generating unnecessary files.
2007-10-16 11:03:49 +02:00
Francois Gouget
d16a634c38
Better match the PSDK types and update win32.api to fix the winapi_check warnings.
2007-10-15 14:06:48 +02:00
Francois Gouget
1a75b5d49c
user32: Fix the HRAWINPUT definition and the GetRawInputData() prototype. Update win32.api to fix the winapi_check warnings.
2007-10-15 14:06:35 +02:00
Francois Gouget
d223716b7b
msdmo: Fix the DMOGetName() prototype.
2007-10-15 14:06:30 +02:00
Gerald Pfeifer
a7c6a27696
widl: Fix build failure in parser.y.
2007-10-15 12:05:06 +02:00
Vitaly Lipatov
5a47043905
tools/wine.desktop: Add Name field in Russian.
2007-10-12 11:59:39 +02:00
Andrey Turkin
4ac1375c5a
wine.inf: Add Protected Storage System Provider key.
2007-10-11 17:45:40 +02:00
Dan Hipschman
acfde97b9e
rpcrt4, widl: Make pointer layouts compatible with windows; fix conformant array tests.
2007-10-11 16:24:28 +02:00
Louis Lenders
afb8f6257b
wine.inf: Add 2 keys for *.chm files.
2007-10-10 19:46:40 +02:00
Alexandre Julliard
235532ce28
server: Use the file_pos_t type for file sizes and offsets in the protocol structures.
2007-10-10 14:06:25 +02:00
Dan Hipschman
2226ddcadf
widl: Keep track of every allocated type_t to simplify set_all_tfswrite.
2007-10-09 17:52:45 +02:00
Dan Hipschman
24ce74e96a
widl: Implement pointer_default functionality.
2007-10-09 17:52:45 +02:00
Dan Hipschman
cfa5457270
widl: Allow quoted UUIDs.
2007-10-09 17:52:45 +02:00
Dan Hipschman
d00ff2ed58
widl: Make structs containing user types bogus; fix square_test_us test failure.
2007-10-09 11:39:26 +02:00
Dan Hipschman
9650cf9bdb
widl: Correct default pointers.
2007-10-03 10:09:56 +02:00
Dan Hipschman
304852f97e
widl: Write types in the format string comments.
2007-10-03 10:09:43 +02:00
Dan Hipschman
32a2477ef5
widl: Add a declonly argument to write_type_left.
2007-10-03 10:09:31 +02:00
Dan Hipschman
4c8c425f42
widl: Add newlines to error messages that are missing them.
2007-10-03 10:08:47 +02:00
Chris Spencer
3e76083bd1
wine.inf: Create psapi.dll as a fake dll.
2007-10-02 13:30:43 +02:00
Stéphane LOEUILLET
881e5740c4
Fix substandard wine.desktop file.
2007-10-02 11:44:02 +02:00
Rob Shearman
2055e636ae
widl: Generate client and server code for using context handles.
2007-09-28 10:59:49 +02:00
Rob Shearman
a2fedc3769
widl: Write prototypes for context handle rundown rountines into generated header files.
2007-09-28 10:59:32 +02:00
Francois Gouget
c8fbeae6c9
winapi: Assorted win32.api updates.
2007-09-27 20:12:22 +02:00
Dan Hipschman
cbd75d3ace
widl: Fix array alignment bug.
2007-09-27 11:07:15 +02:00
Dan Hipschman
723c8bacfa
widl: Fix string codes in pointer descriptions.
2007-09-27 10:09:38 +02:00
Dan Hipschman
347f2a2da2
widl: Fix top-level conformant arrays with pointer attributes.
2007-09-27 10:09:32 +02:00
Mikolaj Zalewski
74bc7c091f
wine.inf: add four keys found on Windows XP to Active Setup\Installed Components.
2007-09-26 12:15:14 +02:00
Dan Hipschman
bb3275ce97
widl: Clean up write_conf_or_var_desc with string_of_type.
2007-09-25 11:40:29 +02:00
Dan Hipschman
767a1f26f6
widl: Handle top-level conformance for complex arrays.
2007-09-20 14:27:29 +02:00
Dan Hipschman
dbfabf68a2
widl: Respect pointer attributes better.
2007-09-20 14:27:25 +02:00
Dan Hipschman
33da66d6c8
widl: Set the pointer description offset to zero if there are no pointers.
2007-09-20 14:27:22 +02:00
Dan Hipschman
132f06cd48
widl: Implement complex arrays.
2007-09-19 11:39:09 +02:00
Dan Hipschman
6eb07cb100
widl: Handle all buffer sizes.
2007-09-19 11:38:53 +02:00
Dan Hipschman
8df79f0c99
widl: Implement pointer descriptions for complex structures.
2007-09-19 11:38:28 +02:00
Dan Hipschman
b16de39417
widl: Fix alignment comments.
2007-09-19 11:38:16 +02:00
Alexandre Julliard
b64ceefde3
tools: Remove the no longer needed bin2res tool.
2007-09-18 13:36:58 +02:00
Francois Gouget
4040ecee2b
dnsapi: Fix the DnsQueryConfig() prototype.
2007-09-18 11:21:17 +02:00
Francois Gouget
af183df608
advapi32: Add and use LSTATUS.
2007-09-18 11:20:53 +02:00
Rob Shearman
aa649542e2
widl: None of the non-fixed arrays have fixed sizes, so don't set the alignment to anything and return a size of 0 from get_required_buffer_size_type.
2007-09-18 10:48:06 +02:00
Rob Shearman
cf983bf15d
widl: Missing size_is or length_is attributes should generate 0xffffffff for the correlation description.
2007-09-18 10:47:58 +02:00
Rob Shearman
9a28119dd8
widl: Fix write_string_tfs for strings declared as arrays.
...
The immediate type will be FC_*ARRAY, so rtype needs to use the referred
type to get the base type.
Also update the typeformat-string offset of the type.
2007-09-17 12:57:08 +02:00
Rob Shearman
f7fbfc7da5
widl: Add support for strings embedded in structures.
2007-09-17 12:57:06 +02:00
Rob Shearman
b7618f91d7
widl: Fix detection of complex arrays.
2007-09-17 12:57:03 +02:00
Rob Shearman
de7220e82d
widl: Initialise cval in make_expr.
2007-09-17 12:57:00 +02:00
Dan Hipschman
5e84eb9a47
widl: Add padding to the end of complex structures.
2007-09-14 14:43:13 +02:00
Dan Hipschman
ce4055c573
widl: Fix an unused parameter warning on write_conf_or_var_desc.
2007-09-13 12:44:18 +02:00
Dan Hipschman
177346f1b6
widl: Add calls to NdrFooFree for more types in server stubs.
2007-09-13 12:44:12 +02:00
Dan Hipschman
7deb62505c
widl: Use the correct functions for interface pointers in stubs.
2007-09-13 12:44:07 +02:00
Francois Gouget
547b0f3417
faultrep: Update win32.api to fix the winapi_check warnings.
2007-09-13 11:00:57 +02:00
Francois Gouget
4ce6a5fa3d
url: Update win32.api to fix the winapi_check warnings.
2007-09-12 11:33:10 +02:00
Francois Gouget
2cd698aff0
winapi_check: 'char*' is a string, not a pointer.
2007-09-12 11:33:10 +02:00