Commit Graph

231 Commits

Author SHA1 Message Date
Francois Gouget 5d42588c1c Update win32.api to match the current sources.
Fix the usp10.dll name.
Fix PBERVAL alphabetical order.
2005-09-26 09:53:06 +00:00
Francois Gouget 9714802b25 Update winapi_check so it considers 'longlong' (win*.api files) as
compatible with 'double' (spec files).
2005-09-26 09:52:09 +00:00
Vincent Béron ac3ac35f41 Update the win32.api file to current CVS. 2005-09-09 09:11:23 +00:00
Francois Gouget 09108edded 'volatile' is valid everywhere where 'const' is valid. This fixes
parsing of the new InterlockedExchange() prototype.
2005-09-06 09:23:46 +00:00
Rémi Assailly 2e689c6c66 Removed mcianim. 2005-08-19 11:22:25 +00:00
Rémi Assailly 5df5e40164 Moved mciseq to the top-level dlls directory. 2005-08-17 12:15:35 +00:00
Francois Gouget 71af595499 Use LPSTORAGE to better match the PSDK.
Document the real SEGPTR type using the standard documentation
mechanisms. Fixes winapi_check warnings.
2005-08-16 16:01:15 +00:00
Francois Gouget bcd56fe0e5 Assorted spelling fixes. 2005-08-12 18:22:06 +00:00
Vincent Béron be3837e95b Correct a typo in winapi_local.pm. 2005-08-11 10:32:10 +00:00
Vincent Béron 85c8a9ef8e Another update to win*.api. 2005-08-11 10:32:02 +00:00
Vincent Béron a25f8c49b6 Another update to the win*.api files. 2005-08-10 09:48:43 +00:00
Vincent Béron 49f3c2aeec Since windows/ is gone, headers for user are only in
dlls/user/. Remove kludge from winapi_check.
2005-08-10 09:48:31 +00:00
Vincent Béron 7257b70718 Remove WINE_PACKED recognition.
Update various winapi parser regular expressions to let it understand
some Wine constructs.
2005-08-08 11:06:24 +00:00
Vincent Béron eca5bd48bb Update win16.api/win32.api to current CVS. 2005-08-08 11:06:14 +00:00
Vincent Béron 52dbbafaaa Remove WINE_UNUSED checks. 2005-08-08 11:06:02 +00:00
Rémi Assailly dbbd0d5115 Moved mcicda to the top-level dlls directory. 2005-07-27 15:42:40 +00:00
Vincent Béron 06153098b8 Make winapi_check learn to parse some constructs with some rarely used
keywords.
2005-07-24 17:09:37 +00:00
Vincent Béron a9038b5584 Remove old stuff from winapi_check. 2005-07-24 16:14:49 +00:00
Francois Gouget 96a31515c6 Update win32.api to match the current sources. 2005-07-22 19:48:33 +00:00
Rémi Assailly f9f5eaab6e Moved midimap to the top-level dlls directory. 2005-07-21 11:31:56 +00:00
Francois Gouget 50f7733059 Add missing types to win32.api. 2005-07-11 10:56:41 +00:00
Mike McCormack b8fc783be2 Avoid warnings in generated tests by casting sizeof(x) to an int. 2005-07-03 11:23:30 +00:00
Francois Gouget 355f01275e Update win32.api to match current sources. 2005-06-30 18:08:25 +00:00
James Hawkins 996bcc5c40 Add some missing types to win32.api. 2005-06-28 10:54:18 +00:00
Saulius Krasuckas e76d25f68c Sync msvcmaker with make_ctests to generate valid code. 2005-06-20 10:30:31 +00:00
Francois Gouget 162adc4254 Update the win(16|32).api files to match the current sources. 2005-06-17 21:31:17 +00:00
Francois Gouget fd73829593 Fix the prototypes of SQLCreateDataSource*(), SQLGetPrivateProfileString*().
Fix the return type of SQLInstallerError*() and
SQLPostInstallerError*().
Fix the SQLInstallDriver() and SQLInstallDriverEx() prototypes in the
spec file.
Add an odbccp32 section to win32.api for winapi_check.
2005-06-17 21:26:31 +00:00
Francois Gouget 483bce1dae Fix the FreeADsMem() prototype.
Add an activeds section to win32.api for winapi_check.
Fix a documentation warning.
2005-06-17 20:56:21 +00:00
Francois Gouget ba0b5a8ca1 Remove a check for obsolete directory and file special cases. 2005-06-17 20:55:07 +00:00
Francois Gouget d7d68dba23 We should set the global $all_modules variable otherwise there's no
point.
2005-06-17 20:54:55 +00:00
Alexandre Julliard dae2b44263 Fixed a number of references to removed directories. 2005-06-09 10:24:51 +00:00
Vincent Béron 187790948e Update win16.api and win32.api to keep up with current Wine
development.
2005-05-16 08:46:00 +00:00
Francois Gouget 821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Francois Gouget a96f8ac203 HAVE_V4L2 is not an autoconf define so tell winapi_check not to
complain complain about it.
2005-05-06 14:33:34 +00:00
Francois Gouget 8054f6c5ad Update win32.api to match the current sources.
Declare CoGetClassObjectFromURL() in urlmon.h.
2005-05-06 14:32:48 +00:00
Alexandre Julliard 1492028a96 Get rid of the winapi_check_dir config parameter. 2005-05-04 10:43:00 +00:00
Hans Leidekker a764450631 Move all files from winapi_check/ to winapi/, and remove references to
winapi_check directory.  Merge winapi_check programs.
2005-05-04 09:55:17 +00:00
Francois Gouget 580a333dee Add a powrprof section.
Update win32.api to match the current source.
2005-04-22 21:17:57 +00:00
Francois Gouget 00f72a32fd Add a definition for _ATL_REGMAP_ENTRY in atlbase.h.
Fix the prototype of AtlModuleUpdateRegistryFromResourceD() so it uses
the right pointer types.
2005-04-22 19:04:18 +00:00
Francois Gouget 30a07e9046 Fix the DCICreatePrimary() prototype. It's supposed to return an int
so have it return DCI_FAIL_UNSUPPORTED.
Add the needed error codes and the DCISURFACEINFO definition to
dciddi.h.
Add dciman.h and put the function prototypes there.
dciddi.h and dciman.h should be installed with the other Windows
headers.
2005-04-20 18:42:04 +00:00
Francois Gouget 3a868e0690 Try to clarify the 'no translation defined' error.
Remove an unused variable.
2005-04-20 14:24:52 +00:00
Francois Gouget 133cd70068 Update win32.api to match the current source. 2005-04-20 12:51:51 +00:00
Vincent Béron f4db2e3ad7 rsabase doesn't use any types now, so remove it. 2005-03-29 11:31:39 +00:00
Vincent Béron f455ebf92b Teach winapi about types newly used in various dlls. 2005-03-21 10:53:13 +00:00
Francois Gouget da8b3dd7f2 Assorted spelling fixes. 2005-01-26 21:09:04 +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
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 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
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 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
Steven Edwards c7545d2b1c Correctly define WINVER, _WIN32_WINNT and _WIN32_IE versions in all
cases.
2004-10-11 19:51:43 +00:00
Vincent Béron c165496f01 Update types checked by winapi_check. 2004-10-08 21:02:09 +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
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
Francois Gouget d0882ef46d Handle the static libraries linked to using EXTRALIBS. 2004-10-04 19:14:49 +00:00
Steven Edwards d2acb8cf8b Define _WIN32_WINNT and _WIN32_IE versions for MS_VC Build. 2004-09-23 04:26:54 +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
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
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
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
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
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
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
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
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 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
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
Patrik Stridvall ae9cf771de - API files update.
- Minor bug fixes.
2004-05-17 20:50:24 +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
Steven Edwards 0ea344e53a Remove reference to old graphics directory 2004-03-22 21:29:53 +00:00
Patrik Stridvall 446d6c0ea1 API files update. 2004-02-27 21:28:45 +00:00
Patrik Stridvall 9c39156efd - API files update.
- Minor bug fixes.
2004-02-20 19:57:42 +00:00
Hans Leidekker c9b4f601cb Fixed misuse of scalar reference variable. 2004-01-20 23:37:35 +00:00
Francois Gouget b358b7ad4f Generate ok("...\n") calls. 2004-01-20 21:50:01 +00:00
Martin Fuchs f74e715bab Fixed options for winebuild. 2003-12-15 19:50:42 +00:00
Alexandre Julliard 97657b1dcf Get rid of the msdos/ directory. 2003-11-14 21:12:03 +00:00
Alexandre Julliard 7999469e7d Moved memory/environ.c, memory/virtual.c and misc/cpu.c to
dlls/kernel.
Get rid of the memory/ directory.
2003-11-13 20:58:55 +00:00
Alexandre Julliard 357c7401b9 Re-use the loader directory for the main wine loader, and get rid of
the miscemu directory.
2003-11-06 01:17:56 +00:00
Francois Gouget f405629e8e Weekly spelling fixes. 2003-10-28 21:45:30 +00:00
Alexandre Julliard 2f31228dfe Specify include quotes in the tests.dat file. 2003-10-24 04:43:16 +00:00
Francois Gouget 56b63e85c3 Update tests.dat to include the various #include fixes.
gcc says that sizeof(long double)==12.
Fix the detection of pragma packs to detect #include <...>.
Generate ok("...\n") calls.
2003-10-21 23:48:13 +00:00