Commit Graph

3582 Commits

Author SHA1 Message Date
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
Jörg Höhle ac1ad1372d wine.inf: Correct MCI entries. 2010-01-19 12:43:30 +01:00
Alexandre Julliard 539da1b073 winebuild: Output the 16-bit asm relay functions as needed and get rid of --relay16 mode. 2010-01-16 15:58:48 +01:00
Alexandre Julliard 10e4a55b6c winebuild: Output the asm relay functions as needed and get rid of --relay32 mode. 2010-01-16 15:50:27 +01:00
Alexandre Julliard 102dd9e92f winebuild: Rename __wine_call_from_32_regs for consistency with 64-bit. 2010-01-16 15:41:48 +01:00
Alexandre Julliard b4c6433063 winebuild: Do not output an undefined symbol reference for variables. 2010-01-11 13:54:16 -06:00
Paul Vriens 133ed6bac1 winedump: Pass the correct size to the helper (Coccinelle). 2010-01-11 11:34:51 -06:00
Paul Vriens caaf027e55 widl: Fix size parameter for xrealloc (Coccinelle). 2010-01-11 11:34:32 -06:00
Marcin Baczyński c7183e831b fnt2bdf: Remove superfluous void* casts. 2010-01-07 17:59:57 +01:00
Marcin Baczyński 6a02e744b9 winedump: Remove superfluous void* cast. 2010-01-07 17:59:57 +01:00
Tillmann Werner 29e58e30f1 winedump: Fix null pointer dereference in spec mode. 2010-01-06 10:57:56 +01:00
Alexandre Julliard 82f910eb62 wrc: Merge the menu and menuex structures. 2010-01-04 12:41:16 +01:00
Alexandre Julliard 1b305dd2df wrc: Merge the menuitem and menuitemex structures. 2010-01-04 12:31:22 +01:00
Alexandre Julliard 0fb8203654 wrc: Merge the dialog and dialogex structures. 2010-01-04 12:23:37 +01:00
Andrew Nguyen c4ffbade86 wine.inf: Add CommonProgramFiles system environment variable. 2010-01-04 11:41:22 +01:00
Andrew Nguyen 0d61dd8c86 wine.inf: Add PATHEXT system environment variable. 2009-12-31 12:12:17 +01:00
Alexandre Julliard f78890e8ca winebuild: Get rid of the support for building old style 16-bit modules. 2009-12-30 18:04:59 +01:00
Alexandre Julliard c6ae9a3c5a makefiles: Get rid of all the rules for building old style 16-bit files. 2009-12-30 17:41:45 +01:00
Michael Stefaniuc b90a74c724 Revert "wrc: Use an EOF rule instead of lex_destroy for compatibility with prediluvian flex versions.".
This reverts commit 1405c00ecb.
Wine now requires a new enough flex version.
2009-12-30 13:36:19 +01:00
Alexandre Julliard 054406f78c winebuild: Don't output private symbols at all when building an import library. 2009-12-30 12:50:17 +01:00
Alexandre Julliard 2fda3d6a17 winebuild: Add support for building Windows import libraries. 2009-12-30 12:49:19 +01:00
Alexandre Julliard 1f00088bc8 winebuild: Recognize mingw32 as a Windows platform. 2009-12-30 12:43:31 +01:00
Alexandre Julliard 38ca263374 winebuild: Simplify the code for finding the various build tools. 2009-12-30 12:42:25 +01:00
Alexandre Julliard 76ac103b80 winebuild: Add support for generating import libs for 16-bit dlls. 2009-12-30 12:34:03 +01:00
Alexandre Julliard 9d55475eee winebuild: Always initialize the dll name at startup. 2009-12-30 12:31:21 +01:00
Alexandre Julliard d097eef922 winebuild: Support for adding 32-bit exports in 16-bit spec files. 2009-12-29 16:11:45 +01:00
Alexandre Julliard 4939acf0ac winebuild: Allow optional keywords to be in any order in a .def file. 2009-12-29 16:09:51 +01:00
Alexandre Julliard c4c6fcaff7 winebuild: Don't check variables for undefined exports. 2009-12-29 16:09:34 +01:00
Eric Pouech 7a685030f6 winedump: Manage the string table size in PE file format. 2009-12-29 13:27:43 +01:00
Michael Stefaniuc 906c963947 winapi: Remove the special handling of GDI_AllocObject().
That function doesn't exist anymore in Wine.
2009-12-29 11:08:37 +01:00
André Hentschel 1cee3235bc winedump: Fix sym mode. 2009-12-28 15:23:16 +01:00
Andrew Nguyen 101d72f83c wineboot: Generate the HKCU\Volatile Environment registry key. 2009-12-28 14:23:27 +01:00
Eric Pouech 1c238c77f7 winedump: Add support for long section names (at least used by MinGW). 2009-12-24 12:15:41 +01:00
Owen Rudge 75f52140b7 wine.inf: Add winemapi.dll to the mail clients section. 2009-12-17 13:25:51 +01:00
Maarten Lankhorst a9a3a8e155 mmdevapi: Add initial mmdevapi dll. 2009-12-10 16:05:28 +01:00
Eric Pouech 2271a8d417 winedump: Dump PE symbols table if any. 2009-12-10 11:53:28 +01:00
Eric Pouech 947f2456a9 winedump: Rewrote a bit the COFF symbol table stuff. 2009-12-10 11:53:07 +01:00
Rob Shearman 6ed98b16a1 widl: Detect interfaces that inherit from another interface as objects. 2009-11-29 16:37:07 +01:00
Alexandre Julliard d19e2ada9c mountmgr: Move creation of the DEVICEMAP registry keys to mountmgr. 2009-11-23 13:21:22 +01:00
André Hentschel 5f059edcdf winemaker: Replace whitespaces in projectnames. 2009-11-23 10:36:23 +01:00
Alexandre Julliard 98de3950b1 widl: Use INT64 instead of __int64 in generated headers. 2009-11-21 14:31:46 +01:00
Louis Lenders bacbfb481a wine.inf: Create wbem directory, and add it to the PATH. 2009-11-20 14:58:54 +01:00
Alexandre Julliard 7782ebea01 winebuild: Fix the definition of the CPU mask flag to take ARM into account. 2009-11-19 16:44:08 +01:00
Nicolas Le Cam ca38b8b951 widl: Don't generate memset calls with zero length parameter. 2009-11-19 11:35:50 +01:00
André Hentschel 27fb36b39e winebuild: Add ARM support. 2009-11-18 11:14:30 +01:00
André Hentschel 0c652a5a5c winedump: Add ARM support. 2009-11-16 15:18:30 +01:00
Francois Gouget 61d0d121d0 widl: Add a trailing '\n' to an error_loc() call. 2009-11-16 12:43:06 +01:00
Henri Verbeet f225f11254 wine.inf: Create the mui directory. 2009-11-13 11:52:23 +01:00
Huw Davies b03b1443b2 include: Add asysta.idl. 2009-11-12 17:06:08 +01:00
Jacek Caban ca32265d88 mshtml: Moved GeckoUrl registry to mshtml.inf. 2009-11-12 15:20:59 +01:00
Rob Shearman 8e750b0ef6 widl: Include range types in constant BufferLength calculation for server function. 2009-11-12 14:18:18 +01:00
Alexandre Julliard 2976879c24 mshtml: Move some Content-Type registry keys to mshtml.inf. 2009-11-11 21:12:37 +01:00