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
Robert Shearman
96f6a22ece
widl: Only write the buffer incrementing code for the marshaling and unmarshaling phases.
...
Only write the buffer incrementing code for the marshaling and
unmarshaling phases - buffer sizing is handled elsewhere and freeing
isn't applicable.
2006-03-31 17:36:06 +02:00
Robert Shearman
226c8f6b52
widl: Output the necessary sizing information for other phases.
...
Output the necessary sizing information for PHASE_BUFFERSIZE and
PHASE_FREE as well as PHASE_MARSHAL. Standardise this rule in a new
function.
2006-03-31 17:35:49 +02:00
Robert Shearman
4a67201b70
widl: Output NULL ref pointer check for pointer levels > 1 too.
2006-03-31 17:35:31 +02:00
Robert Shearman
73ff576554
widl: Fix a GCC warning in the generated client and server code.
2006-03-31 17:35:21 +02:00
Robert Shearman
4cd506b8fd
widl: The lval member of var_t is essentially a duplicate of eval->cval.
...
- Generate eval's for enums that don't explicitly have one. This means
that enums written in header files won't match exactly what has been put
into the IDL file, but the numeric constat is the same and MIDL does a
similar thing.
- Replace constant lookups with eval->cval instead of lval.
2006-03-31 17:35:04 +02:00
Robert Shearman
4edcf2de35
widl: De-reference parameters' types before deciding what to do with them.
...
De-reference parameters' types before deciding what to do with them.
Also dereference string parameters since they are immediately
dispatched to write_string_tfs when the string attribute is detected
without any further processing done on them.
2006-03-31 17:34:48 +02:00
Robert Shearman
4b5386e2cd
widl: Write pointer calls for all non-basetype pointer parameters to functions.
2006-03-31 17:34:38 +02:00
Robert Shearman
91dbc5ae28
widl: Write definitions for MIDL_user_allocate and MIDL_user_free in the header.
...
Write definitions for MIDL_user_allocate and MIDL_user_free in the
header when writing out RPC interfaces to prevent compile failures in
the generated client/server code.
2006-03-31 17:33:28 +02:00
Robert Shearman
071dfb188a
widl: Write out the pre- and postamble for RPC interfaces with no methods.
2006-03-31 17:32:38 +02:00
Robert Shearman
b38cd7ff5f
widl: Output interface defined guard for rpc interfaces too.
2006-03-31 17:32:09 +02:00
Robert Shearman
97d6f7c444
widl: NdrFcShort should be written out instead of NdrShort.
2006-03-31 17:31:44 +02:00
Robert Shearman
bed9fdec8d
widl: Output the numeric equivalent of FC_END, not the string FC_END itself.
2006-03-31 17:31:31 +02:00
Robert Shearman
3ec771a20f
widl: Support references in type_memsize.
2006-03-31 17:31:18 +02:00
Robert Shearman
3db71d9d9c
widl: Only output code for non-object interfaces in client and server.
...
Only output code for non-object interfaces in client and server
generation and convert the while loops into for loops.
2006-03-31 17:31:04 +02:00
Eric Kohl
12d4d9c229
widl: Implement support for ref pointers to strings.
2006-03-30 16:24:35 +02:00
Eric Kohl
1a5c6ef47d
widl: Implement support for pointers to base types.
2006-03-28 14:43:28 +02:00