1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-17 04:23:50 +03:00
Commit Graph

19 Commits

Author SHA1 Message Date
Gerald Carter
26a2fa97e4 r16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for correct grammar 2007-10-10 14:08:59 -05:00
Jelmer Vernooij
80b9865b37 r14215: Improve warning/error messages. 2007-10-10 13:57:04 -05:00
Jelmer Vernooij
e7ac6c708d r12484: Initial work on supporting non-typedeffed types 2007-10-10 13:47:44 -05:00
Jelmer Vernooij
2f76e2a6bf r11077: Fix [string] for Samba3 2007-10-10 13:44:44 -05:00
Jelmer Vernooij
765adaf19b r11061: Samba3 parser generator fixes:
* Add (limited) support for [string]
* Don't generate (and set) header elements for top level ref pointers as
they don't appear on the wire
2007-10-10 13:44:43 -05:00
Jelmer Vernooij
3a4086d614 r10842: Fix some issues with [out] unions that have a discriminator that is only
[in]
2007-10-10 13:39:34 -05:00
Jelmer Vernooij
0c53e7c3cf r10829: Documentation updates
Update TODO
Some small fixes to the modules
2007-10-10 13:39:33 -05:00
Jelmer Vernooij
43a5c863bf r10787: Fix silly nodiscriminant-issue 2007-10-10 13:39:29 -05:00
Jelmer Vernooij
258b762dc6 r10742: Support multi-level pointers + ref pointer fixes 2007-10-10 13:39:26 -05:00
Jelmer Vernooij
ebeeec5406 r10739: Reduce number of calls to prs_align_custom() 2007-10-10 13:39:25 -05:00
Jelmer Vernooij
2b4270a2e9 r10737: Fix some alignment issues 2007-10-10 13:39:25 -05:00
Jelmer Vernooij
12bfa5d01b r10734: Generate ptr, size, offset, and length elements in unions just once. 2007-10-10 13:39:25 -05:00
Jelmer Vernooij
bd8fcb0500 r10732: Generate _ctr structures for unions 2007-10-10 13:39:25 -05:00
Jelmer Vernooij
e2d7e382bb r10721: Handle allocations and primitive / deferred data correctly. In theory,
the generated output for DFS should work now (it compiles cleanly, but
I haven't tested it yet).

Not supported:
 - subcontexts()
 - relative pointers
 - unions of pointers
 - DATA_BLOB
 - several other things

Also still need to do:
 - Remove some spurious spaces in the output
 - Do range() checking

Example output is still available at http://samba.org/~jelmer/pidl_samba3/
2007-10-10 13:39:24 -05:00
Jelmer Vernooij
9fe724f6fb r10718: Another large set of small improvements. All generated files compile
without warnings now. The only things left to do that are
required for DFS:
 - add allocation of arrays in marshalling phase
 - handling primitive and deferred data in embedded structures / unions.

Example output is again available from http://samba.org/~jelmer/pidl_samba3/
2007-10-10 13:39:24 -05:00
Jelmer Vernooij
2b315b1942 r10717: Another bunch of small updates. All generated files except parse_dfs.c
compile now when generated from Samba4's dfs.idl.
2007-10-10 13:39:24 -05:00
Jelmer Vernooij
b229c033eb r10715: More Samba3 parser generator improvements:
- Actually generate parsers for unions and structs.
- Support some more builtin types.
- Some more work on supporting arrays.
- Several other small fixes.

I've updated the example output at http://samba.org/~jelmer/
2007-10-10 13:39:23 -05:00
Jelmer Vernooij
8a60e79175 r10713: Couple more updates to the Samba3 parser generators.
Unions and enums have been improved, init functions are now generated
properly, some other small improvements.
2007-10-10 13:39:23 -05:00
Jelmer Vernooij
8af8eaeeef r10694: Add some work I did this afternoon on getting pidl to output Samba3
RPC parsers. Currently the following files can be generated:

- include/rpc_BASENAME.h
- rpc_server/srv_BASENAME.c
- rpc_server/srv_BASENAME_nt.c (template only, user has to fill in functions)
- rpc_client/cli_BASENAME.c
- rpc_parse/parse_BASENAME.c

So far, I have been working on getting DFS working. Currently still to do
(all in rpc_parse/parse_BASENAME.c):
 - Proper handling of declarations
 - Proper handling of scalar/buffer parts of structs and unions
 - Subcontexts
 - Proper handling of arrays
 - Support for custom (non-scalar) types

I hope to have a somewhat more working version later this week.

Some files as currently generated are available from:
http://samba.org/~jelmer/pidl_samba3/
2007-10-10 13:39:20 -05:00