Commit graph

3533 commits

Author SHA1 Message Date
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
Alexandre Julliard 562ba3c91c wine.inf: Create a few Wow64 symbolic links. 2010-03-04 14:17:23 +01:00
Louis Lenders cd172dff7c wine.inf: Add windows\help directory. 2010-03-03 13:25:06 +01:00
Gerald Pfeifer 844e22093e widl: Avoid two warnings. 2010-03-01 14:28:49 +01:00
Alexandre Julliard 877e31c10f makefiles: Fix makedep dependency now that we explicitly to make depend when creating makefiles. 2010-03-01 11:35:37 +01:00
Huw Davies bbfcf30f82 tools: Register dispex.dll. 2010-02-26 13:02:47 +01:00
Alexandre Julliard 9b02b5cddb makefiles: Remove makedep only after everything else has been cleaned. 2010-02-24 15:12:30 +01:00
Alexandre Julliard d3aa514a2d wine.inf: Add a symlink for the Win9x-style timezone data. 2010-02-16 12:26:56 +01:00
Alexandre Julliard 96346ed62e runtest: Fix handling of test binaries in the programs directory. 2010-02-15 12:49:08 +01:00
Alexandre Julliard c6e62dda1c makefiles: Simplify the WINE_CONFIG_MAKEFILE macro by removing the no longer needed prefix arg. 2010-02-10 19:51:11 +01:00
Alexandre Julliard 9463687f78 makefiles: Build the programs directly from the top-level makefile. 2010-02-10 19:51:08 +01:00
Alexandre Julliard eb7c14458c wine.inf: Don't create empty default key values where not necessary. 2010-02-10 14:29:52 +01:00
Alexandre Julliard 4435e99540 makefiles: Add support for having tests under the programs directory. 2010-02-10 11:31:12 +01:00
Alexandre Julliard cb1fc8f4f5 makefiles: Move Maketest.rules to the top level. 2010-02-10 11:21:19 +01:00
Alexandre Julliard d5addea279 makefiles: Generate the winetest rules from the WINE_CONFIG_TEST macro. 2010-02-08 21:27:54 +01:00
Alexandre Julliard 9644d1dcd7 makefiles: Generate a general catch-all dependency on .tab.h files to replace the manually maintained ones. 2010-02-08 20:58:00 +01:00
Alexandre Julliard 4d3b0205f5 makefiles: Build the tools subdirectories directly from the top-level makefile. 2010-02-08 20:47:07 +01:00
Nikolay Sivov bc3153affa msxml4: Add self-registration for CLSID_DOMDocument40, accept it in classfactory. 2010-02-04 13:39:28 +01:00
Alexandre Julliard 7d020c9f08 makefiles: Create the wine symlink from configure. 2010-02-03 13:43:04 +01:00
Detlef Riekenberg d7069b61f4 wine.inf: Add a 16bit fake dll for ddeml.dll. 2010-02-01 12:11:10 +01:00
Alexandre Julliard 950a0f87a0 makefiles: Generate the import library rules from configure. 2010-01-26 21:10:14 +01:00
Alexandre Julliard b6c275b1b4 makefiles: Generate the static library rules from configure. 2010-01-26 20:40:12 +01:00
André Hentschel 115b50cc23 winegcc: Update comments. 2010-01-25 12:45:00 +01:00
Alexandre Julliard 4945a136dc makefiles: Cross-compile all static libraries and import libs to .cross.a files to avoid conflicts. 2010-01-23 20:51:41 +01:00
Alexandre Julliard 07af19f3ab winegcc: Add support for specifying a custom static library suffix. 2010-01-23 20:25:20 +01:00
Alexandre Julliard 8e9050ba05 makefiles: Disable 16-bit specific modules from make_makefiles. 2010-01-23 18:25:59 +01:00
Alexandre Julliard aa6c4d4e92 configure: Add specific creation macros for the various types of makefiles. 2010-01-23 14:15:43 +01:00
Rob Shearman e4ff90cc4d wmc: Fix symbol was not declared and using plain integer as NULL pointer sparse warnings. 2010-01-22 12:18:53 +01:00
Rob Shearman 903f686899 wrc: Fix symbol was not declared and using plain integer as NULL pointer sparse warnings. 2010-01-22 12:18:20 +01:00
Rob Shearman 39b3a57b3d widl: Fix symbol was not declared and using plain integer as NULL pointer sparse warnings. 2010-01-22 12:17:56 +01:00
Alexandre Julliard 4ae9c2fe1f wine.inf: Add entries for some of the global options. 2010-01-20 20:06:08 +01:00
Alexandre Julliard 4e640f8a2b winedump: Remove an unused flag. 2010-01-19 15:03:56 +01:00
Rob Shearman d9b83e8bb2 widl: Add support for character constants in expressions. 2010-01-19 12:43:31 +01:00