Commit Graph

431 Commits

Author SHA1 Message Date
Alexandre Julliard e1fd4390bf winapi: Fix a few C parser bugs. 2010-06-07 16:46:44 +02:00
Alexandre Julliard 84ff0631d4 winapi: Get the list of files from git-ls-files if possible. 2010-06-07 16:46:33 +02:00
André Hentschel 86f67209bb winapi: Allow multiple flags. 2010-05-31 12:14:27 +02:00
André Hentschel f181a48e6a winapi: Add ordinal flag. 2010-05-31 12:14:27 +02:00
André Hentschel 9eda2de2b8 winapi: Init preprocessor_condition. 2010-05-31 12:14:27 +02:00
Alexandre Julliard b141e6e33b winapi: Add a few more types to the ntdll generated tests. 2010-04-07 18:04:00 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Alexandre Julliard 6b11a3c3f8 winapi: Add some support for handling ifdefs, particularly ifdef _WIN64. 2010-04-07 17:27:14 +02:00
Ilya Basin bfe47feea0 msvcmaker: Extract wine_test_dsp_files from C_SRCS variable. 2010-03-22 15:52:35 +01:00
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