Alexandre Julliard
732b3dc8c7
widl: Output correct alignments in type format strings.
2007-02-06 15:54:58 +01:00
Mike McCormack
609cd30277
widl: Implement dispinterfaces derived from an interface.
2007-02-06 13:20:46 +01:00
Mike McCormack
7d1e21e2c1
widl: Handle TKIND_DISPATCH when generating MSFT typelibs.
2007-01-26 14:29:18 +01:00
Huw Davies
305e4949ee
widl: Don't restrict the number of params of [prop*] functions.
2007-01-26 12:22:40 +01:00
Huw Davies
f994c35a3e
widl: Add VT_DATE support to typelib generation.
2007-01-26 12:22:38 +01:00
Alexandre Julliard
2eee874382
widl: Make some generated variables static and/or const.
2007-01-26 12:09:25 +01:00
Alexandre Julliard
2b9c01eed2
widl: Avoid dependency on COBJMACROS in generated code.
2007-01-26 12:09:14 +01:00
Alexandre Julliard
9505b50ccf
widl: Define __midl_proxy in the generated proxy code.
2007-01-26 12:09:03 +01:00
Alexandre Julliard
1a25936ca9
widl: Add a few more fields in the stub descriptor.
2007-01-26 12:08:51 +01:00
Alexandre Julliard
6c559cafab
widl: Rename a couple of variables to make the code closer to what midl generates.
2007-01-26 12:04:40 +01:00
Alexandre Julliard
7e4a985269
widl: Initialize local variables in stub functions.
2007-01-26 12:03:02 +01:00
Alexandre Julliard
9e6acf818f
widl: Use the typegen function for marshalling/unmarshalling in proxies.
2007-01-26 12:00:42 +01:00
Alexandre Julliard
9f1e9ad326
widl: Copy the UserMarshal support into the generic code.
2007-01-26 11:59:58 +01:00
Alexandre Julliard
8d50f9d054
widl: Add support for some simple pointer types.
2007-01-24 20:10:57 +01:00
Alexandre Julliard
d885244148
widl: Store the interface id in _StubMsg.MaxCount for iid_is pointers.
2007-01-24 20:10:07 +01:00
Alexandre Julliard
4f106ca398
widl: Fix alignment check for struct members format string.
2007-01-24 20:08:50 +01:00
Alexandre Julliard
8996c79d83
widl: Fix possible crash in write_array_tfs.
2007-01-24 20:08:06 +01:00
Alexandre Julliard
8e3c5c9ab9
widl: Skip local functions when building format strings.
2007-01-24 20:06:51 +01:00
Alexandre Julliard
6dd5afd723
widl: Export a function to compute the proc format string size for a function.
2007-01-24 20:05:22 +01:00
Alexandre Julliard
6655071a3f
widl: Move initialization of the stub buffer size into write_remoting_arguments().
2007-01-24 20:02:05 +01:00
Alexandre Julliard
85ed9ca31a
widl: Move support for stub arguments to typegen.c to make it usable for proxies too.
2007-01-24 19:59:16 +01:00
Alexandre Julliard
43ac6ed995
widl: Convert expression lists to standard Wine lists.
...
Add a specific type for array dimensions.
2007-01-22 14:31:40 +01:00
Alexandre Julliard
eed74e4e4a
widl: Convert variable lists to standard Wine lists.
2007-01-22 14:26:12 +01:00
Alexandre Julliard
58827d026b
widl: Convert function lists to standard Wine lists.
2007-01-22 14:23:08 +01:00
Alexandre Julliard
e262933bdf
widl: Convert interface lists to standard Wine lists.
2007-01-22 14:21:56 +01:00
Alexandre Julliard
e998590557
widl: Convert attribute lists to standard Wine lists.
2007-01-22 14:20:36 +01:00
Alexandre Julliard
5b0bf5dc76
widl: Convert typelib lists to standard Wine lists.
2007-01-22 14:10:30 +01:00
Alexandre Julliard
5aba7b0c67
widl: Use existing functions to retrieve attributes for typelibs.
2007-01-22 14:09:46 +01:00
Alexandre Julliard
75c2184f87
widl: Include objbase.h so that generated proxy file compiles on Wine.
2007-01-19 13:17:17 +01:00
Alexandre Julliard
0edfacdb6a
widl: Generate proxy/client/server files when requested explicitly even if they are empty.
2007-01-19 12:46:19 +01:00
Andrew Talbot
d3972880c0
widl: Fix memory leaks.
2007-01-04 21:14:14 +01:00
Alexandre Julliard
7035aa5041
make_makefiles: Generate the top-level .gitignore file.
...
Add a PROGRAMS variable in some makefiles to make things easier.
2006-12-27 21:23:36 +01:00
Francois Gouget
bb8e625b5b
Assorted spelling fixes.
2006-12-05 10:31:47 +01:00
Michael Stefaniuc
cc234847d0
widl: Use ULONG instead of unsigned long when generating declarations for *_UserFree() functions. This is needed for Win64 compatibility.
2006-11-09 10:43:23 +01:00
Michael Stefaniuc
6f95047034
widl: Use ULONG instead of unsigned long when generating declarations for *_UserUnMarshal() functions. This is needed for Win64 compatibility.
2006-11-09 10:43:20 +01:00
Michael Stefaniuc
05b1aac100
widl: Use ULONG instead of unsigned long when generating declarations for *_UserMarshal() functions. This is needed for Win64 compatibility.
2006-11-09 10:43:16 +01:00
Michael Stefaniuc
177aaf6738
widl: Use ULONG instead of unsigned long when generating declarations for *_UserSize() functions. This is needed for Win64 compatibility.
2006-11-09 10:43:12 +01:00
Michael Stefaniuc
15765dd953
The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility.
2006-10-16 10:53:04 +02:00
Francois Gouget
58162f87fd
Assorted spelling fixes.
2006-10-13 11:55:04 +02:00
Andrew Talbot
9c6c8b178a
widl: Cast-qual warning fix.
2006-10-10 19:33:06 +02:00
Michael Stefaniuc
0fb444b58c
tools: Remove redundant NULL checks before free() (found by Smatch).
2006-10-10 12:56:20 +02:00
Francois Gouget
4b2d7e9321
widl: Use CONST_VTBL to declare lpVtbl.
2006-09-29 17:51:45 +02:00
Michael Stefaniuc
41dd56cb7f
"One liners" printf format warning fixes for the migration of DWORD/LONG/ULONG from long to int.
2006-09-29 16:09:24 +02:00
Dan Hipschman
3ad3f8de42
widl: Don't compare result of read() to unsigned type.
2006-09-14 11:39:37 +02:00
Dan Hipschman
bd7e690c1f
widl: Remove unused parameter in create_msft_typeinfo.
2006-09-14 11:39:37 +02:00
Dan Hipschman
48006f60a7
widl: Remove unused parameter in ctl2_encode_name.
2006-09-14 11:39:37 +02:00
Dan Hipschman
954c592a6c
widl: Replace a #if by if for better compiler checking.
2006-09-14 11:39:37 +02:00
Dan Hipschman
6e7389ada8
widl: Remove unused parameter in write_ip_tfs.
2006-09-14 11:39:37 +02:00
Dan Hipschman
53a2819286
widl: Fix warning about unused structure field in lexer.
2006-09-14 11:39:37 +02:00
Dan Hipschman
a472c83f91
widl: Add -u and -U options to man page.
2006-09-14 11:39:37 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
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
Jacek Caban
4d76264f3e
widl: Store typekind in msft_typeinfo_t to fix ATTR_DUAL handling.
2006-07-28 12:34:08 +02:00
Dan Hipschman
3b3632a1cd
widl: Allow trailing commas in attribute lists.
2006-07-26 10:24:06 +02:00
Dan Hipschman
12a9dfd62f
widl: Support SAFEARRAY(type) syntax.
2006-07-25 11:21:41 +02:00
Dan Hipschman
f3d01fb07b
widl: Fix redefinition of types in output.
2006-07-25 11:21:29 +02:00
Dan Hipschman
82c11ce002
widl: Allow write_type to output full pointer types.
2006-07-24 13:27:15 +02:00
Dan Hipschman
2660b8f9c1
widl: Support coclass forward declarations.
2006-07-14 13:32:38 +02:00
Dan Hipschman
d68ec1d325
widl: Fix unterminated comment in generated code.
2006-07-14 13:32:38 +02:00
Alexandre Julliard
645cd6ff50
libs: Get rid of the symlinks for the static libs.
2006-07-11 19:33:48 +02:00
Alexandre Julliard
88c97d7284
.gitignore: Added wildcards to ignore lex and bison output files.
2006-07-10 21:40:49 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Robert Shearman
f627845624
widl: Add support for the builtin constants "TRUE" and "FALSE".
2006-07-07 14:30:34 +02:00
Alexandre Julliard
fdb4c7e986
widl: Fixed syntax of DECL_LINK macro to look more like C code.
2006-06-27 11:51:07 +02:00
Andrew Talbot
0e1e585c73
widl: Write-strings warnings fix.
2006-06-26 12:36:52 +02:00
Thomas Weidenmueller
af994f4e4f
widl: Fix updating the proc offset.
2006-06-19 10:27:24 +02:00
Alexandre Julliard
043fd66907
widl: Use unsigned int instead of size_t to avoid printf format warnings.
2006-06-13 14:13:49 +02:00
Robert Shearman
996c4f1f93
widl: Support coclass forward declarations.
2006-06-07 11:47:21 +02:00
Robert Shearman
d7e7242af6
widl: Fix a typo in the man page.
2006-06-02 10:52:26 +02:00
Robert Shearman
90decb631c
widl: Properly size the return value procformat.
2006-06-02 10:52:23 +02:00
Robert Shearman
6f85f989f5
widl: Only write one procformat string and one typeformat string per file.
2006-06-02 10:52:10 +02:00
Robert Shearman
fa4f94bdd5
widl: Allow some more "reserved words" to be used as identifiers.
2006-05-31 15:47:50 +02:00
Alexandre Julliard
25dc6d912e
widl: Clean output files when aborting on a signal.
2006-05-27 13:23:47 +02:00
Alexandre Julliard
59493b6c33
widl: Get rid of unnecessary inclusion of unicode.h.
2006-05-24 17:41:47 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Jacek Caban
dee8790c69
widl: Don't add importlib if it is already on the list. Remove warning.
2006-05-20 13:58:54 +02:00
Jacek Caban
a7fa3a985b
widl: Added support for importing parent interfaces from importlib.
2006-05-20 13:58:44 +02:00
Jacek Caban
6137e1b60a
widl: Added importlib reading implementation.
2006-05-17 21:02:00 +02:00
Jacek Caban
dce3f2be05
widl: Added RPC_FC_ENUM16 encoding.
2006-05-15 11:49:28 +02:00
Jacek Caban
4812abc247
widl: res50 is number of impinfos. Fix its usage.
2006-05-15 11:49:15 +02:00
Eric Kohl
2c7270e388
widl: Implement 'oldnames' option.
2006-05-05 16:37:42 +02:00
Eric Kohl
b64154882c
widl: Fix a typo.
2006-05-05 16:36:46 +02:00
Jacek Caban
738be2eec3
widl: Fix a typo.
2006-04-21 23:20:09 +02:00
Jacek Caban
8cd409facf
widl: Added importlib parsing code.
2006-04-21 12:46:13 +02:00
Eric Kohl
ff302bfc7a
widl: Implement support for unique pointers to strings.
2006-04-21 11:28:03 +02:00
Robert Shearman
555cf38269
widl: Prevent NULL pointer de-refs on "void *" types.
2006-04-20 15:16:59 +02:00
Robert Shearman
7ca82cd6d2
widl: Ignore [object] attribute on interfaces written to a typelib.
2006-04-18 16:48:39 +02:00
Eric Kohl
bec0993199
widl: Support multiple RPC interfaces per binary.
2006-04-17 12:00:54 +02:00
Eric Kohl
e7134bd4cd
widl: Implement support for unique pointers to arrays.
2006-04-17 11:18:49 +02:00
Mike McCormack
1d453ab551
widl: Add support for VT_I8 and VT_UI8 to msft typelibs.
2006-04-14 10:49:14 +02:00
Eric Kohl
7fb3f12ce5
widl: Implement support for ref pointers to simple structs.
2006-04-10 15:56:50 +02:00
Eric Kohl
83d72a4318
widl: Implement support for ref pointers to arrays of base types.
2006-04-05 10:58:25 +02:00
Robert Shearman
e2ea2b5891
widl: Fix the type offset for generated conformant string calls.
2006-04-03 21:36:06 +02:00
Robert Shearman
837e830a26
widl: There's no need to cast _StubMsg - it's already of the correct type.
2006-03-31 17:38:00 +02:00
Robert Shearman
506404ba09
widl: Only assign variables if not a string and only create a local variable if not a sized parameter.
...
Only assign variables if not a string and only create a local variable
if not a sized parameter. Fixes type mismatches in the generated code
due to differences in the algorithms between creating local variables
and using them.
2006-03-31 17:37:51 +02:00
Robert Shearman
62eb9f4b0c
widl: Initialise the temporary variable to 0 for parameters with more than one level of indirection.
2006-03-31 17:37:35 +02:00
Robert Shearman
d82bb4ade9
widl: Create the correct variable type for parameters with more than one level of indirection.
2006-03-31 17:37:22 +02:00
Robert Shearman
27c3222715
widl: Re-use print_phase_basetype for generating return value marshaling and unmarshaling code.
2006-03-31 17:37:11 +02:00
Robert Shearman
3e065ab342
widl: Move handling of base type marshaling and unmarshaling to a separate function.
...
Move handling of base type marshaling and unmarshaling to a separate
function and improve it to support return values.
2006-03-31 17:37:01 +02:00
Robert Shearman
eb000448a0
widl: Use print_phase_function for printing NdrPointerFree call.
2006-03-31 17:36:39 +02:00
Robert Shearman
04632f6ab7
widl: Add a function to generate the Ndr type calls.
...
- Add a function to generate the Ndr type calls.
- Fix a typo where the aligned buffer was added to itself, rather than
assigned.
2006-03-31 17:36:23 +02:00