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

64 Commits

Author SHA1 Message Date
Jelmer Vernooij
2f76e2a6bf r11077: Fix [string] for Samba3 2007-10-10 13:44:44 -05:00
Jelmer Vernooij
1d5db487bb r11067: Support for [string] in the Ethereal parser generator 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
Stefan Metzmacher
471c0ca4ab r11052: bring samba4 uptodate with the samba4-winsrepl branch,
before the bad merge

metze
2007-10-10 13:44:43 -05:00
Stefan Metzmacher
66f931071e r11011: r10124@SERNOX: metze | 2005-09-09 20:22:00 +0200
r10113@SERNOX:  metze | 2005-09-09 18:00:02 +0200
  rename libcli/wins to libcli/wrepl

  metze
  r10115@SERNOX:  metze | 2005-09-09 18:01:49 +0200
  bind client connection to the best interface, to the partner

  metze
  r10116@SERNOX:  jelmer | 2005-09-09 18:23:50 +0200
  Print out a couple more warnings.
2007-10-10 13:41:27 -05:00
Jeremy Allison
2680aeffb1 r10880: Missed terminating ';', sorry.
Jeremy.
2007-10-10 13:39:39 -05:00
Jeremy Allison
534e8d1622 r10879: Added the ZERO_STRUCT(q_u), (r_u) entries to the generated
Samba3 code. Jelmer please check !
Jeremy.
2007-10-10 13:39:39 -05:00
Stefan Metzmacher
7efb92adc0 r10868: make flag(NDR_PAHEX) possible to use and show the union level in hex
metze
2007-10-10 13:39:38 -05:00
Jelmer Vernooij
3c2558d11e r10849: Fix handling of [charset] for strings with fixed or "inline" size 2007-10-10 13:39:36 -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
7877d43657 r10840: Fix indentation 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
ebb8e75ebd r10788: - Give unions a name
- Check initialisation function return value
2007-10-10 13:39:29 -05:00
Jelmer Vernooij
43a5c863bf r10787: Fix silly nodiscriminant-issue 2007-10-10 13:39:29 -05:00
Jelmer Vernooij
6b33e3eedd r10765: Actually use VALS() setting for enums 2007-10-10 13:39:28 -05:00
Stefan Metzmacher
2f46e54e1b r10761: we need to use a pointer to a nbt_name to fix compiler warnings, because we can
only use a pointers to unknown types in proto.h

metze
2007-10-10 13:39:28 -05:00
Stefan Metzmacher
c4a252bd46 r10760: remove only one star from the pointers, and not from the stars that
come from the array nesting

this fixes a compiler warning and but in the eventlog.h,
where the idl uses nstring strings[num_strings]

metze
2007-10-10 13:39:27 -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
c2527217b4 r10716: Use correct Samba3 data types for strings. Also use Samba3 types
for a couple of other types (policy handles, SIDs, times)
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
9fac8dfeb3 r10698: Fix support of enums in switch_type() in the ethereal parser generator 2007-10-10 13:39:20 -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
Stefan Metzmacher
b98efc2905 r10608: - fix hierachical memory handling in ndr_pull_nbt_name
- add wrepl_nbt_name scalar type and do the pull/push in the ndr layer
  instead of the caller
- give the flags and group_flag in the wrepl_name a meaning

metze
2007-10-10 13:39:12 -05:00
Jelmer Vernooij
786329576b r10388: Add version numbers (required for CPAN) 2007-10-10 13:38:38 -05:00
Jelmer Vernooij
0949db8119 r10296: Fix function pointer handling for older perl versions 2007-10-10 13:38:14 -05:00
Jelmer Vernooij
26f2903dab r10295: Remove dependency on Data::Dumper 2007-10-10 13:38:14 -05:00
Tim Potter
515f456fac r10197: Assume that external dissectors are structs which I think is always the
case.
2007-10-10 13:38:07 -05:00
Jelmer Vernooij
e6842fcc98 r10123: Add more warnings. Support quotes in conformance command arguments 2007-10-10 13:38:01 -05:00
Jelmer Vernooij
0628dfa5c3 r10116: Print out a couple more warnings. 2007-10-10 13:38:01 -05:00
Jelmer Vernooij
1caeb3238d r10110: Add some more warnings, implement FIELD_DESCRIPTION 2007-10-10 13:38:00 -05:00
Jelmer Vernooij
a69e88e7b1 r10094: Support quoted arguments in conformance files
Update pidl manpage
2007-10-10 13:37:52 -05:00
Jelmer Vernooij
0c0a4b55cf r10093: Fix the HF_FIELD conformance file command 2007-10-10 13:37:52 -05:00
Jelmer Vernooij
9c9ebd2214 r10074: Pass CPP to pidl via environment variables rather then config.pm. This fixes the
standalone pidl build (as used for ethereal)
2007-10-10 13:37:50 -05:00
James Peach
82fab8b747 r10071: Configure checks for IRIX build environment. Test whether we can
use the MIPSPro 7.4 -c99 option to get C99 support. Try to find
a common perl that is more modern than /usr/bin/perl.
2007-10-10 13:36:34 -05:00
Tim Potter
42568d3f28 r10047: Translate an idl NTTIME to an ethereal FT_ABSOLUTE_TIME instead of
a FT_UINT64.  Not sure about a NTTIME_hyper though.
2007-10-10 13:36:33 -05:00
Jelmer Vernooij
0e358de93a r10030: Add hierarchical memory allocation to TDR's pull functions 2007-10-10 13:36:31 -05:00
Jelmer Vernooij
0ad46ef804 r10015: Change the NT4 registry backend to use the IDL-generate parse functions. 2007-10-10 13:36:29 -05:00
Jelmer Vernooij
c0bae9b0b5 r10010: Support base_type() attribute 2007-10-10 13:36:28 -05:00
Jelmer Vernooij
dfa45ec1b3 r10006: Insert correct header file. 2007-10-10 13:36:28 -05:00
Tim Potter
73dffade2c r9984: Honour the NOEMIT conformance directive for entire IDL files. 2007-10-10 13:36:26 -05:00
Tim Potter
55a98b3dfd r9983: Make the NOEMIT conformance directive with no argument mean do not
emit any dissectors for this IDL.
2007-10-10 13:36:26 -05:00
Tim Potter
ec80c5ceec r9982: Strip prefixes off the check for noemit in the conformance info so you
can use the typedef names in the IDL rather than the autogenerated
function names.  This means you can say "NOEMIT security_descriptor"
instead of "NOEMIT dissect_security_descriptor_type" or whatever.
2007-10-10 13:36:26 -05:00