Commit Graph

472 Commits

Author SHA1 Message Date
Michael Stefaniuc 906c963947 winapi: Remove the special handling of GDI_AllocObject().
That function doesn't exist anymore in Wine.
2009-12-29 11:08:37 +01:00
Francois Gouget 8ab66c7896 winapi_check: Add support for the new architectures in the spec files. 2009-10-26 11:19:50 +01:00
Francois Gouget 8890282ac0 winapi/c_parser: Remove special cases for DEFINE_SHLGUID() and ICOM_DEFINE().
These macros don't exist anymore.
2009-07-09 14:51:26 +02:00
Francois Gouget 8c1bf48fbf winapi/c_parser: Badly indenting a closing brace should be a warning, not an error. 2009-07-09 14:51:21 +02:00
Francois Gouget def8d4f401 winapi: Modify parse_c_typedef() to get rid of the $finished variable. 2009-07-09 11:37:44 +02:00
Francois Gouget 6f5ae45846 winapi: Introduce a pseudo-loop in parse_c_variable() to get rid of the $finished variable. 2009-07-09 11:37:42 +02:00
Francois Gouget a4ed46d398 winapi: Simplify and improve the readability of the C parsers.
Specifically, clean up parameter passing, and remove unneeded
intermediate variable references.  Remove uninformative comments.
2009-07-06 14:35:27 +02:00
Francois Gouget b3a5755310 winapi: Fix a $blevel / $plevel mismatch. 2009-06-16 13:26:20 +02:00
Francois Gouget dcfd048e2c winapi/c_parser: Remove some dead code. 2009-06-15 13:42:29 +02:00
Francois Gouget 7b1158116b winapi_extract: The old C parser is not needed anymore so remove it. 2009-06-03 11:26:20 +02:00
Francois Gouget 0ab4df02d6 winapi_extract: --spec-files has been broken for a long time and does not seem to be useful so remove it. 2009-06-03 11:26:11 +02:00
Francois Gouget fb9e4afd88 winapi_cleanup: There is not much point for this tool so remove it. 2009-05-26 13:50:25 +02:00
Francois Gouget a5924303af winapi_fixup: There is not much point for this tool so remove it. 2009-05-26 13:50:18 +02:00
Francois Gouget d537476894 winapi_test: Simplify the code that builds the list of headers to process. 2009-05-18 12:32:20 +02:00
Alexandre Julliard b46be0be7d winapi: Handle types should be treated as pointers. 2009-05-06 13:44:54 +02:00
Francois Gouget dbfe7b7b68 winapi: Fix the C-parser combined getter/setter prototypes. 2009-04-20 15:26:35 +02:00
Francois Gouget 9bdde98ab6 winapi: Remove some dead code. 2009-04-20 15:26:07 +02:00
Francois Gouget 55cd3433ac winapi: trampoline is not used so remove it. 2009-04-20 15:26:02 +02:00
Francois Gouget 0dd5c442c1 winapi: Fix the parse_c_declaration() prototype and remove unused variables. 2009-04-20 15:25:36 +02:00
Francois Gouget f8ae6d6407 winapi: parse_c_declarations() is not used. Remove it. 2009-04-20 15:25:31 +02:00
Francois Gouget 467691d3a0 winapi_test: Improve the usage message. 2009-02-11 15:56:02 +01:00
Francois Gouget 581e390115 winapi_test: The tests don't support WIN64 yet so disable them there. 2009-01-08 12:47:22 +01:00
Francois Gouget 411f5d22c0 winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong. 2009-01-08 12:46:39 +01:00
Francois Gouget 9f62c9b7a8 winapi_test: Fix TEST_FIELD() so it correctly tests the field size. 2009-01-08 12:44:49 +01:00
Francois Gouget 43c18c1321 winapi_test: FIELD_ALIGNMENT() is redundant so remove it. 2009-01-08 12:43:15 +01:00
Francois Gouget 2e668d2572 winapi_test: Updated so the generated tests work. 2009-01-08 12:42:12 +01:00
Francois Gouget 5e3e05e043 winapi_check: Extend support for '-arch=xxx' in spec files. 2008-12-17 15:29:03 +01:00
Francois Gouget ea79b297f5 winapi_check: Add support for '-arch=xxx' in spec files. 2008-12-15 12:25:12 +01:00
Rob Shearman 9898d437ef msvcmaker: Generate rules for IDL_C_SRCS, IDL_S_SRCS, IDL_P_SRCS and IDL_TLB_SRCS. 2008-10-17 14:24:54 +02:00
Reece Dunn 23787fc7d9 msvcmaker: The Visual Studio project conversion tool requires a configuration type. 2008-10-15 14:02:27 +02:00
Rob Shearman a4e4e27f48 msvcmaker: Don't automatically add a define for the DLL name.
Use EXTRADEFS from the Makefile.in instead.
2008-10-09 14:20:48 +02:00
Rob Shearman 86ffc2b59f msvcmaker: Don't generate project files for DLLs that can't be compiled with MSVC. 2008-10-09 14:20:27 +02:00
Rob Shearman b1fccd9da9 msvcmaker: Define _USE_MATH_DEFINES so that M_PI and other constants are defined when including <math.h>. 2008-09-29 17:21:27 -05:00
Rob Shearman 07ca2b4527 msvcmaker: Fix detection of static libraries.
Also don't generate a custom build step for the .spec file for static
libraries, since they don't have a .spec file.
2008-09-29 17:21:22 -05:00
Rob Shearman f32ec6430b msvcmaker: Generate include project and make every wine module depend on it.
The include project generates .h files from .idl files so that they
can be used when compiling the modules.
2008-09-29 17:21:16 -05:00
Rob Shearman 0b334e04df msvcmaker: Generate .h files from .idl files specified in IDL_H_SRCS makefile rules. 2008-09-29 17:21:05 -05:00
Rob Shearman e842164cb8 msvcmaker: Fix invocation of winebuild to generate compatible .def files. 2008-09-29 17:20:59 -05:00
Rob Shearman 5376d37f55 msvcmaker: Add support for building wine.lib. 2008-09-29 17:19:57 -05:00
Rob Shearman e713f4bf4f msvcmaker: Update the function list for which HAVE_* defines are written into config.h.
Remove all functions for which the HAVE_ define is not used anywhere.

Add _strdup, _strtoi64 _strtoui64, chsize, strdup and vsnprintf which
are all present in MSVC headers.
2008-09-29 17:19:52 -05:00
Rob Shearman 1ab076626d msvcmaker: Remove the defining of __ASM_SHORT and __ASM_STRING in the generated config.h file.
These defines aren't needed. Move the X_DISPLAY_MISSING and __ASM_*
defines to after the PACKAGE_* defines to match config.h.in.
2008-09-29 17:19:46 -05:00
Rob Shearman efe81dd8ed msvcmaker: Update the HAVE_* defines for headers in the generated config.h file.
Update list of headers present in the MSVC build environment. fcntl.h
isn't detected by configure and so isn't needed.
2008-09-29 17:19:33 -05:00
Rob Shearman c71d16c3e9 msvcmaker: Add HAVE_* defines for some types present in the MSVC build environment. 2008-09-29 17:19:22 -05:00
Rob Shearman fb4355cb5b msvcmaker: Factor out some common settings.
Factor out writing of common compiler settings and setting of common defines.

Factor out the writing of HAVE_* defines in include/config.h and sort
the resulting defines before writing.
2008-09-29 17:19:15 -05:00
Rob Shearman d7a5ff025e msvcmaker: Fix generated imports for Wine modules and link with delayed imports. 2008-09-29 17:19:04 -05:00
Rob Shearman 6d11ecfff4 msvcmaker: Fix the generated filename for the spec file for modules with extensions other than .dll. 2008-09-29 17:18:58 -05:00
Rob Shearman 1b2cead10b msvcmaker: Fix the arguments passed to winebuild to generate the .def file. 2008-09-29 17:18:51 -05:00
Rob Shearman 6b3b7eb6a2 msvcmaker: Define USE_COMPILER_EXCEPTIONS and HAVE_SPAWNVP. 2008-09-29 17:18:39 -05:00
Hongbo Ni e0df1b9e57 msvcmaker: Fix msvc project file generation under MinGW32.
When converting a makefile to a msvc .dsp file, if a line is ended with
a back slash, it will be joined with next line. This patch changes the
joining character from '\n' to a space in order to fix the bug of 
running MinGW32 on Windows.
2008-08-20 11:45:59 +02:00
Rob Shearman 52911fc66c include: Update the MIDL_STUB_MESSAGE structure.
Reduce the size of the IsClient field, as is done in the latest SDKs
to fix NdrClientInitializeNew tests on XP SP3 and Win2003+.
2008-06-19 11:54:49 +02:00
Paul Vriens b79f37f8fd tools/winapi: Fix typo in the generated header. 2008-06-18 15:21:48 +02:00
Reece Dunn d03f4d2a49 tools/msvcmaker: Suppress deprecation warnings on VC8 and above. 2008-04-07 20:35:49 +02:00
Reece Dunn 45d248f1e0 tools: Target the version defines to Vista in msvcmaker. 2008-03-24 21:05:07 +01:00
Francois Gouget de928a09ec msvcmaker: We don't use .dbg.c files anymore. 2008-03-05 13:05:11 +01:00
Francois Gouget 19a85f3433 msvcmaker: We don't build wine.lib so don't try to copy it. 2008-03-05 13:05:02 +01:00
Francois Gouget 9a17f38d6c msvcmaker: winebuild needs getopt*.c and mkstemps.c when compiled with MSVC. 2008-03-05 13:04:53 +01:00
Francois Gouget e52dad1eb7 winapi_check: Update win32.api for d3dx8.dll. 2008-02-05 12:19:38 +01:00
Francois Gouget 511aca5244 winapi_check: Assorted win32.api updates. 2008-02-05 12:19:38 +01:00
Francois Gouget 566b10a330 winapi_check: Update win32.api for acledit.dll, ctapi32.dll and inetcomm.dll. 2008-02-05 12:19:38 +01:00
Francois Gouget f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +01:00
Peter Oberndorfer 66960ba4bf dwmapi: Add stub implementation for DwmSetWindowAttribute and DwmUnregisterThumbnail. 2008-01-07 18:19:37 +01:00
Francois Gouget 80911c12f4 crypt32: Better match the PSDK types and update win32.api to fix the winapi_check warnings. 2007-10-29 12:04:48 +01:00
Francois Gouget b1335db353 Better match the PSDK types and update win32.api to fix the winapi_check warnings. 2007-10-23 18:19:42 +02:00
Francois Gouget d16a634c38 Better match the PSDK types and update win32.api to fix the winapi_check warnings. 2007-10-15 14:06:48 +02:00
Francois Gouget 1a75b5d49c user32: Fix the HRAWINPUT definition and the GetRawInputData() prototype. Update win32.api to fix the winapi_check warnings. 2007-10-15 14:06:35 +02:00
Francois Gouget d223716b7b msdmo: Fix the DMOGetName() prototype. 2007-10-15 14:06:30 +02:00
Francois Gouget c8fbeae6c9 winapi: Assorted win32.api updates. 2007-09-27 20:12:22 +02:00
Francois Gouget 4040ecee2b dnsapi: Fix the DnsQueryConfig() prototype. 2007-09-18 11:21:17 +02:00
Francois Gouget af183df608 advapi32: Add and use LSTATUS. 2007-09-18 11:20:53 +02:00
Francois Gouget 547b0f3417 faultrep: Update win32.api to fix the winapi_check warnings. 2007-09-13 11:00:57 +02:00
Francois Gouget 4ce6a5fa3d url: Update win32.api to fix the winapi_check warnings. 2007-09-12 11:33:10 +02:00
Francois Gouget 2cd698aff0 winapi_check: 'char*' is a string, not a pointer. 2007-09-12 11:33:10 +02:00
Francois Gouget ec6e307b92 quartz: Better match the PSDK types and fix the winapi_check warnings. 2007-09-10 12:15:06 +02:00
Francois Gouget b306d15084 query: Update win32.api to fix the winapi_check warnings. 2007-09-10 12:15:00 +02:00
Francois Gouget 4aed59ef5b crypt32: Better match the PSDK types and fix the winapi_check warnings. 2007-09-10 12:14:03 +02:00
Francois Gouget 878c6f4f5e winex11.drv: Update win32.api to fix the winapi_check warnings. 2007-09-10 12:13:51 +02:00
Francois Gouget ee6a962532 winapi_check: Assorted win16.api and win32.api updates. 2007-09-10 12:13:47 +02:00
Francois Gouget 015dc79cd4 version: Fix some Ver*() prototypes (especially wrt constness).
Better match the PSDK types and fix the winapi_check warnings.
2007-09-10 12:13:41 +02:00
Francois Gouget 6927c9ca61 secur32: Update win32.api to fix the winapi_check warnings. 2007-09-10 12:13:27 +02:00
Francois Gouget 823f386914 vdmdbg: Update win32.api to fix the winapi_check warnings. 2007-09-10 12:12:32 +02:00
Francois Gouget 48ae1a47bc schannel: Update win32.api to fix the winapi_check warnings. 2007-09-10 12:12:30 +02:00
Francois Gouget e32fa84bb2 rpcrt4: Update win32.api to fix the winapi_check warnings. 2007-09-10 12:12:27 +02:00
Francois Gouget 225ff43076 spoolss: Update win32.api to fix the winapi_check warnings. 2007-09-10 12:12:24 +02:00
Francois Gouget 6dbf9c1932 shlwapi: Update win32.api to fix the winapi_check warnings. 2007-08-30 17:02:49 +02:00
Francois Gouget 566330691d winscard: Update win32.api to fix the winapi_check warnings. 2007-08-30 17:02:49 +02:00
Francois Gouget cba68f4cd5 mmsystem: Better stick the the PSDK types. 2007-08-30 17:02:49 +02:00
Francois Gouget 93f7444d96 winhttp: Update win32.api to fix the winapi_check warnings. 2007-08-30 17:02:48 +02:00
Francois Gouget 043fd9b9fe winapi_check: Assorted win32.api updates. 2007-08-30 17:02:48 +02:00
Francois Gouget 20a7ab48d1 gdiplus: Update win32.api to fix the winapi_check warnings. 2007-08-30 17:02:48 +02:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Francois Gouget ce26e78c23 printui: Update win32.api to fix the winapi_check warnings. 2007-08-16 11:09:48 +02:00
Francois Gouget ee3b2632ef ntprint: Update win32.api to fix the winapi_check warnings. 2007-08-16 11:09:45 +02:00
Francois Gouget f20cd498e0 ntoskrnel.exe: Better match the PSDK types and fix the winapi_check warnings. 2007-08-16 11:09:41 +02:00
Francois Gouget cd1c07b4d8 ntdll: Better match the PSDK types and fix the winapi_check warnings. 2007-08-16 11:09:38 +02:00
Francois Gouget 66b7134a04 nddeapi: Update win32.api to fix the winapi_check warnings. 2007-08-16 11:09:34 +02:00
Francois Gouget df3437b825 mshtml: Update win32.api to fix the winapi_check warnings. 2007-08-16 11:09:22 +02:00
Francois Gouget 64de86dce7 pdh: Update win32.api to fix the winapi_check warnings. 2007-08-10 11:56:34 +02:00
Francois Gouget 910d1b01e8 wing32: Update win32.api to fix the winapi_check warnings. 2007-08-10 11:56:31 +02:00
Francois Gouget 31c8f3e02b mprapi: Update win32.api to fix the winapi_check warnings. 2007-08-10 11:56:28 +02:00
Francois Gouget a72b53ee62 mapi32: Update win32.api to fix the winapi_check warnings. 2007-08-10 11:56:25 +02:00
Francois Gouget 9c17c4ccfe userenv: Update win32.api to fix the winapi_check warnings. 2007-08-10 11:56:13 +02:00