Commit Graph

1579 Commits

Author SHA1 Message Date
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
Vincent Béron c165496f01 Update types checked by winapi_check. 2004-10-08 21:02:09 +00:00
Francois Gouget 493d60fe0f Add function prototypes.
Modify function calls so the prototypes are checked.
2004-10-07 18:53:56 +00:00
Francois Gouget c4c271f1e4 The generated patch was missing a line of the diff.
genpatch was also depending on the new files being listed first by
'cvs diff' (which is the case but I'm not sure there is any hard
guarantee).
Use 'perl -w' for more checking, fix the resulting 'undefined value'
warnings. In many cases we don't just want $options{xxx} to exist, we
want it to be defined.
Restrict the scope of variables and remove unneeded variables.
2004-10-07 17:33:29 +00:00
Francois Gouget 370f220744 Don't import parse_comma_list() unless necessary.
winapi_check_options.pm: Fix typo in the parse_comma_list()
reference.
2004-10-07 04:20:41 +00:00
Francois Gouget 00033eab75 Fix an 'uninitialized value' warning. 2004-10-07 02:59:59 +00:00
Alexandre Julliard 68604dbae7 Allow defined types to be used as function names. 2004-10-06 18:54:20 +00:00
Martin Fuchs c35c48b983 Fix generation of config.h. 2004-10-06 18:52:15 +00:00
Martin Fuchs c7e467486f Fix msvcmaker imports. 2004-10-06 00:04:54 +00:00
Francois Gouget d8c96b08f3 Identify comm.drv as a 16bit dll. 2004-10-05 18:14:02 +00:00
Francois Gouget bac042c256 Limit the length of progress messages to less than $COLUMNS || 80
characters so they don't wrap (which would cause them to be badly
erased).
Make good use of the 'x', the perl string multiplication operator.
Add function prototypes.
2004-10-05 18:08:57 +00:00
Francois Gouget c2f2b990e0 Add function prototypes. 2004-10-05 18:08:40 +00:00
Alexandre Julliard d062924f66 Removed no longer needed ICOM compatibility mode in widl. 2004-10-05 04:44:20 +00:00
Alexandre Julliard 4806630104 Added support for the propget/propput function attributes. 2004-10-05 02:14:54 +00:00
Dmitry Timoshkov 18ae72a68d Add iccvid.dll to an initial Wine configuration. 2004-10-04 19:31:37 +00:00
Francois Gouget 62d9963a54 Switch to 'perl -w' and add 'use strict;'.
Add prototypes to all functions.
Remove $bashver and $outflags, they are not used.
2004-10-04 19:28:43 +00:00
Francois Gouget d0882ef46d Handle the static libraries linked to using EXTRALIBS. 2004-10-04 19:14:49 +00:00
Francois Gouget 50b91588e7 Add prototypes to all functions.
Move 'main' to the end so we don't have to pre-declare all the
functions.
2004-10-04 18:57:02 +00:00
Francois Gouget bd007ba1f0 Add 'use strict'.
Add prototypes to all functions.
Move 'main' to the end so we don't have to pre-declare all the
functions.
2004-10-04 18:54:04 +00:00
Marcus Meissner 7c30feb9f2 Added missing directories mentioned in shellpath.c. 2004-09-28 02:36:19 +00:00
Filip Navara 75e02e9335 - Force default [in] attribute on all parameters where explicit [in]
or [out] attributes aren't specified.
- Force default [out] attribute on return values.
2004-09-28 02:12:36 +00:00
Marcus Meissner cb54fe66bc Remove -- from shell entries, since wine no longer filters it. 2004-09-27 20:32:50 +00:00
Steven Edwards d2acb8cf8b Define _WIN32_WINNT and _WIN32_IE versions for MS_VC Build. 2004-09-23 04:26:54 +00:00
Mike McCormack d8d2d96da2 Various formatting fixes. 2004-09-21 20:04:47 +00:00
Mike McCormack 0e5d9b56cb Improve the handling of complex data types (strings and structs). 2004-09-20 19:11:16 +00:00
Mike McCormack 1a77ea567c Determine RPC struct types more exactly. 2004-09-14 19:28:12 +00:00
Huw Davies bd4cee3200 Helv should be an alias for MS Sans Serif. Spotted by Francois. 2004-09-13 18:07:20 +00:00
Mike McCormack 2d8d1e2f74 Improve proxy code generated for oaidl.idl. 2004-09-13 18:05:47 +00:00
Mike McCormack 5d9b0d119c Output NdrConvert, NdrClearOutParameters and IID constraints. 2004-09-10 19:34:14 +00:00
Mike McCormack 78c8ab9677 Output intermediate variables for the method to write into in stubs. 2004-09-09 19:18:10 +00:00
Mike McCormack 13088b8901 Generate some marshalling code for stubs. 2004-09-08 19:01:42 +00:00
Francois Gouget 02236f06a8 Fix and unify parsing of calling conventions.
Hack handling of 'struct { } *NDR_SCONTEXT;' so we don't cause a parse
error as this is a valid C construct.
Generate type tests for rpcrt4.
Remove PRPC_BINDING_VECTOR and PUUID_VECTOR, they don't exist on
Windows.
Fix the MIDL_STUB_MESSAGE, MIDL_SERVER_INFO and
MIDL_STUBLESS_PROXY_INFO structs.
Add NDR_ALLOC_ALL_NODES_CONTEXT, NDR_POINTER_QUEUE_STATE and
CS_STUB_INFO.
2004-09-08 01:27:24 +00:00
Francois Gouget c13638ee85 Fix c_parser.pm so it handles 'const' preceeding a '*'.
Add missing #pragma pack directives for the new shlobj.h types.
Fix some field names in CSFV and QCMINFO.
Update the generated tests to also check shtypes.h and test some more
types.
2004-09-07 22:46:26 +00:00
Alexandre Julliard 86d4a70baa Fill in the proper offsets in the resource directory instead of
relying on the compiler to do it.
2004-09-07 20:45:03 +00:00
Francois Gouget 5d54c7ba7c Test some more gdi types. 2004-09-07 20:27:34 +00:00
Francois Gouget 7e848dc47e Test some more urlmon types. 2004-09-07 19:33:36 +00:00
Francois Gouget ab1866be52 Test some more ntdll types.
tests.dat: Remove types that don't exist, whether in the Windows or
Wine headers.
2004-09-06 21:26:57 +00:00
Francois Gouget 5512ae2685 Disable MSVC warning 4116 to avoid the 'unnamed type definition in
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Robert Shearman e548339185 Fix bin2res help text. 2004-09-06 20:26:35 +00:00
Mike McCormack 3f6c088767 - make the widl generated proxy-stub code compilable
- generate marshalling and unmarshalling code for proxies
- generate exception handling constructs
2004-09-06 20:25:39 +00:00
Mike McCormack cde0c0d1b6 Output code to clear OUT variables in proxy code. 2004-09-02 20:07:07 +00:00
Francois Gouget 7421a7b560 Don't output the DECLSPEC_ALIGN() directives in the TYPE_FIELD tests. 2004-09-01 04:53:22 +00:00
Alexandre Julliard 2ceb42dd43 Moved all files from the controls/ directory to dlls/user. 2004-08-31 01:10:08 +00:00
Steven Edwards b1bb722088 Add DllRegisterServer and friends for mlang. 2004-08-30 19:30:17 +00:00
Alexandre Julliard d78ee14b93 Print a warning when DllRegisterServer and similar functions are not
marked private.
2004-08-27 19:40:53 +00:00
Francois Gouget f9f68327cc Hack winapi_parser so we recognise ElfW(auxv_t) as a type. Fixes the
scripts that compute API statistics.
2004-08-27 19:11:51 +00:00
Huw Davies ce4dfe23b4 Deprecate the "Resolution" entry in the config file in favour of
HKEY_CURRNET_CONFIG\Software\Fonts\LogPixels.
2004-08-26 18:24:49 +00:00
Francois Gouget 20b8b56d5f Enable the disabled tests in tests.data or add a comment describing
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Francois Gouget 2e360b3ee4 Fix alignment issues for MEMORYSTATUSEX, WIN32_STREAM_ID and
IO_COUNTERS. The corresponding tests now succeed both when compiled
with the Windows headers and when compiled with the Wine headers.
2004-08-24 20:16:25 +00:00
Stefan Leichter 560462a2d0 Added empty DllRegisterServer. 2004-08-23 18:50:54 +00:00
Alexandre Julliard 20486e1c59 Get rid of the ICOM_MSVTABLE_COMPAT support, g++ no longer requires
this.
2004-08-23 18:10:02 +00:00
Alexandre Julliard cfb3b7e81f Output BEGIN/END_INTERFACE for C++ base classes too. 2004-08-22 22:31:52 +00:00
Francois Gouget 6b1e83281b Update FPO_DATA and IMAGE_LOAD_CONFIG_DIRECTORY to match the latest
platform SDK. This helps compile the ntdll tests on Windows.
2004-08-22 22:28:53 +00:00
Mike McCormack 77ea021e5f Generate BEGIN_INTERFACE,END_INTERFACE macros instead of
ICOM_MSVTABLE_COMPAT_FIELDS.
2004-08-22 02:25:05 +00:00
Francois Gouget 493cf88bb6 Remove these Wine-only types:
EnumICMProfilesProcCallback
  PEXCEPTION_REGISTRATION_RECORD
Don't test these Wine-only types:
  EMRSETTEXTJUSTIFICATION
  EXCEPTION_REGISTRATION_RECORD
Remove EXCEPTION_FRAME, it doesn't exist at all.
2004-08-22 02:07:13 +00:00
Francois Gouget 07ba7f33e1 DECLARE_OLD_HANDLE is not used anymore. 2004-08-22 02:02:00 +00:00
Gerald Pfeifer 51c9f1218b Include <stdlib.h> for a prototype of exit(). 2004-08-22 02:01:21 +00:00
Francois Gouget 09747e50e7 Fix packing bug in shlobj.h.
Fix the declaration of bitfields so their layout matches what MSVC
generates.
Modify winapi_test to compute the bitfields size/alignment like MSVC
does.
Update the impacted generated.c files.
2004-08-20 19:33:17 +00:00
Francois Gouget 68232c6c2f Remove types that don't exist from tests.dat.
Don't test types that have a platform dependent layout.
Don't test Wine-only types.
Helps get the generated tests compiling on Windows.
2004-08-19 20:34:42 +00:00
Emmanuel Maillard 2300ce663a - Update build system to support IOKit and CoreFoundation frameworks
on Darwin.
- Add support for the -framework "name" linker option.
- NtQueryVolumeInformationFile set device info on Darwin.
2004-08-19 01:20:45 +00:00
Zach Gorman 2141f28fa0 WS_TABSTOP should not be a default style for GROUPBOX controls. 2004-08-19 01:02:07 +00:00
Huw Davies 00acb5f719 First stab at Wine versions of Courier, System and MS Sans Serif
fonts.
2004-08-17 22:33:14 +00:00
Francois Gouget e69f38551e Add the CCHILDREN_TITLEBAR+1 and NUM_POINTS macros.
Add a couple base types that winapi_test does not know how to parse.
Fix a bug so that 'signed' and 'unsigned' are recognised as valid
types.
2004-08-16 19:46:09 +00:00
Francois Gouget a625761eb9 Avoid annoying 'macro redefinition' warnings by defining
WIN32_NO_STATUS at the right time.
Define _WIN32_WINNT otherwise we are missing some symbols with the
Windows headers.
2004-08-14 00:42:12 +00:00
Francois Gouget 870f55fefc Fix the PSID and PSECURITY_DESCRIPTOR types.
Add PISID and PISECURITY_DESCRIPTOR.
2004-08-13 23:55:43 +00:00
Francois Gouget 6f902f16fb The Windows headers don't define PEXCEPTION_REGISTRATION_RECORD.
Remove it.
2004-08-13 23:22:30 +00:00
Francois Gouget 0cc262c5bf Fix compilation of the wininet generated tests with the Windows
headers.
2004-08-13 23:19:37 +00:00
Steven Edwards be2c020ce4 Implemented DllRegisterServer and DllUnregisterServer. 2004-08-13 00:38:59 +00:00
Francois Gouget 522217c0e2 Remove LPFILESYSTEMBINDDATA as it's not defined in the standard
Windows headers.
2004-08-11 20:52:37 +00:00
Francois Gouget bf72af30d0 Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
as is done in the Windows headers.
Add #define COBJMACROS where needed in Wine.
Fixes the compilation of the oleaut32/tests/olefont.c and
urlmon/tests/url.c conformance tests with the Windows headers.
2004-08-11 19:43:45 +00:00
Francois Gouget 48ea250887 Don't define __WINE_USE_MSVCRT in the Visual C++ project. It is not
needed as it is defined by the Wine headers.
Use __WINE_USE_MSVCRT to detect whether we are being compiled with the
Wine MSVCRT headers or the Windows ones. In the latter case:
 - don't try to include the Wine-specific msvcrt headers
 - skip all the headers.c tests since there's no MSVCRT_* symbols to
   check
2004-08-11 19:36:17 +00:00
Henning Gerhardt 1dac53bc76 Program Files directory should not be in windows directory. 2004-08-11 18:51:58 +00:00
Christian Neumair ee15af05ad Added support for the freedesktop.org MIME system. 2004-07-30 00:05:02 +00:00
Robert Shearman 9e155fc744 Fix c2man for the case where function parameters are on more than one
line.
2004-07-29 02:35:04 +00:00
Marcus Meissner b2c9c61561 Use "LD" instead of "ld" in winebuild to be able to use a different ld
or ld options.
2004-07-29 02:34:15 +00:00
Alexandre Julliard f1ada8e686 Fixed handling of LANGUAGE statement for message tables (found by
Zhangrong Huang).
2004-07-20 01:24:11 +00:00
Zhangrong Huang 216ba4f0d3 Call wine_cp_wcstombs() to retrieve actual length of buffer before
conversion.
2004-07-20 01:21:57 +00:00
Paul Vriens 53150367b0 Create ~/.wine if not present during wineinstall. 2004-07-19 19:36:44 +00:00
Francois Gouget ad7a4fb9ee Fix msvcmaker so the generated testlist.c files include stdarg.h.
Add comments pointing out the relation between msvcmaker and
make_ctests.
2004-07-16 19:14:43 +00:00
Alexandre Julliard d724923fa1 Specify the PATH variable in uppercase to avoid getting two flavors of
PATH when converting the Unix environment.
2004-07-16 03:52:26 +00:00
Alexandre Julliard 314150f220 Invoke wineprefixcreate if the .wine directory does not exist. 2004-07-16 02:45:25 +00:00
Pierre d'Herbemont 75c3c37b17 Darwin/Mac OS X Weak import workaround. 2004-07-15 18:58:42 +00:00
Pierre d'Herbemont c5cbf7157c - Be more accurate on Darwin stack size.
- Delay import fix on PowerPC hosts.
2004-07-15 18:57:57 +00:00
Dmitry Timoshkov 433b5d416f Uncomment implemented in Wine msvidc32 (MSVC/CRAM) codec. 2004-07-14 21:43:20 +00:00
Pierre d'Herbemont 390f97a0e6 Delayed import fix for Darwin and PowerPC Host. 2004-07-14 21:42:18 +00:00
Alexandre Julliard 92462c2b84 Added support for dumping exported entry points in NE modules. 2004-07-13 03:43:25 +00:00
Marcus Meissner 1f787ca675 Generic SKIP_TAG to skip a number of bytes, use it where applicable. 2004-07-06 19:26:28 +00:00
Pierre d'Herbemont 68467db6c6 - Detection of .size instruction.
- Detection of the assembler name prefix.
2004-06-18 19:36:26 +00:00
Pierre d'Herbemont 3d60a19287 Hide the _init and _fini wrappers on darwin. 2004-06-17 19:58:59 +00:00
Christian Costa 7590fe58f4 Added d3dxof dll, part of Direct3D. 2004-06-03 00:03:23 +00:00
Jon Griffiths 0aab81fa0c Also handle OS2 v1.x (AKA windows 2.0) bitmaps. 2004-06-01 19:43:21 +00:00
Dimitrie O. Paun cb0dc5cdf6 Document the --verbose switch. 2004-05-30 03:09:57 +00:00
Alexandre Julliard b33f850829 Use proper dirids instead of hardcoding c:\Program Files. 2004-05-28 03:54:54 +00:00
Ivan Leo Puoti 3e42f6953e Changed my name, so update copyright info. 2004-05-27 02:25:13 +00:00
Jon Griffiths a270615fdb Always use $(CC) for building the generated .spec.c file. 2004-05-25 18:03:19 +00:00
Eric Pouech d3f8f78c3a - added size information about most of the generated thunks (import,
16/32 relay...)
- marked the wine thunks by inserting specific symbols (to be managed
  by wine's dbghelp)
- removed the stabs generation:
  + mostly used by winedbg, and the previous item will replace it for
    dbghelp
  + still broken for gdb anyway
- enhanced const correctness
2004-05-18 21:27:44 +00:00
Patrik Stridvall ae9cf771de - API files update.
- Minor bug fixes.
2004-05-17 20:50:24 +00:00
Alexandre Julliard e83afa735c Added Environment section.
Fixed path of shell folders key in HKEY_USERS.
2004-05-14 21:40:48 +00:00
Alexandre Julliard 1c5b8b1ae7 Make wineinstall use wineprefixcreate instead of duplicating the
functionality.
2004-05-14 00:43:50 +00:00
Robert Reif 10df346c76 Adds msg711 winemp3 to list of codecs. 2004-05-12 00:11:12 +00:00
Alexandre Julliard 04869eb658 Initial support for automatically creating the ~/.wine directory on
startup.
2004-05-11 04:29:18 +00:00
Dimitrie O. Paun f950d97381 Remove the last remaining wine options when running programs.
Keep support for --help, and --version when they are the only options
on the command line.
2004-05-06 23:51:43 +00:00
Alexandre Julliard 5f27ca2085 Added options to update an existing WINEPREFIX directory and to run
from inside a Wine source tree.
2004-05-05 22:09:09 +00:00
Francois Gouget cfc3943c5f Make our ascii strings static const.
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Hans Leidekker e2bf33437d - Assume 8 byte maximum alignment.
- Sync type testing data with the headers.
2004-05-04 00:38:27 +00:00
Filip Navara 977d863c0e Make widl parse the 'transmit_as' and 'endpoint' keywords. 2004-04-26 23:29:59 +00:00
Jon Griffiths 381304485e Accept exports with '@' in their name.
Link to winehq source for implemented functions.
2004-04-23 21:28:19 +00:00
Filip Navara 19fd305a7e Make widl compile without most of Windows/Wine headers, so it can be
reused by other projects.
2004-04-22 03:40:01 +00:00
Francois Gouget ebf0eb3138 Make static Unicode strings const. 2004-04-20 00:34:52 +00:00
Robert Shearman 7f0abaffe5 - Handle "? :" conditionals.
- Allow [handle] attribute for types.
2004-04-19 23:08:22 +00:00
Dimitrie O. Paun 46b1d49a88 Implement support for the -x <lang> option. 2004-04-16 23:30:32 +00:00
Paul Vriens 8bed3a7b3f Correct removing wineg++ link on an uninstall. 2004-04-16 23:29:30 +00:00
Raphael Junqueira 033ae9219f Added dxdiagn.dll with a simple implementation of IDxDiagProvider. 2004-04-16 00:26:14 +00:00
Alexandre Julliard bc2328fcf2 Only create the device symlinks the first time around. 2004-04-15 00:04:32 +00:00
Vincent Béron 9ce6ff26e1 Remove "Path" lines from sample config.
Setup the links for the default DOS drives in wineinstall.
2004-04-12 22:05:00 +00:00
Dimitrie O. Paun 23a1c12d8e Add support for --verbose for compatibility. 2004-04-12 22:04:13 +00:00
Alexandre Julliard e7579ef3f6 Fixed line number handling for escaped end of lines inside strings. 2004-04-09 19:08:53 +00:00
Michael Stefaniuc c95385a358 - remove from README the stuff that's already in the man page
- more stuff goes from README to the man page
- spelling fixes
2004-04-09 19:06:29 +00:00
Dimitrie O. Paun 1595729abc Specify the right name for the Winelib shared object. 2004-04-09 19:02:18 +00:00
Alexandre Julliard 32e31ac7c4 Automatically detect whether the entry point is main or WinMain
instead of depending on the subsystem type.
2004-04-08 04:41:14 +00:00
Raphael Junqueira 5f3f2149a9 Added simple dpnet.dll implementation. 2004-04-07 20:39:00 +00:00
Alexandre Julliard ffca0d6128 Added some checks for the config.h inclusion rules in the Wine tree. 2004-04-07 04:00:16 +00:00
James Perry 4fbafc168e Make dinput.dll self register. 2004-04-06 20:09:45 +00:00
Alexandre Julliard bd60364040 Beginnings of a script to initialize the .wine directory (with help
from Chris Morgan).
2004-04-01 05:03:27 +00:00
Paul Vriens 840d7de5d4 Added missing comma in index.html. 2004-03-31 20:08:38 +00:00
Alexandre Julliard 85c2ccec76 Do not strip stdcall decoration in spec files.
Fixed mapi32 ordinals.
2004-03-31 00:59:36 +00:00
Alexandre Julliard da59e93af0 Fixed handling of .so and .a libraries specified as input files. 2004-03-31 00:56:14 +00:00
Ivan Leo Murray-Smith 6a1ce967cc Small fix. 2004-03-31 00:55:25 +00:00
Raphael Junqueira 9191a9cd95 Implement DllGetClassObject, DllRegisterServer, DllUnregisterServer
(as the interfaces aren't documented we only have stubs).
2004-03-30 20:42:06 +00:00
Lionel Ulmer 28d9aafc81 Add some TRACEing to the edit control. 2004-03-29 22:54:05 +00:00
Dmitry Timoshkov d16829846d Add a few missing __ASM_NAME macros. 2004-03-27 20:44:41 +00:00
Ivan Leo Murray-Smith 62437ad81d Use WINEDEBUG instead of --debugmsg. 2004-03-27 20:42:34 +00:00
Alexandre Julliard 4cf091ab09 Replaced the --mode winebuild option by a --subsystem option for
better compatibility with the PE binutils.
2004-03-25 00:40:52 +00:00
Alexandre Julliard 39c961aad6 Take EXEEXT into account for PE builds. 2004-03-25 00:13:21 +00:00
Alexandre Julliard d1e0782c9e Removed the Unicode exe modes, and instead detect automatically which
mode to use based on the existence of main or wmain.
2004-03-24 03:39:57 +00:00
Alexandre Julliard c4aacf0e81 Build the dlls with winegcc. 2004-03-24 03:34:00 +00:00
Francois Gouget b948778660 Assorted spelling fixes. 2004-03-23 23:20:16 +00:00
Dimitrie O. Paun 9169b41003 Add a default .dll extension only when no extension is present. 2004-03-23 23:03:12 +00:00
Dimitrie O. Paun b613ee7abb First cut at -shared support. 2004-03-23 00:14:54 +00:00
Steven Edwards 0ea344e53a Remove reference to old graphics directory 2004-03-22 21:29:53 +00:00
Pierre d'Herbemont 0ba5ade849 Darwin support for _init/_fini functions and _end symbol. 2004-03-22 21:12:23 +00:00
Kevin Koltzau af373042b6 Add Content Types for a few common extensions. 2004-03-20 19:19:05 +00:00
Richard Cohen b9a12ad3b7 Remove . from default library search path. 2004-03-17 20:48:44 +00:00
Jukka Heinonen 54a8a25b5e DPMI programs now handle pending events. 2004-03-16 01:15:11 +00:00
Jukka Heinonen 70835ebf02 Remove support for generating interrupt handlers. 2004-03-15 20:09:23 +00:00
Pierre d'Herbemont ec132fe84d Support Darwin ".dylib". 2004-03-15 20:06:06 +00:00
Alexandre Julliard fc6fbd01d4 We no longer need to pass --debugmsg -all to winedbg. 2004-03-12 02:05:11 +00:00
Dimitrie O. Paun c6e5ddf04e Build all file consistently, without shortcuts.
Do not pass winebuild escaped options to the compiler.
2004-03-11 22:42:39 +00:00
Alexandre Julliard 9578430021 chmod is more portable than fchmod. 2004-03-10 01:53:57 +00:00
Alexandre Julliard 2d52cfa958 Allow multiple -B options.
Do not pass the -Btools/winebuild magic option to the compiler to
avoid warnings.
Pass to the linker even the libraries we didn't find in the lib search
path, in case we are not using the standard paths.
2004-03-09 04:49:42 +00:00
Dimitrie O. Paun ac1bd4d15c Add a wine specific mode. If is activated if the -B prefix ends with
/tools/winebuild. If you happen to have such a prefix, but you don't
want this behaviour, simply add a trailing '/'. In this special mode,
no default Win32 DLLs are linked in, we don't force the short wchar_t,
and the standard dirs are not searched.
2004-03-09 04:20:58 +00:00
Hannu Valtonen 21731d47ec Added a man page for widl. 2004-03-09 03:49:39 +00:00
Alexandre Julliard acead48cf8 Fixed a couple of crashes. 2004-03-09 03:44:52 +00:00
Robert Shearman cadf6fc192 Accept '-v' flag. 2004-03-09 03:44:22 +00:00
Dimitrie O. Paun fb1ae96cf7 Add -B prefix support. Small consistency cleanups. 2004-03-09 01:34:00 +00:00
Christian Costa 76b7787b58 Add amstream dll (MultiMedia Streams), part of Direct Show. 2004-03-09 01:29:56 +00:00
Dimitrie O. Paun b8fc5282a8 Support processors made up of different commands.
Rename some processor enums for consistency.
2004-03-09 00:42:21 +00:00
Dimitrie O. Paun 4ea598e068 Preserve the relative order of files and libraries. We do so by
maintaining a unique list of files and lib, each marked with the
appropriate metadata.
2004-03-04 06:06:06 +00:00
Alexandre Julliard 3034c287ea Put the .spec.o file first and the so libraries last on the link
command line.
2004-03-03 22:38:25 +00:00
Alexandre Julliard a631ef6369 Renamed the symbol for the cpp binary to avoid conflicts with
configure internals.
2004-03-03 20:30:46 +00:00
Dimitrie O. Paun 2ab690bcbb Don't tie the script name to the .exe.so name. 2004-03-03 20:11:20 +00:00
Francois Gouget c7201ce3ce Add CEXTRA AND CXXEXTRA fields so we can pass -mno-cygwin to winegcc
but not to wrc which chokes on it. Add RCEXTRA for symetry and for the
user.
Remove T_INIT and get_default_init(). These are obsolete (used to
select the entry-point, WinMain or main).
If the directory contains headers, then add '.' to INCLUDE_PATH.
Specify -mnocygwin during the link stage if we are to link with the
msvcrt.
Transform XXX_APPMODE into XXX_LDFLAGS for more flexibility.
Correctly pass '-mconsole' or '-mwindows' to the link stage.
Remove XXX_BASEMODULE, XXX_SPEC_SRCS and SPEC_SRCS. They are
obsolete.
Add implicit build rules for .c, .cpp, .cxx files so that our settings
(e.g. INCLUDE_PATH) are used.
Fix the rule for building RC files (it was invalid and rejected by
make). Convert it to an implicit rule like the others.
Add rules for 'make clean'.
Add the missing rules for recursive compilation.
Remove obsolete elements from the link command (LDDLLFLAGS,
ALL_LIBRARY_PATH, LIBS).
2004-03-03 02:19:20 +00:00
Dan Kegel 08f25f9982 Fixed typo in test arguments. 2004-03-02 20:53:05 +00:00
Dimitrie O. Paun 5f0796dbd2 Add support for passing options to winebuild via -Wb.
Generate only the loader script when given just the .exe.so.
Add function to delete element from a strarray.
2004-03-02 06:53:16 +00:00
Alexandre Julliard 872ed63b77 Removed obsolete definitions from generated makefiles. 2004-03-02 05:00:52 +00:00
Alexandre Julliard 4f452b632b Removed obsolete --dll option from loader script.
Added support for WINEBUILD environment variable.
Don't generate the loader script if the output file name ends in
.exe.so.
Fixed handling of -L option.
Static libraries have to be linked in after object files.
2004-03-02 05:00:17 +00:00
Dimitrie O. Paun f41c2b212a Instrument winegcc to use the compilers and options detected at
configure time. Add support for parsing/formatting a string array
from/to a char string. Add option to disable short wchar support in
winegcc.
2004-03-02 02:23:26 +00:00
Juan Lang 2faaf2265d Make rsabase.dll self-register. 2004-03-01 21:20:33 +00:00
Alexandre Julliard d0ed9fc604 Use the new .inf script instead of winedefault.reg.
Removed some obsolete code.
2004-02-27 23:34:18 +00:00
Alexandre Julliard 299d5594ce Added wine.inf setupapi script to setup the initial Wine registry
(based on the work of Chris Morgan and Brian Vincent).
2004-02-27 22:04:55 +00:00
Patrik Stridvall 446d6c0ea1 API files update. 2004-02-27 21:28:45 +00:00
Dimitrie O. Paun 905658c463 Generate a simple Makefile that uses winegcc to compile.
No longer generate a configure script, that's project policy.
2004-02-27 21:24:20 +00:00
Dimitrie O. Paun 05ba4b48f1 Remove the no longer used winewrap utility. 2004-02-27 00:42:26 +00:00
Dimitrie O. Paun 006ec80dd5 For static libs (.a) we need to pass the actual filename to winebuild,
not a -l switch. Do not remove the file extension to get to the base
name if it's not .exe or .exe.so. Link shell32 by default for GUI
programs. Fix parsing of options with arguments.
2004-02-26 05:28:35 +00:00
Dimitrie O. Paun e11108c077 Merge winewrap into winegcc. Many cleanups. 2004-02-24 01:00:53 +00:00
Dimitrie O. Paun 69880eb587 Rewrite winegcc in preparation for merging with winewrap.
We now have comprehensive (and correct) options parsing.
2004-02-21 04:01:38 +00:00
Dimitrie O. Paun a9d4b07166 Fix typo introduced during the path search reorganizaton. 2004-02-20 19:57:56 +00:00
Patrik Stridvall 9c39156efd - API files update.
- Minor bug fixes.
2004-02-20 19:57:42 +00:00