Commit Graph

1370 Commits

Author SHA1 Message Date
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