Commit Graph

4533 Commits

Author SHA1 Message Date
Alexandre Julliard f756821df3 winapi: Add support for the thiscall keyword. 2010-08-24 16:34:35 +02:00
Alexandre Julliard b116040771 winebuild: Add support for specifying thiscall calling convention. 2010-08-24 16:23:20 +02:00
Austin English fac3282551 winedump: Add Sparc CPU support. 2010-08-24 12:21:16 +02:00
Alexandre Julliard 9188bd647b winetest: Include the build info also in the standard build. 2010-08-21 17:19:48 +02:00
David Hedberg d6db3732da explorerframe: Add some infrastructure to register the NamespaceTreeControl CLSID. 2010-08-02 15:31:33 +02:00
Andrey Turkin fc4d5393a5 ntdll/tests: Do not check signedness for char types. 2010-08-02 12:55:21 +02:00
Alexandre Julliard ff090a3468 winegcc: Add a printf format attribute to the strmake() function. 2010-08-02 12:55:19 +02:00
Alexandre Julliard 4bfdad159b winebuild: Get rid of the ignored symbol support. 2010-08-02 12:55:19 +02:00
Alexandre Julliard b03059cbda winebuild: Add a spawn() helper function to avoid starting a shell where possible. 2010-08-02 12:55:12 +02:00
Alexandre Julliard f51e696cca winebuild: Support an arbitrary number of temporary files. 2010-08-02 10:11:43 +02:00
Alexandre Julliard 84f4046481 winebuild: Copy the strmake function from winegcc to simplify string formatting. 2010-08-02 10:11:23 +02:00
Louis Lenders 864aa6103f wine.inf: Add key HKCU,%CurrentVersion%\Run. 2010-07-30 12:02:30 +02:00
Louis Lenders 05896a8895 wine.inf: Add key HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5\1033. 2010-07-30 12:02:24 +02:00
Mariusz Pluciński c8861296b1 gameux: Add interface registration routines. 2010-07-28 16:28:26 +02:00
Francois Gouget 0c7ead578e wine.inf: Let winebrowser handle the ftp URLs. 2010-07-28 12:23:31 +02:00
Yaron Shahrabani 07566ae142 wine.desktop: Add Hebrew translation. 2010-07-28 12:23:14 +02:00
Alexandre Julliard f195c1eb5a winegcc: Don't import winecrt0 by default when building with -nodefaultlibs. 2010-07-26 12:46:00 +02:00
Alexandre Julliard 0fbe445871 wrc: Display a warning in pedantic mode when using memory options in 32-bit resources. 2010-07-22 11:41:40 +02:00
Alexandre Julliard 9f34a57743 winegcc: Import kernel32 and ntdll by default also when building Wine.
They are needed to resolve symbols in winecrt0 which is always imported.
2010-07-21 17:38:36 +02:00
Alexandre Julliard 121a7f7840 winegcc: Don't pass -nodefaultlibs to the Unix compiler so that it can be used by Wine. 2010-07-21 17:10:10 +02:00
Alexandre Julliard 0c7b27aa14 winegcc: Add support for a -m16 option to specify a 16-bit build. 2010-07-21 13:24:01 +02:00
Alexandre Julliard 7f6831aa9a winebuild: Add a -m16 option to specify a 16-bit build. 2010-07-21 13:24:01 +02:00
Alexandre Julliard 58dddbed23 winebuild: Add more checks to protect against corrupted resource files. 2010-07-20 16:28:17 +02:00
Detlef Riekenberg df898ea47a rundll.exe16: Add program as 16bit wrapper for rundll32.exe. 2010-07-19 15:22:59 +02:00
Frédéric Delanoy 09cf1a9e3f wine.desktop: Fix the French translation. 2010-07-14 11:43:03 +02:00
Michael Stefaniuc 6a78982e35 wine.desktop: Add the Romanian translation. 2010-07-13 16:29:42 +02:00
Alexander Nicolaysen Sørnes a4c5f15a16 wine.desktop: Fix the Norwegian translations. 2010-07-13 16:29:39 +02:00
Scott Ritchie 91e0a1f36d wine.desktop: Add Czech translation by Sven Augustin. 2010-07-01 10:08:51 +02:00
Alexandre Julliard 009c59afb8 winedump: Don't crash on an invalid nrestab NE header value. 2010-06-30 21:04:59 +02:00
Eric Pouech e9e6845d66 winmm: Added a couple of tests for structure alignment. 2010-06-28 11:45:23 +02:00
Ilya Basin fcba272391 include: Fix packing bug in shlobj.h. pragma pack 8 for ITEMSPACING, CSFV, SFV_CREATE. 2010-06-28 11:42:12 +02:00
André Hentschel f10513b2f8 winemaker: Don't use deprecated -mcpu option. 2010-06-22 20:05:13 +02:00
André Hentschel 02efd5a7c0 winemaker: Warn on include path starting with drive letter. 2010-06-22 20:05:02 +02:00
André Hentschel f4679761b7 winemaker: Ignore files not found by the search function. 2010-06-22 20:04:52 +02:00
André Hentschel 61622fe8d1 winemaker: Ignore the Global section. 2010-06-22 20:04:43 +02:00
Peter Davies 1b23130d74 winegcc: Enable the use of gcov and PGO. 2010-06-21 11:47:51 +02:00
André Hentschel cccad9d97b winedump: Update README. 2010-06-21 11:47:40 +02:00
André Hentschel 1d33f8db9b winemaker: Avoid setting variable to an uninitialized value. 2010-06-18 11:19:36 +02:00
Alexandre Julliard cdf6947080 wrc: Avoid use of toupper/isupper on signed chars. 2010-06-16 12:48:51 +02:00
André Hentschel 7d7562d739 winegcc: Add detection for --param options. 2010-06-16 11:44:49 +02:00
Detlef Riekenberg ce51d9d0c9 winspool: Support the spooler in GetPrinterData. 2010-06-15 19:58:30 +02:00
Alexandre Julliard 5f7bbb2ab2 winegcc: Load the Unicode argv dynamically from the generated stub. 2010-06-15 19:58:15 +02:00
Alexandre Julliard ba9ec152e1 winegcc: Add explicit support for the Cygwin platform.
On Cygwin we want to use Wine's msvcrt, unlike on Mingw.
2010-06-14 19:27:41 +02:00
Alexandre Julliard 314171535c wine.inf: Avoid creating empty registry values. 2010-06-10 17:17:57 +02:00
Damjan Jovanovic 950919ee33 wine.inf: Also install winhlp32 into \windows\system32. 2010-06-09 20:20:58 +02:00
Alexandre Julliard e1fd4390bf winapi: Fix a few C parser bugs. 2010-06-07 16:46:44 +02:00
Alexandre Julliard 84ff0631d4 winapi: Get the list of files from git-ls-files if possible. 2010-06-07 16:46:33 +02:00
André Hentschel 86f67209bb winapi: Allow multiple flags. 2010-05-31 12:14:27 +02:00
André Hentschel f181a48e6a winapi: Add ordinal flag. 2010-05-31 12:14:27 +02:00
André Hentschel 9eda2de2b8 winapi: Init preprocessor_condition. 2010-05-31 12:14:27 +02:00
André Hentschel 4bd8d384c4 widl: Add support for amd64-mingw32msvc platform. 2010-05-28 12:31:13 +02:00
André Hentschel 3686e74e1b winebuild: Add support for amd64-mingw32msvc platform. 2010-05-28 12:31:12 +02:00
Alexandre Julliard a72f3f3075 winedump: Don't include winbase16.h. 2010-05-27 17:09:14 +02:00
Austin English f125b82c20 winebuild: FreeBSD 64-bit binaries are elf_x86_64_fbsd. 2010-05-26 10:11:17 +02:00
André Hentschel b723530be0 winegcc: Add support for amd64-mingw32msvc platform. 2010-05-25 12:03:01 +02:00
Damjan Jovanovic 8e10c65367 wine.desktop: Associate with winemenubuilder's application/x-ms-shortcut. 2010-05-19 13:16:34 +02:00
André Hentschel 7c78558106 wmc: Remove 10 year old unmaintained file. 2010-05-18 18:42:42 +02:00
Joel Holdsworth 465e653940 tools: Modified the ICO render script to also render BMPs. 2010-05-17 12:42:32 +02:00
Alexandre Julliard f3831cf2cb configure: Rename the 64-bit loader to wine64 and keep wine always for the 32-bit loader.
This provides better backwards compatibility when running with a
32-bit prefix.
2010-05-17 12:42:30 +02:00
Hans Leidekker f6612adcd2 winedump: Print the network share name in .lnk files. 2010-05-14 18:03:02 +02:00
Frédéric Delanoy 0c07c7ba09 winemaker: Add French translation. 2010-05-14 11:07:06 +02:00
Frédéric Delanoy 54b973acad winemaker: Fix typos in manpage. 2010-05-14 11:07:00 +02:00
André Hentschel 1a8fdf07b4 winemaker: Add missing linefeed. 2010-05-12 13:44:00 +02:00
André Hentschel ebde80574d winemaker: Clean up target type handling. 2010-05-11 11:06:06 +02:00
André Hentschel bb8f2c4b17 winemaker: Check for more project files. 2010-05-11 11:05:35 +02:00
Alexandre Julliard 5978e4f096 wine.inf: Copy l_intl.nls to the system32 directory. 2010-05-06 21:04:03 +02:00
Alexandre Julliard 321d3883bf configure: Create a symlink from l_intl.nls in the build tree, and install it. 2010-05-06 20:54:33 +02:00
Alexandre Julliard 930a13dd86 libwine: Add support for generating l_intl.nls, based on a patch by Andrey Turkin. 2010-05-06 20:50:14 +02:00
Gerald Pfeifer 3aa6cff4ce wrc: Remove variable type which is not really used from rsrcid_to_token. 2010-05-05 10:53:05 +02:00
Damjan Jovanovic 75f34a615b wine.desktop: Add hr and sr@latin translations. 2010-05-05 10:43:43 +02:00
Scott Ritchie 28cc401295 wine.desktop: Add Icon=wine to support systems with icon themes. 2010-05-04 13:15:00 +02:00
Aurimas Fišeras 55cb1a1256 wine.desktop: Add Lithuanian translation. 2010-05-04 13:14:58 +02:00
Gerald Pfeifer 194fd8744a widl: Simplify write_struct_tfs and remove an unused variable. 2010-05-03 15:40:58 +02:00
Damjan Jovanovic f5a5371733 wine.desktop: Add Serbian translation. 2010-05-03 14:01:05 +02:00
Kirill Smelkov b25cd21df2 winegcc: Do use DSO full name for .so arguments. 2010-04-26 11:38:13 -05:00
Kirill Smelkov 0b4fe5e56a winebuild/winegcc: Allow building .dll.so without .spec file. 2010-04-26 11:38:06 -05:00
Frédéric Delanoy f99fc38313 tools: Fix formatting errors in winemaker manpage. 2010-04-26 07:04:55 -05:00
Gerald Pfeifer 0151175127 sfnt2fnt: Remove variable descent which is not really used from fill_fontinfo. 2010-04-26 07:00:43 -05:00
Gerald Pfeifer 4e7fe5823a winedump: Remove variable strtable which is not really used from dump_symbol_table. 2010-04-26 07:00:22 -05:00
Gerald Pfeifer ea6590af16 widl: Remove variable size which is not really used from print_phase_basetype. 2010-04-26 06:59:22 -05:00
Gerald Pfeifer 878df9a7e6 fnt2bdf: Remove variable dpi which is not really used from dump_bdf_hdr. 2010-04-26 06:59:11 -05:00
André Hentschel 65900b4a31 winemaker: Allow compiling 32-bit targets to be compiled on 64-bit hosts. 2010-04-22 11:56:21 +02:00
Kirill Smelkov 277aba1d76 wrc: Drop hardcoded INCLUDEDIR.
INCLUDEDIR should be defined in Makefile.in, and if not, we should notice.
2010-04-22 11:27:52 +02:00
Kirill Smelkov f4ff08f483 wrc: Use INCLUDEDIR when compiling. 2010-04-22 11:27:44 +02:00
Alexandre Julliard 1ffab3ab4e wrc: Make the bitmap size checking more generic, and add support for V5 bitmaps. 2010-04-21 14:07:50 +02:00
Alexandre Julliard 6359de3ddc tools: Remove the deprecated wineprefixcreate script. 2010-04-21 12:17:00 +02:00
Joel Holdsworth 310561acbb tools: Fixed buildicon to support rectangular icons. 2010-04-21 11:57:32 +02:00
Joel Holdsworth 60fad33ae9 tools: Remove fallback render rule. 2010-04-21 11:57:32 +02:00
Joel Holdsworth 258a2128b9 tools: Fixed buildicon to use the path of rsvg provided in the environment variable. 2010-04-21 11:57:32 +02:00
Alexandre Julliard 3044d734b1 server: Fix structure padding for requests that have a reply. 2010-04-20 21:25:38 +02:00
Eric Pouech 22da105b4d winegcc: When specifying -m32, force i386 cpu when compiling on x86_64 boxes. 2010-04-20 11:16:29 +02:00
Eric Pouech d4dfcc1f32 winegcc: On x86-64, don't define twice the fastcall macros. 2010-04-20 11:15:48 +02:00
Austin English 62781a6b3c winedump: Output Makefile.in the right way for the new build system. 2010-04-19 14:54:00 +02:00
Eric Pouech f4f3033daa winedump: Add support for x86-64 in known CPUs while reading minidumps. 2010-04-16 16:53:49 +02:00
Alexandre Julliard 53dfaf0d58 wine.inf: Register iexplore from the system directory so that the 32-bit version gets registered too. 2010-04-15 22:52:54 +02:00
Alexandre Julliard 5c2db41cdc winebuild: Add cfi annotations to the relay functions for i386. 2010-04-12 12:33:19 +02:00
Alexandre Julliard eba56752fd winebuild: Add cfi annotations to the import thunk for i386. 2010-04-12 12:04:50 +02:00
Alexandre Julliard 5288196f78 winegcc: Add support for the -fasynchronous-unwind-tables option. 2010-04-11 12:49:15 +02:00
Alexandre Julliard 3dfbbb597c winebuild: Support for -fasynchronous-unwind-tables flag to enable/disable CFI generation. 2010-04-11 12:49:15 +02:00
Alexandre Julliard e550e8a100 winebuild: Add a wrapper function to output cfi directives. 2010-04-11 12:49:00 +02:00
Frédéric Delanoy db7928c385 manpages: Fix formatting errors. 2010-04-09 11:47:05 +02:00
Alexandre Julliard b141e6e33b winapi: Add a few more types to the ntdll generated tests. 2010-04-07 18:04:00 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Alexandre Julliard 6b11a3c3f8 winapi: Add some support for handling ifdefs, particularly ifdef _WIN64. 2010-04-07 17:27:14 +02:00
Marcin Baczyński d04c2ccb27 makedep: Silence unused result warnings. 2010-04-06 14:32:28 +02:00
Alexandre Julliard 513c77655a tools: Improve error handling in the buildicon script. 2010-04-06 13:24:04 +02:00
Joel Holdsworth e02de77508 tools: Installed new icon build script. 2010-04-06 13:23:22 +02:00
Alexandre Julliard 1707c1c5cb widl: Alignment for complex arrays and structs is the buffer alignment, not the memory one. 2010-04-05 20:07:22 +02:00
Alexandre Julliard cb6a225481 widl: Add a type_memsize_and_alignment function to make it explicit where the alignment is truly needed. 2010-04-05 20:06:22 +02:00
Wolfram Sang f00b8b9c13 tools: Upgrade the config.guess/config.sub scripts. 2010-04-05 11:40:31 +02:00
Mikhail Maroukhine 23547c0ffd winedump: Fix compiler warnings with flag -Wcast-qual. 2010-04-05 11:39:14 +02:00
Vincent Povirk 4d3e6f4c7f ngen.exe: Add stubbed command. 2010-04-05 11:37:05 +02:00
André Hentschel d53e75af14 winemaker: Add German translation of the manpage. 2010-04-05 11:36:44 +02:00
André Hentschel 01c406cf05 winedump: Update manpage. 2010-04-05 11:34:23 +02:00
André Hentschel 84669a3920 winemaker: Fix manpage. 2010-04-05 11:34:19 +02:00
Louis Lenders 3ded06b228 wine.inf: Add another .Net Framework key. 2010-04-02 15:22:52 +02:00
André Hentschel 7cb303b83f c2man: Replace link to documentation.sgml. 2010-04-01 11:41:32 +02:00
Alexandre Julliard 3edc09fa6d wine.inf: Add a Wow64Install section for the Wow64-specific configuration. 2010-03-30 16:44:30 +02:00
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
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
Alexandre Julliard 6e2babc977 oleaut32: Properly register the stdole typelibs. 2009-09-23 14:28:13 +02:00
Gerald Pfeifer bdb73f5c72 wrc: Fix eight conditions in compare_menuex_item. 2009-09-16 15:26:06 -05:00
André Hentschel d912d6fb4d winemaker: Update manpage. 2009-09-15 16:41:24 -05:00
Huw Davies d36e1cefde oledb32: Add registration routines. 2009-09-09 16:25:21 +02:00
Henri Verbeet a7b0a1cd4a widl: Generate proper prototypes for function declarations without arguments. 2009-09-09 12:06:51 +02:00
Huw Davies 6be5ab78b9 wine.inf: Register msdaps.dll. 2009-09-02 15:32:46 +02:00
André Hentschel d26857c9b4 winemaker: Update usage text. 2009-08-31 12:42:05 +02:00
André Hentschel c0bd2912db winemaker: Fix dll compiling in project files. 2009-08-31 12:42:00 +02:00
Alexandre Julliard 1f220db93e tools: Copy 16-bit font definitions to avoid including 16-bit headers. 2009-08-29 21:10:54 +02:00
Alexandre Julliard 1aea4efd79 tools: Take into account the executable extension when looking for tools in the path. 2009-08-27 13:35:50 +02:00
Francois Gouget b4e7155c1a wrc: Add a '\n' to a parser_warning() call. 2009-08-26 13:09:16 +02:00
Huw Davies b524c55021 widl: Add separate --win32-align and --win64-align options. 2009-08-25 14:56:57 +02:00
Damjan Jovanovic 616b27275c sti: Add self registration. 2009-08-24 15:17:34 +02:00
Dylan Smith ba38f219d0 tools: Detect windows platform with _WIN32 instead of _WINDOWS. 2009-08-24 15:17:34 +02:00
Alexandre Julliard 3f7d342cfa winebuild: Add win32/win64 generic architectures in addition to specific CPUs. 2009-08-24 15:17:33 +02:00
Dylan Smith 8e0b17462b makedep: Handle non-overwriting rename for Windows. 2009-08-24 15:17:33 +02:00
Huw Davies a376b86dfe widl: The alignment written for USER_MARSHAL types is the wire-type alignment. 2009-08-21 15:08:49 +02:00
Huw Davies e4e21193c0 widl: A structure that contains an embedded interface ptr in an array is a BOGUS_STRUCT. 2009-08-21 14:27:59 +02:00
Alexandre Julliard be7558fc30 wrc: Print a warning when encountering utf8 strings in non-utf8 codepage. 2009-08-20 15:33:03 +02:00
Juan Lang 1b5ea4a954 wine.inf: Add a fake DLL entry for windowscodecs.dll. 2009-08-18 11:46:22 +02:00
Alexandre Julliard b392362fd5 wine.inf: Specify the source module for 16-bit fake dlls. 2009-08-18 11:38:36 +02:00
Alexandre Julliard f78a8ceafc makefiles: Add rules for building fake modules. 2009-08-18 11:29:35 +02:00
Alexandre Julliard 2de0c16363 winegcc: Add support for building fake modules. 2009-08-18 11:26:43 +02:00
Huw Davies bbb3a85c51 widl: Add a structure packing command line option. 2009-08-17 16:48:10 +02:00
André Hentschel 4c9405a83c winemaker: Update manual. 2009-08-17 15:53:02 +02:00
Alexandre Julliard 5d3e134b17 winebuild: Add support for creating 16-bit fake dlls. 2009-08-17 13:57:49 +02:00
Alexandre Julliard 8024718c78 winebuild: Compute the resource offsets while building the resource tree for 16-bit resources. 2009-08-17 13:57:49 +02:00
Alexandre Julliard ef4a3c3c2d winebuild: Add support for creating a fake dll at compile time. 2009-08-14 14:16:38 +02:00
Alexandre Julliard 99037aa9cc winebuild: Compute the resource offsets while building the resource tree. 2009-08-14 14:11:34 +02:00
Alexandre Julliard 47497cb26a winebuild: Add helper functions for writing binary data to a file. 2009-08-14 13:59:11 +02:00
Alexandre Julliard b935cc210c winebuild: Add helper functions for reading binary data from a file. 2009-08-14 13:59:10 +02:00
André Hentschel e1e9dc398f winemaker: Put the defines in DEFINES instead of CEXTRA. 2009-08-13 16:49:47 +02:00
André Hentschel c9cea6f294 winemaker: Parse libraries of vcproj-files. 2009-08-11 13:33:31 +02:00
Alexandre Julliard 25e9e4f07b configure: Regenerate with autoconf 2.64. 2009-08-10 14:35:34 +02:00
Marcus Meissner a30625306d fnt2bdf: Fixed 2 resource leaks. 2009-08-10 13:09:49 +02:00
Marcus Meissner 39d4d12c08 wrc: Handle "no files == stdin". 2009-08-10 13:09:43 +02:00
Marcus Meissner 051535961a winebuild: Added missing close. 2009-08-10 13:09:35 +02:00
Alexandre Julliard 29cec05c6f make_makefiles: Fix handling of .mc files. 2009-08-06 17:28:13 +02:00
Andrew Nguyen 625d1e75cd wine.inf: Add a fake DLL for dinput8. 2009-08-06 17:26:29 +02:00
Austin English 0bbb924db2 wine.inf: Add HKCU\AppEvents\Schemes registry key. 2009-08-05 15:30:16 +02:00
Maarten Lankhorst 58b5a3f6be msgsm32.acm: Implement a stub dll. 2009-08-04 15:19:32 +02:00
Huw Davies 69091ef569 widl: Store the pointer description in the type rather than base type so that it gets re-written when the type is re-written. 2009-08-04 13:50:07 +02:00
Hans Leidekker c257ef317b hnetcfg: Register interfaces. 2009-08-03 17:44:55 +02:00
Austin English 1c2df36d25 wineinstall: Ask about installation before running configure. 2009-08-03 14:55:05 +02:00
Huw Davies 8d8bef944d include: Add crtrow.idl. 2009-07-23 13:28:05 +02:00
Huw Davies d328e9a14a include: Add binres.idl. 2009-07-23 13:27:45 +02:00
Huw Davies f80c419585 include: Add sesprp.idl. 2009-07-23 13:26:52 +02:00
Huw Davies 50c43ed868 include: Add dbdsad.idl. 2009-07-23 13:26:17 +02:00
Huw Davies 3eb5e861d8 include: Add opnrst.idl. 2009-07-23 11:26:22 +02:00
Huw Davies 659070ec3a include: Add dbcses.idl. 2009-07-23 11:25:42 +02:00
Huw Davies 74b2ba2ef3 include: Add dbccmd.idl. 2009-07-23 11:25:19 +02:00
Marcus Meissner 29bdb32592 wmc: Duplicate wine_cp_wcstombs check here too (Coverity). 2009-07-20 12:19:24 +02:00
Alexandre Julliard fc8c8a5251 wrc: Report an error when encountering non-ASCII characters. 2009-07-16 11:15:15 +02:00
Alexandre Julliard 5d56995696 wrc: Avoid a crash if a file didn't contain any resources. 2009-07-16 11:15:00 +02:00
Hans Leidekker 8013e45e4c wmiutils: Register interfaces. 2009-07-14 15:15:45 +02:00
Hans Leidekker a4717d0d4c wbemprox: Register interfaces. 2009-07-14 15:13:34 +02:00
Alexandre Julliard f21eab1101 widl: Take into account the alignment of conformant arrays to pad a structure. 2009-07-13 09:23:06 +02:00
Alexandre Julliard 52f81c12db wmc: Add support for utf-8 codepage. 2009-07-10 13:07:33 +02:00
Michael Stefaniuc d67a9d92ea wrc: Reset the language before processing multiple rc files. 2009-07-10 12:24:09 +02:00
Francois Gouget 8890282ac0 winapi/c_parser: Remove special cases for DEFINE_SHLGUID() and ICOM_DEFINE().
These macros don't exist anymore.
2009-07-09 14:51:26 +02:00
Francois Gouget 8c1bf48fbf winapi/c_parser: Badly indenting a closing brace should be a warning, not an error. 2009-07-09 14:51:21 +02:00
Alexandre Julliard ae1afb82d2 winetest: Create a separate resource file with the SHA1 build id. 2009-07-09 12:54:39 +02:00
Alexandre Julliard f0ea22ba87 winebuild: Dump resource data as dwords to reduce the output file size. 2009-07-09 12:54:16 +02:00
Francois Gouget def8d4f401 winapi: Modify parse_c_typedef() to get rid of the $finished variable. 2009-07-09 11:37:44 +02:00
Francois Gouget 6f5ae45846 winapi: Introduce a pseudo-loop in parse_c_variable() to get rid of the $finished variable. 2009-07-09 11:37:42 +02:00
Francois Gouget a4ed46d398 winapi: Simplify and improve the readability of the C parsers.
Specifically, clean up parameter passing, and remove unneeded
intermediate variable references.  Remove uninformative comments.
2009-07-06 14:35:27 +02:00
Alexandre Julliard 0dc951694b winetest: Build exe resources as separate .res files. 2009-07-06 14:33:32 +02:00
Alexandre Julliard 56af92b073 makefiles: Regenerate the source lists using make_makefiles. 2009-07-03 13:26:38 +02:00
Alexandre Julliard 88b74519ae make_makefiles: Automatically update the source lists in the individual makefiles. 2009-07-03 13:26:01 +02:00
Alexandre Julliard d375d25d65 widl: An ENUM16 is 32-bit wide in memory. 2009-07-03 13:06:14 +02:00
Alexandre Julliard f6d2b49145 widl: Take into account structure field alignment when computing offsets. 2009-07-03 13:05:52 +02:00
Alexandre Julliard 064775c9a0 widl: Struct alignment should be the largest alignment of all the struct members. 2009-07-03 13:05:52 +02:00
Alexandre Julliard fc7681a8ce widl: Skip the existing correlation descriptor on unencapsulated unions when generating a different one. 2009-07-03 13:05:52 +02:00
Alexandre Julliard 7798aed2cf winebuild: Don't try to output 32-bit resources when building a 16-bit wrapper dll. 2009-06-30 12:44:59 +02:00
Francois Gouget 73b0f65177 makedep: Add support for multiple object file extensions. 2009-06-30 12:39:32 +02:00
Vincent Povirk b01c652d4b windowscodecs: Add stub implementation of IWICImagingFactory. 2009-06-29 14:20:13 +02:00
Eric Pouech a9c7612d4c winedump: Added reference for MSVC 8. 2009-06-29 13:14:09 +02:00
Alexandre Julliard 56a92c25b6 winegcc: Pass all option flags to winebuild before non-options filenames. 2009-06-29 13:13:25 +02:00
Alexandre Julliard 683dc30e82 wrc: Clean up command line parsing for multiple files support. 2009-06-29 13:12:59 +02:00
Stefan Dösinger 07e835fffb winebuild: Open resource files in binary mode. 2009-06-26 12:01:27 +02:00
Damjan Jovanovic fe1cc32721 wine.inf: Run winemenubuilder to delete menus on startup. 2009-06-26 12:00:12 +02:00
Alexandre Julliard 1405c00ecb wrc: Use an EOF rule instead of lex_destroy for compatibility with prediluvian flex versions. 2009-06-23 15:53:01 +02:00
Alexandre Julliard 2189b101de winebuild: Enforce header size alignment when outputting resources. 2009-06-23 15:53:00 +02:00
Alexandre Julliard e25bc79da1 wrc: Add support for loading multiple input files at once. 2009-06-22 12:23:39 +02:00
Alexandre Julliard 6cf96bf940 winebuild: Add possibility to generate a global resource file without running it through windres. 2009-06-22 11:46:33 +02:00
Alexandre Julliard c152b4e7d1 include: Add a target address for unwinding for platforms that need it. 2009-06-18 15:17:26 +02:00
Huw Davies a6181cb3b2 tools/widl: Fix behaviour when both lcid and retval arguments are present. 2009-06-17 17:23:21 +02:00
Alexandre Julliard 7b08604778 winegcc: Add support for the -Wl,--large-address-aware option. 2009-06-17 17:23:20 +02:00
Alexandre Julliard fec5f5cf1f winebuild: Implement a --large-address-aware flag. 2009-06-17 17:23:20 +02:00
Austin English 2deeb1c736 wine.inf: Add placeholder exe for wordpad.exe. 2009-06-17 12:43:56 +02:00
Austin English 51922e3fa7 wine.inf: Fix incorrect entry for hh.exe. 2009-06-17 12:43:49 +02:00
Alexandre Julliard 873e027e01 winebuild: Add unwind annotations to all the generated functions for x86_64. 2009-06-16 14:26:51 +02:00
Francois Gouget b3a5755310 winapi: Fix a $blevel / $plevel mismatch. 2009-06-16 13:26:20 +02:00
Francois Gouget dcfd048e2c winapi/c_parser: Remove some dead code. 2009-06-15 13:42:29 +02:00
Damjan Jovanovic bd623c2b79 wine.inf: Update file type associations on startup. 2009-06-12 11:59:58 +02:00
Dmitry Timoshkov 10ccf1d4a6 wine.inf: Add kernel32.48/kernel32.49 (ReleaseThunkLock/RestoreThunkLock) to the RelayExclude list. 2009-06-11 17:36:38 +02:00
Austin English ea09e4afe8 wine.desktop: Allow start to execute lnk files. 2009-06-11 11:53:54 +02:00
Alexandre Julliard e00b4582a1 winebuild: Properly restore %rax and %rbx in call_from_regs on x86_64. 2009-06-10 13:22:04 +02:00
Huw Davies 7857219ac1 widl: Fix typelib lcid fields to match those produced by midl. 2009-06-09 17:01:15 +02:00
Alexandre Julliard d88f9e3cd9 widl: Don't make the proxy virtual tables const if they use delegation. 2009-06-09 17:01:07 +02:00
Huw Davies 81b2c9eb85 widl: Add support for the lcid parameter attribute. 2009-06-08 15:39:14 +02:00
Stefan Stranz c89c2dd4c5 c2man: Add xml documentation creation. 2009-06-08 15:38:35 +02:00
Marcus Meissner 6a9e096da9 widl: ifdef some not always present LANG_*. 2009-06-08 13:19:06 +02:00
Marcus Meissner 18738cf89d winegcc: Free two new strlists (Coverity). 2009-06-05 15:19:57 +02:00
Alexandre Julliard 22fef33352 winegcc: Create a stub main to work around the lack of Unicode support in Mingw. 2009-06-05 15:19:57 +02:00
Alexandre Julliard 284438dc71 winegcc: Link against winecrt0 for the Mingw build too. 2009-06-05 15:19:57 +02:00
Francois Gouget 7b1158116b winapi_extract: The old C parser is not needed anymore so remove it. 2009-06-03 11:26:20 +02:00
Francois Gouget 0ab4df02d6 winapi_extract: --spec-files has been broken for a long time and does not seem to be useful so remove it. 2009-06-03 11:26:11 +02:00
Alexandre Julliard 9e96918cf7 winegcc: Transparently compile resource files for the Windows build. 2009-06-02 14:25:16 +02:00
Alexandre Julliard e112286366 winebuild: Add detection of duplicate resources. 2009-06-02 14:25:01 +02:00
Alexandre Julliard a328834f5b winebuild: Add a --resources mode that compiles multiple resource files into a single object. 2009-06-02 13:20:43 +02:00
André Hentschel 89ec1f185c winemaker: Port vcproject parser from XML-Simple to libXML. 2009-06-02 13:10:06 +02:00
Vitaliy Margolen 1e4b401a98 winecfg: Update WinXP version to SP3. 2009-06-01 16:16:02 +02:00
Alexandre Julliard 6f74b45a81 winegcc: Add support for building PE executables using Mingw. 2009-06-01 16:15:53 +02:00
Alexandre Julliard bcc1379bda winegcc: Add support for the --sysroot option to allow out-of-tree cross-compiling. 2009-05-30 15:20:14 +02:00
Alexandre Julliard b09418b5d2 winegcc: Don't pass the as/ld/nm tool names to winebuild. 2009-05-30 13:03:20 +02:00
Alexandre Julliard a4b314f482 tools: Upgrade the config.guess/config.sub scripts. 2009-05-29 12:31:13 +02:00
Alexandre Julliard 23fd37528c winedump: Fix a printf format warning on 64-bit. 2009-05-28 15:23:24 +02:00
Daniel Santos 0ea28a649b make_requests: Correct comment in header (minor patch). 2009-05-26 14:25:12 +02:00
Francois Gouget fb9e4afd88 winapi_cleanup: There is not much point for this tool so remove it. 2009-05-26 13:50:25 +02:00
Francois Gouget a5924303af winapi_fixup: There is not much point for this tool so remove it. 2009-05-26 13:50:18 +02:00
Alexandre Julliard f914b57277 widl: Add support for standard target options to allow building the right typelib kind when cross-compiling. 2009-05-21 16:17:50 +02:00
Alexandre Julliard b3a0833972 widl: Add support for writing 64-bit format typelibs. 2009-05-21 16:17:50 +02:00
André Hentschel abc68c1ca7 winemaker: Read the includes of a dsp project file. 2009-05-20 11:08:54 +02:00
Paul Vriens 4626308a2b wine.inf: Set the correct initial service pack information. 2009-05-19 11:25:09 +02:00
Francois Gouget d537476894 winapi_test: Simplify the code that builds the list of headers to process. 2009-05-18 12:32:20 +02:00
Dmitry Timoshkov 60482be24b winedump: Add an ability to dump font files. 2009-05-11 15:57:13 +02:00
Dmitry Timoshkov 65dbecbb5a sfnt2fnt: Take into account external leading when calculating the font point size.
This makes the dfPoints field of the Japanese System font match the Windows one.
2009-05-11 15:56:54 +02:00
Austin English 285572fd57 winedump: Sign compare fixes. 2009-05-08 14:30:44 +02:00
Alexandre Julliard b46be0be7d winapi: Handle types should be treated as pointers. 2009-05-06 13:44:54 +02:00
Alexandre Julliard 8ad9457fca winedump: Add dumping of x86_64 exception tables. 2009-05-06 12:06:24 +02:00
Ken Thomases 0e0e918f0f winebuild: On Mac OS X, use -arch option to control output of "ld" and "as". 2009-05-04 12:51:38 +02:00
Ken Thomases 81d1d8e355 winegcc: Recognize '-arch <arch>' as a compiler and linker option.
The dev tools on Mac OS X takes this option to dictate the output architecture.
(Gcc still accepts -m32 and -m64, as well, but "ld" and "as" do not.)
2009-05-04 12:51:34 +02:00
Alexandre Julliard 880d00fb43 winebuild: Use iretq on x86_64 to restore more system registers and flags. 2009-05-01 18:03:23 +02:00
André Hentschel 925b1448bc winemaker: Remove unnecessary quote filtering. 2009-05-01 13:13:41 +02:00
André Hentschel 5b4b4955be winemaker: Update manpage. 2009-05-01 13:13:36 +02:00
André Hentschel 2100cb6196 winemaker: Make winemaker 64-bit ready. 2009-05-01 13:13:17 +02:00
Damjan Jovanovic 6144104f24 wine.inf: Add more file type descriptions. 2009-05-01 13:11:32 +02:00
Scott Ritchie 859fe2a7cb wine.desktop: Reduce MIME types to application/x-ms-dos-executable and application/x-msi. 2009-05-01 13:11:26 +02:00
André Hentschel a021e836ad winemaker: Ignore quotes in source filenames. 2009-04-30 12:47:07 +02:00
André Hentschel dc31d87082 winemaker: Add often used negative optimization. 2009-04-27 14:58:01 +02:00
André Hentschel e1cdd9778f winemaker: Fix optimizations. 2009-04-27 14:57:54 +02:00
André Hentschel 1199d05d59 winemaker: Fix project file path parsing. 2009-04-27 14:57:50 +02:00
André Hentschel 70fbe9770a winemaker: Fix path handling for Current Working Directory. 2009-04-27 14:57:42 +02:00
André Hentschel 6a5be43650 winemaker: Canonicalize directory name if used as target name. 2009-04-24 15:51:27 +02:00
André Hentschel 0c53d2ef0d winemaker: Print all copyrights in banner. 2009-04-24 15:51:01 +02:00
André Hentschel f711704cc8 winemaker: Print version in Makefile header. 2009-04-24 15:50:56 +02:00
André Hentschel e8a5325196 winemaker: Remove unused function. 2009-04-23 18:14:26 +02:00
André Hentschel 7a0f61191a winemaker: Parse include dirs from vcproj file. 2009-04-22 14:42:28 +02:00
André Hentschel 868547c932 winemaker: Fix wrong place for case-check. 2009-04-22 14:42:19 +02:00
André Hentschel b09d6d0819 winemaker: Fix whitespace handling for libs. 2009-04-22 14:42:14 +02:00
Christian Costa d5f3d6f759 winedump: When generating preamble, use 4 spaces instead of tabs. Remove extra break. 2009-04-21 14:32:26 +02:00
Hans Leidekker 6137b1ba2d programs: Add stub termsv.exe. 2009-04-20 16:56:13 +02:00
Francois Gouget dbfe7b7b68 winapi: Fix the C-parser combined getter/setter prototypes. 2009-04-20 15:26:35 +02:00
Francois Gouget 9bdde98ab6 winapi: Remove some dead code. 2009-04-20 15:26:07 +02:00
Francois Gouget 55cd3433ac winapi: trampoline is not used so remove it. 2009-04-20 15:26:02 +02:00
Francois Gouget 0dd5c442c1 winapi: Fix the parse_c_declaration() prototype and remove unused variables. 2009-04-20 15:25:36 +02:00
Francois Gouget f8ae6d6407 winapi: parse_c_declarations() is not used. Remove it. 2009-04-20 15:25:31 +02:00
André Hentschel 9312ff52e0 winemaker: Add -m32 flag to support winegcc-changes. 2009-04-20 14:12:16 +02:00
Alexandre Julliard 6fb1d75239 c2man: Fix the array reference syntax and the return value regexps. 2009-04-10 19:52:04 +02:00
Hans Leidekker 8320686fb2 wine.inf: Register msctf classes. 2009-04-10 14:44:41 +02:00
Alexandre Julliard b374e7e36e winebuild: Don't include any Windows header to avoid data types dependencies. 2009-04-09 20:58:43 +02:00
Alexandre Julliard 89f6bc2ef4 winebuild: Hardcode the stack frame offsets instead of using the data structures. 2009-04-09 20:30:10 +02:00
Alexandre Julliard d71284f0b4 winebuild: Hardcode the i386 register context offsets instead of using the data structure. 2009-04-09 20:01:56 +02:00
Alexandre Julliard 53929f1906 server: Make all dump function take a prefix string to simplify the tracing code. 2009-04-08 17:31:05 +02:00
Alexandre Julliard 653d2c4a8d server: Store the type of CPU that the client is running on. 2009-04-03 14:49:10 +02:00
André Hentschel 8f74c2b1a7 winemaker: Update man page. 2009-04-03 13:00:28 +02:00
André Hentschel df5c4178a8 winemaker: Add workspace-parse function. 2009-04-03 13:00:12 +02:00
André Hentschel dc21b4f613 winemaker: Add project-parse function. 2009-04-03 13:00:01 +02:00
André Hentschel 47b1bffd02 winemaker: winresrc.h is the right name. 2009-04-03 12:58:40 +02:00
Rob Shearman 0a8e3c39a1 widl: Include the version number in the __WIDL__ preprocessor definition. 2009-03-26 16:10:41 +01:00
Alexandre Julliard cdad788d33 winebuild: Skip non-functions when building the undefined exports file. 2009-03-25 13:27:27 +01:00
Austin English 0aebd4f300 winegcc: Fix a compiler warning on PC-BSD. 2009-03-24 13:54:09 +01:00
Alexandre Julliard e9ef9911d0 winebuild: Make sure main module is properly initialized. 2009-03-24 11:50:13 +01:00
Andrew Nguyen 61d44a30ca wine.inf: Add entry for fake ddeml.dll. 2009-03-23 18:21:06 +01:00
James Hawkins 665a0424cd winebuild: Document the correlation of spec->ordinals and spec->limit with an assertion (Coverity 902). 2009-03-23 18:21:06 +01:00
Rob Shearman d38cc9acbc widl: Initialise ref pointers to basic and enum types to 0 in generated server code.
Previously it was only done for pointers.
2009-03-23 14:23:19 +01:00
Rob Shearman 48a5db074b widl: Output correct code for freeing of conformant-sized and non-conformant strings.
_StubMsg.pfnFree should be used instead of NdrPointerFree for
conformant-sized strings since the buffer will have been allocated
using NdrAllocate.

Non-conformant strings do not need any freeing since they use a buffer
that is allocated on the stack.
2009-03-23 14:22:41 +01:00
Rob Shearman 12b23fa220 widl: Check the attributes applied to function declarations. 2009-03-23 14:22:23 +01:00
Alexandre Julliard a37d88973c make_makefiles: Automatically disable 16-bit modules if enable_win16 isn't set. 2009-03-13 13:21:02 +01:00
Michael Stefaniuc efbb4ebf3e widl: Output "LONG" instead of "long" for a 32bit integer.
long is always 32bit in IDL files but that's not true in C.
2009-03-13 11:15:21 +01:00
Alexandre Julliard 3df2c88dcb wine.inf: Fix typo in the shift_jis entry. 2009-03-12 13:09:54 +01:00
Denis Baranov 6021a73c02 wine.inf: Add registry branch HKEY_CLASSES_ROOT\MIME\Database\Charset. 2009-03-11 13:49:07 +01:00
Rob Shearman 8cdda26897 widl: Returned pointers should default to being unique, not reference. 2009-03-11 10:29:20 +01:00
Rob Shearman 728a738a82 widl: Move type_basic_get_fc to typegen.c and rename it to get_basic_fc.
Move to using type_basic_get_type in other files where appropriate.
2009-03-09 12:14:35 +01:00
Rob Shearman 630b48941f widl: Fix a memory leak in the server/stub code when unmarshalling pointers to strings at the top level.
It is necessary for the first pointer to have an offset to a second
pointer instead of directly to the string type, since the second
pointer frees the memory for the string.
2009-03-09 12:13:53 +01:00
Rob Shearman f170f9b5d5 widl: Output server code for freeing returned types. 2009-03-09 12:12:57 +01:00
Rob Shearman 23673ca373 widl: Determine pointer fc at generation time instead of at parse time.
Avoid changing the details of a pointer once created.
Properly determine the pointer type for arrays.
2009-03-09 12:09:39 +01:00
Rob Shearman f8e36ab4ab widl: Consolidate non-simple pointer writing into one function. 2009-03-09 12:08:57 +01:00
Francois Gouget 96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Francois Gouget 6724655a57 fnt2bdf: Remove spaces before '\n's. 2009-03-09 12:05:35 +01:00
Rob Shearman a8238dd142 widl: Pass var attrs into write_no_repeat_pointer_descriptions and use them for the string check. 2009-03-05 18:39:02 +01:00
Rob Shearman 9d878f220b widl: Add coclass and module types to the global namespace. 2009-03-05 18:39:02 +01:00
Rob Shearman 13c3967522 widl: Move type_new_enum, type_new_struct, type_new_encapsulated_union and type_new_unencapsulated_union to typetree.c. 2009-03-05 18:39:02 +01:00
Rob Shearman 7c711d0736 widl: Allow enum and union tags to be used without being defined. 2009-03-05 18:39:02 +01:00
Rob Shearman 4866026d7f widl: Move the pointer referent, array element, function return type and interface inheritance properties from type_t to details structures for the appropriate types. 2009-03-05 18:39:02 +01:00
Rob Shearman 277e0617d5 widl: Store the abstract identifier of the type in type object instead of an NDR format character. 2009-03-05 18:39:02 +01:00
Rob Shearman b7dd838136 widl: Remove the single keyword and type.
It isn't valid in MIDL or the FreeDCE IDL compiler, nor does it appear
in the DCE/RPC or C99 specs.
2009-03-05 18:39:02 +01:00
Rob Shearman 319a7a102e widl: Implement a more abstract way of representing basic types. 2009-03-05 18:38:45 +01:00
Rob Shearman 0be9d2595d widl: Fix get_explicit_generic_handle_type and is_context_handle to detect attributes set on typedefs other than the first.
Change get_explicit_handle_var to use accessors for the type structure.
2009-03-05 16:34:00 +01:00
Rob Shearman 7e08ff27c2 widl: Move declarray property to array_details.
Invert the property since an array being declared as a pointer is more
surprising than an array being declared as an array.

Provide an accessor, type_array_is_decl_as_ptr.
2009-03-05 16:34:00 +01:00
Alexandre Julliard 49d2c208d8 winebuild: Ignore 16-bit absolute exports when checking for undefined symbols. 2009-03-04 14:08:35 +01:00
Alexandre Julliard a82ce66048 winebuild: Support the --main-module option for stand-alone 16-bit modules. 2009-03-04 14:08:23 +01:00
Alexandre Julliard fda642d075 winebuild: Don't output the relay table if no entry point needs it. 2009-03-04 14:07:49 +01:00
Christian Costa 0faa6ab7da wine.inf: Use 32-bit version of MCI DirectShow driver. 2009-03-04 11:48:12 +01:00
Alexandre Julliard b2575ebab6 winebuild: Don't prefix local symbols with an underscore. 2009-02-27 17:43:19 +01:00
Alexandre Julliard 5599ac22c7 winebuild: Add support for generating stand-alone 16-bit modules.
This is done by wrapping them inside an empty 32-bit module.
2009-02-26 13:22:47 +01:00
Alexandre Julliard ddc8941d1c winebuild: Allow the module entry point to be NULL. 2009-02-26 12:38:37 +01:00
Alexandre Julliard 445047a97e winebuild: Make the 16-bit DOS header a local symbol. 2009-02-26 12:38:37 +01:00
Alexandre Julliard 65c6ca5947 programs: Get rid of the remaining binary wrappers, they break out-of-tree builds. 2009-02-25 16:06:22 +01:00
Francois Gouget 786a2cda64 winemaker: Fix handling of the global settings specified on the command line.
Now that we no longer have a global Make.rules file, include them in 
each Makefile.
2009-02-25 12:49:01 +01:00
Francois Gouget d4fddfb4bc winemaker: Fix invalid usage of {open,close}dir() in fix_file_and_directory_names(). .
Reuse our caching mechanism (get_directory_contents()), but clear the 
cache if we have modified a directory's content.
2009-02-25 12:48:53 +01:00
Vincent Povirk a2ca48127b wine.inf: Create a fake mapi32.dll. 2009-02-25 12:37:05 +01:00
Rob Shearman f27261e525 widl: Only classify top-level pointers as ref pointers if they don't have any other pointer attributes. 2009-02-25 11:54:31 +01:00
Rob Shearman a93f531c21 widl: Ignore pointer attributes applied to interface pointers.
Print a warning if a pointer attribute is specified since the
generated code won't do what the developer expects.
2009-02-25 11:54:26 +01:00
Paul Bryan Roberts 3e50aaf201 makedep: Let umask decide mode for makefiles. 2009-02-24 16:57:27 +01:00
Francois Gouget 44eb0090d7 make_makefiles: Add 'use strict'. 2009-02-24 16:57:26 +01:00
Alexandre Julliard f0daa7e9b0 winegcc: Allow creating an executable with an arbitrary extension. 2009-02-24 16:57:25 +01:00
Alexandre Julliard a6b91685b7 programs: Only create executable wrappers for programs that get installed in the bin directory. 2009-02-24 16:56:57 +01:00
Rob Shearman 2c6e611c8a widl: Add typegen_detect_type and use it.
Add typegen_detect_type for detecting types useful during
client/server/proxy code generation.
2009-02-23 15:25:57 +01:00
Rob Shearman af0800729b widl: Use type_get_type to determine the types of types during C client, server and proxy code generation. 2009-02-23 15:25:53 +01:00
Rob Shearman 28a2c06cf7 widl: Use type_get_type to determine the types of types during typelib generation. 2009-02-23 15:25:47 +01:00
Rob Shearman 0f7f7922ba widl: Use type_get_type to determine the types of types during parsing and checking. 2009-02-23 15:25:44 +01:00
Rob Shearman d854f32283 widl: Use type_get_type to determine the types of types during header writing. 2009-02-23 15:25:30 +01:00
Rob Shearman fb934347b4 widl: Use type_get_type to determine the types during statement enumeration. 2009-02-23 15:25:20 +01:00
Rob Shearman ba91ee607c widl: Don't directly access the type structure when determining the types in expressions.
Use type_get_type and friends instead.
2009-02-23 15:25:10 +01:00
Rob Shearman 944f22db80 widl: Fix typos in write_remoting_arg which caused ref pointers to unions to not result in direct calls to NonEncapsulatedUnion/EncapsulatedUnion functions. 2009-02-19 12:51:40 +01:00
Alexandre Julliard 2274fc1ade makefiles: Do not install progman, uninstaller and winebrowser in the bin directory. 2009-02-17 12:46:08 +01:00
Alexandre Julliard cf63bb880e wrc: Print better error messages for functions that set errno. 2009-02-16 15:35:15 +01:00
Rob Shearman 04484a4013 widl: Call Pointer function for freeing non-conformant strings and for all phases for returned non-conformant strings, as is done for conformant strings.
Also call Pointer functions for any string that isn't a reference pointer.
2009-02-16 15:35:14 +01:00
Rob Shearman 8f87eddd39 widl: Only duplicate a type if absolutely necessary.
Document how much of hack duplicating a type in order to change its
pointer type is.
2009-02-16 15:35:14 +01:00
Rob Shearman e054c52cd1 widl: Call Struct and Union phase functions for reference pointers to structures and unions.
It's slightly quicker than calling pointer phase functions and does
the same job.
2009-02-16 15:35:14 +01:00
Rob Shearman 47c82ac472 widl: Fix marshalling/unmarshalling of enum arguments.
The generated code should use NdrSimpleType{Marshall,Unmarshall} instead
of direct buffer access, since the memory size isn't always equal to
the size on the wire and extra checks.
2009-02-16 15:35:14 +01:00
Michael Stefaniuc 2b066327ec tools: Remove unused alloca.h include. 2009-02-13 13:00:02 +01:00
Alexandre Julliard b58ef6bff6 winegcc: Hardcode the various gcc tool names when cross-compiling. 2009-02-12 11:41:56 +01:00
Francois Gouget 467691d3a0 winapi_test: Improve the usage message. 2009-02-11 15:56:02 +01:00
Marcus Meissner fbcc18754d winegcc: Added some strarray_free() (Coverity). 2009-02-11 15:56:02 +01:00
Alexandre Julliard 20e4cb98a7 widl: Change write_type_def_or_decl and write_type_decl to take an argument name instead of a printf format. 2009-02-10 12:32:36 +01:00
Alexandre Julliard a5947ffcd1 winegcc: Don't pass the as/ld/nm commands to winebuild.
winebuild should be able to find them on its own.
2009-02-06 20:35:56 +01:00
Alexandre Julliard 25624b677d widl: Print all NdrFcShort parameters as shorts to avoid warnings for negative values. 2009-02-06 14:54:03 +01:00
Alexandre Julliard fcc096083f widl: Add printf format attribute on all printf-like functions and fix resulting warnings. 2009-02-06 14:54:03 +01:00
Alexandre Julliard ef6971da40 widl: Replace unsigned long and size_t by unsigned int where appropriate. 2009-02-06 14:54:03 +01:00
Alexandre Julliard 844c8a1804 widl: Add a dummy reference to the filter function to avoid a warning. 2009-02-06 14:54:02 +01:00
Alexandre Julliard a0fb6246c0 widl: Avoid using GetExceptionCode outside of an exception handler. 2009-02-06 14:54:02 +01:00
André Hentschel 8052c1a230 winemaker: Add odbccp32 to default link list. 2009-02-06 13:03:27 +01:00
Alexandre Julliard 64e43b6192 winegcc: Pass the -m32/-m64 options to winebuild too. 2009-02-04 20:10:49 +01:00
Alexandre Julliard dca163290d winebuild: Search for the as/ld/nm tools in the PATH under various names. 2009-02-04 19:37:13 +01:00
Alexandre Julliard 0e954b14eb winebuild: Append the correct options for as and ld when forcing a 32/64-bit build. 2009-02-04 19:33:49 +01:00
Alexandre Julliard d07f67acbc winebuild: Determine the appropriate as/ld/nm commands at the time they are needed. 2009-02-04 19:31:54 +01:00
Marcus Meissner fc3b99b90a wrc: Free type to avoid leaks (Coverity). 2009-02-02 15:21:44 +01:00
Alexandre Julliard 3472939255 winegcc: Support -b option for cross-compiling. 2009-02-02 15:21:36 +01:00
Alexandre Julliard 9e04ecd9de winegcc: Make platform-specific behaviors depend on variables instead of #ifdefs. 2009-02-02 12:19:11 +01:00
Rob Shearman d3085abc08 Change parameter type from size_t to SIZE_T for MIDL_user_allocate. 2009-02-02 11:55:21 +01:00
Aric Stewart 648094f119 wine.inf: Add reg.exe as a stub to system32 now that it does something. 2009-01-29 12:18:12 +01:00
Austin English f49a8a6242 tools/wine.inf: Add a placeholder for stdole2.tlb. 2009-01-27 11:18:38 +01:00
Alexandre Julliard d02f9d1804 widl: We need an offset after the correlation descriptor for unencapsulated unions. 2009-01-23 16:47:51 +01:00
Austin English e5418e194a widl: Fix a compiler warning. 2009-01-20 12:30:50 +01:00
Alexandre Julliard 913e792b57 server: Store process/thread affinity as a 64-bit value. 2009-01-19 14:15:51 +01:00
Alexandre Julliard 7f1dc355ec server: Generate padding in request structures from make_requests.
Add compile-time asserts to check that the structures have the expected layout.
2009-01-19 14:01:39 +01:00
Rob Shearman 28ee1ee90f widl: Add new type_get_type and type_get_real_type_type functions.
Use these to implement a few helper functions. Change the type
verification in type accessor functions to use these new functions.
2009-01-19 13:36:26 +01:00
Rob Shearman bdb1321544 widl: Add a new function, type_alias_get_aliasee to wrap the retrieval of the type that the alias aliases. 2009-01-19 13:36:26 +01:00
Henri Verbeet 43f469ec6a d3d10core: Implement device_parent_CreateSurface(). 2009-01-19 13:36:25 +01:00
Alexandre Julliard 07f77c4148 winebuild: Add -m32/-m64 options to allow 32/64-bit cross-compiles. 2009-01-15 21:17:51 +01:00
Francois Gouget a17f48219a widl: Add a trailing '\n' to an error() message. 2009-01-14 14:52:21 +01:00
Alexandre Julliard 034a7f8849 winebuild: Add -b as a short option for --target for gcc compatibility. 2009-01-14 12:52:53 +01:00
Dmitry Timoshkov c34b64d6d9 wrc: Warn for duplicate dialog ids. 2009-01-14 12:22:40 +01:00
Michael Karcher 1c56d293f0 widl: Dereference operator in expr works on any declared pointer. 2009-01-12 16:53:18 +01:00
Michael Karcher f80e4aa9d2 widl: Don't forget conformance info on [iid_is] void pointers. 2009-01-12 16:53:18 +01:00
Michael Karcher 8092e85ece widl: Fix handling of [local] functions without [call_as]. 2009-01-12 16:53:18 +01:00
Alexandre Julliard c31a36412c makedep: Copy the makefile to append dependencies instead of truncating in place. 2009-01-12 14:43:15 +01:00
Andrey Turkin a0f681ad4c ntoskrnl: Add version resource. 2009-01-12 14:37:40 +01:00
Michael Stefaniuc 9192297345 widl: Move "inline" right after the storage class specifier. 2009-01-10 17:43:11 +01:00
Michael Karcher 656de48e4e widl: Write struct fields as signed fields. 2009-01-08 14:11:35 +01:00
Michael Karcher 5f7886925d widl: Make write_base_type take a format char instead of a type desc ptr. 2009-01-08 14:05:00 +01:00
Francois Gouget 581e390115 winapi_test: The tests don't support WIN64 yet so disable them there. 2009-01-08 12:47:22 +01:00
Francois Gouget 411f5d22c0 winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong. 2009-01-08 12:46:39 +01:00
Francois Gouget 9f62c9b7a8 winapi_test: Fix TEST_FIELD() so it correctly tests the field size. 2009-01-08 12:44:49 +01:00
Francois Gouget 43c18c1321 winapi_test: FIELD_ALIGNMENT() is redundant so remove it. 2009-01-08 12:43:15 +01:00
Francois Gouget 2e668d2572 winapi_test: Updated so the generated tests work. 2009-01-08 12:42:12 +01:00
Rob Shearman 1d8dbeff9a widl: Make the case of messages output by warning and error functions consistent.
Standardise on lower case "warning" and "error", since they match the
case of what gcc prints.
2009-01-07 14:41:31 +01:00
Damjan Jovanovic 3613b15785 winex11: Support the startup notification fd.o spec. 2009-01-07 14:17:46 +01:00
Rob Shearman 77228b52e6 widl: Determine the type of an array entirely at code generation time instead of at parse time.
Previously, this was done partially (for fixed array types only).
2009-01-07 12:27:14 +01:00
Alexandre Julliard 465ddc51dc winebuild: Implement register entry points for x86_64. 2009-01-06 17:01:44 +01:00
Alexandre Julliard 83fc73395d winedump: Implement dumping of relocations. 2009-01-06 15:11:47 +01:00
Alexandre Julliard d6617258b7 winedump: List exported functions sorted by ordinal. 2009-01-06 15:11:06 +01:00
Rob Shearman 8a976a7d78 widl: Replace uses of get_func_return_type with type_function_get_rettype.
Also replace direct accesses into the type structure to get the return
type of a function with the same function.
2009-01-06 14:36:25 +01:00
Rob Shearman 9b139018cf widl: Add new function, type_iface_get_stmts.
Use it to retrieve statements contained in interface types.
2009-01-06 12:58:41 +01:00
Rob Shearman 8fc59d0ead widl: Add a new function, type_iface_get_inherit.
Use it for retrieving the parent interface for interfaces.
2009-01-06 12:58:33 +01:00
Rob Shearman 67ac03ae4e widl: Add a new function, type_pointer_get_ref.
Use it for retrieving the type that a pointer refers to.
2009-01-06 12:58:25 +01:00
Rob Shearman 2b87d269e1 widl: Add a new function, type_array_get_element.
Use it whenever retrieving the element type of an array.
2009-01-06 12:58:13 +01:00
Rob Shearman 8a42bc1f7b widl: Move the ifaces field of the type_t structure to coclass details. 2009-01-06 12:58:01 +01:00
Rob Shearman 83b1f08117 widl: Add function for getting the interfaces defined by a coclass type.
Split out the defining of coclass types in the parser into a function.
2009-01-06 12:57:56 +01:00
Rob Shearman 1f519e17cc widl: Don't store typelib kind information in the type structure.
It can trivially be derived from the type field now.
2009-01-06 12:57:31 +01:00
Rob Shearman 64520ecdc7 widl: Move creation of module type into a separate function, type_new_module and give it a special FC type. 2009-01-06 12:57:15 +01:00
Rob Shearman 8b326c4ff8 widl: Move duptype and alias to parser.y.
Make duptype static and rename alias to type_new_alias.
2009-01-06 12:57:02 +01:00
Rob Shearman cb8d3322be widl: Add new type_is_alias and type_get_real_type helper functions.
Use type_is_alias to replace cumbersome "type->kind == TKIND_ALIAS" expressions.
Use type_get_real_type to simplify some code.
2009-01-06 12:56:51 +01:00
Rob Shearman 200ec53835 widl: Access array type properties through accessors instead of getting them directly.
Store array type properties in the details union to save a bit of
memory and to make the general properties more obvious.
2009-01-06 12:56:33 +01:00
Rob Shearman 901a42b7f9 widl: Move funcs and stmts fields from type_t structure to module_details and function_details. 2009-01-06 12:56:15 +01:00
Rob Shearman b1f8560ae0 widl: Do the consistency checks on interfaces after parsing is complete. 2009-01-06 12:53:49 +01:00
Alexandre Julliard e31188d9da winebuild: Improve the calling sequence for register functions.
Pass parameters on the stack instead of retrieving them from the code
stream; this ensures that the code contains only valid instructions.
2009-01-06 12:51:18 +01:00
Rob Shearman d2c4ff2305 widl: Add aliased types to the typelib for statements in the library block if the typedef itself doesn't need to be added.
Otherwise, the order of types in the typelib will be wrong or types
will be missing.
2009-01-03 14:55:31 +01:00
Rob Shearman 10a422ae14 widl: Use is_string_type instead of is_attr(..., ATTR_STRING) for detecting strings.
Detecting strings is a bit harder than just looking for the string
attribute, so make sure to use the function which has the purpose of
doing just that.

Fixes compilation of generated server/proxy code when a parameter has
both the [out] and [string] attributes.
2009-01-02 14:27:43 +01:00
Michael Karcher 2fe1f36793 widl: Recurse search for need of delegation.
If any ancestor of an interface needs delegation, the interface itself
has holes in the vtables and thus needs delegation, too.
2009-01-02 12:53:20 +01:00
Alexandre Julliard 8c8c665a3c server: Reorganize some requests to avoid padding, and make remaining padding explicit. 2008-12-31 15:14:29 +01:00
Alexandre Julliard 0c914e475d server: Make atom_t an unsigned int to avoid padding issues. 2008-12-31 15:09:59 +01:00
Alexandre Julliard fa8643805b server: Make TEB and PEB client_ptr_t instead of void pointers. 2008-12-31 15:09:59 +01:00
Rob Shearman 36c03f6a94 widl: Remove duplicate pointer handling code in get_struct_type.
Only make the structure complex if there is an interface pointer, not
if there is a pointer to a union or complex struct since these are
handled perfectly well by the pointer marshalling code.

Fix the detection of structures with ref-pointers or pointers in 64-bit code.
2008-12-31 12:35:49 +01:00
Rob Shearman c6e7609b01 widl: Don't add NULL pointer checks in generated code for user types. 2008-12-31 12:30:40 +01:00
Alexandre Julliard 6db201080f server: Make the various async I/O parameters client_ptr_t instead of void pointers. 2008-12-30 21:09:41 +01:00
Alexandre Julliard c86ec6445c server: Make a couple of fields smaller in the apc_call_t/apc_result_t structures. 2008-12-30 15:22:45 +01:00
Alexandre Julliard 838803ce24 server: Make the address parameters in inter-process virtual memory calls client_ptr_t.
Add explicit padding fields in the corresponding structures.
2008-12-30 15:05:38 +01:00
Alexandre Julliard 947976f22c server: Store module names as client_ptr_t instead of void pointers. 2008-12-29 17:10:11 +01:00
Alexandre Julliard f2c4e09e80 server: Make module handles always 64-bit. 2008-12-29 16:47:51 +01:00
Alexandre Julliard cb2788efaf server: Add a module_handle_t type to represent client-side module handles. 2008-12-29 16:41:44 +01:00
Rob Shearman 6b955b514d widl: Generate header files from the parse tree instead of using hooks in the parser. 2008-12-29 14:54:34 +01:00
Rob Shearman bf5a9cb61e widl: Write the local stubs file based on the parsed list of statements, rather than using hooks in the parser code. 2008-12-29 14:47:03 +01:00
Rob Shearman 7d7dd182c1 widl: Write the generated file containing IID, DIID, CLSID and LIBID data based on the parsed list of statements instead of using hooks in the parser code. 2008-12-29 14:46:41 +01:00
Rob Shearman 5223d04a7c widl: Write the typelib based on the statement list generated in the typelib_t object instead of using hooks in the parser code. 2008-12-29 14:46:27 +01:00
Rob Shearman 1a71479fbd widl: Create a separate type_t object for each structure declaration or defintion.
Set the details of the structure to the previously defined version if
available, or add it to a list of incomplete types otherwise. Only set
the defined flag when the structure is actually defined in the IDL
file so that the type is written out in the exact order that it is
mentioned in the file.
2008-12-29 14:46:02 +01:00
Rob Shearman efdd020514 widl: Don't create a temporary variable in the t_ident rule.
The identifier doesn't have any properties of a variable and we only
use it for holding the name before it is freed.

Use get_type instead of get_typev in the type_new_* functions and get
rid of get_typev.
2008-12-29 14:45:28 +01:00
Rob Shearman 213f32744f widl: Store the type-specific information in a union in the type_t structure.
Use pointers for the information for structures, enumerations,
functions and interfaces so that we can determine whether or not the
type has been defined yet and to enable more information to be stored.
2008-12-29 14:45:16 +01:00
Rob Shearman 04a22cc412 widl: Hide the details of where arguments, fields, values and cases are stored in the type_t structure for functions, structures, enums and unions. 2008-12-29 14:42:47 +01:00
Rob Shearman fbffe4a229 widl: Follow aliases in check_remoting_fields so that the fields for the type are correctly enumerated. 2008-12-29 14:42:18 +01:00
Vitaliy Margolen 8a0318c0b4 dxdiagn: Add dxdiagn.dll to DxDiag_DirectXFiles container. Create fake dll for it as well. 2008-12-29 11:47:53 +01:00
Rob Shearman 2e0aefc1fd widl: Structures and arrays with pointers should be complex when generating code for 64-bit platforms.
The non-complex variants depend on the wire size of the
structure/array matching the buffer size, but this no longer applies
when pointers are 8 bytes instead of 4.
2008-12-27 20:23:19 +01:00
Alexandre Julliard 01722d6010 winebuild: Generate relay debugging thunks for x86_64. 2008-12-27 19:59:55 +01:00
Alexandre Julliard 913354e75b winebuild: Fix delay load code to preserve stack alignment and save the correct registers. 2008-12-27 19:58:42 +01:00
Alexandre Julliard 8a87aaa9d9 winebuild: Generate the __wine_call_from_32_regs function along with the 16-bit kernel routines. 2008-12-27 19:50:25 +01:00
Alexandre Julliard 53626dbd93 widl: Add support for generating 32-bit and/or 64-bit code for proxies/clients/servers. 2008-12-26 17:22:25 +01:00
Alexandre Julliard b1ab7d88b3 widl: Add --win32/--win64 options to select the type of code generated. 2008-12-26 17:21:12 +01:00
Alexandre Julliard 9ca1382eae widl: Store the size of a pointer in a variable instead of hardcoding the value of the host compiler. 2008-12-26 17:20:53 +01:00
Alexandre Julliard a011f0cd5b widl: Move determination of the exact type of structures and array to the code generation phase.
The exact type can depend on the size of the type in memory, and that
can vary depending on whether we are generating 32-bit or 64-bit code.
2008-12-26 17:16:06 +01:00
Alexandre Julliard a7b3efde0e server: Store the async handle inside the async_data_t structure. 2008-12-26 12:33:21 +01:00
Alexandre Julliard 3cd817b53e server: Make lparam_t always 64-bit. 2008-12-24 19:57:51 +01:00
Dan Kegel c069474e18 tools: Remove bashisms from wineinstall. 2008-12-24 19:57:51 +01:00
Simon C. Ion 7b5cbdb261 winemaker: Correctly process directories containing regexp metacharacters. 2008-12-20 10:59:24 +01:00
Alexandre Julliard a6216ab927 server: Make apc_param_t always 64-bit. 2008-12-17 19:43:40 +01:00
Alexandre Julliard 29d9759156 server: Use mem_size_t instead of file_pos_t for memory mapping sizes. 2008-12-17 19:25:49 +01:00
Alexandre Julliard 401f4b717a server: Make mem_size_t always 64-bit. 2008-12-17 19:25:09 +01:00
Francois Gouget 5e3e05e043 winapi_check: Extend support for '-arch=xxx' in spec files. 2008-12-17 15:29:03 +01:00
Francois Gouget bfa7fded98 wrc: Add a trailing '\n' to some warning and error messages. 2008-12-17 15:27:16 +01:00
Hans Leidekker 0c9b2c3201 wuapi: Register interfaces. 2008-12-17 13:52:42 +01:00
Hans Leidekker 6a204001ce wine.inf: Create fake hal.dll. 2008-12-16 13:59:07 +01:00
Alexandre Julliard ce63574425 winebuild: Generate stub entry points for x86_64. 2008-12-16 12:20:30 +01:00
Alexandre Julliard 34613835a7 widl: Use ULONG_PTR instead of unsigned long for pointer casts in generated code. 2008-12-15 20:08:39 +01:00
Alexandre Julliard f6fa72d770 server: Make async I/O transfer sizes always 32-bit. 2008-12-15 13:30:25 +01:00
Alexandre Julliard dc7f170495 server: Add an apc_param_t type to store APC client-side parameters. 2008-12-15 13:29:38 +01:00
Francois Gouget ea79b297f5 winapi_check: Add support for '-arch=xxx' in spec files. 2008-12-15 12:25:12 +01:00
Alexandre Julliard f12e9a026b winegcc: Fix the file mode check. 2008-12-12 12:01:46 +01:00
Alexandre Julliard f4ec583d0a tools: Keep track of requests sizes and alignments in make_requests. 2008-12-10 17:15:51 +01:00
Alexandre Julliard 37f3691f7f tools: Re-use the file updating routines from make_makefiles in make_requests. 2008-12-10 17:13:30 +01:00
Alexandre Julliard 31282b3f63 server: Define an lparam_t type for message parameters that can hold all sorts of data. 2008-12-10 16:01:50 +01:00
Alexandre Julliard 77cf8034e4 server: Don't use size_t for module sizes, they are limited to 2Gb anyway. 2008-12-09 11:50:05 +01:00
Alexandre Julliard fa616418ad winebuild: Make the cpu flag more generic to allow supporting a given entry point on multiple platforms. 2008-12-08 17:07:50 +01:00
Alexandre Julliard d764107434 server: Make user handles ints instead of pointers. 2008-12-08 16:57:38 +01:00
Alexandre Julliard 014dcb81e8 widl: Use local functions where possible instead of STUB_FORWARDING_FUNCTION in stub vtables. 2008-12-08 16:05:38 +01:00
Alexandre Julliard 0d3d456bd0 server: Make object handles ints instead of pointers. 2008-12-08 16:04:20 +01:00
Francois Gouget a70fbaeec7 fnt2bdf: Remove unneeded casts of zero. 2008-12-08 12:04:54 +01:00
Andrew Talbot d7f9d92b47 widl: Remove unneeded address-of operators from function names. 2008-12-08 11:27:53 +01:00
Andrew Talbot e05b8aa301 widl: Remove unneeded address-of operators from array names. 2008-12-08 11:27:50 +01:00
Alexandre Julliard 3343c408cb server: Convert the registry key modification time to a win32-style time. 2008-12-06 17:29:01 +01:00
Alexandre Julliard a5f1e9b62c fnt2bdf: Get rid of useless string constants. 2008-12-05 12:36:05 +01:00
Vincent Povirk 479f5a1b21 widl: Fix string format warning.
yyerror takes a single string argument, not a format string.
2008-12-05 12:30:31 +01:00
Alexandre Julliard 9f1cf1c263 winebuild: Don't add stdcall decorations on non-x86 platforms. 2008-12-03 22:37:07 +01:00
Alexandre Julliard 9bf60549a5 widl: Sort the proxy interfaces by iid and use a binary search in IID_Lookup. 2008-12-01 16:25:45 +01:00
Alexandre Julliard 61d600f42f widl: Output vtable information even for interfaces that don't define new functions. 2008-12-01 14:51:17 +01:00
Alexandre Julliard 36519069b3 widl: Don't define PROXY_DELEGATION unconditionally. 2008-12-01 14:45:43 +01:00
Alexandre Julliard 0ad28a8592 widl: Make the generated global variables and functions hidden. 2008-12-01 14:39:39 +01:00
Rob Shearman cc51c30a63 widl: Fix optimisation for writing out ref pointers to simple structs and base types.
The optimisation in write_remoting_arg for sizing, marshalling,
unmarshalling and freeing ref pointers to base types directly was
broken in d458a599eb and caused
unnecessary calls to pointer marshalling functions.

The same was true for a similar optimisation for simple structures
where their size can be pre-calculated, freeing omitted and the
NdrSimpleStructMarshall/Unmarshall functions called directly instead
of calling NdrPointerMarshall/Unmarshall first.

Fix this by looking at the type of the referrent instead of the type
of the pointer, making sure to not classify user types as simple
structures.

Additionally remove some dead code that would never be executed
because the code is in an RPC_FC_RP case, inside a !is_ptr if block
(and RPC_FC_RP is a pointer type).
2008-12-01 12:46:46 +01:00
Rob Shearman 41152b7929 widl: Output the correct buffer size required for parameters whose sizes are known at type-generation time.
Replace code to calculate the size of RPC_FC_STRUCT types with
fields_memsize since the memory size of these types will always be
equal to the buffer size.

Remove dead code in get_required_buffer_size.
2008-12-01 12:46:19 +01:00
Alexandre Julliard 584d2c9118 widl: Do not make the stub vtbl const for delegating interfaces since it needs to be patched up at run-time. 2008-12-01 11:30:05 +01:00
Alexandre Julliard cb7a0da5db widl: Fix the handling of proxy delegation.
Generate a BaseIIDList for delegated interface, and point directly to
the methods that have been defined in the same file instead of
delegating them.
2008-11-28 12:55:59 +01:00
Francois Gouget b3bf746ff9 Straighten out some ellipses. 2008-11-26 12:33:34 +01:00
Maarten Lankhorst cd360cc007 tools: Add calling conventions for win64 to winegcc. 2008-11-26 12:07:50 +01:00
Alexandre Julliard 0b7478a79f widl: Make sure format strings for structure and union types are only output once. 2008-11-25 21:47:47 +01:00
Henri Verbeet a6917b143d wined3d: Use IDL to generate wined3d.h. 2008-11-25 13:37:22 +01:00
Maarten Lankhorst 1fcc33451a winebuild: Use ms-abi for delayed load stubs. 2008-11-25 12:33:22 +01:00
Francois Gouget 28b97861b9 wrc: parser_error() does not need a trailing '\n'. 2008-11-25 11:50:15 +01:00
Alexandre Julliard 35078f4b57 configure: Add a --disable-tests option to avoid building regression tests. 2008-11-21 10:16:12 +01:00
Alexandre Julliard 88154cf166 make_makefiles: Add a target to build only the test directories. 2008-11-19 15:31:44 +01:00
Daniel Zimmermann 89cf227601 widl: Fix check for interface type in get_size_procformatstring. 2008-11-18 14:05:22 +01:00
Andrew Talbot 08c6f507b8 widl: Remove superfluous semicolons. 2008-11-17 13:11:47 +01:00
Damjan Jovanovic 4e2cec5aba winemenubuilder: Moved all wineshelllink functionality to winemenubuilder and removed wineshelllink. 2008-11-12 11:49:12 +01:00
Dmitry Timoshkov d560b7bbb0 widl: Make the generated string pointers const as well. 2008-11-11 11:40:50 +01:00
Eric Pouech 721b88f603 winedump: Print detailed information about class/struct properties. 2008-11-10 11:59:17 +01:00
Michael Stefaniuc df17fcdafb make_requests: Do not generate code that casts zero to a pointer. 2008-11-05 10:56:22 +01:00
Alexandre Julliard 87e12632fa wrc: Fix the duplicate resource check for user-defined types. 2008-11-04 10:07:07 +01:00
Damjan Jovanovic 26fcfb4b24 winemenubuilder: Generate icons in winemenubuilder instead of wineshelllink. 2008-11-03 15:05:18 +01:00
Michael Stefaniuc 922a336063 winedump: Remove casts of void pointers to other pointer types. 2008-11-03 13:38:30 +01:00
Huw Davies 2e3e696a2c wrc: Include errno.h. 2008-10-20 22:33:43 +02:00
Huw Davies 81bab55a94 widl: Include errno.h. 2008-10-20 22:33:40 +02:00
Rob Shearman e3afab2691 wrc: Don't accept "0" as a valid codepage in "#pragma code_page" directives. 2008-10-20 11:37:27 +02:00
Austin English 7e4fc8cb35 wineinstall: Remove bashisms, make sh compatible. 2008-10-20 11:37:26 +02:00
Rob Shearman d1c1543893 wrc: Check for overflows when parsing integer constants. 2008-10-18 19:33:28 +02:00
Rob Shearman cb3ea6843c widl: Check for overflow when parsing integer constants. 2008-10-18 19:33:18 +02:00
Alexandre Julliard f80cd0db71 tools: Convert source files to utf-8. 2008-10-18 19:22:54 +02:00
Rob Shearman 9898d437ef msvcmaker: Generate rules for IDL_C_SRCS, IDL_S_SRCS, IDL_P_SRCS and IDL_TLB_SRCS. 2008-10-17 14:24:54 +02:00
Alexandre Julliard 0d9078a96c make_makefiles: Add support for .rh files. 2008-10-17 12:35:33 +02:00
Reece Dunn 23787fc7d9 msvcmaker: The Visual Studio project conversion tool requires a configuration type. 2008-10-15 14:02:27 +02:00
Dylan Smith a9b2ee2afb runtest: Fixed regression that prevented using just the -h option. 2008-10-14 13:41:56 +02:00
Alexandre Julliard d4f107f54b comcat: Moved dll registration to ole32. 2008-10-11 13:08:22 +02:00
Alexandre Julliard b4b8a342d7 widl: Add support for attributes on enum, struct and union definitions. 2008-10-10 12:54:05 +02:00
Rob Shearman a4e4e27f48 msvcmaker: Don't automatically add a define for the DLL name.
Use EXTRADEFS from the Makefile.in instead.
2008-10-09 14:20:48 +02:00
Rob Shearman 86ffc2b59f msvcmaker: Don't generate project files for DLLs that can't be compiled with MSVC. 2008-10-09 14:20:27 +02:00
Dylan Smith 443bfc99ad runtest: Let the test program handle the lack of a test name. 2008-10-08 13:40:38 +02:00
Dylan Smith 634052e4d8 runtest: Modified the default program so that it might find the test program. 2008-10-08 13:38:32 +02:00
Dylan Smith 8d88fe6d4d runtest: More helpful error when top of wine directory isn't found. 2008-10-08 13:23:15 +02:00
Andrew Nguyen f55a2a4eb5 wine.inf: Add entry for fake wintab32.dll. 2008-10-02 10:41:54 -05:00
Dmitry Timoshkov 47ecb4882f wine.inf: Correct the Pacific SA Standard Time entry. 2008-10-02 10:28:27 -05:00
Eric Pouech ac42ebb5dc winedump: First stab at dumping the "new" line information out of pdb files. 2008-10-01 09:50:59 -05:00
Eric Pouech f8380ba37a winedump: Now dumping codeview source line information. 2008-10-01 09:50:43 -05:00
Eric Pouech da6d5eaa8b winedump: Improved a bit the MS Tool V3 description. 2008-10-01 09:50:13 -05:00
Eric Pouech 81df3de0fc dbghelp,winedump: Added support for symbol symbol. 2008-10-01 09:50:02 -05:00
Eric Pouech 028956d1fe dbghelp,winedump: Added support for symbol 0x113c. 2008-10-01 09:49:54 -05:00
Eric Pouech 82d1845d85 dbghelp,winedump: Added support for 0x113d symbol. 2008-10-01 09:49:45 -05:00
Eric Pouech cff33cedf5 winedump: Add preliminary dumping of 0x1136 and 0x1137 symbols. 2008-10-01 09:49:24 -05:00
Eric Pouech ff1767863f winedump: Dump a bit more of information from procedures. 2008-10-01 09:49:10 -05:00
Eric Pouech 3333ea8dc6 winedump: Added support for dumping long long constants. 2008-10-01 09:48:56 -05:00
Eric Pouech 076dcc845f dbghelp,winedump: Added support for symbol 0x1012. 2008-10-01 09:48:32 -05:00
Eric Pouech ee4aaf7fcd dbghelp,winedump: Added support for symbol 0x113a. 2008-10-01 09:48:20 -05:00
Rob Shearman 8a6f1655d8 winebuild: Declare fatal_error and fatal_perror as non-returning functions. 2008-09-30 10:20:05 -05:00
Rob Shearman b1fccd9da9 msvcmaker: Define _USE_MATH_DEFINES so that M_PI and other constants are defined when including <math.h>. 2008-09-29 17:21:27 -05:00
Rob Shearman 07ca2b4527 msvcmaker: Fix detection of static libraries.
Also don't generate a custom build step for the .spec file for static
libraries, since they don't have a .spec file.
2008-09-29 17:21:22 -05:00
Rob Shearman f32ec6430b msvcmaker: Generate include project and make every wine module depend on it.
The include project generates .h files from .idl files so that they
can be used when compiling the modules.
2008-09-29 17:21:16 -05:00
Rob Shearman 0b334e04df msvcmaker: Generate .h files from .idl files specified in IDL_H_SRCS makefile rules. 2008-09-29 17:21:05 -05:00
Rob Shearman e842164cb8 msvcmaker: Fix invocation of winebuild to generate compatible .def files. 2008-09-29 17:20:59 -05:00
Rob Shearman 5376d37f55 msvcmaker: Add support for building wine.lib. 2008-09-29 17:19:57 -05:00
Rob Shearman e713f4bf4f msvcmaker: Update the function list for which HAVE_* defines are written into config.h.
Remove all functions for which the HAVE_ define is not used anywhere.

Add _strdup, _strtoi64 _strtoui64, chsize, strdup and vsnprintf which
are all present in MSVC headers.
2008-09-29 17:19:52 -05:00
Rob Shearman 1ab076626d msvcmaker: Remove the defining of __ASM_SHORT and __ASM_STRING in the generated config.h file.
These defines aren't needed. Move the X_DISPLAY_MISSING and __ASM_*
defines to after the PACKAGE_* defines to match config.h.in.
2008-09-29 17:19:46 -05:00
Rob Shearman efe81dd8ed msvcmaker: Update the HAVE_* defines for headers in the generated config.h file.
Update list of headers present in the MSVC build environment. fcntl.h
isn't detected by configure and so isn't needed.
2008-09-29 17:19:33 -05:00
Rob Shearman c71d16c3e9 msvcmaker: Add HAVE_* defines for some types present in the MSVC build environment. 2008-09-29 17:19:22 -05:00
Rob Shearman fb4355cb5b msvcmaker: Factor out some common settings.
Factor out writing of common compiler settings and setting of common defines.

Factor out the writing of HAVE_* defines in include/config.h and sort
the resulting defines before writing.
2008-09-29 17:19:15 -05:00
Rob Shearman d7a5ff025e msvcmaker: Fix generated imports for Wine modules and link with delayed imports. 2008-09-29 17:19:04 -05:00
Rob Shearman 6d11ecfff4 msvcmaker: Fix the generated filename for the spec file for modules with extensions other than .dll. 2008-09-29 17:18:58 -05:00
Rob Shearman 1b2cead10b msvcmaker: Fix the arguments passed to winebuild to generate the .def file. 2008-09-29 17:18:51 -05:00
Rob Shearman 6b3b7eb6a2 msvcmaker: Define USE_COMPILER_EXCEPTIONS and HAVE_SPAWNVP. 2008-09-29 17:18:39 -05:00
Juan Lang f5bdc72c49 tools/wine.inf: Register cryptdlg. 2008-09-19 12:09:23 +02:00
Rob Shearman 2e8dec4115 widl: Don't automatically add DUMMYUNIONNAME and DUMMYSTRUCTNAME names to anonymous unions and structs.
It doesn't match what MIDL does.
2008-09-18 14:18:28 +02:00
Alexandre Julliard f203263528 widl: Remove unnecessary casts in the generated code. 2008-09-15 19:40:51 +02:00
Alexandre Julliard cdfec4da31 widl: Implemented RpcAbnormalTermination in the generic exception handling code. 2008-09-15 18:18:16 +02:00
Alexandre Julliard 654e78aa38 widl: Implemented __finally support in client functions. 2008-09-15 18:03:56 +02:00
Alexandre Julliard 0f12f358cd widl: Implemented __finally support in server functions. 2008-09-15 18:03:49 +02:00
Alexandre Julliard 3bab54cf04 widl: Implemented __finally support in stub functions. 2008-09-15 18:03:44 +02:00
Alexandre Julliard b8fb66c71a widl: Separate declaration and initialisation for indirect arguments. 2008-09-15 16:46:33 +02:00
Alexandre Julliard bf011b0f53 widl: Infrastructure for adding a prefix to local variable references. 2008-09-15 16:46:01 +02:00
Alexandre Julliard 3bdaba2a93 widl: Make the exception handling macros more general and use the same code everywhere. 2008-09-15 14:05:26 +02:00
Alexandre Julliard 1218aff94d widl: Create an explicit structure for the function frame of all generated functions.
Store _StubMsg in the frame structure since it's needed for exception handling.
2008-09-15 14:02:26 +02:00
Rob Shearman e0dd72162a widl: Remove redundant code.
dispinterfaces now have a type of RPC_FC_IP instead of 0, so this code
will never be reached.
2008-09-11 11:45:33 +02:00
Rob Shearman 39978c68f9 widl: Fix the writing typedefs to dispinterfaces and pointers to interfaces.
Currently, stdole2.tlb isn't generated correctly and causes "<failed>"
to appear instead of "FontEvents" in the IFontEventsDisp typedef when
viewed with oleview.

The problem is that the typedef should just generate a VT_USERDEFINED
record, but ends up generating a VT_PTR -> VT_USERDEFINED. So remove
the extra writing of VT_PTR entries.

Fix the skipped pointers checks in encode_type and encode_type to
specifically detect VT_UNKNOWN and VT_DISPATCH types which don't need
one level of pointers, whereas interfaces encoded as VT_USERDEFINED
do.
2008-09-10 10:55:34 +02:00
Austin English bfc34a3c9c widl: Remove unreached code (Smatch). 2008-09-10 10:55:11 +02:00
Steven Edwards 6bdfc2fa2c widl: Open files in binary mode to avoid corruption from text mode on Windows. 2008-09-10 10:40:18 +02:00
Alexandre Julliard 1abf809099 winebuild: Generate MS-style imports using the OriginalFirstThunk field. 2008-09-04 21:52:58 +02:00
Louis Lenders 9c2ca354c2 wine.inf: Add default Directx registry key for InstalledVersion. 2008-09-04 11:17:30 +02:00
Dan Hipschman a41de877da widl: Output NULL for inherited methods in the vtbl. 2008-09-02 18:01:53 +02:00
Eric Pouech f3c071660d winedump, dbghelp: Correctly name the age field in PDB headers. 2008-09-02 11:57:04 +02:00
Alexandre Julliard 5ce606e834 widl: Add support for finally function in proxy methods. 2008-08-30 11:25:22 +02:00
Alexandre Julliard 29e20b869c widl: Replace write_name() by get_name() to make the code more readable. 2008-08-30 11:15:04 +02:00
Alexandre Julliard deccfeec9a winetest: Build the test list from the makefile instead of make_makefiles. 2008-08-28 12:17:42 +02:00
Alexandre Julliard 67828b60e0 configure: Build the winetest dependencies in configure instead of make_makefiles. 2008-08-28 12:09:46 +02:00
Rob Shearman 6f2687a389 widl: Raise RPC_X_SS_IN_NULL_CONTEXT exception for NULL in-only context handles instead of RPC_X_NULL_REF_PTR.
Based on a patch by Michael Martin.
2008-08-27 13:21:21 +02:00
Alexandre Julliard 6de0af1eac configure: Generate the list of top-level directories to install. 2008-08-25 14:41:03 +02:00
Alexandre Julliard b3ec2e5f95 makefiles: Recurse into all directories for install-lib and install-dev too. 2008-08-25 14:27:03 +02:00
Alexandre Julliard 4051eaf7c9 configure: Allow multiple variables in makefile output, and generate the programs directory lists. 2008-08-25 12:14:54 +02:00
Alexandre Julliard dbb535e4e9 configure: Use the generic directory enabling mechanism to turn off dlls that depend on external libraries. 2008-08-25 12:12:28 +02:00
Alexandre Julliard 49163da1d1 configure: Generate the dlls directory lists in configure instead of make_makefiles. 2008-08-25 12:02:27 +02:00
Alexandre Julliard a360e93430 configure: Generate the makefiles list in configure instead of make_makefiles. 2008-08-21 11:13:57 +02:00
Hongbo Ni e0df1b9e57 msvcmaker: Fix msvc project file generation under MinGW32.
When converting a makefile to a msvc .dsp file, if a line is ended with
a back slash, it will be joined with next line. This patch changes the
joining character from '\n' to a space in order to fix the bug of 
running MinGW32 on Windows.
2008-08-20 11:45:59 +02:00
Dan Hipschman 790e6dcd29 widl: Honor typedef pointer attributes. 2008-08-18 14:34:10 +02:00
Juan Lang 1eb0d92780 tools/wine.inf: Register msisip.dll. 2008-08-01 11:38:01 +02:00
Roy Shea 6e5bfbfe17 mstask: Implemented DllRegisterServer. 2008-07-29 12:50:35 +02:00
Alexandre Julliard 3ae17fa003 wine.inf; Don't overwrite path and temp dir environment variables on upgrades. 2008-07-28 12:05:09 +02:00
Owen Rudge f4e6489edb appwiz.cpl: Add skeleton Add/Remove Programs control panel. 2008-07-25 12:29:22 +02:00
Alexandre Julliard d96e3964b7 make_makefiles: Explicitly list the Wine headers that should be exported. 2008-07-23 11:40:43 +02:00
Alexandre Julliard e468ab3585 winegcc: Add support for specifying section alignment on Solaris. 2008-07-22 13:27:07 +02:00
Alexandre Julliard b24b2d584e winebuild: Don't put the PE header in the .init section on Solaris. 2008-07-22 13:26:45 +02:00
Alexandre Julliard a3f42116da winebuild: Add Solaris as a separate platform. 2008-07-22 13:26:30 +02:00
Dan Kegel d18cd89567 tools: Allow running tests with valgrind. 2008-07-21 14:37:02 +02:00
Maarten Lankhorst 61ba32c036 includes: Add video mixing renderer header. 2008-07-11 14:50:44 +02:00
Alexandre Julliard 26c930b32d make_makefiles: Add rules for cross-compiling all import libs from the dlls directory. 2008-07-09 11:55:00 +02:00
Alexandre Julliard e9a34e919e make_makefiles: Add more wildcard patterns in .gitignore. 2008-07-09 11:53:03 +02:00
Alexandre Julliard 28a2179dd6 Add noinput directive to all lex files to avoid a compiler warning. 2008-07-07 12:31:33 +02:00
Alexandre Julliard c0ebae42f1 widl: Fix a couple of uninitialized variable compiler warnings. 2008-07-07 12:16:51 +02:00
Rob Shearman 90d633cdd1 widl: Remove some unnecessary calls to duptype. 2008-07-07 12:11:23 +02:00
Rob Shearman ed0c013849 widl: Rename find_type_helper, find_type and find_type2 to find_type, find_type_error and find_type_error2 respectively. 2008-07-07 12:11:23 +02:00
Rob Shearman 666b57d62f include: Remove unused file wine/rpcss_shared.h. 2008-07-07 11:11:02 +02:00
Jon Griffiths dcabc064fc c2man: Don't mangle 'dll' when its part of another word. 2008-07-04 19:35:33 +02:00
Alexandre Julliard d8202087c7 makedep: Add dependencies on wine/exception.h for widl-generated files. 2008-07-03 13:08:19 +02:00
Alexandre Julliard d6e76274d9 widl: Add support for exception handling in the generated proxy code. 2008-07-03 13:08:19 +02:00
Alexandre Julliard 900bc5697e widl: Add support for exception handling in the generated server code. 2008-07-03 13:08:19 +02:00
Rob Shearman d60dc3f88b widl: Consolidate top-level parameter conformance/variance expression writing into a separate function.
Descend through as many pointer types as necessary to find the
fundamental type and determine whether it needs a top-level parameter
conformance/variance expression to be written.

Add support for writing top-level parameter conformance/variance
expressions for non-encapsulated unions.
2008-07-03 11:50:52 +02:00
Dan Hipschman d87bc0520f widl: Factor a small part of the grammar. 2008-07-02 11:41:31 +02:00
Dan Hipschman 6725c5d756 widl: Implement type redefinition checks.
This allows widl to catch type redefinitions and report an error, like MIDL.
However, this does a better job than MIDL since it also reports the location
of the originial definition, like GCC.
2008-07-02 11:40:50 +02:00
Rob Shearman 037fa861ab widl: Check that the structure has been defined in check_remoting_args. 2008-07-02 11:38:50 +02:00
Rob Shearman fb224429f7 widl: Increment the buffer offset by 8 for embedded pointers inside varying arrays in varying structures.
The 8 bytes are for the variance and offset and are added just before
the array, as seen in the marshalling code in rpcrt4. No offset needs
to be added for non-varying structures since the buffer mark is set
after the conformance in marshalled or unmarshalled.
2008-07-02 11:38:47 +02:00
Alexandre Julliard e213ac9aca widl: Add some support for unencapsulated unions that need a conformance descriptor. 2008-07-01 12:25:44 +02:00
Jon Griffiths 3ef22e56f2 c2man: Correct extension for non-dlls (based on a patch by Vijay Kamuju). 2008-06-26 21:30:15 +02:00
Alexandre Julliard 6e9a6577c3 widl: [default] is an allowed attribute for union fields. 2008-06-26 21:10:32 +02:00
Francois Gouget 86bd0461a5 configure: Detect and use gld/gnm/gar as alternatives to ld/nm/ar, especially for winegcc. 2008-06-26 21:08:12 +02:00
Alexandre Julliard b258f880ad wine.inf: Make the initial owner information empty. 2008-06-26 13:42:09 +02:00
Scott Ritchie f16e49baf2 wine.desktop: Add application/x-msi and change "emulator" to "program loader". 2008-06-26 13:15:44 +02:00
Owen Rudge 49d5c7fbe4 wine.inf: Add cplfile (control panel applet) association. 2008-06-24 11:57:48 +02:00
Rob Shearman b2286fd45c widl: Fix check_remoting_fields to enumerate the correct list of fields. 2008-06-24 11:48:15 +02:00
Rob Shearman 925a700574 widl: Fix type_memsize to follow aliases so that the correct size is calculated. 2008-06-24 11:48:11 +02:00
Rob Shearman 4997f1849b widl: Fix the types of enums with the v1_enum attribute applied. 2008-06-24 11:48:03 +02:00
Rob Shearman b3dde47ed7 widl: Fix crash in find_array_or_string_in_struct if the structure or union has no fields or cases. 2008-06-24 11:47:56 +02:00
Rob Shearman ada3ca6f09 widl: Set the type of the type_t node constructured for dispinterfaces to RPC_FC_IP, like we do for interfaces. 2008-06-24 11:47:51 +02:00
Rob Shearman 50e54c0c15 widl: Factor out the finding of a registered type to reduce code duplication. 2008-06-24 11:47:46 +02:00
Rob Shearman 28a9b94afc widl: Fix the embedded pointer offsets in generated code when the containing structure has padding.
Do so by calculating the alignment of members when iterating through
the structures and adding it onto the buffer and memory offsets.

Only call type_memsize once elsewhere in the embedded pointer
processing functions since the return value will be the same from the
second call.
2008-06-23 19:25:53 +02:00
Rob Shearman 5f1de5a11d widl: Replace code to round up values and calculate padding with macros to improve readability. 2008-06-23 19:25:38 +02:00
Dmitry Timoshkov 4aa985981c wine.inf: Add Baltic font substitutions. 2008-06-23 12:51:42 +02:00
Rob Shearman bb647c9b67 widl: Fix generation of the type format string for conformant-varying structures.
The conformance needs to be added on to the offset in the buffer so
set this before calling each the writer of each class of pointer
description in write_pointer_description.

Pass the passed in offsets to buffer and memory to
write_pointer_description_offsets in
write_varying_array_pointer_descriptions.
2008-06-21 11:13:04 +02:00
Rob Shearman 52911fc66c include: Update the MIDL_STUB_MESSAGE structure.
Reduce the size of the IsClient field, as is done in the latest SDKs
to fix NdrClientInitializeNew tests on XP SP3 and Win2003+.
2008-06-19 11:54:49 +02:00
Paul Vriens b79f37f8fd tools/winapi: Fix typo in the generated header. 2008-06-18 15:21:48 +02:00
Simon Richter b5614f763f widl: Write string lengths in host endianness.
Type libraries are currently parsed in host endianness, so byte arrays
that are going to be interpreted as integers need to be written in the
appropriate byte order.
2008-06-18 15:21:48 +02:00
Detlef Riekenberg 5073aae038 makedep: Fix a typo in the usage output. 2008-06-13 10:17:16 +02:00
Simon Richter 238e1868b2 winebuild: Fix import stub on ppc.
The address calculation was wrong, as the addition of the lower 16 bits
is a signed addition, so if bit 15 is set, the upper 16 bits need to be
incremented by one (so the hi portion of the symbol always references
the symbol + 0x8000).
2008-06-02 12:33:47 +02:00
Simon Richter d1e277fb70 winebuild: Fix branch mnemonic on ppc. 2008-06-02 12:33:27 +02:00
Vitaly Lipatov 9dc3ecb9e3 wine.inf: Create default spool dir. 2008-05-30 11:44:46 +02:00
Louis Lenders 3175fc5b90 wine.inf: Add fake glu32. 2008-05-29 12:08:15 +02:00
Eric Pouech 13585ddd71 winedump: Fully dump the compiland (V3) structure out of .pdb files. 2008-05-28 11:42:00 +02:00
Alexandre Julliard 70949a6ba5 wineinstall: Remove a lot of no longer needed code. 2008-05-22 20:44:18 +02:00
Lei Zhang e63bd4dea7 wine.inf: Open xml files using winebrowser. 2008-05-19 16:10:58 +02:00
Austin English c154b0252a wine.inf: Add a fake dll for sensapi.dll. 2008-05-14 21:51:05 +02:00
Alexandre Julliard d869bd6265 wineprefixcreate: Added a deprecation warning. 2008-05-14 12:24:14 +02:00
Alexandre Julliard 87ec7ec5a5 wineprefixcreate: Avoid redundant update on initial wineprefix creation. 2008-05-14 12:23:22 +02:00
Alexandre Julliard a795f36af7 winhelp.exe: Renamed to winhlp32.exe. 2008-05-13 18:43:27 +02:00
Marcus Meissner 1ff216c874 widl: Mark non-returning functions as noreturn. 2008-05-07 12:07:54 +02:00
Francois Gouget 633ee950a1 Assorted spelling fixes. 2008-05-07 12:07:11 +02:00
Francois Gouget d2364d5d27 Add a comment warning when a table must be kept sorted for later use with bsearch(). 2008-05-06 16:11:09 +02:00
Francois Gouget 42a61d7ed7 Assorted spelling fixes. 2008-05-06 16:10:20 +02:00
Alexandre Julliard 6477a1c1bf kernel32: Set the USERPROFILE and ALLUSERSPROFILE environment variables based on the ProfileList registry keys. 2008-05-06 16:07:13 +02:00
Gerald Pfeifer 652602f5c8 widl: Fix syntax to also work with older versions of bison. 2008-05-02 16:05:48 +02:00
Rob Shearman 033cade616 widl: Consolidate writing of COM and dispatch interfaces into one function to remove duplicated code.
Split up the writing into start and end to eventually support the style 
MIDL uses where it writes declared types, etc. between the start and end 
of the interface.

Make internal header functions take the file pointer to print to.

Don't write interface IDs for non-object interfaces and always write 
handle declarations even if the interface has no methods, like MIDL does.
2008-05-01 18:11:26 +02:00
Alexandre Julliard 6cb1ac0575 make_makefiles: Avoid duplicate rules for static import libs on PE builds. 2008-05-01 18:11:25 +02:00
Eric Pouech b0a7c55cde winedump: Added support for latest versions of Codeview (VC70). 2008-05-01 11:12:06 +02:00
Eric Pouech 1185c5123d winedump: Print more meaningful information about module list. 2008-05-01 11:11:57 +02:00
Rob Shearman e71219e66e widl: Add the parsing of storage classes into declaration-specifiers.
Support the static and register keywords.

This consolidates externdef and constdef rules into one declaration rule.
2008-04-30 16:59:47 +02:00
Rob Shearman d64e4c26ee widl: Prepare for supporting storage classes in declaration statements.
Return a decl_spec_t structure from decl_spec rules so that the storage
class and type qualifiers can both be returned.
2008-04-30 16:59:30 +02:00
Rob Shearman e35c79efbf widl: callback, code, comm_status and in_line are attribute names, not keywords. 2008-04-30 11:32:08 +02:00
Rob Shearman 48153a8944 widl: Allow pointer attributes to be applied to function pointers. 2008-04-30 11:31:51 +02:00
Rob Shearman 017213e11a widl: Make constdef and externdef take a declarator instead of an ident so that functions and arrays can be defined using the statements. 2008-04-30 11:31:47 +02:00
Rob Shearman 4f8f89e6bb widl: Add support for "inline" on function definitions.
Fix applying calling convention to function type.
2008-04-30 11:31:21 +02:00
Rob Shearman 146ef11b77 widl: Keep const attributes applied to pointers when writing out the type.
Use an attribute to store the const qualifier for the pointer and type.

Allow multiple type-qualifiers to be applied to a type by adding a 
declaration-specifier rule that encompasses type-qualifiers and types.
2008-04-30 11:30:55 +02:00
Jeff Zaroyko c6d0d6d185 wine.inf: Use lowercase for some drivers32 entries and remove trailing whitespace. 2008-04-28 14:32:12 +02:00
Rob Shearman 0cb73cef0b widl: Accept integer constant suffixes in the lexer. 2008-04-28 13:28:16 +02:00
Rob Shearman 62a6475593 widl: Support hex digits that use an uppercase 0X prefix. 2008-04-28 13:28:16 +02:00
Rob Shearman 80be9df3a7 widl: Add typedefs to typelibs which have the public or uuid attributes, not any other attribute. 2008-04-28 13:28:16 +02:00
Rob Shearman 242a8a02f5 widl: Move the func_declarator rule entirely into direct_declarator. 2008-04-25 12:10:42 +02:00
Rob Shearman 66fa9a714e widl: Create a statement object for import statements.
Move the writing of include directives into the generated header into 
header.c.
2008-04-25 12:10:34 +02:00
Rob Shearman 33c891e694 widl: Add support for string literals and wide-string literals in expressions. 2008-04-25 12:10:24 +02:00
Rob Shearman 957dd4b160 widl: Add support for declaring multiple fields of a structure in one statement. 2008-04-25 12:10:15 +02:00
Rob Shearman 14dd441c5b widl: Make the rules for parsing fields in structures, encapsulated unions and non-encapsulated unions more strict.
Move the rules in fields that handle empty union cases into separate 
union rules so that they can't erroneously be accepted for structures or 
other types of unions.
2008-04-25 12:10:04 +02:00
Rob Shearman 21cd6865c8 widl: Rename pident to declarator and parse the array declarations as part of declarators.
This allows arrays to be used in typedefs and const statements.
2008-04-25 12:09:56 +02:00
Rob Shearman 2f381f30a6 widl: Consolidate most of the inner loop of reg_typedefs into set_type. 2008-04-25 12:09:46 +02:00
Alexandre Julliard 5f4f2c0b92 makedep: Don't try to open .tlb files. 2008-04-24 23:43:04 +02:00
Rob Shearman 1fcc2084e8 widl: Add typedef statements to the statement lists. 2008-04-24 22:32:47 +02:00
Rob Shearman df0e38c067 widl: Create a list of statements in the whole IDL file, instead of just a list of interfaces. 2008-04-24 22:32:20 +02:00
Rob Shearman 58be89230e widl: Allow NULL to be used in expressions. 2008-04-24 22:31:47 +02:00
Rob Shearman ec81a78f01 widl: Construct the pointer chain while parsing pointers, rather than storing a ptr_level.
This method is more flexible and somewhat simpler.
2008-04-24 22:31:37 +02:00
Rob Shearman 02f5412a53 widl: Implement lcid property on library declarations. 2008-04-24 22:31:20 +02:00
Alexandre Julliard da19122f14 makefiles: Add support for generating correct dependencies for tlb files. 2008-04-24 22:13:57 +02:00
Alexandre Julliard 981f31bedf wine.inf: Fix the service type of the spooler service. 2008-04-24 13:53:33 +02:00
Rob Shearman 1a0d28bf02 widl: Remove duplicated code in the form of the write_struct_expr function by enhancing write_expr to allow toplevel identifiers to be prefixed by a string, if specified. 2008-04-22 13:05:18 +02:00
Rob Shearman 39a1fa672a widl: Use expr_resolve_type to get the type of the identifier in write_conf_or_var_desc.
Remove the conversion of pointer types into base types as this was only 
needed due to lack of proper type resolving.
2008-04-22 13:05:04 +02:00
Rob Shearman 80ab2a7c6d widl: Move expression functions to a new file, expr.c. 2008-04-22 13:04:58 +02:00
Rob Shearman 6244565df3 widl: Check that expressions resolve so that expressions in generated code will compile.
Also check that expressions return the correct type for the attribute.
2008-04-22 13:04:45 +02:00
Rob Shearman b88d82a14b widl: Pass the actual type into check_remoting_fields and check_field_common instead of the type name. 2008-04-22 13:04:31 +02:00
Rob Shearman b81904b8ee widl: Don't free input_name in pop_import as we keep pointers to it in the var_t type now. 2008-04-22 13:04:24 +02:00
Rob Shearman 95ac84e20b widl: Remove EXPR_MEMBERPTR and implement it using EXPR_PPTR and EXPR_MEMBER instead. 2008-04-22 13:04:19 +02:00
Rob Shearman cc3682cf12 widl: Add support for comparison, exclusive or, logical not and positive operators in expressions. 2008-04-22 13:04:03 +02:00
Rob Shearman 6f9020290b widl: Require a constant expression for case statements. 2008-04-22 13:03:39 +02:00
Rob Shearman b599d2596b widl: Fix operator precedence in expressions. 2008-04-22 13:03:34 +02:00
Austin English 6e59cd2c34 Spelling fixes. 2008-04-22 12:20:12 +02:00
Alexandre Julliard bab67d3948 wineprefixcreate: Use wineboot --update to run wine.inf. 2008-04-21 15:47:47 +02:00
Rob Shearman ea9932557a widl: Add support for '%' operator in expressions. 2008-04-21 13:36:19 +02:00
Rob Shearman d27c7601e5 widl: Add support for arrays in expressions. 2008-04-21 13:36:19 +02:00
Rob Shearman 03d5017416 widl: Add support for "->" and "." operators in expressions. 2008-04-21 13:36:19 +02:00
Rob Shearman efd10742ec widl: Issue an error instead of crashing for dividing by zero in a constant expression. 2008-04-21 13:36:19 +02:00
Rob Shearman c46fcfb356 widl: Automatically add "handle_t IDL_handle" parameter to functions with no explicit handle specified whose containing interface has the explicit_handle attribute. 2008-04-21 13:36:19 +02:00
Rob Shearman c4ca32bbda widl: The implicit_handle attribute is allowed with a handle explicitly specified in the function parameters.
In that case, that handle is used instead of the implicit handle.

Fix the check for the explicit_handle attribute being specified without
a handle being specified in the function parameters, even though issuing
an error is wrong. (Thanks to Marcus Meissner & Coverity for spotting
that the check didn't do what it was supposed to do.)
2008-04-21 13:36:19 +02:00
Rob Shearman 15612e60fd widl: Check that fields in structures and unions referenced by non-local functions can be marshalled and that their attributes are consistent. 2008-04-21 13:36:19 +02:00
Rob Shearman 6e27e7840f widl: Stop looping in check_remoting_args when a context_handle or wire_marshal type is found as they are in effect fundamental types. 2008-04-21 13:36:19 +02:00
Paul Vriens 88f4705156 tools/wine.inf.in: Fix a typo. 2008-04-21 12:10:37 +02:00
Dmitry Timoshkov ae9fe5e36e winedump: Print contents of EMR_INTERSECTCLIPRECT and EMR_EXTSELECTCLIPRGN. 2008-04-21 11:53:05 +02:00
Alexandre Julliard 89d63f0bfb wineprefixcreate: Moved creation of directories to wine.inf. 2008-04-17 20:37:00 +02:00
Dmitry Timoshkov f348a9309b winedump: Decipher contents of a couple EMF records. 2008-04-17 20:18:24 +02:00
Dmitry Timoshkov d43758b274 winedump: Print names for all known EMF records. 2008-04-17 12:41:24 +02:00
Vincent Povirk 790715123a tools: Modify wine.desktop to use start.exe /unix. 2008-04-17 12:35:49 +02:00
Rob Shearman 4b56ff7238 widl: Change alls calls to error in the parser to error_loc so that line number information is printed. 2008-04-16 14:07:35 +02:00
Alexandre Julliard a0bbf8477c wine.inf: Use a proper services section to install services. 2008-04-16 12:38:41 +02:00
Rob Shearman 2ac495c85d widl: Add checking to arguments of non-local functions.
Check that out arguments have enough levels of indirection and that they 
don't derive from void * or a function pointer.
2008-04-14 13:39:47 +02:00
Rob Shearman 0053599688 widl: Add functions to print an error or warning message using location information to enable these to be printed accurately when a check is done after an element is parsed.
Add location information to variable automatically, since this is will 
be useful for type checking of arguments.
2008-04-14 13:39:42 +02:00
Rob Shearman f728fe168b widl: Write out TYPEFLAG, FUNCFLAG and VARFLAG flags for all attribute we currently parse.
Add FIXMEs for the remaining ones and remove the warning for 
unimplemented attribute types since we now support all the attributes 
that we parse.
2008-04-14 13:39:35 +02:00
Rob Shearman 56e2553eff widl: Add support for the broadcast and idempotent operation attributes. 2008-04-14 13:39:28 +02:00
Rob Shearman 66b8574d8d widl: Output a warning if duplicate attributes are specified. 2008-04-14 13:39:21 +02:00
Rob Shearman aa20221771 widl: Check that attributes are applicable for libraries, modules, dispinterfaces and coclasses and otherwise issue an error. 2008-04-14 13:39:16 +02:00
Rob Shearman fcc8a028d8 widl: The odl attribute is valid for dispinterfaces. 2008-04-14 13:39:08 +02:00
Rob Shearman abdc08e013 widl: Make the attrs parameter passed to start_typelib const. 2008-04-14 13:39:02 +02:00
Rob Shearman e9afe272be widl: Check that attributes applied to typedefs and fields are applicable and issue an error otherwise. 2008-04-14 13:38:56 +02:00
Rob Shearman 5f39b41526 widl: Check that attributes applied to interfaces, functions and arguments are applicable and issue an error if not. 2008-04-14 13:38:48 +02:00
Alexandre Julliard f0c9e9845a wine.inf: Add a version number to make sure the file changes between versions. 2008-04-11 20:18:22 +02:00
Rob Shearman e4b0266b27 widl: Support non-default calling conventions for non-object functions. 2008-04-11 12:14:55 +02:00
Rob Shearman 5483ea9e87 widl: Support non-default calling conventions for object methods. 2008-04-11 12:14:52 +02:00