Commit Graph

3565 Commits

Author SHA1 Message Date
Alexandre Julliard 4d55592540 widl: Move temp file management from wpp to widl. 2010-03-30 15:34:12 +02:00
Alexandre Julliard cb9be96437 wrc: Move temp file management from wpp directly into the load_file function. 2010-03-30 15:33:54 +02:00
Alexandre Julliard 50c6ac8324 loader: Rename the 32-bit loader in the build tree too when doing a Wow64 build. 2010-03-29 17:53:30 +02:00
Mikhail Maroukhine 3f1c2d5e35 tools: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:19:02 +02:00
Alexandre Julliard fc1fca5fbd wine.inf: Some fake dlls should only be created for 32-bit. 2010-03-27 12:13:10 +01:00
Alexandre Julliard 718ea42fe4 makefiles: Move wineapploader to the tools directory and get rid of the programs makefile. 2010-03-27 11:42:30 +01:00
Alexandre Julliard a83563aa40 widl: Long constants must be 32-bit on all platforms. 2010-03-26 11:42:28 +01:00
Vincent Povirk 23d33f2379 wine.inf: Add more .NET framework keys. 2010-03-26 10:29:06 +01:00
André Hentschel 6c8af38638 winegcc: Make condition easier to read and look like the statement after the block. 2010-03-24 21:53:05 +01:00
Vincent Povirk 929bac964a wine.inf: Add some .NET Framework keys. 2010-03-24 21:14:40 +01:00
Rob Shearman 0d88ba9e01 widl: Check whether an expression is a constant one before assuming it is a toplevel conformance when writing conformance or variance descriptors. 2010-03-23 17:29:12 +01:00
Rob Shearman c65d16e9d5 widl: Make use of string_of_type in write_conf_or_var_desc.
This allows the code to not have to track the operator type twice.
2010-03-23 17:29:05 +01:00
Rob Shearman 5e0030b4cb widl: Remove the current_func variable.
It's only set, never read from.
2010-03-23 17:28:59 +01:00
Rob Shearman 8a8fff6415 widl: Return a pointer to the correct part of the string from the lexer for WSTRQUOTE tokens. 2010-03-23 17:28:54 +01:00
Rob Shearman b544014b8e widl: Fix the calculation of casted integer constant expressions. 2010-03-23 17:28:50 +01:00
Rob Shearman 979bdf28b6 widl: Remove func_t type.
It was just a simple indirection to get to a var_t, so just replace
all uses of it with the latter.
2010-03-23 17:28:22 +01:00
Rob Shearman a3f649f730 widl: Issue an error if an out parameter is a conformant string. 2010-03-23 17:28:14 +01:00
Rob Shearman 361a39fff3 widl: Issue an error if a context handle variable is declared outside of a function. 2010-03-23 17:28:02 +01:00
Rob Shearman 50534b87d0 widl: Fix crash when trying to declare a fixed size array with a size_is attribute.
In this case type_array_get_conformance will return NULL. The code
here is actually replacing an existing array with an EXPR_VOID
conformance with the specified conformance, so issue an error if
type_array_get_conformance returns NULL or the conformance has already
been defined.
2010-03-23 17:27:58 +01:00
Rob Shearman 096b3cd090 widl: Fix writing of MaxCount expressions for conformant strings declared using array form. 2010-03-23 17:27:33 +01:00
Rob Shearman 0ec617e01d widl: Convert assign_stub_out_args to using typegen_detect_type and fix the non-conformant array case. 2010-03-23 17:27:04 +01:00
Rob Shearman f6b53be0d9 widl: Don't pre-calculate buffer size for arrays that aren't treated as reference pointers. 2010-03-23 17:26:22 +01:00
Ilya Basin bfe47feea0 msvcmaker: Extract wine_test_dsp_files from C_SRCS variable. 2010-03-22 15:52:35 +01:00
Alexandre Julliard 03642414a8 makefiles: Generate all the top-level make rules inside the corresponding shell function. 2010-03-20 15:24:22 +01:00
Alexandre Julliard d81a8f8d47 makefiles: Add a configure macro for tools directories. 2010-03-20 15:02:56 +01:00
Alexandre Julliard d394e0420f makefiles: Generate all the program rules inside the corresponding shell function. 2010-03-20 14:53:39 +01:00
Alexandre Julliard 561a3e643e winegcc: Force importing msvcrt when using the Unicode hack for a Windows build.
Based on a patch by Alexandre Goujon.
2010-03-19 13:59:54 +01:00
David Hedberg 990a319750 wine.inf: Add key for approved shell extensions. 2010-03-16 17:19:05 +01:00
Alexandre Julliard fbef7217b9 makefiles: Remove the no longer needed explicit dependencies for bison files. 2010-03-16 13:28:24 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 133d4cde26 makedep: Output source dependency for bison files needed for parallel makes. 2010-03-16 13:27:51 +01:00
Alexandre Julliard 5eb4b094a3 makedep: Append the separator if not found in an existing makefile. 2010-03-16 13:14:21 +01:00
Rob Shearman eb4100e91c widl: Remove a FIXME comment in write_function_stubs.
Clean valgrind runs of tested types and comparison with MIDL-generated
code suggests that the existing code written in the finally block for
client code is sufficient.
2010-03-16 11:41:30 +01:00
Rob Shearman fd96c54641 widl: Simplify write_parameter_conf_or_var_exprs by making use of typegen_detect_type.
Remove the difficult manual walking of the alias tree and make the
code easier to read and less likely to break if a new type is added.
2010-03-16 11:41:21 +01:00
Rob Shearman 82ab9443b8 widl: Clean up array case in write_remoting_arg.
Use a switch statement instead of multiple if statements and
explicitly write out the fixed array cases.
2010-03-16 11:41:14 +01:00
Rob Shearman 0e6ad1fa85 widl: Remove some FIXME comments and replace them with comments explaining why the current behaviour is correct. 2010-03-16 11:40:20 +01:00
Rob Shearman 9aad144755 widl: Fix the writing of expressions in un-typedef'd structures by using write_type_left to write out the type, which adds the "struct ..." if necessary.
Also improve the type comparison code to not crash on unnamed
structures (although further changes need to be made to fix the output
in this case) and make it more efficient by first doing a comparison
on the values of the type pointers.
2010-03-16 11:40:10 +01:00
Rob Shearman df853f8ed2 widl: error_status_t isn't an allowed conformance type.
The FC code requires more than 4 bits to represent it and the
correlation descriptor and union formats only allow 4 bits to
represent the type referred to.
2010-03-16 11:36:41 +01:00
Rob Shearman 5b533c1845 widl: Pass current_structure into write_conf_or_var_desc in write_ip_tfs.
This allows write_conf_or_var_desc to have the context enabling it to
write out an appropriate correlation descriptor when iid_is is used
from within a structure.
2010-03-16 11:36:36 +01:00
Rob Shearman 1d1d49b6ab widl: Use typegen_detect_type to determine which types should be written for the pointer description in write_struct_tfs.
Otherwise extra pointers for user types could be written.
2010-03-16 11:36:12 +01:00
Rob Shearman 06e7eb5c98 widl: Merge write_typeformatstring_var and write_embedded_types into one function, write_type_tfs. 2010-03-16 11:36:05 +01:00
Rob Shearman 2fd6be54be widl: Don't use the return value of write_embedded_types to determine whether a type contains pointers or not.
It isn't correct in all situations, so type_has_pointer has to be used
anyway so using the return value of write_embedded_types just clutters
the code.
2010-03-16 11:35:36 +01:00
Rob Shearman 484fe1cff3 widl: Write pointers in write_typeformatstring_var using write_pointer_tfs.
Avoid duplicating the pointer writing code.
2010-03-16 11:33:12 +01:00
Rob Shearman 7a69fcabac widl: Simplify write_typeformatstring_var.
The check for whether a pointer is the last one is redundant since
typegen_detect_type does a stricter check on the ref type. Replace one
other instance of last_ptr with a more readable equivalent.
2010-03-16 11:33:04 +01:00
Rob Shearman 08126d7483 widl: Make write_pointer_tfs more readable.
Change write_pointer_tfs to rely on the detected type of the type to
determine when to write a simple pointer rather than relying on
typestring_offset not being set anywhere else.
2010-03-16 11:32:58 +01:00
Rob Shearman 5d985a8028 widl: Remove some unused functions, definitions and types. 2010-03-16 11:32:53 +01:00
Andrew Nguyen 671136693b wine.inf: Add LSA key under the HKLM control key. 2010-03-15 13:44:43 +01:00
Nicolas Le Cam 40680e8af9 wine.inf: Define the Win64 DefaultInstall.Services section. 2010-03-15 13:28:23 +01:00
Alexandre Julliard b3d3903b33 wine.inf: Create symlinks for shared Wow64 keys under HKLM\Software. 2010-03-04 21:51:14 +01:00
Alexandre Julliard 835895f285 wine.inf: Create empty keys for all entries that are shared in Wow64. 2010-03-04 21:49:52 +01:00