Commit Graph

2358 Commits

Author SHA1 Message Date
Alexandre Julliard 534fac983d winetest: Generate the list of test resources in make_makefiles.
Only include test revision information in the distributed binary.
2006-09-11 14:32:00 +02:00
Alexandre Julliard e4fca883a2 makedep: For generated headers, parse the source idl instead.
This avoids having to generate all the headers before make depend.
2006-09-10 22:04:42 +02:00
Alexandre Julliard 560c9ee785 makedep: Support for new naming scheme for lex files. 2006-09-09 13:16:59 +02:00
Alexandre Julliard 9c085cba0a makefiles: Add global rules for bison and lex files.
Also build the .c and .h files separately to allow parallel makes.
2006-09-09 13:16:22 +02:00
Alexandre Julliard 050c8942d1 wrc: Allow building without debug support in the parser. 2006-09-09 11:26:29 +02:00
Alexandre Julliard cc44aa99b4 wmc: Allow building without debug support in the parser. 2006-09-09 11:26:24 +02:00
Alexandre Julliard aded30dad7 widl: Allow building without debug support in the parser. 2006-09-09 11:26:20 +02:00
Alexandre Julliard 0980561d5d wine.inf: Register msiexec. 2006-09-08 13:41:02 +02:00
Dan Hipschman 6ff8ae327f widl: Add more complete pointer handling to write_typeformatstring_var. 2006-09-08 11:05:02 +02:00
Dan Kegel 39857443e4 programs/wcmd: Rename to programs/cmd. 2006-09-07 15:08:44 +02:00
James Hawkins bedcdee714 msvcmaker: Remove a reference to libs/unicode in msvcmaker. 2006-09-07 13:58:48 +02:00
Paul Vriens 7b75ec2098 wintrust: Register WINTRUST_ACTION_GENERIC_VERIFY_V2. 2006-09-07 13:03:24 +02:00
Dan Hipschman a407da4775 widl: Sanity check string and pointer attrs. Don't assign string as type. 2006-09-07 10:50:18 +02:00
Dan Hipschman 180ede5bfe widl: Handle more pointer types in get_struct_type. 2006-09-07 10:49:58 +02:00
Dan Hipschman 88820263c6 widl: Remove checks for typedefs that always fail. 2006-09-07 10:49:46 +02:00
Dan Hipschman 1687a5d1db widl: Generate an error for "int f(void a)". 2006-09-07 10:21:39 +02:00
Dan Hipschman 7e79e9d4ff widl: Print pointers more aesthetically in generated header. 2006-09-07 10:21:29 +02:00
Dan Hipschman 929a759895 widl: Add an is_ptr function. 2006-09-07 10:21:13 +02:00
Dan Hipschman aadc90b266 widl: Factor the entry_t structure. 2006-09-07 10:20:56 +02:00
Dan Hipschman c117a20cdb widl: Use type_t for typedefs, not var_t. Simplify representation. 2006-09-07 10:20:41 +02:00
Dan Hipschman 59cfad37aa widl: Generate names for tagless structs, unions and enums. 2006-09-07 10:19:48 +02:00
Dan Hipschman 04a15af5dc widl: Add the rest of the pointer types to write_type. 2006-08-29 12:29:26 +02:00
Alexandre Julliard 6ba5d2e105 tools: Get rid of the winapi makefile, it's not used anyway. 2006-08-28 17:29:38 +02:00
Alexandre Julliard 27959bebd7 make_makefiles: Generate the tests list in programs/winetest/Makefile.in. 2006-08-28 11:58:31 +02:00
Alexandre Julliard 34618113f4 tools: Added make_makefiles tool that updates the list in configure.ac and runs make_dlls and make_progs. 2006-08-28 11:57:10 +02:00
Eric Pouech c2f1240a53 winedump: Added -G option to dump raw stabs information from PE files. 2006-08-28 11:44:45 +02:00
Alexandre Julliard fce74f7411 wrc: Get rid of xmalloc casts. 2006-08-26 21:42:01 +02:00
Alexandre Julliard fba0897ee7 wrc: xmalloc shouldn't initialize to zero, do that explicitly where needed. 2006-08-26 21:42:00 +02:00
Alexandre Julliard 1916cb1e19 wmc: Get rid of xmalloc casts. 2006-08-26 21:41:56 +02:00
Alexandre Julliard 1659f53c3a wmc: xmalloc shouldn't initialize to zero, do that explicitly where needed. 2006-08-26 21:41:53 +02:00
Alexandre Julliard 883aef172d widl: xmalloc shouldn't initialize to zero, do that explicitly where needed. 2006-08-26 21:41:37 +02:00
Alexandre Julliard 13a93b4a94 configure: Set rpath on all executables that link to libwine.
Also add the -multiply_defined suppress option for executables on MacOS.
2006-08-25 17:23:44 +02:00
Alexandre Julliard a7447794a5 winedump: Get rid of the install script. 2006-08-25 11:50:45 +02:00
Dan Hipschman 94755218ac widl: Remove usage of type_t ref field for base types; simplify code. 2006-08-25 11:32:05 +02:00
Andrew Talbot daa2f97bdc widl: Write-strings warning fix. 2006-08-25 11:27:45 +02:00
Louis Lenders d5a761a704 wine.inf: Add a bunch of fake dlls. 2006-08-25 11:18:56 +02:00
Andrew Talbot d4c35ae0cb winedump: Cast-qual warnings fix. 2006-08-24 11:51:51 +02:00
Alexandre Julliard 6bcbc126ed tools: Added a man page for wineprefixcreate. 2006-08-23 15:59:05 +02:00
Andrew Talbot 0235b1bf26 winebuild: Cast-qual warnings fix. 2006-08-23 12:00:22 +02:00
Dan Hipschman 3870bf0d9e widl: Output format-strings for interface pointers. 2006-08-18 11:36:21 +02:00
Dan Hipschman 9b16916ed1 widl: Allow format-string functions to work with objects. 2006-08-18 11:36:06 +02:00
Dan Hipschman ed10b24e14 widl: Use typegen.c format-string functions in proxy.c. 2006-08-17 11:21:19 +02:00
Dan Hipschman b7e7243a1e widl: Move format-string declaration output to typegen.c. 2006-08-17 11:21:10 +02:00
Stefan Leichter 8904529dda winedump: Print each 64bit integers as two 32 bit integers. 2006-08-17 11:20:26 +02:00
Alexandre Julliard 1787c9e9d2 wine.inf: Create a fake exe for explorer.exe. 2006-08-16 16:42:55 +02:00
Dan Hipschman a5ff173cc3 widl: Generate proxy code for user marshalled types. 2006-08-16 12:50:21 +02:00
Dan Hipschman c526c980d7 widl: Fix out-only temporary variable generation. 2006-08-16 12:49:57 +02:00
Dan Hipschman e77a079b27 widl: Fix NdrComplexStructUnmarshall calls in generated code. 2006-08-16 12:49:20 +02:00
Dan Hipschman b17d1c14d9 widl: Fix NdrConformantArrayUnmarshall calls in generated code. 2006-08-16 12:49:04 +02:00
Dan Hipschman 16d4e71230 widl: Calculate method indices in parser instead of during header generation. 2006-08-16 12:48:52 +02:00
Alexandre Julliard 65c9113e8f relpath: Properly handle a "." directory name. 2006-08-15 17:32:41 +02:00
Dan Hipschman 47519f08a7 widl: Pass the right size to MIDL_memset in generated proxy code. 2006-08-15 11:42:50 +02:00
Dan Hipschman 9e49a8d2f2 widl: Improve pointer null checking logic. 2006-08-12 11:41:08 +02:00
Dan Hipschman 06497dd44c widl: Use ref_type to simplify some code. 2006-08-12 11:40:30 +02:00
Alexandre Julliard 715804999e winebuild: Added output() function to properly deal with write errors. 2006-08-11 20:41:29 +02:00
Dan Hipschman 05001b1ca8 widl: Don't generate indentation spaces on empty lines. 2006-08-11 20:12:38 +02:00
Mike McCormack 510fc118dd infosoft: Implement and register the language neutral wordbreaker, not the English_US one. 2006-08-11 14:45:44 +02:00
Molle Bestefich 9503f6efef bug_report.pl: Use correct 'wine --version' syntax. 2006-08-11 11:56:55 +02:00
Dan Hipschman a20f7f46dc widl: Fix incorrect version number in generated code. 2006-08-11 11:56:50 +02:00
Colin Pitrat ab2cdead77 tools: Check for open return code in Perl scripts. 2006-08-10 11:30:37 +02:00
Dan Hipschman 216171fe52 widl: Add ref_type (dereference typedefs) and use it. 2006-08-10 10:57:53 +02:00
Francois Gouget f1adb69c2e wine.inf: lnkfile\shellex\ContextMenuHandlers\... is not supposed to have a default value. 2006-08-08 11:17:49 +02:00
Francois Gouget efafe08fc6 wine.inf: Don't create a fake exe and change the name at the same time.
This confuses installers that think said exes can be run when this is
not the case and cannot work.
2006-08-08 11:17:02 +02:00
Francois Gouget dec695f6c1 wine.inf: Use %CurrentVersionNT% wherever applicable. 2006-08-08 11:16:46 +02:00
Alexandre Julliard 2886e9b0e8 makefiles: Use make dependencies to create installation directories.
This avoids a lot of redundant calls to mkinstalldirs.
2006-08-07 17:48:18 +02:00
Francois Gouget e9106273d9 wine.inf: We should not override existing associations. 2006-08-07 13:09:42 +02:00
Dan Hipschman 4961379d74 widl: Replace strdup, malloc and realloc with xstrdup, xmalloc and xrealloc. 2006-08-05 11:25:26 +02:00
Dan Hipschman df91150e10 widl: Generate GUID (infile_i.c) files. 2006-08-04 13:25:37 +02:00
Dan Hipschman 99056d7e2a widl: Write forward declarations for coclass definitions. 2006-08-03 22:29:58 +02:00
Alexandre Julliard ded32d5194 makedep: Always search for includes in the standard directories, even without -I option. 2006-08-01 12:37:18 +02:00
Alexandre Julliard dea28ee4a6 makedep: Don't add dependencies for system headers. 2006-08-01 12:27:22 +02:00
Alexandre Julliard b7ef1b2e20 makedep: Get rid of restrictions on line lengths. Merge lines that end in a backslash. 2006-08-01 12:16:29 +02:00
Alexandre Julliard f25c4d47d6 makedep: Convert to standard Wine lists. 2006-08-01 12:13:57 +02:00
Dan Hipschman 3e1ace5aa3 widl: Set type_t kind field correctly for all types. 2006-07-31 21:40:37 +02:00
Dan Hipschman 23707beb46 widl: Set defined flag for coclasses. 2006-07-31 21:36:31 +02:00
Dan Hipschman cf4c08dcbc widl: Fix "static declaration follows non-static declaration" in generated code. 2006-07-29 11:55:31 +02:00
Dan Hipschman 678ce9875f widl: Encode coclass types in typelibs. 2006-07-29 11:55:20 +02:00
Dan Hipschman 9265d77584 widl: Register types for coclasses. 2006-07-29 11:55:08 +02:00
Dan Hipschman c650cceae3 widl: Check if a typeinfo is already in a typelib before adding it. 2006-07-29 11:54:44 +02:00
Dan Hipschman 90cdff9b3f widl: Set typelib_idx for coclasses when they're added to a typelib. 2006-07-29 11:54:21 +02:00
Dan Hipschman c67b19b4f4 widl: Fold class_t into type_t. 2006-07-29 11:54:09 +02:00
Jacek Caban 37cf4a5260 widl: Reorder segments to match midl. 2006-07-28 12:34:27 +02:00
Jacek Caban c9a08007eb widl: Use cval in ATTR_ID. 2006-07-28 12:34:20 +02:00
Jacek Caban b86bc2b634 widl: Added ATTR_BINDABLE handling to add_func_desc. 2006-07-28 12:34:14 +02:00
Jacek Caban 4d76264f3e widl: Store typekind in msft_typeinfo_t to fix ATTR_DUAL handling. 2006-07-28 12:34:08 +02:00
Huw Davies e7eeb67a7c wine.inf: Add lnkfile description. 2006-07-27 14:39:55 +02:00
Huw Davies 2a96095aa3 wine.inf: Add inifile entries. 2006-07-27 11:42:25 +02:00
Alexandre Julliard 0f273c17ff server: Added data_size_t type to represent sizes in the server protocol.
Make it an unsigned int to save some space on Win64, if we need to
transfer more than 4Gb over the server pipe something is seriously
wrong.
2006-07-26 11:11:03 +02:00
Dan Hipschman 3b3632a1cd widl: Allow trailing commas in attribute lists. 2006-07-26 10:24:06 +02:00
Dan Hipschman 12a9dfd62f widl: Support SAFEARRAY(type) syntax. 2006-07-25 11:21:41 +02:00
Dan Hipschman f3d01fb07b widl: Fix redefinition of types in output. 2006-07-25 11:21:29 +02:00
Dan Hipschman 82c11ce002 widl: Allow write_type to output full pointer types. 2006-07-24 13:27:15 +02:00
Roderick Colenbrander 951f4657b7 dinput8: DirectInput8Create rewrite. 2006-07-21 10:48:51 +02:00
Alexandre Julliard 5557c71f7f winegcc: Make sure the Wine library paths take precedence in Wine mode. 2006-07-17 14:07:11 +02:00
Duane Clark 1df4128563 examine-relay: Indent winex11.drv lines. 2006-07-17 13:49:40 +02:00
Dan Hipschman 2660b8f9c1 widl: Support coclass forward declarations. 2006-07-14 13:32:38 +02:00
Dan Hipschman d68ec1d325 widl: Fix unterminated comment in generated code. 2006-07-14 13:32:38 +02:00
Andrew Talbot a695805ced winedump: Write-strings warnings fix. 2006-07-14 12:27:19 +02:00
Alexandre Julliard 3b2c2cdbb3 libs: Get rid of the libwine symlinks. 2006-07-11 21:32:52 +02:00
Alexandre Julliard 523e46debb winegcc: Automatically add the correct lib paths when building inside the Wine tree. 2006-07-11 21:32:36 +02:00
Alexandre Julliard 645cd6ff50 libs: Get rid of the symlinks for the static libs. 2006-07-11 19:33:48 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Ge van Geldorp 7a15278504 winebuild: Save registers which might contain parameters for the function to be called. 2006-07-11 17:16:06 +02:00
Ge van Geldorp 2a8b31d162 winebuild: Reserve enough space for null function pointer. 2006-07-11 12:40:01 +02:00
Hans Leidekker ac962be1fc wine.inf: Add msi to the list of fake dlls. 2006-07-11 12:04:45 +02:00
Alexandre Julliard 88c97d7284 .gitignore: Added wildcards to ignore lex and bison output files. 2006-07-10 21:40:49 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Alexandre Julliard 58c64190f4 configure: Define _WIN64 when building on a 64-bit platform. 2006-07-10 13:05:20 +02:00
Robert Shearman f627845624 widl: Add support for the builtin constants "TRUE" and "FALSE". 2006-07-07 14:30:34 +02:00
Jacek Caban 7027ed458b shdocvw: Get rid of Mozilla ActiveX control dependency. 2006-07-03 11:58:02 +02:00
Jacek Caban a9cdb5b832 wine.inf: Set gecko url to activate Wine Gecko installer. 2006-07-03 11:54:07 +02:00
Alexandre Julliard fdb4c7e986 widl: Fixed syntax of DECL_LINK macro to look more like C code. 2006-06-27 11:51:07 +02:00
Andrew Talbot 0e1e585c73 widl: Write-strings warnings fix. 2006-06-26 12:36:52 +02:00
Francois Gouget fb7afa4269 tools: Fix mkinstalldirs.
We cannot trust 'mkdir -p' to set the proper permissions on parent
directories. So create them manually.
Fix handling of paths containing spaces.
Properly prefix the path with './' if it starts with a '-'.
Stop trying to create a path after the first error.
2006-06-21 14:15:53 +02:00
Detlef Riekenberg dbdb8e2ea1 winedump: Add DLL_WINE_PREATTACH to the generated DllMain. 2006-06-21 11:13:13 +02:00
Detlef Riekenberg 52404421ba winedump: Use ntdll as template. 2006-06-21 11:13:07 +02:00
James Hawkins ce24c2a8a7 tools/wine.inf: Add d3d8.dll to the fake dlls list. 2006-06-20 11:27:50 +02:00
Alexandre Julliard d489a0a312 winebuild: Get rid of the data16 prefix, it shouldn't be needed anymore and causes warnings. 2006-06-19 21:16:50 +02:00
Thomas Weidenmueller af994f4e4f widl: Fix updating the proc offset. 2006-06-19 10:27:24 +02:00
Mike McCormack 705178fb71 inseng: Initial implementation of inseng (required for IE6 to install under win2k). 2006-06-16 16:05:49 +02:00
Louis. Lenders 8cc69977eb wine.inf: Add fake dll for advpack.dll. 2006-06-15 11:26:37 +02:00
Mike McCormack 2d107f98ab wrc: Remove some tokens declared twice. 2006-06-14 12:47:05 +02:00
Alexandre Julliard fb15dabdcd winebuild: Fix a few printf format warnings by casting size_t. 2006-06-13 14:14:59 +02:00
Alexandre Julliard 043fd66907 widl: Use unsigned int instead of size_t to avoid printf format warnings. 2006-06-13 14:13:49 +02:00
Mike McCormack f386950fdd server: Use unsigned long for request types that are 64bit in win64. 2006-06-07 14:21:12 +02:00
Mike McCormack b23b4f5d01 hlink: Implement DllRegisterServer. 2006-06-07 14:19:35 +02:00
Robert Shearman 996c4f1f93 widl: Support coclass forward declarations. 2006-06-07 11:47:21 +02:00
Stefan Leichter 0013b3498f wine.inf: Added default values for .htm and .html file extension. 2006-06-06 12:12:53 +02:00
Robert Shearman d7e7242af6 widl: Fix a typo in the man page. 2006-06-02 10:52:26 +02:00
Robert Shearman 90decb631c widl: Properly size the return value procformat. 2006-06-02 10:52:23 +02:00
Robert Shearman 6f85f989f5 widl: Only write one procformat string and one typeformat string per file. 2006-06-02 10:52:10 +02:00
Robert Shearman fa4f94bdd5 widl: Allow some more "reserved words" to be used as identifiers. 2006-05-31 15:47:50 +02:00
Alexandre Julliard 4ca7a064fa sfnt2fnt: Clean output files when aborting on a signal. 2006-05-27 13:24:36 +02:00
Alexandre Julliard 4e07d0d6d9 make_ctests: Clean output files when aborting on an error or signal. 2006-05-27 13:24:25 +02:00
Alexandre Julliard 411fe29a54 fnt2fon: Clean output files when aborting on an error or signal. 2006-05-27 13:24:13 +02:00
Alexandre Julliard 3f1bc3a0a2 bin2res: Clean output files when aborting on an error or signal. 2006-05-27 13:23:59 +02:00
Alexandre Julliard 25dc6d912e widl: Clean output files when aborting on a signal. 2006-05-27 13:23:47 +02:00
Alexandre Julliard f1de64db39 wrc: Clean output files when aborting on an error or signal. 2006-05-27 13:23:37 +02:00
Alexandre Julliard 22aad63775 wmc: Clean output files when aborting on an error or signal. 2006-05-27 13:23:24 +02:00
Pierre d'Herbemont 6997ce7c9d wineprefixcreate: Obtain wine and wineserver from the bindir, instead of relaying on the PATH. 2006-05-26 12:06:47 +02:00
Mike McCormack 1cf527c3a3 winapi: IMAGE_OPTIONAL_HEADER has different members on x86-64. 2006-05-26 11:56:04 +02:00
Alexandre Julliard 59493b6c33 widl: Get rid of unnecessary inclusion of unicode.h. 2006-05-24 17:41:47 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Vitaliy Margolen 78c0dd96b7 wine.inf: Create fake dlls for ADPCM codecs. 2006-05-22 11:32:26 +02:00
Jacek Caban dee8790c69 widl: Don't add importlib if it is already on the list. Remove warning. 2006-05-20 13:58:54 +02:00
Jacek Caban a7fa3a985b widl: Added support for importing parent interfaces from importlib. 2006-05-20 13:58:44 +02:00
Jacek Caban 6137e1b60a widl: Added importlib reading implementation. 2006-05-17 21:02:00 +02:00
Alexandre Julliard 5c0dde7798 tools: Updated the autoconf scripts to more recent versions. 2006-05-16 13:21:36 +02:00
Jacek Caban dce3f2be05 widl: Added RPC_FC_ENUM16 encoding. 2006-05-15 11:49:28 +02:00
Jacek Caban 4812abc247 widl: res50 is number of impinfos. Fix its usage. 2006-05-15 11:49:15 +02:00
Francois Gouget 9139fd140c winapi: Add support for APIENTRY.
Factorize a couple of call convention matching regular expressions.
2006-05-15 11:09:13 +02:00
Francois Gouget 964cbcbf80 winapi_check: Fix 'long int' parsing.
Fix parsing of 'long int'.
Simplify handling of spaces in a couple of regular expressions.
2006-05-10 19:41:23 +02:00
Saulius Krasuckas b53f84e02c wine.inf: Install comctl32.dll as fake DLL. 2006-05-09 11:55:13 +02:00
Alexandre Julliard 252398d286 mciwave: Renamed mciwave.drv to mciwave.dll, and moved the directory to the top-level. 2006-05-09 11:32:21 +02:00
Eric Kohl 2c7270e388 widl: Implement 'oldnames' option. 2006-05-05 16:37:42 +02:00
Eric Kohl b64154882c widl: Fix a typo. 2006-05-05 16:36:46 +02:00
Jacek Caban 738be2eec3 widl: Fix a typo. 2006-04-21 23:20:09 +02:00
Jacek Caban 8cd409facf widl: Added importlib parsing code. 2006-04-21 12:46:13 +02:00
Eric Kohl ff302bfc7a widl: Implement support for unique pointers to strings. 2006-04-21 11:28:03 +02:00
Robert Shearman 555cf38269 widl: Prevent NULL pointer de-refs on "void *" types. 2006-04-20 15:16:59 +02:00
Alexandre Julliard 88bf4d61c3 winebuild: Disable linking to external symbols by default. 2006-04-18 20:49:29 +02:00
Robert Shearman 7ca82cd6d2 widl: Ignore [object] attribute on interfaces written to a typelib. 2006-04-18 16:48:39 +02:00
Alexandre Julliard 02a9bc0094 winebuild: Fixed index in module table for delayed imports. 2006-04-18 11:23:49 +02:00
Eric Kohl bec0993199 widl: Support multiple RPC interfaces per binary. 2006-04-17 12:00:54 +02:00
Eric Kohl e7134bd4cd widl: Implement support for unique pointers to arrays. 2006-04-17 11:18:49 +02:00
Mike McCormack 1d453ab551 widl: Add support for VT_I8 and VT_UI8 to msft typelibs. 2006-04-14 10:49:14 +02:00
Huw Davies 35bca77f47 tools: Don't try to use FT_Load_Sfnt_Table unless FreeType has it. 2006-04-12 19:54:04 +02:00
Eric Pouech 98783faaec winedump: Constify some pointers. 2006-04-11 12:34:18 +02:00
Alexandre Julliard 1e160c8418 winedump: Added detection of Wine fake dlls.
Also pass the real start of the file to the dump functions, instead of
having the generic code care about the specifics of the individual
file formats.
2006-04-11 12:30:09 +02:00
Hans Leidekker 60e017de99 dnsapi: Teach winapi_check about dnsapi.dll. 2006-04-10 19:42:24 +02:00
Eric Kohl 7fb3f12ce5 widl: Implement support for ref pointers to simple structs. 2006-04-10 15:56:50 +02:00
Eric Pouech eb834b39fa wine.inf: Added dbghelp & imagehlp as fake DLLs. 2006-04-10 12:24:44 +02:00
Marcus Meissner 8ab9a65bac winedump: Use fchmod() instead of doing system(chmod). 2006-04-08 15:53:07 +02:00
Huw Davies 26dbcc0aee fonts: Add the Won sign in place of the backslash for Korean fonts. 2006-04-07 12:57:01 +02:00
Alexandre Julliard 392933149b winebuild: Remove a no longer necessary movzwl instruction.
This could cause broken relays to be generated depending on the order
of the entry points in the relay list.
Also add a few missing tabs in the assembly output.
2006-04-05 20:02:51 +02:00
Eric Kohl 83d72a4318 widl: Implement support for ref pointers to arrays of base types. 2006-04-05 10:58:25 +02:00
Alexandre Julliard d237bda6e7 tools: Add LDFLAGS to all the linker invocations. 2006-04-04 13:45:34 +02:00
Alexandre Julliard 1cb75101e6 winegcc: Don't use the library full name for .so libs. 2006-04-04 13:45:16 +02:00
James Hawkins efa638f3fb wine.inf: Add hhctrl.ocx to the list of fake dlls. 2006-04-04 11:50:47 +02:00
Robert Shearman e2ea2b5891 widl: Fix the type offset for generated conformant string calls. 2006-04-03 21:36:06 +02:00
Alexandre Julliard bf463abfec winewrapper: Remove a couple of variables that are no longer needed. 2006-03-31 17:39:37 +02:00
Robert Shearman 837e830a26 widl: There's no need to cast _StubMsg - it's already of the correct type. 2006-03-31 17:38:00 +02:00
Robert Shearman 506404ba09 widl: Only assign variables if not a string and only create a local variable if not a sized parameter.
Only assign variables if not a string and only create a local variable
if not a sized parameter. Fixes type mismatches in the generated code
due to differences in the algorithms between creating local variables
and using them.
2006-03-31 17:37:51 +02:00
Robert Shearman 62eb9f4b0c widl: Initialise the temporary variable to 0 for parameters with more than one level of indirection. 2006-03-31 17:37:35 +02:00
Robert Shearman d82bb4ade9 widl: Create the correct variable type for parameters with more than one level of indirection. 2006-03-31 17:37:22 +02:00
Robert Shearman 27c3222715 widl: Re-use print_phase_basetype for generating return value marshaling and unmarshaling code. 2006-03-31 17:37:11 +02:00
Robert Shearman 3e065ab342 widl: Move handling of base type marshaling and unmarshaling to a separate function.
Move handling of base type marshaling and unmarshaling to a separate
function and improve it to support return values.
2006-03-31 17:37:01 +02:00
Robert Shearman eb000448a0 widl: Use print_phase_function for printing NdrPointerFree call. 2006-03-31 17:36:39 +02:00
Robert Shearman 04632f6ab7 widl: Add a function to generate the Ndr type calls.
- Add a function to generate the Ndr type calls.
- Fix a typo where the aligned buffer was added to itself, rather than
assigned.
2006-03-31 17:36:23 +02:00
Robert Shearman 96f6a22ece widl: Only write the buffer incrementing code for the marshaling and unmarshaling phases.
Only write the buffer incrementing code for the marshaling and
unmarshaling phases - buffer sizing is handled elsewhere and freeing
isn't applicable.
2006-03-31 17:36:06 +02:00
Robert Shearman 226c8f6b52 widl: Output the necessary sizing information for other phases.
Output the necessary sizing information for PHASE_BUFFERSIZE and
PHASE_FREE as well as PHASE_MARSHAL. Standardise this rule in a new
function.
2006-03-31 17:35:49 +02:00
Robert Shearman 4a67201b70 widl: Output NULL ref pointer check for pointer levels > 1 too. 2006-03-31 17:35:31 +02:00
Robert Shearman 73ff576554 widl: Fix a GCC warning in the generated client and server code. 2006-03-31 17:35:21 +02:00
Robert Shearman 4cd506b8fd widl: The lval member of var_t is essentially a duplicate of eval->cval.
- Generate eval's for enums that don't explicitly have one. This means
that enums written in header files won't match exactly what has been put
into the IDL file, but the numeric constat is the same and MIDL does a
similar thing.
- Replace constant lookups with eval->cval instead of lval.
2006-03-31 17:35:04 +02:00
Robert Shearman 4edcf2de35 widl: De-reference parameters' types before deciding what to do with them.
De-reference parameters' types before deciding what to do with them.
Also dereference string parameters since they are immediately
dispatched to write_string_tfs when the string attribute is detected
without any further processing done on them.
2006-03-31 17:34:48 +02:00
Robert Shearman 4b5386e2cd widl: Write pointer calls for all non-basetype pointer parameters to functions. 2006-03-31 17:34:38 +02:00
Robert Shearman 91dbc5ae28 widl: Write definitions for MIDL_user_allocate and MIDL_user_free in the header.
Write definitions for MIDL_user_allocate and MIDL_user_free in the
header when writing out RPC interfaces to prevent compile failures in
the generated client/server code.
2006-03-31 17:33:28 +02:00
Robert Shearman 071dfb188a widl: Write out the pre- and postamble for RPC interfaces with no methods. 2006-03-31 17:32:38 +02:00
Robert Shearman b38cd7ff5f widl: Output interface defined guard for rpc interfaces too. 2006-03-31 17:32:09 +02:00
Robert Shearman 97d6f7c444 widl: NdrFcShort should be written out instead of NdrShort. 2006-03-31 17:31:44 +02:00
Robert Shearman bed9fdec8d widl: Output the numeric equivalent of FC_END, not the string FC_END itself. 2006-03-31 17:31:31 +02:00
Robert Shearman 3ec771a20f widl: Support references in type_memsize. 2006-03-31 17:31:18 +02:00
Robert Shearman 3db71d9d9c widl: Only output code for non-object interfaces in client and server.
Only output code for non-object interfaces in client and server
generation and convert the while loops into for loops.
2006-03-31 17:31:04 +02:00
Eric Kohl 12d4d9c229 widl: Implement support for ref pointers to strings. 2006-03-30 16:24:35 +02:00
Detlef Riekenberg 5ca18a1135 tools: Remove wineconf. 2006-03-30 12:44:30 +02:00
Eric Kohl 1a5c6ef47d widl: Implement support for pointers to base types. 2006-03-28 14:43:28 +02:00
Vitaly Lipatov 5072fd440a wineshelllink: Remove quotes from Path=<workdir>. 2006-03-28 12:22:59 +02:00
Jonathan Ernst 1e408c954c wine.inf: Add some more fake dlls to the system directory. 2006-03-28 12:22:47 +02:00
Vitaly Lipatov 94dcabecd8 wine.inf: Add some dll stub dll to the system directory. 2006-03-27 11:31:45 +02:00
Paul Vriens a589eb27ac wine.inf: Add SystemRoot. 2006-03-27 11:31:06 +02:00
Eric Kohl 6ad46cc961 widl: Fix base type alignments.
Generate aligned marshal and unmarshal code for base type arguments
and return values.
2006-03-23 17:06:25 +01:00
Eric Kohl 1550938a50 widl: Fix format string size calculation.
- Move proc format string size calculation from client.c and server.c
  to typegen.c.
- Implement type format string size calculation.
2006-03-23 17:06:10 +01:00
Mike McCormack c3c112de23 wine.inf: Add a shdocvw.dll stub dll to the system directory. 2006-03-22 21:36:29 +01:00
Francois Gouget 0c02e4671e Update win32.api to match the current sources. 2006-03-21 20:03:10 +01:00
Huw Davies 130a0e4f41 fonts: Use the EBLC table to retrieve the ascent of the bitmap font. 2006-03-21 20:01:55 +01:00
Alexandre Julliard ef4440ad1b sfnt2fnt: Remove output file on failure. 2006-03-21 16:19:07 +01:00
Alexandre Julliard d6df0ac717 winewrapper: Remove explicit call to wineprefixcreate.
Now that wineprefixcreate detects the build tree automatically, the
standard behavior of starting it from ntdll should work fine.
2006-03-21 12:01:12 +01:00
Alexandre Julliard d404fb5bf8 wine.inf: Use the new fake dlls mechanism to create placeholders for
applications instead of using symlinks.
2006-03-21 11:40:11 +01:00
Alexandre Julliard c33fbc0df8 wineprefixcreate: Autodetect the running from build tree case. 2006-03-18 19:41:33 +01:00
Eric Kohl 623f142945 widl: Do not generate code that initializes a binding handle. 2006-03-18 18:06:41 +01:00
Eric Kohl c7174f9fff widl: Fix proc offset calculation.
A void return type is represented by a FC_END/FC_PAD sequence in the
proc format string. Increment the proc offset by two when a function
returns void.
2006-03-18 18:06:27 +01:00
Eric Kohl 919d14c577 widl: 'unsigned char' and 'byte' are must be distinct types. 2006-03-18 18:06:14 +01:00
Alexandre Julliard 870d490eec winegcc: Look for libraries in subdirs of the library path too.
This means that -lfoo will match the library 'foo/libfoo.def' in
addition to just 'libfoo.def'. This allows supporting the Wine source
layout without adding a gazillion path entries.
2006-03-16 16:28:04 +01:00
Alexandre Julliard b47f0593c8 wineprefixcreate: Fixed datadir path. Added dependency on relpath. 2006-03-15 09:54:19 +01:00
Pierre d'Herbemont b1be724511 wineprefixcreate: Make path searching relative. 2006-03-14 18:58:40 +01:00
Jan Zerebecki f2c8a537d7 wine.inf: Increase the DirectX version to that of the latest 9.0c . 2006-03-14 17:49:40 +01:00
Paul Vriens b25474ffd6 wine.inf: Add RegisteredOwner and Org also to WindowsNT branch. 2006-03-13 13:31:13 +01:00
Mike McCormack 69dcbaaf93 wrc: Don't use identifiers starting yy*, they're reserved for flex. 2006-03-06 17:50:52 +01:00
Mike McCormack af9288d591 wine.inf: Add a default RelayExclude. 2006-03-02 11:58:07 +01:00
Alexandre Julliard 8f08fe6c0d wrc: Integer ids can be used for control labels instead of strings. 2006-02-28 15:27:25 +01:00
Detlef Riekenberg 8a8a54877e wine.inf: Add printing section for local port monitor. 2006-02-28 12:40:39 +01:00
Francois Gouget be6d891f0d advpack: Prepare the unicodification of advpack.dll.
All functions that manipulate strings should have an Ansi and a
Unicode variant.
Forward the unqualified dll entry points to the Ansi variant for
backward compatibility.
We're not allowed to use unqualified entry points in Wine, so change
RegInstall() calls to RegInstallA().
Update win32.api.
2006-02-27 15:57:33 +01:00
Francois Gouget 8851c4fc4e crypt32: Add CryptQueryObject() prototype.
Update win32.api.
2006-02-24 21:09:36 +01:00
Francois Gouget dcb90635f8 winsock: Tweak getnameinfo() prototype.
Tweak the getnameinfo() prototype to better match the Windows PSDK and
the GetNameInfoW() prototype.
Update win32.api.
2006-02-24 21:09:19 +01:00
Francois Gouget 4c2f22f7c6 sfc: Updates.
Add a missing sfc.dll prototype.
Add an sfc.dll section to win32.api for winapi_check.
2006-02-24 21:08:42 +01:00
Kevin Koltzau a8b209752f widl: Fix 64bit warning. 2006-02-22 22:17:25 +01:00
Alexandre Julliard 35842ca717 tools: Added 'relpath' tool to compute relative Unix paths. 2006-02-17 11:42:17 +01:00
Robert Shearman 90938d6b6c winebuild: Correction for manpage.
The behaviour for winebuild is to prefer main over WinMain, not the
other way around.
2006-02-16 19:32:35 +01:00
Mike Frysinger 5392844392 Add support for 'make install DESTDIR'. 2006-02-14 13:51:38 +01:00
Robert Shearman a42f59dfe8 tools/c2man.pl: Generate correct html. 2006-02-14 11:34:23 +01:00
Francois Gouget 90aaf6ba8f include: Add missing LANG_xxx and SUBLANG_xxx constants. 2006-02-14 10:42:12 +01:00
Robert Shearman 59dd416fd2 widl: Fix a typo when removing TYPEFLAG_FDUAL. 2006-02-10 14:51:39 +01:00
Robert Shearman 91c35be7cc widl: Write out more TYPEFLAGs and add more type library-specific
attributes to the parser.
2006-02-09 12:10:08 +01:00
Robert Shearman 649d5d0e8e widl: Write out TYPEFLAG_FDUAL, TYPEFLAG_FDISPATCHABLE and
TYPEFLAG_FOLEAUTOMATION typelib flags.
2006-02-09 12:09:44 +01:00
Francois Gouget 8ff21ff88f winapi: Update win32.api to match the current sources. 2006-02-07 21:17:32 +01:00
Dmitry Timoshkov ae6187455e wine.inf: Add a default handler for https to the registry. 2006-02-07 21:17:17 +01:00
Robert Shearman 59830d69b4 widl: Fix some warnings caused by making attributes const. 2006-02-07 16:25:10 +01:00
Alexandre Julliard 91da64c9ca widl: Remove '\n' from yyerror calls. 2006-02-07 12:36:20 +01:00
Robert Shearman 4e40675032 widl: Make 'attrs' field of type_t const. 2006-02-07 12:32:57 +01:00
Robert Shearman e9ec85a01a widl: Remove unused 'rname' field of type_t. 2006-02-07 12:32:42 +01:00
Robert Shearman 55df46ab85 widl: Merge marshall_arguments and unmarshall_arguments into one
function to remove the large amount of duplicated code.
2006-02-07 12:32:24 +01:00
Robert Shearman f1bb0a474b widl: Yet more const attributes. 2006-02-07 12:31:43 +01:00
Robert Shearman 511463f3a5 widl: More const attributes. 2006-02-07 12:31:17 +01:00
Eric Kohl 417a61fa61 widl: Fix proc format string for explicit binding handles. 2006-02-07 12:30:55 +01:00
Robert Shearman 8d7fa4c013 widl: Write out the correct FC type if the structure has pointers. 2006-02-07 12:30:23 +01:00
Robert Shearman 4c8370f97e widl: Split pointer writing into a separate function. 2006-02-07 12:30:07 +01:00
Robert Shearman 9f0c45b7e7 widl: Fix pointer detection for structures with embedded arrays.
Pointers have priority over every other type, so move the detection to
the top of get_struct_type.
Fall through from the embedded array detection to the embedded
structure handling code so that conformance, variance and pointer
presence is inherited from the array's base type.
2006-02-07 12:29:39 +01:00
Robert Shearman 864d5a38c5 widl: Increment the type format string when writing the pointer
layouts.
Write out pointer layouts for structures.
2006-02-07 12:28:33 +01:00
Robert Shearman 0d22347f44 widl: Make all pointer fields of expr_t structure constant. 2006-02-07 12:28:20 +01:00
Robert Millan 55b74483de configure: For sys/mount.h, sys/statfs.h and sys/vfs.h, always include
them if present.
2006-02-06 21:53:27 +01:00
Eric Pouech 3c0e5eed83 A few fixes for pointer qualifiers (const, volatile) warnings. 2006-02-06 13:10:18 +01:00
Robert Shearman ccf509b4c6 widl: Add architecture for generating pointer layouts. 2006-02-03 18:51:17 +01:00
Alexandre Julliard 19b89289ee wine.inf: Make FourCC codes uppercase again until we can figure out
why lowercase doesn't work right.
2006-02-03 18:47:49 +01:00
Eric Kohl dd57b45aaa widl: The 'string' attribute can also be used with unsigned characters. 2006-02-03 18:47:06 +01:00
Dmitry Timoshkov de60d1e3bc wine.inf: Change fcc type of builtin video codecs in system.ini to be
equal to ICTYPE_VIDEO.
2006-02-03 12:29:09 +01:00
Alexandre Julliard a488901256 widl: Some cosmetic fixes in generated code. 2006-02-02 13:23:28 +01:00
Alexandre Julliard 0f2a642d70 widl: Make sure the token variables are always initialized properly. 2006-02-02 13:22:47 +01:00
Stefan Leichter 9f100c15dc wine.inf: Add HKLM,%CurrentVersionNT%,"CurrentType". 2006-02-02 13:20:36 +01:00
Dmitry Timoshkov f03c86a273 wine.inf: Remove %1 from [http|htmlfile]\shell\open\command. 2006-02-01 12:32:21 +01:00
Robert Shearman 0d4e1bc336 widl: Fix a SEGV when using arrays declared using a pointer and
attributes, instead of array indices (reported by Eric Kohl).
2006-02-01 12:29:23 +01:00
Robert Shearman c418226093 widl: Changes to output for better debugability.
Write the offset and the absolute address for referenced types.
Write the current offset out when writing a pointer type.
2006-01-31 18:08:24 +01:00
Robert Shearman 1478ac85a9 widl: Clean up conformant struct handling.
Make the writing of conformant structures take advantage of the new
type format string offset handling.
2006-01-31 18:08:03 +01:00
Robert Shearman 5764d5518d widl: Fix the writing of arrays with size specified in the array
expression instead of the size_is expression.
2006-01-31 18:07:45 +01:00
Robert Shearman 06ab21b668 widl: Improve the current type offset passing.
Change the functions to take the current type offset and return the
start of the type written.
2006-01-31 18:07:20 +01:00
Robert Shearman ac5a4393d5 widl: The stack/structure offset in correlation descriptors should be a short. 2006-01-31 18:06:53 +01:00
Robert Shearman 513996fde4 widl: Do constant folding for the sizeof operator on simple types. 2006-01-31 18:06:25 +01:00
Robert Shearman 0a2c5b73fd widl: Support client/server generation for explicit_handle interfaces
(based on a patch by Eric Kohl).
2006-01-31 18:06:17 +01:00
Robert Shearman c08e00a9ec widl: Implement constant conformance. 2006-01-31 18:05:43 +01:00
Robert Shearman 35d1347cfa widl: Fix the type offset used in marshaling/unmarshaling.
Make a copy of type_offset so that it only gets incremented once per
function, instead of twice.
2006-01-31 18:05:33 +01:00
Robert Shearman 2330d73f4a widl: Implement the writing of defaultvalue constants for enum values. 2006-01-31 18:04:20 +01:00
Robert Shearman cf1ccfb712 widl: Use a macro to write out FC types, along with the current offset
which is useful for debugging.
2006-01-31 12:25:54 +01:00
Robert Shearman 2ee6f722e0 widl: Pass the current type format string offset through all type
writing functions.
2006-01-31 12:24:54 +01:00
Robert Shearman a6909fa5e8 widl: Eliminate redundant callback routines.
Add a function for comparing expressions and use it to eliminate
redundant callback functions.
2006-01-31 12:24:11 +01:00
Robert Shearman b59c995c89 widl: Implement callback conformance. 2006-01-27 12:53:32 +01:00
Alexandre Julliard f8f34d9fab wine.inf: Don't overwrite registry keys that users may want to change. 2006-01-25 13:19:43 +01:00
Mike Frysinger ff6b466563 winegcc: Pass -m32/-m64 along to the linker. 2006-01-25 13:15:34 +01:00
Dmitry Timoshkov 57a579ffcd Make more arrays const. 2006-01-24 14:00:32 +01:00
Alexandre Julliard 2d3bd3e45a wineprefixcreate: Only create links for files that don't exist.
Make a copy instead of a link if the original file is writable.
2006-01-24 13:43:33 +01:00
Alexandre Julliard 433bbdf08a winebuild: Get rid of the default ignored symbols list. 2006-01-24 12:29:31 +01:00
Robert Shearman 2d4edc3b3d widl: Generate type format strings for conformant varying arrays. 2006-01-24 11:14:59 +01:00
Robert Shearman 2eedb11f22 widl: Fix detection of varying arrays.
Correctly identify structures containing varying arrays as conformant
varying structures.
2006-01-24 11:14:38 +01:00
Robert Shearman b4fb36c363 widl: Fix detection of conformant varying structs.
Rename has_conformant_array to has_conformance, add a new variable
has_variance and map has_conformant_string to has_conformance and
has_variance.
A conformant varying struct should be returned if just variance is
present and even if no pointers are present.
2006-01-24 11:14:15 +01:00
Robert Shearman 9f76c0cfee widl: Support generation of conformant structure type strings. 2006-01-24 11:13:49 +01:00
Robert Shearman 90032b2da6 widl: Conformant arrays have a size of 0.
Conformant arrays should cause a size of 0 to be returned from
type_memsize.
2006-01-24 11:13:30 +01:00
Robert Shearman 73023890c5 widl: Support correlation descriptors in structures. 2006-01-24 11:12:54 +01:00
Robert Shearman e9c771f98b widl: Error if an array is in the middle of a structure.
Fix detection of conformant arrays and output an error if the array
isn't at the end of the structure.
2006-01-24 11:12:20 +01:00
Robert Shearman 362d42e082 widl: Fix the detection of conformant and pointer structs. 2006-01-24 11:11:56 +01:00
Robert Shearman 8f1ed85891 widl: Simple structs and complex pointers.
Write out type format string for simple structs and for pointers to
non-simple types.
2006-01-24 11:11:29 +01:00
Robert Shearman 584c89bd8f widl: Add framework for generating struct and union type format strings. 2006-01-24 11:10:59 +01:00
Robert Shearman 263a75d47a widl: Support different types of simple pointers.
Support pointer types in unmarshall_arguments.
2006-01-24 11:10:42 +01:00