1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

71 Commits

Author SHA1 Message Date
Jeremy Allison
d2376d70b2 r10880: Missed terminating ';', sorry.
Jeremy.
(This used to be commit 2680aeffb1)
2007-10-10 13:39:39 -05:00
Jeremy Allison
399533dc64 r10879: Added the ZERO_STRUCT(q_u), (r_u) entries to the generated
Samba3 code. Jelmer please check !
Jeremy.
(This used to be commit 534e8d1622)
2007-10-10 13:39:39 -05:00
Stefan Metzmacher
b94fcbd306 r10868: make flag(NDR_PAHEX) possible to use and show the union level in hex
metze
(This used to be commit 7efb92adc0)
2007-10-10 13:39:38 -05:00
Jelmer Vernooij
01d23b0e54 r10849: Fix handling of [charset] for strings with fixed or "inline" size
(This used to be commit 3c2558d11e)
2007-10-10 13:39:36 -05:00
Jelmer Vernooij
36517c801c r10842: Fix some issues with [out] unions that have a discriminator that is only
[in]
(This used to be commit 3a4086d614)
2007-10-10 13:39:34 -05:00
Jelmer Vernooij
fa0fbb46b8 r10840: Fix indentation
(This used to be commit 7877d43657)
2007-10-10 13:39:34 -05:00
Jelmer Vernooij
848dff8f0d r10829: Documentation updates
Update TODO
Some small fixes to the modules
(This used to be commit 0c53e7c3cf)
2007-10-10 13:39:33 -05:00
Jelmer Vernooij
c5069ba7e3 r10788: - Give unions a name
- Check initialisation function return value
(This used to be commit ebb8e75ebd)
2007-10-10 13:39:29 -05:00
Jelmer Vernooij
0ef0467039 r10787: Fix silly nodiscriminant-issue
(This used to be commit 43a5c863bf)
2007-10-10 13:39:29 -05:00
Jelmer Vernooij
093a30d7ed r10765: Actually use VALS() setting for enums
(This used to be commit 6b33e3eedd)
2007-10-10 13:39:28 -05:00
Stefan Metzmacher
03b634042f 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
(This used to be commit 2f46e54e1b)
2007-10-10 13:39:28 -05:00
Stefan Metzmacher
4812a5d3fd 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
(This used to be commit c4a252bd46)
2007-10-10 13:39:27 -05:00
Jelmer Vernooij
be9af1a4e8 r10742: Support multi-level pointers + ref pointer fixes
(This used to be commit 258b762dc6)
2007-10-10 13:39:26 -05:00
Jelmer Vernooij
765f69ce42 r10739: Reduce number of calls to prs_align_custom()
(This used to be commit ebeeec5406)
2007-10-10 13:39:25 -05:00
Jelmer Vernooij
f72dee9e39 r10737: Fix some alignment issues
(This used to be commit 2b4270a2e9)
2007-10-10 13:39:25 -05:00
Jelmer Vernooij
4bbb584ff0 r10734: Generate ptr, size, offset, and length elements in unions just once.
(This used to be commit 12bfa5d01b)
2007-10-10 13:39:25 -05:00
Jelmer Vernooij
5df3b426ee r10732: Generate _ctr structures for unions
(This used to be commit bd8fcb0500)
2007-10-10 13:39:25 -05:00
Jelmer Vernooij
d220237b19 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/
(This used to be commit e2d7e382bb)
2007-10-10 13:39:24 -05:00
Jelmer Vernooij
3d6279402c 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/
(This used to be commit 9fe724f6fb)
2007-10-10 13:39:24 -05:00
Jelmer Vernooij
9879bc6aa6 r10717: Another bunch of small updates. All generated files except parse_dfs.c
compile now when generated from Samba4's dfs.idl.
(This used to be commit 2b315b1942)
2007-10-10 13:39:24 -05:00
Jelmer Vernooij
eea74cde05 r10716: Use correct Samba3 data types for strings. Also use Samba3 types
for a couple of other types (policy handles, SIDs, times)
(This used to be commit c2527217b4)
2007-10-10 13:39:24 -05:00
Jelmer Vernooij
81c306472a 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/
(This used to be commit b229c033eb)
2007-10-10 13:39:23 -05:00
Jelmer Vernooij
55065d27ce 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.
(This used to be commit 8a60e79175)
2007-10-10 13:39:23 -05:00
Jelmer Vernooij
e0040ff537 r10698: Fix support of enums in switch_type() in the ethereal parser generator
(This used to be commit 9fac8dfeb3)
2007-10-10 13:39:20 -05:00
Jelmer Vernooij
f9a4167434 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/
(This used to be commit 8af8eaeeef)
2007-10-10 13:39:20 -05:00
Stefan Metzmacher
08f16292a0 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
(This used to be commit b98efc2905)
2007-10-10 13:39:12 -05:00
Jelmer Vernooij
1faf4e331e r10487: Some small updates to the manpage.
(This used to be commit b9adbb5eb2)
2007-10-10 13:38:54 -05:00
Jelmer Vernooij
1e744a5108 r10450: Use exit code 1 in case of fatal errors
(This used to be commit 88ece24a44)
2007-10-10 13:38:47 -05:00
Jelmer Vernooij
7a545880d7 r10389: Add Manifest file (required for CPAN)
(This used to be commit 7753238159)
2007-10-10 13:38:38 -05:00
Jelmer Vernooij
58a399d766 r10388: Add version numbers (required for CPAN)
(This used to be commit 786329576b)
2007-10-10 13:38:38 -05:00
Jelmer Vernooij
e073918771 r10381: Be a bit stricter on pod syntax
(This used to be commit 3f646c620a)
2007-10-10 13:38:34 -05:00
Jelmer Vernooij
cc6fae19ae r10380: Use pod-style documentation rather then XML-doc, in good perl style.
(This used to be commit fcc1ba97a3)
2007-10-10 13:38:34 -05:00
Jelmer Vernooij
f1d065128d r10296: Fix function pointer handling for older perl versions
(This used to be commit 0949db8119)
2007-10-10 13:38:14 -05:00
Jelmer Vernooij
8aa2c913a0 r10295: Remove dependency on Data::Dumper
(This used to be commit 26f2903dab)
2007-10-10 13:38:14 -05:00
Tim Potter
6c22a5bcbd r10197: Assume that external dissectors are structs which I think is always the
case.
(This used to be commit 515f456fac)
2007-10-10 13:38:07 -05:00
Jelmer Vernooij
342d229b40 r10190: Do some very basic input checking when provisioning.
(This used to be commit 87f25fe49c)
2007-10-10 13:38:06 -05:00
Jelmer Vernooij
a0bc674b52 r10173: Document new option
(This used to be commit efa6e3938d)
2007-10-10 13:38:05 -05:00
Jelmer Vernooij
3127d75883 r10172: Add --dump-ndr-tree argument
(This used to be commit 8eb69b3a6e)
2007-10-10 13:38:05 -05:00
Jelmer Vernooij
5d6706e077 r10123: Add more warnings. Support quotes in conformance command arguments
(This used to be commit e6842fcc98)
2007-10-10 13:38:01 -05:00
Jelmer Vernooij
6635e7b2ad r10116: Print out a couple more warnings.
(This used to be commit 0628dfa5c3)
2007-10-10 13:38:01 -05:00
Jelmer Vernooij
8b5a953725 r10111: Make pidl by default assume the input file is an IDL file rather
then a .pidl file.
(This used to be commit d8a31d3048)
2007-10-10 13:38:00 -05:00
Jelmer Vernooij
79f476a112 r10110: Add some more warnings, implement FIELD_DESCRIPTION
(This used to be commit 1caeb3238d)
2007-10-10 13:38:00 -05:00
Jelmer Vernooij
b2f3a85f78 r10094: Support quoted arguments in conformance files
Update pidl manpage
(This used to be commit a69e88e7b1)
2007-10-10 13:37:52 -05:00
Jelmer Vernooij
d9cdaccaa7 r10093: Fix the HF_FIELD conformance file command
(This used to be commit 0c0a4b55cf)
2007-10-10 13:37:52 -05:00
Jelmer Vernooij
c070fd6222 r10074: Pass CPP to pidl via environment variables rather then config.pm. This fixes the
standalone pidl build (as used for ethereal)
(This used to be commit 9c9ebd2214)
2007-10-10 13:37:50 -05:00
James Peach
e6190e6be5 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.
(This used to be commit 82fab8b747)
2007-10-10 13:36:34 -05:00
Tim Potter
e817e44bfe r10047: Translate an idl NTTIME to an ethereal FT_ABSOLUTE_TIME instead of
a FT_UINT64.  Not sure about a NTTIME_hyper though.
(This used to be commit 42568d3f28)
2007-10-10 13:36:33 -05:00
Jelmer Vernooij
a3e0e69196 r10030: Add hierarchical memory allocation to TDR's pull functions
(This used to be commit 0e358de93a)
2007-10-10 13:36:31 -05:00
Jelmer Vernooij
40cbd4625a r10015: Change the NT4 registry backend to use the IDL-generate parse functions.
(This used to be commit 0ad46ef804)
2007-10-10 13:36:29 -05:00
Jelmer Vernooij
c5fbb78244 r10014: Support ?, : and = in attribute arguments.
(This used to be commit 6a549f3558)
2007-10-10 13:36:29 -05:00