Rob Shearman
e842164cb8
msvcmaker: Fix invocation of winebuild to generate compatible .def files.
2008-09-29 17:20:59 -05:00
Rob Shearman
5376d37f55
msvcmaker: Add support for building wine.lib.
2008-09-29 17:19:57 -05:00
Rob Shearman
e713f4bf4f
msvcmaker: Update the function list for which HAVE_* defines are written into config.h.
...
Remove all functions for which the HAVE_ define is not used anywhere.
Add _strdup, _strtoi64 _strtoui64, chsize, strdup and vsnprintf which
are all present in MSVC headers.
2008-09-29 17:19:52 -05:00
Rob Shearman
1ab076626d
msvcmaker: Remove the defining of __ASM_SHORT and __ASM_STRING in the generated config.h file.
...
These defines aren't needed. Move the X_DISPLAY_MISSING and __ASM_*
defines to after the PACKAGE_* defines to match config.h.in.
2008-09-29 17:19:46 -05:00
Rob Shearman
efe81dd8ed
msvcmaker: Update the HAVE_* defines for headers in the generated config.h file.
...
Update list of headers present in the MSVC build environment. fcntl.h
isn't detected by configure and so isn't needed.
2008-09-29 17:19:33 -05:00
Rob Shearman
c71d16c3e9
msvcmaker: Add HAVE_* defines for some types present in the MSVC build environment.
2008-09-29 17:19:22 -05:00
Rob Shearman
fb4355cb5b
msvcmaker: Factor out some common settings.
...
Factor out writing of common compiler settings and setting of common defines.
Factor out the writing of HAVE_* defines in include/config.h and sort
the resulting defines before writing.
2008-09-29 17:19:15 -05:00
Rob Shearman
d7a5ff025e
msvcmaker: Fix generated imports for Wine modules and link with delayed imports.
2008-09-29 17:19:04 -05:00
Rob Shearman
6d11ecfff4
msvcmaker: Fix the generated filename for the spec file for modules with extensions other than .dll.
2008-09-29 17:18:58 -05:00
Rob Shearman
1b2cead10b
msvcmaker: Fix the arguments passed to winebuild to generate the .def file.
2008-09-29 17:18:51 -05:00
Rob Shearman
6b3b7eb6a2
msvcmaker: Define USE_COMPILER_EXCEPTIONS and HAVE_SPAWNVP.
2008-09-29 17:18:39 -05:00
Juan Lang
f5bdc72c49
tools/wine.inf: Register cryptdlg.
2008-09-19 12:09:23 +02:00
Rob Shearman
2e8dec4115
widl: Don't automatically add DUMMYUNIONNAME and DUMMYSTRUCTNAME names to anonymous unions and structs.
...
It doesn't match what MIDL does.
2008-09-18 14:18:28 +02:00
Alexandre Julliard
f203263528
widl: Remove unnecessary casts in the generated code.
2008-09-15 19:40:51 +02:00
Alexandre Julliard
cdfec4da31
widl: Implemented RpcAbnormalTermination in the generic exception handling code.
2008-09-15 18:18:16 +02:00
Alexandre Julliard
654e78aa38
widl: Implemented __finally support in client functions.
2008-09-15 18:03:56 +02:00
Alexandre Julliard
0f12f358cd
widl: Implemented __finally support in server functions.
2008-09-15 18:03:49 +02:00
Alexandre Julliard
3bab54cf04
widl: Implemented __finally support in stub functions.
2008-09-15 18:03:44 +02:00
Alexandre Julliard
b8fb66c71a
widl: Separate declaration and initialisation for indirect arguments.
2008-09-15 16:46:33 +02:00
Alexandre Julliard
bf011b0f53
widl: Infrastructure for adding a prefix to local variable references.
2008-09-15 16:46:01 +02:00
Alexandre Julliard
3bdaba2a93
widl: Make the exception handling macros more general and use the same code everywhere.
2008-09-15 14:05:26 +02:00
Alexandre Julliard
1218aff94d
widl: Create an explicit structure for the function frame of all generated functions.
...
Store _StubMsg in the frame structure since it's needed for exception handling.
2008-09-15 14:02:26 +02:00
Rob Shearman
e0dd72162a
widl: Remove redundant code.
...
dispinterfaces now have a type of RPC_FC_IP instead of 0, so this code
will never be reached.
2008-09-11 11:45:33 +02:00
Rob Shearman
39978c68f9
widl: Fix the writing typedefs to dispinterfaces and pointers to interfaces.
...
Currently, stdole2.tlb isn't generated correctly and causes "<failed>"
to appear instead of "FontEvents" in the IFontEventsDisp typedef when
viewed with oleview.
The problem is that the typedef should just generate a VT_USERDEFINED
record, but ends up generating a VT_PTR -> VT_USERDEFINED. So remove
the extra writing of VT_PTR entries.
Fix the skipped pointers checks in encode_type and encode_type to
specifically detect VT_UNKNOWN and VT_DISPATCH types which don't need
one level of pointers, whereas interfaces encoded as VT_USERDEFINED
do.
2008-09-10 10:55:34 +02:00
Austin English
bfc34a3c9c
widl: Remove unreached code (Smatch).
2008-09-10 10:55:11 +02:00
Steven Edwards
6bdfc2fa2c
widl: Open files in binary mode to avoid corruption from text mode on Windows.
2008-09-10 10:40:18 +02:00
Alexandre Julliard
1abf809099
winebuild: Generate MS-style imports using the OriginalFirstThunk field.
2008-09-04 21:52:58 +02:00
Louis Lenders
9c2ca354c2
wine.inf: Add default Directx registry key for InstalledVersion.
2008-09-04 11:17:30 +02:00
Dan Hipschman
a41de877da
widl: Output NULL for inherited methods in the vtbl.
2008-09-02 18:01:53 +02:00
Eric Pouech
f3c071660d
winedump, dbghelp: Correctly name the age field in PDB headers.
2008-09-02 11:57:04 +02:00
Alexandre Julliard
5ce606e834
widl: Add support for finally function in proxy methods.
2008-08-30 11:25:22 +02:00
Alexandre Julliard
29e20b869c
widl: Replace write_name() by get_name() to make the code more readable.
2008-08-30 11:15:04 +02:00
Alexandre Julliard
deccfeec9a
winetest: Build the test list from the makefile instead of make_makefiles.
2008-08-28 12:17:42 +02:00
Alexandre Julliard
67828b60e0
configure: Build the winetest dependencies in configure instead of make_makefiles.
2008-08-28 12:09:46 +02:00
Rob Shearman
6f2687a389
widl: Raise RPC_X_SS_IN_NULL_CONTEXT exception for NULL in-only context handles instead of RPC_X_NULL_REF_PTR.
...
Based on a patch by Michael Martin.
2008-08-27 13:21:21 +02:00
Alexandre Julliard
6de0af1eac
configure: Generate the list of top-level directories to install.
2008-08-25 14:41:03 +02:00
Alexandre Julliard
b3ec2e5f95
makefiles: Recurse into all directories for install-lib and install-dev too.
2008-08-25 14:27:03 +02:00
Alexandre Julliard
4051eaf7c9
configure: Allow multiple variables in makefile output, and generate the programs directory lists.
2008-08-25 12:14:54 +02:00
Alexandre Julliard
dbb535e4e9
configure: Use the generic directory enabling mechanism to turn off dlls that depend on external libraries.
2008-08-25 12:12:28 +02:00
Alexandre Julliard
49163da1d1
configure: Generate the dlls directory lists in configure instead of make_makefiles.
2008-08-25 12:02:27 +02:00
Alexandre Julliard
a360e93430
configure: Generate the makefiles list in configure instead of make_makefiles.
2008-08-21 11:13:57 +02:00
Hongbo Ni
e0df1b9e57
msvcmaker: Fix msvc project file generation under MinGW32.
...
When converting a makefile to a msvc .dsp file, if a line is ended with
a back slash, it will be joined with next line. This patch changes the
joining character from '\n' to a space in order to fix the bug of
running MinGW32 on Windows.
2008-08-20 11:45:59 +02:00
Dan Hipschman
790e6dcd29
widl: Honor typedef pointer attributes.
2008-08-18 14:34:10 +02:00
Juan Lang
1eb0d92780
tools/wine.inf: Register msisip.dll.
2008-08-01 11:38:01 +02:00
Roy Shea
6e5bfbfe17
mstask: Implemented DllRegisterServer.
2008-07-29 12:50:35 +02:00
Alexandre Julliard
3ae17fa003
wine.inf; Don't overwrite path and temp dir environment variables on upgrades.
2008-07-28 12:05:09 +02:00
Owen Rudge
f4e6489edb
appwiz.cpl: Add skeleton Add/Remove Programs control panel.
2008-07-25 12:29:22 +02:00
Alexandre Julliard
d96e3964b7
make_makefiles: Explicitly list the Wine headers that should be exported.
2008-07-23 11:40:43 +02:00
Alexandre Julliard
e468ab3585
winegcc: Add support for specifying section alignment on Solaris.
2008-07-22 13:27:07 +02:00
Alexandre Julliard
b24b2d584e
winebuild: Don't put the PE header in the .init section on Solaris.
2008-07-22 13:26:45 +02:00
Alexandre Julliard
a3f42116da
winebuild: Add Solaris as a separate platform.
2008-07-22 13:26:30 +02:00
Dan Kegel
d18cd89567
tools: Allow running tests with valgrind.
2008-07-21 14:37:02 +02:00
Maarten Lankhorst
61ba32c036
includes: Add video mixing renderer header.
2008-07-11 14:50:44 +02:00
Alexandre Julliard
26c930b32d
make_makefiles: Add rules for cross-compiling all import libs from the dlls directory.
2008-07-09 11:55:00 +02:00
Alexandre Julliard
e9a34e919e
make_makefiles: Add more wildcard patterns in .gitignore.
2008-07-09 11:53:03 +02:00
Alexandre Julliard
28a2179dd6
Add noinput directive to all lex files to avoid a compiler warning.
2008-07-07 12:31:33 +02:00
Alexandre Julliard
c0ebae42f1
widl: Fix a couple of uninitialized variable compiler warnings.
2008-07-07 12:16:51 +02:00
Rob Shearman
90d633cdd1
widl: Remove some unnecessary calls to duptype.
2008-07-07 12:11:23 +02:00
Rob Shearman
ed0c013849
widl: Rename find_type_helper, find_type and find_type2 to find_type, find_type_error and find_type_error2 respectively.
2008-07-07 12:11:23 +02:00
Rob Shearman
666b57d62f
include: Remove unused file wine/rpcss_shared.h.
2008-07-07 11:11:02 +02:00
Jon Griffiths
dcabc064fc
c2man: Don't mangle 'dll' when its part of another word.
2008-07-04 19:35:33 +02:00
Alexandre Julliard
d8202087c7
makedep: Add dependencies on wine/exception.h for widl-generated files.
2008-07-03 13:08:19 +02:00
Alexandre Julliard
d6e76274d9
widl: Add support for exception handling in the generated proxy code.
2008-07-03 13:08:19 +02:00
Alexandre Julliard
900bc5697e
widl: Add support for exception handling in the generated server code.
2008-07-03 13:08:19 +02:00
Rob Shearman
d60dc3f88b
widl: Consolidate top-level parameter conformance/variance expression writing into a separate function.
...
Descend through as many pointer types as necessary to find the
fundamental type and determine whether it needs a top-level parameter
conformance/variance expression to be written.
Add support for writing top-level parameter conformance/variance
expressions for non-encapsulated unions.
2008-07-03 11:50:52 +02:00
Dan Hipschman
d87bc0520f
widl: Factor a small part of the grammar.
2008-07-02 11:41:31 +02:00
Dan Hipschman
6725c5d756
widl: Implement type redefinition checks.
...
This allows widl to catch type redefinitions and report an error, like MIDL.
However, this does a better job than MIDL since it also reports the location
of the originial definition, like GCC.
2008-07-02 11:40:50 +02:00
Rob Shearman
037fa861ab
widl: Check that the structure has been defined in check_remoting_args.
2008-07-02 11:38:50 +02:00
Rob Shearman
fb224429f7
widl: Increment the buffer offset by 8 for embedded pointers inside varying arrays in varying structures.
...
The 8 bytes are for the variance and offset and are added just before
the array, as seen in the marshalling code in rpcrt4. No offset needs
to be added for non-varying structures since the buffer mark is set
after the conformance in marshalled or unmarshalled.
2008-07-02 11:38:47 +02:00
Alexandre Julliard
e213ac9aca
widl: Add some support for unencapsulated unions that need a conformance descriptor.
2008-07-01 12:25:44 +02:00
Jon Griffiths
3ef22e56f2
c2man: Correct extension for non-dlls (based on a patch by Vijay Kamuju).
2008-06-26 21:30:15 +02:00
Alexandre Julliard
6e9a6577c3
widl: [default] is an allowed attribute for union fields.
2008-06-26 21:10:32 +02:00
Francois Gouget
86bd0461a5
configure: Detect and use gld/gnm/gar as alternatives to ld/nm/ar, especially for winegcc.
2008-06-26 21:08:12 +02:00
Alexandre Julliard
b258f880ad
wine.inf: Make the initial owner information empty.
2008-06-26 13:42:09 +02:00
Scott Ritchie
f16e49baf2
wine.desktop: Add application/x-msi and change "emulator" to "program loader".
2008-06-26 13:15:44 +02:00
Owen Rudge
49d5c7fbe4
wine.inf: Add cplfile (control panel applet) association.
2008-06-24 11:57:48 +02:00
Rob Shearman
b2286fd45c
widl: Fix check_remoting_fields to enumerate the correct list of fields.
2008-06-24 11:48:15 +02:00
Rob Shearman
925a700574
widl: Fix type_memsize to follow aliases so that the correct size is calculated.
2008-06-24 11:48:11 +02:00
Rob Shearman
4997f1849b
widl: Fix the types of enums with the v1_enum attribute applied.
2008-06-24 11:48:03 +02:00
Rob Shearman
b3dde47ed7
widl: Fix crash in find_array_or_string_in_struct if the structure or union has no fields or cases.
2008-06-24 11:47:56 +02:00
Rob Shearman
ada3ca6f09
widl: Set the type of the type_t node constructured for dispinterfaces to RPC_FC_IP, like we do for interfaces.
2008-06-24 11:47:51 +02:00
Rob Shearman
50e54c0c15
widl: Factor out the finding of a registered type to reduce code duplication.
2008-06-24 11:47:46 +02:00
Rob Shearman
28a9b94afc
widl: Fix the embedded pointer offsets in generated code when the containing structure has padding.
...
Do so by calculating the alignment of members when iterating through
the structures and adding it onto the buffer and memory offsets.
Only call type_memsize once elsewhere in the embedded pointer
processing functions since the return value will be the same from the
second call.
2008-06-23 19:25:53 +02:00
Rob Shearman
5f1de5a11d
widl: Replace code to round up values and calculate padding with macros to improve readability.
2008-06-23 19:25:38 +02:00
Dmitry Timoshkov
4aa985981c
wine.inf: Add Baltic font substitutions.
2008-06-23 12:51:42 +02:00
Rob Shearman
bb647c9b67
widl: Fix generation of the type format string for conformant-varying structures.
...
The conformance needs to be added on to the offset in the buffer so
set this before calling each the writer of each class of pointer
description in write_pointer_description.
Pass the passed in offsets to buffer and memory to
write_pointer_description_offsets in
write_varying_array_pointer_descriptions.
2008-06-21 11:13:04 +02:00
Rob Shearman
52911fc66c
include: Update the MIDL_STUB_MESSAGE structure.
...
Reduce the size of the IsClient field, as is done in the latest SDKs
to fix NdrClientInitializeNew tests on XP SP3 and Win2003+.
2008-06-19 11:54:49 +02:00
Paul Vriens
b79f37f8fd
tools/winapi: Fix typo in the generated header.
2008-06-18 15:21:48 +02:00
Simon Richter
b5614f763f
widl: Write string lengths in host endianness.
...
Type libraries are currently parsed in host endianness, so byte arrays
that are going to be interpreted as integers need to be written in the
appropriate byte order.
2008-06-18 15:21:48 +02:00
Detlef Riekenberg
5073aae038
makedep: Fix a typo in the usage output.
2008-06-13 10:17:16 +02:00
Simon Richter
238e1868b2
winebuild: Fix import stub on ppc.
...
The address calculation was wrong, as the addition of the lower 16 bits
is a signed addition, so if bit 15 is set, the upper 16 bits need to be
incremented by one (so the hi portion of the symbol always references
the symbol + 0x8000).
2008-06-02 12:33:47 +02:00
Simon Richter
d1e277fb70
winebuild: Fix branch mnemonic on ppc.
2008-06-02 12:33:27 +02:00
Vitaly Lipatov
9dc3ecb9e3
wine.inf: Create default spool dir.
2008-05-30 11:44:46 +02:00
Louis Lenders
3175fc5b90
wine.inf: Add fake glu32.
2008-05-29 12:08:15 +02:00
Eric Pouech
13585ddd71
winedump: Fully dump the compiland (V3) structure out of .pdb files.
2008-05-28 11:42:00 +02:00
Alexandre Julliard
70949a6ba5
wineinstall: Remove a lot of no longer needed code.
2008-05-22 20:44:18 +02:00
Lei Zhang
e63bd4dea7
wine.inf: Open xml files using winebrowser.
2008-05-19 16:10:58 +02:00
Austin English
c154b0252a
wine.inf: Add a fake dll for sensapi.dll.
2008-05-14 21:51:05 +02:00
Alexandre Julliard
d869bd6265
wineprefixcreate: Added a deprecation warning.
2008-05-14 12:24:14 +02:00
Alexandre Julliard
87ec7ec5a5
wineprefixcreate: Avoid redundant update on initial wineprefix creation.
2008-05-14 12:23:22 +02:00
Alexandre Julliard
a795f36af7
winhelp.exe: Renamed to winhlp32.exe.
2008-05-13 18:43:27 +02:00
Marcus Meissner
1ff216c874
widl: Mark non-returning functions as noreturn.
2008-05-07 12:07:54 +02:00
Francois Gouget
633ee950a1
Assorted spelling fixes.
2008-05-07 12:07:11 +02:00
Francois Gouget
d2364d5d27
Add a comment warning when a table must be kept sorted for later use with bsearch().
2008-05-06 16:11:09 +02:00
Francois Gouget
42a61d7ed7
Assorted spelling fixes.
2008-05-06 16:10:20 +02:00
Alexandre Julliard
6477a1c1bf
kernel32: Set the USERPROFILE and ALLUSERSPROFILE environment variables based on the ProfileList registry keys.
2008-05-06 16:07:13 +02:00
Gerald Pfeifer
652602f5c8
widl: Fix syntax to also work with older versions of bison.
2008-05-02 16:05:48 +02:00
Rob Shearman
033cade616
widl: Consolidate writing of COM and dispatch interfaces into one function to remove duplicated code.
...
Split up the writing into start and end to eventually support the style
MIDL uses where it writes declared types, etc. between the start and end
of the interface.
Make internal header functions take the file pointer to print to.
Don't write interface IDs for non-object interfaces and always write
handle declarations even if the interface has no methods, like MIDL does.
2008-05-01 18:11:26 +02:00
Alexandre Julliard
6cb1ac0575
make_makefiles: Avoid duplicate rules for static import libs on PE builds.
2008-05-01 18:11:25 +02:00
Eric Pouech
b0a7c55cde
winedump: Added support for latest versions of Codeview (VC70).
2008-05-01 11:12:06 +02:00
Eric Pouech
1185c5123d
winedump: Print more meaningful information about module list.
2008-05-01 11:11:57 +02:00
Rob Shearman
e71219e66e
widl: Add the parsing of storage classes into declaration-specifiers.
...
Support the static and register keywords.
This consolidates externdef and constdef rules into one declaration rule.
2008-04-30 16:59:47 +02:00
Rob Shearman
d64e4c26ee
widl: Prepare for supporting storage classes in declaration statements.
...
Return a decl_spec_t structure from decl_spec rules so that the storage
class and type qualifiers can both be returned.
2008-04-30 16:59:30 +02:00
Rob Shearman
e35c79efbf
widl: callback, code, comm_status and in_line are attribute names, not keywords.
2008-04-30 11:32:08 +02:00
Rob Shearman
48153a8944
widl: Allow pointer attributes to be applied to function pointers.
2008-04-30 11:31:51 +02:00
Rob Shearman
017213e11a
widl: Make constdef and externdef take a declarator instead of an ident so that functions and arrays can be defined using the statements.
2008-04-30 11:31:47 +02:00
Rob Shearman
4f8f89e6bb
widl: Add support for "inline" on function definitions.
...
Fix applying calling convention to function type.
2008-04-30 11:31:21 +02:00
Rob Shearman
146ef11b77
widl: Keep const attributes applied to pointers when writing out the type.
...
Use an attribute to store the const qualifier for the pointer and type.
Allow multiple type-qualifiers to be applied to a type by adding a
declaration-specifier rule that encompasses type-qualifiers and types.
2008-04-30 11:30:55 +02:00
Jeff Zaroyko
c6d0d6d185
wine.inf: Use lowercase for some drivers32 entries and remove trailing whitespace.
2008-04-28 14:32:12 +02:00
Rob Shearman
0cb73cef0b
widl: Accept integer constant suffixes in the lexer.
2008-04-28 13:28:16 +02:00
Rob Shearman
62a6475593
widl: Support hex digits that use an uppercase 0X prefix.
2008-04-28 13:28:16 +02:00
Rob Shearman
80be9df3a7
widl: Add typedefs to typelibs which have the public or uuid attributes, not any other attribute.
2008-04-28 13:28:16 +02:00
Rob Shearman
242a8a02f5
widl: Move the func_declarator rule entirely into direct_declarator.
2008-04-25 12:10:42 +02:00
Rob Shearman
66fa9a714e
widl: Create a statement object for import statements.
...
Move the writing of include directives into the generated header into
header.c.
2008-04-25 12:10:34 +02:00
Rob Shearman
33c891e694
widl: Add support for string literals and wide-string literals in expressions.
2008-04-25 12:10:24 +02:00
Rob Shearman
957dd4b160
widl: Add support for declaring multiple fields of a structure in one statement.
2008-04-25 12:10:15 +02:00
Rob Shearman
14dd441c5b
widl: Make the rules for parsing fields in structures, encapsulated unions and non-encapsulated unions more strict.
...
Move the rules in fields that handle empty union cases into separate
union rules so that they can't erroneously be accepted for structures or
other types of unions.
2008-04-25 12:10:04 +02:00
Rob Shearman
21cd6865c8
widl: Rename pident to declarator and parse the array declarations as part of declarators.
...
This allows arrays to be used in typedefs and const statements.
2008-04-25 12:09:56 +02:00
Rob Shearman
2f381f30a6
widl: Consolidate most of the inner loop of reg_typedefs into set_type.
2008-04-25 12:09:46 +02:00
Alexandre Julliard
5f4f2c0b92
makedep: Don't try to open .tlb files.
2008-04-24 23:43:04 +02:00
Rob Shearman
1fcc2084e8
widl: Add typedef statements to the statement lists.
2008-04-24 22:32:47 +02:00
Rob Shearman
df0e38c067
widl: Create a list of statements in the whole IDL file, instead of just a list of interfaces.
2008-04-24 22:32:20 +02:00
Rob Shearman
58be89230e
widl: Allow NULL to be used in expressions.
2008-04-24 22:31:47 +02:00
Rob Shearman
ec81a78f01
widl: Construct the pointer chain while parsing pointers, rather than storing a ptr_level.
...
This method is more flexible and somewhat simpler.
2008-04-24 22:31:37 +02:00
Rob Shearman
02f5412a53
widl: Implement lcid property on library declarations.
2008-04-24 22:31:20 +02:00
Alexandre Julliard
da19122f14
makefiles: Add support for generating correct dependencies for tlb files.
2008-04-24 22:13:57 +02:00
Alexandre Julliard
981f31bedf
wine.inf: Fix the service type of the spooler service.
2008-04-24 13:53:33 +02:00
Rob Shearman
1a0d28bf02
widl: Remove duplicated code in the form of the write_struct_expr function by enhancing write_expr to allow toplevel identifiers to be prefixed by a string, if specified.
2008-04-22 13:05:18 +02:00
Rob Shearman
39a1fa672a
widl: Use expr_resolve_type to get the type of the identifier in write_conf_or_var_desc.
...
Remove the conversion of pointer types into base types as this was only
needed due to lack of proper type resolving.
2008-04-22 13:05:04 +02:00
Rob Shearman
80ab2a7c6d
widl: Move expression functions to a new file, expr.c.
2008-04-22 13:04:58 +02:00
Rob Shearman
6244565df3
widl: Check that expressions resolve so that expressions in generated code will compile.
...
Also check that expressions return the correct type for the attribute.
2008-04-22 13:04:45 +02:00
Rob Shearman
b88d82a14b
widl: Pass the actual type into check_remoting_fields and check_field_common instead of the type name.
2008-04-22 13:04:31 +02:00
Rob Shearman
b81904b8ee
widl: Don't free input_name in pop_import as we keep pointers to it in the var_t type now.
2008-04-22 13:04:24 +02:00
Rob Shearman
95ac84e20b
widl: Remove EXPR_MEMBERPTR and implement it using EXPR_PPTR and EXPR_MEMBER instead.
2008-04-22 13:04:19 +02:00
Rob Shearman
cc3682cf12
widl: Add support for comparison, exclusive or, logical not and positive operators in expressions.
2008-04-22 13:04:03 +02:00
Rob Shearman
6f9020290b
widl: Require a constant expression for case statements.
2008-04-22 13:03:39 +02:00
Rob Shearman
b599d2596b
widl: Fix operator precedence in expressions.
2008-04-22 13:03:34 +02:00
Austin English
6e59cd2c34
Spelling fixes.
2008-04-22 12:20:12 +02:00
Alexandre Julliard
bab67d3948
wineprefixcreate: Use wineboot --update to run wine.inf.
2008-04-21 15:47:47 +02:00
Rob Shearman
ea9932557a
widl: Add support for '%' operator in expressions.
2008-04-21 13:36:19 +02:00
Rob Shearman
d27c7601e5
widl: Add support for arrays in expressions.
2008-04-21 13:36:19 +02:00
Rob Shearman
03d5017416
widl: Add support for "->" and "." operators in expressions.
2008-04-21 13:36:19 +02:00
Rob Shearman
efd10742ec
widl: Issue an error instead of crashing for dividing by zero in a constant expression.
2008-04-21 13:36:19 +02:00
Rob Shearman
c46fcfb356
widl: Automatically add "handle_t IDL_handle" parameter to functions with no explicit handle specified whose containing interface has the explicit_handle attribute.
2008-04-21 13:36:19 +02:00
Rob Shearman
c4ca32bbda
widl: The implicit_handle attribute is allowed with a handle explicitly specified in the function parameters.
...
In that case, that handle is used instead of the implicit handle.
Fix the check for the explicit_handle attribute being specified without
a handle being specified in the function parameters, even though issuing
an error is wrong. (Thanks to Marcus Meissner & Coverity for spotting
that the check didn't do what it was supposed to do.)
2008-04-21 13:36:19 +02:00
Rob Shearman
15612e60fd
widl: Check that fields in structures and unions referenced by non-local functions can be marshalled and that their attributes are consistent.
2008-04-21 13:36:19 +02:00
Rob Shearman
6e27e7840f
widl: Stop looping in check_remoting_args when a context_handle or wire_marshal type is found as they are in effect fundamental types.
2008-04-21 13:36:19 +02:00
Paul Vriens
88f4705156
tools/wine.inf.in: Fix a typo.
2008-04-21 12:10:37 +02:00
Dmitry Timoshkov
ae9fe5e36e
winedump: Print contents of EMR_INTERSECTCLIPRECT and EMR_EXTSELECTCLIPRGN.
2008-04-21 11:53:05 +02:00
Alexandre Julliard
89d63f0bfb
wineprefixcreate: Moved creation of directories to wine.inf.
2008-04-17 20:37:00 +02:00
Dmitry Timoshkov
f348a9309b
winedump: Decipher contents of a couple EMF records.
2008-04-17 20:18:24 +02:00
Dmitry Timoshkov
d43758b274
winedump: Print names for all known EMF records.
2008-04-17 12:41:24 +02:00
Vincent Povirk
790715123a
tools: Modify wine.desktop to use start.exe /unix.
2008-04-17 12:35:49 +02:00
Rob Shearman
4b56ff7238
widl: Change alls calls to error in the parser to error_loc so that line number information is printed.
2008-04-16 14:07:35 +02:00
Alexandre Julliard
a0bbf8477c
wine.inf: Use a proper services section to install services.
2008-04-16 12:38:41 +02:00
Rob Shearman
2ac495c85d
widl: Add checking to arguments of non-local functions.
...
Check that out arguments have enough levels of indirection and that they
don't derive from void * or a function pointer.
2008-04-14 13:39:47 +02:00
Rob Shearman
0053599688
widl: Add functions to print an error or warning message using location information to enable these to be printed accurately when a check is done after an element is parsed.
...
Add location information to variable automatically, since this is will
be useful for type checking of arguments.
2008-04-14 13:39:42 +02:00
Rob Shearman
f728fe168b
widl: Write out TYPEFLAG, FUNCFLAG and VARFLAG flags for all attribute we currently parse.
...
Add FIXMEs for the remaining ones and remove the warning for
unimplemented attribute types since we now support all the attributes
that we parse.
2008-04-14 13:39:35 +02:00
Rob Shearman
56e2553eff
widl: Add support for the broadcast and idempotent operation attributes.
2008-04-14 13:39:28 +02:00
Rob Shearman
66b8574d8d
widl: Output a warning if duplicate attributes are specified.
2008-04-14 13:39:21 +02:00
Rob Shearman
aa20221771
widl: Check that attributes are applicable for libraries, modules, dispinterfaces and coclasses and otherwise issue an error.
2008-04-14 13:39:16 +02:00
Rob Shearman
fcc8a028d8
widl: The odl attribute is valid for dispinterfaces.
2008-04-14 13:39:08 +02:00
Rob Shearman
abdc08e013
widl: Make the attrs parameter passed to start_typelib const.
2008-04-14 13:39:02 +02:00
Rob Shearman
e9afe272be
widl: Check that attributes applied to typedefs and fields are applicable and issue an error otherwise.
2008-04-14 13:38:56 +02:00
Rob Shearman
5f39b41526
widl: Check that attributes applied to interfaces, functions and arguments are applicable and issue an error if not.
2008-04-14 13:38:48 +02:00
Alexandre Julliard
f0c9e9845a
wine.inf: Add a version number to make sure the file changes between versions.
2008-04-11 20:18:22 +02:00
Rob Shearman
e4b0266b27
widl: Support non-default calling conventions for non-object functions.
2008-04-11 12:14:55 +02:00
Rob Shearman
5483ea9e87
widl: Support non-default calling conventions for object methods.
2008-04-11 12:14:52 +02:00
Dmitry Timoshkov
7ab35476a7
tools: Fix font structure layout for 64-bit mode.
2008-04-11 12:11:32 +02:00
Luis C. Busquets Pérez
f1f76e8a4e
tools: Add Spanish translation to wine.desktop.
2008-04-11 11:13:50 +02:00
Alexandre Julliard
619b9671d1
tools: Remove the obsolete bug_report.pl and genpatch scripts.
2008-04-09 11:59:38 +02:00
Alexandre Julliard
cff332fbfd
wrc: Add support for Unicode accelerator strings.
2008-04-08 11:54:47 +02:00
Reece Dunn
d03f4d2a49
tools/msvcmaker: Suppress deprecation warnings on VC8 and above.
2008-04-07 20:35:49 +02:00
Francois Gouget
8a18e0e43a
Assorted spelling fixes.
2008-04-07 13:36:18 +02:00
Michael Moss
4a8d26a9cf
wine.inf: Move winebrowser.exe to the system directory.
2008-04-07 11:24:14 +02:00
Dan Hipschman
976f570f61
widl: Fix a mistake in an ordered list (keywords).
2008-04-03 11:30:08 +02:00
Rob Shearman
f7f31150ee
widl: Turn on verbose errors, which gives a little more information in the case of a syntax error.
2008-04-02 19:54:08 +02:00
Rob Shearman
bfde2c2e79
widl: Fix the writing out of function pointers with more than one level of indirection.
2008-04-02 19:54:01 +02:00
Rob Shearman
5a378905be
widl: Add a newline between function prototypes for non-object interfaces.
2008-04-02 19:53:50 +02:00
Rob Shearman
35ba23bd48
widl: Support __fastcall and __pascal calling conventions.
...
Support the synonyms for these and existing calling conventions.
2008-04-02 19:53:42 +02:00
Rob Shearman
d97f3205ba
widl: Support parsing calling conventions for function identifiers.
...
Support automatically setting the calling convention to
STDMETHODCALLTYPE if it is part of an object interface.
Write out the calling convention in write_type_v.
2008-04-02 19:53:23 +02:00
Rob Shearman
6a0c5a4fe9
widl: Store function and function pointer types completely within type_t type.
2008-04-02 19:53:09 +02:00
Rob Shearman
a04b150839
widl: Add a function to get the return type of a parsed function.
...
This clarifies its use in code and makes it simpler to change the way
functions are parsed into types.
2008-04-02 19:52:49 +02:00
Michael Stefaniuc
fae9640f4d
wrc: Sync the codepage mapping to the LANG_* identifiers from include/winnt.h.
2008-04-02 11:14:35 +02:00
Rob Shearman
772f3af9f0
widl: Be more strict about where semicolons can appear in IDL files.
...
In particular, don't allow them after cpp_quote and without a statement.
Update the rules for importlib, library definition, dispinterface
definition, interface definition, coclass definition and module
definition to optionally allow a semicolon postfix.
Call pop_import from the parser instead of the lexer to ensure that
pop_import is only called after the last statement in the imported file
has been parsed.
2008-04-01 19:10:43 +02:00
Rob Shearman
a110cffd95
widl: Parse typedefs of function pointers.
2008-04-01 11:29:23 +02:00
Dmitry Timoshkov
529f25dc60
wine.inf: Update timezone information.
2008-03-31 12:14:28 +02:00
Mikołaj Zalewski
19053786bb
wrc: verify-translation: Allow the translators to set BS_MULTILINE on buttons without an error.
2008-03-31 12:12:53 +02:00
Mikołaj Zalewski
7487051555
wrc: verify-translation: Remove dumping of stringtables.
2008-03-31 12:12:36 +02:00
Mikołaj Zalewski
c933dbf1b4
wrc: verify-translation: Compare all the controls of dialogs, not only the first one.
2008-03-31 12:12:29 +02:00
Alexandre Julliard
84308ffcde
wine.inf: Create a fake module for mountmgr.sys.
2008-03-28 17:26:09 +01:00
Michael Stefaniuc
865c31b811
wrc: Add the code page mapping for LANG_ROMANSH.
2008-03-28 09:51:10 +01:00
Rob Shearman
f8ea9ec163
widl: Make sure that string types are always written out by write_string_tfs and not write_simple_pointer.
...
This is because write_string_tfs has support for the full range of
string types, write_simple_pointer doesn't have access to the var
attributes which are needed to properly detect strings, and
write_string_tfs sets the typestring offset to after the pointer is
written and write_remoting_arg depends on this.
2008-03-27 17:33:09 +01:00
Rob Shearman
f4a9619364
widl: Fix detection of non-pointer context handles.
...
is_ptr cannot be used because it follows the chain of types into the
type which has the context_handle attribute, which is typically "void *"
and so causes these context handles to be incorrectly detected as
context handles. Instead, we can use is_aliaschain_ptr to follow the
chain of aliases without following pointers and the absence of the
context_handle attribute indicates that it must be present on a type
after following a pointer.
2008-03-27 17:33:06 +01:00
Rob Shearman
59556de0c1
widl: Add support for generic binding handles.
2008-03-27 17:33:02 +01:00
Rob Shearman
8a0cb2b5c5
widl: Use is_string_type for detecting strings in write_typeformatstring_var to make it consistent with write_remoting_arg.
...
Fix the is_string_type function used for detecting strings by only
examining aliases instead of both aliases and pointers. This is due to
the requirement that pointers to strings be handled as pointers and so
not detected as strings.
2008-03-27 17:32:58 +01:00
Rob Shearman
4194daf108
widl: Support using context handles as the binding handle in client functions.
2008-03-27 11:42:36 +01:00
Justin Chevrier
3d707dc8ec
wine.inf: Create fake dll entry for dosx.exe.
2008-03-25 15:21:27 +01:00
Reece Dunn
45d248f1e0
tools: Target the version defines to Vista in msvcmaker.
2008-03-24 21:05:07 +01:00
Vitaliy Margolen
e664379a06
wineshelllink: Don't hard-code icon extension to xpm.
2008-03-24 13:39:16 +01:00
Alexandre Julliard
f2734a1a64
tools/sfnt2fnt: Add getopt option parsing.
2008-03-22 21:08:54 +01:00
Alexandre Julliard
f5c49b210a
tools/sfnt2fnt: Merge the fnt2fon code into sfnt2fnt to allow generating fonts in a single step.
2008-03-22 21:08:49 +01:00
Alexandre Julliard
a145b3069f
tools/sfnt2fnt: Separate the building of the font data and the actual file creation.
2008-03-22 20:12:59 +01:00
Alexandre Julliard
0a16b6b81f
wrc: parser_error must append a newline.
2008-03-22 10:32:07 +01:00
Jacek Caban
f460cbf9af
wine.inf: Register jscript.dll.
2008-03-21 15:18:47 +01:00
Dan Hipschman
2fa83d94c8
widl: Make structures with FC_ENUM16 fields complex.
...
Structures containing enum fields without the v1_enum attribute must be
treated as complex because of the range check and memory/wire size
differences. This includes a test which didn't pass before and now
passes on Wine and Windows.
2008-03-21 11:24:28 +01:00
Anatoly Lyutin
65ebbb328e
wine.inf: Add "MenuShowDelay" value.
2008-03-20 11:43:02 +01:00
Dan Hipschman
d37b1a4969
widl: Ignore libraries in imported IDL files.
2008-03-19 11:22:56 +01:00
Dmitry Timoshkov
1f0dcf06ea
wine.inf: Update time zone information for America/Los_Angeles and America/Tijuana.
2008-03-19 11:18:47 +01:00
Maarten Lankhorst
f629dc4eb6
wine.inf: Change default windows version to XP.
2008-03-18 11:44:09 +01:00
Rob Shearman
a9947cdf7d
wine.inf: Update timezone information.
2008-03-13 20:44:18 +01:00
Alexandre Julliard
1137f4bf31
makefiles: Consider all .res files as object files.
2008-03-13 11:47:23 +01:00
Michael Stefaniuc
5c9d1223db
widl: Remove local variable shadowing in add_func_desc().
2008-03-12 11:59:12 +01:00
Rob Shearman
4500836635
makefiles: Simplify the use of the MODULE variable in static import libraries.
...
Don't include platform-specific information when declaring the name of
the static import libary to build. Instead, add this information in
Makeimplib.rules.in.
2008-03-10 19:12:54 +01:00
Francois Gouget
de928a09ec
msvcmaker: We don't use .dbg.c files anymore.
2008-03-05 13:05:11 +01:00
Francois Gouget
19a85f3433
msvcmaker: We don't build wine.lib so don't try to copy it.
2008-03-05 13:05:02 +01:00
Francois Gouget
9a17f38d6c
msvcmaker: winebuild needs getopt*.c and mkstemps.c when compiled with MSVC.
2008-03-05 13:04:53 +01:00
Rob Shearman
48000893f9
makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
...
Only specify the root to keep platform-specifics out of the individual
DLL makefiles.
2008-03-04 20:55:01 +01:00
Tony Wasserka
9b7ca823d3
make_makefiles: Fix importlib handling.
2008-03-04 20:50:31 +01:00
Alexandre Julliard
1dca65607b
widl: Avoid getopt constants that may not be defined.
2008-03-04 12:14:46 +01:00
Alexandre Julliard
c52d921f34
kernel32: Added a winoldap.mod 16-bit exe to launch 32-bit processes.
...
Based on a patch by Dmitry Timoshkov.
2008-03-03 15:25:50 +01:00
Alexandre Julliard
0c214a7091
winebuild: Add support for 16-bit exe modules.
2008-03-03 15:19:53 +01:00
Mikołaj Zalewski
fee6076a2b
wrc: Convert standard control classes names into ids also for UTF-8 resource files.
2008-03-03 11:59:17 +01:00
James Hawkins
e4c1227ec9
janitorial: Remove links to any microsoft site.
2008-03-01 12:17:17 +01:00
Alexandre Julliard
5625c6079e
Get rid of the global thread.h header.
2008-03-01 11:57:00 +01:00
Alexandre Julliard
bb27b37599
user32: Moved win.h to the user32 directory.
2008-02-29 17:21:04 +01:00
Hans Leidekker
e9bf3241e1
wineprefixcreate: Create the color directory.
2008-02-25 20:35:25 +01:00
Gerald Pfeifer
92015ee4ed
widl: Include <unistd.h> for prototype of unlink().
2008-02-25 11:54:16 +01:00
Dan Hipschman
2d7b1f18b1
widl: Allow is_string_type to work for typedef'd types.
2008-02-22 12:04:26 +01:00
Marcus Meissner
8063d6572b
winedump: Check return value of fetch_block (Coverity).
2008-02-20 12:06:36 +01:00
Roy Shea
313a903a85
qmgr: Implement DLL server registration.
2008-02-19 20:47:38 +01:00
Lei Zhang
f4f7a5c5c9
qedit: Add MediaDet registration.
...
Much of the code is from quartz.
2008-02-19 18:02:00 +01:00
Alexandre Julliard
41fbacefa1
Avoid the nounistd option that doesn't exist on older flex, define YY_NO_UNISTD_H instead.
2008-02-19 15:42:49 +01:00
Rob Shearman
878ea5d2e2
Add the nounistd option to all lex source files.
2008-02-19 13:39:25 +01:00
James Hawkins
0d2f7322d3
tools/wine.inf: Create fake dlls for itircl.dll and itss.dll.
2008-02-16 15:16:50 +01:00
James Hawkins
26424a0a59
tools/wine.inf: Create a fake file for hh.exe.
2008-02-16 15:16:46 +01:00
Rob Shearman
a5886607d0
widl: Guard the inclusion of unistd.h.
2008-02-15 11:06:25 +01:00
Rob Shearman
c233ba105e
widl: Remove unused headers.
2008-02-15 11:06:21 +01:00
Colin Finck
318e61535c
widl: Write the TLB file in binary mode, so the line endings won't be changed.
2008-02-08 11:01:09 +01:00
Colin Finck
0fae921727
widl: Support Windows paths in dup_basename and make_token.
2008-02-08 11:00:55 +01:00
Eric Pouech
aaa2862bf9
dbghelp: Added preliminary support for a strange stack variable object.
2008-02-07 11:59:52 +01:00
Francois Gouget
e52dad1eb7
winapi_check: Update win32.api for d3dx8.dll.
2008-02-05 12:19:38 +01:00
Francois Gouget
511aca5244
winapi_check: Assorted win32.api updates.
2008-02-05 12:19:38 +01:00
Francois Gouget
566b10a330
winapi_check: Update win32.api for acledit.dll, ctapi32.dll and inetcomm.dll.
2008-02-05 12:19:38 +01:00
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
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