Jeremy Allison
c940bec8d7
r25700: Now BOOL no longer exists in Samba 3.2, use bool instead.
...
Jeremy.
(This used to be commit ad0b9792f2
)
2007-12-21 05:43:20 +01:00
Stefan Metzmacher
c28074da32
r25674: fix crash bug in pidl generated client code, this
...
could have happend with [in,out,unique] pointers
when the clients sends a valid pointer, but the server
reponse with a NULL pointer (as samba-3.0.26a do for some calls).
I've tested with midl to see how windows handles this situation
and also the reverse case where the client sends NULL and
the server reposnse with non-NULL.
It appears that midl generated code just ignores this
and only copies the result if both pointers are non-NULL.
metze
(This used to be commit 7203f717a6
)
2007-12-21 05:43:08 +01:00
Jelmer Vernooij
fd6288c584
r25457: use different location for out-of-tree builds
...
(This used to be commit aa089378a0
)
2007-10-10 15:07:39 -05:00
Jelmer Vernooij
621fcfcd1c
r25453: Fix include for NTSTATUS.
...
(This used to be commit 3c2d06d8fc
)
2007-10-10 15:07:38 -05:00
Jelmer Vernooij
9b009c9009
r25301: Merge my includes.h cleanups.
...
(This used to be commit 37425495f3
)
2007-10-10 15:07:09 -05:00
Jelmer Vernooij
2e3768843a
r25185: Check that can_contain_deferred returns true if one of the members of a type can contain deferred data.
...
(This used to be commit 9e804e0c21
)
2007-10-10 15:06:47 -05:00
Jelmer Vernooij
cc17260f5d
r25168: Fix include for gen_ndr/misc.h. Patch by Julien Kerihuel.
...
(This used to be commit 160c0013dc
)
2007-10-10 15:06:45 -05:00
Jelmer Vernooij
d222c5e7ae
r25166: Simplify can_contain_deferred and add tests for it.
...
(This used to be commit 1afc7dd4d3
)
2007-10-10 15:06:45 -05:00
Stefan Metzmacher
e8712bebae
r25114: handle structs and unions without typedefs better
...
in can_contain_deffered()
jelmer: we need to handle this more genericly, I assume
we have a lot of other related bugs
metze
(This used to be commit 3e0f22c857
)
2007-10-10 15:06:42 -05:00
Stefan Metzmacher
8f3ab786f0
r24983: setup the correct talloc name for structures used in the generated
...
server stubs
metze
(This used to be commit 678de9ce60
)
2007-10-10 15:03:44 -05:00
Jelmer Vernooij
8d182d881d
r24816: Move the rest of the contents of core.h to more appropriate places.
...
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
(This used to be commit 6890a01dbf
)
2007-10-10 15:03:15 -05:00
Jelmer Vernooij
7acc0e77a6
r24815: Support cpp_quote().
...
(This used to be commit 30c1de30bb
)
2007-10-10 15:03:14 -05:00
Jelmer Vernooij
09c188e735
r24812: Fix headers for external users.
...
(This used to be commit ff6684adfd
)
2007-10-10 15:03:13 -05:00
Jelmer Vernooij
7f0f39aa23
r24721: Avoid True and False because they are only available within Samba.
...
(This used to be commit 2d049c8d30
)
2007-10-10 15:02:55 -05:00
Jelmer Vernooij
ed8d04ead9
r24717: Some more easy bool conversions, update TODO for registry
...
(This used to be commit fc8771fb6a
)
2007-10-10 15:02:55 -05:00
Stefan Metzmacher
edb4fefeb7
r24596: - talloc request structure for the samba3 server bindings
...
and make that the primary context for the request
which the implementations can also use.
- go via functions pointers in the ndr_interface_table
instead of calling functions directly.
metze
(This used to be commit fa577a1294
)
2007-10-10 15:02:22 -05:00
Stefan Metzmacher
02467edf5c
r24592: pass down the ndr_interface_table in the samba3 client bindings
...
instead of the pull and push functions
metze
(This used to be commit 9b59534a14
)
2007-10-10 15:02:22 -05:00
Stefan Metzmacher
97a118ded3
r24563: remove unused DCERPC specific stuff from the generated NDR code
...
metze
(This used to be commit 2dbf89e223
)
2007-10-10 15:02:16 -05:00
Stefan Metzmacher
0d7d5a6d49
r24560: rename some DCERPC_ prefixes into NDR_
...
metze
(This used to be commit f874eca5da
)
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
f14bd1a90a
r24557: rename 'dcerpc_table_' -> 'ndr_table_'
...
metze
(This used to be commit 84651aee81
)
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
b8cdadced4
r24551: rename dcerpc_interface_table -> ndr_interface_table
...
rename dcerpc_interface_list -> ndr_interface_list
and move them to libndr.h
metze
(This used to be commit 4adbebef5d
)
2007-10-10 15:02:12 -05:00
Stefan Metzmacher
6b62f15ce7
r24540: rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list
...
into ndr_interface_string_array and move it to libndr.h
metze
(This used to be commit 473bca74dc
)
2007-10-10 15:02:12 -05:00
Stefan Metzmacher
698e7c5f2a
r24535: rename struct dcerpc_interface_call -> struct ndr_interface_call
...
and move it to librpc/ndr/libndr.h
metze
(This used to be commit abd5551aab
)
2007-10-10 15:02:11 -05:00
Stefan Metzmacher
75564a9d0e
r24524: make use of ElementStars()
...
metze
(This used to be commit 701aa31d14
)
2007-10-10 15:02:10 -05:00
Stefan Metzmacher
b379e50351
r24523: we don't support multi-dimentional [out] arrays
...
for the samba3 server stubs yet, so bail out.
metze
(This used to be commit ff11f2ce0c
)
2007-10-10 15:02:10 -05:00
Stefan Metzmacher
456f3b378d
r24522: make the "skip pointer to an array" logic a bit easier
...
metze
(This used to be commit a698fb1857
)
2007-10-10 15:02:09 -05:00
Stefan Metzmacher
25dbce70b7
r24521: we don't yet have optional args to DeclLong()
...
metze
(This used to be commit 66d4d6f196
)
2007-10-10 15:02:09 -05:00
Stefan Metzmacher
95d4e550bd
r24520: make use of the new ElementStars() and ArrayBrackets()
...
functions
metze
(This used to be commit fad5af2f20
)
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
3e3e5f85dd
r24518: get rid of using ->{ORIGINAL} and move stuff
...
into subfunctions
metze
(This used to be commit ff7fa11e70
)
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
a9531c0e23
r24517: move skipping pointer before an array logic into the
...
pointer loop as we do in other places
metze
(This used to be commit ee92d47b53
)
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
70b525a546
r24516: don't use ->{ORIGINAL}
...
metze
(This used to be commit 98d8753d37
)
2007-10-10 15:02:07 -05:00
Stefan Metzmacher
60501f20a7
r24515: use fatal() wrapper instead of die() directly
...
metze
(This used to be commit d90a0d3ba1
)
2007-10-10 15:02:07 -05:00
Stefan Metzmacher
53cdb93fb7
r24514: IS_* elemements sound be perl integers consistantly...
...
metze
(This used to be commit b7d6ac5215
)
2007-10-10 15:02:06 -05:00
Stefan Metzmacher
a1707f2689
r24511: pass the correct thing to fatal()
...
metze
(This used to be commit 82cc41c558
)
2007-10-10 15:02:06 -05:00
Stefan Metzmacher
1aa024dfbb
r24509: pass down the full ndr elements instead of the old pidl elements
...
from ->{ORIGINAL}
metze
(This used to be commit e8ebee2698
)
2007-10-10 15:02:06 -05:00
Stefan Metzmacher
de512e88a9
r24508: add HeaderTypeNew() which will go if everything is converted
...
metze
(This used to be commit 0eba05b6a6
)
2007-10-10 15:02:05 -05:00
Stefan Metzmacher
3d753b59a9
r24507: pass $d down to HeaderTypedef
...
metze
(This used to be commit 0edec25af8
)
2007-10-10 15:02:05 -05:00
Stefan Metzmacher
9785c25519
r24506: pass $fn down one more layer
...
metze
(This used to be commit 8cc3fd09ff
)
2007-10-10 15:02:04 -05:00
Stefan Metzmacher
f9bca9e9ac
r24505: pass down $fn one level
...
metze
(This used to be commit 0bad3f0619
)
2007-10-10 15:02:04 -05:00
Stefan Metzmacher
575c870926
r24493: - it turns out that
...
foreach my $e (@{$union->{ELEMENTS}}) {
changes $union->{ELEMENTS} from undef into an empty array.
this removes the difference between
struct foo { }; and struct foo;
So we need to explicit return before.
- we should return the same element for layout for
structs and unions with no elements.
- fix the testsuite to match
metze
(This used to be commit 5f1f50cd27
)
2007-10-10 15:02:01 -05:00
Stefan Metzmacher
b76b6a1522
r24492: Parse::Pidl::Samba4::Header::Parse() now takes an $ndr tree
...
not the $pidl tree anymore.
metze
(This used to be commit 3cbbddb94c
)
2007-10-10 15:02:00 -05:00
Stefan Metzmacher
2cbbb00a6c
r24490: For ParseBitmap() we use Parse::Pidl::Typelist::bitmap_type_fn()
...
so for ParseEnum() we should also use Parse::Pidl::Typelist::enum_type_fn().
Also the base_type() property isn't standard IDL and we should not support it.
This changes TDR enum to also to default to uint16 (as with NDR enums).
metze
(This used to be commit 13144bdea9
)
2007-10-10 15:02:00 -05:00
Stefan Metzmacher
e3162d376c
r24489: only typedef enum { ... } foo; enum's should look
...
for has_properties() of $enum->{PARENT}
metze
(This used to be commit 65f3bb8c19
)
2007-10-10 15:01:59 -05:00
Stefan Metzmacher
53cd0b017a
r24488: enum's and bitmap's not have nested types
...
metze
(This used to be commit 47fb2d42df
)
2007-10-10 15:01:59 -05:00
Stefan Metzmacher
c06d8aaaef
r24487: fix formating and add defined($opt_header)
...
metze
(This used to be commit ffd07d713b
)
2007-10-10 15:01:58 -05:00
Stefan Metzmacher
e87adacc43
r24484: pass down $ndr tree instead of the $pidl tree to Samba4/Header.pm
...
metze
(This used to be commit 212e8ec8d5
)
2007-10-10 15:01:57 -05:00
Stefan Metzmacher
42ded6d10b
r24482: white space cleanup only...
...
metze
(This used to be commit 8a23db61e4
)
2007-10-10 15:01:57 -05:00
Stefan Metzmacher
ff71b118b8
r24463: we have a function to correctly create an $env object
...
so don't try it manually and introduce bugs:-)
metze
(This used to be commit a79129a4ae
)
2007-10-10 15:01:54 -05:00
Stefan Metzmacher
449c9f1f1c
r24454: when level 0 is a pointer we need to look for an array in level 1...
...
metze
(This used to be commit ca50b1ad3a
)
2007-10-10 15:01:53 -05:00
Stefan Metzmacher
eab315fe1e
r24452: bail out instead of only giving a warning on
...
incorrect idl files
metze
(This used to be commit 8aacab6f6a
)
2007-10-10 15:01:53 -05:00