Commit graph

1283 commits

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