Commit Graph

3636 Commits

Author SHA1 Message Date
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
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
Huw Davies cf8c3eca41 include: Add asynot.idl. 2009-11-11 11:59:26 +01:00
Rob Shearman 0228008bb8 widl: Allow pointers, type-qualifiers and other more complicated constructions in sizeof and cast expressions. 2009-11-09 20:42:57 +01:00
Rob Shearman 97d5f3401d widl: Add support for varargs functions. 2009-11-09 20:42:27 +01:00
Rob Shearman cdec0fe485 widl: Add support for bit-fields in non-remote structures. 2009-11-09 20:42:00 +01:00
Rob Shearman 4339f9edfb widl: Implement __int3264 keyword. 2009-11-09 20:36:19 +01:00
Rob Shearman 4383d47ef4 widl: Rename set_type to declare_var.
Make it return the var_t object rather than making the callers dig it
out, and make it take the attributes list so that callers don't have
to set it.
2009-11-09 20:35:56 +01:00
Rob Shearman 3885dd778a widl: Check for [string] attribute being applied when the elements are ranged.
The range will not be verified in and misconception could turn into a
security problem.

Move [string] attribute validation from reg_typedefs to set_type.
2009-11-09 20:35:13 +01:00
Rob Shearman 2b3659f326 widl: Implement [range] attribute. 2009-11-09 20:34:17 +01:00
Rob Shearman c367624534 widl: Enhance the IDL grammar to support unnamed arguments to functions. 2009-11-09 20:34:11 +01:00
Rob Shearman d59ff2007d Revert "widl: A structure that contains an embedded interface ptr in an array is a BOGUS_STRUCT.".
This reverts commit e4e21193c0.

The IDBProperties test shows that this special case is not needed to
for these types to be marshalled correctly.
2009-11-09 20:33:12 +01:00
Damjan Jovanovic 3ec06f8082 wiaservc: Add self registration. 2009-11-05 14:45:33 +01:00
Eric Pouech 64144519a0 winedump, dbghelp: In .pdb files (>= VC2005), handle the case where the codeview_linetab2_file structure is not the first one. 2009-11-03 21:20:21 +01:00
Eric Pouech ad44094094 winedump: Correctly handle the constant fields. 2009-11-03 21:20:05 +01:00
Eric Pouech a1021a1208 winedump: Ensure all PDB fields are printed. 2009-11-03 21:19:11 +01:00
Alexandre Julliard cf8fa5459a kernel32: Make sure the codepage registry keys are set correctly on wineprefix creation. 2009-10-30 15:14:49 +01:00
Huw Davies d1f9561747 include: Add rowchg.idl. 2009-10-29 13:51:52 +01:00
Huw Davies 4f6c58dcd8 include: Add row.idl. 2009-10-29 13:51:42 +01:00
Huw Davies 4eeee2909a include: Add rstloc.idl. 2009-10-28 14:29:15 +01:00
Huw Davies 6454c5df7b include: Add rstbas.idl. 2009-10-28 14:29:04 +01:00
Huw Davies 64dc7306d8 include: Add rstinf.idl. 2009-10-27 13:44:09 +01:00
Huw Davies 19672d7167 include: Add cmdtxt.idl. 2009-10-27 13:43:51 +01:00
Huw Davies 8b5431ad3a include: Add cmdbas.idl. 2009-10-27 13:43:37 +01:00
Alexandre Julliard dbfe34eceb wine.inf: Specify the full path to iexplore.exe and winemenubuiler.exe. 2009-10-27 11:25:50 +01:00
Huw Davies adedd8191e include: Add access.idl. 2009-10-26 15:05:37 +01:00
Huw Davies ab32b3df4d widl: Add support for parsing the annotation attribute. 2009-10-26 14:05:29 +01:00
Francois Gouget 8ab66c7896 winapi_check: Add support for the new architectures in the spec files. 2009-10-26 11:19:50 +01:00
Erik Inge Bolsø 2832eab227 wine.inf: Fix NT4 SP6a registry key. 2009-10-23 12:01:05 +02:00
Alexandre Julliard d527ca3382 widl: Fix the prototype of generated exception filters. 2009-10-22 13:04:09 +02:00
Alexandre Julliard c77d49b4c3 widl: Write a proper type description for pointer array elements. 2009-10-16 20:56:41 +02:00
Alexandre Julliard 8cc12dc339 widl: Arrays of pointers are always complex on 64-bit. 2009-10-16 20:56:15 +02:00
Alexandre Julliard 942ec30a4d widl: Use write_pointer_description_offsets() to output no_repeat descriptors for consistency. 2009-10-16 15:32:22 +02:00
Alexandre Julliard 916461d926 widl: Output a pointer description for arrays declared as pointers. 2009-10-16 15:32:05 +02:00
Jörg Höhle baac2a6c59 runtest: -i sets WINETEST_INTERACTIVE=1 and enables even more tests. 2009-10-16 13:35:56 +02:00
Alexandre Julliard 777a30b997 setupapi: Add support for specifying a fake dll source as '-' to delete it. 2009-10-15 14:05:53 +02:00
Alexandre Julliard 7acd74ee07 setupapi: Add support for using a wildcard in fake dll creation.
This creates fake dlls for all the files we can't find and that
haven't been created already.
2009-10-15 13:58:36 +02:00
Gerald Pfeifer 2cc7fe2192 winebuild: Add support for PLATFORM_FREEBSD to get_ld_command. 2009-10-15 12:06:18 +02:00
Juan Lang 3e30306bb3 winegcc: Examine each argument of compile command rather than only the first. 2009-10-12 12:13:20 +02:00
Alexandre Julliard da3ee66505 wrc: Include unistd.h before the Windows headers. 2009-10-06 16:18:04 +02:00
Damjan Jovanovic a186fd7767 wine.inf: Add the still image class key. 2009-10-05 15:53:39 +02:00
Gerald Pfeifer d222e8edf1 winebuild: Add support for PLATFORM_FREEBSD. 2009-10-05 15:09:41 +02:00
Alexandre Julliard a4e22d4928 tools: Build all the tools with -D__WINESRC__. 2009-10-05 14:55:25 +02:00
Alexandre Julliard 19c0b3ee48 winedump: Use consistent prototypes for option callbacks. 2009-10-02 15:06:59 +02:00
André Hentschel 1d0365da95 widl: Add ARM support. 2009-09-28 13:31:32 +02:00
Alexandre Julliard bb223b789b winedump: Ordinal functions can be forwards too. 2009-09-24 23:59:54 +02:00
André Hentschel e0dac25ba3 winegcc: Add ARM support. 2009-09-24 13:30:04 +02:00
Alexandre Julliard 14428cf22f pstorec: Add a typelib resource. 2009-09-24 13:14:55 +02:00