Commit Graph

1456 Commits

Author SHA1 Message Date
Alexandre Julliard 09c68d9dd5 Avoid assertion failure when loading an empty data file. 2005-01-28 14:01:55 +00:00
Huw Davies d488cb3e70 Structs with ptrs are also VT_USERDEFINED. 2005-01-28 13:59:08 +00:00
Dimitrie O. Paun 4e0c3aa551 Added a new man page for winegcc. 2005-01-28 11:32:01 +00:00
Francois Gouget da8b3dd7f2 Assorted spelling fixes. 2005-01-26 21:09:04 +00:00
Huw Davies 652ec646ad When adding an interface, midl adds the inherited interface first
unless the inherited interface doesn't itself inherit.
Fix the id, sizevft and datatype2 fields for interfaces that inherit.
Prevent a crash if the typelib is empty.
Clarify a few more entries on typelib_struct.h
2005-01-26 20:40:34 +00:00
Huw Davies 0e53bb3f7b Fix typelib only option.
Make -t and -h options inclusive.
2005-01-26 19:40:47 +00:00
Huw Davies a43a250bd1 Add enum support.
Another attempt at getting the alignment bits correct.
2005-01-25 20:02:09 +00:00
Huw Davies b9bfc8e909 Add encoding for VT_R8.
Bug fix: Initialise child_size.
2005-01-25 19:02:32 +00:00
Huw Davies 6126fc75c9 unsigned char support. 2005-01-25 16:41:12 +00:00
Huw Davies c1db191d9b Add interface inheritance. 2005-01-25 10:56:58 +00:00
Huw Davies 0a2f7e2054 Add referenced types that aren't already in the typelib. 2005-01-24 13:31:50 +00:00
Huw Davies 3387fc9077 Fix handling of void. 2005-01-24 12:41:06 +00:00
Huw Davies 2e6bd29a88 Add support for hidden and restricted function attributes.
Add support for odl interface attribute.
2005-01-24 11:27:56 +00:00
Huw Davies 8c51807ba5 Bit 0x0200 always appears to be set in the typeinfo's
typekind/alignment member.
2005-01-21 17:04:00 +00:00
Huw Davies 2573227675 [local] functions should not be written to the typelib. 2005-01-21 16:19:39 +00:00
Rémi Assailly 49a6c097b3 Small char -> const char fix. 2005-01-21 10:20:04 +00:00
Huw Davies 21842318e9 Don't set ATTR_IN or ATTR_OUT by default - this essentially reverts
rev. 1.21.  The proxy code must explicitly add these if they're
needed.
2005-01-20 20:34:08 +00:00
Huw Davies 218281c42c Better guid hash. 2005-01-20 20:33:48 +00:00
Huw Davies 18b1fe8dee MIDL adds two sets of custom data to the library: one is a timestamp
and the second is MIDL's version number.
2005-01-20 19:56:57 +00:00
Huw Davies b1a0c6c3d7 Add propget and propput function attributes.
Clarify the meaning of the FKCCIC bit field.
2005-01-19 19:08:01 +00:00
Huw Davies 2717b812dd Pad small strings out to eight bytes.
Fix 'has default values' flag.
2005-01-19 16:58:21 +00:00
Huw Davies c7c55ff33a Add a missing break to fix typeinfo version regression. 2005-01-18 11:39:31 +00:00
Huw Davies 90351160c9 Add VT_VARIANT support.
Fix for the case when there is no helpstringdll.
Fix for parameter arrays.
2005-01-17 13:41:19 +00:00
Huw Davies 55ca7eaaff Add support for BSTR default values. 2005-01-14 17:20:43 +00:00
Huw Davies ba874a31d0 Add support for interface ptrs including the special cases for
IUnknown and IDispatch.
2005-01-14 16:50:16 +00:00
Huw Davies e9ca9f1955 Better type encoding. (Interface ptrs still not there yet). 2005-01-12 19:28:59 +00:00
Francois Gouget a286c202f8 Fix dll handling.
Take DLL_PATH and LIBRARIES into account.
Simplify a check for paths that don't start with a '/'.
2005-01-11 10:39:10 +00:00
Huw Davies 989960f77f Add help* attributes for typeinfos and functions. 2005-01-11 10:38:51 +00:00
Huw Davies 635221222f Add support for the help* attributes on type libraries. 2005-01-10 16:08:36 +00:00
Huw Davies a3026ca8f9 Add support for optional arguments and some suppport for the
defaultvalue attributes.
Better calculation of the typeinfo's res3 member (at least for
interfaces).
2005-01-10 14:22:24 +00:00
Huw Davies 862e922c93 Add support for hidden, restricted and version attributes on
typeinfos.
2005-01-10 13:21:54 +00:00
Huw Davies 634693c114 Add attributes control, hidden and restricted.
Correctly set the libflags for these attributes.
2005-01-09 17:59:44 +00:00
Alexandre Julliard ca4f5faa0a Create the output directory if needed. 2005-01-07 17:17:23 +00:00
Huw Davies 346188b755 Initial support for typelib generation. 2005-01-06 20:45:21 +00:00
Vitaly Lipatov eb45ce57d7 Add VMM32Files section. 2005-01-06 20:42:10 +00:00
Justin Chevrier 01e2bdbf16 - Obtain border size of windows from registry if available.
- Obtain icon size from registry if available.
- Create a WindowMetrics section in the default registry and populate
  it with all currently supported metrics (that are setup to read from
  the registry).
2005-01-06 19:39:52 +00:00
Huw Davies 9e15a42008 Bring the debug functions into line with the rest of Wine by not
appending a '\n'.
2005-01-05 17:30:37 +00:00
Huw Davies 86fead3c25 Store interfaces, structs, coclasses and modules that are to be
written into a typelib in a list.
2005-01-05 17:12:25 +00:00
Peter Berg Larsen 87b0ac2e1f Fix a return type bug after allowing 'foo *functionname()'
prototypes. In 'unsigned char *functionname()' char was not seen;
therefore implicit 'unsigned int'.
2005-01-05 13:23:17 +00:00
Huw Davies 5c1231d2df Add the precedence of the conditional operator. 2005-01-04 20:34:05 +00:00
Mike McCormack 888c1f2da5 Extend winedump to allow dumping enhanced meta files. 2005-01-04 20:32:25 +00:00
Peter Berg Larsen 08aa87fb57 Currently a '//****' is matched as an /* comment - disallow a '/' in
front of the '/*' match. An 'extern "C" {' can be split in several
lines - allow '\n' as space, and lookout for the rest if partial
found.
2005-01-03 20:18:58 +00:00
Peter Berg Larsen 6beae245ea In function_grep.pl and symbol.c/symbol_clean_string spaces between
the function name and * are removed. Fx. the type 'void * foo()' is
returned as 'void *foo()'. Recognized this as a valid prototype in
symbol_search.
2005-01-03 20:18:23 +00:00
Peter Berg Larsen 73ef3155cf Added the word "FLOAT" to be recognized as argument type float. 2005-01-03 20:16:23 +00:00
Alexandre Julliard 42c5cde5cd Warning fixes. 2005-01-03 17:15:37 +00:00
Robert Reif 2e991c351d Added partial VxD support. 2005-01-03 14:48:49 +00:00
Jacek Caban 54cba79d64 Added optional, defaultvalue and vararg. 2005-01-03 14:26:17 +00:00
Vincent Béron 35a92e16c7 Generate only wanted files. 2004-12-27 17:13:25 +00:00
Jacek Caban 90ce00abeb Fixed defining DIIDs. 2004-12-27 17:04:00 +00:00
Francois Gouget ae8682f277 Spelling fixes. 2004-12-22 15:02:14 +00:00
Peter Berg Larsen a3c259603b Allow several -I parameters to be given - currently just the last is
used. Remove obvious wrong binaries when searching for the definition
of a functions definition. Really just strip a '.dll' extension and
not also '.dll.foorbar.spec'.
2004-12-20 16:52:26 +00:00
Peter Berg Larsen 5b2159c460 Warzone 2100 has in a header a definition that ends with a slash. As
'.' does not include '\n' winedump keeps looking ahead until eof.
2004-12-20 16:50:35 +00:00
Dmitry Timoshkov 2e3b3ca923 Allow wineprefixcreate to run to the end when configuring from the
source tree.
2004-12-16 14:22:37 +00:00
Francois Gouget 4e422766fd Use '=' instead of '==' in /bin/sh scripts to avoid portability
problems.
2004-12-14 11:39:14 +00:00
Michael Jung dc7540635e Fixed compilation with perl 5.8. 2004-12-13 12:00:59 +00:00
Jon Griffiths 95c11f2b57 Param descriptions can be >1 lines.
Allow '-' in comment names, convert it to space on display.
Allow struct members to be documented (automatically, one day).
Allow for many comments which start with "name (dll.ord)
description".
2004-12-08 13:41:00 +00:00
Paul Millar 10a6c56071 Check for features missing in mingw environment, allowing tools
subdirectory to be cross-built again.
2004-12-07 17:19:54 +00:00
Alexandre Julliard 38964fd852 Removed an unused function. 2004-12-07 14:48:46 +00:00
Eric Pouech 294835a839 Another round of const correctness fixes. 2004-12-06 20:43:55 +00:00
Eric Pouech 763aff61a0 Another couple of missing static definitions. 2004-12-06 16:44:32 +00:00
Jon Griffiths cd7534e868 Use mktemp if we don't have tempfile.
Use the installed version of fnt2bdf if present.
Quote the pattern given to `find`.
Copy the fonts to the temp working dir before processing.
Always delete the temp directory before exiting.
Install fonts compressed by default.
2004-12-02 19:52:50 +00:00
Alexandre Julliard 7bfda49772 Clean up temp files also when killed by a signal. 2004-12-02 18:22:48 +00:00
Hajime Segawa 3b322dce22 Make folders open correctly in Windows Explorer. 2004-11-28 15:01:24 +00:00
Alexandre Julliard 0bc8502390 Pass DLLFLAGS to winebuild too. 2004-11-22 19:48:10 +00:00
Steven Edwards fa9b9f5fea Define "WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600" for all
the targets.
2004-11-22 19:46:22 +00:00
Rein Klazes 2443c7f6d3 Allow negative numbers in RCDATA resources like RC.EXE does.
Fix false out of 16 bits range warning.
2004-11-22 18:15:42 +00:00
Eric Frias f23b358b0d Handle a def file where the names of the exported functions are listed
without being followed by an equals sign and an alias.
2004-11-21 15:39:51 +00:00
Eric Frias 741844c6ea Fixed error writing control IDs in dialogex on sparc. 2004-11-21 15:38:00 +00:00
Huw Davies 9e4a58136c Calculating the average width doesn't seem possible, so set it
manually instead.
Fix the copyright in wine_system.
2004-11-19 18:23:52 +00:00
Michael Jung 64dce8a579 Implemented a substantial part of rsaenh.dll. 2004-11-04 21:15:32 +00:00
Alexandre Julliard 691884b9b6 Restore chunk of code lost in previous changes. 2004-11-02 20:15:53 +00:00
Vincent Béron 1d945eaacc Put $(FREETYPELIBS) as the last part, as it can include the dir of an
older Wine install which do not have the same exports (reported by
jooke).
2004-11-01 21:06:43 +00:00
Francois Gouget bebac0a400 Alter the functions declaration order or predeclare them so perl can
check the prototypes.
2004-10-30 02:11:19 +00:00
Francois Gouget 5c033dad79 MIDL_STUB_MESSAGE.UniquePtrCount has been renamed in the latest SDK so
ignore it.
2004-10-30 02:10:22 +00:00
Francois Gouget a8b09d11ca Add function prototypes.
Change the way functions are called and either alter their declaration
order or predeclare them so perl can check the prototypes.
2004-10-26 00:12:21 +00:00
Francois Gouget d9800f9fa9 Fix string handling.
Enable perl warnings
Add a proper --help option and usage.
2004-10-25 21:50:50 +00:00
Francois Gouget 1d691d5d70 Fix the usage for non-boolean options, always print the
description. This fixes the output of 'make_filter --help'.
2004-10-25 21:50:36 +00:00
Alexandre Julliard 9a27b8b961 Get rid of this obsolete script. 2004-10-22 22:07:14 +00:00
Juan Lang 4583a10fb6 Shell registry entries are now created by shell32, don't hardcode them
in wine.inf.
2004-10-22 22:06:49 +00:00
Francois Gouget 9a910dd3e5 Add function prototypes.
Change the way functions are called and their declaration order so
perl can check the prototypes.
2004-10-22 22:05:19 +00:00
Francois Gouget b4df2417c4 Review and fix regular expressions of the form /^foo|bar$/.
Replace regular expressions with simple string comparisons where
possible.
Use '(?:subregexp)' instead of '(subregexp)' wherever possible.
'dlls/gdi' does not have a win16drv subdirectory anymore so simplify
regular expressions accordingly.
2004-10-22 19:55:42 +00:00
Francois Gouget aabbbc0c5b Standardize on '%long --pointer'.
Update it to match the latest source. Fixes many winapi_check
warnings.
2004-10-21 22:28:28 +00:00
Francois Gouget 85ae255f96 Fix some issues reported by winapi_check:
Add mscat.h and wintrust.h; update wincrypt.h.
Fix the CryptCATAdminAcquireContext() and WinVerifyTrust() prototypes
so they use the proper types.
Update the wintrust section of win32.api.
2004-10-21 21:00:29 +00:00
Francois Gouget 9c26e5ba21 Warn about implementing a -register function as stdcall. 2004-10-21 20:58:13 +00:00
Francois Gouget 66b16e01d3 Add support for include/msvcrt. Fixes a bunch of spurious warnings.
Remove kludges for kernel_private.h, gdi_private.h, ntdll_misc.h,
ts_xlib.h, x11drv.h and x11font.h. They are not needed anymore.
2004-10-21 20:57:53 +00:00
Francois Gouget 11a7b29a61 Declare DO_DUMP_FUNC() before calling it and call normally so that
perl can check its prototype.
2004-10-21 19:58:39 +00:00
Francois Gouget 0218e0af2d Strictified. 2004-10-21 19:58:25 +00:00
Francois Gouget 9c3246803b Fix the declaration of SymEnumSymbols() in dbghelp.spec.
Use PVOID instead of void* for consistency.
Update the dbghelp section in win32.api.
2004-10-21 19:57:56 +00:00
Francois Gouget 13acf0624f Make the 'wrong argument count' warning clearer when dealing with long
vs. "long long" issues.
2004-10-21 19:57:15 +00:00
Francois Gouget bd3b6967af Fix escaped quote handling in strings.
Properly handle C and C++ comment parsing.
2004-10-21 19:56:04 +00:00
Alexandre Julliard a7094d8e5a winebuild shouldn't depend on the NO_TRACE_MSGS define. 2004-10-19 23:09:02 +00:00
Rein Klazes af927f5043 Add HKLM,%Currentversion%\Setup,"BootDir" to the installation
defaults.
2004-10-19 21:09:28 +00:00
Vincent Béron 2c1b35dd17 Add some more Alpha asm code and Alpha-specific parts. 2004-10-18 21:27:52 +00:00
Jacek Caban 5c98265050 Added writing forward declaration of dispinterface. 2004-10-18 19:35:08 +00:00
Ivan Leo Puoti a89ac894ab Implement action 83 in SystemParametersInfo(). 2004-10-14 03:06:41 +00:00
Vincent Béron baeec1f404 Don't use magic sizes, actually calculate them. 2004-10-14 00:26:08 +00:00
Vincent Béron b07dec4634 Only compile BuildCallFrom16Func on x86. 2004-10-14 00:25:44 +00:00
Jacek Caban 2161b36ac4 - Added creation of dispinterface header.
- Added creation of coclass header.
- Added messages when fopen fails.
2004-10-11 19:54:37 +00:00
Steven Edwards c7545d2b1c Correctly define WINVER, _WIN32_WINNT and _WIN32_IE versions in all
cases.
2004-10-11 19:51:43 +00:00
Alexandre Julliard b4c7e6c7e2 Added --ld-cmd and --nm-cmd options in winebuild, and make winegcc
pass the proper ld command.
2004-10-08 21:11:18 +00:00