1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

13 Commits

Author SHA1 Message Date
Jelmer Vernooij
ad55958140 pidl: Add function for determining whether a type has a body.
(This used to be commit 893f4102c93c1c2cd6b836f12644d06d9e31800c)
2008-01-12 23:10:28 +01:00
Jelmer Vernooij
1b90619009 pidl: Remove declare tests, add more tests for typedef.
(This used to be commit 254bf85c2eb69fc2ee22d3a92a6b027a25594250)
2008-01-12 21:21:14 +01: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 9e804e0c21f09b699707bb88d534bde55d265087)
2007-10-10 15:06:47 -05:00
Jelmer Vernooij
d222c5e7ae r25166: Simplify can_contain_deferred and add tests for it.
(This used to be commit 1afc7dd4d33f05d58121defed88faf8fcee3df8f)
2007-10-10 15:06:45 -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 5f1f50cd27e3702b79a19dbe1079498cbfc4842b)
2007-10-10 15:02:01 -05:00
Jelmer Vernooij
5ba8169109 r21584: Support for tagged types has landed!
It's now possible to use "struct foo" without a typedef in IDL files.

echo_info4 is the first type that's been converted.
(This used to be commit 3ac68e858df9b53cf5e0a84741916214a53b3121)
2007-10-10 14:49:00 -05:00
Jelmer Vernooij
a635df47da r21574: Fix handling of DECLARE.
(This used to be commit 6a4033464bf269176f928a5b3b7e63aad1bb1e7a)
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
c1aef15fe7 r21573: Remove more code that assumed all types are typedefs.
(This used to be commit bbbfbfa870c44a6148c3d4d47ff409098e85fcc3)
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
d7a7b7fb0c r21572: More work towards supporting tagged types.
(This used to be commit 4d28396f0928444406334888f4bc345e74a380df)
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
4e757aa64c r21457: Cope with anonymous nested types in the NDR layer. This doesn't handled
named nested types yet, as these have to be registered.
(This used to be commit 9b0416b5d06286c81c73477a24cb591fd4b23d18)
2007-10-10 14:48:38 -05:00
Jelmer Vernooij
2b43de2ed8 r21428: Handle representation types in Needed().
(This used to be commit 34517c69e67d7eafa00e6fe0072bd04f074cdbde)
2007-10-10 14:48:32 -05:00
Jelmer Vernooij
a338d29bc1 r20633: Add another test, fix warnings.
(This used to be commit 3ddc76772765db8009120ada820837737c49e409)
2007-10-10 14:37:18 -05:00
Jelmer Vernooij
bf39b5e592 r20631: Add some tests for the ndr parser.
(This used to be commit ded25eca701b8e3e0e13e7ef64d5511d8953eb0d)
2007-10-10 14:37:18 -05:00