Commit graph

38 commits

Author SHA1 Message Date
Serge Gautherie
866f672505 winapi: Update 'perl -w' to 'use warnings 'all''.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-24 18:37:54 +02:00
Francois Gouget
b9181615a9 winapi: Add some more __stdcall synonyms.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 12:09:34 +01:00
Alexandre Julliard
e1fd4390bf winapi: Fix a few C parser bugs. 2010-06-07 16:46:44 +02:00
André Hentschel
9eda2de2b8 winapi: Init preprocessor_condition. 2010-05-31 12:14:27 +02: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
9bdde98ab6 winapi: Remove some dead code. 2009-04-20 15:26:07 +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
088c30c79a winapi: Remove some dead code. 2007-07-31 21:37:23 +02:00
Francois Gouget
ba517e57d2 winapi: Remove useless 'if (0)' statements. 2007-02-20 20:29:20 +01:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget
9139fd140c winapi: Add support for APIENTRY.
Factorize a couple of call convention matching regular expressions.
2006-05-15 11:09:13 +02:00
Vincent Béron
2f8f459516 Make winapi_check understand the interface keyword. 2005-12-02 11:27:13 +01:00
Francois Gouget
f0f179dd0d volatile is valid everywhere const is valid. 2005-09-26 13:25:35 +00:00
Vincent Béron
52dbbafaaa Remove WINE_UNUSED checks. 2005-08-08 11:06:02 +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
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
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
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
Patrik Stridvall
b3da4abc57 Added tests for a few new DLLs. 2002-11-12 01:05:17 +00:00
Patrik Stridvall
5554838292 Added tests for normal types (not just structures). 2002-11-04 22:40:13 +00:00
Patrik Stridvall
65442cd763 - Improved alignment and offset calculations.
- Reorganized and improved enum/union/struct parsing.
2002-10-11 17:53:13 +00:00
Patrik Stridvall
91a3686853 Reorganized the code for better support of data structures parsing. 2002-10-09 18:12:02 +00:00
Patrik Stridvall
a40a4f719e - Added a new tool winapi_test for generating tests.
- Added a data structure packing test to winapi_test.
- Reorganized and optimized a few things.
2002-10-01 18:10:54 +00:00
Patrik Stridvall
11f0359977 - Made the new C parser handle the current Wine source.
- Added a compabillity layer between the old and the new C parser.
- Added parsing of data structures.
2002-09-23 20:38:30 +00:00
Alexandre Julliard
7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall
d171a552bb - FreeBSD now supported.
- Much more work on the new C parser.
- API files update.
2001-09-10 23:16:05 +00:00
Patrik Stridvall
aeb023f352 - Continued on the new C parser.
- More reorganizations and fixes.
- API files update.
2001-08-22 18:09:15 +00:00
Patrik Stridvall
4b33b1322d - Begun implementation of a C statements parser.
- More reorganizations and fixes.
2001-08-09 21:35:38 +00:00