365 Commits

Author SHA1 Message Date
Dan Hipschman
6f4b83bce0 widl: Replace a loop with a simple computation. 2006-09-12 11:01:12 +02:00
Alexandre Julliard
86bb809e5b widl: Change the prefix on bison-generated names to avoid the name-prefix directive. 2006-09-12 09:05:07 +02:00
Alexandre Julliard
bcdc5fb55f Make.rules: Set the default prefix for bison files from the file basename. 2006-09-11 21:47:49 +02:00
Alexandre Julliard
145a0ba508 makefiles: List bison dependencies explicitly for parallel makes, since older bisons don't support --defines. 2006-09-11 21:43:11 +02:00
Alexandre Julliard
9c085cba0a makefiles: Add global rules for bison and lex files.
Also build the .c and .h files separately to allow parallel makes.
2006-09-09 13:16:22 +02:00
Alexandre Julliard
aded30dad7 widl: Allow building without debug support in the parser. 2006-09-09 11:26:20 +02:00
Dan Hipschman
6ff8ae327f widl: Add more complete pointer handling to write_typeformatstring_var. 2006-09-08 11:05:02 +02:00
Dan Hipschman
a407da4775 widl: Sanity check string and pointer attrs. Don't assign string as type. 2006-09-07 10:50:18 +02:00
Dan Hipschman
180ede5bfe widl: Handle more pointer types in get_struct_type. 2006-09-07 10:49:58 +02:00
Dan Hipschman
88820263c6 widl: Remove checks for typedefs that always fail. 2006-09-07 10:49:46 +02:00
Dan Hipschman
1687a5d1db widl: Generate an error for "int f(void a)". 2006-09-07 10:21:39 +02:00
Dan Hipschman
7e79e9d4ff widl: Print pointers more aesthetically in generated header. 2006-09-07 10:21:29 +02:00
Dan Hipschman
929a759895 widl: Add an is_ptr function. 2006-09-07 10:21:13 +02:00
Dan Hipschman
aadc90b266 widl: Factor the entry_t structure. 2006-09-07 10:20:56 +02:00
Dan Hipschman
c117a20cdb widl: Use type_t for typedefs, not var_t. Simplify representation. 2006-09-07 10:20:41 +02:00
Dan Hipschman
59cfad37aa widl: Generate names for tagless structs, unions and enums. 2006-09-07 10:19:48 +02:00
Dan Hipschman
04a15af5dc widl: Add the rest of the pointer types to write_type. 2006-08-29 12:29:26 +02:00
Alexandre Julliard
883aef172d widl: xmalloc shouldn't initialize to zero, do that explicitly where needed. 2006-08-26 21:41:37 +02:00
Dan Hipschman
94755218ac widl: Remove usage of type_t ref field for base types; simplify code. 2006-08-25 11:32:05 +02:00
Andrew Talbot
daa2f97bdc widl: Write-strings warning fix. 2006-08-25 11:27:45 +02:00
Dan Hipschman
3870bf0d9e widl: Output format-strings for interface pointers. 2006-08-18 11:36:21 +02:00
Dan Hipschman
9b16916ed1 widl: Allow format-string functions to work with objects. 2006-08-18 11:36:06 +02:00
Dan Hipschman
ed10b24e14 widl: Use typegen.c format-string functions in proxy.c. 2006-08-17 11:21:19 +02:00
Dan Hipschman
b7e7243a1e widl: Move format-string declaration output to typegen.c. 2006-08-17 11:21:10 +02:00
Dan Hipschman
a5ff173cc3 widl: Generate proxy code for user marshalled types. 2006-08-16 12:50:21 +02:00
Dan Hipschman
c526c980d7 widl: Fix out-only temporary variable generation. 2006-08-16 12:49:57 +02:00
Dan Hipschman
e77a079b27 widl: Fix NdrComplexStructUnmarshall calls in generated code. 2006-08-16 12:49:20 +02:00
Dan Hipschman
b17d1c14d9 widl: Fix NdrConformantArrayUnmarshall calls in generated code. 2006-08-16 12:49:04 +02:00
Dan Hipschman
16d4e71230 widl: Calculate method indices in parser instead of during header generation. 2006-08-16 12:48:52 +02:00
Dan Hipschman
47519f08a7 widl: Pass the right size to MIDL_memset in generated proxy code. 2006-08-15 11:42:50 +02:00
Dan Hipschman
9e49a8d2f2 widl: Improve pointer null checking logic. 2006-08-12 11:41:08 +02:00
Dan Hipschman
06497dd44c widl: Use ref_type to simplify some code. 2006-08-12 11:40:30 +02:00
Dan Hipschman
05001b1ca8 widl: Don't generate indentation spaces on empty lines. 2006-08-11 20:12:38 +02:00
Dan Hipschman
a20f7f46dc widl: Fix incorrect version number in generated code. 2006-08-11 11:56:50 +02:00
Dan Hipschman
216171fe52 widl: Add ref_type (dereference typedefs) and use it. 2006-08-10 10:57:53 +02:00
Alexandre Julliard
2886e9b0e8 makefiles: Use make dependencies to create installation directories.
This avoids a lot of redundant calls to mkinstalldirs.
2006-08-07 17:48:18 +02:00
Dan Hipschman
4961379d74 widl: Replace strdup, malloc and realloc with xstrdup, xmalloc and xrealloc. 2006-08-05 11:25:26 +02:00
Dan Hipschman
df91150e10 widl: Generate GUID (infile_i.c) files. 2006-08-04 13:25:37 +02:00
Dan Hipschman
99056d7e2a widl: Write forward declarations for coclass definitions. 2006-08-03 22:29:58 +02:00
Dan Hipschman
3e1ace5aa3 widl: Set type_t kind field correctly for all types. 2006-07-31 21:40:37 +02:00
Dan Hipschman
23707beb46 widl: Set defined flag for coclasses. 2006-07-31 21:36:31 +02:00
Dan Hipschman
cf4c08dcbc widl: Fix "static declaration follows non-static declaration" in generated code. 2006-07-29 11:55:31 +02:00
Dan Hipschman
678ce9875f widl: Encode coclass types in typelibs. 2006-07-29 11:55:20 +02:00
Dan Hipschman
9265d77584 widl: Register types for coclasses. 2006-07-29 11:55:08 +02:00
Dan Hipschman
c650cceae3 widl: Check if a typeinfo is already in a typelib before adding it. 2006-07-29 11:54:44 +02:00
Dan Hipschman
90cdff9b3f widl: Set typelib_idx for coclasses when they're added to a typelib. 2006-07-29 11:54:21 +02:00
Dan Hipschman
c67b19b4f4 widl: Fold class_t into type_t. 2006-07-29 11:54:09 +02:00
Jacek Caban
37cf4a5260 widl: Reorder segments to match midl. 2006-07-28 12:34:27 +02:00
Jacek Caban
c9a08007eb widl: Use cval in ATTR_ID. 2006-07-28 12:34:20 +02:00
Jacek Caban
b86bc2b634 widl: Added ATTR_BINDABLE handling to add_func_desc. 2006-07-28 12:34:14 +02:00